7from sys
import version_info
as _swig_python_version_info
9if __package__
or "." in __name__:
15 import builtins
as __builtin__
21 strthis =
"proxy of " + self.this.__repr__()
22 except __builtin__.Exception:
24 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
28 def set_instance_attr(self, name, value):
30 set(self, name, value)
31 elif name ==
"thisown":
33 elif hasattr(self, name)
and isinstance(getattr(
type(self), name), property):
34 set(self, name, value)
36 raise AttributeError(
"You cannot add instance attributes to %s" % self)
37 return set_instance_attr
40def _swig_setattr_nondynamic_class_variable(set):
41 def set_class_attr(cls, name, value):
42 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
45 raise AttributeError(
"You cannot add class attributes to %s" % cls)
50 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
52 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
57 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
58 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
63warnings.warn(
"The SWIG-based Python interface to the PCB editor is deprecated and will be removed "
64 "in a future version of KiCad. Please plan to move to the new IPC API and/or make "
65 "use of the kicad-cli tool for your KiCad automation needs.",
66 category=DeprecationWarning)
68class SwigPyIterator(
object):
69 r"""Proxy of C++ swig::SwigPyIterator class."""
71 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
73 def __init__(self, *args, **kwargs):
74 raise AttributeError(
"No constructor defined - class is abstract")
76 __swig_destroy__ = _pcbnew.delete_SwigPyIterator
79 r"""value(SwigPyIterator self) -> PyObject *"""
80 return _pcbnew.SwigPyIterator_value(self)
83 r"""incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
84 return _pcbnew.SwigPyIterator_incr(self, n)
87 r"""decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
88 return _pcbnew.SwigPyIterator_decr(self, n)
90 def distance(self, x):
91 r"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
92 return _pcbnew.SwigPyIterator_distance(self, x)
95 r"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
96 return _pcbnew.SwigPyIterator_equal(self, x)
99 r"""copy(SwigPyIterator self) -> SwigPyIterator"""
100 return _pcbnew.SwigPyIterator_copy(self)
103 r"""next(SwigPyIterator self) -> PyObject *"""
104 return _pcbnew.SwigPyIterator_next(self)
107 r"""__next__(SwigPyIterator self) -> PyObject *"""
108 return _pcbnew.SwigPyIterator___next__(self)
111 r"""previous(SwigPyIterator self) -> PyObject *"""
112 return _pcbnew.SwigPyIterator_previous(self)
114 def advance(self, n):
115 r"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
116 return _pcbnew.SwigPyIterator_advance(self, n)
119 r"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
120 return _pcbnew.SwigPyIterator___eq__(self, x)
123 r"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
124 return _pcbnew.SwigPyIterator___ne__(self, x)
126 def __iadd__(self, n):
127 r"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
128 return _pcbnew.SwigPyIterator___iadd__(self, n)
130 def __isub__(self, n):
131 r"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
132 return _pcbnew.SwigPyIterator___isub__(self, n)
134 def __add__(self, n):
135 r"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
136 return _pcbnew.SwigPyIterator___add__(self, n)
138 def __sub__(self, *args):
140 __sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
141 __sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
143 return _pcbnew.SwigPyIterator___sub__(self, *args)
148_pcbnew.SwigPyIterator_swigregister(SwigPyIterator)
150 r"""Proxy of C++ std::basic_string< char > class."""
152 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
153 __repr__ = _swig_repr
156 r"""length(string self) -> std::basic_string< char >::size_type"""
157 return _pcbnew.string_length(self)
160 r"""max_size(string self) -> std::basic_string< char >::size_type"""
161 return _pcbnew.string_max_size(self)
164 r"""capacity(string self) -> std::basic_string< char >::size_type"""
165 return _pcbnew.string_capacity(self)
168 r"""reserve(string self, std::basic_string< char >::size_type __res_arg)"""
169 return _pcbnew.string_reserve(self, __res_arg)
172 r"""shrink_to_fit(string self)"""
173 return _pcbnew.string_shrink_to_fit(self)
175 def copy(self, __s, __n, __pos=0):
176 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"""
177 return _pcbnew.string_copy(self, __s, __n, __pos)
180 r"""c_str(string self) -> char const *"""
181 return _pcbnew.string_c_str(self)
185 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
186 find(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
187 find(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
189 return _pcbnew.string_find(self, *args)
193 rfind(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
194 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
195 rfind(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
197 return _pcbnew.string_rfind(self, *args)
201 find_first_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
202 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
203 find_first_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
205 return _pcbnew.string_find_first_of(self, *args)
209 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
210 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
211 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
213 return _pcbnew.string_find_last_of(self, *args)
217 find_first_not_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
218 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
219 find_first_not_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
221 return _pcbnew.string_find_first_not_of(self, *args)
225 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
226 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
227 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
229 return _pcbnew.string_find_last_not_of(self, *args)
232 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"""
233 return _pcbnew.string_substr(self, *args)
236 r"""empty(string self) -> bool"""
237 return _pcbnew.string_empty(self)
240 r"""size(string self) -> std::basic_string< char >::size_type"""
241 return _pcbnew.string_size(self)
244 r"""swap(string self, string v)"""
245 return _pcbnew.string_swap(self, v)
248 r"""begin(string self) -> std::basic_string< char >::iterator"""
249 return _pcbnew.string_begin(self)
252 r"""end(string self) -> std::basic_string< char >::iterator"""
253 return _pcbnew.string_end(self)
256 r"""rbegin(string self) -> std::basic_string< char >::reverse_iterator"""
257 return _pcbnew.string_rbegin(self)
260 r"""rend(string self) -> std::basic_string< char >::reverse_iterator"""
261 return _pcbnew.string_rend(self)
264 r"""get_allocator(string self) -> std::basic_string< char >::allocator_type"""
265 return _pcbnew.string_get_allocator(self)
269 erase(string self, std::basic_string< char >::size_type __pos=0, std::basic_string< char >::size_type __n=std::basic_string< char >::npos) -> string
270 erase(string self, std::basic_string< char >::iterator pos) -> std::basic_string< char >::iterator
271 erase(string self, std::basic_string< char >::iterator first, std::basic_string< char >::iterator last) -> std::basic_string< char >::iterator
273 return _pcbnew.string_erase(self, *args)
277 __init__(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
279 __init__(string self, string other) -> string
280 __init__(string self, std::basic_string< char >::size_type size, std::basic_string< char >::value_type value) -> string
282 _pcbnew.string_swiginit(self, _pcbnew.new_string(*args))
286 assign(string self, string __str) -> string
287 assign(string self, string __str, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> string
288 assign(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
289 assign(string self, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)
291 return _pcbnew.string_assign(self, *args)
295 resize(string self, std::basic_string< char >::size_type new_size)
296 resize(string self, std::basic_string< char >::size_type new_size, std::basic_string< char >::value_type x)
298 return _pcbnew.string_resize(self, *args)
301 r"""iterator(string self) -> SwigPyIterator"""
302 return _pcbnew.string_iterator(self)
307 r"""__nonzero__(string self) -> bool"""
308 return _pcbnew.string___nonzero__(self)
311 r"""__bool__(string self) -> bool"""
312 return _pcbnew.string___bool__(self)
315 r"""__len__(string self) -> std::basic_string< char >::size_type"""
316 return _pcbnew.string___len__(self)
319 r"""__getslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j) -> string"""
320 return _pcbnew.string___getslice__(self, i, j)
324 __setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)
325 __setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j, string v)
327 return _pcbnew.string___setslice__(self, *args)
330 r"""__delslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)"""
331 return _pcbnew.string___delslice__(self, i, j)
335 __delitem__(string self, std::basic_string< char >::difference_type i)
336 __delitem__(string self, SWIGPY_SLICEOBJECT * slice)
338 return _pcbnew.string___delitem__(self, *args)
342 __getitem__(string self, SWIGPY_SLICEOBJECT * slice) -> string
343 __getitem__(string self, std::basic_string< char >::difference_type i) -> std::basic_string< char >::value_type
345 return _pcbnew.string___getitem__(self, *args)
349 __setitem__(string self, SWIGPY_SLICEOBJECT * slice, string v)
350 __setitem__(string self, SWIGPY_SLICEOBJECT * slice)
351 __setitem__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::value_type x)
353 return _pcbnew.string___setitem__(self, *args)
357 insert(string self, std::basic_string< char >::size_type __pos1, string __str) -> string
358 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
359 insert(string self, std::basic_string< char >::size_type __pos, char const * __s, std::basic_string< char >::size_type __n) -> string
360 insert(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, char __c) -> string
361 insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::value_type x) -> std::basic_string< char >::iterator
362 insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)
363 insert(string self, std::basic_string< char >::iterator __p, std::basic_string< char >::size_type __n, char __c)
365 return _pcbnew.string_insert(self, *args)
369 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, string __str) -> string
370 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
371 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
372 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
373 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, string __str) -> string
374 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
375 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
376 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, char const * __k1, char const * __k2) -> string
377 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
379 return _pcbnew.string_replace(self, *args)
382 r"""__iadd__(string self, string v) -> string"""
383 return _pcbnew.string___iadd__(self, v)
386 r"""__add__(string self, string v) -> string"""
387 return _pcbnew.string___add__(self, v)
390 r"""__radd__(string self, string v) -> string"""
391 return _pcbnew.string___radd__(self, v)
394 r"""__str__(string self) -> string"""
395 return _pcbnew.string___str__(self)
398 r"""__rlshift__(string self, std::basic_ostream< char,std::char_traits< char > > & out) -> std::basic_ostream< char,std::char_traits< char > > &"""
399 return _pcbnew.string___rlshift__(self, out)
402 r"""__eq__(string self, string v) -> bool"""
403 return _pcbnew.string___eq__(self, v)
406 r"""__ne__(string self, string v) -> bool"""
407 return _pcbnew.string___ne__(self, v)
410 r"""__gt__(string self, string v) -> bool"""
411 return _pcbnew.string___gt__(self, v)
414 r"""__lt__(string self, string v) -> bool"""
415 return _pcbnew.string___lt__(self, v)
418 r"""__ge__(string self, string v) -> bool"""
419 return _pcbnew.string___ge__(self, v)
422 r"""__le__(string self, string v) -> bool"""
423 return _pcbnew.string___le__(self, v)
424 __swig_destroy__ = _pcbnew.delete_string
427_pcbnew.string_swigregister(string)
429string.npos = _pcbnew.cvar.string_npos
431SHARED_PTR_DISOWN = _pcbnew.SHARED_PTR_DISOWN
434 r"""Proxy of C++ KI_PARAM_ERROR class."""
436 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
437 __repr__ = _swig_repr
441 __init__(KI_PARAM_ERROR self, wxString aMessage) -> KI_PARAM_ERROR
442 __init__(KI_PARAM_ERROR self) -> KI_PARAM_ERROR
444 _pcbnew.KI_PARAM_ERROR_swiginit(self, _pcbnew.new_KI_PARAM_ERROR(*args))
447 r"""What(KI_PARAM_ERROR self) -> wxString"""
448 return _pcbnew.KI_PARAM_ERROR_What(self)
449 __swig_destroy__ = _pcbnew.delete_KI_PARAM_ERROR
452_pcbnew.KI_PARAM_ERROR_swigregister(KI_PARAM_ERROR)
454 r"""Proxy of C++ IO_ERROR class."""
456 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
457 __repr__ = _swig_repr
461 __init__(IO_ERROR self, wxString aProblem, char const * aThrowersFile, char const * aThrowersFunction, int aThrowersLineNumber) -> IO_ERROR
464 _pcbnew.IO_ERROR_swiginit(self, _pcbnew.new_IO_ERROR(*args))
466 def init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber):
467 r"""init(IO_ERROR self, wxString aProblem, char const * aThrowersFile, char const * aThrowersFunction, int aThrowersLineNumber)"""
468 return _pcbnew.IO_ERROR_init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber)
471 r"""Problem(IO_ERROR self) -> wxString"""
472 return _pcbnew.IO_ERROR_Problem(self)
475 r"""Where(IO_ERROR self) -> wxString"""
476 return _pcbnew.IO_ERROR_Where(self)
479 r"""What(IO_ERROR self) -> wxString"""
480 return _pcbnew.IO_ERROR_What(self)
481 __swig_destroy__ = _pcbnew.delete_IO_ERROR
484_pcbnew.IO_ERROR_swigregister(IO_ERROR)
487 r"""wxSetDefaultPyEncoding(char const * encoding)"""
488 return _pcbnew.wxSetDefaultPyEncoding(encoding)
491 r"""wxGetDefaultPyEncoding() -> char const *"""
492 return _pcbnew.wxGetDefaultPyEncoding()
494 r"""Proxy of C++ wxRect class."""
496 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
497 __repr__ = _swig_repr
502 __init__(wxRect self, int xx, int yy, int ww, int hh) -> wxRect
503 __init__(wxRect self, wxPoint topLeft, wxPoint bottomRight) -> wxRect
504 __init__(wxRect self, wxPoint pt, wxSize size) -> wxRect
505 __init__(wxRect self, wxSize size) -> wxRect
507 _pcbnew.wxRect_swiginit(self, _pcbnew.new_wxRect(*args))
510 r"""GetX(wxRect self) -> int"""
511 return _pcbnew.wxRect_GetX(self)
514 r"""SetX(wxRect self, int xx)"""
515 return _pcbnew.wxRect_SetX(self, xx)
518 r"""GetY(wxRect self) -> int"""
519 return _pcbnew.wxRect_GetY(self)
522 r"""SetY(wxRect self, int yy)"""
523 return _pcbnew.wxRect_SetY(self, yy)
526 r"""GetWidth(wxRect self) -> int"""
527 return _pcbnew.wxRect_GetWidth(self)
530 r"""SetWidth(wxRect self, int w)"""
531 return _pcbnew.wxRect_SetWidth(self, w)
534 r"""GetHeight(wxRect self) -> int"""
535 return _pcbnew.wxRect_GetHeight(self)
538 r"""SetHeight(wxRect self, int h)"""
539 return _pcbnew.wxRect_SetHeight(self, h)
542 r"""GetPosition(wxRect self) -> wxPoint"""
543 return _pcbnew.wxRect_GetPosition(self)
546 r"""SetPosition(wxRect self, wxPoint p)"""
547 return _pcbnew.wxRect_SetPosition(self, p)
548 x = property(_pcbnew.wxRect_x_get, _pcbnew.wxRect_x_set, doc=
r"""x : int""")
549 y = property(_pcbnew.wxRect_y_get, _pcbnew.wxRect_y_set, doc=
r"""y : int""")
550 width = property(_pcbnew.wxRect_width_get, _pcbnew.wxRect_width_set, doc=
r"""width : int""")
551 height = property(_pcbnew.wxRect_height_get, _pcbnew.wxRect_height_set, doc=
r"""height : int""")
554 r"""Get(wxRect self) -> PyObject *"""
555 return _pcbnew.wxRect_Get(self)
561 def __repr__(self):
return 'wxRect'+str(self.
Get())
565 if index == 0: self.
SetX(val)
566 elif index == 1: self.
SetY(val)
569 else:
raise IndexError
571 __safe_for_unpickling__ =
True
573 __swig_destroy__ = _pcbnew.delete_wxRect
576_pcbnew.wxRect_swigregister(wxRect)
578 r"""Proxy of C++ wxSize class."""
580 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
581 __repr__ = _swig_repr
582 x = property(_pcbnew.wxSize_x_get, _pcbnew.wxSize_x_set, doc=
r"""x : int""")
583 y = property(_pcbnew.wxSize_y_get, _pcbnew.wxSize_y_set, doc=
r"""y : int""")
587 __init__(wxSize self, int xx, int yy) -> wxSize
588 __init__(wxSize self, double xx, double yy) -> wxSize
590 _pcbnew.wxSize_swiginit(self, _pcbnew.new_wxSize(*args))
593 r"""Get(wxSize self) -> PyObject *"""
594 return _pcbnew.wxSize_Get(self)
595 __swig_destroy__ = _pcbnew.delete_wxSize
598 r"""SetWidth(wxSize self, int w)"""
599 return _pcbnew.wxSize_SetWidth(self, w)
602 r"""SetHeight(wxSize self, int h)"""
603 return _pcbnew.wxSize_SetHeight(self, h)
606 r"""GetWidth(wxSize self) -> int"""
607 return _pcbnew.wxSize_GetWidth(self)
610 r"""GetHeight(wxSize self) -> int"""
611 return _pcbnew.wxSize_GetHeight(self)
614 return wxSize(self.
x*xscale,self.
y*yscale)
618 def __repr__(self):
return 'wxSize'+str(self.
Get())
624 else:
raise IndexError
626 __safe_for_unpickling__ =
True
631_pcbnew.wxSize_swigregister(wxSize)
633 r"""Proxy of C++ wxPoint class."""
635 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
636 __repr__ = _swig_repr
637 x = property(_pcbnew.wxPoint_x_get, _pcbnew.wxPoint_x_set, doc=
r"""x : int""")
638 y = property(_pcbnew.wxPoint_y_get, _pcbnew.wxPoint_y_set, doc=
r"""y : int""")
642 __init__(wxPoint self, int xx, int yy) -> wxPoint
643 __init__(wxPoint self, double xx, double yy) -> wxPoint
645 _pcbnew.wxPoint_swiginit(self, _pcbnew.new_wxPoint(*args))
646 __swig_destroy__ = _pcbnew.delete_wxPoint
649 r"""__add__(wxPoint self, wxPoint pt) -> wxPoint"""
650 return _pcbnew.wxPoint___add__(self, pt)
653 r"""__sub__(wxPoint self, wxPoint pt) -> wxPoint"""
654 return _pcbnew.wxPoint___sub__(self, pt)
657 r"""Set(wxPoint self, long x, long y)"""
658 return _pcbnew.wxPoint_Set(self, x, y)
661 r"""Get(wxPoint self) -> PyObject *"""
662 return _pcbnew.wxPoint_Get(self)
664 def __eq__(self,other):
return (self.
xx==other.x
and self.
yy==other.y)
665 def __ne__(self,other):
return not (self==other)
667 def __repr__(self):
return 'wxPoint'+str(self.
Get())
682_pcbnew.wxPoint_swigregister(wxPoint)
684 r"""Proxy of C++ wxString class."""
686 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
687 __repr__ = _swig_repr
688 __swig_destroy__ = _pcbnew.delete_wxString
691 r"""__str__(wxString self) -> PyObject *"""
692 return _pcbnew.wxString___str__(self)
694 def __repr__(self):
return 'wxString(\'' + self.
__str__() +
'\')'
698 r"""__init__(wxString self) -> wxString"""
699 _pcbnew.wxString_swiginit(self, _pcbnew.new_wxString())
702_pcbnew.wxString_swigregister(wxString)
704 r"""Proxy of C++ std::vector< wxPoint > class."""
706 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
707 __repr__ = _swig_repr
710 r"""iterator(wxPoint_Vector self) -> SwigPyIterator"""
711 return _pcbnew.wxPoint_Vector_iterator(self)
716 r"""__nonzero__(wxPoint_Vector self) -> bool"""
717 return _pcbnew.wxPoint_Vector___nonzero__(self)
720 r"""__bool__(wxPoint_Vector self) -> bool"""
721 return _pcbnew.wxPoint_Vector___bool__(self)
724 r"""__len__(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
725 return _pcbnew.wxPoint_Vector___len__(self)
728 r"""__getslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j) -> wxPoint_Vector"""
729 return _pcbnew.wxPoint_Vector___getslice__(self, i, j)
733 __setslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j)
734 __setslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j, wxPoint_Vector v)
736 return _pcbnew.wxPoint_Vector___setslice__(self, *args)
739 r"""__delslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j)"""
740 return _pcbnew.wxPoint_Vector___delslice__(self, i, j)
744 __delitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i)
745 __delitem__(wxPoint_Vector self, SWIGPY_SLICEOBJECT * slice)
747 return _pcbnew.wxPoint_Vector___delitem__(self, *args)
751 __getitem__(wxPoint_Vector self, SWIGPY_SLICEOBJECT * slice) -> wxPoint_Vector
752 __getitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i) -> wxPoint
754 return _pcbnew.wxPoint_Vector___getitem__(self, *args)
758 __setitem__(wxPoint_Vector self, SWIGPY_SLICEOBJECT * slice, wxPoint_Vector v)
759 __setitem__(wxPoint_Vector self, SWIGPY_SLICEOBJECT * slice)
760 __setitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, wxPoint x)
762 return _pcbnew.wxPoint_Vector___setitem__(self, *args)
765 r"""pop(wxPoint_Vector self) -> wxPoint"""
766 return _pcbnew.wxPoint_Vector_pop(self)
769 r"""append(wxPoint_Vector self, wxPoint x)"""
770 return _pcbnew.wxPoint_Vector_append(self, x)
773 r"""empty(wxPoint_Vector self) -> bool"""
774 return _pcbnew.wxPoint_Vector_empty(self)
777 r"""size(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
778 return _pcbnew.wxPoint_Vector_size(self)
781 r"""swap(wxPoint_Vector self, wxPoint_Vector v)"""
782 return _pcbnew.wxPoint_Vector_swap(self, v)
785 r"""begin(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
786 return _pcbnew.wxPoint_Vector_begin(self)
789 r"""end(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
790 return _pcbnew.wxPoint_Vector_end(self)
793 r"""rbegin(wxPoint_Vector self) -> std::vector< wxPoint >::reverse_iterator"""
794 return _pcbnew.wxPoint_Vector_rbegin(self)
797 r"""rend(wxPoint_Vector self) -> std::vector< wxPoint >::reverse_iterator"""
798 return _pcbnew.wxPoint_Vector_rend(self)
801 r"""clear(wxPoint_Vector self)"""
802 return _pcbnew.wxPoint_Vector_clear(self)
805 r"""get_allocator(wxPoint_Vector self) -> std::vector< wxPoint >::allocator_type"""
806 return _pcbnew.wxPoint_Vector_get_allocator(self)
809 r"""pop_back(wxPoint_Vector self)"""
810 return _pcbnew.wxPoint_Vector_pop_back(self)
814 erase(wxPoint_Vector self, std::vector< wxPoint >::iterator pos) -> std::vector< wxPoint >::iterator
815 erase(wxPoint_Vector self, std::vector< wxPoint >::iterator first, std::vector< wxPoint >::iterator last) -> std::vector< wxPoint >::iterator
817 return _pcbnew.wxPoint_Vector_erase(self, *args)
821 __init__(wxPoint_Vector self) -> wxPoint_Vector
822 __init__(wxPoint_Vector self, wxPoint_Vector other) -> wxPoint_Vector
823 __init__(wxPoint_Vector self, std::vector< wxPoint >::size_type size) -> wxPoint_Vector
824 __init__(wxPoint_Vector self, std::vector< wxPoint >::size_type size, wxPoint value) -> wxPoint_Vector
826 _pcbnew.wxPoint_Vector_swiginit(self, _pcbnew.new_wxPoint_Vector(*args))
829 r"""push_back(wxPoint_Vector self, wxPoint x)"""
830 return _pcbnew.wxPoint_Vector_push_back(self, x)
833 r"""front(wxPoint_Vector self) -> wxPoint"""
834 return _pcbnew.wxPoint_Vector_front(self)
837 r"""back(wxPoint_Vector self) -> wxPoint"""
838 return _pcbnew.wxPoint_Vector_back(self)
841 r"""assign(wxPoint_Vector self, std::vector< wxPoint >::size_type n, wxPoint x)"""
842 return _pcbnew.wxPoint_Vector_assign(self, n, x)
846 resize(wxPoint_Vector self, std::vector< wxPoint >::size_type new_size)
847 resize(wxPoint_Vector self, std::vector< wxPoint >::size_type new_size, wxPoint x)
849 return _pcbnew.wxPoint_Vector_resize(self, *args)
853 insert(wxPoint_Vector self, std::vector< wxPoint >::iterator pos, wxPoint x) -> std::vector< wxPoint >::iterator
854 insert(wxPoint_Vector self, std::vector< wxPoint >::iterator pos, std::vector< wxPoint >::size_type n, wxPoint x)
856 return _pcbnew.wxPoint_Vector_insert(self, *args)
859 r"""reserve(wxPoint_Vector self, std::vector< wxPoint >::size_type n)"""
860 return _pcbnew.wxPoint_Vector_reserve(self, n)
863 r"""capacity(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
864 return _pcbnew.wxPoint_Vector_capacity(self)
865 __swig_destroy__ = _pcbnew.delete_wxPoint_Vector
868_pcbnew.wxPoint_Vector_swigregister(wxPoint_Vector)
869SKETCH = _pcbnew.SKETCH
871FILLED = _pcbnew.FILLED
874 r"""Proxy of C++ KIID class."""
876 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
877 __repr__ = _swig_repr
882 __init__(KIID self, int null) -> KIID
883 __init__(KIID self, string aString) -> KIID
884 __init__(KIID self, char const * aString) -> KIID
885 __init__(KIID self, wxString aString) -> KIID
886 __init__(KIID self, timestamp_t aTimestamp) -> KIID
888 _pcbnew.KIID_swiginit(self, _pcbnew.new_KIID(*args))
891 r"""Clone(KIID self, KIID aUUID)"""
892 return _pcbnew.KIID_Clone(self, aUUID)
895 r"""Hash(KIID self) -> size_t"""
896 return _pcbnew.KIID_Hash(self)
899 r"""IsLegacyTimestamp(KIID self) -> bool"""
900 return _pcbnew.KIID_IsLegacyTimestamp(self)
903 r"""AsLegacyTimestamp(KIID self) -> timestamp_t"""
904 return _pcbnew.KIID_AsLegacyTimestamp(self)
907 r"""AsString(KIID self) -> wxString"""
908 return _pcbnew.KIID_AsString(self)
911 r"""AsLegacyTimestampString(KIID self) -> wxString"""
912 return _pcbnew.KIID_AsLegacyTimestampString(self)
915 r"""AsStdString(KIID self) -> string"""
916 return _pcbnew.KIID_AsStdString(self)
920 r"""SniffTest(wxString aCandidate) -> bool"""
921 return _pcbnew.KIID_SniffTest(aCandidate)
925 r"""CreateNilUuids(bool aNil=True)"""
926 return _pcbnew.KIID_CreateNilUuids(aNil)
930 r"""SeedGenerator(unsigned int aSeed)"""
931 return _pcbnew.KIID_SeedGenerator(aSeed)
934 r"""ConvertTimestampToUuid(KIID self)"""
935 return _pcbnew.KIID_ConvertTimestampToUuid(self)
938 r"""Increment(KIID self)"""
939 return _pcbnew.KIID_Increment(self)
942 r"""__eq__(KIID self, KIID rhs) -> bool"""
943 return _pcbnew.KIID___eq__(self, rhs)
946 r"""__ne__(KIID self, KIID rhs) -> bool"""
947 return _pcbnew.KIID___ne__(self, rhs)
950 r"""__lt__(KIID self, KIID rhs) -> bool"""
951 return _pcbnew.KIID___lt__(self, rhs)
954 r"""__gt__(KIID self, KIID rhs) -> bool"""
955 return _pcbnew.KIID___gt__(self, rhs)
956 __swig_destroy__ = _pcbnew.delete_KIID
959_pcbnew.KIID_swigregister(KIID)
962 r"""NilUuid() -> KIID"""
963 return _pcbnew.NilUuid()
965 r"""Proxy of C++ std::vector< KIID > class."""
967 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
968 __repr__ = _swig_repr
971 r"""iterator(KIID_VECT_LIST self) -> SwigPyIterator"""
972 return _pcbnew.KIID_VECT_LIST_iterator(self)
977 r"""__nonzero__(KIID_VECT_LIST self) -> bool"""
978 return _pcbnew.KIID_VECT_LIST___nonzero__(self)
981 r"""__bool__(KIID_VECT_LIST self) -> bool"""
982 return _pcbnew.KIID_VECT_LIST___bool__(self)
985 r"""__len__(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
986 return _pcbnew.KIID_VECT_LIST___len__(self)
989 r"""__getslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j) -> KIID_VECT_LIST"""
990 return _pcbnew.KIID_VECT_LIST___getslice__(self, i, j)
994 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)
995 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j, KIID_VECT_LIST v)
997 return _pcbnew.KIID_VECT_LIST___setslice__(self, *args)
1000 r"""__delslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)"""
1001 return _pcbnew.KIID_VECT_LIST___delslice__(self, i, j)
1005 __delitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i)
1006 __delitem__(KIID_VECT_LIST self, SWIGPY_SLICEOBJECT * slice)
1008 return _pcbnew.KIID_VECT_LIST___delitem__(self, *args)
1012 __getitem__(KIID_VECT_LIST self, SWIGPY_SLICEOBJECT * slice) -> KIID_VECT_LIST
1013 __getitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i) -> KIID
1015 return _pcbnew.KIID_VECT_LIST___getitem__(self, *args)
1019 __setitem__(KIID_VECT_LIST self, SWIGPY_SLICEOBJECT * slice, KIID_VECT_LIST v)
1020 __setitem__(KIID_VECT_LIST self, SWIGPY_SLICEOBJECT * slice)
1021 __setitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, KIID x)
1023 return _pcbnew.KIID_VECT_LIST___setitem__(self, *args)
1026 r"""pop(KIID_VECT_LIST self) -> KIID"""
1027 return _pcbnew.KIID_VECT_LIST_pop(self)
1030 r"""append(KIID_VECT_LIST self, KIID x)"""
1031 return _pcbnew.KIID_VECT_LIST_append(self, x)
1034 r"""empty(KIID_VECT_LIST self) -> bool"""
1035 return _pcbnew.KIID_VECT_LIST_empty(self)
1038 r"""size(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1039 return _pcbnew.KIID_VECT_LIST_size(self)
1042 r"""swap(KIID_VECT_LIST self, KIID_VECT_LIST v)"""
1043 return _pcbnew.KIID_VECT_LIST_swap(self, v)
1046 r"""begin(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1047 return _pcbnew.KIID_VECT_LIST_begin(self)
1050 r"""end(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1051 return _pcbnew.KIID_VECT_LIST_end(self)
1054 r"""rbegin(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1055 return _pcbnew.KIID_VECT_LIST_rbegin(self)
1058 r"""rend(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1059 return _pcbnew.KIID_VECT_LIST_rend(self)
1062 r"""clear(KIID_VECT_LIST self)"""
1063 return _pcbnew.KIID_VECT_LIST_clear(self)
1066 r"""get_allocator(KIID_VECT_LIST self) -> std::vector< KIID >::allocator_type"""
1067 return _pcbnew.KIID_VECT_LIST_get_allocator(self)
1070 r"""pop_back(KIID_VECT_LIST self)"""
1071 return _pcbnew.KIID_VECT_LIST_pop_back(self)
1075 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator pos) -> std::vector< KIID >::iterator
1076 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator first, std::vector< KIID >::iterator last) -> std::vector< KIID >::iterator
1078 return _pcbnew.KIID_VECT_LIST_erase(self, *args)
1082 __init__(KIID_VECT_LIST self) -> KIID_VECT_LIST
1083 __init__(KIID_VECT_LIST self, KIID_VECT_LIST other) -> KIID_VECT_LIST
1084 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size) -> KIID_VECT_LIST
1085 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size, KIID value) -> KIID_VECT_LIST
1087 _pcbnew.KIID_VECT_LIST_swiginit(self, _pcbnew.new_KIID_VECT_LIST(*args))
1090 r"""push_back(KIID_VECT_LIST self, KIID x)"""
1091 return _pcbnew.KIID_VECT_LIST_push_back(self, x)
1094 r"""front(KIID_VECT_LIST self) -> KIID"""
1095 return _pcbnew.KIID_VECT_LIST_front(self)
1098 r"""back(KIID_VECT_LIST self) -> KIID"""
1099 return _pcbnew.KIID_VECT_LIST_back(self)
1102 r"""assign(KIID_VECT_LIST self, std::vector< KIID >::size_type n, KIID x)"""
1103 return _pcbnew.KIID_VECT_LIST_assign(self, n, x)
1107 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size)
1108 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size, KIID x)
1110 return _pcbnew.KIID_VECT_LIST_resize(self, *args)
1114 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, KIID x) -> std::vector< KIID >::iterator
1115 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, std::vector< KIID >::size_type n, KIID x)
1117 return _pcbnew.KIID_VECT_LIST_insert(self, *args)
1120 r"""reserve(KIID_VECT_LIST self, std::vector< KIID >::size_type n)"""
1121 return _pcbnew.KIID_VECT_LIST_reserve(self, n)
1124 r"""capacity(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1125 return _pcbnew.KIID_VECT_LIST_capacity(self)
1126 __swig_destroy__ = _pcbnew.delete_KIID_VECT_LIST
1129_pcbnew.KIID_VECT_LIST_swigregister(KIID_VECT_LIST)
1131 r"""Proxy of C++ KIID_PATH class."""
1133 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1134 __repr__ = _swig_repr
1138 __init__(KIID_PATH self) -> KIID_PATH
1139 __init__(KIID_PATH self, wxString aString) -> KIID_PATH
1141 _pcbnew.KIID_PATH_swiginit(self, _pcbnew.new_KIID_PATH(*args))
1144 r"""MakeRelativeTo(KIID_PATH self, KIID_PATH aPath) -> bool"""
1145 return _pcbnew.KIID_PATH_MakeRelativeTo(self, aPath)
1148 r"""EndsWith(KIID_PATH self, KIID_PATH aPath) -> bool"""
1149 return _pcbnew.KIID_PATH_EndsWith(self, aPath)
1152 r"""AsString(KIID_PATH self) -> wxString"""
1153 return _pcbnew.KIID_PATH_AsString(self)
1156 r"""__eq__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1157 return _pcbnew.KIID_PATH___eq__(self, rhs)
1160 r"""__lt__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1161 return _pcbnew.KIID_PATH___lt__(self, rhs)
1164 r"""__gt__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1165 return _pcbnew.KIID_PATH___gt__(self, rhs)
1168 r"""__iadd__(KIID_PATH self, KIID_PATH aRhs) -> KIID_PATH"""
1169 return _pcbnew.KIID_PATH___iadd__(self, aRhs)
1170 __swig_destroy__ = _pcbnew.delete_KIID_PATH
1173_pcbnew.KIID_PATH_swigregister(KIID_PATH)
1175 r"""Proxy of C++ KIID_NIL_SET_RESET class."""
1177 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1178 __repr__ = _swig_repr
1181 r"""__init__(KIID_NIL_SET_RESET self) -> KIID_NIL_SET_RESET"""
1182 _pcbnew.KIID_NIL_SET_RESET_swiginit(self, _pcbnew.new_KIID_NIL_SET_RESET())
1183 __swig_destroy__ = _pcbnew.delete_KIID_NIL_SET_RESET
1186_pcbnew.KIID_NIL_SET_RESET_swigregister(KIID_NIL_SET_RESET)
1187NOT_USED = _pcbnew.NOT_USED
1189TYPE_NOT_INIT = _pcbnew.TYPE_NOT_INIT
1191PCB_T = _pcbnew.PCB_T
1193SCREEN_T = _pcbnew.SCREEN_T
1195PCB_FOOTPRINT_T = _pcbnew.PCB_FOOTPRINT_T
1197PCB_PAD_T = _pcbnew.PCB_PAD_T
1199PCB_SHAPE_T = _pcbnew.PCB_SHAPE_T
1201PCB_REFERENCE_IMAGE_T = _pcbnew.PCB_REFERENCE_IMAGE_T
1203PCB_FIELD_T = _pcbnew.PCB_FIELD_T
1205PCB_GENERATOR_T = _pcbnew.PCB_GENERATOR_T
1207PCB_TEXT_T = _pcbnew.PCB_TEXT_T
1209PCB_TEXTBOX_T = _pcbnew.PCB_TEXTBOX_T
1211PCB_TABLE_T = _pcbnew.PCB_TABLE_T
1213PCB_TABLECELL_T = _pcbnew.PCB_TABLECELL_T
1215PCB_TRACE_T = _pcbnew.PCB_TRACE_T
1217PCB_VIA_T = _pcbnew.PCB_VIA_T
1219PCB_ARC_T = _pcbnew.PCB_ARC_T
1221PCB_MARKER_T = _pcbnew.PCB_MARKER_T
1223PCB_DIMENSION_T = _pcbnew.PCB_DIMENSION_T
1225PCB_DIM_ALIGNED_T = _pcbnew.PCB_DIM_ALIGNED_T
1227PCB_DIM_LEADER_T = _pcbnew.PCB_DIM_LEADER_T
1229PCB_DIM_CENTER_T = _pcbnew.PCB_DIM_CENTER_T
1231PCB_DIM_RADIAL_T = _pcbnew.PCB_DIM_RADIAL_T
1233PCB_DIM_ORTHOGONAL_T = _pcbnew.PCB_DIM_ORTHOGONAL_T
1235PCB_TARGET_T = _pcbnew.PCB_TARGET_T
1237PCB_ZONE_T = _pcbnew.PCB_ZONE_T
1239PCB_ITEM_LIST_T = _pcbnew.PCB_ITEM_LIST_T
1241PCB_NETINFO_T = _pcbnew.PCB_NETINFO_T
1243PCB_GROUP_T = _pcbnew.PCB_GROUP_T
1245PCB_FIELD_LOCATE_REFERENCE_T = _pcbnew.PCB_FIELD_LOCATE_REFERENCE_T
1247PCB_FIELD_LOCATE_VALUE_T = _pcbnew.PCB_FIELD_LOCATE_VALUE_T
1249PCB_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.PCB_FIELD_LOCATE_FOOTPRINT_T
1251PCB_FIELD_LOCATE_DATASHEET_T = _pcbnew.PCB_FIELD_LOCATE_DATASHEET_T
1253PCB_LOCATE_STDVIA_T = _pcbnew.PCB_LOCATE_STDVIA_T
1255PCB_LOCATE_UVIA_T = _pcbnew.PCB_LOCATE_UVIA_T
1257PCB_LOCATE_BBVIA_T = _pcbnew.PCB_LOCATE_BBVIA_T
1259PCB_LOCATE_TEXT_T = _pcbnew.PCB_LOCATE_TEXT_T
1261PCB_LOCATE_HOLE_T = _pcbnew.PCB_LOCATE_HOLE_T
1263PCB_LOCATE_PTH_T = _pcbnew.PCB_LOCATE_PTH_T
1265PCB_LOCATE_NPTH_T = _pcbnew.PCB_LOCATE_NPTH_T
1267PCB_LOCATE_BOARD_EDGE_T = _pcbnew.PCB_LOCATE_BOARD_EDGE_T
1269PCB_SHAPE_LOCATE_SEGMENT_T = _pcbnew.PCB_SHAPE_LOCATE_SEGMENT_T
1271PCB_SHAPE_LOCATE_RECT_T = _pcbnew.PCB_SHAPE_LOCATE_RECT_T
1273PCB_SHAPE_LOCATE_CIRCLE_T = _pcbnew.PCB_SHAPE_LOCATE_CIRCLE_T
1275PCB_SHAPE_LOCATE_ARC_T = _pcbnew.PCB_SHAPE_LOCATE_ARC_T
1277PCB_SHAPE_LOCATE_POLY_T = _pcbnew.PCB_SHAPE_LOCATE_POLY_T
1279PCB_SHAPE_LOCATE_BEZIER_T = _pcbnew.PCB_SHAPE_LOCATE_BEZIER_T
1281LIB_SYMBOL_T = _pcbnew.LIB_SYMBOL_T
1283SCH_SHAPE_T = _pcbnew.SCH_SHAPE_T
1285SCH_FIELD_T = _pcbnew.SCH_FIELD_T
1287SCH_TEXT_T = _pcbnew.SCH_TEXT_T
1289SCH_TEXTBOX_T = _pcbnew.SCH_TEXTBOX_T
1291SCH_PIN_T = _pcbnew.SCH_PIN_T
1293SCH_MARKER_T = _pcbnew.SCH_MARKER_T
1295SCH_JUNCTION_T = _pcbnew.SCH_JUNCTION_T
1297SCH_NO_CONNECT_T = _pcbnew.SCH_NO_CONNECT_T
1299SCH_BUS_WIRE_ENTRY_T = _pcbnew.SCH_BUS_WIRE_ENTRY_T
1301SCH_BUS_BUS_ENTRY_T = _pcbnew.SCH_BUS_BUS_ENTRY_T
1303SCH_LINE_T = _pcbnew.SCH_LINE_T
1305SCH_BITMAP_T = _pcbnew.SCH_BITMAP_T
1307SCH_TABLE_T = _pcbnew.SCH_TABLE_T
1309SCH_TABLECELL_T = _pcbnew.SCH_TABLECELL_T
1311SCH_LABEL_T = _pcbnew.SCH_LABEL_T
1313SCH_GLOBAL_LABEL_T = _pcbnew.SCH_GLOBAL_LABEL_T
1315SCH_HIER_LABEL_T = _pcbnew.SCH_HIER_LABEL_T
1317SCH_RULE_AREA_T = _pcbnew.SCH_RULE_AREA_T
1319SCH_DIRECTIVE_LABEL_T = _pcbnew.SCH_DIRECTIVE_LABEL_T
1321SCH_SYMBOL_T = _pcbnew.SCH_SYMBOL_T
1323SCH_SHEET_PIN_T = _pcbnew.SCH_SHEET_PIN_T
1325SCH_SHEET_T = _pcbnew.SCH_SHEET_T
1327SCH_FIELD_LOCATE_REFERENCE_T = _pcbnew.SCH_FIELD_LOCATE_REFERENCE_T
1329SCH_FIELD_LOCATE_VALUE_T = _pcbnew.SCH_FIELD_LOCATE_VALUE_T
1331SCH_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.SCH_FIELD_LOCATE_FOOTPRINT_T
1333SCH_FIELD_LOCATE_DATASHEET_T = _pcbnew.SCH_FIELD_LOCATE_DATASHEET_T
1335SCH_ITEM_LOCATE_WIRE_T = _pcbnew.SCH_ITEM_LOCATE_WIRE_T
1337SCH_ITEM_LOCATE_BUS_T = _pcbnew.SCH_ITEM_LOCATE_BUS_T
1339SCH_ITEM_LOCATE_GRAPHIC_LINE_T = _pcbnew.SCH_ITEM_LOCATE_GRAPHIC_LINE_T
1341SCH_LABEL_LOCATE_ANY_T = _pcbnew.SCH_LABEL_LOCATE_ANY_T
1343SCH_LABEL_LOCATE_WIRE_T = _pcbnew.SCH_LABEL_LOCATE_WIRE_T
1345SCH_LABEL_LOCATE_BUS_T = _pcbnew.SCH_LABEL_LOCATE_BUS_T
1347SCH_SYMBOL_LOCATE_POWER_T = _pcbnew.SCH_SYMBOL_LOCATE_POWER_T
1349SCH_LOCATE_ANY_T = _pcbnew.SCH_LOCATE_ANY_T
1351SCH_SCREEN_T = _pcbnew.SCH_SCREEN_T
1353SCHEMATIC_T = _pcbnew.SCHEMATIC_T
1355GERBER_LAYOUT_T = _pcbnew.GERBER_LAYOUT_T
1357GERBER_DRAW_ITEM_T = _pcbnew.GERBER_DRAW_ITEM_T
1359GERBER_IMAGE_T = _pcbnew.GERBER_IMAGE_T
1361WSG_LINE_T = _pcbnew.WSG_LINE_T
1363WSG_RECT_T = _pcbnew.WSG_RECT_T
1365WSG_POLY_T = _pcbnew.WSG_POLY_T
1367WSG_TEXT_T = _pcbnew.WSG_TEXT_T
1369WSG_BITMAP_T = _pcbnew.WSG_BITMAP_T
1371WSG_PAGE_T = _pcbnew.WSG_PAGE_T
1373WS_PROXY_UNDO_ITEM_T = _pcbnew.WS_PROXY_UNDO_ITEM_T
1375WS_PROXY_UNDO_ITEM_PLUS_T = _pcbnew.WS_PROXY_UNDO_ITEM_PLUS_T
1377SYMBOL_LIB_TABLE_T = _pcbnew.SYMBOL_LIB_TABLE_T
1379FP_LIB_TABLE_T = _pcbnew.FP_LIB_TABLE_T
1381DESIGN_BLOCK_LIB_TABLE_T = _pcbnew.DESIGN_BLOCK_LIB_TABLE_T
1383SYMBOL_LIBS_T = _pcbnew.SYMBOL_LIBS_T
1385SEARCH_STACK_T = _pcbnew.SEARCH_STACK_T
1387S3D_CACHE_T = _pcbnew.S3D_CACHE_T
1389MAX_STRUCT_TYPE_ID = _pcbnew.MAX_STRUCT_TYPE_ID
1393 r"""BaseType(KICAD_T const aType) -> KICAD_T"""
1394 return _pcbnew.BaseType(aType)
1397 r"""IsNullType(KICAD_T const aType) -> bool"""
1398 return _pcbnew.IsNullType(aType)
1401 r"""IsInstantiableType(KICAD_T const aType) -> bool"""
1402 return _pcbnew.IsInstantiableType(aType)
1405 r"""IsEeschemaType(KICAD_T const aType) -> bool"""
1406 return _pcbnew.IsEeschemaType(aType)
1409 r"""IsPcbnewType(KICAD_T const aType) -> bool"""
1410 return _pcbnew.IsPcbnewType(aType)
1413 r"""IsGerbviewType(KICAD_T const aType) -> bool"""
1414 return _pcbnew.IsGerbviewType(aType)
1417 r"""IsPageLayoutEditorType(KICAD_T const aType) -> bool"""
1418 return _pcbnew.IsPageLayoutEditorType(aType)
1421 r"""IsMiscType(KICAD_T const aType) -> bool"""
1422 return _pcbnew.IsMiscType(aType)
1425 r"""IsTypeCorrect(KICAD_T aType) -> bool"""
1426 return _pcbnew.IsTypeCorrect(aType)
1427INSPECT_RESULT_QUIT = _pcbnew.INSPECT_RESULT_QUIT
1429INSPECT_RESULT_CONTINUE = _pcbnew.INSPECT_RESULT_CONTINUE
1432 r"""Proxy of C++ EDA_ITEM class."""
1434 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1437 raise AttributeError(
"No constructor defined - class is abstract")
1438 __repr__ = _swig_repr
1439 __swig_destroy__ = _pcbnew.delete_EDA_ITEM
1442 r"""Type(EDA_ITEM self) -> KICAD_T"""
1443 return _pcbnew.EDA_ITEM_Type(self)
1446 r"""GetParent(EDA_ITEM self) -> EDA_ITEM"""
1447 return _pcbnew.EDA_ITEM_GetParent(self)
1450 r"""SetParent(EDA_ITEM self, EDA_ITEM aParent)"""
1451 return _pcbnew.EDA_ITEM_SetParent(self, aParent)
1454 r"""IsModified(EDA_ITEM self) -> bool"""
1455 return _pcbnew.EDA_ITEM_IsModified(self)
1458 r"""IsNew(EDA_ITEM self) -> bool"""
1459 return _pcbnew.EDA_ITEM_IsNew(self)
1462 r"""IsMoving(EDA_ITEM self) -> bool"""
1463 return _pcbnew.EDA_ITEM_IsMoving(self)
1466 r"""IsSelected(EDA_ITEM self) -> bool"""
1467 return _pcbnew.EDA_ITEM_IsSelected(self)
1470 r"""IsEntered(EDA_ITEM self) -> bool"""
1471 return _pcbnew.EDA_ITEM_IsEntered(self)
1474 r"""IsBrightened(EDA_ITEM self) -> bool"""
1475 return _pcbnew.EDA_ITEM_IsBrightened(self)
1478 r"""IsRollover(EDA_ITEM self) -> bool"""
1479 return _pcbnew.EDA_ITEM_IsRollover(self)
1482 r"""SetIsRollover(EDA_ITEM self, bool aIsRollover)"""
1483 return _pcbnew.EDA_ITEM_SetIsRollover(self, aIsRollover)
1486 r"""SetSelected(EDA_ITEM self)"""
1487 return _pcbnew.EDA_ITEM_SetSelected(self)
1490 r"""SetBrightened(EDA_ITEM self)"""
1491 return _pcbnew.EDA_ITEM_SetBrightened(self)
1494 r"""ClearSelected(EDA_ITEM self)"""
1495 return _pcbnew.EDA_ITEM_ClearSelected(self)
1498 r"""ClearBrightened(EDA_ITEM self)"""
1499 return _pcbnew.EDA_ITEM_ClearBrightened(self)
1502 r"""SetModified(EDA_ITEM self)"""
1503 return _pcbnew.EDA_ITEM_SetModified(self)
1506 r"""SetFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1507 return _pcbnew.EDA_ITEM_SetFlags(self, aMask)
1510 r"""XorFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1511 return _pcbnew.EDA_ITEM_XorFlags(self, aMask)
1514 r"""ClearFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask=EDA_ITEM_ALL_FLAGS)"""
1515 return _pcbnew.EDA_ITEM_ClearFlags(self, *args)
1518 r"""GetFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1519 return _pcbnew.EDA_ITEM_GetFlags(self)
1522 r"""HasFlag(EDA_ITEM self, EDA_ITEM_FLAGS aFlag) -> bool"""
1523 return _pcbnew.EDA_ITEM_HasFlag(self, aFlag)
1526 r"""GetEditFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1527 return _pcbnew.EDA_ITEM_GetEditFlags(self)
1530 r"""ClearEditFlags(EDA_ITEM self)"""
1531 return _pcbnew.EDA_ITEM_ClearEditFlags(self)
1534 r"""GetTempFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1535 return _pcbnew.EDA_ITEM_GetTempFlags(self)
1538 r"""ClearTempFlags(EDA_ITEM self)"""
1539 return _pcbnew.EDA_ITEM_ClearTempFlags(self)
1542 r"""RenderAsBitmap(EDA_ITEM self, double aWorldScale) -> bool"""
1543 return _pcbnew.EDA_ITEM_RenderAsBitmap(self, aWorldScale)
1546 r"""SetIsShownAsBitmap(EDA_ITEM self, bool aBitmap)"""
1547 return _pcbnew.EDA_ITEM_SetIsShownAsBitmap(self, aBitmap)
1550 r"""IsShownAsBitmap(EDA_ITEM self) -> bool"""
1551 return _pcbnew.EDA_ITEM_IsShownAsBitmap(self)
1554 r"""IsType(EDA_ITEM self, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> bool"""
1555 return _pcbnew.EDA_ITEM_IsType(self, aScanTypes)
1558 r"""SetForceVisible(EDA_ITEM self, bool aEnable)"""
1559 return _pcbnew.EDA_ITEM_SetForceVisible(self, aEnable)
1562 r"""IsForceVisible(EDA_ITEM self) -> bool"""
1563 return _pcbnew.EDA_ITEM_IsForceVisible(self)
1566 r"""GetMsgPanelInfo(EDA_ITEM self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
1567 return _pcbnew.EDA_ITEM_GetMsgPanelInfo(self, aFrame, aList)
1570 r"""GetFriendlyName(EDA_ITEM self) -> wxString"""
1571 return _pcbnew.EDA_ITEM_GetFriendlyName(self)
1575 HitTest(EDA_ITEM self, VECTOR2I aPosition, int aAccuracy=0) -> bool
1576 HitTest(EDA_ITEM self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
1578 return _pcbnew.EDA_ITEM_HitTest(self, *args)
1581 r"""GetBoundingBox(EDA_ITEM self) -> BOX2I"""
1582 return _pcbnew.EDA_ITEM_GetBoundingBox(self)
1585 r"""GetPosition(EDA_ITEM self) -> VECTOR2I"""
1586 return _pcbnew.EDA_ITEM_GetPosition(self)
1589 r"""SetPosition(EDA_ITEM self, VECTOR2I aPos)"""
1590 return _pcbnew.EDA_ITEM_SetPosition(self, aPos)
1593 r"""GetFocusPosition(EDA_ITEM self) -> VECTOR2I"""
1594 return _pcbnew.EDA_ITEM_GetFocusPosition(self)
1597 r"""GetSortPosition(EDA_ITEM self) -> VECTOR2I"""
1598 return _pcbnew.EDA_ITEM_GetSortPosition(self)
1601 r"""Clone(EDA_ITEM self) -> EDA_ITEM"""
1602 return _pcbnew.EDA_ITEM_Clone(self)
1604 def Visit(self, inspector, testData, aScanTypes):
1605 r"""Visit(EDA_ITEM self, INSPECTOR inspector, void * testData, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> INSPECT_RESULT"""
1606 return _pcbnew.EDA_ITEM_Visit(self, inspector, testData, aScanTypes)
1609 r"""GetClass(EDA_ITEM self) -> wxString"""
1610 return _pcbnew.EDA_ITEM_GetClass(self)
1613 r"""GetTypeDesc(EDA_ITEM self) -> wxString"""
1614 return _pcbnew.EDA_ITEM_GetTypeDesc(self)
1617 r"""GetItemDescription(EDA_ITEM self, UNITS_PROVIDER aUnitsProvider, bool aFull) -> wxString"""
1618 return _pcbnew.EDA_ITEM_GetItemDescription(self, aUnitsProvider, aFull)
1621 r"""GetMenuImage(EDA_ITEM self) -> BITMAPS"""
1622 return _pcbnew.EDA_ITEM_GetMenuImage(self)
1625 r"""Matches(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData) -> bool"""
1626 return _pcbnew.EDA_ITEM_Matches(self, aSearchData, aAuxData)
1630 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, wxString aText) -> bool
1631 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData=None) -> bool
1633 return _pcbnew.EDA_ITEM_Replace(self, *args)
1636 r"""IsReplaceable(EDA_ITEM self) -> bool"""
1637 return _pcbnew.EDA_ITEM_IsReplaceable(self)
1640 r"""__lt__(EDA_ITEM self, EDA_ITEM aItem) -> bool"""
1641 return _pcbnew.EDA_ITEM___lt__(self, aItem)
1645 r"""Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1646 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1649 r"""ViewBBox(EDA_ITEM self) -> BOX2I"""
1650 return _pcbnew.EDA_ITEM_ViewBBox(self)
1653 r"""ViewGetLayers(EDA_ITEM self) -> intVector"""
1654 return _pcbnew.EDA_ITEM_ViewGetLayers(self)
1657 r"""GetEmbeddedFiles(EDA_ITEM self) -> EMBEDDED_FILES *"""
1658 return _pcbnew.EDA_ITEM_GetEmbeddedFiles(self)
1659 m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=
r"""m_Uuid : q(const).KIID""")
1662_pcbnew.EDA_ITEM_swigregister(EDA_ITEM)
1665 r"""new_clone(EDA_ITEM aItem) -> EDA_ITEM"""
1666 return _pcbnew.new_clone(aItem)
1668 r"""Proxy of C++ CompareByUuid class."""
1670 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1671 __repr__ = _swig_repr
1674 r"""__call__(CompareByUuid self, EDA_ITEM item1, EDA_ITEM item2) -> bool"""
1675 return _pcbnew.CompareByUuid___call__(self, item1, item2)
1678 r"""__init__(CompareByUuid self) -> CompareByUuid"""
1679 _pcbnew.CompareByUuid_swiginit(self, _pcbnew.new_CompareByUuid())
1680 __swig_destroy__ = _pcbnew.delete_CompareByUuid
1683_pcbnew.CompareByUuid_swigregister(CompareByUuid)
1685 r"""Proxy of C++ EDA_IU_SCALE class."""
1687 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1688 __repr__ = _swig_repr
1689 IU_PER_MM = property(_pcbnew.EDA_IU_SCALE_IU_PER_MM_get, doc=
r"""IU_PER_MM : q(const).double""")
1690 IU_PER_MILS = property(_pcbnew.EDA_IU_SCALE_IU_PER_MILS_get, doc=
r"""IU_PER_MILS : q(const).double""")
1691 MM_PER_IU = property(_pcbnew.EDA_IU_SCALE_MM_PER_IU_get, doc=
r"""MM_PER_IU : q(const).double""")
1694 r"""__init__(EDA_IU_SCALE self, double aIUPerMM) -> EDA_IU_SCALE"""
1695 _pcbnew.EDA_IU_SCALE_swiginit(self, _pcbnew.new_EDA_IU_SCALE(aIUPerMM))
1698 r"""IUTomm(EDA_IU_SCALE self, int iu) -> double"""
1699 return _pcbnew.EDA_IU_SCALE_IUTomm(self, iu)
1702 r"""mmToIU(EDA_IU_SCALE self, double mm) -> int"""
1703 return _pcbnew.EDA_IU_SCALE_mmToIU(self, mm)
1706 r"""MilsToIU(EDA_IU_SCALE self, int mils) -> int"""
1707 return _pcbnew.EDA_IU_SCALE_MilsToIU(self, mils)
1710 r"""IUToMils(EDA_IU_SCALE self, int iu) -> int"""
1711 return _pcbnew.EDA_IU_SCALE_IUToMils(self, iu)
1712 __swig_destroy__ = _pcbnew.delete_EDA_IU_SCALE
1715_pcbnew.EDA_IU_SCALE_swigregister(EDA_IU_SCALE)
1716GERB_IU_PER_MM = cvar.GERB_IU_PER_MM
1717PCB_IU_PER_MM = cvar.PCB_IU_PER_MM
1718PL_IU_PER_MM = cvar.PL_IU_PER_MM
1719SCH_IU_PER_MM = cvar.SCH_IU_PER_MM
1721EDA_DATA_TYPE_DISTANCE = _pcbnew.EDA_DATA_TYPE_DISTANCE
1723EDA_DATA_TYPE_AREA = _pcbnew.EDA_DATA_TYPE_AREA
1725EDA_DATA_TYPE_VOLUME = _pcbnew.EDA_DATA_TYPE_VOLUME
1727EDA_DATA_TYPE_UNITLESS = _pcbnew.EDA_DATA_TYPE_UNITLESS
1729EDA_UNITS_INCH = _pcbnew.EDA_UNITS_INCH
1731EDA_UNITS_MM = _pcbnew.EDA_UNITS_MM
1733EDA_UNITS_UNSCALED = _pcbnew.EDA_UNITS_UNSCALED
1735EDA_UNITS_DEGREES = _pcbnew.EDA_UNITS_DEGREES
1737EDA_UNITS_PERCENT = _pcbnew.EDA_UNITS_PERCENT
1739EDA_UNITS_MILS = _pcbnew.EDA_UNITS_MILS
1741EDA_UNITS_UM = _pcbnew.EDA_UNITS_UM
1743EDA_UNITS_CM = _pcbnew.EDA_UNITS_CM
1747 r"""IsImperialUnit(EDA_UNITS aUnit) -> bool"""
1748 return _pcbnew.IsImperialUnit(aUnit)
1751 r"""IsMetricUnit(EDA_UNITS aUnit) -> bool"""
1752 return _pcbnew.IsMetricUnit(aUnit)
1755 r"""Mm2mils(double aVal) -> int"""
1756 return _pcbnew.Mm2mils(aVal)
1759 r"""Mils2mm(double aVal) -> int"""
1760 return _pcbnew.Mils2mm(aVal)
1763 r"""FetchUnitsFromString(wxString aTextValue, EDA_UNITS & aUnits) -> bool"""
1764 return _pcbnew.FetchUnitsFromString(aTextValue, aUnits)
1767 r"""GetText(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1768 return _pcbnew.GetText(*args)
1771 r"""GetLabel(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1772 return _pcbnew.GetLabel(*args)
1775 r"""FormatAngle(EDA_ANGLE aAngle) -> string"""
1776 return _pcbnew.FormatAngle(aAngle)
1783 return _pcbnew.FormatInternalUnits(*args)
1786 r"""Mils2IU(EDA_IU_SCALE aIuScale, int mils) -> int"""
1787 return _pcbnew.Mils2IU(aIuScale, mils)
1790 r"""ToUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1791 return _pcbnew.ToUserUnit(aIuScale, aUnit, aValue)
1794 r"""StringFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1795 return _pcbnew.StringFromValue(*args)
1799 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1800 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, int aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1801 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, long long aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1804 return _pcbnew.MessageTextFromValue(*args)
1807 r"""MessageTextFromMinOptMax(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, MINOPTMAX< int > const & aValue) -> wxString"""
1808 return _pcbnew.MessageTextFromMinOptMax(aIuScale, aUnits, aValue)
1811 r"""FromUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1812 return _pcbnew.FromUserUnit(aIuScale, aUnit, aValue)
1816 DoubleValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> double
1819 return _pcbnew.DoubleValueFromString(*args)
1823 ValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> long long
1826 return _pcbnew.ValueFromString(*args)
1829 r"""SearchHelpFileFullPath(wxString aBaseName) -> wxString"""
1830 return _pcbnew.SearchHelpFileFullPath(aBaseName)
1833 r"""EnsureFileDirectoryExists(wxFileName * aTargetFullFileName, wxString aBaseFilename, REPORTER * aReporter=None) -> bool"""
1834 return _pcbnew.EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter)
1837 r"""EnsureFileExtension(wxString aFilename, wxString aExtension) -> wxString"""
1838 return _pcbnew.EnsureFileExtension(aFilename, aExtension)
1841 r"""ExpandEnvVarSubstitutions(wxString aString, PROJECT const * aProject) -> wxString"""
1842 return _pcbnew.ExpandEnvVarSubstitutions(aString, aProject)
1843FOR_ERC_DRC = _pcbnew.FOR_ERC_DRC
1848 ExpandTextVars(wxString aSource, std::function< bool (wxString *) > const * aResolver, int aFlags=0) -> wxString
1849 ExpandTextVars(wxString aSource, PROJECT const * aProject, int aFlags=0) -> wxString
1851 return _pcbnew.ExpandTextVars(*args)
1854 r"""GetTextVars(wxString aSource) -> wxString"""
1855 return _pcbnew.GetTextVars(aSource)
1858 r"""IsTextVar(wxString aSource) -> bool"""
1859 return _pcbnew.IsTextVar(aSource)
1862 r"""ResolveUriByEnvVars(wxString aUri, PROJECT const * aProject) -> wxString"""
1863 return _pcbnew.ResolveUriByEnvVars(aUri, aProject)
1866 r"""TimestampDir(wxString aDirPath, wxString aFilespec) -> long long"""
1867 return _pcbnew.TimestampDir(aDirPath, aFilespec)
1870 r"""WarnUserIfOperatingSystemUnsupported() -> bool"""
1871 return _pcbnew.WarnUserIfOperatingSystemUnsupported()
1875 StrPrintf(string aResult, char const * aFormat) -> int
1876 StrPrintf(char const * format) -> string
1878 return _pcbnew.StrPrintf(*args)
1881 r"""SafeReadFile(wxString aFilePath, wxString aReadType) -> wxString"""
1882 return _pcbnew.SafeReadFile(aFilePath, aReadType)
1883LINE_READER_LINE_DEFAULT_MAX = _pcbnew.LINE_READER_LINE_DEFAULT_MAX
1885LINE_READER_LINE_INITIAL_SIZE = _pcbnew.LINE_READER_LINE_INITIAL_SIZE
1888 r"""Proxy of C++ LINE_READER class."""
1890 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1893 raise AttributeError(
"No constructor defined - class is abstract")
1894 __repr__ = _swig_repr
1895 __swig_destroy__ = _pcbnew.delete_LINE_READER
1898 r"""ReadLine(LINE_READER self) -> char *"""
1899 return _pcbnew.LINE_READER_ReadLine(self)
1902 r"""GetSource(LINE_READER self) -> wxString"""
1903 return _pcbnew.LINE_READER_GetSource(self)
1906 r"""Line(LINE_READER self) -> char *"""
1907 return _pcbnew.LINE_READER_Line(self)
1910 r"""LineNumber(LINE_READER self) -> unsigned int"""
1911 return _pcbnew.LINE_READER_LineNumber(self)
1914 r"""Length(LINE_READER self) -> unsigned int"""
1915 return _pcbnew.LINE_READER_Length(self)
1918_pcbnew.LINE_READER_swigregister(LINE_READER)
1919gerbIUScale = cvar.gerbIUScale
1920pcbIUScale = cvar.pcbIUScale
1921drawSheetIUScale = cvar.drawSheetIUScale
1922schIUScale = cvar.schIUScale
1923unityScale = cvar.unityScale
1926 r"""Proxy of C++ FILE_LINE_READER class."""
1928 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1929 __repr__ = _swig_repr
1933 __init__(FILE_LINE_READER self, wxString aFileName, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
1934 __init__(FILE_LINE_READER self, FILE * aFile, wxString aFileName, bool doOwn=True, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
1936 _pcbnew.FILE_LINE_READER_swiginit(self, _pcbnew.new_FILE_LINE_READER(*args))
1937 __swig_destroy__ = _pcbnew.delete_FILE_LINE_READER
1940 r"""Rewind(FILE_LINE_READER self)"""
1941 return _pcbnew.FILE_LINE_READER_Rewind(self)
1944 r"""FileLength(FILE_LINE_READER self) -> long"""
1945 return _pcbnew.FILE_LINE_READER_FileLength(self)
1948 r"""CurPos(FILE_LINE_READER self) -> long"""
1949 return _pcbnew.FILE_LINE_READER_CurPos(self)
1952_pcbnew.FILE_LINE_READER_swigregister(FILE_LINE_READER)
1954 r"""Proxy of C++ STRING_LINE_READER class."""
1956 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1957 __repr__ = _swig_repr
1961 __init__(STRING_LINE_READER self, string aString, wxString aSource) -> STRING_LINE_READER
1962 __init__(STRING_LINE_READER self, STRING_LINE_READER aStartingPoint) -> STRING_LINE_READER
1964 _pcbnew.STRING_LINE_READER_swiginit(self, _pcbnew.new_STRING_LINE_READER(*args))
1965 __swig_destroy__ = _pcbnew.delete_STRING_LINE_READER
1968_pcbnew.STRING_LINE_READER_swigregister(STRING_LINE_READER)
1970 r"""Proxy of C++ INPUTSTREAM_LINE_READER class."""
1972 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1973 __repr__ = _swig_repr
1976 r"""__init__(INPUTSTREAM_LINE_READER self, wxInputStream * aStream, wxString aSource) -> INPUTSTREAM_LINE_READER"""
1977 _pcbnew.INPUTSTREAM_LINE_READER_swiginit(self, _pcbnew.new_INPUTSTREAM_LINE_READER(aStream, aSource))
1978 __swig_destroy__ = _pcbnew.delete_INPUTSTREAM_LINE_READER
1981_pcbnew.INPUTSTREAM_LINE_READER_swigregister(INPUTSTREAM_LINE_READER)
1982OUTPUTFMTBUFZ = _pcbnew.OUTPUTFMTBUFZ
1985 r"""Proxy of C++ OUTPUTFORMATTER class."""
1987 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1990 raise AttributeError(
"No constructor defined - class is abstract")
1991 __repr__ = _swig_repr
1992 __swig_destroy__ = _pcbnew.delete_OUTPUTFORMATTER
1996 Print(OUTPUTFORMATTER self, int nestLevel, char const * fmt) -> int
1997 Print(OUTPUTFORMATTER self, char const * fmt) -> int
1999 return _pcbnew.OUTPUTFORMATTER_Print(self, *args)
2002 r"""GetQuoteChar(OUTPUTFORMATTER self, char const * wrapee) -> char const *"""
2003 return _pcbnew.OUTPUTFORMATTER_GetQuoteChar(self, wrapee)
2006 r"""Quotes(OUTPUTFORMATTER self, string aWrapee) -> string"""
2007 return _pcbnew.OUTPUTFORMATTER_Quotes(self, aWrapee)
2010 r"""Quotew(OUTPUTFORMATTER self, wxString aWrapee) -> string"""
2011 return _pcbnew.OUTPUTFORMATTER_Quotew(self, aWrapee)
2014 r"""Finish(OUTPUTFORMATTER self) -> bool"""
2015 return _pcbnew.OUTPUTFORMATTER_Finish(self)
2018_pcbnew.OUTPUTFORMATTER_swigregister(OUTPUTFORMATTER)
2020 r"""Proxy of C++ STRING_FORMATTER class."""
2022 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2023 __repr__ = _swig_repr
2026 r"""__init__(STRING_FORMATTER self, int aReserve=500, char aQuoteChar='\"') -> STRING_FORMATTER"""
2027 _pcbnew.STRING_FORMATTER_swiginit(self, _pcbnew.new_STRING_FORMATTER(*args))
2030 r"""Clear(STRING_FORMATTER self)"""
2031 return _pcbnew.STRING_FORMATTER_Clear(self)
2034 r"""StripUseless(STRING_FORMATTER self)"""
2035 return _pcbnew.STRING_FORMATTER_StripUseless(self)
2038 r"""GetString(STRING_FORMATTER self) -> string"""
2039 return _pcbnew.STRING_FORMATTER_GetString(self)
2040 __swig_destroy__ = _pcbnew.delete_STRING_FORMATTER
2043_pcbnew.STRING_FORMATTER_swigregister(STRING_FORMATTER)
2045 r"""Proxy of C++ FILE_OUTPUTFORMATTER class."""
2047 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2048 __repr__ = _swig_repr
2051 r"""__init__(FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> FILE_OUTPUTFORMATTER"""
2052 _pcbnew.FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_FILE_OUTPUTFORMATTER(*args))
2053 __swig_destroy__ = _pcbnew.delete_FILE_OUTPUTFORMATTER
2056_pcbnew.FILE_OUTPUTFORMATTER_swigregister(FILE_OUTPUTFORMATTER)
2058 r"""Proxy of C++ PRETTIFIED_FILE_OUTPUTFORMATTER class."""
2060 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2061 __repr__ = _swig_repr
2064 r"""__init__(PRETTIFIED_FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> PRETTIFIED_FILE_OUTPUTFORMATTER"""
2065 _pcbnew.PRETTIFIED_FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_PRETTIFIED_FILE_OUTPUTFORMATTER(*args))
2066 __swig_destroy__ = _pcbnew.delete_PRETTIFIED_FILE_OUTPUTFORMATTER
2069_pcbnew.PRETTIFIED_FILE_OUTPUTFORMATTER_swigregister(PRETTIFIED_FILE_OUTPUTFORMATTER)
2071 r"""Proxy of C++ TITLE_BLOCK class."""
2073 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2074 __repr__ = _swig_repr
2077 r"""__init__(TITLE_BLOCK self) -> TITLE_BLOCK"""
2078 _pcbnew.TITLE_BLOCK_swiginit(self, _pcbnew.new_TITLE_BLOCK())
2079 __swig_destroy__ = _pcbnew.delete_TITLE_BLOCK
2082 r"""SetTitle(TITLE_BLOCK self, wxString aTitle)"""
2083 return _pcbnew.TITLE_BLOCK_SetTitle(self, aTitle)
2086 r"""GetTitle(TITLE_BLOCK self) -> wxString"""
2087 return _pcbnew.TITLE_BLOCK_GetTitle(self)
2090 r"""SetDate(TITLE_BLOCK self, wxString aDate)"""
2091 return _pcbnew.TITLE_BLOCK_SetDate(self, aDate)
2094 r"""GetDate(TITLE_BLOCK self) -> wxString"""
2095 return _pcbnew.TITLE_BLOCK_GetDate(self)
2098 r"""SetRevision(TITLE_BLOCK self, wxString aRevision)"""
2099 return _pcbnew.TITLE_BLOCK_SetRevision(self, aRevision)
2102 r"""GetRevision(TITLE_BLOCK self) -> wxString"""
2103 return _pcbnew.TITLE_BLOCK_GetRevision(self)
2106 r"""SetCompany(TITLE_BLOCK self, wxString aCompany)"""
2107 return _pcbnew.TITLE_BLOCK_SetCompany(self, aCompany)
2110 r"""GetCompany(TITLE_BLOCK self) -> wxString"""
2111 return _pcbnew.TITLE_BLOCK_GetCompany(self)
2114 r"""SetComment(TITLE_BLOCK self, int aIdx, wxString aComment)"""
2115 return _pcbnew.TITLE_BLOCK_SetComment(self, aIdx, aComment)
2118 r"""GetComment(TITLE_BLOCK self, int aIdx) -> wxString"""
2119 return _pcbnew.TITLE_BLOCK_GetComment(self, aIdx)
2122 r"""Clear(TITLE_BLOCK self)"""
2123 return _pcbnew.TITLE_BLOCK_Clear(self)
2127 r"""GetContextualTextVars(wxArrayString * aVars)"""
2128 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2131 r"""TextVarResolver(TITLE_BLOCK self, wxString aToken, PROJECT const * aProject, int aFlags=0) -> bool"""
2132 return _pcbnew.TITLE_BLOCK_TextVarResolver(self, aToken, aProject, aFlags)
2135 r"""Format(TITLE_BLOCK self, OUTPUTFORMATTER aFormatter)"""
2136 return _pcbnew.TITLE_BLOCK_Format(self, aFormatter)
2140 r"""GetCurrentDate() -> wxString"""
2141 return _pcbnew.TITLE_BLOCK_GetCurrentDate()
2144_pcbnew.TITLE_BLOCK_swigregister(TITLE_BLOCK)
2145UNSPECIFIED_COLOR = _pcbnew.UNSPECIFIED_COLOR
2147BLACK = _pcbnew.BLACK
2149DARKDARKGRAY = _pcbnew.DARKDARKGRAY
2151DARKGRAY = _pcbnew.DARKGRAY
2153LIGHTGRAY = _pcbnew.LIGHTGRAY
2155WHITE = _pcbnew.WHITE
2157LIGHTYELLOW = _pcbnew.LIGHTYELLOW
2159DARKBLUE = _pcbnew.DARKBLUE
2161DARKGREEN = _pcbnew.DARKGREEN
2163DARKCYAN = _pcbnew.DARKCYAN
2165DARKRED = _pcbnew.DARKRED
2167DARKMAGENTA = _pcbnew.DARKMAGENTA
2169DARKBROWN = _pcbnew.DARKBROWN
2173GREEN = _pcbnew.GREEN
2179MAGENTA = _pcbnew.MAGENTA
2181BROWN = _pcbnew.BROWN
2183LIGHTBLUE = _pcbnew.LIGHTBLUE
2185LIGHTGREEN = _pcbnew.LIGHTGREEN
2187LIGHTCYAN = _pcbnew.LIGHTCYAN
2189LIGHTRED = _pcbnew.LIGHTRED
2191LIGHTMAGENTA = _pcbnew.LIGHTMAGENTA
2193YELLOW = _pcbnew.YELLOW
2195PUREBLUE = _pcbnew.PUREBLUE
2197PUREGREEN = _pcbnew.PUREGREEN
2199PURECYAN = _pcbnew.PURECYAN
2201PURERED = _pcbnew.PURERED
2203PUREMAGENTA = _pcbnew.PUREMAGENTA
2205PUREYELLOW = _pcbnew.PUREYELLOW
2207LIGHTERORANGE = _pcbnew.LIGHTERORANGE
2209DARKORANGE = _pcbnew.DARKORANGE
2211ORANGE = _pcbnew.ORANGE
2213LIGHTORANGE = _pcbnew.LIGHTORANGE
2215PUREORANGE = _pcbnew.PUREORANGE
2217NBCOLORS = _pcbnew.NBCOLORS
2219HIGHLIGHT_FLAG = _pcbnew.HIGHLIGHT_FLAG
2221MASKCOLOR = _pcbnew.MASKCOLOR
2224 r"""Proxy of C++ StructColors class."""
2226 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2227 __repr__ = _swig_repr
2228 m_Blue = property(_pcbnew.StructColors_m_Blue_get, _pcbnew.StructColors_m_Blue_set, doc=
r"""m_Blue : unsigned char""")
2229 m_Green = property(_pcbnew.StructColors_m_Green_get, _pcbnew.StructColors_m_Green_set, doc=r"""m_Green : unsigned char""")
2230 m_Red = property(_pcbnew.StructColors_m_Red_get, _pcbnew.StructColors_m_Red_set, doc=r"""m_Red : unsigned char""")
2231 m_Numcolor = property(_pcbnew.StructColors_m_Numcolor_get, _pcbnew.StructColors_m_Numcolor_set, doc=r"""m_Numcolor : EDA_COLOR_T""")
2232 m_ColorName = property(_pcbnew.StructColors_m_ColorName_get, _pcbnew.StructColors_m_ColorName_set, doc=
r"""m_ColorName : std::string""")
2233 m_LightColor = property(_pcbnew.StructColors_m_LightColor_get, _pcbnew.StructColors_m_LightColor_set, doc=
r"""m_LightColor : EDA_COLOR_T""")
2236 r"""__init__(StructColors self) -> StructColors"""
2237 _pcbnew.StructColors_swiginit(self, _pcbnew.new_StructColors())
2238 __swig_destroy__ = _pcbnew.delete_StructColors
2241_pcbnew.StructColors_swigregister(StructColors)
2244 r"""colorRefs() -> StructColors"""
2245 return _pcbnew.colorRefs()
2247 r"""Proxy of C++ KIGFX::COLOR4D class."""
2249 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2250 __repr__ = _swig_repr
2253 r"""FromCSSRGBA(COLOR4D self, int aRed, int aGreen, int aBlue, double aAlpha=1.0) -> COLOR4D"""
2254 return _pcbnew.COLOR4D_FromCSSRGBA(self, aRed, aGreen, aBlue, aAlpha)
2259 __init__(COLOR4D self, double aRed, double aGreen, double aBlue, double aAlpha) -> COLOR4D
2260 __init__(COLOR4D self, EDA_COLOR_T aColor) -> COLOR4D
2261 __init__(COLOR4D self, wxString aColorStr) -> COLOR4D
2262 __init__(COLOR4D self, wxColour const & aColor) -> COLOR4D
2264 _pcbnew.COLOR4D_swiginit(self, _pcbnew.new_COLOR4D(*args))
2267 r"""SetFromWxString(COLOR4D self, wxString aColorString) -> bool"""
2268 return _pcbnew.COLOR4D_SetFromWxString(self, aColorString)
2271 r"""ToCSSString(COLOR4D self) -> wxString"""
2272 return _pcbnew.COLOR4D_ToCSSString(self)
2275 r"""SetFromHexString(COLOR4D self, wxString aColorString) -> bool"""
2276 return _pcbnew.COLOR4D_SetFromHexString(self, aColorString)
2279 r"""ToHexString(COLOR4D self) -> wxString"""
2280 return _pcbnew.COLOR4D_ToHexString(self)
2283 r"""ToColour(COLOR4D self) -> wxColour"""
2284 return _pcbnew.COLOR4D_ToColour(self)
2287 r"""LegacyMix(COLOR4D self, COLOR4D aColor) -> COLOR4D"""
2288 return _pcbnew.COLOR4D_LegacyMix(self, aColor)
2290 def ToHSL(self, aOutHue, aOutSaturation, aOutLightness):
2291 r"""ToHSL(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutLightness)"""
2292 return _pcbnew.COLOR4D_ToHSL(self, aOutHue, aOutSaturation, aOutLightness)
2294 def FromHSL(self, aInHue, aInSaturation, aInLightness):
2295 r"""FromHSL(COLOR4D self, double aInHue, double aInSaturation, double aInLightness)"""
2296 return _pcbnew.COLOR4D_FromHSL(self, aInHue, aInSaturation, aInLightness)
2299 r"""Brighten(COLOR4D self, double aFactor) -> COLOR4D"""
2300 return _pcbnew.COLOR4D_Brighten(self, aFactor)
2303 r"""Darken(COLOR4D self, double aFactor) -> COLOR4D"""
2304 return _pcbnew.COLOR4D_Darken(self, aFactor)
2307 r"""Invert(COLOR4D self) -> COLOR4D"""
2308 return _pcbnew.COLOR4D_Invert(self)
2311 r"""Saturate(COLOR4D self, double aFactor) -> COLOR4D"""
2312 return _pcbnew.COLOR4D_Saturate(self, aFactor)
2315 r"""Desaturate(COLOR4D self) -> COLOR4D"""
2316 return _pcbnew.COLOR4D_Desaturate(self)
2319 r"""Brightened(COLOR4D self, double aFactor) -> COLOR4D"""
2320 return _pcbnew.COLOR4D_Brightened(self, aFactor)
2323 r"""Darkened(COLOR4D self, double aFactor) -> COLOR4D"""
2324 return _pcbnew.COLOR4D_Darkened(self, aFactor)
2326 def Mix(self, aColor, aFactor):
2327 r"""Mix(COLOR4D self, COLOR4D aColor, double aFactor) -> COLOR4D"""
2328 return _pcbnew.COLOR4D_Mix(self, aColor, aFactor)
2331 r"""WithAlpha(COLOR4D self, double aAlpha) -> COLOR4D"""
2332 return _pcbnew.COLOR4D_WithAlpha(self, aAlpha)
2335 r"""Inverted(COLOR4D self) -> COLOR4D"""
2336 return _pcbnew.COLOR4D_Inverted(self)
2339 r"""GetBrightness(COLOR4D self) -> double"""
2340 return _pcbnew.COLOR4D_GetBrightness(self)
2342 def ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue=False):
2343 r"""ToHSV(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue, bool aAlwaysDefineHue=False)"""
2344 return _pcbnew.COLOR4D_ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue)
2347 r"""FromHSV(COLOR4D self, double aInH, double aInS, double aInV)"""
2348 return _pcbnew.COLOR4D_FromHSV(self, aInH, aInS, aInV)
2351 r"""Distance(COLOR4D self, COLOR4D other) -> double"""
2352 return _pcbnew.COLOR4D_Distance(self, other)
2355 r"""Compare(COLOR4D self, COLOR4D aRhs) -> int"""
2356 return _pcbnew.COLOR4D_Compare(self, aRhs)
2359 r"""RelativeLuminance(COLOR4D self) -> double"""
2360 return _pcbnew.COLOR4D_RelativeLuminance(self)
2364 r"""ContrastRatio(COLOR4D aLeft, COLOR4D aRight) -> double"""
2365 return _pcbnew.COLOR4D_ContrastRatio(aLeft, aRight)
2369 r"""FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2370 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2371 r = property(_pcbnew.COLOR4D_r_get, _pcbnew.COLOR4D_r_set, doc=
r"""r : double""")
2372 g = property(_pcbnew.COLOR4D_g_get, _pcbnew.COLOR4D_g_set, doc=
r"""g : double""")
2373 b = property(_pcbnew.COLOR4D_b_get, _pcbnew.COLOR4D_b_set, doc=
r"""b : double""")
2374 a = property(_pcbnew.COLOR4D_a_get, _pcbnew.COLOR4D_a_set, doc=
r"""a : double""")
2375 __swig_destroy__ = _pcbnew.delete_COLOR4D
2378_pcbnew.COLOR4D_swigregister(COLOR4D)
2379COLOR4D.UNSPECIFIED = _pcbnew.cvar.COLOR4D_UNSPECIFIED
2380COLOR4D.WHITE = _pcbnew.cvar.COLOR4D_WHITE
2381COLOR4D.BLACK = _pcbnew.cvar.COLOR4D_BLACK
2382COLOR4D.CLEAR = _pcbnew.cvar.COLOR4D_CLEAR
2386 r"""__eq__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2387 return _pcbnew.__eq__(lhs, rhs)
2390 r"""__ne__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2391 return _pcbnew.__ne__(lhs, rhs)
2394 r"""__lt__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2395 return _pcbnew.__lt__(lhs, rhs)
2398 r"""__lshift__(std::ostream & aStream, COLOR4D aColor) -> std::ostream &"""
2399 return _pcbnew.__lshift__(aStream, aColor)
2401 r"""Proxy of C++ MARKER_BASE class."""
2403 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2406 raise AttributeError(
"No constructor defined - class is abstract")
2407 __repr__ = _swig_repr
2408 MARKER_UNSPEC = _pcbnew.MARKER_BASE_MARKER_UNSPEC
2410 MARKER_ERC = _pcbnew.MARKER_BASE_MARKER_ERC
2412 MARKER_DRC = _pcbnew.MARKER_BASE_MARKER_DRC
2414 MARKER_DRAWING_SHEET = _pcbnew.MARKER_BASE_MARKER_DRAWING_SHEET
2416 MARKER_RATSNEST = _pcbnew.MARKER_BASE_MARKER_RATSNEST
2418 MARKER_PARITY = _pcbnew.MARKER_BASE_MARKER_PARITY
2420 MARKER_SIMUL = _pcbnew.MARKER_BASE_MARKER_SIMUL
2422 __swig_destroy__ = _pcbnew.delete_MARKER_BASE
2425 r"""MarkerScale(MARKER_BASE self) -> int"""
2426 return _pcbnew.MARKER_BASE_MarkerScale(self)
2429 r"""SetMarkerScale(MARKER_BASE self, int aScale)"""
2430 return _pcbnew.MARKER_BASE_SetMarkerScale(self, aScale)
2433 r"""ShapeToPolygon(MARKER_BASE self, SHAPE_LINE_CHAIN aPolygon, int aScale=-1)"""
2434 return _pcbnew.MARKER_BASE_ShapeToPolygon(self, aPolygon, aScale)
2437 r"""PrintMarker(MARKER_BASE self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset)"""
2438 return _pcbnew.MARKER_BASE_PrintMarker(self, aSettings, aOffset)
2441 r"""GetPos(MARKER_BASE self) -> VECTOR2I"""
2442 return _pcbnew.MARKER_BASE_GetPos(self)
2445 r"""GetUUID(MARKER_BASE self) -> KIID"""
2446 return _pcbnew.MARKER_BASE_GetUUID(self)
2449 r"""SetMarkerType(MARKER_BASE self, enum MARKER_BASE::MARKER_T aMarkerType)"""
2450 return _pcbnew.MARKER_BASE_SetMarkerType(self, aMarkerType)
2453 r"""GetMarkerType(MARKER_BASE self) -> enum MARKER_BASE::MARKER_T"""
2454 return _pcbnew.MARKER_BASE_GetMarkerType(self)
2457 r"""IsExcluded(MARKER_BASE self) -> bool"""
2458 return _pcbnew.MARKER_BASE_IsExcluded(self)
2461 r"""SetExcluded(MARKER_BASE self, bool aExcluded, wxString aComment=wxEmptyString)"""
2462 return _pcbnew.MARKER_BASE_SetExcluded(self, *args)
2465 r"""GetComment(MARKER_BASE self) -> wxString"""
2466 return _pcbnew.MARKER_BASE_GetComment(self)
2469 r"""GetSeverity(MARKER_BASE self) -> SEVERITY"""
2470 return _pcbnew.MARKER_BASE_GetSeverity(self)
2473 r"""GetRCItem(MARKER_BASE self) -> std::shared_ptr< RC_ITEM >"""
2474 return _pcbnew.MARKER_BASE_GetRCItem(self)
2478 HitTestMarker(MARKER_BASE self, VECTOR2I aHitPosition, int aAccuracy) -> bool
2479 HitTestMarker(MARKER_BASE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
2481 return _pcbnew.MARKER_BASE_HitTestMarker(self, *args)
2484 r"""GetBoundingBoxMarker(MARKER_BASE self) -> BOX2I"""
2485 return _pcbnew.MARKER_BASE_GetBoundingBoxMarker(self)
2486 m_Pos = property(_pcbnew.MARKER_BASE_m_Pos_get, _pcbnew.MARKER_BASE_m_Pos_set, doc=
r"""m_Pos : VECTOR2I""")
2489_pcbnew.MARKER_BASE_swigregister(MARKER_BASE)
2490TEXT_MIN_SIZE_MM = _pcbnew.TEXT_MIN_SIZE_MM
2492TEXT_MAX_SIZE_MM = _pcbnew.TEXT_MAX_SIZE_MM
2494DEFAULT_SIZE_TEXT = _pcbnew.DEFAULT_SIZE_TEXT
2497 r"""Proxy of C++ EDA_TEXT class."""
2499 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2500 __repr__ = _swig_repr
2504 __init__(EDA_TEXT self, EDA_IU_SCALE aIuScale, wxString aText=wxEmptyString) -> EDA_TEXT
2505 __init__(EDA_TEXT self, EDA_TEXT aText) -> EDA_TEXT
2507 _pcbnew.EDA_TEXT_swiginit(self, _pcbnew.new_EDA_TEXT(*args))
2508 __swig_destroy__ = _pcbnew.delete_EDA_TEXT
2511 r"""Serialize(EDA_TEXT self, google::protobuf::Any & aContainer)"""
2512 return _pcbnew.EDA_TEXT_Serialize(self, aContainer)
2515 r"""Deserialize(EDA_TEXT self, google::protobuf::Any const & aContainer) -> bool"""
2516 return _pcbnew.EDA_TEXT_Deserialize(self, aContainer)
2519 r"""GetText(EDA_TEXT self) -> wxString"""
2520 return _pcbnew.EDA_TEXT_GetText(self)
2523 r"""GetShownText(EDA_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
2524 return _pcbnew.EDA_TEXT_GetShownText(self, aAllowExtraText, aDepth)
2527 r"""HasTextVars(EDA_TEXT self) -> bool"""
2528 return _pcbnew.EDA_TEXT_HasTextVars(self)
2531 r"""SetText(EDA_TEXT self, wxString aText)"""
2532 return _pcbnew.EDA_TEXT_SetText(self, aText)
2535 r"""SetTextThickness(EDA_TEXT self, int aWidth)"""
2536 return _pcbnew.EDA_TEXT_SetTextThickness(self, aWidth)
2539 r"""GetTextThickness(EDA_TEXT self) -> int"""
2540 return _pcbnew.EDA_TEXT_GetTextThickness(self)
2543 r"""GetEffectiveTextPenWidth(EDA_TEXT self, int aDefaultPenWidth=0) -> int"""
2544 return _pcbnew.EDA_TEXT_GetEffectiveTextPenWidth(self, aDefaultPenWidth)
2547 r"""SetTextAngle(EDA_TEXT self, EDA_ANGLE aAngle)"""
2548 return _pcbnew.EDA_TEXT_SetTextAngle(self, aAngle)
2551 r"""GetTextAngle(EDA_TEXT self) -> EDA_ANGLE"""
2552 return _pcbnew.EDA_TEXT_GetTextAngle(self)
2555 r"""SetTextAngleDegrees(EDA_TEXT self, double aOrientation)"""
2556 return _pcbnew.EDA_TEXT_SetTextAngleDegrees(self, aOrientation)
2559 r"""GetTextAngleDegrees(EDA_TEXT self) -> double"""
2560 return _pcbnew.EDA_TEXT_GetTextAngleDegrees(self)
2563 r"""SetItalic(EDA_TEXT self, bool aItalic)"""
2564 return _pcbnew.EDA_TEXT_SetItalic(self, aItalic)
2567 r"""SetItalicFlag(EDA_TEXT self, bool aItalic)"""
2568 return _pcbnew.EDA_TEXT_SetItalicFlag(self, aItalic)
2571 r"""IsItalic(EDA_TEXT self) -> bool"""
2572 return _pcbnew.EDA_TEXT_IsItalic(self)
2575 r"""SetBold(EDA_TEXT self, bool aBold)"""
2576 return _pcbnew.EDA_TEXT_SetBold(self, aBold)
2579 r"""SetBoldFlag(EDA_TEXT self, bool aBold)"""
2580 return _pcbnew.EDA_TEXT_SetBoldFlag(self, aBold)
2583 r"""IsBold(EDA_TEXT self) -> bool"""
2584 return _pcbnew.EDA_TEXT_IsBold(self)
2587 r"""SetVisible(EDA_TEXT self, bool aVisible)"""
2588 return _pcbnew.EDA_TEXT_SetVisible(self, aVisible)
2591 r"""IsVisible(EDA_TEXT self) -> bool"""
2592 return _pcbnew.EDA_TEXT_IsVisible(self)
2595 r"""SetMirrored(EDA_TEXT self, bool isMirrored)"""
2596 return _pcbnew.EDA_TEXT_SetMirrored(self, isMirrored)
2599 r"""IsMirrored(EDA_TEXT self) -> bool"""
2600 return _pcbnew.EDA_TEXT_IsMirrored(self)
2603 r"""SetMultilineAllowed(EDA_TEXT self, bool aAllow)"""
2604 return _pcbnew.EDA_TEXT_SetMultilineAllowed(self, aAllow)
2607 r"""IsMultilineAllowed(EDA_TEXT self) -> bool"""
2608 return _pcbnew.EDA_TEXT_IsMultilineAllowed(self)
2611 r"""SetHorizJustify(EDA_TEXT self, GR_TEXT_H_ALIGN_T aType)"""
2612 return _pcbnew.EDA_TEXT_SetHorizJustify(self, aType)
2615 r"""GetHorizJustify(EDA_TEXT self) -> GR_TEXT_H_ALIGN_T"""
2616 return _pcbnew.EDA_TEXT_GetHorizJustify(self)
2619 r"""SetVertJustify(EDA_TEXT self, GR_TEXT_V_ALIGN_T aType)"""
2620 return _pcbnew.EDA_TEXT_SetVertJustify(self, aType)
2623 r"""GetVertJustify(EDA_TEXT self) -> GR_TEXT_V_ALIGN_T"""
2624 return _pcbnew.EDA_TEXT_GetVertJustify(self)
2627 r"""SetKeepUpright(EDA_TEXT self, bool aKeepUpright)"""
2628 return _pcbnew.EDA_TEXT_SetKeepUpright(self, aKeepUpright)
2631 r"""IsKeepUpright(EDA_TEXT self) -> bool"""
2632 return _pcbnew.EDA_TEXT_IsKeepUpright(self)
2635 r"""FlipHJustify(EDA_TEXT self)"""
2636 return _pcbnew.EDA_TEXT_FlipHJustify(self)
2639 r"""SwapAttributes(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2640 return _pcbnew.EDA_TEXT_SwapAttributes(self, aTradingPartner)
2643 r"""SwapText(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2644 return _pcbnew.EDA_TEXT_SwapText(self, aTradingPartner)
2647 r"""CopyText(EDA_TEXT self, EDA_TEXT aSrc)"""
2648 return _pcbnew.EDA_TEXT_CopyText(self, aSrc)
2652 SetAttributes(EDA_TEXT self, EDA_TEXT aSrc, bool aSetPosition=True)
2655 return _pcbnew.EDA_TEXT_SetAttributes(self, *args)
2658 r"""GetAttributes(EDA_TEXT self) -> TEXT_ATTRIBUTES"""
2659 return _pcbnew.EDA_TEXT_GetAttributes(self)
2662 r"""Replace(EDA_TEXT self, EDA_SEARCH_DATA const & aSearchData) -> bool"""
2663 return _pcbnew.EDA_TEXT_Replace(self, aSearchData)
2666 r"""IsDefaultFormatting(EDA_TEXT self) -> bool"""
2667 return _pcbnew.EDA_TEXT_IsDefaultFormatting(self)
2670 r"""SetFont(EDA_TEXT self, KIFONT::FONT * aFont)"""
2671 return _pcbnew.EDA_TEXT_SetFont(self, aFont)
2674 r"""GetFont(EDA_TEXT self) -> KIFONT::FONT *"""
2675 return _pcbnew.EDA_TEXT_GetFont(self)
2678 r"""SetUnresolvedFontName(EDA_TEXT self, wxString aFontName)"""
2679 return _pcbnew.EDA_TEXT_SetUnresolvedFontName(self, aFontName)
2682 r"""ResolveFont(EDA_TEXT self, std::vector< wxString,std::allocator< wxString > > const * aEmbeddedFonts) -> bool"""
2683 return _pcbnew.EDA_TEXT_ResolveFont(self, aEmbeddedFonts)
2686 r"""GetFontName(EDA_TEXT self) -> wxString"""
2687 return _pcbnew.EDA_TEXT_GetFontName(self)
2690 r"""SetFontIndex(EDA_TEXT self, int aIdx)"""
2691 return _pcbnew.EDA_TEXT_SetFontIndex(self, aIdx)
2694 r"""GetFontIndex(EDA_TEXT self) -> int"""
2695 return _pcbnew.EDA_TEXT_GetFontIndex(self)
2698 r"""SetLineSpacing(EDA_TEXT self, double aLineSpacing)"""
2699 return _pcbnew.EDA_TEXT_SetLineSpacing(self, aLineSpacing)
2702 r"""GetLineSpacing(EDA_TEXT self) -> double"""
2703 return _pcbnew.EDA_TEXT_GetLineSpacing(self)
2706 r"""SetTextSize(EDA_TEXT self, VECTOR2I aNewSize, bool aEnforceMinTextSize=True)"""
2707 return _pcbnew.EDA_TEXT_SetTextSize(self, aNewSize, aEnforceMinTextSize)
2710 r"""GetTextSize(EDA_TEXT self) -> VECTOR2I"""
2711 return _pcbnew.EDA_TEXT_GetTextSize(self)
2714 r"""SetTextWidth(EDA_TEXT self, int aWidth)"""
2715 return _pcbnew.EDA_TEXT_SetTextWidth(self, aWidth)
2718 r"""GetTextWidth(EDA_TEXT self) -> int"""
2719 return _pcbnew.EDA_TEXT_GetTextWidth(self)
2722 r"""SetTextHeight(EDA_TEXT self, int aHeight)"""
2723 return _pcbnew.EDA_TEXT_SetTextHeight(self, aHeight)
2726 r"""GetTextHeight(EDA_TEXT self) -> int"""
2727 return _pcbnew.EDA_TEXT_GetTextHeight(self)
2730 r"""SetTextColor(EDA_TEXT self, COLOR4D aColor)"""
2731 return _pcbnew.EDA_TEXT_SetTextColor(self, aColor)
2734 r"""GetTextColor(EDA_TEXT self) -> COLOR4D"""
2735 return _pcbnew.EDA_TEXT_GetTextColor(self)
2738 r"""SetTextPos(EDA_TEXT self, VECTOR2I aPoint)"""
2739 return _pcbnew.EDA_TEXT_SetTextPos(self, aPoint)
2742 r"""GetTextPos(EDA_TEXT self) -> VECTOR2I"""
2743 return _pcbnew.EDA_TEXT_GetTextPos(self)
2746 r"""SetTextX(EDA_TEXT self, int aX)"""
2747 return _pcbnew.EDA_TEXT_SetTextX(self, aX)
2750 r"""SetTextY(EDA_TEXT self, int aY)"""
2751 return _pcbnew.EDA_TEXT_SetTextY(self, aY)
2754 r"""Offset(EDA_TEXT self, VECTOR2I aOffset)"""
2755 return _pcbnew.EDA_TEXT_Offset(self, aOffset)
2758 r"""Empty(EDA_TEXT self)"""
2759 return _pcbnew.EDA_TEXT_Empty(self)
2763 r"""MapHorizJustify(int aHorizJustify) -> GR_TEXT_H_ALIGN_T"""
2764 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
2768 r"""MapVertJustify(int aVertJustify) -> GR_TEXT_V_ALIGN_T"""
2769 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
2771 def Print(self, aSettings, aOffset, aColor, aDisplay_mode=FILLED):
2772 r"""Print(EDA_TEXT self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset, COLOR4D aColor, OUTLINE_MODE aDisplay_mode=FILLED)"""
2773 return _pcbnew.EDA_TEXT_Print(self, aSettings, aOffset, aColor, aDisplay_mode)
2776 r"""GetEffectiveTextShape(EDA_TEXT self, bool aTriangulate=True, BOX2I aBBox=BOX2I(), EDA_ANGLE aAngle=ANGLE_0) -> std::shared_ptr< SHAPE_COMPOUND >"""
2777 return _pcbnew.EDA_TEXT_GetEffectiveTextShape(self, *args)
2781 TextHitTest(EDA_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
2782 TextHitTest(EDA_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
2784 return _pcbnew.EDA_TEXT_TextHitTest(self, *args)
2787 r"""GetTextBox(EDA_TEXT self, int aLine=-1) -> BOX2I"""
2788 return _pcbnew.EDA_TEXT_GetTextBox(self, aLine)
2791 r"""GetInterline(EDA_TEXT self) -> int"""
2792 return _pcbnew.EDA_TEXT_GetInterline(self)
2795 r"""GetTextStyleName(EDA_TEXT self) -> wxString"""
2796 return _pcbnew.EDA_TEXT_GetTextStyleName(self)
2799 r"""GetLinePositions(EDA_TEXT self, VECTOR_VECTOR2I aPositions, int aLineCount)"""
2800 return _pcbnew.EDA_TEXT_GetLinePositions(self, aPositions, aLineCount)
2803 r"""Levenshtein(EDA_TEXT self, EDA_TEXT aOther) -> double"""
2804 return _pcbnew.EDA_TEXT_Levenshtein(self, aOther)
2807 r"""Similarity(EDA_TEXT self, EDA_TEXT aOther) -> double"""
2808 return _pcbnew.EDA_TEXT_Similarity(self, aOther)
2811 r"""Format(EDA_TEXT self, OUTPUTFORMATTER aFormatter, int aControlBits)"""
2812 return _pcbnew.EDA_TEXT_Format(self, aFormatter, aControlBits)
2815 r"""GetDrawRotation(EDA_TEXT self) -> EDA_ANGLE"""
2816 return _pcbnew.EDA_TEXT_GetDrawRotation(self)
2819 r"""GetDrawPos(EDA_TEXT self) -> VECTOR2I"""
2820 return _pcbnew.EDA_TEXT_GetDrawPos(self)
2823 r"""ClearRenderCache(EDA_TEXT self)"""
2824 return _pcbnew.EDA_TEXT_ClearRenderCache(self)
2827 r"""ClearBoundingBoxCache(EDA_TEXT self)"""
2828 return _pcbnew.EDA_TEXT_ClearBoundingBoxCache(self)
2831 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 > > >"""
2832 return _pcbnew.EDA_TEXT_GetRenderCache(self, *args)
2835 r"""SetupRenderCache(EDA_TEXT self, wxString aResolvedText, KIFONT::FONT const * aFont, EDA_ANGLE aAngle, VECTOR2I aOffset)"""
2836 return _pcbnew.EDA_TEXT_SetupRenderCache(self, aResolvedText, aFont, aAngle, aOffset)
2839 r"""AddRenderCacheGlyph(EDA_TEXT self, SHAPE_POLY_SET aPoly)"""
2840 return _pcbnew.EDA_TEXT_AddRenderCacheGlyph(self, aPoly)
2843 r"""Compare(EDA_TEXT self, EDA_TEXT aOther) -> int"""
2844 return _pcbnew.EDA_TEXT_Compare(self, aOther)
2847 r"""__eq__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
2848 return _pcbnew.EDA_TEXT___eq__(self, aRhs)
2851 r"""__lt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
2852 return _pcbnew.EDA_TEXT___lt__(self, aRhs)
2855 r"""__gt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
2856 return _pcbnew.EDA_TEXT___gt__(self, aRhs)
2859 r"""HasHyperlink(EDA_TEXT self) -> bool"""
2860 return _pcbnew.EDA_TEXT_HasHyperlink(self)
2863 r"""GetHyperlink(EDA_TEXT self) -> wxString"""
2864 return _pcbnew.EDA_TEXT_GetHyperlink(self)
2867 r"""SetHyperlink(EDA_TEXT self, wxString aLink)"""
2868 return _pcbnew.EDA_TEXT_SetHyperlink(self, aLink)
2871 r"""RemoveHyperlink(EDA_TEXT self)"""
2872 return _pcbnew.EDA_TEXT_RemoveHyperlink(self)
2876 r"""ValidateHyperlink(wxString aURL) -> bool"""
2877 return _pcbnew.EDA_TEXT_ValidateHyperlink(aURL)
2881 r"""IsGotoPageHref(wxString aHref, wxString aDestination=None) -> bool"""
2882 return _pcbnew.EDA_TEXT_IsGotoPageHref(aHref, aDestination)
2886 r"""GotoPageHref(wxString aDestination) -> wxString"""
2887 return _pcbnew.EDA_TEXT_GotoPageHref(aDestination)
2890_pcbnew.EDA_TEXT_swigregister(EDA_TEXT)
2893 r"""GetBuildVersion() -> wxString"""
2894 return _pcbnew.GetBuildVersion()
2897 r"""GetBaseVersion() -> wxString"""
2898 return _pcbnew.GetBaseVersion()
2901 r"""GetPlatformGetBitnessName() -> wxString"""
2902 return _pcbnew.GetPlatformGetBitnessName()
2905 r"""GetSemanticVersion() -> wxString"""
2906 return _pcbnew.GetSemanticVersion()
2909 r"""GetMajorMinorVersion() -> wxString"""
2910 return _pcbnew.GetMajorMinorVersion()
2913 r"""GetMajorMinorPatchVersion() -> wxString"""
2914 return _pcbnew.GetMajorMinorPatchVersion()
2917 r"""GetBuildDate() -> wxString"""
2918 return _pcbnew.GetBuildDate()
2921 r"""GetCommitHash() -> wxString"""
2922 return _pcbnew.GetCommitHash()
2925 r"""GetMajorMinorPatchTuple() -> std::tuple< int,int,int > const &"""
2926 return _pcbnew.GetMajorMinorPatchTuple()
2929 r"""IsNightlyVersion() -> bool"""
2930 return _pcbnew.IsNightlyVersion()
2933 r"""SetOpenGLInfo(char const * aRenderer, char const * aVendor, char const * aVersion)"""
2934 return _pcbnew.SetOpenGLInfo(aRenderer, aVendor, aVersion)
2937 r"""GetVersionInfoData(wxString aTitle, bool aHtml=False, bool aBrief=False) -> wxString"""
2938 return _pcbnew.GetVersionInfoData(aTitle, aHtml, aBrief)
2939UNDEFINED_LAYER = _pcbnew.UNDEFINED_LAYER
2941UNSELECTED_LAYER = _pcbnew.UNSELECTED_LAYER
2947In1_Cu = _pcbnew.In1_Cu
2949In2_Cu = _pcbnew.In2_Cu
2951In3_Cu = _pcbnew.In3_Cu
2953In4_Cu = _pcbnew.In4_Cu
2955In5_Cu = _pcbnew.In5_Cu
2957In6_Cu = _pcbnew.In6_Cu
2959In7_Cu = _pcbnew.In7_Cu
2961In8_Cu = _pcbnew.In8_Cu
2963In9_Cu = _pcbnew.In9_Cu
2965In10_Cu = _pcbnew.In10_Cu
2967In11_Cu = _pcbnew.In11_Cu
2969In12_Cu = _pcbnew.In12_Cu
2971In13_Cu = _pcbnew.In13_Cu
2973In14_Cu = _pcbnew.In14_Cu
2975In15_Cu = _pcbnew.In15_Cu
2977In16_Cu = _pcbnew.In16_Cu
2979In17_Cu = _pcbnew.In17_Cu
2981In18_Cu = _pcbnew.In18_Cu
2983In19_Cu = _pcbnew.In19_Cu
2985In20_Cu = _pcbnew.In20_Cu
2987In21_Cu = _pcbnew.In21_Cu
2989In22_Cu = _pcbnew.In22_Cu
2991In23_Cu = _pcbnew.In23_Cu
2993In24_Cu = _pcbnew.In24_Cu
2995In25_Cu = _pcbnew.In25_Cu
2997In26_Cu = _pcbnew.In26_Cu
2999In27_Cu = _pcbnew.In27_Cu
3001In28_Cu = _pcbnew.In28_Cu
3003In29_Cu = _pcbnew.In29_Cu
3005In30_Cu = _pcbnew.In30_Cu
3007F_Mask = _pcbnew.F_Mask
3009B_Mask = _pcbnew.B_Mask
3011F_SilkS = _pcbnew.F_SilkS
3013B_SilkS = _pcbnew.B_SilkS
3015F_Adhes = _pcbnew.F_Adhes
3017B_Adhes = _pcbnew.B_Adhes
3019F_Paste = _pcbnew.F_Paste
3021B_Paste = _pcbnew.B_Paste
3023Dwgs_User = _pcbnew.Dwgs_User
3025Cmts_User = _pcbnew.Cmts_User
3027Eco1_User = _pcbnew.Eco1_User
3029Eco2_User = _pcbnew.Eco2_User
3031Edge_Cuts = _pcbnew.Edge_Cuts
3033Margin = _pcbnew.Margin
3035B_CrtYd = _pcbnew.B_CrtYd
3037F_CrtYd = _pcbnew.F_CrtYd
3039B_Fab = _pcbnew.B_Fab
3041F_Fab = _pcbnew.F_Fab
3043Rescue = _pcbnew.Rescue
3045User_1 = _pcbnew.User_1
3047User_2 = _pcbnew.User_2
3049User_3 = _pcbnew.User_3
3051User_4 = _pcbnew.User_4
3053User_5 = _pcbnew.User_5
3055User_6 = _pcbnew.User_6
3057User_7 = _pcbnew.User_7
3059User_8 = _pcbnew.User_8
3061User_9 = _pcbnew.User_9
3063User_10 = _pcbnew.User_10
3065User_11 = _pcbnew.User_11
3067User_12 = _pcbnew.User_12
3069User_13 = _pcbnew.User_13
3071User_14 = _pcbnew.User_14
3073User_15 = _pcbnew.User_15
3075User_16 = _pcbnew.User_16
3077User_17 = _pcbnew.User_17
3079User_18 = _pcbnew.User_18
3081User_19 = _pcbnew.User_19
3083User_20 = _pcbnew.User_20
3085User_21 = _pcbnew.User_21
3087User_22 = _pcbnew.User_22
3089User_23 = _pcbnew.User_23
3091User_24 = _pcbnew.User_24
3093User_25 = _pcbnew.User_25
3095User_26 = _pcbnew.User_26
3097User_27 = _pcbnew.User_27
3099User_28 = _pcbnew.User_28
3101User_29 = _pcbnew.User_29
3103User_30 = _pcbnew.User_30
3105User_31 = _pcbnew.User_31
3107User_32 = _pcbnew.User_32
3109User_33 = _pcbnew.User_33
3111User_34 = _pcbnew.User_34
3113User_35 = _pcbnew.User_35
3115User_36 = _pcbnew.User_36
3117User_37 = _pcbnew.User_37
3119User_38 = _pcbnew.User_38
3121User_39 = _pcbnew.User_39
3123User_40 = _pcbnew.User_40
3125User_41 = _pcbnew.User_41
3127User_42 = _pcbnew.User_42
3129User_43 = _pcbnew.User_43
3131User_44 = _pcbnew.User_44
3133User_45 = _pcbnew.User_45
3135PCB_LAYER_ID_COUNT = _pcbnew.PCB_LAYER_ID_COUNT
3137MAX_CU_LAYERS = _pcbnew.MAX_CU_LAYERS
3139MAX_USER_DEFINED_LAYERS = _pcbnew.MAX_USER_DEFINED_LAYERS
3141FLASHING_DEFAULT = _pcbnew.FLASHING_DEFAULT
3143FLASHING_ALWAYS_FLASHED = _pcbnew.FLASHING_ALWAYS_FLASHED
3145FLASHING_NEVER_FLASHED = _pcbnew.FLASHING_NEVER_FLASHED
3147NETNAMES_LAYER_ID_START = _pcbnew.NETNAMES_LAYER_ID_START
3149NETNAMES_LAYER_ID_RESERVED = _pcbnew.NETNAMES_LAYER_ID_RESERVED
3151LAYER_PAD_FR_NETNAMES = _pcbnew.LAYER_PAD_FR_NETNAMES
3153LAYER_PAD_BK_NETNAMES = _pcbnew.LAYER_PAD_BK_NETNAMES
3155LAYER_PAD_NETNAMES = _pcbnew.LAYER_PAD_NETNAMES
3157LAYER_VIA_NETNAMES = _pcbnew.LAYER_VIA_NETNAMES
3159NETNAMES_LAYER_ID_END = _pcbnew.NETNAMES_LAYER_ID_END
3161GAL_UI_LAYER_COUNT = _pcbnew.GAL_UI_LAYER_COUNT
3163GAL_LAYER_ID_START = _pcbnew.GAL_LAYER_ID_START
3165LAYER_VIAS = _pcbnew.LAYER_VIAS
3167LAYER_VIA_MICROVIA = _pcbnew.LAYER_VIA_MICROVIA
3169LAYER_VIA_BBLIND = _pcbnew.LAYER_VIA_BBLIND
3171LAYER_VIA_THROUGH = _pcbnew.LAYER_VIA_THROUGH
3173LAYER_NON_PLATEDHOLES = _pcbnew.LAYER_NON_PLATEDHOLES
3175LAYER_FP_TEXT = _pcbnew.LAYER_FP_TEXT
3177LAYER_ANCHOR = _pcbnew.LAYER_ANCHOR
3179LAYER_RATSNEST = _pcbnew.LAYER_RATSNEST
3181LAYER_GRID = _pcbnew.LAYER_GRID
3183LAYER_GRID_AXES = _pcbnew.LAYER_GRID_AXES
3185LAYER_FOOTPRINTS_FR = _pcbnew.LAYER_FOOTPRINTS_FR
3187LAYER_FOOTPRINTS_BK = _pcbnew.LAYER_FOOTPRINTS_BK
3189LAYER_FP_VALUES = _pcbnew.LAYER_FP_VALUES
3191LAYER_FP_REFERENCES = _pcbnew.LAYER_FP_REFERENCES
3193LAYER_TRACKS = _pcbnew.LAYER_TRACKS
3195LAYER_PAD_PLATEDHOLES = _pcbnew.LAYER_PAD_PLATEDHOLES
3197LAYER_VIA_HOLES = _pcbnew.LAYER_VIA_HOLES
3199LAYER_DRC_ERROR = _pcbnew.LAYER_DRC_ERROR
3201LAYER_DRAWINGSHEET = _pcbnew.LAYER_DRAWINGSHEET
3203LAYER_GP_OVERLAY = _pcbnew.LAYER_GP_OVERLAY
3205LAYER_SELECT_OVERLAY = _pcbnew.LAYER_SELECT_OVERLAY
3207LAYER_PCB_BACKGROUND = _pcbnew.LAYER_PCB_BACKGROUND
3209LAYER_CURSOR = _pcbnew.LAYER_CURSOR
3211LAYER_AUX_ITEMS = _pcbnew.LAYER_AUX_ITEMS
3213LAYER_DRAW_BITMAPS = _pcbnew.LAYER_DRAW_BITMAPS
3215GAL_LAYER_ID_BITMASK_END = _pcbnew.GAL_LAYER_ID_BITMASK_END
3217LAYER_PADS = _pcbnew.LAYER_PADS
3219LAYER_ZONES = _pcbnew.LAYER_ZONES
3221LAYER_PAD_HOLEWALLS = _pcbnew.LAYER_PAD_HOLEWALLS
3223LAYER_VIA_HOLEWALLS = _pcbnew.LAYER_VIA_HOLEWALLS
3225LAYER_DRC_WARNING = _pcbnew.LAYER_DRC_WARNING
3227LAYER_DRC_EXCLUSION = _pcbnew.LAYER_DRC_EXCLUSION
3229LAYER_MARKER_SHADOWS = _pcbnew.LAYER_MARKER_SHADOWS
3231LAYER_LOCKED_ITEM_SHADOW = _pcbnew.LAYER_LOCKED_ITEM_SHADOW
3233LAYER_CONFLICTS_SHADOW = _pcbnew.LAYER_CONFLICTS_SHADOW
3235LAYER_SHAPES = _pcbnew.LAYER_SHAPES
3237LAYER_DRC_SHAPE1 = _pcbnew.LAYER_DRC_SHAPE1
3239LAYER_DRC_SHAPE2 = _pcbnew.LAYER_DRC_SHAPE2
3241LAYER_DRAWINGSHEET_PAGE1 = _pcbnew.LAYER_DRAWINGSHEET_PAGE1
3243LAYER_DRAWINGSHEET_PAGEn = _pcbnew.LAYER_DRAWINGSHEET_PAGEn
3245LAYER_PAGE_LIMITS = _pcbnew.LAYER_PAGE_LIMITS
3247LAYER_ZONE_START = _pcbnew.LAYER_ZONE_START
3249LAYER_ZONE_END = _pcbnew.LAYER_ZONE_END
3251LAYER_PAD_COPPER_START = _pcbnew.LAYER_PAD_COPPER_START
3253LAYER_PAD_COPPER_END = _pcbnew.LAYER_PAD_COPPER_END
3255LAYER_VIA_COPPER_START = _pcbnew.LAYER_VIA_COPPER_START
3257LAYER_VIA_COPPER_END = _pcbnew.LAYER_VIA_COPPER_END
3259LAYER_CLEARANCE_START = _pcbnew.LAYER_CLEARANCE_START
3261LAYER_CLEARANCE_END = _pcbnew.LAYER_CLEARANCE_END
3263LAYER_BITMAP_START = _pcbnew.LAYER_BITMAP_START
3265LAYER_BITMAP_END = _pcbnew.LAYER_BITMAP_END
3267LAYER_UI_START = _pcbnew.LAYER_UI_START
3269LAYER_UI_END = _pcbnew.LAYER_UI_END
3271GAL_LAYER_ID_END = _pcbnew.GAL_LAYER_ID_END
3275 r"""ToGalLayer(int aInteger) -> GAL_LAYER_ID"""
3276 return _pcbnew.ToGalLayer(aInteger)
3278 r"""Proxy of C++ GAL_SET class."""
3280 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3281 __repr__ = _swig_repr
3286 __init__(GAL_SET self, GAL_SET aOther) -> GAL_SET
3287 __init__(GAL_SET self, GAL_LAYER_ID const * aArray, unsigned int aCount) -> GAL_SET
3289 _pcbnew.GAL_SET_swiginit(self, _pcbnew.new_GAL_SET(*args))
3293 set(GAL_SET self) -> GAL_SET
3294 set(GAL_SET self, int aPos, bool aVal=True) -> GAL_SET
3295 set(GAL_SET self, GAL_LAYER_ID aPos, bool aVal=
True) -> GAL_SET
3297 return _pcbnew.GAL_SET_set(self, *args)
3300 r"""Contains(GAL_SET self, GAL_LAYER_ID aPos) -> bool"""
3301 return _pcbnew.GAL_SET_Contains(self, aPos)
3304 r"""Seq(GAL_SET self) -> std::vector< GAL_LAYER_ID,std::allocator< GAL_LAYER_ID > >"""
3305 return _pcbnew.GAL_SET_Seq(self)
3309 r"""DefaultVisible() -> GAL_SET"""
3310 return _pcbnew.GAL_SET_DefaultVisible()
3311 __swig_destroy__ = _pcbnew.delete_GAL_SET
3314_pcbnew.GAL_SET_swigregister(GAL_SET)
3315PCBNEW_LAYER_ID_START = cvar.PCBNEW_LAYER_ID_START
3316GAL_LAYER_ID_COUNT = cvar.GAL_LAYER_ID_COUNT
3318SCH_LAYER_ID_START = _pcbnew.SCH_LAYER_ID_START
3320LAYER_WIRE = _pcbnew.LAYER_WIRE
3322LAYER_BUS = _pcbnew.LAYER_BUS
3324LAYER_JUNCTION = _pcbnew.LAYER_JUNCTION
3326LAYER_LOCLABEL = _pcbnew.LAYER_LOCLABEL
3328LAYER_GLOBLABEL = _pcbnew.LAYER_GLOBLABEL
3330LAYER_HIERLABEL = _pcbnew.LAYER_HIERLABEL
3332LAYER_PINNUM = _pcbnew.LAYER_PINNUM
3334LAYER_PINNAM = _pcbnew.LAYER_PINNAM
3336LAYER_REFERENCEPART = _pcbnew.LAYER_REFERENCEPART
3338LAYER_VALUEPART = _pcbnew.LAYER_VALUEPART
3340LAYER_FIELDS = _pcbnew.LAYER_FIELDS
3342LAYER_INTERSHEET_REFS = _pcbnew.LAYER_INTERSHEET_REFS
3344LAYER_NETCLASS_REFS = _pcbnew.LAYER_NETCLASS_REFS
3346LAYER_RULE_AREAS = _pcbnew.LAYER_RULE_AREAS
3348LAYER_DEVICE = _pcbnew.LAYER_DEVICE
3350LAYER_NOTES = _pcbnew.LAYER_NOTES
3352LAYER_PRIVATE_NOTES = _pcbnew.LAYER_PRIVATE_NOTES
3354LAYER_NOTES_BACKGROUND = _pcbnew.LAYER_NOTES_BACKGROUND
3356LAYER_PIN = _pcbnew.LAYER_PIN
3358LAYER_SHEET = _pcbnew.LAYER_SHEET
3360LAYER_SHEETNAME = _pcbnew.LAYER_SHEETNAME
3362LAYER_SHEETFILENAME = _pcbnew.LAYER_SHEETFILENAME
3364LAYER_SHEETFIELDS = _pcbnew.LAYER_SHEETFIELDS
3366LAYER_SHEETLABEL = _pcbnew.LAYER_SHEETLABEL
3368LAYER_NOCONNECT = _pcbnew.LAYER_NOCONNECT
3370LAYER_DANGLING = _pcbnew.LAYER_DANGLING
3372LAYER_DNP_MARKER = _pcbnew.LAYER_DNP_MARKER
3374LAYER_ERC_WARN = _pcbnew.LAYER_ERC_WARN
3376LAYER_ERC_ERR = _pcbnew.LAYER_ERC_ERR
3378LAYER_ERC_EXCLUSION = _pcbnew.LAYER_ERC_EXCLUSION
3380LAYER_EXCLUDED_FROM_SIM = _pcbnew.LAYER_EXCLUDED_FROM_SIM
3382LAYER_SHAPES_BACKGROUND = _pcbnew.LAYER_SHAPES_BACKGROUND
3384LAYER_DEVICE_BACKGROUND = _pcbnew.LAYER_DEVICE_BACKGROUND
3386LAYER_SHEET_BACKGROUND = _pcbnew.LAYER_SHEET_BACKGROUND
3388LAYER_SCHEMATIC_GRID = _pcbnew.LAYER_SCHEMATIC_GRID
3390LAYER_SCHEMATIC_GRID_AXES = _pcbnew.LAYER_SCHEMATIC_GRID_AXES
3392LAYER_SCHEMATIC_BACKGROUND = _pcbnew.LAYER_SCHEMATIC_BACKGROUND
3394LAYER_SCHEMATIC_CURSOR = _pcbnew.LAYER_SCHEMATIC_CURSOR
3396LAYER_HOVERED = _pcbnew.LAYER_HOVERED
3398LAYER_BRIGHTENED = _pcbnew.LAYER_BRIGHTENED
3400LAYER_HIDDEN = _pcbnew.LAYER_HIDDEN
3402LAYER_NET_COLOR_HIGHLIGHT = _pcbnew.LAYER_NET_COLOR_HIGHLIGHT
3404LAYER_SELECTION_SHADOWS = _pcbnew.LAYER_SELECTION_SHADOWS
3406LAYER_SCHEMATIC_DRAWINGSHEET = _pcbnew.LAYER_SCHEMATIC_DRAWINGSHEET
3408LAYER_SCHEMATIC_PAGE_LIMITS = _pcbnew.LAYER_SCHEMATIC_PAGE_LIMITS
3410LAYER_BUS_JUNCTION = _pcbnew.LAYER_BUS_JUNCTION
3412LAYER_SCHEMATIC_AUX_ITEMS = _pcbnew.LAYER_SCHEMATIC_AUX_ITEMS
3414LAYER_SCHEMATIC_ANCHOR = _pcbnew.LAYER_SCHEMATIC_ANCHOR
3416LAYER_OP_VOLTAGES = _pcbnew.LAYER_OP_VOLTAGES
3418LAYER_OP_CURRENTS = _pcbnew.LAYER_OP_CURRENTS
3420SCH_LAYER_ID_END = _pcbnew.SCH_LAYER_ID_END
3422GERBVIEW_LAYER_ID_START = _pcbnew.GERBVIEW_LAYER_ID_START
3424GERBVIEW_LAYER_ID_RESERVED = _pcbnew.GERBVIEW_LAYER_ID_RESERVED
3426LAYER_DCODES = _pcbnew.LAYER_DCODES
3428LAYER_NEGATIVE_OBJECTS = _pcbnew.LAYER_NEGATIVE_OBJECTS
3430LAYER_GERBVIEW_GRID = _pcbnew.LAYER_GERBVIEW_GRID
3432LAYER_GERBVIEW_AXES = _pcbnew.LAYER_GERBVIEW_AXES
3434LAYER_GERBVIEW_BACKGROUND = _pcbnew.LAYER_GERBVIEW_BACKGROUND
3436LAYER_GERBVIEW_DRAWINGSHEET = _pcbnew.LAYER_GERBVIEW_DRAWINGSHEET
3438LAYER_GERBVIEW_PAGE_LIMITS = _pcbnew.LAYER_GERBVIEW_PAGE_LIMITS
3440GERBVIEW_LAYER_ID_END = _pcbnew.GERBVIEW_LAYER_ID_END
3442LAYER_3D_START = _pcbnew.LAYER_3D_START
3444LAYER_3D_BACKGROUND_BOTTOM = _pcbnew.LAYER_3D_BACKGROUND_BOTTOM
3446LAYER_3D_BACKGROUND_TOP = _pcbnew.LAYER_3D_BACKGROUND_TOP
3448LAYER_3D_BOARD = _pcbnew.LAYER_3D_BOARD
3450LAYER_3D_COPPER_TOP = _pcbnew.LAYER_3D_COPPER_TOP
3452LAYER_3D_COPPER_BOTTOM = _pcbnew.LAYER_3D_COPPER_BOTTOM
3454LAYER_3D_SILKSCREEN_BOTTOM = _pcbnew.LAYER_3D_SILKSCREEN_BOTTOM
3456LAYER_3D_SILKSCREEN_TOP = _pcbnew.LAYER_3D_SILKSCREEN_TOP
3458LAYER_3D_SOLDERMASK_BOTTOM = _pcbnew.LAYER_3D_SOLDERMASK_BOTTOM
3460LAYER_3D_SOLDERMASK_TOP = _pcbnew.LAYER_3D_SOLDERMASK_TOP
3462LAYER_3D_SOLDERPASTE = _pcbnew.LAYER_3D_SOLDERPASTE
3464LAYER_3D_ADHESIVE = _pcbnew.LAYER_3D_ADHESIVE
3466LAYER_3D_USER_COMMENTS = _pcbnew.LAYER_3D_USER_COMMENTS
3468LAYER_3D_USER_DRAWINGS = _pcbnew.LAYER_3D_USER_DRAWINGS
3470LAYER_3D_USER_ECO1 = _pcbnew.LAYER_3D_USER_ECO1
3472LAYER_3D_USER_ECO2 = _pcbnew.LAYER_3D_USER_ECO2
3474LAYER_3D_USER_1 = _pcbnew.LAYER_3D_USER_1
3476LAYER_3D_USER_2 = _pcbnew.LAYER_3D_USER_2
3478LAYER_3D_USER_3 = _pcbnew.LAYER_3D_USER_3
3480LAYER_3D_USER_4 = _pcbnew.LAYER_3D_USER_4
3482LAYER_3D_USER_5 = _pcbnew.LAYER_3D_USER_5
3484LAYER_3D_USER_6 = _pcbnew.LAYER_3D_USER_6
3486LAYER_3D_USER_7 = _pcbnew.LAYER_3D_USER_7
3488LAYER_3D_USER_8 = _pcbnew.LAYER_3D_USER_8
3490LAYER_3D_USER_9 = _pcbnew.LAYER_3D_USER_9
3492LAYER_3D_USER_10 = _pcbnew.LAYER_3D_USER_10
3494LAYER_3D_USER_11 = _pcbnew.LAYER_3D_USER_11
3496LAYER_3D_USER_12 = _pcbnew.LAYER_3D_USER_12
3498LAYER_3D_USER_13 = _pcbnew.LAYER_3D_USER_13
3500LAYER_3D_USER_14 = _pcbnew.LAYER_3D_USER_14
3502LAYER_3D_USER_15 = _pcbnew.LAYER_3D_USER_15
3504LAYER_3D_USER_16 = _pcbnew.LAYER_3D_USER_16
3506LAYER_3D_USER_17 = _pcbnew.LAYER_3D_USER_17
3508LAYER_3D_USER_18 = _pcbnew.LAYER_3D_USER_18
3510LAYER_3D_USER_19 = _pcbnew.LAYER_3D_USER_19
3512LAYER_3D_USER_20 = _pcbnew.LAYER_3D_USER_20
3514LAYER_3D_USER_21 = _pcbnew.LAYER_3D_USER_21
3516LAYER_3D_USER_22 = _pcbnew.LAYER_3D_USER_22
3518LAYER_3D_USER_23 = _pcbnew.LAYER_3D_USER_23
3520LAYER_3D_USER_24 = _pcbnew.LAYER_3D_USER_24
3522LAYER_3D_USER_25 = _pcbnew.LAYER_3D_USER_25
3524LAYER_3D_USER_26 = _pcbnew.LAYER_3D_USER_26
3526LAYER_3D_USER_27 = _pcbnew.LAYER_3D_USER_27
3528LAYER_3D_USER_28 = _pcbnew.LAYER_3D_USER_28
3530LAYER_3D_USER_29 = _pcbnew.LAYER_3D_USER_29
3532LAYER_3D_USER_30 = _pcbnew.LAYER_3D_USER_30
3534LAYER_3D_USER_31 = _pcbnew.LAYER_3D_USER_31
3536LAYER_3D_USER_32 = _pcbnew.LAYER_3D_USER_32
3538LAYER_3D_USER_33 = _pcbnew.LAYER_3D_USER_33
3540LAYER_3D_USER_34 = _pcbnew.LAYER_3D_USER_34
3542LAYER_3D_USER_35 = _pcbnew.LAYER_3D_USER_35
3544LAYER_3D_USER_36 = _pcbnew.LAYER_3D_USER_36
3546LAYER_3D_USER_37 = _pcbnew.LAYER_3D_USER_37
3548LAYER_3D_USER_38 = _pcbnew.LAYER_3D_USER_38
3550LAYER_3D_USER_39 = _pcbnew.LAYER_3D_USER_39
3552LAYER_3D_USER_40 = _pcbnew.LAYER_3D_USER_40
3554LAYER_3D_USER_41 = _pcbnew.LAYER_3D_USER_41
3556LAYER_3D_USER_42 = _pcbnew.LAYER_3D_USER_42
3558LAYER_3D_USER_43 = _pcbnew.LAYER_3D_USER_43
3560LAYER_3D_USER_44 = _pcbnew.LAYER_3D_USER_44
3562LAYER_3D_USER_45 = _pcbnew.LAYER_3D_USER_45
3564LAYER_3D_TH_MODELS = _pcbnew.LAYER_3D_TH_MODELS
3566LAYER_3D_SMD_MODELS = _pcbnew.LAYER_3D_SMD_MODELS
3568LAYER_3D_VIRTUAL_MODELS = _pcbnew.LAYER_3D_VIRTUAL_MODELS
3570LAYER_3D_MODELS_NOT_IN_POS = _pcbnew.LAYER_3D_MODELS_NOT_IN_POS
3572LAYER_3D_MODELS_MARKED_DNP = _pcbnew.LAYER_3D_MODELS_MARKED_DNP
3574LAYER_3D_AXES = _pcbnew.LAYER_3D_AXES
3576LAYER_3D_BOUNDING_BOXES = _pcbnew.LAYER_3D_BOUNDING_BOXES
3578LAYER_3D_OFF_BOARD_SILK = _pcbnew.LAYER_3D_OFF_BOARD_SILK
3580LAYER_3D_END = _pcbnew.LAYER_3D_END
3584 r"""LayerName(int aLayer) -> wxString"""
3585 return _pcbnew.LayerName(aLayer)
3588 r"""IsValidLayer(int aLayerId) -> bool"""
3589 return _pcbnew.IsValidLayer(aLayerId)
3592 r"""IsPcbLayer(int aLayer) -> bool"""
3593 return _pcbnew.IsPcbLayer(aLayer)
3596 r"""IsExternalCopperLayer(int aLayerId) -> bool"""
3597 return _pcbnew.IsExternalCopperLayer(aLayerId)
3600 r"""IsInnerCopperLayer(int aLayerId) -> bool"""
3601 return _pcbnew.IsInnerCopperLayer(aLayerId)
3604 r"""IsNonCopperLayer(int aLayerId) -> bool"""
3605 return _pcbnew.IsNonCopperLayer(aLayerId)
3610 IsCopperLayer(int aLayerId, bool aIncludeSyntheticCopperLayers) -> bool
3612 return _pcbnew.IsCopperLayer(*args)
3615 r"""IsViaPadLayer(int aLayer) -> bool"""
3616 return _pcbnew.IsViaPadLayer(aLayer)
3619 r"""IsHoleLayer(int aLayer) -> bool"""
3620 return _pcbnew.IsHoleLayer(aLayer)
3623 r"""IsSolderMaskLayer(int aLayer) -> bool"""
3624 return _pcbnew.IsSolderMaskLayer(aLayer)
3627 r"""IsUserLayer(PCB_LAYER_ID aLayerId) -> bool"""
3628 return _pcbnew.IsUserLayer(aLayerId)
3631 r"""IsFrontLayer(PCB_LAYER_ID aLayerId) -> bool"""
3632 return _pcbnew.IsFrontLayer(aLayerId)
3635 r"""IsBackLayer(PCB_LAYER_ID aLayerId) -> bool"""
3636 return _pcbnew.IsBackLayer(aLayerId)
3639 r"""IsCopperLayerLowerThan(PCB_LAYER_ID aLayerA, PCB_LAYER_ID aLayerB) -> bool"""
3640 return _pcbnew.IsCopperLayerLowerThan(aLayerA, aLayerB)
3643 r"""FlipLayer(PCB_LAYER_ID aLayerId, int aCopperLayersCount=0) -> PCB_LAYER_ID"""
3644 return _pcbnew.FlipLayer(aLayerId, aCopperLayersCount)
3647 r"""GetNetnameLayer(int aLayer) -> int"""
3648 return _pcbnew.GetNetnameLayer(aLayer)
3651 r"""IsNetnameLayer(int aLayer) -> bool"""
3652 return _pcbnew.IsNetnameLayer(aLayer)
3655 r"""IsZoneFillLayer(int aLayer) -> bool"""
3656 return _pcbnew.IsZoneFillLayer(aLayer)
3659 r"""IsPadCopperLayer(int aLayer) -> bool"""
3660 return _pcbnew.IsPadCopperLayer(aLayer)
3663 r"""IsViaCopperLayer(int aLayer) -> bool"""
3664 return _pcbnew.IsViaCopperLayer(aLayer)
3667 r"""IsClearanceLayer(int aLayer) -> bool"""
3668 return _pcbnew.IsClearanceLayer(aLayer)
3671 r"""IsDCodeLayer(int aLayer) -> bool"""
3672 return _pcbnew.IsDCodeLayer(aLayer)
3675 r"""CopperLayerToOrdinal(PCB_LAYER_ID aLayer) -> size_t"""
3676 return _pcbnew.CopperLayerToOrdinal(aLayer)
3679 r"""BoardLayerFromLegacyId(int aLegacyId) -> PCB_LAYER_ID"""
3680 return _pcbnew.BoardLayerFromLegacyId(aLegacyId)
3683 r"""Map3DLayerToPCBLayer(int aLayer) -> PCB_LAYER_ID"""
3684 return _pcbnew.Map3DLayerToPCBLayer(aLayer)
3687 r"""MapPCBLayerTo3DLayer(PCB_LAYER_ID aLayer) -> int"""
3688 return _pcbnew.MapPCBLayerTo3DLayer(aLayer)
3691 r"""ToLAYER_ID(int aLayer) -> PCB_LAYER_ID"""
3692 return _pcbnew.ToLAYER_ID(aLayer)
3694 r"""Proxy of C++ SETTINGS_MANAGER class."""
3696 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3697 __repr__ = _swig_repr
3700 r"""__init__(SETTINGS_MANAGER self, bool aHeadless=False) -> SETTINGS_MANAGER"""
3701 _pcbnew.SETTINGS_MANAGER_swiginit(self, _pcbnew.new_SETTINGS_MANAGER(aHeadless))
3702 __swig_destroy__ = _pcbnew.delete_SETTINGS_MANAGER
3705 r"""IsOK(SETTINGS_MANAGER self) -> bool"""
3706 return _pcbnew.SETTINGS_MANAGER_IsOK(self)
3709 r"""SetKiway(SETTINGS_MANAGER self, KIWAY * aKiway)"""
3710 return _pcbnew.SETTINGS_MANAGER_SetKiway(self, aKiway)
3714 Load(SETTINGS_MANAGER self)
3715 Load(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
3717 return _pcbnew.SETTINGS_MANAGER_Load(self, *args)
3721 Save(SETTINGS_MANAGER self)
3722 Save(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
3724 return _pcbnew.SETTINGS_MANAGER_Save(self, *args)
3727 r"""FlushAndRelease(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings, bool aSave=True)"""
3728 return _pcbnew.SETTINGS_MANAGER_FlushAndRelease(self, aSettings, aSave)
3731 r"""GetColorSettings(SETTINGS_MANAGER self, wxString aName="user") -> COLOR_SETTINGS"""
3732 return _pcbnew.SETTINGS_MANAGER_GetColorSettings(self, *args)
3735 r"""GetColorSettingsList(SETTINGS_MANAGER self) -> std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >"""
3736 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsList(self)
3739 r"""SaveColorSettings(SETTINGS_MANAGER self, COLOR_SETTINGS * aSettings, string aNamespace="")"""
3740 return _pcbnew.SETTINGS_MANAGER_SaveColorSettings(self, *args)
3743 r"""AddNewColorSettings(SETTINGS_MANAGER self, wxString aFilename) -> COLOR_SETTINGS *"""
3744 return _pcbnew.SETTINGS_MANAGER_AddNewColorSettings(self, aFilename)
3747 r"""GetMigratedColorSettings(SETTINGS_MANAGER self) -> COLOR_SETTINGS *"""
3748 return _pcbnew.SETTINGS_MANAGER_GetMigratedColorSettings(self)
3751 r"""GetCommonSettings(SETTINGS_MANAGER self) -> COMMON_SETTINGS *"""
3752 return _pcbnew.SETTINGS_MANAGER_GetCommonSettings(self)
3755 r"""GetPathForSettingsFile(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings) -> wxString"""
3756 return _pcbnew.SETTINGS_MANAGER_GetPathForSettingsFile(self, aSettings)
3759 r"""MigrateIfNeeded(SETTINGS_MANAGER self) -> bool"""
3760 return _pcbnew.SETTINGS_MANAGER_MigrateIfNeeded(self)
3763 r"""SetMigrationSource(SETTINGS_MANAGER self, wxString aSource)"""
3764 return _pcbnew.SETTINGS_MANAGER_SetMigrationSource(self, aSource)
3767 r"""SetMigrateLibraryTables(SETTINGS_MANAGER self, bool aMigrate=True)"""
3768 return _pcbnew.SETTINGS_MANAGER_SetMigrateLibraryTables(self, aMigrate)
3771 r"""GetPreviousVersionPaths(SETTINGS_MANAGER self, std::vector< wxString,std::allocator< wxString > > * aName=None) -> bool"""
3772 return _pcbnew.SETTINGS_MANAGER_GetPreviousVersionPaths(self, aName)
3775 r"""ReloadColorSettings(SETTINGS_MANAGER self)"""
3776 return _pcbnew.SETTINGS_MANAGER_ReloadColorSettings(self)
3779 r"""LoadProject(SETTINGS_MANAGER self, wxString aFullPath, bool aSetActive=True) -> bool"""
3780 return _pcbnew.SETTINGS_MANAGER_LoadProject(self, aFullPath, aSetActive)
3783 r"""UnloadProject(SETTINGS_MANAGER self, PROJECT * aProject, bool aSave=True) -> bool"""
3784 return _pcbnew.SETTINGS_MANAGER_UnloadProject(self, aProject, aSave)
3787 r"""IsProjectOpen(SETTINGS_MANAGER self) -> bool"""
3788 return _pcbnew.SETTINGS_MANAGER_IsProjectOpen(self)
3791 r"""IsProjectOpenNotDummy(SETTINGS_MANAGER self) -> bool"""
3792 return _pcbnew.SETTINGS_MANAGER_IsProjectOpenNotDummy(self)
3795 r"""Prj(SETTINGS_MANAGER self) -> PROJECT &"""
3796 return _pcbnew.SETTINGS_MANAGER_Prj(self)
3799 r"""GetProject(SETTINGS_MANAGER self, wxString aFullPath) -> PROJECT *"""
3800 return _pcbnew.SETTINGS_MANAGER_GetProject(self, aFullPath)
3803 r"""GetOpenProjects(SETTINGS_MANAGER self) -> std::vector< wxString,std::allocator< wxString > >"""
3804 return _pcbnew.SETTINGS_MANAGER_GetOpenProjects(self)
3807 r"""SaveProject(SETTINGS_MANAGER self, wxString aFullPath=wxEmptyString, PROJECT * aProject=None) -> bool"""
3808 return _pcbnew.SETTINGS_MANAGER_SaveProject(self, *args)
3811 r"""SaveProjectAs(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
3812 return _pcbnew.SETTINGS_MANAGER_SaveProjectAs(self, aFullPath, aProject)
3815 r"""SaveProjectCopy(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
3816 return _pcbnew.SETTINGS_MANAGER_SaveProjectCopy(self, aFullPath, aProject)
3819 r"""GetProjectBackupsPath(SETTINGS_MANAGER self) -> wxString"""
3820 return _pcbnew.SETTINGS_MANAGER_GetProjectBackupsPath(self)
3823 r"""BackupProject(SETTINGS_MANAGER self, REPORTER & aReporter, wxFileName & aTarget) -> bool"""
3824 return _pcbnew.SETTINGS_MANAGER_BackupProject(self, aReporter, aTarget)
3827 r"""TriggerBackupIfNeeded(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
3828 return _pcbnew.SETTINGS_MANAGER_TriggerBackupIfNeeded(self, aReporter)
3832 r"""IsSettingsPathValid(wxString aPath) -> bool"""
3833 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
3837 r"""GetColorSettingsPath() -> wxString"""
3838 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
3842 r"""GetSettingsVersion() -> string"""
3843 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
3847 r"""GetUserSettingsPath() -> wxString"""
3848 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
3851_pcbnew.SETTINGS_MANAGER_swigregister(SETTINGS_MANAGER)
3853 r"""Proxy of C++ UTILS_BOX3D class."""
3855 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3856 __repr__ = _swig_repr
3859 r"""Min(UTILS_BOX3D self) -> VECTOR3D"""
3860 return _pcbnew.UTILS_BOX3D_Min(self)
3863 r"""Max(UTILS_BOX3D self) -> VECTOR3D"""
3864 return _pcbnew.UTILS_BOX3D_Max(self)
3867 r"""GetCenter(UTILS_BOX3D self) -> VECTOR3D"""
3868 return _pcbnew.UTILS_BOX3D_GetCenter(self)
3871 r"""GetSize(UTILS_BOX3D self) -> VECTOR3D"""
3872 return _pcbnew.UTILS_BOX3D_GetSize(self)
3875 r"""__init__(UTILS_BOX3D self) -> UTILS_BOX3D"""
3876 _pcbnew.UTILS_BOX3D_swiginit(self, _pcbnew.new_UTILS_BOX3D())
3877 __swig_destroy__ = _pcbnew.delete_UTILS_BOX3D
3880_pcbnew.UTILS_BOX3D_swigregister(UTILS_BOX3D)
3882 r"""Proxy of C++ UTILS_STEP_MODEL class."""
3884 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3885 __repr__ = _swig_repr
3888 r"""GetBoundingBox(UTILS_STEP_MODEL self) -> UTILS_BOX3D"""
3889 return _pcbnew.UTILS_STEP_MODEL_GetBoundingBox(self)
3892 r"""Translate(UTILS_STEP_MODEL self, double aX, double aY, double aZ)"""
3893 return _pcbnew.UTILS_STEP_MODEL_Translate(self, aX, aY, aZ)
3896 r"""Scale(UTILS_STEP_MODEL self, double aScale)"""
3897 return _pcbnew.UTILS_STEP_MODEL_Scale(self, aScale)
3900 r"""SaveSTEP(UTILS_STEP_MODEL self, wxString aFileName) -> bool"""
3901 return _pcbnew.UTILS_STEP_MODEL_SaveSTEP(self, aFileName)
3905 r"""LoadSTEP(wxString aFileName) -> UTILS_STEP_MODEL"""
3906 return _pcbnew.UTILS_STEP_MODEL_LoadSTEP(aFileName)
3909 r"""__init__(UTILS_STEP_MODEL self) -> UTILS_STEP_MODEL"""
3910 _pcbnew.UTILS_STEP_MODEL_swiginit(self, _pcbnew.new_UTILS_STEP_MODEL())
3913_pcbnew.UTILS_STEP_MODEL_swigregister(UTILS_STEP_MODEL)
3915 r"""Proxy of C++ std::vector< int > class."""
3917 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3918 __repr__ = _swig_repr
3921 r"""iterator(intVector self) -> SwigPyIterator"""
3922 return _pcbnew.intVector_iterator(self)
3927 r"""__nonzero__(intVector self) -> bool"""
3928 return _pcbnew.intVector___nonzero__(self)
3931 r"""__bool__(intVector self) -> bool"""
3932 return _pcbnew.intVector___bool__(self)
3935 r"""__len__(intVector self) -> std::vector< int >::size_type"""
3936 return _pcbnew.intVector___len__(self)
3939 r"""__getslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> intVector"""
3940 return _pcbnew.intVector___getslice__(self, i, j)
3944 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
3945 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, intVector v)
3947 return _pcbnew.intVector___setslice__(self, *args)
3950 r"""__delslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"""
3951 return _pcbnew.intVector___delslice__(self, i, j)
3955 __delitem__(intVector self, std::vector< int >::difference_type i)
3956 __delitem__(intVector self, SWIGPY_SLICEOBJECT * slice)
3958 return _pcbnew.intVector___delitem__(self, *args)
3962 __getitem__(intVector self, SWIGPY_SLICEOBJECT * slice) -> intVector
3963 __getitem__(intVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &
3965 return _pcbnew.intVector___getitem__(self, *args)
3969 __setitem__(intVector self, SWIGPY_SLICEOBJECT * slice, intVector v)
3970 __setitem__(intVector self, SWIGPY_SLICEOBJECT * slice)
3971 __setitem__(intVector self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)
3973 return _pcbnew.intVector___setitem__(self, *args)
3976 r"""pop(intVector self) -> std::vector< int >::value_type"""
3977 return _pcbnew.intVector_pop(self)
3980 r"""append(intVector self, std::vector< int >::value_type const & x)"""
3981 return _pcbnew.intVector_append(self, x)
3984 r"""empty(intVector self) -> bool"""
3985 return _pcbnew.intVector_empty(self)
3988 r"""size(intVector self) -> std::vector< int >::size_type"""
3989 return _pcbnew.intVector_size(self)
3992 r"""swap(intVector self, intVector v)"""
3993 return _pcbnew.intVector_swap(self, v)
3996 r"""begin(intVector self) -> std::vector< int >::iterator"""
3997 return _pcbnew.intVector_begin(self)
4000 r"""end(intVector self) -> std::vector< int >::iterator"""
4001 return _pcbnew.intVector_end(self)
4004 r"""rbegin(intVector self) -> std::vector< int >::reverse_iterator"""
4005 return _pcbnew.intVector_rbegin(self)
4008 r"""rend(intVector self) -> std::vector< int >::reverse_iterator"""
4009 return _pcbnew.intVector_rend(self)
4012 r"""clear(intVector self)"""
4013 return _pcbnew.intVector_clear(self)
4016 r"""get_allocator(intVector self) -> std::vector< int >::allocator_type"""
4017 return _pcbnew.intVector_get_allocator(self)
4020 r"""pop_back(intVector self)"""
4021 return _pcbnew.intVector_pop_back(self)
4025 erase(intVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator
4026 erase(intVector self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator
4028 return _pcbnew.intVector_erase(self, *args)
4032 __init__(intVector self) -> intVector
4033 __init__(intVector self, intVector other) -> intVector
4034 __init__(intVector self, std::vector< int >::size_type size) -> intVector
4035 __init__(intVector self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> intVector
4037 _pcbnew.intVector_swiginit(self, _pcbnew.new_intVector(*args))
4040 r"""push_back(intVector self, std::vector< int >::value_type const & x)"""
4041 return _pcbnew.intVector_push_back(self, x)
4044 r"""front(intVector self) -> std::vector< int >::value_type const &"""
4045 return _pcbnew.intVector_front(self)
4048 r"""back(intVector self) -> std::vector< int >::value_type const &"""
4049 return _pcbnew.intVector_back(self)
4052 r"""assign(intVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)"""
4053 return _pcbnew.intVector_assign(self, n, x)
4057 resize(intVector self, std::vector< int >::size_type new_size)
4058 resize(intVector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)
4060 return _pcbnew.intVector_resize(self, *args)
4064 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator
4065 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x)
4067 return _pcbnew.intVector_insert(self, *args)
4070 r"""reserve(intVector self, std::vector< int >::size_type n)"""
4071 return _pcbnew.intVector_reserve(self, n)
4074 r"""capacity(intVector self) -> std::vector< int >::size_type"""
4075 return _pcbnew.intVector_capacity(self)
4076 __swig_destroy__ = _pcbnew.delete_intVector
4079_pcbnew.intVector_swigregister(intVector)
4081 r"""Proxy of C++ std::map< std::string,UTF8 > class."""
4083 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4084 __repr__ = _swig_repr
4087 r"""iterator(str_utf8_Map self) -> SwigPyIterator"""
4088 return _pcbnew.str_utf8_Map_iterator(self)
4093 r"""__nonzero__(str_utf8_Map self) -> bool"""
4094 return _pcbnew.str_utf8_Map___nonzero__(self)
4097 r"""__bool__(str_utf8_Map self) -> bool"""
4098 return _pcbnew.str_utf8_Map___bool__(self)
4101 r"""__len__(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4102 return _pcbnew.str_utf8_Map___len__(self)
4113 r"""__getitem__(str_utf8_Map self, string key) -> UTF8"""
4114 return _pcbnew.str_utf8_Map___getitem__(self, key)
4117 r"""__delitem__(str_utf8_Map self, string key)"""
4118 return _pcbnew.str_utf8_Map___delitem__(self, key)
4121 r"""has_key(str_utf8_Map self, string key) -> bool"""
4122 return _pcbnew.str_utf8_Map_has_key(self, key)
4125 r"""keys(str_utf8_Map self) -> PyObject *"""
4126 return _pcbnew.str_utf8_Map_keys(self)
4129 r"""values(str_utf8_Map self) -> PyObject *"""
4130 return _pcbnew.str_utf8_Map_values(self)
4133 r"""items(str_utf8_Map self) -> PyObject *"""
4134 return _pcbnew.str_utf8_Map_items(self)
4137 r"""__contains__(str_utf8_Map self, string key) -> bool"""
4138 return _pcbnew.str_utf8_Map___contains__(self, key)
4141 r"""key_iterator(str_utf8_Map self) -> SwigPyIterator"""
4142 return _pcbnew.str_utf8_Map_key_iterator(self)
4145 r"""value_iterator(str_utf8_Map self) -> SwigPyIterator"""
4146 return _pcbnew.str_utf8_Map_value_iterator(self)
4151 __setitem__(str_utf8_Map self, string key, UTF8 x)
4153 return _pcbnew.str_utf8_Map___setitem__(self, *args)
4156 r"""asdict(str_utf8_Map self) -> PyObject *"""
4157 return _pcbnew.str_utf8_Map_asdict(self)
4161 __init__(str_utf8_Map self, std::less< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > const & other) -> str_utf8_Map
4162 __init__(str_utf8_Map self) -> str_utf8_Map
4163 __init__(str_utf8_Map self, str_utf8_Map other) -> str_utf8_Map
4165 _pcbnew.str_utf8_Map_swiginit(self, _pcbnew.new_str_utf8_Map(*args))
4168 r"""empty(str_utf8_Map self) -> bool"""
4169 return _pcbnew.str_utf8_Map_empty(self)
4172 r"""size(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4173 return _pcbnew.str_utf8_Map_size(self)
4176 r"""swap(str_utf8_Map self, str_utf8_Map v)"""
4177 return _pcbnew.str_utf8_Map_swap(self, v)
4180 r"""begin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4181 return _pcbnew.str_utf8_Map_begin(self)
4184 r"""end(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4185 return _pcbnew.str_utf8_Map_end(self)
4188 r"""rbegin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
4189 return _pcbnew.str_utf8_Map_rbegin(self)
4192 r"""rend(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
4193 return _pcbnew.str_utf8_Map_rend(self)
4196 r"""clear(str_utf8_Map self)"""
4197 return _pcbnew.str_utf8_Map_clear(self)
4200 r"""get_allocator(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::allocator_type"""
4201 return _pcbnew.str_utf8_Map_get_allocator(self)
4204 r"""count(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4205 return _pcbnew.str_utf8_Map_count(self, x)
4209 erase(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type
4210 erase(str_utf8_Map self, std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator position)
4211 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)
4213 return _pcbnew.str_utf8_Map_erase(self, *args)
4216 r"""find(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4217 return _pcbnew.str_utf8_Map_find(self, x)
4220 r"""lower_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4221 return _pcbnew.str_utf8_Map_lower_bound(self, x)
4224 r"""upper_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4225 return _pcbnew.str_utf8_Map_upper_bound(self, x)
4226 __swig_destroy__ = _pcbnew.delete_str_utf8_Map
4229_pcbnew.str_utf8_Map_swigregister(str_utf8_Map)
4234""" the list of not loaded python scripts
4235 (usually because there is a syntax error
in python script)
4236 this
is the python script full filenames list.
4237 filenames are separated by
'\n'
4239NOT_LOADED_WIZARDS=""
4241""" the list of paths used to search python scripts.
4242 Stored here to be displayed on request
in Pcbnew
4243 paths are separated by
'\n'
4245PLUGIN_DIRECTORIES_SEARCH=""
4248 the trace of errors during execution of footprint wizards scripts
4249 Warning: strings (internally unicode) are returned
as UTF-8 compatible C strings
4254def GetUnLoadableWizards():
4255 global NOT_LOADED_WIZARDS
4258 if sys.version_info[0] < 3:
4259 utf8_str = NOT_LOADED_WIZARDS.encode(
'UTF-8' )
4261 utf8_str = NOT_LOADED_WIZARDS
4266 global PLUGIN_DIRECTORIES_SEARCH
4269 if sys.version_info[0] < 3:
4270 utf8_str = PLUGIN_DIRECTORIES_SEARCH.encode(
'UTF-8' )
4272 utf8_str = PLUGIN_DIRECTORIES_SEARCH
4277 global FULL_BACK_TRACE
4278 return FULL_BACK_TRACE
4283 Load the plugin module named ModuleName located in the folder Dirname.
4284 The module can be either inside a file called FileName
or a subdirectory
4285 called FileName that contains a __init__.py file.
4286 If this module cannot be loaded, its name
is stored
in failed_wizards_list
4287 and the error trace
is stored
in FULL_BACK_TRACE
4293 global NOT_LOADED_WIZARDS
4294 global FULL_BACK_TRACE
4295 global KICAD_PLUGINS
4299 module_filename = os.path.join( Dirname, FileName )
4300 mtime = os.path.getmtime( module_filename )
4301 mods_before = set( sys.modules )
4303 if ModuleName
in KICAD_PLUGINS:
4304 plugin = KICAD_PLUGINS[ModuleName]
4306 for dependency
in plugin[
"dependencies"]:
4307 if dependency
in sys.modules:
4308 del sys.modules[dependency]
4310 mods_before = set( sys.modules )
4312 if sys.version_info >= (3,0,0):
4314 mod = importlib.import_module( ModuleName )
4316 mod = __import__( ModuleName, locals(), globals() )
4318 mods_after = set( sys.modules ).difference( mods_before )
4319 dependencies = [m
for m
in mods_after
if m.startswith(ModuleName)]
4321 KICAD_PLUGINS[ModuleName]={
"filename":module_filename,
4322 "modification_time":mtime,
4324 "dependencies": dependencies }
4327 if ModuleName
in KICAD_PLUGINS:
4328 del KICAD_PLUGINS[ModuleName]
4330 if NOT_LOADED_WIZARDS !=
"" :
4331 NOT_LOADED_WIZARDS +=
"\n"
4332 NOT_LOADED_WIZARDS += module_filename
4333 FULL_BACK_TRACE += traceback.format_exc()
4338 Initialise Scripting/Plugin python environment and load plugins.
4341 Note: bundlepath
and userpath are given utf8 encoded, to be compatible
with asimple C string
4342 bundlepath -- The path to the bundled scripts.
4343 The bundled Plugins are relative to this path,
in the
4344 "plugins" subdirectory.
4345 WARNING: bundlepath must use
'/' as path separator,
and not '\'
4346 because it creates issues:
4347 \n and \r are seen
as a escaped seq when passing this string to this method
4348 I am thinking this
is due to the fact LoadPlugins
is called
from C++ code by
4349 PyRun_SimpleString()
4351 NOTE: These are all of the possible
"default" search paths
for kicad
4352 python scripts. These paths will ONLY be added to the python
4353 search path ONLY IF they already exist.
4355 The Scripts bundled
with the KiCad installation:
4357 <bundlepath>/plugins/
4359 The Scripts relative to the KiCad Users configuration:
4363 The plugins
from 3rd party packages:
4364 $KICAD_3RD_PARTY/plugins/
4371 if sys.version_info >= (3,3,0):
4373 importlib.invalidate_caches()
4376 bundlepath and userpath are strings utf-8 encoded (compatible
"C" strings).
4377 So convert these utf8 encoding to unicode strings to avoid any encoding issue.
4380 bundlepath = bundlepath.decode(
'UTF-8' )
4381 userpath = userpath.decode(
'UTF-8' )
4382 thirdpartypath = thirdpartypath.decode(
'UTF-8' )
4383 except AttributeError:
4387 plugin_directories=[]
4390 To be consistent with others paths, on windows, convert the unix
'/' separator
4391 to the windows separator, although using
'/' works
4393 if sys.platform.startswith(
'win32'):
4395 bundlepath = bundlepath.replace(
"/",
"\\")
4397 thirdpartypath = thirdpartypath.replace(
"/",
"\\")
4400 plugin_directories.append(bundlepath)
4401 plugin_directories.append(os.path.join(bundlepath,
'plugins'))
4404 plugin_directories.append(os.path.join(config_path,
'scripting'))
4405 plugin_directories.append(os.path.join(config_path,
'scripting',
'plugins'))
4408 plugin_directories.append(userpath)
4409 plugin_directories.append(os.path.join(userpath,
'plugins'))
4412 plugin_directories.append(thirdpartypath)
4414 global PLUGIN_DIRECTORIES_SEARCH
4415 PLUGIN_DIRECTORIES_SEARCH=
""
4416 for plugins_dir
in plugin_directories:
4417 if PLUGIN_DIRECTORIES_SEARCH !=
"" :
4418 PLUGIN_DIRECTORIES_SEARCH +=
"\n"
4419 PLUGIN_DIRECTORIES_SEARCH += plugins_dir
4421 global FULL_BACK_TRACE
4424 global NOT_LOADED_WIZARDS
4425 NOT_LOADED_WIZARDS =
""
4427 global KICAD_PLUGINS
4429 for plugins_dir
in plugin_directories:
4430 if not os.path.isdir( plugins_dir ):
4433 if plugins_dir
not in sys.path:
4434 sys.path.append( plugins_dir )
4436 for module
in os.listdir(plugins_dir):
4437 fullPath = os.path.join( plugins_dir, module )
4439 if os.path.isdir( fullPath ):
4440 if os.path.exists( os.path.join( fullPath,
'__init__.py' ) ):
4443 if NOT_LOADED_WIZARDS !=
"" :
4444 NOT_LOADED_WIZARDS +=
"\n"
4445 NOT_LOADED_WIZARDS +=
'Skip subdir ' + fullPath
4448 if module ==
'__init__.py' or module[-3:] !=
'.py':
4462 if isinstance(self,FilePlugin):
4465 if isinstance(self,FootprintWizardPlugin):
4466 PYTHON_FOOTPRINT_WIZARD_LIST.register_wizard(self)
4469 if isinstance(self,ActionPlugin):
4471 Get path to .py or .pyc that has definition of plugin
class.
4472 If path
is binary but source also exists, assume definition
is in source.
4474 self.__plugin_path = inspect.getfile(self.__class__)
4475 if self.__plugin_path.endswith(
'.pyc')
and os.path.isfile(self.__plugin_path[:-1]):
4476 self.__plugin_path = self.__plugin_path[:-1]
4477 self.__plugin_path = self.__plugin_path +
'/' + self.__class__.__name__
4478 PYTHON_ACTION_PLUGINS.register_action(self)
4484 if isinstance(self,FilePlugin):
4487 if isinstance(self,FootprintWizardPlugin):
4488 PYTHON_FOOTPRINT_WIZARD_LIST.deregister_wizard(self)
4491 if isinstance(self,ActionPlugin):
4492 PYTHON_ACTION_PLUGINS.deregister_action(self)
4503 KiCadPlugin.__init__(self)
4506from math
import ceil, floor, sqrt
4518uNumeric = [uMM, uMils, uFloat, uInteger, uDegrees, uRadians, uPercent]
4519uUnits = [uMM, uMils, uFloat, uInteger, uBool, uDegrees, uRadians, uPercent, uString]
4522 _true = [
'true',
't',
'y',
'yes',
'on',
'1',1,]
4523 _false = [
'false',
'f',
'n',
'no',
'off',
'0',0,
'',
None]
4525 _bools = _true + _false
4527 def __init__(self, page, name, units, default, **kwarg):
4533 if units.lower()
in uUnits:
4535 elif units.lower() ==
'percent':
4536 self.
units = uPercent
4537 elif type(units)
in [list, tuple]:
4538 self.
units =
",".join([str(el).strip()
for el
in units])
4556 if info
is not None:
4557 err = err +
" (" + str(info) +
")"
4561 def Check(self, min_value=None, max_value=None, multiple=None, info=None):
4563 if min_value
is None:
4565 if max_value
is None:
4567 if multiple
is None:
4570 if self.
units not in uUnits
and ',' not in self.
units:
4571 self.
AddError(
"type '{t}' unknown".format(t=self.
units),info)
4574 if self.
units in uNumeric:
4578 if min_value
is not None:
4579 if to_num < min_value:
4580 self.
AddError(
"value '{v}' is below minimum ({m})".format(v=self.
raw_value,m=min_value),info)
4582 if max_value
is not None:
4583 if to_num > max_value:
4584 self.
AddError(
"value '{v}' is above maximum ({m})".format(v=self.
raw_value,m=max_value),info)
4589 if self.
units == uInteger:
4593 if multiple
is not None and multiple > 1:
4594 if (to_int % multiple) > 0:
4595 self.
AddError(
"value '{v}' is not a multiple of {m}".format(v=self.
raw_value,m=multiple),info)
4599 if self.
units == uBool:
4603 self.
AddError(
"value '{v}' is not a boolean value".format(v = self.
raw_value),info)
4609 if self.
units == uInteger:
4611 elif self.
units in uNumeric:
4612 v = v.replace(
",",
".")
4615 if self.
units == uMM:
4618 elif self.
units == uMils:
4624 elif self.
units == uBool:
4625 if v.lower()
in self.
_true:
4636 new_value = str(new_value)
4638 if len(new_value.strip()) == 0:
4639 if not self.
units in [uString, uBool]:
4642 if self.
units == uBool:
4643 new_value =
"1" if new_value.lower()
in self.
_true else "0"
4644 elif self.
units in uNumeric:
4645 new_value = new_value.replace(
",",
".")
4646 elif ',' in self.
units:
4647 if new_value
not in self.
units.split(
','):
4648 new_value = self.
units.split(
',')[0]
4656 if self.
units in [uMM, uMils, uPercent, uRadians, uDegrees]:
4658 elif self.
units == uBool:
4659 s = self.
name +
": {b}".format(b =
"True" if self.
value else "False")
4660 elif self.
units == uString:
4668 KiCadPlugin.__init__(self)
4680 def AddParam(self, page, name, unit, default, **kwarg):
4682 if self.
GetParam(page,name)
is not None:
4686 self.
params.append(param)
4692 if p.page
not in pages:
4695 pages[p.page][p.name] = p.value
4717 raise NotImplementedError
4724 if p.page == page
and p.name == name:
4730 self.
GetParam(page,name).Check(**kwarg)
4733 return any([len(p.error_list) > 0
for p
in self.
params])
4739 if p.page
not in page_list:
4740 page_list.append(p.page)
4745 return len(self.
pages)
4748 return self.
pages[page_n]
4754 if p.page == page_name:
4764 return [p.designator
for p
in params]
4768 return [p.name
for p
in params]
4772 return [str(p.raw_value)
for p
in params]
4776 return [str(
"\n".join(p.error_list))
for p
in params]
4780 return [str(p.units)
for p
in params]
4784 return [str(p.hint)
for p
in params]
4788 return [str(p.designator)
for p
in params]
4794 for i, param
in enumerate(params):
4795 if i >= len(list_of_values):
4797 param.SetValue(list_of_values[i])
4807 return self.buildmessages
4810 text =
"Footprint Wizard Name: {name}\n".format(name=self.
GetName())
4811 text +=
"Footprint Wizard Description: {desc}\n".format(desc=self.
GetDescription())
4815 text +=
"Pages: {n}\n".format(n=n_pages)
4817 for i
in range(n_pages):
4822 text +=
"{name}\n".format(name=name)
4824 for j
in range(len(params)):
4825 text += (
"\t{param}{err}\n".format(
4826 param = str(params[j]),
4827 err =
' *' if len(params[j].error_list) > 0
else ''
4831 text +=
" * Errors exist for these parameters"
4837 KiCadPlugin.__init__( self )
4844 self.
name =
"Undefined Action plugin"
4849 return type(self).__name__
4876 BOX2ISafe(BOX2D const & aInput) -> BOX2I
4877 BOX2ISafe(VECTOR2D const & aPos, VECTOR2D const & aSize) -> BOX2I
4879 return _pcbnew.BOX2ISafe(*args)
4883 KiROUND(VECTOR2D const & vec) -> VECTOR2I
4884 KiROUND(BOX2D const & aBoxD) -> BOX2I
4886 return _pcbnew.KiROUND(*args)
4888 r"""Proxy of C++ VECTOR2< int > class."""
4890 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4891 __repr__ = _swig_repr
4892 x = property(_pcbnew.VECTOR2I_x_get, _pcbnew.VECTOR2I_x_set, doc=
r"""x : int""")
4893 y = property(_pcbnew.VECTOR2I_y_get, _pcbnew.VECTOR2I_y_set, doc=
r"""y : int""")
4897 __init__(VECTOR2I self) -> VECTOR2I
4898 __init__(VECTOR2I self, int x, int y) -> VECTOR2I
4899 __init__(VECTOR2I self, VECTOR2I aVec) -> VECTOR2I
4901 _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args))
4904 r"""EuclideanNorm(VECTOR2I self) -> int"""
4905 return _pcbnew.VECTOR2I_EuclideanNorm(self)
4908 r"""SquaredEuclideanNorm(VECTOR2I self) -> VECTOR2< int >::extended_type"""
4909 return _pcbnew.VECTOR2I_SquaredEuclideanNorm(self)
4912 r"""Perpendicular(VECTOR2I self) -> VECTOR2I"""
4913 return _pcbnew.VECTOR2I_Perpendicular(self)
4916 r"""Resize(VECTOR2I self, int aNewLength) -> VECTOR2I"""
4917 return _pcbnew.VECTOR2I_Resize(self, aNewLength)
4920 r"""Format(VECTOR2I self) -> string"""
4921 return _pcbnew.VECTOR2I_Format(self)
4924 r"""Cross(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
4925 return _pcbnew.VECTOR2I_Cross(self, aVector)
4928 r"""Dot(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
4929 return _pcbnew.VECTOR2I_Dot(self, aVector)
4932 r"""Distance(VECTOR2I self, VECTOR2L aVector) -> double"""
4933 return _pcbnew.VECTOR2I_Distance(self, aVector)
4936 r"""SquaredDistance(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
4937 return _pcbnew.VECTOR2I_SquaredDistance(self, aVector)
4941 __imul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4942 __imul__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4944 return _pcbnew.VECTOR2I___imul__(self, *args)
4948 __iadd__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4949 __iadd__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4951 return _pcbnew.VECTOR2I___iadd__(self, *args)
4955 __isub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4956 __isub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4958 return _pcbnew.VECTOR2I___isub__(self, *args)
4961 r"""__neg__(VECTOR2I self) -> VECTOR2I"""
4962 return _pcbnew.VECTOR2I___neg__(self)
4965 return _pcbnew.VECTOR2I___truediv__(self, *args)
4966 __div__ = __truediv__
4971 r"""__eq__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4972 return _pcbnew.VECTOR2I___eq__(self, aVector)
4975 r"""__ne__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4976 return _pcbnew.VECTOR2I___ne__(self, aVector)
4979 r"""__lt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4980 return _pcbnew.VECTOR2I___lt__(self, aVector)
4983 r"""__le__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4984 return _pcbnew.VECTOR2I___le__(self, aVector)
4987 r"""__gt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4988 return _pcbnew.VECTOR2I___gt__(self, aVector)
4991 r"""__ge__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4992 return _pcbnew.VECTOR2I___ge__(self, aVector)
4995 r"""Set(VECTOR2I self, long x, long y)"""
4996 return _pcbnew.VECTOR2I_Set(self, x, y)
4999 r"""Get(VECTOR2I self) -> PyObject *"""
5000 return _pcbnew.VECTOR2I_Get(self)
5002 def __eq__(self,other):
return (self.
xx==other.x
and self.
yy==other.y)
5003 def __ne__(self,other):
return not (self==other)
5005 def __repr__(self):
return 'VECTOR2I'+str(self.
Get())
5016 def __add__(self, other):
return VECTOR2I(self.
xx+other.x, self.
yy+other.y)
5017 def __sub__(self, other):
return VECTOR2I(self.
xx-other.x, self.
yy-other.y)
5020 __swig_destroy__ = _pcbnew.delete_VECTOR2I
5023_pcbnew.VECTOR2I_swigregister(VECTOR2I)
5025 r"""Proxy of C++ VECTOR2< long long > class."""
5027 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5028 __repr__ = _swig_repr
5029 ECOORD_MAX = _pcbnew.VECTOR2L_ECOORD_MAX
5031 ECOORD_MIN = _pcbnew.VECTOR2L_ECOORD_MIN
5033 x = property(_pcbnew.VECTOR2L_x_get, _pcbnew.VECTOR2L_x_set, doc=
r"""x : long long""")
5034 y = property(_pcbnew.VECTOR2L_y_get, _pcbnew.VECTOR2L_y_set, doc=
r"""y : long long""")
5038 __init__(VECTOR2L self) -> VECTOR2L
5039 __init__(VECTOR2L self, long long x, long long y) -> VECTOR2L
5040 __init__(VECTOR2L self, VECTOR2L aVec) -> VECTOR2L
5042 _pcbnew.VECTOR2L_swiginit(self, _pcbnew.new_VECTOR2L(*args))
5045 r"""EuclideanNorm(VECTOR2L self) -> long long"""
5046 return _pcbnew.VECTOR2L_EuclideanNorm(self)
5049 r"""SquaredEuclideanNorm(VECTOR2L self) -> VECTOR2< long long >::extended_type"""
5050 return _pcbnew.VECTOR2L_SquaredEuclideanNorm(self)
5053 r"""Perpendicular(VECTOR2L self) -> VECTOR2L"""
5054 return _pcbnew.VECTOR2L_Perpendicular(self)
5057 r"""Resize(VECTOR2L self, long long aNewLength) -> VECTOR2L"""
5058 return _pcbnew.VECTOR2L_Resize(self, aNewLength)
5061 r"""Format(VECTOR2L self) -> string"""
5062 return _pcbnew.VECTOR2L_Format(self)
5065 r"""Cross(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type"""
5066 return _pcbnew.VECTOR2L_Cross(self, aVector)
5069 r"""Dot(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type"""
5070 return _pcbnew.VECTOR2L_Dot(self, aVector)
5073 r"""Distance(VECTOR2L self, VECTOR2< VECTOR2< long long >::extended_type > const & aVector) -> double"""
5074 return _pcbnew.VECTOR2L_Distance(self, aVector)
5077 r"""SquaredDistance(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type"""
5078 return _pcbnew.VECTOR2L_SquaredDistance(self, aVector)
5082 __imul__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
5083 __imul__(VECTOR2L self, long long const & aScalar) -> VECTOR2L
5085 return _pcbnew.VECTOR2L___imul__(self, *args)
5089 __iadd__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
5090 __iadd__(VECTOR2L self, long long const & aScalar) -> VECTOR2L
5092 return _pcbnew.VECTOR2L___iadd__(self, *args)
5096 __isub__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
5097 __isub__(VECTOR2L self, long long const & aScalar) -> VECTOR2L
5099 return _pcbnew.VECTOR2L___isub__(self, *args)
5102 r"""__neg__(VECTOR2L self) -> VECTOR2L"""
5103 return _pcbnew.VECTOR2L___neg__(self)
5106 return _pcbnew.VECTOR2L___truediv__(self, *args)
5107 __div__ = __truediv__
5112 r"""__eq__(VECTOR2L self, VECTOR2L aVector) -> bool"""
5113 return _pcbnew.VECTOR2L___eq__(self, aVector)
5116 r"""__ne__(VECTOR2L self, VECTOR2L aVector) -> bool"""
5117 return _pcbnew.VECTOR2L___ne__(self, aVector)
5120 r"""__lt__(VECTOR2L self, VECTOR2L aVector) -> bool"""
5121 return _pcbnew.VECTOR2L___lt__(self, aVector)
5124 r"""__le__(VECTOR2L self, VECTOR2L aVector) -> bool"""
5125 return _pcbnew.VECTOR2L___le__(self, aVector)
5128 r"""__gt__(VECTOR2L self, VECTOR2L aVector) -> bool"""
5129 return _pcbnew.VECTOR2L___gt__(self, aVector)
5132 r"""__ge__(VECTOR2L self, VECTOR2L aVector) -> bool"""
5133 return _pcbnew.VECTOR2L___ge__(self, aVector)
5136 r"""Set(VECTOR2L self, long long x, long long y)"""
5137 return _pcbnew.VECTOR2L_Set(self, x, y)
5140 r"""Get(VECTOR2L self) -> PyObject *"""
5141 return _pcbnew.VECTOR2L_Get(self)
5143 def __eq__(self,other):
return (self.
xx==other.x
and self.
yy==other.y)
5144 def __ne__(self,other):
return not (self==other)
5146 def __repr__(self):
return 'VECTOR2L'+str(self.
Get())
5157 def __add__(self, other):
return VECTOR2L(self.
xx+other.x, self.
yy+other.y)
5158 def __sub__(self, other):
return VECTOR2L(self.
xx-other.x, self.
yy-other.y)
5161 __swig_destroy__ = _pcbnew.delete_VECTOR2L
5164_pcbnew.VECTOR2L_swigregister(VECTOR2L)
5166 r"""Proxy of C++ VECTOR2_TRAITS< int > class."""
5168 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5169 __repr__ = _swig_repr
5172 r"""__init__(VECTOR2I_EXTENDED_TYPE self) -> VECTOR2I_EXTENDED_TYPE"""
5173 _pcbnew.VECTOR2I_EXTENDED_TYPE_swiginit(self, _pcbnew.new_VECTOR2I_EXTENDED_TYPE())
5174 __swig_destroy__ = _pcbnew.delete_VECTOR2I_EXTENDED_TYPE
5177_pcbnew.VECTOR2I_EXTENDED_TYPE_swigregister(VECTOR2I_EXTENDED_TYPE)
5179 r"""Proxy of C++ VECTOR3< double > class."""
5181 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5182 __repr__ = _swig_repr
5183 ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
5185 ECOORD_MIN = _pcbnew.VECTOR3D_ECOORD_MIN
5187 x = property(_pcbnew.VECTOR3D_x_get, _pcbnew.VECTOR3D_x_set, doc=
r"""x : double""")
5188 y = property(_pcbnew.VECTOR3D_y_get, _pcbnew.VECTOR3D_y_set, doc=
r"""y : double""")
5189 z = property(_pcbnew.VECTOR3D_z_get, _pcbnew.VECTOR3D_z_set, doc=
r"""z : double""")
5193 __init__(VECTOR3D self) -> VECTOR3D
5194 __init__(VECTOR3D self, double x, double y, double z) -> VECTOR3D
5196 _pcbnew.VECTOR3D_swiginit(self, _pcbnew.new_VECTOR3D(*args))
5199 r"""Cross(VECTOR3D self, VECTOR3D aVector) -> VECTOR3D"""
5200 return _pcbnew.VECTOR3D_Cross(self, aVector)
5203 r"""Dot(VECTOR3D self, VECTOR3D aVector) -> VECTOR3< double >::extended_type"""
5204 return _pcbnew.VECTOR3D_Dot(self, aVector)
5207 r"""EuclideanNorm(VECTOR3D self) -> double"""
5208 return _pcbnew.VECTOR3D_EuclideanNorm(self)
5211 r"""Normalize(VECTOR3D self) -> VECTOR3D"""
5212 return _pcbnew.VECTOR3D_Normalize(self)
5215 r"""SetAll(VECTOR3D self, double val) -> VECTOR3D"""
5216 return _pcbnew.VECTOR3D_SetAll(self, val)
5219 r"""__eq__(VECTOR3D self, VECTOR3D aVector) -> bool"""
5220 return _pcbnew.VECTOR3D___eq__(self, aVector)
5223 r"""__ne__(VECTOR3D self, VECTOR3D aVector) -> bool"""
5224 return _pcbnew.VECTOR3D___ne__(self, aVector)
5227 r"""__imul__(VECTOR3D self, double val) -> VECTOR3D"""
5228 return _pcbnew.VECTOR3D___imul__(self, val)
5231 return _pcbnew.VECTOR3D___itruediv__(self, *args)
5232 __idiv__ = __itruediv__
5237 r"""Set(VECTOR3D self, double x, double y, double z)"""
5238 return _pcbnew.VECTOR3D_Set(self, x, y, z)
5241 r"""Get(VECTOR3D self) -> PyObject *"""
5242 return _pcbnew.VECTOR3D_Get(self)
5244 def __eq__(self,other):
return (self.
xx==other.x
and self.
yy==other.y
and self.
zz==other.z)
5245 def __ne__(self,other):
return not (self==other)
5247 def __repr__(self):
return 'VECTOR3D'+str(self.
Get())
5262 __swig_destroy__ = _pcbnew.delete_VECTOR3D
5265_pcbnew.VECTOR3D_swigregister(VECTOR3D)
5267 r"""Proxy of C++ BOX2< VECTOR2I > class."""
5269 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5270 __repr__ = _swig_repr
5274 r"""ByCorners(VECTOR2I aCorner1, VECTOR2I aCorner2) -> BOX2I"""
5275 return _pcbnew.BOX2I_ByCorners(aCorner1, aCorner2)
5279 r"""ByCenter(VECTOR2I aCenter, VECTOR2L aSize) -> BOX2I"""
5280 return _pcbnew.BOX2I_ByCenter(aCenter, aSize)
5283 r"""SetMaximum(BOX2I self)"""
5284 return _pcbnew.BOX2I_SetMaximum(self)
5287 r"""Centre(BOX2I self) -> VECTOR2I"""
5288 return _pcbnew.BOX2I_Centre(self)
5291 r"""Move(BOX2I self, VECTOR2I aMoveVector)"""
5292 return _pcbnew.BOX2I_Move(self, aMoveVector)
5295 r"""Normalize(BOX2I self) -> BOX2I"""
5296 return _pcbnew.BOX2I_Normalize(self)
5300 Contains(BOX2I self, VECTOR2I aPoint) -> bool
5301 Contains(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y) -> bool
5302 Contains(BOX2I self, BOX2I aRect) -> bool
5304 return _pcbnew.BOX2I_Contains(self, *args)
5307 r"""GetSize(BOX2I self) -> VECTOR2L"""
5308 return _pcbnew.BOX2I_GetSize(self)
5311 r"""GetX(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5312 return _pcbnew.BOX2I_GetX(self)
5315 r"""GetY(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5316 return _pcbnew.BOX2I_GetY(self)
5319 r"""GetOrigin(BOX2I self) -> VECTOR2I"""
5320 return _pcbnew.BOX2I_GetOrigin(self)
5323 r"""GetPosition(BOX2I self) -> VECTOR2I"""
5324 return _pcbnew.BOX2I_GetPosition(self)
5327 r"""GetEnd(BOX2I self) -> VECTOR2I"""
5328 return _pcbnew.BOX2I_GetEnd(self)
5331 r"""GetWidth(BOX2I self) -> BOX2< VECTOR2< int > >::size_type"""
5332 return _pcbnew.BOX2I_GetWidth(self)
5335 r"""GetHeight(BOX2I self) -> BOX2< VECTOR2< int > >::size_type"""
5336 return _pcbnew.BOX2I_GetHeight(self)
5339 r"""GetRight(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5340 return _pcbnew.BOX2I_GetRight(self)
5343 r"""GetBottom(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5344 return _pcbnew.BOX2I_GetBottom(self)
5347 r"""GetLeft(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5348 return _pcbnew.BOX2I_GetLeft(self)
5351 r"""GetTop(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5352 return _pcbnew.BOX2I_GetTop(self)
5355 r"""GetCenter(BOX2I self) -> VECTOR2I"""
5356 return _pcbnew.BOX2I_GetCenter(self)
5359 r"""GetSizeMax(BOX2I self) -> int"""
5360 return _pcbnew.BOX2I_GetSizeMax(self)
5365 SetOrigin(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5367 return _pcbnew.BOX2I_SetOrigin(self, *args)
5371 SetSize(BOX2I self, VECTOR2L size)
5372 SetSize(BOX2I self, BOX2< VECTOR2< int > >::size_type w, BOX2< VECTOR2< int > >::size_type h)
5374 return _pcbnew.BOX2I_SetSize(self, *args)
5378 Offset(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy)
5379 Offset(BOX2I self, VECTOR2I offset)
5381 return _pcbnew.BOX2I_Offset(self, *args)
5384 r"""GetWithOffset(BOX2I self, VECTOR2I aMoveVector) -> BOX2I"""
5385 return _pcbnew.BOX2I_GetWithOffset(self, aMoveVector)
5388 r"""SetX(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5389 return _pcbnew.BOX2I_SetX(self, val)
5392 r"""SetY(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5393 return _pcbnew.BOX2I_SetY(self, val)
5396 r"""SetWidth(BOX2I self, BOX2< VECTOR2< int > >::size_type val)"""
5397 return _pcbnew.BOX2I_SetWidth(self, val)
5400 r"""SetHeight(BOX2I self, BOX2< VECTOR2< int > >::size_type val)"""
5401 return _pcbnew.BOX2I_SetHeight(self, val)
5405 SetEnd(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5406 SetEnd(BOX2I self, VECTOR2I pos)
5408 return _pcbnew.BOX2I_SetEnd(self, *args)
5411 r"""Intersect(BOX2I self, BOX2I aRect) -> BOX2I"""
5412 return _pcbnew.BOX2I_Intersect(self, aRect)
5417 Intersects(BOX2I self, VECTOR2I aPoint1, VECTOR2I aPoint2) -> bool
5418 Intersects(BOX2I self, BOX2I aRect, EDA_ANGLE aRotation) -> bool
5420 return _pcbnew.BOX2I_Intersects(self, *args)
5423 r"""IntersectsCircle(BOX2I self, VECTOR2I aCenter, int const aRadius) -> bool"""
5424 return _pcbnew.BOX2I_IntersectsCircle(self, aCenter, aRadius)
5427 r"""IntersectsCircleEdge(BOX2I self, VECTOR2I aCenter, int const aRadius, int const aWidth) -> bool"""
5428 return _pcbnew.BOX2I_IntersectsCircleEdge(self, aCenter, aRadius, aWidth)
5431 r"""Format(BOX2I self) -> string"""
5432 return _pcbnew.BOX2I_Format(self)
5436 Inflate(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy) -> BOX2I
5437 Inflate(BOX2I self, BOX2< VECTOR2< int > >::coord_type aDelta) -> BOX2I
5439 return _pcbnew.BOX2I_Inflate(self, *args)
5443 GetInflated(BOX2I self, BOX2< VECTOR2< int > >::coord_type aDx, BOX2< VECTOR2< int > >::coord_type aDy) -> BOX2I
5444 GetInflated(BOX2I self, BOX2< VECTOR2< int > >::coord_type aDelta) -> BOX2I
5446 return _pcbnew.BOX2I_GetInflated(self, *args)
5450 Merge(BOX2I self, BOX2I aRect) -> BOX2I
5451 Merge(BOX2I self, VECTOR2I aPoint) -> BOX2I
5453 return _pcbnew.BOX2I_Merge(self, *args)
5456 r"""GetBoundingBoxRotated(BOX2I self, VECTOR2I aRotCenter, EDA_ANGLE aAngle) -> BOX2I"""
5457 return _pcbnew.BOX2I_GetBoundingBoxRotated(self, aRotCenter, aAngle)
5460 r"""GetArea(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5461 return _pcbnew.BOX2I_GetArea(self)
5464 r"""Diagonal(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5465 return _pcbnew.BOX2I_Diagonal(self)
5468 r"""SquaredDiagonal(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5469 return _pcbnew.BOX2I_SquaredDiagonal(self)
5473 SquaredDistance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5474 SquaredDistance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5476 return _pcbnew.BOX2I_SquaredDistance(self, *args)
5480 Distance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5481 Distance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5483 return _pcbnew.BOX2I_Distance(self, *args)
5486 r"""NearestPoint(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5487 return _pcbnew.BOX2I_NearestPoint(self, aPoint)
5490 r"""FarthestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5491 return _pcbnew.BOX2I_FarthestPointTo(self, aPoint)
5494 r"""__eq__(BOX2I self, BOX2I aOther) -> bool"""
5495 return _pcbnew.BOX2I___eq__(self, aOther)
5498 r"""__ne__(BOX2I self, BOX2I aOther) -> bool"""
5499 return _pcbnew.BOX2I___ne__(self, aOther)
5502 r"""IsValid(BOX2I self) -> bool"""
5503 return _pcbnew.BOX2I_IsValid(self)
5508 __init__(BOX2I self, VECTOR2I aPos, VECTOR2L aSize=BOX2< VECTOR2I >::SizeVec(0, 0)) -> BOX2I
5509 __init__(BOX2I self, VECTOR2I aPos, VECTOR2I aSize) -> BOX2I
5511 _pcbnew.BOX2I_swiginit(self, _pcbnew.new_BOX2I(*args))
5512 __swig_destroy__ = _pcbnew.delete_BOX2I
5515_pcbnew.BOX2I_swigregister(BOX2I)
5517 r"""Proxy of C++ std::vector< VECTOR2I > class."""
5519 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5520 __repr__ = _swig_repr
5523 r"""iterator(VECTOR_VECTOR2I self) -> SwigPyIterator"""
5524 return _pcbnew.VECTOR_VECTOR2I_iterator(self)
5529 r"""__nonzero__(VECTOR_VECTOR2I self) -> bool"""
5530 return _pcbnew.VECTOR_VECTOR2I___nonzero__(self)
5533 r"""__bool__(VECTOR_VECTOR2I self) -> bool"""
5534 return _pcbnew.VECTOR_VECTOR2I___bool__(self)
5537 r"""__len__(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5538 return _pcbnew.VECTOR_VECTOR2I___len__(self)
5541 r"""__getslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j) -> VECTOR_VECTOR2I"""
5542 return _pcbnew.VECTOR_VECTOR2I___getslice__(self, i, j)
5546 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)
5547 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j, VECTOR_VECTOR2I v)
5549 return _pcbnew.VECTOR_VECTOR2I___setslice__(self, *args)
5552 r"""__delslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)"""
5553 return _pcbnew.VECTOR_VECTOR2I___delslice__(self, i, j)
5557 __delitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i)
5558 __delitem__(VECTOR_VECTOR2I self, SWIGPY_SLICEOBJECT * slice)
5560 return _pcbnew.VECTOR_VECTOR2I___delitem__(self, *args)
5564 __getitem__(VECTOR_VECTOR2I self, SWIGPY_SLICEOBJECT * slice) -> VECTOR_VECTOR2I
5565 __getitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i) -> VECTOR2I
5567 return _pcbnew.VECTOR_VECTOR2I___getitem__(self, *args)
5571 __setitem__(VECTOR_VECTOR2I self, SWIGPY_SLICEOBJECT * slice, VECTOR_VECTOR2I v)
5572 __setitem__(VECTOR_VECTOR2I self, SWIGPY_SLICEOBJECT * slice)
5573 __setitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, VECTOR2I x)
5575 return _pcbnew.VECTOR_VECTOR2I___setitem__(self, *args)
5578 r"""pop(VECTOR_VECTOR2I self) -> VECTOR2I"""
5579 return _pcbnew.VECTOR_VECTOR2I_pop(self)
5582 r"""append(VECTOR_VECTOR2I self, VECTOR2I x)"""
5583 return _pcbnew.VECTOR_VECTOR2I_append(self, x)
5586 r"""empty(VECTOR_VECTOR2I self) -> bool"""
5587 return _pcbnew.VECTOR_VECTOR2I_empty(self)
5590 r"""size(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5591 return _pcbnew.VECTOR_VECTOR2I_size(self)
5594 r"""swap(VECTOR_VECTOR2I self, VECTOR_VECTOR2I v)"""
5595 return _pcbnew.VECTOR_VECTOR2I_swap(self, v)
5598 r"""begin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5599 return _pcbnew.VECTOR_VECTOR2I_begin(self)
5602 r"""end(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5603 return _pcbnew.VECTOR_VECTOR2I_end(self)
5606 r"""rbegin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5607 return _pcbnew.VECTOR_VECTOR2I_rbegin(self)
5610 r"""rend(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5611 return _pcbnew.VECTOR_VECTOR2I_rend(self)
5614 r"""clear(VECTOR_VECTOR2I self)"""
5615 return _pcbnew.VECTOR_VECTOR2I_clear(self)
5618 r"""get_allocator(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::allocator_type"""
5619 return _pcbnew.VECTOR_VECTOR2I_get_allocator(self)
5622 r"""pop_back(VECTOR_VECTOR2I self)"""
5623 return _pcbnew.VECTOR_VECTOR2I_pop_back(self)
5627 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos) -> std::vector< VECTOR2< int > >::iterator
5628 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator first, std::vector< VECTOR2< int > >::iterator last) -> std::vector< VECTOR2< int > >::iterator
5630 return _pcbnew.VECTOR_VECTOR2I_erase(self, *args)
5634 __init__(VECTOR_VECTOR2I self) -> VECTOR_VECTOR2I
5635 __init__(VECTOR_VECTOR2I self, VECTOR_VECTOR2I other) -> VECTOR_VECTOR2I
5636 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size) -> VECTOR_VECTOR2I
5637 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size, VECTOR2I value) -> VECTOR_VECTOR2I
5639 _pcbnew.VECTOR_VECTOR2I_swiginit(self, _pcbnew.new_VECTOR_VECTOR2I(*args))
5642 r"""push_back(VECTOR_VECTOR2I self, VECTOR2I x)"""
5643 return _pcbnew.VECTOR_VECTOR2I_push_back(self, x)
5646 r"""front(VECTOR_VECTOR2I self) -> VECTOR2I"""
5647 return _pcbnew.VECTOR_VECTOR2I_front(self)
5650 r"""back(VECTOR_VECTOR2I self) -> VECTOR2I"""
5651 return _pcbnew.VECTOR_VECTOR2I_back(self)
5654 r"""assign(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)"""
5655 return _pcbnew.VECTOR_VECTOR2I_assign(self, n, x)
5659 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size)
5660 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size, VECTOR2I x)
5662 return _pcbnew.VECTOR_VECTOR2I_resize(self, *args)
5666 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, VECTOR2I x) -> std::vector< VECTOR2< int > >::iterator
5667 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)
5669 return _pcbnew.VECTOR_VECTOR2I_insert(self, *args)
5672 r"""reserve(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n)"""
5673 return _pcbnew.VECTOR_VECTOR2I_reserve(self, n)
5676 r"""capacity(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5677 return _pcbnew.VECTOR_VECTOR2I_capacity(self)
5678 __swig_destroy__ = _pcbnew.delete_VECTOR_VECTOR2I
5681_pcbnew.VECTOR_VECTOR2I_swigregister(VECTOR_VECTOR2I)
5682CORNER_STRATEGY_ALLOW_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_ALLOW_ACUTE_CORNERS
5684CORNER_STRATEGY_CHAMFER_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_CHAMFER_ACUTE_CORNERS
5686CORNER_STRATEGY_ROUND_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_ROUND_ACUTE_CORNERS
5688CORNER_STRATEGY_CHAMFER_ALL_CORNERS = _pcbnew.CORNER_STRATEGY_CHAMFER_ALL_CORNERS
5690CORNER_STRATEGY_ROUND_ALL_CORNERS = _pcbnew.CORNER_STRATEGY_ROUND_ALL_CORNERS
5693 r"""Proxy of C++ SEG class."""
5695 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5696 __repr__ = _swig_repr
5697 A = property(_pcbnew.SEG_A_get, _pcbnew.SEG_A_set, doc=
r"""A : VECTOR2I""")
5698 B = property(_pcbnew.SEG_B_get, _pcbnew.SEG_B_set, doc=
r"""B : VECTOR2I""")
5703 __init__(SEG self, int aX1, int aY1, int aX2, int aY2) -> SEG
5704 __init__(SEG self, VECTOR2I aA, VECTOR2I aB) -> SEG
5705 __init__(SEG self, VECTOR2I aA, VECTOR2I aB, int aIndex) -> SEG
5706 __init__(SEG self, SEG aSeg) -> SEG
5708 _pcbnew.SEG_swiginit(self, _pcbnew.new_SEG(*args))
5711 r"""__eq__(SEG self, SEG aSeg) -> bool"""
5712 return _pcbnew.SEG___eq__(self, aSeg)
5715 r"""__ne__(SEG self, SEG aSeg) -> bool"""
5716 return _pcbnew.SEG___ne__(self, aSeg)
5720 r"""Square(int a) -> SEG::ecoord"""
5721 return _pcbnew.SEG_Square(a)
5724 r"""LineProject(SEG self, VECTOR2I aP) -> VECTOR2I"""
5725 return _pcbnew.SEG_LineProject(self, aP)
5728 r"""Side(SEG self, VECTOR2I aP) -> int"""
5729 return _pcbnew.SEG_Side(self, aP)
5732 r"""LineDistance(SEG self, VECTOR2I aP, bool aDetermineSide=False) -> int"""
5733 return _pcbnew.SEG_LineDistance(self, aP, aDetermineSide)
5736 r"""Angle(SEG self, SEG aOther) -> EDA_ANGLE"""
5737 return _pcbnew.SEG_Angle(self, aOther)
5744 return _pcbnew.SEG_NearestPoint(self, *args)
5747 r"""NearestPoints(SEG self, SEG aSeg, VECTOR2I aPtA, VECTOR2I aPtB, int64_t & aDistSq) -> bool"""
5748 return _pcbnew.SEG_NearestPoints(self, aSeg, aPtA, aPtB, aDistSq)
5751 r"""ReflectPoint(SEG self, VECTOR2I aP) -> VECTOR2I"""
5752 return _pcbnew.SEG_ReflectPoint(self, aP)
5754 def Intersect(self, aSeg, aIgnoreEndpoints=False, aLines=False):
5755 r"""Intersect(SEG self, SEG aSeg, bool aIgnoreEndpoints=False, bool aLines=False) -> OPT_VECTOR2I"""
5756 return _pcbnew.SEG_Intersect(self, aSeg, aIgnoreEndpoints, aLines)
5759 r"""Intersects(SEG self, SEG aSeg) -> bool"""
5760 return _pcbnew.SEG_Intersects(self, aSeg)
5763 r"""IntersectLines(SEG self, SEG aSeg) -> OPT_VECTOR2I"""
5764 return _pcbnew.SEG_IntersectLines(self, aSeg)
5767 r"""PerpendicularSeg(SEG self, VECTOR2I aP) -> SEG"""
5768 return _pcbnew.SEG_PerpendicularSeg(self, aP)
5771 r"""ParallelSeg(SEG self, VECTOR2I aP) -> SEG"""
5772 return _pcbnew.SEG_ParallelSeg(self, aP)
5774 def Collide(self, aSeg, aClearance, aActual=None):
5775 r"""Collide(SEG self, SEG aSeg, int aClearance, int * aActual=None) -> bool"""
5776 return _pcbnew.SEG_Collide(self, aSeg, aClearance, aActual)
5783 return _pcbnew.SEG_SquaredDistance(self, *args)
5787 Distance(SEG self, SEG aSeg) -> int
5788 Distance(SEG self, VECTOR2I aP) -> int
5790 return _pcbnew.SEG_Distance(self, *args)
5793 r"""CanonicalCoefs(SEG self, SEG::ecoord & qA, SEG::ecoord & qB, SEG::ecoord & qC)"""
5794 return _pcbnew.SEG_CanonicalCoefs(self, qA, qB, qC)
5797 r"""Collinear(SEG self, SEG aSeg) -> bool"""
5798 return _pcbnew.SEG_Collinear(self, aSeg)
5801 r"""ApproxCollinear(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5802 return _pcbnew.SEG_ApproxCollinear(self, aSeg, aDistanceThreshold)
5805 r"""ApproxParallel(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5806 return _pcbnew.SEG_ApproxParallel(self, aSeg, aDistanceThreshold)
5809 r"""ApproxPerpendicular(SEG self, SEG aSeg) -> bool"""
5810 return _pcbnew.SEG_ApproxPerpendicular(self, aSeg)
5813 r"""Overlaps(SEG self, SEG aSeg) -> bool"""
5814 return _pcbnew.SEG_Overlaps(self, aSeg)
5817 r"""Length(SEG self) -> int"""
5818 return _pcbnew.SEG_Length(self)
5821 r"""SquaredLength(SEG self) -> SEG::ecoord"""
5822 return _pcbnew.SEG_SquaredLength(self)
5825 r"""TCoef(SEG self, VECTOR2I aP) -> SEG::ecoord"""
5826 return _pcbnew.SEG_TCoef(self, aP)
5829 r"""Index(SEG self) -> int"""
5830 return _pcbnew.SEG_Index(self)
5834 Contains(SEG self, SEG aSeg) -> bool
5835 Contains(SEG self, VECTOR2I aP) -> bool
5837 return _pcbnew.SEG_Contains(self, *args)
5840 r"""Reverse(SEG self)"""
5841 return _pcbnew.SEG_Reverse(self)
5844 r"""Reversed(SEG self) -> SEG"""
5845 return _pcbnew.SEG_Reversed(self)
5848 r"""Center(SEG self) -> VECTOR2I"""
5849 return _pcbnew.SEG_Center(self)
5852 r"""__lt__(SEG self, SEG aSeg) -> bool"""
5853 return _pcbnew.SEG___lt__(self, aSeg)
5854 __swig_destroy__ = _pcbnew.delete_SEG
5857_pcbnew.SEG_swigregister(SEG)
5858SH_RECT = _pcbnew.SH_RECT
5860SH_SEGMENT = _pcbnew.SH_SEGMENT
5862SH_LINE_CHAIN = _pcbnew.SH_LINE_CHAIN
5864SH_CIRCLE = _pcbnew.SH_CIRCLE
5866SH_SIMPLE = _pcbnew.SH_SIMPLE
5868SH_POLY_SET = _pcbnew.SH_POLY_SET
5870SH_COMPOUND = _pcbnew.SH_COMPOUND
5872SH_ARC = _pcbnew.SH_ARC
5874SH_NULL = _pcbnew.SH_NULL
5876SH_POLY_SET_TRIANGLE = _pcbnew.SH_POLY_SET_TRIANGLE
5880 r"""SHAPE_TYPE_asString(SHAPE_TYPE a) -> wxString"""
5881 return _pcbnew.SHAPE_TYPE_asString(a)
5883 r"""Proxy of C++ SHAPE_BASE class."""
5885 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5886 __repr__ = _swig_repr
5889 r"""__init__(SHAPE_BASE self, SHAPE_TYPE aType) -> SHAPE_BASE"""
5890 _pcbnew.SHAPE_BASE_swiginit(self, _pcbnew.new_SHAPE_BASE(aType))
5891 __swig_destroy__ = _pcbnew.delete_SHAPE_BASE
5894 r"""Type(SHAPE_BASE self) -> SHAPE_TYPE"""
5895 return _pcbnew.SHAPE_BASE_Type(self)
5898 r"""TypeName(SHAPE_BASE self) -> wxString"""
5899 return _pcbnew.SHAPE_BASE_TypeName(self)
5902 r"""HasIndexableSubshapes(SHAPE_BASE self) -> bool"""
5903 return _pcbnew.SHAPE_BASE_HasIndexableSubshapes(self)
5906 r"""GetIndexableSubshapeCount(SHAPE_BASE self) -> size_t"""
5907 return _pcbnew.SHAPE_BASE_GetIndexableSubshapeCount(self)
5910 r"""GetIndexableSubshapes(SHAPE_BASE self, std::vector< SHAPE const *,std::allocator< SHAPE const * > > & aSubshapes)"""
5911 return _pcbnew.SHAPE_BASE_GetIndexableSubshapes(self, aSubshapes)
5914_pcbnew.SHAPE_BASE_swigregister(SHAPE_BASE)
5916 r"""Proxy of C++ SHAPE class."""
5918 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5921 raise AttributeError(
"No constructor defined - class is abstract")
5922 __repr__ = _swig_repr
5923 MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU
5925 __swig_destroy__ = _pcbnew.delete_SHAPE
5928 r"""Clone(SHAPE self) -> SHAPE"""
5929 return _pcbnew.SHAPE_Clone(self)
5932 r"""GetClearance(SHAPE self, SHAPE aOther) -> int"""
5933 return _pcbnew.SHAPE_GetClearance(self, aOther)
5936 r"""IsNull(SHAPE self) -> bool"""
5937 return _pcbnew.SHAPE_IsNull(self)
5941 Collide(SHAPE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
5942 Collide(SHAPE self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
5943 Collide(SHAPE self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5944 Collide(SHAPE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5946 return _pcbnew.SHAPE_Collide(self, *args)
5949 r"""BBox(SHAPE self, int aClearance=0) -> BOX2I"""
5950 return _pcbnew.SHAPE_BBox(self, aClearance)
5953 r"""Centre(SHAPE self) -> VECTOR2I"""
5954 return _pcbnew.SHAPE_Centre(self)
5957 r"""Distance(SHAPE self, VECTOR2I aP) -> int"""
5958 return _pcbnew.SHAPE_Distance(self, aP)
5961 r"""SquaredDistance(SHAPE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
5962 return _pcbnew.SHAPE_SquaredDistance(self, aP, aOutlineOnly)
5965 r"""PointInside(SHAPE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
5966 return _pcbnew.SHAPE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
5969 r"""TransformToPolygon(SHAPE self, SHAPE_POLY_SET aBuffer, int aError, ERROR_LOC aErrorLoc)"""
5970 return _pcbnew.SHAPE_TransformToPolygon(self, aBuffer, aError, aErrorLoc)
5973 r"""Rotate(SHAPE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
5974 return _pcbnew.SHAPE_Rotate(self, *args)
5977 r"""Move(SHAPE self, VECTOR2I aVector)"""
5978 return _pcbnew.SHAPE_Move(self, aVector)
5981 r"""IsSolid(SHAPE self) -> bool"""
5982 return _pcbnew.SHAPE_IsSolid(self)
5985 r"""Parse(SHAPE self, std::stringstream & aStream) -> bool"""
5986 return _pcbnew.SHAPE_Parse(self, aStream)
5989 r"""Format(SHAPE self, bool aCplusPlus=True) -> string"""
5990 return _pcbnew.SHAPE_Format(self, aCplusPlus)
5995 if shape_type ==
"SH_ARC":
5997 elif shape_type ==
"SH_CIRCLE":
5999 elif shape_type ==
"SH_COMPOUND":
6001 elif shape_type ==
"SH_LINE_CHAIN":
6003 elif shape_type ==
"SH_POLY_SET":
6005 elif shape_type ==
"SH_RECT":
6007 elif shape_type ==
"SH_SEGMENT":
6009 elif shape_type ==
"SH_SIMPLE":
6012 raise TypeError(
"Unsupported shape class: %s" % shape_type)
6016_pcbnew.SHAPE_swigregister(SHAPE)
6018 r"""Proxy of C++ SHAPE_LINE_CHAIN_BASE class."""
6020 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6023 raise AttributeError(
"No constructor defined - class is abstract")
6024 __repr__ = _swig_repr
6025 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN_BASE
6029 Collide(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6030 Collide(SHAPE_LINE_CHAIN_BASE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6032 return _pcbnew.SHAPE_LINE_CHAIN_BASE_Collide(self, *args)
6035 r"""SquaredDistance(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
6036 return _pcbnew.SHAPE_LINE_CHAIN_BASE_SquaredDistance(self, aP, aOutlineOnly)
6039 r"""PointInside(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
6040 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
6043 r"""PointOnEdge(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> bool"""
6044 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointOnEdge(self, aP, aAccuracy)
6047 r"""EdgeContainingPoint(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> int"""
6048 return _pcbnew.SHAPE_LINE_CHAIN_BASE_EdgeContainingPoint(self, aP, aAccuracy)
6051 r"""GetPoint(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> VECTOR2I"""
6052 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPoint(self, aIndex)
6055 r"""GetSegment(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> SEG"""
6056 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegment(self, aIndex)
6059 r"""GetPointCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
6060 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPointCount(self)
6063 r"""GetSegmentCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
6064 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegmentCount(self)
6067 r"""IsClosed(SHAPE_LINE_CHAIN_BASE self) -> bool"""
6068 return _pcbnew.SHAPE_LINE_CHAIN_BASE_IsClosed(self)
6071 r"""GetCachedBBox(SHAPE_LINE_CHAIN_BASE self) -> BOX2I"""
6072 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetCachedBBox(self)
6075_pcbnew.SHAPE_LINE_CHAIN_BASE_swigregister(SHAPE_LINE_CHAIN_BASE)
6077 r"""Proxy of C++ SHAPE_ARC class."""
6079 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6082 raise AttributeError(
"No constructor defined - class is abstract")
6083 __repr__ = _swig_repr
6084 __swig_destroy__ = _pcbnew.delete_SHAPE_ARC
6087 r"""ConstructFromStartEndAngle(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, EDA_ANGLE aAngle, double aWidth=0) -> SHAPE_ARC"""
6088 return _pcbnew.SHAPE_ARC_ConstructFromStartEndAngle(self, aStart, aEnd, aAngle, aWidth)
6091 r"""ConstructFromStartEndCenter(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, VECTOR2I aCenter, bool aClockwise=False, double aWidth=0) -> SHAPE_ARC"""
6092 return _pcbnew.SHAPE_ARC_ConstructFromStartEndCenter(self, aStart, aEnd, aCenter, aClockwise, aWidth)
6095 r"""GetP0(SHAPE_ARC self) -> VECTOR2I"""
6096 return _pcbnew.SHAPE_ARC_GetP0(self)
6099 r"""GetP1(SHAPE_ARC self) -> VECTOR2I"""
6100 return _pcbnew.SHAPE_ARC_GetP1(self)
6103 r"""GetArcMid(SHAPE_ARC self) -> VECTOR2I"""
6104 return _pcbnew.SHAPE_ARC_GetArcMid(self)
6107 r"""GetCenter(SHAPE_ARC self) -> VECTOR2I"""
6108 return _pcbnew.SHAPE_ARC_GetCenter(self)
6111 r"""BBox(SHAPE_ARC self, int aClearance=0) -> BOX2I"""
6112 return _pcbnew.SHAPE_ARC_BBox(self, aClearance)
6115 r"""NearestPoint(SHAPE_ARC self, VECTOR2I aP) -> VECTOR2I"""
6116 return _pcbnew.SHAPE_ARC_NearestPoint(self, aP)
6120 NearestPoints(SHAPE_ARC self, SHAPE_ARC aArc, VECTOR2I aPtA, VECTOR2I aPtB, int64_t & aDistSq) -> bool
6121 NearestPoints(SHAPE_ARC self, SHAPE_CIRCLE aCircle, VECTOR2I aPtA, VECTOR2I aPtB, int64_t & aDistSq) -> bool
6122 NearestPoints(SHAPE_ARC self, SEG aSeg, VECTOR2I aPtA, VECTOR2I aPtB, int64_t & aDistSq) -> bool
6123 NearestPoints(SHAPE_ARC self, SHAPE_RECT aRect, VECTOR2I aPtA, VECTOR2I aPtB, int64_t & aDistSq) -> bool
6125 return _pcbnew.SHAPE_ARC_NearestPoints(self, *args)
6129 Collide(SHAPE_ARC self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6130 Collide(SHAPE_ARC self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6131 Collide(SHAPE_ARC self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6133 return _pcbnew.SHAPE_ARC_Collide(self, *args)
6136 r"""IntersectLine(SHAPE_ARC self, SEG aSeg, VECTOR_VECTOR2I aIpsBuffer) -> int"""
6137 return _pcbnew.SHAPE_ARC_IntersectLine(self, aSeg, aIpsBuffer)
6141 Intersect(SHAPE_ARC self, CIRCLE const & aArc, VECTOR_VECTOR2I aIpsBuffer) -> int
6142 Intersect(SHAPE_ARC self, SHAPE_ARC aArc, VECTOR_VECTOR2I aIpsBuffer) -> int
6144 return _pcbnew.SHAPE_ARC_Intersect(self, *args)
6147 r"""SetWidth(SHAPE_ARC self, int aWidth)"""
6148 return _pcbnew.SHAPE_ARC_SetWidth(self, aWidth)
6151 r"""GetWidth(SHAPE_ARC self) -> int"""
6152 return _pcbnew.SHAPE_ARC_GetWidth(self)
6155 r"""IsEffectiveLine(SHAPE_ARC self) -> bool"""
6156 return _pcbnew.SHAPE_ARC_IsEffectiveLine(self)
6160 Mirror(SHAPE_ARC self, VECTOR2I aRef, FLIP_DIRECTION aFlipDirection)
6161 Mirror(SHAPE_ARC self, SEG axis)
6163 return _pcbnew.SHAPE_ARC_Mirror(self, *args)
6166 r"""Reverse(SHAPE_ARC self)"""
6167 return _pcbnew.SHAPE_ARC_Reverse(self)
6170 r"""Reversed(SHAPE_ARC self) -> SHAPE_ARC"""
6171 return _pcbnew.SHAPE_ARC_Reversed(self)
6174 r"""GetRadius(SHAPE_ARC self) -> double"""
6175 return _pcbnew.SHAPE_ARC_GetRadius(self)
6178 r"""GetChord(SHAPE_ARC self) -> SEG"""
6179 return _pcbnew.SHAPE_ARC_GetChord(self)
6182 r"""GetCentralAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6183 return _pcbnew.SHAPE_ARC_GetCentralAngle(self)
6186 r"""GetStartAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6187 return _pcbnew.SHAPE_ARC_GetStartAngle(self)
6190 r"""GetEndAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6191 return _pcbnew.SHAPE_ARC_GetEndAngle(self)
6194 r"""GetLength(SHAPE_ARC self) -> double"""
6195 return _pcbnew.SHAPE_ARC_GetLength(self)
6199 r"""DefaultAccuracyForPCB() -> double"""
6200 return _pcbnew.SHAPE_ARC_DefaultAccuracyForPCB()
6203 r"""ConvertToPolyline(SHAPE_ARC self, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB(), double * aEffectiveAccuracy=None) -> SHAPE_LINE_CHAIN"""
6204 return _pcbnew.SHAPE_ARC_ConvertToPolyline(self, *args)
6207 r"""__eq__(SHAPE_ARC self, SHAPE_ARC aArc) -> bool"""
6208 return _pcbnew.SHAPE_ARC___eq__(self, aArc)
6211 r"""IsCCW(SHAPE_ARC self) -> bool"""
6212 return _pcbnew.SHAPE_ARC_IsCCW(self)
6215 r"""IsClockwise(SHAPE_ARC self) -> bool"""
6216 return _pcbnew.SHAPE_ARC_IsClockwise(self)
6219_pcbnew.SHAPE_ARC_swigregister(SHAPE_ARC)
6221 r"""Proxy of C++ SHAPE_CIRCLE class."""
6223 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6224 __repr__ = _swig_repr
6228 __init__(SHAPE_CIRCLE self) -> SHAPE_CIRCLE
6229 __init__(SHAPE_CIRCLE self, VECTOR2I aCenter, int aRadius) -> SHAPE_CIRCLE
6230 __init__(SHAPE_CIRCLE self, CIRCLE const & aCircle) -> SHAPE_CIRCLE
6231 __init__(SHAPE_CIRCLE self, SHAPE_CIRCLE aOther) -> SHAPE_CIRCLE
6233 _pcbnew.SHAPE_CIRCLE_swiginit(self, _pcbnew.new_SHAPE_CIRCLE(*args))
6234 __swig_destroy__ = _pcbnew.delete_SHAPE_CIRCLE
6237 r"""BBox(SHAPE_CIRCLE self, int aClearance=0) -> BOX2I"""
6238 return _pcbnew.SHAPE_CIRCLE_BBox(self, aClearance)
6240 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
6241 r"""Collide(SHAPE_CIRCLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
6242 return _pcbnew.SHAPE_CIRCLE_Collide(self, aSeg, aClearance, aActual, aLocation)
6245 r"""SetRadius(SHAPE_CIRCLE self, int aRadius)"""
6246 return _pcbnew.SHAPE_CIRCLE_SetRadius(self, aRadius)
6249 r"""SetCenter(SHAPE_CIRCLE self, VECTOR2I aCenter)"""
6250 return _pcbnew.SHAPE_CIRCLE_SetCenter(self, aCenter)
6253 r"""GetRadius(SHAPE_CIRCLE self) -> int"""
6254 return _pcbnew.SHAPE_CIRCLE_GetRadius(self)
6257 r"""GetCenter(SHAPE_CIRCLE self) -> VECTOR2I"""
6258 return _pcbnew.SHAPE_CIRCLE_GetCenter(self)
6261 r"""GetCircle(SHAPE_CIRCLE self) -> CIRCLE const"""
6262 return _pcbnew.SHAPE_CIRCLE_GetCircle(self)
6265 r"""Rotate(SHAPE_CIRCLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6266 return _pcbnew.SHAPE_CIRCLE_Rotate(self, *args)
6269 r"""Format(SHAPE_CIRCLE self, bool aCplusPlus=True) -> string"""
6270 return _pcbnew.SHAPE_CIRCLE_Format(self, aCplusPlus)
6273_pcbnew.SHAPE_CIRCLE_swigregister(SHAPE_CIRCLE)
6275 r"""Proxy of C++ SHAPE_COMPOUND class."""
6277 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6278 __repr__ = _swig_repr
6282 __init__(SHAPE_COMPOUND self) -> SHAPE_COMPOUND
6283 __init__(SHAPE_COMPOUND self, std::vector< SHAPE *,std::allocator< SHAPE * > > const & aShapes) -> SHAPE_COMPOUND
6284 __init__(SHAPE_COMPOUND self, SHAPE_COMPOUND aOther) -> SHAPE_COMPOUND
6286 _pcbnew.SHAPE_COMPOUND_swiginit(self, _pcbnew.new_SHAPE_COMPOUND(*args))
6287 __swig_destroy__ = _pcbnew.delete_SHAPE_COMPOUND
6290 r"""Clone(SHAPE_COMPOUND self) -> SHAPE_COMPOUND"""
6291 return _pcbnew.SHAPE_COMPOUND_Clone(self)
6294 r"""Format(SHAPE_COMPOUND self, bool aCplusPlus=True) -> string"""
6295 return _pcbnew.SHAPE_COMPOUND_Format(self, aCplusPlus)
6299 Collide(SHAPE_COMPOUND self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6300 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
6301 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6303 return _pcbnew.SHAPE_COMPOUND_Collide(self, *args)
6306 r"""Shapes(SHAPE_COMPOUND self) -> std::vector< SHAPE *,std::allocator< SHAPE * > > const &"""
6307 return _pcbnew.SHAPE_COMPOUND_Shapes(self)
6310 r"""BBox(SHAPE_COMPOUND self, int aClearance=0) -> BOX2I"""
6311 return _pcbnew.SHAPE_COMPOUND_BBox(self, aClearance)
6315 Distance(SHAPE_COMPOUND self, VECTOR2I aP) -> int
6316 Distance(SHAPE_COMPOUND self, SEG aSeg) -> int
6318 return _pcbnew.SHAPE_COMPOUND_Distance(self, *args)
6322 AddShape(SHAPE_COMPOUND self, SHAPE aShape)
6323 AddShape(SHAPE_COMPOUND self, std::shared_ptr< SHAPE > aShape)
6325 return _pcbnew.SHAPE_COMPOUND_AddShape(self, *args)
6328 r"""Empty(SHAPE_COMPOUND self) -> bool"""
6329 return _pcbnew.SHAPE_COMPOUND_Empty(self)
6332 r"""Size(SHAPE_COMPOUND self) -> int"""
6333 return _pcbnew.SHAPE_COMPOUND_Size(self)
6336 r"""Rotate(SHAPE_COMPOUND self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6337 return _pcbnew.SHAPE_COMPOUND_Rotate(self, *args)
6340 r"""UniqueSubshape(SHAPE_COMPOUND self) -> SHAPE"""
6341 return _pcbnew.SHAPE_COMPOUND_UniqueSubshape(self)
6344 r"""GetSubshapes(SHAPE_COMPOUND self) -> VECTOR_SHAPEPTR"""
6345 return _pcbnew.SHAPE_COMPOUND_GetSubshapes(self)
6348_pcbnew.SHAPE_COMPOUND_swigregister(SHAPE_COMPOUND)
6350 r"""Proxy of C++ CLIPPER_Z_VALUE class."""
6352 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6353 __repr__ = _swig_repr
6357 __init__(CLIPPER_Z_VALUE self) -> CLIPPER_Z_VALUE
6358 __init__(CLIPPER_Z_VALUE self, std::pair< ssize_t,ssize_t > const aShapeIndices, ssize_t aOffset=0) -> CLIPPER_Z_VALUE
6360 _pcbnew.CLIPPER_Z_VALUE_swiginit(self, _pcbnew.new_CLIPPER_Z_VALUE(*args))
6361 m_FirstArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_set, doc=r"""m_FirstArcIdx : ssize_t""")
6362 m_SecondArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_set, doc=
r"""m_SecondArcIdx : ssize_t""")
6363 __swig_destroy__ = _pcbnew.delete_CLIPPER_Z_VALUE
6366_pcbnew.CLIPPER_Z_VALUE_swigregister(CLIPPER_Z_VALUE)
6368 r"""Proxy of C++ SHAPE_LINE_CHAIN class."""
6370 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6371 __repr__ = _swig_repr
6375 __init__(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN
6376 __init__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aShape) -> SHAPE_LINE_CHAIN
6377 __init__(SHAPE_LINE_CHAIN self, intVector aV) -> SHAPE_LINE_CHAIN
6378 __init__(SHAPE_LINE_CHAIN self, VECTOR_VECTOR2I aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
6379 __init__(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, bool aClosed=
False) -> SHAPE_LINE_CHAIN
6380 __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
6382 _pcbnew.SHAPE_LINE_CHAIN_swiginit(self, _pcbnew.new_SHAPE_LINE_CHAIN(*args))
6383 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN
6387 Collide(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6388 Collide(SHAPE_LINE_CHAIN self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6390 return _pcbnew.SHAPE_LINE_CHAIN_Collide(self, *args)
6395 ClosestPoints(SHAPE_LINE_CHAIN aOther, VECTOR2I aPt0, VECTOR2I aPt1) -> bool
6396 ClosestPoints(SHAPE_LINE_CHAIN::point_citer const & aMyStart, SHAPE_LINE_CHAIN::point_citer const & aMyEnd, SHAPE_LINE_CHAIN::point_citer const & aOtherStart, SHAPE_LINE_CHAIN::point_citer const & aOtherEnd, VECTOR2I aPt0, VECTOR2I aPt1, int64_t & aDistSq) -> bool
6398 return _pcbnew.SHAPE_LINE_CHAIN_ClosestPoints(*args)
6401 def ClosestSegments(aMyPrevPt, aMyStart, aMyEnd, aOtherPrevPt, aOtherStart, aOtherEnd, aPt0, aPt1, aDistSq):
6402 r"""ClosestSegments(VECTOR2I aMyPrevPt, SHAPE_LINE_CHAIN::point_citer const & aMyStart, SHAPE_LINE_CHAIN::point_citer const & aMyEnd, VECTOR2I aOtherPrevPt, SHAPE_LINE_CHAIN::point_citer const & aOtherStart, SHAPE_LINE_CHAIN::point_citer const & aOtherEnd, VECTOR2I aPt0, VECTOR2I aPt1, int64_t & aDistSq) -> bool"""
6403 return _pcbnew.SHAPE_LINE_CHAIN_ClosestSegments(aMyPrevPt, aMyStart, aMyEnd, aOtherPrevPt, aOtherStart, aOtherEnd, aPt0, aPt1, aDistSq)
6406 r"""ClosestSegmentsFast(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther, VECTOR2I aPt0, VECTOR2I aPt1) -> bool"""
6407 return _pcbnew.SHAPE_LINE_CHAIN_ClosestSegmentsFast(self, aOther, aPt0, aPt1)
6410 r"""Clear(SHAPE_LINE_CHAIN self)"""
6411 return _pcbnew.SHAPE_LINE_CHAIN_Clear(self)
6414 r"""SetClosed(SHAPE_LINE_CHAIN self, bool aClosed)"""
6415 return _pcbnew.SHAPE_LINE_CHAIN_SetClosed(self, aClosed)
6418 r"""SetWidth(SHAPE_LINE_CHAIN self, int aWidth)"""
6419 return _pcbnew.SHAPE_LINE_CHAIN_SetWidth(self, aWidth)
6422 r"""Width(SHAPE_LINE_CHAIN self) -> int"""
6423 return _pcbnew.SHAPE_LINE_CHAIN_Width(self)
6426 r"""SegmentCount(SHAPE_LINE_CHAIN self) -> int"""
6427 return _pcbnew.SHAPE_LINE_CHAIN_SegmentCount(self)
6430 r"""ShapeCount(SHAPE_LINE_CHAIN self) -> int"""
6431 return _pcbnew.SHAPE_LINE_CHAIN_ShapeCount(self)
6434 r"""RemoveDuplicatePoints(SHAPE_LINE_CHAIN self)"""
6435 return _pcbnew.SHAPE_LINE_CHAIN_RemoveDuplicatePoints(self)
6438 r"""Simplify(SHAPE_LINE_CHAIN self, int aMaxError=0)"""
6439 return _pcbnew.SHAPE_LINE_CHAIN_Simplify(self, aMaxError)
6442 r"""Simplify2(SHAPE_LINE_CHAIN self, bool aRemoveColinear=True) -> SHAPE_LINE_CHAIN"""
6443 return _pcbnew.SHAPE_LINE_CHAIN_Simplify2(self, aRemoveColinear)
6446 r"""PointCount(SHAPE_LINE_CHAIN self) -> int"""
6447 return _pcbnew.SHAPE_LINE_CHAIN_PointCount(self)
6450 r"""Segment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6451 return _pcbnew.SHAPE_LINE_CHAIN_Segment(self, aIndex)
6454 r"""CSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6455 return _pcbnew.SHAPE_LINE_CHAIN_CSegment(self, aIndex)
6458 r"""NextShape(SHAPE_LINE_CHAIN self, int aPointIndex) -> int"""
6459 return _pcbnew.SHAPE_LINE_CHAIN_NextShape(self, aPointIndex)
6462 r"""SetPoint(SHAPE_LINE_CHAIN self, int aIndex, VECTOR2I aPos)"""
6463 return _pcbnew.SHAPE_LINE_CHAIN_SetPoint(self, aIndex, aPos)
6466 r"""CPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I"""
6467 return _pcbnew.SHAPE_LINE_CHAIN_CPoint(self, aIndex)
6470 r"""CPoints(SHAPE_LINE_CHAIN self) -> VECTOR_VECTOR2I"""
6471 return _pcbnew.SHAPE_LINE_CHAIN_CPoints(self)
6474 r"""CLastPoint(SHAPE_LINE_CHAIN self) -> VECTOR2I"""
6475 return _pcbnew.SHAPE_LINE_CHAIN_CLastPoint(self)
6478 r"""CArcs(SHAPE_LINE_CHAIN self) -> std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &"""
6479 return _pcbnew.SHAPE_LINE_CHAIN_CArcs(self)
6482 r"""CShapes(SHAPE_LINE_CHAIN self) -> std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &"""
6483 return _pcbnew.SHAPE_LINE_CHAIN_CShapes(self)
6486 r"""BBox(SHAPE_LINE_CHAIN self, int aClearance=0) -> BOX2I"""
6487 return _pcbnew.SHAPE_LINE_CHAIN_BBox(self, aClearance)
6490 r"""GenerateBBoxCache(SHAPE_LINE_CHAIN self)"""
6491 return _pcbnew.SHAPE_LINE_CHAIN_GenerateBBoxCache(self)
6494 r"""Reverse(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN"""
6495 return _pcbnew.SHAPE_LINE_CHAIN_Reverse(self)
6498 r"""ClearArcs(SHAPE_LINE_CHAIN self)"""
6499 return _pcbnew.SHAPE_LINE_CHAIN_ClearArcs(self)
6502 r"""Length(SHAPE_LINE_CHAIN self) -> long long"""
6503 return _pcbnew.SHAPE_LINE_CHAIN_Length(self)
6506 r"""ReservePoints(SHAPE_LINE_CHAIN self, size_t aSize)"""
6507 return _pcbnew.SHAPE_LINE_CHAIN_ReservePoints(self, aSize)
6511 Append(SHAPE_LINE_CHAIN self, int aX, int aY, bool aAllowDuplication=False)
6512 Append(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowDuplication=
False)
6513 Append(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOtherLine)
6514 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc)
6515 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, double aAccuracy)
6517 return _pcbnew.SHAPE_LINE_CHAIN_Append(self, *args)
6521 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, VECTOR2I aP)
6522 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, SHAPE_ARC aArc)
6524 return _pcbnew.SHAPE_LINE_CHAIN_Insert(self, *args)
6528 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, VECTOR2I aP)
6529 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, SHAPE_LINE_CHAIN aLine)
6531 return _pcbnew.SHAPE_LINE_CHAIN_Replace(self, *args)
6535 Remove(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex)
6536 Remove(SHAPE_LINE_CHAIN self, int aIndex)
6538 return _pcbnew.SHAPE_LINE_CHAIN_Remove(self, *args)
6541 r"""RemoveShape(SHAPE_LINE_CHAIN self, int aPointIndex)"""
6542 return _pcbnew.SHAPE_LINE_CHAIN_RemoveShape(self, aPointIndex)
6545 r"""Find(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=0) -> int"""
6546 return _pcbnew.SHAPE_LINE_CHAIN_Find(self, aP, aThreshold)
6549 r"""FindSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=1) -> int"""
6550 return _pcbnew.SHAPE_LINE_CHAIN_FindSegment(self, aP, aThreshold)
6552 def Slice(self, aStartIndex, aEndIndex=-1):
6553 r"""Slice(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex=-1) -> SHAPE_LINE_CHAIN"""
6554 return _pcbnew.SHAPE_LINE_CHAIN_Slice(self, aStartIndex, aEndIndex)
6557 r"""Intersects(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain) -> bool"""
6558 return _pcbnew.SHAPE_LINE_CHAIN_Intersects(self, aChain)
6562 Intersect(SHAPE_LINE_CHAIN self, SEG aSeg, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp) -> int
6563 Intersect(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp, bool aExcludeColinearAndTouching=False, BOX2I aChainBBox=
None) -> int
6565 return _pcbnew.SHAPE_LINE_CHAIN_Intersect(self, *args)
6568 r"""PathLength(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aIndex=-1) -> int"""
6569 return _pcbnew.SHAPE_LINE_CHAIN_PathLength(self, aP, aIndex)
6572 r"""CheckClearance(SHAPE_LINE_CHAIN self, VECTOR2I aP, int const aDist) -> bool"""
6573 return _pcbnew.SHAPE_LINE_CHAIN_CheckClearance(self, aP, aDist)
6576 r"""SelfIntersecting(SHAPE_LINE_CHAIN self) -> std::optional< SHAPE_LINE_CHAIN::INTERSECTION > const"""
6577 return _pcbnew.SHAPE_LINE_CHAIN_SelfIntersecting(self)
6580 r"""SelfIntersectingWithArcs(SHAPE_LINE_CHAIN self) -> std::optional< SHAPE_LINE_CHAIN::INTERSECTION > const"""
6581 return _pcbnew.SHAPE_LINE_CHAIN_SelfIntersectingWithArcs(self)
6584 r"""NearestSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int"""
6585 return _pcbnew.SHAPE_LINE_CHAIN_NearestSegment(self, aP)
6589 NearestPoint(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowInternalShapePoints=True) -> VECTOR2I
6590 NearestPoint(SHAPE_LINE_CHAIN self, SEG aSeg, int & dist) -> VECTOR2I
6592 return _pcbnew.SHAPE_LINE_CHAIN_NearestPoint(self, *args)
6595 r"""Format(SHAPE_LINE_CHAIN self, bool aCplusPlus=True) -> string"""
6596 return _pcbnew.SHAPE_LINE_CHAIN_Format(self, aCplusPlus)
6599 r"""__ne__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aRhs) -> bool"""
6600 return _pcbnew.SHAPE_LINE_CHAIN___ne__(self, aRhs)
6603 r"""CompareGeometry(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther) -> bool"""
6604 return _pcbnew.SHAPE_LINE_CHAIN_CompareGeometry(self, aOther)
6608 Mirror(SHAPE_LINE_CHAIN self, VECTOR2I aRef, FLIP_DIRECTION aFlipDirection)
6609 Mirror(SHAPE_LINE_CHAIN self, SEG axis)
6611 return _pcbnew.SHAPE_LINE_CHAIN_Mirror(self, *args)
6614 r"""Rotate(SHAPE_LINE_CHAIN self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6615 return _pcbnew.SHAPE_LINE_CHAIN_Rotate(self, *args)
6618 r"""PointAlong(SHAPE_LINE_CHAIN self, int aPathLength) -> VECTOR2I"""
6619 return _pcbnew.SHAPE_LINE_CHAIN_PointAlong(self, aPathLength)
6622 r"""Area(SHAPE_LINE_CHAIN self, bool aAbsolute=True) -> double"""
6623 return _pcbnew.SHAPE_LINE_CHAIN_Area(self, aAbsolute)
6627 Split(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aExact=False) -> int
6628 Split(SHAPE_LINE_CHAIN self, VECTOR2I aStart, VECTOR2I aEnd, SHAPE_LINE_CHAIN aPre, SHAPE_LINE_CHAIN aMid, SHAPE_LINE_CHAIN aPost)
6630 return _pcbnew.SHAPE_LINE_CHAIN_Split(self, *args)
6632 def OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify=False):
6633 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"""
6634 return _pcbnew.SHAPE_LINE_CHAIN_OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify)
6637 r"""ArcCount(SHAPE_LINE_CHAIN self) -> size_t"""
6638 return _pcbnew.SHAPE_LINE_CHAIN_ArcCount(self)
6641 r"""ArcIndex(SHAPE_LINE_CHAIN self, size_t aSegment) -> ssize_t"""
6642 return _pcbnew.SHAPE_LINE_CHAIN_ArcIndex(self, aSegment)
6645 r"""Arc(SHAPE_LINE_CHAIN self, size_t aArc) -> SHAPE_ARC"""
6646 return _pcbnew.SHAPE_LINE_CHAIN_Arc(self, aArc)
6649 r"""IsSharedPt(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6650 return _pcbnew.SHAPE_LINE_CHAIN_IsSharedPt(self, aIndex)
6653 r"""IsPtOnArc(SHAPE_LINE_CHAIN self, size_t aPtIndex) -> bool"""
6654 return _pcbnew.SHAPE_LINE_CHAIN_IsPtOnArc(self, aPtIndex)
6657 r"""IsArcSegment(SHAPE_LINE_CHAIN self, size_t aSegment) -> bool"""
6658 return _pcbnew.SHAPE_LINE_CHAIN_IsArcSegment(self, aSegment)
6661 r"""IsArcStart(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6662 return _pcbnew.SHAPE_LINE_CHAIN_IsArcStart(self, aIndex)
6665 r"""IsArcEnd(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6666 return _pcbnew.SHAPE_LINE_CHAIN_IsArcEnd(self, aIndex)
6670 Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int
6671 Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aOutlineOnly) -> int
6673 return _pcbnew.SHAPE_LINE_CHAIN_Distance(self, *args)
6676_pcbnew.SHAPE_LINE_CHAIN_swigregister(SHAPE_LINE_CHAIN)
6678 r"""Proxy of C++ SHAPE_POLY_SET class."""
6680 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6681 __repr__ = _swig_repr
6685 __init__(SHAPE_POLY_SET self) -> SHAPE_POLY_SET
6686 __init__(SHAPE_POLY_SET self, BOX2D const & aRect) -> SHAPE_POLY_SET
6687 __init__(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> SHAPE_POLY_SET
6688 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON const & aPolygon) -> SHAPE_POLY_SET
6689 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET aOther) -> SHAPE_POLY_SET
6691 _pcbnew.SHAPE_POLY_SET_swiginit(self, _pcbnew.new_SHAPE_POLY_SET(*args))
6692 __swig_destroy__ = _pcbnew.delete_SHAPE_POLY_SET
6695 r"""CacheTriangulation(SHAPE_POLY_SET self, bool aPartition=True, bool aSimplify=False)"""
6696 return _pcbnew.SHAPE_POLY_SET_CacheTriangulation(self, aPartition, aSimplify)
6699 r"""IsTriangulationUpToDate(SHAPE_POLY_SET self) -> bool"""
6700 return _pcbnew.SHAPE_POLY_SET_IsTriangulationUpToDate(self)
6703 r"""GetHash(SHAPE_POLY_SET self) -> HASH_128"""
6704 return _pcbnew.SHAPE_POLY_SET_GetHash(self)
6707 r"""GetRelativeIndices(SHAPE_POLY_SET self, int aGlobalIdx, SHAPE_POLY_SET::VERTEX_INDEX * aRelativeIndices) -> bool"""
6708 return _pcbnew.SHAPE_POLY_SET_GetRelativeIndices(self, aGlobalIdx, aRelativeIndices)
6711 r"""GetGlobalIndex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices, int & aGlobalIdx) -> bool"""
6712 return _pcbnew.SHAPE_POLY_SET_GetGlobalIndex(self, aRelativeIndices, aGlobalIdx)
6715 r"""CloneDropTriangulation(SHAPE_POLY_SET self) -> SHAPE_POLY_SET"""
6716 return _pcbnew.SHAPE_POLY_SET_CloneDropTriangulation(self)
6719 r"""NewOutline(SHAPE_POLY_SET self) -> int"""
6720 return _pcbnew.SHAPE_POLY_SET_NewOutline(self)
6723 r"""NewHole(SHAPE_POLY_SET self, int aOutline=-1) -> int"""
6724 return _pcbnew.SHAPE_POLY_SET_NewHole(self, aOutline)
6727 r"""AddOutline(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> int"""
6728 return _pcbnew.SHAPE_POLY_SET_AddOutline(self, aOutline)
6731 r"""AddHole(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aHole, int aOutline=-1) -> int"""
6732 return _pcbnew.SHAPE_POLY_SET_AddHole(self, aHole, aOutline)
6735 r"""AddPolygon(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON const & apolygon) -> int"""
6736 return _pcbnew.SHAPE_POLY_SET_AddPolygon(self, apolygon)
6739 r"""Area(SHAPE_POLY_SET self) -> double"""
6740 return _pcbnew.SHAPE_POLY_SET_Area(self)
6743 r"""ArcCount(SHAPE_POLY_SET self) -> int"""
6744 return _pcbnew.SHAPE_POLY_SET_ArcCount(self)
6747 r"""GetArcs(SHAPE_POLY_SET self, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > & aArcBuffer)"""
6748 return _pcbnew.SHAPE_POLY_SET_GetArcs(self, aArcBuffer)
6751 r"""ClearArcs(SHAPE_POLY_SET self)"""
6752 return _pcbnew.SHAPE_POLY_SET_ClearArcs(self)
6756 Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1, int aHole=-1, bool aAllowDuplication=False) -> int
6757 Append(SHAPE_POLY_SET self, SHAPE_POLY_SET aSet)
6758 Append(SHAPE_POLY_SET self, VECTOR2I aP, int aOutline=-1, int aHole=-1)
6759 Append(SHAPE_POLY_SET self, SHAPE_ARC aArc, int aOutline=-1, int aHole=-1, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB()) -> int
6761 return _pcbnew.SHAPE_POLY_SET_Append(self, *args)
6764 r"""InsertVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aNewVertex)"""
6765 return _pcbnew.SHAPE_POLY_SET_InsertVertex(self, aGlobalIndex, aNewVertex)
6769 CVertex(SHAPE_POLY_SET self, int aIndex, int aOutline, int aHole) -> VECTOR2I
6770 CVertex(SHAPE_POLY_SET self, int aGlobalIndex) -> VECTOR2I
6771 CVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aIndex) -> VECTOR2I
6773 return _pcbnew.SHAPE_POLY_SET_CVertex(self, *args)
6776 r"""GetNeighbourIndexes(SHAPE_POLY_SET self, int aGlobalIndex, int * aPrevious, int * aNext) -> bool"""
6777 return _pcbnew.SHAPE_POLY_SET_GetNeighbourIndexes(self, aGlobalIndex, aPrevious, aNext)
6780 r"""IsPolygonSelfIntersecting(SHAPE_POLY_SET self, int aPolygonIndex) -> bool"""
6781 return _pcbnew.SHAPE_POLY_SET_IsPolygonSelfIntersecting(self, aPolygonIndex)
6784 r"""IsSelfIntersecting(SHAPE_POLY_SET self) -> bool"""
6785 return _pcbnew.SHAPE_POLY_SET_IsSelfIntersecting(self)
6788 r"""TriangulatedPolyCount(SHAPE_POLY_SET self) -> unsigned int"""
6789 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolyCount(self)
6792 r"""OutlineCount(SHAPE_POLY_SET self) -> int"""
6793 return _pcbnew.SHAPE_POLY_SET_OutlineCount(self)
6796 r"""VertexCount(SHAPE_POLY_SET self, int aOutline=-1, int aHole=-1) -> int"""
6797 return _pcbnew.SHAPE_POLY_SET_VertexCount(self, aOutline, aHole)
6800 r"""FullPointCount(SHAPE_POLY_SET self) -> int"""
6801 return _pcbnew.SHAPE_POLY_SET_FullPointCount(self)
6804 r"""HoleCount(SHAPE_POLY_SET self, int aOutline) -> int"""
6805 return _pcbnew.SHAPE_POLY_SET_HoleCount(self, aOutline)
6809 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6810 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6812 return _pcbnew.SHAPE_POLY_SET_Outline(self, *args)
6814 def Subset(self, aFirstPolygon, aLastPolygon):
6815 r"""Subset(SHAPE_POLY_SET self, int aFirstPolygon, int aLastPolygon) -> SHAPE_POLY_SET"""
6816 return _pcbnew.SHAPE_POLY_SET_Subset(self, aFirstPolygon, aLastPolygon)
6819 r"""UnitSet(SHAPE_POLY_SET self, int aPolygonIndex) -> SHAPE_POLY_SET"""
6820 return _pcbnew.SHAPE_POLY_SET_UnitSet(self, aPolygonIndex)
6823 r"""Hole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6824 return _pcbnew.SHAPE_POLY_SET_Hole(self, aOutline, aHole)
6828 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON
6829 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &
6831 return _pcbnew.SHAPE_POLY_SET_Polygon(self, *args)
6834 r"""TriangulatedPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::TRIANGULATED_POLYGON const *"""
6835 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolygon(self, aIndex)
6838 r"""COutline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN"""
6839 return _pcbnew.SHAPE_POLY_SET_COutline(self, aIndex)
6842 r"""CHole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6843 return _pcbnew.SHAPE_POLY_SET_CHole(self, aOutline, aHole)
6846 r"""CPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &"""
6847 return _pcbnew.SHAPE_POLY_SET_CPolygon(self, aIndex)
6850 r"""CPolygons(SHAPE_POLY_SET self) -> std::vector< SHAPE_POLY_SET::POLYGON,std::allocator< SHAPE_POLY_SET::POLYGON > > const &"""
6851 return _pcbnew.SHAPE_POLY_SET_CPolygons(self)
6855 Iterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::ITERATOR
6856 Iterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6857 Iterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR
6859 return _pcbnew.SHAPE_POLY_SET_Iterate(self, *args)
6863 IterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6866 return _pcbnew.SHAPE_POLY_SET_IterateWithHoles(self, *args)
6870 CIterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_ITERATOR
6871 CIterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
6872 CIterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR
6874 return _pcbnew.SHAPE_POLY_SET_CIterate(self, *args)
6878 CIterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
6881 return _pcbnew.SHAPE_POLY_SET_CIterateWithHoles(self, *args)
6884 r"""IterateFromVertexWithHoles(SHAPE_POLY_SET self, int aGlobalIdx) -> SHAPE_POLY_SET::ITERATOR"""
6885 return _pcbnew.SHAPE_POLY_SET_IterateFromVertexWithHoles(self, aGlobalIdx)
6889 IterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
6890 IterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
6891 IterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
6893 return _pcbnew.SHAPE_POLY_SET_IterateSegments(self, *args)
6897 CIterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
6898 CIterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
6899 CIterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
6901 return _pcbnew.SHAPE_POLY_SET_CIterateSegments(self, *args)
6908 return _pcbnew.SHAPE_POLY_SET_IterateSegmentsWithHoles(self, *args)
6915 return _pcbnew.SHAPE_POLY_SET_CIterateSegmentsWithHoles(self, *args)
6919 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET b)
6920 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b)
6922 return _pcbnew.SHAPE_POLY_SET_BooleanAdd(self, *args)
6927 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b)
6929 return _pcbnew.SHAPE_POLY_SET_BooleanSubtract(self, *args)
6936 return _pcbnew.SHAPE_POLY_SET_BooleanIntersection(self, *args)
6940 BooleanXor(SHAPE_POLY_SET self, SHAPE_POLY_SET b)
6941 BooleanXor(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b)
6943 return _pcbnew.SHAPE_POLY_SET_BooleanXor(self, *args)
6946 r"""RebuildHolesFromContours(SHAPE_POLY_SET self)"""
6947 return _pcbnew.SHAPE_POLY_SET_RebuildHolesFromContours(self)
6949 def Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify=False):
6950 r"""Inflate(SHAPE_POLY_SET self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, bool aSimplify=False)"""
6951 return _pcbnew.SHAPE_POLY_SET_Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify)
6953 def Deflate(self, aAmount, aCornerStrategy, aMaxError):
6954 r"""Deflate(SHAPE_POLY_SET self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError)"""
6955 return _pcbnew.SHAPE_POLY_SET_Deflate(self, aAmount, aCornerStrategy, aMaxError)
6958 r"""OffsetLineChain(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aLine, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, bool aSimplify)"""
6959 return _pcbnew.SHAPE_POLY_SET_OffsetLineChain(self, aLine, aAmount, aCornerStrategy, aMaxError, aSimplify)
6962 r"""InflateWithLinkedHoles(SHAPE_POLY_SET self, int aFactor, CORNER_STRATEGY aCornerStrategy, int aMaxError)"""
6963 return _pcbnew.SHAPE_POLY_SET_InflateWithLinkedHoles(self, aFactor, aCornerStrategy, aMaxError)
6966 r"""Fracture(SHAPE_POLY_SET self)"""
6967 return _pcbnew.SHAPE_POLY_SET_Fracture(self)
6970 r"""Unfracture(SHAPE_POLY_SET self)"""
6971 return _pcbnew.SHAPE_POLY_SET_Unfracture(self)
6974 r"""HasHoles(SHAPE_POLY_SET self) -> bool"""
6975 return _pcbnew.SHAPE_POLY_SET_HasHoles(self)
6978 r"""HasTouchingHoles(SHAPE_POLY_SET self) -> bool"""
6979 return _pcbnew.SHAPE_POLY_SET_HasTouchingHoles(self)
6982 r"""Simplify(SHAPE_POLY_SET self)"""
6983 return _pcbnew.SHAPE_POLY_SET_Simplify(self)
6986 r"""SimplifyOutlines(SHAPE_POLY_SET self, int aMaxError=0)"""
6987 return _pcbnew.SHAPE_POLY_SET_SimplifyOutlines(self, aMaxError)
6990 r"""NormalizeAreaOutlines(SHAPE_POLY_SET self) -> int"""
6991 return _pcbnew.SHAPE_POLY_SET_NormalizeAreaOutlines(self)
6994 r"""Format(SHAPE_POLY_SET self, bool aCplusPlus=True) -> string"""
6995 return _pcbnew.SHAPE_POLY_SET_Format(self, aCplusPlus)
6998 r"""Mirror(SHAPE_POLY_SET self, VECTOR2I aRef, FLIP_DIRECTION aFlipDirection)"""
6999 return _pcbnew.SHAPE_POLY_SET_Mirror(self, aRef, aFlipDirection)
7002 r"""Rotate(SHAPE_POLY_SET self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7003 return _pcbnew.SHAPE_POLY_SET_Rotate(self, *args)
7006 r"""BBox(SHAPE_POLY_SET self, int aClearance=0) -> BOX2I"""
7007 return _pcbnew.SHAPE_POLY_SET_BBox(self, aClearance)
7010 r"""PointOnEdge(SHAPE_POLY_SET self, VECTOR2I aP, int aAccuracy=0) -> bool"""
7011 return _pcbnew.SHAPE_POLY_SET_PointOnEdge(self, aP, aAccuracy)
7015 Collide(SHAPE_POLY_SET self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7016 Collide(SHAPE_POLY_SET self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7017 Collide(SHAPE_POLY_SET self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7019 return _pcbnew.SHAPE_POLY_SET_Collide(self, *args)
7022 r"""CollideVertex(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
7023 return _pcbnew.SHAPE_POLY_SET_CollideVertex(self, aPoint, aClosestVertex, aClearance)
7026 r"""CollideEdge(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
7027 return _pcbnew.SHAPE_POLY_SET_CollideEdge(self, aPoint, aClosestVertex, aClearance)
7030 r"""PointInside(SHAPE_POLY_SET self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
7031 return _pcbnew.SHAPE_POLY_SET_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
7034 r"""BuildBBoxCaches(SHAPE_POLY_SET self)"""
7035 return _pcbnew.SHAPE_POLY_SET_BuildBBoxCaches(self)
7038 r"""BBoxFromCaches(SHAPE_POLY_SET self) -> BOX2I"""
7039 return _pcbnew.SHAPE_POLY_SET_BBoxFromCaches(self)
7041 def Contains(self, aP, aSubpolyIndex=-1, aAccuracy=0, aUseBBoxCaches=False):
7042 r"""Contains(SHAPE_POLY_SET self, VECTOR2I aP, int aSubpolyIndex=-1, int aAccuracy=0, bool aUseBBoxCaches=False) -> bool"""
7043 return _pcbnew.SHAPE_POLY_SET_Contains(self, aP, aSubpolyIndex, aAccuracy, aUseBBoxCaches)
7046 r"""IsEmpty(SHAPE_POLY_SET self) -> bool"""
7047 return _pcbnew.SHAPE_POLY_SET_IsEmpty(self)
7052 RemoveVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices)
7054 return _pcbnew.SHAPE_POLY_SET_RemoveVertex(self, *args)
7057 r"""RemoveAllContours(SHAPE_POLY_SET self)"""
7058 return _pcbnew.SHAPE_POLY_SET_RemoveAllContours(self)
7061 r"""RemoveContour(SHAPE_POLY_SET self, int aContourIdx, int aPolygonIdx=-1)"""
7062 return _pcbnew.SHAPE_POLY_SET_RemoveContour(self, aContourIdx, aPolygonIdx)
7065 r"""RemoveOutline(SHAPE_POLY_SET self, int aOutlineIdx)"""
7066 return _pcbnew.SHAPE_POLY_SET_RemoveOutline(self, aOutlineIdx)
7069 r"""RemoveNullSegments(SHAPE_POLY_SET self) -> int"""
7070 return _pcbnew.SHAPE_POLY_SET_RemoveNullSegments(self)
7074 SetVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX const & aIndex, VECTOR2I aPos)
7075 SetVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aPos)
7077 return _pcbnew.SHAPE_POLY_SET_SetVertex(self, *args)
7080 r"""TotalVertices(SHAPE_POLY_SET self) -> int"""
7081 return _pcbnew.SHAPE_POLY_SET_TotalVertices(self)
7084 r"""DeletePolygon(SHAPE_POLY_SET self, int aIdx)"""
7085 return _pcbnew.SHAPE_POLY_SET_DeletePolygon(self, aIdx)
7088 r"""DeletePolygonAndTriangulationData(SHAPE_POLY_SET self, int aIdx, bool aUpdateHash=True)"""
7089 return _pcbnew.SHAPE_POLY_SET_DeletePolygonAndTriangulationData(self, aIdx, aUpdateHash)
7092 r"""UpdateTriangulationDataHash(SHAPE_POLY_SET self)"""
7093 return _pcbnew.SHAPE_POLY_SET_UpdateTriangulationDataHash(self)
7096 r"""ChamferPolygon(SHAPE_POLY_SET self, unsigned int aDistance, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
7097 return _pcbnew.SHAPE_POLY_SET_ChamferPolygon(self, aDistance, aIndex)
7100 r"""FilletPolygon(SHAPE_POLY_SET self, unsigned int aRadius, int aErrorMax, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
7101 return _pcbnew.SHAPE_POLY_SET_FilletPolygon(self, aRadius, aErrorMax, aIndex)
7104 r"""Chamfer(SHAPE_POLY_SET self, int aDistance) -> SHAPE_POLY_SET"""
7105 return _pcbnew.SHAPE_POLY_SET_Chamfer(self, aDistance)
7108 r"""Fillet(SHAPE_POLY_SET self, int aRadius, int aErrorMax) -> SHAPE_POLY_SET"""
7109 return _pcbnew.SHAPE_POLY_SET_Fillet(self, aRadius, aErrorMax)
7116 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToPolygon(self, *args)
7120 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, bool aOutlineOnly, VECTOR2I aNearest) -> SEG::ecoord
7121 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, bool aOutlineOnly=False) -> SEG::ecoord
7123 return _pcbnew.SHAPE_POLY_SET_SquaredDistance(self, *args)
7126 r"""SquaredDistanceToSeg(SHAPE_POLY_SET self, SEG aSegment, VECTOR2I aNearest=None) -> SEG::ecoord"""
7127 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToSeg(self, aSegment, aNearest)
7130 r"""IsVertexInHole(SHAPE_POLY_SET self, int aGlobalIdx) -> bool"""
7131 return _pcbnew.SHAPE_POLY_SET_IsVertexInHole(self, aGlobalIdx)
7134 r"""BuildPolysetFromOrientedPaths(SHAPE_POLY_SET self, std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const & aPaths, bool aEvenOdd=False)"""
7135 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(self, aPaths, aEvenOdd)
7138_pcbnew.SHAPE_POLY_SET_swigregister(SHAPE_POLY_SET)
7140 r"""Proxy of C++ SHAPE_RECT class."""
7142 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7143 __repr__ = _swig_repr
7147 __init__(SHAPE_RECT self) -> SHAPE_RECT
7148 __init__(SHAPE_RECT self, BOX2I aBox) -> SHAPE_RECT
7149 __init__(SHAPE_RECT self, int aX0, int aY0, int aW, int aH) -> SHAPE_RECT
7150 __init__(SHAPE_RECT self, VECTOR2I aP0, int aW, int aH) -> SHAPE_RECT
7151 __init__(SHAPE_RECT self, VECTOR2I aP0, VECTOR2I aP1) -> SHAPE_RECT
7152 __init__(SHAPE_RECT self, SHAPE_RECT aOther) -> SHAPE_RECT
7154 _pcbnew.SHAPE_RECT_swiginit(self, _pcbnew.new_SHAPE_RECT(*args))
7157 r"""BBox(SHAPE_RECT self, int aClearance=0) -> BOX2I"""
7158 return _pcbnew.SHAPE_RECT_BBox(self, aClearance)
7161 r"""GetInflated(SHAPE_RECT self, int aOffset) -> SHAPE_RECT"""
7162 return _pcbnew.SHAPE_RECT_GetInflated(self, aOffset)
7165 r"""Diagonal(SHAPE_RECT self) -> int"""
7166 return _pcbnew.SHAPE_RECT_Diagonal(self)
7169 r"""MajorDimension(SHAPE_RECT self) -> int"""
7170 return _pcbnew.SHAPE_RECT_MajorDimension(self)
7173 r"""MinorDimension(SHAPE_RECT self) -> int"""
7174 return _pcbnew.SHAPE_RECT_MinorDimension(self)
7178 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
7179 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7180 Collide(SHAPE_RECT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7182 return _pcbnew.SHAPE_RECT_Collide(self, *args)
7185 r"""GetPosition(SHAPE_RECT self) -> VECTOR2I"""
7186 return _pcbnew.SHAPE_RECT_GetPosition(self)
7189 r"""GetSize(SHAPE_RECT self) -> VECTOR2I"""
7190 return _pcbnew.SHAPE_RECT_GetSize(self)
7193 r"""GetWidth(SHAPE_RECT self) -> int"""
7194 return _pcbnew.SHAPE_RECT_GetWidth(self)
7197 r"""GetHeight(SHAPE_RECT self) -> int"""
7198 return _pcbnew.SHAPE_RECT_GetHeight(self)
7201 r"""Rotate(SHAPE_RECT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7202 return _pcbnew.SHAPE_RECT_Rotate(self, *args)
7205 r"""Outline(SHAPE_RECT self) -> SHAPE_LINE_CHAIN"""
7206 return _pcbnew.SHAPE_RECT_Outline(self)
7209 r"""Format(SHAPE_RECT self, bool aCplusPlus=True) -> string"""
7210 return _pcbnew.SHAPE_RECT_Format(self, aCplusPlus)
7211 __swig_destroy__ = _pcbnew.delete_SHAPE_RECT
7214_pcbnew.SHAPE_RECT_swigregister(SHAPE_RECT)
7216 r"""Proxy of C++ SHAPE_SEGMENT class."""
7218 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7219 __repr__ = _swig_repr
7223 __init__(SHAPE_SEGMENT self) -> SHAPE_SEGMENT
7224 __init__(SHAPE_SEGMENT self, VECTOR2I aA, VECTOR2I aB, int aWidth=0) -> SHAPE_SEGMENT
7225 __init__(SHAPE_SEGMENT self, SEG aSeg, int aWidth=0) -> SHAPE_SEGMENT
7227 _pcbnew.SHAPE_SEGMENT_swiginit(self, _pcbnew.new_SHAPE_SEGMENT(*args))
7228 __swig_destroy__ = _pcbnew.delete_SHAPE_SEGMENT
7231 r"""BBox(SHAPE_SEGMENT self, int aClearance=0) -> BOX2I"""
7232 return _pcbnew.SHAPE_SEGMENT_BBox(self, aClearance)
7236 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
7237 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7238 Collide(SHAPE_SEGMENT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7239 Collide(SHAPE_SEGMENT self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7241 return _pcbnew.SHAPE_SEGMENT_Collide(self, *args)
7244 r"""SetSeg(SHAPE_SEGMENT self, SEG aSeg)"""
7245 return _pcbnew.SHAPE_SEGMENT_SetSeg(self, aSeg)
7248 r"""GetSeg(SHAPE_SEGMENT self) -> SEG"""
7249 return _pcbnew.SHAPE_SEGMENT_GetSeg(self)
7252 r"""SetWidth(SHAPE_SEGMENT self, int aWidth)"""
7253 return _pcbnew.SHAPE_SEGMENT_SetWidth(self, aWidth)
7256 r"""GetWidth(SHAPE_SEGMENT self) -> int"""
7257 return _pcbnew.SHAPE_SEGMENT_GetWidth(self)
7260 r"""Rotate(SHAPE_SEGMENT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7261 return _pcbnew.SHAPE_SEGMENT_Rotate(self, *args)
7264 r"""Is45Degree(SHAPE_SEGMENT self, EDA_ANGLE aTollerance=EDA_ANGLE( 1.0, DEGREES_T )) -> bool"""
7265 return _pcbnew.SHAPE_SEGMENT_Is45Degree(self, *args)
7268 r"""Format(SHAPE_SEGMENT self, bool aCplusPlus=True) -> string"""
7269 return _pcbnew.SHAPE_SEGMENT_Format(self, aCplusPlus)
7272_pcbnew.SHAPE_SEGMENT_swigregister(SHAPE_SEGMENT)
7274 r"""Proxy of C++ SHAPE_SIMPLE class."""
7276 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7277 __repr__ = _swig_repr
7281 __init__(SHAPE_SIMPLE self) -> SHAPE_SIMPLE
7282 __init__(SHAPE_SIMPLE self, SHAPE_LINE_CHAIN aPoly) -> SHAPE_SIMPLE
7283 __init__(SHAPE_SIMPLE self, SHAPE_SIMPLE aOther) -> SHAPE_SIMPLE
7285 _pcbnew.SHAPE_SIMPLE_swiginit(self, _pcbnew.new_SHAPE_SIMPLE(*args))
7288 r"""Clear(SHAPE_SIMPLE self)"""
7289 return _pcbnew.SHAPE_SIMPLE_Clear(self)
7292 r"""BBox(SHAPE_SIMPLE self, int aClearance=0) -> BOX2I"""
7293 return _pcbnew.SHAPE_SIMPLE_BBox(self, aClearance)
7296 r"""PointCount(SHAPE_SIMPLE self) -> int"""
7297 return _pcbnew.SHAPE_SIMPLE_PointCount(self)
7300 r"""CPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2I"""
7301 return _pcbnew.SHAPE_SIMPLE_CPoint(self, aIndex)
7304 r"""CDPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2D const"""
7305 return _pcbnew.SHAPE_SIMPLE_CDPoint(self, aIndex)
7308 r"""Vertices(SHAPE_SIMPLE self) -> SHAPE_LINE_CHAIN"""
7309 return _pcbnew.SHAPE_SIMPLE_Vertices(self)
7313 Append(SHAPE_SIMPLE self, int aX, int aY)
7314 Append(SHAPE_SIMPLE self, VECTOR2I aP)
7316 return _pcbnew.SHAPE_SIMPLE_Append(self, *args)
7318 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
7319 r"""Collide(SHAPE_SIMPLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
7320 return _pcbnew.SHAPE_SIMPLE_Collide(self, aSeg, aClearance, aActual, aLocation)
7323 r"""Rotate(SHAPE_SIMPLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7324 return _pcbnew.SHAPE_SIMPLE_Rotate(self, *args)
7325 __swig_destroy__ = _pcbnew.delete_SHAPE_SIMPLE
7328_pcbnew.SHAPE_SIMPLE_swigregister(SHAPE_SIMPLE)
7329ERROR_OUTSIDE = _pcbnew.ERROR_OUTSIDE
7331ERROR_INSIDE = _pcbnew.ERROR_INSIDE
7334 r"""Proxy of C++ std::vector< std::shared_ptr< SHAPE > > class."""
7336 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7337 __repr__ = _swig_repr
7340 r"""iterator(VECTOR_SHAPEPTR self) -> SwigPyIterator"""
7341 return _pcbnew.VECTOR_SHAPEPTR_iterator(self)
7346 r"""__nonzero__(VECTOR_SHAPEPTR self) -> bool"""
7347 return _pcbnew.VECTOR_SHAPEPTR___nonzero__(self)
7350 r"""__bool__(VECTOR_SHAPEPTR self) -> bool"""
7351 return _pcbnew.VECTOR_SHAPEPTR___bool__(self)
7354 r"""__len__(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7355 return _pcbnew.VECTOR_SHAPEPTR___len__(self)
7358 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"""
7359 return _pcbnew.VECTOR_SHAPEPTR___getslice__(self, i, j)
7363 __setslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)
7364 __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)
7366 return _pcbnew.VECTOR_SHAPEPTR___setslice__(self, *args)
7369 r"""__delslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)"""
7370 return _pcbnew.VECTOR_SHAPEPTR___delslice__(self, i, j)
7374 __delitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i)
7375 __delitem__(VECTOR_SHAPEPTR self, SWIGPY_SLICEOBJECT * slice)
7377 return _pcbnew.VECTOR_SHAPEPTR___delitem__(self, *args)
7381 __getitem__(VECTOR_SHAPEPTR self, SWIGPY_SLICEOBJECT * slice) -> VECTOR_SHAPEPTR
7382 __getitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &
7384 return _pcbnew.VECTOR_SHAPEPTR___getitem__(self, *args)
7388 __setitem__(VECTOR_SHAPEPTR self, SWIGPY_SLICEOBJECT * slice, VECTOR_SHAPEPTR v)
7389 __setitem__(VECTOR_SHAPEPTR self, SWIGPY_SLICEOBJECT * slice)
7390 __setitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7392 return _pcbnew.VECTOR_SHAPEPTR___setitem__(self, *args)
7395 r"""pop(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type"""
7396 return _pcbnew.VECTOR_SHAPEPTR_pop(self)
7399 r"""append(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7400 return _pcbnew.VECTOR_SHAPEPTR_append(self, x)
7403 r"""empty(VECTOR_SHAPEPTR self) -> bool"""
7404 return _pcbnew.VECTOR_SHAPEPTR_empty(self)
7407 r"""size(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7408 return _pcbnew.VECTOR_SHAPEPTR_size(self)
7411 r"""swap(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR v)"""
7412 return _pcbnew.VECTOR_SHAPEPTR_swap(self, v)
7415 r"""begin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7416 return _pcbnew.VECTOR_SHAPEPTR_begin(self)
7419 r"""end(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7420 return _pcbnew.VECTOR_SHAPEPTR_end(self)
7423 r"""rbegin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7424 return _pcbnew.VECTOR_SHAPEPTR_rbegin(self)
7427 r"""rend(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7428 return _pcbnew.VECTOR_SHAPEPTR_rend(self)
7431 r"""clear(VECTOR_SHAPEPTR self)"""
7432 return _pcbnew.VECTOR_SHAPEPTR_clear(self)
7435 r"""get_allocator(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::allocator_type"""
7436 return _pcbnew.VECTOR_SHAPEPTR_get_allocator(self)
7439 r"""pop_back(VECTOR_SHAPEPTR self)"""
7440 return _pcbnew.VECTOR_SHAPEPTR_pop_back(self)
7444 erase(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos) -> std::vector< std::shared_ptr< SHAPE > >::iterator
7445 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
7447 return _pcbnew.VECTOR_SHAPEPTR_erase(self, *args)
7451 __init__(VECTOR_SHAPEPTR self) -> VECTOR_SHAPEPTR
7452 __init__(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR other) -> VECTOR_SHAPEPTR
7453 __init__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type size) -> VECTOR_SHAPEPTR
7454 __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
7456 _pcbnew.VECTOR_SHAPEPTR_swiginit(self, _pcbnew.new_VECTOR_SHAPEPTR(*args))
7459 r"""push_back(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7460 return _pcbnew.VECTOR_SHAPEPTR_push_back(self, x)
7463 r"""front(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7464 return _pcbnew.VECTOR_SHAPEPTR_front(self)
7467 r"""back(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7468 return _pcbnew.VECTOR_SHAPEPTR_back(self)
7471 r"""assign(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7472 return _pcbnew.VECTOR_SHAPEPTR_assign(self, n, x)
7476 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size)
7477 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7479 return _pcbnew.VECTOR_SHAPEPTR_resize(self, *args)
7483 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
7484 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)
7486 return _pcbnew.VECTOR_SHAPEPTR_insert(self, *args)
7489 r"""reserve(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n)"""
7490 return _pcbnew.VECTOR_SHAPEPTR_reserve(self, n)
7493 r"""capacity(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7494 return _pcbnew.VECTOR_SHAPEPTR_capacity(self)
7502 except StopIteration:
7505 __swig_destroy__ = _pcbnew.delete_VECTOR_SHAPEPTR
7508_pcbnew.VECTOR_SHAPEPTR_swigregister(VECTOR_SHAPEPTR)
7511 r"""Cast_to_SHAPE_ARC(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_ARC >"""
7512 return _pcbnew.Cast_to_SHAPE_ARC(_self)
7515 r"""Cast_to_SHAPE_CIRCLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_CIRCLE >"""
7516 return _pcbnew.Cast_to_SHAPE_CIRCLE(_self)
7519 r"""Cast_to_SHAPE_COMPOUND(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_COMPOUND >"""
7520 return _pcbnew.Cast_to_SHAPE_COMPOUND(_self)
7523 r"""Cast_to_SHAPE_LINE_CHAIN(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_LINE_CHAIN >"""
7524 return _pcbnew.Cast_to_SHAPE_LINE_CHAIN(_self)
7527 r"""Cast_to_SHAPE_POLY_SET(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_POLY_SET >"""
7528 return _pcbnew.Cast_to_SHAPE_POLY_SET(_self)
7531 r"""Cast_to_SHAPE_RECT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_RECT >"""
7532 return _pcbnew.Cast_to_SHAPE_RECT(_self)
7535 r"""Cast_to_SHAPE_SEGMENT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SEGMENT >"""
7536 return _pcbnew.Cast_to_SHAPE_SEGMENT(_self)
7539 r"""Cast_to_SHAPE_SIMPLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SIMPLE >"""
7540 return _pcbnew.Cast_to_SHAPE_SIMPLE(_self)
7541FLIP_DIRECTION_LEFT_RIGHT = _pcbnew.FLIP_DIRECTION_LEFT_RIGHT
7543FLIP_DIRECTION_TOP_BOTTOM = _pcbnew.FLIP_DIRECTION_TOP_BOTTOM
7547 r"""IsUTF8(char const * aString) -> bool"""
7548 return _pcbnew.IsUTF8(aString)
7550 r"""Proxy of C++ UTF8 class."""
7552 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7553 __repr__ = _swig_repr
7557 __init__(UTF8 self, wxString o) -> UTF8
7558 __init__(UTF8 self, char const * txt) -> UTF8
7559 __init__(UTF8 self, wchar_t const * txt) -> UTF8
7560 __init__(UTF8 self, string o) -> UTF8
7563 _pcbnew.UTF8_swiginit(self, _pcbnew.new_UTF8(*args))
7564 __swig_destroy__ = _pcbnew.delete_UTF8
7567 r"""c_str(UTF8 self) -> char const *"""
7568 return _pcbnew.UTF8_c_str(self)
7571 r"""empty(UTF8 self) -> bool"""
7572 return _pcbnew.UTF8_empty(self)
7576 find(UTF8 self, char c) -> std::string::size_type
7577 find(UTF8 self, char c, size_t s) -> std::string::size_type
7579 return _pcbnew.UTF8_find(self, *args)
7582 r"""clear(UTF8 self)"""
7583 return _pcbnew.UTF8_clear(self)
7586 r"""length(UTF8 self) -> std::string::size_type"""
7587 return _pcbnew.UTF8_length(self)
7590 r"""size(UTF8 self) -> std::string::size_type"""
7591 return _pcbnew.UTF8_size(self)
7594 r"""compare(UTF8 self, string s) -> int"""
7595 return _pcbnew.UTF8_compare(self, s)
7599 __eq__(UTF8 self, UTF8 rhs) -> bool
7600 __eq__(UTF8 self, string rhs) -> bool
7601 __eq__(UTF8 self, char const * s) -> bool
7603 return _pcbnew.UTF8___eq__(self, *args)
7606 r"""__ne__(UTF8 self, UTF8 rhs) -> bool"""
7607 return _pcbnew.UTF8___ne__(self, rhs)
7610 r"""__lt__(UTF8 self, UTF8 rhs) -> bool"""
7611 return _pcbnew.UTF8___lt__(self, rhs)
7614 r"""__gt__(UTF8 self, UTF8 rhs) -> bool"""
7615 return _pcbnew.UTF8___gt__(self, rhs)
7618 r"""find_first_of(UTF8 self, string str, std::string::size_type pos=0) -> std::string::size_type"""
7619 return _pcbnew.UTF8_find_first_of(self, str, pos)
7623 __iadd__(UTF8 self, UTF8 str) -> UTF8
7624 __iadd__(UTF8 self, char ch) -> UTF8
7625 __iadd__(UTF8 self, char const * s) -> UTF8
7626 __iadd__(UTF8 self, unsigned int w_ch) -> UTF8
7628 return _pcbnew.UTF8___iadd__(self, *args)
7629 npos = _pcbnew.UTF8_npos
7633 r"""substr(UTF8 self, size_t pos=0, size_t len=npos) -> string"""
7634 return _pcbnew.UTF8_substr(self, *args)
7637 r"""utf8_to_string(UTF8 self) -> string"""
7638 return _pcbnew.UTF8_utf8_to_string(self)
7641 r"""wx_str(UTF8 self) -> wxString"""
7642 return _pcbnew.UTF8_wx_str(self)
7645 r"""utf8_to_wxstring(UTF8 self) -> wxString"""
7646 return _pcbnew.UTF8_utf8_to_wxstring(self)
7649 r"""begin(UTF8 self) -> std::string::const_iterator"""
7650 return _pcbnew.UTF8_begin(self)
7653 r"""end(UTF8 self) -> std::string::const_iterator"""
7654 return _pcbnew.UTF8_end(self)
7657 r"""Cast_to_CChar(UTF8 self) -> char const *"""
7658 return _pcbnew.UTF8_Cast_to_CChar(self)
7673_pcbnew.UTF8_swigregister(UTF8)
7675 r"""Proxy of C++ LIB_ID class."""
7677 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7678 __repr__ = _swig_repr
7683 __init__(LIB_ID self, wxString aLibraryName, wxString aItemName) -> LIB_ID
7685 _pcbnew.LIB_ID_swiginit(self, _pcbnew.new_LIB_ID(*args))
7688 r"""Parse(LIB_ID self, UTF8 aId, bool aFix=False) -> int"""
7689 return _pcbnew.LIB_ID_Parse(self, aId, aFix)
7692 r"""GetLibNickname(LIB_ID self) -> UTF8"""
7693 return _pcbnew.LIB_ID_GetLibNickname(self)
7696 r"""GetUniStringLibNickname(LIB_ID self) -> wxString"""
7697 return _pcbnew.LIB_ID_GetUniStringLibNickname(self)
7700 r"""SetLibNickname(LIB_ID self, UTF8 aLibNickname) -> int"""
7701 return _pcbnew.LIB_ID_SetLibNickname(self, aLibNickname)
7704 r"""GetLibItemName(LIB_ID self) -> UTF8"""
7705 return _pcbnew.LIB_ID_GetLibItemName(self)
7708 r"""GetUniStringLibItemName(LIB_ID self) -> wxString"""
7709 return _pcbnew.LIB_ID_GetUniStringLibItemName(self)
7712 r"""SetLibItemName(LIB_ID self, UTF8 aLibItemName) -> int"""
7713 return _pcbnew.LIB_ID_SetLibItemName(self, aLibItemName)
7716 r"""GetSubLibraryName(LIB_ID self) -> UTF8"""
7717 return _pcbnew.LIB_ID_GetSubLibraryName(self)
7720 r"""SetSubLibraryName(LIB_ID self, UTF8 aName)"""
7721 return _pcbnew.LIB_ID_SetSubLibraryName(self, aName)
7724 r"""GetUniStringSubLibraryName(LIB_ID self) -> wxString"""
7725 return _pcbnew.LIB_ID_GetUniStringSubLibraryName(self)
7728 r"""GetFullLibraryName(LIB_ID self) -> wxString"""
7729 return _pcbnew.LIB_ID_GetFullLibraryName(self)
7732 r"""GetUniStringLibId(LIB_ID self) -> wxString"""
7733 return _pcbnew.LIB_ID_GetUniStringLibId(self)
7739 Format(UTF8 aLibraryName, UTF8 aLibItemName) -> UTF8
7741 return _pcbnew.LIB_ID_Format(*args)
7744 r"""IsValid(LIB_ID self) -> bool"""
7745 return _pcbnew.LIB_ID_IsValid(self)
7748 r"""IsLegacy(LIB_ID self) -> bool"""
7749 return _pcbnew.LIB_ID_IsLegacy(self)
7752 r"""clear(LIB_ID self)"""
7753 return _pcbnew.LIB_ID_clear(self)
7756 r"""empty(LIB_ID self) -> bool"""
7757 return _pcbnew.LIB_ID_empty(self)
7760 r"""compare(LIB_ID self, LIB_ID aLibId) -> int"""
7761 return _pcbnew.LIB_ID_compare(self, aLibId)
7764 r"""__lt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7765 return _pcbnew.LIB_ID___lt__(self, aLibId)
7768 r"""__gt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7769 return _pcbnew.LIB_ID___gt__(self, aLibId)
7772 r"""__eq__(LIB_ID self, LIB_ID aLibId) -> bool"""
7773 return _pcbnew.LIB_ID___eq__(self, aLibId)
7776 r"""__ne__(LIB_ID self, LIB_ID aLibId) -> bool"""
7777 return _pcbnew.LIB_ID___ne__(self, aLibId)
7781 r"""HasIllegalChars(UTF8 aLibItemName) -> int"""
7782 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
7786 r"""FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
7787 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
7791 r"""FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
7792 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
7793 __swig_destroy__ = _pcbnew.delete_LIB_ID
7796_pcbnew.LIB_ID_swigregister(LIB_ID)
7798 r"""Proxy of C++ BASE_SET class."""
7800 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7803 raise AttributeError(
"No constructor defined")
7804 __repr__ = _swig_repr
7805 __swig_destroy__ = _pcbnew.delete_BASE_SET
7808_pcbnew.BASE_SET_swigregister(BASE_SET)
7810 r"""Proxy of C++ PCB_IO_MGR class."""
7812 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7813 __repr__ = _swig_repr
7814 PCB_FILE_UNKNOWN = _pcbnew.PCB_IO_MGR_PCB_FILE_UNKNOWN
7816 KICAD_SEXP = _pcbnew.PCB_IO_MGR_KICAD_SEXP
7818 LEGACY = _pcbnew.PCB_IO_MGR_LEGACY
7820 ALTIUM_CIRCUIT_MAKER = _pcbnew.PCB_IO_MGR_ALTIUM_CIRCUIT_MAKER
7822 ALTIUM_CIRCUIT_STUDIO = _pcbnew.PCB_IO_MGR_ALTIUM_CIRCUIT_STUDIO
7824 ALTIUM_DESIGNER = _pcbnew.PCB_IO_MGR_ALTIUM_DESIGNER
7826 CADSTAR_PCB_ARCHIVE = _pcbnew.PCB_IO_MGR_CADSTAR_PCB_ARCHIVE
7828 EAGLE = _pcbnew.PCB_IO_MGR_EAGLE
7830 EASYEDA = _pcbnew.PCB_IO_MGR_EASYEDA
7832 EASYEDAPRO = _pcbnew.PCB_IO_MGR_EASYEDAPRO
7834 FABMASTER = _pcbnew.PCB_IO_MGR_FABMASTER
7836 GEDA_PCB = _pcbnew.PCB_IO_MGR_GEDA_PCB
7838 PCAD = _pcbnew.PCB_IO_MGR_PCAD
7840 SOLIDWORKS_PCB = _pcbnew.PCB_IO_MGR_SOLIDWORKS_PCB
7842 IPC2581 = _pcbnew.PCB_IO_MGR_IPC2581
7844 ODBPP = _pcbnew.PCB_IO_MGR_ODBPP
7846 FILE_TYPE_NONE = _pcbnew.PCB_IO_MGR_FILE_TYPE_NONE
7851 r"""PluginFind(PCB_IO_MGR::PCB_FILE_T aFileType) -> PCB_IO"""
7852 return _pcbnew.PCB_IO_MGR_PluginFind(aFileType)
7856 r"""ShowType(PCB_IO_MGR::PCB_FILE_T aFileType) -> wxString"""
7857 return _pcbnew.PCB_IO_MGR_ShowType(aFileType)
7861 r"""EnumFromStr(wxString aFileType) -> PCB_IO_MGR::PCB_FILE_T"""
7862 return _pcbnew.PCB_IO_MGR_EnumFromStr(aFileType)
7866 r"""FindPluginTypeFromBoardPath(wxString aFileName, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
7867 return _pcbnew.PCB_IO_MGR_FindPluginTypeFromBoardPath(aFileName, aCtl)
7871 r"""GuessPluginTypeFromLibPath(wxString aLibPath, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
7872 return _pcbnew.PCB_IO_MGR_GuessPluginTypeFromLibPath(aLibPath, aCtl)
7875 def Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None):
7876 r"""Load(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aAppendToMe=None, str_utf8_Map aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
7877 return _pcbnew.PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
7880 def Save(aFileType, aFileName, aBoard, aProperties=None):
7881 r"""Save(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, str_utf8_Map aProperties=None)"""
7882 return _pcbnew.PCB_IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
7886 r"""ConvertLibrary(str_utf8_Map aOldFileProps, wxString aOldFilePath, wxString aNewFilePath, REPORTER * aReporter) -> bool"""
7887 return _pcbnew.PCB_IO_MGR_ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath, aReporter)
7890 r"""__init__(PCB_IO_MGR self) -> PCB_IO_MGR"""
7891 _pcbnew.PCB_IO_MGR_swiginit(self, _pcbnew.new_PCB_IO_MGR())
7892 __swig_destroy__ = _pcbnew.delete_PCB_IO_MGR
7895_pcbnew.PCB_IO_MGR_swigregister(PCB_IO_MGR)
7897 r"""Proxy of C++ PCB_IO class."""
7899 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7902 raise AttributeError(
"No constructor defined - class is abstract")
7903 __repr__ = _swig_repr
7906 r"""GetBoardFileDesc(PCB_IO self) -> IO_BASE::IO_FILE_DESC const"""
7907 return _pcbnew.PCB_IO_GetBoardFileDesc(self)
7910 r"""CanReadBoard(PCB_IO self, wxString aFileName) -> bool"""
7911 return _pcbnew.PCB_IO_CanReadBoard(self, aFileName)
7914 r"""CanReadFootprint(PCB_IO self, wxString aFileName) -> bool"""
7915 return _pcbnew.PCB_IO_CanReadFootprint(self, aFileName)
7918 r"""SetQueryUserCallback(PCB_IO self, std::function< bool (wxString,int,wxString,wxString) > aCallback)"""
7919 return _pcbnew.PCB_IO_SetQueryUserCallback(self, aCallback)
7921 def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None):
7922 r"""LoadBoard(PCB_IO self, wxString aFileName, BOARD aAppendToMe, str_utf8_Map aProperties=None, PROJECT * aProject=None) -> BOARD"""
7923 return _pcbnew.PCB_IO_LoadBoard(self, aFileName, aAppendToMe, aProperties, aProject)
7926 r"""GetImportedCachedLibraryFootprints(PCB_IO self) -> std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >"""
7927 return _pcbnew.PCB_IO_GetImportedCachedLibraryFootprints(self)
7930 r"""SaveBoard(PCB_IO self, wxString aFileName, BOARD aBoard, str_utf8_Map aProperties=None)"""
7931 return _pcbnew.PCB_IO_SaveBoard(self, aFileName, aBoard, aProperties)
7934 r"""FootprintEnumerate(PCB_IO self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, str_utf8_Map aProperties=None)"""
7935 return _pcbnew.PCB_IO_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
7938 r"""GetLibraryTimestamp(PCB_IO self, wxString aLibraryPath) -> long long"""
7939 return _pcbnew.PCB_IO_GetLibraryTimestamp(self, aLibraryPath)
7942 r"""ImportFootprint(PCB_IO self, wxString aFootprintPath, wxString aFootprintNameOut, str_utf8_Map aProperties=None) -> FOOTPRINT"""
7943 return _pcbnew.PCB_IO_ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties)
7945 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
7946 r"""FootprintLoad(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, str_utf8_Map aProperties=None) -> FOOTPRINT"""
7947 return _pcbnew.PCB_IO_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
7950 r"""GetEnumeratedFootprint(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> FOOTPRINT"""
7951 return _pcbnew.PCB_IO_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
7954 r"""FootprintExists(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> bool"""
7955 return _pcbnew.PCB_IO_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
7958 r"""FootprintSave(PCB_IO self, wxString aLibraryPath, FOOTPRINT aFootprint, str_utf8_Map aProperties=None)"""
7959 return _pcbnew.PCB_IO_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
7962 r"""FootprintDelete(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None)"""
7963 return _pcbnew.PCB_IO_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
7966 r"""GetLibraryOptions(PCB_IO self, str_utf8_Map aListToAppendTo)"""
7967 return _pcbnew.PCB_IO_GetLibraryOptions(self, aListToAppendTo)
7968 __swig_destroy__ = _pcbnew.delete_PCB_IO
7971 r"""footprintPyEnumerate(PCB_IO self, wxString aLibraryPath, bool aExitOnError) -> wxArrayString"""
7972 return _pcbnew.PCB_IO_footprintPyEnumerate(self, aLibraryPath, aExitOnError)
7979 self.CreateLibrary(aLibraryPath, aProperties)
7983 return self.DeleteLibrary(aLibraryPath, aProperties)
7987 return self.IsLibraryWritable(aLibraryPath)
7991_pcbnew.PCB_IO_swigregister(PCB_IO)
7992SEXPR_BOARD_FILE_VERSION = _pcbnew.SEXPR_BOARD_FILE_VERSION
7994BOARD_FILE_HOST_VERSION = _pcbnew.BOARD_FILE_HOST_VERSION
7996LEGACY_ARC_FORMATTING = _pcbnew.LEGACY_ARC_FORMATTING
7998LEGACY_NET_TIES = _pcbnew.LEGACY_NET_TIES
8000FIRST_NORMALIZED_VERISON = _pcbnew.FIRST_NORMALIZED_VERISON
8003 r"""Proxy of C++ FP_CACHE_ENTRY class."""
8005 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8006 __repr__ = _swig_repr
8009 r"""__init__(FP_CACHE_ENTRY self, FOOTPRINT aFootprint, WX_FILENAME const & aFileName) -> FP_CACHE_ENTRY"""
8010 _pcbnew.FP_CACHE_ENTRY_swiginit(self, _pcbnew.new_FP_CACHE_ENTRY(aFootprint, aFileName))
8013 r"""GetFileName(FP_CACHE_ENTRY self) -> WX_FILENAME const &"""
8014 return _pcbnew.FP_CACHE_ENTRY_GetFileName(self)
8017 r"""SetFilePath(FP_CACHE_ENTRY self, wxString aFilePath)"""
8018 return _pcbnew.FP_CACHE_ENTRY_SetFilePath(self, aFilePath)
8021 r"""GetFootprint(FP_CACHE_ENTRY self) -> std::unique_ptr< FOOTPRINT > &"""
8022 return _pcbnew.FP_CACHE_ENTRY_GetFootprint(self)
8023 __swig_destroy__ = _pcbnew.delete_FP_CACHE_ENTRY
8026_pcbnew.FP_CACHE_ENTRY_swigregister(FP_CACHE_ENTRY)
8028 r"""Proxy of C++ FP_CACHE class."""
8030 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8031 __repr__ = _swig_repr
8034 r"""__init__(FP_CACHE self, PCB_IO_KICAD_SEXPR aOwner, wxString aLibraryPath) -> FP_CACHE"""
8035 _pcbnew.FP_CACHE_swiginit(self, _pcbnew.new_FP_CACHE(aOwner, aLibraryPath))
8038 r"""GetPath(FP_CACHE self) -> wxString"""
8039 return _pcbnew.FP_CACHE_GetPath(self)
8042 r"""IsWritable(FP_CACHE self) -> bool"""
8043 return _pcbnew.FP_CACHE_IsWritable(self)
8046 r"""Exists(FP_CACHE self) -> bool"""
8047 return _pcbnew.FP_CACHE_Exists(self)
8050 r"""GetFootprints(FP_CACHE self) -> boost::ptr_map< wxString,FP_CACHE_ENTRY > &"""
8051 return _pcbnew.FP_CACHE_GetFootprints(self)
8053 def Save(self, aFootprintFilter=None):
8054 r"""Save(FP_CACHE self, FOOTPRINT aFootprintFilter=None)"""
8055 return _pcbnew.FP_CACHE_Save(self, aFootprintFilter)
8058 r"""Load(FP_CACHE self)"""
8059 return _pcbnew.FP_CACHE_Load(self)
8062 r"""Remove(FP_CACHE self, wxString aFootprintName)"""
8063 return _pcbnew.FP_CACHE_Remove(self, aFootprintName)
8067 r"""GetTimestamp(wxString aLibPath) -> long long"""
8068 return _pcbnew.FP_CACHE_GetTimestamp(aLibPath)
8071 r"""IsModified(FP_CACHE self) -> bool"""
8072 return _pcbnew.FP_CACHE_IsModified(self)
8075 r"""IsPath(FP_CACHE self, wxString aPath) -> bool"""
8076 return _pcbnew.FP_CACHE_IsPath(self, aPath)
8079 r"""SetPath(FP_CACHE self, wxString aPath)"""
8080 return _pcbnew.FP_CACHE_SetPath(self, aPath)
8081 __swig_destroy__ = _pcbnew.delete_FP_CACHE
8084_pcbnew.FP_CACHE_swigregister(FP_CACHE)
8086 r"""Proxy of C++ PCB_IO_KICAD_SEXPR class."""
8088 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8089 __repr__ = _swig_repr
8092 r"""GetLibraryFileDesc(PCB_IO_KICAD_SEXPR self) -> IO_BASE::IO_FILE_DESC const"""
8093 return _pcbnew.PCB_IO_KICAD_SEXPR_GetLibraryFileDesc(self)
8096 r"""GetLibraryDesc(PCB_IO_KICAD_SEXPR self) -> IO_BASE::IO_FILE_DESC const"""
8097 return _pcbnew.PCB_IO_KICAD_SEXPR_GetLibraryDesc(self)
8100 r"""SaveBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aBoard, str_utf8_Map aProperties=None)"""
8101 return _pcbnew.PCB_IO_KICAD_SEXPR_SaveBoard(self, aFileName, aBoard, aProperties)
8103 def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None):
8104 r"""LoadBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aAppendToMe, str_utf8_Map aProperties=None, PROJECT * aProject=None) -> BOARD"""
8105 return _pcbnew.PCB_IO_KICAD_SEXPR_LoadBoard(self, aFileName, aAppendToMe, aProperties, aProject)
8107 def DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount):
8108 r"""DoLoad(PCB_IO_KICAD_SEXPR self, LINE_READER aReader, BOARD aAppendToMe, str_utf8_Map aProperties, PROGRESS_REPORTER * aProgressReporter, unsigned int aLineCount) -> BOARD"""
8109 return _pcbnew.PCB_IO_KICAD_SEXPR_DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount)
8112 r"""FootprintEnumerate(PCB_IO_KICAD_SEXPR self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, str_utf8_Map aProperties=None)"""
8113 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
8116 r"""GetEnumeratedFootprint(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> FOOTPRINT"""
8117 return _pcbnew.PCB_IO_KICAD_SEXPR_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
8120 r"""FootprintExists(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> bool"""
8121 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
8124 r"""ImportFootprint(PCB_IO_KICAD_SEXPR self, wxString aFootprintPath, wxString aFootprintNameOut, str_utf8_Map aProperties=None) -> FOOTPRINT"""
8125 return _pcbnew.PCB_IO_KICAD_SEXPR_ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties)
8127 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
8128 r"""FootprintLoad(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, str_utf8_Map aProperties=None) -> FOOTPRINT"""
8129 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
8132 r"""FootprintSave(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, FOOTPRINT aFootprint, str_utf8_Map aProperties=None)"""
8133 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
8136 r"""FootprintDelete(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None)"""
8137 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
8140 r"""CreateLibrary(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, str_utf8_Map aProperties=None)"""
8141 return _pcbnew.PCB_IO_KICAD_SEXPR_CreateLibrary(self, aLibraryPath, aProperties)
8144 r"""DeleteLibrary(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, str_utf8_Map aProperties=None) -> bool"""
8145 return _pcbnew.PCB_IO_KICAD_SEXPR_DeleteLibrary(self, aLibraryPath, aProperties)
8148 r"""IsLibraryWritable(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath) -> bool"""
8149 return _pcbnew.PCB_IO_KICAD_SEXPR_IsLibraryWritable(self, aLibraryPath)
8152 r"""__init__(PCB_IO_KICAD_SEXPR self, int aControlFlags=(CTL_OMIT_INITIAL_COMMENTS|CTL_OMIT_FOOTPRINT_VERSION)) -> PCB_IO_KICAD_SEXPR"""
8153 _pcbnew.PCB_IO_KICAD_SEXPR_swiginit(self, _pcbnew.new_PCB_IO_KICAD_SEXPR(*args))
8154 __swig_destroy__ = _pcbnew.delete_PCB_IO_KICAD_SEXPR
8157 r"""Format(PCB_IO_KICAD_SEXPR self, BOARD_ITEM aItem)"""
8158 return _pcbnew.PCB_IO_KICAD_SEXPR_Format(self, aItem)
8161 r"""GetStringOutput(PCB_IO_KICAD_SEXPR self, bool doClear) -> string"""
8162 return _pcbnew.PCB_IO_KICAD_SEXPR_GetStringOutput(self, doClear)
8165 r"""SetOutputFormatter(PCB_IO_KICAD_SEXPR self, OUTPUTFORMATTER aFormatter)"""
8166 return _pcbnew.PCB_IO_KICAD_SEXPR_SetOutputFormatter(self, aFormatter)
8169 r"""Parse(PCB_IO_KICAD_SEXPR self, wxString aClipboardSourceInput) -> BOARD_ITEM"""
8170 return _pcbnew.PCB_IO_KICAD_SEXPR_Parse(self, aClipboardSourceInput)
8173_pcbnew.PCB_IO_KICAD_SEXPR_swigregister(PCB_IO_KICAD_SEXPR)
8175 r"""Proxy of C++ PLOT_CONTROLLER class."""
8177 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8178 __repr__ = _swig_repr
8181 r"""__init__(PLOT_CONTROLLER self, BOARD aBoard) -> PLOT_CONTROLLER"""
8182 _pcbnew.PLOT_CONTROLLER_swiginit(self, _pcbnew.new_PLOT_CONTROLLER(aBoard))
8183 __swig_destroy__ = _pcbnew.delete_PLOT_CONTROLLER
8186 r"""GetPlotOptions(PLOT_CONTROLLER self) -> PCB_PLOT_PARAMS"""
8187 return _pcbnew.PLOT_CONTROLLER_GetPlotOptions(self)
8190 r"""SetLayer(PLOT_CONTROLLER self, int aLayer)"""
8191 return _pcbnew.PLOT_CONTROLLER_SetLayer(self, aLayer)
8194 r"""GetLayer(PLOT_CONTROLLER self) -> int"""
8195 return _pcbnew.PLOT_CONTROLLER_GetLayer(self)
8198 r"""IsPlotOpen(PLOT_CONTROLLER self) -> bool"""
8199 return _pcbnew.PLOT_CONTROLLER_IsPlotOpen(self)
8202 r"""ClosePlot(PLOT_CONTROLLER self)"""
8203 return _pcbnew.PLOT_CONTROLLER_ClosePlot(self)
8206 r"""OpenPlotfile(PLOT_CONTROLLER self, wxString aSuffix, PLOT_FORMAT aFormat, wxString aSheetName=wxEmptyString, wxString aSheetPath=wxEmptyString) -> bool"""
8207 return _pcbnew.PLOT_CONTROLLER_OpenPlotfile(self, *args)
8210 r"""PlotLayer(PLOT_CONTROLLER self) -> bool"""
8211 return _pcbnew.PLOT_CONTROLLER_PlotLayer(self)
8214 r"""PlotLayers(PLOT_CONTROLLER self, LSEQ aLayerSequence) -> bool"""
8215 return _pcbnew.PLOT_CONTROLLER_PlotLayers(self, aLayerSequence)
8218 r"""GetPlotFileName(PLOT_CONTROLLER self) -> wxString"""
8219 return _pcbnew.PLOT_CONTROLLER_GetPlotFileName(self)
8222 r"""GetPlotDirName(PLOT_CONTROLLER self) -> wxString"""
8223 return _pcbnew.PLOT_CONTROLLER_GetPlotDirName(self)
8226 r"""SetColorMode(PLOT_CONTROLLER self, bool aColorMode)"""
8227 return _pcbnew.PLOT_CONTROLLER_SetColorMode(self, aColorMode)
8230 r"""GetColorMode(PLOT_CONTROLLER self) -> bool"""
8231 return _pcbnew.PLOT_CONTROLLER_GetColorMode(self)
8234 r"""GetPlotter(PLOT_CONTROLLER self) -> PLOTTER"""
8235 return _pcbnew.PLOT_CONTROLLER_GetPlotter(self)
8238_pcbnew.PLOT_CONTROLLER_swigregister(PLOT_CONTROLLER)
8239DRILL_MARKS_NO_DRILL_SHAPE = _pcbnew.DRILL_MARKS_NO_DRILL_SHAPE
8241DRILL_MARKS_SMALL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_SMALL_DRILL_SHAPE
8243DRILL_MARKS_FULL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_FULL_DRILL_SHAPE
8246 r"""Proxy of C++ PCB_PLOT_PARAMS class."""
8248 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8249 __repr__ = _swig_repr
8252 r"""__init__(PCB_PLOT_PARAMS self) -> PCB_PLOT_PARAMS"""
8253 _pcbnew.PCB_PLOT_PARAMS_swiginit(self, _pcbnew.new_PCB_PLOT_PARAMS())
8256 r"""SetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self, bool aSkip)"""
8257 return _pcbnew.PCB_PLOT_PARAMS_SetSkipPlotNPTH_Pads(self, aSkip)
8260 r"""GetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self) -> bool"""
8261 return _pcbnew.PCB_PLOT_PARAMS_GetSkipPlotNPTH_Pads(self)
8264 r"""Format(PCB_PLOT_PARAMS self, OUTPUTFORMATTER aFormatter)"""
8265 return _pcbnew.PCB_PLOT_PARAMS_Format(self, aFormatter)
8268 r"""Parse(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS_PARSER * aParser)"""
8269 return _pcbnew.PCB_PLOT_PARAMS_Parse(self, aParser)
8272 r"""IsSameAs(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS aPcbPlotParams) -> bool"""
8273 return _pcbnew.PCB_PLOT_PARAMS_IsSameAs(self, aPcbPlotParams)
8276 r"""SetColorSettings(PCB_PLOT_PARAMS self, COLOR_SETTINGS * aSettings)"""
8277 return _pcbnew.PCB_PLOT_PARAMS_SetColorSettings(self, aSettings)
8280 r"""ColorSettings(PCB_PLOT_PARAMS self) -> COLOR_SETTINGS *"""
8281 return _pcbnew.PCB_PLOT_PARAMS_ColorSettings(self)
8284 r"""SetTextMode(PCB_PLOT_PARAMS self, PLOT_TEXT_MODE aVal)"""
8285 return _pcbnew.PCB_PLOT_PARAMS_SetTextMode(self, aVal)
8288 r"""GetTextMode(PCB_PLOT_PARAMS self) -> PLOT_TEXT_MODE"""
8289 return _pcbnew.PCB_PLOT_PARAMS_GetTextMode(self)
8292 r"""SetPlotMode(PCB_PLOT_PARAMS self, OUTLINE_MODE aPlotMode)"""
8293 return _pcbnew.PCB_PLOT_PARAMS_SetPlotMode(self, aPlotMode)
8296 r"""GetPlotMode(PCB_PLOT_PARAMS self) -> OUTLINE_MODE"""
8297 return _pcbnew.PCB_PLOT_PARAMS_GetPlotMode(self)
8300 r"""SetPlotPadNumbers(PCB_PLOT_PARAMS self, bool aFlag)"""
8301 return _pcbnew.PCB_PLOT_PARAMS_SetPlotPadNumbers(self, aFlag)
8304 r"""GetPlotPadNumbers(PCB_PLOT_PARAMS self) -> bool"""
8305 return _pcbnew.PCB_PLOT_PARAMS_GetPlotPadNumbers(self)
8308 r"""SetDXFPlotPolygonMode(PCB_PLOT_PARAMS self, bool aFlag)"""
8309 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotPolygonMode(self, aFlag)
8312 r"""GetDXFPlotPolygonMode(PCB_PLOT_PARAMS self) -> bool"""
8313 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotPolygonMode(self)
8316 r"""SetDXFPlotUnits(PCB_PLOT_PARAMS self, DXF_UNITS aUnit)"""
8317 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotUnits(self, aUnit)
8320 r"""GetDXFPlotUnits(PCB_PLOT_PARAMS self) -> DXF_UNITS"""
8321 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotUnits(self)
8324 r"""SetDrillMarksType(PCB_PLOT_PARAMS self, DRILL_MARKS aVal)"""
8325 return _pcbnew.PCB_PLOT_PARAMS_SetDrillMarksType(self, aVal)
8328 r"""GetDrillMarksType(PCB_PLOT_PARAMS self) -> DRILL_MARKS"""
8329 return _pcbnew.PCB_PLOT_PARAMS_GetDrillMarksType(self)
8332 r"""SetScale(PCB_PLOT_PARAMS self, double aVal)"""
8333 return _pcbnew.PCB_PLOT_PARAMS_SetScale(self, aVal)
8336 r"""GetScale(PCB_PLOT_PARAMS self) -> double"""
8337 return _pcbnew.PCB_PLOT_PARAMS_GetScale(self)
8340 r"""SetFineScaleAdjustX(PCB_PLOT_PARAMS self, double aVal)"""
8341 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustX(self, aVal)
8344 r"""GetFineScaleAdjustX(PCB_PLOT_PARAMS self) -> double"""
8345 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustX(self)
8348 r"""SetFineScaleAdjustY(PCB_PLOT_PARAMS self, double aVal)"""
8349 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustY(self, aVal)
8352 r"""GetFineScaleAdjustY(PCB_PLOT_PARAMS self) -> double"""
8353 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustY(self)
8356 r"""SetWidthAdjust(PCB_PLOT_PARAMS self, int aVal)"""
8357 return _pcbnew.PCB_PLOT_PARAMS_SetWidthAdjust(self, aVal)
8360 r"""GetWidthAdjust(PCB_PLOT_PARAMS self) -> int"""
8361 return _pcbnew.PCB_PLOT_PARAMS_GetWidthAdjust(self)
8364 r"""SetAutoScale(PCB_PLOT_PARAMS self, bool aFlag)"""
8365 return _pcbnew.PCB_PLOT_PARAMS_SetAutoScale(self, aFlag)
8368 r"""GetAutoScale(PCB_PLOT_PARAMS self) -> bool"""
8369 return _pcbnew.PCB_PLOT_PARAMS_GetAutoScale(self)
8372 r"""SetMirror(PCB_PLOT_PARAMS self, bool aFlag)"""
8373 return _pcbnew.PCB_PLOT_PARAMS_SetMirror(self, aFlag)
8376 r"""GetMirror(PCB_PLOT_PARAMS self) -> bool"""
8377 return _pcbnew.PCB_PLOT_PARAMS_GetMirror(self)
8380 r"""SetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8381 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadsOnFabLayers(self, aFlag)
8384 r"""GetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8385 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadsOnFabLayers(self)
8388 r"""SetSketchPadLineWidth(PCB_PLOT_PARAMS self, int aWidth)"""
8389 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadLineWidth(self, aWidth)
8392 r"""GetSketchPadLineWidth(PCB_PLOT_PARAMS self) -> int"""
8393 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadLineWidth(self)
8396 r"""SetHideDNPFPsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8397 return _pcbnew.PCB_PLOT_PARAMS_SetHideDNPFPsOnFabLayers(self, aFlag)
8400 r"""GetHideDNPFPsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8401 return _pcbnew.PCB_PLOT_PARAMS_GetHideDNPFPsOnFabLayers(self)
8404 r"""SetSketchDNPFPsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8405 return _pcbnew.PCB_PLOT_PARAMS_SetSketchDNPFPsOnFabLayers(self, aFlag)
8408 r"""GetSketchDNPFPsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8409 return _pcbnew.PCB_PLOT_PARAMS_GetSketchDNPFPsOnFabLayers(self)
8412 r"""SetCrossoutDNPFPsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8413 return _pcbnew.PCB_PLOT_PARAMS_SetCrossoutDNPFPsOnFabLayers(self, aFlag)
8416 r"""GetCrossoutDNPFPsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8417 return _pcbnew.PCB_PLOT_PARAMS_GetCrossoutDNPFPsOnFabLayers(self)
8420 r"""SetPlotValue(PCB_PLOT_PARAMS self, bool aFlag)"""
8421 return _pcbnew.PCB_PLOT_PARAMS_SetPlotValue(self, aFlag)
8424 r"""GetPlotValue(PCB_PLOT_PARAMS self) -> bool"""
8425 return _pcbnew.PCB_PLOT_PARAMS_GetPlotValue(self)
8428 r"""SetPlotReference(PCB_PLOT_PARAMS self, bool aFlag)"""
8429 return _pcbnew.PCB_PLOT_PARAMS_SetPlotReference(self, aFlag)
8432 r"""GetPlotReference(PCB_PLOT_PARAMS self) -> bool"""
8433 return _pcbnew.PCB_PLOT_PARAMS_GetPlotReference(self)
8436 r"""SetPlotFPText(PCB_PLOT_PARAMS self, bool aFlag)"""
8437 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFPText(self, aFlag)
8440 r"""GetPlotFPText(PCB_PLOT_PARAMS self) -> bool"""
8441 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFPText(self)
8444 r"""SetNegative(PCB_PLOT_PARAMS self, bool aFlag)"""
8445 return _pcbnew.PCB_PLOT_PARAMS_SetNegative(self, aFlag)
8448 r"""GetNegative(PCB_PLOT_PARAMS self) -> bool"""
8449 return _pcbnew.PCB_PLOT_PARAMS_GetNegative(self)
8452 r"""GetLegacyPlotViaOnMaskLayer(PCB_PLOT_PARAMS self) -> std::optional< bool >"""
8453 return _pcbnew.PCB_PLOT_PARAMS_GetLegacyPlotViaOnMaskLayer(self)
8456 r"""SetPlotFrameRef(PCB_PLOT_PARAMS self, bool aFlag)"""
8457 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFrameRef(self, aFlag)
8460 r"""GetPlotFrameRef(PCB_PLOT_PARAMS self) -> bool"""
8461 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFrameRef(self)
8464 r"""SetFormat(PCB_PLOT_PARAMS self, PLOT_FORMAT aFormat)"""
8465 return _pcbnew.PCB_PLOT_PARAMS_SetFormat(self, aFormat)
8468 r"""GetFormat(PCB_PLOT_PARAMS self) -> PLOT_FORMAT"""
8469 return _pcbnew.PCB_PLOT_PARAMS_GetFormat(self)
8472 r"""SetOutputDirectory(PCB_PLOT_PARAMS self, wxString aDir)"""
8473 return _pcbnew.PCB_PLOT_PARAMS_SetOutputDirectory(self, aDir)
8476 r"""GetOutputDirectory(PCB_PLOT_PARAMS self) -> wxString"""
8477 return _pcbnew.PCB_PLOT_PARAMS_GetOutputDirectory(self)
8480 r"""SetDisableGerberMacros(PCB_PLOT_PARAMS self, bool aDisable)"""
8481 return _pcbnew.PCB_PLOT_PARAMS_SetDisableGerberMacros(self, aDisable)
8484 r"""GetDisableGerberMacros(PCB_PLOT_PARAMS self) -> bool"""
8485 return _pcbnew.PCB_PLOT_PARAMS_GetDisableGerberMacros(self)
8488 r"""SetUseGerberX2format(PCB_PLOT_PARAMS self, bool aUse)"""
8489 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberX2format(self, aUse)
8492 r"""GetUseGerberX2format(PCB_PLOT_PARAMS self) -> bool"""
8493 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberX2format(self)
8496 r"""SetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self, bool aUse)"""
8497 return _pcbnew.PCB_PLOT_PARAMS_SetIncludeGerberNetlistInfo(self, aUse)
8500 r"""GetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self) -> bool"""
8501 return _pcbnew.PCB_PLOT_PARAMS_GetIncludeGerberNetlistInfo(self)
8504 r"""SetCreateGerberJobFile(PCB_PLOT_PARAMS self, bool aCreate)"""
8505 return _pcbnew.PCB_PLOT_PARAMS_SetCreateGerberJobFile(self, aCreate)
8508 r"""GetCreateGerberJobFile(PCB_PLOT_PARAMS self) -> bool"""
8509 return _pcbnew.PCB_PLOT_PARAMS_GetCreateGerberJobFile(self)
8512 r"""SetUseGerberProtelExtensions(PCB_PLOT_PARAMS self, bool aUse)"""
8513 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberProtelExtensions(self, aUse)
8516 r"""GetUseGerberProtelExtensions(PCB_PLOT_PARAMS self) -> bool"""
8517 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberProtelExtensions(self)
8520 r"""SetGerberPrecision(PCB_PLOT_PARAMS self, int aPrecision)"""
8521 return _pcbnew.PCB_PLOT_PARAMS_SetGerberPrecision(self, aPrecision)
8524 r"""GetGerberPrecision(PCB_PLOT_PARAMS self) -> int"""
8525 return _pcbnew.PCB_PLOT_PARAMS_GetGerberPrecision(self)
8528 r"""SetSvgPrecision(PCB_PLOT_PARAMS self, unsigned int aPrecision)"""
8529 return _pcbnew.PCB_PLOT_PARAMS_SetSvgPrecision(self, aPrecision)
8532 r"""GetSvgPrecision(PCB_PLOT_PARAMS self) -> unsigned int"""
8533 return _pcbnew.PCB_PLOT_PARAMS_GetSvgPrecision(self)
8536 r"""SetSvgFitPageToBoard(PCB_PLOT_PARAMS self, int aSvgFitPageToBoard)"""
8537 return _pcbnew.PCB_PLOT_PARAMS_SetSvgFitPageToBoard(self, aSvgFitPageToBoard)
8540 r"""GetSvgFitPagetoBoard(PCB_PLOT_PARAMS self) -> bool"""
8541 return _pcbnew.PCB_PLOT_PARAMS_GetSvgFitPagetoBoard(self)
8544 r"""SetBlackAndWhite(PCB_PLOT_PARAMS self, bool blackAndWhite)"""
8545 return _pcbnew.PCB_PLOT_PARAMS_SetBlackAndWhite(self, blackAndWhite)
8548 r"""GetBlackAndWhite(PCB_PLOT_PARAMS self) -> unsigned int"""
8549 return _pcbnew.PCB_PLOT_PARAMS_GetBlackAndWhite(self)
8552 r"""SetSubtractMaskFromSilk(PCB_PLOT_PARAMS self, bool aSubtract)"""
8553 return _pcbnew.PCB_PLOT_PARAMS_SetSubtractMaskFromSilk(self, aSubtract)
8556 r"""GetSubtractMaskFromSilk(PCB_PLOT_PARAMS self) -> bool"""
8557 return _pcbnew.PCB_PLOT_PARAMS_GetSubtractMaskFromSilk(self)
8560 r"""SetLayerSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
8561 return _pcbnew.PCB_PLOT_PARAMS_SetLayerSelection(self, aSelection)
8564 r"""GetLayerSelection(PCB_PLOT_PARAMS self) -> LSET"""
8565 return _pcbnew.PCB_PLOT_PARAMS_GetLayerSelection(self)
8568 r"""SetPlotOnAllLayersSequence(PCB_PLOT_PARAMS self, LSEQ aSeq)"""
8569 return _pcbnew.PCB_PLOT_PARAMS_SetPlotOnAllLayersSequence(self, aSeq)
8572 r"""GetPlotOnAllLayersSequence(PCB_PLOT_PARAMS self) -> LSEQ"""
8573 return _pcbnew.PCB_PLOT_PARAMS_GetPlotOnAllLayersSequence(self)
8576 r"""SetUseAuxOrigin(PCB_PLOT_PARAMS self, bool aAux)"""
8577 return _pcbnew.PCB_PLOT_PARAMS_SetUseAuxOrigin(self, aAux)
8580 r"""GetUseAuxOrigin(PCB_PLOT_PARAMS self) -> bool"""
8581 return _pcbnew.PCB_PLOT_PARAMS_GetUseAuxOrigin(self)
8584 r"""SetScaleSelection(PCB_PLOT_PARAMS self, int aSelection)"""
8585 return _pcbnew.PCB_PLOT_PARAMS_SetScaleSelection(self, aSelection)
8588 r"""GetScaleSelection(PCB_PLOT_PARAMS self) -> int"""
8589 return _pcbnew.PCB_PLOT_PARAMS_GetScaleSelection(self)
8592 r"""SetA4Output(PCB_PLOT_PARAMS self, int aForce)"""
8593 return _pcbnew.PCB_PLOT_PARAMS_SetA4Output(self, aForce)
8596 r"""GetA4Output(PCB_PLOT_PARAMS self) -> bool"""
8597 return _pcbnew.PCB_PLOT_PARAMS_GetA4Output(self)
8600 r"""GetHPGLPenDiameter(PCB_PLOT_PARAMS self) -> double"""
8601 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenDiameter(self)
8604 r"""SetHPGLPenDiameter(PCB_PLOT_PARAMS self, double aValue) -> bool"""
8605 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenDiameter(self, aValue)
8608 r"""GetHPGLPenSpeed(PCB_PLOT_PARAMS self) -> int"""
8609 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenSpeed(self)
8612 r"""SetHPGLPenSpeed(PCB_PLOT_PARAMS self, int aValue) -> bool"""
8613 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenSpeed(self, aValue)
8616 r"""SetHPGLPenNum(PCB_PLOT_PARAMS self, int aVal)"""
8617 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenNum(self, aVal)
8620 r"""GetHPGLPenNum(PCB_PLOT_PARAMS self) -> int"""
8621 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenNum(self)
8624 r"""SetDashedLineDashRatio(PCB_PLOT_PARAMS self, double aVal)"""
8625 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineDashRatio(self, aVal)
8628 r"""GetDashedLineDashRatio(PCB_PLOT_PARAMS self) -> double"""
8629 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineDashRatio(self)
8632 r"""SetDashedLineGapRatio(PCB_PLOT_PARAMS self, double aVal)"""
8633 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineGapRatio(self, aVal)
8636 r"""GetDashedLineGapRatio(PCB_PLOT_PARAMS self) -> double"""
8637 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineGapRatio(self)
8638 m_PDFFrontFPPropertyPopups = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFFrontFPPropertyPopups_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFFrontFPPropertyPopups_set, doc=
r"""m_PDFFrontFPPropertyPopups : bool""")
8639 m_PDFBackFPPropertyPopups = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFBackFPPropertyPopups_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFBackFPPropertyPopups_set, doc=
r"""m_PDFBackFPPropertyPopups : bool""")
8640 m_PDFMetadata = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFMetadata_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFMetadata_set, doc=
r"""m_PDFMetadata : bool""")
8641 m_PDFSingle = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFSingle_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFSingle_set, doc=
r"""m_PDFSingle : bool""")
8648 __swig_destroy__ = _pcbnew.delete_PCB_PLOT_PARAMS
8651_pcbnew.PCB_PLOT_PARAMS_swigregister(PCB_PLOT_PARAMS)
8652DXF_UNITS_INCH = _pcbnew.DXF_UNITS_INCH
8654DXF_UNITS_MM = _pcbnew.DXF_UNITS_MM
8656PLOT_FORMAT_UNDEFINED = _pcbnew.PLOT_FORMAT_UNDEFINED
8658PLOT_FORMAT_FIRST_FORMAT = _pcbnew.PLOT_FORMAT_FIRST_FORMAT
8660PLOT_FORMAT_HPGL = _pcbnew.PLOT_FORMAT_HPGL
8662PLOT_FORMAT_GERBER = _pcbnew.PLOT_FORMAT_GERBER
8664PLOT_FORMAT_POST = _pcbnew.PLOT_FORMAT_POST
8666PLOT_FORMAT_DXF = _pcbnew.PLOT_FORMAT_DXF
8668PLOT_FORMAT_PDF = _pcbnew.PLOT_FORMAT_PDF
8670PLOT_FORMAT_SVG = _pcbnew.PLOT_FORMAT_SVG
8672PLOT_FORMAT_LAST_FORMAT = _pcbnew.PLOT_FORMAT_LAST_FORMAT
8674PLOT_TEXT_MODE_STROKE = _pcbnew.PLOT_TEXT_MODE_STROKE
8676PLOT_TEXT_MODE_NATIVE = _pcbnew.PLOT_TEXT_MODE_NATIVE
8678PLOT_TEXT_MODE_PHANTOM = _pcbnew.PLOT_TEXT_MODE_PHANTOM
8680PLOT_TEXT_MODE_DEFAULT = _pcbnew.PLOT_TEXT_MODE_DEFAULT
8683 r"""Proxy of C++ PLOTTER class."""
8685 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8688 raise AttributeError(
"No constructor defined - class is abstract")
8689 __repr__ = _swig_repr
8690 DO_NOT_SET_LINE_WIDTH = _pcbnew.PLOTTER_DO_NOT_SET_LINE_WIDTH
8692 USE_DEFAULT_LINE_WIDTH = _pcbnew.PLOTTER_USE_DEFAULT_LINE_WIDTH
8694 __swig_destroy__ = _pcbnew.delete_PLOTTER
8697 r"""GetPlotterType(PLOTTER self) -> PLOT_FORMAT"""
8698 return _pcbnew.PLOTTER_GetPlotterType(self)
8701 r"""StartPlot(PLOTTER self, wxString aPageNumber) -> bool"""
8702 return _pcbnew.PLOTTER_StartPlot(self, aPageNumber)
8705 r"""EndPlot(PLOTTER self) -> bool"""
8706 return _pcbnew.PLOTTER_EndPlot(self)
8709 r"""SetNegative(PLOTTER self, bool aNegative)"""
8710 return _pcbnew.PLOTTER_SetNegative(self, aNegative)
8713 r"""SetColorMode(PLOTTER self, bool aColorMode)"""
8714 return _pcbnew.PLOTTER_SetColorMode(self, aColorMode)
8717 r"""GetColorMode(PLOTTER self) -> bool"""
8718 return _pcbnew.PLOTTER_GetColorMode(self)
8721 r"""SetRenderSettings(PLOTTER self, RENDER_SETTINGS * aSettings)"""
8722 return _pcbnew.PLOTTER_SetRenderSettings(self, aSettings)
8725 r"""RenderSettings(PLOTTER self) -> RENDER_SETTINGS *"""
8726 return _pcbnew.PLOTTER_RenderSettings(self)
8729 r"""SetPageSettings(PLOTTER self, PAGE_INFO const & aPageSettings)"""
8730 return _pcbnew.PLOTTER_SetPageSettings(self, aPageSettings)
8733 r"""PageSettings(PLOTTER self) -> PAGE_INFO &"""
8734 return _pcbnew.PLOTTER_PageSettings(self)
8737 r"""SetPlotMirrored(PLOTTER self, bool aMirror)"""
8738 return _pcbnew.PLOTTER_SetPlotMirrored(self, aMirror)
8741 r"""GetPlotMirrored(PLOTTER self) -> bool"""
8742 return _pcbnew.PLOTTER_GetPlotMirrored(self)
8745 r"""SetCurrentLineWidth(PLOTTER self, int width, void * aData=None)"""
8746 return _pcbnew.PLOTTER_SetCurrentLineWidth(self, width, aData)
8749 r"""GetCurrentLineWidth(PLOTTER self) -> int"""
8750 return _pcbnew.PLOTTER_GetCurrentLineWidth(self)
8753 r"""SetColor(PLOTTER self, COLOR4D color)"""
8754 return _pcbnew.PLOTTER_SetColor(self, color)
8757 r"""SetDash(PLOTTER self, int aLineWidth, LINE_STYLE aLineStyle)"""
8758 return _pcbnew.PLOTTER_SetDash(self, aLineWidth, aLineStyle)
8761 r"""SetCreator(PLOTTER self, wxString aCreator)"""
8762 return _pcbnew.PLOTTER_SetCreator(self, aCreator)
8765 r"""SetTitle(PLOTTER self, wxString aTitle)"""
8766 return _pcbnew.PLOTTER_SetTitle(self, aTitle)
8769 r"""SetAuthor(PLOTTER self, wxString aAuthor)"""
8770 return _pcbnew.PLOTTER_SetAuthor(self, aAuthor)
8773 r"""SetSubject(PLOTTER self, wxString aSubject)"""
8774 return _pcbnew.PLOTTER_SetSubject(self, aSubject)
8777 r"""AddLineToHeader(PLOTTER self, wxString aExtraString)"""
8778 return _pcbnew.PLOTTER_AddLineToHeader(self, aExtraString)
8781 r"""ClearHeaderLinesList(PLOTTER self)"""
8782 return _pcbnew.PLOTTER_ClearHeaderLinesList(self)
8785 r"""SetViewport(PLOTTER self, VECTOR2I aOffset, double aIusPerDecimil, double aScale, bool aMirror)"""
8786 return _pcbnew.PLOTTER_SetViewport(self, aOffset, aIusPerDecimil, aScale, aMirror)
8789 r"""OpenFile(PLOTTER self, wxString aFullFilename) -> bool"""
8790 return _pcbnew.PLOTTER_OpenFile(self, aFullFilename)
8793 r"""GetIUsPerDecimil(PLOTTER self) -> double"""
8794 return _pcbnew.PLOTTER_GetIUsPerDecimil(self)
8797 r"""GetPlotterArcLowDef(PLOTTER self) -> int"""
8798 return _pcbnew.PLOTTER_GetPlotterArcLowDef(self)
8801 r"""GetPlotterArcHighDef(PLOTTER self) -> int"""
8802 return _pcbnew.PLOTTER_GetPlotterArcHighDef(self)
8805 r"""Rect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8806 return _pcbnew.PLOTTER_Rect(self, *args)
8809 r"""Circle(PLOTTER self, VECTOR2I pos, int diametre, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8810 return _pcbnew.PLOTTER_Circle(self, *args)
8814 Arc(PLOTTER self, VECTOR2D const & aStart, VECTOR2D const & aMid, VECTOR2D const & aEnd, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH)
8815 Arc(PLOTTER self, VECTOR2D const & aCenter, EDA_ANGLE aStartAngle, EDA_ANGLE aAngle, double aRadius, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH)
8817 return _pcbnew.PLOTTER_Arc(self, *args)
8820 r"""BezierCurve(PLOTTER self, VECTOR2I aStart, VECTOR2I aControl1, VECTOR2I aControl2, VECTOR2I aEnd, int aTolerance, int aLineThickness=USE_DEFAULT_LINE_WIDTH)"""
8821 return _pcbnew.PLOTTER_BezierCurve(self, *args)
8824 r"""PenTo(PLOTTER self, VECTOR2I pos, char plume)"""
8825 return _pcbnew.PLOTTER_PenTo(self, pos, plume)
8828 r"""MoveTo(PLOTTER self, VECTOR2I pos)"""
8829 return _pcbnew.PLOTTER_MoveTo(self, pos)
8832 r"""LineTo(PLOTTER self, VECTOR2I pos)"""
8833 return _pcbnew.PLOTTER_LineTo(self, pos)
8836 r"""FinishTo(PLOTTER self, VECTOR2I pos)"""
8837 return _pcbnew.PLOTTER_FinishTo(self, pos)
8840 r"""PenFinish(PLOTTER self)"""
8841 return _pcbnew.PLOTTER_PenFinish(self)
8845 PlotPoly(PLOTTER self, VECTOR_VECTOR2I aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=None)
8846 PlotPoly(PLOTTER self, SHAPE_LINE_CHAIN aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=
None)
8848 return _pcbnew.PLOTTER_PlotPoly(self, *args)
8851 r"""PlotImage(PLOTTER self, wxImage const & aImage, VECTOR2I aPos, double aScaleFactor)"""
8852 return _pcbnew.PLOTTER_PlotImage(self, aImage, aPos, aScaleFactor)
8855 r"""ThickSegment(PLOTTER self, VECTOR2I start, VECTOR2I end, int width, OUTLINE_MODE tracemode, void * aData)"""
8856 return _pcbnew.PLOTTER_ThickSegment(self, start, end, width, tracemode, aData)
8860 ThickArc(PLOTTER self, EDA_SHAPE aArcShape, OUTLINE_MODE aTraceMode, void * aData, int aWidth)
8861 ThickArc(PLOTTER self, VECTOR2D const & aCentre, EDA_ANGLE aStAngle, EDA_ANGLE aAngle, double aRadius, int aWidth, OUTLINE_MODE aTraceMode, void * aData)
8863 return _pcbnew.PLOTTER_ThickArc(self, *args)
8866 r"""ThickRect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, int width, OUTLINE_MODE tracemode, void * aData)"""
8867 return _pcbnew.PLOTTER_ThickRect(self, p1, p2, width, tracemode, aData)
8870 r"""ThickCircle(PLOTTER self, VECTOR2I pos, int diametre, int width, OUTLINE_MODE tracemode, void * aData)"""
8871 return _pcbnew.PLOTTER_ThickCircle(self, pos, diametre, width, tracemode, aData)
8874 r"""FilledCircle(PLOTTER self, VECTOR2I pos, int diametre, OUTLINE_MODE tracemode, void * aData)"""
8875 return _pcbnew.PLOTTER_FilledCircle(self, pos, diametre, tracemode, aData)
8878 r"""FlashPadCircle(PLOTTER self, VECTOR2I aPadPos, int aDiameter, OUTLINE_MODE aTraceMode, void * aData)"""
8879 return _pcbnew.PLOTTER_FlashPadCircle(self, aPadPos, aDiameter, aTraceMode, aData)
8882 r"""FlashPadOval(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8883 return _pcbnew.PLOTTER_FlashPadOval(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
8886 r"""FlashPadRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8887 return _pcbnew.PLOTTER_FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
8890 r"""FlashPadRoundRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, int aCornerRadius, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8891 return _pcbnew.PLOTTER_FlashPadRoundRect(self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
8894 r"""FlashPadCustom(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, SHAPE_POLY_SET aPolygons, OUTLINE_MODE aTraceMode, void * aData)"""
8895 return _pcbnew.PLOTTER_FlashPadCustom(self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData)
8898 r"""FlashPadTrapez(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aCorners, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8899 return _pcbnew.PLOTTER_FlashPadTrapez(self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
8902 r"""FlashRegularPolygon(PLOTTER self, VECTOR2I aShapePos, int aDiameter, int aCornerCount, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8903 return _pcbnew.PLOTTER_FlashRegularPolygon(self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData)
8905 def Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData=None):
8906 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)"""
8907 return _pcbnew.PLOTTER_Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData)
8910 r"""PlotText(PLOTTER self, VECTOR2I aPos, COLOR4D aColor, wxString aText, TEXT_ATTRIBUTES aAttributes, KIFONT::FONT * aFont=None, KIFONT::METRICS const & aFontMetrics=KIFONT::METRICS::Default(), void * aData=None)"""
8911 return _pcbnew.PLOTTER_PlotText(self, *args)
8914 r"""HyperlinkBox(PLOTTER self, BOX2I aBox, wxString aDestinationURL)"""
8915 return _pcbnew.PLOTTER_HyperlinkBox(self, aBox, aDestinationURL)
8918 r"""HyperlinkMenu(PLOTTER self, BOX2I aBox, std::vector< wxString,std::allocator< wxString > > const & aDestURLs)"""
8919 return _pcbnew.PLOTTER_HyperlinkMenu(self, aBox, aDestURLs)
8922 r"""Bookmark(PLOTTER self, BOX2I aBox, wxString aName, wxString aGroupName=wxEmptyString)"""
8923 return _pcbnew.PLOTTER_Bookmark(self, *args)
8924 MARKER_COUNT = _pcbnew.PLOTTER_MARKER_COUNT
8927 def Marker(self, position, diametre, aShapeId):
8928 r"""Marker(PLOTTER self, VECTOR2I position, int diametre, unsigned int aShapeId)"""
8929 return _pcbnew.PLOTTER_Marker(self, position, diametre, aShapeId)
8932 r"""SetLayerPolarity(PLOTTER self, bool aPositive)"""
8933 return _pcbnew.PLOTTER_SetLayerPolarity(self, aPositive)
8936 r"""SetTextMode(PLOTTER self, PLOT_TEXT_MODE mode)"""
8937 return _pcbnew.PLOTTER_SetTextMode(self, mode)
8940 r"""SetGerberCoordinatesFormat(PLOTTER self, int aResolution, bool aUseInches=False)"""
8941 return _pcbnew.PLOTTER_SetGerberCoordinatesFormat(self, aResolution, aUseInches)
8944 r"""SetSvgCoordinatesFormat(PLOTTER self, unsigned int aPrecision)"""
8945 return _pcbnew.PLOTTER_SetSvgCoordinatesFormat(self, aPrecision)
8948 r"""StartBlock(PLOTTER self, void * aData)"""
8949 return _pcbnew.PLOTTER_StartBlock(self, aData)
8952 r"""EndBlock(PLOTTER self, void * aData)"""
8953 return _pcbnew.PLOTTER_EndBlock(self, aData)
8956 r"""GetPlotOffsetUserUnits(PLOTTER self) -> VECTOR2I"""
8957 return _pcbnew.PLOTTER_GetPlotOffsetUserUnits(self)
8960_pcbnew.PLOTTER_swigregister(PLOTTER)
8963 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=UNSPECIFIED, bool aIsFirstPage=True)"""
8964 return _pcbnew.PlotDrawingSheet(*args)
8967 r"""GetDefaultPlotExtension(PLOT_FORMAT aFormat) -> wxString"""
8968 return _pcbnew.GetDefaultPlotExtension(aFormat)
8970 r"""Proxy of C++ D356_RECORD class."""
8972 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8973 __repr__ = _swig_repr
8974 smd = property(_pcbnew.D356_RECORD_smd_get, _pcbnew.D356_RECORD_smd_set, doc=
r"""smd : bool""")
8975 hole = property(_pcbnew.D356_RECORD_hole_get, _pcbnew.D356_RECORD_hole_set, doc=
r"""hole : bool""")
8976 netname = property(_pcbnew.D356_RECORD_netname_get, _pcbnew.D356_RECORD_netname_set, doc=
r"""netname : wxString""")
8977 refdes = property(_pcbnew.D356_RECORD_refdes_get, _pcbnew.D356_RECORD_refdes_set, doc=
r"""refdes : wxString""")
8978 pin = property(_pcbnew.D356_RECORD_pin_get, _pcbnew.D356_RECORD_pin_set, doc=
r"""pin : wxString""")
8979 midpoint = property(_pcbnew.D356_RECORD_midpoint_get, _pcbnew.D356_RECORD_midpoint_set, doc=
r"""midpoint : bool""")
8980 drill = property(_pcbnew.D356_RECORD_drill_get, _pcbnew.D356_RECORD_drill_set, doc=
r"""drill : int""")
8981 mechanical = property(_pcbnew.D356_RECORD_mechanical_get, _pcbnew.D356_RECORD_mechanical_set, doc=
r"""mechanical : bool""")
8982 access = property(_pcbnew.D356_RECORD_access_get, _pcbnew.D356_RECORD_access_set, doc=
r"""access : int""")
8983 soldermask = property(_pcbnew.D356_RECORD_soldermask_get, _pcbnew.D356_RECORD_soldermask_set, doc=
r"""soldermask : int""")
8984 x_location = property(_pcbnew.D356_RECORD_x_location_get, _pcbnew.D356_RECORD_x_location_set, doc=
r"""x_location : int""")
8985 y_location = property(_pcbnew.D356_RECORD_y_location_get, _pcbnew.D356_RECORD_y_location_set, doc=
r"""y_location : int""")
8986 x_size = property(_pcbnew.D356_RECORD_x_size_get, _pcbnew.D356_RECORD_x_size_set, doc=
r"""x_size : int""")
8987 y_size = property(_pcbnew.D356_RECORD_y_size_get, _pcbnew.D356_RECORD_y_size_set, doc=
r"""y_size : int""")
8988 rotation = property(_pcbnew.D356_RECORD_rotation_get, _pcbnew.D356_RECORD_rotation_set, doc=
r"""rotation : int""")
8991 r"""__init__(D356_RECORD self) -> D356_RECORD"""
8992 _pcbnew.D356_RECORD_swiginit(self, _pcbnew.new_D356_RECORD())
8993 __swig_destroy__ = _pcbnew.delete_D356_RECORD
8996_pcbnew.D356_RECORD_swigregister(D356_RECORD)
8998 r"""Proxy of C++ IPC356D_WRITER class."""
9000 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9001 __repr__ = _swig_repr
9004 r"""__init__(IPC356D_WRITER self, BOARD aPcb) -> IPC356D_WRITER"""
9005 _pcbnew.IPC356D_WRITER_swiginit(self, _pcbnew.new_IPC356D_WRITER(aPcb))
9006 __swig_destroy__ = _pcbnew.delete_IPC356D_WRITER
9009 r"""Write(IPC356D_WRITER self, wxString aFilename) -> bool"""
9010 return _pcbnew.IPC356D_WRITER_Write(self, aFilename)
9013_pcbnew.IPC356D_WRITER_swigregister(IPC356D_WRITER)
9015 r"""Proxy of C++ PLACE_FILE_EXPORTER class."""
9017 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9018 __repr__ = _swig_repr
9020 def __init__(self, aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX):
9021 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"""
9022 _pcbnew.PLACE_FILE_EXPORTER_swiginit(self, _pcbnew.new_PLACE_FILE_EXPORTER(aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX))
9025 r"""GenPositionData(PLACE_FILE_EXPORTER self) -> string"""
9026 return _pcbnew.PLACE_FILE_EXPORTER_GenPositionData(self)
9029 r"""GenReportData(PLACE_FILE_EXPORTER self) -> string"""
9030 return _pcbnew.PLACE_FILE_EXPORTER_GenReportData(self)
9033 r"""GetFootprintCount(PLACE_FILE_EXPORTER self) -> int"""
9034 return _pcbnew.PLACE_FILE_EXPORTER_GetFootprintCount(self)
9038 r"""GetFrontSideName() -> string"""
9039 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
9043 r"""GetBackSideName() -> string"""
9044 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
9048 r"""DecorateFilename(wxString aBaseName, bool aFront, bool aBack) -> wxString"""
9049 return _pcbnew.PLACE_FILE_EXPORTER_DecorateFilename(aBaseName, aFront, aBack)
9050 __swig_destroy__ = _pcbnew.delete_PLACE_FILE_EXPORTER
9053_pcbnew.PLACE_FILE_EXPORTER_swigregister(PLACE_FILE_EXPORTER)
9055 r"""Proxy of C++ EXPORTER_VRML class."""
9057 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9058 __repr__ = _swig_repr
9061 r"""__init__(EXPORTER_VRML self, BOARD aBoard) -> EXPORTER_VRML"""
9062 _pcbnew.EXPORTER_VRML_swiginit(self, _pcbnew.new_EXPORTER_VRML(aBoard))
9063 __swig_destroy__ = _pcbnew.delete_EXPORTER_VRML
9065 def ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
9066 r"""ExportVRML_File(EXPORTER_VRML self, PROJECT * aProject, wxString aMessages, wxString aFullFileName, double aMMtoWRMLunit, bool aIncludeUnspecified, bool aIncludeDNP, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
9067 return _pcbnew.EXPORTER_VRML_ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
9070_pcbnew.EXPORTER_VRML_swigregister(EXPORTER_VRML)
9071USE_ATTRIB_FOR_HOLES = _pcbnew.USE_ATTRIB_FOR_HOLES
9073HOLE_ATTRIBUTE_HOLE_UNKNOWN = _pcbnew.HOLE_ATTRIBUTE_HOLE_UNKNOWN
9075HOLE_ATTRIBUTE_HOLE_VIA_THROUGH = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_THROUGH
9077HOLE_ATTRIBUTE_HOLE_VIA_BURIED = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_BURIED
9079HOLE_ATTRIBUTE_HOLE_PAD = _pcbnew.HOLE_ATTRIBUTE_HOLE_PAD
9081HOLE_ATTRIBUTE_HOLE_MECHANICAL = _pcbnew.HOLE_ATTRIBUTE_HOLE_MECHANICAL
9084 r"""Proxy of C++ DRILL_TOOL class."""
9086 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9087 __repr__ = _swig_repr
9088 m_Diameter = property(_pcbnew.DRILL_TOOL_m_Diameter_get, _pcbnew.DRILL_TOOL_m_Diameter_set, doc=
r"""m_Diameter : int""")
9089 m_TotalCount = property(_pcbnew.DRILL_TOOL_m_TotalCount_get, _pcbnew.DRILL_TOOL_m_TotalCount_set, doc=
r"""m_TotalCount : int""")
9090 m_OvalCount = property(_pcbnew.DRILL_TOOL_m_OvalCount_get, _pcbnew.DRILL_TOOL_m_OvalCount_set, doc=
r"""m_OvalCount : int""")
9091 m_Hole_NotPlated = property(_pcbnew.DRILL_TOOL_m_Hole_NotPlated_get, _pcbnew.DRILL_TOOL_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
9092 m_HoleAttribute = property(_pcbnew.DRILL_TOOL_m_HoleAttribute_get, _pcbnew.DRILL_TOOL_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
9095 r"""__init__(DRILL_TOOL self, int aDiameter, bool a_NotPlated) -> DRILL_TOOL"""
9096 _pcbnew.DRILL_TOOL_swiginit(self, _pcbnew.new_DRILL_TOOL(aDiameter, a_NotPlated))
9097 __swig_destroy__ = _pcbnew.delete_DRILL_TOOL
9100_pcbnew.DRILL_TOOL_swigregister(DRILL_TOOL)
9102 r"""Proxy of C++ HOLE_INFO class."""
9104 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9105 __repr__ = _swig_repr
9108 r"""__init__(HOLE_INFO self) -> HOLE_INFO"""
9109 _pcbnew.HOLE_INFO_swiginit(self, _pcbnew.new_HOLE_INFO())
9110 m_ItemParent = property(_pcbnew.HOLE_INFO_m_ItemParent_get, _pcbnew.HOLE_INFO_m_ItemParent_set, doc=
r"""m_ItemParent : p.BOARD_ITEM""")
9111 m_Hole_Diameter = property(_pcbnew.HOLE_INFO_m_Hole_Diameter_get, _pcbnew.HOLE_INFO_m_Hole_Diameter_set, doc=
r"""m_Hole_Diameter : int""")
9112 m_Tool_Reference = property(_pcbnew.HOLE_INFO_m_Tool_Reference_get, _pcbnew.HOLE_INFO_m_Tool_Reference_set, doc=
r"""m_Tool_Reference : int""")
9113 m_Hole_Size = property(_pcbnew.HOLE_INFO_m_Hole_Size_get, _pcbnew.HOLE_INFO_m_Hole_Size_set, doc=
r"""m_Hole_Size : VECTOR2I""")
9114 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""")
9115 m_Hole_Shape = property(_pcbnew.HOLE_INFO_m_Hole_Shape_get, _pcbnew.HOLE_INFO_m_Hole_Shape_set, doc=
r"""m_Hole_Shape : int""")
9116 m_Hole_Pos = property(_pcbnew.HOLE_INFO_m_Hole_Pos_get, _pcbnew.HOLE_INFO_m_Hole_Pos_set, doc=
r"""m_Hole_Pos : VECTOR2I""")
9117 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""")
9118 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""")
9119 m_Hole_NotPlated = property(_pcbnew.HOLE_INFO_m_Hole_NotPlated_get, _pcbnew.HOLE_INFO_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
9120 m_HoleAttribute = property(_pcbnew.HOLE_INFO_m_HoleAttribute_get, _pcbnew.HOLE_INFO_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
9121 __swig_destroy__ = _pcbnew.delete_HOLE_INFO
9124_pcbnew.HOLE_INFO_swigregister(HOLE_INFO)
9126 r"""Proxy of C++ DRILL_PRECISION class."""
9128 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9129 __repr__ = _swig_repr
9132 r"""__init__(DRILL_PRECISION self, int l=2, int r=4) -> DRILL_PRECISION"""
9133 _pcbnew.DRILL_PRECISION_swiginit(self, _pcbnew.new_DRILL_PRECISION(l, r))
9136 r"""GetPrecisionString(DRILL_PRECISION self) -> wxString"""
9137 return _pcbnew.DRILL_PRECISION_GetPrecisionString(self)
9138 m_Lhs = property(_pcbnew.DRILL_PRECISION_m_Lhs_get, _pcbnew.DRILL_PRECISION_m_Lhs_set, doc=
r"""m_Lhs : int""")
9139 m_Rhs = property(_pcbnew.DRILL_PRECISION_m_Rhs_get, _pcbnew.DRILL_PRECISION_m_Rhs_set, doc=
r"""m_Rhs : int""")
9140 __swig_destroy__ = _pcbnew.delete_DRILL_PRECISION
9143_pcbnew.DRILL_PRECISION_swigregister(DRILL_PRECISION)
9145 r"""Proxy of C++ GENDRILL_WRITER_BASE class."""
9147 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9150 raise AttributeError(
"No constructor defined")
9151 __repr__ = _swig_repr
9152 DECIMAL_FORMAT = _pcbnew.GENDRILL_WRITER_BASE_DECIMAL_FORMAT
9154 SUPPRESS_LEADING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_LEADING
9156 SUPPRESS_TRAILING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_TRAILING
9158 KEEP_ZEROS = _pcbnew.GENDRILL_WRITER_BASE_KEEP_ZEROS
9160 PTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_PTH_FILE
9162 NPTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_NPTH_FILE
9164 MIXED_FILE = _pcbnew.GENDRILL_WRITER_BASE_MIXED_FILE
9166 __swig_destroy__ = _pcbnew.delete_GENDRILL_WRITER_BASE
9169 r"""SetMergeOption(GENDRILL_WRITER_BASE self, bool aMerge)"""
9170 return _pcbnew.GENDRILL_WRITER_BASE_SetMergeOption(self, aMerge)
9173 r"""GetOffset(GENDRILL_WRITER_BASE self) -> VECTOR2I"""
9174 return _pcbnew.GENDRILL_WRITER_BASE_GetOffset(self)
9177 r"""SetPageInfo(GENDRILL_WRITER_BASE self, PAGE_INFO const * aPageInfo)"""
9178 return _pcbnew.GENDRILL_WRITER_BASE_SetPageInfo(self, aPageInfo)
9181 r"""SetMapFileFormat(GENDRILL_WRITER_BASE self, PLOT_FORMAT aMapFmt)"""
9182 return _pcbnew.GENDRILL_WRITER_BASE_SetMapFileFormat(self, aMapFmt)
9185 r"""CreateMapFilesSet(GENDRILL_WRITER_BASE self, wxString aPlotDirectory, REPORTER * aReporter=None) -> bool"""
9186 return _pcbnew.GENDRILL_WRITER_BASE_CreateMapFilesSet(self, aPlotDirectory, aReporter)
9189 r"""GenDrillReportFile(GENDRILL_WRITER_BASE self, wxString aFullFileName) -> bool"""
9190 return _pcbnew.GENDRILL_WRITER_BASE_GenDrillReportFile(self, aFullFileName)
9193 r"""GetDrillFileExt(GENDRILL_WRITER_BASE self) -> wxString"""
9194 return _pcbnew.GENDRILL_WRITER_BASE_GetDrillFileExt(self)
9197_pcbnew.GENDRILL_WRITER_BASE_swigregister(GENDRILL_WRITER_BASE)
9199 r"""Proxy of C++ EXCELLON_WRITER class."""
9201 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9202 __repr__ = _swig_repr
9205 r"""__init__(EXCELLON_WRITER self, BOARD aPcb) -> EXCELLON_WRITER"""
9206 _pcbnew.EXCELLON_WRITER_swiginit(self, _pcbnew.new_EXCELLON_WRITER(aPcb))
9207 __swig_destroy__ = _pcbnew.delete_EXCELLON_WRITER
9210 r"""GetOffset(EXCELLON_WRITER self) -> VECTOR2I"""
9211 return _pcbnew.EXCELLON_WRITER_GetOffset(self)
9214 r"""SetRouteModeForOvalHoles(EXCELLON_WRITER self, bool aUseRouteModeForOvalHoles)"""
9215 return _pcbnew.EXCELLON_WRITER_SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles)
9218 r"""SetFormat(EXCELLON_WRITER self, bool aMetric, GENDRILL_WRITER_BASE::ZEROS_FMT aZerosFmt=DECIMAL_FORMAT, int aLeftDigits=0, int aRightDigits=0)"""
9219 return _pcbnew.EXCELLON_WRITER_SetFormat(self, *args)
9221 def SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH):
9222 r"""SetOptions(EXCELLON_WRITER self, bool aMirror, bool aMinimalHeader, VECTOR2I aOffset, bool aMerge_PTH_NPTH)"""
9223 return _pcbnew.EXCELLON_WRITER_SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH)
9226 r"""CreateDrillandMapFilesSet(EXCELLON_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
9227 return _pcbnew.EXCELLON_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
9230_pcbnew.EXCELLON_WRITER_swigregister(EXCELLON_WRITER)
9232 r"""Proxy of C++ GERBER_WRITER class."""
9234 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9235 __repr__ = _swig_repr
9238 r"""__init__(GERBER_WRITER self, BOARD aPcb) -> GERBER_WRITER"""
9239 _pcbnew.GERBER_WRITER_swiginit(self, _pcbnew.new_GERBER_WRITER(aPcb))
9240 __swig_destroy__ = _pcbnew.delete_GERBER_WRITER
9243 r"""SetFormat(GERBER_WRITER self, int aRightDigits=6)"""
9244 return _pcbnew.GERBER_WRITER_SetFormat(self, aRightDigits)
9247 r"""SetOptions(GERBER_WRITER self, VECTOR2I aOffset)"""
9248 return _pcbnew.GERBER_WRITER_SetOptions(self, aOffset)
9251 r"""CreateDrillandMapFilesSet(GERBER_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
9252 return _pcbnew.GERBER_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
9255_pcbnew.GERBER_WRITER_swigregister(GERBER_WRITER)
9256SIDE_NONE = _pcbnew.SIDE_NONE
9258SIDE_TOP = _pcbnew.SIDE_TOP
9260SIDE_BOTTOM = _pcbnew.SIDE_BOTTOM
9262SIDE_BOTH = _pcbnew.SIDE_BOTH
9265 r"""Proxy of C++ JOBFILE_PARAMS class."""
9267 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9268 __repr__ = _swig_repr
9269 m_GerberFileList = property(_pcbnew.JOBFILE_PARAMS_m_GerberFileList_get, _pcbnew.JOBFILE_PARAMS_m_GerberFileList_set, doc=
r"""m_GerberFileList : wxArrayString""")
9270 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)>)>""")
9273 r"""__init__(JOBFILE_PARAMS self) -> JOBFILE_PARAMS"""
9274 _pcbnew.JOBFILE_PARAMS_swiginit(self, _pcbnew.new_JOBFILE_PARAMS())
9275 __swig_destroy__ = _pcbnew.delete_JOBFILE_PARAMS
9278_pcbnew.JOBFILE_PARAMS_swigregister(JOBFILE_PARAMS)
9280 r"""Proxy of C++ GERBER_JOBFILE_WRITER class."""
9282 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9283 __repr__ = _swig_repr
9286 r"""__init__(GERBER_JOBFILE_WRITER self, BOARD aPcb, REPORTER * aReporter=None) -> GERBER_JOBFILE_WRITER"""
9287 _pcbnew.GERBER_JOBFILE_WRITER_swiginit(self, _pcbnew.new_GERBER_JOBFILE_WRITER(aPcb, aReporter))
9288 __swig_destroy__ = _pcbnew.delete_GERBER_JOBFILE_WRITER
9291 r"""AddGbrFile(GERBER_JOBFILE_WRITER self, PCB_LAYER_ID aLayer, wxString aFilename)"""
9292 return _pcbnew.GERBER_JOBFILE_WRITER_AddGbrFile(self, aLayer, aFilename)
9295 r"""CreateJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9296 return _pcbnew.GERBER_JOBFILE_WRITER_CreateJobFile(self, aFullFilename)
9299 r"""WriteJSONJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9300 return _pcbnew.GERBER_JOBFILE_WRITER_WriteJSONJobFile(self, aFullFilename)
9303_pcbnew.GERBER_JOBFILE_WRITER_swigregister(GERBER_JOBFILE_WRITER)
9304ROOM_FOR_KICADMANAGER = _pcbnew.ROOM_FOR_KICADMANAGER
9306ROOM_FOR_3D_VIEWER = _pcbnew.ROOM_FOR_3D_VIEWER
9308ROOM_FOR_PANEL_PREV_MODEL = _pcbnew.ROOM_FOR_PANEL_PREV_MODEL
9310DEFAULT_FILE_HISTORY_SIZE = _pcbnew.DEFAULT_FILE_HISTORY_SIZE
9312MAX_FILE_HISTORY_SIZE = _pcbnew.MAX_FILE_HISTORY_SIZE
9314ID_LOAD_FILE = _pcbnew.ID_LOAD_FILE
9316ID_NEW_BOARD = _pcbnew.ID_NEW_BOARD
9318ID_SAVE_BOARD = _pcbnew.ID_SAVE_BOARD
9320ID_SAVE_BOARD_AS = _pcbnew.ID_SAVE_BOARD_AS
9322ID_AUTO_SAVE_TIMER = _pcbnew.ID_AUTO_SAVE_TIMER
9324ID_FILE = _pcbnew.ID_FILE
9326ID_FILE1 = _pcbnew.ID_FILE1
9328ID_FILEMAX = _pcbnew.ID_FILEMAX
9330ID_FILE_LIST_EMPTY = _pcbnew.ID_FILE_LIST_EMPTY
9332ID_FILE_LIST_CLEAR = _pcbnew.ID_FILE_LIST_CLEAR
9334ID_PREFERENCES_RESET_PANEL = _pcbnew.ID_PREFERENCES_RESET_PANEL
9336ID_GEN_PLOT = _pcbnew.ID_GEN_PLOT
9338ID_GEN_PLOT_PS = _pcbnew.ID_GEN_PLOT_PS
9340ID_GEN_PLOT_HPGL = _pcbnew.ID_GEN_PLOT_HPGL
9342ID_GEN_PLOT_GERBER = _pcbnew.ID_GEN_PLOT_GERBER
9344ID_GEN_PLOT_SVG = _pcbnew.ID_GEN_PLOT_SVG
9346ID_GEN_PLOT_DXF = _pcbnew.ID_GEN_PLOT_DXF
9348ID_GEN_PLOT_PDF = _pcbnew.ID_GEN_PLOT_PDF
9350ID_H_TOOLBAR = _pcbnew.ID_H_TOOLBAR
9352ID_V_TOOLBAR = _pcbnew.ID_V_TOOLBAR
9354ID_OPT_TOOLBAR = _pcbnew.ID_OPT_TOOLBAR
9356ID_AUX_TOOLBAR = _pcbnew.ID_AUX_TOOLBAR
9358ID_LANGUAGE_CHOICE = _pcbnew.ID_LANGUAGE_CHOICE
9360ID_LANGUAGE_DANISH = _pcbnew.ID_LANGUAGE_DANISH
9362ID_LANGUAGE_DEFAULT = _pcbnew.ID_LANGUAGE_DEFAULT
9364ID_LANGUAGE_ENGLISH = _pcbnew.ID_LANGUAGE_ENGLISH
9366ID_LANGUAGE_FRENCH = _pcbnew.ID_LANGUAGE_FRENCH
9368ID_LANGUAGE_FINNISH = _pcbnew.ID_LANGUAGE_FINNISH
9370ID_LANGUAGE_HEBREW = _pcbnew.ID_LANGUAGE_HEBREW
9372ID_LANGUAGE_SPANISH = _pcbnew.ID_LANGUAGE_SPANISH
9374ID_LANGUAGE_SPANISH_MEXICAN = _pcbnew.ID_LANGUAGE_SPANISH_MEXICAN
9376ID_LANGUAGE_GERMAN = _pcbnew.ID_LANGUAGE_GERMAN
9378ID_LANGUAGE_GREEK = _pcbnew.ID_LANGUAGE_GREEK
9380ID_LANGUAGE_NORWEGIAN = _pcbnew.ID_LANGUAGE_NORWEGIAN
9382ID_LANGUAGE_RUSSIAN = _pcbnew.ID_LANGUAGE_RUSSIAN
9384ID_LANGUAGE_PORTUGUESE = _pcbnew.ID_LANGUAGE_PORTUGUESE
9386ID_LANGUAGE_PORTUGUESE_BRAZILIAN = _pcbnew.ID_LANGUAGE_PORTUGUESE_BRAZILIAN
9388ID_LANGUAGE_TURKISH = _pcbnew.ID_LANGUAGE_TURKISH
9390ID_LANGUAGE_INDONESIAN = _pcbnew.ID_LANGUAGE_INDONESIAN
9392ID_LANGUAGE_ITALIAN = _pcbnew.ID_LANGUAGE_ITALIAN
9394ID_LANGUAGE_SLOVENIAN = _pcbnew.ID_LANGUAGE_SLOVENIAN
9396ID_LANGUAGE_SLOVAK = _pcbnew.ID_LANGUAGE_SLOVAK
9398ID_LANGUAGE_HUNGARIAN = _pcbnew.ID_LANGUAGE_HUNGARIAN
9400ID_LANGUAGE_POLISH = _pcbnew.ID_LANGUAGE_POLISH
9402ID_LANGUAGE_CZECH = _pcbnew.ID_LANGUAGE_CZECH
9404ID_LANGUAGE_KOREAN = _pcbnew.ID_LANGUAGE_KOREAN
9406ID_LANGUAGE_CATALAN = _pcbnew.ID_LANGUAGE_CATALAN
9408ID_LANGUAGE_CHINESE_SIMPLIFIED = _pcbnew.ID_LANGUAGE_CHINESE_SIMPLIFIED
9410ID_LANGUAGE_CHINESE_TRADITIONAL = _pcbnew.ID_LANGUAGE_CHINESE_TRADITIONAL
9412ID_LANGUAGE_DUTCH = _pcbnew.ID_LANGUAGE_DUTCH
9414ID_LANGUAGE_JAPANESE = _pcbnew.ID_LANGUAGE_JAPANESE
9416ID_LANGUAGE_BULGARIAN = _pcbnew.ID_LANGUAGE_BULGARIAN
9418ID_LANGUAGE_LATVIAN = _pcbnew.ID_LANGUAGE_LATVIAN
9420ID_LANGUAGE_LITHUANIAN = _pcbnew.ID_LANGUAGE_LITHUANIAN
9422ID_LANGUAGE_VIETNAMESE = _pcbnew.ID_LANGUAGE_VIETNAMESE
9424ID_LANGUAGE_SERBIAN = _pcbnew.ID_LANGUAGE_SERBIAN
9426ID_LANGUAGE_THAI = _pcbnew.ID_LANGUAGE_THAI
9428ID_LANGUAGE_SWEDISH = _pcbnew.ID_LANGUAGE_SWEDISH
9430ID_LANGUAGE_UKRANIAN = _pcbnew.ID_LANGUAGE_UKRANIAN
9432ID_LANGUAGE_CHOICE_END = _pcbnew.ID_LANGUAGE_CHOICE_END
9434ID_ON_ZOOM_SELECT = _pcbnew.ID_ON_ZOOM_SELECT
9436ID_ON_GRID_SELECT = _pcbnew.ID_ON_GRID_SELECT
9438ID_POPUP_ZOOM_LEVEL_START = _pcbnew.ID_POPUP_ZOOM_LEVEL_START
9440ID_POPUP_ZOOM_LEVEL_END = _pcbnew.ID_POPUP_ZOOM_LEVEL_END
9442ID_POPUP_GRID_START = _pcbnew.ID_POPUP_GRID_START
9444ID_POPUP_GRID_END = _pcbnew.ID_POPUP_GRID_END
9446ID_EDA_SOCKET_EVENT_SERV = _pcbnew.ID_EDA_SOCKET_EVENT_SERV
9448ID_EDA_SOCKET_EVENT = _pcbnew.ID_EDA_SOCKET_EVENT
9450ID_KICAD_MANAGER_START = _pcbnew.ID_KICAD_MANAGER_START
9452ID_KICAD_MANAGER_END = _pcbnew.ID_KICAD_MANAGER_END
9454ID_KICAD_3D_VIEWER_START = _pcbnew.ID_KICAD_3D_VIEWER_START
9456ID_KICAD_3D_VIEWER_END = _pcbnew.ID_KICAD_3D_VIEWER_END
9458ID_KICAD_PANEL_PREV_MODEL_START = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_START
9460ID_KICAD_PANEL_PREV_MODEL_END = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_END
9462ID_POPUP_MENU_START = _pcbnew.ID_POPUP_MENU_START
9464ID_POPUP_MENU_END = _pcbnew.ID_POPUP_MENU_END
9466ID_END_LIST = _pcbnew.ID_END_LIST
9470 r"""GetBoard() -> BOARD"""
9471 return _pcbnew.GetBoard()
9475 LoadBoard(wxString aFileName, PCB_IO_MGR::PCB_FILE_T aFormat) -> BOARD
9478 return _pcbnew.LoadBoard(*args)
9481 r"""NewBoard(wxString aFileName) -> BOARD"""
9482 return _pcbnew.NewBoard(aFileName)
9485 r"""GetSettingsManager() -> SETTINGS_MANAGER"""
9486 return _pcbnew.GetSettingsManager()
9489 r"""CreateEmptyBoard() -> BOARD"""
9490 return _pcbnew.CreateEmptyBoard()
9493 r"""SaveBoard(wxString aFileName, BOARD aBoard, bool aSkipSettings=False) -> bool"""
9494 return _pcbnew.SaveBoard(aFileName, aBoard, aSkipSettings)
9497 r"""GetFootprintLibraries() -> wxArrayString"""
9498 return _pcbnew.GetFootprintLibraries()
9501 r"""GetFootprints(wxString aNickName) -> wxArrayString"""
9502 return _pcbnew.GetFootprints(aNickName)
9509 return _pcbnew.ExportSpecctraDSN(*args)
9511def ExportVRML(aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
9512 r"""ExportVRML(wxString aFullFileName, double aMMtoWRMLunit, bool aIncludeUnspecified, bool aIncludeDNP, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
9513 return _pcbnew.ExportVRML(aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
9520 return _pcbnew.ImportSpecctraSES(*args)
9523 r"""ExportFootprintsToLibrary(bool aStoreInNewLib, wxString aLibName=wxEmptyString, wxString aLibPath=None) -> bool"""
9524 return _pcbnew.ExportFootprintsToLibrary(*args)
9528 return _pcbnew.Refresh()
9531 r"""UpdateUserInterface()"""
9532 return _pcbnew.UpdateUserInterface()
9535 r"""GetUserUnits() -> int"""
9536 return _pcbnew.GetUserUnits()
9539 r"""GetCurrentSelection() -> DRAWINGS"""
9540 return _pcbnew.GetCurrentSelection()
9543 r"""FocusOnItem(BOARD_ITEM aItem, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
9544 return _pcbnew.FocusOnItem(aItem, aLayer)
9547 r"""IsActionRunning() -> bool"""
9548 return _pcbnew.IsActionRunning()
9551 r"""WriteDRCReport(BOARD aBoard, wxString aFileName, EDA_UNITS aUnits, bool aReportAllTrackErrors) -> bool"""
9552 return _pcbnew.WriteDRCReport(aBoard, aFileName, aUnits, aReportAllTrackErrors)
9555 r"""GetLanguage() -> wxString"""
9556 return _pcbnew.GetLanguage()
9558 r"""Proxy of C++ std::vector< enum PCB_LAYER_ID > class."""
9560 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9561 __repr__ = _swig_repr
9564 r"""iterator(base_seqVect self) -> SwigPyIterator"""
9565 return _pcbnew.base_seqVect_iterator(self)
9570 r"""__nonzero__(base_seqVect self) -> bool"""
9571 return _pcbnew.base_seqVect___nonzero__(self)
9574 r"""__bool__(base_seqVect self) -> bool"""
9575 return _pcbnew.base_seqVect___bool__(self)
9578 r"""__len__(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
9579 return _pcbnew.base_seqVect___len__(self)
9582 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"""
9583 return _pcbnew.base_seqVect___getslice__(self, i, j)
9587 __setslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)
9588 __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)
9590 return _pcbnew.base_seqVect___setslice__(self, *args)
9593 r"""__delslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)"""
9594 return _pcbnew.base_seqVect___delslice__(self, i, j)
9598 __delitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i)
9599 __delitem__(base_seqVect self, SWIGPY_SLICEOBJECT * slice)
9601 return _pcbnew.base_seqVect___delitem__(self, *args)
9605 __getitem__(base_seqVect self, SWIGPY_SLICEOBJECT * slice) -> base_seqVect
9606 __getitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i) -> std::vector< enum PCB_LAYER_ID >::value_type const &
9608 return _pcbnew.base_seqVect___getitem__(self, *args)
9612 __setitem__(base_seqVect self, SWIGPY_SLICEOBJECT * slice, base_seqVect v)
9613 __setitem__(base_seqVect self, SWIGPY_SLICEOBJECT * slice)
9614 __setitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::value_type const & x)
9616 return _pcbnew.base_seqVect___setitem__(self, *args)
9619 r"""pop(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type"""
9620 return _pcbnew.base_seqVect_pop(self)
9623 r"""append(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
9624 return _pcbnew.base_seqVect_append(self, x)
9627 r"""empty(base_seqVect self) -> bool"""
9628 return _pcbnew.base_seqVect_empty(self)
9631 r"""size(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
9632 return _pcbnew.base_seqVect_size(self)
9635 r"""swap(base_seqVect self, base_seqVect v)"""
9636 return _pcbnew.base_seqVect_swap(self, v)
9639 r"""begin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
9640 return _pcbnew.base_seqVect_begin(self)
9643 r"""end(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
9644 return _pcbnew.base_seqVect_end(self)
9647 r"""rbegin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
9648 return _pcbnew.base_seqVect_rbegin(self)
9651 r"""rend(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
9652 return _pcbnew.base_seqVect_rend(self)
9655 r"""clear(base_seqVect self)"""
9656 return _pcbnew.base_seqVect_clear(self)
9659 r"""get_allocator(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::allocator_type"""
9660 return _pcbnew.base_seqVect_get_allocator(self)
9663 r"""pop_back(base_seqVect self)"""
9664 return _pcbnew.base_seqVect_pop_back(self)
9668 erase(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator pos) -> std::vector< enum PCB_LAYER_ID >::iterator
9669 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
9671 return _pcbnew.base_seqVect_erase(self, *args)
9675 __init__(base_seqVect self) -> base_seqVect
9676 __init__(base_seqVect self, base_seqVect other) -> base_seqVect
9677 __init__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type size) -> base_seqVect
9678 __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
9680 _pcbnew.base_seqVect_swiginit(self, _pcbnew.new_base_seqVect(*args))
9683 r"""push_back(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
9684 return _pcbnew.base_seqVect_push_back(self, x)
9687 r"""front(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
9688 return _pcbnew.base_seqVect_front(self)
9691 r"""back(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
9692 return _pcbnew.base_seqVect_back(self)
9695 r"""assign(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
9696 return _pcbnew.base_seqVect_assign(self, n, x)
9700 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size)
9701 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size, std::vector< enum PCB_LAYER_ID >::value_type const & x)
9703 return _pcbnew.base_seqVect_resize(self, *args)
9707 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
9708 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)
9710 return _pcbnew.base_seqVect_insert(self, *args)
9713 r"""reserve(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n)"""
9714 return _pcbnew.base_seqVect_reserve(self, n)
9717 r"""capacity(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
9718 return _pcbnew.base_seqVect_capacity(self)
9719 __swig_destroy__ = _pcbnew.delete_base_seqVect
9722_pcbnew.base_seqVect_swigregister(base_seqVect)
9724 r"""Proxy of C++ LSEQ class."""
9726 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9727 __repr__ = _swig_repr
9732 __init__(LSEQ self, std::initializer_list< PCB_LAYER_ID > aLayers) -> LSEQ
9734 _pcbnew.LSEQ_swiginit(self, _pcbnew.new_LSEQ(*args))
9737 r"""TestLayers(LSEQ self, PCB_LAYER_ID aRhs, PCB_LAYER_ID aLhs) -> int"""
9738 return _pcbnew.LSEQ_TestLayers(self, aRhs, aLhs)
9739 __swig_destroy__ = _pcbnew.delete_LSEQ
9742_pcbnew.LSEQ_swigregister(LSEQ)
9744 r"""Proxy of C++ LSET class."""
9746 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9747 __repr__ = _swig_repr
9752 __init__(LSET self, BASE_SET aOther) -> LSET
9753 __init__(LSET self, std::initializer_list< PCB_LAYER_ID > aList) -> LSET
9754 __init__(LSET self, base_seqVect aList) -> LSET
9755 __init__(LSET self, LSEQ aSeq) -> LSET
9756 __init__(LSET self, LAYER_RANGE const & aRange) -> LSET
9758 _pcbnew.LSET_swiginit(self, _pcbnew.new_LSET(*args))
9761 r"""Contains(LSET self, PCB_LAYER_ID aLayer) -> bool"""
9762 return _pcbnew.LSET_Contains(self, aLayer)
9766 r"""Name(PCB_LAYER_ID aLayerId) -> wxString"""
9767 return _pcbnew.LSET_Name(aLayerId)
9771 r"""NameToLayer(wxString aName) -> int"""
9772 return _pcbnew.LSET_NameToLayer(aName)
9776 r"""IsBetween(PCB_LAYER_ID aStart, PCB_LAYER_ID aEnd, PCB_LAYER_ID aLayer) -> bool"""
9777 return _pcbnew.LSET_IsBetween(aStart, aEnd, aLayer)
9781 r"""InternalCuMask() -> LSET"""
9782 return _pcbnew.LSET_InternalCuMask()
9786 r"""FrontAssembly() -> LSET"""
9787 return _pcbnew.LSET_FrontAssembly()
9791 r"""BackAssembly() -> LSET"""
9792 return _pcbnew.LSET_BackAssembly()
9796 r"""AllCuMask(int aCuLayerCount=32) -> LSET"""
9797 return _pcbnew.LSET_AllCuMask(aCuLayerCount)
9801 r"""ExternalCuMask() -> LSET"""
9802 return _pcbnew.LSET_ExternalCuMask()
9806 r"""AllNonCuMask() -> LSET"""
9807 return _pcbnew.LSET_AllNonCuMask()
9811 r"""AllLayersMask() -> LSET"""
9812 return _pcbnew.LSET_AllLayersMask()
9816 r"""FrontTechMask() -> LSET"""
9817 return _pcbnew.LSET_FrontTechMask()
9821 r"""FrontBoardTechMask() -> LSET"""
9822 return _pcbnew.LSET_FrontBoardTechMask()
9826 r"""BackTechMask() -> LSET"""
9827 return _pcbnew.LSET_BackTechMask()
9831 r"""BackBoardTechMask() -> LSET"""
9832 return _pcbnew.LSET_BackBoardTechMask()
9836 r"""AllTechMask() -> LSET"""
9837 return _pcbnew.LSET_AllTechMask()
9841 r"""AllBoardTechMask() -> LSET"""
9842 return _pcbnew.LSET_AllBoardTechMask()
9846 r"""FrontMask() -> LSET"""
9847 return _pcbnew.LSET_FrontMask()
9851 r"""BackMask() -> LSET"""
9852 return _pcbnew.LSET_BackMask()
9856 r"""SideSpecificMask() -> LSET"""
9857 return _pcbnew.LSET_SideSpecificMask()
9861 r"""UserMask() -> LSET"""
9862 return _pcbnew.LSET_UserMask()
9866 r"""PhysicalLayersMask() -> LSET"""
9867 return _pcbnew.LSET_PhysicalLayersMask()
9871 r"""UserDefinedLayersMask(int aUserDefinedLayerCount=45) -> LSET"""
9872 return _pcbnew.LSET_UserDefinedLayersMask(aUserDefinedLayerCount)
9876 r"""ForbiddenFootprintLayers() -> LSET"""
9877 return _pcbnew.LSET_ForbiddenFootprintLayers()
9880 r"""CuStack(LSET self) -> LSEQ"""
9881 return _pcbnew.LSET_CuStack(self)
9884 r"""TechAndUserUIOrder(LSET self) -> LSEQ"""
9885 return _pcbnew.LSET_TechAndUserUIOrder(self)
9888 r"""UIOrder(LSET self) -> LSEQ"""
9889 return _pcbnew.LSET_UIOrder(self)
9893 Seq(LSET self, LSEQ aSequence) -> LSEQ
9894 Seq(LSET self) -> LSEQ
9896 return _pcbnew.LSET_Seq(self, *args)
9899 r"""SeqStackupTop2Bottom(LSET self, PCB_LAYER_ID aSelectedLayer=UNDEFINED_LAYER) -> LSEQ"""
9900 return _pcbnew.LSET_SeqStackupTop2Bottom(self, aSelectedLayer)
9903 r"""SeqStackupForPlotting(LSET self) -> LSEQ"""
9904 return _pcbnew.LSET_SeqStackupForPlotting(self)
9907 r"""RunOnLayers(LSET self, std::function< void (PCB_LAYER_ID) > const & aFunction)"""
9908 return _pcbnew.LSET_RunOnLayers(self, aFunction)
9911 r"""ExtractLayer(LSET self) -> PCB_LAYER_ID"""
9912 return _pcbnew.LSET_ExtractLayer(self)
9915 r"""FlipStandardLayers(LSET self, int aCopperLayersCount=0) -> LSET"""
9916 return _pcbnew.LSET_FlipStandardLayers(self, aCopperLayersCount)
9920 r"""LayerCount(PCB_LAYER_ID aStart, PCB_LAYER_ID aEnd, int aCopperLayerCount) -> int"""
9921 return _pcbnew.LSET_LayerCount(aStart, aEnd, aCopperLayerCount)
9924 r"""ClearCopperLayers(LSET self) -> LSET"""
9925 return _pcbnew.LSET_ClearCopperLayers(self)
9928 r"""ClearNonCopperLayers(LSET self) -> LSET"""
9929 return _pcbnew.LSET_ClearNonCopperLayers(self)
9932 r"""ClearUserDefinedLayers(LSET self) -> LSET"""
9933 return _pcbnew.LSET_ClearUserDefinedLayers(self)
9936 r"""addLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
9937 return _pcbnew.LSET_addLayer(self, aLayer)
9940 r"""removeLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
9941 return _pcbnew.LSET_removeLayer(self, aLayer)
9944 r"""addLayerSet(LSET self, LSET aLayerSet) -> LSET"""
9945 return _pcbnew.LSET_addLayerSet(self, aLayerSet)
9948 r"""removeLayerSet(LSET self, LSET aLayerSet) -> LSET"""
9949 return _pcbnew.LSET_removeLayerSet(self, aLayerSet)
9952 r"""FmtHex(LSET self) -> string"""
9953 return _pcbnew.LSET_FmtHex(self)
9956 r"""FmtBin(LSET self) -> string"""
9957 return _pcbnew.LSET_FmtBin(self)
9960 r"""ParseHex(LSET self, string aString) -> int"""
9961 return _pcbnew.LSET_ParseHex(self, aString)
9975 __swig_destroy__ = _pcbnew.delete_LSET
9978_pcbnew.LSET_swigregister(LSET)
9979ZLO_NONE = _pcbnew.ZLO_NONE
9981ZLO_FORCE_FLASHED = _pcbnew.ZLO_FORCE_FLASHED
9983ZLO_FORCE_NO_ZONE_CONNECTION = _pcbnew.ZLO_FORCE_NO_ZONE_CONNECTION
9986 r"""Proxy of C++ BOARD_ITEM class."""
9988 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9991 raise AttributeError(
"No constructor defined - class is abstract")
9992 __repr__ = _swig_repr
9993 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM
9996 r"""CopyFrom(BOARD_ITEM self, BOARD_ITEM aOther)"""
9997 return _pcbnew.BOARD_ITEM_CopyFrom(self, aOther)
10000 r"""SetParentGroup(BOARD_ITEM self, PCB_GROUP aGroup)"""
10001 return _pcbnew.BOARD_ITEM_SetParentGroup(self, aGroup)
10004 r"""GetParentGroup(BOARD_ITEM self) -> PCB_GROUP"""
10005 return _pcbnew.BOARD_ITEM_GetParentGroup(self)
10008 r"""GetX(BOARD_ITEM self) -> int"""
10009 return _pcbnew.BOARD_ITEM_GetX(self)
10012 r"""GetY(BOARD_ITEM self) -> int"""
10013 return _pcbnew.BOARD_ITEM_GetY(self)
10016 r"""GetCenter(BOARD_ITEM self) -> VECTOR2I"""
10017 return _pcbnew.BOARD_ITEM_GetCenter(self)
10020 r"""SetX(BOARD_ITEM self, int aX)"""
10021 return _pcbnew.BOARD_ITEM_SetX(self, aX)
10024 r"""SetY(BOARD_ITEM self, int aY)"""
10025 return _pcbnew.BOARD_ITEM_SetY(self, aY)
10028 r"""IsConnected(BOARD_ITEM self) -> bool"""
10029 return _pcbnew.BOARD_ITEM_IsConnected(self)
10032 r"""Similarity(BOARD_ITEM self, BOARD_ITEM aItem) -> double"""
10033 return _pcbnew.BOARD_ITEM_Similarity(self, aItem)
10036 r"""__eq__(BOARD_ITEM self, BOARD_ITEM aItem) -> bool"""
10037 return _pcbnew.BOARD_ITEM___eq__(self, aItem)
10040 r"""IsOnCopperLayer(BOARD_ITEM self) -> bool"""
10041 return _pcbnew.BOARD_ITEM_IsOnCopperLayer(self)
10044 r"""HasHole(BOARD_ITEM self) -> bool"""
10045 return _pcbnew.BOARD_ITEM_HasHole(self)
10048 r"""HasDrilledHole(BOARD_ITEM self) -> bool"""
10049 return _pcbnew.BOARD_ITEM_HasDrilledHole(self)
10052 r"""IsTented(BOARD_ITEM self, PCB_LAYER_ID aLayer) -> bool"""
10053 return _pcbnew.BOARD_ITEM_IsTented(self, aLayer)
10056 r"""GetEffectiveShape(BOARD_ITEM self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
10057 return _pcbnew.BOARD_ITEM_GetEffectiveShape(self, *args)
10060 r"""GetEffectiveHoleShape(BOARD_ITEM self) -> std::shared_ptr< SHAPE_SEGMENT >"""
10061 return _pcbnew.BOARD_ITEM_GetEffectiveHoleShape(self)
10064 r"""RunOnChildren(BOARD_ITEM self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
10065 return _pcbnew.BOARD_ITEM_RunOnChildren(self, aFunction)
10068 r"""RunOnDescendants(BOARD_ITEM self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
10069 return _pcbnew.BOARD_ITEM_RunOnDescendants(self, aFunction, aDepth)
10072 r"""GetParent(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
10073 return _pcbnew.BOARD_ITEM_GetParent(self)
10076 r"""GetParentFootprint(BOARD_ITEM self) -> FOOTPRINT"""
10077 return _pcbnew.BOARD_ITEM_GetParentFootprint(self)
10080 r"""GetFPRelativePosition(BOARD_ITEM self) -> VECTOR2I"""
10081 return _pcbnew.BOARD_ITEM_GetFPRelativePosition(self)
10084 r"""SetFPRelativePosition(BOARD_ITEM self, VECTOR2I aPos)"""
10085 return _pcbnew.BOARD_ITEM_SetFPRelativePosition(self, aPos)
10088 r"""HasLineStroke(BOARD_ITEM self) -> bool"""
10089 return _pcbnew.BOARD_ITEM_HasLineStroke(self)
10092 r"""GetStroke(BOARD_ITEM self) -> STROKE_PARAMS"""
10093 return _pcbnew.BOARD_ITEM_GetStroke(self)
10096 r"""SetStroke(BOARD_ITEM self, STROKE_PARAMS const & aStroke)"""
10097 return _pcbnew.BOARD_ITEM_SetStroke(self, aStroke)
10100 r"""GetFontMetrics(BOARD_ITEM self) -> KIFONT::METRICS const &"""
10101 return _pcbnew.BOARD_ITEM_GetFontMetrics(self)
10104 r"""GetLayer(BOARD_ITEM self) -> PCB_LAYER_ID"""
10105 return _pcbnew.BOARD_ITEM_GetLayer(self)
10108 r"""BoardLayerCount(BOARD_ITEM self) -> int"""
10109 return _pcbnew.BOARD_ITEM_BoardLayerCount(self)
10112 r"""BoardCopperLayerCount(BOARD_ITEM self) -> int"""
10113 return _pcbnew.BOARD_ITEM_BoardCopperLayerCount(self)
10116 r"""BoardLayerSet(BOARD_ITEM self) -> LSET"""
10117 return _pcbnew.BOARD_ITEM_BoardLayerSet(self)
10120 r"""GetLayerSet(BOARD_ITEM self) -> LSET"""
10121 return _pcbnew.BOARD_ITEM_GetLayerSet(self)
10124 r"""SetLayerSet(BOARD_ITEM self, LSET aLayers)"""
10125 return _pcbnew.BOARD_ITEM_SetLayerSet(self, aLayers)
10128 r"""IsSideSpecific(BOARD_ITEM self) -> bool"""
10129 return _pcbnew.BOARD_ITEM_IsSideSpecific(self)
10132 r"""SetLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer)"""
10133 return _pcbnew.BOARD_ITEM_SetLayer(self, aLayer)
10136 r"""Duplicate(BOARD_ITEM self) -> BOARD_ITEM"""
10137 return _pcbnew.BOARD_ITEM_Duplicate(self)
10140 r"""SwapItemData(BOARD_ITEM self, BOARD_ITEM aImage)"""
10141 return _pcbnew.BOARD_ITEM_SwapItemData(self, aImage)
10144 r"""IsOnLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer) -> bool"""
10145 return _pcbnew.BOARD_ITEM_IsOnLayer(self, aLayer)
10148 r"""IsKnockout(BOARD_ITEM self) -> bool"""
10149 return _pcbnew.BOARD_ITEM_IsKnockout(self)
10152 r"""SetIsKnockout(BOARD_ITEM self, bool aKnockout)"""
10153 return _pcbnew.BOARD_ITEM_SetIsKnockout(self, aKnockout)
10156 r"""IsLocked(BOARD_ITEM self) -> bool"""
10157 return _pcbnew.BOARD_ITEM_IsLocked(self)
10160 r"""SetLocked(BOARD_ITEM self, bool aLocked)"""
10161 return _pcbnew.BOARD_ITEM_SetLocked(self, aLocked)
10164 r"""StyleFromSettings(BOARD_ITEM self, BOARD_DESIGN_SETTINGS settings)"""
10165 return _pcbnew.BOARD_ITEM_StyleFromSettings(self, settings)
10168 r"""DeleteStructure(BOARD_ITEM self)"""
10169 return _pcbnew.BOARD_ITEM_DeleteStructure(self)
10172 r"""Move(BOARD_ITEM self, VECTOR2I aMoveVector)"""
10173 return _pcbnew.BOARD_ITEM_Move(self, aMoveVector)
10176 r"""Rotate(BOARD_ITEM self, VECTOR2I aRotCentre, EDA_ANGLE aAngle)"""
10177 return _pcbnew.BOARD_ITEM_Rotate(self, aRotCentre, aAngle)
10179 def Flip(self, aCentre, aFlipDirection):
10180 r"""Flip(BOARD_ITEM self, VECTOR2I aCentre, FLIP_DIRECTION aFlipDirection)"""
10181 return _pcbnew.BOARD_ITEM_Flip(self, aCentre, aFlipDirection)
10184 r"""Mirror(BOARD_ITEM self, VECTOR2I aCentre, FLIP_DIRECTION aFlipDirection)"""
10185 return _pcbnew.BOARD_ITEM_Mirror(self, aCentre, aFlipDirection)
10188 r"""Normalize(BOARD_ITEM self)"""
10189 return _pcbnew.BOARD_ITEM_Normalize(self)
10192 r"""NormalizeForCompare(BOARD_ITEM self)"""
10193 return _pcbnew.BOARD_ITEM_NormalizeForCompare(self)
10197 GetBoard(BOARD_ITEM self) -> BOARD
10198 GetBoard(BOARD_ITEM self) -> BOARD
10200 return _pcbnew.BOARD_ITEM_GetBoard(self, *args)
10203 r"""GetParentAsString(BOARD_ITEM self) -> wxString"""
10204 return _pcbnew.BOARD_ITEM_GetParentAsString(self)
10207 r"""GetLayerName(BOARD_ITEM self) -> wxString"""
10208 return _pcbnew.BOARD_ITEM_GetLayerName(self)
10211 r"""TransformShapeToPolygon(BOARD_ITEM self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
10212 return _pcbnew.BOARD_ITEM_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
10213 DRC = _pcbnew.BOARD_ITEM_DRC
10222 if ct==
"PCB_TEXTBOX":
10226 elif ct==
"PCB_DIM_ALIGNED":
10228 elif ct==
"PCB_DIM_LEADER":
10230 elif ct==
"PCB_DIM_CENTER":
10232 elif ct==
"PCB_DIM_RADIAL":
10234 elif ct==
"PCB_DIM_ORTHOGONAL":
10236 elif ct==
"PCB_SHAPE":
10238 elif ct==
"FOOTPRINT":
10240 elif ct==
"PCB_GROUP":
10244 elif ct==
"PCB_VIA":
10246 elif ct==
"PCB_TRACK":
10248 elif ct==
"PCB_ARC":
10250 elif ct==
"PCB_TARGET":
10252 elif ct==
"PCB_TABLE":
10254 elif ct==
"PCB_REFERENCE_IMAGE":
10259 raise TypeError(
"Unsupported drawing class: %s" % ct)
10262 Needed to cast BOARD_ITEM::Duplicate() to the suitable type
10276 self.SetStart(start)
10283_pcbnew.BOARD_ITEM_swigregister(BOARD_ITEM)
10285 r"""Proxy of C++ DELETED_BOARD_ITEM class."""
10287 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10288 __repr__ = _swig_repr
10291 r"""__init__(DELETED_BOARD_ITEM self) -> DELETED_BOARD_ITEM"""
10292 _pcbnew.DELETED_BOARD_ITEM_swiginit(self, _pcbnew.new_DELETED_BOARD_ITEM())
10296 r"""GetInstance() -> DELETED_BOARD_ITEM"""
10297 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
10301 __eq__(DELETED_BOARD_ITEM self, BOARD_ITEM aBoardItem) -> bool
10302 __eq__(DELETED_BOARD_ITEM self, DELETED_BOARD_ITEM aOther) -> bool
10304 return _pcbnew.DELETED_BOARD_ITEM___eq__(self, *args)
10305 __swig_destroy__ = _pcbnew.delete_DELETED_BOARD_ITEM
10308_pcbnew.DELETED_BOARD_ITEM_swigregister(DELETED_BOARD_ITEM)
10309IS_CHANGED = _pcbnew.IS_CHANGED
10311IS_LINKED = _pcbnew.IS_LINKED
10313IN_EDIT = _pcbnew.IN_EDIT
10315IS_MOVING = _pcbnew.IS_MOVING
10317IS_NEW = _pcbnew.IS_NEW
10319IS_BROKEN = _pcbnew.IS_BROKEN
10321IS_DELETED = _pcbnew.IS_DELETED
10323STARTPOINT = _pcbnew.STARTPOINT
10325ENDPOINT = _pcbnew.ENDPOINT
10327SELECTED = _pcbnew.SELECTED
10329SELECTED_BY_DRAG = _pcbnew.SELECTED_BY_DRAG
10331STRUCT_DELETED = _pcbnew.STRUCT_DELETED
10333CANDIDATE = _pcbnew.CANDIDATE
10335SKIP_STRUCT = _pcbnew.SKIP_STRUCT
10337IS_PASTED = _pcbnew.IS_PASTED
10339IS_SHOWN_AS_BITMAP = _pcbnew.IS_SHOWN_AS_BITMAP
10341COURTYARD_CONFLICT = _pcbnew.COURTYARD_CONFLICT
10343MALFORMED_F_COURTYARD = _pcbnew.MALFORMED_F_COURTYARD
10345MALFORMED_B_COURTYARD = _pcbnew.MALFORMED_B_COURTYARD
10347MALFORMED_COURTYARDS = _pcbnew.MALFORMED_COURTYARDS
10349ROUTER_TRANSIENT = _pcbnew.ROUTER_TRANSIENT
10351HOLE_PROXY = _pcbnew.HOLE_PROXY
10353SHOW_ELEC_TYPE = _pcbnew.SHOW_ELEC_TYPE
10355BRIGHTENED = _pcbnew.BRIGHTENED
10357UR_TRANSIENT = _pcbnew.UR_TRANSIENT
10359IS_DANGLING = _pcbnew.IS_DANGLING
10361ENTERED = _pcbnew.ENTERED
10364 r"""Proxy of C++ UNITS_PROVIDER class."""
10366 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10367 __repr__ = _swig_repr
10370 r"""__init__(UNITS_PROVIDER self, EDA_IU_SCALE aIuScale, EDA_UNITS aUnits) -> UNITS_PROVIDER"""
10371 _pcbnew.UNITS_PROVIDER_swiginit(self, _pcbnew.new_UNITS_PROVIDER(aIuScale, aUnits))
10372 __swig_destroy__ = _pcbnew.delete_UNITS_PROVIDER
10375 r"""GetUserUnits(UNITS_PROVIDER self) -> EDA_UNITS"""
10376 return _pcbnew.UNITS_PROVIDER_GetUserUnits(self)
10379 r"""SetUserUnits(UNITS_PROVIDER self, EDA_UNITS aUnits)"""
10380 return _pcbnew.UNITS_PROVIDER_SetUserUnits(self, aUnits)
10383 r"""GetUnitPair(UNITS_PROVIDER self, EDA_UNITS & aPrimaryUnit, EDA_UNITS & aSecondaryUnits)"""
10384 return _pcbnew.UNITS_PROVIDER_GetUnitPair(self, aPrimaryUnit, aSecondaryUnits)
10387 r"""GetIuScale(UNITS_PROVIDER self) -> EDA_IU_SCALE"""
10388 return _pcbnew.UNITS_PROVIDER_GetIuScale(self)
10391 r"""GetOriginTransforms(UNITS_PROVIDER self) -> ORIGIN_TRANSFORMS &"""
10392 return _pcbnew.UNITS_PROVIDER_GetOriginTransforms(self)
10395 r"""StringFromOptionalValue(UNITS_PROVIDER self, std::optional< int > aValue, bool aAddUnitLabel=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
10396 return _pcbnew.UNITS_PROVIDER_StringFromOptionalValue(self, *args)
10400 StringFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString
10401 StringFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
False) -> wxString
10403 return _pcbnew.UNITS_PROVIDER_StringFromValue(self, *args)
10407 MessageTextFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
10408 MessageTextFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
True) -> wxString
10410 return _pcbnew.UNITS_PROVIDER_MessageTextFromValue(self, *args)
10413 r"""MessageTextFromMinOptMax(UNITS_PROVIDER self, MINOPTMAX< int > const & aValue) -> wxString"""
10414 return _pcbnew.UNITS_PROVIDER_MessageTextFromMinOptMax(self, aValue)
10417 r"""ValueFromString(UNITS_PROVIDER self, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> int"""
10418 return _pcbnew.UNITS_PROVIDER_ValueFromString(self, *args)
10421 r"""OptionalValueFromString(UNITS_PROVIDER self, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> std::optional< int >"""
10422 return _pcbnew.UNITS_PROVIDER_OptionalValueFromString(self, *args)
10425 r"""AngleValueFromString(UNITS_PROVIDER self, wxString aTextValue) -> EDA_ANGLE"""
10426 return _pcbnew.UNITS_PROVIDER_AngleValueFromString(self, aTextValue)
10427 NullUiString = _pcbnew.UNITS_PROVIDER_NullUiString
10431_pcbnew.UNITS_PROVIDER_swigregister(UNITS_PROVIDER)
10434 r"""Cast_to_BOARD_ITEM(EDA_ITEM base) -> BOARD_ITEM"""
10435 return _pcbnew.Cast_to_BOARD_ITEM(base)
10438 r"""Cast_to_PCB_TEXT(BOARD_ITEM arg1) -> PCB_TEXT"""
10439 return _pcbnew.Cast_to_PCB_TEXT(arg1)
10442 r"""Cast_to_PCB_TEXTBOX(BOARD_ITEM arg1) -> PCB_TEXTBOX"""
10443 return _pcbnew.Cast_to_PCB_TEXTBOX(arg1)
10446 r"""Cast_to_PCB_DIM_ALIGNED(BOARD_ITEM arg1) -> PCB_DIM_ALIGNED"""
10447 return _pcbnew.Cast_to_PCB_DIM_ALIGNED(arg1)
10450 r"""Cast_to_PCB_DIM_ORTHOGONAL(BOARD_ITEM arg1) -> PCB_DIM_ORTHOGONAL"""
10451 return _pcbnew.Cast_to_PCB_DIM_ORTHOGONAL(arg1)
10454 r"""Cast_to_PCB_DIM_LEADER(BOARD_ITEM arg1) -> PCB_DIM_LEADER"""
10455 return _pcbnew.Cast_to_PCB_DIM_LEADER(arg1)
10458 r"""Cast_to_PCB_DIM_CENTER(BOARD_ITEM arg1) -> PCB_DIM_CENTER"""
10459 return _pcbnew.Cast_to_PCB_DIM_CENTER(arg1)
10462 r"""Cast_to_PCB_DIM_RADIAL(BOARD_ITEM arg1) -> PCB_DIM_RADIAL"""
10463 return _pcbnew.Cast_to_PCB_DIM_RADIAL(arg1)
10466 r"""Cast_to_FOOTPRINT(BOARD_ITEM arg1) -> FOOTPRINT"""
10467 return _pcbnew.Cast_to_FOOTPRINT(arg1)
10470 r"""Cast_to_PCB_GROUP(BOARD_ITEM arg1) -> PCB_GROUP"""
10471 return _pcbnew.Cast_to_PCB_GROUP(arg1)
10474 r"""Cast_to_PCB_SHAPE(BOARD_ITEM arg1) -> PCB_SHAPE"""
10475 return _pcbnew.Cast_to_PCB_SHAPE(arg1)
10478 r"""Cast_to_PCB_MARKER(BOARD_ITEM arg1) -> PCB_MARKER"""
10479 return _pcbnew.Cast_to_PCB_MARKER(arg1)
10482 r"""Cast_to_BOARD(BOARD_ITEM arg1) -> BOARD"""
10483 return _pcbnew.Cast_to_BOARD(arg1)
10486 r"""Cast_to_PAD(BOARD_ITEM arg1) -> PAD"""
10487 return _pcbnew.Cast_to_PAD(arg1)
10490 r"""Cast_to_PCB_TRACK(BOARD_ITEM arg1) -> PCB_TRACK"""
10491 return _pcbnew.Cast_to_PCB_TRACK(arg1)
10494 r"""Cast_to_PCB_VIA(BOARD_ITEM arg1) -> PCB_VIA"""
10495 return _pcbnew.Cast_to_PCB_VIA(arg1)
10498 r"""Cast_to_PCB_ARC(BOARD_ITEM arg1) -> PCB_ARC"""
10499 return _pcbnew.Cast_to_PCB_ARC(arg1)
10502 r"""Cast_to_ZONE(BOARD_ITEM arg1) -> ZONE"""
10503 return _pcbnew.Cast_to_ZONE(arg1)
10506 r"""Cast_to_PCB_TARGET(BOARD_ITEM arg1) -> PCB_TARGET"""
10507 return _pcbnew.Cast_to_PCB_TARGET(arg1)
10510 r"""Cast_to_PCB_TABLE(BOARD_ITEM arg1) -> PCB_TABLE"""
10511 return _pcbnew.Cast_to_PCB_TABLE(arg1)
10514 r"""Cast_to_PCB_REFERENCE_IMAGE(BOARD_ITEM arg1) -> PCB_REFERENCE_IMAGE"""
10515 return _pcbnew.Cast_to_PCB_REFERENCE_IMAGE(arg1)
10516ADD_MODE_INSERT = _pcbnew.ADD_MODE_INSERT
10518ADD_MODE_APPEND = _pcbnew.ADD_MODE_APPEND
10520ADD_MODE_BULK_APPEND = _pcbnew.ADD_MODE_BULK_APPEND
10522ADD_MODE_BULK_INSERT = _pcbnew.ADD_MODE_BULK_INSERT
10524REMOVE_MODE_NORMAL = _pcbnew.REMOVE_MODE_NORMAL
10526REMOVE_MODE_BULK = _pcbnew.REMOVE_MODE_BULK
10529 r"""Proxy of C++ BOARD_ITEM_CONTAINER class."""
10531 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10534 raise AttributeError(
"No constructor defined - class is abstract")
10535 __repr__ = _swig_repr
10538 r"""AddNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
10539 return _pcbnew.BOARD_ITEM_CONTAINER_AddNative(self, *args)
10542 r"""RemoveNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
10543 return _pcbnew.BOARD_ITEM_CONTAINER_RemoveNative(self, *args)
10546 r"""DeleteNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)"""
10547 return _pcbnew.BOARD_ITEM_CONTAINER_DeleteNative(self, aItem)
10551 Add a BOARD_ITEM to this BOARD_ITEM_CONTAINER, clear the thisown to prevent
10552 python from deleting the object
in the garbage collector
10553 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, BOARD_ADD_MODE aMode=BOARD_ADD_MODE::INSERT)
10554 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)
10561 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
10562 the python wrapper owns the C++ BOARD_ITEM
10563 Remove(self, BOARD_ITEM)
10571 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
10572 the python wrapper does
not owns the C++ BOARD_ITEM
10573 Delete(self, BOARD_ITEM)
10579 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM_CONTAINER
10582_pcbnew.BOARD_ITEM_CONTAINER_swigregister(BOARD_ITEM_CONTAINER)
10584 r"""Proxy of C++ BOARD_CONNECTED_ITEM class."""
10586 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10589 raise AttributeError(
"No constructor defined - class is abstract")
10590 __repr__ = _swig_repr
10594 r"""ClassOf(EDA_ITEM aItem) -> bool"""
10595 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
10598 r"""GetNet(BOARD_CONNECTED_ITEM self) -> NETINFO_ITEM"""
10599 return _pcbnew.BOARD_CONNECTED_ITEM_GetNet(self)
10602 r"""SetNet(BOARD_CONNECTED_ITEM self, NETINFO_ITEM aNetInfo)"""
10603 return _pcbnew.BOARD_CONNECTED_ITEM_SetNet(self, aNetInfo)
10606 r"""GetNetCode(BOARD_CONNECTED_ITEM self) -> int"""
10607 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetCode(self)
10611 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode, bool aNoAssert) -> bool
10612 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode)
10614 return _pcbnew.BOARD_CONNECTED_ITEM_SetNetCode(self, *args)
10617 r"""GetNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10618 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetname(self)
10621 r"""GetNetnameMsg(BOARD_CONNECTED_ITEM self) -> wxString"""
10622 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetnameMsg(self)
10625 r"""GetShortNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10626 return _pcbnew.BOARD_CONNECTED_ITEM_GetShortNetname(self)
10629 r"""GetDisplayNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10630 return _pcbnew.BOARD_CONNECTED_ITEM_GetDisplayNetname(self)
10633 r"""GetOwnClearance(BOARD_CONNECTED_ITEM self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
10634 return _pcbnew.BOARD_CONNECTED_ITEM_GetOwnClearance(self, aLayer, aSource)
10637 r"""GetClearanceOverrides(BOARD_CONNECTED_ITEM self, wxString aSource) -> std::optional< int >"""
10638 return _pcbnew.BOARD_CONNECTED_ITEM_GetClearanceOverrides(self, aSource)
10643 GetLocalClearance(BOARD_CONNECTED_ITEM self, wxString aSource) -> std::optional< int >
10645 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearance(self, *args)
10648 r"""GetEffectiveNetClass(BOARD_CONNECTED_ITEM self) -> NETCLASS"""
10649 return _pcbnew.BOARD_CONNECTED_ITEM_GetEffectiveNetClass(self)
10652 r"""GetNetClassName(BOARD_CONNECTED_ITEM self) -> wxString"""
10653 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClassName(self)
10656 r"""SetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self, bool aVisible)"""
10657 return _pcbnew.BOARD_CONNECTED_ITEM_SetLocalRatsnestVisible(self, aVisible)
10660 r"""GetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self) -> bool"""
10661 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalRatsnestVisible(self)
10668 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropParams(self, *args)
10671 r"""SetTeardropsEnabled(BOARD_CONNECTED_ITEM self, bool aEnable)"""
10672 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropsEnabled(self, aEnable)
10675 r"""GetTeardropsEnabled(BOARD_CONNECTED_ITEM self) -> bool"""
10676 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropsEnabled(self)
10679 r"""SetTeardropBestLengthRatio(BOARD_CONNECTED_ITEM self, double aRatio)"""
10680 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropBestLengthRatio(self, aRatio)
10683 r"""GetTeardropBestLengthRatio(BOARD_CONNECTED_ITEM self) -> double"""
10684 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropBestLengthRatio(self)
10687 r"""SetTeardropMaxLength(BOARD_CONNECTED_ITEM self, int aMaxLength)"""
10688 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxLength(self, aMaxLength)
10691 r"""GetTeardropMaxLength(BOARD_CONNECTED_ITEM self) -> int"""
10692 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxLength(self)
10695 r"""SetTeardropBestWidthRatio(BOARD_CONNECTED_ITEM self, double aRatio)"""
10696 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropBestWidthRatio(self, aRatio)
10699 r"""GetTeardropBestWidthRatio(BOARD_CONNECTED_ITEM self) -> double"""
10700 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropBestWidthRatio(self)
10703 r"""SetTeardropMaxWidth(BOARD_CONNECTED_ITEM self, int aMaxWidth)"""
10704 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxWidth(self, aMaxWidth)
10707 r"""GetTeardropMaxWidth(BOARD_CONNECTED_ITEM self) -> int"""
10708 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxWidth(self)
10711 r"""SetTeardropCurved(BOARD_CONNECTED_ITEM self, bool aCurve)"""
10712 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropCurved(self, aCurve)
10715 r"""GetTeardropCurved(BOARD_CONNECTED_ITEM self) -> bool"""
10716 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropCurved(self)
10719 r"""SetTeardropPreferZoneConnections(BOARD_CONNECTED_ITEM self, bool aPrefer)"""
10720 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropPreferZoneConnections(self, aPrefer)
10723 r"""GetTeardropPreferZoneConnections(BOARD_CONNECTED_ITEM self) -> bool"""
10724 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropPreferZoneConnections(self)
10727 r"""SetTeardropAllowSpanTwoTracks(BOARD_CONNECTED_ITEM self, bool aAllow)"""
10728 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropAllowSpanTwoTracks(self, aAllow)
10731 r"""GetTeardropAllowSpanTwoTracks(BOARD_CONNECTED_ITEM self) -> bool"""
10732 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropAllowSpanTwoTracks(self)
10735 r"""SetTeardropMaxTrackWidth(BOARD_CONNECTED_ITEM self, double aRatio)"""
10736 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxTrackWidth(self, aRatio)
10739 r"""GetTeardropMaxTrackWidth(BOARD_CONNECTED_ITEM self) -> double"""
10740 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxTrackWidth(self)
10741 __swig_destroy__ = _pcbnew.delete_BOARD_CONNECTED_ITEM
10744_pcbnew.BOARD_CONNECTED_ITEM_swigregister(BOARD_CONNECTED_ITEM)
10746 r"""Proxy of C++ std::map< wxString,std::shared_ptr< NETCLASS > > class."""
10748 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10749 __repr__ = _swig_repr
10752 r"""iterator(netclasses_map self) -> SwigPyIterator"""
10753 return _pcbnew.netclasses_map_iterator(self)
10758 r"""__nonzero__(netclasses_map self) -> bool"""
10759 return _pcbnew.netclasses_map___nonzero__(self)
10762 r"""__bool__(netclasses_map self) -> bool"""
10763 return _pcbnew.netclasses_map___bool__(self)
10766 r"""__len__(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10767 return _pcbnew.netclasses_map___len__(self)
10778 r"""__getitem__(netclasses_map self, wxString key) -> std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const &"""
10779 return _pcbnew.netclasses_map___getitem__(self, key)
10782 r"""__delitem__(netclasses_map self, wxString key)"""
10783 return _pcbnew.netclasses_map___delitem__(self, key)
10786 r"""has_key(netclasses_map self, wxString key) -> bool"""
10787 return _pcbnew.netclasses_map_has_key(self, key)
10790 r"""keys(netclasses_map self) -> PyObject *"""
10791 return _pcbnew.netclasses_map_keys(self)
10794 r"""values(netclasses_map self) -> PyObject *"""
10795 return _pcbnew.netclasses_map_values(self)
10798 r"""items(netclasses_map self) -> PyObject *"""
10799 return _pcbnew.netclasses_map_items(self)
10802 r"""__contains__(netclasses_map self, wxString key) -> bool"""
10803 return _pcbnew.netclasses_map___contains__(self, key)
10806 r"""key_iterator(netclasses_map self) -> SwigPyIterator"""
10807 return _pcbnew.netclasses_map_key_iterator(self)
10810 r"""value_iterator(netclasses_map self) -> SwigPyIterator"""
10811 return _pcbnew.netclasses_map_value_iterator(self)
10816 __setitem__(netclasses_map self, wxString key, std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const & x)
10818 return _pcbnew.netclasses_map___setitem__(self, *args)
10821 r"""asdict(netclasses_map self) -> PyObject *"""
10822 return _pcbnew.netclasses_map_asdict(self)
10826 __init__(netclasses_map self, std::less< wxString > const & other) -> netclasses_map
10827 __init__(netclasses_map self) -> netclasses_map
10828 __init__(netclasses_map self, netclasses_map other) -> netclasses_map
10830 _pcbnew.netclasses_map_swiginit(self, _pcbnew.new_netclasses_map(*args))
10833 r"""empty(netclasses_map self) -> bool"""
10834 return _pcbnew.netclasses_map_empty(self)
10837 r"""size(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10838 return _pcbnew.netclasses_map_size(self)
10841 r"""swap(netclasses_map self, netclasses_map v)"""
10842 return _pcbnew.netclasses_map_swap(self, v)
10845 r"""begin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10846 return _pcbnew.netclasses_map_begin(self)
10849 r"""end(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10850 return _pcbnew.netclasses_map_end(self)
10853 r"""rbegin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10854 return _pcbnew.netclasses_map_rbegin(self)
10857 r"""rend(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10858 return _pcbnew.netclasses_map_rend(self)
10861 r"""clear(netclasses_map self)"""
10862 return _pcbnew.netclasses_map_clear(self)
10865 r"""get_allocator(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::allocator_type"""
10866 return _pcbnew.netclasses_map_get_allocator(self)
10869 r"""count(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10870 return _pcbnew.netclasses_map_count(self, x)
10874 erase(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type
10875 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator position)
10876 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator first, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator last)
10878 return _pcbnew.netclasses_map_erase(self, *args)
10881 r"""find(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10882 return _pcbnew.netclasses_map_find(self, x)
10885 r"""lower_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10886 return _pcbnew.netclasses_map_lower_bound(self, x)
10889 r"""upper_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10890 return _pcbnew.netclasses_map_upper_bound(self, x)
10891 __swig_destroy__ = _pcbnew.delete_netclasses_map
10894_pcbnew.netclasses_map_swigregister(netclasses_map)
10895DEFAULT_SILK_LINE_WIDTH = _pcbnew.DEFAULT_SILK_LINE_WIDTH
10897DEFAULT_COPPER_LINE_WIDTH = _pcbnew.DEFAULT_COPPER_LINE_WIDTH
10899DEFAULT_EDGE_WIDTH = _pcbnew.DEFAULT_EDGE_WIDTH
10901DEFAULT_COURTYARD_WIDTH = _pcbnew.DEFAULT_COURTYARD_WIDTH
10903DEFAULT_LINE_WIDTH = _pcbnew.DEFAULT_LINE_WIDTH
10905DEFAULT_SILK_TEXT_SIZE = _pcbnew.DEFAULT_SILK_TEXT_SIZE
10907DEFAULT_COPPER_TEXT_SIZE = _pcbnew.DEFAULT_COPPER_TEXT_SIZE
10909DEFAULT_TEXT_SIZE = _pcbnew.DEFAULT_TEXT_SIZE
10911DEFAULT_SILK_TEXT_WIDTH = _pcbnew.DEFAULT_SILK_TEXT_WIDTH
10913DEFAULT_COPPER_TEXT_WIDTH = _pcbnew.DEFAULT_COPPER_TEXT_WIDTH
10915DEFAULT_TEXT_WIDTH = _pcbnew.DEFAULT_TEXT_WIDTH
10917DEFAULT_DIMENSION_ARROW_LENGTH = _pcbnew.DEFAULT_DIMENSION_ARROW_LENGTH
10919DEFAULT_DIMENSION_EXTENSION_OFFSET = _pcbnew.DEFAULT_DIMENSION_EXTENSION_OFFSET
10921DEFAULT_BOARD_THICKNESS_MM = _pcbnew.DEFAULT_BOARD_THICKNESS_MM
10923DEFAULT_PCB_EDGE_THICKNESS = _pcbnew.DEFAULT_PCB_EDGE_THICKNESS
10925DEFAULT_SOLDERMASK_EXPANSION = _pcbnew.DEFAULT_SOLDERMASK_EXPANSION
10927DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE = _pcbnew.DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE
10929DEFAULT_SOLDERMASK_MIN_WIDTH = _pcbnew.DEFAULT_SOLDERMASK_MIN_WIDTH
10931DEFAULT_SOLDERPASTE_CLEARANCE = _pcbnew.DEFAULT_SOLDERPASTE_CLEARANCE
10933DEFAULT_SOLDERPASTE_RATIO = _pcbnew.DEFAULT_SOLDERPASTE_RATIO
10935DEFAULT_CUSTOMTRACKWIDTH = _pcbnew.DEFAULT_CUSTOMTRACKWIDTH
10937DEFAULT_CUSTOMDPAIRWIDTH = _pcbnew.DEFAULT_CUSTOMDPAIRWIDTH
10939DEFAULT_CUSTOMDPAIRGAP = _pcbnew.DEFAULT_CUSTOMDPAIRGAP
10941DEFAULT_CUSTOMDPAIRVIAGAP = _pcbnew.DEFAULT_CUSTOMDPAIRVIAGAP
10943DEFAULT_MEANDER_SPACING = _pcbnew.DEFAULT_MEANDER_SPACING
10945DEFAULT_DP_MEANDER_SPACING = _pcbnew.DEFAULT_DP_MEANDER_SPACING
10947DEFAULT_MINCLEARANCE = _pcbnew.DEFAULT_MINCLEARANCE
10949DEFAULT_MINCONNECTION = _pcbnew.DEFAULT_MINCONNECTION
10951DEFAULT_TRACKMINWIDTH = _pcbnew.DEFAULT_TRACKMINWIDTH
10953DEFAULT_VIASMINSIZE = _pcbnew.DEFAULT_VIASMINSIZE
10955DEFAULT_MINTHROUGHDRILL = _pcbnew.DEFAULT_MINTHROUGHDRILL
10957DEFAULT_MICROVIASMINSIZE = _pcbnew.DEFAULT_MICROVIASMINSIZE
10959DEFAULT_MICROVIASMINDRILL = _pcbnew.DEFAULT_MICROVIASMINDRILL
10961DEFAULT_HOLETOHOLEMIN = _pcbnew.DEFAULT_HOLETOHOLEMIN
10963DEFAULT_HOLECLEARANCE = _pcbnew.DEFAULT_HOLECLEARANCE
10965DEFAULT_COPPEREDGECLEARANCE = _pcbnew.DEFAULT_COPPEREDGECLEARANCE
10967LEGACY_COPPEREDGECLEARANCE = _pcbnew.LEGACY_COPPEREDGECLEARANCE
10969DEFAULT_SILKCLEARANCE = _pcbnew.DEFAULT_SILKCLEARANCE
10971DEFAULT_MINGROOVEWIDTH = _pcbnew.DEFAULT_MINGROOVEWIDTH
10973DEFAULT_MINRESOLVEDSPOKES = _pcbnew.DEFAULT_MINRESOLVEDSPOKES
10975MINIMUM_ERROR_SIZE_MM = _pcbnew.MINIMUM_ERROR_SIZE_MM
10977MAXIMUM_ERROR_SIZE_MM = _pcbnew.MAXIMUM_ERROR_SIZE_MM
10979MINIMUM_LINE_WIDTH_MM = _pcbnew.MINIMUM_LINE_WIDTH_MM
10981MAXIMUM_LINE_WIDTH_MM = _pcbnew.MAXIMUM_LINE_WIDTH_MM
10983DEFAULT_PAD_WIDTH_MM = _pcbnew.DEFAULT_PAD_WIDTH_MM
10985DEFAULT_PAD_HEIGTH_MM = _pcbnew.DEFAULT_PAD_HEIGTH_MM
10987DEFAULT_PAD_DRILL_DIAMETER_MM = _pcbnew.DEFAULT_PAD_DRILL_DIAMETER_MM
10989DEFAULT_PAD_RR_RADIUS_RATIO = _pcbnew.DEFAULT_PAD_RR_RADIUS_RATIO
10992 r"""Proxy of C++ VIA_DIMENSION class."""
10994 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10995 __repr__ = _swig_repr
10996 m_Diameter = property(_pcbnew.VIA_DIMENSION_m_Diameter_get, _pcbnew.VIA_DIMENSION_m_Diameter_set, doc=
r"""m_Diameter : int""")
10997 m_Drill = property(_pcbnew.VIA_DIMENSION_m_Drill_get, _pcbnew.VIA_DIMENSION_m_Drill_set, doc=
r"""m_Drill : int""")
11001 __init__(VIA_DIMENSION self) -> VIA_DIMENSION
11002 __init__(VIA_DIMENSION self, int aDiameter, int aDrill) -> VIA_DIMENSION
11004 _pcbnew.VIA_DIMENSION_swiginit(self, _pcbnew.new_VIA_DIMENSION(*args))
11007 r"""__eq__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
11008 return _pcbnew.VIA_DIMENSION___eq__(self, aOther)
11011 r"""__ne__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
11012 return _pcbnew.VIA_DIMENSION___ne__(self, aOther)
11015 r"""__lt__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
11016 return _pcbnew.VIA_DIMENSION___lt__(self, aOther)
11017 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION
11020_pcbnew.VIA_DIMENSION_swigregister(VIA_DIMENSION)
11022 r"""Proxy of C++ DIFF_PAIR_DIMENSION class."""
11024 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11025 __repr__ = _swig_repr
11026 m_Width = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Width_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Width_set, doc=
r"""m_Width : int""")
11027 m_Gap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Gap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Gap_set, doc=
r"""m_Gap : int""")
11028 m_ViaGap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_set, doc=
r"""m_ViaGap : int""")
11032 __init__(DIFF_PAIR_DIMENSION self) -> DIFF_PAIR_DIMENSION
11033 __init__(DIFF_PAIR_DIMENSION self, int aWidth, int aGap, int aViaGap) -> DIFF_PAIR_DIMENSION
11035 _pcbnew.DIFF_PAIR_DIMENSION_swiginit(self, _pcbnew.new_DIFF_PAIR_DIMENSION(*args))
11038 r"""__eq__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
11039 return _pcbnew.DIFF_PAIR_DIMENSION___eq__(self, aOther)
11042 r"""__ne__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
11043 return _pcbnew.DIFF_PAIR_DIMENSION___ne__(self, aOther)
11046 r"""__lt__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
11047 return _pcbnew.DIFF_PAIR_DIMENSION___lt__(self, aOther)
11048 __swig_destroy__ = _pcbnew.delete_DIFF_PAIR_DIMENSION
11051_pcbnew.DIFF_PAIR_DIMENSION_swigregister(DIFF_PAIR_DIMENSION)
11052LAYER_CLASS_SILK = _pcbnew.LAYER_CLASS_SILK
11054LAYER_CLASS_COPPER = _pcbnew.LAYER_CLASS_COPPER
11056LAYER_CLASS_EDGES = _pcbnew.LAYER_CLASS_EDGES
11058LAYER_CLASS_COURTYARD = _pcbnew.LAYER_CLASS_COURTYARD
11060LAYER_CLASS_FAB = _pcbnew.LAYER_CLASS_FAB
11062LAYER_CLASS_OTHERS = _pcbnew.LAYER_CLASS_OTHERS
11064LAYER_CLASS_COUNT = _pcbnew.LAYER_CLASS_COUNT
11067 r"""Proxy of C++ TEXT_ITEM_INFO class."""
11069 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11070 __repr__ = _swig_repr
11071 m_Text = property(_pcbnew.TEXT_ITEM_INFO_m_Text_get, _pcbnew.TEXT_ITEM_INFO_m_Text_set, doc=
r"""m_Text : wxString""")
11072 m_Visible = property(_pcbnew.TEXT_ITEM_INFO_m_Visible_get, _pcbnew.TEXT_ITEM_INFO_m_Visible_set, doc=
r"""m_Visible : bool""")
11073 m_Layer = property(_pcbnew.TEXT_ITEM_INFO_m_Layer_get, _pcbnew.TEXT_ITEM_INFO_m_Layer_set, doc=
r"""m_Layer : PCB_LAYER_ID""")
11076 r"""__init__(TEXT_ITEM_INFO self, wxString aText, bool aVisible, PCB_LAYER_ID aLayer) -> TEXT_ITEM_INFO"""
11077 _pcbnew.TEXT_ITEM_INFO_swiginit(self, _pcbnew.new_TEXT_ITEM_INFO(aText, aVisible, aLayer))
11080 r"""__eq__(TEXT_ITEM_INFO self, TEXT_ITEM_INFO aOther) -> bool"""
11081 return _pcbnew.TEXT_ITEM_INFO___eq__(self, aOther)
11082 __swig_destroy__ = _pcbnew.delete_TEXT_ITEM_INFO
11085_pcbnew.TEXT_ITEM_INFO_swigregister(TEXT_ITEM_INFO)
11087 r"""Proxy of C++ BOARD_DESIGN_SETTINGS class."""
11089 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11090 __repr__ = _swig_repr
11091 __swig_destroy__ = _pcbnew.delete_BOARD_DESIGN_SETTINGS
11094 r"""__eq__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> bool"""
11095 return _pcbnew.BOARD_DESIGN_SETTINGS___eq__(self, aOther)
11098 r"""__ne__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> bool"""
11099 return _pcbnew.BOARD_DESIGN_SETTINGS___ne__(self, aOther)
11103 __init__(BOARD_DESIGN_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> BOARD_DESIGN_SETTINGS
11104 __init__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> BOARD_DESIGN_SETTINGS
11106 _pcbnew.BOARD_DESIGN_SETTINGS_swiginit(self, _pcbnew.new_BOARD_DESIGN_SETTINGS(*args))
11109 r"""LoadFromFile(BOARD_DESIGN_SETTINGS self, wxString aDirectory="") -> bool"""
11110 return _pcbnew.BOARD_DESIGN_SETTINGS_LoadFromFile(self, *args)
11117 return _pcbnew.BOARD_DESIGN_SETTINGS_GetStackupDescriptor(self, *args)
11120 r"""GetTeadropParamsList(BOARD_DESIGN_SETTINGS self) -> TEARDROP_PARAMETERS_LIST *"""
11121 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTeadropParamsList(self)
11124 r"""GetSeverity(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> SEVERITY"""
11125 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSeverity(self, aDRCErrorCode)
11128 r"""Ignore(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> bool"""
11129 return _pcbnew.BOARD_DESIGN_SETTINGS_Ignore(self, aDRCErrorCode)
11132 r"""GetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self) -> ZONE_SETTINGS"""
11133 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDefaultZoneSettings(self)
11136 r"""SetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self, ZONE_SETTINGS aSettings)"""
11137 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDefaultZoneSettings(self, aSettings)
11140 r"""GetCurrentNetClassName(BOARD_DESIGN_SETTINGS self) -> wxString"""
11141 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentNetClassName(self)
11144 r"""UseNetClassTrack(BOARD_DESIGN_SETTINGS self) -> bool"""
11145 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassTrack(self)
11148 r"""UseNetClassVia(BOARD_DESIGN_SETTINGS self) -> bool"""
11149 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassVia(self)
11152 r"""UseNetClassDiffPair(BOARD_DESIGN_SETTINGS self) -> bool"""
11153 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassDiffPair(self)
11156 r"""GetBiggestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
11157 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBiggestClearanceValue(self)
11160 r"""GetSmallestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
11161 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSmallestClearanceValue(self)
11164 r"""GetTrackWidthIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
11165 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTrackWidthIndex(self)
11168 r"""SetTrackWidthIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
11169 return _pcbnew.BOARD_DESIGN_SETTINGS_SetTrackWidthIndex(self, aIndex)
11172 r"""GetCurrentTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
11173 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentTrackWidth(self)
11176 r"""SetCustomTrackWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
11177 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomTrackWidth(self, aWidth)
11180 r"""GetCustomTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
11181 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomTrackWidth(self)
11184 r"""GetViaSizeIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
11185 return _pcbnew.BOARD_DESIGN_SETTINGS_GetViaSizeIndex(self)
11188 r"""SetViaSizeIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
11189 return _pcbnew.BOARD_DESIGN_SETTINGS_SetViaSizeIndex(self, aIndex)
11192 r"""GetCurrentViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
11193 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaSize(self)
11196 r"""SetCustomViaSize(BOARD_DESIGN_SETTINGS self, int aSize)"""
11197 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaSize(self, aSize)
11200 r"""GetCustomViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
11201 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaSize(self)
11204 r"""GetCurrentViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
11205 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaDrill(self)
11208 r"""SetCustomViaDrill(BOARD_DESIGN_SETTINGS self, int aDrill)"""
11209 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaDrill(self, aDrill)
11212 r"""GetCustomViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
11213 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaDrill(self)
11220 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomTrackViaSize(self, *args)
11223 r"""GetDiffPairIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
11224 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDiffPairIndex(self)
11227 r"""SetDiffPairIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
11228 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDiffPairIndex(self, aIndex)
11231 r"""SetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
11232 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairWidth(self, aWidth)
11235 r"""GetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
11236 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairWidth(self)
11239 r"""SetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
11240 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairGap(self, aGap)
11243 r"""GetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
11244 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairGap(self)
11247 r"""SetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
11248 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairViaGap(self, aGap)
11251 r"""GetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
11252 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairViaGap(self)
11259 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomDiffPairDimensions(self, *args)
11262 r"""GetCurrentDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
11263 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairWidth(self)
11266 r"""GetCurrentDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
11267 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairGap(self)
11270 r"""GetCurrentDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
11271 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairViaGap(self)
11274 r"""GetEnabledLayers(BOARD_DESIGN_SETTINGS self) -> LSET"""
11275 return _pcbnew.BOARD_DESIGN_SETTINGS_GetEnabledLayers(self)
11278 r"""SetEnabledLayers(BOARD_DESIGN_SETTINGS self, LSET aMask)"""
11279 return _pcbnew.BOARD_DESIGN_SETTINGS_SetEnabledLayers(self, aMask)
11282 r"""IsLayerEnabled(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayerId) -> bool"""
11283 return _pcbnew.BOARD_DESIGN_SETTINGS_IsLayerEnabled(self, aLayerId)
11286 r"""GetCopperLayerCount(BOARD_DESIGN_SETTINGS self) -> int"""
11287 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCopperLayerCount(self)
11290 r"""SetCopperLayerCount(BOARD_DESIGN_SETTINGS self, int aNewLayerCount)"""
11291 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCopperLayerCount(self, aNewLayerCount)
11294 r"""GetUserDefinedLayerCount(BOARD_DESIGN_SETTINGS self) -> int"""
11295 return _pcbnew.BOARD_DESIGN_SETTINGS_GetUserDefinedLayerCount(self)
11298 r"""SetUserDefinedLayerCount(BOARD_DESIGN_SETTINGS self, int aNewLayerCount)"""
11299 return _pcbnew.BOARD_DESIGN_SETTINGS_SetUserDefinedLayerCount(self, aNewLayerCount)
11302 r"""GetBoardThickness(BOARD_DESIGN_SETTINGS self) -> int"""
11303 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBoardThickness(self)
11306 r"""SetBoardThickness(BOARD_DESIGN_SETTINGS self, int aThickness)"""
11307 return _pcbnew.BOARD_DESIGN_SETTINGS_SetBoardThickness(self, aThickness)
11310 r"""GetDRCEpsilon(BOARD_DESIGN_SETTINGS self) -> int"""
11311 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDRCEpsilon(self)
11314 r"""GetHolePlatingThickness(BOARD_DESIGN_SETTINGS self) -> int"""
11315 return _pcbnew.BOARD_DESIGN_SETTINGS_GetHolePlatingThickness(self)
11318 r"""GetLineThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
11319 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLineThickness(self, aLayer)
11322 r"""GetTextSize(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
11323 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextSize(self, aLayer)
11326 r"""GetTextThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
11327 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextThickness(self, aLayer)
11330 r"""GetTextItalic(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
11331 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextItalic(self, aLayer)
11334 r"""GetTextUpright(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
11335 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextUpright(self, aLayer)
11338 r"""GetLayerClass(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
11339 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLayerClass(self, aLayer)
11342 r"""SetAuxOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
11343 return _pcbnew.BOARD_DESIGN_SETTINGS_SetAuxOrigin(self, aOrigin)
11346 r"""GetAuxOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
11347 return _pcbnew.BOARD_DESIGN_SETTINGS_GetAuxOrigin(self)
11350 r"""SetGridOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
11351 return _pcbnew.BOARD_DESIGN_SETTINGS_SetGridOrigin(self, aOrigin)
11354 r"""GetGridOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
11355 return _pcbnew.BOARD_DESIGN_SETTINGS_GetGridOrigin(self)
11358 r"""SetDefaultMasterPad(BOARD_DESIGN_SETTINGS self)"""
11359 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDefaultMasterPad(self)
11360 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)>)>""")
11361 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)>)>""")
11362 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)>)>""")
11363 m_TeardropParamsList = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_set, doc=
r"""m_TeardropParamsList : TEARDROP_PARAMETERS_LIST""")
11364 m_SingleTrackMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SingleTrackMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SingleTrackMeanderSettings_set, doc=
r"""m_SingleTrackMeanderSettings : PNS::MEANDER_SETTINGS""")
11365 m_DiffPairMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairMeanderSettings_set, doc=
r"""m_DiffPairMeanderSettings : PNS::MEANDER_SETTINGS""")
11366 m_SkewMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SkewMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SkewMeanderSettings_set, doc=
r"""m_SkewMeanderSettings : PNS::MEANDER_SETTINGS""")
11367 m_CurrentViaType = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_set, doc=
r"""m_CurrentViaType : VIATYPE""")
11368 m_UseConnectedTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_set, doc=
r"""m_UseConnectedTrackWidth : bool""")
11369 m_TempOverrideTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_set, doc=
r"""m_TempOverrideTrackWidth : bool""")
11370 m_MinClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_set, doc=
r"""m_MinClearance : int""")
11371 m_MinGrooveWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinGrooveWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinGrooveWidth_set, doc=
r"""m_MinGrooveWidth : int""")
11372 m_MinConn = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_set, doc=
r"""m_MinConn : int""")
11373 m_TrackMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_set, doc=
r"""m_TrackMinWidth : int""")
11374 m_ViasMinAnnularWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_set, doc=
r"""m_ViasMinAnnularWidth : int""")
11375 m_ViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_set, doc=
r"""m_ViasMinSize : int""")
11376 m_MinThroughDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_set, doc=
r"""m_MinThroughDrill : int""")
11377 m_MicroViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_set, doc=
r"""m_MicroViasMinSize : int""")
11378 m_MicroViasMinDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_set, doc=
r"""m_MicroViasMinDrill : int""")
11379 m_CopperEdgeClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_set, doc=
r"""m_CopperEdgeClearance : int""")
11380 m_HoleClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_set, doc=
r"""m_HoleClearance : int""")
11381 m_HoleToHoleMin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_set, doc=
r"""m_HoleToHoleMin : int""")
11382 m_SilkClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_set, doc=
r"""m_SilkClearance : int""")
11383 m_MinResolvedSpokes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_set, doc=
r"""m_MinResolvedSpokes : int""")
11384 m_MinSilkTextHeight = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_set, doc=
r"""m_MinSilkTextHeight : int""")
11385 m_MinSilkTextThickness = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_set, doc=
r"""m_MinSilkTextThickness : int""")
11386 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)>)>)>""")
11387 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)>)>""")
11388 m_DrcExclusionComments = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DrcExclusionComments_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DrcExclusionComments_set, doc=
r"""m_DrcExclusionComments : std::map<(wxString,wxString,std::less<(wxString)>,std::allocator<(std::pair<(q(const).wxString,wxString)>)>)>""")
11389 m_ZoneKeepExternalFillets = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_set, doc=
r"""m_ZoneKeepExternalFillets : bool""")
11390 m_MaxError = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_set, doc=
r"""m_MaxError : int""")
11391 m_SolderMaskExpansion = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_set, doc=
r"""m_SolderMaskExpansion : int""")
11392 m_SolderMaskMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_set, doc=
r"""m_SolderMaskMinWidth : int""")
11393 m_SolderMaskToCopperClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_set, doc=
r"""m_SolderMaskToCopperClearance : int""")
11394 m_SolderPasteMargin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_set, doc=
r"""m_SolderPasteMargin : int""")
11395 m_SolderPasteMarginRatio = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_set, doc=
r"""m_SolderPasteMarginRatio : double""")
11396 m_AllowSoldermaskBridgesInFPs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_set, doc=
r"""m_AllowSoldermaskBridgesInFPs : bool""")
11397 m_TentViasFront = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TentViasFront_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TentViasFront_set, doc=
r"""m_TentViasFront : bool""")
11398 m_TentViasBack = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TentViasBack_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TentViasBack_set, doc=
r"""m_TentViasBack : bool""")
11399 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)>""")
11400 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)>)>""")
11401 m_UserLayerNames = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UserLayerNames_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UserLayerNames_set, doc=
r"""m_UserLayerNames : std::map<(std::string,wxString,std::less<(std::string)>,std::allocator<(std::pair<(q(const).std::string,wxString)>)>)>""")
11402 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""")
11403 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""")
11404 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""")
11405 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""")
11406 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""")
11407 m_DimensionUnitsMode = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_set, doc=
r"""m_DimensionUnitsMode : DIM_UNITS_MODE""")
11408 m_DimensionPrecision = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_set, doc=
r"""m_DimensionPrecision : DIM_PRECISION""")
11409 m_DimensionUnitsFormat = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_set, doc=
r"""m_DimensionUnitsFormat : DIM_UNITS_FORMAT""")
11410 m_DimensionSuppressZeroes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_set, doc=
r"""m_DimensionSuppressZeroes : bool""")
11411 m_DimensionTextPosition = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_set, doc=
r"""m_DimensionTextPosition : DIM_TEXT_POSITION""")
11412 m_DimensionKeepTextAligned = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_set, doc=
r"""m_DimensionKeepTextAligned : bool""")
11413 m_DimensionArrowLength = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_set, doc=
r"""m_DimensionArrowLength : int""")
11414 m_DimensionExtensionOffset = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_set, doc=
r"""m_DimensionExtensionOffset : int""")
11415 m_StyleFPFields = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPFields_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPFields_set, doc=
r"""m_StyleFPFields : bool""")
11416 m_StyleFPText = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPText_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPText_set, doc=
r"""m_StyleFPText : bool""")
11417 m_StyleFPShapes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPShapes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPShapes_set, doc=
r"""m_StyleFPShapes : bool""")
11418 m_HasStackup = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_set, doc=
r"""m_HasStackup : bool""")
11419 m_UseHeightForLengthCalcs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_set, doc=
r"""m_UseHeightForLengthCalcs : bool""")
11422 r"""CloneFrom(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther)"""
11423 return _pcbnew.BOARD_DESIGN_SETTINGS_CloneFrom(self, aOther)
11426_pcbnew.BOARD_DESIGN_SETTINGS_swigregister(BOARD_DESIGN_SETTINGS)
11428 r"""Proxy of C++ NET_SETTINGS class."""
11430 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11431 __repr__ = _swig_repr
11434 r"""__init__(NET_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> NET_SETTINGS"""
11435 _pcbnew.NET_SETTINGS_swiginit(self, _pcbnew.new_NET_SETTINGS(aParent, aPath))
11436 __swig_destroy__ = _pcbnew.delete_NET_SETTINGS
11439 r"""__eq__(NET_SETTINGS self, NET_SETTINGS aOther) -> bool"""
11440 return _pcbnew.NET_SETTINGS___eq__(self, aOther)
11443 r"""__ne__(NET_SETTINGS self, NET_SETTINGS aOther) -> bool"""
11444 return _pcbnew.NET_SETTINGS___ne__(self, aOther)
11447 r"""SetDefaultNetclass(NET_SETTINGS self, std::shared_ptr< NETCLASS > netclass)"""
11448 return _pcbnew.NET_SETTINGS_SetDefaultNetclass(self, netclass)
11451 r"""GetDefaultNetclass(NET_SETTINGS self) -> std::shared_ptr< NETCLASS >"""
11452 return _pcbnew.NET_SETTINGS_GetDefaultNetclass(self)
11455 r"""HasNetclass(NET_SETTINGS self, wxString netclassName) -> bool"""
11456 return _pcbnew.NET_SETTINGS_HasNetclass(self, netclassName)
11459 r"""SetNetclass(NET_SETTINGS self, wxString netclassName, std::shared_ptr< NETCLASS > & netclass)"""
11460 return _pcbnew.NET_SETTINGS_SetNetclass(self, netclassName, netclass)
11463 r"""SetNetclasses(NET_SETTINGS self, netclasses_map netclasses)"""
11464 return _pcbnew.NET_SETTINGS_SetNetclasses(self, netclasses)
11467 r"""GetNetclasses(NET_SETTINGS self) -> netclasses_map"""
11468 return _pcbnew.NET_SETTINGS_GetNetclasses(self)
11471 r"""GetCompositeNetclasses(NET_SETTINGS self) -> netclasses_map"""
11472 return _pcbnew.NET_SETTINGS_GetCompositeNetclasses(self)
11475 r"""ClearNetclasses(NET_SETTINGS self)"""
11476 return _pcbnew.NET_SETTINGS_ClearNetclasses(self)
11479 r"""GetNetclassLabelAssignments(NET_SETTINGS self) -> std::map< wxString,std::set< wxString,std::less< wxString >,std::allocator< wxString > >,std::less< wxString >,std::allocator< std::pair< wxString const,std::set< wxString,std::less< wxString >,std::allocator< wxString > > > > > const &"""
11480 return _pcbnew.NET_SETTINGS_GetNetclassLabelAssignments(self)
11483 r"""ClearNetclassLabelAssignments(NET_SETTINGS self)"""
11484 return _pcbnew.NET_SETTINGS_ClearNetclassLabelAssignments(self)
11487 r"""ClearNetclassLabelAssignment(NET_SETTINGS self, wxString netName)"""
11488 return _pcbnew.NET_SETTINGS_ClearNetclassLabelAssignment(self, netName)
11491 r"""SetNetclassLabelAssignment(NET_SETTINGS self, wxString netName, STRINGSET netclasses)"""
11492 return _pcbnew.NET_SETTINGS_SetNetclassLabelAssignment(self, netName, netclasses)
11495 r"""AppendNetclassLabelAssignment(NET_SETTINGS self, wxString netName, STRINGSET netclasses)"""
11496 return _pcbnew.NET_SETTINGS_AppendNetclassLabelAssignment(self, netName, netclasses)
11499 r"""HasNetclassLabelAssignment(NET_SETTINGS self, wxString netName) -> bool"""
11500 return _pcbnew.NET_SETTINGS_HasNetclassLabelAssignment(self, netName)
11503 r"""SetNetclassPatternAssignment(NET_SETTINGS self, wxString pattern, wxString netclass)"""
11504 return _pcbnew.NET_SETTINGS_SetNetclassPatternAssignment(self, pattern, netclass)
11507 r"""SetNetclassPatternAssignments(NET_SETTINGS self, std::vector< std::pair< std::unique_ptr< EDA_COMBINED_MATCHER >,wxString >,std::allocator< std::pair< std::unique_ptr< EDA_COMBINED_MATCHER >,wxString > > > && netclassPatterns)"""
11508 return _pcbnew.NET_SETTINGS_SetNetclassPatternAssignments(self, netclassPatterns)
11511 r"""GetNetclassPatternAssignments(NET_SETTINGS self) -> std::vector< std::pair< std::unique_ptr< EDA_COMBINED_MATCHER >,wxString >,std::allocator< std::pair< std::unique_ptr< EDA_COMBINED_MATCHER >,wxString > > > &"""
11512 return _pcbnew.NET_SETTINGS_GetNetclassPatternAssignments(self)
11515 r"""ClearNetclassPatternAssignments(NET_SETTINGS self)"""
11516 return _pcbnew.NET_SETTINGS_ClearNetclassPatternAssignments(self)
11519 r"""ClearCacheForNet(NET_SETTINGS self, wxString netName)"""
11520 return _pcbnew.NET_SETTINGS_ClearCacheForNet(self, netName)
11523 r"""ClearAllCaches(NET_SETTINGS self)"""
11524 return _pcbnew.NET_SETTINGS_ClearAllCaches(self)
11527 r"""SetNetColorAssignment(NET_SETTINGS self, wxString netName, COLOR4D color)"""
11528 return _pcbnew.NET_SETTINGS_SetNetColorAssignment(self, netName, color)
11531 r"""GetNetColorAssignments(NET_SETTINGS self) -> std::map< wxString,KIGFX::COLOR4D,std::less< wxString >,std::allocator< std::pair< wxString const,KIGFX::COLOR4D > > > const &"""
11532 return _pcbnew.NET_SETTINGS_GetNetColorAssignments(self)
11535 r"""ClearNetColorAssignments(NET_SETTINGS self)"""
11536 return _pcbnew.NET_SETTINGS_ClearNetColorAssignments(self)
11539 r"""HasEffectiveNetClass(NET_SETTINGS self, wxString aNetName) -> bool"""
11540 return _pcbnew.NET_SETTINGS_HasEffectiveNetClass(self, aNetName)
11543 r"""GetCachedEffectiveNetClass(NET_SETTINGS self, wxString aNetName) -> std::shared_ptr< NETCLASS >"""
11544 return _pcbnew.NET_SETTINGS_GetCachedEffectiveNetClass(self, aNetName)
11547 r"""GetEffectiveNetClass(NET_SETTINGS self, wxString aNetName) -> std::shared_ptr< NETCLASS >"""
11548 return _pcbnew.NET_SETTINGS_GetEffectiveNetClass(self, aNetName)
11551 r"""RecomputeEffectiveNetclasses(NET_SETTINGS self)"""
11552 return _pcbnew.NET_SETTINGS_RecomputeEffectiveNetclasses(self)
11555 r"""GetNetClassByName(NET_SETTINGS self, wxString aNetName) -> std::shared_ptr< NETCLASS >"""
11556 return _pcbnew.NET_SETTINGS_GetNetClassByName(self, aNetName)
11560 r"""ParseBusVector(wxString aBus, wxString aName, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11561 return _pcbnew.NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
11565 r"""ParseBusGroup(wxString aGroup, wxString name, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11566 return _pcbnew.NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
11569_pcbnew.NET_SETTINGS_swigregister(NET_SETTINGS)
11571 r"""Proxy of C++ CN_DISJOINT_NET_ENTRY class."""
11573 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11574 __repr__ = _swig_repr
11575 net = property(_pcbnew.CN_DISJOINT_NET_ENTRY_net_get, _pcbnew.CN_DISJOINT_NET_ENTRY_net_set, doc=
r"""net : int""")
11576 a = property(_pcbnew.CN_DISJOINT_NET_ENTRY_a_get, _pcbnew.CN_DISJOINT_NET_ENTRY_a_set, doc=
r"""a : p.BOARD_CONNECTED_ITEM""")
11577 b = property(_pcbnew.CN_DISJOINT_NET_ENTRY_b_get, _pcbnew.CN_DISJOINT_NET_ENTRY_b_set, doc=
r"""b : p.BOARD_CONNECTED_ITEM""")
11578 anchorA = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_set, doc=
r"""anchorA : VECTOR2I""")
11579 anchorB = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_set, doc=
r"""anchorB : VECTOR2I""")
11582 r"""__init__(CN_DISJOINT_NET_ENTRY self) -> CN_DISJOINT_NET_ENTRY"""
11583 _pcbnew.CN_DISJOINT_NET_ENTRY_swiginit(self, _pcbnew.new_CN_DISJOINT_NET_ENTRY())
11584 __swig_destroy__ = _pcbnew.delete_CN_DISJOINT_NET_ENTRY
11587_pcbnew.CN_DISJOINT_NET_ENTRY_swigregister(CN_DISJOINT_NET_ENTRY)
11589 r"""Proxy of C++ RN_DYNAMIC_LINE class."""
11591 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11592 __repr__ = _swig_repr
11593 netCode = property(_pcbnew.RN_DYNAMIC_LINE_netCode_get, _pcbnew.RN_DYNAMIC_LINE_netCode_set, doc=
r"""netCode : int""")
11594 a = property(_pcbnew.RN_DYNAMIC_LINE_a_get, _pcbnew.RN_DYNAMIC_LINE_a_set, doc=
r"""a : VECTOR2I""")
11595 b = property(_pcbnew.RN_DYNAMIC_LINE_b_get, _pcbnew.RN_DYNAMIC_LINE_b_set, doc=
r"""b : VECTOR2I""")
11598 r"""__init__(RN_DYNAMIC_LINE self) -> RN_DYNAMIC_LINE"""
11599 _pcbnew.RN_DYNAMIC_LINE_swiginit(self, _pcbnew.new_RN_DYNAMIC_LINE())
11600 __swig_destroy__ = _pcbnew.delete_RN_DYNAMIC_LINE
11603_pcbnew.RN_DYNAMIC_LINE_swigregister(RN_DYNAMIC_LINE)
11604PROPAGATE_MODE_SKIP_CONFLICTS = _pcbnew.PROPAGATE_MODE_SKIP_CONFLICTS
11606PROPAGATE_MODE_RESOLVE_CONFLICTS = _pcbnew.PROPAGATE_MODE_RESOLVE_CONFLICTS
11609 r"""Proxy of C++ CONNECTIVITY_DATA class."""
11611 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11612 __repr__ = _swig_repr
11613 __swig_destroy__ = _pcbnew.delete_CONNECTIVITY_DATA
11617 __init__(CONNECTIVITY_DATA self) -> CONNECTIVITY_DATA
11618 __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
11620 _pcbnew.CONNECTIVITY_DATA_swiginit(self, _pcbnew.new_CONNECTIVITY_DATA(*args))
11624 Build(CONNECTIVITY_DATA self, BOARD aBoard, PROGRESS_REPORTER * aReporter=None) -> bool
11625 Build(CONNECTIVITY_DATA self, std::shared_ptr< CONNECTIVITY_DATA > & aGlobalConnectivity, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aLocalItems)
11627 return _pcbnew.CONNECTIVITY_DATA_Build(self, *args)
11630 r"""Add(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11631 return _pcbnew.CONNECTIVITY_DATA_Add(self, aItem)
11634 r"""Remove(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11635 return _pcbnew.CONNECTIVITY_DATA_Remove(self, aItem)
11638 r"""Update(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11639 return _pcbnew.CONNECTIVITY_DATA_Update(self, aItem)
11642 r"""Move(CONNECTIVITY_DATA self, VECTOR2I aDelta)"""
11643 return _pcbnew.CONNECTIVITY_DATA_Move(self, aDelta)
11646 r"""ClearRatsnest(CONNECTIVITY_DATA self)"""
11647 return _pcbnew.CONNECTIVITY_DATA_ClearRatsnest(self)
11650 r"""GetNetCount(CONNECTIVITY_DATA self) -> int"""
11651 return _pcbnew.CONNECTIVITY_DATA_GetNetCount(self)
11654 r"""GetRatsnestForNet(CONNECTIVITY_DATA self, int aNet) -> RN_NET *"""
11655 return _pcbnew.CONNECTIVITY_DATA_GetRatsnestForNet(self, aNet)
11658 r"""PropagateNets(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
11659 return _pcbnew.CONNECTIVITY_DATA_PropagateNets(self, aCommit)
11662 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)"""
11663 return _pcbnew.CONNECTIVITY_DATA_FillIsolatedIslandsMap(self, aMap, aConnectivityAlreadyRebuilt)
11666 r"""RecalculateRatsnest(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
11667 return _pcbnew.CONNECTIVITY_DATA_RecalculateRatsnest(self, aCommit)
11670 r"""GetUnconnectedCount(CONNECTIVITY_DATA self, bool aVisibileOnly) -> unsigned int"""
11671 return _pcbnew.CONNECTIVITY_DATA_GetUnconnectedCount(self, aVisibileOnly)
11674 r"""IsConnectedOnLayer(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, int aLayer, std::initializer_list< KICAD_T > const & aTypes={}) -> bool"""
11675 return _pcbnew.CONNECTIVITY_DATA_IsConnectedOnLayer(self, *args)
11678 r"""GetNodeCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
11679 return _pcbnew.CONNECTIVITY_DATA_GetNodeCount(self, aNet)
11682 r"""GetPadCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
11683 return _pcbnew.CONNECTIVITY_DATA_GetPadCount(self, aNet)
11686 r"""GetConnectedTracks(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> TRACKS_VEC"""
11687 return _pcbnew.CONNECTIVITY_DATA_GetConnectedTracks(self, aItem)
11691 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> PADS_VEC
11692 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::set< PAD *,std::less< PAD * >,std::allocator< PAD * > > * pads)
11694 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPads(self, *args)
11697 r"""GetConnectedPadsAndVias(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, PADS_VEC pads, std::vector< PCB_VIA *,std::allocator< PCB_VIA * > > * vias)"""
11698 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPadsAndVias(self, aItem, pads, vias)
11701 r"""GetConnectedItemsAtAnchor(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, VECTOR2I aAnchor, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aTypes, int const & aMaxError=0) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
11702 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItemsAtAnchor(self, aItem, aAnchor, aTypes, aMaxError)
11705 r"""RunOnUnconnectedEdges(CONNECTIVITY_DATA self, std::function< bool (CN_EDGE &) > aFunc)"""
11706 return _pcbnew.CONNECTIVITY_DATA_RunOnUnconnectedEdges(self, aFunc)
11709 r"""TestTrackEndpointDangling(CONNECTIVITY_DATA self, PCB_TRACK aTrack, bool aIgnoreTracksInPads, VECTOR2I aPos=None) -> bool"""
11710 return _pcbnew.CONNECTIVITY_DATA_TestTrackEndpointDangling(self, aTrack, aIgnoreTracksInPads, aPos)
11713 r"""ClearLocalRatsnest(CONNECTIVITY_DATA self)"""
11714 return _pcbnew.CONNECTIVITY_DATA_ClearLocalRatsnest(self)
11717 r"""HideLocalRatsnest(CONNECTIVITY_DATA self)"""
11718 return _pcbnew.CONNECTIVITY_DATA_HideLocalRatsnest(self)
11721 r"""ComputeLocalRatsnest(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems, CONNECTIVITY_DATA aDynamicData, VECTOR2I aInternalOffset={ 0, 0 })"""
11722 return _pcbnew.CONNECTIVITY_DATA_ComputeLocalRatsnest(self, *args)
11725 r"""GetLocalRatsnest(CONNECTIVITY_DATA self) -> std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &"""
11726 return _pcbnew.CONNECTIVITY_DATA_GetLocalRatsnest(self)
11729 r"""GetConnectedItems(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aTypes, bool aIgnoreNetcodes=False) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
11730 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItems(self, aItem, aTypes, aIgnoreNetcodes)
11733 r"""GetNetItems(CONNECTIVITY_DATA self, int aNetCode, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aTypes) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
11734 return _pcbnew.CONNECTIVITY_DATA_GetNetItems(self, aNetCode, aTypes)
11737 r"""BlockRatsnestItems(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)"""
11738 return _pcbnew.CONNECTIVITY_DATA_BlockRatsnestItems(self, aItems)
11741 r"""GetConnectivityAlgo(CONNECTIVITY_DATA self) -> std::shared_ptr< CN_CONNECTIVITY_ALGO >"""
11742 return _pcbnew.CONNECTIVITY_DATA_GetConnectivityAlgo(self)
11745 r"""GetLock(CONNECTIVITY_DATA self) -> KISPINLOCK &"""
11746 return _pcbnew.CONNECTIVITY_DATA_GetLock(self)
11749 r"""MarkItemNetAsDirty(CONNECTIVITY_DATA self, BOARD_ITEM aItem)"""
11750 return _pcbnew.CONNECTIVITY_DATA_MarkItemNetAsDirty(self, aItem)
11753 r"""RemoveInvalidRefs(CONNECTIVITY_DATA self)"""
11754 return _pcbnew.CONNECTIVITY_DATA_RemoveInvalidRefs(self)
11757 r"""SetProgressReporter(CONNECTIVITY_DATA self, PROGRESS_REPORTER * aReporter)"""
11758 return _pcbnew.CONNECTIVITY_DATA_SetProgressReporter(self, aReporter)
11761 r"""GetNetSettings(CONNECTIVITY_DATA self) -> NET_SETTINGS"""
11762 return _pcbnew.CONNECTIVITY_DATA_GetNetSettings(self)
11765 r"""HasNetNameForNetCode(CONNECTIVITY_DATA self, int nc) -> bool"""
11766 return _pcbnew.CONNECTIVITY_DATA_HasNetNameForNetCode(self, nc)
11769 r"""GetNetNameForNetCode(CONNECTIVITY_DATA self, int nc) -> wxString"""
11770 return _pcbnew.CONNECTIVITY_DATA_GetNetNameForNetCode(self, nc)
11773 r"""RefreshNetcodeMap(CONNECTIVITY_DATA self, BOARD aBoard)"""
11774 return _pcbnew.CONNECTIVITY_DATA_RefreshNetcodeMap(self, aBoard)
11777 r"""GetFromToCache(CONNECTIVITY_DATA self) -> std::shared_ptr< FROM_TO_CACHE >"""
11778 return _pcbnew.CONNECTIVITY_DATA_GetFromToCache(self)
11781_pcbnew.CONNECTIVITY_DATA_swigregister(CONNECTIVITY_DATA)
11783 r"""Proxy of C++ std::vector< PCB_MARKER * > class."""
11785 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11786 __repr__ = _swig_repr
11789 r"""iterator(MARKERS self) -> SwigPyIterator"""
11790 return _pcbnew.MARKERS_iterator(self)
11795 r"""__nonzero__(MARKERS self) -> bool"""
11796 return _pcbnew.MARKERS___nonzero__(self)
11799 r"""__bool__(MARKERS self) -> bool"""
11800 return _pcbnew.MARKERS___bool__(self)
11803 r"""__len__(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11804 return _pcbnew.MARKERS___len__(self)
11807 r"""__getslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j) -> MARKERS"""
11808 return _pcbnew.MARKERS___getslice__(self, i, j)
11812 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)
11813 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j, MARKERS v)
11815 return _pcbnew.MARKERS___setslice__(self, *args)
11818 r"""__delslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)"""
11819 return _pcbnew.MARKERS___delslice__(self, i, j)
11823 __delitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i)
11824 __delitem__(MARKERS self, SWIGPY_SLICEOBJECT * slice)
11826 return _pcbnew.MARKERS___delitem__(self, *args)
11830 __getitem__(MARKERS self, SWIGPY_SLICEOBJECT * slice) -> MARKERS
11831 __getitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i) -> PCB_MARKER
11833 return _pcbnew.MARKERS___getitem__(self, *args)
11837 __setitem__(MARKERS self, SWIGPY_SLICEOBJECT * slice, MARKERS v)
11838 __setitem__(MARKERS self, SWIGPY_SLICEOBJECT * slice)
11839 __setitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, PCB_MARKER x)
11841 return _pcbnew.MARKERS___setitem__(self, *args)
11844 r"""pop(MARKERS self) -> PCB_MARKER"""
11845 return _pcbnew.MARKERS_pop(self)
11848 r"""append(MARKERS self, PCB_MARKER x)"""
11849 return _pcbnew.MARKERS_append(self, x)
11852 r"""empty(MARKERS self) -> bool"""
11853 return _pcbnew.MARKERS_empty(self)
11856 r"""size(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11857 return _pcbnew.MARKERS_size(self)
11860 r"""swap(MARKERS self, MARKERS v)"""
11861 return _pcbnew.MARKERS_swap(self, v)
11864 r"""begin(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
11865 return _pcbnew.MARKERS_begin(self)
11868 r"""end(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
11869 return _pcbnew.MARKERS_end(self)
11872 r"""rbegin(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11873 return _pcbnew.MARKERS_rbegin(self)
11876 r"""rend(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11877 return _pcbnew.MARKERS_rend(self)
11880 r"""clear(MARKERS self)"""
11881 return _pcbnew.MARKERS_clear(self)
11884 r"""get_allocator(MARKERS self) -> std::vector< PCB_MARKER * >::allocator_type"""
11885 return _pcbnew.MARKERS_get_allocator(self)
11888 r"""pop_back(MARKERS self)"""
11889 return _pcbnew.MARKERS_pop_back(self)
11893 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator pos) -> std::vector< PCB_MARKER * >::iterator
11894 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator first, std::vector< PCB_MARKER * >::iterator last) -> std::vector< PCB_MARKER * >::iterator
11896 return _pcbnew.MARKERS_erase(self, *args)
11901 __init__(MARKERS self, MARKERS other) -> MARKERS
11902 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size) -> MARKERS
11903 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size, PCB_MARKER value) -> MARKERS
11905 _pcbnew.MARKERS_swiginit(self, _pcbnew.new_MARKERS(*args))
11908 r"""push_back(MARKERS self, PCB_MARKER x)"""
11909 return _pcbnew.MARKERS_push_back(self, x)
11912 r"""front(MARKERS self) -> PCB_MARKER"""
11913 return _pcbnew.MARKERS_front(self)
11916 r"""back(MARKERS self) -> PCB_MARKER"""
11917 return _pcbnew.MARKERS_back(self)
11920 r"""assign(MARKERS self, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)"""
11921 return _pcbnew.MARKERS_assign(self, n, x)
11925 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size)
11926 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size, PCB_MARKER x)
11928 return _pcbnew.MARKERS_resize(self, *args)
11932 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, PCB_MARKER x) -> std::vector< PCB_MARKER * >::iterator
11933 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)
11935 return _pcbnew.MARKERS_insert(self, *args)
11938 r"""reserve(MARKERS self, std::vector< PCB_MARKER * >::size_type n)"""
11939 return _pcbnew.MARKERS_reserve(self, n)
11942 r"""capacity(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11943 return _pcbnew.MARKERS_capacity(self)
11944 __swig_destroy__ = _pcbnew.delete_MARKERS
11947_pcbnew.MARKERS_swigregister(MARKERS)
11949 r"""Proxy of C++ std::vector< ZONE * > class."""
11951 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11952 __repr__ = _swig_repr
11955 r"""iterator(ZONES self) -> SwigPyIterator"""
11956 return _pcbnew.ZONES_iterator(self)
11961 r"""__nonzero__(ZONES self) -> bool"""
11962 return _pcbnew.ZONES___nonzero__(self)
11965 r"""__bool__(ZONES self) -> bool"""
11966 return _pcbnew.ZONES___bool__(self)
11969 r"""__len__(ZONES self) -> std::vector< ZONE * >::size_type"""
11970 return _pcbnew.ZONES___len__(self)
11973 r"""__getslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j) -> ZONES"""
11974 return _pcbnew.ZONES___getslice__(self, i, j)
11978 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)
11979 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j, ZONES v)
11981 return _pcbnew.ZONES___setslice__(self, *args)
11984 r"""__delslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)"""
11985 return _pcbnew.ZONES___delslice__(self, i, j)
11989 __delitem__(ZONES self, std::vector< ZONE * >::difference_type i)
11990 __delitem__(ZONES self, SWIGPY_SLICEOBJECT * slice)
11992 return _pcbnew.ZONES___delitem__(self, *args)
11996 __getitem__(ZONES self, SWIGPY_SLICEOBJECT * slice) -> ZONES
11997 __getitem__(ZONES self, std::vector< ZONE * >::difference_type i) -> ZONE
11999 return _pcbnew.ZONES___getitem__(self, *args)
12003 __setitem__(ZONES self, SWIGPY_SLICEOBJECT * slice, ZONES v)
12004 __setitem__(ZONES self, SWIGPY_SLICEOBJECT * slice)
12005 __setitem__(ZONES self, std::vector< ZONE * >::difference_type i, ZONE x)
12007 return _pcbnew.ZONES___setitem__(self, *args)
12010 r"""pop(ZONES self) -> ZONE"""
12011 return _pcbnew.ZONES_pop(self)
12014 r"""append(ZONES self, ZONE x)"""
12015 return _pcbnew.ZONES_append(self, x)
12018 r"""empty(ZONES self) -> bool"""
12019 return _pcbnew.ZONES_empty(self)
12022 r"""size(ZONES self) -> std::vector< ZONE * >::size_type"""
12023 return _pcbnew.ZONES_size(self)
12026 r"""swap(ZONES self, ZONES v)"""
12027 return _pcbnew.ZONES_swap(self, v)
12030 r"""begin(ZONES self) -> std::vector< ZONE * >::iterator"""
12031 return _pcbnew.ZONES_begin(self)
12034 r"""end(ZONES self) -> std::vector< ZONE * >::iterator"""
12035 return _pcbnew.ZONES_end(self)
12038 r"""rbegin(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
12039 return _pcbnew.ZONES_rbegin(self)
12042 r"""rend(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
12043 return _pcbnew.ZONES_rend(self)
12046 r"""clear(ZONES self)"""
12047 return _pcbnew.ZONES_clear(self)
12050 r"""get_allocator(ZONES self) -> std::vector< ZONE * >::allocator_type"""
12051 return _pcbnew.ZONES_get_allocator(self)
12054 r"""pop_back(ZONES self)"""
12055 return _pcbnew.ZONES_pop_back(self)
12059 erase(ZONES self, std::vector< ZONE * >::iterator pos) -> std::vector< ZONE * >::iterator
12060 erase(ZONES self, std::vector< ZONE * >::iterator first, std::vector< ZONE * >::iterator last) -> std::vector< ZONE * >::iterator
12062 return _pcbnew.ZONES_erase(self, *args)
12067 __init__(ZONES self, ZONES other) -> ZONES
12068 __init__(ZONES self, std::vector< ZONE * >::size_type size) -> ZONES
12069 __init__(ZONES self, std::vector< ZONE * >::size_type size, ZONE value) -> ZONES
12071 _pcbnew.ZONES_swiginit(self, _pcbnew.new_ZONES(*args))
12074 r"""push_back(ZONES self, ZONE x)"""
12075 return _pcbnew.ZONES_push_back(self, x)
12078 r"""front(ZONES self) -> ZONE"""
12079 return _pcbnew.ZONES_front(self)
12082 r"""back(ZONES self) -> ZONE"""
12083 return _pcbnew.ZONES_back(self)
12086 r"""assign(ZONES self, std::vector< ZONE * >::size_type n, ZONE x)"""
12087 return _pcbnew.ZONES_assign(self, n, x)
12091 resize(ZONES self, std::vector< ZONE * >::size_type new_size)
12092 resize(ZONES self, std::vector< ZONE * >::size_type new_size, ZONE x)
12094 return _pcbnew.ZONES_resize(self, *args)
12098 insert(ZONES self, std::vector< ZONE * >::iterator pos, ZONE x) -> std::vector< ZONE * >::iterator
12099 insert(ZONES self, std::vector< ZONE * >::iterator pos, std::vector< ZONE * >::size_type n, ZONE x)
12101 return _pcbnew.ZONES_insert(self, *args)
12104 r"""reserve(ZONES self, std::vector< ZONE * >::size_type n)"""
12105 return _pcbnew.ZONES_reserve(self, n)
12108 r"""capacity(ZONES self) -> std::vector< ZONE * >::size_type"""
12109 return _pcbnew.ZONES_capacity(self)
12110 __swig_destroy__ = _pcbnew.delete_ZONES
12113_pcbnew.ZONES_swigregister(ZONES)
12115 r"""Proxy of C++ std::deque< PCB_TRACK * > class."""
12117 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12118 __repr__ = _swig_repr
12121 r"""iterator(TRACKS self) -> SwigPyIterator"""
12122 return _pcbnew.TRACKS_iterator(self)
12127 r"""__nonzero__(TRACKS self) -> bool"""
12128 return _pcbnew.TRACKS___nonzero__(self)
12131 r"""__bool__(TRACKS self) -> bool"""
12132 return _pcbnew.TRACKS___bool__(self)
12135 r"""__len__(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
12136 return _pcbnew.TRACKS___len__(self)
12139 r"""__getslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j) -> TRACKS"""
12140 return _pcbnew.TRACKS___getslice__(self, i, j)
12144 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)
12145 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j, TRACKS v)
12147 return _pcbnew.TRACKS___setslice__(self, *args)
12150 r"""__delslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)"""
12151 return _pcbnew.TRACKS___delslice__(self, i, j)
12155 __delitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i)
12156 __delitem__(TRACKS self, SWIGPY_SLICEOBJECT * slice)
12158 return _pcbnew.TRACKS___delitem__(self, *args)
12162 __getitem__(TRACKS self, SWIGPY_SLICEOBJECT * slice) -> TRACKS
12163 __getitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i) -> PCB_TRACK
12165 return _pcbnew.TRACKS___getitem__(self, *args)
12169 __setitem__(TRACKS self, SWIGPY_SLICEOBJECT * slice, TRACKS v)
12170 __setitem__(TRACKS self, SWIGPY_SLICEOBJECT * slice)
12171 __setitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, PCB_TRACK x)
12173 return _pcbnew.TRACKS___setitem__(self, *args)
12176 r"""pop(TRACKS self) -> PCB_TRACK"""
12177 return _pcbnew.TRACKS_pop(self)
12180 r"""append(TRACKS self, PCB_TRACK x)"""
12181 return _pcbnew.TRACKS_append(self, x)
12184 r"""empty(TRACKS self) -> bool"""
12185 return _pcbnew.TRACKS_empty(self)
12188 r"""size(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
12189 return _pcbnew.TRACKS_size(self)
12192 r"""swap(TRACKS self, TRACKS v)"""
12193 return _pcbnew.TRACKS_swap(self, v)
12196 r"""begin(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
12197 return _pcbnew.TRACKS_begin(self)
12200 r"""end(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
12201 return _pcbnew.TRACKS_end(self)
12204 r"""rbegin(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
12205 return _pcbnew.TRACKS_rbegin(self)
12208 r"""rend(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
12209 return _pcbnew.TRACKS_rend(self)
12212 r"""clear(TRACKS self)"""
12213 return _pcbnew.TRACKS_clear(self)
12216 r"""get_allocator(TRACKS self) -> std::deque< PCB_TRACK * >::allocator_type"""
12217 return _pcbnew.TRACKS_get_allocator(self)
12220 r"""pop_back(TRACKS self)"""
12221 return _pcbnew.TRACKS_pop_back(self)
12225 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator pos) -> std::deque< PCB_TRACK * >::iterator
12226 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator first, std::deque< PCB_TRACK * >::iterator last) -> std::deque< PCB_TRACK * >::iterator
12228 return _pcbnew.TRACKS_erase(self, *args)
12233 __init__(TRACKS self, TRACKS other) -> TRACKS
12234 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size) -> TRACKS
12235 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS
12237 _pcbnew.TRACKS_swiginit(self, _pcbnew.new_TRACKS(*args))
12240 r"""push_back(TRACKS self, PCB_TRACK x)"""
12241 return _pcbnew.TRACKS_push_back(self, x)
12244 r"""front(TRACKS self) -> PCB_TRACK"""
12245 return _pcbnew.TRACKS_front(self)
12248 r"""back(TRACKS self) -> PCB_TRACK"""
12249 return _pcbnew.TRACKS_back(self)
12252 r"""assign(TRACKS self, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
12253 return _pcbnew.TRACKS_assign(self, n, x)
12257 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size)
12258 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
12260 return _pcbnew.TRACKS_resize(self, *args)
12264 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::deque< PCB_TRACK * >::iterator
12265 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)
12267 return _pcbnew.TRACKS_insert(self, *args)
12270 r"""pop_front(TRACKS self)"""
12271 return _pcbnew.TRACKS_pop_front(self)
12274 r"""push_front(TRACKS self, PCB_TRACK x)"""
12275 return _pcbnew.TRACKS_push_front(self, x)
12283 except StopIteration:
12286 __swig_destroy__ = _pcbnew.delete_TRACKS
12289_pcbnew.TRACKS_swigregister(TRACKS)
12291 r"""Proxy of C++ std::deque< FOOTPRINT * > class."""
12293 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12294 __repr__ = _swig_repr
12297 r"""iterator(FOOTPRINTS self) -> SwigPyIterator"""
12298 return _pcbnew.FOOTPRINTS_iterator(self)
12303 r"""__nonzero__(FOOTPRINTS self) -> bool"""
12304 return _pcbnew.FOOTPRINTS___nonzero__(self)
12307 r"""__bool__(FOOTPRINTS self) -> bool"""
12308 return _pcbnew.FOOTPRINTS___bool__(self)
12311 r"""__len__(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
12312 return _pcbnew.FOOTPRINTS___len__(self)
12315 r"""__getslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j) -> FOOTPRINTS"""
12316 return _pcbnew.FOOTPRINTS___getslice__(self, i, j)
12320 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)
12321 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j, FOOTPRINTS v)
12323 return _pcbnew.FOOTPRINTS___setslice__(self, *args)
12326 r"""__delslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)"""
12327 return _pcbnew.FOOTPRINTS___delslice__(self, i, j)
12331 __delitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i)
12332 __delitem__(FOOTPRINTS self, SWIGPY_SLICEOBJECT * slice)
12334 return _pcbnew.FOOTPRINTS___delitem__(self, *args)
12338 __getitem__(FOOTPRINTS self, SWIGPY_SLICEOBJECT * slice) -> FOOTPRINTS
12339 __getitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i) -> FOOTPRINT
12341 return _pcbnew.FOOTPRINTS___getitem__(self, *args)
12345 __setitem__(FOOTPRINTS self, SWIGPY_SLICEOBJECT * slice, FOOTPRINTS v)
12346 __setitem__(FOOTPRINTS self, SWIGPY_SLICEOBJECT * slice)
12347 __setitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, FOOTPRINT x)
12349 return _pcbnew.FOOTPRINTS___setitem__(self, *args)
12352 r"""pop(FOOTPRINTS self) -> FOOTPRINT"""
12353 return _pcbnew.FOOTPRINTS_pop(self)
12356 r"""append(FOOTPRINTS self, FOOTPRINT x)"""
12357 return _pcbnew.FOOTPRINTS_append(self, x)
12360 r"""empty(FOOTPRINTS self) -> bool"""
12361 return _pcbnew.FOOTPRINTS_empty(self)
12364 r"""size(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
12365 return _pcbnew.FOOTPRINTS_size(self)
12368 r"""swap(FOOTPRINTS self, FOOTPRINTS v)"""
12369 return _pcbnew.FOOTPRINTS_swap(self, v)
12372 r"""begin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
12373 return _pcbnew.FOOTPRINTS_begin(self)
12376 r"""end(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
12377 return _pcbnew.FOOTPRINTS_end(self)
12380 r"""rbegin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
12381 return _pcbnew.FOOTPRINTS_rbegin(self)
12384 r"""rend(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
12385 return _pcbnew.FOOTPRINTS_rend(self)
12388 r"""clear(FOOTPRINTS self)"""
12389 return _pcbnew.FOOTPRINTS_clear(self)
12392 r"""get_allocator(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::allocator_type"""
12393 return _pcbnew.FOOTPRINTS_get_allocator(self)
12396 r"""pop_back(FOOTPRINTS self)"""
12397 return _pcbnew.FOOTPRINTS_pop_back(self)
12401 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos) -> std::deque< FOOTPRINT * >::iterator
12402 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator first, std::deque< FOOTPRINT * >::iterator last) -> std::deque< FOOTPRINT * >::iterator
12404 return _pcbnew.FOOTPRINTS_erase(self, *args)
12408 __init__(FOOTPRINTS self) -> FOOTPRINTS
12409 __init__(FOOTPRINTS self, FOOTPRINTS other) -> FOOTPRINTS
12410 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size) -> FOOTPRINTS
12411 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size, FOOTPRINT value) -> FOOTPRINTS
12413 _pcbnew.FOOTPRINTS_swiginit(self, _pcbnew.new_FOOTPRINTS(*args))
12416 r"""push_back(FOOTPRINTS self, FOOTPRINT x)"""
12417 return _pcbnew.FOOTPRINTS_push_back(self, x)
12420 r"""front(FOOTPRINTS self) -> FOOTPRINT"""
12421 return _pcbnew.FOOTPRINTS_front(self)
12424 r"""back(FOOTPRINTS self) -> FOOTPRINT"""
12425 return _pcbnew.FOOTPRINTS_back(self)
12428 r"""assign(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)"""
12429 return _pcbnew.FOOTPRINTS_assign(self, n, x)
12433 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size)
12434 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size, FOOTPRINT x)
12436 return _pcbnew.FOOTPRINTS_resize(self, *args)
12440 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, FOOTPRINT x) -> std::deque< FOOTPRINT * >::iterator
12441 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)
12443 return _pcbnew.FOOTPRINTS_insert(self, *args)
12446 r"""pop_front(FOOTPRINTS self)"""
12447 return _pcbnew.FOOTPRINTS_pop_front(self)
12450 r"""push_front(FOOTPRINTS self, FOOTPRINT x)"""
12451 return _pcbnew.FOOTPRINTS_push_front(self, x)
12452 __swig_destroy__ = _pcbnew.delete_FOOTPRINTS
12455_pcbnew.FOOTPRINTS_swigregister(FOOTPRINTS)
12457 r"""Proxy of C++ std::deque< PCB_GROUP * > class."""
12459 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12460 __repr__ = _swig_repr
12463 r"""iterator(GROUPS self) -> SwigPyIterator"""
12464 return _pcbnew.GROUPS_iterator(self)
12469 r"""__nonzero__(GROUPS self) -> bool"""
12470 return _pcbnew.GROUPS___nonzero__(self)
12473 r"""__bool__(GROUPS self) -> bool"""
12474 return _pcbnew.GROUPS___bool__(self)
12477 r"""__len__(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
12478 return _pcbnew.GROUPS___len__(self)
12481 r"""__getslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j) -> GROUPS"""
12482 return _pcbnew.GROUPS___getslice__(self, i, j)
12486 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)
12487 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j, GROUPS v)
12489 return _pcbnew.GROUPS___setslice__(self, *args)
12492 r"""__delslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)"""
12493 return _pcbnew.GROUPS___delslice__(self, i, j)
12497 __delitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i)
12498 __delitem__(GROUPS self, SWIGPY_SLICEOBJECT * slice)
12500 return _pcbnew.GROUPS___delitem__(self, *args)
12504 __getitem__(GROUPS self, SWIGPY_SLICEOBJECT * slice) -> GROUPS
12505 __getitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i) -> PCB_GROUP
12507 return _pcbnew.GROUPS___getitem__(self, *args)
12511 __setitem__(GROUPS self, SWIGPY_SLICEOBJECT * slice, GROUPS v)
12512 __setitem__(GROUPS self, SWIGPY_SLICEOBJECT * slice)
12513 __setitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, PCB_GROUP x)
12515 return _pcbnew.GROUPS___setitem__(self, *args)
12518 r"""pop(GROUPS self) -> PCB_GROUP"""
12519 return _pcbnew.GROUPS_pop(self)
12522 r"""append(GROUPS self, PCB_GROUP x)"""
12523 return _pcbnew.GROUPS_append(self, x)
12526 r"""empty(GROUPS self) -> bool"""
12527 return _pcbnew.GROUPS_empty(self)
12530 r"""size(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
12531 return _pcbnew.GROUPS_size(self)
12534 r"""swap(GROUPS self, GROUPS v)"""
12535 return _pcbnew.GROUPS_swap(self, v)
12538 r"""begin(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
12539 return _pcbnew.GROUPS_begin(self)
12542 r"""end(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
12543 return _pcbnew.GROUPS_end(self)
12546 r"""rbegin(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
12547 return _pcbnew.GROUPS_rbegin(self)
12550 r"""rend(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
12551 return _pcbnew.GROUPS_rend(self)
12554 r"""clear(GROUPS self)"""
12555 return _pcbnew.GROUPS_clear(self)
12558 r"""get_allocator(GROUPS self) -> std::deque< PCB_GROUP * >::allocator_type"""
12559 return _pcbnew.GROUPS_get_allocator(self)
12562 r"""pop_back(GROUPS self)"""
12563 return _pcbnew.GROUPS_pop_back(self)
12567 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator pos) -> std::deque< PCB_GROUP * >::iterator
12568 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator first, std::deque< PCB_GROUP * >::iterator last) -> std::deque< PCB_GROUP * >::iterator
12570 return _pcbnew.GROUPS_erase(self, *args)
12575 __init__(GROUPS self, GROUPS other) -> GROUPS
12576 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size) -> GROUPS
12577 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size, PCB_GROUP value) -> GROUPS
12579 _pcbnew.GROUPS_swiginit(self, _pcbnew.new_GROUPS(*args))
12582 r"""push_back(GROUPS self, PCB_GROUP x)"""
12583 return _pcbnew.GROUPS_push_back(self, x)
12586 r"""front(GROUPS self) -> PCB_GROUP"""
12587 return _pcbnew.GROUPS_front(self)
12590 r"""back(GROUPS self) -> PCB_GROUP"""
12591 return _pcbnew.GROUPS_back(self)
12594 r"""assign(GROUPS self, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)"""
12595 return _pcbnew.GROUPS_assign(self, n, x)
12599 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size)
12600 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size, PCB_GROUP x)
12602 return _pcbnew.GROUPS_resize(self, *args)
12606 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, PCB_GROUP x) -> std::deque< PCB_GROUP * >::iterator
12607 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)
12609 return _pcbnew.GROUPS_insert(self, *args)
12612 r"""pop_front(GROUPS self)"""
12613 return _pcbnew.GROUPS_pop_front(self)
12616 r"""push_front(GROUPS self, PCB_GROUP x)"""
12617 return _pcbnew.GROUPS_push_front(self, x)
12618 __swig_destroy__ = _pcbnew.delete_GROUPS
12621_pcbnew.GROUPS_swigregister(GROUPS)
12623 r"""Proxy of C++ std::deque< PCB_GENERATOR * > class."""
12625 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12626 __repr__ = _swig_repr
12629 r"""iterator(GENERATORS self) -> SwigPyIterator"""
12630 return _pcbnew.GENERATORS_iterator(self)
12635 r"""__nonzero__(GENERATORS self) -> bool"""
12636 return _pcbnew.GENERATORS___nonzero__(self)
12639 r"""__bool__(GENERATORS self) -> bool"""
12640 return _pcbnew.GENERATORS___bool__(self)
12643 r"""__len__(GENERATORS self) -> std::deque< PCB_GENERATOR * >::size_type"""
12644 return _pcbnew.GENERATORS___len__(self)
12647 r"""__getslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j) -> GENERATORS"""
12648 return _pcbnew.GENERATORS___getslice__(self, i, j)
12652 __setslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j)
12653 __setslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j, GENERATORS v)
12655 return _pcbnew.GENERATORS___setslice__(self, *args)
12658 r"""__delslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j)"""
12659 return _pcbnew.GENERATORS___delslice__(self, i, j)
12663 __delitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i)
12664 __delitem__(GENERATORS self, SWIGPY_SLICEOBJECT * slice)
12666 return _pcbnew.GENERATORS___delitem__(self, *args)
12670 __getitem__(GENERATORS self, SWIGPY_SLICEOBJECT * slice) -> GENERATORS
12671 __getitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i) -> std::deque< PCB_GENERATOR * >::value_type
12673 return _pcbnew.GENERATORS___getitem__(self, *args)
12677 __setitem__(GENERATORS self, SWIGPY_SLICEOBJECT * slice, GENERATORS v)
12678 __setitem__(GENERATORS self, SWIGPY_SLICEOBJECT * slice)
12679 __setitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::value_type x)
12681 return _pcbnew.GENERATORS___setitem__(self, *args)
12684 r"""pop(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12685 return _pcbnew.GENERATORS_pop(self)
12688 r"""append(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12689 return _pcbnew.GENERATORS_append(self, x)
12692 r"""empty(GENERATORS self) -> bool"""
12693 return _pcbnew.GENERATORS_empty(self)
12696 r"""size(GENERATORS self) -> std::deque< PCB_GENERATOR * >::size_type"""
12697 return _pcbnew.GENERATORS_size(self)
12700 r"""swap(GENERATORS self, GENERATORS v)"""
12701 return _pcbnew.GENERATORS_swap(self, v)
12704 r"""begin(GENERATORS self) -> std::deque< PCB_GENERATOR * >::iterator"""
12705 return _pcbnew.GENERATORS_begin(self)
12708 r"""end(GENERATORS self) -> std::deque< PCB_GENERATOR * >::iterator"""
12709 return _pcbnew.GENERATORS_end(self)
12712 r"""rbegin(GENERATORS self) -> std::deque< PCB_GENERATOR * >::reverse_iterator"""
12713 return _pcbnew.GENERATORS_rbegin(self)
12716 r"""rend(GENERATORS self) -> std::deque< PCB_GENERATOR * >::reverse_iterator"""
12717 return _pcbnew.GENERATORS_rend(self)
12720 r"""clear(GENERATORS self)"""
12721 return _pcbnew.GENERATORS_clear(self)
12724 r"""get_allocator(GENERATORS self) -> std::deque< PCB_GENERATOR * >::allocator_type"""
12725 return _pcbnew.GENERATORS_get_allocator(self)
12728 r"""pop_back(GENERATORS self)"""
12729 return _pcbnew.GENERATORS_pop_back(self)
12733 erase(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos) -> std::deque< PCB_GENERATOR * >::iterator
12734 erase(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator first, std::deque< PCB_GENERATOR * >::iterator last) -> std::deque< PCB_GENERATOR * >::iterator
12736 return _pcbnew.GENERATORS_erase(self, *args)
12740 __init__(GENERATORS self) -> GENERATORS
12741 __init__(GENERATORS self, GENERATORS other) -> GENERATORS
12742 __init__(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type size) -> GENERATORS
12743 __init__(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type size, std::deque< PCB_GENERATOR * >::value_type value) -> GENERATORS
12745 _pcbnew.GENERATORS_swiginit(self, _pcbnew.new_GENERATORS(*args))
12748 r"""push_back(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12749 return _pcbnew.GENERATORS_push_back(self, x)
12752 r"""front(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12753 return _pcbnew.GENERATORS_front(self)
12756 r"""back(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12757 return _pcbnew.GENERATORS_back(self)
12760 r"""assign(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type n, std::deque< PCB_GENERATOR * >::value_type x)"""
12761 return _pcbnew.GENERATORS_assign(self, n, x)
12765 resize(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type new_size)
12766 resize(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type new_size, std::deque< PCB_GENERATOR * >::value_type x)
12768 return _pcbnew.GENERATORS_resize(self, *args)
12772 insert(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos, std::deque< PCB_GENERATOR * >::value_type x) -> std::deque< PCB_GENERATOR * >::iterator
12773 insert(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos, std::deque< PCB_GENERATOR * >::size_type n, std::deque< PCB_GENERATOR * >::value_type x)
12775 return _pcbnew.GENERATORS_insert(self, *args)
12778 r"""pop_front(GENERATORS self)"""
12779 return _pcbnew.GENERATORS_pop_front(self)
12782 r"""push_front(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12783 return _pcbnew.GENERATORS_push_front(self, x)
12784 __swig_destroy__ = _pcbnew.delete_GENERATORS
12787_pcbnew.GENERATORS_swigregister(GENERATORS)
12789 r"""Proxy of C++ std::deque< BOARD_ITEM * > class."""
12791 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12792 __repr__ = _swig_repr
12795 r"""iterator(DRAWINGS self) -> SwigPyIterator"""
12796 return _pcbnew.DRAWINGS_iterator(self)
12801 r"""__nonzero__(DRAWINGS self) -> bool"""
12802 return _pcbnew.DRAWINGS___nonzero__(self)
12805 r"""__bool__(DRAWINGS self) -> bool"""
12806 return _pcbnew.DRAWINGS___bool__(self)
12809 r"""__len__(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
12810 return _pcbnew.DRAWINGS___len__(self)
12813 r"""__getslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j) -> DRAWINGS"""
12814 return _pcbnew.DRAWINGS___getslice__(self, i, j)
12818 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)
12819 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j, DRAWINGS v)
12821 return _pcbnew.DRAWINGS___setslice__(self, *args)
12824 r"""__delslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)"""
12825 return _pcbnew.DRAWINGS___delslice__(self, i, j)
12829 __delitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i)
12830 __delitem__(DRAWINGS self, SWIGPY_SLICEOBJECT * slice)
12832 return _pcbnew.DRAWINGS___delitem__(self, *args)
12836 __getitem__(DRAWINGS self, SWIGPY_SLICEOBJECT * slice) -> DRAWINGS
12837 __getitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i) -> BOARD_ITEM
12839 return _pcbnew.DRAWINGS___getitem__(self, *args)
12843 __setitem__(DRAWINGS self, SWIGPY_SLICEOBJECT * slice, DRAWINGS v)
12844 __setitem__(DRAWINGS self, SWIGPY_SLICEOBJECT * slice)
12845 __setitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, BOARD_ITEM x)
12847 return _pcbnew.DRAWINGS___setitem__(self, *args)
12850 r"""pop(DRAWINGS self) -> BOARD_ITEM"""
12851 return _pcbnew.DRAWINGS_pop(self)
12854 r"""append(DRAWINGS self, BOARD_ITEM x)"""
12855 return _pcbnew.DRAWINGS_append(self, x)
12858 r"""empty(DRAWINGS self) -> bool"""
12859 return _pcbnew.DRAWINGS_empty(self)
12862 r"""size(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
12863 return _pcbnew.DRAWINGS_size(self)
12866 r"""swap(DRAWINGS self, DRAWINGS v)"""
12867 return _pcbnew.DRAWINGS_swap(self, v)
12870 r"""begin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
12871 return _pcbnew.DRAWINGS_begin(self)
12874 r"""end(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
12875 return _pcbnew.DRAWINGS_end(self)
12878 r"""rbegin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
12879 return _pcbnew.DRAWINGS_rbegin(self)
12882 r"""rend(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
12883 return _pcbnew.DRAWINGS_rend(self)
12886 r"""clear(DRAWINGS self)"""
12887 return _pcbnew.DRAWINGS_clear(self)
12890 r"""get_allocator(DRAWINGS self) -> std::deque< BOARD_ITEM * >::allocator_type"""
12891 return _pcbnew.DRAWINGS_get_allocator(self)
12894 r"""pop_back(DRAWINGS self)"""
12895 return _pcbnew.DRAWINGS_pop_back(self)
12899 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos) -> std::deque< BOARD_ITEM * >::iterator
12900 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator first, std::deque< BOARD_ITEM * >::iterator last) -> std::deque< BOARD_ITEM * >::iterator
12902 return _pcbnew.DRAWINGS_erase(self, *args)
12906 __init__(DRAWINGS self) -> DRAWINGS
12907 __init__(DRAWINGS self, DRAWINGS other) -> DRAWINGS
12908 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size) -> DRAWINGS
12909 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size, BOARD_ITEM value) -> DRAWINGS
12911 _pcbnew.DRAWINGS_swiginit(self, _pcbnew.new_DRAWINGS(*args))
12914 r"""push_back(DRAWINGS self, BOARD_ITEM x)"""
12915 return _pcbnew.DRAWINGS_push_back(self, x)
12918 r"""front(DRAWINGS self) -> BOARD_ITEM"""
12919 return _pcbnew.DRAWINGS_front(self)
12922 r"""back(DRAWINGS self) -> BOARD_ITEM"""
12923 return _pcbnew.DRAWINGS_back(self)
12926 r"""assign(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)"""
12927 return _pcbnew.DRAWINGS_assign(self, n, x)
12931 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size)
12932 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size, BOARD_ITEM x)
12934 return _pcbnew.DRAWINGS_resize(self, *args)
12938 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, BOARD_ITEM x) -> std::deque< BOARD_ITEM * >::iterator
12939 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)
12941 return _pcbnew.DRAWINGS_insert(self, *args)
12944 r"""pop_front(DRAWINGS self)"""
12945 return _pcbnew.DRAWINGS_pop_front(self)
12948 r"""push_front(DRAWINGS self, BOARD_ITEM x)"""
12949 return _pcbnew.DRAWINGS_push_front(self, x)
12957 except StopIteration:
12960 __swig_destroy__ = _pcbnew.delete_DRAWINGS
12963_pcbnew.DRAWINGS_swigregister(DRAWINGS)
12965 r"""Proxy of C++ std::deque< PAD * > class."""
12967 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12968 __repr__ = _swig_repr
12971 r"""iterator(PADS self) -> SwigPyIterator"""
12972 return _pcbnew.PADS_iterator(self)
12977 r"""__nonzero__(PADS self) -> bool"""
12978 return _pcbnew.PADS___nonzero__(self)
12981 r"""__bool__(PADS self) -> bool"""
12982 return _pcbnew.PADS___bool__(self)
12985 r"""__len__(PADS self) -> std::deque< PAD * >::size_type"""
12986 return _pcbnew.PADS___len__(self)
12989 r"""__getslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j) -> PADS"""
12990 return _pcbnew.PADS___getslice__(self, i, j)
12994 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)
12995 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j, PADS v)
12997 return _pcbnew.PADS___setslice__(self, *args)
13000 r"""__delslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)"""
13001 return _pcbnew.PADS___delslice__(self, i, j)
13005 __delitem__(PADS self, std::deque< PAD * >::difference_type i)
13006 __delitem__(PADS self, SWIGPY_SLICEOBJECT * slice)
13008 return _pcbnew.PADS___delitem__(self, *args)
13012 __getitem__(PADS self, SWIGPY_SLICEOBJECT * slice) -> PADS
13013 __getitem__(PADS self, std::deque< PAD * >::difference_type i) -> PAD
13015 return _pcbnew.PADS___getitem__(self, *args)
13019 __setitem__(PADS self, SWIGPY_SLICEOBJECT * slice, PADS v)
13020 __setitem__(PADS self, SWIGPY_SLICEOBJECT * slice)
13021 __setitem__(PADS self, std::deque< PAD * >::difference_type i, PAD x)
13023 return _pcbnew.PADS___setitem__(self, *args)
13026 r"""pop(PADS self) -> PAD"""
13027 return _pcbnew.PADS_pop(self)
13030 r"""append(PADS self, PAD x)"""
13031 return _pcbnew.PADS_append(self, x)
13034 r"""empty(PADS self) -> bool"""
13035 return _pcbnew.PADS_empty(self)
13038 r"""size(PADS self) -> std::deque< PAD * >::size_type"""
13039 return _pcbnew.PADS_size(self)
13042 r"""swap(PADS self, PADS v)"""
13043 return _pcbnew.PADS_swap(self, v)
13046 r"""begin(PADS self) -> std::deque< PAD * >::iterator"""
13047 return _pcbnew.PADS_begin(self)
13050 r"""end(PADS self) -> std::deque< PAD * >::iterator"""
13051 return _pcbnew.PADS_end(self)
13054 r"""rbegin(PADS self) -> std::deque< PAD * >::reverse_iterator"""
13055 return _pcbnew.PADS_rbegin(self)
13058 r"""rend(PADS self) -> std::deque< PAD * >::reverse_iterator"""
13059 return _pcbnew.PADS_rend(self)
13062 r"""clear(PADS self)"""
13063 return _pcbnew.PADS_clear(self)
13066 r"""get_allocator(PADS self) -> std::deque< PAD * >::allocator_type"""
13067 return _pcbnew.PADS_get_allocator(self)
13070 r"""pop_back(PADS self)"""
13071 return _pcbnew.PADS_pop_back(self)
13075 erase(PADS self, std::deque< PAD * >::iterator pos) -> std::deque< PAD * >::iterator
13076 erase(PADS self, std::deque< PAD * >::iterator first, std::deque< PAD * >::iterator last) -> std::deque< PAD * >::iterator
13078 return _pcbnew.PADS_erase(self, *args)
13083 __init__(PADS self, PADS other) -> PADS
13084 __init__(PADS self, std::deque< PAD * >::size_type size) -> PADS
13085 __init__(PADS self, std::deque< PAD * >::size_type size, PAD value) -> PADS
13087 _pcbnew.PADS_swiginit(self, _pcbnew.new_PADS(*args))
13090 r"""push_back(PADS self, PAD x)"""
13091 return _pcbnew.PADS_push_back(self, x)
13094 r"""front(PADS self) -> PAD"""
13095 return _pcbnew.PADS_front(self)
13098 r"""back(PADS self) -> PAD"""
13099 return _pcbnew.PADS_back(self)
13102 r"""assign(PADS self, std::deque< PAD * >::size_type n, PAD x)"""
13103 return _pcbnew.PADS_assign(self, n, x)
13107 resize(PADS self, std::deque< PAD * >::size_type new_size)
13108 resize(PADS self, std::deque< PAD * >::size_type new_size, PAD x)
13110 return _pcbnew.PADS_resize(self, *args)
13114 insert(PADS self, std::deque< PAD * >::iterator pos, PAD x) -> std::deque< PAD * >::iterator
13115 insert(PADS self, std::deque< PAD * >::iterator pos, std::deque< PAD * >::size_type n, PAD x)
13117 return _pcbnew.PADS_insert(self, *args)
13120 r"""pop_front(PADS self)"""
13121 return _pcbnew.PADS_pop_front(self)
13124 r"""push_front(PADS self, PAD x)"""
13125 return _pcbnew.PADS_push_front(self, x)
13126 __swig_destroy__ = _pcbnew.delete_PADS
13129_pcbnew.PADS_swigregister(PADS)
13131 r"""Proxy of C++ std::deque< PCB_FIELD * > class."""
13133 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13134 __repr__ = _swig_repr
13137 r"""iterator(PCB_FIELDS self) -> SwigPyIterator"""
13138 return _pcbnew.PCB_FIELDS_iterator(self)
13143 r"""__nonzero__(PCB_FIELDS self) -> bool"""
13144 return _pcbnew.PCB_FIELDS___nonzero__(self)
13147 r"""__bool__(PCB_FIELDS self) -> bool"""
13148 return _pcbnew.PCB_FIELDS___bool__(self)
13151 r"""__len__(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::size_type"""
13152 return _pcbnew.PCB_FIELDS___len__(self)
13155 r"""__getslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j) -> PCB_FIELDS"""
13156 return _pcbnew.PCB_FIELDS___getslice__(self, i, j)
13160 __setslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j)
13161 __setslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j, PCB_FIELDS v)
13163 return _pcbnew.PCB_FIELDS___setslice__(self, *args)
13166 r"""__delslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j)"""
13167 return _pcbnew.PCB_FIELDS___delslice__(self, i, j)
13171 __delitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i)
13172 __delitem__(PCB_FIELDS self, SWIGPY_SLICEOBJECT * slice)
13174 return _pcbnew.PCB_FIELDS___delitem__(self, *args)
13178 __getitem__(PCB_FIELDS self, SWIGPY_SLICEOBJECT * slice) -> PCB_FIELDS
13179 __getitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i) -> PCB_FIELD
13181 return _pcbnew.PCB_FIELDS___getitem__(self, *args)
13185 __setitem__(PCB_FIELDS self, SWIGPY_SLICEOBJECT * slice, PCB_FIELDS v)
13186 __setitem__(PCB_FIELDS self, SWIGPY_SLICEOBJECT * slice)
13187 __setitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, PCB_FIELD x)
13189 return _pcbnew.PCB_FIELDS___setitem__(self, *args)
13192 r"""pop(PCB_FIELDS self) -> PCB_FIELD"""
13193 return _pcbnew.PCB_FIELDS_pop(self)
13196 r"""append(PCB_FIELDS self, PCB_FIELD x)"""
13197 return _pcbnew.PCB_FIELDS_append(self, x)
13200 r"""empty(PCB_FIELDS self) -> bool"""
13201 return _pcbnew.PCB_FIELDS_empty(self)
13204 r"""size(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::size_type"""
13205 return _pcbnew.PCB_FIELDS_size(self)
13208 r"""swap(PCB_FIELDS self, PCB_FIELDS v)"""
13209 return _pcbnew.PCB_FIELDS_swap(self, v)
13212 r"""begin(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::iterator"""
13213 return _pcbnew.PCB_FIELDS_begin(self)
13216 r"""end(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::iterator"""
13217 return _pcbnew.PCB_FIELDS_end(self)
13220 r"""rbegin(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::reverse_iterator"""
13221 return _pcbnew.PCB_FIELDS_rbegin(self)
13224 r"""rend(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::reverse_iterator"""
13225 return _pcbnew.PCB_FIELDS_rend(self)
13228 r"""clear(PCB_FIELDS self)"""
13229 return _pcbnew.PCB_FIELDS_clear(self)
13232 r"""get_allocator(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::allocator_type"""
13233 return _pcbnew.PCB_FIELDS_get_allocator(self)
13236 r"""pop_back(PCB_FIELDS self)"""
13237 return _pcbnew.PCB_FIELDS_pop_back(self)
13241 erase(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos) -> std::deque< PCB_FIELD * >::iterator
13242 erase(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator first, std::deque< PCB_FIELD * >::iterator last) -> std::deque< PCB_FIELD * >::iterator
13244 return _pcbnew.PCB_FIELDS_erase(self, *args)
13248 __init__(PCB_FIELDS self) -> PCB_FIELDS
13249 __init__(PCB_FIELDS self, PCB_FIELDS other) -> PCB_FIELDS
13250 __init__(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type size) -> PCB_FIELDS
13251 __init__(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type size, PCB_FIELD value) -> PCB_FIELDS
13253 _pcbnew.PCB_FIELDS_swiginit(self, _pcbnew.new_PCB_FIELDS(*args))
13256 r"""push_back(PCB_FIELDS self, PCB_FIELD x)"""
13257 return _pcbnew.PCB_FIELDS_push_back(self, x)
13260 r"""front(PCB_FIELDS self) -> PCB_FIELD"""
13261 return _pcbnew.PCB_FIELDS_front(self)
13264 r"""back(PCB_FIELDS self) -> PCB_FIELD"""
13265 return _pcbnew.PCB_FIELDS_back(self)
13268 r"""assign(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type n, PCB_FIELD x)"""
13269 return _pcbnew.PCB_FIELDS_assign(self, n, x)
13273 resize(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type new_size)
13274 resize(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type new_size, PCB_FIELD x)
13276 return _pcbnew.PCB_FIELDS_resize(self, *args)
13280 insert(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos, PCB_FIELD x) -> std::deque< PCB_FIELD * >::iterator
13281 insert(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos, std::deque< PCB_FIELD * >::size_type n, PCB_FIELD x)
13283 return _pcbnew.PCB_FIELDS_insert(self, *args)
13286 r"""pop_front(PCB_FIELDS self)"""
13287 return _pcbnew.PCB_FIELDS_pop_front(self)
13290 r"""push_front(PCB_FIELDS self, PCB_FIELD x)"""
13291 return _pcbnew.PCB_FIELDS_push_front(self, x)
13292 __swig_destroy__ = _pcbnew.delete_PCB_FIELDS
13295_pcbnew.PCB_FIELDS_swigregister(PCB_FIELDS)
13297 r"""Proxy of C++ std::vector< PCB_FIELD * > class."""
13299 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13300 __repr__ = _swig_repr
13303 r"""iterator(PCB_FIELD_VEC self) -> SwigPyIterator"""
13304 return _pcbnew.PCB_FIELD_VEC_iterator(self)
13309 r"""__nonzero__(PCB_FIELD_VEC self) -> bool"""
13310 return _pcbnew.PCB_FIELD_VEC___nonzero__(self)
13313 r"""__bool__(PCB_FIELD_VEC self) -> bool"""
13314 return _pcbnew.PCB_FIELD_VEC___bool__(self)
13317 r"""__len__(PCB_FIELD_VEC self) -> std::vector< PCB_FIELD * >::size_type"""
13318 return _pcbnew.PCB_FIELD_VEC___len__(self)
13321 r"""__getslice__(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::difference_type i, std::vector< PCB_FIELD * >::difference_type j) -> PCB_FIELD_VEC"""
13322 return _pcbnew.PCB_FIELD_VEC___getslice__(self, i, j)
13326 __setslice__(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::difference_type i, std::vector< PCB_FIELD * >::difference_type j)
13327 __setslice__(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::difference_type i, std::vector< PCB_FIELD * >::difference_type j, PCB_FIELD_VEC v)
13329 return _pcbnew.PCB_FIELD_VEC___setslice__(self, *args)
13332 r"""__delslice__(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::difference_type i, std::vector< PCB_FIELD * >::difference_type j)"""
13333 return _pcbnew.PCB_FIELD_VEC___delslice__(self, i, j)
13337 __delitem__(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::difference_type i)
13338 __delitem__(PCB_FIELD_VEC self, SWIGPY_SLICEOBJECT * slice)
13340 return _pcbnew.PCB_FIELD_VEC___delitem__(self, *args)
13344 __getitem__(PCB_FIELD_VEC self, SWIGPY_SLICEOBJECT * slice) -> PCB_FIELD_VEC
13345 __getitem__(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::difference_type i) -> PCB_FIELD
13347 return _pcbnew.PCB_FIELD_VEC___getitem__(self, *args)
13351 __setitem__(PCB_FIELD_VEC self, SWIGPY_SLICEOBJECT * slice, PCB_FIELD_VEC v)
13352 __setitem__(PCB_FIELD_VEC self, SWIGPY_SLICEOBJECT * slice)
13353 __setitem__(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::difference_type i, PCB_FIELD x)
13355 return _pcbnew.PCB_FIELD_VEC___setitem__(self, *args)
13358 r"""pop(PCB_FIELD_VEC self) -> PCB_FIELD"""
13359 return _pcbnew.PCB_FIELD_VEC_pop(self)
13362 r"""append(PCB_FIELD_VEC self, PCB_FIELD x)"""
13363 return _pcbnew.PCB_FIELD_VEC_append(self, x)
13366 r"""empty(PCB_FIELD_VEC self) -> bool"""
13367 return _pcbnew.PCB_FIELD_VEC_empty(self)
13370 r"""size(PCB_FIELD_VEC self) -> std::vector< PCB_FIELD * >::size_type"""
13371 return _pcbnew.PCB_FIELD_VEC_size(self)
13374 r"""swap(PCB_FIELD_VEC self, PCB_FIELD_VEC v)"""
13375 return _pcbnew.PCB_FIELD_VEC_swap(self, v)
13378 r"""begin(PCB_FIELD_VEC self) -> std::vector< PCB_FIELD * >::iterator"""
13379 return _pcbnew.PCB_FIELD_VEC_begin(self)
13382 r"""end(PCB_FIELD_VEC self) -> std::vector< PCB_FIELD * >::iterator"""
13383 return _pcbnew.PCB_FIELD_VEC_end(self)
13386 r"""rbegin(PCB_FIELD_VEC self) -> std::vector< PCB_FIELD * >::reverse_iterator"""
13387 return _pcbnew.PCB_FIELD_VEC_rbegin(self)
13390 r"""rend(PCB_FIELD_VEC self) -> std::vector< PCB_FIELD * >::reverse_iterator"""
13391 return _pcbnew.PCB_FIELD_VEC_rend(self)
13394 r"""clear(PCB_FIELD_VEC self)"""
13395 return _pcbnew.PCB_FIELD_VEC_clear(self)
13398 r"""get_allocator(PCB_FIELD_VEC self) -> std::vector< PCB_FIELD * >::allocator_type"""
13399 return _pcbnew.PCB_FIELD_VEC_get_allocator(self)
13402 r"""pop_back(PCB_FIELD_VEC self)"""
13403 return _pcbnew.PCB_FIELD_VEC_pop_back(self)
13407 erase(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::iterator pos) -> std::vector< PCB_FIELD * >::iterator
13408 erase(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::iterator first, std::vector< PCB_FIELD * >::iterator last) -> std::vector< PCB_FIELD * >::iterator
13410 return _pcbnew.PCB_FIELD_VEC_erase(self, *args)
13414 __init__(PCB_FIELD_VEC self) -> PCB_FIELD_VEC
13415 __init__(PCB_FIELD_VEC self, PCB_FIELD_VEC other) -> PCB_FIELD_VEC
13416 __init__(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::size_type size) -> PCB_FIELD_VEC
13417 __init__(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::size_type size, PCB_FIELD value) -> PCB_FIELD_VEC
13419 _pcbnew.PCB_FIELD_VEC_swiginit(self, _pcbnew.new_PCB_FIELD_VEC(*args))
13422 r"""push_back(PCB_FIELD_VEC self, PCB_FIELD x)"""
13423 return _pcbnew.PCB_FIELD_VEC_push_back(self, x)
13426 r"""front(PCB_FIELD_VEC self) -> PCB_FIELD"""
13427 return _pcbnew.PCB_FIELD_VEC_front(self)
13430 r"""back(PCB_FIELD_VEC self) -> PCB_FIELD"""
13431 return _pcbnew.PCB_FIELD_VEC_back(self)
13434 r"""assign(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::size_type n, PCB_FIELD x)"""
13435 return _pcbnew.PCB_FIELD_VEC_assign(self, n, x)
13439 resize(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::size_type new_size)
13440 resize(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::size_type new_size, PCB_FIELD x)
13442 return _pcbnew.PCB_FIELD_VEC_resize(self, *args)
13446 insert(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::iterator pos, PCB_FIELD x) -> std::vector< PCB_FIELD * >::iterator
13447 insert(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::iterator pos, std::vector< PCB_FIELD * >::size_type n, PCB_FIELD x)
13449 return _pcbnew.PCB_FIELD_VEC_insert(self, *args)
13452 r"""reserve(PCB_FIELD_VEC self, std::vector< PCB_FIELD * >::size_type n)"""
13453 return _pcbnew.PCB_FIELD_VEC_reserve(self, n)
13456 r"""capacity(PCB_FIELD_VEC self) -> std::vector< PCB_FIELD * >::size_type"""
13457 return _pcbnew.PCB_FIELD_VEC_capacity(self)
13458 __swig_destroy__ = _pcbnew.delete_PCB_FIELD_VEC
13461_pcbnew.PCB_FIELD_VEC_swigregister(PCB_FIELD_VEC)
13462PAD_SHAPE_CIRCLE = _pcbnew.PAD_SHAPE_CIRCLE
13464PAD_SHAPE_RECTANGLE = _pcbnew.PAD_SHAPE_RECTANGLE
13466PAD_SHAPE_OVAL = _pcbnew.PAD_SHAPE_OVAL
13468PAD_SHAPE_TRAPEZOID = _pcbnew.PAD_SHAPE_TRAPEZOID
13470PAD_SHAPE_ROUNDRECT = _pcbnew.PAD_SHAPE_ROUNDRECT
13472PAD_SHAPE_CHAMFERED_RECT = _pcbnew.PAD_SHAPE_CHAMFERED_RECT
13474PAD_SHAPE_CUSTOM = _pcbnew.PAD_SHAPE_CUSTOM
13476PAD_DRILL_SHAPE_UNDEFINED = _pcbnew.PAD_DRILL_SHAPE_UNDEFINED
13478PAD_DRILL_SHAPE_CIRCLE = _pcbnew.PAD_DRILL_SHAPE_CIRCLE
13480PAD_DRILL_SHAPE_OBLONG = _pcbnew.PAD_DRILL_SHAPE_OBLONG
13482PAD_ATTRIB_PTH = _pcbnew.PAD_ATTRIB_PTH
13484PAD_ATTRIB_SMD = _pcbnew.PAD_ATTRIB_SMD
13486PAD_ATTRIB_CONN = _pcbnew.PAD_ATTRIB_CONN
13488PAD_ATTRIB_NPTH = _pcbnew.PAD_ATTRIB_NPTH
13490PAD_PROP_NONE = _pcbnew.PAD_PROP_NONE
13492PAD_PROP_BGA = _pcbnew.PAD_PROP_BGA
13494PAD_PROP_FIDUCIAL_GLBL = _pcbnew.PAD_PROP_FIDUCIAL_GLBL
13496PAD_PROP_FIDUCIAL_LOCAL = _pcbnew.PAD_PROP_FIDUCIAL_LOCAL
13498PAD_PROP_TESTPOINT = _pcbnew.PAD_PROP_TESTPOINT
13500PAD_PROP_HEATSINK = _pcbnew.PAD_PROP_HEATSINK
13502PAD_PROP_CASTELLATED = _pcbnew.PAD_PROP_CASTELLATED
13504PAD_PROP_MECHANICAL = _pcbnew.PAD_PROP_MECHANICAL
13507 r"""Proxy of C++ PADSTACK class."""
13509 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13510 __repr__ = _swig_repr
13511 TYPE_NORMAL = _pcbnew.PADSTACK_TYPE_NORMAL
13513 TYPE_VIA = _pcbnew.PADSTACK_TYPE_VIA
13515 TYPE_MOUNTING = _pcbnew.PADSTACK_TYPE_MOUNTING
13517 MODE_NORMAL = _pcbnew.PADSTACK_MODE_NORMAL
13519 MODE_FRONT_INNER_BACK = _pcbnew.PADSTACK_MODE_FRONT_INNER_BACK
13521 MODE_CUSTOM = _pcbnew.PADSTACK_MODE_CUSTOM
13523 ALL_LAYERS = _pcbnew.PADSTACK_ALL_LAYERS
13525 INNER_LAYERS = _pcbnew.PADSTACK_INNER_LAYERS
13527 UNCONNECTED_LAYER_MODE_KEEP_ALL = _pcbnew.PADSTACK_UNCONNECTED_LAYER_MODE_KEEP_ALL
13529 UNCONNECTED_LAYER_MODE_REMOVE_ALL = _pcbnew.PADSTACK_UNCONNECTED_LAYER_MODE_REMOVE_ALL
13531 UNCONNECTED_LAYER_MODE_REMOVE_EXCEPT_START_AND_END = _pcbnew.PADSTACK_UNCONNECTED_LAYER_MODE_REMOVE_EXCEPT_START_AND_END
13533 CUSTOM_SHAPE_ZONE_MODE_OUTLINE = _pcbnew.PADSTACK_CUSTOM_SHAPE_ZONE_MODE_OUTLINE
13535 CUSTOM_SHAPE_ZONE_MODE_CONVEXHULL = _pcbnew.PADSTACK_CUSTOM_SHAPE_ZONE_MODE_CONVEXHULL
13537 __swig_destroy__ = _pcbnew.delete_PADSTACK
13541 __init__(PADSTACK self, BOARD_ITEM aParent) -> PADSTACK
13542 __init__(PADSTACK self, PADSTACK aOther) -> PADSTACK
13544 _pcbnew.PADSTACK_swiginit(self, _pcbnew.new_PADSTACK(*args))
13547 r"""__eq__(PADSTACK self, PADSTACK aOther) -> bool"""
13548 return _pcbnew.PADSTACK___eq__(self, aOther)
13551 r"""__ne__(PADSTACK self, PADSTACK aOther) -> bool"""
13552 return _pcbnew.PADSTACK___ne__(self, aOther)
13555 r"""Serialize(PADSTACK self, google::protobuf::Any & aContainer)"""
13556 return _pcbnew.PADSTACK_Serialize(self, aContainer)
13559 r"""Deserialize(PADSTACK self, google::protobuf::Any const & aContainer) -> bool"""
13560 return _pcbnew.PADSTACK_Deserialize(self, aContainer)
13564 r"""Compare(PADSTACK aPadstackRef, PADSTACK aPadstackCmp) -> int"""
13565 return _pcbnew.PADSTACK_Compare(aPadstackRef, aPadstackCmp)
13568 r"""Similarity(PADSTACK self, PADSTACK aOther) -> double"""
13569 return _pcbnew.PADSTACK_Similarity(self, aOther)
13576 return _pcbnew.PADSTACK_LayerSet(self, *args)
13579 r"""SetLayerSet(PADSTACK self, LSET aSet)"""
13580 return _pcbnew.PADSTACK_SetLayerSet(self, aSet)
13583 r"""FlipLayers(PADSTACK self, int aCopperLayerCount)"""
13584 return _pcbnew.PADSTACK_FlipLayers(self, aCopperLayerCount)
13587 r"""StartLayer(PADSTACK self) -> PCB_LAYER_ID"""
13588 return _pcbnew.PADSTACK_StartLayer(self)
13591 r"""EndLayer(PADSTACK self) -> PCB_LAYER_ID"""
13592 return _pcbnew.PADSTACK_EndLayer(self)
13595 r"""Mode(PADSTACK self) -> PADSTACK::MODE"""
13596 return _pcbnew.PADSTACK_Mode(self)
13599 r"""SetMode(PADSTACK self, PADSTACK::MODE aMode)"""
13600 return _pcbnew.PADSTACK_SetMode(self, aMode)
13603 r"""Name(PADSTACK self) -> wxString"""
13604 return _pcbnew.PADSTACK_Name(self)
13607 r"""GetOrientation(PADSTACK self) -> EDA_ANGLE"""
13608 return _pcbnew.PADSTACK_GetOrientation(self)
13611 r"""SetOrientation(PADSTACK self, EDA_ANGLE aAngle)"""
13612 return _pcbnew.PADSTACK_SetOrientation(self, aAngle)
13616 Drill(PADSTACK self) -> PADSTACK::DRILL_PROPS
13617 Drill(PADSTACK self) -> PADSTACK::DRILL_PROPS const &
13619 return _pcbnew.PADSTACK_Drill(self, *args)
13626 return _pcbnew.PADSTACK_SecondaryDrill(self, *args)
13629 r"""UnconnectedLayerMode(PADSTACK self) -> PADSTACK::UNCONNECTED_LAYER_MODE"""
13630 return _pcbnew.PADSTACK_UnconnectedLayerMode(self)
13633 r"""SetUnconnectedLayerMode(PADSTACK self, PADSTACK::UNCONNECTED_LAYER_MODE aMode)"""
13634 return _pcbnew.PADSTACK_SetUnconnectedLayerMode(self, aMode)
13638 CopperLayer(PADSTACK self, PCB_LAYER_ID aLayer) -> PADSTACK::COPPER_LAYER_PROPS
13639 CopperLayer(PADSTACK self, PCB_LAYER_ID aLayer) -> PADSTACK::COPPER_LAYER_PROPS const &
13641 return _pcbnew.PADSTACK_CopperLayer(self, *args)
13648 return _pcbnew.PADSTACK_FrontOuterLayers(self, *args)
13655 return _pcbnew.PADSTACK_BackOuterLayers(self, *args)
13658 r"""IsTented(PADSTACK self, PCB_LAYER_ID aSide) -> std::optional< bool >"""
13659 return _pcbnew.PADSTACK_IsTented(self, aSide)
13662 r"""CustomShapeInZoneMode(PADSTACK self) -> PADSTACK::CUSTOM_SHAPE_ZONE_MODE"""
13663 return _pcbnew.PADSTACK_CustomShapeInZoneMode(self)
13666 r"""SetCustomShapeInZoneMode(PADSTACK self, PADSTACK::CUSTOM_SHAPE_ZONE_MODE aM)"""
13667 return _pcbnew.PADSTACK_SetCustomShapeInZoneMode(self, aM)
13670 r"""ForEachUniqueLayer(PADSTACK self, std::function< void (PCB_LAYER_ID) > const & aMethod)"""
13671 return _pcbnew.PADSTACK_ForEachUniqueLayer(self, aMethod)
13674 r"""UniqueLayers(PADSTACK self) -> base_seqVect"""
13675 return _pcbnew.PADSTACK_UniqueLayers(self)
13678 r"""EffectiveLayerFor(PADSTACK self, PCB_LAYER_ID aLayer) -> PCB_LAYER_ID"""
13679 return _pcbnew.PADSTACK_EffectiveLayerFor(self, aLayer)
13682 r"""RelevantShapeLayers(PADSTACK self, PADSTACK aOther) -> LSET"""
13683 return _pcbnew.PADSTACK_RelevantShapeLayers(self, aOther)
13686 r"""Shape(PADSTACK self, PCB_LAYER_ID aLayer) -> PAD_SHAPE"""
13687 return _pcbnew.PADSTACK_Shape(self, aLayer)
13690 r"""SetShape(PADSTACK self, PAD_SHAPE aShape, PCB_LAYER_ID aLayer)"""
13691 return _pcbnew.PADSTACK_SetShape(self, aShape, aLayer)
13694 r"""SetSize(PADSTACK self, VECTOR2I aSize, PCB_LAYER_ID aLayer)"""
13695 return _pcbnew.PADSTACK_SetSize(self, aSize, aLayer)
13698 r"""Size(PADSTACK self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
13699 return _pcbnew.PADSTACK_Size(self, aLayer)
13702 r"""DrillShape(PADSTACK self) -> PAD_DRILL_SHAPE"""
13703 return _pcbnew.PADSTACK_DrillShape(self)
13706 r"""SetDrillShape(PADSTACK self, PAD_DRILL_SHAPE aShape)"""
13707 return _pcbnew.PADSTACK_SetDrillShape(self, aShape)
13711 Offset(PADSTACK self, PCB_LAYER_ID aLayer) -> VECTOR2I
13712 Offset(PADSTACK self, PCB_LAYER_ID aLayer) -> VECTOR2I
13714 return _pcbnew.PADSTACK_Offset(self, *args)
13717 r"""AnchorShape(PADSTACK self, PCB_LAYER_ID aLayer) -> PAD_SHAPE"""
13718 return _pcbnew.PADSTACK_AnchorShape(self, aLayer)
13721 r"""SetAnchorShape(PADSTACK self, PAD_SHAPE aShape, PCB_LAYER_ID aLayer)"""
13722 return _pcbnew.PADSTACK_SetAnchorShape(self, aShape, aLayer)
13729 return _pcbnew.PADSTACK_TrapezoidDeltaSize(self, *args)
13732 r"""RoundRectRadiusRatio(PADSTACK self, PCB_LAYER_ID aLayer) -> double"""
13733 return _pcbnew.PADSTACK_RoundRectRadiusRatio(self, aLayer)
13736 r"""SetRoundRectRadiusRatio(PADSTACK self, double aRatio, PCB_LAYER_ID aLayer)"""
13737 return _pcbnew.PADSTACK_SetRoundRectRadiusRatio(self, aRatio, aLayer)
13740 r"""RoundRectRadius(PADSTACK self, PCB_LAYER_ID aLayer) -> int"""
13741 return _pcbnew.PADSTACK_RoundRectRadius(self, aLayer)
13744 r"""SetRoundRectRadius(PADSTACK self, double aRadius, PCB_LAYER_ID aLayer)"""
13745 return _pcbnew.PADSTACK_SetRoundRectRadius(self, aRadius, aLayer)
13748 r"""ChamferRatio(PADSTACK self, PCB_LAYER_ID aLayer) -> double"""
13749 return _pcbnew.PADSTACK_ChamferRatio(self, aLayer)
13752 r"""SetChamferRatio(PADSTACK self, double aRatio, PCB_LAYER_ID aLayer)"""
13753 return _pcbnew.PADSTACK_SetChamferRatio(self, aRatio, aLayer)
13760 return _pcbnew.PADSTACK_ChamferPositions(self, *args)
13763 r"""SetChamferPositions(PADSTACK self, int aPositions, PCB_LAYER_ID aLayer)"""
13764 return _pcbnew.PADSTACK_SetChamferPositions(self, aPositions, aLayer)
13768 Clearance(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13769 Clearance(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13771 return _pcbnew.PADSTACK_Clearance(self, *args)
13775 SolderMaskMargin(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13776 SolderMaskMargin(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13778 return _pcbnew.PADSTACK_SolderMaskMargin(self, *args)
13782 SolderPasteMargin(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13783 SolderPasteMargin(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13785 return _pcbnew.PADSTACK_SolderPasteMargin(self, *args)
13792 return _pcbnew.PADSTACK_SolderPasteMarginRatio(self, *args)
13796 ZoneConnection(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< ZONE_CONNECTION >
13797 ZoneConnection(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< ZONE_CONNECTION > const
13799 return _pcbnew.PADSTACK_ZoneConnection(self, *args)
13803 ThermalSpokeWidth(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13804 ThermalSpokeWidth(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13806 return _pcbnew.PADSTACK_ThermalSpokeWidth(self, *args)
13810 ThermalGap(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13811 ThermalGap(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13813 return _pcbnew.PADSTACK_ThermalGap(self, *args)
13816 r"""DefaultThermalSpokeAngleForShape(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> EDA_ANGLE"""
13817 return _pcbnew.PADSTACK_DefaultThermalSpokeAngleForShape(self, aLayer)
13820 r"""ThermalSpokeAngle(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> EDA_ANGLE"""
13821 return _pcbnew.PADSTACK_ThermalSpokeAngle(self, aLayer)
13824 r"""SetThermalSpokeAngle(PADSTACK self, EDA_ANGLE aAngle, PCB_LAYER_ID aLayer=F_Cu)"""
13825 return _pcbnew.PADSTACK_SetThermalSpokeAngle(self, aAngle, aLayer)
13829 Primitives(PADSTACK self, PCB_LAYER_ID aLayer) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > >
13830 Primitives(PADSTACK self, PCB_LAYER_ID aLayer) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &
13832 return _pcbnew.PADSTACK_Primitives(self, *args)
13835 r"""AddPrimitive(PADSTACK self, PCB_SHAPE aShape, PCB_LAYER_ID aLayer)"""
13836 return _pcbnew.PADSTACK_AddPrimitive(self, aShape, aLayer)
13839 r"""AppendPrimitives(PADSTACK self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList, PCB_LAYER_ID aLayer)"""
13840 return _pcbnew.PADSTACK_AppendPrimitives(self, aPrimitivesList, aLayer)
13843 r"""ReplacePrimitives(PADSTACK self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList, PCB_LAYER_ID aLayer)"""
13844 return _pcbnew.PADSTACK_ReplacePrimitives(self, aPrimitivesList, aLayer)
13847 r"""ClearPrimitives(PADSTACK self, PCB_LAYER_ID aLayer)"""
13848 return _pcbnew.PADSTACK_ClearPrimitives(self, aLayer)
13851_pcbnew.PADSTACK_swigregister(PADSTACK)
13853 r"""Proxy of C++ PAD class."""
13855 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13856 __repr__ = _swig_repr
13860 __init__(PAD self, FOOTPRINT parent) -> PAD
13861 __init__(PAD self, PAD aPad) -> PAD
13863 _pcbnew.PAD_swiginit(self, _pcbnew.new_PAD(*args))
13866 r"""Serialize(PAD self, google::protobuf::Any & aContainer)"""
13867 return _pcbnew.PAD_Serialize(self, aContainer)
13870 r"""Deserialize(PAD self, google::protobuf::Any const & aContainer) -> bool"""
13871 return _pcbnew.PAD_Deserialize(self, aContainer)
13875 r"""PTHMask() -> LSET"""
13876 return _pcbnew.PAD_PTHMask()
13880 r"""SMDMask() -> LSET"""
13881 return _pcbnew.PAD_SMDMask()
13885 r"""ConnSMDMask() -> LSET"""
13886 return _pcbnew.PAD_ConnSMDMask()
13890 r"""UnplatedHoleMask() -> LSET"""
13891 return _pcbnew.PAD_UnplatedHoleMask()
13895 r"""ApertureMask() -> LSET"""
13896 return _pcbnew.PAD_ApertureMask()
13900 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13901 return _pcbnew.PAD_ClassOf(aItem)
13904 r"""ImportSettingsFrom(PAD self, PAD aMasterPad)"""
13905 return _pcbnew.PAD_ImportSettingsFrom(self, aMasterPad)
13908 r"""IsFlipped(PAD self) -> bool"""
13909 return _pcbnew.PAD_IsFlipped(self)
13912 r"""SetNumber(PAD self, wxString aNumber)"""
13913 return _pcbnew.PAD_SetNumber(self, aNumber)
13916 r"""GetNumber(PAD self) -> wxString"""
13917 return _pcbnew.PAD_GetNumber(self)
13920 r"""CanHaveNumber(PAD self) -> bool"""
13921 return _pcbnew.PAD_CanHaveNumber(self)
13924 r"""SetPinFunction(PAD self, wxString aName)"""
13925 return _pcbnew.PAD_SetPinFunction(self, aName)
13928 r"""GetPinFunction(PAD self) -> wxString"""
13929 return _pcbnew.PAD_GetPinFunction(self)
13932 r"""SetPinType(PAD self, wxString aType)"""
13933 return _pcbnew.PAD_SetPinType(self, aType)
13936 r"""GetPinType(PAD self) -> wxString"""
13937 return _pcbnew.PAD_GetPinType(self)
13940 r"""SameLogicalPadAs(PAD self, PAD aOther) -> bool"""
13941 return _pcbnew.PAD_SameLogicalPadAs(self, aOther)
13944 r"""SharesNetTieGroup(PAD self, PAD aOther) -> bool"""
13945 return _pcbnew.PAD_SharesNetTieGroup(self, aOther)
13948 r"""IsNoConnectPad(PAD self) -> bool"""
13949 return _pcbnew.PAD_IsNoConnectPad(self)
13952 r"""IsFreePad(PAD self) -> bool"""
13953 return _pcbnew.PAD_IsFreePad(self)
13956 r"""SetFrontShape(PAD self, PAD_SHAPE aShape)"""
13957 return _pcbnew.PAD_SetFrontShape(self, aShape)
13960 r"""GetFrontShape(PAD self) -> PAD_SHAPE"""
13961 return _pcbnew.PAD_GetFrontShape(self)
13964 r"""GetAnchorPadShape(PAD self, PCB_LAYER_ID aLayer) -> PAD_SHAPE"""
13965 return _pcbnew.PAD_GetAnchorPadShape(self, aLayer)
13968 r"""GetCustomShapeInZoneOpt(PAD self) -> PADSTACK::CUSTOM_SHAPE_ZONE_MODE"""
13969 return _pcbnew.PAD_GetCustomShapeInZoneOpt(self)
13972 r"""SetCustomShapeInZoneOpt(PAD self, PADSTACK::CUSTOM_SHAPE_ZONE_MODE aOption)"""
13973 return _pcbnew.PAD_SetCustomShapeInZoneOpt(self, aOption)
13976 r"""SetAnchorPadShape(PAD self, PCB_LAYER_ID aLayer, PAD_SHAPE aShape)"""
13977 return _pcbnew.PAD_SetAnchorPadShape(self, aLayer, aShape)
13980 r"""SetY(PAD self, int y)"""
13981 return _pcbnew.PAD_SetY(self, y)
13984 r"""SetX(PAD self, int x)"""
13985 return _pcbnew.PAD_SetX(self, x)
13988 r"""SetSizeX(PAD self, int const aX)"""
13989 return _pcbnew.PAD_SetSizeX(self, aX)
13992 r"""GetSizeX(PAD self) -> int"""
13993 return _pcbnew.PAD_GetSizeX(self)
13996 r"""SetSizeY(PAD self, int const aY)"""
13997 return _pcbnew.PAD_SetSizeY(self, aY)
14000 r"""GetSizeY(PAD self) -> int"""
14001 return _pcbnew.PAD_GetSizeY(self)
14004 r"""SetDrillSize(PAD self, VECTOR2I aSize)"""
14005 return _pcbnew.PAD_SetDrillSize(self, aSize)
14008 r"""GetDrillSize(PAD self) -> VECTOR2I"""
14009 return _pcbnew.PAD_GetDrillSize(self)
14012 r"""SetDrillSizeX(PAD self, int const aX)"""
14013 return _pcbnew.PAD_SetDrillSizeX(self, aX)
14016 r"""GetDrillSizeX(PAD self) -> int"""
14017 return _pcbnew.PAD_GetDrillSizeX(self)
14020 r"""SetDrillSizeY(PAD self, int const aY)"""
14021 return _pcbnew.PAD_SetDrillSizeY(self, aY)
14024 r"""GetDrillSizeY(PAD self) -> int"""
14025 return _pcbnew.PAD_GetDrillSizeY(self)
14032 return _pcbnew.PAD_Padstack(self, *args)
14035 r"""SetPadstack(PAD self, PADSTACK aPadstack)"""
14036 return _pcbnew.PAD_SetPadstack(self, aPadstack)
14040 AddPrimitivePoly(PAD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPoly, int aThickness, bool aFilled)
14041 AddPrimitivePoly(PAD self, PCB_LAYER_ID aLayer, VECTOR_VECTOR2I aPoly, int aThickness, bool aFilled)
14043 return _pcbnew.PAD_AddPrimitivePoly(self, *args)
14046 r"""MergePrimitivesAsPolygon(PAD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aMergedPolygon, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
14047 return _pcbnew.PAD_MergePrimitivesAsPolygon(self, aLayer, aMergedPolygon, aErrorLoc)
14050 r"""DeletePrimitivesList(PAD self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
14051 return _pcbnew.PAD_DeletePrimitivesList(self, aLayer)
14054 r"""GetPrimitives(PAD self, PCB_LAYER_ID aLayer) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &"""
14055 return _pcbnew.PAD_GetPrimitives(self, aLayer)
14058 r"""FlipPrimitives(PAD self, FLIP_DIRECTION aFlipDirection)"""
14059 return _pcbnew.PAD_FlipPrimitives(self, aFlipDirection)
14062 r"""ReplacePrimitives(PAD self, PCB_LAYER_ID aLayer, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
14063 return _pcbnew.PAD_ReplacePrimitives(self, aLayer, aPrimitivesList)
14066 r"""AppendPrimitives(PAD self, PCB_LAYER_ID aLayer, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
14067 return _pcbnew.PAD_AppendPrimitives(self, aLayer, aPrimitivesList)
14070 r"""AddPrimitiveShape(PAD self, PCB_LAYER_ID aLayer, PCB_SHAPE aPrimitive)"""
14071 return _pcbnew.PAD_AddPrimitiveShape(self, aLayer, aPrimitive)
14074 r"""SetOrientation(PAD self, EDA_ANGLE aAngle)"""
14075 return _pcbnew.PAD_SetOrientation(self, aAngle)
14078 r"""SetFPRelativeOrientation(PAD self, EDA_ANGLE aAngle)"""
14079 return _pcbnew.PAD_SetFPRelativeOrientation(self, aAngle)
14082 r"""GetOrientation(PAD self) -> EDA_ANGLE"""
14083 return _pcbnew.PAD_GetOrientation(self)
14086 r"""GetFPRelativeOrientation(PAD self) -> EDA_ANGLE"""
14087 return _pcbnew.PAD_GetFPRelativeOrientation(self)
14090 r"""SetOrientationDegrees(PAD self, double aOrientation)"""
14091 return _pcbnew.PAD_SetOrientationDegrees(self, aOrientation)
14094 r"""GetOrientationDegrees(PAD self) -> double"""
14095 return _pcbnew.PAD_GetOrientationDegrees(self)
14098 r"""SetDrillShape(PAD self, PAD_DRILL_SHAPE aShape)"""
14099 return _pcbnew.PAD_SetDrillShape(self, aShape)
14102 r"""GetDrillShape(PAD self) -> PAD_DRILL_SHAPE"""
14103 return _pcbnew.PAD_GetDrillShape(self)
14106 r"""IsDirty(PAD self) -> bool"""
14107 return _pcbnew.PAD_IsDirty(self)
14110 r"""SetDirty(PAD self)"""
14111 return _pcbnew.PAD_SetDirty(self)
14114 r"""SetAttribute(PAD self, PAD_ATTRIB aAttribute)"""
14115 return _pcbnew.PAD_SetAttribute(self, aAttribute)
14118 r"""GetAttribute(PAD self) -> PAD_ATTRIB"""
14119 return _pcbnew.PAD_GetAttribute(self)
14122 r"""SetProperty(PAD self, PAD_PROP aProperty)"""
14123 return _pcbnew.PAD_SetProperty(self, aProperty)
14126 r"""GetProperty(PAD self) -> PAD_PROP"""
14127 return _pcbnew.PAD_GetProperty(self)
14130 r"""IsAperturePad(PAD self) -> bool"""
14131 return _pcbnew.PAD_IsAperturePad(self)
14134 r"""SetPadToDieLength(PAD self, int aLength)"""
14135 return _pcbnew.PAD_SetPadToDieLength(self, aLength)
14138 r"""GetPadToDieLength(PAD self) -> int"""
14139 return _pcbnew.PAD_GetPadToDieLength(self)
14142 r"""SetLocalClearance(PAD self, std::optional< int > aClearance)"""
14143 return _pcbnew.PAD_SetLocalClearance(self, aClearance)
14146 r"""GetLocalSolderMaskMargin(PAD self) -> std::optional< int >"""
14147 return _pcbnew.PAD_GetLocalSolderMaskMargin(self)
14150 r"""SetLocalSolderMaskMargin(PAD self, std::optional< int > aMargin)"""
14151 return _pcbnew.PAD_SetLocalSolderMaskMargin(self, aMargin)
14154 r"""GetLocalSolderPasteMargin(PAD self) -> std::optional< int >"""
14155 return _pcbnew.PAD_GetLocalSolderPasteMargin(self)
14158 r"""SetLocalSolderPasteMargin(PAD self, std::optional< int > aMargin)"""
14159 return _pcbnew.PAD_SetLocalSolderPasteMargin(self, aMargin)
14162 r"""GetLocalSolderPasteMarginRatio(PAD self) -> std::optional< double >"""
14163 return _pcbnew.PAD_GetLocalSolderPasteMarginRatio(self)
14166 r"""SetLocalSolderPasteMarginRatio(PAD self, std::optional< double > aRatio)"""
14167 return _pcbnew.PAD_SetLocalSolderPasteMarginRatio(self, aRatio)
14170 r"""SetLocalZoneConnection(PAD self, ZONE_CONNECTION aType)"""
14171 return _pcbnew.PAD_SetLocalZoneConnection(self, aType)
14174 r"""GetLocalZoneConnection(PAD self) -> ZONE_CONNECTION"""
14175 return _pcbnew.PAD_GetLocalZoneConnection(self)
14178 r"""GetOwnClearance(PAD self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
14179 return _pcbnew.PAD_GetOwnClearance(self, aLayer, aSource)
14182 r"""TransformShapeToPolygon(PAD self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc=ERROR_INSIDE, bool ignoreLineWidth=False)"""
14183 return _pcbnew.PAD_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, ignoreLineWidth)
14186 r"""TransformHoleToPolygon(PAD self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> bool"""
14187 return _pcbnew.PAD_TransformHoleToPolygon(self, aBuffer, aClearance, aError, aErrorLoc)
14190 r"""GetEffectiveShape(PAD self, PCB_LAYER_ID aLayer, FLASHING flashPTHPads=DEFAULT) -> std::shared_ptr< SHAPE >"""
14191 return _pcbnew.PAD_GetEffectiveShape(self, *args)
14194 r"""GetEffectivePolygon(PAD self, PCB_LAYER_ID aLayer, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> std::shared_ptr< SHAPE_POLY_SET > const"""
14195 return _pcbnew.PAD_GetEffectivePolygon(self, aLayer, aErrorLoc)
14198 r"""GetBoundingRadius(PAD self) -> int"""
14199 return _pcbnew.PAD_GetBoundingRadius(self)
14206 return _pcbnew.PAD_GetLocalClearance(self, *args)
14209 r"""GetSolderMaskExpansion(PAD self, PCB_LAYER_ID aLayer) -> int"""
14210 return _pcbnew.PAD_GetSolderMaskExpansion(self, aLayer)
14213 r"""GetSolderPasteMargin(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
14214 return _pcbnew.PAD_GetSolderPasteMargin(self, aLayer)
14217 r"""GetZoneConnectionOverrides(PAD self, wxString aSource=None) -> ZONE_CONNECTION"""
14218 return _pcbnew.PAD_GetZoneConnectionOverrides(self, aSource)
14221 r"""SetLocalThermalSpokeWidthOverride(PAD self, std::optional< int > aWidth)"""
14222 return _pcbnew.PAD_SetLocalThermalSpokeWidthOverride(self, aWidth)
14225 r"""GetLocalThermalSpokeWidthOverride(PAD self) -> std::optional< int >"""
14226 return _pcbnew.PAD_GetLocalThermalSpokeWidthOverride(self)
14229 r"""GetLocalSpokeWidthOverride(PAD self, wxString aSource=None) -> int"""
14230 return _pcbnew.PAD_GetLocalSpokeWidthOverride(self, aSource)
14233 r"""SetThermalSpokeAngle(PAD self, EDA_ANGLE aAngle)"""
14234 return _pcbnew.PAD_SetThermalSpokeAngle(self, aAngle)
14237 r"""GetThermalSpokeAngle(PAD self) -> EDA_ANGLE"""
14238 return _pcbnew.PAD_GetThermalSpokeAngle(self)
14241 r"""SetThermalSpokeAngleDegrees(PAD self, double aAngle)"""
14242 return _pcbnew.PAD_SetThermalSpokeAngleDegrees(self, aAngle)
14245 r"""GetThermalSpokeAngleDegrees(PAD self) -> double"""
14246 return _pcbnew.PAD_GetThermalSpokeAngleDegrees(self)
14249 r"""SetThermalGap(PAD self, int aGap)"""
14250 return _pcbnew.PAD_SetThermalGap(self, aGap)
14253 r"""GetThermalGap(PAD self) -> int"""
14254 return _pcbnew.PAD_GetThermalGap(self)
14261 return _pcbnew.PAD_GetLocalThermalGapOverride(self, *args)
14264 r"""SetLocalThermalGapOverride(PAD self, std::optional< int > const & aOverride)"""
14265 return _pcbnew.PAD_SetLocalThermalGapOverride(self, aOverride)
14268 r"""ShapePos(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
14269 return _pcbnew.PAD_ShapePos(self, aLayer)
14272 r"""SetFrontRoundRectRadiusRatio(PAD self, double aRadiusScale)"""
14273 return _pcbnew.PAD_SetFrontRoundRectRadiusRatio(self, aRadiusScale)
14276 r"""GetFrontRoundRectRadiusRatio(PAD self) -> double"""
14277 return _pcbnew.PAD_GetFrontRoundRectRadiusRatio(self)
14280 r"""SetFrontRoundRectRadiusSize(PAD self, int aRadius)"""
14281 return _pcbnew.PAD_SetFrontRoundRectRadiusSize(self, aRadius)
14284 r"""GetFrontRoundRectRadiusSize(PAD self) -> int"""
14285 return _pcbnew.PAD_GetFrontRoundRectRadiusSize(self)
14288 r"""GetSubRatsnest(PAD self) -> int"""
14289 return _pcbnew.PAD_GetSubRatsnest(self)
14292 r"""SetSubRatsnest(PAD self, int aSubRatsnest)"""
14293 return _pcbnew.PAD_SetSubRatsnest(self, aSubRatsnest)
14296 r"""SetRemoveUnconnected(PAD self, bool aSet)"""
14297 return _pcbnew.PAD_SetRemoveUnconnected(self, aSet)
14300 r"""GetRemoveUnconnected(PAD self) -> bool"""
14301 return _pcbnew.PAD_GetRemoveUnconnected(self)
14304 r"""SetKeepTopBottom(PAD self, bool aSet)"""
14305 return _pcbnew.PAD_SetKeepTopBottom(self, aSet)
14308 r"""GetKeepTopBottom(PAD self) -> bool"""
14309 return _pcbnew.PAD_GetKeepTopBottom(self)
14312 r"""SetUnconnectedLayerMode(PAD self, PADSTACK::UNCONNECTED_LAYER_MODE aMode)"""
14313 return _pcbnew.PAD_SetUnconnectedLayerMode(self, aMode)
14316 r"""GetUnconnectedLayerMode(PAD self) -> PADSTACK::UNCONNECTED_LAYER_MODE"""
14317 return _pcbnew.PAD_GetUnconnectedLayerMode(self)
14320 r"""ConditionallyFlashed(PAD self, PCB_LAYER_ID aLayer) -> bool"""
14321 return _pcbnew.PAD_ConditionallyFlashed(self, aLayer)
14324 r"""CanFlashLayer(PAD self, int aLayer) -> bool"""
14325 return _pcbnew.PAD_CanFlashLayer(self, aLayer)
14328 r"""GetPrincipalLayer(PAD self) -> PCB_LAYER_ID"""
14329 return _pcbnew.PAD_GetPrincipalLayer(self)
14333 FlashLayer(PAD self, int aLayer, bool aOnlyCheckIfPermitted=False) -> bool
14336 return _pcbnew.PAD_FlashLayer(self, *args)
14340 HitTest(PAD self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14341 HitTest(PAD self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
14343 return _pcbnew.PAD_HitTest(self, *args)
14346 r"""Recombine(PAD self, bool aIsDryRun, int aMaxError) -> std::vector< PCB_SHAPE *,std::allocator< PCB_SHAPE * > >"""
14347 return _pcbnew.PAD_Recombine(self, aIsDryRun, aMaxError)
14351 r"""Compare(PAD aPadRef, PAD aPadCmp) -> int"""
14352 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
14355 r"""ShowPadShape(PAD self, PCB_LAYER_ID aLayer) -> wxString"""
14356 return _pcbnew.PAD_ShowPadShape(self, aLayer)
14359 r"""ShowPadAttr(PAD self) -> wxString"""
14360 return _pcbnew.PAD_ShowPadAttr(self)
14363 r"""ClonePad(PAD self) -> PAD"""
14364 return _pcbnew.PAD_ClonePad(self)
14367 r"""BuildEffectiveShapes(PAD self)"""
14368 return _pcbnew.PAD_BuildEffectiveShapes(self)
14371 r"""BuildEffectivePolygon(PAD self, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
14372 return _pcbnew.PAD_BuildEffectivePolygon(self, aErrorLoc)
14375 r"""ViewGetLOD(PAD self, int aLayer, KIGFX::VIEW const * aView) -> double"""
14376 return _pcbnew.PAD_ViewGetLOD(self, aLayer, aView)
14379 r"""ClearZoneLayerOverrides(PAD self)"""
14380 return _pcbnew.PAD_ClearZoneLayerOverrides(self)
14383 r"""GetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
14384 return _pcbnew.PAD_GetZoneLayerOverride(self, aLayer)
14387 r"""SetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
14388 return _pcbnew.PAD_SetZoneLayerOverride(self, aLayer, aOverride)
14390 def CheckPad(self, aUnitsProvider, aForPadProperties, aErrorHandler):
14391 r"""CheckPad(PAD self, UNITS_PROVIDER aUnitsProvider, bool aForPadProperties, std::function< void (int,wxString const &) > const & aErrorHandler)"""
14392 return _pcbnew.PAD_CheckPad(self, aUnitsProvider, aForPadProperties, aErrorHandler)
14396 __eq__(PAD self, PAD aOther) -> bool
14397 __eq__(PAD self, BOARD_ITEM aBoardItem) -> bool
14399 return _pcbnew.PAD___eq__(self, *args)
14403 GetShape(PAD self, PCB_LAYER_ID aLayer) -> PAD_SHAPE
14406 return _pcbnew.PAD_GetShape(self, *args)
14410 SetShape(PAD self, PCB_LAYER_ID aLayer, PAD_SHAPE aShape)
14411 SetShape(PAD self, PAD_SHAPE aShape)
14413 return _pcbnew.PAD_SetShape(self, *args)
14417 GetSize(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I
14418 GetSize(PAD self) -> VECTOR2I
14420 return _pcbnew.PAD_GetSize(self, *args)
14424 SetSize(PAD self, PCB_LAYER_ID aLayer, VECTOR2I aSize)
14425 SetSize(PAD self, VECTOR2I aSize)
14427 return _pcbnew.PAD_SetSize(self, *args)
14431 GetDelta(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I
14434 return _pcbnew.PAD_GetDelta(self, *args)
14438 SetDelta(PAD self, PCB_LAYER_ID aLayer, VECTOR2I aSize)
14439 SetDelta(PAD self, VECTOR2I aSize)
14441 return _pcbnew.PAD_SetDelta(self, *args)
14445 GetOffset(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I
14448 return _pcbnew.PAD_GetOffset(self, *args)
14452 SetOffset(PAD self, PCB_LAYER_ID aLayer, VECTOR2I aOffset)
14455 return _pcbnew.PAD_SetOffset(self, *args)
14462 return _pcbnew.PAD_GetRoundRectCornerRadius(self, *args)
14469 return _pcbnew.PAD_SetRoundRectCornerRadius(self, *args)
14476 return _pcbnew.PAD_GetRoundRectRadiusRatio(self, *args)
14483 return _pcbnew.PAD_SetRoundRectRadiusRatio(self, *args)
14490 return _pcbnew.PAD_GetChamferRectRatio(self, *args)
14497 return _pcbnew.PAD_SetChamferRectRatio(self, *args)
14504 return _pcbnew.PAD_GetChamferPositions(self, *args)
14511 return _pcbnew.PAD_SetChamferPositions(self, *args)
14537 elif len(args) == 3:
14538 if type(args[1]
in [wxPoint,wxSize,VECTOR2I]):
14540 s.SetStart(args[0])
14542 s.SetWidth(args[2])
14545 s.SetCenter(args[0])
14546 s.SetRadius(args[1])
14547 s.SetWidth(args[2])
14548 elif len(args) == 4:
14550 s.SetCenter(args[0])
14551 s.SetStart(args[1])
14552 s.SetArcAngleAndEnd(args[2])
14553 s.SetWidth(args[3])
14554 elif len(args) == 5:
14556 s.SetStart(args[0])
14558 s.SetBezierC1(args[2])
14559 s.SetBezierC2(args[3])
14560 s.SetWidth(args[4])
14562 raise TypeError(f
"Arguments not recognized; expected 2-5 args, got {len(args)}")
14572 __swig_destroy__ = _pcbnew.delete_PAD
14575_pcbnew.PAD_swigregister(PAD)
14576ENDPOINT_START = _pcbnew.ENDPOINT_START
14578ENDPOINT_END = _pcbnew.ENDPOINT_END
14580VIATYPE_THROUGH = _pcbnew.VIATYPE_THROUGH
14582VIATYPE_BLIND_BURIED = _pcbnew.VIATYPE_BLIND_BURIED
14584VIATYPE_MICROVIA = _pcbnew.VIATYPE_MICROVIA
14586VIATYPE_NOT_DEFINED = _pcbnew.VIATYPE_NOT_DEFINED
14588TENTING_MODE_FROM_RULES = _pcbnew.TENTING_MODE_FROM_RULES
14590TENTING_MODE_TENTED = _pcbnew.TENTING_MODE_TENTED
14592TENTING_MODE_NOT_TENTED = _pcbnew.TENTING_MODE_NOT_TENTED
14594UNDEFINED_DRILL_DIAMETER = _pcbnew.UNDEFINED_DRILL_DIAMETER
14597 r"""Proxy of C++ PCB_TRACK class."""
14599 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14600 __repr__ = _swig_repr
14604 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14605 return _pcbnew.PCB_TRACK_ClassOf(aItem)
14608 r"""__init__(PCB_TRACK self, BOARD_ITEM aParent, KICAD_T idtype=PCB_TRACE_T) -> PCB_TRACK"""
14609 _pcbnew.PCB_TRACK_swiginit(self, _pcbnew.new_PCB_TRACK(aParent, idtype))
14612 r"""SetWidth(PCB_TRACK self, int aWidth)"""
14613 return _pcbnew.PCB_TRACK_SetWidth(self, aWidth)
14616 r"""GetWidth(PCB_TRACK self) -> int"""
14617 return _pcbnew.PCB_TRACK_GetWidth(self)
14620 r"""SetEnd(PCB_TRACK self, VECTOR2I aEnd)"""
14621 return _pcbnew.PCB_TRACK_SetEnd(self, aEnd)
14624 r"""GetEnd(PCB_TRACK self) -> VECTOR2I"""
14625 return _pcbnew.PCB_TRACK_GetEnd(self)
14628 r"""SetStart(PCB_TRACK self, VECTOR2I aStart)"""
14629 return _pcbnew.PCB_TRACK_SetStart(self, aStart)
14632 r"""GetStart(PCB_TRACK self) -> VECTOR2I"""
14633 return _pcbnew.PCB_TRACK_GetStart(self)
14636 r"""SetStartX(PCB_TRACK self, int aX)"""
14637 return _pcbnew.PCB_TRACK_SetStartX(self, aX)
14640 r"""SetStartY(PCB_TRACK self, int aY)"""
14641 return _pcbnew.PCB_TRACK_SetStartY(self, aY)
14644 r"""GetStartX(PCB_TRACK self) -> int"""
14645 return _pcbnew.PCB_TRACK_GetStartX(self)
14648 r"""GetStartY(PCB_TRACK self) -> int"""
14649 return _pcbnew.PCB_TRACK_GetStartY(self)
14652 r"""SetEndX(PCB_TRACK self, int aX)"""
14653 return _pcbnew.PCB_TRACK_SetEndX(self, aX)
14656 r"""SetEndY(PCB_TRACK self, int aY)"""
14657 return _pcbnew.PCB_TRACK_SetEndY(self, aY)
14660 r"""GetEndX(PCB_TRACK self) -> int"""
14661 return _pcbnew.PCB_TRACK_GetEndX(self)
14664 r"""GetEndY(PCB_TRACK self) -> int"""
14665 return _pcbnew.PCB_TRACK_GetEndY(self)
14668 r"""GetEndPoint(PCB_TRACK self, ENDPOINT_T aEndPoint) -> VECTOR2I"""
14669 return _pcbnew.PCB_TRACK_GetEndPoint(self, aEndPoint)
14672 r"""SetHasSolderMask(PCB_TRACK self, bool aVal)"""
14673 return _pcbnew.PCB_TRACK_SetHasSolderMask(self, aVal)
14676 r"""HasSolderMask(PCB_TRACK self) -> bool"""
14677 return _pcbnew.PCB_TRACK_HasSolderMask(self)
14680 r"""SetLocalSolderMaskMargin(PCB_TRACK self, std::optional< int > aMargin)"""
14681 return _pcbnew.PCB_TRACK_SetLocalSolderMaskMargin(self, aMargin)
14684 r"""GetLocalSolderMaskMargin(PCB_TRACK self) -> std::optional< int >"""
14685 return _pcbnew.PCB_TRACK_GetLocalSolderMaskMargin(self)
14688 r"""GetSolderMaskExpansion(PCB_TRACK self) -> int"""
14689 return _pcbnew.PCB_TRACK_GetSolderMaskExpansion(self)
14692 r"""GetLength(PCB_TRACK self) -> double"""
14693 return _pcbnew.PCB_TRACK_GetLength(self)
14696 r"""TransformShapeToPolygon(PCB_TRACK self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
14697 return _pcbnew.PCB_TRACK_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
14700 r"""GetEffectiveShape(PCB_TRACK self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14701 return _pcbnew.PCB_TRACK_GetEffectiveShape(self, *args)
14704 r"""IsPointOnEnds(PCB_TRACK self, VECTOR2I point, int min_dist=0) -> EDA_ITEM_FLAGS"""
14705 return _pcbnew.PCB_TRACK_IsPointOnEnds(self, point, min_dist)
14708 r"""IsNull(PCB_TRACK self) -> bool"""
14709 return _pcbnew.PCB_TRACK_IsNull(self)
14713 HitTest(PCB_TRACK self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14714 HitTest(PCB_TRACK self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
14716 return _pcbnew.PCB_TRACK_HitTest(self, *args)
14719 r"""ApproxCollinear(PCB_TRACK self, PCB_TRACK aTrack) -> bool"""
14720 return _pcbnew.PCB_TRACK_ApproxCollinear(self, aTrack)
14723 r"""GetWidthConstraint(PCB_TRACK self, wxString aSource=None) -> MINOPTMAX< int >"""
14724 return _pcbnew.PCB_TRACK_GetWidthConstraint(self, aSource)
14727 r"""ViewGetLOD(PCB_TRACK self, int aLayer, KIGFX::VIEW const * aView) -> double"""
14728 return _pcbnew.PCB_TRACK_ViewGetLOD(self, aLayer, aView)
14732 __eq__(PCB_TRACK self, BOARD_ITEM aOther) -> bool
14733 __eq__(PCB_TRACK self, PCB_TRACK aOther) -> bool
14735 return _pcbnew.PCB_TRACK___eq__(self, *args)
14738 r"""Serialize(PCB_TRACK self, google::protobuf::Any & aContainer)"""
14739 return _pcbnew.PCB_TRACK_Serialize(self, aContainer)
14742 r"""Deserialize(PCB_TRACK self, google::protobuf::Any const & aContainer) -> bool"""
14743 return _pcbnew.PCB_TRACK_Deserialize(self, aContainer)
14744 __swig_destroy__ = _pcbnew.delete_PCB_TRACK
14747_pcbnew.PCB_TRACK_swigregister(PCB_TRACK)
14748PAD_SHAPE_RECT = cvar.PAD_SHAPE_RECT
14751 r"""Proxy of C++ PCB_ARC class."""
14753 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14754 __repr__ = _swig_repr
14758 __init__(PCB_ARC self, BOARD_ITEM aParent) -> PCB_ARC
14759 __init__(PCB_ARC self, BOARD_ITEM aParent, SHAPE_ARC aArc) -> PCB_ARC
14761 _pcbnew.PCB_ARC_swiginit(self, _pcbnew.new_PCB_ARC(*args))
14765 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14766 return _pcbnew.PCB_ARC_ClassOf(aItem)
14769 r"""SetMid(PCB_ARC self, VECTOR2I aMid)"""
14770 return _pcbnew.PCB_ARC_SetMid(self, aMid)
14773 r"""GetMid(PCB_ARC self) -> VECTOR2I"""
14774 return _pcbnew.PCB_ARC_GetMid(self)
14777 r"""GetRadius(PCB_ARC self) -> double"""
14778 return _pcbnew.PCB_ARC_GetRadius(self)
14781 r"""GetAngle(PCB_ARC self) -> EDA_ANGLE"""
14782 return _pcbnew.PCB_ARC_GetAngle(self)
14785 r"""GetArcAngleStart(PCB_ARC self) -> EDA_ANGLE"""
14786 return _pcbnew.PCB_ARC_GetArcAngleStart(self)
14789 r"""GetArcAngleEnd(PCB_ARC self) -> EDA_ANGLE"""
14790 return _pcbnew.PCB_ARC_GetArcAngleEnd(self)
14794 HitTest(PCB_ARC self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14795 HitTest(PCB_ARC self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
14797 return _pcbnew.PCB_ARC_HitTest(self, *args)
14800 r"""IsCCW(PCB_ARC self) -> bool"""
14801 return _pcbnew.PCB_ARC_IsCCW(self)
14804 r"""GetEffectiveShape(PCB_ARC self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14805 return _pcbnew.PCB_ARC_GetEffectiveShape(self, *args)
14808 r"""IsDegenerated(PCB_ARC self, int aThreshold=5) -> bool"""
14809 return _pcbnew.PCB_ARC_IsDegenerated(self, aThreshold)
14813 __eq__(PCB_ARC self, PCB_ARC aOther) -> bool
14814 __eq__(PCB_ARC self, BOARD_ITEM aBoardItem) -> bool
14816 return _pcbnew.PCB_ARC___eq__(self, *args)
14819 r"""Serialize(PCB_ARC self, google::protobuf::Any & aContainer)"""
14820 return _pcbnew.PCB_ARC_Serialize(self, aContainer)
14823 r"""Deserialize(PCB_ARC self, google::protobuf::Any const & aContainer) -> bool"""
14824 return _pcbnew.PCB_ARC_Deserialize(self, aContainer)
14825 __swig_destroy__ = _pcbnew.delete_PCB_ARC
14828_pcbnew.PCB_ARC_swigregister(PCB_ARC)
14830 r"""Proxy of C++ PCB_VIA class."""
14832 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14833 __repr__ = _swig_repr
14837 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14838 return _pcbnew.PCB_VIA_ClassOf(aItem)
14842 __init__(PCB_VIA self, BOARD_ITEM aParent) -> PCB_VIA
14843 __init__(PCB_VIA self, PCB_VIA aOther) -> PCB_VIA
14845 _pcbnew.PCB_VIA_swiginit(self, _pcbnew.new_PCB_VIA(*args))
14848 r"""HasValidLayerPair(PCB_VIA self, int aCopperLayerCount) -> bool"""
14849 return _pcbnew.PCB_VIA_HasValidLayerPair(self, aCopperLayerCount)
14852 r"""GetViaType(PCB_VIA self) -> VIATYPE"""
14853 return _pcbnew.PCB_VIA_GetViaType(self)
14856 r"""SetViaType(PCB_VIA self, VIATYPE aViaType)"""
14857 return _pcbnew.PCB_VIA_SetViaType(self, aViaType)
14861 Padstack(PCB_VIA self) -> PADSTACK
14862 Padstack(PCB_VIA self) -> PADSTACK
14864 return _pcbnew.PCB_VIA_Padstack(self, *args)
14867 r"""SetPadstack(PCB_VIA self, PADSTACK aPadstack)"""
14868 return _pcbnew.PCB_VIA_SetPadstack(self, aPadstack)
14872 SetWidth(PCB_VIA self, int aWidth)
14873 SetWidth(PCB_VIA self, PCB_LAYER_ID aLayer, int aWidth)
14875 return _pcbnew.PCB_VIA_SetWidth(self, *args)
14880 GetWidth(PCB_VIA self, PCB_LAYER_ID aLayer) -> int
14882 return _pcbnew.PCB_VIA_GetWidth(self, *args)
14885 r"""SetFrontWidth(PCB_VIA self, int aWidth)"""
14886 return _pcbnew.PCB_VIA_SetFrontWidth(self, aWidth)
14889 r"""GetFrontWidth(PCB_VIA self) -> int"""
14890 return _pcbnew.PCB_VIA_GetFrontWidth(self)
14893 r"""GetWidthConstraint(PCB_VIA self, wxString aSource=None) -> MINOPTMAX< int >"""
14894 return _pcbnew.PCB_VIA_GetWidthConstraint(self, aSource)
14897 r"""GetDrillConstraint(PCB_VIA self, wxString aSource=None) -> MINOPTMAX< int >"""
14898 return _pcbnew.PCB_VIA_GetDrillConstraint(self, aSource)
14901 r"""SetFrontTentingMode(PCB_VIA self, TENTING_MODE aMode)"""
14902 return _pcbnew.PCB_VIA_SetFrontTentingMode(self, aMode)
14905 r"""GetFrontTentingMode(PCB_VIA self) -> TENTING_MODE"""
14906 return _pcbnew.PCB_VIA_GetFrontTentingMode(self)
14909 r"""SetBackTentingMode(PCB_VIA self, TENTING_MODE aMode)"""
14910 return _pcbnew.PCB_VIA_SetBackTentingMode(self, aMode)
14913 r"""GetBackTentingMode(PCB_VIA self) -> TENTING_MODE"""
14914 return _pcbnew.PCB_VIA_GetBackTentingMode(self)
14917 r"""GetSolderMaskExpansion(PCB_VIA self) -> int"""
14918 return _pcbnew.PCB_VIA_GetSolderMaskExpansion(self)
14921 r"""SetLayerPair(PCB_VIA self, PCB_LAYER_ID aTopLayer, PCB_LAYER_ID aBottomLayer)"""
14922 return _pcbnew.PCB_VIA_SetLayerPair(self, aTopLayer, aBottomLayer)
14925 r"""SetBottomLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
14926 return _pcbnew.PCB_VIA_SetBottomLayer(self, aLayer)
14929 r"""SetTopLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
14930 return _pcbnew.PCB_VIA_SetTopLayer(self, aLayer)
14933 r"""LayerPair(PCB_VIA self, PCB_LAYER_ID * top_layer, PCB_LAYER_ID * bottom_layer)"""
14934 return _pcbnew.PCB_VIA_LayerPair(self, top_layer, bottom_layer)
14937 r"""TopLayer(PCB_VIA self) -> PCB_LAYER_ID"""
14938 return _pcbnew.PCB_VIA_TopLayer(self)
14941 r"""BottomLayer(PCB_VIA self) -> PCB_LAYER_ID"""
14942 return _pcbnew.PCB_VIA_BottomLayer(self)
14945 r"""SanitizeLayers(PCB_VIA self)"""
14946 return _pcbnew.PCB_VIA_SanitizeLayers(self)
14950 HitTest(PCB_VIA self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14951 HitTest(PCB_VIA self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
14953 return _pcbnew.PCB_VIA_HitTest(self, *args)
14956 r"""ViewGetLOD(PCB_VIA self, int aLayer, KIGFX::VIEW const * aView) -> double"""
14957 return _pcbnew.PCB_VIA_ViewGetLOD(self, aLayer, aView)
14960 r"""GetMinAnnulus(PCB_VIA self, PCB_LAYER_ID aLayer, wxString aSource) -> int"""
14961 return _pcbnew.PCB_VIA_GetMinAnnulus(self, aLayer, aSource)
14964 r"""SetRemoveUnconnected(PCB_VIA self, bool aSet)"""
14965 return _pcbnew.PCB_VIA_SetRemoveUnconnected(self, aSet)
14968 r"""GetRemoveUnconnected(PCB_VIA self) -> bool"""
14969 return _pcbnew.PCB_VIA_GetRemoveUnconnected(self)
14972 r"""SetKeepStartEnd(PCB_VIA self, bool aSet)"""
14973 return _pcbnew.PCB_VIA_SetKeepStartEnd(self, aSet)
14976 r"""GetKeepStartEnd(PCB_VIA self) -> bool"""
14977 return _pcbnew.PCB_VIA_GetKeepStartEnd(self)
14980 r"""ConditionallyFlashed(PCB_VIA self, PCB_LAYER_ID aLayer) -> bool"""
14981 return _pcbnew.PCB_VIA_ConditionallyFlashed(self, aLayer)
14985 FlashLayer(PCB_VIA self, int aLayer) -> bool
14986 FlashLayer(PCB_VIA self, LSET aLayers) -> bool
14988 return _pcbnew.PCB_VIA_FlashLayer(self, *args)
14991 r"""GetOutermostConnectedLayers(PCB_VIA self, PCB_LAYER_ID * aTopmost, PCB_LAYER_ID * aBottommost)"""
14992 return _pcbnew.PCB_VIA_GetOutermostConnectedLayers(self, aTopmost, aBottommost)
14995 r"""SetDrill(PCB_VIA self, int aDrill)"""
14996 return _pcbnew.PCB_VIA_SetDrill(self, aDrill)
14999 r"""GetDrill(PCB_VIA self) -> int"""
15000 return _pcbnew.PCB_VIA_GetDrill(self)
15003 r"""GetDrillValue(PCB_VIA self) -> int"""
15004 return _pcbnew.PCB_VIA_GetDrillValue(self)
15007 r"""SetDrillDefault(PCB_VIA self)"""
15008 return _pcbnew.PCB_VIA_SetDrillDefault(self)
15011 r"""GetIsFree(PCB_VIA self) -> bool"""
15012 return _pcbnew.PCB_VIA_GetIsFree(self)
15015 r"""SetIsFree(PCB_VIA self, bool aFree=True)"""
15016 return _pcbnew.PCB_VIA_SetIsFree(self, aFree)
15019 r"""GetEffectiveShape(PCB_VIA self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15020 return _pcbnew.PCB_VIA_GetEffectiveShape(self, *args)
15023 r"""ClearZoneLayerOverrides(PCB_VIA self)"""
15024 return _pcbnew.PCB_VIA_ClearZoneLayerOverrides(self)
15027 r"""GetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
15028 return _pcbnew.PCB_VIA_GetZoneLayerOverride(self, aLayer)
15031 r"""SetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
15032 return _pcbnew.PCB_VIA_SetZoneLayerOverride(self, aLayer, aOverride)
15036 __eq__(PCB_VIA self, PCB_VIA aOther) -> bool
15037 __eq__(PCB_VIA self, BOARD_ITEM aOther) -> bool
15039 return _pcbnew.PCB_VIA___eq__(self, *args)
15042 r"""Serialize(PCB_VIA self, google::protobuf::Any & aContainer)"""
15043 return _pcbnew.PCB_VIA_Serialize(self, aContainer)
15046 r"""Deserialize(PCB_VIA self, google::protobuf::Any const & aContainer) -> bool"""
15047 return _pcbnew.PCB_VIA_Deserialize(self, aContainer)
15048 __swig_destroy__ = _pcbnew.delete_PCB_VIA
15051_pcbnew.PCB_VIA_swigregister(PCB_VIA)
15053 r"""Proxy of C++ ISOLATED_ISLANDS class."""
15055 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15056 __repr__ = _swig_repr
15057 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)>)>""")
15058 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)>)>""")
15061 r"""__init__(ISOLATED_ISLANDS self) -> ISOLATED_ISLANDS"""
15062 _pcbnew.ISOLATED_ISLANDS_swiginit(self, _pcbnew.new_ISOLATED_ISLANDS())
15063 __swig_destroy__ = _pcbnew.delete_ISOLATED_ISLANDS
15066_pcbnew.ISOLATED_ISLANDS_swigregister(ISOLATED_ISLANDS)
15068 r"""Proxy of C++ ZONE class."""
15070 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15071 __repr__ = _swig_repr
15075 __init__(ZONE self, BOARD_ITEM_CONTAINER parent) -> ZONE
15076 __init__(ZONE self, ZONE aZone) -> ZONE
15078 _pcbnew.ZONE_swiginit(self, _pcbnew.new_ZONE(*args))
15079 __swig_destroy__ = _pcbnew.delete_ZONE
15083 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15084 return _pcbnew.ZONE_ClassOf(aItem)
15087 r"""Serialize(ZONE self, google::protobuf::Any & aContainer)"""
15088 return _pcbnew.ZONE_Serialize(self, aContainer)
15091 r"""Deserialize(ZONE self, google::protobuf::Any const & aContainer) -> bool"""
15092 return _pcbnew.ZONE_Deserialize(self, aContainer)
15095 r"""InitDataFromSrcInCopyCtor(ZONE self, ZONE aZone)"""
15096 return _pcbnew.ZONE_InitDataFromSrcInCopyCtor(self, aZone)
15099 r"""IsConflicting(ZONE self) -> bool"""
15100 return _pcbnew.ZONE_IsConflicting(self)
15103 r"""SetAssignedPriority(ZONE self, unsigned int aPriority)"""
15104 return _pcbnew.ZONE_SetAssignedPriority(self, aPriority)
15107 r"""GetAssignedPriority(ZONE self) -> unsigned int"""
15108 return _pcbnew.ZONE_GetAssignedPriority(self)
15111 r"""HigherPriority(ZONE self, ZONE aOther) -> bool"""
15112 return _pcbnew.ZONE_HigherPriority(self, aOther)
15115 r"""SameNet(ZONE self, ZONE aOther) -> bool"""
15116 return _pcbnew.ZONE_SameNet(self, aOther)
15119 r"""SetLayerSetAndRemoveUnusedFills(ZONE self, LSET aLayerSet)"""
15120 return _pcbnew.ZONE_SetLayerSetAndRemoveUnusedFills(self, aLayerSet)
15123 r"""GetZoneName(ZONE self) -> wxString"""
15124 return _pcbnew.ZONE_GetZoneName(self)
15127 r"""SetZoneName(ZONE self, wxString aName)"""
15128 return _pcbnew.ZONE_SetZoneName(self, aName)
15131 r"""CacheBoundingBox(ZONE self)"""
15132 return _pcbnew.ZONE_CacheBoundingBox(self)
15135 r"""SetLocalClearance(ZONE self, std::optional< int > aClearance)"""
15136 return _pcbnew.ZONE_SetLocalClearance(self, aClearance)
15143 return _pcbnew.ZONE_GetLocalClearance(self, *args)
15146 r"""GetFirstLayer(ZONE self) -> PCB_LAYER_ID"""
15147 return _pcbnew.ZONE_GetFirstLayer(self)
15150 r"""ViewGetLOD(ZONE self, int aLayer, KIGFX::VIEW const * aView) -> double"""
15151 return _pcbnew.ZONE_ViewGetLOD(self, aLayer, aView)
15154 r"""SetFillMode(ZONE self, ZONE_FILL_MODE aFillMode)"""
15155 return _pcbnew.ZONE_SetFillMode(self, aFillMode)
15158 r"""GetFillMode(ZONE self) -> ZONE_FILL_MODE"""
15159 return _pcbnew.ZONE_GetFillMode(self)
15162 r"""SetThermalReliefGap(ZONE self, int aThermalReliefGap)"""
15163 return _pcbnew.ZONE_SetThermalReliefGap(self, aThermalReliefGap)
15170 return _pcbnew.ZONE_GetThermalReliefGap(self, *args)
15173 r"""SetThermalReliefSpokeWidth(ZONE self, int aThermalReliefSpokeWidth)"""
15174 return _pcbnew.ZONE_SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth)
15177 r"""GetThermalReliefSpokeWidth(ZONE self) -> int"""
15178 return _pcbnew.ZONE_GetThermalReliefSpokeWidth(self)
15181 r"""CalculateFilledArea(ZONE self) -> double"""
15182 return _pcbnew.ZONE_CalculateFilledArea(self)
15185 r"""CalculateOutlineArea(ZONE self) -> double"""
15186 return _pcbnew.ZONE_CalculateOutlineArea(self)
15189 r"""GetFilledArea(ZONE self) -> double"""
15190 return _pcbnew.ZONE_GetFilledArea(self)
15193 r"""GetOutlineArea(ZONE self) -> double"""
15194 return _pcbnew.ZONE_GetOutlineArea(self)
15197 r"""GetLock(ZONE self) -> std::mutex &"""
15198 return _pcbnew.ZONE_GetLock(self)
15201 r"""GetFillFlag(ZONE self, PCB_LAYER_ID aLayer) -> int"""
15202 return _pcbnew.ZONE_GetFillFlag(self, aLayer)
15205 r"""SetFillFlag(ZONE self, PCB_LAYER_ID aLayer, bool aFlag)"""
15206 return _pcbnew.ZONE_SetFillFlag(self, aLayer, aFlag)
15209 r"""IsFilled(ZONE self) -> bool"""
15210 return _pcbnew.ZONE_IsFilled(self)
15213 r"""SetIsFilled(ZONE self, bool isFilled)"""
15214 return _pcbnew.ZONE_SetIsFilled(self, isFilled)
15217 r"""NeedRefill(ZONE self) -> bool"""
15218 return _pcbnew.ZONE_NeedRefill(self)
15221 r"""SetNeedRefill(ZONE self, bool aNeedRefill)"""
15222 return _pcbnew.ZONE_SetNeedRefill(self, aNeedRefill)
15225 r"""GetPadConnection(ZONE self) -> ZONE_CONNECTION"""
15226 return _pcbnew.ZONE_GetPadConnection(self)
15229 r"""SetPadConnection(ZONE self, ZONE_CONNECTION aPadConnection)"""
15230 return _pcbnew.ZONE_SetPadConnection(self, aPadConnection)
15233 r"""GetMinThickness(ZONE self) -> int"""
15234 return _pcbnew.ZONE_GetMinThickness(self)
15237 r"""SetMinThickness(ZONE self, int aMinThickness)"""
15238 return _pcbnew.ZONE_SetMinThickness(self, aMinThickness)
15241 r"""GetHatchThickness(ZONE self) -> int"""
15242 return _pcbnew.ZONE_GetHatchThickness(self)
15245 r"""SetHatchThickness(ZONE self, int aThickness)"""
15246 return _pcbnew.ZONE_SetHatchThickness(self, aThickness)
15249 r"""GetHatchGap(ZONE self) -> int"""
15250 return _pcbnew.ZONE_GetHatchGap(self)
15253 r"""SetHatchGap(ZONE self, int aStep)"""
15254 return _pcbnew.ZONE_SetHatchGap(self, aStep)
15257 r"""GetHatchOrientation(ZONE self) -> EDA_ANGLE"""
15258 return _pcbnew.ZONE_GetHatchOrientation(self)
15261 r"""SetHatchOrientation(ZONE self, EDA_ANGLE aStep)"""
15262 return _pcbnew.ZONE_SetHatchOrientation(self, aStep)
15265 r"""GetHatchSmoothingLevel(ZONE self) -> int"""
15266 return _pcbnew.ZONE_GetHatchSmoothingLevel(self)
15269 r"""SetHatchSmoothingLevel(ZONE self, int aLevel)"""
15270 return _pcbnew.ZONE_SetHatchSmoothingLevel(self, aLevel)
15273 r"""GetHatchSmoothingValue(ZONE self) -> double"""
15274 return _pcbnew.ZONE_GetHatchSmoothingValue(self)
15277 r"""SetHatchSmoothingValue(ZONE self, double aValue)"""
15278 return _pcbnew.ZONE_SetHatchSmoothingValue(self, aValue)
15281 r"""GetHatchHoleMinArea(ZONE self) -> double"""
15282 return _pcbnew.ZONE_GetHatchHoleMinArea(self)
15285 r"""SetHatchHoleMinArea(ZONE self, double aPct)"""
15286 return _pcbnew.ZONE_SetHatchHoleMinArea(self, aPct)
15289 r"""GetHatchBorderAlgorithm(ZONE self) -> int"""
15290 return _pcbnew.ZONE_GetHatchBorderAlgorithm(self)
15293 r"""SetHatchBorderAlgorithm(ZONE self, int aAlgo)"""
15294 return _pcbnew.ZONE_SetHatchBorderAlgorithm(self, aAlgo)
15297 r"""GetSelectedCorner(ZONE self) -> int"""
15298 return _pcbnew.ZONE_GetSelectedCorner(self)
15301 r"""SetSelectedCorner(ZONE self, int aCorner)"""
15302 return _pcbnew.ZONE_SetSelectedCorner(self, aCorner)
15305 r"""GetLocalFlags(ZONE self) -> int"""
15306 return _pcbnew.ZONE_GetLocalFlags(self)
15309 r"""SetLocalFlags(ZONE self, int aFlags)"""
15310 return _pcbnew.ZONE_SetLocalFlags(self, aFlags)
15314 Outline(ZONE self) -> SHAPE_POLY_SET
15315 Outline(ZONE self) -> SHAPE_POLY_SET
15317 return _pcbnew.ZONE_Outline(self, *args)
15320 r"""SetOutline(ZONE self, SHAPE_POLY_SET aOutline)"""
15321 return _pcbnew.ZONE_SetOutline(self, aOutline)
15324 r"""GetEffectiveShape(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15325 return _pcbnew.ZONE_GetEffectiveShape(self, *args)
15328 r"""HitTestFilledArea(ZONE self, PCB_LAYER_ID aLayer, VECTOR2I aRefPos, int aAccuracy=0) -> bool"""
15329 return _pcbnew.ZONE_HitTestFilledArea(self, aLayer, aRefPos, aAccuracy)
15332 r"""HitTestCutout(ZONE self, VECTOR2I aRefPos, int * aOutlineIdx=None, int * aHoleIdx=None) -> bool"""
15333 return _pcbnew.ZONE_HitTestCutout(self, aRefPos, aOutlineIdx, aHoleIdx)
15336 r"""GetInteractingZones(ZONE self, PCB_LAYER_ID aLayer, ZONES aSameNetCollidingZones, ZONES aOtherNetIntersectingZones)"""
15337 return _pcbnew.ZONE_GetInteractingZones(self, aLayer, aSameNetCollidingZones, aOtherNetIntersectingZones)
15340 r"""TransformSolidAreasShapesToPolygon(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBuffer)"""
15341 return _pcbnew.ZONE_TransformSolidAreasShapesToPolygon(self, aLayer, aBuffer)
15344 r"""TransformSmoothedOutlineToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, SHAPE_POLY_SET aBoardOutline)"""
15345 return _pcbnew.ZONE_TransformSmoothedOutlineToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, aBoardOutline)
15348 r"""TransformShapeToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
15349 return _pcbnew.ZONE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
15352 r"""HitTestForCorner(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
15353 return _pcbnew.ZONE_HitTestForCorner(self, refPos, aAccuracy, aCornerHit)
15356 r"""HitTestForEdge(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
15357 return _pcbnew.ZONE_HitTestForEdge(self, refPos, aAccuracy, aCornerHit)
15361 HitTest(ZONE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
15362 HitTest(ZONE self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
15364 return _pcbnew.ZONE_HitTest(self, *args)
15367 r"""UnFill(ZONE self) -> bool"""
15368 return _pcbnew.ZONE_UnFill(self)
15371 r"""MoveEdge(ZONE self, VECTOR2I offset, int aEdge)"""
15372 return _pcbnew.ZONE_MoveEdge(self, offset, aEdge)
15375 r"""GetNumCorners(ZONE self) -> int"""
15376 return _pcbnew.ZONE_GetNumCorners(self)
15379 r"""Iterate(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
15380 return _pcbnew.ZONE_Iterate(self)
15383 r"""IterateWithHoles(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
15384 return _pcbnew.ZONE_IterateWithHoles(self)
15387 r"""CIterateWithHoles(ZONE self) -> SHAPE_POLY_SET::CONST_ITERATOR"""
15388 return _pcbnew.ZONE_CIterateWithHoles(self)
15391 r"""RemoveAllContours(ZONE self)"""
15392 return _pcbnew.ZONE_RemoveAllContours(self)
15395 r"""GetCornerPosition(ZONE self, int aCornerIndex) -> VECTOR2I"""
15396 return _pcbnew.ZONE_GetCornerPosition(self, aCornerIndex)
15399 r"""SetCornerPosition(ZONE self, int aCornerIndex, VECTOR2I new_pos)"""
15400 return _pcbnew.ZONE_SetCornerPosition(self, aCornerIndex, new_pos)
15403 r"""NewHole(ZONE self)"""
15404 return _pcbnew.ZONE_NewHole(self)
15407 r"""AppendCorner(ZONE self, VECTOR2I aPosition, int aHoleIdx, bool aAllowDuplication=False) -> bool"""
15408 return _pcbnew.ZONE_AppendCorner(self, aPosition, aHoleIdx, aAllowDuplication)
15411 r"""GetHatchStyle(ZONE self) -> ZONE_BORDER_DISPLAY_STYLE"""
15412 return _pcbnew.ZONE_GetHatchStyle(self)
15415 r"""SetHatchStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aStyle)"""
15416 return _pcbnew.ZONE_SetHatchStyle(self, aStyle)
15419 r"""HasFilledPolysForLayer(ZONE self, PCB_LAYER_ID aLayer) -> bool"""
15420 return _pcbnew.ZONE_HasFilledPolysForLayer(self, aLayer)
15423 r"""GetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer) -> std::shared_ptr< SHAPE_POLY_SET > const &"""
15424 return _pcbnew.ZONE_GetFilledPolysList(self, aLayer)
15427 r"""GetFill(ZONE self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
15428 return _pcbnew.ZONE_GetFill(self, aLayer)
15431 r"""CacheTriangulation(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
15432 return _pcbnew.ZONE_CacheTriangulation(self, aLayer)
15435 r"""SetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPolysList)"""
15436 return _pcbnew.ZONE_SetFilledPolysList(self, aLayer, aPolysList)
15439 r"""IsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx) -> bool"""
15440 return _pcbnew.ZONE_IsIsland(self, aLayer, aPolyIdx)
15443 r"""SetIsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx)"""
15444 return _pcbnew.ZONE_SetIsIsland(self, aLayer, aPolyIdx)
15447 r"""BuildSmoothedPoly(ZONE self, SHAPE_POLY_SET aSmoothedPoly, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBoardOutline, SHAPE_POLY_SET aSmoothedPolyWithApron=None) -> bool"""
15448 return _pcbnew.ZONE_BuildSmoothedPoly(self, aSmoothedPoly, aLayer, aBoardOutline, aSmoothedPolyWithApron)
15451 r"""SetCornerSmoothingType(ZONE self, int aType)"""
15452 return _pcbnew.ZONE_SetCornerSmoothingType(self, aType)
15455 r"""GetCornerSmoothingType(ZONE self) -> int"""
15456 return _pcbnew.ZONE_GetCornerSmoothingType(self)
15459 r"""SetCornerRadius(ZONE self, unsigned int aRadius)"""
15460 return _pcbnew.ZONE_SetCornerRadius(self, aRadius)
15463 r"""GetCornerRadius(ZONE self) -> unsigned int"""
15464 return _pcbnew.ZONE_GetCornerRadius(self)
15467 r"""RemoveCutout(ZONE self, int aOutlineIdx, int aHoleIdx)"""
15468 return _pcbnew.ZONE_RemoveCutout(self, aOutlineIdx, aHoleIdx)
15472 AddPolygon(ZONE self, VECTOR_VECTOR2I aPolygon)
15473 AddPolygon(ZONE self, SHAPE_LINE_CHAIN aPolygon)
15475 return _pcbnew.ZONE_AddPolygon(self, *args)
15478 r"""IsTeardropArea(ZONE self) -> bool"""
15479 return _pcbnew.ZONE_IsTeardropArea(self)
15482 r"""SetTeardropAreaType(ZONE self, TEARDROP_TYPE aType)"""
15483 return _pcbnew.ZONE_SetTeardropAreaType(self, aType)
15486 r"""GetTeardropAreaType(ZONE self) -> TEARDROP_TYPE"""
15487 return _pcbnew.ZONE_GetTeardropAreaType(self)
15490 r"""HasKeepoutParametersSet(ZONE self) -> bool"""
15491 return _pcbnew.ZONE_HasKeepoutParametersSet(self)
15494 r"""GetIsRuleArea(ZONE self) -> bool"""
15495 return _pcbnew.ZONE_GetIsRuleArea(self)
15498 r"""GetRuleAreaPlacementEnabled(ZONE self) -> bool"""
15499 return _pcbnew.ZONE_GetRuleAreaPlacementEnabled(self)
15502 r"""GetRuleAreaPlacementSourceType(ZONE self) -> RULE_AREA_PLACEMENT_SOURCE_TYPE"""
15503 return _pcbnew.ZONE_GetRuleAreaPlacementSourceType(self)
15506 r"""GetRuleAreaPlacementSource(ZONE self) -> wxString"""
15507 return _pcbnew.ZONE_GetRuleAreaPlacementSource(self)
15510 r"""GetDoNotAllowCopperPour(ZONE self) -> bool"""
15511 return _pcbnew.ZONE_GetDoNotAllowCopperPour(self)
15514 r"""GetDoNotAllowVias(ZONE self) -> bool"""
15515 return _pcbnew.ZONE_GetDoNotAllowVias(self)
15518 r"""GetDoNotAllowTracks(ZONE self) -> bool"""
15519 return _pcbnew.ZONE_GetDoNotAllowTracks(self)
15522 r"""GetDoNotAllowPads(ZONE self) -> bool"""
15523 return _pcbnew.ZONE_GetDoNotAllowPads(self)
15526 r"""GetDoNotAllowFootprints(ZONE self) -> bool"""
15527 return _pcbnew.ZONE_GetDoNotAllowFootprints(self)
15530 r"""SetIsRuleArea(ZONE self, bool aEnable)"""
15531 return _pcbnew.ZONE_SetIsRuleArea(self, aEnable)
15534 r"""SetRuleAreaPlacementEnabled(ZONE self, bool aEnabled)"""
15535 return _pcbnew.ZONE_SetRuleAreaPlacementEnabled(self, aEnabled)
15538 r"""SetRuleAreaPlacementSourceType(ZONE self, RULE_AREA_PLACEMENT_SOURCE_TYPE aType)"""
15539 return _pcbnew.ZONE_SetRuleAreaPlacementSourceType(self, aType)
15542 r"""SetRuleAreaPlacementSource(ZONE self, wxString aSource)"""
15543 return _pcbnew.ZONE_SetRuleAreaPlacementSource(self, aSource)
15546 r"""SetDoNotAllowCopperPour(ZONE self, bool aEnable)"""
15547 return _pcbnew.ZONE_SetDoNotAllowCopperPour(self, aEnable)
15550 r"""SetDoNotAllowVias(ZONE self, bool aEnable)"""
15551 return _pcbnew.ZONE_SetDoNotAllowVias(self, aEnable)
15554 r"""SetDoNotAllowTracks(ZONE self, bool aEnable)"""
15555 return _pcbnew.ZONE_SetDoNotAllowTracks(self, aEnable)
15558 r"""SetDoNotAllowPads(ZONE self, bool aEnable)"""
15559 return _pcbnew.ZONE_SetDoNotAllowPads(self, aEnable)
15562 r"""SetDoNotAllowFootprints(ZONE self, bool aEnable)"""
15563 return _pcbnew.ZONE_SetDoNotAllowFootprints(self, aEnable)
15566 r"""GetIslandRemovalMode(ZONE self) -> ISLAND_REMOVAL_MODE"""
15567 return _pcbnew.ZONE_GetIslandRemovalMode(self)
15570 r"""SetIslandRemovalMode(ZONE self, ISLAND_REMOVAL_MODE aRemove)"""
15571 return _pcbnew.ZONE_SetIslandRemovalMode(self, aRemove)
15574 r"""GetMinIslandArea(ZONE self) -> long long"""
15575 return _pcbnew.ZONE_GetMinIslandArea(self)
15578 r"""SetMinIslandArea(ZONE self, long long aArea)"""
15579 return _pcbnew.ZONE_SetMinIslandArea(self, aArea)
15582 r"""GetBorderHatchPitch(ZONE self) -> int"""
15583 return _pcbnew.ZONE_GetBorderHatchPitch(self)
15587 r"""GetDefaultHatchPitch() -> int"""
15588 return _pcbnew.ZONE_GetDefaultHatchPitch()
15591 r"""SetBorderDisplayStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aBorderHatchStyle, int aBorderHatchPitch, bool aRebuilBorderdHatch)"""
15592 return _pcbnew.ZONE_SetBorderDisplayStyle(self, aBorderHatchStyle, aBorderHatchPitch, aRebuilBorderdHatch)
15595 r"""SetBorderHatchPitch(ZONE self, int aPitch)"""
15596 return _pcbnew.ZONE_SetBorderHatchPitch(self, aPitch)
15599 r"""UnHatchBorder(ZONE self)"""
15600 return _pcbnew.ZONE_UnHatchBorder(self)
15603 r"""HatchBorder(ZONE self)"""
15604 return _pcbnew.ZONE_HatchBorder(self)
15607 r"""GetHatchLines(ZONE self) -> std::vector< SEG,std::allocator< SEG > > const &"""
15608 return _pcbnew.ZONE_GetHatchLines(self)
15611 r"""BuildHashValue(ZONE self, PCB_LAYER_ID aLayer)"""
15612 return _pcbnew.ZONE_BuildHashValue(self, aLayer)
15615 r"""GetHashValue(ZONE self, PCB_LAYER_ID aLayer) -> HASH_128"""
15616 return _pcbnew.ZONE_GetHashValue(self, aLayer)
15620 __eq__(ZONE self, ZONE aOther) -> bool
15621 __eq__(ZONE self, BOARD_ITEM aOther) -> bool
15623 return _pcbnew.ZONE___eq__(self, *args)
15626_pcbnew.ZONE_swigregister(ZONE)
15627ZONE_THERMAL_RELIEF_GAP_MM = _pcbnew.ZONE_THERMAL_RELIEF_GAP_MM
15629ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM = _pcbnew.ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM
15631ZONE_THICKNESS_MM = _pcbnew.ZONE_THICKNESS_MM
15633ZONE_THICKNESS_MIN_VALUE_MM = _pcbnew.ZONE_THICKNESS_MIN_VALUE_MM
15635ZONE_CLEARANCE_MM = _pcbnew.ZONE_CLEARANCE_MM
15637ZONE_CLEARANCE_MAX_VALUE_MM = _pcbnew.ZONE_CLEARANCE_MAX_VALUE_MM
15639ZONE_BORDER_HATCH_DIST_MM = _pcbnew.ZONE_BORDER_HATCH_DIST_MM
15641ZONE_BORDER_HATCH_MINDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MINDIST_MM
15643ZONE_BORDER_HATCH_MAXDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MAXDIST_MM
15645ZONE_MANAGER_REPOUR = _pcbnew.ZONE_MANAGER_REPOUR
15647ZONE_CONNECTION_INHERITED = _pcbnew.ZONE_CONNECTION_INHERITED
15649ZONE_CONNECTION_NONE = _pcbnew.ZONE_CONNECTION_NONE
15651ZONE_CONNECTION_THERMAL = _pcbnew.ZONE_CONNECTION_THERMAL
15653ZONE_CONNECTION_FULL = _pcbnew.ZONE_CONNECTION_FULL
15655ZONE_CONNECTION_THT_THERMAL = _pcbnew.ZONE_CONNECTION_THT_THERMAL
15659 r"""PrintZoneConnection(ZONE_CONNECTION aConnection) -> wxString"""
15660 return _pcbnew.PrintZoneConnection(aConnection)
15663 r"""InvokeNonCopperZonesEditor(PCB_BASE_FRAME * aParent, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
15664 return _pcbnew.InvokeNonCopperZonesEditor(aParent, aSettings, aConvertSettings)
15667 r"""InvokeCopperZonesEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
15668 return _pcbnew.InvokeCopperZonesEditor(aCaller, aSettings, aConvertSettings)
15671 r"""InvokeRuleAreaEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, BOARD aBoard=None, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
15672 return _pcbnew.InvokeRuleAreaEditor(aCaller, aSettings, aBoard, aConvertSettings)
15674 r"""Proxy of C++ ZONE_FILLER class."""
15676 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15677 __repr__ = _swig_repr
15678 __swig_destroy__ = _pcbnew.delete_ZONE_FILLER
15681 r"""SetProgressReporter(ZONE_FILLER self, PROGRESS_REPORTER * aReporter)"""
15682 return _pcbnew.ZONE_FILLER_SetProgressReporter(self, aReporter)
15685 r"""GetProgressReporter(ZONE_FILLER self) -> PROGRESS_REPORTER *"""
15686 return _pcbnew.ZONE_FILLER_GetProgressReporter(self)
15688 def Fill(self, aZones, aCheck=False, aParent=None):
15689 r"""Fill(ZONE_FILLER self, ZONES aZones, bool aCheck=False, wxWindow * aParent=None) -> bool"""
15690 return _pcbnew.ZONE_FILLER_Fill(self, aZones, aCheck, aParent)
15693 r"""IsDebug(ZONE_FILLER self) -> bool"""
15694 return _pcbnew.ZONE_FILLER_IsDebug(self)
15697 r"""__init__(ZONE_FILLER self, BOARD aBoard) -> ZONE_FILLER"""
15698 _pcbnew.ZONE_FILLER_swiginit(self, _pcbnew.new_ZONE_FILLER(aBoard))
15701_pcbnew.ZONE_FILLER_swigregister(ZONE_FILLER)
15702ZONE_FILL_MODE_POLYGONS = _pcbnew.ZONE_FILL_MODE_POLYGONS
15704ZONE_FILL_MODE_HATCH_PATTERN = _pcbnew.ZONE_FILL_MODE_HATCH_PATTERN
15706ZONE_BORDER_DISPLAY_STYLE_NO_HATCH = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_NO_HATCH
15708ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL
15710ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE
15712ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER
15714ISLAND_REMOVAL_MODE_ALWAYS = _pcbnew.ISLAND_REMOVAL_MODE_ALWAYS
15716ISLAND_REMOVAL_MODE_NEVER = _pcbnew.ISLAND_REMOVAL_MODE_NEVER
15718ISLAND_REMOVAL_MODE_AREA = _pcbnew.ISLAND_REMOVAL_MODE_AREA
15720RULE_AREA_PLACEMENT_SOURCE_TYPE_SHEETNAME = _pcbnew.RULE_AREA_PLACEMENT_SOURCE_TYPE_SHEETNAME
15722RULE_AREA_PLACEMENT_SOURCE_TYPE_COMPONENT_CLASS = _pcbnew.RULE_AREA_PLACEMENT_SOURCE_TYPE_COMPONENT_CLASS
15725 r"""Proxy of C++ ZONE_SETTINGS class."""
15727 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15728 __repr__ = _swig_repr
15729 SMOOTHING_UNDEFINED = _pcbnew.ZONE_SETTINGS_SMOOTHING_UNDEFINED
15731 SMOOTHING_NONE = _pcbnew.ZONE_SETTINGS_SMOOTHING_NONE
15733 SMOOTHING_CHAMFER = _pcbnew.ZONE_SETTINGS_SMOOTHING_CHAMFER
15735 SMOOTHING_FILLET = _pcbnew.ZONE_SETTINGS_SMOOTHING_FILLET
15737 SMOOTHING_LAST = _pcbnew.ZONE_SETTINGS_SMOOTHING_LAST
15739 m_ZonePriority = property(_pcbnew.ZONE_SETTINGS_m_ZonePriority_get, _pcbnew.ZONE_SETTINGS_m_ZonePriority_set, doc=
r"""m_ZonePriority : unsigned int""")
15740 m_FillMode = property(_pcbnew.ZONE_SETTINGS_m_FillMode_get, _pcbnew.ZONE_SETTINGS_m_FillMode_set, doc=
r"""m_FillMode : ZONE_FILL_MODE""")
15741 m_ZoneClearance = property(_pcbnew.ZONE_SETTINGS_m_ZoneClearance_get, _pcbnew.ZONE_SETTINGS_m_ZoneClearance_set, doc=
r"""m_ZoneClearance : int""")
15742 m_ZoneMinThickness = property(_pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_get, _pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_set, doc=
r"""m_ZoneMinThickness : int""")
15743 m_HatchThickness = property(_pcbnew.ZONE_SETTINGS_m_HatchThickness_get, _pcbnew.ZONE_SETTINGS_m_HatchThickness_set, doc=
r"""m_HatchThickness : int""")
15744 m_HatchGap = property(_pcbnew.ZONE_SETTINGS_m_HatchGap_get, _pcbnew.ZONE_SETTINGS_m_HatchGap_set, doc=
r"""m_HatchGap : int""")
15745 m_HatchOrientation = property(_pcbnew.ZONE_SETTINGS_m_HatchOrientation_get, _pcbnew.ZONE_SETTINGS_m_HatchOrientation_set, doc=
r"""m_HatchOrientation : EDA_ANGLE""")
15746 m_HatchSmoothingLevel = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_set, doc=
r"""m_HatchSmoothingLevel : int""")
15747 m_HatchSmoothingValue = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_set, doc=
r"""m_HatchSmoothingValue : double""")
15748 m_HatchHoleMinArea = property(_pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_get, _pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_set, doc=
r"""m_HatchHoleMinArea : double""")
15749 m_HatchBorderAlgorithm = property(_pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_get, _pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_set, doc=
r"""m_HatchBorderAlgorithm : int""")
15750 m_NetcodeSelection = property(_pcbnew.ZONE_SETTINGS_m_NetcodeSelection_get, _pcbnew.ZONE_SETTINGS_m_NetcodeSelection_set, doc=
r"""m_NetcodeSelection : int""")
15751 m_Name = property(_pcbnew.ZONE_SETTINGS_m_Name_get, _pcbnew.ZONE_SETTINGS_m_Name_set, doc=
r"""m_Name : wxString""")
15752 m_Layers = property(_pcbnew.ZONE_SETTINGS_m_Layers_get, _pcbnew.ZONE_SETTINGS_m_Layers_set, doc=
r"""m_Layers : LSET""")
15753 m_ZoneBorderDisplayStyle = property(_pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_get, _pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_set, doc=
r"""m_ZoneBorderDisplayStyle : ZONE_BORDER_DISPLAY_STYLE""")
15754 m_BorderHatchPitch = property(_pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_get, _pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_set, doc=
r"""m_BorderHatchPitch : int""")
15755 m_ThermalReliefGap = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_set, doc=
r"""m_ThermalReliefGap : long""")
15756 m_ThermalReliefSpokeWidth = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_set, doc=
r"""m_ThermalReliefSpokeWidth : long""")
15757 m_Locked = property(_pcbnew.ZONE_SETTINGS_m_Locked_get, _pcbnew.ZONE_SETTINGS_m_Locked_set, doc=
r"""m_Locked : bool""")
15758 m_TeardropType = property(_pcbnew.ZONE_SETTINGS_m_TeardropType_get, _pcbnew.ZONE_SETTINGS_m_TeardropType_set, doc=
r"""m_TeardropType : TEARDROP_TYPE""")
15761 r"""__init__(ZONE_SETTINGS self) -> ZONE_SETTINGS"""
15762 _pcbnew.ZONE_SETTINGS_swiginit(self, _pcbnew.new_ZONE_SETTINGS())
15765 r"""__eq__(ZONE_SETTINGS self, ZONE_SETTINGS aOther) -> bool"""
15766 return _pcbnew.ZONE_SETTINGS___eq__(self, aOther)
15769 r"""__ne__(ZONE_SETTINGS self, ZONE_SETTINGS aOther) -> bool"""
15770 return _pcbnew.ZONE_SETTINGS___ne__(self, aOther)
15773 r"""__lshift__(ZONE_SETTINGS self, ZONE aSource) -> ZONE_SETTINGS"""
15774 return _pcbnew.ZONE_SETTINGS___lshift__(self, aSource)
15778 r"""GetDefaultSettings() -> ZONE_SETTINGS"""
15779 return _pcbnew.ZONE_SETTINGS_GetDefaultSettings()
15782 r"""SetupLayersList(ZONE_SETTINGS self, wxDataViewListCtrl * aList, PCB_BASE_FRAME * aFrame, LSET aLayers, bool aFpEditorMode)"""
15783 return _pcbnew.ZONE_SETTINGS_SetupLayersList(self, aList, aFrame, aLayers, aFpEditorMode)
15786 r"""ExportSetting(ZONE_SETTINGS self, ZONE aTarget, bool aFullExport=True)"""
15787 return _pcbnew.ZONE_SETTINGS_ExportSetting(self, aTarget, aFullExport)
15790 r"""SetCornerSmoothingType(ZONE_SETTINGS self, int aType)"""
15791 return _pcbnew.ZONE_SETTINGS_SetCornerSmoothingType(self, aType)
15794 r"""GetCornerSmoothingType(ZONE_SETTINGS self) -> int"""
15795 return _pcbnew.ZONE_SETTINGS_GetCornerSmoothingType(self)
15798 r"""SetCornerRadius(ZONE_SETTINGS self, int aRadius)"""
15799 return _pcbnew.ZONE_SETTINGS_SetCornerRadius(self, aRadius)
15802 r"""GetCornerRadius(ZONE_SETTINGS self) -> unsigned int"""
15803 return _pcbnew.ZONE_SETTINGS_GetCornerRadius(self)
15806 r"""GetPadConnection(ZONE_SETTINGS self) -> ZONE_CONNECTION"""
15807 return _pcbnew.ZONE_SETTINGS_GetPadConnection(self)
15810 r"""SetPadConnection(ZONE_SETTINGS self, ZONE_CONNECTION aPadConnection)"""
15811 return _pcbnew.ZONE_SETTINGS_SetPadConnection(self, aPadConnection)
15814 r"""HasKeepoutParametersSet(ZONE_SETTINGS self) -> bool"""
15815 return _pcbnew.ZONE_SETTINGS_HasKeepoutParametersSet(self)
15818 r"""GetIsRuleArea(ZONE_SETTINGS self) -> bool"""
15819 return _pcbnew.ZONE_SETTINGS_GetIsRuleArea(self)
15822 r"""GetRuleAreaPlacementEnabled(ZONE_SETTINGS self) -> bool"""
15823 return _pcbnew.ZONE_SETTINGS_GetRuleAreaPlacementEnabled(self)
15826 r"""GetRuleAreaPlacementSourceType(ZONE_SETTINGS self) -> RULE_AREA_PLACEMENT_SOURCE_TYPE"""
15827 return _pcbnew.ZONE_SETTINGS_GetRuleAreaPlacementSourceType(self)
15830 r"""GetRuleAreaPlacementSource(ZONE_SETTINGS self) -> wxString"""
15831 return _pcbnew.ZONE_SETTINGS_GetRuleAreaPlacementSource(self)
15834 r"""GetDoNotAllowCopperPour(ZONE_SETTINGS self) -> bool"""
15835 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowCopperPour(self)
15838 r"""GetDoNotAllowVias(ZONE_SETTINGS self) -> bool"""
15839 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowVias(self)
15842 r"""GetDoNotAllowTracks(ZONE_SETTINGS self) -> bool"""
15843 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowTracks(self)
15846 r"""GetDoNotAllowPads(ZONE_SETTINGS self) -> bool"""
15847 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowPads(self)
15850 r"""GetDoNotAllowFootprints(ZONE_SETTINGS self) -> bool"""
15851 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowFootprints(self)
15854 r"""SetIsRuleArea(ZONE_SETTINGS self, bool aEnable)"""
15855 return _pcbnew.ZONE_SETTINGS_SetIsRuleArea(self, aEnable)
15858 r"""SetRuleAreaPlacementEnabled(ZONE_SETTINGS self, bool aEnabled)"""
15859 return _pcbnew.ZONE_SETTINGS_SetRuleAreaPlacementEnabled(self, aEnabled)
15862 r"""SetRuleAreaPlacementSourceType(ZONE_SETTINGS self, RULE_AREA_PLACEMENT_SOURCE_TYPE aType)"""
15863 return _pcbnew.ZONE_SETTINGS_SetRuleAreaPlacementSourceType(self, aType)
15866 r"""SetRuleAreaPlacementSource(ZONE_SETTINGS self, wxString aSource)"""
15867 return _pcbnew.ZONE_SETTINGS_SetRuleAreaPlacementSource(self, aSource)
15870 r"""SetDoNotAllowCopperPour(ZONE_SETTINGS self, bool aEnable)"""
15871 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowCopperPour(self, aEnable)
15874 r"""SetDoNotAllowVias(ZONE_SETTINGS self, bool aEnable)"""
15875 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowVias(self, aEnable)
15878 r"""SetDoNotAllowTracks(ZONE_SETTINGS self, bool aEnable)"""
15879 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowTracks(self, aEnable)
15882 r"""SetDoNotAllowPads(ZONE_SETTINGS self, bool aEnable)"""
15883 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowPads(self, aEnable)
15886 r"""SetDoNotAllowFootprints(ZONE_SETTINGS self, bool aEnable)"""
15887 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowFootprints(self, aEnable)
15890 r"""GetIslandRemovalMode(ZONE_SETTINGS self) -> ISLAND_REMOVAL_MODE"""
15891 return _pcbnew.ZONE_SETTINGS_GetIslandRemovalMode(self)
15894 r"""SetIslandRemovalMode(ZONE_SETTINGS self, ISLAND_REMOVAL_MODE aRemove)"""
15895 return _pcbnew.ZONE_SETTINGS_SetIslandRemovalMode(self, aRemove)
15898 r"""GetMinIslandArea(ZONE_SETTINGS self) -> long long"""
15899 return _pcbnew.ZONE_SETTINGS_GetMinIslandArea(self)
15902 r"""SetMinIslandArea(ZONE_SETTINGS self, long long aArea)"""
15903 return _pcbnew.ZONE_SETTINGS_SetMinIslandArea(self, aArea)
15904 __swig_destroy__ = _pcbnew.delete_ZONE_SETTINGS
15907_pcbnew.ZONE_SETTINGS_swigregister(ZONE_SETTINGS)
15908TENTHS_OF_A_DEGREE_T = _pcbnew.TENTHS_OF_A_DEGREE_T
15910DEGREES_T = _pcbnew.DEGREES_T
15912RADIANS_T = _pcbnew.RADIANS_T
15915 r"""Proxy of C++ EDA_ANGLE class."""
15917 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15918 __repr__ = _swig_repr
15922 __init__(EDA_ANGLE self, double aValue, EDA_ANGLE_T aAngleType) -> EDA_ANGLE
15923 __init__(EDA_ANGLE self, double aAngleInDegrees) -> EDA_ANGLE
15924 __init__(EDA_ANGLE self, VECTOR2D const & aVector) -> EDA_ANGLE
15925 __init__(EDA_ANGLE self) -> EDA_ANGLE
15927 _pcbnew.EDA_ANGLE_swiginit(self, _pcbnew.new_EDA_ANGLE(*args))
15930 r"""AsDegrees(EDA_ANGLE self) -> double"""
15931 return _pcbnew.EDA_ANGLE_AsDegrees(self)
15934 r"""AsTenthsOfADegree(EDA_ANGLE self) -> int"""
15935 return _pcbnew.EDA_ANGLE_AsTenthsOfADegree(self)
15938 r"""AsRadians(EDA_ANGLE self) -> double"""
15939 return _pcbnew.EDA_ANGLE_AsRadians(self)
15940 DEGREES_TO_RADIANS = _pcbnew.EDA_ANGLE_DEGREES_TO_RADIANS
15944 r"""IsCardinal(EDA_ANGLE self) -> bool"""
15945 return _pcbnew.EDA_ANGLE_IsCardinal(self)
15948 r"""IsCardinal90(EDA_ANGLE self) -> bool"""
15949 return _pcbnew.EDA_ANGLE_IsCardinal90(self)
15952 r"""IsZero(EDA_ANGLE self) -> bool"""
15953 return _pcbnew.EDA_ANGLE_IsZero(self)
15956 r"""IsHorizontal(EDA_ANGLE self) -> bool"""
15957 return _pcbnew.EDA_ANGLE_IsHorizontal(self)
15960 r"""IsVertical(EDA_ANGLE self) -> bool"""
15961 return _pcbnew.EDA_ANGLE_IsVertical(self)
15964 r"""IsParallelTo(EDA_ANGLE self, EDA_ANGLE aAngle) -> bool"""
15965 return _pcbnew.EDA_ANGLE_IsParallelTo(self, aAngle)
15968 r"""Invert(EDA_ANGLE self) -> EDA_ANGLE"""
15969 return _pcbnew.EDA_ANGLE_Invert(self)
15972 r"""Sin(EDA_ANGLE self) -> double"""
15973 return _pcbnew.EDA_ANGLE_Sin(self)
15976 r"""Cos(EDA_ANGLE self) -> double"""
15977 return _pcbnew.EDA_ANGLE_Cos(self)
15980 r"""Tan(EDA_ANGLE self) -> double"""
15981 return _pcbnew.EDA_ANGLE_Tan(self)
15985 r"""Arccos(double x) -> EDA_ANGLE"""
15986 return _pcbnew.EDA_ANGLE_Arccos(x)
15990 r"""Arcsin(double x) -> EDA_ANGLE"""
15991 return _pcbnew.EDA_ANGLE_Arcsin(x)
15995 r"""Arctan(double x) -> EDA_ANGLE"""
15996 return _pcbnew.EDA_ANGLE_Arctan(x)
16000 r"""Arctan2(double y, double x) -> EDA_ANGLE"""
16001 return _pcbnew.EDA_ANGLE_Arctan2(y, x)
16004 r"""Normalize(EDA_ANGLE self) -> EDA_ANGLE"""
16005 return _pcbnew.EDA_ANGLE_Normalize(self)
16008 r"""Normalized(EDA_ANGLE self) -> EDA_ANGLE"""
16009 return _pcbnew.EDA_ANGLE_Normalized(self)
16012 r"""NormalizeNegative(EDA_ANGLE self) -> EDA_ANGLE"""
16013 return _pcbnew.EDA_ANGLE_NormalizeNegative(self)
16016 r"""Normalize90(EDA_ANGLE self) -> EDA_ANGLE"""
16017 return _pcbnew.EDA_ANGLE_Normalize90(self)
16020 r"""Normalize180(EDA_ANGLE self) -> EDA_ANGLE"""
16021 return _pcbnew.EDA_ANGLE_Normalize180(self)
16024 r"""Normalize720(EDA_ANGLE self) -> EDA_ANGLE"""
16025 return _pcbnew.EDA_ANGLE_Normalize720(self)
16028 r"""KeepUpright(EDA_ANGLE self) -> EDA_ANGLE"""
16029 return _pcbnew.EDA_ANGLE_KeepUpright(self)
16032 r"""Round(EDA_ANGLE self, int digits) -> EDA_ANGLE"""
16033 return _pcbnew.EDA_ANGLE_Round(self, digits)
16036 r"""__iadd__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
16037 return _pcbnew.EDA_ANGLE___iadd__(self, aAngle)
16040 r"""__isub__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
16041 return _pcbnew.EDA_ANGLE___isub__(self, aAngle)
16065 __swig_destroy__ = _pcbnew.delete_EDA_ANGLE
16068_pcbnew.EDA_ANGLE_swigregister(EDA_ANGLE)
16069SHAPE_T_UNDEFINED = _pcbnew.SHAPE_T_UNDEFINED
16071SHAPE_T_SEGMENT = _pcbnew.SHAPE_T_SEGMENT
16073SHAPE_T_RECTANGLE = _pcbnew.SHAPE_T_RECTANGLE
16075SHAPE_T_ARC = _pcbnew.SHAPE_T_ARC
16077SHAPE_T_CIRCLE = _pcbnew.SHAPE_T_CIRCLE
16079SHAPE_T_POLY = _pcbnew.SHAPE_T_POLY
16081SHAPE_T_BEZIER = _pcbnew.SHAPE_T_BEZIER
16083FILL_T_NO_FILL = _pcbnew.FILL_T_NO_FILL
16085FILL_T_FILLED_SHAPE = _pcbnew.FILL_T_FILLED_SHAPE
16087FILL_T_FILLED_WITH_BG_BODYCOLOR = _pcbnew.FILL_T_FILLED_WITH_BG_BODYCOLOR
16089FILL_T_FILLED_WITH_COLOR = _pcbnew.FILL_T_FILLED_WITH_COLOR
16092 r"""Proxy of C++ ARC_MID class."""
16094 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16095 __repr__ = _swig_repr
16096 mid = property(_pcbnew.ARC_MID_mid_get, _pcbnew.ARC_MID_mid_set, doc=
r"""mid : VECTOR2I""")
16097 start = property(_pcbnew.ARC_MID_start_get, _pcbnew.ARC_MID_start_set, doc=
r"""start : VECTOR2I""")
16098 end = property(_pcbnew.ARC_MID_end_get, _pcbnew.ARC_MID_end_set, doc=
r"""end : VECTOR2I""")
16099 center = property(_pcbnew.ARC_MID_center_get, _pcbnew.ARC_MID_center_set, doc=
r"""center : VECTOR2I""")
16102 r"""__init__(ARC_MID self) -> ARC_MID"""
16103 _pcbnew.ARC_MID_swiginit(self, _pcbnew.new_ARC_MID())
16104 __swig_destroy__ = _pcbnew.delete_ARC_MID
16107_pcbnew.ARC_MID_swigregister(ARC_MID)
16108ANGLE_HORIZONTAL = cvar.ANGLE_HORIZONTAL
16109ANGLE_VERTICAL = cvar.ANGLE_VERTICAL
16110FULL_CIRCLE = cvar.FULL_CIRCLE
16111ANGLE_0 = cvar.ANGLE_0
16112ANGLE_45 = cvar.ANGLE_45
16113ANGLE_90 = cvar.ANGLE_90
16114ANGLE_135 = cvar.ANGLE_135
16115ANGLE_180 = cvar.ANGLE_180
16116ANGLE_270 = cvar.ANGLE_270
16117ANGLE_360 = cvar.ANGLE_360
16120 r"""Proxy of C++ EDA_SHAPE class."""
16122 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16123 __repr__ = _swig_repr
16127 __init__(EDA_SHAPE self, SHAPE_T aType, int aLineWidth, FILL_T aFill) -> EDA_SHAPE
16128 __init__(EDA_SHAPE self, SHAPE aShape) -> EDA_SHAPE
16130 _pcbnew.EDA_SHAPE_swiginit(self, _pcbnew.new_EDA_SHAPE(*args))
16131 __swig_destroy__ = _pcbnew.delete_EDA_SHAPE
16134 r"""SwapShape(EDA_SHAPE self, EDA_SHAPE aImage)"""
16135 return _pcbnew.EDA_SHAPE_SwapShape(self, aImage)
16138 r"""Serialize(EDA_SHAPE self, google::protobuf::Any & aContainer)"""
16139 return _pcbnew.EDA_SHAPE_Serialize(self, aContainer)
16142 r"""Deserialize(EDA_SHAPE self, google::protobuf::Any const & aContainer) -> bool"""
16143 return _pcbnew.EDA_SHAPE_Deserialize(self, aContainer)
16146 r"""ShowShape(EDA_SHAPE self) -> wxString"""
16147 return _pcbnew.EDA_SHAPE_ShowShape(self)
16150 r"""SHAPE_T_asString(EDA_SHAPE self) -> wxString"""
16151 return _pcbnew.EDA_SHAPE_SHAPE_T_asString(self)
16154 r"""IsProxyItem(EDA_SHAPE self) -> bool"""
16155 return _pcbnew.EDA_SHAPE_IsProxyItem(self)
16158 r"""SetIsProxyItem(EDA_SHAPE self, bool aIsProxy=True)"""
16159 return _pcbnew.EDA_SHAPE_SetIsProxyItem(self, aIsProxy)
16162 r"""IsFilled(EDA_SHAPE self) -> bool"""
16163 return _pcbnew.EDA_SHAPE_IsFilled(self)
16166 r"""IsFilledForHitTesting(EDA_SHAPE self) -> bool"""
16167 return _pcbnew.EDA_SHAPE_IsFilledForHitTesting(self)
16170 r"""SetFilled(EDA_SHAPE self, bool aFlag)"""
16171 return _pcbnew.EDA_SHAPE_SetFilled(self, aFlag)
16174 r"""SetFillMode(EDA_SHAPE self, FILL_T aFill)"""
16175 return _pcbnew.EDA_SHAPE_SetFillMode(self, aFill)
16178 r"""GetFillMode(EDA_SHAPE self) -> FILL_T"""
16179 return _pcbnew.EDA_SHAPE_GetFillMode(self)
16182 r"""IsClosed(EDA_SHAPE self) -> bool"""
16183 return _pcbnew.EDA_SHAPE_IsClosed(self)
16186 r"""GetFillColor(EDA_SHAPE self) -> COLOR4D"""
16187 return _pcbnew.EDA_SHAPE_GetFillColor(self)
16190 r"""SetFillColor(EDA_SHAPE self, COLOR4D aColor)"""
16191 return _pcbnew.EDA_SHAPE_SetFillColor(self, aColor)
16194 r"""SetWidth(EDA_SHAPE self, int aWidth)"""
16195 return _pcbnew.EDA_SHAPE_SetWidth(self, aWidth)
16198 r"""GetWidth(EDA_SHAPE self) -> int"""
16199 return _pcbnew.EDA_SHAPE_GetWidth(self)
16202 r"""GetEffectiveWidth(EDA_SHAPE self) -> int"""
16203 return _pcbnew.EDA_SHAPE_GetEffectiveWidth(self)
16206 r"""SetLineStyle(EDA_SHAPE self, LINE_STYLE const aStyle)"""
16207 return _pcbnew.EDA_SHAPE_SetLineStyle(self, aStyle)
16210 r"""GetLineStyle(EDA_SHAPE self) -> LINE_STYLE"""
16211 return _pcbnew.EDA_SHAPE_GetLineStyle(self)
16214 r"""SetLineColor(EDA_SHAPE self, COLOR4D aColor)"""
16215 return _pcbnew.EDA_SHAPE_SetLineColor(self, aColor)
16218 r"""GetLineColor(EDA_SHAPE self) -> COLOR4D"""
16219 return _pcbnew.EDA_SHAPE_GetLineColor(self)
16222 r"""SetShape(EDA_SHAPE self, SHAPE_T aShape)"""
16223 return _pcbnew.EDA_SHAPE_SetShape(self, aShape)
16226 r"""GetShape(EDA_SHAPE self) -> SHAPE_T"""
16227 return _pcbnew.EDA_SHAPE_GetShape(self)
16230 r"""GetStart(EDA_SHAPE self) -> VECTOR2I"""
16231 return _pcbnew.EDA_SHAPE_GetStart(self)
16234 r"""GetStartY(EDA_SHAPE self) -> int"""
16235 return _pcbnew.EDA_SHAPE_GetStartY(self)
16238 r"""GetStartX(EDA_SHAPE self) -> int"""
16239 return _pcbnew.EDA_SHAPE_GetStartX(self)
16242 r"""SetStart(EDA_SHAPE self, VECTOR2I aStart)"""
16243 return _pcbnew.EDA_SHAPE_SetStart(self, aStart)
16246 r"""SetStartY(EDA_SHAPE self, int y)"""
16247 return _pcbnew.EDA_SHAPE_SetStartY(self, y)
16250 r"""SetStartX(EDA_SHAPE self, int x)"""
16251 return _pcbnew.EDA_SHAPE_SetStartX(self, x)
16254 r"""SetCenterY(EDA_SHAPE self, int y)"""
16255 return _pcbnew.EDA_SHAPE_SetCenterY(self, y)
16258 r"""SetCenterX(EDA_SHAPE self, int x)"""
16259 return _pcbnew.EDA_SHAPE_SetCenterX(self, x)
16262 r"""GetEnd(EDA_SHAPE self) -> VECTOR2I"""
16263 return _pcbnew.EDA_SHAPE_GetEnd(self)
16266 r"""GetEndY(EDA_SHAPE self) -> int"""
16267 return _pcbnew.EDA_SHAPE_GetEndY(self)
16270 r"""GetEndX(EDA_SHAPE self) -> int"""
16271 return _pcbnew.EDA_SHAPE_GetEndX(self)
16274 r"""SetEnd(EDA_SHAPE self, VECTOR2I aEnd)"""
16275 return _pcbnew.EDA_SHAPE_SetEnd(self, aEnd)
16278 r"""SetEndY(EDA_SHAPE self, int aY)"""
16279 return _pcbnew.EDA_SHAPE_SetEndY(self, aY)
16282 r"""SetEndX(EDA_SHAPE self, int aX)"""
16283 return _pcbnew.EDA_SHAPE_SetEndX(self, aX)
16286 r"""SetRadius(EDA_SHAPE self, int aX)"""
16287 return _pcbnew.EDA_SHAPE_SetRadius(self, aX)
16290 r"""GetTopLeft(EDA_SHAPE self) -> VECTOR2I"""
16291 return _pcbnew.EDA_SHAPE_GetTopLeft(self)
16294 r"""GetBotRight(EDA_SHAPE self) -> VECTOR2I"""
16295 return _pcbnew.EDA_SHAPE_GetBotRight(self)
16298 r"""SetTop(EDA_SHAPE self, int val)"""
16299 return _pcbnew.EDA_SHAPE_SetTop(self, val)
16302 r"""SetLeft(EDA_SHAPE self, int val)"""
16303 return _pcbnew.EDA_SHAPE_SetLeft(self, val)
16306 r"""SetRight(EDA_SHAPE self, int val)"""
16307 return _pcbnew.EDA_SHAPE_SetRight(self, val)
16310 r"""SetBottom(EDA_SHAPE self, int val)"""
16311 return _pcbnew.EDA_SHAPE_SetBottom(self, val)
16314 r"""SetBezierC1(EDA_SHAPE self, VECTOR2I aPt)"""
16315 return _pcbnew.EDA_SHAPE_SetBezierC1(self, aPt)
16318 r"""GetBezierC1(EDA_SHAPE self) -> VECTOR2I"""
16319 return _pcbnew.EDA_SHAPE_GetBezierC1(self)
16322 r"""SetBezierC2(EDA_SHAPE self, VECTOR2I aPt)"""
16323 return _pcbnew.EDA_SHAPE_SetBezierC2(self, aPt)
16326 r"""GetBezierC2(EDA_SHAPE self) -> VECTOR2I"""
16327 return _pcbnew.EDA_SHAPE_GetBezierC2(self)
16330 r"""SetCenter(EDA_SHAPE self, VECTOR2I aCenter)"""
16331 return _pcbnew.EDA_SHAPE_SetCenter(self, aCenter)
16334 r"""SetArcAngleAndEnd(EDA_SHAPE self, EDA_ANGLE aAngle, bool aCheckNegativeAngle=False)"""
16335 return _pcbnew.EDA_SHAPE_SetArcAngleAndEnd(self, aAngle, aCheckNegativeAngle)
16338 r"""GetArcAngle(EDA_SHAPE self) -> EDA_ANGLE"""
16339 return _pcbnew.EDA_SHAPE_GetArcAngle(self)
16342 r"""GetSegmentAngle(EDA_SHAPE self) -> EDA_ANGLE"""
16343 return _pcbnew.EDA_SHAPE_GetSegmentAngle(self)
16346 r"""EndsSwapped(EDA_SHAPE self) -> bool"""
16347 return _pcbnew.EDA_SHAPE_EndsSwapped(self)
16350 r"""GetArcMid(EDA_SHAPE self) -> VECTOR2I"""
16351 return _pcbnew.EDA_SHAPE_GetArcMid(self)
16354 r"""GetRectCorners(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
16355 return _pcbnew.EDA_SHAPE_GetRectCorners(self)
16358 r"""GetCornersInSequence(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
16359 return _pcbnew.EDA_SHAPE_GetCornersInSequence(self)
16362 r"""CalcArcAngles(EDA_SHAPE self, EDA_ANGLE aStartAngle, EDA_ANGLE aEndAngle)"""
16363 return _pcbnew.EDA_SHAPE_CalcArcAngles(self, aStartAngle, aEndAngle)
16366 r"""GetRadius(EDA_SHAPE self) -> int"""
16367 return _pcbnew.EDA_SHAPE_GetRadius(self)
16370 r"""SetArcGeometry(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd)"""
16371 return _pcbnew.EDA_SHAPE_SetArcGeometry(self, aStart, aMid, aEnd)
16374 r"""SetCachedArcData(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd, VECTOR2I aCenter)"""
16375 return _pcbnew.EDA_SHAPE_SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
16378 r"""GetBezierPoints(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
16379 return _pcbnew.EDA_SHAPE_GetBezierPoints(self)
16382 r"""DupPolyPointsList(EDA_SHAPE self, VECTOR_VECTOR2I aBuffer)"""
16383 return _pcbnew.EDA_SHAPE_DupPolyPointsList(self, aBuffer)
16386 r"""GetPointCount(EDA_SHAPE self) -> int"""
16387 return _pcbnew.EDA_SHAPE_GetPointCount(self)
16394 return _pcbnew.EDA_SHAPE_GetPolyShape(self, *args)
16397 r"""IsPolyShapeValid(EDA_SHAPE self) -> bool"""
16398 return _pcbnew.EDA_SHAPE_IsPolyShapeValid(self)
16401 r"""SetPolyShape(EDA_SHAPE self, SHAPE_POLY_SET aShape)"""
16402 return _pcbnew.EDA_SHAPE_SetPolyShape(self, aShape)
16405 r"""SetPolyPoints(EDA_SHAPE self, VECTOR_VECTOR2I aPoints)"""
16406 return _pcbnew.EDA_SHAPE_SetPolyPoints(self, aPoints)
16409 r"""RebuildBezierToSegmentsPointsList(EDA_SHAPE self, int aMaxError)"""
16410 return _pcbnew.EDA_SHAPE_RebuildBezierToSegmentsPointsList(self, aMaxError)
16413 r"""MakeEffectiveShapes(EDA_SHAPE self, bool aEdgeOnly=False) -> std::vector< SHAPE *,std::allocator< SHAPE * > >"""
16414 return _pcbnew.EDA_SHAPE_MakeEffectiveShapes(self, aEdgeOnly)
16417 r"""ShapeGetMsgPanelInfo(EDA_SHAPE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
16418 return _pcbnew.EDA_SHAPE_ShapeGetMsgPanelInfo(self, aFrame, aList)
16421 r"""SetLength(EDA_SHAPE self, double const & aLength)"""
16422 return _pcbnew.EDA_SHAPE_SetLength(self, aLength)
16425 r"""SetRectangleHeight(EDA_SHAPE self, int const & aHeight)"""
16426 return _pcbnew.EDA_SHAPE_SetRectangleHeight(self, aHeight)
16429 r"""SetRectangleWidth(EDA_SHAPE self, int const & aWidth)"""
16430 return _pcbnew.EDA_SHAPE_SetRectangleWidth(self, aWidth)
16433 r"""SetRectangle(EDA_SHAPE self, long long const & aHeight, long long const & aWidth)"""
16434 return _pcbnew.EDA_SHAPE_SetRectangle(self, aHeight, aWidth)
16437 r"""SetSegmentAngle(EDA_SHAPE self, EDA_ANGLE aAngle)"""
16438 return _pcbnew.EDA_SHAPE_SetSegmentAngle(self, aAngle)
16441 r"""IsClockwiseArc(EDA_SHAPE self) -> bool"""
16442 return _pcbnew.EDA_SHAPE_IsClockwiseArc(self)
16445 r"""GetLength(EDA_SHAPE self) -> double"""
16446 return _pcbnew.EDA_SHAPE_GetLength(self)
16449 r"""GetRectangleHeight(EDA_SHAPE self) -> int"""
16450 return _pcbnew.EDA_SHAPE_GetRectangleHeight(self)
16453 r"""GetRectangleWidth(EDA_SHAPE self) -> int"""
16454 return _pcbnew.EDA_SHAPE_GetRectangleWidth(self)
16457 r"""TransformShapeToPolygon(EDA_SHAPE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
16458 return _pcbnew.EDA_SHAPE_TransformShapeToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, ignoreLineWidth)
16461 r"""Compare(EDA_SHAPE self, EDA_SHAPE aOther) -> int"""
16462 return _pcbnew.EDA_SHAPE_Compare(self, aOther)
16465 r"""Similarity(EDA_SHAPE self, EDA_SHAPE aOther) -> double"""
16466 return _pcbnew.EDA_SHAPE_Similarity(self, aOther)
16469 r"""__eq__(EDA_SHAPE self, EDA_SHAPE aOther) -> bool"""
16470 return _pcbnew.EDA_SHAPE___eq__(self, aOther)
16473_pcbnew.EDA_SHAPE_swigregister(EDA_SHAPE)
16475 r"""Proxy of C++ PCB_SHAPE class."""
16477 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16478 __repr__ = _swig_repr
16482 __init__(PCB_SHAPE self, BOARD_ITEM aParent, KICAD_T aItemType, SHAPE_T aShapeType) -> PCB_SHAPE
16483 __init__(PCB_SHAPE self, BOARD_ITEM aParent=None, SHAPE_T aShapeType=SEGMENT) -> PCB_SHAPE
16485 _pcbnew.PCB_SHAPE_swiginit(self, _pcbnew.new_PCB_SHAPE(*args))
16486 __swig_destroy__ = _pcbnew.delete_PCB_SHAPE
16490 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16491 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
16494 r"""Serialize(PCB_SHAPE self, google::protobuf::Any & aContainer)"""
16495 return _pcbnew.PCB_SHAPE_Serialize(self, aContainer)
16498 r"""Deserialize(PCB_SHAPE self, google::protobuf::Any const & aContainer) -> bool"""
16499 return _pcbnew.PCB_SHAPE_Deserialize(self, aContainer)
16502 r"""GetConnectionPoints(PCB_SHAPE self) -> VECTOR_VECTOR2I"""
16503 return _pcbnew.PCB_SHAPE_GetConnectionPoints(self)
16506 r"""GetCorners(PCB_SHAPE self) -> VECTOR_VECTOR2I"""
16507 return _pcbnew.PCB_SHAPE_GetCorners(self)
16510 r"""GetEffectiveShape(PCB_SHAPE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16511 return _pcbnew.PCB_SHAPE_GetEffectiveShape(self, *args)
16514 r"""SetIsProxyItem(PCB_SHAPE self, bool aIsProxy=True)"""
16515 return _pcbnew.PCB_SHAPE_SetIsProxyItem(self, aIsProxy)
16519 HitTest(PCB_SHAPE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
16520 HitTest(PCB_SHAPE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16522 return _pcbnew.PCB_SHAPE_HitTest(self, *args)
16525 r"""Scale(PCB_SHAPE self, double aScale)"""
16526 return _pcbnew.PCB_SHAPE_Scale(self, aScale)
16529 r"""TransformShapeToPolygon(PCB_SHAPE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
16530 return _pcbnew.PCB_SHAPE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
16533 r"""ViewGetLOD(PCB_SHAPE self, int aLayer, KIGFX::VIEW const * aView) -> double"""
16534 return _pcbnew.PCB_SHAPE_ViewGetLOD(self, aLayer, aView)
16538 __eq__(PCB_SHAPE self, PCB_SHAPE aShape) -> bool
16539 __eq__(PCB_SHAPE self, BOARD_ITEM aBoardItem) -> bool
16541 return _pcbnew.PCB_SHAPE___eq__(self, *args)
16544 r"""SetHasSolderMask(PCB_SHAPE self, bool aVal)"""
16545 return _pcbnew.PCB_SHAPE_SetHasSolderMask(self, aVal)
16548 r"""HasSolderMask(PCB_SHAPE self) -> bool"""
16549 return _pcbnew.PCB_SHAPE_HasSolderMask(self)
16552 r"""SetLocalSolderMaskMargin(PCB_SHAPE self, std::optional< int > aMargin)"""
16553 return _pcbnew.PCB_SHAPE_SetLocalSolderMaskMargin(self, aMargin)
16556 r"""GetLocalSolderMaskMargin(PCB_SHAPE self) -> std::optional< int >"""
16557 return _pcbnew.PCB_SHAPE_GetLocalSolderMaskMargin(self)
16560 r"""GetSolderMaskExpansion(PCB_SHAPE self) -> int"""
16561 return _pcbnew.PCB_SHAPE_GetSolderMaskExpansion(self)
16564 r"""GetArcAngleStart(PCB_SHAPE self) -> EDA_ANGLE"""
16565 return _pcbnew.PCB_SHAPE_GetArcAngleStart(self)
16572_pcbnew.PCB_SHAPE_swigregister(PCB_SHAPE)
16574 r"""Proxy of C++ PCB_TEXT class."""
16576 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16577 __repr__ = _swig_repr
16581 __init__(PCB_TEXT self, BOARD_ITEM parent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT
16582 __init__(PCB_TEXT self, FOOTPRINT aParent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT
16584 _pcbnew.PCB_TEXT_swiginit(self, _pcbnew.new_PCB_TEXT(*args))
16585 __swig_destroy__ = _pcbnew.delete_PCB_TEXT
16589 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16590 return _pcbnew.PCB_TEXT_ClassOf(aItem)
16593 r"""Serialize(PCB_TEXT self, google::protobuf::Any & aContainer)"""
16594 return _pcbnew.PCB_TEXT_Serialize(self, aContainer)
16597 r"""Deserialize(PCB_TEXT self, google::protobuf::Any const & aContainer) -> bool"""
16598 return _pcbnew.PCB_TEXT_Deserialize(self, aContainer)
16601 r"""KeepUpright(PCB_TEXT self)"""
16602 return _pcbnew.PCB_TEXT_KeepUpright(self)
16605 r"""GetShownText(PCB_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
16606 return _pcbnew.PCB_TEXT_GetShownText(self, aAllowExtraText, aDepth)
16610 TextHitTest(PCB_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
16611 TextHitTest(PCB_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
16613 return _pcbnew.PCB_TEXT_TextHitTest(self, *args)
16617 HitTest(PCB_TEXT self, VECTOR2I aPosition, int aAccuracy) -> bool
16618 HitTest(PCB_TEXT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16620 return _pcbnew.PCB_TEXT_HitTest(self, *args)
16623 r"""TransformTextToPolySet(PCB_TEXT self, SHAPE_POLY_SET aBuffer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc)"""
16624 return _pcbnew.PCB_TEXT_TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
16627 r"""TransformShapeToPolygon(PCB_TEXT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
16628 return _pcbnew.PCB_TEXT_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
16631 r"""GetEffectiveShape(PCB_TEXT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16632 return _pcbnew.PCB_TEXT_GetEffectiveShape(self, *args)
16635 r"""GetTextTypeDescription(PCB_TEXT self) -> wxString"""
16636 return _pcbnew.PCB_TEXT_GetTextTypeDescription(self)
16639 r"""ViewGetLOD(PCB_TEXT self, int aLayer, KIGFX::VIEW const * aView) -> double"""
16640 return _pcbnew.PCB_TEXT_ViewGetLOD(self, aLayer, aView)
16644 __eq__(PCB_TEXT self, PCB_TEXT aOther) -> bool
16645 __eq__(PCB_TEXT self, BOARD_ITEM aBoardItem) -> bool
16647 return _pcbnew.PCB_TEXT___eq__(self, *args)
16650_pcbnew.PCB_TEXT_swigregister(PCB_TEXT)
16651S_SEGMENT = cvar.S_SEGMENT
16652S_RECT = cvar.S_RECT
16654S_CIRCLE = cvar.S_CIRCLE
16655S_POLYGON = cvar.S_POLYGON
16656S_CURVE = cvar.S_CURVE
16657SHAPE_T_RECT = cvar.SHAPE_T_RECT
16660 r"""Proxy of C++ PCB_TEXTBOX class."""
16662 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16663 __repr__ = _swig_repr
16666 r"""__init__(PCB_TEXTBOX self, BOARD_ITEM aParent, KICAD_T aType=PCB_TEXTBOX_T) -> PCB_TEXTBOX"""
16667 _pcbnew.PCB_TEXTBOX_swiginit(self, _pcbnew.new_PCB_TEXTBOX(aParent, aType))
16668 __swig_destroy__ = _pcbnew.delete_PCB_TEXTBOX
16672 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16673 return _pcbnew.PCB_TEXTBOX_ClassOf(aItem)
16676 r"""Serialize(PCB_TEXTBOX self, google::protobuf::Any & aContainer)"""
16677 return _pcbnew.PCB_TEXTBOX_Serialize(self, aContainer)
16680 r"""Deserialize(PCB_TEXTBOX self, google::protobuf::Any const & aContainer) -> bool"""
16681 return _pcbnew.PCB_TEXTBOX_Deserialize(self, aContainer)
16684 r"""GetLegacyTextMargin(PCB_TEXTBOX self) -> int"""
16685 return _pcbnew.PCB_TEXTBOX_GetLegacyTextMargin(self)
16688 r"""SetMarginLeft(PCB_TEXTBOX self, int aLeft)"""
16689 return _pcbnew.PCB_TEXTBOX_SetMarginLeft(self, aLeft)
16692 r"""SetMarginTop(PCB_TEXTBOX self, int aTop)"""
16693 return _pcbnew.PCB_TEXTBOX_SetMarginTop(self, aTop)
16696 r"""SetMarginRight(PCB_TEXTBOX self, int aRight)"""
16697 return _pcbnew.PCB_TEXTBOX_SetMarginRight(self, aRight)
16700 r"""SetMarginBottom(PCB_TEXTBOX self, int aBottom)"""
16701 return _pcbnew.PCB_TEXTBOX_SetMarginBottom(self, aBottom)
16704 r"""GetMarginLeft(PCB_TEXTBOX self) -> int"""
16705 return _pcbnew.PCB_TEXTBOX_GetMarginLeft(self)
16708 r"""GetMarginTop(PCB_TEXTBOX self) -> int"""
16709 return _pcbnew.PCB_TEXTBOX_GetMarginTop(self)
16712 r"""GetMarginRight(PCB_TEXTBOX self) -> int"""
16713 return _pcbnew.PCB_TEXTBOX_GetMarginRight(self)
16716 r"""GetMarginBottom(PCB_TEXTBOX self) -> int"""
16717 return _pcbnew.PCB_TEXTBOX_GetMarginBottom(self)
16722 GetDrawPos(PCB_TEXTBOX self, bool aIsFlipped) -> VECTOR2I
16724 return _pcbnew.PCB_TEXTBOX_GetDrawPos(self, *args)
16727 r"""GetShownText(PCB_TEXTBOX self, bool aAllowExtraText, int aDepth=0) -> wxString"""
16728 return _pcbnew.PCB_TEXTBOX_GetShownText(self, aAllowExtraText, aDepth)
16732 HitTest(PCB_TEXTBOX self, VECTOR2I aPosition, int aAccuracy) -> bool
16733 HitTest(PCB_TEXTBOX self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16735 return _pcbnew.PCB_TEXTBOX_HitTest(self, *args)
16738 r"""TransformTextToPolySet(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc)"""
16739 return _pcbnew.PCB_TEXTBOX_TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
16742 r"""TransformShapeToPolygon(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
16743 return _pcbnew.PCB_TEXTBOX_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
16746 r"""GetEffectiveShape(PCB_TEXTBOX self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16747 return _pcbnew.PCB_TEXTBOX_GetEffectiveShape(self, *args)
16750 r"""ViewGetLOD(PCB_TEXTBOX self, int aLayer, KIGFX::VIEW const * aView) -> double"""
16751 return _pcbnew.PCB_TEXTBOX_ViewGetLOD(self, aLayer, aView)
16754 r"""IsBorderEnabled(PCB_TEXTBOX self) -> bool"""
16755 return _pcbnew.PCB_TEXTBOX_IsBorderEnabled(self)
16758 r"""SetBorderEnabled(PCB_TEXTBOX self, bool enabled)"""
16759 return _pcbnew.PCB_TEXTBOX_SetBorderEnabled(self, enabled)
16762 r"""SetBorderWidth(PCB_TEXTBOX self, int const aSize)"""
16763 return _pcbnew.PCB_TEXTBOX_SetBorderWidth(self, aSize)
16766 r"""GetBorderWidth(PCB_TEXTBOX self) -> int"""
16767 return _pcbnew.PCB_TEXTBOX_GetBorderWidth(self)
16771 __eq__(PCB_TEXTBOX self, PCB_TEXTBOX aOther) -> bool
16772 __eq__(PCB_TEXTBOX self, BOARD_ITEM aBoardItem) -> bool
16774 return _pcbnew.PCB_TEXTBOX___eq__(self, *args)
16777_pcbnew.PCB_TEXTBOX_swigregister(PCB_TEXTBOX)
16778GR_TEXT_H_ALIGN_LEFT = _pcbnew.GR_TEXT_H_ALIGN_LEFT
16780GR_TEXT_H_ALIGN_CENTER = _pcbnew.GR_TEXT_H_ALIGN_CENTER
16782GR_TEXT_H_ALIGN_RIGHT = _pcbnew.GR_TEXT_H_ALIGN_RIGHT
16784GR_TEXT_H_ALIGN_INDETERMINATE = _pcbnew.GR_TEXT_H_ALIGN_INDETERMINATE
16786GR_TEXT_V_ALIGN_TOP = _pcbnew.GR_TEXT_V_ALIGN_TOP
16788GR_TEXT_V_ALIGN_CENTER = _pcbnew.GR_TEXT_V_ALIGN_CENTER
16790GR_TEXT_V_ALIGN_BOTTOM = _pcbnew.GR_TEXT_V_ALIGN_BOTTOM
16792GR_TEXT_V_ALIGN_INDETERMINATE = _pcbnew.GR_TEXT_V_ALIGN_INDETERMINATE
16800 return _pcbnew.GetFlippedAlignment(*args)
16803 r"""ToHAlignment(int x) -> GR_TEXT_H_ALIGN_T"""
16804 return _pcbnew.ToHAlignment(x)
16806 r"""Proxy of C++ TEXT_ATTRIBUTES class."""
16808 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16809 __repr__ = _swig_repr
16812 r"""__init__(TEXT_ATTRIBUTES self, KIFONT::FONT * aFont=None) -> TEXT_ATTRIBUTES"""
16813 _pcbnew.TEXT_ATTRIBUTES_swiginit(self, _pcbnew.new_TEXT_ATTRIBUTES(aFont))
16816 r"""Compare(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> int"""
16817 return _pcbnew.TEXT_ATTRIBUTES_Compare(self, aRhs)
16820 r"""__eq__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
16821 return _pcbnew.TEXT_ATTRIBUTES___eq__(self, aRhs)
16824 r"""__gt__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
16825 return _pcbnew.TEXT_ATTRIBUTES___gt__(self, aRhs)
16828 r"""__lt__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
16829 return _pcbnew.TEXT_ATTRIBUTES___lt__(self, aRhs)
16830 m_Font = property(_pcbnew.TEXT_ATTRIBUTES_m_Font_get, _pcbnew.TEXT_ATTRIBUTES_m_Font_set, doc=
r"""m_Font : p.KIFONT::FONT""")
16831 m_Halign = property(_pcbnew.TEXT_ATTRIBUTES_m_Halign_get, _pcbnew.TEXT_ATTRIBUTES_m_Halign_set, doc=
r"""m_Halign : GR_TEXT_H_ALIGN_T""")
16832 m_Valign = property(_pcbnew.TEXT_ATTRIBUTES_m_Valign_get, _pcbnew.TEXT_ATTRIBUTES_m_Valign_set, doc=
r"""m_Valign : GR_TEXT_V_ALIGN_T""")
16833 m_Angle = property(_pcbnew.TEXT_ATTRIBUTES_m_Angle_get, _pcbnew.TEXT_ATTRIBUTES_m_Angle_set, doc=
r"""m_Angle : EDA_ANGLE""")
16834 m_LineSpacing = property(_pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_get, _pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_set, doc=
r"""m_LineSpacing : double""")
16835 m_StrokeWidth = property(_pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_get, _pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_set, doc=
r"""m_StrokeWidth : int""")
16836 m_Italic = property(_pcbnew.TEXT_ATTRIBUTES_m_Italic_get, _pcbnew.TEXT_ATTRIBUTES_m_Italic_set, doc=
r"""m_Italic : bool""")
16837 m_Bold = property(_pcbnew.TEXT_ATTRIBUTES_m_Bold_get, _pcbnew.TEXT_ATTRIBUTES_m_Bold_set, doc=
r"""m_Bold : bool""")
16838 m_Underlined = property(_pcbnew.TEXT_ATTRIBUTES_m_Underlined_get, _pcbnew.TEXT_ATTRIBUTES_m_Underlined_set, doc=
r"""m_Underlined : bool""")
16839 m_Color = property(_pcbnew.TEXT_ATTRIBUTES_m_Color_get, _pcbnew.TEXT_ATTRIBUTES_m_Color_set, doc=
r"""m_Color : KIGFX::COLOR4D""")
16840 m_Mirrored = property(_pcbnew.TEXT_ATTRIBUTES_m_Mirrored_get, _pcbnew.TEXT_ATTRIBUTES_m_Mirrored_set, doc=
r"""m_Mirrored : bool""")
16841 m_Multiline = property(_pcbnew.TEXT_ATTRIBUTES_m_Multiline_get, _pcbnew.TEXT_ATTRIBUTES_m_Multiline_set, doc=
r"""m_Multiline : bool""")
16842 m_Size = property(_pcbnew.TEXT_ATTRIBUTES_m_Size_get, _pcbnew.TEXT_ATTRIBUTES_m_Size_set, doc=
r"""m_Size : VECTOR2I""")
16843 m_KeepUpright = property(_pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_get, _pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_set, doc=
r"""m_KeepUpright : bool""")
16844 m_StoredStrokeWidth = property(_pcbnew.TEXT_ATTRIBUTES_m_StoredStrokeWidth_get, _pcbnew.TEXT_ATTRIBUTES_m_StoredStrokeWidth_set, doc=
r"""m_StoredStrokeWidth : int""")
16845 __swig_destroy__ = _pcbnew.delete_TEXT_ATTRIBUTES
16848_pcbnew.TEXT_ATTRIBUTES_swigregister(TEXT_ATTRIBUTES)
16850 r"""Proxy of C++ PCB_FIELD class."""
16852 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16853 __repr__ = _swig_repr
16857 __init__(PCB_FIELD self, FOOTPRINT aParent, int aFieldId, wxString aName=wxEmptyString) -> PCB_FIELD
16858 __init__(PCB_FIELD self, PCB_TEXT aText, int aFieldId, wxString aName=wxEmptyString) -> PCB_FIELD
16860 _pcbnew.PCB_FIELD_swiginit(self, _pcbnew.new_PCB_FIELD(*args))
16863 r"""Serialize(PCB_FIELD self, google::protobuf::Any & aContainer)"""
16864 return _pcbnew.PCB_FIELD_Serialize(self, aContainer)
16867 r"""Deserialize(PCB_FIELD self, google::protobuf::Any const & aContainer) -> bool"""
16868 return _pcbnew.PCB_FIELD_Deserialize(self, aContainer)
16872 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16873 return _pcbnew.PCB_FIELD_ClassOf(aItem)
16876 r"""IsReference(PCB_FIELD self) -> bool"""
16877 return _pcbnew.PCB_FIELD_IsReference(self)
16880 r"""IsValue(PCB_FIELD self) -> bool"""
16881 return _pcbnew.PCB_FIELD_IsValue(self)
16884 r"""IsDatasheet(PCB_FIELD self) -> bool"""
16885 return _pcbnew.PCB_FIELD_IsDatasheet(self)
16888 r"""IsComponentClass(PCB_FIELD self) -> bool"""
16889 return _pcbnew.PCB_FIELD_IsComponentClass(self)
16892 r"""IsMandatory(PCB_FIELD self) -> bool"""
16893 return _pcbnew.PCB_FIELD_IsMandatory(self)
16896 r"""IsHypertext(PCB_FIELD self) -> bool"""
16897 return _pcbnew.PCB_FIELD_IsHypertext(self)
16900 r"""ViewGetLOD(PCB_FIELD self, int aLayer, KIGFX::VIEW const * aView) -> double"""
16901 return _pcbnew.PCB_FIELD_ViewGetLOD(self, aLayer, aView)
16904 r"""CloneField(PCB_FIELD self) -> PCB_FIELD"""
16905 return _pcbnew.PCB_FIELD_CloneField(self)
16908 r"""GetName(PCB_FIELD self, bool aUseDefaultName=True) -> wxString"""
16909 return _pcbnew.PCB_FIELD_GetName(self, aUseDefaultName)
16912 r"""GetCanonicalName(PCB_FIELD self) -> wxString"""
16913 return _pcbnew.PCB_FIELD_GetCanonicalName(self)
16916 r"""SetName(PCB_FIELD self, wxString aName)"""
16917 return _pcbnew.PCB_FIELD_SetName(self, aName)
16920 r"""GetId(PCB_FIELD self) -> int"""
16921 return _pcbnew.PCB_FIELD_GetId(self)
16924 r"""SetId(PCB_FIELD self, int aId)"""
16925 return _pcbnew.PCB_FIELD_SetId(self, aId)
16929 __eq__(PCB_FIELD self, PCB_FIELD aOther) -> bool
16930 __eq__(PCB_FIELD self, BOARD_ITEM aOther) -> bool
16932 return _pcbnew.PCB_FIELD___eq__(self, *args)
16933 __swig_destroy__ = _pcbnew.delete_PCB_FIELD
16936_pcbnew.PCB_FIELD_swigregister(PCB_FIELD)
16937DIM_UNITS_FORMAT_NO_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_NO_SUFFIX
16939DIM_UNITS_FORMAT_BARE_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_BARE_SUFFIX
16941DIM_UNITS_FORMAT_PAREN_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_PAREN_SUFFIX
16943DIM_PRECISION_X = _pcbnew.DIM_PRECISION_X
16945DIM_PRECISION_X_X = _pcbnew.DIM_PRECISION_X_X
16947DIM_PRECISION_X_XX = _pcbnew.DIM_PRECISION_X_XX
16949DIM_PRECISION_X_XXX = _pcbnew.DIM_PRECISION_X_XXX
16951DIM_PRECISION_X_XXXX = _pcbnew.DIM_PRECISION_X_XXXX
16953DIM_PRECISION_X_XXXXX = _pcbnew.DIM_PRECISION_X_XXXXX
16955DIM_PRECISION_V_VV = _pcbnew.DIM_PRECISION_V_VV
16957DIM_PRECISION_V_VVV = _pcbnew.DIM_PRECISION_V_VVV
16959DIM_PRECISION_V_VVVV = _pcbnew.DIM_PRECISION_V_VVVV
16961DIM_PRECISION_V_VVVVV = _pcbnew.DIM_PRECISION_V_VVVVV
16963DIM_TEXT_POSITION_OUTSIDE = _pcbnew.DIM_TEXT_POSITION_OUTSIDE
16965DIM_TEXT_POSITION_INLINE = _pcbnew.DIM_TEXT_POSITION_INLINE
16967DIM_TEXT_POSITION_MANUAL = _pcbnew.DIM_TEXT_POSITION_MANUAL
16969DIM_UNITS_MODE_INCH = _pcbnew.DIM_UNITS_MODE_INCH
16971DIM_UNITS_MODE_MILS = _pcbnew.DIM_UNITS_MODE_MILS
16973DIM_UNITS_MODE_MM = _pcbnew.DIM_UNITS_MODE_MM
16975DIM_UNITS_MODE_AUTOMATIC = _pcbnew.DIM_UNITS_MODE_AUTOMATIC
16977DIM_ARROW_DIRECTION_INWARD = _pcbnew.DIM_ARROW_DIRECTION_INWARD
16979DIM_ARROW_DIRECTION_OUTWARD = _pcbnew.DIM_ARROW_DIRECTION_OUTWARD
16981DIM_TEXT_BORDER_NONE = _pcbnew.DIM_TEXT_BORDER_NONE
16983DIM_TEXT_BORDER_RECTANGLE = _pcbnew.DIM_TEXT_BORDER_RECTANGLE
16985DIM_TEXT_BORDER_CIRCLE = _pcbnew.DIM_TEXT_BORDER_CIRCLE
16987DIM_TEXT_BORDER_ROUNDRECT = _pcbnew.DIM_TEXT_BORDER_ROUNDRECT
16990 r"""Proxy of C++ PCB_DIMENSION_BASE class."""
16992 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16995 raise AttributeError(
"No constructor defined - class is abstract")
16996 __repr__ = _swig_repr
16999 r"""Serialize(PCB_DIMENSION_BASE self, google::protobuf::Any & aContainer)"""
17000 return _pcbnew.PCB_DIMENSION_BASE_Serialize(self, aContainer)
17003 r"""Deserialize(PCB_DIMENSION_BASE self, google::protobuf::Any const & aContainer) -> bool"""
17004 return _pcbnew.PCB_DIMENSION_BASE_Deserialize(self, aContainer)
17007 r"""GetStart(PCB_DIMENSION_BASE self) -> VECTOR2I"""
17008 return _pcbnew.PCB_DIMENSION_BASE_GetStart(self)
17011 r"""SetStart(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
17012 return _pcbnew.PCB_DIMENSION_BASE_SetStart(self, aPoint)
17015 r"""GetEnd(PCB_DIMENSION_BASE self) -> VECTOR2I"""
17016 return _pcbnew.PCB_DIMENSION_BASE_GetEnd(self)
17019 r"""SetEnd(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
17020 return _pcbnew.PCB_DIMENSION_BASE_SetEnd(self, aPoint)
17023 r"""GetOverrideTextEnabled(PCB_DIMENSION_BASE self) -> bool"""
17024 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideTextEnabled(self)
17027 r"""SetOverrideTextEnabled(PCB_DIMENSION_BASE self, bool aOverride)"""
17028 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideTextEnabled(self, aOverride)
17031 r"""GetOverrideText(PCB_DIMENSION_BASE self) -> wxString"""
17032 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideText(self)
17035 r"""SetOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
17036 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideText(self, aValue)
17039 r"""ChangeOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
17040 return _pcbnew.PCB_DIMENSION_BASE_ChangeOverrideText(self, aValue)
17043 r"""GetMeasuredValue(PCB_DIMENSION_BASE self) -> int"""
17044 return _pcbnew.PCB_DIMENSION_BASE_GetMeasuredValue(self)
17047 r"""SetMeasuredValue(PCB_DIMENSION_BASE self, int aValue)"""
17048 return _pcbnew.PCB_DIMENSION_BASE_SetMeasuredValue(self, aValue)
17051 r"""GetValueText(PCB_DIMENSION_BASE self) -> wxString"""
17052 return _pcbnew.PCB_DIMENSION_BASE_GetValueText(self)
17055 r"""Update(PCB_DIMENSION_BASE self)"""
17056 return _pcbnew.PCB_DIMENSION_BASE_Update(self)
17059 r"""UpdateUnits(PCB_DIMENSION_BASE self)"""
17060 return _pcbnew.PCB_DIMENSION_BASE_UpdateUnits(self)
17063 r"""GetPrefix(PCB_DIMENSION_BASE self) -> wxString"""
17064 return _pcbnew.PCB_DIMENSION_BASE_GetPrefix(self)
17067 r"""SetPrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
17068 return _pcbnew.PCB_DIMENSION_BASE_SetPrefix(self, aPrefix)
17071 r"""ChangePrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
17072 return _pcbnew.PCB_DIMENSION_BASE_ChangePrefix(self, aPrefix)
17075 r"""GetSuffix(PCB_DIMENSION_BASE self) -> wxString"""
17076 return _pcbnew.PCB_DIMENSION_BASE_GetSuffix(self)
17079 r"""SetSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
17080 return _pcbnew.PCB_DIMENSION_BASE_SetSuffix(self, aSuffix)
17083 r"""ChangeSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
17084 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuffix(self, aSuffix)
17087 r"""GetArrowDirection(PCB_DIMENSION_BASE self) -> DIM_ARROW_DIRECTION"""
17088 return _pcbnew.PCB_DIMENSION_BASE_GetArrowDirection(self)
17091 r"""SetArrowDirection(PCB_DIMENSION_BASE self, DIM_ARROW_DIRECTION const & aDirection)"""
17092 return _pcbnew.PCB_DIMENSION_BASE_SetArrowDirection(self, aDirection)
17095 r"""ChangeArrowDirection(PCB_DIMENSION_BASE self, DIM_ARROW_DIRECTION const & aDirection)"""
17096 return _pcbnew.PCB_DIMENSION_BASE_ChangeArrowDirection(self, aDirection)
17099 r"""GetUnits(PCB_DIMENSION_BASE self) -> EDA_UNITS"""
17100 return _pcbnew.PCB_DIMENSION_BASE_GetUnits(self)
17103 r"""SetUnits(PCB_DIMENSION_BASE self, EDA_UNITS aUnits)"""
17104 return _pcbnew.PCB_DIMENSION_BASE_SetUnits(self, aUnits)
17107 r"""GetUnitsMode(PCB_DIMENSION_BASE self) -> DIM_UNITS_MODE"""
17108 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsMode(self)
17111 r"""SetUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
17112 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsMode(self, aMode)
17115 r"""ChangeUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
17116 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsMode(self, aMode)
17119 r"""SetAutoUnits(PCB_DIMENSION_BASE self, bool aAuto=True)"""
17120 return _pcbnew.PCB_DIMENSION_BASE_SetAutoUnits(self, aAuto)
17123 r"""GetUnitsFormat(PCB_DIMENSION_BASE self) -> DIM_UNITS_FORMAT"""
17124 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsFormat(self)
17127 r"""SetUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
17128 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsFormat(self, aFormat)
17131 r"""ChangeUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
17132 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsFormat(self, aFormat)
17135 r"""GetPrecision(PCB_DIMENSION_BASE self) -> DIM_PRECISION"""
17136 return _pcbnew.PCB_DIMENSION_BASE_GetPrecision(self)
17139 r"""SetPrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
17140 return _pcbnew.PCB_DIMENSION_BASE_SetPrecision(self, aPrecision)
17143 r"""ChangePrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
17144 return _pcbnew.PCB_DIMENSION_BASE_ChangePrecision(self, aPrecision)
17147 r"""GetSuppressZeroes(PCB_DIMENSION_BASE self) -> bool"""
17148 return _pcbnew.PCB_DIMENSION_BASE_GetSuppressZeroes(self)
17151 r"""SetSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
17152 return _pcbnew.PCB_DIMENSION_BASE_SetSuppressZeroes(self, aSuppress)
17155 r"""ChangeSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
17156 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuppressZeroes(self, aSuppress)
17159 r"""GetKeepTextAligned(PCB_DIMENSION_BASE self) -> bool"""
17160 return _pcbnew.PCB_DIMENSION_BASE_GetKeepTextAligned(self)
17163 r"""SetKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)"""
17164 return _pcbnew.PCB_DIMENSION_BASE_SetKeepTextAligned(self, aKeepAligned)
17167 r"""GetTextAngleDegreesProp(PCB_DIMENSION_BASE self) -> double"""
17168 return _pcbnew.PCB_DIMENSION_BASE_GetTextAngleDegreesProp(self)
17171 r"""ChangeTextAngleDegrees(PCB_DIMENSION_BASE self, double aDegrees)"""
17172 return _pcbnew.PCB_DIMENSION_BASE_ChangeTextAngleDegrees(self, aDegrees)
17175 r"""ChangeKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)"""
17176 return _pcbnew.PCB_DIMENSION_BASE_ChangeKeepTextAligned(self, aKeepAligned)
17179 r"""SetTextPositionMode(PCB_DIMENSION_BASE self, DIM_TEXT_POSITION aMode)"""
17180 return _pcbnew.PCB_DIMENSION_BASE_SetTextPositionMode(self, aMode)
17183 r"""GetTextPositionMode(PCB_DIMENSION_BASE self) -> DIM_TEXT_POSITION"""
17184 return _pcbnew.PCB_DIMENSION_BASE_GetTextPositionMode(self)
17187 r"""GetArrowLength(PCB_DIMENSION_BASE self) -> int"""
17188 return _pcbnew.PCB_DIMENSION_BASE_GetArrowLength(self)
17191 r"""SetArrowLength(PCB_DIMENSION_BASE self, int aLength)"""
17192 return _pcbnew.PCB_DIMENSION_BASE_SetArrowLength(self, aLength)
17195 r"""SetExtensionOffset(PCB_DIMENSION_BASE self, int aOffset)"""
17196 return _pcbnew.PCB_DIMENSION_BASE_SetExtensionOffset(self, aOffset)
17199 r"""GetExtensionOffset(PCB_DIMENSION_BASE self) -> int"""
17200 return _pcbnew.PCB_DIMENSION_BASE_GetExtensionOffset(self)
17203 r"""GetLineThickness(PCB_DIMENSION_BASE self) -> int"""
17204 return _pcbnew.PCB_DIMENSION_BASE_GetLineThickness(self)
17207 r"""SetLineThickness(PCB_DIMENSION_BASE self, int aWidth)"""
17208 return _pcbnew.PCB_DIMENSION_BASE_SetLineThickness(self, aWidth)
17211 r"""GetShapes(PCB_DIMENSION_BASE self) -> VECTOR_SHAPEPTR"""
17212 return _pcbnew.PCB_DIMENSION_BASE_GetShapes(self)
17216 HitTest(PCB_DIMENSION_BASE self, VECTOR2I aPosition, int aAccuracy) -> bool
17217 HitTest(PCB_DIMENSION_BASE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17219 return _pcbnew.PCB_DIMENSION_BASE_HitTest(self, *args)
17222 r"""GetEffectiveShape(PCB_DIMENSION_BASE self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17223 return _pcbnew.PCB_DIMENSION_BASE_GetEffectiveShape(self, *args)
17226 r"""TransformShapeToPolygon(PCB_DIMENSION_BASE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
17227 return _pcbnew.PCB_DIMENSION_BASE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
17231 __eq__(PCB_DIMENSION_BASE self, PCB_DIMENSION_BASE aOther) -> bool
17232 __eq__(PCB_DIMENSION_BASE self, BOARD_ITEM aBoardItem) -> bool
17234 return _pcbnew.PCB_DIMENSION_BASE___eq__(self, *args)
17235 __swig_destroy__ = _pcbnew.delete_PCB_DIMENSION_BASE
17238_pcbnew.PCB_DIMENSION_BASE_swigregister(PCB_DIMENSION_BASE)
17240 r"""Proxy of C++ PCB_DIM_ALIGNED class."""
17242 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17243 __repr__ = _swig_repr
17246 r"""__init__(PCB_DIM_ALIGNED self, BOARD_ITEM aParent, KICAD_T aType=PCB_DIM_ALIGNED_T) -> PCB_DIM_ALIGNED"""
17247 _pcbnew.PCB_DIM_ALIGNED_swiginit(self, _pcbnew.new_PCB_DIM_ALIGNED(aParent, aType))
17248 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ALIGNED
17251 r"""Serialize(PCB_DIM_ALIGNED self, google::protobuf::Any & aContainer)"""
17252 return _pcbnew.PCB_DIM_ALIGNED_Serialize(self, aContainer)
17255 r"""Deserialize(PCB_DIM_ALIGNED self, google::protobuf::Any const & aContainer) -> bool"""
17256 return _pcbnew.PCB_DIM_ALIGNED_Deserialize(self, aContainer)
17260 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17261 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
17264 r"""GetCrossbarStart(PCB_DIM_ALIGNED self) -> VECTOR2I"""
17265 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarStart(self)
17268 r"""GetCrossbarEnd(PCB_DIM_ALIGNED self) -> VECTOR2I"""
17269 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarEnd(self)
17272 r"""SetHeight(PCB_DIM_ALIGNED self, int aHeight)"""
17273 return _pcbnew.PCB_DIM_ALIGNED_SetHeight(self, aHeight)
17276 r"""GetHeight(PCB_DIM_ALIGNED self) -> int"""
17277 return _pcbnew.PCB_DIM_ALIGNED_GetHeight(self)
17280 r"""ChangeHeight(PCB_DIM_ALIGNED self, int aHeight)"""
17281 return _pcbnew.PCB_DIM_ALIGNED_ChangeHeight(self, aHeight)
17284 r"""UpdateHeight(PCB_DIM_ALIGNED self, VECTOR2I aCrossbarStart, VECTOR2I aCrossbarEnd)"""
17285 return _pcbnew.PCB_DIM_ALIGNED_UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
17288 r"""SetExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
17289 return _pcbnew.PCB_DIM_ALIGNED_SetExtensionHeight(self, aHeight)
17292 r"""GetExtensionHeight(PCB_DIM_ALIGNED self) -> int"""
17293 return _pcbnew.PCB_DIM_ALIGNED_GetExtensionHeight(self)
17296 r"""ChangeExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
17297 return _pcbnew.PCB_DIM_ALIGNED_ChangeExtensionHeight(self, aHeight)
17300 r"""GetAngle(PCB_DIM_ALIGNED self) -> double"""
17301 return _pcbnew.PCB_DIM_ALIGNED_GetAngle(self)
17304_pcbnew.PCB_DIM_ALIGNED_swigregister(PCB_DIM_ALIGNED)
17306 r"""Proxy of C++ PCB_DIM_ORTHOGONAL class."""
17308 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17309 __repr__ = _swig_repr
17310 DIR_HORIZONTAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_HORIZONTAL
17312 DIR_VERTICAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_VERTICAL
17316 r"""__init__(PCB_DIM_ORTHOGONAL self, BOARD_ITEM aParent) -> PCB_DIM_ORTHOGONAL"""
17317 _pcbnew.PCB_DIM_ORTHOGONAL_swiginit(self, _pcbnew.new_PCB_DIM_ORTHOGONAL(aParent))
17318 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ORTHOGONAL
17321 r"""Serialize(PCB_DIM_ORTHOGONAL self, google::protobuf::Any & aContainer)"""
17322 return _pcbnew.PCB_DIM_ORTHOGONAL_Serialize(self, aContainer)
17325 r"""Deserialize(PCB_DIM_ORTHOGONAL self, google::protobuf::Any const & aContainer) -> bool"""
17326 return _pcbnew.PCB_DIM_ORTHOGONAL_Deserialize(self, aContainer)
17330 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17331 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
17334 r"""SetOrientation(PCB_DIM_ORTHOGONAL self, PCB_DIM_ORTHOGONAL::DIR aOrientation)"""
17335 return _pcbnew.PCB_DIM_ORTHOGONAL_SetOrientation(self, aOrientation)
17338 r"""GetOrientation(PCB_DIM_ORTHOGONAL self) -> PCB_DIM_ORTHOGONAL::DIR"""
17339 return _pcbnew.PCB_DIM_ORTHOGONAL_GetOrientation(self)
17342_pcbnew.PCB_DIM_ORTHOGONAL_swigregister(PCB_DIM_ORTHOGONAL)
17344 r"""Proxy of C++ PCB_DIM_RADIAL class."""
17346 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17347 __repr__ = _swig_repr
17350 r"""__init__(PCB_DIM_RADIAL self, BOARD_ITEM aParent) -> PCB_DIM_RADIAL"""
17351 _pcbnew.PCB_DIM_RADIAL_swiginit(self, _pcbnew.new_PCB_DIM_RADIAL(aParent))
17354 r"""Serialize(PCB_DIM_RADIAL self, google::protobuf::Any & aContainer)"""
17355 return _pcbnew.PCB_DIM_RADIAL_Serialize(self, aContainer)
17358 r"""Deserialize(PCB_DIM_RADIAL self, google::protobuf::Any const & aContainer) -> bool"""
17359 return _pcbnew.PCB_DIM_RADIAL_Deserialize(self, aContainer)
17363 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17364 return _pcbnew.PCB_DIM_RADIAL_ClassOf(aItem)
17367 r"""SetLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
17368 return _pcbnew.PCB_DIM_RADIAL_SetLeaderLength(self, aLength)
17371 r"""GetLeaderLength(PCB_DIM_RADIAL self) -> int"""
17372 return _pcbnew.PCB_DIM_RADIAL_GetLeaderLength(self)
17375 r"""ChangeLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
17376 return _pcbnew.PCB_DIM_RADIAL_ChangeLeaderLength(self, aLength)
17379 r"""GetKnee(PCB_DIM_RADIAL self) -> VECTOR2I"""
17380 return _pcbnew.PCB_DIM_RADIAL_GetKnee(self)
17381 __swig_destroy__ = _pcbnew.delete_PCB_DIM_RADIAL
17384_pcbnew.PCB_DIM_RADIAL_swigregister(PCB_DIM_RADIAL)
17386 r"""Proxy of C++ PCB_DIM_LEADER class."""
17388 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17389 __repr__ = _swig_repr
17392 r"""__init__(PCB_DIM_LEADER self, BOARD_ITEM aParent) -> PCB_DIM_LEADER"""
17393 _pcbnew.PCB_DIM_LEADER_swiginit(self, _pcbnew.new_PCB_DIM_LEADER(aParent))
17396 r"""Serialize(PCB_DIM_LEADER self, google::protobuf::Any & aContainer)"""
17397 return _pcbnew.PCB_DIM_LEADER_Serialize(self, aContainer)
17400 r"""Deserialize(PCB_DIM_LEADER self, google::protobuf::Any const & aContainer) -> bool"""
17401 return _pcbnew.PCB_DIM_LEADER_Deserialize(self, aContainer)
17405 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17406 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
17409 r"""SetTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
17410 return _pcbnew.PCB_DIM_LEADER_SetTextBorder(self, aBorder)
17413 r"""GetTextBorder(PCB_DIM_LEADER self) -> DIM_TEXT_BORDER"""
17414 return _pcbnew.PCB_DIM_LEADER_GetTextBorder(self)
17417 r"""ChangeTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
17418 return _pcbnew.PCB_DIM_LEADER_ChangeTextBorder(self, aBorder)
17419 __swig_destroy__ = _pcbnew.delete_PCB_DIM_LEADER
17422_pcbnew.PCB_DIM_LEADER_swigregister(PCB_DIM_LEADER)
17424 r"""Proxy of C++ PCB_DIM_CENTER class."""
17426 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17427 __repr__ = _swig_repr
17430 r"""__init__(PCB_DIM_CENTER self, BOARD_ITEM aParent) -> PCB_DIM_CENTER"""
17431 _pcbnew.PCB_DIM_CENTER_swiginit(self, _pcbnew.new_PCB_DIM_CENTER(aParent))
17434 r"""Serialize(PCB_DIM_CENTER self, google::protobuf::Any & aContainer)"""
17435 return _pcbnew.PCB_DIM_CENTER_Serialize(self, aContainer)
17438 r"""Deserialize(PCB_DIM_CENTER self, google::protobuf::Any const & aContainer) -> bool"""
17439 return _pcbnew.PCB_DIM_CENTER_Deserialize(self, aContainer)
17443 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17444 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
17445 __swig_destroy__ = _pcbnew.delete_PCB_DIM_CENTER
17448_pcbnew.PCB_DIM_CENTER_swigregister(PCB_DIM_CENTER)
17449MARKER_SHAPE_POINT_COUNT = _pcbnew.MARKER_SHAPE_POINT_COUNT
17452 r"""Proxy of C++ PCB_MARKER class."""
17454 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17455 __repr__ = _swig_repr
17458 r"""__init__(PCB_MARKER self, std::shared_ptr< RC_ITEM > aItem, VECTOR2I aPos, int aLayer=F_Cu) -> PCB_MARKER"""
17459 _pcbnew.PCB_MARKER_swiginit(self, _pcbnew.new_PCB_MARKER(aItem, aPos, aLayer))
17460 __swig_destroy__ = _pcbnew.delete_PCB_MARKER
17464 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17465 return _pcbnew.PCB_MARKER_ClassOf(aItem)
17468 r"""SerializeToString(PCB_MARKER self) -> wxString"""
17469 return _pcbnew.PCB_MARKER_SerializeToString(self)
17473 r"""DeserializeFromString(wxString data) -> PCB_MARKER"""
17474 return _pcbnew.PCB_MARKER_DeserializeFromString(data)
17478 HitTest(PCB_MARKER self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17479 HitTest(PCB_MARKER self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17481 return _pcbnew.PCB_MARKER_HitTest(self, *args)
17484 r"""GetColorLayer(PCB_MARKER self) -> GAL_LAYER_ID"""
17485 return _pcbnew.PCB_MARKER_GetColorLayer(self)
17488 r"""GetEffectiveShape(PCB_MARKER self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17489 return _pcbnew.PCB_MARKER_GetEffectiveShape(self, *args)
17492 r"""SetZoom(PCB_MARKER self, double aZoomFactor)"""
17493 return _pcbnew.PCB_MARKER_SetZoom(self, aZoomFactor)
17496 r"""GetShapes1(PCB_MARKER self) -> std::vector< PCB_SHAPE,std::allocator< PCB_SHAPE > >"""
17497 return _pcbnew.PCB_MARKER_GetShapes1(self)
17500 r"""GetShapes2(PCB_MARKER self) -> std::vector< PCB_SHAPE,std::allocator< PCB_SHAPE > >"""
17501 return _pcbnew.PCB_MARKER_GetShapes2(self)
17504 r"""SetShapes1(PCB_MARKER self, std::vector< PCB_SHAPE,std::allocator< PCB_SHAPE > > const & aShapes)"""
17505 return _pcbnew.PCB_MARKER_SetShapes1(self, aShapes)
17508 r"""SetShapes2(PCB_MARKER self, std::vector< PCB_SHAPE,std::allocator< PCB_SHAPE > > const & aShapes)"""
17509 return _pcbnew.PCB_MARKER_SetShapes2(self, aShapes)
17512_pcbnew.PCB_MARKER_swigregister(PCB_MARKER)
17514 r"""Proxy of C++ PCB_TARGET class."""
17516 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17517 __repr__ = _swig_repr
17521 __init__(PCB_TARGET self, BOARD_ITEM aParent) -> PCB_TARGET
17522 __init__(PCB_TARGET self, BOARD_ITEM aParent, int aShape, PCB_LAYER_ID aLayer, VECTOR2I aPos, int aSize, int aWidth) -> PCB_TARGET
17524 _pcbnew.PCB_TARGET_swiginit(self, _pcbnew.new_PCB_TARGET(*args))
17525 __swig_destroy__ = _pcbnew.delete_PCB_TARGET
17529 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17530 return _pcbnew.PCB_TARGET_ClassOf(aItem)
17533 r"""SetShape(PCB_TARGET self, int aShape)"""
17534 return _pcbnew.PCB_TARGET_SetShape(self, aShape)
17537 r"""GetShape(PCB_TARGET self) -> int"""
17538 return _pcbnew.PCB_TARGET_GetShape(self)
17541 r"""SetSize(PCB_TARGET self, int aSize)"""
17542 return _pcbnew.PCB_TARGET_SetSize(self, aSize)
17545 r"""GetSize(PCB_TARGET self) -> int"""
17546 return _pcbnew.PCB_TARGET_GetSize(self)
17549 r"""SetWidth(PCB_TARGET self, int aWidth)"""
17550 return _pcbnew.PCB_TARGET_SetWidth(self, aWidth)
17553 r"""GetWidth(PCB_TARGET self) -> int"""
17554 return _pcbnew.PCB_TARGET_GetWidth(self)
17558 HitTest(PCB_TARGET self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17559 HitTest(PCB_TARGET self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17561 return _pcbnew.PCB_TARGET_HitTest(self, *args)
17564 r"""GetEffectiveShape(PCB_TARGET self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17565 return _pcbnew.PCB_TARGET_GetEffectiveShape(self, *args)
17568 r"""TransformShapeToPolygon(PCB_TARGET self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
17569 return _pcbnew.PCB_TARGET_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
17573 __eq__(PCB_TARGET self, PCB_TARGET aOther) -> bool
17574 __eq__(PCB_TARGET self, BOARD_ITEM aBoardItem) -> bool
17576 return _pcbnew.PCB_TARGET___eq__(self, *args)
17579_pcbnew.PCB_TARGET_swigregister(PCB_TARGET)
17581 r"""Proxy of C++ PCB_TABLE class."""
17583 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17584 __repr__ = _swig_repr
17588 __init__(PCB_TABLE self, BOARD_ITEM aParent, int aLineWidth) -> PCB_TABLE
17589 __init__(PCB_TABLE self, PCB_TABLE aTable) -> PCB_TABLE
17591 _pcbnew.PCB_TABLE_swiginit(self, _pcbnew.new_PCB_TABLE(*args))
17592 __swig_destroy__ = _pcbnew.delete_PCB_TABLE
17596 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17597 return _pcbnew.PCB_TABLE_ClassOf(aItem)
17600 r"""SetStrokeExternal(PCB_TABLE self, bool aDoStroke)"""
17601 return _pcbnew.PCB_TABLE_SetStrokeExternal(self, aDoStroke)
17604 r"""StrokeExternal(PCB_TABLE self) -> bool"""
17605 return _pcbnew.PCB_TABLE_StrokeExternal(self)
17608 r"""SetStrokeHeaderSeparator(PCB_TABLE self, bool aDoStroke)"""
17609 return _pcbnew.PCB_TABLE_SetStrokeHeaderSeparator(self, aDoStroke)
17612 r"""StrokeHeaderSeparator(PCB_TABLE self) -> bool"""
17613 return _pcbnew.PCB_TABLE_StrokeHeaderSeparator(self)
17616 r"""SetBorderStroke(PCB_TABLE self, STROKE_PARAMS const & aParams)"""
17617 return _pcbnew.PCB_TABLE_SetBorderStroke(self, aParams)
17620 r"""GetBorderStroke(PCB_TABLE self) -> STROKE_PARAMS const &"""
17621 return _pcbnew.PCB_TABLE_GetBorderStroke(self)
17624 r"""SetBorderWidth(PCB_TABLE self, int aWidth)"""
17625 return _pcbnew.PCB_TABLE_SetBorderWidth(self, aWidth)
17628 r"""GetBorderWidth(PCB_TABLE self) -> int"""
17629 return _pcbnew.PCB_TABLE_GetBorderWidth(self)
17632 r"""SetBorderStyle(PCB_TABLE self, LINE_STYLE const aStyle)"""
17633 return _pcbnew.PCB_TABLE_SetBorderStyle(self, aStyle)
17636 r"""GetBorderStyle(PCB_TABLE self) -> LINE_STYLE"""
17637 return _pcbnew.PCB_TABLE_GetBorderStyle(self)
17640 r"""SetBorderColor(PCB_TABLE self, COLOR4D aColor)"""
17641 return _pcbnew.PCB_TABLE_SetBorderColor(self, aColor)
17644 r"""GetBorderColor(PCB_TABLE self) -> COLOR4D"""
17645 return _pcbnew.PCB_TABLE_GetBorderColor(self)
17648 r"""SetSeparatorsStroke(PCB_TABLE self, STROKE_PARAMS const & aParams)"""
17649 return _pcbnew.PCB_TABLE_SetSeparatorsStroke(self, aParams)
17652 r"""GetSeparatorsStroke(PCB_TABLE self) -> STROKE_PARAMS const &"""
17653 return _pcbnew.PCB_TABLE_GetSeparatorsStroke(self)
17656 r"""SetSeparatorsWidth(PCB_TABLE self, int aWidth)"""
17657 return _pcbnew.PCB_TABLE_SetSeparatorsWidth(self, aWidth)
17660 r"""GetSeparatorsWidth(PCB_TABLE self) -> int"""
17661 return _pcbnew.PCB_TABLE_GetSeparatorsWidth(self)
17664 r"""SetSeparatorsStyle(PCB_TABLE self, LINE_STYLE const aStyle)"""
17665 return _pcbnew.PCB_TABLE_SetSeparatorsStyle(self, aStyle)
17668 r"""GetSeparatorsStyle(PCB_TABLE self) -> LINE_STYLE"""
17669 return _pcbnew.PCB_TABLE_GetSeparatorsStyle(self)
17672 r"""SetSeparatorsColor(PCB_TABLE self, COLOR4D aColor)"""
17673 return _pcbnew.PCB_TABLE_SetSeparatorsColor(self, aColor)
17676 r"""GetSeparatorsColor(PCB_TABLE self) -> COLOR4D"""
17677 return _pcbnew.PCB_TABLE_GetSeparatorsColor(self)
17680 r"""SetStrokeColumns(PCB_TABLE self, bool aDoStroke)"""
17681 return _pcbnew.PCB_TABLE_SetStrokeColumns(self, aDoStroke)
17684 r"""StrokeColumns(PCB_TABLE self) -> bool"""
17685 return _pcbnew.PCB_TABLE_StrokeColumns(self)
17688 r"""SetStrokeRows(PCB_TABLE self, bool aDoStroke)"""
17689 return _pcbnew.PCB_TABLE_SetStrokeRows(self, aDoStroke)
17692 r"""StrokeRows(PCB_TABLE self) -> bool"""
17693 return _pcbnew.PCB_TABLE_StrokeRows(self)
17696 r"""GetEnd(PCB_TABLE self) -> VECTOR2I"""
17697 return _pcbnew.PCB_TABLE_GetEnd(self)
17700 r"""SetPositionX(PCB_TABLE self, int x)"""
17701 return _pcbnew.PCB_TABLE_SetPositionX(self, x)
17704 r"""SetPositionY(PCB_TABLE self, int y)"""
17705 return _pcbnew.PCB_TABLE_SetPositionY(self, y)
17708 r"""GetPositionX(PCB_TABLE self) -> int"""
17709 return _pcbnew.PCB_TABLE_GetPositionX(self)
17712 r"""GetPositionY(PCB_TABLE self) -> int"""
17713 return _pcbnew.PCB_TABLE_GetPositionY(self)
17716 r"""SetColCount(PCB_TABLE self, int aCount)"""
17717 return _pcbnew.PCB_TABLE_SetColCount(self, aCount)
17720 r"""GetColCount(PCB_TABLE self) -> int"""
17721 return _pcbnew.PCB_TABLE_GetColCount(self)
17724 r"""GetRowCount(PCB_TABLE self) -> int"""
17725 return _pcbnew.PCB_TABLE_GetRowCount(self)
17728 r"""SetColWidth(PCB_TABLE self, int aCol, int aWidth)"""
17729 return _pcbnew.PCB_TABLE_SetColWidth(self, aCol, aWidth)
17732 r"""GetColWidth(PCB_TABLE self, int aCol) -> int"""
17733 return _pcbnew.PCB_TABLE_GetColWidth(self, aCol)
17736 r"""SetRowHeight(PCB_TABLE self, int aRow, int aHeight)"""
17737 return _pcbnew.PCB_TABLE_SetRowHeight(self, aRow, aHeight)
17740 r"""GetRowHeight(PCB_TABLE self, int aRow) -> int"""
17741 return _pcbnew.PCB_TABLE_GetRowHeight(self, aRow)
17744 r"""GetCell(PCB_TABLE self, int aRow, int aCol) -> PCB_TABLECELL *"""
17745 return _pcbnew.PCB_TABLE_GetCell(self, aRow, aCol)
17748 r"""GetCells(PCB_TABLE self) -> std::vector< PCB_TABLECELL *,std::allocator< PCB_TABLECELL * > >"""
17749 return _pcbnew.PCB_TABLE_GetCells(self)
17752 r"""AddCell(PCB_TABLE self, PCB_TABLECELL * aCell)"""
17753 return _pcbnew.PCB_TABLE_AddCell(self, aCell)
17756 r"""InsertCell(PCB_TABLE self, int aIdx, PCB_TABLECELL * aCell)"""
17757 return _pcbnew.PCB_TABLE_InsertCell(self, aIdx, aCell)
17760 r"""ClearCells(PCB_TABLE self)"""
17761 return _pcbnew.PCB_TABLE_ClearCells(self)
17764 r"""DeleteMarkedCells(PCB_TABLE self)"""
17765 return _pcbnew.PCB_TABLE_DeleteMarkedCells(self)
17768 r"""AddNative(PCB_TABLE self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
17769 return _pcbnew.PCB_TABLE_AddNative(self, *args)
17772 r"""RemoveNative(PCB_TABLE self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
17773 return _pcbnew.PCB_TABLE_RemoveNative(self, *args)
17776 r"""DrawBorders(PCB_TABLE self, std::function< void (VECTOR2I const &,VECTOR2I const &,STROKE_PARAMS const &) > const & aCallback)"""
17777 return _pcbnew.PCB_TABLE_DrawBorders(self, aCallback)
17780 r"""GetEffectiveShape(PCB_TABLE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17781 return _pcbnew.PCB_TABLE_GetEffectiveShape(self, *args)
17784 r"""TransformShapeToPolygon(PCB_TABLE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
17785 return _pcbnew.PCB_TABLE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
17789 HitTest(PCB_TABLE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17790 HitTest(PCB_TABLE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17792 return _pcbnew.PCB_TABLE_HitTest(self, *args)
17796 __eq__(PCB_TABLE self, PCB_TABLE aOther) -> bool
17797 __eq__(PCB_TABLE self, BOARD_ITEM aBoardItem) -> bool
17799 return _pcbnew.PCB_TABLE___eq__(self, *args)
17803 r"""Compare(PCB_TABLE aTable, PCB_TABLE aOther) -> int"""
17804 return _pcbnew.PCB_TABLE_Compare(aTable, aOther)
17807_pcbnew.PCB_TABLE_swigregister(PCB_TABLE)
17809 r"""Proxy of C++ std::vector< PAD * > class."""
17811 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17812 __repr__ = _swig_repr
17815 r"""iterator(PADS_VEC self) -> SwigPyIterator"""
17816 return _pcbnew.PADS_VEC_iterator(self)
17821 r"""__nonzero__(PADS_VEC self) -> bool"""
17822 return _pcbnew.PADS_VEC___nonzero__(self)
17825 r"""__bool__(PADS_VEC self) -> bool"""
17826 return _pcbnew.PADS_VEC___bool__(self)
17829 r"""__len__(PADS_VEC self) -> std::vector< PAD * >::size_type"""
17830 return _pcbnew.PADS_VEC___len__(self)
17833 r"""__getslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j) -> PADS_VEC"""
17834 return _pcbnew.PADS_VEC___getslice__(self, i, j)
17838 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)
17839 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j, PADS_VEC v)
17841 return _pcbnew.PADS_VEC___setslice__(self, *args)
17844 r"""__delslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)"""
17845 return _pcbnew.PADS_VEC___delslice__(self, i, j)
17849 __delitem__(PADS_VEC self, std::vector< PAD * >::difference_type i)
17850 __delitem__(PADS_VEC self, SWIGPY_SLICEOBJECT * slice)
17852 return _pcbnew.PADS_VEC___delitem__(self, *args)
17856 __getitem__(PADS_VEC self, SWIGPY_SLICEOBJECT * slice) -> PADS_VEC
17857 __getitem__(PADS_VEC self, std::vector< PAD * >::difference_type i) -> PAD
17859 return _pcbnew.PADS_VEC___getitem__(self, *args)
17863 __setitem__(PADS_VEC self, SWIGPY_SLICEOBJECT * slice, PADS_VEC v)
17864 __setitem__(PADS_VEC self, SWIGPY_SLICEOBJECT * slice)
17865 __setitem__(PADS_VEC self, std::vector< PAD * >::difference_type i, PAD x)
17867 return _pcbnew.PADS_VEC___setitem__(self, *args)
17870 r"""pop(PADS_VEC self) -> PAD"""
17871 return _pcbnew.PADS_VEC_pop(self)
17874 r"""append(PADS_VEC self, PAD x)"""
17875 return _pcbnew.PADS_VEC_append(self, x)
17878 r"""empty(PADS_VEC self) -> bool"""
17879 return _pcbnew.PADS_VEC_empty(self)
17882 r"""size(PADS_VEC self) -> std::vector< PAD * >::size_type"""
17883 return _pcbnew.PADS_VEC_size(self)
17886 r"""swap(PADS_VEC self, PADS_VEC v)"""
17887 return _pcbnew.PADS_VEC_swap(self, v)
17890 r"""begin(PADS_VEC self) -> std::vector< PAD * >::iterator"""
17891 return _pcbnew.PADS_VEC_begin(self)
17894 r"""end(PADS_VEC self) -> std::vector< PAD * >::iterator"""
17895 return _pcbnew.PADS_VEC_end(self)
17898 r"""rbegin(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
17899 return _pcbnew.PADS_VEC_rbegin(self)
17902 r"""rend(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
17903 return _pcbnew.PADS_VEC_rend(self)
17906 r"""clear(PADS_VEC self)"""
17907 return _pcbnew.PADS_VEC_clear(self)
17910 r"""get_allocator(PADS_VEC self) -> std::vector< PAD * >::allocator_type"""
17911 return _pcbnew.PADS_VEC_get_allocator(self)
17914 r"""pop_back(PADS_VEC self)"""
17915 return _pcbnew.PADS_VEC_pop_back(self)
17919 erase(PADS_VEC self, std::vector< PAD * >::iterator pos) -> std::vector< PAD * >::iterator
17920 erase(PADS_VEC self, std::vector< PAD * >::iterator first, std::vector< PAD * >::iterator last) -> std::vector< PAD * >::iterator
17922 return _pcbnew.PADS_VEC_erase(self, *args)
17926 __init__(PADS_VEC self) -> PADS_VEC
17927 __init__(PADS_VEC self, PADS_VEC other) -> PADS_VEC
17928 __init__(PADS_VEC self, std::vector< PAD * >::size_type size) -> PADS_VEC
17929 __init__(PADS_VEC self, std::vector< PAD * >::size_type size, PAD value) -> PADS_VEC
17931 _pcbnew.PADS_VEC_swiginit(self, _pcbnew.new_PADS_VEC(*args))
17934 r"""push_back(PADS_VEC self, PAD x)"""
17935 return _pcbnew.PADS_VEC_push_back(self, x)
17938 r"""front(PADS_VEC self) -> PAD"""
17939 return _pcbnew.PADS_VEC_front(self)
17942 r"""back(PADS_VEC self) -> PAD"""
17943 return _pcbnew.PADS_VEC_back(self)
17946 r"""assign(PADS_VEC self, std::vector< PAD * >::size_type n, PAD x)"""
17947 return _pcbnew.PADS_VEC_assign(self, n, x)
17951 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size)
17952 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size, PAD x)
17954 return _pcbnew.PADS_VEC_resize(self, *args)
17958 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, PAD x) -> std::vector< PAD * >::iterator
17959 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, std::vector< PAD * >::size_type n, PAD x)
17961 return _pcbnew.PADS_VEC_insert(self, *args)
17964 r"""reserve(PADS_VEC self, std::vector< PAD * >::size_type n)"""
17965 return _pcbnew.PADS_VEC_reserve(self, n)
17968 r"""capacity(PADS_VEC self) -> std::vector< PAD * >::size_type"""
17969 return _pcbnew.PADS_VEC_capacity(self)
17970 __swig_destroy__ = _pcbnew.delete_PADS_VEC
17973_pcbnew.PADS_VEC_swigregister(PADS_VEC)
17975 r"""Proxy of C++ std::vector< PCB_TRACK * > class."""
17977 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17978 __repr__ = _swig_repr
17981 r"""iterator(TRACKS_VEC self) -> SwigPyIterator"""
17982 return _pcbnew.TRACKS_VEC_iterator(self)
17987 r"""__nonzero__(TRACKS_VEC self) -> bool"""
17988 return _pcbnew.TRACKS_VEC___nonzero__(self)
17991 r"""__bool__(TRACKS_VEC self) -> bool"""
17992 return _pcbnew.TRACKS_VEC___bool__(self)
17995 r"""__len__(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
17996 return _pcbnew.TRACKS_VEC___len__(self)
17999 r"""__getslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j) -> TRACKS_VEC"""
18000 return _pcbnew.TRACKS_VEC___getslice__(self, i, j)
18004 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)
18005 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j, TRACKS_VEC v)
18007 return _pcbnew.TRACKS_VEC___setslice__(self, *args)
18010 r"""__delslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)"""
18011 return _pcbnew.TRACKS_VEC___delslice__(self, i, j)
18015 __delitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i)
18016 __delitem__(TRACKS_VEC self, SWIGPY_SLICEOBJECT * slice)
18018 return _pcbnew.TRACKS_VEC___delitem__(self, *args)
18022 __getitem__(TRACKS_VEC self, SWIGPY_SLICEOBJECT * slice) -> TRACKS_VEC
18023 __getitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i) -> PCB_TRACK
18025 return _pcbnew.TRACKS_VEC___getitem__(self, *args)
18029 __setitem__(TRACKS_VEC self, SWIGPY_SLICEOBJECT * slice, TRACKS_VEC v)
18030 __setitem__(TRACKS_VEC self, SWIGPY_SLICEOBJECT * slice)
18031 __setitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, PCB_TRACK x)
18033 return _pcbnew.TRACKS_VEC___setitem__(self, *args)
18036 r"""pop(TRACKS_VEC self) -> PCB_TRACK"""
18037 return _pcbnew.TRACKS_VEC_pop(self)
18040 r"""append(TRACKS_VEC self, PCB_TRACK x)"""
18041 return _pcbnew.TRACKS_VEC_append(self, x)
18044 r"""empty(TRACKS_VEC self) -> bool"""
18045 return _pcbnew.TRACKS_VEC_empty(self)
18048 r"""size(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
18049 return _pcbnew.TRACKS_VEC_size(self)
18052 r"""swap(TRACKS_VEC self, TRACKS_VEC v)"""
18053 return _pcbnew.TRACKS_VEC_swap(self, v)
18056 r"""begin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
18057 return _pcbnew.TRACKS_VEC_begin(self)
18060 r"""end(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
18061 return _pcbnew.TRACKS_VEC_end(self)
18064 r"""rbegin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
18065 return _pcbnew.TRACKS_VEC_rbegin(self)
18068 r"""rend(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
18069 return _pcbnew.TRACKS_VEC_rend(self)
18072 r"""clear(TRACKS_VEC self)"""
18073 return _pcbnew.TRACKS_VEC_clear(self)
18076 r"""get_allocator(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::allocator_type"""
18077 return _pcbnew.TRACKS_VEC_get_allocator(self)
18080 r"""pop_back(TRACKS_VEC self)"""
18081 return _pcbnew.TRACKS_VEC_pop_back(self)
18085 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos) -> std::vector< PCB_TRACK * >::iterator
18086 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator first, std::vector< PCB_TRACK * >::iterator last) -> std::vector< PCB_TRACK * >::iterator
18088 return _pcbnew.TRACKS_VEC_erase(self, *args)
18092 __init__(TRACKS_VEC self) -> TRACKS_VEC
18093 __init__(TRACKS_VEC self, TRACKS_VEC other) -> TRACKS_VEC
18094 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size) -> TRACKS_VEC
18095 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS_VEC
18097 _pcbnew.TRACKS_VEC_swiginit(self, _pcbnew.new_TRACKS_VEC(*args))
18100 r"""push_back(TRACKS_VEC self, PCB_TRACK x)"""
18101 return _pcbnew.TRACKS_VEC_push_back(self, x)
18104 r"""front(TRACKS_VEC self) -> PCB_TRACK"""
18105 return _pcbnew.TRACKS_VEC_front(self)
18108 r"""back(TRACKS_VEC self) -> PCB_TRACK"""
18109 return _pcbnew.TRACKS_VEC_back(self)
18112 r"""assign(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
18113 return _pcbnew.TRACKS_VEC_assign(self, n, x)
18117 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size)
18118 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
18120 return _pcbnew.TRACKS_VEC_resize(self, *args)
18124 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::vector< PCB_TRACK * >::iterator
18125 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)
18127 return _pcbnew.TRACKS_VEC_insert(self, *args)
18130 r"""reserve(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n)"""
18131 return _pcbnew.TRACKS_VEC_reserve(self, n)
18134 r"""capacity(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
18135 return _pcbnew.TRACKS_VEC_capacity(self)
18136 __swig_destroy__ = _pcbnew.delete_TRACKS_VEC
18139_pcbnew.TRACKS_VEC_swigregister(TRACKS_VEC)
18141 r"""Proxy of C++ NETINFO_ITEM class."""
18143 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18144 __repr__ = _swig_repr
18147 r"""__init__(NETINFO_ITEM self, BOARD aParent, wxString aNetName=wxEmptyString, int aNetCode=-1) -> NETINFO_ITEM"""
18148 _pcbnew.NETINFO_ITEM_swiginit(self, _pcbnew.new_NETINFO_ITEM(*args))
18149 __swig_destroy__ = _pcbnew.delete_NETINFO_ITEM
18153 r"""ClassOf(EDA_ITEM aItem) -> bool"""
18154 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
18157 r"""SetNetClass(NETINFO_ITEM self, std::shared_ptr< NETCLASS > const & aNetClass)"""
18158 return _pcbnew.NETINFO_ITEM_SetNetClass(self, aNetClass)
18161 r"""GetNetClass(NETINFO_ITEM self) -> NETCLASS"""
18162 return _pcbnew.NETINFO_ITEM_GetNetClass(self)
18165 r"""GetNetClassSlow(NETINFO_ITEM self) -> std::shared_ptr< NETCLASS >"""
18166 return _pcbnew.NETINFO_ITEM_GetNetClassSlow(self)
18169 r"""GetNetCode(NETINFO_ITEM self) -> int"""
18170 return _pcbnew.NETINFO_ITEM_GetNetCode(self)
18173 r"""SetNetCode(NETINFO_ITEM self, int aNetCode)"""
18174 return _pcbnew.NETINFO_ITEM_SetNetCode(self, aNetCode)
18177 r"""GetNetname(NETINFO_ITEM self) -> wxString"""
18178 return _pcbnew.NETINFO_ITEM_GetNetname(self)
18181 r"""GetShortNetname(NETINFO_ITEM self) -> wxString"""
18182 return _pcbnew.NETINFO_ITEM_GetShortNetname(self)
18185 r"""GetDisplayNetname(NETINFO_ITEM self) -> wxString"""
18186 return _pcbnew.NETINFO_ITEM_GetDisplayNetname(self)
18189 r"""HasAutoGeneratedNetname(NETINFO_ITEM self) -> bool"""
18190 return _pcbnew.NETINFO_ITEM_HasAutoGeneratedNetname(self)
18193 r"""SetNetname(NETINFO_ITEM self, wxString aNewName)"""
18194 return _pcbnew.NETINFO_ITEM_SetNetname(self, aNewName)
18197 r"""IsCurrent(NETINFO_ITEM self) -> bool"""
18198 return _pcbnew.NETINFO_ITEM_IsCurrent(self)
18201 r"""SetIsCurrent(NETINFO_ITEM self, bool isCurrent)"""
18202 return _pcbnew.NETINFO_ITEM_SetIsCurrent(self, isCurrent)
18205 r"""Clear(NETINFO_ITEM self)"""
18206 return _pcbnew.NETINFO_ITEM_Clear(self)
18209 r"""SetParent(NETINFO_ITEM self, BOARD aParent)"""
18210 return _pcbnew.NETINFO_ITEM_SetParent(self, aParent)
18213 r"""GetParent(NETINFO_ITEM self) -> BOARD"""
18214 return _pcbnew.NETINFO_ITEM_GetParent(self)
18221_pcbnew.NETINFO_ITEM_swigregister(NETINFO_ITEM)
18223 r"""Proxy of C++ std::map< wxString,NETINFO_ITEM * > class."""
18225 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18226 __repr__ = _swig_repr
18229 r"""iterator(NETNAMES_MAP self) -> SwigPyIterator"""
18230 return _pcbnew.NETNAMES_MAP_iterator(self)
18235 r"""__nonzero__(NETNAMES_MAP self) -> bool"""
18236 return _pcbnew.NETNAMES_MAP___nonzero__(self)
18239 r"""__bool__(NETNAMES_MAP self) -> bool"""
18240 return _pcbnew.NETNAMES_MAP___bool__(self)
18243 r"""__len__(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
18244 return _pcbnew.NETNAMES_MAP___len__(self)
18255 r"""__getitem__(NETNAMES_MAP self, wxString key) -> NETINFO_ITEM"""
18256 return _pcbnew.NETNAMES_MAP___getitem__(self, key)
18259 r"""__delitem__(NETNAMES_MAP self, wxString key)"""
18260 return _pcbnew.NETNAMES_MAP___delitem__(self, key)
18263 r"""has_key(NETNAMES_MAP self, wxString key) -> bool"""
18264 return _pcbnew.NETNAMES_MAP_has_key(self, key)
18267 r"""keys(NETNAMES_MAP self) -> PyObject *"""
18268 return _pcbnew.NETNAMES_MAP_keys(self)
18271 r"""values(NETNAMES_MAP self) -> PyObject *"""
18272 return _pcbnew.NETNAMES_MAP_values(self)
18275 r"""items(NETNAMES_MAP self) -> PyObject *"""
18276 return _pcbnew.NETNAMES_MAP_items(self)
18279 r"""__contains__(NETNAMES_MAP self, wxString key) -> bool"""
18280 return _pcbnew.NETNAMES_MAP___contains__(self, key)
18283 r"""key_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
18284 return _pcbnew.NETNAMES_MAP_key_iterator(self)
18287 r"""value_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
18288 return _pcbnew.NETNAMES_MAP_value_iterator(self)
18293 __setitem__(NETNAMES_MAP self, wxString key, NETINFO_ITEM x)
18295 return _pcbnew.NETNAMES_MAP___setitem__(self, *args)
18298 r"""asdict(NETNAMES_MAP self) -> PyObject *"""
18299 return _pcbnew.NETNAMES_MAP_asdict(self)
18303 __init__(NETNAMES_MAP self, std::less< wxString > const & other) -> NETNAMES_MAP
18304 __init__(NETNAMES_MAP self) -> NETNAMES_MAP
18305 __init__(NETNAMES_MAP self, NETNAMES_MAP other) -> NETNAMES_MAP
18307 _pcbnew.NETNAMES_MAP_swiginit(self, _pcbnew.new_NETNAMES_MAP(*args))
18310 r"""empty(NETNAMES_MAP self) -> bool"""
18311 return _pcbnew.NETNAMES_MAP_empty(self)
18314 r"""size(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
18315 return _pcbnew.NETNAMES_MAP_size(self)
18318 r"""swap(NETNAMES_MAP self, NETNAMES_MAP v)"""
18319 return _pcbnew.NETNAMES_MAP_swap(self, v)
18322 r"""begin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
18323 return _pcbnew.NETNAMES_MAP_begin(self)
18326 r"""end(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
18327 return _pcbnew.NETNAMES_MAP_end(self)
18330 r"""rbegin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
18331 return _pcbnew.NETNAMES_MAP_rbegin(self)
18334 r"""rend(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
18335 return _pcbnew.NETNAMES_MAP_rend(self)
18338 r"""clear(NETNAMES_MAP self)"""
18339 return _pcbnew.NETNAMES_MAP_clear(self)
18342 r"""get_allocator(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::allocator_type"""
18343 return _pcbnew.NETNAMES_MAP_get_allocator(self)
18346 r"""count(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
18347 return _pcbnew.NETNAMES_MAP_count(self, x)
18351 erase(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type
18352 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator position)
18353 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator first, std::map< wxString,NETINFO_ITEM * >::iterator last)
18355 return _pcbnew.NETNAMES_MAP_erase(self, *args)
18358 r"""find(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
18359 return _pcbnew.NETNAMES_MAP_find(self, x)
18362 r"""lower_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
18363 return _pcbnew.NETNAMES_MAP_lower_bound(self, x)
18366 r"""upper_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
18367 return _pcbnew.NETNAMES_MAP_upper_bound(self, x)
18368 __swig_destroy__ = _pcbnew.delete_NETNAMES_MAP
18371_pcbnew.NETNAMES_MAP_swigregister(NETNAMES_MAP)
18373 r"""Proxy of C++ std::map< int,NETINFO_ITEM * > class."""
18375 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18376 __repr__ = _swig_repr
18379 r"""iterator(NETCODES_MAP self) -> SwigPyIterator"""
18380 return _pcbnew.NETCODES_MAP_iterator(self)
18385 r"""__nonzero__(NETCODES_MAP self) -> bool"""
18386 return _pcbnew.NETCODES_MAP___nonzero__(self)
18389 r"""__bool__(NETCODES_MAP self) -> bool"""
18390 return _pcbnew.NETCODES_MAP___bool__(self)
18393 r"""__len__(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
18394 return _pcbnew.NETCODES_MAP___len__(self)
18405 r"""__getitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> NETINFO_ITEM"""
18406 return _pcbnew.NETCODES_MAP___getitem__(self, key)
18409 r"""__delitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)"""
18410 return _pcbnew.NETCODES_MAP___delitem__(self, key)
18413 r"""has_key(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
18414 return _pcbnew.NETCODES_MAP_has_key(self, key)
18417 r"""keys(NETCODES_MAP self) -> PyObject *"""
18418 return _pcbnew.NETCODES_MAP_keys(self)
18421 r"""values(NETCODES_MAP self) -> PyObject *"""
18422 return _pcbnew.NETCODES_MAP_values(self)
18425 r"""items(NETCODES_MAP self) -> PyObject *"""
18426 return _pcbnew.NETCODES_MAP_items(self)
18429 r"""__contains__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
18430 return _pcbnew.NETCODES_MAP___contains__(self, key)
18433 r"""key_iterator(NETCODES_MAP self) -> SwigPyIterator"""
18434 return _pcbnew.NETCODES_MAP_key_iterator(self)
18437 r"""value_iterator(NETCODES_MAP self) -> SwigPyIterator"""
18438 return _pcbnew.NETCODES_MAP_value_iterator(self)
18442 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)
18443 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key, NETINFO_ITEM x)
18445 return _pcbnew.NETCODES_MAP___setitem__(self, *args)
18448 r"""asdict(NETCODES_MAP self) -> PyObject *"""
18449 return _pcbnew.NETCODES_MAP_asdict(self)
18453 __init__(NETCODES_MAP self, std::less< int > const & other) -> NETCODES_MAP
18454 __init__(NETCODES_MAP self) -> NETCODES_MAP
18455 __init__(NETCODES_MAP self, NETCODES_MAP other) -> NETCODES_MAP
18457 _pcbnew.NETCODES_MAP_swiginit(self, _pcbnew.new_NETCODES_MAP(*args))
18460 r"""empty(NETCODES_MAP self) -> bool"""
18461 return _pcbnew.NETCODES_MAP_empty(self)
18464 r"""size(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
18465 return _pcbnew.NETCODES_MAP_size(self)
18468 r"""swap(NETCODES_MAP self, NETCODES_MAP v)"""
18469 return _pcbnew.NETCODES_MAP_swap(self, v)
18472 r"""begin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
18473 return _pcbnew.NETCODES_MAP_begin(self)
18476 r"""end(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
18477 return _pcbnew.NETCODES_MAP_end(self)
18480 r"""rbegin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
18481 return _pcbnew.NETCODES_MAP_rbegin(self)
18484 r"""rend(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
18485 return _pcbnew.NETCODES_MAP_rend(self)
18488 r"""clear(NETCODES_MAP self)"""
18489 return _pcbnew.NETCODES_MAP_clear(self)
18492 r"""get_allocator(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::allocator_type"""
18493 return _pcbnew.NETCODES_MAP_get_allocator(self)
18496 r"""count(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type"""
18497 return _pcbnew.NETCODES_MAP_count(self, x)
18501 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type
18502 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator position)
18503 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator first, std::map< int,NETINFO_ITEM * >::iterator last)
18505 return _pcbnew.NETCODES_MAP_erase(self, *args)
18508 r"""find(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
18509 return _pcbnew.NETCODES_MAP_find(self, x)
18512 r"""lower_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
18513 return _pcbnew.NETCODES_MAP_lower_bound(self, x)
18516 r"""upper_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
18517 return _pcbnew.NETCODES_MAP_upper_bound(self, x)
18518 __swig_destroy__ = _pcbnew.delete_NETCODES_MAP
18521_pcbnew.NETCODES_MAP_swigregister(NETCODES_MAP)
18523 r"""Proxy of C++ NETINFO_LIST class."""
18525 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18526 __repr__ = _swig_repr
18529 r"""__init__(NETINFO_LIST self, BOARD aParent) -> NETINFO_LIST"""
18530 _pcbnew.NETINFO_LIST_swiginit(self, _pcbnew.new_NETINFO_LIST(aParent))
18531 __swig_destroy__ = _pcbnew.delete_NETINFO_LIST
18535 GetNetItem(NETINFO_LIST self, int aNetCode) -> NETINFO_ITEM
18536 GetNetItem(NETINFO_LIST self, wxString aNetName) -> NETINFO_ITEM
18538 return _pcbnew.NETINFO_LIST_GetNetItem(self, *args)
18541 r"""GetNetCount(NETINFO_LIST self) -> unsigned int"""
18542 return _pcbnew.NETINFO_LIST_GetNetCount(self)
18545 r"""NetsByName(NETINFO_LIST self) -> NETNAMES_MAP"""
18546 return _pcbnew.NETINFO_LIST_NetsByName(self)
18549 r"""NetsByNetcode(NETINFO_LIST self) -> NETCODES_MAP"""
18550 return _pcbnew.NETINFO_LIST_NetsByNetcode(self)
18553 r"""RebuildDisplayNetnames(NETINFO_LIST self)"""
18554 return _pcbnew.NETINFO_LIST_RebuildDisplayNetnames(self)
18558 r"""OrphanedItem() -> NETINFO_ITEM"""
18559 return _pcbnew.NETINFO_LIST_OrphanedItem()
18562 r"""GetParent(NETINFO_LIST self) -> BOARD"""
18563 return _pcbnew.NETINFO_LIST_GetParent(self)
18564 m_DisplayNetnamesDirty = property(_pcbnew.NETINFO_LIST_m_DisplayNetnamesDirty_get, _pcbnew.NETINFO_LIST_m_DisplayNetnamesDirty_set, doc=
r"""m_DisplayNetnamesDirty : bool""")
18567_pcbnew.NETINFO_LIST_swigregister(NETINFO_LIST)
18568NETINFO_LIST.UNCONNECTED = _pcbnew.cvar.NETINFO_LIST_UNCONNECTED
18569NETINFO_LIST.ORPHANED = _pcbnew.cvar.NETINFO_LIST_ORPHANED
18572 r"""Proxy of C++ std::set< wxString > class."""
18574 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18575 __repr__ = _swig_repr
18578 r"""iterator(STRINGSET self) -> SwigPyIterator"""
18579 return _pcbnew.STRINGSET_iterator(self)
18584 r"""__nonzero__(STRINGSET self) -> bool"""
18585 return _pcbnew.STRINGSET___nonzero__(self)
18588 r"""__bool__(STRINGSET self) -> bool"""
18589 return _pcbnew.STRINGSET___bool__(self)
18592 r"""__len__(STRINGSET self) -> std::set< wxString >::size_type"""
18593 return _pcbnew.STRINGSET___len__(self)
18596 r"""append(STRINGSET self, wxString x)"""
18597 return _pcbnew.STRINGSET_append(self, x)
18600 r"""__contains__(STRINGSET self, wxString x) -> bool"""
18601 return _pcbnew.STRINGSET___contains__(self, x)
18604 r"""__getitem__(STRINGSET self, std::set< wxString >::difference_type i) -> wxString"""
18605 return _pcbnew.STRINGSET___getitem__(self, i)
18608 r"""add(STRINGSET self, wxString x)"""
18609 return _pcbnew.STRINGSET_add(self, x)
18612 r"""discard(STRINGSET self, wxString x)"""
18613 return _pcbnew.STRINGSET_discard(self, x)
18617 __init__(STRINGSET self, std::less< wxString > const & other) -> STRINGSET
18618 __init__(STRINGSET self) -> STRINGSET
18619 __init__(STRINGSET self, STRINGSET other) -> STRINGSET
18621 _pcbnew.STRINGSET_swiginit(self, _pcbnew.new_STRINGSET(*args))
18624 r"""empty(STRINGSET self) -> bool"""
18625 return _pcbnew.STRINGSET_empty(self)
18628 r"""size(STRINGSET self) -> std::set< wxString >::size_type"""
18629 return _pcbnew.STRINGSET_size(self)
18632 r"""clear(STRINGSET self)"""
18633 return _pcbnew.STRINGSET_clear(self)
18636 r"""swap(STRINGSET self, STRINGSET v)"""
18637 return _pcbnew.STRINGSET_swap(self, v)
18640 r"""count(STRINGSET self, wxString x) -> std::set< wxString >::size_type"""
18641 return _pcbnew.STRINGSET_count(self, x)
18644 r"""begin(STRINGSET self) -> std::set< wxString >::iterator"""
18645 return _pcbnew.STRINGSET_begin(self)
18648 r"""end(STRINGSET self) -> std::set< wxString >::iterator"""
18649 return _pcbnew.STRINGSET_end(self)
18652 r"""rbegin(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
18653 return _pcbnew.STRINGSET_rbegin(self)
18656 r"""rend(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
18657 return _pcbnew.STRINGSET_rend(self)
18661 erase(STRINGSET self, wxString x) -> std::set< wxString >::size_type
18662 erase(STRINGSET self, std::set< wxString >::iterator pos)
18663 erase(STRINGSET self, std::set< wxString >::iterator first, std::set< wxString >::iterator last)
18665 return _pcbnew.STRINGSET_erase(self, *args)
18668 r"""find(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
18669 return _pcbnew.STRINGSET_find(self, x)
18672 r"""lower_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
18673 return _pcbnew.STRINGSET_lower_bound(self, x)
18676 r"""upper_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
18677 return _pcbnew.STRINGSET_upper_bound(self, x)
18680 r"""equal_range(STRINGSET self, wxString x) -> std::pair< std::set< wxString >::iterator,std::set< wxString >::iterator >"""
18681 return _pcbnew.STRINGSET_equal_range(self, x)
18684 r"""insert(STRINGSET self, wxString __x) -> std::pair< std::set< wxString >::iterator,bool >"""
18685 return _pcbnew.STRINGSET_insert(self, __x)
18686 __swig_destroy__ = _pcbnew.delete_STRINGSET
18689_pcbnew.STRINGSET_swigregister(STRINGSET)
18691 r"""Proxy of C++ NETCLASS class."""
18693 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18694 __repr__ = _swig_repr
18697 r"""__init__(NETCLASS self, wxString aName, bool aInitWithDefaults=True) -> NETCLASS"""
18698 _pcbnew.NETCLASS_swiginit(self, _pcbnew.new_NETCLASS(aName, aInitWithDefaults))
18699 __swig_destroy__ = _pcbnew.delete_NETCLASS
18702 r"""__eq__(NETCLASS self, NETCLASS other) -> bool"""
18703 return _pcbnew.NETCLASS___eq__(self, other)
18706 r"""GetClass(NETCLASS self) -> wxString"""
18707 return _pcbnew.NETCLASS_GetClass(self)
18710 r"""Serialize(NETCLASS self, google::protobuf::Any & aContainer)"""
18711 return _pcbnew.NETCLASS_Serialize(self, aContainer)
18714 r"""Deserialize(NETCLASS self, google::protobuf::Any const & aContainer) -> bool"""
18715 return _pcbnew.NETCLASS_Deserialize(self, aContainer)
18718 r"""ResetParents(NETCLASS self)"""
18719 return _pcbnew.NETCLASS_ResetParents(self)
18722 r"""ResetParameters(NETCLASS self)"""
18723 return _pcbnew.NETCLASS_ResetParameters(self)
18726 r"""GetConstituentNetclasses(NETCLASS self) -> std::vector< NETCLASS *,std::allocator< NETCLASS * > > const &"""
18727 return _pcbnew.NETCLASS_GetConstituentNetclasses(self)
18730 r"""SetConstituentNetclasses(NETCLASS self, std::vector< NETCLASS *,std::allocator< NETCLASS * > > && constituents)"""
18731 return _pcbnew.NETCLASS_SetConstituentNetclasses(self, constituents)
18734 r"""ContainsNetclassWithName(NETCLASS self, wxString netclass) -> bool"""
18735 return _pcbnew.NETCLASS_ContainsNetclassWithName(self, netclass)
18738 r"""IsDefault(NETCLASS self) -> bool"""
18739 return _pcbnew.NETCLASS_IsDefault(self)
18742 r"""SetName(NETCLASS self, wxString aName)"""
18743 return _pcbnew.NETCLASS_SetName(self, aName)
18746 r"""GetName(NETCLASS self) -> wxString"""
18747 return _pcbnew.NETCLASS_GetName(self)
18750 r"""GetHumanReadableName(NETCLASS self) -> wxString"""
18751 return _pcbnew.NETCLASS_GetHumanReadableName(self)
18754 r"""GetDescription(NETCLASS self) -> wxString"""
18755 return _pcbnew.NETCLASS_GetDescription(self)
18758 r"""SetDescription(NETCLASS self, wxString aDesc)"""
18759 return _pcbnew.NETCLASS_SetDescription(self, aDesc)
18762 r"""HasClearance(NETCLASS self) -> bool"""
18763 return _pcbnew.NETCLASS_HasClearance(self)
18766 r"""GetClearance(NETCLASS self) -> int"""
18767 return _pcbnew.NETCLASS_GetClearance(self)
18770 r"""GetClearanceOpt(NETCLASS self) -> std::optional< int >"""
18771 return _pcbnew.NETCLASS_GetClearanceOpt(self)
18774 r"""SetClearance(NETCLASS self, int aClearance)"""
18775 return _pcbnew.NETCLASS_SetClearance(self, aClearance)
18778 r"""SetClearanceParent(NETCLASS self, NETCLASS parent)"""
18779 return _pcbnew.NETCLASS_SetClearanceParent(self, parent)
18782 r"""GetClearanceParent(NETCLASS self) -> NETCLASS"""
18783 return _pcbnew.NETCLASS_GetClearanceParent(self)
18786 r"""HasTrackWidth(NETCLASS self) -> bool"""
18787 return _pcbnew.NETCLASS_HasTrackWidth(self)
18790 r"""GetTrackWidth(NETCLASS self) -> int"""
18791 return _pcbnew.NETCLASS_GetTrackWidth(self)
18794 r"""GetTrackWidthOpt(NETCLASS self) -> std::optional< int >"""
18795 return _pcbnew.NETCLASS_GetTrackWidthOpt(self)
18798 r"""SetTrackWidth(NETCLASS self, int aWidth)"""
18799 return _pcbnew.NETCLASS_SetTrackWidth(self, aWidth)
18802 r"""SetTrackWidthParent(NETCLASS self, NETCLASS parent)"""
18803 return _pcbnew.NETCLASS_SetTrackWidthParent(self, parent)
18806 r"""GetTrackWidthParent(NETCLASS self) -> NETCLASS"""
18807 return _pcbnew.NETCLASS_GetTrackWidthParent(self)
18810 r"""HasViaDiameter(NETCLASS self) -> bool"""
18811 return _pcbnew.NETCLASS_HasViaDiameter(self)
18814 r"""GetViaDiameter(NETCLASS self) -> int"""
18815 return _pcbnew.NETCLASS_GetViaDiameter(self)
18818 r"""GetViaDiameterOpt(NETCLASS self) -> std::optional< int >"""
18819 return _pcbnew.NETCLASS_GetViaDiameterOpt(self)
18822 r"""SetViaDiameter(NETCLASS self, int aDia)"""
18823 return _pcbnew.NETCLASS_SetViaDiameter(self, aDia)
18826 r"""SetViaDiameterParent(NETCLASS self, NETCLASS parent)"""
18827 return _pcbnew.NETCLASS_SetViaDiameterParent(self, parent)
18830 r"""GetViaDiameterParent(NETCLASS self) -> NETCLASS"""
18831 return _pcbnew.NETCLASS_GetViaDiameterParent(self)
18834 r"""HasViaDrill(NETCLASS self) -> int"""
18835 return _pcbnew.NETCLASS_HasViaDrill(self)
18838 r"""GetViaDrill(NETCLASS self) -> int"""
18839 return _pcbnew.NETCLASS_GetViaDrill(self)
18842 r"""GetViaDrillOpt(NETCLASS self) -> std::optional< int >"""
18843 return _pcbnew.NETCLASS_GetViaDrillOpt(self)
18846 r"""SetViaDrill(NETCLASS self, int aSize)"""
18847 return _pcbnew.NETCLASS_SetViaDrill(self, aSize)
18850 r"""SetViaDrillParent(NETCLASS self, NETCLASS parent)"""
18851 return _pcbnew.NETCLASS_SetViaDrillParent(self, parent)
18854 r"""GetViaDrillParent(NETCLASS self) -> NETCLASS"""
18855 return _pcbnew.NETCLASS_GetViaDrillParent(self)
18858 r"""HasuViaDiameter(NETCLASS self) -> bool"""
18859 return _pcbnew.NETCLASS_HasuViaDiameter(self)
18862 r"""GetuViaDiameter(NETCLASS self) -> int"""
18863 return _pcbnew.NETCLASS_GetuViaDiameter(self)
18866 r"""GetuViaDiameterOpt(NETCLASS self) -> std::optional< int >"""
18867 return _pcbnew.NETCLASS_GetuViaDiameterOpt(self)
18870 r"""SetuViaDiameter(NETCLASS self, int aSize)"""
18871 return _pcbnew.NETCLASS_SetuViaDiameter(self, aSize)
18874 r"""SetuViaDiameterParent(NETCLASS self, NETCLASS parent)"""
18875 return _pcbnew.NETCLASS_SetuViaDiameterParent(self, parent)
18878 r"""GetuViaDiameterParent(NETCLASS self) -> NETCLASS"""
18879 return _pcbnew.NETCLASS_GetuViaDiameterParent(self)
18882 r"""HasuViaDrill(NETCLASS self) -> bool"""
18883 return _pcbnew.NETCLASS_HasuViaDrill(self)
18886 r"""GetuViaDrill(NETCLASS self) -> int"""
18887 return _pcbnew.NETCLASS_GetuViaDrill(self)
18890 r"""GetuViaDrillOpt(NETCLASS self) -> std::optional< int >"""
18891 return _pcbnew.NETCLASS_GetuViaDrillOpt(self)
18894 r"""SetuViaDrill(NETCLASS self, int aSize)"""
18895 return _pcbnew.NETCLASS_SetuViaDrill(self, aSize)
18898 r"""SetuViaDrillParent(NETCLASS self, NETCLASS parent)"""
18899 return _pcbnew.NETCLASS_SetuViaDrillParent(self, parent)
18902 r"""GetuViaDrillParent(NETCLASS self) -> NETCLASS"""
18903 return _pcbnew.NETCLASS_GetuViaDrillParent(self)
18906 r"""HasDiffPairWidth(NETCLASS self) -> bool"""
18907 return _pcbnew.NETCLASS_HasDiffPairWidth(self)
18910 r"""GetDiffPairWidth(NETCLASS self) -> int"""
18911 return _pcbnew.NETCLASS_GetDiffPairWidth(self)
18914 r"""GetDiffPairWidthOpt(NETCLASS self) -> std::optional< int >"""
18915 return _pcbnew.NETCLASS_GetDiffPairWidthOpt(self)
18918 r"""SetDiffPairWidth(NETCLASS self, int aSize)"""
18919 return _pcbnew.NETCLASS_SetDiffPairWidth(self, aSize)
18922 r"""SetDiffPairWidthParent(NETCLASS self, NETCLASS parent)"""
18923 return _pcbnew.NETCLASS_SetDiffPairWidthParent(self, parent)
18926 r"""GetDiffPairWidthParent(NETCLASS self) -> NETCLASS"""
18927 return _pcbnew.NETCLASS_GetDiffPairWidthParent(self)
18930 r"""HasDiffPairGap(NETCLASS self) -> bool"""
18931 return _pcbnew.NETCLASS_HasDiffPairGap(self)
18934 r"""GetDiffPairGap(NETCLASS self) -> int"""
18935 return _pcbnew.NETCLASS_GetDiffPairGap(self)
18938 r"""GetDiffPairGapOpt(NETCLASS self) -> std::optional< int >"""
18939 return _pcbnew.NETCLASS_GetDiffPairGapOpt(self)
18942 r"""SetDiffPairGap(NETCLASS self, int aSize)"""
18943 return _pcbnew.NETCLASS_SetDiffPairGap(self, aSize)
18946 r"""SetDiffPairGapParent(NETCLASS self, NETCLASS parent)"""
18947 return _pcbnew.NETCLASS_SetDiffPairGapParent(self, parent)
18950 r"""GetDiffPairGapParent(NETCLASS self) -> NETCLASS"""
18951 return _pcbnew.NETCLASS_GetDiffPairGapParent(self)
18954 r"""HasDiffPairViaGap(NETCLASS self) -> bool"""
18955 return _pcbnew.NETCLASS_HasDiffPairViaGap(self)
18958 r"""GetDiffPairViaGap(NETCLASS self) -> int"""
18959 return _pcbnew.NETCLASS_GetDiffPairViaGap(self)
18962 r"""GetDiffPairViaGapOpt(NETCLASS self) -> std::optional< int >"""
18963 return _pcbnew.NETCLASS_GetDiffPairViaGapOpt(self)
18966 r"""SetDiffPairViaGap(NETCLASS self, int aSize)"""
18967 return _pcbnew.NETCLASS_SetDiffPairViaGap(self, aSize)
18970 r"""SetDiffPairViaGapParent(NETCLASS self, NETCLASS parent)"""
18971 return _pcbnew.NETCLASS_SetDiffPairViaGapParent(self, parent)
18974 r"""GetDiffPairViaGapParent(NETCLASS self) -> NETCLASS"""
18975 return _pcbnew.NETCLASS_GetDiffPairViaGapParent(self)
18978 r"""HasPcbColor(NETCLASS self) -> bool"""
18979 return _pcbnew.NETCLASS_HasPcbColor(self)
18982 r"""GetPcbColor(NETCLASS self, bool aIsForSave=False) -> COLOR4D"""
18983 return _pcbnew.NETCLASS_GetPcbColor(self, aIsForSave)
18986 r"""SetPcbColor(NETCLASS self, COLOR4D aColor)"""
18987 return _pcbnew.NETCLASS_SetPcbColor(self, aColor)
18990 r"""SetPcbColorParent(NETCLASS self, NETCLASS parent)"""
18991 return _pcbnew.NETCLASS_SetPcbColorParent(self, parent)
18994 r"""GetPcbColorParent(NETCLASS self) -> NETCLASS"""
18995 return _pcbnew.NETCLASS_GetPcbColorParent(self)
18998 r"""HasWireWidth(NETCLASS self) -> bool"""
18999 return _pcbnew.NETCLASS_HasWireWidth(self)
19002 r"""GetWireWidth(NETCLASS self) -> int"""
19003 return _pcbnew.NETCLASS_GetWireWidth(self)
19006 r"""GetWireWidthOpt(NETCLASS self) -> std::optional< int >"""
19007 return _pcbnew.NETCLASS_GetWireWidthOpt(self)
19010 r"""SetWireWidth(NETCLASS self, int aWidth)"""
19011 return _pcbnew.NETCLASS_SetWireWidth(self, aWidth)
19014 r"""SetWireWidthParent(NETCLASS self, NETCLASS parent)"""
19015 return _pcbnew.NETCLASS_SetWireWidthParent(self, parent)
19018 r"""GetWireWidthParent(NETCLASS self) -> NETCLASS"""
19019 return _pcbnew.NETCLASS_GetWireWidthParent(self)
19022 r"""HasBusWidth(NETCLASS self) -> bool"""
19023 return _pcbnew.NETCLASS_HasBusWidth(self)
19026 r"""GetBusWidth(NETCLASS self) -> int"""
19027 return _pcbnew.NETCLASS_GetBusWidth(self)
19030 r"""GetBusWidthOpt(NETCLASS self) -> std::optional< int >"""
19031 return _pcbnew.NETCLASS_GetBusWidthOpt(self)
19034 r"""SetBusWidth(NETCLASS self, int aWidth)"""
19035 return _pcbnew.NETCLASS_SetBusWidth(self, aWidth)
19038 r"""SetBusWidthParent(NETCLASS self, NETCLASS parent)"""
19039 return _pcbnew.NETCLASS_SetBusWidthParent(self, parent)
19042 r"""GetBusWidthParent(NETCLASS self) -> NETCLASS"""
19043 return _pcbnew.NETCLASS_GetBusWidthParent(self)
19046 r"""GetSchematicColor(NETCLASS self, bool aIsForSave=False) -> COLOR4D"""
19047 return _pcbnew.NETCLASS_GetSchematicColor(self, aIsForSave)
19050 r"""SetSchematicColor(NETCLASS self, COLOR4D aColor)"""
19051 return _pcbnew.NETCLASS_SetSchematicColor(self, aColor)
19054 r"""SetSchematicColorParent(NETCLASS self, NETCLASS parent)"""
19055 return _pcbnew.NETCLASS_SetSchematicColorParent(self, parent)
19058 r"""GetSchematicColorParent(NETCLASS self) -> NETCLASS"""
19059 return _pcbnew.NETCLASS_GetSchematicColorParent(self)
19062 r"""HasLineStyle(NETCLASS self) -> bool"""
19063 return _pcbnew.NETCLASS_HasLineStyle(self)
19066 r"""GetLineStyle(NETCLASS self) -> int"""
19067 return _pcbnew.NETCLASS_GetLineStyle(self)
19070 r"""GetLineStyleOpt(NETCLASS self) -> std::optional< int >"""
19071 return _pcbnew.NETCLASS_GetLineStyleOpt(self)
19074 r"""SetLineStyle(NETCLASS self, int aStyle)"""
19075 return _pcbnew.NETCLASS_SetLineStyle(self, aStyle)
19078 r"""SetLineStyleParent(NETCLASS self, NETCLASS parent)"""
19079 return _pcbnew.NETCLASS_SetLineStyleParent(self, parent)
19082 r"""GetLineStyleParent(NETCLASS self) -> NETCLASS"""
19083 return _pcbnew.NETCLASS_GetLineStyleParent(self)
19086 r"""SetPriority(NETCLASS self, int aPriority)"""
19087 return _pcbnew.NETCLASS_SetPriority(self, aPriority)
19090 r"""GetPriority(NETCLASS self) -> int"""
19091 return _pcbnew.NETCLASS_GetPriority(self)
19094_pcbnew.NETCLASS_swigregister(NETCLASS)
19095NETCLASS.Default = _pcbnew.cvar.NETCLASS_Default
19098 r"""Proxy of C++ PCB_GROUP class."""
19100 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19101 __repr__ = _swig_repr
19104 r"""__init__(PCB_GROUP self, BOARD_ITEM aParent) -> PCB_GROUP"""
19105 _pcbnew.PCB_GROUP_swiginit(self, _pcbnew.new_PCB_GROUP(aParent))
19109 r"""ClassOf(EDA_ITEM aItem) -> bool"""
19110 return _pcbnew.PCB_GROUP_ClassOf(aItem)
19113 r"""GetName(PCB_GROUP self) -> wxString"""
19114 return _pcbnew.PCB_GROUP_GetName(self)
19117 r"""SetName(PCB_GROUP self, wxString aName)"""
19118 return _pcbnew.PCB_GROUP_SetName(self, aName)
19122 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * >
19123 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * > const &
19125 return _pcbnew.PCB_GROUP_GetItems(self, *args)
19128 r"""AddItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
19129 return _pcbnew.PCB_GROUP_AddItem(self, aItem)
19132 r"""RemoveItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
19133 return _pcbnew.PCB_GROUP_RemoveItem(self, aItem)
19136 r"""RemoveAll(PCB_GROUP self)"""
19137 return _pcbnew.PCB_GROUP_RemoveAll(self)
19141 r"""TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
19142 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
19146 r"""WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
19147 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
19151 __eq__(PCB_GROUP self, PCB_GROUP aOther) -> bool
19152 __eq__(PCB_GROUP self, BOARD_ITEM aBoardItem) -> bool
19154 return _pcbnew.PCB_GROUP___eq__(self, *args)
19157 r"""DeepClone(PCB_GROUP self) -> PCB_GROUP"""
19158 return _pcbnew.PCB_GROUP_DeepClone(self)
19161 r"""DeepDuplicate(PCB_GROUP self) -> PCB_GROUP"""
19162 return _pcbnew.PCB_GROUP_DeepDuplicate(self)
19166 HitTest(PCB_GROUP self, VECTOR2I aPosition, int aAccuracy=0) -> bool
19167 HitTest(PCB_GROUP self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
19169 return _pcbnew.PCB_GROUP_HitTest(self, *args)
19172 r"""GetEffectiveShape(PCB_GROUP self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
19173 return _pcbnew.PCB_GROUP_GetEffectiveShape(self, *args)
19176 r"""ViewGetLOD(PCB_GROUP self, int aLayer, KIGFX::VIEW const * aView) -> double"""
19177 return _pcbnew.PCB_GROUP_ViewGetLOD(self, aLayer, aView)
19180 r"""RunOnDescendants(PCB_GROUP self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
19181 return _pcbnew.PCB_GROUP_RunOnDescendants(self, aFunction, aDepth)
19185 r"""IsGroupableType(KICAD_T aType) -> bool"""
19186 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
19189 r"""GetItemsDeque(PCB_GROUP self) -> DRAWINGS"""
19190 return _pcbnew.PCB_GROUP_GetItemsDeque(self)
19195 __swig_destroy__ = _pcbnew.delete_PCB_GROUP
19198_pcbnew.PCB_GROUP_swigregister(PCB_GROUP)
19200 r"""Proxy of C++ PCB_REFERENCE_IMAGE class."""
19202 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19203 __repr__ = _swig_repr
19207 __init__(PCB_REFERENCE_IMAGE self, BOARD_ITEM aParent, VECTOR2I pos=VECTOR2I( 0, 0 ), PCB_LAYER_ID aLayer=F_Cu) -> PCB_REFERENCE_IMAGE
19208 __init__(PCB_REFERENCE_IMAGE self, PCB_REFERENCE_IMAGE aPcbBitmap) -> PCB_REFERENCE_IMAGE
19210 _pcbnew.PCB_REFERENCE_IMAGE_swiginit(self, _pcbnew.new_PCB_REFERENCE_IMAGE(*args))
19211 __swig_destroy__ = _pcbnew.delete_PCB_REFERENCE_IMAGE
19218 return _pcbnew.PCB_REFERENCE_IMAGE_GetReferenceImage(self, *args)
19222 r"""ClassOf(EDA_ITEM aItem) -> bool"""
19223 return _pcbnew.PCB_REFERENCE_IMAGE_ClassOf(aItem)
19226 r"""ViewGetLOD(PCB_REFERENCE_IMAGE self, int aLayer, KIGFX::VIEW const * aView) -> double"""
19227 return _pcbnew.PCB_REFERENCE_IMAGE_ViewGetLOD(self, aLayer, aView)
19230 r"""GetEffectiveShape(PCB_REFERENCE_IMAGE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
19231 return _pcbnew.PCB_REFERENCE_IMAGE_GetEffectiveShape(self, *args)
19235 HitTest(PCB_REFERENCE_IMAGE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
19236 HitTest(PCB_REFERENCE_IMAGE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
19238 return _pcbnew.PCB_REFERENCE_IMAGE_HitTest(self, *args)
19242 __eq__(PCB_REFERENCE_IMAGE self, PCB_REFERENCE_IMAGE aOther) -> bool
19243 __eq__(PCB_REFERENCE_IMAGE self, BOARD_ITEM aBoardItem) -> bool
19245 return _pcbnew.PCB_REFERENCE_IMAGE___eq__(self, *args)
19248_pcbnew.PCB_REFERENCE_IMAGE_swigregister(PCB_REFERENCE_IMAGE)
19250 r"""Proxy of C++ std::vector< VIA_DIMENSION > class."""
19252 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19253 __repr__ = _swig_repr
19256 r"""iterator(VIA_DIMENSION_Vector self) -> SwigPyIterator"""
19257 return _pcbnew.VIA_DIMENSION_Vector_iterator(self)
19262 r"""__nonzero__(VIA_DIMENSION_Vector self) -> bool"""
19263 return _pcbnew.VIA_DIMENSION_Vector___nonzero__(self)
19266 r"""__bool__(VIA_DIMENSION_Vector self) -> bool"""
19267 return _pcbnew.VIA_DIMENSION_Vector___bool__(self)
19270 r"""__len__(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
19271 return _pcbnew.VIA_DIMENSION_Vector___len__(self)
19274 r"""__getslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j) -> VIA_DIMENSION_Vector"""
19275 return _pcbnew.VIA_DIMENSION_Vector___getslice__(self, i, j)
19279 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)
19280 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j, VIA_DIMENSION_Vector v)
19282 return _pcbnew.VIA_DIMENSION_Vector___setslice__(self, *args)
19285 r"""__delslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)"""
19286 return _pcbnew.VIA_DIMENSION_Vector___delslice__(self, i, j)
19290 __delitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i)
19291 __delitem__(VIA_DIMENSION_Vector self, SWIGPY_SLICEOBJECT * slice)
19293 return _pcbnew.VIA_DIMENSION_Vector___delitem__(self, *args)
19297 __getitem__(VIA_DIMENSION_Vector self, SWIGPY_SLICEOBJECT * slice) -> VIA_DIMENSION_Vector
19298 __getitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i) -> VIA_DIMENSION
19300 return _pcbnew.VIA_DIMENSION_Vector___getitem__(self, *args)
19304 __setitem__(VIA_DIMENSION_Vector self, SWIGPY_SLICEOBJECT * slice, VIA_DIMENSION_Vector v)
19305 __setitem__(VIA_DIMENSION_Vector self, SWIGPY_SLICEOBJECT * slice)
19306 __setitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, VIA_DIMENSION x)
19308 return _pcbnew.VIA_DIMENSION_Vector___setitem__(self, *args)
19311 r"""pop(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
19312 return _pcbnew.VIA_DIMENSION_Vector_pop(self)
19315 r"""append(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
19316 return _pcbnew.VIA_DIMENSION_Vector_append(self, x)
19319 r"""empty(VIA_DIMENSION_Vector self) -> bool"""
19320 return _pcbnew.VIA_DIMENSION_Vector_empty(self)
19323 r"""size(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
19324 return _pcbnew.VIA_DIMENSION_Vector_size(self)
19327 r"""swap(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector v)"""
19328 return _pcbnew.VIA_DIMENSION_Vector_swap(self, v)
19331 r"""begin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
19332 return _pcbnew.VIA_DIMENSION_Vector_begin(self)
19335 r"""end(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
19336 return _pcbnew.VIA_DIMENSION_Vector_end(self)
19339 r"""rbegin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
19340 return _pcbnew.VIA_DIMENSION_Vector_rbegin(self)
19343 r"""rend(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
19344 return _pcbnew.VIA_DIMENSION_Vector_rend(self)
19347 r"""clear(VIA_DIMENSION_Vector self)"""
19348 return _pcbnew.VIA_DIMENSION_Vector_clear(self)
19351 r"""get_allocator(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::allocator_type"""
19352 return _pcbnew.VIA_DIMENSION_Vector_get_allocator(self)
19355 r"""pop_back(VIA_DIMENSION_Vector self)"""
19356 return _pcbnew.VIA_DIMENSION_Vector_pop_back(self)
19360 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos) -> std::vector< VIA_DIMENSION >::iterator
19361 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator first, std::vector< VIA_DIMENSION >::iterator last) -> std::vector< VIA_DIMENSION >::iterator
19363 return _pcbnew.VIA_DIMENSION_Vector_erase(self, *args)
19367 __init__(VIA_DIMENSION_Vector self) -> VIA_DIMENSION_Vector
19368 __init__(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector other) -> VIA_DIMENSION_Vector
19369 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size) -> VIA_DIMENSION_Vector
19370 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size, VIA_DIMENSION value) -> VIA_DIMENSION_Vector
19372 _pcbnew.VIA_DIMENSION_Vector_swiginit(self, _pcbnew.new_VIA_DIMENSION_Vector(*args))
19375 r"""push_back(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
19376 return _pcbnew.VIA_DIMENSION_Vector_push_back(self, x)
19379 r"""front(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
19380 return _pcbnew.VIA_DIMENSION_Vector_front(self)
19383 r"""back(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
19384 return _pcbnew.VIA_DIMENSION_Vector_back(self)
19387 r"""assign(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)"""
19388 return _pcbnew.VIA_DIMENSION_Vector_assign(self, n, x)
19392 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size)
19393 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size, VIA_DIMENSION x)
19395 return _pcbnew.VIA_DIMENSION_Vector_resize(self, *args)
19399 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, VIA_DIMENSION x) -> std::vector< VIA_DIMENSION >::iterator
19400 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)
19402 return _pcbnew.VIA_DIMENSION_Vector_insert(self, *args)
19405 r"""reserve(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n)"""
19406 return _pcbnew.VIA_DIMENSION_Vector_reserve(self, n)
19409 r"""capacity(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
19410 return _pcbnew.VIA_DIMENSION_Vector_capacity(self)
19411 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION_Vector
19414_pcbnew.VIA_DIMENSION_Vector_swigregister(VIA_DIMENSION_Vector)
19415DEFAULT_CHAINING_EPSILON_MM = _pcbnew.DEFAULT_CHAINING_EPSILON_MM
19418 r"""Proxy of C++ PTR_PTR_CACHE_KEY class."""
19420 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19421 __repr__ = _swig_repr
19422 A = property(_pcbnew.PTR_PTR_CACHE_KEY_A_get, _pcbnew.PTR_PTR_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
19423 B = property(_pcbnew.PTR_PTR_CACHE_KEY_B_get, _pcbnew.PTR_PTR_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
19426 r"""__eq__(PTR_PTR_CACHE_KEY self, PTR_PTR_CACHE_KEY other) -> bool"""
19427 return _pcbnew.PTR_PTR_CACHE_KEY___eq__(self, other)
19430 r"""__init__(PTR_PTR_CACHE_KEY self) -> PTR_PTR_CACHE_KEY"""
19431 _pcbnew.PTR_PTR_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_CACHE_KEY())
19432 __swig_destroy__ = _pcbnew.delete_PTR_PTR_CACHE_KEY
19435_pcbnew.PTR_PTR_CACHE_KEY_swigregister(PTR_PTR_CACHE_KEY)
19437 r"""Proxy of C++ PTR_LAYER_CACHE_KEY class."""
19439 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19440 __repr__ = _swig_repr
19441 A = property(_pcbnew.PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
19442 Layer = property(_pcbnew.PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
19445 r"""__eq__(PTR_LAYER_CACHE_KEY self, PTR_LAYER_CACHE_KEY other) -> bool"""
19446 return _pcbnew.PTR_LAYER_CACHE_KEY___eq__(self, other)
19449 r"""__init__(PTR_LAYER_CACHE_KEY self) -> PTR_LAYER_CACHE_KEY"""
19450 _pcbnew.PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_LAYER_CACHE_KEY())
19451 __swig_destroy__ = _pcbnew.delete_PTR_LAYER_CACHE_KEY
19454_pcbnew.PTR_LAYER_CACHE_KEY_swigregister(PTR_LAYER_CACHE_KEY)
19456 r"""Proxy of C++ PTR_PTR_LAYER_CACHE_KEY class."""
19458 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19459 __repr__ = _swig_repr
19460 A = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
19461 B = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
19462 Layer = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
19465 r"""__eq__(PTR_PTR_LAYER_CACHE_KEY self, PTR_PTR_LAYER_CACHE_KEY other) -> bool"""
19466 return _pcbnew.PTR_PTR_LAYER_CACHE_KEY___eq__(self, other)
19469 r"""__init__(PTR_PTR_LAYER_CACHE_KEY self) -> PTR_PTR_LAYER_CACHE_KEY"""
19470 _pcbnew.PTR_PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_LAYER_CACHE_KEY())
19471 __swig_destroy__ = _pcbnew.delete_PTR_PTR_LAYER_CACHE_KEY
19474_pcbnew.PTR_PTR_LAYER_CACHE_KEY_swigregister(PTR_PTR_LAYER_CACHE_KEY)
19475LT_UNDEFINED = _pcbnew.LT_UNDEFINED
19477LT_SIGNAL = _pcbnew.LT_SIGNAL
19479LT_POWER = _pcbnew.LT_POWER
19481LT_MIXED = _pcbnew.LT_MIXED
19483LT_JUMPER = _pcbnew.LT_JUMPER
19485LT_AUX = _pcbnew.LT_AUX
19487LT_FRONT = _pcbnew.LT_FRONT
19489LT_BACK = _pcbnew.LT_BACK
19492 r"""Proxy of C++ LAYER class."""
19494 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19495 __repr__ = _swig_repr
19498 r"""__init__(LAYER self) -> LAYER"""
19499 _pcbnew.LAYER_swiginit(self, _pcbnew.new_LAYER())
19502 r"""clear(LAYER self)"""
19503 return _pcbnew.LAYER_clear(self)
19504 m_name = property(_pcbnew.LAYER_m_name_get, _pcbnew.LAYER_m_name_set, doc=
r"""m_name : wxString""")
19505 m_userName = property(_pcbnew.LAYER_m_userName_get, _pcbnew.LAYER_m_userName_set, doc=
r"""m_userName : wxString""")
19506 m_type = property(_pcbnew.LAYER_m_type_get, _pcbnew.LAYER_m_type_set, doc=
r"""m_type : LAYER_T""")
19507 m_visible = property(_pcbnew.LAYER_m_visible_get, _pcbnew.LAYER_m_visible_set, doc=
r"""m_visible : bool""")
19508 m_number = property(_pcbnew.LAYER_m_number_get, _pcbnew.LAYER_m_number_set, doc=
r"""m_number : int""")
19509 m_opposite = property(_pcbnew.LAYER_m_opposite_get, _pcbnew.LAYER_m_opposite_set, doc=
r"""m_opposite : int""")
19513 r"""ShowType(LAYER_T aType) -> char const *"""
19514 return _pcbnew.LAYER_ShowType(aType)
19518 r"""ParseType(char const * aType) -> LAYER_T"""
19519 return _pcbnew.LAYER_ParseType(aType)
19520 __swig_destroy__ = _pcbnew.delete_LAYER
19523_pcbnew.LAYER_swigregister(LAYER)
19525 r"""Proxy of C++ HIGH_LIGHT_INFO class."""
19527 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19530 raise AttributeError(
"No constructor defined")
19531 __repr__ = _swig_repr
19532 __swig_destroy__ = _pcbnew.delete_HIGH_LIGHT_INFO
19535_pcbnew.HIGH_LIGHT_INFO_swigregister(HIGH_LIGHT_INFO)
19537 r"""Proxy of C++ BOARD_LISTENER class."""
19539 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19540 __repr__ = _swig_repr
19541 __swig_destroy__ = _pcbnew.delete_BOARD_LISTENER
19544 r"""OnBoardItemAdded(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
19545 return _pcbnew.BOARD_LISTENER_OnBoardItemAdded(self, aBoard, aBoardItem)
19548 r"""OnBoardItemsAdded(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
19549 return _pcbnew.BOARD_LISTENER_OnBoardItemsAdded(self, aBoard, aBoardItem)
19552 r"""OnBoardItemRemoved(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
19553 return _pcbnew.BOARD_LISTENER_OnBoardItemRemoved(self, aBoard, aBoardItem)
19556 r"""OnBoardItemsRemoved(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
19557 return _pcbnew.BOARD_LISTENER_OnBoardItemsRemoved(self, aBoard, aBoardItem)
19560 r"""OnBoardNetSettingsChanged(BOARD_LISTENER self, BOARD aBoard)"""
19561 return _pcbnew.BOARD_LISTENER_OnBoardNetSettingsChanged(self, aBoard)
19564 r"""OnBoardItemChanged(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
19565 return _pcbnew.BOARD_LISTENER_OnBoardItemChanged(self, aBoard, aBoardItem)
19568 r"""OnBoardItemsChanged(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
19569 return _pcbnew.BOARD_LISTENER_OnBoardItemsChanged(self, aBoard, aBoardItem)
19572 r"""OnBoardHighlightNetChanged(BOARD_LISTENER self, BOARD aBoard)"""
19573 return _pcbnew.BOARD_LISTENER_OnBoardHighlightNetChanged(self, aBoard)
19576 r"""OnBoardRatsnestChanged(BOARD_LISTENER self, BOARD aBoard)"""
19577 return _pcbnew.BOARD_LISTENER_OnBoardRatsnestChanged(self, aBoard)
19580 r"""OnBoardCompositeUpdate(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aAddedItems, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aRemovedItems, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aChangedItems)"""
19581 return _pcbnew.BOARD_LISTENER_OnBoardCompositeUpdate(self, aBoard, aAddedItems, aRemovedItems, aChangedItems)
19584 r"""__init__(BOARD_LISTENER self) -> BOARD_LISTENER"""
19585 _pcbnew.BOARD_LISTENER_swiginit(self, _pcbnew.new_BOARD_LISTENER())
19588_pcbnew.BOARD_LISTENER_swigregister(BOARD_LISTENER)
19589BOARD_USE_NORMAL = _pcbnew.BOARD_USE_NORMAL
19591BOARD_USE_FPHOLDER = _pcbnew.BOARD_USE_FPHOLDER
19594 r"""Proxy of C++ BOARD class."""
19596 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19599 raise AttributeError(
"No constructor defined")
19600 __repr__ = _swig_repr
19604 r"""ClassOf(EDA_ITEM aItem) -> bool"""
19605 return _pcbnew.BOARD_ClassOf(aItem)
19608 r"""SetBoardUse(BOARD self, BOARD_USE aUse)"""
19609 return _pcbnew.BOARD_SetBoardUse(self, aUse)
19612 r"""GetBoardUse(BOARD self) -> BOARD_USE"""
19613 return _pcbnew.BOARD_GetBoardUse(self)
19616 r"""IncrementTimeStamp(BOARD self)"""
19617 return _pcbnew.BOARD_IncrementTimeStamp(self)
19620 r"""GetTimeStamp(BOARD self) -> int"""
19621 return _pcbnew.BOARD_GetTimeStamp(self)
19624 r"""IsFootprintHolder(BOARD self) -> bool"""
19625 return _pcbnew.BOARD_IsFootprintHolder(self)
19628 r"""SetFileName(BOARD self, wxString aFileName)"""
19629 return _pcbnew.BOARD_SetFileName(self, aFileName)
19632 r"""GetFileName(BOARD self) -> wxString"""
19633 return _pcbnew.BOARD_GetFileName(self)
19636 r"""Footprints(BOARD self) -> FOOTPRINTS"""
19637 return _pcbnew.BOARD_Footprints(self)
19640 r"""Zones(BOARD self) -> ZONES"""
19641 return _pcbnew.BOARD_Zones(self)
19644 r"""Generators(BOARD self) -> GENERATORS"""
19645 return _pcbnew.BOARD_Generators(self)
19648 r"""Markers(BOARD self) -> MARKERS"""
19649 return _pcbnew.BOARD_Markers(self)
19656 return _pcbnew.BOARD_Drawings(self, *args)
19660 Tracks(BOARD self) -> TRACKS
19661 Tracks(BOARD self) -> TRACKS
19663 return _pcbnew.BOARD_Tracks(self, *args)
19666 r"""GetItemSet(BOARD self) -> BOARD_ITEM_SET const"""
19667 return _pcbnew.BOARD_GetItemSet(self)
19670 r"""Groups(BOARD self) -> GROUPS"""
19671 return _pcbnew.BOARD_Groups(self)
19674 r"""AllConnectedItems(BOARD self) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
19675 return _pcbnew.BOARD_AllConnectedItems(self)
19678 r"""GetProperties(BOARD self) -> MAP_STRING_STRING"""
19679 return _pcbnew.BOARD_GetProperties(self)
19682 r"""SetProperties(BOARD self, MAP_STRING_STRING aProps)"""
19683 return _pcbnew.BOARD_SetProperties(self, aProps)
19686 r"""GetContextualTextVars(BOARD self, wxArrayString * aVars)"""
19687 return _pcbnew.BOARD_GetContextualTextVars(self, aVars)
19690 r"""ResolveTextVar(BOARD self, wxString token, int aDepth) -> bool"""
19691 return _pcbnew.BOARD_ResolveTextVar(self, token, aDepth)
19692 m_LegacyVisibleLayers = property(_pcbnew.BOARD_m_LegacyVisibleLayers_get, _pcbnew.BOARD_m_LegacyVisibleLayers_set, doc=
r"""m_LegacyVisibleLayers : LSET""")
19693 m_LegacyVisibleItems = property(_pcbnew.BOARD_m_LegacyVisibleItems_get, _pcbnew.BOARD_m_LegacyVisibleItems_set, doc=
r"""m_LegacyVisibleItems : GAL_SET""")
19694 m_LegacyDesignSettingsLoaded = property(_pcbnew.BOARD_m_LegacyDesignSettingsLoaded_get, _pcbnew.BOARD_m_LegacyDesignSettingsLoaded_set, doc=
r"""m_LegacyDesignSettingsLoaded : bool""")
19695 m_LegacyCopperEdgeClearanceLoaded = property(_pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_get, _pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_set, doc=
r"""m_LegacyCopperEdgeClearanceLoaded : bool""")
19696 m_LegacyNetclassesLoaded = property(_pcbnew.BOARD_m_LegacyNetclassesLoaded_get, _pcbnew.BOARD_m_LegacyNetclassesLoaded_set, doc=
r"""m_LegacyNetclassesLoaded : bool""")
19697 __swig_destroy__ = _pcbnew.delete_BOARD
19700 r"""IsEmpty(BOARD self) -> bool"""
19701 return _pcbnew.BOARD_IsEmpty(self)
19704 r"""RunOnDescendants(BOARD self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
19705 return _pcbnew.BOARD_RunOnDescendants(self, aFunction, aDepth)
19708 r"""SetFileFormatVersionAtLoad(BOARD self, int aVersion)"""
19709 return _pcbnew.BOARD_SetFileFormatVersionAtLoad(self, aVersion)
19712 r"""GetFileFormatVersionAtLoad(BOARD self) -> int"""
19713 return _pcbnew.BOARD_GetFileFormatVersionAtLoad(self)
19716 r"""SetGenerator(BOARD self, wxString aGenerator)"""
19717 return _pcbnew.BOARD_SetGenerator(self, aGenerator)
19720 r"""GetGenerator(BOARD self) -> wxString"""
19721 return _pcbnew.BOARD_GetGenerator(self)
19724 r"""AddNative(BOARD self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
19725 return _pcbnew.BOARD_AddNative(self, *args)
19728 r"""RemoveNative(BOARD self, BOARD_ITEM aBoardItem, REMOVE_MODE aMode=NORMAL)"""
19729 return _pcbnew.BOARD_RemoveNative(self, *args)
19733 RemoveAll(BOARD self, std::initializer_list< KICAD_T > aTypes={ PCB_NETINFO_T, PCB_MARKER_T,
19734 PCB_GROUP_T, PCB_ZONE_T,
19735 PCB_GENERATOR_T, PCB_FOOTPRINT_T,
19736 PCB_TRACE_T, PCB_SHAPE_T })
19738 return _pcbnew.BOARD_RemoveAll(self, *args)
19741 r"""BulkRemoveStaleTeardrops(BOARD self, BOARD_COMMIT & aCommit)"""
19742 return _pcbnew.BOARD_BulkRemoveStaleTeardrops(self, aCommit)
19745 r"""FinalizeBulkAdd(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aNewItems)"""
19746 return _pcbnew.BOARD_FinalizeBulkAdd(self, aNewItems)
19749 r"""FinalizeBulkRemove(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aRemovedItems)"""
19750 return _pcbnew.BOARD_FinalizeBulkRemove(self, aRemovedItems)
19753 r"""FixupEmbeddedData(BOARD self)"""
19754 return _pcbnew.BOARD_FixupEmbeddedData(self)
19757 r"""CacheTriangulation(BOARD self, PROGRESS_REPORTER * aReporter=None, ZONES aZones={})"""
19758 return _pcbnew.BOARD_CacheTriangulation(self, *args)
19761 r"""GetFirstFootprint(BOARD self) -> FOOTPRINT"""
19762 return _pcbnew.BOARD_GetFirstFootprint(self)
19765 r"""DeleteAllFootprints(BOARD self)"""
19766 return _pcbnew.BOARD_DeleteAllFootprints(self)
19769 r"""DetachAllFootprints(BOARD self)"""
19770 return _pcbnew.BOARD_DetachAllFootprints(self)
19773 r"""GetItem(BOARD self, KIID aID) -> BOARD_ITEM"""
19774 return _pcbnew.BOARD_GetItem(self, aID)
19777 r"""FillItemMap(BOARD self, std::map< KIID,EDA_ITEM *,std::less< KIID >,std::allocator< std::pair< KIID const,EDA_ITEM * > > > & aMap)"""
19778 return _pcbnew.BOARD_FillItemMap(self, aMap)
19781 r"""ConvertCrossReferencesToKIIDs(BOARD self, wxString aSource) -> wxString"""
19782 return _pcbnew.BOARD_ConvertCrossReferencesToKIIDs(self, aSource)
19785 r"""ConvertKIIDsToCrossReferences(BOARD self, wxString aSource) -> wxString"""
19786 return _pcbnew.BOARD_ConvertKIIDsToCrossReferences(self, aSource)
19789 r"""GetConnectivity(BOARD self) -> std::shared_ptr< CONNECTIVITY_DATA >"""
19790 return _pcbnew.BOARD_GetConnectivity(self)
19793 r"""BuildConnectivity(BOARD self, PROGRESS_REPORTER * aReporter=None) -> bool"""
19794 return _pcbnew.BOARD_BuildConnectivity(self, aReporter)
19799 DeleteMARKERs(BOARD self, bool aWarningsAndErrors, bool aExclusions)
19801 return _pcbnew.BOARD_DeleteMARKERs(self, *args)
19804 r"""GetProject(BOARD self) -> PROJECT *"""
19805 return _pcbnew.BOARD_GetProject(self)
19808 r"""SetProject(BOARD self, PROJECT * aProject, bool aReferenceOnly=False)"""
19809 return _pcbnew.BOARD_SetProject(self, aProject, aReferenceOnly)
19812 r"""ClearProject(BOARD self)"""
19813 return _pcbnew.BOARD_ClearProject(self)
19816 r"""ResolveDRCExclusions(BOARD self, bool aCreateMarkers) -> MARKERS"""
19817 return _pcbnew.BOARD_ResolveDRCExclusions(self, aCreateMarkers)
19820 r"""RecordDRCExclusions(BOARD self)"""
19821 return _pcbnew.BOARD_RecordDRCExclusions(self)
19824 r"""UpdateRatsnestExclusions(BOARD self)"""
19825 return _pcbnew.BOARD_UpdateRatsnestExclusions(self)
19828 r"""ResetNetHighLight(BOARD self)"""
19829 return _pcbnew.BOARD_ResetNetHighLight(self)
19832 r"""GetHighLightNetCodes(BOARD self) -> std::set< int,std::less< int >,std::allocator< int > > const &"""
19833 return _pcbnew.BOARD_GetHighLightNetCodes(self)
19836 r"""SetHighLightNet(BOARD self, int aNetCode, bool aMulti=False)"""
19837 return _pcbnew.BOARD_SetHighLightNet(self, aNetCode, aMulti)
19840 r"""IsHighLightNetON(BOARD self) -> bool"""
19841 return _pcbnew.BOARD_IsHighLightNetON(self)
19844 r"""HighLightON(BOARD self, bool aValue=True)"""
19845 return _pcbnew.BOARD_HighLightON(self, aValue)
19848 r"""HighLightOFF(BOARD self)"""
19849 return _pcbnew.BOARD_HighLightOFF(self)
19852 r"""GetCopperLayerCount(BOARD self) -> int"""
19853 return _pcbnew.BOARD_GetCopperLayerCount(self)
19856 r"""SetCopperLayerCount(BOARD self, int aCount)"""
19857 return _pcbnew.BOARD_SetCopperLayerCount(self, aCount)
19860 r"""GetUserDefinedLayerCount(BOARD self) -> int"""
19861 return _pcbnew.BOARD_GetUserDefinedLayerCount(self)
19864 r"""SetUserDefinedLayerCount(BOARD self, int aCount)"""
19865 return _pcbnew.BOARD_SetUserDefinedLayerCount(self, aCount)
19868 r"""GetCopperLayerStackMaxId(BOARD self) -> PCB_LAYER_ID"""
19869 return _pcbnew.BOARD_GetCopperLayerStackMaxId(self)
19872 r"""FlipLayer(BOARD self, PCB_LAYER_ID aLayer) -> PCB_LAYER_ID"""
19873 return _pcbnew.BOARD_FlipLayer(self, aLayer)
19876 r"""LayerDepth(BOARD self, PCB_LAYER_ID aStartLayer, PCB_LAYER_ID aEndLayer) -> int"""
19877 return _pcbnew.BOARD_LayerDepth(self, aStartLayer, aEndLayer)
19880 r"""GetEnabledLayers(BOARD self) -> LSET"""
19881 return _pcbnew.BOARD_GetEnabledLayers(self)
19884 r"""SetEnabledLayers(BOARD self, LSET aLayerMask)"""
19885 return _pcbnew.BOARD_SetEnabledLayers(self, aLayerMask)
19888 r"""IsLayerEnabled(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
19889 return _pcbnew.BOARD_IsLayerEnabled(self, aLayer)
19892 r"""IsLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
19893 return _pcbnew.BOARD_IsLayerVisible(self, aLayer)
19896 r"""GetVisibleLayers(BOARD self) -> LSET"""
19897 return _pcbnew.BOARD_GetVisibleLayers(self)
19900 r"""SetVisibleLayers(BOARD self, LSET aLayerMask)"""
19901 return _pcbnew.BOARD_SetVisibleLayers(self, aLayerMask)
19904 r"""GetVisibleElements(BOARD self) -> GAL_SET"""
19905 return _pcbnew.BOARD_GetVisibleElements(self)
19908 r"""SetVisibleElements(BOARD self, GAL_SET aMask)"""
19909 return _pcbnew.BOARD_SetVisibleElements(self, aMask)
19912 r"""SetVisibleAlls(BOARD self)"""
19913 return _pcbnew.BOARD_SetVisibleAlls(self)
19916 r"""IsElementVisible(BOARD self, GAL_LAYER_ID aLayer) -> bool"""
19917 return _pcbnew.BOARD_IsElementVisible(self, aLayer)
19920 r"""SetElementVisibility(BOARD self, GAL_LAYER_ID aLayer, bool aNewState)"""
19921 return _pcbnew.BOARD_SetElementVisibility(self, aLayer, aNewState)
19924 r"""IsFootprintLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
19925 return _pcbnew.BOARD_IsFootprintLayerVisible(self, aLayer)
19928 r"""GetDesignSettings(BOARD self) -> BOARD_DESIGN_SETTINGS"""
19929 return _pcbnew.BOARD_GetDesignSettings(self)
19932 r"""GetStackupOrDefault(BOARD self) -> BOARD_STACKUP"""
19933 return _pcbnew.BOARD_GetStackupOrDefault(self)
19936 r"""GetPageSettings(BOARD self) -> PAGE_INFO const &"""
19937 return _pcbnew.BOARD_GetPageSettings(self)
19940 r"""SetPageSettings(BOARD self, PAGE_INFO const & aPageSettings)"""
19941 return _pcbnew.BOARD_SetPageSettings(self, aPageSettings)
19944 r"""GetPlotOptions(BOARD self) -> PCB_PLOT_PARAMS"""
19945 return _pcbnew.BOARD_GetPlotOptions(self)
19948 r"""SetPlotOptions(BOARD self, PCB_PLOT_PARAMS aOptions)"""
19949 return _pcbnew.BOARD_SetPlotOptions(self, aOptions)
19956 return _pcbnew.BOARD_GetTitleBlock(self, *args)
19959 r"""SetTitleBlock(BOARD self, TITLE_BLOCK aTitleBlock)"""
19960 return _pcbnew.BOARD_SetTitleBlock(self, aTitleBlock)
19963 r"""GetUserUnits(BOARD self) -> EDA_UNITS"""
19964 return _pcbnew.BOARD_GetUserUnits(self)
19967 r"""SetUserUnits(BOARD self, EDA_UNITS aUnits)"""
19968 return _pcbnew.BOARD_SetUserUnits(self, aUnits)
19971 r"""UpdateUserUnits(BOARD self, BOARD_ITEM aItem, KIGFX::VIEW * aView)"""
19972 return _pcbnew.BOARD_UpdateUserUnits(self, aItem, aView)
19975 r"""GetBoardPolygonOutlines(BOARD self, SHAPE_POLY_SET aOutlines, OUTLINE_ERROR_HANDLER * aErrorHandler=None, bool aAllowUseArcsInPolygons=False, bool aIncludeNPTHAsOutlines=False) -> bool"""
19976 return _pcbnew.BOARD_GetBoardPolygonOutlines(self, aOutlines, aErrorHandler, aAllowUseArcsInPolygons, aIncludeNPTHAsOutlines)
19979 r"""GetOutlinesChainingEpsilon(BOARD self) -> int"""
19980 return _pcbnew.BOARD_GetOutlinesChainingEpsilon(self)
19983 r"""SetOutlinesChainingEpsilon(BOARD self, int aValue)"""
19984 return _pcbnew.BOARD_SetOutlinesChainingEpsilon(self, aValue)
19987 r"""ConvertBrdLayerToPolygonalContours(BOARD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aOutlines)"""
19988 return _pcbnew.BOARD_ConvertBrdLayerToPolygonalContours(self, aLayer, aOutlines)
19991 r"""GetLayerID(BOARD self, wxString aLayerName) -> PCB_LAYER_ID"""
19992 return _pcbnew.BOARD_GetLayerID(self, aLayerName)
19995 r"""GetLayerName(BOARD self, PCB_LAYER_ID aLayer) -> wxString"""
19996 return _pcbnew.BOARD_GetLayerName(self, aLayer)
19999 r"""SetLayerName(BOARD self, PCB_LAYER_ID aLayer, wxString aLayerName) -> bool"""
20000 return _pcbnew.BOARD_SetLayerName(self, aLayer, aLayerName)
20004 r"""GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
20005 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
20008 r"""SetLayerDescr(BOARD self, PCB_LAYER_ID aIndex, LAYER aLayer) -> bool"""
20009 return _pcbnew.BOARD_SetLayerDescr(self, aIndex, aLayer)
20012 r"""GetLayerType(BOARD self, PCB_LAYER_ID aLayer) -> LAYER_T"""
20013 return _pcbnew.BOARD_GetLayerType(self, aLayer)
20016 r"""SetLayerType(BOARD self, PCB_LAYER_ID aLayer, LAYER_T aLayerType) -> bool"""
20017 return _pcbnew.BOARD_SetLayerType(self, aLayer, aLayerType)
20020 r"""GetNodesCount(BOARD self, int aNet=-1) -> unsigned int"""
20021 return _pcbnew.BOARD_GetNodesCount(self, aNet)
20024 r"""GetPads(BOARD self) -> PADS_VEC"""
20025 return _pcbnew.BOARD_GetPads(self)
20028 r"""BuildListOfNets(BOARD self)"""
20029 return _pcbnew.BOARD_BuildListOfNets(self)
20033 FindNet(BOARD self, int aNetcode) -> NETINFO_ITEM
20034 FindNet(BOARD self, wxString aNetname) -> NETINFO_ITEM
20036 return _pcbnew.BOARD_FindNet(self, *args)
20039 r"""MatchDpSuffix(BOARD self, wxString aNetName, wxString aComplementNet) -> int"""
20040 return _pcbnew.BOARD_MatchDpSuffix(self, aNetName, aComplementNet)
20043 r"""DpCoupledNet(BOARD self, NETINFO_ITEM aNet) -> NETINFO_ITEM"""
20044 return _pcbnew.BOARD_DpCoupledNet(self, aNet)
20047 r"""GetNetInfo(BOARD self) -> NETINFO_LIST"""
20048 return _pcbnew.BOARD_GetNetInfo(self)
20051 r"""RemoveUnusedNets(BOARD self, BOARD_COMMIT * aCommit)"""
20052 return _pcbnew.BOARD_RemoveUnusedNets(self, aCommit)
20055 r"""GetNetCount(BOARD self) -> unsigned int"""
20056 return _pcbnew.BOARD_GetNetCount(self)
20059 r"""ComputeBoundingBox(BOARD self, bool aBoardEdgesOnly=False) -> BOX2I"""
20060 return _pcbnew.BOARD_ComputeBoundingBox(self, aBoardEdgesOnly)
20063 r"""GetBoardEdgesBoundingBox(BOARD self) -> BOX2I"""
20064 return _pcbnew.BOARD_GetBoardEdgesBoundingBox(self)
20067 r"""FindFootprintByReference(BOARD self, wxString aReference) -> FOOTPRINT"""
20068 return _pcbnew.BOARD_FindFootprintByReference(self, aReference)
20071 r"""FindFootprintByPath(BOARD self, KIID_PATH aPath) -> FOOTPRINT"""
20072 return _pcbnew.BOARD_FindFootprintByPath(self, aPath)
20075 r"""GetNetClassAssignmentCandidates(BOARD self) -> STRINGSET"""
20076 return _pcbnew.BOARD_GetNetClassAssignmentCandidates(self)
20079 r"""SynchronizeNetsAndNetClasses(BOARD self, bool aResetTrackAndViaSizes)"""
20080 return _pcbnew.BOARD_SynchronizeNetsAndNetClasses(self, aResetTrackAndViaSizes)
20083 r"""SynchronizeProperties(BOARD self)"""
20084 return _pcbnew.BOARD_SynchronizeProperties(self)
20087 r"""SetAreasNetCodesFromNetNames(BOARD self) -> int"""
20088 return _pcbnew.BOARD_SetAreasNetCodesFromNetNames(self)
20091 r"""GetArea(BOARD self, int index) -> ZONE"""
20092 return _pcbnew.BOARD_GetArea(self, index)
20095 r"""GetZoneList(BOARD self, bool aIncludeZonesInFootprints=False) -> std::list< ZONE *,std::allocator< ZONE * > >"""
20096 return _pcbnew.BOARD_GetZoneList(self, aIncludeZonesInFootprints)
20099 r"""GetAreaCount(BOARD self) -> int"""
20100 return _pcbnew.BOARD_GetAreaCount(self)
20102 def AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch):
20103 r"""AddArea(BOARD self, PICKED_ITEMS_LIST * aNewZonesList, int aNetcode, PCB_LAYER_ID aLayer, VECTOR2I aStartPointPosition, ZONE_BORDER_DISPLAY_STYLE aHatch) -> ZONE"""
20104 return _pcbnew.BOARD_AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch)
20107 r"""TestZoneIntersection(BOARD self, ZONE aZone1, ZONE aZone2) -> bool"""
20108 return _pcbnew.BOARD_TestZoneIntersection(self, aZone1, aZone2)
20111 r"""GetPadFast(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD"""
20112 return _pcbnew.BOARD_GetPadFast(self, aPosition, aLayerMask)
20116 GetPad(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD
20117 GetPad(BOARD self, VECTOR2I aPosition) -> PAD
20118 GetPad(BOARD self, PCB_TRACK aTrace, ENDPOINT_T aEndPoint) -> PAD
20119 GetPad(BOARD self, PADS_VEC aPadList, VECTOR2I aPosition, LSET aLayerMask) -> PAD
20121 return _pcbnew.BOARD_GetPad(self, *args)
20124 r"""GetSortedPadListByXthenYCoord(BOARD self, PADS_VEC aVector, int aNetCode=-1)"""
20125 return _pcbnew.BOARD_GetSortedPadListByXthenYCoord(self, aVector, aNetCode)
20128 r"""GetTrackLength(BOARD self, PCB_TRACK aTrack) -> std::tuple< int,double,double >"""
20129 return _pcbnew.BOARD_GetTrackLength(self, aTrack)
20132 r"""TracksInNet(BOARD self, int aNetCode) -> TRACKS"""
20133 return _pcbnew.BOARD_TracksInNet(self, aNetCode)
20135 def GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked=False):
20136 r"""GetFootprint(BOARD self, VECTOR2I aPosition, PCB_LAYER_ID aActiveLayer, bool aVisibleOnly, bool aIgnoreLocked=False) -> FOOTPRINT"""
20137 return _pcbnew.BOARD_GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked)
20140 r"""GetMaxClearanceValue(BOARD self) -> int"""
20141 return _pcbnew.BOARD_GetMaxClearanceValue(self)
20144 r"""MapNets(BOARD self, BOARD aDestBoard)"""
20145 return _pcbnew.BOARD_MapNets(self, aDestBoard)
20148 r"""SanitizeNetcodes(BOARD self)"""
20149 return _pcbnew.BOARD_SanitizeNetcodes(self)
20152 r"""AddListener(BOARD self, BOARD_LISTENER aListener)"""
20153 return _pcbnew.BOARD_AddListener(self, aListener)
20156 r"""RemoveListener(BOARD self, BOARD_LISTENER aListener)"""
20157 return _pcbnew.BOARD_RemoveListener(self, aListener)
20160 r"""RemoveAllListeners(BOARD self)"""
20161 return _pcbnew.BOARD_RemoveAllListeners(self)
20164 r"""OnItemChanged(BOARD self, BOARD_ITEM aItem)"""
20165 return _pcbnew.BOARD_OnItemChanged(self, aItem)
20168 r"""OnItemsChanged(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aItems)"""
20169 return _pcbnew.BOARD_OnItemsChanged(self, aItems)
20172 r"""OnItemsCompositeUpdate(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aAddedItems, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aRemovedItems, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aChangedItems)"""
20173 return _pcbnew.BOARD_OnItemsCompositeUpdate(self, aAddedItems, aRemovedItems, aChangedItems)
20176 r"""OnRatsnestChanged(BOARD self)"""
20177 return _pcbnew.BOARD_OnRatsnestChanged(self)
20180 r"""GroupsSanityCheck(BOARD self, bool repair=False) -> wxString"""
20181 return _pcbnew.BOARD_GroupsSanityCheck(self, repair)
20184 r"""GroupsSanityCheckInternal(BOARD self, bool repair) -> wxString"""
20185 return _pcbnew.BOARD_GroupsSanityCheckInternal(self, repair)
20188 r"""GroupLegalOps(BOARD self, PCB_SELECTION const & selection) -> BOARD::GroupLegalOpsField"""
20189 return _pcbnew.BOARD_GroupLegalOps(self, selection)
20192 r"""LegacyTeardrops(BOARD self) -> bool"""
20193 return _pcbnew.BOARD_LegacyTeardrops(self)
20196 r"""SetLegacyTeardrops(BOARD self, bool aFlag)"""
20197 return _pcbnew.BOARD_SetLegacyTeardrops(self, aFlag)
20204 return _pcbnew.BOARD_GetEmbeddedFiles(self, *args)
20207 r"""GetFonts(BOARD self) -> std::set< KIFONT::OUTLINE_FONT *,std::less< KIFONT::OUTLINE_FONT * >,std::allocator< KIFONT::OUTLINE_FONT * > >"""
20208 return _pcbnew.BOARD_GetFonts(self)
20211 r"""EmbedFonts(BOARD self)"""
20212 return _pcbnew.BOARD_EmbedFonts(self)
20215 r"""GetComponentClassManager(BOARD self) -> COMPONENT_CLASS_MANAGER &"""
20216 return _pcbnew.BOARD_GetComponentClassManager(self)
20217 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)>""")
20218 m_maxClearanceValue = property(_pcbnew.BOARD_m_maxClearanceValue_get, _pcbnew.BOARD_m_maxClearanceValue_set, doc=
r"""m_maxClearanceValue : std::optional<(int)>""")
20219 m_SolderMaskBridges = property(_pcbnew.BOARD_m_SolderMaskBridges_get, _pcbnew.BOARD_m_SolderMaskBridges_set, doc=
r"""m_SolderMaskBridges : p.ZONE""")
20220 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)>)>)>)>)>)>""")
20226 self.
this.append(this)
20253 Return a dictionary like object with key:wxString netname
and value:NETINFO_ITEM
20259 Return a dictionary like object with key:int netcode
and value:NETINFO_ITEM
20265 Given a netname, return its netcode
20268 return net.GetNetCode()
20272 Return a dictionary like object with net_class_name
as key
and NETCLASSPTR
as value
20273 GetNetClasses(BOARD self) -> { wxString net_class_name : NETCLASSPTR }
20274 Include the
"Default" netclass also.
20280 netclassmap[
'Default'] = self.
GetDesignSettings().m_NetSettings.GetDefaultNetclass()
20285_pcbnew.BOARD_swigregister(BOARD)
20287 r"""Proxy of C++ std::map< wxString,wxString > class."""
20289 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
20290 __repr__ = _swig_repr
20293 r"""iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
20294 return _pcbnew.MAP_STRING_STRING_iterator(self)
20299 r"""__nonzero__(MAP_STRING_STRING self) -> bool"""
20300 return _pcbnew.MAP_STRING_STRING___nonzero__(self)
20303 r"""__bool__(MAP_STRING_STRING self) -> bool"""
20304 return _pcbnew.MAP_STRING_STRING___bool__(self)
20307 r"""__len__(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
20308 return _pcbnew.MAP_STRING_STRING___len__(self)
20319 r"""__getitem__(MAP_STRING_STRING self, wxString key) -> wxString"""
20320 return _pcbnew.MAP_STRING_STRING___getitem__(self, key)
20323 r"""__delitem__(MAP_STRING_STRING self, wxString key)"""
20324 return _pcbnew.MAP_STRING_STRING___delitem__(self, key)
20327 r"""has_key(MAP_STRING_STRING self, wxString key) -> bool"""
20328 return _pcbnew.MAP_STRING_STRING_has_key(self, key)
20331 r"""keys(MAP_STRING_STRING self) -> PyObject *"""
20332 return _pcbnew.MAP_STRING_STRING_keys(self)
20335 r"""values(MAP_STRING_STRING self) -> PyObject *"""
20336 return _pcbnew.MAP_STRING_STRING_values(self)
20339 r"""items(MAP_STRING_STRING self) -> PyObject *"""
20340 return _pcbnew.MAP_STRING_STRING_items(self)
20343 r"""__contains__(MAP_STRING_STRING self, wxString key) -> bool"""
20344 return _pcbnew.MAP_STRING_STRING___contains__(self, key)
20347 r"""key_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
20348 return _pcbnew.MAP_STRING_STRING_key_iterator(self)
20351 r"""value_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
20352 return _pcbnew.MAP_STRING_STRING_value_iterator(self)
20356 __setitem__(MAP_STRING_STRING self, wxString key)
20357 __setitem__(MAP_STRING_STRING self, wxString key, wxString x)
20359 return _pcbnew.MAP_STRING_STRING___setitem__(self, *args)
20362 r"""asdict(MAP_STRING_STRING self) -> PyObject *"""
20363 return _pcbnew.MAP_STRING_STRING_asdict(self)
20367 __init__(MAP_STRING_STRING self, std::less< wxString > const & other) -> MAP_STRING_STRING
20368 __init__(MAP_STRING_STRING self) -> MAP_STRING_STRING
20369 __init__(MAP_STRING_STRING self, MAP_STRING_STRING other) -> MAP_STRING_STRING
20371 _pcbnew.MAP_STRING_STRING_swiginit(self, _pcbnew.new_MAP_STRING_STRING(*args))
20374 r"""empty(MAP_STRING_STRING self) -> bool"""
20375 return _pcbnew.MAP_STRING_STRING_empty(self)
20378 r"""size(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
20379 return _pcbnew.MAP_STRING_STRING_size(self)
20382 r"""swap(MAP_STRING_STRING self, MAP_STRING_STRING v)"""
20383 return _pcbnew.MAP_STRING_STRING_swap(self, v)
20386 r"""begin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
20387 return _pcbnew.MAP_STRING_STRING_begin(self)
20390 r"""end(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
20391 return _pcbnew.MAP_STRING_STRING_end(self)
20394 r"""rbegin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
20395 return _pcbnew.MAP_STRING_STRING_rbegin(self)
20398 r"""rend(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
20399 return _pcbnew.MAP_STRING_STRING_rend(self)
20402 r"""clear(MAP_STRING_STRING self)"""
20403 return _pcbnew.MAP_STRING_STRING_clear(self)
20406 r"""get_allocator(MAP_STRING_STRING self) -> std::map< wxString,wxString >::allocator_type"""
20407 return _pcbnew.MAP_STRING_STRING_get_allocator(self)
20410 r"""count(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type"""
20411 return _pcbnew.MAP_STRING_STRING_count(self, x)
20415 erase(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type
20416 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator position)
20417 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator first, std::map< wxString,wxString >::iterator last)
20419 return _pcbnew.MAP_STRING_STRING_erase(self, *args)
20422 r"""find(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
20423 return _pcbnew.MAP_STRING_STRING_find(self, x)
20426 r"""lower_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
20427 return _pcbnew.MAP_STRING_STRING_lower_bound(self, x)
20430 r"""upper_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
20431 return _pcbnew.MAP_STRING_STRING_upper_bound(self, x)
20432 __swig_destroy__ = _pcbnew.delete_MAP_STRING_STRING
20435_pcbnew.MAP_STRING_STRING_swigregister(MAP_STRING_STRING)
20436DO_NOT_INCLUDE_NPTH = _pcbnew.DO_NOT_INCLUDE_NPTH
20438INCLUDE_NPTH = _pcbnew.INCLUDE_NPTH
20440FP_THROUGH_HOLE = _pcbnew.FP_THROUGH_HOLE
20442FP_SMD = _pcbnew.FP_SMD
20444FP_EXCLUDE_FROM_POS_FILES = _pcbnew.FP_EXCLUDE_FROM_POS_FILES
20446FP_EXCLUDE_FROM_BOM = _pcbnew.FP_EXCLUDE_FROM_BOM
20448FP_BOARD_ONLY = _pcbnew.FP_BOARD_ONLY
20450FP_JUST_ADDED = _pcbnew.FP_JUST_ADDED
20452FP_ALLOW_SOLDERMASK_BRIDGES = _pcbnew.FP_ALLOW_SOLDERMASK_BRIDGES
20454FP_ALLOW_MISSING_COURTYARD = _pcbnew.FP_ALLOW_MISSING_COURTYARD
20456FP_DNP = _pcbnew.FP_DNP
20459 r"""Proxy of C++ FP_3DMODEL class."""
20461 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
20462 __repr__ = _swig_repr
20465 r"""__init__(FP_3DMODEL self) -> FP_3DMODEL"""
20466 _pcbnew.FP_3DMODEL_swiginit(self, _pcbnew.new_FP_3DMODEL())
20467 m_Scale = property(_pcbnew.FP_3DMODEL_m_Scale_get, _pcbnew.FP_3DMODEL_m_Scale_set, doc=
r"""m_Scale : VECTOR3D""")
20468 m_Rotation = property(_pcbnew.FP_3DMODEL_m_Rotation_get, _pcbnew.FP_3DMODEL_m_Rotation_set, doc=
r"""m_Rotation : VECTOR3D""")
20469 m_Offset = property(_pcbnew.FP_3DMODEL_m_Offset_get, _pcbnew.FP_3DMODEL_m_Offset_set, doc=
r"""m_Offset : VECTOR3D""")
20470 m_Opacity = property(_pcbnew.FP_3DMODEL_m_Opacity_get, _pcbnew.FP_3DMODEL_m_Opacity_set, doc=
r"""m_Opacity : double""")
20471 m_Filename = property(_pcbnew.FP_3DMODEL_m_Filename_get, _pcbnew.FP_3DMODEL_m_Filename_set, doc=
r"""m_Filename : wxString""")
20472 m_Show = property(_pcbnew.FP_3DMODEL_m_Show_get, _pcbnew.FP_3DMODEL_m_Show_set, doc=
r"""m_Show : bool""")
20475 r"""__eq__(FP_3DMODEL self, FP_3DMODEL aOther) -> bool"""
20476 return _pcbnew.FP_3DMODEL___eq__(self, aOther)
20477 __swig_destroy__ = _pcbnew.delete_FP_3DMODEL
20480_pcbnew.FP_3DMODEL_swigregister(FP_3DMODEL)
20482 r"""Proxy of C++ FOOTPRINT class."""
20484 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
20485 __repr__ = _swig_repr
20489 __init__(FOOTPRINT self, BOARD parent) -> FOOTPRINT
20490 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
20491 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
20493 _pcbnew.FOOTPRINT_swiginit(self, _pcbnew.new_FOOTPRINT(*args))
20494 __swig_destroy__ = _pcbnew.delete_FOOTPRINT
20497 r"""Serialize(FOOTPRINT self, google::protobuf::Any & aContainer)"""
20498 return _pcbnew.FOOTPRINT_Serialize(self, aContainer)
20501 r"""Deserialize(FOOTPRINT self, google::protobuf::Any const & aContainer) -> bool"""
20502 return _pcbnew.FOOTPRINT_Deserialize(self, aContainer)
20506 r"""ClassOf(EDA_ITEM aItem) -> bool"""
20507 return _pcbnew.FOOTPRINT_ClassOf(aItem)
20510 r"""InvalidateGeometryCaches(FOOTPRINT self)"""
20511 return _pcbnew.FOOTPRINT_InvalidateGeometryCaches(self)
20514 r"""GetPrivateLayers(FOOTPRINT self) -> LSET"""
20515 return _pcbnew.FOOTPRINT_GetPrivateLayers(self)
20518 r"""SetPrivateLayers(FOOTPRINT self, LSET aLayers)"""
20519 return _pcbnew.FOOTPRINT_SetPrivateLayers(self, aLayers)
20522 r"""AddNative(FOOTPRINT self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
20523 return _pcbnew.FOOTPRINT_AddNative(self, *args)
20526 r"""RemoveNative(FOOTPRINT self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
20527 return _pcbnew.FOOTPRINT_RemoveNative(self, *args)
20530 r"""ClearAllNets(FOOTPRINT self)"""
20531 return _pcbnew.FOOTPRINT_ClearAllNets(self)
20534 r"""FixUuids(FOOTPRINT self) -> bool"""
20535 return _pcbnew.FOOTPRINT_FixUuids(self)
20538 r"""GetFpPadsLocalBbox(FOOTPRINT self) -> BOX2I"""
20539 return _pcbnew.FOOTPRINT_GetFpPadsLocalBbox(self)
20542 r"""GetBoundingHull(FOOTPRINT self) -> SHAPE_POLY_SET"""
20543 return _pcbnew.FOOTPRINT_GetBoundingHull(self)
20546 r"""TextOnly(FOOTPRINT self) -> bool"""
20547 return _pcbnew.FOOTPRINT_TextOnly(self)
20550 r"""GetLayerBoundingBox(FOOTPRINT self, LSET aLayers) -> BOX2I"""
20551 return _pcbnew.FOOTPRINT_GetLayerBoundingBox(self, aLayers)
20555 Pads(FOOTPRINT self) -> PADS
20556 Pads(FOOTPRINT self) -> PADS
20558 return _pcbnew.FOOTPRINT_Pads(self, *args)
20565 return _pcbnew.FOOTPRINT_GraphicalItems(self, *args)
20569 Zones(FOOTPRINT self) -> ZONES
20570 Zones(FOOTPRINT self) -> ZONES
20572 return _pcbnew.FOOTPRINT_Zones(self, *args)
20576 Groups(FOOTPRINT self) -> GROUPS
20577 Groups(FOOTPRINT self) -> GROUPS
20579 return _pcbnew.FOOTPRINT_Groups(self, *args)
20582 r"""HasThroughHolePads(FOOTPRINT self) -> bool"""
20583 return _pcbnew.FOOTPRINT_HasThroughHolePads(self)
20587 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
20588 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
20590 return _pcbnew.FOOTPRINT_Models(self, *args)
20593 r"""SetOrientation(FOOTPRINT self, EDA_ANGLE aNewAngle)"""
20594 return _pcbnew.FOOTPRINT_SetOrientation(self, aNewAngle)
20597 r"""GetOrientation(FOOTPRINT self) -> EDA_ANGLE"""
20598 return _pcbnew.FOOTPRINT_GetOrientation(self)
20601 r"""SetLayerAndFlip(FOOTPRINT self, PCB_LAYER_ID aLayer)"""
20602 return _pcbnew.FOOTPRINT_SetLayerAndFlip(self, aLayer)
20605 r"""SetOrientationDegrees(FOOTPRINT self, double aOrientation)"""
20606 return _pcbnew.FOOTPRINT_SetOrientationDegrees(self, aOrientation)
20609 r"""GetOrientationDegrees(FOOTPRINT self) -> double"""
20610 return _pcbnew.FOOTPRINT_GetOrientationDegrees(self)
20613 r"""GetFPID(FOOTPRINT self) -> LIB_ID"""
20614 return _pcbnew.FOOTPRINT_GetFPID(self)
20617 r"""SetFPID(FOOTPRINT self, LIB_ID aFPID)"""
20618 return _pcbnew.FOOTPRINT_SetFPID(self, aFPID)
20621 r"""GetFPIDAsString(FOOTPRINT self) -> wxString"""
20622 return _pcbnew.FOOTPRINT_GetFPIDAsString(self)
20625 r"""SetFPIDAsString(FOOTPRINT self, wxString aFPID)"""
20626 return _pcbnew.FOOTPRINT_SetFPIDAsString(self, aFPID)
20629 r"""GetLibDescription(FOOTPRINT self) -> wxString"""
20630 return _pcbnew.FOOTPRINT_GetLibDescription(self)
20633 r"""SetLibDescription(FOOTPRINT self, wxString aDesc)"""
20634 return _pcbnew.FOOTPRINT_SetLibDescription(self, aDesc)
20637 r"""GetKeywords(FOOTPRINT self) -> wxString"""
20638 return _pcbnew.FOOTPRINT_GetKeywords(self)
20641 r"""SetKeywords(FOOTPRINT self, wxString aKeywords)"""
20642 return _pcbnew.FOOTPRINT_SetKeywords(self, aKeywords)
20645 r"""GetPath(FOOTPRINT self) -> KIID_PATH"""
20646 return _pcbnew.FOOTPRINT_GetPath(self)
20649 r"""SetPath(FOOTPRINT self, KIID_PATH aPath)"""
20650 return _pcbnew.FOOTPRINT_SetPath(self, aPath)
20653 r"""GetSheetname(FOOTPRINT self) -> wxString"""
20654 return _pcbnew.FOOTPRINT_GetSheetname(self)
20657 r"""SetSheetname(FOOTPRINT self, wxString aSheetname)"""
20658 return _pcbnew.FOOTPRINT_SetSheetname(self, aSheetname)
20661 r"""GetSheetfile(FOOTPRINT self) -> wxString"""
20662 return _pcbnew.FOOTPRINT_GetSheetfile(self)
20665 r"""SetSheetfile(FOOTPRINT self, wxString aSheetfile)"""
20666 return _pcbnew.FOOTPRINT_SetSheetfile(self, aSheetfile)
20669 r"""GetFilters(FOOTPRINT self) -> wxString"""
20670 return _pcbnew.FOOTPRINT_GetFilters(self)
20673 r"""SetFilters(FOOTPRINT self, wxString aFilters)"""
20674 return _pcbnew.FOOTPRINT_SetFilters(self, aFilters)
20677 r"""SetLocalClearance(FOOTPRINT self, std::optional< int > aClearance)"""
20678 return _pcbnew.FOOTPRINT_SetLocalClearance(self, aClearance)
20681 r"""GetLocalSolderMaskMargin(FOOTPRINT self) -> std::optional< int >"""
20682 return _pcbnew.FOOTPRINT_GetLocalSolderMaskMargin(self)
20685 r"""SetLocalSolderMaskMargin(FOOTPRINT self, std::optional< int > aMargin)"""
20686 return _pcbnew.FOOTPRINT_SetLocalSolderMaskMargin(self, aMargin)
20689 r"""GetLocalSolderPasteMargin(FOOTPRINT self) -> std::optional< int >"""
20690 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMargin(self)
20693 r"""SetLocalSolderPasteMargin(FOOTPRINT self, std::optional< int > aMargin)"""
20694 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMargin(self, aMargin)
20697 r"""GetLocalSolderPasteMarginRatio(FOOTPRINT self) -> std::optional< double >"""
20698 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMarginRatio(self)
20701 r"""SetLocalSolderPasteMarginRatio(FOOTPRINT self, std::optional< double > aRatio)"""
20702 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMarginRatio(self, aRatio)
20705 r"""SetLocalZoneConnection(FOOTPRINT self, ZONE_CONNECTION aType)"""
20706 return _pcbnew.FOOTPRINT_SetLocalZoneConnection(self, aType)
20709 r"""GetLocalZoneConnection(FOOTPRINT self) -> ZONE_CONNECTION"""
20710 return _pcbnew.FOOTPRINT_GetLocalZoneConnection(self)
20713 r"""GetAttributes(FOOTPRINT self) -> int"""
20714 return _pcbnew.FOOTPRINT_GetAttributes(self)
20717 r"""SetAttributes(FOOTPRINT self, int aAttributes)"""
20718 return _pcbnew.FOOTPRINT_SetAttributes(self, aAttributes)
20721 r"""SetFlag(FOOTPRINT self, int aFlag)"""
20722 return _pcbnew.FOOTPRINT_SetFlag(self, aFlag)
20725 r"""IncrementFlag(FOOTPRINT self)"""
20726 return _pcbnew.FOOTPRINT_IncrementFlag(self)
20729 r"""GetFlag(FOOTPRINT self) -> int"""
20730 return _pcbnew.FOOTPRINT_GetFlag(self)
20733 r"""IsNetTie(FOOTPRINT self) -> bool"""
20734 return _pcbnew.FOOTPRINT_IsNetTie(self)
20741 return _pcbnew.FOOTPRINT_GetLocalClearance(self, *args)
20744 r"""GetClearanceOverrides(FOOTPRINT self, wxString aSource) -> std::optional< int >"""
20745 return _pcbnew.FOOTPRINT_GetClearanceOverrides(self, aSource)
20748 r"""GetZoneConnectionOverrides(FOOTPRINT self, wxString aSource) -> ZONE_CONNECTION"""
20749 return _pcbnew.FOOTPRINT_GetZoneConnectionOverrides(self, aSource)
20752 r"""GetNetTiePadGroups(FOOTPRINT self) -> std::vector< wxString,std::allocator< wxString > > const &"""
20753 return _pcbnew.FOOTPRINT_GetNetTiePadGroups(self)
20756 r"""ClearNetTiePadGroups(FOOTPRINT self)"""
20757 return _pcbnew.FOOTPRINT_ClearNetTiePadGroups(self)
20760 r"""AddNetTiePadGroup(FOOTPRINT self, wxString aGroup)"""
20761 return _pcbnew.FOOTPRINT_AddNetTiePadGroup(self, aGroup)
20764 r"""MapPadNumbersToNetTieGroups(FOOTPRINT self) -> std::map< wxString,int,std::less< wxString >,std::allocator< std::pair< wxString const,int > > >"""
20765 return _pcbnew.FOOTPRINT_MapPadNumbersToNetTieGroups(self)
20768 r"""GetNetTiePads(FOOTPRINT self, PAD aPad) -> PADS_VEC"""
20769 return _pcbnew.FOOTPRINT_GetNetTiePads(self, aPad)
20772 r"""GetLikelyAttribute(FOOTPRINT self) -> int"""
20773 return _pcbnew.FOOTPRINT_GetLikelyAttribute(self)
20776 r"""MoveAnchorPosition(FOOTPRINT self, VECTOR2I aMoveVector)"""
20777 return _pcbnew.FOOTPRINT_MoveAnchorPosition(self, aMoveVector)
20780 r"""IsFlipped(FOOTPRINT self) -> bool"""
20781 return _pcbnew.FOOTPRINT_IsFlipped(self)
20784 r"""GetSide(FOOTPRINT self) -> PCB_LAYER_ID"""
20785 return _pcbnew.FOOTPRINT_GetSide(self)
20788 r"""IsConflicting(FOOTPRINT self) -> bool"""
20789 return _pcbnew.FOOTPRINT_IsConflicting(self)
20792 r"""IsPlaced(FOOTPRINT self) -> bool"""
20793 return _pcbnew.FOOTPRINT_IsPlaced(self)
20796 r"""SetIsPlaced(FOOTPRINT self, bool isPlaced)"""
20797 return _pcbnew.FOOTPRINT_SetIsPlaced(self, isPlaced)
20800 r"""NeedsPlaced(FOOTPRINT self) -> bool"""
20801 return _pcbnew.FOOTPRINT_NeedsPlaced(self)
20804 r"""SetNeedsPlaced(FOOTPRINT self, bool needsPlaced)"""
20805 return _pcbnew.FOOTPRINT_SetNeedsPlaced(self, needsPlaced)
20808 r"""LegacyPadsLocked(FOOTPRINT self) -> bool"""
20809 return _pcbnew.FOOTPRINT_LegacyPadsLocked(self)
20812 r"""CheckFootprintAttributes(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
20813 return _pcbnew.FOOTPRINT_CheckFootprintAttributes(self, aErrorHandler)
20816 r"""CheckPads(FOOTPRINT self, UNITS_PROVIDER aUnitsProvider, std::function< void (PAD const *,int,wxString const &) > const & aErrorHandler)"""
20817 return _pcbnew.FOOTPRINT_CheckPads(self, aUnitsProvider, aErrorHandler)
20820 r"""CheckShortingPads(FOOTPRINT self, std::function< void (PAD const *,PAD const *,int,VECTOR2I const &) > const & aErrorHandler)"""
20821 return _pcbnew.FOOTPRINT_CheckShortingPads(self, aErrorHandler)
20824 r"""CheckNetTies(FOOTPRINT self, std::function< void (BOARD_ITEM const *,BOARD_ITEM const *,BOARD_ITEM const *,VECTOR2I const &) > const & aErrorHandler)"""
20825 return _pcbnew.FOOTPRINT_CheckNetTies(self, aErrorHandler)
20828 r"""CheckNetTiePadGroups(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
20829 return _pcbnew.FOOTPRINT_CheckNetTiePadGroups(self, aErrorHandler)
20832 r"""CheckClippedSilk(FOOTPRINT self, std::function< void (BOARD_ITEM *,BOARD_ITEM *,VECTOR2I const &) > const & aErrorHandler)"""
20833 return _pcbnew.FOOTPRINT_CheckClippedSilk(self, aErrorHandler)
20836 r"""BuildNetTieCache(FOOTPRINT self)"""
20837 return _pcbnew.FOOTPRINT_BuildNetTieCache(self)
20840 r"""GetNetTieCache(FOOTPRINT self, BOARD_ITEM aItem) -> std::set< int,std::less< int >,std::allocator< int > > const &"""
20841 return _pcbnew.FOOTPRINT_GetNetTieCache(self, aItem)
20844 r"""TransformPadsToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aSkipNPTHPadsWihNoCopper=False)"""
20845 return _pcbnew.FOOTPRINT_TransformPadsToPolySet(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper)
20847 def TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText=True, aIncludeShapes=True, aIncludePrivateItems=False):
20848 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)"""
20849 return _pcbnew.FOOTPRINT_TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText, aIncludeShapes, aIncludePrivateItems)
20852 r"""TransformFPTextToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
20853 return _pcbnew.FOOTPRINT_TransformFPTextToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc)
20856 r"""GetContextualTextVars(FOOTPRINT self, wxArrayString * aVars)"""
20857 return _pcbnew.FOOTPRINT_GetContextualTextVars(self, aVars)
20860 r"""ResolveTextVar(FOOTPRINT self, wxString token, int aDepth=0) -> bool"""
20861 return _pcbnew.FOOTPRINT_ResolveTextVar(self, token, aDepth)
20864 r"""HitTestAccurate(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool"""
20865 return _pcbnew.FOOTPRINT_HitTestAccurate(self, aPosition, aAccuracy)
20869 HitTest(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool
20870 HitTest(FOOTPRINT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
20872 return _pcbnew.FOOTPRINT_HitTest(self, *args)
20876 HitTestOnLayer(FOOTPRINT self, VECTOR2I aPosition, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
20877 HitTestOnLayer(FOOTPRINT self, BOX2I aRect, bool aContained, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
20879 return _pcbnew.FOOTPRINT_HitTestOnLayer(self, *args)
20882 r"""GetReference(FOOTPRINT self) -> wxString"""
20883 return _pcbnew.FOOTPRINT_GetReference(self)
20886 r"""SetReference(FOOTPRINT self, wxString aReference)"""
20887 return _pcbnew.FOOTPRINT_SetReference(self, aReference)
20890 r"""GetReferenceAsString(FOOTPRINT self) -> wxString"""
20891 return _pcbnew.FOOTPRINT_GetReferenceAsString(self)
20894 r"""IncrementReference(FOOTPRINT self, int aDelta)"""
20895 return _pcbnew.FOOTPRINT_IncrementReference(self, aDelta)
20898 r"""GetValue(FOOTPRINT self) -> wxString"""
20899 return _pcbnew.FOOTPRINT_GetValue(self)
20902 r"""SetValue(FOOTPRINT self, wxString aValue)"""
20903 return _pcbnew.FOOTPRINT_SetValue(self, aValue)
20906 r"""GetValueAsString(FOOTPRINT self) -> wxString"""
20907 return _pcbnew.FOOTPRINT_GetValueAsString(self)
20911 Value(FOOTPRINT self) -> PCB_FIELD
20912 Value(FOOTPRINT self) -> PCB_FIELD
20914 return _pcbnew.FOOTPRINT_Value(self, *args)
20921 return _pcbnew.FOOTPRINT_Reference(self, *args)
20925 GetField(FOOTPRINT self, MANDATORY_FIELD_T aFieldType) -> PCB_FIELD
20926 GetField(FOOTPRINT self, MANDATORY_FIELD_T aFieldNdx) -> PCB_FIELD
20928 return _pcbnew.FOOTPRINT_GetField(self, *args)
20931 r"""GetFieldById(FOOTPRINT self, int aFieldId) -> PCB_FIELD"""
20932 return _pcbnew.FOOTPRINT_GetFieldById(self, aFieldId)
20935 r"""GetFieldByName(FOOTPRINT self, wxString aFieldName) -> PCB_FIELD"""
20936 return _pcbnew.FOOTPRINT_GetFieldByName(self, aFieldName)
20939 r"""HasFieldByName(FOOTPRINT self, wxString aFieldName) -> bool"""
20940 return _pcbnew.FOOTPRINT_HasFieldByName(self, aFieldName)
20943 r"""GetFieldText(FOOTPRINT self, wxString aFieldName) -> wxString"""
20944 return _pcbnew.FOOTPRINT_GetFieldText(self, aFieldName)
20948 GetFields(FOOTPRINT self, PCB_FIELD_VEC aVector, bool aVisibleOnly)
20949 GetFields(FOOTPRINT self, bool aVisibleOnly=False) -> PCB_FIELD_VEC
20951 return _pcbnew.FOOTPRINT_GetFields(self, *args)
20954 r"""ClearFields(FOOTPRINT self)"""
20955 return _pcbnew.FOOTPRINT_ClearFields(self)
20958 r"""AddField(FOOTPRINT self, PCB_FIELD aField) -> PCB_FIELD"""
20959 return _pcbnew.FOOTPRINT_AddField(self, aField)
20962 r"""RemoveField(FOOTPRINT self, wxString aFieldName)"""
20963 return _pcbnew.FOOTPRINT_RemoveField(self, aFieldName)
20966 r"""GetNextFieldId(FOOTPRINT self) -> int"""
20967 return _pcbnew.FOOTPRINT_GetNextFieldId(self)
20970 r"""ApplyDefaultSettings(FOOTPRINT self, BOARD board, bool aStyleFields, bool aStyleText, bool aStyleShapes)"""
20971 return _pcbnew.FOOTPRINT_ApplyDefaultSettings(self, board, aStyleFields, aStyleText, aStyleShapes)
20974 r"""IsBoardOnly(FOOTPRINT self) -> bool"""
20975 return _pcbnew.FOOTPRINT_IsBoardOnly(self)
20978 r"""SetBoardOnly(FOOTPRINT self, bool aIsBoardOnly=True)"""
20979 return _pcbnew.FOOTPRINT_SetBoardOnly(self, aIsBoardOnly)
20982 r"""IsExcludedFromPosFiles(FOOTPRINT self) -> bool"""
20983 return _pcbnew.FOOTPRINT_IsExcludedFromPosFiles(self)
20986 r"""SetExcludedFromPosFiles(FOOTPRINT self, bool aExclude=True)"""
20987 return _pcbnew.FOOTPRINT_SetExcludedFromPosFiles(self, aExclude)
20990 r"""IsExcludedFromBOM(FOOTPRINT self) -> bool"""
20991 return _pcbnew.FOOTPRINT_IsExcludedFromBOM(self)
20994 r"""SetExcludedFromBOM(FOOTPRINT self, bool aExclude=True)"""
20995 return _pcbnew.FOOTPRINT_SetExcludedFromBOM(self, aExclude)
20998 r"""AllowMissingCourtyard(FOOTPRINT self) -> bool"""
20999 return _pcbnew.FOOTPRINT_AllowMissingCourtyard(self)
21002 r"""SetAllowMissingCourtyard(FOOTPRINT self, bool aAllow=True)"""
21003 return _pcbnew.FOOTPRINT_SetAllowMissingCourtyard(self, aAllow)
21006 r"""IsDNP(FOOTPRINT self) -> bool"""
21007 return _pcbnew.FOOTPRINT_IsDNP(self)
21010 r"""SetDNP(FOOTPRINT self, bool aDNP=True)"""
21011 return _pcbnew.FOOTPRINT_SetDNP(self, aDNP)
21014 r"""SetFileFormatVersionAtLoad(FOOTPRINT self, int aVersion)"""
21015 return _pcbnew.FOOTPRINT_SetFileFormatVersionAtLoad(self, aVersion)
21018 r"""GetFileFormatVersionAtLoad(FOOTPRINT self) -> int"""
21019 return _pcbnew.FOOTPRINT_GetFileFormatVersionAtLoad(self)
21022 r"""FindPadByNumber(FOOTPRINT self, wxString aPadNumber, PAD aSearchAfterMe=None) -> PAD"""
21023 return _pcbnew.FOOTPRINT_FindPadByNumber(self, aPadNumber, aSearchAfterMe)
21026 r"""GetPad(FOOTPRINT self, VECTOR2I aPosition, LSET aLayerMask=LSET::AllLayersMask()) -> PAD"""
21027 return _pcbnew.FOOTPRINT_GetPad(self, *args)
21030 r"""GetPads(FOOTPRINT self, wxString aPadNumber, PAD aIgnore=None) -> std::vector< PAD const *,std::allocator< PAD const * > >"""
21031 return _pcbnew.FOOTPRINT_GetPads(self, aPadNumber, aIgnore)
21034 r"""GetPadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
21035 return _pcbnew.FOOTPRINT_GetPadCount(self, *args)
21038 r"""GetUniquePadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
21039 return _pcbnew.FOOTPRINT_GetUniquePadCount(self, *args)
21042 r"""GetUniquePadNumbers(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> STRINGSET"""
21043 return _pcbnew.FOOTPRINT_GetUniquePadNumbers(self, *args)
21046 r"""GetNextPadNumber(FOOTPRINT self, wxString aLastPadName) -> wxString"""
21047 return _pcbnew.FOOTPRINT_GetNextPadNumber(self, aLastPadName)
21050 r"""AutoPositionFields(FOOTPRINT self)"""
21051 return _pcbnew.FOOTPRINT_AutoPositionFields(self)
21054 r"""GetTypeName(FOOTPRINT self) -> wxString"""
21055 return _pcbnew.FOOTPRINT_GetTypeName(self)
21058 r"""GetArea(FOOTPRINT self, int aPadding=0) -> double"""
21059 return _pcbnew.FOOTPRINT_GetArea(self, aPadding)
21062 r"""GetLink(FOOTPRINT self) -> KIID"""
21063 return _pcbnew.FOOTPRINT_GetLink(self)
21066 r"""SetLink(FOOTPRINT self, KIID aLink)"""
21067 return _pcbnew.FOOTPRINT_SetLink(self, aLink)
21070 r"""DuplicateItem(FOOTPRINT self, BOARD_ITEM aItem, bool aAddToFootprint=False) -> BOARD_ITEM"""
21071 return _pcbnew.FOOTPRINT_DuplicateItem(self, aItem, aAddToFootprint)
21074 r"""Add3DModel(FOOTPRINT self, FP_3DMODEL a3DModel)"""
21075 return _pcbnew.FOOTPRINT_Add3DModel(self, a3DModel)
21078 r"""RunOnDescendants(FOOTPRINT self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
21079 return _pcbnew.FOOTPRINT_RunOnDescendants(self, aFunction, aDepth)
21082 r"""ViewGetLOD(FOOTPRINT self, int aLayer, KIGFX::VIEW const * aView) -> double"""
21083 return _pcbnew.FOOTPRINT_ViewGetLOD(self, aLayer, aView)
21087 r"""IsLibNameValid(wxString aName) -> bool"""
21088 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
21092 r"""StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
21093 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
21096 r"""FootprintNeedsUpdate(FOOTPRINT self, FOOTPRINT aLibFP, int aCompareFlags=0, REPORTER * aReporter=None) -> bool"""
21097 return _pcbnew.FOOTPRINT_FootprintNeedsUpdate(self, aLibFP, aCompareFlags, aReporter)
21100 r"""SetInitialComments(FOOTPRINT self, wxArrayString * aInitialComments)"""
21101 return _pcbnew.FOOTPRINT_SetInitialComments(self, aInitialComments)
21104 r"""CoverageRatio(FOOTPRINT self, GENERAL_COLLECTOR const & aCollector) -> double"""
21105 return _pcbnew.FOOTPRINT_CoverageRatio(self, aCollector)
21109 r"""GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
21110 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
21113 r"""GetInitialComments(FOOTPRINT self) -> wxArrayString const *"""
21114 return _pcbnew.FOOTPRINT_GetInitialComments(self)
21117 r"""GetCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
21118 return _pcbnew.FOOTPRINT_GetCourtyard(self, aLayer)
21121 r"""GetCachedCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
21122 return _pcbnew.FOOTPRINT_GetCachedCourtyard(self, aLayer)
21125 r"""BuildCourtyardCaches(FOOTPRINT self, OUTLINE_ERROR_HANDLER * aErrorHandler=None)"""
21126 return _pcbnew.FOOTPRINT_BuildCourtyardCaches(self, aErrorHandler)
21129 r"""GetEffectiveShape(FOOTPRINT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
21130 return _pcbnew.FOOTPRINT_GetEffectiveShape(self, *args)
21137 return _pcbnew.FOOTPRINT_GetEmbeddedFiles(self, *args)
21140 r"""GetFonts(FOOTPRINT self) -> std::set< KIFONT::OUTLINE_FONT *,std::less< KIFONT::OUTLINE_FONT * >,std::allocator< KIFONT::OUTLINE_FONT * > >"""
21141 return _pcbnew.FOOTPRINT_GetFonts(self)
21144 r"""EmbedFonts(FOOTPRINT self)"""
21145 return _pcbnew.FOOTPRINT_EmbedFonts(self)
21148 r"""SetComponentClass(FOOTPRINT self, COMPONENT_CLASS const * aClass)"""
21149 return _pcbnew.FOOTPRINT_SetComponentClass(self, aClass)
21152 r"""SetTransientComponentClassNames(FOOTPRINT self, std::unordered_set< wxString > const & classNames)"""
21153 return _pcbnew.FOOTPRINT_SetTransientComponentClassNames(self, classNames)
21156 r"""GetTransientComponentClassNames(FOOTPRINT self) -> std::unordered_set< wxString > const &"""
21157 return _pcbnew.FOOTPRINT_GetTransientComponentClassNames(self)
21160 r"""ClearTransientComponentClassNames(FOOTPRINT self)"""
21161 return _pcbnew.FOOTPRINT_ClearTransientComponentClassNames(self)
21164 r"""ResolveComponentClassNames(FOOTPRINT self, BOARD aBoard, std::unordered_set< wxString > const & aComponentClassNames)"""
21165 return _pcbnew.FOOTPRINT_ResolveComponentClassNames(self, aBoard, aComponentClassNames)
21168 r"""GetComponentClass(FOOTPRINT self) -> COMPONENT_CLASS const *"""
21169 return _pcbnew.FOOTPRINT_GetComponentClass(self)
21172 r"""GetComponentClassAsString(FOOTPRINT self) -> wxString"""
21173 return _pcbnew.FOOTPRINT_GetComponentClassAsString(self)
21177 __eq__(FOOTPRINT self, BOARD_ITEM aOther) -> bool
21178 __eq__(FOOTPRINT self, FOOTPRINT aOther) -> bool
21180 return _pcbnew.FOOTPRINT___eq__(self, *args)
21192 """ Returns footprint fields name to text map. """
21194 return {str(field.GetName()): str(field.GetText())
for field
in fields}
21197 """ Returns footprint fields name to shown text map. """
21199 return {str(field.GetName()): str(field.GetShownText(
False))
for field
in fields}
21202 """ Returns Field text with a given key if it exists, throws KeyError otherwise. """
21206 raise KeyError(
"Field not found: " + key)
21209 """ Returns Field shown text with a given key if it exists, throws KeyError otherwise. """
21213 raise KeyError(
"Field not found: " + key)
21220 field.SetText(value)
21227 """ Sets footprint fields map. """
21228 for k, v
in fields.items():
21236 GetBoundingBox(FOOTPRINT self, bool aIncludeText, bool includeHiddenText) -> BOX2I
21238 return _pcbnew.FOOTPRINT_GetBoundingBox(self, *args)
21241_pcbnew.FOOTPRINT_swigregister(FOOTPRINT)
21242FP_is_LOCKED = _pcbnew.FP_is_LOCKED
21244FP_is_PLACED = _pcbnew.FP_is_PLACED
21246FP_to_PLACE = _pcbnew.FP_to_PLACE
21248FP_PADS_are_LOCKED = _pcbnew.FP_PADS_are_LOCKED
21252 r"""Proxy of C++ FOOTPRINT::cmp_drawings class."""
21254 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
21255 __repr__ = _swig_repr
21258 r"""__call__(cmp_drawings self, BOARD_ITEM itemA, BOARD_ITEM itemB) -> bool"""
21259 return _pcbnew.cmp_drawings___call__(self, itemA, itemB)
21262 r"""__init__(cmp_drawings self) -> cmp_drawings"""
21263 _pcbnew.cmp_drawings_swiginit(self, _pcbnew.new_cmp_drawings())
21264 __swig_destroy__ = _pcbnew.delete_cmp_drawings
21267_pcbnew.cmp_drawings_swigregister(cmp_drawings)
21269 r"""Proxy of C++ FOOTPRINT::cmp_pads class."""
21271 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
21272 __repr__ = _swig_repr
21275 r"""__call__(cmp_pads self, PAD aFirst, PAD aSecond) -> bool"""
21276 return _pcbnew.cmp_pads___call__(self, aFirst, aSecond)
21279 r"""__init__(cmp_pads self) -> cmp_pads"""
21280 _pcbnew.cmp_pads_swiginit(self, _pcbnew.new_cmp_pads())
21281 __swig_destroy__ = _pcbnew.delete_cmp_pads
21284_pcbnew.cmp_pads_swigregister(cmp_pads)
21286 r"""Proxy of C++ FOOTPRINT::cmp_zones class."""
21288 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
21289 __repr__ = _swig_repr
21292 r"""__call__(cmp_zones self, ZONE aFirst, ZONE aSecond) -> bool"""
21293 return _pcbnew.cmp_zones___call__(self, aFirst, aSecond)
21296 r"""__init__(cmp_zones self) -> cmp_zones"""
21297 _pcbnew.cmp_zones_swiginit(self, _pcbnew.new_cmp_zones())
21298 __swig_destroy__ = _pcbnew.delete_cmp_zones
21301_pcbnew.cmp_zones_swigregister(cmp_zones)
21303 r"""Proxy of C++ std::vector< FP_3DMODEL > class."""
21305 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
21306 __repr__ = _swig_repr
21309 r"""iterator(VECTOR_FP_3DMODEL self) -> SwigPyIterator"""
21310 return _pcbnew.VECTOR_FP_3DMODEL_iterator(self)
21315 r"""__nonzero__(VECTOR_FP_3DMODEL self) -> bool"""
21316 return _pcbnew.VECTOR_FP_3DMODEL___nonzero__(self)
21319 r"""__bool__(VECTOR_FP_3DMODEL self) -> bool"""
21320 return _pcbnew.VECTOR_FP_3DMODEL___bool__(self)
21323 r"""__len__(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
21324 return _pcbnew.VECTOR_FP_3DMODEL___len__(self)
21327 r"""__getslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j) -> VECTOR_FP_3DMODEL"""
21328 return _pcbnew.VECTOR_FP_3DMODEL___getslice__(self, i, j)
21332 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)
21333 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j, VECTOR_FP_3DMODEL v)
21335 return _pcbnew.VECTOR_FP_3DMODEL___setslice__(self, *args)
21338 r"""__delslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)"""
21339 return _pcbnew.VECTOR_FP_3DMODEL___delslice__(self, i, j)
21343 __delitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i)
21344 __delitem__(VECTOR_FP_3DMODEL self, SWIGPY_SLICEOBJECT * slice)
21346 return _pcbnew.VECTOR_FP_3DMODEL___delitem__(self, *args)
21350 __getitem__(VECTOR_FP_3DMODEL self, SWIGPY_SLICEOBJECT * slice) -> VECTOR_FP_3DMODEL
21351 __getitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i) -> FP_3DMODEL
21353 return _pcbnew.VECTOR_FP_3DMODEL___getitem__(self, *args)
21357 __setitem__(VECTOR_FP_3DMODEL self, SWIGPY_SLICEOBJECT * slice, VECTOR_FP_3DMODEL v)
21358 __setitem__(VECTOR_FP_3DMODEL self, SWIGPY_SLICEOBJECT * slice)
21359 __setitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, FP_3DMODEL x)
21361 return _pcbnew.VECTOR_FP_3DMODEL___setitem__(self, *args)
21364 r"""pop(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
21365 return _pcbnew.VECTOR_FP_3DMODEL_pop(self)
21368 r"""append(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
21369 return _pcbnew.VECTOR_FP_3DMODEL_append(self, x)
21372 r"""empty(VECTOR_FP_3DMODEL self) -> bool"""
21373 return _pcbnew.VECTOR_FP_3DMODEL_empty(self)
21376 r"""size(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
21377 return _pcbnew.VECTOR_FP_3DMODEL_size(self)
21380 r"""swap(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL v)"""
21381 return _pcbnew.VECTOR_FP_3DMODEL_swap(self, v)
21384 r"""begin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
21385 return _pcbnew.VECTOR_FP_3DMODEL_begin(self)
21388 r"""end(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
21389 return _pcbnew.VECTOR_FP_3DMODEL_end(self)
21392 r"""rbegin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
21393 return _pcbnew.VECTOR_FP_3DMODEL_rbegin(self)
21396 r"""rend(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
21397 return _pcbnew.VECTOR_FP_3DMODEL_rend(self)
21400 r"""clear(VECTOR_FP_3DMODEL self)"""
21401 return _pcbnew.VECTOR_FP_3DMODEL_clear(self)
21404 r"""get_allocator(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::allocator_type"""
21405 return _pcbnew.VECTOR_FP_3DMODEL_get_allocator(self)
21408 r"""pop_back(VECTOR_FP_3DMODEL self)"""
21409 return _pcbnew.VECTOR_FP_3DMODEL_pop_back(self)
21413 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos) -> std::vector< FP_3DMODEL >::iterator
21414 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator first, std::vector< FP_3DMODEL >::iterator last) -> std::vector< FP_3DMODEL >::iterator
21416 return _pcbnew.VECTOR_FP_3DMODEL_erase(self, *args)
21420 __init__(VECTOR_FP_3DMODEL self) -> VECTOR_FP_3DMODEL
21421 __init__(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL other) -> VECTOR_FP_3DMODEL
21422 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size) -> VECTOR_FP_3DMODEL
21423 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size, FP_3DMODEL value) -> VECTOR_FP_3DMODEL
21425 _pcbnew.VECTOR_FP_3DMODEL_swiginit(self, _pcbnew.new_VECTOR_FP_3DMODEL(*args))
21428 r"""push_back(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
21429 return _pcbnew.VECTOR_FP_3DMODEL_push_back(self, x)
21432 r"""front(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
21433 return _pcbnew.VECTOR_FP_3DMODEL_front(self)
21436 r"""back(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
21437 return _pcbnew.VECTOR_FP_3DMODEL_back(self)
21440 r"""assign(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)"""
21441 return _pcbnew.VECTOR_FP_3DMODEL_assign(self, n, x)
21445 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size)
21446 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size, FP_3DMODEL x)
21448 return _pcbnew.VECTOR_FP_3DMODEL_resize(self, *args)
21452 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, FP_3DMODEL x) -> std::vector< FP_3DMODEL >::iterator
21453 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)
21455 return _pcbnew.VECTOR_FP_3DMODEL_insert(self, *args)
21458 r"""reserve(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n)"""
21459 return _pcbnew.VECTOR_FP_3DMODEL_reserve(self, n)
21462 r"""capacity(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
21463 return _pcbnew.VECTOR_FP_3DMODEL_capacity(self)
21464 __swig_destroy__ = _pcbnew.delete_VECTOR_FP_3DMODEL
21467_pcbnew.VECTOR_FP_3DMODEL_swigregister(VECTOR_FP_3DMODEL)
21470 plugin_type = PCB_IO_MGR.GuessPluginTypeFromLibPath( libname );
21471 return PCB_IO_MGR.PluginFind(plugin_type)
21475 return plug.FootprintEnumerate(libname)
21479 return plug.FootprintLoad(libname,name,preserveUUID)
21483 return plug.FootprintSave(libname,module)
21487 plug.FootprintDelete(libname,name)
21491 plug.CreateLibrary(libname)
21495 plug.DeleteLibrary(libname)
21499 plug.FootprintLibIsWritable(libname)
21502 r"""Proxy of C++ PYTHON_FOOTPRINT_WIZARD_LIST class."""
21504 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
21505 __repr__ = _swig_repr
21509 r"""register_wizard(PyObject * wizard)"""
21510 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
21514 r"""deregister_wizard(PyObject * wizard)"""
21515 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
21518 r"""__init__(PYTHON_FOOTPRINT_WIZARD_LIST self) -> PYTHON_FOOTPRINT_WIZARD_LIST"""
21519 _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swiginit(self, _pcbnew.new_PYTHON_FOOTPRINT_WIZARD_LIST())
21520 __swig_destroy__ = _pcbnew.delete_PYTHON_FOOTPRINT_WIZARD_LIST
21523_pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swigregister(PYTHON_FOOTPRINT_WIZARD_LIST)
21525 r"""Proxy of C++ PYTHON_ACTION_PLUGINS class."""
21527 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
21528 __repr__ = _swig_repr
21532 r"""register_action(PyObject * wizard)"""
21533 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
21537 r"""deregister_action(PyObject * wizard)"""
21538 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
21541 r"""__init__(PYTHON_ACTION_PLUGINS self) -> PYTHON_ACTION_PLUGINS"""
21542 _pcbnew.PYTHON_ACTION_PLUGINS_swiginit(self, _pcbnew.new_PYTHON_ACTION_PLUGINS())
21543 __swig_destroy__ = _pcbnew.delete_PYTHON_ACTION_PLUGINS
21546_pcbnew.PYTHON_ACTION_PLUGINS_swigregister(PYTHON_ACTION_PLUGINS)
21549 if type(iu)
in [int,float]:
21550 return float(iu) / float(pcbIUScale.IU_PER_MM)
21551 elif type(iu)
in [wxPoint,wxSize,VECTOR2I,VECTOR2L]:
21552 return tuple(map(ToMM,iu))
21554 raise TypeError(
"ToMM() expects int, float, wxPoint, wxSize, VECTOR2I or VECTOR2L, instead got type " + str(
type(iu)))
21557 if type(mm)
in [int,float]:
21558 return int(float(mm) * float(pcbIUScale.IU_PER_MM))
21559 elif type(mm)
in [wxPoint,wxSize,VECTOR2I,VECTOR2L]:
21560 return tuple(map(FromMM,mm))
21562 raise TypeError(
"FromMM() expects int, float, wxPoint, wxSize, VECTOR2I or VECTOR2L, instead got type " + str(
type(mm)))
21565 if type(iu)
in [int,float]:
21566 return float(iu) / float(pcbIUScale.IU_PER_MILS)
21567 elif type(iu)
in [wxPoint,wxSize,VECTOR2I,VECTOR2L]:
21568 return tuple(map(ToMils,iu))
21570 raise TypeError(
"ToMils() expects int, float, wxPoint, wxSize, VECTOR2I or VECTOR2L, instead got type " + str(
type(iu)))
21573 if type(mils)
in [int,float]:
21574 return int(float(mils)*float(pcbIUScale.IU_PER_MILS))
21575 elif type(mils)
in [wxPoint,wxSize,VECTOR2I,VECTOR2L]:
21576 return tuple(map(FromMils,mils))
21578 raise TypeError(
"FromMils() expects int, float, wxPoint, wxSize, VECTOR2I or VECTOR2L, instead got type " + str(
type(mils)))
21581 thresh =
FromMM(gridSizeMM)
21582 return round(value/thresh)*thresh
21586 return round(value/thresh)*thresh
21611 return wxRect(x,y,wx,wy)
21618 return wxRect(x,y,wx,wy)
21622 """Return the semantic version of KiCad"""
21626 """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 SetTeardropsEnabled(self, aEnable)
def SetTeardropBestWidthRatio(self, aRatio)
def __init__(self, *args, **kwargs)
def SetLocalRatsnestVisible(self, aVisible)
def SetTeardropMaxTrackWidth(self, aRatio)
def GetTeardropAllowSpanTwoTracks(self)
def GetTeardropMaxLength(self)
def GetDisplayNetname(self)
def GetTeardropParams(self, *args)
def GetTeardropBestWidthRatio(self)
def GetClearanceOverrides(self, aSource)
def GetNetClassName(self)
def SetNetCode(self, *args)
def SetTeardropCurved(self, aCurve)
def GetTeardropMaxTrackWidth(self)
def SetTeardropAllowSpanTwoTracks(self, aAllow)
def GetLocalClearance(self, *args)
def SetTeardropMaxWidth(self, aMaxWidth)
def GetLocalRatsnestVisible(self)
def GetShortNetname(self)
def SetTeardropBestLengthRatio(self, aRatio)
def GetTeardropCurved(self)
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 SetDefaultMasterPad(self)
def GetLayerClass(self, aLayer)
def LoadFromFile(self, *args)
def GetUserDefinedLayerCount(self)
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 SetUserDefinedLayerCount(self, aNewLayerCount)
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 CopyFrom(self, aOther)
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 BoardCopperLayerCount(self)
def StyleFromSettings(self, settings)
def SetStroke(self, aStroke)
def __init__(self, *args, **kwargs)
def Rotate(self, aRotCentre, aAngle)
def Flip(self, aCentre, aFlipDirection)
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 Mirror(self, aCentre, aFlipDirection)
def SetLocked(self, aLocked)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def IsTented(self, aLayer)
def BoardLayerCount(self)
def OnBoardHighlightNetChanged(self, aBoard)
def OnBoardItemAdded(self, aBoard, aBoardItem)
def OnBoardRatsnestChanged(self, aBoard)
def OnBoardItemChanged(self, aBoard, aBoardItem)
def OnBoardCompositeUpdate(self, aBoard, aAddedItems, aRemovedItems, aChangedItems)
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 GetEmbeddedFiles(self, *args)
def GetNetsByNetcode(self)
def BuildListOfNets(self)
def GetPadFast(self, aPosition, aLayerMask)
def SetLayerDescr(self, aIndex, aLayer)
def GetLayerName(self, aLayer)
def GetComponentClassManager(self)
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 DetachAllFootprints(self)
def GetFirstFootprint(self)
def GetOutlinesChainingEpsilon(self)
def ResolveTextVar(self, token, aDepth)
def GetUserDefinedLayerCount(self)
def SetHighLightNet(self, aNetCode, aMulti=False)
def ComputeBoundingBox(self, aBoardEdgesOnly=False)
def RemoveAll(self, *args)
def UpdateRatsnestExclusions(self)
def __init__(self, *args, **kwargs)
def GroupsSanityCheckInternal(self, repair)
def SetUserDefinedLayerCount(self, aCount)
def OnItemsChanged(self, aItems)
def FixupEmbeddedData(self)
def GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked=False)
def GetLayerID(self, aLayerName)
def GetCopperLayerStackMaxId(self)
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 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 BulkRemoveStaleTeardrops(self, aCommit)
def GetZoneList(self, aIncludeZonesInFootprints=False)
def SetAreasNetCodesFromNetNames(self)
def OnItemsCompositeUpdate(self, aAddedItems, aRemovedItems, aChangedItems)
def SetLegacyTeardrops(self, aFlag)
def SetPageSettings(self, aPageSettings)
def DeleteAllFootprints(self)
def DpCoupledNet(self, aNet)
def GetStackupOrDefault(self)
def GetBoardEdgesBoundingBox(self)
def FlipLayer(self, aLayer)
def GetFileFormatVersionAtLoad(self)
def UpdateUserUnits(self, aItem, aView)
def GetVisibleLayers(self)
def GetNetClassAssignmentCandidates(self)
def RemoveUnusedNets(self, aCommit)
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 RunOnDescendants(self, aFunction, aDepth=0)
def SetLayerName(self, aLayer, aLayerName)
def ConvertCrossReferencesToKIIDs(self, aSource)
def GetDesignSettings(self)
def LegacyTeardrops(self)
def MapNets(self, aDestBoard)
def SetBoardUse(self, aUse)
def SetUserUnits(self, aUnits)
def SetVisibleElements(self, aMask)
def GetInflated(self, *args)
def SquaredDiagonal(self)
def IntersectsCircle(self, aCenter, aRadius)
def Contains(self, *args)
def GetWithOffset(self, aMoveVector)
def __init__(self, *args)
def SetOrigin(self, *args)
def ByCenter(aCenter, aSize)
def GetBoundingBoxRotated(self, aRotCenter, aAngle)
def NearestPoint(self, aPoint)
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 ByCorners(aCorner1, aCorner2)
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 FindNearestLegacyColor(aR, aG, aB)
def Darken(self, aFactor)
def Mix(self, aColor, aFactor)
def Brighten(self, aFactor)
def ToHSL(self, aOutHue, aOutSaturation, aOutLightness)
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 ContrastRatio(aLeft, aRight)
def ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue=False)
def RelativeLuminance(self)
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 GetNetNameForNetCode(self, nc)
def GetUnconnectedCount(self, aVisibileOnly)
def GetConnectivityAlgo(self)
def RefreshNetcodeMap(self, aBoard)
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 HasNetNameForNetCode(self, nc)
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 SetIsRollover(self, aIsRollover)
def GetMsgPanelInfo(self, aFrame, aList)
def XorFlags(self, aMask)
def GetItemDescription(self, aUnitsProvider, aFull)
def RenderAsBitmap(self, aWorldScale)
def ClearBrightened(self)
def ClearFlags(self, *args)
def IsShownAsBitmap(self)
def GetSortPosition(self)
def SetIsShownAsBitmap(self, aBitmap)
def GetEmbeddedFiles(self)
def SetFlags(self, aMask)
def GetFriendlyName(self)
def Visit(self, inspector, testData, aScanTypes)
def Matches(self, aSearchData, aAuxData)
def SetPosition(self, aPos)
def __init__(self, aIUPerMM)
def SHAPE_T_asString(self)
def IsFilledForHitTesting(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 SetRectangleHeight(self, aHeight)
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 GetCornersInSequence(self)
def SetLineStyle(self, aStyle)
def SetIsProxyItem(self, aIsProxy=True)
def SetWidth(self, aWidth)
def SetRectangleWidth(self, aWidth)
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 Deserialize(self, aContainer)
def SetCenter(self, aCenter)
def SetBezierC1(self, aPt)
def SetShape(self, aShape)
def SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
def SetFillMode(self, aFill)
def RebuildBezierToSegmentsPointsList(self, aMaxError)
def __init__(self, *args)
def SetLineColor(self, aColor)
def Serialize(self, aContainer)
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 GetTextBox(self, aLine=-1)
def SetVertJustify(self, aType)
def GetShownText(self, aAllowExtraText, aDepth=0)
def Similarity(self, aOther)
def SetMultilineAllowed(self, aAllow)
def SetTextThickness(self, aWidth)
def GetTextThickness(self)
def SetupRenderCache(self, aResolvedText, aFont, aAngle, aOffset)
def Format(self, aFormatter, aControlBits)
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 ResolveFont(self, aEmbeddedFonts)
def TextHitTest(self, *args)
def Serialize(self, aContainer)
def Deserialize(self, aContainer)
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 SetUnresolvedFontName(self, aFontName)
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 __init__(self, aBoard)
def ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
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, aFootprintFilter=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 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 ClearUserDefinedLayers(self)
def Contains(self, aLayer)
def RemoveLayer(self, layer)
def addLayer(self, aLayer)
def UserDefinedLayersMask(aUserDefinedLayerCount=45)
def SeqStackupForPlotting(self)
def AddLayer(self, layer)
def IsBetween(aStart, aEnd, aLayer)
def FlipStandardLayers(self, aCopperLayersCount=0)
def addLayerSet(self, aLayerSet)
def AllCuMask(aCuLayerCount=32)
def ForbiddenFootprintLayers()
def removeLayerSet(self, aLayerSet)
def AddLayerSet(self, layers)
def __init__(self, *args)
def ClearNonCopperLayers(self)
def TechAndUserUIOrder(self)
def ClearCopperLayers(self)
def ParseHex(self, aString)
def RunOnLayers(self, aFunction)
def LayerCount(aStart, aEnd, aCopperLayerCount)
def removeLayer(self, aLayer)
def RemoveLayerSet(self, layers)
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, *args)
def HitTestMarker(self, *args)
def SetMarkerType(self, aMarkerType)
def ShapeToPolygon(self, aPolygon, aScale=-1)
def __init__(self, *args, **kwargs)
def SetMarkerScale(self, aScale)
def SetClearanceParent(self, parent)
def SetBusWidth(self, aWidth)
def HasuViaDiameter(self)
def SetViaDiameterParent(self, parent)
def SetTrackWidth(self, aWidth)
def SetDiffPairWidthParent(self, parent)
def GetViaDiameterParent(self)
def GetViaDiameterOpt(self)
def SetBusWidthParent(self, parent)
def SetuViaDiameter(self, aSize)
def GetDiffPairWidthOpt(self)
def __init__(self, aName, aInitWithDefaults=True)
def Serialize(self, aContainer)
def HasDiffPairWidth(self)
def ResetParameters(self)
def GetClearanceParent(self)
def GetConstituentNetclasses(self)
def SetDescription(self, aDesc)
def SetDiffPairViaGapParent(self, parent)
def GetDiffPairViaGapOpt(self)
def SetWireWidthParent(self, parent)
def SetPriority(self, aPriority)
def GetDiffPairGapOpt(self)
def GetWireWidthOpt(self)
def GetDiffPairGapParent(self)
def SetLineStyle(self, aStyle)
def SetConstituentNetclasses(self, constituents)
def GetClearanceOpt(self)
def GetLineStyleParent(self)
def GetBusWidthParent(self)
def GetuViaDrillParent(self)
def GetViaDrillParent(self)
def SetDiffPairGap(self, aSize)
def GetSchematicColorParent(self)
def GetPcbColor(self, aIsForSave=False)
def GetLineStyleOpt(self)
def GetTrackWidthOpt(self)
def SetDiffPairViaGap(self, aSize)
def GetDiffPairViaGap(self)
def GetDiffPairWidth(self)
def SetPcbColor(self, aColor)
def SetSchematicColorParent(self, parent)
def SetuViaDrillParent(self, parent)
def GetuViaDiameterOpt(self)
def GetDiffPairWidthParent(self)
def Deserialize(self, aContainer)
def SetWireWidth(self, aWidth)
def SetSchematicColor(self, aColor)
def GetDiffPairViaGapParent(self)
def SetTrackWidthParent(self, parent)
def GetuViaDrillOpt(self)
def SetViaDiameter(self, aDia)
def GetWireWidthParent(self)
def ContainsNetclassWithName(self, netclass)
def SetPcbColorParent(self, parent)
def SetuViaDiameterParent(self, parent)
def GetTrackWidthParent(self)
def SetDiffPairGapParent(self, parent)
def SetClearance(self, aClearance)
def GetSchematicColor(self, aIsForSave=False)
def HasDiffPairViaGap(self)
def GetuViaDiameter(self)
def SetuViaDrill(self, aSize)
def GetuViaDiameterParent(self)
def GetPcbColorParent(self)
def GetHumanReadableName(self)
def SetViaDrill(self, aSize)
def SetLineStyleParent(self, parent)
def SetViaDrillParent(self, parent)
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 SetParent(self, aParent)
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 GetNetColorAssignments(self)
def GetNetclassPatternAssignments(self)
def HasEffectiveNetClass(self, aNetName)
def SetNetclassPatternAssignments(self, netclassPatterns)
def GetDefaultNetclass(self)
def HasNetclass(self, netclassName)
def ParseBusGroup(aGroup, name, aMemberList)
def GetEffectiveNetClass(self, aNetName)
def ClearNetColorAssignments(self)
def GetCachedEffectiveNetClass(self, aNetName)
def AppendNetclassLabelAssignment(self, netName, netclasses)
def SetNetclassLabelAssignment(self, netName, netclasses)
def SetNetclass(self, netclassName, netclass)
def GetNetClassByName(self, aNetName)
def SetNetColorAssignment(self, netName, color)
def HasNetclassLabelAssignment(self, netName)
def SetNetclassPatternAssignment(self, pattern, netclass)
def __init__(self, aParent, aPath)
def ClearNetclassLabelAssignments(self)
def SetNetclasses(self, netclasses)
def ClearCacheForNet(self, netName)
def ClearNetclassPatternAssignments(self)
def RecomputeEffectiveNetclasses(self)
def GetNetclassLabelAssignments(self)
def ClearNetclasses(self)
def SetDefaultNetclass(self, netclass)
def GetCompositeNetclasses(self)
def ClearNetclassLabelAssignment(self, netName)
def ParseBusVector(aBus, aName, aMemberList)
def Primitives(self, *args)
def Similarity(self, aOther)
def ChamferPositions(self, *args)
def SetThermalSpokeAngle(self, aAngle, aLayer=F_Cu)
def AppendPrimitives(self, aPrimitivesList, aLayer)
def SetLayerSet(self, aSet)
def SetRoundRectRadius(self, aRadius, aLayer)
def SetUnconnectedLayerMode(self, aMode)
def IsTented(self, aSide)
def AddPrimitive(self, aShape, aLayer)
def RoundRectRadius(self, aLayer)
def RelevantShapeLayers(self, aOther)
def SolderPasteMargin(self, *args)
def Serialize(self, aContainer)
def FlipLayers(self, aCopperLayerCount)
def EffectiveLayerFor(self, aLayer)
def ClearPrimitives(self, aLayer)
def SetRoundRectRadiusRatio(self, aRatio, aLayer)
def DefaultThermalSpokeAngleForShape(self, aLayer=F_Cu)
def SecondaryDrill(self, *args)
def SolderMaskMargin(self, *args)
def SetSize(self, aSize, aLayer)
def Clearance(self, *args)
def CopperLayer(self, *args)
def ZoneConnection(self, *args)
def ThermalGap(self, *args)
def LayerSet(self, *args)
def ForEachUniqueLayer(self, aMethod)
def ThermalSpokeAngle(self, aLayer=F_Cu)
def SetDrillShape(self, aShape)
def SetChamferPositions(self, aPositions, aLayer)
def SolderPasteMarginRatio(self, *args)
def RoundRectRadiusRatio(self, aLayer)
def ReplacePrimitives(self, aPrimitivesList, aLayer)
def __init__(self, *args)
def FrontOuterLayers(self, *args)
def SetShape(self, aShape, aLayer)
def Compare(aPadstackRef, aPadstackCmp)
def SetOrientation(self, aAngle)
def ChamferRatio(self, aLayer)
def SetChamferRatio(self, aRatio, aLayer)
def SetAnchorShape(self, aShape, aLayer)
def ThermalSpokeWidth(self, *args)
def SetCustomShapeInZoneMode(self, aM)
def AnchorShape(self, aLayer)
def Deserialize(self, aContainer)
def BackOuterLayers(self, *args)
def CustomShapeInZoneMode(self)
def UnconnectedLayerMode(self)
def TrapezoidDeltaSize(self, *args)
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 SetOffset(self, *args)
def ConditionallyFlashed(self, aLayer)
def SetRoundRectRadiusRatio(self, *args)
def ReplacePrimitives(self, aLayer, aPrimitivesList)
def Serialize(self, aContainer)
def Recombine(self, aIsDryRun, aMaxError)
def GetAnchorPadShape(self, aLayer)
def GetLocalSpokeWidthOverride(self, aSource=None)
def SetThermalSpokeAngleDegrees(self, aAngle)
def ShapePos(self, aLayer)
def SetLocalThermalGapOverride(self, aOverride)
def GetRemoveUnconnected(self)
def GetLocalZoneConnection(self)
def GetOffset(self, *args)
def SetThermalSpokeAngle(self, aAngle)
def DeletePrimitivesList(self, aLayer=UNDEFINED_LAYER)
def GetBoundingRadius(self)
def SetChamferPositions(self, *args)
def SetLocalSolderPasteMarginRatio(self, aRatio)
def SetDrillSizeX(self, aX)
def SetPinType(self, aType)
def Padstack(self, *args)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc=ERROR_INSIDE, ignoreLineWidth=False)
def SetPadstack(self, aPadstack)
def GetRoundRectRadiusRatio(self, *args)
def SetLocalThermalSpokeWidthOverride(self, aWidth)
def Compare(aPadRef, aPadCmp)
def GetLocalSolderPasteMargin(self)
def SetChamferRectRatio(self, *args)
def SetFrontRoundRectRadiusSize(self, aRadius)
def GetSolderPasteMargin(self, aLayer)
def GetKeepTopBottom(self)
def GetSolderMaskExpansion(self, aLayer)
def SetDrillSizeY(self, aY)
def SetAttribute(self, aAttribute)
def GetPadToDieLength(self)
def GetZoneLayerOverride(self, aLayer)
def SetUnconnectedLayerMode(self, aMode)
def SetOrientation(self, aAngle)
def SameLogicalPadAs(self, aOther)
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 AppendPrimitives(self, aLayer, aPrimitivesList)
def SetFrontRoundRectRadiusRatio(self, aRadiusScale)
def GetChamferRectRatio(self, *args)
def SetKeepTopBottom(self, aSet)
def SetAnchorPadShape(self, aLayer, aShape)
def GetLocalThermalSpokeWidthOverride(self)
def SetOrientationDegrees(self, aOrientation)
def FlipPrimitives(self, aFlipDirection)
def CanFlashLayer(self, aLayer)
def GetEffectivePolygon(self, aLayer, aErrorLoc=ERROR_INSIDE)
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 SetLocalZoneConnection(self, aType)
def SetFrontShape(self, aShape)
def FlashLayer(self, *args)
def BuildEffectiveShapes(self)
def SetDrillSize(self, aSize)
def SetPadName(self, aName)
def GetUnconnectedLayerMode(self)
def SetSubRatsnest(self, aSubRatsnest)
def AddPrimitive(self, *args)
def GetPrimitives(self, aLayer)
def GetFrontRoundRectRadiusSize(self)
def AddPrimitiveShape(self, aLayer, aPrimitive)
def GetCustomShapeAsPolygon(self, layer=UNDEFINED_LAYER)
def SetDelta(self, *args)
def Deserialize(self, aContainer)
def __init__(self, *args)
def GetRoundRectCornerRadius(self, *args)
def GetFrontRoundRectRadiusRatio(self)
def GetEffectiveShape(self, *args)
def GetLocalSolderMaskMargin(self)
def AddPrimitivePoly(self, *args)
def BuildEffectivePolygon(self, aErrorLoc=ERROR_INSIDE)
def GetThermalSpokeAngleDegrees(self)
def GetShape(self, *args)
def CheckPad(self, aUnitsProvider, aForPadProperties, aErrorHandler)
def SetLocalClearance(self, aClearance)
def MergePrimitivesAsPolygon(self, aLayer, aMergedPolygon, aErrorLoc=ERROR_INSIDE)
def ImportSettingsFrom(self, aMasterPad)
def SharesNetTieGroup(self, aOther)
def GetZoneConnectionOverrides(self, aSource=None)
def SetLocalSolderMaskMargin(self, aMargin)
def GetChamferPositions(self, *args)
def TransformHoleToPolygon(self, aBuffer, aClearance, aError, aErrorLoc=ERROR_INSIDE)
def SetShape(self, *args)
def GetLocalThermalGapOverride(self, *args)
def GetCustomShapeInZoneOpt(self)
def ViewGetLOD(self, aLayer, aView)
def GetThermalSpokeAngle(self)
def ShowPadShape(self, aLayer)
def SetRoundRectCornerRadius(self, *args)
def SetNumber(self, aNumber)
def SetZoneLayerOverride(self, aLayer, aOverride)
def GetDelta(self, *args)
def SetFPRelativeOrientation(self, aAngle)
def GetLocalClearance(self, *args)
def Deserialize(self, aContainer)
def GetArcAngleStart(self)
def GetEffectiveShape(self, *args)
def IsDegenerated(self, aThreshold=5)
def Serialize(self, aContainer)
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 Serialize(self, aContainer)
def GetOverrideText(self)
def ChangeSuffix(self, aSuffix)
def ChangePrecision(self, aPrecision)
def ChangeKeepTextAligned(self, aKeepAligned)
def GetOverrideTextEnabled(self)
def SetAutoUnits(self, aAuto=True)
def SetMeasuredValue(self, aValue)
def SetSuppressZeroes(self, aSuppress)
def ChangeTextAngleDegrees(self, aDegrees)
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 SetArrowDirection(self, aDirection)
def ChangeUnitsMode(self, aMode)
def Deserialize(self, aContainer)
def GetTextAngleDegreesProp(self)
def GetArrowDirection(self)
def GetLineThickness(self)
def ChangeArrowDirection(self, aDirection)
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 Serialize(self, aContainer)
def UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
def SetHeight(self, aHeight)
def __init__(self, aParent, aType=PCB_DIM_ALIGNED_T)
def GetExtensionHeight(self)
def ChangeHeight(self, aHeight)
def Deserialize(self, aContainer)
def ChangeExtensionHeight(self, aHeight)
def Deserialize(self, aContainer)
def Serialize(self, aContainer)
def __init__(self, aParent)
def Deserialize(self, aContainer)
def __init__(self, aParent)
def ChangeTextBorder(self, aBorder)
def SetTextBorder(self, aBorder)
def Serialize(self, aContainer)
def __init__(self, aParent)
def SetOrientation(self, aOrientation)
def Serialize(self, aContainer)
def Deserialize(self, aContainer)
def SetLeaderLength(self, aLength)
def Deserialize(self, aContainer)
def Serialize(self, aContainer)
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 __getitem__(self, *args)
def __init__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __setslice__(self, *args)
def __delitem__(self, *args)
def __delslice__(self, i, j)
def __init__(self, *args)
def GetName(self, aUseDefaultName=True)
def GetCanonicalName(self)
def Serialize(self, aContainer)
def IsComponentClass(self)
def ViewGetLOD(self, aLayer, aView)
def Deserialize(self, aContainer)
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 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, aReporter)
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 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 SetShapes1(self, aShapes)
def SetZoom(self, aZoomFactor)
def GetEffectiveShape(self, *args)
def DeserializeFromString(data)
def SetShapes2(self, aShapes)
def SerializeToString(self)
def SetFineScaleAdjustY(self, aVal)
def GetDashedLineGapRatio(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 Format(self, aFormatter)
def GetSketchDNPFPsOnFabLayers(self)
def SetDashedLineDashRatio(self, aVal)
def GetGerberPrecision(self)
def SetUseGerberX2format(self, aUse)
def SetTextMode(self, aVal)
def SetSvgPrecision(self, aPrecision)
def SetPlotFPText(self, aFlag)
def IsSameAs(self, aPcbPlotParams)
def GetPlotOnAllLayersSequence(self)
def SetUseAuxOrigin(self, aAux)
def SetSvgFitPageToBoard(self, aSvgFitPageToBoard)
def SetSubtractMaskFromSilk(self, aSubtract)
def SetAutoScale(self, aFlag)
def GetLegacyPlotViaOnMaskLayer(self)
def GetPlotFrameRef(self)
def GetDXFPlotPolygonMode(self)
def GetIncludeGerberNetlistInfo(self)
def SetMirror(self, aFlag)
def GetSvgPrecision(self)
def GetSvgFitPagetoBoard(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 GetDXFPlotUnits(self)
def GetDashedLineDashRatio(self)
def SetIncludeGerberNetlistInfo(self, aUse)
def GetHideDNPFPsOnFabLayers(self)
def SetDisableGerberMacros(self, aDisable)
def SetSketchDNPFPsOnFabLayers(self, aFlag)
def SetPlotOnAllLayersSequence(self, aSeq)
def SetCreateGerberJobFile(self, aCreate)
def SetGerberPrecision(self, aPrecision)
def SetSketchPadsOnFabLayers(self, aFlag)
def SetCrossoutDNPFPsOnFabLayers(self, aFlag)
def GetHPGLPenDiameter(self)
def SetHideDNPFPsOnFabLayers(self, aFlag)
def GetCrossoutDNPFPsOnFabLayers(self)
def GetBlackAndWhite(self)
def GetUseGerberProtelExtensions(self)
def GetPlotPadNumbers(self)
def GetSubtractMaskFromSilk(self)
def SetDXFPlotPolygonMode(self, aFlag)
def SetOutputDirectory(self, aDir)
def SetPlotPadNumbers(self, aFlag)
def SetHPGLPenSpeed(self, aValue)
def SetPlotValue(self, aFlag)
def SetNegative(self, aFlag)
def SetHPGLPenDiameter(self, aValue)
def GetSkipPlotNPTH_Pads(self)
def __init__(self, *args)
def GetReferenceImage(self, *args)
def GetEffectiveShape(self, *args)
def ViewGetLOD(self, aLayer, aView)
def GetLocalSolderMaskMargin(self)
def GetEffectiveShape(self, *args)
def GetSolderMaskExpansion(self)
def __init__(self, *args)
def GetConnectionPoints(self)
def SetHasSolderMask(self, aVal)
def ViewGetLOD(self, aLayer, aView)
def SetIsProxyItem(self, aIsProxy=True)
def Serialize(self, aContainer)
def SetLocalSolderMaskMargin(self, aMargin)
def GetArcAngleStart(self)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def Deserialize(self, aContainer)
def DrawBorders(self, aCallback)
def SetStrokeColumns(self, aDoStroke)
def SetSeparatorsColor(self, aColor)
def DeleteMarkedCells(self)
def SetColWidth(self, aCol, aWidth)
def SetSeparatorsStroke(self, aParams)
def SetBorderStyle(self, aStyle)
def GetBorderStroke(self)
def SetStrokeRows(self, aDoStroke)
def SetPositionX(self, x)
def GetSeparatorsWidth(self)
def SetSeparatorsWidth(self, aWidth)
def GetCell(self, aRow, aCol)
def SetRowHeight(self, aRow, aHeight)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth=False)
def SetBorderStroke(self, aParams)
def RemoveNative(self, *args)
def GetSeparatorsColor(self)
def GetEffectiveShape(self, *args)
def AddNative(self, *args)
def SetBorderColor(self, aColor)
def SetStrokeExternal(self, aDoStroke)
def SetSeparatorsStyle(self, aStyle)
def GetColWidth(self, aCol)
def SetStrokeHeaderSeparator(self, aDoStroke)
def Compare(aTable, aOther)
def GetRowHeight(self, aRow)
def SetPositionY(self, y)
def SetColCount(self, aCount)
def GetSeparatorsStroke(self)
def StrokeHeaderSeparator(self)
def InsertCell(self, aIdx, aCell)
def GetSeparatorsStyle(self)
def SetBorderWidth(self, aWidth)
def __init__(self, *args)
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 __init__(self, aParent, aType=PCB_TEXTBOX_T)
def SetBorderWidth(self, aSize)
def GetLegacyTextMargin(self)
def Deserialize(self, aContainer)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth=False)
def GetDrawPos(self, *args)
def ViewGetLOD(self, aLayer, aView)
def SetMarginTop(self, aTop)
def SetMarginRight(self, aRight)
def GetMarginBottom(self)
def Serialize(self, aContainer)
def SetMarginBottom(self, aBottom)
def SetBorderEnabled(self, enabled)
def SetMarginLeft(self, aLeft)
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 Serialize(self, aContainer)
def Deserialize(self, aContainer)
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 SetLocalSolderMaskMargin(self, aMargin)
def GetLocalSolderMaskMargin(self)
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 ViewGetLOD(self, aLayer, aView)
def Deserialize(self, aContainer)
def SetHasSolderMask(self, aVal)
def GetSolderMaskExpansion(self)
def GetWidthConstraint(self, aSource=None)
def Serialize(self, aContainer)
def SetFrontTentingMode(self, aMode)
def LayerPair(self, top_layer, bottom_layer)
def SetKeepStartEnd(self, aSet)
def Serialize(self, aContainer)
def HasValidLayerPair(self, aCopperLayerCount)
def GetOutermostConnectedLayers(self, aTopmost, aBottommost)
def SetFrontWidth(self, aWidth)
def GetMinAnnulus(self, aLayer, aSource)
def ConditionallyFlashed(self, aLayer)
def GetKeepStartEnd(self)
def SetPadstack(self, aPadstack)
def GetWidth(self, *args)
def SetViaType(self, aViaType)
def SetWidth(self, *args)
def SetBackTentingMode(self, aMode)
def SetZoneLayerOverride(self, aLayer, aOverride)
def GetDrillConstraint(self, aSource=None)
def GetBackTentingMode(self)
def GetRemoveUnconnected(self)
def ViewGetLOD(self, aLayer, aView)
def Padstack(self, *args)
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 Deserialize(self, aContainer)
def SetDrillDefault(self)
def SetLayerPair(self, aTopLayer, aBottomLayer)
def GetFrontTentingMode(self)
def SetTopLayer(self, aLayer)
def SetIsFree(self, aFree=True)
def GetFootprintCount(self)
def DecorateFilename(aBaseName, aFront, aBack)
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 SetPlotMirrored(self, aMirror)
def SetRenderSettings(self, aSettings)
def FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
def SetAuthor(self, aAuthor)
def GetPlotMirrored(self)
def SetCurrentLineWidth(self, width, aData=None)
def PlotText(self, *args)
def FlashPadOval(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
def SetSubject(self, aSubject)
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 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 NearestPoints(self, aSeg, aPtA, aPtB, aDistSq)
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 IsProjectOpenNotDummy(self)
def BackupProject(self, aReporter, aTarget)
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 DefaultAccuracyForPCB()
def IsEffectiveLine(self)
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 NearestPoints(self, *args)
def Intersect(self, *args)
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 Simplify2(self, aRemoveColinear=True)
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 SelfIntersectingWithArcs(self)
def ReservePoints(self, aSize)
def GenerateBBoxCache(self)
def ClosestSegments(aMyPrevPt, aMyStart, aMyEnd, aOtherPrevPt, aOtherStart, aOtherEnd, aPt0, aPt1, aDistSq)
def PointAlong(self, aPathLength)
def SetWidth(self, aWidth)
def IsPtOnArc(self, aPtIndex)
def Intersect(self, *args)
def NearestPoint(self, *args)
def ClosestSegmentsFast(self, aOther, aPt0, aPt1)
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 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 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 Mirror(self, aRef, aFlipDirection)
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 RemoveContour(self, aContourIdx, aPolygonIdx=-1)
def RemoveOutline(self, aOutlineIdx)
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 InflateWithLinkedHoles(self, aFactor, aCornerStrategy, aMaxError)
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 BuildPolysetFromOrientedPaths(self, aPaths, aEvenOdd=False)
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 GetInflated(self, aOffset)
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 Format(self, aFormatter)
def SetComment(self, aIdx, aComment)
def SetRevision(self, aRevision)
def TextVarResolver(self, aToken, aProject, aFlags=0)
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 OptionalValueFromString(self, *args)
def ValueFromString(self, *args)
def StringFromOptionalValue(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 Distance(self, aVector)
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 SquaredDistance(self, aVector)
def __lt__(self, aVector)
def __iadd__(self, *args)
def __isub__(self, *args)
def __getitem__(self, index)
def Resize(self, aNewLength)
def __lt__(self, aVector)
def __imul__(self, *args)
def SquaredEuclideanNorm(self)
def __gt__(self, aVector)
def __ne__(self, aVector)
def __setitem__(self, index, val)
def __iadd__(self, *args)
def __truediv__(self, *args)
def SquaredDistance(self, aVector)
def __le__(self, aVector)
def __eq__(self, aVector)
def __isub__(self, *args)
def __ge__(self, aVector)
def __init__(self, *args)
def Distance(self, aVector)
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 GetRuleAreaPlacementSource(self)
def SetIsRuleArea(self, aEnable)
def HasKeepoutParametersSet(self)
def GetDoNotAllowFootprints(self)
def SetCornerRadius(self, aRadius)
def SetupLayersList(self, aList, aFrame, aLayers, aFpEditorMode)
def SetDoNotAllowPads(self, aEnable)
def SetDoNotAllowTracks(self, aEnable)
def SetRuleAreaPlacementEnabled(self, aEnabled)
def GetDoNotAllowTracks(self)
def SetMinIslandArea(self, aArea)
def SetPadConnection(self, aPadConnection)
def SetRuleAreaPlacementSourceType(self, aType)
def GetDoNotAllowCopperPour(self)
def __lshift__(self, aSource)
def GetCornerRadius(self)
def SetRuleAreaPlacementSource(self, aSource)
def GetRuleAreaPlacementSourceType(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 GetRuleAreaPlacementEnabled(self)
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 GetDoNotAllowCopperPour(self)
def SameNet(self, aOther)
def SetDoNotAllowVias(self, aEnable)
def GetDefaultHatchPitch()
def GetThermalReliefSpokeWidth(self)
def GetDoNotAllowVias(self)
def GetRuleAreaPlacementSource(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 GetRuleAreaPlacementEnabled(self)
def SetCornerRadius(self, aRadius)
def SetHatchStyle(self, aStyle)
def GetBorderHatchPitch(self)
def GetHashValue(self, aLayer)
def GetRuleAreaPlacementSourceType(self)
def CacheBoundingBox(self)
def SetRuleAreaPlacementEnabled(self, aEnabled)
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 SetRuleAreaPlacementSourceType(self, aType)
def Deserialize(self, aContainer)
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 HasKeepoutParametersSet(self)
def GetFilledPolysList(self, aLayer)
def TransformSolidAreasShapesToPolygon(self, aLayer, aBuffer)
def SetMinThickness(self, aMinThickness)
def SetHatchGap(self, aStep)
def Serialize(self, aContainer)
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 SetRuleAreaPlacementSource(self, aSource)
def SetLayerSetAndRemoveUnusedFills(self, aLayerSet)
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 __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 __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 reserve(self, __res_arg)
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 FormatInternalUnits(*args)
def EnsureFileExtension(aFilename, aExtension)
def Cast_to_PCB_DIM_RADIAL(arg1)
def Cast_to_SHAPE_ARC(_self)
def IsExternalCopperLayer(aLayerId)
def MessageTextFromMinOptMax(aIuScale, aUnits, aValue)
def FootprintLibDelete(libname)
def GetFlippedAlignment(*args)
def FootprintDelete(libname, name)
def GetWizardsSearchPaths()
def Cast_to_PCB_MARKER(arg1)
def LoadPlugins(bundlepath=None, userpath=None, thirdpartypath=None)
def MessageTextFromValue(*args)
def ExportVRML(aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
def ResolveUriByEnvVars(aUri, aProject)
def IsGerbviewType(aType)
def SetOpenGLInfo(aRenderer, aVendor, aVersion)
def Cast_to_PCB_DIM_ORTHOGONAL(arg1)
def Cast_to_SHAPE_CIRCLE(_self)
def InvokeRuleAreaEditor(aCaller, aSettings, aBoard=None, aConvertSettings=None)
def wxPointMils(mmx, mmy)
def FootprintIsWritable(libname)
def FootprintLibCreate(libname)
def SearchHelpFileFullPath(aBaseName)
def VECTOR2I_MM(mmx, mmy)
def IsViaPadLayer(aLayer)
def IsZoneFillLayer(aLayer)
def BoardLayerFromLegacyId(aLegacyId)
def FlipLayer(aLayerId, aCopperLayersCount=0)
def Cast_to_PCB_TEXT(arg1)
def wxRectMils(x, y, wx, wy)
def FetchUnitsFromString(aTextValue, aUnits)
def Cast_to_SHAPE_SIMPLE(_self)
def ExpandTextVars(*args)
def Cast_to_PCB_TARGET(arg1)
def wxRectMM(x, y, wx, wy)
def IsInstantiableType(aType)
def EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter=None)
def UpdateUserInterface()
def FootprintLoad(libname, name, preserveUUID=False)
def FootprintEnumerate(libname)
def PlotDrawingSheet(*args)
def __lshift__(aStream, aColor)
def Mils2IU(aIuScale, mils)
def GetVersionInfoData(aTitle, aHtml=False, aBrief=False)
def IsClearanceLayer(aLayer)
def GetMajorMinorVersion()
def FocusOnItem(aItem, aLayer=UNDEFINED_LAYER)
def IsNetnameLayer(aLayer)
def CopperLayerToOrdinal(aLayer)
def Cast_to_SHAPE_POLY_SET(_self)
def ExportSpecctraDSN(*args)
def InvokeCopperZonesEditor(aCaller, aSettings, aConvertSettings=None)
def GetMajorMinorPatchTuple()
def _swig_setattr_nondynamic_instance_variable(set)
def GetCurrentSelection()
def wxGetDefaultPyEncoding()
def IsImperialUnit(aUnit)
def SaveBoard(aFileName, aBoard, aSkipSettings=False)
def MapPCBLayerTo3DLayer(aLayer)
def PrintZoneConnection(aConnection)
def IsEeschemaType(aType)
def Cast_to_SHAPE_RECT(_self)
def Cast_to_PCB_TRACK(arg1)
def Cast_to_SHAPE_SEGMENT(_self)
def PutOnGridMM(value, gridSizeMM)
def InvokeNonCopperZonesEditor(aParent, aSettings, aConvertSettings=None)
def Cast_to_SHAPE_COMPOUND(_self)
def IsCopperLayerLowerThan(aLayerA, aLayerB)
def DoubleValueFromString(*args)
def IsFrontLayer(aLayerId)
def Cast_to_FOOTPRINT(arg1)
def StringFromValue(*args)
def ImportSpecctraSES(*args)
def ValueFromString(*args)
def Cast_to_PCB_DIM_CENTER(arg1)
def ExportFootprintsToLibrary(*args)
def PutOnGridMils(value, gridSizeMils)
def IsSolderMaskLayer(aLayer)
def Cast_to_PCB_REFERENCE_IMAGE(arg1)
def IsUserLayer(aLayerId)
def GetMajorMinorPatchVersion()
def IsPageLayoutEditorType(aType)
def SHAPE_TYPE_asString(a)
def VECTOR2I_Mils(mmx, mmy)
def Cast_to_PCB_VIA(arg1)
def TimestampDir(aDirPath, aFilespec)
def GetFootprints(aNickName)
def WriteDRCReport(aBoard, aFileName, aUnits, aReportAllTrackErrors)
def Cast_to_PCB_TABLE(arg1)
def GetNetnameLayer(aLayer)
def Cast_to_PCB_ARC(arg1)
def Cast_to_PCB_SHAPE(arg1)
def GetPluginForPath(libname)
def IsBackLayer(aLayerId)
def Cast_to_PCB_DIM_LEADER(arg1)
def Cast_to_PCB_GROUP(arg1)
def ExpandEnvVarSubstitutions(aString, aProject)
def wxSetDefaultPyEncoding(encoding)
def WarnUserIfOperatingSystemUnsupported()
def SafeReadFile(aFilePath, aReadType)
def GetFootprintLibraries()
def _swig_add_metaclass(metaclass)
def Map3DLayerToPCBLayer(aLayer)
def IsInnerCopperLayer(aLayerId)
def Cast_to_SHAPE_LINE_CHAIN(_self)
def IsNonCopperLayer(aLayerId)
def GetWizardsBackTrace()
def LoadPluginModule(Dirname, ModuleName, FileName)
def IsPadCopperLayer(aLayer)
def GetDefaultPlotExtension(aFormat)
def GetPlatformGetBitnessName()
def ToUserUnit(aIuScale, aUnit, aValue)
def Cast_to_PCB_TEXTBOX(arg1)
def Cast_to_PCB_DIM_ALIGNED(arg1)
def Cast_to_BOARD_ITEM(base)
def FootprintSave(libname, module)
def IsViaCopperLayer(aLayer)
def FromUserUnit(aIuScale, aUnit, aValue)