7from sys
import version_info
as _swig_python_version_info
8if _swig_python_version_info < (2, 7, 0):
9 raise RuntimeError(
"Python 2.7 or later required")
12if __package__
or "." in __name__:
18 import builtins
as __builtin__
24 strthis =
"proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
30def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
35 set(self, name, value)
36 elif hasattr(self, name)
and isinstance(getattr(
type(self), name), property):
37 set(self, name, value)
39 raise AttributeError(
"You cannot add instance attributes to %s" % self)
40 return set_instance_attr
43def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value):
45 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
48 raise AttributeError(
"You cannot add class attributes to %s" % cls)
52def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
64class SwigPyIterator(
object):
65 r"""Proxy of C++ swig::SwigPyIterator class."""
67 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
69 def __init__(self, *args, **kwargs):
70 raise AttributeError(
"No constructor defined - class is abstract")
72 __swig_destroy__ = _pcbnew.delete_SwigPyIterator
75 r"""value(SwigPyIterator self) -> PyObject *"""
76 return _pcbnew.SwigPyIterator_value(self)
79 r"""incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
80 return _pcbnew.SwigPyIterator_incr(self, n)
83 r"""decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
84 return _pcbnew.SwigPyIterator_decr(self, n)
86 def distance(self, x):
87 r"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
88 return _pcbnew.SwigPyIterator_distance(self, x)
91 r"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
92 return _pcbnew.SwigPyIterator_equal(self, x)
95 r"""copy(SwigPyIterator self) -> SwigPyIterator"""
96 return _pcbnew.SwigPyIterator_copy(self)
99 r"""next(SwigPyIterator self) -> PyObject *"""
100 return _pcbnew.SwigPyIterator_next(self)
103 r"""__next__(SwigPyIterator self) -> PyObject *"""
104 return _pcbnew.SwigPyIterator___next__(self)
107 r"""previous(SwigPyIterator self) -> PyObject *"""
108 return _pcbnew.SwigPyIterator_previous(self)
110 def advance(self, n):
111 r"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
112 return _pcbnew.SwigPyIterator_advance(self, n)
115 r"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
116 return _pcbnew.SwigPyIterator___eq__(self, x)
119 r"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
120 return _pcbnew.SwigPyIterator___ne__(self, x)
122 def __iadd__(self, n):
123 r"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
124 return _pcbnew.SwigPyIterator___iadd__(self, n)
126 def __isub__(self, n):
127 r"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
128 return _pcbnew.SwigPyIterator___isub__(self, n)
130 def __add__(self, n):
131 r"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
132 return _pcbnew.SwigPyIterator___add__(self, n)
134 def __sub__(self, *args):
136 __sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
137 __sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
139 return _pcbnew.SwigPyIterator___sub__(self, *args)
144_pcbnew.SwigPyIterator_swigregister(SwigPyIterator)
147 r"""Proxy of C++ std::basic_string< char > class."""
149 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
150 __repr__ = _swig_repr
153 r"""length(string self) -> std::basic_string< char >::size_type"""
154 return _pcbnew.string_length(self)
157 r"""max_size(string self) -> std::basic_string< char >::size_type"""
158 return _pcbnew.string_max_size(self)
161 r"""capacity(string self) -> std::basic_string< char >::size_type"""
162 return _pcbnew.string_capacity(self)
165 r"""reserve(string self, std::basic_string< char >::size_type __res_arg=0)"""
166 return _pcbnew.string_reserve(self, __res_arg)
168 def copy(self, __s, __n, __pos=0):
169 r"""copy(string self, char * __s, std::basic_string< char >::size_type __n, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type"""
170 return _pcbnew.string_copy(self, __s, __n, __pos)
173 r"""c_str(string self) -> char const *"""
174 return _pcbnew.string_c_str(self)
178 find(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
179 find(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
180 find(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
182 return _pcbnew.string_find(self, *args)
186 rfind(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
187 rfind(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
188 rfind(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
190 return _pcbnew.string_rfind(self, *args)
194 find_first_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
195 find_first_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
196 find_first_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
198 return _pcbnew.string_find_first_of(self, *args)
202 find_last_of(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
203 find_last_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
204 find_last_of(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
206 return _pcbnew.string_find_last_of(self, *args)
210 find_first_not_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
211 find_first_not_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
212 find_first_not_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
214 return _pcbnew.string_find_first_not_of(self, *args)
218 find_last_not_of(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
219 find_last_not_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
220 find_last_not_of(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
222 return _pcbnew.string_find_last_not_of(self, *args)
225 r"""substr(string self, std::basic_string< char >::size_type __pos=0, std::basic_string< char >::size_type __n=std::basic_string< char >::npos) -> string"""
226 return _pcbnew.string_substr(self, *args)
229 r"""empty(string self) -> bool"""
230 return _pcbnew.string_empty(self)
233 r"""size(string self) -> std::basic_string< char >::size_type"""
234 return _pcbnew.string_size(self)
237 r"""swap(string self, string v)"""
238 return _pcbnew.string_swap(self, v)
241 r"""begin(string self) -> std::basic_string< char >::iterator"""
242 return _pcbnew.string_begin(self)
245 r"""end(string self) -> std::basic_string< char >::iterator"""
246 return _pcbnew.string_end(self)
249 r"""rbegin(string self) -> std::basic_string< char >::reverse_iterator"""
250 return _pcbnew.string_rbegin(self)
253 r"""rend(string self) -> std::basic_string< char >::reverse_iterator"""
254 return _pcbnew.string_rend(self)
257 r"""get_allocator(string self) -> std::basic_string< char >::allocator_type"""
258 return _pcbnew.string_get_allocator(self)
262 erase(string self, std::basic_string< char >::size_type __pos=0, std::basic_string< char >::size_type __n=std::basic_string< char >::npos) -> string
263 erase(string self, std::basic_string< char >::iterator pos) -> std::basic_string< char >::iterator
264 erase(string self, std::basic_string< char >::iterator first, std::basic_string< char >::iterator last) -> std::basic_string< char >::iterator
266 return _pcbnew.string_erase(self, *args)
270 __init__(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
272 __init__(string self, string other) -> string
273 __init__(string self, std::basic_string< char >::size_type size, std::basic_string< char >::value_type value) -> string
275 _pcbnew.string_swiginit(self, _pcbnew.new_string(*args))
279 assign(string self, string __str) -> string
280 assign(string self, string __str, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> string
281 assign(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
282 assign(string self, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)
284 return _pcbnew.string_assign(self, *args)
288 resize(string self, std::basic_string< char >::size_type new_size)
289 resize(string self, std::basic_string< char >::size_type new_size, std::basic_string< char >::value_type x)
291 return _pcbnew.string_resize(self, *args)
294 r"""iterator(string self) -> SwigPyIterator"""
295 return _pcbnew.string_iterator(self)
300 r"""__nonzero__(string self) -> bool"""
301 return _pcbnew.string___nonzero__(self)
304 r"""__bool__(string self) -> bool"""
305 return _pcbnew.string___bool__(self)
308 r"""__len__(string self) -> std::basic_string< char >::size_type"""
309 return _pcbnew.string___len__(self)
312 r"""__getslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j) -> string"""
313 return _pcbnew.string___getslice__(self, i, j)
317 __setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)
318 __setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j, string v)
320 return _pcbnew.string___setslice__(self, *args)
323 r"""__delslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)"""
324 return _pcbnew.string___delslice__(self, i, j)
328 __delitem__(string self, std::basic_string< char >::difference_type i)
331 return _pcbnew.string___delitem__(self, *args)
335 __getitem__(string self, PySliceObject * slice) -> string
336 __getitem__(string self, std::basic_string< char >::difference_type i) -> std::basic_string< char >::value_type
338 return _pcbnew.string___getitem__(self, *args)
342 __setitem__(string self, PySliceObject * slice, string v)
344 __setitem__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::value_type x)
346 return _pcbnew.string___setitem__(self, *args)
350 insert(string self, std::basic_string< char >::size_type __pos1, string __str) -> string
351 insert(string self, std::basic_string< char >::size_type __pos1, string __str, std::basic_string< char >::size_type __pos2, std::basic_string< char >::size_type __n) -> string
352 insert(string self, std::basic_string< char >::size_type __pos, char const * __s, std::basic_string< char >::size_type __n) -> string
353 insert(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, char __c) -> string
354 insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::value_type x) -> std::basic_string< char >::iterator
355 insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)
356 insert(string self, std::basic_string< char >::iterator __p, std::basic_string< char >::size_type __n, char __c)
358 return _pcbnew.string_insert(self, *args)
362 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, string __str) -> string
363 replace(string self, std::basic_string< char >::size_type __pos1, std::basic_string< char >::size_type __n1, string __str, std::basic_string< char >::size_type __pos2, std::basic_string< char >::size_type __n2) -> string
364 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n1, char const * __s, std::basic_string< char >::size_type __n2) -> string
365 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n1, std::basic_string< char >::size_type __n2, char __c) -> string
366 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, string __str) -> string
367 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, char const * __s, std::basic_string< char >::size_type __n) -> string
368 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, std::basic_string< char >::size_type __n, char __c) -> string
369 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, char const * __k1, char const * __k2) -> string
370 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, std::basic_string< char >::const_iterator __k1, std::basic_string< char >::const_iterator __k2) -> string
372 return _pcbnew.string_replace(self, *args)
375 r"""__iadd__(string self, string v) -> string"""
376 return _pcbnew.string___iadd__(self, v)
379 r"""__add__(string self, string v) -> string"""
380 return _pcbnew.string___add__(self, v)
383 r"""__radd__(string self, string v) -> string"""
384 return _pcbnew.string___radd__(self, v)
387 r"""__str__(string self) -> string"""
388 return _pcbnew.string___str__(self)
391 r"""__rlshift__(string self, std::basic_ostream< char,std::char_traits< char > > & out) -> std::basic_ostream< char,std::char_traits< char > > &"""
392 return _pcbnew.string___rlshift__(self, out)
395 r"""__eq__(string self, string v) -> bool"""
396 return _pcbnew.string___eq__(self, v)
399 r"""__ne__(string self, string v) -> bool"""
400 return _pcbnew.string___ne__(self, v)
403 r"""__gt__(string self, string v) -> bool"""
404 return _pcbnew.string___gt__(self, v)
407 r"""__lt__(string self, string v) -> bool"""
408 return _pcbnew.string___lt__(self, v)
411 r"""__ge__(string self, string v) -> bool"""
412 return _pcbnew.string___ge__(self, v)
415 r"""__le__(string self, string v) -> bool"""
416 return _pcbnew.string___le__(self, v)
417 __swig_destroy__ = _pcbnew.delete_string
420_pcbnew.string_swigregister(string)
422string.npos = _pcbnew.cvar.string_npos
424SHARED_PTR_DISOWN = _pcbnew.SHARED_PTR_DISOWN
427 r"""Proxy of C++ KI_PARAM_ERROR class."""
429 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
430 __repr__ = _swig_repr
434 __init__(KI_PARAM_ERROR self, wxString aMessage) -> KI_PARAM_ERROR
435 __init__(KI_PARAM_ERROR self) -> KI_PARAM_ERROR
437 _pcbnew.KI_PARAM_ERROR_swiginit(self, _pcbnew.new_KI_PARAM_ERROR(*args))
440 r"""What(KI_PARAM_ERROR self) -> wxString"""
441 return _pcbnew.KI_PARAM_ERROR_What(self)
442 __swig_destroy__ = _pcbnew.delete_KI_PARAM_ERROR
445_pcbnew.KI_PARAM_ERROR_swigregister(KI_PARAM_ERROR)
448 r"""Proxy of C++ IO_ERROR class."""
450 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
451 __repr__ = _swig_repr
455 __init__(IO_ERROR self, wxString aProblem, char const * aThrowersFile, char const * aThrowersFunction, int aThrowersLineNumber) -> IO_ERROR
458 _pcbnew.IO_ERROR_swiginit(self, _pcbnew.new_IO_ERROR(*args))
460 def init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber):
461 r"""init(IO_ERROR self, wxString aProblem, char const * aThrowersFile, char const * aThrowersFunction, int aThrowersLineNumber)"""
462 return _pcbnew.IO_ERROR_init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber)
465 r"""Problem(IO_ERROR self) -> wxString"""
466 return _pcbnew.IO_ERROR_Problem(self)
469 r"""Where(IO_ERROR self) -> wxString"""
470 return _pcbnew.IO_ERROR_Where(self)
473 r"""What(IO_ERROR self) -> wxString"""
474 return _pcbnew.IO_ERROR_What(self)
475 __swig_destroy__ = _pcbnew.delete_IO_ERROR
478_pcbnew.IO_ERROR_swigregister(IO_ERROR)
482 r"""wxSetDefaultPyEncoding(char const * encoding)"""
483 return _pcbnew.wxSetDefaultPyEncoding(encoding)
486 r"""wxGetDefaultPyEncoding() -> char const *"""
487 return _pcbnew.wxGetDefaultPyEncoding()
489 r"""Proxy of C++ wxRect class."""
491 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
492 __repr__ = _swig_repr
497 __init__(wxRect self, int xx, int yy, int ww, int hh) -> wxRect
498 __init__(wxRect self, wxPoint topLeft, wxPoint bottomRight) -> wxRect
499 __init__(wxRect self, wxPoint pt, wxSize size) -> wxRect
500 __init__(wxRect self, wxSize size) -> wxRect
502 _pcbnew.wxRect_swiginit(self, _pcbnew.new_wxRect(*args))
505 r"""GetX(wxRect self) -> int"""
506 return _pcbnew.wxRect_GetX(self)
509 r"""SetX(wxRect self, int xx)"""
510 return _pcbnew.wxRect_SetX(self, xx)
513 r"""GetY(wxRect self) -> int"""
514 return _pcbnew.wxRect_GetY(self)
517 r"""SetY(wxRect self, int yy)"""
518 return _pcbnew.wxRect_SetY(self, yy)
521 r"""GetWidth(wxRect self) -> int"""
522 return _pcbnew.wxRect_GetWidth(self)
525 r"""SetWidth(wxRect self, int w)"""
526 return _pcbnew.wxRect_SetWidth(self, w)
529 r"""GetHeight(wxRect self) -> int"""
530 return _pcbnew.wxRect_GetHeight(self)
533 r"""SetHeight(wxRect self, int h)"""
534 return _pcbnew.wxRect_SetHeight(self, h)
537 r"""GetPosition(wxRect self) -> wxPoint"""
538 return _pcbnew.wxRect_GetPosition(self)
541 r"""SetPosition(wxRect self, wxPoint p)"""
542 return _pcbnew.wxRect_SetPosition(self, p)
543 x = property(_pcbnew.wxRect_x_get, _pcbnew.wxRect_x_set, doc=
r"""x : int""")
544 y = property(_pcbnew.wxRect_y_get, _pcbnew.wxRect_y_set, doc=
r"""y : int""")
545 width = property(_pcbnew.wxRect_width_get, _pcbnew.wxRect_width_set, doc=
r"""width : int""")
546 height = property(_pcbnew.wxRect_height_get, _pcbnew.wxRect_height_set, doc=
r"""height : int""")
549 r"""Get(wxRect self) -> PyObject *"""
550 return _pcbnew.wxRect_Get(self)
554 return self.
x==other.x
and self.
y==other.y
and self.
width==other.width
and self.
height==other.height
556 def __repr__(self):
return 'wxRect'+str(self.
Get())
560 if index == 0: self.
SetX(val)
561 elif index == 1: self.
SetY(val)
564 else:
raise IndexError
566 __safe_for_unpickling__ =
True
568 __swig_destroy__ = _pcbnew.delete_wxRect
571_pcbnew.wxRect_swigregister(wxRect)
574 r"""Proxy of C++ wxSize class."""
576 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
577 __repr__ = _swig_repr
578 x = property(_pcbnew.wxSize_x_get, _pcbnew.wxSize_x_set, doc=
r"""x : int""")
579 y = property(_pcbnew.wxSize_y_get, _pcbnew.wxSize_y_set, doc=
r"""y : int""")
583 __init__(wxSize self, int xx, int yy) -> wxSize
584 __init__(wxSize self, double xx, double yy) -> wxSize
586 _pcbnew.wxSize_swiginit(self, _pcbnew.new_wxSize(*args))
589 r"""Get(wxSize self) -> PyObject *"""
590 return _pcbnew.wxSize_Get(self)
591 __swig_destroy__ = _pcbnew.delete_wxSize
594 r"""SetWidth(wxSize self, int w)"""
595 return _pcbnew.wxSize_SetWidth(self, w)
598 r"""SetHeight(wxSize self, int h)"""
599 return _pcbnew.wxSize_SetHeight(self, h)
602 r"""GetWidth(wxSize self) -> int"""
603 return _pcbnew.wxSize_GetWidth(self)
606 r"""GetHeight(wxSize self) -> int"""
607 return _pcbnew.wxSize_GetHeight(self)
610 return wxSize(self.
x*xscale,self.
y*yscale)
614 def __repr__(self):
return 'wxSize'+str(self.
Get())
620 else:
raise IndexError
622 __safe_for_unpickling__ =
True
627_pcbnew.wxSize_swigregister(wxSize)
630 r"""Proxy of C++ wxPoint class."""
632 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
633 __repr__ = _swig_repr
634 x = property(_pcbnew.wxPoint_x_get, _pcbnew.wxPoint_x_set, doc=
r"""x : int""")
635 y = property(_pcbnew.wxPoint_y_get, _pcbnew.wxPoint_y_set, doc=
r"""y : int""")
639 __init__(wxPoint self, int xx, int yy) -> wxPoint
640 __init__(wxPoint self, double xx, double yy) -> wxPoint
642 _pcbnew.wxPoint_swiginit(self, _pcbnew.new_wxPoint(*args))
643 __swig_destroy__ = _pcbnew.delete_wxPoint
646 r"""__add__(wxPoint self, wxPoint pt) -> wxPoint"""
647 return _pcbnew.wxPoint___add__(self, pt)
650 r"""__sub__(wxPoint self, wxPoint pt) -> wxPoint"""
651 return _pcbnew.wxPoint___sub__(self, pt)
654 r"""Set(wxPoint self, long x, long y)"""
655 return _pcbnew.wxPoint_Set(self, x, y)
658 r"""Get(wxPoint self) -> PyObject *"""
659 return _pcbnew.wxPoint_Get(self)
661 def __eq__(self,other):
return (self.
x==other.x
and self.
y==other.y)
662 def __ne__(self,other):
return not (self==other)
664 def __repr__(self):
return 'wxPoint'+str(self.
Get())
679_pcbnew.wxPoint_swigregister(wxPoint)
682 r"""Proxy of C++ wxString class."""
684 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
685 __repr__ = _swig_repr
686 __swig_destroy__ = _pcbnew.delete_wxString
689 r"""__str__(wxString self) -> PyObject *"""
690 return _pcbnew.wxString___str__(self)
692 def __repr__(self):
return 'wxString(\'' + self.
__str__() +
'\')'
696 r"""__init__(wxString self) -> wxString"""
697 _pcbnew.wxString_swiginit(self, _pcbnew.new_wxString())
700_pcbnew.wxString_swigregister(wxString)
703 r"""Proxy of C++ std::vector< wxPoint > class."""
705 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
706 __repr__ = _swig_repr
709 r"""iterator(wxPoint_Vector self) -> SwigPyIterator"""
710 return _pcbnew.wxPoint_Vector_iterator(self)
715 r"""__nonzero__(wxPoint_Vector self) -> bool"""
716 return _pcbnew.wxPoint_Vector___nonzero__(self)
719 r"""__bool__(wxPoint_Vector self) -> bool"""
720 return _pcbnew.wxPoint_Vector___bool__(self)
723 r"""__len__(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
724 return _pcbnew.wxPoint_Vector___len__(self)
727 r"""__getslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j) -> wxPoint_Vector"""
728 return _pcbnew.wxPoint_Vector___getslice__(self, i, j)
732 __setslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j)
733 __setslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j, wxPoint_Vector v)
735 return _pcbnew.wxPoint_Vector___setslice__(self, *args)
738 r"""__delslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j)"""
739 return _pcbnew.wxPoint_Vector___delslice__(self, i, j)
743 __delitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i)
744 __delitem__(wxPoint_Vector self, PySliceObject * slice)
746 return _pcbnew.wxPoint_Vector___delitem__(self, *args)
750 __getitem__(wxPoint_Vector self, PySliceObject * slice) -> wxPoint_Vector
751 __getitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i) -> wxPoint
753 return _pcbnew.wxPoint_Vector___getitem__(self, *args)
757 __setitem__(wxPoint_Vector self, PySliceObject * slice, wxPoint_Vector v)
758 __setitem__(wxPoint_Vector self, PySliceObject * slice)
759 __setitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, wxPoint x)
761 return _pcbnew.wxPoint_Vector___setitem__(self, *args)
764 r"""pop(wxPoint_Vector self) -> wxPoint"""
765 return _pcbnew.wxPoint_Vector_pop(self)
768 r"""append(wxPoint_Vector self, wxPoint x)"""
769 return _pcbnew.wxPoint_Vector_append(self, x)
772 r"""empty(wxPoint_Vector self) -> bool"""
773 return _pcbnew.wxPoint_Vector_empty(self)
776 r"""size(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
777 return _pcbnew.wxPoint_Vector_size(self)
780 r"""swap(wxPoint_Vector self, wxPoint_Vector v)"""
781 return _pcbnew.wxPoint_Vector_swap(self, v)
784 r"""begin(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
785 return _pcbnew.wxPoint_Vector_begin(self)
788 r"""end(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
789 return _pcbnew.wxPoint_Vector_end(self)
792 r"""rbegin(wxPoint_Vector self) -> std::vector< wxPoint >::reverse_iterator"""
793 return _pcbnew.wxPoint_Vector_rbegin(self)
796 r"""rend(wxPoint_Vector self) -> std::vector< wxPoint >::reverse_iterator"""
797 return _pcbnew.wxPoint_Vector_rend(self)
800 r"""clear(wxPoint_Vector self)"""
801 return _pcbnew.wxPoint_Vector_clear(self)
804 r"""get_allocator(wxPoint_Vector self) -> std::vector< wxPoint >::allocator_type"""
805 return _pcbnew.wxPoint_Vector_get_allocator(self)
808 r"""pop_back(wxPoint_Vector self)"""
809 return _pcbnew.wxPoint_Vector_pop_back(self)
813 erase(wxPoint_Vector self, std::vector< wxPoint >::iterator pos) -> std::vector< wxPoint >::iterator
814 erase(wxPoint_Vector self, std::vector< wxPoint >::iterator first, std::vector< wxPoint >::iterator last) -> std::vector< wxPoint >::iterator
816 return _pcbnew.wxPoint_Vector_erase(self, *args)
820 __init__(wxPoint_Vector self) -> wxPoint_Vector
821 __init__(wxPoint_Vector self, wxPoint_Vector other) -> wxPoint_Vector
822 __init__(wxPoint_Vector self, std::vector< wxPoint >::size_type size) -> wxPoint_Vector
823 __init__(wxPoint_Vector self, std::vector< wxPoint >::size_type size, wxPoint value) -> wxPoint_Vector
825 _pcbnew.wxPoint_Vector_swiginit(self, _pcbnew.new_wxPoint_Vector(*args))
828 r"""push_back(wxPoint_Vector self, wxPoint x)"""
829 return _pcbnew.wxPoint_Vector_push_back(self, x)
832 r"""front(wxPoint_Vector self) -> wxPoint"""
833 return _pcbnew.wxPoint_Vector_front(self)
836 r"""back(wxPoint_Vector self) -> wxPoint"""
837 return _pcbnew.wxPoint_Vector_back(self)
840 r"""assign(wxPoint_Vector self, std::vector< wxPoint >::size_type n, wxPoint x)"""
841 return _pcbnew.wxPoint_Vector_assign(self, n, x)
845 resize(wxPoint_Vector self, std::vector< wxPoint >::size_type new_size)
846 resize(wxPoint_Vector self, std::vector< wxPoint >::size_type new_size, wxPoint x)
848 return _pcbnew.wxPoint_Vector_resize(self, *args)
852 insert(wxPoint_Vector self, std::vector< wxPoint >::iterator pos, wxPoint x) -> std::vector< wxPoint >::iterator
853 insert(wxPoint_Vector self, std::vector< wxPoint >::iterator pos, std::vector< wxPoint >::size_type n, wxPoint x)
855 return _pcbnew.wxPoint_Vector_insert(self, *args)
858 r"""reserve(wxPoint_Vector self, std::vector< wxPoint >::size_type n)"""
859 return _pcbnew.wxPoint_Vector_reserve(self, n)
862 r"""capacity(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
863 return _pcbnew.wxPoint_Vector_capacity(self)
864 __swig_destroy__ = _pcbnew.delete_wxPoint_Vector
867_pcbnew.wxPoint_Vector_swigregister(wxPoint_Vector)
870 r"""Proxy of C++ std::vector< enum PCB_LAYER_ID > class."""
872 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
873 __repr__ = _swig_repr
876 r"""iterator(base_seqVect self) -> SwigPyIterator"""
877 return _pcbnew.base_seqVect_iterator(self)
882 r"""__nonzero__(base_seqVect self) -> bool"""
883 return _pcbnew.base_seqVect___nonzero__(self)
886 r"""__bool__(base_seqVect self) -> bool"""
887 return _pcbnew.base_seqVect___bool__(self)
890 r"""__len__(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
891 return _pcbnew.base_seqVect___len__(self)
894 r"""__getslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j) -> base_seqVect"""
895 return _pcbnew.base_seqVect___getslice__(self, i, j)
899 __setslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)
900 __setslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j, base_seqVect v)
902 return _pcbnew.base_seqVect___setslice__(self, *args)
905 r"""__delslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)"""
906 return _pcbnew.base_seqVect___delslice__(self, i, j)
910 __delitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i)
911 __delitem__(base_seqVect self, PySliceObject * slice)
913 return _pcbnew.base_seqVect___delitem__(self, *args)
917 __getitem__(base_seqVect self, PySliceObject * slice) -> base_seqVect
918 __getitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i) -> std::vector< enum PCB_LAYER_ID >::value_type const &
920 return _pcbnew.base_seqVect___getitem__(self, *args)
924 __setitem__(base_seqVect self, PySliceObject * slice, base_seqVect v)
925 __setitem__(base_seqVect self, PySliceObject * slice)
926 __setitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::value_type const & x)
928 return _pcbnew.base_seqVect___setitem__(self, *args)
931 r"""pop(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type"""
932 return _pcbnew.base_seqVect_pop(self)
935 r"""append(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
936 return _pcbnew.base_seqVect_append(self, x)
939 r"""empty(base_seqVect self) -> bool"""
940 return _pcbnew.base_seqVect_empty(self)
943 r"""size(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
944 return _pcbnew.base_seqVect_size(self)
947 r"""swap(base_seqVect self, base_seqVect v)"""
948 return _pcbnew.base_seqVect_swap(self, v)
951 r"""begin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
952 return _pcbnew.base_seqVect_begin(self)
955 r"""end(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
956 return _pcbnew.base_seqVect_end(self)
959 r"""rbegin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
960 return _pcbnew.base_seqVect_rbegin(self)
963 r"""rend(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
964 return _pcbnew.base_seqVect_rend(self)
967 r"""clear(base_seqVect self)"""
968 return _pcbnew.base_seqVect_clear(self)
971 r"""get_allocator(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::allocator_type"""
972 return _pcbnew.base_seqVect_get_allocator(self)
975 r"""pop_back(base_seqVect self)"""
976 return _pcbnew.base_seqVect_pop_back(self)
980 erase(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator pos) -> std::vector< enum PCB_LAYER_ID >::iterator
981 erase(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator first, std::vector< enum PCB_LAYER_ID >::iterator last) -> std::vector< enum PCB_LAYER_ID >::iterator
983 return _pcbnew.base_seqVect_erase(self, *args)
987 __init__(base_seqVect self) -> base_seqVect
988 __init__(base_seqVect self, base_seqVect other) -> base_seqVect
989 __init__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type size) -> base_seqVect
990 __init__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type size, std::vector< enum PCB_LAYER_ID >::value_type const & value) -> base_seqVect
992 _pcbnew.base_seqVect_swiginit(self, _pcbnew.new_base_seqVect(*args))
995 r"""push_back(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
996 return _pcbnew.base_seqVect_push_back(self, x)
999 r"""front(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
1000 return _pcbnew.base_seqVect_front(self)
1003 r"""back(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
1004 return _pcbnew.base_seqVect_back(self)
1007 r"""assign(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
1008 return _pcbnew.base_seqVect_assign(self, n, x)
1012 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size)
1013 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size, std::vector< enum PCB_LAYER_ID >::value_type const & x)
1015 return _pcbnew.base_seqVect_resize(self, *args)
1019 insert(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator pos, std::vector< enum PCB_LAYER_ID >::value_type const & x) -> std::vector< enum PCB_LAYER_ID >::iterator
1020 insert(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator pos, std::vector< enum PCB_LAYER_ID >::size_type n, std::vector< enum PCB_LAYER_ID >::value_type const & x)
1022 return _pcbnew.base_seqVect_insert(self, *args)
1025 r"""reserve(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n)"""
1026 return _pcbnew.base_seqVect_reserve(self, n)
1029 r"""capacity(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
1030 return _pcbnew.base_seqVect_capacity(self)
1031 __swig_destroy__ = _pcbnew.delete_base_seqVect
1034_pcbnew.base_seqVect_swigregister(base_seqVect)
1036SKETCH = _pcbnew.SKETCH
1038FILLED = _pcbnew.FILLED
1041 r"""Proxy of C++ KIID class."""
1043 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1044 __repr__ = _swig_repr
1049 __init__(KIID self, int null) -> KIID
1050 __init__(KIID self, string aString) -> KIID
1051 __init__(KIID self, char const * aString) -> KIID
1052 __init__(KIID self, wxString aString) -> KIID
1053 __init__(KIID self, timestamp_t aTimestamp) -> KIID
1055 _pcbnew.KIID_swiginit(self, _pcbnew.new_KIID(*args))
1058 r"""Clone(KIID self, KIID aUUID)"""
1059 return _pcbnew.KIID_Clone(self, aUUID)
1062 r"""Hash(KIID self) -> size_t"""
1063 return _pcbnew.KIID_Hash(self)
1066 r"""IsLegacyTimestamp(KIID self) -> bool"""
1067 return _pcbnew.KIID_IsLegacyTimestamp(self)
1070 r"""AsLegacyTimestamp(KIID self) -> timestamp_t"""
1071 return _pcbnew.KIID_AsLegacyTimestamp(self)
1074 r"""AsString(KIID self) -> wxString"""
1075 return _pcbnew.KIID_AsString(self)
1078 r"""AsLegacyTimestampString(KIID self) -> wxString"""
1079 return _pcbnew.KIID_AsLegacyTimestampString(self)
1083 r"""SniffTest(wxString aCandidate) -> bool"""
1084 return _pcbnew.KIID_SniffTest(aCandidate)
1088 r"""CreateNilUuids(bool aNil=True)"""
1089 return _pcbnew.KIID_CreateNilUuids(aNil)
1093 r"""SeedGenerator(unsigned int aSeed)"""
1094 return _pcbnew.KIID_SeedGenerator(aSeed)
1097 r"""ConvertTimestampToUuid(KIID self)"""
1098 return _pcbnew.KIID_ConvertTimestampToUuid(self)
1101 r"""Increment(KIID self)"""
1102 return _pcbnew.KIID_Increment(self)
1105 r"""__eq__(KIID self, KIID rhs) -> bool"""
1106 return _pcbnew.KIID___eq__(self, rhs)
1109 r"""__ne__(KIID self, KIID rhs) -> bool"""
1110 return _pcbnew.KIID___ne__(self, rhs)
1113 r"""__lt__(KIID self, KIID rhs) -> bool"""
1114 return _pcbnew.KIID___lt__(self, rhs)
1117 r"""__gt__(KIID self, KIID rhs) -> bool"""
1118 return _pcbnew.KIID___gt__(self, rhs)
1119 __swig_destroy__ = _pcbnew.delete_KIID
1122_pcbnew.KIID_swigregister(KIID)
1125 r"""KIID_SniffTest(wxString aCandidate) -> bool"""
1126 return _pcbnew.KIID_SniffTest(aCandidate)
1129 r"""KIID_CreateNilUuids(bool aNil=True)"""
1130 return _pcbnew.KIID_CreateNilUuids(aNil)
1133 r"""KIID_SeedGenerator(unsigned int aSeed)"""
1134 return _pcbnew.KIID_SeedGenerator(aSeed)
1138 r"""NilUuid() -> KIID"""
1139 return _pcbnew.NilUuid()
1141 r"""Proxy of C++ std::vector< KIID > class."""
1143 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1144 __repr__ = _swig_repr
1147 r"""iterator(KIID_VECT_LIST self) -> SwigPyIterator"""
1148 return _pcbnew.KIID_VECT_LIST_iterator(self)
1153 r"""__nonzero__(KIID_VECT_LIST self) -> bool"""
1154 return _pcbnew.KIID_VECT_LIST___nonzero__(self)
1157 r"""__bool__(KIID_VECT_LIST self) -> bool"""
1158 return _pcbnew.KIID_VECT_LIST___bool__(self)
1161 r"""__len__(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1162 return _pcbnew.KIID_VECT_LIST___len__(self)
1165 r"""__getslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j) -> KIID_VECT_LIST"""
1166 return _pcbnew.KIID_VECT_LIST___getslice__(self, i, j)
1170 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)
1171 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j, KIID_VECT_LIST v)
1173 return _pcbnew.KIID_VECT_LIST___setslice__(self, *args)
1176 r"""__delslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)"""
1177 return _pcbnew.KIID_VECT_LIST___delslice__(self, i, j)
1181 __delitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i)
1182 __delitem__(KIID_VECT_LIST self, PySliceObject * slice)
1184 return _pcbnew.KIID_VECT_LIST___delitem__(self, *args)
1188 __getitem__(KIID_VECT_LIST self, PySliceObject * slice) -> KIID_VECT_LIST
1189 __getitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i) -> KIID
1191 return _pcbnew.KIID_VECT_LIST___getitem__(self, *args)
1195 __setitem__(KIID_VECT_LIST self, PySliceObject * slice, KIID_VECT_LIST v)
1196 __setitem__(KIID_VECT_LIST self, PySliceObject * slice)
1197 __setitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, KIID x)
1199 return _pcbnew.KIID_VECT_LIST___setitem__(self, *args)
1202 r"""pop(KIID_VECT_LIST self) -> KIID"""
1203 return _pcbnew.KIID_VECT_LIST_pop(self)
1206 r"""append(KIID_VECT_LIST self, KIID x)"""
1207 return _pcbnew.KIID_VECT_LIST_append(self, x)
1210 r"""empty(KIID_VECT_LIST self) -> bool"""
1211 return _pcbnew.KIID_VECT_LIST_empty(self)
1214 r"""size(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1215 return _pcbnew.KIID_VECT_LIST_size(self)
1218 r"""swap(KIID_VECT_LIST self, KIID_VECT_LIST v)"""
1219 return _pcbnew.KIID_VECT_LIST_swap(self, v)
1222 r"""begin(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1223 return _pcbnew.KIID_VECT_LIST_begin(self)
1226 r"""end(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1227 return _pcbnew.KIID_VECT_LIST_end(self)
1230 r"""rbegin(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1231 return _pcbnew.KIID_VECT_LIST_rbegin(self)
1234 r"""rend(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1235 return _pcbnew.KIID_VECT_LIST_rend(self)
1238 r"""clear(KIID_VECT_LIST self)"""
1239 return _pcbnew.KIID_VECT_LIST_clear(self)
1242 r"""get_allocator(KIID_VECT_LIST self) -> std::vector< KIID >::allocator_type"""
1243 return _pcbnew.KIID_VECT_LIST_get_allocator(self)
1246 r"""pop_back(KIID_VECT_LIST self)"""
1247 return _pcbnew.KIID_VECT_LIST_pop_back(self)
1251 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator pos) -> std::vector< KIID >::iterator
1252 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator first, std::vector< KIID >::iterator last) -> std::vector< KIID >::iterator
1254 return _pcbnew.KIID_VECT_LIST_erase(self, *args)
1258 __init__(KIID_VECT_LIST self) -> KIID_VECT_LIST
1259 __init__(KIID_VECT_LIST self, KIID_VECT_LIST other) -> KIID_VECT_LIST
1260 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size) -> KIID_VECT_LIST
1261 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size, KIID value) -> KIID_VECT_LIST
1263 _pcbnew.KIID_VECT_LIST_swiginit(self, _pcbnew.new_KIID_VECT_LIST(*args))
1266 r"""push_back(KIID_VECT_LIST self, KIID x)"""
1267 return _pcbnew.KIID_VECT_LIST_push_back(self, x)
1270 r"""front(KIID_VECT_LIST self) -> KIID"""
1271 return _pcbnew.KIID_VECT_LIST_front(self)
1274 r"""back(KIID_VECT_LIST self) -> KIID"""
1275 return _pcbnew.KIID_VECT_LIST_back(self)
1278 r"""assign(KIID_VECT_LIST self, std::vector< KIID >::size_type n, KIID x)"""
1279 return _pcbnew.KIID_VECT_LIST_assign(self, n, x)
1283 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size)
1284 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size, KIID x)
1286 return _pcbnew.KIID_VECT_LIST_resize(self, *args)
1290 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, KIID x) -> std::vector< KIID >::iterator
1291 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, std::vector< KIID >::size_type n, KIID x)
1293 return _pcbnew.KIID_VECT_LIST_insert(self, *args)
1296 r"""reserve(KIID_VECT_LIST self, std::vector< KIID >::size_type n)"""
1297 return _pcbnew.KIID_VECT_LIST_reserve(self, n)
1300 r"""capacity(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1301 return _pcbnew.KIID_VECT_LIST_capacity(self)
1302 __swig_destroy__ = _pcbnew.delete_KIID_VECT_LIST
1305_pcbnew.KIID_VECT_LIST_swigregister(KIID_VECT_LIST)
1308 r"""Proxy of C++ KIID_PATH class."""
1310 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1311 __repr__ = _swig_repr
1315 __init__(KIID_PATH self) -> KIID_PATH
1316 __init__(KIID_PATH self, wxString aString) -> KIID_PATH
1318 _pcbnew.KIID_PATH_swiginit(self, _pcbnew.new_KIID_PATH(*args))
1321 r"""MakeRelativeTo(KIID_PATH self, KIID_PATH aPath) -> bool"""
1322 return _pcbnew.KIID_PATH_MakeRelativeTo(self, aPath)
1325 r"""EndsWith(KIID_PATH self, KIID_PATH aPath) -> bool"""
1326 return _pcbnew.KIID_PATH_EndsWith(self, aPath)
1329 r"""AsString(KIID_PATH self) -> wxString"""
1330 return _pcbnew.KIID_PATH_AsString(self)
1333 r"""__eq__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1334 return _pcbnew.KIID_PATH___eq__(self, rhs)
1337 r"""__lt__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1338 return _pcbnew.KIID_PATH___lt__(self, rhs)
1341 r"""__gt__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1342 return _pcbnew.KIID_PATH___gt__(self, rhs)
1345 r"""__iadd__(KIID_PATH self, KIID_PATH aRhs) -> KIID_PATH"""
1346 return _pcbnew.KIID_PATH___iadd__(self, aRhs)
1347 __swig_destroy__ = _pcbnew.delete_KIID_PATH
1350_pcbnew.KIID_PATH_swigregister(KIID_PATH)
1353 r"""Proxy of C++ KIID_NIL_SET_RESET class."""
1355 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1356 __repr__ = _swig_repr
1359 r"""__init__(KIID_NIL_SET_RESET self) -> KIID_NIL_SET_RESET"""
1360 _pcbnew.KIID_NIL_SET_RESET_swiginit(self, _pcbnew.new_KIID_NIL_SET_RESET())
1361 __swig_destroy__ = _pcbnew.delete_KIID_NIL_SET_RESET
1364_pcbnew.KIID_NIL_SET_RESET_swigregister(KIID_NIL_SET_RESET)
1366NOT_USED = _pcbnew.NOT_USED
1368TYPE_NOT_INIT = _pcbnew.TYPE_NOT_INIT
1370PCB_T = _pcbnew.PCB_T
1372SCREEN_T = _pcbnew.SCREEN_T
1374PCB_FOOTPRINT_T = _pcbnew.PCB_FOOTPRINT_T
1376PCB_PAD_T = _pcbnew.PCB_PAD_T
1378PCB_SHAPE_T = _pcbnew.PCB_SHAPE_T
1380PCB_REFERENCE_IMAGE_T = _pcbnew.PCB_REFERENCE_IMAGE_T
1382PCB_FIELD_T = _pcbnew.PCB_FIELD_T
1384PCB_GENERATOR_T = _pcbnew.PCB_GENERATOR_T
1386PCB_TEXT_T = _pcbnew.PCB_TEXT_T
1388PCB_TEXTBOX_T = _pcbnew.PCB_TEXTBOX_T
1390PCB_TRACE_T = _pcbnew.PCB_TRACE_T
1392PCB_VIA_T = _pcbnew.PCB_VIA_T
1394PCB_ARC_T = _pcbnew.PCB_ARC_T
1396PCB_MARKER_T = _pcbnew.PCB_MARKER_T
1398PCB_DIMENSION_T = _pcbnew.PCB_DIMENSION_T
1400PCB_DIM_ALIGNED_T = _pcbnew.PCB_DIM_ALIGNED_T
1402PCB_DIM_LEADER_T = _pcbnew.PCB_DIM_LEADER_T
1404PCB_DIM_CENTER_T = _pcbnew.PCB_DIM_CENTER_T
1406PCB_DIM_RADIAL_T = _pcbnew.PCB_DIM_RADIAL_T
1408PCB_DIM_ORTHOGONAL_T = _pcbnew.PCB_DIM_ORTHOGONAL_T
1410PCB_TARGET_T = _pcbnew.PCB_TARGET_T
1412PCB_ZONE_T = _pcbnew.PCB_ZONE_T
1414PCB_ITEM_LIST_T = _pcbnew.PCB_ITEM_LIST_T
1416PCB_NETINFO_T = _pcbnew.PCB_NETINFO_T
1418PCB_GROUP_T = _pcbnew.PCB_GROUP_T
1420PCB_FIELD_LOCATE_REFERENCE_T = _pcbnew.PCB_FIELD_LOCATE_REFERENCE_T
1422PCB_FIELD_LOCATE_VALUE_T = _pcbnew.PCB_FIELD_LOCATE_VALUE_T
1424PCB_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.PCB_FIELD_LOCATE_FOOTPRINT_T
1426PCB_FIELD_LOCATE_DATASHEET_T = _pcbnew.PCB_FIELD_LOCATE_DATASHEET_T
1428PCB_LOCATE_STDVIA_T = _pcbnew.PCB_LOCATE_STDVIA_T
1430PCB_LOCATE_UVIA_T = _pcbnew.PCB_LOCATE_UVIA_T
1432PCB_LOCATE_BBVIA_T = _pcbnew.PCB_LOCATE_BBVIA_T
1434PCB_LOCATE_TEXT_T = _pcbnew.PCB_LOCATE_TEXT_T
1436PCB_LOCATE_HOLE_T = _pcbnew.PCB_LOCATE_HOLE_T
1438PCB_LOCATE_PTH_T = _pcbnew.PCB_LOCATE_PTH_T
1440PCB_LOCATE_NPTH_T = _pcbnew.PCB_LOCATE_NPTH_T
1442PCB_LOCATE_BOARD_EDGE_T = _pcbnew.PCB_LOCATE_BOARD_EDGE_T
1444PCB_SHAPE_LOCATE_SEGMENT_T = _pcbnew.PCB_SHAPE_LOCATE_SEGMENT_T
1446PCB_SHAPE_LOCATE_RECT_T = _pcbnew.PCB_SHAPE_LOCATE_RECT_T
1448PCB_SHAPE_LOCATE_CIRCLE_T = _pcbnew.PCB_SHAPE_LOCATE_CIRCLE_T
1450PCB_SHAPE_LOCATE_ARC_T = _pcbnew.PCB_SHAPE_LOCATE_ARC_T
1452PCB_SHAPE_LOCATE_POLY_T = _pcbnew.PCB_SHAPE_LOCATE_POLY_T
1454PCB_SHAPE_LOCATE_BEZIER_T = _pcbnew.PCB_SHAPE_LOCATE_BEZIER_T
1456SCH_MARKER_T = _pcbnew.SCH_MARKER_T
1458SCH_JUNCTION_T = _pcbnew.SCH_JUNCTION_T
1460SCH_NO_CONNECT_T = _pcbnew.SCH_NO_CONNECT_T
1462SCH_BUS_WIRE_ENTRY_T = _pcbnew.SCH_BUS_WIRE_ENTRY_T
1464SCH_BUS_BUS_ENTRY_T = _pcbnew.SCH_BUS_BUS_ENTRY_T
1466SCH_LINE_T = _pcbnew.SCH_LINE_T
1468SCH_SHAPE_T = _pcbnew.SCH_SHAPE_T
1470SCH_BITMAP_T = _pcbnew.SCH_BITMAP_T
1472SCH_TEXTBOX_T = _pcbnew.SCH_TEXTBOX_T
1474SCH_TEXT_T = _pcbnew.SCH_TEXT_T
1476SCH_LABEL_T = _pcbnew.SCH_LABEL_T
1478SCH_GLOBAL_LABEL_T = _pcbnew.SCH_GLOBAL_LABEL_T
1480SCH_HIER_LABEL_T = _pcbnew.SCH_HIER_LABEL_T
1482SCH_DIRECTIVE_LABEL_T = _pcbnew.SCH_DIRECTIVE_LABEL_T
1484SCH_FIELD_T = _pcbnew.SCH_FIELD_T
1486SCH_SYMBOL_T = _pcbnew.SCH_SYMBOL_T
1488SCH_SHEET_PIN_T = _pcbnew.SCH_SHEET_PIN_T
1490SCH_SHEET_T = _pcbnew.SCH_SHEET_T
1492SCH_PIN_T = _pcbnew.SCH_PIN_T
1494SCH_FIELD_LOCATE_REFERENCE_T = _pcbnew.SCH_FIELD_LOCATE_REFERENCE_T
1496SCH_FIELD_LOCATE_VALUE_T = _pcbnew.SCH_FIELD_LOCATE_VALUE_T
1498SCH_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.SCH_FIELD_LOCATE_FOOTPRINT_T
1500SCH_FIELD_LOCATE_DATASHEET_T = _pcbnew.SCH_FIELD_LOCATE_DATASHEET_T
1502SCH_ITEM_LOCATE_WIRE_T = _pcbnew.SCH_ITEM_LOCATE_WIRE_T
1504SCH_ITEM_LOCATE_BUS_T = _pcbnew.SCH_ITEM_LOCATE_BUS_T
1506SCH_ITEM_LOCATE_GRAPHIC_LINE_T = _pcbnew.SCH_ITEM_LOCATE_GRAPHIC_LINE_T
1508SCH_LABEL_LOCATE_ANY_T = _pcbnew.SCH_LABEL_LOCATE_ANY_T
1510SCH_LABEL_LOCATE_WIRE_T = _pcbnew.SCH_LABEL_LOCATE_WIRE_T
1512SCH_LABEL_LOCATE_BUS_T = _pcbnew.SCH_LABEL_LOCATE_BUS_T
1514SCH_SYMBOL_LOCATE_POWER_T = _pcbnew.SCH_SYMBOL_LOCATE_POWER_T
1516SCH_LOCATE_ANY_T = _pcbnew.SCH_LOCATE_ANY_T
1518SCH_SCREEN_T = _pcbnew.SCH_SCREEN_T
1520SCHEMATIC_T = _pcbnew.SCHEMATIC_T
1522LIB_SYMBOL_T = _pcbnew.LIB_SYMBOL_T
1524LIB_SHAPE_T = _pcbnew.LIB_SHAPE_T
1526LIB_TEXT_T = _pcbnew.LIB_TEXT_T
1528LIB_TEXTBOX_T = _pcbnew.LIB_TEXTBOX_T
1530LIB_PIN_T = _pcbnew.LIB_PIN_T
1532LIB_FIELD_T = _pcbnew.LIB_FIELD_T
1534GERBER_LAYOUT_T = _pcbnew.GERBER_LAYOUT_T
1536GERBER_DRAW_ITEM_T = _pcbnew.GERBER_DRAW_ITEM_T
1538GERBER_IMAGE_T = _pcbnew.GERBER_IMAGE_T
1540WSG_LINE_T = _pcbnew.WSG_LINE_T
1542WSG_RECT_T = _pcbnew.WSG_RECT_T
1544WSG_POLY_T = _pcbnew.WSG_POLY_T
1546WSG_TEXT_T = _pcbnew.WSG_TEXT_T
1548WSG_BITMAP_T = _pcbnew.WSG_BITMAP_T
1550WSG_PAGE_T = _pcbnew.WSG_PAGE_T
1552WS_PROXY_UNDO_ITEM_T = _pcbnew.WS_PROXY_UNDO_ITEM_T
1554WS_PROXY_UNDO_ITEM_PLUS_T = _pcbnew.WS_PROXY_UNDO_ITEM_PLUS_T
1556SYMBOL_LIB_TABLE_T = _pcbnew.SYMBOL_LIB_TABLE_T
1558FP_LIB_TABLE_T = _pcbnew.FP_LIB_TABLE_T
1560SYMBOL_LIBS_T = _pcbnew.SYMBOL_LIBS_T
1562SEARCH_STACK_T = _pcbnew.SEARCH_STACK_T
1564S3D_CACHE_T = _pcbnew.S3D_CACHE_T
1566MAX_STRUCT_TYPE_ID = _pcbnew.MAX_STRUCT_TYPE_ID
1570 r"""BaseType(KICAD_T const aType) -> KICAD_T"""
1571 return _pcbnew.BaseType(aType)
1574 r"""IsNullType(KICAD_T const aType) -> bool"""
1575 return _pcbnew.IsNullType(aType)
1578 r"""IsInstantiableType(KICAD_T const aType) -> bool"""
1579 return _pcbnew.IsInstantiableType(aType)
1582 r"""IsEeschemaType(KICAD_T const aType) -> bool"""
1583 return _pcbnew.IsEeschemaType(aType)
1586 r"""IsPcbnewType(KICAD_T const aType) -> bool"""
1587 return _pcbnew.IsPcbnewType(aType)
1590 r"""IsGerbviewType(KICAD_T const aType) -> bool"""
1591 return _pcbnew.IsGerbviewType(aType)
1594 r"""IsPageLayoutEditorType(KICAD_T const aType) -> bool"""
1595 return _pcbnew.IsPageLayoutEditorType(aType)
1598 r"""IsMiscType(KICAD_T const aType) -> bool"""
1599 return _pcbnew.IsMiscType(aType)
1602 r"""IsTypeCorrect(KICAD_T aType) -> bool"""
1603 return _pcbnew.IsTypeCorrect(aType)
1606 r"""IsTypeAvailable(KICAD_T aType) -> bool"""
1607 return _pcbnew.IsTypeAvailable(aType)
1608INSPECT_RESULT_QUIT = _pcbnew.INSPECT_RESULT_QUIT
1610INSPECT_RESULT_CONTINUE = _pcbnew.INSPECT_RESULT_CONTINUE
1613 r"""Proxy of C++ EDA_ITEM class."""
1615 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1618 raise AttributeError(
"No constructor defined - class is abstract")
1619 __repr__ = _swig_repr
1620 __swig_destroy__ = _pcbnew.delete_EDA_ITEM
1623 r"""Type(EDA_ITEM self) -> KICAD_T"""
1624 return _pcbnew.EDA_ITEM_Type(self)
1627 r"""GetParent(EDA_ITEM self) -> EDA_ITEM"""
1628 return _pcbnew.EDA_ITEM_GetParent(self)
1631 r"""SetParent(EDA_ITEM self, EDA_ITEM aParent)"""
1632 return _pcbnew.EDA_ITEM_SetParent(self, aParent)
1635 r"""IsModified(EDA_ITEM self) -> bool"""
1636 return _pcbnew.EDA_ITEM_IsModified(self)
1639 r"""IsNew(EDA_ITEM self) -> bool"""
1640 return _pcbnew.EDA_ITEM_IsNew(self)
1643 r"""IsMoving(EDA_ITEM self) -> bool"""
1644 return _pcbnew.EDA_ITEM_IsMoving(self)
1647 r"""IsSelected(EDA_ITEM self) -> bool"""
1648 return _pcbnew.EDA_ITEM_IsSelected(self)
1651 r"""IsEntered(EDA_ITEM self) -> bool"""
1652 return _pcbnew.EDA_ITEM_IsEntered(self)
1655 r"""IsBrightened(EDA_ITEM self) -> bool"""
1656 return _pcbnew.EDA_ITEM_IsBrightened(self)
1659 r"""IsRollover(EDA_ITEM self) -> bool"""
1660 return _pcbnew.EDA_ITEM_IsRollover(self)
1663 r"""SetSelected(EDA_ITEM self)"""
1664 return _pcbnew.EDA_ITEM_SetSelected(self)
1667 r"""SetBrightened(EDA_ITEM self)"""
1668 return _pcbnew.EDA_ITEM_SetBrightened(self)
1671 r"""ClearSelected(EDA_ITEM self)"""
1672 return _pcbnew.EDA_ITEM_ClearSelected(self)
1675 r"""ClearBrightened(EDA_ITEM self)"""
1676 return _pcbnew.EDA_ITEM_ClearBrightened(self)
1679 r"""SetModified(EDA_ITEM self)"""
1680 return _pcbnew.EDA_ITEM_SetModified(self)
1683 r"""SetFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1684 return _pcbnew.EDA_ITEM_SetFlags(self, aMask)
1687 r"""XorFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1688 return _pcbnew.EDA_ITEM_XorFlags(self, aMask)
1691 r"""ClearFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask=EDA_ITEM_ALL_FLAGS)"""
1692 return _pcbnew.EDA_ITEM_ClearFlags(self, *args)
1695 r"""GetFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1696 return _pcbnew.EDA_ITEM_GetFlags(self)
1699 r"""HasFlag(EDA_ITEM self, EDA_ITEM_FLAGS aFlag) -> bool"""
1700 return _pcbnew.EDA_ITEM_HasFlag(self, aFlag)
1703 r"""GetEditFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1704 return _pcbnew.EDA_ITEM_GetEditFlags(self)
1707 r"""ClearEditFlags(EDA_ITEM self)"""
1708 return _pcbnew.EDA_ITEM_ClearEditFlags(self)
1711 r"""GetTempFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1712 return _pcbnew.EDA_ITEM_GetTempFlags(self)
1715 r"""ClearTempFlags(EDA_ITEM self)"""
1716 return _pcbnew.EDA_ITEM_ClearTempFlags(self)
1719 r"""RenderAsBitmap(EDA_ITEM self, double aWorldScale) -> bool"""
1720 return _pcbnew.EDA_ITEM_RenderAsBitmap(self, aWorldScale)
1723 r"""SetIsShownAsBitmap(EDA_ITEM self, bool aBitmap)"""
1724 return _pcbnew.EDA_ITEM_SetIsShownAsBitmap(self, aBitmap)
1727 r"""IsShownAsBitmap(EDA_ITEM self) -> bool"""
1728 return _pcbnew.EDA_ITEM_IsShownAsBitmap(self)
1731 r"""IsType(EDA_ITEM self, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> bool"""
1732 return _pcbnew.EDA_ITEM_IsType(self, aScanTypes)
1735 r"""SetForceVisible(EDA_ITEM self, bool aEnable)"""
1736 return _pcbnew.EDA_ITEM_SetForceVisible(self, aEnable)
1739 r"""IsForceVisible(EDA_ITEM self) -> bool"""
1740 return _pcbnew.EDA_ITEM_IsForceVisible(self)
1743 r"""GetMsgPanelInfo(EDA_ITEM self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
1744 return _pcbnew.EDA_ITEM_GetMsgPanelInfo(self, aFrame, aList)
1747 r"""GetFriendlyName(EDA_ITEM self) -> wxString"""
1748 return _pcbnew.EDA_ITEM_GetFriendlyName(self)
1752 HitTest(EDA_ITEM self, VECTOR2I aPosition, int aAccuracy=0) -> bool
1753 HitTest(EDA_ITEM self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
1755 return _pcbnew.EDA_ITEM_HitTest(self, *args)
1758 r"""GetBoundingBox(EDA_ITEM self) -> BOX2I"""
1759 return _pcbnew.EDA_ITEM_GetBoundingBox(self)
1762 r"""GetPosition(EDA_ITEM self) -> VECTOR2I"""
1763 return _pcbnew.EDA_ITEM_GetPosition(self)
1766 r"""SetPosition(EDA_ITEM self, VECTOR2I aPos)"""
1767 return _pcbnew.EDA_ITEM_SetPosition(self, aPos)
1770 r"""GetFocusPosition(EDA_ITEM self) -> VECTOR2I"""
1771 return _pcbnew.EDA_ITEM_GetFocusPosition(self)
1774 r"""GetSortPosition(EDA_ITEM self) -> VECTOR2I"""
1775 return _pcbnew.EDA_ITEM_GetSortPosition(self)
1778 r"""Clone(EDA_ITEM self) -> EDA_ITEM"""
1779 return _pcbnew.EDA_ITEM_Clone(self)
1781 def Visit(self, inspector, testData, aScanTypes):
1782 r"""Visit(EDA_ITEM self, INSPECTOR inspector, void * testData, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> INSPECT_RESULT"""
1783 return _pcbnew.EDA_ITEM_Visit(self, inspector, testData, aScanTypes)
1786 r"""GetClass(EDA_ITEM self) -> wxString"""
1787 return _pcbnew.EDA_ITEM_GetClass(self)
1790 r"""GetTypeDesc(EDA_ITEM self) -> wxString"""
1791 return _pcbnew.EDA_ITEM_GetTypeDesc(self)
1794 r"""GetItemDescription(EDA_ITEM self, UNITS_PROVIDER aUnitsProvider) -> wxString"""
1795 return _pcbnew.EDA_ITEM_GetItemDescription(self, aUnitsProvider)
1798 r"""GetMenuImage(EDA_ITEM self) -> BITMAPS"""
1799 return _pcbnew.EDA_ITEM_GetMenuImage(self)
1802 r"""Matches(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData) -> bool"""
1803 return _pcbnew.EDA_ITEM_Matches(self, aSearchData, aAuxData)
1807 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, wxString aText) -> bool
1808 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData=None) -> bool
1810 return _pcbnew.EDA_ITEM_Replace(self, *args)
1813 r"""IsReplaceable(EDA_ITEM self) -> bool"""
1814 return _pcbnew.EDA_ITEM_IsReplaceable(self)
1817 r"""__lt__(EDA_ITEM self, EDA_ITEM aItem) -> bool"""
1818 return _pcbnew.EDA_ITEM___lt__(self, aItem)
1822 r"""Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1823 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1826 r"""ViewBBox(EDA_ITEM self) -> BOX2I"""
1827 return _pcbnew.EDA_ITEM_ViewBBox(self)
1830 r"""ViewGetLayers(EDA_ITEM self, int [] aLayers, int & aCount)"""
1831 return _pcbnew.EDA_ITEM_ViewGetLayers(self, aLayers, aCount)
1832 m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=
r"""m_Uuid : q(const).KIID""")
1835_pcbnew.EDA_ITEM_swigregister(EDA_ITEM)
1838 r"""EDA_ITEM_Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1839 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1843 r"""new_clone(EDA_ITEM aItem) -> EDA_ITEM"""
1844 return _pcbnew.new_clone(aItem)
1846 r"""Proxy of C++ CompareByUuid class."""
1848 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1849 __repr__ = _swig_repr
1852 r"""__call__(CompareByUuid self, EDA_ITEM item1, EDA_ITEM item2) -> bool"""
1853 return _pcbnew.CompareByUuid___call__(self, item1, item2)
1856 r"""__init__(CompareByUuid self) -> CompareByUuid"""
1857 _pcbnew.CompareByUuid_swiginit(self, _pcbnew.new_CompareByUuid())
1858 __swig_destroy__ = _pcbnew.delete_CompareByUuid
1861_pcbnew.CompareByUuid_swigregister(CompareByUuid)
1864 r"""Proxy of C++ EDA_IU_SCALE class."""
1866 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1867 __repr__ = _swig_repr
1868 IU_PER_MM = property(_pcbnew.EDA_IU_SCALE_IU_PER_MM_get, doc=
r"""IU_PER_MM : q(const).double""")
1869 IU_PER_MILS = property(_pcbnew.EDA_IU_SCALE_IU_PER_MILS_get, doc=
r"""IU_PER_MILS : q(const).double""")
1870 MM_PER_IU = property(_pcbnew.EDA_IU_SCALE_MM_PER_IU_get, doc=
r"""MM_PER_IU : q(const).double""")
1873 r"""__init__(EDA_IU_SCALE self, double aIUPerMM) -> EDA_IU_SCALE"""
1874 _pcbnew.EDA_IU_SCALE_swiginit(self, _pcbnew.new_EDA_IU_SCALE(aIUPerMM))
1877 r"""IUTomm(EDA_IU_SCALE self, int iu) -> double"""
1878 return _pcbnew.EDA_IU_SCALE_IUTomm(self, iu)
1881 r"""mmToIU(EDA_IU_SCALE self, double mm) -> int"""
1882 return _pcbnew.EDA_IU_SCALE_mmToIU(self, mm)
1885 r"""MilsToIU(EDA_IU_SCALE self, int mils) -> int"""
1886 return _pcbnew.EDA_IU_SCALE_MilsToIU(self, mils)
1889 r"""IUToMils(EDA_IU_SCALE self, int iu) -> int"""
1890 return _pcbnew.EDA_IU_SCALE_IUToMils(self, iu)
1891 __swig_destroy__ = _pcbnew.delete_EDA_IU_SCALE
1894_pcbnew.EDA_IU_SCALE_swigregister(EDA_IU_SCALE)
1895GERB_IU_PER_MM = cvar.GERB_IU_PER_MM
1896PCB_IU_PER_MM = cvar.PCB_IU_PER_MM
1897PL_IU_PER_MM = cvar.PL_IU_PER_MM
1898SCH_IU_PER_MM = cvar.SCH_IU_PER_MM
1900EDA_DATA_TYPE_DISTANCE = _pcbnew.EDA_DATA_TYPE_DISTANCE
1902EDA_DATA_TYPE_AREA = _pcbnew.EDA_DATA_TYPE_AREA
1904EDA_DATA_TYPE_VOLUME = _pcbnew.EDA_DATA_TYPE_VOLUME
1906EDA_DATA_TYPE_UNITLESS = _pcbnew.EDA_DATA_TYPE_UNITLESS
1908EDA_UNITS_INCHES = _pcbnew.EDA_UNITS_INCHES
1910EDA_UNITS_MILLIMETRES = _pcbnew.EDA_UNITS_MILLIMETRES
1912EDA_UNITS_UNSCALED = _pcbnew.EDA_UNITS_UNSCALED
1914EDA_UNITS_DEGREES = _pcbnew.EDA_UNITS_DEGREES
1916EDA_UNITS_PERCENT = _pcbnew.EDA_UNITS_PERCENT
1918EDA_UNITS_MILS = _pcbnew.EDA_UNITS_MILS
1920EDA_UNITS_MICROMETRES = _pcbnew.EDA_UNITS_MICROMETRES
1922EDA_UNITS_CENTIMETRES = _pcbnew.EDA_UNITS_CENTIMETRES
1926 r"""IsImperialUnit(EDA_UNITS aUnit) -> bool"""
1927 return _pcbnew.IsImperialUnit(aUnit)
1930 r"""IsMetricUnit(EDA_UNITS aUnit) -> bool"""
1931 return _pcbnew.IsMetricUnit(aUnit)
1934 r"""Mm2mils(double aVal) -> int"""
1935 return _pcbnew.Mm2mils(aVal)
1938 r"""Mils2mm(double aVal) -> int"""
1939 return _pcbnew.Mils2mm(aVal)
1942 r"""FetchUnitsFromString(wxString aTextValue, EDA_UNITS & aUnits) -> bool"""
1943 return _pcbnew.FetchUnitsFromString(aTextValue, aUnits)
1946 r"""GetText(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1947 return _pcbnew.GetText(*args)
1950 r"""GetLabel(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1951 return _pcbnew.GetLabel(*args)
1954 r"""FormatAngle(EDA_ANGLE aAngle) -> string"""
1955 return _pcbnew.FormatAngle(aAngle)
1962 return _pcbnew.FormatInternalUnits(*args)
1965 r"""Mils2IU(EDA_IU_SCALE aIuScale, int mils) -> int"""
1966 return _pcbnew.Mils2IU(aIuScale, mils)
1969 r"""ToUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1970 return _pcbnew.ToUserUnit(aIuScale, aUnit, aValue)
1973 r"""StringFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1974 return _pcbnew.StringFromValue(*args)
1978 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1979 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, int aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1980 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, long long aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1983 return _pcbnew.MessageTextFromValue(*args)
1986 r"""MessageTextFromMinOptMax(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, MINOPTMAX< int > const & aValue) -> wxString"""
1987 return _pcbnew.MessageTextFromMinOptMax(aIuScale, aUnits, aValue)
1990 r"""FromUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1991 return _pcbnew.FromUserUnit(aIuScale, aUnit, aValue)
1995 DoubleValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> double
1998 return _pcbnew.DoubleValueFromString(*args)
2002 ValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> long long
2005 return _pcbnew.ValueFromString(*args)
2008 r"""SearchHelpFileFullPath(wxString aBaseName) -> wxString"""
2009 return _pcbnew.SearchHelpFileFullPath(aBaseName)
2012 r"""EnsureFileDirectoryExists(wxFileName * aTargetFullFileName, wxString aBaseFilename, REPORTER * aReporter=None) -> bool"""
2013 return _pcbnew.EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter)
2016 r"""EnsureFileExtension(wxString aFilename, wxString aExtension) -> wxString"""
2017 return _pcbnew.EnsureFileExtension(aFilename, aExtension)
2020 r"""ExpandEnvVarSubstitutions(wxString aString, PROJECT const * aProject) -> wxString"""
2021 return _pcbnew.ExpandEnvVarSubstitutions(aString, aProject)
2025 ExpandTextVars(wxString aSource, std::function< bool (wxString *) > const * aResolver) -> wxString
2026 ExpandTextVars(wxString aSource, PROJECT const * aProject) -> wxString
2028 return _pcbnew.ExpandTextVars(*args)
2031 r"""GetTextVars(wxString aSource) -> wxString"""
2032 return _pcbnew.GetTextVars(aSource)
2035 r"""IsTextVar(wxString aSource) -> bool"""
2036 return _pcbnew.IsTextVar(aSource)
2039 r"""ResolveUriByEnvVars(wxString aUri, PROJECT const * aProject) -> wxString"""
2040 return _pcbnew.ResolveUriByEnvVars(aUri, aProject)
2043 r"""TimestampDir(wxString aDirPath, wxString aFilespec) -> long long"""
2044 return _pcbnew.TimestampDir(aDirPath, aFilespec)
2047 r"""WarnUserIfOperatingSystemUnsupported() -> bool"""
2048 return _pcbnew.WarnUserIfOperatingSystemUnsupported()
2052 StrPrintf(string aResult, char const * aFormat) -> int
2053 StrPrintf(char const * format) -> string
2055 return _pcbnew.StrPrintf(*args)
2058 r"""SafeReadFile(wxString aFilePath, wxString aReadType) -> wxString"""
2059 return _pcbnew.SafeReadFile(aFilePath, aReadType)
2060LINE_READER_LINE_DEFAULT_MAX = _pcbnew.LINE_READER_LINE_DEFAULT_MAX
2062LINE_READER_LINE_INITIAL_SIZE = _pcbnew.LINE_READER_LINE_INITIAL_SIZE
2065 r"""Proxy of C++ LINE_READER class."""
2067 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2070 raise AttributeError(
"No constructor defined - class is abstract")
2071 __repr__ = _swig_repr
2072 __swig_destroy__ = _pcbnew.delete_LINE_READER
2075 r"""ReadLine(LINE_READER self) -> char *"""
2076 return _pcbnew.LINE_READER_ReadLine(self)
2079 r"""GetSource(LINE_READER self) -> wxString"""
2080 return _pcbnew.LINE_READER_GetSource(self)
2083 r"""Line(LINE_READER self) -> char *"""
2084 return _pcbnew.LINE_READER_Line(self)
2087 r"""LineNumber(LINE_READER self) -> unsigned int"""
2088 return _pcbnew.LINE_READER_LineNumber(self)
2091 r"""Length(LINE_READER self) -> unsigned int"""
2092 return _pcbnew.LINE_READER_Length(self)
2095_pcbnew.LINE_READER_swigregister(LINE_READER)
2096gerbIUScale = cvar.gerbIUScale
2097pcbIUScale = cvar.pcbIUScale
2098drawSheetIUScale = cvar.drawSheetIUScale
2099schIUScale = cvar.schIUScale
2100unityScale = cvar.unityScale
2103 r"""Proxy of C++ FILE_LINE_READER class."""
2105 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2106 __repr__ = _swig_repr
2110 __init__(FILE_LINE_READER self, wxString aFileName, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
2111 __init__(FILE_LINE_READER self, FILE * aFile, wxString aFileName, bool doOwn=True, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
2113 _pcbnew.FILE_LINE_READER_swiginit(self, _pcbnew.new_FILE_LINE_READER(*args))
2114 __swig_destroy__ = _pcbnew.delete_FILE_LINE_READER
2117 r"""Rewind(FILE_LINE_READER self)"""
2118 return _pcbnew.FILE_LINE_READER_Rewind(self)
2121 r"""FileLength(FILE_LINE_READER self) -> long"""
2122 return _pcbnew.FILE_LINE_READER_FileLength(self)
2125 r"""CurPos(FILE_LINE_READER self) -> long"""
2126 return _pcbnew.FILE_LINE_READER_CurPos(self)
2129_pcbnew.FILE_LINE_READER_swigregister(FILE_LINE_READER)
2132 r"""Proxy of C++ STRING_LINE_READER class."""
2134 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2135 __repr__ = _swig_repr
2139 __init__(STRING_LINE_READER self, string aString, wxString aSource) -> STRING_LINE_READER
2140 __init__(STRING_LINE_READER self, STRING_LINE_READER aStartingPoint) -> STRING_LINE_READER
2142 _pcbnew.STRING_LINE_READER_swiginit(self, _pcbnew.new_STRING_LINE_READER(*args))
2143 __swig_destroy__ = _pcbnew.delete_STRING_LINE_READER
2146_pcbnew.STRING_LINE_READER_swigregister(STRING_LINE_READER)
2149 r"""Proxy of C++ INPUTSTREAM_LINE_READER class."""
2151 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2152 __repr__ = _swig_repr
2155 r"""__init__(INPUTSTREAM_LINE_READER self, wxInputStream * aStream, wxString aSource) -> INPUTSTREAM_LINE_READER"""
2156 _pcbnew.INPUTSTREAM_LINE_READER_swiginit(self, _pcbnew.new_INPUTSTREAM_LINE_READER(aStream, aSource))
2157 __swig_destroy__ = _pcbnew.delete_INPUTSTREAM_LINE_READER
2160_pcbnew.INPUTSTREAM_LINE_READER_swigregister(INPUTSTREAM_LINE_READER)
2162OUTPUTFMTBUFZ = _pcbnew.OUTPUTFMTBUFZ
2165 r"""Proxy of C++ OUTPUTFORMATTER class."""
2167 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2170 raise AttributeError(
"No constructor defined - class is abstract")
2171 __repr__ = _swig_repr
2174 r"""Print(OUTPUTFORMATTER self, int nestLevel, char const * fmt) -> int"""
2175 return _pcbnew.OUTPUTFORMATTER_Print(self, nestLevel, fmt)
2178 r"""GetQuoteChar(OUTPUTFORMATTER self, char const * wrapee) -> char const *"""
2179 return _pcbnew.OUTPUTFORMATTER_GetQuoteChar(self, wrapee)
2182 r"""Quotes(OUTPUTFORMATTER self, string aWrapee) -> string"""
2183 return _pcbnew.OUTPUTFORMATTER_Quotes(self, aWrapee)
2186 r"""Quotew(OUTPUTFORMATTER self, wxString aWrapee) -> string"""
2187 return _pcbnew.OUTPUTFORMATTER_Quotew(self, aWrapee)
2190 r"""Finish(OUTPUTFORMATTER self) -> bool"""
2191 return _pcbnew.OUTPUTFORMATTER_Finish(self)
2194_pcbnew.OUTPUTFORMATTER_swigregister(OUTPUTFORMATTER)
2197 r"""Proxy of C++ STRING_FORMATTER class."""
2199 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2200 __repr__ = _swig_repr
2203 r"""__init__(STRING_FORMATTER self, int aReserve=500, char aQuoteChar='\"') -> STRING_FORMATTER"""
2204 _pcbnew.STRING_FORMATTER_swiginit(self, _pcbnew.new_STRING_FORMATTER(*args))
2207 r"""Clear(STRING_FORMATTER self)"""
2208 return _pcbnew.STRING_FORMATTER_Clear(self)
2211 r"""StripUseless(STRING_FORMATTER self)"""
2212 return _pcbnew.STRING_FORMATTER_StripUseless(self)
2215 r"""GetString(STRING_FORMATTER self) -> string"""
2216 return _pcbnew.STRING_FORMATTER_GetString(self)
2217 __swig_destroy__ = _pcbnew.delete_STRING_FORMATTER
2220_pcbnew.STRING_FORMATTER_swigregister(STRING_FORMATTER)
2223 r"""Proxy of C++ FILE_OUTPUTFORMATTER class."""
2225 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2226 __repr__ = _swig_repr
2229 r"""__init__(FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> FILE_OUTPUTFORMATTER"""
2230 _pcbnew.FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_FILE_OUTPUTFORMATTER(*args))
2231 __swig_destroy__ = _pcbnew.delete_FILE_OUTPUTFORMATTER
2234_pcbnew.FILE_OUTPUTFORMATTER_swigregister(FILE_OUTPUTFORMATTER)
2237 r"""Proxy of C++ PRETTIFIED_FILE_OUTPUTFORMATTER class."""
2239 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2240 __repr__ = _swig_repr
2243 r"""__init__(PRETTIFIED_FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> PRETTIFIED_FILE_OUTPUTFORMATTER"""
2244 _pcbnew.PRETTIFIED_FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_PRETTIFIED_FILE_OUTPUTFORMATTER(*args))
2245 __swig_destroy__ = _pcbnew.delete_PRETTIFIED_FILE_OUTPUTFORMATTER
2248_pcbnew.PRETTIFIED_FILE_OUTPUTFORMATTER_swigregister(PRETTIFIED_FILE_OUTPUTFORMATTER)
2251 r"""Proxy of C++ TITLE_BLOCK class."""
2253 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2254 __repr__ = _swig_repr
2257 r"""__init__(TITLE_BLOCK self) -> TITLE_BLOCK"""
2258 _pcbnew.TITLE_BLOCK_swiginit(self, _pcbnew.new_TITLE_BLOCK())
2259 __swig_destroy__ = _pcbnew.delete_TITLE_BLOCK
2262 r"""SetTitle(TITLE_BLOCK self, wxString aTitle)"""
2263 return _pcbnew.TITLE_BLOCK_SetTitle(self, aTitle)
2266 r"""GetTitle(TITLE_BLOCK self) -> wxString"""
2267 return _pcbnew.TITLE_BLOCK_GetTitle(self)
2270 r"""SetDate(TITLE_BLOCK self, wxString aDate)"""
2271 return _pcbnew.TITLE_BLOCK_SetDate(self, aDate)
2274 r"""GetDate(TITLE_BLOCK self) -> wxString"""
2275 return _pcbnew.TITLE_BLOCK_GetDate(self)
2278 r"""SetRevision(TITLE_BLOCK self, wxString aRevision)"""
2279 return _pcbnew.TITLE_BLOCK_SetRevision(self, aRevision)
2282 r"""GetRevision(TITLE_BLOCK self) -> wxString"""
2283 return _pcbnew.TITLE_BLOCK_GetRevision(self)
2286 r"""SetCompany(TITLE_BLOCK self, wxString aCompany)"""
2287 return _pcbnew.TITLE_BLOCK_SetCompany(self, aCompany)
2290 r"""GetCompany(TITLE_BLOCK self) -> wxString"""
2291 return _pcbnew.TITLE_BLOCK_GetCompany(self)
2294 r"""SetComment(TITLE_BLOCK self, int aIdx, wxString aComment)"""
2295 return _pcbnew.TITLE_BLOCK_SetComment(self, aIdx, aComment)
2298 r"""GetComment(TITLE_BLOCK self, int aIdx) -> wxString"""
2299 return _pcbnew.TITLE_BLOCK_GetComment(self, aIdx)
2302 r"""Clear(TITLE_BLOCK self)"""
2303 return _pcbnew.TITLE_BLOCK_Clear(self)
2307 r"""GetContextualTextVars(wxArrayString * aVars)"""
2308 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2311 r"""TextVarResolver(TITLE_BLOCK self, wxString aToken, PROJECT const * aProject) -> bool"""
2312 return _pcbnew.TITLE_BLOCK_TextVarResolver(self, aToken, aProject)
2314 def Format(self, aFormatter, aNestLevel, aControlBits):
2315 r"""Format(TITLE_BLOCK self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControlBits)"""
2316 return _pcbnew.TITLE_BLOCK_Format(self, aFormatter, aNestLevel, aControlBits)
2319_pcbnew.TITLE_BLOCK_swigregister(TITLE_BLOCK)
2322 r"""TITLE_BLOCK_GetContextualTextVars(wxArrayString * aVars)"""
2323 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2325UNSPECIFIED_COLOR = _pcbnew.UNSPECIFIED_COLOR
2327BLACK = _pcbnew.BLACK
2329DARKDARKGRAY = _pcbnew.DARKDARKGRAY
2331DARKGRAY = _pcbnew.DARKGRAY
2333LIGHTGRAY = _pcbnew.LIGHTGRAY
2335WHITE = _pcbnew.WHITE
2337LIGHTYELLOW = _pcbnew.LIGHTYELLOW
2339DARKBLUE = _pcbnew.DARKBLUE
2341DARKGREEN = _pcbnew.DARKGREEN
2343DARKCYAN = _pcbnew.DARKCYAN
2345DARKRED = _pcbnew.DARKRED
2347DARKMAGENTA = _pcbnew.DARKMAGENTA
2349DARKBROWN = _pcbnew.DARKBROWN
2353GREEN = _pcbnew.GREEN
2359MAGENTA = _pcbnew.MAGENTA
2361BROWN = _pcbnew.BROWN
2363LIGHTBLUE = _pcbnew.LIGHTBLUE
2365LIGHTGREEN = _pcbnew.LIGHTGREEN
2367LIGHTCYAN = _pcbnew.LIGHTCYAN
2369LIGHTRED = _pcbnew.LIGHTRED
2371LIGHTMAGENTA = _pcbnew.LIGHTMAGENTA
2373YELLOW = _pcbnew.YELLOW
2375PUREBLUE = _pcbnew.PUREBLUE
2377PUREGREEN = _pcbnew.PUREGREEN
2379PURECYAN = _pcbnew.PURECYAN
2381PURERED = _pcbnew.PURERED
2383PUREMAGENTA = _pcbnew.PUREMAGENTA
2385PUREYELLOW = _pcbnew.PUREYELLOW
2387LIGHTERORANGE = _pcbnew.LIGHTERORANGE
2389DARKORANGE = _pcbnew.DARKORANGE
2391ORANGE = _pcbnew.ORANGE
2393LIGHTORANGE = _pcbnew.LIGHTORANGE
2395PUREORANGE = _pcbnew.PUREORANGE
2397NBCOLORS = _pcbnew.NBCOLORS
2399HIGHLIGHT_FLAG = _pcbnew.HIGHLIGHT_FLAG
2401MASKCOLOR = _pcbnew.MASKCOLOR
2404 r"""Proxy of C++ StructColors class."""
2406 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2407 __repr__ = _swig_repr
2408 m_Blue = property(_pcbnew.StructColors_m_Blue_get, _pcbnew.StructColors_m_Blue_set, doc=
r"""m_Blue : unsigned char""")
2409 m_Green = property(_pcbnew.StructColors_m_Green_get, _pcbnew.StructColors_m_Green_set, doc=r"""m_Green : unsigned char""")
2410 m_Red = property(_pcbnew.StructColors_m_Red_get, _pcbnew.StructColors_m_Red_set, doc=r"""m_Red : unsigned char""")
2411 m_Numcolor = property(_pcbnew.StructColors_m_Numcolor_get, _pcbnew.StructColors_m_Numcolor_set, doc=r"""m_Numcolor : EDA_COLOR_T""")
2412 m_ColorName = property(_pcbnew.StructColors_m_ColorName_get, _pcbnew.StructColors_m_ColorName_set, doc=
r"""m_ColorName : std::string""")
2413 m_LightColor = property(_pcbnew.StructColors_m_LightColor_get, _pcbnew.StructColors_m_LightColor_set, doc=
r"""m_LightColor : EDA_COLOR_T""")
2416 r"""__init__(StructColors self) -> StructColors"""
2417 _pcbnew.StructColors_swiginit(self, _pcbnew.new_StructColors())
2418 __swig_destroy__ = _pcbnew.delete_StructColors
2421_pcbnew.StructColors_swigregister(StructColors)
2425 r"""colorRefs() -> StructColors"""
2426 return _pcbnew.colorRefs()
2428 r"""Proxy of C++ KIGFX::COLOR4D class."""
2430 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2431 __repr__ = _swig_repr
2434 r"""FromCSSRGBA(COLOR4D self, int aRed, int aGreen, int aBlue, double aAlpha=1.0) -> COLOR4D"""
2435 return _pcbnew.COLOR4D_FromCSSRGBA(self, aRed, aGreen, aBlue, aAlpha)
2440 __init__(COLOR4D self, double aRed, double aGreen, double aBlue, double aAlpha) -> COLOR4D
2441 __init__(COLOR4D self, EDA_COLOR_T aColor) -> COLOR4D
2442 __init__(COLOR4D self, wxString aColorStr) -> COLOR4D
2443 __init__(COLOR4D self, wxColour const & aColor) -> COLOR4D
2445 _pcbnew.COLOR4D_swiginit(self, _pcbnew.new_COLOR4D(*args))
2448 r"""SetFromWxString(COLOR4D self, wxString aColorString) -> bool"""
2449 return _pcbnew.COLOR4D_SetFromWxString(self, aColorString)
2452 r"""ToCSSString(COLOR4D self) -> wxString"""
2453 return _pcbnew.COLOR4D_ToCSSString(self)
2456 r"""SetFromHexString(COLOR4D self, wxString aColorString) -> bool"""
2457 return _pcbnew.COLOR4D_SetFromHexString(self, aColorString)
2460 r"""ToHexString(COLOR4D self) -> wxString"""
2461 return _pcbnew.COLOR4D_ToHexString(self)
2464 r"""ToColour(COLOR4D self) -> wxColour"""
2465 return _pcbnew.COLOR4D_ToColour(self)
2468 r"""LegacyMix(COLOR4D self, COLOR4D aColor) -> COLOR4D"""
2469 return _pcbnew.COLOR4D_LegacyMix(self, aColor)
2471 def ToHSL(self, aOutHue, aOutSaturation, aOutValue):
2472 r"""ToHSL(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue)"""
2473 return _pcbnew.COLOR4D_ToHSL(self, aOutHue, aOutSaturation, aOutValue)
2475 def FromHSL(self, aInHue, aInSaturation, aInLightness):
2476 r"""FromHSL(COLOR4D self, double aInHue, double aInSaturation, double aInLightness)"""
2477 return _pcbnew.COLOR4D_FromHSL(self, aInHue, aInSaturation, aInLightness)
2480 r"""Brighten(COLOR4D self, double aFactor) -> COLOR4D"""
2481 return _pcbnew.COLOR4D_Brighten(self, aFactor)
2484 r"""Darken(COLOR4D self, double aFactor) -> COLOR4D"""
2485 return _pcbnew.COLOR4D_Darken(self, aFactor)
2488 r"""Invert(COLOR4D self) -> COLOR4D"""
2489 return _pcbnew.COLOR4D_Invert(self)
2492 r"""Saturate(COLOR4D self, double aFactor) -> COLOR4D"""
2493 return _pcbnew.COLOR4D_Saturate(self, aFactor)
2496 r"""Desaturate(COLOR4D self) -> COLOR4D"""
2497 return _pcbnew.COLOR4D_Desaturate(self)
2500 r"""Brightened(COLOR4D self, double aFactor) -> COLOR4D"""
2501 return _pcbnew.COLOR4D_Brightened(self, aFactor)
2504 r"""Darkened(COLOR4D self, double aFactor) -> COLOR4D"""
2505 return _pcbnew.COLOR4D_Darkened(self, aFactor)
2507 def Mix(self, aColor, aFactor):
2508 r"""Mix(COLOR4D self, COLOR4D aColor, double aFactor) -> COLOR4D"""
2509 return _pcbnew.COLOR4D_Mix(self, aColor, aFactor)
2512 r"""WithAlpha(COLOR4D self, double aAlpha) -> COLOR4D"""
2513 return _pcbnew.COLOR4D_WithAlpha(self, aAlpha)
2516 r"""Inverted(COLOR4D self) -> COLOR4D"""
2517 return _pcbnew.COLOR4D_Inverted(self)
2520 r"""GetBrightness(COLOR4D self) -> double"""
2521 return _pcbnew.COLOR4D_GetBrightness(self)
2523 def ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue=False):
2524 r"""ToHSV(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue, bool aAlwaysDefineHue=False)"""
2525 return _pcbnew.COLOR4D_ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue)
2528 r"""FromHSV(COLOR4D self, double aInH, double aInS, double aInV)"""
2529 return _pcbnew.COLOR4D_FromHSV(self, aInH, aInS, aInV)
2532 r"""Distance(COLOR4D self, COLOR4D other) -> double"""
2533 return _pcbnew.COLOR4D_Distance(self, other)
2536 r"""Compare(COLOR4D self, COLOR4D aRhs) -> int"""
2537 return _pcbnew.COLOR4D_Compare(self, aRhs)
2541 r"""FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2542 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2543 r = property(_pcbnew.COLOR4D_r_get, _pcbnew.COLOR4D_r_set, doc=
r"""r : double""")
2544 g = property(_pcbnew.COLOR4D_g_get, _pcbnew.COLOR4D_g_set, doc=
r"""g : double""")
2545 b = property(_pcbnew.COLOR4D_b_get, _pcbnew.COLOR4D_b_set, doc=
r"""b : double""")
2546 a = property(_pcbnew.COLOR4D_a_get, _pcbnew.COLOR4D_a_set, doc=
r"""a : double""")
2547 __swig_destroy__ = _pcbnew.delete_COLOR4D
2550_pcbnew.COLOR4D_swigregister(COLOR4D)
2553 r"""COLOR4D_FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2554 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2555COLOR4D.UNSPECIFIED = _pcbnew.cvar.COLOR4D_UNSPECIFIED
2556COLOR4D.WHITE = _pcbnew.cvar.COLOR4D_WHITE
2557COLOR4D.BLACK = _pcbnew.cvar.COLOR4D_BLACK
2558COLOR4D.CLEAR = _pcbnew.cvar.COLOR4D_CLEAR
2562 r"""__eq__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2563 return _pcbnew.__eq__(lhs, rhs)
2566 r"""__ne__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2567 return _pcbnew.__ne__(lhs, rhs)
2570 r"""__lt__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2571 return _pcbnew.__lt__(lhs, rhs)
2574 r"""__lshift__(std::ostream & aStream, COLOR4D aColor) -> std::ostream &"""
2575 return _pcbnew.__lshift__(aStream, aColor)
2577 r"""Proxy of C++ MARKER_BASE class."""
2579 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2582 raise AttributeError(
"No constructor defined - class is abstract")
2583 __repr__ = _swig_repr
2584 MARKER_UNSPEC = _pcbnew.MARKER_BASE_MARKER_UNSPEC
2586 MARKER_ERC = _pcbnew.MARKER_BASE_MARKER_ERC
2588 MARKER_DRC = _pcbnew.MARKER_BASE_MARKER_DRC
2590 MARKER_DRAWING_SHEET = _pcbnew.MARKER_BASE_MARKER_DRAWING_SHEET
2592 MARKER_RATSNEST = _pcbnew.MARKER_BASE_MARKER_RATSNEST
2594 MARKER_PARITY = _pcbnew.MARKER_BASE_MARKER_PARITY
2596 MARKER_SIMUL = _pcbnew.MARKER_BASE_MARKER_SIMUL
2598 __swig_destroy__ = _pcbnew.delete_MARKER_BASE
2601 r"""MarkerScale(MARKER_BASE self) -> int"""
2602 return _pcbnew.MARKER_BASE_MarkerScale(self)
2605 r"""SetMarkerScale(MARKER_BASE self, int aScale)"""
2606 return _pcbnew.MARKER_BASE_SetMarkerScale(self, aScale)
2609 r"""ShapeToPolygon(MARKER_BASE self, SHAPE_LINE_CHAIN aPolygon, int aScale=-1)"""
2610 return _pcbnew.MARKER_BASE_ShapeToPolygon(self, aPolygon, aScale)
2613 r"""PrintMarker(MARKER_BASE self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset)"""
2614 return _pcbnew.MARKER_BASE_PrintMarker(self, aSettings, aOffset)
2617 r"""GetPos(MARKER_BASE self) -> VECTOR2I"""
2618 return _pcbnew.MARKER_BASE_GetPos(self)
2621 r"""GetUUID(MARKER_BASE self) -> KIID"""
2622 return _pcbnew.MARKER_BASE_GetUUID(self)
2625 r"""SetMarkerType(MARKER_BASE self, enum MARKER_BASE::MARKER_T aMarkerType)"""
2626 return _pcbnew.MARKER_BASE_SetMarkerType(self, aMarkerType)
2629 r"""GetMarkerType(MARKER_BASE self) -> enum MARKER_BASE::MARKER_T"""
2630 return _pcbnew.MARKER_BASE_GetMarkerType(self)
2633 r"""IsExcluded(MARKER_BASE self) -> bool"""
2634 return _pcbnew.MARKER_BASE_IsExcluded(self)
2637 r"""SetExcluded(MARKER_BASE self, bool aExcluded)"""
2638 return _pcbnew.MARKER_BASE_SetExcluded(self, aExcluded)
2641 r"""GetSeverity(MARKER_BASE self) -> SEVERITY"""
2642 return _pcbnew.MARKER_BASE_GetSeverity(self)
2645 r"""GetRCItem(MARKER_BASE self) -> std::shared_ptr< RC_ITEM >"""
2646 return _pcbnew.MARKER_BASE_GetRCItem(self)
2650 HitTestMarker(MARKER_BASE self, VECTOR2I aHitPosition, int aAccuracy) -> bool
2651 HitTestMarker(MARKER_BASE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
2653 return _pcbnew.MARKER_BASE_HitTestMarker(self, *args)
2656 r"""GetBoundingBoxMarker(MARKER_BASE self) -> BOX2I"""
2657 return _pcbnew.MARKER_BASE_GetBoundingBoxMarker(self)
2658 m_Pos = property(_pcbnew.MARKER_BASE_m_Pos_get, _pcbnew.MARKER_BASE_m_Pos_set, doc=
r"""m_Pos : VECTOR2I""")
2661_pcbnew.MARKER_BASE_swigregister(MARKER_BASE)
2663TEXT_MIN_SIZE_MM = _pcbnew.TEXT_MIN_SIZE_MM
2665TEXT_MAX_SIZE_MM = _pcbnew.TEXT_MAX_SIZE_MM
2667DEFAULT_SIZE_TEXT = _pcbnew.DEFAULT_SIZE_TEXT
2670 r"""Proxy of C++ EDA_TEXT class."""
2672 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2673 __repr__ = _swig_repr
2677 __init__(EDA_TEXT self, EDA_IU_SCALE aIuScale, wxString aText=wxEmptyString) -> EDA_TEXT
2678 __init__(EDA_TEXT self, EDA_TEXT aText) -> EDA_TEXT
2680 _pcbnew.EDA_TEXT_swiginit(self, _pcbnew.new_EDA_TEXT(*args))
2681 __swig_destroy__ = _pcbnew.delete_EDA_TEXT
2684 r"""GetText(EDA_TEXT self) -> wxString"""
2685 return _pcbnew.EDA_TEXT_GetText(self)
2688 r"""GetShownText(EDA_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
2689 return _pcbnew.EDA_TEXT_GetShownText(self, aAllowExtraText, aDepth)
2692 r"""HasTextVars(EDA_TEXT self) -> bool"""
2693 return _pcbnew.EDA_TEXT_HasTextVars(self)
2696 r"""SetText(EDA_TEXT self, wxString aText)"""
2697 return _pcbnew.EDA_TEXT_SetText(self, aText)
2700 r"""SetTextThickness(EDA_TEXT self, int aWidth)"""
2701 return _pcbnew.EDA_TEXT_SetTextThickness(self, aWidth)
2704 r"""GetTextThickness(EDA_TEXT self) -> int"""
2705 return _pcbnew.EDA_TEXT_GetTextThickness(self)
2708 r"""GetEffectiveTextPenWidth(EDA_TEXT self, int aDefaultPenWidth=0) -> int"""
2709 return _pcbnew.EDA_TEXT_GetEffectiveTextPenWidth(self, aDefaultPenWidth)
2712 r"""SetTextAngle(EDA_TEXT self, EDA_ANGLE aAngle)"""
2713 return _pcbnew.EDA_TEXT_SetTextAngle(self, aAngle)
2716 r"""GetTextAngle(EDA_TEXT self) -> EDA_ANGLE"""
2717 return _pcbnew.EDA_TEXT_GetTextAngle(self)
2720 r"""SetTextAngleDegrees(EDA_TEXT self, double aOrientation)"""
2721 return _pcbnew.EDA_TEXT_SetTextAngleDegrees(self, aOrientation)
2724 r"""GetTextAngleDegrees(EDA_TEXT self) -> double"""
2725 return _pcbnew.EDA_TEXT_GetTextAngleDegrees(self)
2728 r"""SetItalic(EDA_TEXT self, bool aItalic)"""
2729 return _pcbnew.EDA_TEXT_SetItalic(self, aItalic)
2732 r"""SetItalicFlag(EDA_TEXT self, bool aItalic)"""
2733 return _pcbnew.EDA_TEXT_SetItalicFlag(self, aItalic)
2736 r"""IsItalic(EDA_TEXT self) -> bool"""
2737 return _pcbnew.EDA_TEXT_IsItalic(self)
2740 r"""SetBold(EDA_TEXT self, bool aBold)"""
2741 return _pcbnew.EDA_TEXT_SetBold(self, aBold)
2744 r"""SetBoldFlag(EDA_TEXT self, bool aBold)"""
2745 return _pcbnew.EDA_TEXT_SetBoldFlag(self, aBold)
2748 r"""IsBold(EDA_TEXT self) -> bool"""
2749 return _pcbnew.EDA_TEXT_IsBold(self)
2752 r"""SetVisible(EDA_TEXT self, bool aVisible)"""
2753 return _pcbnew.EDA_TEXT_SetVisible(self, aVisible)
2756 r"""IsVisible(EDA_TEXT self) -> bool"""
2757 return _pcbnew.EDA_TEXT_IsVisible(self)
2760 r"""SetMirrored(EDA_TEXT self, bool isMirrored)"""
2761 return _pcbnew.EDA_TEXT_SetMirrored(self, isMirrored)
2764 r"""IsMirrored(EDA_TEXT self) -> bool"""
2765 return _pcbnew.EDA_TEXT_IsMirrored(self)
2768 r"""SetMultilineAllowed(EDA_TEXT self, bool aAllow)"""
2769 return _pcbnew.EDA_TEXT_SetMultilineAllowed(self, aAllow)
2772 r"""IsMultilineAllowed(EDA_TEXT self) -> bool"""
2773 return _pcbnew.EDA_TEXT_IsMultilineAllowed(self)
2776 r"""SetHorizJustify(EDA_TEXT self, GR_TEXT_H_ALIGN_T aType)"""
2777 return _pcbnew.EDA_TEXT_SetHorizJustify(self, aType)
2780 r"""GetHorizJustify(EDA_TEXT self) -> GR_TEXT_H_ALIGN_T"""
2781 return _pcbnew.EDA_TEXT_GetHorizJustify(self)
2784 r"""SetVertJustify(EDA_TEXT self, GR_TEXT_V_ALIGN_T aType)"""
2785 return _pcbnew.EDA_TEXT_SetVertJustify(self, aType)
2788 r"""GetVertJustify(EDA_TEXT self) -> GR_TEXT_V_ALIGN_T"""
2789 return _pcbnew.EDA_TEXT_GetVertJustify(self)
2792 r"""SetKeepUpright(EDA_TEXT self, bool aKeepUpright)"""
2793 return _pcbnew.EDA_TEXT_SetKeepUpright(self, aKeepUpright)
2796 r"""IsKeepUpright(EDA_TEXT self) -> bool"""
2797 return _pcbnew.EDA_TEXT_IsKeepUpright(self)
2800 r"""FlipHJustify(EDA_TEXT self)"""
2801 return _pcbnew.EDA_TEXT_FlipHJustify(self)
2804 r"""SwapAttributes(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2805 return _pcbnew.EDA_TEXT_SwapAttributes(self, aTradingPartner)
2808 r"""SwapText(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2809 return _pcbnew.EDA_TEXT_SwapText(self, aTradingPartner)
2812 r"""CopyText(EDA_TEXT self, EDA_TEXT aSrc)"""
2813 return _pcbnew.EDA_TEXT_CopyText(self, aSrc)
2817 SetAttributes(EDA_TEXT self, EDA_TEXT aSrc, bool aSetPosition=True)
2820 return _pcbnew.EDA_TEXT_SetAttributes(self, *args)
2823 r"""GetAttributes(EDA_TEXT self) -> TEXT_ATTRIBUTES"""
2824 return _pcbnew.EDA_TEXT_GetAttributes(self)
2827 r"""Replace(EDA_TEXT self, EDA_SEARCH_DATA const & aSearchData) -> bool"""
2828 return _pcbnew.EDA_TEXT_Replace(self, aSearchData)
2831 r"""IsDefaultFormatting(EDA_TEXT self) -> bool"""
2832 return _pcbnew.EDA_TEXT_IsDefaultFormatting(self)
2835 r"""SetFont(EDA_TEXT self, KIFONT::FONT * aFont)"""
2836 return _pcbnew.EDA_TEXT_SetFont(self, aFont)
2839 r"""GetFont(EDA_TEXT self) -> KIFONT::FONT *"""
2840 return _pcbnew.EDA_TEXT_GetFont(self)
2843 r"""GetFontName(EDA_TEXT self) -> wxString"""
2844 return _pcbnew.EDA_TEXT_GetFontName(self)
2847 r"""SetFontIndex(EDA_TEXT self, int aIdx)"""
2848 return _pcbnew.EDA_TEXT_SetFontIndex(self, aIdx)
2851 r"""GetFontIndex(EDA_TEXT self) -> int"""
2852 return _pcbnew.EDA_TEXT_GetFontIndex(self)
2855 r"""SetLineSpacing(EDA_TEXT self, double aLineSpacing)"""
2856 return _pcbnew.EDA_TEXT_SetLineSpacing(self, aLineSpacing)
2859 r"""GetLineSpacing(EDA_TEXT self) -> double"""
2860 return _pcbnew.EDA_TEXT_GetLineSpacing(self)
2863 r"""SetTextSize(EDA_TEXT self, VECTOR2I aNewSize, bool aEnforceMinTextSize=True)"""
2864 return _pcbnew.EDA_TEXT_SetTextSize(self, aNewSize, aEnforceMinTextSize)
2867 r"""GetTextSize(EDA_TEXT self) -> VECTOR2I"""
2868 return _pcbnew.EDA_TEXT_GetTextSize(self)
2871 r"""SetTextWidth(EDA_TEXT self, int aWidth)"""
2872 return _pcbnew.EDA_TEXT_SetTextWidth(self, aWidth)
2875 r"""GetTextWidth(EDA_TEXT self) -> int"""
2876 return _pcbnew.EDA_TEXT_GetTextWidth(self)
2879 r"""SetTextHeight(EDA_TEXT self, int aHeight)"""
2880 return _pcbnew.EDA_TEXT_SetTextHeight(self, aHeight)
2883 r"""GetTextHeight(EDA_TEXT self) -> int"""
2884 return _pcbnew.EDA_TEXT_GetTextHeight(self)
2887 r"""SetTextColor(EDA_TEXT self, COLOR4D aColor)"""
2888 return _pcbnew.EDA_TEXT_SetTextColor(self, aColor)
2891 r"""GetTextColor(EDA_TEXT self) -> COLOR4D"""
2892 return _pcbnew.EDA_TEXT_GetTextColor(self)
2895 r"""SetTextPos(EDA_TEXT self, VECTOR2I aPoint)"""
2896 return _pcbnew.EDA_TEXT_SetTextPos(self, aPoint)
2899 r"""GetTextPos(EDA_TEXT self) -> VECTOR2I"""
2900 return _pcbnew.EDA_TEXT_GetTextPos(self)
2903 r"""SetTextX(EDA_TEXT self, int aX)"""
2904 return _pcbnew.EDA_TEXT_SetTextX(self, aX)
2907 r"""SetTextY(EDA_TEXT self, int aY)"""
2908 return _pcbnew.EDA_TEXT_SetTextY(self, aY)
2911 r"""Offset(EDA_TEXT self, VECTOR2I aOffset)"""
2912 return _pcbnew.EDA_TEXT_Offset(self, aOffset)
2915 r"""Empty(EDA_TEXT self)"""
2916 return _pcbnew.EDA_TEXT_Empty(self)
2920 r"""MapHorizJustify(int aHorizJustify) -> GR_TEXT_H_ALIGN_T"""
2921 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
2925 r"""MapVertJustify(int aVertJustify) -> GR_TEXT_V_ALIGN_T"""
2926 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
2928 def Print(self, aSettings, aOffset, aColor, aDisplay_mode=FILLED):
2929 r"""Print(EDA_TEXT self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset, COLOR4D aColor, OUTLINE_MODE aDisplay_mode=FILLED)"""
2930 return _pcbnew.EDA_TEXT_Print(self, aSettings, aOffset, aColor, aDisplay_mode)
2933 r"""GetEffectiveTextShape(EDA_TEXT self, bool aTriangulate=True, BOX2I aBBox=BOX2I(), EDA_ANGLE aAngle=ANGLE_0) -> std::shared_ptr< SHAPE_COMPOUND >"""
2934 return _pcbnew.EDA_TEXT_GetEffectiveTextShape(self, *args)
2938 TextHitTest(EDA_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
2939 TextHitTest(EDA_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
2941 return _pcbnew.EDA_TEXT_TextHitTest(self, *args)
2944 r"""GetTextBox(EDA_TEXT self, int aLine=-1, bool aInvertY=False) -> BOX2I"""
2945 return _pcbnew.EDA_TEXT_GetTextBox(self, aLine, aInvertY)
2948 r"""GetInterline(EDA_TEXT self) -> int"""
2949 return _pcbnew.EDA_TEXT_GetInterline(self)
2952 r"""GetTextStyleName(EDA_TEXT self) -> wxString"""
2953 return _pcbnew.EDA_TEXT_GetTextStyleName(self)
2956 r"""GetLinePositions(EDA_TEXT self, VECTOR_VECTOR2I aPositions, int aLineCount)"""
2957 return _pcbnew.EDA_TEXT_GetLinePositions(self, aPositions, aLineCount)
2960 r"""Levenshtein(EDA_TEXT self, EDA_TEXT aOther) -> double"""
2961 return _pcbnew.EDA_TEXT_Levenshtein(self, aOther)
2964 r"""Similarity(EDA_TEXT self, EDA_TEXT aOther) -> double"""
2965 return _pcbnew.EDA_TEXT_Similarity(self, aOther)
2967 def Format(self, aFormatter, aNestLevel, aControlBits):
2968 r"""Format(EDA_TEXT self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControlBits)"""
2969 return _pcbnew.EDA_TEXT_Format(self, aFormatter, aNestLevel, aControlBits)
2972 r"""GetDrawRotation(EDA_TEXT self) -> EDA_ANGLE"""
2973 return _pcbnew.EDA_TEXT_GetDrawRotation(self)
2976 r"""GetDrawPos(EDA_TEXT self) -> VECTOR2I"""
2977 return _pcbnew.EDA_TEXT_GetDrawPos(self)
2980 r"""ClearRenderCache(EDA_TEXT self)"""
2981 return _pcbnew.EDA_TEXT_ClearRenderCache(self)
2984 r"""ClearBoundingBoxCache(EDA_TEXT self)"""
2985 return _pcbnew.EDA_TEXT_ClearBoundingBoxCache(self)
2988 r"""GetRenderCache(EDA_TEXT self, KIFONT::FONT const * aFont, wxString forResolvedText, VECTOR2I aOffset={ 0, 0 }) -> std::vector< std::unique_ptr< KIFONT::GLYPH >,std::allocator< std::unique_ptr< KIFONT::GLYPH > > >"""
2989 return _pcbnew.EDA_TEXT_GetRenderCache(self, *args)
2992 r"""SetupRenderCache(EDA_TEXT self, wxString aResolvedText, KIFONT::FONT const * aFont, EDA_ANGLE aAngle, VECTOR2I aOffset)"""
2993 return _pcbnew.EDA_TEXT_SetupRenderCache(self, aResolvedText, aFont, aAngle, aOffset)
2996 r"""AddRenderCacheGlyph(EDA_TEXT self, SHAPE_POLY_SET aPoly)"""
2997 return _pcbnew.EDA_TEXT_AddRenderCacheGlyph(self, aPoly)
3000 r"""Compare(EDA_TEXT self, EDA_TEXT aOther) -> int"""
3001 return _pcbnew.EDA_TEXT_Compare(self, aOther)
3004 r"""__eq__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
3005 return _pcbnew.EDA_TEXT___eq__(self, aRhs)
3008 r"""__lt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
3009 return _pcbnew.EDA_TEXT___lt__(self, aRhs)
3012 r"""__gt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
3013 return _pcbnew.EDA_TEXT___gt__(self, aRhs)
3016 r"""HasHyperlink(EDA_TEXT self) -> bool"""
3017 return _pcbnew.EDA_TEXT_HasHyperlink(self)
3020 r"""GetHyperlink(EDA_TEXT self) -> wxString"""
3021 return _pcbnew.EDA_TEXT_GetHyperlink(self)
3024 r"""SetHyperlink(EDA_TEXT self, wxString aLink)"""
3025 return _pcbnew.EDA_TEXT_SetHyperlink(self, aLink)
3028 r"""RemoveHyperlink(EDA_TEXT self)"""
3029 return _pcbnew.EDA_TEXT_RemoveHyperlink(self)
3033 r"""ValidateHyperlink(wxString aURL) -> bool"""
3034 return _pcbnew.EDA_TEXT_ValidateHyperlink(aURL)
3038 r"""IsGotoPageHref(wxString aHref, wxString aDestination=None) -> bool"""
3039 return _pcbnew.EDA_TEXT_IsGotoPageHref(aHref, aDestination)
3043 r"""GotoPageHref(wxString aDestination) -> wxString"""
3044 return _pcbnew.EDA_TEXT_GotoPageHref(aDestination)
3047_pcbnew.EDA_TEXT_swigregister(EDA_TEXT)
3050 r"""EDA_TEXT_MapHorizJustify(int aHorizJustify) -> GR_TEXT_H_ALIGN_T"""
3051 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
3054 r"""EDA_TEXT_MapVertJustify(int aVertJustify) -> GR_TEXT_V_ALIGN_T"""
3055 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
3058 r"""EDA_TEXT_ValidateHyperlink(wxString aURL) -> bool"""
3059 return _pcbnew.EDA_TEXT_ValidateHyperlink(aURL)
3062 r"""EDA_TEXT_IsGotoPageHref(wxString aHref, wxString aDestination=None) -> bool"""
3063 return _pcbnew.EDA_TEXT_IsGotoPageHref(aHref, aDestination)
3066 r"""EDA_TEXT_GotoPageHref(wxString aDestination) -> wxString"""
3067 return _pcbnew.EDA_TEXT_GotoPageHref(aDestination)
3071 r"""GetBuildVersion() -> wxString"""
3072 return _pcbnew.GetBuildVersion()
3075 r"""GetBaseVersion() -> wxString"""
3076 return _pcbnew.GetBaseVersion()
3079 r"""GetPlatformGetBitnessName() -> wxString"""
3080 return _pcbnew.GetPlatformGetBitnessName()
3083 r"""GetSemanticVersion() -> wxString"""
3084 return _pcbnew.GetSemanticVersion()
3087 r"""GetMajorMinorVersion() -> wxString"""
3088 return _pcbnew.GetMajorMinorVersion()
3091 r"""GetMajorMinorPatchVersion() -> wxString"""
3092 return _pcbnew.GetMajorMinorPatchVersion()
3095 r"""GetBuildDate() -> wxString"""
3096 return _pcbnew.GetBuildDate()
3099 r"""GetCommitHash() -> wxString"""
3100 return _pcbnew.GetCommitHash()
3103 r"""GetMajorMinorPatchTuple() -> std::tuple< int,int,int > const &"""
3104 return _pcbnew.GetMajorMinorPatchTuple()
3107 r"""IsNightlyVersion() -> bool"""
3108 return _pcbnew.IsNightlyVersion()
3111 r"""SetOpenGLInfo(char const * aRenderer, char const * aVendor, char const * aVersion)"""
3112 return _pcbnew.SetOpenGLInfo(aRenderer, aVendor, aVersion)
3115 r"""GetVersionInfoData(wxString aTitle, bool aHtml=False, bool aBrief=False) -> wxString"""
3116 return _pcbnew.GetVersionInfoData(aTitle, aHtml, aBrief)
3117UNDEFINED_LAYER = _pcbnew.UNDEFINED_LAYER
3119UNSELECTED_LAYER = _pcbnew.UNSELECTED_LAYER
3121PCBNEW_LAYER_ID_START = _pcbnew.PCBNEW_LAYER_ID_START
3125In1_Cu = _pcbnew.In1_Cu
3127In2_Cu = _pcbnew.In2_Cu
3129In3_Cu = _pcbnew.In3_Cu
3131In4_Cu = _pcbnew.In4_Cu
3133In5_Cu = _pcbnew.In5_Cu
3135In6_Cu = _pcbnew.In6_Cu
3137In7_Cu = _pcbnew.In7_Cu
3139In8_Cu = _pcbnew.In8_Cu
3141In9_Cu = _pcbnew.In9_Cu
3143In10_Cu = _pcbnew.In10_Cu
3145In11_Cu = _pcbnew.In11_Cu
3147In12_Cu = _pcbnew.In12_Cu
3149In13_Cu = _pcbnew.In13_Cu
3151In14_Cu = _pcbnew.In14_Cu
3153In15_Cu = _pcbnew.In15_Cu
3155In16_Cu = _pcbnew.In16_Cu
3157In17_Cu = _pcbnew.In17_Cu
3159In18_Cu = _pcbnew.In18_Cu
3161In19_Cu = _pcbnew.In19_Cu
3163In20_Cu = _pcbnew.In20_Cu
3165In21_Cu = _pcbnew.In21_Cu
3167In22_Cu = _pcbnew.In22_Cu
3169In23_Cu = _pcbnew.In23_Cu
3171In24_Cu = _pcbnew.In24_Cu
3173In25_Cu = _pcbnew.In25_Cu
3175In26_Cu = _pcbnew.In26_Cu
3177In27_Cu = _pcbnew.In27_Cu
3179In28_Cu = _pcbnew.In28_Cu
3181In29_Cu = _pcbnew.In29_Cu
3183In30_Cu = _pcbnew.In30_Cu
3187B_Adhes = _pcbnew.B_Adhes
3189F_Adhes = _pcbnew.F_Adhes
3191B_Paste = _pcbnew.B_Paste
3193F_Paste = _pcbnew.F_Paste
3195B_SilkS = _pcbnew.B_SilkS
3197F_SilkS = _pcbnew.F_SilkS
3199B_Mask = _pcbnew.B_Mask
3201F_Mask = _pcbnew.F_Mask
3203Dwgs_User = _pcbnew.Dwgs_User
3205Cmts_User = _pcbnew.Cmts_User
3207Eco1_User = _pcbnew.Eco1_User
3209Eco2_User = _pcbnew.Eco2_User
3211Edge_Cuts = _pcbnew.Edge_Cuts
3213Margin = _pcbnew.Margin
3215B_CrtYd = _pcbnew.B_CrtYd
3217F_CrtYd = _pcbnew.F_CrtYd
3219B_Fab = _pcbnew.B_Fab
3221F_Fab = _pcbnew.F_Fab
3223User_1 = _pcbnew.User_1
3225User_2 = _pcbnew.User_2
3227User_3 = _pcbnew.User_3
3229User_4 = _pcbnew.User_4
3231User_5 = _pcbnew.User_5
3233User_6 = _pcbnew.User_6
3235User_7 = _pcbnew.User_7
3237User_8 = _pcbnew.User_8
3239User_9 = _pcbnew.User_9
3241Rescue = _pcbnew.Rescue
3243PCB_LAYER_ID_COUNT = _pcbnew.PCB_LAYER_ID_COUNT
3245FLASHING_DEFAULT = _pcbnew.FLASHING_DEFAULT
3247FLASHING_ALWAYS_FLASHED = _pcbnew.FLASHING_ALWAYS_FLASHED
3249FLASHING_NEVER_FLASHED = _pcbnew.FLASHING_NEVER_FLASHED
3251NETNAMES_LAYER_ID_START = _pcbnew.NETNAMES_LAYER_ID_START
3253NETNAMES_LAYER_ID_RESERVED = _pcbnew.NETNAMES_LAYER_ID_RESERVED
3255LAYER_PAD_FR_NETNAMES = _pcbnew.LAYER_PAD_FR_NETNAMES
3257LAYER_PAD_BK_NETNAMES = _pcbnew.LAYER_PAD_BK_NETNAMES
3259LAYER_PAD_NETNAMES = _pcbnew.LAYER_PAD_NETNAMES
3261LAYER_VIA_NETNAMES = _pcbnew.LAYER_VIA_NETNAMES
3263NETNAMES_LAYER_ID_END = _pcbnew.NETNAMES_LAYER_ID_END
3265GAL_UI_LAYER_COUNT = _pcbnew.GAL_UI_LAYER_COUNT
3267GAL_LAYER_ID_START = _pcbnew.GAL_LAYER_ID_START
3269LAYER_VIAS = _pcbnew.LAYER_VIAS
3271LAYER_VIA_MICROVIA = _pcbnew.LAYER_VIA_MICROVIA
3273LAYER_VIA_BBLIND = _pcbnew.LAYER_VIA_BBLIND
3275LAYER_VIA_THROUGH = _pcbnew.LAYER_VIA_THROUGH
3277LAYER_NON_PLATEDHOLES = _pcbnew.LAYER_NON_PLATEDHOLES
3279LAYER_FP_TEXT = _pcbnew.LAYER_FP_TEXT
3281LAYER_HIDDEN_TEXT = _pcbnew.LAYER_HIDDEN_TEXT
3283LAYER_ANCHOR = _pcbnew.LAYER_ANCHOR
3285LAYER_PADS_SMD_FR = _pcbnew.LAYER_PADS_SMD_FR
3287LAYER_PADS_SMD_BK = _pcbnew.LAYER_PADS_SMD_BK
3289LAYER_RATSNEST = _pcbnew.LAYER_RATSNEST
3291LAYER_GRID = _pcbnew.LAYER_GRID
3293LAYER_GRID_AXES = _pcbnew.LAYER_GRID_AXES
3295LAYER_FOOTPRINTS_FR = _pcbnew.LAYER_FOOTPRINTS_FR
3297LAYER_FOOTPRINTS_BK = _pcbnew.LAYER_FOOTPRINTS_BK
3299LAYER_FP_VALUES = _pcbnew.LAYER_FP_VALUES
3301LAYER_FP_REFERENCES = _pcbnew.LAYER_FP_REFERENCES
3303LAYER_TRACKS = _pcbnew.LAYER_TRACKS
3305LAYER_PADS_TH = _pcbnew.LAYER_PADS_TH
3307LAYER_PAD_PLATEDHOLES = _pcbnew.LAYER_PAD_PLATEDHOLES
3309LAYER_VIA_HOLES = _pcbnew.LAYER_VIA_HOLES
3311LAYER_DRC_ERROR = _pcbnew.LAYER_DRC_ERROR
3313LAYER_DRAWINGSHEET = _pcbnew.LAYER_DRAWINGSHEET
3315LAYER_GP_OVERLAY = _pcbnew.LAYER_GP_OVERLAY
3317LAYER_SELECT_OVERLAY = _pcbnew.LAYER_SELECT_OVERLAY
3319LAYER_PCB_BACKGROUND = _pcbnew.LAYER_PCB_BACKGROUND
3321LAYER_CURSOR = _pcbnew.LAYER_CURSOR
3323LAYER_AUX_ITEMS = _pcbnew.LAYER_AUX_ITEMS
3325LAYER_DRAW_BITMAPS = _pcbnew.LAYER_DRAW_BITMAPS
3327GAL_LAYER_ID_BITMASK_END = _pcbnew.GAL_LAYER_ID_BITMASK_END
3329LAYER_PADS = _pcbnew.LAYER_PADS
3331LAYER_ZONES = _pcbnew.LAYER_ZONES
3333LAYER_PAD_HOLEWALLS = _pcbnew.LAYER_PAD_HOLEWALLS
3335LAYER_VIA_HOLEWALLS = _pcbnew.LAYER_VIA_HOLEWALLS
3337LAYER_DRC_WARNING = _pcbnew.LAYER_DRC_WARNING
3339LAYER_DRC_EXCLUSION = _pcbnew.LAYER_DRC_EXCLUSION
3341LAYER_MARKER_SHADOWS = _pcbnew.LAYER_MARKER_SHADOWS
3343LAYER_LOCKED_ITEM_SHADOW = _pcbnew.LAYER_LOCKED_ITEM_SHADOW
3345LAYER_CONFLICTS_SHADOW = _pcbnew.LAYER_CONFLICTS_SHADOW
3347LAYER_DRAWINGSHEET_PAGE1 = _pcbnew.LAYER_DRAWINGSHEET_PAGE1
3349LAYER_DRAWINGSHEET_PAGEn = _pcbnew.LAYER_DRAWINGSHEET_PAGEn
3351LAYER_PAGE_LIMITS = _pcbnew.LAYER_PAGE_LIMITS
3353LAYER_ZONE_START = _pcbnew.LAYER_ZONE_START
3355LAYER_ZONE_END = _pcbnew.LAYER_ZONE_END
3357LAYER_BITMAP_START = _pcbnew.LAYER_BITMAP_START
3359LAYER_BITMAP_END = _pcbnew.LAYER_BITMAP_END
3361LAYER_UI_START = _pcbnew.LAYER_UI_START
3363LAYER_UI_END = _pcbnew.LAYER_UI_END
3365GAL_LAYER_ID_END = _pcbnew.GAL_LAYER_ID_END
3369 r"""ToGalLayer(int aInteger) -> GAL_LAYER_ID"""
3370 return _pcbnew.ToGalLayer(aInteger)
3372 r"""Proxy of C++ GAL_SET class."""
3374 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3375 __repr__ = _swig_repr
3380 __init__(GAL_SET self, GAL_SET aOther) -> GAL_SET
3381 __init__(GAL_SET self, GAL_LAYER_ID const * aArray, unsigned int aCount) -> GAL_SET
3383 _pcbnew.GAL_SET_swiginit(self, _pcbnew.new_GAL_SET(*args))
3387 set(GAL_SET self) -> GAL_SET
3388 set(GAL_SET self, int aPos, bool aVal=True) -> GAL_SET
3389 set(GAL_SET self, GAL_LAYER_ID aPos, bool aVal=
True) -> GAL_SET
3391 return _pcbnew.GAL_SET_set(self, *args)
3394 r"""Contains(GAL_SET self, GAL_LAYER_ID aPos) -> bool"""
3395 return _pcbnew.GAL_SET_Contains(self, aPos)
3398 r"""Seq(GAL_SET self) -> std::vector< GAL_LAYER_ID,std::allocator< GAL_LAYER_ID > >"""
3399 return _pcbnew.GAL_SET_Seq(self)
3403 r"""DefaultVisible() -> GAL_SET"""
3404 return _pcbnew.GAL_SET_DefaultVisible()
3405 __swig_destroy__ = _pcbnew.delete_GAL_SET
3408_pcbnew.GAL_SET_swigregister(GAL_SET)
3409GAL_LAYER_ID_COUNT = cvar.GAL_LAYER_ID_COUNT
3412 r"""GAL_SET_DefaultVisible() -> GAL_SET"""
3413 return _pcbnew.GAL_SET_DefaultVisible()
3415SCH_LAYER_ID_START = _pcbnew.SCH_LAYER_ID_START
3417LAYER_WIRE = _pcbnew.LAYER_WIRE
3419LAYER_BUS = _pcbnew.LAYER_BUS
3421LAYER_JUNCTION = _pcbnew.LAYER_JUNCTION
3423LAYER_LOCLABEL = _pcbnew.LAYER_LOCLABEL
3425LAYER_GLOBLABEL = _pcbnew.LAYER_GLOBLABEL
3427LAYER_HIERLABEL = _pcbnew.LAYER_HIERLABEL
3429LAYER_PINNUM = _pcbnew.LAYER_PINNUM
3431LAYER_PINNAM = _pcbnew.LAYER_PINNAM
3433LAYER_REFERENCEPART = _pcbnew.LAYER_REFERENCEPART
3435LAYER_VALUEPART = _pcbnew.LAYER_VALUEPART
3437LAYER_FIELDS = _pcbnew.LAYER_FIELDS
3439LAYER_INTERSHEET_REFS = _pcbnew.LAYER_INTERSHEET_REFS
3441LAYER_NETCLASS_REFS = _pcbnew.LAYER_NETCLASS_REFS
3443LAYER_DEVICE = _pcbnew.LAYER_DEVICE
3445LAYER_NOTES = _pcbnew.LAYER_NOTES
3447LAYER_PRIVATE_NOTES = _pcbnew.LAYER_PRIVATE_NOTES
3449LAYER_NOTES_BACKGROUND = _pcbnew.LAYER_NOTES_BACKGROUND
3451LAYER_PIN = _pcbnew.LAYER_PIN
3453LAYER_SHEET = _pcbnew.LAYER_SHEET
3455LAYER_SHEETNAME = _pcbnew.LAYER_SHEETNAME
3457LAYER_SHEETFILENAME = _pcbnew.LAYER_SHEETFILENAME
3459LAYER_SHEETFIELDS = _pcbnew.LAYER_SHEETFIELDS
3461LAYER_SHEETLABEL = _pcbnew.LAYER_SHEETLABEL
3463LAYER_NOCONNECT = _pcbnew.LAYER_NOCONNECT
3465LAYER_DANGLING = _pcbnew.LAYER_DANGLING
3467LAYER_DNP_MARKER = _pcbnew.LAYER_DNP_MARKER
3469LAYER_ERC_WARN = _pcbnew.LAYER_ERC_WARN
3471LAYER_ERC_ERR = _pcbnew.LAYER_ERC_ERR
3473LAYER_ERC_EXCLUSION = _pcbnew.LAYER_ERC_EXCLUSION
3475LAYER_DEVICE_BACKGROUND = _pcbnew.LAYER_DEVICE_BACKGROUND
3477LAYER_SHEET_BACKGROUND = _pcbnew.LAYER_SHEET_BACKGROUND
3479LAYER_SCHEMATIC_GRID = _pcbnew.LAYER_SCHEMATIC_GRID
3481LAYER_SCHEMATIC_GRID_AXES = _pcbnew.LAYER_SCHEMATIC_GRID_AXES
3483LAYER_SCHEMATIC_BACKGROUND = _pcbnew.LAYER_SCHEMATIC_BACKGROUND
3485LAYER_SCHEMATIC_CURSOR = _pcbnew.LAYER_SCHEMATIC_CURSOR
3487LAYER_HOVERED = _pcbnew.LAYER_HOVERED
3489LAYER_BRIGHTENED = _pcbnew.LAYER_BRIGHTENED
3491LAYER_HIDDEN = _pcbnew.LAYER_HIDDEN
3493LAYER_SELECTION_SHADOWS = _pcbnew.LAYER_SELECTION_SHADOWS
3495LAYER_SCHEMATIC_DRAWINGSHEET = _pcbnew.LAYER_SCHEMATIC_DRAWINGSHEET
3497LAYER_SCHEMATIC_PAGE_LIMITS = _pcbnew.LAYER_SCHEMATIC_PAGE_LIMITS
3499LAYER_BUS_JUNCTION = _pcbnew.LAYER_BUS_JUNCTION
3501LAYER_SCHEMATIC_AUX_ITEMS = _pcbnew.LAYER_SCHEMATIC_AUX_ITEMS
3503LAYER_SCHEMATIC_ANCHOR = _pcbnew.LAYER_SCHEMATIC_ANCHOR
3505LAYER_OP_VOLTAGES = _pcbnew.LAYER_OP_VOLTAGES
3507LAYER_OP_CURRENTS = _pcbnew.LAYER_OP_CURRENTS
3509SCH_LAYER_ID_END = _pcbnew.SCH_LAYER_ID_END
3511GERBVIEW_LAYER_ID_START = _pcbnew.GERBVIEW_LAYER_ID_START
3513GERBVIEW_LAYER_ID_RESERVED = _pcbnew.GERBVIEW_LAYER_ID_RESERVED
3515LAYER_DCODES = _pcbnew.LAYER_DCODES
3517LAYER_NEGATIVE_OBJECTS = _pcbnew.LAYER_NEGATIVE_OBJECTS
3519LAYER_GERBVIEW_GRID = _pcbnew.LAYER_GERBVIEW_GRID
3521LAYER_GERBVIEW_AXES = _pcbnew.LAYER_GERBVIEW_AXES
3523LAYER_GERBVIEW_BACKGROUND = _pcbnew.LAYER_GERBVIEW_BACKGROUND
3525LAYER_GERBVIEW_DRAWINGSHEET = _pcbnew.LAYER_GERBVIEW_DRAWINGSHEET
3527LAYER_GERBVIEW_PAGE_LIMITS = _pcbnew.LAYER_GERBVIEW_PAGE_LIMITS
3529GERBVIEW_LAYER_ID_END = _pcbnew.GERBVIEW_LAYER_ID_END
3531LAYER_3D_START = _pcbnew.LAYER_3D_START
3533LAYER_3D_BACKGROUND_BOTTOM = _pcbnew.LAYER_3D_BACKGROUND_BOTTOM
3535LAYER_3D_BACKGROUND_TOP = _pcbnew.LAYER_3D_BACKGROUND_TOP
3537LAYER_3D_BOARD = _pcbnew.LAYER_3D_BOARD
3539LAYER_3D_COPPER_TOP = _pcbnew.LAYER_3D_COPPER_TOP
3541LAYER_3D_COPPER_BOTTOM = _pcbnew.LAYER_3D_COPPER_BOTTOM
3543LAYER_3D_SILKSCREEN_BOTTOM = _pcbnew.LAYER_3D_SILKSCREEN_BOTTOM
3545LAYER_3D_SILKSCREEN_TOP = _pcbnew.LAYER_3D_SILKSCREEN_TOP
3547LAYER_3D_SOLDERMASK_BOTTOM = _pcbnew.LAYER_3D_SOLDERMASK_BOTTOM
3549LAYER_3D_SOLDERMASK_TOP = _pcbnew.LAYER_3D_SOLDERMASK_TOP
3551LAYER_3D_SOLDERPASTE = _pcbnew.LAYER_3D_SOLDERPASTE
3553LAYER_3D_ADHESIVE = _pcbnew.LAYER_3D_ADHESIVE
3555LAYER_3D_USER_COMMENTS = _pcbnew.LAYER_3D_USER_COMMENTS
3557LAYER_3D_USER_DRAWINGS = _pcbnew.LAYER_3D_USER_DRAWINGS
3559LAYER_3D_USER_ECO1 = _pcbnew.LAYER_3D_USER_ECO1
3561LAYER_3D_USER_ECO2 = _pcbnew.LAYER_3D_USER_ECO2
3563LAYER_3D_TH_MODELS = _pcbnew.LAYER_3D_TH_MODELS
3565LAYER_3D_SMD_MODELS = _pcbnew.LAYER_3D_SMD_MODELS
3567LAYER_3D_VIRTUAL_MODELS = _pcbnew.LAYER_3D_VIRTUAL_MODELS
3569LAYER_3D_MODELS_NOT_IN_POS = _pcbnew.LAYER_3D_MODELS_NOT_IN_POS
3571LAYER_3D_MODELS_MARKED_DNP = _pcbnew.LAYER_3D_MODELS_MARKED_DNP
3573LAYER_3D_AXES = _pcbnew.LAYER_3D_AXES
3575LAYER_3D_BOUNDING_BOXES = _pcbnew.LAYER_3D_BOUNDING_BOXES
3577LAYER_3D_OFF_BOARD_SILK = _pcbnew.LAYER_3D_OFF_BOARD_SILK
3579LAYER_3D_END = _pcbnew.LAYER_3D_END
3583 r"""LayerName(int aLayer) -> wxString"""
3584 return _pcbnew.LayerName(aLayer)
3586 r"""Proxy of C++ LSEQ class."""
3588 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3589 __repr__ = _swig_repr
3594 __init__(LSEQ self, std::initializer_list< PCB_LAYER_ID > aLayers) -> LSEQ
3596 _pcbnew.LSEQ_swiginit(self, _pcbnew.new_LSEQ(*args))
3599 r"""Rewind(LSEQ self)"""
3600 return _pcbnew.LSEQ_Rewind(self)
3603 return _pcbnew.LSEQ___nonzero__(self)
3604 __bool__ = __nonzero__
3609 r"""__ref__(LSEQ self) -> PCB_LAYER_ID"""
3610 return _pcbnew.LSEQ___ref__(self)
3613 r"""TestLayers(LSEQ self, PCB_LAYER_ID aRhs, PCB_LAYER_ID aLhs) -> int"""
3614 return _pcbnew.LSEQ_TestLayers(self, aRhs, aLhs)
3615 __swig_destroy__ = _pcbnew.delete_LSEQ
3618_pcbnew.LSEQ_swigregister(LSEQ)
3621 r"""Proxy of C++ LSET class."""
3623 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3624 __repr__ = _swig_repr
3629 __init__(LSET self, BASE_SET const & aOther) -> LSET
3630 __init__(LSET self, PCB_LAYER_ID aLayer) -> LSET
3631 __init__(LSET self, PCB_LAYER_ID const * aArray, unsigned int aCount) -> LSET
3632 __init__(LSET self, unsigned int aIdCount, int aFirst) -> LSET
3633 __init__(LSET self, LSEQ aSeq) -> LSET
3635 _pcbnew.LSET_swiginit(self, _pcbnew.new_LSET(*args))
3638 r"""Contains(LSET self, PCB_LAYER_ID aLayer) -> bool"""
3639 return _pcbnew.LSET_Contains(self, aLayer)
3643 r"""Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
3644 return _pcbnew.LSET_Name(aLayerId)
3648 r"""InternalCuMask() -> LSET"""
3649 return _pcbnew.LSET_InternalCuMask()
3653 r"""FrontAssembly() -> LSET"""
3654 return _pcbnew.LSET_FrontAssembly()
3658 r"""BackAssembly() -> LSET"""
3659 return _pcbnew.LSET_BackAssembly()
3663 r"""AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
3664 return _pcbnew.LSET_AllCuMask(*args)
3668 r"""ExternalCuMask() -> LSET"""
3669 return _pcbnew.LSET_ExternalCuMask()
3673 r"""AllNonCuMask() -> LSET"""
3674 return _pcbnew.LSET_AllNonCuMask()
3678 r"""AllLayersMask() -> LSET"""
3679 return _pcbnew.LSET_AllLayersMask()
3683 r"""FrontTechMask() -> LSET"""
3684 return _pcbnew.LSET_FrontTechMask()
3688 r"""FrontBoardTechMask() -> LSET"""
3689 return _pcbnew.LSET_FrontBoardTechMask()
3693 r"""BackTechMask() -> LSET"""
3694 return _pcbnew.LSET_BackTechMask()
3698 r"""BackBoardTechMask() -> LSET"""
3699 return _pcbnew.LSET_BackBoardTechMask()
3703 r"""AllTechMask() -> LSET"""
3704 return _pcbnew.LSET_AllTechMask()
3708 r"""AllBoardTechMask() -> LSET"""
3709 return _pcbnew.LSET_AllBoardTechMask()
3713 r"""FrontMask() -> LSET"""
3714 return _pcbnew.LSET_FrontMask()
3718 r"""BackMask() -> LSET"""
3719 return _pcbnew.LSET_BackMask()
3723 r"""SideSpecificMask() -> LSET"""
3724 return _pcbnew.LSET_SideSpecificMask()
3728 r"""UserMask() -> LSET"""
3729 return _pcbnew.LSET_UserMask()
3733 r"""PhysicalLayersMask() -> LSET"""
3734 return _pcbnew.LSET_PhysicalLayersMask()
3738 r"""UserDefinedLayers() -> LSET"""
3739 return _pcbnew.LSET_UserDefinedLayers()
3743 r"""ForbiddenFootprintLayers() -> LSET"""
3744 return _pcbnew.LSET_ForbiddenFootprintLayers()
3747 r"""CuStack(LSET self) -> LSEQ"""
3748 return _pcbnew.LSET_CuStack(self)
3751 r"""Technicals(LSET self, LSET aSubToOmit=LSET()) -> LSEQ"""
3752 return _pcbnew.LSET_Technicals(self, *args)
3755 r"""Users(LSET self) -> LSEQ"""
3756 return _pcbnew.LSET_Users(self)
3759 r"""TechAndUserUIOrder(LSET self) -> LSEQ"""
3760 return _pcbnew.LSET_TechAndUserUIOrder(self)
3763 r"""UIOrder(LSET self) -> LSEQ"""
3764 return _pcbnew.LSET_UIOrder(self)
3768 Seq(LSET self, PCB_LAYER_ID const * aWishListSequence, unsigned int aCount) -> LSEQ
3769 Seq(LSET self, LSEQ aSequence) -> LSEQ
3770 Seq(LSET self) -> LSEQ
3772 return _pcbnew.LSET_Seq(self, *args)
3775 r"""SeqStackupTop2Bottom(LSET self, PCB_LAYER_ID aSelectedLayer=UNDEFINED_LAYER) -> LSEQ"""
3776 return _pcbnew.LSET_SeqStackupTop2Bottom(self, aSelectedLayer)
3779 r"""SeqStackupForPlotting(LSET self) -> LSEQ"""
3780 return _pcbnew.LSET_SeqStackupForPlotting(self)
3783 r"""FmtHex(LSET self) -> string"""
3784 return _pcbnew.LSET_FmtHex(self)
3787 r"""ParseHex(LSET self, char const * aStart, int aCount) -> int"""
3788 return _pcbnew.LSET_ParseHex(self, aStart, aCount)
3791 r"""FmtBin(LSET self) -> string"""
3792 return _pcbnew.LSET_FmtBin(self)
3795 r"""ExtractLayer(LSET self) -> PCB_LAYER_ID"""
3796 return _pcbnew.LSET_ExtractLayer(self)
3799 r"""addLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
3800 return _pcbnew.LSET_addLayer(self, aLayer)
3803 r"""removeLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
3804 return _pcbnew.LSET_removeLayer(self, aLayer)
3807 r"""addLayerSet(LSET self, LSET aLayerSet) -> LSET"""
3808 return _pcbnew.LSET_addLayerSet(self, aLayerSet)
3811 r"""removeLayerSet(LSET self, LSET aLayerSet) -> LSET"""
3812 return _pcbnew.LSET_removeLayerSet(self, aLayerSet)
3826 __swig_destroy__ = _pcbnew.delete_LSET
3829_pcbnew.LSET_swigregister(LSET)
3832 r"""LSET_Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
3833 return _pcbnew.LSET_Name(aLayerId)
3836 r"""LSET_InternalCuMask() -> LSET"""
3837 return _pcbnew.LSET_InternalCuMask()
3840 r"""LSET_FrontAssembly() -> LSET"""
3841 return _pcbnew.LSET_FrontAssembly()
3844 r"""LSET_BackAssembly() -> LSET"""
3845 return _pcbnew.LSET_BackAssembly()
3848 r"""LSET_AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
3849 return _pcbnew.LSET_AllCuMask(*args)
3852 r"""LSET_ExternalCuMask() -> LSET"""
3853 return _pcbnew.LSET_ExternalCuMask()
3856 r"""LSET_AllNonCuMask() -> LSET"""
3857 return _pcbnew.LSET_AllNonCuMask()
3860 r"""LSET_AllLayersMask() -> LSET"""
3861 return _pcbnew.LSET_AllLayersMask()
3864 r"""LSET_FrontTechMask() -> LSET"""
3865 return _pcbnew.LSET_FrontTechMask()
3868 r"""LSET_FrontBoardTechMask() -> LSET"""
3869 return _pcbnew.LSET_FrontBoardTechMask()
3872 r"""LSET_BackTechMask() -> LSET"""
3873 return _pcbnew.LSET_BackTechMask()
3876 r"""LSET_BackBoardTechMask() -> LSET"""
3877 return _pcbnew.LSET_BackBoardTechMask()
3880 r"""LSET_AllTechMask() -> LSET"""
3881 return _pcbnew.LSET_AllTechMask()
3884 r"""LSET_AllBoardTechMask() -> LSET"""
3885 return _pcbnew.LSET_AllBoardTechMask()
3888 r"""LSET_FrontMask() -> LSET"""
3889 return _pcbnew.LSET_FrontMask()
3892 r"""LSET_BackMask() -> LSET"""
3893 return _pcbnew.LSET_BackMask()
3896 r"""LSET_SideSpecificMask() -> LSET"""
3897 return _pcbnew.LSET_SideSpecificMask()
3900 r"""LSET_UserMask() -> LSET"""
3901 return _pcbnew.LSET_UserMask()
3904 r"""LSET_PhysicalLayersMask() -> LSET"""
3905 return _pcbnew.LSET_PhysicalLayersMask()
3908 r"""LSET_UserDefinedLayers() -> LSET"""
3909 return _pcbnew.LSET_UserDefinedLayers()
3912 r"""LSET_ForbiddenFootprintLayers() -> LSET"""
3913 return _pcbnew.LSET_ForbiddenFootprintLayers()
3917 r"""IsValidLayer(int aLayerId) -> bool"""
3918 return _pcbnew.IsValidLayer(aLayerId)
3921 r"""IsPcbLayer(int aLayer) -> bool"""
3922 return _pcbnew.IsPcbLayer(aLayer)
3925 r"""IsNonCopperLayer(int aLayerId) -> bool"""
3926 return _pcbnew.IsNonCopperLayer(aLayerId)
3931 IsCopperLayer(int aLayerId, bool aIncludeSyntheticCopperLayers) -> bool
3933 return _pcbnew.IsCopperLayer(*args)
3936 r"""IsViaPadLayer(int aLayer) -> bool"""
3937 return _pcbnew.IsViaPadLayer(aLayer)
3940 r"""IsHoleLayer(int aLayer) -> bool"""
3941 return _pcbnew.IsHoleLayer(aLayer)
3944 r"""IsUserLayer(PCB_LAYER_ID aLayerId) -> bool"""
3945 return _pcbnew.IsUserLayer(aLayerId)
3948 r"""IsFrontLayer(PCB_LAYER_ID aLayerId) -> bool"""
3949 return _pcbnew.IsFrontLayer(aLayerId)
3952 r"""IsBackLayer(PCB_LAYER_ID aLayerId) -> bool"""
3953 return _pcbnew.IsBackLayer(aLayerId)
3956 r"""FlipLayer(PCB_LAYER_ID aLayerId, int aCopperLayersCount=0) -> PCB_LAYER_ID"""
3957 return _pcbnew.FlipLayer(aLayerId, aCopperLayersCount)
3960 r"""FlipLayerMask(LSET aMask, int aCopperLayersCount=0) -> LSET"""
3961 return _pcbnew.FlipLayerMask(aMask, aCopperLayersCount)
3964 r"""GetNetnameLayer(int aLayer) -> int"""
3965 return _pcbnew.GetNetnameLayer(aLayer)
3968 r"""IsNetnameLayer(int aLayer) -> bool"""
3969 return _pcbnew.IsNetnameLayer(aLayer)
3972 r"""IsZoneFillLayer(int aLayer) -> bool"""
3973 return _pcbnew.IsZoneFillLayer(aLayer)
3976 r"""IsDCodeLayer(int aLayer) -> bool"""
3977 return _pcbnew.IsDCodeLayer(aLayer)
3980 r"""IsNetCopperLayer(int aLayer) -> bool"""
3981 return _pcbnew.IsNetCopperLayer(aLayer)
3984 r"""ToLAYER_ID(int aLayer) -> PCB_LAYER_ID"""
3985 return _pcbnew.ToLAYER_ID(aLayer)
3987 r"""Proxy of C++ SETTINGS_MANAGER class."""
3989 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3990 __repr__ = _swig_repr
3993 r"""__init__(SETTINGS_MANAGER self, bool aHeadless=False) -> SETTINGS_MANAGER"""
3994 _pcbnew.SETTINGS_MANAGER_swiginit(self, _pcbnew.new_SETTINGS_MANAGER(aHeadless))
3995 __swig_destroy__ = _pcbnew.delete_SETTINGS_MANAGER
3998 r"""IsOK(SETTINGS_MANAGER self) -> bool"""
3999 return _pcbnew.SETTINGS_MANAGER_IsOK(self)
4002 r"""SetKiway(SETTINGS_MANAGER self, KIWAY * aKiway)"""
4003 return _pcbnew.SETTINGS_MANAGER_SetKiway(self, aKiway)
4007 Load(SETTINGS_MANAGER self)
4008 Load(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
4010 return _pcbnew.SETTINGS_MANAGER_Load(self, *args)
4014 Save(SETTINGS_MANAGER self)
4015 Save(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
4017 return _pcbnew.SETTINGS_MANAGER_Save(self, *args)
4020 r"""FlushAndRelease(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings, bool aSave=True)"""
4021 return _pcbnew.SETTINGS_MANAGER_FlushAndRelease(self, aSettings, aSave)
4024 r"""GetColorSettings(SETTINGS_MANAGER self, wxString aName="user") -> COLOR_SETTINGS"""
4025 return _pcbnew.SETTINGS_MANAGER_GetColorSettings(self, *args)
4028 r"""GetColorSettingsList(SETTINGS_MANAGER self) -> std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >"""
4029 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsList(self)
4032 r"""SaveColorSettings(SETTINGS_MANAGER self, COLOR_SETTINGS * aSettings, string aNamespace="")"""
4033 return _pcbnew.SETTINGS_MANAGER_SaveColorSettings(self, *args)
4036 r"""AddNewColorSettings(SETTINGS_MANAGER self, wxString aFilename) -> COLOR_SETTINGS *"""
4037 return _pcbnew.SETTINGS_MANAGER_AddNewColorSettings(self, aFilename)
4040 r"""GetMigratedColorSettings(SETTINGS_MANAGER self) -> COLOR_SETTINGS *"""
4041 return _pcbnew.SETTINGS_MANAGER_GetMigratedColorSettings(self)
4044 r"""GetCommonSettings(SETTINGS_MANAGER self) -> COMMON_SETTINGS *"""
4045 return _pcbnew.SETTINGS_MANAGER_GetCommonSettings(self)
4048 r"""GetPathForSettingsFile(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings) -> wxString"""
4049 return _pcbnew.SETTINGS_MANAGER_GetPathForSettingsFile(self, aSettings)
4052 r"""MigrateIfNeeded(SETTINGS_MANAGER self) -> bool"""
4053 return _pcbnew.SETTINGS_MANAGER_MigrateIfNeeded(self)
4056 r"""SetMigrationSource(SETTINGS_MANAGER self, wxString aSource)"""
4057 return _pcbnew.SETTINGS_MANAGER_SetMigrationSource(self, aSource)
4060 r"""SetMigrateLibraryTables(SETTINGS_MANAGER self, bool aMigrate=True)"""
4061 return _pcbnew.SETTINGS_MANAGER_SetMigrateLibraryTables(self, aMigrate)
4064 r"""GetPreviousVersionPaths(SETTINGS_MANAGER self, std::vector< wxString,std::allocator< wxString > > * aName=None) -> bool"""
4065 return _pcbnew.SETTINGS_MANAGER_GetPreviousVersionPaths(self, aName)
4068 r"""ReloadColorSettings(SETTINGS_MANAGER self)"""
4069 return _pcbnew.SETTINGS_MANAGER_ReloadColorSettings(self)
4072 r"""LoadProject(SETTINGS_MANAGER self, wxString aFullPath, bool aSetActive=True) -> bool"""
4073 return _pcbnew.SETTINGS_MANAGER_LoadProject(self, aFullPath, aSetActive)
4076 r"""UnloadProject(SETTINGS_MANAGER self, PROJECT * aProject, bool aSave=True) -> bool"""
4077 return _pcbnew.SETTINGS_MANAGER_UnloadProject(self, aProject, aSave)
4080 r"""IsProjectOpen(SETTINGS_MANAGER self) -> bool"""
4081 return _pcbnew.SETTINGS_MANAGER_IsProjectOpen(self)
4084 r"""Prj(SETTINGS_MANAGER self) -> PROJECT &"""
4085 return _pcbnew.SETTINGS_MANAGER_Prj(self)
4088 r"""GetProject(SETTINGS_MANAGER self, wxString aFullPath) -> PROJECT *"""
4089 return _pcbnew.SETTINGS_MANAGER_GetProject(self, aFullPath)
4092 r"""GetOpenProjects(SETTINGS_MANAGER self) -> std::vector< wxString,std::allocator< wxString > >"""
4093 return _pcbnew.SETTINGS_MANAGER_GetOpenProjects(self)
4096 r"""SaveProject(SETTINGS_MANAGER self, wxString aFullPath=wxEmptyString, PROJECT * aProject=None) -> bool"""
4097 return _pcbnew.SETTINGS_MANAGER_SaveProject(self, *args)
4100 r"""SaveProjectAs(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
4101 return _pcbnew.SETTINGS_MANAGER_SaveProjectAs(self, aFullPath, aProject)
4104 r"""SaveProjectCopy(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
4105 return _pcbnew.SETTINGS_MANAGER_SaveProjectCopy(self, aFullPath, aProject)
4108 r"""GetProjectBackupsPath(SETTINGS_MANAGER self) -> wxString"""
4109 return _pcbnew.SETTINGS_MANAGER_GetProjectBackupsPath(self)
4112 r"""BackupProject(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
4113 return _pcbnew.SETTINGS_MANAGER_BackupProject(self, aReporter)
4116 r"""TriggerBackupIfNeeded(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
4117 return _pcbnew.SETTINGS_MANAGER_TriggerBackupIfNeeded(self, aReporter)
4121 r"""IsSettingsPathValid(wxString aPath) -> bool"""
4122 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
4126 r"""GetColorSettingsPath() -> wxString"""
4127 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
4131 r"""GetSettingsVersion() -> string"""
4132 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
4136 r"""GetUserSettingsPath() -> wxString"""
4137 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
4140_pcbnew.SETTINGS_MANAGER_swigregister(SETTINGS_MANAGER)
4143 r"""SETTINGS_MANAGER_IsSettingsPathValid(wxString aPath) -> bool"""
4144 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
4147 r"""SETTINGS_MANAGER_GetColorSettingsPath() -> wxString"""
4148 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
4151 r"""SETTINGS_MANAGER_GetSettingsVersion() -> string"""
4152 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
4155 r"""SETTINGS_MANAGER_GetUserSettingsPath() -> wxString"""
4156 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
4159 r"""Proxy of C++ UTILS_BOX3D class."""
4161 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4162 __repr__ = _swig_repr
4165 r"""Min(UTILS_BOX3D self) -> VECTOR3D"""
4166 return _pcbnew.UTILS_BOX3D_Min(self)
4169 r"""Max(UTILS_BOX3D self) -> VECTOR3D"""
4170 return _pcbnew.UTILS_BOX3D_Max(self)
4173 r"""GetCenter(UTILS_BOX3D self) -> VECTOR3D"""
4174 return _pcbnew.UTILS_BOX3D_GetCenter(self)
4177 r"""GetSize(UTILS_BOX3D self) -> VECTOR3D"""
4178 return _pcbnew.UTILS_BOX3D_GetSize(self)
4181 r"""__init__(UTILS_BOX3D self) -> UTILS_BOX3D"""
4182 _pcbnew.UTILS_BOX3D_swiginit(self, _pcbnew.new_UTILS_BOX3D())
4183 __swig_destroy__ = _pcbnew.delete_UTILS_BOX3D
4186_pcbnew.UTILS_BOX3D_swigregister(UTILS_BOX3D)
4189 r"""Proxy of C++ UTILS_STEP_MODEL class."""
4191 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4192 __repr__ = _swig_repr
4195 r"""GetBoundingBox(UTILS_STEP_MODEL self) -> UTILS_BOX3D"""
4196 return _pcbnew.UTILS_STEP_MODEL_GetBoundingBox(self)
4199 r"""Translate(UTILS_STEP_MODEL self, double aX, double aY, double aZ)"""
4200 return _pcbnew.UTILS_STEP_MODEL_Translate(self, aX, aY, aZ)
4203 r"""Scale(UTILS_STEP_MODEL self, double aScale)"""
4204 return _pcbnew.UTILS_STEP_MODEL_Scale(self, aScale)
4207 r"""SaveSTEP(UTILS_STEP_MODEL self, wxString aFileName) -> bool"""
4208 return _pcbnew.UTILS_STEP_MODEL_SaveSTEP(self, aFileName)
4212 r"""LoadSTEP(wxString aFileName) -> UTILS_STEP_MODEL"""
4213 return _pcbnew.UTILS_STEP_MODEL_LoadSTEP(aFileName)
4216 r"""__init__(UTILS_STEP_MODEL self) -> UTILS_STEP_MODEL"""
4217 _pcbnew.UTILS_STEP_MODEL_swiginit(self, _pcbnew.new_UTILS_STEP_MODEL())
4220_pcbnew.UTILS_STEP_MODEL_swigregister(UTILS_STEP_MODEL)
4223 r"""UTILS_STEP_MODEL_LoadSTEP(wxString aFileName) -> UTILS_STEP_MODEL"""
4224 return _pcbnew.UTILS_STEP_MODEL_LoadSTEP(aFileName)
4227 r"""Proxy of C++ std::vector< int > class."""
4229 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4230 __repr__ = _swig_repr
4233 r"""iterator(intVector self) -> SwigPyIterator"""
4234 return _pcbnew.intVector_iterator(self)
4239 r"""__nonzero__(intVector self) -> bool"""
4240 return _pcbnew.intVector___nonzero__(self)
4243 r"""__bool__(intVector self) -> bool"""
4244 return _pcbnew.intVector___bool__(self)
4247 r"""__len__(intVector self) -> std::vector< int >::size_type"""
4248 return _pcbnew.intVector___len__(self)
4251 r"""__getslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> intVector"""
4252 return _pcbnew.intVector___getslice__(self, i, j)
4256 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
4257 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, intVector v)
4259 return _pcbnew.intVector___setslice__(self, *args)
4262 r"""__delslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"""
4263 return _pcbnew.intVector___delslice__(self, i, j)
4267 __delitem__(intVector self, std::vector< int >::difference_type i)
4268 __delitem__(intVector self, PySliceObject * slice)
4270 return _pcbnew.intVector___delitem__(self, *args)
4274 __getitem__(intVector self, PySliceObject * slice) -> intVector
4275 __getitem__(intVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &
4277 return _pcbnew.intVector___getitem__(self, *args)
4281 __setitem__(intVector self, PySliceObject * slice, intVector v)
4282 __setitem__(intVector self, PySliceObject * slice)
4283 __setitem__(intVector self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)
4285 return _pcbnew.intVector___setitem__(self, *args)
4288 r"""pop(intVector self) -> std::vector< int >::value_type"""
4289 return _pcbnew.intVector_pop(self)
4292 r"""append(intVector self, std::vector< int >::value_type const & x)"""
4293 return _pcbnew.intVector_append(self, x)
4296 r"""empty(intVector self) -> bool"""
4297 return _pcbnew.intVector_empty(self)
4300 r"""size(intVector self) -> std::vector< int >::size_type"""
4301 return _pcbnew.intVector_size(self)
4304 r"""swap(intVector self, intVector v)"""
4305 return _pcbnew.intVector_swap(self, v)
4308 r"""begin(intVector self) -> std::vector< int >::iterator"""
4309 return _pcbnew.intVector_begin(self)
4312 r"""end(intVector self) -> std::vector< int >::iterator"""
4313 return _pcbnew.intVector_end(self)
4316 r"""rbegin(intVector self) -> std::vector< int >::reverse_iterator"""
4317 return _pcbnew.intVector_rbegin(self)
4320 r"""rend(intVector self) -> std::vector< int >::reverse_iterator"""
4321 return _pcbnew.intVector_rend(self)
4324 r"""clear(intVector self)"""
4325 return _pcbnew.intVector_clear(self)
4328 r"""get_allocator(intVector self) -> std::vector< int >::allocator_type"""
4329 return _pcbnew.intVector_get_allocator(self)
4332 r"""pop_back(intVector self)"""
4333 return _pcbnew.intVector_pop_back(self)
4337 erase(intVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator
4338 erase(intVector self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator
4340 return _pcbnew.intVector_erase(self, *args)
4344 __init__(intVector self) -> intVector
4345 __init__(intVector self, intVector other) -> intVector
4346 __init__(intVector self, std::vector< int >::size_type size) -> intVector
4347 __init__(intVector self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> intVector
4349 _pcbnew.intVector_swiginit(self, _pcbnew.new_intVector(*args))
4352 r"""push_back(intVector self, std::vector< int >::value_type const & x)"""
4353 return _pcbnew.intVector_push_back(self, x)
4356 r"""front(intVector self) -> std::vector< int >::value_type const &"""
4357 return _pcbnew.intVector_front(self)
4360 r"""back(intVector self) -> std::vector< int >::value_type const &"""
4361 return _pcbnew.intVector_back(self)
4364 r"""assign(intVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)"""
4365 return _pcbnew.intVector_assign(self, n, x)
4369 resize(intVector self, std::vector< int >::size_type new_size)
4370 resize(intVector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)
4372 return _pcbnew.intVector_resize(self, *args)
4376 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator
4377 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x)
4379 return _pcbnew.intVector_insert(self, *args)
4382 r"""reserve(intVector self, std::vector< int >::size_type n)"""
4383 return _pcbnew.intVector_reserve(self, n)
4386 r"""capacity(intVector self) -> std::vector< int >::size_type"""
4387 return _pcbnew.intVector_capacity(self)
4388 __swig_destroy__ = _pcbnew.delete_intVector
4391_pcbnew.intVector_swigregister(intVector)
4394 r"""Proxy of C++ std::map< std::string,UTF8 > class."""
4396 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4397 __repr__ = _swig_repr
4400 r"""iterator(str_utf8_Map self) -> SwigPyIterator"""
4401 return _pcbnew.str_utf8_Map_iterator(self)
4406 r"""__nonzero__(str_utf8_Map self) -> bool"""
4407 return _pcbnew.str_utf8_Map___nonzero__(self)
4410 r"""__bool__(str_utf8_Map self) -> bool"""
4411 return _pcbnew.str_utf8_Map___bool__(self)
4414 r"""__len__(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4415 return _pcbnew.str_utf8_Map___len__(self)
4426 r"""__getitem__(str_utf8_Map self, string key) -> UTF8"""
4427 return _pcbnew.str_utf8_Map___getitem__(self, key)
4430 r"""__delitem__(str_utf8_Map self, string key)"""
4431 return _pcbnew.str_utf8_Map___delitem__(self, key)
4434 r"""has_key(str_utf8_Map self, string key) -> bool"""
4435 return _pcbnew.str_utf8_Map_has_key(self, key)
4438 r"""keys(str_utf8_Map self) -> PyObject *"""
4439 return _pcbnew.str_utf8_Map_keys(self)
4442 r"""values(str_utf8_Map self) -> PyObject *"""
4443 return _pcbnew.str_utf8_Map_values(self)
4446 r"""items(str_utf8_Map self) -> PyObject *"""
4447 return _pcbnew.str_utf8_Map_items(self)
4450 r"""__contains__(str_utf8_Map self, string key) -> bool"""
4451 return _pcbnew.str_utf8_Map___contains__(self, key)
4454 r"""key_iterator(str_utf8_Map self) -> SwigPyIterator"""
4455 return _pcbnew.str_utf8_Map_key_iterator(self)
4458 r"""value_iterator(str_utf8_Map self) -> SwigPyIterator"""
4459 return _pcbnew.str_utf8_Map_value_iterator(self)
4464 __setitem__(str_utf8_Map self, string key, UTF8 x)
4466 return _pcbnew.str_utf8_Map___setitem__(self, *args)
4469 r"""asdict(str_utf8_Map self) -> PyObject *"""
4470 return _pcbnew.str_utf8_Map_asdict(self)
4474 __init__(str_utf8_Map self, std::less< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > const & other) -> str_utf8_Map
4475 __init__(str_utf8_Map self) -> str_utf8_Map
4476 __init__(str_utf8_Map self, str_utf8_Map other) -> str_utf8_Map
4478 _pcbnew.str_utf8_Map_swiginit(self, _pcbnew.new_str_utf8_Map(*args))
4481 r"""empty(str_utf8_Map self) -> bool"""
4482 return _pcbnew.str_utf8_Map_empty(self)
4485 r"""size(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4486 return _pcbnew.str_utf8_Map_size(self)
4489 r"""swap(str_utf8_Map self, str_utf8_Map v)"""
4490 return _pcbnew.str_utf8_Map_swap(self, v)
4493 r"""begin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4494 return _pcbnew.str_utf8_Map_begin(self)
4497 r"""end(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4498 return _pcbnew.str_utf8_Map_end(self)
4501 r"""rbegin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
4502 return _pcbnew.str_utf8_Map_rbegin(self)
4505 r"""rend(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
4506 return _pcbnew.str_utf8_Map_rend(self)
4509 r"""clear(str_utf8_Map self)"""
4510 return _pcbnew.str_utf8_Map_clear(self)
4513 r"""get_allocator(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::allocator_type"""
4514 return _pcbnew.str_utf8_Map_get_allocator(self)
4517 r"""count(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4518 return _pcbnew.str_utf8_Map_count(self, x)
4522 erase(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type
4523 erase(str_utf8_Map self, std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator position)
4524 erase(str_utf8_Map self, std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator first, std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator last)
4526 return _pcbnew.str_utf8_Map_erase(self, *args)
4529 r"""find(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4530 return _pcbnew.str_utf8_Map_find(self, x)
4533 r"""lower_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4534 return _pcbnew.str_utf8_Map_lower_bound(self, x)
4537 r"""upper_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4538 return _pcbnew.str_utf8_Map_upper_bound(self, x)
4539 __swig_destroy__ = _pcbnew.delete_str_utf8_Map
4542_pcbnew.str_utf8_Map_swigregister(str_utf8_Map)
4548""" the list of not loaded python scripts
4549 (usually because there is a syntax error
in python script)
4550 this
is the python script full filenames list.
4551 filenames are separated by
'\n'
4553NOT_LOADED_WIZARDS=""
4555""" the list of paths used to search python scripts.
4556 Stored here to be displayed on request
in Pcbnew
4557 paths are separated by
'\n'
4559PLUGIN_DIRECTORIES_SEARCH=""
4562 the trace of errors during execution of footprint wizards scripts
4563 Warning: strings (internally unicode) are returned
as UTF-8 compatible C strings
4568def GetUnLoadableWizards():
4569 global NOT_LOADED_WIZARDS
4572 if sys.version_info[0] < 3:
4573 utf8_str = NOT_LOADED_WIZARDS.encode(
'UTF-8' )
4575 utf8_str = NOT_LOADED_WIZARDS
4580 global PLUGIN_DIRECTORIES_SEARCH
4583 if sys.version_info[0] < 3:
4584 utf8_str = PLUGIN_DIRECTORIES_SEARCH.encode(
'UTF-8' )
4586 utf8_str = PLUGIN_DIRECTORIES_SEARCH
4591 global FULL_BACK_TRACE
4592 return FULL_BACK_TRACE
4597 Load the plugin module named ModuleName located in the folder Dirname.
4598 The module can be either inside a file called FileName
or a subdirectory
4599 called FileName that contains a __init__.py file.
4600 If this module cannot be loaded, its name
is stored
in failed_wizards_list
4601 and the error trace
is stored
in FULL_BACK_TRACE
4607 global NOT_LOADED_WIZARDS
4608 global FULL_BACK_TRACE
4609 global KICAD_PLUGINS
4613 module_filename = os.path.join( Dirname, FileName )
4614 mtime = os.path.getmtime( module_filename )
4615 mods_before = set( sys.modules )
4617 if ModuleName
in KICAD_PLUGINS:
4618 plugin = KICAD_PLUGINS[ModuleName]
4620 for dependency
in plugin[
"dependencies"]:
4621 if dependency
in sys.modules:
4622 del sys.modules[dependency]
4624 mods_before = set( sys.modules )
4626 if sys.version_info >= (3,0,0):
4628 mod = importlib.import_module( ModuleName )
4630 mod = __import__( ModuleName, locals(), globals() )
4632 mods_after = set( sys.modules ).difference( mods_before )
4633 dependencies = [m
for m
in mods_after
if m.startswith(ModuleName)]
4635 KICAD_PLUGINS[ModuleName]={
"filename":module_filename,
4636 "modification_time":mtime,
4638 "dependencies": dependencies }
4641 if ModuleName
in KICAD_PLUGINS:
4642 del KICAD_PLUGINS[ModuleName]
4644 if NOT_LOADED_WIZARDS !=
"" :
4645 NOT_LOADED_WIZARDS +=
"\n"
4646 NOT_LOADED_WIZARDS += module_filename
4647 FULL_BACK_TRACE += traceback.format_exc()
4652 Initialise Scripting/Plugin python environment and load plugins.
4655 Note: bundlepath
and userpath are given utf8 encoded, to be compatible
with asimple C string
4656 bundlepath -- The path to the bundled scripts.
4657 The bundled Plugins are relative to this path,
in the
4658 "plugins" subdirectory.
4659 WARNING: bundlepath must use
'/' as path separator,
and not '\'
4660 because it creates issues:
4661 \n and \r are seen
as a escaped seq when passing this string to this method
4662 I am thinking this
is due to the fact LoadPlugins
is called
from C++ code by
4663 PyRun_SimpleString()
4665 NOTE: These are all of the possible
"default" search paths
for kicad
4666 python scripts. These paths will ONLY be added to the python
4667 search path ONLY IF they already exist.
4669 The Scripts bundled
with the KiCad installation:
4671 <bundlepath>/plugins/
4673 The Scripts relative to the KiCad Users configuration:
4677 The plugins
from 3rd party packages:
4678 $KICAD_3RD_PARTY/plugins/
4685 if sys.version_info >= (3,3,0):
4687 importlib.invalidate_caches()
4690 bundlepath and userpath are strings utf-8 encoded (compatible
"C" strings).
4691 So convert these utf8 encoding to unicode strings to avoid any encoding issue.
4694 bundlepath = bundlepath.decode(
'UTF-8' )
4695 userpath = userpath.decode(
'UTF-8' )
4696 thirdpartypath = thirdpartypath.decode(
'UTF-8' )
4697 except AttributeError:
4701 plugin_directories=[]
4704 To be consistent with others paths, on windows, convert the unix
'/' separator
4705 to the windows separator, although using
'/' works
4707 if sys.platform.startswith(
'win32'):
4709 bundlepath = bundlepath.replace(
"/",
"\\")
4711 thirdpartypath = thirdpartypath.replace(
"/",
"\\")
4714 plugin_directories.append(bundlepath)
4715 plugin_directories.append(os.path.join(bundlepath,
'plugins'))
4718 plugin_directories.append(os.path.join(config_path,
'scripting'))
4719 plugin_directories.append(os.path.join(config_path,
'scripting',
'plugins'))
4722 plugin_directories.append(userpath)
4723 plugin_directories.append(os.path.join(userpath,
'plugins'))
4726 plugin_directories.append(thirdpartypath)
4728 global PLUGIN_DIRECTORIES_SEARCH
4729 PLUGIN_DIRECTORIES_SEARCH=
""
4730 for plugins_dir
in plugin_directories:
4731 if PLUGIN_DIRECTORIES_SEARCH !=
"" :
4732 PLUGIN_DIRECTORIES_SEARCH +=
"\n"
4733 PLUGIN_DIRECTORIES_SEARCH += plugins_dir
4735 global FULL_BACK_TRACE
4738 global NOT_LOADED_WIZARDS
4739 NOT_LOADED_WIZARDS =
""
4741 global KICAD_PLUGINS
4743 for plugins_dir
in plugin_directories:
4744 if not os.path.isdir( plugins_dir ):
4747 if plugins_dir
not in sys.path:
4748 sys.path.append( plugins_dir )
4750 for module
in os.listdir(plugins_dir):
4751 fullPath = os.path.join( plugins_dir, module )
4753 if os.path.isdir( fullPath ):
4754 if os.path.exists( os.path.join( fullPath,
'__init__.py' ) ):
4757 if NOT_LOADED_WIZARDS !=
"" :
4758 NOT_LOADED_WIZARDS +=
"\n"
4759 NOT_LOADED_WIZARDS +=
'Skip subdir ' + fullPath
4762 if module ==
'__init__.py' or module[-3:] !=
'.py':
4776 if isinstance(self,FilePlugin):
4779 if isinstance(self,FootprintWizardPlugin):
4780 PYTHON_FOOTPRINT_WIZARD_LIST.register_wizard(self)
4783 if isinstance(self,ActionPlugin):
4785 Get path to .py or .pyc that has definition of plugin
class.
4786 If path
is binary but source also exists, assume definition
is in source.
4788 self.__plugin_path = inspect.getfile(self.__class__)
4789 if self.__plugin_path.endswith(
'.pyc')
and os.path.isfile(self.__plugin_path[:-1]):
4790 self.__plugin_path = self.__plugin_path[:-1]
4791 self.__plugin_path = self.__plugin_path +
'/' + self.__class__.__name__
4792 PYTHON_ACTION_PLUGINS.register_action(self)
4798 if isinstance(self,FilePlugin):
4801 if isinstance(self,FootprintWizardPlugin):
4802 PYTHON_FOOTPRINT_WIZARD_LIST.deregister_wizard(self)
4805 if isinstance(self,ActionPlugin):
4806 PYTHON_ACTION_PLUGINS.deregister_action(self)
4817 KiCadPlugin.__init__(self)
4820from math
import ceil, floor, sqrt
4832uNumeric = [uMM, uMils, uFloat, uInteger, uDegrees, uRadians, uPercent]
4833uUnits = [uMM, uMils, uFloat, uInteger, uBool, uDegrees, uRadians, uPercent, uString]
4836 _true = [
'true',
't',
'y',
'yes',
'on',
'1',1,]
4837 _false = [
'false',
'f',
'n',
'no',
'off',
'0',0,
'',
None]
4839 _bools = _true + _false
4841 def __init__(self, page, name, units, default, **kwarg):
4847 if units.lower()
in uUnits:
4849 elif units.lower() ==
'percent':
4850 self.
units = uPercent
4851 elif type(units)
in [list, tuple]:
4852 self.
units =
",".join([str(el).strip()
for el
in units])
4870 if info
is not None:
4871 err = err +
" (" + str(info) +
")"
4875 def Check(self, min_value=None, max_value=None, multiple=None, info=None):
4877 if min_value
is None:
4879 if max_value
is None:
4881 if multiple
is None:
4884 if self.
units not in uUnits
and ',' not in self.
units:
4885 self.
AddError(
"type '{t}' unknown".format(t=self.
units),info)
4888 if self.
units in uNumeric:
4892 if min_value
is not None:
4893 if to_num < min_value:
4894 self.
AddError(
"value '{v}' is below minimum ({m})".format(v=self.
raw_value,m=min_value),info)
4896 if max_value
is not None:
4897 if to_num > max_value:
4898 self.
AddError(
"value '{v}' is above maximum ({m})".format(v=self.
raw_value,m=max_value),info)
4903 if self.
units == uInteger:
4907 if multiple
is not None and multiple > 1:
4908 if (to_int % multiple) > 0:
4909 self.
AddError(
"value '{v}' is not a multiple of {m}".format(v=self.
raw_value,m=multiple),info)
4913 if self.
units == uBool:
4917 self.
AddError(
"value '{v}' is not a boolean value".format(v = self.
raw_value),info)
4923 if self.
units == uInteger:
4925 elif self.
units in uNumeric:
4926 v = v.replace(
",",
".")
4929 if self.
units == uMM:
4932 elif self.
units == uMils:
4938 elif self.
units == uBool:
4939 if v.lower()
in self.
_true:
4950 new_value = str(new_value)
4952 if len(new_value.strip()) == 0:
4953 if not self.
units in [uString, uBool]:
4956 if self.
units == uBool:
4957 new_value =
"1" if new_value.lower()
in self.
_true else "0"
4958 elif self.
units in uNumeric:
4959 new_value = new_value.replace(
",",
".")
4960 elif ',' in self.
units:
4961 if new_value
not in self.
units.split(
','):
4962 new_value = self.
units.split(
',')[0]
4970 if self.
units in [uMM, uMils, uPercent, uRadians, uDegrees]:
4972 elif self.
units == uBool:
4973 s = self.
name +
": {b}".format(b =
"True" if self.
value else "False")
4974 elif self.
units == uString:
4982 KiCadPlugin.__init__(self)
4994 def AddParam(self, page, name, unit, default, **kwarg):
4996 if self.
GetParam(page,name)
is not None:
5000 self.
params.append(param)
5006 if p.page
not in pages:
5009 pages[p.page][p.name] = p.value
5031 raise NotImplementedError
5038 if p.page == page
and p.name == name:
5044 self.
GetParam(page,name).Check(**kwarg)
5047 return any([len(p.error_list) > 0
for p
in self.
params])
5053 if p.page
not in page_list:
5054 page_list.append(p.page)
5059 return len(self.
pages)
5062 return self.
pages[page_n]
5068 if p.page == page_name:
5078 return [p.designator
for p
in params]
5082 return [p.name
for p
in params]
5086 return [str(p.raw_value)
for p
in params]
5090 return [str(
"\n".join(p.error_list))
for p
in params]
5094 return [str(p.units)
for p
in params]
5098 return [str(p.hint)
for p
in params]
5102 return [str(p.designator)
for p
in params]
5108 for i, param
in enumerate(params):
5109 if i >= len(list_of_values):
5111 param.SetValue(list_of_values[i])
5121 return self.buildmessages
5124 text =
"Footprint Wizard Name: {name}\n".format(name=self.
GetName())
5125 text +=
"Footprint Wizard Description: {desc}\n".format(desc=self.
GetDescription())
5129 text +=
"Pages: {n}\n".format(n=n_pages)
5131 for i
in range(n_pages):
5136 text +=
"{name}\n".format(name=name)
5138 for j
in range(len(params)):
5139 text += (
"\t{param}{err}\n".format(
5140 param = str(params[j]),
5141 err =
' *' if len(params[j].error_list) > 0
else ''
5145 text +=
" * Errors exist for these parameters"
5151 KiCadPlugin.__init__( self )
5158 self.
name =
"Undefined Action plugin"
5186 r"""KiROUND(VECTOR2D const & vec) -> VECTOR2I"""
5187 return _pcbnew.KiROUND(vec)
5191 BOX2ISafe(BOX2D const & aInput) -> BOX2I
5192 BOX2ISafe(VECTOR2D const & aPos, VECTOR2D const & aSize) -> BOX2I
5194 return _pcbnew.BOX2ISafe(*args)
5196 r"""Proxy of C++ VECTOR2< int > class."""
5198 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5199 __repr__ = _swig_repr
5200 x = property(_pcbnew.VECTOR2I_x_get, _pcbnew.VECTOR2I_x_set, doc=
r"""x : int""")
5201 y = property(_pcbnew.VECTOR2I_y_get, _pcbnew.VECTOR2I_y_set, doc=
r"""y : int""")
5205 __init__(VECTOR2I self) -> VECTOR2I
5206 __init__(VECTOR2I self, int x, int y) -> VECTOR2I
5207 __init__(VECTOR2I self, VECTOR2I aVec) -> VECTOR2I
5209 _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args))
5212 r"""EuclideanNorm(VECTOR2I self) -> int"""
5213 return _pcbnew.VECTOR2I_EuclideanNorm(self)
5216 r"""SquaredEuclideanNorm(VECTOR2I self) -> VECTOR2< int >::extended_type"""
5217 return _pcbnew.VECTOR2I_SquaredEuclideanNorm(self)
5220 r"""Perpendicular(VECTOR2I self) -> VECTOR2I"""
5221 return _pcbnew.VECTOR2I_Perpendicular(self)
5224 r"""Resize(VECTOR2I self, int aNewLength) -> VECTOR2I"""
5225 return _pcbnew.VECTOR2I_Resize(self, aNewLength)
5228 r"""Format(VECTOR2I self) -> string"""
5229 return _pcbnew.VECTOR2I_Format(self)
5232 r"""Cross(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
5233 return _pcbnew.VECTOR2I_Cross(self, aVector)
5236 r"""Dot(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
5237 return _pcbnew.VECTOR2I_Dot(self, aVector)
5241 __add__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5242 __add__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5244 return _pcbnew.VECTOR2I___add__(self, *args)
5248 __imul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5249 __imul__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5251 return _pcbnew.VECTOR2I___imul__(self, *args)
5255 __iadd__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5256 __iadd__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5258 return _pcbnew.VECTOR2I___iadd__(self, *args)
5262 __sub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5263 __sub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5265 return _pcbnew.VECTOR2I___sub__(self, *args)
5269 __isub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5270 __isub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5272 return _pcbnew.VECTOR2I___isub__(self, *args)
5275 r"""__neg__(VECTOR2I self) -> VECTOR2I"""
5276 return _pcbnew.VECTOR2I___neg__(self)
5280 __mul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type
5281 __mul__(VECTOR2I self, int const & aFactor) -> VECTOR2I
5283 return _pcbnew.VECTOR2I___mul__(self, *args)
5286 return _pcbnew.VECTOR2I___truediv__(self, *args)
5287 __div__ = __truediv__
5292 r"""__eq__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5293 return _pcbnew.VECTOR2I___eq__(self, aVector)
5296 r"""__ne__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5297 return _pcbnew.VECTOR2I___ne__(self, aVector)
5300 r"""__lt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5301 return _pcbnew.VECTOR2I___lt__(self, aVector)
5304 r"""__le__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5305 return _pcbnew.VECTOR2I___le__(self, aVector)
5308 r"""__gt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5309 return _pcbnew.VECTOR2I___gt__(self, aVector)
5312 r"""__ge__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5313 return _pcbnew.VECTOR2I___ge__(self, aVector)
5316 r"""Set(VECTOR2I self, long x, long y)"""
5317 return _pcbnew.VECTOR2I_Set(self, x, y)
5320 r"""Get(VECTOR2I self) -> PyObject *"""
5321 return _pcbnew.VECTOR2I_Get(self)
5323 def __eq__(self,other):
return (self.
x==other.x
and self.
y==other.y)
5324 def __ne__(self,other):
return not (self==other)
5326 def __repr__(self):
return 'VECTOR2I'+str(self.
Get())
5339 __swig_destroy__ = _pcbnew.delete_VECTOR2I
5342_pcbnew.VECTOR2I_swigregister(VECTOR2I)
5345 r"""Proxy of C++ VECTOR2_TRAITS< int > class."""
5347 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5348 __repr__ = _swig_repr
5351 r"""__init__(VECTOR2I_EXTENDED_TYPE self) -> VECTOR2I_EXTENDED_TYPE"""
5352 _pcbnew.VECTOR2I_EXTENDED_TYPE_swiginit(self, _pcbnew.new_VECTOR2I_EXTENDED_TYPE())
5353 __swig_destroy__ = _pcbnew.delete_VECTOR2I_EXTENDED_TYPE
5356_pcbnew.VECTOR2I_EXTENDED_TYPE_swigregister(VECTOR2I_EXTENDED_TYPE)
5359 r"""Proxy of C++ VECTOR3< double > class."""
5361 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5362 __repr__ = _swig_repr
5363 ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
5365 ECOORD_MIN = _pcbnew.VECTOR3D_ECOORD_MIN
5367 x = property(_pcbnew.VECTOR3D_x_get, _pcbnew.VECTOR3D_x_set, doc=
r"""x : double""")
5368 y = property(_pcbnew.VECTOR3D_y_get, _pcbnew.VECTOR3D_y_set, doc=
r"""y : double""")
5369 z = property(_pcbnew.VECTOR3D_z_get, _pcbnew.VECTOR3D_z_set, doc=
r"""z : double""")
5373 __init__(VECTOR3D self) -> VECTOR3D
5374 __init__(VECTOR3D self, double x, double y, double z) -> VECTOR3D
5376 _pcbnew.VECTOR3D_swiginit(self, _pcbnew.new_VECTOR3D(*args))
5379 r"""Cross(VECTOR3D self, VECTOR3D aVector) -> VECTOR3D"""
5380 return _pcbnew.VECTOR3D_Cross(self, aVector)
5383 r"""Dot(VECTOR3D self, VECTOR3D aVector) -> VECTOR3< double >::extended_type"""
5384 return _pcbnew.VECTOR3D_Dot(self, aVector)
5387 r"""EuclideanNorm(VECTOR3D self) -> double"""
5388 return _pcbnew.VECTOR3D_EuclideanNorm(self)
5391 r"""Normalize(VECTOR3D self) -> VECTOR3D"""
5392 return _pcbnew.VECTOR3D_Normalize(self)
5395 r"""__eq__(VECTOR3D self, VECTOR3D aVector) -> bool"""
5396 return _pcbnew.VECTOR3D___eq__(self, aVector)
5399 r"""__ne__(VECTOR3D self, VECTOR3D aVector) -> bool"""
5400 return _pcbnew.VECTOR3D___ne__(self, aVector)
5403 r"""__imul__(VECTOR3D self, double val) -> VECTOR3D"""
5404 return _pcbnew.VECTOR3D___imul__(self, val)
5407 return _pcbnew.VECTOR3D___itruediv__(self, *args)
5408 __idiv__ = __itruediv__
5413 r"""Set(VECTOR3D self, double x, double y, double z)"""
5414 return _pcbnew.VECTOR3D_Set(self, x, y, z)
5417 r"""Get(VECTOR3D self) -> PyObject *"""
5418 return _pcbnew.VECTOR3D_Get(self)
5420 def __eq__(self,other):
return (self.
x==other.x
and self.
y==other.y
and self.
z==other.z)
5421 def __ne__(self,other):
return not (self==other)
5423 def __repr__(self):
return 'VECTOR3D'+str(self.
Get())
5438 __swig_destroy__ = _pcbnew.delete_VECTOR3D
5441_pcbnew.VECTOR3D_swigregister(VECTOR3D)
5444 r"""Proxy of C++ BOX2< VECTOR2I > class."""
5446 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5447 __repr__ = _swig_repr
5452 __init__(BOX2I self, VECTOR2I aPos, VECTOR2I aSize=VECTOR2< int >(0, 0)) -> BOX2I
5454 _pcbnew.BOX2I_swiginit(self, _pcbnew.new_BOX2I(*args))
5457 r"""SetMaximum(BOX2I self)"""
5458 return _pcbnew.BOX2I_SetMaximum(self)
5461 r"""Centre(BOX2I self) -> VECTOR2I"""
5462 return _pcbnew.BOX2I_Centre(self)
5465 r"""Move(BOX2I self, VECTOR2I aMoveVector)"""
5466 return _pcbnew.BOX2I_Move(self, aMoveVector)
5469 r"""Normalize(BOX2I self) -> BOX2I"""
5470 return _pcbnew.BOX2I_Normalize(self)
5474 Contains(BOX2I self, VECTOR2I aPoint) -> bool
5475 Contains(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y) -> bool
5476 Contains(BOX2I self, BOX2I aRect) -> bool
5478 return _pcbnew.BOX2I_Contains(self, *args)
5481 r"""GetSize(BOX2I self) -> VECTOR2I"""
5482 return _pcbnew.BOX2I_GetSize(self)
5485 r"""GetX(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5486 return _pcbnew.BOX2I_GetX(self)
5489 r"""GetY(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5490 return _pcbnew.BOX2I_GetY(self)
5493 r"""GetOrigin(BOX2I self) -> VECTOR2I"""
5494 return _pcbnew.BOX2I_GetOrigin(self)
5497 r"""GetPosition(BOX2I self) -> VECTOR2I"""
5498 return _pcbnew.BOX2I_GetPosition(self)
5501 r"""GetEnd(BOX2I self) -> VECTOR2I"""
5502 return _pcbnew.BOX2I_GetEnd(self)
5505 r"""GetWidth(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5506 return _pcbnew.BOX2I_GetWidth(self)
5509 r"""GetHeight(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5510 return _pcbnew.BOX2I_GetHeight(self)
5513 r"""GetRight(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5514 return _pcbnew.BOX2I_GetRight(self)
5517 r"""GetBottom(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5518 return _pcbnew.BOX2I_GetBottom(self)
5521 r"""GetLeft(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5522 return _pcbnew.BOX2I_GetLeft(self)
5525 r"""GetTop(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5526 return _pcbnew.BOX2I_GetTop(self)
5529 r"""GetCenter(BOX2I self) -> VECTOR2I"""
5530 return _pcbnew.BOX2I_GetCenter(self)
5533 r"""GetSizeMax(BOX2I self) -> int"""
5534 return _pcbnew.BOX2I_GetSizeMax(self)
5539 SetOrigin(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5541 return _pcbnew.BOX2I_SetOrigin(self, *args)
5545 SetSize(BOX2I self, VECTOR2I size)
5546 SetSize(BOX2I self, BOX2< VECTOR2< int > >::coord_type w, BOX2< VECTOR2< int > >::coord_type h)
5548 return _pcbnew.BOX2I_SetSize(self, *args)
5552 Offset(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy)
5553 Offset(BOX2I self, VECTOR2I offset)
5555 return _pcbnew.BOX2I_Offset(self, *args)
5558 r"""SetX(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5559 return _pcbnew.BOX2I_SetX(self, val)
5562 r"""SetY(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5563 return _pcbnew.BOX2I_SetY(self, val)
5566 r"""SetWidth(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5567 return _pcbnew.BOX2I_SetWidth(self, val)
5570 r"""SetHeight(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5571 return _pcbnew.BOX2I_SetHeight(self, val)
5575 SetEnd(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5576 SetEnd(BOX2I self, VECTOR2I pos)
5578 return _pcbnew.BOX2I_SetEnd(self, *args)
5581 r"""Intersect(BOX2I self, BOX2I aRect) -> BOX2I"""
5582 return _pcbnew.BOX2I_Intersect(self, aRect)
5587 Intersects(BOX2I self, VECTOR2I aPoint1, VECTOR2I aPoint2) -> bool
5588 Intersects(BOX2I self, BOX2I aRect, EDA_ANGLE aRotation) -> bool
5590 return _pcbnew.BOX2I_Intersects(self, *args)
5593 r"""IntersectsCircle(BOX2I self, VECTOR2I aCenter, int const aRadius) -> bool"""
5594 return _pcbnew.BOX2I_IntersectsCircle(self, aCenter, aRadius)
5597 r"""IntersectsCircleEdge(BOX2I self, VECTOR2I aCenter, int const aRadius, int const aWidth) -> bool"""
5598 return _pcbnew.BOX2I_IntersectsCircleEdge(self, aCenter, aRadius, aWidth)
5601 r"""Format(BOX2I self) -> string"""
5602 return _pcbnew.BOX2I_Format(self)
5606 Inflate(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy) -> BOX2I
5607 Inflate(BOX2I self, int aDelta) -> BOX2I
5609 return _pcbnew.BOX2I_Inflate(self, *args)
5613 Merge(BOX2I self, BOX2I aRect) -> BOX2I
5614 Merge(BOX2I self, VECTOR2I aPoint) -> BOX2I
5616 return _pcbnew.BOX2I_Merge(self, *args)
5619 r"""GetBoundingBoxRotated(BOX2I self, VECTOR2I aRotCenter, EDA_ANGLE aAngle) -> BOX2I"""
5620 return _pcbnew.BOX2I_GetBoundingBoxRotated(self, aRotCenter, aAngle)
5623 r"""RevertYAxis(BOX2I self)"""
5624 return _pcbnew.BOX2I_RevertYAxis(self)
5627 r"""GetArea(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5628 return _pcbnew.BOX2I_GetArea(self)
5631 r"""Diagonal(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5632 return _pcbnew.BOX2I_Diagonal(self)
5636 SquaredDistance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5637 SquaredDistance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5639 return _pcbnew.BOX2I_SquaredDistance(self, *args)
5643 Distance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5644 Distance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5646 return _pcbnew.BOX2I_Distance(self, *args)
5649 r"""ClosestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5650 return _pcbnew.BOX2I_ClosestPointTo(self, aPoint)
5653 r"""FarthestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5654 return _pcbnew.BOX2I_FarthestPointTo(self, aPoint)
5657 r"""__eq__(BOX2I self, BOX2I aOther) -> bool"""
5658 return _pcbnew.BOX2I___eq__(self, aOther)
5661 r"""__ne__(BOX2I self, BOX2I aOther) -> bool"""
5662 return _pcbnew.BOX2I___ne__(self, aOther)
5665 r"""IsValid(BOX2I self) -> bool"""
5666 return _pcbnew.BOX2I_IsValid(self)
5667 __swig_destroy__ = _pcbnew.delete_BOX2I
5670_pcbnew.BOX2I_swigregister(BOX2I)
5673 r"""Proxy of C++ std::vector< VECTOR2I > class."""
5675 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5676 __repr__ = _swig_repr
5679 r"""iterator(VECTOR_VECTOR2I self) -> SwigPyIterator"""
5680 return _pcbnew.VECTOR_VECTOR2I_iterator(self)
5685 r"""__nonzero__(VECTOR_VECTOR2I self) -> bool"""
5686 return _pcbnew.VECTOR_VECTOR2I___nonzero__(self)
5689 r"""__bool__(VECTOR_VECTOR2I self) -> bool"""
5690 return _pcbnew.VECTOR_VECTOR2I___bool__(self)
5693 r"""__len__(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5694 return _pcbnew.VECTOR_VECTOR2I___len__(self)
5697 r"""__getslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j) -> VECTOR_VECTOR2I"""
5698 return _pcbnew.VECTOR_VECTOR2I___getslice__(self, i, j)
5702 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)
5703 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j, VECTOR_VECTOR2I v)
5705 return _pcbnew.VECTOR_VECTOR2I___setslice__(self, *args)
5708 r"""__delslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)"""
5709 return _pcbnew.VECTOR_VECTOR2I___delslice__(self, i, j)
5713 __delitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i)
5714 __delitem__(VECTOR_VECTOR2I self, PySliceObject * slice)
5716 return _pcbnew.VECTOR_VECTOR2I___delitem__(self, *args)
5720 __getitem__(VECTOR_VECTOR2I self, PySliceObject * slice) -> VECTOR_VECTOR2I
5721 __getitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i) -> VECTOR2I
5723 return _pcbnew.VECTOR_VECTOR2I___getitem__(self, *args)
5727 __setitem__(VECTOR_VECTOR2I self, PySliceObject * slice, VECTOR_VECTOR2I v)
5728 __setitem__(VECTOR_VECTOR2I self, PySliceObject * slice)
5729 __setitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, VECTOR2I x)
5731 return _pcbnew.VECTOR_VECTOR2I___setitem__(self, *args)
5734 r"""pop(VECTOR_VECTOR2I self) -> VECTOR2I"""
5735 return _pcbnew.VECTOR_VECTOR2I_pop(self)
5738 r"""append(VECTOR_VECTOR2I self, VECTOR2I x)"""
5739 return _pcbnew.VECTOR_VECTOR2I_append(self, x)
5742 r"""empty(VECTOR_VECTOR2I self) -> bool"""
5743 return _pcbnew.VECTOR_VECTOR2I_empty(self)
5746 r"""size(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5747 return _pcbnew.VECTOR_VECTOR2I_size(self)
5750 r"""swap(VECTOR_VECTOR2I self, VECTOR_VECTOR2I v)"""
5751 return _pcbnew.VECTOR_VECTOR2I_swap(self, v)
5754 r"""begin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5755 return _pcbnew.VECTOR_VECTOR2I_begin(self)
5758 r"""end(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5759 return _pcbnew.VECTOR_VECTOR2I_end(self)
5762 r"""rbegin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5763 return _pcbnew.VECTOR_VECTOR2I_rbegin(self)
5766 r"""rend(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5767 return _pcbnew.VECTOR_VECTOR2I_rend(self)
5770 r"""clear(VECTOR_VECTOR2I self)"""
5771 return _pcbnew.VECTOR_VECTOR2I_clear(self)
5774 r"""get_allocator(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::allocator_type"""
5775 return _pcbnew.VECTOR_VECTOR2I_get_allocator(self)
5778 r"""pop_back(VECTOR_VECTOR2I self)"""
5779 return _pcbnew.VECTOR_VECTOR2I_pop_back(self)
5783 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos) -> std::vector< VECTOR2< int > >::iterator
5784 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator first, std::vector< VECTOR2< int > >::iterator last) -> std::vector< VECTOR2< int > >::iterator
5786 return _pcbnew.VECTOR_VECTOR2I_erase(self, *args)
5790 __init__(VECTOR_VECTOR2I self) -> VECTOR_VECTOR2I
5791 __init__(VECTOR_VECTOR2I self, VECTOR_VECTOR2I other) -> VECTOR_VECTOR2I
5792 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size) -> VECTOR_VECTOR2I
5793 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size, VECTOR2I value) -> VECTOR_VECTOR2I
5795 _pcbnew.VECTOR_VECTOR2I_swiginit(self, _pcbnew.new_VECTOR_VECTOR2I(*args))
5798 r"""push_back(VECTOR_VECTOR2I self, VECTOR2I x)"""
5799 return _pcbnew.VECTOR_VECTOR2I_push_back(self, x)
5802 r"""front(VECTOR_VECTOR2I self) -> VECTOR2I"""
5803 return _pcbnew.VECTOR_VECTOR2I_front(self)
5806 r"""back(VECTOR_VECTOR2I self) -> VECTOR2I"""
5807 return _pcbnew.VECTOR_VECTOR2I_back(self)
5810 r"""assign(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)"""
5811 return _pcbnew.VECTOR_VECTOR2I_assign(self, n, x)
5815 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size)
5816 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size, VECTOR2I x)
5818 return _pcbnew.VECTOR_VECTOR2I_resize(self, *args)
5822 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, VECTOR2I x) -> std::vector< VECTOR2< int > >::iterator
5823 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)
5825 return _pcbnew.VECTOR_VECTOR2I_insert(self, *args)
5828 r"""reserve(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n)"""
5829 return _pcbnew.VECTOR_VECTOR2I_reserve(self, n)
5832 r"""capacity(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5833 return _pcbnew.VECTOR_VECTOR2I_capacity(self)
5834 __swig_destroy__ = _pcbnew.delete_VECTOR_VECTOR2I
5837_pcbnew.VECTOR_VECTOR2I_swigregister(VECTOR_VECTOR2I)
5839CORNER_STRATEGY_ALLOW_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_ALLOW_ACUTE_CORNERS
5841CORNER_STRATEGY_CHAMFER_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_CHAMFER_ACUTE_CORNERS
5843CORNER_STRATEGY_ROUND_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_ROUND_ACUTE_CORNERS
5845CORNER_STRATEGY_CHAMFER_ALL_CORNERS = _pcbnew.CORNER_STRATEGY_CHAMFER_ALL_CORNERS
5847CORNER_STRATEGY_ROUND_ALL_CORNERS = _pcbnew.CORNER_STRATEGY_ROUND_ALL_CORNERS
5850 r"""Proxy of C++ SEG class."""
5852 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5853 __repr__ = _swig_repr
5854 A = property(_pcbnew.SEG_A_get, _pcbnew.SEG_A_set, doc=
r"""A : VECTOR2I""")
5855 B = property(_pcbnew.SEG_B_get, _pcbnew.SEG_B_set, doc=
r"""B : VECTOR2I""")
5860 __init__(SEG self, int aX1, int aY1, int aX2, int aY2) -> SEG
5861 __init__(SEG self, VECTOR2I aA, VECTOR2I aB) -> SEG
5862 __init__(SEG self, VECTOR2I aA, VECTOR2I aB, int aIndex) -> SEG
5863 __init__(SEG self, SEG aSeg) -> SEG
5865 _pcbnew.SEG_swiginit(self, _pcbnew.new_SEG(*args))
5868 r"""__eq__(SEG self, SEG aSeg) -> bool"""
5869 return _pcbnew.SEG___eq__(self, aSeg)
5872 r"""__ne__(SEG self, SEG aSeg) -> bool"""
5873 return _pcbnew.SEG___ne__(self, aSeg)
5877 r"""Square(int a) -> SEG::ecoord"""
5878 return _pcbnew.SEG_Square(a)
5881 r"""LineProject(SEG self, VECTOR2I aP) -> VECTOR2I"""
5882 return _pcbnew.SEG_LineProject(self, aP)
5885 r"""Side(SEG self, VECTOR2I aP) -> int"""
5886 return _pcbnew.SEG_Side(self, aP)
5889 r"""LineDistance(SEG self, VECTOR2I aP, bool aDetermineSide=False) -> int"""
5890 return _pcbnew.SEG_LineDistance(self, aP, aDetermineSide)
5893 r"""Angle(SEG self, SEG aOther) -> EDA_ANGLE"""
5894 return _pcbnew.SEG_Angle(self, aOther)
5901 return _pcbnew.SEG_NearestPoint(self, *args)
5904 r"""ReflectPoint(SEG self, VECTOR2I aP) -> VECTOR2I"""
5905 return _pcbnew.SEG_ReflectPoint(self, aP)
5907 def Intersect(self, aSeg, aIgnoreEndpoints=False, aLines=False):
5908 r"""Intersect(SEG self, SEG aSeg, bool aIgnoreEndpoints=False, bool aLines=False) -> OPT_VECTOR2I"""
5909 return _pcbnew.SEG_Intersect(self, aSeg, aIgnoreEndpoints, aLines)
5912 r"""Intersects(SEG self, SEG aSeg) -> bool"""
5913 return _pcbnew.SEG_Intersects(self, aSeg)
5916 r"""IntersectLines(SEG self, SEG aSeg) -> OPT_VECTOR2I"""
5917 return _pcbnew.SEG_IntersectLines(self, aSeg)
5920 r"""PerpendicularSeg(SEG self, VECTOR2I aP) -> SEG"""
5921 return _pcbnew.SEG_PerpendicularSeg(self, aP)
5924 r"""ParallelSeg(SEG self, VECTOR2I aP) -> SEG"""
5925 return _pcbnew.SEG_ParallelSeg(self, aP)
5927 def Collide(self, aSeg, aClearance, aActual=None):
5928 r"""Collide(SEG self, SEG aSeg, int aClearance, int * aActual=None) -> bool"""
5929 return _pcbnew.SEG_Collide(self, aSeg, aClearance, aActual)
5936 return _pcbnew.SEG_SquaredDistance(self, *args)
5940 Distance(SEG self, SEG aSeg) -> int
5941 Distance(SEG self, VECTOR2I aP) -> int
5943 return _pcbnew.SEG_Distance(self, *args)
5946 r"""CanonicalCoefs(SEG self, SEG::ecoord & qA, SEG::ecoord & qB, SEG::ecoord & qC)"""
5947 return _pcbnew.SEG_CanonicalCoefs(self, qA, qB, qC)
5950 r"""Collinear(SEG self, SEG aSeg) -> bool"""
5951 return _pcbnew.SEG_Collinear(self, aSeg)
5954 r"""ApproxCollinear(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5955 return _pcbnew.SEG_ApproxCollinear(self, aSeg, aDistanceThreshold)
5958 r"""ApproxParallel(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5959 return _pcbnew.SEG_ApproxParallel(self, aSeg, aDistanceThreshold)
5962 r"""ApproxPerpendicular(SEG self, SEG aSeg) -> bool"""
5963 return _pcbnew.SEG_ApproxPerpendicular(self, aSeg)
5966 r"""Overlaps(SEG self, SEG aSeg) -> bool"""
5967 return _pcbnew.SEG_Overlaps(self, aSeg)
5970 r"""Length(SEG self) -> int"""
5971 return _pcbnew.SEG_Length(self)
5974 r"""SquaredLength(SEG self) -> SEG::ecoord"""
5975 return _pcbnew.SEG_SquaredLength(self)
5978 r"""TCoef(SEG self, VECTOR2I aP) -> SEG::ecoord"""
5979 return _pcbnew.SEG_TCoef(self, aP)
5982 r"""Index(SEG self) -> int"""
5983 return _pcbnew.SEG_Index(self)
5987 Contains(SEG self, SEG aSeg) -> bool
5988 Contains(SEG self, VECTOR2I aP) -> bool
5990 return _pcbnew.SEG_Contains(self, *args)
5993 r"""Reverse(SEG self)"""
5994 return _pcbnew.SEG_Reverse(self)
5997 r"""Reversed(SEG self) -> SEG"""
5998 return _pcbnew.SEG_Reversed(self)
6001 r"""Center(SEG self) -> VECTOR2I"""
6002 return _pcbnew.SEG_Center(self)
6005 r"""__lt__(SEG self, SEG aSeg) -> bool"""
6006 return _pcbnew.SEG___lt__(self, aSeg)
6007 __swig_destroy__ = _pcbnew.delete_SEG
6010_pcbnew.SEG_swigregister(SEG)
6013 r"""SEG_Square(int a) -> SEG::ecoord"""
6014 return _pcbnew.SEG_Square(a)
6016SH_RECT = _pcbnew.SH_RECT
6018SH_SEGMENT = _pcbnew.SH_SEGMENT
6020SH_LINE_CHAIN = _pcbnew.SH_LINE_CHAIN
6022SH_CIRCLE = _pcbnew.SH_CIRCLE
6024SH_SIMPLE = _pcbnew.SH_SIMPLE
6026SH_POLY_SET = _pcbnew.SH_POLY_SET
6028SH_COMPOUND = _pcbnew.SH_COMPOUND
6030SH_ARC = _pcbnew.SH_ARC
6032SH_NULL = _pcbnew.SH_NULL
6034SH_POLY_SET_TRIANGLE = _pcbnew.SH_POLY_SET_TRIANGLE
6038 r"""SHAPE_TYPE_asString(SHAPE_TYPE a) -> wxString"""
6039 return _pcbnew.SHAPE_TYPE_asString(a)
6041 r"""Proxy of C++ SHAPE_BASE class."""
6043 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6044 __repr__ = _swig_repr
6047 r"""__init__(SHAPE_BASE self, SHAPE_TYPE aType) -> SHAPE_BASE"""
6048 _pcbnew.SHAPE_BASE_swiginit(self, _pcbnew.new_SHAPE_BASE(aType))
6049 __swig_destroy__ = _pcbnew.delete_SHAPE_BASE
6052 r"""Type(SHAPE_BASE self) -> SHAPE_TYPE"""
6053 return _pcbnew.SHAPE_BASE_Type(self)
6056 r"""TypeName(SHAPE_BASE self) -> wxString"""
6057 return _pcbnew.SHAPE_BASE_TypeName(self)
6060 r"""HasIndexableSubshapes(SHAPE_BASE self) -> bool"""
6061 return _pcbnew.SHAPE_BASE_HasIndexableSubshapes(self)
6064 r"""GetIndexableSubshapeCount(SHAPE_BASE self) -> size_t"""
6065 return _pcbnew.SHAPE_BASE_GetIndexableSubshapeCount(self)
6068 r"""GetIndexableSubshapes(SHAPE_BASE self, std::vector< SHAPE const *,std::allocator< SHAPE const * > > & aSubshapes)"""
6069 return _pcbnew.SHAPE_BASE_GetIndexableSubshapes(self, aSubshapes)
6072_pcbnew.SHAPE_BASE_swigregister(SHAPE_BASE)
6075 r"""Proxy of C++ SHAPE class."""
6077 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6080 raise AttributeError(
"No constructor defined - class is abstract")
6081 __repr__ = _swig_repr
6082 MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU
6084 __swig_destroy__ = _pcbnew.delete_SHAPE
6087 r"""Clone(SHAPE self) -> SHAPE"""
6088 return _pcbnew.SHAPE_Clone(self)
6091 r"""GetClearance(SHAPE self, SHAPE aOther) -> int"""
6092 return _pcbnew.SHAPE_GetClearance(self, aOther)
6095 r"""IsNull(SHAPE self) -> bool"""
6096 return _pcbnew.SHAPE_IsNull(self)
6100 Collide(SHAPE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6101 Collide(SHAPE self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
6102 Collide(SHAPE self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6103 Collide(SHAPE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6105 return _pcbnew.SHAPE_Collide(self, *args)
6108 r"""BBox(SHAPE self, int aClearance=0) -> BOX2I"""
6109 return _pcbnew.SHAPE_BBox(self, aClearance)
6112 r"""Centre(SHAPE self) -> VECTOR2I"""
6113 return _pcbnew.SHAPE_Centre(self)
6116 r"""Distance(SHAPE self, VECTOR2I aP) -> int"""
6117 return _pcbnew.SHAPE_Distance(self, aP)
6120 r"""SquaredDistance(SHAPE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
6121 return _pcbnew.SHAPE_SquaredDistance(self, aP, aOutlineOnly)
6124 r"""PointInside(SHAPE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
6125 return _pcbnew.SHAPE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
6128 r"""TransformToPolygon(SHAPE self, SHAPE_POLY_SET aBuffer, int aError, ERROR_LOC aErrorLoc)"""
6129 return _pcbnew.SHAPE_TransformToPolygon(self, aBuffer, aError, aErrorLoc)
6132 r"""Rotate(SHAPE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6133 return _pcbnew.SHAPE_Rotate(self, *args)
6136 r"""Move(SHAPE self, VECTOR2I aVector)"""
6137 return _pcbnew.SHAPE_Move(self, aVector)
6140 r"""IsSolid(SHAPE self) -> bool"""
6141 return _pcbnew.SHAPE_IsSolid(self)
6144 r"""Parse(SHAPE self, std::stringstream & aStream) -> bool"""
6145 return _pcbnew.SHAPE_Parse(self, aStream)
6148 r"""Format(SHAPE self, bool aCplusPlus=True) -> string"""
6149 return _pcbnew.SHAPE_Format(self, aCplusPlus)
6154 if shape_type ==
"SH_ARC":
6156 elif shape_type ==
"SH_CIRCLE":
6158 elif shape_type ==
"SH_COMPOUND":
6160 elif shape_type ==
"SH_LINE_CHAIN":
6162 elif shape_type ==
"SH_POLY_SET":
6164 elif shape_type ==
"SH_RECT":
6166 elif shape_type ==
"SH_SEGMENT":
6168 elif shape_type ==
"SH_SIMPLE":
6171 raise TypeError(
"Unsupported shape class: %s" % shape_type)
6175_pcbnew.SHAPE_swigregister(SHAPE)
6178 r"""Proxy of C++ SHAPE_LINE_CHAIN_BASE class."""
6180 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6183 raise AttributeError(
"No constructor defined - class is abstract")
6184 __repr__ = _swig_repr
6185 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN_BASE
6189 Collide(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6190 Collide(SHAPE_LINE_CHAIN_BASE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6192 return _pcbnew.SHAPE_LINE_CHAIN_BASE_Collide(self, *args)
6195 r"""SquaredDistance(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
6196 return _pcbnew.SHAPE_LINE_CHAIN_BASE_SquaredDistance(self, aP, aOutlineOnly)
6199 r"""PointInside(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
6200 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
6203 r"""PointOnEdge(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> bool"""
6204 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointOnEdge(self, aP, aAccuracy)
6207 r"""EdgeContainingPoint(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> int"""
6208 return _pcbnew.SHAPE_LINE_CHAIN_BASE_EdgeContainingPoint(self, aP, aAccuracy)
6211 r"""GetPoint(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> VECTOR2I"""
6212 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPoint(self, aIndex)
6215 r"""GetSegment(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> SEG"""
6216 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegment(self, aIndex)
6219 r"""GetPointCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
6220 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPointCount(self)
6223 r"""GetSegmentCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
6224 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegmentCount(self)
6227 r"""IsClosed(SHAPE_LINE_CHAIN_BASE self) -> bool"""
6228 return _pcbnew.SHAPE_LINE_CHAIN_BASE_IsClosed(self)
6231 r"""GetCachedBBox(SHAPE_LINE_CHAIN_BASE self) -> BOX2I"""
6232 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetCachedBBox(self)
6235_pcbnew.SHAPE_LINE_CHAIN_BASE_swigregister(SHAPE_LINE_CHAIN_BASE)
6238 r"""Proxy of C++ SHAPE_ARC class."""
6240 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6243 raise AttributeError(
"No constructor defined - class is abstract")
6244 __repr__ = _swig_repr
6245 __swig_destroy__ = _pcbnew.delete_SHAPE_ARC
6248 r"""ConstructFromStartEndAngle(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, EDA_ANGLE aAngle, double aWidth=0) -> SHAPE_ARC"""
6249 return _pcbnew.SHAPE_ARC_ConstructFromStartEndAngle(self, aStart, aEnd, aAngle, aWidth)
6252 r"""ConstructFromStartEndCenter(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, VECTOR2I aCenter, bool aClockwise=False, double aWidth=0) -> SHAPE_ARC"""
6253 return _pcbnew.SHAPE_ARC_ConstructFromStartEndCenter(self, aStart, aEnd, aCenter, aClockwise, aWidth)
6256 r"""GetP0(SHAPE_ARC self) -> VECTOR2I"""
6257 return _pcbnew.SHAPE_ARC_GetP0(self)
6260 r"""GetP1(SHAPE_ARC self) -> VECTOR2I"""
6261 return _pcbnew.SHAPE_ARC_GetP1(self)
6264 r"""GetArcMid(SHAPE_ARC self) -> VECTOR2I"""
6265 return _pcbnew.SHAPE_ARC_GetArcMid(self)
6268 r"""GetCenter(SHAPE_ARC self) -> VECTOR2I"""
6269 return _pcbnew.SHAPE_ARC_GetCenter(self)
6272 r"""BBox(SHAPE_ARC self, int aClearance=0) -> BOX2I"""
6273 return _pcbnew.SHAPE_ARC_BBox(self, aClearance)
6276 r"""NearestPoint(SHAPE_ARC self, VECTOR2I aP) -> VECTOR2I"""
6277 return _pcbnew.SHAPE_ARC_NearestPoint(self, aP)
6281 Collide(SHAPE_ARC self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6282 Collide(SHAPE_ARC self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6283 Collide(SHAPE_ARC self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6285 return _pcbnew.SHAPE_ARC_Collide(self, *args)
6288 r"""IntersectLine(SHAPE_ARC self, SEG aSeg, VECTOR_VECTOR2I aIpsBuffer) -> int"""
6289 return _pcbnew.SHAPE_ARC_IntersectLine(self, aSeg, aIpsBuffer)
6292 r"""Intersect(SHAPE_ARC self, SHAPE_ARC aArc, VECTOR_VECTOR2I aIpsBuffer) -> int"""
6293 return _pcbnew.SHAPE_ARC_Intersect(self, aArc, aIpsBuffer)
6296 r"""SetWidth(SHAPE_ARC self, int aWidth)"""
6297 return _pcbnew.SHAPE_ARC_SetWidth(self, aWidth)
6300 r"""GetWidth(SHAPE_ARC self) -> int"""
6301 return _pcbnew.SHAPE_ARC_GetWidth(self)
6305 Mirror(SHAPE_ARC self, bool aX=True, bool aY=
False, VECTOR2I aVector={ 0, 0 })
6306 Mirror(SHAPE_ARC self, SEG axis)
6308 return _pcbnew.SHAPE_ARC_Mirror(self, *args)
6311 r"""Reverse(SHAPE_ARC self)"""
6312 return _pcbnew.SHAPE_ARC_Reverse(self)
6315 r"""Reversed(SHAPE_ARC self) -> SHAPE_ARC"""
6316 return _pcbnew.SHAPE_ARC_Reversed(self)
6319 r"""GetRadius(SHAPE_ARC self) -> double"""
6320 return _pcbnew.SHAPE_ARC_GetRadius(self)
6323 r"""GetChord(SHAPE_ARC self) -> SEG"""
6324 return _pcbnew.SHAPE_ARC_GetChord(self)
6327 r"""GetCentralAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6328 return _pcbnew.SHAPE_ARC_GetCentralAngle(self)
6331 r"""GetStartAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6332 return _pcbnew.SHAPE_ARC_GetStartAngle(self)
6335 r"""GetEndAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6336 return _pcbnew.SHAPE_ARC_GetEndAngle(self)
6339 r"""GetLength(SHAPE_ARC self) -> double"""
6340 return _pcbnew.SHAPE_ARC_GetLength(self)
6344 r"""DefaultAccuracyForPCB() -> double"""
6345 return _pcbnew.SHAPE_ARC_DefaultAccuracyForPCB()
6348 r"""ConvertToPolyline(SHAPE_ARC self, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB(), double * aEffectiveAccuracy=None) -> SHAPE_LINE_CHAIN"""
6349 return _pcbnew.SHAPE_ARC_ConvertToPolyline(self, *args)
6352 r"""__eq__(SHAPE_ARC self, SHAPE_ARC aArc) -> bool"""
6353 return _pcbnew.SHAPE_ARC___eq__(self, aArc)
6356 r"""IsCCW(SHAPE_ARC self) -> bool"""
6357 return _pcbnew.SHAPE_ARC_IsCCW(self)
6360 r"""IsClockwise(SHAPE_ARC self) -> bool"""
6361 return _pcbnew.SHAPE_ARC_IsClockwise(self)
6364_pcbnew.SHAPE_ARC_swigregister(SHAPE_ARC)
6367 r"""SHAPE_ARC_DefaultAccuracyForPCB() -> double"""
6368 return _pcbnew.SHAPE_ARC_DefaultAccuracyForPCB()
6371 r"""Proxy of C++ SHAPE_CIRCLE class."""
6373 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6374 __repr__ = _swig_repr
6378 __init__(SHAPE_CIRCLE self) -> SHAPE_CIRCLE
6379 __init__(SHAPE_CIRCLE self, VECTOR2I aCenter, int aRadius) -> SHAPE_CIRCLE
6380 __init__(SHAPE_CIRCLE self, CIRCLE const & aCircle) -> SHAPE_CIRCLE
6381 __init__(SHAPE_CIRCLE self, SHAPE_CIRCLE aOther) -> SHAPE_CIRCLE
6383 _pcbnew.SHAPE_CIRCLE_swiginit(self, _pcbnew.new_SHAPE_CIRCLE(*args))
6384 __swig_destroy__ = _pcbnew.delete_SHAPE_CIRCLE
6387 r"""BBox(SHAPE_CIRCLE self, int aClearance=0) -> BOX2I"""
6388 return _pcbnew.SHAPE_CIRCLE_BBox(self, aClearance)
6390 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
6391 r"""Collide(SHAPE_CIRCLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
6392 return _pcbnew.SHAPE_CIRCLE_Collide(self, aSeg, aClearance, aActual, aLocation)
6395 r"""SetRadius(SHAPE_CIRCLE self, int aRadius)"""
6396 return _pcbnew.SHAPE_CIRCLE_SetRadius(self, aRadius)
6399 r"""SetCenter(SHAPE_CIRCLE self, VECTOR2I aCenter)"""
6400 return _pcbnew.SHAPE_CIRCLE_SetCenter(self, aCenter)
6403 r"""GetRadius(SHAPE_CIRCLE self) -> int"""
6404 return _pcbnew.SHAPE_CIRCLE_GetRadius(self)
6407 r"""GetCenter(SHAPE_CIRCLE self) -> VECTOR2I"""
6408 return _pcbnew.SHAPE_CIRCLE_GetCenter(self)
6411 r"""GetCircle(SHAPE_CIRCLE self) -> CIRCLE const"""
6412 return _pcbnew.SHAPE_CIRCLE_GetCircle(self)
6415 r"""Rotate(SHAPE_CIRCLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6416 return _pcbnew.SHAPE_CIRCLE_Rotate(self, *args)
6419 r"""Format(SHAPE_CIRCLE self, bool aCplusPlus=True) -> string"""
6420 return _pcbnew.SHAPE_CIRCLE_Format(self, aCplusPlus)
6423_pcbnew.SHAPE_CIRCLE_swigregister(SHAPE_CIRCLE)
6426 r"""Proxy of C++ SHAPE_COMPOUND class."""
6428 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6429 __repr__ = _swig_repr
6433 __init__(SHAPE_COMPOUND self) -> SHAPE_COMPOUND
6434 __init__(SHAPE_COMPOUND self, std::vector< SHAPE *,std::allocator< SHAPE * > > const & aShapes) -> SHAPE_COMPOUND
6435 __init__(SHAPE_COMPOUND self, SHAPE_COMPOUND aOther) -> SHAPE_COMPOUND
6437 _pcbnew.SHAPE_COMPOUND_swiginit(self, _pcbnew.new_SHAPE_COMPOUND(*args))
6438 __swig_destroy__ = _pcbnew.delete_SHAPE_COMPOUND
6441 r"""Clone(SHAPE_COMPOUND self) -> SHAPE_COMPOUND"""
6442 return _pcbnew.SHAPE_COMPOUND_Clone(self)
6445 r"""Format(SHAPE_COMPOUND self, bool aCplusPlus=True) -> string"""
6446 return _pcbnew.SHAPE_COMPOUND_Format(self, aCplusPlus)
6450 Collide(SHAPE_COMPOUND self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6451 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
6452 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6454 return _pcbnew.SHAPE_COMPOUND_Collide(self, *args)
6457 r"""Shapes(SHAPE_COMPOUND self) -> std::vector< SHAPE *,std::allocator< SHAPE * > > const &"""
6458 return _pcbnew.SHAPE_COMPOUND_Shapes(self)
6461 r"""BBox(SHAPE_COMPOUND self, int aClearance=0) -> BOX2I"""
6462 return _pcbnew.SHAPE_COMPOUND_BBox(self, aClearance)
6466 Distance(SHAPE_COMPOUND self, VECTOR2I aP) -> int
6467 Distance(SHAPE_COMPOUND self, SEG aSeg) -> int
6469 return _pcbnew.SHAPE_COMPOUND_Distance(self, *args)
6473 AddShape(SHAPE_COMPOUND self, SHAPE aShape)
6474 AddShape(SHAPE_COMPOUND self, std::shared_ptr< SHAPE > aShape)
6476 return _pcbnew.SHAPE_COMPOUND_AddShape(self, *args)
6479 r"""Empty(SHAPE_COMPOUND self) -> bool"""
6480 return _pcbnew.SHAPE_COMPOUND_Empty(self)
6483 r"""Size(SHAPE_COMPOUND self) -> int"""
6484 return _pcbnew.SHAPE_COMPOUND_Size(self)
6487 r"""Rotate(SHAPE_COMPOUND self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6488 return _pcbnew.SHAPE_COMPOUND_Rotate(self, *args)
6491 r"""UniqueSubshape(SHAPE_COMPOUND self) -> SHAPE"""
6492 return _pcbnew.SHAPE_COMPOUND_UniqueSubshape(self)
6495 r"""GetSubshapes(SHAPE_COMPOUND self) -> VECTOR_SHAPEPTR"""
6496 return _pcbnew.SHAPE_COMPOUND_GetSubshapes(self)
6499_pcbnew.SHAPE_COMPOUND_swigregister(SHAPE_COMPOUND)
6502 r"""Proxy of C++ CLIPPER_Z_VALUE class."""
6504 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6505 __repr__ = _swig_repr
6509 __init__(CLIPPER_Z_VALUE self) -> CLIPPER_Z_VALUE
6510 __init__(CLIPPER_Z_VALUE self, std::pair< ssize_t,ssize_t > const aShapeIndices, ssize_t aOffset=0) -> CLIPPER_Z_VALUE
6512 _pcbnew.CLIPPER_Z_VALUE_swiginit(self, _pcbnew.new_CLIPPER_Z_VALUE(*args))
6513 m_FirstArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_set, doc=r"""m_FirstArcIdx : ssize_t""")
6514 m_SecondArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_set, doc=
r"""m_SecondArcIdx : ssize_t""")
6515 __swig_destroy__ = _pcbnew.delete_CLIPPER_Z_VALUE
6518_pcbnew.CLIPPER_Z_VALUE_swigregister(CLIPPER_Z_VALUE)
6521 r"""Proxy of C++ SHAPE_LINE_CHAIN class."""
6523 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6524 __repr__ = _swig_repr
6528 __init__(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN
6529 __init__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aShape) -> SHAPE_LINE_CHAIN
6530 __init__(SHAPE_LINE_CHAIN self, intVector aV) -> SHAPE_LINE_CHAIN
6531 __init__(SHAPE_LINE_CHAIN self, VECTOR_VECTOR2I aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
6532 __init__(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, bool aClosed=
False) -> SHAPE_LINE_CHAIN
6533 __init__(SHAPE_LINE_CHAIN self, ClipperLib::Path const & aPath, std::vector< CLIPPER_Z_VALUE,std::allocator< CLIPPER_Z_VALUE > > const & aZValueBuffer, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const & aArcBuffer) -> SHAPE_LINE_CHAIN
6534 __init__(SHAPE_LINE_CHAIN self, Clipper2Lib::Path64 const & aPath, std::vector< CLIPPER_Z_VALUE,std::allocator< CLIPPER_Z_VALUE > > const & aZValueBuffer, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const & aArcBuffer) -> SHAPE_LINE_CHAIN
6536 _pcbnew.SHAPE_LINE_CHAIN_swiginit(self, _pcbnew.new_SHAPE_LINE_CHAIN(*args))
6537 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN
6541 Collide(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6542 Collide(SHAPE_LINE_CHAIN self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6544 return _pcbnew.SHAPE_LINE_CHAIN_Collide(self, *args)
6547 r"""Clear(SHAPE_LINE_CHAIN self)"""
6548 return _pcbnew.SHAPE_LINE_CHAIN_Clear(self)
6551 r"""SetClosed(SHAPE_LINE_CHAIN self, bool aClosed)"""
6552 return _pcbnew.SHAPE_LINE_CHAIN_SetClosed(self, aClosed)
6555 r"""SetWidth(SHAPE_LINE_CHAIN self, int aWidth)"""
6556 return _pcbnew.SHAPE_LINE_CHAIN_SetWidth(self, aWidth)
6559 r"""Width(SHAPE_LINE_CHAIN self) -> int"""
6560 return _pcbnew.SHAPE_LINE_CHAIN_Width(self)
6563 r"""SegmentCount(SHAPE_LINE_CHAIN self) -> int"""
6564 return _pcbnew.SHAPE_LINE_CHAIN_SegmentCount(self)
6567 r"""ShapeCount(SHAPE_LINE_CHAIN self) -> int"""
6568 return _pcbnew.SHAPE_LINE_CHAIN_ShapeCount(self)
6571 r"""RemoveDuplicatePoints(SHAPE_LINE_CHAIN self)"""
6572 return _pcbnew.SHAPE_LINE_CHAIN_RemoveDuplicatePoints(self)
6575 r"""Simplify(SHAPE_LINE_CHAIN self, int aMaxError=0)"""
6576 return _pcbnew.SHAPE_LINE_CHAIN_Simplify(self, aMaxError)
6579 r"""PointCount(SHAPE_LINE_CHAIN self) -> int"""
6580 return _pcbnew.SHAPE_LINE_CHAIN_PointCount(self)
6583 r"""Segment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6584 return _pcbnew.SHAPE_LINE_CHAIN_Segment(self, aIndex)
6587 r"""CSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6588 return _pcbnew.SHAPE_LINE_CHAIN_CSegment(self, aIndex)
6591 r"""NextShape(SHAPE_LINE_CHAIN self, int aPointIndex) -> int"""
6592 return _pcbnew.SHAPE_LINE_CHAIN_NextShape(self, aPointIndex)
6595 r"""SetPoint(SHAPE_LINE_CHAIN self, int aIndex, VECTOR2I aPos)"""
6596 return _pcbnew.SHAPE_LINE_CHAIN_SetPoint(self, aIndex, aPos)
6599 r"""CPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I"""
6600 return _pcbnew.SHAPE_LINE_CHAIN_CPoint(self, aIndex)
6603 r"""CPoints(SHAPE_LINE_CHAIN self) -> VECTOR_VECTOR2I"""
6604 return _pcbnew.SHAPE_LINE_CHAIN_CPoints(self)
6607 r"""CLastPoint(SHAPE_LINE_CHAIN self) -> VECTOR2I"""
6608 return _pcbnew.SHAPE_LINE_CHAIN_CLastPoint(self)
6611 r"""CArcs(SHAPE_LINE_CHAIN self) -> std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &"""
6612 return _pcbnew.SHAPE_LINE_CHAIN_CArcs(self)
6615 r"""CShapes(SHAPE_LINE_CHAIN self) -> std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &"""
6616 return _pcbnew.SHAPE_LINE_CHAIN_CShapes(self)
6619 r"""BBox(SHAPE_LINE_CHAIN self, int aClearance=0) -> BOX2I"""
6620 return _pcbnew.SHAPE_LINE_CHAIN_BBox(self, aClearance)
6623 r"""GenerateBBoxCache(SHAPE_LINE_CHAIN self)"""
6624 return _pcbnew.SHAPE_LINE_CHAIN_GenerateBBoxCache(self)
6627 r"""Reverse(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN"""
6628 return _pcbnew.SHAPE_LINE_CHAIN_Reverse(self)
6631 r"""ClearArcs(SHAPE_LINE_CHAIN self)"""
6632 return _pcbnew.SHAPE_LINE_CHAIN_ClearArcs(self)
6635 r"""Length(SHAPE_LINE_CHAIN self) -> long long"""
6636 return _pcbnew.SHAPE_LINE_CHAIN_Length(self)
6639 r"""ReservePoints(SHAPE_LINE_CHAIN self, size_t aSize)"""
6640 return _pcbnew.SHAPE_LINE_CHAIN_ReservePoints(self, aSize)
6644 Append(SHAPE_LINE_CHAIN self, int aX, int aY, bool aAllowDuplication=False)
6645 Append(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowDuplication=
False)
6646 Append(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOtherLine)
6647 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc)
6648 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, double aAccuracy)
6650 return _pcbnew.SHAPE_LINE_CHAIN_Append(self, *args)
6654 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, VECTOR2I aP)
6655 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, SHAPE_ARC aArc)
6657 return _pcbnew.SHAPE_LINE_CHAIN_Insert(self, *args)
6661 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, VECTOR2I aP)
6662 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, SHAPE_LINE_CHAIN aLine)
6664 return _pcbnew.SHAPE_LINE_CHAIN_Replace(self, *args)
6668 Remove(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex)
6669 Remove(SHAPE_LINE_CHAIN self, int aIndex)
6671 return _pcbnew.SHAPE_LINE_CHAIN_Remove(self, *args)
6674 r"""RemoveShape(SHAPE_LINE_CHAIN self, int aPointIndex)"""
6675 return _pcbnew.SHAPE_LINE_CHAIN_RemoveShape(self, aPointIndex)
6678 r"""Find(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=0) -> int"""
6679 return _pcbnew.SHAPE_LINE_CHAIN_Find(self, aP, aThreshold)
6682 r"""FindSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=1) -> int"""
6683 return _pcbnew.SHAPE_LINE_CHAIN_FindSegment(self, aP, aThreshold)
6685 def Slice(self, aStartIndex, aEndIndex=-1):
6686 r"""Slice(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex=-1) -> SHAPE_LINE_CHAIN"""
6687 return _pcbnew.SHAPE_LINE_CHAIN_Slice(self, aStartIndex, aEndIndex)
6690 r"""Intersects(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain) -> bool"""
6691 return _pcbnew.SHAPE_LINE_CHAIN_Intersects(self, aChain)
6695 Intersect(SHAPE_LINE_CHAIN self, SEG aSeg, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp) -> int
6696 Intersect(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp, bool aExcludeColinearAndTouching=False, BOX2I aChainBBox=
None) -> int
6698 return _pcbnew.SHAPE_LINE_CHAIN_Intersect(self, *args)
6701 r"""PathLength(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aIndex=-1) -> int"""
6702 return _pcbnew.SHAPE_LINE_CHAIN_PathLength(self, aP, aIndex)
6705 r"""CheckClearance(SHAPE_LINE_CHAIN self, VECTOR2I aP, int const aDist) -> bool"""
6706 return _pcbnew.SHAPE_LINE_CHAIN_CheckClearance(self, aP, aDist)
6709 r"""SelfIntersecting(SHAPE_LINE_CHAIN self) -> std::optional< SHAPE_LINE_CHAIN::INTERSECTION > const"""
6710 return _pcbnew.SHAPE_LINE_CHAIN_SelfIntersecting(self)
6713 r"""NearestSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int"""
6714 return _pcbnew.SHAPE_LINE_CHAIN_NearestSegment(self, aP)
6718 NearestPoint(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowInternalShapePoints=True) -> VECTOR2I
6719 NearestPoint(SHAPE_LINE_CHAIN self, SEG aSeg, int & dist) -> VECTOR2I
6721 return _pcbnew.SHAPE_LINE_CHAIN_NearestPoint(self, *args)
6724 r"""Format(SHAPE_LINE_CHAIN self, bool aCplusPlus=True) -> string"""
6725 return _pcbnew.SHAPE_LINE_CHAIN_Format(self, aCplusPlus)
6728 r"""__ne__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aRhs) -> bool"""
6729 return _pcbnew.SHAPE_LINE_CHAIN___ne__(self, aRhs)
6732 r"""CompareGeometry(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther) -> bool"""
6733 return _pcbnew.SHAPE_LINE_CHAIN_CompareGeometry(self, aOther)
6737 Mirror(SHAPE_LINE_CHAIN self, bool aX=True, bool aY=
False, VECTOR2I aRef={ 0, 0 })
6738 Mirror(SHAPE_LINE_CHAIN self, SEG axis)
6740 return _pcbnew.SHAPE_LINE_CHAIN_Mirror(self, *args)
6743 r"""Rotate(SHAPE_LINE_CHAIN self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6744 return _pcbnew.SHAPE_LINE_CHAIN_Rotate(self, *args)
6747 r"""PointAlong(SHAPE_LINE_CHAIN self, int aPathLength) -> VECTOR2I"""
6748 return _pcbnew.SHAPE_LINE_CHAIN_PointAlong(self, aPathLength)
6751 r"""Area(SHAPE_LINE_CHAIN self, bool aAbsolute=True) -> double"""
6752 return _pcbnew.SHAPE_LINE_CHAIN_Area(self, aAbsolute)
6756 Split(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aExact=False) -> int
6757 Split(SHAPE_LINE_CHAIN self, VECTOR2I aStart, VECTOR2I aEnd, SHAPE_LINE_CHAIN aPre, SHAPE_LINE_CHAIN aMid, SHAPE_LINE_CHAIN aPost)
6759 return _pcbnew.SHAPE_LINE_CHAIN_Split(self, *args)
6761 def OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify=False):
6762 r"""OffsetLine(SHAPE_LINE_CHAIN self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, SHAPE_LINE_CHAIN aLeft, SHAPE_LINE_CHAIN aRight, bool aSimplify=False) -> bool"""
6763 return _pcbnew.SHAPE_LINE_CHAIN_OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify)
6766 r"""ArcCount(SHAPE_LINE_CHAIN self) -> size_t"""
6767 return _pcbnew.SHAPE_LINE_CHAIN_ArcCount(self)
6770 r"""ArcIndex(SHAPE_LINE_CHAIN self, size_t aSegment) -> ssize_t"""
6771 return _pcbnew.SHAPE_LINE_CHAIN_ArcIndex(self, aSegment)
6774 r"""Arc(SHAPE_LINE_CHAIN self, size_t aArc) -> SHAPE_ARC"""
6775 return _pcbnew.SHAPE_LINE_CHAIN_Arc(self, aArc)
6778 r"""IsSharedPt(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6779 return _pcbnew.SHAPE_LINE_CHAIN_IsSharedPt(self, aIndex)
6782 r"""IsPtOnArc(SHAPE_LINE_CHAIN self, size_t aPtIndex) -> bool"""
6783 return _pcbnew.SHAPE_LINE_CHAIN_IsPtOnArc(self, aPtIndex)
6786 r"""IsArcSegment(SHAPE_LINE_CHAIN self, size_t aSegment) -> bool"""
6787 return _pcbnew.SHAPE_LINE_CHAIN_IsArcSegment(self, aSegment)
6790 r"""IsArcStart(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6791 return _pcbnew.SHAPE_LINE_CHAIN_IsArcStart(self, aIndex)
6794 r"""IsArcEnd(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6795 return _pcbnew.SHAPE_LINE_CHAIN_IsArcEnd(self, aIndex)
6799 Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int
6800 Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aOutlineOnly) -> int
6802 return _pcbnew.SHAPE_LINE_CHAIN_Distance(self, *args)
6805_pcbnew.SHAPE_LINE_CHAIN_swigregister(SHAPE_LINE_CHAIN)
6808 r"""Proxy of C++ SHAPE_POLY_SET class."""
6810 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6811 __repr__ = _swig_repr
6815 __init__(SHAPE_POLY_SET self) -> SHAPE_POLY_SET
6816 __init__(SHAPE_POLY_SET self, BOX2D const & aRect) -> SHAPE_POLY_SET
6817 __init__(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> SHAPE_POLY_SET
6818 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON const & aPolygon) -> SHAPE_POLY_SET
6819 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET aOther) -> SHAPE_POLY_SET
6821 _pcbnew.SHAPE_POLY_SET_swiginit(self, _pcbnew.new_SHAPE_POLY_SET(*args))
6822 __swig_destroy__ = _pcbnew.delete_SHAPE_POLY_SET
6825 r"""CacheTriangulation(SHAPE_POLY_SET self, bool aPartition=True, bool aSimplify=False)"""
6826 return _pcbnew.SHAPE_POLY_SET_CacheTriangulation(self, aPartition, aSimplify)
6829 r"""IsTriangulationUpToDate(SHAPE_POLY_SET self) -> bool"""
6830 return _pcbnew.SHAPE_POLY_SET_IsTriangulationUpToDate(self)
6833 r"""GetHash(SHAPE_POLY_SET self) -> MD5_HASH"""
6834 return _pcbnew.SHAPE_POLY_SET_GetHash(self)
6837 r"""GetRelativeIndices(SHAPE_POLY_SET self, int aGlobalIdx, SHAPE_POLY_SET::VERTEX_INDEX * aRelativeIndices) -> bool"""
6838 return _pcbnew.SHAPE_POLY_SET_GetRelativeIndices(self, aGlobalIdx, aRelativeIndices)
6841 r"""GetGlobalIndex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices, int & aGlobalIdx) -> bool"""
6842 return _pcbnew.SHAPE_POLY_SET_GetGlobalIndex(self, aRelativeIndices, aGlobalIdx)
6845 r"""CloneDropTriangulation(SHAPE_POLY_SET self) -> SHAPE_POLY_SET"""
6846 return _pcbnew.SHAPE_POLY_SET_CloneDropTriangulation(self)
6849 r"""NewOutline(SHAPE_POLY_SET self) -> int"""
6850 return _pcbnew.SHAPE_POLY_SET_NewOutline(self)
6853 r"""NewHole(SHAPE_POLY_SET self, int aOutline=-1) -> int"""
6854 return _pcbnew.SHAPE_POLY_SET_NewHole(self, aOutline)
6857 r"""AddOutline(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> int"""
6858 return _pcbnew.SHAPE_POLY_SET_AddOutline(self, aOutline)
6861 r"""AddHole(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aHole, int aOutline=-1) -> int"""
6862 return _pcbnew.SHAPE_POLY_SET_AddHole(self, aHole, aOutline)
6865 r"""AddPolygon(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON const & apolygon) -> int"""
6866 return _pcbnew.SHAPE_POLY_SET_AddPolygon(self, apolygon)
6869 r"""Area(SHAPE_POLY_SET self) -> double"""
6870 return _pcbnew.SHAPE_POLY_SET_Area(self)
6873 r"""ArcCount(SHAPE_POLY_SET self) -> int"""
6874 return _pcbnew.SHAPE_POLY_SET_ArcCount(self)
6877 r"""GetArcs(SHAPE_POLY_SET self, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > & aArcBuffer)"""
6878 return _pcbnew.SHAPE_POLY_SET_GetArcs(self, aArcBuffer)
6881 r"""ClearArcs(SHAPE_POLY_SET self)"""
6882 return _pcbnew.SHAPE_POLY_SET_ClearArcs(self)
6886 Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1, int aHole=-1, bool aAllowDuplication=False) -> int
6887 Append(SHAPE_POLY_SET self, SHAPE_POLY_SET aSet)
6888 Append(SHAPE_POLY_SET self, VECTOR2I aP, int aOutline=-1, int aHole=-1)
6889 Append(SHAPE_POLY_SET self, SHAPE_ARC aArc, int aOutline=-1, int aHole=-1, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB()) -> int
6891 return _pcbnew.SHAPE_POLY_SET_Append(self, *args)
6894 r"""InsertVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aNewVertex)"""
6895 return _pcbnew.SHAPE_POLY_SET_InsertVertex(self, aGlobalIndex, aNewVertex)
6899 CVertex(SHAPE_POLY_SET self, int aIndex, int aOutline, int aHole) -> VECTOR2I
6900 CVertex(SHAPE_POLY_SET self, int aGlobalIndex) -> VECTOR2I
6901 CVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aIndex) -> VECTOR2I
6903 return _pcbnew.SHAPE_POLY_SET_CVertex(self, *args)
6906 r"""GetNeighbourIndexes(SHAPE_POLY_SET self, int aGlobalIndex, int * aPrevious, int * aNext) -> bool"""
6907 return _pcbnew.SHAPE_POLY_SET_GetNeighbourIndexes(self, aGlobalIndex, aPrevious, aNext)
6910 r"""IsPolygonSelfIntersecting(SHAPE_POLY_SET self, int aPolygonIndex) -> bool"""
6911 return _pcbnew.SHAPE_POLY_SET_IsPolygonSelfIntersecting(self, aPolygonIndex)
6914 r"""IsSelfIntersecting(SHAPE_POLY_SET self) -> bool"""
6915 return _pcbnew.SHAPE_POLY_SET_IsSelfIntersecting(self)
6918 r"""TriangulatedPolyCount(SHAPE_POLY_SET self) -> unsigned int"""
6919 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolyCount(self)
6922 r"""OutlineCount(SHAPE_POLY_SET self) -> int"""
6923 return _pcbnew.SHAPE_POLY_SET_OutlineCount(self)
6926 r"""VertexCount(SHAPE_POLY_SET self, int aOutline=-1, int aHole=-1) -> int"""
6927 return _pcbnew.SHAPE_POLY_SET_VertexCount(self, aOutline, aHole)
6930 r"""FullPointCount(SHAPE_POLY_SET self) -> int"""
6931 return _pcbnew.SHAPE_POLY_SET_FullPointCount(self)
6934 r"""HoleCount(SHAPE_POLY_SET self, int aOutline) -> int"""
6935 return _pcbnew.SHAPE_POLY_SET_HoleCount(self, aOutline)
6939 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6940 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6942 return _pcbnew.SHAPE_POLY_SET_Outline(self, *args)
6944 def Subset(self, aFirstPolygon, aLastPolygon):
6945 r"""Subset(SHAPE_POLY_SET self, int aFirstPolygon, int aLastPolygon) -> SHAPE_POLY_SET"""
6946 return _pcbnew.SHAPE_POLY_SET_Subset(self, aFirstPolygon, aLastPolygon)
6949 r"""UnitSet(SHAPE_POLY_SET self, int aPolygonIndex) -> SHAPE_POLY_SET"""
6950 return _pcbnew.SHAPE_POLY_SET_UnitSet(self, aPolygonIndex)
6953 r"""Hole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6954 return _pcbnew.SHAPE_POLY_SET_Hole(self, aOutline, aHole)
6958 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON
6959 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &
6961 return _pcbnew.SHAPE_POLY_SET_Polygon(self, *args)
6964 r"""TriangulatedPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::TRIANGULATED_POLYGON const *"""
6965 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolygon(self, aIndex)
6968 r"""COutline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN"""
6969 return _pcbnew.SHAPE_POLY_SET_COutline(self, aIndex)
6972 r"""CHole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6973 return _pcbnew.SHAPE_POLY_SET_CHole(self, aOutline, aHole)
6976 r"""CPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &"""
6977 return _pcbnew.SHAPE_POLY_SET_CPolygon(self, aIndex)
6980 r"""CPolygons(SHAPE_POLY_SET self) -> std::vector< SHAPE_POLY_SET::POLYGON,std::allocator< SHAPE_POLY_SET::POLYGON > > const &"""
6981 return _pcbnew.SHAPE_POLY_SET_CPolygons(self)
6985 Iterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::ITERATOR
6986 Iterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6987 Iterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR
6989 return _pcbnew.SHAPE_POLY_SET_Iterate(self, *args)
6993 IterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6996 return _pcbnew.SHAPE_POLY_SET_IterateWithHoles(self, *args)
7000 CIterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_ITERATOR
7001 CIterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
7002 CIterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR
7004 return _pcbnew.SHAPE_POLY_SET_CIterate(self, *args)
7008 CIterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
7011 return _pcbnew.SHAPE_POLY_SET_CIterateWithHoles(self, *args)
7014 r"""IterateFromVertexWithHoles(SHAPE_POLY_SET self, int aGlobalIdx) -> SHAPE_POLY_SET::ITERATOR"""
7015 return _pcbnew.SHAPE_POLY_SET_IterateFromVertexWithHoles(self, aGlobalIdx)
7019 IterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
7020 IterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
7021 IterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
7023 return _pcbnew.SHAPE_POLY_SET_IterateSegments(self, *args)
7027 CIterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
7028 CIterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
7029 CIterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
7031 return _pcbnew.SHAPE_POLY_SET_CIterateSegments(self, *args)
7038 return _pcbnew.SHAPE_POLY_SET_IterateSegmentsWithHoles(self, *args)
7045 return _pcbnew.SHAPE_POLY_SET_CIterateSegmentsWithHoles(self, *args)
7046 PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
7048 PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
7053 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7054 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7056 return _pcbnew.SHAPE_POLY_SET_BooleanAdd(self, *args)
7060 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7061 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7063 return _pcbnew.SHAPE_POLY_SET_BooleanSubtract(self, *args)
7067 BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7068 BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7070 return _pcbnew.SHAPE_POLY_SET_BooleanIntersection(self, *args)
7074 BooleanXor(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7075 BooleanXor(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7077 return _pcbnew.SHAPE_POLY_SET_BooleanXor(self, *args)
7080 r"""RebuildHolesFromContours(SHAPE_POLY_SET self)"""
7081 return _pcbnew.SHAPE_POLY_SET_RebuildHolesFromContours(self)
7083 def Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify=False):
7084 r"""Inflate(SHAPE_POLY_SET self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, bool aSimplify=False)"""
7085 return _pcbnew.SHAPE_POLY_SET_Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify)
7087 def Deflate(self, aAmount, aCornerStrategy, aMaxError):
7088 r"""Deflate(SHAPE_POLY_SET self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError)"""
7089 return _pcbnew.SHAPE_POLY_SET_Deflate(self, aAmount, aCornerStrategy, aMaxError)
7092 r"""OffsetLineChain(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aLine, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, bool aSimplify)"""
7093 return _pcbnew.SHAPE_POLY_SET_OffsetLineChain(self, aLine, aAmount, aCornerStrategy, aMaxError, aSimplify)
7096 r"""InflateWithLinkedHoles(SHAPE_POLY_SET self, int aFactor, CORNER_STRATEGY aCornerStrategy, int aMaxError, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
7097 return _pcbnew.SHAPE_POLY_SET_InflateWithLinkedHoles(self, aFactor, aCornerStrategy, aMaxError, aFastMode)
7100 r"""Fracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
7101 return _pcbnew.SHAPE_POLY_SET_Fracture(self, aFastMode)
7104 r"""Unfracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
7105 return _pcbnew.SHAPE_POLY_SET_Unfracture(self, aFastMode)
7108 r"""HasHoles(SHAPE_POLY_SET self) -> bool"""
7109 return _pcbnew.SHAPE_POLY_SET_HasHoles(self)
7112 r"""HasTouchingHoles(SHAPE_POLY_SET self) -> bool"""
7113 return _pcbnew.SHAPE_POLY_SET_HasTouchingHoles(self)
7116 r"""Simplify(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
7117 return _pcbnew.SHAPE_POLY_SET_Simplify(self, aFastMode)
7120 r"""SimplifyOutlines(SHAPE_POLY_SET self, int aMaxError=0)"""
7121 return _pcbnew.SHAPE_POLY_SET_SimplifyOutlines(self, aMaxError)
7124 r"""NormalizeAreaOutlines(SHAPE_POLY_SET self) -> int"""
7125 return _pcbnew.SHAPE_POLY_SET_NormalizeAreaOutlines(self)
7128 r"""Format(SHAPE_POLY_SET self, bool aCplusPlus=True) -> string"""
7129 return _pcbnew.SHAPE_POLY_SET_Format(self, aCplusPlus)
7132 r"""Mirror(SHAPE_POLY_SET self, bool aX=True, bool aY=False, VECTOR2I aRef={ 0, 0 })"""
7133 return _pcbnew.SHAPE_POLY_SET_Mirror(self, *args)
7136 r"""Rotate(SHAPE_POLY_SET self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7137 return _pcbnew.SHAPE_POLY_SET_Rotate(self, *args)
7140 r"""BBox(SHAPE_POLY_SET self, int aClearance=0) -> BOX2I"""
7141 return _pcbnew.SHAPE_POLY_SET_BBox(self, aClearance)
7144 r"""PointOnEdge(SHAPE_POLY_SET self, VECTOR2I aP, int aAccuracy=0) -> bool"""
7145 return _pcbnew.SHAPE_POLY_SET_PointOnEdge(self, aP, aAccuracy)
7149 Collide(SHAPE_POLY_SET self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7150 Collide(SHAPE_POLY_SET self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7151 Collide(SHAPE_POLY_SET self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7153 return _pcbnew.SHAPE_POLY_SET_Collide(self, *args)
7156 r"""CollideVertex(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
7157 return _pcbnew.SHAPE_POLY_SET_CollideVertex(self, aPoint, aClosestVertex, aClearance)
7160 r"""CollideEdge(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
7161 return _pcbnew.SHAPE_POLY_SET_CollideEdge(self, aPoint, aClosestVertex, aClearance)
7164 r"""PointInside(SHAPE_POLY_SET self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
7165 return _pcbnew.SHAPE_POLY_SET_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
7168 r"""BuildBBoxCaches(SHAPE_POLY_SET self)"""
7169 return _pcbnew.SHAPE_POLY_SET_BuildBBoxCaches(self)
7172 r"""BBoxFromCaches(SHAPE_POLY_SET self) -> BOX2I"""
7173 return _pcbnew.SHAPE_POLY_SET_BBoxFromCaches(self)
7175 def Contains(self, aP, aSubpolyIndex=-1, aAccuracy=0, aUseBBoxCaches=False):
7176 r"""Contains(SHAPE_POLY_SET self, VECTOR2I aP, int aSubpolyIndex=-1, int aAccuracy=0, bool aUseBBoxCaches=False) -> bool"""
7177 return _pcbnew.SHAPE_POLY_SET_Contains(self, aP, aSubpolyIndex, aAccuracy, aUseBBoxCaches)
7180 r"""IsEmpty(SHAPE_POLY_SET self) -> bool"""
7181 return _pcbnew.SHAPE_POLY_SET_IsEmpty(self)
7186 RemoveVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices)
7188 return _pcbnew.SHAPE_POLY_SET_RemoveVertex(self, *args)
7191 r"""RemoveAllContours(SHAPE_POLY_SET self)"""
7192 return _pcbnew.SHAPE_POLY_SET_RemoveAllContours(self)
7195 r"""RemoveContour(SHAPE_POLY_SET self, int aContourIdx, int aPolygonIdx=-1)"""
7196 return _pcbnew.SHAPE_POLY_SET_RemoveContour(self, aContourIdx, aPolygonIdx)
7199 r"""RemoveNullSegments(SHAPE_POLY_SET self) -> int"""
7200 return _pcbnew.SHAPE_POLY_SET_RemoveNullSegments(self)
7204 SetVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX const & aIndex, VECTOR2I aPos)
7205 SetVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aPos)
7207 return _pcbnew.SHAPE_POLY_SET_SetVertex(self, *args)
7210 r"""TotalVertices(SHAPE_POLY_SET self) -> int"""
7211 return _pcbnew.SHAPE_POLY_SET_TotalVertices(self)
7214 r"""DeletePolygon(SHAPE_POLY_SET self, int aIdx)"""
7215 return _pcbnew.SHAPE_POLY_SET_DeletePolygon(self, aIdx)
7218 r"""DeletePolygonAndTriangulationData(SHAPE_POLY_SET self, int aIdx, bool aUpdateHash=True)"""
7219 return _pcbnew.SHAPE_POLY_SET_DeletePolygonAndTriangulationData(self, aIdx, aUpdateHash)
7222 r"""UpdateTriangulationDataHash(SHAPE_POLY_SET self)"""
7223 return _pcbnew.SHAPE_POLY_SET_UpdateTriangulationDataHash(self)
7226 r"""ChamferPolygon(SHAPE_POLY_SET self, unsigned int aDistance, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
7227 return _pcbnew.SHAPE_POLY_SET_ChamferPolygon(self, aDistance, aIndex)
7230 r"""FilletPolygon(SHAPE_POLY_SET self, unsigned int aRadius, int aErrorMax, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
7231 return _pcbnew.SHAPE_POLY_SET_FilletPolygon(self, aRadius, aErrorMax, aIndex)
7234 r"""Chamfer(SHAPE_POLY_SET self, int aDistance) -> SHAPE_POLY_SET"""
7235 return _pcbnew.SHAPE_POLY_SET_Chamfer(self, aDistance)
7238 r"""Fillet(SHAPE_POLY_SET self, int aRadius, int aErrorMax) -> SHAPE_POLY_SET"""
7239 return _pcbnew.SHAPE_POLY_SET_Fillet(self, aRadius, aErrorMax)
7246 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToPolygon(self, *args)
7250 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, bool aOutlineOnly, VECTOR2I aNearest) -> SEG::ecoord
7251 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, bool aOutlineOnly=False) -> SEG::ecoord
7253 return _pcbnew.SHAPE_POLY_SET_SquaredDistance(self, *args)
7256 r"""SquaredDistanceToSeg(SHAPE_POLY_SET self, SEG aSegment, VECTOR2I aNearest=None) -> SEG::ecoord"""
7257 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToSeg(self, aSegment, aNearest)
7260 r"""IsVertexInHole(SHAPE_POLY_SET self, int aGlobalIdx) -> bool"""
7261 return _pcbnew.SHAPE_POLY_SET_IsVertexInHole(self, aGlobalIdx)
7265 r"""BuildPolysetFromOrientedPaths(std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const & aPaths, bool aReverseOrientation=False, bool aEvenOdd=False) -> SHAPE_POLY_SET"""
7266 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation, aEvenOdd)
7269_pcbnew.SHAPE_POLY_SET_swigregister(SHAPE_POLY_SET)
7272 r"""SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const & aPaths, bool aReverseOrientation=False, bool aEvenOdd=False) -> SHAPE_POLY_SET"""
7273 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation, aEvenOdd)
7276 r"""Proxy of C++ SHAPE_RECT class."""
7278 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7279 __repr__ = _swig_repr
7283 __init__(SHAPE_RECT self) -> SHAPE_RECT
7284 __init__(SHAPE_RECT self, BOX2I aBox) -> SHAPE_RECT
7285 __init__(SHAPE_RECT self, int aX0, int aY0, int aW, int aH) -> SHAPE_RECT
7286 __init__(SHAPE_RECT self, VECTOR2I aP0, int aW, int aH) -> SHAPE_RECT
7287 __init__(SHAPE_RECT self, SHAPE_RECT aOther) -> SHAPE_RECT
7289 _pcbnew.SHAPE_RECT_swiginit(self, _pcbnew.new_SHAPE_RECT(*args))
7292 r"""BBox(SHAPE_RECT self, int aClearance=0) -> BOX2I"""
7293 return _pcbnew.SHAPE_RECT_BBox(self, aClearance)
7296 r"""Diagonal(SHAPE_RECT self) -> int"""
7297 return _pcbnew.SHAPE_RECT_Diagonal(self)
7301 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
7302 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7303 Collide(SHAPE_RECT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7305 return _pcbnew.SHAPE_RECT_Collide(self, *args)
7308 r"""GetPosition(SHAPE_RECT self) -> VECTOR2I"""
7309 return _pcbnew.SHAPE_RECT_GetPosition(self)
7312 r"""GetSize(SHAPE_RECT self) -> VECTOR2I"""
7313 return _pcbnew.SHAPE_RECT_GetSize(self)
7316 r"""GetWidth(SHAPE_RECT self) -> int"""
7317 return _pcbnew.SHAPE_RECT_GetWidth(self)
7320 r"""GetHeight(SHAPE_RECT self) -> int"""
7321 return _pcbnew.SHAPE_RECT_GetHeight(self)
7324 r"""Rotate(SHAPE_RECT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7325 return _pcbnew.SHAPE_RECT_Rotate(self, *args)
7328 r"""Outline(SHAPE_RECT self) -> SHAPE_LINE_CHAIN"""
7329 return _pcbnew.SHAPE_RECT_Outline(self)
7332 r"""Format(SHAPE_RECT self, bool aCplusPlus=True) -> string"""
7333 return _pcbnew.SHAPE_RECT_Format(self, aCplusPlus)
7334 __swig_destroy__ = _pcbnew.delete_SHAPE_RECT
7337_pcbnew.SHAPE_RECT_swigregister(SHAPE_RECT)
7340 r"""Proxy of C++ SHAPE_SEGMENT class."""
7342 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7343 __repr__ = _swig_repr
7347 __init__(SHAPE_SEGMENT self) -> SHAPE_SEGMENT
7348 __init__(SHAPE_SEGMENT self, VECTOR2I aA, VECTOR2I aB, int aWidth=0) -> SHAPE_SEGMENT
7349 __init__(SHAPE_SEGMENT self, SEG aSeg, int aWidth=0) -> SHAPE_SEGMENT
7351 _pcbnew.SHAPE_SEGMENT_swiginit(self, _pcbnew.new_SHAPE_SEGMENT(*args))
7352 __swig_destroy__ = _pcbnew.delete_SHAPE_SEGMENT
7355 r"""BBox(SHAPE_SEGMENT self, int aClearance=0) -> BOX2I"""
7356 return _pcbnew.SHAPE_SEGMENT_BBox(self, aClearance)
7360 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
7361 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7362 Collide(SHAPE_SEGMENT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7363 Collide(SHAPE_SEGMENT self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7365 return _pcbnew.SHAPE_SEGMENT_Collide(self, *args)
7368 r"""SetSeg(SHAPE_SEGMENT self, SEG aSeg)"""
7369 return _pcbnew.SHAPE_SEGMENT_SetSeg(self, aSeg)
7372 r"""GetSeg(SHAPE_SEGMENT self) -> SEG"""
7373 return _pcbnew.SHAPE_SEGMENT_GetSeg(self)
7376 r"""SetWidth(SHAPE_SEGMENT self, int aWidth)"""
7377 return _pcbnew.SHAPE_SEGMENT_SetWidth(self, aWidth)
7380 r"""GetWidth(SHAPE_SEGMENT self) -> int"""
7381 return _pcbnew.SHAPE_SEGMENT_GetWidth(self)
7384 r"""Rotate(SHAPE_SEGMENT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7385 return _pcbnew.SHAPE_SEGMENT_Rotate(self, *args)
7388 r"""Is45Degree(SHAPE_SEGMENT self, EDA_ANGLE aTollerance=EDA_ANGLE( 1.0, DEGREES_T )) -> bool"""
7389 return _pcbnew.SHAPE_SEGMENT_Is45Degree(self, *args)
7392 r"""Format(SHAPE_SEGMENT self, bool aCplusPlus=True) -> string"""
7393 return _pcbnew.SHAPE_SEGMENT_Format(self, aCplusPlus)
7396_pcbnew.SHAPE_SEGMENT_swigregister(SHAPE_SEGMENT)
7399 r"""Proxy of C++ SHAPE_SIMPLE class."""
7401 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7402 __repr__ = _swig_repr
7406 __init__(SHAPE_SIMPLE self) -> SHAPE_SIMPLE
7407 __init__(SHAPE_SIMPLE self, SHAPE_LINE_CHAIN aPoly) -> SHAPE_SIMPLE
7408 __init__(SHAPE_SIMPLE self, SHAPE_SIMPLE aOther) -> SHAPE_SIMPLE
7410 _pcbnew.SHAPE_SIMPLE_swiginit(self, _pcbnew.new_SHAPE_SIMPLE(*args))
7413 r"""Clear(SHAPE_SIMPLE self)"""
7414 return _pcbnew.SHAPE_SIMPLE_Clear(self)
7417 r"""BBox(SHAPE_SIMPLE self, int aClearance=0) -> BOX2I"""
7418 return _pcbnew.SHAPE_SIMPLE_BBox(self, aClearance)
7421 r"""PointCount(SHAPE_SIMPLE self) -> int"""
7422 return _pcbnew.SHAPE_SIMPLE_PointCount(self)
7425 r"""CPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2I"""
7426 return _pcbnew.SHAPE_SIMPLE_CPoint(self, aIndex)
7429 r"""CDPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2D const"""
7430 return _pcbnew.SHAPE_SIMPLE_CDPoint(self, aIndex)
7433 r"""Vertices(SHAPE_SIMPLE self) -> SHAPE_LINE_CHAIN"""
7434 return _pcbnew.SHAPE_SIMPLE_Vertices(self)
7438 Append(SHAPE_SIMPLE self, int aX, int aY)
7439 Append(SHAPE_SIMPLE self, VECTOR2I aP)
7441 return _pcbnew.SHAPE_SIMPLE_Append(self, *args)
7443 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
7444 r"""Collide(SHAPE_SIMPLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
7445 return _pcbnew.SHAPE_SIMPLE_Collide(self, aSeg, aClearance, aActual, aLocation)
7448 r"""Rotate(SHAPE_SIMPLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7449 return _pcbnew.SHAPE_SIMPLE_Rotate(self, *args)
7450 __swig_destroy__ = _pcbnew.delete_SHAPE_SIMPLE
7453_pcbnew.SHAPE_SIMPLE_swigregister(SHAPE_SIMPLE)
7456 r"""Proxy of C++ std::vector< std::shared_ptr< SHAPE > > class."""
7458 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7459 __repr__ = _swig_repr
7462 r"""iterator(VECTOR_SHAPEPTR self) -> SwigPyIterator"""
7463 return _pcbnew.VECTOR_SHAPEPTR_iterator(self)
7468 r"""__nonzero__(VECTOR_SHAPEPTR self) -> bool"""
7469 return _pcbnew.VECTOR_SHAPEPTR___nonzero__(self)
7472 r"""__bool__(VECTOR_SHAPEPTR self) -> bool"""
7473 return _pcbnew.VECTOR_SHAPEPTR___bool__(self)
7476 r"""__len__(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7477 return _pcbnew.VECTOR_SHAPEPTR___len__(self)
7480 r"""__getslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j) -> VECTOR_SHAPEPTR"""
7481 return _pcbnew.VECTOR_SHAPEPTR___getslice__(self, i, j)
7485 __setslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)
7486 __setslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j, VECTOR_SHAPEPTR v)
7488 return _pcbnew.VECTOR_SHAPEPTR___setslice__(self, *args)
7491 r"""__delslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)"""
7492 return _pcbnew.VECTOR_SHAPEPTR___delslice__(self, i, j)
7496 __delitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i)
7497 __delitem__(VECTOR_SHAPEPTR self, PySliceObject * slice)
7499 return _pcbnew.VECTOR_SHAPEPTR___delitem__(self, *args)
7503 __getitem__(VECTOR_SHAPEPTR self, PySliceObject * slice) -> VECTOR_SHAPEPTR
7504 __getitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &
7506 return _pcbnew.VECTOR_SHAPEPTR___getitem__(self, *args)
7510 __setitem__(VECTOR_SHAPEPTR self, PySliceObject * slice, VECTOR_SHAPEPTR v)
7511 __setitem__(VECTOR_SHAPEPTR self, PySliceObject * slice)
7512 __setitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7514 return _pcbnew.VECTOR_SHAPEPTR___setitem__(self, *args)
7517 r"""pop(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type"""
7518 return _pcbnew.VECTOR_SHAPEPTR_pop(self)
7521 r"""append(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7522 return _pcbnew.VECTOR_SHAPEPTR_append(self, x)
7525 r"""empty(VECTOR_SHAPEPTR self) -> bool"""
7526 return _pcbnew.VECTOR_SHAPEPTR_empty(self)
7529 r"""size(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7530 return _pcbnew.VECTOR_SHAPEPTR_size(self)
7533 r"""swap(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR v)"""
7534 return _pcbnew.VECTOR_SHAPEPTR_swap(self, v)
7537 r"""begin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7538 return _pcbnew.VECTOR_SHAPEPTR_begin(self)
7541 r"""end(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7542 return _pcbnew.VECTOR_SHAPEPTR_end(self)
7545 r"""rbegin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7546 return _pcbnew.VECTOR_SHAPEPTR_rbegin(self)
7549 r"""rend(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7550 return _pcbnew.VECTOR_SHAPEPTR_rend(self)
7553 r"""clear(VECTOR_SHAPEPTR self)"""
7554 return _pcbnew.VECTOR_SHAPEPTR_clear(self)
7557 r"""get_allocator(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::allocator_type"""
7558 return _pcbnew.VECTOR_SHAPEPTR_get_allocator(self)
7561 r"""pop_back(VECTOR_SHAPEPTR self)"""
7562 return _pcbnew.VECTOR_SHAPEPTR_pop_back(self)
7566 erase(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos) -> std::vector< std::shared_ptr< SHAPE > >::iterator
7567 erase(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator first, std::vector< std::shared_ptr< SHAPE > >::iterator last) -> std::vector< std::shared_ptr< SHAPE > >::iterator
7569 return _pcbnew.VECTOR_SHAPEPTR_erase(self, *args)
7573 __init__(VECTOR_SHAPEPTR self) -> VECTOR_SHAPEPTR
7574 __init__(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR other) -> VECTOR_SHAPEPTR
7575 __init__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type size) -> VECTOR_SHAPEPTR
7576 __init__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type size, std::vector< std::shared_ptr< SHAPE > >::value_type const & value) -> VECTOR_SHAPEPTR
7578 _pcbnew.VECTOR_SHAPEPTR_swiginit(self, _pcbnew.new_VECTOR_SHAPEPTR(*args))
7581 r"""push_back(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7582 return _pcbnew.VECTOR_SHAPEPTR_push_back(self, x)
7585 r"""front(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7586 return _pcbnew.VECTOR_SHAPEPTR_front(self)
7589 r"""back(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7590 return _pcbnew.VECTOR_SHAPEPTR_back(self)
7593 r"""assign(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7594 return _pcbnew.VECTOR_SHAPEPTR_assign(self, n, x)
7598 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size)
7599 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7601 return _pcbnew.VECTOR_SHAPEPTR_resize(self, *args)
7605 insert(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos, std::vector< std::shared_ptr< SHAPE > >::value_type const & x) -> std::vector< std::shared_ptr< SHAPE > >::iterator
7606 insert(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos, std::vector< std::shared_ptr< SHAPE > >::size_type n, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7608 return _pcbnew.VECTOR_SHAPEPTR_insert(self, *args)
7611 r"""reserve(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n)"""
7612 return _pcbnew.VECTOR_SHAPEPTR_reserve(self, n)
7615 r"""capacity(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7616 return _pcbnew.VECTOR_SHAPEPTR_capacity(self)
7624 except StopIteration:
7627 __swig_destroy__ = _pcbnew.delete_VECTOR_SHAPEPTR
7630_pcbnew.VECTOR_SHAPEPTR_swigregister(VECTOR_SHAPEPTR)
7634 r"""Cast_to_SHAPE_ARC(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_ARC >"""
7635 return _pcbnew.Cast_to_SHAPE_ARC(_self)
7638 r"""Cast_to_SHAPE_CIRCLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_CIRCLE >"""
7639 return _pcbnew.Cast_to_SHAPE_CIRCLE(_self)
7642 r"""Cast_to_SHAPE_COMPOUND(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_COMPOUND >"""
7643 return _pcbnew.Cast_to_SHAPE_COMPOUND(_self)
7646 r"""Cast_to_SHAPE_LINE_CHAIN(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_LINE_CHAIN >"""
7647 return _pcbnew.Cast_to_SHAPE_LINE_CHAIN(_self)
7650 r"""Cast_to_SHAPE_POLY_SET(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_POLY_SET >"""
7651 return _pcbnew.Cast_to_SHAPE_POLY_SET(_self)
7654 r"""Cast_to_SHAPE_RECT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_RECT >"""
7655 return _pcbnew.Cast_to_SHAPE_RECT(_self)
7658 r"""Cast_to_SHAPE_SEGMENT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SEGMENT >"""
7659 return _pcbnew.Cast_to_SHAPE_SEGMENT(_self)
7662 r"""Cast_to_SHAPE_SIMPLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SIMPLE >"""
7663 return _pcbnew.Cast_to_SHAPE_SIMPLE(_self)
7666 r"""IsUTF8(char const * aString) -> bool"""
7667 return _pcbnew.IsUTF8(aString)
7669 r"""Proxy of C++ UTF8 class."""
7671 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7672 __repr__ = _swig_repr
7676 __init__(UTF8 self, wxString o) -> UTF8
7677 __init__(UTF8 self, char const * txt) -> UTF8
7678 __init__(UTF8 self, wchar_t const * txt) -> UTF8
7679 __init__(UTF8 self, string o) -> UTF8
7682 _pcbnew.UTF8_swiginit(self, _pcbnew.new_UTF8(*args))
7683 __swig_destroy__ = _pcbnew.delete_UTF8
7686 r"""c_str(UTF8 self) -> char const *"""
7687 return _pcbnew.UTF8_c_str(self)
7690 r"""empty(UTF8 self) -> bool"""
7691 return _pcbnew.UTF8_empty(self)
7695 find(UTF8 self, char c) -> std::string::size_type
7696 find(UTF8 self, char c, size_t s) -> std::string::size_type
7698 return _pcbnew.UTF8_find(self, *args)
7701 r"""clear(UTF8 self)"""
7702 return _pcbnew.UTF8_clear(self)
7705 r"""length(UTF8 self) -> std::string::size_type"""
7706 return _pcbnew.UTF8_length(self)
7709 r"""size(UTF8 self) -> std::string::size_type"""
7710 return _pcbnew.UTF8_size(self)
7713 r"""compare(UTF8 self, string s) -> int"""
7714 return _pcbnew.UTF8_compare(self, s)
7718 __eq__(UTF8 self, UTF8 rhs) -> bool
7719 __eq__(UTF8 self, string rhs) -> bool
7720 __eq__(UTF8 self, char const * s) -> bool
7722 return _pcbnew.UTF8___eq__(self, *args)
7725 r"""find_first_of(UTF8 self, string str, std::string::size_type pos=0) -> std::string::size_type"""
7726 return _pcbnew.UTF8_find_first_of(self, str, pos)
7730 __iadd__(UTF8 self, UTF8 str) -> UTF8
7731 __iadd__(UTF8 self, char ch) -> UTF8
7732 __iadd__(UTF8 self, char const * s) -> UTF8
7733 __iadd__(UTF8 self, unsigned int w_ch) -> UTF8
7735 return _pcbnew.UTF8___iadd__(self, *args)
7736 npos = _pcbnew.UTF8_npos
7740 r"""substr(UTF8 self, size_t pos=0, size_t len=npos) -> string"""
7741 return _pcbnew.UTF8_substr(self, *args)
7744 r"""utf8_to_string(UTF8 self) -> string"""
7745 return _pcbnew.UTF8_utf8_to_string(self)
7748 r"""wx_str(UTF8 self) -> wxString"""
7749 return _pcbnew.UTF8_wx_str(self)
7752 r"""utf8_to_wxstring(UTF8 self) -> wxString"""
7753 return _pcbnew.UTF8_utf8_to_wxstring(self)
7756 r"""begin(UTF8 self) -> std::string::const_iterator"""
7757 return _pcbnew.UTF8_begin(self)
7760 r"""end(UTF8 self) -> std::string::const_iterator"""
7761 return _pcbnew.UTF8_end(self)
7764 r"""Cast_to_CChar(UTF8 self) -> char const *"""
7765 return _pcbnew.UTF8_Cast_to_CChar(self)
7780_pcbnew.UTF8_swigregister(UTF8)
7783 r"""Proxy of C++ LIB_ID class."""
7785 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7786 __repr__ = _swig_repr
7791 __init__(LIB_ID self, wxString aLibraryName, wxString aItemName) -> LIB_ID
7793 _pcbnew.LIB_ID_swiginit(self, _pcbnew.new_LIB_ID(*args))
7796 r"""Parse(LIB_ID self, UTF8 aId, bool aFix=False) -> int"""
7797 return _pcbnew.LIB_ID_Parse(self, aId, aFix)
7800 r"""GetLibNickname(LIB_ID self) -> UTF8"""
7801 return _pcbnew.LIB_ID_GetLibNickname(self)
7804 r"""GetUniStringLibNickname(LIB_ID self) -> wxString"""
7805 return _pcbnew.LIB_ID_GetUniStringLibNickname(self)
7808 r"""SetLibNickname(LIB_ID self, UTF8 aLibNickname) -> int"""
7809 return _pcbnew.LIB_ID_SetLibNickname(self, aLibNickname)
7812 r"""GetLibItemName(LIB_ID self) -> UTF8"""
7813 return _pcbnew.LIB_ID_GetLibItemName(self)
7816 r"""GetUniStringLibItemName(LIB_ID self) -> wxString"""
7817 return _pcbnew.LIB_ID_GetUniStringLibItemName(self)
7820 r"""SetLibItemName(LIB_ID self, UTF8 aLibItemName) -> int"""
7821 return _pcbnew.LIB_ID_SetLibItemName(self, aLibItemName)
7824 r"""GetSubLibraryName(LIB_ID self) -> UTF8"""
7825 return _pcbnew.LIB_ID_GetSubLibraryName(self)
7828 r"""SetSubLibraryName(LIB_ID self, UTF8 aName)"""
7829 return _pcbnew.LIB_ID_SetSubLibraryName(self, aName)
7832 r"""GetUniStringSubLibraryName(LIB_ID self) -> wxString"""
7833 return _pcbnew.LIB_ID_GetUniStringSubLibraryName(self)
7836 r"""GetFullLibraryName(LIB_ID self) -> wxString"""
7837 return _pcbnew.LIB_ID_GetFullLibraryName(self)
7840 r"""GetUniStringLibId(LIB_ID self) -> wxString"""
7841 return _pcbnew.LIB_ID_GetUniStringLibId(self)
7847 Format(UTF8 aLibraryName, UTF8 aLibItemName) -> UTF8
7849 return _pcbnew.LIB_ID_Format(*args)
7852 r"""IsValid(LIB_ID self) -> bool"""
7853 return _pcbnew.LIB_ID_IsValid(self)
7856 r"""IsLegacy(LIB_ID self) -> bool"""
7857 return _pcbnew.LIB_ID_IsLegacy(self)
7860 r"""clear(LIB_ID self)"""
7861 return _pcbnew.LIB_ID_clear(self)
7864 r"""empty(LIB_ID self) -> bool"""
7865 return _pcbnew.LIB_ID_empty(self)
7868 r"""compare(LIB_ID self, LIB_ID aLibId) -> int"""
7869 return _pcbnew.LIB_ID_compare(self, aLibId)
7872 r"""__lt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7873 return _pcbnew.LIB_ID___lt__(self, aLibId)
7876 r"""__gt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7877 return _pcbnew.LIB_ID___gt__(self, aLibId)
7880 r"""__eq__(LIB_ID self, LIB_ID aLibId) -> bool"""
7881 return _pcbnew.LIB_ID___eq__(self, aLibId)
7884 r"""__ne__(LIB_ID self, LIB_ID aLibId) -> bool"""
7885 return _pcbnew.LIB_ID___ne__(self, aLibId)
7889 r"""HasIllegalChars(UTF8 aLibItemName) -> int"""
7890 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
7894 r"""FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
7895 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
7899 r"""FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
7900 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
7901 __swig_destroy__ = _pcbnew.delete_LIB_ID
7904_pcbnew.LIB_ID_swigregister(LIB_ID)
7911 return _pcbnew.LIB_ID_Format(*args)
7914 r"""LIB_ID_HasIllegalChars(UTF8 aLibItemName) -> int"""
7915 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
7918 r"""LIB_ID_FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
7919 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
7922 r"""LIB_ID_FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
7923 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
7926 r"""Proxy of C++ BASE_SET class."""
7928 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7931 raise AttributeError(
"No constructor defined")
7932 __repr__ = _swig_repr
7933 __swig_destroy__ = _pcbnew.delete_BASE_SET
7936_pcbnew.BASE_SET_swigregister(BASE_SET)
7939 r"""Proxy of C++ PCB_IO_MGR class."""
7941 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7942 __repr__ = _swig_repr
7943 PCB_FILE_UNKNOWN = _pcbnew.PCB_IO_MGR_PCB_FILE_UNKNOWN
7945 KICAD_SEXP = _pcbnew.PCB_IO_MGR_KICAD_SEXP
7947 LEGACY = _pcbnew.PCB_IO_MGR_LEGACY
7949 ALTIUM_CIRCUIT_MAKER = _pcbnew.PCB_IO_MGR_ALTIUM_CIRCUIT_MAKER
7951 ALTIUM_CIRCUIT_STUDIO = _pcbnew.PCB_IO_MGR_ALTIUM_CIRCUIT_STUDIO
7953 ALTIUM_DESIGNER = _pcbnew.PCB_IO_MGR_ALTIUM_DESIGNER
7955 CADSTAR_PCB_ARCHIVE = _pcbnew.PCB_IO_MGR_CADSTAR_PCB_ARCHIVE
7957 EAGLE = _pcbnew.PCB_IO_MGR_EAGLE
7959 EASYEDA = _pcbnew.PCB_IO_MGR_EASYEDA
7961 EASYEDAPRO = _pcbnew.PCB_IO_MGR_EASYEDAPRO
7963 FABMASTER = _pcbnew.PCB_IO_MGR_FABMASTER
7965 GEDA_PCB = _pcbnew.PCB_IO_MGR_GEDA_PCB
7967 PCAD = _pcbnew.PCB_IO_MGR_PCAD
7969 SOLIDWORKS_PCB = _pcbnew.PCB_IO_MGR_SOLIDWORKS_PCB
7971 IPC2581 = _pcbnew.PCB_IO_MGR_IPC2581
7973 FILE_TYPE_NONE = _pcbnew.PCB_IO_MGR_FILE_TYPE_NONE
7978 r"""PluginFind(PCB_IO_MGR::PCB_FILE_T aFileType) -> PCB_IO"""
7979 return _pcbnew.PCB_IO_MGR_PluginFind(aFileType)
7983 r"""ShowType(PCB_IO_MGR::PCB_FILE_T aFileType) -> wxString"""
7984 return _pcbnew.PCB_IO_MGR_ShowType(aFileType)
7988 r"""EnumFromStr(wxString aFileType) -> PCB_IO_MGR::PCB_FILE_T"""
7989 return _pcbnew.PCB_IO_MGR_EnumFromStr(aFileType)
7993 r"""FindPluginTypeFromBoardPath(wxString aFileName, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
7994 return _pcbnew.PCB_IO_MGR_FindPluginTypeFromBoardPath(aFileName, aCtl)
7998 r"""GuessPluginTypeFromLibPath(wxString aLibPath, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
7999 return _pcbnew.PCB_IO_MGR_GuessPluginTypeFromLibPath(aLibPath, aCtl)
8002 def Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None):
8003 r"""Load(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aAppendToMe=None, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
8004 return _pcbnew.PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
8007 def Save(aFileType, aFileName, aBoard, aProperties=None):
8008 r"""Save(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
8009 return _pcbnew.PCB_IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
8013 r"""ConvertLibrary(STRING_UTF8_MAP * aOldFileProps, wxString aOldFilePath, wxString aNewFilePath) -> bool"""
8014 return _pcbnew.PCB_IO_MGR_ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath)
8017 r"""__init__(PCB_IO_MGR self) -> PCB_IO_MGR"""
8018 _pcbnew.PCB_IO_MGR_swiginit(self, _pcbnew.new_PCB_IO_MGR())
8019 __swig_destroy__ = _pcbnew.delete_PCB_IO_MGR
8022_pcbnew.PCB_IO_MGR_swigregister(PCB_IO_MGR)
8025 r"""PCB_IO_MGR_PluginFind(PCB_IO_MGR::PCB_FILE_T aFileType) -> PCB_IO"""
8026 return _pcbnew.PCB_IO_MGR_PluginFind(aFileType)
8029 r"""PCB_IO_MGR_ShowType(PCB_IO_MGR::PCB_FILE_T aFileType) -> wxString"""
8030 return _pcbnew.PCB_IO_MGR_ShowType(aFileType)
8033 r"""PCB_IO_MGR_EnumFromStr(wxString aFileType) -> PCB_IO_MGR::PCB_FILE_T"""
8034 return _pcbnew.PCB_IO_MGR_EnumFromStr(aFileType)
8037 r"""PCB_IO_MGR_FindPluginTypeFromBoardPath(wxString aFileName, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
8038 return _pcbnew.PCB_IO_MGR_FindPluginTypeFromBoardPath(aFileName, aCtl)
8041 r"""PCB_IO_MGR_GuessPluginTypeFromLibPath(wxString aLibPath, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
8042 return _pcbnew.PCB_IO_MGR_GuessPluginTypeFromLibPath(aLibPath, aCtl)
8044def PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None):
8045 r"""PCB_IO_MGR_Load(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aAppendToMe=None, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
8046 return _pcbnew.PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
8049 r"""PCB_IO_MGR_Save(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
8050 return _pcbnew.PCB_IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
8053 r"""PCB_IO_MGR_ConvertLibrary(STRING_UTF8_MAP * aOldFileProps, wxString aOldFilePath, wxString aNewFilePath) -> bool"""
8054 return _pcbnew.PCB_IO_MGR_ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath)
8057 r"""Proxy of C++ PCB_IO class."""
8059 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8062 raise AttributeError(
"No constructor defined - class is abstract")
8063 __repr__ = _swig_repr
8066 r"""GetBoardFileDesc(PCB_IO self) -> IO_BASE::IO_FILE_DESC const"""
8067 return _pcbnew.PCB_IO_GetBoardFileDesc(self)
8070 r"""CanReadBoard(PCB_IO self, wxString aFileName) -> bool"""
8071 return _pcbnew.PCB_IO_CanReadBoard(self, aFileName)
8074 r"""CanReadFootprint(PCB_IO self, wxString aFileName) -> bool"""
8075 return _pcbnew.PCB_IO_CanReadFootprint(self, aFileName)
8078 r"""SetQueryUserCallback(PCB_IO self, std::function< bool (wxString,int,wxString,wxString) > aCallback)"""
8079 return _pcbnew.PCB_IO_SetQueryUserCallback(self, aCallback)
8081 def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None):
8082 r"""LoadBoard(PCB_IO self, wxString aFileName, BOARD aAppendToMe, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None) -> BOARD"""
8083 return _pcbnew.PCB_IO_LoadBoard(self, aFileName, aAppendToMe, aProperties, aProject)
8086 r"""GetImportedCachedLibraryFootprints(PCB_IO self) -> std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >"""
8087 return _pcbnew.PCB_IO_GetImportedCachedLibraryFootprints(self)
8090 r"""SaveBoard(PCB_IO self, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
8091 return _pcbnew.PCB_IO_SaveBoard(self, aFileName, aBoard, aProperties)
8094 r"""FootprintEnumerate(PCB_IO self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, STRING_UTF8_MAP const * aProperties=None)"""
8095 return _pcbnew.PCB_IO_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
8098 r"""GetLibraryTimestamp(PCB_IO self, wxString aLibraryPath) -> long long"""
8099 return _pcbnew.PCB_IO_GetLibraryTimestamp(self, aLibraryPath)
8102 r"""PrefetchLib(PCB_IO self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None)"""
8103 return _pcbnew.PCB_IO_PrefetchLib(self, aLibraryPath, aProperties)
8106 r"""ImportFootprint(PCB_IO self, wxString aFootprintPath, wxString aFootprintNameOut, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8107 return _pcbnew.PCB_IO_ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties)
8109 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
8110 r"""FootprintLoad(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8111 return _pcbnew.PCB_IO_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
8114 r"""GetEnumeratedFootprint(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8115 return _pcbnew.PCB_IO_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
8118 r"""FootprintExists(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> bool"""
8119 return _pcbnew.PCB_IO_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
8122 r"""FootprintSave(PCB_IO self, wxString aLibraryPath, FOOTPRINT aFootprint, STRING_UTF8_MAP const * aProperties=None)"""
8123 return _pcbnew.PCB_IO_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
8126 r"""FootprintDelete(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None)"""
8127 return _pcbnew.PCB_IO_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
8130 r"""GetLibraryOptions(PCB_IO self, STRING_UTF8_MAP * aListToAppendTo)"""
8131 return _pcbnew.PCB_IO_GetLibraryOptions(self, aListToAppendTo)
8132 __swig_destroy__ = _pcbnew.delete_PCB_IO
8135 r"""footprintPyEnumerate(PCB_IO self, wxString aLibraryPath, bool aExitOnError) -> wxArrayString"""
8136 return _pcbnew.PCB_IO_footprintPyEnumerate(self, aLibraryPath, aExitOnError)
8143 self.CreateLibrary(aLibraryPath, aProperties)
8147 return self.DeleteLibrary(aLibraryPath, aProperties)
8151 return self.IsLibraryWritable(aLibraryPath)
8155_pcbnew.PCB_IO_swigregister(PCB_IO)
8157SEXPR_BOARD_FILE_VERSION = _pcbnew.SEXPR_BOARD_FILE_VERSION
8159BOARD_FILE_HOST_VERSION = _pcbnew.BOARD_FILE_HOST_VERSION
8161LEGACY_ARC_FORMATTING = _pcbnew.LEGACY_ARC_FORMATTING
8163LEGACY_NET_TIES = _pcbnew.LEGACY_NET_TIES
8165FIRST_NORMALIZED_VERISON = _pcbnew.FIRST_NORMALIZED_VERISON
8168 r"""Proxy of C++ FP_CACHE_ITEM class."""
8170 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8171 __repr__ = _swig_repr
8174 r"""__init__(FP_CACHE_ITEM self, FOOTPRINT aFootprint, WX_FILENAME const & aFileName) -> FP_CACHE_ITEM"""
8175 _pcbnew.FP_CACHE_ITEM_swiginit(self, _pcbnew.new_FP_CACHE_ITEM(aFootprint, aFileName))
8178 r"""GetFileName(FP_CACHE_ITEM self) -> WX_FILENAME const &"""
8179 return _pcbnew.FP_CACHE_ITEM_GetFileName(self)
8182 r"""SetFilePath(FP_CACHE_ITEM self, wxString aFilePath)"""
8183 return _pcbnew.FP_CACHE_ITEM_SetFilePath(self, aFilePath)
8186 r"""GetFootprint(FP_CACHE_ITEM self) -> FOOTPRINT"""
8187 return _pcbnew.FP_CACHE_ITEM_GetFootprint(self)
8188 __swig_destroy__ = _pcbnew.delete_FP_CACHE_ITEM
8191_pcbnew.FP_CACHE_ITEM_swigregister(FP_CACHE_ITEM)
8194 r"""Proxy of C++ FP_CACHE class."""
8196 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8197 __repr__ = _swig_repr
8200 r"""__init__(FP_CACHE self, PCB_IO_KICAD_SEXPR aOwner, wxString aLibraryPath) -> FP_CACHE"""
8201 _pcbnew.FP_CACHE_swiginit(self, _pcbnew.new_FP_CACHE(aOwner, aLibraryPath))
8204 r"""GetPath(FP_CACHE self) -> wxString"""
8205 return _pcbnew.FP_CACHE_GetPath(self)
8208 r"""IsWritable(FP_CACHE self) -> bool"""
8209 return _pcbnew.FP_CACHE_IsWritable(self)
8212 r"""Exists(FP_CACHE self) -> bool"""
8213 return _pcbnew.FP_CACHE_Exists(self)
8216 r"""GetFootprints(FP_CACHE self) -> FP_CACHE_FOOTPRINT_MAP &"""
8217 return _pcbnew.FP_CACHE_GetFootprints(self)
8220 r"""Save(FP_CACHE self, FOOTPRINT aFootprint=None)"""
8221 return _pcbnew.FP_CACHE_Save(self, aFootprint)
8224 r"""Load(FP_CACHE self)"""
8225 return _pcbnew.FP_CACHE_Load(self)
8228 r"""Remove(FP_CACHE self, wxString aFootprintName)"""
8229 return _pcbnew.FP_CACHE_Remove(self, aFootprintName)
8233 r"""GetTimestamp(wxString aLibPath) -> long long"""
8234 return _pcbnew.FP_CACHE_GetTimestamp(aLibPath)
8237 r"""IsModified(FP_CACHE self) -> bool"""
8238 return _pcbnew.FP_CACHE_IsModified(self)
8241 r"""IsPath(FP_CACHE self, wxString aPath) -> bool"""
8242 return _pcbnew.FP_CACHE_IsPath(self, aPath)
8245 r"""SetPath(FP_CACHE self, wxString aPath)"""
8246 return _pcbnew.FP_CACHE_SetPath(self, aPath)
8247 __swig_destroy__ = _pcbnew.delete_FP_CACHE
8250_pcbnew.FP_CACHE_swigregister(FP_CACHE)
8253 r"""FP_CACHE_GetTimestamp(wxString aLibPath) -> long long"""
8254 return _pcbnew.FP_CACHE_GetTimestamp(aLibPath)
8257 r"""Proxy of C++ PCB_IO_KICAD_SEXPR class."""
8259 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8260 __repr__ = _swig_repr
8263 r"""GetLibraryFileDesc(PCB_IO_KICAD_SEXPR self) -> IO_BASE::IO_FILE_DESC const"""
8264 return _pcbnew.PCB_IO_KICAD_SEXPR_GetLibraryFileDesc(self)
8267 r"""GetLibraryDesc(PCB_IO_KICAD_SEXPR self) -> IO_BASE::IO_FILE_DESC const"""
8268 return _pcbnew.PCB_IO_KICAD_SEXPR_GetLibraryDesc(self)
8271 r"""SaveBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
8272 return _pcbnew.PCB_IO_KICAD_SEXPR_SaveBoard(self, aFileName, aBoard, aProperties)
8274 def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None):
8275 r"""LoadBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aAppendToMe, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None) -> BOARD"""
8276 return _pcbnew.PCB_IO_KICAD_SEXPR_LoadBoard(self, aFileName, aAppendToMe, aProperties, aProject)
8278 def DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount):
8279 r"""DoLoad(PCB_IO_KICAD_SEXPR self, LINE_READER aReader, BOARD aAppendToMe, STRING_UTF8_MAP const * aProperties, PROGRESS_REPORTER * aProgressReporter, unsigned int aLineCount) -> BOARD"""
8280 return _pcbnew.PCB_IO_KICAD_SEXPR_DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount)
8283 r"""FootprintEnumerate(PCB_IO_KICAD_SEXPR self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, STRING_UTF8_MAP const * aProperties=None)"""
8284 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
8287 r"""GetEnumeratedFootprint(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8288 return _pcbnew.PCB_IO_KICAD_SEXPR_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
8291 r"""FootprintExists(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> bool"""
8292 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
8295 r"""ImportFootprint(PCB_IO_KICAD_SEXPR self, wxString aFootprintPath, wxString aFootprintNameOut, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8296 return _pcbnew.PCB_IO_KICAD_SEXPR_ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties)
8298 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
8299 r"""FootprintLoad(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8300 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
8303 r"""FootprintSave(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, FOOTPRINT aFootprint, STRING_UTF8_MAP const * aProperties=None)"""
8304 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
8307 r"""FootprintDelete(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None)"""
8308 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
8311 r"""CreateLibrary(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None)"""
8312 return _pcbnew.PCB_IO_KICAD_SEXPR_CreateLibrary(self, aLibraryPath, aProperties)
8315 r"""DeleteLibrary(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None) -> bool"""
8316 return _pcbnew.PCB_IO_KICAD_SEXPR_DeleteLibrary(self, aLibraryPath, aProperties)
8319 r"""IsLibraryWritable(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath) -> bool"""
8320 return _pcbnew.PCB_IO_KICAD_SEXPR_IsLibraryWritable(self, aLibraryPath)
8323 r"""__init__(PCB_IO_KICAD_SEXPR self, int aControlFlags=(CTL_OMIT_INITIAL_COMMENTS|CTL_OMIT_FOOTPRINT_VERSION)) -> PCB_IO_KICAD_SEXPR"""
8324 _pcbnew.PCB_IO_KICAD_SEXPR_swiginit(self, _pcbnew.new_PCB_IO_KICAD_SEXPR(*args))
8325 __swig_destroy__ = _pcbnew.delete_PCB_IO_KICAD_SEXPR
8328 r"""Format(PCB_IO_KICAD_SEXPR self, BOARD_ITEM aItem, int aNestLevel=0)"""
8329 return _pcbnew.PCB_IO_KICAD_SEXPR_Format(self, aItem, aNestLevel)
8332 r"""GetStringOutput(PCB_IO_KICAD_SEXPR self, bool doClear) -> string"""
8333 return _pcbnew.PCB_IO_KICAD_SEXPR_GetStringOutput(self, doClear)
8336 r"""SetOutputFormatter(PCB_IO_KICAD_SEXPR self, OUTPUTFORMATTER aFormatter)"""
8337 return _pcbnew.PCB_IO_KICAD_SEXPR_SetOutputFormatter(self, aFormatter)
8340 r"""Parse(PCB_IO_KICAD_SEXPR self, wxString aClipboardSourceInput) -> BOARD_ITEM"""
8341 return _pcbnew.PCB_IO_KICAD_SEXPR_Parse(self, aClipboardSourceInput)
8344_pcbnew.PCB_IO_KICAD_SEXPR_swigregister(PCB_IO_KICAD_SEXPR)
8347 r"""Proxy of C++ PLOT_CONTROLLER class."""
8349 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8350 __repr__ = _swig_repr
8353 r"""__init__(PLOT_CONTROLLER self, BOARD aBoard) -> PLOT_CONTROLLER"""
8354 _pcbnew.PLOT_CONTROLLER_swiginit(self, _pcbnew.new_PLOT_CONTROLLER(aBoard))
8355 __swig_destroy__ = _pcbnew.delete_PLOT_CONTROLLER
8358 r"""GetPlotOptions(PLOT_CONTROLLER self) -> PCB_PLOT_PARAMS"""
8359 return _pcbnew.PLOT_CONTROLLER_GetPlotOptions(self)
8362 r"""SetLayer(PLOT_CONTROLLER self, int aLayer)"""
8363 return _pcbnew.PLOT_CONTROLLER_SetLayer(self, aLayer)
8366 r"""GetLayer(PLOT_CONTROLLER self) -> int"""
8367 return _pcbnew.PLOT_CONTROLLER_GetLayer(self)
8370 r"""IsPlotOpen(PLOT_CONTROLLER self) -> bool"""
8371 return _pcbnew.PLOT_CONTROLLER_IsPlotOpen(self)
8374 r"""ClosePlot(PLOT_CONTROLLER self)"""
8375 return _pcbnew.PLOT_CONTROLLER_ClosePlot(self)
8378 r"""OpenPlotfile(PLOT_CONTROLLER self, wxString aSuffix, PLOT_FORMAT aFormat, wxString aSheetName=wxEmptyString, wxString aSheetPath=wxEmptyString) -> bool"""
8379 return _pcbnew.PLOT_CONTROLLER_OpenPlotfile(self, *args)
8382 r"""PlotLayer(PLOT_CONTROLLER self) -> bool"""
8383 return _pcbnew.PLOT_CONTROLLER_PlotLayer(self)
8386 r"""PlotLayers(PLOT_CONTROLLER self, LSEQ aLayerSequence) -> bool"""
8387 return _pcbnew.PLOT_CONTROLLER_PlotLayers(self, aLayerSequence)
8390 r"""GetPlotFileName(PLOT_CONTROLLER self) -> wxString"""
8391 return _pcbnew.PLOT_CONTROLLER_GetPlotFileName(self)
8394 r"""GetPlotDirName(PLOT_CONTROLLER self) -> wxString"""
8395 return _pcbnew.PLOT_CONTROLLER_GetPlotDirName(self)
8398 r"""SetColorMode(PLOT_CONTROLLER self, bool aColorMode)"""
8399 return _pcbnew.PLOT_CONTROLLER_SetColorMode(self, aColorMode)
8402 r"""GetColorMode(PLOT_CONTROLLER self) -> bool"""
8403 return _pcbnew.PLOT_CONTROLLER_GetColorMode(self)
8406 r"""GetPlotter(PLOT_CONTROLLER self) -> PLOTTER"""
8407 return _pcbnew.PLOT_CONTROLLER_GetPlotter(self)
8410_pcbnew.PLOT_CONTROLLER_swigregister(PLOT_CONTROLLER)
8412DRILL_MARKS_NO_DRILL_SHAPE = _pcbnew.DRILL_MARKS_NO_DRILL_SHAPE
8414DRILL_MARKS_SMALL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_SMALL_DRILL_SHAPE
8416DRILL_MARKS_FULL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_FULL_DRILL_SHAPE
8419 r"""Proxy of C++ PCB_PLOT_PARAMS class."""
8421 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8422 __repr__ = _swig_repr
8425 r"""__init__(PCB_PLOT_PARAMS self) -> PCB_PLOT_PARAMS"""
8426 _pcbnew.PCB_PLOT_PARAMS_swiginit(self, _pcbnew.new_PCB_PLOT_PARAMS())
8429 r"""SetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self, bool aSkip)"""
8430 return _pcbnew.PCB_PLOT_PARAMS_SetSkipPlotNPTH_Pads(self, aSkip)
8433 r"""GetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self) -> bool"""
8434 return _pcbnew.PCB_PLOT_PARAMS_GetSkipPlotNPTH_Pads(self)
8436 def Format(self, aFormatter, aNestLevel, aControl=0):
8437 r"""Format(PCB_PLOT_PARAMS self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControl=0)"""
8438 return _pcbnew.PCB_PLOT_PARAMS_Format(self, aFormatter, aNestLevel, aControl)
8441 r"""Parse(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS_PARSER * aParser)"""
8442 return _pcbnew.PCB_PLOT_PARAMS_Parse(self, aParser)
8445 r"""IsSameAs(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS aPcbPlotParams) -> bool"""
8446 return _pcbnew.PCB_PLOT_PARAMS_IsSameAs(self, aPcbPlotParams)
8449 r"""SetColorSettings(PCB_PLOT_PARAMS self, COLOR_SETTINGS * aSettings)"""
8450 return _pcbnew.PCB_PLOT_PARAMS_SetColorSettings(self, aSettings)
8453 r"""ColorSettings(PCB_PLOT_PARAMS self) -> COLOR_SETTINGS *"""
8454 return _pcbnew.PCB_PLOT_PARAMS_ColorSettings(self)
8457 r"""SetTextMode(PCB_PLOT_PARAMS self, PLOT_TEXT_MODE aVal)"""
8458 return _pcbnew.PCB_PLOT_PARAMS_SetTextMode(self, aVal)
8461 r"""GetTextMode(PCB_PLOT_PARAMS self) -> PLOT_TEXT_MODE"""
8462 return _pcbnew.PCB_PLOT_PARAMS_GetTextMode(self)
8465 r"""SetPlotMode(PCB_PLOT_PARAMS self, OUTLINE_MODE aPlotMode)"""
8466 return _pcbnew.PCB_PLOT_PARAMS_SetPlotMode(self, aPlotMode)
8469 r"""GetPlotMode(PCB_PLOT_PARAMS self) -> OUTLINE_MODE"""
8470 return _pcbnew.PCB_PLOT_PARAMS_GetPlotMode(self)
8473 r"""SetDXFPlotPolygonMode(PCB_PLOT_PARAMS self, bool aFlag)"""
8474 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotPolygonMode(self, aFlag)
8477 r"""GetDXFPlotPolygonMode(PCB_PLOT_PARAMS self) -> bool"""
8478 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotPolygonMode(self)
8481 r"""SetDXFPlotUnits(PCB_PLOT_PARAMS self, DXF_UNITS aUnit)"""
8482 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotUnits(self, aUnit)
8485 r"""GetDXFPlotUnits(PCB_PLOT_PARAMS self) -> DXF_UNITS"""
8486 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotUnits(self)
8489 r"""SetDrillMarksType(PCB_PLOT_PARAMS self, DRILL_MARKS aVal)"""
8490 return _pcbnew.PCB_PLOT_PARAMS_SetDrillMarksType(self, aVal)
8493 r"""GetDrillMarksType(PCB_PLOT_PARAMS self) -> DRILL_MARKS"""
8494 return _pcbnew.PCB_PLOT_PARAMS_GetDrillMarksType(self)
8497 r"""SetScale(PCB_PLOT_PARAMS self, double aVal)"""
8498 return _pcbnew.PCB_PLOT_PARAMS_SetScale(self, aVal)
8501 r"""GetScale(PCB_PLOT_PARAMS self) -> double"""
8502 return _pcbnew.PCB_PLOT_PARAMS_GetScale(self)
8505 r"""SetFineScaleAdjustX(PCB_PLOT_PARAMS self, double aVal)"""
8506 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustX(self, aVal)
8509 r"""GetFineScaleAdjustX(PCB_PLOT_PARAMS self) -> double"""
8510 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustX(self)
8513 r"""SetFineScaleAdjustY(PCB_PLOT_PARAMS self, double aVal)"""
8514 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustY(self, aVal)
8517 r"""GetFineScaleAdjustY(PCB_PLOT_PARAMS self) -> double"""
8518 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustY(self)
8521 r"""SetWidthAdjust(PCB_PLOT_PARAMS self, int aVal)"""
8522 return _pcbnew.PCB_PLOT_PARAMS_SetWidthAdjust(self, aVal)
8525 r"""GetWidthAdjust(PCB_PLOT_PARAMS self) -> int"""
8526 return _pcbnew.PCB_PLOT_PARAMS_GetWidthAdjust(self)
8529 r"""SetAutoScale(PCB_PLOT_PARAMS self, bool aFlag)"""
8530 return _pcbnew.PCB_PLOT_PARAMS_SetAutoScale(self, aFlag)
8533 r"""GetAutoScale(PCB_PLOT_PARAMS self) -> bool"""
8534 return _pcbnew.PCB_PLOT_PARAMS_GetAutoScale(self)
8537 r"""SetMirror(PCB_PLOT_PARAMS self, bool aFlag)"""
8538 return _pcbnew.PCB_PLOT_PARAMS_SetMirror(self, aFlag)
8541 r"""GetMirror(PCB_PLOT_PARAMS self) -> bool"""
8542 return _pcbnew.PCB_PLOT_PARAMS_GetMirror(self)
8545 r"""SetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8546 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadsOnFabLayers(self, aFlag)
8549 r"""GetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8550 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadsOnFabLayers(self)
8553 r"""SetSketchPadLineWidth(PCB_PLOT_PARAMS self, int aWidth)"""
8554 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadLineWidth(self, aWidth)
8557 r"""GetSketchPadLineWidth(PCB_PLOT_PARAMS self) -> int"""
8558 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadLineWidth(self)
8561 r"""SetPlotInvisibleText(PCB_PLOT_PARAMS self, bool aFlag)"""
8562 return _pcbnew.PCB_PLOT_PARAMS_SetPlotInvisibleText(self, aFlag)
8565 r"""GetPlotInvisibleText(PCB_PLOT_PARAMS self) -> bool"""
8566 return _pcbnew.PCB_PLOT_PARAMS_GetPlotInvisibleText(self)
8569 r"""SetPlotValue(PCB_PLOT_PARAMS self, bool aFlag)"""
8570 return _pcbnew.PCB_PLOT_PARAMS_SetPlotValue(self, aFlag)
8573 r"""GetPlotValue(PCB_PLOT_PARAMS self) -> bool"""
8574 return _pcbnew.PCB_PLOT_PARAMS_GetPlotValue(self)
8577 r"""SetPlotReference(PCB_PLOT_PARAMS self, bool aFlag)"""
8578 return _pcbnew.PCB_PLOT_PARAMS_SetPlotReference(self, aFlag)
8581 r"""GetPlotReference(PCB_PLOT_PARAMS self) -> bool"""
8582 return _pcbnew.PCB_PLOT_PARAMS_GetPlotReference(self)
8585 r"""SetPlotFPText(PCB_PLOT_PARAMS self, bool aFlag)"""
8586 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFPText(self, aFlag)
8589 r"""GetPlotFPText(PCB_PLOT_PARAMS self) -> bool"""
8590 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFPText(self)
8593 r"""SetNegative(PCB_PLOT_PARAMS self, bool aFlag)"""
8594 return _pcbnew.PCB_PLOT_PARAMS_SetNegative(self, aFlag)
8597 r"""GetNegative(PCB_PLOT_PARAMS self) -> bool"""
8598 return _pcbnew.PCB_PLOT_PARAMS_GetNegative(self)
8601 r"""SetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self, bool aFlag)"""
8602 return _pcbnew.PCB_PLOT_PARAMS_SetPlotViaOnMaskLayer(self, aFlag)
8605 r"""GetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self) -> bool"""
8606 return _pcbnew.PCB_PLOT_PARAMS_GetPlotViaOnMaskLayer(self)
8609 r"""SetPlotFrameRef(PCB_PLOT_PARAMS self, bool aFlag)"""
8610 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFrameRef(self, aFlag)
8613 r"""GetPlotFrameRef(PCB_PLOT_PARAMS self) -> bool"""
8614 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFrameRef(self)
8617 r"""SetFormat(PCB_PLOT_PARAMS self, PLOT_FORMAT aFormat)"""
8618 return _pcbnew.PCB_PLOT_PARAMS_SetFormat(self, aFormat)
8621 r"""GetFormat(PCB_PLOT_PARAMS self) -> PLOT_FORMAT"""
8622 return _pcbnew.PCB_PLOT_PARAMS_GetFormat(self)
8625 r"""SetOutputDirectory(PCB_PLOT_PARAMS self, wxString aDir)"""
8626 return _pcbnew.PCB_PLOT_PARAMS_SetOutputDirectory(self, aDir)
8629 r"""GetOutputDirectory(PCB_PLOT_PARAMS self) -> wxString"""
8630 return _pcbnew.PCB_PLOT_PARAMS_GetOutputDirectory(self)
8633 r"""SetDisableGerberMacros(PCB_PLOT_PARAMS self, bool aDisable)"""
8634 return _pcbnew.PCB_PLOT_PARAMS_SetDisableGerberMacros(self, aDisable)
8637 r"""GetDisableGerberMacros(PCB_PLOT_PARAMS self) -> bool"""
8638 return _pcbnew.PCB_PLOT_PARAMS_GetDisableGerberMacros(self)
8641 r"""SetUseGerberX2format(PCB_PLOT_PARAMS self, bool aUse)"""
8642 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberX2format(self, aUse)
8645 r"""GetUseGerberX2format(PCB_PLOT_PARAMS self) -> bool"""
8646 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberX2format(self)
8649 r"""SetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self, bool aUse)"""
8650 return _pcbnew.PCB_PLOT_PARAMS_SetIncludeGerberNetlistInfo(self, aUse)
8653 r"""GetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self) -> bool"""
8654 return _pcbnew.PCB_PLOT_PARAMS_GetIncludeGerberNetlistInfo(self)
8657 r"""SetCreateGerberJobFile(PCB_PLOT_PARAMS self, bool aCreate)"""
8658 return _pcbnew.PCB_PLOT_PARAMS_SetCreateGerberJobFile(self, aCreate)
8661 r"""GetCreateGerberJobFile(PCB_PLOT_PARAMS self) -> bool"""
8662 return _pcbnew.PCB_PLOT_PARAMS_GetCreateGerberJobFile(self)
8665 r"""SetUseGerberProtelExtensions(PCB_PLOT_PARAMS self, bool aUse)"""
8666 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberProtelExtensions(self, aUse)
8669 r"""GetUseGerberProtelExtensions(PCB_PLOT_PARAMS self) -> bool"""
8670 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberProtelExtensions(self)
8673 r"""SetGerberPrecision(PCB_PLOT_PARAMS self, int aPrecision)"""
8674 return _pcbnew.PCB_PLOT_PARAMS_SetGerberPrecision(self, aPrecision)
8677 r"""GetGerberPrecision(PCB_PLOT_PARAMS self) -> int"""
8678 return _pcbnew.PCB_PLOT_PARAMS_GetGerberPrecision(self)
8681 r"""SetSvgPrecision(PCB_PLOT_PARAMS self, unsigned int aPrecision)"""
8682 return _pcbnew.PCB_PLOT_PARAMS_SetSvgPrecision(self, aPrecision)
8685 r"""GetSvgPrecision(PCB_PLOT_PARAMS self) -> unsigned int"""
8686 return _pcbnew.PCB_PLOT_PARAMS_GetSvgPrecision(self)
8689 r"""SetBlackAndWhite(PCB_PLOT_PARAMS self, bool blackAndWhite)"""
8690 return _pcbnew.PCB_PLOT_PARAMS_SetBlackAndWhite(self, blackAndWhite)
8693 r"""GetBlackAndWhite(PCB_PLOT_PARAMS self) -> unsigned int"""
8694 return _pcbnew.PCB_PLOT_PARAMS_GetBlackAndWhite(self)
8697 r"""SetSubtractMaskFromSilk(PCB_PLOT_PARAMS self, bool aSubtract)"""
8698 return _pcbnew.PCB_PLOT_PARAMS_SetSubtractMaskFromSilk(self, aSubtract)
8701 r"""GetSubtractMaskFromSilk(PCB_PLOT_PARAMS self) -> bool"""
8702 return _pcbnew.PCB_PLOT_PARAMS_GetSubtractMaskFromSilk(self)
8705 r"""SetLayerSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
8706 return _pcbnew.PCB_PLOT_PARAMS_SetLayerSelection(self, aSelection)
8709 r"""GetLayerSelection(PCB_PLOT_PARAMS self) -> LSET"""
8710 return _pcbnew.PCB_PLOT_PARAMS_GetLayerSelection(self)
8713 r"""SetPlotOnAllLayersSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
8714 return _pcbnew.PCB_PLOT_PARAMS_SetPlotOnAllLayersSelection(self, aSelection)
8717 r"""GetPlotOnAllLayersSelection(PCB_PLOT_PARAMS self) -> LSET"""
8718 return _pcbnew.PCB_PLOT_PARAMS_GetPlotOnAllLayersSelection(self)
8721 r"""SetUseAuxOrigin(PCB_PLOT_PARAMS self, bool aAux)"""
8722 return _pcbnew.PCB_PLOT_PARAMS_SetUseAuxOrigin(self, aAux)
8725 r"""GetUseAuxOrigin(PCB_PLOT_PARAMS self) -> bool"""
8726 return _pcbnew.PCB_PLOT_PARAMS_GetUseAuxOrigin(self)
8729 r"""SetScaleSelection(PCB_PLOT_PARAMS self, int aSelection)"""
8730 return _pcbnew.PCB_PLOT_PARAMS_SetScaleSelection(self, aSelection)
8733 r"""GetScaleSelection(PCB_PLOT_PARAMS self) -> int"""
8734 return _pcbnew.PCB_PLOT_PARAMS_GetScaleSelection(self)
8737 r"""SetA4Output(PCB_PLOT_PARAMS self, int aForce)"""
8738 return _pcbnew.PCB_PLOT_PARAMS_SetA4Output(self, aForce)
8741 r"""GetA4Output(PCB_PLOT_PARAMS self) -> bool"""
8742 return _pcbnew.PCB_PLOT_PARAMS_GetA4Output(self)
8745 r"""GetHPGLPenDiameter(PCB_PLOT_PARAMS self) -> double"""
8746 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenDiameter(self)
8749 r"""SetHPGLPenDiameter(PCB_PLOT_PARAMS self, double aValue) -> bool"""
8750 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenDiameter(self, aValue)
8753 r"""GetHPGLPenSpeed(PCB_PLOT_PARAMS self) -> int"""
8754 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenSpeed(self)
8757 r"""SetHPGLPenSpeed(PCB_PLOT_PARAMS self, int aValue) -> bool"""
8758 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenSpeed(self, aValue)
8761 r"""SetHPGLPenNum(PCB_PLOT_PARAMS self, int aVal)"""
8762 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenNum(self, aVal)
8765 r"""GetHPGLPenNum(PCB_PLOT_PARAMS self) -> int"""
8766 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenNum(self)
8769 r"""SetDashedLineDashRatio(PCB_PLOT_PARAMS self, double aVal)"""
8770 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineDashRatio(self, aVal)
8773 r"""GetDashedLineDashRatio(PCB_PLOT_PARAMS self) -> double"""
8774 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineDashRatio(self)
8777 r"""SetDashedLineGapRatio(PCB_PLOT_PARAMS self, double aVal)"""
8778 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineGapRatio(self, aVal)
8781 r"""GetDashedLineGapRatio(PCB_PLOT_PARAMS self) -> double"""
8782 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineGapRatio(self)
8783 m_PDFFrontFPPropertyPopups = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFFrontFPPropertyPopups_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFFrontFPPropertyPopups_set, doc=
r"""m_PDFFrontFPPropertyPopups : bool""")
8784 m_PDFBackFPPropertyPopups = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFBackFPPropertyPopups_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFBackFPPropertyPopups_set, doc=
r"""m_PDFBackFPPropertyPopups : bool""")
8791 __swig_destroy__ = _pcbnew.delete_PCB_PLOT_PARAMS
8794_pcbnew.PCB_PLOT_PARAMS_swigregister(PCB_PLOT_PARAMS)
8796DXF_UNITS_INCHES = _pcbnew.DXF_UNITS_INCHES
8798DXF_UNITS_MILLIMETERS = _pcbnew.DXF_UNITS_MILLIMETERS
8800PLOT_FORMAT_UNDEFINED = _pcbnew.PLOT_FORMAT_UNDEFINED
8802PLOT_FORMAT_FIRST_FORMAT = _pcbnew.PLOT_FORMAT_FIRST_FORMAT
8804PLOT_FORMAT_HPGL = _pcbnew.PLOT_FORMAT_HPGL
8806PLOT_FORMAT_GERBER = _pcbnew.PLOT_FORMAT_GERBER
8808PLOT_FORMAT_POST = _pcbnew.PLOT_FORMAT_POST
8810PLOT_FORMAT_DXF = _pcbnew.PLOT_FORMAT_DXF
8812PLOT_FORMAT_PDF = _pcbnew.PLOT_FORMAT_PDF
8814PLOT_FORMAT_SVG = _pcbnew.PLOT_FORMAT_SVG
8816PLOT_FORMAT_LAST_FORMAT = _pcbnew.PLOT_FORMAT_LAST_FORMAT
8818PLOT_TEXT_MODE_STROKE = _pcbnew.PLOT_TEXT_MODE_STROKE
8820PLOT_TEXT_MODE_NATIVE = _pcbnew.PLOT_TEXT_MODE_NATIVE
8822PLOT_TEXT_MODE_PHANTOM = _pcbnew.PLOT_TEXT_MODE_PHANTOM
8824PLOT_TEXT_MODE_DEFAULT = _pcbnew.PLOT_TEXT_MODE_DEFAULT
8827 r"""Proxy of C++ PLOTTER class."""
8829 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8832 raise AttributeError(
"No constructor defined - class is abstract")
8833 __repr__ = _swig_repr
8834 DO_NOT_SET_LINE_WIDTH = _pcbnew.PLOTTER_DO_NOT_SET_LINE_WIDTH
8836 USE_DEFAULT_LINE_WIDTH = _pcbnew.PLOTTER_USE_DEFAULT_LINE_WIDTH
8838 __swig_destroy__ = _pcbnew.delete_PLOTTER
8841 r"""GetPlotterType(PLOTTER self) -> PLOT_FORMAT"""
8842 return _pcbnew.PLOTTER_GetPlotterType(self)
8845 r"""StartPlot(PLOTTER self, wxString aPageNumber) -> bool"""
8846 return _pcbnew.PLOTTER_StartPlot(self, aPageNumber)
8849 r"""EndPlot(PLOTTER self) -> bool"""
8850 return _pcbnew.PLOTTER_EndPlot(self)
8853 r"""SetNegative(PLOTTER self, bool aNegative)"""
8854 return _pcbnew.PLOTTER_SetNegative(self, aNegative)
8857 r"""SetColorMode(PLOTTER self, bool aColorMode)"""
8858 return _pcbnew.PLOTTER_SetColorMode(self, aColorMode)
8861 r"""GetColorMode(PLOTTER self) -> bool"""
8862 return _pcbnew.PLOTTER_GetColorMode(self)
8865 r"""SetRenderSettings(PLOTTER self, RENDER_SETTINGS * aSettings)"""
8866 return _pcbnew.PLOTTER_SetRenderSettings(self, aSettings)
8869 r"""RenderSettings(PLOTTER self) -> RENDER_SETTINGS *"""
8870 return _pcbnew.PLOTTER_RenderSettings(self)
8873 r"""SetPageSettings(PLOTTER self, PAGE_INFO const & aPageSettings)"""
8874 return _pcbnew.PLOTTER_SetPageSettings(self, aPageSettings)
8877 r"""PageSettings(PLOTTER self) -> PAGE_INFO &"""
8878 return _pcbnew.PLOTTER_PageSettings(self)
8881 r"""SetCurrentLineWidth(PLOTTER self, int width, void * aData=None)"""
8882 return _pcbnew.PLOTTER_SetCurrentLineWidth(self, width, aData)
8885 r"""GetCurrentLineWidth(PLOTTER self) -> int"""
8886 return _pcbnew.PLOTTER_GetCurrentLineWidth(self)
8889 r"""SetColor(PLOTTER self, COLOR4D color)"""
8890 return _pcbnew.PLOTTER_SetColor(self, color)
8893 r"""SetDash(PLOTTER self, int aLineWidth, LINE_STYLE aLineStyle)"""
8894 return _pcbnew.PLOTTER_SetDash(self, aLineWidth, aLineStyle)
8897 r"""SetCreator(PLOTTER self, wxString aCreator)"""
8898 return _pcbnew.PLOTTER_SetCreator(self, aCreator)
8901 r"""SetTitle(PLOTTER self, wxString aTitle)"""
8902 return _pcbnew.PLOTTER_SetTitle(self, aTitle)
8905 r"""AddLineToHeader(PLOTTER self, wxString aExtraString)"""
8906 return _pcbnew.PLOTTER_AddLineToHeader(self, aExtraString)
8909 r"""ClearHeaderLinesList(PLOTTER self)"""
8910 return _pcbnew.PLOTTER_ClearHeaderLinesList(self)
8913 r"""SetViewport(PLOTTER self, VECTOR2I aOffset, double aIusPerDecimil, double aScale, bool aMirror)"""
8914 return _pcbnew.PLOTTER_SetViewport(self, aOffset, aIusPerDecimil, aScale, aMirror)
8917 r"""OpenFile(PLOTTER self, wxString aFullFilename) -> bool"""
8918 return _pcbnew.PLOTTER_OpenFile(self, aFullFilename)
8921 r"""GetIUsPerDecimil(PLOTTER self) -> double"""
8922 return _pcbnew.PLOTTER_GetIUsPerDecimil(self)
8925 r"""GetPlotterArcLowDef(PLOTTER self) -> int"""
8926 return _pcbnew.PLOTTER_GetPlotterArcLowDef(self)
8929 r"""GetPlotterArcHighDef(PLOTTER self) -> int"""
8930 return _pcbnew.PLOTTER_GetPlotterArcHighDef(self)
8933 r"""Rect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8934 return _pcbnew.PLOTTER_Rect(self, *args)
8937 r"""Circle(PLOTTER self, VECTOR2I pos, int diametre, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8938 return _pcbnew.PLOTTER_Circle(self, *args)
8942 Arc(PLOTTER self, VECTOR2D const & aStart, VECTOR2D const & aMid, VECTOR2D const & aEnd, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH)
8943 Arc(PLOTTER self, VECTOR2D const & aCenter, EDA_ANGLE aStartAngle, EDA_ANGLE aAngle, double aRadius, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH)
8945 return _pcbnew.PLOTTER_Arc(self, *args)
8948 r"""BezierCurve(PLOTTER self, VECTOR2I aStart, VECTOR2I aControl1, VECTOR2I aControl2, VECTOR2I aEnd, int aTolerance, int aLineThickness=USE_DEFAULT_LINE_WIDTH)"""
8949 return _pcbnew.PLOTTER_BezierCurve(self, *args)
8952 r"""PenTo(PLOTTER self, VECTOR2I pos, char plume)"""
8953 return _pcbnew.PLOTTER_PenTo(self, pos, plume)
8956 r"""MoveTo(PLOTTER self, VECTOR2I pos)"""
8957 return _pcbnew.PLOTTER_MoveTo(self, pos)
8960 r"""LineTo(PLOTTER self, VECTOR2I pos)"""
8961 return _pcbnew.PLOTTER_LineTo(self, pos)
8964 r"""FinishTo(PLOTTER self, VECTOR2I pos)"""
8965 return _pcbnew.PLOTTER_FinishTo(self, pos)
8968 r"""PenFinish(PLOTTER self)"""
8969 return _pcbnew.PLOTTER_PenFinish(self)
8973 PlotPoly(PLOTTER self, VECTOR_VECTOR2I aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=None)
8974 PlotPoly(PLOTTER self, SHAPE_LINE_CHAIN aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=
None)
8976 return _pcbnew.PLOTTER_PlotPoly(self, *args)
8979 r"""PlotImage(PLOTTER self, wxImage const & aImage, VECTOR2I aPos, double aScaleFactor)"""
8980 return _pcbnew.PLOTTER_PlotImage(self, aImage, aPos, aScaleFactor)
8983 r"""ThickSegment(PLOTTER self, VECTOR2I start, VECTOR2I end, int width, OUTLINE_MODE tracemode, void * aData)"""
8984 return _pcbnew.PLOTTER_ThickSegment(self, start, end, width, tracemode, aData)
8988 ThickArc(PLOTTER self, EDA_SHAPE aArcShape, OUTLINE_MODE aTraceMode, void * aData)
8989 ThickArc(PLOTTER self, VECTOR2D const & aCentre, EDA_ANGLE aStAngle, EDA_ANGLE aAngle, double aRadius, int aWidth, OUTLINE_MODE aTraceMode, void * aData)
8991 return _pcbnew.PLOTTER_ThickArc(self, *args)
8994 r"""ThickRect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, int width, OUTLINE_MODE tracemode, void * aData)"""
8995 return _pcbnew.PLOTTER_ThickRect(self, p1, p2, width, tracemode, aData)
8998 r"""ThickCircle(PLOTTER self, VECTOR2I pos, int diametre, int width, OUTLINE_MODE tracemode, void * aData)"""
8999 return _pcbnew.PLOTTER_ThickCircle(self, pos, diametre, width, tracemode, aData)
9002 r"""FilledCircle(PLOTTER self, VECTOR2I pos, int diametre, OUTLINE_MODE tracemode, void * aData)"""
9003 return _pcbnew.PLOTTER_FilledCircle(self, pos, diametre, tracemode, aData)
9006 r"""FlashPadCircle(PLOTTER self, VECTOR2I aPadPos, int aDiameter, OUTLINE_MODE aTraceMode, void * aData)"""
9007 return _pcbnew.PLOTTER_FlashPadCircle(self, aPadPos, aDiameter, aTraceMode, aData)
9010 r"""FlashPadOval(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9011 return _pcbnew.PLOTTER_FlashPadOval(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
9014 r"""FlashPadRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9015 return _pcbnew.PLOTTER_FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
9018 r"""FlashPadRoundRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, int aCornerRadius, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9019 return _pcbnew.PLOTTER_FlashPadRoundRect(self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
9022 r"""FlashPadCustom(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, SHAPE_POLY_SET aPolygons, OUTLINE_MODE aTraceMode, void * aData)"""
9023 return _pcbnew.PLOTTER_FlashPadCustom(self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData)
9026 r"""FlashPadTrapez(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aCorners, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9027 return _pcbnew.PLOTTER_FlashPadTrapez(self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
9030 r"""FlashRegularPolygon(PLOTTER self, VECTOR2I aShapePos, int aDiameter, int aCornerCount, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9031 return _pcbnew.PLOTTER_FlashRegularPolygon(self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData)
9033 def Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData=None):
9034 r"""Text(PLOTTER self, VECTOR2I aPos, COLOR4D aColor, wxString aText, EDA_ANGLE aOrient, VECTOR2I aSize, enum GR_TEXT_H_ALIGN_T aH_justify, enum GR_TEXT_V_ALIGN_T aV_justify, int aPenWidth, bool aItalic, bool aBold, bool aMultilineAllowed, KIFONT::FONT * aFont, KIFONT::METRICS const & aFontMetrics, void * aData=None)"""
9035 return _pcbnew.PLOTTER_Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData)
9037 def PlotText(self, aPos, aColor, aText, aAttributes, aFont, aFontMetrics, aData=None):
9038 r"""PlotText(PLOTTER self, VECTOR2I aPos, COLOR4D aColor, wxString aText, TEXT_ATTRIBUTES aAttributes, KIFONT::FONT * aFont, KIFONT::METRICS const & aFontMetrics, void * aData=None)"""
9039 return _pcbnew.PLOTTER_PlotText(self, aPos, aColor, aText, aAttributes, aFont, aFontMetrics, aData)
9042 r"""HyperlinkBox(PLOTTER self, BOX2I aBox, wxString aDestinationURL)"""
9043 return _pcbnew.PLOTTER_HyperlinkBox(self, aBox, aDestinationURL)
9046 r"""HyperlinkMenu(PLOTTER self, BOX2I aBox, std::vector< wxString,std::allocator< wxString > > const & aDestURLs)"""
9047 return _pcbnew.PLOTTER_HyperlinkMenu(self, aBox, aDestURLs)
9050 r"""Bookmark(PLOTTER self, BOX2I aBox, wxString aName, wxString aGroupName=wxEmptyString)"""
9051 return _pcbnew.PLOTTER_Bookmark(self, *args)
9052 MARKER_COUNT = _pcbnew.PLOTTER_MARKER_COUNT
9055 def Marker(self, position, diametre, aShapeId):
9056 r"""Marker(PLOTTER self, VECTOR2I position, int diametre, unsigned int aShapeId)"""
9057 return _pcbnew.PLOTTER_Marker(self, position, diametre, aShapeId)
9060 r"""SetLayerPolarity(PLOTTER self, bool aPositive)"""
9061 return _pcbnew.PLOTTER_SetLayerPolarity(self, aPositive)
9064 r"""SetTextMode(PLOTTER self, PLOT_TEXT_MODE mode)"""
9065 return _pcbnew.PLOTTER_SetTextMode(self, mode)
9068 r"""SetGerberCoordinatesFormat(PLOTTER self, int aResolution, bool aUseInches=False)"""
9069 return _pcbnew.PLOTTER_SetGerberCoordinatesFormat(self, aResolution, aUseInches)
9072 r"""SetSvgCoordinatesFormat(PLOTTER self, unsigned int aPrecision)"""
9073 return _pcbnew.PLOTTER_SetSvgCoordinatesFormat(self, aPrecision)
9076 r"""StartBlock(PLOTTER self, void * aData)"""
9077 return _pcbnew.PLOTTER_StartBlock(self, aData)
9080 r"""EndBlock(PLOTTER self, void * aData)"""
9081 return _pcbnew.PLOTTER_EndBlock(self, aData)
9084 r"""GetPlotOffsetUserUnits(PLOTTER self) -> VECTOR2I"""
9085 return _pcbnew.PLOTTER_GetPlotOffsetUserUnits(self)
9088_pcbnew.PLOTTER_swigregister(PLOTTER)
9092 r"""PlotDrawingSheet(PLOTTER plotter, PROJECT const * aProject, TITLE_BLOCK aTitleBlock, PAGE_INFO const & aPageInfo, MAP_STRING_STRING aProperties, wxString aSheetNumber, int aSheetCount, wxString aSheetName, wxString aSheetPath, wxString aFilename, COLOR4D aColor=COLOR4D::UNSPECIFIED, bool aIsFirstPage=True)"""
9093 return _pcbnew.PlotDrawingSheet(*args)
9096 r"""GetDefaultPlotExtension(PLOT_FORMAT aFormat) -> wxString"""
9097 return _pcbnew.GetDefaultPlotExtension(aFormat)
9099 r"""Proxy of C++ D356_RECORD class."""
9101 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9102 __repr__ = _swig_repr
9103 smd = property(_pcbnew.D356_RECORD_smd_get, _pcbnew.D356_RECORD_smd_set, doc=
r"""smd : bool""")
9104 hole = property(_pcbnew.D356_RECORD_hole_get, _pcbnew.D356_RECORD_hole_set, doc=
r"""hole : bool""")
9105 netname = property(_pcbnew.D356_RECORD_netname_get, _pcbnew.D356_RECORD_netname_set, doc=
r"""netname : wxString""")
9106 refdes = property(_pcbnew.D356_RECORD_refdes_get, _pcbnew.D356_RECORD_refdes_set, doc=
r"""refdes : wxString""")
9107 pin = property(_pcbnew.D356_RECORD_pin_get, _pcbnew.D356_RECORD_pin_set, doc=
r"""pin : wxString""")
9108 midpoint = property(_pcbnew.D356_RECORD_midpoint_get, _pcbnew.D356_RECORD_midpoint_set, doc=
r"""midpoint : bool""")
9109 drill = property(_pcbnew.D356_RECORD_drill_get, _pcbnew.D356_RECORD_drill_set, doc=
r"""drill : int""")
9110 mechanical = property(_pcbnew.D356_RECORD_mechanical_get, _pcbnew.D356_RECORD_mechanical_set, doc=
r"""mechanical : bool""")
9111 access = property(_pcbnew.D356_RECORD_access_get, _pcbnew.D356_RECORD_access_set, doc=
r"""access : int""")
9112 soldermask = property(_pcbnew.D356_RECORD_soldermask_get, _pcbnew.D356_RECORD_soldermask_set, doc=
r"""soldermask : int""")
9113 x_location = property(_pcbnew.D356_RECORD_x_location_get, _pcbnew.D356_RECORD_x_location_set, doc=
r"""x_location : int""")
9114 y_location = property(_pcbnew.D356_RECORD_y_location_get, _pcbnew.D356_RECORD_y_location_set, doc=
r"""y_location : int""")
9115 x_size = property(_pcbnew.D356_RECORD_x_size_get, _pcbnew.D356_RECORD_x_size_set, doc=
r"""x_size : int""")
9116 y_size = property(_pcbnew.D356_RECORD_y_size_get, _pcbnew.D356_RECORD_y_size_set, doc=
r"""y_size : int""")
9117 rotation = property(_pcbnew.D356_RECORD_rotation_get, _pcbnew.D356_RECORD_rotation_set, doc=
r"""rotation : int""")
9120 r"""__init__(D356_RECORD self) -> D356_RECORD"""
9121 _pcbnew.D356_RECORD_swiginit(self, _pcbnew.new_D356_RECORD())
9122 __swig_destroy__ = _pcbnew.delete_D356_RECORD
9125_pcbnew.D356_RECORD_swigregister(D356_RECORD)
9128 r"""Proxy of C++ IPC356D_WRITER class."""
9130 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9131 __repr__ = _swig_repr
9134 r"""__init__(IPC356D_WRITER self, BOARD aPcb, wxWindow * aParent=None) -> IPC356D_WRITER"""
9135 _pcbnew.IPC356D_WRITER_swiginit(self, _pcbnew.new_IPC356D_WRITER(aPcb, aParent))
9136 __swig_destroy__ = _pcbnew.delete_IPC356D_WRITER
9139 r"""Write(IPC356D_WRITER self, wxString aFilename)"""
9140 return _pcbnew.IPC356D_WRITER_Write(self, aFilename)
9143_pcbnew.IPC356D_WRITER_swigregister(IPC356D_WRITER)
9146 r"""Proxy of C++ PLACE_FILE_EXPORTER class."""
9148 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9149 __repr__ = _swig_repr
9151 def __init__(self, aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX):
9152 r"""__init__(PLACE_FILE_EXPORTER self, BOARD aBoard, bool aUnitsMM, bool aOnlySMD, bool aExcludeAllTH, bool aExcludeDNP, bool aTopSide, bool aBottomSide, bool aFormatCSV, bool aUseAuxOrigin, bool aNegateBottomX) -> PLACE_FILE_EXPORTER"""
9153 _pcbnew.PLACE_FILE_EXPORTER_swiginit(self, _pcbnew.new_PLACE_FILE_EXPORTER(aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX))
9156 r"""GenPositionData(PLACE_FILE_EXPORTER self) -> string"""
9157 return _pcbnew.PLACE_FILE_EXPORTER_GenPositionData(self)
9160 r"""GenReportData(PLACE_FILE_EXPORTER self) -> string"""
9161 return _pcbnew.PLACE_FILE_EXPORTER_GenReportData(self)
9164 r"""GetFootprintCount(PLACE_FILE_EXPORTER self) -> int"""
9165 return _pcbnew.PLACE_FILE_EXPORTER_GetFootprintCount(self)
9169 r"""GetFrontSideName() -> string"""
9170 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
9174 r"""GetBackSideName() -> string"""
9175 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
9176 __swig_destroy__ = _pcbnew.delete_PLACE_FILE_EXPORTER
9179_pcbnew.PLACE_FILE_EXPORTER_swigregister(PLACE_FILE_EXPORTER)
9182 r"""PLACE_FILE_EXPORTER_GetFrontSideName() -> string"""
9183 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
9186 r"""PLACE_FILE_EXPORTER_GetBackSideName() -> string"""
9187 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
9190 r"""Proxy of C++ EXPORTER_VRML class."""
9192 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9193 __repr__ = _swig_repr
9196 r"""__init__(EXPORTER_VRML self, BOARD aBoard) -> EXPORTER_VRML"""
9197 _pcbnew.EXPORTER_VRML_swiginit(self, _pcbnew.new_EXPORTER_VRML(aBoard))
9198 __swig_destroy__ = _pcbnew.delete_EXPORTER_VRML
9200 def ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
9201 r"""ExportVRML_File(EXPORTER_VRML self, PROJECT * aProject, wxString aMessages, wxString aFullFileName, double aMMtoWRMLunit, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
9202 return _pcbnew.EXPORTER_VRML_ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
9205_pcbnew.EXPORTER_VRML_swigregister(EXPORTER_VRML)
9207USE_ATTRIB_FOR_HOLES = _pcbnew.USE_ATTRIB_FOR_HOLES
9209HOLE_ATTRIBUTE_HOLE_UNKNOWN = _pcbnew.HOLE_ATTRIBUTE_HOLE_UNKNOWN
9211HOLE_ATTRIBUTE_HOLE_VIA_THROUGH = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_THROUGH
9213HOLE_ATTRIBUTE_HOLE_VIA_BURIED = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_BURIED
9215HOLE_ATTRIBUTE_HOLE_PAD = _pcbnew.HOLE_ATTRIBUTE_HOLE_PAD
9217HOLE_ATTRIBUTE_HOLE_MECHANICAL = _pcbnew.HOLE_ATTRIBUTE_HOLE_MECHANICAL
9220 r"""Proxy of C++ DRILL_TOOL class."""
9222 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9223 __repr__ = _swig_repr
9224 m_Diameter = property(_pcbnew.DRILL_TOOL_m_Diameter_get, _pcbnew.DRILL_TOOL_m_Diameter_set, doc=
r"""m_Diameter : int""")
9225 m_TotalCount = property(_pcbnew.DRILL_TOOL_m_TotalCount_get, _pcbnew.DRILL_TOOL_m_TotalCount_set, doc=
r"""m_TotalCount : int""")
9226 m_OvalCount = property(_pcbnew.DRILL_TOOL_m_OvalCount_get, _pcbnew.DRILL_TOOL_m_OvalCount_set, doc=
r"""m_OvalCount : int""")
9227 m_Hole_NotPlated = property(_pcbnew.DRILL_TOOL_m_Hole_NotPlated_get, _pcbnew.DRILL_TOOL_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
9228 m_HoleAttribute = property(_pcbnew.DRILL_TOOL_m_HoleAttribute_get, _pcbnew.DRILL_TOOL_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
9231 r"""__init__(DRILL_TOOL self, int aDiameter, bool a_NotPlated) -> DRILL_TOOL"""
9232 _pcbnew.DRILL_TOOL_swiginit(self, _pcbnew.new_DRILL_TOOL(aDiameter, a_NotPlated))
9233 __swig_destroy__ = _pcbnew.delete_DRILL_TOOL
9236_pcbnew.DRILL_TOOL_swigregister(DRILL_TOOL)
9239 r"""Proxy of C++ HOLE_INFO class."""
9241 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9242 __repr__ = _swig_repr
9245 r"""__init__(HOLE_INFO self) -> HOLE_INFO"""
9246 _pcbnew.HOLE_INFO_swiginit(self, _pcbnew.new_HOLE_INFO())
9247 m_ItemParent = property(_pcbnew.HOLE_INFO_m_ItemParent_get, _pcbnew.HOLE_INFO_m_ItemParent_set, doc=
r"""m_ItemParent : p.BOARD_ITEM""")
9248 m_Hole_Diameter = property(_pcbnew.HOLE_INFO_m_Hole_Diameter_get, _pcbnew.HOLE_INFO_m_Hole_Diameter_set, doc=
r"""m_Hole_Diameter : int""")
9249 m_Tool_Reference = property(_pcbnew.HOLE_INFO_m_Tool_Reference_get, _pcbnew.HOLE_INFO_m_Tool_Reference_set, doc=
r"""m_Tool_Reference : int""")
9250 m_Hole_Size = property(_pcbnew.HOLE_INFO_m_Hole_Size_get, _pcbnew.HOLE_INFO_m_Hole_Size_set, doc=
r"""m_Hole_Size : VECTOR2I""")
9251 m_Hole_Orient = property(_pcbnew.HOLE_INFO_m_Hole_Orient_get, _pcbnew.HOLE_INFO_m_Hole_Orient_set, doc=
r"""m_Hole_Orient : EDA_ANGLE""")
9252 m_Hole_Shape = property(_pcbnew.HOLE_INFO_m_Hole_Shape_get, _pcbnew.HOLE_INFO_m_Hole_Shape_set, doc=
r"""m_Hole_Shape : int""")
9253 m_Hole_Pos = property(_pcbnew.HOLE_INFO_m_Hole_Pos_get, _pcbnew.HOLE_INFO_m_Hole_Pos_set, doc=
r"""m_Hole_Pos : VECTOR2I""")
9254 m_Hole_Bottom_Layer = property(_pcbnew.HOLE_INFO_m_Hole_Bottom_Layer_get, _pcbnew.HOLE_INFO_m_Hole_Bottom_Layer_set, doc=
r"""m_Hole_Bottom_Layer : PCB_LAYER_ID""")
9255 m_Hole_Top_Layer = property(_pcbnew.HOLE_INFO_m_Hole_Top_Layer_get, _pcbnew.HOLE_INFO_m_Hole_Top_Layer_set, doc=
r"""m_Hole_Top_Layer : PCB_LAYER_ID""")
9256 m_Hole_NotPlated = property(_pcbnew.HOLE_INFO_m_Hole_NotPlated_get, _pcbnew.HOLE_INFO_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
9257 m_HoleAttribute = property(_pcbnew.HOLE_INFO_m_HoleAttribute_get, _pcbnew.HOLE_INFO_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
9258 __swig_destroy__ = _pcbnew.delete_HOLE_INFO
9261_pcbnew.HOLE_INFO_swigregister(HOLE_INFO)
9264 r"""Proxy of C++ DRILL_PRECISION class."""
9266 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9267 __repr__ = _swig_repr
9270 r"""__init__(DRILL_PRECISION self, int l=2, int r=4) -> DRILL_PRECISION"""
9271 _pcbnew.DRILL_PRECISION_swiginit(self, _pcbnew.new_DRILL_PRECISION(l, r))
9274 r"""GetPrecisionString(DRILL_PRECISION self) -> wxString"""
9275 return _pcbnew.DRILL_PRECISION_GetPrecisionString(self)
9276 m_Lhs = property(_pcbnew.DRILL_PRECISION_m_Lhs_get, _pcbnew.DRILL_PRECISION_m_Lhs_set, doc=
r"""m_Lhs : int""")
9277 m_Rhs = property(_pcbnew.DRILL_PRECISION_m_Rhs_get, _pcbnew.DRILL_PRECISION_m_Rhs_set, doc=
r"""m_Rhs : int""")
9278 __swig_destroy__ = _pcbnew.delete_DRILL_PRECISION
9281_pcbnew.DRILL_PRECISION_swigregister(DRILL_PRECISION)
9284 r"""Proxy of C++ GENDRILL_WRITER_BASE class."""
9286 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9289 raise AttributeError(
"No constructor defined")
9290 __repr__ = _swig_repr
9291 DECIMAL_FORMAT = _pcbnew.GENDRILL_WRITER_BASE_DECIMAL_FORMAT
9293 SUPPRESS_LEADING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_LEADING
9295 SUPPRESS_TRAILING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_TRAILING
9297 KEEP_ZEROS = _pcbnew.GENDRILL_WRITER_BASE_KEEP_ZEROS
9299 PTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_PTH_FILE
9301 NPTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_NPTH_FILE
9303 MIXED_FILE = _pcbnew.GENDRILL_WRITER_BASE_MIXED_FILE
9305 __swig_destroy__ = _pcbnew.delete_GENDRILL_WRITER_BASE
9308 r"""SetMergeOption(GENDRILL_WRITER_BASE self, bool aMerge)"""
9309 return _pcbnew.GENDRILL_WRITER_BASE_SetMergeOption(self, aMerge)
9312 r"""GetOffset(GENDRILL_WRITER_BASE self) -> VECTOR2I"""
9313 return _pcbnew.GENDRILL_WRITER_BASE_GetOffset(self)
9316 r"""SetPageInfo(GENDRILL_WRITER_BASE self, PAGE_INFO const * aPageInfo)"""
9317 return _pcbnew.GENDRILL_WRITER_BASE_SetPageInfo(self, aPageInfo)
9320 r"""SetMapFileFormat(GENDRILL_WRITER_BASE self, PLOT_FORMAT aMapFmt)"""
9321 return _pcbnew.GENDRILL_WRITER_BASE_SetMapFileFormat(self, aMapFmt)
9324 r"""CreateMapFilesSet(GENDRILL_WRITER_BASE self, wxString aPlotDirectory, REPORTER * aReporter=None) -> bool"""
9325 return _pcbnew.GENDRILL_WRITER_BASE_CreateMapFilesSet(self, aPlotDirectory, aReporter)
9328 r"""GenDrillReportFile(GENDRILL_WRITER_BASE self, wxString aFullFileName) -> bool"""
9329 return _pcbnew.GENDRILL_WRITER_BASE_GenDrillReportFile(self, aFullFileName)
9332 r"""GetDrillFileExt(GENDRILL_WRITER_BASE self) -> wxString"""
9333 return _pcbnew.GENDRILL_WRITER_BASE_GetDrillFileExt(self)
9336_pcbnew.GENDRILL_WRITER_BASE_swigregister(GENDRILL_WRITER_BASE)
9339 r"""Proxy of C++ EXCELLON_WRITER class."""
9341 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9342 __repr__ = _swig_repr
9345 r"""__init__(EXCELLON_WRITER self, BOARD aPcb) -> EXCELLON_WRITER"""
9346 _pcbnew.EXCELLON_WRITER_swiginit(self, _pcbnew.new_EXCELLON_WRITER(aPcb))
9347 __swig_destroy__ = _pcbnew.delete_EXCELLON_WRITER
9350 r"""GetOffset(EXCELLON_WRITER self) -> VECTOR2I"""
9351 return _pcbnew.EXCELLON_WRITER_GetOffset(self)
9354 r"""SetRouteModeForOvalHoles(EXCELLON_WRITER self, bool aUseRouteModeForOvalHoles)"""
9355 return _pcbnew.EXCELLON_WRITER_SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles)
9358 r"""SetFormat(EXCELLON_WRITER self, bool aMetric, GENDRILL_WRITER_BASE::ZEROS_FMT aZerosFmt=DECIMAL_FORMAT, int aLeftDigits=0, int aRightDigits=0)"""
9359 return _pcbnew.EXCELLON_WRITER_SetFormat(self, *args)
9361 def SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH):
9362 r"""SetOptions(EXCELLON_WRITER self, bool aMirror, bool aMinimalHeader, VECTOR2I aOffset, bool aMerge_PTH_NPTH)"""
9363 return _pcbnew.EXCELLON_WRITER_SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH)
9366 r"""CreateDrillandMapFilesSet(EXCELLON_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
9367 return _pcbnew.EXCELLON_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
9370_pcbnew.EXCELLON_WRITER_swigregister(EXCELLON_WRITER)
9373 r"""Proxy of C++ GERBER_WRITER class."""
9375 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9376 __repr__ = _swig_repr
9379 r"""__init__(GERBER_WRITER self, BOARD aPcb) -> GERBER_WRITER"""
9380 _pcbnew.GERBER_WRITER_swiginit(self, _pcbnew.new_GERBER_WRITER(aPcb))
9381 __swig_destroy__ = _pcbnew.delete_GERBER_WRITER
9384 r"""SetFormat(GERBER_WRITER self, int aRightDigits=6)"""
9385 return _pcbnew.GERBER_WRITER_SetFormat(self, aRightDigits)
9388 r"""SetOptions(GERBER_WRITER self, VECTOR2I aOffset)"""
9389 return _pcbnew.GERBER_WRITER_SetOptions(self, aOffset)
9392 r"""CreateDrillandMapFilesSet(GERBER_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
9393 return _pcbnew.GERBER_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
9396_pcbnew.GERBER_WRITER_swigregister(GERBER_WRITER)
9398SIDE_NONE = _pcbnew.SIDE_NONE
9400SIDE_TOP = _pcbnew.SIDE_TOP
9402SIDE_BOTTOM = _pcbnew.SIDE_BOTTOM
9404SIDE_BOTH = _pcbnew.SIDE_BOTH
9407 r"""Proxy of C++ JOBFILE_PARAMS class."""
9409 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9410 __repr__ = _swig_repr
9411 m_GerberFileList = property(_pcbnew.JOBFILE_PARAMS_m_GerberFileList_get, _pcbnew.JOBFILE_PARAMS_m_GerberFileList_set, doc=
r"""m_GerberFileList : wxArrayString""")
9412 m_LayerId = property(_pcbnew.JOBFILE_PARAMS_m_LayerId_get, _pcbnew.JOBFILE_PARAMS_m_LayerId_set, doc=
r"""m_LayerId : std::vector<(PCB_LAYER_ID,std::allocator<(PCB_LAYER_ID)>)>""")
9415 r"""__init__(JOBFILE_PARAMS self) -> JOBFILE_PARAMS"""
9416 _pcbnew.JOBFILE_PARAMS_swiginit(self, _pcbnew.new_JOBFILE_PARAMS())
9417 __swig_destroy__ = _pcbnew.delete_JOBFILE_PARAMS
9420_pcbnew.JOBFILE_PARAMS_swigregister(JOBFILE_PARAMS)
9423 r"""Proxy of C++ GERBER_JOBFILE_WRITER class."""
9425 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9426 __repr__ = _swig_repr
9429 r"""__init__(GERBER_JOBFILE_WRITER self, BOARD aPcb, REPORTER * aReporter=None) -> GERBER_JOBFILE_WRITER"""
9430 _pcbnew.GERBER_JOBFILE_WRITER_swiginit(self, _pcbnew.new_GERBER_JOBFILE_WRITER(aPcb, aReporter))
9431 __swig_destroy__ = _pcbnew.delete_GERBER_JOBFILE_WRITER
9434 r"""AddGbrFile(GERBER_JOBFILE_WRITER self, PCB_LAYER_ID aLayer, wxString aFilename)"""
9435 return _pcbnew.GERBER_JOBFILE_WRITER_AddGbrFile(self, aLayer, aFilename)
9438 r"""CreateJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9439 return _pcbnew.GERBER_JOBFILE_WRITER_CreateJobFile(self, aFullFilename)
9442 r"""WriteJSONJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9443 return _pcbnew.GERBER_JOBFILE_WRITER_WriteJSONJobFile(self, aFullFilename)
9446_pcbnew.GERBER_JOBFILE_WRITER_swigregister(GERBER_JOBFILE_WRITER)
9448ROOM_FOR_KICADMANAGER = _pcbnew.ROOM_FOR_KICADMANAGER
9450ROOM_FOR_3D_VIEWER = _pcbnew.ROOM_FOR_3D_VIEWER
9452ROOM_FOR_PANEL_PREV_MODEL = _pcbnew.ROOM_FOR_PANEL_PREV_MODEL
9454DEFAULT_FILE_HISTORY_SIZE = _pcbnew.DEFAULT_FILE_HISTORY_SIZE
9456MAX_FILE_HISTORY_SIZE = _pcbnew.MAX_FILE_HISTORY_SIZE
9458ID_APPEND_PROJECT = _pcbnew.ID_APPEND_PROJECT
9460ID_LOAD_FILE = _pcbnew.ID_LOAD_FILE
9462ID_NEW_BOARD = _pcbnew.ID_NEW_BOARD
9464ID_SAVE_BOARD = _pcbnew.ID_SAVE_BOARD
9466ID_SAVE_BOARD_AS = _pcbnew.ID_SAVE_BOARD_AS
9468ID_AUTO_SAVE_TIMER = _pcbnew.ID_AUTO_SAVE_TIMER
9470ID_FILE = _pcbnew.ID_FILE
9472ID_FILE1 = _pcbnew.ID_FILE1
9474ID_FILEMAX = _pcbnew.ID_FILEMAX
9476ID_FILE_LIST_EMPTY = _pcbnew.ID_FILE_LIST_EMPTY
9478ID_FILE_LIST_CLEAR = _pcbnew.ID_FILE_LIST_CLEAR
9480ID_PREFERENCES_RESET_PANEL = _pcbnew.ID_PREFERENCES_RESET_PANEL
9482ID_GEN_PLOT = _pcbnew.ID_GEN_PLOT
9484ID_GEN_PLOT_PS = _pcbnew.ID_GEN_PLOT_PS
9486ID_GEN_PLOT_HPGL = _pcbnew.ID_GEN_PLOT_HPGL
9488ID_GEN_PLOT_GERBER = _pcbnew.ID_GEN_PLOT_GERBER
9490ID_GEN_PLOT_SVG = _pcbnew.ID_GEN_PLOT_SVG
9492ID_GEN_PLOT_DXF = _pcbnew.ID_GEN_PLOT_DXF
9494ID_GEN_PLOT_PDF = _pcbnew.ID_GEN_PLOT_PDF
9496ID_H_TOOLBAR = _pcbnew.ID_H_TOOLBAR
9498ID_V_TOOLBAR = _pcbnew.ID_V_TOOLBAR
9500ID_OPT_TOOLBAR = _pcbnew.ID_OPT_TOOLBAR
9502ID_AUX_TOOLBAR = _pcbnew.ID_AUX_TOOLBAR
9504ID_LANGUAGE_CHOICE = _pcbnew.ID_LANGUAGE_CHOICE
9506ID_LANGUAGE_DANISH = _pcbnew.ID_LANGUAGE_DANISH
9508ID_LANGUAGE_DEFAULT = _pcbnew.ID_LANGUAGE_DEFAULT
9510ID_LANGUAGE_ENGLISH = _pcbnew.ID_LANGUAGE_ENGLISH
9512ID_LANGUAGE_FRENCH = _pcbnew.ID_LANGUAGE_FRENCH
9514ID_LANGUAGE_FINNISH = _pcbnew.ID_LANGUAGE_FINNISH
9516ID_LANGUAGE_SPANISH = _pcbnew.ID_LANGUAGE_SPANISH
9518ID_LANGUAGE_SPANISH_MEXICAN = _pcbnew.ID_LANGUAGE_SPANISH_MEXICAN
9520ID_LANGUAGE_GERMAN = _pcbnew.ID_LANGUAGE_GERMAN
9522ID_LANGUAGE_GREEK = _pcbnew.ID_LANGUAGE_GREEK
9524ID_LANGUAGE_NORWEGIAN = _pcbnew.ID_LANGUAGE_NORWEGIAN
9526ID_LANGUAGE_RUSSIAN = _pcbnew.ID_LANGUAGE_RUSSIAN
9528ID_LANGUAGE_PORTUGUESE = _pcbnew.ID_LANGUAGE_PORTUGUESE
9530ID_LANGUAGE_PORTUGUESE_BRAZILIAN = _pcbnew.ID_LANGUAGE_PORTUGUESE_BRAZILIAN
9532ID_LANGUAGE_TURKISH = _pcbnew.ID_LANGUAGE_TURKISH
9534ID_LANGUAGE_INDONESIAN = _pcbnew.ID_LANGUAGE_INDONESIAN
9536ID_LANGUAGE_ITALIAN = _pcbnew.ID_LANGUAGE_ITALIAN
9538ID_LANGUAGE_SLOVENIAN = _pcbnew.ID_LANGUAGE_SLOVENIAN
9540ID_LANGUAGE_SLOVAK = _pcbnew.ID_LANGUAGE_SLOVAK
9542ID_LANGUAGE_HUNGARIAN = _pcbnew.ID_LANGUAGE_HUNGARIAN
9544ID_LANGUAGE_POLISH = _pcbnew.ID_LANGUAGE_POLISH
9546ID_LANGUAGE_CZECH = _pcbnew.ID_LANGUAGE_CZECH
9548ID_LANGUAGE_KOREAN = _pcbnew.ID_LANGUAGE_KOREAN
9550ID_LANGUAGE_CATALAN = _pcbnew.ID_LANGUAGE_CATALAN
9552ID_LANGUAGE_CHINESE_SIMPLIFIED = _pcbnew.ID_LANGUAGE_CHINESE_SIMPLIFIED
9554ID_LANGUAGE_CHINESE_TRADITIONAL = _pcbnew.ID_LANGUAGE_CHINESE_TRADITIONAL
9556ID_LANGUAGE_DUTCH = _pcbnew.ID_LANGUAGE_DUTCH
9558ID_LANGUAGE_JAPANESE = _pcbnew.ID_LANGUAGE_JAPANESE
9560ID_LANGUAGE_BULGARIAN = _pcbnew.ID_LANGUAGE_BULGARIAN
9562ID_LANGUAGE_LATVIAN = _pcbnew.ID_LANGUAGE_LATVIAN
9564ID_LANGUAGE_LITHUANIAN = _pcbnew.ID_LANGUAGE_LITHUANIAN
9566ID_LANGUAGE_VIETNAMESE = _pcbnew.ID_LANGUAGE_VIETNAMESE
9568ID_LANGUAGE_SERBIAN = _pcbnew.ID_LANGUAGE_SERBIAN
9570ID_LANGUAGE_THAI = _pcbnew.ID_LANGUAGE_THAI
9572ID_LANGUAGE_SWEDISH = _pcbnew.ID_LANGUAGE_SWEDISH
9574ID_LANGUAGE_UKRANIAN = _pcbnew.ID_LANGUAGE_UKRANIAN
9576ID_LANGUAGE_CHOICE_END = _pcbnew.ID_LANGUAGE_CHOICE_END
9578ID_ON_ZOOM_SELECT = _pcbnew.ID_ON_ZOOM_SELECT
9580ID_ON_GRID_SELECT = _pcbnew.ID_ON_GRID_SELECT
9582ID_POPUP_ZOOM_LEVEL_START = _pcbnew.ID_POPUP_ZOOM_LEVEL_START
9584ID_POPUP_ZOOM_LEVEL_END = _pcbnew.ID_POPUP_ZOOM_LEVEL_END
9586ID_POPUP_GRID_START = _pcbnew.ID_POPUP_GRID_START
9588ID_POPUP_GRID_END = _pcbnew.ID_POPUP_GRID_END
9590ID_EDA_SOCKET_EVENT_SERV = _pcbnew.ID_EDA_SOCKET_EVENT_SERV
9592ID_EDA_SOCKET_EVENT = _pcbnew.ID_EDA_SOCKET_EVENT
9594ID_KICAD_MANAGER_START = _pcbnew.ID_KICAD_MANAGER_START
9596ID_KICAD_MANAGER_END = _pcbnew.ID_KICAD_MANAGER_END
9598ID_KICAD_3D_VIEWER_START = _pcbnew.ID_KICAD_3D_VIEWER_START
9600ID_KICAD_3D_VIEWER_END = _pcbnew.ID_KICAD_3D_VIEWER_END
9602ID_KICAD_PANEL_PREV_MODEL_START = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_START
9604ID_KICAD_PANEL_PREV_MODEL_END = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_END
9606ID_POPUP_MENU_START = _pcbnew.ID_POPUP_MENU_START
9608ID_POPUP_MENU_END = _pcbnew.ID_POPUP_MENU_END
9610ID_END_LIST = _pcbnew.ID_END_LIST
9614 r"""GetBoard() -> BOARD"""
9615 return _pcbnew.GetBoard()
9619 LoadBoard(wxString aFileName, PCB_IO_MGR::PCB_FILE_T aFormat) -> BOARD
9622 return _pcbnew.LoadBoard(*args)
9625 r"""NewBoard(wxString aFileName) -> BOARD"""
9626 return _pcbnew.NewBoard(aFileName)
9629 r"""GetSettingsManager() -> SETTINGS_MANAGER"""
9630 return _pcbnew.GetSettingsManager()
9633 r"""CreateEmptyBoard() -> BOARD"""
9634 return _pcbnew.CreateEmptyBoard()
9637 r"""SaveBoard(wxString aFileName, BOARD aBoard, bool aSkipSettings=False) -> bool"""
9638 return _pcbnew.SaveBoard(aFileName, aBoard, aSkipSettings)
9641 r"""GetFootprintLibraries() -> wxArrayString"""
9642 return _pcbnew.GetFootprintLibraries()
9645 r"""GetFootprints(wxString aNickName) -> wxArrayString"""
9646 return _pcbnew.GetFootprints(aNickName)
9653 return _pcbnew.ExportSpecctraDSN(*args)
9655def ExportVRML(aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
9656 r"""ExportVRML(wxString aFullFileName, double aMMtoWRMLunit, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
9657 return _pcbnew.ExportVRML(aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
9664 return _pcbnew.ImportSpecctraSES(*args)
9667 r"""ExportFootprintsToLibrary(bool aStoreInNewLib, wxString aLibName=wxEmptyString, wxString aLibPath=None) -> bool"""
9668 return _pcbnew.ExportFootprintsToLibrary(*args)
9672 return _pcbnew.Refresh()
9675 r"""UpdateUserInterface()"""
9676 return _pcbnew.UpdateUserInterface()
9679 r"""GetUserUnits() -> int"""
9680 return _pcbnew.GetUserUnits()
9683 r"""GetCurrentSelection() -> DRAWINGS"""
9684 return _pcbnew.GetCurrentSelection()
9687 r"""FocusOnItem(BOARD_ITEM aItem, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
9688 return _pcbnew.FocusOnItem(aItem, aLayer)
9691 r"""IsActionRunning() -> bool"""
9692 return _pcbnew.IsActionRunning()
9695 r"""WriteDRCReport(BOARD aBoard, wxString aFileName, EDA_UNITS aUnits, bool aReportAllTrackErrors) -> bool"""
9696 return _pcbnew.WriteDRCReport(aBoard, aFileName, aUnits, aReportAllTrackErrors)
9699 r"""GetLanguage() -> wxString"""
9700 return _pcbnew.GetLanguage()
9701ZLO_NONE = _pcbnew.ZLO_NONE
9703ZLO_FORCE_FLASHED = _pcbnew.ZLO_FORCE_FLASHED
9705ZLO_FORCE_NO_ZONE_CONNECTION = _pcbnew.ZLO_FORCE_NO_ZONE_CONNECTION
9708 r"""Proxy of C++ BOARD_ITEM class."""
9710 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9713 raise AttributeError(
"No constructor defined - class is abstract")
9714 __repr__ = _swig_repr
9715 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM
9718 r"""SetParentGroup(BOARD_ITEM self, PCB_GROUP aGroup)"""
9719 return _pcbnew.BOARD_ITEM_SetParentGroup(self, aGroup)
9722 r"""GetParentGroup(BOARD_ITEM self) -> PCB_GROUP"""
9723 return _pcbnew.BOARD_ITEM_GetParentGroup(self)
9726 r"""GetX(BOARD_ITEM self) -> int"""
9727 return _pcbnew.BOARD_ITEM_GetX(self)
9730 r"""GetY(BOARD_ITEM self) -> int"""
9731 return _pcbnew.BOARD_ITEM_GetY(self)
9734 r"""GetCenter(BOARD_ITEM self) -> VECTOR2I"""
9735 return _pcbnew.BOARD_ITEM_GetCenter(self)
9738 r"""SetX(BOARD_ITEM self, int aX)"""
9739 return _pcbnew.BOARD_ITEM_SetX(self, aX)
9742 r"""SetY(BOARD_ITEM self, int aY)"""
9743 return _pcbnew.BOARD_ITEM_SetY(self, aY)
9746 r"""IsConnected(BOARD_ITEM self) -> bool"""
9747 return _pcbnew.BOARD_ITEM_IsConnected(self)
9750 r"""Similarity(BOARD_ITEM self, BOARD_ITEM aItem) -> double"""
9751 return _pcbnew.BOARD_ITEM_Similarity(self, aItem)
9754 r"""__eq__(BOARD_ITEM self, BOARD_ITEM aItem) -> bool"""
9755 return _pcbnew.BOARD_ITEM___eq__(self, aItem)
9758 r"""IsOnCopperLayer(BOARD_ITEM self) -> bool"""
9759 return _pcbnew.BOARD_ITEM_IsOnCopperLayer(self)
9762 r"""HasHole(BOARD_ITEM self) -> bool"""
9763 return _pcbnew.BOARD_ITEM_HasHole(self)
9766 r"""IsTented(BOARD_ITEM self) -> bool"""
9767 return _pcbnew.BOARD_ITEM_IsTented(self)
9770 r"""GetEffectiveShape(BOARD_ITEM self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
9771 return _pcbnew.BOARD_ITEM_GetEffectiveShape(self, *args)
9774 r"""GetEffectiveHoleShape(BOARD_ITEM self) -> std::shared_ptr< SHAPE_SEGMENT >"""
9775 return _pcbnew.BOARD_ITEM_GetEffectiveHoleShape(self)
9778 r"""RunOnChildren(BOARD_ITEM self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
9779 return _pcbnew.BOARD_ITEM_RunOnChildren(self, aFunction)
9782 r"""RunOnDescendants(BOARD_ITEM self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
9783 return _pcbnew.BOARD_ITEM_RunOnDescendants(self, aFunction, aDepth)
9786 r"""GetParent(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
9787 return _pcbnew.BOARD_ITEM_GetParent(self)
9790 r"""GetParentFootprint(BOARD_ITEM self) -> FOOTPRINT"""
9791 return _pcbnew.BOARD_ITEM_GetParentFootprint(self)
9794 r"""GetFPRelativePosition(BOARD_ITEM self) -> VECTOR2I"""
9795 return _pcbnew.BOARD_ITEM_GetFPRelativePosition(self)
9798 r"""SetFPRelativePosition(BOARD_ITEM self, VECTOR2I aPos)"""
9799 return _pcbnew.BOARD_ITEM_SetFPRelativePosition(self, aPos)
9802 r"""HasLineStroke(BOARD_ITEM self) -> bool"""
9803 return _pcbnew.BOARD_ITEM_HasLineStroke(self)
9806 r"""GetStroke(BOARD_ITEM self) -> STROKE_PARAMS"""
9807 return _pcbnew.BOARD_ITEM_GetStroke(self)
9810 r"""SetStroke(BOARD_ITEM self, STROKE_PARAMS const & aStroke)"""
9811 return _pcbnew.BOARD_ITEM_SetStroke(self, aStroke)
9814 r"""GetFontMetrics(BOARD_ITEM self) -> KIFONT::METRICS const &"""
9815 return _pcbnew.BOARD_ITEM_GetFontMetrics(self)
9818 r"""GetLayer(BOARD_ITEM self) -> PCB_LAYER_ID"""
9819 return _pcbnew.BOARD_ITEM_GetLayer(self)
9822 r"""GetLayerSet(BOARD_ITEM self) -> LSET"""
9823 return _pcbnew.BOARD_ITEM_GetLayerSet(self)
9826 r"""SetLayerSet(BOARD_ITEM self, LSET aLayers)"""
9827 return _pcbnew.BOARD_ITEM_SetLayerSet(self, aLayers)
9830 r"""SetLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer)"""
9831 return _pcbnew.BOARD_ITEM_SetLayer(self, aLayer)
9834 r"""Duplicate(BOARD_ITEM self) -> BOARD_ITEM"""
9835 return _pcbnew.BOARD_ITEM_Duplicate(self)
9838 r"""SwapItemData(BOARD_ITEM self, BOARD_ITEM aImage)"""
9839 return _pcbnew.BOARD_ITEM_SwapItemData(self, aImage)
9842 r"""IsOnLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer) -> bool"""
9843 return _pcbnew.BOARD_ITEM_IsOnLayer(self, aLayer)
9846 r"""IsKnockout(BOARD_ITEM self) -> bool"""
9847 return _pcbnew.BOARD_ITEM_IsKnockout(self)
9850 r"""SetIsKnockout(BOARD_ITEM self, bool aKnockout)"""
9851 return _pcbnew.BOARD_ITEM_SetIsKnockout(self, aKnockout)
9854 r"""IsLocked(BOARD_ITEM self) -> bool"""
9855 return _pcbnew.BOARD_ITEM_IsLocked(self)
9858 r"""SetLocked(BOARD_ITEM self, bool aLocked)"""
9859 return _pcbnew.BOARD_ITEM_SetLocked(self, aLocked)
9862 r"""StyleFromSettings(BOARD_ITEM self, BOARD_DESIGN_SETTINGS settings)"""
9863 return _pcbnew.BOARD_ITEM_StyleFromSettings(self, settings)
9866 r"""DeleteStructure(BOARD_ITEM self)"""
9867 return _pcbnew.BOARD_ITEM_DeleteStructure(self)
9870 r"""Move(BOARD_ITEM self, VECTOR2I aMoveVector)"""
9871 return _pcbnew.BOARD_ITEM_Move(self, aMoveVector)
9874 r"""Rotate(BOARD_ITEM self, VECTOR2I aRotCentre, EDA_ANGLE aAngle)"""
9875 return _pcbnew.BOARD_ITEM_Rotate(self, aRotCentre, aAngle)
9877 def Flip(self, aCentre, aFlipLeftRight):
9878 r"""Flip(BOARD_ITEM self, VECTOR2I aCentre, bool aFlipLeftRight)"""
9879 return _pcbnew.BOARD_ITEM_Flip(self, aCentre, aFlipLeftRight)
9882 r"""Normalize(BOARD_ITEM self)"""
9883 return _pcbnew.BOARD_ITEM_Normalize(self)
9886 r"""NormalizeForCompare(BOARD_ITEM self)"""
9887 return _pcbnew.BOARD_ITEM_NormalizeForCompare(self)
9894 return _pcbnew.BOARD_ITEM_GetBoard(self, *args)
9897 r"""GetParentAsString(BOARD_ITEM self) -> wxString"""
9898 return _pcbnew.BOARD_ITEM_GetParentAsString(self)
9901 r"""GetLayerName(BOARD_ITEM self) -> wxString"""
9902 return _pcbnew.BOARD_ITEM_GetLayerName(self)
9905 r"""TransformShapeToPolygon(BOARD_ITEM self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
9906 return _pcbnew.BOARD_ITEM_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
9907 DRC = _pcbnew.BOARD_ITEM_DRC
9916 if ct==
"PCB_TEXTBOX":
9920 elif ct==
"PCB_DIM_ALIGNED":
9922 elif ct==
"PCB_DIM_LEADER":
9924 elif ct==
"PCB_DIM_CENTER":
9926 elif ct==
"PCB_DIM_RADIAL":
9928 elif ct==
"PCB_DIM_ORTHOGONAL":
9930 elif ct==
"PCB_SHAPE":
9932 elif ct==
"FOOTPRINT":
9934 elif ct==
"PCB_GROUP":
9940 elif ct==
"PCB_TRACK":
9944 elif ct==
"PCB_TARGET":
9946 elif ct==
"PCB_REFERENCE_IMAGE":
9951 raise TypeError(
"Unsupported drawing class: %s" % ct)
9954 Needed to cast BOARD_ITEM::Duplicate() to the suitable type
9968 self.SetStart(start)
9975_pcbnew.BOARD_ITEM_swigregister(BOARD_ITEM)
9978 r"""Proxy of C++ DELETED_BOARD_ITEM class."""
9980 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9981 __repr__ = _swig_repr
9984 r"""__init__(DELETED_BOARD_ITEM self) -> DELETED_BOARD_ITEM"""
9985 _pcbnew.DELETED_BOARD_ITEM_swiginit(self, _pcbnew.new_DELETED_BOARD_ITEM())
9989 r"""GetInstance() -> DELETED_BOARD_ITEM"""
9990 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
9991 __swig_destroy__ = _pcbnew.delete_DELETED_BOARD_ITEM
9994_pcbnew.DELETED_BOARD_ITEM_swigregister(DELETED_BOARD_ITEM)
9997 r"""DELETED_BOARD_ITEM_GetInstance() -> DELETED_BOARD_ITEM"""
9998 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
10000IS_CHANGED = _pcbnew.IS_CHANGED
10002IS_LINKED = _pcbnew.IS_LINKED
10004IN_EDIT = _pcbnew.IN_EDIT
10006IS_MOVING = _pcbnew.IS_MOVING
10008IS_NEW = _pcbnew.IS_NEW
10010IS_BROKEN = _pcbnew.IS_BROKEN
10012IS_DELETED = _pcbnew.IS_DELETED
10014STARTPOINT = _pcbnew.STARTPOINT
10016ENDPOINT = _pcbnew.ENDPOINT
10018SELECTED = _pcbnew.SELECTED
10020SELECTED_BY_DRAG = _pcbnew.SELECTED_BY_DRAG
10022STRUCT_DELETED = _pcbnew.STRUCT_DELETED
10024CANDIDATE = _pcbnew.CANDIDATE
10026SKIP_STRUCT = _pcbnew.SKIP_STRUCT
10028IS_PASTED = _pcbnew.IS_PASTED
10030IS_SHOWN_AS_BITMAP = _pcbnew.IS_SHOWN_AS_BITMAP
10032COURTYARD_CONFLICT = _pcbnew.COURTYARD_CONFLICT
10034MALFORMED_F_COURTYARD = _pcbnew.MALFORMED_F_COURTYARD
10036MALFORMED_B_COURTYARD = _pcbnew.MALFORMED_B_COURTYARD
10038MALFORMED_COURTYARDS = _pcbnew.MALFORMED_COURTYARDS
10040ROUTER_TRANSIENT = _pcbnew.ROUTER_TRANSIENT
10042HOLE_PROXY = _pcbnew.HOLE_PROXY
10044IS_ROLLOVER = _pcbnew.IS_ROLLOVER
10046SHOW_ELEC_TYPE = _pcbnew.SHOW_ELEC_TYPE
10048BRIGHTENED = _pcbnew.BRIGHTENED
10050UR_TRANSIENT = _pcbnew.UR_TRANSIENT
10052IS_DANGLING = _pcbnew.IS_DANGLING
10054ENTERED = _pcbnew.ENTERED
10057 r"""Proxy of C++ UNITS_PROVIDER class."""
10059 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10060 __repr__ = _swig_repr
10063 r"""__init__(UNITS_PROVIDER self, EDA_IU_SCALE aIuScale, EDA_UNITS aUnits) -> UNITS_PROVIDER"""
10064 _pcbnew.UNITS_PROVIDER_swiginit(self, _pcbnew.new_UNITS_PROVIDER(aIuScale, aUnits))
10065 __swig_destroy__ = _pcbnew.delete_UNITS_PROVIDER
10068 r"""GetUserUnits(UNITS_PROVIDER self) -> EDA_UNITS"""
10069 return _pcbnew.UNITS_PROVIDER_GetUserUnits(self)
10072 r"""SetUserUnits(UNITS_PROVIDER self, EDA_UNITS aUnits)"""
10073 return _pcbnew.UNITS_PROVIDER_SetUserUnits(self, aUnits)
10076 r"""GetUnitPair(UNITS_PROVIDER self, EDA_UNITS & aPrimaryUnit, EDA_UNITS & aSecondaryUnits)"""
10077 return _pcbnew.UNITS_PROVIDER_GetUnitPair(self, aPrimaryUnit, aSecondaryUnits)
10080 r"""GetIuScale(UNITS_PROVIDER self) -> EDA_IU_SCALE"""
10081 return _pcbnew.UNITS_PROVIDER_GetIuScale(self)
10084 r"""GetOriginTransforms(UNITS_PROVIDER self) -> ORIGIN_TRANSFORMS &"""
10085 return _pcbnew.UNITS_PROVIDER_GetOriginTransforms(self)
10089 StringFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString
10090 StringFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
False) -> wxString
10092 return _pcbnew.UNITS_PROVIDER_StringFromValue(self, *args)
10096 MessageTextFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
10097 MessageTextFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
True) -> wxString
10099 return _pcbnew.UNITS_PROVIDER_MessageTextFromValue(self, *args)
10102 r"""MessageTextFromMinOptMax(UNITS_PROVIDER self, MINOPTMAX< int > const & aValue) -> wxString"""
10103 return _pcbnew.UNITS_PROVIDER_MessageTextFromMinOptMax(self, aValue)
10106 r"""ValueFromString(UNITS_PROVIDER self, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> int"""
10107 return _pcbnew.UNITS_PROVIDER_ValueFromString(self, *args)
10110 r"""AngleValueFromString(UNITS_PROVIDER self, wxString aTextValue) -> EDA_ANGLE"""
10111 return _pcbnew.UNITS_PROVIDER_AngleValueFromString(self, aTextValue)
10114_pcbnew.UNITS_PROVIDER_swigregister(UNITS_PROVIDER)
10118 r"""Cast_to_BOARD_ITEM(EDA_ITEM base) -> BOARD_ITEM"""
10119 return _pcbnew.Cast_to_BOARD_ITEM(base)
10122 r"""Cast_to_PCB_TEXT(BOARD_ITEM arg1) -> PCB_TEXT"""
10123 return _pcbnew.Cast_to_PCB_TEXT(arg1)
10126 r"""Cast_to_PCB_TEXTBOX(BOARD_ITEM arg1) -> PCB_TEXTBOX"""
10127 return _pcbnew.Cast_to_PCB_TEXTBOX(arg1)
10130 r"""Cast_to_PCB_DIM_ALIGNED(BOARD_ITEM arg1) -> PCB_DIM_ALIGNED"""
10131 return _pcbnew.Cast_to_PCB_DIM_ALIGNED(arg1)
10134 r"""Cast_to_PCB_DIM_ORTHOGONAL(BOARD_ITEM arg1) -> PCB_DIM_ORTHOGONAL"""
10135 return _pcbnew.Cast_to_PCB_DIM_ORTHOGONAL(arg1)
10138 r"""Cast_to_PCB_DIM_LEADER(BOARD_ITEM arg1) -> PCB_DIM_LEADER"""
10139 return _pcbnew.Cast_to_PCB_DIM_LEADER(arg1)
10142 r"""Cast_to_PCB_DIM_CENTER(BOARD_ITEM arg1) -> PCB_DIM_CENTER"""
10143 return _pcbnew.Cast_to_PCB_DIM_CENTER(arg1)
10146 r"""Cast_to_PCB_DIM_RADIAL(BOARD_ITEM arg1) -> PCB_DIM_RADIAL"""
10147 return _pcbnew.Cast_to_PCB_DIM_RADIAL(arg1)
10150 r"""Cast_to_FOOTPRINT(BOARD_ITEM arg1) -> FOOTPRINT"""
10151 return _pcbnew.Cast_to_FOOTPRINT(arg1)
10154 r"""Cast_to_PCB_GROUP(BOARD_ITEM arg1) -> PCB_GROUP"""
10155 return _pcbnew.Cast_to_PCB_GROUP(arg1)
10158 r"""Cast_to_PCB_SHAPE(BOARD_ITEM arg1) -> PCB_SHAPE"""
10159 return _pcbnew.Cast_to_PCB_SHAPE(arg1)
10162 r"""Cast_to_PCB_MARKER(BOARD_ITEM arg1) -> PCB_MARKER"""
10163 return _pcbnew.Cast_to_PCB_MARKER(arg1)
10166 r"""Cast_to_BOARD(BOARD_ITEM arg1) -> BOARD"""
10167 return _pcbnew.Cast_to_BOARD(arg1)
10170 r"""Cast_to_PAD(BOARD_ITEM arg1) -> PAD"""
10171 return _pcbnew.Cast_to_PAD(arg1)
10174 r"""Cast_to_PCB_TRACK(BOARD_ITEM arg1) -> PCB_TRACK"""
10175 return _pcbnew.Cast_to_PCB_TRACK(arg1)
10178 r"""Cast_to_PCB_VIA(BOARD_ITEM arg1) -> PCB_VIA"""
10179 return _pcbnew.Cast_to_PCB_VIA(arg1)
10182 r"""Cast_to_PCB_ARC(BOARD_ITEM arg1) -> PCB_ARC"""
10183 return _pcbnew.Cast_to_PCB_ARC(arg1)
10186 r"""Cast_to_ZONE(BOARD_ITEM arg1) -> ZONE"""
10187 return _pcbnew.Cast_to_ZONE(arg1)
10190 r"""Cast_to_PCB_TARGET(BOARD_ITEM arg1) -> PCB_TARGET"""
10191 return _pcbnew.Cast_to_PCB_TARGET(arg1)
10194 r"""Cast_to_PCB_REFERENCE_IMAGE(BOARD_ITEM arg1) -> PCB_REFERENCE_IMAGE"""
10195 return _pcbnew.Cast_to_PCB_REFERENCE_IMAGE(arg1)
10196ADD_MODE_INSERT = _pcbnew.ADD_MODE_INSERT
10198ADD_MODE_APPEND = _pcbnew.ADD_MODE_APPEND
10200ADD_MODE_BULK_APPEND = _pcbnew.ADD_MODE_BULK_APPEND
10202ADD_MODE_BULK_INSERT = _pcbnew.ADD_MODE_BULK_INSERT
10204REMOVE_MODE_NORMAL = _pcbnew.REMOVE_MODE_NORMAL
10206REMOVE_MODE_BULK = _pcbnew.REMOVE_MODE_BULK
10209 r"""Proxy of C++ BOARD_ITEM_CONTAINER class."""
10211 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10214 raise AttributeError(
"No constructor defined - class is abstract")
10215 __repr__ = _swig_repr
10218 r"""AddNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
10219 return _pcbnew.BOARD_ITEM_CONTAINER_AddNative(self, *args)
10222 r"""RemoveNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
10223 return _pcbnew.BOARD_ITEM_CONTAINER_RemoveNative(self, *args)
10226 r"""DeleteNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)"""
10227 return _pcbnew.BOARD_ITEM_CONTAINER_DeleteNative(self, aItem)
10231 Add a BOARD_ITEM to this BOARD_ITEM_CONTAINER, clear the thisown to prevent
10232 python from deleting the object
in the garbage collector
10233 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, BOARD_ADD_MODE aMode=BOARD_ADD_MODE::INSERT)
10234 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)
10241 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
10242 the python wrapper owns the C++ BOARD_ITEM
10243 Remove(self, BOARD_ITEM)
10251 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
10252 the python wrapper does
not owns the C++ BOARD_ITEM
10253 Delete(self, BOARD_ITEM)
10259 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM_CONTAINER
10262_pcbnew.BOARD_ITEM_CONTAINER_swigregister(BOARD_ITEM_CONTAINER)
10265 r"""Proxy of C++ BOARD_CONNECTED_ITEM class."""
10267 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10270 raise AttributeError(
"No constructor defined - class is abstract")
10271 __repr__ = _swig_repr
10275 r"""ClassOf(EDA_ITEM aItem) -> bool"""
10276 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
10279 r"""GetNet(BOARD_CONNECTED_ITEM self) -> NETINFO_ITEM"""
10280 return _pcbnew.BOARD_CONNECTED_ITEM_GetNet(self)
10283 r"""SetNet(BOARD_CONNECTED_ITEM self, NETINFO_ITEM aNetInfo)"""
10284 return _pcbnew.BOARD_CONNECTED_ITEM_SetNet(self, aNetInfo)
10287 r"""GetNetCode(BOARD_CONNECTED_ITEM self) -> int"""
10288 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetCode(self)
10292 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode, bool aNoAssert) -> bool
10293 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode)
10295 return _pcbnew.BOARD_CONNECTED_ITEM_SetNetCode(self, *args)
10298 r"""GetNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10299 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetname(self)
10302 r"""GetNetnameMsg(BOARD_CONNECTED_ITEM self) -> wxString"""
10303 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetnameMsg(self)
10306 r"""GetShortNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10307 return _pcbnew.BOARD_CONNECTED_ITEM_GetShortNetname(self)
10310 r"""GetDisplayNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10311 return _pcbnew.BOARD_CONNECTED_ITEM_GetDisplayNetname(self)
10314 r"""GetOwnClearance(BOARD_CONNECTED_ITEM self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
10315 return _pcbnew.BOARD_CONNECTED_ITEM_GetOwnClearance(self, aLayer, aSource)
10318 r"""GetLocalClearanceOverrides(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
10319 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearanceOverrides(self, aSource)
10322 r"""GetLocalClearance(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
10323 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearance(self, aSource)
10326 r"""GetEffectiveNetClass(BOARD_CONNECTED_ITEM self) -> NETCLASS"""
10327 return _pcbnew.BOARD_CONNECTED_ITEM_GetEffectiveNetClass(self)
10330 r"""GetNetClassName(BOARD_CONNECTED_ITEM self) -> wxString"""
10331 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClassName(self)
10334 r"""SetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self, bool aVisible)"""
10335 return _pcbnew.BOARD_CONNECTED_ITEM_SetLocalRatsnestVisible(self, aVisible)
10338 r"""GetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self) -> bool"""
10339 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalRatsnestVisible(self)
10346 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropParams(self, *args)
10349 r"""SetTeardropsEnabled(BOARD_CONNECTED_ITEM self, bool aEnable)"""
10350 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropsEnabled(self, aEnable)
10353 r"""GetTeardropsEnabled(BOARD_CONNECTED_ITEM self) -> bool"""
10354 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropsEnabled(self)
10357 r"""SetTeardropBestLengthRatio(BOARD_CONNECTED_ITEM self, double aRatio)"""
10358 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropBestLengthRatio(self, aRatio)
10361 r"""GetTeardropBestLengthRatio(BOARD_CONNECTED_ITEM self) -> double"""
10362 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropBestLengthRatio(self)
10365 r"""SetTeardropMaxLength(BOARD_CONNECTED_ITEM self, int aMaxLength)"""
10366 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxLength(self, aMaxLength)
10369 r"""GetTeardropMaxLength(BOARD_CONNECTED_ITEM self) -> int"""
10370 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxLength(self)
10373 r"""SetTeardropBestWidthRatio(BOARD_CONNECTED_ITEM self, double aRatio)"""
10374 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropBestWidthRatio(self, aRatio)
10377 r"""GetTeardropBestWidthRatio(BOARD_CONNECTED_ITEM self) -> double"""
10378 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropBestWidthRatio(self)
10381 r"""SetTeardropMaxWidth(BOARD_CONNECTED_ITEM self, int aMaxWidth)"""
10382 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxWidth(self, aMaxWidth)
10385 r"""GetTeardropMaxWidth(BOARD_CONNECTED_ITEM self) -> int"""
10386 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxWidth(self)
10389 r"""SetTeardropCurvePts(BOARD_CONNECTED_ITEM self, int aPointCount)"""
10390 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropCurvePts(self, aPointCount)
10393 r"""GetTeardropCurvePts(BOARD_CONNECTED_ITEM self) -> int"""
10394 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropCurvePts(self)
10397 r"""SetTeardropPreferZoneConnections(BOARD_CONNECTED_ITEM self, bool aPrefer)"""
10398 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropPreferZoneConnections(self, aPrefer)
10401 r"""GetTeardropPreferZoneConnections(BOARD_CONNECTED_ITEM self) -> bool"""
10402 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropPreferZoneConnections(self)
10405 r"""SetTeardropAllowSpanTwoTracks(BOARD_CONNECTED_ITEM self, bool aAllow)"""
10406 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropAllowSpanTwoTracks(self, aAllow)
10409 r"""GetTeardropAllowSpanTwoTracks(BOARD_CONNECTED_ITEM self) -> bool"""
10410 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropAllowSpanTwoTracks(self)
10413 r"""SetTeardropMaxTrackWidth(BOARD_CONNECTED_ITEM self, double aRatio)"""
10414 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxTrackWidth(self, aRatio)
10417 r"""GetTeardropMaxTrackWidth(BOARD_CONNECTED_ITEM self) -> double"""
10418 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxTrackWidth(self)
10419 __swig_destroy__ = _pcbnew.delete_BOARD_CONNECTED_ITEM
10422_pcbnew.BOARD_CONNECTED_ITEM_swigregister(BOARD_CONNECTED_ITEM)
10425 r"""BOARD_CONNECTED_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
10426 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
10429 r"""Proxy of C++ std::map< wxString,std::shared_ptr< NETCLASS > > class."""
10431 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10432 __repr__ = _swig_repr
10435 r"""iterator(netclasses_map self) -> SwigPyIterator"""
10436 return _pcbnew.netclasses_map_iterator(self)
10441 r"""__nonzero__(netclasses_map self) -> bool"""
10442 return _pcbnew.netclasses_map___nonzero__(self)
10445 r"""__bool__(netclasses_map self) -> bool"""
10446 return _pcbnew.netclasses_map___bool__(self)
10449 r"""__len__(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10450 return _pcbnew.netclasses_map___len__(self)
10461 r"""__getitem__(netclasses_map self, wxString key) -> std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const &"""
10462 return _pcbnew.netclasses_map___getitem__(self, key)
10465 r"""__delitem__(netclasses_map self, wxString key)"""
10466 return _pcbnew.netclasses_map___delitem__(self, key)
10469 r"""has_key(netclasses_map self, wxString key) -> bool"""
10470 return _pcbnew.netclasses_map_has_key(self, key)
10473 r"""keys(netclasses_map self) -> PyObject *"""
10474 return _pcbnew.netclasses_map_keys(self)
10477 r"""values(netclasses_map self) -> PyObject *"""
10478 return _pcbnew.netclasses_map_values(self)
10481 r"""items(netclasses_map self) -> PyObject *"""
10482 return _pcbnew.netclasses_map_items(self)
10485 r"""__contains__(netclasses_map self, wxString key) -> bool"""
10486 return _pcbnew.netclasses_map___contains__(self, key)
10489 r"""key_iterator(netclasses_map self) -> SwigPyIterator"""
10490 return _pcbnew.netclasses_map_key_iterator(self)
10493 r"""value_iterator(netclasses_map self) -> SwigPyIterator"""
10494 return _pcbnew.netclasses_map_value_iterator(self)
10499 __setitem__(netclasses_map self, wxString key, std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const & x)
10501 return _pcbnew.netclasses_map___setitem__(self, *args)
10504 r"""asdict(netclasses_map self) -> PyObject *"""
10505 return _pcbnew.netclasses_map_asdict(self)
10509 __init__(netclasses_map self, std::less< wxString > const & other) -> netclasses_map
10510 __init__(netclasses_map self) -> netclasses_map
10511 __init__(netclasses_map self, netclasses_map other) -> netclasses_map
10513 _pcbnew.netclasses_map_swiginit(self, _pcbnew.new_netclasses_map(*args))
10516 r"""empty(netclasses_map self) -> bool"""
10517 return _pcbnew.netclasses_map_empty(self)
10520 r"""size(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10521 return _pcbnew.netclasses_map_size(self)
10524 r"""swap(netclasses_map self, netclasses_map v)"""
10525 return _pcbnew.netclasses_map_swap(self, v)
10528 r"""begin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10529 return _pcbnew.netclasses_map_begin(self)
10532 r"""end(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10533 return _pcbnew.netclasses_map_end(self)
10536 r"""rbegin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10537 return _pcbnew.netclasses_map_rbegin(self)
10540 r"""rend(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10541 return _pcbnew.netclasses_map_rend(self)
10544 r"""clear(netclasses_map self)"""
10545 return _pcbnew.netclasses_map_clear(self)
10548 r"""get_allocator(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::allocator_type"""
10549 return _pcbnew.netclasses_map_get_allocator(self)
10552 r"""count(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10553 return _pcbnew.netclasses_map_count(self, x)
10557 erase(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type
10558 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator position)
10559 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator first, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator last)
10561 return _pcbnew.netclasses_map_erase(self, *args)
10564 r"""find(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10565 return _pcbnew.netclasses_map_find(self, x)
10568 r"""lower_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10569 return _pcbnew.netclasses_map_lower_bound(self, x)
10572 r"""upper_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10573 return _pcbnew.netclasses_map_upper_bound(self, x)
10574 __swig_destroy__ = _pcbnew.delete_netclasses_map
10577_pcbnew.netclasses_map_swigregister(netclasses_map)
10579DEFAULT_SILK_LINE_WIDTH = _pcbnew.DEFAULT_SILK_LINE_WIDTH
10581DEFAULT_COPPER_LINE_WIDTH = _pcbnew.DEFAULT_COPPER_LINE_WIDTH
10583DEFAULT_EDGE_WIDTH = _pcbnew.DEFAULT_EDGE_WIDTH
10585DEFAULT_COURTYARD_WIDTH = _pcbnew.DEFAULT_COURTYARD_WIDTH
10587DEFAULT_LINE_WIDTH = _pcbnew.DEFAULT_LINE_WIDTH
10589DEFAULT_SILK_TEXT_SIZE = _pcbnew.DEFAULT_SILK_TEXT_SIZE
10591DEFAULT_COPPER_TEXT_SIZE = _pcbnew.DEFAULT_COPPER_TEXT_SIZE
10593DEFAULT_TEXT_SIZE = _pcbnew.DEFAULT_TEXT_SIZE
10595DEFAULT_SILK_TEXT_WIDTH = _pcbnew.DEFAULT_SILK_TEXT_WIDTH
10597DEFAULT_COPPER_TEXT_WIDTH = _pcbnew.DEFAULT_COPPER_TEXT_WIDTH
10599DEFAULT_TEXT_WIDTH = _pcbnew.DEFAULT_TEXT_WIDTH
10601DEFAULT_DIMENSION_ARROW_LENGTH = _pcbnew.DEFAULT_DIMENSION_ARROW_LENGTH
10603DEFAULT_DIMENSION_EXTENSION_OFFSET = _pcbnew.DEFAULT_DIMENSION_EXTENSION_OFFSET
10605DEFAULT_BOARD_THICKNESS_MM = _pcbnew.DEFAULT_BOARD_THICKNESS_MM
10607DEFAULT_PCB_EDGE_THICKNESS = _pcbnew.DEFAULT_PCB_EDGE_THICKNESS
10609DEFAULT_SOLDERMASK_EXPANSION = _pcbnew.DEFAULT_SOLDERMASK_EXPANSION
10611DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE = _pcbnew.DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE
10613DEFAULT_SOLDERMASK_MIN_WIDTH = _pcbnew.DEFAULT_SOLDERMASK_MIN_WIDTH
10615DEFAULT_SOLDERPASTE_CLEARANCE = _pcbnew.DEFAULT_SOLDERPASTE_CLEARANCE
10617DEFAULT_SOLDERPASTE_RATIO = _pcbnew.DEFAULT_SOLDERPASTE_RATIO
10619DEFAULT_CUSTOMTRACKWIDTH = _pcbnew.DEFAULT_CUSTOMTRACKWIDTH
10621DEFAULT_CUSTOMDPAIRWIDTH = _pcbnew.DEFAULT_CUSTOMDPAIRWIDTH
10623DEFAULT_CUSTOMDPAIRGAP = _pcbnew.DEFAULT_CUSTOMDPAIRGAP
10625DEFAULT_CUSTOMDPAIRVIAGAP = _pcbnew.DEFAULT_CUSTOMDPAIRVIAGAP
10627DEFAULT_MEANDER_SPACING = _pcbnew.DEFAULT_MEANDER_SPACING
10629DEFAULT_DP_MEANDER_SPACING = _pcbnew.DEFAULT_DP_MEANDER_SPACING
10631DEFAULT_MINCLEARANCE = _pcbnew.DEFAULT_MINCLEARANCE
10633DEFAULT_MINCONNECTION = _pcbnew.DEFAULT_MINCONNECTION
10635DEFAULT_TRACKMINWIDTH = _pcbnew.DEFAULT_TRACKMINWIDTH
10637DEFAULT_VIASMINSIZE = _pcbnew.DEFAULT_VIASMINSIZE
10639DEFAULT_MINTHROUGHDRILL = _pcbnew.DEFAULT_MINTHROUGHDRILL
10641DEFAULT_MICROVIASMINSIZE = _pcbnew.DEFAULT_MICROVIASMINSIZE
10643DEFAULT_MICROVIASMINDRILL = _pcbnew.DEFAULT_MICROVIASMINDRILL
10645DEFAULT_HOLETOHOLEMIN = _pcbnew.DEFAULT_HOLETOHOLEMIN
10647DEFAULT_HOLECLEARANCE = _pcbnew.DEFAULT_HOLECLEARANCE
10649DEFAULT_COPPEREDGECLEARANCE = _pcbnew.DEFAULT_COPPEREDGECLEARANCE
10651LEGACY_COPPEREDGECLEARANCE = _pcbnew.LEGACY_COPPEREDGECLEARANCE
10653DEFAULT_SILKCLEARANCE = _pcbnew.DEFAULT_SILKCLEARANCE
10655DEFAULT_MINRESOLVEDSPOKES = _pcbnew.DEFAULT_MINRESOLVEDSPOKES
10657MINIMUM_ERROR_SIZE_MM = _pcbnew.MINIMUM_ERROR_SIZE_MM
10659MAXIMUM_ERROR_SIZE_MM = _pcbnew.MAXIMUM_ERROR_SIZE_MM
10661MINIMUM_LINE_WIDTH_MM = _pcbnew.MINIMUM_LINE_WIDTH_MM
10663MAXIMUM_LINE_WIDTH_MM = _pcbnew.MAXIMUM_LINE_WIDTH_MM
10666 r"""Proxy of C++ VIA_DIMENSION class."""
10668 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10669 __repr__ = _swig_repr
10670 m_Diameter = property(_pcbnew.VIA_DIMENSION_m_Diameter_get, _pcbnew.VIA_DIMENSION_m_Diameter_set, doc=
r"""m_Diameter : int""")
10671 m_Drill = property(_pcbnew.VIA_DIMENSION_m_Drill_get, _pcbnew.VIA_DIMENSION_m_Drill_set, doc=
r"""m_Drill : int""")
10675 __init__(VIA_DIMENSION self) -> VIA_DIMENSION
10676 __init__(VIA_DIMENSION self, int aDiameter, int aDrill) -> VIA_DIMENSION
10678 _pcbnew.VIA_DIMENSION_swiginit(self, _pcbnew.new_VIA_DIMENSION(*args))
10681 r"""__eq__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10682 return _pcbnew.VIA_DIMENSION___eq__(self, aOther)
10685 r"""__ne__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10686 return _pcbnew.VIA_DIMENSION___ne__(self, aOther)
10689 r"""__lt__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10690 return _pcbnew.VIA_DIMENSION___lt__(self, aOther)
10691 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION
10694_pcbnew.VIA_DIMENSION_swigregister(VIA_DIMENSION)
10697 r"""Proxy of C++ DIFF_PAIR_DIMENSION class."""
10699 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10700 __repr__ = _swig_repr
10701 m_Width = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Width_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Width_set, doc=
r"""m_Width : int""")
10702 m_Gap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Gap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Gap_set, doc=
r"""m_Gap : int""")
10703 m_ViaGap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_set, doc=
r"""m_ViaGap : int""")
10707 __init__(DIFF_PAIR_DIMENSION self) -> DIFF_PAIR_DIMENSION
10708 __init__(DIFF_PAIR_DIMENSION self, int aWidth, int aGap, int aViaGap) -> DIFF_PAIR_DIMENSION
10710 _pcbnew.DIFF_PAIR_DIMENSION_swiginit(self, _pcbnew.new_DIFF_PAIR_DIMENSION(*args))
10713 r"""__eq__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10714 return _pcbnew.DIFF_PAIR_DIMENSION___eq__(self, aOther)
10717 r"""__ne__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10718 return _pcbnew.DIFF_PAIR_DIMENSION___ne__(self, aOther)
10721 r"""__lt__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10722 return _pcbnew.DIFF_PAIR_DIMENSION___lt__(self, aOther)
10723 __swig_destroy__ = _pcbnew.delete_DIFF_PAIR_DIMENSION
10726_pcbnew.DIFF_PAIR_DIMENSION_swigregister(DIFF_PAIR_DIMENSION)
10728LAYER_CLASS_SILK = _pcbnew.LAYER_CLASS_SILK
10730LAYER_CLASS_COPPER = _pcbnew.LAYER_CLASS_COPPER
10732LAYER_CLASS_EDGES = _pcbnew.LAYER_CLASS_EDGES
10734LAYER_CLASS_COURTYARD = _pcbnew.LAYER_CLASS_COURTYARD
10736LAYER_CLASS_FAB = _pcbnew.LAYER_CLASS_FAB
10738LAYER_CLASS_OTHERS = _pcbnew.LAYER_CLASS_OTHERS
10740LAYER_CLASS_COUNT = _pcbnew.LAYER_CLASS_COUNT
10743 r"""Proxy of C++ TEXT_ITEM_INFO class."""
10745 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10746 __repr__ = _swig_repr
10747 m_Text = property(_pcbnew.TEXT_ITEM_INFO_m_Text_get, _pcbnew.TEXT_ITEM_INFO_m_Text_set, doc=
r"""m_Text : wxString""")
10748 m_Visible = property(_pcbnew.TEXT_ITEM_INFO_m_Visible_get, _pcbnew.TEXT_ITEM_INFO_m_Visible_set, doc=
r"""m_Visible : bool""")
10749 m_Layer = property(_pcbnew.TEXT_ITEM_INFO_m_Layer_get, _pcbnew.TEXT_ITEM_INFO_m_Layer_set, doc=
r"""m_Layer : int""")
10752 r"""__init__(TEXT_ITEM_INFO self, wxString aText, bool aVisible, int aLayer) -> TEXT_ITEM_INFO"""
10753 _pcbnew.TEXT_ITEM_INFO_swiginit(self, _pcbnew.new_TEXT_ITEM_INFO(aText, aVisible, aLayer))
10756 r"""__eq__(TEXT_ITEM_INFO self, TEXT_ITEM_INFO aOther) -> bool"""
10757 return _pcbnew.TEXT_ITEM_INFO___eq__(self, aOther)
10758 __swig_destroy__ = _pcbnew.delete_TEXT_ITEM_INFO
10761_pcbnew.TEXT_ITEM_INFO_swigregister(TEXT_ITEM_INFO)
10764 r"""Proxy of C++ BOARD_DESIGN_SETTINGS class."""
10766 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10767 __repr__ = _swig_repr
10768 __swig_destroy__ = _pcbnew.delete_BOARD_DESIGN_SETTINGS
10771 r"""__eq__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> bool"""
10772 return _pcbnew.BOARD_DESIGN_SETTINGS___eq__(self, aOther)
10775 r"""__ne__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> bool"""
10776 return _pcbnew.BOARD_DESIGN_SETTINGS___ne__(self, aOther)
10780 __init__(BOARD_DESIGN_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> BOARD_DESIGN_SETTINGS
10781 __init__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> BOARD_DESIGN_SETTINGS
10783 _pcbnew.BOARD_DESIGN_SETTINGS_swiginit(self, _pcbnew.new_BOARD_DESIGN_SETTINGS(*args))
10786 r"""LoadFromFile(BOARD_DESIGN_SETTINGS self, wxString aDirectory="") -> bool"""
10787 return _pcbnew.BOARD_DESIGN_SETTINGS_LoadFromFile(self, *args)
10794 return _pcbnew.BOARD_DESIGN_SETTINGS_GetStackupDescriptor(self, *args)
10797 r"""GetTeadropParamsList(BOARD_DESIGN_SETTINGS self) -> TEARDROP_PARAMETERS_LIST *"""
10798 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTeadropParamsList(self)
10801 r"""GetSeverity(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> SEVERITY"""
10802 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSeverity(self, aDRCErrorCode)
10805 r"""Ignore(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> bool"""
10806 return _pcbnew.BOARD_DESIGN_SETTINGS_Ignore(self, aDRCErrorCode)
10809 r"""GetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self) -> ZONE_SETTINGS"""
10810 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDefaultZoneSettings(self)
10813 r"""SetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self, ZONE_SETTINGS aSettings)"""
10814 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDefaultZoneSettings(self, aSettings)
10817 r"""GetCurrentNetClassName(BOARD_DESIGN_SETTINGS self) -> wxString"""
10818 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentNetClassName(self)
10821 r"""UseNetClassTrack(BOARD_DESIGN_SETTINGS self) -> bool"""
10822 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassTrack(self)
10825 r"""UseNetClassVia(BOARD_DESIGN_SETTINGS self) -> bool"""
10826 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassVia(self)
10829 r"""UseNetClassDiffPair(BOARD_DESIGN_SETTINGS self) -> bool"""
10830 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassDiffPair(self)
10833 r"""GetBiggestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
10834 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBiggestClearanceValue(self)
10837 r"""GetSmallestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
10838 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSmallestClearanceValue(self)
10841 r"""GetTrackWidthIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10842 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTrackWidthIndex(self)
10845 r"""SetTrackWidthIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10846 return _pcbnew.BOARD_DESIGN_SETTINGS_SetTrackWidthIndex(self, aIndex)
10849 r"""GetCurrentTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10850 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentTrackWidth(self)
10853 r"""SetCustomTrackWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
10854 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomTrackWidth(self, aWidth)
10857 r"""GetCustomTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10858 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomTrackWidth(self)
10861 r"""GetViaSizeIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10862 return _pcbnew.BOARD_DESIGN_SETTINGS_GetViaSizeIndex(self)
10865 r"""SetViaSizeIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10866 return _pcbnew.BOARD_DESIGN_SETTINGS_SetViaSizeIndex(self, aIndex)
10869 r"""GetCurrentViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
10870 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaSize(self)
10873 r"""SetCustomViaSize(BOARD_DESIGN_SETTINGS self, int aSize)"""
10874 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaSize(self, aSize)
10877 r"""GetCustomViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
10878 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaSize(self)
10881 r"""GetCurrentViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
10882 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaDrill(self)
10885 r"""SetCustomViaDrill(BOARD_DESIGN_SETTINGS self, int aDrill)"""
10886 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaDrill(self, aDrill)
10889 r"""GetCustomViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
10890 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaDrill(self)
10897 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomTrackViaSize(self, *args)
10900 r"""GetDiffPairIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10901 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDiffPairIndex(self)
10904 r"""SetDiffPairIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10905 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDiffPairIndex(self, aIndex)
10908 r"""SetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
10909 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairWidth(self, aWidth)
10912 r"""GetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10913 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairWidth(self)
10916 r"""SetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
10917 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairGap(self, aGap)
10920 r"""GetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
10921 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairGap(self)
10924 r"""SetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
10925 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairViaGap(self, aGap)
10928 r"""GetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
10929 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairViaGap(self)
10936 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomDiffPairDimensions(self, *args)
10939 r"""GetCurrentDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10940 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairWidth(self)
10943 r"""GetCurrentDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
10944 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairGap(self)
10947 r"""GetCurrentDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
10948 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairViaGap(self)
10951 r"""GetEnabledLayers(BOARD_DESIGN_SETTINGS self) -> LSET"""
10952 return _pcbnew.BOARD_DESIGN_SETTINGS_GetEnabledLayers(self)
10955 r"""SetEnabledLayers(BOARD_DESIGN_SETTINGS self, LSET aMask)"""
10956 return _pcbnew.BOARD_DESIGN_SETTINGS_SetEnabledLayers(self, aMask)
10959 r"""IsLayerEnabled(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayerId) -> bool"""
10960 return _pcbnew.BOARD_DESIGN_SETTINGS_IsLayerEnabled(self, aLayerId)
10963 r"""GetCopperLayerCount(BOARD_DESIGN_SETTINGS self) -> int"""
10964 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCopperLayerCount(self)
10967 r"""SetCopperLayerCount(BOARD_DESIGN_SETTINGS self, int aNewLayerCount)"""
10968 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCopperLayerCount(self, aNewLayerCount)
10971 r"""GetBoardThickness(BOARD_DESIGN_SETTINGS self) -> int"""
10972 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBoardThickness(self)
10975 r"""SetBoardThickness(BOARD_DESIGN_SETTINGS self, int aThickness)"""
10976 return _pcbnew.BOARD_DESIGN_SETTINGS_SetBoardThickness(self, aThickness)
10979 r"""GetDRCEpsilon(BOARD_DESIGN_SETTINGS self) -> int"""
10980 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDRCEpsilon(self)
10983 r"""GetHolePlatingThickness(BOARD_DESIGN_SETTINGS self) -> int"""
10984 return _pcbnew.BOARD_DESIGN_SETTINGS_GetHolePlatingThickness(self)
10987 r"""GetLineThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
10988 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLineThickness(self, aLayer)
10991 r"""GetTextSize(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
10992 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextSize(self, aLayer)
10995 r"""GetTextThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
10996 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextThickness(self, aLayer)
10999 r"""GetTextItalic(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
11000 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextItalic(self, aLayer)
11003 r"""GetTextUpright(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
11004 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextUpright(self, aLayer)
11007 r"""GetLayerClass(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
11008 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLayerClass(self, aLayer)
11011 r"""SetAuxOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
11012 return _pcbnew.BOARD_DESIGN_SETTINGS_SetAuxOrigin(self, aOrigin)
11015 r"""GetAuxOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
11016 return _pcbnew.BOARD_DESIGN_SETTINGS_GetAuxOrigin(self)
11019 r"""SetGridOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
11020 return _pcbnew.BOARD_DESIGN_SETTINGS_SetGridOrigin(self, aOrigin)
11023 r"""GetGridOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
11024 return _pcbnew.BOARD_DESIGN_SETTINGS_GetGridOrigin(self)
11025 m_TrackWidthList = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TrackWidthList_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TrackWidthList_set, doc=
r"""m_TrackWidthList : std::vector<(int,std::allocator<(int)>)>""")
11026 m_ViasDimensionsList = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasDimensionsList_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasDimensionsList_set, doc=
r"""m_ViasDimensionsList : std::vector<(VIA_DIMENSION,std::allocator<(VIA_DIMENSION)>)>""")
11027 m_DiffPairDimensionsList = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairDimensionsList_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairDimensionsList_set, doc=
r"""m_DiffPairDimensionsList : std::vector<(DIFF_PAIR_DIMENSION,std::allocator<(DIFF_PAIR_DIMENSION)>)>""")
11028 m_TeardropParamsList = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_set, doc=
r"""m_TeardropParamsList : TEARDROP_PARAMETERS_LIST""")
11029 m_SingleTrackMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SingleTrackMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SingleTrackMeanderSettings_set, doc=
r"""m_SingleTrackMeanderSettings : PNS::MEANDER_SETTINGS""")
11030 m_DiffPairMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairMeanderSettings_set, doc=
r"""m_DiffPairMeanderSettings : PNS::MEANDER_SETTINGS""")
11031 m_SkewMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SkewMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SkewMeanderSettings_set, doc=
r"""m_SkewMeanderSettings : PNS::MEANDER_SETTINGS""")
11032 m_CurrentViaType = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_set, doc=
r"""m_CurrentViaType : VIATYPE""")
11033 m_UseConnectedTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_set, doc=
r"""m_UseConnectedTrackWidth : bool""")
11034 m_TempOverrideTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_set, doc=
r"""m_TempOverrideTrackWidth : bool""")
11035 m_MinClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_set, doc=
r"""m_MinClearance : int""")
11036 m_MinConn = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_set, doc=
r"""m_MinConn : int""")
11037 m_TrackMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_set, doc=
r"""m_TrackMinWidth : int""")
11038 m_ViasMinAnnularWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_set, doc=
r"""m_ViasMinAnnularWidth : int""")
11039 m_ViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_set, doc=
r"""m_ViasMinSize : int""")
11040 m_MinThroughDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_set, doc=
r"""m_MinThroughDrill : int""")
11041 m_MicroViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_set, doc=
r"""m_MicroViasMinSize : int""")
11042 m_MicroViasMinDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_set, doc=
r"""m_MicroViasMinDrill : int""")
11043 m_CopperEdgeClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_set, doc=
r"""m_CopperEdgeClearance : int""")
11044 m_HoleClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_set, doc=
r"""m_HoleClearance : int""")
11045 m_HoleToHoleMin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_set, doc=
r"""m_HoleToHoleMin : int""")
11046 m_SilkClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_set, doc=
r"""m_SilkClearance : int""")
11047 m_MinResolvedSpokes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_set, doc=
r"""m_MinResolvedSpokes : int""")
11048 m_MinSilkTextHeight = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_set, doc=
r"""m_MinSilkTextHeight : int""")
11049 m_MinSilkTextThickness = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_set, doc=
r"""m_MinSilkTextThickness : int""")
11050 m_DRCSeverities = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DRCSeverities_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DRCSeverities_set, doc=
r"""m_DRCSeverities : std::map<(int,SEVERITY,std::less<(int)>,std::allocator<(std::pair<(q(const).int,SEVERITY)>)>)>""")
11051 m_DrcExclusions = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DrcExclusions_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DrcExclusions_set, doc=
r"""m_DrcExclusions : std::set<(wxString,std::less<(wxString)>,std::allocator<(wxString)>)>""")
11052 m_ZoneKeepExternalFillets = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_set, doc=
r"""m_ZoneKeepExternalFillets : bool""")
11053 m_MaxError = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_set, doc=
r"""m_MaxError : int""")
11054 m_SolderMaskExpansion = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_set, doc=
r"""m_SolderMaskExpansion : int""")
11055 m_SolderMaskMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_set, doc=
r"""m_SolderMaskMinWidth : int""")
11056 m_SolderMaskToCopperClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_set, doc=
r"""m_SolderMaskToCopperClearance : int""")
11057 m_SolderPasteMargin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_set, doc=
r"""m_SolderPasteMargin : int""")
11058 m_SolderPasteMarginRatio = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_set, doc=
r"""m_SolderPasteMarginRatio : double""")
11059 m_AllowSoldermaskBridgesInFPs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_set, doc=
r"""m_AllowSoldermaskBridgesInFPs : bool""")
11060 m_NetSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_NetSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_NetSettings_set, doc=
r"""m_NetSettings : std::shared_ptr<(NET_SETTINGS)>""")
11061 m_DefaultFPTextItems = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DefaultFPTextItems_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DefaultFPTextItems_set, doc=
r"""m_DefaultFPTextItems : std::vector<(TEXT_ITEM_INFO,std::allocator<(TEXT_ITEM_INFO)>)>""")
11062 m_LineThickness = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_LineThickness_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_LineThickness_set, doc=
r"""m_LineThickness : a(LAYER_CLASS_COUNT).int""")
11063 m_TextSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TextSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TextSize_set, doc=
r"""m_TextSize : a(LAYER_CLASS_COUNT).VECTOR2I""")
11064 m_TextThickness = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TextThickness_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TextThickness_set, doc=
r"""m_TextThickness : a(LAYER_CLASS_COUNT).int""")
11065 m_TextItalic = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TextItalic_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TextItalic_set, doc=
r"""m_TextItalic : a(LAYER_CLASS_COUNT).bool""")
11066 m_TextUpright = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TextUpright_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TextUpright_set, doc=
r"""m_TextUpright : a(LAYER_CLASS_COUNT).bool""")
11067 m_DimensionUnitsMode = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_set, doc=
r"""m_DimensionUnitsMode : DIM_UNITS_MODE""")
11068 m_DimensionPrecision = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_set, doc=
r"""m_DimensionPrecision : DIM_PRECISION""")
11069 m_DimensionUnitsFormat = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_set, doc=
r"""m_DimensionUnitsFormat : DIM_UNITS_FORMAT""")
11070 m_DimensionSuppressZeroes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_set, doc=
r"""m_DimensionSuppressZeroes : bool""")
11071 m_DimensionTextPosition = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_set, doc=
r"""m_DimensionTextPosition : DIM_TEXT_POSITION""")
11072 m_DimensionKeepTextAligned = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_set, doc=
r"""m_DimensionKeepTextAligned : bool""")
11073 m_DimensionArrowLength = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_set, doc=
r"""m_DimensionArrowLength : int""")
11074 m_DimensionExtensionOffset = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_set, doc=
r"""m_DimensionExtensionOffset : int""")
11075 m_StyleFPFields = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPFields_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPFields_set, doc=
r"""m_StyleFPFields : bool""")
11076 m_StyleFPText = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPText_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPText_set, doc=
r"""m_StyleFPText : bool""")
11077 m_StyleFPShapes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPShapes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPShapes_set, doc=
r"""m_StyleFPShapes : bool""")
11078 m_HasStackup = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_set, doc=
r"""m_HasStackup : bool""")
11079 m_UseHeightForLengthCalcs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_set, doc=
r"""m_UseHeightForLengthCalcs : bool""")
11082 r"""CloneFrom(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther)"""
11083 return _pcbnew.BOARD_DESIGN_SETTINGS_CloneFrom(self, aOther)
11086_pcbnew.BOARD_DESIGN_SETTINGS_swigregister(BOARD_DESIGN_SETTINGS)
11089 r"""Proxy of C++ NET_SETTINGS class."""
11091 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11092 __repr__ = _swig_repr
11095 r"""__init__(NET_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> NET_SETTINGS"""
11096 _pcbnew.NET_SETTINGS_swiginit(self, _pcbnew.new_NET_SETTINGS(aParent, aPath))
11097 __swig_destroy__ = _pcbnew.delete_NET_SETTINGS
11100 r"""__eq__(NET_SETTINGS self, NET_SETTINGS aOther) -> bool"""
11101 return _pcbnew.NET_SETTINGS___eq__(self, aOther)
11104 r"""__ne__(NET_SETTINGS self, NET_SETTINGS aOther) -> bool"""
11105 return _pcbnew.NET_SETTINGS___ne__(self, aOther)
11106 m_NetClasses = property(_pcbnew.NET_SETTINGS_m_NetClasses_get, _pcbnew.NET_SETTINGS_m_NetClasses_set, doc=
r"""m_NetClasses : std::map<(wxString,std::shared_ptr<(NETCLASS)>,std::less<(wxString)>,std::allocator<(std::pair<(q(const).wxString,std::shared_ptr<(NETCLASS)>)>)>)>""")
11107 m_DefaultNetClass = property(_pcbnew.NET_SETTINGS_m_DefaultNetClass_get, _pcbnew.NET_SETTINGS_m_DefaultNetClass_set, doc=
r"""m_DefaultNetClass : std::shared_ptr<(NETCLASS)>""")
11108 m_NetClassPatternAssignmentCache = property(_pcbnew.NET_SETTINGS_m_NetClassPatternAssignmentCache_get, _pcbnew.NET_SETTINGS_m_NetClassPatternAssignmentCache_set, doc=
r"""m_NetClassPatternAssignmentCache : std::map<(wxString,wxString,std::less<(wxString)>,std::allocator<(std::pair<(q(const).wxString,wxString)>)>)>""")
11109 m_NetColorAssignments = property(_pcbnew.NET_SETTINGS_m_NetColorAssignments_get, _pcbnew.NET_SETTINGS_m_NetColorAssignments_set, doc=
r"""m_NetColorAssignments : std::map<(wxString,KIGFX::COLOR4D,std::less<(wxString)>,std::allocator<(std::pair<(q(const).wxString,KIGFX::COLOR4D)>)>)>""")
11112 r"""GetEffectiveNetClass(NET_SETTINGS self, wxString aNetName) -> std::shared_ptr< NETCLASS >"""
11113 return _pcbnew.NET_SETTINGS_GetEffectiveNetClass(self, aNetName)
11117 r"""ParseBusVector(wxString aBus, wxString aName, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11118 return _pcbnew.NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
11122 r"""ParseBusGroup(wxString aGroup, wxString name, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11123 return _pcbnew.NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
11126_pcbnew.NET_SETTINGS_swigregister(NET_SETTINGS)
11129 r"""NET_SETTINGS_ParseBusVector(wxString aBus, wxString aName, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11130 return _pcbnew.NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
11133 r"""NET_SETTINGS_ParseBusGroup(wxString aGroup, wxString name, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11134 return _pcbnew.NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
11137 r"""Proxy of C++ CN_DISJOINT_NET_ENTRY class."""
11139 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11140 __repr__ = _swig_repr
11141 net = property(_pcbnew.CN_DISJOINT_NET_ENTRY_net_get, _pcbnew.CN_DISJOINT_NET_ENTRY_net_set, doc=
r"""net : int""")
11142 a = property(_pcbnew.CN_DISJOINT_NET_ENTRY_a_get, _pcbnew.CN_DISJOINT_NET_ENTRY_a_set, doc=
r"""a : p.BOARD_CONNECTED_ITEM""")
11143 b = property(_pcbnew.CN_DISJOINT_NET_ENTRY_b_get, _pcbnew.CN_DISJOINT_NET_ENTRY_b_set, doc=
r"""b : p.BOARD_CONNECTED_ITEM""")
11144 anchorA = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_set, doc=
r"""anchorA : VECTOR2I""")
11145 anchorB = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_set, doc=
r"""anchorB : VECTOR2I""")
11148 r"""__init__(CN_DISJOINT_NET_ENTRY self) -> CN_DISJOINT_NET_ENTRY"""
11149 _pcbnew.CN_DISJOINT_NET_ENTRY_swiginit(self, _pcbnew.new_CN_DISJOINT_NET_ENTRY())
11150 __swig_destroy__ = _pcbnew.delete_CN_DISJOINT_NET_ENTRY
11153_pcbnew.CN_DISJOINT_NET_ENTRY_swigregister(CN_DISJOINT_NET_ENTRY)
11156 r"""Proxy of C++ RN_DYNAMIC_LINE class."""
11158 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11159 __repr__ = _swig_repr
11160 netCode = property(_pcbnew.RN_DYNAMIC_LINE_netCode_get, _pcbnew.RN_DYNAMIC_LINE_netCode_set, doc=
r"""netCode : int""")
11161 a = property(_pcbnew.RN_DYNAMIC_LINE_a_get, _pcbnew.RN_DYNAMIC_LINE_a_set, doc=
r"""a : VECTOR2I""")
11162 b = property(_pcbnew.RN_DYNAMIC_LINE_b_get, _pcbnew.RN_DYNAMIC_LINE_b_set, doc=
r"""b : VECTOR2I""")
11165 r"""__init__(RN_DYNAMIC_LINE self) -> RN_DYNAMIC_LINE"""
11166 _pcbnew.RN_DYNAMIC_LINE_swiginit(self, _pcbnew.new_RN_DYNAMIC_LINE())
11167 __swig_destroy__ = _pcbnew.delete_RN_DYNAMIC_LINE
11170_pcbnew.RN_DYNAMIC_LINE_swigregister(RN_DYNAMIC_LINE)
11172PROPAGATE_MODE_SKIP_CONFLICTS = _pcbnew.PROPAGATE_MODE_SKIP_CONFLICTS
11174PROPAGATE_MODE_RESOLVE_CONFLICTS = _pcbnew.PROPAGATE_MODE_RESOLVE_CONFLICTS
11177 r"""Proxy of C++ CONNECTIVITY_DATA class."""
11179 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11180 __repr__ = _swig_repr
11181 __swig_destroy__ = _pcbnew.delete_CONNECTIVITY_DATA
11185 __init__(CONNECTIVITY_DATA self) -> CONNECTIVITY_DATA
11186 __init__(CONNECTIVITY_DATA self, std::shared_ptr< CONNECTIVITY_DATA > aGlobalConnectivity, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aLocalItems, bool aSkipRatsnestUpdate=False) -> CONNECTIVITY_DATA
11188 _pcbnew.CONNECTIVITY_DATA_swiginit(self, _pcbnew.new_CONNECTIVITY_DATA(*args))
11192 Build(CONNECTIVITY_DATA self, BOARD aBoard, PROGRESS_REPORTER * aReporter=None) -> bool
11193 Build(CONNECTIVITY_DATA self, std::shared_ptr< CONNECTIVITY_DATA > & aGlobalConnectivity, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aLocalItems)
11195 return _pcbnew.CONNECTIVITY_DATA_Build(self, *args)
11198 r"""Add(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11199 return _pcbnew.CONNECTIVITY_DATA_Add(self, aItem)
11202 r"""Remove(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11203 return _pcbnew.CONNECTIVITY_DATA_Remove(self, aItem)
11206 r"""Update(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11207 return _pcbnew.CONNECTIVITY_DATA_Update(self, aItem)
11210 r"""Move(CONNECTIVITY_DATA self, VECTOR2I aDelta)"""
11211 return _pcbnew.CONNECTIVITY_DATA_Move(self, aDelta)
11214 r"""ClearRatsnest(CONNECTIVITY_DATA self)"""
11215 return _pcbnew.CONNECTIVITY_DATA_ClearRatsnest(self)
11218 r"""GetNetCount(CONNECTIVITY_DATA self) -> int"""
11219 return _pcbnew.CONNECTIVITY_DATA_GetNetCount(self)
11222 r"""GetRatsnestForNet(CONNECTIVITY_DATA self, int aNet) -> RN_NET *"""
11223 return _pcbnew.CONNECTIVITY_DATA_GetRatsnestForNet(self, aNet)
11226 r"""PropagateNets(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
11227 return _pcbnew.CONNECTIVITY_DATA_PropagateNets(self, aCommit)
11230 r"""FillIsolatedIslandsMap(CONNECTIVITY_DATA self, std::map< ZONE *,std::map< PCB_LAYER_ID,ISOLATED_ISLANDS,std::less< PCB_LAYER_ID >,std::allocator< std::pair< PCB_LAYER_ID const,ISOLATED_ISLANDS > > >,std::less< ZONE * >,std::allocator< std::pair< ZONE *const,std::map< PCB_LAYER_ID,ISOLATED_ISLANDS,std::less< PCB_LAYER_ID >,std::allocator< std::pair< PCB_LAYER_ID const,ISOLATED_ISLANDS > > > > > > & aMap, bool aConnectivityAlreadyRebuilt=False)"""
11231 return _pcbnew.CONNECTIVITY_DATA_FillIsolatedIslandsMap(self, aMap, aConnectivityAlreadyRebuilt)
11234 r"""RecalculateRatsnest(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
11235 return _pcbnew.CONNECTIVITY_DATA_RecalculateRatsnest(self, aCommit)
11238 r"""GetUnconnectedCount(CONNECTIVITY_DATA self, bool aVisibileOnly) -> unsigned int"""
11239 return _pcbnew.CONNECTIVITY_DATA_GetUnconnectedCount(self, aVisibileOnly)
11242 r"""IsConnectedOnLayer(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, int aLayer, std::initializer_list< KICAD_T > const & aTypes={}) -> bool"""
11243 return _pcbnew.CONNECTIVITY_DATA_IsConnectedOnLayer(self, *args)
11246 r"""GetNodeCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
11247 return _pcbnew.CONNECTIVITY_DATA_GetNodeCount(self, aNet)
11250 r"""GetPadCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
11251 return _pcbnew.CONNECTIVITY_DATA_GetPadCount(self, aNet)
11254 r"""GetConnectedTracks(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> TRACKS_VEC"""
11255 return _pcbnew.CONNECTIVITY_DATA_GetConnectedTracks(self, aItem)
11259 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> PADS_VEC
11260 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::set< PAD *,std::less< PAD * >,std::allocator< PAD * > > * pads)
11262 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPads(self, *args)
11265 r"""GetConnectedPadsAndVias(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, PADS_VEC pads, std::vector< PCB_VIA *,std::allocator< PCB_VIA * > > * vias)"""
11266 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPadsAndVias(self, aItem, pads, vias)
11269 r"""GetConnectedItemsAtAnchor(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, VECTOR2I aAnchor, std::initializer_list< KICAD_T > const & aTypes, int const & aMaxError=0) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
11270 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItemsAtAnchor(self, aItem, aAnchor, aTypes, aMaxError)
11273 r"""RunOnUnconnectedEdges(CONNECTIVITY_DATA self, std::function< bool (CN_EDGE &) > aFunc)"""
11274 return _pcbnew.CONNECTIVITY_DATA_RunOnUnconnectedEdges(self, aFunc)
11277 r"""TestTrackEndpointDangling(CONNECTIVITY_DATA self, PCB_TRACK aTrack, bool aIgnoreTracksInPads, VECTOR2I aPos=None) -> bool"""
11278 return _pcbnew.CONNECTIVITY_DATA_TestTrackEndpointDangling(self, aTrack, aIgnoreTracksInPads, aPos)
11281 r"""ClearLocalRatsnest(CONNECTIVITY_DATA self)"""
11282 return _pcbnew.CONNECTIVITY_DATA_ClearLocalRatsnest(self)
11285 r"""HideLocalRatsnest(CONNECTIVITY_DATA self)"""
11286 return _pcbnew.CONNECTIVITY_DATA_HideLocalRatsnest(self)
11289 r"""ComputeLocalRatsnest(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems, CONNECTIVITY_DATA aDynamicData, VECTOR2I aInternalOffset={ 0, 0 })"""
11290 return _pcbnew.CONNECTIVITY_DATA_ComputeLocalRatsnest(self, *args)
11293 r"""GetLocalRatsnest(CONNECTIVITY_DATA self) -> std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &"""
11294 return _pcbnew.CONNECTIVITY_DATA_GetLocalRatsnest(self)
11297 r"""GetConnectedItems(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::initializer_list< KICAD_T > const & aTypes, bool aIgnoreNetcodes=False) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
11298 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItems(self, aItem, aTypes, aIgnoreNetcodes)
11301 r"""GetNetItems(CONNECTIVITY_DATA self, int aNetCode, std::initializer_list< KICAD_T > const & aTypes) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
11302 return _pcbnew.CONNECTIVITY_DATA_GetNetItems(self, aNetCode, aTypes)
11305 r"""BlockRatsnestItems(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)"""
11306 return _pcbnew.CONNECTIVITY_DATA_BlockRatsnestItems(self, aItems)
11309 r"""GetConnectivityAlgo(CONNECTIVITY_DATA self) -> std::shared_ptr< CN_CONNECTIVITY_ALGO >"""
11310 return _pcbnew.CONNECTIVITY_DATA_GetConnectivityAlgo(self)
11313 r"""GetLock(CONNECTIVITY_DATA self) -> KISPINLOCK &"""
11314 return _pcbnew.CONNECTIVITY_DATA_GetLock(self)
11317 r"""MarkItemNetAsDirty(CONNECTIVITY_DATA self, BOARD_ITEM aItem)"""
11318 return _pcbnew.CONNECTIVITY_DATA_MarkItemNetAsDirty(self, aItem)
11321 r"""RemoveInvalidRefs(CONNECTIVITY_DATA self)"""
11322 return _pcbnew.CONNECTIVITY_DATA_RemoveInvalidRefs(self)
11325 r"""SetProgressReporter(CONNECTIVITY_DATA self, PROGRESS_REPORTER * aReporter)"""
11326 return _pcbnew.CONNECTIVITY_DATA_SetProgressReporter(self, aReporter)
11329 r"""GetNetclassMap(CONNECTIVITY_DATA self) -> std::map< int,wxString,std::less< int >,std::allocator< std::pair< int const,wxString > > > const &"""
11330 return _pcbnew.CONNECTIVITY_DATA_GetNetclassMap(self)
11333 r"""GetFromToCache(CONNECTIVITY_DATA self) -> std::shared_ptr< FROM_TO_CACHE >"""
11334 return _pcbnew.CONNECTIVITY_DATA_GetFromToCache(self)
11337_pcbnew.CONNECTIVITY_DATA_swigregister(CONNECTIVITY_DATA)
11340 r"""Proxy of C++ std::vector< PCB_MARKER * > class."""
11342 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11343 __repr__ = _swig_repr
11346 r"""iterator(MARKERS self) -> SwigPyIterator"""
11347 return _pcbnew.MARKERS_iterator(self)
11352 r"""__nonzero__(MARKERS self) -> bool"""
11353 return _pcbnew.MARKERS___nonzero__(self)
11356 r"""__bool__(MARKERS self) -> bool"""
11357 return _pcbnew.MARKERS___bool__(self)
11360 r"""__len__(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11361 return _pcbnew.MARKERS___len__(self)
11364 r"""__getslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j) -> MARKERS"""
11365 return _pcbnew.MARKERS___getslice__(self, i, j)
11369 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)
11370 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j, MARKERS v)
11372 return _pcbnew.MARKERS___setslice__(self, *args)
11375 r"""__delslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)"""
11376 return _pcbnew.MARKERS___delslice__(self, i, j)
11380 __delitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i)
11383 return _pcbnew.MARKERS___delitem__(self, *args)
11387 __getitem__(MARKERS self, PySliceObject * slice) -> MARKERS
11388 __getitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i) -> PCB_MARKER
11390 return _pcbnew.MARKERS___getitem__(self, *args)
11394 __setitem__(MARKERS self, PySliceObject * slice, MARKERS v)
11396 __setitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, PCB_MARKER x)
11398 return _pcbnew.MARKERS___setitem__(self, *args)
11401 r"""pop(MARKERS self) -> PCB_MARKER"""
11402 return _pcbnew.MARKERS_pop(self)
11405 r"""append(MARKERS self, PCB_MARKER x)"""
11406 return _pcbnew.MARKERS_append(self, x)
11409 r"""empty(MARKERS self) -> bool"""
11410 return _pcbnew.MARKERS_empty(self)
11413 r"""size(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11414 return _pcbnew.MARKERS_size(self)
11417 r"""swap(MARKERS self, MARKERS v)"""
11418 return _pcbnew.MARKERS_swap(self, v)
11421 r"""begin(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
11422 return _pcbnew.MARKERS_begin(self)
11425 r"""end(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
11426 return _pcbnew.MARKERS_end(self)
11429 r"""rbegin(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11430 return _pcbnew.MARKERS_rbegin(self)
11433 r"""rend(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11434 return _pcbnew.MARKERS_rend(self)
11437 r"""clear(MARKERS self)"""
11438 return _pcbnew.MARKERS_clear(self)
11441 r"""get_allocator(MARKERS self) -> std::vector< PCB_MARKER * >::allocator_type"""
11442 return _pcbnew.MARKERS_get_allocator(self)
11445 r"""pop_back(MARKERS self)"""
11446 return _pcbnew.MARKERS_pop_back(self)
11450 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator pos) -> std::vector< PCB_MARKER * >::iterator
11451 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator first, std::vector< PCB_MARKER * >::iterator last) -> std::vector< PCB_MARKER * >::iterator
11453 return _pcbnew.MARKERS_erase(self, *args)
11458 __init__(MARKERS self, MARKERS other) -> MARKERS
11459 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size) -> MARKERS
11460 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size, PCB_MARKER value) -> MARKERS
11462 _pcbnew.MARKERS_swiginit(self, _pcbnew.new_MARKERS(*args))
11465 r"""push_back(MARKERS self, PCB_MARKER x)"""
11466 return _pcbnew.MARKERS_push_back(self, x)
11469 r"""front(MARKERS self) -> PCB_MARKER"""
11470 return _pcbnew.MARKERS_front(self)
11473 r"""back(MARKERS self) -> PCB_MARKER"""
11474 return _pcbnew.MARKERS_back(self)
11477 r"""assign(MARKERS self, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)"""
11478 return _pcbnew.MARKERS_assign(self, n, x)
11482 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size)
11483 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size, PCB_MARKER x)
11485 return _pcbnew.MARKERS_resize(self, *args)
11489 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, PCB_MARKER x) -> std::vector< PCB_MARKER * >::iterator
11490 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)
11492 return _pcbnew.MARKERS_insert(self, *args)
11495 r"""reserve(MARKERS self, std::vector< PCB_MARKER * >::size_type n)"""
11496 return _pcbnew.MARKERS_reserve(self, n)
11499 r"""capacity(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11500 return _pcbnew.MARKERS_capacity(self)
11501 __swig_destroy__ = _pcbnew.delete_MARKERS
11504_pcbnew.MARKERS_swigregister(MARKERS)
11507 r"""Proxy of C++ std::vector< ZONE * > class."""
11509 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11510 __repr__ = _swig_repr
11513 r"""iterator(ZONES self) -> SwigPyIterator"""
11514 return _pcbnew.ZONES_iterator(self)
11519 r"""__nonzero__(ZONES self) -> bool"""
11520 return _pcbnew.ZONES___nonzero__(self)
11523 r"""__bool__(ZONES self) -> bool"""
11524 return _pcbnew.ZONES___bool__(self)
11527 r"""__len__(ZONES self) -> std::vector< ZONE * >::size_type"""
11528 return _pcbnew.ZONES___len__(self)
11531 r"""__getslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j) -> ZONES"""
11532 return _pcbnew.ZONES___getslice__(self, i, j)
11536 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)
11537 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j, ZONES v)
11539 return _pcbnew.ZONES___setslice__(self, *args)
11542 r"""__delslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)"""
11543 return _pcbnew.ZONES___delslice__(self, i, j)
11547 __delitem__(ZONES self, std::vector< ZONE * >::difference_type i)
11550 return _pcbnew.ZONES___delitem__(self, *args)
11554 __getitem__(ZONES self, PySliceObject * slice) -> ZONES
11555 __getitem__(ZONES self, std::vector< ZONE * >::difference_type i) -> ZONE
11557 return _pcbnew.ZONES___getitem__(self, *args)
11561 __setitem__(ZONES self, PySliceObject * slice, ZONES v)
11563 __setitem__(ZONES self, std::vector< ZONE * >::difference_type i, ZONE x)
11565 return _pcbnew.ZONES___setitem__(self, *args)
11568 r"""pop(ZONES self) -> ZONE"""
11569 return _pcbnew.ZONES_pop(self)
11572 r"""append(ZONES self, ZONE x)"""
11573 return _pcbnew.ZONES_append(self, x)
11576 r"""empty(ZONES self) -> bool"""
11577 return _pcbnew.ZONES_empty(self)
11580 r"""size(ZONES self) -> std::vector< ZONE * >::size_type"""
11581 return _pcbnew.ZONES_size(self)
11584 r"""swap(ZONES self, ZONES v)"""
11585 return _pcbnew.ZONES_swap(self, v)
11588 r"""begin(ZONES self) -> std::vector< ZONE * >::iterator"""
11589 return _pcbnew.ZONES_begin(self)
11592 r"""end(ZONES self) -> std::vector< ZONE * >::iterator"""
11593 return _pcbnew.ZONES_end(self)
11596 r"""rbegin(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
11597 return _pcbnew.ZONES_rbegin(self)
11600 r"""rend(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
11601 return _pcbnew.ZONES_rend(self)
11604 r"""clear(ZONES self)"""
11605 return _pcbnew.ZONES_clear(self)
11608 r"""get_allocator(ZONES self) -> std::vector< ZONE * >::allocator_type"""
11609 return _pcbnew.ZONES_get_allocator(self)
11612 r"""pop_back(ZONES self)"""
11613 return _pcbnew.ZONES_pop_back(self)
11617 erase(ZONES self, std::vector< ZONE * >::iterator pos) -> std::vector< ZONE * >::iterator
11618 erase(ZONES self, std::vector< ZONE * >::iterator first, std::vector< ZONE * >::iterator last) -> std::vector< ZONE * >::iterator
11620 return _pcbnew.ZONES_erase(self, *args)
11625 __init__(ZONES self, ZONES other) -> ZONES
11626 __init__(ZONES self, std::vector< ZONE * >::size_type size) -> ZONES
11627 __init__(ZONES self, std::vector< ZONE * >::size_type size, ZONE value) -> ZONES
11629 _pcbnew.ZONES_swiginit(self, _pcbnew.new_ZONES(*args))
11632 r"""push_back(ZONES self, ZONE x)"""
11633 return _pcbnew.ZONES_push_back(self, x)
11636 r"""front(ZONES self) -> ZONE"""
11637 return _pcbnew.ZONES_front(self)
11640 r"""back(ZONES self) -> ZONE"""
11641 return _pcbnew.ZONES_back(self)
11644 r"""assign(ZONES self, std::vector< ZONE * >::size_type n, ZONE x)"""
11645 return _pcbnew.ZONES_assign(self, n, x)
11649 resize(ZONES self, std::vector< ZONE * >::size_type new_size)
11650 resize(ZONES self, std::vector< ZONE * >::size_type new_size, ZONE x)
11652 return _pcbnew.ZONES_resize(self, *args)
11656 insert(ZONES self, std::vector< ZONE * >::iterator pos, ZONE x) -> std::vector< ZONE * >::iterator
11657 insert(ZONES self, std::vector< ZONE * >::iterator pos, std::vector< ZONE * >::size_type n, ZONE x)
11659 return _pcbnew.ZONES_insert(self, *args)
11662 r"""reserve(ZONES self, std::vector< ZONE * >::size_type n)"""
11663 return _pcbnew.ZONES_reserve(self, n)
11666 r"""capacity(ZONES self) -> std::vector< ZONE * >::size_type"""
11667 return _pcbnew.ZONES_capacity(self)
11668 __swig_destroy__ = _pcbnew.delete_ZONES
11671_pcbnew.ZONES_swigregister(ZONES)
11674 r"""Proxy of C++ std::deque< PCB_TRACK * > class."""
11676 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11677 __repr__ = _swig_repr
11680 r"""iterator(TRACKS self) -> SwigPyIterator"""
11681 return _pcbnew.TRACKS_iterator(self)
11686 r"""__nonzero__(TRACKS self) -> bool"""
11687 return _pcbnew.TRACKS___nonzero__(self)
11690 r"""__bool__(TRACKS self) -> bool"""
11691 return _pcbnew.TRACKS___bool__(self)
11694 r"""__len__(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
11695 return _pcbnew.TRACKS___len__(self)
11698 r"""__getslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j) -> TRACKS"""
11699 return _pcbnew.TRACKS___getslice__(self, i, j)
11703 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)
11704 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j, TRACKS v)
11706 return _pcbnew.TRACKS___setslice__(self, *args)
11709 r"""__delslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)"""
11710 return _pcbnew.TRACKS___delslice__(self, i, j)
11714 __delitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i)
11717 return _pcbnew.TRACKS___delitem__(self, *args)
11721 __getitem__(TRACKS self, PySliceObject * slice) -> TRACKS
11722 __getitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i) -> PCB_TRACK
11724 return _pcbnew.TRACKS___getitem__(self, *args)
11728 __setitem__(TRACKS self, PySliceObject * slice, TRACKS v)
11730 __setitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, PCB_TRACK x)
11732 return _pcbnew.TRACKS___setitem__(self, *args)
11735 r"""pop(TRACKS self) -> PCB_TRACK"""
11736 return _pcbnew.TRACKS_pop(self)
11739 r"""append(TRACKS self, PCB_TRACK x)"""
11740 return _pcbnew.TRACKS_append(self, x)
11743 r"""empty(TRACKS self) -> bool"""
11744 return _pcbnew.TRACKS_empty(self)
11747 r"""size(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
11748 return _pcbnew.TRACKS_size(self)
11751 r"""swap(TRACKS self, TRACKS v)"""
11752 return _pcbnew.TRACKS_swap(self, v)
11755 r"""begin(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
11756 return _pcbnew.TRACKS_begin(self)
11759 r"""end(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
11760 return _pcbnew.TRACKS_end(self)
11763 r"""rbegin(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
11764 return _pcbnew.TRACKS_rbegin(self)
11767 r"""rend(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
11768 return _pcbnew.TRACKS_rend(self)
11771 r"""clear(TRACKS self)"""
11772 return _pcbnew.TRACKS_clear(self)
11775 r"""get_allocator(TRACKS self) -> std::deque< PCB_TRACK * >::allocator_type"""
11776 return _pcbnew.TRACKS_get_allocator(self)
11779 r"""pop_back(TRACKS self)"""
11780 return _pcbnew.TRACKS_pop_back(self)
11784 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator pos) -> std::deque< PCB_TRACK * >::iterator
11785 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator first, std::deque< PCB_TRACK * >::iterator last) -> std::deque< PCB_TRACK * >::iterator
11787 return _pcbnew.TRACKS_erase(self, *args)
11792 __init__(TRACKS self, TRACKS other) -> TRACKS
11793 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size) -> TRACKS
11794 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS
11796 _pcbnew.TRACKS_swiginit(self, _pcbnew.new_TRACKS(*args))
11799 r"""push_back(TRACKS self, PCB_TRACK x)"""
11800 return _pcbnew.TRACKS_push_back(self, x)
11803 r"""front(TRACKS self) -> PCB_TRACK"""
11804 return _pcbnew.TRACKS_front(self)
11807 r"""back(TRACKS self) -> PCB_TRACK"""
11808 return _pcbnew.TRACKS_back(self)
11811 r"""assign(TRACKS self, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
11812 return _pcbnew.TRACKS_assign(self, n, x)
11816 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size)
11817 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
11819 return _pcbnew.TRACKS_resize(self, *args)
11823 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::deque< PCB_TRACK * >::iterator
11824 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)
11826 return _pcbnew.TRACKS_insert(self, *args)
11829 r"""pop_front(TRACKS self)"""
11830 return _pcbnew.TRACKS_pop_front(self)
11833 r"""push_front(TRACKS self, PCB_TRACK x)"""
11834 return _pcbnew.TRACKS_push_front(self, x)
11842 except StopIteration:
11845 __swig_destroy__ = _pcbnew.delete_TRACKS
11848_pcbnew.TRACKS_swigregister(TRACKS)
11851 r"""Proxy of C++ std::deque< FOOTPRINT * > class."""
11853 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11854 __repr__ = _swig_repr
11857 r"""iterator(FOOTPRINTS self) -> SwigPyIterator"""
11858 return _pcbnew.FOOTPRINTS_iterator(self)
11863 r"""__nonzero__(FOOTPRINTS self) -> bool"""
11864 return _pcbnew.FOOTPRINTS___nonzero__(self)
11867 r"""__bool__(FOOTPRINTS self) -> bool"""
11868 return _pcbnew.FOOTPRINTS___bool__(self)
11871 r"""__len__(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
11872 return _pcbnew.FOOTPRINTS___len__(self)
11875 r"""__getslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j) -> FOOTPRINTS"""
11876 return _pcbnew.FOOTPRINTS___getslice__(self, i, j)
11880 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)
11881 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j, FOOTPRINTS v)
11883 return _pcbnew.FOOTPRINTS___setslice__(self, *args)
11886 r"""__delslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)"""
11887 return _pcbnew.FOOTPRINTS___delslice__(self, i, j)
11891 __delitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i)
11892 __delitem__(FOOTPRINTS self, PySliceObject * slice)
11894 return _pcbnew.FOOTPRINTS___delitem__(self, *args)
11898 __getitem__(FOOTPRINTS self, PySliceObject * slice) -> FOOTPRINTS
11899 __getitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i) -> FOOTPRINT
11901 return _pcbnew.FOOTPRINTS___getitem__(self, *args)
11905 __setitem__(FOOTPRINTS self, PySliceObject * slice, FOOTPRINTS v)
11906 __setitem__(FOOTPRINTS self, PySliceObject * slice)
11907 __setitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, FOOTPRINT x)
11909 return _pcbnew.FOOTPRINTS___setitem__(self, *args)
11912 r"""pop(FOOTPRINTS self) -> FOOTPRINT"""
11913 return _pcbnew.FOOTPRINTS_pop(self)
11916 r"""append(FOOTPRINTS self, FOOTPRINT x)"""
11917 return _pcbnew.FOOTPRINTS_append(self, x)
11920 r"""empty(FOOTPRINTS self) -> bool"""
11921 return _pcbnew.FOOTPRINTS_empty(self)
11924 r"""size(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
11925 return _pcbnew.FOOTPRINTS_size(self)
11928 r"""swap(FOOTPRINTS self, FOOTPRINTS v)"""
11929 return _pcbnew.FOOTPRINTS_swap(self, v)
11932 r"""begin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
11933 return _pcbnew.FOOTPRINTS_begin(self)
11936 r"""end(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
11937 return _pcbnew.FOOTPRINTS_end(self)
11940 r"""rbegin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
11941 return _pcbnew.FOOTPRINTS_rbegin(self)
11944 r"""rend(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
11945 return _pcbnew.FOOTPRINTS_rend(self)
11948 r"""clear(FOOTPRINTS self)"""
11949 return _pcbnew.FOOTPRINTS_clear(self)
11952 r"""get_allocator(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::allocator_type"""
11953 return _pcbnew.FOOTPRINTS_get_allocator(self)
11956 r"""pop_back(FOOTPRINTS self)"""
11957 return _pcbnew.FOOTPRINTS_pop_back(self)
11961 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos) -> std::deque< FOOTPRINT * >::iterator
11962 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator first, std::deque< FOOTPRINT * >::iterator last) -> std::deque< FOOTPRINT * >::iterator
11964 return _pcbnew.FOOTPRINTS_erase(self, *args)
11968 __init__(FOOTPRINTS self) -> FOOTPRINTS
11969 __init__(FOOTPRINTS self, FOOTPRINTS other) -> FOOTPRINTS
11970 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size) -> FOOTPRINTS
11971 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size, FOOTPRINT value) -> FOOTPRINTS
11973 _pcbnew.FOOTPRINTS_swiginit(self, _pcbnew.new_FOOTPRINTS(*args))
11976 r"""push_back(FOOTPRINTS self, FOOTPRINT x)"""
11977 return _pcbnew.FOOTPRINTS_push_back(self, x)
11980 r"""front(FOOTPRINTS self) -> FOOTPRINT"""
11981 return _pcbnew.FOOTPRINTS_front(self)
11984 r"""back(FOOTPRINTS self) -> FOOTPRINT"""
11985 return _pcbnew.FOOTPRINTS_back(self)
11988 r"""assign(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)"""
11989 return _pcbnew.FOOTPRINTS_assign(self, n, x)
11993 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size)
11994 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size, FOOTPRINT x)
11996 return _pcbnew.FOOTPRINTS_resize(self, *args)
12000 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, FOOTPRINT x) -> std::deque< FOOTPRINT * >::iterator
12001 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)
12003 return _pcbnew.FOOTPRINTS_insert(self, *args)
12006 r"""pop_front(FOOTPRINTS self)"""
12007 return _pcbnew.FOOTPRINTS_pop_front(self)
12010 r"""push_front(FOOTPRINTS self, FOOTPRINT x)"""
12011 return _pcbnew.FOOTPRINTS_push_front(self, x)
12012 __swig_destroy__ = _pcbnew.delete_FOOTPRINTS
12015_pcbnew.FOOTPRINTS_swigregister(FOOTPRINTS)
12018 r"""Proxy of C++ std::deque< PCB_GROUP * > class."""
12020 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12021 __repr__ = _swig_repr
12024 r"""iterator(GROUPS self) -> SwigPyIterator"""
12025 return _pcbnew.GROUPS_iterator(self)
12030 r"""__nonzero__(GROUPS self) -> bool"""
12031 return _pcbnew.GROUPS___nonzero__(self)
12034 r"""__bool__(GROUPS self) -> bool"""
12035 return _pcbnew.GROUPS___bool__(self)
12038 r"""__len__(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
12039 return _pcbnew.GROUPS___len__(self)
12042 r"""__getslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j) -> GROUPS"""
12043 return _pcbnew.GROUPS___getslice__(self, i, j)
12047 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)
12048 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j, GROUPS v)
12050 return _pcbnew.GROUPS___setslice__(self, *args)
12053 r"""__delslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)"""
12054 return _pcbnew.GROUPS___delslice__(self, i, j)
12058 __delitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i)
12061 return _pcbnew.GROUPS___delitem__(self, *args)
12065 __getitem__(GROUPS self, PySliceObject * slice) -> GROUPS
12066 __getitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i) -> PCB_GROUP
12068 return _pcbnew.GROUPS___getitem__(self, *args)
12072 __setitem__(GROUPS self, PySliceObject * slice, GROUPS v)
12074 __setitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, PCB_GROUP x)
12076 return _pcbnew.GROUPS___setitem__(self, *args)
12079 r"""pop(GROUPS self) -> PCB_GROUP"""
12080 return _pcbnew.GROUPS_pop(self)
12083 r"""append(GROUPS self, PCB_GROUP x)"""
12084 return _pcbnew.GROUPS_append(self, x)
12087 r"""empty(GROUPS self) -> bool"""
12088 return _pcbnew.GROUPS_empty(self)
12091 r"""size(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
12092 return _pcbnew.GROUPS_size(self)
12095 r"""swap(GROUPS self, GROUPS v)"""
12096 return _pcbnew.GROUPS_swap(self, v)
12099 r"""begin(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
12100 return _pcbnew.GROUPS_begin(self)
12103 r"""end(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
12104 return _pcbnew.GROUPS_end(self)
12107 r"""rbegin(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
12108 return _pcbnew.GROUPS_rbegin(self)
12111 r"""rend(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
12112 return _pcbnew.GROUPS_rend(self)
12115 r"""clear(GROUPS self)"""
12116 return _pcbnew.GROUPS_clear(self)
12119 r"""get_allocator(GROUPS self) -> std::deque< PCB_GROUP * >::allocator_type"""
12120 return _pcbnew.GROUPS_get_allocator(self)
12123 r"""pop_back(GROUPS self)"""
12124 return _pcbnew.GROUPS_pop_back(self)
12128 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator pos) -> std::deque< PCB_GROUP * >::iterator
12129 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator first, std::deque< PCB_GROUP * >::iterator last) -> std::deque< PCB_GROUP * >::iterator
12131 return _pcbnew.GROUPS_erase(self, *args)
12136 __init__(GROUPS self, GROUPS other) -> GROUPS
12137 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size) -> GROUPS
12138 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size, PCB_GROUP value) -> GROUPS
12140 _pcbnew.GROUPS_swiginit(self, _pcbnew.new_GROUPS(*args))
12143 r"""push_back(GROUPS self, PCB_GROUP x)"""
12144 return _pcbnew.GROUPS_push_back(self, x)
12147 r"""front(GROUPS self) -> PCB_GROUP"""
12148 return _pcbnew.GROUPS_front(self)
12151 r"""back(GROUPS self) -> PCB_GROUP"""
12152 return _pcbnew.GROUPS_back(self)
12155 r"""assign(GROUPS self, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)"""
12156 return _pcbnew.GROUPS_assign(self, n, x)
12160 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size)
12161 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size, PCB_GROUP x)
12163 return _pcbnew.GROUPS_resize(self, *args)
12167 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, PCB_GROUP x) -> std::deque< PCB_GROUP * >::iterator
12168 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)
12170 return _pcbnew.GROUPS_insert(self, *args)
12173 r"""pop_front(GROUPS self)"""
12174 return _pcbnew.GROUPS_pop_front(self)
12177 r"""push_front(GROUPS self, PCB_GROUP x)"""
12178 return _pcbnew.GROUPS_push_front(self, x)
12179 __swig_destroy__ = _pcbnew.delete_GROUPS
12182_pcbnew.GROUPS_swigregister(GROUPS)
12185 r"""Proxy of C++ std::deque< PCB_GENERATOR * > class."""
12187 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12188 __repr__ = _swig_repr
12191 r"""iterator(GENERATORS self) -> SwigPyIterator"""
12192 return _pcbnew.GENERATORS_iterator(self)
12197 r"""__nonzero__(GENERATORS self) -> bool"""
12198 return _pcbnew.GENERATORS___nonzero__(self)
12201 r"""__bool__(GENERATORS self) -> bool"""
12202 return _pcbnew.GENERATORS___bool__(self)
12205 r"""__len__(GENERATORS self) -> std::deque< PCB_GENERATOR * >::size_type"""
12206 return _pcbnew.GENERATORS___len__(self)
12209 r"""__getslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j) -> GENERATORS"""
12210 return _pcbnew.GENERATORS___getslice__(self, i, j)
12214 __setslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j)
12215 __setslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j, GENERATORS v)
12217 return _pcbnew.GENERATORS___setslice__(self, *args)
12220 r"""__delslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j)"""
12221 return _pcbnew.GENERATORS___delslice__(self, i, j)
12225 __delitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i)
12226 __delitem__(GENERATORS self, PySliceObject * slice)
12228 return _pcbnew.GENERATORS___delitem__(self, *args)
12232 __getitem__(GENERATORS self, PySliceObject * slice) -> GENERATORS
12233 __getitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i) -> std::deque< PCB_GENERATOR * >::value_type
12235 return _pcbnew.GENERATORS___getitem__(self, *args)
12239 __setitem__(GENERATORS self, PySliceObject * slice, GENERATORS v)
12240 __setitem__(GENERATORS self, PySliceObject * slice)
12241 __setitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::value_type x)
12243 return _pcbnew.GENERATORS___setitem__(self, *args)
12246 r"""pop(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12247 return _pcbnew.GENERATORS_pop(self)
12250 r"""append(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12251 return _pcbnew.GENERATORS_append(self, x)
12254 r"""empty(GENERATORS self) -> bool"""
12255 return _pcbnew.GENERATORS_empty(self)
12258 r"""size(GENERATORS self) -> std::deque< PCB_GENERATOR * >::size_type"""
12259 return _pcbnew.GENERATORS_size(self)
12262 r"""swap(GENERATORS self, GENERATORS v)"""
12263 return _pcbnew.GENERATORS_swap(self, v)
12266 r"""begin(GENERATORS self) -> std::deque< PCB_GENERATOR * >::iterator"""
12267 return _pcbnew.GENERATORS_begin(self)
12270 r"""end(GENERATORS self) -> std::deque< PCB_GENERATOR * >::iterator"""
12271 return _pcbnew.GENERATORS_end(self)
12274 r"""rbegin(GENERATORS self) -> std::deque< PCB_GENERATOR * >::reverse_iterator"""
12275 return _pcbnew.GENERATORS_rbegin(self)
12278 r"""rend(GENERATORS self) -> std::deque< PCB_GENERATOR * >::reverse_iterator"""
12279 return _pcbnew.GENERATORS_rend(self)
12282 r"""clear(GENERATORS self)"""
12283 return _pcbnew.GENERATORS_clear(self)
12286 r"""get_allocator(GENERATORS self) -> std::deque< PCB_GENERATOR * >::allocator_type"""
12287 return _pcbnew.GENERATORS_get_allocator(self)
12290 r"""pop_back(GENERATORS self)"""
12291 return _pcbnew.GENERATORS_pop_back(self)
12295 erase(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos) -> std::deque< PCB_GENERATOR * >::iterator
12296 erase(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator first, std::deque< PCB_GENERATOR * >::iterator last) -> std::deque< PCB_GENERATOR * >::iterator
12298 return _pcbnew.GENERATORS_erase(self, *args)
12302 __init__(GENERATORS self) -> GENERATORS
12303 __init__(GENERATORS self, GENERATORS other) -> GENERATORS
12304 __init__(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type size) -> GENERATORS
12305 __init__(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type size, std::deque< PCB_GENERATOR * >::value_type value) -> GENERATORS
12307 _pcbnew.GENERATORS_swiginit(self, _pcbnew.new_GENERATORS(*args))
12310 r"""push_back(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12311 return _pcbnew.GENERATORS_push_back(self, x)
12314 r"""front(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12315 return _pcbnew.GENERATORS_front(self)
12318 r"""back(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12319 return _pcbnew.GENERATORS_back(self)
12322 r"""assign(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type n, std::deque< PCB_GENERATOR * >::value_type x)"""
12323 return _pcbnew.GENERATORS_assign(self, n, x)
12327 resize(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type new_size)
12328 resize(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type new_size, std::deque< PCB_GENERATOR * >::value_type x)
12330 return _pcbnew.GENERATORS_resize(self, *args)
12334 insert(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos, std::deque< PCB_GENERATOR * >::value_type x) -> std::deque< PCB_GENERATOR * >::iterator
12335 insert(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos, std::deque< PCB_GENERATOR * >::size_type n, std::deque< PCB_GENERATOR * >::value_type x)
12337 return _pcbnew.GENERATORS_insert(self, *args)
12340 r"""pop_front(GENERATORS self)"""
12341 return _pcbnew.GENERATORS_pop_front(self)
12344 r"""push_front(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12345 return _pcbnew.GENERATORS_push_front(self, x)
12346 __swig_destroy__ = _pcbnew.delete_GENERATORS
12349_pcbnew.GENERATORS_swigregister(GENERATORS)
12352 r"""Proxy of C++ std::deque< BOARD_ITEM * > class."""
12354 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12355 __repr__ = _swig_repr
12358 r"""iterator(DRAWINGS self) -> SwigPyIterator"""
12359 return _pcbnew.DRAWINGS_iterator(self)
12364 r"""__nonzero__(DRAWINGS self) -> bool"""
12365 return _pcbnew.DRAWINGS___nonzero__(self)
12368 r"""__bool__(DRAWINGS self) -> bool"""
12369 return _pcbnew.DRAWINGS___bool__(self)
12372 r"""__len__(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
12373 return _pcbnew.DRAWINGS___len__(self)
12376 r"""__getslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j) -> DRAWINGS"""
12377 return _pcbnew.DRAWINGS___getslice__(self, i, j)
12381 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)
12382 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j, DRAWINGS v)
12384 return _pcbnew.DRAWINGS___setslice__(self, *args)
12387 r"""__delslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)"""
12388 return _pcbnew.DRAWINGS___delslice__(self, i, j)
12392 __delitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i)
12393 __delitem__(DRAWINGS self, PySliceObject * slice)
12395 return _pcbnew.DRAWINGS___delitem__(self, *args)
12399 __getitem__(DRAWINGS self, PySliceObject * slice) -> DRAWINGS
12400 __getitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i) -> BOARD_ITEM
12402 return _pcbnew.DRAWINGS___getitem__(self, *args)
12406 __setitem__(DRAWINGS self, PySliceObject * slice, DRAWINGS v)
12407 __setitem__(DRAWINGS self, PySliceObject * slice)
12408 __setitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, BOARD_ITEM x)
12410 return _pcbnew.DRAWINGS___setitem__(self, *args)
12413 r"""pop(DRAWINGS self) -> BOARD_ITEM"""
12414 return _pcbnew.DRAWINGS_pop(self)
12417 r"""append(DRAWINGS self, BOARD_ITEM x)"""
12418 return _pcbnew.DRAWINGS_append(self, x)
12421 r"""empty(DRAWINGS self) -> bool"""
12422 return _pcbnew.DRAWINGS_empty(self)
12425 r"""size(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
12426 return _pcbnew.DRAWINGS_size(self)
12429 r"""swap(DRAWINGS self, DRAWINGS v)"""
12430 return _pcbnew.DRAWINGS_swap(self, v)
12433 r"""begin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
12434 return _pcbnew.DRAWINGS_begin(self)
12437 r"""end(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
12438 return _pcbnew.DRAWINGS_end(self)
12441 r"""rbegin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
12442 return _pcbnew.DRAWINGS_rbegin(self)
12445 r"""rend(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
12446 return _pcbnew.DRAWINGS_rend(self)
12449 r"""clear(DRAWINGS self)"""
12450 return _pcbnew.DRAWINGS_clear(self)
12453 r"""get_allocator(DRAWINGS self) -> std::deque< BOARD_ITEM * >::allocator_type"""
12454 return _pcbnew.DRAWINGS_get_allocator(self)
12457 r"""pop_back(DRAWINGS self)"""
12458 return _pcbnew.DRAWINGS_pop_back(self)
12462 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos) -> std::deque< BOARD_ITEM * >::iterator
12463 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator first, std::deque< BOARD_ITEM * >::iterator last) -> std::deque< BOARD_ITEM * >::iterator
12465 return _pcbnew.DRAWINGS_erase(self, *args)
12469 __init__(DRAWINGS self) -> DRAWINGS
12470 __init__(DRAWINGS self, DRAWINGS other) -> DRAWINGS
12471 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size) -> DRAWINGS
12472 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size, BOARD_ITEM value) -> DRAWINGS
12474 _pcbnew.DRAWINGS_swiginit(self, _pcbnew.new_DRAWINGS(*args))
12477 r"""push_back(DRAWINGS self, BOARD_ITEM x)"""
12478 return _pcbnew.DRAWINGS_push_back(self, x)
12481 r"""front(DRAWINGS self) -> BOARD_ITEM"""
12482 return _pcbnew.DRAWINGS_front(self)
12485 r"""back(DRAWINGS self) -> BOARD_ITEM"""
12486 return _pcbnew.DRAWINGS_back(self)
12489 r"""assign(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)"""
12490 return _pcbnew.DRAWINGS_assign(self, n, x)
12494 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size)
12495 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size, BOARD_ITEM x)
12497 return _pcbnew.DRAWINGS_resize(self, *args)
12501 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, BOARD_ITEM x) -> std::deque< BOARD_ITEM * >::iterator
12502 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)
12504 return _pcbnew.DRAWINGS_insert(self, *args)
12507 r"""pop_front(DRAWINGS self)"""
12508 return _pcbnew.DRAWINGS_pop_front(self)
12511 r"""push_front(DRAWINGS self, BOARD_ITEM x)"""
12512 return _pcbnew.DRAWINGS_push_front(self, x)
12520 except StopIteration:
12523 __swig_destroy__ = _pcbnew.delete_DRAWINGS
12526_pcbnew.DRAWINGS_swigregister(DRAWINGS)
12529 r"""Proxy of C++ std::deque< PAD * > class."""
12531 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12532 __repr__ = _swig_repr
12535 r"""iterator(PADS self) -> SwigPyIterator"""
12536 return _pcbnew.PADS_iterator(self)
12541 r"""__nonzero__(PADS self) -> bool"""
12542 return _pcbnew.PADS___nonzero__(self)
12545 r"""__bool__(PADS self) -> bool"""
12546 return _pcbnew.PADS___bool__(self)
12549 r"""__len__(PADS self) -> std::deque< PAD * >::size_type"""
12550 return _pcbnew.PADS___len__(self)
12553 r"""__getslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j) -> PADS"""
12554 return _pcbnew.PADS___getslice__(self, i, j)
12558 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)
12559 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j, PADS v)
12561 return _pcbnew.PADS___setslice__(self, *args)
12564 r"""__delslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)"""
12565 return _pcbnew.PADS___delslice__(self, i, j)
12569 __delitem__(PADS self, std::deque< PAD * >::difference_type i)
12572 return _pcbnew.PADS___delitem__(self, *args)
12576 __getitem__(PADS self, PySliceObject * slice) -> PADS
12577 __getitem__(PADS self, std::deque< PAD * >::difference_type i) -> PAD
12579 return _pcbnew.PADS___getitem__(self, *args)
12583 __setitem__(PADS self, PySliceObject * slice, PADS v)
12585 __setitem__(PADS self, std::deque< PAD * >::difference_type i, PAD x)
12587 return _pcbnew.PADS___setitem__(self, *args)
12590 r"""pop(PADS self) -> PAD"""
12591 return _pcbnew.PADS_pop(self)
12594 r"""append(PADS self, PAD x)"""
12595 return _pcbnew.PADS_append(self, x)
12598 r"""empty(PADS self) -> bool"""
12599 return _pcbnew.PADS_empty(self)
12602 r"""size(PADS self) -> std::deque< PAD * >::size_type"""
12603 return _pcbnew.PADS_size(self)
12606 r"""swap(PADS self, PADS v)"""
12607 return _pcbnew.PADS_swap(self, v)
12610 r"""begin(PADS self) -> std::deque< PAD * >::iterator"""
12611 return _pcbnew.PADS_begin(self)
12614 r"""end(PADS self) -> std::deque< PAD * >::iterator"""
12615 return _pcbnew.PADS_end(self)
12618 r"""rbegin(PADS self) -> std::deque< PAD * >::reverse_iterator"""
12619 return _pcbnew.PADS_rbegin(self)
12622 r"""rend(PADS self) -> std::deque< PAD * >::reverse_iterator"""
12623 return _pcbnew.PADS_rend(self)
12626 r"""clear(PADS self)"""
12627 return _pcbnew.PADS_clear(self)
12630 r"""get_allocator(PADS self) -> std::deque< PAD * >::allocator_type"""
12631 return _pcbnew.PADS_get_allocator(self)
12634 r"""pop_back(PADS self)"""
12635 return _pcbnew.PADS_pop_back(self)
12639 erase(PADS self, std::deque< PAD * >::iterator pos) -> std::deque< PAD * >::iterator
12640 erase(PADS self, std::deque< PAD * >::iterator first, std::deque< PAD * >::iterator last) -> std::deque< PAD * >::iterator
12642 return _pcbnew.PADS_erase(self, *args)
12647 __init__(PADS self, PADS other) -> PADS
12648 __init__(PADS self, std::deque< PAD * >::size_type size) -> PADS
12649 __init__(PADS self, std::deque< PAD * >::size_type size, PAD value) -> PADS
12651 _pcbnew.PADS_swiginit(self, _pcbnew.new_PADS(*args))
12654 r"""push_back(PADS self, PAD x)"""
12655 return _pcbnew.PADS_push_back(self, x)
12658 r"""front(PADS self) -> PAD"""
12659 return _pcbnew.PADS_front(self)
12662 r"""back(PADS self) -> PAD"""
12663 return _pcbnew.PADS_back(self)
12666 r"""assign(PADS self, std::deque< PAD * >::size_type n, PAD x)"""
12667 return _pcbnew.PADS_assign(self, n, x)
12671 resize(PADS self, std::deque< PAD * >::size_type new_size)
12672 resize(PADS self, std::deque< PAD * >::size_type new_size, PAD x)
12674 return _pcbnew.PADS_resize(self, *args)
12678 insert(PADS self, std::deque< PAD * >::iterator pos, PAD x) -> std::deque< PAD * >::iterator
12679 insert(PADS self, std::deque< PAD * >::iterator pos, std::deque< PAD * >::size_type n, PAD x)
12681 return _pcbnew.PADS_insert(self, *args)
12684 r"""pop_front(PADS self)"""
12685 return _pcbnew.PADS_pop_front(self)
12688 r"""push_front(PADS self, PAD x)"""
12689 return _pcbnew.PADS_push_front(self, x)
12690 __swig_destroy__ = _pcbnew.delete_PADS
12693_pcbnew.PADS_swigregister(PADS)
12696 r"""Proxy of C++ std::deque< PCB_FIELD * > class."""
12698 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12699 __repr__ = _swig_repr
12702 r"""iterator(PCB_FIELDS self) -> SwigPyIterator"""
12703 return _pcbnew.PCB_FIELDS_iterator(self)
12708 r"""__nonzero__(PCB_FIELDS self) -> bool"""
12709 return _pcbnew.PCB_FIELDS___nonzero__(self)
12712 r"""__bool__(PCB_FIELDS self) -> bool"""
12713 return _pcbnew.PCB_FIELDS___bool__(self)
12716 r"""__len__(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::size_type"""
12717 return _pcbnew.PCB_FIELDS___len__(self)
12720 r"""__getslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j) -> PCB_FIELDS"""
12721 return _pcbnew.PCB_FIELDS___getslice__(self, i, j)
12725 __setslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j)
12726 __setslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j, PCB_FIELDS v)
12728 return _pcbnew.PCB_FIELDS___setslice__(self, *args)
12731 r"""__delslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j)"""
12732 return _pcbnew.PCB_FIELDS___delslice__(self, i, j)
12736 __delitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i)
12737 __delitem__(PCB_FIELDS self, PySliceObject * slice)
12739 return _pcbnew.PCB_FIELDS___delitem__(self, *args)
12743 __getitem__(PCB_FIELDS self, PySliceObject * slice) -> PCB_FIELDS
12744 __getitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i) -> PCB_FIELD
12746 return _pcbnew.PCB_FIELDS___getitem__(self, *args)
12750 __setitem__(PCB_FIELDS self, PySliceObject * slice, PCB_FIELDS v)
12751 __setitem__(PCB_FIELDS self, PySliceObject * slice)
12752 __setitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, PCB_FIELD x)
12754 return _pcbnew.PCB_FIELDS___setitem__(self, *args)
12757 r"""pop(PCB_FIELDS self) -> PCB_FIELD"""
12758 return _pcbnew.PCB_FIELDS_pop(self)
12761 r"""append(PCB_FIELDS self, PCB_FIELD x)"""
12762 return _pcbnew.PCB_FIELDS_append(self, x)
12765 r"""empty(PCB_FIELDS self) -> bool"""
12766 return _pcbnew.PCB_FIELDS_empty(self)
12769 r"""size(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::size_type"""
12770 return _pcbnew.PCB_FIELDS_size(self)
12773 r"""swap(PCB_FIELDS self, PCB_FIELDS v)"""
12774 return _pcbnew.PCB_FIELDS_swap(self, v)
12777 r"""begin(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::iterator"""
12778 return _pcbnew.PCB_FIELDS_begin(self)
12781 r"""end(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::iterator"""
12782 return _pcbnew.PCB_FIELDS_end(self)
12785 r"""rbegin(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::reverse_iterator"""
12786 return _pcbnew.PCB_FIELDS_rbegin(self)
12789 r"""rend(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::reverse_iterator"""
12790 return _pcbnew.PCB_FIELDS_rend(self)
12793 r"""clear(PCB_FIELDS self)"""
12794 return _pcbnew.PCB_FIELDS_clear(self)
12797 r"""get_allocator(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::allocator_type"""
12798 return _pcbnew.PCB_FIELDS_get_allocator(self)
12801 r"""pop_back(PCB_FIELDS self)"""
12802 return _pcbnew.PCB_FIELDS_pop_back(self)
12806 erase(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos) -> std::deque< PCB_FIELD * >::iterator
12807 erase(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator first, std::deque< PCB_FIELD * >::iterator last) -> std::deque< PCB_FIELD * >::iterator
12809 return _pcbnew.PCB_FIELDS_erase(self, *args)
12813 __init__(PCB_FIELDS self) -> PCB_FIELDS
12814 __init__(PCB_FIELDS self, PCB_FIELDS other) -> PCB_FIELDS
12815 __init__(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type size) -> PCB_FIELDS
12816 __init__(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type size, PCB_FIELD value) -> PCB_FIELDS
12818 _pcbnew.PCB_FIELDS_swiginit(self, _pcbnew.new_PCB_FIELDS(*args))
12821 r"""push_back(PCB_FIELDS self, PCB_FIELD x)"""
12822 return _pcbnew.PCB_FIELDS_push_back(self, x)
12825 r"""front(PCB_FIELDS self) -> PCB_FIELD"""
12826 return _pcbnew.PCB_FIELDS_front(self)
12829 r"""back(PCB_FIELDS self) -> PCB_FIELD"""
12830 return _pcbnew.PCB_FIELDS_back(self)
12833 r"""assign(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type n, PCB_FIELD x)"""
12834 return _pcbnew.PCB_FIELDS_assign(self, n, x)
12838 resize(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type new_size)
12839 resize(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type new_size, PCB_FIELD x)
12841 return _pcbnew.PCB_FIELDS_resize(self, *args)
12845 insert(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos, PCB_FIELD x) -> std::deque< PCB_FIELD * >::iterator
12846 insert(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos, std::deque< PCB_FIELD * >::size_type n, PCB_FIELD x)
12848 return _pcbnew.PCB_FIELDS_insert(self, *args)
12851 r"""pop_front(PCB_FIELDS self)"""
12852 return _pcbnew.PCB_FIELDS_pop_front(self)
12855 r"""push_front(PCB_FIELDS self, PCB_FIELD x)"""
12856 return _pcbnew.PCB_FIELDS_push_front(self, x)
12857 __swig_destroy__ = _pcbnew.delete_PCB_FIELDS
12860_pcbnew.PCB_FIELDS_swigregister(PCB_FIELDS)
12862PAD_SHAPE_CIRCLE = _pcbnew.PAD_SHAPE_CIRCLE
12864PAD_SHAPE_RECTANGLE = _pcbnew.PAD_SHAPE_RECTANGLE
12866PAD_SHAPE_OVAL = _pcbnew.PAD_SHAPE_OVAL
12868PAD_SHAPE_TRAPEZOID = _pcbnew.PAD_SHAPE_TRAPEZOID
12870PAD_SHAPE_ROUNDRECT = _pcbnew.PAD_SHAPE_ROUNDRECT
12872PAD_SHAPE_CHAMFERED_RECT = _pcbnew.PAD_SHAPE_CHAMFERED_RECT
12874PAD_SHAPE_CUSTOM = _pcbnew.PAD_SHAPE_CUSTOM
12878 r"""PAD_SHAPE_T_asString(PAD_SHAPE a) -> string"""
12879 return _pcbnew.PAD_SHAPE_T_asString(a)
12880PAD_DRILL_SHAPE_CIRCLE = _pcbnew.PAD_DRILL_SHAPE_CIRCLE
12882PAD_DRILL_SHAPE_OBLONG = _pcbnew.PAD_DRILL_SHAPE_OBLONG
12884PAD_ATTRIB_PTH = _pcbnew.PAD_ATTRIB_PTH
12886PAD_ATTRIB_SMD = _pcbnew.PAD_ATTRIB_SMD
12888PAD_ATTRIB_CONN = _pcbnew.PAD_ATTRIB_CONN
12890PAD_ATTRIB_NPTH = _pcbnew.PAD_ATTRIB_NPTH
12892PAD_PROP_NONE = _pcbnew.PAD_PROP_NONE
12894PAD_PROP_BGA = _pcbnew.PAD_PROP_BGA
12896PAD_PROP_FIDUCIAL_GLBL = _pcbnew.PAD_PROP_FIDUCIAL_GLBL
12898PAD_PROP_FIDUCIAL_LOCAL = _pcbnew.PAD_PROP_FIDUCIAL_LOCAL
12900PAD_PROP_TESTPOINT = _pcbnew.PAD_PROP_TESTPOINT
12902PAD_PROP_HEATSINK = _pcbnew.PAD_PROP_HEATSINK
12904PAD_PROP_CASTELLATED = _pcbnew.PAD_PROP_CASTELLATED
12906CUST_PAD_SHAPE_IN_ZONE_OUTLINE = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_OUTLINE
12908CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL
12911 r"""Proxy of C++ PAD class."""
12913 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12914 __repr__ = _swig_repr
12918 __init__(PAD self, FOOTPRINT parent) -> PAD
12919 __init__(PAD self, PAD aPad) -> PAD
12921 _pcbnew.PAD_swiginit(self, _pcbnew.new_PAD(*args))
12925 r"""PTHMask() -> LSET"""
12926 return _pcbnew.PAD_PTHMask()
12930 r"""SMDMask() -> LSET"""
12931 return _pcbnew.PAD_SMDMask()
12935 r"""ConnSMDMask() -> LSET"""
12936 return _pcbnew.PAD_ConnSMDMask()
12940 r"""UnplatedHoleMask() -> LSET"""
12941 return _pcbnew.PAD_UnplatedHoleMask()
12945 r"""ApertureMask() -> LSET"""
12946 return _pcbnew.PAD_ApertureMask()
12950 r"""ClassOf(EDA_ITEM aItem) -> bool"""
12951 return _pcbnew.PAD_ClassOf(aItem)
12954 r"""ImportSettingsFrom(PAD self, PAD aMasterPad)"""
12955 return _pcbnew.PAD_ImportSettingsFrom(self, aMasterPad)
12958 r"""IsFlipped(PAD self) -> bool"""
12959 return _pcbnew.PAD_IsFlipped(self)
12962 r"""SetNumber(PAD self, wxString aNumber)"""
12963 return _pcbnew.PAD_SetNumber(self, aNumber)
12966 r"""GetNumber(PAD self) -> wxString"""
12967 return _pcbnew.PAD_GetNumber(self)
12970 r"""CanHaveNumber(PAD self) -> bool"""
12971 return _pcbnew.PAD_CanHaveNumber(self)
12974 r"""SetPinFunction(PAD self, wxString aName)"""
12975 return _pcbnew.PAD_SetPinFunction(self, aName)
12978 r"""GetPinFunction(PAD self) -> wxString"""
12979 return _pcbnew.PAD_GetPinFunction(self)
12982 r"""SetPinType(PAD self, wxString aType)"""
12983 return _pcbnew.PAD_SetPinType(self, aType)
12986 r"""GetPinType(PAD self) -> wxString"""
12987 return _pcbnew.PAD_GetPinType(self)
12990 r"""SameLogicalPadAs(PAD self, PAD aOther) -> bool"""
12991 return _pcbnew.PAD_SameLogicalPadAs(self, aOther)
12994 r"""SharesNetTieGroup(PAD self, PAD aOther) -> bool"""
12995 return _pcbnew.PAD_SharesNetTieGroup(self, aOther)
12998 r"""IsNoConnectPad(PAD self) -> bool"""
12999 return _pcbnew.PAD_IsNoConnectPad(self)
13002 r"""IsFreePad(PAD self) -> bool"""
13003 return _pcbnew.PAD_IsFreePad(self)
13006 r"""SetShape(PAD self, PAD_SHAPE aShape)"""
13007 return _pcbnew.PAD_SetShape(self, aShape)
13010 r"""GetShape(PAD self) -> PAD_SHAPE"""
13011 return _pcbnew.PAD_GetShape(self)
13014 r"""GetAnchorPadShape(PAD self) -> PAD_SHAPE"""
13015 return _pcbnew.PAD_GetAnchorPadShape(self)
13018 r"""GetCustomShapeInZoneOpt(PAD self) -> CUST_PAD_SHAPE_IN_ZONE"""
13019 return _pcbnew.PAD_GetCustomShapeInZoneOpt(self)
13022 r"""SetCustomShapeInZoneOpt(PAD self, CUST_PAD_SHAPE_IN_ZONE aOption)"""
13023 return _pcbnew.PAD_SetCustomShapeInZoneOpt(self, aOption)
13026 r"""SetAnchorPadShape(PAD self, PAD_SHAPE aShape)"""
13027 return _pcbnew.PAD_SetAnchorPadShape(self, aShape)
13030 r"""SetY(PAD self, int y)"""
13031 return _pcbnew.PAD_SetY(self, y)
13034 r"""SetX(PAD self, int x)"""
13035 return _pcbnew.PAD_SetX(self, x)
13038 r"""SetSize(PAD self, VECTOR2I aSize)"""
13039 return _pcbnew.PAD_SetSize(self, aSize)
13042 r"""GetSize(PAD self) -> VECTOR2I"""
13043 return _pcbnew.PAD_GetSize(self)
13046 r"""SetSizeX(PAD self, int const aX)"""
13047 return _pcbnew.PAD_SetSizeX(self, aX)
13050 r"""GetSizeX(PAD self) -> int"""
13051 return _pcbnew.PAD_GetSizeX(self)
13054 r"""SetSizeY(PAD self, int const aY)"""
13055 return _pcbnew.PAD_SetSizeY(self, aY)
13058 r"""GetSizeY(PAD self) -> int"""
13059 return _pcbnew.PAD_GetSizeY(self)
13062 r"""SetDelta(PAD self, VECTOR2I aSize)"""
13063 return _pcbnew.PAD_SetDelta(self, aSize)
13066 r"""GetDelta(PAD self) -> VECTOR2I"""
13067 return _pcbnew.PAD_GetDelta(self)
13070 r"""SetDrillSize(PAD self, VECTOR2I aSize)"""
13071 return _pcbnew.PAD_SetDrillSize(self, aSize)
13074 r"""GetDrillSize(PAD self) -> VECTOR2I"""
13075 return _pcbnew.PAD_GetDrillSize(self)
13078 r"""SetDrillSizeX(PAD self, int const aX)"""
13079 return _pcbnew.PAD_SetDrillSizeX(self, aX)
13082 r"""GetDrillSizeX(PAD self) -> int"""
13083 return _pcbnew.PAD_GetDrillSizeX(self)
13086 r"""SetDrillSizeY(PAD self, int const aY)"""
13087 return _pcbnew.PAD_SetDrillSizeY(self, aY)
13090 r"""GetDrillSizeY(PAD self) -> int"""
13091 return _pcbnew.PAD_GetDrillSizeY(self)
13094 r"""SetOffset(PAD self, VECTOR2I aOffset)"""
13095 return _pcbnew.PAD_SetOffset(self, aOffset)
13098 r"""GetOffset(PAD self) -> VECTOR2I"""
13099 return _pcbnew.PAD_GetOffset(self)
13103 AddPrimitivePoly(PAD self, SHAPE_POLY_SET aPoly, int aThickness, bool aFilled)
13104 AddPrimitivePoly(PAD self, VECTOR_VECTOR2I aPoly, int aThickness, bool aFilled)
13106 return _pcbnew.PAD_AddPrimitivePoly(self, *args)
13109 r"""MergePrimitivesAsPolygon(PAD self, SHAPE_POLY_SET aMergedPolygon, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
13110 return _pcbnew.PAD_MergePrimitivesAsPolygon(self, *args)
13113 r"""DeletePrimitivesList(PAD self)"""
13114 return _pcbnew.PAD_DeletePrimitivesList(self)
13117 r"""GetPrimitives(PAD self) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &"""
13118 return _pcbnew.PAD_GetPrimitives(self)
13121 r"""FlipPrimitives(PAD self, bool aFlipLeftRight)"""
13122 return _pcbnew.PAD_FlipPrimitives(self, aFlipLeftRight)
13125 r"""ReplacePrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
13126 return _pcbnew.PAD_ReplacePrimitives(self, aPrimitivesList)
13129 r"""AppendPrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
13130 return _pcbnew.PAD_AppendPrimitives(self, aPrimitivesList)
13133 r"""AddPrimitiveShape(PAD self, PCB_SHAPE aPrimitive)"""
13134 return _pcbnew.PAD_AddPrimitiveShape(self, aPrimitive)
13137 r"""SetOrientation(PAD self, EDA_ANGLE aAngle)"""
13138 return _pcbnew.PAD_SetOrientation(self, aAngle)
13141 r"""SetFPRelativeOrientation(PAD self, EDA_ANGLE aAngle)"""
13142 return _pcbnew.PAD_SetFPRelativeOrientation(self, aAngle)
13145 r"""GetOrientation(PAD self) -> EDA_ANGLE"""
13146 return _pcbnew.PAD_GetOrientation(self)
13149 r"""GetFPRelativeOrientation(PAD self) -> EDA_ANGLE"""
13150 return _pcbnew.PAD_GetFPRelativeOrientation(self)
13153 r"""SetOrientationDegrees(PAD self, double aOrientation)"""
13154 return _pcbnew.PAD_SetOrientationDegrees(self, aOrientation)
13157 r"""GetOrientationDegrees(PAD self) -> double"""
13158 return _pcbnew.PAD_GetOrientationDegrees(self)
13161 r"""SetDrillShape(PAD self, PAD_DRILL_SHAPE_T aShape)"""
13162 return _pcbnew.PAD_SetDrillShape(self, aShape)
13165 r"""GetDrillShape(PAD self) -> PAD_DRILL_SHAPE_T"""
13166 return _pcbnew.PAD_GetDrillShape(self)
13169 r"""IsDirty(PAD self) -> bool"""
13170 return _pcbnew.PAD_IsDirty(self)
13173 r"""SetDirty(PAD self)"""
13174 return _pcbnew.PAD_SetDirty(self)
13177 r"""SetAttribute(PAD self, PAD_ATTRIB aAttribute)"""
13178 return _pcbnew.PAD_SetAttribute(self, aAttribute)
13181 r"""GetAttribute(PAD self) -> PAD_ATTRIB"""
13182 return _pcbnew.PAD_GetAttribute(self)
13185 r"""SetProperty(PAD self, PAD_PROP aProperty)"""
13186 return _pcbnew.PAD_SetProperty(self, aProperty)
13189 r"""GetProperty(PAD self) -> PAD_PROP"""
13190 return _pcbnew.PAD_GetProperty(self)
13193 r"""IsAperturePad(PAD self) -> bool"""
13194 return _pcbnew.PAD_IsAperturePad(self)
13197 r"""SetPadToDieLength(PAD self, int aLength)"""
13198 return _pcbnew.PAD_SetPadToDieLength(self, aLength)
13201 r"""GetPadToDieLength(PAD self) -> int"""
13202 return _pcbnew.PAD_GetPadToDieLength(self)
13205 r"""GetLocalSolderMaskMargin(PAD self) -> int"""
13206 return _pcbnew.PAD_GetLocalSolderMaskMargin(self)
13209 r"""SetLocalSolderMaskMargin(PAD self, int aMargin)"""
13210 return _pcbnew.PAD_SetLocalSolderMaskMargin(self, aMargin)
13217 return _pcbnew.PAD_GetLocalClearance(self, *args)
13220 r"""SetLocalClearance(PAD self, int aClearance)"""
13221 return _pcbnew.PAD_SetLocalClearance(self, aClearance)
13224 r"""GetLocalSolderPasteMargin(PAD self) -> int"""
13225 return _pcbnew.PAD_GetLocalSolderPasteMargin(self)
13228 r"""SetLocalSolderPasteMargin(PAD self, int aMargin)"""
13229 return _pcbnew.PAD_SetLocalSolderPasteMargin(self, aMargin)
13232 r"""GetLocalSolderPasteMarginRatio(PAD self) -> double"""
13233 return _pcbnew.PAD_GetLocalSolderPasteMarginRatio(self)
13236 r"""SetLocalSolderPasteMarginRatio(PAD self, double aRatio)"""
13237 return _pcbnew.PAD_SetLocalSolderPasteMarginRatio(self, aRatio)
13240 r"""GetOwnClearance(PAD self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
13241 return _pcbnew.PAD_GetOwnClearance(self, aLayer, aSource)
13244 r"""TransformShapeToPolygon(PAD self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc=ERROR_INSIDE, bool ignoreLineWidth=False)"""
13245 return _pcbnew.PAD_TransformShapeToPolygon(self, *args)
13248 r"""TransformHoleToPolygon(PAD self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> bool"""
13249 return _pcbnew.PAD_TransformHoleToPolygon(self, *args)
13252 r"""GetEffectiveShape(PAD self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING flashPTHPads=DEFAULT) -> std::shared_ptr< SHAPE >"""
13253 return _pcbnew.PAD_GetEffectiveShape(self, *args)
13256 r"""GetEffectivePolygon(PAD self, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> std::shared_ptr< SHAPE_POLY_SET > const"""
13257 return _pcbnew.PAD_GetEffectivePolygon(self, *args)
13260 r"""GetBoundingRadius(PAD self) -> int"""
13261 return _pcbnew.PAD_GetBoundingRadius(self)
13264 r"""GetSolderMaskExpansion(PAD self) -> int"""
13265 return _pcbnew.PAD_GetSolderMaskExpansion(self)
13268 r"""GetSolderPasteMargin(PAD self) -> VECTOR2I"""
13269 return _pcbnew.PAD_GetSolderPasteMargin(self)
13272 r"""SetZoneConnection(PAD self, ZONE_CONNECTION aType)"""
13273 return _pcbnew.PAD_SetZoneConnection(self, aType)
13276 r"""GetZoneConnection(PAD self) -> ZONE_CONNECTION"""
13277 return _pcbnew.PAD_GetZoneConnection(self)
13280 r"""GetLocalZoneConnectionOverride(PAD self, wxString aSource=None) -> ZONE_CONNECTION"""
13281 return _pcbnew.PAD_GetLocalZoneConnectionOverride(self, aSource)
13284 r"""SetThermalSpokeWidth(PAD self, int aWidth)"""
13285 return _pcbnew.PAD_SetThermalSpokeWidth(self, aWidth)
13288 r"""GetThermalSpokeWidth(PAD self) -> int"""
13289 return _pcbnew.PAD_GetThermalSpokeWidth(self)
13292 r"""GetLocalSpokeWidthOverride(PAD self, wxString aSource=None) -> int"""
13293 return _pcbnew.PAD_GetLocalSpokeWidthOverride(self, aSource)
13296 r"""SetThermalSpokeAngle(PAD self, EDA_ANGLE aAngle)"""
13297 return _pcbnew.PAD_SetThermalSpokeAngle(self, aAngle)
13300 r"""GetThermalSpokeAngle(PAD self) -> EDA_ANGLE"""
13301 return _pcbnew.PAD_GetThermalSpokeAngle(self)
13304 r"""SetThermalSpokeAngleDegrees(PAD self, double aAngle)"""
13305 return _pcbnew.PAD_SetThermalSpokeAngleDegrees(self, aAngle)
13308 r"""GetThermalSpokeAngleDegrees(PAD self) -> double"""
13309 return _pcbnew.PAD_GetThermalSpokeAngleDegrees(self)
13312 r"""SetThermalGap(PAD self, int aGap)"""
13313 return _pcbnew.PAD_SetThermalGap(self, aGap)
13316 r"""GetThermalGap(PAD self) -> int"""
13317 return _pcbnew.PAD_GetThermalGap(self)
13320 r"""GetLocalThermalGapOverride(PAD self, wxString aSource=None) -> int"""
13321 return _pcbnew.PAD_GetLocalThermalGapOverride(self, aSource)
13324 r"""SetRoundRectCornerRadius(PAD self, double aRadius)"""
13325 return _pcbnew.PAD_SetRoundRectCornerRadius(self, aRadius)
13328 r"""GetRoundRectCornerRadius(PAD self) -> int"""
13329 return _pcbnew.PAD_GetRoundRectCornerRadius(self)
13332 r"""ShapePos(PAD self) -> VECTOR2I"""
13333 return _pcbnew.PAD_ShapePos(self)
13336 r"""SetRoundRectRadiusRatio(PAD self, double aRadiusScale)"""
13337 return _pcbnew.PAD_SetRoundRectRadiusRatio(self, aRadiusScale)
13340 r"""GetRoundRectRadiusRatio(PAD self) -> double"""
13341 return _pcbnew.PAD_GetRoundRectRadiusRatio(self)
13344 r"""SetChamferRectRatio(PAD self, double aChamferScale)"""
13345 return _pcbnew.PAD_SetChamferRectRatio(self, aChamferScale)
13348 r"""GetChamferRectRatio(PAD self) -> double"""
13349 return _pcbnew.PAD_GetChamferRectRatio(self)
13352 r"""SetChamferPositions(PAD self, int aPositions)"""
13353 return _pcbnew.PAD_SetChamferPositions(self, aPositions)
13356 r"""GetChamferPositions(PAD self) -> int"""
13357 return _pcbnew.PAD_GetChamferPositions(self)
13360 r"""GetSubRatsnest(PAD self) -> int"""
13361 return _pcbnew.PAD_GetSubRatsnest(self)
13364 r"""SetSubRatsnest(PAD self, int aSubRatsnest)"""
13365 return _pcbnew.PAD_SetSubRatsnest(self, aSubRatsnest)
13368 r"""SetRemoveUnconnected(PAD self, bool aSet)"""
13369 return _pcbnew.PAD_SetRemoveUnconnected(self, aSet)
13372 r"""GetRemoveUnconnected(PAD self) -> bool"""
13373 return _pcbnew.PAD_GetRemoveUnconnected(self)
13376 r"""SetKeepTopBottom(PAD self, bool aSet)"""
13377 return _pcbnew.PAD_SetKeepTopBottom(self, aSet)
13380 r"""GetKeepTopBottom(PAD self) -> bool"""
13381 return _pcbnew.PAD_GetKeepTopBottom(self)
13384 r"""ConditionallyFlashed(PAD self, PCB_LAYER_ID aLayer) -> bool"""
13385 return _pcbnew.PAD_ConditionallyFlashed(self, aLayer)
13388 r"""CanFlashLayer(PAD self, int aLayer) -> bool"""
13389 return _pcbnew.PAD_CanFlashLayer(self, aLayer)
13392 r"""GetPrincipalLayer(PAD self) -> PCB_LAYER_ID"""
13393 return _pcbnew.PAD_GetPrincipalLayer(self)
13397 FlashLayer(PAD self, int aLayer, bool aOnlyCheckIfPermitted=False) -> bool
13400 return _pcbnew.PAD_FlashLayer(self, *args)
13404 HitTest(PAD self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13405 HitTest(PAD self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13407 return _pcbnew.PAD_HitTest(self, *args)
13410 r"""Recombine(PAD self, bool aIsDryRun, int aMaxError) -> std::vector< PCB_SHAPE *,std::allocator< PCB_SHAPE * > >"""
13411 return _pcbnew.PAD_Recombine(self, aIsDryRun, aMaxError)
13415 r"""Compare(PAD aPadRef, PAD aPadCmp) -> int"""
13416 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
13419 r"""ShowPadShape(PAD self) -> wxString"""
13420 return _pcbnew.PAD_ShowPadShape(self)
13423 r"""ShowPadAttr(PAD self) -> wxString"""
13424 return _pcbnew.PAD_ShowPadAttr(self)
13427 r"""ClonePad(PAD self) -> PAD"""
13428 return _pcbnew.PAD_ClonePad(self)
13431 r"""BuildEffectiveShapes(PAD self, PCB_LAYER_ID aLayer)"""
13432 return _pcbnew.PAD_BuildEffectiveShapes(self, aLayer)
13435 r"""BuildEffectivePolygon(PAD self, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
13436 return _pcbnew.PAD_BuildEffectivePolygon(self, *args)
13439 r"""ViewGetLOD(PAD self, int aLayer, KIGFX::VIEW * aView) -> double"""
13440 return _pcbnew.PAD_ViewGetLOD(self, aLayer, aView)
13443 r"""ClearZoneLayerOverrides(PAD self)"""
13444 return _pcbnew.PAD_ClearZoneLayerOverrides(self)
13447 r"""GetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
13448 return _pcbnew.PAD_GetZoneLayerOverride(self, aLayer)
13451 r"""SetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
13452 return _pcbnew.PAD_SetZoneLayerOverride(self, aLayer, aOverride)
13455 r"""CheckPad(PAD self, UNITS_PROVIDER aUnitsProvider, std::function< void (int,wxString const &) > const & aErrorHandler)"""
13456 return _pcbnew.PAD_CheckPad(self, aUnitsProvider, aErrorHandler)
13459 r"""__ne__(PAD self, BOARD_ITEM aOther) -> bool"""
13460 return _pcbnew.PAD___ne__(self, aOther)
13486 elif len(args) == 3:
13487 if type(args[1]
in [wxPoint,wxSize,VECTOR2I]):
13489 s.SetStart(args[0])
13491 s.SetWidth(args[2])
13494 s.SetCenter(args[0])
13495 s.SetRadius(args[1])
13496 s.SetWidth(args[2])
13497 elif len(args) == 4:
13499 s.SetCenter(args[0])
13500 s.SetStart(args[1])
13501 s.SetArcAngleAndEnd(args[2])
13502 s.SetWidth(args[3])
13503 elif len(args) == 5:
13505 s.SetStart(args[0])
13507 s.SetBezierC1(args[2])
13508 s.SetBezierC2(args[3])
13509 s.SetWidth(args[4])
13511 raise TypeError(f
"Arguments not recognized; expected 2-5 args, got {len(args)}")
13521 __swig_destroy__ = _pcbnew.delete_PAD
13524_pcbnew.PAD_swigregister(PAD)
13527 r"""PAD_PTHMask() -> LSET"""
13528 return _pcbnew.PAD_PTHMask()
13531 r"""PAD_SMDMask() -> LSET"""
13532 return _pcbnew.PAD_SMDMask()
13535 r"""PAD_ConnSMDMask() -> LSET"""
13536 return _pcbnew.PAD_ConnSMDMask()
13539 r"""PAD_UnplatedHoleMask() -> LSET"""
13540 return _pcbnew.PAD_UnplatedHoleMask()
13543 r"""PAD_ApertureMask() -> LSET"""
13544 return _pcbnew.PAD_ApertureMask()
13547 r"""PAD_ClassOf(EDA_ITEM aItem) -> bool"""
13548 return _pcbnew.PAD_ClassOf(aItem)
13551 r"""PAD_Compare(PAD aPadRef, PAD aPadCmp) -> int"""
13552 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
13554ENDPOINT_START = _pcbnew.ENDPOINT_START
13556ENDPOINT_END = _pcbnew.ENDPOINT_END
13558VIATYPE_THROUGH = _pcbnew.VIATYPE_THROUGH
13560VIATYPE_BLIND_BURIED = _pcbnew.VIATYPE_BLIND_BURIED
13562VIATYPE_MICROVIA = _pcbnew.VIATYPE_MICROVIA
13564VIATYPE_NOT_DEFINED = _pcbnew.VIATYPE_NOT_DEFINED
13566UNDEFINED_DRILL_DIAMETER = _pcbnew.UNDEFINED_DRILL_DIAMETER
13569 r"""Proxy of C++ PCB_TRACK class."""
13571 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13572 __repr__ = _swig_repr
13576 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13577 return _pcbnew.PCB_TRACK_ClassOf(aItem)
13580 r"""__init__(PCB_TRACK self, BOARD_ITEM aParent, KICAD_T idtype=PCB_TRACE_T) -> PCB_TRACK"""
13581 _pcbnew.PCB_TRACK_swiginit(self, _pcbnew.new_PCB_TRACK(aParent, idtype))
13584 r"""Mirror(PCB_TRACK self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
13585 return _pcbnew.PCB_TRACK_Mirror(self, aCentre, aMirrorAroundXAxis)
13588 r"""SetWidth(PCB_TRACK self, int aWidth)"""
13589 return _pcbnew.PCB_TRACK_SetWidth(self, aWidth)
13592 r"""GetWidth(PCB_TRACK self) -> int"""
13593 return _pcbnew.PCB_TRACK_GetWidth(self)
13596 r"""SetEnd(PCB_TRACK self, VECTOR2I aEnd)"""
13597 return _pcbnew.PCB_TRACK_SetEnd(self, aEnd)
13600 r"""GetEnd(PCB_TRACK self) -> VECTOR2I"""
13601 return _pcbnew.PCB_TRACK_GetEnd(self)
13604 r"""SetStart(PCB_TRACK self, VECTOR2I aStart)"""
13605 return _pcbnew.PCB_TRACK_SetStart(self, aStart)
13608 r"""GetStart(PCB_TRACK self) -> VECTOR2I"""
13609 return _pcbnew.PCB_TRACK_GetStart(self)
13612 r"""SetStartX(PCB_TRACK self, int aX)"""
13613 return _pcbnew.PCB_TRACK_SetStartX(self, aX)
13616 r"""SetStartY(PCB_TRACK self, int aY)"""
13617 return _pcbnew.PCB_TRACK_SetStartY(self, aY)
13620 r"""GetStartX(PCB_TRACK self) -> int"""
13621 return _pcbnew.PCB_TRACK_GetStartX(self)
13624 r"""GetStartY(PCB_TRACK self) -> int"""
13625 return _pcbnew.PCB_TRACK_GetStartY(self)
13628 r"""SetEndX(PCB_TRACK self, int aX)"""
13629 return _pcbnew.PCB_TRACK_SetEndX(self, aX)
13632 r"""SetEndY(PCB_TRACK self, int aY)"""
13633 return _pcbnew.PCB_TRACK_SetEndY(self, aY)
13636 r"""GetEndX(PCB_TRACK self) -> int"""
13637 return _pcbnew.PCB_TRACK_GetEndX(self)
13640 r"""GetEndY(PCB_TRACK self) -> int"""
13641 return _pcbnew.PCB_TRACK_GetEndY(self)
13644 r"""GetEndPoint(PCB_TRACK self, ENDPOINT_T aEndPoint) -> VECTOR2I"""
13645 return _pcbnew.PCB_TRACK_GetEndPoint(self, aEndPoint)
13648 r"""GetLength(PCB_TRACK self) -> double"""
13649 return _pcbnew.PCB_TRACK_GetLength(self)
13652 r"""TransformShapeToPolygon(PCB_TRACK self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
13653 return _pcbnew.PCB_TRACK_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
13656 r"""GetEffectiveShape(PCB_TRACK self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13657 return _pcbnew.PCB_TRACK_GetEffectiveShape(self, *args)
13660 r"""IsPointOnEnds(PCB_TRACK self, VECTOR2I point, int min_dist=0) -> EDA_ITEM_FLAGS"""
13661 return _pcbnew.PCB_TRACK_IsPointOnEnds(self, point, min_dist)
13664 r"""IsNull(PCB_TRACK self) -> bool"""
13665 return _pcbnew.PCB_TRACK_IsNull(self)
13669 HitTest(PCB_TRACK self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13670 HitTest(PCB_TRACK self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13672 return _pcbnew.PCB_TRACK_HitTest(self, *args)
13675 r"""ApproxCollinear(PCB_TRACK self, PCB_TRACK aTrack) -> bool"""
13676 return _pcbnew.PCB_TRACK_ApproxCollinear(self, aTrack)
13679 r"""GetWidthConstraint(PCB_TRACK self, wxString aSource=None) -> MINOPTMAX< int >"""
13680 return _pcbnew.PCB_TRACK_GetWidthConstraint(self, aSource)
13683 r"""ViewGetLOD(PCB_TRACK self, int aLayer, KIGFX::VIEW * aView) -> double"""
13684 return _pcbnew.PCB_TRACK_ViewGetLOD(self, aLayer, aView)
13685 __swig_destroy__ = _pcbnew.delete_PCB_TRACK
13688_pcbnew.PCB_TRACK_swigregister(PCB_TRACK)
13689PAD_SHAPE_RECT = cvar.PAD_SHAPE_RECT
13692 r"""PCB_TRACK_ClassOf(EDA_ITEM aItem) -> bool"""
13693 return _pcbnew.PCB_TRACK_ClassOf(aItem)
13696 r"""Proxy of C++ PCB_ARC class."""
13698 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13699 __repr__ = _swig_repr
13703 __init__(PCB_ARC self, BOARD_ITEM aParent) -> PCB_ARC
13704 __init__(PCB_ARC self, BOARD_ITEM aParent, SHAPE_ARC aArc) -> PCB_ARC
13706 _pcbnew.PCB_ARC_swiginit(self, _pcbnew.new_PCB_ARC(*args))
13710 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13711 return _pcbnew.PCB_ARC_ClassOf(aItem)
13714 r"""SetMid(PCB_ARC self, VECTOR2I aMid)"""
13715 return _pcbnew.PCB_ARC_SetMid(self, aMid)
13718 r"""GetMid(PCB_ARC self) -> VECTOR2I"""
13719 return _pcbnew.PCB_ARC_GetMid(self)
13722 r"""GetRadius(PCB_ARC self) -> double"""
13723 return _pcbnew.PCB_ARC_GetRadius(self)
13726 r"""GetAngle(PCB_ARC self) -> EDA_ANGLE"""
13727 return _pcbnew.PCB_ARC_GetAngle(self)
13730 r"""GetArcAngleStart(PCB_ARC self) -> EDA_ANGLE"""
13731 return _pcbnew.PCB_ARC_GetArcAngleStart(self)
13734 r"""GetArcAngleEnd(PCB_ARC self) -> EDA_ANGLE"""
13735 return _pcbnew.PCB_ARC_GetArcAngleEnd(self)
13739 HitTest(PCB_ARC self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13740 HitTest(PCB_ARC self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
13742 return _pcbnew.PCB_ARC_HitTest(self, *args)
13745 r"""IsCCW(PCB_ARC self) -> bool"""
13746 return _pcbnew.PCB_ARC_IsCCW(self)
13749 r"""GetEffectiveShape(PCB_ARC self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13750 return _pcbnew.PCB_ARC_GetEffectiveShape(self, *args)
13753 r"""IsDegenerated(PCB_ARC self, int aThreshold=5) -> bool"""
13754 return _pcbnew.PCB_ARC_IsDegenerated(self, aThreshold)
13755 __swig_destroy__ = _pcbnew.delete_PCB_ARC
13758_pcbnew.PCB_ARC_swigregister(PCB_ARC)
13761 r"""PCB_ARC_ClassOf(EDA_ITEM aItem) -> bool"""
13762 return _pcbnew.PCB_ARC_ClassOf(aItem)
13765 r"""Proxy of C++ PCB_VIA class."""
13767 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13768 __repr__ = _swig_repr
13772 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13773 return _pcbnew.PCB_VIA_ClassOf(aItem)
13777 __init__(PCB_VIA self, BOARD_ITEM aParent) -> PCB_VIA
13778 __init__(PCB_VIA self, PCB_VIA aOther) -> PCB_VIA
13780 _pcbnew.PCB_VIA_swiginit(self, _pcbnew.new_PCB_VIA(*args))
13783 r"""GetViaType(PCB_VIA self) -> VIATYPE"""
13784 return _pcbnew.PCB_VIA_GetViaType(self)
13787 r"""SetViaType(PCB_VIA self, VIATYPE aViaType)"""
13788 return _pcbnew.PCB_VIA_SetViaType(self, aViaType)
13791 r"""GetWidthConstraint(PCB_VIA self, wxString aSource=None) -> MINOPTMAX< int >"""
13792 return _pcbnew.PCB_VIA_GetWidthConstraint(self, aSource)
13795 r"""GetDrillConstraint(PCB_VIA self, wxString aSource=None) -> MINOPTMAX< int >"""
13796 return _pcbnew.PCB_VIA_GetDrillConstraint(self, aSource)
13799 r"""GetSolderMaskExpansion(PCB_VIA self) -> int"""
13800 return _pcbnew.PCB_VIA_GetSolderMaskExpansion(self)
13803 r"""SetLayerPair(PCB_VIA self, PCB_LAYER_ID aTopLayer, PCB_LAYER_ID aBottomLayer)"""
13804 return _pcbnew.PCB_VIA_SetLayerPair(self, aTopLayer, aBottomLayer)
13807 r"""SetBottomLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
13808 return _pcbnew.PCB_VIA_SetBottomLayer(self, aLayer)
13811 r"""SetTopLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
13812 return _pcbnew.PCB_VIA_SetTopLayer(self, aLayer)
13815 r"""LayerPair(PCB_VIA self, PCB_LAYER_ID * top_layer, PCB_LAYER_ID * bottom_layer)"""
13816 return _pcbnew.PCB_VIA_LayerPair(self, top_layer, bottom_layer)
13819 r"""TopLayer(PCB_VIA self) -> PCB_LAYER_ID"""
13820 return _pcbnew.PCB_VIA_TopLayer(self)
13823 r"""BottomLayer(PCB_VIA self) -> PCB_LAYER_ID"""
13824 return _pcbnew.PCB_VIA_BottomLayer(self)
13827 r"""SanitizeLayers(PCB_VIA self)"""
13828 return _pcbnew.PCB_VIA_SanitizeLayers(self)
13832 HitTest(PCB_VIA self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13833 HitTest(PCB_VIA self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13835 return _pcbnew.PCB_VIA_HitTest(self, *args)
13838 r"""ViewGetLOD(PCB_VIA self, int aLayer, KIGFX::VIEW * aView) -> double"""
13839 return _pcbnew.PCB_VIA_ViewGetLOD(self, aLayer, aView)
13842 r"""GetMinAnnulus(PCB_VIA self, PCB_LAYER_ID aLayer, wxString aSource) -> int"""
13843 return _pcbnew.PCB_VIA_GetMinAnnulus(self, aLayer, aSource)
13846 r"""SetRemoveUnconnected(PCB_VIA self, bool aSet)"""
13847 return _pcbnew.PCB_VIA_SetRemoveUnconnected(self, aSet)
13850 r"""GetRemoveUnconnected(PCB_VIA self) -> bool"""
13851 return _pcbnew.PCB_VIA_GetRemoveUnconnected(self)
13854 r"""SetKeepStartEnd(PCB_VIA self, bool aSet)"""
13855 return _pcbnew.PCB_VIA_SetKeepStartEnd(self, aSet)
13858 r"""GetKeepStartEnd(PCB_VIA self) -> bool"""
13859 return _pcbnew.PCB_VIA_GetKeepStartEnd(self)
13862 r"""ConditionallyFlashed(PCB_VIA self, PCB_LAYER_ID aLayer) -> bool"""
13863 return _pcbnew.PCB_VIA_ConditionallyFlashed(self, aLayer)
13867 FlashLayer(PCB_VIA self, int aLayer) -> bool
13868 FlashLayer(PCB_VIA self, LSET aLayers) -> bool
13870 return _pcbnew.PCB_VIA_FlashLayer(self, *args)
13873 r"""GetOutermostConnectedLayers(PCB_VIA self, PCB_LAYER_ID * aTopmost, PCB_LAYER_ID * aBottommost)"""
13874 return _pcbnew.PCB_VIA_GetOutermostConnectedLayers(self, aTopmost, aBottommost)
13877 r"""SetDrill(PCB_VIA self, int aDrill)"""
13878 return _pcbnew.PCB_VIA_SetDrill(self, aDrill)
13881 r"""GetDrill(PCB_VIA self) -> int"""
13882 return _pcbnew.PCB_VIA_GetDrill(self)
13885 r"""GetDrillValue(PCB_VIA self) -> int"""
13886 return _pcbnew.PCB_VIA_GetDrillValue(self)
13889 r"""SetDrillDefault(PCB_VIA self)"""
13890 return _pcbnew.PCB_VIA_SetDrillDefault(self)
13893 r"""GetIsFree(PCB_VIA self) -> bool"""
13894 return _pcbnew.PCB_VIA_GetIsFree(self)
13897 r"""SetIsFree(PCB_VIA self, bool aFree=True)"""
13898 return _pcbnew.PCB_VIA_SetIsFree(self, aFree)
13901 r"""GetEffectiveShape(PCB_VIA self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13902 return _pcbnew.PCB_VIA_GetEffectiveShape(self, *args)
13905 r"""ClearZoneLayerOverrides(PCB_VIA self)"""
13906 return _pcbnew.PCB_VIA_ClearZoneLayerOverrides(self)
13909 r"""GetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
13910 return _pcbnew.PCB_VIA_GetZoneLayerOverride(self, aLayer)
13913 r"""SetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
13914 return _pcbnew.PCB_VIA_SetZoneLayerOverride(self, aLayer, aOverride)
13915 __swig_destroy__ = _pcbnew.delete_PCB_VIA
13918_pcbnew.PCB_VIA_swigregister(PCB_VIA)
13921 r"""PCB_VIA_ClassOf(EDA_ITEM aItem) -> bool"""
13922 return _pcbnew.PCB_VIA_ClassOf(aItem)
13925 r"""Proxy of C++ ISOLATED_ISLANDS class."""
13927 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13928 __repr__ = _swig_repr
13929 m_IsolatedOutlines = property(_pcbnew.ISOLATED_ISLANDS_m_IsolatedOutlines_get, _pcbnew.ISOLATED_ISLANDS_m_IsolatedOutlines_set, doc=
r"""m_IsolatedOutlines : std::vector<(int,std::allocator<(int)>)>""")
13930 m_SingleConnectionOutlines = property(_pcbnew.ISOLATED_ISLANDS_m_SingleConnectionOutlines_get, _pcbnew.ISOLATED_ISLANDS_m_SingleConnectionOutlines_set, doc=
r"""m_SingleConnectionOutlines : std::vector<(int,std::allocator<(int)>)>""")
13933 r"""__init__(ISOLATED_ISLANDS self) -> ISOLATED_ISLANDS"""
13934 _pcbnew.ISOLATED_ISLANDS_swiginit(self, _pcbnew.new_ISOLATED_ISLANDS())
13935 __swig_destroy__ = _pcbnew.delete_ISOLATED_ISLANDS
13938_pcbnew.ISOLATED_ISLANDS_swigregister(ISOLATED_ISLANDS)
13941 r"""Proxy of C++ ZONE class."""
13943 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13944 __repr__ = _swig_repr
13948 __init__(ZONE self, BOARD_ITEM_CONTAINER parent) -> ZONE
13949 __init__(ZONE self, ZONE aZone) -> ZONE
13951 _pcbnew.ZONE_swiginit(self, _pcbnew.new_ZONE(*args))
13952 __swig_destroy__ = _pcbnew.delete_ZONE
13956 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13957 return _pcbnew.ZONE_ClassOf(aItem)
13960 r"""InitDataFromSrcInCopyCtor(ZONE self, ZONE aZone)"""
13961 return _pcbnew.ZONE_InitDataFromSrcInCopyCtor(self, aZone)
13964 r"""IsConflicting(ZONE self) -> bool"""
13965 return _pcbnew.ZONE_IsConflicting(self)
13968 r"""SetAssignedPriority(ZONE self, unsigned int aPriority)"""
13969 return _pcbnew.ZONE_SetAssignedPriority(self, aPriority)
13972 r"""GetAssignedPriority(ZONE self) -> unsigned int"""
13973 return _pcbnew.ZONE_GetAssignedPriority(self)
13976 r"""HigherPriority(ZONE self, ZONE aOther) -> bool"""
13977 return _pcbnew.ZONE_HigherPriority(self, aOther)
13980 r"""SameNet(ZONE self, ZONE aOther) -> bool"""
13981 return _pcbnew.ZONE_SameNet(self, aOther)
13984 r"""GetZoneName(ZONE self) -> wxString"""
13985 return _pcbnew.ZONE_GetZoneName(self)
13988 r"""SetZoneName(ZONE self, wxString aName)"""
13989 return _pcbnew.ZONE_SetZoneName(self, aName)
13992 r"""CacheBoundingBox(ZONE self)"""
13993 return _pcbnew.ZONE_CacheBoundingBox(self)
14000 return _pcbnew.ZONE_GetLocalClearance(self, *args)
14003 r"""SetLocalClearance(ZONE self, int aClearance)"""
14004 return _pcbnew.ZONE_SetLocalClearance(self, aClearance)
14007 r"""GetFirstLayer(ZONE self) -> PCB_LAYER_ID"""
14008 return _pcbnew.ZONE_GetFirstLayer(self)
14011 r"""ViewGetLOD(ZONE self, int aLayer, KIGFX::VIEW * aView) -> double"""
14012 return _pcbnew.ZONE_ViewGetLOD(self, aLayer, aView)
14015 r"""SetFillMode(ZONE self, ZONE_FILL_MODE aFillMode)"""
14016 return _pcbnew.ZONE_SetFillMode(self, aFillMode)
14019 r"""GetFillMode(ZONE self) -> ZONE_FILL_MODE"""
14020 return _pcbnew.ZONE_GetFillMode(self)
14023 r"""SetThermalReliefGap(ZONE self, int aThermalReliefGap)"""
14024 return _pcbnew.ZONE_SetThermalReliefGap(self, aThermalReliefGap)
14031 return _pcbnew.ZONE_GetThermalReliefGap(self, *args)
14034 r"""SetThermalReliefSpokeWidth(ZONE self, int aThermalReliefSpokeWidth)"""
14035 return _pcbnew.ZONE_SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth)
14038 r"""GetThermalReliefSpokeWidth(ZONE self) -> int"""
14039 return _pcbnew.ZONE_GetThermalReliefSpokeWidth(self)
14042 r"""CalculateFilledArea(ZONE self) -> double"""
14043 return _pcbnew.ZONE_CalculateFilledArea(self)
14046 r"""CalculateOutlineArea(ZONE self) -> double"""
14047 return _pcbnew.ZONE_CalculateOutlineArea(self)
14050 r"""GetFilledArea(ZONE self) -> double"""
14051 return _pcbnew.ZONE_GetFilledArea(self)
14054 r"""GetOutlineArea(ZONE self) -> double"""
14055 return _pcbnew.ZONE_GetOutlineArea(self)
14058 r"""GetLock(ZONE self) -> std::mutex &"""
14059 return _pcbnew.ZONE_GetLock(self)
14062 r"""GetFillFlag(ZONE self, PCB_LAYER_ID aLayer) -> int"""
14063 return _pcbnew.ZONE_GetFillFlag(self, aLayer)
14066 r"""SetFillFlag(ZONE self, PCB_LAYER_ID aLayer, bool aFlag)"""
14067 return _pcbnew.ZONE_SetFillFlag(self, aLayer, aFlag)
14070 r"""IsFilled(ZONE self) -> bool"""
14071 return _pcbnew.ZONE_IsFilled(self)
14074 r"""SetIsFilled(ZONE self, bool isFilled)"""
14075 return _pcbnew.ZONE_SetIsFilled(self, isFilled)
14078 r"""NeedRefill(ZONE self) -> bool"""
14079 return _pcbnew.ZONE_NeedRefill(self)
14082 r"""SetNeedRefill(ZONE self, bool aNeedRefill)"""
14083 return _pcbnew.ZONE_SetNeedRefill(self, aNeedRefill)
14086 r"""GetPadConnection(ZONE self) -> ZONE_CONNECTION"""
14087 return _pcbnew.ZONE_GetPadConnection(self)
14090 r"""SetPadConnection(ZONE self, ZONE_CONNECTION aPadConnection)"""
14091 return _pcbnew.ZONE_SetPadConnection(self, aPadConnection)
14094 r"""GetMinThickness(ZONE self) -> int"""
14095 return _pcbnew.ZONE_GetMinThickness(self)
14098 r"""SetMinThickness(ZONE self, int aMinThickness)"""
14099 return _pcbnew.ZONE_SetMinThickness(self, aMinThickness)
14102 r"""GetHatchThickness(ZONE self) -> int"""
14103 return _pcbnew.ZONE_GetHatchThickness(self)
14106 r"""SetHatchThickness(ZONE self, int aThickness)"""
14107 return _pcbnew.ZONE_SetHatchThickness(self, aThickness)
14110 r"""GetHatchGap(ZONE self) -> int"""
14111 return _pcbnew.ZONE_GetHatchGap(self)
14114 r"""SetHatchGap(ZONE self, int aStep)"""
14115 return _pcbnew.ZONE_SetHatchGap(self, aStep)
14118 r"""GetHatchOrientation(ZONE self) -> EDA_ANGLE"""
14119 return _pcbnew.ZONE_GetHatchOrientation(self)
14122 r"""SetHatchOrientation(ZONE self, EDA_ANGLE aStep)"""
14123 return _pcbnew.ZONE_SetHatchOrientation(self, aStep)
14126 r"""GetHatchSmoothingLevel(ZONE self) -> int"""
14127 return _pcbnew.ZONE_GetHatchSmoothingLevel(self)
14130 r"""SetHatchSmoothingLevel(ZONE self, int aLevel)"""
14131 return _pcbnew.ZONE_SetHatchSmoothingLevel(self, aLevel)
14134 r"""GetHatchSmoothingValue(ZONE self) -> double"""
14135 return _pcbnew.ZONE_GetHatchSmoothingValue(self)
14138 r"""SetHatchSmoothingValue(ZONE self, double aValue)"""
14139 return _pcbnew.ZONE_SetHatchSmoothingValue(self, aValue)
14142 r"""GetHatchHoleMinArea(ZONE self) -> double"""
14143 return _pcbnew.ZONE_GetHatchHoleMinArea(self)
14146 r"""SetHatchHoleMinArea(ZONE self, double aPct)"""
14147 return _pcbnew.ZONE_SetHatchHoleMinArea(self, aPct)
14150 r"""GetHatchBorderAlgorithm(ZONE self) -> int"""
14151 return _pcbnew.ZONE_GetHatchBorderAlgorithm(self)
14154 r"""SetHatchBorderAlgorithm(ZONE self, int aAlgo)"""
14155 return _pcbnew.ZONE_SetHatchBorderAlgorithm(self, aAlgo)
14158 r"""GetSelectedCorner(ZONE self) -> int"""
14159 return _pcbnew.ZONE_GetSelectedCorner(self)
14162 r"""SetSelectedCorner(ZONE self, int aCorner)"""
14163 return _pcbnew.ZONE_SetSelectedCorner(self, aCorner)
14166 r"""GetLocalFlags(ZONE self) -> int"""
14167 return _pcbnew.ZONE_GetLocalFlags(self)
14170 r"""SetLocalFlags(ZONE self, int aFlags)"""
14171 return _pcbnew.ZONE_SetLocalFlags(self, aFlags)
14175 Outline(ZONE self) -> SHAPE_POLY_SET
14176 Outline(ZONE self) -> SHAPE_POLY_SET
14178 return _pcbnew.ZONE_Outline(self, *args)
14181 r"""SetOutline(ZONE self, SHAPE_POLY_SET aOutline)"""
14182 return _pcbnew.ZONE_SetOutline(self, aOutline)
14185 r"""GetEffectiveShape(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14186 return _pcbnew.ZONE_GetEffectiveShape(self, *args)
14189 r"""HitTestFilledArea(ZONE self, PCB_LAYER_ID aLayer, VECTOR2I aRefPos, int aAccuracy=0) -> bool"""
14190 return _pcbnew.ZONE_HitTestFilledArea(self, aLayer, aRefPos, aAccuracy)
14193 r"""HitTestCutout(ZONE self, VECTOR2I aRefPos, int * aOutlineIdx=None, int * aHoleIdx=None) -> bool"""
14194 return _pcbnew.ZONE_HitTestCutout(self, aRefPos, aOutlineIdx, aHoleIdx)
14197 r"""GetInteractingZones(ZONE self, PCB_LAYER_ID aLayer, ZONES aSameNetCollidingZones, ZONES aOtherNetIntersectingZones)"""
14198 return _pcbnew.ZONE_GetInteractingZones(self, aLayer, aSameNetCollidingZones, aOtherNetIntersectingZones)
14201 r"""TransformSolidAreasShapesToPolygon(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBuffer)"""
14202 return _pcbnew.ZONE_TransformSolidAreasShapesToPolygon(self, aLayer, aBuffer)
14205 r"""TransformSmoothedOutlineToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, SHAPE_POLY_SET aBoardOutline)"""
14206 return _pcbnew.ZONE_TransformSmoothedOutlineToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, aBoardOutline)
14209 r"""TransformShapeToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
14210 return _pcbnew.ZONE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
14213 r"""HitTestForCorner(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
14214 return _pcbnew.ZONE_HitTestForCorner(self, refPos, aAccuracy, aCornerHit)
14217 r"""HitTestForEdge(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
14218 return _pcbnew.ZONE_HitTestForEdge(self, refPos, aAccuracy, aCornerHit)
14222 HitTest(ZONE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14223 HitTest(ZONE self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
14225 return _pcbnew.ZONE_HitTest(self, *args)
14228 r"""UnFill(ZONE self) -> bool"""
14229 return _pcbnew.ZONE_UnFill(self)
14232 r"""MoveEdge(ZONE self, VECTOR2I offset, int aEdge)"""
14233 return _pcbnew.ZONE_MoveEdge(self, offset, aEdge)
14236 r"""Mirror(ZONE self, VECTOR2I aMirrorRef, bool aMirrorLeftRight)"""
14237 return _pcbnew.ZONE_Mirror(self, aMirrorRef, aMirrorLeftRight)
14240 r"""GetNumCorners(ZONE self) -> int"""
14241 return _pcbnew.ZONE_GetNumCorners(self)
14244 r"""Iterate(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
14245 return _pcbnew.ZONE_Iterate(self)
14248 r"""IterateWithHoles(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
14249 return _pcbnew.ZONE_IterateWithHoles(self)
14252 r"""CIterateWithHoles(ZONE self) -> SHAPE_POLY_SET::CONST_ITERATOR"""
14253 return _pcbnew.ZONE_CIterateWithHoles(self)
14256 r"""RemoveAllContours(ZONE self)"""
14257 return _pcbnew.ZONE_RemoveAllContours(self)
14260 r"""GetCornerPosition(ZONE self, int aCornerIndex) -> VECTOR2I"""
14261 return _pcbnew.ZONE_GetCornerPosition(self, aCornerIndex)
14264 r"""SetCornerPosition(ZONE self, int aCornerIndex, VECTOR2I new_pos)"""
14265 return _pcbnew.ZONE_SetCornerPosition(self, aCornerIndex, new_pos)
14268 r"""NewHole(ZONE self)"""
14269 return _pcbnew.ZONE_NewHole(self)
14272 r"""AppendCorner(ZONE self, VECTOR2I aPosition, int aHoleIdx, bool aAllowDuplication=False) -> bool"""
14273 return _pcbnew.ZONE_AppendCorner(self, aPosition, aHoleIdx, aAllowDuplication)
14276 r"""GetHatchStyle(ZONE self) -> ZONE_BORDER_DISPLAY_STYLE"""
14277 return _pcbnew.ZONE_GetHatchStyle(self)
14280 r"""SetHatchStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aStyle)"""
14281 return _pcbnew.ZONE_SetHatchStyle(self, aStyle)
14284 r"""HasFilledPolysForLayer(ZONE self, PCB_LAYER_ID aLayer) -> bool"""
14285 return _pcbnew.ZONE_HasFilledPolysForLayer(self, aLayer)
14288 r"""GetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer) -> std::shared_ptr< SHAPE_POLY_SET > const &"""
14289 return _pcbnew.ZONE_GetFilledPolysList(self, aLayer)
14292 r"""GetFill(ZONE self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
14293 return _pcbnew.ZONE_GetFill(self, aLayer)
14296 r"""CacheTriangulation(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
14297 return _pcbnew.ZONE_CacheTriangulation(self, aLayer)
14300 r"""SetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPolysList)"""
14301 return _pcbnew.ZONE_SetFilledPolysList(self, aLayer, aPolysList)
14304 r"""IsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx) -> bool"""
14305 return _pcbnew.ZONE_IsIsland(self, aLayer, aPolyIdx)
14308 r"""SetIsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx)"""
14309 return _pcbnew.ZONE_SetIsIsland(self, aLayer, aPolyIdx)
14312 r"""BuildSmoothedPoly(ZONE self, SHAPE_POLY_SET aSmoothedPoly, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBoardOutline, SHAPE_POLY_SET aSmoothedPolyWithApron=None) -> bool"""
14313 return _pcbnew.ZONE_BuildSmoothedPoly(self, aSmoothedPoly, aLayer, aBoardOutline, aSmoothedPolyWithApron)
14316 r"""SetCornerSmoothingType(ZONE self, int aType)"""
14317 return _pcbnew.ZONE_SetCornerSmoothingType(self, aType)
14320 r"""GetCornerSmoothingType(ZONE self) -> int"""
14321 return _pcbnew.ZONE_GetCornerSmoothingType(self)
14324 r"""SetCornerRadius(ZONE self, unsigned int aRadius)"""
14325 return _pcbnew.ZONE_SetCornerRadius(self, aRadius)
14328 r"""GetCornerRadius(ZONE self) -> unsigned int"""
14329 return _pcbnew.ZONE_GetCornerRadius(self)
14332 r"""RemoveCutout(ZONE self, int aOutlineIdx, int aHoleIdx)"""
14333 return _pcbnew.ZONE_RemoveCutout(self, aOutlineIdx, aHoleIdx)
14337 AddPolygon(ZONE self, VECTOR_VECTOR2I aPolygon)
14338 AddPolygon(ZONE self, SHAPE_LINE_CHAIN aPolygon)
14340 return _pcbnew.ZONE_AddPolygon(self, *args)
14343 r"""IsTeardropArea(ZONE self) -> bool"""
14344 return _pcbnew.ZONE_IsTeardropArea(self)
14347 r"""SetTeardropAreaType(ZONE self, TEARDROP_TYPE aType)"""
14348 return _pcbnew.ZONE_SetTeardropAreaType(self, aType)
14351 r"""GetTeardropAreaType(ZONE self) -> TEARDROP_TYPE"""
14352 return _pcbnew.ZONE_GetTeardropAreaType(self)
14355 r"""GetIsRuleArea(ZONE self) -> bool"""
14356 return _pcbnew.ZONE_GetIsRuleArea(self)
14359 r"""GetDoNotAllowCopperPour(ZONE self) -> bool"""
14360 return _pcbnew.ZONE_GetDoNotAllowCopperPour(self)
14363 r"""GetDoNotAllowVias(ZONE self) -> bool"""
14364 return _pcbnew.ZONE_GetDoNotAllowVias(self)
14367 r"""GetDoNotAllowTracks(ZONE self) -> bool"""
14368 return _pcbnew.ZONE_GetDoNotAllowTracks(self)
14371 r"""GetDoNotAllowPads(ZONE self) -> bool"""
14372 return _pcbnew.ZONE_GetDoNotAllowPads(self)
14375 r"""GetDoNotAllowFootprints(ZONE self) -> bool"""
14376 return _pcbnew.ZONE_GetDoNotAllowFootprints(self)
14379 r"""SetIsRuleArea(ZONE self, bool aEnable)"""
14380 return _pcbnew.ZONE_SetIsRuleArea(self, aEnable)
14383 r"""SetDoNotAllowCopperPour(ZONE self, bool aEnable)"""
14384 return _pcbnew.ZONE_SetDoNotAllowCopperPour(self, aEnable)
14387 r"""SetDoNotAllowVias(ZONE self, bool aEnable)"""
14388 return _pcbnew.ZONE_SetDoNotAllowVias(self, aEnable)
14391 r"""SetDoNotAllowTracks(ZONE self, bool aEnable)"""
14392 return _pcbnew.ZONE_SetDoNotAllowTracks(self, aEnable)
14395 r"""SetDoNotAllowPads(ZONE self, bool aEnable)"""
14396 return _pcbnew.ZONE_SetDoNotAllowPads(self, aEnable)
14399 r"""SetDoNotAllowFootprints(ZONE self, bool aEnable)"""
14400 return _pcbnew.ZONE_SetDoNotAllowFootprints(self, aEnable)
14403 r"""GetIslandRemovalMode(ZONE self) -> ISLAND_REMOVAL_MODE"""
14404 return _pcbnew.ZONE_GetIslandRemovalMode(self)
14407 r"""SetIslandRemovalMode(ZONE self, ISLAND_REMOVAL_MODE aRemove)"""
14408 return _pcbnew.ZONE_SetIslandRemovalMode(self, aRemove)
14411 r"""GetMinIslandArea(ZONE self) -> long long"""
14412 return _pcbnew.ZONE_GetMinIslandArea(self)
14415 r"""SetMinIslandArea(ZONE self, long long aArea)"""
14416 return _pcbnew.ZONE_SetMinIslandArea(self, aArea)
14419 r"""GetBorderHatchPitch(ZONE self) -> int"""
14420 return _pcbnew.ZONE_GetBorderHatchPitch(self)
14424 r"""GetDefaultHatchPitch() -> int"""
14425 return _pcbnew.ZONE_GetDefaultHatchPitch()
14428 r"""SetBorderDisplayStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aBorderHatchStyle, int aBorderHatchPitch, bool aRebuilBorderdHatch)"""
14429 return _pcbnew.ZONE_SetBorderDisplayStyle(self, aBorderHatchStyle, aBorderHatchPitch, aRebuilBorderdHatch)
14432 r"""SetBorderHatchPitch(ZONE self, int aPitch)"""
14433 return _pcbnew.ZONE_SetBorderHatchPitch(self, aPitch)
14436 r"""UnHatchBorder(ZONE self)"""
14437 return _pcbnew.ZONE_UnHatchBorder(self)
14440 r"""HatchBorder(ZONE self)"""
14441 return _pcbnew.ZONE_HatchBorder(self)
14444 r"""GetHatchLines(ZONE self) -> std::vector< SEG,std::allocator< SEG > > const &"""
14445 return _pcbnew.ZONE_GetHatchLines(self)
14448 r"""BuildHashValue(ZONE self, PCB_LAYER_ID aLayer)"""
14449 return _pcbnew.ZONE_BuildHashValue(self, aLayer)
14452 r"""GetHashValue(ZONE self, PCB_LAYER_ID aLayer) -> MD5_HASH"""
14453 return _pcbnew.ZONE_GetHashValue(self, aLayer)
14456_pcbnew.ZONE_swigregister(ZONE)
14459 r"""ZONE_ClassOf(EDA_ITEM aItem) -> bool"""
14460 return _pcbnew.ZONE_ClassOf(aItem)
14463 r"""ZONE_GetDefaultHatchPitch() -> int"""
14464 return _pcbnew.ZONE_GetDefaultHatchPitch()
14466ZONE_THERMAL_RELIEF_GAP_MM = _pcbnew.ZONE_THERMAL_RELIEF_GAP_MM
14468ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM = _pcbnew.ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM
14470ZONE_THICKNESS_MM = _pcbnew.ZONE_THICKNESS_MM
14472ZONE_THICKNESS_MIN_VALUE_MM = _pcbnew.ZONE_THICKNESS_MIN_VALUE_MM
14474ZONE_CLEARANCE_MM = _pcbnew.ZONE_CLEARANCE_MM
14476ZONE_CLEARANCE_MAX_VALUE_MM = _pcbnew.ZONE_CLEARANCE_MAX_VALUE_MM
14478ZONE_BORDER_HATCH_DIST_MM = _pcbnew.ZONE_BORDER_HATCH_DIST_MM
14480ZONE_BORDER_HATCH_MINDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MINDIST_MM
14482ZONE_BORDER_HATCH_MAXDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MAXDIST_MM
14484ZONE_CONNECTION_INHERITED = _pcbnew.ZONE_CONNECTION_INHERITED
14486ZONE_CONNECTION_NONE = _pcbnew.ZONE_CONNECTION_NONE
14488ZONE_CONNECTION_THERMAL = _pcbnew.ZONE_CONNECTION_THERMAL
14490ZONE_CONNECTION_FULL = _pcbnew.ZONE_CONNECTION_FULL
14492ZONE_CONNECTION_THT_THERMAL = _pcbnew.ZONE_CONNECTION_THT_THERMAL
14496 r"""PrintZoneConnection(ZONE_CONNECTION aConnection) -> wxString"""
14497 return _pcbnew.PrintZoneConnection(aConnection)
14500 r"""InvokeNonCopperZonesEditor(PCB_BASE_FRAME * aParent, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
14501 return _pcbnew.InvokeNonCopperZonesEditor(aParent, aSettings, aConvertSettings)
14504 r"""InvokeCopperZonesEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
14505 return _pcbnew.InvokeCopperZonesEditor(aCaller, aSettings, aConvertSettings)
14508 r"""InvokeRuleAreaEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
14509 return _pcbnew.InvokeRuleAreaEditor(aCaller, aSettings, aConvertSettings)
14511 r"""Proxy of C++ ZONE_FILLER class."""
14513 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14514 __repr__ = _swig_repr
14515 __swig_destroy__ = _pcbnew.delete_ZONE_FILLER
14518 r"""SetProgressReporter(ZONE_FILLER self, PROGRESS_REPORTER * aReporter)"""
14519 return _pcbnew.ZONE_FILLER_SetProgressReporter(self, aReporter)
14522 r"""GetProgressReporter(ZONE_FILLER self) -> PROGRESS_REPORTER *"""
14523 return _pcbnew.ZONE_FILLER_GetProgressReporter(self)
14525 def Fill(self, aZones, aCheck=False, aParent=None):
14526 r"""Fill(ZONE_FILLER self, ZONES aZones, bool aCheck=False, wxWindow * aParent=None) -> bool"""
14527 return _pcbnew.ZONE_FILLER_Fill(self, aZones, aCheck, aParent)
14530 r"""IsDebug(ZONE_FILLER self) -> bool"""
14531 return _pcbnew.ZONE_FILLER_IsDebug(self)
14534 r"""__init__(ZONE_FILLER self, BOARD aBoard) -> ZONE_FILLER"""
14535 _pcbnew.ZONE_FILLER_swiginit(self, _pcbnew.new_ZONE_FILLER(aBoard))
14538_pcbnew.ZONE_FILLER_swigregister(ZONE_FILLER)
14540ZONE_FILL_MODE_POLYGONS = _pcbnew.ZONE_FILL_MODE_POLYGONS
14542ZONE_FILL_MODE_HATCH_PATTERN = _pcbnew.ZONE_FILL_MODE_HATCH_PATTERN
14544ZONE_BORDER_DISPLAY_STYLE_NO_HATCH = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_NO_HATCH
14546ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL
14548ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE
14550ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER
14552ISLAND_REMOVAL_MODE_ALWAYS = _pcbnew.ISLAND_REMOVAL_MODE_ALWAYS
14554ISLAND_REMOVAL_MODE_NEVER = _pcbnew.ISLAND_REMOVAL_MODE_NEVER
14556ISLAND_REMOVAL_MODE_AREA = _pcbnew.ISLAND_REMOVAL_MODE_AREA
14559 r"""Proxy of C++ ZONE_SETTINGS class."""
14561 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14562 __repr__ = _swig_repr
14563 SMOOTHING_UNDEFINED = _pcbnew.ZONE_SETTINGS_SMOOTHING_UNDEFINED
14565 SMOOTHING_NONE = _pcbnew.ZONE_SETTINGS_SMOOTHING_NONE
14567 SMOOTHING_CHAMFER = _pcbnew.ZONE_SETTINGS_SMOOTHING_CHAMFER
14569 SMOOTHING_FILLET = _pcbnew.ZONE_SETTINGS_SMOOTHING_FILLET
14571 SMOOTHING_LAST = _pcbnew.ZONE_SETTINGS_SMOOTHING_LAST
14573 m_ZonePriority = property(_pcbnew.ZONE_SETTINGS_m_ZonePriority_get, _pcbnew.ZONE_SETTINGS_m_ZonePriority_set, doc=
r"""m_ZonePriority : unsigned int""")
14574 m_FillMode = property(_pcbnew.ZONE_SETTINGS_m_FillMode_get, _pcbnew.ZONE_SETTINGS_m_FillMode_set, doc=
r"""m_FillMode : ZONE_FILL_MODE""")
14575 m_ZoneClearance = property(_pcbnew.ZONE_SETTINGS_m_ZoneClearance_get, _pcbnew.ZONE_SETTINGS_m_ZoneClearance_set, doc=
r"""m_ZoneClearance : int""")
14576 m_ZoneMinThickness = property(_pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_get, _pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_set, doc=
r"""m_ZoneMinThickness : int""")
14577 m_HatchThickness = property(_pcbnew.ZONE_SETTINGS_m_HatchThickness_get, _pcbnew.ZONE_SETTINGS_m_HatchThickness_set, doc=
r"""m_HatchThickness : int""")
14578 m_HatchGap = property(_pcbnew.ZONE_SETTINGS_m_HatchGap_get, _pcbnew.ZONE_SETTINGS_m_HatchGap_set, doc=
r"""m_HatchGap : int""")
14579 m_HatchOrientation = property(_pcbnew.ZONE_SETTINGS_m_HatchOrientation_get, _pcbnew.ZONE_SETTINGS_m_HatchOrientation_set, doc=
r"""m_HatchOrientation : EDA_ANGLE""")
14580 m_HatchSmoothingLevel = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_set, doc=
r"""m_HatchSmoothingLevel : int""")
14581 m_HatchSmoothingValue = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_set, doc=
r"""m_HatchSmoothingValue : double""")
14582 m_HatchHoleMinArea = property(_pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_get, _pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_set, doc=
r"""m_HatchHoleMinArea : double""")
14583 m_HatchBorderAlgorithm = property(_pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_get, _pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_set, doc=
r"""m_HatchBorderAlgorithm : int""")
14584 m_NetcodeSelection = property(_pcbnew.ZONE_SETTINGS_m_NetcodeSelection_get, _pcbnew.ZONE_SETTINGS_m_NetcodeSelection_set, doc=
r"""m_NetcodeSelection : int""")
14585 m_Name = property(_pcbnew.ZONE_SETTINGS_m_Name_get, _pcbnew.ZONE_SETTINGS_m_Name_set, doc=
r"""m_Name : wxString""")
14586 m_Layers = property(_pcbnew.ZONE_SETTINGS_m_Layers_get, _pcbnew.ZONE_SETTINGS_m_Layers_set, doc=
r"""m_Layers : LSET""")
14587 m_ZoneBorderDisplayStyle = property(_pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_get, _pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_set, doc=
r"""m_ZoneBorderDisplayStyle : ZONE_BORDER_DISPLAY_STYLE""")
14588 m_BorderHatchPitch = property(_pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_get, _pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_set, doc=
r"""m_BorderHatchPitch : int""")
14589 m_ThermalReliefGap = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_set, doc=
r"""m_ThermalReliefGap : long""")
14590 m_ThermalReliefSpokeWidth = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_set, doc=
r"""m_ThermalReliefSpokeWidth : long""")
14591 m_Locked = property(_pcbnew.ZONE_SETTINGS_m_Locked_get, _pcbnew.ZONE_SETTINGS_m_Locked_set, doc=
r"""m_Locked : bool""")
14592 m_TeardropType = property(_pcbnew.ZONE_SETTINGS_m_TeardropType_get, _pcbnew.ZONE_SETTINGS_m_TeardropType_set, doc=
r"""m_TeardropType : TEARDROP_TYPE""")
14595 r"""__init__(ZONE_SETTINGS self) -> ZONE_SETTINGS"""
14596 _pcbnew.ZONE_SETTINGS_swiginit(self, _pcbnew.new_ZONE_SETTINGS())
14599 r"""__eq__(ZONE_SETTINGS self, ZONE_SETTINGS aOther) -> bool"""
14600 return _pcbnew.ZONE_SETTINGS___eq__(self, aOther)
14603 r"""__ne__(ZONE_SETTINGS self, ZONE_SETTINGS aOther) -> bool"""
14604 return _pcbnew.ZONE_SETTINGS___ne__(self, aOther)
14607 r"""__lshift__(ZONE_SETTINGS self, ZONE aSource) -> ZONE_SETTINGS"""
14608 return _pcbnew.ZONE_SETTINGS___lshift__(self, aSource)
14612 r"""GetDefaultSettings() -> ZONE_SETTINGS"""
14613 return _pcbnew.ZONE_SETTINGS_GetDefaultSettings()
14616 r"""SetupLayersList(ZONE_SETTINGS self, wxDataViewListCtrl * aList, PCB_BASE_FRAME * aFrame, LSET aLayers, bool aFpEditorMode)"""
14617 return _pcbnew.ZONE_SETTINGS_SetupLayersList(self, aList, aFrame, aLayers, aFpEditorMode)
14620 r"""ExportSetting(ZONE_SETTINGS self, ZONE aTarget, bool aFullExport=True)"""
14621 return _pcbnew.ZONE_SETTINGS_ExportSetting(self, aTarget, aFullExport)
14624 r"""SetCornerSmoothingType(ZONE_SETTINGS self, int aType)"""
14625 return _pcbnew.ZONE_SETTINGS_SetCornerSmoothingType(self, aType)
14628 r"""GetCornerSmoothingType(ZONE_SETTINGS self) -> int"""
14629 return _pcbnew.ZONE_SETTINGS_GetCornerSmoothingType(self)
14632 r"""SetCornerRadius(ZONE_SETTINGS self, int aRadius)"""
14633 return _pcbnew.ZONE_SETTINGS_SetCornerRadius(self, aRadius)
14636 r"""GetCornerRadius(ZONE_SETTINGS self) -> unsigned int"""
14637 return _pcbnew.ZONE_SETTINGS_GetCornerRadius(self)
14640 r"""GetPadConnection(ZONE_SETTINGS self) -> ZONE_CONNECTION"""
14641 return _pcbnew.ZONE_SETTINGS_GetPadConnection(self)
14644 r"""SetPadConnection(ZONE_SETTINGS self, ZONE_CONNECTION aPadConnection)"""
14645 return _pcbnew.ZONE_SETTINGS_SetPadConnection(self, aPadConnection)
14648 r"""GetIsRuleArea(ZONE_SETTINGS self) -> bool"""
14649 return _pcbnew.ZONE_SETTINGS_GetIsRuleArea(self)
14652 r"""GetDoNotAllowCopperPour(ZONE_SETTINGS self) -> bool"""
14653 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowCopperPour(self)
14656 r"""GetDoNotAllowVias(ZONE_SETTINGS self) -> bool"""
14657 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowVias(self)
14660 r"""GetDoNotAllowTracks(ZONE_SETTINGS self) -> bool"""
14661 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowTracks(self)
14664 r"""GetDoNotAllowPads(ZONE_SETTINGS self) -> bool"""
14665 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowPads(self)
14668 r"""GetDoNotAllowFootprints(ZONE_SETTINGS self) -> bool"""
14669 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowFootprints(self)
14672 r"""SetIsRuleArea(ZONE_SETTINGS self, bool aEnable)"""
14673 return _pcbnew.ZONE_SETTINGS_SetIsRuleArea(self, aEnable)
14676 r"""SetDoNotAllowCopperPour(ZONE_SETTINGS self, bool aEnable)"""
14677 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowCopperPour(self, aEnable)
14680 r"""SetDoNotAllowVias(ZONE_SETTINGS self, bool aEnable)"""
14681 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowVias(self, aEnable)
14684 r"""SetDoNotAllowTracks(ZONE_SETTINGS self, bool aEnable)"""
14685 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowTracks(self, aEnable)
14688 r"""SetDoNotAllowPads(ZONE_SETTINGS self, bool aEnable)"""
14689 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowPads(self, aEnable)
14692 r"""SetDoNotAllowFootprints(ZONE_SETTINGS self, bool aEnable)"""
14693 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowFootprints(self, aEnable)
14696 r"""GetIslandRemovalMode(ZONE_SETTINGS self) -> ISLAND_REMOVAL_MODE"""
14697 return _pcbnew.ZONE_SETTINGS_GetIslandRemovalMode(self)
14700 r"""SetIslandRemovalMode(ZONE_SETTINGS self, ISLAND_REMOVAL_MODE aRemove)"""
14701 return _pcbnew.ZONE_SETTINGS_SetIslandRemovalMode(self, aRemove)
14704 r"""GetMinIslandArea(ZONE_SETTINGS self) -> long long"""
14705 return _pcbnew.ZONE_SETTINGS_GetMinIslandArea(self)
14708 r"""SetMinIslandArea(ZONE_SETTINGS self, long long aArea)"""
14709 return _pcbnew.ZONE_SETTINGS_SetMinIslandArea(self, aArea)
14710 __swig_destroy__ = _pcbnew.delete_ZONE_SETTINGS
14713_pcbnew.ZONE_SETTINGS_swigregister(ZONE_SETTINGS)
14716 r"""ZONE_SETTINGS_GetDefaultSettings() -> ZONE_SETTINGS"""
14717 return _pcbnew.ZONE_SETTINGS_GetDefaultSettings()
14719TENTHS_OF_A_DEGREE_T = _pcbnew.TENTHS_OF_A_DEGREE_T
14721DEGREES_T = _pcbnew.DEGREES_T
14723RADIANS_T = _pcbnew.RADIANS_T
14726 r"""Proxy of C++ EDA_ANGLE class."""
14728 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14729 __repr__ = _swig_repr
14733 __init__(EDA_ANGLE self, double aValue, EDA_ANGLE_T aAngleType) -> EDA_ANGLE
14734 __init__(EDA_ANGLE self, double aAngleInDegrees) -> EDA_ANGLE
14735 __init__(EDA_ANGLE self, VECTOR2D const & aVector) -> EDA_ANGLE
14736 __init__(EDA_ANGLE self, VECTOR2I aVector) -> EDA_ANGLE
14737 __init__(EDA_ANGLE self) -> EDA_ANGLE
14739 _pcbnew.EDA_ANGLE_swiginit(self, _pcbnew.new_EDA_ANGLE(*args))
14742 r"""AsDegrees(EDA_ANGLE self) -> double"""
14743 return _pcbnew.EDA_ANGLE_AsDegrees(self)
14746 r"""AsTenthsOfADegree(EDA_ANGLE self) -> int"""
14747 return _pcbnew.EDA_ANGLE_AsTenthsOfADegree(self)
14750 r"""AsRadians(EDA_ANGLE self) -> double"""
14751 return _pcbnew.EDA_ANGLE_AsRadians(self)
14752 DEGREES_TO_RADIANS = _pcbnew.EDA_ANGLE_DEGREES_TO_RADIANS
14756 r"""IsCardinal(EDA_ANGLE self) -> bool"""
14757 return _pcbnew.EDA_ANGLE_IsCardinal(self)
14760 r"""IsCardinal90(EDA_ANGLE self) -> bool"""
14761 return _pcbnew.EDA_ANGLE_IsCardinal90(self)
14764 r"""IsZero(EDA_ANGLE self) -> bool"""
14765 return _pcbnew.EDA_ANGLE_IsZero(self)
14768 r"""IsHorizontal(EDA_ANGLE self) -> bool"""
14769 return _pcbnew.EDA_ANGLE_IsHorizontal(self)
14772 r"""IsVertical(EDA_ANGLE self) -> bool"""
14773 return _pcbnew.EDA_ANGLE_IsVertical(self)
14776 r"""IsParallelTo(EDA_ANGLE self, EDA_ANGLE aAngle) -> bool"""
14777 return _pcbnew.EDA_ANGLE_IsParallelTo(self, aAngle)
14780 r"""Invert(EDA_ANGLE self) -> EDA_ANGLE"""
14781 return _pcbnew.EDA_ANGLE_Invert(self)
14784 r"""Sin(EDA_ANGLE self) -> double"""
14785 return _pcbnew.EDA_ANGLE_Sin(self)
14788 r"""Cos(EDA_ANGLE self) -> double"""
14789 return _pcbnew.EDA_ANGLE_Cos(self)
14792 r"""Tan(EDA_ANGLE self) -> double"""
14793 return _pcbnew.EDA_ANGLE_Tan(self)
14797 r"""Arccos(double x) -> EDA_ANGLE"""
14798 return _pcbnew.EDA_ANGLE_Arccos(x)
14802 r"""Arcsin(double x) -> EDA_ANGLE"""
14803 return _pcbnew.EDA_ANGLE_Arcsin(x)
14807 r"""Arctan(double x) -> EDA_ANGLE"""
14808 return _pcbnew.EDA_ANGLE_Arctan(x)
14812 r"""Arctan2(double y, double x) -> EDA_ANGLE"""
14813 return _pcbnew.EDA_ANGLE_Arctan2(y, x)
14816 r"""Normalize(EDA_ANGLE self) -> EDA_ANGLE"""
14817 return _pcbnew.EDA_ANGLE_Normalize(self)
14820 r"""Normalized(EDA_ANGLE self) -> EDA_ANGLE"""
14821 return _pcbnew.EDA_ANGLE_Normalized(self)
14824 r"""NormalizeNegative(EDA_ANGLE self) -> EDA_ANGLE"""
14825 return _pcbnew.EDA_ANGLE_NormalizeNegative(self)
14828 r"""Normalize90(EDA_ANGLE self) -> EDA_ANGLE"""
14829 return _pcbnew.EDA_ANGLE_Normalize90(self)
14832 r"""Normalize180(EDA_ANGLE self) -> EDA_ANGLE"""
14833 return _pcbnew.EDA_ANGLE_Normalize180(self)
14836 r"""Normalize720(EDA_ANGLE self) -> EDA_ANGLE"""
14837 return _pcbnew.EDA_ANGLE_Normalize720(self)
14840 r"""KeepUpright(EDA_ANGLE self) -> EDA_ANGLE"""
14841 return _pcbnew.EDA_ANGLE_KeepUpright(self)
14844 r"""Round(EDA_ANGLE self, int digits) -> EDA_ANGLE"""
14845 return _pcbnew.EDA_ANGLE_Round(self, digits)
14848 r"""__iadd__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
14849 return _pcbnew.EDA_ANGLE___iadd__(self, aAngle)
14852 r"""__isub__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
14853 return _pcbnew.EDA_ANGLE___isub__(self, aAngle)
14877 __swig_destroy__ = _pcbnew.delete_EDA_ANGLE
14880_pcbnew.EDA_ANGLE_swigregister(EDA_ANGLE)
14883 r"""EDA_ANGLE_Arccos(double x) -> EDA_ANGLE"""
14884 return _pcbnew.EDA_ANGLE_Arccos(x)
14887 r"""EDA_ANGLE_Arcsin(double x) -> EDA_ANGLE"""
14888 return _pcbnew.EDA_ANGLE_Arcsin(x)
14891 r"""EDA_ANGLE_Arctan(double x) -> EDA_ANGLE"""
14892 return _pcbnew.EDA_ANGLE_Arctan(x)
14895 r"""EDA_ANGLE_Arctan2(double y, double x) -> EDA_ANGLE"""
14896 return _pcbnew.EDA_ANGLE_Arctan2(y, x)
14898SHAPE_T_SEGMENT = _pcbnew.SHAPE_T_SEGMENT
14900SHAPE_T_RECTANGLE = _pcbnew.SHAPE_T_RECTANGLE
14902SHAPE_T_ARC = _pcbnew.SHAPE_T_ARC
14904SHAPE_T_CIRCLE = _pcbnew.SHAPE_T_CIRCLE
14906SHAPE_T_POLY = _pcbnew.SHAPE_T_POLY
14908SHAPE_T_BEZIER = _pcbnew.SHAPE_T_BEZIER
14910FILL_T_NO_FILL = _pcbnew.FILL_T_NO_FILL
14912FILL_T_FILLED_SHAPE = _pcbnew.FILL_T_FILLED_SHAPE
14914FILL_T_FILLED_WITH_BG_BODYCOLOR = _pcbnew.FILL_T_FILLED_WITH_BG_BODYCOLOR
14916FILL_T_FILLED_WITH_COLOR = _pcbnew.FILL_T_FILLED_WITH_COLOR
14919 r"""Proxy of C++ ARC_MID class."""
14921 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14922 __repr__ = _swig_repr
14923 mid = property(_pcbnew.ARC_MID_mid_get, _pcbnew.ARC_MID_mid_set, doc=
r"""mid : VECTOR2I""")
14924 start = property(_pcbnew.ARC_MID_start_get, _pcbnew.ARC_MID_start_set, doc=
r"""start : VECTOR2I""")
14925 end = property(_pcbnew.ARC_MID_end_get, _pcbnew.ARC_MID_end_set, doc=
r"""end : VECTOR2I""")
14926 center = property(_pcbnew.ARC_MID_center_get, _pcbnew.ARC_MID_center_set, doc=
r"""center : VECTOR2I""")
14929 r"""__init__(ARC_MID self) -> ARC_MID"""
14930 _pcbnew.ARC_MID_swiginit(self, _pcbnew.new_ARC_MID())
14931 __swig_destroy__ = _pcbnew.delete_ARC_MID
14934_pcbnew.ARC_MID_swigregister(ARC_MID)
14935ANGLE_HORIZONTAL = cvar.ANGLE_HORIZONTAL
14936ANGLE_VERTICAL = cvar.ANGLE_VERTICAL
14937FULL_CIRCLE = cvar.FULL_CIRCLE
14938ANGLE_0 = cvar.ANGLE_0
14939ANGLE_45 = cvar.ANGLE_45
14940ANGLE_90 = cvar.ANGLE_90
14941ANGLE_135 = cvar.ANGLE_135
14942ANGLE_180 = cvar.ANGLE_180
14943ANGLE_270 = cvar.ANGLE_270
14944ANGLE_360 = cvar.ANGLE_360
14947 r"""Proxy of C++ EDA_SHAPE class."""
14949 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14950 __repr__ = _swig_repr
14953 r"""__init__(EDA_SHAPE self, SHAPE_T aType, int aLineWidth, FILL_T aFill) -> EDA_SHAPE"""
14954 _pcbnew.EDA_SHAPE_swiginit(self, _pcbnew.new_EDA_SHAPE(aType, aLineWidth, aFill))
14955 __swig_destroy__ = _pcbnew.delete_EDA_SHAPE
14958 r"""SwapShape(EDA_SHAPE self, EDA_SHAPE aImage)"""
14959 return _pcbnew.EDA_SHAPE_SwapShape(self, aImage)
14962 r"""ShowShape(EDA_SHAPE self) -> wxString"""
14963 return _pcbnew.EDA_SHAPE_ShowShape(self)
14966 r"""SHAPE_T_asString(EDA_SHAPE self) -> wxString"""
14967 return _pcbnew.EDA_SHAPE_SHAPE_T_asString(self)
14970 r"""IsProxyItem(EDA_SHAPE self) -> bool"""
14971 return _pcbnew.EDA_SHAPE_IsProxyItem(self)
14974 r"""SetIsProxyItem(EDA_SHAPE self, bool aIsProxy=True)"""
14975 return _pcbnew.EDA_SHAPE_SetIsProxyItem(self, aIsProxy)
14978 r"""IsFilled(EDA_SHAPE self) -> bool"""
14979 return _pcbnew.EDA_SHAPE_IsFilled(self)
14982 r"""SetFilled(EDA_SHAPE self, bool aFlag)"""
14983 return _pcbnew.EDA_SHAPE_SetFilled(self, aFlag)
14986 r"""SetFillMode(EDA_SHAPE self, FILL_T aFill)"""
14987 return _pcbnew.EDA_SHAPE_SetFillMode(self, aFill)
14990 r"""GetFillMode(EDA_SHAPE self) -> FILL_T"""
14991 return _pcbnew.EDA_SHAPE_GetFillMode(self)
14994 r"""IsClosed(EDA_SHAPE self) -> bool"""
14995 return _pcbnew.EDA_SHAPE_IsClosed(self)
14998 r"""GetFillColor(EDA_SHAPE self) -> COLOR4D"""
14999 return _pcbnew.EDA_SHAPE_GetFillColor(self)
15002 r"""SetFillColor(EDA_SHAPE self, COLOR4D aColor)"""
15003 return _pcbnew.EDA_SHAPE_SetFillColor(self, aColor)
15006 r"""SetWidth(EDA_SHAPE self, int aWidth)"""
15007 return _pcbnew.EDA_SHAPE_SetWidth(self, aWidth)
15010 r"""GetWidth(EDA_SHAPE self) -> int"""
15011 return _pcbnew.EDA_SHAPE_GetWidth(self)
15014 r"""GetEffectiveWidth(EDA_SHAPE self) -> int"""
15015 return _pcbnew.EDA_SHAPE_GetEffectiveWidth(self)
15018 r"""SetLineStyle(EDA_SHAPE self, LINE_STYLE const aStyle)"""
15019 return _pcbnew.EDA_SHAPE_SetLineStyle(self, aStyle)
15022 r"""GetLineStyle(EDA_SHAPE self) -> LINE_STYLE"""
15023 return _pcbnew.EDA_SHAPE_GetLineStyle(self)
15026 r"""SetLineColor(EDA_SHAPE self, COLOR4D aColor)"""
15027 return _pcbnew.EDA_SHAPE_SetLineColor(self, aColor)
15030 r"""GetLineColor(EDA_SHAPE self) -> COLOR4D"""
15031 return _pcbnew.EDA_SHAPE_GetLineColor(self)
15034 r"""SetShape(EDA_SHAPE self, SHAPE_T aShape)"""
15035 return _pcbnew.EDA_SHAPE_SetShape(self, aShape)
15038 r"""GetShape(EDA_SHAPE self) -> SHAPE_T"""
15039 return _pcbnew.EDA_SHAPE_GetShape(self)
15042 r"""GetFriendlyName(EDA_SHAPE self) -> wxString"""
15043 return _pcbnew.EDA_SHAPE_GetFriendlyName(self)
15046 r"""GetStart(EDA_SHAPE self) -> VECTOR2I"""
15047 return _pcbnew.EDA_SHAPE_GetStart(self)
15050 r"""GetStartY(EDA_SHAPE self) -> int"""
15051 return _pcbnew.EDA_SHAPE_GetStartY(self)
15054 r"""GetStartX(EDA_SHAPE self) -> int"""
15055 return _pcbnew.EDA_SHAPE_GetStartX(self)
15058 r"""SetStart(EDA_SHAPE self, VECTOR2I aStart)"""
15059 return _pcbnew.EDA_SHAPE_SetStart(self, aStart)
15062 r"""SetStartY(EDA_SHAPE self, int y)"""
15063 return _pcbnew.EDA_SHAPE_SetStartY(self, y)
15066 r"""SetStartX(EDA_SHAPE self, int x)"""
15067 return _pcbnew.EDA_SHAPE_SetStartX(self, x)
15070 r"""SetCenterY(EDA_SHAPE self, int y)"""
15071 return _pcbnew.EDA_SHAPE_SetCenterY(self, y)
15074 r"""SetCenterX(EDA_SHAPE self, int x)"""
15075 return _pcbnew.EDA_SHAPE_SetCenterX(self, x)
15078 r"""GetEnd(EDA_SHAPE self) -> VECTOR2I"""
15079 return _pcbnew.EDA_SHAPE_GetEnd(self)
15082 r"""GetEndY(EDA_SHAPE self) -> int"""
15083 return _pcbnew.EDA_SHAPE_GetEndY(self)
15086 r"""GetEndX(EDA_SHAPE self) -> int"""
15087 return _pcbnew.EDA_SHAPE_GetEndX(self)
15090 r"""SetEnd(EDA_SHAPE self, VECTOR2I aEnd)"""
15091 return _pcbnew.EDA_SHAPE_SetEnd(self, aEnd)
15094 r"""SetEndY(EDA_SHAPE self, int aY)"""
15095 return _pcbnew.EDA_SHAPE_SetEndY(self, aY)
15098 r"""SetEndX(EDA_SHAPE self, int aX)"""
15099 return _pcbnew.EDA_SHAPE_SetEndX(self, aX)
15102 r"""SetRadius(EDA_SHAPE self, int aX)"""
15103 return _pcbnew.EDA_SHAPE_SetRadius(self, aX)
15106 r"""GetTopLeft(EDA_SHAPE self) -> VECTOR2I"""
15107 return _pcbnew.EDA_SHAPE_GetTopLeft(self)
15110 r"""GetBotRight(EDA_SHAPE self) -> VECTOR2I"""
15111 return _pcbnew.EDA_SHAPE_GetBotRight(self)
15114 r"""SetTop(EDA_SHAPE self, int val)"""
15115 return _pcbnew.EDA_SHAPE_SetTop(self, val)
15118 r"""SetLeft(EDA_SHAPE self, int val)"""
15119 return _pcbnew.EDA_SHAPE_SetLeft(self, val)
15122 r"""SetRight(EDA_SHAPE self, int val)"""
15123 return _pcbnew.EDA_SHAPE_SetRight(self, val)
15126 r"""SetBottom(EDA_SHAPE self, int val)"""
15127 return _pcbnew.EDA_SHAPE_SetBottom(self, val)
15130 r"""SetBezierC1(EDA_SHAPE self, VECTOR2I aPt)"""
15131 return _pcbnew.EDA_SHAPE_SetBezierC1(self, aPt)
15134 r"""GetBezierC1(EDA_SHAPE self) -> VECTOR2I"""
15135 return _pcbnew.EDA_SHAPE_GetBezierC1(self)
15138 r"""SetBezierC2(EDA_SHAPE self, VECTOR2I aPt)"""
15139 return _pcbnew.EDA_SHAPE_SetBezierC2(self, aPt)
15142 r"""GetBezierC2(EDA_SHAPE self) -> VECTOR2I"""
15143 return _pcbnew.EDA_SHAPE_GetBezierC2(self)
15146 r"""SetCenter(EDA_SHAPE self, VECTOR2I aCenter)"""
15147 return _pcbnew.EDA_SHAPE_SetCenter(self, aCenter)
15150 r"""SetArcAngleAndEnd(EDA_SHAPE self, EDA_ANGLE aAngle, bool aCheckNegativeAngle=False)"""
15151 return _pcbnew.EDA_SHAPE_SetArcAngleAndEnd(self, aAngle, aCheckNegativeAngle)
15154 r"""GetArcAngle(EDA_SHAPE self) -> EDA_ANGLE"""
15155 return _pcbnew.EDA_SHAPE_GetArcAngle(self)
15158 r"""GetSegmentAngle(EDA_SHAPE self) -> EDA_ANGLE"""
15159 return _pcbnew.EDA_SHAPE_GetSegmentAngle(self)
15162 r"""EndsSwapped(EDA_SHAPE self) -> bool"""
15163 return _pcbnew.EDA_SHAPE_EndsSwapped(self)
15166 r"""GetArcMid(EDA_SHAPE self) -> VECTOR2I"""
15167 return _pcbnew.EDA_SHAPE_GetArcMid(self)
15170 r"""GetRectCorners(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
15171 return _pcbnew.EDA_SHAPE_GetRectCorners(self)
15174 r"""CalcArcAngles(EDA_SHAPE self, EDA_ANGLE aStartAngle, EDA_ANGLE aEndAngle)"""
15175 return _pcbnew.EDA_SHAPE_CalcArcAngles(self, aStartAngle, aEndAngle)
15178 r"""GetRadius(EDA_SHAPE self) -> int"""
15179 return _pcbnew.EDA_SHAPE_GetRadius(self)
15182 r"""SetArcGeometry(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd)"""
15183 return _pcbnew.EDA_SHAPE_SetArcGeometry(self, aStart, aMid, aEnd)
15186 r"""SetCachedArcData(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd, VECTOR2I aCenter)"""
15187 return _pcbnew.EDA_SHAPE_SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
15190 r"""GetBezierPoints(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
15191 return _pcbnew.EDA_SHAPE_GetBezierPoints(self)
15194 r"""DupPolyPointsList(EDA_SHAPE self, VECTOR_VECTOR2I aBuffer)"""
15195 return _pcbnew.EDA_SHAPE_DupPolyPointsList(self, aBuffer)
15198 r"""GetPointCount(EDA_SHAPE self) -> int"""
15199 return _pcbnew.EDA_SHAPE_GetPointCount(self)
15206 return _pcbnew.EDA_SHAPE_GetPolyShape(self, *args)
15209 r"""IsPolyShapeValid(EDA_SHAPE self) -> bool"""
15210 return _pcbnew.EDA_SHAPE_IsPolyShapeValid(self)
15213 r"""SetPolyShape(EDA_SHAPE self, SHAPE_POLY_SET aShape)"""
15214 return _pcbnew.EDA_SHAPE_SetPolyShape(self, aShape)
15217 r"""SetPolyPoints(EDA_SHAPE self, VECTOR_VECTOR2I aPoints)"""
15218 return _pcbnew.EDA_SHAPE_SetPolyPoints(self, aPoints)
15221 r"""RebuildBezierToSegmentsPointsList(EDA_SHAPE self, int aMinSegLen)"""
15222 return _pcbnew.EDA_SHAPE_RebuildBezierToSegmentsPointsList(self, aMinSegLen)
15225 r"""MakeEffectiveShapes(EDA_SHAPE self, bool aEdgeOnly=False) -> std::vector< SHAPE *,std::allocator< SHAPE * > >"""
15226 return _pcbnew.EDA_SHAPE_MakeEffectiveShapes(self, aEdgeOnly)
15229 r"""ShapeGetMsgPanelInfo(EDA_SHAPE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
15230 return _pcbnew.EDA_SHAPE_ShapeGetMsgPanelInfo(self, aFrame, aList)
15233 r"""SetLength(EDA_SHAPE self, double const & aLength)"""
15234 return _pcbnew.EDA_SHAPE_SetLength(self, aLength)
15237 r"""SetRectangle(EDA_SHAPE self, long long const & aHeight, long long const & aWidth)"""
15238 return _pcbnew.EDA_SHAPE_SetRectangle(self, aHeight, aWidth)
15241 r"""SetSegmentAngle(EDA_SHAPE self, EDA_ANGLE aAngle)"""
15242 return _pcbnew.EDA_SHAPE_SetSegmentAngle(self, aAngle)
15245 r"""IsClockwiseArc(EDA_SHAPE self) -> bool"""
15246 return _pcbnew.EDA_SHAPE_IsClockwiseArc(self)
15249 r"""GetLength(EDA_SHAPE self) -> double"""
15250 return _pcbnew.EDA_SHAPE_GetLength(self)
15253 r"""GetRectangleHeight(EDA_SHAPE self) -> int"""
15254 return _pcbnew.EDA_SHAPE_GetRectangleHeight(self)
15257 r"""GetRectangleWidth(EDA_SHAPE self) -> int"""
15258 return _pcbnew.EDA_SHAPE_GetRectangleWidth(self)
15261 r"""TransformShapeToPolygon(EDA_SHAPE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
15262 return _pcbnew.EDA_SHAPE_TransformShapeToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, ignoreLineWidth)
15265 r"""Compare(EDA_SHAPE self, EDA_SHAPE aOther) -> int"""
15266 return _pcbnew.EDA_SHAPE_Compare(self, aOther)
15269 r"""Similarity(EDA_SHAPE self, EDA_SHAPE aOther) -> double"""
15270 return _pcbnew.EDA_SHAPE_Similarity(self, aOther)
15273 r"""__eq__(EDA_SHAPE self, EDA_SHAPE aOther) -> bool"""
15274 return _pcbnew.EDA_SHAPE___eq__(self, aOther)
15277_pcbnew.EDA_SHAPE_swigregister(EDA_SHAPE)
15280 r"""Proxy of C++ PCB_SHAPE class."""
15282 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15283 __repr__ = _swig_repr
15287 __init__(PCB_SHAPE self, BOARD_ITEM aParent, KICAD_T aItemType, SHAPE_T aShapeType) -> PCB_SHAPE
15288 __init__(PCB_SHAPE self, BOARD_ITEM aParent=None, SHAPE_T aShapeType=SEGMENT) -> PCB_SHAPE
15290 _pcbnew.PCB_SHAPE_swiginit(self, _pcbnew.new_PCB_SHAPE(*args))
15291 __swig_destroy__ = _pcbnew.delete_PCB_SHAPE
15295 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15296 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
15299 r"""GetFriendlyName(PCB_SHAPE self) -> wxString"""
15300 return _pcbnew.PCB_SHAPE_GetFriendlyName(self)
15303 r"""GetConnectionPoints(PCB_SHAPE self) -> VECTOR_VECTOR2I"""
15304 return _pcbnew.PCB_SHAPE_GetConnectionPoints(self)
15307 r"""GetCorners(PCB_SHAPE self) -> VECTOR_VECTOR2I"""
15308 return _pcbnew.PCB_SHAPE_GetCorners(self)
15311 r"""GetEffectiveShape(PCB_SHAPE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15312 return _pcbnew.PCB_SHAPE_GetEffectiveShape(self, *args)
15315 r"""SetIsProxyItem(PCB_SHAPE self, bool aIsProxy=True)"""
15316 return _pcbnew.PCB_SHAPE_SetIsProxyItem(self, aIsProxy)
15320 HitTest(PCB_SHAPE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
15321 HitTest(PCB_SHAPE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15323 return _pcbnew.PCB_SHAPE_HitTest(self, *args)
15326 r"""Mirror(PCB_SHAPE self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
15327 return _pcbnew.PCB_SHAPE_Mirror(self, aCentre, aMirrorAroundXAxis)
15330 r"""Scale(PCB_SHAPE self, double aScale)"""
15331 return _pcbnew.PCB_SHAPE_Scale(self, aScale)
15334 r"""TransformShapeToPolygon(PCB_SHAPE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
15335 return _pcbnew.PCB_SHAPE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
15338 r"""ViewGetLOD(PCB_SHAPE self, int aLayer, KIGFX::VIEW * aView) -> double"""
15339 return _pcbnew.PCB_SHAPE_ViewGetLOD(self, aLayer, aView)
15342 r"""GetArcAngleStart(PCB_SHAPE self) -> EDA_ANGLE"""
15343 return _pcbnew.PCB_SHAPE_GetArcAngleStart(self)
15350_pcbnew.PCB_SHAPE_swigregister(PCB_SHAPE)
15353 r"""PCB_SHAPE_ClassOf(EDA_ITEM aItem) -> bool"""
15354 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
15357 r"""Proxy of C++ PCB_TEXT class."""
15359 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15360 __repr__ = _swig_repr
15364 __init__(PCB_TEXT self, BOARD_ITEM parent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT
15365 __init__(PCB_TEXT self, FOOTPRINT aParent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT
15367 _pcbnew.PCB_TEXT_swiginit(self, _pcbnew.new_PCB_TEXT(*args))
15368 __swig_destroy__ = _pcbnew.delete_PCB_TEXT
15372 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15373 return _pcbnew.PCB_TEXT_ClassOf(aItem)
15376 r"""KeepUpright(PCB_TEXT self)"""
15377 return _pcbnew.PCB_TEXT_KeepUpright(self)
15380 r"""GetShownText(PCB_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
15381 return _pcbnew.PCB_TEXT_GetShownText(self, aAllowExtraText, aDepth)
15384 r"""Mirror(PCB_TEXT self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
15385 return _pcbnew.PCB_TEXT_Mirror(self, aCentre, aMirrorAroundXAxis)
15389 TextHitTest(PCB_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
15390 TextHitTest(PCB_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
15392 return _pcbnew.PCB_TEXT_TextHitTest(self, *args)
15396 HitTest(PCB_TEXT self, VECTOR2I aPosition, int aAccuracy) -> bool
15397 HitTest(PCB_TEXT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15399 return _pcbnew.PCB_TEXT_HitTest(self, *args)
15402 r"""TransformTextToPolySet(PCB_TEXT self, SHAPE_POLY_SET aBuffer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc)"""
15403 return _pcbnew.PCB_TEXT_TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
15406 r"""TransformShapeToPolygon(PCB_TEXT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
15407 return _pcbnew.PCB_TEXT_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
15410 r"""GetEffectiveShape(PCB_TEXT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15411 return _pcbnew.PCB_TEXT_GetEffectiveShape(self, *args)
15414 r"""GetTextTypeDescription(PCB_TEXT self) -> wxString"""
15415 return _pcbnew.PCB_TEXT_GetTextTypeDescription(self)
15418 r"""ViewGetLOD(PCB_TEXT self, int aLayer, KIGFX::VIEW * aView) -> double"""
15419 return _pcbnew.PCB_TEXT_ViewGetLOD(self, aLayer, aView)
15422_pcbnew.PCB_TEXT_swigregister(PCB_TEXT)
15423S_SEGMENT = cvar.S_SEGMENT
15424S_RECT = cvar.S_RECT
15426S_CIRCLE = cvar.S_CIRCLE
15427S_POLYGON = cvar.S_POLYGON
15428S_CURVE = cvar.S_CURVE
15429SHAPE_T_RECT = cvar.SHAPE_T_RECT
15432 r"""PCB_TEXT_ClassOf(EDA_ITEM aItem) -> bool"""
15433 return _pcbnew.PCB_TEXT_ClassOf(aItem)
15436 r"""Proxy of C++ PCB_TEXTBOX class."""
15438 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15439 __repr__ = _swig_repr
15442 r"""__init__(PCB_TEXTBOX self, BOARD_ITEM parent) -> PCB_TEXTBOX"""
15443 _pcbnew.PCB_TEXTBOX_swiginit(self, _pcbnew.new_PCB_TEXTBOX(parent))
15444 __swig_destroy__ = _pcbnew.delete_PCB_TEXTBOX
15448 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15449 return _pcbnew.PCB_TEXTBOX_ClassOf(aItem)
15452 r"""GetFriendlyName(PCB_TEXTBOX self) -> wxString"""
15453 return _pcbnew.PCB_TEXTBOX_GetFriendlyName(self)
15456 r"""GetTextMargin(PCB_TEXTBOX self) -> int"""
15457 return _pcbnew.PCB_TEXTBOX_GetTextMargin(self)
15462 GetDrawPos(PCB_TEXTBOX self, bool aIsFlipped) -> VECTOR2I
15464 return _pcbnew.PCB_TEXTBOX_GetDrawPos(self, *args)
15467 r"""GetShownText(PCB_TEXTBOX self, bool aAllowExtraText, int aDepth=0) -> wxString"""
15468 return _pcbnew.PCB_TEXTBOX_GetShownText(self, aAllowExtraText, aDepth)
15471 r"""GetAnchorAndOppositeCorner(PCB_TEXTBOX self) -> VECTOR_VECTOR2I"""
15472 return _pcbnew.PCB_TEXTBOX_GetAnchorAndOppositeCorner(self)
15476 HitTest(PCB_TEXTBOX self, VECTOR2I aPosition, int aAccuracy) -> bool
15477 HitTest(PCB_TEXTBOX self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15479 return _pcbnew.PCB_TEXTBOX_HitTest(self, *args)
15482 r"""TransformTextToPolySet(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc)"""
15483 return _pcbnew.PCB_TEXTBOX_TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
15486 r"""TransformShapeToPolygon(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
15487 return _pcbnew.PCB_TEXTBOX_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
15490 r"""GetEffectiveShape(PCB_TEXTBOX self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15491 return _pcbnew.PCB_TEXTBOX_GetEffectiveShape(self, *args)
15494 r"""ViewGetLOD(PCB_TEXTBOX self, int aLayer, KIGFX::VIEW * aView) -> double"""
15495 return _pcbnew.PCB_TEXTBOX_ViewGetLOD(self, aLayer, aView)
15498 r"""IsBorderEnabled(PCB_TEXTBOX self) -> bool"""
15499 return _pcbnew.PCB_TEXTBOX_IsBorderEnabled(self)
15502 r"""SetBorderEnabled(PCB_TEXTBOX self, bool enabled)"""
15503 return _pcbnew.PCB_TEXTBOX_SetBorderEnabled(self, enabled)
15506 r"""SetBorderWidth(PCB_TEXTBOX self, int const aSize)"""
15507 return _pcbnew.PCB_TEXTBOX_SetBorderWidth(self, aSize)
15510 r"""GetBorderWidth(PCB_TEXTBOX self) -> int"""
15511 return _pcbnew.PCB_TEXTBOX_GetBorderWidth(self)
15514_pcbnew.PCB_TEXTBOX_swigregister(PCB_TEXTBOX)
15517 r"""PCB_TEXTBOX_ClassOf(EDA_ITEM aItem) -> bool"""
15518 return _pcbnew.PCB_TEXTBOX_ClassOf(aItem)
15520GR_TEXT_H_ALIGN_LEFT = _pcbnew.GR_TEXT_H_ALIGN_LEFT
15522GR_TEXT_H_ALIGN_CENTER = _pcbnew.GR_TEXT_H_ALIGN_CENTER
15524GR_TEXT_H_ALIGN_RIGHT = _pcbnew.GR_TEXT_H_ALIGN_RIGHT
15526GR_TEXT_V_ALIGN_TOP = _pcbnew.GR_TEXT_V_ALIGN_TOP
15528GR_TEXT_V_ALIGN_CENTER = _pcbnew.GR_TEXT_V_ALIGN_CENTER
15530GR_TEXT_V_ALIGN_BOTTOM = _pcbnew.GR_TEXT_V_ALIGN_BOTTOM
15533 r"""Proxy of C++ TEXT_ATTRIBUTES class."""
15535 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15536 __repr__ = _swig_repr
15539 r"""__init__(TEXT_ATTRIBUTES self, KIFONT::FONT * aFont=None) -> TEXT_ATTRIBUTES"""
15540 _pcbnew.TEXT_ATTRIBUTES_swiginit(self, _pcbnew.new_TEXT_ATTRIBUTES(aFont))
15543 r"""Compare(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> int"""
15544 return _pcbnew.TEXT_ATTRIBUTES_Compare(self, aRhs)
15547 r"""__eq__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
15548 return _pcbnew.TEXT_ATTRIBUTES___eq__(self, aRhs)
15551 r"""__gt__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
15552 return _pcbnew.TEXT_ATTRIBUTES___gt__(self, aRhs)
15555 r"""__lt__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
15556 return _pcbnew.TEXT_ATTRIBUTES___lt__(self, aRhs)
15557 m_Font = property(_pcbnew.TEXT_ATTRIBUTES_m_Font_get, _pcbnew.TEXT_ATTRIBUTES_m_Font_set, doc=
r"""m_Font : p.KIFONT::FONT""")
15558 m_Halign = property(_pcbnew.TEXT_ATTRIBUTES_m_Halign_get, _pcbnew.TEXT_ATTRIBUTES_m_Halign_set, doc=
r"""m_Halign : GR_TEXT_H_ALIGN_T""")
15559 m_Valign = property(_pcbnew.TEXT_ATTRIBUTES_m_Valign_get, _pcbnew.TEXT_ATTRIBUTES_m_Valign_set, doc=
r"""m_Valign : GR_TEXT_V_ALIGN_T""")
15560 m_Angle = property(_pcbnew.TEXT_ATTRIBUTES_m_Angle_get, _pcbnew.TEXT_ATTRIBUTES_m_Angle_set, doc=
r"""m_Angle : EDA_ANGLE""")
15561 m_LineSpacing = property(_pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_get, _pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_set, doc=
r"""m_LineSpacing : double""")
15562 m_StrokeWidth = property(_pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_get, _pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_set, doc=
r"""m_StrokeWidth : int""")
15563 m_Italic = property(_pcbnew.TEXT_ATTRIBUTES_m_Italic_get, _pcbnew.TEXT_ATTRIBUTES_m_Italic_set, doc=
r"""m_Italic : bool""")
15564 m_Bold = property(_pcbnew.TEXT_ATTRIBUTES_m_Bold_get, _pcbnew.TEXT_ATTRIBUTES_m_Bold_set, doc=
r"""m_Bold : bool""")
15565 m_Underlined = property(_pcbnew.TEXT_ATTRIBUTES_m_Underlined_get, _pcbnew.TEXT_ATTRIBUTES_m_Underlined_set, doc=
r"""m_Underlined : bool""")
15566 m_Color = property(_pcbnew.TEXT_ATTRIBUTES_m_Color_get, _pcbnew.TEXT_ATTRIBUTES_m_Color_set, doc=
r"""m_Color : KIGFX::COLOR4D""")
15567 m_Visible = property(_pcbnew.TEXT_ATTRIBUTES_m_Visible_get, _pcbnew.TEXT_ATTRIBUTES_m_Visible_set, doc=
r"""m_Visible : bool""")
15568 m_Mirrored = property(_pcbnew.TEXT_ATTRIBUTES_m_Mirrored_get, _pcbnew.TEXT_ATTRIBUTES_m_Mirrored_set, doc=
r"""m_Mirrored : bool""")
15569 m_Multiline = property(_pcbnew.TEXT_ATTRIBUTES_m_Multiline_get, _pcbnew.TEXT_ATTRIBUTES_m_Multiline_set, doc=
r"""m_Multiline : bool""")
15570 m_Size = property(_pcbnew.TEXT_ATTRIBUTES_m_Size_get, _pcbnew.TEXT_ATTRIBUTES_m_Size_set, doc=
r"""m_Size : VECTOR2I""")
15571 m_KeepUpright = property(_pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_get, _pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_set, doc=
r"""m_KeepUpright : bool""")
15572 m_StoredStrokeWidth = property(_pcbnew.TEXT_ATTRIBUTES_m_StoredStrokeWidth_get, _pcbnew.TEXT_ATTRIBUTES_m_StoredStrokeWidth_set, doc=
r"""m_StoredStrokeWidth : int""")
15573 __swig_destroy__ = _pcbnew.delete_TEXT_ATTRIBUTES
15576_pcbnew.TEXT_ATTRIBUTES_swigregister(TEXT_ATTRIBUTES)
15579 r"""Proxy of C++ PCB_FIELD class."""
15581 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15582 __repr__ = _swig_repr
15586 __init__(PCB_FIELD self, FOOTPRINT aParent, int aFieldId, wxString aName=wxEmptyString) -> PCB_FIELD
15587 __init__(PCB_FIELD self, PCB_TEXT aText, int aFieldId, wxString aName=wxEmptyString) -> PCB_FIELD
15589 _pcbnew.PCB_FIELD_swiginit(self, _pcbnew.new_PCB_FIELD(*args))
15593 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15594 return _pcbnew.PCB_FIELD_ClassOf(aItem)
15597 r"""IsReference(PCB_FIELD self) -> bool"""
15598 return _pcbnew.PCB_FIELD_IsReference(self)
15601 r"""IsValue(PCB_FIELD self) -> bool"""
15602 return _pcbnew.PCB_FIELD_IsValue(self)
15605 r"""IsFootprint(PCB_FIELD self) -> bool"""
15606 return _pcbnew.PCB_FIELD_IsFootprint(self)
15609 r"""IsDatasheet(PCB_FIELD self) -> bool"""
15610 return _pcbnew.PCB_FIELD_IsDatasheet(self)
15613 r"""IsMandatoryField(PCB_FIELD self) -> bool"""
15614 return _pcbnew.PCB_FIELD_IsMandatoryField(self)
15617 r"""ViewGetLOD(PCB_FIELD self, int aLayer, KIGFX::VIEW * aView) -> double"""
15618 return _pcbnew.PCB_FIELD_ViewGetLOD(self, aLayer, aView)
15621 r"""CloneField(PCB_FIELD self) -> PCB_FIELD"""
15622 return _pcbnew.PCB_FIELD_CloneField(self)
15625 r"""GetName(PCB_FIELD self, bool aUseDefaultName=True) -> wxString"""
15626 return _pcbnew.PCB_FIELD_GetName(self, aUseDefaultName)
15629 r"""GetCanonicalName(PCB_FIELD self) -> wxString"""
15630 return _pcbnew.PCB_FIELD_GetCanonicalName(self)
15633 r"""SetName(PCB_FIELD self, wxString aName)"""
15634 return _pcbnew.PCB_FIELD_SetName(self, aName)
15637 r"""GetId(PCB_FIELD self) -> int"""
15638 return _pcbnew.PCB_FIELD_GetId(self)
15641 r"""SetId(PCB_FIELD self, int aId)"""
15642 return _pcbnew.PCB_FIELD_SetId(self, aId)
15643 __swig_destroy__ = _pcbnew.delete_PCB_FIELD
15646_pcbnew.PCB_FIELD_swigregister(PCB_FIELD)
15649 r"""PCB_FIELD_ClassOf(EDA_ITEM aItem) -> bool"""
15650 return _pcbnew.PCB_FIELD_ClassOf(aItem)
15652DIM_UNITS_FORMAT_NO_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_NO_SUFFIX
15654DIM_UNITS_FORMAT_BARE_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_BARE_SUFFIX
15656DIM_UNITS_FORMAT_PAREN_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_PAREN_SUFFIX
15658DIM_PRECISION_X = _pcbnew.DIM_PRECISION_X
15660DIM_PRECISION_X_X = _pcbnew.DIM_PRECISION_X_X
15662DIM_PRECISION_X_XX = _pcbnew.DIM_PRECISION_X_XX
15664DIM_PRECISION_X_XXX = _pcbnew.DIM_PRECISION_X_XXX
15666DIM_PRECISION_X_XXXX = _pcbnew.DIM_PRECISION_X_XXXX
15668DIM_PRECISION_X_XXXXX = _pcbnew.DIM_PRECISION_X_XXXXX
15670DIM_PRECISION_V_VV = _pcbnew.DIM_PRECISION_V_VV
15672DIM_PRECISION_V_VVV = _pcbnew.DIM_PRECISION_V_VVV
15674DIM_PRECISION_V_VVVV = _pcbnew.DIM_PRECISION_V_VVVV
15676DIM_PRECISION_V_VVVVV = _pcbnew.DIM_PRECISION_V_VVVVV
15678DIM_TEXT_POSITION_OUTSIDE = _pcbnew.DIM_TEXT_POSITION_OUTSIDE
15680DIM_TEXT_POSITION_INLINE = _pcbnew.DIM_TEXT_POSITION_INLINE
15682DIM_TEXT_POSITION_MANUAL = _pcbnew.DIM_TEXT_POSITION_MANUAL
15684DIM_UNITS_MODE_INCHES = _pcbnew.DIM_UNITS_MODE_INCHES
15686DIM_UNITS_MODE_MILS = _pcbnew.DIM_UNITS_MODE_MILS
15688DIM_UNITS_MODE_MILLIMETRES = _pcbnew.DIM_UNITS_MODE_MILLIMETRES
15690DIM_UNITS_MODE_AUTOMATIC = _pcbnew.DIM_UNITS_MODE_AUTOMATIC
15692DIM_TEXT_BORDER_NONE = _pcbnew.DIM_TEXT_BORDER_NONE
15694DIM_TEXT_BORDER_RECTANGLE = _pcbnew.DIM_TEXT_BORDER_RECTANGLE
15696DIM_TEXT_BORDER_CIRCLE = _pcbnew.DIM_TEXT_BORDER_CIRCLE
15698DIM_TEXT_BORDER_ROUNDRECT = _pcbnew.DIM_TEXT_BORDER_ROUNDRECT
15701 r"""Proxy of C++ PCB_DIMENSION_BASE class."""
15703 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15706 raise AttributeError(
"No constructor defined - class is abstract")
15707 __repr__ = _swig_repr
15710 r"""GetStart(PCB_DIMENSION_BASE self) -> VECTOR2I"""
15711 return _pcbnew.PCB_DIMENSION_BASE_GetStart(self)
15714 r"""SetStart(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
15715 return _pcbnew.PCB_DIMENSION_BASE_SetStart(self, aPoint)
15718 r"""GetEnd(PCB_DIMENSION_BASE self) -> VECTOR2I"""
15719 return _pcbnew.PCB_DIMENSION_BASE_GetEnd(self)
15722 r"""SetEnd(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
15723 return _pcbnew.PCB_DIMENSION_BASE_SetEnd(self, aPoint)
15726 r"""GetOverrideTextEnabled(PCB_DIMENSION_BASE self) -> bool"""
15727 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideTextEnabled(self)
15730 r"""SetOverrideTextEnabled(PCB_DIMENSION_BASE self, bool aOverride)"""
15731 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideTextEnabled(self, aOverride)
15734 r"""GetOverrideText(PCB_DIMENSION_BASE self) -> wxString"""
15735 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideText(self)
15738 r"""SetOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
15739 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideText(self, aValue)
15742 r"""ChangeOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
15743 return _pcbnew.PCB_DIMENSION_BASE_ChangeOverrideText(self, aValue)
15746 r"""GetMeasuredValue(PCB_DIMENSION_BASE self) -> int"""
15747 return _pcbnew.PCB_DIMENSION_BASE_GetMeasuredValue(self)
15750 r"""SetMeasuredValue(PCB_DIMENSION_BASE self, int aValue)"""
15751 return _pcbnew.PCB_DIMENSION_BASE_SetMeasuredValue(self, aValue)
15754 r"""GetValueText(PCB_DIMENSION_BASE self) -> wxString"""
15755 return _pcbnew.PCB_DIMENSION_BASE_GetValueText(self)
15758 r"""Update(PCB_DIMENSION_BASE self)"""
15759 return _pcbnew.PCB_DIMENSION_BASE_Update(self)
15762 r"""UpdateUnits(PCB_DIMENSION_BASE self)"""
15763 return _pcbnew.PCB_DIMENSION_BASE_UpdateUnits(self)
15766 r"""GetPrefix(PCB_DIMENSION_BASE self) -> wxString"""
15767 return _pcbnew.PCB_DIMENSION_BASE_GetPrefix(self)
15770 r"""SetPrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
15771 return _pcbnew.PCB_DIMENSION_BASE_SetPrefix(self, aPrefix)
15774 r"""ChangePrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
15775 return _pcbnew.PCB_DIMENSION_BASE_ChangePrefix(self, aPrefix)
15778 r"""GetSuffix(PCB_DIMENSION_BASE self) -> wxString"""
15779 return _pcbnew.PCB_DIMENSION_BASE_GetSuffix(self)
15782 r"""SetSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
15783 return _pcbnew.PCB_DIMENSION_BASE_SetSuffix(self, aSuffix)
15786 r"""ChangeSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
15787 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuffix(self, aSuffix)
15790 r"""GetUnits(PCB_DIMENSION_BASE self) -> EDA_UNITS"""
15791 return _pcbnew.PCB_DIMENSION_BASE_GetUnits(self)
15794 r"""SetUnits(PCB_DIMENSION_BASE self, EDA_UNITS aUnits)"""
15795 return _pcbnew.PCB_DIMENSION_BASE_SetUnits(self, aUnits)
15798 r"""GetUnitsMode(PCB_DIMENSION_BASE self) -> DIM_UNITS_MODE"""
15799 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsMode(self)
15802 r"""SetUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
15803 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsMode(self, aMode)
15806 r"""ChangeUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
15807 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsMode(self, aMode)
15810 r"""SetAutoUnits(PCB_DIMENSION_BASE self, bool aAuto=True)"""
15811 return _pcbnew.PCB_DIMENSION_BASE_SetAutoUnits(self, aAuto)
15814 r"""GetUnitsFormat(PCB_DIMENSION_BASE self) -> DIM_UNITS_FORMAT"""
15815 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsFormat(self)
15818 r"""SetUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
15819 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsFormat(self, aFormat)
15822 r"""ChangeUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
15823 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsFormat(self, aFormat)
15826 r"""GetPrecision(PCB_DIMENSION_BASE self) -> DIM_PRECISION"""
15827 return _pcbnew.PCB_DIMENSION_BASE_GetPrecision(self)
15830 r"""SetPrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
15831 return _pcbnew.PCB_DIMENSION_BASE_SetPrecision(self, aPrecision)
15834 r"""ChangePrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
15835 return _pcbnew.PCB_DIMENSION_BASE_ChangePrecision(self, aPrecision)
15838 r"""GetSuppressZeroes(PCB_DIMENSION_BASE self) -> bool"""
15839 return _pcbnew.PCB_DIMENSION_BASE_GetSuppressZeroes(self)
15842 r"""SetSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
15843 return _pcbnew.PCB_DIMENSION_BASE_SetSuppressZeroes(self, aSuppress)
15846 r"""ChangeSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
15847 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuppressZeroes(self, aSuppress)
15850 r"""GetKeepTextAligned(PCB_DIMENSION_BASE self) -> bool"""
15851 return _pcbnew.PCB_DIMENSION_BASE_GetKeepTextAligned(self)
15854 r"""SetKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)"""
15855 return _pcbnew.PCB_DIMENSION_BASE_SetKeepTextAligned(self, aKeepAligned)
15858 r"""SetTextPositionMode(PCB_DIMENSION_BASE self, DIM_TEXT_POSITION aMode)"""
15859 return _pcbnew.PCB_DIMENSION_BASE_SetTextPositionMode(self, aMode)
15862 r"""GetTextPositionMode(PCB_DIMENSION_BASE self) -> DIM_TEXT_POSITION"""
15863 return _pcbnew.PCB_DIMENSION_BASE_GetTextPositionMode(self)
15866 r"""GetArrowLength(PCB_DIMENSION_BASE self) -> int"""
15867 return _pcbnew.PCB_DIMENSION_BASE_GetArrowLength(self)
15870 r"""SetArrowLength(PCB_DIMENSION_BASE self, int aLength)"""
15871 return _pcbnew.PCB_DIMENSION_BASE_SetArrowLength(self, aLength)
15874 r"""SetExtensionOffset(PCB_DIMENSION_BASE self, int aOffset)"""
15875 return _pcbnew.PCB_DIMENSION_BASE_SetExtensionOffset(self, aOffset)
15878 r"""GetExtensionOffset(PCB_DIMENSION_BASE self) -> int"""
15879 return _pcbnew.PCB_DIMENSION_BASE_GetExtensionOffset(self)
15882 r"""GetLineThickness(PCB_DIMENSION_BASE self) -> int"""
15883 return _pcbnew.PCB_DIMENSION_BASE_GetLineThickness(self)
15886 r"""SetLineThickness(PCB_DIMENSION_BASE self, int aWidth)"""
15887 return _pcbnew.PCB_DIMENSION_BASE_SetLineThickness(self, aWidth)
15890 r"""GetShapes(PCB_DIMENSION_BASE self) -> VECTOR_SHAPEPTR"""
15891 return _pcbnew.PCB_DIMENSION_BASE_GetShapes(self)
15893 def Mirror(self, axis_pos, aMirrorLeftRight=False):
15894 r"""Mirror(PCB_DIMENSION_BASE self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)"""
15895 return _pcbnew.PCB_DIMENSION_BASE_Mirror(self, axis_pos, aMirrorLeftRight)
15899 HitTest(PCB_DIMENSION_BASE self, VECTOR2I aPosition, int aAccuracy) -> bool
15900 HitTest(PCB_DIMENSION_BASE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15902 return _pcbnew.PCB_DIMENSION_BASE_HitTest(self, *args)
15905 r"""GetEffectiveShape(PCB_DIMENSION_BASE self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15906 return _pcbnew.PCB_DIMENSION_BASE_GetEffectiveShape(self, *args)
15909 r"""TransformShapeToPolygon(PCB_DIMENSION_BASE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
15910 return _pcbnew.PCB_DIMENSION_BASE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
15911 __swig_destroy__ = _pcbnew.delete_PCB_DIMENSION_BASE
15914_pcbnew.PCB_DIMENSION_BASE_swigregister(PCB_DIMENSION_BASE)
15917 r"""Proxy of C++ PCB_DIM_ALIGNED class."""
15919 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15920 __repr__ = _swig_repr
15923 r"""__init__(PCB_DIM_ALIGNED self, BOARD_ITEM aParent, KICAD_T aType=PCB_DIM_ALIGNED_T) -> PCB_DIM_ALIGNED"""
15924 _pcbnew.PCB_DIM_ALIGNED_swiginit(self, _pcbnew.new_PCB_DIM_ALIGNED(aParent, aType))
15925 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ALIGNED
15929 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15930 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
15932 def Mirror(self, axis_pos, aMirrorLeftRight=False):
15933 r"""Mirror(PCB_DIM_ALIGNED self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)"""
15934 return _pcbnew.PCB_DIM_ALIGNED_Mirror(self, axis_pos, aMirrorLeftRight)
15937 r"""GetCrossbarStart(PCB_DIM_ALIGNED self) -> VECTOR2I"""
15938 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarStart(self)
15941 r"""GetCrossbarEnd(PCB_DIM_ALIGNED self) -> VECTOR2I"""
15942 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarEnd(self)
15945 r"""SetHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15946 return _pcbnew.PCB_DIM_ALIGNED_SetHeight(self, aHeight)
15949 r"""GetHeight(PCB_DIM_ALIGNED self) -> int"""
15950 return _pcbnew.PCB_DIM_ALIGNED_GetHeight(self)
15953 r"""ChangeHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15954 return _pcbnew.PCB_DIM_ALIGNED_ChangeHeight(self, aHeight)
15957 r"""UpdateHeight(PCB_DIM_ALIGNED self, VECTOR2I aCrossbarStart, VECTOR2I aCrossbarEnd)"""
15958 return _pcbnew.PCB_DIM_ALIGNED_UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
15961 r"""SetExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15962 return _pcbnew.PCB_DIM_ALIGNED_SetExtensionHeight(self, aHeight)
15965 r"""GetExtensionHeight(PCB_DIM_ALIGNED self) -> int"""
15966 return _pcbnew.PCB_DIM_ALIGNED_GetExtensionHeight(self)
15969 r"""ChangeExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15970 return _pcbnew.PCB_DIM_ALIGNED_ChangeExtensionHeight(self, aHeight)
15973 r"""GetAngle(PCB_DIM_ALIGNED self) -> double"""
15974 return _pcbnew.PCB_DIM_ALIGNED_GetAngle(self)
15977_pcbnew.PCB_DIM_ALIGNED_swigregister(PCB_DIM_ALIGNED)
15980 r"""PCB_DIM_ALIGNED_ClassOf(EDA_ITEM aItem) -> bool"""
15981 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
15984 r"""Proxy of C++ PCB_DIM_ORTHOGONAL class."""
15986 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15987 __repr__ = _swig_repr
15988 DIR_HORIZONTAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_HORIZONTAL
15990 DIR_VERTICAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_VERTICAL
15994 r"""__init__(PCB_DIM_ORTHOGONAL self, BOARD_ITEM aParent) -> PCB_DIM_ORTHOGONAL"""
15995 _pcbnew.PCB_DIM_ORTHOGONAL_swiginit(self, _pcbnew.new_PCB_DIM_ORTHOGONAL(aParent))
15996 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ORTHOGONAL
16000 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16001 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
16003 def Mirror(self, axis_pos, aMirrorLeftRight=False):
16004 r"""Mirror(PCB_DIM_ORTHOGONAL self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)"""
16005 return _pcbnew.PCB_DIM_ORTHOGONAL_Mirror(self, axis_pos, aMirrorLeftRight)
16008 r"""SetOrientation(PCB_DIM_ORTHOGONAL self, PCB_DIM_ORTHOGONAL::DIR aOrientation)"""
16009 return _pcbnew.PCB_DIM_ORTHOGONAL_SetOrientation(self, aOrientation)
16012 r"""GetOrientation(PCB_DIM_ORTHOGONAL self) -> PCB_DIM_ORTHOGONAL::DIR"""
16013 return _pcbnew.PCB_DIM_ORTHOGONAL_GetOrientation(self)
16016_pcbnew.PCB_DIM_ORTHOGONAL_swigregister(PCB_DIM_ORTHOGONAL)
16019 r"""PCB_DIM_ORTHOGONAL_ClassOf(EDA_ITEM aItem) -> bool"""
16020 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
16023 r"""Proxy of C++ PCB_DIM_RADIAL class."""
16025 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16026 __repr__ = _swig_repr
16029 r"""__init__(PCB_DIM_RADIAL self, BOARD_ITEM aParent) -> PCB_DIM_RADIAL"""
16030 _pcbnew.PCB_DIM_RADIAL_swiginit(self, _pcbnew.new_PCB_DIM_RADIAL(aParent))
16034 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16035 return _pcbnew.PCB_DIM_RADIAL_ClassOf(aItem)
16038 r"""SetLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
16039 return _pcbnew.PCB_DIM_RADIAL_SetLeaderLength(self, aLength)
16042 r"""GetLeaderLength(PCB_DIM_RADIAL self) -> int"""
16043 return _pcbnew.PCB_DIM_RADIAL_GetLeaderLength(self)
16046 r"""ChangeLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
16047 return _pcbnew.PCB_DIM_RADIAL_ChangeLeaderLength(self, aLength)
16050 r"""GetKnee(PCB_DIM_RADIAL self) -> VECTOR2I"""
16051 return _pcbnew.PCB_DIM_RADIAL_GetKnee(self)
16052 __swig_destroy__ = _pcbnew.delete_PCB_DIM_RADIAL
16055_pcbnew.PCB_DIM_RADIAL_swigregister(PCB_DIM_RADIAL)
16058 r"""PCB_DIM_RADIAL_ClassOf(EDA_ITEM aItem) -> bool"""
16059 return _pcbnew.PCB_DIM_RADIAL_ClassOf(aItem)
16062 r"""Proxy of C++ PCB_DIM_LEADER class."""
16064 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16065 __repr__ = _swig_repr
16068 r"""__init__(PCB_DIM_LEADER self, BOARD_ITEM aParent) -> PCB_DIM_LEADER"""
16069 _pcbnew.PCB_DIM_LEADER_swiginit(self, _pcbnew.new_PCB_DIM_LEADER(aParent))
16073 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16074 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
16077 r"""SetTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
16078 return _pcbnew.PCB_DIM_LEADER_SetTextBorder(self, aBorder)
16081 r"""GetTextBorder(PCB_DIM_LEADER self) -> DIM_TEXT_BORDER"""
16082 return _pcbnew.PCB_DIM_LEADER_GetTextBorder(self)
16085 r"""ChangeTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
16086 return _pcbnew.PCB_DIM_LEADER_ChangeTextBorder(self, aBorder)
16087 __swig_destroy__ = _pcbnew.delete_PCB_DIM_LEADER
16090_pcbnew.PCB_DIM_LEADER_swigregister(PCB_DIM_LEADER)
16093 r"""PCB_DIM_LEADER_ClassOf(EDA_ITEM aItem) -> bool"""
16094 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
16097 r"""Proxy of C++ PCB_DIM_CENTER class."""
16099 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16100 __repr__ = _swig_repr
16103 r"""__init__(PCB_DIM_CENTER self, BOARD_ITEM aParent) -> PCB_DIM_CENTER"""
16104 _pcbnew.PCB_DIM_CENTER_swiginit(self, _pcbnew.new_PCB_DIM_CENTER(aParent))
16108 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16109 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
16110 __swig_destroy__ = _pcbnew.delete_PCB_DIM_CENTER
16113_pcbnew.PCB_DIM_CENTER_swigregister(PCB_DIM_CENTER)
16116 r"""PCB_DIM_CENTER_ClassOf(EDA_ITEM aItem) -> bool"""
16117 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
16119MARKER_SHAPE_POINT_COUNT = _pcbnew.MARKER_SHAPE_POINT_COUNT
16122 r"""Proxy of C++ PCB_MARKER class."""
16124 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16125 __repr__ = _swig_repr
16128 r"""__init__(PCB_MARKER self, std::shared_ptr< RC_ITEM > aItem, VECTOR2I aPos, int aLayer=F_Cu) -> PCB_MARKER"""
16129 _pcbnew.PCB_MARKER_swiginit(self, _pcbnew.new_PCB_MARKER(aItem, aPos, aLayer))
16130 __swig_destroy__ = _pcbnew.delete_PCB_MARKER
16134 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16135 return _pcbnew.PCB_MARKER_ClassOf(aItem)
16138 r"""Serialize(PCB_MARKER self) -> wxString"""
16139 return _pcbnew.PCB_MARKER_Serialize(self)
16143 r"""Deserialize(wxString data) -> PCB_MARKER"""
16144 return _pcbnew.PCB_MARKER_Deserialize(data)
16148 HitTest(PCB_MARKER self, VECTOR2I aPosition, int aAccuracy=0) -> bool
16149 HitTest(PCB_MARKER self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16151 return _pcbnew.PCB_MARKER_HitTest(self, *args)
16154 r"""GetColorLayer(PCB_MARKER self) -> GAL_LAYER_ID"""
16155 return _pcbnew.PCB_MARKER_GetColorLayer(self)
16158 r"""GetEffectiveShape(PCB_MARKER self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16159 return _pcbnew.PCB_MARKER_GetEffectiveShape(self, *args)
16162 r"""SetZoom(PCB_MARKER self, double aZoomFactor)"""
16163 return _pcbnew.PCB_MARKER_SetZoom(self, aZoomFactor)
16166_pcbnew.PCB_MARKER_swigregister(PCB_MARKER)
16169 r"""PCB_MARKER_ClassOf(EDA_ITEM aItem) -> bool"""
16170 return _pcbnew.PCB_MARKER_ClassOf(aItem)
16173 r"""PCB_MARKER_Deserialize(wxString data) -> PCB_MARKER"""
16174 return _pcbnew.PCB_MARKER_Deserialize(data)
16177 r"""Proxy of C++ PCB_TARGET class."""
16179 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16180 __repr__ = _swig_repr
16184 __init__(PCB_TARGET self, BOARD_ITEM aParent) -> PCB_TARGET
16185 __init__(PCB_TARGET self, BOARD_ITEM aParent, int aShape, PCB_LAYER_ID aLayer, VECTOR2I aPos, int aSize, int aWidth) -> PCB_TARGET
16187 _pcbnew.PCB_TARGET_swiginit(self, _pcbnew.new_PCB_TARGET(*args))
16188 __swig_destroy__ = _pcbnew.delete_PCB_TARGET
16192 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16193 return _pcbnew.PCB_TARGET_ClassOf(aItem)
16196 r"""SetShape(PCB_TARGET self, int aShape)"""
16197 return _pcbnew.PCB_TARGET_SetShape(self, aShape)
16200 r"""GetShape(PCB_TARGET self) -> int"""
16201 return _pcbnew.PCB_TARGET_GetShape(self)
16204 r"""SetSize(PCB_TARGET self, int aSize)"""
16205 return _pcbnew.PCB_TARGET_SetSize(self, aSize)
16208 r"""GetSize(PCB_TARGET self) -> int"""
16209 return _pcbnew.PCB_TARGET_GetSize(self)
16212 r"""SetWidth(PCB_TARGET self, int aWidth)"""
16213 return _pcbnew.PCB_TARGET_SetWidth(self, aWidth)
16216 r"""GetWidth(PCB_TARGET self) -> int"""
16217 return _pcbnew.PCB_TARGET_GetWidth(self)
16221 HitTest(PCB_TARGET self, VECTOR2I aPosition, int aAccuracy=0) -> bool
16222 HitTest(PCB_TARGET self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16224 return _pcbnew.PCB_TARGET_HitTest(self, *args)
16227 r"""GetEffectiveShape(PCB_TARGET self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16228 return _pcbnew.PCB_TARGET_GetEffectiveShape(self, *args)
16231 r"""TransformShapeToPolygon(PCB_TARGET self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
16232 return _pcbnew.PCB_TARGET_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
16235_pcbnew.PCB_TARGET_swigregister(PCB_TARGET)
16238 r"""PCB_TARGET_ClassOf(EDA_ITEM aItem) -> bool"""
16239 return _pcbnew.PCB_TARGET_ClassOf(aItem)
16242 r"""Proxy of C++ std::vector< PAD * > class."""
16244 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16245 __repr__ = _swig_repr
16248 r"""iterator(PADS_VEC self) -> SwigPyIterator"""
16249 return _pcbnew.PADS_VEC_iterator(self)
16254 r"""__nonzero__(PADS_VEC self) -> bool"""
16255 return _pcbnew.PADS_VEC___nonzero__(self)
16258 r"""__bool__(PADS_VEC self) -> bool"""
16259 return _pcbnew.PADS_VEC___bool__(self)
16262 r"""__len__(PADS_VEC self) -> std::vector< PAD * >::size_type"""
16263 return _pcbnew.PADS_VEC___len__(self)
16266 r"""__getslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j) -> PADS_VEC"""
16267 return _pcbnew.PADS_VEC___getslice__(self, i, j)
16271 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)
16272 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j, PADS_VEC v)
16274 return _pcbnew.PADS_VEC___setslice__(self, *args)
16277 r"""__delslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)"""
16278 return _pcbnew.PADS_VEC___delslice__(self, i, j)
16282 __delitem__(PADS_VEC self, std::vector< PAD * >::difference_type i)
16283 __delitem__(PADS_VEC self, PySliceObject * slice)
16285 return _pcbnew.PADS_VEC___delitem__(self, *args)
16289 __getitem__(PADS_VEC self, PySliceObject * slice) -> PADS_VEC
16290 __getitem__(PADS_VEC self, std::vector< PAD * >::difference_type i) -> PAD
16292 return _pcbnew.PADS_VEC___getitem__(self, *args)
16296 __setitem__(PADS_VEC self, PySliceObject * slice, PADS_VEC v)
16297 __setitem__(PADS_VEC self, PySliceObject * slice)
16298 __setitem__(PADS_VEC self, std::vector< PAD * >::difference_type i, PAD x)
16300 return _pcbnew.PADS_VEC___setitem__(self, *args)
16303 r"""pop(PADS_VEC self) -> PAD"""
16304 return _pcbnew.PADS_VEC_pop(self)
16307 r"""append(PADS_VEC self, PAD x)"""
16308 return _pcbnew.PADS_VEC_append(self, x)
16311 r"""empty(PADS_VEC self) -> bool"""
16312 return _pcbnew.PADS_VEC_empty(self)
16315 r"""size(PADS_VEC self) -> std::vector< PAD * >::size_type"""
16316 return _pcbnew.PADS_VEC_size(self)
16319 r"""swap(PADS_VEC self, PADS_VEC v)"""
16320 return _pcbnew.PADS_VEC_swap(self, v)
16323 r"""begin(PADS_VEC self) -> std::vector< PAD * >::iterator"""
16324 return _pcbnew.PADS_VEC_begin(self)
16327 r"""end(PADS_VEC self) -> std::vector< PAD * >::iterator"""
16328 return _pcbnew.PADS_VEC_end(self)
16331 r"""rbegin(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
16332 return _pcbnew.PADS_VEC_rbegin(self)
16335 r"""rend(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
16336 return _pcbnew.PADS_VEC_rend(self)
16339 r"""clear(PADS_VEC self)"""
16340 return _pcbnew.PADS_VEC_clear(self)
16343 r"""get_allocator(PADS_VEC self) -> std::vector< PAD * >::allocator_type"""
16344 return _pcbnew.PADS_VEC_get_allocator(self)
16347 r"""pop_back(PADS_VEC self)"""
16348 return _pcbnew.PADS_VEC_pop_back(self)
16352 erase(PADS_VEC self, std::vector< PAD * >::iterator pos) -> std::vector< PAD * >::iterator
16353 erase(PADS_VEC self, std::vector< PAD * >::iterator first, std::vector< PAD * >::iterator last) -> std::vector< PAD * >::iterator
16355 return _pcbnew.PADS_VEC_erase(self, *args)
16359 __init__(PADS_VEC self) -> PADS_VEC
16360 __init__(PADS_VEC self, PADS_VEC other) -> PADS_VEC
16361 __init__(PADS_VEC self, std::vector< PAD * >::size_type size) -> PADS_VEC
16362 __init__(PADS_VEC self, std::vector< PAD * >::size_type size, PAD value) -> PADS_VEC
16364 _pcbnew.PADS_VEC_swiginit(self, _pcbnew.new_PADS_VEC(*args))
16367 r"""push_back(PADS_VEC self, PAD x)"""
16368 return _pcbnew.PADS_VEC_push_back(self, x)
16371 r"""front(PADS_VEC self) -> PAD"""
16372 return _pcbnew.PADS_VEC_front(self)
16375 r"""back(PADS_VEC self) -> PAD"""
16376 return _pcbnew.PADS_VEC_back(self)
16379 r"""assign(PADS_VEC self, std::vector< PAD * >::size_type n, PAD x)"""
16380 return _pcbnew.PADS_VEC_assign(self, n, x)
16384 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size)
16385 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size, PAD x)
16387 return _pcbnew.PADS_VEC_resize(self, *args)
16391 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, PAD x) -> std::vector< PAD * >::iterator
16392 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, std::vector< PAD * >::size_type n, PAD x)
16394 return _pcbnew.PADS_VEC_insert(self, *args)
16397 r"""reserve(PADS_VEC self, std::vector< PAD * >::size_type n)"""
16398 return _pcbnew.PADS_VEC_reserve(self, n)
16401 r"""capacity(PADS_VEC self) -> std::vector< PAD * >::size_type"""
16402 return _pcbnew.PADS_VEC_capacity(self)
16403 __swig_destroy__ = _pcbnew.delete_PADS_VEC
16406_pcbnew.PADS_VEC_swigregister(PADS_VEC)
16409 r"""Proxy of C++ std::vector< PCB_TRACK * > class."""
16411 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16412 __repr__ = _swig_repr
16415 r"""iterator(TRACKS_VEC self) -> SwigPyIterator"""
16416 return _pcbnew.TRACKS_VEC_iterator(self)
16421 r"""__nonzero__(TRACKS_VEC self) -> bool"""
16422 return _pcbnew.TRACKS_VEC___nonzero__(self)
16425 r"""__bool__(TRACKS_VEC self) -> bool"""
16426 return _pcbnew.TRACKS_VEC___bool__(self)
16429 r"""__len__(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
16430 return _pcbnew.TRACKS_VEC___len__(self)
16433 r"""__getslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j) -> TRACKS_VEC"""
16434 return _pcbnew.TRACKS_VEC___getslice__(self, i, j)
16438 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)
16439 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j, TRACKS_VEC v)
16441 return _pcbnew.TRACKS_VEC___setslice__(self, *args)
16444 r"""__delslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)"""
16445 return _pcbnew.TRACKS_VEC___delslice__(self, i, j)
16449 __delitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i)
16450 __delitem__(TRACKS_VEC self, PySliceObject * slice)
16452 return _pcbnew.TRACKS_VEC___delitem__(self, *args)
16456 __getitem__(TRACKS_VEC self, PySliceObject * slice) -> TRACKS_VEC
16457 __getitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i) -> PCB_TRACK
16459 return _pcbnew.TRACKS_VEC___getitem__(self, *args)
16463 __setitem__(TRACKS_VEC self, PySliceObject * slice, TRACKS_VEC v)
16464 __setitem__(TRACKS_VEC self, PySliceObject * slice)
16465 __setitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, PCB_TRACK x)
16467 return _pcbnew.TRACKS_VEC___setitem__(self, *args)
16470 r"""pop(TRACKS_VEC self) -> PCB_TRACK"""
16471 return _pcbnew.TRACKS_VEC_pop(self)
16474 r"""append(TRACKS_VEC self, PCB_TRACK x)"""
16475 return _pcbnew.TRACKS_VEC_append(self, x)
16478 r"""empty(TRACKS_VEC self) -> bool"""
16479 return _pcbnew.TRACKS_VEC_empty(self)
16482 r"""size(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
16483 return _pcbnew.TRACKS_VEC_size(self)
16486 r"""swap(TRACKS_VEC self, TRACKS_VEC v)"""
16487 return _pcbnew.TRACKS_VEC_swap(self, v)
16490 r"""begin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
16491 return _pcbnew.TRACKS_VEC_begin(self)
16494 r"""end(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
16495 return _pcbnew.TRACKS_VEC_end(self)
16498 r"""rbegin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
16499 return _pcbnew.TRACKS_VEC_rbegin(self)
16502 r"""rend(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
16503 return _pcbnew.TRACKS_VEC_rend(self)
16506 r"""clear(TRACKS_VEC self)"""
16507 return _pcbnew.TRACKS_VEC_clear(self)
16510 r"""get_allocator(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::allocator_type"""
16511 return _pcbnew.TRACKS_VEC_get_allocator(self)
16514 r"""pop_back(TRACKS_VEC self)"""
16515 return _pcbnew.TRACKS_VEC_pop_back(self)
16519 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos) -> std::vector< PCB_TRACK * >::iterator
16520 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator first, std::vector< PCB_TRACK * >::iterator last) -> std::vector< PCB_TRACK * >::iterator
16522 return _pcbnew.TRACKS_VEC_erase(self, *args)
16526 __init__(TRACKS_VEC self) -> TRACKS_VEC
16527 __init__(TRACKS_VEC self, TRACKS_VEC other) -> TRACKS_VEC
16528 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size) -> TRACKS_VEC
16529 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS_VEC
16531 _pcbnew.TRACKS_VEC_swiginit(self, _pcbnew.new_TRACKS_VEC(*args))
16534 r"""push_back(TRACKS_VEC self, PCB_TRACK x)"""
16535 return _pcbnew.TRACKS_VEC_push_back(self, x)
16538 r"""front(TRACKS_VEC self) -> PCB_TRACK"""
16539 return _pcbnew.TRACKS_VEC_front(self)
16542 r"""back(TRACKS_VEC self) -> PCB_TRACK"""
16543 return _pcbnew.TRACKS_VEC_back(self)
16546 r"""assign(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
16547 return _pcbnew.TRACKS_VEC_assign(self, n, x)
16551 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size)
16552 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
16554 return _pcbnew.TRACKS_VEC_resize(self, *args)
16558 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::vector< PCB_TRACK * >::iterator
16559 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)
16561 return _pcbnew.TRACKS_VEC_insert(self, *args)
16564 r"""reserve(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n)"""
16565 return _pcbnew.TRACKS_VEC_reserve(self, n)
16568 r"""capacity(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
16569 return _pcbnew.TRACKS_VEC_capacity(self)
16570 __swig_destroy__ = _pcbnew.delete_TRACKS_VEC
16573_pcbnew.TRACKS_VEC_swigregister(TRACKS_VEC)
16576 r"""Proxy of C++ NETINFO_ITEM class."""
16578 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16579 __repr__ = _swig_repr
16582 r"""__init__(NETINFO_ITEM self, BOARD aParent, wxString aNetName=wxEmptyString, int aNetCode=-1) -> NETINFO_ITEM"""
16583 _pcbnew.NETINFO_ITEM_swiginit(self, _pcbnew.new_NETINFO_ITEM(*args))
16584 __swig_destroy__ = _pcbnew.delete_NETINFO_ITEM
16588 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16589 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
16592 r"""SetNetClass(NETINFO_ITEM self, std::shared_ptr< NETCLASS > const & aNetClass)"""
16593 return _pcbnew.NETINFO_ITEM_SetNetClass(self, aNetClass)
16596 r"""GetNetClass(NETINFO_ITEM self) -> NETCLASS"""
16597 return _pcbnew.NETINFO_ITEM_GetNetClass(self)
16600 r"""GetNetClassSlow(NETINFO_ITEM self) -> std::shared_ptr< NETCLASS >"""
16601 return _pcbnew.NETINFO_ITEM_GetNetClassSlow(self)
16604 r"""GetNetCode(NETINFO_ITEM self) -> int"""
16605 return _pcbnew.NETINFO_ITEM_GetNetCode(self)
16608 r"""SetNetCode(NETINFO_ITEM self, int aNetCode)"""
16609 return _pcbnew.NETINFO_ITEM_SetNetCode(self, aNetCode)
16612 r"""GetNetname(NETINFO_ITEM self) -> wxString"""
16613 return _pcbnew.NETINFO_ITEM_GetNetname(self)
16616 r"""GetShortNetname(NETINFO_ITEM self) -> wxString"""
16617 return _pcbnew.NETINFO_ITEM_GetShortNetname(self)
16620 r"""GetDisplayNetname(NETINFO_ITEM self) -> wxString"""
16621 return _pcbnew.NETINFO_ITEM_GetDisplayNetname(self)
16624 r"""HasAutoGeneratedNetname(NETINFO_ITEM self) -> bool"""
16625 return _pcbnew.NETINFO_ITEM_HasAutoGeneratedNetname(self)
16628 r"""SetNetname(NETINFO_ITEM self, wxString aNewName)"""
16629 return _pcbnew.NETINFO_ITEM_SetNetname(self, aNewName)
16632 r"""IsCurrent(NETINFO_ITEM self) -> bool"""
16633 return _pcbnew.NETINFO_ITEM_IsCurrent(self)
16636 r"""SetIsCurrent(NETINFO_ITEM self, bool isCurrent)"""
16637 return _pcbnew.NETINFO_ITEM_SetIsCurrent(self, isCurrent)
16640 r"""Clear(NETINFO_ITEM self)"""
16641 return _pcbnew.NETINFO_ITEM_Clear(self)
16644 r"""GetParent(NETINFO_ITEM self) -> BOARD"""
16645 return _pcbnew.NETINFO_ITEM_GetParent(self)
16652_pcbnew.NETINFO_ITEM_swigregister(NETINFO_ITEM)
16655 r"""NETINFO_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
16656 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
16659 r"""Proxy of C++ std::map< wxString,NETINFO_ITEM * > class."""
16661 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16662 __repr__ = _swig_repr
16665 r"""iterator(NETNAMES_MAP self) -> SwigPyIterator"""
16666 return _pcbnew.NETNAMES_MAP_iterator(self)
16671 r"""__nonzero__(NETNAMES_MAP self) -> bool"""
16672 return _pcbnew.NETNAMES_MAP___nonzero__(self)
16675 r"""__bool__(NETNAMES_MAP self) -> bool"""
16676 return _pcbnew.NETNAMES_MAP___bool__(self)
16679 r"""__len__(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
16680 return _pcbnew.NETNAMES_MAP___len__(self)
16691 r"""__getitem__(NETNAMES_MAP self, wxString key) -> NETINFO_ITEM"""
16692 return _pcbnew.NETNAMES_MAP___getitem__(self, key)
16695 r"""__delitem__(NETNAMES_MAP self, wxString key)"""
16696 return _pcbnew.NETNAMES_MAP___delitem__(self, key)
16699 r"""has_key(NETNAMES_MAP self, wxString key) -> bool"""
16700 return _pcbnew.NETNAMES_MAP_has_key(self, key)
16703 r"""keys(NETNAMES_MAP self) -> PyObject *"""
16704 return _pcbnew.NETNAMES_MAP_keys(self)
16707 r"""values(NETNAMES_MAP self) -> PyObject *"""
16708 return _pcbnew.NETNAMES_MAP_values(self)
16711 r"""items(NETNAMES_MAP self) -> PyObject *"""
16712 return _pcbnew.NETNAMES_MAP_items(self)
16715 r"""__contains__(NETNAMES_MAP self, wxString key) -> bool"""
16716 return _pcbnew.NETNAMES_MAP___contains__(self, key)
16719 r"""key_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
16720 return _pcbnew.NETNAMES_MAP_key_iterator(self)
16723 r"""value_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
16724 return _pcbnew.NETNAMES_MAP_value_iterator(self)
16729 __setitem__(NETNAMES_MAP self, wxString key, NETINFO_ITEM x)
16731 return _pcbnew.NETNAMES_MAP___setitem__(self, *args)
16734 r"""asdict(NETNAMES_MAP self) -> PyObject *"""
16735 return _pcbnew.NETNAMES_MAP_asdict(self)
16739 __init__(NETNAMES_MAP self, std::less< wxString > const & other) -> NETNAMES_MAP
16740 __init__(NETNAMES_MAP self) -> NETNAMES_MAP
16741 __init__(NETNAMES_MAP self, NETNAMES_MAP other) -> NETNAMES_MAP
16743 _pcbnew.NETNAMES_MAP_swiginit(self, _pcbnew.new_NETNAMES_MAP(*args))
16746 r"""empty(NETNAMES_MAP self) -> bool"""
16747 return _pcbnew.NETNAMES_MAP_empty(self)
16750 r"""size(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
16751 return _pcbnew.NETNAMES_MAP_size(self)
16754 r"""swap(NETNAMES_MAP self, NETNAMES_MAP v)"""
16755 return _pcbnew.NETNAMES_MAP_swap(self, v)
16758 r"""begin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16759 return _pcbnew.NETNAMES_MAP_begin(self)
16762 r"""end(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16763 return _pcbnew.NETNAMES_MAP_end(self)
16766 r"""rbegin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
16767 return _pcbnew.NETNAMES_MAP_rbegin(self)
16770 r"""rend(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
16771 return _pcbnew.NETNAMES_MAP_rend(self)
16774 r"""clear(NETNAMES_MAP self)"""
16775 return _pcbnew.NETNAMES_MAP_clear(self)
16778 r"""get_allocator(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::allocator_type"""
16779 return _pcbnew.NETNAMES_MAP_get_allocator(self)
16782 r"""count(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
16783 return _pcbnew.NETNAMES_MAP_count(self, x)
16787 erase(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type
16788 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator position)
16789 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator first, std::map< wxString,NETINFO_ITEM * >::iterator last)
16791 return _pcbnew.NETNAMES_MAP_erase(self, *args)
16794 r"""find(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16795 return _pcbnew.NETNAMES_MAP_find(self, x)
16798 r"""lower_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16799 return _pcbnew.NETNAMES_MAP_lower_bound(self, x)
16802 r"""upper_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16803 return _pcbnew.NETNAMES_MAP_upper_bound(self, x)
16804 __swig_destroy__ = _pcbnew.delete_NETNAMES_MAP
16807_pcbnew.NETNAMES_MAP_swigregister(NETNAMES_MAP)
16810 r"""Proxy of C++ std::map< int,NETINFO_ITEM * > class."""
16812 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16813 __repr__ = _swig_repr
16816 r"""iterator(NETCODES_MAP self) -> SwigPyIterator"""
16817 return _pcbnew.NETCODES_MAP_iterator(self)
16822 r"""__nonzero__(NETCODES_MAP self) -> bool"""
16823 return _pcbnew.NETCODES_MAP___nonzero__(self)
16826 r"""__bool__(NETCODES_MAP self) -> bool"""
16827 return _pcbnew.NETCODES_MAP___bool__(self)
16830 r"""__len__(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
16831 return _pcbnew.NETCODES_MAP___len__(self)
16842 r"""__getitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> NETINFO_ITEM"""
16843 return _pcbnew.NETCODES_MAP___getitem__(self, key)
16846 r"""__delitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)"""
16847 return _pcbnew.NETCODES_MAP___delitem__(self, key)
16850 r"""has_key(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
16851 return _pcbnew.NETCODES_MAP_has_key(self, key)
16854 r"""keys(NETCODES_MAP self) -> PyObject *"""
16855 return _pcbnew.NETCODES_MAP_keys(self)
16858 r"""values(NETCODES_MAP self) -> PyObject *"""
16859 return _pcbnew.NETCODES_MAP_values(self)
16862 r"""items(NETCODES_MAP self) -> PyObject *"""
16863 return _pcbnew.NETCODES_MAP_items(self)
16866 r"""__contains__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
16867 return _pcbnew.NETCODES_MAP___contains__(self, key)
16870 r"""key_iterator(NETCODES_MAP self) -> SwigPyIterator"""
16871 return _pcbnew.NETCODES_MAP_key_iterator(self)
16874 r"""value_iterator(NETCODES_MAP self) -> SwigPyIterator"""
16875 return _pcbnew.NETCODES_MAP_value_iterator(self)
16879 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)
16880 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key, NETINFO_ITEM x)
16882 return _pcbnew.NETCODES_MAP___setitem__(self, *args)
16885 r"""asdict(NETCODES_MAP self) -> PyObject *"""
16886 return _pcbnew.NETCODES_MAP_asdict(self)
16890 __init__(NETCODES_MAP self, std::less< int > const & other) -> NETCODES_MAP
16891 __init__(NETCODES_MAP self) -> NETCODES_MAP
16892 __init__(NETCODES_MAP self, NETCODES_MAP other) -> NETCODES_MAP
16894 _pcbnew.NETCODES_MAP_swiginit(self, _pcbnew.new_NETCODES_MAP(*args))
16897 r"""empty(NETCODES_MAP self) -> bool"""
16898 return _pcbnew.NETCODES_MAP_empty(self)
16901 r"""size(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
16902 return _pcbnew.NETCODES_MAP_size(self)
16905 r"""swap(NETCODES_MAP self, NETCODES_MAP v)"""
16906 return _pcbnew.NETCODES_MAP_swap(self, v)
16909 r"""begin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
16910 return _pcbnew.NETCODES_MAP_begin(self)
16913 r"""end(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
16914 return _pcbnew.NETCODES_MAP_end(self)
16917 r"""rbegin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
16918 return _pcbnew.NETCODES_MAP_rbegin(self)
16921 r"""rend(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
16922 return _pcbnew.NETCODES_MAP_rend(self)
16925 r"""clear(NETCODES_MAP self)"""
16926 return _pcbnew.NETCODES_MAP_clear(self)
16929 r"""get_allocator(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::allocator_type"""
16930 return _pcbnew.NETCODES_MAP_get_allocator(self)
16933 r"""count(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type"""
16934 return _pcbnew.NETCODES_MAP_count(self, x)
16938 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type
16939 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator position)
16940 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator first, std::map< int,NETINFO_ITEM * >::iterator last)
16942 return _pcbnew.NETCODES_MAP_erase(self, *args)
16945 r"""find(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
16946 return _pcbnew.NETCODES_MAP_find(self, x)
16949 r"""lower_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
16950 return _pcbnew.NETCODES_MAP_lower_bound(self, x)
16953 r"""upper_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
16954 return _pcbnew.NETCODES_MAP_upper_bound(self, x)
16955 __swig_destroy__ = _pcbnew.delete_NETCODES_MAP
16958_pcbnew.NETCODES_MAP_swigregister(NETCODES_MAP)
16961 r"""Proxy of C++ NETINFO_LIST class."""
16963 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16964 __repr__ = _swig_repr
16967 r"""__init__(NETINFO_LIST self, BOARD aParent) -> NETINFO_LIST"""
16968 _pcbnew.NETINFO_LIST_swiginit(self, _pcbnew.new_NETINFO_LIST(aParent))
16969 __swig_destroy__ = _pcbnew.delete_NETINFO_LIST
16973 GetNetItem(NETINFO_LIST self, int aNetCode) -> NETINFO_ITEM
16974 GetNetItem(NETINFO_LIST self, wxString aNetName) -> NETINFO_ITEM
16976 return _pcbnew.NETINFO_LIST_GetNetItem(self, *args)
16979 r"""GetNetCount(NETINFO_LIST self) -> unsigned int"""
16980 return _pcbnew.NETINFO_LIST_GetNetCount(self)
16983 r"""NetsByName(NETINFO_LIST self) -> NETNAMES_MAP"""
16984 return _pcbnew.NETINFO_LIST_NetsByName(self)
16987 r"""NetsByNetcode(NETINFO_LIST self) -> NETCODES_MAP"""
16988 return _pcbnew.NETINFO_LIST_NetsByNetcode(self)
16991 r"""RebuildDisplayNetnames(NETINFO_LIST self)"""
16992 return _pcbnew.NETINFO_LIST_RebuildDisplayNetnames(self)
16996 r"""OrphanedItem() -> NETINFO_ITEM"""
16997 return _pcbnew.NETINFO_LIST_OrphanedItem()
17000 r"""GetParent(NETINFO_LIST self) -> BOARD"""
17001 return _pcbnew.NETINFO_LIST_GetParent(self)
17002 m_DisplayNetnamesDirty = property(_pcbnew.NETINFO_LIST_m_DisplayNetnamesDirty_get, _pcbnew.NETINFO_LIST_m_DisplayNetnamesDirty_set, doc=
r"""m_DisplayNetnamesDirty : bool""")
17005_pcbnew.NETINFO_LIST_swigregister(NETINFO_LIST)
17006NETINFO_LIST.UNCONNECTED = _pcbnew.cvar.NETINFO_LIST_UNCONNECTED
17007NETINFO_LIST.ORPHANED = _pcbnew.cvar.NETINFO_LIST_ORPHANED
17010 r"""NETINFO_LIST_OrphanedItem() -> NETINFO_ITEM"""
17011 return _pcbnew.NETINFO_LIST_OrphanedItem()
17014 r"""Proxy of C++ std::set< wxString > class."""
17016 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17017 __repr__ = _swig_repr
17020 r"""iterator(STRINGSET self) -> SwigPyIterator"""
17021 return _pcbnew.STRINGSET_iterator(self)
17026 r"""__nonzero__(STRINGSET self) -> bool"""
17027 return _pcbnew.STRINGSET___nonzero__(self)
17030 r"""__bool__(STRINGSET self) -> bool"""
17031 return _pcbnew.STRINGSET___bool__(self)
17034 r"""__len__(STRINGSET self) -> std::set< wxString >::size_type"""
17035 return _pcbnew.STRINGSET___len__(self)
17038 r"""append(STRINGSET self, wxString x)"""
17039 return _pcbnew.STRINGSET_append(self, x)
17042 r"""__contains__(STRINGSET self, wxString x) -> bool"""
17043 return _pcbnew.STRINGSET___contains__(self, x)
17046 r"""__getitem__(STRINGSET self, std::set< wxString >::difference_type i) -> wxString"""
17047 return _pcbnew.STRINGSET___getitem__(self, i)
17050 r"""add(STRINGSET self, wxString x)"""
17051 return _pcbnew.STRINGSET_add(self, x)
17054 r"""discard(STRINGSET self, wxString x)"""
17055 return _pcbnew.STRINGSET_discard(self, x)
17059 __init__(STRINGSET self, std::less< wxString > const & other) -> STRINGSET
17060 __init__(STRINGSET self) -> STRINGSET
17061 __init__(STRINGSET self, STRINGSET other) -> STRINGSET
17063 _pcbnew.STRINGSET_swiginit(self, _pcbnew.new_STRINGSET(*args))
17066 r"""empty(STRINGSET self) -> bool"""
17067 return _pcbnew.STRINGSET_empty(self)
17070 r"""size(STRINGSET self) -> std::set< wxString >::size_type"""
17071 return _pcbnew.STRINGSET_size(self)
17074 r"""clear(STRINGSET self)"""
17075 return _pcbnew.STRINGSET_clear(self)
17078 r"""swap(STRINGSET self, STRINGSET v)"""
17079 return _pcbnew.STRINGSET_swap(self, v)
17082 r"""count(STRINGSET self, wxString x) -> std::set< wxString >::size_type"""
17083 return _pcbnew.STRINGSET_count(self, x)
17086 r"""begin(STRINGSET self) -> std::set< wxString >::iterator"""
17087 return _pcbnew.STRINGSET_begin(self)
17090 r"""end(STRINGSET self) -> std::set< wxString >::iterator"""
17091 return _pcbnew.STRINGSET_end(self)
17094 r"""rbegin(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
17095 return _pcbnew.STRINGSET_rbegin(self)
17098 r"""rend(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
17099 return _pcbnew.STRINGSET_rend(self)
17103 erase(STRINGSET self, wxString x) -> std::set< wxString >::size_type
17104 erase(STRINGSET self, std::set< wxString >::iterator pos)
17105 erase(STRINGSET self, std::set< wxString >::iterator first, std::set< wxString >::iterator last)
17107 return _pcbnew.STRINGSET_erase(self, *args)
17110 r"""find(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
17111 return _pcbnew.STRINGSET_find(self, x)
17114 r"""lower_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
17115 return _pcbnew.STRINGSET_lower_bound(self, x)
17118 r"""upper_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
17119 return _pcbnew.STRINGSET_upper_bound(self, x)
17122 r"""equal_range(STRINGSET self, wxString x) -> std::pair< std::set< wxString >::iterator,std::set< wxString >::iterator >"""
17123 return _pcbnew.STRINGSET_equal_range(self, x)
17126 r"""insert(STRINGSET self, wxString __x) -> std::pair< std::set< wxString >::iterator,bool >"""
17127 return _pcbnew.STRINGSET_insert(self, __x)
17128 __swig_destroy__ = _pcbnew.delete_STRINGSET
17131_pcbnew.STRINGSET_swigregister(STRINGSET)
17134 r"""Proxy of C++ NETCLASS class."""
17136 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17137 __repr__ = _swig_repr
17140 r"""__init__(NETCLASS self, wxString aName) -> NETCLASS"""
17141 _pcbnew.NETCLASS_swiginit(self, _pcbnew.new_NETCLASS(aName))
17142 __swig_destroy__ = _pcbnew.delete_NETCLASS
17145 r"""GetClass(NETCLASS self) -> wxString"""
17146 return _pcbnew.NETCLASS_GetClass(self)
17149 r"""GetName(NETCLASS self) -> wxString"""
17150 return _pcbnew.NETCLASS_GetName(self)
17153 r"""SetName(NETCLASS self, wxString aName)"""
17154 return _pcbnew.NETCLASS_SetName(self, aName)
17157 r"""GetDescription(NETCLASS self) -> wxString"""
17158 return _pcbnew.NETCLASS_GetDescription(self)
17161 r"""SetDescription(NETCLASS self, wxString aDesc)"""
17162 return _pcbnew.NETCLASS_SetDescription(self, aDesc)
17165 r"""HasClearance(NETCLASS self) -> bool"""
17166 return _pcbnew.NETCLASS_HasClearance(self)
17169 r"""GetClearance(NETCLASS self) -> int"""
17170 return _pcbnew.NETCLASS_GetClearance(self)
17173 r"""SetClearance(NETCLASS self, int aClearance)"""
17174 return _pcbnew.NETCLASS_SetClearance(self, aClearance)
17177 r"""HasTrackWidth(NETCLASS self) -> bool"""
17178 return _pcbnew.NETCLASS_HasTrackWidth(self)
17181 r"""GetTrackWidth(NETCLASS self) -> int"""
17182 return _pcbnew.NETCLASS_GetTrackWidth(self)
17185 r"""SetTrackWidth(NETCLASS self, int aWidth)"""
17186 return _pcbnew.NETCLASS_SetTrackWidth(self, aWidth)
17189 r"""HasViaDiameter(NETCLASS self) -> bool"""
17190 return _pcbnew.NETCLASS_HasViaDiameter(self)
17193 r"""GetViaDiameter(NETCLASS self) -> int"""
17194 return _pcbnew.NETCLASS_GetViaDiameter(self)
17197 r"""SetViaDiameter(NETCLASS self, int aDia)"""
17198 return _pcbnew.NETCLASS_SetViaDiameter(self, aDia)
17201 r"""HasViaDrill(NETCLASS self) -> int"""
17202 return _pcbnew.NETCLASS_HasViaDrill(self)
17205 r"""GetViaDrill(NETCLASS self) -> int"""
17206 return _pcbnew.NETCLASS_GetViaDrill(self)
17209 r"""SetViaDrill(NETCLASS self, int aSize)"""
17210 return _pcbnew.NETCLASS_SetViaDrill(self, aSize)
17213 r"""HasuViaDiameter(NETCLASS self) -> bool"""
17214 return _pcbnew.NETCLASS_HasuViaDiameter(self)
17217 r"""GetuViaDiameter(NETCLASS self) -> int"""
17218 return _pcbnew.NETCLASS_GetuViaDiameter(self)
17221 r"""SetuViaDiameter(NETCLASS self, int aSize)"""
17222 return _pcbnew.NETCLASS_SetuViaDiameter(self, aSize)
17225 r"""HasuViaDrill(NETCLASS self) -> bool"""
17226 return _pcbnew.NETCLASS_HasuViaDrill(self)
17229 r"""GetuViaDrill(NETCLASS self) -> int"""
17230 return _pcbnew.NETCLASS_GetuViaDrill(self)
17233 r"""SetuViaDrill(NETCLASS self, int aSize)"""
17234 return _pcbnew.NETCLASS_SetuViaDrill(self, aSize)
17237 r"""HasDiffPairWidth(NETCLASS self) -> bool"""
17238 return _pcbnew.NETCLASS_HasDiffPairWidth(self)
17241 r"""GetDiffPairWidth(NETCLASS self) -> int"""
17242 return _pcbnew.NETCLASS_GetDiffPairWidth(self)
17245 r"""SetDiffPairWidth(NETCLASS self, int aSize)"""
17246 return _pcbnew.NETCLASS_SetDiffPairWidth(self, aSize)
17249 r"""HasDiffPairGap(NETCLASS self) -> bool"""
17250 return _pcbnew.NETCLASS_HasDiffPairGap(self)
17253 r"""GetDiffPairGap(NETCLASS self) -> int"""
17254 return _pcbnew.NETCLASS_GetDiffPairGap(self)
17257 r"""SetDiffPairGap(NETCLASS self, int aSize)"""
17258 return _pcbnew.NETCLASS_SetDiffPairGap(self, aSize)
17261 r"""HasDiffPairViaGap(NETCLASS self) -> bool"""
17262 return _pcbnew.NETCLASS_HasDiffPairViaGap(self)
17265 r"""GetDiffPairViaGap(NETCLASS self) -> int"""
17266 return _pcbnew.NETCLASS_GetDiffPairViaGap(self)
17269 r"""SetDiffPairViaGap(NETCLASS self, int aSize)"""
17270 return _pcbnew.NETCLASS_SetDiffPairViaGap(self, aSize)
17273 r"""GetPcbColor(NETCLASS self) -> COLOR4D"""
17274 return _pcbnew.NETCLASS_GetPcbColor(self)
17277 r"""SetPcbColor(NETCLASS self, COLOR4D aColor)"""
17278 return _pcbnew.NETCLASS_SetPcbColor(self, aColor)
17281 r"""GetWireWidth(NETCLASS self) -> int"""
17282 return _pcbnew.NETCLASS_GetWireWidth(self)
17285 r"""SetWireWidth(NETCLASS self, int aWidth)"""
17286 return _pcbnew.NETCLASS_SetWireWidth(self, aWidth)
17289 r"""GetBusWidth(NETCLASS self) -> int"""
17290 return _pcbnew.NETCLASS_GetBusWidth(self)
17293 r"""SetBusWidth(NETCLASS self, int aWidth)"""
17294 return _pcbnew.NETCLASS_SetBusWidth(self, aWidth)
17297 r"""GetSchematicColor(NETCLASS self) -> COLOR4D"""
17298 return _pcbnew.NETCLASS_GetSchematicColor(self)
17301 r"""SetSchematicColor(NETCLASS self, COLOR4D aColor)"""
17302 return _pcbnew.NETCLASS_SetSchematicColor(self, aColor)
17305 r"""GetLineStyle(NETCLASS self) -> int"""
17306 return _pcbnew.NETCLASS_GetLineStyle(self)
17309 r"""SetLineStyle(NETCLASS self, int aStyle)"""
17310 return _pcbnew.NETCLASS_SetLineStyle(self, aStyle)
17313_pcbnew.NETCLASS_swigregister(NETCLASS)
17314NETCLASS.Default = _pcbnew.cvar.NETCLASS_Default
17317 r"""Proxy of C++ PCB_GROUP class."""
17319 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17320 __repr__ = _swig_repr
17323 r"""__init__(PCB_GROUP self, BOARD_ITEM aParent) -> PCB_GROUP"""
17324 _pcbnew.PCB_GROUP_swiginit(self, _pcbnew.new_PCB_GROUP(aParent))
17328 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17329 return _pcbnew.PCB_GROUP_ClassOf(aItem)
17332 r"""GetName(PCB_GROUP self) -> wxString"""
17333 return _pcbnew.PCB_GROUP_GetName(self)
17336 r"""SetName(PCB_GROUP self, wxString aName)"""
17337 return _pcbnew.PCB_GROUP_SetName(self, aName)
17341 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * >
17342 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * > const &
17344 return _pcbnew.PCB_GROUP_GetItems(self, *args)
17347 r"""AddItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
17348 return _pcbnew.PCB_GROUP_AddItem(self, aItem)
17351 r"""RemoveItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
17352 return _pcbnew.PCB_GROUP_RemoveItem(self, aItem)
17355 r"""RemoveAll(PCB_GROUP self)"""
17356 return _pcbnew.PCB_GROUP_RemoveAll(self)
17360 r"""TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
17361 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
17365 r"""WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
17366 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
17369 r"""DeepClone(PCB_GROUP self) -> PCB_GROUP"""
17370 return _pcbnew.PCB_GROUP_DeepClone(self)
17373 r"""DeepDuplicate(PCB_GROUP self) -> PCB_GROUP"""
17374 return _pcbnew.PCB_GROUP_DeepDuplicate(self)
17378 HitTest(PCB_GROUP self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17379 HitTest(PCB_GROUP self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17381 return _pcbnew.PCB_GROUP_HitTest(self, *args)
17384 r"""GetEffectiveShape(PCB_GROUP self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17385 return _pcbnew.PCB_GROUP_GetEffectiveShape(self, *args)
17388 r"""ViewGetLOD(PCB_GROUP self, int aLayer, KIGFX::VIEW * aView) -> double"""
17389 return _pcbnew.PCB_GROUP_ViewGetLOD(self, aLayer, aView)
17392 r"""RunOnDescendants(PCB_GROUP self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
17393 return _pcbnew.PCB_GROUP_RunOnDescendants(self, aFunction, aDepth)
17397 r"""IsGroupableType(KICAD_T aType) -> bool"""
17398 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
17401 r"""GetItemsDeque(PCB_GROUP self) -> DRAWINGS"""
17402 return _pcbnew.PCB_GROUP_GetItemsDeque(self)
17407 __swig_destroy__ = _pcbnew.delete_PCB_GROUP
17410_pcbnew.PCB_GROUP_swigregister(PCB_GROUP)
17413 r"""PCB_GROUP_ClassOf(EDA_ITEM aItem) -> bool"""
17414 return _pcbnew.PCB_GROUP_ClassOf(aItem)
17417 r"""PCB_GROUP_TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
17418 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
17421 r"""PCB_GROUP_WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
17422 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
17425 r"""PCB_GROUP_IsGroupableType(KICAD_T aType) -> bool"""
17426 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
17429 r"""Proxy of C++ PCB_REFERENCE_IMAGE class."""
17431 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17432 __repr__ = _swig_repr
17436 __init__(PCB_REFERENCE_IMAGE self, BOARD_ITEM aParent, VECTOR2I pos=VECTOR2I( 0, 0 ), PCB_LAYER_ID aLayer=F_Cu) -> PCB_REFERENCE_IMAGE
17437 __init__(PCB_REFERENCE_IMAGE self, PCB_REFERENCE_IMAGE aPcbBitmap) -> PCB_REFERENCE_IMAGE
17439 _pcbnew.PCB_REFERENCE_IMAGE_swiginit(self, _pcbnew.new_PCB_REFERENCE_IMAGE(*args))
17440 __swig_destroy__ = _pcbnew.delete_PCB_REFERENCE_IMAGE
17443 r"""GetImage(PCB_REFERENCE_IMAGE self) -> BITMAP_BASE const *"""
17444 return _pcbnew.PCB_REFERENCE_IMAGE_GetImage(self)
17447 r"""MutableImage(PCB_REFERENCE_IMAGE self) -> BITMAP_BASE *"""
17448 return _pcbnew.PCB_REFERENCE_IMAGE_MutableImage(self)
17451 r"""GetImageScale(PCB_REFERENCE_IMAGE self) -> double"""
17452 return _pcbnew.PCB_REFERENCE_IMAGE_GetImageScale(self)
17455 r"""SetImageScale(PCB_REFERENCE_IMAGE self, double aScale)"""
17456 return _pcbnew.PCB_REFERENCE_IMAGE_SetImageScale(self, aScale)
17460 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17461 return _pcbnew.PCB_REFERENCE_IMAGE_ClassOf(aItem)
17464 r"""GetSize(PCB_REFERENCE_IMAGE self) -> VECTOR2I"""
17465 return _pcbnew.PCB_REFERENCE_IMAGE_GetSize(self)
17468 r"""ViewGetLOD(PCB_REFERENCE_IMAGE self, int aLayer, KIGFX::VIEW * aView) -> double"""
17469 return _pcbnew.PCB_REFERENCE_IMAGE_ViewGetLOD(self, aLayer, aView)
17472 r"""GetEffectiveShape(PCB_REFERENCE_IMAGE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17473 return _pcbnew.PCB_REFERENCE_IMAGE_GetEffectiveShape(self, *args)
17477 ReadImageFile(PCB_REFERENCE_IMAGE self, wxString aFullFilename) -> bool
17478 ReadImageFile(PCB_REFERENCE_IMAGE self, wxMemoryBuffer & aBuf) -> bool
17480 return _pcbnew.PCB_REFERENCE_IMAGE_ReadImageFile(self, *args)
17484 HitTest(PCB_REFERENCE_IMAGE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17485 HitTest(PCB_REFERENCE_IMAGE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17487 return _pcbnew.PCB_REFERENCE_IMAGE_HitTest(self, *args)
17490_pcbnew.PCB_REFERENCE_IMAGE_swigregister(PCB_REFERENCE_IMAGE)
17493 r"""PCB_REFERENCE_IMAGE_ClassOf(EDA_ITEM aItem) -> bool"""
17494 return _pcbnew.PCB_REFERENCE_IMAGE_ClassOf(aItem)
17497 r"""Proxy of C++ std::vector< VIA_DIMENSION > class."""
17499 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17500 __repr__ = _swig_repr
17503 r"""iterator(VIA_DIMENSION_Vector self) -> SwigPyIterator"""
17504 return _pcbnew.VIA_DIMENSION_Vector_iterator(self)
17509 r"""__nonzero__(VIA_DIMENSION_Vector self) -> bool"""
17510 return _pcbnew.VIA_DIMENSION_Vector___nonzero__(self)
17513 r"""__bool__(VIA_DIMENSION_Vector self) -> bool"""
17514 return _pcbnew.VIA_DIMENSION_Vector___bool__(self)
17517 r"""__len__(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
17518 return _pcbnew.VIA_DIMENSION_Vector___len__(self)
17521 r"""__getslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j) -> VIA_DIMENSION_Vector"""
17522 return _pcbnew.VIA_DIMENSION_Vector___getslice__(self, i, j)
17526 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)
17527 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j, VIA_DIMENSION_Vector v)
17529 return _pcbnew.VIA_DIMENSION_Vector___setslice__(self, *args)
17532 r"""__delslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)"""
17533 return _pcbnew.VIA_DIMENSION_Vector___delslice__(self, i, j)
17537 __delitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i)
17538 __delitem__(VIA_DIMENSION_Vector self, PySliceObject * slice)
17540 return _pcbnew.VIA_DIMENSION_Vector___delitem__(self, *args)
17544 __getitem__(VIA_DIMENSION_Vector self, PySliceObject * slice) -> VIA_DIMENSION_Vector
17545 __getitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i) -> VIA_DIMENSION
17547 return _pcbnew.VIA_DIMENSION_Vector___getitem__(self, *args)
17551 __setitem__(VIA_DIMENSION_Vector self, PySliceObject * slice, VIA_DIMENSION_Vector v)
17552 __setitem__(VIA_DIMENSION_Vector self, PySliceObject * slice)
17553 __setitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, VIA_DIMENSION x)
17555 return _pcbnew.VIA_DIMENSION_Vector___setitem__(self, *args)
17558 r"""pop(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
17559 return _pcbnew.VIA_DIMENSION_Vector_pop(self)
17562 r"""append(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
17563 return _pcbnew.VIA_DIMENSION_Vector_append(self, x)
17566 r"""empty(VIA_DIMENSION_Vector self) -> bool"""
17567 return _pcbnew.VIA_DIMENSION_Vector_empty(self)
17570 r"""size(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
17571 return _pcbnew.VIA_DIMENSION_Vector_size(self)
17574 r"""swap(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector v)"""
17575 return _pcbnew.VIA_DIMENSION_Vector_swap(self, v)
17578 r"""begin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
17579 return _pcbnew.VIA_DIMENSION_Vector_begin(self)
17582 r"""end(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
17583 return _pcbnew.VIA_DIMENSION_Vector_end(self)
17586 r"""rbegin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
17587 return _pcbnew.VIA_DIMENSION_Vector_rbegin(self)
17590 r"""rend(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
17591 return _pcbnew.VIA_DIMENSION_Vector_rend(self)
17594 r"""clear(VIA_DIMENSION_Vector self)"""
17595 return _pcbnew.VIA_DIMENSION_Vector_clear(self)
17598 r"""get_allocator(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::allocator_type"""
17599 return _pcbnew.VIA_DIMENSION_Vector_get_allocator(self)
17602 r"""pop_back(VIA_DIMENSION_Vector self)"""
17603 return _pcbnew.VIA_DIMENSION_Vector_pop_back(self)
17607 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos) -> std::vector< VIA_DIMENSION >::iterator
17608 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator first, std::vector< VIA_DIMENSION >::iterator last) -> std::vector< VIA_DIMENSION >::iterator
17610 return _pcbnew.VIA_DIMENSION_Vector_erase(self, *args)
17614 __init__(VIA_DIMENSION_Vector self) -> VIA_DIMENSION_Vector
17615 __init__(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector other) -> VIA_DIMENSION_Vector
17616 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size) -> VIA_DIMENSION_Vector
17617 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size, VIA_DIMENSION value) -> VIA_DIMENSION_Vector
17619 _pcbnew.VIA_DIMENSION_Vector_swiginit(self, _pcbnew.new_VIA_DIMENSION_Vector(*args))
17622 r"""push_back(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
17623 return _pcbnew.VIA_DIMENSION_Vector_push_back(self, x)
17626 r"""front(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
17627 return _pcbnew.VIA_DIMENSION_Vector_front(self)
17630 r"""back(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
17631 return _pcbnew.VIA_DIMENSION_Vector_back(self)
17634 r"""assign(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)"""
17635 return _pcbnew.VIA_DIMENSION_Vector_assign(self, n, x)
17639 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size)
17640 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size, VIA_DIMENSION x)
17642 return _pcbnew.VIA_DIMENSION_Vector_resize(self, *args)
17646 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, VIA_DIMENSION x) -> std::vector< VIA_DIMENSION >::iterator
17647 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)
17649 return _pcbnew.VIA_DIMENSION_Vector_insert(self, *args)
17652 r"""reserve(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n)"""
17653 return _pcbnew.VIA_DIMENSION_Vector_reserve(self, n)
17656 r"""capacity(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
17657 return _pcbnew.VIA_DIMENSION_Vector_capacity(self)
17658 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION_Vector
17661_pcbnew.VIA_DIMENSION_Vector_swigregister(VIA_DIMENSION_Vector)
17663DEFAULT_CHAINING_EPSILON_MM = _pcbnew.DEFAULT_CHAINING_EPSILON_MM
17666 r"""Proxy of C++ PTR_PTR_CACHE_KEY class."""
17668 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17669 __repr__ = _swig_repr
17670 A = property(_pcbnew.PTR_PTR_CACHE_KEY_A_get, _pcbnew.PTR_PTR_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
17671 B = property(_pcbnew.PTR_PTR_CACHE_KEY_B_get, _pcbnew.PTR_PTR_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
17674 r"""__eq__(PTR_PTR_CACHE_KEY self, PTR_PTR_CACHE_KEY other) -> bool"""
17675 return _pcbnew.PTR_PTR_CACHE_KEY___eq__(self, other)
17678 r"""__init__(PTR_PTR_CACHE_KEY self) -> PTR_PTR_CACHE_KEY"""
17679 _pcbnew.PTR_PTR_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_CACHE_KEY())
17680 __swig_destroy__ = _pcbnew.delete_PTR_PTR_CACHE_KEY
17683_pcbnew.PTR_PTR_CACHE_KEY_swigregister(PTR_PTR_CACHE_KEY)
17686 r"""Proxy of C++ PTR_LAYER_CACHE_KEY class."""
17688 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17689 __repr__ = _swig_repr
17690 A = property(_pcbnew.PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
17691 Layer = property(_pcbnew.PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
17694 r"""__eq__(PTR_LAYER_CACHE_KEY self, PTR_LAYER_CACHE_KEY other) -> bool"""
17695 return _pcbnew.PTR_LAYER_CACHE_KEY___eq__(self, other)
17698 r"""__init__(PTR_LAYER_CACHE_KEY self) -> PTR_LAYER_CACHE_KEY"""
17699 _pcbnew.PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_LAYER_CACHE_KEY())
17700 __swig_destroy__ = _pcbnew.delete_PTR_LAYER_CACHE_KEY
17703_pcbnew.PTR_LAYER_CACHE_KEY_swigregister(PTR_LAYER_CACHE_KEY)
17706 r"""Proxy of C++ PTR_PTR_LAYER_CACHE_KEY class."""
17708 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17709 __repr__ = _swig_repr
17710 A = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
17711 B = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
17712 Layer = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
17715 r"""__eq__(PTR_PTR_LAYER_CACHE_KEY self, PTR_PTR_LAYER_CACHE_KEY other) -> bool"""
17716 return _pcbnew.PTR_PTR_LAYER_CACHE_KEY___eq__(self, other)
17719 r"""__init__(PTR_PTR_LAYER_CACHE_KEY self) -> PTR_PTR_LAYER_CACHE_KEY"""
17720 _pcbnew.PTR_PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_LAYER_CACHE_KEY())
17721 __swig_destroy__ = _pcbnew.delete_PTR_PTR_LAYER_CACHE_KEY
17724_pcbnew.PTR_PTR_LAYER_CACHE_KEY_swigregister(PTR_PTR_LAYER_CACHE_KEY)
17726LT_UNDEFINED = _pcbnew.LT_UNDEFINED
17728LT_SIGNAL = _pcbnew.LT_SIGNAL
17730LT_POWER = _pcbnew.LT_POWER
17732LT_MIXED = _pcbnew.LT_MIXED
17734LT_JUMPER = _pcbnew.LT_JUMPER
17737 r"""Proxy of C++ LAYER class."""
17739 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17740 __repr__ = _swig_repr
17743 r"""__init__(LAYER self) -> LAYER"""
17744 _pcbnew.LAYER_swiginit(self, _pcbnew.new_LAYER())
17747 r"""clear(LAYER self)"""
17748 return _pcbnew.LAYER_clear(self)
17749 m_name = property(_pcbnew.LAYER_m_name_get, _pcbnew.LAYER_m_name_set, doc=
r"""m_name : wxString""")
17750 m_userName = property(_pcbnew.LAYER_m_userName_get, _pcbnew.LAYER_m_userName_set, doc=
r"""m_userName : wxString""")
17751 m_type = property(_pcbnew.LAYER_m_type_get, _pcbnew.LAYER_m_type_set, doc=
r"""m_type : LAYER_T""")
17752 m_visible = property(_pcbnew.LAYER_m_visible_get, _pcbnew.LAYER_m_visible_set, doc=
r"""m_visible : bool""")
17753 m_number = property(_pcbnew.LAYER_m_number_get, _pcbnew.LAYER_m_number_set, doc=
r"""m_number : int""")
17757 r"""ShowType(LAYER_T aType) -> char const *"""
17758 return _pcbnew.LAYER_ShowType(aType)
17762 r"""ParseType(char const * aType) -> LAYER_T"""
17763 return _pcbnew.LAYER_ParseType(aType)
17764 __swig_destroy__ = _pcbnew.delete_LAYER
17767_pcbnew.LAYER_swigregister(LAYER)
17770 r"""LAYER_ShowType(LAYER_T aType) -> char const *"""
17771 return _pcbnew.LAYER_ShowType(aType)
17774 r"""LAYER_ParseType(char const * aType) -> LAYER_T"""
17775 return _pcbnew.LAYER_ParseType(aType)
17778 r"""Proxy of C++ HIGH_LIGHT_INFO class."""
17780 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17783 raise AttributeError(
"No constructor defined")
17784 __repr__ = _swig_repr
17785 __swig_destroy__ = _pcbnew.delete_HIGH_LIGHT_INFO
17788_pcbnew.HIGH_LIGHT_INFO_swigregister(HIGH_LIGHT_INFO)
17791 r"""Proxy of C++ BOARD_LISTENER class."""
17793 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17794 __repr__ = _swig_repr
17795 __swig_destroy__ = _pcbnew.delete_BOARD_LISTENER
17798 r"""OnBoardItemAdded(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
17799 return _pcbnew.BOARD_LISTENER_OnBoardItemAdded(self, aBoard, aBoardItem)
17802 r"""OnBoardItemsAdded(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
17803 return _pcbnew.BOARD_LISTENER_OnBoardItemsAdded(self, aBoard, aBoardItem)
17806 r"""OnBoardItemRemoved(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
17807 return _pcbnew.BOARD_LISTENER_OnBoardItemRemoved(self, aBoard, aBoardItem)
17810 r"""OnBoardItemsRemoved(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
17811 return _pcbnew.BOARD_LISTENER_OnBoardItemsRemoved(self, aBoard, aBoardItem)
17814 r"""OnBoardNetSettingsChanged(BOARD_LISTENER self, BOARD aBoard)"""
17815 return _pcbnew.BOARD_LISTENER_OnBoardNetSettingsChanged(self, aBoard)
17818 r"""OnBoardItemChanged(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
17819 return _pcbnew.BOARD_LISTENER_OnBoardItemChanged(self, aBoard, aBoardItem)
17822 r"""OnBoardItemsChanged(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
17823 return _pcbnew.BOARD_LISTENER_OnBoardItemsChanged(self, aBoard, aBoardItem)
17826 r"""OnBoardHighlightNetChanged(BOARD_LISTENER self, BOARD aBoard)"""
17827 return _pcbnew.BOARD_LISTENER_OnBoardHighlightNetChanged(self, aBoard)
17830 r"""OnBoardRatsnestChanged(BOARD_LISTENER self, BOARD aBoard)"""
17831 return _pcbnew.BOARD_LISTENER_OnBoardRatsnestChanged(self, aBoard)
17834 r"""__init__(BOARD_LISTENER self) -> BOARD_LISTENER"""
17835 _pcbnew.BOARD_LISTENER_swiginit(self, _pcbnew.new_BOARD_LISTENER())
17838_pcbnew.BOARD_LISTENER_swigregister(BOARD_LISTENER)
17840BOARD_USE_NORMAL = _pcbnew.BOARD_USE_NORMAL
17842BOARD_USE_FPHOLDER = _pcbnew.BOARD_USE_FPHOLDER
17845 r"""Proxy of C++ BOARD class."""
17847 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17850 raise AttributeError(
"No constructor defined")
17851 __repr__ = _swig_repr
17855 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17856 return _pcbnew.BOARD_ClassOf(aItem)
17859 r"""SetBoardUse(BOARD self, BOARD_USE aUse)"""
17860 return _pcbnew.BOARD_SetBoardUse(self, aUse)
17863 r"""GetBoardUse(BOARD self) -> BOARD_USE"""
17864 return _pcbnew.BOARD_GetBoardUse(self)
17867 r"""IncrementTimeStamp(BOARD self)"""
17868 return _pcbnew.BOARD_IncrementTimeStamp(self)
17871 r"""GetTimeStamp(BOARD self) -> int"""
17872 return _pcbnew.BOARD_GetTimeStamp(self)
17875 r"""IsFootprintHolder(BOARD self) -> bool"""
17876 return _pcbnew.BOARD_IsFootprintHolder(self)
17879 r"""SetFileName(BOARD self, wxString aFileName)"""
17880 return _pcbnew.BOARD_SetFileName(self, aFileName)
17883 r"""GetFileName(BOARD self) -> wxString"""
17884 return _pcbnew.BOARD_GetFileName(self)
17888 Tracks(BOARD self) -> TRACKS
17889 Tracks(BOARD self) -> TRACKS
17891 return _pcbnew.BOARD_Tracks(self, *args)
17898 return _pcbnew.BOARD_Footprints(self, *args)
17905 return _pcbnew.BOARD_Drawings(self, *args)
17909 Zones(BOARD self) -> ZONES
17910 Zones(BOARD self) -> ZONES
17912 return _pcbnew.BOARD_Zones(self, *args)
17919 return _pcbnew.BOARD_Generators(self, *args)
17923 Markers(BOARD self) -> MARKERS
17924 Markers(BOARD self) -> MARKERS
17926 return _pcbnew.BOARD_Markers(self, *args)
17929 r"""GetItemSet(BOARD self) -> BOARD_ITEM_SET const"""
17930 return _pcbnew.BOARD_GetItemSet(self)
17934 Groups(BOARD self) -> GROUPS
17935 Groups(BOARD self) -> GROUPS
17937 return _pcbnew.BOARD_Groups(self, *args)
17940 r"""AllConnectedItems(BOARD self) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
17941 return _pcbnew.BOARD_AllConnectedItems(self)
17944 r"""GetProperties(BOARD self) -> MAP_STRING_STRING"""
17945 return _pcbnew.BOARD_GetProperties(self)
17948 r"""SetProperties(BOARD self, MAP_STRING_STRING aProps)"""
17949 return _pcbnew.BOARD_SetProperties(self, aProps)
17952 r"""GetContextualTextVars(BOARD self, wxArrayString * aVars)"""
17953 return _pcbnew.BOARD_GetContextualTextVars(self, aVars)
17956 r"""ResolveTextVar(BOARD self, wxString token, int aDepth) -> bool"""
17957 return _pcbnew.BOARD_ResolveTextVar(self, token, aDepth)
17958 m_LegacyVisibleLayers = property(_pcbnew.BOARD_m_LegacyVisibleLayers_get, _pcbnew.BOARD_m_LegacyVisibleLayers_set, doc=
r"""m_LegacyVisibleLayers : LSET""")
17959 m_LegacyVisibleItems = property(_pcbnew.BOARD_m_LegacyVisibleItems_get, _pcbnew.BOARD_m_LegacyVisibleItems_set, doc=
r"""m_LegacyVisibleItems : GAL_SET""")
17960 m_LegacyDesignSettingsLoaded = property(_pcbnew.BOARD_m_LegacyDesignSettingsLoaded_get, _pcbnew.BOARD_m_LegacyDesignSettingsLoaded_set, doc=
r"""m_LegacyDesignSettingsLoaded : bool""")
17961 m_LegacyCopperEdgeClearanceLoaded = property(_pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_get, _pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_set, doc=
r"""m_LegacyCopperEdgeClearanceLoaded : bool""")
17962 m_LegacyNetclassesLoaded = property(_pcbnew.BOARD_m_LegacyNetclassesLoaded_get, _pcbnew.BOARD_m_LegacyNetclassesLoaded_set, doc=
r"""m_LegacyNetclassesLoaded : bool""")
17963 __swig_destroy__ = _pcbnew.delete_BOARD
17966 r"""IsEmpty(BOARD self) -> bool"""
17967 return _pcbnew.BOARD_IsEmpty(self)
17970 r"""SetFileFormatVersionAtLoad(BOARD self, int aVersion)"""
17971 return _pcbnew.BOARD_SetFileFormatVersionAtLoad(self, aVersion)
17974 r"""GetFileFormatVersionAtLoad(BOARD self) -> int"""
17975 return _pcbnew.BOARD_GetFileFormatVersionAtLoad(self)
17978 r"""SetGenerator(BOARD self, wxString aGenerator)"""
17979 return _pcbnew.BOARD_SetGenerator(self, aGenerator)
17982 r"""GetGenerator(BOARD self) -> wxString"""
17983 return _pcbnew.BOARD_GetGenerator(self)
17986 r"""AddNative(BOARD self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
17987 return _pcbnew.BOARD_AddNative(self, *args)
17990 r"""RemoveNative(BOARD self, BOARD_ITEM aBoardItem, REMOVE_MODE aMode=NORMAL)"""
17991 return _pcbnew.BOARD_RemoveNative(self, *args)
17994 r"""FinalizeBulkAdd(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aNewItems)"""
17995 return _pcbnew.BOARD_FinalizeBulkAdd(self, aNewItems)
17998 r"""FinalizeBulkRemove(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aRemovedItems)"""
17999 return _pcbnew.BOARD_FinalizeBulkRemove(self, aRemovedItems)
18002 r"""CacheTriangulation(BOARD self, PROGRESS_REPORTER * aReporter=None, ZONES aZones={})"""
18003 return _pcbnew.BOARD_CacheTriangulation(self, *args)
18006 r"""GetFirstFootprint(BOARD self) -> FOOTPRINT"""
18007 return _pcbnew.BOARD_GetFirstFootprint(self)
18010 r"""DeleteAllFootprints(BOARD self)"""
18011 return _pcbnew.BOARD_DeleteAllFootprints(self)
18014 r"""GetItem(BOARD self, KIID aID) -> BOARD_ITEM"""
18015 return _pcbnew.BOARD_GetItem(self, aID)
18018 r"""FillItemMap(BOARD self, std::map< KIID,EDA_ITEM *,std::less< KIID >,std::allocator< std::pair< KIID const,EDA_ITEM * > > > & aMap)"""
18019 return _pcbnew.BOARD_FillItemMap(self, aMap)
18022 r"""ConvertCrossReferencesToKIIDs(BOARD self, wxString aSource) -> wxString"""
18023 return _pcbnew.BOARD_ConvertCrossReferencesToKIIDs(self, aSource)
18026 r"""ConvertKIIDsToCrossReferences(BOARD self, wxString aSource) -> wxString"""
18027 return _pcbnew.BOARD_ConvertKIIDsToCrossReferences(self, aSource)
18030 r"""GetConnectivity(BOARD self) -> std::shared_ptr< CONNECTIVITY_DATA >"""
18031 return _pcbnew.BOARD_GetConnectivity(self)
18034 r"""BuildConnectivity(BOARD self, PROGRESS_REPORTER * aReporter=None) -> bool"""
18035 return _pcbnew.BOARD_BuildConnectivity(self, aReporter)
18040 DeleteMARKERs(BOARD self, bool aWarningsAndErrors, bool aExclusions)
18042 return _pcbnew.BOARD_DeleteMARKERs(self, *args)
18045 r"""GetProject(BOARD self) -> PROJECT *"""
18046 return _pcbnew.BOARD_GetProject(self)
18049 r"""SetProject(BOARD self, PROJECT * aProject, bool aReferenceOnly=False)"""
18050 return _pcbnew.BOARD_SetProject(self, aProject, aReferenceOnly)
18053 r"""ClearProject(BOARD self)"""
18054 return _pcbnew.BOARD_ClearProject(self)
18057 r"""ResolveDRCExclusions(BOARD self, bool aCreateMarkers) -> MARKERS"""
18058 return _pcbnew.BOARD_ResolveDRCExclusions(self, aCreateMarkers)
18061 r"""RecordDRCExclusions(BOARD self)"""
18062 return _pcbnew.BOARD_RecordDRCExclusions(self)
18065 r"""UpdateRatsnestExclusions(BOARD self)"""
18066 return _pcbnew.BOARD_UpdateRatsnestExclusions(self)
18069 r"""ResetNetHighLight(BOARD self)"""
18070 return _pcbnew.BOARD_ResetNetHighLight(self)
18073 r"""GetHighLightNetCodes(BOARD self) -> std::set< int,std::less< int >,std::allocator< int > > const &"""
18074 return _pcbnew.BOARD_GetHighLightNetCodes(self)
18077 r"""SetHighLightNet(BOARD self, int aNetCode, bool aMulti=False)"""
18078 return _pcbnew.BOARD_SetHighLightNet(self, aNetCode, aMulti)
18081 r"""IsHighLightNetON(BOARD self) -> bool"""
18082 return _pcbnew.BOARD_IsHighLightNetON(self)
18085 r"""HighLightON(BOARD self, bool aValue=True)"""
18086 return _pcbnew.BOARD_HighLightON(self, aValue)
18089 r"""HighLightOFF(BOARD self)"""
18090 return _pcbnew.BOARD_HighLightOFF(self)
18093 r"""GetCopperLayerCount(BOARD self) -> int"""
18094 return _pcbnew.BOARD_GetCopperLayerCount(self)
18097 r"""SetCopperLayerCount(BOARD self, int aCount)"""
18098 return _pcbnew.BOARD_SetCopperLayerCount(self, aCount)
18101 r"""LayerDepth(BOARD self, PCB_LAYER_ID aStartLayer, PCB_LAYER_ID aEndLayer) -> int"""
18102 return _pcbnew.BOARD_LayerDepth(self, aStartLayer, aEndLayer)
18105 r"""GetEnabledLayers(BOARD self) -> LSET"""
18106 return _pcbnew.BOARD_GetEnabledLayers(self)
18109 r"""SetEnabledLayers(BOARD self, LSET aLayerMask)"""
18110 return _pcbnew.BOARD_SetEnabledLayers(self, aLayerMask)
18113 r"""IsLayerEnabled(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
18114 return _pcbnew.BOARD_IsLayerEnabled(self, aLayer)
18117 r"""IsLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
18118 return _pcbnew.BOARD_IsLayerVisible(self, aLayer)
18121 r"""GetVisibleLayers(BOARD self) -> LSET"""
18122 return _pcbnew.BOARD_GetVisibleLayers(self)
18125 r"""SetVisibleLayers(BOARD self, LSET aLayerMask)"""
18126 return _pcbnew.BOARD_SetVisibleLayers(self, aLayerMask)
18129 r"""GetVisibleElements(BOARD self) -> GAL_SET"""
18130 return _pcbnew.BOARD_GetVisibleElements(self)
18133 r"""SetVisibleElements(BOARD self, GAL_SET aMask)"""
18134 return _pcbnew.BOARD_SetVisibleElements(self, aMask)
18137 r"""SetVisibleAlls(BOARD self)"""
18138 return _pcbnew.BOARD_SetVisibleAlls(self)
18141 r"""IsElementVisible(BOARD self, GAL_LAYER_ID aLayer) -> bool"""
18142 return _pcbnew.BOARD_IsElementVisible(self, aLayer)
18145 r"""SetElementVisibility(BOARD self, GAL_LAYER_ID aLayer, bool aNewState)"""
18146 return _pcbnew.BOARD_SetElementVisibility(self, aLayer, aNewState)
18149 r"""IsFootprintLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
18150 return _pcbnew.BOARD_IsFootprintLayerVisible(self, aLayer)
18153 r"""GetDesignSettings(BOARD self) -> BOARD_DESIGN_SETTINGS"""
18154 return _pcbnew.BOARD_GetDesignSettings(self)
18157 r"""GetTentVias(BOARD self) -> bool"""
18158 return _pcbnew.BOARD_GetTentVias(self)
18161 r"""SetTentVias(BOARD self, bool aFlag)"""
18162 return _pcbnew.BOARD_SetTentVias(self, aFlag)
18165 r"""GetPageSettings(BOARD self) -> PAGE_INFO const &"""
18166 return _pcbnew.BOARD_GetPageSettings(self)
18169 r"""SetPageSettings(BOARD self, PAGE_INFO const & aPageSettings)"""
18170 return _pcbnew.BOARD_SetPageSettings(self, aPageSettings)
18173 r"""GetPlotOptions(BOARD self) -> PCB_PLOT_PARAMS"""
18174 return _pcbnew.BOARD_GetPlotOptions(self)
18177 r"""SetPlotOptions(BOARD self, PCB_PLOT_PARAMS aOptions)"""
18178 return _pcbnew.BOARD_SetPlotOptions(self, aOptions)
18185 return _pcbnew.BOARD_GetTitleBlock(self, *args)
18188 r"""SetTitleBlock(BOARD self, TITLE_BLOCK aTitleBlock)"""
18189 return _pcbnew.BOARD_SetTitleBlock(self, aTitleBlock)
18192 r"""GetUserUnits(BOARD self) -> EDA_UNITS"""
18193 return _pcbnew.BOARD_GetUserUnits(self)
18196 r"""SetUserUnits(BOARD self, EDA_UNITS aUnits)"""
18197 return _pcbnew.BOARD_SetUserUnits(self, aUnits)
18200 r"""UpdateUserUnits(BOARD self, BOARD_ITEM aItem, KIGFX::VIEW * aView)"""
18201 return _pcbnew.BOARD_UpdateUserUnits(self, aItem, aView)
18204 r"""GetBoardPolygonOutlines(BOARD self, SHAPE_POLY_SET aOutlines, OUTLINE_ERROR_HANDLER * aErrorHandler=None, bool aAllowUseArcsInPolygons=False, bool aIncludeNPTHAsOutlines=False) -> bool"""
18205 return _pcbnew.BOARD_GetBoardPolygonOutlines(self, aOutlines, aErrorHandler, aAllowUseArcsInPolygons, aIncludeNPTHAsOutlines)
18208 r"""GetOutlinesChainingEpsilon(BOARD self) -> int"""
18209 return _pcbnew.BOARD_GetOutlinesChainingEpsilon(self)
18212 r"""SetOutlinesChainingEpsilon(BOARD self, int aValue)"""
18213 return _pcbnew.BOARD_SetOutlinesChainingEpsilon(self, aValue)
18216 r"""ConvertBrdLayerToPolygonalContours(BOARD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aOutlines)"""
18217 return _pcbnew.BOARD_ConvertBrdLayerToPolygonalContours(self, aLayer, aOutlines)
18220 r"""GetLayerID(BOARD self, wxString aLayerName) -> PCB_LAYER_ID"""
18221 return _pcbnew.BOARD_GetLayerID(self, aLayerName)
18224 r"""GetLayerName(BOARD self, PCB_LAYER_ID aLayer) -> wxString"""
18225 return _pcbnew.BOARD_GetLayerName(self, aLayer)
18228 r"""SetLayerName(BOARD self, PCB_LAYER_ID aLayer, wxString aLayerName) -> bool"""
18229 return _pcbnew.BOARD_SetLayerName(self, aLayer, aLayerName)
18233 r"""GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
18234 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
18237 r"""SetLayerDescr(BOARD self, PCB_LAYER_ID aIndex, LAYER aLayer) -> bool"""
18238 return _pcbnew.BOARD_SetLayerDescr(self, aIndex, aLayer)
18241 r"""GetLayerType(BOARD self, PCB_LAYER_ID aLayer) -> LAYER_T"""
18242 return _pcbnew.BOARD_GetLayerType(self, aLayer)
18245 r"""SetLayerType(BOARD self, PCB_LAYER_ID aLayer, LAYER_T aLayerType) -> bool"""
18246 return _pcbnew.BOARD_SetLayerType(self, aLayer, aLayerType)
18249 r"""GetNodesCount(BOARD self, int aNet=-1) -> unsigned int"""
18250 return _pcbnew.BOARD_GetNodesCount(self, aNet)
18253 r"""GetPads(BOARD self) -> PADS_VEC"""
18254 return _pcbnew.BOARD_GetPads(self)
18257 r"""BuildListOfNets(BOARD self)"""
18258 return _pcbnew.BOARD_BuildListOfNets(self)
18262 FindNet(BOARD self, int aNetcode) -> NETINFO_ITEM
18263 FindNet(BOARD self, wxString aNetname) -> NETINFO_ITEM
18265 return _pcbnew.BOARD_FindNet(self, *args)
18268 r"""MatchDpSuffix(BOARD self, wxString aNetName, wxString aComplementNet) -> int"""
18269 return _pcbnew.BOARD_MatchDpSuffix(self, aNetName, aComplementNet)
18272 r"""DpCoupledNet(BOARD self, NETINFO_ITEM aNet) -> NETINFO_ITEM"""
18273 return _pcbnew.BOARD_DpCoupledNet(self, aNet)
18276 r"""GetNetInfo(BOARD self) -> NETINFO_LIST"""
18277 return _pcbnew.BOARD_GetNetInfo(self)
18280 r"""RemoveUnusedNets(BOARD self, BOARD_COMMIT * aCommit)"""
18281 return _pcbnew.BOARD_RemoveUnusedNets(self, aCommit)
18284 r"""GetNetCount(BOARD self) -> unsigned int"""
18285 return _pcbnew.BOARD_GetNetCount(self)
18288 r"""ComputeBoundingBox(BOARD self, bool aBoardEdgesOnly=False) -> BOX2I"""
18289 return _pcbnew.BOARD_ComputeBoundingBox(self, aBoardEdgesOnly)
18292 r"""GetBoardEdgesBoundingBox(BOARD self) -> BOX2I"""
18293 return _pcbnew.BOARD_GetBoardEdgesBoundingBox(self)
18296 r"""FindFootprintByReference(BOARD self, wxString aReference) -> FOOTPRINT"""
18297 return _pcbnew.BOARD_FindFootprintByReference(self, aReference)
18300 r"""FindFootprintByPath(BOARD self, KIID_PATH aPath) -> FOOTPRINT"""
18301 return _pcbnew.BOARD_FindFootprintByPath(self, aPath)
18304 r"""GetNetClassAssignmentCandidates(BOARD self) -> STRINGSET"""
18305 return _pcbnew.BOARD_GetNetClassAssignmentCandidates(self)
18308 r"""SynchronizeNetsAndNetClasses(BOARD self, bool aResetTrackAndViaSizes)"""
18309 return _pcbnew.BOARD_SynchronizeNetsAndNetClasses(self, aResetTrackAndViaSizes)
18312 r"""SynchronizeProperties(BOARD self)"""
18313 return _pcbnew.BOARD_SynchronizeProperties(self)
18316 r"""SetAreasNetCodesFromNetNames(BOARD self) -> int"""
18317 return _pcbnew.BOARD_SetAreasNetCodesFromNetNames(self)
18320 r"""GetArea(BOARD self, int index) -> ZONE"""
18321 return _pcbnew.BOARD_GetArea(self, index)
18324 r"""GetZoneList(BOARD self, bool aIncludeZonesInFootprints=False) -> std::list< ZONE *,std::allocator< ZONE * > >"""
18325 return _pcbnew.BOARD_GetZoneList(self, aIncludeZonesInFootprints)
18328 r"""GetAreaCount(BOARD self) -> int"""
18329 return _pcbnew.BOARD_GetAreaCount(self)
18331 def AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch):
18332 r"""AddArea(BOARD self, PICKED_ITEMS_LIST * aNewZonesList, int aNetcode, PCB_LAYER_ID aLayer, VECTOR2I aStartPointPosition, ZONE_BORDER_DISPLAY_STYLE aHatch) -> ZONE"""
18333 return _pcbnew.BOARD_AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch)
18336 r"""TestZoneIntersection(BOARD self, ZONE aZone1, ZONE aZone2) -> bool"""
18337 return _pcbnew.BOARD_TestZoneIntersection(self, aZone1, aZone2)
18340 r"""GetPadFast(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD"""
18341 return _pcbnew.BOARD_GetPadFast(self, aPosition, aLayerMask)
18345 GetPad(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD
18346 GetPad(BOARD self, VECTOR2I aPosition) -> PAD
18347 GetPad(BOARD self, PCB_TRACK aTrace, ENDPOINT_T aEndPoint) -> PAD
18348 GetPad(BOARD self, PADS_VEC aPadList, VECTOR2I aPosition, LSET aLayerMask) -> PAD
18350 return _pcbnew.BOARD_GetPad(self, *args)
18353 r"""GetSortedPadListByXthenYCoord(BOARD self, PADS_VEC aVector, int aNetCode=-1)"""
18354 return _pcbnew.BOARD_GetSortedPadListByXthenYCoord(self, aVector, aNetCode)
18357 r"""GetTrackLength(BOARD self, PCB_TRACK aTrack) -> std::tuple< int,double,double >"""
18358 return _pcbnew.BOARD_GetTrackLength(self, aTrack)
18361 r"""TracksInNet(BOARD self, int aNetCode) -> TRACKS"""
18362 return _pcbnew.BOARD_TracksInNet(self, aNetCode)
18364 def GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked=False):
18365 r"""GetFootprint(BOARD self, VECTOR2I aPosition, PCB_LAYER_ID aActiveLayer, bool aVisibleOnly, bool aIgnoreLocked=False) -> FOOTPRINT"""
18366 return _pcbnew.BOARD_GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked)
18369 r"""GetMaxClearanceValue(BOARD self) -> int"""
18370 return _pcbnew.BOARD_GetMaxClearanceValue(self)
18373 r"""MapNets(BOARD self, BOARD aDestBoard)"""
18374 return _pcbnew.BOARD_MapNets(self, aDestBoard)
18377 r"""SanitizeNetcodes(BOARD self)"""
18378 return _pcbnew.BOARD_SanitizeNetcodes(self)
18381 r"""AddListener(BOARD self, BOARD_LISTENER aListener)"""
18382 return _pcbnew.BOARD_AddListener(self, aListener)
18385 r"""RemoveListener(BOARD self, BOARD_LISTENER aListener)"""
18386 return _pcbnew.BOARD_RemoveListener(self, aListener)
18389 r"""RemoveAllListeners(BOARD self)"""
18390 return _pcbnew.BOARD_RemoveAllListeners(self)
18393 r"""OnItemChanged(BOARD self, BOARD_ITEM aItem)"""
18394 return _pcbnew.BOARD_OnItemChanged(self, aItem)
18397 r"""OnItemsChanged(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aItems)"""
18398 return _pcbnew.BOARD_OnItemsChanged(self, aItems)
18401 r"""OnRatsnestChanged(BOARD self)"""
18402 return _pcbnew.BOARD_OnRatsnestChanged(self)
18405 r"""GroupsSanityCheck(BOARD self, bool repair=False) -> wxString"""
18406 return _pcbnew.BOARD_GroupsSanityCheck(self, repair)
18409 r"""GroupsSanityCheckInternal(BOARD self, bool repair) -> wxString"""
18410 return _pcbnew.BOARD_GroupsSanityCheckInternal(self, repair)
18413 r"""GroupLegalOps(BOARD self, PCB_SELECTION const & selection) -> BOARD::GroupLegalOpsField"""
18414 return _pcbnew.BOARD_GroupLegalOps(self, selection)
18417 r"""LegacyTeardrops(BOARD self) -> bool"""
18418 return _pcbnew.BOARD_LegacyTeardrops(self)
18421 r"""SetLegacyTeardrops(BOARD self, bool aFlag)"""
18422 return _pcbnew.BOARD_SetLegacyTeardrops(self, aFlag)
18423 m_ZoneBBoxCache = property(_pcbnew.BOARD_m_ZoneBBoxCache_get, _pcbnew.BOARD_m_ZoneBBoxCache_set, doc=
r"""m_ZoneBBoxCache : std::unordered_map<(p.q(const).ZONE,BOX2I)>""")
18424 m_maxClearanceValue = property(_pcbnew.BOARD_m_maxClearanceValue_get, _pcbnew.BOARD_m_maxClearanceValue_set, doc=
r"""m_maxClearanceValue : std::optional<(int)>""")
18425 m_SolderMaskBridges = property(_pcbnew.BOARD_m_SolderMaskBridges_get, _pcbnew.BOARD_m_SolderMaskBridges_set, doc=
r"""m_SolderMaskBridges : p.ZONE""")
18426 m_ZoneIsolatedIslandsMap = property(_pcbnew.BOARD_m_ZoneIsolatedIslandsMap_get, _pcbnew.BOARD_m_ZoneIsolatedIslandsMap_set, doc=
r"""m_ZoneIsolatedIslandsMap : std::map<(p.ZONE,std::map<(PCB_LAYER_ID,ISOLATED_ISLANDS,std::less<(PCB_LAYER_ID)>,std::allocator<(std::pair<(q(const).PCB_LAYER_ID,ISOLATED_ISLANDS)>)>)>,std::less<(p.ZONE)>,std::allocator<(std::pair<(q(const).p.ZONE,std::map<(PCB_LAYER_ID,ISOLATED_ISLANDS,std::less<(PCB_LAYER_ID)>,std::allocator<(std::pair<(q(const).PCB_LAYER_ID,ISOLATED_ISLANDS)>)>)>)>)>)>""")
18432 self.
this.append(this)
18459 Return a dictionary like object with key:wxString netname
and value:NETINFO_ITEM
18465 Return a dictionary like object with key:int netcode
and value:NETINFO_ITEM
18471 Given a netname, return its netcode
18474 return net.GetNetCode()
18478 Return a dictionary like object with net_class_name
as key
and NETCLASSPTR
as value
18479 GetNetClasses(BOARD self) -> { wxString net_class_name : NETCLASSPTR }
18480 Include the
"Default" netclass also.
18486 netclassmap[
'Default'] = self.
GetDesignSettings().m_NetSettings.m_DefaultNetClass
18491_pcbnew.BOARD_swigregister(BOARD)
18494 r"""BOARD_ClassOf(EDA_ITEM aItem) -> bool"""
18495 return _pcbnew.BOARD_ClassOf(aItem)
18498 r"""BOARD_GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
18499 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
18502 r"""Proxy of C++ std::map< wxString,wxString > class."""
18504 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18505 __repr__ = _swig_repr
18508 r"""iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
18509 return _pcbnew.MAP_STRING_STRING_iterator(self)
18514 r"""__nonzero__(MAP_STRING_STRING self) -> bool"""
18515 return _pcbnew.MAP_STRING_STRING___nonzero__(self)
18518 r"""__bool__(MAP_STRING_STRING self) -> bool"""
18519 return _pcbnew.MAP_STRING_STRING___bool__(self)
18522 r"""__len__(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
18523 return _pcbnew.MAP_STRING_STRING___len__(self)
18534 r"""__getitem__(MAP_STRING_STRING self, wxString key) -> wxString"""
18535 return _pcbnew.MAP_STRING_STRING___getitem__(self, key)
18538 r"""__delitem__(MAP_STRING_STRING self, wxString key)"""
18539 return _pcbnew.MAP_STRING_STRING___delitem__(self, key)
18542 r"""has_key(MAP_STRING_STRING self, wxString key) -> bool"""
18543 return _pcbnew.MAP_STRING_STRING_has_key(self, key)
18546 r"""keys(MAP_STRING_STRING self) -> PyObject *"""
18547 return _pcbnew.MAP_STRING_STRING_keys(self)
18550 r"""values(MAP_STRING_STRING self) -> PyObject *"""
18551 return _pcbnew.MAP_STRING_STRING_values(self)
18554 r"""items(MAP_STRING_STRING self) -> PyObject *"""
18555 return _pcbnew.MAP_STRING_STRING_items(self)
18558 r"""__contains__(MAP_STRING_STRING self, wxString key) -> bool"""
18559 return _pcbnew.MAP_STRING_STRING___contains__(self, key)
18562 r"""key_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
18563 return _pcbnew.MAP_STRING_STRING_key_iterator(self)
18566 r"""value_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
18567 return _pcbnew.MAP_STRING_STRING_value_iterator(self)
18571 __setitem__(MAP_STRING_STRING self, wxString key)
18572 __setitem__(MAP_STRING_STRING self, wxString key, wxString x)
18574 return _pcbnew.MAP_STRING_STRING___setitem__(self, *args)
18577 r"""asdict(MAP_STRING_STRING self) -> PyObject *"""
18578 return _pcbnew.MAP_STRING_STRING_asdict(self)
18582 __init__(MAP_STRING_STRING self, std::less< wxString > const & other) -> MAP_STRING_STRING
18583 __init__(MAP_STRING_STRING self) -> MAP_STRING_STRING
18584 __init__(MAP_STRING_STRING self, MAP_STRING_STRING other) -> MAP_STRING_STRING
18586 _pcbnew.MAP_STRING_STRING_swiginit(self, _pcbnew.new_MAP_STRING_STRING(*args))
18589 r"""empty(MAP_STRING_STRING self) -> bool"""
18590 return _pcbnew.MAP_STRING_STRING_empty(self)
18593 r"""size(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
18594 return _pcbnew.MAP_STRING_STRING_size(self)
18597 r"""swap(MAP_STRING_STRING self, MAP_STRING_STRING v)"""
18598 return _pcbnew.MAP_STRING_STRING_swap(self, v)
18601 r"""begin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
18602 return _pcbnew.MAP_STRING_STRING_begin(self)
18605 r"""end(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
18606 return _pcbnew.MAP_STRING_STRING_end(self)
18609 r"""rbegin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
18610 return _pcbnew.MAP_STRING_STRING_rbegin(self)
18613 r"""rend(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
18614 return _pcbnew.MAP_STRING_STRING_rend(self)
18617 r"""clear(MAP_STRING_STRING self)"""
18618 return _pcbnew.MAP_STRING_STRING_clear(self)
18621 r"""get_allocator(MAP_STRING_STRING self) -> std::map< wxString,wxString >::allocator_type"""
18622 return _pcbnew.MAP_STRING_STRING_get_allocator(self)
18625 r"""count(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type"""
18626 return _pcbnew.MAP_STRING_STRING_count(self, x)
18630 erase(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type
18631 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator position)
18632 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator first, std::map< wxString,wxString >::iterator last)
18634 return _pcbnew.MAP_STRING_STRING_erase(self, *args)
18637 r"""find(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
18638 return _pcbnew.MAP_STRING_STRING_find(self, x)
18641 r"""lower_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
18642 return _pcbnew.MAP_STRING_STRING_lower_bound(self, x)
18645 r"""upper_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
18646 return _pcbnew.MAP_STRING_STRING_upper_bound(self, x)
18647 __swig_destroy__ = _pcbnew.delete_MAP_STRING_STRING
18650_pcbnew.MAP_STRING_STRING_swigregister(MAP_STRING_STRING)
18652DO_NOT_INCLUDE_NPTH = _pcbnew.DO_NOT_INCLUDE_NPTH
18654INCLUDE_NPTH = _pcbnew.INCLUDE_NPTH
18656FP_THROUGH_HOLE = _pcbnew.FP_THROUGH_HOLE
18658FP_SMD = _pcbnew.FP_SMD
18660FP_EXCLUDE_FROM_POS_FILES = _pcbnew.FP_EXCLUDE_FROM_POS_FILES
18662FP_EXCLUDE_FROM_BOM = _pcbnew.FP_EXCLUDE_FROM_BOM
18664FP_BOARD_ONLY = _pcbnew.FP_BOARD_ONLY
18666FP_JUST_ADDED = _pcbnew.FP_JUST_ADDED
18668FP_ALLOW_SOLDERMASK_BRIDGES = _pcbnew.FP_ALLOW_SOLDERMASK_BRIDGES
18670FP_ALLOW_MISSING_COURTYARD = _pcbnew.FP_ALLOW_MISSING_COURTYARD
18672FP_DNP = _pcbnew.FP_DNP
18675 r"""Proxy of C++ FP_3DMODEL class."""
18677 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18678 __repr__ = _swig_repr
18681 r"""__init__(FP_3DMODEL self) -> FP_3DMODEL"""
18682 _pcbnew.FP_3DMODEL_swiginit(self, _pcbnew.new_FP_3DMODEL())
18683 m_Scale = property(_pcbnew.FP_3DMODEL_m_Scale_get, _pcbnew.FP_3DMODEL_m_Scale_set, doc=
r"""m_Scale : VECTOR3D""")
18684 m_Rotation = property(_pcbnew.FP_3DMODEL_m_Rotation_get, _pcbnew.FP_3DMODEL_m_Rotation_set, doc=
r"""m_Rotation : VECTOR3D""")
18685 m_Offset = property(_pcbnew.FP_3DMODEL_m_Offset_get, _pcbnew.FP_3DMODEL_m_Offset_set, doc=
r"""m_Offset : VECTOR3D""")
18686 m_Opacity = property(_pcbnew.FP_3DMODEL_m_Opacity_get, _pcbnew.FP_3DMODEL_m_Opacity_set, doc=
r"""m_Opacity : double""")
18687 m_Filename = property(_pcbnew.FP_3DMODEL_m_Filename_get, _pcbnew.FP_3DMODEL_m_Filename_set, doc=
r"""m_Filename : wxString""")
18688 m_Show = property(_pcbnew.FP_3DMODEL_m_Show_get, _pcbnew.FP_3DMODEL_m_Show_set, doc=
r"""m_Show : bool""")
18691 r"""__eq__(FP_3DMODEL self, FP_3DMODEL aOther) -> bool"""
18692 return _pcbnew.FP_3DMODEL___eq__(self, aOther)
18693 __swig_destroy__ = _pcbnew.delete_FP_3DMODEL
18696_pcbnew.FP_3DMODEL_swigregister(FP_3DMODEL)
18699 r"""Proxy of C++ FOOTPRINT class."""
18701 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18702 __repr__ = _swig_repr
18706 __init__(FOOTPRINT self, BOARD parent) -> FOOTPRINT
18707 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
18708 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
18710 _pcbnew.FOOTPRINT_swiginit(self, _pcbnew.new_FOOTPRINT(*args))
18711 __swig_destroy__ = _pcbnew.delete_FOOTPRINT
18715 r"""ClassOf(EDA_ITEM aItem) -> bool"""
18716 return _pcbnew.FOOTPRINT_ClassOf(aItem)
18719 r"""GetPrivateLayers(FOOTPRINT self) -> LSET"""
18720 return _pcbnew.FOOTPRINT_GetPrivateLayers(self)
18723 r"""SetPrivateLayers(FOOTPRINT self, LSET aLayers)"""
18724 return _pcbnew.FOOTPRINT_SetPrivateLayers(self, aLayers)
18727 r"""AddNative(FOOTPRINT self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
18728 return _pcbnew.FOOTPRINT_AddNative(self, *args)
18731 r"""RemoveNative(FOOTPRINT self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
18732 return _pcbnew.FOOTPRINT_RemoveNative(self, *args)
18735 r"""ClearAllNets(FOOTPRINT self)"""
18736 return _pcbnew.FOOTPRINT_ClearAllNets(self)
18739 r"""FixUuids(FOOTPRINT self) -> bool"""
18740 return _pcbnew.FOOTPRINT_FixUuids(self)
18743 r"""GetFpPadsLocalBbox(FOOTPRINT self) -> BOX2I"""
18744 return _pcbnew.FOOTPRINT_GetFpPadsLocalBbox(self)
18747 r"""GetBoundingHull(FOOTPRINT self) -> SHAPE_POLY_SET"""
18748 return _pcbnew.FOOTPRINT_GetBoundingHull(self)
18753 GetBoundingBox(FOOTPRINT self, bool aIncludeText, bool aIncludeInvisibleText) -> BOX2I
18755 return _pcbnew.FOOTPRINT_GetBoundingBox(self, *args)
18758 r"""GetLayerBoundingBox(FOOTPRINT self, LSET aLayers) -> BOX2I"""
18759 return _pcbnew.FOOTPRINT_GetLayerBoundingBox(self, aLayers)
18763 Fields(FOOTPRINT self) -> PCB_FIELDS
18764 Fields(FOOTPRINT self) -> PCB_FIELDS
18766 return _pcbnew.FOOTPRINT_Fields(self, *args)
18770 Pads(FOOTPRINT self) -> PADS
18771 Pads(FOOTPRINT self) -> PADS
18773 return _pcbnew.FOOTPRINT_Pads(self, *args)
18780 return _pcbnew.FOOTPRINT_GraphicalItems(self, *args)
18784 Zones(FOOTPRINT self) -> ZONES
18785 Zones(FOOTPRINT self) -> ZONES
18787 return _pcbnew.FOOTPRINT_Zones(self, *args)
18791 Groups(FOOTPRINT self) -> GROUPS
18792 Groups(FOOTPRINT self) -> GROUPS
18794 return _pcbnew.FOOTPRINT_Groups(self, *args)
18797 r"""HasThroughHolePads(FOOTPRINT self) -> bool"""
18798 return _pcbnew.FOOTPRINT_HasThroughHolePads(self)
18802 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
18803 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
18805 return _pcbnew.FOOTPRINT_Models(self, *args)
18808 r"""SetOrientation(FOOTPRINT self, EDA_ANGLE aNewAngle)"""
18809 return _pcbnew.FOOTPRINT_SetOrientation(self, aNewAngle)
18812 r"""GetOrientation(FOOTPRINT self) -> EDA_ANGLE"""
18813 return _pcbnew.FOOTPRINT_GetOrientation(self)
18816 r"""SetLayerAndFlip(FOOTPRINT self, PCB_LAYER_ID aLayer)"""
18817 return _pcbnew.FOOTPRINT_SetLayerAndFlip(self, aLayer)
18820 r"""SetOrientationDegrees(FOOTPRINT self, double aOrientation)"""
18821 return _pcbnew.FOOTPRINT_SetOrientationDegrees(self, aOrientation)
18824 r"""GetOrientationDegrees(FOOTPRINT self) -> double"""
18825 return _pcbnew.FOOTPRINT_GetOrientationDegrees(self)
18828 r"""GetFPID(FOOTPRINT self) -> LIB_ID"""
18829 return _pcbnew.FOOTPRINT_GetFPID(self)
18832 r"""SetFPID(FOOTPRINT self, LIB_ID aFPID)"""
18833 return _pcbnew.FOOTPRINT_SetFPID(self, aFPID)
18836 r"""GetFPIDAsString(FOOTPRINT self) -> wxString"""
18837 return _pcbnew.FOOTPRINT_GetFPIDAsString(self)
18840 r"""SetFPIDAsString(FOOTPRINT self, wxString aFPID)"""
18841 return _pcbnew.FOOTPRINT_SetFPIDAsString(self, aFPID)
18844 r"""GetLibDescription(FOOTPRINT self) -> wxString"""
18845 return _pcbnew.FOOTPRINT_GetLibDescription(self)
18848 r"""SetLibDescription(FOOTPRINT self, wxString aDesc)"""
18849 return _pcbnew.FOOTPRINT_SetLibDescription(self, aDesc)
18852 r"""GetKeywords(FOOTPRINT self) -> wxString"""
18853 return _pcbnew.FOOTPRINT_GetKeywords(self)
18856 r"""SetKeywords(FOOTPRINT self, wxString aKeywords)"""
18857 return _pcbnew.FOOTPRINT_SetKeywords(self, aKeywords)
18860 r"""GetPath(FOOTPRINT self) -> KIID_PATH"""
18861 return _pcbnew.FOOTPRINT_GetPath(self)
18864 r"""SetPath(FOOTPRINT self, KIID_PATH aPath)"""
18865 return _pcbnew.FOOTPRINT_SetPath(self, aPath)
18868 r"""GetSheetname(FOOTPRINT self) -> wxString"""
18869 return _pcbnew.FOOTPRINT_GetSheetname(self)
18872 r"""SetSheetname(FOOTPRINT self, wxString aSheetname)"""
18873 return _pcbnew.FOOTPRINT_SetSheetname(self, aSheetname)
18876 r"""GetSheetfile(FOOTPRINT self) -> wxString"""
18877 return _pcbnew.FOOTPRINT_GetSheetfile(self)
18880 r"""SetSheetfile(FOOTPRINT self, wxString aSheetfile)"""
18881 return _pcbnew.FOOTPRINT_SetSheetfile(self, aSheetfile)
18884 r"""GetFilters(FOOTPRINT self) -> wxString"""
18885 return _pcbnew.FOOTPRINT_GetFilters(self)
18888 r"""SetFilters(FOOTPRINT self, wxString aFilters)"""
18889 return _pcbnew.FOOTPRINT_SetFilters(self, aFilters)
18892 r"""GetLocalSolderMaskMargin(FOOTPRINT self) -> int"""
18893 return _pcbnew.FOOTPRINT_GetLocalSolderMaskMargin(self)
18896 r"""SetLocalSolderMaskMargin(FOOTPRINT self, int aMargin)"""
18897 return _pcbnew.FOOTPRINT_SetLocalSolderMaskMargin(self, aMargin)
18900 r"""SetLocalClearance(FOOTPRINT self, int aClearance)"""
18901 return _pcbnew.FOOTPRINT_SetLocalClearance(self, aClearance)
18908 return _pcbnew.FOOTPRINT_GetLocalClearance(self, *args)
18911 r"""GetLocalSolderPasteMargin(FOOTPRINT self) -> int"""
18912 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMargin(self)
18915 r"""SetLocalSolderPasteMargin(FOOTPRINT self, int aMargin)"""
18916 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMargin(self, aMargin)
18919 r"""GetLocalSolderPasteMarginRatio(FOOTPRINT self) -> double"""
18920 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMarginRatio(self)
18923 r"""SetLocalSolderPasteMarginRatio(FOOTPRINT self, double aRatio)"""
18924 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMarginRatio(self, aRatio)
18927 r"""SetZoneConnection(FOOTPRINT self, ZONE_CONNECTION aType)"""
18928 return _pcbnew.FOOTPRINT_SetZoneConnection(self, aType)
18931 r"""GetZoneConnection(FOOTPRINT self) -> ZONE_CONNECTION"""
18932 return _pcbnew.FOOTPRINT_GetZoneConnection(self)
18935 r"""GetAttributes(FOOTPRINT self) -> int"""
18936 return _pcbnew.FOOTPRINT_GetAttributes(self)
18939 r"""SetAttributes(FOOTPRINT self, int aAttributes)"""
18940 return _pcbnew.FOOTPRINT_SetAttributes(self, aAttributes)
18943 r"""SetFlag(FOOTPRINT self, int aFlag)"""
18944 return _pcbnew.FOOTPRINT_SetFlag(self, aFlag)
18947 r"""IncrementFlag(FOOTPRINT self)"""
18948 return _pcbnew.FOOTPRINT_IncrementFlag(self)
18951 r"""GetFlag(FOOTPRINT self) -> int"""
18952 return _pcbnew.FOOTPRINT_GetFlag(self)
18955 r"""IsNetTie(FOOTPRINT self) -> bool"""
18956 return _pcbnew.FOOTPRINT_IsNetTie(self)
18959 r"""GetNetTiePadGroups(FOOTPRINT self) -> std::vector< wxString,std::allocator< wxString > > const &"""
18960 return _pcbnew.FOOTPRINT_GetNetTiePadGroups(self)
18963 r"""ClearNetTiePadGroups(FOOTPRINT self)"""
18964 return _pcbnew.FOOTPRINT_ClearNetTiePadGroups(self)
18967 r"""AddNetTiePadGroup(FOOTPRINT self, wxString aGroup)"""
18968 return _pcbnew.FOOTPRINT_AddNetTiePadGroup(self, aGroup)
18971 r"""MapPadNumbersToNetTieGroups(FOOTPRINT self) -> std::map< wxString,int,std::less< wxString >,std::allocator< std::pair< wxString const,int > > >"""
18972 return _pcbnew.FOOTPRINT_MapPadNumbersToNetTieGroups(self)
18975 r"""GetNetTiePads(FOOTPRINT self, PAD aPad) -> PADS_VEC"""
18976 return _pcbnew.FOOTPRINT_GetNetTiePads(self, aPad)
18979 r"""GetLikelyAttribute(FOOTPRINT self) -> int"""
18980 return _pcbnew.FOOTPRINT_GetLikelyAttribute(self)
18983 r"""MoveAnchorPosition(FOOTPRINT self, VECTOR2I aMoveVector)"""
18984 return _pcbnew.FOOTPRINT_MoveAnchorPosition(self, aMoveVector)
18987 r"""IsFlipped(FOOTPRINT self) -> bool"""
18988 return _pcbnew.FOOTPRINT_IsFlipped(self)
18991 r"""GetSide(FOOTPRINT self) -> PCB_LAYER_ID"""
18992 return _pcbnew.FOOTPRINT_GetSide(self)
18995 r"""IsConflicting(FOOTPRINT self) -> bool"""
18996 return _pcbnew.FOOTPRINT_IsConflicting(self)
18999 r"""IsPlaced(FOOTPRINT self) -> bool"""
19000 return _pcbnew.FOOTPRINT_IsPlaced(self)
19003 r"""SetIsPlaced(FOOTPRINT self, bool isPlaced)"""
19004 return _pcbnew.FOOTPRINT_SetIsPlaced(self, isPlaced)
19007 r"""NeedsPlaced(FOOTPRINT self) -> bool"""
19008 return _pcbnew.FOOTPRINT_NeedsPlaced(self)
19011 r"""SetNeedsPlaced(FOOTPRINT self, bool needsPlaced)"""
19012 return _pcbnew.FOOTPRINT_SetNeedsPlaced(self, needsPlaced)
19015 r"""LegacyPadsLocked(FOOTPRINT self) -> bool"""
19016 return _pcbnew.FOOTPRINT_LegacyPadsLocked(self)
19019 r"""CheckFootprintAttributes(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
19020 return _pcbnew.FOOTPRINT_CheckFootprintAttributes(self, aErrorHandler)
19023 r"""CheckPads(FOOTPRINT self, UNITS_PROVIDER aUnitsProvider, std::function< void (PAD const *,int,wxString const &) > const & aErrorHandler)"""
19024 return _pcbnew.FOOTPRINT_CheckPads(self, aUnitsProvider, aErrorHandler)
19027 r"""CheckShortingPads(FOOTPRINT self, std::function< void (PAD const *,PAD const *,VECTOR2I const &) > const & aErrorHandler)"""
19028 return _pcbnew.FOOTPRINT_CheckShortingPads(self, aErrorHandler)
19031 r"""CheckNetTies(FOOTPRINT self, std::function< void (BOARD_ITEM const *,BOARD_ITEM const *,BOARD_ITEM const *,VECTOR2I const &) > const & aErrorHandler)"""
19032 return _pcbnew.FOOTPRINT_CheckNetTies(self, aErrorHandler)
19035 r"""CheckNetTiePadGroups(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
19036 return _pcbnew.FOOTPRINT_CheckNetTiePadGroups(self, aErrorHandler)
19038 def TransformPadsToPolySet(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper=False, aSkipPlatedPads=False, aSkipNonPlatedPads=False):
19039 r"""TransformPadsToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aSkipNPTHPadsWihNoCopper=False, bool aSkipPlatedPads=False, bool aSkipNonPlatedPads=False)"""
19040 return _pcbnew.FOOTPRINT_TransformPadsToPolySet(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper, aSkipPlatedPads, aSkipNonPlatedPads)
19042 def TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText=True, aIncludeShapes=True, aIncludePrivateItems=False):
19043 r"""TransformFPShapesToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIncludeText=True, bool aIncludeShapes=True, bool aIncludePrivateItems=False)"""
19044 return _pcbnew.FOOTPRINT_TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText, aIncludeShapes, aIncludePrivateItems)
19047 r"""TransformFPTextToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
19048 return _pcbnew.FOOTPRINT_TransformFPTextToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc)
19051 r"""GetContextualTextVars(FOOTPRINT self, wxArrayString * aVars)"""
19052 return _pcbnew.FOOTPRINT_GetContextualTextVars(self, aVars)
19055 r"""ResolveTextVar(FOOTPRINT self, wxString token, int aDepth=0) -> bool"""
19056 return _pcbnew.FOOTPRINT_ResolveTextVar(self, token, aDepth)
19059 r"""HitTestAccurate(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool"""
19060 return _pcbnew.FOOTPRINT_HitTestAccurate(self, aPosition, aAccuracy)
19064 HitTest(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool
19065 HitTest(FOOTPRINT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
19067 return _pcbnew.FOOTPRINT_HitTest(self, *args)
19071 HitTestOnLayer(FOOTPRINT self, VECTOR2I aPosition, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
19072 HitTestOnLayer(FOOTPRINT self, BOX2I aRect, bool aContained, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
19074 return _pcbnew.FOOTPRINT_HitTestOnLayer(self, *args)
19077 r"""GetReference(FOOTPRINT self) -> wxString"""
19078 return _pcbnew.FOOTPRINT_GetReference(self)
19081 r"""SetReference(FOOTPRINT self, wxString aReference)"""
19082 return _pcbnew.FOOTPRINT_SetReference(self, aReference)
19085 r"""GetReferenceAsString(FOOTPRINT self) -> wxString"""
19086 return _pcbnew.FOOTPRINT_GetReferenceAsString(self)
19089 r"""IncrementReference(FOOTPRINT self, int aDelta)"""
19090 return _pcbnew.FOOTPRINT_IncrementReference(self, aDelta)
19093 r"""GetValue(FOOTPRINT self) -> wxString"""
19094 return _pcbnew.FOOTPRINT_GetValue(self)
19097 r"""SetValue(FOOTPRINT self, wxString aValue)"""
19098 return _pcbnew.FOOTPRINT_SetValue(self, aValue)
19101 r"""GetValueAsString(FOOTPRINT self) -> wxString"""
19102 return _pcbnew.FOOTPRINT_GetValueAsString(self)
19106 Value(FOOTPRINT self) -> PCB_FIELD
19107 Value(FOOTPRINT self) -> PCB_FIELD
19109 return _pcbnew.FOOTPRINT_Value(self, *args)
19116 return _pcbnew.FOOTPRINT_Reference(self, *args)
19123 return _pcbnew.FOOTPRINT_Footprint(self, *args)
19127 GetField(FOOTPRINT self, MANDATORY_FIELD_T aFieldType) -> PCB_FIELD
19128 GetField(FOOTPRINT self, MANDATORY_FIELD_T aFieldNdx) -> PCB_FIELD
19130 return _pcbnew.FOOTPRINT_GetField(self, *args)
19133 r"""GetFieldById(FOOTPRINT self, int aFieldId) -> PCB_FIELD"""
19134 return _pcbnew.FOOTPRINT_GetFieldById(self, aFieldId)
19137 r"""GetFieldByName(FOOTPRINT self, wxString aFieldName) -> PCB_FIELD"""
19138 return _pcbnew.FOOTPRINT_GetFieldByName(self, aFieldName)
19141 r"""HasFieldByName(FOOTPRINT self, wxString aFieldName) -> bool"""
19142 return _pcbnew.FOOTPRINT_HasFieldByName(self, aFieldName)
19145 r"""GetFieldText(FOOTPRINT self, wxString aFieldName) -> wxString"""
19146 return _pcbnew.FOOTPRINT_GetFieldText(self, aFieldName)
19150 GetFields(FOOTPRINT self, std::vector< PCB_FIELD *,std::allocator< PCB_FIELD * > > & aVector, bool aVisibleOnly)
19151 GetFields(FOOTPRINT self) -> PCB_FIELDS
19152 GetFields(FOOTPRINT self) -> PCB_FIELDS
19154 return _pcbnew.FOOTPRINT_GetFields(self, *args)
19157 r"""AddField(FOOTPRINT self, PCB_FIELD aField) -> PCB_FIELD"""
19158 return _pcbnew.FOOTPRINT_AddField(self, aField)
19161 r"""RemoveField(FOOTPRINT self, wxString aFieldName)"""
19162 return _pcbnew.FOOTPRINT_RemoveField(self, aFieldName)
19165 r"""GetFieldCount(FOOTPRINT self) -> int"""
19166 return _pcbnew.FOOTPRINT_GetFieldCount(self)
19169 r"""ApplyDefaultSettings(FOOTPRINT self, BOARD board, bool aStyleFields, bool aStyleText, bool aStyleShapes)"""
19170 return _pcbnew.FOOTPRINT_ApplyDefaultSettings(self, board, aStyleFields, aStyleText, aStyleShapes)
19173 r"""IsBoardOnly(FOOTPRINT self) -> bool"""
19174 return _pcbnew.FOOTPRINT_IsBoardOnly(self)
19177 r"""SetBoardOnly(FOOTPRINT self, bool aIsBoardOnly=True)"""
19178 return _pcbnew.FOOTPRINT_SetBoardOnly(self, aIsBoardOnly)
19181 r"""IsExcludedFromPosFiles(FOOTPRINT self) -> bool"""
19182 return _pcbnew.FOOTPRINT_IsExcludedFromPosFiles(self)
19185 r"""SetExcludedFromPosFiles(FOOTPRINT self, bool aExclude=True)"""
19186 return _pcbnew.FOOTPRINT_SetExcludedFromPosFiles(self, aExclude)
19189 r"""IsExcludedFromBOM(FOOTPRINT self) -> bool"""
19190 return _pcbnew.FOOTPRINT_IsExcludedFromBOM(self)
19193 r"""SetExcludedFromBOM(FOOTPRINT self, bool aExclude=True)"""
19194 return _pcbnew.FOOTPRINT_SetExcludedFromBOM(self, aExclude)
19197 r"""AllowMissingCourtyard(FOOTPRINT self) -> bool"""
19198 return _pcbnew.FOOTPRINT_AllowMissingCourtyard(self)
19201 r"""SetAllowMissingCourtyard(FOOTPRINT self, bool aAllow=True)"""
19202 return _pcbnew.FOOTPRINT_SetAllowMissingCourtyard(self, aAllow)
19205 r"""IsDNP(FOOTPRINT self) -> bool"""
19206 return _pcbnew.FOOTPRINT_IsDNP(self)
19209 r"""SetDNP(FOOTPRINT self, bool aDNP=True)"""
19210 return _pcbnew.FOOTPRINT_SetDNP(self, aDNP)
19213 r"""SetFileFormatVersionAtLoad(FOOTPRINT self, int aVersion)"""
19214 return _pcbnew.FOOTPRINT_SetFileFormatVersionAtLoad(self, aVersion)
19217 r"""GetFileFormatVersionAtLoad(FOOTPRINT self) -> int"""
19218 return _pcbnew.FOOTPRINT_GetFileFormatVersionAtLoad(self)
19221 r"""FindPadByNumber(FOOTPRINT self, wxString aPadNumber, PAD aSearchAfterMe=None) -> PAD"""
19222 return _pcbnew.FOOTPRINT_FindPadByNumber(self, aPadNumber, aSearchAfterMe)
19225 r"""GetPad(FOOTPRINT self, VECTOR2I aPosition, LSET aLayerMask=LSET::AllLayersMask()) -> PAD"""
19226 return _pcbnew.FOOTPRINT_GetPad(self, *args)
19229 r"""GetPads(FOOTPRINT self, wxString aPadNumber, PAD aIgnore=None) -> std::vector< PAD const *,std::allocator< PAD const * > >"""
19230 return _pcbnew.FOOTPRINT_GetPads(self, aPadNumber, aIgnore)
19233 r"""GetPadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
19234 return _pcbnew.FOOTPRINT_GetPadCount(self, *args)
19237 r"""GetUniquePadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
19238 return _pcbnew.FOOTPRINT_GetUniquePadCount(self, *args)
19241 r"""GetUniquePadNumbers(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> STRINGSET"""
19242 return _pcbnew.FOOTPRINT_GetUniquePadNumbers(self, *args)
19245 r"""GetNextPadNumber(FOOTPRINT self, wxString aLastPadName) -> wxString"""
19246 return _pcbnew.FOOTPRINT_GetNextPadNumber(self, aLastPadName)
19249 r"""AutoPositionFields(FOOTPRINT self)"""
19250 return _pcbnew.FOOTPRINT_AutoPositionFields(self)
19253 r"""GetTypeName(FOOTPRINT self) -> wxString"""
19254 return _pcbnew.FOOTPRINT_GetTypeName(self)
19257 r"""GetArea(FOOTPRINT self, int aPadding=0) -> double"""
19258 return _pcbnew.FOOTPRINT_GetArea(self, aPadding)
19261 r"""GetLink(FOOTPRINT self) -> KIID"""
19262 return _pcbnew.FOOTPRINT_GetLink(self)
19265 r"""SetLink(FOOTPRINT self, KIID aLink)"""
19266 return _pcbnew.FOOTPRINT_SetLink(self, aLink)
19269 r"""DuplicateItem(FOOTPRINT self, BOARD_ITEM aItem, bool aAddToFootprint=False) -> BOARD_ITEM"""
19270 return _pcbnew.FOOTPRINT_DuplicateItem(self, aItem, aAddToFootprint)
19273 r"""Add3DModel(FOOTPRINT self, FP_3DMODEL a3DModel)"""
19274 return _pcbnew.FOOTPRINT_Add3DModel(self, a3DModel)
19277 r"""RunOnDescendants(FOOTPRINT self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
19278 return _pcbnew.FOOTPRINT_RunOnDescendants(self, aFunction, aDepth)
19281 r"""ViewGetLOD(FOOTPRINT self, int aLayer, KIGFX::VIEW * aView) -> double"""
19282 return _pcbnew.FOOTPRINT_ViewGetLOD(self, aLayer, aView)
19286 r"""IsLibNameValid(wxString aName) -> bool"""
19287 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
19291 r"""StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
19292 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
19295 r"""FootprintNeedsUpdate(FOOTPRINT self, FOOTPRINT aLibFP, int aCompareFlags=0, REPORTER * aReporter=None) -> bool"""
19296 return _pcbnew.FOOTPRINT_FootprintNeedsUpdate(self, aLibFP, aCompareFlags, aReporter)
19299 r"""SetInitialComments(FOOTPRINT self, wxArrayString * aInitialComments)"""
19300 return _pcbnew.FOOTPRINT_SetInitialComments(self, aInitialComments)
19303 r"""CoverageRatio(FOOTPRINT self, GENERAL_COLLECTOR const & aCollector) -> double"""
19304 return _pcbnew.FOOTPRINT_CoverageRatio(self, aCollector)
19308 r"""GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
19309 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
19312 r"""GetInitialComments(FOOTPRINT self) -> wxArrayString const *"""
19313 return _pcbnew.FOOTPRINT_GetInitialComments(self)
19316 r"""GetCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
19317 return _pcbnew.FOOTPRINT_GetCourtyard(self, aLayer)
19320 r"""GetCachedCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
19321 return _pcbnew.FOOTPRINT_GetCachedCourtyard(self, aLayer)
19324 r"""BuildCourtyardCaches(FOOTPRINT self, OUTLINE_ERROR_HANDLER * aErrorHandler=None)"""
19325 return _pcbnew.FOOTPRINT_BuildCourtyardCaches(self, aErrorHandler)
19328 r"""GetEffectiveShape(FOOTPRINT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
19329 return _pcbnew.FOOTPRINT_GetEffectiveShape(self, *args)
19341 """ Returns footprint fields name to text map. """
19343 return {str(field.GetName()): str(field.GetText())
for field
in fields}
19346 """ Returns footprint fields name to shown text map. """
19348 return {str(field.GetName()): str(field.GetShownText(
False))
for field
in fields}
19351 """ Returns Field text with a given key if it exists, throws KeyError otherwise. """
19355 raise KeyError(
"Field not found: " + key)
19358 """ Returns Field shown text with a given key if it exists, throws KeyError otherwise. """
19362 raise KeyError(
"Field not found: " + key)
19369 field.SetText(value)
19376 """ Sets footprint fields map. """
19377 for k, v
in fields.items():
19383_pcbnew.FOOTPRINT_swigregister(FOOTPRINT)
19386 r"""FOOTPRINT_ClassOf(EDA_ITEM aItem) -> bool"""
19387 return _pcbnew.FOOTPRINT_ClassOf(aItem)
19388FP_is_LOCKED = _pcbnew.FP_is_LOCKED
19390FP_is_PLACED = _pcbnew.FP_is_PLACED
19392FP_to_PLACE = _pcbnew.FP_to_PLACE
19394FP_PADS_are_LOCKED = _pcbnew.FP_PADS_are_LOCKED
19398 r"""FOOTPRINT_IsLibNameValid(wxString aName) -> bool"""
19399 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
19402 r"""FOOTPRINT_StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
19403 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
19406 r"""FOOTPRINT_GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
19407 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
19410 r"""Proxy of C++ FOOTPRINT::cmp_drawings class."""
19412 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19413 __repr__ = _swig_repr
19416 r"""__call__(cmp_drawings self, BOARD_ITEM itemA, BOARD_ITEM itemB) -> bool"""
19417 return _pcbnew.cmp_drawings___call__(self, itemA, itemB)
19420 r"""__init__(cmp_drawings self) -> cmp_drawings"""
19421 _pcbnew.cmp_drawings_swiginit(self, _pcbnew.new_cmp_drawings())
19422 __swig_destroy__ = _pcbnew.delete_cmp_drawings
19425_pcbnew.cmp_drawings_swigregister(cmp_drawings)
19428 r"""Proxy of C++ FOOTPRINT::cmp_pads class."""
19430 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19431 __repr__ = _swig_repr
19434 r"""__call__(cmp_pads self, PAD aFirst, PAD aSecond) -> bool"""
19435 return _pcbnew.cmp_pads___call__(self, aFirst, aSecond)
19438 r"""__init__(cmp_pads self) -> cmp_pads"""
19439 _pcbnew.cmp_pads_swiginit(self, _pcbnew.new_cmp_pads())
19440 __swig_destroy__ = _pcbnew.delete_cmp_pads
19443_pcbnew.cmp_pads_swigregister(cmp_pads)
19446 r"""Proxy of C++ FOOTPRINT::cmp_padstack class."""
19448 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19449 __repr__ = _swig_repr
19452 r"""__call__(cmp_padstack self, PAD aFirst, PAD aSecond) -> bool"""
19453 return _pcbnew.cmp_padstack___call__(self, aFirst, aSecond)
19456 r"""__init__(cmp_padstack self) -> cmp_padstack"""
19457 _pcbnew.cmp_padstack_swiginit(self, _pcbnew.new_cmp_padstack())
19458 __swig_destroy__ = _pcbnew.delete_cmp_padstack
19461_pcbnew.cmp_padstack_swigregister(cmp_padstack)
19464 r"""Proxy of C++ FOOTPRINT::cmp_zones class."""
19466 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19467 __repr__ = _swig_repr
19470 r"""__call__(cmp_zones self, ZONE aFirst, ZONE aSecond) -> bool"""
19471 return _pcbnew.cmp_zones___call__(self, aFirst, aSecond)
19474 r"""__init__(cmp_zones self) -> cmp_zones"""
19475 _pcbnew.cmp_zones_swiginit(self, _pcbnew.new_cmp_zones())
19476 __swig_destroy__ = _pcbnew.delete_cmp_zones
19479_pcbnew.cmp_zones_swigregister(cmp_zones)
19482 r"""Proxy of C++ std::vector< FP_3DMODEL > class."""
19484 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19485 __repr__ = _swig_repr
19488 r"""iterator(VECTOR_FP_3DMODEL self) -> SwigPyIterator"""
19489 return _pcbnew.VECTOR_FP_3DMODEL_iterator(self)
19494 r"""__nonzero__(VECTOR_FP_3DMODEL self) -> bool"""
19495 return _pcbnew.VECTOR_FP_3DMODEL___nonzero__(self)
19498 r"""__bool__(VECTOR_FP_3DMODEL self) -> bool"""
19499 return _pcbnew.VECTOR_FP_3DMODEL___bool__(self)
19502 r"""__len__(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
19503 return _pcbnew.VECTOR_FP_3DMODEL___len__(self)
19506 r"""__getslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j) -> VECTOR_FP_3DMODEL"""
19507 return _pcbnew.VECTOR_FP_3DMODEL___getslice__(self, i, j)
19511 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)
19512 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j, VECTOR_FP_3DMODEL v)
19514 return _pcbnew.VECTOR_FP_3DMODEL___setslice__(self, *args)
19517 r"""__delslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)"""
19518 return _pcbnew.VECTOR_FP_3DMODEL___delslice__(self, i, j)
19522 __delitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i)
19523 __delitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice)
19525 return _pcbnew.VECTOR_FP_3DMODEL___delitem__(self, *args)
19529 __getitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice) -> VECTOR_FP_3DMODEL
19530 __getitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i) -> FP_3DMODEL
19532 return _pcbnew.VECTOR_FP_3DMODEL___getitem__(self, *args)
19536 __setitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice, VECTOR_FP_3DMODEL v)
19537 __setitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice)
19538 __setitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, FP_3DMODEL x)
19540 return _pcbnew.VECTOR_FP_3DMODEL___setitem__(self, *args)
19543 r"""pop(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
19544 return _pcbnew.VECTOR_FP_3DMODEL_pop(self)
19547 r"""append(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
19548 return _pcbnew.VECTOR_FP_3DMODEL_append(self, x)
19551 r"""empty(VECTOR_FP_3DMODEL self) -> bool"""
19552 return _pcbnew.VECTOR_FP_3DMODEL_empty(self)
19555 r"""size(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
19556 return _pcbnew.VECTOR_FP_3DMODEL_size(self)
19559 r"""swap(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL v)"""
19560 return _pcbnew.VECTOR_FP_3DMODEL_swap(self, v)
19563 r"""begin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
19564 return _pcbnew.VECTOR_FP_3DMODEL_begin(self)
19567 r"""end(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
19568 return _pcbnew.VECTOR_FP_3DMODEL_end(self)
19571 r"""rbegin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
19572 return _pcbnew.VECTOR_FP_3DMODEL_rbegin(self)
19575 r"""rend(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
19576 return _pcbnew.VECTOR_FP_3DMODEL_rend(self)
19579 r"""clear(VECTOR_FP_3DMODEL self)"""
19580 return _pcbnew.VECTOR_FP_3DMODEL_clear(self)
19583 r"""get_allocator(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::allocator_type"""
19584 return _pcbnew.VECTOR_FP_3DMODEL_get_allocator(self)
19587 r"""pop_back(VECTOR_FP_3DMODEL self)"""
19588 return _pcbnew.VECTOR_FP_3DMODEL_pop_back(self)
19592 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos) -> std::vector< FP_3DMODEL >::iterator
19593 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator first, std::vector< FP_3DMODEL >::iterator last) -> std::vector< FP_3DMODEL >::iterator
19595 return _pcbnew.VECTOR_FP_3DMODEL_erase(self, *args)
19599 __init__(VECTOR_FP_3DMODEL self) -> VECTOR_FP_3DMODEL
19600 __init__(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL other) -> VECTOR_FP_3DMODEL
19601 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size) -> VECTOR_FP_3DMODEL
19602 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size, FP_3DMODEL value) -> VECTOR_FP_3DMODEL
19604 _pcbnew.VECTOR_FP_3DMODEL_swiginit(self, _pcbnew.new_VECTOR_FP_3DMODEL(*args))
19607 r"""push_back(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
19608 return _pcbnew.VECTOR_FP_3DMODEL_push_back(self, x)
19611 r"""front(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
19612 return _pcbnew.VECTOR_FP_3DMODEL_front(self)
19615 r"""back(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
19616 return _pcbnew.VECTOR_FP_3DMODEL_back(self)
19619 r"""assign(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)"""
19620 return _pcbnew.VECTOR_FP_3DMODEL_assign(self, n, x)
19624 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size)
19625 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size, FP_3DMODEL x)
19627 return _pcbnew.VECTOR_FP_3DMODEL_resize(self, *args)
19631 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, FP_3DMODEL x) -> std::vector< FP_3DMODEL >::iterator
19632 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)
19634 return _pcbnew.VECTOR_FP_3DMODEL_insert(self, *args)
19637 r"""reserve(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n)"""
19638 return _pcbnew.VECTOR_FP_3DMODEL_reserve(self, n)
19641 r"""capacity(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
19642 return _pcbnew.VECTOR_FP_3DMODEL_capacity(self)
19643 __swig_destroy__ = _pcbnew.delete_VECTOR_FP_3DMODEL
19646_pcbnew.VECTOR_FP_3DMODEL_swigregister(VECTOR_FP_3DMODEL)
19650 plugin_type = PCB_IO_MGR.GuessPluginTypeFromLibPath( libname );
19651 return PCB_IO_MGR.PluginFind(plugin_type)
19655 return plug.FootprintEnumerate(libname)
19659 return plug.FootprintLoad(libname,name,preserveUUID)
19663 return plug.FootprintSave(libname,module)
19667 plug.FootprintDelete(libname,name)
19671 plug.CreateLibrary(libname)
19675 plug.DeleteLibrary(libname)
19679 plug.FootprintLibIsWritable(libname)
19682 r"""Proxy of C++ PYTHON_FOOTPRINT_WIZARD_LIST class."""
19684 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19685 __repr__ = _swig_repr
19689 r"""register_wizard(PyObject * wizard)"""
19690 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
19694 r"""deregister_wizard(PyObject * wizard)"""
19695 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
19698 r"""__init__(PYTHON_FOOTPRINT_WIZARD_LIST self) -> PYTHON_FOOTPRINT_WIZARD_LIST"""
19699 _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swiginit(self, _pcbnew.new_PYTHON_FOOTPRINT_WIZARD_LIST())
19700 __swig_destroy__ = _pcbnew.delete_PYTHON_FOOTPRINT_WIZARD_LIST
19703_pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swigregister(PYTHON_FOOTPRINT_WIZARD_LIST)
19706 r"""PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(PyObject * wizard)"""
19707 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
19710 r"""PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(PyObject * wizard)"""
19711 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
19714 r"""Proxy of C++ PYTHON_ACTION_PLUGINS class."""
19716 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19717 __repr__ = _swig_repr
19721 r"""register_action(PyObject * wizard)"""
19722 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
19726 r"""deregister_action(PyObject * wizard)"""
19727 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
19730 r"""__init__(PYTHON_ACTION_PLUGINS self) -> PYTHON_ACTION_PLUGINS"""
19731 _pcbnew.PYTHON_ACTION_PLUGINS_swiginit(self, _pcbnew.new_PYTHON_ACTION_PLUGINS())
19732 __swig_destroy__ = _pcbnew.delete_PYTHON_ACTION_PLUGINS
19735_pcbnew.PYTHON_ACTION_PLUGINS_swigregister(PYTHON_ACTION_PLUGINS)
19738 r"""PYTHON_ACTION_PLUGINS_register_action(PyObject * wizard)"""
19739 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
19742 r"""PYTHON_ACTION_PLUGINS_deregister_action(PyObject * wizard)"""
19743 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
19747 if type(iu)
in [int,float]:
19748 return float(iu) / float(pcbIUScale.IU_PER_MM)
19749 elif type(iu)
in [wxPoint,wxSize,VECTOR2I]:
19750 return tuple(map(ToMM,iu))
19752 raise TypeError(
"ToMM() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(iu)))
19755 if type(mm)
in [int,float]:
19756 return int(float(mm) * float(pcbIUScale.IU_PER_MM))
19757 elif type(mm)
in [wxPoint,wxSize,VECTOR2I]:
19758 return tuple(map(FromMM,mm))
19760 raise TypeError(
"FromMM() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(mm)))
19763 if type(iu)
in [int,float]:
19764 return float(iu) / float(pcbIUScale.IU_PER_MILS)
19765 elif type(iu)
in [wxPoint,wxSize,VECTOR2I]:
19766 return tuple(map(ToMils,iu))
19768 raise TypeError(
"ToMils() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(iu)))
19771 if type(mils)
in [int,float]:
19772 return int(float(mils)*float(pcbIUScale.IU_PER_MILS))
19773 elif type(mils)
in [wxPoint,wxSize,VECTOR2I]:
19774 return tuple(map(FromMils,mils))
19776 raise TypeError(
"FromMils() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(mils)))
19779 thresh =
FromMM(gridSizeMM)
19780 return round(value/thresh)*thresh
19784 return round(value/thresh)*thresh
19809 return wxRect(x,y,wx,wy)
19816 return wxRect(x,y,wx,wy)
19820 """Return the semantic version of KiCad"""
19824 """Return the full, git-based version of KiCad"""
def GetShowToolbarButton(self)
def GetIconFileName(self, dark)
def GetCategoryName(self)
def __init__(self, *args, **kwargs)
def GetOwnClearance(self, aLayer, aSource=None)
def GetLocalClearance(self, aSource)
def SetTeardropsEnabled(self, aEnable)
def SetTeardropBestWidthRatio(self, aRatio)
def __init__(self, *args, **kwargs)
def GetLocalClearanceOverrides(self, aSource)
def SetLocalRatsnestVisible(self, aVisible)
def SetTeardropMaxTrackWidth(self, aRatio)
def GetTeardropAllowSpanTwoTracks(self)
def GetTeardropMaxLength(self)
def GetDisplayNetname(self)
def SetTeardropCurvePts(self, aPointCount)
def GetTeardropParams(self, *args)
def GetTeardropBestWidthRatio(self)
def GetNetClassName(self)
def SetNetCode(self, *args)
def GetTeardropCurvePts(self)
def GetTeardropMaxTrackWidth(self)
def SetTeardropAllowSpanTwoTracks(self, aAllow)
def SetTeardropMaxWidth(self, aMaxWidth)
def GetLocalRatsnestVisible(self)
def GetShortNetname(self)
def SetTeardropBestLengthRatio(self, aRatio)
def GetTeardropBestLengthRatio(self)
def GetTeardropMaxWidth(self)
def GetTeardropPreferZoneConnections(self)
def GetTeardropsEnabled(self)
def GetEffectiveNetClass(self)
def SetNet(self, aNetInfo)
def SetTeardropPreferZoneConnections(self, aPrefer)
def SetTeardropMaxLength(self, aMaxLength)
def GetEnabledLayers(self)
def SetAuxOrigin(self, aOrigin)
def IsLayerEnabled(self, aLayerId)
def GetCustomDiffPairWidth(self)
def GetLineThickness(self, aLayer)
def GetTextSize(self, aLayer)
def GetDiffPairIndex(self)
def SetEnabledLayers(self, aMask)
def SetDefaultZoneSettings(self, aSettings)
def UseCustomDiffPairDimensions(self, *args)
def SetCustomDiffPairGap(self, aGap)
def GetLayerClass(self, aLayer)
def LoadFromFile(self, *args)
def UseNetClassDiffPair(self)
def GetCurrentViaSize(self)
def GetCurrentDiffPairWidth(self)
def GetTeadropParamsList(self)
def SetBoardThickness(self, aThickness)
def GetBoardThickness(self)
def GetSeverity(self, aDRCErrorCode)
def GetCustomTrackWidth(self)
def GetCustomViaSize(self)
def GetHolePlatingThickness(self)
def GetBiggestClearanceValue(self)
def Ignore(self, aDRCErrorCode)
def CloneFrom(self, aOther)
def GetCurrentDiffPairGap(self)
def UseNetClassTrack(self)
def GetTrackWidthIndex(self)
def SetCustomTrackWidth(self, aWidth)
def SetDiffPairIndex(self, aIndex)
def GetTextUpright(self, aLayer)
def GetStackupDescriptor(self, *args)
def GetCustomDiffPairGap(self)
def GetCurrentNetClassName(self)
def GetDefaultZoneSettings(self)
def UseCustomTrackViaSize(self, *args)
def SetViaSizeIndex(self, aIndex)
def GetCurrentViaDrill(self)
def GetCustomDiffPairViaGap(self)
def SetCustomViaSize(self, aSize)
def SetGridOrigin(self, aOrigin)
def SetCustomViaDrill(self, aDrill)
def GetViaSizeIndex(self)
def GetSmallestClearanceValue(self)
def GetTextItalic(self, aLayer)
def GetCustomViaDrill(self)
def GetCurrentDiffPairViaGap(self)
def SetCopperLayerCount(self, aNewLayerCount)
def __init__(self, *args)
def GetTextThickness(self, aLayer)
def SetCustomDiffPairWidth(self, aWidth)
def SetTrackWidthIndex(self, aIndex)
def GetCopperLayerCount(self)
def GetCurrentTrackWidth(self)
def SetCustomDiffPairViaGap(self, aGap)
def DeleteNative(self, aItem)
def RemoveNative(self, *args)
def __init__(self, *args, **kwargs)
def AddNative(self, *args)
def IsOnLayer(self, aLayer)
def SetIsKnockout(self, aKnockout)
def Move(self, aMoveVector)
def SetStartEnd(self, start, end)
def SetParentGroup(self, aGroup)
def SetFPRelativePosition(self, aPos)
def Flip(self, aCentre, aFlipLeftRight)
def StyleFromSettings(self, settings)
def SetStroke(self, aStroke)
def __init__(self, *args, **kwargs)
def Rotate(self, aRotCentre, aAngle)
def NormalizeForCompare(self)
def SetLayer(self, aLayer)
def SetLayerSet(self, aLayers)
def SwapItemData(self, aImage)
def GetEffectiveHoleShape(self)
def IsOnCopperLayer(self)
def Similarity(self, aItem)
def GetParentAsString(self)
def DeleteStructure(self)
def GetFPRelativePosition(self)
def GetEffectiveShape(self, *args)
def RunOnChildren(self, aFunction)
def GetParentFootprint(self)
def RunOnDescendants(self, aFunction, aDepth=0)
def SetLocked(self, aLocked)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def OnBoardHighlightNetChanged(self, aBoard)
def OnBoardItemAdded(self, aBoard, aBoardItem)
def OnBoardRatsnestChanged(self, aBoard)
def OnBoardItemChanged(self, aBoard, aBoardItem)
def OnBoardNetSettingsChanged(self, aBoard)
def OnBoardItemsAdded(self, aBoard, aBoardItem)
def OnBoardItemRemoved(self, aBoard, aBoardItem)
def OnBoardItemsChanged(self, aBoard, aBoardItem)
def OnBoardItemsRemoved(self, aBoard, aBoardItem)
def DeleteMARKERs(self, *args)
def RemoveListener(self, aListener)
def GetContextualTextVars(self, aVars)
def IsHighLightNetON(self)
def IsFootprintLayerVisible(self, aLayer)
def GetNetsByNetcode(self)
def BuildListOfNets(self)
def GetPadFast(self, aPosition, aLayerMask)
def SetLayerDescr(self, aIndex, aLayer)
def GetLayerName(self, aLayer)
def GetLayerType(self, aLayer)
def SetCopperLayerCount(self, aCount)
def RemoveAllListeners(self)
def GetCopperLayerCount(self)
def LayerDepth(self, aStartLayer, aEndLayer)
def FillItemMap(self, aMap)
def GetPageSettings(self)
def SetProject(self, aProject, aReferenceOnly=False)
def RecordDRCExclusions(self)
def GroupsSanityCheck(self, repair=False)
def TestZoneIntersection(self, aZone1, aZone2)
def ResetNetHighLight(self)
def SetOutlinesChainingEpsilon(self, aValue)
def RemoveNative(self, *args)
def GetAllNetClasses(self)
def GetFirstFootprint(self)
def GetOutlinesChainingEpsilon(self)
def ResolveTextVar(self, token, aDepth)
def SetHighLightNet(self, aNetCode, aMulti=False)
def ComputeBoundingBox(self, aBoardEdgesOnly=False)
def UpdateRatsnestExclusions(self)
def __init__(self, *args, **kwargs)
def GroupsSanityCheckInternal(self, repair)
def OnItemsChanged(self, aItems)
def GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked=False)
def GetLayerID(self, aLayerName)
def GetVisibleElements(self)
def IsElementVisible(self, aLayer)
def GetSortedPadListByXthenYCoord(self, aVector, aNetCode=-1)
def FinalizeBulkRemove(self, aRemovedItems)
def AddListener(self, aListener)
def Drawings(self, *args)
def AddNative(self, *args)
def GetHighLightNetCodes(self)
def OnItemChanged(self, aItem)
def TracksInNet(self, aNetCode)
def GetStandardLayerName(aLayerId)
def IsFootprintHolder(self)
def FinalizeBulkAdd(self, aNewItems)
def SetTentVias(self, aFlag)
def SetTitleBlock(self, aTitleBlock)
def OnRatsnestChanged(self)
def HighLightON(self, aValue=True)
def GetMaxClearanceValue(self)
def SetVisibleLayers(self, aLayerMask)
def IncrementTimeStamp(self)
def AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch)
def CacheTriangulation(self, *args)
def GetViasDimensionsList(self)
def IsLayerVisible(self, aLayer)
def ResolveDRCExclusions(self, aCreateMarkers)
def MatchDpSuffix(self, aNetName, aComplementNet)
def SetPlotOptions(self, aOptions)
def GetBoardPolygonOutlines(self, aOutlines, aErrorHandler=None, aAllowUseArcsInPolygons=False, aIncludeNPTHAsOutlines=False)
def GetEnabledLayers(self)
def FindFootprintByReference(self, aReference)
def ConvertBrdLayerToPolygonalContours(self, aLayer, aOutlines)
def SetGenerator(self, aGenerator)
def GetZoneList(self, aIncludeZonesInFootprints=False)
def SetAreasNetCodesFromNetNames(self)
def SetLegacyTeardrops(self, aFlag)
def SetPageSettings(self, aPageSettings)
def DeleteAllFootprints(self)
def DpCoupledNet(self, aNet)
def GetBoardEdgesBoundingBox(self)
def GetFileFormatVersionAtLoad(self)
def UpdateUserUnits(self, aItem, aView)
def GetVisibleLayers(self)
def GetNetClassAssignmentCandidates(self)
def RemoveUnusedNets(self, aCommit)
def Footprints(self, *args)
def ConvertKIIDsToCrossReferences(self, aSource)
def SetFileFormatVersionAtLoad(self, aVersion)
def SetProperties(self, aProps)
def GetTrackLength(self, aTrack)
def SanitizeNetcodes(self)
def GetCurrentNetClassName(self)
def SetLayerType(self, aLayer, aLayerType)
def GetNodesCount(self, aNet=-1)
def GetNetcodeFromNetname(self, netname)
def FindFootprintByPath(self, aPath)
def SynchronizeNetsAndNetClasses(self, aResetTrackAndViaSizes)
def AllConnectedItems(self)
def SetFileName(self, aFileName)
def SetEnabledLayers(self, aLayerMask)
def GetTrackWidthList(self)
def GroupLegalOps(self, selection)
def BuildConnectivity(self, aReporter=None)
def SynchronizeProperties(self)
def GetConnectivity(self)
def GetTitleBlock(self, *args)
def SetElementVisibility(self, aLayer, aNewState)
def IsLayerEnabled(self, aLayer)
def SetLayerName(self, aLayer, aLayerName)
def ConvertCrossReferencesToKIIDs(self, aSource)
def GetDesignSettings(self)
def LegacyTeardrops(self)
def MapNets(self, aDestBoard)
def SetBoardUse(self, aUse)
def Generators(self, *args)
def SetUserUnits(self, aUnits)
def SetVisibleElements(self, aMask)
def IntersectsCircle(self, aCenter, aRadius)
def Contains(self, *args)
def __init__(self, *args)
def SetOrigin(self, *args)
def GetBoundingBoxRotated(self, aRotCenter, aAngle)
def SquaredDistance(self, *args)
def Intersect(self, aRect)
def Distance(self, *args)
def FarthestPointTo(self, aPoint)
def Intersects(self, *args)
def Move(self, aMoveVector)
def ClosestPointTo(self, aPoint)
def IntersectsCircleEdge(self, aCenter, aRadius, aWidth)
def __init__(self, *args)
def SetFromWxString(self, aColorString)
def LegacyMix(self, aColor)
def FromCSSRGBA(self, aRed, aGreen, aBlue, aAlpha=1.0)
def Darkened(self, aFactor)
def ToHSL(self, aOutHue, aOutSaturation, aOutValue)
def FindNearestLegacyColor(aR, aG, aB)
def Darken(self, aFactor)
def Mix(self, aColor, aFactor)
def Brighten(self, aFactor)
def Distance(self, other)
def FromHSL(self, aInHue, aInSaturation, aInLightness)
def WithAlpha(self, aAlpha)
def SetFromHexString(self, aColorString)
def Saturate(self, aFactor)
def Brightened(self, aFactor)
def ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue=False)
def __init__(self, *args)
def FromHSV(self, aInH, aInS, aInV)
def GetConnectedPads(self, *args)
def RunOnUnconnectedEdges(self, aFunc)
def GetConnectedItems(self, aItem, aTypes, aIgnoreNetcodes=False)
def GetUnconnectedCount(self, aVisibileOnly)
def GetConnectivityAlgo(self)
def RemoveInvalidRefs(self)
def GetConnectedTracks(self, aItem)
def GetLocalRatsnest(self)
def BlockRatsnestItems(self, aItems)
def IsConnectedOnLayer(self, *args)
def RecalculateRatsnest(self, aCommit=None)
def ComputeLocalRatsnest(self, *args)
def ClearLocalRatsnest(self)
def FillIsolatedIslandsMap(self, aMap, aConnectivityAlreadyRebuilt=False)
def GetPadCount(self, aNet=-1)
def HideLocalRatsnest(self)
def SetProgressReporter(self, aReporter)
def TestTrackEndpointDangling(self, aTrack, aIgnoreTracksInPads, aPos=None)
def __init__(self, *args)
def PropagateNets(self, aCommit=None)
def MarkItemNetAsDirty(self, aItem)
def GetNodeCount(self, aNet=-1)
def GetConnectedPadsAndVias(self, aItem, pads, vias)
def GetNetItems(self, aNetCode, aTypes)
def GetRatsnestForNet(self, aNet)
def GetConnectedItemsAtAnchor(self, aItem, aAnchor, aTypes, aMaxError=0)
def __call__(self, item1, item2)
def __init__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def __getslice__(self, i, j)
def __setslice__(self, *args)
def __delitem__(self, *args)
def __init__(self, *args)
def __setitem__(self, *args)
def __init__(self, l=2, r=4)
def GetPrecisionString(self)
def __truediv__(self, other)
def AsTenthsOfADegree(self)
def __rmul__(self, other)
def NormalizeNegative(self)
def __iadd__(self, aAngle)
def IsParallelTo(self, aAngle)
def __init__(self, *args)
def __isub__(self, aAngle)
def __init__(self, *args, **kwargs)
def SetParent(self, aParent)
def GetFocusPosition(self)
def IsType(self, aScanTypes)
def SetForceVisible(self, aEnable)
def GetMsgPanelInfo(self, aFrame, aList)
def XorFlags(self, aMask)
def RenderAsBitmap(self, aWorldScale)
def ViewGetLayers(self, aLayers, aCount)
def ClearBrightened(self)
def ClearFlags(self, *args)
def IsShownAsBitmap(self)
def GetSortPosition(self)
def SetIsShownAsBitmap(self, aBitmap)
def SetFlags(self, aMask)
def GetFriendlyName(self)
def Visit(self, inspector, testData, aScanTypes)
def Matches(self, aSearchData, aAuxData)
def GetItemDescription(self, aUnitsProvider)
def SetPosition(self, aPos)
def __init__(self, aIUPerMM)
def SHAPE_T_asString(self)
def Similarity(self, aOther)
def TransformShapeToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def ShapeGetMsgPanelInfo(self, aFrame, aList)
def SetStart(self, aStart)
def DupPolyPointsList(self, aBuffer)
def SetBezierC2(self, aPt)
def SetFillColor(self, aColor)
def SetPolyShape(self, aShape)
def SetArcAngleAndEnd(self, aAngle, aCheckNegativeAngle=False)
def SetArcGeometry(self, aStart, aMid, aEnd)
def SwapShape(self, aImage)
def CalcArcAngles(self, aStartAngle, aEndAngle)
def SetSegmentAngle(self, aAngle)
def SetLineStyle(self, aStyle)
def SetIsProxyItem(self, aIsProxy=True)
def SetWidth(self, aWidth)
def RebuildBezierToSegmentsPointsList(self, aMinSegLen)
def SetRectangle(self, aHeight, aWidth)
def GetRectangleWidth(self)
def GetRectangleHeight(self)
def SetFilled(self, aFlag)
def SetPolyPoints(self, aPoints)
def IsPolyShapeValid(self)
def SetLength(self, aLength)
def GetBezierPoints(self)
def MakeEffectiveShapes(self, aEdgeOnly=False)
def GetPolyShape(self, *args)
def Compare(self, aOther)
def SetCenter(self, aCenter)
def GetFriendlyName(self)
def SetBezierC1(self, aPt)
def __init__(self, aType, aLineWidth, aFill)
def SetShape(self, aShape)
def SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
def SetFillMode(self, aFill)
def SetLineColor(self, aColor)
def GetSegmentAngle(self)
def GetEffectiveWidth(self)
def SetAttributes(self, *args)
def SetTextSize(self, aNewSize, aEnforceMinTextSize=True)
def GetTextStyleName(self)
def GotoPageHref(aDestination)
def GetLinePositions(self, aPositions, aLineCount)
def Offset(self, aOffset)
def GetHorizJustify(self)
def IsDefaultFormatting(self)
def SetVertJustify(self, aType)
def GetShownText(self, aAllowExtraText, aDepth=0)
def Similarity(self, aOther)
def SetMultilineAllowed(self, aAllow)
def GetTextBox(self, aLine=-1, aInvertY=False)
def SetTextThickness(self, aWidth)
def GetTextThickness(self)
def SetupRenderCache(self, aResolvedText, aFont, aAngle, aOffset)
def Replace(self, aSearchData)
def SetTextAngleDegrees(self, aOrientation)
def IsMultilineAllowed(self)
def ClearBoundingBoxCache(self)
def SwapText(self, aTradingPartner)
def SetTextPos(self, aPoint)
def AddRenderCacheGlyph(self, aPoly)
def SetTextHeight(self, aHeight)
def SetKeepUpright(self, aKeepUpright)
def GetRenderCache(self, *args)
def SetVisible(self, aVisible)
def SetTextColor(self, aColor)
def SetTextAngle(self, aAngle)
def SwapAttributes(self, aTradingPartner)
def SetFontIndex(self, aIdx)
def ClearRenderCache(self)
def RemoveHyperlink(self)
def TextHitTest(self, *args)
def Format(self, aFormatter, aNestLevel, aControlBits)
def GetEffectiveTextPenWidth(self, aDefaultPenWidth=0)
def ValidateHyperlink(aURL)
def SetHyperlink(self, aLink)
def Print(self, aSettings, aOffset, aColor, aDisplay_mode=FILLED)
def SetHorizJustify(self, aType)
def GetTextAngleDegrees(self)
def SetItalicFlag(self, aItalic)
def __init__(self, *args)
def SetBoldFlag(self, aBold)
def Levenshtein(self, aOther)
def MapVertJustify(aVertJustify)
def SetTextWidth(self, aWidth)
def SetMirrored(self, isMirrored)
def GetEffectiveTextShape(self, *args)
def SetItalic(self, aItalic)
def IsGotoPageHref(aHref, aDestination=None)
def SetLineSpacing(self, aLineSpacing)
def Compare(self, aOther)
def GetDrawRotation(self)
def MapHorizJustify(aHorizJustify)
def SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles)
def SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH)
def SetFormat(self, *args)
def CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter=None)
def ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
def __init__(self, aBoard)
def __init__(self, *args)
def __init__(self, aFootprint, aFileName)
def SetFilePath(self, aFilePath)
def __init__(self, aOwner, aLibraryPath)
def Remove(self, aFootprintName)
def Save(self, aFootprint=None)
def GetTimestamp(aLibPath)
def __init__(self, *args)
def GenDrillReportFile(self, aFullFileName)
def SetMapFileFormat(self, aMapFmt)
def CreateMapFilesSet(self, aPlotDirectory, aReporter=None)
def __init__(self, *args, **kwargs)
def SetPageInfo(self, aPageInfo)
def SetMergeOption(self, aMerge)
def GetDrillFileExt(self)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def __setslice__(self, *args)
def __getitem__(self, *args)
def __init__(self, *args)
def __setitem__(self, *args)
def CreateJobFile(self, aFullFilename)
def __init__(self, aPcb, aReporter=None)
def WriteJSONJobFile(self, aFullFilename)
def AddGbrFile(self, aLayer, aFilename)
def SetFormat(self, aRightDigits=6)
def SetOptions(self, aOffset)
def CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter=None)
def __getitem__(self, *args)
def __delitem__(self, *args)
def __setitem__(self, *args)
def __getslice__(self, i, j)
def __init__(self, *args)
def __delslice__(self, i, j)
def __setslice__(self, *args)
def __init__(self, *args, **kwargs)
def __init__(self, *args)
def init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber)
def __init__(self, aPcb, aParent=None)
def Write(self, aFilename)
def MakeRelativeTo(self, aPath)
def EndsWith(self, aPath)
def __init__(self, *args)
def __setitem__(self, *args)
def __delitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def CreateNilUuids(aNil=True)
def ConvertTimestampToUuid(self)
def AsLegacyTimestampString(self)
def SniffTest(aCandidate)
def IsLegacyTimestamp(self)
def AsLegacyTimestamp(self)
def __init__(self, *args)
def __init__(self, *args)
def GetSubLibraryName(self)
def SetLibItemName(self, aLibItemName)
def HasIllegalChars(aLibItemName)
def GetUniStringLibId(self)
def SetSubLibraryName(self, aName)
def GetUniStringSubLibraryName(self)
def __init__(self, *args)
def FindIllegalLibraryNameChar(aLibraryName)
def FixIllegalChars(aLibItemName, aLib)
def GetFullLibraryName(self)
def Parse(self, aId, aFix=False)
def GetUniStringLibItemName(self)
def compare(self, aLibId)
def SetLibNickname(self, aLibNickname)
def GetUniStringLibNickname(self)
def __init__(self, *args, **kwargs)
def TestLayers(self, aRhs, aLhs)
def __init__(self, *args)
def Contains(self, aLayer)
def RemoveLayer(self, layer)
def addLayer(self, aLayer)
def SeqStackupForPlotting(self)
def AddLayer(self, layer)
def ParseHex(self, aStart, aCount)
def addLayerSet(self, aLayerSet)
def ForbiddenFootprintLayers()
def removeLayerSet(self, aLayerSet)
def AddLayerSet(self, layers)
def __init__(self, *args)
def TechAndUserUIOrder(self)
def removeLayer(self, aLayer)
def RemoveLayerSet(self, layers)
def Technicals(self, *args)
def SeqStackupTop2Bottom(self, aSelectedLayer=UNDEFINED_LAYER)
def __delitem__(self, key)
def __contains__(self, key)
def __setitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, key)
def __getslice__(self, i, j)
def __delitem__(self, *args)
def __init__(self, *args)
def __setitem__(self, *args)
def __getitem__(self, *args)
def __setslice__(self, *args)
def __delslice__(self, i, j)
def GetBoundingBoxMarker(self)
def PrintMarker(self, aSettings, aOffset)
def SetExcluded(self, aExcluded)
def HitTestMarker(self, *args)
def SetMarkerType(self, aMarkerType)
def ShapeToPolygon(self, aPolygon, aScale=-1)
def __init__(self, *args, **kwargs)
def SetMarkerScale(self, aScale)
def SetBusWidth(self, aWidth)
def HasuViaDiameter(self)
def SetTrackWidth(self, aWidth)
def SetuViaDiameter(self, aSize)
def __init__(self, aName)
def HasDiffPairWidth(self)
def SetDescription(self, aDesc)
def SetLineStyle(self, aStyle)
def SetDiffPairGap(self, aSize)
def SetDiffPairViaGap(self, aSize)
def GetDiffPairViaGap(self)
def GetDiffPairWidth(self)
def SetPcbColor(self, aColor)
def SetWireWidth(self, aWidth)
def SetSchematicColor(self, aColor)
def GetSchematicColor(self)
def SetViaDiameter(self, aDia)
def SetClearance(self, aClearance)
def HasDiffPairViaGap(self)
def GetuViaDiameter(self)
def SetuViaDrill(self, aSize)
def SetViaDrill(self, aSize)
def SetDiffPairWidth(self, aSize)
def __delitem__(self, key)
def __init__(self, *args)
def __contains__(self, key)
def __setitem__(self, *args)
def __getitem__(self, key)
def HasAutoGeneratedNetname(self)
def SetNetname(self, aNewName)
def GetDisplayNetname(self)
def SetNetCode(self, aNetCode)
def SetIsCurrent(self, isCurrent)
def GetShortNetname(self)
def SetNetClass(self, aNetClass)
def GetNetClassSlow(self)
def GetNetClassName(self)
def __init__(self, *args)
def __init__(self, aParent)
def GetNetItem(self, *args)
def RebuildDisplayNetnames(self)
def __contains__(self, key)
def __init__(self, *args)
def __delitem__(self, key)
def __getitem__(self, key)
def __setitem__(self, *args)
def ParseBusGroup(aGroup, name, aMemberList)
def GetEffectiveNetClass(self, aNetName)
def __init__(self, aParent, aPath)
def ParseBusVector(aBus, aName, aMemberList)
def __delitem__(self, *args)
def __getitem__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def __setitem__(self, *args)
def __init__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __delitem__(self, *args)
def __delslice__(self, i, j)
def __init__(self, *args)
def __getitem__(self, *args)
def __setslice__(self, *args)
def ConditionallyFlashed(self, aLayer)
def GetRoundRectRadiusRatio(self)
def Recombine(self, aIsDryRun, aMaxError)
def GetChamferPositions(self)
def GetLocalZoneConnectionOverride(self, aSource=None)
def GetLocalSpokeWidthOverride(self, aSource=None)
def SetThermalSpokeAngleDegrees(self, aAngle)
def AddPrimitiveShape(self, aPrimitive)
def GetRemoveUnconnected(self)
def SetThermalSpokeAngle(self, aAngle)
def GetBoundingRadius(self)
def SetLocalSolderPasteMarginRatio(self, aRatio)
def SetShape(self, aShape)
def SetDrillSizeX(self, aX)
def SetPinType(self, aType)
def GetZoneConnection(self)
def Compare(aPadRef, aPadCmp)
def GetLocalSolderPasteMargin(self)
def SetChamferPositions(self, aPositions)
def GetKeepTopBottom(self)
def SetDrillSizeY(self, aY)
def SetAttribute(self, aAttribute)
def GetPadToDieLength(self)
def GetZoneLayerOverride(self, aLayer)
def SetOrientation(self, aAngle)
def SameLogicalPadAs(self, aOther)
def BuildEffectivePolygon(self, *args)
def GetOrientationDegrees(self)
def SetProperty(self, aProperty)
def SetPinFunction(self, aName)
def ClearZoneLayerOverrides(self)
def SetLocalSolderPasteMargin(self, aMargin)
def GetOwnClearance(self, aLayer, aSource=None)
def GetChamferRectRatio(self)
def SetKeepTopBottom(self, aSet)
def BuildEffectiveShapes(self, aLayer)
def SetOrientationDegrees(self, aOrientation)
def TransformHoleToPolygon(self, *args)
def GetAnchorPadShape(self)
def CanFlashLayer(self, aLayer)
def GetRoundRectCornerRadius(self)
def GetSolderPasteMargin(self)
def TransformShapeToPolygon(self, *args)
def SetDelta(self, aSize)
def SetCustomShapeInZoneOpt(self, aOption)
def GetLocalSolderPasteMarginRatio(self)
def SetDrillShape(self, aShape)
def GetPrincipalLayer(self)
def SetPadToDieLength(self, aLength)
def GetFPRelativeOrientation(self)
def SetRemoveUnconnected(self, aSet)
def SetThermalGap(self, aGap)
def MergePrimitivesAsPolygon(self, *args)
def FlashLayer(self, *args)
def SetOffset(self, aOffset)
def SetDrillSize(self, aSize)
def SetPadName(self, aName)
def SetThermalSpokeWidth(self, aWidth)
def SetSubRatsnest(self, aSubRatsnest)
def AddPrimitive(self, *args)
def GetCustomShapeAsPolygon(self, layer=UNDEFINED_LAYER)
def SetRoundRectCornerRadius(self, aRadius)
def __init__(self, *args)
def DeletePrimitivesList(self)
def GetEffectiveShape(self, *args)
def AppendPrimitives(self, aPrimitivesList)
def GetLocalSolderMaskMargin(self)
def AddPrimitivePoly(self, *args)
def GetThermalSpokeAngleDegrees(self)
def SetChamferRectRatio(self, aChamferScale)
def SetRoundRectRadiusRatio(self, aRadiusScale)
def SetLocalClearance(self, aClearance)
def ImportSettingsFrom(self, aMasterPad)
def SharesNetTieGroup(self, aOther)
def ReplacePrimitives(self, aPrimitivesList)
def SetLocalSolderMaskMargin(self, aMargin)
def CheckPad(self, aUnitsProvider, aErrorHandler)
def SetZoneConnection(self, aType)
def GetThermalSpokeWidth(self)
def GetCustomShapeInZoneOpt(self)
def GetSolderMaskExpansion(self)
def GetLocalThermalGapOverride(self, aSource=None)
def ViewGetLOD(self, aLayer, aView)
def GetThermalSpokeAngle(self)
def SetAnchorPadShape(self, aShape)
def GetEffectivePolygon(self, *args)
def FlipPrimitives(self, aFlipLeftRight)
def SetNumber(self, aNumber)
def SetZoneLayerOverride(self, aLayer, aOverride)
def SetFPRelativeOrientation(self, aAngle)
def GetLocalClearance(self, *args)
def GetArcAngleStart(self)
def GetEffectiveShape(self, *args)
def IsDegenerated(self, aThreshold=5)
def __init__(self, *args)
def SetUnits(self, aUnits)
def __init__(self, *args, **kwargs)
def SetArrowLength(self, aLength)
def GetKeepTextAligned(self)
def ChangeOverrideText(self, aValue)
def SetOverrideTextEnabled(self, aOverride)
def SetTextPositionMode(self, aMode)
def SetOverrideText(self, aValue)
def GetOverrideText(self)
def ChangeSuffix(self, aSuffix)
def ChangePrecision(self, aPrecision)
def GetOverrideTextEnabled(self)
def SetAutoUnits(self, aAuto=True)
def SetMeasuredValue(self, aValue)
def SetSuppressZeroes(self, aSuppress)
def SetPrefix(self, aPrefix)
def GetExtensionOffset(self)
def GetSuppressZeroes(self)
def GetTextPositionMode(self)
def ChangeSuppressZeroes(self, aSuppress)
def SetUnitsFormat(self, aFormat)
def ChangePrefix(self, aPrefix)
def SetLineThickness(self, aWidth)
def GetMeasuredValue(self)
def SetKeepTextAligned(self, aKeepAligned)
def SetExtensionOffset(self, aOffset)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth=False)
def Mirror(self, axis_pos, aMirrorLeftRight=False)
def ChangeUnitsMode(self, aMode)
def GetLineThickness(self)
def SetPrecision(self, aPrecision)
def GetEffectiveShape(self, *args)
def ChangeUnitsFormat(self, aFormat)
def SetStart(self, aPoint)
def SetUnitsMode(self, aMode)
def SetSuffix(self, aSuffix)
def SetExtensionHeight(self, aHeight)
def GetCrossbarStart(self)
def UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
def SetHeight(self, aHeight)
def Mirror(self, axis_pos, aMirrorLeftRight=False)
def __init__(self, aParent, aType=PCB_DIM_ALIGNED_T)
def GetExtensionHeight(self)
def ChangeHeight(self, aHeight)
def ChangeExtensionHeight(self, aHeight)
def __init__(self, aParent)
def __init__(self, aParent)
def ChangeTextBorder(self, aBorder)
def SetTextBorder(self, aBorder)
def __init__(self, aParent)
def SetOrientation(self, aOrientation)
def Mirror(self, axis_pos, aMirrorLeftRight=False)
def SetLeaderLength(self, aLength)
def __init__(self, aParent)
def GetLeaderLength(self)
def ChangeLeaderLength(self, aLength)
def __getitem__(self, *args)
def __init__(self, *args)
def __getslice__(self, i, j)
def __delitem__(self, *args)
def __setslice__(self, *args)
def __setitem__(self, *args)
def __delslice__(self, i, j)
def __init__(self, *args)
def GetName(self, aUseDefaultName=True)
def GetCanonicalName(self)
def IsMandatoryField(self)
def ViewGetLOD(self, aLayer, aView)
def TopLevelGroup(aItem, aScope, isFootprintEditor)
def IsGroupableType(aType)
def WithinScope(aItem, aScope, isFootprintEditor)
def RunOnDescendants(self, aFunction, aDepth=0)
def RemoveItem(self, aItem)
def __init__(self, aParent)
def GetItems(self, *args)
def ViewGetLOD(self, aLayer, aView)
def GetEffectiveShape(self, *args)
def FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties=None)
def FootprintExists(self, aLibraryPath, aFootprintName, aProperties=None)
def Parse(self, aClipboardSourceInput)
def GetStringOutput(self, doClear)
def SaveBoard(self, aFileName, aBoard, aProperties=None)
def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None)
def DeleteLibrary(self, aLibraryPath, aProperties=None)
def GetLibraryFileDesc(self)
def GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties=None)
def FootprintSave(self, aLibraryPath, aFootprint, aProperties=None)
def DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount)
def FootprintDelete(self, aLibraryPath, aFootprintName, aProperties=None)
def __init__(self, *args)
def IsLibraryWritable(self, aLibraryPath)
def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None)
def ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties=None)
def Format(self, aItem, aNestLevel=0)
def CreateLibrary(self, aLibraryPath, aProperties=None)
def SetOutputFormatter(self, aFormatter)
def GuessPluginTypeFromLibPath(aLibPath, aCtl=0)
def PluginFind(aFileType)
def FindPluginTypeFromBoardPath(aFileName, aCtl=0)
def EnumFromStr(aFileType)
def ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath)
def Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None)
def Save(aFileType, aFileName, aBoard, aProperties=None)
def FootprintExists(self, aLibraryPath, aFootprintName, aProperties=None)
def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None)
def footprintPyEnumerate(self, aLibraryPath, aExitOnError)
def CanReadBoard(self, aFileName)
def __init__(self, *args, **kwargs)
def GetBoardFileDesc(self)
def GetLibraryOptions(self, aListToAppendTo)
def IsFootprintLibWritable(self, aLibraryPath)
def PrefetchLib(self, aLibraryPath, aProperties=None)
def FootprintDelete(self, aLibraryPath, aFootprintName, aProperties=None)
def FootprintLibDelete(self, aLibraryPath, aProperties=None)
def FootprintLibCreate(self, aLibraryPath, aProperties=None)
def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None)
def GetImportedCachedLibraryFootprints(self)
def SetQueryUserCallback(self, aCallback)
def GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties=None)
def SaveBoard(self, aFileName, aBoard, aProperties=None)
def ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties=None)
def GetLibraryTimestamp(self, aLibraryPath)
def FootprintSave(self, aLibraryPath, aFootprint, aProperties=None)
def FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties=None)
def CanReadFootprint(self, aFileName)
def __init__(self, aItem, aPos, aLayer=F_Cu)
def SetZoom(self, aZoomFactor)
def GetEffectiveShape(self, *args)
def SetFineScaleAdjustY(self, aVal)
def GetDashedLineGapRatio(self)
def GetPlotViaOnMaskLayer(self)
def GetDrillMarksType(self)
def GetDisableGerberMacros(self)
def GetPlotReference(self)
def SetPlotReference(self, aFlag)
def SetLayerSelection(self, aSelection)
def GetLayerSelection(self)
def GetUseGerberX2format(self)
def SetColorSettings(self, aSettings)
def SetDashedLineGapRatio(self, aVal)
def SetA4Output(self, aForce)
def SetWidthAdjust(self, aVal)
def GetSketchPadsOnFabLayers(self)
def SetUseGerberProtelExtensions(self, aUse)
def SetUseGerberAttributes(self, aUse)
def SetSketchPadLineWidth(self, aWidth)
def SetDXFPlotUnits(self, aUnit)
def GetFineScaleAdjustY(self)
def GetSketchPadLineWidth(self)
def SetFormat(self, aFormat)
def SetSkipPlotNPTH_Pads(self, aSkip)
def SetPlotMode(self, aPlotMode)
def SetScaleSelection(self, aSelection)
def SetFineScaleAdjustX(self, aVal)
def SetBlackAndWhite(self, blackAndWhite)
def GetScaleSelection(self)
def SetHPGLPenNum(self, aVal)
def SetDashedLineDashRatio(self, aVal)
def GetGerberPrecision(self)
def SetUseGerberX2format(self, aUse)
def SetTextMode(self, aVal)
def SetPlotViaOnMaskLayer(self, aFlag)
def GetPlotInvisibleText(self)
def SetSvgPrecision(self, aPrecision)
def SetPlotFPText(self, aFlag)
def IsSameAs(self, aPcbPlotParams)
def SetUseAuxOrigin(self, aAux)
def SetSubtractMaskFromSilk(self, aSubtract)
def SetAutoScale(self, aFlag)
def GetPlotFrameRef(self)
def GetDXFPlotPolygonMode(self)
def GetIncludeGerberNetlistInfo(self)
def SetMirror(self, aFlag)
def GetSvgPrecision(self)
def GetUseAuxOrigin(self)
def SetDrillMarksType(self, aVal)
def GetFineScaleAdjustX(self)
def GetCreateGerberJobFile(self)
def GetOutputDirectory(self)
def GetHPGLPenSpeed(self)
def SetPlotFrameRef(self, aFlag)
def SetPlotInvisibleText(self, aFlag)
def GetDXFPlotUnits(self)
def GetDashedLineDashRatio(self)
def SetPlotOnAllLayersSelection(self, aSelection)
def SetIncludeGerberNetlistInfo(self, aUse)
def SetDisableGerberMacros(self, aDisable)
def SetCreateGerberJobFile(self, aCreate)
def SetGerberPrecision(self, aPrecision)
def SetSketchPadsOnFabLayers(self, aFlag)
def GetHPGLPenDiameter(self)
def GetBlackAndWhite(self)
def GetUseGerberProtelExtensions(self)
def GetSubtractMaskFromSilk(self)
def SetDXFPlotPolygonMode(self, aFlag)
def GetPlotOnAllLayersSelection(self)
def SetOutputDirectory(self, aDir)
def SetHPGLPenSpeed(self, aValue)
def Format(self, aFormatter, aNestLevel, aControl=0)
def SetPlotValue(self, aFlag)
def SetNegative(self, aFlag)
def SetHPGLPenDiameter(self, aValue)
def GetSkipPlotNPTH_Pads(self)
def __init__(self, *args)
def ReadImageFile(self, *args)
def GetEffectiveShape(self, *args)
def SetImageScale(self, aScale)
def ViewGetLOD(self, aLayer, aView)
def GetEffectiveShape(self, *args)
def __init__(self, *args)
def GetConnectionPoints(self)
def ViewGetLOD(self, aLayer, aView)
def SetIsProxyItem(self, aIsProxy=True)
def GetFriendlyName(self)
def GetArcAngleStart(self)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def Mirror(self, aCentre, aMirrorAroundXAxis)
def GetEffectiveShape(self, *args)
def __init__(self, *args)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def SetWidth(self, aWidth)
def SetShape(self, aShape)
def GetEffectiveShape(self, *args)
def SetBorderWidth(self, aSize)
def GetAnchorAndOppositeCorner(self)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth=False)
def GetDrawPos(self, *args)
def ViewGetLOD(self, aLayer, aView)
def GetFriendlyName(self)
def SetBorderEnabled(self, enabled)
def __init__(self, parent)
def IsBorderEnabled(self)
def GetShownText(self, aAllowExtraText, aDepth=0)
def TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
def GetShownText(self, aAllowExtraText, aDepth=0)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth=False)
def GetTextTypeDescription(self)
def Mirror(self, aCentre, aMirrorAroundXAxis)
def __init__(self, *args)
def TextHitTest(self, *args)
def TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
def GetEffectiveShape(self, *args)
def ViewGetLOD(self, aLayer, aView)
def __init__(self, aParent, idtype=PCB_TRACE_T)
def GetEffectiveShape(self, *args)
def IsPointOnEnds(self, point, min_dist=0)
def ApproxCollinear(self, aTrack)
def SetWidth(self, aWidth)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def GetEndPoint(self, aEndPoint)
def SetStart(self, aStart)
def Mirror(self, aCentre, aMirrorAroundXAxis)
def ViewGetLOD(self, aLayer, aView)
def GetWidthConstraint(self, aSource=None)
def LayerPair(self, top_layer, bottom_layer)
def SetKeepStartEnd(self, aSet)
def GetOutermostConnectedLayers(self, aTopmost, aBottommost)
def GetMinAnnulus(self, aLayer, aSource)
def ConditionallyFlashed(self, aLayer)
def GetKeepStartEnd(self)
def SetViaType(self, aViaType)
def SetZoneLayerOverride(self, aLayer, aOverride)
def GetDrillConstraint(self, aSource=None)
def GetRemoveUnconnected(self)
def ViewGetLOD(self, aLayer, aView)
def SetDrill(self, aDrill)
def GetWidthConstraint(self, aSource=None)
def GetSolderMaskExpansion(self)
def SetBottomLayer(self, aLayer)
def FlashLayer(self, *args)
def ClearZoneLayerOverrides(self)
def __init__(self, *args)
def SetRemoveUnconnected(self, aSet)
def GetEffectiveShape(self, *args)
def GetZoneLayerOverride(self, aLayer)
def SetDrillDefault(self)
def SetLayerPair(self, aTopLayer, aBottomLayer)
def SetTopLayer(self, aLayer)
def SetIsFree(self, aFree=True)
def GetFootprintCount(self)
def __init__(self, aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX)
def GenPositionData(self)
def FlashPadTrapez(self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
def Bookmark(self, *args)
def SetNegative(self, aNegative)
def SetTextMode(self, mode)
def SetRenderSettings(self, aSettings)
def FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
def SetCurrentLineWidth(self, width, aData=None)
def FlashPadOval(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
def ThickRect(self, p1, p2, width, tracemode, aData)
def ThickCircle(self, pos, diametre, width, tracemode, aData)
def GetPlotOffsetUserUnits(self)
def Marker(self, position, diametre, aShapeId)
def SetCreator(self, aCreator)
def EndBlock(self, aData)
def StartBlock(self, aData)
def SetViewport(self, aOffset, aIusPerDecimil, aScale, aMirror)
def Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData=None)
def HyperlinkBox(self, aBox, aDestinationURL)
def PenTo(self, pos, plume)
def ClearHeaderLinesList(self)
def GetPlotterArcLowDef(self)
def PlotPoly(self, *args)
def StartPlot(self, aPageNumber)
def FlashRegularPolygon(self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData)
def FlashPadCustom(self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData)
def BezierCurve(self, *args)
def PlotText(self, aPos, aColor, aText, aAttributes, aFont, aFontMetrics, aData=None)
def GetCurrentLineWidth(self)
def FlashPadRoundRect(self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
def PlotImage(self, aImage, aPos, aScaleFactor)
def ThickArc(self, *args)
def SetPageSettings(self, aPageSettings)
def SetDash(self, aLineWidth, aLineStyle)
def AddLineToHeader(self, aExtraString)
def SetSvgCoordinatesFormat(self, aPrecision)
def HyperlinkMenu(self, aBox, aDestURLs)
def FlashPadCircle(self, aPadPos, aDiameter, aTraceMode, aData)
def SetLayerPolarity(self, aPositive)
def SetColor(self, color)
def FilledCircle(self, pos, diametre, tracemode, aData)
def GetPlotterArcHighDef(self)
def ThickSegment(self, start, end, width, tracemode, aData)
def GetIUsPerDecimil(self)
def SetTitle(self, aTitle)
def __init__(self, *args, **kwargs)
def OpenFile(self, aFullFilename)
def SetColorMode(self, aColorMode)
def SetGerberCoordinatesFormat(self, aResolution, aUseInches=False)
def OpenPlotfile(self, *args)
def __init__(self, aBoard)
def SetColorMode(self, aColorMode)
def SetLayer(self, aLayer)
def GetPlotFileName(self)
def PlotLayers(self, aLayerSequence)
def register_action(wizard)
def deregister_action(wizard)
def Collide(self, aSeg, aClearance, aActual=None)
def LineProject(self, aP)
def Contains(self, *args)
def ReflectPoint(self, aP)
def LineDistance(self, aP, aDetermineSide=False)
def CanonicalCoefs(self, qA, qB, qC)
def __init__(self, *args)
def Intersects(self, aSeg)
def SquaredDistance(self, *args)
def Collinear(self, aSeg)
def NearestPoint(self, *args)
def Intersect(self, aSeg, aIgnoreEndpoints=False, aLines=False)
def Distance(self, *args)
def ApproxCollinear(self, aSeg, aDistanceThreshold=1)
def ParallelSeg(self, aP)
def IntersectLines(self, aSeg)
def PerpendicularSeg(self, aP)
def ApproxPerpendicular(self, aSeg)
def ApproxParallel(self, aSeg, aDistanceThreshold=1)
def AddNewColorSettings(self, aFilename)
def SetMigrateLibraryTables(self, aMigrate=True)
def GetPreviousVersionPaths(self, aName=None)
def GetPathForSettingsFile(self, aSettings)
def GetColorSettings(self, *args)
def GetColorSettingsList(self)
def SaveColorSettings(self, *args)
def GetProject(self, aFullPath)
def GetColorSettingsPath()
def GetMigratedColorSettings(self)
def IsSettingsPathValid(aPath)
def MigrateIfNeeded(self)
def UnloadProject(self, aProject, aSave=True)
def TriggerBackupIfNeeded(self, aReporter)
def GetCommonSettings(self)
def __init__(self, aHeadless=False)
def GetUserSettingsPath()
def BackupProject(self, aReporter)
def LoadProject(self, aFullPath, aSetActive=True)
def FlushAndRelease(self, aSettings, aSave=True)
def GetOpenProjects(self)
def SaveProjectAs(self, aFullPath, aProject=None)
def SetKiway(self, aKiway)
def SaveProjectCopy(self, aFullPath, aProject=None)
def SetMigrationSource(self, aSource)
def SaveProject(self, *args)
def GetProjectBackupsPath(self)
def ReloadColorSettings(self)
def BBox(self, aClearance=0)
def IntersectLine(self, aSeg, aIpsBuffer)
def SetWidth(self, aWidth)
def Intersect(self, aArc, aIpsBuffer)
def DefaultAccuracyForPCB()
def GetCentralAngle(self)
def ConvertToPolyline(self, *args)
def NearestPoint(self, aP)
def __init__(self, *args, **kwargs)
def ConstructFromStartEndCenter(self, aStart, aEnd, aCenter, aClockwise=False, aWidth=0)
def ConstructFromStartEndAngle(self, aStart, aEnd, aAngle, aWidth=0)
def GetIndexableSubshapes(self, aSubshapes)
def __init__(self, aType)
def GetIndexableSubshapeCount(self)
def HasIndexableSubshapes(self)
def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None)
def SetCenter(self, aCenter)
def __init__(self, *args)
def SetRadius(self, aRadius)
def BBox(self, aClearance=0)
def Format(self, aCplusPlus=True)
def __init__(self, *args)
def BBox(self, aClearance=0)
def Distance(self, *args)
def Format(self, aCplusPlus=True)
def AddShape(self, *args)
def SquaredDistance(self, aP, aOutlineOnly=False)
def GetSegmentCount(self)
def EdgeContainingPoint(self, aP, aAccuracy=0)
def PointOnEdge(self, aP, aAccuracy=0)
def GetSegment(self, aIndex)
def __init__(self, *args, **kwargs)
def GetPoint(self, aIndex)
def PointInside(self, aPt, aAccuracy=0, aUseBBoxCache=False)
def CheckClearance(self, aP, aDist)
def Find(self, aP, aThreshold=0)
def Slice(self, aStartIndex, aEndIndex=-1)
def Format(self, aCplusPlus=True)
def RemoveShape(self, aPointIndex)
def SetPoint(self, aIndex, aPos)
def SelfIntersecting(self)
def NextShape(self, aPointIndex)
def Simplify(self, aMaxError=0)
def ArcIndex(self, aSegment)
def CSegment(self, aIndex)
def SetClosed(self, aClosed)
def IsArcStart(self, aIndex)
def NearestSegment(self, aP)
def Distance(self, *args)
def ReservePoints(self, aSize)
def GenerateBBoxCache(self)
def PointAlong(self, aPathLength)
def SetWidth(self, aWidth)
def IsPtOnArc(self, aPtIndex)
def Intersect(self, *args)
def NearestPoint(self, *args)
def Area(self, aAbsolute=True)
def OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify=False)
def CompareGeometry(self, aOther)
def BBox(self, aClearance=0)
def RemoveDuplicatePoints(self)
def Intersects(self, aChain)
def IsSharedPt(self, aIndex)
def IsArcSegment(self, aSegment)
def PathLength(self, aP, aIndex=-1)
def IsArcEnd(self, aIndex)
def FindSegment(self, aP, aThreshold=1)
def __init__(self, *args)
def Segment(self, aIndex)
def NormalizeAreaOutlines(self)
def SquaredDistance(self, *args)
def IsTriangulationUpToDate(self)
def Contains(self, aP, aSubpolyIndex=-1, aAccuracy=0, aUseBBoxCaches=False)
def BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation=False, aEvenOdd=False)
def IsPolygonSelfIntersecting(self, aPolygonIndex)
def IsVertexInHole(self, aGlobalIdx)
def VertexCount(self, aOutline=-1, aHole=-1)
def IterateFromVertexWithHoles(self, aGlobalIdx)
def BooleanXor(self, *args)
def FilletPolygon(self, aRadius, aErrorMax, aIndex)
def IsSelfIntersecting(self)
def CollideVertex(self, aPoint, aClosestVertex=None, aClearance=0)
def Fracture(self, aFastMode)
def RemoveAllContours(self)
def SquaredDistanceToSeg(self, aSegment, aNearest=None)
def SetVertex(self, *args)
def HoleCount(self, aOutline)
def CIterateWithHoles(self, *args)
def CloneDropTriangulation(self)
def BooleanAdd(self, *args)
def BuildBBoxCaches(self)
def RemoveNullSegments(self)
def HasTouchingHoles(self)
def Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify=False)
def ChamferPolygon(self, aDistance, aIndex)
def NewHole(self, aOutline=-1)
def CacheTriangulation(self, aPartition=True, aSimplify=False)
def OffsetLineChain(self, aLine, aAmount, aCornerStrategy, aMaxError, aSimplify)
def Unfracture(self, aFastMode)
def RemoveContour(self, aContourIdx, aPolygonIdx=-1)
def InflateWithLinkedHoles(self, aFactor, aCornerStrategy, aMaxError, aFastMode)
def Simplify(self, aFastMode)
def AddHole(self, aHole, aOutline=-1)
def SquaredDistanceToPolygon(self, *args)
def IterateSegments(self, *args)
def COutline(self, aIndex)
def BBox(self, aClearance=0)
def InsertVertex(self, aGlobalIndex, aNewVertex)
def AddOutline(self, aOutline)
def __init__(self, *args)
def Hole(self, aOutline, aHole)
def GetNeighbourIndexes(self, aGlobalIndex, aPrevious, aNext)
def IterateSegmentsWithHoles(self, *args)
def GetArcs(self, aArcBuffer)
def RemoveVertex(self, *args)
def UpdateTriangulationDataHash(self)
def PointInside(self, aPt, aAccuracy=0, aUseBBoxCache=False)
def BooleanSubtract(self, *args)
def CPolygon(self, aIndex)
def RebuildHolesFromContours(self)
def Fillet(self, aRadius, aErrorMax)
def Deflate(self, aAmount, aCornerStrategy, aMaxError)
def UnitSet(self, aPolygonIndex)
def CIterateSegmentsWithHoles(self, *args)
def SimplifyOutlines(self, aMaxError=0)
def CHole(self, aOutline, aHole)
def DeletePolygon(self, aIdx)
def GetRelativeIndices(self, aGlobalIdx, aRelativeIndices)
def TriangulatedPolygon(self, aIndex)
def CIterateSegments(self, *args)
def DeletePolygonAndTriangulationData(self, aIdx, aUpdateHash=True)
def BooleanIntersection(self, *args)
def AddPolygon(self, apolygon)
def IterateWithHoles(self, *args)
def Chamfer(self, aDistance)
def Subset(self, aFirstPolygon, aLastPolygon)
def Format(self, aCplusPlus=True)
def TriangulatedPolyCount(self)
def PointOnEdge(self, aP, aAccuracy=0)
def GetGlobalIndex(self, aRelativeIndices, aGlobalIdx)
def CollideEdge(self, aPoint, aClosestVertex=None, aClearance=0)
def CIterate(self, *args)
def __init__(self, *args)
def Format(self, aCplusPlus=True)
def BBox(self, aClearance=0)
def SetWidth(self, aWidth)
def Format(self, aCplusPlus=True)
def BBox(self, aClearance=0)
def __init__(self, *args)
def Is45Degree(self, *args)
def BBox(self, aClearance=0)
def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None)
def CDPoint(self, aIndex)
def __init__(self, *args)
def GetClearance(self, aOther)
def TransformToPolygon(self, aBuffer, aError, aErrorLoc)
def PointInside(self, aPt, aAccuracy=0, aUseBBoxCache=False)
def BBox(self, aClearance=0)
def __init__(self, *args, **kwargs)
def Format(self, aCplusPlus=True)
def SquaredDistance(self, aP, aOutlineOnly=False)
def __init__(self, *args)
def __contains__(self, x)
def __init__(self, *args)
def __init__(self, aFont=None)
def __init__(self, aText, aVisible, aLayer)
def GetComment(self, aIdx)
def GetContextualTextVars(aVars)
def TextVarResolver(self, aToken, aProject)
def Format(self, aFormatter, aNestLevel, aControlBits)
def SetComment(self, aIdx, aComment)
def SetRevision(self, aRevision)
def SetCompany(self, aCompany)
def SetTitle(self, aTitle)
def __delitem__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __getitem__(self, *args)
def __init__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def __delitem__(self, *args)
def __setitem__(self, *args)
def __delslice__(self, i, j)
def __setslice__(self, *args)
def __init__(self, *args)
def __getslice__(self, i, j)
def GetUnitPair(self, aPrimaryUnit, aSecondaryUnits)
def GetOriginTransforms(self)
def MessageTextFromValue(self, *args)
def StringFromValue(self, *args)
def AngleValueFromString(self, aTextValue)
def __init__(self, aIuScale, aUnits)
def MessageTextFromMinOptMax(self, aValue)
def SetUserUnits(self, aUnits)
def ValueFromString(self, *args)
def __init__(self, *args)
def utf8_to_wxstring(self)
def __iadd__(self, *args)
def find_first_of(self, str, pos=0)
def SaveSTEP(self, aFileName)
def Translate(self, aX, aY, aZ)
def __gt__(self, aVector)
def __eq__(self, aVector)
def __truediv__(self, *args)
def __imul__(self, *args)
def __le__(self, aVector)
def __ne__(self, aVector)
def __setitem__(self, index, val)
def __ge__(self, aVector)
def __init__(self, *args)
def SquaredEuclideanNorm(self)
def Resize(self, aNewLength)
def __getitem__(self, index)
def __lt__(self, aVector)
def __iadd__(self, *args)
def __isub__(self, *args)
def __itruediv__(self, *args)
def __setitem__(self, index, val)
def __ne__(self, aVector)
def __getitem__(self, index)
def __eq__(self, aVector)
def __init__(self, *args)
def __init__(self, *args)
def __setslice__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __setslice__(self, *args)
def __getitem__(self, *args)
def __delslice__(self, i, j)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, *args)
def __delslice__(self, i, j)
def __init__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __init__(self, *args)
def __delitem__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def __setslice__(self, *args)
def __setitem__(self, *args)
def __init__(self, *args)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __setslice__(self, *args)
def __init__(self, *args)
def __setitem__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def GetProgressReporter(self)
def __init__(self, aBoard)
def Fill(self, aZones, aCheck=False, aParent=None)
def SetProgressReporter(self, aReporter)
def SetIsRuleArea(self, aEnable)
def GetDoNotAllowFootprints(self)
def SetCornerRadius(self, aRadius)
def SetupLayersList(self, aList, aFrame, aLayers, aFpEditorMode)
def SetDoNotAllowPads(self, aEnable)
def SetDoNotAllowTracks(self, aEnable)
def GetDoNotAllowTracks(self)
def SetMinIslandArea(self, aArea)
def SetPadConnection(self, aPadConnection)
def GetDoNotAllowCopperPour(self)
def __lshift__(self, aSource)
def GetCornerRadius(self)
def GetPadConnection(self)
def GetIslandRemovalMode(self)
def GetDoNotAllowPads(self)
def ExportSetting(self, aTarget, aFullExport=True)
def GetCornerSmoothingType(self)
def SetCornerSmoothingType(self, aType)
def SetIslandRemovalMode(self, aRemove)
def SetDoNotAllowCopperPour(self, aEnable)
def SetDoNotAllowFootprints(self, aEnable)
def GetDoNotAllowVias(self)
def SetDoNotAllowVias(self, aEnable)
def GetMinIslandArea(self)
def SetLocalClearance(self, aClearance)
def GetMinThickness(self)
def SetPadConnection(self, aPadConnection)
def GetInteractingZones(self, aLayer, aSameNetCollidingZones, aOtherNetIntersectingZones)
def SetNeedRefill(self, aNeedRefill)
def SetBorderDisplayStyle(self, aBorderHatchStyle, aBorderHatchPitch, aRebuilBorderdHatch)
def GetThermalReliefGap(self, *args)
def IterateWithHoles(self)
def SetHatchSmoothingValue(self, aValue)
def SetDoNotAllowPads(self, aEnable)
def GetFill(self, aLayer)
def Mirror(self, aMirrorRef, aMirrorLeftRight)
def GetDoNotAllowCopperPour(self)
def SameNet(self, aOther)
def SetDoNotAllowVias(self, aEnable)
def GetDefaultHatchPitch()
def GetThermalReliefSpokeWidth(self)
def GetDoNotAllowVias(self)
def GetHatchHoleMinArea(self)
def GetDoNotAllowTracks(self)
def SetCornerSmoothingType(self, aType)
def SetMinIslandArea(self, aArea)
def SetDoNotAllowTracks(self, aEnable)
def CIterateWithHoles(self)
def GetTeardropAreaType(self)
def GetCornerRadius(self)
def GetSelectedCorner(self)
def GetIslandRemovalMode(self)
def GetEffectiveShape(self, *args)
def SetHatchThickness(self, aThickness)
def AddPolygon(self, *args)
def HigherPriority(self, aOther)
def SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth)
def SetTeardropAreaType(self, aType)
def SetCornerRadius(self, aRadius)
def SetHatchStyle(self, aStyle)
def GetBorderHatchPitch(self)
def GetHashValue(self, aLayer)
def CacheBoundingBox(self)
def SetZoneName(self, aName)
def GetHatchSmoothingLevel(self)
def BuildSmoothedPoly(self, aSmoothedPoly, aLayer, aBoardOutline, aSmoothedPolyWithApron=None)
def SetHatchBorderAlgorithm(self, aAlgo)
def SetFillMode(self, aFillMode)
def GetLocalClearance(self, *args)
def HasFilledPolysForLayer(self, aLayer)
def CalculateOutlineArea(self)
def SetHatchHoleMinArea(self, aPct)
def GetPadConnection(self)
def ViewGetLOD(self, aLayer, aView)
def GetAssignedPriority(self)
def GetCornerSmoothingType(self)
def SetBorderHatchPitch(self, aPitch)
def SetCornerPosition(self, aCornerIndex, new_pos)
def InitDataFromSrcInCopyCtor(self, aZone)
def GetCornerPosition(self, aCornerIndex)
def HitTestForCorner(self, refPos, aAccuracy, aCornerHit=None)
def CalculateFilledArea(self)
def SetAssignedPriority(self, aPriority)
def GetHatchOrientation(self)
def SetFilledPolysList(self, aLayer, aPolysList)
def TransformSmoothedOutlineToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, aBoardOutline)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def __init__(self, *args)
def GetMinIslandArea(self)
def SetHatchOrientation(self, aStep)
def HitTestForEdge(self, refPos, aAccuracy, aCornerHit=None)
def RemoveCutout(self, aOutlineIdx, aHoleIdx)
def GetFilledPolysList(self, aLayer)
def TransformSolidAreasShapesToPolygon(self, aLayer, aBuffer)
def SetMinThickness(self, aMinThickness)
def SetHatchGap(self, aStep)
def SetFillFlag(self, aLayer, aFlag)
def MoveEdge(self, offset, aEdge)
def GetHatchSmoothingValue(self)
def SetOutline(self, aOutline)
def GetDoNotAllowPads(self)
def BuildHashValue(self, aLayer)
def SetIsRuleArea(self, aEnable)
def GetHatchThickness(self)
def HitTestCutout(self, aRefPos, aOutlineIdx=None, aHoleIdx=None)
def SetThermalReliefGap(self, aThermalReliefGap)
def SetIsFilled(self, isFilled)
def IsIsland(self, aLayer, aPolyIdx)
def CacheTriangulation(self, aLayer=UNDEFINED_LAYER)
def SetSelectedCorner(self, aCorner)
def SetIslandRemovalMode(self, aRemove)
def GetFillFlag(self, aLayer)
def GetDoNotAllowFootprints(self)
def SetIsIsland(self, aLayer, aPolyIdx)
def AppendCorner(self, aPosition, aHoleIdx, aAllowDuplication=False)
def GetHatchBorderAlgorithm(self)
def SetLocalFlags(self, aFlags)
def SetDoNotAllowFootprints(self, aEnable)
def RemoveAllContours(self)
def HitTestFilledArea(self, aLayer, aRefPos, aAccuracy=0)
def SetHatchSmoothingLevel(self, aLevel)
def SetDoNotAllowCopperPour(self, aEnable)
def __delitem__(self, *args)
def __getitem__(self, *args)
def __setslice__(self, *args)
def __delslice__(self, i, j)
def __init__(self, *args)
def __setitem__(self, *args)
def __getslice__(self, i, j)
def __call__(self, itemA, itemB)
def __call__(self, aFirst, aSecond)
def __call__(self, aFirst, aSecond)
def __call__(self, aFirst, aSecond)
def __setslice__(self, *args)
def __delslice__(self, i, j)
def __getslice__(self, i, j)
def __delitem__(self, *args)
def __setitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, *args)
def __setitem__(self, *args)
def __getitem__(self, key)
def __init__(self, *args)
def __delitem__(self, key)
def __contains__(self, key)
def __setitem__(self, *args)
def __delitem__(self, key)
def __init__(self, *args)
def __getitem__(self, key)
def __contains__(self, key)
def __delitem__(self, *args)
def find_last_of(self, *args)
def __getitem__(self, *args)
def __setitem__(self, *args)
def reserve(self, __res_arg=0)
def __init__(self, *args)
def __rlshift__(self, out)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def copy(self, __s, __n, __pos=0)
def find_first_of(self, *args)
def find_last_not_of(self, *args)
def find_first_not_of(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def __setitem__(self, *args)
def __setslice__(self, *args)
def __getitem__(self, *args)
def __init__(self, *args)
def __delitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, index)
def __setitem__(self, index, val)
def __getitem__(self, index)
def __init__(self, *args)
def __setitem__(self, index, val)
def __getitem__(self, index)
def __init__(self, *args)
def __setitem__(self, index, val)
def Scale(self, xscale, yscale)
def IsValidLayer(aLayerId)
def PCB_TRACK_ClassOf(aItem)
def FormatInternalUnits(*args)
def EnsureFileExtension(aFilename, aExtension)
def LSET_SideSpecificMask()
def Cast_to_PCB_DIM_RADIAL(arg1)
def Cast_to_SHAPE_ARC(_self)
def MessageTextFromMinOptMax(aIuScale, aUnits, aValue)
def PCB_REFERENCE_IMAGE_ClassOf(aItem)
def FootprintLibDelete(libname)
def FootprintDelete(libname, name)
def PAD_UnplatedHoleMask()
def GetWizardsSearchPaths()
def BOARD_CONNECTED_ITEM_ClassOf(aItem)
def Cast_to_PCB_MARKER(arg1)
def KIID_CreateNilUuids(aNil=True)
def LoadPlugins(bundlepath=None, userpath=None, thirdpartypath=None)
def MessageTextFromValue(*args)
def KIID_SeedGenerator(aSeed)
def GAL_SET_DefaultVisible()
def NETINFO_LIST_OrphanedItem()
def ResolveUriByEnvVars(aUri, aProject)
def PCB_DIM_LEADER_ClassOf(aItem)
def IsGerbviewType(aType)
def EDA_TEXT_IsGotoPageHref(aHref, aDestination=None)
def SetOpenGLInfo(aRenderer, aVendor, aVersion)
def PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
def Cast_to_PCB_DIM_ORTHOGONAL(arg1)
def EDA_ANGLE_Arctan2(y, x)
def FOOTPRINT_GetCoverageArea(aItem, aCollector)
def Cast_to_SHAPE_CIRCLE(_self)
def wxPointMils(mmx, mmy)
def FootprintIsWritable(libname)
def FootprintLibCreate(libname)
def FOOTPRINT_ClassOf(aItem)
def SearchHelpFileFullPath(aBaseName)
def VECTOR2I_MM(mmx, mmy)
def LAYER_ParseType(aType)
def PCB_IO_MGR_ShowType(aFileType)
def IsViaPadLayer(aLayer)
def IsZoneFillLayer(aLayer)
def PLACE_FILE_EXPORTER_GetBackSideName()
def IsTypeAvailable(aType)
def FlipLayer(aLayerId, aCopperLayersCount=0)
def LIB_ID_FixIllegalChars(aLibItemName, aLib)
def Cast_to_PCB_TEXT(arg1)
def wxRectMils(x, y, wx, wy)
def FetchUnitsFromString(aTextValue, aUnits)
def PCB_VIA_ClassOf(aItem)
def Cast_to_SHAPE_SIMPLE(_self)
def PCB_DIM_CENTER_ClassOf(aItem)
def EDA_TEXT_GotoPageHref(aDestination)
def PAD_SHAPE_T_asString(a)
def EDA_TEXT_MapHorizJustify(aHorizJustify)
def PYTHON_ACTION_PLUGINS_deregister_action(wizard)
def LSET_PhysicalLayersMask()
def InvokeRuleAreaEditor(aCaller, aSettings, aConvertSettings=None)
def PAD_Compare(aPadRef, aPadCmp)
def PCB_IO_MGR_EnumFromStr(aFileType)
def ExpandTextVars(*args)
def KIID_SniffTest(aCandidate)
def PCB_DIM_ALIGNED_ClassOf(aItem)
def NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
def PCB_SHAPE_ClassOf(aItem)
def Cast_to_PCB_TARGET(arg1)
def wxRectMM(x, y, wx, wy)
def PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
def IsInstantiableType(aType)
def IsNetCopperLayer(aLayer)
def PCB_IO_MGR_FindPluginTypeFromBoardPath(aFileName, aCtl=0)
def PCB_GROUP_ClassOf(aItem)
def ZONE_SETTINGS_GetDefaultSettings()
def EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter=None)
def SETTINGS_MANAGER_GetSettingsVersion()
def SETTINGS_MANAGER_GetUserSettingsPath()
def UpdateUserInterface()
def FootprintLoad(libname, name, preserveUUID=False)
def FootprintEnumerate(libname)
def LSET_BackBoardTechMask()
def PlotDrawingSheet(*args)
def __lshift__(aStream, aColor)
def Mils2IU(aIuScale, mils)
def PYTHON_ACTION_PLUGINS_register_action(wizard)
def GetVersionInfoData(aTitle, aHtml=False, aBrief=False)
def GetMajorMinorVersion()
def FocusOnItem(aItem, aLayer=UNDEFINED_LAYER)
def PCB_FIELD_ClassOf(aItem)
def IsNetnameLayer(aLayer)
def COLOR4D_FindNearestLegacyColor(aR, aG, aB)
def PCB_IO_MGR_Save(aFileType, aFileName, aBoard, aProperties=None)
def LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
def LAYER_ShowType(aType)
def Cast_to_SHAPE_POLY_SET(_self)
def ExportSpecctraDSN(*args)
def InvokeCopperZonesEditor(aCaller, aSettings, aConvertSettings=None)
def EDA_ITEM_Sort(aLeft, aRight)
def GetMajorMinorPatchTuple()
def SHAPE_ARC_DefaultAccuracyForPCB()
def GetCurrentSelection()
def wxGetDefaultPyEncoding()
def IsImperialUnit(aUnit)
def SaveBoard(aFileName, aBoard, aSkipSettings=False)
def PrintZoneConnection(aConnection)
def IsEeschemaType(aType)
def Cast_to_SHAPE_RECT(_self)
def FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
def LSET_AllBoardTechMask()
def PCB_TEXTBOX_ClassOf(aItem)
def Cast_to_PCB_TRACK(arg1)
def Cast_to_SHAPE_SEGMENT(_self)
def PutOnGridMM(value, gridSizeMM)
def InvokeNonCopperZonesEditor(aParent, aSettings, aConvertSettings=None)
def PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
def Cast_to_SHAPE_COMPOUND(_self)
def LSET_ForbiddenFootprintLayers()
def PCB_TEXT_ClassOf(aItem)
def LSET_AllCuMask(*args)
def DoubleValueFromString(*args)
def IsFrontLayer(aLayerId)
def Cast_to_FOOTPRINT(arg1)
def StringFromValue(*args)
def EDA_TEXT_ValidateHyperlink(aURL)
def ImportSpecctraSES(*args)
def BOARD_GetStandardLayerName(aLayerId)
def TITLE_BLOCK_GetContextualTextVars(aVars)
def PCB_GROUP_IsGroupableType(aType)
def ValueFromString(*args)
def PCB_TARGET_ClassOf(aItem)
def Cast_to_PCB_DIM_CENTER(arg1)
def ExportFootprintsToLibrary(*args)
def PutOnGridMils(value, gridSizeMils)
def ZONE_GetDefaultHatchPitch()
def Cast_to_PCB_REFERENCE_IMAGE(arg1)
def IsUserLayer(aLayerId)
def PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None)
def GetMajorMinorPatchVersion()
def LSET_ExternalCuMask()
def IsPageLayoutEditorType(aType)
def PCB_IO_MGR_ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath)
def ExportVRML(aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
def SHAPE_TYPE_asString(a)
def VECTOR2I_Mils(mmx, mmy)
def EDA_TEXT_MapVertJustify(aVertJustify)
def Cast_to_PCB_VIA(arg1)
def TimestampDir(aDirPath, aFilespec)
def GetFootprints(aNickName)
def WriteDRCReport(aBoard, aFileName, aUnits, aReportAllTrackErrors)
def PCB_IO_MGR_PluginFind(aFileType)
def LSET_FrontBoardTechMask()
def FP_CACHE_GetTimestamp(aLibPath)
def GetNetnameLayer(aLayer)
def PCB_IO_MGR_GuessPluginTypeFromLibPath(aLibPath, aCtl=0)
def Cast_to_PCB_ARC(arg1)
def Cast_to_PCB_SHAPE(arg1)
def NETINFO_ITEM_ClassOf(aItem)
def PCB_ARC_ClassOf(aItem)
def GetPluginForPath(libname)
def IsBackLayer(aLayerId)
def LIB_ID_HasIllegalChars(aLibItemName)
def Cast_to_PCB_DIM_LEADER(arg1)
def Cast_to_PCB_GROUP(arg1)
def FOOTPRINT_IsLibNameValid(aName)
def FlipLayerMask(aMask, aCopperLayersCount=0)
def PCB_MARKER_Deserialize(data)
def LSET_UserDefinedLayers()
def ExpandEnvVarSubstitutions(aString, aProject)
def wxSetDefaultPyEncoding(encoding)
def WarnUserIfOperatingSystemUnsupported()
def SafeReadFile(aFilePath, aReadType)
def DELETED_BOARD_ITEM_GetInstance()
def GetFootprintLibraries()
def SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation=False, aEvenOdd=False)
def Cast_to_SHAPE_LINE_CHAIN(_self)
def IsNonCopperLayer(aLayerId)
def GetWizardsBackTrace()
def LSET_InternalCuMask()
def SETTINGS_MANAGER_GetColorSettingsPath()
def PCB_MARKER_ClassOf(aItem)
def PCB_DIM_ORTHOGONAL_ClassOf(aItem)
def LoadPluginModule(Dirname, ModuleName, FileName)
def NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
def PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
def GetDefaultPlotExtension(aFormat)
def GetPlatformGetBitnessName()
def PLACE_FILE_EXPORTER_GetFrontSideName()
def ToUserUnit(aIuScale, aUnit, aValue)
def Cast_to_PCB_TEXTBOX(arg1)
def UTILS_STEP_MODEL_LoadSTEP(aFileName)
def Cast_to_PCB_DIM_ALIGNED(arg1)
def Cast_to_BOARD_ITEM(base)
def FootprintSave(libname, module)
def SETTINGS_MANAGER_IsSettingsPathValid(aPath)
def FromUserUnit(aIuScale, aUnit, aValue)
def PCB_DIM_RADIAL_ClassOf(aItem)