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__)
61class SwigPyIterator(
object):
62 r"""Proxy of C++ swig::SwigPyIterator class."""
64 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
66 def __init__(self, *args, **kwargs):
67 raise AttributeError(
"No constructor defined - class is abstract")
69 __swig_destroy__ = _pcbnew.delete_SwigPyIterator
72 r"""value(SwigPyIterator self) -> PyObject *"""
73 return _pcbnew.SwigPyIterator_value(self)
76 r"""incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
77 return _pcbnew.SwigPyIterator_incr(self, n)
80 r"""decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
81 return _pcbnew.SwigPyIterator_decr(self, n)
83 def distance(self, x):
84 r"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
85 return _pcbnew.SwigPyIterator_distance(self, x)
88 r"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
89 return _pcbnew.SwigPyIterator_equal(self, x)
92 r"""copy(SwigPyIterator self) -> SwigPyIterator"""
93 return _pcbnew.SwigPyIterator_copy(self)
96 r"""next(SwigPyIterator self) -> PyObject *"""
97 return _pcbnew.SwigPyIterator_next(self)
100 r"""__next__(SwigPyIterator self) -> PyObject *"""
101 return _pcbnew.SwigPyIterator___next__(self)
104 r"""previous(SwigPyIterator self) -> PyObject *"""
105 return _pcbnew.SwigPyIterator_previous(self)
107 def advance(self, n):
108 r"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
109 return _pcbnew.SwigPyIterator_advance(self, n)
112 r"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
113 return _pcbnew.SwigPyIterator___eq__(self, x)
116 r"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
117 return _pcbnew.SwigPyIterator___ne__(self, x)
119 def __iadd__(self, n):
120 r"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
121 return _pcbnew.SwigPyIterator___iadd__(self, n)
123 def __isub__(self, n):
124 r"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
125 return _pcbnew.SwigPyIterator___isub__(self, n)
127 def __add__(self, n):
128 r"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
129 return _pcbnew.SwigPyIterator___add__(self, n)
131 def __sub__(self, *args):
133 __sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
134 __sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
136 return _pcbnew.SwigPyIterator___sub__(self, *args)
141_pcbnew.SwigPyIterator_swigregister(SwigPyIterator)
143 r"""Proxy of C++ std::basic_string< char > class."""
145 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
146 __repr__ = _swig_repr
149 r"""length(string self) -> std::basic_string< char >::size_type"""
150 return _pcbnew.string_length(self)
153 r"""max_size(string self) -> std::basic_string< char >::size_type"""
154 return _pcbnew.string_max_size(self)
157 r"""capacity(string self) -> std::basic_string< char >::size_type"""
158 return _pcbnew.string_capacity(self)
161 r"""reserve(string self, std::basic_string< char >::size_type __res_arg)"""
162 return _pcbnew.string_reserve(self, __res_arg)
165 r"""shrink_to_fit(string self)"""
166 return _pcbnew.string_shrink_to_fit(self)
168 def copy(self, __s, __n, __pos=0):
169 r"""copy(string self, char * __s, std::basic_string< char >::size_type __n, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type"""
170 return _pcbnew.string_copy(self, __s, __n, __pos)
173 r"""c_str(string self) -> char const *"""
174 return _pcbnew.string_c_str(self)
178 find(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
179 find(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
180 find(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
182 return _pcbnew.string_find(self, *args)
186 rfind(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
187 rfind(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
188 rfind(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
190 return _pcbnew.string_rfind(self, *args)
194 find_first_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
195 find_first_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
196 find_first_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
198 return _pcbnew.string_find_first_of(self, *args)
202 find_last_of(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
203 find_last_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
204 find_last_of(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
206 return _pcbnew.string_find_last_of(self, *args)
210 find_first_not_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
211 find_first_not_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
212 find_first_not_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
214 return _pcbnew.string_find_first_not_of(self, *args)
218 find_last_not_of(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
219 find_last_not_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
220 find_last_not_of(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
222 return _pcbnew.string_find_last_not_of(self, *args)
225 r"""substr(string self, std::basic_string< char >::size_type __pos=0, std::basic_string< char >::size_type __n=std::basic_string< char >::npos) -> string"""
226 return _pcbnew.string_substr(self, *args)
229 r"""empty(string self) -> bool"""
230 return _pcbnew.string_empty(self)
233 r"""size(string self) -> std::basic_string< char >::size_type"""
234 return _pcbnew.string_size(self)
237 r"""swap(string self, string v)"""
238 return _pcbnew.string_swap(self, v)
241 r"""begin(string self) -> std::basic_string< char >::iterator"""
242 return _pcbnew.string_begin(self)
245 r"""end(string self) -> std::basic_string< char >::iterator"""
246 return _pcbnew.string_end(self)
249 r"""rbegin(string self) -> std::basic_string< char >::reverse_iterator"""
250 return _pcbnew.string_rbegin(self)
253 r"""rend(string self) -> std::basic_string< char >::reverse_iterator"""
254 return _pcbnew.string_rend(self)
257 r"""get_allocator(string self) -> std::basic_string< char >::allocator_type"""
258 return _pcbnew.string_get_allocator(self)
262 erase(string self, std::basic_string< char >::size_type __pos=0, std::basic_string< char >::size_type __n=std::basic_string< char >::npos) -> string
263 erase(string self, std::basic_string< char >::iterator pos) -> std::basic_string< char >::iterator
264 erase(string self, std::basic_string< char >::iterator first, std::basic_string< char >::iterator last) -> std::basic_string< char >::iterator
266 return _pcbnew.string_erase(self, *args)
270 __init__(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
272 __init__(string self, string other) -> string
273 __init__(string self, std::basic_string< char >::size_type size, std::basic_string< char >::value_type value) -> string
275 _pcbnew.string_swiginit(self, _pcbnew.new_string(*args))
279 assign(string self, string __str) -> string
280 assign(string self, string __str, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> string
281 assign(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
282 assign(string self, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)
284 return _pcbnew.string_assign(self, *args)
288 resize(string self, std::basic_string< char >::size_type new_size)
289 resize(string self, std::basic_string< char >::size_type new_size, std::basic_string< char >::value_type x)
291 return _pcbnew.string_resize(self, *args)
294 r"""iterator(string self) -> SwigPyIterator"""
295 return _pcbnew.string_iterator(self)
300 r"""__nonzero__(string self) -> bool"""
301 return _pcbnew.string___nonzero__(self)
304 r"""__bool__(string self) -> bool"""
305 return _pcbnew.string___bool__(self)
308 r"""__len__(string self) -> std::basic_string< char >::size_type"""
309 return _pcbnew.string___len__(self)
312 r"""__getslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j) -> string"""
313 return _pcbnew.string___getslice__(self, i, j)
317 __setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)
318 __setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j, string v)
320 return _pcbnew.string___setslice__(self, *args)
323 r"""__delslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)"""
324 return _pcbnew.string___delslice__(self, i, j)
328 __delitem__(string self, std::basic_string< char >::difference_type i)
329 __delitem__(string self, SWIGPY_SLICEOBJECT * slice)
331 return _pcbnew.string___delitem__(self, *args)
335 __getitem__(string self, SWIGPY_SLICEOBJECT * slice) -> string
336 __getitem__(string self, std::basic_string< char >::difference_type i) -> std::basic_string< char >::value_type
338 return _pcbnew.string___getitem__(self, *args)
342 __setitem__(string self, SWIGPY_SLICEOBJECT * slice, string v)
343 __setitem__(string self, SWIGPY_SLICEOBJECT * slice)
344 __setitem__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::value_type x)
346 return _pcbnew.string___setitem__(self, *args)
350 insert(string self, std::basic_string< char >::size_type __pos1, string __str) -> string
351 insert(string self, std::basic_string< char >::size_type __pos1, string __str, std::basic_string< char >::size_type __pos2, std::basic_string< char >::size_type __n) -> string
352 insert(string self, std::basic_string< char >::size_type __pos, char const * __s, std::basic_string< char >::size_type __n) -> string
353 insert(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, char __c) -> string
354 insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::value_type x) -> std::basic_string< char >::iterator
355 insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)
356 insert(string self, std::basic_string< char >::iterator __p, std::basic_string< char >::size_type __n, char __c)
358 return _pcbnew.string_insert(self, *args)
362 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, string __str) -> string
363 replace(string self, std::basic_string< char >::size_type __pos1, std::basic_string< char >::size_type __n1, string __str, std::basic_string< char >::size_type __pos2, std::basic_string< char >::size_type __n2) -> string
364 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n1, char const * __s, std::basic_string< char >::size_type __n2) -> string
365 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n1, std::basic_string< char >::size_type __n2, char __c) -> string
366 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, string __str) -> string
367 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, char const * __s, std::basic_string< char >::size_type __n) -> string
368 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, std::basic_string< char >::size_type __n, char __c) -> string
369 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, char const * __k1, char const * __k2) -> string
370 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, std::basic_string< char >::const_iterator __k1, std::basic_string< char >::const_iterator __k2) -> string
372 return _pcbnew.string_replace(self, *args)
375 r"""__iadd__(string self, string v) -> string"""
376 return _pcbnew.string___iadd__(self, v)
379 r"""__add__(string self, string v) -> string"""
380 return _pcbnew.string___add__(self, v)
383 r"""__radd__(string self, string v) -> string"""
384 return _pcbnew.string___radd__(self, v)
387 r"""__str__(string self) -> string"""
388 return _pcbnew.string___str__(self)
391 r"""__rlshift__(string self, std::basic_ostream< char,std::char_traits< char > > & out) -> std::basic_ostream< char,std::char_traits< char > > &"""
392 return _pcbnew.string___rlshift__(self, out)
395 r"""__eq__(string self, string v) -> bool"""
396 return _pcbnew.string___eq__(self, v)
399 r"""__ne__(string self, string v) -> bool"""
400 return _pcbnew.string___ne__(self, v)
403 r"""__gt__(string self, string v) -> bool"""
404 return _pcbnew.string___gt__(self, v)
407 r"""__lt__(string self, string v) -> bool"""
408 return _pcbnew.string___lt__(self, v)
411 r"""__ge__(string self, string v) -> bool"""
412 return _pcbnew.string___ge__(self, v)
415 r"""__le__(string self, string v) -> bool"""
416 return _pcbnew.string___le__(self, v)
417 __swig_destroy__ = _pcbnew.delete_string
420_pcbnew.string_swigregister(string)
422string.npos = _pcbnew.cvar.string_npos
424SHARED_PTR_DISOWN = _pcbnew.SHARED_PTR_DISOWN
427 r"""Proxy of C++ KI_PARAM_ERROR class."""
429 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
430 __repr__ = _swig_repr
434 __init__(KI_PARAM_ERROR self, wxString aMessage) -> KI_PARAM_ERROR
435 __init__(KI_PARAM_ERROR self) -> KI_PARAM_ERROR
437 _pcbnew.KI_PARAM_ERROR_swiginit(self, _pcbnew.new_KI_PARAM_ERROR(*args))
440 r"""What(KI_PARAM_ERROR self) -> wxString"""
441 return _pcbnew.KI_PARAM_ERROR_What(self)
442 __swig_destroy__ = _pcbnew.delete_KI_PARAM_ERROR
445_pcbnew.KI_PARAM_ERROR_swigregister(KI_PARAM_ERROR)
447 r"""Proxy of C++ IO_ERROR class."""
449 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
450 __repr__ = _swig_repr
454 __init__(IO_ERROR self, wxString aProblem, char const * aThrowersFile, char const * aThrowersFunction, int aThrowersLineNumber) -> IO_ERROR
457 _pcbnew.IO_ERROR_swiginit(self, _pcbnew.new_IO_ERROR(*args))
459 def init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber):
460 r"""init(IO_ERROR self, wxString aProblem, char const * aThrowersFile, char const * aThrowersFunction, int aThrowersLineNumber)"""
461 return _pcbnew.IO_ERROR_init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber)
464 r"""Problem(IO_ERROR self) -> wxString"""
465 return _pcbnew.IO_ERROR_Problem(self)
468 r"""Where(IO_ERROR self) -> wxString"""
469 return _pcbnew.IO_ERROR_Where(self)
472 r"""What(IO_ERROR self) -> wxString"""
473 return _pcbnew.IO_ERROR_What(self)
474 __swig_destroy__ = _pcbnew.delete_IO_ERROR
477_pcbnew.IO_ERROR_swigregister(IO_ERROR)
480 r"""wxSetDefaultPyEncoding(char const * encoding)"""
481 return _pcbnew.wxSetDefaultPyEncoding(encoding)
484 r"""wxGetDefaultPyEncoding() -> char const *"""
485 return _pcbnew.wxGetDefaultPyEncoding()
487 r"""Proxy of C++ wxRect class."""
489 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
490 __repr__ = _swig_repr
495 __init__(wxRect self, int xx, int yy, int ww, int hh) -> wxRect
496 __init__(wxRect self, wxPoint topLeft, wxPoint bottomRight) -> wxRect
497 __init__(wxRect self, wxPoint pt, wxSize size) -> wxRect
498 __init__(wxRect self, wxSize size) -> wxRect
500 _pcbnew.wxRect_swiginit(self, _pcbnew.new_wxRect(*args))
503 r"""GetX(wxRect self) -> int"""
504 return _pcbnew.wxRect_GetX(self)
507 r"""SetX(wxRect self, int xx)"""
508 return _pcbnew.wxRect_SetX(self, xx)
511 r"""GetY(wxRect self) -> int"""
512 return _pcbnew.wxRect_GetY(self)
515 r"""SetY(wxRect self, int yy)"""
516 return _pcbnew.wxRect_SetY(self, yy)
519 r"""GetWidth(wxRect self) -> int"""
520 return _pcbnew.wxRect_GetWidth(self)
523 r"""SetWidth(wxRect self, int w)"""
524 return _pcbnew.wxRect_SetWidth(self, w)
527 r"""GetHeight(wxRect self) -> int"""
528 return _pcbnew.wxRect_GetHeight(self)
531 r"""SetHeight(wxRect self, int h)"""
532 return _pcbnew.wxRect_SetHeight(self, h)
535 r"""GetPosition(wxRect self) -> wxPoint"""
536 return _pcbnew.wxRect_GetPosition(self)
539 r"""SetPosition(wxRect self, wxPoint p)"""
540 return _pcbnew.wxRect_SetPosition(self, p)
541 x = property(_pcbnew.wxRect_x_get, _pcbnew.wxRect_x_set, doc=
r"""x : int""")
542 y = property(_pcbnew.wxRect_y_get, _pcbnew.wxRect_y_set, doc=
r"""y : int""")
543 width = property(_pcbnew.wxRect_width_get, _pcbnew.wxRect_width_set, doc=
r"""width : int""")
544 height = property(_pcbnew.wxRect_height_get, _pcbnew.wxRect_height_set, doc=
r"""height : int""")
547 r"""Get(wxRect self) -> PyObject *"""
548 return _pcbnew.wxRect_Get(self)
554 def __repr__(self):
return 'wxRect'+str(self.
Get())
558 if index == 0: self.
SetX(val)
559 elif index == 1: self.
SetY(val)
562 else:
raise IndexError
564 __safe_for_unpickling__ =
True
566 __swig_destroy__ = _pcbnew.delete_wxRect
569_pcbnew.wxRect_swigregister(wxRect)
571 r"""Proxy of C++ wxSize class."""
573 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
574 __repr__ = _swig_repr
575 x = property(_pcbnew.wxSize_x_get, _pcbnew.wxSize_x_set, doc=
r"""x : int""")
576 y = property(_pcbnew.wxSize_y_get, _pcbnew.wxSize_y_set, doc=
r"""y : int""")
580 __init__(wxSize self, int xx, int yy) -> wxSize
581 __init__(wxSize self, double xx, double yy) -> wxSize
583 _pcbnew.wxSize_swiginit(self, _pcbnew.new_wxSize(*args))
586 r"""Get(wxSize self) -> PyObject *"""
587 return _pcbnew.wxSize_Get(self)
588 __swig_destroy__ = _pcbnew.delete_wxSize
591 r"""SetWidth(wxSize self, int w)"""
592 return _pcbnew.wxSize_SetWidth(self, w)
595 r"""SetHeight(wxSize self, int h)"""
596 return _pcbnew.wxSize_SetHeight(self, h)
599 r"""GetWidth(wxSize self) -> int"""
600 return _pcbnew.wxSize_GetWidth(self)
603 r"""GetHeight(wxSize self) -> int"""
604 return _pcbnew.wxSize_GetHeight(self)
607 return wxSize(self.
x*xscale,self.
y*yscale)
611 def __repr__(self):
return 'wxSize'+str(self.
Get())
617 else:
raise IndexError
619 __safe_for_unpickling__ =
True
624_pcbnew.wxSize_swigregister(wxSize)
626 r"""Proxy of C++ wxPoint class."""
628 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
629 __repr__ = _swig_repr
630 x = property(_pcbnew.wxPoint_x_get, _pcbnew.wxPoint_x_set, doc=
r"""x : int""")
631 y = property(_pcbnew.wxPoint_y_get, _pcbnew.wxPoint_y_set, doc=
r"""y : int""")
635 __init__(wxPoint self, int xx, int yy) -> wxPoint
636 __init__(wxPoint self, double xx, double yy) -> wxPoint
638 _pcbnew.wxPoint_swiginit(self, _pcbnew.new_wxPoint(*args))
639 __swig_destroy__ = _pcbnew.delete_wxPoint
642 r"""__add__(wxPoint self, wxPoint pt) -> wxPoint"""
643 return _pcbnew.wxPoint___add__(self, pt)
646 r"""__sub__(wxPoint self, wxPoint pt) -> wxPoint"""
647 return _pcbnew.wxPoint___sub__(self, pt)
650 r"""Set(wxPoint self, long x, long y)"""
651 return _pcbnew.wxPoint_Set(self, x, y)
654 r"""Get(wxPoint self) -> PyObject *"""
655 return _pcbnew.wxPoint_Get(self)
657 def __eq__(self,other):
return (self.
xx==other.x
and self.
yy==other.y)
658 def __ne__(self,other):
return not (self==other)
660 def __repr__(self):
return 'wxPoint'+str(self.
Get())
675_pcbnew.wxPoint_swigregister(wxPoint)
677 r"""Proxy of C++ wxString class."""
679 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
680 __repr__ = _swig_repr
681 __swig_destroy__ = _pcbnew.delete_wxString
684 r"""__str__(wxString self) -> PyObject *"""
685 return _pcbnew.wxString___str__(self)
687 def __repr__(self):
return 'wxString(\'' + self.
__str__() +
'\')'
691 r"""__init__(wxString self) -> wxString"""
692 _pcbnew.wxString_swiginit(self, _pcbnew.new_wxString())
695_pcbnew.wxString_swigregister(wxString)
697 r"""Proxy of C++ std::vector< wxPoint > class."""
699 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
700 __repr__ = _swig_repr
703 r"""iterator(wxPoint_Vector self) -> SwigPyIterator"""
704 return _pcbnew.wxPoint_Vector_iterator(self)
709 r"""__nonzero__(wxPoint_Vector self) -> bool"""
710 return _pcbnew.wxPoint_Vector___nonzero__(self)
713 r"""__bool__(wxPoint_Vector self) -> bool"""
714 return _pcbnew.wxPoint_Vector___bool__(self)
717 r"""__len__(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
718 return _pcbnew.wxPoint_Vector___len__(self)
721 r"""__getslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j) -> wxPoint_Vector"""
722 return _pcbnew.wxPoint_Vector___getslice__(self, i, j)
726 __setslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j)
727 __setslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j, wxPoint_Vector v)
729 return _pcbnew.wxPoint_Vector___setslice__(self, *args)
732 r"""__delslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j)"""
733 return _pcbnew.wxPoint_Vector___delslice__(self, i, j)
737 __delitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i)
738 __delitem__(wxPoint_Vector self, SWIGPY_SLICEOBJECT * slice)
740 return _pcbnew.wxPoint_Vector___delitem__(self, *args)
744 __getitem__(wxPoint_Vector self, SWIGPY_SLICEOBJECT * slice) -> wxPoint_Vector
745 __getitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i) -> wxPoint
747 return _pcbnew.wxPoint_Vector___getitem__(self, *args)
751 __setitem__(wxPoint_Vector self, SWIGPY_SLICEOBJECT * slice, wxPoint_Vector v)
752 __setitem__(wxPoint_Vector self, SWIGPY_SLICEOBJECT * slice)
753 __setitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, wxPoint x)
755 return _pcbnew.wxPoint_Vector___setitem__(self, *args)
758 r"""pop(wxPoint_Vector self) -> wxPoint"""
759 return _pcbnew.wxPoint_Vector_pop(self)
762 r"""append(wxPoint_Vector self, wxPoint x)"""
763 return _pcbnew.wxPoint_Vector_append(self, x)
766 r"""empty(wxPoint_Vector self) -> bool"""
767 return _pcbnew.wxPoint_Vector_empty(self)
770 r"""size(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
771 return _pcbnew.wxPoint_Vector_size(self)
774 r"""swap(wxPoint_Vector self, wxPoint_Vector v)"""
775 return _pcbnew.wxPoint_Vector_swap(self, v)
778 r"""begin(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
779 return _pcbnew.wxPoint_Vector_begin(self)
782 r"""end(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
783 return _pcbnew.wxPoint_Vector_end(self)
786 r"""rbegin(wxPoint_Vector self) -> std::vector< wxPoint >::reverse_iterator"""
787 return _pcbnew.wxPoint_Vector_rbegin(self)
790 r"""rend(wxPoint_Vector self) -> std::vector< wxPoint >::reverse_iterator"""
791 return _pcbnew.wxPoint_Vector_rend(self)
794 r"""clear(wxPoint_Vector self)"""
795 return _pcbnew.wxPoint_Vector_clear(self)
798 r"""get_allocator(wxPoint_Vector self) -> std::vector< wxPoint >::allocator_type"""
799 return _pcbnew.wxPoint_Vector_get_allocator(self)
802 r"""pop_back(wxPoint_Vector self)"""
803 return _pcbnew.wxPoint_Vector_pop_back(self)
807 erase(wxPoint_Vector self, std::vector< wxPoint >::iterator pos) -> std::vector< wxPoint >::iterator
808 erase(wxPoint_Vector self, std::vector< wxPoint >::iterator first, std::vector< wxPoint >::iterator last) -> std::vector< wxPoint >::iterator
810 return _pcbnew.wxPoint_Vector_erase(self, *args)
814 __init__(wxPoint_Vector self) -> wxPoint_Vector
815 __init__(wxPoint_Vector self, wxPoint_Vector other) -> wxPoint_Vector
816 __init__(wxPoint_Vector self, std::vector< wxPoint >::size_type size) -> wxPoint_Vector
817 __init__(wxPoint_Vector self, std::vector< wxPoint >::size_type size, wxPoint value) -> wxPoint_Vector
819 _pcbnew.wxPoint_Vector_swiginit(self, _pcbnew.new_wxPoint_Vector(*args))
822 r"""push_back(wxPoint_Vector self, wxPoint x)"""
823 return _pcbnew.wxPoint_Vector_push_back(self, x)
826 r"""front(wxPoint_Vector self) -> wxPoint"""
827 return _pcbnew.wxPoint_Vector_front(self)
830 r"""back(wxPoint_Vector self) -> wxPoint"""
831 return _pcbnew.wxPoint_Vector_back(self)
834 r"""assign(wxPoint_Vector self, std::vector< wxPoint >::size_type n, wxPoint x)"""
835 return _pcbnew.wxPoint_Vector_assign(self, n, x)
839 resize(wxPoint_Vector self, std::vector< wxPoint >::size_type new_size)
840 resize(wxPoint_Vector self, std::vector< wxPoint >::size_type new_size, wxPoint x)
842 return _pcbnew.wxPoint_Vector_resize(self, *args)
846 insert(wxPoint_Vector self, std::vector< wxPoint >::iterator pos, wxPoint x) -> std::vector< wxPoint >::iterator
847 insert(wxPoint_Vector self, std::vector< wxPoint >::iterator pos, std::vector< wxPoint >::size_type n, wxPoint x)
849 return _pcbnew.wxPoint_Vector_insert(self, *args)
852 r"""reserve(wxPoint_Vector self, std::vector< wxPoint >::size_type n)"""
853 return _pcbnew.wxPoint_Vector_reserve(self, n)
856 r"""capacity(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
857 return _pcbnew.wxPoint_Vector_capacity(self)
858 __swig_destroy__ = _pcbnew.delete_wxPoint_Vector
861_pcbnew.wxPoint_Vector_swigregister(wxPoint_Vector)
862SKETCH = _pcbnew.SKETCH
864FILLED = _pcbnew.FILLED
867 r"""Proxy of C++ KIID class."""
869 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
870 __repr__ = _swig_repr
875 __init__(KIID self, int null) -> KIID
876 __init__(KIID self, string aString) -> KIID
877 __init__(KIID self, char const * aString) -> KIID
878 __init__(KIID self, wxString aString) -> KIID
879 __init__(KIID self, timestamp_t aTimestamp) -> KIID
881 _pcbnew.KIID_swiginit(self, _pcbnew.new_KIID(*args))
884 r"""Clone(KIID self, KIID aUUID)"""
885 return _pcbnew.KIID_Clone(self, aUUID)
888 r"""Hash(KIID self) -> size_t"""
889 return _pcbnew.KIID_Hash(self)
892 r"""IsLegacyTimestamp(KIID self) -> bool"""
893 return _pcbnew.KIID_IsLegacyTimestamp(self)
896 r"""AsLegacyTimestamp(KIID self) -> timestamp_t"""
897 return _pcbnew.KIID_AsLegacyTimestamp(self)
900 r"""AsString(KIID self) -> wxString"""
901 return _pcbnew.KIID_AsString(self)
904 r"""AsLegacyTimestampString(KIID self) -> wxString"""
905 return _pcbnew.KIID_AsLegacyTimestampString(self)
908 r"""AsStdString(KIID self) -> string"""
909 return _pcbnew.KIID_AsStdString(self)
913 r"""SniffTest(wxString aCandidate) -> bool"""
914 return _pcbnew.KIID_SniffTest(aCandidate)
918 r"""CreateNilUuids(bool aNil=True)"""
919 return _pcbnew.KIID_CreateNilUuids(aNil)
923 r"""SeedGenerator(unsigned int aSeed)"""
924 return _pcbnew.KIID_SeedGenerator(aSeed)
927 r"""ConvertTimestampToUuid(KIID self)"""
928 return _pcbnew.KIID_ConvertTimestampToUuid(self)
931 r"""Increment(KIID self)"""
932 return _pcbnew.KIID_Increment(self)
935 r"""__eq__(KIID self, KIID rhs) -> bool"""
936 return _pcbnew.KIID___eq__(self, rhs)
939 r"""__ne__(KIID self, KIID rhs) -> bool"""
940 return _pcbnew.KIID___ne__(self, rhs)
943 r"""__lt__(KIID self, KIID rhs) -> bool"""
944 return _pcbnew.KIID___lt__(self, rhs)
947 r"""__gt__(KIID self, KIID rhs) -> bool"""
948 return _pcbnew.KIID___gt__(self, rhs)
949 __swig_destroy__ = _pcbnew.delete_KIID
952_pcbnew.KIID_swigregister(KIID)
955 r"""NilUuid() -> KIID"""
956 return _pcbnew.NilUuid()
958 r"""Proxy of C++ std::vector< KIID > class."""
960 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
961 __repr__ = _swig_repr
964 r"""iterator(KIID_VECT_LIST self) -> SwigPyIterator"""
965 return _pcbnew.KIID_VECT_LIST_iterator(self)
970 r"""__nonzero__(KIID_VECT_LIST self) -> bool"""
971 return _pcbnew.KIID_VECT_LIST___nonzero__(self)
974 r"""__bool__(KIID_VECT_LIST self) -> bool"""
975 return _pcbnew.KIID_VECT_LIST___bool__(self)
978 r"""__len__(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
979 return _pcbnew.KIID_VECT_LIST___len__(self)
982 r"""__getslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j) -> KIID_VECT_LIST"""
983 return _pcbnew.KIID_VECT_LIST___getslice__(self, i, j)
987 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)
988 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j, KIID_VECT_LIST v)
990 return _pcbnew.KIID_VECT_LIST___setslice__(self, *args)
993 r"""__delslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)"""
994 return _pcbnew.KIID_VECT_LIST___delslice__(self, i, j)
998 __delitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i)
999 __delitem__(KIID_VECT_LIST self, SWIGPY_SLICEOBJECT * slice)
1001 return _pcbnew.KIID_VECT_LIST___delitem__(self, *args)
1005 __getitem__(KIID_VECT_LIST self, SWIGPY_SLICEOBJECT * slice) -> KIID_VECT_LIST
1006 __getitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i) -> KIID
1008 return _pcbnew.KIID_VECT_LIST___getitem__(self, *args)
1012 __setitem__(KIID_VECT_LIST self, SWIGPY_SLICEOBJECT * slice, KIID_VECT_LIST v)
1013 __setitem__(KIID_VECT_LIST self, SWIGPY_SLICEOBJECT * slice)
1014 __setitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, KIID x)
1016 return _pcbnew.KIID_VECT_LIST___setitem__(self, *args)
1019 r"""pop(KIID_VECT_LIST self) -> KIID"""
1020 return _pcbnew.KIID_VECT_LIST_pop(self)
1023 r"""append(KIID_VECT_LIST self, KIID x)"""
1024 return _pcbnew.KIID_VECT_LIST_append(self, x)
1027 r"""empty(KIID_VECT_LIST self) -> bool"""
1028 return _pcbnew.KIID_VECT_LIST_empty(self)
1031 r"""size(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1032 return _pcbnew.KIID_VECT_LIST_size(self)
1035 r"""swap(KIID_VECT_LIST self, KIID_VECT_LIST v)"""
1036 return _pcbnew.KIID_VECT_LIST_swap(self, v)
1039 r"""begin(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1040 return _pcbnew.KIID_VECT_LIST_begin(self)
1043 r"""end(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1044 return _pcbnew.KIID_VECT_LIST_end(self)
1047 r"""rbegin(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1048 return _pcbnew.KIID_VECT_LIST_rbegin(self)
1051 r"""rend(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1052 return _pcbnew.KIID_VECT_LIST_rend(self)
1055 r"""clear(KIID_VECT_LIST self)"""
1056 return _pcbnew.KIID_VECT_LIST_clear(self)
1059 r"""get_allocator(KIID_VECT_LIST self) -> std::vector< KIID >::allocator_type"""
1060 return _pcbnew.KIID_VECT_LIST_get_allocator(self)
1063 r"""pop_back(KIID_VECT_LIST self)"""
1064 return _pcbnew.KIID_VECT_LIST_pop_back(self)
1068 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator pos) -> std::vector< KIID >::iterator
1069 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator first, std::vector< KIID >::iterator last) -> std::vector< KIID >::iterator
1071 return _pcbnew.KIID_VECT_LIST_erase(self, *args)
1075 __init__(KIID_VECT_LIST self) -> KIID_VECT_LIST
1076 __init__(KIID_VECT_LIST self, KIID_VECT_LIST other) -> KIID_VECT_LIST
1077 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size) -> KIID_VECT_LIST
1078 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size, KIID value) -> KIID_VECT_LIST
1080 _pcbnew.KIID_VECT_LIST_swiginit(self, _pcbnew.new_KIID_VECT_LIST(*args))
1083 r"""push_back(KIID_VECT_LIST self, KIID x)"""
1084 return _pcbnew.KIID_VECT_LIST_push_back(self, x)
1087 r"""front(KIID_VECT_LIST self) -> KIID"""
1088 return _pcbnew.KIID_VECT_LIST_front(self)
1091 r"""back(KIID_VECT_LIST self) -> KIID"""
1092 return _pcbnew.KIID_VECT_LIST_back(self)
1095 r"""assign(KIID_VECT_LIST self, std::vector< KIID >::size_type n, KIID x)"""
1096 return _pcbnew.KIID_VECT_LIST_assign(self, n, x)
1100 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size)
1101 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size, KIID x)
1103 return _pcbnew.KIID_VECT_LIST_resize(self, *args)
1107 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, KIID x) -> std::vector< KIID >::iterator
1108 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, std::vector< KIID >::size_type n, KIID x)
1110 return _pcbnew.KIID_VECT_LIST_insert(self, *args)
1113 r"""reserve(KIID_VECT_LIST self, std::vector< KIID >::size_type n)"""
1114 return _pcbnew.KIID_VECT_LIST_reserve(self, n)
1117 r"""capacity(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1118 return _pcbnew.KIID_VECT_LIST_capacity(self)
1119 __swig_destroy__ = _pcbnew.delete_KIID_VECT_LIST
1122_pcbnew.KIID_VECT_LIST_swigregister(KIID_VECT_LIST)
1124 r"""Proxy of C++ KIID_PATH class."""
1126 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1127 __repr__ = _swig_repr
1131 __init__(KIID_PATH self) -> KIID_PATH
1132 __init__(KIID_PATH self, wxString aString) -> KIID_PATH
1134 _pcbnew.KIID_PATH_swiginit(self, _pcbnew.new_KIID_PATH(*args))
1137 r"""MakeRelativeTo(KIID_PATH self, KIID_PATH aPath) -> bool"""
1138 return _pcbnew.KIID_PATH_MakeRelativeTo(self, aPath)
1141 r"""EndsWith(KIID_PATH self, KIID_PATH aPath) -> bool"""
1142 return _pcbnew.KIID_PATH_EndsWith(self, aPath)
1145 r"""AsString(KIID_PATH self) -> wxString"""
1146 return _pcbnew.KIID_PATH_AsString(self)
1149 r"""__eq__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1150 return _pcbnew.KIID_PATH___eq__(self, rhs)
1153 r"""__lt__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1154 return _pcbnew.KIID_PATH___lt__(self, rhs)
1157 r"""__gt__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1158 return _pcbnew.KIID_PATH___gt__(self, rhs)
1161 r"""__iadd__(KIID_PATH self, KIID_PATH aRhs) -> KIID_PATH"""
1162 return _pcbnew.KIID_PATH___iadd__(self, aRhs)
1163 __swig_destroy__ = _pcbnew.delete_KIID_PATH
1166_pcbnew.KIID_PATH_swigregister(KIID_PATH)
1168 r"""Proxy of C++ KIID_NIL_SET_RESET class."""
1170 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1171 __repr__ = _swig_repr
1174 r"""__init__(KIID_NIL_SET_RESET self) -> KIID_NIL_SET_RESET"""
1175 _pcbnew.KIID_NIL_SET_RESET_swiginit(self, _pcbnew.new_KIID_NIL_SET_RESET())
1176 __swig_destroy__ = _pcbnew.delete_KIID_NIL_SET_RESET
1179_pcbnew.KIID_NIL_SET_RESET_swigregister(KIID_NIL_SET_RESET)
1180NOT_USED = _pcbnew.NOT_USED
1182TYPE_NOT_INIT = _pcbnew.TYPE_NOT_INIT
1184PCB_T = _pcbnew.PCB_T
1186SCREEN_T = _pcbnew.SCREEN_T
1188PCB_FOOTPRINT_T = _pcbnew.PCB_FOOTPRINT_T
1190PCB_PAD_T = _pcbnew.PCB_PAD_T
1192PCB_SHAPE_T = _pcbnew.PCB_SHAPE_T
1194PCB_REFERENCE_IMAGE_T = _pcbnew.PCB_REFERENCE_IMAGE_T
1196PCB_FIELD_T = _pcbnew.PCB_FIELD_T
1198PCB_GENERATOR_T = _pcbnew.PCB_GENERATOR_T
1200PCB_TEXT_T = _pcbnew.PCB_TEXT_T
1202PCB_TEXTBOX_T = _pcbnew.PCB_TEXTBOX_T
1204PCB_TABLE_T = _pcbnew.PCB_TABLE_T
1206PCB_TABLECELL_T = _pcbnew.PCB_TABLECELL_T
1208PCB_TRACE_T = _pcbnew.PCB_TRACE_T
1210PCB_VIA_T = _pcbnew.PCB_VIA_T
1212PCB_ARC_T = _pcbnew.PCB_ARC_T
1214PCB_MARKER_T = _pcbnew.PCB_MARKER_T
1216PCB_DIMENSION_T = _pcbnew.PCB_DIMENSION_T
1218PCB_DIM_ALIGNED_T = _pcbnew.PCB_DIM_ALIGNED_T
1220PCB_DIM_LEADER_T = _pcbnew.PCB_DIM_LEADER_T
1222PCB_DIM_CENTER_T = _pcbnew.PCB_DIM_CENTER_T
1224PCB_DIM_RADIAL_T = _pcbnew.PCB_DIM_RADIAL_T
1226PCB_DIM_ORTHOGONAL_T = _pcbnew.PCB_DIM_ORTHOGONAL_T
1228PCB_TARGET_T = _pcbnew.PCB_TARGET_T
1230PCB_ZONE_T = _pcbnew.PCB_ZONE_T
1232PCB_ITEM_LIST_T = _pcbnew.PCB_ITEM_LIST_T
1234PCB_NETINFO_T = _pcbnew.PCB_NETINFO_T
1236PCB_GROUP_T = _pcbnew.PCB_GROUP_T
1238PCB_FIELD_LOCATE_REFERENCE_T = _pcbnew.PCB_FIELD_LOCATE_REFERENCE_T
1240PCB_FIELD_LOCATE_VALUE_T = _pcbnew.PCB_FIELD_LOCATE_VALUE_T
1242PCB_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.PCB_FIELD_LOCATE_FOOTPRINT_T
1244PCB_FIELD_LOCATE_DATASHEET_T = _pcbnew.PCB_FIELD_LOCATE_DATASHEET_T
1246PCB_LOCATE_STDVIA_T = _pcbnew.PCB_LOCATE_STDVIA_T
1248PCB_LOCATE_UVIA_T = _pcbnew.PCB_LOCATE_UVIA_T
1250PCB_LOCATE_BBVIA_T = _pcbnew.PCB_LOCATE_BBVIA_T
1252PCB_LOCATE_TEXT_T = _pcbnew.PCB_LOCATE_TEXT_T
1254PCB_LOCATE_HOLE_T = _pcbnew.PCB_LOCATE_HOLE_T
1256PCB_LOCATE_PTH_T = _pcbnew.PCB_LOCATE_PTH_T
1258PCB_LOCATE_NPTH_T = _pcbnew.PCB_LOCATE_NPTH_T
1260PCB_LOCATE_BOARD_EDGE_T = _pcbnew.PCB_LOCATE_BOARD_EDGE_T
1262PCB_SHAPE_LOCATE_SEGMENT_T = _pcbnew.PCB_SHAPE_LOCATE_SEGMENT_T
1264PCB_SHAPE_LOCATE_RECT_T = _pcbnew.PCB_SHAPE_LOCATE_RECT_T
1266PCB_SHAPE_LOCATE_CIRCLE_T = _pcbnew.PCB_SHAPE_LOCATE_CIRCLE_T
1268PCB_SHAPE_LOCATE_ARC_T = _pcbnew.PCB_SHAPE_LOCATE_ARC_T
1270PCB_SHAPE_LOCATE_POLY_T = _pcbnew.PCB_SHAPE_LOCATE_POLY_T
1272PCB_SHAPE_LOCATE_BEZIER_T = _pcbnew.PCB_SHAPE_LOCATE_BEZIER_T
1274LIB_SYMBOL_T = _pcbnew.LIB_SYMBOL_T
1276SCH_SHAPE_T = _pcbnew.SCH_SHAPE_T
1278SCH_FIELD_T = _pcbnew.SCH_FIELD_T
1280SCH_TEXT_T = _pcbnew.SCH_TEXT_T
1282SCH_TEXTBOX_T = _pcbnew.SCH_TEXTBOX_T
1284SCH_PIN_T = _pcbnew.SCH_PIN_T
1286SCH_MARKER_T = _pcbnew.SCH_MARKER_T
1288SCH_JUNCTION_T = _pcbnew.SCH_JUNCTION_T
1290SCH_NO_CONNECT_T = _pcbnew.SCH_NO_CONNECT_T
1292SCH_BUS_WIRE_ENTRY_T = _pcbnew.SCH_BUS_WIRE_ENTRY_T
1294SCH_BUS_BUS_ENTRY_T = _pcbnew.SCH_BUS_BUS_ENTRY_T
1296SCH_LINE_T = _pcbnew.SCH_LINE_T
1298SCH_BITMAP_T = _pcbnew.SCH_BITMAP_T
1300SCH_TABLE_T = _pcbnew.SCH_TABLE_T
1302SCH_TABLECELL_T = _pcbnew.SCH_TABLECELL_T
1304SCH_LABEL_T = _pcbnew.SCH_LABEL_T
1306SCH_GLOBAL_LABEL_T = _pcbnew.SCH_GLOBAL_LABEL_T
1308SCH_HIER_LABEL_T = _pcbnew.SCH_HIER_LABEL_T
1310SCH_RULE_AREA_T = _pcbnew.SCH_RULE_AREA_T
1312SCH_DIRECTIVE_LABEL_T = _pcbnew.SCH_DIRECTIVE_LABEL_T
1314SCH_SYMBOL_T = _pcbnew.SCH_SYMBOL_T
1316SCH_SHEET_PIN_T = _pcbnew.SCH_SHEET_PIN_T
1318SCH_SHEET_T = _pcbnew.SCH_SHEET_T
1320SCH_FIELD_LOCATE_REFERENCE_T = _pcbnew.SCH_FIELD_LOCATE_REFERENCE_T
1322SCH_FIELD_LOCATE_VALUE_T = _pcbnew.SCH_FIELD_LOCATE_VALUE_T
1324SCH_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.SCH_FIELD_LOCATE_FOOTPRINT_T
1326SCH_FIELD_LOCATE_DATASHEET_T = _pcbnew.SCH_FIELD_LOCATE_DATASHEET_T
1328SCH_ITEM_LOCATE_WIRE_T = _pcbnew.SCH_ITEM_LOCATE_WIRE_T
1330SCH_ITEM_LOCATE_BUS_T = _pcbnew.SCH_ITEM_LOCATE_BUS_T
1332SCH_ITEM_LOCATE_GRAPHIC_LINE_T = _pcbnew.SCH_ITEM_LOCATE_GRAPHIC_LINE_T
1334SCH_LABEL_LOCATE_ANY_T = _pcbnew.SCH_LABEL_LOCATE_ANY_T
1336SCH_LABEL_LOCATE_WIRE_T = _pcbnew.SCH_LABEL_LOCATE_WIRE_T
1338SCH_LABEL_LOCATE_BUS_T = _pcbnew.SCH_LABEL_LOCATE_BUS_T
1340SCH_SYMBOL_LOCATE_POWER_T = _pcbnew.SCH_SYMBOL_LOCATE_POWER_T
1342SCH_LOCATE_ANY_T = _pcbnew.SCH_LOCATE_ANY_T
1344SCH_SCREEN_T = _pcbnew.SCH_SCREEN_T
1346SCHEMATIC_T = _pcbnew.SCHEMATIC_T
1348GERBER_LAYOUT_T = _pcbnew.GERBER_LAYOUT_T
1350GERBER_DRAW_ITEM_T = _pcbnew.GERBER_DRAW_ITEM_T
1352GERBER_IMAGE_T = _pcbnew.GERBER_IMAGE_T
1354WSG_LINE_T = _pcbnew.WSG_LINE_T
1356WSG_RECT_T = _pcbnew.WSG_RECT_T
1358WSG_POLY_T = _pcbnew.WSG_POLY_T
1360WSG_TEXT_T = _pcbnew.WSG_TEXT_T
1362WSG_BITMAP_T = _pcbnew.WSG_BITMAP_T
1364WSG_PAGE_T = _pcbnew.WSG_PAGE_T
1366WS_PROXY_UNDO_ITEM_T = _pcbnew.WS_PROXY_UNDO_ITEM_T
1368WS_PROXY_UNDO_ITEM_PLUS_T = _pcbnew.WS_PROXY_UNDO_ITEM_PLUS_T
1370SYMBOL_LIB_TABLE_T = _pcbnew.SYMBOL_LIB_TABLE_T
1372FP_LIB_TABLE_T = _pcbnew.FP_LIB_TABLE_T
1374DESIGN_BLOCK_LIB_TABLE_T = _pcbnew.DESIGN_BLOCK_LIB_TABLE_T
1376SYMBOL_LIBS_T = _pcbnew.SYMBOL_LIBS_T
1378SEARCH_STACK_T = _pcbnew.SEARCH_STACK_T
1380S3D_CACHE_T = _pcbnew.S3D_CACHE_T
1382MAX_STRUCT_TYPE_ID = _pcbnew.MAX_STRUCT_TYPE_ID
1386 r"""BaseType(KICAD_T const aType) -> KICAD_T"""
1387 return _pcbnew.BaseType(aType)
1390 r"""IsNullType(KICAD_T const aType) -> bool"""
1391 return _pcbnew.IsNullType(aType)
1394 r"""IsInstantiableType(KICAD_T const aType) -> bool"""
1395 return _pcbnew.IsInstantiableType(aType)
1398 r"""IsEeschemaType(KICAD_T const aType) -> bool"""
1399 return _pcbnew.IsEeschemaType(aType)
1402 r"""IsPcbnewType(KICAD_T const aType) -> bool"""
1403 return _pcbnew.IsPcbnewType(aType)
1406 r"""IsGerbviewType(KICAD_T const aType) -> bool"""
1407 return _pcbnew.IsGerbviewType(aType)
1410 r"""IsPageLayoutEditorType(KICAD_T const aType) -> bool"""
1411 return _pcbnew.IsPageLayoutEditorType(aType)
1414 r"""IsMiscType(KICAD_T const aType) -> bool"""
1415 return _pcbnew.IsMiscType(aType)
1418 r"""IsTypeCorrect(KICAD_T aType) -> bool"""
1419 return _pcbnew.IsTypeCorrect(aType)
1420INSPECT_RESULT_QUIT = _pcbnew.INSPECT_RESULT_QUIT
1422INSPECT_RESULT_CONTINUE = _pcbnew.INSPECT_RESULT_CONTINUE
1425 r"""Proxy of C++ EDA_ITEM class."""
1427 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1430 raise AttributeError(
"No constructor defined - class is abstract")
1431 __repr__ = _swig_repr
1432 __swig_destroy__ = _pcbnew.delete_EDA_ITEM
1435 r"""Type(EDA_ITEM self) -> KICAD_T"""
1436 return _pcbnew.EDA_ITEM_Type(self)
1439 r"""GetParent(EDA_ITEM self) -> EDA_ITEM"""
1440 return _pcbnew.EDA_ITEM_GetParent(self)
1443 r"""SetParent(EDA_ITEM self, EDA_ITEM aParent)"""
1444 return _pcbnew.EDA_ITEM_SetParent(self, aParent)
1447 r"""IsModified(EDA_ITEM self) -> bool"""
1448 return _pcbnew.EDA_ITEM_IsModified(self)
1451 r"""IsNew(EDA_ITEM self) -> bool"""
1452 return _pcbnew.EDA_ITEM_IsNew(self)
1455 r"""IsMoving(EDA_ITEM self) -> bool"""
1456 return _pcbnew.EDA_ITEM_IsMoving(self)
1459 r"""IsSelected(EDA_ITEM self) -> bool"""
1460 return _pcbnew.EDA_ITEM_IsSelected(self)
1463 r"""IsEntered(EDA_ITEM self) -> bool"""
1464 return _pcbnew.EDA_ITEM_IsEntered(self)
1467 r"""IsBrightened(EDA_ITEM self) -> bool"""
1468 return _pcbnew.EDA_ITEM_IsBrightened(self)
1471 r"""IsRollover(EDA_ITEM self) -> bool"""
1472 return _pcbnew.EDA_ITEM_IsRollover(self)
1475 r"""SetSelected(EDA_ITEM self)"""
1476 return _pcbnew.EDA_ITEM_SetSelected(self)
1479 r"""SetBrightened(EDA_ITEM self)"""
1480 return _pcbnew.EDA_ITEM_SetBrightened(self)
1483 r"""ClearSelected(EDA_ITEM self)"""
1484 return _pcbnew.EDA_ITEM_ClearSelected(self)
1487 r"""ClearBrightened(EDA_ITEM self)"""
1488 return _pcbnew.EDA_ITEM_ClearBrightened(self)
1491 r"""SetModified(EDA_ITEM self)"""
1492 return _pcbnew.EDA_ITEM_SetModified(self)
1495 r"""SetFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1496 return _pcbnew.EDA_ITEM_SetFlags(self, aMask)
1499 r"""XorFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1500 return _pcbnew.EDA_ITEM_XorFlags(self, aMask)
1503 r"""ClearFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask=EDA_ITEM_ALL_FLAGS)"""
1504 return _pcbnew.EDA_ITEM_ClearFlags(self, *args)
1507 r"""GetFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1508 return _pcbnew.EDA_ITEM_GetFlags(self)
1511 r"""HasFlag(EDA_ITEM self, EDA_ITEM_FLAGS aFlag) -> bool"""
1512 return _pcbnew.EDA_ITEM_HasFlag(self, aFlag)
1515 r"""GetEditFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1516 return _pcbnew.EDA_ITEM_GetEditFlags(self)
1519 r"""ClearEditFlags(EDA_ITEM self)"""
1520 return _pcbnew.EDA_ITEM_ClearEditFlags(self)
1523 r"""GetTempFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1524 return _pcbnew.EDA_ITEM_GetTempFlags(self)
1527 r"""ClearTempFlags(EDA_ITEM self)"""
1528 return _pcbnew.EDA_ITEM_ClearTempFlags(self)
1531 r"""RenderAsBitmap(EDA_ITEM self, double aWorldScale) -> bool"""
1532 return _pcbnew.EDA_ITEM_RenderAsBitmap(self, aWorldScale)
1535 r"""SetIsShownAsBitmap(EDA_ITEM self, bool aBitmap)"""
1536 return _pcbnew.EDA_ITEM_SetIsShownAsBitmap(self, aBitmap)
1539 r"""IsShownAsBitmap(EDA_ITEM self) -> bool"""
1540 return _pcbnew.EDA_ITEM_IsShownAsBitmap(self)
1543 r"""IsType(EDA_ITEM self, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> bool"""
1544 return _pcbnew.EDA_ITEM_IsType(self, aScanTypes)
1547 r"""SetForceVisible(EDA_ITEM self, bool aEnable)"""
1548 return _pcbnew.EDA_ITEM_SetForceVisible(self, aEnable)
1551 r"""IsForceVisible(EDA_ITEM self) -> bool"""
1552 return _pcbnew.EDA_ITEM_IsForceVisible(self)
1555 r"""GetMsgPanelInfo(EDA_ITEM self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
1556 return _pcbnew.EDA_ITEM_GetMsgPanelInfo(self, aFrame, aList)
1559 r"""GetFriendlyName(EDA_ITEM self) -> wxString"""
1560 return _pcbnew.EDA_ITEM_GetFriendlyName(self)
1564 HitTest(EDA_ITEM self, VECTOR2I aPosition, int aAccuracy=0) -> bool
1565 HitTest(EDA_ITEM self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
1567 return _pcbnew.EDA_ITEM_HitTest(self, *args)
1570 r"""GetBoundingBox(EDA_ITEM self) -> BOX2I"""
1571 return _pcbnew.EDA_ITEM_GetBoundingBox(self)
1574 r"""GetPosition(EDA_ITEM self) -> VECTOR2I"""
1575 return _pcbnew.EDA_ITEM_GetPosition(self)
1578 r"""SetPosition(EDA_ITEM self, VECTOR2I aPos)"""
1579 return _pcbnew.EDA_ITEM_SetPosition(self, aPos)
1582 r"""GetFocusPosition(EDA_ITEM self) -> VECTOR2I"""
1583 return _pcbnew.EDA_ITEM_GetFocusPosition(self)
1586 r"""GetSortPosition(EDA_ITEM self) -> VECTOR2I"""
1587 return _pcbnew.EDA_ITEM_GetSortPosition(self)
1590 r"""Clone(EDA_ITEM self) -> EDA_ITEM"""
1591 return _pcbnew.EDA_ITEM_Clone(self)
1593 def Visit(self, inspector, testData, aScanTypes):
1594 r"""Visit(EDA_ITEM self, INSPECTOR inspector, void * testData, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> INSPECT_RESULT"""
1595 return _pcbnew.EDA_ITEM_Visit(self, inspector, testData, aScanTypes)
1598 r"""GetClass(EDA_ITEM self) -> wxString"""
1599 return _pcbnew.EDA_ITEM_GetClass(self)
1602 r"""GetTypeDesc(EDA_ITEM self) -> wxString"""
1603 return _pcbnew.EDA_ITEM_GetTypeDesc(self)
1606 r"""GetItemDescription(EDA_ITEM self, UNITS_PROVIDER aUnitsProvider, bool aFull) -> wxString"""
1607 return _pcbnew.EDA_ITEM_GetItemDescription(self, aUnitsProvider, aFull)
1610 r"""GetMenuImage(EDA_ITEM self) -> BITMAPS"""
1611 return _pcbnew.EDA_ITEM_GetMenuImage(self)
1614 r"""Matches(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData) -> bool"""
1615 return _pcbnew.EDA_ITEM_Matches(self, aSearchData, aAuxData)
1619 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, wxString aText) -> bool
1620 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData=None) -> bool
1622 return _pcbnew.EDA_ITEM_Replace(self, *args)
1625 r"""IsReplaceable(EDA_ITEM self) -> bool"""
1626 return _pcbnew.EDA_ITEM_IsReplaceable(self)
1629 r"""__lt__(EDA_ITEM self, EDA_ITEM aItem) -> bool"""
1630 return _pcbnew.EDA_ITEM___lt__(self, aItem)
1634 r"""Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1635 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1638 r"""ViewBBox(EDA_ITEM self) -> BOX2I"""
1639 return _pcbnew.EDA_ITEM_ViewBBox(self)
1642 r"""ViewGetLayers(EDA_ITEM self) -> intVector"""
1643 return _pcbnew.EDA_ITEM_ViewGetLayers(self)
1646 r"""GetEmbeddedFiles(EDA_ITEM self) -> EMBEDDED_FILES *"""
1647 return _pcbnew.EDA_ITEM_GetEmbeddedFiles(self)
1648 m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=
r"""m_Uuid : q(const).KIID""")
1651_pcbnew.EDA_ITEM_swigregister(EDA_ITEM)
1654 r"""new_clone(EDA_ITEM aItem) -> EDA_ITEM"""
1655 return _pcbnew.new_clone(aItem)
1657 r"""Proxy of C++ CompareByUuid class."""
1659 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1660 __repr__ = _swig_repr
1663 r"""__call__(CompareByUuid self, EDA_ITEM item1, EDA_ITEM item2) -> bool"""
1664 return _pcbnew.CompareByUuid___call__(self, item1, item2)
1667 r"""__init__(CompareByUuid self) -> CompareByUuid"""
1668 _pcbnew.CompareByUuid_swiginit(self, _pcbnew.new_CompareByUuid())
1669 __swig_destroy__ = _pcbnew.delete_CompareByUuid
1672_pcbnew.CompareByUuid_swigregister(CompareByUuid)
1674 r"""Proxy of C++ EDA_IU_SCALE class."""
1676 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1677 __repr__ = _swig_repr
1678 IU_PER_MM = property(_pcbnew.EDA_IU_SCALE_IU_PER_MM_get, doc=
r"""IU_PER_MM : q(const).double""")
1679 IU_PER_MILS = property(_pcbnew.EDA_IU_SCALE_IU_PER_MILS_get, doc=
r"""IU_PER_MILS : q(const).double""")
1680 MM_PER_IU = property(_pcbnew.EDA_IU_SCALE_MM_PER_IU_get, doc=
r"""MM_PER_IU : q(const).double""")
1683 r"""__init__(EDA_IU_SCALE self, double aIUPerMM) -> EDA_IU_SCALE"""
1684 _pcbnew.EDA_IU_SCALE_swiginit(self, _pcbnew.new_EDA_IU_SCALE(aIUPerMM))
1687 r"""IUTomm(EDA_IU_SCALE self, int iu) -> double"""
1688 return _pcbnew.EDA_IU_SCALE_IUTomm(self, iu)
1691 r"""mmToIU(EDA_IU_SCALE self, double mm) -> int"""
1692 return _pcbnew.EDA_IU_SCALE_mmToIU(self, mm)
1695 r"""MilsToIU(EDA_IU_SCALE self, int mils) -> int"""
1696 return _pcbnew.EDA_IU_SCALE_MilsToIU(self, mils)
1699 r"""IUToMils(EDA_IU_SCALE self, int iu) -> int"""
1700 return _pcbnew.EDA_IU_SCALE_IUToMils(self, iu)
1701 __swig_destroy__ = _pcbnew.delete_EDA_IU_SCALE
1704_pcbnew.EDA_IU_SCALE_swigregister(EDA_IU_SCALE)
1705GERB_IU_PER_MM = cvar.GERB_IU_PER_MM
1706PCB_IU_PER_MM = cvar.PCB_IU_PER_MM
1707PL_IU_PER_MM = cvar.PL_IU_PER_MM
1708SCH_IU_PER_MM = cvar.SCH_IU_PER_MM
1710EDA_DATA_TYPE_DISTANCE = _pcbnew.EDA_DATA_TYPE_DISTANCE
1712EDA_DATA_TYPE_AREA = _pcbnew.EDA_DATA_TYPE_AREA
1714EDA_DATA_TYPE_VOLUME = _pcbnew.EDA_DATA_TYPE_VOLUME
1716EDA_DATA_TYPE_UNITLESS = _pcbnew.EDA_DATA_TYPE_UNITLESS
1718EDA_UNITS_INCHES = _pcbnew.EDA_UNITS_INCHES
1720EDA_UNITS_MILLIMETRES = _pcbnew.EDA_UNITS_MILLIMETRES
1722EDA_UNITS_UNSCALED = _pcbnew.EDA_UNITS_UNSCALED
1724EDA_UNITS_DEGREES = _pcbnew.EDA_UNITS_DEGREES
1726EDA_UNITS_PERCENT = _pcbnew.EDA_UNITS_PERCENT
1728EDA_UNITS_MILS = _pcbnew.EDA_UNITS_MILS
1730EDA_UNITS_MICROMETRES = _pcbnew.EDA_UNITS_MICROMETRES
1732EDA_UNITS_CENTIMETRES = _pcbnew.EDA_UNITS_CENTIMETRES
1736 r"""IsImperialUnit(EDA_UNITS aUnit) -> bool"""
1737 return _pcbnew.IsImperialUnit(aUnit)
1740 r"""IsMetricUnit(EDA_UNITS aUnit) -> bool"""
1741 return _pcbnew.IsMetricUnit(aUnit)
1744 r"""Mm2mils(double aVal) -> int"""
1745 return _pcbnew.Mm2mils(aVal)
1748 r"""Mils2mm(double aVal) -> int"""
1749 return _pcbnew.Mils2mm(aVal)
1752 r"""FetchUnitsFromString(wxString aTextValue, EDA_UNITS & aUnits) -> bool"""
1753 return _pcbnew.FetchUnitsFromString(aTextValue, aUnits)
1756 r"""GetText(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1757 return _pcbnew.GetText(*args)
1760 r"""GetLabel(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1761 return _pcbnew.GetLabel(*args)
1764 r"""FormatAngle(EDA_ANGLE aAngle) -> string"""
1765 return _pcbnew.FormatAngle(aAngle)
1772 return _pcbnew.FormatInternalUnits(*args)
1775 r"""Mils2IU(EDA_IU_SCALE aIuScale, int mils) -> int"""
1776 return _pcbnew.Mils2IU(aIuScale, mils)
1779 r"""ToUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1780 return _pcbnew.ToUserUnit(aIuScale, aUnit, aValue)
1783 r"""StringFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1784 return _pcbnew.StringFromValue(*args)
1788 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1789 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, int aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1790 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, long long aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1793 return _pcbnew.MessageTextFromValue(*args)
1796 r"""MessageTextFromMinOptMax(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, MINOPTMAX< int > const & aValue) -> wxString"""
1797 return _pcbnew.MessageTextFromMinOptMax(aIuScale, aUnits, aValue)
1800 r"""FromUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1801 return _pcbnew.FromUserUnit(aIuScale, aUnit, aValue)
1805 DoubleValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> double
1808 return _pcbnew.DoubleValueFromString(*args)
1812 ValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> long long
1815 return _pcbnew.ValueFromString(*args)
1818 r"""SearchHelpFileFullPath(wxString aBaseName) -> wxString"""
1819 return _pcbnew.SearchHelpFileFullPath(aBaseName)
1822 r"""EnsureFileDirectoryExists(wxFileName * aTargetFullFileName, wxString aBaseFilename, REPORTER * aReporter=None) -> bool"""
1823 return _pcbnew.EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter)
1826 r"""EnsureFileExtension(wxString aFilename, wxString aExtension) -> wxString"""
1827 return _pcbnew.EnsureFileExtension(aFilename, aExtension)
1830 r"""ExpandEnvVarSubstitutions(wxString aString, PROJECT const * aProject) -> wxString"""
1831 return _pcbnew.ExpandEnvVarSubstitutions(aString, aProject)
1832FOR_ERC_DRC = _pcbnew.FOR_ERC_DRC
1837 ExpandTextVars(wxString aSource, std::function< bool (wxString *) > const * aResolver, int aFlags=0) -> wxString
1838 ExpandTextVars(wxString aSource, PROJECT const * aProject, int aFlags=0) -> wxString
1840 return _pcbnew.ExpandTextVars(*args)
1843 r"""GetTextVars(wxString aSource) -> wxString"""
1844 return _pcbnew.GetTextVars(aSource)
1847 r"""IsTextVar(wxString aSource) -> bool"""
1848 return _pcbnew.IsTextVar(aSource)
1851 r"""ResolveUriByEnvVars(wxString aUri, PROJECT const * aProject) -> wxString"""
1852 return _pcbnew.ResolveUriByEnvVars(aUri, aProject)
1855 r"""TimestampDir(wxString aDirPath, wxString aFilespec) -> long long"""
1856 return _pcbnew.TimestampDir(aDirPath, aFilespec)
1859 r"""WarnUserIfOperatingSystemUnsupported() -> bool"""
1860 return _pcbnew.WarnUserIfOperatingSystemUnsupported()
1864 StrPrintf(string aResult, char const * aFormat) -> int
1865 StrPrintf(char const * format) -> string
1867 return _pcbnew.StrPrintf(*args)
1870 r"""SafeReadFile(wxString aFilePath, wxString aReadType) -> wxString"""
1871 return _pcbnew.SafeReadFile(aFilePath, aReadType)
1872LINE_READER_LINE_DEFAULT_MAX = _pcbnew.LINE_READER_LINE_DEFAULT_MAX
1874LINE_READER_LINE_INITIAL_SIZE = _pcbnew.LINE_READER_LINE_INITIAL_SIZE
1877 r"""Proxy of C++ LINE_READER class."""
1879 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1882 raise AttributeError(
"No constructor defined - class is abstract")
1883 __repr__ = _swig_repr
1884 __swig_destroy__ = _pcbnew.delete_LINE_READER
1887 r"""ReadLine(LINE_READER self) -> char *"""
1888 return _pcbnew.LINE_READER_ReadLine(self)
1891 r"""GetSource(LINE_READER self) -> wxString"""
1892 return _pcbnew.LINE_READER_GetSource(self)
1895 r"""Line(LINE_READER self) -> char *"""
1896 return _pcbnew.LINE_READER_Line(self)
1899 r"""LineNumber(LINE_READER self) -> unsigned int"""
1900 return _pcbnew.LINE_READER_LineNumber(self)
1903 r"""Length(LINE_READER self) -> unsigned int"""
1904 return _pcbnew.LINE_READER_Length(self)
1907_pcbnew.LINE_READER_swigregister(LINE_READER)
1908gerbIUScale = cvar.gerbIUScale
1909pcbIUScale = cvar.pcbIUScale
1910drawSheetIUScale = cvar.drawSheetIUScale
1911schIUScale = cvar.schIUScale
1912unityScale = cvar.unityScale
1915 r"""Proxy of C++ FILE_LINE_READER class."""
1917 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1918 __repr__ = _swig_repr
1922 __init__(FILE_LINE_READER self, wxString aFileName, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
1923 __init__(FILE_LINE_READER self, FILE * aFile, wxString aFileName, bool doOwn=True, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
1925 _pcbnew.FILE_LINE_READER_swiginit(self, _pcbnew.new_FILE_LINE_READER(*args))
1926 __swig_destroy__ = _pcbnew.delete_FILE_LINE_READER
1929 r"""Rewind(FILE_LINE_READER self)"""
1930 return _pcbnew.FILE_LINE_READER_Rewind(self)
1933 r"""FileLength(FILE_LINE_READER self) -> long"""
1934 return _pcbnew.FILE_LINE_READER_FileLength(self)
1937 r"""CurPos(FILE_LINE_READER self) -> long"""
1938 return _pcbnew.FILE_LINE_READER_CurPos(self)
1941_pcbnew.FILE_LINE_READER_swigregister(FILE_LINE_READER)
1943 r"""Proxy of C++ STRING_LINE_READER class."""
1945 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1946 __repr__ = _swig_repr
1950 __init__(STRING_LINE_READER self, string aString, wxString aSource) -> STRING_LINE_READER
1951 __init__(STRING_LINE_READER self, STRING_LINE_READER aStartingPoint) -> STRING_LINE_READER
1953 _pcbnew.STRING_LINE_READER_swiginit(self, _pcbnew.new_STRING_LINE_READER(*args))
1954 __swig_destroy__ = _pcbnew.delete_STRING_LINE_READER
1957_pcbnew.STRING_LINE_READER_swigregister(STRING_LINE_READER)
1959 r"""Proxy of C++ INPUTSTREAM_LINE_READER class."""
1961 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1962 __repr__ = _swig_repr
1965 r"""__init__(INPUTSTREAM_LINE_READER self, wxInputStream * aStream, wxString aSource) -> INPUTSTREAM_LINE_READER"""
1966 _pcbnew.INPUTSTREAM_LINE_READER_swiginit(self, _pcbnew.new_INPUTSTREAM_LINE_READER(aStream, aSource))
1967 __swig_destroy__ = _pcbnew.delete_INPUTSTREAM_LINE_READER
1970_pcbnew.INPUTSTREAM_LINE_READER_swigregister(INPUTSTREAM_LINE_READER)
1971OUTPUTFMTBUFZ = _pcbnew.OUTPUTFMTBUFZ
1974 r"""Proxy of C++ OUTPUTFORMATTER class."""
1976 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1979 raise AttributeError(
"No constructor defined - class is abstract")
1980 __repr__ = _swig_repr
1981 __swig_destroy__ = _pcbnew.delete_OUTPUTFORMATTER
1985 Print(OUTPUTFORMATTER self, int nestLevel, char const * fmt) -> int
1986 Print(OUTPUTFORMATTER self, char const * fmt) -> int
1988 return _pcbnew.OUTPUTFORMATTER_Print(self, *args)
1991 r"""GetQuoteChar(OUTPUTFORMATTER self, char const * wrapee) -> char const *"""
1992 return _pcbnew.OUTPUTFORMATTER_GetQuoteChar(self, wrapee)
1995 r"""Quotes(OUTPUTFORMATTER self, string aWrapee) -> string"""
1996 return _pcbnew.OUTPUTFORMATTER_Quotes(self, aWrapee)
1999 r"""Quotew(OUTPUTFORMATTER self, wxString aWrapee) -> string"""
2000 return _pcbnew.OUTPUTFORMATTER_Quotew(self, aWrapee)
2003 r"""Finish(OUTPUTFORMATTER self) -> bool"""
2004 return _pcbnew.OUTPUTFORMATTER_Finish(self)
2007_pcbnew.OUTPUTFORMATTER_swigregister(OUTPUTFORMATTER)
2009 r"""Proxy of C++ STRING_FORMATTER class."""
2011 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2012 __repr__ = _swig_repr
2015 r"""__init__(STRING_FORMATTER self, int aReserve=500, char aQuoteChar='\"') -> STRING_FORMATTER"""
2016 _pcbnew.STRING_FORMATTER_swiginit(self, _pcbnew.new_STRING_FORMATTER(*args))
2019 r"""Clear(STRING_FORMATTER self)"""
2020 return _pcbnew.STRING_FORMATTER_Clear(self)
2023 r"""StripUseless(STRING_FORMATTER self)"""
2024 return _pcbnew.STRING_FORMATTER_StripUseless(self)
2027 r"""GetString(STRING_FORMATTER self) -> string"""
2028 return _pcbnew.STRING_FORMATTER_GetString(self)
2029 __swig_destroy__ = _pcbnew.delete_STRING_FORMATTER
2032_pcbnew.STRING_FORMATTER_swigregister(STRING_FORMATTER)
2034 r"""Proxy of C++ FILE_OUTPUTFORMATTER class."""
2036 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2037 __repr__ = _swig_repr
2040 r"""__init__(FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> FILE_OUTPUTFORMATTER"""
2041 _pcbnew.FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_FILE_OUTPUTFORMATTER(*args))
2042 __swig_destroy__ = _pcbnew.delete_FILE_OUTPUTFORMATTER
2045_pcbnew.FILE_OUTPUTFORMATTER_swigregister(FILE_OUTPUTFORMATTER)
2047 r"""Proxy of C++ PRETTIFIED_FILE_OUTPUTFORMATTER class."""
2049 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2050 __repr__ = _swig_repr
2053 r"""__init__(PRETTIFIED_FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> PRETTIFIED_FILE_OUTPUTFORMATTER"""
2054 _pcbnew.PRETTIFIED_FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_PRETTIFIED_FILE_OUTPUTFORMATTER(*args))
2055 __swig_destroy__ = _pcbnew.delete_PRETTIFIED_FILE_OUTPUTFORMATTER
2058_pcbnew.PRETTIFIED_FILE_OUTPUTFORMATTER_swigregister(PRETTIFIED_FILE_OUTPUTFORMATTER)
2060 r"""Proxy of C++ TITLE_BLOCK class."""
2062 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2063 __repr__ = _swig_repr
2066 r"""__init__(TITLE_BLOCK self) -> TITLE_BLOCK"""
2067 _pcbnew.TITLE_BLOCK_swiginit(self, _pcbnew.new_TITLE_BLOCK())
2068 __swig_destroy__ = _pcbnew.delete_TITLE_BLOCK
2071 r"""SetTitle(TITLE_BLOCK self, wxString aTitle)"""
2072 return _pcbnew.TITLE_BLOCK_SetTitle(self, aTitle)
2075 r"""GetTitle(TITLE_BLOCK self) -> wxString"""
2076 return _pcbnew.TITLE_BLOCK_GetTitle(self)
2079 r"""SetDate(TITLE_BLOCK self, wxString aDate)"""
2080 return _pcbnew.TITLE_BLOCK_SetDate(self, aDate)
2083 r"""GetDate(TITLE_BLOCK self) -> wxString"""
2084 return _pcbnew.TITLE_BLOCK_GetDate(self)
2087 r"""SetRevision(TITLE_BLOCK self, wxString aRevision)"""
2088 return _pcbnew.TITLE_BLOCK_SetRevision(self, aRevision)
2091 r"""GetRevision(TITLE_BLOCK self) -> wxString"""
2092 return _pcbnew.TITLE_BLOCK_GetRevision(self)
2095 r"""SetCompany(TITLE_BLOCK self, wxString aCompany)"""
2096 return _pcbnew.TITLE_BLOCK_SetCompany(self, aCompany)
2099 r"""GetCompany(TITLE_BLOCK self) -> wxString"""
2100 return _pcbnew.TITLE_BLOCK_GetCompany(self)
2103 r"""SetComment(TITLE_BLOCK self, int aIdx, wxString aComment)"""
2104 return _pcbnew.TITLE_BLOCK_SetComment(self, aIdx, aComment)
2107 r"""GetComment(TITLE_BLOCK self, int aIdx) -> wxString"""
2108 return _pcbnew.TITLE_BLOCK_GetComment(self, aIdx)
2111 r"""Clear(TITLE_BLOCK self)"""
2112 return _pcbnew.TITLE_BLOCK_Clear(self)
2116 r"""GetContextualTextVars(wxArrayString * aVars)"""
2117 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2120 r"""TextVarResolver(TITLE_BLOCK self, wxString aToken, PROJECT const * aProject, int aFlags=0) -> bool"""
2121 return _pcbnew.TITLE_BLOCK_TextVarResolver(self, aToken, aProject, aFlags)
2124 r"""Format(TITLE_BLOCK self, OUTPUTFORMATTER aFormatter)"""
2125 return _pcbnew.TITLE_BLOCK_Format(self, aFormatter)
2128_pcbnew.TITLE_BLOCK_swigregister(TITLE_BLOCK)
2129UNSPECIFIED_COLOR = _pcbnew.UNSPECIFIED_COLOR
2131BLACK = _pcbnew.BLACK
2133DARKDARKGRAY = _pcbnew.DARKDARKGRAY
2135DARKGRAY = _pcbnew.DARKGRAY
2137LIGHTGRAY = _pcbnew.LIGHTGRAY
2139WHITE = _pcbnew.WHITE
2141LIGHTYELLOW = _pcbnew.LIGHTYELLOW
2143DARKBLUE = _pcbnew.DARKBLUE
2145DARKGREEN = _pcbnew.DARKGREEN
2147DARKCYAN = _pcbnew.DARKCYAN
2149DARKRED = _pcbnew.DARKRED
2151DARKMAGENTA = _pcbnew.DARKMAGENTA
2153DARKBROWN = _pcbnew.DARKBROWN
2157GREEN = _pcbnew.GREEN
2163MAGENTA = _pcbnew.MAGENTA
2165BROWN = _pcbnew.BROWN
2167LIGHTBLUE = _pcbnew.LIGHTBLUE
2169LIGHTGREEN = _pcbnew.LIGHTGREEN
2171LIGHTCYAN = _pcbnew.LIGHTCYAN
2173LIGHTRED = _pcbnew.LIGHTRED
2175LIGHTMAGENTA = _pcbnew.LIGHTMAGENTA
2177YELLOW = _pcbnew.YELLOW
2179PUREBLUE = _pcbnew.PUREBLUE
2181PUREGREEN = _pcbnew.PUREGREEN
2183PURECYAN = _pcbnew.PURECYAN
2185PURERED = _pcbnew.PURERED
2187PUREMAGENTA = _pcbnew.PUREMAGENTA
2189PUREYELLOW = _pcbnew.PUREYELLOW
2191LIGHTERORANGE = _pcbnew.LIGHTERORANGE
2193DARKORANGE = _pcbnew.DARKORANGE
2195ORANGE = _pcbnew.ORANGE
2197LIGHTORANGE = _pcbnew.LIGHTORANGE
2199PUREORANGE = _pcbnew.PUREORANGE
2201NBCOLORS = _pcbnew.NBCOLORS
2203HIGHLIGHT_FLAG = _pcbnew.HIGHLIGHT_FLAG
2205MASKCOLOR = _pcbnew.MASKCOLOR
2208 r"""Proxy of C++ StructColors class."""
2210 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2211 __repr__ = _swig_repr
2212 m_Blue = property(_pcbnew.StructColors_m_Blue_get, _pcbnew.StructColors_m_Blue_set, doc=
r"""m_Blue : unsigned char""")
2213 m_Green = property(_pcbnew.StructColors_m_Green_get, _pcbnew.StructColors_m_Green_set, doc=r"""m_Green : unsigned char""")
2214 m_Red = property(_pcbnew.StructColors_m_Red_get, _pcbnew.StructColors_m_Red_set, doc=r"""m_Red : unsigned char""")
2215 m_Numcolor = property(_pcbnew.StructColors_m_Numcolor_get, _pcbnew.StructColors_m_Numcolor_set, doc=r"""m_Numcolor : EDA_COLOR_T""")
2216 m_ColorName = property(_pcbnew.StructColors_m_ColorName_get, _pcbnew.StructColors_m_ColorName_set, doc=
r"""m_ColorName : std::string""")
2217 m_LightColor = property(_pcbnew.StructColors_m_LightColor_get, _pcbnew.StructColors_m_LightColor_set, doc=
r"""m_LightColor : EDA_COLOR_T""")
2220 r"""__init__(StructColors self) -> StructColors"""
2221 _pcbnew.StructColors_swiginit(self, _pcbnew.new_StructColors())
2222 __swig_destroy__ = _pcbnew.delete_StructColors
2225_pcbnew.StructColors_swigregister(StructColors)
2228 r"""colorRefs() -> StructColors"""
2229 return _pcbnew.colorRefs()
2231 r"""Proxy of C++ KIGFX::COLOR4D class."""
2233 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2234 __repr__ = _swig_repr
2237 r"""FromCSSRGBA(COLOR4D self, int aRed, int aGreen, int aBlue, double aAlpha=1.0) -> COLOR4D"""
2238 return _pcbnew.COLOR4D_FromCSSRGBA(self, aRed, aGreen, aBlue, aAlpha)
2243 __init__(COLOR4D self, double aRed, double aGreen, double aBlue, double aAlpha) -> COLOR4D
2244 __init__(COLOR4D self, EDA_COLOR_T aColor) -> COLOR4D
2245 __init__(COLOR4D self, wxString aColorStr) -> COLOR4D
2246 __init__(COLOR4D self, wxColour const & aColor) -> COLOR4D
2248 _pcbnew.COLOR4D_swiginit(self, _pcbnew.new_COLOR4D(*args))
2251 r"""SetFromWxString(COLOR4D self, wxString aColorString) -> bool"""
2252 return _pcbnew.COLOR4D_SetFromWxString(self, aColorString)
2255 r"""ToCSSString(COLOR4D self) -> wxString"""
2256 return _pcbnew.COLOR4D_ToCSSString(self)
2259 r"""SetFromHexString(COLOR4D self, wxString aColorString) -> bool"""
2260 return _pcbnew.COLOR4D_SetFromHexString(self, aColorString)
2263 r"""ToHexString(COLOR4D self) -> wxString"""
2264 return _pcbnew.COLOR4D_ToHexString(self)
2267 r"""ToColour(COLOR4D self) -> wxColour"""
2268 return _pcbnew.COLOR4D_ToColour(self)
2271 r"""LegacyMix(COLOR4D self, COLOR4D aColor) -> COLOR4D"""
2272 return _pcbnew.COLOR4D_LegacyMix(self, aColor)
2274 def ToHSL(self, aOutHue, aOutSaturation, aOutLightness):
2275 r"""ToHSL(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutLightness)"""
2276 return _pcbnew.COLOR4D_ToHSL(self, aOutHue, aOutSaturation, aOutLightness)
2278 def FromHSL(self, aInHue, aInSaturation, aInLightness):
2279 r"""FromHSL(COLOR4D self, double aInHue, double aInSaturation, double aInLightness)"""
2280 return _pcbnew.COLOR4D_FromHSL(self, aInHue, aInSaturation, aInLightness)
2283 r"""Brighten(COLOR4D self, double aFactor) -> COLOR4D"""
2284 return _pcbnew.COLOR4D_Brighten(self, aFactor)
2287 r"""Darken(COLOR4D self, double aFactor) -> COLOR4D"""
2288 return _pcbnew.COLOR4D_Darken(self, aFactor)
2291 r"""Invert(COLOR4D self) -> COLOR4D"""
2292 return _pcbnew.COLOR4D_Invert(self)
2295 r"""Saturate(COLOR4D self, double aFactor) -> COLOR4D"""
2296 return _pcbnew.COLOR4D_Saturate(self, aFactor)
2299 r"""Desaturate(COLOR4D self) -> COLOR4D"""
2300 return _pcbnew.COLOR4D_Desaturate(self)
2303 r"""Brightened(COLOR4D self, double aFactor) -> COLOR4D"""
2304 return _pcbnew.COLOR4D_Brightened(self, aFactor)
2307 r"""Darkened(COLOR4D self, double aFactor) -> COLOR4D"""
2308 return _pcbnew.COLOR4D_Darkened(self, aFactor)
2310 def Mix(self, aColor, aFactor):
2311 r"""Mix(COLOR4D self, COLOR4D aColor, double aFactor) -> COLOR4D"""
2312 return _pcbnew.COLOR4D_Mix(self, aColor, aFactor)
2315 r"""WithAlpha(COLOR4D self, double aAlpha) -> COLOR4D"""
2316 return _pcbnew.COLOR4D_WithAlpha(self, aAlpha)
2319 r"""Inverted(COLOR4D self) -> COLOR4D"""
2320 return _pcbnew.COLOR4D_Inverted(self)
2323 r"""GetBrightness(COLOR4D self) -> double"""
2324 return _pcbnew.COLOR4D_GetBrightness(self)
2326 def ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue=False):
2327 r"""ToHSV(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue, bool aAlwaysDefineHue=False)"""
2328 return _pcbnew.COLOR4D_ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue)
2331 r"""FromHSV(COLOR4D self, double aInH, double aInS, double aInV)"""
2332 return _pcbnew.COLOR4D_FromHSV(self, aInH, aInS, aInV)
2335 r"""Distance(COLOR4D self, COLOR4D other) -> double"""
2336 return _pcbnew.COLOR4D_Distance(self, other)
2339 r"""Compare(COLOR4D self, COLOR4D aRhs) -> int"""
2340 return _pcbnew.COLOR4D_Compare(self, aRhs)
2343 r"""RelativeLuminance(COLOR4D self) -> double"""
2344 return _pcbnew.COLOR4D_RelativeLuminance(self)
2348 r"""ContrastRatio(COLOR4D aLeft, COLOR4D aRight) -> double"""
2349 return _pcbnew.COLOR4D_ContrastRatio(aLeft, aRight)
2353 r"""FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2354 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2355 r = property(_pcbnew.COLOR4D_r_get, _pcbnew.COLOR4D_r_set, doc=
r"""r : double""")
2356 g = property(_pcbnew.COLOR4D_g_get, _pcbnew.COLOR4D_g_set, doc=
r"""g : double""")
2357 b = property(_pcbnew.COLOR4D_b_get, _pcbnew.COLOR4D_b_set, doc=
r"""b : double""")
2358 a = property(_pcbnew.COLOR4D_a_get, _pcbnew.COLOR4D_a_set, doc=
r"""a : double""")
2359 __swig_destroy__ = _pcbnew.delete_COLOR4D
2362_pcbnew.COLOR4D_swigregister(COLOR4D)
2363COLOR4D.UNSPECIFIED = _pcbnew.cvar.COLOR4D_UNSPECIFIED
2364COLOR4D.WHITE = _pcbnew.cvar.COLOR4D_WHITE
2365COLOR4D.BLACK = _pcbnew.cvar.COLOR4D_BLACK
2366COLOR4D.CLEAR = _pcbnew.cvar.COLOR4D_CLEAR
2370 r"""__eq__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2371 return _pcbnew.__eq__(lhs, rhs)
2374 r"""__ne__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2375 return _pcbnew.__ne__(lhs, rhs)
2378 r"""__lt__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2379 return _pcbnew.__lt__(lhs, rhs)
2382 r"""__lshift__(std::ostream & aStream, COLOR4D aColor) -> std::ostream &"""
2383 return _pcbnew.__lshift__(aStream, aColor)
2385 r"""Proxy of C++ MARKER_BASE class."""
2387 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2390 raise AttributeError(
"No constructor defined - class is abstract")
2391 __repr__ = _swig_repr
2392 MARKER_UNSPEC = _pcbnew.MARKER_BASE_MARKER_UNSPEC
2394 MARKER_ERC = _pcbnew.MARKER_BASE_MARKER_ERC
2396 MARKER_DRC = _pcbnew.MARKER_BASE_MARKER_DRC
2398 MARKER_DRAWING_SHEET = _pcbnew.MARKER_BASE_MARKER_DRAWING_SHEET
2400 MARKER_RATSNEST = _pcbnew.MARKER_BASE_MARKER_RATSNEST
2402 MARKER_PARITY = _pcbnew.MARKER_BASE_MARKER_PARITY
2404 MARKER_SIMUL = _pcbnew.MARKER_BASE_MARKER_SIMUL
2406 __swig_destroy__ = _pcbnew.delete_MARKER_BASE
2409 r"""MarkerScale(MARKER_BASE self) -> int"""
2410 return _pcbnew.MARKER_BASE_MarkerScale(self)
2413 r"""SetMarkerScale(MARKER_BASE self, int aScale)"""
2414 return _pcbnew.MARKER_BASE_SetMarkerScale(self, aScale)
2417 r"""ShapeToPolygon(MARKER_BASE self, SHAPE_LINE_CHAIN aPolygon, int aScale=-1)"""
2418 return _pcbnew.MARKER_BASE_ShapeToPolygon(self, aPolygon, aScale)
2421 r"""PrintMarker(MARKER_BASE self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset)"""
2422 return _pcbnew.MARKER_BASE_PrintMarker(self, aSettings, aOffset)
2425 r"""GetPos(MARKER_BASE self) -> VECTOR2I"""
2426 return _pcbnew.MARKER_BASE_GetPos(self)
2429 r"""GetUUID(MARKER_BASE self) -> KIID"""
2430 return _pcbnew.MARKER_BASE_GetUUID(self)
2433 r"""SetMarkerType(MARKER_BASE self, enum MARKER_BASE::MARKER_T aMarkerType)"""
2434 return _pcbnew.MARKER_BASE_SetMarkerType(self, aMarkerType)
2437 r"""GetMarkerType(MARKER_BASE self) -> enum MARKER_BASE::MARKER_T"""
2438 return _pcbnew.MARKER_BASE_GetMarkerType(self)
2441 r"""IsExcluded(MARKER_BASE self) -> bool"""
2442 return _pcbnew.MARKER_BASE_IsExcluded(self)
2445 r"""SetExcluded(MARKER_BASE self, bool aExcluded, wxString aComment=wxEmptyString)"""
2446 return _pcbnew.MARKER_BASE_SetExcluded(self, *args)
2449 r"""GetComment(MARKER_BASE self) -> wxString"""
2450 return _pcbnew.MARKER_BASE_GetComment(self)
2453 r"""GetSeverity(MARKER_BASE self) -> SEVERITY"""
2454 return _pcbnew.MARKER_BASE_GetSeverity(self)
2457 r"""GetRCItem(MARKER_BASE self) -> std::shared_ptr< RC_ITEM >"""
2458 return _pcbnew.MARKER_BASE_GetRCItem(self)
2462 HitTestMarker(MARKER_BASE self, VECTOR2I aHitPosition, int aAccuracy) -> bool
2463 HitTestMarker(MARKER_BASE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
2465 return _pcbnew.MARKER_BASE_HitTestMarker(self, *args)
2468 r"""GetBoundingBoxMarker(MARKER_BASE self) -> BOX2I"""
2469 return _pcbnew.MARKER_BASE_GetBoundingBoxMarker(self)
2470 m_Pos = property(_pcbnew.MARKER_BASE_m_Pos_get, _pcbnew.MARKER_BASE_m_Pos_set, doc=
r"""m_Pos : VECTOR2I""")
2473_pcbnew.MARKER_BASE_swigregister(MARKER_BASE)
2474TEXT_MIN_SIZE_MM = _pcbnew.TEXT_MIN_SIZE_MM
2476TEXT_MAX_SIZE_MM = _pcbnew.TEXT_MAX_SIZE_MM
2478DEFAULT_SIZE_TEXT = _pcbnew.DEFAULT_SIZE_TEXT
2481 r"""Proxy of C++ EDA_TEXT class."""
2483 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2484 __repr__ = _swig_repr
2488 __init__(EDA_TEXT self, EDA_IU_SCALE aIuScale, wxString aText=wxEmptyString) -> EDA_TEXT
2489 __init__(EDA_TEXT self, EDA_TEXT aText) -> EDA_TEXT
2491 _pcbnew.EDA_TEXT_swiginit(self, _pcbnew.new_EDA_TEXT(*args))
2492 __swig_destroy__ = _pcbnew.delete_EDA_TEXT
2495 r"""Serialize(EDA_TEXT self, google::protobuf::Any & aContainer)"""
2496 return _pcbnew.EDA_TEXT_Serialize(self, aContainer)
2499 r"""Deserialize(EDA_TEXT self, google::protobuf::Any const & aContainer) -> bool"""
2500 return _pcbnew.EDA_TEXT_Deserialize(self, aContainer)
2503 r"""GetText(EDA_TEXT self) -> wxString"""
2504 return _pcbnew.EDA_TEXT_GetText(self)
2507 r"""GetShownText(EDA_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
2508 return _pcbnew.EDA_TEXT_GetShownText(self, aAllowExtraText, aDepth)
2511 r"""HasTextVars(EDA_TEXT self) -> bool"""
2512 return _pcbnew.EDA_TEXT_HasTextVars(self)
2515 r"""SetText(EDA_TEXT self, wxString aText)"""
2516 return _pcbnew.EDA_TEXT_SetText(self, aText)
2519 r"""SetTextThickness(EDA_TEXT self, int aWidth)"""
2520 return _pcbnew.EDA_TEXT_SetTextThickness(self, aWidth)
2523 r"""GetTextThickness(EDA_TEXT self) -> int"""
2524 return _pcbnew.EDA_TEXT_GetTextThickness(self)
2527 r"""GetEffectiveTextPenWidth(EDA_TEXT self, int aDefaultPenWidth=0) -> int"""
2528 return _pcbnew.EDA_TEXT_GetEffectiveTextPenWidth(self, aDefaultPenWidth)
2531 r"""SetTextAngle(EDA_TEXT self, EDA_ANGLE aAngle)"""
2532 return _pcbnew.EDA_TEXT_SetTextAngle(self, aAngle)
2535 r"""GetTextAngle(EDA_TEXT self) -> EDA_ANGLE"""
2536 return _pcbnew.EDA_TEXT_GetTextAngle(self)
2539 r"""SetTextAngleDegrees(EDA_TEXT self, double aOrientation)"""
2540 return _pcbnew.EDA_TEXT_SetTextAngleDegrees(self, aOrientation)
2543 r"""GetTextAngleDegrees(EDA_TEXT self) -> double"""
2544 return _pcbnew.EDA_TEXT_GetTextAngleDegrees(self)
2547 r"""SetItalic(EDA_TEXT self, bool aItalic)"""
2548 return _pcbnew.EDA_TEXT_SetItalic(self, aItalic)
2551 r"""SetItalicFlag(EDA_TEXT self, bool aItalic)"""
2552 return _pcbnew.EDA_TEXT_SetItalicFlag(self, aItalic)
2555 r"""IsItalic(EDA_TEXT self) -> bool"""
2556 return _pcbnew.EDA_TEXT_IsItalic(self)
2559 r"""SetBold(EDA_TEXT self, bool aBold)"""
2560 return _pcbnew.EDA_TEXT_SetBold(self, aBold)
2563 r"""SetBoldFlag(EDA_TEXT self, bool aBold)"""
2564 return _pcbnew.EDA_TEXT_SetBoldFlag(self, aBold)
2567 r"""IsBold(EDA_TEXT self) -> bool"""
2568 return _pcbnew.EDA_TEXT_IsBold(self)
2571 r"""SetVisible(EDA_TEXT self, bool aVisible)"""
2572 return _pcbnew.EDA_TEXT_SetVisible(self, aVisible)
2575 r"""IsVisible(EDA_TEXT self) -> bool"""
2576 return _pcbnew.EDA_TEXT_IsVisible(self)
2579 r"""SetMirrored(EDA_TEXT self, bool isMirrored)"""
2580 return _pcbnew.EDA_TEXT_SetMirrored(self, isMirrored)
2583 r"""IsMirrored(EDA_TEXT self) -> bool"""
2584 return _pcbnew.EDA_TEXT_IsMirrored(self)
2587 r"""SetMultilineAllowed(EDA_TEXT self, bool aAllow)"""
2588 return _pcbnew.EDA_TEXT_SetMultilineAllowed(self, aAllow)
2591 r"""IsMultilineAllowed(EDA_TEXT self) -> bool"""
2592 return _pcbnew.EDA_TEXT_IsMultilineAllowed(self)
2595 r"""SetHorizJustify(EDA_TEXT self, GR_TEXT_H_ALIGN_T aType)"""
2596 return _pcbnew.EDA_TEXT_SetHorizJustify(self, aType)
2599 r"""GetHorizJustify(EDA_TEXT self) -> GR_TEXT_H_ALIGN_T"""
2600 return _pcbnew.EDA_TEXT_GetHorizJustify(self)
2603 r"""SetVertJustify(EDA_TEXT self, GR_TEXT_V_ALIGN_T aType)"""
2604 return _pcbnew.EDA_TEXT_SetVertJustify(self, aType)
2607 r"""GetVertJustify(EDA_TEXT self) -> GR_TEXT_V_ALIGN_T"""
2608 return _pcbnew.EDA_TEXT_GetVertJustify(self)
2611 r"""SetKeepUpright(EDA_TEXT self, bool aKeepUpright)"""
2612 return _pcbnew.EDA_TEXT_SetKeepUpright(self, aKeepUpright)
2615 r"""IsKeepUpright(EDA_TEXT self) -> bool"""
2616 return _pcbnew.EDA_TEXT_IsKeepUpright(self)
2619 r"""FlipHJustify(EDA_TEXT self)"""
2620 return _pcbnew.EDA_TEXT_FlipHJustify(self)
2623 r"""SwapAttributes(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2624 return _pcbnew.EDA_TEXT_SwapAttributes(self, aTradingPartner)
2627 r"""SwapText(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2628 return _pcbnew.EDA_TEXT_SwapText(self, aTradingPartner)
2631 r"""CopyText(EDA_TEXT self, EDA_TEXT aSrc)"""
2632 return _pcbnew.EDA_TEXT_CopyText(self, aSrc)
2636 SetAttributes(EDA_TEXT self, EDA_TEXT aSrc, bool aSetPosition=True)
2639 return _pcbnew.EDA_TEXT_SetAttributes(self, *args)
2642 r"""GetAttributes(EDA_TEXT self) -> TEXT_ATTRIBUTES"""
2643 return _pcbnew.EDA_TEXT_GetAttributes(self)
2646 r"""Replace(EDA_TEXT self, EDA_SEARCH_DATA const & aSearchData) -> bool"""
2647 return _pcbnew.EDA_TEXT_Replace(self, aSearchData)
2650 r"""IsDefaultFormatting(EDA_TEXT self) -> bool"""
2651 return _pcbnew.EDA_TEXT_IsDefaultFormatting(self)
2654 r"""SetFont(EDA_TEXT self, KIFONT::FONT * aFont)"""
2655 return _pcbnew.EDA_TEXT_SetFont(self, aFont)
2658 r"""GetFont(EDA_TEXT self) -> KIFONT::FONT *"""
2659 return _pcbnew.EDA_TEXT_GetFont(self)
2662 r"""AssignFont(EDA_TEXT self, KIFONT::FONT * aFont)"""
2663 return _pcbnew.EDA_TEXT_AssignFont(self, aFont)
2666 r"""GetFontName(EDA_TEXT self) -> wxString"""
2667 return _pcbnew.EDA_TEXT_GetFontName(self)
2670 r"""SetFontIndex(EDA_TEXT self, int aIdx)"""
2671 return _pcbnew.EDA_TEXT_SetFontIndex(self, aIdx)
2674 r"""GetFontIndex(EDA_TEXT self) -> int"""
2675 return _pcbnew.EDA_TEXT_GetFontIndex(self)
2678 r"""SetLineSpacing(EDA_TEXT self, double aLineSpacing)"""
2679 return _pcbnew.EDA_TEXT_SetLineSpacing(self, aLineSpacing)
2682 r"""GetLineSpacing(EDA_TEXT self) -> double"""
2683 return _pcbnew.EDA_TEXT_GetLineSpacing(self)
2686 r"""SetTextSize(EDA_TEXT self, VECTOR2I aNewSize, bool aEnforceMinTextSize=True)"""
2687 return _pcbnew.EDA_TEXT_SetTextSize(self, aNewSize, aEnforceMinTextSize)
2690 r"""GetTextSize(EDA_TEXT self) -> VECTOR2I"""
2691 return _pcbnew.EDA_TEXT_GetTextSize(self)
2694 r"""SetTextWidth(EDA_TEXT self, int aWidth)"""
2695 return _pcbnew.EDA_TEXT_SetTextWidth(self, aWidth)
2698 r"""GetTextWidth(EDA_TEXT self) -> int"""
2699 return _pcbnew.EDA_TEXT_GetTextWidth(self)
2702 r"""SetTextHeight(EDA_TEXT self, int aHeight)"""
2703 return _pcbnew.EDA_TEXT_SetTextHeight(self, aHeight)
2706 r"""GetTextHeight(EDA_TEXT self) -> int"""
2707 return _pcbnew.EDA_TEXT_GetTextHeight(self)
2710 r"""SetTextColor(EDA_TEXT self, COLOR4D aColor)"""
2711 return _pcbnew.EDA_TEXT_SetTextColor(self, aColor)
2714 r"""GetTextColor(EDA_TEXT self) -> COLOR4D"""
2715 return _pcbnew.EDA_TEXT_GetTextColor(self)
2718 r"""SetTextPos(EDA_TEXT self, VECTOR2I aPoint)"""
2719 return _pcbnew.EDA_TEXT_SetTextPos(self, aPoint)
2722 r"""GetTextPos(EDA_TEXT self) -> VECTOR2I"""
2723 return _pcbnew.EDA_TEXT_GetTextPos(self)
2726 r"""SetTextX(EDA_TEXT self, int aX)"""
2727 return _pcbnew.EDA_TEXT_SetTextX(self, aX)
2730 r"""SetTextY(EDA_TEXT self, int aY)"""
2731 return _pcbnew.EDA_TEXT_SetTextY(self, aY)
2734 r"""Offset(EDA_TEXT self, VECTOR2I aOffset)"""
2735 return _pcbnew.EDA_TEXT_Offset(self, aOffset)
2738 r"""Empty(EDA_TEXT self)"""
2739 return _pcbnew.EDA_TEXT_Empty(self)
2743 r"""MapHorizJustify(int aHorizJustify) -> GR_TEXT_H_ALIGN_T"""
2744 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
2748 r"""MapVertJustify(int aVertJustify) -> GR_TEXT_V_ALIGN_T"""
2749 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
2751 def Print(self, aSettings, aOffset, aColor, aDisplay_mode=FILLED):
2752 r"""Print(EDA_TEXT self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset, COLOR4D aColor, OUTLINE_MODE aDisplay_mode=FILLED)"""
2753 return _pcbnew.EDA_TEXT_Print(self, aSettings, aOffset, aColor, aDisplay_mode)
2756 r"""GetEffectiveTextShape(EDA_TEXT self, bool aTriangulate=True, BOX2I aBBox=BOX2I(), EDA_ANGLE aAngle=ANGLE_0) -> std::shared_ptr< SHAPE_COMPOUND >"""
2757 return _pcbnew.EDA_TEXT_GetEffectiveTextShape(self, *args)
2761 TextHitTest(EDA_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
2762 TextHitTest(EDA_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
2764 return _pcbnew.EDA_TEXT_TextHitTest(self, *args)
2767 r"""GetTextBox(EDA_TEXT self, int aLine=-1) -> BOX2I"""
2768 return _pcbnew.EDA_TEXT_GetTextBox(self, aLine)
2771 r"""GetInterline(EDA_TEXT self) -> int"""
2772 return _pcbnew.EDA_TEXT_GetInterline(self)
2775 r"""GetTextStyleName(EDA_TEXT self) -> wxString"""
2776 return _pcbnew.EDA_TEXT_GetTextStyleName(self)
2779 r"""GetLinePositions(EDA_TEXT self, VECTOR_VECTOR2I aPositions, int aLineCount)"""
2780 return _pcbnew.EDA_TEXT_GetLinePositions(self, aPositions, aLineCount)
2783 r"""Levenshtein(EDA_TEXT self, EDA_TEXT aOther) -> double"""
2784 return _pcbnew.EDA_TEXT_Levenshtein(self, aOther)
2787 r"""Similarity(EDA_TEXT self, EDA_TEXT aOther) -> double"""
2788 return _pcbnew.EDA_TEXT_Similarity(self, aOther)
2791 r"""Format(EDA_TEXT self, OUTPUTFORMATTER aFormatter, int aControlBits)"""
2792 return _pcbnew.EDA_TEXT_Format(self, aFormatter, aControlBits)
2795 r"""GetDrawRotation(EDA_TEXT self) -> EDA_ANGLE"""
2796 return _pcbnew.EDA_TEXT_GetDrawRotation(self)
2799 r"""GetDrawPos(EDA_TEXT self) -> VECTOR2I"""
2800 return _pcbnew.EDA_TEXT_GetDrawPos(self)
2803 r"""ClearRenderCache(EDA_TEXT self)"""
2804 return _pcbnew.EDA_TEXT_ClearRenderCache(self)
2807 r"""ClearBoundingBoxCache(EDA_TEXT self)"""
2808 return _pcbnew.EDA_TEXT_ClearBoundingBoxCache(self)
2811 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 > > >"""
2812 return _pcbnew.EDA_TEXT_GetRenderCache(self, *args)
2815 r"""SetupRenderCache(EDA_TEXT self, wxString aResolvedText, KIFONT::FONT const * aFont, EDA_ANGLE aAngle, VECTOR2I aOffset)"""
2816 return _pcbnew.EDA_TEXT_SetupRenderCache(self, aResolvedText, aFont, aAngle, aOffset)
2819 r"""AddRenderCacheGlyph(EDA_TEXT self, SHAPE_POLY_SET aPoly)"""
2820 return _pcbnew.EDA_TEXT_AddRenderCacheGlyph(self, aPoly)
2823 r"""Compare(EDA_TEXT self, EDA_TEXT aOther) -> int"""
2824 return _pcbnew.EDA_TEXT_Compare(self, aOther)
2827 r"""__eq__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
2828 return _pcbnew.EDA_TEXT___eq__(self, aRhs)
2831 r"""__lt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
2832 return _pcbnew.EDA_TEXT___lt__(self, aRhs)
2835 r"""__gt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
2836 return _pcbnew.EDA_TEXT___gt__(self, aRhs)
2839 r"""HasHyperlink(EDA_TEXT self) -> bool"""
2840 return _pcbnew.EDA_TEXT_HasHyperlink(self)
2843 r"""GetHyperlink(EDA_TEXT self) -> wxString"""
2844 return _pcbnew.EDA_TEXT_GetHyperlink(self)
2847 r"""SetHyperlink(EDA_TEXT self, wxString aLink)"""
2848 return _pcbnew.EDA_TEXT_SetHyperlink(self, aLink)
2851 r"""RemoveHyperlink(EDA_TEXT self)"""
2852 return _pcbnew.EDA_TEXT_RemoveHyperlink(self)
2856 r"""ValidateHyperlink(wxString aURL) -> bool"""
2857 return _pcbnew.EDA_TEXT_ValidateHyperlink(aURL)
2861 r"""IsGotoPageHref(wxString aHref, wxString aDestination=None) -> bool"""
2862 return _pcbnew.EDA_TEXT_IsGotoPageHref(aHref, aDestination)
2866 r"""GotoPageHref(wxString aDestination) -> wxString"""
2867 return _pcbnew.EDA_TEXT_GotoPageHref(aDestination)
2870_pcbnew.EDA_TEXT_swigregister(EDA_TEXT)
2873 r"""GetBuildVersion() -> wxString"""
2874 return _pcbnew.GetBuildVersion()
2877 r"""GetBaseVersion() -> wxString"""
2878 return _pcbnew.GetBaseVersion()
2881 r"""GetPlatformGetBitnessName() -> wxString"""
2882 return _pcbnew.GetPlatformGetBitnessName()
2885 r"""GetSemanticVersion() -> wxString"""
2886 return _pcbnew.GetSemanticVersion()
2889 r"""GetMajorMinorVersion() -> wxString"""
2890 return _pcbnew.GetMajorMinorVersion()
2893 r"""GetMajorMinorPatchVersion() -> wxString"""
2894 return _pcbnew.GetMajorMinorPatchVersion()
2897 r"""GetBuildDate() -> wxString"""
2898 return _pcbnew.GetBuildDate()
2901 r"""GetCommitHash() -> wxString"""
2902 return _pcbnew.GetCommitHash()
2905 r"""GetMajorMinorPatchTuple() -> std::tuple< int,int,int > const &"""
2906 return _pcbnew.GetMajorMinorPatchTuple()
2909 r"""IsNightlyVersion() -> bool"""
2910 return _pcbnew.IsNightlyVersion()
2913 r"""SetOpenGLInfo(char const * aRenderer, char const * aVendor, char const * aVersion)"""
2914 return _pcbnew.SetOpenGLInfo(aRenderer, aVendor, aVersion)
2917 r"""GetVersionInfoData(wxString aTitle, bool aHtml=False, bool aBrief=False) -> wxString"""
2918 return _pcbnew.GetVersionInfoData(aTitle, aHtml, aBrief)
2919UNDEFINED_LAYER = _pcbnew.UNDEFINED_LAYER
2921UNSELECTED_LAYER = _pcbnew.UNSELECTED_LAYER
2927In1_Cu = _pcbnew.In1_Cu
2929In2_Cu = _pcbnew.In2_Cu
2931In3_Cu = _pcbnew.In3_Cu
2933In4_Cu = _pcbnew.In4_Cu
2935In5_Cu = _pcbnew.In5_Cu
2937In6_Cu = _pcbnew.In6_Cu
2939In7_Cu = _pcbnew.In7_Cu
2941In8_Cu = _pcbnew.In8_Cu
2943In9_Cu = _pcbnew.In9_Cu
2945In10_Cu = _pcbnew.In10_Cu
2947In11_Cu = _pcbnew.In11_Cu
2949In12_Cu = _pcbnew.In12_Cu
2951In13_Cu = _pcbnew.In13_Cu
2953In14_Cu = _pcbnew.In14_Cu
2955In15_Cu = _pcbnew.In15_Cu
2957In16_Cu = _pcbnew.In16_Cu
2959In17_Cu = _pcbnew.In17_Cu
2961In18_Cu = _pcbnew.In18_Cu
2963In19_Cu = _pcbnew.In19_Cu
2965In20_Cu = _pcbnew.In20_Cu
2967In21_Cu = _pcbnew.In21_Cu
2969In22_Cu = _pcbnew.In22_Cu
2971In23_Cu = _pcbnew.In23_Cu
2973In24_Cu = _pcbnew.In24_Cu
2975In25_Cu = _pcbnew.In25_Cu
2977In26_Cu = _pcbnew.In26_Cu
2979In27_Cu = _pcbnew.In27_Cu
2981In28_Cu = _pcbnew.In28_Cu
2983In29_Cu = _pcbnew.In29_Cu
2985In30_Cu = _pcbnew.In30_Cu
2987F_Mask = _pcbnew.F_Mask
2989B_Mask = _pcbnew.B_Mask
2991F_SilkS = _pcbnew.F_SilkS
2993B_SilkS = _pcbnew.B_SilkS
2995F_Adhes = _pcbnew.F_Adhes
2997B_Adhes = _pcbnew.B_Adhes
2999F_Paste = _pcbnew.F_Paste
3001B_Paste = _pcbnew.B_Paste
3003Dwgs_User = _pcbnew.Dwgs_User
3005Cmts_User = _pcbnew.Cmts_User
3007Eco1_User = _pcbnew.Eco1_User
3009Eco2_User = _pcbnew.Eco2_User
3011Edge_Cuts = _pcbnew.Edge_Cuts
3013Margin = _pcbnew.Margin
3015B_CrtYd = _pcbnew.B_CrtYd
3017F_CrtYd = _pcbnew.F_CrtYd
3019B_Fab = _pcbnew.B_Fab
3021F_Fab = _pcbnew.F_Fab
3023Rescue = _pcbnew.Rescue
3025User_1 = _pcbnew.User_1
3027User_2 = _pcbnew.User_2
3029User_3 = _pcbnew.User_3
3031User_4 = _pcbnew.User_4
3033User_5 = _pcbnew.User_5
3035User_6 = _pcbnew.User_6
3037User_7 = _pcbnew.User_7
3039User_8 = _pcbnew.User_8
3041User_9 = _pcbnew.User_9
3043PCB_LAYER_ID_COUNT = _pcbnew.PCB_LAYER_ID_COUNT
3045MAX_CU_LAYERS = _pcbnew.MAX_CU_LAYERS
3047FLASHING_DEFAULT = _pcbnew.FLASHING_DEFAULT
3049FLASHING_ALWAYS_FLASHED = _pcbnew.FLASHING_ALWAYS_FLASHED
3051FLASHING_NEVER_FLASHED = _pcbnew.FLASHING_NEVER_FLASHED
3053NETNAMES_LAYER_ID_START = _pcbnew.NETNAMES_LAYER_ID_START
3055NETNAMES_LAYER_ID_RESERVED = _pcbnew.NETNAMES_LAYER_ID_RESERVED
3057LAYER_PAD_FR_NETNAMES = _pcbnew.LAYER_PAD_FR_NETNAMES
3059LAYER_PAD_BK_NETNAMES = _pcbnew.LAYER_PAD_BK_NETNAMES
3061LAYER_PAD_NETNAMES = _pcbnew.LAYER_PAD_NETNAMES
3063NETNAMES_LAYER_ID_END = _pcbnew.NETNAMES_LAYER_ID_END
3065GAL_UI_LAYER_COUNT = _pcbnew.GAL_UI_LAYER_COUNT
3067GAL_LAYER_ID_START = _pcbnew.GAL_LAYER_ID_START
3069LAYER_VIAS = _pcbnew.LAYER_VIAS
3071LAYER_VIA_MICROVIA = _pcbnew.LAYER_VIA_MICROVIA
3073LAYER_VIA_BBLIND = _pcbnew.LAYER_VIA_BBLIND
3075LAYER_VIA_THROUGH = _pcbnew.LAYER_VIA_THROUGH
3077LAYER_NON_PLATEDHOLES = _pcbnew.LAYER_NON_PLATEDHOLES
3079LAYER_FP_TEXT = _pcbnew.LAYER_FP_TEXT
3081LAYER_ANCHOR = _pcbnew.LAYER_ANCHOR
3083LAYER_RATSNEST = _pcbnew.LAYER_RATSNEST
3085LAYER_GRID = _pcbnew.LAYER_GRID
3087LAYER_GRID_AXES = _pcbnew.LAYER_GRID_AXES
3089LAYER_FOOTPRINTS_FR = _pcbnew.LAYER_FOOTPRINTS_FR
3091LAYER_FOOTPRINTS_BK = _pcbnew.LAYER_FOOTPRINTS_BK
3093LAYER_FP_VALUES = _pcbnew.LAYER_FP_VALUES
3095LAYER_FP_REFERENCES = _pcbnew.LAYER_FP_REFERENCES
3097LAYER_TRACKS = _pcbnew.LAYER_TRACKS
3099LAYER_PAD_PLATEDHOLES = _pcbnew.LAYER_PAD_PLATEDHOLES
3101LAYER_VIA_HOLES = _pcbnew.LAYER_VIA_HOLES
3103LAYER_DRC_ERROR = _pcbnew.LAYER_DRC_ERROR
3105LAYER_DRAWINGSHEET = _pcbnew.LAYER_DRAWINGSHEET
3107LAYER_GP_OVERLAY = _pcbnew.LAYER_GP_OVERLAY
3109LAYER_SELECT_OVERLAY = _pcbnew.LAYER_SELECT_OVERLAY
3111LAYER_PCB_BACKGROUND = _pcbnew.LAYER_PCB_BACKGROUND
3113LAYER_CURSOR = _pcbnew.LAYER_CURSOR
3115LAYER_AUX_ITEMS = _pcbnew.LAYER_AUX_ITEMS
3117LAYER_DRAW_BITMAPS = _pcbnew.LAYER_DRAW_BITMAPS
3119GAL_LAYER_ID_BITMASK_END = _pcbnew.GAL_LAYER_ID_BITMASK_END
3121LAYER_PADS = _pcbnew.LAYER_PADS
3123LAYER_ZONES = _pcbnew.LAYER_ZONES
3125LAYER_PAD_HOLEWALLS = _pcbnew.LAYER_PAD_HOLEWALLS
3127LAYER_VIA_HOLEWALLS = _pcbnew.LAYER_VIA_HOLEWALLS
3129LAYER_DRC_WARNING = _pcbnew.LAYER_DRC_WARNING
3131LAYER_DRC_EXCLUSION = _pcbnew.LAYER_DRC_EXCLUSION
3133LAYER_MARKER_SHADOWS = _pcbnew.LAYER_MARKER_SHADOWS
3135LAYER_LOCKED_ITEM_SHADOW = _pcbnew.LAYER_LOCKED_ITEM_SHADOW
3137LAYER_CONFLICTS_SHADOW = _pcbnew.LAYER_CONFLICTS_SHADOW
3139LAYER_SHAPES = _pcbnew.LAYER_SHAPES
3141LAYER_DRC_SHAPE1 = _pcbnew.LAYER_DRC_SHAPE1
3143LAYER_DRC_SHAPE2 = _pcbnew.LAYER_DRC_SHAPE2
3145LAYER_DRAWINGSHEET_PAGE1 = _pcbnew.LAYER_DRAWINGSHEET_PAGE1
3147LAYER_DRAWINGSHEET_PAGEn = _pcbnew.LAYER_DRAWINGSHEET_PAGEn
3149LAYER_PAGE_LIMITS = _pcbnew.LAYER_PAGE_LIMITS
3151LAYER_ZONE_START = _pcbnew.LAYER_ZONE_START
3153LAYER_ZONE_END = _pcbnew.LAYER_ZONE_END
3155LAYER_BITMAP_START = _pcbnew.LAYER_BITMAP_START
3157LAYER_BITMAP_END = _pcbnew.LAYER_BITMAP_END
3159LAYER_UI_START = _pcbnew.LAYER_UI_START
3161LAYER_UI_END = _pcbnew.LAYER_UI_END
3163GAL_LAYER_ID_END = _pcbnew.GAL_LAYER_ID_END
3167 r"""ToGalLayer(int aInteger) -> GAL_LAYER_ID"""
3168 return _pcbnew.ToGalLayer(aInteger)
3170 r"""Proxy of C++ GAL_SET class."""
3172 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3173 __repr__ = _swig_repr
3178 __init__(GAL_SET self, GAL_SET aOther) -> GAL_SET
3179 __init__(GAL_SET self, GAL_LAYER_ID const * aArray, unsigned int aCount) -> GAL_SET
3181 _pcbnew.GAL_SET_swiginit(self, _pcbnew.new_GAL_SET(*args))
3185 set(GAL_SET self) -> GAL_SET
3186 set(GAL_SET self, int aPos, bool aVal=True) -> GAL_SET
3187 set(GAL_SET self, GAL_LAYER_ID aPos, bool aVal=
True) -> GAL_SET
3189 return _pcbnew.GAL_SET_set(self, *args)
3192 r"""Contains(GAL_SET self, GAL_LAYER_ID aPos) -> bool"""
3193 return _pcbnew.GAL_SET_Contains(self, aPos)
3196 r"""Seq(GAL_SET self) -> std::vector< GAL_LAYER_ID,std::allocator< GAL_LAYER_ID > >"""
3197 return _pcbnew.GAL_SET_Seq(self)
3201 r"""DefaultVisible() -> GAL_SET"""
3202 return _pcbnew.GAL_SET_DefaultVisible()
3203 __swig_destroy__ = _pcbnew.delete_GAL_SET
3206_pcbnew.GAL_SET_swigregister(GAL_SET)
3207PCBNEW_LAYER_ID_START = cvar.PCBNEW_LAYER_ID_START
3208GAL_LAYER_ID_COUNT = cvar.GAL_LAYER_ID_COUNT
3210SCH_LAYER_ID_START = _pcbnew.SCH_LAYER_ID_START
3212LAYER_WIRE = _pcbnew.LAYER_WIRE
3214LAYER_BUS = _pcbnew.LAYER_BUS
3216LAYER_JUNCTION = _pcbnew.LAYER_JUNCTION
3218LAYER_LOCLABEL = _pcbnew.LAYER_LOCLABEL
3220LAYER_GLOBLABEL = _pcbnew.LAYER_GLOBLABEL
3222LAYER_HIERLABEL = _pcbnew.LAYER_HIERLABEL
3224LAYER_PINNUM = _pcbnew.LAYER_PINNUM
3226LAYER_PINNAM = _pcbnew.LAYER_PINNAM
3228LAYER_REFERENCEPART = _pcbnew.LAYER_REFERENCEPART
3230LAYER_VALUEPART = _pcbnew.LAYER_VALUEPART
3232LAYER_FIELDS = _pcbnew.LAYER_FIELDS
3234LAYER_INTERSHEET_REFS = _pcbnew.LAYER_INTERSHEET_REFS
3236LAYER_NETCLASS_REFS = _pcbnew.LAYER_NETCLASS_REFS
3238LAYER_RULE_AREAS = _pcbnew.LAYER_RULE_AREAS
3240LAYER_DEVICE = _pcbnew.LAYER_DEVICE
3242LAYER_NOTES = _pcbnew.LAYER_NOTES
3244LAYER_PRIVATE_NOTES = _pcbnew.LAYER_PRIVATE_NOTES
3246LAYER_NOTES_BACKGROUND = _pcbnew.LAYER_NOTES_BACKGROUND
3248LAYER_PIN = _pcbnew.LAYER_PIN
3250LAYER_SHEET = _pcbnew.LAYER_SHEET
3252LAYER_SHEETNAME = _pcbnew.LAYER_SHEETNAME
3254LAYER_SHEETFILENAME = _pcbnew.LAYER_SHEETFILENAME
3256LAYER_SHEETFIELDS = _pcbnew.LAYER_SHEETFIELDS
3258LAYER_SHEETLABEL = _pcbnew.LAYER_SHEETLABEL
3260LAYER_NOCONNECT = _pcbnew.LAYER_NOCONNECT
3262LAYER_DANGLING = _pcbnew.LAYER_DANGLING
3264LAYER_DNP_MARKER = _pcbnew.LAYER_DNP_MARKER
3266LAYER_ERC_WARN = _pcbnew.LAYER_ERC_WARN
3268LAYER_ERC_ERR = _pcbnew.LAYER_ERC_ERR
3270LAYER_ERC_EXCLUSION = _pcbnew.LAYER_ERC_EXCLUSION
3272LAYER_EXCLUDED_FROM_SIM = _pcbnew.LAYER_EXCLUDED_FROM_SIM
3274LAYER_DEVICE_BACKGROUND = _pcbnew.LAYER_DEVICE_BACKGROUND
3276LAYER_SHEET_BACKGROUND = _pcbnew.LAYER_SHEET_BACKGROUND
3278LAYER_SCHEMATIC_GRID = _pcbnew.LAYER_SCHEMATIC_GRID
3280LAYER_SCHEMATIC_GRID_AXES = _pcbnew.LAYER_SCHEMATIC_GRID_AXES
3282LAYER_SCHEMATIC_BACKGROUND = _pcbnew.LAYER_SCHEMATIC_BACKGROUND
3284LAYER_SCHEMATIC_CURSOR = _pcbnew.LAYER_SCHEMATIC_CURSOR
3286LAYER_HOVERED = _pcbnew.LAYER_HOVERED
3288LAYER_BRIGHTENED = _pcbnew.LAYER_BRIGHTENED
3290LAYER_HIDDEN = _pcbnew.LAYER_HIDDEN
3292LAYER_NET_COLOR_HIGHLIGHT = _pcbnew.LAYER_NET_COLOR_HIGHLIGHT
3294LAYER_SELECTION_SHADOWS = _pcbnew.LAYER_SELECTION_SHADOWS
3296LAYER_SCHEMATIC_DRAWINGSHEET = _pcbnew.LAYER_SCHEMATIC_DRAWINGSHEET
3298LAYER_SCHEMATIC_PAGE_LIMITS = _pcbnew.LAYER_SCHEMATIC_PAGE_LIMITS
3300LAYER_BUS_JUNCTION = _pcbnew.LAYER_BUS_JUNCTION
3302LAYER_SCHEMATIC_AUX_ITEMS = _pcbnew.LAYER_SCHEMATIC_AUX_ITEMS
3304LAYER_SCHEMATIC_ANCHOR = _pcbnew.LAYER_SCHEMATIC_ANCHOR
3306LAYER_OP_VOLTAGES = _pcbnew.LAYER_OP_VOLTAGES
3308LAYER_OP_CURRENTS = _pcbnew.LAYER_OP_CURRENTS
3310SCH_LAYER_ID_END = _pcbnew.SCH_LAYER_ID_END
3312GERBVIEW_LAYER_ID_START = _pcbnew.GERBVIEW_LAYER_ID_START
3314GERBVIEW_LAYER_ID_RESERVED = _pcbnew.GERBVIEW_LAYER_ID_RESERVED
3316LAYER_DCODES = _pcbnew.LAYER_DCODES
3318LAYER_NEGATIVE_OBJECTS = _pcbnew.LAYER_NEGATIVE_OBJECTS
3320LAYER_GERBVIEW_GRID = _pcbnew.LAYER_GERBVIEW_GRID
3322LAYER_GERBVIEW_AXES = _pcbnew.LAYER_GERBVIEW_AXES
3324LAYER_GERBVIEW_BACKGROUND = _pcbnew.LAYER_GERBVIEW_BACKGROUND
3326LAYER_GERBVIEW_DRAWINGSHEET = _pcbnew.LAYER_GERBVIEW_DRAWINGSHEET
3328LAYER_GERBVIEW_PAGE_LIMITS = _pcbnew.LAYER_GERBVIEW_PAGE_LIMITS
3330GERBVIEW_LAYER_ID_END = _pcbnew.GERBVIEW_LAYER_ID_END
3332LAYER_3D_START = _pcbnew.LAYER_3D_START
3334LAYER_3D_BACKGROUND_BOTTOM = _pcbnew.LAYER_3D_BACKGROUND_BOTTOM
3336LAYER_3D_BACKGROUND_TOP = _pcbnew.LAYER_3D_BACKGROUND_TOP
3338LAYER_3D_BOARD = _pcbnew.LAYER_3D_BOARD
3340LAYER_3D_COPPER_TOP = _pcbnew.LAYER_3D_COPPER_TOP
3342LAYER_3D_COPPER_BOTTOM = _pcbnew.LAYER_3D_COPPER_BOTTOM
3344LAYER_3D_SILKSCREEN_BOTTOM = _pcbnew.LAYER_3D_SILKSCREEN_BOTTOM
3346LAYER_3D_SILKSCREEN_TOP = _pcbnew.LAYER_3D_SILKSCREEN_TOP
3348LAYER_3D_SOLDERMASK_BOTTOM = _pcbnew.LAYER_3D_SOLDERMASK_BOTTOM
3350LAYER_3D_SOLDERMASK_TOP = _pcbnew.LAYER_3D_SOLDERMASK_TOP
3352LAYER_3D_SOLDERPASTE = _pcbnew.LAYER_3D_SOLDERPASTE
3354LAYER_3D_ADHESIVE = _pcbnew.LAYER_3D_ADHESIVE
3356LAYER_3D_USER_COMMENTS = _pcbnew.LAYER_3D_USER_COMMENTS
3358LAYER_3D_USER_DRAWINGS = _pcbnew.LAYER_3D_USER_DRAWINGS
3360LAYER_3D_USER_ECO1 = _pcbnew.LAYER_3D_USER_ECO1
3362LAYER_3D_USER_ECO2 = _pcbnew.LAYER_3D_USER_ECO2
3364LAYER_3D_TH_MODELS = _pcbnew.LAYER_3D_TH_MODELS
3366LAYER_3D_SMD_MODELS = _pcbnew.LAYER_3D_SMD_MODELS
3368LAYER_3D_VIRTUAL_MODELS = _pcbnew.LAYER_3D_VIRTUAL_MODELS
3370LAYER_3D_MODELS_NOT_IN_POS = _pcbnew.LAYER_3D_MODELS_NOT_IN_POS
3372LAYER_3D_MODELS_MARKED_DNP = _pcbnew.LAYER_3D_MODELS_MARKED_DNP
3374LAYER_3D_AXES = _pcbnew.LAYER_3D_AXES
3376LAYER_3D_BOUNDING_BOXES = _pcbnew.LAYER_3D_BOUNDING_BOXES
3378LAYER_3D_OFF_BOARD_SILK = _pcbnew.LAYER_3D_OFF_BOARD_SILK
3380LAYER_3D_END = _pcbnew.LAYER_3D_END
3384 r"""LayerName(int aLayer) -> wxString"""
3385 return _pcbnew.LayerName(aLayer)
3388 r"""IsValidLayer(int aLayerId) -> bool"""
3389 return _pcbnew.IsValidLayer(aLayerId)
3392 r"""IsPcbLayer(int aLayer) -> bool"""
3393 return _pcbnew.IsPcbLayer(aLayer)
3396 r"""IsExternalCopperLayer(int aLayerId) -> bool"""
3397 return _pcbnew.IsExternalCopperLayer(aLayerId)
3400 r"""IsInnerCopperLayer(int aLayerId) -> bool"""
3401 return _pcbnew.IsInnerCopperLayer(aLayerId)
3404 r"""IsNonCopperLayer(int aLayerId) -> bool"""
3405 return _pcbnew.IsNonCopperLayer(aLayerId)
3410 IsCopperLayer(int aLayerId, bool aIncludeSyntheticCopperLayers) -> bool
3412 return _pcbnew.IsCopperLayer(*args)
3415 r"""IsViaPadLayer(int aLayer) -> bool"""
3416 return _pcbnew.IsViaPadLayer(aLayer)
3419 r"""IsHoleLayer(int aLayer) -> bool"""
3420 return _pcbnew.IsHoleLayer(aLayer)
3423 r"""IsSolderMaskLayer(int aLayer) -> bool"""
3424 return _pcbnew.IsSolderMaskLayer(aLayer)
3427 r"""IsUserLayer(PCB_LAYER_ID aLayerId) -> bool"""
3428 return _pcbnew.IsUserLayer(aLayerId)
3431 r"""IsFrontLayer(PCB_LAYER_ID aLayerId) -> bool"""
3432 return _pcbnew.IsFrontLayer(aLayerId)
3435 r"""IsBackLayer(PCB_LAYER_ID aLayerId) -> bool"""
3436 return _pcbnew.IsBackLayer(aLayerId)
3439 r"""IsCopperLayerLowerThan(PCB_LAYER_ID aLayerA, PCB_LAYER_ID aLayerB) -> bool"""
3440 return _pcbnew.IsCopperLayerLowerThan(aLayerA, aLayerB)
3443 r"""FlipLayer(PCB_LAYER_ID aLayerId, int aCopperLayersCount=0) -> PCB_LAYER_ID"""
3444 return _pcbnew.FlipLayer(aLayerId, aCopperLayersCount)
3447 r"""GetNetnameLayer(int aLayer) -> int"""
3448 return _pcbnew.GetNetnameLayer(aLayer)
3451 r"""IsNetnameLayer(int aLayer) -> bool"""
3452 return _pcbnew.IsNetnameLayer(aLayer)
3455 r"""IsZoneFillLayer(int aLayer) -> bool"""
3456 return _pcbnew.IsZoneFillLayer(aLayer)
3459 r"""IsDCodeLayer(int aLayer) -> bool"""
3460 return _pcbnew.IsDCodeLayer(aLayer)
3463 r"""CopperLayerToOrdinal(PCB_LAYER_ID aLayer) -> size_t"""
3464 return _pcbnew.CopperLayerToOrdinal(aLayer)
3467 r"""BoardLayerFromLegacyId(int aLegacyId) -> PCB_LAYER_ID"""
3468 return _pcbnew.BoardLayerFromLegacyId(aLegacyId)
3471 r"""ToLAYER_ID(int aLayer) -> PCB_LAYER_ID"""
3472 return _pcbnew.ToLAYER_ID(aLayer)
3474 r"""Proxy of C++ SETTINGS_MANAGER class."""
3476 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3477 __repr__ = _swig_repr
3480 r"""__init__(SETTINGS_MANAGER self, bool aHeadless=False) -> SETTINGS_MANAGER"""
3481 _pcbnew.SETTINGS_MANAGER_swiginit(self, _pcbnew.new_SETTINGS_MANAGER(aHeadless))
3482 __swig_destroy__ = _pcbnew.delete_SETTINGS_MANAGER
3485 r"""IsOK(SETTINGS_MANAGER self) -> bool"""
3486 return _pcbnew.SETTINGS_MANAGER_IsOK(self)
3489 r"""SetKiway(SETTINGS_MANAGER self, KIWAY * aKiway)"""
3490 return _pcbnew.SETTINGS_MANAGER_SetKiway(self, aKiway)
3494 Load(SETTINGS_MANAGER self)
3495 Load(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
3497 return _pcbnew.SETTINGS_MANAGER_Load(self, *args)
3501 Save(SETTINGS_MANAGER self)
3502 Save(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
3504 return _pcbnew.SETTINGS_MANAGER_Save(self, *args)
3507 r"""FlushAndRelease(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings, bool aSave=True)"""
3508 return _pcbnew.SETTINGS_MANAGER_FlushAndRelease(self, aSettings, aSave)
3511 r"""GetColorSettings(SETTINGS_MANAGER self, wxString aName="user") -> COLOR_SETTINGS"""
3512 return _pcbnew.SETTINGS_MANAGER_GetColorSettings(self, *args)
3515 r"""GetColorSettingsList(SETTINGS_MANAGER self) -> std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >"""
3516 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsList(self)
3519 r"""SaveColorSettings(SETTINGS_MANAGER self, COLOR_SETTINGS * aSettings, string aNamespace="")"""
3520 return _pcbnew.SETTINGS_MANAGER_SaveColorSettings(self, *args)
3523 r"""AddNewColorSettings(SETTINGS_MANAGER self, wxString aFilename) -> COLOR_SETTINGS *"""
3524 return _pcbnew.SETTINGS_MANAGER_AddNewColorSettings(self, aFilename)
3527 r"""GetMigratedColorSettings(SETTINGS_MANAGER self) -> COLOR_SETTINGS *"""
3528 return _pcbnew.SETTINGS_MANAGER_GetMigratedColorSettings(self)
3531 r"""GetCommonSettings(SETTINGS_MANAGER self) -> COMMON_SETTINGS *"""
3532 return _pcbnew.SETTINGS_MANAGER_GetCommonSettings(self)
3535 r"""GetPathForSettingsFile(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings) -> wxString"""
3536 return _pcbnew.SETTINGS_MANAGER_GetPathForSettingsFile(self, aSettings)
3539 r"""MigrateIfNeeded(SETTINGS_MANAGER self) -> bool"""
3540 return _pcbnew.SETTINGS_MANAGER_MigrateIfNeeded(self)
3543 r"""SetMigrationSource(SETTINGS_MANAGER self, wxString aSource)"""
3544 return _pcbnew.SETTINGS_MANAGER_SetMigrationSource(self, aSource)
3547 r"""SetMigrateLibraryTables(SETTINGS_MANAGER self, bool aMigrate=True)"""
3548 return _pcbnew.SETTINGS_MANAGER_SetMigrateLibraryTables(self, aMigrate)
3551 r"""GetPreviousVersionPaths(SETTINGS_MANAGER self, std::vector< wxString,std::allocator< wxString > > * aName=None) -> bool"""
3552 return _pcbnew.SETTINGS_MANAGER_GetPreviousVersionPaths(self, aName)
3555 r"""ReloadColorSettings(SETTINGS_MANAGER self)"""
3556 return _pcbnew.SETTINGS_MANAGER_ReloadColorSettings(self)
3559 r"""LoadProject(SETTINGS_MANAGER self, wxString aFullPath, bool aSetActive=True) -> bool"""
3560 return _pcbnew.SETTINGS_MANAGER_LoadProject(self, aFullPath, aSetActive)
3563 r"""UnloadProject(SETTINGS_MANAGER self, PROJECT * aProject, bool aSave=True) -> bool"""
3564 return _pcbnew.SETTINGS_MANAGER_UnloadProject(self, aProject, aSave)
3567 r"""IsProjectOpen(SETTINGS_MANAGER self) -> bool"""
3568 return _pcbnew.SETTINGS_MANAGER_IsProjectOpen(self)
3571 r"""IsProjectOpenNotDummy(SETTINGS_MANAGER self) -> bool"""
3572 return _pcbnew.SETTINGS_MANAGER_IsProjectOpenNotDummy(self)
3575 r"""Prj(SETTINGS_MANAGER self) -> PROJECT &"""
3576 return _pcbnew.SETTINGS_MANAGER_Prj(self)
3579 r"""GetProject(SETTINGS_MANAGER self, wxString aFullPath) -> PROJECT *"""
3580 return _pcbnew.SETTINGS_MANAGER_GetProject(self, aFullPath)
3583 r"""GetOpenProjects(SETTINGS_MANAGER self) -> std::vector< wxString,std::allocator< wxString > >"""
3584 return _pcbnew.SETTINGS_MANAGER_GetOpenProjects(self)
3587 r"""SaveProject(SETTINGS_MANAGER self, wxString aFullPath=wxEmptyString, PROJECT * aProject=None) -> bool"""
3588 return _pcbnew.SETTINGS_MANAGER_SaveProject(self, *args)
3591 r"""SaveProjectAs(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
3592 return _pcbnew.SETTINGS_MANAGER_SaveProjectAs(self, aFullPath, aProject)
3595 r"""SaveProjectCopy(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
3596 return _pcbnew.SETTINGS_MANAGER_SaveProjectCopy(self, aFullPath, aProject)
3599 r"""GetProjectBackupsPath(SETTINGS_MANAGER self) -> wxString"""
3600 return _pcbnew.SETTINGS_MANAGER_GetProjectBackupsPath(self)
3603 r"""BackupProject(SETTINGS_MANAGER self, REPORTER & aReporter, wxFileName & aTarget) -> bool"""
3604 return _pcbnew.SETTINGS_MANAGER_BackupProject(self, aReporter, aTarget)
3607 r"""TriggerBackupIfNeeded(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
3608 return _pcbnew.SETTINGS_MANAGER_TriggerBackupIfNeeded(self, aReporter)
3612 r"""IsSettingsPathValid(wxString aPath) -> bool"""
3613 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
3617 r"""GetColorSettingsPath() -> wxString"""
3618 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
3622 r"""GetSettingsVersion() -> string"""
3623 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
3627 r"""GetUserSettingsPath() -> wxString"""
3628 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
3631_pcbnew.SETTINGS_MANAGER_swigregister(SETTINGS_MANAGER)
3633 r"""Proxy of C++ UTILS_BOX3D class."""
3635 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3636 __repr__ = _swig_repr
3639 r"""Min(UTILS_BOX3D self) -> VECTOR3D"""
3640 return _pcbnew.UTILS_BOX3D_Min(self)
3643 r"""Max(UTILS_BOX3D self) -> VECTOR3D"""
3644 return _pcbnew.UTILS_BOX3D_Max(self)
3647 r"""GetCenter(UTILS_BOX3D self) -> VECTOR3D"""
3648 return _pcbnew.UTILS_BOX3D_GetCenter(self)
3651 r"""GetSize(UTILS_BOX3D self) -> VECTOR3D"""
3652 return _pcbnew.UTILS_BOX3D_GetSize(self)
3655 r"""__init__(UTILS_BOX3D self) -> UTILS_BOX3D"""
3656 _pcbnew.UTILS_BOX3D_swiginit(self, _pcbnew.new_UTILS_BOX3D())
3657 __swig_destroy__ = _pcbnew.delete_UTILS_BOX3D
3660_pcbnew.UTILS_BOX3D_swigregister(UTILS_BOX3D)
3662 r"""Proxy of C++ UTILS_STEP_MODEL class."""
3664 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3665 __repr__ = _swig_repr
3668 r"""GetBoundingBox(UTILS_STEP_MODEL self) -> UTILS_BOX3D"""
3669 return _pcbnew.UTILS_STEP_MODEL_GetBoundingBox(self)
3672 r"""Translate(UTILS_STEP_MODEL self, double aX, double aY, double aZ)"""
3673 return _pcbnew.UTILS_STEP_MODEL_Translate(self, aX, aY, aZ)
3676 r"""Scale(UTILS_STEP_MODEL self, double aScale)"""
3677 return _pcbnew.UTILS_STEP_MODEL_Scale(self, aScale)
3680 r"""SaveSTEP(UTILS_STEP_MODEL self, wxString aFileName) -> bool"""
3681 return _pcbnew.UTILS_STEP_MODEL_SaveSTEP(self, aFileName)
3685 r"""LoadSTEP(wxString aFileName) -> UTILS_STEP_MODEL"""
3686 return _pcbnew.UTILS_STEP_MODEL_LoadSTEP(aFileName)
3689 r"""__init__(UTILS_STEP_MODEL self) -> UTILS_STEP_MODEL"""
3690 _pcbnew.UTILS_STEP_MODEL_swiginit(self, _pcbnew.new_UTILS_STEP_MODEL())
3693_pcbnew.UTILS_STEP_MODEL_swigregister(UTILS_STEP_MODEL)
3695 r"""Proxy of C++ std::vector< int > class."""
3697 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3698 __repr__ = _swig_repr
3701 r"""iterator(intVector self) -> SwigPyIterator"""
3702 return _pcbnew.intVector_iterator(self)
3707 r"""__nonzero__(intVector self) -> bool"""
3708 return _pcbnew.intVector___nonzero__(self)
3711 r"""__bool__(intVector self) -> bool"""
3712 return _pcbnew.intVector___bool__(self)
3715 r"""__len__(intVector self) -> std::vector< int >::size_type"""
3716 return _pcbnew.intVector___len__(self)
3719 r"""__getslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> intVector"""
3720 return _pcbnew.intVector___getslice__(self, i, j)
3724 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
3725 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, intVector v)
3727 return _pcbnew.intVector___setslice__(self, *args)
3730 r"""__delslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"""
3731 return _pcbnew.intVector___delslice__(self, i, j)
3735 __delitem__(intVector self, std::vector< int >::difference_type i)
3736 __delitem__(intVector self, SWIGPY_SLICEOBJECT * slice)
3738 return _pcbnew.intVector___delitem__(self, *args)
3742 __getitem__(intVector self, SWIGPY_SLICEOBJECT * slice) -> intVector
3743 __getitem__(intVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &
3745 return _pcbnew.intVector___getitem__(self, *args)
3749 __setitem__(intVector self, SWIGPY_SLICEOBJECT * slice, intVector v)
3750 __setitem__(intVector self, SWIGPY_SLICEOBJECT * slice)
3751 __setitem__(intVector self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)
3753 return _pcbnew.intVector___setitem__(self, *args)
3756 r"""pop(intVector self) -> std::vector< int >::value_type"""
3757 return _pcbnew.intVector_pop(self)
3760 r"""append(intVector self, std::vector< int >::value_type const & x)"""
3761 return _pcbnew.intVector_append(self, x)
3764 r"""empty(intVector self) -> bool"""
3765 return _pcbnew.intVector_empty(self)
3768 r"""size(intVector self) -> std::vector< int >::size_type"""
3769 return _pcbnew.intVector_size(self)
3772 r"""swap(intVector self, intVector v)"""
3773 return _pcbnew.intVector_swap(self, v)
3776 r"""begin(intVector self) -> std::vector< int >::iterator"""
3777 return _pcbnew.intVector_begin(self)
3780 r"""end(intVector self) -> std::vector< int >::iterator"""
3781 return _pcbnew.intVector_end(self)
3784 r"""rbegin(intVector self) -> std::vector< int >::reverse_iterator"""
3785 return _pcbnew.intVector_rbegin(self)
3788 r"""rend(intVector self) -> std::vector< int >::reverse_iterator"""
3789 return _pcbnew.intVector_rend(self)
3792 r"""clear(intVector self)"""
3793 return _pcbnew.intVector_clear(self)
3796 r"""get_allocator(intVector self) -> std::vector< int >::allocator_type"""
3797 return _pcbnew.intVector_get_allocator(self)
3800 r"""pop_back(intVector self)"""
3801 return _pcbnew.intVector_pop_back(self)
3805 erase(intVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator
3806 erase(intVector self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator
3808 return _pcbnew.intVector_erase(self, *args)
3812 __init__(intVector self) -> intVector
3813 __init__(intVector self, intVector other) -> intVector
3814 __init__(intVector self, std::vector< int >::size_type size) -> intVector
3815 __init__(intVector self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> intVector
3817 _pcbnew.intVector_swiginit(self, _pcbnew.new_intVector(*args))
3820 r"""push_back(intVector self, std::vector< int >::value_type const & x)"""
3821 return _pcbnew.intVector_push_back(self, x)
3824 r"""front(intVector self) -> std::vector< int >::value_type const &"""
3825 return _pcbnew.intVector_front(self)
3828 r"""back(intVector self) -> std::vector< int >::value_type const &"""
3829 return _pcbnew.intVector_back(self)
3832 r"""assign(intVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)"""
3833 return _pcbnew.intVector_assign(self, n, x)
3837 resize(intVector self, std::vector< int >::size_type new_size)
3838 resize(intVector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)
3840 return _pcbnew.intVector_resize(self, *args)
3844 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator
3845 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x)
3847 return _pcbnew.intVector_insert(self, *args)
3850 r"""reserve(intVector self, std::vector< int >::size_type n)"""
3851 return _pcbnew.intVector_reserve(self, n)
3854 r"""capacity(intVector self) -> std::vector< int >::size_type"""
3855 return _pcbnew.intVector_capacity(self)
3856 __swig_destroy__ = _pcbnew.delete_intVector
3859_pcbnew.intVector_swigregister(intVector)
3861 r"""Proxy of C++ std::map< std::string,UTF8 > class."""
3863 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3864 __repr__ = _swig_repr
3867 r"""iterator(str_utf8_Map self) -> SwigPyIterator"""
3868 return _pcbnew.str_utf8_Map_iterator(self)
3873 r"""__nonzero__(str_utf8_Map self) -> bool"""
3874 return _pcbnew.str_utf8_Map___nonzero__(self)
3877 r"""__bool__(str_utf8_Map self) -> bool"""
3878 return _pcbnew.str_utf8_Map___bool__(self)
3881 r"""__len__(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
3882 return _pcbnew.str_utf8_Map___len__(self)
3893 r"""__getitem__(str_utf8_Map self, string key) -> UTF8"""
3894 return _pcbnew.str_utf8_Map___getitem__(self, key)
3897 r"""__delitem__(str_utf8_Map self, string key)"""
3898 return _pcbnew.str_utf8_Map___delitem__(self, key)
3901 r"""has_key(str_utf8_Map self, string key) -> bool"""
3902 return _pcbnew.str_utf8_Map_has_key(self, key)
3905 r"""keys(str_utf8_Map self) -> PyObject *"""
3906 return _pcbnew.str_utf8_Map_keys(self)
3909 r"""values(str_utf8_Map self) -> PyObject *"""
3910 return _pcbnew.str_utf8_Map_values(self)
3913 r"""items(str_utf8_Map self) -> PyObject *"""
3914 return _pcbnew.str_utf8_Map_items(self)
3917 r"""__contains__(str_utf8_Map self, string key) -> bool"""
3918 return _pcbnew.str_utf8_Map___contains__(self, key)
3921 r"""key_iterator(str_utf8_Map self) -> SwigPyIterator"""
3922 return _pcbnew.str_utf8_Map_key_iterator(self)
3925 r"""value_iterator(str_utf8_Map self) -> SwigPyIterator"""
3926 return _pcbnew.str_utf8_Map_value_iterator(self)
3931 __setitem__(str_utf8_Map self, string key, UTF8 x)
3933 return _pcbnew.str_utf8_Map___setitem__(self, *args)
3936 r"""asdict(str_utf8_Map self) -> PyObject *"""
3937 return _pcbnew.str_utf8_Map_asdict(self)
3941 __init__(str_utf8_Map self, std::less< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > const & other) -> str_utf8_Map
3942 __init__(str_utf8_Map self) -> str_utf8_Map
3943 __init__(str_utf8_Map self, str_utf8_Map other) -> str_utf8_Map
3945 _pcbnew.str_utf8_Map_swiginit(self, _pcbnew.new_str_utf8_Map(*args))
3948 r"""empty(str_utf8_Map self) -> bool"""
3949 return _pcbnew.str_utf8_Map_empty(self)
3952 r"""size(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
3953 return _pcbnew.str_utf8_Map_size(self)
3956 r"""swap(str_utf8_Map self, str_utf8_Map v)"""
3957 return _pcbnew.str_utf8_Map_swap(self, v)
3960 r"""begin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
3961 return _pcbnew.str_utf8_Map_begin(self)
3964 r"""end(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
3965 return _pcbnew.str_utf8_Map_end(self)
3968 r"""rbegin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
3969 return _pcbnew.str_utf8_Map_rbegin(self)
3972 r"""rend(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
3973 return _pcbnew.str_utf8_Map_rend(self)
3976 r"""clear(str_utf8_Map self)"""
3977 return _pcbnew.str_utf8_Map_clear(self)
3980 r"""get_allocator(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::allocator_type"""
3981 return _pcbnew.str_utf8_Map_get_allocator(self)
3984 r"""count(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
3985 return _pcbnew.str_utf8_Map_count(self, x)
3989 erase(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type
3990 erase(str_utf8_Map self, std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator position)
3991 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)
3993 return _pcbnew.str_utf8_Map_erase(self, *args)
3996 r"""find(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
3997 return _pcbnew.str_utf8_Map_find(self, x)
4000 r"""lower_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4001 return _pcbnew.str_utf8_Map_lower_bound(self, x)
4004 r"""upper_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4005 return _pcbnew.str_utf8_Map_upper_bound(self, x)
4006 __swig_destroy__ = _pcbnew.delete_str_utf8_Map
4009_pcbnew.str_utf8_Map_swigregister(str_utf8_Map)
4014""" the list of not loaded python scripts
4015 (usually because there is a syntax error
in python script)
4016 this
is the python script full filenames list.
4017 filenames are separated by
'\n'
4019NOT_LOADED_WIZARDS=""
4021""" the list of paths used to search python scripts.
4022 Stored here to be displayed on request
in Pcbnew
4023 paths are separated by
'\n'
4025PLUGIN_DIRECTORIES_SEARCH=""
4028 the trace of errors during execution of footprint wizards scripts
4029 Warning: strings (internally unicode) are returned
as UTF-8 compatible C strings
4034def GetUnLoadableWizards():
4035 global NOT_LOADED_WIZARDS
4038 if sys.version_info[0] < 3:
4039 utf8_str = NOT_LOADED_WIZARDS.encode(
'UTF-8' )
4041 utf8_str = NOT_LOADED_WIZARDS
4046 global PLUGIN_DIRECTORIES_SEARCH
4049 if sys.version_info[0] < 3:
4050 utf8_str = PLUGIN_DIRECTORIES_SEARCH.encode(
'UTF-8' )
4052 utf8_str = PLUGIN_DIRECTORIES_SEARCH
4057 global FULL_BACK_TRACE
4058 return FULL_BACK_TRACE
4063 Load the plugin module named ModuleName located in the folder Dirname.
4064 The module can be either inside a file called FileName
or a subdirectory
4065 called FileName that contains a __init__.py file.
4066 If this module cannot be loaded, its name
is stored
in failed_wizards_list
4067 and the error trace
is stored
in FULL_BACK_TRACE
4073 global NOT_LOADED_WIZARDS
4074 global FULL_BACK_TRACE
4075 global KICAD_PLUGINS
4079 module_filename = os.path.join( Dirname, FileName )
4080 mtime = os.path.getmtime( module_filename )
4081 mods_before = set( sys.modules )
4083 if ModuleName
in KICAD_PLUGINS:
4084 plugin = KICAD_PLUGINS[ModuleName]
4086 for dependency
in plugin[
"dependencies"]:
4087 if dependency
in sys.modules:
4088 del sys.modules[dependency]
4090 mods_before = set( sys.modules )
4092 if sys.version_info >= (3,0,0):
4094 mod = importlib.import_module( ModuleName )
4096 mod = __import__( ModuleName, locals(), globals() )
4098 mods_after = set( sys.modules ).difference( mods_before )
4099 dependencies = [m
for m
in mods_after
if m.startswith(ModuleName)]
4101 KICAD_PLUGINS[ModuleName]={
"filename":module_filename,
4102 "modification_time":mtime,
4104 "dependencies": dependencies }
4107 if ModuleName
in KICAD_PLUGINS:
4108 del KICAD_PLUGINS[ModuleName]
4110 if NOT_LOADED_WIZARDS !=
"" :
4111 NOT_LOADED_WIZARDS +=
"\n"
4112 NOT_LOADED_WIZARDS += module_filename
4113 FULL_BACK_TRACE += traceback.format_exc()
4118 Initialise Scripting/Plugin python environment and load plugins.
4121 Note: bundlepath
and userpath are given utf8 encoded, to be compatible
with asimple C string
4122 bundlepath -- The path to the bundled scripts.
4123 The bundled Plugins are relative to this path,
in the
4124 "plugins" subdirectory.
4125 WARNING: bundlepath must use
'/' as path separator,
and not '\'
4126 because it creates issues:
4127 \n and \r are seen
as a escaped seq when passing this string to this method
4128 I am thinking this
is due to the fact LoadPlugins
is called
from C++ code by
4129 PyRun_SimpleString()
4131 NOTE: These are all of the possible
"default" search paths
for kicad
4132 python scripts. These paths will ONLY be added to the python
4133 search path ONLY IF they already exist.
4135 The Scripts bundled
with the KiCad installation:
4137 <bundlepath>/plugins/
4139 The Scripts relative to the KiCad Users configuration:
4143 The plugins
from 3rd party packages:
4144 $KICAD_3RD_PARTY/plugins/
4151 if sys.version_info >= (3,3,0):
4153 importlib.invalidate_caches()
4156 bundlepath and userpath are strings utf-8 encoded (compatible
"C" strings).
4157 So convert these utf8 encoding to unicode strings to avoid any encoding issue.
4160 bundlepath = bundlepath.decode(
'UTF-8' )
4161 userpath = userpath.decode(
'UTF-8' )
4162 thirdpartypath = thirdpartypath.decode(
'UTF-8' )
4163 except AttributeError:
4167 plugin_directories=[]
4170 To be consistent with others paths, on windows, convert the unix
'/' separator
4171 to the windows separator, although using
'/' works
4173 if sys.platform.startswith(
'win32'):
4175 bundlepath = bundlepath.replace(
"/",
"\\")
4177 thirdpartypath = thirdpartypath.replace(
"/",
"\\")
4180 plugin_directories.append(bundlepath)
4181 plugin_directories.append(os.path.join(bundlepath,
'plugins'))
4184 plugin_directories.append(os.path.join(config_path,
'scripting'))
4185 plugin_directories.append(os.path.join(config_path,
'scripting',
'plugins'))
4188 plugin_directories.append(userpath)
4189 plugin_directories.append(os.path.join(userpath,
'plugins'))
4192 plugin_directories.append(thirdpartypath)
4194 global PLUGIN_DIRECTORIES_SEARCH
4195 PLUGIN_DIRECTORIES_SEARCH=
""
4196 for plugins_dir
in plugin_directories:
4197 if PLUGIN_DIRECTORIES_SEARCH !=
"" :
4198 PLUGIN_DIRECTORIES_SEARCH +=
"\n"
4199 PLUGIN_DIRECTORIES_SEARCH += plugins_dir
4201 global FULL_BACK_TRACE
4204 global NOT_LOADED_WIZARDS
4205 NOT_LOADED_WIZARDS =
""
4207 global KICAD_PLUGINS
4209 for plugins_dir
in plugin_directories:
4210 if not os.path.isdir( plugins_dir ):
4213 if plugins_dir
not in sys.path:
4214 sys.path.append( plugins_dir )
4216 for module
in os.listdir(plugins_dir):
4217 fullPath = os.path.join( plugins_dir, module )
4219 if os.path.isdir( fullPath ):
4220 if os.path.exists( os.path.join( fullPath,
'__init__.py' ) ):
4223 if NOT_LOADED_WIZARDS !=
"" :
4224 NOT_LOADED_WIZARDS +=
"\n"
4225 NOT_LOADED_WIZARDS +=
'Skip subdir ' + fullPath
4228 if module ==
'__init__.py' or module[-3:] !=
'.py':
4242 if isinstance(self,FilePlugin):
4245 if isinstance(self,FootprintWizardPlugin):
4246 PYTHON_FOOTPRINT_WIZARD_LIST.register_wizard(self)
4249 if isinstance(self,ActionPlugin):
4251 Get path to .py or .pyc that has definition of plugin
class.
4252 If path
is binary but source also exists, assume definition
is in source.
4254 self.__plugin_path = inspect.getfile(self.__class__)
4255 if self.__plugin_path.endswith(
'.pyc')
and os.path.isfile(self.__plugin_path[:-1]):
4256 self.__plugin_path = self.__plugin_path[:-1]
4257 self.__plugin_path = self.__plugin_path +
'/' + self.__class__.__name__
4258 PYTHON_ACTION_PLUGINS.register_action(self)
4264 if isinstance(self,FilePlugin):
4267 if isinstance(self,FootprintWizardPlugin):
4268 PYTHON_FOOTPRINT_WIZARD_LIST.deregister_wizard(self)
4271 if isinstance(self,ActionPlugin):
4272 PYTHON_ACTION_PLUGINS.deregister_action(self)
4283 KiCadPlugin.__init__(self)
4286from math
import ceil, floor, sqrt
4298uNumeric = [uMM, uMils, uFloat, uInteger, uDegrees, uRadians, uPercent]
4299uUnits = [uMM, uMils, uFloat, uInteger, uBool, uDegrees, uRadians, uPercent, uString]
4302 _true = [
'true',
't',
'y',
'yes',
'on',
'1',1,]
4303 _false = [
'false',
'f',
'n',
'no',
'off',
'0',0,
'',
None]
4305 _bools = _true + _false
4307 def __init__(self, page, name, units, default, **kwarg):
4313 if units.lower()
in uUnits:
4315 elif units.lower() ==
'percent':
4316 self.
units = uPercent
4317 elif type(units)
in [list, tuple]:
4318 self.
units =
",".join([str(el).strip()
for el
in units])
4336 if info
is not None:
4337 err = err +
" (" + str(info) +
")"
4341 def Check(self, min_value=None, max_value=None, multiple=None, info=None):
4343 if min_value
is None:
4345 if max_value
is None:
4347 if multiple
is None:
4350 if self.
units not in uUnits
and ',' not in self.
units:
4351 self.
AddError(
"type '{t}' unknown".format(t=self.
units),info)
4354 if self.
units in uNumeric:
4358 if min_value
is not None:
4359 if to_num < min_value:
4360 self.
AddError(
"value '{v}' is below minimum ({m})".format(v=self.
raw_value,m=min_value),info)
4362 if max_value
is not None:
4363 if to_num > max_value:
4364 self.
AddError(
"value '{v}' is above maximum ({m})".format(v=self.
raw_value,m=max_value),info)
4369 if self.
units == uInteger:
4373 if multiple
is not None and multiple > 1:
4374 if (to_int % multiple) > 0:
4375 self.
AddError(
"value '{v}' is not a multiple of {m}".format(v=self.
raw_value,m=multiple),info)
4379 if self.
units == uBool:
4383 self.
AddError(
"value '{v}' is not a boolean value".format(v = self.
raw_value),info)
4389 if self.
units == uInteger:
4391 elif self.
units in uNumeric:
4392 v = v.replace(
",",
".")
4395 if self.
units == uMM:
4398 elif self.
units == uMils:
4404 elif self.
units == uBool:
4405 if v.lower()
in self.
_true:
4416 new_value = str(new_value)
4418 if len(new_value.strip()) == 0:
4419 if not self.
units in [uString, uBool]:
4422 if self.
units == uBool:
4423 new_value =
"1" if new_value.lower()
in self.
_true else "0"
4424 elif self.
units in uNumeric:
4425 new_value = new_value.replace(
",",
".")
4426 elif ',' in self.
units:
4427 if new_value
not in self.
units.split(
','):
4428 new_value = self.
units.split(
',')[0]
4436 if self.
units in [uMM, uMils, uPercent, uRadians, uDegrees]:
4438 elif self.
units == uBool:
4439 s = self.
name +
": {b}".format(b =
"True" if self.
value else "False")
4440 elif self.
units == uString:
4448 KiCadPlugin.__init__(self)
4460 def AddParam(self, page, name, unit, default, **kwarg):
4462 if self.
GetParam(page,name)
is not None:
4466 self.
params.append(param)
4472 if p.page
not in pages:
4475 pages[p.page][p.name] = p.value
4497 raise NotImplementedError
4504 if p.page == page
and p.name == name:
4510 self.
GetParam(page,name).Check(**kwarg)
4513 return any([len(p.error_list) > 0
for p
in self.
params])
4519 if p.page
not in page_list:
4520 page_list.append(p.page)
4525 return len(self.
pages)
4528 return self.
pages[page_n]
4534 if p.page == page_name:
4544 return [p.designator
for p
in params]
4548 return [p.name
for p
in params]
4552 return [str(p.raw_value)
for p
in params]
4556 return [str(
"\n".join(p.error_list))
for p
in params]
4560 return [str(p.units)
for p
in params]
4564 return [str(p.hint)
for p
in params]
4568 return [str(p.designator)
for p
in params]
4574 for i, param
in enumerate(params):
4575 if i >= len(list_of_values):
4577 param.SetValue(list_of_values[i])
4587 return self.buildmessages
4590 text =
"Footprint Wizard Name: {name}\n".format(name=self.
GetName())
4591 text +=
"Footprint Wizard Description: {desc}\n".format(desc=self.
GetDescription())
4595 text +=
"Pages: {n}\n".format(n=n_pages)
4597 for i
in range(n_pages):
4602 text +=
"{name}\n".format(name=name)
4604 for j
in range(len(params)):
4605 text += (
"\t{param}{err}\n".format(
4606 param = str(params[j]),
4607 err =
' *' if len(params[j].error_list) > 0
else ''
4611 text +=
" * Errors exist for these parameters"
4617 KiCadPlugin.__init__( self )
4624 self.
name =
"Undefined Action plugin"
4629 return type(self).__name__
4656 BOX2ISafe(BOX2D const & aInput) -> BOX2I
4657 BOX2ISafe(VECTOR2D const & aPos, VECTOR2D const & aSize) -> BOX2I
4659 return _pcbnew.BOX2ISafe(*args)
4663 KiROUND(VECTOR2D const & vec) -> VECTOR2I
4664 KiROUND(BOX2D const & aBoxD) -> BOX2I
4666 return _pcbnew.KiROUND(*args)
4668 r"""Proxy of C++ VECTOR2< int > class."""
4670 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4671 __repr__ = _swig_repr
4672 x = property(_pcbnew.VECTOR2I_x_get, _pcbnew.VECTOR2I_x_set, doc=
r"""x : int""")
4673 y = property(_pcbnew.VECTOR2I_y_get, _pcbnew.VECTOR2I_y_set, doc=
r"""y : int""")
4677 __init__(VECTOR2I self) -> VECTOR2I
4678 __init__(VECTOR2I self, int x, int y) -> VECTOR2I
4679 __init__(VECTOR2I self, VECTOR2I aVec) -> VECTOR2I
4681 _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args))
4684 r"""EuclideanNorm(VECTOR2I self) -> int"""
4685 return _pcbnew.VECTOR2I_EuclideanNorm(self)
4688 r"""SquaredEuclideanNorm(VECTOR2I self) -> VECTOR2< int >::extended_type"""
4689 return _pcbnew.VECTOR2I_SquaredEuclideanNorm(self)
4692 r"""Perpendicular(VECTOR2I self) -> VECTOR2I"""
4693 return _pcbnew.VECTOR2I_Perpendicular(self)
4696 r"""Resize(VECTOR2I self, int aNewLength) -> VECTOR2I"""
4697 return _pcbnew.VECTOR2I_Resize(self, aNewLength)
4700 r"""Format(VECTOR2I self) -> string"""
4701 return _pcbnew.VECTOR2I_Format(self)
4704 r"""Cross(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
4705 return _pcbnew.VECTOR2I_Cross(self, aVector)
4708 r"""Dot(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
4709 return _pcbnew.VECTOR2I_Dot(self, aVector)
4712 r"""Distance(VECTOR2I self, VECTOR2L aVector) -> double"""
4713 return _pcbnew.VECTOR2I_Distance(self, aVector)
4716 r"""SquaredDistance(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
4717 return _pcbnew.VECTOR2I_SquaredDistance(self, aVector)
4721 __imul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4722 __imul__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4724 return _pcbnew.VECTOR2I___imul__(self, *args)
4728 __iadd__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4729 __iadd__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4731 return _pcbnew.VECTOR2I___iadd__(self, *args)
4735 __isub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4736 __isub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4738 return _pcbnew.VECTOR2I___isub__(self, *args)
4741 r"""__neg__(VECTOR2I self) -> VECTOR2I"""
4742 return _pcbnew.VECTOR2I___neg__(self)
4745 return _pcbnew.VECTOR2I___truediv__(self, *args)
4746 __div__ = __truediv__
4751 r"""__eq__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4752 return _pcbnew.VECTOR2I___eq__(self, aVector)
4755 r"""__ne__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4756 return _pcbnew.VECTOR2I___ne__(self, aVector)
4759 r"""__lt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4760 return _pcbnew.VECTOR2I___lt__(self, aVector)
4763 r"""__le__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4764 return _pcbnew.VECTOR2I___le__(self, aVector)
4767 r"""__gt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4768 return _pcbnew.VECTOR2I___gt__(self, aVector)
4771 r"""__ge__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4772 return _pcbnew.VECTOR2I___ge__(self, aVector)
4775 r"""Set(VECTOR2I self, long x, long y)"""
4776 return _pcbnew.VECTOR2I_Set(self, x, y)
4779 r"""Get(VECTOR2I self) -> PyObject *"""
4780 return _pcbnew.VECTOR2I_Get(self)
4782 def __eq__(self,other):
return (self.
xx==other.x
and self.
yy==other.y)
4783 def __ne__(self,other):
return not (self==other)
4785 def __repr__(self):
return 'VECTOR2I'+str(self.
Get())
4796 def __add__(self, other):
return VECTOR2I(self.
xx+other.x, self.
yy+other.y)
4797 def __sub__(self, other):
return VECTOR2I(self.
xx-other.x, self.
yy-other.y)
4800 __swig_destroy__ = _pcbnew.delete_VECTOR2I
4803_pcbnew.VECTOR2I_swigregister(VECTOR2I)
4805 r"""Proxy of C++ VECTOR2< long long > class."""
4807 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4808 __repr__ = _swig_repr
4809 ECOORD_MAX = _pcbnew.VECTOR2L_ECOORD_MAX
4811 ECOORD_MIN = _pcbnew.VECTOR2L_ECOORD_MIN
4813 x = property(_pcbnew.VECTOR2L_x_get, _pcbnew.VECTOR2L_x_set, doc=
r"""x : long long""")
4814 y = property(_pcbnew.VECTOR2L_y_get, _pcbnew.VECTOR2L_y_set, doc=
r"""y : long long""")
4818 __init__(VECTOR2L self) -> VECTOR2L
4819 __init__(VECTOR2L self, long long x, long long y) -> VECTOR2L
4820 __init__(VECTOR2L self, VECTOR2L aVec) -> VECTOR2L
4822 _pcbnew.VECTOR2L_swiginit(self, _pcbnew.new_VECTOR2L(*args))
4825 r"""EuclideanNorm(VECTOR2L self) -> long long"""
4826 return _pcbnew.VECTOR2L_EuclideanNorm(self)
4829 r"""SquaredEuclideanNorm(VECTOR2L self) -> VECTOR2< long long >::extended_type"""
4830 return _pcbnew.VECTOR2L_SquaredEuclideanNorm(self)
4833 r"""Perpendicular(VECTOR2L self) -> VECTOR2L"""
4834 return _pcbnew.VECTOR2L_Perpendicular(self)
4837 r"""Resize(VECTOR2L self, long long aNewLength) -> VECTOR2L"""
4838 return _pcbnew.VECTOR2L_Resize(self, aNewLength)
4841 r"""Format(VECTOR2L self) -> string"""
4842 return _pcbnew.VECTOR2L_Format(self)
4845 r"""Cross(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type"""
4846 return _pcbnew.VECTOR2L_Cross(self, aVector)
4849 r"""Dot(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type"""
4850 return _pcbnew.VECTOR2L_Dot(self, aVector)
4853 r"""Distance(VECTOR2L self, VECTOR2< VECTOR2< long long >::extended_type > const & aVector) -> double"""
4854 return _pcbnew.VECTOR2L_Distance(self, aVector)
4857 r"""SquaredDistance(VECTOR2L self, VECTOR2L aVector) -> VECTOR2< long long >::extended_type"""
4858 return _pcbnew.VECTOR2L_SquaredDistance(self, aVector)
4862 __imul__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
4863 __imul__(VECTOR2L self, long long const & aScalar) -> VECTOR2L
4865 return _pcbnew.VECTOR2L___imul__(self, *args)
4869 __iadd__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
4870 __iadd__(VECTOR2L self, long long const & aScalar) -> VECTOR2L
4872 return _pcbnew.VECTOR2L___iadd__(self, *args)
4876 __isub__(VECTOR2L self, VECTOR2L aVector) -> VECTOR2L
4877 __isub__(VECTOR2L self, long long const & aScalar) -> VECTOR2L
4879 return _pcbnew.VECTOR2L___isub__(self, *args)
4882 r"""__neg__(VECTOR2L self) -> VECTOR2L"""
4883 return _pcbnew.VECTOR2L___neg__(self)
4886 return _pcbnew.VECTOR2L___truediv__(self, *args)
4887 __div__ = __truediv__
4892 r"""__eq__(VECTOR2L self, VECTOR2L aVector) -> bool"""
4893 return _pcbnew.VECTOR2L___eq__(self, aVector)
4896 r"""__ne__(VECTOR2L self, VECTOR2L aVector) -> bool"""
4897 return _pcbnew.VECTOR2L___ne__(self, aVector)
4900 r"""__lt__(VECTOR2L self, VECTOR2L aVector) -> bool"""
4901 return _pcbnew.VECTOR2L___lt__(self, aVector)
4904 r"""__le__(VECTOR2L self, VECTOR2L aVector) -> bool"""
4905 return _pcbnew.VECTOR2L___le__(self, aVector)
4908 r"""__gt__(VECTOR2L self, VECTOR2L aVector) -> bool"""
4909 return _pcbnew.VECTOR2L___gt__(self, aVector)
4912 r"""__ge__(VECTOR2L self, VECTOR2L aVector) -> bool"""
4913 return _pcbnew.VECTOR2L___ge__(self, aVector)
4916 r"""Set(VECTOR2L self, long long x, long long y)"""
4917 return _pcbnew.VECTOR2L_Set(self, x, y)
4920 r"""Get(VECTOR2L self) -> PyObject *"""
4921 return _pcbnew.VECTOR2L_Get(self)
4923 def __eq__(self,other):
return (self.
xx==other.x
and self.
yy==other.y)
4924 def __ne__(self,other):
return not (self==other)
4926 def __repr__(self):
return 'VECTOR2L'+str(self.
Get())
4937 def __add__(self, other):
return VECTOR2L(self.
xx+other.x, self.
yy+other.y)
4938 def __sub__(self, other):
return VECTOR2L(self.
xx-other.x, self.
yy-other.y)
4941 __swig_destroy__ = _pcbnew.delete_VECTOR2L
4944_pcbnew.VECTOR2L_swigregister(VECTOR2L)
4946 r"""Proxy of C++ VECTOR2_TRAITS< int > class."""
4948 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4949 __repr__ = _swig_repr
4952 r"""__init__(VECTOR2I_EXTENDED_TYPE self) -> VECTOR2I_EXTENDED_TYPE"""
4953 _pcbnew.VECTOR2I_EXTENDED_TYPE_swiginit(self, _pcbnew.new_VECTOR2I_EXTENDED_TYPE())
4954 __swig_destroy__ = _pcbnew.delete_VECTOR2I_EXTENDED_TYPE
4957_pcbnew.VECTOR2I_EXTENDED_TYPE_swigregister(VECTOR2I_EXTENDED_TYPE)
4959 r"""Proxy of C++ VECTOR3< double > class."""
4961 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4962 __repr__ = _swig_repr
4963 ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
4965 ECOORD_MIN = _pcbnew.VECTOR3D_ECOORD_MIN
4967 x = property(_pcbnew.VECTOR3D_x_get, _pcbnew.VECTOR3D_x_set, doc=
r"""x : double""")
4968 y = property(_pcbnew.VECTOR3D_y_get, _pcbnew.VECTOR3D_y_set, doc=
r"""y : double""")
4969 z = property(_pcbnew.VECTOR3D_z_get, _pcbnew.VECTOR3D_z_set, doc=
r"""z : double""")
4973 __init__(VECTOR3D self) -> VECTOR3D
4974 __init__(VECTOR3D self, double x, double y, double z) -> VECTOR3D
4976 _pcbnew.VECTOR3D_swiginit(self, _pcbnew.new_VECTOR3D(*args))
4979 r"""Cross(VECTOR3D self, VECTOR3D aVector) -> VECTOR3D"""
4980 return _pcbnew.VECTOR3D_Cross(self, aVector)
4983 r"""Dot(VECTOR3D self, VECTOR3D aVector) -> VECTOR3< double >::extended_type"""
4984 return _pcbnew.VECTOR3D_Dot(self, aVector)
4987 r"""EuclideanNorm(VECTOR3D self) -> double"""
4988 return _pcbnew.VECTOR3D_EuclideanNorm(self)
4991 r"""Normalize(VECTOR3D self) -> VECTOR3D"""
4992 return _pcbnew.VECTOR3D_Normalize(self)
4995 r"""__eq__(VECTOR3D self, VECTOR3D aVector) -> bool"""
4996 return _pcbnew.VECTOR3D___eq__(self, aVector)
4999 r"""__ne__(VECTOR3D self, VECTOR3D aVector) -> bool"""
5000 return _pcbnew.VECTOR3D___ne__(self, aVector)
5003 r"""__imul__(VECTOR3D self, double val) -> VECTOR3D"""
5004 return _pcbnew.VECTOR3D___imul__(self, val)
5007 return _pcbnew.VECTOR3D___itruediv__(self, *args)
5008 __idiv__ = __itruediv__
5013 r"""Set(VECTOR3D self, double x, double y, double z)"""
5014 return _pcbnew.VECTOR3D_Set(self, x, y, z)
5017 r"""Get(VECTOR3D self) -> PyObject *"""
5018 return _pcbnew.VECTOR3D_Get(self)
5020 def __eq__(self,other):
return (self.
xx==other.x
and self.
yy==other.y
and self.
zz==other.z)
5021 def __ne__(self,other):
return not (self==other)
5023 def __repr__(self):
return 'VECTOR3D'+str(self.
Get())
5038 __swig_destroy__ = _pcbnew.delete_VECTOR3D
5041_pcbnew.VECTOR3D_swigregister(VECTOR3D)
5043 r"""Proxy of C++ BOX2< VECTOR2I > class."""
5045 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5046 __repr__ = _swig_repr
5051 __init__(BOX2I self, VECTOR2I aPos, VECTOR2L aSize=BOX2< VECTOR2I >::SizeVec(0, 0)) -> BOX2I
5053 _pcbnew.BOX2I_swiginit(self, _pcbnew.new_BOX2I(*args))
5057 r"""ByCorners(VECTOR2I aCorner1, VECTOR2I aCorner2) -> BOX2I"""
5058 return _pcbnew.BOX2I_ByCorners(aCorner1, aCorner2)
5062 r"""ByCenter(VECTOR2I aCenter, VECTOR2L aSize) -> BOX2I"""
5063 return _pcbnew.BOX2I_ByCenter(aCenter, aSize)
5066 r"""SetMaximum(BOX2I self)"""
5067 return _pcbnew.BOX2I_SetMaximum(self)
5070 r"""Centre(BOX2I self) -> VECTOR2I"""
5071 return _pcbnew.BOX2I_Centre(self)
5074 r"""Move(BOX2I self, VECTOR2I aMoveVector)"""
5075 return _pcbnew.BOX2I_Move(self, aMoveVector)
5078 r"""Normalize(BOX2I self) -> BOX2I"""
5079 return _pcbnew.BOX2I_Normalize(self)
5083 Contains(BOX2I self, VECTOR2I aPoint) -> bool
5084 Contains(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y) -> bool
5085 Contains(BOX2I self, BOX2I aRect) -> bool
5087 return _pcbnew.BOX2I_Contains(self, *args)
5090 r"""GetSize(BOX2I self) -> VECTOR2L"""
5091 return _pcbnew.BOX2I_GetSize(self)
5094 r"""GetX(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5095 return _pcbnew.BOX2I_GetX(self)
5098 r"""GetY(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5099 return _pcbnew.BOX2I_GetY(self)
5102 r"""GetOrigin(BOX2I self) -> VECTOR2I"""
5103 return _pcbnew.BOX2I_GetOrigin(self)
5106 r"""GetPosition(BOX2I self) -> VECTOR2I"""
5107 return _pcbnew.BOX2I_GetPosition(self)
5110 r"""GetEnd(BOX2I self) -> VECTOR2I"""
5111 return _pcbnew.BOX2I_GetEnd(self)
5114 r"""GetWidth(BOX2I self) -> BOX2< VECTOR2< int > >::size_type"""
5115 return _pcbnew.BOX2I_GetWidth(self)
5118 r"""GetHeight(BOX2I self) -> BOX2< VECTOR2< int > >::size_type"""
5119 return _pcbnew.BOX2I_GetHeight(self)
5122 r"""GetRight(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5123 return _pcbnew.BOX2I_GetRight(self)
5126 r"""GetBottom(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5127 return _pcbnew.BOX2I_GetBottom(self)
5130 r"""GetLeft(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5131 return _pcbnew.BOX2I_GetLeft(self)
5134 r"""GetTop(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5135 return _pcbnew.BOX2I_GetTop(self)
5138 r"""GetCenter(BOX2I self) -> VECTOR2I"""
5139 return _pcbnew.BOX2I_GetCenter(self)
5142 r"""GetSizeMax(BOX2I self) -> int"""
5143 return _pcbnew.BOX2I_GetSizeMax(self)
5148 SetOrigin(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5150 return _pcbnew.BOX2I_SetOrigin(self, *args)
5154 SetSize(BOX2I self, VECTOR2L size)
5155 SetSize(BOX2I self, BOX2< VECTOR2< int > >::size_type w, BOX2< VECTOR2< int > >::size_type h)
5157 return _pcbnew.BOX2I_SetSize(self, *args)
5161 Offset(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy)
5162 Offset(BOX2I self, VECTOR2I offset)
5164 return _pcbnew.BOX2I_Offset(self, *args)
5167 r"""GetWithOffset(BOX2I self, VECTOR2I aMoveVector) -> BOX2I"""
5168 return _pcbnew.BOX2I_GetWithOffset(self, aMoveVector)
5171 r"""SetX(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5172 return _pcbnew.BOX2I_SetX(self, val)
5175 r"""SetY(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5176 return _pcbnew.BOX2I_SetY(self, val)
5179 r"""SetWidth(BOX2I self, BOX2< VECTOR2< int > >::size_type val)"""
5180 return _pcbnew.BOX2I_SetWidth(self, val)
5183 r"""SetHeight(BOX2I self, BOX2< VECTOR2< int > >::size_type val)"""
5184 return _pcbnew.BOX2I_SetHeight(self, val)
5188 SetEnd(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5189 SetEnd(BOX2I self, VECTOR2I pos)
5191 return _pcbnew.BOX2I_SetEnd(self, *args)
5194 r"""Intersect(BOX2I self, BOX2I aRect) -> BOX2I"""
5195 return _pcbnew.BOX2I_Intersect(self, aRect)
5200 Intersects(BOX2I self, VECTOR2I aPoint1, VECTOR2I aPoint2) -> bool
5201 Intersects(BOX2I self, BOX2I aRect, EDA_ANGLE aRotation) -> bool
5203 return _pcbnew.BOX2I_Intersects(self, *args)
5206 r"""IntersectsCircle(BOX2I self, VECTOR2I aCenter, int const aRadius) -> bool"""
5207 return _pcbnew.BOX2I_IntersectsCircle(self, aCenter, aRadius)
5210 r"""IntersectsCircleEdge(BOX2I self, VECTOR2I aCenter, int const aRadius, int const aWidth) -> bool"""
5211 return _pcbnew.BOX2I_IntersectsCircleEdge(self, aCenter, aRadius, aWidth)
5214 r"""Format(BOX2I self) -> string"""
5215 return _pcbnew.BOX2I_Format(self)
5219 Inflate(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy) -> BOX2I
5220 Inflate(BOX2I self, BOX2< VECTOR2< int > >::coord_type aDelta) -> BOX2I
5222 return _pcbnew.BOX2I_Inflate(self, *args)
5226 GetInflated(BOX2I self, BOX2< VECTOR2< int > >::coord_type aDx, BOX2< VECTOR2< int > >::coord_type aDy) -> BOX2I
5227 GetInflated(BOX2I self, BOX2< VECTOR2< int > >::coord_type aDelta) -> BOX2I
5229 return _pcbnew.BOX2I_GetInflated(self, *args)
5233 Merge(BOX2I self, BOX2I aRect) -> BOX2I
5234 Merge(BOX2I self, VECTOR2I aPoint) -> BOX2I
5236 return _pcbnew.BOX2I_Merge(self, *args)
5239 r"""GetBoundingBoxRotated(BOX2I self, VECTOR2I aRotCenter, EDA_ANGLE aAngle) -> BOX2I"""
5240 return _pcbnew.BOX2I_GetBoundingBoxRotated(self, aRotCenter, aAngle)
5243 r"""GetArea(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5244 return _pcbnew.BOX2I_GetArea(self)
5247 r"""Diagonal(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5248 return _pcbnew.BOX2I_Diagonal(self)
5251 r"""SquaredDiagonal(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5252 return _pcbnew.BOX2I_SquaredDiagonal(self)
5256 SquaredDistance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5257 SquaredDistance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5259 return _pcbnew.BOX2I_SquaredDistance(self, *args)
5263 Distance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5264 Distance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5266 return _pcbnew.BOX2I_Distance(self, *args)
5269 r"""ClosestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5270 return _pcbnew.BOX2I_ClosestPointTo(self, aPoint)
5273 r"""FarthestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5274 return _pcbnew.BOX2I_FarthestPointTo(self, aPoint)
5277 r"""__eq__(BOX2I self, BOX2I aOther) -> bool"""
5278 return _pcbnew.BOX2I___eq__(self, aOther)
5281 r"""__ne__(BOX2I self, BOX2I aOther) -> bool"""
5282 return _pcbnew.BOX2I___ne__(self, aOther)
5285 r"""IsValid(BOX2I self) -> bool"""
5286 return _pcbnew.BOX2I_IsValid(self)
5287 __swig_destroy__ = _pcbnew.delete_BOX2I
5290_pcbnew.BOX2I_swigregister(BOX2I)
5292 r"""Proxy of C++ std::vector< VECTOR2I > class."""
5294 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5295 __repr__ = _swig_repr
5298 r"""iterator(VECTOR_VECTOR2I self) -> SwigPyIterator"""
5299 return _pcbnew.VECTOR_VECTOR2I_iterator(self)
5304 r"""__nonzero__(VECTOR_VECTOR2I self) -> bool"""
5305 return _pcbnew.VECTOR_VECTOR2I___nonzero__(self)
5308 r"""__bool__(VECTOR_VECTOR2I self) -> bool"""
5309 return _pcbnew.VECTOR_VECTOR2I___bool__(self)
5312 r"""__len__(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5313 return _pcbnew.VECTOR_VECTOR2I___len__(self)
5316 r"""__getslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j) -> VECTOR_VECTOR2I"""
5317 return _pcbnew.VECTOR_VECTOR2I___getslice__(self, i, j)
5321 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)
5322 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j, VECTOR_VECTOR2I v)
5324 return _pcbnew.VECTOR_VECTOR2I___setslice__(self, *args)
5327 r"""__delslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)"""
5328 return _pcbnew.VECTOR_VECTOR2I___delslice__(self, i, j)
5332 __delitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i)
5333 __delitem__(VECTOR_VECTOR2I self, SWIGPY_SLICEOBJECT * slice)
5335 return _pcbnew.VECTOR_VECTOR2I___delitem__(self, *args)
5339 __getitem__(VECTOR_VECTOR2I self, SWIGPY_SLICEOBJECT * slice) -> VECTOR_VECTOR2I
5340 __getitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i) -> VECTOR2I
5342 return _pcbnew.VECTOR_VECTOR2I___getitem__(self, *args)
5346 __setitem__(VECTOR_VECTOR2I self, SWIGPY_SLICEOBJECT * slice, VECTOR_VECTOR2I v)
5347 __setitem__(VECTOR_VECTOR2I self, SWIGPY_SLICEOBJECT * slice)
5348 __setitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, VECTOR2I x)
5350 return _pcbnew.VECTOR_VECTOR2I___setitem__(self, *args)
5353 r"""pop(VECTOR_VECTOR2I self) -> VECTOR2I"""
5354 return _pcbnew.VECTOR_VECTOR2I_pop(self)
5357 r"""append(VECTOR_VECTOR2I self, VECTOR2I x)"""
5358 return _pcbnew.VECTOR_VECTOR2I_append(self, x)
5361 r"""empty(VECTOR_VECTOR2I self) -> bool"""
5362 return _pcbnew.VECTOR_VECTOR2I_empty(self)
5365 r"""size(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5366 return _pcbnew.VECTOR_VECTOR2I_size(self)
5369 r"""swap(VECTOR_VECTOR2I self, VECTOR_VECTOR2I v)"""
5370 return _pcbnew.VECTOR_VECTOR2I_swap(self, v)
5373 r"""begin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5374 return _pcbnew.VECTOR_VECTOR2I_begin(self)
5377 r"""end(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5378 return _pcbnew.VECTOR_VECTOR2I_end(self)
5381 r"""rbegin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5382 return _pcbnew.VECTOR_VECTOR2I_rbegin(self)
5385 r"""rend(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5386 return _pcbnew.VECTOR_VECTOR2I_rend(self)
5389 r"""clear(VECTOR_VECTOR2I self)"""
5390 return _pcbnew.VECTOR_VECTOR2I_clear(self)
5393 r"""get_allocator(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::allocator_type"""
5394 return _pcbnew.VECTOR_VECTOR2I_get_allocator(self)
5397 r"""pop_back(VECTOR_VECTOR2I self)"""
5398 return _pcbnew.VECTOR_VECTOR2I_pop_back(self)
5402 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos) -> std::vector< VECTOR2< int > >::iterator
5403 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator first, std::vector< VECTOR2< int > >::iterator last) -> std::vector< VECTOR2< int > >::iterator
5405 return _pcbnew.VECTOR_VECTOR2I_erase(self, *args)
5409 __init__(VECTOR_VECTOR2I self) -> VECTOR_VECTOR2I
5410 __init__(VECTOR_VECTOR2I self, VECTOR_VECTOR2I other) -> VECTOR_VECTOR2I
5411 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size) -> VECTOR_VECTOR2I
5412 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size, VECTOR2I value) -> VECTOR_VECTOR2I
5414 _pcbnew.VECTOR_VECTOR2I_swiginit(self, _pcbnew.new_VECTOR_VECTOR2I(*args))
5417 r"""push_back(VECTOR_VECTOR2I self, VECTOR2I x)"""
5418 return _pcbnew.VECTOR_VECTOR2I_push_back(self, x)
5421 r"""front(VECTOR_VECTOR2I self) -> VECTOR2I"""
5422 return _pcbnew.VECTOR_VECTOR2I_front(self)
5425 r"""back(VECTOR_VECTOR2I self) -> VECTOR2I"""
5426 return _pcbnew.VECTOR_VECTOR2I_back(self)
5429 r"""assign(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)"""
5430 return _pcbnew.VECTOR_VECTOR2I_assign(self, n, x)
5434 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size)
5435 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size, VECTOR2I x)
5437 return _pcbnew.VECTOR_VECTOR2I_resize(self, *args)
5441 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, VECTOR2I x) -> std::vector< VECTOR2< int > >::iterator
5442 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)
5444 return _pcbnew.VECTOR_VECTOR2I_insert(self, *args)
5447 r"""reserve(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n)"""
5448 return _pcbnew.VECTOR_VECTOR2I_reserve(self, n)
5451 r"""capacity(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5452 return _pcbnew.VECTOR_VECTOR2I_capacity(self)
5453 __swig_destroy__ = _pcbnew.delete_VECTOR_VECTOR2I
5456_pcbnew.VECTOR_VECTOR2I_swigregister(VECTOR_VECTOR2I)
5457CORNER_STRATEGY_ALLOW_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_ALLOW_ACUTE_CORNERS
5459CORNER_STRATEGY_CHAMFER_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_CHAMFER_ACUTE_CORNERS
5461CORNER_STRATEGY_ROUND_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_ROUND_ACUTE_CORNERS
5463CORNER_STRATEGY_CHAMFER_ALL_CORNERS = _pcbnew.CORNER_STRATEGY_CHAMFER_ALL_CORNERS
5465CORNER_STRATEGY_ROUND_ALL_CORNERS = _pcbnew.CORNER_STRATEGY_ROUND_ALL_CORNERS
5468 r"""Proxy of C++ SEG class."""
5470 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5471 __repr__ = _swig_repr
5472 A = property(_pcbnew.SEG_A_get, _pcbnew.SEG_A_set, doc=
r"""A : VECTOR2I""")
5473 B = property(_pcbnew.SEG_B_get, _pcbnew.SEG_B_set, doc=
r"""B : VECTOR2I""")
5478 __init__(SEG self, int aX1, int aY1, int aX2, int aY2) -> SEG
5479 __init__(SEG self, VECTOR2I aA, VECTOR2I aB) -> SEG
5480 __init__(SEG self, VECTOR2I aA, VECTOR2I aB, int aIndex) -> SEG
5481 __init__(SEG self, SEG aSeg) -> SEG
5483 _pcbnew.SEG_swiginit(self, _pcbnew.new_SEG(*args))
5486 r"""__eq__(SEG self, SEG aSeg) -> bool"""
5487 return _pcbnew.SEG___eq__(self, aSeg)
5490 r"""__ne__(SEG self, SEG aSeg) -> bool"""
5491 return _pcbnew.SEG___ne__(self, aSeg)
5495 r"""Square(int a) -> SEG::ecoord"""
5496 return _pcbnew.SEG_Square(a)
5499 r"""LineProject(SEG self, VECTOR2I aP) -> VECTOR2I"""
5500 return _pcbnew.SEG_LineProject(self, aP)
5503 r"""Side(SEG self, VECTOR2I aP) -> int"""
5504 return _pcbnew.SEG_Side(self, aP)
5507 r"""LineDistance(SEG self, VECTOR2I aP, bool aDetermineSide=False) -> int"""
5508 return _pcbnew.SEG_LineDistance(self, aP, aDetermineSide)
5511 r"""Angle(SEG self, SEG aOther) -> EDA_ANGLE"""
5512 return _pcbnew.SEG_Angle(self, aOther)
5519 return _pcbnew.SEG_NearestPoint(self, *args)
5522 r"""NearestPoints(SEG self, SEG aSeg, VECTOR2I aPtA, VECTOR2I aPtB, int64_t & aDistSq) -> bool"""
5523 return _pcbnew.SEG_NearestPoints(self, aSeg, aPtA, aPtB, aDistSq)
5526 r"""ReflectPoint(SEG self, VECTOR2I aP) -> VECTOR2I"""
5527 return _pcbnew.SEG_ReflectPoint(self, aP)
5529 def Intersect(self, aSeg, aIgnoreEndpoints=False, aLines=False):
5530 r"""Intersect(SEG self, SEG aSeg, bool aIgnoreEndpoints=False, bool aLines=False) -> OPT_VECTOR2I"""
5531 return _pcbnew.SEG_Intersect(self, aSeg, aIgnoreEndpoints, aLines)
5534 r"""Intersects(SEG self, SEG aSeg) -> bool"""
5535 return _pcbnew.SEG_Intersects(self, aSeg)
5538 r"""IntersectLines(SEG self, SEG aSeg) -> OPT_VECTOR2I"""
5539 return _pcbnew.SEG_IntersectLines(self, aSeg)
5542 r"""PerpendicularSeg(SEG self, VECTOR2I aP) -> SEG"""
5543 return _pcbnew.SEG_PerpendicularSeg(self, aP)
5546 r"""ParallelSeg(SEG self, VECTOR2I aP) -> SEG"""
5547 return _pcbnew.SEG_ParallelSeg(self, aP)
5549 def Collide(self, aSeg, aClearance, aActual=None):
5550 r"""Collide(SEG self, SEG aSeg, int aClearance, int * aActual=None) -> bool"""
5551 return _pcbnew.SEG_Collide(self, aSeg, aClearance, aActual)
5558 return _pcbnew.SEG_SquaredDistance(self, *args)
5562 Distance(SEG self, SEG aSeg) -> int
5563 Distance(SEG self, VECTOR2I aP) -> int
5565 return _pcbnew.SEG_Distance(self, *args)
5568 r"""CanonicalCoefs(SEG self, SEG::ecoord & qA, SEG::ecoord & qB, SEG::ecoord & qC)"""
5569 return _pcbnew.SEG_CanonicalCoefs(self, qA, qB, qC)
5572 r"""Collinear(SEG self, SEG aSeg) -> bool"""
5573 return _pcbnew.SEG_Collinear(self, aSeg)
5576 r"""ApproxCollinear(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5577 return _pcbnew.SEG_ApproxCollinear(self, aSeg, aDistanceThreshold)
5580 r"""ApproxParallel(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5581 return _pcbnew.SEG_ApproxParallel(self, aSeg, aDistanceThreshold)
5584 r"""ApproxPerpendicular(SEG self, SEG aSeg) -> bool"""
5585 return _pcbnew.SEG_ApproxPerpendicular(self, aSeg)
5588 r"""Overlaps(SEG self, SEG aSeg) -> bool"""
5589 return _pcbnew.SEG_Overlaps(self, aSeg)
5592 r"""Length(SEG self) -> int"""
5593 return _pcbnew.SEG_Length(self)
5596 r"""SquaredLength(SEG self) -> SEG::ecoord"""
5597 return _pcbnew.SEG_SquaredLength(self)
5600 r"""TCoef(SEG self, VECTOR2I aP) -> SEG::ecoord"""
5601 return _pcbnew.SEG_TCoef(self, aP)
5604 r"""Index(SEG self) -> int"""
5605 return _pcbnew.SEG_Index(self)
5609 Contains(SEG self, SEG aSeg) -> bool
5610 Contains(SEG self, VECTOR2I aP) -> bool
5612 return _pcbnew.SEG_Contains(self, *args)
5615 r"""Reverse(SEG self)"""
5616 return _pcbnew.SEG_Reverse(self)
5619 r"""Reversed(SEG self) -> SEG"""
5620 return _pcbnew.SEG_Reversed(self)
5623 r"""Center(SEG self) -> VECTOR2I"""
5624 return _pcbnew.SEG_Center(self)
5627 r"""__lt__(SEG self, SEG aSeg) -> bool"""
5628 return _pcbnew.SEG___lt__(self, aSeg)
5629 __swig_destroy__ = _pcbnew.delete_SEG
5632_pcbnew.SEG_swigregister(SEG)
5633SH_RECT = _pcbnew.SH_RECT
5635SH_SEGMENT = _pcbnew.SH_SEGMENT
5637SH_LINE_CHAIN = _pcbnew.SH_LINE_CHAIN
5639SH_CIRCLE = _pcbnew.SH_CIRCLE
5641SH_SIMPLE = _pcbnew.SH_SIMPLE
5643SH_POLY_SET = _pcbnew.SH_POLY_SET
5645SH_COMPOUND = _pcbnew.SH_COMPOUND
5647SH_ARC = _pcbnew.SH_ARC
5649SH_NULL = _pcbnew.SH_NULL
5651SH_POLY_SET_TRIANGLE = _pcbnew.SH_POLY_SET_TRIANGLE
5655 r"""SHAPE_TYPE_asString(SHAPE_TYPE a) -> wxString"""
5656 return _pcbnew.SHAPE_TYPE_asString(a)
5658 r"""Proxy of C++ SHAPE_BASE class."""
5660 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5661 __repr__ = _swig_repr
5664 r"""__init__(SHAPE_BASE self, SHAPE_TYPE aType) -> SHAPE_BASE"""
5665 _pcbnew.SHAPE_BASE_swiginit(self, _pcbnew.new_SHAPE_BASE(aType))
5666 __swig_destroy__ = _pcbnew.delete_SHAPE_BASE
5669 r"""Type(SHAPE_BASE self) -> SHAPE_TYPE"""
5670 return _pcbnew.SHAPE_BASE_Type(self)
5673 r"""TypeName(SHAPE_BASE self) -> wxString"""
5674 return _pcbnew.SHAPE_BASE_TypeName(self)
5677 r"""HasIndexableSubshapes(SHAPE_BASE self) -> bool"""
5678 return _pcbnew.SHAPE_BASE_HasIndexableSubshapes(self)
5681 r"""GetIndexableSubshapeCount(SHAPE_BASE self) -> size_t"""
5682 return _pcbnew.SHAPE_BASE_GetIndexableSubshapeCount(self)
5685 r"""GetIndexableSubshapes(SHAPE_BASE self, std::vector< SHAPE const *,std::allocator< SHAPE const * > > & aSubshapes)"""
5686 return _pcbnew.SHAPE_BASE_GetIndexableSubshapes(self, aSubshapes)
5689_pcbnew.SHAPE_BASE_swigregister(SHAPE_BASE)
5691 r"""Proxy of C++ SHAPE class."""
5693 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5696 raise AttributeError(
"No constructor defined - class is abstract")
5697 __repr__ = _swig_repr
5698 MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU
5700 __swig_destroy__ = _pcbnew.delete_SHAPE
5703 r"""Clone(SHAPE self) -> SHAPE"""
5704 return _pcbnew.SHAPE_Clone(self)
5707 r"""GetClearance(SHAPE self, SHAPE aOther) -> int"""
5708 return _pcbnew.SHAPE_GetClearance(self, aOther)
5711 r"""IsNull(SHAPE self) -> bool"""
5712 return _pcbnew.SHAPE_IsNull(self)
5716 Collide(SHAPE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
5717 Collide(SHAPE self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
5718 Collide(SHAPE self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5719 Collide(SHAPE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5721 return _pcbnew.SHAPE_Collide(self, *args)
5724 r"""BBox(SHAPE self, int aClearance=0) -> BOX2I"""
5725 return _pcbnew.SHAPE_BBox(self, aClearance)
5728 r"""Centre(SHAPE self) -> VECTOR2I"""
5729 return _pcbnew.SHAPE_Centre(self)
5732 r"""Distance(SHAPE self, VECTOR2I aP) -> int"""
5733 return _pcbnew.SHAPE_Distance(self, aP)
5736 r"""SquaredDistance(SHAPE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
5737 return _pcbnew.SHAPE_SquaredDistance(self, aP, aOutlineOnly)
5740 r"""PointInside(SHAPE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
5741 return _pcbnew.SHAPE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
5744 r"""TransformToPolygon(SHAPE self, SHAPE_POLY_SET aBuffer, int aError, ERROR_LOC aErrorLoc)"""
5745 return _pcbnew.SHAPE_TransformToPolygon(self, aBuffer, aError, aErrorLoc)
5748 r"""Rotate(SHAPE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
5749 return _pcbnew.SHAPE_Rotate(self, *args)
5752 r"""Move(SHAPE self, VECTOR2I aVector)"""
5753 return _pcbnew.SHAPE_Move(self, aVector)
5756 r"""IsSolid(SHAPE self) -> bool"""
5757 return _pcbnew.SHAPE_IsSolid(self)
5760 r"""Parse(SHAPE self, std::stringstream & aStream) -> bool"""
5761 return _pcbnew.SHAPE_Parse(self, aStream)
5764 r"""Format(SHAPE self, bool aCplusPlus=True) -> string"""
5765 return _pcbnew.SHAPE_Format(self, aCplusPlus)
5770 if shape_type ==
"SH_ARC":
5772 elif shape_type ==
"SH_CIRCLE":
5774 elif shape_type ==
"SH_COMPOUND":
5776 elif shape_type ==
"SH_LINE_CHAIN":
5778 elif shape_type ==
"SH_POLY_SET":
5780 elif shape_type ==
"SH_RECT":
5782 elif shape_type ==
"SH_SEGMENT":
5784 elif shape_type ==
"SH_SIMPLE":
5787 raise TypeError(
"Unsupported shape class: %s" % shape_type)
5791_pcbnew.SHAPE_swigregister(SHAPE)
5793 r"""Proxy of C++ SHAPE_LINE_CHAIN_BASE class."""
5795 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5798 raise AttributeError(
"No constructor defined - class is abstract")
5799 __repr__ = _swig_repr
5800 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN_BASE
5804 Collide(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
5805 Collide(SHAPE_LINE_CHAIN_BASE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5807 return _pcbnew.SHAPE_LINE_CHAIN_BASE_Collide(self, *args)
5810 r"""SquaredDistance(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
5811 return _pcbnew.SHAPE_LINE_CHAIN_BASE_SquaredDistance(self, aP, aOutlineOnly)
5814 r"""PointInside(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
5815 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
5818 r"""PointOnEdge(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> bool"""
5819 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointOnEdge(self, aP, aAccuracy)
5822 r"""EdgeContainingPoint(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> int"""
5823 return _pcbnew.SHAPE_LINE_CHAIN_BASE_EdgeContainingPoint(self, aP, aAccuracy)
5826 r"""GetPoint(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> VECTOR2I"""
5827 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPoint(self, aIndex)
5830 r"""GetSegment(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> SEG"""
5831 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegment(self, aIndex)
5834 r"""GetPointCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
5835 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPointCount(self)
5838 r"""GetSegmentCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
5839 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegmentCount(self)
5842 r"""IsClosed(SHAPE_LINE_CHAIN_BASE self) -> bool"""
5843 return _pcbnew.SHAPE_LINE_CHAIN_BASE_IsClosed(self)
5846 r"""GetCachedBBox(SHAPE_LINE_CHAIN_BASE self) -> BOX2I"""
5847 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetCachedBBox(self)
5850_pcbnew.SHAPE_LINE_CHAIN_BASE_swigregister(SHAPE_LINE_CHAIN_BASE)
5852 r"""Proxy of C++ SHAPE_ARC class."""
5854 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5857 raise AttributeError(
"No constructor defined - class is abstract")
5858 __repr__ = _swig_repr
5859 __swig_destroy__ = _pcbnew.delete_SHAPE_ARC
5862 r"""ConstructFromStartEndAngle(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, EDA_ANGLE aAngle, double aWidth=0) -> SHAPE_ARC"""
5863 return _pcbnew.SHAPE_ARC_ConstructFromStartEndAngle(self, aStart, aEnd, aAngle, aWidth)
5866 r"""ConstructFromStartEndCenter(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, VECTOR2I aCenter, bool aClockwise=False, double aWidth=0) -> SHAPE_ARC"""
5867 return _pcbnew.SHAPE_ARC_ConstructFromStartEndCenter(self, aStart, aEnd, aCenter, aClockwise, aWidth)
5870 r"""GetP0(SHAPE_ARC self) -> VECTOR2I"""
5871 return _pcbnew.SHAPE_ARC_GetP0(self)
5874 r"""GetP1(SHAPE_ARC self) -> VECTOR2I"""
5875 return _pcbnew.SHAPE_ARC_GetP1(self)
5878 r"""GetArcMid(SHAPE_ARC self) -> VECTOR2I"""
5879 return _pcbnew.SHAPE_ARC_GetArcMid(self)
5882 r"""GetCenter(SHAPE_ARC self) -> VECTOR2I"""
5883 return _pcbnew.SHAPE_ARC_GetCenter(self)
5886 r"""BBox(SHAPE_ARC self, int aClearance=0) -> BOX2I"""
5887 return _pcbnew.SHAPE_ARC_BBox(self, aClearance)
5890 r"""NearestPoint(SHAPE_ARC self, VECTOR2I aP) -> VECTOR2I"""
5891 return _pcbnew.SHAPE_ARC_NearestPoint(self, aP)
5895 Collide(SHAPE_ARC self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
5896 Collide(SHAPE_ARC self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5897 Collide(SHAPE_ARC self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5899 return _pcbnew.SHAPE_ARC_Collide(self, *args)
5902 r"""IntersectLine(SHAPE_ARC self, SEG aSeg, VECTOR_VECTOR2I aIpsBuffer) -> int"""
5903 return _pcbnew.SHAPE_ARC_IntersectLine(self, aSeg, aIpsBuffer)
5907 Intersect(SHAPE_ARC self, CIRCLE const & aArc, VECTOR_VECTOR2I aIpsBuffer) -> int
5908 Intersect(SHAPE_ARC self, SHAPE_ARC aArc, VECTOR_VECTOR2I aIpsBuffer) -> int
5910 return _pcbnew.SHAPE_ARC_Intersect(self, *args)
5913 r"""SetWidth(SHAPE_ARC self, int aWidth)"""
5914 return _pcbnew.SHAPE_ARC_SetWidth(self, aWidth)
5917 r"""GetWidth(SHAPE_ARC self) -> int"""
5918 return _pcbnew.SHAPE_ARC_GetWidth(self)
5922 Mirror(SHAPE_ARC self, VECTOR2I aRef, FLIP_DIRECTION aFlipDirection)
5923 Mirror(SHAPE_ARC self, SEG axis)
5925 return _pcbnew.SHAPE_ARC_Mirror(self, *args)
5928 r"""Reverse(SHAPE_ARC self)"""
5929 return _pcbnew.SHAPE_ARC_Reverse(self)
5932 r"""Reversed(SHAPE_ARC self) -> SHAPE_ARC"""
5933 return _pcbnew.SHAPE_ARC_Reversed(self)
5936 r"""GetRadius(SHAPE_ARC self) -> double"""
5937 return _pcbnew.SHAPE_ARC_GetRadius(self)
5940 r"""GetChord(SHAPE_ARC self) -> SEG"""
5941 return _pcbnew.SHAPE_ARC_GetChord(self)
5944 r"""GetCentralAngle(SHAPE_ARC self) -> EDA_ANGLE"""
5945 return _pcbnew.SHAPE_ARC_GetCentralAngle(self)
5948 r"""GetStartAngle(SHAPE_ARC self) -> EDA_ANGLE"""
5949 return _pcbnew.SHAPE_ARC_GetStartAngle(self)
5952 r"""GetEndAngle(SHAPE_ARC self) -> EDA_ANGLE"""
5953 return _pcbnew.SHAPE_ARC_GetEndAngle(self)
5956 r"""GetLength(SHAPE_ARC self) -> double"""
5957 return _pcbnew.SHAPE_ARC_GetLength(self)
5961 r"""DefaultAccuracyForPCB() -> double"""
5962 return _pcbnew.SHAPE_ARC_DefaultAccuracyForPCB()
5965 r"""ConvertToPolyline(SHAPE_ARC self, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB(), double * aEffectiveAccuracy=None) -> SHAPE_LINE_CHAIN"""
5966 return _pcbnew.SHAPE_ARC_ConvertToPolyline(self, *args)
5969 r"""__eq__(SHAPE_ARC self, SHAPE_ARC aArc) -> bool"""
5970 return _pcbnew.SHAPE_ARC___eq__(self, aArc)
5973 r"""IsCCW(SHAPE_ARC self) -> bool"""
5974 return _pcbnew.SHAPE_ARC_IsCCW(self)
5977 r"""IsClockwise(SHAPE_ARC self) -> bool"""
5978 return _pcbnew.SHAPE_ARC_IsClockwise(self)
5981_pcbnew.SHAPE_ARC_swigregister(SHAPE_ARC)
5983 r"""Proxy of C++ SHAPE_CIRCLE class."""
5985 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5986 __repr__ = _swig_repr
5990 __init__(SHAPE_CIRCLE self) -> SHAPE_CIRCLE
5991 __init__(SHAPE_CIRCLE self, VECTOR2I aCenter, int aRadius) -> SHAPE_CIRCLE
5992 __init__(SHAPE_CIRCLE self, CIRCLE const & aCircle) -> SHAPE_CIRCLE
5993 __init__(SHAPE_CIRCLE self, SHAPE_CIRCLE aOther) -> SHAPE_CIRCLE
5995 _pcbnew.SHAPE_CIRCLE_swiginit(self, _pcbnew.new_SHAPE_CIRCLE(*args))
5996 __swig_destroy__ = _pcbnew.delete_SHAPE_CIRCLE
5999 r"""BBox(SHAPE_CIRCLE self, int aClearance=0) -> BOX2I"""
6000 return _pcbnew.SHAPE_CIRCLE_BBox(self, aClearance)
6002 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
6003 r"""Collide(SHAPE_CIRCLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
6004 return _pcbnew.SHAPE_CIRCLE_Collide(self, aSeg, aClearance, aActual, aLocation)
6007 r"""SetRadius(SHAPE_CIRCLE self, int aRadius)"""
6008 return _pcbnew.SHAPE_CIRCLE_SetRadius(self, aRadius)
6011 r"""SetCenter(SHAPE_CIRCLE self, VECTOR2I aCenter)"""
6012 return _pcbnew.SHAPE_CIRCLE_SetCenter(self, aCenter)
6015 r"""GetRadius(SHAPE_CIRCLE self) -> int"""
6016 return _pcbnew.SHAPE_CIRCLE_GetRadius(self)
6019 r"""GetCenter(SHAPE_CIRCLE self) -> VECTOR2I"""
6020 return _pcbnew.SHAPE_CIRCLE_GetCenter(self)
6023 r"""GetCircle(SHAPE_CIRCLE self) -> CIRCLE const"""
6024 return _pcbnew.SHAPE_CIRCLE_GetCircle(self)
6027 r"""Rotate(SHAPE_CIRCLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6028 return _pcbnew.SHAPE_CIRCLE_Rotate(self, *args)
6031 r"""Format(SHAPE_CIRCLE self, bool aCplusPlus=True) -> string"""
6032 return _pcbnew.SHAPE_CIRCLE_Format(self, aCplusPlus)
6035_pcbnew.SHAPE_CIRCLE_swigregister(SHAPE_CIRCLE)
6037 r"""Proxy of C++ SHAPE_COMPOUND class."""
6039 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6040 __repr__ = _swig_repr
6044 __init__(SHAPE_COMPOUND self) -> SHAPE_COMPOUND
6045 __init__(SHAPE_COMPOUND self, std::vector< SHAPE *,std::allocator< SHAPE * > > const & aShapes) -> SHAPE_COMPOUND
6046 __init__(SHAPE_COMPOUND self, SHAPE_COMPOUND aOther) -> SHAPE_COMPOUND
6048 _pcbnew.SHAPE_COMPOUND_swiginit(self, _pcbnew.new_SHAPE_COMPOUND(*args))
6049 __swig_destroy__ = _pcbnew.delete_SHAPE_COMPOUND
6052 r"""Clone(SHAPE_COMPOUND self) -> SHAPE_COMPOUND"""
6053 return _pcbnew.SHAPE_COMPOUND_Clone(self)
6056 r"""Format(SHAPE_COMPOUND self, bool aCplusPlus=True) -> string"""
6057 return _pcbnew.SHAPE_COMPOUND_Format(self, aCplusPlus)
6061 Collide(SHAPE_COMPOUND self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6062 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
6063 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6065 return _pcbnew.SHAPE_COMPOUND_Collide(self, *args)
6068 r"""Shapes(SHAPE_COMPOUND self) -> std::vector< SHAPE *,std::allocator< SHAPE * > > const &"""
6069 return _pcbnew.SHAPE_COMPOUND_Shapes(self)
6072 r"""BBox(SHAPE_COMPOUND self, int aClearance=0) -> BOX2I"""
6073 return _pcbnew.SHAPE_COMPOUND_BBox(self, aClearance)
6077 Distance(SHAPE_COMPOUND self, VECTOR2I aP) -> int
6078 Distance(SHAPE_COMPOUND self, SEG aSeg) -> int
6080 return _pcbnew.SHAPE_COMPOUND_Distance(self, *args)
6084 AddShape(SHAPE_COMPOUND self, SHAPE aShape)
6085 AddShape(SHAPE_COMPOUND self, std::shared_ptr< SHAPE > aShape)
6087 return _pcbnew.SHAPE_COMPOUND_AddShape(self, *args)
6090 r"""Empty(SHAPE_COMPOUND self) -> bool"""
6091 return _pcbnew.SHAPE_COMPOUND_Empty(self)
6094 r"""Size(SHAPE_COMPOUND self) -> int"""
6095 return _pcbnew.SHAPE_COMPOUND_Size(self)
6098 r"""Rotate(SHAPE_COMPOUND self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6099 return _pcbnew.SHAPE_COMPOUND_Rotate(self, *args)
6102 r"""UniqueSubshape(SHAPE_COMPOUND self) -> SHAPE"""
6103 return _pcbnew.SHAPE_COMPOUND_UniqueSubshape(self)
6106 r"""GetSubshapes(SHAPE_COMPOUND self) -> VECTOR_SHAPEPTR"""
6107 return _pcbnew.SHAPE_COMPOUND_GetSubshapes(self)
6110_pcbnew.SHAPE_COMPOUND_swigregister(SHAPE_COMPOUND)
6112 r"""Proxy of C++ CLIPPER_Z_VALUE class."""
6114 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6115 __repr__ = _swig_repr
6119 __init__(CLIPPER_Z_VALUE self) -> CLIPPER_Z_VALUE
6120 __init__(CLIPPER_Z_VALUE self, std::pair< ssize_t,ssize_t > const aShapeIndices, ssize_t aOffset=0) -> CLIPPER_Z_VALUE
6122 _pcbnew.CLIPPER_Z_VALUE_swiginit(self, _pcbnew.new_CLIPPER_Z_VALUE(*args))
6123 m_FirstArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_set, doc=r"""m_FirstArcIdx : ssize_t""")
6124 m_SecondArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_set, doc=
r"""m_SecondArcIdx : ssize_t""")
6125 __swig_destroy__ = _pcbnew.delete_CLIPPER_Z_VALUE
6128_pcbnew.CLIPPER_Z_VALUE_swigregister(CLIPPER_Z_VALUE)
6130 r"""Proxy of C++ SHAPE_LINE_CHAIN class."""
6132 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6133 __repr__ = _swig_repr
6137 __init__(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN
6138 __init__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aShape) -> SHAPE_LINE_CHAIN
6139 __init__(SHAPE_LINE_CHAIN self, intVector aV) -> SHAPE_LINE_CHAIN
6140 __init__(SHAPE_LINE_CHAIN self, VECTOR_VECTOR2I aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
6141 __init__(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, bool aClosed=
False) -> SHAPE_LINE_CHAIN
6142 __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
6144 _pcbnew.SHAPE_LINE_CHAIN_swiginit(self, _pcbnew.new_SHAPE_LINE_CHAIN(*args))
6145 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN
6149 Collide(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6150 Collide(SHAPE_LINE_CHAIN self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6152 return _pcbnew.SHAPE_LINE_CHAIN_Collide(self, *args)
6157 ClosestPoints(SHAPE_LINE_CHAIN aOther, VECTOR2I aPt0, VECTOR2I aPt1) -> bool
6158 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
6160 return _pcbnew.SHAPE_LINE_CHAIN_ClosestPoints(*args)
6163 def ClosestSegments(aMyPrevPt, aMyStart, aMyEnd, aOtherPrevPt, aOtherStart, aOtherEnd, aPt0, aPt1, aDistSq):
6164 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"""
6165 return _pcbnew.SHAPE_LINE_CHAIN_ClosestSegments(aMyPrevPt, aMyStart, aMyEnd, aOtherPrevPt, aOtherStart, aOtherEnd, aPt0, aPt1, aDistSq)
6168 r"""ClosestSegmentsFast(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther, VECTOR2I aPt0, VECTOR2I aPt1) -> bool"""
6169 return _pcbnew.SHAPE_LINE_CHAIN_ClosestSegmentsFast(self, aOther, aPt0, aPt1)
6172 r"""Clear(SHAPE_LINE_CHAIN self)"""
6173 return _pcbnew.SHAPE_LINE_CHAIN_Clear(self)
6176 r"""SetClosed(SHAPE_LINE_CHAIN self, bool aClosed)"""
6177 return _pcbnew.SHAPE_LINE_CHAIN_SetClosed(self, aClosed)
6180 r"""SetWidth(SHAPE_LINE_CHAIN self, int aWidth)"""
6181 return _pcbnew.SHAPE_LINE_CHAIN_SetWidth(self, aWidth)
6184 r"""Width(SHAPE_LINE_CHAIN self) -> int"""
6185 return _pcbnew.SHAPE_LINE_CHAIN_Width(self)
6188 r"""SegmentCount(SHAPE_LINE_CHAIN self) -> int"""
6189 return _pcbnew.SHAPE_LINE_CHAIN_SegmentCount(self)
6192 r"""ShapeCount(SHAPE_LINE_CHAIN self) -> int"""
6193 return _pcbnew.SHAPE_LINE_CHAIN_ShapeCount(self)
6196 r"""RemoveDuplicatePoints(SHAPE_LINE_CHAIN self)"""
6197 return _pcbnew.SHAPE_LINE_CHAIN_RemoveDuplicatePoints(self)
6200 r"""Simplify(SHAPE_LINE_CHAIN self, int aMaxError=0)"""
6201 return _pcbnew.SHAPE_LINE_CHAIN_Simplify(self, aMaxError)
6204 r"""Simplify2(SHAPE_LINE_CHAIN self, bool aRemoveColinear=True) -> SHAPE_LINE_CHAIN"""
6205 return _pcbnew.SHAPE_LINE_CHAIN_Simplify2(self, aRemoveColinear)
6208 r"""PointCount(SHAPE_LINE_CHAIN self) -> int"""
6209 return _pcbnew.SHAPE_LINE_CHAIN_PointCount(self)
6212 r"""Segment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6213 return _pcbnew.SHAPE_LINE_CHAIN_Segment(self, aIndex)
6216 r"""CSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6217 return _pcbnew.SHAPE_LINE_CHAIN_CSegment(self, aIndex)
6220 r"""NextShape(SHAPE_LINE_CHAIN self, int aPointIndex) -> int"""
6221 return _pcbnew.SHAPE_LINE_CHAIN_NextShape(self, aPointIndex)
6224 r"""SetPoint(SHAPE_LINE_CHAIN self, int aIndex, VECTOR2I aPos)"""
6225 return _pcbnew.SHAPE_LINE_CHAIN_SetPoint(self, aIndex, aPos)
6228 r"""CPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I"""
6229 return _pcbnew.SHAPE_LINE_CHAIN_CPoint(self, aIndex)
6232 r"""CPoints(SHAPE_LINE_CHAIN self) -> VECTOR_VECTOR2I"""
6233 return _pcbnew.SHAPE_LINE_CHAIN_CPoints(self)
6236 r"""CLastPoint(SHAPE_LINE_CHAIN self) -> VECTOR2I"""
6237 return _pcbnew.SHAPE_LINE_CHAIN_CLastPoint(self)
6240 r"""CArcs(SHAPE_LINE_CHAIN self) -> std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &"""
6241 return _pcbnew.SHAPE_LINE_CHAIN_CArcs(self)
6244 r"""CShapes(SHAPE_LINE_CHAIN self) -> std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &"""
6245 return _pcbnew.SHAPE_LINE_CHAIN_CShapes(self)
6248 r"""BBox(SHAPE_LINE_CHAIN self, int aClearance=0) -> BOX2I"""
6249 return _pcbnew.SHAPE_LINE_CHAIN_BBox(self, aClearance)
6252 r"""GenerateBBoxCache(SHAPE_LINE_CHAIN self)"""
6253 return _pcbnew.SHAPE_LINE_CHAIN_GenerateBBoxCache(self)
6256 r"""Reverse(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN"""
6257 return _pcbnew.SHAPE_LINE_CHAIN_Reverse(self)
6260 r"""ClearArcs(SHAPE_LINE_CHAIN self)"""
6261 return _pcbnew.SHAPE_LINE_CHAIN_ClearArcs(self)
6264 r"""Length(SHAPE_LINE_CHAIN self) -> long long"""
6265 return _pcbnew.SHAPE_LINE_CHAIN_Length(self)
6268 r"""ReservePoints(SHAPE_LINE_CHAIN self, size_t aSize)"""
6269 return _pcbnew.SHAPE_LINE_CHAIN_ReservePoints(self, aSize)
6273 Append(SHAPE_LINE_CHAIN self, int aX, int aY, bool aAllowDuplication=False)
6274 Append(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowDuplication=
False)
6275 Append(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOtherLine)
6276 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc)
6277 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, double aAccuracy)
6279 return _pcbnew.SHAPE_LINE_CHAIN_Append(self, *args)
6283 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, VECTOR2I aP)
6284 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, SHAPE_ARC aArc)
6286 return _pcbnew.SHAPE_LINE_CHAIN_Insert(self, *args)
6290 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, VECTOR2I aP)
6291 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, SHAPE_LINE_CHAIN aLine)
6293 return _pcbnew.SHAPE_LINE_CHAIN_Replace(self, *args)
6297 Remove(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex)
6298 Remove(SHAPE_LINE_CHAIN self, int aIndex)
6300 return _pcbnew.SHAPE_LINE_CHAIN_Remove(self, *args)
6303 r"""RemoveShape(SHAPE_LINE_CHAIN self, int aPointIndex)"""
6304 return _pcbnew.SHAPE_LINE_CHAIN_RemoveShape(self, aPointIndex)
6307 r"""Find(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=0) -> int"""
6308 return _pcbnew.SHAPE_LINE_CHAIN_Find(self, aP, aThreshold)
6311 r"""FindSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=1) -> int"""
6312 return _pcbnew.SHAPE_LINE_CHAIN_FindSegment(self, aP, aThreshold)
6314 def Slice(self, aStartIndex, aEndIndex=-1):
6315 r"""Slice(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex=-1) -> SHAPE_LINE_CHAIN"""
6316 return _pcbnew.SHAPE_LINE_CHAIN_Slice(self, aStartIndex, aEndIndex)
6319 r"""Intersects(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain) -> bool"""
6320 return _pcbnew.SHAPE_LINE_CHAIN_Intersects(self, aChain)
6324 Intersect(SHAPE_LINE_CHAIN self, SEG aSeg, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp) -> int
6325 Intersect(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp, bool aExcludeColinearAndTouching=False, BOX2I aChainBBox=
None) -> int
6327 return _pcbnew.SHAPE_LINE_CHAIN_Intersect(self, *args)
6330 r"""PathLength(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aIndex=-1) -> int"""
6331 return _pcbnew.SHAPE_LINE_CHAIN_PathLength(self, aP, aIndex)
6334 r"""CheckClearance(SHAPE_LINE_CHAIN self, VECTOR2I aP, int const aDist) -> bool"""
6335 return _pcbnew.SHAPE_LINE_CHAIN_CheckClearance(self, aP, aDist)
6338 r"""SelfIntersecting(SHAPE_LINE_CHAIN self) -> std::optional< SHAPE_LINE_CHAIN::INTERSECTION > const"""
6339 return _pcbnew.SHAPE_LINE_CHAIN_SelfIntersecting(self)
6342 r"""SelfIntersectingWithArcs(SHAPE_LINE_CHAIN self) -> std::optional< SHAPE_LINE_CHAIN::INTERSECTION > const"""
6343 return _pcbnew.SHAPE_LINE_CHAIN_SelfIntersectingWithArcs(self)
6346 r"""NearestSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int"""
6347 return _pcbnew.SHAPE_LINE_CHAIN_NearestSegment(self, aP)
6351 NearestPoint(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowInternalShapePoints=True) -> VECTOR2I
6352 NearestPoint(SHAPE_LINE_CHAIN self, SEG aSeg, int & dist) -> VECTOR2I
6354 return _pcbnew.SHAPE_LINE_CHAIN_NearestPoint(self, *args)
6357 r"""Format(SHAPE_LINE_CHAIN self, bool aCplusPlus=True) -> string"""
6358 return _pcbnew.SHAPE_LINE_CHAIN_Format(self, aCplusPlus)
6361 r"""__ne__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aRhs) -> bool"""
6362 return _pcbnew.SHAPE_LINE_CHAIN___ne__(self, aRhs)
6365 r"""CompareGeometry(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther) -> bool"""
6366 return _pcbnew.SHAPE_LINE_CHAIN_CompareGeometry(self, aOther)
6370 Mirror(SHAPE_LINE_CHAIN self, VECTOR2I aRef, FLIP_DIRECTION aFlipDirection)
6371 Mirror(SHAPE_LINE_CHAIN self, SEG axis)
6373 return _pcbnew.SHAPE_LINE_CHAIN_Mirror(self, *args)
6376 r"""Rotate(SHAPE_LINE_CHAIN self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6377 return _pcbnew.SHAPE_LINE_CHAIN_Rotate(self, *args)
6380 r"""PointAlong(SHAPE_LINE_CHAIN self, int aPathLength) -> VECTOR2I"""
6381 return _pcbnew.SHAPE_LINE_CHAIN_PointAlong(self, aPathLength)
6384 r"""Area(SHAPE_LINE_CHAIN self, bool aAbsolute=True) -> double"""
6385 return _pcbnew.SHAPE_LINE_CHAIN_Area(self, aAbsolute)
6389 Split(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aExact=False) -> int
6390 Split(SHAPE_LINE_CHAIN self, VECTOR2I aStart, VECTOR2I aEnd, SHAPE_LINE_CHAIN aPre, SHAPE_LINE_CHAIN aMid, SHAPE_LINE_CHAIN aPost)
6392 return _pcbnew.SHAPE_LINE_CHAIN_Split(self, *args)
6394 def OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify=False):
6395 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"""
6396 return _pcbnew.SHAPE_LINE_CHAIN_OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify)
6399 r"""ArcCount(SHAPE_LINE_CHAIN self) -> size_t"""
6400 return _pcbnew.SHAPE_LINE_CHAIN_ArcCount(self)
6403 r"""ArcIndex(SHAPE_LINE_CHAIN self, size_t aSegment) -> ssize_t"""
6404 return _pcbnew.SHAPE_LINE_CHAIN_ArcIndex(self, aSegment)
6407 r"""Arc(SHAPE_LINE_CHAIN self, size_t aArc) -> SHAPE_ARC"""
6408 return _pcbnew.SHAPE_LINE_CHAIN_Arc(self, aArc)
6411 r"""IsSharedPt(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6412 return _pcbnew.SHAPE_LINE_CHAIN_IsSharedPt(self, aIndex)
6415 r"""IsPtOnArc(SHAPE_LINE_CHAIN self, size_t aPtIndex) -> bool"""
6416 return _pcbnew.SHAPE_LINE_CHAIN_IsPtOnArc(self, aPtIndex)
6419 r"""IsArcSegment(SHAPE_LINE_CHAIN self, size_t aSegment) -> bool"""
6420 return _pcbnew.SHAPE_LINE_CHAIN_IsArcSegment(self, aSegment)
6423 r"""IsArcStart(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6424 return _pcbnew.SHAPE_LINE_CHAIN_IsArcStart(self, aIndex)
6427 r"""IsArcEnd(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6428 return _pcbnew.SHAPE_LINE_CHAIN_IsArcEnd(self, aIndex)
6432 Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int
6433 Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aOutlineOnly) -> int
6435 return _pcbnew.SHAPE_LINE_CHAIN_Distance(self, *args)
6438_pcbnew.SHAPE_LINE_CHAIN_swigregister(SHAPE_LINE_CHAIN)
6440 r"""Proxy of C++ SHAPE_POLY_SET class."""
6442 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6443 __repr__ = _swig_repr
6447 __init__(SHAPE_POLY_SET self) -> SHAPE_POLY_SET
6448 __init__(SHAPE_POLY_SET self, BOX2D const & aRect) -> SHAPE_POLY_SET
6449 __init__(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> SHAPE_POLY_SET
6450 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON const & aPolygon) -> SHAPE_POLY_SET
6451 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET aOther) -> SHAPE_POLY_SET
6453 _pcbnew.SHAPE_POLY_SET_swiginit(self, _pcbnew.new_SHAPE_POLY_SET(*args))
6454 __swig_destroy__ = _pcbnew.delete_SHAPE_POLY_SET
6457 r"""CacheTriangulation(SHAPE_POLY_SET self, bool aPartition=True, bool aSimplify=False)"""
6458 return _pcbnew.SHAPE_POLY_SET_CacheTriangulation(self, aPartition, aSimplify)
6461 r"""IsTriangulationUpToDate(SHAPE_POLY_SET self) -> bool"""
6462 return _pcbnew.SHAPE_POLY_SET_IsTriangulationUpToDate(self)
6465 r"""GetHash(SHAPE_POLY_SET self) -> HASH_128"""
6466 return _pcbnew.SHAPE_POLY_SET_GetHash(self)
6469 r"""GetRelativeIndices(SHAPE_POLY_SET self, int aGlobalIdx, SHAPE_POLY_SET::VERTEX_INDEX * aRelativeIndices) -> bool"""
6470 return _pcbnew.SHAPE_POLY_SET_GetRelativeIndices(self, aGlobalIdx, aRelativeIndices)
6473 r"""GetGlobalIndex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices, int & aGlobalIdx) -> bool"""
6474 return _pcbnew.SHAPE_POLY_SET_GetGlobalIndex(self, aRelativeIndices, aGlobalIdx)
6477 r"""CloneDropTriangulation(SHAPE_POLY_SET self) -> SHAPE_POLY_SET"""
6478 return _pcbnew.SHAPE_POLY_SET_CloneDropTriangulation(self)
6481 r"""NewOutline(SHAPE_POLY_SET self) -> int"""
6482 return _pcbnew.SHAPE_POLY_SET_NewOutline(self)
6485 r"""NewHole(SHAPE_POLY_SET self, int aOutline=-1) -> int"""
6486 return _pcbnew.SHAPE_POLY_SET_NewHole(self, aOutline)
6489 r"""AddOutline(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> int"""
6490 return _pcbnew.SHAPE_POLY_SET_AddOutline(self, aOutline)
6493 r"""AddHole(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aHole, int aOutline=-1) -> int"""
6494 return _pcbnew.SHAPE_POLY_SET_AddHole(self, aHole, aOutline)
6497 r"""AddPolygon(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON const & apolygon) -> int"""
6498 return _pcbnew.SHAPE_POLY_SET_AddPolygon(self, apolygon)
6501 r"""Area(SHAPE_POLY_SET self) -> double"""
6502 return _pcbnew.SHAPE_POLY_SET_Area(self)
6505 r"""ArcCount(SHAPE_POLY_SET self) -> int"""
6506 return _pcbnew.SHAPE_POLY_SET_ArcCount(self)
6509 r"""GetArcs(SHAPE_POLY_SET self, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > & aArcBuffer)"""
6510 return _pcbnew.SHAPE_POLY_SET_GetArcs(self, aArcBuffer)
6513 r"""ClearArcs(SHAPE_POLY_SET self)"""
6514 return _pcbnew.SHAPE_POLY_SET_ClearArcs(self)
6518 Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1, int aHole=-1, bool aAllowDuplication=False) -> int
6519 Append(SHAPE_POLY_SET self, SHAPE_POLY_SET aSet)
6520 Append(SHAPE_POLY_SET self, VECTOR2I aP, int aOutline=-1, int aHole=-1)
6521 Append(SHAPE_POLY_SET self, SHAPE_ARC aArc, int aOutline=-1, int aHole=-1, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB()) -> int
6523 return _pcbnew.SHAPE_POLY_SET_Append(self, *args)
6526 r"""InsertVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aNewVertex)"""
6527 return _pcbnew.SHAPE_POLY_SET_InsertVertex(self, aGlobalIndex, aNewVertex)
6531 CVertex(SHAPE_POLY_SET self, int aIndex, int aOutline, int aHole) -> VECTOR2I
6532 CVertex(SHAPE_POLY_SET self, int aGlobalIndex) -> VECTOR2I
6533 CVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aIndex) -> VECTOR2I
6535 return _pcbnew.SHAPE_POLY_SET_CVertex(self, *args)
6538 r"""GetNeighbourIndexes(SHAPE_POLY_SET self, int aGlobalIndex, int * aPrevious, int * aNext) -> bool"""
6539 return _pcbnew.SHAPE_POLY_SET_GetNeighbourIndexes(self, aGlobalIndex, aPrevious, aNext)
6542 r"""IsPolygonSelfIntersecting(SHAPE_POLY_SET self, int aPolygonIndex) -> bool"""
6543 return _pcbnew.SHAPE_POLY_SET_IsPolygonSelfIntersecting(self, aPolygonIndex)
6546 r"""IsSelfIntersecting(SHAPE_POLY_SET self) -> bool"""
6547 return _pcbnew.SHAPE_POLY_SET_IsSelfIntersecting(self)
6550 r"""TriangulatedPolyCount(SHAPE_POLY_SET self) -> unsigned int"""
6551 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolyCount(self)
6554 r"""OutlineCount(SHAPE_POLY_SET self) -> int"""
6555 return _pcbnew.SHAPE_POLY_SET_OutlineCount(self)
6558 r"""VertexCount(SHAPE_POLY_SET self, int aOutline=-1, int aHole=-1) -> int"""
6559 return _pcbnew.SHAPE_POLY_SET_VertexCount(self, aOutline, aHole)
6562 r"""FullPointCount(SHAPE_POLY_SET self) -> int"""
6563 return _pcbnew.SHAPE_POLY_SET_FullPointCount(self)
6566 r"""HoleCount(SHAPE_POLY_SET self, int aOutline) -> int"""
6567 return _pcbnew.SHAPE_POLY_SET_HoleCount(self, aOutline)
6571 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6572 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6574 return _pcbnew.SHAPE_POLY_SET_Outline(self, *args)
6576 def Subset(self, aFirstPolygon, aLastPolygon):
6577 r"""Subset(SHAPE_POLY_SET self, int aFirstPolygon, int aLastPolygon) -> SHAPE_POLY_SET"""
6578 return _pcbnew.SHAPE_POLY_SET_Subset(self, aFirstPolygon, aLastPolygon)
6581 r"""UnitSet(SHAPE_POLY_SET self, int aPolygonIndex) -> SHAPE_POLY_SET"""
6582 return _pcbnew.SHAPE_POLY_SET_UnitSet(self, aPolygonIndex)
6585 r"""Hole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6586 return _pcbnew.SHAPE_POLY_SET_Hole(self, aOutline, aHole)
6590 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON
6591 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &
6593 return _pcbnew.SHAPE_POLY_SET_Polygon(self, *args)
6596 r"""TriangulatedPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::TRIANGULATED_POLYGON const *"""
6597 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolygon(self, aIndex)
6600 r"""COutline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN"""
6601 return _pcbnew.SHAPE_POLY_SET_COutline(self, aIndex)
6604 r"""CHole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6605 return _pcbnew.SHAPE_POLY_SET_CHole(self, aOutline, aHole)
6608 r"""CPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &"""
6609 return _pcbnew.SHAPE_POLY_SET_CPolygon(self, aIndex)
6612 r"""CPolygons(SHAPE_POLY_SET self) -> std::vector< SHAPE_POLY_SET::POLYGON,std::allocator< SHAPE_POLY_SET::POLYGON > > const &"""
6613 return _pcbnew.SHAPE_POLY_SET_CPolygons(self)
6617 Iterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::ITERATOR
6618 Iterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6619 Iterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR
6621 return _pcbnew.SHAPE_POLY_SET_Iterate(self, *args)
6625 IterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6628 return _pcbnew.SHAPE_POLY_SET_IterateWithHoles(self, *args)
6632 CIterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_ITERATOR
6633 CIterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
6634 CIterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR
6636 return _pcbnew.SHAPE_POLY_SET_CIterate(self, *args)
6640 CIterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
6643 return _pcbnew.SHAPE_POLY_SET_CIterateWithHoles(self, *args)
6646 r"""IterateFromVertexWithHoles(SHAPE_POLY_SET self, int aGlobalIdx) -> SHAPE_POLY_SET::ITERATOR"""
6647 return _pcbnew.SHAPE_POLY_SET_IterateFromVertexWithHoles(self, aGlobalIdx)
6651 IterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
6652 IterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
6653 IterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
6655 return _pcbnew.SHAPE_POLY_SET_IterateSegments(self, *args)
6659 CIterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
6660 CIterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
6661 CIterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
6663 return _pcbnew.SHAPE_POLY_SET_CIterateSegments(self, *args)
6670 return _pcbnew.SHAPE_POLY_SET_IterateSegmentsWithHoles(self, *args)
6677 return _pcbnew.SHAPE_POLY_SET_CIterateSegmentsWithHoles(self, *args)
6681 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET b)
6682 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b)
6684 return _pcbnew.SHAPE_POLY_SET_BooleanAdd(self, *args)
6689 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b)
6691 return _pcbnew.SHAPE_POLY_SET_BooleanSubtract(self, *args)
6698 return _pcbnew.SHAPE_POLY_SET_BooleanIntersection(self, *args)
6702 BooleanXor(SHAPE_POLY_SET self, SHAPE_POLY_SET b)
6703 BooleanXor(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b)
6705 return _pcbnew.SHAPE_POLY_SET_BooleanXor(self, *args)
6708 r"""RebuildHolesFromContours(SHAPE_POLY_SET self)"""
6709 return _pcbnew.SHAPE_POLY_SET_RebuildHolesFromContours(self)
6711 def Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify=False):
6712 r"""Inflate(SHAPE_POLY_SET self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, bool aSimplify=False)"""
6713 return _pcbnew.SHAPE_POLY_SET_Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify)
6715 def Deflate(self, aAmount, aCornerStrategy, aMaxError):
6716 r"""Deflate(SHAPE_POLY_SET self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError)"""
6717 return _pcbnew.SHAPE_POLY_SET_Deflate(self, aAmount, aCornerStrategy, aMaxError)
6720 r"""OffsetLineChain(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aLine, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, bool aSimplify)"""
6721 return _pcbnew.SHAPE_POLY_SET_OffsetLineChain(self, aLine, aAmount, aCornerStrategy, aMaxError, aSimplify)
6724 r"""InflateWithLinkedHoles(SHAPE_POLY_SET self, int aFactor, CORNER_STRATEGY aCornerStrategy, int aMaxError)"""
6725 return _pcbnew.SHAPE_POLY_SET_InflateWithLinkedHoles(self, aFactor, aCornerStrategy, aMaxError)
6728 r"""Fracture(SHAPE_POLY_SET self)"""
6729 return _pcbnew.SHAPE_POLY_SET_Fracture(self)
6732 r"""Unfracture(SHAPE_POLY_SET self)"""
6733 return _pcbnew.SHAPE_POLY_SET_Unfracture(self)
6736 r"""HasHoles(SHAPE_POLY_SET self) -> bool"""
6737 return _pcbnew.SHAPE_POLY_SET_HasHoles(self)
6740 r"""HasTouchingHoles(SHAPE_POLY_SET self) -> bool"""
6741 return _pcbnew.SHAPE_POLY_SET_HasTouchingHoles(self)
6744 r"""Simplify(SHAPE_POLY_SET self)"""
6745 return _pcbnew.SHAPE_POLY_SET_Simplify(self)
6748 r"""SimplifyOutlines(SHAPE_POLY_SET self, int aMaxError=0)"""
6749 return _pcbnew.SHAPE_POLY_SET_SimplifyOutlines(self, aMaxError)
6752 r"""NormalizeAreaOutlines(SHAPE_POLY_SET self) -> int"""
6753 return _pcbnew.SHAPE_POLY_SET_NormalizeAreaOutlines(self)
6756 r"""Format(SHAPE_POLY_SET self, bool aCplusPlus=True) -> string"""
6757 return _pcbnew.SHAPE_POLY_SET_Format(self, aCplusPlus)
6760 r"""Mirror(SHAPE_POLY_SET self, VECTOR2I aRef, FLIP_DIRECTION aFlipDirection)"""
6761 return _pcbnew.SHAPE_POLY_SET_Mirror(self, aRef, aFlipDirection)
6764 r"""Rotate(SHAPE_POLY_SET self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6765 return _pcbnew.SHAPE_POLY_SET_Rotate(self, *args)
6768 r"""BBox(SHAPE_POLY_SET self, int aClearance=0) -> BOX2I"""
6769 return _pcbnew.SHAPE_POLY_SET_BBox(self, aClearance)
6772 r"""PointOnEdge(SHAPE_POLY_SET self, VECTOR2I aP, int aAccuracy=0) -> bool"""
6773 return _pcbnew.SHAPE_POLY_SET_PointOnEdge(self, aP, aAccuracy)
6777 Collide(SHAPE_POLY_SET self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6778 Collide(SHAPE_POLY_SET self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6779 Collide(SHAPE_POLY_SET self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6781 return _pcbnew.SHAPE_POLY_SET_Collide(self, *args)
6784 r"""CollideVertex(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
6785 return _pcbnew.SHAPE_POLY_SET_CollideVertex(self, aPoint, aClosestVertex, aClearance)
6788 r"""CollideEdge(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
6789 return _pcbnew.SHAPE_POLY_SET_CollideEdge(self, aPoint, aClosestVertex, aClearance)
6792 r"""PointInside(SHAPE_POLY_SET self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
6793 return _pcbnew.SHAPE_POLY_SET_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
6796 r"""BuildBBoxCaches(SHAPE_POLY_SET self)"""
6797 return _pcbnew.SHAPE_POLY_SET_BuildBBoxCaches(self)
6800 r"""BBoxFromCaches(SHAPE_POLY_SET self) -> BOX2I"""
6801 return _pcbnew.SHAPE_POLY_SET_BBoxFromCaches(self)
6803 def Contains(self, aP, aSubpolyIndex=-1, aAccuracy=0, aUseBBoxCaches=False):
6804 r"""Contains(SHAPE_POLY_SET self, VECTOR2I aP, int aSubpolyIndex=-1, int aAccuracy=0, bool aUseBBoxCaches=False) -> bool"""
6805 return _pcbnew.SHAPE_POLY_SET_Contains(self, aP, aSubpolyIndex, aAccuracy, aUseBBoxCaches)
6808 r"""IsEmpty(SHAPE_POLY_SET self) -> bool"""
6809 return _pcbnew.SHAPE_POLY_SET_IsEmpty(self)
6814 RemoveVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices)
6816 return _pcbnew.SHAPE_POLY_SET_RemoveVertex(self, *args)
6819 r"""RemoveAllContours(SHAPE_POLY_SET self)"""
6820 return _pcbnew.SHAPE_POLY_SET_RemoveAllContours(self)
6823 r"""RemoveContour(SHAPE_POLY_SET self, int aContourIdx, int aPolygonIdx=-1)"""
6824 return _pcbnew.SHAPE_POLY_SET_RemoveContour(self, aContourIdx, aPolygonIdx)
6827 r"""RemoveOutline(SHAPE_POLY_SET self, int aOutlineIdx)"""
6828 return _pcbnew.SHAPE_POLY_SET_RemoveOutline(self, aOutlineIdx)
6831 r"""RemoveNullSegments(SHAPE_POLY_SET self) -> int"""
6832 return _pcbnew.SHAPE_POLY_SET_RemoveNullSegments(self)
6836 SetVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX const & aIndex, VECTOR2I aPos)
6837 SetVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aPos)
6839 return _pcbnew.SHAPE_POLY_SET_SetVertex(self, *args)
6842 r"""TotalVertices(SHAPE_POLY_SET self) -> int"""
6843 return _pcbnew.SHAPE_POLY_SET_TotalVertices(self)
6846 r"""DeletePolygon(SHAPE_POLY_SET self, int aIdx)"""
6847 return _pcbnew.SHAPE_POLY_SET_DeletePolygon(self, aIdx)
6850 r"""DeletePolygonAndTriangulationData(SHAPE_POLY_SET self, int aIdx, bool aUpdateHash=True)"""
6851 return _pcbnew.SHAPE_POLY_SET_DeletePolygonAndTriangulationData(self, aIdx, aUpdateHash)
6854 r"""UpdateTriangulationDataHash(SHAPE_POLY_SET self)"""
6855 return _pcbnew.SHAPE_POLY_SET_UpdateTriangulationDataHash(self)
6858 r"""ChamferPolygon(SHAPE_POLY_SET self, unsigned int aDistance, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
6859 return _pcbnew.SHAPE_POLY_SET_ChamferPolygon(self, aDistance, aIndex)
6862 r"""FilletPolygon(SHAPE_POLY_SET self, unsigned int aRadius, int aErrorMax, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
6863 return _pcbnew.SHAPE_POLY_SET_FilletPolygon(self, aRadius, aErrorMax, aIndex)
6866 r"""Chamfer(SHAPE_POLY_SET self, int aDistance) -> SHAPE_POLY_SET"""
6867 return _pcbnew.SHAPE_POLY_SET_Chamfer(self, aDistance)
6870 r"""Fillet(SHAPE_POLY_SET self, int aRadius, int aErrorMax) -> SHAPE_POLY_SET"""
6871 return _pcbnew.SHAPE_POLY_SET_Fillet(self, aRadius, aErrorMax)
6878 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToPolygon(self, *args)
6882 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, bool aOutlineOnly, VECTOR2I aNearest) -> SEG::ecoord
6883 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, bool aOutlineOnly=False) -> SEG::ecoord
6885 return _pcbnew.SHAPE_POLY_SET_SquaredDistance(self, *args)
6888 r"""SquaredDistanceToSeg(SHAPE_POLY_SET self, SEG aSegment, VECTOR2I aNearest=None) -> SEG::ecoord"""
6889 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToSeg(self, aSegment, aNearest)
6892 r"""IsVertexInHole(SHAPE_POLY_SET self, int aGlobalIdx) -> bool"""
6893 return _pcbnew.SHAPE_POLY_SET_IsVertexInHole(self, aGlobalIdx)
6896 r"""BuildPolysetFromOrientedPaths(SHAPE_POLY_SET self, std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const & aPaths, bool aEvenOdd=False)"""
6897 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(self, aPaths, aEvenOdd)
6900_pcbnew.SHAPE_POLY_SET_swigregister(SHAPE_POLY_SET)
6902 r"""Proxy of C++ SHAPE_RECT class."""
6904 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6905 __repr__ = _swig_repr
6909 __init__(SHAPE_RECT self) -> SHAPE_RECT
6910 __init__(SHAPE_RECT self, BOX2I aBox) -> SHAPE_RECT
6911 __init__(SHAPE_RECT self, int aX0, int aY0, int aW, int aH) -> SHAPE_RECT
6912 __init__(SHAPE_RECT self, VECTOR2I aP0, int aW, int aH) -> SHAPE_RECT
6913 __init__(SHAPE_RECT self, VECTOR2I aP0, VECTOR2I aP1) -> SHAPE_RECT
6914 __init__(SHAPE_RECT self, SHAPE_RECT aOther) -> SHAPE_RECT
6916 _pcbnew.SHAPE_RECT_swiginit(self, _pcbnew.new_SHAPE_RECT(*args))
6919 r"""BBox(SHAPE_RECT self, int aClearance=0) -> BOX2I"""
6920 return _pcbnew.SHAPE_RECT_BBox(self, aClearance)
6923 r"""GetInflated(SHAPE_RECT self, int aOffset) -> SHAPE_RECT"""
6924 return _pcbnew.SHAPE_RECT_GetInflated(self, aOffset)
6927 r"""Diagonal(SHAPE_RECT self) -> int"""
6928 return _pcbnew.SHAPE_RECT_Diagonal(self)
6931 r"""MajorDimension(SHAPE_RECT self) -> int"""
6932 return _pcbnew.SHAPE_RECT_MajorDimension(self)
6935 r"""MinorDimension(SHAPE_RECT self) -> int"""
6936 return _pcbnew.SHAPE_RECT_MinorDimension(self)
6940 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
6941 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6942 Collide(SHAPE_RECT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6944 return _pcbnew.SHAPE_RECT_Collide(self, *args)
6947 r"""GetPosition(SHAPE_RECT self) -> VECTOR2I"""
6948 return _pcbnew.SHAPE_RECT_GetPosition(self)
6951 r"""GetSize(SHAPE_RECT self) -> VECTOR2I"""
6952 return _pcbnew.SHAPE_RECT_GetSize(self)
6955 r"""GetWidth(SHAPE_RECT self) -> int"""
6956 return _pcbnew.SHAPE_RECT_GetWidth(self)
6959 r"""GetHeight(SHAPE_RECT self) -> int"""
6960 return _pcbnew.SHAPE_RECT_GetHeight(self)
6963 r"""Rotate(SHAPE_RECT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6964 return _pcbnew.SHAPE_RECT_Rotate(self, *args)
6967 r"""Outline(SHAPE_RECT self) -> SHAPE_LINE_CHAIN"""
6968 return _pcbnew.SHAPE_RECT_Outline(self)
6971 r"""Format(SHAPE_RECT self, bool aCplusPlus=True) -> string"""
6972 return _pcbnew.SHAPE_RECT_Format(self, aCplusPlus)
6973 __swig_destroy__ = _pcbnew.delete_SHAPE_RECT
6976_pcbnew.SHAPE_RECT_swigregister(SHAPE_RECT)
6978 r"""Proxy of C++ SHAPE_SEGMENT class."""
6980 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6981 __repr__ = _swig_repr
6985 __init__(SHAPE_SEGMENT self) -> SHAPE_SEGMENT
6986 __init__(SHAPE_SEGMENT self, VECTOR2I aA, VECTOR2I aB, int aWidth=0) -> SHAPE_SEGMENT
6987 __init__(SHAPE_SEGMENT self, SEG aSeg, int aWidth=0) -> SHAPE_SEGMENT
6989 _pcbnew.SHAPE_SEGMENT_swiginit(self, _pcbnew.new_SHAPE_SEGMENT(*args))
6990 __swig_destroy__ = _pcbnew.delete_SHAPE_SEGMENT
6993 r"""BBox(SHAPE_SEGMENT self, int aClearance=0) -> BOX2I"""
6994 return _pcbnew.SHAPE_SEGMENT_BBox(self, aClearance)
6998 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
6999 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7000 Collide(SHAPE_SEGMENT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7001 Collide(SHAPE_SEGMENT self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7003 return _pcbnew.SHAPE_SEGMENT_Collide(self, *args)
7006 r"""SetSeg(SHAPE_SEGMENT self, SEG aSeg)"""
7007 return _pcbnew.SHAPE_SEGMENT_SetSeg(self, aSeg)
7010 r"""GetSeg(SHAPE_SEGMENT self) -> SEG"""
7011 return _pcbnew.SHAPE_SEGMENT_GetSeg(self)
7014 r"""SetWidth(SHAPE_SEGMENT self, int aWidth)"""
7015 return _pcbnew.SHAPE_SEGMENT_SetWidth(self, aWidth)
7018 r"""GetWidth(SHAPE_SEGMENT self) -> int"""
7019 return _pcbnew.SHAPE_SEGMENT_GetWidth(self)
7022 r"""Rotate(SHAPE_SEGMENT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7023 return _pcbnew.SHAPE_SEGMENT_Rotate(self, *args)
7026 r"""Is45Degree(SHAPE_SEGMENT self, EDA_ANGLE aTollerance=EDA_ANGLE( 1.0, DEGREES_T )) -> bool"""
7027 return _pcbnew.SHAPE_SEGMENT_Is45Degree(self, *args)
7030 r"""Format(SHAPE_SEGMENT self, bool aCplusPlus=True) -> string"""
7031 return _pcbnew.SHAPE_SEGMENT_Format(self, aCplusPlus)
7034_pcbnew.SHAPE_SEGMENT_swigregister(SHAPE_SEGMENT)
7036 r"""Proxy of C++ SHAPE_SIMPLE class."""
7038 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7039 __repr__ = _swig_repr
7043 __init__(SHAPE_SIMPLE self) -> SHAPE_SIMPLE
7044 __init__(SHAPE_SIMPLE self, SHAPE_LINE_CHAIN aPoly) -> SHAPE_SIMPLE
7045 __init__(SHAPE_SIMPLE self, SHAPE_SIMPLE aOther) -> SHAPE_SIMPLE
7047 _pcbnew.SHAPE_SIMPLE_swiginit(self, _pcbnew.new_SHAPE_SIMPLE(*args))
7050 r"""Clear(SHAPE_SIMPLE self)"""
7051 return _pcbnew.SHAPE_SIMPLE_Clear(self)
7054 r"""BBox(SHAPE_SIMPLE self, int aClearance=0) -> BOX2I"""
7055 return _pcbnew.SHAPE_SIMPLE_BBox(self, aClearance)
7058 r"""PointCount(SHAPE_SIMPLE self) -> int"""
7059 return _pcbnew.SHAPE_SIMPLE_PointCount(self)
7062 r"""CPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2I"""
7063 return _pcbnew.SHAPE_SIMPLE_CPoint(self, aIndex)
7066 r"""CDPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2D const"""
7067 return _pcbnew.SHAPE_SIMPLE_CDPoint(self, aIndex)
7070 r"""Vertices(SHAPE_SIMPLE self) -> SHAPE_LINE_CHAIN"""
7071 return _pcbnew.SHAPE_SIMPLE_Vertices(self)
7075 Append(SHAPE_SIMPLE self, int aX, int aY)
7076 Append(SHAPE_SIMPLE self, VECTOR2I aP)
7078 return _pcbnew.SHAPE_SIMPLE_Append(self, *args)
7080 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
7081 r"""Collide(SHAPE_SIMPLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
7082 return _pcbnew.SHAPE_SIMPLE_Collide(self, aSeg, aClearance, aActual, aLocation)
7085 r"""Rotate(SHAPE_SIMPLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7086 return _pcbnew.SHAPE_SIMPLE_Rotate(self, *args)
7087 __swig_destroy__ = _pcbnew.delete_SHAPE_SIMPLE
7090_pcbnew.SHAPE_SIMPLE_swigregister(SHAPE_SIMPLE)
7091ERROR_OUTSIDE = _pcbnew.ERROR_OUTSIDE
7093ERROR_INSIDE = _pcbnew.ERROR_INSIDE
7096 r"""Proxy of C++ std::vector< std::shared_ptr< SHAPE > > class."""
7098 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7099 __repr__ = _swig_repr
7102 r"""iterator(VECTOR_SHAPEPTR self) -> SwigPyIterator"""
7103 return _pcbnew.VECTOR_SHAPEPTR_iterator(self)
7108 r"""__nonzero__(VECTOR_SHAPEPTR self) -> bool"""
7109 return _pcbnew.VECTOR_SHAPEPTR___nonzero__(self)
7112 r"""__bool__(VECTOR_SHAPEPTR self) -> bool"""
7113 return _pcbnew.VECTOR_SHAPEPTR___bool__(self)
7116 r"""__len__(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7117 return _pcbnew.VECTOR_SHAPEPTR___len__(self)
7120 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"""
7121 return _pcbnew.VECTOR_SHAPEPTR___getslice__(self, i, j)
7125 __setslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)
7126 __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)
7128 return _pcbnew.VECTOR_SHAPEPTR___setslice__(self, *args)
7131 r"""__delslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)"""
7132 return _pcbnew.VECTOR_SHAPEPTR___delslice__(self, i, j)
7136 __delitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i)
7137 __delitem__(VECTOR_SHAPEPTR self, SWIGPY_SLICEOBJECT * slice)
7139 return _pcbnew.VECTOR_SHAPEPTR___delitem__(self, *args)
7143 __getitem__(VECTOR_SHAPEPTR self, SWIGPY_SLICEOBJECT * slice) -> VECTOR_SHAPEPTR
7144 __getitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &
7146 return _pcbnew.VECTOR_SHAPEPTR___getitem__(self, *args)
7150 __setitem__(VECTOR_SHAPEPTR self, SWIGPY_SLICEOBJECT * slice, VECTOR_SHAPEPTR v)
7151 __setitem__(VECTOR_SHAPEPTR self, SWIGPY_SLICEOBJECT * slice)
7152 __setitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7154 return _pcbnew.VECTOR_SHAPEPTR___setitem__(self, *args)
7157 r"""pop(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type"""
7158 return _pcbnew.VECTOR_SHAPEPTR_pop(self)
7161 r"""append(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7162 return _pcbnew.VECTOR_SHAPEPTR_append(self, x)
7165 r"""empty(VECTOR_SHAPEPTR self) -> bool"""
7166 return _pcbnew.VECTOR_SHAPEPTR_empty(self)
7169 r"""size(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7170 return _pcbnew.VECTOR_SHAPEPTR_size(self)
7173 r"""swap(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR v)"""
7174 return _pcbnew.VECTOR_SHAPEPTR_swap(self, v)
7177 r"""begin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7178 return _pcbnew.VECTOR_SHAPEPTR_begin(self)
7181 r"""end(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7182 return _pcbnew.VECTOR_SHAPEPTR_end(self)
7185 r"""rbegin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7186 return _pcbnew.VECTOR_SHAPEPTR_rbegin(self)
7189 r"""rend(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7190 return _pcbnew.VECTOR_SHAPEPTR_rend(self)
7193 r"""clear(VECTOR_SHAPEPTR self)"""
7194 return _pcbnew.VECTOR_SHAPEPTR_clear(self)
7197 r"""get_allocator(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::allocator_type"""
7198 return _pcbnew.VECTOR_SHAPEPTR_get_allocator(self)
7201 r"""pop_back(VECTOR_SHAPEPTR self)"""
7202 return _pcbnew.VECTOR_SHAPEPTR_pop_back(self)
7206 erase(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos) -> std::vector< std::shared_ptr< SHAPE > >::iterator
7207 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
7209 return _pcbnew.VECTOR_SHAPEPTR_erase(self, *args)
7213 __init__(VECTOR_SHAPEPTR self) -> VECTOR_SHAPEPTR
7214 __init__(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR other) -> VECTOR_SHAPEPTR
7215 __init__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type size) -> VECTOR_SHAPEPTR
7216 __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
7218 _pcbnew.VECTOR_SHAPEPTR_swiginit(self, _pcbnew.new_VECTOR_SHAPEPTR(*args))
7221 r"""push_back(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7222 return _pcbnew.VECTOR_SHAPEPTR_push_back(self, x)
7225 r"""front(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7226 return _pcbnew.VECTOR_SHAPEPTR_front(self)
7229 r"""back(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7230 return _pcbnew.VECTOR_SHAPEPTR_back(self)
7233 r"""assign(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7234 return _pcbnew.VECTOR_SHAPEPTR_assign(self, n, x)
7238 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size)
7239 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7241 return _pcbnew.VECTOR_SHAPEPTR_resize(self, *args)
7245 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
7246 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)
7248 return _pcbnew.VECTOR_SHAPEPTR_insert(self, *args)
7251 r"""reserve(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n)"""
7252 return _pcbnew.VECTOR_SHAPEPTR_reserve(self, n)
7255 r"""capacity(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7256 return _pcbnew.VECTOR_SHAPEPTR_capacity(self)
7264 except StopIteration:
7267 __swig_destroy__ = _pcbnew.delete_VECTOR_SHAPEPTR
7270_pcbnew.VECTOR_SHAPEPTR_swigregister(VECTOR_SHAPEPTR)
7273 r"""Cast_to_SHAPE_ARC(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_ARC >"""
7274 return _pcbnew.Cast_to_SHAPE_ARC(_self)
7277 r"""Cast_to_SHAPE_CIRCLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_CIRCLE >"""
7278 return _pcbnew.Cast_to_SHAPE_CIRCLE(_self)
7281 r"""Cast_to_SHAPE_COMPOUND(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_COMPOUND >"""
7282 return _pcbnew.Cast_to_SHAPE_COMPOUND(_self)
7285 r"""Cast_to_SHAPE_LINE_CHAIN(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_LINE_CHAIN >"""
7286 return _pcbnew.Cast_to_SHAPE_LINE_CHAIN(_self)
7289 r"""Cast_to_SHAPE_POLY_SET(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_POLY_SET >"""
7290 return _pcbnew.Cast_to_SHAPE_POLY_SET(_self)
7293 r"""Cast_to_SHAPE_RECT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_RECT >"""
7294 return _pcbnew.Cast_to_SHAPE_RECT(_self)
7297 r"""Cast_to_SHAPE_SEGMENT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SEGMENT >"""
7298 return _pcbnew.Cast_to_SHAPE_SEGMENT(_self)
7301 r"""Cast_to_SHAPE_SIMPLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SIMPLE >"""
7302 return _pcbnew.Cast_to_SHAPE_SIMPLE(_self)
7303FLIP_DIRECTION_LEFT_RIGHT = _pcbnew.FLIP_DIRECTION_LEFT_RIGHT
7305FLIP_DIRECTION_TOP_BOTTOM = _pcbnew.FLIP_DIRECTION_TOP_BOTTOM
7309 r"""IsUTF8(char const * aString) -> bool"""
7310 return _pcbnew.IsUTF8(aString)
7312 r"""Proxy of C++ UTF8 class."""
7314 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7315 __repr__ = _swig_repr
7319 __init__(UTF8 self, wxString o) -> UTF8
7320 __init__(UTF8 self, char const * txt) -> UTF8
7321 __init__(UTF8 self, wchar_t const * txt) -> UTF8
7322 __init__(UTF8 self, string o) -> UTF8
7325 _pcbnew.UTF8_swiginit(self, _pcbnew.new_UTF8(*args))
7326 __swig_destroy__ = _pcbnew.delete_UTF8
7329 r"""c_str(UTF8 self) -> char const *"""
7330 return _pcbnew.UTF8_c_str(self)
7333 r"""empty(UTF8 self) -> bool"""
7334 return _pcbnew.UTF8_empty(self)
7338 find(UTF8 self, char c) -> std::string::size_type
7339 find(UTF8 self, char c, size_t s) -> std::string::size_type
7341 return _pcbnew.UTF8_find(self, *args)
7344 r"""clear(UTF8 self)"""
7345 return _pcbnew.UTF8_clear(self)
7348 r"""length(UTF8 self) -> std::string::size_type"""
7349 return _pcbnew.UTF8_length(self)
7352 r"""size(UTF8 self) -> std::string::size_type"""
7353 return _pcbnew.UTF8_size(self)
7356 r"""compare(UTF8 self, string s) -> int"""
7357 return _pcbnew.UTF8_compare(self, s)
7361 __eq__(UTF8 self, UTF8 rhs) -> bool
7362 __eq__(UTF8 self, string rhs) -> bool
7363 __eq__(UTF8 self, char const * s) -> bool
7365 return _pcbnew.UTF8___eq__(self, *args)
7368 r"""__ne__(UTF8 self, UTF8 rhs) -> bool"""
7369 return _pcbnew.UTF8___ne__(self, rhs)
7372 r"""__lt__(UTF8 self, UTF8 rhs) -> bool"""
7373 return _pcbnew.UTF8___lt__(self, rhs)
7376 r"""__gt__(UTF8 self, UTF8 rhs) -> bool"""
7377 return _pcbnew.UTF8___gt__(self, rhs)
7380 r"""find_first_of(UTF8 self, string str, std::string::size_type pos=0) -> std::string::size_type"""
7381 return _pcbnew.UTF8_find_first_of(self, str, pos)
7385 __iadd__(UTF8 self, UTF8 str) -> UTF8
7386 __iadd__(UTF8 self, char ch) -> UTF8
7387 __iadd__(UTF8 self, char const * s) -> UTF8
7388 __iadd__(UTF8 self, unsigned int w_ch) -> UTF8
7390 return _pcbnew.UTF8___iadd__(self, *args)
7391 npos = _pcbnew.UTF8_npos
7395 r"""substr(UTF8 self, size_t pos=0, size_t len=npos) -> string"""
7396 return _pcbnew.UTF8_substr(self, *args)
7399 r"""utf8_to_string(UTF8 self) -> string"""
7400 return _pcbnew.UTF8_utf8_to_string(self)
7403 r"""wx_str(UTF8 self) -> wxString"""
7404 return _pcbnew.UTF8_wx_str(self)
7407 r"""utf8_to_wxstring(UTF8 self) -> wxString"""
7408 return _pcbnew.UTF8_utf8_to_wxstring(self)
7411 r"""begin(UTF8 self) -> std::string::const_iterator"""
7412 return _pcbnew.UTF8_begin(self)
7415 r"""end(UTF8 self) -> std::string::const_iterator"""
7416 return _pcbnew.UTF8_end(self)
7419 r"""Cast_to_CChar(UTF8 self) -> char const *"""
7420 return _pcbnew.UTF8_Cast_to_CChar(self)
7435_pcbnew.UTF8_swigregister(UTF8)
7437 r"""Proxy of C++ LIB_ID class."""
7439 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7440 __repr__ = _swig_repr
7445 __init__(LIB_ID self, wxString aLibraryName, wxString aItemName) -> LIB_ID
7447 _pcbnew.LIB_ID_swiginit(self, _pcbnew.new_LIB_ID(*args))
7450 r"""Parse(LIB_ID self, UTF8 aId, bool aFix=False) -> int"""
7451 return _pcbnew.LIB_ID_Parse(self, aId, aFix)
7454 r"""GetLibNickname(LIB_ID self) -> UTF8"""
7455 return _pcbnew.LIB_ID_GetLibNickname(self)
7458 r"""GetUniStringLibNickname(LIB_ID self) -> wxString"""
7459 return _pcbnew.LIB_ID_GetUniStringLibNickname(self)
7462 r"""SetLibNickname(LIB_ID self, UTF8 aLibNickname) -> int"""
7463 return _pcbnew.LIB_ID_SetLibNickname(self, aLibNickname)
7466 r"""GetLibItemName(LIB_ID self) -> UTF8"""
7467 return _pcbnew.LIB_ID_GetLibItemName(self)
7470 r"""GetUniStringLibItemName(LIB_ID self) -> wxString"""
7471 return _pcbnew.LIB_ID_GetUniStringLibItemName(self)
7474 r"""SetLibItemName(LIB_ID self, UTF8 aLibItemName) -> int"""
7475 return _pcbnew.LIB_ID_SetLibItemName(self, aLibItemName)
7478 r"""GetSubLibraryName(LIB_ID self) -> UTF8"""
7479 return _pcbnew.LIB_ID_GetSubLibraryName(self)
7482 r"""SetSubLibraryName(LIB_ID self, UTF8 aName)"""
7483 return _pcbnew.LIB_ID_SetSubLibraryName(self, aName)
7486 r"""GetUniStringSubLibraryName(LIB_ID self) -> wxString"""
7487 return _pcbnew.LIB_ID_GetUniStringSubLibraryName(self)
7490 r"""GetFullLibraryName(LIB_ID self) -> wxString"""
7491 return _pcbnew.LIB_ID_GetFullLibraryName(self)
7494 r"""GetUniStringLibId(LIB_ID self) -> wxString"""
7495 return _pcbnew.LIB_ID_GetUniStringLibId(self)
7501 Format(UTF8 aLibraryName, UTF8 aLibItemName) -> UTF8
7503 return _pcbnew.LIB_ID_Format(*args)
7506 r"""IsValid(LIB_ID self) -> bool"""
7507 return _pcbnew.LIB_ID_IsValid(self)
7510 r"""IsLegacy(LIB_ID self) -> bool"""
7511 return _pcbnew.LIB_ID_IsLegacy(self)
7514 r"""clear(LIB_ID self)"""
7515 return _pcbnew.LIB_ID_clear(self)
7518 r"""empty(LIB_ID self) -> bool"""
7519 return _pcbnew.LIB_ID_empty(self)
7522 r"""compare(LIB_ID self, LIB_ID aLibId) -> int"""
7523 return _pcbnew.LIB_ID_compare(self, aLibId)
7526 r"""__lt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7527 return _pcbnew.LIB_ID___lt__(self, aLibId)
7530 r"""__gt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7531 return _pcbnew.LIB_ID___gt__(self, aLibId)
7534 r"""__eq__(LIB_ID self, LIB_ID aLibId) -> bool"""
7535 return _pcbnew.LIB_ID___eq__(self, aLibId)
7538 r"""__ne__(LIB_ID self, LIB_ID aLibId) -> bool"""
7539 return _pcbnew.LIB_ID___ne__(self, aLibId)
7543 r"""HasIllegalChars(UTF8 aLibItemName) -> int"""
7544 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
7548 r"""FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
7549 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
7553 r"""FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
7554 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
7555 __swig_destroy__ = _pcbnew.delete_LIB_ID
7558_pcbnew.LIB_ID_swigregister(LIB_ID)
7560 r"""Proxy of C++ BASE_SET class."""
7562 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7565 raise AttributeError(
"No constructor defined")
7566 __repr__ = _swig_repr
7567 __swig_destroy__ = _pcbnew.delete_BASE_SET
7570_pcbnew.BASE_SET_swigregister(BASE_SET)
7572 r"""Proxy of C++ PCB_IO_MGR class."""
7574 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7575 __repr__ = _swig_repr
7576 PCB_FILE_UNKNOWN = _pcbnew.PCB_IO_MGR_PCB_FILE_UNKNOWN
7578 KICAD_SEXP = _pcbnew.PCB_IO_MGR_KICAD_SEXP
7580 LEGACY = _pcbnew.PCB_IO_MGR_LEGACY
7582 ALTIUM_CIRCUIT_MAKER = _pcbnew.PCB_IO_MGR_ALTIUM_CIRCUIT_MAKER
7584 ALTIUM_CIRCUIT_STUDIO = _pcbnew.PCB_IO_MGR_ALTIUM_CIRCUIT_STUDIO
7586 ALTIUM_DESIGNER = _pcbnew.PCB_IO_MGR_ALTIUM_DESIGNER
7588 CADSTAR_PCB_ARCHIVE = _pcbnew.PCB_IO_MGR_CADSTAR_PCB_ARCHIVE
7590 EAGLE = _pcbnew.PCB_IO_MGR_EAGLE
7592 EASYEDA = _pcbnew.PCB_IO_MGR_EASYEDA
7594 EASYEDAPRO = _pcbnew.PCB_IO_MGR_EASYEDAPRO
7596 FABMASTER = _pcbnew.PCB_IO_MGR_FABMASTER
7598 GEDA_PCB = _pcbnew.PCB_IO_MGR_GEDA_PCB
7600 PCAD = _pcbnew.PCB_IO_MGR_PCAD
7602 SOLIDWORKS_PCB = _pcbnew.PCB_IO_MGR_SOLIDWORKS_PCB
7604 IPC2581 = _pcbnew.PCB_IO_MGR_IPC2581
7606 ODBPP = _pcbnew.PCB_IO_MGR_ODBPP
7608 FILE_TYPE_NONE = _pcbnew.PCB_IO_MGR_FILE_TYPE_NONE
7613 r"""PluginFind(PCB_IO_MGR::PCB_FILE_T aFileType) -> PCB_IO"""
7614 return _pcbnew.PCB_IO_MGR_PluginFind(aFileType)
7618 r"""ShowType(PCB_IO_MGR::PCB_FILE_T aFileType) -> wxString"""
7619 return _pcbnew.PCB_IO_MGR_ShowType(aFileType)
7623 r"""EnumFromStr(wxString aFileType) -> PCB_IO_MGR::PCB_FILE_T"""
7624 return _pcbnew.PCB_IO_MGR_EnumFromStr(aFileType)
7628 r"""FindPluginTypeFromBoardPath(wxString aFileName, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
7629 return _pcbnew.PCB_IO_MGR_FindPluginTypeFromBoardPath(aFileName, aCtl)
7633 r"""GuessPluginTypeFromLibPath(wxString aLibPath, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
7634 return _pcbnew.PCB_IO_MGR_GuessPluginTypeFromLibPath(aLibPath, aCtl)
7637 def Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None):
7638 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"""
7639 return _pcbnew.PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
7642 def Save(aFileType, aFileName, aBoard, aProperties=None):
7643 r"""Save(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, str_utf8_Map aProperties=None)"""
7644 return _pcbnew.PCB_IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
7648 r"""ConvertLibrary(str_utf8_Map aOldFileProps, wxString aOldFilePath, wxString aNewFilePath, REPORTER * aReporter) -> bool"""
7649 return _pcbnew.PCB_IO_MGR_ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath, aReporter)
7652 r"""__init__(PCB_IO_MGR self) -> PCB_IO_MGR"""
7653 _pcbnew.PCB_IO_MGR_swiginit(self, _pcbnew.new_PCB_IO_MGR())
7654 __swig_destroy__ = _pcbnew.delete_PCB_IO_MGR
7657_pcbnew.PCB_IO_MGR_swigregister(PCB_IO_MGR)
7659 r"""Proxy of C++ PCB_IO class."""
7661 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7664 raise AttributeError(
"No constructor defined - class is abstract")
7665 __repr__ = _swig_repr
7668 r"""GetBoardFileDesc(PCB_IO self) -> IO_BASE::IO_FILE_DESC const"""
7669 return _pcbnew.PCB_IO_GetBoardFileDesc(self)
7672 r"""CanReadBoard(PCB_IO self, wxString aFileName) -> bool"""
7673 return _pcbnew.PCB_IO_CanReadBoard(self, aFileName)
7676 r"""CanReadFootprint(PCB_IO self, wxString aFileName) -> bool"""
7677 return _pcbnew.PCB_IO_CanReadFootprint(self, aFileName)
7680 r"""SetQueryUserCallback(PCB_IO self, std::function< bool (wxString,int,wxString,wxString) > aCallback)"""
7681 return _pcbnew.PCB_IO_SetQueryUserCallback(self, aCallback)
7683 def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None):
7684 r"""LoadBoard(PCB_IO self, wxString aFileName, BOARD aAppendToMe, str_utf8_Map aProperties=None, PROJECT * aProject=None) -> BOARD"""
7685 return _pcbnew.PCB_IO_LoadBoard(self, aFileName, aAppendToMe, aProperties, aProject)
7688 r"""GetImportedCachedLibraryFootprints(PCB_IO self) -> std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >"""
7689 return _pcbnew.PCB_IO_GetImportedCachedLibraryFootprints(self)
7692 r"""SaveBoard(PCB_IO self, wxString aFileName, BOARD aBoard, str_utf8_Map aProperties=None)"""
7693 return _pcbnew.PCB_IO_SaveBoard(self, aFileName, aBoard, aProperties)
7696 r"""FootprintEnumerate(PCB_IO self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, str_utf8_Map aProperties=None)"""
7697 return _pcbnew.PCB_IO_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
7700 r"""GetLibraryTimestamp(PCB_IO self, wxString aLibraryPath) -> long long"""
7701 return _pcbnew.PCB_IO_GetLibraryTimestamp(self, aLibraryPath)
7704 r"""PrefetchLib(PCB_IO self, wxString aLibraryPath, str_utf8_Map aProperties=None)"""
7705 return _pcbnew.PCB_IO_PrefetchLib(self, aLibraryPath, aProperties)
7708 r"""ImportFootprint(PCB_IO self, wxString aFootprintPath, wxString aFootprintNameOut, str_utf8_Map aProperties=None) -> FOOTPRINT"""
7709 return _pcbnew.PCB_IO_ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties)
7711 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
7712 r"""FootprintLoad(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, str_utf8_Map aProperties=None) -> FOOTPRINT"""
7713 return _pcbnew.PCB_IO_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
7716 r"""GetEnumeratedFootprint(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> FOOTPRINT"""
7717 return _pcbnew.PCB_IO_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
7720 r"""FootprintExists(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> bool"""
7721 return _pcbnew.PCB_IO_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
7724 r"""FootprintSave(PCB_IO self, wxString aLibraryPath, FOOTPRINT aFootprint, str_utf8_Map aProperties=None)"""
7725 return _pcbnew.PCB_IO_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
7728 r"""FootprintDelete(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None)"""
7729 return _pcbnew.PCB_IO_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
7732 r"""GetLibraryOptions(PCB_IO self, str_utf8_Map aListToAppendTo)"""
7733 return _pcbnew.PCB_IO_GetLibraryOptions(self, aListToAppendTo)
7734 __swig_destroy__ = _pcbnew.delete_PCB_IO
7737 r"""footprintPyEnumerate(PCB_IO self, wxString aLibraryPath, bool aExitOnError) -> wxArrayString"""
7738 return _pcbnew.PCB_IO_footprintPyEnumerate(self, aLibraryPath, aExitOnError)
7745 self.CreateLibrary(aLibraryPath, aProperties)
7749 return self.DeleteLibrary(aLibraryPath, aProperties)
7753 return self.IsLibraryWritable(aLibraryPath)
7757_pcbnew.PCB_IO_swigregister(PCB_IO)
7758SEXPR_BOARD_FILE_VERSION = _pcbnew.SEXPR_BOARD_FILE_VERSION
7760BOARD_FILE_HOST_VERSION = _pcbnew.BOARD_FILE_HOST_VERSION
7762LEGACY_ARC_FORMATTING = _pcbnew.LEGACY_ARC_FORMATTING
7764LEGACY_NET_TIES = _pcbnew.LEGACY_NET_TIES
7766FIRST_NORMALIZED_VERISON = _pcbnew.FIRST_NORMALIZED_VERISON
7769 r"""Proxy of C++ FP_CACHE_ITEM class."""
7771 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7772 __repr__ = _swig_repr
7775 r"""__init__(FP_CACHE_ITEM self, FOOTPRINT aFootprint, WX_FILENAME const & aFileName) -> FP_CACHE_ITEM"""
7776 _pcbnew.FP_CACHE_ITEM_swiginit(self, _pcbnew.new_FP_CACHE_ITEM(aFootprint, aFileName))
7779 r"""GetFileName(FP_CACHE_ITEM self) -> WX_FILENAME const &"""
7780 return _pcbnew.FP_CACHE_ITEM_GetFileName(self)
7783 r"""SetFilePath(FP_CACHE_ITEM self, wxString aFilePath)"""
7784 return _pcbnew.FP_CACHE_ITEM_SetFilePath(self, aFilePath)
7787 r"""GetFootprint(FP_CACHE_ITEM self) -> FOOTPRINT"""
7788 return _pcbnew.FP_CACHE_ITEM_GetFootprint(self)
7789 __swig_destroy__ = _pcbnew.delete_FP_CACHE_ITEM
7792_pcbnew.FP_CACHE_ITEM_swigregister(FP_CACHE_ITEM)
7794 r"""Proxy of C++ FP_CACHE class."""
7796 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7797 __repr__ = _swig_repr
7800 r"""__init__(FP_CACHE self, PCB_IO_KICAD_SEXPR aOwner, wxString aLibraryPath) -> FP_CACHE"""
7801 _pcbnew.FP_CACHE_swiginit(self, _pcbnew.new_FP_CACHE(aOwner, aLibraryPath))
7804 r"""GetPath(FP_CACHE self) -> wxString"""
7805 return _pcbnew.FP_CACHE_GetPath(self)
7808 r"""IsWritable(FP_CACHE self) -> bool"""
7809 return _pcbnew.FP_CACHE_IsWritable(self)
7812 r"""Exists(FP_CACHE self) -> bool"""
7813 return _pcbnew.FP_CACHE_Exists(self)
7816 r"""GetFootprints(FP_CACHE self) -> FP_CACHE_FOOTPRINT_MAP &"""
7817 return _pcbnew.FP_CACHE_GetFootprints(self)
7820 r"""Save(FP_CACHE self, FOOTPRINT aFootprint=None)"""
7821 return _pcbnew.FP_CACHE_Save(self, aFootprint)
7824 r"""Load(FP_CACHE self)"""
7825 return _pcbnew.FP_CACHE_Load(self)
7828 r"""Remove(FP_CACHE self, wxString aFootprintName)"""
7829 return _pcbnew.FP_CACHE_Remove(self, aFootprintName)
7833 r"""GetTimestamp(wxString aLibPath) -> long long"""
7834 return _pcbnew.FP_CACHE_GetTimestamp(aLibPath)
7837 r"""IsModified(FP_CACHE self) -> bool"""
7838 return _pcbnew.FP_CACHE_IsModified(self)
7841 r"""IsPath(FP_CACHE self, wxString aPath) -> bool"""
7842 return _pcbnew.FP_CACHE_IsPath(self, aPath)
7845 r"""SetPath(FP_CACHE self, wxString aPath)"""
7846 return _pcbnew.FP_CACHE_SetPath(self, aPath)
7847 __swig_destroy__ = _pcbnew.delete_FP_CACHE
7850_pcbnew.FP_CACHE_swigregister(FP_CACHE)
7852 r"""Proxy of C++ PCB_IO_KICAD_SEXPR class."""
7854 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7855 __repr__ = _swig_repr
7858 r"""GetLibraryFileDesc(PCB_IO_KICAD_SEXPR self) -> IO_BASE::IO_FILE_DESC const"""
7859 return _pcbnew.PCB_IO_KICAD_SEXPR_GetLibraryFileDesc(self)
7862 r"""GetLibraryDesc(PCB_IO_KICAD_SEXPR self) -> IO_BASE::IO_FILE_DESC const"""
7863 return _pcbnew.PCB_IO_KICAD_SEXPR_GetLibraryDesc(self)
7866 r"""SaveBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aBoard, str_utf8_Map aProperties=None)"""
7867 return _pcbnew.PCB_IO_KICAD_SEXPR_SaveBoard(self, aFileName, aBoard, aProperties)
7869 def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None):
7870 r"""LoadBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aAppendToMe, str_utf8_Map aProperties=None, PROJECT * aProject=None) -> BOARD"""
7871 return _pcbnew.PCB_IO_KICAD_SEXPR_LoadBoard(self, aFileName, aAppendToMe, aProperties, aProject)
7873 def DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount):
7874 r"""DoLoad(PCB_IO_KICAD_SEXPR self, LINE_READER aReader, BOARD aAppendToMe, str_utf8_Map aProperties, PROGRESS_REPORTER * aProgressReporter, unsigned int aLineCount) -> BOARD"""
7875 return _pcbnew.PCB_IO_KICAD_SEXPR_DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount)
7878 r"""FootprintEnumerate(PCB_IO_KICAD_SEXPR self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, str_utf8_Map aProperties=None)"""
7879 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
7882 r"""GetEnumeratedFootprint(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> FOOTPRINT"""
7883 return _pcbnew.PCB_IO_KICAD_SEXPR_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
7886 r"""FootprintExists(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None) -> bool"""
7887 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
7890 r"""ImportFootprint(PCB_IO_KICAD_SEXPR self, wxString aFootprintPath, wxString aFootprintNameOut, str_utf8_Map aProperties=None) -> FOOTPRINT"""
7891 return _pcbnew.PCB_IO_KICAD_SEXPR_ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties)
7893 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
7894 r"""FootprintLoad(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, str_utf8_Map aProperties=None) -> FOOTPRINT"""
7895 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
7898 r"""FootprintSave(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, FOOTPRINT aFootprint, str_utf8_Map aProperties=None)"""
7899 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
7902 r"""FootprintDelete(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, str_utf8_Map aProperties=None)"""
7903 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
7906 r"""CreateLibrary(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, str_utf8_Map aProperties=None)"""
7907 return _pcbnew.PCB_IO_KICAD_SEXPR_CreateLibrary(self, aLibraryPath, aProperties)
7910 r"""DeleteLibrary(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, str_utf8_Map aProperties=None) -> bool"""
7911 return _pcbnew.PCB_IO_KICAD_SEXPR_DeleteLibrary(self, aLibraryPath, aProperties)
7914 r"""IsLibraryWritable(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath) -> bool"""
7915 return _pcbnew.PCB_IO_KICAD_SEXPR_IsLibraryWritable(self, aLibraryPath)
7918 r"""__init__(PCB_IO_KICAD_SEXPR self, int aControlFlags=(CTL_OMIT_INITIAL_COMMENTS|CTL_OMIT_FOOTPRINT_VERSION)) -> PCB_IO_KICAD_SEXPR"""
7919 _pcbnew.PCB_IO_KICAD_SEXPR_swiginit(self, _pcbnew.new_PCB_IO_KICAD_SEXPR(*args))
7920 __swig_destroy__ = _pcbnew.delete_PCB_IO_KICAD_SEXPR
7923 r"""Format(PCB_IO_KICAD_SEXPR self, BOARD_ITEM aItem)"""
7924 return _pcbnew.PCB_IO_KICAD_SEXPR_Format(self, aItem)
7927 r"""GetStringOutput(PCB_IO_KICAD_SEXPR self, bool doClear) -> string"""
7928 return _pcbnew.PCB_IO_KICAD_SEXPR_GetStringOutput(self, doClear)
7931 r"""SetOutputFormatter(PCB_IO_KICAD_SEXPR self, OUTPUTFORMATTER aFormatter)"""
7932 return _pcbnew.PCB_IO_KICAD_SEXPR_SetOutputFormatter(self, aFormatter)
7935 r"""Parse(PCB_IO_KICAD_SEXPR self, wxString aClipboardSourceInput) -> BOARD_ITEM"""
7936 return _pcbnew.PCB_IO_KICAD_SEXPR_Parse(self, aClipboardSourceInput)
7939_pcbnew.PCB_IO_KICAD_SEXPR_swigregister(PCB_IO_KICAD_SEXPR)
7941 r"""Proxy of C++ PLOT_CONTROLLER class."""
7943 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7944 __repr__ = _swig_repr
7947 r"""__init__(PLOT_CONTROLLER self, BOARD aBoard) -> PLOT_CONTROLLER"""
7948 _pcbnew.PLOT_CONTROLLER_swiginit(self, _pcbnew.new_PLOT_CONTROLLER(aBoard))
7949 __swig_destroy__ = _pcbnew.delete_PLOT_CONTROLLER
7952 r"""GetPlotOptions(PLOT_CONTROLLER self) -> PCB_PLOT_PARAMS"""
7953 return _pcbnew.PLOT_CONTROLLER_GetPlotOptions(self)
7956 r"""SetLayer(PLOT_CONTROLLER self, int aLayer)"""
7957 return _pcbnew.PLOT_CONTROLLER_SetLayer(self, aLayer)
7960 r"""GetLayer(PLOT_CONTROLLER self) -> int"""
7961 return _pcbnew.PLOT_CONTROLLER_GetLayer(self)
7964 r"""IsPlotOpen(PLOT_CONTROLLER self) -> bool"""
7965 return _pcbnew.PLOT_CONTROLLER_IsPlotOpen(self)
7968 r"""ClosePlot(PLOT_CONTROLLER self)"""
7969 return _pcbnew.PLOT_CONTROLLER_ClosePlot(self)
7972 r"""OpenPlotfile(PLOT_CONTROLLER self, wxString aSuffix, PLOT_FORMAT aFormat, wxString aSheetName=wxEmptyString, wxString aSheetPath=wxEmptyString) -> bool"""
7973 return _pcbnew.PLOT_CONTROLLER_OpenPlotfile(self, *args)
7976 r"""PlotLayer(PLOT_CONTROLLER self) -> bool"""
7977 return _pcbnew.PLOT_CONTROLLER_PlotLayer(self)
7980 r"""PlotLayers(PLOT_CONTROLLER self, LSEQ aLayerSequence) -> bool"""
7981 return _pcbnew.PLOT_CONTROLLER_PlotLayers(self, aLayerSequence)
7984 r"""GetPlotFileName(PLOT_CONTROLLER self) -> wxString"""
7985 return _pcbnew.PLOT_CONTROLLER_GetPlotFileName(self)
7988 r"""GetPlotDirName(PLOT_CONTROLLER self) -> wxString"""
7989 return _pcbnew.PLOT_CONTROLLER_GetPlotDirName(self)
7992 r"""SetColorMode(PLOT_CONTROLLER self, bool aColorMode)"""
7993 return _pcbnew.PLOT_CONTROLLER_SetColorMode(self, aColorMode)
7996 r"""GetColorMode(PLOT_CONTROLLER self) -> bool"""
7997 return _pcbnew.PLOT_CONTROLLER_GetColorMode(self)
8000 r"""GetPlotter(PLOT_CONTROLLER self) -> PLOTTER"""
8001 return _pcbnew.PLOT_CONTROLLER_GetPlotter(self)
8004_pcbnew.PLOT_CONTROLLER_swigregister(PLOT_CONTROLLER)
8005DRILL_MARKS_NO_DRILL_SHAPE = _pcbnew.DRILL_MARKS_NO_DRILL_SHAPE
8007DRILL_MARKS_SMALL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_SMALL_DRILL_SHAPE
8009DRILL_MARKS_FULL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_FULL_DRILL_SHAPE
8012 r"""Proxy of C++ PCB_PLOT_PARAMS class."""
8014 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8015 __repr__ = _swig_repr
8018 r"""__init__(PCB_PLOT_PARAMS self) -> PCB_PLOT_PARAMS"""
8019 _pcbnew.PCB_PLOT_PARAMS_swiginit(self, _pcbnew.new_PCB_PLOT_PARAMS())
8022 r"""SetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self, bool aSkip)"""
8023 return _pcbnew.PCB_PLOT_PARAMS_SetSkipPlotNPTH_Pads(self, aSkip)
8026 r"""GetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self) -> bool"""
8027 return _pcbnew.PCB_PLOT_PARAMS_GetSkipPlotNPTH_Pads(self)
8030 r"""Format(PCB_PLOT_PARAMS self, OUTPUTFORMATTER aFormatter)"""
8031 return _pcbnew.PCB_PLOT_PARAMS_Format(self, aFormatter)
8034 r"""Parse(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS_PARSER * aParser)"""
8035 return _pcbnew.PCB_PLOT_PARAMS_Parse(self, aParser)
8038 r"""IsSameAs(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS aPcbPlotParams) -> bool"""
8039 return _pcbnew.PCB_PLOT_PARAMS_IsSameAs(self, aPcbPlotParams)
8042 r"""SetColorSettings(PCB_PLOT_PARAMS self, COLOR_SETTINGS * aSettings)"""
8043 return _pcbnew.PCB_PLOT_PARAMS_SetColorSettings(self, aSettings)
8046 r"""ColorSettings(PCB_PLOT_PARAMS self) -> COLOR_SETTINGS *"""
8047 return _pcbnew.PCB_PLOT_PARAMS_ColorSettings(self)
8050 r"""SetTextMode(PCB_PLOT_PARAMS self, PLOT_TEXT_MODE aVal)"""
8051 return _pcbnew.PCB_PLOT_PARAMS_SetTextMode(self, aVal)
8054 r"""GetTextMode(PCB_PLOT_PARAMS self) -> PLOT_TEXT_MODE"""
8055 return _pcbnew.PCB_PLOT_PARAMS_GetTextMode(self)
8058 r"""SetPlotMode(PCB_PLOT_PARAMS self, OUTLINE_MODE aPlotMode)"""
8059 return _pcbnew.PCB_PLOT_PARAMS_SetPlotMode(self, aPlotMode)
8062 r"""GetPlotMode(PCB_PLOT_PARAMS self) -> OUTLINE_MODE"""
8063 return _pcbnew.PCB_PLOT_PARAMS_GetPlotMode(self)
8066 r"""SetPlotPadNumbers(PCB_PLOT_PARAMS self, bool aFlag)"""
8067 return _pcbnew.PCB_PLOT_PARAMS_SetPlotPadNumbers(self, aFlag)
8070 r"""GetPlotPadNumbers(PCB_PLOT_PARAMS self) -> bool"""
8071 return _pcbnew.PCB_PLOT_PARAMS_GetPlotPadNumbers(self)
8074 r"""SetDXFPlotPolygonMode(PCB_PLOT_PARAMS self, bool aFlag)"""
8075 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotPolygonMode(self, aFlag)
8078 r"""GetDXFPlotPolygonMode(PCB_PLOT_PARAMS self) -> bool"""
8079 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotPolygonMode(self)
8082 r"""SetDXFPlotUnits(PCB_PLOT_PARAMS self, DXF_UNITS aUnit)"""
8083 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotUnits(self, aUnit)
8086 r"""GetDXFPlotUnits(PCB_PLOT_PARAMS self) -> DXF_UNITS"""
8087 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotUnits(self)
8090 r"""SetDrillMarksType(PCB_PLOT_PARAMS self, DRILL_MARKS aVal)"""
8091 return _pcbnew.PCB_PLOT_PARAMS_SetDrillMarksType(self, aVal)
8094 r"""GetDrillMarksType(PCB_PLOT_PARAMS self) -> DRILL_MARKS"""
8095 return _pcbnew.PCB_PLOT_PARAMS_GetDrillMarksType(self)
8098 r"""SetScale(PCB_PLOT_PARAMS self, double aVal)"""
8099 return _pcbnew.PCB_PLOT_PARAMS_SetScale(self, aVal)
8102 r"""GetScale(PCB_PLOT_PARAMS self) -> double"""
8103 return _pcbnew.PCB_PLOT_PARAMS_GetScale(self)
8106 r"""SetFineScaleAdjustX(PCB_PLOT_PARAMS self, double aVal)"""
8107 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustX(self, aVal)
8110 r"""GetFineScaleAdjustX(PCB_PLOT_PARAMS self) -> double"""
8111 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustX(self)
8114 r"""SetFineScaleAdjustY(PCB_PLOT_PARAMS self, double aVal)"""
8115 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustY(self, aVal)
8118 r"""GetFineScaleAdjustY(PCB_PLOT_PARAMS self) -> double"""
8119 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustY(self)
8122 r"""SetWidthAdjust(PCB_PLOT_PARAMS self, int aVal)"""
8123 return _pcbnew.PCB_PLOT_PARAMS_SetWidthAdjust(self, aVal)
8126 r"""GetWidthAdjust(PCB_PLOT_PARAMS self) -> int"""
8127 return _pcbnew.PCB_PLOT_PARAMS_GetWidthAdjust(self)
8130 r"""SetAutoScale(PCB_PLOT_PARAMS self, bool aFlag)"""
8131 return _pcbnew.PCB_PLOT_PARAMS_SetAutoScale(self, aFlag)
8134 r"""GetAutoScale(PCB_PLOT_PARAMS self) -> bool"""
8135 return _pcbnew.PCB_PLOT_PARAMS_GetAutoScale(self)
8138 r"""SetMirror(PCB_PLOT_PARAMS self, bool aFlag)"""
8139 return _pcbnew.PCB_PLOT_PARAMS_SetMirror(self, aFlag)
8142 r"""GetMirror(PCB_PLOT_PARAMS self) -> bool"""
8143 return _pcbnew.PCB_PLOT_PARAMS_GetMirror(self)
8146 r"""SetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8147 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadsOnFabLayers(self, aFlag)
8150 r"""GetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8151 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadsOnFabLayers(self)
8154 r"""SetSketchPadLineWidth(PCB_PLOT_PARAMS self, int aWidth)"""
8155 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadLineWidth(self, aWidth)
8158 r"""GetSketchPadLineWidth(PCB_PLOT_PARAMS self) -> int"""
8159 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadLineWidth(self)
8162 r"""SetHideDNPFPsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8163 return _pcbnew.PCB_PLOT_PARAMS_SetHideDNPFPsOnFabLayers(self, aFlag)
8166 r"""GetHideDNPFPsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8167 return _pcbnew.PCB_PLOT_PARAMS_GetHideDNPFPsOnFabLayers(self)
8170 r"""SetSketchDNPFPsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8171 return _pcbnew.PCB_PLOT_PARAMS_SetSketchDNPFPsOnFabLayers(self, aFlag)
8174 r"""GetSketchDNPFPsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8175 return _pcbnew.PCB_PLOT_PARAMS_GetSketchDNPFPsOnFabLayers(self)
8178 r"""SetCrossoutDNPFPsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8179 return _pcbnew.PCB_PLOT_PARAMS_SetCrossoutDNPFPsOnFabLayers(self, aFlag)
8182 r"""GetCrossoutDNPFPsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8183 return _pcbnew.PCB_PLOT_PARAMS_GetCrossoutDNPFPsOnFabLayers(self)
8186 r"""SetPlotInvisibleText(PCB_PLOT_PARAMS self, bool aFlag)"""
8187 return _pcbnew.PCB_PLOT_PARAMS_SetPlotInvisibleText(self, aFlag)
8190 r"""GetPlotInvisibleText(PCB_PLOT_PARAMS self) -> bool"""
8191 return _pcbnew.PCB_PLOT_PARAMS_GetPlotInvisibleText(self)
8194 r"""SetPlotValue(PCB_PLOT_PARAMS self, bool aFlag)"""
8195 return _pcbnew.PCB_PLOT_PARAMS_SetPlotValue(self, aFlag)
8198 r"""GetPlotValue(PCB_PLOT_PARAMS self) -> bool"""
8199 return _pcbnew.PCB_PLOT_PARAMS_GetPlotValue(self)
8202 r"""SetPlotReference(PCB_PLOT_PARAMS self, bool aFlag)"""
8203 return _pcbnew.PCB_PLOT_PARAMS_SetPlotReference(self, aFlag)
8206 r"""GetPlotReference(PCB_PLOT_PARAMS self) -> bool"""
8207 return _pcbnew.PCB_PLOT_PARAMS_GetPlotReference(self)
8210 r"""SetPlotFPText(PCB_PLOT_PARAMS self, bool aFlag)"""
8211 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFPText(self, aFlag)
8214 r"""GetPlotFPText(PCB_PLOT_PARAMS self) -> bool"""
8215 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFPText(self)
8218 r"""SetNegative(PCB_PLOT_PARAMS self, bool aFlag)"""
8219 return _pcbnew.PCB_PLOT_PARAMS_SetNegative(self, aFlag)
8222 r"""GetNegative(PCB_PLOT_PARAMS self) -> bool"""
8223 return _pcbnew.PCB_PLOT_PARAMS_GetNegative(self)
8226 r"""GetLegacyPlotViaOnMaskLayer(PCB_PLOT_PARAMS self) -> std::optional< bool >"""
8227 return _pcbnew.PCB_PLOT_PARAMS_GetLegacyPlotViaOnMaskLayer(self)
8230 r"""SetPlotFrameRef(PCB_PLOT_PARAMS self, bool aFlag)"""
8231 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFrameRef(self, aFlag)
8234 r"""GetPlotFrameRef(PCB_PLOT_PARAMS self) -> bool"""
8235 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFrameRef(self)
8238 r"""SetFormat(PCB_PLOT_PARAMS self, PLOT_FORMAT aFormat)"""
8239 return _pcbnew.PCB_PLOT_PARAMS_SetFormat(self, aFormat)
8242 r"""GetFormat(PCB_PLOT_PARAMS self) -> PLOT_FORMAT"""
8243 return _pcbnew.PCB_PLOT_PARAMS_GetFormat(self)
8246 r"""SetOutputDirectory(PCB_PLOT_PARAMS self, wxString aDir)"""
8247 return _pcbnew.PCB_PLOT_PARAMS_SetOutputDirectory(self, aDir)
8250 r"""GetOutputDirectory(PCB_PLOT_PARAMS self) -> wxString"""
8251 return _pcbnew.PCB_PLOT_PARAMS_GetOutputDirectory(self)
8254 r"""SetDisableGerberMacros(PCB_PLOT_PARAMS self, bool aDisable)"""
8255 return _pcbnew.PCB_PLOT_PARAMS_SetDisableGerberMacros(self, aDisable)
8258 r"""GetDisableGerberMacros(PCB_PLOT_PARAMS self) -> bool"""
8259 return _pcbnew.PCB_PLOT_PARAMS_GetDisableGerberMacros(self)
8262 r"""SetUseGerberX2format(PCB_PLOT_PARAMS self, bool aUse)"""
8263 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberX2format(self, aUse)
8266 r"""GetUseGerberX2format(PCB_PLOT_PARAMS self) -> bool"""
8267 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberX2format(self)
8270 r"""SetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self, bool aUse)"""
8271 return _pcbnew.PCB_PLOT_PARAMS_SetIncludeGerberNetlistInfo(self, aUse)
8274 r"""GetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self) -> bool"""
8275 return _pcbnew.PCB_PLOT_PARAMS_GetIncludeGerberNetlistInfo(self)
8278 r"""SetCreateGerberJobFile(PCB_PLOT_PARAMS self, bool aCreate)"""
8279 return _pcbnew.PCB_PLOT_PARAMS_SetCreateGerberJobFile(self, aCreate)
8282 r"""GetCreateGerberJobFile(PCB_PLOT_PARAMS self) -> bool"""
8283 return _pcbnew.PCB_PLOT_PARAMS_GetCreateGerberJobFile(self)
8286 r"""SetUseGerberProtelExtensions(PCB_PLOT_PARAMS self, bool aUse)"""
8287 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberProtelExtensions(self, aUse)
8290 r"""GetUseGerberProtelExtensions(PCB_PLOT_PARAMS self) -> bool"""
8291 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberProtelExtensions(self)
8294 r"""SetGerberPrecision(PCB_PLOT_PARAMS self, int aPrecision)"""
8295 return _pcbnew.PCB_PLOT_PARAMS_SetGerberPrecision(self, aPrecision)
8298 r"""GetGerberPrecision(PCB_PLOT_PARAMS self) -> int"""
8299 return _pcbnew.PCB_PLOT_PARAMS_GetGerberPrecision(self)
8302 r"""SetSvgPrecision(PCB_PLOT_PARAMS self, unsigned int aPrecision)"""
8303 return _pcbnew.PCB_PLOT_PARAMS_SetSvgPrecision(self, aPrecision)
8306 r"""GetSvgPrecision(PCB_PLOT_PARAMS self) -> unsigned int"""
8307 return _pcbnew.PCB_PLOT_PARAMS_GetSvgPrecision(self)
8310 r"""SetBlackAndWhite(PCB_PLOT_PARAMS self, bool blackAndWhite)"""
8311 return _pcbnew.PCB_PLOT_PARAMS_SetBlackAndWhite(self, blackAndWhite)
8314 r"""GetBlackAndWhite(PCB_PLOT_PARAMS self) -> unsigned int"""
8315 return _pcbnew.PCB_PLOT_PARAMS_GetBlackAndWhite(self)
8318 r"""SetSubtractMaskFromSilk(PCB_PLOT_PARAMS self, bool aSubtract)"""
8319 return _pcbnew.PCB_PLOT_PARAMS_SetSubtractMaskFromSilk(self, aSubtract)
8322 r"""GetSubtractMaskFromSilk(PCB_PLOT_PARAMS self) -> bool"""
8323 return _pcbnew.PCB_PLOT_PARAMS_GetSubtractMaskFromSilk(self)
8326 r"""SetLayerSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
8327 return _pcbnew.PCB_PLOT_PARAMS_SetLayerSelection(self, aSelection)
8330 r"""GetLayerSelection(PCB_PLOT_PARAMS self) -> LSET"""
8331 return _pcbnew.PCB_PLOT_PARAMS_GetLayerSelection(self)
8334 r"""SetPlotOnAllLayersSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
8335 return _pcbnew.PCB_PLOT_PARAMS_SetPlotOnAllLayersSelection(self, aSelection)
8338 r"""GetPlotOnAllLayersSelection(PCB_PLOT_PARAMS self) -> LSET"""
8339 return _pcbnew.PCB_PLOT_PARAMS_GetPlotOnAllLayersSelection(self)
8342 r"""SetUseAuxOrigin(PCB_PLOT_PARAMS self, bool aAux)"""
8343 return _pcbnew.PCB_PLOT_PARAMS_SetUseAuxOrigin(self, aAux)
8346 r"""GetUseAuxOrigin(PCB_PLOT_PARAMS self) -> bool"""
8347 return _pcbnew.PCB_PLOT_PARAMS_GetUseAuxOrigin(self)
8350 r"""SetScaleSelection(PCB_PLOT_PARAMS self, int aSelection)"""
8351 return _pcbnew.PCB_PLOT_PARAMS_SetScaleSelection(self, aSelection)
8354 r"""GetScaleSelection(PCB_PLOT_PARAMS self) -> int"""
8355 return _pcbnew.PCB_PLOT_PARAMS_GetScaleSelection(self)
8358 r"""SetA4Output(PCB_PLOT_PARAMS self, int aForce)"""
8359 return _pcbnew.PCB_PLOT_PARAMS_SetA4Output(self, aForce)
8362 r"""GetA4Output(PCB_PLOT_PARAMS self) -> bool"""
8363 return _pcbnew.PCB_PLOT_PARAMS_GetA4Output(self)
8366 r"""GetHPGLPenDiameter(PCB_PLOT_PARAMS self) -> double"""
8367 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenDiameter(self)
8370 r"""SetHPGLPenDiameter(PCB_PLOT_PARAMS self, double aValue) -> bool"""
8371 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenDiameter(self, aValue)
8374 r"""GetHPGLPenSpeed(PCB_PLOT_PARAMS self) -> int"""
8375 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenSpeed(self)
8378 r"""SetHPGLPenSpeed(PCB_PLOT_PARAMS self, int aValue) -> bool"""
8379 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenSpeed(self, aValue)
8382 r"""SetHPGLPenNum(PCB_PLOT_PARAMS self, int aVal)"""
8383 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenNum(self, aVal)
8386 r"""GetHPGLPenNum(PCB_PLOT_PARAMS self) -> int"""
8387 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenNum(self)
8390 r"""SetDashedLineDashRatio(PCB_PLOT_PARAMS self, double aVal)"""
8391 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineDashRatio(self, aVal)
8394 r"""GetDashedLineDashRatio(PCB_PLOT_PARAMS self) -> double"""
8395 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineDashRatio(self)
8398 r"""SetDashedLineGapRatio(PCB_PLOT_PARAMS self, double aVal)"""
8399 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineGapRatio(self, aVal)
8402 r"""GetDashedLineGapRatio(PCB_PLOT_PARAMS self) -> double"""
8403 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineGapRatio(self)
8404 m_PDFFrontFPPropertyPopups = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFFrontFPPropertyPopups_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFFrontFPPropertyPopups_set, doc=
r"""m_PDFFrontFPPropertyPopups : bool""")
8405 m_PDFBackFPPropertyPopups = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFBackFPPropertyPopups_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFBackFPPropertyPopups_set, doc=
r"""m_PDFBackFPPropertyPopups : bool""")
8406 m_PDFMetadata = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFMetadata_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFMetadata_set, doc=
r"""m_PDFMetadata : bool""")
8413 __swig_destroy__ = _pcbnew.delete_PCB_PLOT_PARAMS
8416_pcbnew.PCB_PLOT_PARAMS_swigregister(PCB_PLOT_PARAMS)
8417DXF_UNITS_INCHES = _pcbnew.DXF_UNITS_INCHES
8419DXF_UNITS_MILLIMETERS = _pcbnew.DXF_UNITS_MILLIMETERS
8421PLOT_FORMAT_UNDEFINED = _pcbnew.PLOT_FORMAT_UNDEFINED
8423PLOT_FORMAT_FIRST_FORMAT = _pcbnew.PLOT_FORMAT_FIRST_FORMAT
8425PLOT_FORMAT_HPGL = _pcbnew.PLOT_FORMAT_HPGL
8427PLOT_FORMAT_GERBER = _pcbnew.PLOT_FORMAT_GERBER
8429PLOT_FORMAT_POST = _pcbnew.PLOT_FORMAT_POST
8431PLOT_FORMAT_DXF = _pcbnew.PLOT_FORMAT_DXF
8433PLOT_FORMAT_PDF = _pcbnew.PLOT_FORMAT_PDF
8435PLOT_FORMAT_SVG = _pcbnew.PLOT_FORMAT_SVG
8437PLOT_FORMAT_LAST_FORMAT = _pcbnew.PLOT_FORMAT_LAST_FORMAT
8439PLOT_TEXT_MODE_STROKE = _pcbnew.PLOT_TEXT_MODE_STROKE
8441PLOT_TEXT_MODE_NATIVE = _pcbnew.PLOT_TEXT_MODE_NATIVE
8443PLOT_TEXT_MODE_PHANTOM = _pcbnew.PLOT_TEXT_MODE_PHANTOM
8445PLOT_TEXT_MODE_DEFAULT = _pcbnew.PLOT_TEXT_MODE_DEFAULT
8448 r"""Proxy of C++ PLOTTER class."""
8450 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8453 raise AttributeError(
"No constructor defined - class is abstract")
8454 __repr__ = _swig_repr
8455 DO_NOT_SET_LINE_WIDTH = _pcbnew.PLOTTER_DO_NOT_SET_LINE_WIDTH
8457 USE_DEFAULT_LINE_WIDTH = _pcbnew.PLOTTER_USE_DEFAULT_LINE_WIDTH
8459 __swig_destroy__ = _pcbnew.delete_PLOTTER
8462 r"""GetPlotterType(PLOTTER self) -> PLOT_FORMAT"""
8463 return _pcbnew.PLOTTER_GetPlotterType(self)
8466 r"""StartPlot(PLOTTER self, wxString aPageNumber) -> bool"""
8467 return _pcbnew.PLOTTER_StartPlot(self, aPageNumber)
8470 r"""EndPlot(PLOTTER self) -> bool"""
8471 return _pcbnew.PLOTTER_EndPlot(self)
8474 r"""SetNegative(PLOTTER self, bool aNegative)"""
8475 return _pcbnew.PLOTTER_SetNegative(self, aNegative)
8478 r"""SetColorMode(PLOTTER self, bool aColorMode)"""
8479 return _pcbnew.PLOTTER_SetColorMode(self, aColorMode)
8482 r"""GetColorMode(PLOTTER self) -> bool"""
8483 return _pcbnew.PLOTTER_GetColorMode(self)
8486 r"""SetRenderSettings(PLOTTER self, RENDER_SETTINGS * aSettings)"""
8487 return _pcbnew.PLOTTER_SetRenderSettings(self, aSettings)
8490 r"""RenderSettings(PLOTTER self) -> RENDER_SETTINGS *"""
8491 return _pcbnew.PLOTTER_RenderSettings(self)
8494 r"""SetPageSettings(PLOTTER self, PAGE_INFO const & aPageSettings)"""
8495 return _pcbnew.PLOTTER_SetPageSettings(self, aPageSettings)
8498 r"""PageSettings(PLOTTER self) -> PAGE_INFO &"""
8499 return _pcbnew.PLOTTER_PageSettings(self)
8502 r"""SetCurrentLineWidth(PLOTTER self, int width, void * aData=None)"""
8503 return _pcbnew.PLOTTER_SetCurrentLineWidth(self, width, aData)
8506 r"""GetCurrentLineWidth(PLOTTER self) -> int"""
8507 return _pcbnew.PLOTTER_GetCurrentLineWidth(self)
8510 r"""SetColor(PLOTTER self, COLOR4D color)"""
8511 return _pcbnew.PLOTTER_SetColor(self, color)
8514 r"""SetDash(PLOTTER self, int aLineWidth, LINE_STYLE aLineStyle)"""
8515 return _pcbnew.PLOTTER_SetDash(self, aLineWidth, aLineStyle)
8518 r"""SetCreator(PLOTTER self, wxString aCreator)"""
8519 return _pcbnew.PLOTTER_SetCreator(self, aCreator)
8522 r"""SetTitle(PLOTTER self, wxString aTitle)"""
8523 return _pcbnew.PLOTTER_SetTitle(self, aTitle)
8526 r"""SetAuthor(PLOTTER self, wxString aAuthor)"""
8527 return _pcbnew.PLOTTER_SetAuthor(self, aAuthor)
8530 r"""SetSubject(PLOTTER self, wxString aSubject)"""
8531 return _pcbnew.PLOTTER_SetSubject(self, aSubject)
8534 r"""AddLineToHeader(PLOTTER self, wxString aExtraString)"""
8535 return _pcbnew.PLOTTER_AddLineToHeader(self, aExtraString)
8538 r"""ClearHeaderLinesList(PLOTTER self)"""
8539 return _pcbnew.PLOTTER_ClearHeaderLinesList(self)
8542 r"""SetViewport(PLOTTER self, VECTOR2I aOffset, double aIusPerDecimil, double aScale, bool aMirror)"""
8543 return _pcbnew.PLOTTER_SetViewport(self, aOffset, aIusPerDecimil, aScale, aMirror)
8546 r"""OpenFile(PLOTTER self, wxString aFullFilename) -> bool"""
8547 return _pcbnew.PLOTTER_OpenFile(self, aFullFilename)
8550 r"""GetIUsPerDecimil(PLOTTER self) -> double"""
8551 return _pcbnew.PLOTTER_GetIUsPerDecimil(self)
8554 r"""GetPlotterArcLowDef(PLOTTER self) -> int"""
8555 return _pcbnew.PLOTTER_GetPlotterArcLowDef(self)
8558 r"""GetPlotterArcHighDef(PLOTTER self) -> int"""
8559 return _pcbnew.PLOTTER_GetPlotterArcHighDef(self)
8562 r"""Rect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8563 return _pcbnew.PLOTTER_Rect(self, *args)
8566 r"""Circle(PLOTTER self, VECTOR2I pos, int diametre, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8567 return _pcbnew.PLOTTER_Circle(self, *args)
8571 Arc(PLOTTER self, VECTOR2D const & aStart, VECTOR2D const & aMid, VECTOR2D const & aEnd, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH)
8572 Arc(PLOTTER self, VECTOR2D const & aCenter, EDA_ANGLE aStartAngle, EDA_ANGLE aAngle, double aRadius, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH)
8574 return _pcbnew.PLOTTER_Arc(self, *args)
8577 r"""BezierCurve(PLOTTER self, VECTOR2I aStart, VECTOR2I aControl1, VECTOR2I aControl2, VECTOR2I aEnd, int aTolerance, int aLineThickness=USE_DEFAULT_LINE_WIDTH)"""
8578 return _pcbnew.PLOTTER_BezierCurve(self, *args)
8581 r"""PenTo(PLOTTER self, VECTOR2I pos, char plume)"""
8582 return _pcbnew.PLOTTER_PenTo(self, pos, plume)
8585 r"""MoveTo(PLOTTER self, VECTOR2I pos)"""
8586 return _pcbnew.PLOTTER_MoveTo(self, pos)
8589 r"""LineTo(PLOTTER self, VECTOR2I pos)"""
8590 return _pcbnew.PLOTTER_LineTo(self, pos)
8593 r"""FinishTo(PLOTTER self, VECTOR2I pos)"""
8594 return _pcbnew.PLOTTER_FinishTo(self, pos)
8597 r"""PenFinish(PLOTTER self)"""
8598 return _pcbnew.PLOTTER_PenFinish(self)
8602 PlotPoly(PLOTTER self, VECTOR_VECTOR2I aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=None)
8603 PlotPoly(PLOTTER self, SHAPE_LINE_CHAIN aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=
None)
8605 return _pcbnew.PLOTTER_PlotPoly(self, *args)
8608 r"""PlotImage(PLOTTER self, wxImage const & aImage, VECTOR2I aPos, double aScaleFactor)"""
8609 return _pcbnew.PLOTTER_PlotImage(self, aImage, aPos, aScaleFactor)
8612 r"""ThickSegment(PLOTTER self, VECTOR2I start, VECTOR2I end, int width, OUTLINE_MODE tracemode, void * aData)"""
8613 return _pcbnew.PLOTTER_ThickSegment(self, start, end, width, tracemode, aData)
8617 ThickArc(PLOTTER self, EDA_SHAPE aArcShape, OUTLINE_MODE aTraceMode, void * aData, int aWidth)
8618 ThickArc(PLOTTER self, VECTOR2D const & aCentre, EDA_ANGLE aStAngle, EDA_ANGLE aAngle, double aRadius, int aWidth, OUTLINE_MODE aTraceMode, void * aData)
8620 return _pcbnew.PLOTTER_ThickArc(self, *args)
8623 r"""ThickRect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, int width, OUTLINE_MODE tracemode, void * aData)"""
8624 return _pcbnew.PLOTTER_ThickRect(self, p1, p2, width, tracemode, aData)
8627 r"""ThickCircle(PLOTTER self, VECTOR2I pos, int diametre, int width, OUTLINE_MODE tracemode, void * aData)"""
8628 return _pcbnew.PLOTTER_ThickCircle(self, pos, diametre, width, tracemode, aData)
8631 r"""FilledCircle(PLOTTER self, VECTOR2I pos, int diametre, OUTLINE_MODE tracemode, void * aData)"""
8632 return _pcbnew.PLOTTER_FilledCircle(self, pos, diametre, tracemode, aData)
8635 r"""FlashPadCircle(PLOTTER self, VECTOR2I aPadPos, int aDiameter, OUTLINE_MODE aTraceMode, void * aData)"""
8636 return _pcbnew.PLOTTER_FlashPadCircle(self, aPadPos, aDiameter, aTraceMode, aData)
8639 r"""FlashPadOval(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8640 return _pcbnew.PLOTTER_FlashPadOval(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
8643 r"""FlashPadRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8644 return _pcbnew.PLOTTER_FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
8647 r"""FlashPadRoundRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, int aCornerRadius, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8648 return _pcbnew.PLOTTER_FlashPadRoundRect(self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
8651 r"""FlashPadCustom(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, SHAPE_POLY_SET aPolygons, OUTLINE_MODE aTraceMode, void * aData)"""
8652 return _pcbnew.PLOTTER_FlashPadCustom(self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData)
8655 r"""FlashPadTrapez(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aCorners, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8656 return _pcbnew.PLOTTER_FlashPadTrapez(self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
8659 r"""FlashRegularPolygon(PLOTTER self, VECTOR2I aShapePos, int aDiameter, int aCornerCount, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8660 return _pcbnew.PLOTTER_FlashRegularPolygon(self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData)
8662 def Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData=None):
8663 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)"""
8664 return _pcbnew.PLOTTER_Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData)
8667 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)"""
8668 return _pcbnew.PLOTTER_PlotText(self, *args)
8671 r"""HyperlinkBox(PLOTTER self, BOX2I aBox, wxString aDestinationURL)"""
8672 return _pcbnew.PLOTTER_HyperlinkBox(self, aBox, aDestinationURL)
8675 r"""HyperlinkMenu(PLOTTER self, BOX2I aBox, std::vector< wxString,std::allocator< wxString > > const & aDestURLs)"""
8676 return _pcbnew.PLOTTER_HyperlinkMenu(self, aBox, aDestURLs)
8679 r"""Bookmark(PLOTTER self, BOX2I aBox, wxString aName, wxString aGroupName=wxEmptyString)"""
8680 return _pcbnew.PLOTTER_Bookmark(self, *args)
8681 MARKER_COUNT = _pcbnew.PLOTTER_MARKER_COUNT
8684 def Marker(self, position, diametre, aShapeId):
8685 r"""Marker(PLOTTER self, VECTOR2I position, int diametre, unsigned int aShapeId)"""
8686 return _pcbnew.PLOTTER_Marker(self, position, diametre, aShapeId)
8689 r"""SetLayerPolarity(PLOTTER self, bool aPositive)"""
8690 return _pcbnew.PLOTTER_SetLayerPolarity(self, aPositive)
8693 r"""SetTextMode(PLOTTER self, PLOT_TEXT_MODE mode)"""
8694 return _pcbnew.PLOTTER_SetTextMode(self, mode)
8697 r"""SetGerberCoordinatesFormat(PLOTTER self, int aResolution, bool aUseInches=False)"""
8698 return _pcbnew.PLOTTER_SetGerberCoordinatesFormat(self, aResolution, aUseInches)
8701 r"""SetSvgCoordinatesFormat(PLOTTER self, unsigned int aPrecision)"""
8702 return _pcbnew.PLOTTER_SetSvgCoordinatesFormat(self, aPrecision)
8705 r"""StartBlock(PLOTTER self, void * aData)"""
8706 return _pcbnew.PLOTTER_StartBlock(self, aData)
8709 r"""EndBlock(PLOTTER self, void * aData)"""
8710 return _pcbnew.PLOTTER_EndBlock(self, aData)
8713 r"""GetPlotOffsetUserUnits(PLOTTER self) -> VECTOR2I"""
8714 return _pcbnew.PLOTTER_GetPlotOffsetUserUnits(self)
8717_pcbnew.PLOTTER_swigregister(PLOTTER)
8720 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)"""
8721 return _pcbnew.PlotDrawingSheet(*args)
8724 r"""GetDefaultPlotExtension(PLOT_FORMAT aFormat) -> wxString"""
8725 return _pcbnew.GetDefaultPlotExtension(aFormat)
8727 r"""Proxy of C++ D356_RECORD class."""
8729 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8730 __repr__ = _swig_repr
8731 smd = property(_pcbnew.D356_RECORD_smd_get, _pcbnew.D356_RECORD_smd_set, doc=
r"""smd : bool""")
8732 hole = property(_pcbnew.D356_RECORD_hole_get, _pcbnew.D356_RECORD_hole_set, doc=
r"""hole : bool""")
8733 netname = property(_pcbnew.D356_RECORD_netname_get, _pcbnew.D356_RECORD_netname_set, doc=
r"""netname : wxString""")
8734 refdes = property(_pcbnew.D356_RECORD_refdes_get, _pcbnew.D356_RECORD_refdes_set, doc=
r"""refdes : wxString""")
8735 pin = property(_pcbnew.D356_RECORD_pin_get, _pcbnew.D356_RECORD_pin_set, doc=
r"""pin : wxString""")
8736 midpoint = property(_pcbnew.D356_RECORD_midpoint_get, _pcbnew.D356_RECORD_midpoint_set, doc=
r"""midpoint : bool""")
8737 drill = property(_pcbnew.D356_RECORD_drill_get, _pcbnew.D356_RECORD_drill_set, doc=
r"""drill : int""")
8738 mechanical = property(_pcbnew.D356_RECORD_mechanical_get, _pcbnew.D356_RECORD_mechanical_set, doc=
r"""mechanical : bool""")
8739 access = property(_pcbnew.D356_RECORD_access_get, _pcbnew.D356_RECORD_access_set, doc=
r"""access : int""")
8740 soldermask = property(_pcbnew.D356_RECORD_soldermask_get, _pcbnew.D356_RECORD_soldermask_set, doc=
r"""soldermask : int""")
8741 x_location = property(_pcbnew.D356_RECORD_x_location_get, _pcbnew.D356_RECORD_x_location_set, doc=
r"""x_location : int""")
8742 y_location = property(_pcbnew.D356_RECORD_y_location_get, _pcbnew.D356_RECORD_y_location_set, doc=
r"""y_location : int""")
8743 x_size = property(_pcbnew.D356_RECORD_x_size_get, _pcbnew.D356_RECORD_x_size_set, doc=
r"""x_size : int""")
8744 y_size = property(_pcbnew.D356_RECORD_y_size_get, _pcbnew.D356_RECORD_y_size_set, doc=
r"""y_size : int""")
8745 rotation = property(_pcbnew.D356_RECORD_rotation_get, _pcbnew.D356_RECORD_rotation_set, doc=
r"""rotation : int""")
8748 r"""__init__(D356_RECORD self) -> D356_RECORD"""
8749 _pcbnew.D356_RECORD_swiginit(self, _pcbnew.new_D356_RECORD())
8750 __swig_destroy__ = _pcbnew.delete_D356_RECORD
8753_pcbnew.D356_RECORD_swigregister(D356_RECORD)
8755 r"""Proxy of C++ IPC356D_WRITER class."""
8757 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8758 __repr__ = _swig_repr
8761 r"""__init__(IPC356D_WRITER self, BOARD aPcb, wxWindow * aParent=None) -> IPC356D_WRITER"""
8762 _pcbnew.IPC356D_WRITER_swiginit(self, _pcbnew.new_IPC356D_WRITER(aPcb, aParent))
8763 __swig_destroy__ = _pcbnew.delete_IPC356D_WRITER
8766 r"""Write(IPC356D_WRITER self, wxString aFilename)"""
8767 return _pcbnew.IPC356D_WRITER_Write(self, aFilename)
8770_pcbnew.IPC356D_WRITER_swigregister(IPC356D_WRITER)
8772 r"""Proxy of C++ PLACE_FILE_EXPORTER class."""
8774 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8775 __repr__ = _swig_repr
8777 def __init__(self, aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX):
8778 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"""
8779 _pcbnew.PLACE_FILE_EXPORTER_swiginit(self, _pcbnew.new_PLACE_FILE_EXPORTER(aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX))
8782 r"""GenPositionData(PLACE_FILE_EXPORTER self) -> string"""
8783 return _pcbnew.PLACE_FILE_EXPORTER_GenPositionData(self)
8786 r"""GenReportData(PLACE_FILE_EXPORTER self) -> string"""
8787 return _pcbnew.PLACE_FILE_EXPORTER_GenReportData(self)
8790 r"""GetFootprintCount(PLACE_FILE_EXPORTER self) -> int"""
8791 return _pcbnew.PLACE_FILE_EXPORTER_GetFootprintCount(self)
8795 r"""GetFrontSideName() -> string"""
8796 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
8800 r"""GetBackSideName() -> string"""
8801 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
8802 __swig_destroy__ = _pcbnew.delete_PLACE_FILE_EXPORTER
8805_pcbnew.PLACE_FILE_EXPORTER_swigregister(PLACE_FILE_EXPORTER)
8807 r"""Proxy of C++ EXPORTER_VRML class."""
8809 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8810 __repr__ = _swig_repr
8813 r"""__init__(EXPORTER_VRML self, BOARD aBoard) -> EXPORTER_VRML"""
8814 _pcbnew.EXPORTER_VRML_swiginit(self, _pcbnew.new_EXPORTER_VRML(aBoard))
8815 __swig_destroy__ = _pcbnew.delete_EXPORTER_VRML
8817 def ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
8818 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"""
8819 return _pcbnew.EXPORTER_VRML_ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
8822_pcbnew.EXPORTER_VRML_swigregister(EXPORTER_VRML)
8823USE_ATTRIB_FOR_HOLES = _pcbnew.USE_ATTRIB_FOR_HOLES
8825HOLE_ATTRIBUTE_HOLE_UNKNOWN = _pcbnew.HOLE_ATTRIBUTE_HOLE_UNKNOWN
8827HOLE_ATTRIBUTE_HOLE_VIA_THROUGH = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_THROUGH
8829HOLE_ATTRIBUTE_HOLE_VIA_BURIED = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_BURIED
8831HOLE_ATTRIBUTE_HOLE_PAD = _pcbnew.HOLE_ATTRIBUTE_HOLE_PAD
8833HOLE_ATTRIBUTE_HOLE_MECHANICAL = _pcbnew.HOLE_ATTRIBUTE_HOLE_MECHANICAL
8836 r"""Proxy of C++ DRILL_TOOL class."""
8838 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8839 __repr__ = _swig_repr
8840 m_Diameter = property(_pcbnew.DRILL_TOOL_m_Diameter_get, _pcbnew.DRILL_TOOL_m_Diameter_set, doc=
r"""m_Diameter : int""")
8841 m_TotalCount = property(_pcbnew.DRILL_TOOL_m_TotalCount_get, _pcbnew.DRILL_TOOL_m_TotalCount_set, doc=
r"""m_TotalCount : int""")
8842 m_OvalCount = property(_pcbnew.DRILL_TOOL_m_OvalCount_get, _pcbnew.DRILL_TOOL_m_OvalCount_set, doc=
r"""m_OvalCount : int""")
8843 m_Hole_NotPlated = property(_pcbnew.DRILL_TOOL_m_Hole_NotPlated_get, _pcbnew.DRILL_TOOL_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
8844 m_HoleAttribute = property(_pcbnew.DRILL_TOOL_m_HoleAttribute_get, _pcbnew.DRILL_TOOL_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
8847 r"""__init__(DRILL_TOOL self, int aDiameter, bool a_NotPlated) -> DRILL_TOOL"""
8848 _pcbnew.DRILL_TOOL_swiginit(self, _pcbnew.new_DRILL_TOOL(aDiameter, a_NotPlated))
8849 __swig_destroy__ = _pcbnew.delete_DRILL_TOOL
8852_pcbnew.DRILL_TOOL_swigregister(DRILL_TOOL)
8854 r"""Proxy of C++ HOLE_INFO class."""
8856 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8857 __repr__ = _swig_repr
8860 r"""__init__(HOLE_INFO self) -> HOLE_INFO"""
8861 _pcbnew.HOLE_INFO_swiginit(self, _pcbnew.new_HOLE_INFO())
8862 m_ItemParent = property(_pcbnew.HOLE_INFO_m_ItemParent_get, _pcbnew.HOLE_INFO_m_ItemParent_set, doc=
r"""m_ItemParent : p.BOARD_ITEM""")
8863 m_Hole_Diameter = property(_pcbnew.HOLE_INFO_m_Hole_Diameter_get, _pcbnew.HOLE_INFO_m_Hole_Diameter_set, doc=
r"""m_Hole_Diameter : int""")
8864 m_Tool_Reference = property(_pcbnew.HOLE_INFO_m_Tool_Reference_get, _pcbnew.HOLE_INFO_m_Tool_Reference_set, doc=
r"""m_Tool_Reference : int""")
8865 m_Hole_Size = property(_pcbnew.HOLE_INFO_m_Hole_Size_get, _pcbnew.HOLE_INFO_m_Hole_Size_set, doc=
r"""m_Hole_Size : VECTOR2I""")
8866 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""")
8867 m_Hole_Shape = property(_pcbnew.HOLE_INFO_m_Hole_Shape_get, _pcbnew.HOLE_INFO_m_Hole_Shape_set, doc=
r"""m_Hole_Shape : int""")
8868 m_Hole_Pos = property(_pcbnew.HOLE_INFO_m_Hole_Pos_get, _pcbnew.HOLE_INFO_m_Hole_Pos_set, doc=
r"""m_Hole_Pos : VECTOR2I""")
8869 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""")
8870 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""")
8871 m_Hole_NotPlated = property(_pcbnew.HOLE_INFO_m_Hole_NotPlated_get, _pcbnew.HOLE_INFO_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
8872 m_HoleAttribute = property(_pcbnew.HOLE_INFO_m_HoleAttribute_get, _pcbnew.HOLE_INFO_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
8873 __swig_destroy__ = _pcbnew.delete_HOLE_INFO
8876_pcbnew.HOLE_INFO_swigregister(HOLE_INFO)
8878 r"""Proxy of C++ DRILL_PRECISION class."""
8880 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8881 __repr__ = _swig_repr
8884 r"""__init__(DRILL_PRECISION self, int l=2, int r=4) -> DRILL_PRECISION"""
8885 _pcbnew.DRILL_PRECISION_swiginit(self, _pcbnew.new_DRILL_PRECISION(l, r))
8888 r"""GetPrecisionString(DRILL_PRECISION self) -> wxString"""
8889 return _pcbnew.DRILL_PRECISION_GetPrecisionString(self)
8890 m_Lhs = property(_pcbnew.DRILL_PRECISION_m_Lhs_get, _pcbnew.DRILL_PRECISION_m_Lhs_set, doc=
r"""m_Lhs : int""")
8891 m_Rhs = property(_pcbnew.DRILL_PRECISION_m_Rhs_get, _pcbnew.DRILL_PRECISION_m_Rhs_set, doc=
r"""m_Rhs : int""")
8892 __swig_destroy__ = _pcbnew.delete_DRILL_PRECISION
8895_pcbnew.DRILL_PRECISION_swigregister(DRILL_PRECISION)
8897 r"""Proxy of C++ GENDRILL_WRITER_BASE class."""
8899 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8902 raise AttributeError(
"No constructor defined")
8903 __repr__ = _swig_repr
8904 DECIMAL_FORMAT = _pcbnew.GENDRILL_WRITER_BASE_DECIMAL_FORMAT
8906 SUPPRESS_LEADING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_LEADING
8908 SUPPRESS_TRAILING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_TRAILING
8910 KEEP_ZEROS = _pcbnew.GENDRILL_WRITER_BASE_KEEP_ZEROS
8912 PTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_PTH_FILE
8914 NPTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_NPTH_FILE
8916 MIXED_FILE = _pcbnew.GENDRILL_WRITER_BASE_MIXED_FILE
8918 __swig_destroy__ = _pcbnew.delete_GENDRILL_WRITER_BASE
8921 r"""SetMergeOption(GENDRILL_WRITER_BASE self, bool aMerge)"""
8922 return _pcbnew.GENDRILL_WRITER_BASE_SetMergeOption(self, aMerge)
8925 r"""GetOffset(GENDRILL_WRITER_BASE self) -> VECTOR2I"""
8926 return _pcbnew.GENDRILL_WRITER_BASE_GetOffset(self)
8929 r"""SetPageInfo(GENDRILL_WRITER_BASE self, PAGE_INFO const * aPageInfo)"""
8930 return _pcbnew.GENDRILL_WRITER_BASE_SetPageInfo(self, aPageInfo)
8933 r"""SetMapFileFormat(GENDRILL_WRITER_BASE self, PLOT_FORMAT aMapFmt)"""
8934 return _pcbnew.GENDRILL_WRITER_BASE_SetMapFileFormat(self, aMapFmt)
8937 r"""CreateMapFilesSet(GENDRILL_WRITER_BASE self, wxString aPlotDirectory, REPORTER * aReporter=None) -> bool"""
8938 return _pcbnew.GENDRILL_WRITER_BASE_CreateMapFilesSet(self, aPlotDirectory, aReporter)
8941 r"""GenDrillReportFile(GENDRILL_WRITER_BASE self, wxString aFullFileName) -> bool"""
8942 return _pcbnew.GENDRILL_WRITER_BASE_GenDrillReportFile(self, aFullFileName)
8945 r"""GetDrillFileExt(GENDRILL_WRITER_BASE self) -> wxString"""
8946 return _pcbnew.GENDRILL_WRITER_BASE_GetDrillFileExt(self)
8949_pcbnew.GENDRILL_WRITER_BASE_swigregister(GENDRILL_WRITER_BASE)
8951 r"""Proxy of C++ EXCELLON_WRITER class."""
8953 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8954 __repr__ = _swig_repr
8957 r"""__init__(EXCELLON_WRITER self, BOARD aPcb) -> EXCELLON_WRITER"""
8958 _pcbnew.EXCELLON_WRITER_swiginit(self, _pcbnew.new_EXCELLON_WRITER(aPcb))
8959 __swig_destroy__ = _pcbnew.delete_EXCELLON_WRITER
8962 r"""GetOffset(EXCELLON_WRITER self) -> VECTOR2I"""
8963 return _pcbnew.EXCELLON_WRITER_GetOffset(self)
8966 r"""SetRouteModeForOvalHoles(EXCELLON_WRITER self, bool aUseRouteModeForOvalHoles)"""
8967 return _pcbnew.EXCELLON_WRITER_SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles)
8970 r"""SetFormat(EXCELLON_WRITER self, bool aMetric, GENDRILL_WRITER_BASE::ZEROS_FMT aZerosFmt=DECIMAL_FORMAT, int aLeftDigits=0, int aRightDigits=0)"""
8971 return _pcbnew.EXCELLON_WRITER_SetFormat(self, *args)
8973 def SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH):
8974 r"""SetOptions(EXCELLON_WRITER self, bool aMirror, bool aMinimalHeader, VECTOR2I aOffset, bool aMerge_PTH_NPTH)"""
8975 return _pcbnew.EXCELLON_WRITER_SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH)
8978 r"""CreateDrillandMapFilesSet(EXCELLON_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
8979 return _pcbnew.EXCELLON_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
8982_pcbnew.EXCELLON_WRITER_swigregister(EXCELLON_WRITER)
8984 r"""Proxy of C++ GERBER_WRITER class."""
8986 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8987 __repr__ = _swig_repr
8990 r"""__init__(GERBER_WRITER self, BOARD aPcb) -> GERBER_WRITER"""
8991 _pcbnew.GERBER_WRITER_swiginit(self, _pcbnew.new_GERBER_WRITER(aPcb))
8992 __swig_destroy__ = _pcbnew.delete_GERBER_WRITER
8995 r"""SetFormat(GERBER_WRITER self, int aRightDigits=6)"""
8996 return _pcbnew.GERBER_WRITER_SetFormat(self, aRightDigits)
8999 r"""SetOptions(GERBER_WRITER self, VECTOR2I aOffset)"""
9000 return _pcbnew.GERBER_WRITER_SetOptions(self, aOffset)
9003 r"""CreateDrillandMapFilesSet(GERBER_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
9004 return _pcbnew.GERBER_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
9007_pcbnew.GERBER_WRITER_swigregister(GERBER_WRITER)
9008SIDE_NONE = _pcbnew.SIDE_NONE
9010SIDE_TOP = _pcbnew.SIDE_TOP
9012SIDE_BOTTOM = _pcbnew.SIDE_BOTTOM
9014SIDE_BOTH = _pcbnew.SIDE_BOTH
9017 r"""Proxy of C++ JOBFILE_PARAMS class."""
9019 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9020 __repr__ = _swig_repr
9021 m_GerberFileList = property(_pcbnew.JOBFILE_PARAMS_m_GerberFileList_get, _pcbnew.JOBFILE_PARAMS_m_GerberFileList_set, doc=
r"""m_GerberFileList : wxArrayString""")
9022 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)>)>""")
9025 r"""__init__(JOBFILE_PARAMS self) -> JOBFILE_PARAMS"""
9026 _pcbnew.JOBFILE_PARAMS_swiginit(self, _pcbnew.new_JOBFILE_PARAMS())
9027 __swig_destroy__ = _pcbnew.delete_JOBFILE_PARAMS
9030_pcbnew.JOBFILE_PARAMS_swigregister(JOBFILE_PARAMS)
9032 r"""Proxy of C++ GERBER_JOBFILE_WRITER class."""
9034 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9035 __repr__ = _swig_repr
9038 r"""__init__(GERBER_JOBFILE_WRITER self, BOARD aPcb, REPORTER * aReporter=None) -> GERBER_JOBFILE_WRITER"""
9039 _pcbnew.GERBER_JOBFILE_WRITER_swiginit(self, _pcbnew.new_GERBER_JOBFILE_WRITER(aPcb, aReporter))
9040 __swig_destroy__ = _pcbnew.delete_GERBER_JOBFILE_WRITER
9043 r"""AddGbrFile(GERBER_JOBFILE_WRITER self, PCB_LAYER_ID aLayer, wxString aFilename)"""
9044 return _pcbnew.GERBER_JOBFILE_WRITER_AddGbrFile(self, aLayer, aFilename)
9047 r"""CreateJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9048 return _pcbnew.GERBER_JOBFILE_WRITER_CreateJobFile(self, aFullFilename)
9051 r"""WriteJSONJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9052 return _pcbnew.GERBER_JOBFILE_WRITER_WriteJSONJobFile(self, aFullFilename)
9055_pcbnew.GERBER_JOBFILE_WRITER_swigregister(GERBER_JOBFILE_WRITER)
9056ROOM_FOR_KICADMANAGER = _pcbnew.ROOM_FOR_KICADMANAGER
9058ROOM_FOR_3D_VIEWER = _pcbnew.ROOM_FOR_3D_VIEWER
9060ROOM_FOR_PANEL_PREV_MODEL = _pcbnew.ROOM_FOR_PANEL_PREV_MODEL
9062DEFAULT_FILE_HISTORY_SIZE = _pcbnew.DEFAULT_FILE_HISTORY_SIZE
9064MAX_FILE_HISTORY_SIZE = _pcbnew.MAX_FILE_HISTORY_SIZE
9066ID_LOAD_FILE = _pcbnew.ID_LOAD_FILE
9068ID_NEW_BOARD = _pcbnew.ID_NEW_BOARD
9070ID_SAVE_BOARD = _pcbnew.ID_SAVE_BOARD
9072ID_SAVE_BOARD_AS = _pcbnew.ID_SAVE_BOARD_AS
9074ID_AUTO_SAVE_TIMER = _pcbnew.ID_AUTO_SAVE_TIMER
9076ID_FILE = _pcbnew.ID_FILE
9078ID_FILE1 = _pcbnew.ID_FILE1
9080ID_FILEMAX = _pcbnew.ID_FILEMAX
9082ID_FILE_LIST_EMPTY = _pcbnew.ID_FILE_LIST_EMPTY
9084ID_FILE_LIST_CLEAR = _pcbnew.ID_FILE_LIST_CLEAR
9086ID_PREFERENCES_RESET_PANEL = _pcbnew.ID_PREFERENCES_RESET_PANEL
9088ID_GEN_PLOT = _pcbnew.ID_GEN_PLOT
9090ID_GEN_PLOT_PS = _pcbnew.ID_GEN_PLOT_PS
9092ID_GEN_PLOT_HPGL = _pcbnew.ID_GEN_PLOT_HPGL
9094ID_GEN_PLOT_GERBER = _pcbnew.ID_GEN_PLOT_GERBER
9096ID_GEN_PLOT_SVG = _pcbnew.ID_GEN_PLOT_SVG
9098ID_GEN_PLOT_DXF = _pcbnew.ID_GEN_PLOT_DXF
9100ID_GEN_PLOT_PDF = _pcbnew.ID_GEN_PLOT_PDF
9102ID_H_TOOLBAR = _pcbnew.ID_H_TOOLBAR
9104ID_V_TOOLBAR = _pcbnew.ID_V_TOOLBAR
9106ID_OPT_TOOLBAR = _pcbnew.ID_OPT_TOOLBAR
9108ID_AUX_TOOLBAR = _pcbnew.ID_AUX_TOOLBAR
9110ID_LANGUAGE_CHOICE = _pcbnew.ID_LANGUAGE_CHOICE
9112ID_LANGUAGE_DANISH = _pcbnew.ID_LANGUAGE_DANISH
9114ID_LANGUAGE_DEFAULT = _pcbnew.ID_LANGUAGE_DEFAULT
9116ID_LANGUAGE_ENGLISH = _pcbnew.ID_LANGUAGE_ENGLISH
9118ID_LANGUAGE_FRENCH = _pcbnew.ID_LANGUAGE_FRENCH
9120ID_LANGUAGE_FINNISH = _pcbnew.ID_LANGUAGE_FINNISH
9122ID_LANGUAGE_HEBREW = _pcbnew.ID_LANGUAGE_HEBREW
9124ID_LANGUAGE_SPANISH = _pcbnew.ID_LANGUAGE_SPANISH
9126ID_LANGUAGE_SPANISH_MEXICAN = _pcbnew.ID_LANGUAGE_SPANISH_MEXICAN
9128ID_LANGUAGE_GERMAN = _pcbnew.ID_LANGUAGE_GERMAN
9130ID_LANGUAGE_GREEK = _pcbnew.ID_LANGUAGE_GREEK
9132ID_LANGUAGE_NORWEGIAN = _pcbnew.ID_LANGUAGE_NORWEGIAN
9134ID_LANGUAGE_RUSSIAN = _pcbnew.ID_LANGUAGE_RUSSIAN
9136ID_LANGUAGE_PORTUGUESE = _pcbnew.ID_LANGUAGE_PORTUGUESE
9138ID_LANGUAGE_PORTUGUESE_BRAZILIAN = _pcbnew.ID_LANGUAGE_PORTUGUESE_BRAZILIAN
9140ID_LANGUAGE_TURKISH = _pcbnew.ID_LANGUAGE_TURKISH
9142ID_LANGUAGE_INDONESIAN = _pcbnew.ID_LANGUAGE_INDONESIAN
9144ID_LANGUAGE_ITALIAN = _pcbnew.ID_LANGUAGE_ITALIAN
9146ID_LANGUAGE_SLOVENIAN = _pcbnew.ID_LANGUAGE_SLOVENIAN
9148ID_LANGUAGE_SLOVAK = _pcbnew.ID_LANGUAGE_SLOVAK
9150ID_LANGUAGE_HUNGARIAN = _pcbnew.ID_LANGUAGE_HUNGARIAN
9152ID_LANGUAGE_POLISH = _pcbnew.ID_LANGUAGE_POLISH
9154ID_LANGUAGE_CZECH = _pcbnew.ID_LANGUAGE_CZECH
9156ID_LANGUAGE_KOREAN = _pcbnew.ID_LANGUAGE_KOREAN
9158ID_LANGUAGE_CATALAN = _pcbnew.ID_LANGUAGE_CATALAN
9160ID_LANGUAGE_CHINESE_SIMPLIFIED = _pcbnew.ID_LANGUAGE_CHINESE_SIMPLIFIED
9162ID_LANGUAGE_CHINESE_TRADITIONAL = _pcbnew.ID_LANGUAGE_CHINESE_TRADITIONAL
9164ID_LANGUAGE_DUTCH = _pcbnew.ID_LANGUAGE_DUTCH
9166ID_LANGUAGE_JAPANESE = _pcbnew.ID_LANGUAGE_JAPANESE
9168ID_LANGUAGE_BULGARIAN = _pcbnew.ID_LANGUAGE_BULGARIAN
9170ID_LANGUAGE_LATVIAN = _pcbnew.ID_LANGUAGE_LATVIAN
9172ID_LANGUAGE_LITHUANIAN = _pcbnew.ID_LANGUAGE_LITHUANIAN
9174ID_LANGUAGE_VIETNAMESE = _pcbnew.ID_LANGUAGE_VIETNAMESE
9176ID_LANGUAGE_SERBIAN = _pcbnew.ID_LANGUAGE_SERBIAN
9178ID_LANGUAGE_THAI = _pcbnew.ID_LANGUAGE_THAI
9180ID_LANGUAGE_SWEDISH = _pcbnew.ID_LANGUAGE_SWEDISH
9182ID_LANGUAGE_UKRANIAN = _pcbnew.ID_LANGUAGE_UKRANIAN
9184ID_LANGUAGE_CHOICE_END = _pcbnew.ID_LANGUAGE_CHOICE_END
9186ID_ON_ZOOM_SELECT = _pcbnew.ID_ON_ZOOM_SELECT
9188ID_ON_GRID_SELECT = _pcbnew.ID_ON_GRID_SELECT
9190ID_POPUP_ZOOM_LEVEL_START = _pcbnew.ID_POPUP_ZOOM_LEVEL_START
9192ID_POPUP_ZOOM_LEVEL_END = _pcbnew.ID_POPUP_ZOOM_LEVEL_END
9194ID_POPUP_GRID_START = _pcbnew.ID_POPUP_GRID_START
9196ID_POPUP_GRID_END = _pcbnew.ID_POPUP_GRID_END
9198ID_EDA_SOCKET_EVENT_SERV = _pcbnew.ID_EDA_SOCKET_EVENT_SERV
9200ID_EDA_SOCKET_EVENT = _pcbnew.ID_EDA_SOCKET_EVENT
9202ID_KICAD_MANAGER_START = _pcbnew.ID_KICAD_MANAGER_START
9204ID_KICAD_MANAGER_END = _pcbnew.ID_KICAD_MANAGER_END
9206ID_KICAD_3D_VIEWER_START = _pcbnew.ID_KICAD_3D_VIEWER_START
9208ID_KICAD_3D_VIEWER_END = _pcbnew.ID_KICAD_3D_VIEWER_END
9210ID_KICAD_PANEL_PREV_MODEL_START = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_START
9212ID_KICAD_PANEL_PREV_MODEL_END = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_END
9214ID_POPUP_MENU_START = _pcbnew.ID_POPUP_MENU_START
9216ID_POPUP_MENU_END = _pcbnew.ID_POPUP_MENU_END
9218ID_END_LIST = _pcbnew.ID_END_LIST
9222 r"""GetBoard() -> BOARD"""
9223 return _pcbnew.GetBoard()
9227 LoadBoard(wxString aFileName, PCB_IO_MGR::PCB_FILE_T aFormat) -> BOARD
9230 return _pcbnew.LoadBoard(*args)
9233 r"""NewBoard(wxString aFileName) -> BOARD"""
9234 return _pcbnew.NewBoard(aFileName)
9237 r"""GetSettingsManager() -> SETTINGS_MANAGER"""
9238 return _pcbnew.GetSettingsManager()
9241 r"""CreateEmptyBoard() -> BOARD"""
9242 return _pcbnew.CreateEmptyBoard()
9245 r"""SaveBoard(wxString aFileName, BOARD aBoard, bool aSkipSettings=False) -> bool"""
9246 return _pcbnew.SaveBoard(aFileName, aBoard, aSkipSettings)
9249 r"""GetFootprintLibraries() -> wxArrayString"""
9250 return _pcbnew.GetFootprintLibraries()
9253 r"""GetFootprints(wxString aNickName) -> wxArrayString"""
9254 return _pcbnew.GetFootprints(aNickName)
9261 return _pcbnew.ExportSpecctraDSN(*args)
9263def ExportVRML(aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
9264 r"""ExportVRML(wxString aFullFileName, double aMMtoWRMLunit, bool aIncludeUnspecified, bool aIncludeDNP, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
9265 return _pcbnew.ExportVRML(aFullFileName, aMMtoWRMLunit, aIncludeUnspecified, aIncludeDNP, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
9272 return _pcbnew.ImportSpecctraSES(*args)
9275 r"""ExportFootprintsToLibrary(bool aStoreInNewLib, wxString aLibName=wxEmptyString, wxString aLibPath=None) -> bool"""
9276 return _pcbnew.ExportFootprintsToLibrary(*args)
9280 return _pcbnew.Refresh()
9283 r"""UpdateUserInterface()"""
9284 return _pcbnew.UpdateUserInterface()
9287 r"""GetUserUnits() -> int"""
9288 return _pcbnew.GetUserUnits()
9291 r"""GetCurrentSelection() -> DRAWINGS"""
9292 return _pcbnew.GetCurrentSelection()
9295 r"""FocusOnItem(BOARD_ITEM aItem, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
9296 return _pcbnew.FocusOnItem(aItem, aLayer)
9299 r"""IsActionRunning() -> bool"""
9300 return _pcbnew.IsActionRunning()
9303 r"""WriteDRCReport(BOARD aBoard, wxString aFileName, EDA_UNITS aUnits, bool aReportAllTrackErrors) -> bool"""
9304 return _pcbnew.WriteDRCReport(aBoard, aFileName, aUnits, aReportAllTrackErrors)
9307 r"""GetLanguage() -> wxString"""
9308 return _pcbnew.GetLanguage()
9310 r"""Proxy of C++ std::vector< enum PCB_LAYER_ID > class."""
9312 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9313 __repr__ = _swig_repr
9316 r"""iterator(base_seqVect self) -> SwigPyIterator"""
9317 return _pcbnew.base_seqVect_iterator(self)
9322 r"""__nonzero__(base_seqVect self) -> bool"""
9323 return _pcbnew.base_seqVect___nonzero__(self)
9326 r"""__bool__(base_seqVect self) -> bool"""
9327 return _pcbnew.base_seqVect___bool__(self)
9330 r"""__len__(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
9331 return _pcbnew.base_seqVect___len__(self)
9334 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"""
9335 return _pcbnew.base_seqVect___getslice__(self, i, j)
9339 __setslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)
9340 __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)
9342 return _pcbnew.base_seqVect___setslice__(self, *args)
9345 r"""__delslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)"""
9346 return _pcbnew.base_seqVect___delslice__(self, i, j)
9350 __delitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i)
9351 __delitem__(base_seqVect self, SWIGPY_SLICEOBJECT * slice)
9353 return _pcbnew.base_seqVect___delitem__(self, *args)
9357 __getitem__(base_seqVect self, SWIGPY_SLICEOBJECT * slice) -> base_seqVect
9358 __getitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i) -> std::vector< enum PCB_LAYER_ID >::value_type const &
9360 return _pcbnew.base_seqVect___getitem__(self, *args)
9364 __setitem__(base_seqVect self, SWIGPY_SLICEOBJECT * slice, base_seqVect v)
9365 __setitem__(base_seqVect self, SWIGPY_SLICEOBJECT * slice)
9366 __setitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::value_type const & x)
9368 return _pcbnew.base_seqVect___setitem__(self, *args)
9371 r"""pop(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type"""
9372 return _pcbnew.base_seqVect_pop(self)
9375 r"""append(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
9376 return _pcbnew.base_seqVect_append(self, x)
9379 r"""empty(base_seqVect self) -> bool"""
9380 return _pcbnew.base_seqVect_empty(self)
9383 r"""size(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
9384 return _pcbnew.base_seqVect_size(self)
9387 r"""swap(base_seqVect self, base_seqVect v)"""
9388 return _pcbnew.base_seqVect_swap(self, v)
9391 r"""begin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
9392 return _pcbnew.base_seqVect_begin(self)
9395 r"""end(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
9396 return _pcbnew.base_seqVect_end(self)
9399 r"""rbegin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
9400 return _pcbnew.base_seqVect_rbegin(self)
9403 r"""rend(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
9404 return _pcbnew.base_seqVect_rend(self)
9407 r"""clear(base_seqVect self)"""
9408 return _pcbnew.base_seqVect_clear(self)
9411 r"""get_allocator(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::allocator_type"""
9412 return _pcbnew.base_seqVect_get_allocator(self)
9415 r"""pop_back(base_seqVect self)"""
9416 return _pcbnew.base_seqVect_pop_back(self)
9420 erase(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator pos) -> std::vector< enum PCB_LAYER_ID >::iterator
9421 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
9423 return _pcbnew.base_seqVect_erase(self, *args)
9427 __init__(base_seqVect self) -> base_seqVect
9428 __init__(base_seqVect self, base_seqVect other) -> base_seqVect
9429 __init__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type size) -> base_seqVect
9430 __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
9432 _pcbnew.base_seqVect_swiginit(self, _pcbnew.new_base_seqVect(*args))
9435 r"""push_back(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
9436 return _pcbnew.base_seqVect_push_back(self, x)
9439 r"""front(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
9440 return _pcbnew.base_seqVect_front(self)
9443 r"""back(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
9444 return _pcbnew.base_seqVect_back(self)
9447 r"""assign(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
9448 return _pcbnew.base_seqVect_assign(self, n, x)
9452 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size)
9453 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size, std::vector< enum PCB_LAYER_ID >::value_type const & x)
9455 return _pcbnew.base_seqVect_resize(self, *args)
9459 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
9460 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)
9462 return _pcbnew.base_seqVect_insert(self, *args)
9465 r"""reserve(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n)"""
9466 return _pcbnew.base_seqVect_reserve(self, n)
9469 r"""capacity(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
9470 return _pcbnew.base_seqVect_capacity(self)
9471 __swig_destroy__ = _pcbnew.delete_base_seqVect
9474_pcbnew.base_seqVect_swigregister(base_seqVect)
9476 r"""Proxy of C++ LSEQ class."""
9478 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9479 __repr__ = _swig_repr
9484 __init__(LSEQ self, std::initializer_list< PCB_LAYER_ID > aLayers) -> LSEQ
9486 _pcbnew.LSEQ_swiginit(self, _pcbnew.new_LSEQ(*args))
9489 r"""TestLayers(LSEQ self, PCB_LAYER_ID aRhs, PCB_LAYER_ID aLhs) -> int"""
9490 return _pcbnew.LSEQ_TestLayers(self, aRhs, aLhs)
9491 __swig_destroy__ = _pcbnew.delete_LSEQ
9494_pcbnew.LSEQ_swigregister(LSEQ)
9496 r"""Proxy of C++ LSET class."""
9498 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9499 __repr__ = _swig_repr
9504 __init__(LSET self, BASE_SET aOther) -> LSET
9505 __init__(LSET self, std::initializer_list< PCB_LAYER_ID > aList) -> LSET
9506 __init__(LSET self, base_seqVect aList) -> LSET
9507 __init__(LSET self, LSEQ aSeq) -> LSET
9508 __init__(LSET self, LAYER_RANGE const & aRange) -> LSET
9510 _pcbnew.LSET_swiginit(self, _pcbnew.new_LSET(*args))
9513 r"""Contains(LSET self, PCB_LAYER_ID aLayer) -> bool"""
9514 return _pcbnew.LSET_Contains(self, aLayer)
9518 r"""Name(PCB_LAYER_ID aLayerId) -> wxString"""
9519 return _pcbnew.LSET_Name(aLayerId)
9523 r"""NameToLayer(wxString aName) -> int"""
9524 return _pcbnew.LSET_NameToLayer(aName)
9528 r"""IsBetween(PCB_LAYER_ID aStart, PCB_LAYER_ID aEnd, PCB_LAYER_ID aLayer) -> bool"""
9529 return _pcbnew.LSET_IsBetween(aStart, aEnd, aLayer)
9533 r"""InternalCuMask() -> LSET"""
9534 return _pcbnew.LSET_InternalCuMask()
9538 r"""FrontAssembly() -> LSET"""
9539 return _pcbnew.LSET_FrontAssembly()
9543 r"""BackAssembly() -> LSET"""
9544 return _pcbnew.LSET_BackAssembly()
9548 r"""AllCuMask(int aCuLayerCount=32) -> LSET"""
9549 return _pcbnew.LSET_AllCuMask(aCuLayerCount)
9553 r"""ExternalCuMask() -> LSET"""
9554 return _pcbnew.LSET_ExternalCuMask()
9558 r"""AllNonCuMask() -> LSET"""
9559 return _pcbnew.LSET_AllNonCuMask()
9563 r"""AllLayersMask() -> LSET"""
9564 return _pcbnew.LSET_AllLayersMask()
9568 r"""FrontTechMask() -> LSET"""
9569 return _pcbnew.LSET_FrontTechMask()
9573 r"""FrontBoardTechMask() -> LSET"""
9574 return _pcbnew.LSET_FrontBoardTechMask()
9578 r"""BackTechMask() -> LSET"""
9579 return _pcbnew.LSET_BackTechMask()
9583 r"""BackBoardTechMask() -> LSET"""
9584 return _pcbnew.LSET_BackBoardTechMask()
9588 r"""AllTechMask() -> LSET"""
9589 return _pcbnew.LSET_AllTechMask()
9593 r"""AllBoardTechMask() -> LSET"""
9594 return _pcbnew.LSET_AllBoardTechMask()
9598 r"""FrontMask() -> LSET"""
9599 return _pcbnew.LSET_FrontMask()
9603 r"""BackMask() -> LSET"""
9604 return _pcbnew.LSET_BackMask()
9608 r"""SideSpecificMask() -> LSET"""
9609 return _pcbnew.LSET_SideSpecificMask()
9613 r"""UserMask() -> LSET"""
9614 return _pcbnew.LSET_UserMask()
9618 r"""PhysicalLayersMask() -> LSET"""
9619 return _pcbnew.LSET_PhysicalLayersMask()
9623 r"""UserDefinedLayers() -> LSET"""
9624 return _pcbnew.LSET_UserDefinedLayers()
9628 r"""ForbiddenFootprintLayers() -> LSET"""
9629 return _pcbnew.LSET_ForbiddenFootprintLayers()
9632 r"""CuStack(LSET self) -> LSEQ"""
9633 return _pcbnew.LSET_CuStack(self)
9636 r"""TechAndUserUIOrder(LSET self) -> LSEQ"""
9637 return _pcbnew.LSET_TechAndUserUIOrder(self)
9640 r"""UIOrder(LSET self) -> LSEQ"""
9641 return _pcbnew.LSET_UIOrder(self)
9645 Seq(LSET self, LSEQ aSequence) -> LSEQ
9646 Seq(LSET self) -> LSEQ
9648 return _pcbnew.LSET_Seq(self, *args)
9651 r"""SeqStackupTop2Bottom(LSET self, PCB_LAYER_ID aSelectedLayer=UNDEFINED_LAYER) -> LSEQ"""
9652 return _pcbnew.LSET_SeqStackupTop2Bottom(self, aSelectedLayer)
9655 r"""SeqStackupForPlotting(LSET self) -> LSEQ"""
9656 return _pcbnew.LSET_SeqStackupForPlotting(self)
9659 r"""RunOnLayers(LSET self, std::function< void (PCB_LAYER_ID) > const & aFunction)"""
9660 return _pcbnew.LSET_RunOnLayers(self, aFunction)
9663 r"""FmtHex(LSET self) -> string"""
9664 return _pcbnew.LSET_FmtHex(self)
9668 ParseHex(LSET self, char const * aStart, int aCount) -> int
9669 ParseHex(LSET self, string str) -> int
9671 return _pcbnew.LSET_ParseHex(self, *args)
9674 r"""FmtBin(LSET self) -> string"""
9675 return _pcbnew.LSET_FmtBin(self)
9678 r"""ExtractLayer(LSET self) -> PCB_LAYER_ID"""
9679 return _pcbnew.LSET_ExtractLayer(self)
9681 def Flip(self, aCopperLayersCount=0):
9682 r"""Flip(LSET self, int aCopperLayersCount=0) -> LSET"""
9683 return _pcbnew.LSET_Flip(self, aCopperLayersCount)
9687 r"""LayerCount(PCB_LAYER_ID aStart, PCB_LAYER_ID aEnd, int aCopperLayerCount) -> int"""
9688 return _pcbnew.LSET_LayerCount(aStart, aEnd, aCopperLayerCount)
9691 r"""addLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
9692 return _pcbnew.LSET_addLayer(self, aLayer)
9695 r"""removeLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
9696 return _pcbnew.LSET_removeLayer(self, aLayer)
9699 r"""addLayerSet(LSET self, LSET aLayerSet) -> LSET"""
9700 return _pcbnew.LSET_addLayerSet(self, aLayerSet)
9703 r"""removeLayerSet(LSET self, LSET aLayerSet) -> LSET"""
9704 return _pcbnew.LSET_removeLayerSet(self, aLayerSet)
9718 __swig_destroy__ = _pcbnew.delete_LSET
9721_pcbnew.LSET_swigregister(LSET)
9722ZLO_NONE = _pcbnew.ZLO_NONE
9724ZLO_FORCE_FLASHED = _pcbnew.ZLO_FORCE_FLASHED
9726ZLO_FORCE_NO_ZONE_CONNECTION = _pcbnew.ZLO_FORCE_NO_ZONE_CONNECTION
9729 r"""Proxy of C++ BOARD_ITEM class."""
9731 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9734 raise AttributeError(
"No constructor defined - class is abstract")
9735 __repr__ = _swig_repr
9736 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM
9739 r"""SetParentGroup(BOARD_ITEM self, PCB_GROUP aGroup)"""
9740 return _pcbnew.BOARD_ITEM_SetParentGroup(self, aGroup)
9743 r"""GetParentGroup(BOARD_ITEM self) -> PCB_GROUP"""
9744 return _pcbnew.BOARD_ITEM_GetParentGroup(self)
9747 r"""GetX(BOARD_ITEM self) -> int"""
9748 return _pcbnew.BOARD_ITEM_GetX(self)
9751 r"""GetY(BOARD_ITEM self) -> int"""
9752 return _pcbnew.BOARD_ITEM_GetY(self)
9755 r"""GetCenter(BOARD_ITEM self) -> VECTOR2I"""
9756 return _pcbnew.BOARD_ITEM_GetCenter(self)
9759 r"""SetX(BOARD_ITEM self, int aX)"""
9760 return _pcbnew.BOARD_ITEM_SetX(self, aX)
9763 r"""SetY(BOARD_ITEM self, int aY)"""
9764 return _pcbnew.BOARD_ITEM_SetY(self, aY)
9767 r"""IsConnected(BOARD_ITEM self) -> bool"""
9768 return _pcbnew.BOARD_ITEM_IsConnected(self)
9771 r"""Similarity(BOARD_ITEM self, BOARD_ITEM aItem) -> double"""
9772 return _pcbnew.BOARD_ITEM_Similarity(self, aItem)
9775 r"""__eq__(BOARD_ITEM self, BOARD_ITEM aItem) -> bool"""
9776 return _pcbnew.BOARD_ITEM___eq__(self, aItem)
9779 r"""IsOnCopperLayer(BOARD_ITEM self) -> bool"""
9780 return _pcbnew.BOARD_ITEM_IsOnCopperLayer(self)
9783 r"""HasHole(BOARD_ITEM self) -> bool"""
9784 return _pcbnew.BOARD_ITEM_HasHole(self)
9787 r"""HasDrilledHole(BOARD_ITEM self) -> bool"""
9788 return _pcbnew.BOARD_ITEM_HasDrilledHole(self)
9791 r"""IsTented(BOARD_ITEM self, PCB_LAYER_ID aLayer) -> bool"""
9792 return _pcbnew.BOARD_ITEM_IsTented(self, aLayer)
9795 r"""GetEffectiveShape(BOARD_ITEM self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
9796 return _pcbnew.BOARD_ITEM_GetEffectiveShape(self, *args)
9799 r"""GetEffectiveHoleShape(BOARD_ITEM self) -> std::shared_ptr< SHAPE_SEGMENT >"""
9800 return _pcbnew.BOARD_ITEM_GetEffectiveHoleShape(self)
9803 r"""RunOnChildren(BOARD_ITEM self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
9804 return _pcbnew.BOARD_ITEM_RunOnChildren(self, aFunction)
9807 r"""RunOnDescendants(BOARD_ITEM self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
9808 return _pcbnew.BOARD_ITEM_RunOnDescendants(self, aFunction, aDepth)
9811 r"""GetParent(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
9812 return _pcbnew.BOARD_ITEM_GetParent(self)
9815 r"""GetParentFootprint(BOARD_ITEM self) -> FOOTPRINT"""
9816 return _pcbnew.BOARD_ITEM_GetParentFootprint(self)
9819 r"""GetFPRelativePosition(BOARD_ITEM self) -> VECTOR2I"""
9820 return _pcbnew.BOARD_ITEM_GetFPRelativePosition(self)
9823 r"""SetFPRelativePosition(BOARD_ITEM self, VECTOR2I aPos)"""
9824 return _pcbnew.BOARD_ITEM_SetFPRelativePosition(self, aPos)
9827 r"""HasLineStroke(BOARD_ITEM self) -> bool"""
9828 return _pcbnew.BOARD_ITEM_HasLineStroke(self)
9831 r"""GetStroke(BOARD_ITEM self) -> STROKE_PARAMS"""
9832 return _pcbnew.BOARD_ITEM_GetStroke(self)
9835 r"""SetStroke(BOARD_ITEM self, STROKE_PARAMS const & aStroke)"""
9836 return _pcbnew.BOARD_ITEM_SetStroke(self, aStroke)
9839 r"""GetFontMetrics(BOARD_ITEM self) -> KIFONT::METRICS const &"""
9840 return _pcbnew.BOARD_ITEM_GetFontMetrics(self)
9843 r"""GetLayer(BOARD_ITEM self) -> PCB_LAYER_ID"""
9844 return _pcbnew.BOARD_ITEM_GetLayer(self)
9847 r"""BoardLayerCount(BOARD_ITEM self) -> int"""
9848 return _pcbnew.BOARD_ITEM_BoardLayerCount(self)
9851 r"""BoardCopperLayerCount(BOARD_ITEM self) -> int"""
9852 return _pcbnew.BOARD_ITEM_BoardCopperLayerCount(self)
9855 r"""BoardLayerSet(BOARD_ITEM self) -> LSET"""
9856 return _pcbnew.BOARD_ITEM_BoardLayerSet(self)
9859 r"""GetLayerSet(BOARD_ITEM self) -> LSET"""
9860 return _pcbnew.BOARD_ITEM_GetLayerSet(self)
9863 r"""SetLayerSet(BOARD_ITEM self, LSET aLayers)"""
9864 return _pcbnew.BOARD_ITEM_SetLayerSet(self, aLayers)
9867 r"""IsSideSpecific(BOARD_ITEM self) -> bool"""
9868 return _pcbnew.BOARD_ITEM_IsSideSpecific(self)
9871 r"""SetLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer)"""
9872 return _pcbnew.BOARD_ITEM_SetLayer(self, aLayer)
9875 r"""Duplicate(BOARD_ITEM self) -> BOARD_ITEM"""
9876 return _pcbnew.BOARD_ITEM_Duplicate(self)
9879 r"""SwapItemData(BOARD_ITEM self, BOARD_ITEM aImage)"""
9880 return _pcbnew.BOARD_ITEM_SwapItemData(self, aImage)
9883 r"""IsOnLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer) -> bool"""
9884 return _pcbnew.BOARD_ITEM_IsOnLayer(self, aLayer)
9887 r"""IsKnockout(BOARD_ITEM self) -> bool"""
9888 return _pcbnew.BOARD_ITEM_IsKnockout(self)
9891 r"""SetIsKnockout(BOARD_ITEM self, bool aKnockout)"""
9892 return _pcbnew.BOARD_ITEM_SetIsKnockout(self, aKnockout)
9895 r"""IsLocked(BOARD_ITEM self) -> bool"""
9896 return _pcbnew.BOARD_ITEM_IsLocked(self)
9899 r"""SetLocked(BOARD_ITEM self, bool aLocked)"""
9900 return _pcbnew.BOARD_ITEM_SetLocked(self, aLocked)
9903 r"""StyleFromSettings(BOARD_ITEM self, BOARD_DESIGN_SETTINGS settings)"""
9904 return _pcbnew.BOARD_ITEM_StyleFromSettings(self, settings)
9907 r"""DeleteStructure(BOARD_ITEM self)"""
9908 return _pcbnew.BOARD_ITEM_DeleteStructure(self)
9911 r"""Move(BOARD_ITEM self, VECTOR2I aMoveVector)"""
9912 return _pcbnew.BOARD_ITEM_Move(self, aMoveVector)
9915 r"""Rotate(BOARD_ITEM self, VECTOR2I aRotCentre, EDA_ANGLE aAngle)"""
9916 return _pcbnew.BOARD_ITEM_Rotate(self, aRotCentre, aAngle)
9918 def Flip(self, aCentre, aFlipDirection):
9919 r"""Flip(BOARD_ITEM self, VECTOR2I aCentre, FLIP_DIRECTION aFlipDirection)"""
9920 return _pcbnew.BOARD_ITEM_Flip(self, aCentre, aFlipDirection)
9923 r"""Mirror(BOARD_ITEM self, VECTOR2I aCentre, FLIP_DIRECTION aFlipDirection)"""
9924 return _pcbnew.BOARD_ITEM_Mirror(self, aCentre, aFlipDirection)
9927 r"""Normalize(BOARD_ITEM self)"""
9928 return _pcbnew.BOARD_ITEM_Normalize(self)
9931 r"""NormalizeForCompare(BOARD_ITEM self)"""
9932 return _pcbnew.BOARD_ITEM_NormalizeForCompare(self)
9939 return _pcbnew.BOARD_ITEM_GetBoard(self, *args)
9942 r"""GetParentAsString(BOARD_ITEM self) -> wxString"""
9943 return _pcbnew.BOARD_ITEM_GetParentAsString(self)
9946 r"""GetLayerName(BOARD_ITEM self) -> wxString"""
9947 return _pcbnew.BOARD_ITEM_GetLayerName(self)
9950 r"""TransformShapeToPolygon(BOARD_ITEM self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
9951 return _pcbnew.BOARD_ITEM_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
9952 DRC = _pcbnew.BOARD_ITEM_DRC
9961 if ct==
"PCB_TEXTBOX":
9965 elif ct==
"PCB_DIM_ALIGNED":
9967 elif ct==
"PCB_DIM_LEADER":
9969 elif ct==
"PCB_DIM_CENTER":
9971 elif ct==
"PCB_DIM_RADIAL":
9973 elif ct==
"PCB_DIM_ORTHOGONAL":
9975 elif ct==
"PCB_SHAPE":
9977 elif ct==
"FOOTPRINT":
9979 elif ct==
"PCB_GROUP":
9985 elif ct==
"PCB_TRACK":
9989 elif ct==
"PCB_TARGET":
9991 elif ct==
"PCB_TABLE":
9993 elif ct==
"PCB_REFERENCE_IMAGE":
9998 raise TypeError(
"Unsupported drawing class: %s" % ct)
10001 Needed to cast BOARD_ITEM::Duplicate() to the suitable type
10015 self.SetStart(start)
10022_pcbnew.BOARD_ITEM_swigregister(BOARD_ITEM)
10024 r"""Proxy of C++ DELETED_BOARD_ITEM class."""
10026 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10027 __repr__ = _swig_repr
10030 r"""__init__(DELETED_BOARD_ITEM self) -> DELETED_BOARD_ITEM"""
10031 _pcbnew.DELETED_BOARD_ITEM_swiginit(self, _pcbnew.new_DELETED_BOARD_ITEM())
10035 r"""GetInstance() -> DELETED_BOARD_ITEM"""
10036 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
10040 __eq__(DELETED_BOARD_ITEM self, BOARD_ITEM aBoardItem) -> bool
10041 __eq__(DELETED_BOARD_ITEM self, DELETED_BOARD_ITEM aOther) -> bool
10043 return _pcbnew.DELETED_BOARD_ITEM___eq__(self, *args)
10044 __swig_destroy__ = _pcbnew.delete_DELETED_BOARD_ITEM
10047_pcbnew.DELETED_BOARD_ITEM_swigregister(DELETED_BOARD_ITEM)
10048IS_CHANGED = _pcbnew.IS_CHANGED
10050IS_LINKED = _pcbnew.IS_LINKED
10052IN_EDIT = _pcbnew.IN_EDIT
10054IS_MOVING = _pcbnew.IS_MOVING
10056IS_NEW = _pcbnew.IS_NEW
10058IS_BROKEN = _pcbnew.IS_BROKEN
10060IS_DELETED = _pcbnew.IS_DELETED
10062STARTPOINT = _pcbnew.STARTPOINT
10064ENDPOINT = _pcbnew.ENDPOINT
10066SELECTED = _pcbnew.SELECTED
10068SELECTED_BY_DRAG = _pcbnew.SELECTED_BY_DRAG
10070STRUCT_DELETED = _pcbnew.STRUCT_DELETED
10072CANDIDATE = _pcbnew.CANDIDATE
10074SKIP_STRUCT = _pcbnew.SKIP_STRUCT
10076IS_PASTED = _pcbnew.IS_PASTED
10078IS_SHOWN_AS_BITMAP = _pcbnew.IS_SHOWN_AS_BITMAP
10080COURTYARD_CONFLICT = _pcbnew.COURTYARD_CONFLICT
10082MALFORMED_F_COURTYARD = _pcbnew.MALFORMED_F_COURTYARD
10084MALFORMED_B_COURTYARD = _pcbnew.MALFORMED_B_COURTYARD
10086MALFORMED_COURTYARDS = _pcbnew.MALFORMED_COURTYARDS
10088ROUTER_TRANSIENT = _pcbnew.ROUTER_TRANSIENT
10090HOLE_PROXY = _pcbnew.HOLE_PROXY
10092IS_ROLLOVER = _pcbnew.IS_ROLLOVER
10094SHOW_ELEC_TYPE = _pcbnew.SHOW_ELEC_TYPE
10096BRIGHTENED = _pcbnew.BRIGHTENED
10098UR_TRANSIENT = _pcbnew.UR_TRANSIENT
10100IS_DANGLING = _pcbnew.IS_DANGLING
10102ENTERED = _pcbnew.ENTERED
10105 r"""Proxy of C++ UNITS_PROVIDER class."""
10107 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10108 __repr__ = _swig_repr
10111 r"""__init__(UNITS_PROVIDER self, EDA_IU_SCALE aIuScale, EDA_UNITS aUnits) -> UNITS_PROVIDER"""
10112 _pcbnew.UNITS_PROVIDER_swiginit(self, _pcbnew.new_UNITS_PROVIDER(aIuScale, aUnits))
10113 __swig_destroy__ = _pcbnew.delete_UNITS_PROVIDER
10116 r"""GetUserUnits(UNITS_PROVIDER self) -> EDA_UNITS"""
10117 return _pcbnew.UNITS_PROVIDER_GetUserUnits(self)
10120 r"""SetUserUnits(UNITS_PROVIDER self, EDA_UNITS aUnits)"""
10121 return _pcbnew.UNITS_PROVIDER_SetUserUnits(self, aUnits)
10124 r"""GetUnitPair(UNITS_PROVIDER self, EDA_UNITS & aPrimaryUnit, EDA_UNITS & aSecondaryUnits)"""
10125 return _pcbnew.UNITS_PROVIDER_GetUnitPair(self, aPrimaryUnit, aSecondaryUnits)
10128 r"""GetIuScale(UNITS_PROVIDER self) -> EDA_IU_SCALE"""
10129 return _pcbnew.UNITS_PROVIDER_GetIuScale(self)
10132 r"""GetOriginTransforms(UNITS_PROVIDER self) -> ORIGIN_TRANSFORMS &"""
10133 return _pcbnew.UNITS_PROVIDER_GetOriginTransforms(self)
10136 r"""StringFromOptionalValue(UNITS_PROVIDER self, std::optional< int > aValue, bool aAddUnitLabel=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
10137 return _pcbnew.UNITS_PROVIDER_StringFromOptionalValue(self, *args)
10141 StringFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString
10142 StringFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
False) -> wxString
10144 return _pcbnew.UNITS_PROVIDER_StringFromValue(self, *args)
10148 MessageTextFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
10149 MessageTextFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
True) -> wxString
10151 return _pcbnew.UNITS_PROVIDER_MessageTextFromValue(self, *args)
10154 r"""MessageTextFromMinOptMax(UNITS_PROVIDER self, MINOPTMAX< int > const & aValue) -> wxString"""
10155 return _pcbnew.UNITS_PROVIDER_MessageTextFromMinOptMax(self, aValue)
10158 r"""ValueFromString(UNITS_PROVIDER self, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> int"""
10159 return _pcbnew.UNITS_PROVIDER_ValueFromString(self, *args)
10162 r"""OptionalValueFromString(UNITS_PROVIDER self, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> std::optional< int >"""
10163 return _pcbnew.UNITS_PROVIDER_OptionalValueFromString(self, *args)
10166 r"""AngleValueFromString(UNITS_PROVIDER self, wxString aTextValue) -> EDA_ANGLE"""
10167 return _pcbnew.UNITS_PROVIDER_AngleValueFromString(self, aTextValue)
10168 NullUiString = _pcbnew.UNITS_PROVIDER_NullUiString
10172_pcbnew.UNITS_PROVIDER_swigregister(UNITS_PROVIDER)
10175 r"""Cast_to_BOARD_ITEM(EDA_ITEM base) -> BOARD_ITEM"""
10176 return _pcbnew.Cast_to_BOARD_ITEM(base)
10179 r"""Cast_to_PCB_TEXT(BOARD_ITEM arg1) -> PCB_TEXT"""
10180 return _pcbnew.Cast_to_PCB_TEXT(arg1)
10183 r"""Cast_to_PCB_TEXTBOX(BOARD_ITEM arg1) -> PCB_TEXTBOX"""
10184 return _pcbnew.Cast_to_PCB_TEXTBOX(arg1)
10187 r"""Cast_to_PCB_DIM_ALIGNED(BOARD_ITEM arg1) -> PCB_DIM_ALIGNED"""
10188 return _pcbnew.Cast_to_PCB_DIM_ALIGNED(arg1)
10191 r"""Cast_to_PCB_DIM_ORTHOGONAL(BOARD_ITEM arg1) -> PCB_DIM_ORTHOGONAL"""
10192 return _pcbnew.Cast_to_PCB_DIM_ORTHOGONAL(arg1)
10195 r"""Cast_to_PCB_DIM_LEADER(BOARD_ITEM arg1) -> PCB_DIM_LEADER"""
10196 return _pcbnew.Cast_to_PCB_DIM_LEADER(arg1)
10199 r"""Cast_to_PCB_DIM_CENTER(BOARD_ITEM arg1) -> PCB_DIM_CENTER"""
10200 return _pcbnew.Cast_to_PCB_DIM_CENTER(arg1)
10203 r"""Cast_to_PCB_DIM_RADIAL(BOARD_ITEM arg1) -> PCB_DIM_RADIAL"""
10204 return _pcbnew.Cast_to_PCB_DIM_RADIAL(arg1)
10207 r"""Cast_to_FOOTPRINT(BOARD_ITEM arg1) -> FOOTPRINT"""
10208 return _pcbnew.Cast_to_FOOTPRINT(arg1)
10211 r"""Cast_to_PCB_GROUP(BOARD_ITEM arg1) -> PCB_GROUP"""
10212 return _pcbnew.Cast_to_PCB_GROUP(arg1)
10215 r"""Cast_to_PCB_SHAPE(BOARD_ITEM arg1) -> PCB_SHAPE"""
10216 return _pcbnew.Cast_to_PCB_SHAPE(arg1)
10219 r"""Cast_to_PCB_MARKER(BOARD_ITEM arg1) -> PCB_MARKER"""
10220 return _pcbnew.Cast_to_PCB_MARKER(arg1)
10223 r"""Cast_to_BOARD(BOARD_ITEM arg1) -> BOARD"""
10224 return _pcbnew.Cast_to_BOARD(arg1)
10227 r"""Cast_to_PAD(BOARD_ITEM arg1) -> PAD"""
10228 return _pcbnew.Cast_to_PAD(arg1)
10231 r"""Cast_to_PCB_TRACK(BOARD_ITEM arg1) -> PCB_TRACK"""
10232 return _pcbnew.Cast_to_PCB_TRACK(arg1)
10235 r"""Cast_to_PCB_VIA(BOARD_ITEM arg1) -> PCB_VIA"""
10236 return _pcbnew.Cast_to_PCB_VIA(arg1)
10239 r"""Cast_to_PCB_ARC(BOARD_ITEM arg1) -> PCB_ARC"""
10240 return _pcbnew.Cast_to_PCB_ARC(arg1)
10243 r"""Cast_to_ZONE(BOARD_ITEM arg1) -> ZONE"""
10244 return _pcbnew.Cast_to_ZONE(arg1)
10247 r"""Cast_to_PCB_TARGET(BOARD_ITEM arg1) -> PCB_TARGET"""
10248 return _pcbnew.Cast_to_PCB_TARGET(arg1)
10251 r"""Cast_to_PCB_TABLE(BOARD_ITEM arg1) -> PCB_TABLE"""
10252 return _pcbnew.Cast_to_PCB_TABLE(arg1)
10255 r"""Cast_to_PCB_REFERENCE_IMAGE(BOARD_ITEM arg1) -> PCB_REFERENCE_IMAGE"""
10256 return _pcbnew.Cast_to_PCB_REFERENCE_IMAGE(arg1)
10257ADD_MODE_INSERT = _pcbnew.ADD_MODE_INSERT
10259ADD_MODE_APPEND = _pcbnew.ADD_MODE_APPEND
10261ADD_MODE_BULK_APPEND = _pcbnew.ADD_MODE_BULK_APPEND
10263ADD_MODE_BULK_INSERT = _pcbnew.ADD_MODE_BULK_INSERT
10265REMOVE_MODE_NORMAL = _pcbnew.REMOVE_MODE_NORMAL
10267REMOVE_MODE_BULK = _pcbnew.REMOVE_MODE_BULK
10270 r"""Proxy of C++ BOARD_ITEM_CONTAINER class."""
10272 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10275 raise AttributeError(
"No constructor defined - class is abstract")
10276 __repr__ = _swig_repr
10279 r"""AddNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
10280 return _pcbnew.BOARD_ITEM_CONTAINER_AddNative(self, *args)
10283 r"""RemoveNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
10284 return _pcbnew.BOARD_ITEM_CONTAINER_RemoveNative(self, *args)
10287 r"""DeleteNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)"""
10288 return _pcbnew.BOARD_ITEM_CONTAINER_DeleteNative(self, aItem)
10292 Add a BOARD_ITEM to this BOARD_ITEM_CONTAINER, clear the thisown to prevent
10293 python from deleting the object
in the garbage collector
10294 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, BOARD_ADD_MODE aMode=BOARD_ADD_MODE::INSERT)
10295 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)
10302 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
10303 the python wrapper owns the C++ BOARD_ITEM
10304 Remove(self, BOARD_ITEM)
10312 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
10313 the python wrapper does
not owns the C++ BOARD_ITEM
10314 Delete(self, BOARD_ITEM)
10320 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM_CONTAINER
10323_pcbnew.BOARD_ITEM_CONTAINER_swigregister(BOARD_ITEM_CONTAINER)
10325 r"""Proxy of C++ BOARD_CONNECTED_ITEM class."""
10327 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10330 raise AttributeError(
"No constructor defined - class is abstract")
10331 __repr__ = _swig_repr
10335 r"""ClassOf(EDA_ITEM aItem) -> bool"""
10336 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
10339 r"""GetNet(BOARD_CONNECTED_ITEM self) -> NETINFO_ITEM"""
10340 return _pcbnew.BOARD_CONNECTED_ITEM_GetNet(self)
10343 r"""SetNet(BOARD_CONNECTED_ITEM self, NETINFO_ITEM aNetInfo)"""
10344 return _pcbnew.BOARD_CONNECTED_ITEM_SetNet(self, aNetInfo)
10347 r"""GetNetCode(BOARD_CONNECTED_ITEM self) -> int"""
10348 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetCode(self)
10352 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode, bool aNoAssert) -> bool
10353 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode)
10355 return _pcbnew.BOARD_CONNECTED_ITEM_SetNetCode(self, *args)
10358 r"""GetNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10359 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetname(self)
10362 r"""GetNetnameMsg(BOARD_CONNECTED_ITEM self) -> wxString"""
10363 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetnameMsg(self)
10366 r"""GetShortNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10367 return _pcbnew.BOARD_CONNECTED_ITEM_GetShortNetname(self)
10370 r"""GetDisplayNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10371 return _pcbnew.BOARD_CONNECTED_ITEM_GetDisplayNetname(self)
10374 r"""GetOwnClearance(BOARD_CONNECTED_ITEM self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
10375 return _pcbnew.BOARD_CONNECTED_ITEM_GetOwnClearance(self, aLayer, aSource)
10378 r"""GetClearanceOverrides(BOARD_CONNECTED_ITEM self, wxString aSource) -> std::optional< int >"""
10379 return _pcbnew.BOARD_CONNECTED_ITEM_GetClearanceOverrides(self, aSource)
10384 GetLocalClearance(BOARD_CONNECTED_ITEM self, wxString aSource) -> std::optional< int >
10386 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearance(self, *args)
10389 r"""GetEffectiveNetClass(BOARD_CONNECTED_ITEM self) -> NETCLASS"""
10390 return _pcbnew.BOARD_CONNECTED_ITEM_GetEffectiveNetClass(self)
10393 r"""GetNetClassName(BOARD_CONNECTED_ITEM self) -> wxString"""
10394 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClassName(self)
10397 r"""GetNetClassVariableSubstitutionName(BOARD_CONNECTED_ITEM self) -> wxString"""
10398 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClassVariableSubstitutionName(self)
10401 r"""SetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self, bool aVisible)"""
10402 return _pcbnew.BOARD_CONNECTED_ITEM_SetLocalRatsnestVisible(self, aVisible)
10405 r"""GetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self) -> bool"""
10406 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalRatsnestVisible(self)
10413 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropParams(self, *args)
10416 r"""SetTeardropsEnabled(BOARD_CONNECTED_ITEM self, bool aEnable)"""
10417 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropsEnabled(self, aEnable)
10420 r"""GetTeardropsEnabled(BOARD_CONNECTED_ITEM self) -> bool"""
10421 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropsEnabled(self)
10424 r"""SetTeardropBestLengthRatio(BOARD_CONNECTED_ITEM self, double aRatio)"""
10425 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropBestLengthRatio(self, aRatio)
10428 r"""GetTeardropBestLengthRatio(BOARD_CONNECTED_ITEM self) -> double"""
10429 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropBestLengthRatio(self)
10432 r"""SetTeardropMaxLength(BOARD_CONNECTED_ITEM self, int aMaxLength)"""
10433 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxLength(self, aMaxLength)
10436 r"""GetTeardropMaxLength(BOARD_CONNECTED_ITEM self) -> int"""
10437 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxLength(self)
10440 r"""SetTeardropBestWidthRatio(BOARD_CONNECTED_ITEM self, double aRatio)"""
10441 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropBestWidthRatio(self, aRatio)
10444 r"""GetTeardropBestWidthRatio(BOARD_CONNECTED_ITEM self) -> double"""
10445 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropBestWidthRatio(self)
10448 r"""SetTeardropMaxWidth(BOARD_CONNECTED_ITEM self, int aMaxWidth)"""
10449 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxWidth(self, aMaxWidth)
10452 r"""GetTeardropMaxWidth(BOARD_CONNECTED_ITEM self) -> int"""
10453 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxWidth(self)
10456 r"""SetTeardropCurved(BOARD_CONNECTED_ITEM self, bool aCurve)"""
10457 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropCurved(self, aCurve)
10460 r"""GetTeardropCurved(BOARD_CONNECTED_ITEM self) -> bool"""
10461 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropCurved(self)
10464 r"""SetTeardropPreferZoneConnections(BOARD_CONNECTED_ITEM self, bool aPrefer)"""
10465 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropPreferZoneConnections(self, aPrefer)
10468 r"""GetTeardropPreferZoneConnections(BOARD_CONNECTED_ITEM self) -> bool"""
10469 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropPreferZoneConnections(self)
10472 r"""SetTeardropAllowSpanTwoTracks(BOARD_CONNECTED_ITEM self, bool aAllow)"""
10473 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropAllowSpanTwoTracks(self, aAllow)
10476 r"""GetTeardropAllowSpanTwoTracks(BOARD_CONNECTED_ITEM self) -> bool"""
10477 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropAllowSpanTwoTracks(self)
10480 r"""SetTeardropMaxTrackWidth(BOARD_CONNECTED_ITEM self, double aRatio)"""
10481 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxTrackWidth(self, aRatio)
10484 r"""GetTeardropMaxTrackWidth(BOARD_CONNECTED_ITEM self) -> double"""
10485 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxTrackWidth(self)
10486 __swig_destroy__ = _pcbnew.delete_BOARD_CONNECTED_ITEM
10489_pcbnew.BOARD_CONNECTED_ITEM_swigregister(BOARD_CONNECTED_ITEM)
10491 r"""Proxy of C++ std::map< wxString,std::shared_ptr< NETCLASS > > class."""
10493 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10494 __repr__ = _swig_repr
10497 r"""iterator(netclasses_map self) -> SwigPyIterator"""
10498 return _pcbnew.netclasses_map_iterator(self)
10503 r"""__nonzero__(netclasses_map self) -> bool"""
10504 return _pcbnew.netclasses_map___nonzero__(self)
10507 r"""__bool__(netclasses_map self) -> bool"""
10508 return _pcbnew.netclasses_map___bool__(self)
10511 r"""__len__(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10512 return _pcbnew.netclasses_map___len__(self)
10523 r"""__getitem__(netclasses_map self, wxString key) -> std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const &"""
10524 return _pcbnew.netclasses_map___getitem__(self, key)
10527 r"""__delitem__(netclasses_map self, wxString key)"""
10528 return _pcbnew.netclasses_map___delitem__(self, key)
10531 r"""has_key(netclasses_map self, wxString key) -> bool"""
10532 return _pcbnew.netclasses_map_has_key(self, key)
10535 r"""keys(netclasses_map self) -> PyObject *"""
10536 return _pcbnew.netclasses_map_keys(self)
10539 r"""values(netclasses_map self) -> PyObject *"""
10540 return _pcbnew.netclasses_map_values(self)
10543 r"""items(netclasses_map self) -> PyObject *"""
10544 return _pcbnew.netclasses_map_items(self)
10547 r"""__contains__(netclasses_map self, wxString key) -> bool"""
10548 return _pcbnew.netclasses_map___contains__(self, key)
10551 r"""key_iterator(netclasses_map self) -> SwigPyIterator"""
10552 return _pcbnew.netclasses_map_key_iterator(self)
10555 r"""value_iterator(netclasses_map self) -> SwigPyIterator"""
10556 return _pcbnew.netclasses_map_value_iterator(self)
10561 __setitem__(netclasses_map self, wxString key, std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const & x)
10563 return _pcbnew.netclasses_map___setitem__(self, *args)
10566 r"""asdict(netclasses_map self) -> PyObject *"""
10567 return _pcbnew.netclasses_map_asdict(self)
10571 __init__(netclasses_map self, std::less< wxString > const & other) -> netclasses_map
10572 __init__(netclasses_map self) -> netclasses_map
10573 __init__(netclasses_map self, netclasses_map other) -> netclasses_map
10575 _pcbnew.netclasses_map_swiginit(self, _pcbnew.new_netclasses_map(*args))
10578 r"""empty(netclasses_map self) -> bool"""
10579 return _pcbnew.netclasses_map_empty(self)
10582 r"""size(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10583 return _pcbnew.netclasses_map_size(self)
10586 r"""swap(netclasses_map self, netclasses_map v)"""
10587 return _pcbnew.netclasses_map_swap(self, v)
10590 r"""begin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10591 return _pcbnew.netclasses_map_begin(self)
10594 r"""end(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10595 return _pcbnew.netclasses_map_end(self)
10598 r"""rbegin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10599 return _pcbnew.netclasses_map_rbegin(self)
10602 r"""rend(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10603 return _pcbnew.netclasses_map_rend(self)
10606 r"""clear(netclasses_map self)"""
10607 return _pcbnew.netclasses_map_clear(self)
10610 r"""get_allocator(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::allocator_type"""
10611 return _pcbnew.netclasses_map_get_allocator(self)
10614 r"""count(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10615 return _pcbnew.netclasses_map_count(self, x)
10619 erase(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type
10620 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator position)
10621 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator first, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator last)
10623 return _pcbnew.netclasses_map_erase(self, *args)
10626 r"""find(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10627 return _pcbnew.netclasses_map_find(self, x)
10630 r"""lower_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10631 return _pcbnew.netclasses_map_lower_bound(self, x)
10634 r"""upper_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10635 return _pcbnew.netclasses_map_upper_bound(self, x)
10636 __swig_destroy__ = _pcbnew.delete_netclasses_map
10639_pcbnew.netclasses_map_swigregister(netclasses_map)
10640DEFAULT_SILK_LINE_WIDTH = _pcbnew.DEFAULT_SILK_LINE_WIDTH
10642DEFAULT_COPPER_LINE_WIDTH = _pcbnew.DEFAULT_COPPER_LINE_WIDTH
10644DEFAULT_EDGE_WIDTH = _pcbnew.DEFAULT_EDGE_WIDTH
10646DEFAULT_COURTYARD_WIDTH = _pcbnew.DEFAULT_COURTYARD_WIDTH
10648DEFAULT_LINE_WIDTH = _pcbnew.DEFAULT_LINE_WIDTH
10650DEFAULT_SILK_TEXT_SIZE = _pcbnew.DEFAULT_SILK_TEXT_SIZE
10652DEFAULT_COPPER_TEXT_SIZE = _pcbnew.DEFAULT_COPPER_TEXT_SIZE
10654DEFAULT_TEXT_SIZE = _pcbnew.DEFAULT_TEXT_SIZE
10656DEFAULT_SILK_TEXT_WIDTH = _pcbnew.DEFAULT_SILK_TEXT_WIDTH
10658DEFAULT_COPPER_TEXT_WIDTH = _pcbnew.DEFAULT_COPPER_TEXT_WIDTH
10660DEFAULT_TEXT_WIDTH = _pcbnew.DEFAULT_TEXT_WIDTH
10662DEFAULT_DIMENSION_ARROW_LENGTH = _pcbnew.DEFAULT_DIMENSION_ARROW_LENGTH
10664DEFAULT_DIMENSION_EXTENSION_OFFSET = _pcbnew.DEFAULT_DIMENSION_EXTENSION_OFFSET
10666DEFAULT_BOARD_THICKNESS_MM = _pcbnew.DEFAULT_BOARD_THICKNESS_MM
10668DEFAULT_PCB_EDGE_THICKNESS = _pcbnew.DEFAULT_PCB_EDGE_THICKNESS
10670DEFAULT_SOLDERMASK_EXPANSION = _pcbnew.DEFAULT_SOLDERMASK_EXPANSION
10672DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE = _pcbnew.DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE
10674DEFAULT_SOLDERMASK_MIN_WIDTH = _pcbnew.DEFAULT_SOLDERMASK_MIN_WIDTH
10676DEFAULT_SOLDERPASTE_CLEARANCE = _pcbnew.DEFAULT_SOLDERPASTE_CLEARANCE
10678DEFAULT_SOLDERPASTE_RATIO = _pcbnew.DEFAULT_SOLDERPASTE_RATIO
10680DEFAULT_CUSTOMTRACKWIDTH = _pcbnew.DEFAULT_CUSTOMTRACKWIDTH
10682DEFAULT_CUSTOMDPAIRWIDTH = _pcbnew.DEFAULT_CUSTOMDPAIRWIDTH
10684DEFAULT_CUSTOMDPAIRGAP = _pcbnew.DEFAULT_CUSTOMDPAIRGAP
10686DEFAULT_CUSTOMDPAIRVIAGAP = _pcbnew.DEFAULT_CUSTOMDPAIRVIAGAP
10688DEFAULT_MEANDER_SPACING = _pcbnew.DEFAULT_MEANDER_SPACING
10690DEFAULT_DP_MEANDER_SPACING = _pcbnew.DEFAULT_DP_MEANDER_SPACING
10692DEFAULT_MINCLEARANCE = _pcbnew.DEFAULT_MINCLEARANCE
10694DEFAULT_MINCONNECTION = _pcbnew.DEFAULT_MINCONNECTION
10696DEFAULT_TRACKMINWIDTH = _pcbnew.DEFAULT_TRACKMINWIDTH
10698DEFAULT_VIASMINSIZE = _pcbnew.DEFAULT_VIASMINSIZE
10700DEFAULT_MINTHROUGHDRILL = _pcbnew.DEFAULT_MINTHROUGHDRILL
10702DEFAULT_MICROVIASMINSIZE = _pcbnew.DEFAULT_MICROVIASMINSIZE
10704DEFAULT_MICROVIASMINDRILL = _pcbnew.DEFAULT_MICROVIASMINDRILL
10706DEFAULT_HOLETOHOLEMIN = _pcbnew.DEFAULT_HOLETOHOLEMIN
10708DEFAULT_HOLECLEARANCE = _pcbnew.DEFAULT_HOLECLEARANCE
10710DEFAULT_COPPEREDGECLEARANCE = _pcbnew.DEFAULT_COPPEREDGECLEARANCE
10712LEGACY_COPPEREDGECLEARANCE = _pcbnew.LEGACY_COPPEREDGECLEARANCE
10714DEFAULT_SILKCLEARANCE = _pcbnew.DEFAULT_SILKCLEARANCE
10716DEFAULT_MINGROOVEWIDTH = _pcbnew.DEFAULT_MINGROOVEWIDTH
10718DEFAULT_MINRESOLVEDSPOKES = _pcbnew.DEFAULT_MINRESOLVEDSPOKES
10720MINIMUM_ERROR_SIZE_MM = _pcbnew.MINIMUM_ERROR_SIZE_MM
10722MAXIMUM_ERROR_SIZE_MM = _pcbnew.MAXIMUM_ERROR_SIZE_MM
10724MINIMUM_LINE_WIDTH_MM = _pcbnew.MINIMUM_LINE_WIDTH_MM
10726MAXIMUM_LINE_WIDTH_MM = _pcbnew.MAXIMUM_LINE_WIDTH_MM
10728DEFAULT_PAD_WIDTH_MM = _pcbnew.DEFAULT_PAD_WIDTH_MM
10730DEFAULT_PAD_HEIGTH_MM = _pcbnew.DEFAULT_PAD_HEIGTH_MM
10732DEFAULT_PAD_DRILL_DIAMETER_MM = _pcbnew.DEFAULT_PAD_DRILL_DIAMETER_MM
10734DEFAULT_PAD_REACT_RADIUS = _pcbnew.DEFAULT_PAD_REACT_RADIUS
10737 r"""Proxy of C++ VIA_DIMENSION class."""
10739 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10740 __repr__ = _swig_repr
10741 m_Diameter = property(_pcbnew.VIA_DIMENSION_m_Diameter_get, _pcbnew.VIA_DIMENSION_m_Diameter_set, doc=
r"""m_Diameter : int""")
10742 m_Drill = property(_pcbnew.VIA_DIMENSION_m_Drill_get, _pcbnew.VIA_DIMENSION_m_Drill_set, doc=
r"""m_Drill : int""")
10746 __init__(VIA_DIMENSION self) -> VIA_DIMENSION
10747 __init__(VIA_DIMENSION self, int aDiameter, int aDrill) -> VIA_DIMENSION
10749 _pcbnew.VIA_DIMENSION_swiginit(self, _pcbnew.new_VIA_DIMENSION(*args))
10752 r"""__eq__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10753 return _pcbnew.VIA_DIMENSION___eq__(self, aOther)
10756 r"""__ne__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10757 return _pcbnew.VIA_DIMENSION___ne__(self, aOther)
10760 r"""__lt__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10761 return _pcbnew.VIA_DIMENSION___lt__(self, aOther)
10762 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION
10765_pcbnew.VIA_DIMENSION_swigregister(VIA_DIMENSION)
10767 r"""Proxy of C++ DIFF_PAIR_DIMENSION class."""
10769 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10770 __repr__ = _swig_repr
10771 m_Width = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Width_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Width_set, doc=
r"""m_Width : int""")
10772 m_Gap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Gap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Gap_set, doc=
r"""m_Gap : int""")
10773 m_ViaGap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_set, doc=
r"""m_ViaGap : int""")
10777 __init__(DIFF_PAIR_DIMENSION self) -> DIFF_PAIR_DIMENSION
10778 __init__(DIFF_PAIR_DIMENSION self, int aWidth, int aGap, int aViaGap) -> DIFF_PAIR_DIMENSION
10780 _pcbnew.DIFF_PAIR_DIMENSION_swiginit(self, _pcbnew.new_DIFF_PAIR_DIMENSION(*args))
10783 r"""__eq__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10784 return _pcbnew.DIFF_PAIR_DIMENSION___eq__(self, aOther)
10787 r"""__ne__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10788 return _pcbnew.DIFF_PAIR_DIMENSION___ne__(self, aOther)
10791 r"""__lt__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10792 return _pcbnew.DIFF_PAIR_DIMENSION___lt__(self, aOther)
10793 __swig_destroy__ = _pcbnew.delete_DIFF_PAIR_DIMENSION
10796_pcbnew.DIFF_PAIR_DIMENSION_swigregister(DIFF_PAIR_DIMENSION)
10797LAYER_CLASS_SILK = _pcbnew.LAYER_CLASS_SILK
10799LAYER_CLASS_COPPER = _pcbnew.LAYER_CLASS_COPPER
10801LAYER_CLASS_EDGES = _pcbnew.LAYER_CLASS_EDGES
10803LAYER_CLASS_COURTYARD = _pcbnew.LAYER_CLASS_COURTYARD
10805LAYER_CLASS_FAB = _pcbnew.LAYER_CLASS_FAB
10807LAYER_CLASS_OTHERS = _pcbnew.LAYER_CLASS_OTHERS
10809LAYER_CLASS_COUNT = _pcbnew.LAYER_CLASS_COUNT
10812 r"""Proxy of C++ TEXT_ITEM_INFO class."""
10814 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10815 __repr__ = _swig_repr
10816 m_Text = property(_pcbnew.TEXT_ITEM_INFO_m_Text_get, _pcbnew.TEXT_ITEM_INFO_m_Text_set, doc=
r"""m_Text : wxString""")
10817 m_Visible = property(_pcbnew.TEXT_ITEM_INFO_m_Visible_get, _pcbnew.TEXT_ITEM_INFO_m_Visible_set, doc=
r"""m_Visible : bool""")
10818 m_Layer = property(_pcbnew.TEXT_ITEM_INFO_m_Layer_get, _pcbnew.TEXT_ITEM_INFO_m_Layer_set, doc=
r"""m_Layer : int""")
10821 r"""__init__(TEXT_ITEM_INFO self, wxString aText, bool aVisible, int aLayer) -> TEXT_ITEM_INFO"""
10822 _pcbnew.TEXT_ITEM_INFO_swiginit(self, _pcbnew.new_TEXT_ITEM_INFO(aText, aVisible, aLayer))
10825 r"""__eq__(TEXT_ITEM_INFO self, TEXT_ITEM_INFO aOther) -> bool"""
10826 return _pcbnew.TEXT_ITEM_INFO___eq__(self, aOther)
10827 __swig_destroy__ = _pcbnew.delete_TEXT_ITEM_INFO
10830_pcbnew.TEXT_ITEM_INFO_swigregister(TEXT_ITEM_INFO)
10832 r"""Proxy of C++ BOARD_DESIGN_SETTINGS class."""
10834 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10835 __repr__ = _swig_repr
10836 __swig_destroy__ = _pcbnew.delete_BOARD_DESIGN_SETTINGS
10839 r"""__eq__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> bool"""
10840 return _pcbnew.BOARD_DESIGN_SETTINGS___eq__(self, aOther)
10843 r"""__ne__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> bool"""
10844 return _pcbnew.BOARD_DESIGN_SETTINGS___ne__(self, aOther)
10848 __init__(BOARD_DESIGN_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> BOARD_DESIGN_SETTINGS
10849 __init__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> BOARD_DESIGN_SETTINGS
10851 _pcbnew.BOARD_DESIGN_SETTINGS_swiginit(self, _pcbnew.new_BOARD_DESIGN_SETTINGS(*args))
10854 r"""LoadFromFile(BOARD_DESIGN_SETTINGS self, wxString aDirectory="") -> bool"""
10855 return _pcbnew.BOARD_DESIGN_SETTINGS_LoadFromFile(self, *args)
10862 return _pcbnew.BOARD_DESIGN_SETTINGS_GetStackupDescriptor(self, *args)
10865 r"""GetTeadropParamsList(BOARD_DESIGN_SETTINGS self) -> TEARDROP_PARAMETERS_LIST *"""
10866 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTeadropParamsList(self)
10869 r"""GetSeverity(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> SEVERITY"""
10870 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSeverity(self, aDRCErrorCode)
10873 r"""Ignore(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> bool"""
10874 return _pcbnew.BOARD_DESIGN_SETTINGS_Ignore(self, aDRCErrorCode)
10877 r"""GetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self) -> ZONE_SETTINGS"""
10878 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDefaultZoneSettings(self)
10881 r"""SetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self, ZONE_SETTINGS aSettings)"""
10882 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDefaultZoneSettings(self, aSettings)
10885 r"""GetCurrentNetClassName(BOARD_DESIGN_SETTINGS self) -> wxString"""
10886 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentNetClassName(self)
10889 r"""UseNetClassTrack(BOARD_DESIGN_SETTINGS self) -> bool"""
10890 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassTrack(self)
10893 r"""UseNetClassVia(BOARD_DESIGN_SETTINGS self) -> bool"""
10894 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassVia(self)
10897 r"""UseNetClassDiffPair(BOARD_DESIGN_SETTINGS self) -> bool"""
10898 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassDiffPair(self)
10901 r"""GetBiggestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
10902 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBiggestClearanceValue(self)
10905 r"""GetSmallestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
10906 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSmallestClearanceValue(self)
10909 r"""GetTrackWidthIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10910 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTrackWidthIndex(self)
10913 r"""SetTrackWidthIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10914 return _pcbnew.BOARD_DESIGN_SETTINGS_SetTrackWidthIndex(self, aIndex)
10917 r"""GetCurrentTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10918 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentTrackWidth(self)
10921 r"""SetCustomTrackWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
10922 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomTrackWidth(self, aWidth)
10925 r"""GetCustomTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10926 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomTrackWidth(self)
10929 r"""GetViaSizeIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10930 return _pcbnew.BOARD_DESIGN_SETTINGS_GetViaSizeIndex(self)
10933 r"""SetViaSizeIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10934 return _pcbnew.BOARD_DESIGN_SETTINGS_SetViaSizeIndex(self, aIndex)
10937 r"""GetCurrentViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
10938 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaSize(self)
10941 r"""SetCustomViaSize(BOARD_DESIGN_SETTINGS self, int aSize)"""
10942 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaSize(self, aSize)
10945 r"""GetCustomViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
10946 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaSize(self)
10949 r"""GetCurrentViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
10950 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaDrill(self)
10953 r"""SetCustomViaDrill(BOARD_DESIGN_SETTINGS self, int aDrill)"""
10954 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaDrill(self, aDrill)
10957 r"""GetCustomViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
10958 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaDrill(self)
10965 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomTrackViaSize(self, *args)
10968 r"""GetDiffPairIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10969 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDiffPairIndex(self)
10972 r"""SetDiffPairIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10973 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDiffPairIndex(self, aIndex)
10976 r"""SetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
10977 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairWidth(self, aWidth)
10980 r"""GetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10981 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairWidth(self)
10984 r"""SetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
10985 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairGap(self, aGap)
10988 r"""GetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
10989 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairGap(self)
10992 r"""SetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
10993 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairViaGap(self, aGap)
10996 r"""GetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
10997 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairViaGap(self)
11004 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomDiffPairDimensions(self, *args)
11007 r"""GetCurrentDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
11008 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairWidth(self)
11011 r"""GetCurrentDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
11012 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairGap(self)
11015 r"""GetCurrentDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
11016 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairViaGap(self)
11019 r"""GetEnabledLayers(BOARD_DESIGN_SETTINGS self) -> LSET"""
11020 return _pcbnew.BOARD_DESIGN_SETTINGS_GetEnabledLayers(self)
11023 r"""SetEnabledLayers(BOARD_DESIGN_SETTINGS self, LSET aMask)"""
11024 return _pcbnew.BOARD_DESIGN_SETTINGS_SetEnabledLayers(self, aMask)
11027 r"""IsLayerEnabled(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayerId) -> bool"""
11028 return _pcbnew.BOARD_DESIGN_SETTINGS_IsLayerEnabled(self, aLayerId)
11031 r"""GetCopperLayerCount(BOARD_DESIGN_SETTINGS self) -> int"""
11032 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCopperLayerCount(self)
11035 r"""SetCopperLayerCount(BOARD_DESIGN_SETTINGS self, int aNewLayerCount)"""
11036 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCopperLayerCount(self, aNewLayerCount)
11039 r"""GetBoardThickness(BOARD_DESIGN_SETTINGS self) -> int"""
11040 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBoardThickness(self)
11043 r"""SetBoardThickness(BOARD_DESIGN_SETTINGS self, int aThickness)"""
11044 return _pcbnew.BOARD_DESIGN_SETTINGS_SetBoardThickness(self, aThickness)
11047 r"""GetDRCEpsilon(BOARD_DESIGN_SETTINGS self) -> int"""
11048 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDRCEpsilon(self)
11051 r"""GetHolePlatingThickness(BOARD_DESIGN_SETTINGS self) -> int"""
11052 return _pcbnew.BOARD_DESIGN_SETTINGS_GetHolePlatingThickness(self)
11055 r"""GetLineThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
11056 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLineThickness(self, aLayer)
11059 r"""GetTextSize(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
11060 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextSize(self, aLayer)
11063 r"""GetTextThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
11064 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextThickness(self, aLayer)
11067 r"""GetTextItalic(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
11068 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextItalic(self, aLayer)
11071 r"""GetTextUpright(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
11072 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextUpright(self, aLayer)
11075 r"""GetLayerClass(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
11076 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLayerClass(self, aLayer)
11079 r"""SetAuxOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
11080 return _pcbnew.BOARD_DESIGN_SETTINGS_SetAuxOrigin(self, aOrigin)
11083 r"""GetAuxOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
11084 return _pcbnew.BOARD_DESIGN_SETTINGS_GetAuxOrigin(self)
11087 r"""SetGridOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
11088 return _pcbnew.BOARD_DESIGN_SETTINGS_SetGridOrigin(self, aOrigin)
11091 r"""GetGridOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
11092 return _pcbnew.BOARD_DESIGN_SETTINGS_GetGridOrigin(self)
11095 r"""SetDefaultMasterPad(BOARD_DESIGN_SETTINGS self)"""
11096 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDefaultMasterPad(self)
11097 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)>)>""")
11098 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)>)>""")
11099 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)>)>""")
11100 m_TeardropParamsList = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_set, doc=
r"""m_TeardropParamsList : TEARDROP_PARAMETERS_LIST""")
11101 m_SingleTrackMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SingleTrackMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SingleTrackMeanderSettings_set, doc=
r"""m_SingleTrackMeanderSettings : PNS::MEANDER_SETTINGS""")
11102 m_DiffPairMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairMeanderSettings_set, doc=
r"""m_DiffPairMeanderSettings : PNS::MEANDER_SETTINGS""")
11103 m_SkewMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SkewMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SkewMeanderSettings_set, doc=
r"""m_SkewMeanderSettings : PNS::MEANDER_SETTINGS""")
11104 m_CurrentViaType = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_set, doc=
r"""m_CurrentViaType : VIATYPE""")
11105 m_UseConnectedTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_set, doc=
r"""m_UseConnectedTrackWidth : bool""")
11106 m_TempOverrideTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_set, doc=
r"""m_TempOverrideTrackWidth : bool""")
11107 m_MinClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_set, doc=
r"""m_MinClearance : int""")
11108 m_MinGrooveWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinGrooveWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinGrooveWidth_set, doc=
r"""m_MinGrooveWidth : int""")
11109 m_MinConn = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_set, doc=
r"""m_MinConn : int""")
11110 m_TrackMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_set, doc=
r"""m_TrackMinWidth : int""")
11111 m_ViasMinAnnularWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_set, doc=
r"""m_ViasMinAnnularWidth : int""")
11112 m_ViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_set, doc=
r"""m_ViasMinSize : int""")
11113 m_MinThroughDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_set, doc=
r"""m_MinThroughDrill : int""")
11114 m_MicroViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_set, doc=
r"""m_MicroViasMinSize : int""")
11115 m_MicroViasMinDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_set, doc=
r"""m_MicroViasMinDrill : int""")
11116 m_CopperEdgeClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_set, doc=
r"""m_CopperEdgeClearance : int""")
11117 m_HoleClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_set, doc=
r"""m_HoleClearance : int""")
11118 m_HoleToHoleMin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_set, doc=
r"""m_HoleToHoleMin : int""")
11119 m_SilkClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_set, doc=
r"""m_SilkClearance : int""")
11120 m_MinResolvedSpokes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_set, doc=
r"""m_MinResolvedSpokes : int""")
11121 m_MinSilkTextHeight = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_set, doc=
r"""m_MinSilkTextHeight : int""")
11122 m_MinSilkTextThickness = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_set, doc=
r"""m_MinSilkTextThickness : int""")
11123 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)>)>)>""")
11124 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)>)>""")
11125 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)>)>)>""")
11126 m_ZoneKeepExternalFillets = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_set, doc=
r"""m_ZoneKeepExternalFillets : bool""")
11127 m_MaxError = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_set, doc=
r"""m_MaxError : int""")
11128 m_SolderMaskExpansion = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_set, doc=
r"""m_SolderMaskExpansion : int""")
11129 m_SolderMaskMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_set, doc=
r"""m_SolderMaskMinWidth : int""")
11130 m_SolderMaskToCopperClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_set, doc=
r"""m_SolderMaskToCopperClearance : int""")
11131 m_SolderPasteMargin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_set, doc=
r"""m_SolderPasteMargin : int""")
11132 m_SolderPasteMarginRatio = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_set, doc=
r"""m_SolderPasteMarginRatio : double""")
11133 m_AllowSoldermaskBridgesInFPs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_set, doc=
r"""m_AllowSoldermaskBridgesInFPs : bool""")
11134 m_TentViasFront = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TentViasFront_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TentViasFront_set, doc=
r"""m_TentViasFront : bool""")
11135 m_TentViasBack = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TentViasBack_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TentViasBack_set, doc=
r"""m_TentViasBack : bool""")
11136 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)>""")
11137 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)>)>""")
11138 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""")
11139 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""")
11140 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""")
11141 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""")
11142 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""")
11143 m_DimensionUnitsMode = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_set, doc=
r"""m_DimensionUnitsMode : DIM_UNITS_MODE""")
11144 m_DimensionPrecision = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_set, doc=
r"""m_DimensionPrecision : DIM_PRECISION""")
11145 m_DimensionUnitsFormat = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_set, doc=
r"""m_DimensionUnitsFormat : DIM_UNITS_FORMAT""")
11146 m_DimensionSuppressZeroes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_set, doc=
r"""m_DimensionSuppressZeroes : bool""")
11147 m_DimensionTextPosition = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_set, doc=
r"""m_DimensionTextPosition : DIM_TEXT_POSITION""")
11148 m_DimensionKeepTextAligned = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_set, doc=
r"""m_DimensionKeepTextAligned : bool""")
11149 m_DimensionArrowLength = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_set, doc=
r"""m_DimensionArrowLength : int""")
11150 m_DimensionExtensionOffset = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_set, doc=
r"""m_DimensionExtensionOffset : int""")
11151 m_StyleFPFields = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPFields_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPFields_set, doc=
r"""m_StyleFPFields : bool""")
11152 m_StyleFPText = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPText_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPText_set, doc=
r"""m_StyleFPText : bool""")
11153 m_StyleFPShapes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPShapes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPShapes_set, doc=
r"""m_StyleFPShapes : bool""")
11154 m_HasStackup = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_set, doc=
r"""m_HasStackup : bool""")
11155 m_UseHeightForLengthCalcs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_set, doc=
r"""m_UseHeightForLengthCalcs : bool""")
11158 r"""CloneFrom(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther)"""
11159 return _pcbnew.BOARD_DESIGN_SETTINGS_CloneFrom(self, aOther)
11162_pcbnew.BOARD_DESIGN_SETTINGS_swigregister(BOARD_DESIGN_SETTINGS)
11164 r"""Proxy of C++ NET_SETTINGS class."""
11166 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11167 __repr__ = _swig_repr
11170 r"""__init__(NET_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> NET_SETTINGS"""
11171 _pcbnew.NET_SETTINGS_swiginit(self, _pcbnew.new_NET_SETTINGS(aParent, aPath))
11172 __swig_destroy__ = _pcbnew.delete_NET_SETTINGS
11175 r"""__eq__(NET_SETTINGS self, NET_SETTINGS aOther) -> bool"""
11176 return _pcbnew.NET_SETTINGS___eq__(self, aOther)
11179 r"""__ne__(NET_SETTINGS self, NET_SETTINGS aOther) -> bool"""
11180 return _pcbnew.NET_SETTINGS___ne__(self, aOther)
11183 r"""SetDefaultNetclass(NET_SETTINGS self, std::shared_ptr< NETCLASS > netclass)"""
11184 return _pcbnew.NET_SETTINGS_SetDefaultNetclass(self, netclass)
11187 r"""GetDefaultNetclass(NET_SETTINGS self) -> std::shared_ptr< NETCLASS >"""
11188 return _pcbnew.NET_SETTINGS_GetDefaultNetclass(self)
11191 r"""HasNetclass(NET_SETTINGS self, wxString netclassName) -> bool"""
11192 return _pcbnew.NET_SETTINGS_HasNetclass(self, netclassName)
11195 r"""SetNetclass(NET_SETTINGS self, wxString netclassName, std::shared_ptr< NETCLASS > & netclass)"""
11196 return _pcbnew.NET_SETTINGS_SetNetclass(self, netclassName, netclass)
11199 r"""SetNetclasses(NET_SETTINGS self, netclasses_map netclasses)"""
11200 return _pcbnew.NET_SETTINGS_SetNetclasses(self, netclasses)
11203 r"""GetNetclasses(NET_SETTINGS self) -> netclasses_map"""
11204 return _pcbnew.NET_SETTINGS_GetNetclasses(self)
11207 r"""GetCompositeNetclasses(NET_SETTINGS self) -> netclasses_map"""
11208 return _pcbnew.NET_SETTINGS_GetCompositeNetclasses(self)
11211 r"""ClearNetclasses(NET_SETTINGS self)"""
11212 return _pcbnew.NET_SETTINGS_ClearNetclasses(self)
11215 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 &"""
11216 return _pcbnew.NET_SETTINGS_GetNetclassLabelAssignments(self)
11219 r"""ClearNetclassLabelAssignments(NET_SETTINGS self)"""
11220 return _pcbnew.NET_SETTINGS_ClearNetclassLabelAssignments(self)
11223 r"""ClearNetclassLabelAssignment(NET_SETTINGS self, wxString netName)"""
11224 return _pcbnew.NET_SETTINGS_ClearNetclassLabelAssignment(self, netName)
11227 r"""SetNetclassLabelAssignment(NET_SETTINGS self, wxString netName, STRINGSET netclasses)"""
11228 return _pcbnew.NET_SETTINGS_SetNetclassLabelAssignment(self, netName, netclasses)
11231 r"""AppendNetclassLabelAssignment(NET_SETTINGS self, wxString netName, STRINGSET netclasses)"""
11232 return _pcbnew.NET_SETTINGS_AppendNetclassLabelAssignment(self, netName, netclasses)
11235 r"""HasNetclassLabelAssignment(NET_SETTINGS self, wxString netName) -> bool"""
11236 return _pcbnew.NET_SETTINGS_HasNetclassLabelAssignment(self, netName)
11239 r"""SetNetclassPatternAssignment(NET_SETTINGS self, wxString pattern, wxString netclass)"""
11240 return _pcbnew.NET_SETTINGS_SetNetclassPatternAssignment(self, pattern, netclass)
11243 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)"""
11244 return _pcbnew.NET_SETTINGS_SetNetclassPatternAssignments(self, netclassPatterns)
11247 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 > > > &"""
11248 return _pcbnew.NET_SETTINGS_GetNetclassPatternAssignments(self)
11251 r"""ClearNetclassPatternAssignments(NET_SETTINGS self)"""
11252 return _pcbnew.NET_SETTINGS_ClearNetclassPatternAssignments(self)
11255 r"""ClearCacheForNet(NET_SETTINGS self, wxString netName)"""
11256 return _pcbnew.NET_SETTINGS_ClearCacheForNet(self, netName)
11259 r"""ClearAllCaches(NET_SETTINGS self)"""
11260 return _pcbnew.NET_SETTINGS_ClearAllCaches(self)
11263 r"""SetNetColorAssignment(NET_SETTINGS self, wxString netName, COLOR4D color)"""
11264 return _pcbnew.NET_SETTINGS_SetNetColorAssignment(self, netName, color)
11267 r"""GetNetColorAssignments(NET_SETTINGS self) -> std::map< wxString,KIGFX::COLOR4D,std::less< wxString >,std::allocator< std::pair< wxString const,KIGFX::COLOR4D > > > const &"""
11268 return _pcbnew.NET_SETTINGS_GetNetColorAssignments(self)
11271 r"""ClearNetColorAssignments(NET_SETTINGS self)"""
11272 return _pcbnew.NET_SETTINGS_ClearNetColorAssignments(self)
11275 r"""HasEffectiveNetClass(NET_SETTINGS self, wxString aNetName) -> bool"""
11276 return _pcbnew.NET_SETTINGS_HasEffectiveNetClass(self, aNetName)
11279 r"""GetCachedEffectiveNetClass(NET_SETTINGS self, wxString aNetName) -> std::shared_ptr< NETCLASS >"""
11280 return _pcbnew.NET_SETTINGS_GetCachedEffectiveNetClass(self, aNetName)
11283 r"""GetEffectiveNetClass(NET_SETTINGS self, wxString aNetName) -> std::shared_ptr< NETCLASS >"""
11284 return _pcbnew.NET_SETTINGS_GetEffectiveNetClass(self, aNetName)
11287 r"""RecomputeEffectiveNetclasses(NET_SETTINGS self)"""
11288 return _pcbnew.NET_SETTINGS_RecomputeEffectiveNetclasses(self)
11291 r"""GetNetClassByName(NET_SETTINGS self, wxString aNetName) -> std::shared_ptr< NETCLASS >"""
11292 return _pcbnew.NET_SETTINGS_GetNetClassByName(self, aNetName)
11296 r"""ParseBusVector(wxString aBus, wxString aName, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11297 return _pcbnew.NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
11301 r"""ParseBusGroup(wxString aGroup, wxString name, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11302 return _pcbnew.NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
11305_pcbnew.NET_SETTINGS_swigregister(NET_SETTINGS)
11307 r"""Proxy of C++ CN_DISJOINT_NET_ENTRY class."""
11309 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11310 __repr__ = _swig_repr
11311 net = property(_pcbnew.CN_DISJOINT_NET_ENTRY_net_get, _pcbnew.CN_DISJOINT_NET_ENTRY_net_set, doc=
r"""net : int""")
11312 a = property(_pcbnew.CN_DISJOINT_NET_ENTRY_a_get, _pcbnew.CN_DISJOINT_NET_ENTRY_a_set, doc=
r"""a : p.BOARD_CONNECTED_ITEM""")
11313 b = property(_pcbnew.CN_DISJOINT_NET_ENTRY_b_get, _pcbnew.CN_DISJOINT_NET_ENTRY_b_set, doc=
r"""b : p.BOARD_CONNECTED_ITEM""")
11314 anchorA = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_set, doc=
r"""anchorA : VECTOR2I""")
11315 anchorB = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_set, doc=
r"""anchorB : VECTOR2I""")
11318 r"""__init__(CN_DISJOINT_NET_ENTRY self) -> CN_DISJOINT_NET_ENTRY"""
11319 _pcbnew.CN_DISJOINT_NET_ENTRY_swiginit(self, _pcbnew.new_CN_DISJOINT_NET_ENTRY())
11320 __swig_destroy__ = _pcbnew.delete_CN_DISJOINT_NET_ENTRY
11323_pcbnew.CN_DISJOINT_NET_ENTRY_swigregister(CN_DISJOINT_NET_ENTRY)
11325 r"""Proxy of C++ RN_DYNAMIC_LINE class."""
11327 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11328 __repr__ = _swig_repr
11329 netCode = property(_pcbnew.RN_DYNAMIC_LINE_netCode_get, _pcbnew.RN_DYNAMIC_LINE_netCode_set, doc=
r"""netCode : int""")
11330 a = property(_pcbnew.RN_DYNAMIC_LINE_a_get, _pcbnew.RN_DYNAMIC_LINE_a_set, doc=
r"""a : VECTOR2I""")
11331 b = property(_pcbnew.RN_DYNAMIC_LINE_b_get, _pcbnew.RN_DYNAMIC_LINE_b_set, doc=
r"""b : VECTOR2I""")
11334 r"""__init__(RN_DYNAMIC_LINE self) -> RN_DYNAMIC_LINE"""
11335 _pcbnew.RN_DYNAMIC_LINE_swiginit(self, _pcbnew.new_RN_DYNAMIC_LINE())
11336 __swig_destroy__ = _pcbnew.delete_RN_DYNAMIC_LINE
11339_pcbnew.RN_DYNAMIC_LINE_swigregister(RN_DYNAMIC_LINE)
11340PROPAGATE_MODE_SKIP_CONFLICTS = _pcbnew.PROPAGATE_MODE_SKIP_CONFLICTS
11342PROPAGATE_MODE_RESOLVE_CONFLICTS = _pcbnew.PROPAGATE_MODE_RESOLVE_CONFLICTS
11345 r"""Proxy of C++ CONNECTIVITY_DATA class."""
11347 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11348 __repr__ = _swig_repr
11349 __swig_destroy__ = _pcbnew.delete_CONNECTIVITY_DATA
11353 __init__(CONNECTIVITY_DATA self) -> CONNECTIVITY_DATA
11354 __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
11356 _pcbnew.CONNECTIVITY_DATA_swiginit(self, _pcbnew.new_CONNECTIVITY_DATA(*args))
11360 Build(CONNECTIVITY_DATA self, BOARD aBoard, PROGRESS_REPORTER * aReporter=None) -> bool
11361 Build(CONNECTIVITY_DATA self, std::shared_ptr< CONNECTIVITY_DATA > & aGlobalConnectivity, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aLocalItems)
11363 return _pcbnew.CONNECTIVITY_DATA_Build(self, *args)
11366 r"""Add(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11367 return _pcbnew.CONNECTIVITY_DATA_Add(self, aItem)
11370 r"""Remove(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11371 return _pcbnew.CONNECTIVITY_DATA_Remove(self, aItem)
11374 r"""Update(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11375 return _pcbnew.CONNECTIVITY_DATA_Update(self, aItem)
11378 r"""Move(CONNECTIVITY_DATA self, VECTOR2I aDelta)"""
11379 return _pcbnew.CONNECTIVITY_DATA_Move(self, aDelta)
11382 r"""ClearRatsnest(CONNECTIVITY_DATA self)"""
11383 return _pcbnew.CONNECTIVITY_DATA_ClearRatsnest(self)
11386 r"""GetNetCount(CONNECTIVITY_DATA self) -> int"""
11387 return _pcbnew.CONNECTIVITY_DATA_GetNetCount(self)
11390 r"""GetRatsnestForNet(CONNECTIVITY_DATA self, int aNet) -> RN_NET *"""
11391 return _pcbnew.CONNECTIVITY_DATA_GetRatsnestForNet(self, aNet)
11394 r"""PropagateNets(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
11395 return _pcbnew.CONNECTIVITY_DATA_PropagateNets(self, aCommit)
11398 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)"""
11399 return _pcbnew.CONNECTIVITY_DATA_FillIsolatedIslandsMap(self, aMap, aConnectivityAlreadyRebuilt)
11402 r"""RecalculateRatsnest(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
11403 return _pcbnew.CONNECTIVITY_DATA_RecalculateRatsnest(self, aCommit)
11406 r"""GetUnconnectedCount(CONNECTIVITY_DATA self, bool aVisibileOnly) -> unsigned int"""
11407 return _pcbnew.CONNECTIVITY_DATA_GetUnconnectedCount(self, aVisibileOnly)
11410 r"""IsConnectedOnLayer(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, int aLayer, std::initializer_list< KICAD_T > const & aTypes={}) -> bool"""
11411 return _pcbnew.CONNECTIVITY_DATA_IsConnectedOnLayer(self, *args)
11414 r"""GetNodeCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
11415 return _pcbnew.CONNECTIVITY_DATA_GetNodeCount(self, aNet)
11418 r"""GetPadCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
11419 return _pcbnew.CONNECTIVITY_DATA_GetPadCount(self, aNet)
11422 r"""GetConnectedTracks(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> TRACKS_VEC"""
11423 return _pcbnew.CONNECTIVITY_DATA_GetConnectedTracks(self, aItem)
11427 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> PADS_VEC
11428 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::set< PAD *,std::less< PAD * >,std::allocator< PAD * > > * pads)
11430 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPads(self, *args)
11433 r"""GetConnectedPadsAndVias(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, PADS_VEC pads, std::vector< PCB_VIA *,std::allocator< PCB_VIA * > > * vias)"""
11434 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPadsAndVias(self, aItem, pads, vias)
11437 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"""
11438 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItemsAtAnchor(self, aItem, aAnchor, aTypes, aMaxError)
11441 r"""RunOnUnconnectedEdges(CONNECTIVITY_DATA self, std::function< bool (CN_EDGE &) > aFunc)"""
11442 return _pcbnew.CONNECTIVITY_DATA_RunOnUnconnectedEdges(self, aFunc)
11445 r"""TestTrackEndpointDangling(CONNECTIVITY_DATA self, PCB_TRACK aTrack, bool aIgnoreTracksInPads, VECTOR2I aPos=None) -> bool"""
11446 return _pcbnew.CONNECTIVITY_DATA_TestTrackEndpointDangling(self, aTrack, aIgnoreTracksInPads, aPos)
11449 r"""ClearLocalRatsnest(CONNECTIVITY_DATA self)"""
11450 return _pcbnew.CONNECTIVITY_DATA_ClearLocalRatsnest(self)
11453 r"""HideLocalRatsnest(CONNECTIVITY_DATA self)"""
11454 return _pcbnew.CONNECTIVITY_DATA_HideLocalRatsnest(self)
11457 r"""ComputeLocalRatsnest(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems, CONNECTIVITY_DATA aDynamicData, VECTOR2I aInternalOffset={ 0, 0 })"""
11458 return _pcbnew.CONNECTIVITY_DATA_ComputeLocalRatsnest(self, *args)
11461 r"""GetLocalRatsnest(CONNECTIVITY_DATA self) -> std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &"""
11462 return _pcbnew.CONNECTIVITY_DATA_GetLocalRatsnest(self)
11465 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"""
11466 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItems(self, aItem, aTypes, aIgnoreNetcodes)
11469 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"""
11470 return _pcbnew.CONNECTIVITY_DATA_GetNetItems(self, aNetCode, aTypes)
11473 r"""BlockRatsnestItems(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)"""
11474 return _pcbnew.CONNECTIVITY_DATA_BlockRatsnestItems(self, aItems)
11477 r"""GetConnectivityAlgo(CONNECTIVITY_DATA self) -> std::shared_ptr< CN_CONNECTIVITY_ALGO >"""
11478 return _pcbnew.CONNECTIVITY_DATA_GetConnectivityAlgo(self)
11481 r"""GetLock(CONNECTIVITY_DATA self) -> KISPINLOCK &"""
11482 return _pcbnew.CONNECTIVITY_DATA_GetLock(self)
11485 r"""MarkItemNetAsDirty(CONNECTIVITY_DATA self, BOARD_ITEM aItem)"""
11486 return _pcbnew.CONNECTIVITY_DATA_MarkItemNetAsDirty(self, aItem)
11489 r"""RemoveInvalidRefs(CONNECTIVITY_DATA self)"""
11490 return _pcbnew.CONNECTIVITY_DATA_RemoveInvalidRefs(self)
11493 r"""SetProgressReporter(CONNECTIVITY_DATA self, PROGRESS_REPORTER * aReporter)"""
11494 return _pcbnew.CONNECTIVITY_DATA_SetProgressReporter(self, aReporter)
11497 r"""GetNetSettings(CONNECTIVITY_DATA self) -> NET_SETTINGS"""
11498 return _pcbnew.CONNECTIVITY_DATA_GetNetSettings(self)
11501 r"""HasNetNameForNetCode(CONNECTIVITY_DATA self, int nc) -> bool"""
11502 return _pcbnew.CONNECTIVITY_DATA_HasNetNameForNetCode(self, nc)
11505 r"""GetNetNameForNetCode(CONNECTIVITY_DATA self, int nc) -> wxString"""
11506 return _pcbnew.CONNECTIVITY_DATA_GetNetNameForNetCode(self, nc)
11509 r"""RefreshNetcodeMap(CONNECTIVITY_DATA self, BOARD aBoard)"""
11510 return _pcbnew.CONNECTIVITY_DATA_RefreshNetcodeMap(self, aBoard)
11513 r"""GetFromToCache(CONNECTIVITY_DATA self) -> std::shared_ptr< FROM_TO_CACHE >"""
11514 return _pcbnew.CONNECTIVITY_DATA_GetFromToCache(self)
11517_pcbnew.CONNECTIVITY_DATA_swigregister(CONNECTIVITY_DATA)
11519 r"""Proxy of C++ std::vector< PCB_MARKER * > class."""
11521 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11522 __repr__ = _swig_repr
11525 r"""iterator(MARKERS self) -> SwigPyIterator"""
11526 return _pcbnew.MARKERS_iterator(self)
11531 r"""__nonzero__(MARKERS self) -> bool"""
11532 return _pcbnew.MARKERS___nonzero__(self)
11535 r"""__bool__(MARKERS self) -> bool"""
11536 return _pcbnew.MARKERS___bool__(self)
11539 r"""__len__(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11540 return _pcbnew.MARKERS___len__(self)
11543 r"""__getslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j) -> MARKERS"""
11544 return _pcbnew.MARKERS___getslice__(self, i, j)
11548 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)
11549 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j, MARKERS v)
11551 return _pcbnew.MARKERS___setslice__(self, *args)
11554 r"""__delslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)"""
11555 return _pcbnew.MARKERS___delslice__(self, i, j)
11559 __delitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i)
11560 __delitem__(MARKERS self, SWIGPY_SLICEOBJECT * slice)
11562 return _pcbnew.MARKERS___delitem__(self, *args)
11566 __getitem__(MARKERS self, SWIGPY_SLICEOBJECT * slice) -> MARKERS
11567 __getitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i) -> PCB_MARKER
11569 return _pcbnew.MARKERS___getitem__(self, *args)
11573 __setitem__(MARKERS self, SWIGPY_SLICEOBJECT * slice, MARKERS v)
11574 __setitem__(MARKERS self, SWIGPY_SLICEOBJECT * slice)
11575 __setitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, PCB_MARKER x)
11577 return _pcbnew.MARKERS___setitem__(self, *args)
11580 r"""pop(MARKERS self) -> PCB_MARKER"""
11581 return _pcbnew.MARKERS_pop(self)
11584 r"""append(MARKERS self, PCB_MARKER x)"""
11585 return _pcbnew.MARKERS_append(self, x)
11588 r"""empty(MARKERS self) -> bool"""
11589 return _pcbnew.MARKERS_empty(self)
11592 r"""size(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11593 return _pcbnew.MARKERS_size(self)
11596 r"""swap(MARKERS self, MARKERS v)"""
11597 return _pcbnew.MARKERS_swap(self, v)
11600 r"""begin(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
11601 return _pcbnew.MARKERS_begin(self)
11604 r"""end(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
11605 return _pcbnew.MARKERS_end(self)
11608 r"""rbegin(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11609 return _pcbnew.MARKERS_rbegin(self)
11612 r"""rend(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11613 return _pcbnew.MARKERS_rend(self)
11616 r"""clear(MARKERS self)"""
11617 return _pcbnew.MARKERS_clear(self)
11620 r"""get_allocator(MARKERS self) -> std::vector< PCB_MARKER * >::allocator_type"""
11621 return _pcbnew.MARKERS_get_allocator(self)
11624 r"""pop_back(MARKERS self)"""
11625 return _pcbnew.MARKERS_pop_back(self)
11629 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator pos) -> std::vector< PCB_MARKER * >::iterator
11630 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator first, std::vector< PCB_MARKER * >::iterator last) -> std::vector< PCB_MARKER * >::iterator
11632 return _pcbnew.MARKERS_erase(self, *args)
11637 __init__(MARKERS self, MARKERS other) -> MARKERS
11638 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size) -> MARKERS
11639 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size, PCB_MARKER value) -> MARKERS
11641 _pcbnew.MARKERS_swiginit(self, _pcbnew.new_MARKERS(*args))
11644 r"""push_back(MARKERS self, PCB_MARKER x)"""
11645 return _pcbnew.MARKERS_push_back(self, x)
11648 r"""front(MARKERS self) -> PCB_MARKER"""
11649 return _pcbnew.MARKERS_front(self)
11652 r"""back(MARKERS self) -> PCB_MARKER"""
11653 return _pcbnew.MARKERS_back(self)
11656 r"""assign(MARKERS self, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)"""
11657 return _pcbnew.MARKERS_assign(self, n, x)
11661 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size)
11662 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size, PCB_MARKER x)
11664 return _pcbnew.MARKERS_resize(self, *args)
11668 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, PCB_MARKER x) -> std::vector< PCB_MARKER * >::iterator
11669 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)
11671 return _pcbnew.MARKERS_insert(self, *args)
11674 r"""reserve(MARKERS self, std::vector< PCB_MARKER * >::size_type n)"""
11675 return _pcbnew.MARKERS_reserve(self, n)
11678 r"""capacity(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11679 return _pcbnew.MARKERS_capacity(self)
11680 __swig_destroy__ = _pcbnew.delete_MARKERS
11683_pcbnew.MARKERS_swigregister(MARKERS)
11685 r"""Proxy of C++ std::vector< ZONE * > class."""
11687 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11688 __repr__ = _swig_repr
11691 r"""iterator(ZONES self) -> SwigPyIterator"""
11692 return _pcbnew.ZONES_iterator(self)
11697 r"""__nonzero__(ZONES self) -> bool"""
11698 return _pcbnew.ZONES___nonzero__(self)
11701 r"""__bool__(ZONES self) -> bool"""
11702 return _pcbnew.ZONES___bool__(self)
11705 r"""__len__(ZONES self) -> std::vector< ZONE * >::size_type"""
11706 return _pcbnew.ZONES___len__(self)
11709 r"""__getslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j) -> ZONES"""
11710 return _pcbnew.ZONES___getslice__(self, i, j)
11714 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)
11715 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j, ZONES v)
11717 return _pcbnew.ZONES___setslice__(self, *args)
11720 r"""__delslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)"""
11721 return _pcbnew.ZONES___delslice__(self, i, j)
11725 __delitem__(ZONES self, std::vector< ZONE * >::difference_type i)
11726 __delitem__(ZONES self, SWIGPY_SLICEOBJECT * slice)
11728 return _pcbnew.ZONES___delitem__(self, *args)
11732 __getitem__(ZONES self, SWIGPY_SLICEOBJECT * slice) -> ZONES
11733 __getitem__(ZONES self, std::vector< ZONE * >::difference_type i) -> ZONE
11735 return _pcbnew.ZONES___getitem__(self, *args)
11739 __setitem__(ZONES self, SWIGPY_SLICEOBJECT * slice, ZONES v)
11740 __setitem__(ZONES self, SWIGPY_SLICEOBJECT * slice)
11741 __setitem__(ZONES self, std::vector< ZONE * >::difference_type i, ZONE x)
11743 return _pcbnew.ZONES___setitem__(self, *args)
11746 r"""pop(ZONES self) -> ZONE"""
11747 return _pcbnew.ZONES_pop(self)
11750 r"""append(ZONES self, ZONE x)"""
11751 return _pcbnew.ZONES_append(self, x)
11754 r"""empty(ZONES self) -> bool"""
11755 return _pcbnew.ZONES_empty(self)
11758 r"""size(ZONES self) -> std::vector< ZONE * >::size_type"""
11759 return _pcbnew.ZONES_size(self)
11762 r"""swap(ZONES self, ZONES v)"""
11763 return _pcbnew.ZONES_swap(self, v)
11766 r"""begin(ZONES self) -> std::vector< ZONE * >::iterator"""
11767 return _pcbnew.ZONES_begin(self)
11770 r"""end(ZONES self) -> std::vector< ZONE * >::iterator"""
11771 return _pcbnew.ZONES_end(self)
11774 r"""rbegin(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
11775 return _pcbnew.ZONES_rbegin(self)
11778 r"""rend(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
11779 return _pcbnew.ZONES_rend(self)
11782 r"""clear(ZONES self)"""
11783 return _pcbnew.ZONES_clear(self)
11786 r"""get_allocator(ZONES self) -> std::vector< ZONE * >::allocator_type"""
11787 return _pcbnew.ZONES_get_allocator(self)
11790 r"""pop_back(ZONES self)"""
11791 return _pcbnew.ZONES_pop_back(self)
11795 erase(ZONES self, std::vector< ZONE * >::iterator pos) -> std::vector< ZONE * >::iterator
11796 erase(ZONES self, std::vector< ZONE * >::iterator first, std::vector< ZONE * >::iterator last) -> std::vector< ZONE * >::iterator
11798 return _pcbnew.ZONES_erase(self, *args)
11803 __init__(ZONES self, ZONES other) -> ZONES
11804 __init__(ZONES self, std::vector< ZONE * >::size_type size) -> ZONES
11805 __init__(ZONES self, std::vector< ZONE * >::size_type size, ZONE value) -> ZONES
11807 _pcbnew.ZONES_swiginit(self, _pcbnew.new_ZONES(*args))
11810 r"""push_back(ZONES self, ZONE x)"""
11811 return _pcbnew.ZONES_push_back(self, x)
11814 r"""front(ZONES self) -> ZONE"""
11815 return _pcbnew.ZONES_front(self)
11818 r"""back(ZONES self) -> ZONE"""
11819 return _pcbnew.ZONES_back(self)
11822 r"""assign(ZONES self, std::vector< ZONE * >::size_type n, ZONE x)"""
11823 return _pcbnew.ZONES_assign(self, n, x)
11827 resize(ZONES self, std::vector< ZONE * >::size_type new_size)
11828 resize(ZONES self, std::vector< ZONE * >::size_type new_size, ZONE x)
11830 return _pcbnew.ZONES_resize(self, *args)
11834 insert(ZONES self, std::vector< ZONE * >::iterator pos, ZONE x) -> std::vector< ZONE * >::iterator
11835 insert(ZONES self, std::vector< ZONE * >::iterator pos, std::vector< ZONE * >::size_type n, ZONE x)
11837 return _pcbnew.ZONES_insert(self, *args)
11840 r"""reserve(ZONES self, std::vector< ZONE * >::size_type n)"""
11841 return _pcbnew.ZONES_reserve(self, n)
11844 r"""capacity(ZONES self) -> std::vector< ZONE * >::size_type"""
11845 return _pcbnew.ZONES_capacity(self)
11846 __swig_destroy__ = _pcbnew.delete_ZONES
11849_pcbnew.ZONES_swigregister(ZONES)
11851 r"""Proxy of C++ std::deque< PCB_TRACK * > class."""
11853 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11854 __repr__ = _swig_repr
11857 r"""iterator(TRACKS self) -> SwigPyIterator"""
11858 return _pcbnew.TRACKS_iterator(self)
11863 r"""__nonzero__(TRACKS self) -> bool"""
11864 return _pcbnew.TRACKS___nonzero__(self)
11867 r"""__bool__(TRACKS self) -> bool"""
11868 return _pcbnew.TRACKS___bool__(self)
11871 r"""__len__(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
11872 return _pcbnew.TRACKS___len__(self)
11875 r"""__getslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j) -> TRACKS"""
11876 return _pcbnew.TRACKS___getslice__(self, i, j)
11880 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)
11881 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j, TRACKS v)
11883 return _pcbnew.TRACKS___setslice__(self, *args)
11886 r"""__delslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)"""
11887 return _pcbnew.TRACKS___delslice__(self, i, j)
11891 __delitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i)
11892 __delitem__(TRACKS self, SWIGPY_SLICEOBJECT * slice)
11894 return _pcbnew.TRACKS___delitem__(self, *args)
11898 __getitem__(TRACKS self, SWIGPY_SLICEOBJECT * slice) -> TRACKS
11899 __getitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i) -> PCB_TRACK
11901 return _pcbnew.TRACKS___getitem__(self, *args)
11905 __setitem__(TRACKS self, SWIGPY_SLICEOBJECT * slice, TRACKS v)
11906 __setitem__(TRACKS self, SWIGPY_SLICEOBJECT * slice)
11907 __setitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, PCB_TRACK x)
11909 return _pcbnew.TRACKS___setitem__(self, *args)
11912 r"""pop(TRACKS self) -> PCB_TRACK"""
11913 return _pcbnew.TRACKS_pop(self)
11916 r"""append(TRACKS self, PCB_TRACK x)"""
11917 return _pcbnew.TRACKS_append(self, x)
11920 r"""empty(TRACKS self) -> bool"""
11921 return _pcbnew.TRACKS_empty(self)
11924 r"""size(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
11925 return _pcbnew.TRACKS_size(self)
11928 r"""swap(TRACKS self, TRACKS v)"""
11929 return _pcbnew.TRACKS_swap(self, v)
11932 r"""begin(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
11933 return _pcbnew.TRACKS_begin(self)
11936 r"""end(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
11937 return _pcbnew.TRACKS_end(self)
11940 r"""rbegin(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
11941 return _pcbnew.TRACKS_rbegin(self)
11944 r"""rend(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
11945 return _pcbnew.TRACKS_rend(self)
11948 r"""clear(TRACKS self)"""
11949 return _pcbnew.TRACKS_clear(self)
11952 r"""get_allocator(TRACKS self) -> std::deque< PCB_TRACK * >::allocator_type"""
11953 return _pcbnew.TRACKS_get_allocator(self)
11956 r"""pop_back(TRACKS self)"""
11957 return _pcbnew.TRACKS_pop_back(self)
11961 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator pos) -> std::deque< PCB_TRACK * >::iterator
11962 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator first, std::deque< PCB_TRACK * >::iterator last) -> std::deque< PCB_TRACK * >::iterator
11964 return _pcbnew.TRACKS_erase(self, *args)
11969 __init__(TRACKS self, TRACKS other) -> TRACKS
11970 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size) -> TRACKS
11971 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS
11973 _pcbnew.TRACKS_swiginit(self, _pcbnew.new_TRACKS(*args))
11976 r"""push_back(TRACKS self, PCB_TRACK x)"""
11977 return _pcbnew.TRACKS_push_back(self, x)
11980 r"""front(TRACKS self) -> PCB_TRACK"""
11981 return _pcbnew.TRACKS_front(self)
11984 r"""back(TRACKS self) -> PCB_TRACK"""
11985 return _pcbnew.TRACKS_back(self)
11988 r"""assign(TRACKS self, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
11989 return _pcbnew.TRACKS_assign(self, n, x)
11993 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size)
11994 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
11996 return _pcbnew.TRACKS_resize(self, *args)
12000 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::deque< PCB_TRACK * >::iterator
12001 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)
12003 return _pcbnew.TRACKS_insert(self, *args)
12006 r"""pop_front(TRACKS self)"""
12007 return _pcbnew.TRACKS_pop_front(self)
12010 r"""push_front(TRACKS self, PCB_TRACK x)"""
12011 return _pcbnew.TRACKS_push_front(self, x)
12019 except StopIteration:
12022 __swig_destroy__ = _pcbnew.delete_TRACKS
12025_pcbnew.TRACKS_swigregister(TRACKS)
12027 r"""Proxy of C++ std::deque< FOOTPRINT * > class."""
12029 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12030 __repr__ = _swig_repr
12033 r"""iterator(FOOTPRINTS self) -> SwigPyIterator"""
12034 return _pcbnew.FOOTPRINTS_iterator(self)
12039 r"""__nonzero__(FOOTPRINTS self) -> bool"""
12040 return _pcbnew.FOOTPRINTS___nonzero__(self)
12043 r"""__bool__(FOOTPRINTS self) -> bool"""
12044 return _pcbnew.FOOTPRINTS___bool__(self)
12047 r"""__len__(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
12048 return _pcbnew.FOOTPRINTS___len__(self)
12051 r"""__getslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j) -> FOOTPRINTS"""
12052 return _pcbnew.FOOTPRINTS___getslice__(self, i, j)
12056 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)
12057 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j, FOOTPRINTS v)
12059 return _pcbnew.FOOTPRINTS___setslice__(self, *args)
12062 r"""__delslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)"""
12063 return _pcbnew.FOOTPRINTS___delslice__(self, i, j)
12067 __delitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i)
12068 __delitem__(FOOTPRINTS self, SWIGPY_SLICEOBJECT * slice)
12070 return _pcbnew.FOOTPRINTS___delitem__(self, *args)
12074 __getitem__(FOOTPRINTS self, SWIGPY_SLICEOBJECT * slice) -> FOOTPRINTS
12075 __getitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i) -> FOOTPRINT
12077 return _pcbnew.FOOTPRINTS___getitem__(self, *args)
12081 __setitem__(FOOTPRINTS self, SWIGPY_SLICEOBJECT * slice, FOOTPRINTS v)
12082 __setitem__(FOOTPRINTS self, SWIGPY_SLICEOBJECT * slice)
12083 __setitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, FOOTPRINT x)
12085 return _pcbnew.FOOTPRINTS___setitem__(self, *args)
12088 r"""pop(FOOTPRINTS self) -> FOOTPRINT"""
12089 return _pcbnew.FOOTPRINTS_pop(self)
12092 r"""append(FOOTPRINTS self, FOOTPRINT x)"""
12093 return _pcbnew.FOOTPRINTS_append(self, x)
12096 r"""empty(FOOTPRINTS self) -> bool"""
12097 return _pcbnew.FOOTPRINTS_empty(self)
12100 r"""size(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
12101 return _pcbnew.FOOTPRINTS_size(self)
12104 r"""swap(FOOTPRINTS self, FOOTPRINTS v)"""
12105 return _pcbnew.FOOTPRINTS_swap(self, v)
12108 r"""begin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
12109 return _pcbnew.FOOTPRINTS_begin(self)
12112 r"""end(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
12113 return _pcbnew.FOOTPRINTS_end(self)
12116 r"""rbegin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
12117 return _pcbnew.FOOTPRINTS_rbegin(self)
12120 r"""rend(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
12121 return _pcbnew.FOOTPRINTS_rend(self)
12124 r"""clear(FOOTPRINTS self)"""
12125 return _pcbnew.FOOTPRINTS_clear(self)
12128 r"""get_allocator(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::allocator_type"""
12129 return _pcbnew.FOOTPRINTS_get_allocator(self)
12132 r"""pop_back(FOOTPRINTS self)"""
12133 return _pcbnew.FOOTPRINTS_pop_back(self)
12137 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos) -> std::deque< FOOTPRINT * >::iterator
12138 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator first, std::deque< FOOTPRINT * >::iterator last) -> std::deque< FOOTPRINT * >::iterator
12140 return _pcbnew.FOOTPRINTS_erase(self, *args)
12144 __init__(FOOTPRINTS self) -> FOOTPRINTS
12145 __init__(FOOTPRINTS self, FOOTPRINTS other) -> FOOTPRINTS
12146 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size) -> FOOTPRINTS
12147 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size, FOOTPRINT value) -> FOOTPRINTS
12149 _pcbnew.FOOTPRINTS_swiginit(self, _pcbnew.new_FOOTPRINTS(*args))
12152 r"""push_back(FOOTPRINTS self, FOOTPRINT x)"""
12153 return _pcbnew.FOOTPRINTS_push_back(self, x)
12156 r"""front(FOOTPRINTS self) -> FOOTPRINT"""
12157 return _pcbnew.FOOTPRINTS_front(self)
12160 r"""back(FOOTPRINTS self) -> FOOTPRINT"""
12161 return _pcbnew.FOOTPRINTS_back(self)
12164 r"""assign(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)"""
12165 return _pcbnew.FOOTPRINTS_assign(self, n, x)
12169 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size)
12170 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size, FOOTPRINT x)
12172 return _pcbnew.FOOTPRINTS_resize(self, *args)
12176 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, FOOTPRINT x) -> std::deque< FOOTPRINT * >::iterator
12177 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)
12179 return _pcbnew.FOOTPRINTS_insert(self, *args)
12182 r"""pop_front(FOOTPRINTS self)"""
12183 return _pcbnew.FOOTPRINTS_pop_front(self)
12186 r"""push_front(FOOTPRINTS self, FOOTPRINT x)"""
12187 return _pcbnew.FOOTPRINTS_push_front(self, x)
12188 __swig_destroy__ = _pcbnew.delete_FOOTPRINTS
12191_pcbnew.FOOTPRINTS_swigregister(FOOTPRINTS)
12193 r"""Proxy of C++ std::deque< PCB_GROUP * > class."""
12195 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12196 __repr__ = _swig_repr
12199 r"""iterator(GROUPS self) -> SwigPyIterator"""
12200 return _pcbnew.GROUPS_iterator(self)
12205 r"""__nonzero__(GROUPS self) -> bool"""
12206 return _pcbnew.GROUPS___nonzero__(self)
12209 r"""__bool__(GROUPS self) -> bool"""
12210 return _pcbnew.GROUPS___bool__(self)
12213 r"""__len__(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
12214 return _pcbnew.GROUPS___len__(self)
12217 r"""__getslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j) -> GROUPS"""
12218 return _pcbnew.GROUPS___getslice__(self, i, j)
12222 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)
12223 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j, GROUPS v)
12225 return _pcbnew.GROUPS___setslice__(self, *args)
12228 r"""__delslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)"""
12229 return _pcbnew.GROUPS___delslice__(self, i, j)
12233 __delitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i)
12234 __delitem__(GROUPS self, SWIGPY_SLICEOBJECT * slice)
12236 return _pcbnew.GROUPS___delitem__(self, *args)
12240 __getitem__(GROUPS self, SWIGPY_SLICEOBJECT * slice) -> GROUPS
12241 __getitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i) -> PCB_GROUP
12243 return _pcbnew.GROUPS___getitem__(self, *args)
12247 __setitem__(GROUPS self, SWIGPY_SLICEOBJECT * slice, GROUPS v)
12248 __setitem__(GROUPS self, SWIGPY_SLICEOBJECT * slice)
12249 __setitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, PCB_GROUP x)
12251 return _pcbnew.GROUPS___setitem__(self, *args)
12254 r"""pop(GROUPS self) -> PCB_GROUP"""
12255 return _pcbnew.GROUPS_pop(self)
12258 r"""append(GROUPS self, PCB_GROUP x)"""
12259 return _pcbnew.GROUPS_append(self, x)
12262 r"""empty(GROUPS self) -> bool"""
12263 return _pcbnew.GROUPS_empty(self)
12266 r"""size(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
12267 return _pcbnew.GROUPS_size(self)
12270 r"""swap(GROUPS self, GROUPS v)"""
12271 return _pcbnew.GROUPS_swap(self, v)
12274 r"""begin(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
12275 return _pcbnew.GROUPS_begin(self)
12278 r"""end(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
12279 return _pcbnew.GROUPS_end(self)
12282 r"""rbegin(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
12283 return _pcbnew.GROUPS_rbegin(self)
12286 r"""rend(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
12287 return _pcbnew.GROUPS_rend(self)
12290 r"""clear(GROUPS self)"""
12291 return _pcbnew.GROUPS_clear(self)
12294 r"""get_allocator(GROUPS self) -> std::deque< PCB_GROUP * >::allocator_type"""
12295 return _pcbnew.GROUPS_get_allocator(self)
12298 r"""pop_back(GROUPS self)"""
12299 return _pcbnew.GROUPS_pop_back(self)
12303 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator pos) -> std::deque< PCB_GROUP * >::iterator
12304 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator first, std::deque< PCB_GROUP * >::iterator last) -> std::deque< PCB_GROUP * >::iterator
12306 return _pcbnew.GROUPS_erase(self, *args)
12311 __init__(GROUPS self, GROUPS other) -> GROUPS
12312 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size) -> GROUPS
12313 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size, PCB_GROUP value) -> GROUPS
12315 _pcbnew.GROUPS_swiginit(self, _pcbnew.new_GROUPS(*args))
12318 r"""push_back(GROUPS self, PCB_GROUP x)"""
12319 return _pcbnew.GROUPS_push_back(self, x)
12322 r"""front(GROUPS self) -> PCB_GROUP"""
12323 return _pcbnew.GROUPS_front(self)
12326 r"""back(GROUPS self) -> PCB_GROUP"""
12327 return _pcbnew.GROUPS_back(self)
12330 r"""assign(GROUPS self, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)"""
12331 return _pcbnew.GROUPS_assign(self, n, x)
12335 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size)
12336 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size, PCB_GROUP x)
12338 return _pcbnew.GROUPS_resize(self, *args)
12342 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, PCB_GROUP x) -> std::deque< PCB_GROUP * >::iterator
12343 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)
12345 return _pcbnew.GROUPS_insert(self, *args)
12348 r"""pop_front(GROUPS self)"""
12349 return _pcbnew.GROUPS_pop_front(self)
12352 r"""push_front(GROUPS self, PCB_GROUP x)"""
12353 return _pcbnew.GROUPS_push_front(self, x)
12354 __swig_destroy__ = _pcbnew.delete_GROUPS
12357_pcbnew.GROUPS_swigregister(GROUPS)
12359 r"""Proxy of C++ std::deque< PCB_GENERATOR * > class."""
12361 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12362 __repr__ = _swig_repr
12365 r"""iterator(GENERATORS self) -> SwigPyIterator"""
12366 return _pcbnew.GENERATORS_iterator(self)
12371 r"""__nonzero__(GENERATORS self) -> bool"""
12372 return _pcbnew.GENERATORS___nonzero__(self)
12375 r"""__bool__(GENERATORS self) -> bool"""
12376 return _pcbnew.GENERATORS___bool__(self)
12379 r"""__len__(GENERATORS self) -> std::deque< PCB_GENERATOR * >::size_type"""
12380 return _pcbnew.GENERATORS___len__(self)
12383 r"""__getslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j) -> GENERATORS"""
12384 return _pcbnew.GENERATORS___getslice__(self, i, j)
12388 __setslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j)
12389 __setslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j, GENERATORS v)
12391 return _pcbnew.GENERATORS___setslice__(self, *args)
12394 r"""__delslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j)"""
12395 return _pcbnew.GENERATORS___delslice__(self, i, j)
12399 __delitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i)
12400 __delitem__(GENERATORS self, SWIGPY_SLICEOBJECT * slice)
12402 return _pcbnew.GENERATORS___delitem__(self, *args)
12406 __getitem__(GENERATORS self, SWIGPY_SLICEOBJECT * slice) -> GENERATORS
12407 __getitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i) -> std::deque< PCB_GENERATOR * >::value_type
12409 return _pcbnew.GENERATORS___getitem__(self, *args)
12413 __setitem__(GENERATORS self, SWIGPY_SLICEOBJECT * slice, GENERATORS v)
12414 __setitem__(GENERATORS self, SWIGPY_SLICEOBJECT * slice)
12415 __setitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::value_type x)
12417 return _pcbnew.GENERATORS___setitem__(self, *args)
12420 r"""pop(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12421 return _pcbnew.GENERATORS_pop(self)
12424 r"""append(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12425 return _pcbnew.GENERATORS_append(self, x)
12428 r"""empty(GENERATORS self) -> bool"""
12429 return _pcbnew.GENERATORS_empty(self)
12432 r"""size(GENERATORS self) -> std::deque< PCB_GENERATOR * >::size_type"""
12433 return _pcbnew.GENERATORS_size(self)
12436 r"""swap(GENERATORS self, GENERATORS v)"""
12437 return _pcbnew.GENERATORS_swap(self, v)
12440 r"""begin(GENERATORS self) -> std::deque< PCB_GENERATOR * >::iterator"""
12441 return _pcbnew.GENERATORS_begin(self)
12444 r"""end(GENERATORS self) -> std::deque< PCB_GENERATOR * >::iterator"""
12445 return _pcbnew.GENERATORS_end(self)
12448 r"""rbegin(GENERATORS self) -> std::deque< PCB_GENERATOR * >::reverse_iterator"""
12449 return _pcbnew.GENERATORS_rbegin(self)
12452 r"""rend(GENERATORS self) -> std::deque< PCB_GENERATOR * >::reverse_iterator"""
12453 return _pcbnew.GENERATORS_rend(self)
12456 r"""clear(GENERATORS self)"""
12457 return _pcbnew.GENERATORS_clear(self)
12460 r"""get_allocator(GENERATORS self) -> std::deque< PCB_GENERATOR * >::allocator_type"""
12461 return _pcbnew.GENERATORS_get_allocator(self)
12464 r"""pop_back(GENERATORS self)"""
12465 return _pcbnew.GENERATORS_pop_back(self)
12469 erase(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos) -> std::deque< PCB_GENERATOR * >::iterator
12470 erase(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator first, std::deque< PCB_GENERATOR * >::iterator last) -> std::deque< PCB_GENERATOR * >::iterator
12472 return _pcbnew.GENERATORS_erase(self, *args)
12476 __init__(GENERATORS self) -> GENERATORS
12477 __init__(GENERATORS self, GENERATORS other) -> GENERATORS
12478 __init__(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type size) -> GENERATORS
12479 __init__(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type size, std::deque< PCB_GENERATOR * >::value_type value) -> GENERATORS
12481 _pcbnew.GENERATORS_swiginit(self, _pcbnew.new_GENERATORS(*args))
12484 r"""push_back(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12485 return _pcbnew.GENERATORS_push_back(self, x)
12488 r"""front(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12489 return _pcbnew.GENERATORS_front(self)
12492 r"""back(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12493 return _pcbnew.GENERATORS_back(self)
12496 r"""assign(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type n, std::deque< PCB_GENERATOR * >::value_type x)"""
12497 return _pcbnew.GENERATORS_assign(self, n, x)
12501 resize(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type new_size)
12502 resize(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type new_size, std::deque< PCB_GENERATOR * >::value_type x)
12504 return _pcbnew.GENERATORS_resize(self, *args)
12508 insert(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos, std::deque< PCB_GENERATOR * >::value_type x) -> std::deque< PCB_GENERATOR * >::iterator
12509 insert(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos, std::deque< PCB_GENERATOR * >::size_type n, std::deque< PCB_GENERATOR * >::value_type x)
12511 return _pcbnew.GENERATORS_insert(self, *args)
12514 r"""pop_front(GENERATORS self)"""
12515 return _pcbnew.GENERATORS_pop_front(self)
12518 r"""push_front(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12519 return _pcbnew.GENERATORS_push_front(self, x)
12520 __swig_destroy__ = _pcbnew.delete_GENERATORS
12523_pcbnew.GENERATORS_swigregister(GENERATORS)
12525 r"""Proxy of C++ std::deque< BOARD_ITEM * > class."""
12527 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12528 __repr__ = _swig_repr
12531 r"""iterator(DRAWINGS self) -> SwigPyIterator"""
12532 return _pcbnew.DRAWINGS_iterator(self)
12537 r"""__nonzero__(DRAWINGS self) -> bool"""
12538 return _pcbnew.DRAWINGS___nonzero__(self)
12541 r"""__bool__(DRAWINGS self) -> bool"""
12542 return _pcbnew.DRAWINGS___bool__(self)
12545 r"""__len__(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
12546 return _pcbnew.DRAWINGS___len__(self)
12549 r"""__getslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j) -> DRAWINGS"""
12550 return _pcbnew.DRAWINGS___getslice__(self, i, j)
12554 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)
12555 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j, DRAWINGS v)
12557 return _pcbnew.DRAWINGS___setslice__(self, *args)
12560 r"""__delslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)"""
12561 return _pcbnew.DRAWINGS___delslice__(self, i, j)
12565 __delitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i)
12566 __delitem__(DRAWINGS self, SWIGPY_SLICEOBJECT * slice)
12568 return _pcbnew.DRAWINGS___delitem__(self, *args)
12572 __getitem__(DRAWINGS self, SWIGPY_SLICEOBJECT * slice) -> DRAWINGS
12573 __getitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i) -> BOARD_ITEM
12575 return _pcbnew.DRAWINGS___getitem__(self, *args)
12579 __setitem__(DRAWINGS self, SWIGPY_SLICEOBJECT * slice, DRAWINGS v)
12580 __setitem__(DRAWINGS self, SWIGPY_SLICEOBJECT * slice)
12581 __setitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, BOARD_ITEM x)
12583 return _pcbnew.DRAWINGS___setitem__(self, *args)
12586 r"""pop(DRAWINGS self) -> BOARD_ITEM"""
12587 return _pcbnew.DRAWINGS_pop(self)
12590 r"""append(DRAWINGS self, BOARD_ITEM x)"""
12591 return _pcbnew.DRAWINGS_append(self, x)
12594 r"""empty(DRAWINGS self) -> bool"""
12595 return _pcbnew.DRAWINGS_empty(self)
12598 r"""size(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
12599 return _pcbnew.DRAWINGS_size(self)
12602 r"""swap(DRAWINGS self, DRAWINGS v)"""
12603 return _pcbnew.DRAWINGS_swap(self, v)
12606 r"""begin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
12607 return _pcbnew.DRAWINGS_begin(self)
12610 r"""end(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
12611 return _pcbnew.DRAWINGS_end(self)
12614 r"""rbegin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
12615 return _pcbnew.DRAWINGS_rbegin(self)
12618 r"""rend(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
12619 return _pcbnew.DRAWINGS_rend(self)
12622 r"""clear(DRAWINGS self)"""
12623 return _pcbnew.DRAWINGS_clear(self)
12626 r"""get_allocator(DRAWINGS self) -> std::deque< BOARD_ITEM * >::allocator_type"""
12627 return _pcbnew.DRAWINGS_get_allocator(self)
12630 r"""pop_back(DRAWINGS self)"""
12631 return _pcbnew.DRAWINGS_pop_back(self)
12635 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos) -> std::deque< BOARD_ITEM * >::iterator
12636 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator first, std::deque< BOARD_ITEM * >::iterator last) -> std::deque< BOARD_ITEM * >::iterator
12638 return _pcbnew.DRAWINGS_erase(self, *args)
12642 __init__(DRAWINGS self) -> DRAWINGS
12643 __init__(DRAWINGS self, DRAWINGS other) -> DRAWINGS
12644 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size) -> DRAWINGS
12645 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size, BOARD_ITEM value) -> DRAWINGS
12647 _pcbnew.DRAWINGS_swiginit(self, _pcbnew.new_DRAWINGS(*args))
12650 r"""push_back(DRAWINGS self, BOARD_ITEM x)"""
12651 return _pcbnew.DRAWINGS_push_back(self, x)
12654 r"""front(DRAWINGS self) -> BOARD_ITEM"""
12655 return _pcbnew.DRAWINGS_front(self)
12658 r"""back(DRAWINGS self) -> BOARD_ITEM"""
12659 return _pcbnew.DRAWINGS_back(self)
12662 r"""assign(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)"""
12663 return _pcbnew.DRAWINGS_assign(self, n, x)
12667 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size)
12668 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size, BOARD_ITEM x)
12670 return _pcbnew.DRAWINGS_resize(self, *args)
12674 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, BOARD_ITEM x) -> std::deque< BOARD_ITEM * >::iterator
12675 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)
12677 return _pcbnew.DRAWINGS_insert(self, *args)
12680 r"""pop_front(DRAWINGS self)"""
12681 return _pcbnew.DRAWINGS_pop_front(self)
12684 r"""push_front(DRAWINGS self, BOARD_ITEM x)"""
12685 return _pcbnew.DRAWINGS_push_front(self, x)
12693 except StopIteration:
12696 __swig_destroy__ = _pcbnew.delete_DRAWINGS
12699_pcbnew.DRAWINGS_swigregister(DRAWINGS)
12701 r"""Proxy of C++ std::deque< PAD * > class."""
12703 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12704 __repr__ = _swig_repr
12707 r"""iterator(PADS self) -> SwigPyIterator"""
12708 return _pcbnew.PADS_iterator(self)
12713 r"""__nonzero__(PADS self) -> bool"""
12714 return _pcbnew.PADS___nonzero__(self)
12717 r"""__bool__(PADS self) -> bool"""
12718 return _pcbnew.PADS___bool__(self)
12721 r"""__len__(PADS self) -> std::deque< PAD * >::size_type"""
12722 return _pcbnew.PADS___len__(self)
12725 r"""__getslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j) -> PADS"""
12726 return _pcbnew.PADS___getslice__(self, i, j)
12730 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)
12731 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j, PADS v)
12733 return _pcbnew.PADS___setslice__(self, *args)
12736 r"""__delslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)"""
12737 return _pcbnew.PADS___delslice__(self, i, j)
12741 __delitem__(PADS self, std::deque< PAD * >::difference_type i)
12742 __delitem__(PADS self, SWIGPY_SLICEOBJECT * slice)
12744 return _pcbnew.PADS___delitem__(self, *args)
12748 __getitem__(PADS self, SWIGPY_SLICEOBJECT * slice) -> PADS
12749 __getitem__(PADS self, std::deque< PAD * >::difference_type i) -> PAD
12751 return _pcbnew.PADS___getitem__(self, *args)
12755 __setitem__(PADS self, SWIGPY_SLICEOBJECT * slice, PADS v)
12756 __setitem__(PADS self, SWIGPY_SLICEOBJECT * slice)
12757 __setitem__(PADS self, std::deque< PAD * >::difference_type i, PAD x)
12759 return _pcbnew.PADS___setitem__(self, *args)
12762 r"""pop(PADS self) -> PAD"""
12763 return _pcbnew.PADS_pop(self)
12766 r"""append(PADS self, PAD x)"""
12767 return _pcbnew.PADS_append(self, x)
12770 r"""empty(PADS self) -> bool"""
12771 return _pcbnew.PADS_empty(self)
12774 r"""size(PADS self) -> std::deque< PAD * >::size_type"""
12775 return _pcbnew.PADS_size(self)
12778 r"""swap(PADS self, PADS v)"""
12779 return _pcbnew.PADS_swap(self, v)
12782 r"""begin(PADS self) -> std::deque< PAD * >::iterator"""
12783 return _pcbnew.PADS_begin(self)
12786 r"""end(PADS self) -> std::deque< PAD * >::iterator"""
12787 return _pcbnew.PADS_end(self)
12790 r"""rbegin(PADS self) -> std::deque< PAD * >::reverse_iterator"""
12791 return _pcbnew.PADS_rbegin(self)
12794 r"""rend(PADS self) -> std::deque< PAD * >::reverse_iterator"""
12795 return _pcbnew.PADS_rend(self)
12798 r"""clear(PADS self)"""
12799 return _pcbnew.PADS_clear(self)
12802 r"""get_allocator(PADS self) -> std::deque< PAD * >::allocator_type"""
12803 return _pcbnew.PADS_get_allocator(self)
12806 r"""pop_back(PADS self)"""
12807 return _pcbnew.PADS_pop_back(self)
12811 erase(PADS self, std::deque< PAD * >::iterator pos) -> std::deque< PAD * >::iterator
12812 erase(PADS self, std::deque< PAD * >::iterator first, std::deque< PAD * >::iterator last) -> std::deque< PAD * >::iterator
12814 return _pcbnew.PADS_erase(self, *args)
12819 __init__(PADS self, PADS other) -> PADS
12820 __init__(PADS self, std::deque< PAD * >::size_type size) -> PADS
12821 __init__(PADS self, std::deque< PAD * >::size_type size, PAD value) -> PADS
12823 _pcbnew.PADS_swiginit(self, _pcbnew.new_PADS(*args))
12826 r"""push_back(PADS self, PAD x)"""
12827 return _pcbnew.PADS_push_back(self, x)
12830 r"""front(PADS self) -> PAD"""
12831 return _pcbnew.PADS_front(self)
12834 r"""back(PADS self) -> PAD"""
12835 return _pcbnew.PADS_back(self)
12838 r"""assign(PADS self, std::deque< PAD * >::size_type n, PAD x)"""
12839 return _pcbnew.PADS_assign(self, n, x)
12843 resize(PADS self, std::deque< PAD * >::size_type new_size)
12844 resize(PADS self, std::deque< PAD * >::size_type new_size, PAD x)
12846 return _pcbnew.PADS_resize(self, *args)
12850 insert(PADS self, std::deque< PAD * >::iterator pos, PAD x) -> std::deque< PAD * >::iterator
12851 insert(PADS self, std::deque< PAD * >::iterator pos, std::deque< PAD * >::size_type n, PAD x)
12853 return _pcbnew.PADS_insert(self, *args)
12856 r"""pop_front(PADS self)"""
12857 return _pcbnew.PADS_pop_front(self)
12860 r"""push_front(PADS self, PAD x)"""
12861 return _pcbnew.PADS_push_front(self, x)
12862 __swig_destroy__ = _pcbnew.delete_PADS
12865_pcbnew.PADS_swigregister(PADS)
12867 r"""Proxy of C++ std::deque< PCB_FIELD * > class."""
12869 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12870 __repr__ = _swig_repr
12873 r"""iterator(PCB_FIELDS self) -> SwigPyIterator"""
12874 return _pcbnew.PCB_FIELDS_iterator(self)
12879 r"""__nonzero__(PCB_FIELDS self) -> bool"""
12880 return _pcbnew.PCB_FIELDS___nonzero__(self)
12883 r"""__bool__(PCB_FIELDS self) -> bool"""
12884 return _pcbnew.PCB_FIELDS___bool__(self)
12887 r"""__len__(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::size_type"""
12888 return _pcbnew.PCB_FIELDS___len__(self)
12891 r"""__getslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j) -> PCB_FIELDS"""
12892 return _pcbnew.PCB_FIELDS___getslice__(self, i, j)
12896 __setslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j)
12897 __setslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j, PCB_FIELDS v)
12899 return _pcbnew.PCB_FIELDS___setslice__(self, *args)
12902 r"""__delslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j)"""
12903 return _pcbnew.PCB_FIELDS___delslice__(self, i, j)
12907 __delitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i)
12908 __delitem__(PCB_FIELDS self, SWIGPY_SLICEOBJECT * slice)
12910 return _pcbnew.PCB_FIELDS___delitem__(self, *args)
12914 __getitem__(PCB_FIELDS self, SWIGPY_SLICEOBJECT * slice) -> PCB_FIELDS
12915 __getitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i) -> PCB_FIELD
12917 return _pcbnew.PCB_FIELDS___getitem__(self, *args)
12921 __setitem__(PCB_FIELDS self, SWIGPY_SLICEOBJECT * slice, PCB_FIELDS v)
12922 __setitem__(PCB_FIELDS self, SWIGPY_SLICEOBJECT * slice)
12923 __setitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, PCB_FIELD x)
12925 return _pcbnew.PCB_FIELDS___setitem__(self, *args)
12928 r"""pop(PCB_FIELDS self) -> PCB_FIELD"""
12929 return _pcbnew.PCB_FIELDS_pop(self)
12932 r"""append(PCB_FIELDS self, PCB_FIELD x)"""
12933 return _pcbnew.PCB_FIELDS_append(self, x)
12936 r"""empty(PCB_FIELDS self) -> bool"""
12937 return _pcbnew.PCB_FIELDS_empty(self)
12940 r"""size(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::size_type"""
12941 return _pcbnew.PCB_FIELDS_size(self)
12944 r"""swap(PCB_FIELDS self, PCB_FIELDS v)"""
12945 return _pcbnew.PCB_FIELDS_swap(self, v)
12948 r"""begin(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::iterator"""
12949 return _pcbnew.PCB_FIELDS_begin(self)
12952 r"""end(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::iterator"""
12953 return _pcbnew.PCB_FIELDS_end(self)
12956 r"""rbegin(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::reverse_iterator"""
12957 return _pcbnew.PCB_FIELDS_rbegin(self)
12960 r"""rend(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::reverse_iterator"""
12961 return _pcbnew.PCB_FIELDS_rend(self)
12964 r"""clear(PCB_FIELDS self)"""
12965 return _pcbnew.PCB_FIELDS_clear(self)
12968 r"""get_allocator(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::allocator_type"""
12969 return _pcbnew.PCB_FIELDS_get_allocator(self)
12972 r"""pop_back(PCB_FIELDS self)"""
12973 return _pcbnew.PCB_FIELDS_pop_back(self)
12977 erase(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos) -> std::deque< PCB_FIELD * >::iterator
12978 erase(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator first, std::deque< PCB_FIELD * >::iterator last) -> std::deque< PCB_FIELD * >::iterator
12980 return _pcbnew.PCB_FIELDS_erase(self, *args)
12984 __init__(PCB_FIELDS self) -> PCB_FIELDS
12985 __init__(PCB_FIELDS self, PCB_FIELDS other) -> PCB_FIELDS
12986 __init__(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type size) -> PCB_FIELDS
12987 __init__(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type size, PCB_FIELD value) -> PCB_FIELDS
12989 _pcbnew.PCB_FIELDS_swiginit(self, _pcbnew.new_PCB_FIELDS(*args))
12992 r"""push_back(PCB_FIELDS self, PCB_FIELD x)"""
12993 return _pcbnew.PCB_FIELDS_push_back(self, x)
12996 r"""front(PCB_FIELDS self) -> PCB_FIELD"""
12997 return _pcbnew.PCB_FIELDS_front(self)
13000 r"""back(PCB_FIELDS self) -> PCB_FIELD"""
13001 return _pcbnew.PCB_FIELDS_back(self)
13004 r"""assign(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type n, PCB_FIELD x)"""
13005 return _pcbnew.PCB_FIELDS_assign(self, n, x)
13009 resize(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type new_size)
13010 resize(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type new_size, PCB_FIELD x)
13012 return _pcbnew.PCB_FIELDS_resize(self, *args)
13016 insert(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos, PCB_FIELD x) -> std::deque< PCB_FIELD * >::iterator
13017 insert(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos, std::deque< PCB_FIELD * >::size_type n, PCB_FIELD x)
13019 return _pcbnew.PCB_FIELDS_insert(self, *args)
13022 r"""pop_front(PCB_FIELDS self)"""
13023 return _pcbnew.PCB_FIELDS_pop_front(self)
13026 r"""push_front(PCB_FIELDS self, PCB_FIELD x)"""
13027 return _pcbnew.PCB_FIELDS_push_front(self, x)
13028 __swig_destroy__ = _pcbnew.delete_PCB_FIELDS
13031_pcbnew.PCB_FIELDS_swigregister(PCB_FIELDS)
13032PAD_SHAPE_CIRCLE = _pcbnew.PAD_SHAPE_CIRCLE
13034PAD_SHAPE_RECTANGLE = _pcbnew.PAD_SHAPE_RECTANGLE
13036PAD_SHAPE_OVAL = _pcbnew.PAD_SHAPE_OVAL
13038PAD_SHAPE_TRAPEZOID = _pcbnew.PAD_SHAPE_TRAPEZOID
13040PAD_SHAPE_ROUNDRECT = _pcbnew.PAD_SHAPE_ROUNDRECT
13042PAD_SHAPE_CHAMFERED_RECT = _pcbnew.PAD_SHAPE_CHAMFERED_RECT
13044PAD_SHAPE_CUSTOM = _pcbnew.PAD_SHAPE_CUSTOM
13046PAD_DRILL_SHAPE_UNDEFINED = _pcbnew.PAD_DRILL_SHAPE_UNDEFINED
13048PAD_DRILL_SHAPE_CIRCLE = _pcbnew.PAD_DRILL_SHAPE_CIRCLE
13050PAD_DRILL_SHAPE_OBLONG = _pcbnew.PAD_DRILL_SHAPE_OBLONG
13052PAD_ATTRIB_PTH = _pcbnew.PAD_ATTRIB_PTH
13054PAD_ATTRIB_SMD = _pcbnew.PAD_ATTRIB_SMD
13056PAD_ATTRIB_CONN = _pcbnew.PAD_ATTRIB_CONN
13058PAD_ATTRIB_NPTH = _pcbnew.PAD_ATTRIB_NPTH
13060PAD_PROP_NONE = _pcbnew.PAD_PROP_NONE
13062PAD_PROP_BGA = _pcbnew.PAD_PROP_BGA
13064PAD_PROP_FIDUCIAL_GLBL = _pcbnew.PAD_PROP_FIDUCIAL_GLBL
13066PAD_PROP_FIDUCIAL_LOCAL = _pcbnew.PAD_PROP_FIDUCIAL_LOCAL
13068PAD_PROP_TESTPOINT = _pcbnew.PAD_PROP_TESTPOINT
13070PAD_PROP_HEATSINK = _pcbnew.PAD_PROP_HEATSINK
13072PAD_PROP_CASTELLATED = _pcbnew.PAD_PROP_CASTELLATED
13074PAD_PROP_MECHANICAL = _pcbnew.PAD_PROP_MECHANICAL
13077 r"""Proxy of C++ PADSTACK class."""
13079 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13080 __repr__ = _swig_repr
13081 TYPE_NORMAL = _pcbnew.PADSTACK_TYPE_NORMAL
13083 TYPE_VIA = _pcbnew.PADSTACK_TYPE_VIA
13085 TYPE_MOUNTING = _pcbnew.PADSTACK_TYPE_MOUNTING
13087 MODE_NORMAL = _pcbnew.PADSTACK_MODE_NORMAL
13089 MODE_FRONT_INNER_BACK = _pcbnew.PADSTACK_MODE_FRONT_INNER_BACK
13091 MODE_CUSTOM = _pcbnew.PADSTACK_MODE_CUSTOM
13093 ALL_LAYERS = _pcbnew.PADSTACK_ALL_LAYERS
13095 INNER_LAYERS = _pcbnew.PADSTACK_INNER_LAYERS
13097 UNCONNECTED_LAYER_MODE_KEEP_ALL = _pcbnew.PADSTACK_UNCONNECTED_LAYER_MODE_KEEP_ALL
13099 UNCONNECTED_LAYER_MODE_REMOVE_ALL = _pcbnew.PADSTACK_UNCONNECTED_LAYER_MODE_REMOVE_ALL
13101 UNCONNECTED_LAYER_MODE_REMOVE_EXCEPT_START_AND_END = _pcbnew.PADSTACK_UNCONNECTED_LAYER_MODE_REMOVE_EXCEPT_START_AND_END
13103 CUSTOM_SHAPE_ZONE_MODE_OUTLINE = _pcbnew.PADSTACK_CUSTOM_SHAPE_ZONE_MODE_OUTLINE
13105 CUSTOM_SHAPE_ZONE_MODE_CONVEXHULL = _pcbnew.PADSTACK_CUSTOM_SHAPE_ZONE_MODE_CONVEXHULL
13107 __swig_destroy__ = _pcbnew.delete_PADSTACK
13111 __init__(PADSTACK self, BOARD_ITEM aParent) -> PADSTACK
13112 __init__(PADSTACK self, PADSTACK aOther) -> PADSTACK
13114 _pcbnew.PADSTACK_swiginit(self, _pcbnew.new_PADSTACK(*args))
13117 r"""__eq__(PADSTACK self, PADSTACK aOther) -> bool"""
13118 return _pcbnew.PADSTACK___eq__(self, aOther)
13121 r"""__ne__(PADSTACK self, PADSTACK aOther) -> bool"""
13122 return _pcbnew.PADSTACK___ne__(self, aOther)
13125 r"""Serialize(PADSTACK self, google::protobuf::Any & aContainer)"""
13126 return _pcbnew.PADSTACK_Serialize(self, aContainer)
13129 r"""Deserialize(PADSTACK self, google::protobuf::Any const & aContainer) -> bool"""
13130 return _pcbnew.PADSTACK_Deserialize(self, aContainer)
13134 r"""Compare(PADSTACK aPadstackRef, PADSTACK aPadstackCmp) -> int"""
13135 return _pcbnew.PADSTACK_Compare(aPadstackRef, aPadstackCmp)
13138 r"""Similarity(PADSTACK self, PADSTACK aOther) -> double"""
13139 return _pcbnew.PADSTACK_Similarity(self, aOther)
13146 return _pcbnew.PADSTACK_LayerSet(self, *args)
13149 r"""SetLayerSet(PADSTACK self, LSET aSet)"""
13150 return _pcbnew.PADSTACK_SetLayerSet(self, aSet)
13153 r"""FlipLayers(PADSTACK self, int aCopperLayerCount)"""
13154 return _pcbnew.PADSTACK_FlipLayers(self, aCopperLayerCount)
13157 r"""StartLayer(PADSTACK self) -> PCB_LAYER_ID"""
13158 return _pcbnew.PADSTACK_StartLayer(self)
13161 r"""EndLayer(PADSTACK self) -> PCB_LAYER_ID"""
13162 return _pcbnew.PADSTACK_EndLayer(self)
13165 r"""Mode(PADSTACK self) -> PADSTACK::MODE"""
13166 return _pcbnew.PADSTACK_Mode(self)
13169 r"""SetMode(PADSTACK self, PADSTACK::MODE aMode)"""
13170 return _pcbnew.PADSTACK_SetMode(self, aMode)
13173 r"""Name(PADSTACK self) -> wxString"""
13174 return _pcbnew.PADSTACK_Name(self)
13177 r"""GetOrientation(PADSTACK self) -> EDA_ANGLE"""
13178 return _pcbnew.PADSTACK_GetOrientation(self)
13181 r"""SetOrientation(PADSTACK self, EDA_ANGLE aAngle)"""
13182 return _pcbnew.PADSTACK_SetOrientation(self, aAngle)
13186 Drill(PADSTACK self) -> PADSTACK::DRILL_PROPS
13187 Drill(PADSTACK self) -> PADSTACK::DRILL_PROPS const &
13189 return _pcbnew.PADSTACK_Drill(self, *args)
13196 return _pcbnew.PADSTACK_SecondaryDrill(self, *args)
13199 r"""UnconnectedLayerMode(PADSTACK self) -> PADSTACK::UNCONNECTED_LAYER_MODE"""
13200 return _pcbnew.PADSTACK_UnconnectedLayerMode(self)
13203 r"""SetUnconnectedLayerMode(PADSTACK self, PADSTACK::UNCONNECTED_LAYER_MODE aMode)"""
13204 return _pcbnew.PADSTACK_SetUnconnectedLayerMode(self, aMode)
13208 CopperLayer(PADSTACK self, PCB_LAYER_ID aLayer) -> PADSTACK::COPPER_LAYER_PROPS
13209 CopperLayer(PADSTACK self, PCB_LAYER_ID aLayer) -> PADSTACK::COPPER_LAYER_PROPS const &
13211 return _pcbnew.PADSTACK_CopperLayer(self, *args)
13218 return _pcbnew.PADSTACK_FrontOuterLayers(self, *args)
13225 return _pcbnew.PADSTACK_BackOuterLayers(self, *args)
13228 r"""IsTented(PADSTACK self, PCB_LAYER_ID aSide) -> std::optional< bool >"""
13229 return _pcbnew.PADSTACK_IsTented(self, aSide)
13232 r"""CustomShapeInZoneMode(PADSTACK self) -> PADSTACK::CUSTOM_SHAPE_ZONE_MODE"""
13233 return _pcbnew.PADSTACK_CustomShapeInZoneMode(self)
13236 r"""SetCustomShapeInZoneMode(PADSTACK self, PADSTACK::CUSTOM_SHAPE_ZONE_MODE aM)"""
13237 return _pcbnew.PADSTACK_SetCustomShapeInZoneMode(self, aM)
13240 r"""ForEachUniqueLayer(PADSTACK self, std::function< void (PCB_LAYER_ID) > const & aMethod)"""
13241 return _pcbnew.PADSTACK_ForEachUniqueLayer(self, aMethod)
13244 r"""UniqueLayers(PADSTACK self) -> base_seqVect"""
13245 return _pcbnew.PADSTACK_UniqueLayers(self)
13248 r"""EffectiveLayerFor(PADSTACK self, PCB_LAYER_ID aLayer) -> PCB_LAYER_ID"""
13249 return _pcbnew.PADSTACK_EffectiveLayerFor(self, aLayer)
13252 r"""RelevantShapeLayers(PADSTACK self, PADSTACK aOther) -> LSET"""
13253 return _pcbnew.PADSTACK_RelevantShapeLayers(self, aOther)
13256 r"""Shape(PADSTACK self, PCB_LAYER_ID aLayer) -> PAD_SHAPE"""
13257 return _pcbnew.PADSTACK_Shape(self, aLayer)
13260 r"""SetShape(PADSTACK self, PAD_SHAPE aShape, PCB_LAYER_ID aLayer)"""
13261 return _pcbnew.PADSTACK_SetShape(self, aShape, aLayer)
13264 r"""SetSize(PADSTACK self, VECTOR2I aSize, PCB_LAYER_ID aLayer)"""
13265 return _pcbnew.PADSTACK_SetSize(self, aSize, aLayer)
13268 r"""Size(PADSTACK self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
13269 return _pcbnew.PADSTACK_Size(self, aLayer)
13272 r"""DrillShape(PADSTACK self) -> PAD_DRILL_SHAPE"""
13273 return _pcbnew.PADSTACK_DrillShape(self)
13276 r"""SetDrillShape(PADSTACK self, PAD_DRILL_SHAPE aShape)"""
13277 return _pcbnew.PADSTACK_SetDrillShape(self, aShape)
13281 Offset(PADSTACK self, PCB_LAYER_ID aLayer) -> VECTOR2I
13282 Offset(PADSTACK self, PCB_LAYER_ID aLayer) -> VECTOR2I
13284 return _pcbnew.PADSTACK_Offset(self, *args)
13287 r"""AnchorShape(PADSTACK self, PCB_LAYER_ID aLayer) -> PAD_SHAPE"""
13288 return _pcbnew.PADSTACK_AnchorShape(self, aLayer)
13291 r"""SetAnchorShape(PADSTACK self, PAD_SHAPE aShape, PCB_LAYER_ID aLayer)"""
13292 return _pcbnew.PADSTACK_SetAnchorShape(self, aShape, aLayer)
13299 return _pcbnew.PADSTACK_TrapezoidDeltaSize(self, *args)
13302 r"""RoundRectRadiusRatio(PADSTACK self, PCB_LAYER_ID aLayer) -> double"""
13303 return _pcbnew.PADSTACK_RoundRectRadiusRatio(self, aLayer)
13306 r"""SetRoundRectRadiusRatio(PADSTACK self, double aRatio, PCB_LAYER_ID aLayer)"""
13307 return _pcbnew.PADSTACK_SetRoundRectRadiusRatio(self, aRatio, aLayer)
13310 r"""RoundRectRadius(PADSTACK self, PCB_LAYER_ID aLayer) -> int"""
13311 return _pcbnew.PADSTACK_RoundRectRadius(self, aLayer)
13314 r"""SetRoundRectRadius(PADSTACK self, double aRadius, PCB_LAYER_ID aLayer)"""
13315 return _pcbnew.PADSTACK_SetRoundRectRadius(self, aRadius, aLayer)
13318 r"""ChamferRatio(PADSTACK self, PCB_LAYER_ID aLayer) -> double"""
13319 return _pcbnew.PADSTACK_ChamferRatio(self, aLayer)
13322 r"""SetChamferRatio(PADSTACK self, double aRatio, PCB_LAYER_ID aLayer)"""
13323 return _pcbnew.PADSTACK_SetChamferRatio(self, aRatio, aLayer)
13330 return _pcbnew.PADSTACK_ChamferPositions(self, *args)
13333 r"""SetChamferPositions(PADSTACK self, int aPositions, PCB_LAYER_ID aLayer)"""
13334 return _pcbnew.PADSTACK_SetChamferPositions(self, aPositions, aLayer)
13338 Clearance(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13339 Clearance(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13341 return _pcbnew.PADSTACK_Clearance(self, *args)
13345 SolderMaskMargin(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13346 SolderMaskMargin(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13348 return _pcbnew.PADSTACK_SolderMaskMargin(self, *args)
13352 SolderPasteMargin(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13353 SolderPasteMargin(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13355 return _pcbnew.PADSTACK_SolderPasteMargin(self, *args)
13362 return _pcbnew.PADSTACK_SolderPasteMarginRatio(self, *args)
13366 ZoneConnection(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< ZONE_CONNECTION >
13367 ZoneConnection(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< ZONE_CONNECTION > const
13369 return _pcbnew.PADSTACK_ZoneConnection(self, *args)
13373 ThermalSpokeWidth(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13374 ThermalSpokeWidth(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13376 return _pcbnew.PADSTACK_ThermalSpokeWidth(self, *args)
13380 ThermalGap(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int >
13381 ThermalGap(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> std::optional< int > const
13383 return _pcbnew.PADSTACK_ThermalGap(self, *args)
13386 r"""DefaultThermalSpokeAngleForShape(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> EDA_ANGLE"""
13387 return _pcbnew.PADSTACK_DefaultThermalSpokeAngleForShape(self, aLayer)
13390 r"""ThermalSpokeAngle(PADSTACK self, PCB_LAYER_ID aLayer=F_Cu) -> EDA_ANGLE"""
13391 return _pcbnew.PADSTACK_ThermalSpokeAngle(self, aLayer)
13394 r"""SetThermalSpokeAngle(PADSTACK self, EDA_ANGLE aAngle, PCB_LAYER_ID aLayer=F_Cu)"""
13395 return _pcbnew.PADSTACK_SetThermalSpokeAngle(self, aAngle, aLayer)
13399 Primitives(PADSTACK self, PCB_LAYER_ID aLayer) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > >
13400 Primitives(PADSTACK self, PCB_LAYER_ID aLayer) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &
13402 return _pcbnew.PADSTACK_Primitives(self, *args)
13405 r"""AddPrimitive(PADSTACK self, PCB_SHAPE aShape, PCB_LAYER_ID aLayer)"""
13406 return _pcbnew.PADSTACK_AddPrimitive(self, aShape, aLayer)
13409 r"""AppendPrimitives(PADSTACK self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList, PCB_LAYER_ID aLayer)"""
13410 return _pcbnew.PADSTACK_AppendPrimitives(self, aPrimitivesList, aLayer)
13413 r"""ReplacePrimitives(PADSTACK self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList, PCB_LAYER_ID aLayer)"""
13414 return _pcbnew.PADSTACK_ReplacePrimitives(self, aPrimitivesList, aLayer)
13417 r"""ClearPrimitives(PADSTACK self, PCB_LAYER_ID aLayer)"""
13418 return _pcbnew.PADSTACK_ClearPrimitives(self, aLayer)
13421_pcbnew.PADSTACK_swigregister(PADSTACK)
13423 r"""Proxy of C++ PAD class."""
13425 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13426 __repr__ = _swig_repr
13430 __init__(PAD self, FOOTPRINT parent) -> PAD
13431 __init__(PAD self, PAD aPad) -> PAD
13433 _pcbnew.PAD_swiginit(self, _pcbnew.new_PAD(*args))
13436 r"""Serialize(PAD self, google::protobuf::Any & aContainer)"""
13437 return _pcbnew.PAD_Serialize(self, aContainer)
13440 r"""Deserialize(PAD self, google::protobuf::Any const & aContainer) -> bool"""
13441 return _pcbnew.PAD_Deserialize(self, aContainer)
13445 r"""PTHMask() -> LSET"""
13446 return _pcbnew.PAD_PTHMask()
13450 r"""SMDMask() -> LSET"""
13451 return _pcbnew.PAD_SMDMask()
13455 r"""ConnSMDMask() -> LSET"""
13456 return _pcbnew.PAD_ConnSMDMask()
13460 r"""UnplatedHoleMask() -> LSET"""
13461 return _pcbnew.PAD_UnplatedHoleMask()
13465 r"""ApertureMask() -> LSET"""
13466 return _pcbnew.PAD_ApertureMask()
13470 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13471 return _pcbnew.PAD_ClassOf(aItem)
13474 r"""ImportSettingsFrom(PAD self, PAD aMasterPad)"""
13475 return _pcbnew.PAD_ImportSettingsFrom(self, aMasterPad)
13478 r"""IsFlipped(PAD self) -> bool"""
13479 return _pcbnew.PAD_IsFlipped(self)
13482 r"""SetNumber(PAD self, wxString aNumber)"""
13483 return _pcbnew.PAD_SetNumber(self, aNumber)
13486 r"""GetNumber(PAD self) -> wxString"""
13487 return _pcbnew.PAD_GetNumber(self)
13490 r"""CanHaveNumber(PAD self) -> bool"""
13491 return _pcbnew.PAD_CanHaveNumber(self)
13494 r"""SetPinFunction(PAD self, wxString aName)"""
13495 return _pcbnew.PAD_SetPinFunction(self, aName)
13498 r"""GetPinFunction(PAD self) -> wxString"""
13499 return _pcbnew.PAD_GetPinFunction(self)
13502 r"""SetPinType(PAD self, wxString aType)"""
13503 return _pcbnew.PAD_SetPinType(self, aType)
13506 r"""GetPinType(PAD self) -> wxString"""
13507 return _pcbnew.PAD_GetPinType(self)
13510 r"""SameLogicalPadAs(PAD self, PAD aOther) -> bool"""
13511 return _pcbnew.PAD_SameLogicalPadAs(self, aOther)
13514 r"""SharesNetTieGroup(PAD self, PAD aOther) -> bool"""
13515 return _pcbnew.PAD_SharesNetTieGroup(self, aOther)
13518 r"""IsNoConnectPad(PAD self) -> bool"""
13519 return _pcbnew.PAD_IsNoConnectPad(self)
13522 r"""IsFreePad(PAD self) -> bool"""
13523 return _pcbnew.PAD_IsFreePad(self)
13526 r"""SetFrontShape(PAD self, PAD_SHAPE aShape)"""
13527 return _pcbnew.PAD_SetFrontShape(self, aShape)
13530 r"""GetFrontShape(PAD self) -> PAD_SHAPE"""
13531 return _pcbnew.PAD_GetFrontShape(self)
13534 r"""GetAnchorPadShape(PAD self, PCB_LAYER_ID aLayer) -> PAD_SHAPE"""
13535 return _pcbnew.PAD_GetAnchorPadShape(self, aLayer)
13538 r"""GetCustomShapeInZoneOpt(PAD self) -> PADSTACK::CUSTOM_SHAPE_ZONE_MODE"""
13539 return _pcbnew.PAD_GetCustomShapeInZoneOpt(self)
13542 r"""SetCustomShapeInZoneOpt(PAD self, PADSTACK::CUSTOM_SHAPE_ZONE_MODE aOption)"""
13543 return _pcbnew.PAD_SetCustomShapeInZoneOpt(self, aOption)
13546 r"""SetAnchorPadShape(PAD self, PCB_LAYER_ID aLayer, PAD_SHAPE aShape)"""
13547 return _pcbnew.PAD_SetAnchorPadShape(self, aLayer, aShape)
13550 r"""SetY(PAD self, int y)"""
13551 return _pcbnew.PAD_SetY(self, y)
13554 r"""SetX(PAD self, int x)"""
13555 return _pcbnew.PAD_SetX(self, x)
13558 r"""SetSizeX(PAD self, int const aX)"""
13559 return _pcbnew.PAD_SetSizeX(self, aX)
13562 r"""GetSizeX(PAD self) -> int"""
13563 return _pcbnew.PAD_GetSizeX(self)
13566 r"""SetSizeY(PAD self, int const aY)"""
13567 return _pcbnew.PAD_SetSizeY(self, aY)
13570 r"""GetSizeY(PAD self) -> int"""
13571 return _pcbnew.PAD_GetSizeY(self)
13574 r"""SetDrillSize(PAD self, VECTOR2I aSize)"""
13575 return _pcbnew.PAD_SetDrillSize(self, aSize)
13578 r"""GetDrillSize(PAD self) -> VECTOR2I"""
13579 return _pcbnew.PAD_GetDrillSize(self)
13582 r"""SetDrillSizeX(PAD self, int const aX)"""
13583 return _pcbnew.PAD_SetDrillSizeX(self, aX)
13586 r"""GetDrillSizeX(PAD self) -> int"""
13587 return _pcbnew.PAD_GetDrillSizeX(self)
13590 r"""SetDrillSizeY(PAD self, int const aY)"""
13591 return _pcbnew.PAD_SetDrillSizeY(self, aY)
13594 r"""GetDrillSizeY(PAD self) -> int"""
13595 return _pcbnew.PAD_GetDrillSizeY(self)
13602 return _pcbnew.PAD_Padstack(self, *args)
13605 r"""SetPadstack(PAD self, PADSTACK aPadstack)"""
13606 return _pcbnew.PAD_SetPadstack(self, aPadstack)
13610 AddPrimitivePoly(PAD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPoly, int aThickness, bool aFilled)
13611 AddPrimitivePoly(PAD self, PCB_LAYER_ID aLayer, VECTOR_VECTOR2I aPoly, int aThickness, bool aFilled)
13613 return _pcbnew.PAD_AddPrimitivePoly(self, *args)
13616 r"""MergePrimitivesAsPolygon(PAD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aMergedPolygon, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
13617 return _pcbnew.PAD_MergePrimitivesAsPolygon(self, aLayer, aMergedPolygon, aErrorLoc)
13620 r"""DeletePrimitivesList(PAD self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
13621 return _pcbnew.PAD_DeletePrimitivesList(self, aLayer)
13624 r"""GetPrimitives(PAD self, PCB_LAYER_ID aLayer) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &"""
13625 return _pcbnew.PAD_GetPrimitives(self, aLayer)
13628 r"""FlipPrimitives(PAD self, FLIP_DIRECTION aFlipDirection)"""
13629 return _pcbnew.PAD_FlipPrimitives(self, aFlipDirection)
13632 r"""ReplacePrimitives(PAD self, PCB_LAYER_ID aLayer, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
13633 return _pcbnew.PAD_ReplacePrimitives(self, aLayer, aPrimitivesList)
13636 r"""AppendPrimitives(PAD self, PCB_LAYER_ID aLayer, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
13637 return _pcbnew.PAD_AppendPrimitives(self, aLayer, aPrimitivesList)
13640 r"""AddPrimitiveShape(PAD self, PCB_LAYER_ID aLayer, PCB_SHAPE aPrimitive)"""
13641 return _pcbnew.PAD_AddPrimitiveShape(self, aLayer, aPrimitive)
13644 r"""SetOrientation(PAD self, EDA_ANGLE aAngle)"""
13645 return _pcbnew.PAD_SetOrientation(self, aAngle)
13648 r"""SetFPRelativeOrientation(PAD self, EDA_ANGLE aAngle)"""
13649 return _pcbnew.PAD_SetFPRelativeOrientation(self, aAngle)
13652 r"""GetOrientation(PAD self) -> EDA_ANGLE"""
13653 return _pcbnew.PAD_GetOrientation(self)
13656 r"""GetFPRelativeOrientation(PAD self) -> EDA_ANGLE"""
13657 return _pcbnew.PAD_GetFPRelativeOrientation(self)
13660 r"""SetOrientationDegrees(PAD self, double aOrientation)"""
13661 return _pcbnew.PAD_SetOrientationDegrees(self, aOrientation)
13664 r"""GetOrientationDegrees(PAD self) -> double"""
13665 return _pcbnew.PAD_GetOrientationDegrees(self)
13668 r"""SetDrillShape(PAD self, PAD_DRILL_SHAPE aShape)"""
13669 return _pcbnew.PAD_SetDrillShape(self, aShape)
13672 r"""GetDrillShape(PAD self) -> PAD_DRILL_SHAPE"""
13673 return _pcbnew.PAD_GetDrillShape(self)
13676 r"""IsDirty(PAD self) -> bool"""
13677 return _pcbnew.PAD_IsDirty(self)
13680 r"""SetDirty(PAD self)"""
13681 return _pcbnew.PAD_SetDirty(self)
13684 r"""SetAttribute(PAD self, PAD_ATTRIB aAttribute)"""
13685 return _pcbnew.PAD_SetAttribute(self, aAttribute)
13688 r"""GetAttribute(PAD self) -> PAD_ATTRIB"""
13689 return _pcbnew.PAD_GetAttribute(self)
13692 r"""SetProperty(PAD self, PAD_PROP aProperty)"""
13693 return _pcbnew.PAD_SetProperty(self, aProperty)
13696 r"""GetProperty(PAD self) -> PAD_PROP"""
13697 return _pcbnew.PAD_GetProperty(self)
13700 r"""IsAperturePad(PAD self) -> bool"""
13701 return _pcbnew.PAD_IsAperturePad(self)
13704 r"""SetPadToDieLength(PAD self, int aLength)"""
13705 return _pcbnew.PAD_SetPadToDieLength(self, aLength)
13708 r"""GetPadToDieLength(PAD self) -> int"""
13709 return _pcbnew.PAD_GetPadToDieLength(self)
13712 r"""SetLocalClearance(PAD self, std::optional< int > aClearance)"""
13713 return _pcbnew.PAD_SetLocalClearance(self, aClearance)
13716 r"""GetLocalSolderMaskMargin(PAD self) -> std::optional< int >"""
13717 return _pcbnew.PAD_GetLocalSolderMaskMargin(self)
13720 r"""SetLocalSolderMaskMargin(PAD self, std::optional< int > aMargin)"""
13721 return _pcbnew.PAD_SetLocalSolderMaskMargin(self, aMargin)
13724 r"""GetLocalSolderPasteMargin(PAD self) -> std::optional< int >"""
13725 return _pcbnew.PAD_GetLocalSolderPasteMargin(self)
13728 r"""SetLocalSolderPasteMargin(PAD self, std::optional< int > aMargin)"""
13729 return _pcbnew.PAD_SetLocalSolderPasteMargin(self, aMargin)
13732 r"""GetLocalSolderPasteMarginRatio(PAD self) -> std::optional< double >"""
13733 return _pcbnew.PAD_GetLocalSolderPasteMarginRatio(self)
13736 r"""SetLocalSolderPasteMarginRatio(PAD self, std::optional< double > aRatio)"""
13737 return _pcbnew.PAD_SetLocalSolderPasteMarginRatio(self, aRatio)
13740 r"""SetLocalZoneConnection(PAD self, ZONE_CONNECTION aType)"""
13741 return _pcbnew.PAD_SetLocalZoneConnection(self, aType)
13744 r"""GetLocalZoneConnection(PAD self) -> ZONE_CONNECTION"""
13745 return _pcbnew.PAD_GetLocalZoneConnection(self)
13748 r"""GetOwnClearance(PAD self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
13749 return _pcbnew.PAD_GetOwnClearance(self, aLayer, aSource)
13752 r"""TransformShapeToPolygon(PAD self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc=ERROR_INSIDE, bool ignoreLineWidth=False)"""
13753 return _pcbnew.PAD_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, ignoreLineWidth)
13756 r"""TransformHoleToPolygon(PAD self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> bool"""
13757 return _pcbnew.PAD_TransformHoleToPolygon(self, aBuffer, aClearance, aError, aErrorLoc)
13760 r"""GetEffectiveShape(PAD self, PCB_LAYER_ID aLayer, FLASHING flashPTHPads=DEFAULT) -> std::shared_ptr< SHAPE >"""
13761 return _pcbnew.PAD_GetEffectiveShape(self, *args)
13764 r"""GetEffectivePolygon(PAD self, PCB_LAYER_ID aLayer, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> std::shared_ptr< SHAPE_POLY_SET > const"""
13765 return _pcbnew.PAD_GetEffectivePolygon(self, aLayer, aErrorLoc)
13768 r"""GetBoundingRadius(PAD self) -> int"""
13769 return _pcbnew.PAD_GetBoundingRadius(self)
13776 return _pcbnew.PAD_GetLocalClearance(self, *args)
13779 r"""GetSolderMaskExpansion(PAD self, PCB_LAYER_ID aLayer) -> int"""
13780 return _pcbnew.PAD_GetSolderMaskExpansion(self, aLayer)
13783 r"""GetSolderPasteMargin(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
13784 return _pcbnew.PAD_GetSolderPasteMargin(self, aLayer)
13787 r"""GetZoneConnectionOverrides(PAD self, wxString aSource=None) -> ZONE_CONNECTION"""
13788 return _pcbnew.PAD_GetZoneConnectionOverrides(self, aSource)
13791 r"""SetThermalSpokeWidth(PAD self, int aWidth)"""
13792 return _pcbnew.PAD_SetThermalSpokeWidth(self, aWidth)
13795 r"""GetThermalSpokeWidth(PAD self) -> int"""
13796 return _pcbnew.PAD_GetThermalSpokeWidth(self)
13799 r"""GetLocalSpokeWidthOverride(PAD self, wxString aSource=None) -> int"""
13800 return _pcbnew.PAD_GetLocalSpokeWidthOverride(self, aSource)
13803 r"""SetThermalSpokeAngle(PAD self, EDA_ANGLE aAngle)"""
13804 return _pcbnew.PAD_SetThermalSpokeAngle(self, aAngle)
13807 r"""GetThermalSpokeAngle(PAD self) -> EDA_ANGLE"""
13808 return _pcbnew.PAD_GetThermalSpokeAngle(self)
13811 r"""SetThermalSpokeAngleDegrees(PAD self, double aAngle)"""
13812 return _pcbnew.PAD_SetThermalSpokeAngleDegrees(self, aAngle)
13815 r"""GetThermalSpokeAngleDegrees(PAD self) -> double"""
13816 return _pcbnew.PAD_GetThermalSpokeAngleDegrees(self)
13819 r"""SetThermalGap(PAD self, int aGap)"""
13820 return _pcbnew.PAD_SetThermalGap(self, aGap)
13823 r"""GetThermalGap(PAD self) -> int"""
13824 return _pcbnew.PAD_GetThermalGap(self)
13827 r"""GetLocalThermalGapOverride(PAD self, wxString aSource=None) -> int"""
13828 return _pcbnew.PAD_GetLocalThermalGapOverride(self, aSource)
13831 r"""ShapePos(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
13832 return _pcbnew.PAD_ShapePos(self, aLayer)
13835 r"""SetFrontRoundRectRadiusRatio(PAD self, double aRadiusScale)"""
13836 return _pcbnew.PAD_SetFrontRoundRectRadiusRatio(self, aRadiusScale)
13839 r"""GetFrontRoundRectRadiusRatio(PAD self) -> double"""
13840 return _pcbnew.PAD_GetFrontRoundRectRadiusRatio(self)
13843 r"""GetSubRatsnest(PAD self) -> int"""
13844 return _pcbnew.PAD_GetSubRatsnest(self)
13847 r"""SetSubRatsnest(PAD self, int aSubRatsnest)"""
13848 return _pcbnew.PAD_SetSubRatsnest(self, aSubRatsnest)
13851 r"""SetRemoveUnconnected(PAD self, bool aSet)"""
13852 return _pcbnew.PAD_SetRemoveUnconnected(self, aSet)
13855 r"""GetRemoveUnconnected(PAD self) -> bool"""
13856 return _pcbnew.PAD_GetRemoveUnconnected(self)
13859 r"""SetKeepTopBottom(PAD self, bool aSet)"""
13860 return _pcbnew.PAD_SetKeepTopBottom(self, aSet)
13863 r"""GetKeepTopBottom(PAD self) -> bool"""
13864 return _pcbnew.PAD_GetKeepTopBottom(self)
13867 r"""SetUnconnectedLayerMode(PAD self, PADSTACK::UNCONNECTED_LAYER_MODE aMode)"""
13868 return _pcbnew.PAD_SetUnconnectedLayerMode(self, aMode)
13871 r"""GetUnconnectedLayerMode(PAD self) -> PADSTACK::UNCONNECTED_LAYER_MODE"""
13872 return _pcbnew.PAD_GetUnconnectedLayerMode(self)
13875 r"""ConditionallyFlashed(PAD self, PCB_LAYER_ID aLayer) -> bool"""
13876 return _pcbnew.PAD_ConditionallyFlashed(self, aLayer)
13879 r"""CanFlashLayer(PAD self, int aLayer) -> bool"""
13880 return _pcbnew.PAD_CanFlashLayer(self, aLayer)
13883 r"""GetPrincipalLayer(PAD self) -> PCB_LAYER_ID"""
13884 return _pcbnew.PAD_GetPrincipalLayer(self)
13888 FlashLayer(PAD self, int aLayer, bool aOnlyCheckIfPermitted=False) -> bool
13891 return _pcbnew.PAD_FlashLayer(self, *args)
13895 HitTest(PAD self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13896 HitTest(PAD self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13898 return _pcbnew.PAD_HitTest(self, *args)
13901 r"""Recombine(PAD self, bool aIsDryRun, int aMaxError) -> std::vector< PCB_SHAPE *,std::allocator< PCB_SHAPE * > >"""
13902 return _pcbnew.PAD_Recombine(self, aIsDryRun, aMaxError)
13906 r"""Compare(PAD aPadRef, PAD aPadCmp) -> int"""
13907 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
13910 r"""ShowPadShape(PAD self, PCB_LAYER_ID aLayer) -> wxString"""
13911 return _pcbnew.PAD_ShowPadShape(self, aLayer)
13914 r"""ShowPadAttr(PAD self) -> wxString"""
13915 return _pcbnew.PAD_ShowPadAttr(self)
13918 r"""ClonePad(PAD self) -> PAD"""
13919 return _pcbnew.PAD_ClonePad(self)
13922 r"""BuildEffectiveShapes(PAD self)"""
13923 return _pcbnew.PAD_BuildEffectiveShapes(self)
13926 r"""BuildEffectivePolygon(PAD self, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
13927 return _pcbnew.PAD_BuildEffectivePolygon(self, aErrorLoc)
13930 r"""ViewGetLOD(PAD self, int aLayer, KIGFX::VIEW * aView) -> double"""
13931 return _pcbnew.PAD_ViewGetLOD(self, aLayer, aView)
13934 r"""ClearZoneLayerOverrides(PAD self)"""
13935 return _pcbnew.PAD_ClearZoneLayerOverrides(self)
13938 r"""GetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
13939 return _pcbnew.PAD_GetZoneLayerOverride(self, aLayer)
13942 r"""SetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
13943 return _pcbnew.PAD_SetZoneLayerOverride(self, aLayer, aOverride)
13946 r"""CheckPad(PAD self, UNITS_PROVIDER aUnitsProvider, std::function< void (int,wxString const &) > const & aErrorHandler)"""
13947 return _pcbnew.PAD_CheckPad(self, aUnitsProvider, aErrorHandler)
13951 __eq__(PAD self, PAD aOther) -> bool
13952 __eq__(PAD self, BOARD_ITEM aBoardItem) -> bool
13954 return _pcbnew.PAD___eq__(self, *args)
13958 GetShape(PAD self, PCB_LAYER_ID aLayer) -> PAD_SHAPE
13961 return _pcbnew.PAD_GetShape(self, *args)
13965 SetShape(PAD self, PCB_LAYER_ID aLayer, PAD_SHAPE aShape)
13966 SetShape(PAD self, PAD_SHAPE aShape)
13968 return _pcbnew.PAD_SetShape(self, *args)
13972 GetSize(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I
13973 GetSize(PAD self) -> VECTOR2I
13975 return _pcbnew.PAD_GetSize(self, *args)
13979 SetSize(PAD self, PCB_LAYER_ID aLayer, VECTOR2I aSize)
13980 SetSize(PAD self, VECTOR2I aSize)
13982 return _pcbnew.PAD_SetSize(self, *args)
13986 GetDelta(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I
13989 return _pcbnew.PAD_GetDelta(self, *args)
13993 SetDelta(PAD self, PCB_LAYER_ID aLayer, VECTOR2I aSize)
13994 SetDelta(PAD self, VECTOR2I aSize)
13996 return _pcbnew.PAD_SetDelta(self, *args)
14000 GetOffset(PAD self, PCB_LAYER_ID aLayer) -> VECTOR2I
14003 return _pcbnew.PAD_GetOffset(self, *args)
14007 SetOffset(PAD self, PCB_LAYER_ID aLayer, VECTOR2I aOffset)
14010 return _pcbnew.PAD_SetOffset(self, *args)
14017 return _pcbnew.PAD_GetRoundRectCornerRadius(self, *args)
14024 return _pcbnew.PAD_SetRoundRectCornerRadius(self, *args)
14031 return _pcbnew.PAD_GetRoundRectRadiusRatio(self, *args)
14038 return _pcbnew.PAD_SetRoundRectRadiusRatio(self, *args)
14045 return _pcbnew.PAD_GetChamferRectRatio(self, *args)
14052 return _pcbnew.PAD_SetChamferRectRatio(self, *args)
14059 return _pcbnew.PAD_GetChamferPositions(self, *args)
14066 return _pcbnew.PAD_SetChamferPositions(self, *args)
14092 elif len(args) == 3:
14093 if type(args[1]
in [wxPoint,wxSize,VECTOR2I]):
14095 s.SetStart(args[0])
14097 s.SetWidth(args[2])
14100 s.SetCenter(args[0])
14101 s.SetRadius(args[1])
14102 s.SetWidth(args[2])
14103 elif len(args) == 4:
14105 s.SetCenter(args[0])
14106 s.SetStart(args[1])
14107 s.SetArcAngleAndEnd(args[2])
14108 s.SetWidth(args[3])
14109 elif len(args) == 5:
14111 s.SetStart(args[0])
14113 s.SetBezierC1(args[2])
14114 s.SetBezierC2(args[3])
14115 s.SetWidth(args[4])
14117 raise TypeError(f
"Arguments not recognized; expected 2-5 args, got {len(args)}")
14127 __swig_destroy__ = _pcbnew.delete_PAD
14130_pcbnew.PAD_swigregister(PAD)
14131ENDPOINT_START = _pcbnew.ENDPOINT_START
14133ENDPOINT_END = _pcbnew.ENDPOINT_END
14135VIATYPE_THROUGH = _pcbnew.VIATYPE_THROUGH
14137VIATYPE_BLIND_BURIED = _pcbnew.VIATYPE_BLIND_BURIED
14139VIATYPE_MICROVIA = _pcbnew.VIATYPE_MICROVIA
14141VIATYPE_NOT_DEFINED = _pcbnew.VIATYPE_NOT_DEFINED
14143TENTING_MODE_FROM_RULES = _pcbnew.TENTING_MODE_FROM_RULES
14145TENTING_MODE_TENTED = _pcbnew.TENTING_MODE_TENTED
14147TENTING_MODE_NOT_TENTED = _pcbnew.TENTING_MODE_NOT_TENTED
14149UNDEFINED_DRILL_DIAMETER = _pcbnew.UNDEFINED_DRILL_DIAMETER
14152 r"""Proxy of C++ PCB_TRACK class."""
14154 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14155 __repr__ = _swig_repr
14159 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14160 return _pcbnew.PCB_TRACK_ClassOf(aItem)
14163 r"""__init__(PCB_TRACK self, BOARD_ITEM aParent, KICAD_T idtype=PCB_TRACE_T) -> PCB_TRACK"""
14164 _pcbnew.PCB_TRACK_swiginit(self, _pcbnew.new_PCB_TRACK(aParent, idtype))
14167 r"""SetWidth(PCB_TRACK self, int aWidth)"""
14168 return _pcbnew.PCB_TRACK_SetWidth(self, aWidth)
14171 r"""GetWidth(PCB_TRACK self) -> int"""
14172 return _pcbnew.PCB_TRACK_GetWidth(self)
14175 r"""SetEnd(PCB_TRACK self, VECTOR2I aEnd)"""
14176 return _pcbnew.PCB_TRACK_SetEnd(self, aEnd)
14179 r"""GetEnd(PCB_TRACK self) -> VECTOR2I"""
14180 return _pcbnew.PCB_TRACK_GetEnd(self)
14183 r"""SetStart(PCB_TRACK self, VECTOR2I aStart)"""
14184 return _pcbnew.PCB_TRACK_SetStart(self, aStart)
14187 r"""GetStart(PCB_TRACK self) -> VECTOR2I"""
14188 return _pcbnew.PCB_TRACK_GetStart(self)
14191 r"""SetStartX(PCB_TRACK self, int aX)"""
14192 return _pcbnew.PCB_TRACK_SetStartX(self, aX)
14195 r"""SetStartY(PCB_TRACK self, int aY)"""
14196 return _pcbnew.PCB_TRACK_SetStartY(self, aY)
14199 r"""GetStartX(PCB_TRACK self) -> int"""
14200 return _pcbnew.PCB_TRACK_GetStartX(self)
14203 r"""GetStartY(PCB_TRACK self) -> int"""
14204 return _pcbnew.PCB_TRACK_GetStartY(self)
14207 r"""SetEndX(PCB_TRACK self, int aX)"""
14208 return _pcbnew.PCB_TRACK_SetEndX(self, aX)
14211 r"""SetEndY(PCB_TRACK self, int aY)"""
14212 return _pcbnew.PCB_TRACK_SetEndY(self, aY)
14215 r"""GetEndX(PCB_TRACK self) -> int"""
14216 return _pcbnew.PCB_TRACK_GetEndX(self)
14219 r"""GetEndY(PCB_TRACK self) -> int"""
14220 return _pcbnew.PCB_TRACK_GetEndY(self)
14223 r"""GetEndPoint(PCB_TRACK self, ENDPOINT_T aEndPoint) -> VECTOR2I"""
14224 return _pcbnew.PCB_TRACK_GetEndPoint(self, aEndPoint)
14227 r"""SetHasSolderMask(PCB_TRACK self, bool aVal)"""
14228 return _pcbnew.PCB_TRACK_SetHasSolderMask(self, aVal)
14231 r"""HasSolderMask(PCB_TRACK self) -> bool"""
14232 return _pcbnew.PCB_TRACK_HasSolderMask(self)
14235 r"""SetLocalSolderMaskMargin(PCB_TRACK self, std::optional< int > aMargin)"""
14236 return _pcbnew.PCB_TRACK_SetLocalSolderMaskMargin(self, aMargin)
14239 r"""GetLocalSolderMaskMargin(PCB_TRACK self) -> std::optional< int >"""
14240 return _pcbnew.PCB_TRACK_GetLocalSolderMaskMargin(self)
14243 r"""GetSolderMaskExpansion(PCB_TRACK self) -> int"""
14244 return _pcbnew.PCB_TRACK_GetSolderMaskExpansion(self)
14247 r"""GetLength(PCB_TRACK self) -> double"""
14248 return _pcbnew.PCB_TRACK_GetLength(self)
14251 r"""TransformShapeToPolygon(PCB_TRACK self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
14252 return _pcbnew.PCB_TRACK_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
14255 r"""GetEffectiveShape(PCB_TRACK self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14256 return _pcbnew.PCB_TRACK_GetEffectiveShape(self, *args)
14259 r"""IsPointOnEnds(PCB_TRACK self, VECTOR2I point, int min_dist=0) -> EDA_ITEM_FLAGS"""
14260 return _pcbnew.PCB_TRACK_IsPointOnEnds(self, point, min_dist)
14263 r"""IsNull(PCB_TRACK self) -> bool"""
14264 return _pcbnew.PCB_TRACK_IsNull(self)
14268 HitTest(PCB_TRACK self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14269 HitTest(PCB_TRACK self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
14271 return _pcbnew.PCB_TRACK_HitTest(self, *args)
14274 r"""ApproxCollinear(PCB_TRACK self, PCB_TRACK aTrack) -> bool"""
14275 return _pcbnew.PCB_TRACK_ApproxCollinear(self, aTrack)
14278 r"""GetWidthConstraint(PCB_TRACK self, wxString aSource=None) -> MINOPTMAX< int >"""
14279 return _pcbnew.PCB_TRACK_GetWidthConstraint(self, aSource)
14282 r"""ViewGetLOD(PCB_TRACK self, int aLayer, KIGFX::VIEW * aView) -> double"""
14283 return _pcbnew.PCB_TRACK_ViewGetLOD(self, aLayer, aView)
14287 __eq__(PCB_TRACK self, BOARD_ITEM aOther) -> bool
14288 __eq__(PCB_TRACK self, PCB_TRACK aOther) -> bool
14290 return _pcbnew.PCB_TRACK___eq__(self, *args)
14293 r"""Serialize(PCB_TRACK self, google::protobuf::Any & aContainer)"""
14294 return _pcbnew.PCB_TRACK_Serialize(self, aContainer)
14297 r"""Deserialize(PCB_TRACK self, google::protobuf::Any const & aContainer) -> bool"""
14298 return _pcbnew.PCB_TRACK_Deserialize(self, aContainer)
14299 __swig_destroy__ = _pcbnew.delete_PCB_TRACK
14302_pcbnew.PCB_TRACK_swigregister(PCB_TRACK)
14303PAD_SHAPE_RECT = cvar.PAD_SHAPE_RECT
14306 r"""Proxy of C++ PCB_ARC class."""
14308 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14309 __repr__ = _swig_repr
14313 __init__(PCB_ARC self, BOARD_ITEM aParent) -> PCB_ARC
14314 __init__(PCB_ARC self, BOARD_ITEM aParent, SHAPE_ARC aArc) -> PCB_ARC
14316 _pcbnew.PCB_ARC_swiginit(self, _pcbnew.new_PCB_ARC(*args))
14320 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14321 return _pcbnew.PCB_ARC_ClassOf(aItem)
14324 r"""SetMid(PCB_ARC self, VECTOR2I aMid)"""
14325 return _pcbnew.PCB_ARC_SetMid(self, aMid)
14328 r"""GetMid(PCB_ARC self) -> VECTOR2I"""
14329 return _pcbnew.PCB_ARC_GetMid(self)
14332 r"""GetRadius(PCB_ARC self) -> double"""
14333 return _pcbnew.PCB_ARC_GetRadius(self)
14336 r"""GetAngle(PCB_ARC self) -> EDA_ANGLE"""
14337 return _pcbnew.PCB_ARC_GetAngle(self)
14340 r"""GetArcAngleStart(PCB_ARC self) -> EDA_ANGLE"""
14341 return _pcbnew.PCB_ARC_GetArcAngleStart(self)
14344 r"""GetArcAngleEnd(PCB_ARC self) -> EDA_ANGLE"""
14345 return _pcbnew.PCB_ARC_GetArcAngleEnd(self)
14349 HitTest(PCB_ARC self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14350 HitTest(PCB_ARC self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
14352 return _pcbnew.PCB_ARC_HitTest(self, *args)
14355 r"""IsCCW(PCB_ARC self) -> bool"""
14356 return _pcbnew.PCB_ARC_IsCCW(self)
14359 r"""GetEffectiveShape(PCB_ARC self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14360 return _pcbnew.PCB_ARC_GetEffectiveShape(self, *args)
14363 r"""IsDegenerated(PCB_ARC self, int aThreshold=5) -> bool"""
14364 return _pcbnew.PCB_ARC_IsDegenerated(self, aThreshold)
14368 __eq__(PCB_ARC self, PCB_ARC aOther) -> bool
14369 __eq__(PCB_ARC self, BOARD_ITEM aBoardItem) -> bool
14371 return _pcbnew.PCB_ARC___eq__(self, *args)
14374 r"""Serialize(PCB_ARC self, google::protobuf::Any & aContainer)"""
14375 return _pcbnew.PCB_ARC_Serialize(self, aContainer)
14378 r"""Deserialize(PCB_ARC self, google::protobuf::Any const & aContainer) -> bool"""
14379 return _pcbnew.PCB_ARC_Deserialize(self, aContainer)
14380 __swig_destroy__ = _pcbnew.delete_PCB_ARC
14383_pcbnew.PCB_ARC_swigregister(PCB_ARC)
14385 r"""Proxy of C++ PCB_VIA class."""
14387 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14388 __repr__ = _swig_repr
14392 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14393 return _pcbnew.PCB_VIA_ClassOf(aItem)
14397 __init__(PCB_VIA self, BOARD_ITEM aParent) -> PCB_VIA
14398 __init__(PCB_VIA self, PCB_VIA aOther) -> PCB_VIA
14400 _pcbnew.PCB_VIA_swiginit(self, _pcbnew.new_PCB_VIA(*args))
14403 r"""HasValidLayerPair(PCB_VIA self, int aCopperLayerCount) -> bool"""
14404 return _pcbnew.PCB_VIA_HasValidLayerPair(self, aCopperLayerCount)
14407 r"""GetViaType(PCB_VIA self) -> VIATYPE"""
14408 return _pcbnew.PCB_VIA_GetViaType(self)
14411 r"""SetViaType(PCB_VIA self, VIATYPE aViaType)"""
14412 return _pcbnew.PCB_VIA_SetViaType(self, aViaType)
14416 Padstack(PCB_VIA self) -> PADSTACK
14417 Padstack(PCB_VIA self) -> PADSTACK
14419 return _pcbnew.PCB_VIA_Padstack(self, *args)
14422 r"""SetPadstack(PCB_VIA self, PADSTACK aPadstack)"""
14423 return _pcbnew.PCB_VIA_SetPadstack(self, aPadstack)
14427 SetWidth(PCB_VIA self, int aWidth)
14428 SetWidth(PCB_VIA self, PCB_LAYER_ID aLayer, int aWidth)
14430 return _pcbnew.PCB_VIA_SetWidth(self, *args)
14435 GetWidth(PCB_VIA self, PCB_LAYER_ID aLayer) -> int
14437 return _pcbnew.PCB_VIA_GetWidth(self, *args)
14440 r"""SetFrontWidth(PCB_VIA self, int aWidth)"""
14441 return _pcbnew.PCB_VIA_SetFrontWidth(self, aWidth)
14444 r"""GetFrontWidth(PCB_VIA self) -> int"""
14445 return _pcbnew.PCB_VIA_GetFrontWidth(self)
14448 r"""GetWidthConstraint(PCB_VIA self, wxString aSource=None) -> MINOPTMAX< int >"""
14449 return _pcbnew.PCB_VIA_GetWidthConstraint(self, aSource)
14452 r"""GetDrillConstraint(PCB_VIA self, wxString aSource=None) -> MINOPTMAX< int >"""
14453 return _pcbnew.PCB_VIA_GetDrillConstraint(self, aSource)
14456 r"""SetFrontTentingMode(PCB_VIA self, TENTING_MODE aMode)"""
14457 return _pcbnew.PCB_VIA_SetFrontTentingMode(self, aMode)
14460 r"""GetFrontTentingMode(PCB_VIA self) -> TENTING_MODE"""
14461 return _pcbnew.PCB_VIA_GetFrontTentingMode(self)
14464 r"""SetBackTentingMode(PCB_VIA self, TENTING_MODE aMode)"""
14465 return _pcbnew.PCB_VIA_SetBackTentingMode(self, aMode)
14468 r"""GetBackTentingMode(PCB_VIA self) -> TENTING_MODE"""
14469 return _pcbnew.PCB_VIA_GetBackTentingMode(self)
14472 r"""GetSolderMaskExpansion(PCB_VIA self) -> int"""
14473 return _pcbnew.PCB_VIA_GetSolderMaskExpansion(self)
14476 r"""SetLayerPair(PCB_VIA self, PCB_LAYER_ID aTopLayer, PCB_LAYER_ID aBottomLayer)"""
14477 return _pcbnew.PCB_VIA_SetLayerPair(self, aTopLayer, aBottomLayer)
14480 r"""SetBottomLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
14481 return _pcbnew.PCB_VIA_SetBottomLayer(self, aLayer)
14484 r"""SetTopLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
14485 return _pcbnew.PCB_VIA_SetTopLayer(self, aLayer)
14488 r"""LayerPair(PCB_VIA self, PCB_LAYER_ID * top_layer, PCB_LAYER_ID * bottom_layer)"""
14489 return _pcbnew.PCB_VIA_LayerPair(self, top_layer, bottom_layer)
14492 r"""TopLayer(PCB_VIA self) -> PCB_LAYER_ID"""
14493 return _pcbnew.PCB_VIA_TopLayer(self)
14496 r"""BottomLayer(PCB_VIA self) -> PCB_LAYER_ID"""
14497 return _pcbnew.PCB_VIA_BottomLayer(self)
14500 r"""SanitizeLayers(PCB_VIA self)"""
14501 return _pcbnew.PCB_VIA_SanitizeLayers(self)
14505 HitTest(PCB_VIA self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14506 HitTest(PCB_VIA self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
14508 return _pcbnew.PCB_VIA_HitTest(self, *args)
14511 r"""ViewGetLOD(PCB_VIA self, int aLayer, KIGFX::VIEW * aView) -> double"""
14512 return _pcbnew.PCB_VIA_ViewGetLOD(self, aLayer, aView)
14515 r"""GetMinAnnulus(PCB_VIA self, PCB_LAYER_ID aLayer, wxString aSource) -> int"""
14516 return _pcbnew.PCB_VIA_GetMinAnnulus(self, aLayer, aSource)
14519 r"""SetRemoveUnconnected(PCB_VIA self, bool aSet)"""
14520 return _pcbnew.PCB_VIA_SetRemoveUnconnected(self, aSet)
14523 r"""GetRemoveUnconnected(PCB_VIA self) -> bool"""
14524 return _pcbnew.PCB_VIA_GetRemoveUnconnected(self)
14527 r"""SetKeepStartEnd(PCB_VIA self, bool aSet)"""
14528 return _pcbnew.PCB_VIA_SetKeepStartEnd(self, aSet)
14531 r"""GetKeepStartEnd(PCB_VIA self) -> bool"""
14532 return _pcbnew.PCB_VIA_GetKeepStartEnd(self)
14535 r"""ConditionallyFlashed(PCB_VIA self, PCB_LAYER_ID aLayer) -> bool"""
14536 return _pcbnew.PCB_VIA_ConditionallyFlashed(self, aLayer)
14540 FlashLayer(PCB_VIA self, int aLayer) -> bool
14541 FlashLayer(PCB_VIA self, LSET aLayers) -> bool
14543 return _pcbnew.PCB_VIA_FlashLayer(self, *args)
14546 r"""GetOutermostConnectedLayers(PCB_VIA self, PCB_LAYER_ID * aTopmost, PCB_LAYER_ID * aBottommost)"""
14547 return _pcbnew.PCB_VIA_GetOutermostConnectedLayers(self, aTopmost, aBottommost)
14550 r"""SetDrill(PCB_VIA self, int aDrill)"""
14551 return _pcbnew.PCB_VIA_SetDrill(self, aDrill)
14554 r"""GetDrill(PCB_VIA self) -> int"""
14555 return _pcbnew.PCB_VIA_GetDrill(self)
14558 r"""GetDrillValue(PCB_VIA self) -> int"""
14559 return _pcbnew.PCB_VIA_GetDrillValue(self)
14562 r"""SetDrillDefault(PCB_VIA self)"""
14563 return _pcbnew.PCB_VIA_SetDrillDefault(self)
14566 r"""GetIsFree(PCB_VIA self) -> bool"""
14567 return _pcbnew.PCB_VIA_GetIsFree(self)
14570 r"""SetIsFree(PCB_VIA self, bool aFree=True)"""
14571 return _pcbnew.PCB_VIA_SetIsFree(self, aFree)
14574 r"""GetEffectiveShape(PCB_VIA self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14575 return _pcbnew.PCB_VIA_GetEffectiveShape(self, *args)
14578 r"""ClearZoneLayerOverrides(PCB_VIA self)"""
14579 return _pcbnew.PCB_VIA_ClearZoneLayerOverrides(self)
14582 r"""GetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
14583 return _pcbnew.PCB_VIA_GetZoneLayerOverride(self, aLayer)
14586 r"""SetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
14587 return _pcbnew.PCB_VIA_SetZoneLayerOverride(self, aLayer, aOverride)
14591 __eq__(PCB_VIA self, PCB_VIA aOther) -> bool
14592 __eq__(PCB_VIA self, BOARD_ITEM aOther) -> bool
14594 return _pcbnew.PCB_VIA___eq__(self, *args)
14597 r"""Serialize(PCB_VIA self, google::protobuf::Any & aContainer)"""
14598 return _pcbnew.PCB_VIA_Serialize(self, aContainer)
14601 r"""Deserialize(PCB_VIA self, google::protobuf::Any const & aContainer) -> bool"""
14602 return _pcbnew.PCB_VIA_Deserialize(self, aContainer)
14603 __swig_destroy__ = _pcbnew.delete_PCB_VIA
14606_pcbnew.PCB_VIA_swigregister(PCB_VIA)
14608 r"""Proxy of C++ ISOLATED_ISLANDS class."""
14610 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14611 __repr__ = _swig_repr
14612 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)>)>""")
14613 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)>)>""")
14616 r"""__init__(ISOLATED_ISLANDS self) -> ISOLATED_ISLANDS"""
14617 _pcbnew.ISOLATED_ISLANDS_swiginit(self, _pcbnew.new_ISOLATED_ISLANDS())
14618 __swig_destroy__ = _pcbnew.delete_ISOLATED_ISLANDS
14621_pcbnew.ISOLATED_ISLANDS_swigregister(ISOLATED_ISLANDS)
14623 r"""Proxy of C++ ZONE class."""
14625 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14626 __repr__ = _swig_repr
14630 __init__(ZONE self, BOARD_ITEM_CONTAINER parent) -> ZONE
14631 __init__(ZONE self, ZONE aZone) -> ZONE
14633 _pcbnew.ZONE_swiginit(self, _pcbnew.new_ZONE(*args))
14634 __swig_destroy__ = _pcbnew.delete_ZONE
14638 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14639 return _pcbnew.ZONE_ClassOf(aItem)
14642 r"""Serialize(ZONE self, google::protobuf::Any & aContainer)"""
14643 return _pcbnew.ZONE_Serialize(self, aContainer)
14646 r"""Deserialize(ZONE self, google::protobuf::Any const & aContainer) -> bool"""
14647 return _pcbnew.ZONE_Deserialize(self, aContainer)
14650 r"""InitDataFromSrcInCopyCtor(ZONE self, ZONE aZone)"""
14651 return _pcbnew.ZONE_InitDataFromSrcInCopyCtor(self, aZone)
14654 r"""IsConflicting(ZONE self) -> bool"""
14655 return _pcbnew.ZONE_IsConflicting(self)
14658 r"""SetAssignedPriority(ZONE self, unsigned int aPriority)"""
14659 return _pcbnew.ZONE_SetAssignedPriority(self, aPriority)
14662 r"""GetAssignedPriority(ZONE self) -> unsigned int"""
14663 return _pcbnew.ZONE_GetAssignedPriority(self)
14666 r"""HigherPriority(ZONE self, ZONE aOther) -> bool"""
14667 return _pcbnew.ZONE_HigherPriority(self, aOther)
14670 r"""SameNet(ZONE self, ZONE aOther) -> bool"""
14671 return _pcbnew.ZONE_SameNet(self, aOther)
14674 r"""GetZoneName(ZONE self) -> wxString"""
14675 return _pcbnew.ZONE_GetZoneName(self)
14678 r"""SetZoneName(ZONE self, wxString aName)"""
14679 return _pcbnew.ZONE_SetZoneName(self, aName)
14682 r"""CacheBoundingBox(ZONE self)"""
14683 return _pcbnew.ZONE_CacheBoundingBox(self)
14686 r"""SetLocalClearance(ZONE self, std::optional< int > aClearance)"""
14687 return _pcbnew.ZONE_SetLocalClearance(self, aClearance)
14694 return _pcbnew.ZONE_GetLocalClearance(self, *args)
14697 r"""GetFirstLayer(ZONE self) -> PCB_LAYER_ID"""
14698 return _pcbnew.ZONE_GetFirstLayer(self)
14701 r"""ViewGetLOD(ZONE self, int aLayer, KIGFX::VIEW * aView) -> double"""
14702 return _pcbnew.ZONE_ViewGetLOD(self, aLayer, aView)
14705 r"""SetFillMode(ZONE self, ZONE_FILL_MODE aFillMode)"""
14706 return _pcbnew.ZONE_SetFillMode(self, aFillMode)
14709 r"""GetFillMode(ZONE self) -> ZONE_FILL_MODE"""
14710 return _pcbnew.ZONE_GetFillMode(self)
14713 r"""SetThermalReliefGap(ZONE self, int aThermalReliefGap)"""
14714 return _pcbnew.ZONE_SetThermalReliefGap(self, aThermalReliefGap)
14721 return _pcbnew.ZONE_GetThermalReliefGap(self, *args)
14724 r"""SetThermalReliefSpokeWidth(ZONE self, int aThermalReliefSpokeWidth)"""
14725 return _pcbnew.ZONE_SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth)
14728 r"""GetThermalReliefSpokeWidth(ZONE self) -> int"""
14729 return _pcbnew.ZONE_GetThermalReliefSpokeWidth(self)
14732 r"""CalculateFilledArea(ZONE self) -> double"""
14733 return _pcbnew.ZONE_CalculateFilledArea(self)
14736 r"""CalculateOutlineArea(ZONE self) -> double"""
14737 return _pcbnew.ZONE_CalculateOutlineArea(self)
14740 r"""GetFilledArea(ZONE self) -> double"""
14741 return _pcbnew.ZONE_GetFilledArea(self)
14744 r"""GetOutlineArea(ZONE self) -> double"""
14745 return _pcbnew.ZONE_GetOutlineArea(self)
14748 r"""GetLock(ZONE self) -> std::mutex &"""
14749 return _pcbnew.ZONE_GetLock(self)
14752 r"""GetFillFlag(ZONE self, PCB_LAYER_ID aLayer) -> int"""
14753 return _pcbnew.ZONE_GetFillFlag(self, aLayer)
14756 r"""SetFillFlag(ZONE self, PCB_LAYER_ID aLayer, bool aFlag)"""
14757 return _pcbnew.ZONE_SetFillFlag(self, aLayer, aFlag)
14760 r"""IsFilled(ZONE self) -> bool"""
14761 return _pcbnew.ZONE_IsFilled(self)
14764 r"""SetIsFilled(ZONE self, bool isFilled)"""
14765 return _pcbnew.ZONE_SetIsFilled(self, isFilled)
14768 r"""NeedRefill(ZONE self) -> bool"""
14769 return _pcbnew.ZONE_NeedRefill(self)
14772 r"""SetNeedRefill(ZONE self, bool aNeedRefill)"""
14773 return _pcbnew.ZONE_SetNeedRefill(self, aNeedRefill)
14776 r"""GetPadConnection(ZONE self) -> ZONE_CONNECTION"""
14777 return _pcbnew.ZONE_GetPadConnection(self)
14780 r"""SetPadConnection(ZONE self, ZONE_CONNECTION aPadConnection)"""
14781 return _pcbnew.ZONE_SetPadConnection(self, aPadConnection)
14784 r"""GetMinThickness(ZONE self) -> int"""
14785 return _pcbnew.ZONE_GetMinThickness(self)
14788 r"""SetMinThickness(ZONE self, int aMinThickness)"""
14789 return _pcbnew.ZONE_SetMinThickness(self, aMinThickness)
14792 r"""GetHatchThickness(ZONE self) -> int"""
14793 return _pcbnew.ZONE_GetHatchThickness(self)
14796 r"""SetHatchThickness(ZONE self, int aThickness)"""
14797 return _pcbnew.ZONE_SetHatchThickness(self, aThickness)
14800 r"""GetHatchGap(ZONE self) -> int"""
14801 return _pcbnew.ZONE_GetHatchGap(self)
14804 r"""SetHatchGap(ZONE self, int aStep)"""
14805 return _pcbnew.ZONE_SetHatchGap(self, aStep)
14808 r"""GetHatchOrientation(ZONE self) -> EDA_ANGLE"""
14809 return _pcbnew.ZONE_GetHatchOrientation(self)
14812 r"""SetHatchOrientation(ZONE self, EDA_ANGLE aStep)"""
14813 return _pcbnew.ZONE_SetHatchOrientation(self, aStep)
14816 r"""GetHatchSmoothingLevel(ZONE self) -> int"""
14817 return _pcbnew.ZONE_GetHatchSmoothingLevel(self)
14820 r"""SetHatchSmoothingLevel(ZONE self, int aLevel)"""
14821 return _pcbnew.ZONE_SetHatchSmoothingLevel(self, aLevel)
14824 r"""GetHatchSmoothingValue(ZONE self) -> double"""
14825 return _pcbnew.ZONE_GetHatchSmoothingValue(self)
14828 r"""SetHatchSmoothingValue(ZONE self, double aValue)"""
14829 return _pcbnew.ZONE_SetHatchSmoothingValue(self, aValue)
14832 r"""GetHatchHoleMinArea(ZONE self) -> double"""
14833 return _pcbnew.ZONE_GetHatchHoleMinArea(self)
14836 r"""SetHatchHoleMinArea(ZONE self, double aPct)"""
14837 return _pcbnew.ZONE_SetHatchHoleMinArea(self, aPct)
14840 r"""GetHatchBorderAlgorithm(ZONE self) -> int"""
14841 return _pcbnew.ZONE_GetHatchBorderAlgorithm(self)
14844 r"""SetHatchBorderAlgorithm(ZONE self, int aAlgo)"""
14845 return _pcbnew.ZONE_SetHatchBorderAlgorithm(self, aAlgo)
14848 r"""GetSelectedCorner(ZONE self) -> int"""
14849 return _pcbnew.ZONE_GetSelectedCorner(self)
14852 r"""SetSelectedCorner(ZONE self, int aCorner)"""
14853 return _pcbnew.ZONE_SetSelectedCorner(self, aCorner)
14856 r"""GetLocalFlags(ZONE self) -> int"""
14857 return _pcbnew.ZONE_GetLocalFlags(self)
14860 r"""SetLocalFlags(ZONE self, int aFlags)"""
14861 return _pcbnew.ZONE_SetLocalFlags(self, aFlags)
14865 Outline(ZONE self) -> SHAPE_POLY_SET
14866 Outline(ZONE self) -> SHAPE_POLY_SET
14868 return _pcbnew.ZONE_Outline(self, *args)
14871 r"""SetOutline(ZONE self, SHAPE_POLY_SET aOutline)"""
14872 return _pcbnew.ZONE_SetOutline(self, aOutline)
14875 r"""GetEffectiveShape(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14876 return _pcbnew.ZONE_GetEffectiveShape(self, *args)
14879 r"""HitTestFilledArea(ZONE self, PCB_LAYER_ID aLayer, VECTOR2I aRefPos, int aAccuracy=0) -> bool"""
14880 return _pcbnew.ZONE_HitTestFilledArea(self, aLayer, aRefPos, aAccuracy)
14883 r"""HitTestCutout(ZONE self, VECTOR2I aRefPos, int * aOutlineIdx=None, int * aHoleIdx=None) -> bool"""
14884 return _pcbnew.ZONE_HitTestCutout(self, aRefPos, aOutlineIdx, aHoleIdx)
14887 r"""GetInteractingZones(ZONE self, PCB_LAYER_ID aLayer, ZONES aSameNetCollidingZones, ZONES aOtherNetIntersectingZones)"""
14888 return _pcbnew.ZONE_GetInteractingZones(self, aLayer, aSameNetCollidingZones, aOtherNetIntersectingZones)
14891 r"""TransformSolidAreasShapesToPolygon(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBuffer)"""
14892 return _pcbnew.ZONE_TransformSolidAreasShapesToPolygon(self, aLayer, aBuffer)
14895 r"""TransformSmoothedOutlineToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, SHAPE_POLY_SET aBoardOutline)"""
14896 return _pcbnew.ZONE_TransformSmoothedOutlineToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, aBoardOutline)
14899 r"""TransformShapeToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
14900 return _pcbnew.ZONE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
14903 r"""HitTestForCorner(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
14904 return _pcbnew.ZONE_HitTestForCorner(self, refPos, aAccuracy, aCornerHit)
14907 r"""HitTestForEdge(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
14908 return _pcbnew.ZONE_HitTestForEdge(self, refPos, aAccuracy, aCornerHit)
14912 HitTest(ZONE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14913 HitTest(ZONE self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
14915 return _pcbnew.ZONE_HitTest(self, *args)
14918 r"""UnFill(ZONE self) -> bool"""
14919 return _pcbnew.ZONE_UnFill(self)
14922 r"""MoveEdge(ZONE self, VECTOR2I offset, int aEdge)"""
14923 return _pcbnew.ZONE_MoveEdge(self, offset, aEdge)
14926 r"""GetNumCorners(ZONE self) -> int"""
14927 return _pcbnew.ZONE_GetNumCorners(self)
14930 r"""Iterate(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
14931 return _pcbnew.ZONE_Iterate(self)
14934 r"""IterateWithHoles(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
14935 return _pcbnew.ZONE_IterateWithHoles(self)
14938 r"""CIterateWithHoles(ZONE self) -> SHAPE_POLY_SET::CONST_ITERATOR"""
14939 return _pcbnew.ZONE_CIterateWithHoles(self)
14942 r"""RemoveAllContours(ZONE self)"""
14943 return _pcbnew.ZONE_RemoveAllContours(self)
14946 r"""GetCornerPosition(ZONE self, int aCornerIndex) -> VECTOR2I"""
14947 return _pcbnew.ZONE_GetCornerPosition(self, aCornerIndex)
14950 r"""SetCornerPosition(ZONE self, int aCornerIndex, VECTOR2I new_pos)"""
14951 return _pcbnew.ZONE_SetCornerPosition(self, aCornerIndex, new_pos)
14954 r"""NewHole(ZONE self)"""
14955 return _pcbnew.ZONE_NewHole(self)
14958 r"""AppendCorner(ZONE self, VECTOR2I aPosition, int aHoleIdx, bool aAllowDuplication=False) -> bool"""
14959 return _pcbnew.ZONE_AppendCorner(self, aPosition, aHoleIdx, aAllowDuplication)
14962 r"""GetHatchStyle(ZONE self) -> ZONE_BORDER_DISPLAY_STYLE"""
14963 return _pcbnew.ZONE_GetHatchStyle(self)
14966 r"""SetHatchStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aStyle)"""
14967 return _pcbnew.ZONE_SetHatchStyle(self, aStyle)
14970 r"""HasFilledPolysForLayer(ZONE self, PCB_LAYER_ID aLayer) -> bool"""
14971 return _pcbnew.ZONE_HasFilledPolysForLayer(self, aLayer)
14974 r"""GetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer) -> std::shared_ptr< SHAPE_POLY_SET > const &"""
14975 return _pcbnew.ZONE_GetFilledPolysList(self, aLayer)
14978 r"""GetFill(ZONE self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
14979 return _pcbnew.ZONE_GetFill(self, aLayer)
14982 r"""CacheTriangulation(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
14983 return _pcbnew.ZONE_CacheTriangulation(self, aLayer)
14986 r"""SetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPolysList)"""
14987 return _pcbnew.ZONE_SetFilledPolysList(self, aLayer, aPolysList)
14990 r"""IsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx) -> bool"""
14991 return _pcbnew.ZONE_IsIsland(self, aLayer, aPolyIdx)
14994 r"""SetIsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx)"""
14995 return _pcbnew.ZONE_SetIsIsland(self, aLayer, aPolyIdx)
14998 r"""BuildSmoothedPoly(ZONE self, SHAPE_POLY_SET aSmoothedPoly, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBoardOutline, SHAPE_POLY_SET aSmoothedPolyWithApron=None) -> bool"""
14999 return _pcbnew.ZONE_BuildSmoothedPoly(self, aSmoothedPoly, aLayer, aBoardOutline, aSmoothedPolyWithApron)
15002 r"""SetCornerSmoothingType(ZONE self, int aType)"""
15003 return _pcbnew.ZONE_SetCornerSmoothingType(self, aType)
15006 r"""GetCornerSmoothingType(ZONE self) -> int"""
15007 return _pcbnew.ZONE_GetCornerSmoothingType(self)
15010 r"""SetCornerRadius(ZONE self, unsigned int aRadius)"""
15011 return _pcbnew.ZONE_SetCornerRadius(self, aRadius)
15014 r"""GetCornerRadius(ZONE self) -> unsigned int"""
15015 return _pcbnew.ZONE_GetCornerRadius(self)
15018 r"""RemoveCutout(ZONE self, int aOutlineIdx, int aHoleIdx)"""
15019 return _pcbnew.ZONE_RemoveCutout(self, aOutlineIdx, aHoleIdx)
15023 AddPolygon(ZONE self, VECTOR_VECTOR2I aPolygon)
15024 AddPolygon(ZONE self, SHAPE_LINE_CHAIN aPolygon)
15026 return _pcbnew.ZONE_AddPolygon(self, *args)
15029 r"""IsTeardropArea(ZONE self) -> bool"""
15030 return _pcbnew.ZONE_IsTeardropArea(self)
15033 r"""SetTeardropAreaType(ZONE self, TEARDROP_TYPE aType)"""
15034 return _pcbnew.ZONE_SetTeardropAreaType(self, aType)
15037 r"""GetTeardropAreaType(ZONE self) -> TEARDROP_TYPE"""
15038 return _pcbnew.ZONE_GetTeardropAreaType(self)
15041 r"""HasKeepoutParametersSet(ZONE self) -> bool"""
15042 return _pcbnew.ZONE_HasKeepoutParametersSet(self)
15045 r"""GetIsRuleArea(ZONE self) -> bool"""
15046 return _pcbnew.ZONE_GetIsRuleArea(self)
15049 r"""GetRuleAreaPlacementEnabled(ZONE self) -> bool"""
15050 return _pcbnew.ZONE_GetRuleAreaPlacementEnabled(self)
15053 r"""GetRuleAreaPlacementSourceType(ZONE self) -> RULE_AREA_PLACEMENT_SOURCE_TYPE"""
15054 return _pcbnew.ZONE_GetRuleAreaPlacementSourceType(self)
15057 r"""GetRuleAreaPlacementSource(ZONE self) -> wxString"""
15058 return _pcbnew.ZONE_GetRuleAreaPlacementSource(self)
15061 r"""GetDoNotAllowCopperPour(ZONE self) -> bool"""
15062 return _pcbnew.ZONE_GetDoNotAllowCopperPour(self)
15065 r"""GetDoNotAllowVias(ZONE self) -> bool"""
15066 return _pcbnew.ZONE_GetDoNotAllowVias(self)
15069 r"""GetDoNotAllowTracks(ZONE self) -> bool"""
15070 return _pcbnew.ZONE_GetDoNotAllowTracks(self)
15073 r"""GetDoNotAllowPads(ZONE self) -> bool"""
15074 return _pcbnew.ZONE_GetDoNotAllowPads(self)
15077 r"""GetDoNotAllowFootprints(ZONE self) -> bool"""
15078 return _pcbnew.ZONE_GetDoNotAllowFootprints(self)
15081 r"""SetIsRuleArea(ZONE self, bool aEnable)"""
15082 return _pcbnew.ZONE_SetIsRuleArea(self, aEnable)
15085 r"""SetRuleAreaPlacementEnabled(ZONE self, bool aEnabled)"""
15086 return _pcbnew.ZONE_SetRuleAreaPlacementEnabled(self, aEnabled)
15089 r"""SetRuleAreaPlacementSourceType(ZONE self, RULE_AREA_PLACEMENT_SOURCE_TYPE aType)"""
15090 return _pcbnew.ZONE_SetRuleAreaPlacementSourceType(self, aType)
15093 r"""SetRuleAreaPlacementSource(ZONE self, wxString aSource)"""
15094 return _pcbnew.ZONE_SetRuleAreaPlacementSource(self, aSource)
15097 r"""SetDoNotAllowCopperPour(ZONE self, bool aEnable)"""
15098 return _pcbnew.ZONE_SetDoNotAllowCopperPour(self, aEnable)
15101 r"""SetDoNotAllowVias(ZONE self, bool aEnable)"""
15102 return _pcbnew.ZONE_SetDoNotAllowVias(self, aEnable)
15105 r"""SetDoNotAllowTracks(ZONE self, bool aEnable)"""
15106 return _pcbnew.ZONE_SetDoNotAllowTracks(self, aEnable)
15109 r"""SetDoNotAllowPads(ZONE self, bool aEnable)"""
15110 return _pcbnew.ZONE_SetDoNotAllowPads(self, aEnable)
15113 r"""SetDoNotAllowFootprints(ZONE self, bool aEnable)"""
15114 return _pcbnew.ZONE_SetDoNotAllowFootprints(self, aEnable)
15117 r"""GetIslandRemovalMode(ZONE self) -> ISLAND_REMOVAL_MODE"""
15118 return _pcbnew.ZONE_GetIslandRemovalMode(self)
15121 r"""SetIslandRemovalMode(ZONE self, ISLAND_REMOVAL_MODE aRemove)"""
15122 return _pcbnew.ZONE_SetIslandRemovalMode(self, aRemove)
15125 r"""GetMinIslandArea(ZONE self) -> long long"""
15126 return _pcbnew.ZONE_GetMinIslandArea(self)
15129 r"""SetMinIslandArea(ZONE self, long long aArea)"""
15130 return _pcbnew.ZONE_SetMinIslandArea(self, aArea)
15133 r"""GetBorderHatchPitch(ZONE self) -> int"""
15134 return _pcbnew.ZONE_GetBorderHatchPitch(self)
15138 r"""GetDefaultHatchPitch() -> int"""
15139 return _pcbnew.ZONE_GetDefaultHatchPitch()
15142 r"""SetBorderDisplayStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aBorderHatchStyle, int aBorderHatchPitch, bool aRebuilBorderdHatch)"""
15143 return _pcbnew.ZONE_SetBorderDisplayStyle(self, aBorderHatchStyle, aBorderHatchPitch, aRebuilBorderdHatch)
15146 r"""SetBorderHatchPitch(ZONE self, int aPitch)"""
15147 return _pcbnew.ZONE_SetBorderHatchPitch(self, aPitch)
15150 r"""UnHatchBorder(ZONE self)"""
15151 return _pcbnew.ZONE_UnHatchBorder(self)
15154 r"""HatchBorder(ZONE self)"""
15155 return _pcbnew.ZONE_HatchBorder(self)
15158 r"""GetHatchLines(ZONE self) -> std::vector< SEG,std::allocator< SEG > > const &"""
15159 return _pcbnew.ZONE_GetHatchLines(self)
15162 r"""BuildHashValue(ZONE self, PCB_LAYER_ID aLayer)"""
15163 return _pcbnew.ZONE_BuildHashValue(self, aLayer)
15166 r"""GetHashValue(ZONE self, PCB_LAYER_ID aLayer) -> HASH_128"""
15167 return _pcbnew.ZONE_GetHashValue(self, aLayer)
15171 __eq__(ZONE self, ZONE aOther) -> bool
15172 __eq__(ZONE self, BOARD_ITEM aOther) -> bool
15174 return _pcbnew.ZONE___eq__(self, *args)
15177_pcbnew.ZONE_swigregister(ZONE)
15178ZONE_THERMAL_RELIEF_GAP_MM = _pcbnew.ZONE_THERMAL_RELIEF_GAP_MM
15180ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM = _pcbnew.ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM
15182ZONE_THICKNESS_MM = _pcbnew.ZONE_THICKNESS_MM
15184ZONE_THICKNESS_MIN_VALUE_MM = _pcbnew.ZONE_THICKNESS_MIN_VALUE_MM
15186ZONE_CLEARANCE_MM = _pcbnew.ZONE_CLEARANCE_MM
15188ZONE_CLEARANCE_MAX_VALUE_MM = _pcbnew.ZONE_CLEARANCE_MAX_VALUE_MM
15190ZONE_BORDER_HATCH_DIST_MM = _pcbnew.ZONE_BORDER_HATCH_DIST_MM
15192ZONE_BORDER_HATCH_MINDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MINDIST_MM
15194ZONE_BORDER_HATCH_MAXDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MAXDIST_MM
15196ZONE_MANAGER_REPOUR = _pcbnew.ZONE_MANAGER_REPOUR
15198ZONE_CONNECTION_INHERITED = _pcbnew.ZONE_CONNECTION_INHERITED
15200ZONE_CONNECTION_NONE = _pcbnew.ZONE_CONNECTION_NONE
15202ZONE_CONNECTION_THERMAL = _pcbnew.ZONE_CONNECTION_THERMAL
15204ZONE_CONNECTION_FULL = _pcbnew.ZONE_CONNECTION_FULL
15206ZONE_CONNECTION_THT_THERMAL = _pcbnew.ZONE_CONNECTION_THT_THERMAL
15210 r"""PrintZoneConnection(ZONE_CONNECTION aConnection) -> wxString"""
15211 return _pcbnew.PrintZoneConnection(aConnection)
15214 r"""InvokeNonCopperZonesEditor(PCB_BASE_FRAME * aParent, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
15215 return _pcbnew.InvokeNonCopperZonesEditor(aParent, aSettings, aConvertSettings)
15218 r"""InvokeCopperZonesEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
15219 return _pcbnew.InvokeCopperZonesEditor(aCaller, aSettings, aConvertSettings)
15222 r"""InvokeRuleAreaEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, BOARD aBoard=None, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
15223 return _pcbnew.InvokeRuleAreaEditor(aCaller, aSettings, aBoard, aConvertSettings)
15225 r"""Proxy of C++ ZONE_FILLER class."""
15227 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15228 __repr__ = _swig_repr
15229 __swig_destroy__ = _pcbnew.delete_ZONE_FILLER
15232 r"""SetProgressReporter(ZONE_FILLER self, PROGRESS_REPORTER * aReporter)"""
15233 return _pcbnew.ZONE_FILLER_SetProgressReporter(self, aReporter)
15236 r"""GetProgressReporter(ZONE_FILLER self) -> PROGRESS_REPORTER *"""
15237 return _pcbnew.ZONE_FILLER_GetProgressReporter(self)
15239 def Fill(self, aZones, aCheck=False, aParent=None):
15240 r"""Fill(ZONE_FILLER self, ZONES aZones, bool aCheck=False, wxWindow * aParent=None) -> bool"""
15241 return _pcbnew.ZONE_FILLER_Fill(self, aZones, aCheck, aParent)
15244 r"""IsDebug(ZONE_FILLER self) -> bool"""
15245 return _pcbnew.ZONE_FILLER_IsDebug(self)
15248 r"""__init__(ZONE_FILLER self, BOARD aBoard) -> ZONE_FILLER"""
15249 _pcbnew.ZONE_FILLER_swiginit(self, _pcbnew.new_ZONE_FILLER(aBoard))
15252_pcbnew.ZONE_FILLER_swigregister(ZONE_FILLER)
15253ZONE_FILL_MODE_POLYGONS = _pcbnew.ZONE_FILL_MODE_POLYGONS
15255ZONE_FILL_MODE_HATCH_PATTERN = _pcbnew.ZONE_FILL_MODE_HATCH_PATTERN
15257ZONE_BORDER_DISPLAY_STYLE_NO_HATCH = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_NO_HATCH
15259ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL
15261ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE
15263ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER
15265ISLAND_REMOVAL_MODE_ALWAYS = _pcbnew.ISLAND_REMOVAL_MODE_ALWAYS
15267ISLAND_REMOVAL_MODE_NEVER = _pcbnew.ISLAND_REMOVAL_MODE_NEVER
15269ISLAND_REMOVAL_MODE_AREA = _pcbnew.ISLAND_REMOVAL_MODE_AREA
15271RULE_AREA_PLACEMENT_SOURCE_TYPE_SHEETNAME = _pcbnew.RULE_AREA_PLACEMENT_SOURCE_TYPE_SHEETNAME
15273RULE_AREA_PLACEMENT_SOURCE_TYPE_COMPONENT_CLASS = _pcbnew.RULE_AREA_PLACEMENT_SOURCE_TYPE_COMPONENT_CLASS
15276 r"""Proxy of C++ ZONE_SETTINGS class."""
15278 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15279 __repr__ = _swig_repr
15280 SMOOTHING_UNDEFINED = _pcbnew.ZONE_SETTINGS_SMOOTHING_UNDEFINED
15282 SMOOTHING_NONE = _pcbnew.ZONE_SETTINGS_SMOOTHING_NONE
15284 SMOOTHING_CHAMFER = _pcbnew.ZONE_SETTINGS_SMOOTHING_CHAMFER
15286 SMOOTHING_FILLET = _pcbnew.ZONE_SETTINGS_SMOOTHING_FILLET
15288 SMOOTHING_LAST = _pcbnew.ZONE_SETTINGS_SMOOTHING_LAST
15290 m_ZonePriority = property(_pcbnew.ZONE_SETTINGS_m_ZonePriority_get, _pcbnew.ZONE_SETTINGS_m_ZonePriority_set, doc=
r"""m_ZonePriority : unsigned int""")
15291 m_FillMode = property(_pcbnew.ZONE_SETTINGS_m_FillMode_get, _pcbnew.ZONE_SETTINGS_m_FillMode_set, doc=
r"""m_FillMode : ZONE_FILL_MODE""")
15292 m_ZoneClearance = property(_pcbnew.ZONE_SETTINGS_m_ZoneClearance_get, _pcbnew.ZONE_SETTINGS_m_ZoneClearance_set, doc=
r"""m_ZoneClearance : int""")
15293 m_ZoneMinThickness = property(_pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_get, _pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_set, doc=
r"""m_ZoneMinThickness : int""")
15294 m_HatchThickness = property(_pcbnew.ZONE_SETTINGS_m_HatchThickness_get, _pcbnew.ZONE_SETTINGS_m_HatchThickness_set, doc=
r"""m_HatchThickness : int""")
15295 m_HatchGap = property(_pcbnew.ZONE_SETTINGS_m_HatchGap_get, _pcbnew.ZONE_SETTINGS_m_HatchGap_set, doc=
r"""m_HatchGap : int""")
15296 m_HatchOrientation = property(_pcbnew.ZONE_SETTINGS_m_HatchOrientation_get, _pcbnew.ZONE_SETTINGS_m_HatchOrientation_set, doc=
r"""m_HatchOrientation : EDA_ANGLE""")
15297 m_HatchSmoothingLevel = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_set, doc=
r"""m_HatchSmoothingLevel : int""")
15298 m_HatchSmoothingValue = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_set, doc=
r"""m_HatchSmoothingValue : double""")
15299 m_HatchHoleMinArea = property(_pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_get, _pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_set, doc=
r"""m_HatchHoleMinArea : double""")
15300 m_HatchBorderAlgorithm = property(_pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_get, _pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_set, doc=
r"""m_HatchBorderAlgorithm : int""")
15301 m_NetcodeSelection = property(_pcbnew.ZONE_SETTINGS_m_NetcodeSelection_get, _pcbnew.ZONE_SETTINGS_m_NetcodeSelection_set, doc=
r"""m_NetcodeSelection : int""")
15302 m_Name = property(_pcbnew.ZONE_SETTINGS_m_Name_get, _pcbnew.ZONE_SETTINGS_m_Name_set, doc=
r"""m_Name : wxString""")
15303 m_Layers = property(_pcbnew.ZONE_SETTINGS_m_Layers_get, _pcbnew.ZONE_SETTINGS_m_Layers_set, doc=
r"""m_Layers : LSET""")
15304 m_ZoneBorderDisplayStyle = property(_pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_get, _pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_set, doc=
r"""m_ZoneBorderDisplayStyle : ZONE_BORDER_DISPLAY_STYLE""")
15305 m_BorderHatchPitch = property(_pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_get, _pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_set, doc=
r"""m_BorderHatchPitch : int""")
15306 m_ThermalReliefGap = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_set, doc=
r"""m_ThermalReliefGap : long""")
15307 m_ThermalReliefSpokeWidth = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_set, doc=
r"""m_ThermalReliefSpokeWidth : long""")
15308 m_Locked = property(_pcbnew.ZONE_SETTINGS_m_Locked_get, _pcbnew.ZONE_SETTINGS_m_Locked_set, doc=
r"""m_Locked : bool""")
15309 m_TeardropType = property(_pcbnew.ZONE_SETTINGS_m_TeardropType_get, _pcbnew.ZONE_SETTINGS_m_TeardropType_set, doc=
r"""m_TeardropType : TEARDROP_TYPE""")
15312 r"""__init__(ZONE_SETTINGS self) -> ZONE_SETTINGS"""
15313 _pcbnew.ZONE_SETTINGS_swiginit(self, _pcbnew.new_ZONE_SETTINGS())
15316 r"""__eq__(ZONE_SETTINGS self, ZONE_SETTINGS aOther) -> bool"""
15317 return _pcbnew.ZONE_SETTINGS___eq__(self, aOther)
15320 r"""__ne__(ZONE_SETTINGS self, ZONE_SETTINGS aOther) -> bool"""
15321 return _pcbnew.ZONE_SETTINGS___ne__(self, aOther)
15324 r"""__lshift__(ZONE_SETTINGS self, ZONE aSource) -> ZONE_SETTINGS"""
15325 return _pcbnew.ZONE_SETTINGS___lshift__(self, aSource)
15329 r"""GetDefaultSettings() -> ZONE_SETTINGS"""
15330 return _pcbnew.ZONE_SETTINGS_GetDefaultSettings()
15333 r"""SetupLayersList(ZONE_SETTINGS self, wxDataViewListCtrl * aList, PCB_BASE_FRAME * aFrame, LSET aLayers, bool aFpEditorMode)"""
15334 return _pcbnew.ZONE_SETTINGS_SetupLayersList(self, aList, aFrame, aLayers, aFpEditorMode)
15337 r"""ExportSetting(ZONE_SETTINGS self, ZONE aTarget, bool aFullExport=True)"""
15338 return _pcbnew.ZONE_SETTINGS_ExportSetting(self, aTarget, aFullExport)
15341 r"""SetCornerSmoothingType(ZONE_SETTINGS self, int aType)"""
15342 return _pcbnew.ZONE_SETTINGS_SetCornerSmoothingType(self, aType)
15345 r"""GetCornerSmoothingType(ZONE_SETTINGS self) -> int"""
15346 return _pcbnew.ZONE_SETTINGS_GetCornerSmoothingType(self)
15349 r"""SetCornerRadius(ZONE_SETTINGS self, int aRadius)"""
15350 return _pcbnew.ZONE_SETTINGS_SetCornerRadius(self, aRadius)
15353 r"""GetCornerRadius(ZONE_SETTINGS self) -> unsigned int"""
15354 return _pcbnew.ZONE_SETTINGS_GetCornerRadius(self)
15357 r"""GetPadConnection(ZONE_SETTINGS self) -> ZONE_CONNECTION"""
15358 return _pcbnew.ZONE_SETTINGS_GetPadConnection(self)
15361 r"""SetPadConnection(ZONE_SETTINGS self, ZONE_CONNECTION aPadConnection)"""
15362 return _pcbnew.ZONE_SETTINGS_SetPadConnection(self, aPadConnection)
15365 r"""HasKeepoutParametersSet(ZONE_SETTINGS self) -> bool"""
15366 return _pcbnew.ZONE_SETTINGS_HasKeepoutParametersSet(self)
15369 r"""GetIsRuleArea(ZONE_SETTINGS self) -> bool"""
15370 return _pcbnew.ZONE_SETTINGS_GetIsRuleArea(self)
15373 r"""GetRuleAreaPlacementEnabled(ZONE_SETTINGS self) -> bool"""
15374 return _pcbnew.ZONE_SETTINGS_GetRuleAreaPlacementEnabled(self)
15377 r"""GetRuleAreaPlacementSourceType(ZONE_SETTINGS self) -> RULE_AREA_PLACEMENT_SOURCE_TYPE"""
15378 return _pcbnew.ZONE_SETTINGS_GetRuleAreaPlacementSourceType(self)
15381 r"""GetRuleAreaPlacementSource(ZONE_SETTINGS self) -> wxString"""
15382 return _pcbnew.ZONE_SETTINGS_GetRuleAreaPlacementSource(self)
15385 r"""GetDoNotAllowCopperPour(ZONE_SETTINGS self) -> bool"""
15386 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowCopperPour(self)
15389 r"""GetDoNotAllowVias(ZONE_SETTINGS self) -> bool"""
15390 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowVias(self)
15393 r"""GetDoNotAllowTracks(ZONE_SETTINGS self) -> bool"""
15394 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowTracks(self)
15397 r"""GetDoNotAllowPads(ZONE_SETTINGS self) -> bool"""
15398 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowPads(self)
15401 r"""GetDoNotAllowFootprints(ZONE_SETTINGS self) -> bool"""
15402 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowFootprints(self)
15405 r"""SetIsRuleArea(ZONE_SETTINGS self, bool aEnable)"""
15406 return _pcbnew.ZONE_SETTINGS_SetIsRuleArea(self, aEnable)
15409 r"""SetRuleAreaPlacementEnabled(ZONE_SETTINGS self, bool aEnabled)"""
15410 return _pcbnew.ZONE_SETTINGS_SetRuleAreaPlacementEnabled(self, aEnabled)
15413 r"""SetRuleAreaPlacementSourceType(ZONE_SETTINGS self, RULE_AREA_PLACEMENT_SOURCE_TYPE aType)"""
15414 return _pcbnew.ZONE_SETTINGS_SetRuleAreaPlacementSourceType(self, aType)
15417 r"""SetRuleAreaPlacementSource(ZONE_SETTINGS self, wxString aSource)"""
15418 return _pcbnew.ZONE_SETTINGS_SetRuleAreaPlacementSource(self, aSource)
15421 r"""SetDoNotAllowCopperPour(ZONE_SETTINGS self, bool aEnable)"""
15422 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowCopperPour(self, aEnable)
15425 r"""SetDoNotAllowVias(ZONE_SETTINGS self, bool aEnable)"""
15426 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowVias(self, aEnable)
15429 r"""SetDoNotAllowTracks(ZONE_SETTINGS self, bool aEnable)"""
15430 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowTracks(self, aEnable)
15433 r"""SetDoNotAllowPads(ZONE_SETTINGS self, bool aEnable)"""
15434 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowPads(self, aEnable)
15437 r"""SetDoNotAllowFootprints(ZONE_SETTINGS self, bool aEnable)"""
15438 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowFootprints(self, aEnable)
15441 r"""GetIslandRemovalMode(ZONE_SETTINGS self) -> ISLAND_REMOVAL_MODE"""
15442 return _pcbnew.ZONE_SETTINGS_GetIslandRemovalMode(self)
15445 r"""SetIslandRemovalMode(ZONE_SETTINGS self, ISLAND_REMOVAL_MODE aRemove)"""
15446 return _pcbnew.ZONE_SETTINGS_SetIslandRemovalMode(self, aRemove)
15449 r"""GetMinIslandArea(ZONE_SETTINGS self) -> long long"""
15450 return _pcbnew.ZONE_SETTINGS_GetMinIslandArea(self)
15453 r"""SetMinIslandArea(ZONE_SETTINGS self, long long aArea)"""
15454 return _pcbnew.ZONE_SETTINGS_SetMinIslandArea(self, aArea)
15455 __swig_destroy__ = _pcbnew.delete_ZONE_SETTINGS
15458_pcbnew.ZONE_SETTINGS_swigregister(ZONE_SETTINGS)
15459TENTHS_OF_A_DEGREE_T = _pcbnew.TENTHS_OF_A_DEGREE_T
15461DEGREES_T = _pcbnew.DEGREES_T
15463RADIANS_T = _pcbnew.RADIANS_T
15466 r"""Proxy of C++ EDA_ANGLE class."""
15468 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15469 __repr__ = _swig_repr
15473 __init__(EDA_ANGLE self, double aValue, EDA_ANGLE_T aAngleType) -> EDA_ANGLE
15474 __init__(EDA_ANGLE self, double aAngleInDegrees) -> EDA_ANGLE
15475 __init__(EDA_ANGLE self, VECTOR2D const & aVector) -> EDA_ANGLE
15476 __init__(EDA_ANGLE self) -> EDA_ANGLE
15478 _pcbnew.EDA_ANGLE_swiginit(self, _pcbnew.new_EDA_ANGLE(*args))
15481 r"""AsDegrees(EDA_ANGLE self) -> double"""
15482 return _pcbnew.EDA_ANGLE_AsDegrees(self)
15485 r"""AsTenthsOfADegree(EDA_ANGLE self) -> int"""
15486 return _pcbnew.EDA_ANGLE_AsTenthsOfADegree(self)
15489 r"""AsRadians(EDA_ANGLE self) -> double"""
15490 return _pcbnew.EDA_ANGLE_AsRadians(self)
15491 DEGREES_TO_RADIANS = _pcbnew.EDA_ANGLE_DEGREES_TO_RADIANS
15495 r"""IsCardinal(EDA_ANGLE self) -> bool"""
15496 return _pcbnew.EDA_ANGLE_IsCardinal(self)
15499 r"""IsCardinal90(EDA_ANGLE self) -> bool"""
15500 return _pcbnew.EDA_ANGLE_IsCardinal90(self)
15503 r"""IsZero(EDA_ANGLE self) -> bool"""
15504 return _pcbnew.EDA_ANGLE_IsZero(self)
15507 r"""IsHorizontal(EDA_ANGLE self) -> bool"""
15508 return _pcbnew.EDA_ANGLE_IsHorizontal(self)
15511 r"""IsVertical(EDA_ANGLE self) -> bool"""
15512 return _pcbnew.EDA_ANGLE_IsVertical(self)
15515 r"""IsParallelTo(EDA_ANGLE self, EDA_ANGLE aAngle) -> bool"""
15516 return _pcbnew.EDA_ANGLE_IsParallelTo(self, aAngle)
15519 r"""Invert(EDA_ANGLE self) -> EDA_ANGLE"""
15520 return _pcbnew.EDA_ANGLE_Invert(self)
15523 r"""Sin(EDA_ANGLE self) -> double"""
15524 return _pcbnew.EDA_ANGLE_Sin(self)
15527 r"""Cos(EDA_ANGLE self) -> double"""
15528 return _pcbnew.EDA_ANGLE_Cos(self)
15531 r"""Tan(EDA_ANGLE self) -> double"""
15532 return _pcbnew.EDA_ANGLE_Tan(self)
15536 r"""Arccos(double x) -> EDA_ANGLE"""
15537 return _pcbnew.EDA_ANGLE_Arccos(x)
15541 r"""Arcsin(double x) -> EDA_ANGLE"""
15542 return _pcbnew.EDA_ANGLE_Arcsin(x)
15546 r"""Arctan(double x) -> EDA_ANGLE"""
15547 return _pcbnew.EDA_ANGLE_Arctan(x)
15551 r"""Arctan2(double y, double x) -> EDA_ANGLE"""
15552 return _pcbnew.EDA_ANGLE_Arctan2(y, x)
15555 r"""Normalize(EDA_ANGLE self) -> EDA_ANGLE"""
15556 return _pcbnew.EDA_ANGLE_Normalize(self)
15559 r"""Normalized(EDA_ANGLE self) -> EDA_ANGLE"""
15560 return _pcbnew.EDA_ANGLE_Normalized(self)
15563 r"""NormalizeNegative(EDA_ANGLE self) -> EDA_ANGLE"""
15564 return _pcbnew.EDA_ANGLE_NormalizeNegative(self)
15567 r"""Normalize90(EDA_ANGLE self) -> EDA_ANGLE"""
15568 return _pcbnew.EDA_ANGLE_Normalize90(self)
15571 r"""Normalize180(EDA_ANGLE self) -> EDA_ANGLE"""
15572 return _pcbnew.EDA_ANGLE_Normalize180(self)
15575 r"""Normalize720(EDA_ANGLE self) -> EDA_ANGLE"""
15576 return _pcbnew.EDA_ANGLE_Normalize720(self)
15579 r"""KeepUpright(EDA_ANGLE self) -> EDA_ANGLE"""
15580 return _pcbnew.EDA_ANGLE_KeepUpright(self)
15583 r"""Round(EDA_ANGLE self, int digits) -> EDA_ANGLE"""
15584 return _pcbnew.EDA_ANGLE_Round(self, digits)
15587 r"""__iadd__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
15588 return _pcbnew.EDA_ANGLE___iadd__(self, aAngle)
15591 r"""__isub__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
15592 return _pcbnew.EDA_ANGLE___isub__(self, aAngle)
15616 __swig_destroy__ = _pcbnew.delete_EDA_ANGLE
15619_pcbnew.EDA_ANGLE_swigregister(EDA_ANGLE)
15620SHAPE_T_UNDEFINED = _pcbnew.SHAPE_T_UNDEFINED
15622SHAPE_T_SEGMENT = _pcbnew.SHAPE_T_SEGMENT
15624SHAPE_T_RECTANGLE = _pcbnew.SHAPE_T_RECTANGLE
15626SHAPE_T_ARC = _pcbnew.SHAPE_T_ARC
15628SHAPE_T_CIRCLE = _pcbnew.SHAPE_T_CIRCLE
15630SHAPE_T_POLY = _pcbnew.SHAPE_T_POLY
15632SHAPE_T_BEZIER = _pcbnew.SHAPE_T_BEZIER
15634FILL_T_NO_FILL = _pcbnew.FILL_T_NO_FILL
15636FILL_T_FILLED_SHAPE = _pcbnew.FILL_T_FILLED_SHAPE
15638FILL_T_FILLED_WITH_BG_BODYCOLOR = _pcbnew.FILL_T_FILLED_WITH_BG_BODYCOLOR
15640FILL_T_FILLED_WITH_COLOR = _pcbnew.FILL_T_FILLED_WITH_COLOR
15643 r"""Proxy of C++ ARC_MID class."""
15645 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15646 __repr__ = _swig_repr
15647 mid = property(_pcbnew.ARC_MID_mid_get, _pcbnew.ARC_MID_mid_set, doc=
r"""mid : VECTOR2I""")
15648 start = property(_pcbnew.ARC_MID_start_get, _pcbnew.ARC_MID_start_set, doc=
r"""start : VECTOR2I""")
15649 end = property(_pcbnew.ARC_MID_end_get, _pcbnew.ARC_MID_end_set, doc=
r"""end : VECTOR2I""")
15650 center = property(_pcbnew.ARC_MID_center_get, _pcbnew.ARC_MID_center_set, doc=
r"""center : VECTOR2I""")
15653 r"""__init__(ARC_MID self) -> ARC_MID"""
15654 _pcbnew.ARC_MID_swiginit(self, _pcbnew.new_ARC_MID())
15655 __swig_destroy__ = _pcbnew.delete_ARC_MID
15658_pcbnew.ARC_MID_swigregister(ARC_MID)
15659ANGLE_HORIZONTAL = cvar.ANGLE_HORIZONTAL
15660ANGLE_VERTICAL = cvar.ANGLE_VERTICAL
15661FULL_CIRCLE = cvar.FULL_CIRCLE
15662ANGLE_0 = cvar.ANGLE_0
15663ANGLE_45 = cvar.ANGLE_45
15664ANGLE_90 = cvar.ANGLE_90
15665ANGLE_135 = cvar.ANGLE_135
15666ANGLE_180 = cvar.ANGLE_180
15667ANGLE_270 = cvar.ANGLE_270
15668ANGLE_360 = cvar.ANGLE_360
15671 r"""Proxy of C++ EDA_SHAPE class."""
15673 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15674 __repr__ = _swig_repr
15678 __init__(EDA_SHAPE self, SHAPE_T aType, int aLineWidth, FILL_T aFill) -> EDA_SHAPE
15679 __init__(EDA_SHAPE self, SHAPE aShape) -> EDA_SHAPE
15681 _pcbnew.EDA_SHAPE_swiginit(self, _pcbnew.new_EDA_SHAPE(*args))
15682 __swig_destroy__ = _pcbnew.delete_EDA_SHAPE
15685 r"""SwapShape(EDA_SHAPE self, EDA_SHAPE aImage)"""
15686 return _pcbnew.EDA_SHAPE_SwapShape(self, aImage)
15689 r"""Serialize(EDA_SHAPE self, google::protobuf::Any & aContainer)"""
15690 return _pcbnew.EDA_SHAPE_Serialize(self, aContainer)
15693 r"""Deserialize(EDA_SHAPE self, google::protobuf::Any const & aContainer) -> bool"""
15694 return _pcbnew.EDA_SHAPE_Deserialize(self, aContainer)
15697 r"""ShowShape(EDA_SHAPE self) -> wxString"""
15698 return _pcbnew.EDA_SHAPE_ShowShape(self)
15701 r"""SHAPE_T_asString(EDA_SHAPE self) -> wxString"""
15702 return _pcbnew.EDA_SHAPE_SHAPE_T_asString(self)
15705 r"""IsProxyItem(EDA_SHAPE self) -> bool"""
15706 return _pcbnew.EDA_SHAPE_IsProxyItem(self)
15709 r"""SetIsProxyItem(EDA_SHAPE self, bool aIsProxy=True)"""
15710 return _pcbnew.EDA_SHAPE_SetIsProxyItem(self, aIsProxy)
15713 r"""IsFilled(EDA_SHAPE self) -> bool"""
15714 return _pcbnew.EDA_SHAPE_IsFilled(self)
15717 r"""IsFilledForHitTesting(EDA_SHAPE self) -> bool"""
15718 return _pcbnew.EDA_SHAPE_IsFilledForHitTesting(self)
15721 r"""SetFilled(EDA_SHAPE self, bool aFlag)"""
15722 return _pcbnew.EDA_SHAPE_SetFilled(self, aFlag)
15725 r"""SetFillMode(EDA_SHAPE self, FILL_T aFill)"""
15726 return _pcbnew.EDA_SHAPE_SetFillMode(self, aFill)
15729 r"""GetFillMode(EDA_SHAPE self) -> FILL_T"""
15730 return _pcbnew.EDA_SHAPE_GetFillMode(self)
15733 r"""IsClosed(EDA_SHAPE self) -> bool"""
15734 return _pcbnew.EDA_SHAPE_IsClosed(self)
15737 r"""GetFillColor(EDA_SHAPE self) -> COLOR4D"""
15738 return _pcbnew.EDA_SHAPE_GetFillColor(self)
15741 r"""SetFillColor(EDA_SHAPE self, COLOR4D aColor)"""
15742 return _pcbnew.EDA_SHAPE_SetFillColor(self, aColor)
15745 r"""SetWidth(EDA_SHAPE self, int aWidth)"""
15746 return _pcbnew.EDA_SHAPE_SetWidth(self, aWidth)
15749 r"""GetWidth(EDA_SHAPE self) -> int"""
15750 return _pcbnew.EDA_SHAPE_GetWidth(self)
15753 r"""GetEffectiveWidth(EDA_SHAPE self) -> int"""
15754 return _pcbnew.EDA_SHAPE_GetEffectiveWidth(self)
15757 r"""SetLineStyle(EDA_SHAPE self, LINE_STYLE const aStyle)"""
15758 return _pcbnew.EDA_SHAPE_SetLineStyle(self, aStyle)
15761 r"""GetLineStyle(EDA_SHAPE self) -> LINE_STYLE"""
15762 return _pcbnew.EDA_SHAPE_GetLineStyle(self)
15765 r"""SetLineColor(EDA_SHAPE self, COLOR4D aColor)"""
15766 return _pcbnew.EDA_SHAPE_SetLineColor(self, aColor)
15769 r"""GetLineColor(EDA_SHAPE self) -> COLOR4D"""
15770 return _pcbnew.EDA_SHAPE_GetLineColor(self)
15773 r"""SetShape(EDA_SHAPE self, SHAPE_T aShape)"""
15774 return _pcbnew.EDA_SHAPE_SetShape(self, aShape)
15777 r"""GetShape(EDA_SHAPE self) -> SHAPE_T"""
15778 return _pcbnew.EDA_SHAPE_GetShape(self)
15781 r"""GetStart(EDA_SHAPE self) -> VECTOR2I"""
15782 return _pcbnew.EDA_SHAPE_GetStart(self)
15785 r"""GetStartY(EDA_SHAPE self) -> int"""
15786 return _pcbnew.EDA_SHAPE_GetStartY(self)
15789 r"""GetStartX(EDA_SHAPE self) -> int"""
15790 return _pcbnew.EDA_SHAPE_GetStartX(self)
15793 r"""SetStart(EDA_SHAPE self, VECTOR2I aStart)"""
15794 return _pcbnew.EDA_SHAPE_SetStart(self, aStart)
15797 r"""SetStartY(EDA_SHAPE self, int y)"""
15798 return _pcbnew.EDA_SHAPE_SetStartY(self, y)
15801 r"""SetStartX(EDA_SHAPE self, int x)"""
15802 return _pcbnew.EDA_SHAPE_SetStartX(self, x)
15805 r"""SetCenterY(EDA_SHAPE self, int y)"""
15806 return _pcbnew.EDA_SHAPE_SetCenterY(self, y)
15809 r"""SetCenterX(EDA_SHAPE self, int x)"""
15810 return _pcbnew.EDA_SHAPE_SetCenterX(self, x)
15813 r"""GetEnd(EDA_SHAPE self) -> VECTOR2I"""
15814 return _pcbnew.EDA_SHAPE_GetEnd(self)
15817 r"""GetEndY(EDA_SHAPE self) -> int"""
15818 return _pcbnew.EDA_SHAPE_GetEndY(self)
15821 r"""GetEndX(EDA_SHAPE self) -> int"""
15822 return _pcbnew.EDA_SHAPE_GetEndX(self)
15825 r"""SetEnd(EDA_SHAPE self, VECTOR2I aEnd)"""
15826 return _pcbnew.EDA_SHAPE_SetEnd(self, aEnd)
15829 r"""SetEndY(EDA_SHAPE self, int aY)"""
15830 return _pcbnew.EDA_SHAPE_SetEndY(self, aY)
15833 r"""SetEndX(EDA_SHAPE self, int aX)"""
15834 return _pcbnew.EDA_SHAPE_SetEndX(self, aX)
15837 r"""SetRadius(EDA_SHAPE self, int aX)"""
15838 return _pcbnew.EDA_SHAPE_SetRadius(self, aX)
15841 r"""GetTopLeft(EDA_SHAPE self) -> VECTOR2I"""
15842 return _pcbnew.EDA_SHAPE_GetTopLeft(self)
15845 r"""GetBotRight(EDA_SHAPE self) -> VECTOR2I"""
15846 return _pcbnew.EDA_SHAPE_GetBotRight(self)
15849 r"""SetTop(EDA_SHAPE self, int val)"""
15850 return _pcbnew.EDA_SHAPE_SetTop(self, val)
15853 r"""SetLeft(EDA_SHAPE self, int val)"""
15854 return _pcbnew.EDA_SHAPE_SetLeft(self, val)
15857 r"""SetRight(EDA_SHAPE self, int val)"""
15858 return _pcbnew.EDA_SHAPE_SetRight(self, val)
15861 r"""SetBottom(EDA_SHAPE self, int val)"""
15862 return _pcbnew.EDA_SHAPE_SetBottom(self, val)
15865 r"""SetBezierC1(EDA_SHAPE self, VECTOR2I aPt)"""
15866 return _pcbnew.EDA_SHAPE_SetBezierC1(self, aPt)
15869 r"""GetBezierC1(EDA_SHAPE self) -> VECTOR2I"""
15870 return _pcbnew.EDA_SHAPE_GetBezierC1(self)
15873 r"""SetBezierC2(EDA_SHAPE self, VECTOR2I aPt)"""
15874 return _pcbnew.EDA_SHAPE_SetBezierC2(self, aPt)
15877 r"""GetBezierC2(EDA_SHAPE self) -> VECTOR2I"""
15878 return _pcbnew.EDA_SHAPE_GetBezierC2(self)
15881 r"""SetCenter(EDA_SHAPE self, VECTOR2I aCenter)"""
15882 return _pcbnew.EDA_SHAPE_SetCenter(self, aCenter)
15885 r"""SetArcAngleAndEnd(EDA_SHAPE self, EDA_ANGLE aAngle, bool aCheckNegativeAngle=False)"""
15886 return _pcbnew.EDA_SHAPE_SetArcAngleAndEnd(self, aAngle, aCheckNegativeAngle)
15889 r"""GetArcAngle(EDA_SHAPE self) -> EDA_ANGLE"""
15890 return _pcbnew.EDA_SHAPE_GetArcAngle(self)
15893 r"""GetSegmentAngle(EDA_SHAPE self) -> EDA_ANGLE"""
15894 return _pcbnew.EDA_SHAPE_GetSegmentAngle(self)
15897 r"""EndsSwapped(EDA_SHAPE self) -> bool"""
15898 return _pcbnew.EDA_SHAPE_EndsSwapped(self)
15901 r"""GetArcMid(EDA_SHAPE self) -> VECTOR2I"""
15902 return _pcbnew.EDA_SHAPE_GetArcMid(self)
15905 r"""GetRectCorners(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
15906 return _pcbnew.EDA_SHAPE_GetRectCorners(self)
15909 r"""CalcArcAngles(EDA_SHAPE self, EDA_ANGLE aStartAngle, EDA_ANGLE aEndAngle)"""
15910 return _pcbnew.EDA_SHAPE_CalcArcAngles(self, aStartAngle, aEndAngle)
15913 r"""GetRadius(EDA_SHAPE self) -> int"""
15914 return _pcbnew.EDA_SHAPE_GetRadius(self)
15917 r"""SetArcGeometry(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd)"""
15918 return _pcbnew.EDA_SHAPE_SetArcGeometry(self, aStart, aMid, aEnd)
15921 r"""SetCachedArcData(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd, VECTOR2I aCenter)"""
15922 return _pcbnew.EDA_SHAPE_SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
15925 r"""GetBezierPoints(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
15926 return _pcbnew.EDA_SHAPE_GetBezierPoints(self)
15929 r"""DupPolyPointsList(EDA_SHAPE self, VECTOR_VECTOR2I aBuffer)"""
15930 return _pcbnew.EDA_SHAPE_DupPolyPointsList(self, aBuffer)
15933 r"""GetPointCount(EDA_SHAPE self) -> int"""
15934 return _pcbnew.EDA_SHAPE_GetPointCount(self)
15941 return _pcbnew.EDA_SHAPE_GetPolyShape(self, *args)
15944 r"""IsPolyShapeValid(EDA_SHAPE self) -> bool"""
15945 return _pcbnew.EDA_SHAPE_IsPolyShapeValid(self)
15948 r"""SetPolyShape(EDA_SHAPE self, SHAPE_POLY_SET aShape)"""
15949 return _pcbnew.EDA_SHAPE_SetPolyShape(self, aShape)
15952 r"""SetPolyPoints(EDA_SHAPE self, VECTOR_VECTOR2I aPoints)"""
15953 return _pcbnew.EDA_SHAPE_SetPolyPoints(self, aPoints)
15956 r"""RebuildBezierToSegmentsPointsList(EDA_SHAPE self, int aMaxError)"""
15957 return _pcbnew.EDA_SHAPE_RebuildBezierToSegmentsPointsList(self, aMaxError)
15960 r"""MakeEffectiveShapes(EDA_SHAPE self, bool aEdgeOnly=False) -> std::vector< SHAPE *,std::allocator< SHAPE * > >"""
15961 return _pcbnew.EDA_SHAPE_MakeEffectiveShapes(self, aEdgeOnly)
15964 r"""ShapeGetMsgPanelInfo(EDA_SHAPE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
15965 return _pcbnew.EDA_SHAPE_ShapeGetMsgPanelInfo(self, aFrame, aList)
15968 r"""SetLength(EDA_SHAPE self, double const & aLength)"""
15969 return _pcbnew.EDA_SHAPE_SetLength(self, aLength)
15972 r"""SetRectangleHeight(EDA_SHAPE self, int const & aHeight)"""
15973 return _pcbnew.EDA_SHAPE_SetRectangleHeight(self, aHeight)
15976 r"""SetRectangleWidth(EDA_SHAPE self, int const & aWidth)"""
15977 return _pcbnew.EDA_SHAPE_SetRectangleWidth(self, aWidth)
15980 r"""SetRectangle(EDA_SHAPE self, long long const & aHeight, long long const & aWidth)"""
15981 return _pcbnew.EDA_SHAPE_SetRectangle(self, aHeight, aWidth)
15984 r"""SetSegmentAngle(EDA_SHAPE self, EDA_ANGLE aAngle)"""
15985 return _pcbnew.EDA_SHAPE_SetSegmentAngle(self, aAngle)
15988 r"""IsClockwiseArc(EDA_SHAPE self) -> bool"""
15989 return _pcbnew.EDA_SHAPE_IsClockwiseArc(self)
15992 r"""GetLength(EDA_SHAPE self) -> double"""
15993 return _pcbnew.EDA_SHAPE_GetLength(self)
15996 r"""GetRectangleHeight(EDA_SHAPE self) -> int"""
15997 return _pcbnew.EDA_SHAPE_GetRectangleHeight(self)
16000 r"""GetRectangleWidth(EDA_SHAPE self) -> int"""
16001 return _pcbnew.EDA_SHAPE_GetRectangleWidth(self)
16004 r"""TransformShapeToPolygon(EDA_SHAPE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
16005 return _pcbnew.EDA_SHAPE_TransformShapeToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, ignoreLineWidth)
16008 r"""Compare(EDA_SHAPE self, EDA_SHAPE aOther) -> int"""
16009 return _pcbnew.EDA_SHAPE_Compare(self, aOther)
16012 r"""Similarity(EDA_SHAPE self, EDA_SHAPE aOther) -> double"""
16013 return _pcbnew.EDA_SHAPE_Similarity(self, aOther)
16016 r"""__eq__(EDA_SHAPE self, EDA_SHAPE aOther) -> bool"""
16017 return _pcbnew.EDA_SHAPE___eq__(self, aOther)
16020_pcbnew.EDA_SHAPE_swigregister(EDA_SHAPE)
16022 r"""Proxy of C++ PCB_SHAPE class."""
16024 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16025 __repr__ = _swig_repr
16029 __init__(PCB_SHAPE self, BOARD_ITEM aParent, KICAD_T aItemType, SHAPE_T aShapeType) -> PCB_SHAPE
16030 __init__(PCB_SHAPE self, BOARD_ITEM aParent=None, SHAPE_T aShapeType=SEGMENT) -> PCB_SHAPE
16032 _pcbnew.PCB_SHAPE_swiginit(self, _pcbnew.new_PCB_SHAPE(*args))
16033 __swig_destroy__ = _pcbnew.delete_PCB_SHAPE
16037 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16038 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
16041 r"""Serialize(PCB_SHAPE self, google::protobuf::Any & aContainer)"""
16042 return _pcbnew.PCB_SHAPE_Serialize(self, aContainer)
16045 r"""Deserialize(PCB_SHAPE self, google::protobuf::Any const & aContainer) -> bool"""
16046 return _pcbnew.PCB_SHAPE_Deserialize(self, aContainer)
16049 r"""GetConnectionPoints(PCB_SHAPE self) -> VECTOR_VECTOR2I"""
16050 return _pcbnew.PCB_SHAPE_GetConnectionPoints(self)
16053 r"""GetCorners(PCB_SHAPE self) -> VECTOR_VECTOR2I"""
16054 return _pcbnew.PCB_SHAPE_GetCorners(self)
16057 r"""GetEffectiveShape(PCB_SHAPE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16058 return _pcbnew.PCB_SHAPE_GetEffectiveShape(self, *args)
16061 r"""SetIsProxyItem(PCB_SHAPE self, bool aIsProxy=True)"""
16062 return _pcbnew.PCB_SHAPE_SetIsProxyItem(self, aIsProxy)
16066 HitTest(PCB_SHAPE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
16067 HitTest(PCB_SHAPE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16069 return _pcbnew.PCB_SHAPE_HitTest(self, *args)
16072 r"""Scale(PCB_SHAPE self, double aScale)"""
16073 return _pcbnew.PCB_SHAPE_Scale(self, aScale)
16076 r"""TransformShapeToPolygon(PCB_SHAPE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
16077 return _pcbnew.PCB_SHAPE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
16080 r"""ViewGetLOD(PCB_SHAPE self, int aLayer, KIGFX::VIEW * aView) -> double"""
16081 return _pcbnew.PCB_SHAPE_ViewGetLOD(self, aLayer, aView)
16085 __eq__(PCB_SHAPE self, PCB_SHAPE aShape) -> bool
16086 __eq__(PCB_SHAPE self, BOARD_ITEM aBoardItem) -> bool
16088 return _pcbnew.PCB_SHAPE___eq__(self, *args)
16091 r"""SetHasSolderMask(PCB_SHAPE self, bool aVal)"""
16092 return _pcbnew.PCB_SHAPE_SetHasSolderMask(self, aVal)
16095 r"""HasSolderMask(PCB_SHAPE self) -> bool"""
16096 return _pcbnew.PCB_SHAPE_HasSolderMask(self)
16099 r"""SetLocalSolderMaskMargin(PCB_SHAPE self, std::optional< int > aMargin)"""
16100 return _pcbnew.PCB_SHAPE_SetLocalSolderMaskMargin(self, aMargin)
16103 r"""GetLocalSolderMaskMargin(PCB_SHAPE self) -> std::optional< int >"""
16104 return _pcbnew.PCB_SHAPE_GetLocalSolderMaskMargin(self)
16107 r"""GetSolderMaskExpansion(PCB_SHAPE self) -> int"""
16108 return _pcbnew.PCB_SHAPE_GetSolderMaskExpansion(self)
16111 r"""GetArcAngleStart(PCB_SHAPE self) -> EDA_ANGLE"""
16112 return _pcbnew.PCB_SHAPE_GetArcAngleStart(self)
16119_pcbnew.PCB_SHAPE_swigregister(PCB_SHAPE)
16121 r"""Proxy of C++ PCB_TEXT class."""
16123 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16124 __repr__ = _swig_repr
16128 __init__(PCB_TEXT self, BOARD_ITEM parent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT
16129 __init__(PCB_TEXT self, FOOTPRINT aParent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT
16131 _pcbnew.PCB_TEXT_swiginit(self, _pcbnew.new_PCB_TEXT(*args))
16132 __swig_destroy__ = _pcbnew.delete_PCB_TEXT
16136 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16137 return _pcbnew.PCB_TEXT_ClassOf(aItem)
16140 r"""Serialize(PCB_TEXT self, google::protobuf::Any & aContainer)"""
16141 return _pcbnew.PCB_TEXT_Serialize(self, aContainer)
16144 r"""Deserialize(PCB_TEXT self, google::protobuf::Any const & aContainer) -> bool"""
16145 return _pcbnew.PCB_TEXT_Deserialize(self, aContainer)
16148 r"""KeepUpright(PCB_TEXT self)"""
16149 return _pcbnew.PCB_TEXT_KeepUpright(self)
16152 r"""GetShownText(PCB_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
16153 return _pcbnew.PCB_TEXT_GetShownText(self, aAllowExtraText, aDepth)
16157 TextHitTest(PCB_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
16158 TextHitTest(PCB_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
16160 return _pcbnew.PCB_TEXT_TextHitTest(self, *args)
16164 HitTest(PCB_TEXT self, VECTOR2I aPosition, int aAccuracy) -> bool
16165 HitTest(PCB_TEXT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16167 return _pcbnew.PCB_TEXT_HitTest(self, *args)
16170 r"""TransformTextToPolySet(PCB_TEXT self, SHAPE_POLY_SET aBuffer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc)"""
16171 return _pcbnew.PCB_TEXT_TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
16174 r"""TransformShapeToPolygon(PCB_TEXT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
16175 return _pcbnew.PCB_TEXT_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
16178 r"""GetEffectiveShape(PCB_TEXT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16179 return _pcbnew.PCB_TEXT_GetEffectiveShape(self, *args)
16182 r"""GetTextTypeDescription(PCB_TEXT self) -> wxString"""
16183 return _pcbnew.PCB_TEXT_GetTextTypeDescription(self)
16186 r"""ViewGetLOD(PCB_TEXT self, int aLayer, KIGFX::VIEW * aView) -> double"""
16187 return _pcbnew.PCB_TEXT_ViewGetLOD(self, aLayer, aView)
16191 __eq__(PCB_TEXT self, PCB_TEXT aOther) -> bool
16192 __eq__(PCB_TEXT self, BOARD_ITEM aBoardItem) -> bool
16194 return _pcbnew.PCB_TEXT___eq__(self, *args)
16197_pcbnew.PCB_TEXT_swigregister(PCB_TEXT)
16198S_SEGMENT = cvar.S_SEGMENT
16199S_RECT = cvar.S_RECT
16201S_CIRCLE = cvar.S_CIRCLE
16202S_POLYGON = cvar.S_POLYGON
16203S_CURVE = cvar.S_CURVE
16204SHAPE_T_RECT = cvar.SHAPE_T_RECT
16207 r"""Proxy of C++ PCB_TEXTBOX class."""
16209 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16210 __repr__ = _swig_repr
16213 r"""__init__(PCB_TEXTBOX self, BOARD_ITEM aParent, KICAD_T aType=PCB_TEXTBOX_T) -> PCB_TEXTBOX"""
16214 _pcbnew.PCB_TEXTBOX_swiginit(self, _pcbnew.new_PCB_TEXTBOX(aParent, aType))
16215 __swig_destroy__ = _pcbnew.delete_PCB_TEXTBOX
16219 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16220 return _pcbnew.PCB_TEXTBOX_ClassOf(aItem)
16223 r"""Serialize(PCB_TEXTBOX self, google::protobuf::Any & aContainer)"""
16224 return _pcbnew.PCB_TEXTBOX_Serialize(self, aContainer)
16227 r"""Deserialize(PCB_TEXTBOX self, google::protobuf::Any const & aContainer) -> bool"""
16228 return _pcbnew.PCB_TEXTBOX_Deserialize(self, aContainer)
16231 r"""GetLegacyTextMargin(PCB_TEXTBOX self) -> int"""
16232 return _pcbnew.PCB_TEXTBOX_GetLegacyTextMargin(self)
16235 r"""SetMarginLeft(PCB_TEXTBOX self, int aLeft)"""
16236 return _pcbnew.PCB_TEXTBOX_SetMarginLeft(self, aLeft)
16239 r"""SetMarginTop(PCB_TEXTBOX self, int aTop)"""
16240 return _pcbnew.PCB_TEXTBOX_SetMarginTop(self, aTop)
16243 r"""SetMarginRight(PCB_TEXTBOX self, int aRight)"""
16244 return _pcbnew.PCB_TEXTBOX_SetMarginRight(self, aRight)
16247 r"""SetMarginBottom(PCB_TEXTBOX self, int aBottom)"""
16248 return _pcbnew.PCB_TEXTBOX_SetMarginBottom(self, aBottom)
16251 r"""GetMarginLeft(PCB_TEXTBOX self) -> int"""
16252 return _pcbnew.PCB_TEXTBOX_GetMarginLeft(self)
16255 r"""GetMarginTop(PCB_TEXTBOX self) -> int"""
16256 return _pcbnew.PCB_TEXTBOX_GetMarginTop(self)
16259 r"""GetMarginRight(PCB_TEXTBOX self) -> int"""
16260 return _pcbnew.PCB_TEXTBOX_GetMarginRight(self)
16263 r"""GetMarginBottom(PCB_TEXTBOX self) -> int"""
16264 return _pcbnew.PCB_TEXTBOX_GetMarginBottom(self)
16269 GetDrawPos(PCB_TEXTBOX self, bool aIsFlipped) -> VECTOR2I
16271 return _pcbnew.PCB_TEXTBOX_GetDrawPos(self, *args)
16274 r"""GetShownText(PCB_TEXTBOX self, bool aAllowExtraText, int aDepth=0) -> wxString"""
16275 return _pcbnew.PCB_TEXTBOX_GetShownText(self, aAllowExtraText, aDepth)
16278 r"""GetAnchorAndOppositeCorner(PCB_TEXTBOX self) -> VECTOR_VECTOR2I"""
16279 return _pcbnew.PCB_TEXTBOX_GetAnchorAndOppositeCorner(self)
16283 HitTest(PCB_TEXTBOX self, VECTOR2I aPosition, int aAccuracy) -> bool
16284 HitTest(PCB_TEXTBOX self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16286 return _pcbnew.PCB_TEXTBOX_HitTest(self, *args)
16289 r"""TransformTextToPolySet(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc)"""
16290 return _pcbnew.PCB_TEXTBOX_TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
16293 r"""TransformShapeToPolygon(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
16294 return _pcbnew.PCB_TEXTBOX_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
16297 r"""GetEffectiveShape(PCB_TEXTBOX self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16298 return _pcbnew.PCB_TEXTBOX_GetEffectiveShape(self, *args)
16301 r"""ViewGetLOD(PCB_TEXTBOX self, int aLayer, KIGFX::VIEW * aView) -> double"""
16302 return _pcbnew.PCB_TEXTBOX_ViewGetLOD(self, aLayer, aView)
16305 r"""IsBorderEnabled(PCB_TEXTBOX self) -> bool"""
16306 return _pcbnew.PCB_TEXTBOX_IsBorderEnabled(self)
16309 r"""SetBorderEnabled(PCB_TEXTBOX self, bool enabled)"""
16310 return _pcbnew.PCB_TEXTBOX_SetBorderEnabled(self, enabled)
16313 r"""SetBorderWidth(PCB_TEXTBOX self, int const aSize)"""
16314 return _pcbnew.PCB_TEXTBOX_SetBorderWidth(self, aSize)
16317 r"""GetBorderWidth(PCB_TEXTBOX self) -> int"""
16318 return _pcbnew.PCB_TEXTBOX_GetBorderWidth(self)
16322 __eq__(PCB_TEXTBOX self, PCB_TEXTBOX aOther) -> bool
16323 __eq__(PCB_TEXTBOX self, BOARD_ITEM aBoardItem) -> bool
16325 return _pcbnew.PCB_TEXTBOX___eq__(self, *args)
16328_pcbnew.PCB_TEXTBOX_swigregister(PCB_TEXTBOX)
16329GR_TEXT_H_ALIGN_LEFT = _pcbnew.GR_TEXT_H_ALIGN_LEFT
16331GR_TEXT_H_ALIGN_CENTER = _pcbnew.GR_TEXT_H_ALIGN_CENTER
16333GR_TEXT_H_ALIGN_RIGHT = _pcbnew.GR_TEXT_H_ALIGN_RIGHT
16335GR_TEXT_H_ALIGN_INDETERMINATE = _pcbnew.GR_TEXT_H_ALIGN_INDETERMINATE
16337GR_TEXT_V_ALIGN_TOP = _pcbnew.GR_TEXT_V_ALIGN_TOP
16339GR_TEXT_V_ALIGN_CENTER = _pcbnew.GR_TEXT_V_ALIGN_CENTER
16341GR_TEXT_V_ALIGN_BOTTOM = _pcbnew.GR_TEXT_V_ALIGN_BOTTOM
16343GR_TEXT_V_ALIGN_INDETERMINATE = _pcbnew.GR_TEXT_V_ALIGN_INDETERMINATE
16351 return _pcbnew.GetFlippedAlignment(*args)
16354 r"""ToHAlignment(int x) -> GR_TEXT_H_ALIGN_T"""
16355 return _pcbnew.ToHAlignment(x)
16357 r"""Proxy of C++ TEXT_ATTRIBUTES class."""
16359 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16360 __repr__ = _swig_repr
16363 r"""__init__(TEXT_ATTRIBUTES self, KIFONT::FONT * aFont=None) -> TEXT_ATTRIBUTES"""
16364 _pcbnew.TEXT_ATTRIBUTES_swiginit(self, _pcbnew.new_TEXT_ATTRIBUTES(aFont))
16367 r"""Compare(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> int"""
16368 return _pcbnew.TEXT_ATTRIBUTES_Compare(self, aRhs)
16371 r"""__eq__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
16372 return _pcbnew.TEXT_ATTRIBUTES___eq__(self, aRhs)
16375 r"""__gt__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
16376 return _pcbnew.TEXT_ATTRIBUTES___gt__(self, aRhs)
16379 r"""__lt__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
16380 return _pcbnew.TEXT_ATTRIBUTES___lt__(self, aRhs)
16381 m_Font = property(_pcbnew.TEXT_ATTRIBUTES_m_Font_get, _pcbnew.TEXT_ATTRIBUTES_m_Font_set, doc=
r"""m_Font : p.KIFONT::FONT""")
16382 m_Halign = property(_pcbnew.TEXT_ATTRIBUTES_m_Halign_get, _pcbnew.TEXT_ATTRIBUTES_m_Halign_set, doc=
r"""m_Halign : GR_TEXT_H_ALIGN_T""")
16383 m_Valign = property(_pcbnew.TEXT_ATTRIBUTES_m_Valign_get, _pcbnew.TEXT_ATTRIBUTES_m_Valign_set, doc=
r"""m_Valign : GR_TEXT_V_ALIGN_T""")
16384 m_Angle = property(_pcbnew.TEXT_ATTRIBUTES_m_Angle_get, _pcbnew.TEXT_ATTRIBUTES_m_Angle_set, doc=
r"""m_Angle : EDA_ANGLE""")
16385 m_LineSpacing = property(_pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_get, _pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_set, doc=
r"""m_LineSpacing : double""")
16386 m_StrokeWidth = property(_pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_get, _pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_set, doc=
r"""m_StrokeWidth : int""")
16387 m_Italic = property(_pcbnew.TEXT_ATTRIBUTES_m_Italic_get, _pcbnew.TEXT_ATTRIBUTES_m_Italic_set, doc=
r"""m_Italic : bool""")
16388 m_Bold = property(_pcbnew.TEXT_ATTRIBUTES_m_Bold_get, _pcbnew.TEXT_ATTRIBUTES_m_Bold_set, doc=
r"""m_Bold : bool""")
16389 m_Underlined = property(_pcbnew.TEXT_ATTRIBUTES_m_Underlined_get, _pcbnew.TEXT_ATTRIBUTES_m_Underlined_set, doc=
r"""m_Underlined : bool""")
16390 m_Color = property(_pcbnew.TEXT_ATTRIBUTES_m_Color_get, _pcbnew.TEXT_ATTRIBUTES_m_Color_set, doc=
r"""m_Color : KIGFX::COLOR4D""")
16391 m_Visible = property(_pcbnew.TEXT_ATTRIBUTES_m_Visible_get, _pcbnew.TEXT_ATTRIBUTES_m_Visible_set, doc=
r"""m_Visible : bool""")
16392 m_Mirrored = property(_pcbnew.TEXT_ATTRIBUTES_m_Mirrored_get, _pcbnew.TEXT_ATTRIBUTES_m_Mirrored_set, doc=
r"""m_Mirrored : bool""")
16393 m_Multiline = property(_pcbnew.TEXT_ATTRIBUTES_m_Multiline_get, _pcbnew.TEXT_ATTRIBUTES_m_Multiline_set, doc=
r"""m_Multiline : bool""")
16394 m_Size = property(_pcbnew.TEXT_ATTRIBUTES_m_Size_get, _pcbnew.TEXT_ATTRIBUTES_m_Size_set, doc=
r"""m_Size : VECTOR2I""")
16395 m_KeepUpright = property(_pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_get, _pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_set, doc=
r"""m_KeepUpright : bool""")
16396 m_StoredStrokeWidth = property(_pcbnew.TEXT_ATTRIBUTES_m_StoredStrokeWidth_get, _pcbnew.TEXT_ATTRIBUTES_m_StoredStrokeWidth_set, doc=
r"""m_StoredStrokeWidth : int""")
16397 __swig_destroy__ = _pcbnew.delete_TEXT_ATTRIBUTES
16400_pcbnew.TEXT_ATTRIBUTES_swigregister(TEXT_ATTRIBUTES)
16402 r"""Proxy of C++ PCB_FIELD class."""
16404 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16405 __repr__ = _swig_repr
16409 __init__(PCB_FIELD self, FOOTPRINT aParent, int aFieldId, wxString aName=wxEmptyString) -> PCB_FIELD
16410 __init__(PCB_FIELD self, PCB_TEXT aText, int aFieldId, wxString aName=wxEmptyString) -> PCB_FIELD
16412 _pcbnew.PCB_FIELD_swiginit(self, _pcbnew.new_PCB_FIELD(*args))
16415 r"""Serialize(PCB_FIELD self, google::protobuf::Any & aContainer)"""
16416 return _pcbnew.PCB_FIELD_Serialize(self, aContainer)
16419 r"""Deserialize(PCB_FIELD self, google::protobuf::Any const & aContainer) -> bool"""
16420 return _pcbnew.PCB_FIELD_Deserialize(self, aContainer)
16424 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16425 return _pcbnew.PCB_FIELD_ClassOf(aItem)
16428 r"""IsReference(PCB_FIELD self) -> bool"""
16429 return _pcbnew.PCB_FIELD_IsReference(self)
16432 r"""IsValue(PCB_FIELD self) -> bool"""
16433 return _pcbnew.PCB_FIELD_IsValue(self)
16436 r"""IsDatasheet(PCB_FIELD self) -> bool"""
16437 return _pcbnew.PCB_FIELD_IsDatasheet(self)
16440 r"""IsComponentClass(PCB_FIELD self) -> bool"""
16441 return _pcbnew.PCB_FIELD_IsComponentClass(self)
16444 r"""IsMandatoryField(PCB_FIELD self) -> bool"""
16445 return _pcbnew.PCB_FIELD_IsMandatoryField(self)
16448 r"""ViewGetLOD(PCB_FIELD self, int aLayer, KIGFX::VIEW * aView) -> double"""
16449 return _pcbnew.PCB_FIELD_ViewGetLOD(self, aLayer, aView)
16452 r"""CloneField(PCB_FIELD self) -> PCB_FIELD"""
16453 return _pcbnew.PCB_FIELD_CloneField(self)
16456 r"""GetName(PCB_FIELD self, bool aUseDefaultName=True) -> wxString"""
16457 return _pcbnew.PCB_FIELD_GetName(self, aUseDefaultName)
16460 r"""GetCanonicalName(PCB_FIELD self) -> wxString"""
16461 return _pcbnew.PCB_FIELD_GetCanonicalName(self)
16464 r"""SetName(PCB_FIELD self, wxString aName)"""
16465 return _pcbnew.PCB_FIELD_SetName(self, aName)
16468 r"""GetId(PCB_FIELD self) -> int"""
16469 return _pcbnew.PCB_FIELD_GetId(self)
16472 r"""SetId(PCB_FIELD self, int aId)"""
16473 return _pcbnew.PCB_FIELD_SetId(self, aId)
16477 __eq__(PCB_FIELD self, PCB_FIELD aOther) -> bool
16478 __eq__(PCB_FIELD self, BOARD_ITEM aOther) -> bool
16480 return _pcbnew.PCB_FIELD___eq__(self, *args)
16481 __swig_destroy__ = _pcbnew.delete_PCB_FIELD
16484_pcbnew.PCB_FIELD_swigregister(PCB_FIELD)
16485DIM_UNITS_FORMAT_NO_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_NO_SUFFIX
16487DIM_UNITS_FORMAT_BARE_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_BARE_SUFFIX
16489DIM_UNITS_FORMAT_PAREN_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_PAREN_SUFFIX
16491DIM_PRECISION_X = _pcbnew.DIM_PRECISION_X
16493DIM_PRECISION_X_X = _pcbnew.DIM_PRECISION_X_X
16495DIM_PRECISION_X_XX = _pcbnew.DIM_PRECISION_X_XX
16497DIM_PRECISION_X_XXX = _pcbnew.DIM_PRECISION_X_XXX
16499DIM_PRECISION_X_XXXX = _pcbnew.DIM_PRECISION_X_XXXX
16501DIM_PRECISION_X_XXXXX = _pcbnew.DIM_PRECISION_X_XXXXX
16503DIM_PRECISION_V_VV = _pcbnew.DIM_PRECISION_V_VV
16505DIM_PRECISION_V_VVV = _pcbnew.DIM_PRECISION_V_VVV
16507DIM_PRECISION_V_VVVV = _pcbnew.DIM_PRECISION_V_VVVV
16509DIM_PRECISION_V_VVVVV = _pcbnew.DIM_PRECISION_V_VVVVV
16511DIM_TEXT_POSITION_OUTSIDE = _pcbnew.DIM_TEXT_POSITION_OUTSIDE
16513DIM_TEXT_POSITION_INLINE = _pcbnew.DIM_TEXT_POSITION_INLINE
16515DIM_TEXT_POSITION_MANUAL = _pcbnew.DIM_TEXT_POSITION_MANUAL
16517DIM_UNITS_MODE_INCHES = _pcbnew.DIM_UNITS_MODE_INCHES
16519DIM_UNITS_MODE_MILS = _pcbnew.DIM_UNITS_MODE_MILS
16521DIM_UNITS_MODE_MILLIMETRES = _pcbnew.DIM_UNITS_MODE_MILLIMETRES
16523DIM_UNITS_MODE_AUTOMATIC = _pcbnew.DIM_UNITS_MODE_AUTOMATIC
16525DIM_ARROW_DIRECTION_INWARD = _pcbnew.DIM_ARROW_DIRECTION_INWARD
16527DIM_ARROW_DIRECTION_OUTWARD = _pcbnew.DIM_ARROW_DIRECTION_OUTWARD
16529DIM_TEXT_BORDER_NONE = _pcbnew.DIM_TEXT_BORDER_NONE
16531DIM_TEXT_BORDER_RECTANGLE = _pcbnew.DIM_TEXT_BORDER_RECTANGLE
16533DIM_TEXT_BORDER_CIRCLE = _pcbnew.DIM_TEXT_BORDER_CIRCLE
16535DIM_TEXT_BORDER_ROUNDRECT = _pcbnew.DIM_TEXT_BORDER_ROUNDRECT
16538 r"""Proxy of C++ PCB_DIMENSION_BASE class."""
16540 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16543 raise AttributeError(
"No constructor defined - class is abstract")
16544 __repr__ = _swig_repr
16547 r"""Serialize(PCB_DIMENSION_BASE self, google::protobuf::Any & aContainer)"""
16548 return _pcbnew.PCB_DIMENSION_BASE_Serialize(self, aContainer)
16551 r"""Deserialize(PCB_DIMENSION_BASE self, google::protobuf::Any const & aContainer) -> bool"""
16552 return _pcbnew.PCB_DIMENSION_BASE_Deserialize(self, aContainer)
16555 r"""GetStart(PCB_DIMENSION_BASE self) -> VECTOR2I"""
16556 return _pcbnew.PCB_DIMENSION_BASE_GetStart(self)
16559 r"""SetStart(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
16560 return _pcbnew.PCB_DIMENSION_BASE_SetStart(self, aPoint)
16563 r"""GetEnd(PCB_DIMENSION_BASE self) -> VECTOR2I"""
16564 return _pcbnew.PCB_DIMENSION_BASE_GetEnd(self)
16567 r"""SetEnd(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
16568 return _pcbnew.PCB_DIMENSION_BASE_SetEnd(self, aPoint)
16571 r"""GetOverrideTextEnabled(PCB_DIMENSION_BASE self) -> bool"""
16572 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideTextEnabled(self)
16575 r"""SetOverrideTextEnabled(PCB_DIMENSION_BASE self, bool aOverride)"""
16576 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideTextEnabled(self, aOverride)
16579 r"""GetOverrideText(PCB_DIMENSION_BASE self) -> wxString"""
16580 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideText(self)
16583 r"""SetOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
16584 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideText(self, aValue)
16587 r"""ChangeOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
16588 return _pcbnew.PCB_DIMENSION_BASE_ChangeOverrideText(self, aValue)
16591 r"""GetMeasuredValue(PCB_DIMENSION_BASE self) -> int"""
16592 return _pcbnew.PCB_DIMENSION_BASE_GetMeasuredValue(self)
16595 r"""SetMeasuredValue(PCB_DIMENSION_BASE self, int aValue)"""
16596 return _pcbnew.PCB_DIMENSION_BASE_SetMeasuredValue(self, aValue)
16599 r"""GetValueText(PCB_DIMENSION_BASE self) -> wxString"""
16600 return _pcbnew.PCB_DIMENSION_BASE_GetValueText(self)
16603 r"""Update(PCB_DIMENSION_BASE self)"""
16604 return _pcbnew.PCB_DIMENSION_BASE_Update(self)
16607 r"""UpdateUnits(PCB_DIMENSION_BASE self)"""
16608 return _pcbnew.PCB_DIMENSION_BASE_UpdateUnits(self)
16611 r"""GetPrefix(PCB_DIMENSION_BASE self) -> wxString"""
16612 return _pcbnew.PCB_DIMENSION_BASE_GetPrefix(self)
16615 r"""SetPrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
16616 return _pcbnew.PCB_DIMENSION_BASE_SetPrefix(self, aPrefix)
16619 r"""ChangePrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
16620 return _pcbnew.PCB_DIMENSION_BASE_ChangePrefix(self, aPrefix)
16623 r"""GetSuffix(PCB_DIMENSION_BASE self) -> wxString"""
16624 return _pcbnew.PCB_DIMENSION_BASE_GetSuffix(self)
16627 r"""SetSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
16628 return _pcbnew.PCB_DIMENSION_BASE_SetSuffix(self, aSuffix)
16631 r"""ChangeSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
16632 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuffix(self, aSuffix)
16635 r"""GetArrowDirection(PCB_DIMENSION_BASE self) -> DIM_ARROW_DIRECTION"""
16636 return _pcbnew.PCB_DIMENSION_BASE_GetArrowDirection(self)
16639 r"""SetArrowDirection(PCB_DIMENSION_BASE self, DIM_ARROW_DIRECTION const & aDirection)"""
16640 return _pcbnew.PCB_DIMENSION_BASE_SetArrowDirection(self, aDirection)
16643 r"""ChangeArrowDirection(PCB_DIMENSION_BASE self, DIM_ARROW_DIRECTION const & aDirection)"""
16644 return _pcbnew.PCB_DIMENSION_BASE_ChangeArrowDirection(self, aDirection)
16647 r"""GetUnits(PCB_DIMENSION_BASE self) -> EDA_UNITS"""
16648 return _pcbnew.PCB_DIMENSION_BASE_GetUnits(self)
16651 r"""SetUnits(PCB_DIMENSION_BASE self, EDA_UNITS aUnits)"""
16652 return _pcbnew.PCB_DIMENSION_BASE_SetUnits(self, aUnits)
16655 r"""GetUnitsMode(PCB_DIMENSION_BASE self) -> DIM_UNITS_MODE"""
16656 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsMode(self)
16659 r"""SetUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
16660 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsMode(self, aMode)
16663 r"""ChangeUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
16664 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsMode(self, aMode)
16667 r"""SetAutoUnits(PCB_DIMENSION_BASE self, bool aAuto=True)"""
16668 return _pcbnew.PCB_DIMENSION_BASE_SetAutoUnits(self, aAuto)
16671 r"""GetUnitsFormat(PCB_DIMENSION_BASE self) -> DIM_UNITS_FORMAT"""
16672 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsFormat(self)
16675 r"""SetUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
16676 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsFormat(self, aFormat)
16679 r"""ChangeUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
16680 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsFormat(self, aFormat)
16683 r"""GetPrecision(PCB_DIMENSION_BASE self) -> DIM_PRECISION"""
16684 return _pcbnew.PCB_DIMENSION_BASE_GetPrecision(self)
16687 r"""SetPrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
16688 return _pcbnew.PCB_DIMENSION_BASE_SetPrecision(self, aPrecision)
16691 r"""ChangePrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
16692 return _pcbnew.PCB_DIMENSION_BASE_ChangePrecision(self, aPrecision)
16695 r"""GetSuppressZeroes(PCB_DIMENSION_BASE self) -> bool"""
16696 return _pcbnew.PCB_DIMENSION_BASE_GetSuppressZeroes(self)
16699 r"""SetSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
16700 return _pcbnew.PCB_DIMENSION_BASE_SetSuppressZeroes(self, aSuppress)
16703 r"""ChangeSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
16704 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuppressZeroes(self, aSuppress)
16707 r"""GetKeepTextAligned(PCB_DIMENSION_BASE self) -> bool"""
16708 return _pcbnew.PCB_DIMENSION_BASE_GetKeepTextAligned(self)
16711 r"""SetKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)"""
16712 return _pcbnew.PCB_DIMENSION_BASE_SetKeepTextAligned(self, aKeepAligned)
16715 r"""GetTextAngleDegreesProp(PCB_DIMENSION_BASE self) -> double"""
16716 return _pcbnew.PCB_DIMENSION_BASE_GetTextAngleDegreesProp(self)
16719 r"""ChangeTextAngleDegrees(PCB_DIMENSION_BASE self, double aDegrees)"""
16720 return _pcbnew.PCB_DIMENSION_BASE_ChangeTextAngleDegrees(self, aDegrees)
16723 r"""ChangeKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)"""
16724 return _pcbnew.PCB_DIMENSION_BASE_ChangeKeepTextAligned(self, aKeepAligned)
16727 r"""SetTextPositionMode(PCB_DIMENSION_BASE self, DIM_TEXT_POSITION aMode)"""
16728 return _pcbnew.PCB_DIMENSION_BASE_SetTextPositionMode(self, aMode)
16731 r"""GetTextPositionMode(PCB_DIMENSION_BASE self) -> DIM_TEXT_POSITION"""
16732 return _pcbnew.PCB_DIMENSION_BASE_GetTextPositionMode(self)
16735 r"""GetArrowLength(PCB_DIMENSION_BASE self) -> int"""
16736 return _pcbnew.PCB_DIMENSION_BASE_GetArrowLength(self)
16739 r"""SetArrowLength(PCB_DIMENSION_BASE self, int aLength)"""
16740 return _pcbnew.PCB_DIMENSION_BASE_SetArrowLength(self, aLength)
16743 r"""SetExtensionOffset(PCB_DIMENSION_BASE self, int aOffset)"""
16744 return _pcbnew.PCB_DIMENSION_BASE_SetExtensionOffset(self, aOffset)
16747 r"""GetExtensionOffset(PCB_DIMENSION_BASE self) -> int"""
16748 return _pcbnew.PCB_DIMENSION_BASE_GetExtensionOffset(self)
16751 r"""GetLineThickness(PCB_DIMENSION_BASE self) -> int"""
16752 return _pcbnew.PCB_DIMENSION_BASE_GetLineThickness(self)
16755 r"""SetLineThickness(PCB_DIMENSION_BASE self, int aWidth)"""
16756 return _pcbnew.PCB_DIMENSION_BASE_SetLineThickness(self, aWidth)
16759 r"""GetShapes(PCB_DIMENSION_BASE self) -> VECTOR_SHAPEPTR"""
16760 return _pcbnew.PCB_DIMENSION_BASE_GetShapes(self)
16764 HitTest(PCB_DIMENSION_BASE self, VECTOR2I aPosition, int aAccuracy) -> bool
16765 HitTest(PCB_DIMENSION_BASE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16767 return _pcbnew.PCB_DIMENSION_BASE_HitTest(self, *args)
16770 r"""GetEffectiveShape(PCB_DIMENSION_BASE self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16771 return _pcbnew.PCB_DIMENSION_BASE_GetEffectiveShape(self, *args)
16774 r"""TransformShapeToPolygon(PCB_DIMENSION_BASE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
16775 return _pcbnew.PCB_DIMENSION_BASE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
16779 __eq__(PCB_DIMENSION_BASE self, PCB_DIMENSION_BASE aOther) -> bool
16780 __eq__(PCB_DIMENSION_BASE self, BOARD_ITEM aBoardItem) -> bool
16782 return _pcbnew.PCB_DIMENSION_BASE___eq__(self, *args)
16783 __swig_destroy__ = _pcbnew.delete_PCB_DIMENSION_BASE
16786_pcbnew.PCB_DIMENSION_BASE_swigregister(PCB_DIMENSION_BASE)
16788 r"""Proxy of C++ PCB_DIM_ALIGNED class."""
16790 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16791 __repr__ = _swig_repr
16794 r"""__init__(PCB_DIM_ALIGNED self, BOARD_ITEM aParent, KICAD_T aType=PCB_DIM_ALIGNED_T) -> PCB_DIM_ALIGNED"""
16795 _pcbnew.PCB_DIM_ALIGNED_swiginit(self, _pcbnew.new_PCB_DIM_ALIGNED(aParent, aType))
16796 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ALIGNED
16799 r"""Serialize(PCB_DIM_ALIGNED self, google::protobuf::Any & aContainer)"""
16800 return _pcbnew.PCB_DIM_ALIGNED_Serialize(self, aContainer)
16803 r"""Deserialize(PCB_DIM_ALIGNED self, google::protobuf::Any const & aContainer) -> bool"""
16804 return _pcbnew.PCB_DIM_ALIGNED_Deserialize(self, aContainer)
16808 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16809 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
16812 r"""GetCrossbarStart(PCB_DIM_ALIGNED self) -> VECTOR2I"""
16813 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarStart(self)
16816 r"""GetCrossbarEnd(PCB_DIM_ALIGNED self) -> VECTOR2I"""
16817 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarEnd(self)
16820 r"""SetHeight(PCB_DIM_ALIGNED self, int aHeight)"""
16821 return _pcbnew.PCB_DIM_ALIGNED_SetHeight(self, aHeight)
16824 r"""GetHeight(PCB_DIM_ALIGNED self) -> int"""
16825 return _pcbnew.PCB_DIM_ALIGNED_GetHeight(self)
16828 r"""ChangeHeight(PCB_DIM_ALIGNED self, int aHeight)"""
16829 return _pcbnew.PCB_DIM_ALIGNED_ChangeHeight(self, aHeight)
16832 r"""UpdateHeight(PCB_DIM_ALIGNED self, VECTOR2I aCrossbarStart, VECTOR2I aCrossbarEnd)"""
16833 return _pcbnew.PCB_DIM_ALIGNED_UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
16836 r"""SetExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
16837 return _pcbnew.PCB_DIM_ALIGNED_SetExtensionHeight(self, aHeight)
16840 r"""GetExtensionHeight(PCB_DIM_ALIGNED self) -> int"""
16841 return _pcbnew.PCB_DIM_ALIGNED_GetExtensionHeight(self)
16844 r"""ChangeExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
16845 return _pcbnew.PCB_DIM_ALIGNED_ChangeExtensionHeight(self, aHeight)
16848 r"""GetAngle(PCB_DIM_ALIGNED self) -> double"""
16849 return _pcbnew.PCB_DIM_ALIGNED_GetAngle(self)
16852_pcbnew.PCB_DIM_ALIGNED_swigregister(PCB_DIM_ALIGNED)
16854 r"""Proxy of C++ PCB_DIM_ORTHOGONAL class."""
16856 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16857 __repr__ = _swig_repr
16858 DIR_HORIZONTAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_HORIZONTAL
16860 DIR_VERTICAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_VERTICAL
16864 r"""__init__(PCB_DIM_ORTHOGONAL self, BOARD_ITEM aParent) -> PCB_DIM_ORTHOGONAL"""
16865 _pcbnew.PCB_DIM_ORTHOGONAL_swiginit(self, _pcbnew.new_PCB_DIM_ORTHOGONAL(aParent))
16866 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ORTHOGONAL
16869 r"""Serialize(PCB_DIM_ORTHOGONAL self, google::protobuf::Any & aContainer)"""
16870 return _pcbnew.PCB_DIM_ORTHOGONAL_Serialize(self, aContainer)
16873 r"""Deserialize(PCB_DIM_ORTHOGONAL self, google::protobuf::Any const & aContainer) -> bool"""
16874 return _pcbnew.PCB_DIM_ORTHOGONAL_Deserialize(self, aContainer)
16878 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16879 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
16882 r"""SetOrientation(PCB_DIM_ORTHOGONAL self, PCB_DIM_ORTHOGONAL::DIR aOrientation)"""
16883 return _pcbnew.PCB_DIM_ORTHOGONAL_SetOrientation(self, aOrientation)
16886 r"""GetOrientation(PCB_DIM_ORTHOGONAL self) -> PCB_DIM_ORTHOGONAL::DIR"""
16887 return _pcbnew.PCB_DIM_ORTHOGONAL_GetOrientation(self)
16890_pcbnew.PCB_DIM_ORTHOGONAL_swigregister(PCB_DIM_ORTHOGONAL)
16892 r"""Proxy of C++ PCB_DIM_RADIAL class."""
16894 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16895 __repr__ = _swig_repr
16898 r"""__init__(PCB_DIM_RADIAL self, BOARD_ITEM aParent) -> PCB_DIM_RADIAL"""
16899 _pcbnew.PCB_DIM_RADIAL_swiginit(self, _pcbnew.new_PCB_DIM_RADIAL(aParent))
16902 r"""Serialize(PCB_DIM_RADIAL self, google::protobuf::Any & aContainer)"""
16903 return _pcbnew.PCB_DIM_RADIAL_Serialize(self, aContainer)
16906 r"""Deserialize(PCB_DIM_RADIAL self, google::protobuf::Any const & aContainer) -> bool"""
16907 return _pcbnew.PCB_DIM_RADIAL_Deserialize(self, aContainer)
16911 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16912 return _pcbnew.PCB_DIM_RADIAL_ClassOf(aItem)
16915 r"""SetLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
16916 return _pcbnew.PCB_DIM_RADIAL_SetLeaderLength(self, aLength)
16919 r"""GetLeaderLength(PCB_DIM_RADIAL self) -> int"""
16920 return _pcbnew.PCB_DIM_RADIAL_GetLeaderLength(self)
16923 r"""ChangeLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
16924 return _pcbnew.PCB_DIM_RADIAL_ChangeLeaderLength(self, aLength)
16927 r"""GetKnee(PCB_DIM_RADIAL self) -> VECTOR2I"""
16928 return _pcbnew.PCB_DIM_RADIAL_GetKnee(self)
16929 __swig_destroy__ = _pcbnew.delete_PCB_DIM_RADIAL
16932_pcbnew.PCB_DIM_RADIAL_swigregister(PCB_DIM_RADIAL)
16934 r"""Proxy of C++ PCB_DIM_LEADER class."""
16936 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16937 __repr__ = _swig_repr
16940 r"""__init__(PCB_DIM_LEADER self, BOARD_ITEM aParent) -> PCB_DIM_LEADER"""
16941 _pcbnew.PCB_DIM_LEADER_swiginit(self, _pcbnew.new_PCB_DIM_LEADER(aParent))
16944 r"""Serialize(PCB_DIM_LEADER self, google::protobuf::Any & aContainer)"""
16945 return _pcbnew.PCB_DIM_LEADER_Serialize(self, aContainer)
16948 r"""Deserialize(PCB_DIM_LEADER self, google::protobuf::Any const & aContainer) -> bool"""
16949 return _pcbnew.PCB_DIM_LEADER_Deserialize(self, aContainer)
16953 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16954 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
16957 r"""SetTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
16958 return _pcbnew.PCB_DIM_LEADER_SetTextBorder(self, aBorder)
16961 r"""GetTextBorder(PCB_DIM_LEADER self) -> DIM_TEXT_BORDER"""
16962 return _pcbnew.PCB_DIM_LEADER_GetTextBorder(self)
16965 r"""ChangeTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
16966 return _pcbnew.PCB_DIM_LEADER_ChangeTextBorder(self, aBorder)
16967 __swig_destroy__ = _pcbnew.delete_PCB_DIM_LEADER
16970_pcbnew.PCB_DIM_LEADER_swigregister(PCB_DIM_LEADER)
16972 r"""Proxy of C++ PCB_DIM_CENTER class."""
16974 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16975 __repr__ = _swig_repr
16978 r"""__init__(PCB_DIM_CENTER self, BOARD_ITEM aParent) -> PCB_DIM_CENTER"""
16979 _pcbnew.PCB_DIM_CENTER_swiginit(self, _pcbnew.new_PCB_DIM_CENTER(aParent))
16982 r"""Serialize(PCB_DIM_CENTER self, google::protobuf::Any & aContainer)"""
16983 return _pcbnew.PCB_DIM_CENTER_Serialize(self, aContainer)
16986 r"""Deserialize(PCB_DIM_CENTER self, google::protobuf::Any const & aContainer) -> bool"""
16987 return _pcbnew.PCB_DIM_CENTER_Deserialize(self, aContainer)
16991 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16992 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
16993 __swig_destroy__ = _pcbnew.delete_PCB_DIM_CENTER
16996_pcbnew.PCB_DIM_CENTER_swigregister(PCB_DIM_CENTER)
16997MARKER_SHAPE_POINT_COUNT = _pcbnew.MARKER_SHAPE_POINT_COUNT
17000 r"""Proxy of C++ PCB_MARKER class."""
17002 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17003 __repr__ = _swig_repr
17006 r"""__init__(PCB_MARKER self, std::shared_ptr< RC_ITEM > aItem, VECTOR2I aPos, int aLayer=F_Cu) -> PCB_MARKER"""
17007 _pcbnew.PCB_MARKER_swiginit(self, _pcbnew.new_PCB_MARKER(aItem, aPos, aLayer))
17008 __swig_destroy__ = _pcbnew.delete_PCB_MARKER
17012 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17013 return _pcbnew.PCB_MARKER_ClassOf(aItem)
17016 r"""SerializeToString(PCB_MARKER self) -> wxString"""
17017 return _pcbnew.PCB_MARKER_SerializeToString(self)
17021 r"""DeserializeFromString(wxString data) -> PCB_MARKER"""
17022 return _pcbnew.PCB_MARKER_DeserializeFromString(data)
17026 HitTest(PCB_MARKER self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17027 HitTest(PCB_MARKER self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17029 return _pcbnew.PCB_MARKER_HitTest(self, *args)
17032 r"""GetColorLayer(PCB_MARKER self) -> GAL_LAYER_ID"""
17033 return _pcbnew.PCB_MARKER_GetColorLayer(self)
17036 r"""GetEffectiveShape(PCB_MARKER self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17037 return _pcbnew.PCB_MARKER_GetEffectiveShape(self, *args)
17040 r"""SetZoom(PCB_MARKER self, double aZoomFactor)"""
17041 return _pcbnew.PCB_MARKER_SetZoom(self, aZoomFactor)
17044 r"""GetShapes1(PCB_MARKER self) -> std::vector< PCB_SHAPE,std::allocator< PCB_SHAPE > >"""
17045 return _pcbnew.PCB_MARKER_GetShapes1(self)
17048 r"""GetShapes2(PCB_MARKER self) -> std::vector< PCB_SHAPE,std::allocator< PCB_SHAPE > >"""
17049 return _pcbnew.PCB_MARKER_GetShapes2(self)
17052 r"""SetShapes1(PCB_MARKER self, std::vector< PCB_SHAPE,std::allocator< PCB_SHAPE > > const & aShapes)"""
17053 return _pcbnew.PCB_MARKER_SetShapes1(self, aShapes)
17056 r"""SetShapes2(PCB_MARKER self, std::vector< PCB_SHAPE,std::allocator< PCB_SHAPE > > const & aShapes)"""
17057 return _pcbnew.PCB_MARKER_SetShapes2(self, aShapes)
17060_pcbnew.PCB_MARKER_swigregister(PCB_MARKER)
17062 r"""Proxy of C++ PCB_TARGET class."""
17064 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17065 __repr__ = _swig_repr
17069 __init__(PCB_TARGET self, BOARD_ITEM aParent) -> PCB_TARGET
17070 __init__(PCB_TARGET self, BOARD_ITEM aParent, int aShape, PCB_LAYER_ID aLayer, VECTOR2I aPos, int aSize, int aWidth) -> PCB_TARGET
17072 _pcbnew.PCB_TARGET_swiginit(self, _pcbnew.new_PCB_TARGET(*args))
17073 __swig_destroy__ = _pcbnew.delete_PCB_TARGET
17077 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17078 return _pcbnew.PCB_TARGET_ClassOf(aItem)
17081 r"""SetShape(PCB_TARGET self, int aShape)"""
17082 return _pcbnew.PCB_TARGET_SetShape(self, aShape)
17085 r"""GetShape(PCB_TARGET self) -> int"""
17086 return _pcbnew.PCB_TARGET_GetShape(self)
17089 r"""SetSize(PCB_TARGET self, int aSize)"""
17090 return _pcbnew.PCB_TARGET_SetSize(self, aSize)
17093 r"""GetSize(PCB_TARGET self) -> int"""
17094 return _pcbnew.PCB_TARGET_GetSize(self)
17097 r"""SetWidth(PCB_TARGET self, int aWidth)"""
17098 return _pcbnew.PCB_TARGET_SetWidth(self, aWidth)
17101 r"""GetWidth(PCB_TARGET self) -> int"""
17102 return _pcbnew.PCB_TARGET_GetWidth(self)
17106 HitTest(PCB_TARGET self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17107 HitTest(PCB_TARGET self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17109 return _pcbnew.PCB_TARGET_HitTest(self, *args)
17112 r"""GetEffectiveShape(PCB_TARGET self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17113 return _pcbnew.PCB_TARGET_GetEffectiveShape(self, *args)
17116 r"""TransformShapeToPolygon(PCB_TARGET self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
17117 return _pcbnew.PCB_TARGET_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
17121 __eq__(PCB_TARGET self, PCB_TARGET aOther) -> bool
17122 __eq__(PCB_TARGET self, BOARD_ITEM aBoardItem) -> bool
17124 return _pcbnew.PCB_TARGET___eq__(self, *args)
17127_pcbnew.PCB_TARGET_swigregister(PCB_TARGET)
17129 r"""Proxy of C++ PCB_TABLE class."""
17131 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17132 __repr__ = _swig_repr
17136 __init__(PCB_TABLE self, BOARD_ITEM aParent, int aLineWidth) -> PCB_TABLE
17137 __init__(PCB_TABLE self, PCB_TABLE aTable) -> PCB_TABLE
17139 _pcbnew.PCB_TABLE_swiginit(self, _pcbnew.new_PCB_TABLE(*args))
17140 __swig_destroy__ = _pcbnew.delete_PCB_TABLE
17144 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17145 return _pcbnew.PCB_TABLE_ClassOf(aItem)
17148 r"""SetStrokeExternal(PCB_TABLE self, bool aDoStroke)"""
17149 return _pcbnew.PCB_TABLE_SetStrokeExternal(self, aDoStroke)
17152 r"""StrokeExternal(PCB_TABLE self) -> bool"""
17153 return _pcbnew.PCB_TABLE_StrokeExternal(self)
17156 r"""SetStrokeHeader(PCB_TABLE self, bool aDoStroke)"""
17157 return _pcbnew.PCB_TABLE_SetStrokeHeader(self, aDoStroke)
17160 r"""StrokeHeader(PCB_TABLE self) -> bool"""
17161 return _pcbnew.PCB_TABLE_StrokeHeader(self)
17164 r"""SetBorderStroke(PCB_TABLE self, STROKE_PARAMS const & aParams)"""
17165 return _pcbnew.PCB_TABLE_SetBorderStroke(self, aParams)
17168 r"""GetBorderStroke(PCB_TABLE self) -> STROKE_PARAMS const &"""
17169 return _pcbnew.PCB_TABLE_GetBorderStroke(self)
17172 r"""SetBorderWidth(PCB_TABLE self, int aWidth)"""
17173 return _pcbnew.PCB_TABLE_SetBorderWidth(self, aWidth)
17176 r"""GetBorderWidth(PCB_TABLE self) -> int"""
17177 return _pcbnew.PCB_TABLE_GetBorderWidth(self)
17180 r"""SetBorderStyle(PCB_TABLE self, LINE_STYLE const aStyle)"""
17181 return _pcbnew.PCB_TABLE_SetBorderStyle(self, aStyle)
17184 r"""GetBorderStyle(PCB_TABLE self) -> LINE_STYLE"""
17185 return _pcbnew.PCB_TABLE_GetBorderStyle(self)
17188 r"""SetBorderColor(PCB_TABLE self, COLOR4D aColor)"""
17189 return _pcbnew.PCB_TABLE_SetBorderColor(self, aColor)
17192 r"""GetBorderColor(PCB_TABLE self) -> COLOR4D"""
17193 return _pcbnew.PCB_TABLE_GetBorderColor(self)
17196 r"""SetSeparatorsStroke(PCB_TABLE self, STROKE_PARAMS const & aParams)"""
17197 return _pcbnew.PCB_TABLE_SetSeparatorsStroke(self, aParams)
17200 r"""GetSeparatorsStroke(PCB_TABLE self) -> STROKE_PARAMS const &"""
17201 return _pcbnew.PCB_TABLE_GetSeparatorsStroke(self)
17204 r"""SetSeparatorsWidth(PCB_TABLE self, int aWidth)"""
17205 return _pcbnew.PCB_TABLE_SetSeparatorsWidth(self, aWidth)
17208 r"""GetSeparatorsWidth(PCB_TABLE self) -> int"""
17209 return _pcbnew.PCB_TABLE_GetSeparatorsWidth(self)
17212 r"""SetSeparatorsStyle(PCB_TABLE self, LINE_STYLE const aStyle)"""
17213 return _pcbnew.PCB_TABLE_SetSeparatorsStyle(self, aStyle)
17216 r"""GetSeparatorsStyle(PCB_TABLE self) -> LINE_STYLE"""
17217 return _pcbnew.PCB_TABLE_GetSeparatorsStyle(self)
17220 r"""SetSeparatorsColor(PCB_TABLE self, COLOR4D aColor)"""
17221 return _pcbnew.PCB_TABLE_SetSeparatorsColor(self, aColor)
17224 r"""GetSeparatorsColor(PCB_TABLE self) -> COLOR4D"""
17225 return _pcbnew.PCB_TABLE_GetSeparatorsColor(self)
17228 r"""SetStrokeColumns(PCB_TABLE self, bool aDoStroke)"""
17229 return _pcbnew.PCB_TABLE_SetStrokeColumns(self, aDoStroke)
17232 r"""StrokeColumns(PCB_TABLE self) -> bool"""
17233 return _pcbnew.PCB_TABLE_StrokeColumns(self)
17236 r"""SetStrokeRows(PCB_TABLE self, bool aDoStroke)"""
17237 return _pcbnew.PCB_TABLE_SetStrokeRows(self, aDoStroke)
17240 r"""StrokeRows(PCB_TABLE self) -> bool"""
17241 return _pcbnew.PCB_TABLE_StrokeRows(self)
17244 r"""GetEnd(PCB_TABLE self) -> VECTOR2I"""
17245 return _pcbnew.PCB_TABLE_GetEnd(self)
17248 r"""SetPositionX(PCB_TABLE self, int x)"""
17249 return _pcbnew.PCB_TABLE_SetPositionX(self, x)
17252 r"""SetPositionY(PCB_TABLE self, int y)"""
17253 return _pcbnew.PCB_TABLE_SetPositionY(self, y)
17256 r"""GetPositionX(PCB_TABLE self) -> int"""
17257 return _pcbnew.PCB_TABLE_GetPositionX(self)
17260 r"""GetPositionY(PCB_TABLE self) -> int"""
17261 return _pcbnew.PCB_TABLE_GetPositionY(self)
17264 r"""SetColCount(PCB_TABLE self, int aCount)"""
17265 return _pcbnew.PCB_TABLE_SetColCount(self, aCount)
17268 r"""GetColCount(PCB_TABLE self) -> int"""
17269 return _pcbnew.PCB_TABLE_GetColCount(self)
17272 r"""GetRowCount(PCB_TABLE self) -> int"""
17273 return _pcbnew.PCB_TABLE_GetRowCount(self)
17276 r"""SetColWidth(PCB_TABLE self, int aCol, int aWidth)"""
17277 return _pcbnew.PCB_TABLE_SetColWidth(self, aCol, aWidth)
17280 r"""GetColWidth(PCB_TABLE self, int aCol) -> int"""
17281 return _pcbnew.PCB_TABLE_GetColWidth(self, aCol)
17284 r"""SetRowHeight(PCB_TABLE self, int aRow, int aHeight)"""
17285 return _pcbnew.PCB_TABLE_SetRowHeight(self, aRow, aHeight)
17288 r"""GetRowHeight(PCB_TABLE self, int aRow) -> int"""
17289 return _pcbnew.PCB_TABLE_GetRowHeight(self, aRow)
17292 r"""GetCell(PCB_TABLE self, int aRow, int aCol) -> PCB_TABLECELL *"""
17293 return _pcbnew.PCB_TABLE_GetCell(self, aRow, aCol)
17296 r"""GetCells(PCB_TABLE self) -> std::vector< PCB_TABLECELL *,std::allocator< PCB_TABLECELL * > >"""
17297 return _pcbnew.PCB_TABLE_GetCells(self)
17300 r"""AddCell(PCB_TABLE self, PCB_TABLECELL * aCell)"""
17301 return _pcbnew.PCB_TABLE_AddCell(self, aCell)
17304 r"""InsertCell(PCB_TABLE self, int aIdx, PCB_TABLECELL * aCell)"""
17305 return _pcbnew.PCB_TABLE_InsertCell(self, aIdx, aCell)
17308 r"""ClearCells(PCB_TABLE self)"""
17309 return _pcbnew.PCB_TABLE_ClearCells(self)
17312 r"""DeleteMarkedCells(PCB_TABLE self)"""
17313 return _pcbnew.PCB_TABLE_DeleteMarkedCells(self)
17316 r"""AddNative(PCB_TABLE self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
17317 return _pcbnew.PCB_TABLE_AddNative(self, *args)
17320 r"""RemoveNative(PCB_TABLE self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
17321 return _pcbnew.PCB_TABLE_RemoveNative(self, *args)
17324 r"""GetEffectiveShape(PCB_TABLE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17325 return _pcbnew.PCB_TABLE_GetEffectiveShape(self, *args)
17328 r"""TransformShapeToPolygon(PCB_TABLE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
17329 return _pcbnew.PCB_TABLE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
17333 HitTest(PCB_TABLE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17334 HitTest(PCB_TABLE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17336 return _pcbnew.PCB_TABLE_HitTest(self, *args)
17340 __eq__(PCB_TABLE self, PCB_TABLE aOther) -> bool
17341 __eq__(PCB_TABLE self, BOARD_ITEM aBoardItem) -> bool
17343 return _pcbnew.PCB_TABLE___eq__(self, *args)
17347 r"""Compare(PCB_TABLE aTable, PCB_TABLE aOther) -> int"""
17348 return _pcbnew.PCB_TABLE_Compare(aTable, aOther)
17351_pcbnew.PCB_TABLE_swigregister(PCB_TABLE)
17353 r"""Proxy of C++ std::vector< PAD * > class."""
17355 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17356 __repr__ = _swig_repr
17359 r"""iterator(PADS_VEC self) -> SwigPyIterator"""
17360 return _pcbnew.PADS_VEC_iterator(self)
17365 r"""__nonzero__(PADS_VEC self) -> bool"""
17366 return _pcbnew.PADS_VEC___nonzero__(self)
17369 r"""__bool__(PADS_VEC self) -> bool"""
17370 return _pcbnew.PADS_VEC___bool__(self)
17373 r"""__len__(PADS_VEC self) -> std::vector< PAD * >::size_type"""
17374 return _pcbnew.PADS_VEC___len__(self)
17377 r"""__getslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j) -> PADS_VEC"""
17378 return _pcbnew.PADS_VEC___getslice__(self, i, j)
17382 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)
17383 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j, PADS_VEC v)
17385 return _pcbnew.PADS_VEC___setslice__(self, *args)
17388 r"""__delslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)"""
17389 return _pcbnew.PADS_VEC___delslice__(self, i, j)
17393 __delitem__(PADS_VEC self, std::vector< PAD * >::difference_type i)
17394 __delitem__(PADS_VEC self, SWIGPY_SLICEOBJECT * slice)
17396 return _pcbnew.PADS_VEC___delitem__(self, *args)
17400 __getitem__(PADS_VEC self, SWIGPY_SLICEOBJECT * slice) -> PADS_VEC
17401 __getitem__(PADS_VEC self, std::vector< PAD * >::difference_type i) -> PAD
17403 return _pcbnew.PADS_VEC___getitem__(self, *args)
17407 __setitem__(PADS_VEC self, SWIGPY_SLICEOBJECT * slice, PADS_VEC v)
17408 __setitem__(PADS_VEC self, SWIGPY_SLICEOBJECT * slice)
17409 __setitem__(PADS_VEC self, std::vector< PAD * >::difference_type i, PAD x)
17411 return _pcbnew.PADS_VEC___setitem__(self, *args)
17414 r"""pop(PADS_VEC self) -> PAD"""
17415 return _pcbnew.PADS_VEC_pop(self)
17418 r"""append(PADS_VEC self, PAD x)"""
17419 return _pcbnew.PADS_VEC_append(self, x)
17422 r"""empty(PADS_VEC self) -> bool"""
17423 return _pcbnew.PADS_VEC_empty(self)
17426 r"""size(PADS_VEC self) -> std::vector< PAD * >::size_type"""
17427 return _pcbnew.PADS_VEC_size(self)
17430 r"""swap(PADS_VEC self, PADS_VEC v)"""
17431 return _pcbnew.PADS_VEC_swap(self, v)
17434 r"""begin(PADS_VEC self) -> std::vector< PAD * >::iterator"""
17435 return _pcbnew.PADS_VEC_begin(self)
17438 r"""end(PADS_VEC self) -> std::vector< PAD * >::iterator"""
17439 return _pcbnew.PADS_VEC_end(self)
17442 r"""rbegin(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
17443 return _pcbnew.PADS_VEC_rbegin(self)
17446 r"""rend(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
17447 return _pcbnew.PADS_VEC_rend(self)
17450 r"""clear(PADS_VEC self)"""
17451 return _pcbnew.PADS_VEC_clear(self)
17454 r"""get_allocator(PADS_VEC self) -> std::vector< PAD * >::allocator_type"""
17455 return _pcbnew.PADS_VEC_get_allocator(self)
17458 r"""pop_back(PADS_VEC self)"""
17459 return _pcbnew.PADS_VEC_pop_back(self)
17463 erase(PADS_VEC self, std::vector< PAD * >::iterator pos) -> std::vector< PAD * >::iterator
17464 erase(PADS_VEC self, std::vector< PAD * >::iterator first, std::vector< PAD * >::iterator last) -> std::vector< PAD * >::iterator
17466 return _pcbnew.PADS_VEC_erase(self, *args)
17470 __init__(PADS_VEC self) -> PADS_VEC
17471 __init__(PADS_VEC self, PADS_VEC other) -> PADS_VEC
17472 __init__(PADS_VEC self, std::vector< PAD * >::size_type size) -> PADS_VEC
17473 __init__(PADS_VEC self, std::vector< PAD * >::size_type size, PAD value) -> PADS_VEC
17475 _pcbnew.PADS_VEC_swiginit(self, _pcbnew.new_PADS_VEC(*args))
17478 r"""push_back(PADS_VEC self, PAD x)"""
17479 return _pcbnew.PADS_VEC_push_back(self, x)
17482 r"""front(PADS_VEC self) -> PAD"""
17483 return _pcbnew.PADS_VEC_front(self)
17486 r"""back(PADS_VEC self) -> PAD"""
17487 return _pcbnew.PADS_VEC_back(self)
17490 r"""assign(PADS_VEC self, std::vector< PAD * >::size_type n, PAD x)"""
17491 return _pcbnew.PADS_VEC_assign(self, n, x)
17495 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size)
17496 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size, PAD x)
17498 return _pcbnew.PADS_VEC_resize(self, *args)
17502 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, PAD x) -> std::vector< PAD * >::iterator
17503 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, std::vector< PAD * >::size_type n, PAD x)
17505 return _pcbnew.PADS_VEC_insert(self, *args)
17508 r"""reserve(PADS_VEC self, std::vector< PAD * >::size_type n)"""
17509 return _pcbnew.PADS_VEC_reserve(self, n)
17512 r"""capacity(PADS_VEC self) -> std::vector< PAD * >::size_type"""
17513 return _pcbnew.PADS_VEC_capacity(self)
17514 __swig_destroy__ = _pcbnew.delete_PADS_VEC
17517_pcbnew.PADS_VEC_swigregister(PADS_VEC)
17519 r"""Proxy of C++ std::vector< PCB_TRACK * > class."""
17521 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17522 __repr__ = _swig_repr
17525 r"""iterator(TRACKS_VEC self) -> SwigPyIterator"""
17526 return _pcbnew.TRACKS_VEC_iterator(self)
17531 r"""__nonzero__(TRACKS_VEC self) -> bool"""
17532 return _pcbnew.TRACKS_VEC___nonzero__(self)
17535 r"""__bool__(TRACKS_VEC self) -> bool"""
17536 return _pcbnew.TRACKS_VEC___bool__(self)
17539 r"""__len__(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
17540 return _pcbnew.TRACKS_VEC___len__(self)
17543 r"""__getslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j) -> TRACKS_VEC"""
17544 return _pcbnew.TRACKS_VEC___getslice__(self, i, j)
17548 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)
17549 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j, TRACKS_VEC v)
17551 return _pcbnew.TRACKS_VEC___setslice__(self, *args)
17554 r"""__delslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)"""
17555 return _pcbnew.TRACKS_VEC___delslice__(self, i, j)
17559 __delitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i)
17560 __delitem__(TRACKS_VEC self, SWIGPY_SLICEOBJECT * slice)
17562 return _pcbnew.TRACKS_VEC___delitem__(self, *args)
17566 __getitem__(TRACKS_VEC self, SWIGPY_SLICEOBJECT * slice) -> TRACKS_VEC
17567 __getitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i) -> PCB_TRACK
17569 return _pcbnew.TRACKS_VEC___getitem__(self, *args)
17573 __setitem__(TRACKS_VEC self, SWIGPY_SLICEOBJECT * slice, TRACKS_VEC v)
17574 __setitem__(TRACKS_VEC self, SWIGPY_SLICEOBJECT * slice)
17575 __setitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, PCB_TRACK x)
17577 return _pcbnew.TRACKS_VEC___setitem__(self, *args)
17580 r"""pop(TRACKS_VEC self) -> PCB_TRACK"""
17581 return _pcbnew.TRACKS_VEC_pop(self)
17584 r"""append(TRACKS_VEC self, PCB_TRACK x)"""
17585 return _pcbnew.TRACKS_VEC_append(self, x)
17588 r"""empty(TRACKS_VEC self) -> bool"""
17589 return _pcbnew.TRACKS_VEC_empty(self)
17592 r"""size(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
17593 return _pcbnew.TRACKS_VEC_size(self)
17596 r"""swap(TRACKS_VEC self, TRACKS_VEC v)"""
17597 return _pcbnew.TRACKS_VEC_swap(self, v)
17600 r"""begin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
17601 return _pcbnew.TRACKS_VEC_begin(self)
17604 r"""end(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
17605 return _pcbnew.TRACKS_VEC_end(self)
17608 r"""rbegin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
17609 return _pcbnew.TRACKS_VEC_rbegin(self)
17612 r"""rend(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
17613 return _pcbnew.TRACKS_VEC_rend(self)
17616 r"""clear(TRACKS_VEC self)"""
17617 return _pcbnew.TRACKS_VEC_clear(self)
17620 r"""get_allocator(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::allocator_type"""
17621 return _pcbnew.TRACKS_VEC_get_allocator(self)
17624 r"""pop_back(TRACKS_VEC self)"""
17625 return _pcbnew.TRACKS_VEC_pop_back(self)
17629 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos) -> std::vector< PCB_TRACK * >::iterator
17630 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator first, std::vector< PCB_TRACK * >::iterator last) -> std::vector< PCB_TRACK * >::iterator
17632 return _pcbnew.TRACKS_VEC_erase(self, *args)
17636 __init__(TRACKS_VEC self) -> TRACKS_VEC
17637 __init__(TRACKS_VEC self, TRACKS_VEC other) -> TRACKS_VEC
17638 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size) -> TRACKS_VEC
17639 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS_VEC
17641 _pcbnew.TRACKS_VEC_swiginit(self, _pcbnew.new_TRACKS_VEC(*args))
17644 r"""push_back(TRACKS_VEC self, PCB_TRACK x)"""
17645 return _pcbnew.TRACKS_VEC_push_back(self, x)
17648 r"""front(TRACKS_VEC self) -> PCB_TRACK"""
17649 return _pcbnew.TRACKS_VEC_front(self)
17652 r"""back(TRACKS_VEC self) -> PCB_TRACK"""
17653 return _pcbnew.TRACKS_VEC_back(self)
17656 r"""assign(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
17657 return _pcbnew.TRACKS_VEC_assign(self, n, x)
17661 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size)
17662 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
17664 return _pcbnew.TRACKS_VEC_resize(self, *args)
17668 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::vector< PCB_TRACK * >::iterator
17669 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)
17671 return _pcbnew.TRACKS_VEC_insert(self, *args)
17674 r"""reserve(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n)"""
17675 return _pcbnew.TRACKS_VEC_reserve(self, n)
17678 r"""capacity(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
17679 return _pcbnew.TRACKS_VEC_capacity(self)
17680 __swig_destroy__ = _pcbnew.delete_TRACKS_VEC
17683_pcbnew.TRACKS_VEC_swigregister(TRACKS_VEC)
17685 r"""Proxy of C++ NETINFO_ITEM class."""
17687 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17688 __repr__ = _swig_repr
17691 r"""__init__(NETINFO_ITEM self, BOARD aParent, wxString aNetName=wxEmptyString, int aNetCode=-1) -> NETINFO_ITEM"""
17692 _pcbnew.NETINFO_ITEM_swiginit(self, _pcbnew.new_NETINFO_ITEM(*args))
17693 __swig_destroy__ = _pcbnew.delete_NETINFO_ITEM
17697 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17698 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
17701 r"""SetNetClass(NETINFO_ITEM self, std::shared_ptr< NETCLASS > const & aNetClass)"""
17702 return _pcbnew.NETINFO_ITEM_SetNetClass(self, aNetClass)
17705 r"""GetNetClass(NETINFO_ITEM self) -> NETCLASS"""
17706 return _pcbnew.NETINFO_ITEM_GetNetClass(self)
17709 r"""GetNetClassSlow(NETINFO_ITEM self) -> std::shared_ptr< NETCLASS >"""
17710 return _pcbnew.NETINFO_ITEM_GetNetClassSlow(self)
17713 r"""GetNetCode(NETINFO_ITEM self) -> int"""
17714 return _pcbnew.NETINFO_ITEM_GetNetCode(self)
17717 r"""SetNetCode(NETINFO_ITEM self, int aNetCode)"""
17718 return _pcbnew.NETINFO_ITEM_SetNetCode(self, aNetCode)
17721 r"""GetNetname(NETINFO_ITEM self) -> wxString"""
17722 return _pcbnew.NETINFO_ITEM_GetNetname(self)
17725 r"""GetShortNetname(NETINFO_ITEM self) -> wxString"""
17726 return _pcbnew.NETINFO_ITEM_GetShortNetname(self)
17729 r"""GetDisplayNetname(NETINFO_ITEM self) -> wxString"""
17730 return _pcbnew.NETINFO_ITEM_GetDisplayNetname(self)
17733 r"""HasAutoGeneratedNetname(NETINFO_ITEM self) -> bool"""
17734 return _pcbnew.NETINFO_ITEM_HasAutoGeneratedNetname(self)
17737 r"""SetNetname(NETINFO_ITEM self, wxString aNewName)"""
17738 return _pcbnew.NETINFO_ITEM_SetNetname(self, aNewName)
17741 r"""IsCurrent(NETINFO_ITEM self) -> bool"""
17742 return _pcbnew.NETINFO_ITEM_IsCurrent(self)
17745 r"""SetIsCurrent(NETINFO_ITEM self, bool isCurrent)"""
17746 return _pcbnew.NETINFO_ITEM_SetIsCurrent(self, isCurrent)
17749 r"""Clear(NETINFO_ITEM self)"""
17750 return _pcbnew.NETINFO_ITEM_Clear(self)
17753 r"""SetParent(NETINFO_ITEM self, BOARD aParent)"""
17754 return _pcbnew.NETINFO_ITEM_SetParent(self, aParent)
17757 r"""GetParent(NETINFO_ITEM self) -> BOARD"""
17758 return _pcbnew.NETINFO_ITEM_GetParent(self)
17765_pcbnew.NETINFO_ITEM_swigregister(NETINFO_ITEM)
17767 r"""Proxy of C++ std::map< wxString,NETINFO_ITEM * > class."""
17769 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17770 __repr__ = _swig_repr
17773 r"""iterator(NETNAMES_MAP self) -> SwigPyIterator"""
17774 return _pcbnew.NETNAMES_MAP_iterator(self)
17779 r"""__nonzero__(NETNAMES_MAP self) -> bool"""
17780 return _pcbnew.NETNAMES_MAP___nonzero__(self)
17783 r"""__bool__(NETNAMES_MAP self) -> bool"""
17784 return _pcbnew.NETNAMES_MAP___bool__(self)
17787 r"""__len__(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
17788 return _pcbnew.NETNAMES_MAP___len__(self)
17799 r"""__getitem__(NETNAMES_MAP self, wxString key) -> NETINFO_ITEM"""
17800 return _pcbnew.NETNAMES_MAP___getitem__(self, key)
17803 r"""__delitem__(NETNAMES_MAP self, wxString key)"""
17804 return _pcbnew.NETNAMES_MAP___delitem__(self, key)
17807 r"""has_key(NETNAMES_MAP self, wxString key) -> bool"""
17808 return _pcbnew.NETNAMES_MAP_has_key(self, key)
17811 r"""keys(NETNAMES_MAP self) -> PyObject *"""
17812 return _pcbnew.NETNAMES_MAP_keys(self)
17815 r"""values(NETNAMES_MAP self) -> PyObject *"""
17816 return _pcbnew.NETNAMES_MAP_values(self)
17819 r"""items(NETNAMES_MAP self) -> PyObject *"""
17820 return _pcbnew.NETNAMES_MAP_items(self)
17823 r"""__contains__(NETNAMES_MAP self, wxString key) -> bool"""
17824 return _pcbnew.NETNAMES_MAP___contains__(self, key)
17827 r"""key_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
17828 return _pcbnew.NETNAMES_MAP_key_iterator(self)
17831 r"""value_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
17832 return _pcbnew.NETNAMES_MAP_value_iterator(self)
17837 __setitem__(NETNAMES_MAP self, wxString key, NETINFO_ITEM x)
17839 return _pcbnew.NETNAMES_MAP___setitem__(self, *args)
17842 r"""asdict(NETNAMES_MAP self) -> PyObject *"""
17843 return _pcbnew.NETNAMES_MAP_asdict(self)
17847 __init__(NETNAMES_MAP self, std::less< wxString > const & other) -> NETNAMES_MAP
17848 __init__(NETNAMES_MAP self) -> NETNAMES_MAP
17849 __init__(NETNAMES_MAP self, NETNAMES_MAP other) -> NETNAMES_MAP
17851 _pcbnew.NETNAMES_MAP_swiginit(self, _pcbnew.new_NETNAMES_MAP(*args))
17854 r"""empty(NETNAMES_MAP self) -> bool"""
17855 return _pcbnew.NETNAMES_MAP_empty(self)
17858 r"""size(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
17859 return _pcbnew.NETNAMES_MAP_size(self)
17862 r"""swap(NETNAMES_MAP self, NETNAMES_MAP v)"""
17863 return _pcbnew.NETNAMES_MAP_swap(self, v)
17866 r"""begin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
17867 return _pcbnew.NETNAMES_MAP_begin(self)
17870 r"""end(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
17871 return _pcbnew.NETNAMES_MAP_end(self)
17874 r"""rbegin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
17875 return _pcbnew.NETNAMES_MAP_rbegin(self)
17878 r"""rend(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
17879 return _pcbnew.NETNAMES_MAP_rend(self)
17882 r"""clear(NETNAMES_MAP self)"""
17883 return _pcbnew.NETNAMES_MAP_clear(self)
17886 r"""get_allocator(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::allocator_type"""
17887 return _pcbnew.NETNAMES_MAP_get_allocator(self)
17890 r"""count(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
17891 return _pcbnew.NETNAMES_MAP_count(self, x)
17895 erase(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type
17896 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator position)
17897 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator first, std::map< wxString,NETINFO_ITEM * >::iterator last)
17899 return _pcbnew.NETNAMES_MAP_erase(self, *args)
17902 r"""find(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
17903 return _pcbnew.NETNAMES_MAP_find(self, x)
17906 r"""lower_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
17907 return _pcbnew.NETNAMES_MAP_lower_bound(self, x)
17910 r"""upper_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
17911 return _pcbnew.NETNAMES_MAP_upper_bound(self, x)
17912 __swig_destroy__ = _pcbnew.delete_NETNAMES_MAP
17915_pcbnew.NETNAMES_MAP_swigregister(NETNAMES_MAP)
17917 r"""Proxy of C++ std::map< int,NETINFO_ITEM * > class."""
17919 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17920 __repr__ = _swig_repr
17923 r"""iterator(NETCODES_MAP self) -> SwigPyIterator"""
17924 return _pcbnew.NETCODES_MAP_iterator(self)
17929 r"""__nonzero__(NETCODES_MAP self) -> bool"""
17930 return _pcbnew.NETCODES_MAP___nonzero__(self)
17933 r"""__bool__(NETCODES_MAP self) -> bool"""
17934 return _pcbnew.NETCODES_MAP___bool__(self)
17937 r"""__len__(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
17938 return _pcbnew.NETCODES_MAP___len__(self)
17949 r"""__getitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> NETINFO_ITEM"""
17950 return _pcbnew.NETCODES_MAP___getitem__(self, key)
17953 r"""__delitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)"""
17954 return _pcbnew.NETCODES_MAP___delitem__(self, key)
17957 r"""has_key(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
17958 return _pcbnew.NETCODES_MAP_has_key(self, key)
17961 r"""keys(NETCODES_MAP self) -> PyObject *"""
17962 return _pcbnew.NETCODES_MAP_keys(self)
17965 r"""values(NETCODES_MAP self) -> PyObject *"""
17966 return _pcbnew.NETCODES_MAP_values(self)
17969 r"""items(NETCODES_MAP self) -> PyObject *"""
17970 return _pcbnew.NETCODES_MAP_items(self)
17973 r"""__contains__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
17974 return _pcbnew.NETCODES_MAP___contains__(self, key)
17977 r"""key_iterator(NETCODES_MAP self) -> SwigPyIterator"""
17978 return _pcbnew.NETCODES_MAP_key_iterator(self)
17981 r"""value_iterator(NETCODES_MAP self) -> SwigPyIterator"""
17982 return _pcbnew.NETCODES_MAP_value_iterator(self)
17986 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)
17987 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key, NETINFO_ITEM x)
17989 return _pcbnew.NETCODES_MAP___setitem__(self, *args)
17992 r"""asdict(NETCODES_MAP self) -> PyObject *"""
17993 return _pcbnew.NETCODES_MAP_asdict(self)
17997 __init__(NETCODES_MAP self, std::less< int > const & other) -> NETCODES_MAP
17998 __init__(NETCODES_MAP self) -> NETCODES_MAP
17999 __init__(NETCODES_MAP self, NETCODES_MAP other) -> NETCODES_MAP
18001 _pcbnew.NETCODES_MAP_swiginit(self, _pcbnew.new_NETCODES_MAP(*args))
18004 r"""empty(NETCODES_MAP self) -> bool"""
18005 return _pcbnew.NETCODES_MAP_empty(self)
18008 r"""size(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
18009 return _pcbnew.NETCODES_MAP_size(self)
18012 r"""swap(NETCODES_MAP self, NETCODES_MAP v)"""
18013 return _pcbnew.NETCODES_MAP_swap(self, v)
18016 r"""begin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
18017 return _pcbnew.NETCODES_MAP_begin(self)
18020 r"""end(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
18021 return _pcbnew.NETCODES_MAP_end(self)
18024 r"""rbegin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
18025 return _pcbnew.NETCODES_MAP_rbegin(self)
18028 r"""rend(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
18029 return _pcbnew.NETCODES_MAP_rend(self)
18032 r"""clear(NETCODES_MAP self)"""
18033 return _pcbnew.NETCODES_MAP_clear(self)
18036 r"""get_allocator(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::allocator_type"""
18037 return _pcbnew.NETCODES_MAP_get_allocator(self)
18040 r"""count(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type"""
18041 return _pcbnew.NETCODES_MAP_count(self, x)
18045 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type
18046 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator position)
18047 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator first, std::map< int,NETINFO_ITEM * >::iterator last)
18049 return _pcbnew.NETCODES_MAP_erase(self, *args)
18052 r"""find(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
18053 return _pcbnew.NETCODES_MAP_find(self, x)
18056 r"""lower_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
18057 return _pcbnew.NETCODES_MAP_lower_bound(self, x)
18060 r"""upper_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
18061 return _pcbnew.NETCODES_MAP_upper_bound(self, x)
18062 __swig_destroy__ = _pcbnew.delete_NETCODES_MAP
18065_pcbnew.NETCODES_MAP_swigregister(NETCODES_MAP)
18067 r"""Proxy of C++ NETINFO_LIST class."""
18069 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18070 __repr__ = _swig_repr
18073 r"""__init__(NETINFO_LIST self, BOARD aParent) -> NETINFO_LIST"""
18074 _pcbnew.NETINFO_LIST_swiginit(self, _pcbnew.new_NETINFO_LIST(aParent))
18075 __swig_destroy__ = _pcbnew.delete_NETINFO_LIST
18079 GetNetItem(NETINFO_LIST self, int aNetCode) -> NETINFO_ITEM
18080 GetNetItem(NETINFO_LIST self, wxString aNetName) -> NETINFO_ITEM
18082 return _pcbnew.NETINFO_LIST_GetNetItem(self, *args)
18085 r"""GetNetCount(NETINFO_LIST self) -> unsigned int"""
18086 return _pcbnew.NETINFO_LIST_GetNetCount(self)
18089 r"""NetsByName(NETINFO_LIST self) -> NETNAMES_MAP"""
18090 return _pcbnew.NETINFO_LIST_NetsByName(self)
18093 r"""NetsByNetcode(NETINFO_LIST self) -> NETCODES_MAP"""
18094 return _pcbnew.NETINFO_LIST_NetsByNetcode(self)
18097 r"""RebuildDisplayNetnames(NETINFO_LIST self)"""
18098 return _pcbnew.NETINFO_LIST_RebuildDisplayNetnames(self)
18102 r"""OrphanedItem() -> NETINFO_ITEM"""
18103 return _pcbnew.NETINFO_LIST_OrphanedItem()
18106 r"""GetParent(NETINFO_LIST self) -> BOARD"""
18107 return _pcbnew.NETINFO_LIST_GetParent(self)
18108 m_DisplayNetnamesDirty = property(_pcbnew.NETINFO_LIST_m_DisplayNetnamesDirty_get, _pcbnew.NETINFO_LIST_m_DisplayNetnamesDirty_set, doc=
r"""m_DisplayNetnamesDirty : bool""")
18111_pcbnew.NETINFO_LIST_swigregister(NETINFO_LIST)
18112NETINFO_LIST.UNCONNECTED = _pcbnew.cvar.NETINFO_LIST_UNCONNECTED
18113NETINFO_LIST.ORPHANED = _pcbnew.cvar.NETINFO_LIST_ORPHANED
18116 r"""Proxy of C++ std::set< wxString > class."""
18118 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18119 __repr__ = _swig_repr
18122 r"""iterator(STRINGSET self) -> SwigPyIterator"""
18123 return _pcbnew.STRINGSET_iterator(self)
18128 r"""__nonzero__(STRINGSET self) -> bool"""
18129 return _pcbnew.STRINGSET___nonzero__(self)
18132 r"""__bool__(STRINGSET self) -> bool"""
18133 return _pcbnew.STRINGSET___bool__(self)
18136 r"""__len__(STRINGSET self) -> std::set< wxString >::size_type"""
18137 return _pcbnew.STRINGSET___len__(self)
18140 r"""append(STRINGSET self, wxString x)"""
18141 return _pcbnew.STRINGSET_append(self, x)
18144 r"""__contains__(STRINGSET self, wxString x) -> bool"""
18145 return _pcbnew.STRINGSET___contains__(self, x)
18148 r"""__getitem__(STRINGSET self, std::set< wxString >::difference_type i) -> wxString"""
18149 return _pcbnew.STRINGSET___getitem__(self, i)
18152 r"""add(STRINGSET self, wxString x)"""
18153 return _pcbnew.STRINGSET_add(self, x)
18156 r"""discard(STRINGSET self, wxString x)"""
18157 return _pcbnew.STRINGSET_discard(self, x)
18161 __init__(STRINGSET self, std::less< wxString > const & other) -> STRINGSET
18162 __init__(STRINGSET self) -> STRINGSET
18163 __init__(STRINGSET self, STRINGSET other) -> STRINGSET
18165 _pcbnew.STRINGSET_swiginit(self, _pcbnew.new_STRINGSET(*args))
18168 r"""empty(STRINGSET self) -> bool"""
18169 return _pcbnew.STRINGSET_empty(self)
18172 r"""size(STRINGSET self) -> std::set< wxString >::size_type"""
18173 return _pcbnew.STRINGSET_size(self)
18176 r"""clear(STRINGSET self)"""
18177 return _pcbnew.STRINGSET_clear(self)
18180 r"""swap(STRINGSET self, STRINGSET v)"""
18181 return _pcbnew.STRINGSET_swap(self, v)
18184 r"""count(STRINGSET self, wxString x) -> std::set< wxString >::size_type"""
18185 return _pcbnew.STRINGSET_count(self, x)
18188 r"""begin(STRINGSET self) -> std::set< wxString >::iterator"""
18189 return _pcbnew.STRINGSET_begin(self)
18192 r"""end(STRINGSET self) -> std::set< wxString >::iterator"""
18193 return _pcbnew.STRINGSET_end(self)
18196 r"""rbegin(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
18197 return _pcbnew.STRINGSET_rbegin(self)
18200 r"""rend(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
18201 return _pcbnew.STRINGSET_rend(self)
18205 erase(STRINGSET self, wxString x) -> std::set< wxString >::size_type
18206 erase(STRINGSET self, std::set< wxString >::iterator pos)
18207 erase(STRINGSET self, std::set< wxString >::iterator first, std::set< wxString >::iterator last)
18209 return _pcbnew.STRINGSET_erase(self, *args)
18212 r"""find(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
18213 return _pcbnew.STRINGSET_find(self, x)
18216 r"""lower_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
18217 return _pcbnew.STRINGSET_lower_bound(self, x)
18220 r"""upper_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
18221 return _pcbnew.STRINGSET_upper_bound(self, x)
18224 r"""equal_range(STRINGSET self, wxString x) -> std::pair< std::set< wxString >::iterator,std::set< wxString >::iterator >"""
18225 return _pcbnew.STRINGSET_equal_range(self, x)
18228 r"""insert(STRINGSET self, wxString __x) -> std::pair< std::set< wxString >::iterator,bool >"""
18229 return _pcbnew.STRINGSET_insert(self, __x)
18230 __swig_destroy__ = _pcbnew.delete_STRINGSET
18233_pcbnew.STRINGSET_swigregister(STRINGSET)
18235 r"""Proxy of C++ NETCLASS class."""
18237 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18238 __repr__ = _swig_repr
18241 r"""__init__(NETCLASS self, wxString aName, bool aInitWithDefaults=True) -> NETCLASS"""
18242 _pcbnew.NETCLASS_swiginit(self, _pcbnew.new_NETCLASS(aName, aInitWithDefaults))
18243 __swig_destroy__ = _pcbnew.delete_NETCLASS
18246 r"""__eq__(NETCLASS self, NETCLASS other) -> bool"""
18247 return _pcbnew.NETCLASS___eq__(self, other)
18250 r"""GetClass(NETCLASS self) -> wxString"""
18251 return _pcbnew.NETCLASS_GetClass(self)
18254 r"""ResetParents(NETCLASS self)"""
18255 return _pcbnew.NETCLASS_ResetParents(self)
18258 r"""ResetParameters(NETCLASS self)"""
18259 return _pcbnew.NETCLASS_ResetParameters(self)
18262 r"""GetConstituentNetclasses(NETCLASS self) -> std::vector< NETCLASS *,std::allocator< NETCLASS * > > const &"""
18263 return _pcbnew.NETCLASS_GetConstituentNetclasses(self)
18266 r"""SetConstituentNetclasses(NETCLASS self, std::vector< NETCLASS *,std::allocator< NETCLASS * > > && constituents)"""
18267 return _pcbnew.NETCLASS_SetConstituentNetclasses(self, constituents)
18270 r"""GetVariableSubstitutionName(NETCLASS self) -> wxString"""
18271 return _pcbnew.NETCLASS_GetVariableSubstitutionName(self)
18274 r"""ContainsNetclassWithName(NETCLASS self, wxString netclass) -> bool"""
18275 return _pcbnew.NETCLASS_ContainsNetclassWithName(self, netclass)
18278 r"""IsDefault(NETCLASS self) -> bool"""
18279 return _pcbnew.NETCLASS_IsDefault(self)
18282 r"""GetName(NETCLASS self) -> wxString"""
18283 return _pcbnew.NETCLASS_GetName(self)
18286 r"""SetName(NETCLASS self, wxString aName)"""
18287 return _pcbnew.NETCLASS_SetName(self, aName)
18290 r"""GetDescription(NETCLASS self) -> wxString"""
18291 return _pcbnew.NETCLASS_GetDescription(self)
18294 r"""SetDescription(NETCLASS self, wxString aDesc)"""
18295 return _pcbnew.NETCLASS_SetDescription(self, aDesc)
18298 r"""HasClearance(NETCLASS self) -> bool"""
18299 return _pcbnew.NETCLASS_HasClearance(self)
18302 r"""GetClearance(NETCLASS self) -> int"""
18303 return _pcbnew.NETCLASS_GetClearance(self)
18306 r"""GetClearanceOpt(NETCLASS self) -> std::optional< int >"""
18307 return _pcbnew.NETCLASS_GetClearanceOpt(self)
18310 r"""SetClearance(NETCLASS self, int aClearance)"""
18311 return _pcbnew.NETCLASS_SetClearance(self, aClearance)
18314 r"""SetClearanceParent(NETCLASS self, NETCLASS parent)"""
18315 return _pcbnew.NETCLASS_SetClearanceParent(self, parent)
18318 r"""GetClearanceParent(NETCLASS self) -> NETCLASS"""
18319 return _pcbnew.NETCLASS_GetClearanceParent(self)
18322 r"""HasTrackWidth(NETCLASS self) -> bool"""
18323 return _pcbnew.NETCLASS_HasTrackWidth(self)
18326 r"""GetTrackWidth(NETCLASS self) -> int"""
18327 return _pcbnew.NETCLASS_GetTrackWidth(self)
18330 r"""GetTrackWidthOpt(NETCLASS self) -> std::optional< int >"""
18331 return _pcbnew.NETCLASS_GetTrackWidthOpt(self)
18334 r"""SetTrackWidth(NETCLASS self, int aWidth)"""
18335 return _pcbnew.NETCLASS_SetTrackWidth(self, aWidth)
18338 r"""SetTrackWidthParent(NETCLASS self, NETCLASS parent)"""
18339 return _pcbnew.NETCLASS_SetTrackWidthParent(self, parent)
18342 r"""GetTrackWidthParent(NETCLASS self) -> NETCLASS"""
18343 return _pcbnew.NETCLASS_GetTrackWidthParent(self)
18346 r"""HasViaDiameter(NETCLASS self) -> bool"""
18347 return _pcbnew.NETCLASS_HasViaDiameter(self)
18350 r"""GetViaDiameter(NETCLASS self) -> int"""
18351 return _pcbnew.NETCLASS_GetViaDiameter(self)
18354 r"""GetViaDiameterOpt(NETCLASS self) -> std::optional< int >"""
18355 return _pcbnew.NETCLASS_GetViaDiameterOpt(self)
18358 r"""SetViaDiameter(NETCLASS self, int aDia)"""
18359 return _pcbnew.NETCLASS_SetViaDiameter(self, aDia)
18362 r"""SetViaDiameterParent(NETCLASS self, NETCLASS parent)"""
18363 return _pcbnew.NETCLASS_SetViaDiameterParent(self, parent)
18366 r"""GetViaDiameterParent(NETCLASS self) -> NETCLASS"""
18367 return _pcbnew.NETCLASS_GetViaDiameterParent(self)
18370 r"""HasViaDrill(NETCLASS self) -> int"""
18371 return _pcbnew.NETCLASS_HasViaDrill(self)
18374 r"""GetViaDrill(NETCLASS self) -> int"""
18375 return _pcbnew.NETCLASS_GetViaDrill(self)
18378 r"""GetViaDrillOpt(NETCLASS self) -> std::optional< int >"""
18379 return _pcbnew.NETCLASS_GetViaDrillOpt(self)
18382 r"""SetViaDrill(NETCLASS self, int aSize)"""
18383 return _pcbnew.NETCLASS_SetViaDrill(self, aSize)
18386 r"""SetViaDrillParent(NETCLASS self, NETCLASS parent)"""
18387 return _pcbnew.NETCLASS_SetViaDrillParent(self, parent)
18390 r"""GetViaDrillParent(NETCLASS self) -> NETCLASS"""
18391 return _pcbnew.NETCLASS_GetViaDrillParent(self)
18394 r"""HasuViaDiameter(NETCLASS self) -> bool"""
18395 return _pcbnew.NETCLASS_HasuViaDiameter(self)
18398 r"""GetuViaDiameter(NETCLASS self) -> int"""
18399 return _pcbnew.NETCLASS_GetuViaDiameter(self)
18402 r"""GetuViaDiameterOpt(NETCLASS self) -> std::optional< int >"""
18403 return _pcbnew.NETCLASS_GetuViaDiameterOpt(self)
18406 r"""SetuViaDiameter(NETCLASS self, int aSize)"""
18407 return _pcbnew.NETCLASS_SetuViaDiameter(self, aSize)
18410 r"""SetuViaDiameterParent(NETCLASS self, NETCLASS parent)"""
18411 return _pcbnew.NETCLASS_SetuViaDiameterParent(self, parent)
18414 r"""GetuViaDiameterParent(NETCLASS self) -> NETCLASS"""
18415 return _pcbnew.NETCLASS_GetuViaDiameterParent(self)
18418 r"""HasuViaDrill(NETCLASS self) -> bool"""
18419 return _pcbnew.NETCLASS_HasuViaDrill(self)
18422 r"""GetuViaDrill(NETCLASS self) -> int"""
18423 return _pcbnew.NETCLASS_GetuViaDrill(self)
18426 r"""GetuViaDrillOpt(NETCLASS self) -> std::optional< int >"""
18427 return _pcbnew.NETCLASS_GetuViaDrillOpt(self)
18430 r"""SetuViaDrill(NETCLASS self, int aSize)"""
18431 return _pcbnew.NETCLASS_SetuViaDrill(self, aSize)
18434 r"""SetuViaDrillParent(NETCLASS self, NETCLASS parent)"""
18435 return _pcbnew.NETCLASS_SetuViaDrillParent(self, parent)
18438 r"""GetuViaDrillParent(NETCLASS self) -> NETCLASS"""
18439 return _pcbnew.NETCLASS_GetuViaDrillParent(self)
18442 r"""HasDiffPairWidth(NETCLASS self) -> bool"""
18443 return _pcbnew.NETCLASS_HasDiffPairWidth(self)
18446 r"""GetDiffPairWidth(NETCLASS self) -> int"""
18447 return _pcbnew.NETCLASS_GetDiffPairWidth(self)
18450 r"""GetDiffPairWidthOpt(NETCLASS self) -> std::optional< int >"""
18451 return _pcbnew.NETCLASS_GetDiffPairWidthOpt(self)
18454 r"""SetDiffPairWidth(NETCLASS self, int aSize)"""
18455 return _pcbnew.NETCLASS_SetDiffPairWidth(self, aSize)
18458 r"""SetDiffPairWidthParent(NETCLASS self, NETCLASS parent)"""
18459 return _pcbnew.NETCLASS_SetDiffPairWidthParent(self, parent)
18462 r"""GetDiffPairWidthParent(NETCLASS self) -> NETCLASS"""
18463 return _pcbnew.NETCLASS_GetDiffPairWidthParent(self)
18466 r"""HasDiffPairGap(NETCLASS self) -> bool"""
18467 return _pcbnew.NETCLASS_HasDiffPairGap(self)
18470 r"""GetDiffPairGap(NETCLASS self) -> int"""
18471 return _pcbnew.NETCLASS_GetDiffPairGap(self)
18474 r"""GetDiffPairGapOpt(NETCLASS self) -> std::optional< int >"""
18475 return _pcbnew.NETCLASS_GetDiffPairGapOpt(self)
18478 r"""SetDiffPairGap(NETCLASS self, int aSize)"""
18479 return _pcbnew.NETCLASS_SetDiffPairGap(self, aSize)
18482 r"""SetDiffPairGapParent(NETCLASS self, NETCLASS parent)"""
18483 return _pcbnew.NETCLASS_SetDiffPairGapParent(self, parent)
18486 r"""GetDiffPairGapParent(NETCLASS self) -> NETCLASS"""
18487 return _pcbnew.NETCLASS_GetDiffPairGapParent(self)
18490 r"""HasDiffPairViaGap(NETCLASS self) -> bool"""
18491 return _pcbnew.NETCLASS_HasDiffPairViaGap(self)
18494 r"""GetDiffPairViaGap(NETCLASS self) -> int"""
18495 return _pcbnew.NETCLASS_GetDiffPairViaGap(self)
18498 r"""GetDiffPairViaGapOpt(NETCLASS self) -> std::optional< int >"""
18499 return _pcbnew.NETCLASS_GetDiffPairViaGapOpt(self)
18502 r"""SetDiffPairViaGap(NETCLASS self, int aSize)"""
18503 return _pcbnew.NETCLASS_SetDiffPairViaGap(self, aSize)
18506 r"""SetDiffPairViaGapParent(NETCLASS self, NETCLASS parent)"""
18507 return _pcbnew.NETCLASS_SetDiffPairViaGapParent(self, parent)
18510 r"""GetDiffPairViaGapParent(NETCLASS self) -> NETCLASS"""
18511 return _pcbnew.NETCLASS_GetDiffPairViaGapParent(self)
18514 r"""HasPcbColor(NETCLASS self) -> bool"""
18515 return _pcbnew.NETCLASS_HasPcbColor(self)
18518 r"""GetPcbColor(NETCLASS self, bool aIsForSave=False) -> COLOR4D"""
18519 return _pcbnew.NETCLASS_GetPcbColor(self, aIsForSave)
18522 r"""SetPcbColor(NETCLASS self, COLOR4D aColor)"""
18523 return _pcbnew.NETCLASS_SetPcbColor(self, aColor)
18526 r"""SetPcbColorParent(NETCLASS self, NETCLASS parent)"""
18527 return _pcbnew.NETCLASS_SetPcbColorParent(self, parent)
18530 r"""GetPcbColorParent(NETCLASS self) -> NETCLASS"""
18531 return _pcbnew.NETCLASS_GetPcbColorParent(self)
18534 r"""HasWireWidth(NETCLASS self) -> bool"""
18535 return _pcbnew.NETCLASS_HasWireWidth(self)
18538 r"""GetWireWidth(NETCLASS self) -> int"""
18539 return _pcbnew.NETCLASS_GetWireWidth(self)
18542 r"""GetWireWidthOpt(NETCLASS self) -> std::optional< int >"""
18543 return _pcbnew.NETCLASS_GetWireWidthOpt(self)
18546 r"""SetWireWidth(NETCLASS self, int aWidth)"""
18547 return _pcbnew.NETCLASS_SetWireWidth(self, aWidth)
18550 r"""SetWireWidthParent(NETCLASS self, NETCLASS parent)"""
18551 return _pcbnew.NETCLASS_SetWireWidthParent(self, parent)
18554 r"""GetWireWidthParent(NETCLASS self) -> NETCLASS"""
18555 return _pcbnew.NETCLASS_GetWireWidthParent(self)
18558 r"""HasBusWidth(NETCLASS self) -> bool"""
18559 return _pcbnew.NETCLASS_HasBusWidth(self)
18562 r"""GetBusWidth(NETCLASS self) -> int"""
18563 return _pcbnew.NETCLASS_GetBusWidth(self)
18566 r"""GetBusWidthOpt(NETCLASS self) -> std::optional< int >"""
18567 return _pcbnew.NETCLASS_GetBusWidthOpt(self)
18570 r"""SetBusWidth(NETCLASS self, int aWidth)"""
18571 return _pcbnew.NETCLASS_SetBusWidth(self, aWidth)
18574 r"""SetBusWidthParent(NETCLASS self, NETCLASS parent)"""
18575 return _pcbnew.NETCLASS_SetBusWidthParent(self, parent)
18578 r"""GetBusWidthParent(NETCLASS self) -> NETCLASS"""
18579 return _pcbnew.NETCLASS_GetBusWidthParent(self)
18582 r"""GetSchematicColor(NETCLASS self, bool aIsForSave=False) -> COLOR4D"""
18583 return _pcbnew.NETCLASS_GetSchematicColor(self, aIsForSave)
18586 r"""SetSchematicColor(NETCLASS self, COLOR4D aColor)"""
18587 return _pcbnew.NETCLASS_SetSchematicColor(self, aColor)
18590 r"""SetSchematicColorParent(NETCLASS self, NETCLASS parent)"""
18591 return _pcbnew.NETCLASS_SetSchematicColorParent(self, parent)
18594 r"""GetSchematicColorParent(NETCLASS self) -> NETCLASS"""
18595 return _pcbnew.NETCLASS_GetSchematicColorParent(self)
18598 r"""HasLineStyle(NETCLASS self) -> bool"""
18599 return _pcbnew.NETCLASS_HasLineStyle(self)
18602 r"""GetLineStyle(NETCLASS self) -> int"""
18603 return _pcbnew.NETCLASS_GetLineStyle(self)
18606 r"""GetLineStyleOpt(NETCLASS self) -> std::optional< int >"""
18607 return _pcbnew.NETCLASS_GetLineStyleOpt(self)
18610 r"""SetLineStyle(NETCLASS self, int aStyle)"""
18611 return _pcbnew.NETCLASS_SetLineStyle(self, aStyle)
18614 r"""SetLineStyleParent(NETCLASS self, NETCLASS parent)"""
18615 return _pcbnew.NETCLASS_SetLineStyleParent(self, parent)
18618 r"""GetLineStyleParent(NETCLASS self) -> NETCLASS"""
18619 return _pcbnew.NETCLASS_GetLineStyleParent(self)
18622 r"""SetPriority(NETCLASS self, int aPriority)"""
18623 return _pcbnew.NETCLASS_SetPriority(self, aPriority)
18626 r"""GetPriority(NETCLASS self) -> int"""
18627 return _pcbnew.NETCLASS_GetPriority(self)
18630_pcbnew.NETCLASS_swigregister(NETCLASS)
18631NETCLASS.Default = _pcbnew.cvar.NETCLASS_Default
18634 r"""Proxy of C++ PCB_GROUP class."""
18636 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18637 __repr__ = _swig_repr
18640 r"""__init__(PCB_GROUP self, BOARD_ITEM aParent) -> PCB_GROUP"""
18641 _pcbnew.PCB_GROUP_swiginit(self, _pcbnew.new_PCB_GROUP(aParent))
18645 r"""ClassOf(EDA_ITEM aItem) -> bool"""
18646 return _pcbnew.PCB_GROUP_ClassOf(aItem)
18649 r"""GetName(PCB_GROUP self) -> wxString"""
18650 return _pcbnew.PCB_GROUP_GetName(self)
18653 r"""SetName(PCB_GROUP self, wxString aName)"""
18654 return _pcbnew.PCB_GROUP_SetName(self, aName)
18658 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * >
18659 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * > const &
18661 return _pcbnew.PCB_GROUP_GetItems(self, *args)
18664 r"""AddItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
18665 return _pcbnew.PCB_GROUP_AddItem(self, aItem)
18668 r"""RemoveItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
18669 return _pcbnew.PCB_GROUP_RemoveItem(self, aItem)
18672 r"""RemoveAll(PCB_GROUP self)"""
18673 return _pcbnew.PCB_GROUP_RemoveAll(self)
18677 r"""TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
18678 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
18682 r"""WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
18683 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
18687 __eq__(PCB_GROUP self, PCB_GROUP aOther) -> bool
18688 __eq__(PCB_GROUP self, BOARD_ITEM aBoardItem) -> bool
18690 return _pcbnew.PCB_GROUP___eq__(self, *args)
18693 r"""DeepClone(PCB_GROUP self) -> PCB_GROUP"""
18694 return _pcbnew.PCB_GROUP_DeepClone(self)
18697 r"""DeepDuplicate(PCB_GROUP self) -> PCB_GROUP"""
18698 return _pcbnew.PCB_GROUP_DeepDuplicate(self)
18702 HitTest(PCB_GROUP self, VECTOR2I aPosition, int aAccuracy=0) -> bool
18703 HitTest(PCB_GROUP self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
18705 return _pcbnew.PCB_GROUP_HitTest(self, *args)
18708 r"""GetEffectiveShape(PCB_GROUP self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
18709 return _pcbnew.PCB_GROUP_GetEffectiveShape(self, *args)
18712 r"""ViewGetLOD(PCB_GROUP self, int aLayer, KIGFX::VIEW * aView) -> double"""
18713 return _pcbnew.PCB_GROUP_ViewGetLOD(self, aLayer, aView)
18716 r"""RunOnDescendants(PCB_GROUP self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
18717 return _pcbnew.PCB_GROUP_RunOnDescendants(self, aFunction, aDepth)
18721 r"""IsGroupableType(KICAD_T aType) -> bool"""
18722 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
18725 r"""GetItemsDeque(PCB_GROUP self) -> DRAWINGS"""
18726 return _pcbnew.PCB_GROUP_GetItemsDeque(self)
18731 __swig_destroy__ = _pcbnew.delete_PCB_GROUP
18734_pcbnew.PCB_GROUP_swigregister(PCB_GROUP)
18736 r"""Proxy of C++ PCB_REFERENCE_IMAGE class."""
18738 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18739 __repr__ = _swig_repr
18743 __init__(PCB_REFERENCE_IMAGE self, BOARD_ITEM aParent, VECTOR2I pos=VECTOR2I( 0, 0 ), PCB_LAYER_ID aLayer=F_Cu) -> PCB_REFERENCE_IMAGE
18744 __init__(PCB_REFERENCE_IMAGE self, PCB_REFERENCE_IMAGE aPcbBitmap) -> PCB_REFERENCE_IMAGE
18746 _pcbnew.PCB_REFERENCE_IMAGE_swiginit(self, _pcbnew.new_PCB_REFERENCE_IMAGE(*args))
18747 __swig_destroy__ = _pcbnew.delete_PCB_REFERENCE_IMAGE
18754 return _pcbnew.PCB_REFERENCE_IMAGE_GetReferenceImage(self, *args)
18758 r"""ClassOf(EDA_ITEM aItem) -> bool"""
18759 return _pcbnew.PCB_REFERENCE_IMAGE_ClassOf(aItem)
18762 r"""ViewGetLOD(PCB_REFERENCE_IMAGE self, int aLayer, KIGFX::VIEW * aView) -> double"""
18763 return _pcbnew.PCB_REFERENCE_IMAGE_ViewGetLOD(self, aLayer, aView)
18766 r"""GetEffectiveShape(PCB_REFERENCE_IMAGE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
18767 return _pcbnew.PCB_REFERENCE_IMAGE_GetEffectiveShape(self, *args)
18771 HitTest(PCB_REFERENCE_IMAGE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
18772 HitTest(PCB_REFERENCE_IMAGE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
18774 return _pcbnew.PCB_REFERENCE_IMAGE_HitTest(self, *args)
18778 __eq__(PCB_REFERENCE_IMAGE self, PCB_REFERENCE_IMAGE aOther) -> bool
18779 __eq__(PCB_REFERENCE_IMAGE self, BOARD_ITEM aBoardItem) -> bool
18781 return _pcbnew.PCB_REFERENCE_IMAGE___eq__(self, *args)
18784_pcbnew.PCB_REFERENCE_IMAGE_swigregister(PCB_REFERENCE_IMAGE)
18786 r"""Proxy of C++ std::vector< VIA_DIMENSION > class."""
18788 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18789 __repr__ = _swig_repr
18792 r"""iterator(VIA_DIMENSION_Vector self) -> SwigPyIterator"""
18793 return _pcbnew.VIA_DIMENSION_Vector_iterator(self)
18798 r"""__nonzero__(VIA_DIMENSION_Vector self) -> bool"""
18799 return _pcbnew.VIA_DIMENSION_Vector___nonzero__(self)
18802 r"""__bool__(VIA_DIMENSION_Vector self) -> bool"""
18803 return _pcbnew.VIA_DIMENSION_Vector___bool__(self)
18806 r"""__len__(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
18807 return _pcbnew.VIA_DIMENSION_Vector___len__(self)
18810 r"""__getslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j) -> VIA_DIMENSION_Vector"""
18811 return _pcbnew.VIA_DIMENSION_Vector___getslice__(self, i, j)
18815 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)
18816 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j, VIA_DIMENSION_Vector v)
18818 return _pcbnew.VIA_DIMENSION_Vector___setslice__(self, *args)
18821 r"""__delslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)"""
18822 return _pcbnew.VIA_DIMENSION_Vector___delslice__(self, i, j)
18826 __delitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i)
18827 __delitem__(VIA_DIMENSION_Vector self, SWIGPY_SLICEOBJECT * slice)
18829 return _pcbnew.VIA_DIMENSION_Vector___delitem__(self, *args)
18833 __getitem__(VIA_DIMENSION_Vector self, SWIGPY_SLICEOBJECT * slice) -> VIA_DIMENSION_Vector
18834 __getitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i) -> VIA_DIMENSION
18836 return _pcbnew.VIA_DIMENSION_Vector___getitem__(self, *args)
18840 __setitem__(VIA_DIMENSION_Vector self, SWIGPY_SLICEOBJECT * slice, VIA_DIMENSION_Vector v)
18841 __setitem__(VIA_DIMENSION_Vector self, SWIGPY_SLICEOBJECT * slice)
18842 __setitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, VIA_DIMENSION x)
18844 return _pcbnew.VIA_DIMENSION_Vector___setitem__(self, *args)
18847 r"""pop(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
18848 return _pcbnew.VIA_DIMENSION_Vector_pop(self)
18851 r"""append(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
18852 return _pcbnew.VIA_DIMENSION_Vector_append(self, x)
18855 r"""empty(VIA_DIMENSION_Vector self) -> bool"""
18856 return _pcbnew.VIA_DIMENSION_Vector_empty(self)
18859 r"""size(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
18860 return _pcbnew.VIA_DIMENSION_Vector_size(self)
18863 r"""swap(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector v)"""
18864 return _pcbnew.VIA_DIMENSION_Vector_swap(self, v)
18867 r"""begin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
18868 return _pcbnew.VIA_DIMENSION_Vector_begin(self)
18871 r"""end(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
18872 return _pcbnew.VIA_DIMENSION_Vector_end(self)
18875 r"""rbegin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
18876 return _pcbnew.VIA_DIMENSION_Vector_rbegin(self)
18879 r"""rend(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
18880 return _pcbnew.VIA_DIMENSION_Vector_rend(self)
18883 r"""clear(VIA_DIMENSION_Vector self)"""
18884 return _pcbnew.VIA_DIMENSION_Vector_clear(self)
18887 r"""get_allocator(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::allocator_type"""
18888 return _pcbnew.VIA_DIMENSION_Vector_get_allocator(self)
18891 r"""pop_back(VIA_DIMENSION_Vector self)"""
18892 return _pcbnew.VIA_DIMENSION_Vector_pop_back(self)
18896 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos) -> std::vector< VIA_DIMENSION >::iterator
18897 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator first, std::vector< VIA_DIMENSION >::iterator last) -> std::vector< VIA_DIMENSION >::iterator
18899 return _pcbnew.VIA_DIMENSION_Vector_erase(self, *args)
18903 __init__(VIA_DIMENSION_Vector self) -> VIA_DIMENSION_Vector
18904 __init__(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector other) -> VIA_DIMENSION_Vector
18905 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size) -> VIA_DIMENSION_Vector
18906 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size, VIA_DIMENSION value) -> VIA_DIMENSION_Vector
18908 _pcbnew.VIA_DIMENSION_Vector_swiginit(self, _pcbnew.new_VIA_DIMENSION_Vector(*args))
18911 r"""push_back(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
18912 return _pcbnew.VIA_DIMENSION_Vector_push_back(self, x)
18915 r"""front(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
18916 return _pcbnew.VIA_DIMENSION_Vector_front(self)
18919 r"""back(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
18920 return _pcbnew.VIA_DIMENSION_Vector_back(self)
18923 r"""assign(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)"""
18924 return _pcbnew.VIA_DIMENSION_Vector_assign(self, n, x)
18928 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size)
18929 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size, VIA_DIMENSION x)
18931 return _pcbnew.VIA_DIMENSION_Vector_resize(self, *args)
18935 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, VIA_DIMENSION x) -> std::vector< VIA_DIMENSION >::iterator
18936 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)
18938 return _pcbnew.VIA_DIMENSION_Vector_insert(self, *args)
18941 r"""reserve(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n)"""
18942 return _pcbnew.VIA_DIMENSION_Vector_reserve(self, n)
18945 r"""capacity(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
18946 return _pcbnew.VIA_DIMENSION_Vector_capacity(self)
18947 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION_Vector
18950_pcbnew.VIA_DIMENSION_Vector_swigregister(VIA_DIMENSION_Vector)
18951DEFAULT_CHAINING_EPSILON_MM = _pcbnew.DEFAULT_CHAINING_EPSILON_MM
18954 r"""Proxy of C++ PTR_PTR_CACHE_KEY class."""
18956 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18957 __repr__ = _swig_repr
18958 A = property(_pcbnew.PTR_PTR_CACHE_KEY_A_get, _pcbnew.PTR_PTR_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
18959 B = property(_pcbnew.PTR_PTR_CACHE_KEY_B_get, _pcbnew.PTR_PTR_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
18962 r"""__eq__(PTR_PTR_CACHE_KEY self, PTR_PTR_CACHE_KEY other) -> bool"""
18963 return _pcbnew.PTR_PTR_CACHE_KEY___eq__(self, other)
18966 r"""__init__(PTR_PTR_CACHE_KEY self) -> PTR_PTR_CACHE_KEY"""
18967 _pcbnew.PTR_PTR_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_CACHE_KEY())
18968 __swig_destroy__ = _pcbnew.delete_PTR_PTR_CACHE_KEY
18971_pcbnew.PTR_PTR_CACHE_KEY_swigregister(PTR_PTR_CACHE_KEY)
18973 r"""Proxy of C++ PTR_LAYER_CACHE_KEY class."""
18975 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18976 __repr__ = _swig_repr
18977 A = property(_pcbnew.PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
18978 Layer = property(_pcbnew.PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
18981 r"""__eq__(PTR_LAYER_CACHE_KEY self, PTR_LAYER_CACHE_KEY other) -> bool"""
18982 return _pcbnew.PTR_LAYER_CACHE_KEY___eq__(self, other)
18985 r"""__init__(PTR_LAYER_CACHE_KEY self) -> PTR_LAYER_CACHE_KEY"""
18986 _pcbnew.PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_LAYER_CACHE_KEY())
18987 __swig_destroy__ = _pcbnew.delete_PTR_LAYER_CACHE_KEY
18990_pcbnew.PTR_LAYER_CACHE_KEY_swigregister(PTR_LAYER_CACHE_KEY)
18992 r"""Proxy of C++ PTR_PTR_LAYER_CACHE_KEY class."""
18994 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18995 __repr__ = _swig_repr
18996 A = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
18997 B = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
18998 Layer = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
19001 r"""__eq__(PTR_PTR_LAYER_CACHE_KEY self, PTR_PTR_LAYER_CACHE_KEY other) -> bool"""
19002 return _pcbnew.PTR_PTR_LAYER_CACHE_KEY___eq__(self, other)
19005 r"""__init__(PTR_PTR_LAYER_CACHE_KEY self) -> PTR_PTR_LAYER_CACHE_KEY"""
19006 _pcbnew.PTR_PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_LAYER_CACHE_KEY())
19007 __swig_destroy__ = _pcbnew.delete_PTR_PTR_LAYER_CACHE_KEY
19010_pcbnew.PTR_PTR_LAYER_CACHE_KEY_swigregister(PTR_PTR_LAYER_CACHE_KEY)
19011LT_UNDEFINED = _pcbnew.LT_UNDEFINED
19013LT_SIGNAL = _pcbnew.LT_SIGNAL
19015LT_POWER = _pcbnew.LT_POWER
19017LT_MIXED = _pcbnew.LT_MIXED
19019LT_JUMPER = _pcbnew.LT_JUMPER
19021LT_AUX = _pcbnew.LT_AUX
19023LT_FRONT = _pcbnew.LT_FRONT
19025LT_BACK = _pcbnew.LT_BACK
19028 r"""Proxy of C++ LAYER class."""
19030 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19031 __repr__ = _swig_repr
19034 r"""__init__(LAYER self) -> LAYER"""
19035 _pcbnew.LAYER_swiginit(self, _pcbnew.new_LAYER())
19038 r"""clear(LAYER self)"""
19039 return _pcbnew.LAYER_clear(self)
19040 m_name = property(_pcbnew.LAYER_m_name_get, _pcbnew.LAYER_m_name_set, doc=
r"""m_name : wxString""")
19041 m_userName = property(_pcbnew.LAYER_m_userName_get, _pcbnew.LAYER_m_userName_set, doc=
r"""m_userName : wxString""")
19042 m_type = property(_pcbnew.LAYER_m_type_get, _pcbnew.LAYER_m_type_set, doc=
r"""m_type : LAYER_T""")
19043 m_visible = property(_pcbnew.LAYER_m_visible_get, _pcbnew.LAYER_m_visible_set, doc=
r"""m_visible : bool""")
19044 m_number = property(_pcbnew.LAYER_m_number_get, _pcbnew.LAYER_m_number_set, doc=
r"""m_number : int""")
19045 m_opposite = property(_pcbnew.LAYER_m_opposite_get, _pcbnew.LAYER_m_opposite_set, doc=
r"""m_opposite : int""")
19049 r"""ShowType(LAYER_T aType) -> char const *"""
19050 return _pcbnew.LAYER_ShowType(aType)
19054 r"""ParseType(char const * aType) -> LAYER_T"""
19055 return _pcbnew.LAYER_ParseType(aType)
19056 __swig_destroy__ = _pcbnew.delete_LAYER
19059_pcbnew.LAYER_swigregister(LAYER)
19061 r"""Proxy of C++ HIGH_LIGHT_INFO class."""
19063 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19066 raise AttributeError(
"No constructor defined")
19067 __repr__ = _swig_repr
19068 __swig_destroy__ = _pcbnew.delete_HIGH_LIGHT_INFO
19071_pcbnew.HIGH_LIGHT_INFO_swigregister(HIGH_LIGHT_INFO)
19073 r"""Proxy of C++ BOARD_LISTENER class."""
19075 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19076 __repr__ = _swig_repr
19077 __swig_destroy__ = _pcbnew.delete_BOARD_LISTENER
19080 r"""OnBoardItemAdded(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
19081 return _pcbnew.BOARD_LISTENER_OnBoardItemAdded(self, aBoard, aBoardItem)
19084 r"""OnBoardItemsAdded(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
19085 return _pcbnew.BOARD_LISTENER_OnBoardItemsAdded(self, aBoard, aBoardItem)
19088 r"""OnBoardItemRemoved(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
19089 return _pcbnew.BOARD_LISTENER_OnBoardItemRemoved(self, aBoard, aBoardItem)
19092 r"""OnBoardItemsRemoved(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
19093 return _pcbnew.BOARD_LISTENER_OnBoardItemsRemoved(self, aBoard, aBoardItem)
19096 r"""OnBoardNetSettingsChanged(BOARD_LISTENER self, BOARD aBoard)"""
19097 return _pcbnew.BOARD_LISTENER_OnBoardNetSettingsChanged(self, aBoard)
19100 r"""OnBoardItemChanged(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
19101 return _pcbnew.BOARD_LISTENER_OnBoardItemChanged(self, aBoard, aBoardItem)
19104 r"""OnBoardItemsChanged(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
19105 return _pcbnew.BOARD_LISTENER_OnBoardItemsChanged(self, aBoard, aBoardItem)
19108 r"""OnBoardHighlightNetChanged(BOARD_LISTENER self, BOARD aBoard)"""
19109 return _pcbnew.BOARD_LISTENER_OnBoardHighlightNetChanged(self, aBoard)
19112 r"""OnBoardRatsnestChanged(BOARD_LISTENER self, BOARD aBoard)"""
19113 return _pcbnew.BOARD_LISTENER_OnBoardRatsnestChanged(self, aBoard)
19116 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 * > > & aDeletedItems)"""
19117 return _pcbnew.BOARD_LISTENER_OnBoardCompositeUpdate(self, aBoard, aAddedItems, aRemovedItems, aDeletedItems)
19120 r"""__init__(BOARD_LISTENER self) -> BOARD_LISTENER"""
19121 _pcbnew.BOARD_LISTENER_swiginit(self, _pcbnew.new_BOARD_LISTENER())
19124_pcbnew.BOARD_LISTENER_swigregister(BOARD_LISTENER)
19125BOARD_USE_NORMAL = _pcbnew.BOARD_USE_NORMAL
19127BOARD_USE_FPHOLDER = _pcbnew.BOARD_USE_FPHOLDER
19130 r"""Proxy of C++ BOARD class."""
19132 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19135 raise AttributeError(
"No constructor defined")
19136 __repr__ = _swig_repr
19140 r"""ClassOf(EDA_ITEM aItem) -> bool"""
19141 return _pcbnew.BOARD_ClassOf(aItem)
19144 r"""SetBoardUse(BOARD self, BOARD_USE aUse)"""
19145 return _pcbnew.BOARD_SetBoardUse(self, aUse)
19148 r"""GetBoardUse(BOARD self) -> BOARD_USE"""
19149 return _pcbnew.BOARD_GetBoardUse(self)
19152 r"""IncrementTimeStamp(BOARD self)"""
19153 return _pcbnew.BOARD_IncrementTimeStamp(self)
19156 r"""GetTimeStamp(BOARD self) -> int"""
19157 return _pcbnew.BOARD_GetTimeStamp(self)
19160 r"""IsFootprintHolder(BOARD self) -> bool"""
19161 return _pcbnew.BOARD_IsFootprintHolder(self)
19164 r"""SetFileName(BOARD self, wxString aFileName)"""
19165 return _pcbnew.BOARD_SetFileName(self, aFileName)
19168 r"""GetFileName(BOARD self) -> wxString"""
19169 return _pcbnew.BOARD_GetFileName(self)
19172 r"""Footprints(BOARD self) -> FOOTPRINTS"""
19173 return _pcbnew.BOARD_Footprints(self)
19176 r"""Zones(BOARD self) -> ZONES"""
19177 return _pcbnew.BOARD_Zones(self)
19180 r"""Generators(BOARD self) -> GENERATORS"""
19181 return _pcbnew.BOARD_Generators(self)
19184 r"""Markers(BOARD self) -> MARKERS"""
19185 return _pcbnew.BOARD_Markers(self)
19192 return _pcbnew.BOARD_Drawings(self, *args)
19196 Tracks(BOARD self) -> TRACKS
19197 Tracks(BOARD self) -> TRACKS
19199 return _pcbnew.BOARD_Tracks(self, *args)
19202 r"""GetItemSet(BOARD self) -> BOARD_ITEM_SET const"""
19203 return _pcbnew.BOARD_GetItemSet(self)
19206 r"""Groups(BOARD self) -> GROUPS"""
19207 return _pcbnew.BOARD_Groups(self)
19210 r"""AllConnectedItems(BOARD self) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
19211 return _pcbnew.BOARD_AllConnectedItems(self)
19214 r"""GetProperties(BOARD self) -> MAP_STRING_STRING"""
19215 return _pcbnew.BOARD_GetProperties(self)
19218 r"""SetProperties(BOARD self, MAP_STRING_STRING aProps)"""
19219 return _pcbnew.BOARD_SetProperties(self, aProps)
19222 r"""GetContextualTextVars(BOARD self, wxArrayString * aVars)"""
19223 return _pcbnew.BOARD_GetContextualTextVars(self, aVars)
19226 r"""ResolveTextVar(BOARD self, wxString token, int aDepth) -> bool"""
19227 return _pcbnew.BOARD_ResolveTextVar(self, token, aDepth)
19228 m_LegacyVisibleLayers = property(_pcbnew.BOARD_m_LegacyVisibleLayers_get, _pcbnew.BOARD_m_LegacyVisibleLayers_set, doc=
r"""m_LegacyVisibleLayers : LSET""")
19229 m_LegacyVisibleItems = property(_pcbnew.BOARD_m_LegacyVisibleItems_get, _pcbnew.BOARD_m_LegacyVisibleItems_set, doc=
r"""m_LegacyVisibleItems : GAL_SET""")
19230 m_LegacyDesignSettingsLoaded = property(_pcbnew.BOARD_m_LegacyDesignSettingsLoaded_get, _pcbnew.BOARD_m_LegacyDesignSettingsLoaded_set, doc=
r"""m_LegacyDesignSettingsLoaded : bool""")
19231 m_LegacyCopperEdgeClearanceLoaded = property(_pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_get, _pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_set, doc=
r"""m_LegacyCopperEdgeClearanceLoaded : bool""")
19232 m_LegacyNetclassesLoaded = property(_pcbnew.BOARD_m_LegacyNetclassesLoaded_get, _pcbnew.BOARD_m_LegacyNetclassesLoaded_set, doc=
r"""m_LegacyNetclassesLoaded : bool""")
19233 __swig_destroy__ = _pcbnew.delete_BOARD
19236 r"""IsEmpty(BOARD self) -> bool"""
19237 return _pcbnew.BOARD_IsEmpty(self)
19240 r"""SetFileFormatVersionAtLoad(BOARD self, int aVersion)"""
19241 return _pcbnew.BOARD_SetFileFormatVersionAtLoad(self, aVersion)
19244 r"""GetFileFormatVersionAtLoad(BOARD self) -> int"""
19245 return _pcbnew.BOARD_GetFileFormatVersionAtLoad(self)
19248 r"""SetGenerator(BOARD self, wxString aGenerator)"""
19249 return _pcbnew.BOARD_SetGenerator(self, aGenerator)
19252 r"""GetGenerator(BOARD self) -> wxString"""
19253 return _pcbnew.BOARD_GetGenerator(self)
19256 r"""AddNative(BOARD self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
19257 return _pcbnew.BOARD_AddNative(self, *args)
19260 r"""RemoveNative(BOARD self, BOARD_ITEM aBoardItem, REMOVE_MODE aMode=NORMAL)"""
19261 return _pcbnew.BOARD_RemoveNative(self, *args)
19265 RemoveAll(BOARD self, std::initializer_list< KICAD_T > aTypes={ PCB_NETINFO_T, PCB_MARKER_T,
19266 PCB_GROUP_T, PCB_ZONE_T,
19267 PCB_GENERATOR_T, PCB_FOOTPRINT_T,
19268 PCB_TRACE_T, PCB_SHAPE_T })
19270 return _pcbnew.BOARD_RemoveAll(self, *args)
19273 r"""FinalizeBulkAdd(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aNewItems)"""
19274 return _pcbnew.BOARD_FinalizeBulkAdd(self, aNewItems)
19277 r"""FinalizeBulkRemove(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aRemovedItems)"""
19278 return _pcbnew.BOARD_FinalizeBulkRemove(self, aRemovedItems)
19281 r"""FixupEmbeddedData(BOARD self)"""
19282 return _pcbnew.BOARD_FixupEmbeddedData(self)
19285 r"""CacheTriangulation(BOARD self, PROGRESS_REPORTER * aReporter=None, ZONES aZones={})"""
19286 return _pcbnew.BOARD_CacheTriangulation(self, *args)
19289 r"""GetFirstFootprint(BOARD self) -> FOOTPRINT"""
19290 return _pcbnew.BOARD_GetFirstFootprint(self)
19293 r"""DeleteAllFootprints(BOARD self)"""
19294 return _pcbnew.BOARD_DeleteAllFootprints(self)
19297 r"""GetItem(BOARD self, KIID aID) -> BOARD_ITEM"""
19298 return _pcbnew.BOARD_GetItem(self, aID)
19301 r"""FillItemMap(BOARD self, std::map< KIID,EDA_ITEM *,std::less< KIID >,std::allocator< std::pair< KIID const,EDA_ITEM * > > > & aMap)"""
19302 return _pcbnew.BOARD_FillItemMap(self, aMap)
19305 r"""ConvertCrossReferencesToKIIDs(BOARD self, wxString aSource) -> wxString"""
19306 return _pcbnew.BOARD_ConvertCrossReferencesToKIIDs(self, aSource)
19309 r"""ConvertKIIDsToCrossReferences(BOARD self, wxString aSource) -> wxString"""
19310 return _pcbnew.BOARD_ConvertKIIDsToCrossReferences(self, aSource)
19313 r"""GetConnectivity(BOARD self) -> std::shared_ptr< CONNECTIVITY_DATA >"""
19314 return _pcbnew.BOARD_GetConnectivity(self)
19317 r"""BuildConnectivity(BOARD self, PROGRESS_REPORTER * aReporter=None) -> bool"""
19318 return _pcbnew.BOARD_BuildConnectivity(self, aReporter)
19323 DeleteMARKERs(BOARD self, bool aWarningsAndErrors, bool aExclusions)
19325 return _pcbnew.BOARD_DeleteMARKERs(self, *args)
19328 r"""GetProject(BOARD self) -> PROJECT *"""
19329 return _pcbnew.BOARD_GetProject(self)
19332 r"""SetProject(BOARD self, PROJECT * aProject, bool aReferenceOnly=False)"""
19333 return _pcbnew.BOARD_SetProject(self, aProject, aReferenceOnly)
19336 r"""ClearProject(BOARD self)"""
19337 return _pcbnew.BOARD_ClearProject(self)
19340 r"""ResolveDRCExclusions(BOARD self, bool aCreateMarkers) -> MARKERS"""
19341 return _pcbnew.BOARD_ResolveDRCExclusions(self, aCreateMarkers)
19344 r"""RecordDRCExclusions(BOARD self)"""
19345 return _pcbnew.BOARD_RecordDRCExclusions(self)
19348 r"""UpdateRatsnestExclusions(BOARD self)"""
19349 return _pcbnew.BOARD_UpdateRatsnestExclusions(self)
19352 r"""ResetNetHighLight(BOARD self)"""
19353 return _pcbnew.BOARD_ResetNetHighLight(self)
19356 r"""GetHighLightNetCodes(BOARD self) -> std::set< int,std::less< int >,std::allocator< int > > const &"""
19357 return _pcbnew.BOARD_GetHighLightNetCodes(self)
19360 r"""SetHighLightNet(BOARD self, int aNetCode, bool aMulti=False)"""
19361 return _pcbnew.BOARD_SetHighLightNet(self, aNetCode, aMulti)
19364 r"""IsHighLightNetON(BOARD self) -> bool"""
19365 return _pcbnew.BOARD_IsHighLightNetON(self)
19368 r"""HighLightON(BOARD self, bool aValue=True)"""
19369 return _pcbnew.BOARD_HighLightON(self, aValue)
19372 r"""HighLightOFF(BOARD self)"""
19373 return _pcbnew.BOARD_HighLightOFF(self)
19376 r"""GetCopperLayerCount(BOARD self) -> int"""
19377 return _pcbnew.BOARD_GetCopperLayerCount(self)
19380 r"""SetCopperLayerCount(BOARD self, int aCount)"""
19381 return _pcbnew.BOARD_SetCopperLayerCount(self, aCount)
19384 r"""GetCopperLayerStackMaxId(BOARD self) -> PCB_LAYER_ID"""
19385 return _pcbnew.BOARD_GetCopperLayerStackMaxId(self)
19388 r"""FlipLayer(BOARD self, PCB_LAYER_ID aLayer) -> PCB_LAYER_ID"""
19389 return _pcbnew.BOARD_FlipLayer(self, aLayer)
19392 r"""LayerDepth(BOARD self, PCB_LAYER_ID aStartLayer, PCB_LAYER_ID aEndLayer) -> int"""
19393 return _pcbnew.BOARD_LayerDepth(self, aStartLayer, aEndLayer)
19396 r"""GetEnabledLayers(BOARD self) -> LSET"""
19397 return _pcbnew.BOARD_GetEnabledLayers(self)
19400 r"""SetEnabledLayers(BOARD self, LSET aLayerMask)"""
19401 return _pcbnew.BOARD_SetEnabledLayers(self, aLayerMask)
19404 r"""IsLayerEnabled(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
19405 return _pcbnew.BOARD_IsLayerEnabled(self, aLayer)
19408 r"""IsLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
19409 return _pcbnew.BOARD_IsLayerVisible(self, aLayer)
19412 r"""GetVisibleLayers(BOARD self) -> LSET"""
19413 return _pcbnew.BOARD_GetVisibleLayers(self)
19416 r"""SetVisibleLayers(BOARD self, LSET aLayerMask)"""
19417 return _pcbnew.BOARD_SetVisibleLayers(self, aLayerMask)
19420 r"""GetVisibleElements(BOARD self) -> GAL_SET"""
19421 return _pcbnew.BOARD_GetVisibleElements(self)
19424 r"""SetVisibleElements(BOARD self, GAL_SET aMask)"""
19425 return _pcbnew.BOARD_SetVisibleElements(self, aMask)
19428 r"""SetVisibleAlls(BOARD self)"""
19429 return _pcbnew.BOARD_SetVisibleAlls(self)
19432 r"""IsElementVisible(BOARD self, GAL_LAYER_ID aLayer) -> bool"""
19433 return _pcbnew.BOARD_IsElementVisible(self, aLayer)
19436 r"""SetElementVisibility(BOARD self, GAL_LAYER_ID aLayer, bool aNewState)"""
19437 return _pcbnew.BOARD_SetElementVisibility(self, aLayer, aNewState)
19440 r"""IsFootprintLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
19441 return _pcbnew.BOARD_IsFootprintLayerVisible(self, aLayer)
19444 r"""GetDesignSettings(BOARD self) -> BOARD_DESIGN_SETTINGS"""
19445 return _pcbnew.BOARD_GetDesignSettings(self)
19448 r"""GetStackupOrDefault(BOARD self) -> BOARD_STACKUP"""
19449 return _pcbnew.BOARD_GetStackupOrDefault(self)
19452 r"""GetPageSettings(BOARD self) -> PAGE_INFO const &"""
19453 return _pcbnew.BOARD_GetPageSettings(self)
19456 r"""SetPageSettings(BOARD self, PAGE_INFO const & aPageSettings)"""
19457 return _pcbnew.BOARD_SetPageSettings(self, aPageSettings)
19460 r"""GetPlotOptions(BOARD self) -> PCB_PLOT_PARAMS"""
19461 return _pcbnew.BOARD_GetPlotOptions(self)
19464 r"""SetPlotOptions(BOARD self, PCB_PLOT_PARAMS aOptions)"""
19465 return _pcbnew.BOARD_SetPlotOptions(self, aOptions)
19472 return _pcbnew.BOARD_GetTitleBlock(self, *args)
19475 r"""SetTitleBlock(BOARD self, TITLE_BLOCK aTitleBlock)"""
19476 return _pcbnew.BOARD_SetTitleBlock(self, aTitleBlock)
19479 r"""GetUserUnits(BOARD self) -> EDA_UNITS"""
19480 return _pcbnew.BOARD_GetUserUnits(self)
19483 r"""SetUserUnits(BOARD self, EDA_UNITS aUnits)"""
19484 return _pcbnew.BOARD_SetUserUnits(self, aUnits)
19487 r"""UpdateUserUnits(BOARD self, BOARD_ITEM aItem, KIGFX::VIEW * aView)"""
19488 return _pcbnew.BOARD_UpdateUserUnits(self, aItem, aView)
19491 r"""GetBoardPolygonOutlines(BOARD self, SHAPE_POLY_SET aOutlines, OUTLINE_ERROR_HANDLER * aErrorHandler=None, bool aAllowUseArcsInPolygons=False, bool aIncludeNPTHAsOutlines=False) -> bool"""
19492 return _pcbnew.BOARD_GetBoardPolygonOutlines(self, aOutlines, aErrorHandler, aAllowUseArcsInPolygons, aIncludeNPTHAsOutlines)
19495 r"""GetOutlinesChainingEpsilon(BOARD self) -> int"""
19496 return _pcbnew.BOARD_GetOutlinesChainingEpsilon(self)
19499 r"""SetOutlinesChainingEpsilon(BOARD self, int aValue)"""
19500 return _pcbnew.BOARD_SetOutlinesChainingEpsilon(self, aValue)
19503 r"""ConvertBrdLayerToPolygonalContours(BOARD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aOutlines)"""
19504 return _pcbnew.BOARD_ConvertBrdLayerToPolygonalContours(self, aLayer, aOutlines)
19507 r"""GetLayerID(BOARD self, wxString aLayerName) -> PCB_LAYER_ID"""
19508 return _pcbnew.BOARD_GetLayerID(self, aLayerName)
19511 r"""GetLayerName(BOARD self, PCB_LAYER_ID aLayer) -> wxString"""
19512 return _pcbnew.BOARD_GetLayerName(self, aLayer)
19515 r"""SetLayerName(BOARD self, PCB_LAYER_ID aLayer, wxString aLayerName) -> bool"""
19516 return _pcbnew.BOARD_SetLayerName(self, aLayer, aLayerName)
19520 r"""GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
19521 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
19524 r"""SetLayerDescr(BOARD self, PCB_LAYER_ID aIndex, LAYER aLayer) -> bool"""
19525 return _pcbnew.BOARD_SetLayerDescr(self, aIndex, aLayer)
19528 r"""GetLayerType(BOARD self, PCB_LAYER_ID aLayer) -> LAYER_T"""
19529 return _pcbnew.BOARD_GetLayerType(self, aLayer)
19532 r"""SetLayerType(BOARD self, PCB_LAYER_ID aLayer, LAYER_T aLayerType) -> bool"""
19533 return _pcbnew.BOARD_SetLayerType(self, aLayer, aLayerType)
19536 r"""GetNodesCount(BOARD self, int aNet=-1) -> unsigned int"""
19537 return _pcbnew.BOARD_GetNodesCount(self, aNet)
19540 r"""GetPads(BOARD self) -> PADS_VEC"""
19541 return _pcbnew.BOARD_GetPads(self)
19544 r"""BuildListOfNets(BOARD self)"""
19545 return _pcbnew.BOARD_BuildListOfNets(self)
19549 FindNet(BOARD self, int aNetcode) -> NETINFO_ITEM
19550 FindNet(BOARD self, wxString aNetname) -> NETINFO_ITEM
19552 return _pcbnew.BOARD_FindNet(self, *args)
19555 r"""MatchDpSuffix(BOARD self, wxString aNetName, wxString aComplementNet) -> int"""
19556 return _pcbnew.BOARD_MatchDpSuffix(self, aNetName, aComplementNet)
19559 r"""DpCoupledNet(BOARD self, NETINFO_ITEM aNet) -> NETINFO_ITEM"""
19560 return _pcbnew.BOARD_DpCoupledNet(self, aNet)
19563 r"""GetNetInfo(BOARD self) -> NETINFO_LIST"""
19564 return _pcbnew.BOARD_GetNetInfo(self)
19567 r"""RemoveUnusedNets(BOARD self, BOARD_COMMIT * aCommit)"""
19568 return _pcbnew.BOARD_RemoveUnusedNets(self, aCommit)
19571 r"""GetNetCount(BOARD self) -> unsigned int"""
19572 return _pcbnew.BOARD_GetNetCount(self)
19575 r"""ComputeBoundingBox(BOARD self, bool aBoardEdgesOnly=False) -> BOX2I"""
19576 return _pcbnew.BOARD_ComputeBoundingBox(self, aBoardEdgesOnly)
19579 r"""GetBoardEdgesBoundingBox(BOARD self) -> BOX2I"""
19580 return _pcbnew.BOARD_GetBoardEdgesBoundingBox(self)
19583 r"""FindFootprintByReference(BOARD self, wxString aReference) -> FOOTPRINT"""
19584 return _pcbnew.BOARD_FindFootprintByReference(self, aReference)
19587 r"""FindFootprintByPath(BOARD self, KIID_PATH aPath) -> FOOTPRINT"""
19588 return _pcbnew.BOARD_FindFootprintByPath(self, aPath)
19591 r"""GetNetClassAssignmentCandidates(BOARD self) -> STRINGSET"""
19592 return _pcbnew.BOARD_GetNetClassAssignmentCandidates(self)
19595 r"""SynchronizeNetsAndNetClasses(BOARD self, bool aResetTrackAndViaSizes)"""
19596 return _pcbnew.BOARD_SynchronizeNetsAndNetClasses(self, aResetTrackAndViaSizes)
19599 r"""SynchronizeProperties(BOARD self)"""
19600 return _pcbnew.BOARD_SynchronizeProperties(self)
19603 r"""SetAreasNetCodesFromNetNames(BOARD self) -> int"""
19604 return _pcbnew.BOARD_SetAreasNetCodesFromNetNames(self)
19607 r"""GetArea(BOARD self, int index) -> ZONE"""
19608 return _pcbnew.BOARD_GetArea(self, index)
19611 r"""GetZoneList(BOARD self, bool aIncludeZonesInFootprints=False) -> std::list< ZONE *,std::allocator< ZONE * > >"""
19612 return _pcbnew.BOARD_GetZoneList(self, aIncludeZonesInFootprints)
19615 r"""GetAreaCount(BOARD self) -> int"""
19616 return _pcbnew.BOARD_GetAreaCount(self)
19618 def AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch):
19619 r"""AddArea(BOARD self, PICKED_ITEMS_LIST * aNewZonesList, int aNetcode, PCB_LAYER_ID aLayer, VECTOR2I aStartPointPosition, ZONE_BORDER_DISPLAY_STYLE aHatch) -> ZONE"""
19620 return _pcbnew.BOARD_AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch)
19623 r"""TestZoneIntersection(BOARD self, ZONE aZone1, ZONE aZone2) -> bool"""
19624 return _pcbnew.BOARD_TestZoneIntersection(self, aZone1, aZone2)
19627 r"""GetPadFast(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD"""
19628 return _pcbnew.BOARD_GetPadFast(self, aPosition, aLayerMask)
19632 GetPad(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD
19633 GetPad(BOARD self, VECTOR2I aPosition) -> PAD
19634 GetPad(BOARD self, PCB_TRACK aTrace, ENDPOINT_T aEndPoint) -> PAD
19635 GetPad(BOARD self, PADS_VEC aPadList, VECTOR2I aPosition, LSET aLayerMask) -> PAD
19637 return _pcbnew.BOARD_GetPad(self, *args)
19640 r"""GetSortedPadListByXthenYCoord(BOARD self, PADS_VEC aVector, int aNetCode=-1)"""
19641 return _pcbnew.BOARD_GetSortedPadListByXthenYCoord(self, aVector, aNetCode)
19644 r"""GetTrackLength(BOARD self, PCB_TRACK aTrack) -> std::tuple< int,double,double >"""
19645 return _pcbnew.BOARD_GetTrackLength(self, aTrack)
19648 r"""TracksInNet(BOARD self, int aNetCode) -> TRACKS"""
19649 return _pcbnew.BOARD_TracksInNet(self, aNetCode)
19651 def GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked=False):
19652 r"""GetFootprint(BOARD self, VECTOR2I aPosition, PCB_LAYER_ID aActiveLayer, bool aVisibleOnly, bool aIgnoreLocked=False) -> FOOTPRINT"""
19653 return _pcbnew.BOARD_GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked)
19656 r"""GetMaxClearanceValue(BOARD self) -> int"""
19657 return _pcbnew.BOARD_GetMaxClearanceValue(self)
19660 r"""MapNets(BOARD self, BOARD aDestBoard)"""
19661 return _pcbnew.BOARD_MapNets(self, aDestBoard)
19664 r"""SanitizeNetcodes(BOARD self)"""
19665 return _pcbnew.BOARD_SanitizeNetcodes(self)
19668 r"""AddListener(BOARD self, BOARD_LISTENER aListener)"""
19669 return _pcbnew.BOARD_AddListener(self, aListener)
19672 r"""RemoveListener(BOARD self, BOARD_LISTENER aListener)"""
19673 return _pcbnew.BOARD_RemoveListener(self, aListener)
19676 r"""RemoveAllListeners(BOARD self)"""
19677 return _pcbnew.BOARD_RemoveAllListeners(self)
19680 r"""OnItemChanged(BOARD self, BOARD_ITEM aItem)"""
19681 return _pcbnew.BOARD_OnItemChanged(self, aItem)
19684 r"""OnItemsChanged(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aItems)"""
19685 return _pcbnew.BOARD_OnItemsChanged(self, aItems)
19688 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)"""
19689 return _pcbnew.BOARD_OnItemsCompositeUpdate(self, aAddedItems, aRemovedItems, aChangedItems)
19692 r"""OnRatsnestChanged(BOARD self)"""
19693 return _pcbnew.BOARD_OnRatsnestChanged(self)
19696 r"""GroupsSanityCheck(BOARD self, bool repair=False) -> wxString"""
19697 return _pcbnew.BOARD_GroupsSanityCheck(self, repair)
19700 r"""GroupsSanityCheckInternal(BOARD self, bool repair) -> wxString"""
19701 return _pcbnew.BOARD_GroupsSanityCheckInternal(self, repair)
19704 r"""GroupLegalOps(BOARD self, PCB_SELECTION const & selection) -> BOARD::GroupLegalOpsField"""
19705 return _pcbnew.BOARD_GroupLegalOps(self, selection)
19708 r"""LegacyTeardrops(BOARD self) -> bool"""
19709 return _pcbnew.BOARD_LegacyTeardrops(self)
19712 r"""SetLegacyTeardrops(BOARD self, bool aFlag)"""
19713 return _pcbnew.BOARD_SetLegacyTeardrops(self, aFlag)
19720 return _pcbnew.BOARD_GetEmbeddedFiles(self, *args)
19723 r"""EmbedFonts(BOARD self)"""
19724 return _pcbnew.BOARD_EmbedFonts(self)
19727 r"""GetComponentClassManager(BOARD self) -> COMPONENT_CLASS_MANAGER &"""
19728 return _pcbnew.BOARD_GetComponentClassManager(self)
19729 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)>""")
19730 m_maxClearanceValue = property(_pcbnew.BOARD_m_maxClearanceValue_get, _pcbnew.BOARD_m_maxClearanceValue_set, doc=
r"""m_maxClearanceValue : std::optional<(int)>""")
19731 m_SolderMaskBridges = property(_pcbnew.BOARD_m_SolderMaskBridges_get, _pcbnew.BOARD_m_SolderMaskBridges_set, doc=
r"""m_SolderMaskBridges : p.ZONE""")
19732 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)>)>)>)>)>)>""")
19738 self.
this.append(this)
19765 Return a dictionary like object with key:wxString netname
and value:NETINFO_ITEM
19771 Return a dictionary like object with key:int netcode
and value:NETINFO_ITEM
19777 Given a netname, return its netcode
19780 return net.GetNetCode()
19784 Return a dictionary like object with net_class_name
as key
and NETCLASSPTR
as value
19785 GetNetClasses(BOARD self) -> { wxString net_class_name : NETCLASSPTR }
19786 Include the
"Default" netclass also.
19792 netclassmap[
'Default'] = self.
GetDesignSettings().m_NetSettings.GetDefaultNetclass()
19797_pcbnew.BOARD_swigregister(BOARD)
19799 r"""Proxy of C++ std::map< wxString,wxString > class."""
19801 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19802 __repr__ = _swig_repr
19805 r"""iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
19806 return _pcbnew.MAP_STRING_STRING_iterator(self)
19811 r"""__nonzero__(MAP_STRING_STRING self) -> bool"""
19812 return _pcbnew.MAP_STRING_STRING___nonzero__(self)
19815 r"""__bool__(MAP_STRING_STRING self) -> bool"""
19816 return _pcbnew.MAP_STRING_STRING___bool__(self)
19819 r"""__len__(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
19820 return _pcbnew.MAP_STRING_STRING___len__(self)
19831 r"""__getitem__(MAP_STRING_STRING self, wxString key) -> wxString"""
19832 return _pcbnew.MAP_STRING_STRING___getitem__(self, key)
19835 r"""__delitem__(MAP_STRING_STRING self, wxString key)"""
19836 return _pcbnew.MAP_STRING_STRING___delitem__(self, key)
19839 r"""has_key(MAP_STRING_STRING self, wxString key) -> bool"""
19840 return _pcbnew.MAP_STRING_STRING_has_key(self, key)
19843 r"""keys(MAP_STRING_STRING self) -> PyObject *"""
19844 return _pcbnew.MAP_STRING_STRING_keys(self)
19847 r"""values(MAP_STRING_STRING self) -> PyObject *"""
19848 return _pcbnew.MAP_STRING_STRING_values(self)
19851 r"""items(MAP_STRING_STRING self) -> PyObject *"""
19852 return _pcbnew.MAP_STRING_STRING_items(self)
19855 r"""__contains__(MAP_STRING_STRING self, wxString key) -> bool"""
19856 return _pcbnew.MAP_STRING_STRING___contains__(self, key)
19859 r"""key_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
19860 return _pcbnew.MAP_STRING_STRING_key_iterator(self)
19863 r"""value_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
19864 return _pcbnew.MAP_STRING_STRING_value_iterator(self)
19868 __setitem__(MAP_STRING_STRING self, wxString key)
19869 __setitem__(MAP_STRING_STRING self, wxString key, wxString x)
19871 return _pcbnew.MAP_STRING_STRING___setitem__(self, *args)
19874 r"""asdict(MAP_STRING_STRING self) -> PyObject *"""
19875 return _pcbnew.MAP_STRING_STRING_asdict(self)
19879 __init__(MAP_STRING_STRING self, std::less< wxString > const & other) -> MAP_STRING_STRING
19880 __init__(MAP_STRING_STRING self) -> MAP_STRING_STRING
19881 __init__(MAP_STRING_STRING self, MAP_STRING_STRING other) -> MAP_STRING_STRING
19883 _pcbnew.MAP_STRING_STRING_swiginit(self, _pcbnew.new_MAP_STRING_STRING(*args))
19886 r"""empty(MAP_STRING_STRING self) -> bool"""
19887 return _pcbnew.MAP_STRING_STRING_empty(self)
19890 r"""size(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
19891 return _pcbnew.MAP_STRING_STRING_size(self)
19894 r"""swap(MAP_STRING_STRING self, MAP_STRING_STRING v)"""
19895 return _pcbnew.MAP_STRING_STRING_swap(self, v)
19898 r"""begin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
19899 return _pcbnew.MAP_STRING_STRING_begin(self)
19902 r"""end(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
19903 return _pcbnew.MAP_STRING_STRING_end(self)
19906 r"""rbegin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
19907 return _pcbnew.MAP_STRING_STRING_rbegin(self)
19910 r"""rend(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
19911 return _pcbnew.MAP_STRING_STRING_rend(self)
19914 r"""clear(MAP_STRING_STRING self)"""
19915 return _pcbnew.MAP_STRING_STRING_clear(self)
19918 r"""get_allocator(MAP_STRING_STRING self) -> std::map< wxString,wxString >::allocator_type"""
19919 return _pcbnew.MAP_STRING_STRING_get_allocator(self)
19922 r"""count(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type"""
19923 return _pcbnew.MAP_STRING_STRING_count(self, x)
19927 erase(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type
19928 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator position)
19929 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator first, std::map< wxString,wxString >::iterator last)
19931 return _pcbnew.MAP_STRING_STRING_erase(self, *args)
19934 r"""find(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
19935 return _pcbnew.MAP_STRING_STRING_find(self, x)
19938 r"""lower_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
19939 return _pcbnew.MAP_STRING_STRING_lower_bound(self, x)
19942 r"""upper_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
19943 return _pcbnew.MAP_STRING_STRING_upper_bound(self, x)
19944 __swig_destroy__ = _pcbnew.delete_MAP_STRING_STRING
19947_pcbnew.MAP_STRING_STRING_swigregister(MAP_STRING_STRING)
19948DO_NOT_INCLUDE_NPTH = _pcbnew.DO_NOT_INCLUDE_NPTH
19950INCLUDE_NPTH = _pcbnew.INCLUDE_NPTH
19952FP_THROUGH_HOLE = _pcbnew.FP_THROUGH_HOLE
19954FP_SMD = _pcbnew.FP_SMD
19956FP_EXCLUDE_FROM_POS_FILES = _pcbnew.FP_EXCLUDE_FROM_POS_FILES
19958FP_EXCLUDE_FROM_BOM = _pcbnew.FP_EXCLUDE_FROM_BOM
19960FP_BOARD_ONLY = _pcbnew.FP_BOARD_ONLY
19962FP_JUST_ADDED = _pcbnew.FP_JUST_ADDED
19964FP_ALLOW_SOLDERMASK_BRIDGES = _pcbnew.FP_ALLOW_SOLDERMASK_BRIDGES
19966FP_ALLOW_MISSING_COURTYARD = _pcbnew.FP_ALLOW_MISSING_COURTYARD
19968FP_DNP = _pcbnew.FP_DNP
19971 r"""Proxy of C++ FP_3DMODEL class."""
19973 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19974 __repr__ = _swig_repr
19977 r"""__init__(FP_3DMODEL self) -> FP_3DMODEL"""
19978 _pcbnew.FP_3DMODEL_swiginit(self, _pcbnew.new_FP_3DMODEL())
19979 m_Scale = property(_pcbnew.FP_3DMODEL_m_Scale_get, _pcbnew.FP_3DMODEL_m_Scale_set, doc=
r"""m_Scale : VECTOR3D""")
19980 m_Rotation = property(_pcbnew.FP_3DMODEL_m_Rotation_get, _pcbnew.FP_3DMODEL_m_Rotation_set, doc=
r"""m_Rotation : VECTOR3D""")
19981 m_Offset = property(_pcbnew.FP_3DMODEL_m_Offset_get, _pcbnew.FP_3DMODEL_m_Offset_set, doc=
r"""m_Offset : VECTOR3D""")
19982 m_Opacity = property(_pcbnew.FP_3DMODEL_m_Opacity_get, _pcbnew.FP_3DMODEL_m_Opacity_set, doc=
r"""m_Opacity : double""")
19983 m_Filename = property(_pcbnew.FP_3DMODEL_m_Filename_get, _pcbnew.FP_3DMODEL_m_Filename_set, doc=
r"""m_Filename : wxString""")
19984 m_Show = property(_pcbnew.FP_3DMODEL_m_Show_get, _pcbnew.FP_3DMODEL_m_Show_set, doc=
r"""m_Show : bool""")
19987 r"""__eq__(FP_3DMODEL self, FP_3DMODEL aOther) -> bool"""
19988 return _pcbnew.FP_3DMODEL___eq__(self, aOther)
19989 __swig_destroy__ = _pcbnew.delete_FP_3DMODEL
19992_pcbnew.FP_3DMODEL_swigregister(FP_3DMODEL)
19994 r"""Proxy of C++ FOOTPRINT class."""
19996 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19997 __repr__ = _swig_repr
20001 __init__(FOOTPRINT self, BOARD parent) -> FOOTPRINT
20002 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
20003 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
20005 _pcbnew.FOOTPRINT_swiginit(self, _pcbnew.new_FOOTPRINT(*args))
20006 __swig_destroy__ = _pcbnew.delete_FOOTPRINT
20009 r"""Serialize(FOOTPRINT self, google::protobuf::Any & aContainer)"""
20010 return _pcbnew.FOOTPRINT_Serialize(self, aContainer)
20013 r"""Deserialize(FOOTPRINT self, google::protobuf::Any const & aContainer) -> bool"""
20014 return _pcbnew.FOOTPRINT_Deserialize(self, aContainer)
20018 r"""ClassOf(EDA_ITEM aItem) -> bool"""
20019 return _pcbnew.FOOTPRINT_ClassOf(aItem)
20022 r"""GetPrivateLayers(FOOTPRINT self) -> LSET"""
20023 return _pcbnew.FOOTPRINT_GetPrivateLayers(self)
20026 r"""SetPrivateLayers(FOOTPRINT self, LSET aLayers)"""
20027 return _pcbnew.FOOTPRINT_SetPrivateLayers(self, aLayers)
20030 r"""AddNative(FOOTPRINT self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
20031 return _pcbnew.FOOTPRINT_AddNative(self, *args)
20034 r"""RemoveNative(FOOTPRINT self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
20035 return _pcbnew.FOOTPRINT_RemoveNative(self, *args)
20038 r"""ClearAllNets(FOOTPRINT self)"""
20039 return _pcbnew.FOOTPRINT_ClearAllNets(self)
20042 r"""FixUuids(FOOTPRINT self) -> bool"""
20043 return _pcbnew.FOOTPRINT_FixUuids(self)
20046 r"""GetFpPadsLocalBbox(FOOTPRINT self) -> BOX2I"""
20047 return _pcbnew.FOOTPRINT_GetFpPadsLocalBbox(self)
20050 r"""GetBoundingHull(FOOTPRINT self) -> SHAPE_POLY_SET"""
20051 return _pcbnew.FOOTPRINT_GetBoundingHull(self)
20054 r"""TextOnly(FOOTPRINT self) -> bool"""
20055 return _pcbnew.FOOTPRINT_TextOnly(self)
20058 r"""GetLayerBoundingBox(FOOTPRINT self, LSET aLayers) -> BOX2I"""
20059 return _pcbnew.FOOTPRINT_GetLayerBoundingBox(self, aLayers)
20063 Fields(FOOTPRINT self) -> PCB_FIELDS
20064 Fields(FOOTPRINT self) -> PCB_FIELDS
20066 return _pcbnew.FOOTPRINT_Fields(self, *args)
20070 Pads(FOOTPRINT self) -> PADS
20071 Pads(FOOTPRINT self) -> PADS
20073 return _pcbnew.FOOTPRINT_Pads(self, *args)
20080 return _pcbnew.FOOTPRINT_GraphicalItems(self, *args)
20084 Zones(FOOTPRINT self) -> ZONES
20085 Zones(FOOTPRINT self) -> ZONES
20087 return _pcbnew.FOOTPRINT_Zones(self, *args)
20091 Groups(FOOTPRINT self) -> GROUPS
20092 Groups(FOOTPRINT self) -> GROUPS
20094 return _pcbnew.FOOTPRINT_Groups(self, *args)
20097 r"""HasThroughHolePads(FOOTPRINT self) -> bool"""
20098 return _pcbnew.FOOTPRINT_HasThroughHolePads(self)
20102 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
20103 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
20105 return _pcbnew.FOOTPRINT_Models(self, *args)
20108 r"""SetOrientation(FOOTPRINT self, EDA_ANGLE aNewAngle)"""
20109 return _pcbnew.FOOTPRINT_SetOrientation(self, aNewAngle)
20112 r"""GetOrientation(FOOTPRINT self) -> EDA_ANGLE"""
20113 return _pcbnew.FOOTPRINT_GetOrientation(self)
20116 r"""SetLayerAndFlip(FOOTPRINT self, PCB_LAYER_ID aLayer)"""
20117 return _pcbnew.FOOTPRINT_SetLayerAndFlip(self, aLayer)
20120 r"""SetOrientationDegrees(FOOTPRINT self, double aOrientation)"""
20121 return _pcbnew.FOOTPRINT_SetOrientationDegrees(self, aOrientation)
20124 r"""GetOrientationDegrees(FOOTPRINT self) -> double"""
20125 return _pcbnew.FOOTPRINT_GetOrientationDegrees(self)
20128 r"""GetFPID(FOOTPRINT self) -> LIB_ID"""
20129 return _pcbnew.FOOTPRINT_GetFPID(self)
20132 r"""SetFPID(FOOTPRINT self, LIB_ID aFPID)"""
20133 return _pcbnew.FOOTPRINT_SetFPID(self, aFPID)
20136 r"""GetFPIDAsString(FOOTPRINT self) -> wxString"""
20137 return _pcbnew.FOOTPRINT_GetFPIDAsString(self)
20140 r"""SetFPIDAsString(FOOTPRINT self, wxString aFPID)"""
20141 return _pcbnew.FOOTPRINT_SetFPIDAsString(self, aFPID)
20144 r"""GetLibDescription(FOOTPRINT self) -> wxString"""
20145 return _pcbnew.FOOTPRINT_GetLibDescription(self)
20148 r"""SetLibDescription(FOOTPRINT self, wxString aDesc)"""
20149 return _pcbnew.FOOTPRINT_SetLibDescription(self, aDesc)
20152 r"""GetKeywords(FOOTPRINT self) -> wxString"""
20153 return _pcbnew.FOOTPRINT_GetKeywords(self)
20156 r"""SetKeywords(FOOTPRINT self, wxString aKeywords)"""
20157 return _pcbnew.FOOTPRINT_SetKeywords(self, aKeywords)
20160 r"""GetPath(FOOTPRINT self) -> KIID_PATH"""
20161 return _pcbnew.FOOTPRINT_GetPath(self)
20164 r"""SetPath(FOOTPRINT self, KIID_PATH aPath)"""
20165 return _pcbnew.FOOTPRINT_SetPath(self, aPath)
20168 r"""GetSheetname(FOOTPRINT self) -> wxString"""
20169 return _pcbnew.FOOTPRINT_GetSheetname(self)
20172 r"""SetSheetname(FOOTPRINT self, wxString aSheetname)"""
20173 return _pcbnew.FOOTPRINT_SetSheetname(self, aSheetname)
20176 r"""GetSheetfile(FOOTPRINT self) -> wxString"""
20177 return _pcbnew.FOOTPRINT_GetSheetfile(self)
20180 r"""SetSheetfile(FOOTPRINT self, wxString aSheetfile)"""
20181 return _pcbnew.FOOTPRINT_SetSheetfile(self, aSheetfile)
20184 r"""GetFilters(FOOTPRINT self) -> wxString"""
20185 return _pcbnew.FOOTPRINT_GetFilters(self)
20188 r"""SetFilters(FOOTPRINT self, wxString aFilters)"""
20189 return _pcbnew.FOOTPRINT_SetFilters(self, aFilters)
20192 r"""SetLocalClearance(FOOTPRINT self, std::optional< int > aClearance)"""
20193 return _pcbnew.FOOTPRINT_SetLocalClearance(self, aClearance)
20196 r"""GetLocalSolderMaskMargin(FOOTPRINT self) -> std::optional< int >"""
20197 return _pcbnew.FOOTPRINT_GetLocalSolderMaskMargin(self)
20200 r"""SetLocalSolderMaskMargin(FOOTPRINT self, std::optional< int > aMargin)"""
20201 return _pcbnew.FOOTPRINT_SetLocalSolderMaskMargin(self, aMargin)
20204 r"""GetLocalSolderPasteMargin(FOOTPRINT self) -> std::optional< int >"""
20205 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMargin(self)
20208 r"""SetLocalSolderPasteMargin(FOOTPRINT self, std::optional< int > aMargin)"""
20209 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMargin(self, aMargin)
20212 r"""GetLocalSolderPasteMarginRatio(FOOTPRINT self) -> std::optional< double >"""
20213 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMarginRatio(self)
20216 r"""SetLocalSolderPasteMarginRatio(FOOTPRINT self, std::optional< double > aRatio)"""
20217 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMarginRatio(self, aRatio)
20220 r"""SetLocalZoneConnection(FOOTPRINT self, ZONE_CONNECTION aType)"""
20221 return _pcbnew.FOOTPRINT_SetLocalZoneConnection(self, aType)
20224 r"""GetLocalZoneConnection(FOOTPRINT self) -> ZONE_CONNECTION"""
20225 return _pcbnew.FOOTPRINT_GetLocalZoneConnection(self)
20228 r"""GetAttributes(FOOTPRINT self) -> int"""
20229 return _pcbnew.FOOTPRINT_GetAttributes(self)
20232 r"""SetAttributes(FOOTPRINT self, int aAttributes)"""
20233 return _pcbnew.FOOTPRINT_SetAttributes(self, aAttributes)
20236 r"""SetFlag(FOOTPRINT self, int aFlag)"""
20237 return _pcbnew.FOOTPRINT_SetFlag(self, aFlag)
20240 r"""IncrementFlag(FOOTPRINT self)"""
20241 return _pcbnew.FOOTPRINT_IncrementFlag(self)
20244 r"""GetFlag(FOOTPRINT self) -> int"""
20245 return _pcbnew.FOOTPRINT_GetFlag(self)
20248 r"""IsNetTie(FOOTPRINT self) -> bool"""
20249 return _pcbnew.FOOTPRINT_IsNetTie(self)
20256 return _pcbnew.FOOTPRINT_GetLocalClearance(self, *args)
20259 r"""GetClearanceOverrides(FOOTPRINT self, wxString aSource) -> std::optional< int >"""
20260 return _pcbnew.FOOTPRINT_GetClearanceOverrides(self, aSource)
20263 r"""GetZoneConnectionOverrides(FOOTPRINT self, wxString aSource) -> ZONE_CONNECTION"""
20264 return _pcbnew.FOOTPRINT_GetZoneConnectionOverrides(self, aSource)
20267 r"""GetNetTiePadGroups(FOOTPRINT self) -> std::vector< wxString,std::allocator< wxString > > const &"""
20268 return _pcbnew.FOOTPRINT_GetNetTiePadGroups(self)
20271 r"""ClearNetTiePadGroups(FOOTPRINT self)"""
20272 return _pcbnew.FOOTPRINT_ClearNetTiePadGroups(self)
20275 r"""AddNetTiePadGroup(FOOTPRINT self, wxString aGroup)"""
20276 return _pcbnew.FOOTPRINT_AddNetTiePadGroup(self, aGroup)
20279 r"""MapPadNumbersToNetTieGroups(FOOTPRINT self) -> std::map< wxString,int,std::less< wxString >,std::allocator< std::pair< wxString const,int > > >"""
20280 return _pcbnew.FOOTPRINT_MapPadNumbersToNetTieGroups(self)
20283 r"""GetNetTiePads(FOOTPRINT self, PAD aPad) -> PADS_VEC"""
20284 return _pcbnew.FOOTPRINT_GetNetTiePads(self, aPad)
20287 r"""GetLikelyAttribute(FOOTPRINT self) -> int"""
20288 return _pcbnew.FOOTPRINT_GetLikelyAttribute(self)
20291 r"""MoveAnchorPosition(FOOTPRINT self, VECTOR2I aMoveVector)"""
20292 return _pcbnew.FOOTPRINT_MoveAnchorPosition(self, aMoveVector)
20295 r"""IsFlipped(FOOTPRINT self) -> bool"""
20296 return _pcbnew.FOOTPRINT_IsFlipped(self)
20299 r"""GetSide(FOOTPRINT self) -> PCB_LAYER_ID"""
20300 return _pcbnew.FOOTPRINT_GetSide(self)
20303 r"""IsConflicting(FOOTPRINT self) -> bool"""
20304 return _pcbnew.FOOTPRINT_IsConflicting(self)
20307 r"""IsPlaced(FOOTPRINT self) -> bool"""
20308 return _pcbnew.FOOTPRINT_IsPlaced(self)
20311 r"""SetIsPlaced(FOOTPRINT self, bool isPlaced)"""
20312 return _pcbnew.FOOTPRINT_SetIsPlaced(self, isPlaced)
20315 r"""NeedsPlaced(FOOTPRINT self) -> bool"""
20316 return _pcbnew.FOOTPRINT_NeedsPlaced(self)
20319 r"""SetNeedsPlaced(FOOTPRINT self, bool needsPlaced)"""
20320 return _pcbnew.FOOTPRINT_SetNeedsPlaced(self, needsPlaced)
20323 r"""LegacyPadsLocked(FOOTPRINT self) -> bool"""
20324 return _pcbnew.FOOTPRINT_LegacyPadsLocked(self)
20327 r"""CheckFootprintAttributes(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
20328 return _pcbnew.FOOTPRINT_CheckFootprintAttributes(self, aErrorHandler)
20331 r"""CheckPads(FOOTPRINT self, UNITS_PROVIDER aUnitsProvider, std::function< void (PAD const *,int,wxString const &) > const & aErrorHandler)"""
20332 return _pcbnew.FOOTPRINT_CheckPads(self, aUnitsProvider, aErrorHandler)
20335 r"""CheckShortingPads(FOOTPRINT self, std::function< void (PAD const *,PAD const *,int,VECTOR2I const &) > const & aErrorHandler)"""
20336 return _pcbnew.FOOTPRINT_CheckShortingPads(self, aErrorHandler)
20339 r"""CheckNetTies(FOOTPRINT self, std::function< void (BOARD_ITEM const *,BOARD_ITEM const *,BOARD_ITEM const *,VECTOR2I const &) > const & aErrorHandler)"""
20340 return _pcbnew.FOOTPRINT_CheckNetTies(self, aErrorHandler)
20343 r"""CheckNetTiePadGroups(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
20344 return _pcbnew.FOOTPRINT_CheckNetTiePadGroups(self, aErrorHandler)
20347 r"""BuildNetTieCache(FOOTPRINT self)"""
20348 return _pcbnew.FOOTPRINT_BuildNetTieCache(self)
20351 r"""GetNetTieCache(FOOTPRINT self, BOARD_ITEM aItem) -> std::set< int,std::less< int >,std::allocator< int > > const &"""
20352 return _pcbnew.FOOTPRINT_GetNetTieCache(self, aItem)
20354 def TransformPadsToPolySet(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper=False, aSkipPlatedPads=False, aSkipNonPlatedPads=False):
20355 r"""TransformPadsToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aSkipNPTHPadsWihNoCopper=False, bool aSkipPlatedPads=False, bool aSkipNonPlatedPads=False)"""
20356 return _pcbnew.FOOTPRINT_TransformPadsToPolySet(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper, aSkipPlatedPads, aSkipNonPlatedPads)
20358 def TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText=True, aIncludeShapes=True, aIncludePrivateItems=False):
20359 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)"""
20360 return _pcbnew.FOOTPRINT_TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText, aIncludeShapes, aIncludePrivateItems)
20363 r"""TransformFPTextToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
20364 return _pcbnew.FOOTPRINT_TransformFPTextToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc)
20367 r"""GetContextualTextVars(FOOTPRINT self, wxArrayString * aVars)"""
20368 return _pcbnew.FOOTPRINT_GetContextualTextVars(self, aVars)
20371 r"""ResolveTextVar(FOOTPRINT self, wxString token, int aDepth=0) -> bool"""
20372 return _pcbnew.FOOTPRINT_ResolveTextVar(self, token, aDepth)
20375 r"""HitTestAccurate(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool"""
20376 return _pcbnew.FOOTPRINT_HitTestAccurate(self, aPosition, aAccuracy)
20380 HitTest(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool
20381 HitTest(FOOTPRINT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
20383 return _pcbnew.FOOTPRINT_HitTest(self, *args)
20387 HitTestOnLayer(FOOTPRINT self, VECTOR2I aPosition, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
20388 HitTestOnLayer(FOOTPRINT self, BOX2I aRect, bool aContained, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
20390 return _pcbnew.FOOTPRINT_HitTestOnLayer(self, *args)
20393 r"""GetReference(FOOTPRINT self) -> wxString"""
20394 return _pcbnew.FOOTPRINT_GetReference(self)
20397 r"""SetReference(FOOTPRINT self, wxString aReference)"""
20398 return _pcbnew.FOOTPRINT_SetReference(self, aReference)
20401 r"""GetReferenceAsString(FOOTPRINT self) -> wxString"""
20402 return _pcbnew.FOOTPRINT_GetReferenceAsString(self)
20405 r"""IncrementReference(FOOTPRINT self, int aDelta)"""
20406 return _pcbnew.FOOTPRINT_IncrementReference(self, aDelta)
20409 r"""GetValue(FOOTPRINT self) -> wxString"""
20410 return _pcbnew.FOOTPRINT_GetValue(self)
20413 r"""SetValue(FOOTPRINT self, wxString aValue)"""
20414 return _pcbnew.FOOTPRINT_SetValue(self, aValue)
20417 r"""GetValueAsString(FOOTPRINT self) -> wxString"""
20418 return _pcbnew.FOOTPRINT_GetValueAsString(self)
20422 Value(FOOTPRINT self) -> PCB_FIELD
20423 Value(FOOTPRINT self) -> PCB_FIELD
20425 return _pcbnew.FOOTPRINT_Value(self, *args)
20432 return _pcbnew.FOOTPRINT_Reference(self, *args)
20436 GetField(FOOTPRINT self, MANDATORY_FIELD_T aFieldType) -> PCB_FIELD
20437 GetField(FOOTPRINT self, MANDATORY_FIELD_T aFieldNdx) -> PCB_FIELD
20439 return _pcbnew.FOOTPRINT_GetField(self, *args)
20442 r"""GetFieldById(FOOTPRINT self, int aFieldId) -> PCB_FIELD"""
20443 return _pcbnew.FOOTPRINT_GetFieldById(self, aFieldId)
20446 r"""GetFieldByName(FOOTPRINT self, wxString aFieldName) -> PCB_FIELD"""
20447 return _pcbnew.FOOTPRINT_GetFieldByName(self, aFieldName)
20450 r"""HasFieldByName(FOOTPRINT self, wxString aFieldName) -> bool"""
20451 return _pcbnew.FOOTPRINT_HasFieldByName(self, aFieldName)
20454 r"""GetFieldText(FOOTPRINT self, wxString aFieldName) -> wxString"""
20455 return _pcbnew.FOOTPRINT_GetFieldText(self, aFieldName)
20459 GetFields(FOOTPRINT self, std::vector< PCB_FIELD *,std::allocator< PCB_FIELD * > > & aVector, bool aVisibleOnly)
20460 GetFields(FOOTPRINT self) -> PCB_FIELDS
20461 GetFields(FOOTPRINT self) -> PCB_FIELDS
20463 return _pcbnew.FOOTPRINT_GetFields(self, *args)
20466 r"""AddField(FOOTPRINT self, PCB_FIELD aField) -> PCB_FIELD"""
20467 return _pcbnew.FOOTPRINT_AddField(self, aField)
20470 r"""RemoveField(FOOTPRINT self, wxString aFieldName)"""
20471 return _pcbnew.FOOTPRINT_RemoveField(self, aFieldName)
20474 r"""GetFieldCount(FOOTPRINT self) -> int"""
20475 return _pcbnew.FOOTPRINT_GetFieldCount(self)
20478 r"""ApplyDefaultSettings(FOOTPRINT self, BOARD board, bool aStyleFields, bool aStyleText, bool aStyleShapes)"""
20479 return _pcbnew.FOOTPRINT_ApplyDefaultSettings(self, board, aStyleFields, aStyleText, aStyleShapes)
20482 r"""IsBoardOnly(FOOTPRINT self) -> bool"""
20483 return _pcbnew.FOOTPRINT_IsBoardOnly(self)
20486 r"""SetBoardOnly(FOOTPRINT self, bool aIsBoardOnly=True)"""
20487 return _pcbnew.FOOTPRINT_SetBoardOnly(self, aIsBoardOnly)
20490 r"""IsExcludedFromPosFiles(FOOTPRINT self) -> bool"""
20491 return _pcbnew.FOOTPRINT_IsExcludedFromPosFiles(self)
20494 r"""SetExcludedFromPosFiles(FOOTPRINT self, bool aExclude=True)"""
20495 return _pcbnew.FOOTPRINT_SetExcludedFromPosFiles(self, aExclude)
20498 r"""IsExcludedFromBOM(FOOTPRINT self) -> bool"""
20499 return _pcbnew.FOOTPRINT_IsExcludedFromBOM(self)
20502 r"""SetExcludedFromBOM(FOOTPRINT self, bool aExclude=True)"""
20503 return _pcbnew.FOOTPRINT_SetExcludedFromBOM(self, aExclude)
20506 r"""AllowMissingCourtyard(FOOTPRINT self) -> bool"""
20507 return _pcbnew.FOOTPRINT_AllowMissingCourtyard(self)
20510 r"""SetAllowMissingCourtyard(FOOTPRINT self, bool aAllow=True)"""
20511 return _pcbnew.FOOTPRINT_SetAllowMissingCourtyard(self, aAllow)
20514 r"""IsDNP(FOOTPRINT self) -> bool"""
20515 return _pcbnew.FOOTPRINT_IsDNP(self)
20518 r"""SetDNP(FOOTPRINT self, bool aDNP=True)"""
20519 return _pcbnew.FOOTPRINT_SetDNP(self, aDNP)
20522 r"""SetFileFormatVersionAtLoad(FOOTPRINT self, int aVersion)"""
20523 return _pcbnew.FOOTPRINT_SetFileFormatVersionAtLoad(self, aVersion)
20526 r"""GetFileFormatVersionAtLoad(FOOTPRINT self) -> int"""
20527 return _pcbnew.FOOTPRINT_GetFileFormatVersionAtLoad(self)
20530 r"""FindPadByNumber(FOOTPRINT self, wxString aPadNumber, PAD aSearchAfterMe=None) -> PAD"""
20531 return _pcbnew.FOOTPRINT_FindPadByNumber(self, aPadNumber, aSearchAfterMe)
20534 r"""GetPad(FOOTPRINT self, VECTOR2I aPosition, LSET aLayerMask=LSET::AllLayersMask()) -> PAD"""
20535 return _pcbnew.FOOTPRINT_GetPad(self, *args)
20538 r"""GetPads(FOOTPRINT self, wxString aPadNumber, PAD aIgnore=None) -> std::vector< PAD const *,std::allocator< PAD const * > >"""
20539 return _pcbnew.FOOTPRINT_GetPads(self, aPadNumber, aIgnore)
20542 r"""GetPadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
20543 return _pcbnew.FOOTPRINT_GetPadCount(self, *args)
20546 r"""GetUniquePadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
20547 return _pcbnew.FOOTPRINT_GetUniquePadCount(self, *args)
20550 r"""GetUniquePadNumbers(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> STRINGSET"""
20551 return _pcbnew.FOOTPRINT_GetUniquePadNumbers(self, *args)
20554 r"""GetNextPadNumber(FOOTPRINT self, wxString aLastPadName) -> wxString"""
20555 return _pcbnew.FOOTPRINT_GetNextPadNumber(self, aLastPadName)
20558 r"""AutoPositionFields(FOOTPRINT self)"""
20559 return _pcbnew.FOOTPRINT_AutoPositionFields(self)
20562 r"""GetTypeName(FOOTPRINT self) -> wxString"""
20563 return _pcbnew.FOOTPRINT_GetTypeName(self)
20566 r"""GetArea(FOOTPRINT self, int aPadding=0) -> double"""
20567 return _pcbnew.FOOTPRINT_GetArea(self, aPadding)
20570 r"""GetLink(FOOTPRINT self) -> KIID"""
20571 return _pcbnew.FOOTPRINT_GetLink(self)
20574 r"""SetLink(FOOTPRINT self, KIID aLink)"""
20575 return _pcbnew.FOOTPRINT_SetLink(self, aLink)
20578 r"""DuplicateItem(FOOTPRINT self, BOARD_ITEM aItem, bool aAddToFootprint=False) -> BOARD_ITEM"""
20579 return _pcbnew.FOOTPRINT_DuplicateItem(self, aItem, aAddToFootprint)
20582 r"""Add3DModel(FOOTPRINT self, FP_3DMODEL a3DModel)"""
20583 return _pcbnew.FOOTPRINT_Add3DModel(self, a3DModel)
20586 r"""RunOnDescendants(FOOTPRINT self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
20587 return _pcbnew.FOOTPRINT_RunOnDescendants(self, aFunction, aDepth)
20590 r"""ViewGetLOD(FOOTPRINT self, int aLayer, KIGFX::VIEW * aView) -> double"""
20591 return _pcbnew.FOOTPRINT_ViewGetLOD(self, aLayer, aView)
20595 r"""IsLibNameValid(wxString aName) -> bool"""
20596 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
20600 r"""StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
20601 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
20604 r"""FootprintNeedsUpdate(FOOTPRINT self, FOOTPRINT aLibFP, int aCompareFlags=0, REPORTER * aReporter=None) -> bool"""
20605 return _pcbnew.FOOTPRINT_FootprintNeedsUpdate(self, aLibFP, aCompareFlags, aReporter)
20608 r"""SetInitialComments(FOOTPRINT self, wxArrayString * aInitialComments)"""
20609 return _pcbnew.FOOTPRINT_SetInitialComments(self, aInitialComments)
20612 r"""CoverageRatio(FOOTPRINT self, GENERAL_COLLECTOR const & aCollector) -> double"""
20613 return _pcbnew.FOOTPRINT_CoverageRatio(self, aCollector)
20617 r"""GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
20618 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
20621 r"""GetInitialComments(FOOTPRINT self) -> wxArrayString const *"""
20622 return _pcbnew.FOOTPRINT_GetInitialComments(self)
20625 r"""GetCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
20626 return _pcbnew.FOOTPRINT_GetCourtyard(self, aLayer)
20629 r"""GetCachedCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
20630 return _pcbnew.FOOTPRINT_GetCachedCourtyard(self, aLayer)
20633 r"""BuildCourtyardCaches(FOOTPRINT self, OUTLINE_ERROR_HANDLER * aErrorHandler=None)"""
20634 return _pcbnew.FOOTPRINT_BuildCourtyardCaches(self, aErrorHandler)
20637 r"""GetEffectiveShape(FOOTPRINT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
20638 return _pcbnew.FOOTPRINT_GetEffectiveShape(self, *args)
20645 return _pcbnew.FOOTPRINT_GetEmbeddedFiles(self, *args)
20648 r"""EmbedFonts(FOOTPRINT self)"""
20649 return _pcbnew.FOOTPRINT_EmbedFonts(self)
20652 r"""SetComponentClass(FOOTPRINT self, COMPONENT_CLASS const * aClass)"""
20653 return _pcbnew.FOOTPRINT_SetComponentClass(self, aClass)
20656 r"""GetComponentClass(FOOTPRINT self) -> COMPONENT_CLASS const *"""
20657 return _pcbnew.FOOTPRINT_GetComponentClass(self)
20660 r"""GetComponentClassAsString(FOOTPRINT self) -> wxString"""
20661 return _pcbnew.FOOTPRINT_GetComponentClassAsString(self)
20665 __eq__(FOOTPRINT self, BOARD_ITEM aOther) -> bool
20666 __eq__(FOOTPRINT self, FOOTPRINT aOther) -> bool
20668 return _pcbnew.FOOTPRINT___eq__(self, *args)
20680 """ Returns footprint fields name to text map. """
20682 return {str(field.GetName()): str(field.GetText())
for field
in fields}
20685 """ Returns footprint fields name to shown text map. """
20687 return {str(field.GetName()): str(field.GetShownText(
False))
for field
in fields}
20690 """ Returns Field text with a given key if it exists, throws KeyError otherwise. """
20694 raise KeyError(
"Field not found: " + key)
20697 """ Returns Field shown text with a given key if it exists, throws KeyError otherwise. """
20701 raise KeyError(
"Field not found: " + key)
20708 field.SetText(value)
20715 """ Sets footprint fields map. """
20716 for k, v
in fields.items():
20724 GetBoundingBox(FOOTPRINT self, bool aIncludeText, bool includeHiddenText) -> BOX2I
20726 return _pcbnew.FOOTPRINT_GetBoundingBox(self, *args)
20729_pcbnew.FOOTPRINT_swigregister(FOOTPRINT)
20730FP_is_LOCKED = _pcbnew.FP_is_LOCKED
20732FP_is_PLACED = _pcbnew.FP_is_PLACED
20734FP_to_PLACE = _pcbnew.FP_to_PLACE
20736FP_PADS_are_LOCKED = _pcbnew.FP_PADS_are_LOCKED
20740 r"""Proxy of C++ FOOTPRINT::cmp_drawings class."""
20742 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
20743 __repr__ = _swig_repr
20746 r"""__call__(cmp_drawings self, BOARD_ITEM itemA, BOARD_ITEM itemB) -> bool"""
20747 return _pcbnew.cmp_drawings___call__(self, itemA, itemB)
20750 r"""__init__(cmp_drawings self) -> cmp_drawings"""
20751 _pcbnew.cmp_drawings_swiginit(self, _pcbnew.new_cmp_drawings())
20752 __swig_destroy__ = _pcbnew.delete_cmp_drawings
20755_pcbnew.cmp_drawings_swigregister(cmp_drawings)
20757 r"""Proxy of C++ FOOTPRINT::cmp_pads class."""
20759 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
20760 __repr__ = _swig_repr
20763 r"""__call__(cmp_pads self, PAD aFirst, PAD aSecond) -> bool"""
20764 return _pcbnew.cmp_pads___call__(self, aFirst, aSecond)
20767 r"""__init__(cmp_pads self) -> cmp_pads"""
20768 _pcbnew.cmp_pads_swiginit(self, _pcbnew.new_cmp_pads())
20769 __swig_destroy__ = _pcbnew.delete_cmp_pads
20772_pcbnew.cmp_pads_swigregister(cmp_pads)
20774 r"""Proxy of C++ FOOTPRINT::cmp_zones class."""
20776 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
20777 __repr__ = _swig_repr
20780 r"""__call__(cmp_zones self, ZONE aFirst, ZONE aSecond) -> bool"""
20781 return _pcbnew.cmp_zones___call__(self, aFirst, aSecond)
20784 r"""__init__(cmp_zones self) -> cmp_zones"""
20785 _pcbnew.cmp_zones_swiginit(self, _pcbnew.new_cmp_zones())
20786 __swig_destroy__ = _pcbnew.delete_cmp_zones
20789_pcbnew.cmp_zones_swigregister(cmp_zones)
20791 r"""Proxy of C++ std::vector< FP_3DMODEL > class."""
20793 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
20794 __repr__ = _swig_repr
20797 r"""iterator(VECTOR_FP_3DMODEL self) -> SwigPyIterator"""
20798 return _pcbnew.VECTOR_FP_3DMODEL_iterator(self)
20803 r"""__nonzero__(VECTOR_FP_3DMODEL self) -> bool"""
20804 return _pcbnew.VECTOR_FP_3DMODEL___nonzero__(self)
20807 r"""__bool__(VECTOR_FP_3DMODEL self) -> bool"""
20808 return _pcbnew.VECTOR_FP_3DMODEL___bool__(self)
20811 r"""__len__(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
20812 return _pcbnew.VECTOR_FP_3DMODEL___len__(self)
20815 r"""__getslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j) -> VECTOR_FP_3DMODEL"""
20816 return _pcbnew.VECTOR_FP_3DMODEL___getslice__(self, i, j)
20820 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)
20821 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j, VECTOR_FP_3DMODEL v)
20823 return _pcbnew.VECTOR_FP_3DMODEL___setslice__(self, *args)
20826 r"""__delslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)"""
20827 return _pcbnew.VECTOR_FP_3DMODEL___delslice__(self, i, j)
20831 __delitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i)
20832 __delitem__(VECTOR_FP_3DMODEL self, SWIGPY_SLICEOBJECT * slice)
20834 return _pcbnew.VECTOR_FP_3DMODEL___delitem__(self, *args)
20838 __getitem__(VECTOR_FP_3DMODEL self, SWIGPY_SLICEOBJECT * slice) -> VECTOR_FP_3DMODEL
20839 __getitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i) -> FP_3DMODEL
20841 return _pcbnew.VECTOR_FP_3DMODEL___getitem__(self, *args)
20845 __setitem__(VECTOR_FP_3DMODEL self, SWIGPY_SLICEOBJECT * slice, VECTOR_FP_3DMODEL v)
20846 __setitem__(VECTOR_FP_3DMODEL self, SWIGPY_SLICEOBJECT * slice)
20847 __setitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, FP_3DMODEL x)
20849 return _pcbnew.VECTOR_FP_3DMODEL___setitem__(self, *args)
20852 r"""pop(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
20853 return _pcbnew.VECTOR_FP_3DMODEL_pop(self)
20856 r"""append(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
20857 return _pcbnew.VECTOR_FP_3DMODEL_append(self, x)
20860 r"""empty(VECTOR_FP_3DMODEL self) -> bool"""
20861 return _pcbnew.VECTOR_FP_3DMODEL_empty(self)
20864 r"""size(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
20865 return _pcbnew.VECTOR_FP_3DMODEL_size(self)
20868 r"""swap(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL v)"""
20869 return _pcbnew.VECTOR_FP_3DMODEL_swap(self, v)
20872 r"""begin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
20873 return _pcbnew.VECTOR_FP_3DMODEL_begin(self)
20876 r"""end(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
20877 return _pcbnew.VECTOR_FP_3DMODEL_end(self)
20880 r"""rbegin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
20881 return _pcbnew.VECTOR_FP_3DMODEL_rbegin(self)
20884 r"""rend(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
20885 return _pcbnew.VECTOR_FP_3DMODEL_rend(self)
20888 r"""clear(VECTOR_FP_3DMODEL self)"""
20889 return _pcbnew.VECTOR_FP_3DMODEL_clear(self)
20892 r"""get_allocator(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::allocator_type"""
20893 return _pcbnew.VECTOR_FP_3DMODEL_get_allocator(self)
20896 r"""pop_back(VECTOR_FP_3DMODEL self)"""
20897 return _pcbnew.VECTOR_FP_3DMODEL_pop_back(self)
20901 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos) -> std::vector< FP_3DMODEL >::iterator
20902 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator first, std::vector< FP_3DMODEL >::iterator last) -> std::vector< FP_3DMODEL >::iterator
20904 return _pcbnew.VECTOR_FP_3DMODEL_erase(self, *args)
20908 __init__(VECTOR_FP_3DMODEL self) -> VECTOR_FP_3DMODEL
20909 __init__(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL other) -> VECTOR_FP_3DMODEL
20910 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size) -> VECTOR_FP_3DMODEL
20911 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size, FP_3DMODEL value) -> VECTOR_FP_3DMODEL
20913 _pcbnew.VECTOR_FP_3DMODEL_swiginit(self, _pcbnew.new_VECTOR_FP_3DMODEL(*args))
20916 r"""push_back(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
20917 return _pcbnew.VECTOR_FP_3DMODEL_push_back(self, x)
20920 r"""front(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
20921 return _pcbnew.VECTOR_FP_3DMODEL_front(self)
20924 r"""back(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
20925 return _pcbnew.VECTOR_FP_3DMODEL_back(self)
20928 r"""assign(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)"""
20929 return _pcbnew.VECTOR_FP_3DMODEL_assign(self, n, x)
20933 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size)
20934 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size, FP_3DMODEL x)
20936 return _pcbnew.VECTOR_FP_3DMODEL_resize(self, *args)
20940 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, FP_3DMODEL x) -> std::vector< FP_3DMODEL >::iterator
20941 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)
20943 return _pcbnew.VECTOR_FP_3DMODEL_insert(self, *args)
20946 r"""reserve(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n)"""
20947 return _pcbnew.VECTOR_FP_3DMODEL_reserve(self, n)
20950 r"""capacity(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
20951 return _pcbnew.VECTOR_FP_3DMODEL_capacity(self)
20952 __swig_destroy__ = _pcbnew.delete_VECTOR_FP_3DMODEL
20955_pcbnew.VECTOR_FP_3DMODEL_swigregister(VECTOR_FP_3DMODEL)
20958 plugin_type = PCB_IO_MGR.GuessPluginTypeFromLibPath( libname );
20959 return PCB_IO_MGR.PluginFind(plugin_type)
20963 return plug.FootprintEnumerate(libname)
20967 return plug.FootprintLoad(libname,name,preserveUUID)
20971 return plug.FootprintSave(libname,module)
20975 plug.FootprintDelete(libname,name)
20979 plug.CreateLibrary(libname)
20983 plug.DeleteLibrary(libname)
20987 plug.FootprintLibIsWritable(libname)
20990 r"""Proxy of C++ PYTHON_FOOTPRINT_WIZARD_LIST class."""
20992 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
20993 __repr__ = _swig_repr
20997 r"""register_wizard(PyObject * wizard)"""
20998 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
21002 r"""deregister_wizard(PyObject * wizard)"""
21003 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
21006 r"""__init__(PYTHON_FOOTPRINT_WIZARD_LIST self) -> PYTHON_FOOTPRINT_WIZARD_LIST"""
21007 _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swiginit(self, _pcbnew.new_PYTHON_FOOTPRINT_WIZARD_LIST())
21008 __swig_destroy__ = _pcbnew.delete_PYTHON_FOOTPRINT_WIZARD_LIST
21011_pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swigregister(PYTHON_FOOTPRINT_WIZARD_LIST)
21013 r"""Proxy of C++ PYTHON_ACTION_PLUGINS class."""
21015 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
21016 __repr__ = _swig_repr
21020 r"""register_action(PyObject * wizard)"""
21021 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
21025 r"""deregister_action(PyObject * wizard)"""
21026 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
21029 r"""__init__(PYTHON_ACTION_PLUGINS self) -> PYTHON_ACTION_PLUGINS"""
21030 _pcbnew.PYTHON_ACTION_PLUGINS_swiginit(self, _pcbnew.new_PYTHON_ACTION_PLUGINS())
21031 __swig_destroy__ = _pcbnew.delete_PYTHON_ACTION_PLUGINS
21034_pcbnew.PYTHON_ACTION_PLUGINS_swigregister(PYTHON_ACTION_PLUGINS)
21037 if type(iu)
in [int,float]:
21038 return float(iu) / float(pcbIUScale.IU_PER_MM)
21039 elif type(iu)
in [wxPoint,wxSize,VECTOR2I,VECTOR2L]:
21040 return tuple(map(ToMM,iu))
21042 raise TypeError(
"ToMM() expects int, float, wxPoint, wxSize, VECTOR2I or VECTOR2L, instead got type " + str(
type(iu)))
21045 if type(mm)
in [int,float]:
21046 return int(float(mm) * float(pcbIUScale.IU_PER_MM))
21047 elif type(mm)
in [wxPoint,wxSize,VECTOR2I,VECTOR2L]:
21048 return tuple(map(FromMM,mm))
21050 raise TypeError(
"FromMM() expects int, float, wxPoint, wxSize, VECTOR2I or VECTOR2L, instead got type " + str(
type(mm)))
21053 if type(iu)
in [int,float]:
21054 return float(iu) / float(pcbIUScale.IU_PER_MILS)
21055 elif type(iu)
in [wxPoint,wxSize,VECTOR2I,VECTOR2L]:
21056 return tuple(map(ToMils,iu))
21058 raise TypeError(
"ToMils() expects int, float, wxPoint, wxSize, VECTOR2I or VECTOR2L, instead got type " + str(
type(iu)))
21061 if type(mils)
in [int,float]:
21062 return int(float(mils)*float(pcbIUScale.IU_PER_MILS))
21063 elif type(mils)
in [wxPoint,wxSize,VECTOR2I,VECTOR2L]:
21064 return tuple(map(FromMils,mils))
21066 raise TypeError(
"FromMils() expects int, float, wxPoint, wxSize, VECTOR2I or VECTOR2L, instead got type " + str(
type(mils)))
21069 thresh =
FromMM(gridSizeMM)
21070 return round(value/thresh)*thresh
21074 return round(value/thresh)*thresh
21099 return wxRect(x,y,wx,wy)
21106 return wxRect(x,y,wx,wy)
21110 """Return the semantic version of KiCad"""
21114 """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 GetNetClassVariableSubstitutionName(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 UseNetClassDiffPair(self)
def GetCurrentViaSize(self)
def GetCurrentDiffPairWidth(self)
def GetTeadropParamsList(self)
def SetBoardThickness(self, aThickness)
def GetBoardThickness(self)
def GetSeverity(self, aDRCErrorCode)
def GetCustomTrackWidth(self)
def GetCustomViaSize(self)
def GetHolePlatingThickness(self)
def GetBiggestClearanceValue(self)
def Ignore(self, aDRCErrorCode)
def CloneFrom(self, aOther)
def GetCurrentDiffPairGap(self)
def UseNetClassTrack(self)
def GetTrackWidthIndex(self)
def SetCustomTrackWidth(self, aWidth)
def SetDiffPairIndex(self, aIndex)
def GetTextUpright(self, aLayer)
def GetStackupDescriptor(self, *args)
def GetCustomDiffPairGap(self)
def GetCurrentNetClassName(self)
def GetDefaultZoneSettings(self)
def UseCustomTrackViaSize(self, *args)
def SetViaSizeIndex(self, aIndex)
def GetCurrentViaDrill(self)
def GetCustomDiffPairViaGap(self)
def SetCustomViaSize(self, aSize)
def SetGridOrigin(self, aOrigin)
def SetCustomViaDrill(self, aDrill)
def GetViaSizeIndex(self)
def GetSmallestClearanceValue(self)
def GetTextItalic(self, aLayer)
def GetCustomViaDrill(self)
def GetCurrentDiffPairViaGap(self)
def SetCopperLayerCount(self, aNewLayerCount)
def __init__(self, *args)
def GetTextThickness(self, aLayer)
def SetCustomDiffPairWidth(self, aWidth)
def SetTrackWidthIndex(self, aIndex)
def GetCopperLayerCount(self)
def GetCurrentTrackWidth(self)
def SetCustomDiffPairViaGap(self, aGap)
def DeleteNative(self, aItem)
def RemoveNative(self, *args)
def __init__(self, *args, **kwargs)
def AddNative(self, *args)
def IsOnLayer(self, aLayer)
def SetIsKnockout(self, aKnockout)
def Move(self, aMoveVector)
def SetStartEnd(self, start, end)
def SetParentGroup(self, aGroup)
def SetFPRelativePosition(self, aPos)
def 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, aDeletedItems)
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 GetFirstFootprint(self)
def GetOutlinesChainingEpsilon(self)
def ResolveTextVar(self, token, aDepth)
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 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 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 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 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 ClosestPointTo(self, aPoint)
def IntersectsCircleEdge(self, aCenter, aRadius, aWidth)
def __init__(self, *args)
def SetFromWxString(self, aColorString)
def LegacyMix(self, aColor)
def FromCSSRGBA(self, aRed, aGreen, aBlue, aAlpha=1.0)
def Darkened(self, aFactor)
def 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 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 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 AssignFont(self, aFont)
def SetVisible(self, aVisible)
def SetTextColor(self, aColor)
def SetTextAngle(self, aAngle)
def SwapAttributes(self, aTradingPartner)
def SetFontIndex(self, aIdx)
def ClearRenderCache(self)
def RemoveHyperlink(self)
def TextHitTest(self, *args)
def 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 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, aFootprint=None)
def GetTimestamp(aLibPath)
def __init__(self, *args)
def GenDrillReportFile(self, aFullFileName)
def SetMapFileFormat(self, aMapFmt)
def CreateMapFilesSet(self, aPlotDirectory, aReporter=None)
def __init__(self, *args, **kwargs)
def SetPageInfo(self, aPageInfo)
def SetMergeOption(self, aMerge)
def GetDrillFileExt(self)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def __setslice__(self, *args)
def __getitem__(self, *args)
def __init__(self, *args)
def __setitem__(self, *args)
def CreateJobFile(self, aFullFilename)
def __init__(self, aPcb, aReporter=None)
def WriteJSONJobFile(self, aFullFilename)
def AddGbrFile(self, aLayer, aFilename)
def SetFormat(self, aRightDigits=6)
def SetOptions(self, aOffset)
def CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter=None)
def __getitem__(self, *args)
def __delitem__(self, *args)
def __setitem__(self, *args)
def __getslice__(self, i, j)
def __init__(self, *args)
def __delslice__(self, i, j)
def __setslice__(self, *args)
def __init__(self, *args, **kwargs)
def __init__(self, *args)
def init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber)
def __init__(self, aPcb, aParent=None)
def Write(self, aFilename)
def MakeRelativeTo(self, aPath)
def EndsWith(self, aPath)
def __init__(self, *args)
def __setitem__(self, *args)
def __delitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def CreateNilUuids(aNil=True)
def ConvertTimestampToUuid(self)
def AsLegacyTimestampString(self)
def SniffTest(aCandidate)
def IsLegacyTimestamp(self)
def AsLegacyTimestamp(self)
def __init__(self, *args)
def __init__(self, *args)
def GetSubLibraryName(self)
def SetLibItemName(self, aLibItemName)
def HasIllegalChars(aLibItemName)
def GetUniStringLibId(self)
def SetSubLibraryName(self, aName)
def GetUniStringSubLibraryName(self)
def __init__(self, *args)
def FindIllegalLibraryNameChar(aLibraryName)
def FixIllegalChars(aLibItemName, aLib)
def GetFullLibraryName(self)
def Parse(self, aId, aFix=False)
def GetUniStringLibItemName(self)
def compare(self, aLibId)
def SetLibNickname(self, aLibNickname)
def GetUniStringLibNickname(self)
def __init__(self, *args, **kwargs)
def TestLayers(self, aRhs, aLhs)
def __init__(self, *args)
def Contains(self, aLayer)
def RemoveLayer(self, layer)
def Flip(self, aCopperLayersCount=0)
def addLayer(self, aLayer)
def SeqStackupForPlotting(self)
def AddLayer(self, layer)
def IsBetween(aStart, aEnd, aLayer)
def addLayerSet(self, aLayerSet)
def AllCuMask(aCuLayerCount=32)
def ForbiddenFootprintLayers()
def removeLayerSet(self, aLayerSet)
def AddLayerSet(self, layers)
def ParseHex(self, *args)
def __init__(self, *args)
def TechAndUserUIOrder(self)
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 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 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 GetVariableSubstitutionName(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 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 Compare(aPadRef, aPadCmp)
def GetLocalSolderPasteMargin(self)
def SetChamferRectRatio(self, *args)
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 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 SetThermalSpokeWidth(self, aWidth)
def SetSubRatsnest(self, aSubRatsnest)
def AddPrimitive(self, *args)
def GetPrimitives(self, aLayer)
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 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 CheckPad(self, aUnitsProvider, aErrorHandler)
def TransformHoleToPolygon(self, aBuffer, aClearance, aError, aErrorLoc=ERROR_INSIDE)
def GetThermalSpokeWidth(self)
def SetShape(self, *args)
def GetCustomShapeInZoneOpt(self)
def GetLocalThermalGapOverride(self, aSource=None)
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 __init__(self, *args)
def GetName(self, aUseDefaultName=True)
def GetCanonicalName(self)
def IsMandatoryField(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 PrefetchLib(self, aLibraryPath, aProperties=None)
def FootprintDelete(self, aLibraryPath, aFootprintName, aProperties=None)
def FootprintLibDelete(self, aLibraryPath, aProperties=None)
def FootprintLibCreate(self, aLibraryPath, aProperties=None)
def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None)
def GetImportedCachedLibraryFootprints(self)
def SetQueryUserCallback(self, aCallback)
def GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties=None)
def SaveBoard(self, aFileName, aBoard, aProperties=None)
def ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties=None)
def GetLibraryTimestamp(self, aLibraryPath)
def FootprintSave(self, aLibraryPath, aFootprint, aProperties=None)
def FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties=None)
def CanReadFootprint(self, aFileName)
def __init__(self, aItem, aPos, aLayer=F_Cu)
def 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 GetPlotInvisibleText(self)
def SetSvgPrecision(self, aPrecision)
def SetPlotFPText(self, aFlag)
def IsSameAs(self, aPcbPlotParams)
def SetUseAuxOrigin(self, aAux)
def SetSubtractMaskFromSilk(self, aSubtract)
def SetAutoScale(self, aFlag)
def GetLegacyPlotViaOnMaskLayer(self)
def GetPlotFrameRef(self)
def GetDXFPlotPolygonMode(self)
def GetIncludeGerberNetlistInfo(self)
def SetMirror(self, aFlag)
def GetSvgPrecision(self)
def GetUseAuxOrigin(self)
def SetDrillMarksType(self, aVal)
def GetFineScaleAdjustX(self)
def GetCreateGerberJobFile(self)
def GetOutputDirectory(self)
def GetHPGLPenSpeed(self)
def SetPlotFrameRef(self, aFlag)
def SetPlotInvisibleText(self, aFlag)
def GetDXFPlotUnits(self)
def GetDashedLineDashRatio(self)
def SetPlotOnAllLayersSelection(self, aSelection)
def SetIncludeGerberNetlistInfo(self, aUse)
def GetHideDNPFPsOnFabLayers(self)
def SetDisableGerberMacros(self, aDisable)
def SetSketchDNPFPsOnFabLayers(self, aFlag)
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 GetPlotOnAllLayersSelection(self)
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 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 Compare(aTable, aOther)
def GetRowHeight(self, aRow)
def SetPositionY(self, y)
def SetColCount(self, aCount)
def GetSeparatorsStroke(self)
def InsertCell(self, aIdx, aCell)
def GetSeparatorsStyle(self)
def SetStrokeHeader(self, aDoStroke)
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 GetAnchorAndOppositeCorner(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 __init__(self, aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX)
def GenPositionData(self)
def FlashPadTrapez(self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
def Bookmark(self, *args)
def SetNegative(self, aNegative)
def SetTextMode(self, mode)
def SetRenderSettings(self, aSettings)
def FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
def SetAuthor(self, aAuthor)
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 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 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 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 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 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 IsInnerCopperLayer(aLayerId)
def Cast_to_SHAPE_LINE_CHAIN(_self)
def IsNonCopperLayer(aLayerId)
def GetWizardsBackTrace()
def LoadPluginModule(Dirname, ModuleName, FileName)
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 FromUserUnit(aIuScale, aUnit, aValue)