7from sys
import version_info
as _swig_python_version_info
8if _swig_python_version_info < (2, 7, 0):
9 raise RuntimeError(
"Python 2.7 or later required")
12if __package__
or "." in __name__:
18 import builtins
as __builtin__
24 strthis =
"proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
30def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
35 set(self, name, value)
36 elif hasattr(self, name)
and isinstance(getattr(
type(self), name), property):
37 set(self, name, value)
39 raise AttributeError(
"You cannot add instance attributes to %s" % self)
40 return set_instance_attr
43def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value):
45 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
48 raise AttributeError(
"You cannot add class attributes to %s" % cls)
52def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
64class SwigPyIterator(
object):
65 r"""Proxy of C++ swig::SwigPyIterator class."""
67 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
69 def __init__(self, *args, **kwargs):
70 raise AttributeError(
"No constructor defined - class is abstract")
72 __swig_destroy__ = _pcbnew.delete_SwigPyIterator
75 r"""value(SwigPyIterator self) -> PyObject *"""
76 return _pcbnew.SwigPyIterator_value(self)
79 r"""incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
80 return _pcbnew.SwigPyIterator_incr(self, n)
83 r"""decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
84 return _pcbnew.SwigPyIterator_decr(self, n)
86 def distance(self, x):
87 r"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
88 return _pcbnew.SwigPyIterator_distance(self, x)
91 r"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
92 return _pcbnew.SwigPyIterator_equal(self, x)
95 r"""copy(SwigPyIterator self) -> SwigPyIterator"""
96 return _pcbnew.SwigPyIterator_copy(self)
99 r"""next(SwigPyIterator self) -> PyObject *"""
100 return _pcbnew.SwigPyIterator_next(self)
103 r"""__next__(SwigPyIterator self) -> PyObject *"""
104 return _pcbnew.SwigPyIterator___next__(self)
107 r"""previous(SwigPyIterator self) -> PyObject *"""
108 return _pcbnew.SwigPyIterator_previous(self)
110 def advance(self, n):
111 r"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
112 return _pcbnew.SwigPyIterator_advance(self, n)
115 r"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
116 return _pcbnew.SwigPyIterator___eq__(self, x)
119 r"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
120 return _pcbnew.SwigPyIterator___ne__(self, x)
122 def __iadd__(self, n):
123 r"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
124 return _pcbnew.SwigPyIterator___iadd__(self, n)
126 def __isub__(self, n):
127 r"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
128 return _pcbnew.SwigPyIterator___isub__(self, n)
130 def __add__(self, n):
131 r"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
132 return _pcbnew.SwigPyIterator___add__(self, n)
134 def __sub__(self, *args):
136 __sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
137 __sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
139 return _pcbnew.SwigPyIterator___sub__(self, *args)
144_pcbnew.SwigPyIterator_swigregister(SwigPyIterator)
147 r"""Proxy of C++ std::basic_string< char > class."""
149 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
150 __repr__ = _swig_repr
153 r"""length(string self) -> std::basic_string< char >::size_type"""
154 return _pcbnew.string_length(self)
157 r"""max_size(string self) -> std::basic_string< char >::size_type"""
158 return _pcbnew.string_max_size(self)
161 r"""capacity(string self) -> std::basic_string< char >::size_type"""
162 return _pcbnew.string_capacity(self)
165 r"""reserve(string self, std::basic_string< char >::size_type __res_arg=0)"""
166 return _pcbnew.string_reserve(self, __res_arg)
168 def copy(self, __s, __n, __pos=0):
169 r"""copy(string self, char * __s, std::basic_string< char >::size_type __n, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type"""
170 return _pcbnew.string_copy(self, __s, __n, __pos)
173 r"""c_str(string self) -> char const *"""
174 return _pcbnew.string_c_str(self)
178 find(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
179 find(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
180 find(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
182 return _pcbnew.string_find(self, *args)
186 rfind(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
187 rfind(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
188 rfind(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
190 return _pcbnew.string_rfind(self, *args)
194 find_first_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
195 find_first_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
196 find_first_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
198 return _pcbnew.string_find_first_of(self, *args)
202 find_last_of(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
203 find_last_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
204 find_last_of(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
206 return _pcbnew.string_find_last_of(self, *args)
210 find_first_not_of(string self, string __str, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
211 find_first_not_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
212 find_first_not_of(string self, char __c, std::basic_string< char >::size_type __pos=0) -> std::basic_string< char >::size_type
214 return _pcbnew.string_find_first_not_of(self, *args)
218 find_last_not_of(string self, string __str, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
219 find_last_not_of(string self, char const * __s, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> std::basic_string< char >::size_type
220 find_last_not_of(string self, char __c, std::basic_string< char >::size_type __pos=std::basic_string< char >::npos) -> std::basic_string< char >::size_type
222 return _pcbnew.string_find_last_not_of(self, *args)
225 r"""substr(string self, std::basic_string< char >::size_type __pos=0, std::basic_string< char >::size_type __n=std::basic_string< char >::npos) -> string"""
226 return _pcbnew.string_substr(self, *args)
229 r"""empty(string self) -> bool"""
230 return _pcbnew.string_empty(self)
233 r"""size(string self) -> std::basic_string< char >::size_type"""
234 return _pcbnew.string_size(self)
237 r"""swap(string self, string v)"""
238 return _pcbnew.string_swap(self, v)
241 r"""begin(string self) -> std::basic_string< char >::iterator"""
242 return _pcbnew.string_begin(self)
245 r"""end(string self) -> std::basic_string< char >::iterator"""
246 return _pcbnew.string_end(self)
249 r"""rbegin(string self) -> std::basic_string< char >::reverse_iterator"""
250 return _pcbnew.string_rbegin(self)
253 r"""rend(string self) -> std::basic_string< char >::reverse_iterator"""
254 return _pcbnew.string_rend(self)
257 r"""get_allocator(string self) -> std::basic_string< char >::allocator_type"""
258 return _pcbnew.string_get_allocator(self)
262 erase(string self, std::basic_string< char >::size_type __pos=0, std::basic_string< char >::size_type __n=std::basic_string< char >::npos) -> string
263 erase(string self, std::basic_string< char >::iterator pos) -> std::basic_string< char >::iterator
264 erase(string self, std::basic_string< char >::iterator first, std::basic_string< char >::iterator last) -> std::basic_string< char >::iterator
266 return _pcbnew.string_erase(self, *args)
270 __init__(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
272 __init__(string self, string other) -> string
273 __init__(string self, std::basic_string< char >::size_type size, std::basic_string< char >::value_type value) -> string
275 _pcbnew.string_swiginit(self, _pcbnew.new_string(*args))
279 assign(string self, string __str) -> string
280 assign(string self, string __str, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n) -> string
281 assign(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
282 assign(string self, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)
284 return _pcbnew.string_assign(self, *args)
288 resize(string self, std::basic_string< char >::size_type new_size)
289 resize(string self, std::basic_string< char >::size_type new_size, std::basic_string< char >::value_type x)
291 return _pcbnew.string_resize(self, *args)
294 r"""iterator(string self) -> SwigPyIterator"""
295 return _pcbnew.string_iterator(self)
300 r"""__nonzero__(string self) -> bool"""
301 return _pcbnew.string___nonzero__(self)
304 r"""__bool__(string self) -> bool"""
305 return _pcbnew.string___bool__(self)
308 r"""__len__(string self) -> std::basic_string< char >::size_type"""
309 return _pcbnew.string___len__(self)
312 r"""__getslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j) -> string"""
313 return _pcbnew.string___getslice__(self, i, j)
317 __setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)
318 __setslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j, string v)
320 return _pcbnew.string___setslice__(self, *args)
323 r"""__delslice__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::difference_type j)"""
324 return _pcbnew.string___delslice__(self, i, j)
328 __delitem__(string self, std::basic_string< char >::difference_type i)
331 return _pcbnew.string___delitem__(self, *args)
335 __getitem__(string self, PySliceObject * slice) -> string
336 __getitem__(string self, std::basic_string< char >::difference_type i) -> std::basic_string< char >::value_type
338 return _pcbnew.string___getitem__(self, *args)
342 __setitem__(string self, PySliceObject * slice, string v)
344 __setitem__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::value_type x)
346 return _pcbnew.string___setitem__(self, *args)
350 insert(string self, std::basic_string< char >::size_type __pos1, string __str) -> string
351 insert(string self, std::basic_string< char >::size_type __pos1, string __str, std::basic_string< char >::size_type __pos2, std::basic_string< char >::size_type __n) -> string
352 insert(string self, std::basic_string< char >::size_type __pos, char const * __s, std::basic_string< char >::size_type __n) -> string
353 insert(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, char __c) -> string
354 insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::value_type x) -> std::basic_string< char >::iterator
355 insert(string self, std::basic_string< char >::iterator pos, std::basic_string< char >::size_type n, std::basic_string< char >::value_type x)
356 insert(string self, std::basic_string< char >::iterator __p, std::basic_string< char >::size_type __n, char __c)
358 return _pcbnew.string_insert(self, *args)
362 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n, string __str) -> string
363 replace(string self, std::basic_string< char >::size_type __pos1, std::basic_string< char >::size_type __n1, string __str, std::basic_string< char >::size_type __pos2, std::basic_string< char >::size_type __n2) -> string
364 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n1, char const * __s, std::basic_string< char >::size_type __n2) -> string
365 replace(string self, std::basic_string< char >::size_type __pos, std::basic_string< char >::size_type __n1, std::basic_string< char >::size_type __n2, char __c) -> string
366 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, string __str) -> string
367 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, char const * __s, std::basic_string< char >::size_type __n) -> string
368 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, std::basic_string< char >::size_type __n, char __c) -> string
369 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, char const * __k1, char const * __k2) -> string
370 replace(string self, std::basic_string< char >::iterator __i1, std::basic_string< char >::iterator __i2, std::basic_string< char >::const_iterator __k1, std::basic_string< char >::const_iterator __k2) -> string
372 return _pcbnew.string_replace(self, *args)
375 r"""__iadd__(string self, string v) -> string"""
376 return _pcbnew.string___iadd__(self, v)
379 r"""__add__(string self, string v) -> string"""
380 return _pcbnew.string___add__(self, v)
383 r"""__radd__(string self, string v) -> string"""
384 return _pcbnew.string___radd__(self, v)
387 r"""__str__(string self) -> string"""
388 return _pcbnew.string___str__(self)
391 r"""__rlshift__(string self, std::basic_ostream< char,std::char_traits< char > > & out) -> std::basic_ostream< char,std::char_traits< char > > &"""
392 return _pcbnew.string___rlshift__(self, out)
395 r"""__eq__(string self, string v) -> bool"""
396 return _pcbnew.string___eq__(self, v)
399 r"""__ne__(string self, string v) -> bool"""
400 return _pcbnew.string___ne__(self, v)
403 r"""__gt__(string self, string v) -> bool"""
404 return _pcbnew.string___gt__(self, v)
407 r"""__lt__(string self, string v) -> bool"""
408 return _pcbnew.string___lt__(self, v)
411 r"""__ge__(string self, string v) -> bool"""
412 return _pcbnew.string___ge__(self, v)
415 r"""__le__(string self, string v) -> bool"""
416 return _pcbnew.string___le__(self, v)
417 __swig_destroy__ = _pcbnew.delete_string
420_pcbnew.string_swigregister(string)
422string.npos = _pcbnew.cvar.string_npos
424SHARED_PTR_DISOWN = _pcbnew.SHARED_PTR_DISOWN
427 r"""Proxy of C++ KI_PARAM_ERROR class."""
429 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
430 __repr__ = _swig_repr
434 __init__(KI_PARAM_ERROR self, wxString aMessage) -> KI_PARAM_ERROR
435 __init__(KI_PARAM_ERROR self) -> KI_PARAM_ERROR
437 _pcbnew.KI_PARAM_ERROR_swiginit(self, _pcbnew.new_KI_PARAM_ERROR(*args))
440 r"""What(KI_PARAM_ERROR self) -> wxString"""
441 return _pcbnew.KI_PARAM_ERROR_What(self)
442 __swig_destroy__ = _pcbnew.delete_KI_PARAM_ERROR
445_pcbnew.KI_PARAM_ERROR_swigregister(KI_PARAM_ERROR)
448 r"""Proxy of C++ IO_ERROR class."""
450 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
451 __repr__ = _swig_repr
455 __init__(IO_ERROR self, wxString aProblem, char const * aThrowersFile, char const * aThrowersFunction, int aThrowersLineNumber) -> IO_ERROR
458 _pcbnew.IO_ERROR_swiginit(self, _pcbnew.new_IO_ERROR(*args))
460 def init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber):
461 r"""init(IO_ERROR self, wxString aProblem, char const * aThrowersFile, char const * aThrowersFunction, int aThrowersLineNumber)"""
462 return _pcbnew.IO_ERROR_init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber)
465 r"""Problem(IO_ERROR self) -> wxString"""
466 return _pcbnew.IO_ERROR_Problem(self)
469 r"""Where(IO_ERROR self) -> wxString"""
470 return _pcbnew.IO_ERROR_Where(self)
473 r"""What(IO_ERROR self) -> wxString"""
474 return _pcbnew.IO_ERROR_What(self)
475 __swig_destroy__ = _pcbnew.delete_IO_ERROR
478_pcbnew.IO_ERROR_swigregister(IO_ERROR)
482 r"""wxSetDefaultPyEncoding(char const * encoding)"""
483 return _pcbnew.wxSetDefaultPyEncoding(encoding)
486 r"""wxGetDefaultPyEncoding() -> char const *"""
487 return _pcbnew.wxGetDefaultPyEncoding()
489 r"""Proxy of C++ wxRect class."""
491 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
492 __repr__ = _swig_repr
497 __init__(wxRect self, int xx, int yy, int ww, int hh) -> wxRect
498 __init__(wxRect self, wxPoint topLeft, wxPoint bottomRight) -> wxRect
499 __init__(wxRect self, wxPoint pt, wxSize size) -> wxRect
500 __init__(wxRect self, wxSize size) -> wxRect
502 _pcbnew.wxRect_swiginit(self, _pcbnew.new_wxRect(*args))
505 r"""GetX(wxRect self) -> int"""
506 return _pcbnew.wxRect_GetX(self)
509 r"""SetX(wxRect self, int xx)"""
510 return _pcbnew.wxRect_SetX(self, xx)
513 r"""GetY(wxRect self) -> int"""
514 return _pcbnew.wxRect_GetY(self)
517 r"""SetY(wxRect self, int yy)"""
518 return _pcbnew.wxRect_SetY(self, yy)
521 r"""GetWidth(wxRect self) -> int"""
522 return _pcbnew.wxRect_GetWidth(self)
525 r"""SetWidth(wxRect self, int w)"""
526 return _pcbnew.wxRect_SetWidth(self, w)
529 r"""GetHeight(wxRect self) -> int"""
530 return _pcbnew.wxRect_GetHeight(self)
533 r"""SetHeight(wxRect self, int h)"""
534 return _pcbnew.wxRect_SetHeight(self, h)
537 r"""GetPosition(wxRect self) -> wxPoint"""
538 return _pcbnew.wxRect_GetPosition(self)
541 r"""SetPosition(wxRect self, wxPoint p)"""
542 return _pcbnew.wxRect_SetPosition(self, p)
543 x = property(_pcbnew.wxRect_x_get, _pcbnew.wxRect_x_set, doc=
r"""x : int""")
544 y = property(_pcbnew.wxRect_y_get, _pcbnew.wxRect_y_set, doc=
r"""y : int""")
545 width = property(_pcbnew.wxRect_width_get, _pcbnew.wxRect_width_set, doc=
r"""width : int""")
546 height = property(_pcbnew.wxRect_height_get, _pcbnew.wxRect_height_set, doc=
r"""height : int""")
549 r"""Get(wxRect self) -> PyObject *"""
550 return _pcbnew.wxRect_Get(self)
554 return self.
x==other.x
and self.
y==other.y
and self.
width==other.width
and self.
height==other.height
556 def __repr__(self):
return 'wxRect'+str(self.
Get())
560 if index == 0: self.
SetX(val)
561 elif index == 1: self.
SetY(val)
564 else:
raise IndexError
566 __safe_for_unpickling__ =
True
568 __swig_destroy__ = _pcbnew.delete_wxRect
571_pcbnew.wxRect_swigregister(wxRect)
574 r"""Proxy of C++ wxSize class."""
576 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
577 __repr__ = _swig_repr
578 x = property(_pcbnew.wxSize_x_get, _pcbnew.wxSize_x_set, doc=
r"""x : int""")
579 y = property(_pcbnew.wxSize_y_get, _pcbnew.wxSize_y_set, doc=
r"""y : int""")
583 __init__(wxSize self, int xx, int yy) -> wxSize
584 __init__(wxSize self, double xx, double yy) -> wxSize
586 _pcbnew.wxSize_swiginit(self, _pcbnew.new_wxSize(*args))
589 r"""Get(wxSize self) -> PyObject *"""
590 return _pcbnew.wxSize_Get(self)
591 __swig_destroy__ = _pcbnew.delete_wxSize
594 r"""SetWidth(wxSize self, int w)"""
595 return _pcbnew.wxSize_SetWidth(self, w)
598 r"""SetHeight(wxSize self, int h)"""
599 return _pcbnew.wxSize_SetHeight(self, h)
602 r"""GetWidth(wxSize self) -> int"""
603 return _pcbnew.wxSize_GetWidth(self)
606 r"""GetHeight(wxSize self) -> int"""
607 return _pcbnew.wxSize_GetHeight(self)
610 return wxSize(self.
x*xscale,self.
y*yscale)
614 def __repr__(self):
return 'wxSize'+str(self.
Get())
620 else:
raise IndexError
622 __safe_for_unpickling__ =
True
627_pcbnew.wxSize_swigregister(wxSize)
630 r"""Proxy of C++ wxPoint class."""
632 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
633 __repr__ = _swig_repr
634 x = property(_pcbnew.wxPoint_x_get, _pcbnew.wxPoint_x_set, doc=
r"""x : int""")
635 y = property(_pcbnew.wxPoint_y_get, _pcbnew.wxPoint_y_set, doc=
r"""y : int""")
639 __init__(wxPoint self, int xx, int yy) -> wxPoint
640 __init__(wxPoint self, double xx, double yy) -> wxPoint
642 _pcbnew.wxPoint_swiginit(self, _pcbnew.new_wxPoint(*args))
643 __swig_destroy__ = _pcbnew.delete_wxPoint
646 r"""__add__(wxPoint self, wxPoint pt) -> wxPoint"""
647 return _pcbnew.wxPoint___add__(self, pt)
650 r"""__sub__(wxPoint self, wxPoint pt) -> wxPoint"""
651 return _pcbnew.wxPoint___sub__(self, pt)
654 r"""Set(wxPoint self, long x, long y)"""
655 return _pcbnew.wxPoint_Set(self, x, y)
658 r"""Get(wxPoint self) -> PyObject *"""
659 return _pcbnew.wxPoint_Get(self)
661 def __eq__(self,other):
return (self.
x==other.x
and self.
y==other.y)
662 def __ne__(self,other):
return not (self==other)
664 def __repr__(self):
return 'wxPoint'+str(self.
Get())
679_pcbnew.wxPoint_swigregister(wxPoint)
682 r"""Proxy of C++ wxString class."""
684 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
685 __repr__ = _swig_repr
686 __swig_destroy__ = _pcbnew.delete_wxString
689 r"""__str__(wxString self) -> PyObject *"""
690 return _pcbnew.wxString___str__(self)
692 def __repr__(self):
return 'wxString(\'' + self.
__str__() +
'\')'
696 r"""__init__(wxString self) -> wxString"""
697 _pcbnew.wxString_swiginit(self, _pcbnew.new_wxString())
700_pcbnew.wxString_swigregister(wxString)
703 r"""Proxy of C++ std::vector< wxPoint > class."""
705 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
706 __repr__ = _swig_repr
709 r"""iterator(wxPoint_Vector self) -> SwigPyIterator"""
710 return _pcbnew.wxPoint_Vector_iterator(self)
715 r"""__nonzero__(wxPoint_Vector self) -> bool"""
716 return _pcbnew.wxPoint_Vector___nonzero__(self)
719 r"""__bool__(wxPoint_Vector self) -> bool"""
720 return _pcbnew.wxPoint_Vector___bool__(self)
723 r"""__len__(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
724 return _pcbnew.wxPoint_Vector___len__(self)
727 r"""__getslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j) -> wxPoint_Vector"""
728 return _pcbnew.wxPoint_Vector___getslice__(self, i, j)
732 __setslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j)
733 __setslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j, wxPoint_Vector v)
735 return _pcbnew.wxPoint_Vector___setslice__(self, *args)
738 r"""__delslice__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, std::vector< wxPoint >::difference_type j)"""
739 return _pcbnew.wxPoint_Vector___delslice__(self, i, j)
743 __delitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i)
744 __delitem__(wxPoint_Vector self, PySliceObject * slice)
746 return _pcbnew.wxPoint_Vector___delitem__(self, *args)
750 __getitem__(wxPoint_Vector self, PySliceObject * slice) -> wxPoint_Vector
751 __getitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i) -> wxPoint
753 return _pcbnew.wxPoint_Vector___getitem__(self, *args)
757 __setitem__(wxPoint_Vector self, PySliceObject * slice, wxPoint_Vector v)
758 __setitem__(wxPoint_Vector self, PySliceObject * slice)
759 __setitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i, wxPoint x)
761 return _pcbnew.wxPoint_Vector___setitem__(self, *args)
764 r"""pop(wxPoint_Vector self) -> wxPoint"""
765 return _pcbnew.wxPoint_Vector_pop(self)
768 r"""append(wxPoint_Vector self, wxPoint x)"""
769 return _pcbnew.wxPoint_Vector_append(self, x)
772 r"""empty(wxPoint_Vector self) -> bool"""
773 return _pcbnew.wxPoint_Vector_empty(self)
776 r"""size(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
777 return _pcbnew.wxPoint_Vector_size(self)
780 r"""swap(wxPoint_Vector self, wxPoint_Vector v)"""
781 return _pcbnew.wxPoint_Vector_swap(self, v)
784 r"""begin(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
785 return _pcbnew.wxPoint_Vector_begin(self)
788 r"""end(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
789 return _pcbnew.wxPoint_Vector_end(self)
792 r"""rbegin(wxPoint_Vector self) -> std::vector< wxPoint >::reverse_iterator"""
793 return _pcbnew.wxPoint_Vector_rbegin(self)
796 r"""rend(wxPoint_Vector self) -> std::vector< wxPoint >::reverse_iterator"""
797 return _pcbnew.wxPoint_Vector_rend(self)
800 r"""clear(wxPoint_Vector self)"""
801 return _pcbnew.wxPoint_Vector_clear(self)
804 r"""get_allocator(wxPoint_Vector self) -> std::vector< wxPoint >::allocator_type"""
805 return _pcbnew.wxPoint_Vector_get_allocator(self)
808 r"""pop_back(wxPoint_Vector self)"""
809 return _pcbnew.wxPoint_Vector_pop_back(self)
813 erase(wxPoint_Vector self, std::vector< wxPoint >::iterator pos) -> std::vector< wxPoint >::iterator
814 erase(wxPoint_Vector self, std::vector< wxPoint >::iterator first, std::vector< wxPoint >::iterator last) -> std::vector< wxPoint >::iterator
816 return _pcbnew.wxPoint_Vector_erase(self, *args)
820 __init__(wxPoint_Vector self) -> wxPoint_Vector
821 __init__(wxPoint_Vector self, wxPoint_Vector other) -> wxPoint_Vector
822 __init__(wxPoint_Vector self, std::vector< wxPoint >::size_type size) -> wxPoint_Vector
823 __init__(wxPoint_Vector self, std::vector< wxPoint >::size_type size, wxPoint value) -> wxPoint_Vector
825 _pcbnew.wxPoint_Vector_swiginit(self, _pcbnew.new_wxPoint_Vector(*args))
828 r"""push_back(wxPoint_Vector self, wxPoint x)"""
829 return _pcbnew.wxPoint_Vector_push_back(self, x)
832 r"""front(wxPoint_Vector self) -> wxPoint"""
833 return _pcbnew.wxPoint_Vector_front(self)
836 r"""back(wxPoint_Vector self) -> wxPoint"""
837 return _pcbnew.wxPoint_Vector_back(self)
840 r"""assign(wxPoint_Vector self, std::vector< wxPoint >::size_type n, wxPoint x)"""
841 return _pcbnew.wxPoint_Vector_assign(self, n, x)
845 resize(wxPoint_Vector self, std::vector< wxPoint >::size_type new_size)
846 resize(wxPoint_Vector self, std::vector< wxPoint >::size_type new_size, wxPoint x)
848 return _pcbnew.wxPoint_Vector_resize(self, *args)
852 insert(wxPoint_Vector self, std::vector< wxPoint >::iterator pos, wxPoint x) -> std::vector< wxPoint >::iterator
853 insert(wxPoint_Vector self, std::vector< wxPoint >::iterator pos, std::vector< wxPoint >::size_type n, wxPoint x)
855 return _pcbnew.wxPoint_Vector_insert(self, *args)
858 r"""reserve(wxPoint_Vector self, std::vector< wxPoint >::size_type n)"""
859 return _pcbnew.wxPoint_Vector_reserve(self, n)
862 r"""capacity(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
863 return _pcbnew.wxPoint_Vector_capacity(self)
864 __swig_destroy__ = _pcbnew.delete_wxPoint_Vector
867_pcbnew.wxPoint_Vector_swigregister(wxPoint_Vector)
870 r"""Proxy of C++ std::vector< enum PCB_LAYER_ID > class."""
872 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
873 __repr__ = _swig_repr
876 r"""iterator(base_seqVect self) -> SwigPyIterator"""
877 return _pcbnew.base_seqVect_iterator(self)
882 r"""__nonzero__(base_seqVect self) -> bool"""
883 return _pcbnew.base_seqVect___nonzero__(self)
886 r"""__bool__(base_seqVect self) -> bool"""
887 return _pcbnew.base_seqVect___bool__(self)
890 r"""__len__(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
891 return _pcbnew.base_seqVect___len__(self)
894 r"""__getslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j) -> base_seqVect"""
895 return _pcbnew.base_seqVect___getslice__(self, i, j)
899 __setslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)
900 __setslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j, base_seqVect v)
902 return _pcbnew.base_seqVect___setslice__(self, *args)
905 r"""__delslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)"""
906 return _pcbnew.base_seqVect___delslice__(self, i, j)
910 __delitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i)
911 __delitem__(base_seqVect self, PySliceObject * slice)
913 return _pcbnew.base_seqVect___delitem__(self, *args)
917 __getitem__(base_seqVect self, PySliceObject * slice) -> base_seqVect
918 __getitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i) -> std::vector< enum PCB_LAYER_ID >::value_type const &
920 return _pcbnew.base_seqVect___getitem__(self, *args)
924 __setitem__(base_seqVect self, PySliceObject * slice, base_seqVect v)
925 __setitem__(base_seqVect self, PySliceObject * slice)
926 __setitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::value_type const & x)
928 return _pcbnew.base_seqVect___setitem__(self, *args)
931 r"""pop(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type"""
932 return _pcbnew.base_seqVect_pop(self)
935 r"""append(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
936 return _pcbnew.base_seqVect_append(self, x)
939 r"""empty(base_seqVect self) -> bool"""
940 return _pcbnew.base_seqVect_empty(self)
943 r"""size(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
944 return _pcbnew.base_seqVect_size(self)
947 r"""swap(base_seqVect self, base_seqVect v)"""
948 return _pcbnew.base_seqVect_swap(self, v)
951 r"""begin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
952 return _pcbnew.base_seqVect_begin(self)
955 r"""end(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
956 return _pcbnew.base_seqVect_end(self)
959 r"""rbegin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
960 return _pcbnew.base_seqVect_rbegin(self)
963 r"""rend(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
964 return _pcbnew.base_seqVect_rend(self)
967 r"""clear(base_seqVect self)"""
968 return _pcbnew.base_seqVect_clear(self)
971 r"""get_allocator(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::allocator_type"""
972 return _pcbnew.base_seqVect_get_allocator(self)
975 r"""pop_back(base_seqVect self)"""
976 return _pcbnew.base_seqVect_pop_back(self)
980 erase(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator pos) -> std::vector< enum PCB_LAYER_ID >::iterator
981 erase(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator first, std::vector< enum PCB_LAYER_ID >::iterator last) -> std::vector< enum PCB_LAYER_ID >::iterator
983 return _pcbnew.base_seqVect_erase(self, *args)
987 __init__(base_seqVect self) -> base_seqVect
988 __init__(base_seqVect self, base_seqVect other) -> base_seqVect
989 __init__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type size) -> base_seqVect
990 __init__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type size, std::vector< enum PCB_LAYER_ID >::value_type const & value) -> base_seqVect
992 _pcbnew.base_seqVect_swiginit(self, _pcbnew.new_base_seqVect(*args))
995 r"""push_back(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
996 return _pcbnew.base_seqVect_push_back(self, x)
999 r"""front(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
1000 return _pcbnew.base_seqVect_front(self)
1003 r"""back(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
1004 return _pcbnew.base_seqVect_back(self)
1007 r"""assign(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
1008 return _pcbnew.base_seqVect_assign(self, n, x)
1012 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size)
1013 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size, std::vector< enum PCB_LAYER_ID >::value_type const & x)
1015 return _pcbnew.base_seqVect_resize(self, *args)
1019 insert(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator pos, std::vector< enum PCB_LAYER_ID >::value_type const & x) -> std::vector< enum PCB_LAYER_ID >::iterator
1020 insert(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator pos, std::vector< enum PCB_LAYER_ID >::size_type n, std::vector< enum PCB_LAYER_ID >::value_type const & x)
1022 return _pcbnew.base_seqVect_insert(self, *args)
1025 r"""reserve(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n)"""
1026 return _pcbnew.base_seqVect_reserve(self, n)
1029 r"""capacity(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
1030 return _pcbnew.base_seqVect_capacity(self)
1031 __swig_destroy__ = _pcbnew.delete_base_seqVect
1034_pcbnew.base_seqVect_swigregister(base_seqVect)
1036SKETCH = _pcbnew.SKETCH
1038FILLED = _pcbnew.FILLED
1041 r"""Proxy of C++ KIID class."""
1043 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1044 __repr__ = _swig_repr
1049 __init__(KIID self, int null) -> KIID
1050 __init__(KIID self, string aString) -> KIID
1051 __init__(KIID self, char const * aString) -> KIID
1052 __init__(KIID self, wxString aString) -> KIID
1053 __init__(KIID self, timestamp_t aTimestamp) -> KIID
1055 _pcbnew.KIID_swiginit(self, _pcbnew.new_KIID(*args))
1058 r"""Clone(KIID self, KIID aUUID)"""
1059 return _pcbnew.KIID_Clone(self, aUUID)
1062 r"""Hash(KIID self) -> size_t"""
1063 return _pcbnew.KIID_Hash(self)
1066 r"""IsLegacyTimestamp(KIID self) -> bool"""
1067 return _pcbnew.KIID_IsLegacyTimestamp(self)
1070 r"""AsLegacyTimestamp(KIID self) -> timestamp_t"""
1071 return _pcbnew.KIID_AsLegacyTimestamp(self)
1074 r"""AsString(KIID self) -> wxString"""
1075 return _pcbnew.KIID_AsString(self)
1078 r"""AsLegacyTimestampString(KIID self) -> wxString"""
1079 return _pcbnew.KIID_AsLegacyTimestampString(self)
1083 r"""SniffTest(wxString aCandidate) -> bool"""
1084 return _pcbnew.KIID_SniffTest(aCandidate)
1088 r"""CreateNilUuids(bool aNil=True)"""
1089 return _pcbnew.KIID_CreateNilUuids(aNil)
1093 r"""SeedGenerator(unsigned int aSeed)"""
1094 return _pcbnew.KIID_SeedGenerator(aSeed)
1097 r"""ConvertTimestampToUuid(KIID self)"""
1098 return _pcbnew.KIID_ConvertTimestampToUuid(self)
1101 r"""Increment(KIID self)"""
1102 return _pcbnew.KIID_Increment(self)
1105 r"""__eq__(KIID self, KIID rhs) -> bool"""
1106 return _pcbnew.KIID___eq__(self, rhs)
1109 r"""__ne__(KIID self, KIID rhs) -> bool"""
1110 return _pcbnew.KIID___ne__(self, rhs)
1113 r"""__lt__(KIID self, KIID rhs) -> bool"""
1114 return _pcbnew.KIID___lt__(self, rhs)
1117 r"""__gt__(KIID self, KIID rhs) -> bool"""
1118 return _pcbnew.KIID___gt__(self, rhs)
1119 __swig_destroy__ = _pcbnew.delete_KIID
1122_pcbnew.KIID_swigregister(KIID)
1125 r"""KIID_SniffTest(wxString aCandidate) -> bool"""
1126 return _pcbnew.KIID_SniffTest(aCandidate)
1129 r"""KIID_CreateNilUuids(bool aNil=True)"""
1130 return _pcbnew.KIID_CreateNilUuids(aNil)
1133 r"""KIID_SeedGenerator(unsigned int aSeed)"""
1134 return _pcbnew.KIID_SeedGenerator(aSeed)
1138 r"""NilUuid() -> KIID"""
1139 return _pcbnew.NilUuid()
1141 r"""Proxy of C++ std::vector< KIID > class."""
1143 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1144 __repr__ = _swig_repr
1147 r"""iterator(KIID_VECT_LIST self) -> SwigPyIterator"""
1148 return _pcbnew.KIID_VECT_LIST_iterator(self)
1153 r"""__nonzero__(KIID_VECT_LIST self) -> bool"""
1154 return _pcbnew.KIID_VECT_LIST___nonzero__(self)
1157 r"""__bool__(KIID_VECT_LIST self) -> bool"""
1158 return _pcbnew.KIID_VECT_LIST___bool__(self)
1161 r"""__len__(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1162 return _pcbnew.KIID_VECT_LIST___len__(self)
1165 r"""__getslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j) -> KIID_VECT_LIST"""
1166 return _pcbnew.KIID_VECT_LIST___getslice__(self, i, j)
1170 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)
1171 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j, KIID_VECT_LIST v)
1173 return _pcbnew.KIID_VECT_LIST___setslice__(self, *args)
1176 r"""__delslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)"""
1177 return _pcbnew.KIID_VECT_LIST___delslice__(self, i, j)
1181 __delitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i)
1182 __delitem__(KIID_VECT_LIST self, PySliceObject * slice)
1184 return _pcbnew.KIID_VECT_LIST___delitem__(self, *args)
1188 __getitem__(KIID_VECT_LIST self, PySliceObject * slice) -> KIID_VECT_LIST
1189 __getitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i) -> KIID
1191 return _pcbnew.KIID_VECT_LIST___getitem__(self, *args)
1195 __setitem__(KIID_VECT_LIST self, PySliceObject * slice, KIID_VECT_LIST v)
1196 __setitem__(KIID_VECT_LIST self, PySliceObject * slice)
1197 __setitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, KIID x)
1199 return _pcbnew.KIID_VECT_LIST___setitem__(self, *args)
1202 r"""pop(KIID_VECT_LIST self) -> KIID"""
1203 return _pcbnew.KIID_VECT_LIST_pop(self)
1206 r"""append(KIID_VECT_LIST self, KIID x)"""
1207 return _pcbnew.KIID_VECT_LIST_append(self, x)
1210 r"""empty(KIID_VECT_LIST self) -> bool"""
1211 return _pcbnew.KIID_VECT_LIST_empty(self)
1214 r"""size(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1215 return _pcbnew.KIID_VECT_LIST_size(self)
1218 r"""swap(KIID_VECT_LIST self, KIID_VECT_LIST v)"""
1219 return _pcbnew.KIID_VECT_LIST_swap(self, v)
1222 r"""begin(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1223 return _pcbnew.KIID_VECT_LIST_begin(self)
1226 r"""end(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1227 return _pcbnew.KIID_VECT_LIST_end(self)
1230 r"""rbegin(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1231 return _pcbnew.KIID_VECT_LIST_rbegin(self)
1234 r"""rend(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1235 return _pcbnew.KIID_VECT_LIST_rend(self)
1238 r"""clear(KIID_VECT_LIST self)"""
1239 return _pcbnew.KIID_VECT_LIST_clear(self)
1242 r"""get_allocator(KIID_VECT_LIST self) -> std::vector< KIID >::allocator_type"""
1243 return _pcbnew.KIID_VECT_LIST_get_allocator(self)
1246 r"""pop_back(KIID_VECT_LIST self)"""
1247 return _pcbnew.KIID_VECT_LIST_pop_back(self)
1251 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator pos) -> std::vector< KIID >::iterator
1252 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator first, std::vector< KIID >::iterator last) -> std::vector< KIID >::iterator
1254 return _pcbnew.KIID_VECT_LIST_erase(self, *args)
1258 __init__(KIID_VECT_LIST self) -> KIID_VECT_LIST
1259 __init__(KIID_VECT_LIST self, KIID_VECT_LIST other) -> KIID_VECT_LIST
1260 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size) -> KIID_VECT_LIST
1261 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size, KIID value) -> KIID_VECT_LIST
1263 _pcbnew.KIID_VECT_LIST_swiginit(self, _pcbnew.new_KIID_VECT_LIST(*args))
1266 r"""push_back(KIID_VECT_LIST self, KIID x)"""
1267 return _pcbnew.KIID_VECT_LIST_push_back(self, x)
1270 r"""front(KIID_VECT_LIST self) -> KIID"""
1271 return _pcbnew.KIID_VECT_LIST_front(self)
1274 r"""back(KIID_VECT_LIST self) -> KIID"""
1275 return _pcbnew.KIID_VECT_LIST_back(self)
1278 r"""assign(KIID_VECT_LIST self, std::vector< KIID >::size_type n, KIID x)"""
1279 return _pcbnew.KIID_VECT_LIST_assign(self, n, x)
1283 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size)
1284 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size, KIID x)
1286 return _pcbnew.KIID_VECT_LIST_resize(self, *args)
1290 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, KIID x) -> std::vector< KIID >::iterator
1291 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, std::vector< KIID >::size_type n, KIID x)
1293 return _pcbnew.KIID_VECT_LIST_insert(self, *args)
1296 r"""reserve(KIID_VECT_LIST self, std::vector< KIID >::size_type n)"""
1297 return _pcbnew.KIID_VECT_LIST_reserve(self, n)
1300 r"""capacity(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1301 return _pcbnew.KIID_VECT_LIST_capacity(self)
1302 __swig_destroy__ = _pcbnew.delete_KIID_VECT_LIST
1305_pcbnew.KIID_VECT_LIST_swigregister(KIID_VECT_LIST)
1308 r"""Proxy of C++ KIID_PATH class."""
1310 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1311 __repr__ = _swig_repr
1315 __init__(KIID_PATH self) -> KIID_PATH
1316 __init__(KIID_PATH self, wxString aString) -> KIID_PATH
1318 _pcbnew.KIID_PATH_swiginit(self, _pcbnew.new_KIID_PATH(*args))
1321 r"""MakeRelativeTo(KIID_PATH self, KIID_PATH aPath) -> bool"""
1322 return _pcbnew.KIID_PATH_MakeRelativeTo(self, aPath)
1325 r"""EndsWith(KIID_PATH self, KIID_PATH aPath) -> bool"""
1326 return _pcbnew.KIID_PATH_EndsWith(self, aPath)
1329 r"""AsString(KIID_PATH self) -> wxString"""
1330 return _pcbnew.KIID_PATH_AsString(self)
1333 r"""__eq__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1334 return _pcbnew.KIID_PATH___eq__(self, rhs)
1337 r"""__lt__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1338 return _pcbnew.KIID_PATH___lt__(self, rhs)
1341 r"""__gt__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1342 return _pcbnew.KIID_PATH___gt__(self, rhs)
1345 r"""__iadd__(KIID_PATH self, KIID_PATH aRhs) -> KIID_PATH"""
1346 return _pcbnew.KIID_PATH___iadd__(self, aRhs)
1347 __swig_destroy__ = _pcbnew.delete_KIID_PATH
1350_pcbnew.KIID_PATH_swigregister(KIID_PATH)
1353 r"""Proxy of C++ KIID_NIL_SET_RESET class."""
1355 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1356 __repr__ = _swig_repr
1359 r"""__init__(KIID_NIL_SET_RESET self) -> KIID_NIL_SET_RESET"""
1360 _pcbnew.KIID_NIL_SET_RESET_swiginit(self, _pcbnew.new_KIID_NIL_SET_RESET())
1361 __swig_destroy__ = _pcbnew.delete_KIID_NIL_SET_RESET
1364_pcbnew.KIID_NIL_SET_RESET_swigregister(KIID_NIL_SET_RESET)
1366NOT_USED = _pcbnew.NOT_USED
1368TYPE_NOT_INIT = _pcbnew.TYPE_NOT_INIT
1370PCB_T = _pcbnew.PCB_T
1372SCREEN_T = _pcbnew.SCREEN_T
1374PCB_FOOTPRINT_T = _pcbnew.PCB_FOOTPRINT_T
1376PCB_PAD_T = _pcbnew.PCB_PAD_T
1378PCB_SHAPE_T = _pcbnew.PCB_SHAPE_T
1380PCB_REFERENCE_IMAGE_T = _pcbnew.PCB_REFERENCE_IMAGE_T
1382PCB_FIELD_T = _pcbnew.PCB_FIELD_T
1384PCB_GENERATOR_T = _pcbnew.PCB_GENERATOR_T
1386PCB_TEXT_T = _pcbnew.PCB_TEXT_T
1388PCB_TEXTBOX_T = _pcbnew.PCB_TEXTBOX_T
1390PCB_TRACE_T = _pcbnew.PCB_TRACE_T
1392PCB_VIA_T = _pcbnew.PCB_VIA_T
1394PCB_ARC_T = _pcbnew.PCB_ARC_T
1396PCB_MARKER_T = _pcbnew.PCB_MARKER_T
1398PCB_DIMENSION_T = _pcbnew.PCB_DIMENSION_T
1400PCB_DIM_ALIGNED_T = _pcbnew.PCB_DIM_ALIGNED_T
1402PCB_DIM_LEADER_T = _pcbnew.PCB_DIM_LEADER_T
1404PCB_DIM_CENTER_T = _pcbnew.PCB_DIM_CENTER_T
1406PCB_DIM_RADIAL_T = _pcbnew.PCB_DIM_RADIAL_T
1408PCB_DIM_ORTHOGONAL_T = _pcbnew.PCB_DIM_ORTHOGONAL_T
1410PCB_TARGET_T = _pcbnew.PCB_TARGET_T
1412PCB_ZONE_T = _pcbnew.PCB_ZONE_T
1414PCB_ITEM_LIST_T = _pcbnew.PCB_ITEM_LIST_T
1416PCB_NETINFO_T = _pcbnew.PCB_NETINFO_T
1418PCB_GROUP_T = _pcbnew.PCB_GROUP_T
1420PCB_FIELD_LOCATE_REFERENCE_T = _pcbnew.PCB_FIELD_LOCATE_REFERENCE_T
1422PCB_FIELD_LOCATE_VALUE_T = _pcbnew.PCB_FIELD_LOCATE_VALUE_T
1424PCB_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.PCB_FIELD_LOCATE_FOOTPRINT_T
1426PCB_FIELD_LOCATE_DATASHEET_T = _pcbnew.PCB_FIELD_LOCATE_DATASHEET_T
1428PCB_LOCATE_STDVIA_T = _pcbnew.PCB_LOCATE_STDVIA_T
1430PCB_LOCATE_UVIA_T = _pcbnew.PCB_LOCATE_UVIA_T
1432PCB_LOCATE_BBVIA_T = _pcbnew.PCB_LOCATE_BBVIA_T
1434PCB_LOCATE_TEXT_T = _pcbnew.PCB_LOCATE_TEXT_T
1436PCB_LOCATE_HOLE_T = _pcbnew.PCB_LOCATE_HOLE_T
1438PCB_LOCATE_PTH_T = _pcbnew.PCB_LOCATE_PTH_T
1440PCB_LOCATE_NPTH_T = _pcbnew.PCB_LOCATE_NPTH_T
1442PCB_LOCATE_BOARD_EDGE_T = _pcbnew.PCB_LOCATE_BOARD_EDGE_T
1444PCB_SHAPE_LOCATE_SEGMENT_T = _pcbnew.PCB_SHAPE_LOCATE_SEGMENT_T
1446PCB_SHAPE_LOCATE_RECT_T = _pcbnew.PCB_SHAPE_LOCATE_RECT_T
1448PCB_SHAPE_LOCATE_CIRCLE_T = _pcbnew.PCB_SHAPE_LOCATE_CIRCLE_T
1450PCB_SHAPE_LOCATE_ARC_T = _pcbnew.PCB_SHAPE_LOCATE_ARC_T
1452PCB_SHAPE_LOCATE_POLY_T = _pcbnew.PCB_SHAPE_LOCATE_POLY_T
1454PCB_SHAPE_LOCATE_BEZIER_T = _pcbnew.PCB_SHAPE_LOCATE_BEZIER_T
1456SCH_MARKER_T = _pcbnew.SCH_MARKER_T
1458SCH_JUNCTION_T = _pcbnew.SCH_JUNCTION_T
1460SCH_NO_CONNECT_T = _pcbnew.SCH_NO_CONNECT_T
1462SCH_BUS_WIRE_ENTRY_T = _pcbnew.SCH_BUS_WIRE_ENTRY_T
1464SCH_BUS_BUS_ENTRY_T = _pcbnew.SCH_BUS_BUS_ENTRY_T
1466SCH_LINE_T = _pcbnew.SCH_LINE_T
1468SCH_SHAPE_T = _pcbnew.SCH_SHAPE_T
1470SCH_BITMAP_T = _pcbnew.SCH_BITMAP_T
1472SCH_TEXTBOX_T = _pcbnew.SCH_TEXTBOX_T
1474SCH_TEXT_T = _pcbnew.SCH_TEXT_T
1476SCH_LABEL_T = _pcbnew.SCH_LABEL_T
1478SCH_GLOBAL_LABEL_T = _pcbnew.SCH_GLOBAL_LABEL_T
1480SCH_HIER_LABEL_T = _pcbnew.SCH_HIER_LABEL_T
1482SCH_DIRECTIVE_LABEL_T = _pcbnew.SCH_DIRECTIVE_LABEL_T
1484SCH_FIELD_T = _pcbnew.SCH_FIELD_T
1486SCH_SYMBOL_T = _pcbnew.SCH_SYMBOL_T
1488SCH_SHEET_PIN_T = _pcbnew.SCH_SHEET_PIN_T
1490SCH_SHEET_T = _pcbnew.SCH_SHEET_T
1492SCH_PIN_T = _pcbnew.SCH_PIN_T
1494SCH_FIELD_LOCATE_REFERENCE_T = _pcbnew.SCH_FIELD_LOCATE_REFERENCE_T
1496SCH_FIELD_LOCATE_VALUE_T = _pcbnew.SCH_FIELD_LOCATE_VALUE_T
1498SCH_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.SCH_FIELD_LOCATE_FOOTPRINT_T
1500SCH_FIELD_LOCATE_DATASHEET_T = _pcbnew.SCH_FIELD_LOCATE_DATASHEET_T
1502SCH_ITEM_LOCATE_WIRE_T = _pcbnew.SCH_ITEM_LOCATE_WIRE_T
1504SCH_ITEM_LOCATE_BUS_T = _pcbnew.SCH_ITEM_LOCATE_BUS_T
1506SCH_ITEM_LOCATE_GRAPHIC_LINE_T = _pcbnew.SCH_ITEM_LOCATE_GRAPHIC_LINE_T
1508SCH_LABEL_LOCATE_ANY_T = _pcbnew.SCH_LABEL_LOCATE_ANY_T
1510SCH_LABEL_LOCATE_WIRE_T = _pcbnew.SCH_LABEL_LOCATE_WIRE_T
1512SCH_LABEL_LOCATE_BUS_T = _pcbnew.SCH_LABEL_LOCATE_BUS_T
1514SCH_SYMBOL_LOCATE_POWER_T = _pcbnew.SCH_SYMBOL_LOCATE_POWER_T
1516SCH_LOCATE_ANY_T = _pcbnew.SCH_LOCATE_ANY_T
1518SCH_SCREEN_T = _pcbnew.SCH_SCREEN_T
1520SCHEMATIC_T = _pcbnew.SCHEMATIC_T
1522LIB_SYMBOL_T = _pcbnew.LIB_SYMBOL_T
1524LIB_SHAPE_T = _pcbnew.LIB_SHAPE_T
1526LIB_TEXT_T = _pcbnew.LIB_TEXT_T
1528LIB_TEXTBOX_T = _pcbnew.LIB_TEXTBOX_T
1530LIB_PIN_T = _pcbnew.LIB_PIN_T
1532LIB_FIELD_T = _pcbnew.LIB_FIELD_T
1534GERBER_LAYOUT_T = _pcbnew.GERBER_LAYOUT_T
1536GERBER_DRAW_ITEM_T = _pcbnew.GERBER_DRAW_ITEM_T
1538GERBER_IMAGE_T = _pcbnew.GERBER_IMAGE_T
1540WSG_LINE_T = _pcbnew.WSG_LINE_T
1542WSG_RECT_T = _pcbnew.WSG_RECT_T
1544WSG_POLY_T = _pcbnew.WSG_POLY_T
1546WSG_TEXT_T = _pcbnew.WSG_TEXT_T
1548WSG_BITMAP_T = _pcbnew.WSG_BITMAP_T
1550WSG_PAGE_T = _pcbnew.WSG_PAGE_T
1552WS_PROXY_UNDO_ITEM_T = _pcbnew.WS_PROXY_UNDO_ITEM_T
1554WS_PROXY_UNDO_ITEM_PLUS_T = _pcbnew.WS_PROXY_UNDO_ITEM_PLUS_T
1556SYMBOL_LIB_TABLE_T = _pcbnew.SYMBOL_LIB_TABLE_T
1558FP_LIB_TABLE_T = _pcbnew.FP_LIB_TABLE_T
1560SYMBOL_LIBS_T = _pcbnew.SYMBOL_LIBS_T
1562SEARCH_STACK_T = _pcbnew.SEARCH_STACK_T
1564S3D_CACHE_T = _pcbnew.S3D_CACHE_T
1566MAX_STRUCT_TYPE_ID = _pcbnew.MAX_STRUCT_TYPE_ID
1570 r"""BaseType(KICAD_T const aType) -> KICAD_T"""
1571 return _pcbnew.BaseType(aType)
1574 r"""IsNullType(KICAD_T const aType) -> bool"""
1575 return _pcbnew.IsNullType(aType)
1578 r"""IsInstantiableType(KICAD_T const aType) -> bool"""
1579 return _pcbnew.IsInstantiableType(aType)
1582 r"""IsEeschemaType(KICAD_T const aType) -> bool"""
1583 return _pcbnew.IsEeschemaType(aType)
1586 r"""IsPcbnewType(KICAD_T const aType) -> bool"""
1587 return _pcbnew.IsPcbnewType(aType)
1590 r"""IsGerbviewType(KICAD_T const aType) -> bool"""
1591 return _pcbnew.IsGerbviewType(aType)
1594 r"""IsPageLayoutEditorType(KICAD_T const aType) -> bool"""
1595 return _pcbnew.IsPageLayoutEditorType(aType)
1598 r"""IsMiscType(KICAD_T const aType) -> bool"""
1599 return _pcbnew.IsMiscType(aType)
1602 r"""IsTypeCorrect(KICAD_T aType) -> bool"""
1603 return _pcbnew.IsTypeCorrect(aType)
1606 r"""IsTypeAvailable(KICAD_T aType) -> bool"""
1607 return _pcbnew.IsTypeAvailable(aType)
1608INSPECT_RESULT_QUIT = _pcbnew.INSPECT_RESULT_QUIT
1610INSPECT_RESULT_CONTINUE = _pcbnew.INSPECT_RESULT_CONTINUE
1613 r"""Proxy of C++ EDA_ITEM class."""
1615 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1618 raise AttributeError(
"No constructor defined - class is abstract")
1619 __repr__ = _swig_repr
1620 __swig_destroy__ = _pcbnew.delete_EDA_ITEM
1623 r"""Type(EDA_ITEM self) -> KICAD_T"""
1624 return _pcbnew.EDA_ITEM_Type(self)
1627 r"""GetParent(EDA_ITEM self) -> EDA_ITEM"""
1628 return _pcbnew.EDA_ITEM_GetParent(self)
1631 r"""SetParent(EDA_ITEM self, EDA_ITEM aParent)"""
1632 return _pcbnew.EDA_ITEM_SetParent(self, aParent)
1635 r"""IsModified(EDA_ITEM self) -> bool"""
1636 return _pcbnew.EDA_ITEM_IsModified(self)
1639 r"""IsNew(EDA_ITEM self) -> bool"""
1640 return _pcbnew.EDA_ITEM_IsNew(self)
1643 r"""IsMoving(EDA_ITEM self) -> bool"""
1644 return _pcbnew.EDA_ITEM_IsMoving(self)
1647 r"""IsSelected(EDA_ITEM self) -> bool"""
1648 return _pcbnew.EDA_ITEM_IsSelected(self)
1651 r"""IsEntered(EDA_ITEM self) -> bool"""
1652 return _pcbnew.EDA_ITEM_IsEntered(self)
1655 r"""IsBrightened(EDA_ITEM self) -> bool"""
1656 return _pcbnew.EDA_ITEM_IsBrightened(self)
1659 r"""IsRollover(EDA_ITEM self) -> bool"""
1660 return _pcbnew.EDA_ITEM_IsRollover(self)
1663 r"""SetSelected(EDA_ITEM self)"""
1664 return _pcbnew.EDA_ITEM_SetSelected(self)
1667 r"""SetBrightened(EDA_ITEM self)"""
1668 return _pcbnew.EDA_ITEM_SetBrightened(self)
1671 r"""ClearSelected(EDA_ITEM self)"""
1672 return _pcbnew.EDA_ITEM_ClearSelected(self)
1675 r"""ClearBrightened(EDA_ITEM self)"""
1676 return _pcbnew.EDA_ITEM_ClearBrightened(self)
1679 r"""SetModified(EDA_ITEM self)"""
1680 return _pcbnew.EDA_ITEM_SetModified(self)
1683 r"""SetFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1684 return _pcbnew.EDA_ITEM_SetFlags(self, aMask)
1687 r"""XorFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1688 return _pcbnew.EDA_ITEM_XorFlags(self, aMask)
1691 r"""ClearFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask=EDA_ITEM_ALL_FLAGS)"""
1692 return _pcbnew.EDA_ITEM_ClearFlags(self, *args)
1695 r"""GetFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1696 return _pcbnew.EDA_ITEM_GetFlags(self)
1699 r"""HasFlag(EDA_ITEM self, EDA_ITEM_FLAGS aFlag) -> bool"""
1700 return _pcbnew.EDA_ITEM_HasFlag(self, aFlag)
1703 r"""GetEditFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1704 return _pcbnew.EDA_ITEM_GetEditFlags(self)
1707 r"""ClearEditFlags(EDA_ITEM self)"""
1708 return _pcbnew.EDA_ITEM_ClearEditFlags(self)
1711 r"""GetTempFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1712 return _pcbnew.EDA_ITEM_GetTempFlags(self)
1715 r"""ClearTempFlags(EDA_ITEM self)"""
1716 return _pcbnew.EDA_ITEM_ClearTempFlags(self)
1719 r"""RenderAsBitmap(EDA_ITEM self, double aWorldScale) -> bool"""
1720 return _pcbnew.EDA_ITEM_RenderAsBitmap(self, aWorldScale)
1723 r"""SetIsShownAsBitmap(EDA_ITEM self, bool aBitmap)"""
1724 return _pcbnew.EDA_ITEM_SetIsShownAsBitmap(self, aBitmap)
1727 r"""IsShownAsBitmap(EDA_ITEM self) -> bool"""
1728 return _pcbnew.EDA_ITEM_IsShownAsBitmap(self)
1731 r"""IsType(EDA_ITEM self, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> bool"""
1732 return _pcbnew.EDA_ITEM_IsType(self, aScanTypes)
1735 r"""SetForceVisible(EDA_ITEM self, bool aEnable)"""
1736 return _pcbnew.EDA_ITEM_SetForceVisible(self, aEnable)
1739 r"""IsForceVisible(EDA_ITEM self) -> bool"""
1740 return _pcbnew.EDA_ITEM_IsForceVisible(self)
1743 r"""GetMsgPanelInfo(EDA_ITEM self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
1744 return _pcbnew.EDA_ITEM_GetMsgPanelInfo(self, aFrame, aList)
1747 r"""GetFriendlyName(EDA_ITEM self) -> wxString"""
1748 return _pcbnew.EDA_ITEM_GetFriendlyName(self)
1752 HitTest(EDA_ITEM self, VECTOR2I aPosition, int aAccuracy=0) -> bool
1753 HitTest(EDA_ITEM self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
1755 return _pcbnew.EDA_ITEM_HitTest(self, *args)
1758 r"""GetBoundingBox(EDA_ITEM self) -> BOX2I"""
1759 return _pcbnew.EDA_ITEM_GetBoundingBox(self)
1762 r"""GetPosition(EDA_ITEM self) -> VECTOR2I"""
1763 return _pcbnew.EDA_ITEM_GetPosition(self)
1766 r"""SetPosition(EDA_ITEM self, VECTOR2I aPos)"""
1767 return _pcbnew.EDA_ITEM_SetPosition(self, aPos)
1770 r"""GetFocusPosition(EDA_ITEM self) -> VECTOR2I"""
1771 return _pcbnew.EDA_ITEM_GetFocusPosition(self)
1774 r"""GetSortPosition(EDA_ITEM self) -> VECTOR2I"""
1775 return _pcbnew.EDA_ITEM_GetSortPosition(self)
1778 r"""Clone(EDA_ITEM self) -> EDA_ITEM"""
1779 return _pcbnew.EDA_ITEM_Clone(self)
1781 def Visit(self, inspector, testData, aScanTypes):
1782 r"""Visit(EDA_ITEM self, INSPECTOR inspector, void * testData, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> INSPECT_RESULT"""
1783 return _pcbnew.EDA_ITEM_Visit(self, inspector, testData, aScanTypes)
1786 r"""GetClass(EDA_ITEM self) -> wxString"""
1787 return _pcbnew.EDA_ITEM_GetClass(self)
1790 r"""GetTypeDesc(EDA_ITEM self) -> wxString"""
1791 return _pcbnew.EDA_ITEM_GetTypeDesc(self)
1794 r"""GetItemDescription(EDA_ITEM self, UNITS_PROVIDER aUnitsProvider) -> wxString"""
1795 return _pcbnew.EDA_ITEM_GetItemDescription(self, aUnitsProvider)
1798 r"""GetMenuImage(EDA_ITEM self) -> BITMAPS"""
1799 return _pcbnew.EDA_ITEM_GetMenuImage(self)
1802 r"""Matches(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData) -> bool"""
1803 return _pcbnew.EDA_ITEM_Matches(self, aSearchData, aAuxData)
1807 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, wxString aText) -> bool
1808 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData=None) -> bool
1810 return _pcbnew.EDA_ITEM_Replace(self, *args)
1813 r"""IsReplaceable(EDA_ITEM self) -> bool"""
1814 return _pcbnew.EDA_ITEM_IsReplaceable(self)
1817 r"""__lt__(EDA_ITEM self, EDA_ITEM aItem) -> bool"""
1818 return _pcbnew.EDA_ITEM___lt__(self, aItem)
1822 r"""Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1823 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1826 r"""ViewBBox(EDA_ITEM self) -> BOX2I"""
1827 return _pcbnew.EDA_ITEM_ViewBBox(self)
1830 r"""ViewGetLayers(EDA_ITEM self, int [] aLayers, int & aCount)"""
1831 return _pcbnew.EDA_ITEM_ViewGetLayers(self, aLayers, aCount)
1832 m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=
r"""m_Uuid : q(const).KIID""")
1835_pcbnew.EDA_ITEM_swigregister(EDA_ITEM)
1838 r"""EDA_ITEM_Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1839 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1843 r"""new_clone(EDA_ITEM aItem) -> EDA_ITEM"""
1844 return _pcbnew.new_clone(aItem)
1846 r"""Proxy of C++ CompareByUuid class."""
1848 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1849 __repr__ = _swig_repr
1852 r"""__call__(CompareByUuid self, EDA_ITEM item1, EDA_ITEM item2) -> bool"""
1853 return _pcbnew.CompareByUuid___call__(self, item1, item2)
1856 r"""__init__(CompareByUuid self) -> CompareByUuid"""
1857 _pcbnew.CompareByUuid_swiginit(self, _pcbnew.new_CompareByUuid())
1858 __swig_destroy__ = _pcbnew.delete_CompareByUuid
1861_pcbnew.CompareByUuid_swigregister(CompareByUuid)
1864 r"""Proxy of C++ EDA_IU_SCALE class."""
1866 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1867 __repr__ = _swig_repr
1868 IU_PER_MM = property(_pcbnew.EDA_IU_SCALE_IU_PER_MM_get, doc=
r"""IU_PER_MM : q(const).double""")
1869 IU_PER_MILS = property(_pcbnew.EDA_IU_SCALE_IU_PER_MILS_get, doc=
r"""IU_PER_MILS : q(const).double""")
1870 MM_PER_IU = property(_pcbnew.EDA_IU_SCALE_MM_PER_IU_get, doc=
r"""MM_PER_IU : q(const).double""")
1873 r"""__init__(EDA_IU_SCALE self, double aIUPerMM) -> EDA_IU_SCALE"""
1874 _pcbnew.EDA_IU_SCALE_swiginit(self, _pcbnew.new_EDA_IU_SCALE(aIUPerMM))
1877 r"""IUTomm(EDA_IU_SCALE self, int iu) -> double"""
1878 return _pcbnew.EDA_IU_SCALE_IUTomm(self, iu)
1881 r"""mmToIU(EDA_IU_SCALE self, double mm) -> int"""
1882 return _pcbnew.EDA_IU_SCALE_mmToIU(self, mm)
1885 r"""MilsToIU(EDA_IU_SCALE self, int mils) -> int"""
1886 return _pcbnew.EDA_IU_SCALE_MilsToIU(self, mils)
1889 r"""IUToMils(EDA_IU_SCALE self, int iu) -> int"""
1890 return _pcbnew.EDA_IU_SCALE_IUToMils(self, iu)
1891 __swig_destroy__ = _pcbnew.delete_EDA_IU_SCALE
1894_pcbnew.EDA_IU_SCALE_swigregister(EDA_IU_SCALE)
1895GERB_IU_PER_MM = cvar.GERB_IU_PER_MM
1896PCB_IU_PER_MM = cvar.PCB_IU_PER_MM
1897PL_IU_PER_MM = cvar.PL_IU_PER_MM
1898SCH_IU_PER_MM = cvar.SCH_IU_PER_MM
1900EDA_DATA_TYPE_DISTANCE = _pcbnew.EDA_DATA_TYPE_DISTANCE
1902EDA_DATA_TYPE_AREA = _pcbnew.EDA_DATA_TYPE_AREA
1904EDA_DATA_TYPE_VOLUME = _pcbnew.EDA_DATA_TYPE_VOLUME
1906EDA_DATA_TYPE_UNITLESS = _pcbnew.EDA_DATA_TYPE_UNITLESS
1908EDA_UNITS_INCHES = _pcbnew.EDA_UNITS_INCHES
1910EDA_UNITS_MILLIMETRES = _pcbnew.EDA_UNITS_MILLIMETRES
1912EDA_UNITS_UNSCALED = _pcbnew.EDA_UNITS_UNSCALED
1914EDA_UNITS_DEGREES = _pcbnew.EDA_UNITS_DEGREES
1916EDA_UNITS_PERCENT = _pcbnew.EDA_UNITS_PERCENT
1918EDA_UNITS_MILS = _pcbnew.EDA_UNITS_MILS
1920EDA_UNITS_MICROMETRES = _pcbnew.EDA_UNITS_MICROMETRES
1922EDA_UNITS_CENTIMETRES = _pcbnew.EDA_UNITS_CENTIMETRES
1926 r"""IsImperialUnit(EDA_UNITS aUnit) -> bool"""
1927 return _pcbnew.IsImperialUnit(aUnit)
1930 r"""IsMetricUnit(EDA_UNITS aUnit) -> bool"""
1931 return _pcbnew.IsMetricUnit(aUnit)
1934 r"""Mm2mils(double aVal) -> int"""
1935 return _pcbnew.Mm2mils(aVal)
1938 r"""Mils2mm(double aVal) -> int"""
1939 return _pcbnew.Mils2mm(aVal)
1942 r"""FetchUnitsFromString(wxString aTextValue, EDA_UNITS & aUnits) -> bool"""
1943 return _pcbnew.FetchUnitsFromString(aTextValue, aUnits)
1946 r"""GetText(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1947 return _pcbnew.GetText(*args)
1950 r"""GetLabel(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1951 return _pcbnew.GetLabel(*args)
1954 r"""FormatAngle(EDA_ANGLE aAngle) -> string"""
1955 return _pcbnew.FormatAngle(aAngle)
1962 return _pcbnew.FormatInternalUnits(*args)
1965 r"""Mils2IU(EDA_IU_SCALE aIuScale, int mils) -> int"""
1966 return _pcbnew.Mils2IU(aIuScale, mils)
1969 r"""ToUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1970 return _pcbnew.ToUserUnit(aIuScale, aUnit, aValue)
1973 r"""StringFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1974 return _pcbnew.StringFromValue(*args)
1978 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1979 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, int aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1980 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, long long aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1983 return _pcbnew.MessageTextFromValue(*args)
1986 r"""MessageTextFromMinOptMax(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, MINOPTMAX< int > const & aValue) -> wxString"""
1987 return _pcbnew.MessageTextFromMinOptMax(aIuScale, aUnits, aValue)
1990 r"""FromUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1991 return _pcbnew.FromUserUnit(aIuScale, aUnit, aValue)
1995 DoubleValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> double
1998 return _pcbnew.DoubleValueFromString(*args)
2002 ValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> long long
2005 return _pcbnew.ValueFromString(*args)
2008 r"""SearchHelpFileFullPath(wxString aBaseName) -> wxString"""
2009 return _pcbnew.SearchHelpFileFullPath(aBaseName)
2012 r"""EnsureFileDirectoryExists(wxFileName * aTargetFullFileName, wxString aBaseFilename, REPORTER * aReporter=None) -> bool"""
2013 return _pcbnew.EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter)
2016 r"""EnsureFileExtension(wxString aFilename, wxString aExtension) -> wxString"""
2017 return _pcbnew.EnsureFileExtension(aFilename, aExtension)
2020 r"""ExpandEnvVarSubstitutions(wxString aString, PROJECT const * aProject) -> wxString"""
2021 return _pcbnew.ExpandEnvVarSubstitutions(aString, aProject)
2025 ExpandTextVars(wxString aSource, std::function< bool (wxString *) > const * aResolver) -> wxString
2026 ExpandTextVars(wxString aSource, PROJECT const * aProject) -> wxString
2028 return _pcbnew.ExpandTextVars(*args)
2031 r"""GetTextVars(wxString aSource) -> wxString"""
2032 return _pcbnew.GetTextVars(aSource)
2035 r"""IsTextVar(wxString aSource) -> bool"""
2036 return _pcbnew.IsTextVar(aSource)
2039 r"""ResolveUriByEnvVars(wxString aUri, PROJECT const * aProject) -> wxString"""
2040 return _pcbnew.ResolveUriByEnvVars(aUri, aProject)
2043 r"""TimestampDir(wxString aDirPath, wxString aFilespec) -> long long"""
2044 return _pcbnew.TimestampDir(aDirPath, aFilespec)
2047 r"""WarnUserIfOperatingSystemUnsupported() -> bool"""
2048 return _pcbnew.WarnUserIfOperatingSystemUnsupported()
2052 StrPrintf(string aResult, char const * aFormat) -> int
2053 StrPrintf(char const * format) -> string
2055 return _pcbnew.StrPrintf(*args)
2058 r"""SafeReadFile(wxString aFilePath, wxString aReadType) -> wxString"""
2059 return _pcbnew.SafeReadFile(aFilePath, aReadType)
2060LINE_READER_LINE_DEFAULT_MAX = _pcbnew.LINE_READER_LINE_DEFAULT_MAX
2062LINE_READER_LINE_INITIAL_SIZE = _pcbnew.LINE_READER_LINE_INITIAL_SIZE
2065 r"""Proxy of C++ LINE_READER class."""
2067 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2070 raise AttributeError(
"No constructor defined - class is abstract")
2071 __repr__ = _swig_repr
2072 __swig_destroy__ = _pcbnew.delete_LINE_READER
2075 r"""ReadLine(LINE_READER self) -> char *"""
2076 return _pcbnew.LINE_READER_ReadLine(self)
2079 r"""GetSource(LINE_READER self) -> wxString"""
2080 return _pcbnew.LINE_READER_GetSource(self)
2083 r"""Line(LINE_READER self) -> char *"""
2084 return _pcbnew.LINE_READER_Line(self)
2087 r"""LineNumber(LINE_READER self) -> unsigned int"""
2088 return _pcbnew.LINE_READER_LineNumber(self)
2091 r"""Length(LINE_READER self) -> unsigned int"""
2092 return _pcbnew.LINE_READER_Length(self)
2095_pcbnew.LINE_READER_swigregister(LINE_READER)
2096gerbIUScale = cvar.gerbIUScale
2097pcbIUScale = cvar.pcbIUScale
2098drawSheetIUScale = cvar.drawSheetIUScale
2099schIUScale = cvar.schIUScale
2100unityScale = cvar.unityScale
2103 r"""Proxy of C++ FILE_LINE_READER class."""
2105 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2106 __repr__ = _swig_repr
2110 __init__(FILE_LINE_READER self, wxString aFileName, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
2111 __init__(FILE_LINE_READER self, FILE * aFile, wxString aFileName, bool doOwn=True, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
2113 _pcbnew.FILE_LINE_READER_swiginit(self, _pcbnew.new_FILE_LINE_READER(*args))
2114 __swig_destroy__ = _pcbnew.delete_FILE_LINE_READER
2117 r"""Rewind(FILE_LINE_READER self)"""
2118 return _pcbnew.FILE_LINE_READER_Rewind(self)
2121 r"""FileLength(FILE_LINE_READER self) -> long"""
2122 return _pcbnew.FILE_LINE_READER_FileLength(self)
2125 r"""CurPos(FILE_LINE_READER self) -> long"""
2126 return _pcbnew.FILE_LINE_READER_CurPos(self)
2129_pcbnew.FILE_LINE_READER_swigregister(FILE_LINE_READER)
2132 r"""Proxy of C++ STRING_LINE_READER class."""
2134 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2135 __repr__ = _swig_repr
2139 __init__(STRING_LINE_READER self, string aString, wxString aSource) -> STRING_LINE_READER
2140 __init__(STRING_LINE_READER self, STRING_LINE_READER aStartingPoint) -> STRING_LINE_READER
2142 _pcbnew.STRING_LINE_READER_swiginit(self, _pcbnew.new_STRING_LINE_READER(*args))
2143 __swig_destroy__ = _pcbnew.delete_STRING_LINE_READER
2146_pcbnew.STRING_LINE_READER_swigregister(STRING_LINE_READER)
2149 r"""Proxy of C++ INPUTSTREAM_LINE_READER class."""
2151 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2152 __repr__ = _swig_repr
2155 r"""__init__(INPUTSTREAM_LINE_READER self, wxInputStream * aStream, wxString aSource) -> INPUTSTREAM_LINE_READER"""
2156 _pcbnew.INPUTSTREAM_LINE_READER_swiginit(self, _pcbnew.new_INPUTSTREAM_LINE_READER(aStream, aSource))
2157 __swig_destroy__ = _pcbnew.delete_INPUTSTREAM_LINE_READER
2160_pcbnew.INPUTSTREAM_LINE_READER_swigregister(INPUTSTREAM_LINE_READER)
2162OUTPUTFMTBUFZ = _pcbnew.OUTPUTFMTBUFZ
2165 r"""Proxy of C++ OUTPUTFORMATTER class."""
2167 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2170 raise AttributeError(
"No constructor defined - class is abstract")
2171 __repr__ = _swig_repr
2174 r"""Print(OUTPUTFORMATTER self, int nestLevel, char const * fmt) -> int"""
2175 return _pcbnew.OUTPUTFORMATTER_Print(self, nestLevel, fmt)
2178 r"""GetQuoteChar(OUTPUTFORMATTER self, char const * wrapee) -> char const *"""
2179 return _pcbnew.OUTPUTFORMATTER_GetQuoteChar(self, wrapee)
2182 r"""Quotes(OUTPUTFORMATTER self, string aWrapee) -> string"""
2183 return _pcbnew.OUTPUTFORMATTER_Quotes(self, aWrapee)
2186 r"""Quotew(OUTPUTFORMATTER self, wxString aWrapee) -> string"""
2187 return _pcbnew.OUTPUTFORMATTER_Quotew(self, aWrapee)
2190 r"""Finish(OUTPUTFORMATTER self) -> bool"""
2191 return _pcbnew.OUTPUTFORMATTER_Finish(self)
2194_pcbnew.OUTPUTFORMATTER_swigregister(OUTPUTFORMATTER)
2197 r"""Proxy of C++ STRING_FORMATTER class."""
2199 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2200 __repr__ = _swig_repr
2203 r"""__init__(STRING_FORMATTER self, int aReserve=500, char aQuoteChar='\"') -> STRING_FORMATTER"""
2204 _pcbnew.STRING_FORMATTER_swiginit(self, _pcbnew.new_STRING_FORMATTER(*args))
2207 r"""Clear(STRING_FORMATTER self)"""
2208 return _pcbnew.STRING_FORMATTER_Clear(self)
2211 r"""StripUseless(STRING_FORMATTER self)"""
2212 return _pcbnew.STRING_FORMATTER_StripUseless(self)
2215 r"""GetString(STRING_FORMATTER self) -> string"""
2216 return _pcbnew.STRING_FORMATTER_GetString(self)
2217 __swig_destroy__ = _pcbnew.delete_STRING_FORMATTER
2220_pcbnew.STRING_FORMATTER_swigregister(STRING_FORMATTER)
2223 r"""Proxy of C++ FILE_OUTPUTFORMATTER class."""
2225 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2226 __repr__ = _swig_repr
2229 r"""__init__(FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> FILE_OUTPUTFORMATTER"""
2230 _pcbnew.FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_FILE_OUTPUTFORMATTER(*args))
2231 __swig_destroy__ = _pcbnew.delete_FILE_OUTPUTFORMATTER
2234_pcbnew.FILE_OUTPUTFORMATTER_swigregister(FILE_OUTPUTFORMATTER)
2237 r"""Proxy of C++ PRETTIFIED_FILE_OUTPUTFORMATTER class."""
2239 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2240 __repr__ = _swig_repr
2243 r"""__init__(PRETTIFIED_FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> PRETTIFIED_FILE_OUTPUTFORMATTER"""
2244 _pcbnew.PRETTIFIED_FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_PRETTIFIED_FILE_OUTPUTFORMATTER(*args))
2245 __swig_destroy__ = _pcbnew.delete_PRETTIFIED_FILE_OUTPUTFORMATTER
2248_pcbnew.PRETTIFIED_FILE_OUTPUTFORMATTER_swigregister(PRETTIFIED_FILE_OUTPUTFORMATTER)
2251 r"""Proxy of C++ TITLE_BLOCK class."""
2253 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2254 __repr__ = _swig_repr
2257 r"""__init__(TITLE_BLOCK self) -> TITLE_BLOCK"""
2258 _pcbnew.TITLE_BLOCK_swiginit(self, _pcbnew.new_TITLE_BLOCK())
2259 __swig_destroy__ = _pcbnew.delete_TITLE_BLOCK
2262 r"""SetTitle(TITLE_BLOCK self, wxString aTitle)"""
2263 return _pcbnew.TITLE_BLOCK_SetTitle(self, aTitle)
2266 r"""GetTitle(TITLE_BLOCK self) -> wxString"""
2267 return _pcbnew.TITLE_BLOCK_GetTitle(self)
2270 r"""SetDate(TITLE_BLOCK self, wxString aDate)"""
2271 return _pcbnew.TITLE_BLOCK_SetDate(self, aDate)
2274 r"""GetDate(TITLE_BLOCK self) -> wxString"""
2275 return _pcbnew.TITLE_BLOCK_GetDate(self)
2278 r"""SetRevision(TITLE_BLOCK self, wxString aRevision)"""
2279 return _pcbnew.TITLE_BLOCK_SetRevision(self, aRevision)
2282 r"""GetRevision(TITLE_BLOCK self) -> wxString"""
2283 return _pcbnew.TITLE_BLOCK_GetRevision(self)
2286 r"""SetCompany(TITLE_BLOCK self, wxString aCompany)"""
2287 return _pcbnew.TITLE_BLOCK_SetCompany(self, aCompany)
2290 r"""GetCompany(TITLE_BLOCK self) -> wxString"""
2291 return _pcbnew.TITLE_BLOCK_GetCompany(self)
2294 r"""SetComment(TITLE_BLOCK self, int aIdx, wxString aComment)"""
2295 return _pcbnew.TITLE_BLOCK_SetComment(self, aIdx, aComment)
2298 r"""GetComment(TITLE_BLOCK self, int aIdx) -> wxString"""
2299 return _pcbnew.TITLE_BLOCK_GetComment(self, aIdx)
2302 r"""Clear(TITLE_BLOCK self)"""
2303 return _pcbnew.TITLE_BLOCK_Clear(self)
2307 r"""GetContextualTextVars(wxArrayString * aVars)"""
2308 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2311 r"""TextVarResolver(TITLE_BLOCK self, wxString aToken, PROJECT const * aProject) -> bool"""
2312 return _pcbnew.TITLE_BLOCK_TextVarResolver(self, aToken, aProject)
2314 def Format(self, aFormatter, aNestLevel, aControlBits):
2315 r"""Format(TITLE_BLOCK self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControlBits)"""
2316 return _pcbnew.TITLE_BLOCK_Format(self, aFormatter, aNestLevel, aControlBits)
2319_pcbnew.TITLE_BLOCK_swigregister(TITLE_BLOCK)
2322 r"""TITLE_BLOCK_GetContextualTextVars(wxArrayString * aVars)"""
2323 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2325UNSPECIFIED_COLOR = _pcbnew.UNSPECIFIED_COLOR
2327BLACK = _pcbnew.BLACK
2329DARKDARKGRAY = _pcbnew.DARKDARKGRAY
2331DARKGRAY = _pcbnew.DARKGRAY
2333LIGHTGRAY = _pcbnew.LIGHTGRAY
2335WHITE = _pcbnew.WHITE
2337LIGHTYELLOW = _pcbnew.LIGHTYELLOW
2339DARKBLUE = _pcbnew.DARKBLUE
2341DARKGREEN = _pcbnew.DARKGREEN
2343DARKCYAN = _pcbnew.DARKCYAN
2345DARKRED = _pcbnew.DARKRED
2347DARKMAGENTA = _pcbnew.DARKMAGENTA
2349DARKBROWN = _pcbnew.DARKBROWN
2353GREEN = _pcbnew.GREEN
2359MAGENTA = _pcbnew.MAGENTA
2361BROWN = _pcbnew.BROWN
2363LIGHTBLUE = _pcbnew.LIGHTBLUE
2365LIGHTGREEN = _pcbnew.LIGHTGREEN
2367LIGHTCYAN = _pcbnew.LIGHTCYAN
2369LIGHTRED = _pcbnew.LIGHTRED
2371LIGHTMAGENTA = _pcbnew.LIGHTMAGENTA
2373YELLOW = _pcbnew.YELLOW
2375PUREBLUE = _pcbnew.PUREBLUE
2377PUREGREEN = _pcbnew.PUREGREEN
2379PURECYAN = _pcbnew.PURECYAN
2381PURERED = _pcbnew.PURERED
2383PUREMAGENTA = _pcbnew.PUREMAGENTA
2385PUREYELLOW = _pcbnew.PUREYELLOW
2387LIGHTERORANGE = _pcbnew.LIGHTERORANGE
2389DARKORANGE = _pcbnew.DARKORANGE
2391ORANGE = _pcbnew.ORANGE
2393LIGHTORANGE = _pcbnew.LIGHTORANGE
2395PUREORANGE = _pcbnew.PUREORANGE
2397NBCOLORS = _pcbnew.NBCOLORS
2399HIGHLIGHT_FLAG = _pcbnew.HIGHLIGHT_FLAG
2401MASKCOLOR = _pcbnew.MASKCOLOR
2404 r"""Proxy of C++ StructColors class."""
2406 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2407 __repr__ = _swig_repr
2408 m_Blue = property(_pcbnew.StructColors_m_Blue_get, _pcbnew.StructColors_m_Blue_set, doc=
r"""m_Blue : unsigned char""")
2409 m_Green = property(_pcbnew.StructColors_m_Green_get, _pcbnew.StructColors_m_Green_set, doc=r"""m_Green : unsigned char""")
2410 m_Red = property(_pcbnew.StructColors_m_Red_get, _pcbnew.StructColors_m_Red_set, doc=r"""m_Red : unsigned char""")
2411 m_Numcolor = property(_pcbnew.StructColors_m_Numcolor_get, _pcbnew.StructColors_m_Numcolor_set, doc=r"""m_Numcolor : EDA_COLOR_T""")
2412 m_ColorName = property(_pcbnew.StructColors_m_ColorName_get, _pcbnew.StructColors_m_ColorName_set, doc=
r"""m_ColorName : std::string""")
2413 m_LightColor = property(_pcbnew.StructColors_m_LightColor_get, _pcbnew.StructColors_m_LightColor_set, doc=
r"""m_LightColor : EDA_COLOR_T""")
2416 r"""__init__(StructColors self) -> StructColors"""
2417 _pcbnew.StructColors_swiginit(self, _pcbnew.new_StructColors())
2418 __swig_destroy__ = _pcbnew.delete_StructColors
2421_pcbnew.StructColors_swigregister(StructColors)
2425 r"""colorRefs() -> StructColors"""
2426 return _pcbnew.colorRefs()
2428 r"""Proxy of C++ KIGFX::COLOR4D class."""
2430 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2431 __repr__ = _swig_repr
2434 r"""FromCSSRGBA(COLOR4D self, int aRed, int aGreen, int aBlue, double aAlpha=1.0) -> COLOR4D"""
2435 return _pcbnew.COLOR4D_FromCSSRGBA(self, aRed, aGreen, aBlue, aAlpha)
2440 __init__(COLOR4D self, double aRed, double aGreen, double aBlue, double aAlpha) -> COLOR4D
2441 __init__(COLOR4D self, EDA_COLOR_T aColor) -> COLOR4D
2442 __init__(COLOR4D self, wxString aColorStr) -> COLOR4D
2443 __init__(COLOR4D self, wxColour const & aColor) -> COLOR4D
2445 _pcbnew.COLOR4D_swiginit(self, _pcbnew.new_COLOR4D(*args))
2448 r"""SetFromWxString(COLOR4D self, wxString aColorString) -> bool"""
2449 return _pcbnew.COLOR4D_SetFromWxString(self, aColorString)
2452 r"""ToCSSString(COLOR4D self) -> wxString"""
2453 return _pcbnew.COLOR4D_ToCSSString(self)
2456 r"""SetFromHexString(COLOR4D self, wxString aColorString) -> bool"""
2457 return _pcbnew.COLOR4D_SetFromHexString(self, aColorString)
2460 r"""ToHexString(COLOR4D self) -> wxString"""
2461 return _pcbnew.COLOR4D_ToHexString(self)
2464 r"""ToColour(COLOR4D self) -> wxColour"""
2465 return _pcbnew.COLOR4D_ToColour(self)
2468 r"""LegacyMix(COLOR4D self, COLOR4D aColor) -> COLOR4D"""
2469 return _pcbnew.COLOR4D_LegacyMix(self, aColor)
2471 def ToHSL(self, aOutHue, aOutSaturation, aOutValue):
2472 r"""ToHSL(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue)"""
2473 return _pcbnew.COLOR4D_ToHSL(self, aOutHue, aOutSaturation, aOutValue)
2475 def FromHSL(self, aInHue, aInSaturation, aInLightness):
2476 r"""FromHSL(COLOR4D self, double aInHue, double aInSaturation, double aInLightness)"""
2477 return _pcbnew.COLOR4D_FromHSL(self, aInHue, aInSaturation, aInLightness)
2480 r"""Brighten(COLOR4D self, double aFactor) -> COLOR4D"""
2481 return _pcbnew.COLOR4D_Brighten(self, aFactor)
2484 r"""Darken(COLOR4D self, double aFactor) -> COLOR4D"""
2485 return _pcbnew.COLOR4D_Darken(self, aFactor)
2488 r"""Invert(COLOR4D self) -> COLOR4D"""
2489 return _pcbnew.COLOR4D_Invert(self)
2492 r"""Saturate(COLOR4D self, double aFactor) -> COLOR4D"""
2493 return _pcbnew.COLOR4D_Saturate(self, aFactor)
2496 r"""Desaturate(COLOR4D self) -> COLOR4D"""
2497 return _pcbnew.COLOR4D_Desaturate(self)
2500 r"""Brightened(COLOR4D self, double aFactor) -> COLOR4D"""
2501 return _pcbnew.COLOR4D_Brightened(self, aFactor)
2504 r"""Darkened(COLOR4D self, double aFactor) -> COLOR4D"""
2505 return _pcbnew.COLOR4D_Darkened(self, aFactor)
2507 def Mix(self, aColor, aFactor):
2508 r"""Mix(COLOR4D self, COLOR4D aColor, double aFactor) -> COLOR4D"""
2509 return _pcbnew.COLOR4D_Mix(self, aColor, aFactor)
2512 r"""WithAlpha(COLOR4D self, double aAlpha) -> COLOR4D"""
2513 return _pcbnew.COLOR4D_WithAlpha(self, aAlpha)
2516 r"""Inverted(COLOR4D self) -> COLOR4D"""
2517 return _pcbnew.COLOR4D_Inverted(self)
2520 r"""GetBrightness(COLOR4D self) -> double"""
2521 return _pcbnew.COLOR4D_GetBrightness(self)
2523 def ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue=False):
2524 r"""ToHSV(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue, bool aAlwaysDefineHue=False)"""
2525 return _pcbnew.COLOR4D_ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue)
2528 r"""FromHSV(COLOR4D self, double aInH, double aInS, double aInV)"""
2529 return _pcbnew.COLOR4D_FromHSV(self, aInH, aInS, aInV)
2532 r"""Distance(COLOR4D self, COLOR4D other) -> double"""
2533 return _pcbnew.COLOR4D_Distance(self, other)
2536 r"""Compare(COLOR4D self, COLOR4D aRhs) -> int"""
2537 return _pcbnew.COLOR4D_Compare(self, aRhs)
2541 r"""FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2542 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2543 r = property(_pcbnew.COLOR4D_r_get, _pcbnew.COLOR4D_r_set, doc=
r"""r : double""")
2544 g = property(_pcbnew.COLOR4D_g_get, _pcbnew.COLOR4D_g_set, doc=
r"""g : double""")
2545 b = property(_pcbnew.COLOR4D_b_get, _pcbnew.COLOR4D_b_set, doc=
r"""b : double""")
2546 a = property(_pcbnew.COLOR4D_a_get, _pcbnew.COLOR4D_a_set, doc=
r"""a : double""")
2547 __swig_destroy__ = _pcbnew.delete_COLOR4D
2550_pcbnew.COLOR4D_swigregister(COLOR4D)
2553 r"""COLOR4D_FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2554 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2555COLOR4D.UNSPECIFIED = _pcbnew.cvar.COLOR4D_UNSPECIFIED
2556COLOR4D.WHITE = _pcbnew.cvar.COLOR4D_WHITE
2557COLOR4D.BLACK = _pcbnew.cvar.COLOR4D_BLACK
2558COLOR4D.CLEAR = _pcbnew.cvar.COLOR4D_CLEAR
2562 r"""__eq__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2563 return _pcbnew.__eq__(lhs, rhs)
2566 r"""__ne__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2567 return _pcbnew.__ne__(lhs, rhs)
2570 r"""__lt__(COLOR4D lhs, COLOR4D rhs) -> bool"""
2571 return _pcbnew.__lt__(lhs, rhs)
2574 r"""__lshift__(std::ostream & aStream, COLOR4D aColor) -> std::ostream &"""
2575 return _pcbnew.__lshift__(aStream, aColor)
2577 r"""Proxy of C++ MARKER_BASE class."""
2579 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2582 raise AttributeError(
"No constructor defined - class is abstract")
2583 __repr__ = _swig_repr
2584 MARKER_UNSPEC = _pcbnew.MARKER_BASE_MARKER_UNSPEC
2586 MARKER_ERC = _pcbnew.MARKER_BASE_MARKER_ERC
2588 MARKER_DRC = _pcbnew.MARKER_BASE_MARKER_DRC
2590 MARKER_DRAWING_SHEET = _pcbnew.MARKER_BASE_MARKER_DRAWING_SHEET
2592 MARKER_RATSNEST = _pcbnew.MARKER_BASE_MARKER_RATSNEST
2594 MARKER_PARITY = _pcbnew.MARKER_BASE_MARKER_PARITY
2596 MARKER_SIMUL = _pcbnew.MARKER_BASE_MARKER_SIMUL
2598 __swig_destroy__ = _pcbnew.delete_MARKER_BASE
2601 r"""MarkerScale(MARKER_BASE self) -> int"""
2602 return _pcbnew.MARKER_BASE_MarkerScale(self)
2605 r"""SetMarkerScale(MARKER_BASE self, int aScale)"""
2606 return _pcbnew.MARKER_BASE_SetMarkerScale(self, aScale)
2609 r"""ShapeToPolygon(MARKER_BASE self, SHAPE_LINE_CHAIN aPolygon, int aScale=-1)"""
2610 return _pcbnew.MARKER_BASE_ShapeToPolygon(self, aPolygon, aScale)
2613 r"""PrintMarker(MARKER_BASE self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset)"""
2614 return _pcbnew.MARKER_BASE_PrintMarker(self, aSettings, aOffset)
2617 r"""GetPos(MARKER_BASE self) -> VECTOR2I"""
2618 return _pcbnew.MARKER_BASE_GetPos(self)
2621 r"""GetUUID(MARKER_BASE self) -> KIID"""
2622 return _pcbnew.MARKER_BASE_GetUUID(self)
2625 r"""SetMarkerType(MARKER_BASE self, enum MARKER_BASE::MARKER_T aMarkerType)"""
2626 return _pcbnew.MARKER_BASE_SetMarkerType(self, aMarkerType)
2629 r"""GetMarkerType(MARKER_BASE self) -> enum MARKER_BASE::MARKER_T"""
2630 return _pcbnew.MARKER_BASE_GetMarkerType(self)
2633 r"""IsExcluded(MARKER_BASE self) -> bool"""
2634 return _pcbnew.MARKER_BASE_IsExcluded(self)
2637 r"""SetExcluded(MARKER_BASE self, bool aExcluded)"""
2638 return _pcbnew.MARKER_BASE_SetExcluded(self, aExcluded)
2641 r"""GetSeverity(MARKER_BASE self) -> SEVERITY"""
2642 return _pcbnew.MARKER_BASE_GetSeverity(self)
2645 r"""GetRCItem(MARKER_BASE self) -> std::shared_ptr< RC_ITEM >"""
2646 return _pcbnew.MARKER_BASE_GetRCItem(self)
2649 r"""HitTestMarker(MARKER_BASE self, VECTOR2I aHitPosition, int aAccuracy) -> bool"""
2650 return _pcbnew.MARKER_BASE_HitTestMarker(self, aHitPosition, aAccuracy)
2653 r"""GetBoundingBoxMarker(MARKER_BASE self) -> BOX2I"""
2654 return _pcbnew.MARKER_BASE_GetBoundingBoxMarker(self)
2655 m_Pos = property(_pcbnew.MARKER_BASE_m_Pos_get, _pcbnew.MARKER_BASE_m_Pos_set, doc=
r"""m_Pos : VECTOR2I""")
2658_pcbnew.MARKER_BASE_swigregister(MARKER_BASE)
2660TEXT_MIN_SIZE_MM = _pcbnew.TEXT_MIN_SIZE_MM
2662TEXT_MAX_SIZE_MM = _pcbnew.TEXT_MAX_SIZE_MM
2664DEFAULT_SIZE_TEXT = _pcbnew.DEFAULT_SIZE_TEXT
2667 r"""Proxy of C++ EDA_TEXT class."""
2669 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2670 __repr__ = _swig_repr
2674 __init__(EDA_TEXT self, EDA_IU_SCALE aIuScale, wxString aText=wxEmptyString) -> EDA_TEXT
2675 __init__(EDA_TEXT self, EDA_TEXT aText) -> EDA_TEXT
2677 _pcbnew.EDA_TEXT_swiginit(self, _pcbnew.new_EDA_TEXT(*args))
2678 __swig_destroy__ = _pcbnew.delete_EDA_TEXT
2681 r"""GetText(EDA_TEXT self) -> wxString"""
2682 return _pcbnew.EDA_TEXT_GetText(self)
2685 r"""GetShownText(EDA_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
2686 return _pcbnew.EDA_TEXT_GetShownText(self, aAllowExtraText, aDepth)
2689 r"""HasTextVars(EDA_TEXT self) -> bool"""
2690 return _pcbnew.EDA_TEXT_HasTextVars(self)
2693 r"""SetText(EDA_TEXT self, wxString aText)"""
2694 return _pcbnew.EDA_TEXT_SetText(self, aText)
2697 r"""SetTextThickness(EDA_TEXT self, int aWidth)"""
2698 return _pcbnew.EDA_TEXT_SetTextThickness(self, aWidth)
2701 r"""GetTextThickness(EDA_TEXT self) -> int"""
2702 return _pcbnew.EDA_TEXT_GetTextThickness(self)
2705 r"""GetEffectiveTextPenWidth(EDA_TEXT self, int aDefaultPenWidth=0) -> int"""
2706 return _pcbnew.EDA_TEXT_GetEffectiveTextPenWidth(self, aDefaultPenWidth)
2709 r"""SetTextAngle(EDA_TEXT self, EDA_ANGLE aAngle)"""
2710 return _pcbnew.EDA_TEXT_SetTextAngle(self, aAngle)
2713 r"""GetTextAngle(EDA_TEXT self) -> EDA_ANGLE"""
2714 return _pcbnew.EDA_TEXT_GetTextAngle(self)
2717 r"""SetTextAngleDegrees(EDA_TEXT self, double aOrientation)"""
2718 return _pcbnew.EDA_TEXT_SetTextAngleDegrees(self, aOrientation)
2721 r"""GetTextAngleDegrees(EDA_TEXT self) -> double"""
2722 return _pcbnew.EDA_TEXT_GetTextAngleDegrees(self)
2725 r"""SetItalic(EDA_TEXT self, bool aItalic)"""
2726 return _pcbnew.EDA_TEXT_SetItalic(self, aItalic)
2729 r"""IsItalic(EDA_TEXT self) -> bool"""
2730 return _pcbnew.EDA_TEXT_IsItalic(self)
2733 r"""SetBold(EDA_TEXT self, bool aBold)"""
2734 return _pcbnew.EDA_TEXT_SetBold(self, aBold)
2737 r"""SetBoldFlag(EDA_TEXT self, bool aBold)"""
2738 return _pcbnew.EDA_TEXT_SetBoldFlag(self, aBold)
2741 r"""IsBold(EDA_TEXT self) -> bool"""
2742 return _pcbnew.EDA_TEXT_IsBold(self)
2745 r"""SetVisible(EDA_TEXT self, bool aVisible)"""
2746 return _pcbnew.EDA_TEXT_SetVisible(self, aVisible)
2749 r"""IsVisible(EDA_TEXT self) -> bool"""
2750 return _pcbnew.EDA_TEXT_IsVisible(self)
2753 r"""SetMirrored(EDA_TEXT self, bool isMirrored)"""
2754 return _pcbnew.EDA_TEXT_SetMirrored(self, isMirrored)
2757 r"""IsMirrored(EDA_TEXT self) -> bool"""
2758 return _pcbnew.EDA_TEXT_IsMirrored(self)
2761 r"""SetMultilineAllowed(EDA_TEXT self, bool aAllow)"""
2762 return _pcbnew.EDA_TEXT_SetMultilineAllowed(self, aAllow)
2765 r"""IsMultilineAllowed(EDA_TEXT self) -> bool"""
2766 return _pcbnew.EDA_TEXT_IsMultilineAllowed(self)
2769 r"""SetHorizJustify(EDA_TEXT self, GR_TEXT_H_ALIGN_T aType)"""
2770 return _pcbnew.EDA_TEXT_SetHorizJustify(self, aType)
2773 r"""GetHorizJustify(EDA_TEXT self) -> GR_TEXT_H_ALIGN_T"""
2774 return _pcbnew.EDA_TEXT_GetHorizJustify(self)
2777 r"""SetVertJustify(EDA_TEXT self, GR_TEXT_V_ALIGN_T aType)"""
2778 return _pcbnew.EDA_TEXT_SetVertJustify(self, aType)
2781 r"""GetVertJustify(EDA_TEXT self) -> GR_TEXT_V_ALIGN_T"""
2782 return _pcbnew.EDA_TEXT_GetVertJustify(self)
2785 r"""SetKeepUpright(EDA_TEXT self, bool aKeepUpright)"""
2786 return _pcbnew.EDA_TEXT_SetKeepUpright(self, aKeepUpright)
2789 r"""IsKeepUpright(EDA_TEXT self) -> bool"""
2790 return _pcbnew.EDA_TEXT_IsKeepUpright(self)
2793 r"""FlipHJustify(EDA_TEXT self)"""
2794 return _pcbnew.EDA_TEXT_FlipHJustify(self)
2797 r"""SwapAttributes(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2798 return _pcbnew.EDA_TEXT_SwapAttributes(self, aTradingPartner)
2801 r"""SwapText(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2802 return _pcbnew.EDA_TEXT_SwapText(self, aTradingPartner)
2805 r"""CopyText(EDA_TEXT self, EDA_TEXT aSrc)"""
2806 return _pcbnew.EDA_TEXT_CopyText(self, aSrc)
2810 SetAttributes(EDA_TEXT self, EDA_TEXT aSrc, bool aSetPosition=True)
2813 return _pcbnew.EDA_TEXT_SetAttributes(self, *args)
2816 r"""GetAttributes(EDA_TEXT self) -> TEXT_ATTRIBUTES"""
2817 return _pcbnew.EDA_TEXT_GetAttributes(self)
2820 r"""Replace(EDA_TEXT self, EDA_SEARCH_DATA const & aSearchData) -> bool"""
2821 return _pcbnew.EDA_TEXT_Replace(self, aSearchData)
2824 r"""IsDefaultFormatting(EDA_TEXT self) -> bool"""
2825 return _pcbnew.EDA_TEXT_IsDefaultFormatting(self)
2828 r"""SetFont(EDA_TEXT self, KIFONT::FONT * aFont)"""
2829 return _pcbnew.EDA_TEXT_SetFont(self, aFont)
2832 r"""GetFont(EDA_TEXT self) -> KIFONT::FONT *"""
2833 return _pcbnew.EDA_TEXT_GetFont(self)
2836 r"""GetFontName(EDA_TEXT self) -> wxString"""
2837 return _pcbnew.EDA_TEXT_GetFontName(self)
2840 r"""SetFontIndex(EDA_TEXT self, int aIdx)"""
2841 return _pcbnew.EDA_TEXT_SetFontIndex(self, aIdx)
2844 r"""GetFontIndex(EDA_TEXT self) -> int"""
2845 return _pcbnew.EDA_TEXT_GetFontIndex(self)
2848 r"""SetLineSpacing(EDA_TEXT self, double aLineSpacing)"""
2849 return _pcbnew.EDA_TEXT_SetLineSpacing(self, aLineSpacing)
2852 r"""GetLineSpacing(EDA_TEXT self) -> double"""
2853 return _pcbnew.EDA_TEXT_GetLineSpacing(self)
2856 r"""SetTextSize(EDA_TEXT self, VECTOR2I aNewSize, bool aEnforceMinTextSize=True)"""
2857 return _pcbnew.EDA_TEXT_SetTextSize(self, aNewSize, aEnforceMinTextSize)
2860 r"""GetTextSize(EDA_TEXT self) -> VECTOR2I"""
2861 return _pcbnew.EDA_TEXT_GetTextSize(self)
2864 r"""SetTextWidth(EDA_TEXT self, int aWidth)"""
2865 return _pcbnew.EDA_TEXT_SetTextWidth(self, aWidth)
2868 r"""GetTextWidth(EDA_TEXT self) -> int"""
2869 return _pcbnew.EDA_TEXT_GetTextWidth(self)
2872 r"""SetTextHeight(EDA_TEXT self, int aHeight)"""
2873 return _pcbnew.EDA_TEXT_SetTextHeight(self, aHeight)
2876 r"""GetTextHeight(EDA_TEXT self) -> int"""
2877 return _pcbnew.EDA_TEXT_GetTextHeight(self)
2880 r"""SetTextColor(EDA_TEXT self, COLOR4D aColor)"""
2881 return _pcbnew.EDA_TEXT_SetTextColor(self, aColor)
2884 r"""GetTextColor(EDA_TEXT self) -> COLOR4D"""
2885 return _pcbnew.EDA_TEXT_GetTextColor(self)
2888 r"""SetTextPos(EDA_TEXT self, VECTOR2I aPoint)"""
2889 return _pcbnew.EDA_TEXT_SetTextPos(self, aPoint)
2892 r"""GetTextPos(EDA_TEXT self) -> VECTOR2I"""
2893 return _pcbnew.EDA_TEXT_GetTextPos(self)
2896 r"""SetTextX(EDA_TEXT self, int aX)"""
2897 return _pcbnew.EDA_TEXT_SetTextX(self, aX)
2900 r"""SetTextY(EDA_TEXT self, int aY)"""
2901 return _pcbnew.EDA_TEXT_SetTextY(self, aY)
2904 r"""Offset(EDA_TEXT self, VECTOR2I aOffset)"""
2905 return _pcbnew.EDA_TEXT_Offset(self, aOffset)
2908 r"""Empty(EDA_TEXT self)"""
2909 return _pcbnew.EDA_TEXT_Empty(self)
2913 r"""MapHorizJustify(int aHorizJustify) -> GR_TEXT_H_ALIGN_T"""
2914 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
2918 r"""MapVertJustify(int aVertJustify) -> GR_TEXT_V_ALIGN_T"""
2919 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
2921 def Print(self, aSettings, aOffset, aColor, aDisplay_mode=FILLED):
2922 r"""Print(EDA_TEXT self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset, COLOR4D aColor, OUTLINE_MODE aDisplay_mode=FILLED)"""
2923 return _pcbnew.EDA_TEXT_Print(self, aSettings, aOffset, aColor, aDisplay_mode)
2926 r"""GetEffectiveTextShape(EDA_TEXT self, bool aTriangulate=True, BOX2I aBBox=BOX2I(), EDA_ANGLE aAngle=ANGLE_0) -> std::shared_ptr< SHAPE_COMPOUND >"""
2927 return _pcbnew.EDA_TEXT_GetEffectiveTextShape(self, *args)
2931 TextHitTest(EDA_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
2932 TextHitTest(EDA_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
2934 return _pcbnew.EDA_TEXT_TextHitTest(self, *args)
2937 r"""GetTextBox(EDA_TEXT self, int aLine=-1, bool aInvertY=False) -> BOX2I"""
2938 return _pcbnew.EDA_TEXT_GetTextBox(self, aLine, aInvertY)
2941 r"""GetInterline(EDA_TEXT self) -> int"""
2942 return _pcbnew.EDA_TEXT_GetInterline(self)
2945 r"""GetTextStyleName(EDA_TEXT self) -> wxString"""
2946 return _pcbnew.EDA_TEXT_GetTextStyleName(self)
2949 r"""GetLinePositions(EDA_TEXT self, VECTOR_VECTOR2I aPositions, int aLineCount)"""
2950 return _pcbnew.EDA_TEXT_GetLinePositions(self, aPositions, aLineCount)
2953 r"""Levenshtein(EDA_TEXT self, EDA_TEXT aOther) -> double"""
2954 return _pcbnew.EDA_TEXT_Levenshtein(self, aOther)
2957 r"""Similarity(EDA_TEXT self, EDA_TEXT aOther) -> double"""
2958 return _pcbnew.EDA_TEXT_Similarity(self, aOther)
2960 def Format(self, aFormatter, aNestLevel, aControlBits):
2961 r"""Format(EDA_TEXT self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControlBits)"""
2962 return _pcbnew.EDA_TEXT_Format(self, aFormatter, aNestLevel, aControlBits)
2965 r"""GetDrawRotation(EDA_TEXT self) -> EDA_ANGLE"""
2966 return _pcbnew.EDA_TEXT_GetDrawRotation(self)
2969 r"""GetDrawPos(EDA_TEXT self) -> VECTOR2I"""
2970 return _pcbnew.EDA_TEXT_GetDrawPos(self)
2973 r"""ClearRenderCache(EDA_TEXT self)"""
2974 return _pcbnew.EDA_TEXT_ClearRenderCache(self)
2977 r"""ClearBoundingBoxCache(EDA_TEXT self)"""
2978 return _pcbnew.EDA_TEXT_ClearBoundingBoxCache(self)
2981 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 > > >"""
2982 return _pcbnew.EDA_TEXT_GetRenderCache(self, *args)
2985 r"""SetupRenderCache(EDA_TEXT self, wxString aResolvedText, KIFONT::FONT const * aFont, EDA_ANGLE aAngle, VECTOR2I aOffset)"""
2986 return _pcbnew.EDA_TEXT_SetupRenderCache(self, aResolvedText, aFont, aAngle, aOffset)
2989 r"""AddRenderCacheGlyph(EDA_TEXT self, SHAPE_POLY_SET aPoly)"""
2990 return _pcbnew.EDA_TEXT_AddRenderCacheGlyph(self, aPoly)
2993 r"""Compare(EDA_TEXT self, EDA_TEXT aOther) -> int"""
2994 return _pcbnew.EDA_TEXT_Compare(self, aOther)
2997 r"""__eq__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
2998 return _pcbnew.EDA_TEXT___eq__(self, aRhs)
3001 r"""__lt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
3002 return _pcbnew.EDA_TEXT___lt__(self, aRhs)
3005 r"""__gt__(EDA_TEXT self, EDA_TEXT aRhs) -> bool"""
3006 return _pcbnew.EDA_TEXT___gt__(self, aRhs)
3009 r"""HasHyperlink(EDA_TEXT self) -> bool"""
3010 return _pcbnew.EDA_TEXT_HasHyperlink(self)
3013 r"""GetHyperlink(EDA_TEXT self) -> wxString"""
3014 return _pcbnew.EDA_TEXT_GetHyperlink(self)
3017 r"""SetHyperlink(EDA_TEXT self, wxString aLink)"""
3018 return _pcbnew.EDA_TEXT_SetHyperlink(self, aLink)
3021 r"""RemoveHyperlink(EDA_TEXT self)"""
3022 return _pcbnew.EDA_TEXT_RemoveHyperlink(self)
3026 r"""ValidateHyperlink(wxString aURL) -> bool"""
3027 return _pcbnew.EDA_TEXT_ValidateHyperlink(aURL)
3031 r"""IsGotoPageHref(wxString aHref, wxString aDestination=None) -> bool"""
3032 return _pcbnew.EDA_TEXT_IsGotoPageHref(aHref, aDestination)
3036 r"""GotoPageHref(wxString aDestination) -> wxString"""
3037 return _pcbnew.EDA_TEXT_GotoPageHref(aDestination)
3040_pcbnew.EDA_TEXT_swigregister(EDA_TEXT)
3043 r"""EDA_TEXT_MapHorizJustify(int aHorizJustify) -> GR_TEXT_H_ALIGN_T"""
3044 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
3047 r"""EDA_TEXT_MapVertJustify(int aVertJustify) -> GR_TEXT_V_ALIGN_T"""
3048 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
3051 r"""EDA_TEXT_ValidateHyperlink(wxString aURL) -> bool"""
3052 return _pcbnew.EDA_TEXT_ValidateHyperlink(aURL)
3055 r"""EDA_TEXT_IsGotoPageHref(wxString aHref, wxString aDestination=None) -> bool"""
3056 return _pcbnew.EDA_TEXT_IsGotoPageHref(aHref, aDestination)
3059 r"""EDA_TEXT_GotoPageHref(wxString aDestination) -> wxString"""
3060 return _pcbnew.EDA_TEXT_GotoPageHref(aDestination)
3064 r"""GetBuildVersion() -> wxString"""
3065 return _pcbnew.GetBuildVersion()
3068 r"""GetBaseVersion() -> wxString"""
3069 return _pcbnew.GetBaseVersion()
3072 r"""GetPlatformGetBitnessName() -> wxString"""
3073 return _pcbnew.GetPlatformGetBitnessName()
3076 r"""GetSemanticVersion() -> wxString"""
3077 return _pcbnew.GetSemanticVersion()
3080 r"""GetMajorMinorVersion() -> wxString"""
3081 return _pcbnew.GetMajorMinorVersion()
3084 r"""GetMajorMinorPatchVersion() -> wxString"""
3085 return _pcbnew.GetMajorMinorPatchVersion()
3088 r"""GetBuildDate() -> wxString"""
3089 return _pcbnew.GetBuildDate()
3092 r"""GetCommitHash() -> wxString"""
3093 return _pcbnew.GetCommitHash()
3096 r"""GetMajorMinorPatchTuple() -> std::tuple< int,int,int > const &"""
3097 return _pcbnew.GetMajorMinorPatchTuple()
3100 r"""IsNightlyVersion() -> bool"""
3101 return _pcbnew.IsNightlyVersion()
3104 r"""SetOpenGLInfo(char const * aRenderer, char const * aVendor, char const * aVersion)"""
3105 return _pcbnew.SetOpenGLInfo(aRenderer, aVendor, aVersion)
3108 r"""GetVersionInfoData(wxString aTitle, bool aHtml=False, bool aBrief=False) -> wxString"""
3109 return _pcbnew.GetVersionInfoData(aTitle, aHtml, aBrief)
3110UNDEFINED_LAYER = _pcbnew.UNDEFINED_LAYER
3112UNSELECTED_LAYER = _pcbnew.UNSELECTED_LAYER
3114PCBNEW_LAYER_ID_START = _pcbnew.PCBNEW_LAYER_ID_START
3118In1_Cu = _pcbnew.In1_Cu
3120In2_Cu = _pcbnew.In2_Cu
3122In3_Cu = _pcbnew.In3_Cu
3124In4_Cu = _pcbnew.In4_Cu
3126In5_Cu = _pcbnew.In5_Cu
3128In6_Cu = _pcbnew.In6_Cu
3130In7_Cu = _pcbnew.In7_Cu
3132In8_Cu = _pcbnew.In8_Cu
3134In9_Cu = _pcbnew.In9_Cu
3136In10_Cu = _pcbnew.In10_Cu
3138In11_Cu = _pcbnew.In11_Cu
3140In12_Cu = _pcbnew.In12_Cu
3142In13_Cu = _pcbnew.In13_Cu
3144In14_Cu = _pcbnew.In14_Cu
3146In15_Cu = _pcbnew.In15_Cu
3148In16_Cu = _pcbnew.In16_Cu
3150In17_Cu = _pcbnew.In17_Cu
3152In18_Cu = _pcbnew.In18_Cu
3154In19_Cu = _pcbnew.In19_Cu
3156In20_Cu = _pcbnew.In20_Cu
3158In21_Cu = _pcbnew.In21_Cu
3160In22_Cu = _pcbnew.In22_Cu
3162In23_Cu = _pcbnew.In23_Cu
3164In24_Cu = _pcbnew.In24_Cu
3166In25_Cu = _pcbnew.In25_Cu
3168In26_Cu = _pcbnew.In26_Cu
3170In27_Cu = _pcbnew.In27_Cu
3172In28_Cu = _pcbnew.In28_Cu
3174In29_Cu = _pcbnew.In29_Cu
3176In30_Cu = _pcbnew.In30_Cu
3180B_Adhes = _pcbnew.B_Adhes
3182F_Adhes = _pcbnew.F_Adhes
3184B_Paste = _pcbnew.B_Paste
3186F_Paste = _pcbnew.F_Paste
3188B_SilkS = _pcbnew.B_SilkS
3190F_SilkS = _pcbnew.F_SilkS
3192B_Mask = _pcbnew.B_Mask
3194F_Mask = _pcbnew.F_Mask
3196Dwgs_User = _pcbnew.Dwgs_User
3198Cmts_User = _pcbnew.Cmts_User
3200Eco1_User = _pcbnew.Eco1_User
3202Eco2_User = _pcbnew.Eco2_User
3204Edge_Cuts = _pcbnew.Edge_Cuts
3206Margin = _pcbnew.Margin
3208B_CrtYd = _pcbnew.B_CrtYd
3210F_CrtYd = _pcbnew.F_CrtYd
3212B_Fab = _pcbnew.B_Fab
3214F_Fab = _pcbnew.F_Fab
3216User_1 = _pcbnew.User_1
3218User_2 = _pcbnew.User_2
3220User_3 = _pcbnew.User_3
3222User_4 = _pcbnew.User_4
3224User_5 = _pcbnew.User_5
3226User_6 = _pcbnew.User_6
3228User_7 = _pcbnew.User_7
3230User_8 = _pcbnew.User_8
3232User_9 = _pcbnew.User_9
3234Rescue = _pcbnew.Rescue
3236PCB_LAYER_ID_COUNT = _pcbnew.PCB_LAYER_ID_COUNT
3238FLASHING_DEFAULT = _pcbnew.FLASHING_DEFAULT
3240FLASHING_ALWAYS_FLASHED = _pcbnew.FLASHING_ALWAYS_FLASHED
3242FLASHING_NEVER_FLASHED = _pcbnew.FLASHING_NEVER_FLASHED
3244NETNAMES_LAYER_ID_START = _pcbnew.NETNAMES_LAYER_ID_START
3246NETNAMES_LAYER_ID_RESERVED = _pcbnew.NETNAMES_LAYER_ID_RESERVED
3248LAYER_PAD_FR_NETNAMES = _pcbnew.LAYER_PAD_FR_NETNAMES
3250LAYER_PAD_BK_NETNAMES = _pcbnew.LAYER_PAD_BK_NETNAMES
3252LAYER_PAD_NETNAMES = _pcbnew.LAYER_PAD_NETNAMES
3254LAYER_VIA_NETNAMES = _pcbnew.LAYER_VIA_NETNAMES
3256NETNAMES_LAYER_ID_END = _pcbnew.NETNAMES_LAYER_ID_END
3258GAL_UI_LAYER_COUNT = _pcbnew.GAL_UI_LAYER_COUNT
3260GAL_LAYER_ID_START = _pcbnew.GAL_LAYER_ID_START
3262LAYER_VIAS = _pcbnew.LAYER_VIAS
3264LAYER_VIA_MICROVIA = _pcbnew.LAYER_VIA_MICROVIA
3266LAYER_VIA_BBLIND = _pcbnew.LAYER_VIA_BBLIND
3268LAYER_VIA_THROUGH = _pcbnew.LAYER_VIA_THROUGH
3270LAYER_NON_PLATEDHOLES = _pcbnew.LAYER_NON_PLATEDHOLES
3272LAYER_FP_TEXT = _pcbnew.LAYER_FP_TEXT
3274LAYER_HIDDEN_TEXT = _pcbnew.LAYER_HIDDEN_TEXT
3276LAYER_ANCHOR = _pcbnew.LAYER_ANCHOR
3278LAYER_PADS_SMD_FR = _pcbnew.LAYER_PADS_SMD_FR
3280LAYER_PADS_SMD_BK = _pcbnew.LAYER_PADS_SMD_BK
3282LAYER_RATSNEST = _pcbnew.LAYER_RATSNEST
3284LAYER_GRID = _pcbnew.LAYER_GRID
3286LAYER_GRID_AXES = _pcbnew.LAYER_GRID_AXES
3288LAYER_FOOTPRINTS_FR = _pcbnew.LAYER_FOOTPRINTS_FR
3290LAYER_FOOTPRINTS_BK = _pcbnew.LAYER_FOOTPRINTS_BK
3292LAYER_FP_VALUES = _pcbnew.LAYER_FP_VALUES
3294LAYER_FP_REFERENCES = _pcbnew.LAYER_FP_REFERENCES
3296LAYER_TRACKS = _pcbnew.LAYER_TRACKS
3298LAYER_PADS_TH = _pcbnew.LAYER_PADS_TH
3300LAYER_PAD_PLATEDHOLES = _pcbnew.LAYER_PAD_PLATEDHOLES
3302LAYER_VIA_HOLES = _pcbnew.LAYER_VIA_HOLES
3304LAYER_DRC_ERROR = _pcbnew.LAYER_DRC_ERROR
3306LAYER_DRAWINGSHEET = _pcbnew.LAYER_DRAWINGSHEET
3308LAYER_GP_OVERLAY = _pcbnew.LAYER_GP_OVERLAY
3310LAYER_SELECT_OVERLAY = _pcbnew.LAYER_SELECT_OVERLAY
3312LAYER_PCB_BACKGROUND = _pcbnew.LAYER_PCB_BACKGROUND
3314LAYER_CURSOR = _pcbnew.LAYER_CURSOR
3316LAYER_AUX_ITEMS = _pcbnew.LAYER_AUX_ITEMS
3318LAYER_DRAW_BITMAPS = _pcbnew.LAYER_DRAW_BITMAPS
3320GAL_LAYER_ID_BITMASK_END = _pcbnew.GAL_LAYER_ID_BITMASK_END
3322LAYER_PADS = _pcbnew.LAYER_PADS
3324LAYER_ZONES = _pcbnew.LAYER_ZONES
3326LAYER_PAD_HOLEWALLS = _pcbnew.LAYER_PAD_HOLEWALLS
3328LAYER_VIA_HOLEWALLS = _pcbnew.LAYER_VIA_HOLEWALLS
3330LAYER_DRC_WARNING = _pcbnew.LAYER_DRC_WARNING
3332LAYER_DRC_EXCLUSION = _pcbnew.LAYER_DRC_EXCLUSION
3334LAYER_MARKER_SHADOWS = _pcbnew.LAYER_MARKER_SHADOWS
3336LAYER_LOCKED_ITEM_SHADOW = _pcbnew.LAYER_LOCKED_ITEM_SHADOW
3338LAYER_CONFLICTS_SHADOW = _pcbnew.LAYER_CONFLICTS_SHADOW
3340LAYER_DRAWINGSHEET_PAGE1 = _pcbnew.LAYER_DRAWINGSHEET_PAGE1
3342LAYER_DRAWINGSHEET_PAGEn = _pcbnew.LAYER_DRAWINGSHEET_PAGEn
3344LAYER_PAGE_LIMITS = _pcbnew.LAYER_PAGE_LIMITS
3346LAYER_ZONE_START = _pcbnew.LAYER_ZONE_START
3348LAYER_ZONE_END = _pcbnew.LAYER_ZONE_END
3350LAYER_BITMAP_START = _pcbnew.LAYER_BITMAP_START
3352LAYER_BITMAP_END = _pcbnew.LAYER_BITMAP_END
3354LAYER_UI_START = _pcbnew.LAYER_UI_START
3356LAYER_UI_END = _pcbnew.LAYER_UI_END
3358GAL_LAYER_ID_END = _pcbnew.GAL_LAYER_ID_END
3362 r"""ToGalLayer(int aInteger) -> GAL_LAYER_ID"""
3363 return _pcbnew.ToGalLayer(aInteger)
3365 r"""Proxy of C++ GAL_SET class."""
3367 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3368 __repr__ = _swig_repr
3373 __init__(GAL_SET self, GAL_SET aOther) -> GAL_SET
3374 __init__(GAL_SET self, GAL_LAYER_ID const * aArray, unsigned int aCount) -> GAL_SET
3376 _pcbnew.GAL_SET_swiginit(self, _pcbnew.new_GAL_SET(*args))
3380 set(GAL_SET self) -> GAL_SET
3381 set(GAL_SET self, int aPos, bool aVal=True) -> GAL_SET
3382 set(GAL_SET self, GAL_LAYER_ID aPos, bool aVal=
True) -> GAL_SET
3384 return _pcbnew.GAL_SET_set(self, *args)
3387 r"""Contains(GAL_SET self, GAL_LAYER_ID aPos) -> bool"""
3388 return _pcbnew.GAL_SET_Contains(self, aPos)
3391 r"""Seq(GAL_SET self) -> std::vector< GAL_LAYER_ID,std::allocator< GAL_LAYER_ID > >"""
3392 return _pcbnew.GAL_SET_Seq(self)
3396 r"""DefaultVisible() -> GAL_SET"""
3397 return _pcbnew.GAL_SET_DefaultVisible()
3398 __swig_destroy__ = _pcbnew.delete_GAL_SET
3401_pcbnew.GAL_SET_swigregister(GAL_SET)
3402GAL_LAYER_ID_COUNT = cvar.GAL_LAYER_ID_COUNT
3405 r"""GAL_SET_DefaultVisible() -> GAL_SET"""
3406 return _pcbnew.GAL_SET_DefaultVisible()
3408SCH_LAYER_ID_START = _pcbnew.SCH_LAYER_ID_START
3410LAYER_WIRE = _pcbnew.LAYER_WIRE
3412LAYER_BUS = _pcbnew.LAYER_BUS
3414LAYER_JUNCTION = _pcbnew.LAYER_JUNCTION
3416LAYER_LOCLABEL = _pcbnew.LAYER_LOCLABEL
3418LAYER_GLOBLABEL = _pcbnew.LAYER_GLOBLABEL
3420LAYER_HIERLABEL = _pcbnew.LAYER_HIERLABEL
3422LAYER_PINNUM = _pcbnew.LAYER_PINNUM
3424LAYER_PINNAM = _pcbnew.LAYER_PINNAM
3426LAYER_REFERENCEPART = _pcbnew.LAYER_REFERENCEPART
3428LAYER_VALUEPART = _pcbnew.LAYER_VALUEPART
3430LAYER_FIELDS = _pcbnew.LAYER_FIELDS
3432LAYER_INTERSHEET_REFS = _pcbnew.LAYER_INTERSHEET_REFS
3434LAYER_NETCLASS_REFS = _pcbnew.LAYER_NETCLASS_REFS
3436LAYER_DEVICE = _pcbnew.LAYER_DEVICE
3438LAYER_NOTES = _pcbnew.LAYER_NOTES
3440LAYER_PRIVATE_NOTES = _pcbnew.LAYER_PRIVATE_NOTES
3442LAYER_NOTES_BACKGROUND = _pcbnew.LAYER_NOTES_BACKGROUND
3444LAYER_PIN = _pcbnew.LAYER_PIN
3446LAYER_SHEET = _pcbnew.LAYER_SHEET
3448LAYER_SHEETNAME = _pcbnew.LAYER_SHEETNAME
3450LAYER_SHEETFILENAME = _pcbnew.LAYER_SHEETFILENAME
3452LAYER_SHEETFIELDS = _pcbnew.LAYER_SHEETFIELDS
3454LAYER_SHEETLABEL = _pcbnew.LAYER_SHEETLABEL
3456LAYER_NOCONNECT = _pcbnew.LAYER_NOCONNECT
3458LAYER_DANGLING = _pcbnew.LAYER_DANGLING
3460LAYER_DNP_MARKER = _pcbnew.LAYER_DNP_MARKER
3462LAYER_ERC_WARN = _pcbnew.LAYER_ERC_WARN
3464LAYER_ERC_ERR = _pcbnew.LAYER_ERC_ERR
3466LAYER_ERC_EXCLUSION = _pcbnew.LAYER_ERC_EXCLUSION
3468LAYER_DEVICE_BACKGROUND = _pcbnew.LAYER_DEVICE_BACKGROUND
3470LAYER_SHEET_BACKGROUND = _pcbnew.LAYER_SHEET_BACKGROUND
3472LAYER_SCHEMATIC_GRID = _pcbnew.LAYER_SCHEMATIC_GRID
3474LAYER_SCHEMATIC_GRID_AXES = _pcbnew.LAYER_SCHEMATIC_GRID_AXES
3476LAYER_SCHEMATIC_BACKGROUND = _pcbnew.LAYER_SCHEMATIC_BACKGROUND
3478LAYER_SCHEMATIC_CURSOR = _pcbnew.LAYER_SCHEMATIC_CURSOR
3480LAYER_HOVERED = _pcbnew.LAYER_HOVERED
3482LAYER_BRIGHTENED = _pcbnew.LAYER_BRIGHTENED
3484LAYER_HIDDEN = _pcbnew.LAYER_HIDDEN
3486LAYER_SELECTION_SHADOWS = _pcbnew.LAYER_SELECTION_SHADOWS
3488LAYER_SCHEMATIC_DRAWINGSHEET = _pcbnew.LAYER_SCHEMATIC_DRAWINGSHEET
3490LAYER_SCHEMATIC_PAGE_LIMITS = _pcbnew.LAYER_SCHEMATIC_PAGE_LIMITS
3492LAYER_BUS_JUNCTION = _pcbnew.LAYER_BUS_JUNCTION
3494LAYER_SCHEMATIC_AUX_ITEMS = _pcbnew.LAYER_SCHEMATIC_AUX_ITEMS
3496LAYER_SCHEMATIC_ANCHOR = _pcbnew.LAYER_SCHEMATIC_ANCHOR
3498LAYER_OP_VOLTAGES = _pcbnew.LAYER_OP_VOLTAGES
3500LAYER_OP_CURRENTS = _pcbnew.LAYER_OP_CURRENTS
3502SCH_LAYER_ID_END = _pcbnew.SCH_LAYER_ID_END
3504GERBVIEW_LAYER_ID_START = _pcbnew.GERBVIEW_LAYER_ID_START
3506GERBVIEW_LAYER_ID_RESERVED = _pcbnew.GERBVIEW_LAYER_ID_RESERVED
3508LAYER_DCODES = _pcbnew.LAYER_DCODES
3510LAYER_NEGATIVE_OBJECTS = _pcbnew.LAYER_NEGATIVE_OBJECTS
3512LAYER_GERBVIEW_GRID = _pcbnew.LAYER_GERBVIEW_GRID
3514LAYER_GERBVIEW_AXES = _pcbnew.LAYER_GERBVIEW_AXES
3516LAYER_GERBVIEW_BACKGROUND = _pcbnew.LAYER_GERBVIEW_BACKGROUND
3518LAYER_GERBVIEW_DRAWINGSHEET = _pcbnew.LAYER_GERBVIEW_DRAWINGSHEET
3520LAYER_GERBVIEW_PAGE_LIMITS = _pcbnew.LAYER_GERBVIEW_PAGE_LIMITS
3522GERBVIEW_LAYER_ID_END = _pcbnew.GERBVIEW_LAYER_ID_END
3524LAYER_3D_START = _pcbnew.LAYER_3D_START
3526LAYER_3D_BACKGROUND_BOTTOM = _pcbnew.LAYER_3D_BACKGROUND_BOTTOM
3528LAYER_3D_BACKGROUND_TOP = _pcbnew.LAYER_3D_BACKGROUND_TOP
3530LAYER_3D_BOARD = _pcbnew.LAYER_3D_BOARD
3532LAYER_3D_COPPER_TOP = _pcbnew.LAYER_3D_COPPER_TOP
3534LAYER_3D_COPPER_BOTTOM = _pcbnew.LAYER_3D_COPPER_BOTTOM
3536LAYER_3D_SILKSCREEN_BOTTOM = _pcbnew.LAYER_3D_SILKSCREEN_BOTTOM
3538LAYER_3D_SILKSCREEN_TOP = _pcbnew.LAYER_3D_SILKSCREEN_TOP
3540LAYER_3D_SOLDERMASK_BOTTOM = _pcbnew.LAYER_3D_SOLDERMASK_BOTTOM
3542LAYER_3D_SOLDERMASK_TOP = _pcbnew.LAYER_3D_SOLDERMASK_TOP
3544LAYER_3D_SOLDERPASTE = _pcbnew.LAYER_3D_SOLDERPASTE
3546LAYER_3D_ADHESIVE = _pcbnew.LAYER_3D_ADHESIVE
3548LAYER_3D_USER_COMMENTS = _pcbnew.LAYER_3D_USER_COMMENTS
3550LAYER_3D_USER_DRAWINGS = _pcbnew.LAYER_3D_USER_DRAWINGS
3552LAYER_3D_USER_ECO1 = _pcbnew.LAYER_3D_USER_ECO1
3554LAYER_3D_USER_ECO2 = _pcbnew.LAYER_3D_USER_ECO2
3556LAYER_3D_TH_MODELS = _pcbnew.LAYER_3D_TH_MODELS
3558LAYER_3D_SMD_MODELS = _pcbnew.LAYER_3D_SMD_MODELS
3560LAYER_3D_VIRTUAL_MODELS = _pcbnew.LAYER_3D_VIRTUAL_MODELS
3562LAYER_3D_MODELS_NOT_IN_POS = _pcbnew.LAYER_3D_MODELS_NOT_IN_POS
3564LAYER_3D_MODELS_MARKED_DNP = _pcbnew.LAYER_3D_MODELS_MARKED_DNP
3566LAYER_3D_AXES = _pcbnew.LAYER_3D_AXES
3568LAYER_3D_BOUNDING_BOXES = _pcbnew.LAYER_3D_BOUNDING_BOXES
3570LAYER_3D_OFF_BOARD_SILK = _pcbnew.LAYER_3D_OFF_BOARD_SILK
3572LAYER_3D_END = _pcbnew.LAYER_3D_END
3576 r"""LayerName(int aLayer) -> wxString"""
3577 return _pcbnew.LayerName(aLayer)
3579 r"""Proxy of C++ LSEQ class."""
3581 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3582 __repr__ = _swig_repr
3587 __init__(LSEQ self, std::initializer_list< PCB_LAYER_ID > aLayers) -> LSEQ
3589 _pcbnew.LSEQ_swiginit(self, _pcbnew.new_LSEQ(*args))
3592 r"""Rewind(LSEQ self)"""
3593 return _pcbnew.LSEQ_Rewind(self)
3596 return _pcbnew.LSEQ___nonzero__(self)
3597 __bool__ = __nonzero__
3602 r"""__ref__(LSEQ self) -> PCB_LAYER_ID"""
3603 return _pcbnew.LSEQ___ref__(self)
3606 r"""TestLayers(LSEQ self, PCB_LAYER_ID aRhs, PCB_LAYER_ID aLhs) -> int"""
3607 return _pcbnew.LSEQ_TestLayers(self, aRhs, aLhs)
3608 __swig_destroy__ = _pcbnew.delete_LSEQ
3611_pcbnew.LSEQ_swigregister(LSEQ)
3614 r"""Proxy of C++ LSET class."""
3616 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3617 __repr__ = _swig_repr
3622 __init__(LSET self, BASE_SET const & aOther) -> LSET
3623 __init__(LSET self, PCB_LAYER_ID aLayer) -> LSET
3624 __init__(LSET self, PCB_LAYER_ID const * aArray, unsigned int aCount) -> LSET
3625 __init__(LSET self, unsigned int aIdCount, int aFirst) -> LSET
3626 __init__(LSET self, LSEQ aSeq) -> LSET
3628 _pcbnew.LSET_swiginit(self, _pcbnew.new_LSET(*args))
3631 r"""Contains(LSET self, PCB_LAYER_ID aLayer) -> bool"""
3632 return _pcbnew.LSET_Contains(self, aLayer)
3636 r"""Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
3637 return _pcbnew.LSET_Name(aLayerId)
3641 r"""InternalCuMask() -> LSET"""
3642 return _pcbnew.LSET_InternalCuMask()
3646 r"""FrontAssembly() -> LSET"""
3647 return _pcbnew.LSET_FrontAssembly()
3651 r"""BackAssembly() -> LSET"""
3652 return _pcbnew.LSET_BackAssembly()
3656 r"""AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
3657 return _pcbnew.LSET_AllCuMask(*args)
3661 r"""ExternalCuMask() -> LSET"""
3662 return _pcbnew.LSET_ExternalCuMask()
3666 r"""AllNonCuMask() -> LSET"""
3667 return _pcbnew.LSET_AllNonCuMask()
3671 r"""AllLayersMask() -> LSET"""
3672 return _pcbnew.LSET_AllLayersMask()
3676 r"""FrontTechMask() -> LSET"""
3677 return _pcbnew.LSET_FrontTechMask()
3681 r"""FrontBoardTechMask() -> LSET"""
3682 return _pcbnew.LSET_FrontBoardTechMask()
3686 r"""BackTechMask() -> LSET"""
3687 return _pcbnew.LSET_BackTechMask()
3691 r"""BackBoardTechMask() -> LSET"""
3692 return _pcbnew.LSET_BackBoardTechMask()
3696 r"""AllTechMask() -> LSET"""
3697 return _pcbnew.LSET_AllTechMask()
3701 r"""AllBoardTechMask() -> LSET"""
3702 return _pcbnew.LSET_AllBoardTechMask()
3706 r"""FrontMask() -> LSET"""
3707 return _pcbnew.LSET_FrontMask()
3711 r"""BackMask() -> LSET"""
3712 return _pcbnew.LSET_BackMask()
3716 r"""SideSpecificMask() -> LSET"""
3717 return _pcbnew.LSET_SideSpecificMask()
3721 r"""UserMask() -> LSET"""
3722 return _pcbnew.LSET_UserMask()
3726 r"""PhysicalLayersMask() -> LSET"""
3727 return _pcbnew.LSET_PhysicalLayersMask()
3731 r"""UserDefinedLayers() -> LSET"""
3732 return _pcbnew.LSET_UserDefinedLayers()
3736 r"""ForbiddenFootprintLayers() -> LSET"""
3737 return _pcbnew.LSET_ForbiddenFootprintLayers()
3740 r"""CuStack(LSET self) -> LSEQ"""
3741 return _pcbnew.LSET_CuStack(self)
3744 r"""Technicals(LSET self, LSET aSubToOmit=LSET()) -> LSEQ"""
3745 return _pcbnew.LSET_Technicals(self, *args)
3748 r"""Users(LSET self) -> LSEQ"""
3749 return _pcbnew.LSET_Users(self)
3752 r"""TechAndUserUIOrder(LSET self) -> LSEQ"""
3753 return _pcbnew.LSET_TechAndUserUIOrder(self)
3756 r"""UIOrder(LSET self) -> LSEQ"""
3757 return _pcbnew.LSET_UIOrder(self)
3761 Seq(LSET self, PCB_LAYER_ID const * aWishListSequence, unsigned int aCount) -> LSEQ
3762 Seq(LSET self, LSEQ aSequence) -> LSEQ
3763 Seq(LSET self) -> LSEQ
3765 return _pcbnew.LSET_Seq(self, *args)
3768 r"""SeqStackupTop2Bottom(LSET self, PCB_LAYER_ID aSelectedLayer=UNDEFINED_LAYER) -> LSEQ"""
3769 return _pcbnew.LSET_SeqStackupTop2Bottom(self, aSelectedLayer)
3772 r"""SeqStackupForPlotting(LSET self) -> LSEQ"""
3773 return _pcbnew.LSET_SeqStackupForPlotting(self)
3776 r"""FmtHex(LSET self) -> string"""
3777 return _pcbnew.LSET_FmtHex(self)
3780 r"""ParseHex(LSET self, char const * aStart, int aCount) -> int"""
3781 return _pcbnew.LSET_ParseHex(self, aStart, aCount)
3784 r"""FmtBin(LSET self) -> string"""
3785 return _pcbnew.LSET_FmtBin(self)
3788 r"""ExtractLayer(LSET self) -> PCB_LAYER_ID"""
3789 return _pcbnew.LSET_ExtractLayer(self)
3792 r"""addLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
3793 return _pcbnew.LSET_addLayer(self, aLayer)
3796 r"""removeLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
3797 return _pcbnew.LSET_removeLayer(self, aLayer)
3800 r"""addLayerSet(LSET self, LSET aLayerSet) -> LSET"""
3801 return _pcbnew.LSET_addLayerSet(self, aLayerSet)
3804 r"""removeLayerSet(LSET self, LSET aLayerSet) -> LSET"""
3805 return _pcbnew.LSET_removeLayerSet(self, aLayerSet)
3819 __swig_destroy__ = _pcbnew.delete_LSET
3822_pcbnew.LSET_swigregister(LSET)
3825 r"""LSET_Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
3826 return _pcbnew.LSET_Name(aLayerId)
3829 r"""LSET_InternalCuMask() -> LSET"""
3830 return _pcbnew.LSET_InternalCuMask()
3833 r"""LSET_FrontAssembly() -> LSET"""
3834 return _pcbnew.LSET_FrontAssembly()
3837 r"""LSET_BackAssembly() -> LSET"""
3838 return _pcbnew.LSET_BackAssembly()
3841 r"""LSET_AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
3842 return _pcbnew.LSET_AllCuMask(*args)
3845 r"""LSET_ExternalCuMask() -> LSET"""
3846 return _pcbnew.LSET_ExternalCuMask()
3849 r"""LSET_AllNonCuMask() -> LSET"""
3850 return _pcbnew.LSET_AllNonCuMask()
3853 r"""LSET_AllLayersMask() -> LSET"""
3854 return _pcbnew.LSET_AllLayersMask()
3857 r"""LSET_FrontTechMask() -> LSET"""
3858 return _pcbnew.LSET_FrontTechMask()
3861 r"""LSET_FrontBoardTechMask() -> LSET"""
3862 return _pcbnew.LSET_FrontBoardTechMask()
3865 r"""LSET_BackTechMask() -> LSET"""
3866 return _pcbnew.LSET_BackTechMask()
3869 r"""LSET_BackBoardTechMask() -> LSET"""
3870 return _pcbnew.LSET_BackBoardTechMask()
3873 r"""LSET_AllTechMask() -> LSET"""
3874 return _pcbnew.LSET_AllTechMask()
3877 r"""LSET_AllBoardTechMask() -> LSET"""
3878 return _pcbnew.LSET_AllBoardTechMask()
3881 r"""LSET_FrontMask() -> LSET"""
3882 return _pcbnew.LSET_FrontMask()
3885 r"""LSET_BackMask() -> LSET"""
3886 return _pcbnew.LSET_BackMask()
3889 r"""LSET_SideSpecificMask() -> LSET"""
3890 return _pcbnew.LSET_SideSpecificMask()
3893 r"""LSET_UserMask() -> LSET"""
3894 return _pcbnew.LSET_UserMask()
3897 r"""LSET_PhysicalLayersMask() -> LSET"""
3898 return _pcbnew.LSET_PhysicalLayersMask()
3901 r"""LSET_UserDefinedLayers() -> LSET"""
3902 return _pcbnew.LSET_UserDefinedLayers()
3905 r"""LSET_ForbiddenFootprintLayers() -> LSET"""
3906 return _pcbnew.LSET_ForbiddenFootprintLayers()
3910 r"""IsValidLayer(int aLayerId) -> bool"""
3911 return _pcbnew.IsValidLayer(aLayerId)
3914 r"""IsPcbLayer(int aLayer) -> bool"""
3915 return _pcbnew.IsPcbLayer(aLayer)
3918 r"""IsNonCopperLayer(int aLayerId) -> bool"""
3919 return _pcbnew.IsNonCopperLayer(aLayerId)
3924 IsCopperLayer(int aLayerId, bool aIncludeSyntheticCopperLayers) -> bool
3926 return _pcbnew.IsCopperLayer(*args)
3929 r"""IsViaPadLayer(int aLayer) -> bool"""
3930 return _pcbnew.IsViaPadLayer(aLayer)
3933 r"""IsHoleLayer(int aLayer) -> bool"""
3934 return _pcbnew.IsHoleLayer(aLayer)
3937 r"""IsUserLayer(PCB_LAYER_ID aLayerId) -> bool"""
3938 return _pcbnew.IsUserLayer(aLayerId)
3941 r"""IsFrontLayer(PCB_LAYER_ID aLayerId) -> bool"""
3942 return _pcbnew.IsFrontLayer(aLayerId)
3945 r"""IsBackLayer(PCB_LAYER_ID aLayerId) -> bool"""
3946 return _pcbnew.IsBackLayer(aLayerId)
3949 r"""FlipLayer(PCB_LAYER_ID aLayerId, int aCopperLayersCount=0) -> PCB_LAYER_ID"""
3950 return _pcbnew.FlipLayer(aLayerId, aCopperLayersCount)
3953 r"""FlipLayerMask(LSET aMask, int aCopperLayersCount=0) -> LSET"""
3954 return _pcbnew.FlipLayerMask(aMask, aCopperLayersCount)
3957 r"""GetNetnameLayer(int aLayer) -> int"""
3958 return _pcbnew.GetNetnameLayer(aLayer)
3961 r"""IsNetnameLayer(int aLayer) -> bool"""
3962 return _pcbnew.IsNetnameLayer(aLayer)
3965 r"""IsZoneFillLayer(int aLayer) -> bool"""
3966 return _pcbnew.IsZoneFillLayer(aLayer)
3969 r"""IsDCodeLayer(int aLayer) -> bool"""
3970 return _pcbnew.IsDCodeLayer(aLayer)
3973 r"""IsNetCopperLayer(int aLayer) -> bool"""
3974 return _pcbnew.IsNetCopperLayer(aLayer)
3977 r"""ToLAYER_ID(int aLayer) -> PCB_LAYER_ID"""
3978 return _pcbnew.ToLAYER_ID(aLayer)
3980 r"""Proxy of C++ SETTINGS_MANAGER class."""
3982 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3983 __repr__ = _swig_repr
3986 r"""__init__(SETTINGS_MANAGER self, bool aHeadless=False) -> SETTINGS_MANAGER"""
3987 _pcbnew.SETTINGS_MANAGER_swiginit(self, _pcbnew.new_SETTINGS_MANAGER(aHeadless))
3988 __swig_destroy__ = _pcbnew.delete_SETTINGS_MANAGER
3991 r"""IsOK(SETTINGS_MANAGER self) -> bool"""
3992 return _pcbnew.SETTINGS_MANAGER_IsOK(self)
3995 r"""SetKiway(SETTINGS_MANAGER self, KIWAY * aKiway)"""
3996 return _pcbnew.SETTINGS_MANAGER_SetKiway(self, aKiway)
4000 Load(SETTINGS_MANAGER self)
4001 Load(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
4003 return _pcbnew.SETTINGS_MANAGER_Load(self, *args)
4007 Save(SETTINGS_MANAGER self)
4008 Save(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
4010 return _pcbnew.SETTINGS_MANAGER_Save(self, *args)
4013 r"""FlushAndRelease(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings, bool aSave=True)"""
4014 return _pcbnew.SETTINGS_MANAGER_FlushAndRelease(self, aSettings, aSave)
4017 r"""GetColorSettings(SETTINGS_MANAGER self, wxString aName="user") -> COLOR_SETTINGS"""
4018 return _pcbnew.SETTINGS_MANAGER_GetColorSettings(self, *args)
4021 r"""GetColorSettingsList(SETTINGS_MANAGER self) -> std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >"""
4022 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsList(self)
4025 r"""SaveColorSettings(SETTINGS_MANAGER self, COLOR_SETTINGS * aSettings, string aNamespace="")"""
4026 return _pcbnew.SETTINGS_MANAGER_SaveColorSettings(self, *args)
4029 r"""AddNewColorSettings(SETTINGS_MANAGER self, wxString aFilename) -> COLOR_SETTINGS *"""
4030 return _pcbnew.SETTINGS_MANAGER_AddNewColorSettings(self, aFilename)
4033 r"""GetMigratedColorSettings(SETTINGS_MANAGER self) -> COLOR_SETTINGS *"""
4034 return _pcbnew.SETTINGS_MANAGER_GetMigratedColorSettings(self)
4037 r"""GetCommonSettings(SETTINGS_MANAGER self) -> COMMON_SETTINGS *"""
4038 return _pcbnew.SETTINGS_MANAGER_GetCommonSettings(self)
4041 r"""GetPathForSettingsFile(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings) -> wxString"""
4042 return _pcbnew.SETTINGS_MANAGER_GetPathForSettingsFile(self, aSettings)
4045 r"""MigrateIfNeeded(SETTINGS_MANAGER self) -> bool"""
4046 return _pcbnew.SETTINGS_MANAGER_MigrateIfNeeded(self)
4049 r"""SetMigrationSource(SETTINGS_MANAGER self, wxString aSource)"""
4050 return _pcbnew.SETTINGS_MANAGER_SetMigrationSource(self, aSource)
4053 r"""SetMigrateLibraryTables(SETTINGS_MANAGER self, bool aMigrate=True)"""
4054 return _pcbnew.SETTINGS_MANAGER_SetMigrateLibraryTables(self, aMigrate)
4057 r"""GetPreviousVersionPaths(SETTINGS_MANAGER self, std::vector< wxString,std::allocator< wxString > > * aName=None) -> bool"""
4058 return _pcbnew.SETTINGS_MANAGER_GetPreviousVersionPaths(self, aName)
4061 r"""ReloadColorSettings(SETTINGS_MANAGER self)"""
4062 return _pcbnew.SETTINGS_MANAGER_ReloadColorSettings(self)
4065 r"""LoadProject(SETTINGS_MANAGER self, wxString aFullPath, bool aSetActive=True) -> bool"""
4066 return _pcbnew.SETTINGS_MANAGER_LoadProject(self, aFullPath, aSetActive)
4069 r"""UnloadProject(SETTINGS_MANAGER self, PROJECT * aProject, bool aSave=True) -> bool"""
4070 return _pcbnew.SETTINGS_MANAGER_UnloadProject(self, aProject, aSave)
4073 r"""IsProjectOpen(SETTINGS_MANAGER self) -> bool"""
4074 return _pcbnew.SETTINGS_MANAGER_IsProjectOpen(self)
4077 r"""Prj(SETTINGS_MANAGER self) -> PROJECT &"""
4078 return _pcbnew.SETTINGS_MANAGER_Prj(self)
4081 r"""GetProject(SETTINGS_MANAGER self, wxString aFullPath) -> PROJECT *"""
4082 return _pcbnew.SETTINGS_MANAGER_GetProject(self, aFullPath)
4085 r"""GetOpenProjects(SETTINGS_MANAGER self) -> std::vector< wxString,std::allocator< wxString > >"""
4086 return _pcbnew.SETTINGS_MANAGER_GetOpenProjects(self)
4089 r"""SaveProject(SETTINGS_MANAGER self, wxString aFullPath=wxEmptyString, PROJECT * aProject=None) -> bool"""
4090 return _pcbnew.SETTINGS_MANAGER_SaveProject(self, *args)
4093 r"""SaveProjectAs(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
4094 return _pcbnew.SETTINGS_MANAGER_SaveProjectAs(self, aFullPath, aProject)
4097 r"""SaveProjectCopy(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
4098 return _pcbnew.SETTINGS_MANAGER_SaveProjectCopy(self, aFullPath, aProject)
4101 r"""GetProjectBackupsPath(SETTINGS_MANAGER self) -> wxString"""
4102 return _pcbnew.SETTINGS_MANAGER_GetProjectBackupsPath(self)
4105 r"""BackupProject(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
4106 return _pcbnew.SETTINGS_MANAGER_BackupProject(self, aReporter)
4109 r"""TriggerBackupIfNeeded(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
4110 return _pcbnew.SETTINGS_MANAGER_TriggerBackupIfNeeded(self, aReporter)
4114 r"""IsSettingsPathValid(wxString aPath) -> bool"""
4115 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
4119 r"""GetColorSettingsPath() -> wxString"""
4120 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
4124 r"""GetSettingsVersion() -> string"""
4125 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
4129 r"""GetUserSettingsPath() -> wxString"""
4130 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
4133_pcbnew.SETTINGS_MANAGER_swigregister(SETTINGS_MANAGER)
4136 r"""SETTINGS_MANAGER_IsSettingsPathValid(wxString aPath) -> bool"""
4137 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
4140 r"""SETTINGS_MANAGER_GetColorSettingsPath() -> wxString"""
4141 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
4144 r"""SETTINGS_MANAGER_GetSettingsVersion() -> string"""
4145 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
4148 r"""SETTINGS_MANAGER_GetUserSettingsPath() -> wxString"""
4149 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
4152 r"""Proxy of C++ UTILS_BOX3D class."""
4154 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4155 __repr__ = _swig_repr
4158 r"""Min(UTILS_BOX3D self) -> VECTOR3D"""
4159 return _pcbnew.UTILS_BOX3D_Min(self)
4162 r"""Max(UTILS_BOX3D self) -> VECTOR3D"""
4163 return _pcbnew.UTILS_BOX3D_Max(self)
4166 r"""GetCenter(UTILS_BOX3D self) -> VECTOR3D"""
4167 return _pcbnew.UTILS_BOX3D_GetCenter(self)
4170 r"""GetSize(UTILS_BOX3D self) -> VECTOR3D"""
4171 return _pcbnew.UTILS_BOX3D_GetSize(self)
4174 r"""__init__(UTILS_BOX3D self) -> UTILS_BOX3D"""
4175 _pcbnew.UTILS_BOX3D_swiginit(self, _pcbnew.new_UTILS_BOX3D())
4176 __swig_destroy__ = _pcbnew.delete_UTILS_BOX3D
4179_pcbnew.UTILS_BOX3D_swigregister(UTILS_BOX3D)
4182 r"""Proxy of C++ UTILS_STEP_MODEL class."""
4184 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4185 __repr__ = _swig_repr
4188 r"""GetBoundingBox(UTILS_STEP_MODEL self) -> UTILS_BOX3D"""
4189 return _pcbnew.UTILS_STEP_MODEL_GetBoundingBox(self)
4192 r"""Translate(UTILS_STEP_MODEL self, double aX, double aY, double aZ)"""
4193 return _pcbnew.UTILS_STEP_MODEL_Translate(self, aX, aY, aZ)
4196 r"""Scale(UTILS_STEP_MODEL self, double aScale)"""
4197 return _pcbnew.UTILS_STEP_MODEL_Scale(self, aScale)
4200 r"""SaveSTEP(UTILS_STEP_MODEL self, wxString aFileName) -> bool"""
4201 return _pcbnew.UTILS_STEP_MODEL_SaveSTEP(self, aFileName)
4205 r"""LoadSTEP(wxString aFileName) -> UTILS_STEP_MODEL"""
4206 return _pcbnew.UTILS_STEP_MODEL_LoadSTEP(aFileName)
4209 r"""__init__(UTILS_STEP_MODEL self) -> UTILS_STEP_MODEL"""
4210 _pcbnew.UTILS_STEP_MODEL_swiginit(self, _pcbnew.new_UTILS_STEP_MODEL())
4213_pcbnew.UTILS_STEP_MODEL_swigregister(UTILS_STEP_MODEL)
4216 r"""UTILS_STEP_MODEL_LoadSTEP(wxString aFileName) -> UTILS_STEP_MODEL"""
4217 return _pcbnew.UTILS_STEP_MODEL_LoadSTEP(aFileName)
4220 r"""Proxy of C++ std::vector< int > class."""
4222 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4223 __repr__ = _swig_repr
4226 r"""iterator(intVector self) -> SwigPyIterator"""
4227 return _pcbnew.intVector_iterator(self)
4232 r"""__nonzero__(intVector self) -> bool"""
4233 return _pcbnew.intVector___nonzero__(self)
4236 r"""__bool__(intVector self) -> bool"""
4237 return _pcbnew.intVector___bool__(self)
4240 r"""__len__(intVector self) -> std::vector< int >::size_type"""
4241 return _pcbnew.intVector___len__(self)
4244 r"""__getslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> intVector"""
4245 return _pcbnew.intVector___getslice__(self, i, j)
4249 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
4250 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, intVector v)
4252 return _pcbnew.intVector___setslice__(self, *args)
4255 r"""__delslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"""
4256 return _pcbnew.intVector___delslice__(self, i, j)
4260 __delitem__(intVector self, std::vector< int >::difference_type i)
4261 __delitem__(intVector self, PySliceObject * slice)
4263 return _pcbnew.intVector___delitem__(self, *args)
4267 __getitem__(intVector self, PySliceObject * slice) -> intVector
4268 __getitem__(intVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &
4270 return _pcbnew.intVector___getitem__(self, *args)
4274 __setitem__(intVector self, PySliceObject * slice, intVector v)
4275 __setitem__(intVector self, PySliceObject * slice)
4276 __setitem__(intVector self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)
4278 return _pcbnew.intVector___setitem__(self, *args)
4281 r"""pop(intVector self) -> std::vector< int >::value_type"""
4282 return _pcbnew.intVector_pop(self)
4285 r"""append(intVector self, std::vector< int >::value_type const & x)"""
4286 return _pcbnew.intVector_append(self, x)
4289 r"""empty(intVector self) -> bool"""
4290 return _pcbnew.intVector_empty(self)
4293 r"""size(intVector self) -> std::vector< int >::size_type"""
4294 return _pcbnew.intVector_size(self)
4297 r"""swap(intVector self, intVector v)"""
4298 return _pcbnew.intVector_swap(self, v)
4301 r"""begin(intVector self) -> std::vector< int >::iterator"""
4302 return _pcbnew.intVector_begin(self)
4305 r"""end(intVector self) -> std::vector< int >::iterator"""
4306 return _pcbnew.intVector_end(self)
4309 r"""rbegin(intVector self) -> std::vector< int >::reverse_iterator"""
4310 return _pcbnew.intVector_rbegin(self)
4313 r"""rend(intVector self) -> std::vector< int >::reverse_iterator"""
4314 return _pcbnew.intVector_rend(self)
4317 r"""clear(intVector self)"""
4318 return _pcbnew.intVector_clear(self)
4321 r"""get_allocator(intVector self) -> std::vector< int >::allocator_type"""
4322 return _pcbnew.intVector_get_allocator(self)
4325 r"""pop_back(intVector self)"""
4326 return _pcbnew.intVector_pop_back(self)
4330 erase(intVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator
4331 erase(intVector self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator
4333 return _pcbnew.intVector_erase(self, *args)
4337 __init__(intVector self) -> intVector
4338 __init__(intVector self, intVector other) -> intVector
4339 __init__(intVector self, std::vector< int >::size_type size) -> intVector
4340 __init__(intVector self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> intVector
4342 _pcbnew.intVector_swiginit(self, _pcbnew.new_intVector(*args))
4345 r"""push_back(intVector self, std::vector< int >::value_type const & x)"""
4346 return _pcbnew.intVector_push_back(self, x)
4349 r"""front(intVector self) -> std::vector< int >::value_type const &"""
4350 return _pcbnew.intVector_front(self)
4353 r"""back(intVector self) -> std::vector< int >::value_type const &"""
4354 return _pcbnew.intVector_back(self)
4357 r"""assign(intVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)"""
4358 return _pcbnew.intVector_assign(self, n, x)
4362 resize(intVector self, std::vector< int >::size_type new_size)
4363 resize(intVector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)
4365 return _pcbnew.intVector_resize(self, *args)
4369 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator
4370 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x)
4372 return _pcbnew.intVector_insert(self, *args)
4375 r"""reserve(intVector self, std::vector< int >::size_type n)"""
4376 return _pcbnew.intVector_reserve(self, n)
4379 r"""capacity(intVector self) -> std::vector< int >::size_type"""
4380 return _pcbnew.intVector_capacity(self)
4381 __swig_destroy__ = _pcbnew.delete_intVector
4384_pcbnew.intVector_swigregister(intVector)
4387 r"""Proxy of C++ std::map< std::string,UTF8 > class."""
4389 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4390 __repr__ = _swig_repr
4393 r"""iterator(str_utf8_Map self) -> SwigPyIterator"""
4394 return _pcbnew.str_utf8_Map_iterator(self)
4399 r"""__nonzero__(str_utf8_Map self) -> bool"""
4400 return _pcbnew.str_utf8_Map___nonzero__(self)
4403 r"""__bool__(str_utf8_Map self) -> bool"""
4404 return _pcbnew.str_utf8_Map___bool__(self)
4407 r"""__len__(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4408 return _pcbnew.str_utf8_Map___len__(self)
4419 r"""__getitem__(str_utf8_Map self, string key) -> UTF8"""
4420 return _pcbnew.str_utf8_Map___getitem__(self, key)
4423 r"""__delitem__(str_utf8_Map self, string key)"""
4424 return _pcbnew.str_utf8_Map___delitem__(self, key)
4427 r"""has_key(str_utf8_Map self, string key) -> bool"""
4428 return _pcbnew.str_utf8_Map_has_key(self, key)
4431 r"""keys(str_utf8_Map self) -> PyObject *"""
4432 return _pcbnew.str_utf8_Map_keys(self)
4435 r"""values(str_utf8_Map self) -> PyObject *"""
4436 return _pcbnew.str_utf8_Map_values(self)
4439 r"""items(str_utf8_Map self) -> PyObject *"""
4440 return _pcbnew.str_utf8_Map_items(self)
4443 r"""__contains__(str_utf8_Map self, string key) -> bool"""
4444 return _pcbnew.str_utf8_Map___contains__(self, key)
4447 r"""key_iterator(str_utf8_Map self) -> SwigPyIterator"""
4448 return _pcbnew.str_utf8_Map_key_iterator(self)
4451 r"""value_iterator(str_utf8_Map self) -> SwigPyIterator"""
4452 return _pcbnew.str_utf8_Map_value_iterator(self)
4457 __setitem__(str_utf8_Map self, string key, UTF8 x)
4459 return _pcbnew.str_utf8_Map___setitem__(self, *args)
4462 r"""asdict(str_utf8_Map self) -> PyObject *"""
4463 return _pcbnew.str_utf8_Map_asdict(self)
4467 __init__(str_utf8_Map self, std::less< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > const & other) -> str_utf8_Map
4468 __init__(str_utf8_Map self) -> str_utf8_Map
4469 __init__(str_utf8_Map self, str_utf8_Map other) -> str_utf8_Map
4471 _pcbnew.str_utf8_Map_swiginit(self, _pcbnew.new_str_utf8_Map(*args))
4474 r"""empty(str_utf8_Map self) -> bool"""
4475 return _pcbnew.str_utf8_Map_empty(self)
4478 r"""size(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4479 return _pcbnew.str_utf8_Map_size(self)
4482 r"""swap(str_utf8_Map self, str_utf8_Map v)"""
4483 return _pcbnew.str_utf8_Map_swap(self, v)
4486 r"""begin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4487 return _pcbnew.str_utf8_Map_begin(self)
4490 r"""end(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4491 return _pcbnew.str_utf8_Map_end(self)
4494 r"""rbegin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
4495 return _pcbnew.str_utf8_Map_rbegin(self)
4498 r"""rend(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
4499 return _pcbnew.str_utf8_Map_rend(self)
4502 r"""clear(str_utf8_Map self)"""
4503 return _pcbnew.str_utf8_Map_clear(self)
4506 r"""get_allocator(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::allocator_type"""
4507 return _pcbnew.str_utf8_Map_get_allocator(self)
4510 r"""count(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4511 return _pcbnew.str_utf8_Map_count(self, x)
4515 erase(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type
4516 erase(str_utf8_Map self, std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator position)
4517 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)
4519 return _pcbnew.str_utf8_Map_erase(self, *args)
4522 r"""find(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4523 return _pcbnew.str_utf8_Map_find(self, x)
4526 r"""lower_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4527 return _pcbnew.str_utf8_Map_lower_bound(self, x)
4530 r"""upper_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4531 return _pcbnew.str_utf8_Map_upper_bound(self, x)
4532 __swig_destroy__ = _pcbnew.delete_str_utf8_Map
4535_pcbnew.str_utf8_Map_swigregister(str_utf8_Map)
4541""" the list of not loaded python scripts
4542 (usually because there is a syntax error
in python script)
4543 this
is the python script full filenames list.
4544 filenames are separated by
'\n'
4546NOT_LOADED_WIZARDS=""
4548""" the list of paths used to search python scripts.
4549 Stored here to be displayed on request
in Pcbnew
4550 paths are separated by
'\n'
4552PLUGIN_DIRECTORIES_SEARCH=""
4555 the trace of errors during execution of footprint wizards scripts
4556 Warning: strings (internally unicode) are returned
as UTF-8 compatible C strings
4561def GetUnLoadableWizards():
4562 global NOT_LOADED_WIZARDS
4565 if sys.version_info[0] < 3:
4566 utf8_str = NOT_LOADED_WIZARDS.encode(
'UTF-8' )
4568 utf8_str = NOT_LOADED_WIZARDS
4573 global PLUGIN_DIRECTORIES_SEARCH
4576 if sys.version_info[0] < 3:
4577 utf8_str = PLUGIN_DIRECTORIES_SEARCH.encode(
'UTF-8' )
4579 utf8_str = PLUGIN_DIRECTORIES_SEARCH
4584 global FULL_BACK_TRACE
4585 return FULL_BACK_TRACE
4590 Load the plugin module named ModuleName located in the folder Dirname.
4591 The module can be either inside a file called FileName
or a subdirectory
4592 called FileName that contains a __init__.py file.
4593 If this module cannot be loaded, its name
is stored
in failed_wizards_list
4594 and the error trace
is stored
in FULL_BACK_TRACE
4600 global NOT_LOADED_WIZARDS
4601 global FULL_BACK_TRACE
4602 global KICAD_PLUGINS
4606 module_filename = os.path.join( Dirname, FileName )
4607 mtime = os.path.getmtime( module_filename )
4608 mods_before = set( sys.modules )
4610 if ModuleName
in KICAD_PLUGINS:
4611 plugin = KICAD_PLUGINS[ModuleName]
4613 for dependency
in plugin[
"dependencies"]:
4614 if dependency
in sys.modules:
4615 del sys.modules[dependency]
4617 mods_before = set( sys.modules )
4619 if sys.version_info >= (3,0,0):
4621 mod = importlib.import_module( ModuleName )
4623 mod = __import__( ModuleName, locals(), globals() )
4625 mods_after = set( sys.modules ).difference( mods_before )
4626 dependencies = [m
for m
in mods_after
if m.startswith(ModuleName)]
4628 KICAD_PLUGINS[ModuleName]={
"filename":module_filename,
4629 "modification_time":mtime,
4631 "dependencies": dependencies }
4634 if ModuleName
in KICAD_PLUGINS:
4635 del KICAD_PLUGINS[ModuleName]
4637 if NOT_LOADED_WIZARDS !=
"" :
4638 NOT_LOADED_WIZARDS +=
"\n"
4639 NOT_LOADED_WIZARDS += module_filename
4640 FULL_BACK_TRACE += traceback.format_exc()
4645 Initialise Scripting/Plugin python environment and load plugins.
4648 Note: bundlepath
and userpath are given utf8 encoded, to be compatible
with asimple C string
4649 bundlepath -- The path to the bundled scripts.
4650 The bundled Plugins are relative to this path,
in the
4651 "plugins" subdirectory.
4652 WARNING: bundlepath must use
'/' as path separator,
and not '\'
4653 because it creates issues:
4654 \n and \r are seen
as a escaped seq when passing this string to this method
4655 I am thinking this
is due to the fact LoadPlugins
is called
from C++ code by
4656 PyRun_SimpleString()
4658 NOTE: These are all of the possible
"default" search paths
for kicad
4659 python scripts. These paths will ONLY be added to the python
4660 search path ONLY IF they already exist.
4662 The Scripts bundled
with the KiCad installation:
4664 <bundlepath>/plugins/
4666 The Scripts relative to the KiCad Users configuration:
4670 The plugins
from 3rd party packages:
4671 $KICAD_3RD_PARTY/plugins/
4678 if sys.version_info >= (3,3,0):
4680 importlib.invalidate_caches()
4683 bundlepath and userpath are strings utf-8 encoded (compatible
"C" strings).
4684 So convert these utf8 encoding to unicode strings to avoid any encoding issue.
4687 bundlepath = bundlepath.decode(
'UTF-8' )
4688 userpath = userpath.decode(
'UTF-8' )
4689 thirdpartypath = thirdpartypath.decode(
'UTF-8' )
4690 except AttributeError:
4694 plugin_directories=[]
4697 To be consistent with others paths, on windows, convert the unix
'/' separator
4698 to the windows separator, although using
'/' works
4700 if sys.platform.startswith(
'win32'):
4702 bundlepath = bundlepath.replace(
"/",
"\\")
4704 thirdpartypath = thirdpartypath.replace(
"/",
"\\")
4707 plugin_directories.append(bundlepath)
4708 plugin_directories.append(os.path.join(bundlepath,
'plugins'))
4711 plugin_directories.append(os.path.join(config_path,
'scripting'))
4712 plugin_directories.append(os.path.join(config_path,
'scripting',
'plugins'))
4715 plugin_directories.append(userpath)
4716 plugin_directories.append(os.path.join(userpath,
'plugins'))
4719 plugin_directories.append(thirdpartypath)
4721 global PLUGIN_DIRECTORIES_SEARCH
4722 PLUGIN_DIRECTORIES_SEARCH=
""
4723 for plugins_dir
in plugin_directories:
4724 if PLUGIN_DIRECTORIES_SEARCH !=
"" :
4725 PLUGIN_DIRECTORIES_SEARCH +=
"\n"
4726 PLUGIN_DIRECTORIES_SEARCH += plugins_dir
4728 global FULL_BACK_TRACE
4731 global NOT_LOADED_WIZARDS
4732 NOT_LOADED_WIZARDS =
""
4734 global KICAD_PLUGINS
4736 for plugins_dir
in plugin_directories:
4737 if not os.path.isdir( plugins_dir ):
4740 if plugins_dir
not in sys.path:
4741 sys.path.append( plugins_dir )
4743 for module
in os.listdir(plugins_dir):
4744 fullPath = os.path.join( plugins_dir, module )
4746 if os.path.isdir( fullPath ):
4747 if os.path.exists( os.path.join( fullPath,
'__init__.py' ) ):
4750 if NOT_LOADED_WIZARDS !=
"" :
4751 NOT_LOADED_WIZARDS +=
"\n"
4752 NOT_LOADED_WIZARDS +=
'Skip subdir ' + fullPath
4755 if module ==
'__init__.py' or module[-3:] !=
'.py':
4769 if isinstance(self,FilePlugin):
4772 if isinstance(self,FootprintWizardPlugin):
4773 PYTHON_FOOTPRINT_WIZARD_LIST.register_wizard(self)
4776 if isinstance(self,ActionPlugin):
4778 Get path to .py or .pyc that has definition of plugin
class.
4779 If path
is binary but source also exists, assume definition
is in source.
4781 self.__plugin_path = inspect.getfile(self.__class__)
4782 if self.__plugin_path.endswith(
'.pyc')
and os.path.isfile(self.__plugin_path[:-1]):
4783 self.__plugin_path = self.__plugin_path[:-1]
4784 self.__plugin_path = self.__plugin_path +
'/' + self.__class__.__name__
4785 PYTHON_ACTION_PLUGINS.register_action(self)
4791 if isinstance(self,FilePlugin):
4794 if isinstance(self,FootprintWizardPlugin):
4795 PYTHON_FOOTPRINT_WIZARD_LIST.deregister_wizard(self)
4798 if isinstance(self,ActionPlugin):
4799 PYTHON_ACTION_PLUGINS.deregister_action(self)
4810 KiCadPlugin.__init__(self)
4813from math
import ceil, floor, sqrt
4825uNumeric = [uMM, uMils, uFloat, uInteger, uDegrees, uRadians, uPercent]
4826uUnits = [uMM, uMils, uFloat, uInteger, uBool, uDegrees, uRadians, uPercent, uString]
4829 _true = [
'true',
't',
'y',
'yes',
'on',
'1',1,]
4830 _false = [
'false',
'f',
'n',
'no',
'off',
'0',0,
'',
None]
4832 _bools = _true + _false
4834 def __init__(self, page, name, units, default, **kwarg):
4840 if units.lower()
in uUnits:
4842 elif units.lower() ==
'percent':
4843 self.
units = uPercent
4844 elif type(units)
in [list, tuple]:
4845 self.
units =
",".join([str(el).strip()
for el
in units])
4863 if info
is not None:
4864 err = err +
" (" + str(info) +
")"
4868 def Check(self, min_value=None, max_value=None, multiple=None, info=None):
4870 if min_value
is None:
4872 if max_value
is None:
4874 if multiple
is None:
4877 if self.
units not in uUnits
and ',' not in self.
units:
4878 self.
AddError(
"type '{t}' unknown".format(t=self.
units),info)
4881 if self.
units in uNumeric:
4885 if min_value
is not None:
4886 if to_num < min_value:
4887 self.
AddError(
"value '{v}' is below minimum ({m})".format(v=self.
raw_value,m=min_value),info)
4889 if max_value
is not None:
4890 if to_num > max_value:
4891 self.
AddError(
"value '{v}' is above maximum ({m})".format(v=self.
raw_value,m=max_value),info)
4896 if self.
units == uInteger:
4900 if multiple
is not None and multiple > 1:
4901 if (to_int % multiple) > 0:
4902 self.
AddError(
"value '{v}' is not a multiple of {m}".format(v=self.
raw_value,m=multiple),info)
4906 if self.
units == uBool:
4910 self.
AddError(
"value '{v}' is not a boolean value".format(v = self.
raw_value),info)
4916 if self.
units == uInteger:
4918 elif self.
units in uNumeric:
4919 v = v.replace(
",",
".")
4922 if self.
units == uMM:
4925 elif self.
units == uMils:
4931 elif self.
units == uBool:
4932 if v.lower()
in self.
_true:
4943 new_value = str(new_value)
4945 if len(new_value.strip()) == 0:
4946 if not self.
units in [uString, uBool]:
4949 if self.
units == uBool:
4950 new_value =
"1" if new_value.lower()
in self.
_true else "0"
4951 elif self.
units in uNumeric:
4952 new_value = new_value.replace(
",",
".")
4953 elif ',' in self.
units:
4954 if new_value
not in self.
units.split(
','):
4955 new_value = self.
units.split(
',')[0]
4963 if self.
units in [uMM, uMils, uPercent, uRadians, uDegrees]:
4965 elif self.
units == uBool:
4966 s = self.
name +
": {b}".format(b =
"True" if self.
value else "False")
4967 elif self.
units == uString:
4975 KiCadPlugin.__init__(self)
4987 def AddParam(self, page, name, unit, default, **kwarg):
4989 if self.
GetParam(page,name)
is not None:
4993 self.
params.append(param)
4999 if p.page
not in pages:
5002 pages[p.page][p.name] = p.value
5024 raise NotImplementedError
5031 if p.page == page
and p.name == name:
5037 self.
GetParam(page,name).Check(**kwarg)
5040 return any([len(p.error_list) > 0
for p
in self.
params])
5046 if p.page
not in page_list:
5047 page_list.append(p.page)
5052 return len(self.
pages)
5055 return self.
pages[page_n]
5061 if p.page == page_name:
5071 return [p.designator
for p
in params]
5075 return [p.name
for p
in params]
5079 return [str(p.raw_value)
for p
in params]
5083 return [str(
"\n".join(p.error_list))
for p
in params]
5087 return [str(p.units)
for p
in params]
5091 return [str(p.hint)
for p
in params]
5095 return [str(p.designator)
for p
in params]
5101 for i, param
in enumerate(params):
5102 if i >= len(list_of_values):
5104 param.SetValue(list_of_values[i])
5114 return self.buildmessages
5117 text =
"Footprint Wizard Name: {name}\n".format(name=self.
GetName())
5118 text +=
"Footprint Wizard Description: {desc}\n".format(desc=self.
GetDescription())
5122 text +=
"Pages: {n}\n".format(n=n_pages)
5124 for i
in range(n_pages):
5129 text +=
"{name}\n".format(name=name)
5131 for j
in range(len(params)):
5132 text += (
"\t{param}{err}\n".format(
5133 param = str(params[j]),
5134 err =
' *' if len(params[j].error_list) > 0
else ''
5138 text +=
" * Errors exist for these parameters"
5144 KiCadPlugin.__init__( self )
5151 self.
name =
"Undefined Action plugin"
5179 r"""KiROUND(VECTOR2D const & vec) -> VECTOR2I"""
5180 return _pcbnew.KiROUND(vec)
5184 BOX2ISafe(BOX2D const & aInput) -> BOX2I
5185 BOX2ISafe(VECTOR2D const & aPos, VECTOR2D const & aSize) -> BOX2I
5187 return _pcbnew.BOX2ISafe(*args)
5189 r"""Proxy of C++ VECTOR2< int > class."""
5191 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5192 __repr__ = _swig_repr
5193 x = property(_pcbnew.VECTOR2I_x_get, _pcbnew.VECTOR2I_x_set, doc=
r"""x : int""")
5194 y = property(_pcbnew.VECTOR2I_y_get, _pcbnew.VECTOR2I_y_set, doc=
r"""y : int""")
5198 __init__(VECTOR2I self) -> VECTOR2I
5199 __init__(VECTOR2I self, int x, int y) -> VECTOR2I
5200 __init__(VECTOR2I self, VECTOR2I aVec) -> VECTOR2I
5202 _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args))
5205 r"""EuclideanNorm(VECTOR2I self) -> int"""
5206 return _pcbnew.VECTOR2I_EuclideanNorm(self)
5209 r"""SquaredEuclideanNorm(VECTOR2I self) -> VECTOR2< int >::extended_type"""
5210 return _pcbnew.VECTOR2I_SquaredEuclideanNorm(self)
5213 r"""Perpendicular(VECTOR2I self) -> VECTOR2I"""
5214 return _pcbnew.VECTOR2I_Perpendicular(self)
5217 r"""Resize(VECTOR2I self, int aNewLength) -> VECTOR2I"""
5218 return _pcbnew.VECTOR2I_Resize(self, aNewLength)
5221 r"""Format(VECTOR2I self) -> string"""
5222 return _pcbnew.VECTOR2I_Format(self)
5225 r"""Cross(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
5226 return _pcbnew.VECTOR2I_Cross(self, aVector)
5229 r"""Dot(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
5230 return _pcbnew.VECTOR2I_Dot(self, aVector)
5234 __add__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5235 __add__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5237 return _pcbnew.VECTOR2I___add__(self, *args)
5241 __imul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5242 __imul__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5244 return _pcbnew.VECTOR2I___imul__(self, *args)
5248 __iadd__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5249 __iadd__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5251 return _pcbnew.VECTOR2I___iadd__(self, *args)
5255 __sub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5256 __sub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5258 return _pcbnew.VECTOR2I___sub__(self, *args)
5262 __isub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5263 __isub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5265 return _pcbnew.VECTOR2I___isub__(self, *args)
5268 r"""__neg__(VECTOR2I self) -> VECTOR2I"""
5269 return _pcbnew.VECTOR2I___neg__(self)
5273 __mul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type
5274 __mul__(VECTOR2I self, int const & aFactor) -> VECTOR2I
5276 return _pcbnew.VECTOR2I___mul__(self, *args)
5279 return _pcbnew.VECTOR2I___truediv__(self, *args)
5280 __div__ = __truediv__
5285 r"""__eq__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5286 return _pcbnew.VECTOR2I___eq__(self, aVector)
5289 r"""__ne__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5290 return _pcbnew.VECTOR2I___ne__(self, aVector)
5293 r"""__lt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5294 return _pcbnew.VECTOR2I___lt__(self, aVector)
5297 r"""__le__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5298 return _pcbnew.VECTOR2I___le__(self, aVector)
5301 r"""__gt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5302 return _pcbnew.VECTOR2I___gt__(self, aVector)
5305 r"""__ge__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5306 return _pcbnew.VECTOR2I___ge__(self, aVector)
5309 r"""Set(VECTOR2I self, long x, long y)"""
5310 return _pcbnew.VECTOR2I_Set(self, x, y)
5313 r"""Get(VECTOR2I self) -> PyObject *"""
5314 return _pcbnew.VECTOR2I_Get(self)
5316 def __eq__(self,other):
return (self.
x==other.x
and self.
y==other.y)
5317 def __ne__(self,other):
return not (self==other)
5319 def __repr__(self):
return 'VECTOR2I'+str(self.
Get())
5332 __swig_destroy__ = _pcbnew.delete_VECTOR2I
5335_pcbnew.VECTOR2I_swigregister(VECTOR2I)
5338 r"""Proxy of C++ VECTOR2_TRAITS< int > class."""
5340 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5341 __repr__ = _swig_repr
5344 r"""__init__(VECTOR2I_EXTENDED_TYPE self) -> VECTOR2I_EXTENDED_TYPE"""
5345 _pcbnew.VECTOR2I_EXTENDED_TYPE_swiginit(self, _pcbnew.new_VECTOR2I_EXTENDED_TYPE())
5346 __swig_destroy__ = _pcbnew.delete_VECTOR2I_EXTENDED_TYPE
5349_pcbnew.VECTOR2I_EXTENDED_TYPE_swigregister(VECTOR2I_EXTENDED_TYPE)
5352 r"""Proxy of C++ VECTOR3< double > class."""
5354 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5355 __repr__ = _swig_repr
5356 ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
5358 ECOORD_MIN = _pcbnew.VECTOR3D_ECOORD_MIN
5360 x = property(_pcbnew.VECTOR3D_x_get, _pcbnew.VECTOR3D_x_set, doc=
r"""x : double""")
5361 y = property(_pcbnew.VECTOR3D_y_get, _pcbnew.VECTOR3D_y_set, doc=
r"""y : double""")
5362 z = property(_pcbnew.VECTOR3D_z_get, _pcbnew.VECTOR3D_z_set, doc=
r"""z : double""")
5366 __init__(VECTOR3D self) -> VECTOR3D
5367 __init__(VECTOR3D self, double x, double y, double z) -> VECTOR3D
5369 _pcbnew.VECTOR3D_swiginit(self, _pcbnew.new_VECTOR3D(*args))
5372 r"""Cross(VECTOR3D self, VECTOR3D aVector) -> VECTOR3D"""
5373 return _pcbnew.VECTOR3D_Cross(self, aVector)
5376 r"""Dot(VECTOR3D self, VECTOR3D aVector) -> VECTOR3< double >::extended_type"""
5377 return _pcbnew.VECTOR3D_Dot(self, aVector)
5380 r"""EuclideanNorm(VECTOR3D self) -> double"""
5381 return _pcbnew.VECTOR3D_EuclideanNorm(self)
5384 r"""Normalize(VECTOR3D self) -> VECTOR3D"""
5385 return _pcbnew.VECTOR3D_Normalize(self)
5388 r"""__eq__(VECTOR3D self, VECTOR3D aVector) -> bool"""
5389 return _pcbnew.VECTOR3D___eq__(self, aVector)
5392 r"""__ne__(VECTOR3D self, VECTOR3D aVector) -> bool"""
5393 return _pcbnew.VECTOR3D___ne__(self, aVector)
5396 r"""__imul__(VECTOR3D self, double val) -> VECTOR3D"""
5397 return _pcbnew.VECTOR3D___imul__(self, val)
5400 return _pcbnew.VECTOR3D___itruediv__(self, *args)
5401 __idiv__ = __itruediv__
5406 r"""Set(VECTOR3D self, double x, double y, double z)"""
5407 return _pcbnew.VECTOR3D_Set(self, x, y, z)
5410 r"""Get(VECTOR3D self) -> PyObject *"""
5411 return _pcbnew.VECTOR3D_Get(self)
5413 def __eq__(self,other):
return (self.
x==other.x
and self.
y==other.y
and self.
z==other.z)
5414 def __ne__(self,other):
return not (self==other)
5416 def __repr__(self):
return 'VECTOR3D'+str(self.
Get())
5431 __swig_destroy__ = _pcbnew.delete_VECTOR3D
5434_pcbnew.VECTOR3D_swigregister(VECTOR3D)
5437 r"""Proxy of C++ BOX2< VECTOR2I > class."""
5439 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5440 __repr__ = _swig_repr
5445 __init__(BOX2I self, VECTOR2I aPos, VECTOR2I aSize=VECTOR2< int >(0, 0)) -> BOX2I
5447 _pcbnew.BOX2I_swiginit(self, _pcbnew.new_BOX2I(*args))
5450 r"""SetMaximum(BOX2I self)"""
5451 return _pcbnew.BOX2I_SetMaximum(self)
5454 r"""Centre(BOX2I self) -> VECTOR2I"""
5455 return _pcbnew.BOX2I_Centre(self)
5458 r"""Move(BOX2I self, VECTOR2I aMoveVector)"""
5459 return _pcbnew.BOX2I_Move(self, aMoveVector)
5462 r"""Normalize(BOX2I self) -> BOX2I"""
5463 return _pcbnew.BOX2I_Normalize(self)
5467 Contains(BOX2I self, VECTOR2I aPoint) -> bool
5468 Contains(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y) -> bool
5469 Contains(BOX2I self, BOX2I aRect) -> bool
5471 return _pcbnew.BOX2I_Contains(self, *args)
5474 r"""GetSize(BOX2I self) -> VECTOR2I"""
5475 return _pcbnew.BOX2I_GetSize(self)
5478 r"""GetX(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5479 return _pcbnew.BOX2I_GetX(self)
5482 r"""GetY(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5483 return _pcbnew.BOX2I_GetY(self)
5486 r"""GetOrigin(BOX2I self) -> VECTOR2I"""
5487 return _pcbnew.BOX2I_GetOrigin(self)
5490 r"""GetPosition(BOX2I self) -> VECTOR2I"""
5491 return _pcbnew.BOX2I_GetPosition(self)
5494 r"""GetEnd(BOX2I self) -> VECTOR2I"""
5495 return _pcbnew.BOX2I_GetEnd(self)
5498 r"""GetWidth(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5499 return _pcbnew.BOX2I_GetWidth(self)
5502 r"""GetHeight(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5503 return _pcbnew.BOX2I_GetHeight(self)
5506 r"""GetRight(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5507 return _pcbnew.BOX2I_GetRight(self)
5510 r"""GetBottom(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5511 return _pcbnew.BOX2I_GetBottom(self)
5514 r"""GetLeft(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5515 return _pcbnew.BOX2I_GetLeft(self)
5518 r"""GetTop(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5519 return _pcbnew.BOX2I_GetTop(self)
5522 r"""GetCenter(BOX2I self) -> VECTOR2I"""
5523 return _pcbnew.BOX2I_GetCenter(self)
5526 r"""GetSizeMax(BOX2I self) -> int"""
5527 return _pcbnew.BOX2I_GetSizeMax(self)
5532 SetOrigin(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5534 return _pcbnew.BOX2I_SetOrigin(self, *args)
5538 SetSize(BOX2I self, VECTOR2I size)
5539 SetSize(BOX2I self, BOX2< VECTOR2< int > >::coord_type w, BOX2< VECTOR2< int > >::coord_type h)
5541 return _pcbnew.BOX2I_SetSize(self, *args)
5545 Offset(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy)
5546 Offset(BOX2I self, VECTOR2I offset)
5548 return _pcbnew.BOX2I_Offset(self, *args)
5551 r"""SetX(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5552 return _pcbnew.BOX2I_SetX(self, val)
5555 r"""SetY(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5556 return _pcbnew.BOX2I_SetY(self, val)
5559 r"""SetWidth(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5560 return _pcbnew.BOX2I_SetWidth(self, val)
5563 r"""SetHeight(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5564 return _pcbnew.BOX2I_SetHeight(self, val)
5568 SetEnd(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5569 SetEnd(BOX2I self, VECTOR2I pos)
5571 return _pcbnew.BOX2I_SetEnd(self, *args)
5574 r"""Intersect(BOX2I self, BOX2I aRect) -> BOX2I"""
5575 return _pcbnew.BOX2I_Intersect(self, aRect)
5580 Intersects(BOX2I self, VECTOR2I aPoint1, VECTOR2I aPoint2) -> bool
5581 Intersects(BOX2I self, BOX2I aRect, EDA_ANGLE aRotation) -> bool
5583 return _pcbnew.BOX2I_Intersects(self, *args)
5586 r"""IntersectsCircle(BOX2I self, VECTOR2I aCenter, int const aRadius) -> bool"""
5587 return _pcbnew.BOX2I_IntersectsCircle(self, aCenter, aRadius)
5590 r"""IntersectsCircleEdge(BOX2I self, VECTOR2I aCenter, int const aRadius, int const aWidth) -> bool"""
5591 return _pcbnew.BOX2I_IntersectsCircleEdge(self, aCenter, aRadius, aWidth)
5594 r"""Format(BOX2I self) -> string"""
5595 return _pcbnew.BOX2I_Format(self)
5599 Inflate(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy) -> BOX2I
5600 Inflate(BOX2I self, int aDelta) -> BOX2I
5602 return _pcbnew.BOX2I_Inflate(self, *args)
5606 Merge(BOX2I self, BOX2I aRect) -> BOX2I
5607 Merge(BOX2I self, VECTOR2I aPoint) -> BOX2I
5609 return _pcbnew.BOX2I_Merge(self, *args)
5612 r"""GetBoundingBoxRotated(BOX2I self, VECTOR2I aRotCenter, EDA_ANGLE aAngle) -> BOX2I"""
5613 return _pcbnew.BOX2I_GetBoundingBoxRotated(self, aRotCenter, aAngle)
5616 r"""RevertYAxis(BOX2I self)"""
5617 return _pcbnew.BOX2I_RevertYAxis(self)
5620 r"""GetArea(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5621 return _pcbnew.BOX2I_GetArea(self)
5624 r"""Diagonal(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5625 return _pcbnew.BOX2I_Diagonal(self)
5629 SquaredDistance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5630 SquaredDistance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5632 return _pcbnew.BOX2I_SquaredDistance(self, *args)
5636 Distance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5637 Distance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5639 return _pcbnew.BOX2I_Distance(self, *args)
5642 r"""ClosestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5643 return _pcbnew.BOX2I_ClosestPointTo(self, aPoint)
5646 r"""FarthestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5647 return _pcbnew.BOX2I_FarthestPointTo(self, aPoint)
5650 r"""__eq__(BOX2I self, BOX2I aOther) -> bool"""
5651 return _pcbnew.BOX2I___eq__(self, aOther)
5654 r"""__ne__(BOX2I self, BOX2I aOther) -> bool"""
5655 return _pcbnew.BOX2I___ne__(self, aOther)
5658 r"""IsValid(BOX2I self) -> bool"""
5659 return _pcbnew.BOX2I_IsValid(self)
5660 __swig_destroy__ = _pcbnew.delete_BOX2I
5663_pcbnew.BOX2I_swigregister(BOX2I)
5666 r"""Proxy of C++ std::vector< VECTOR2I > class."""
5668 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5669 __repr__ = _swig_repr
5672 r"""iterator(VECTOR_VECTOR2I self) -> SwigPyIterator"""
5673 return _pcbnew.VECTOR_VECTOR2I_iterator(self)
5678 r"""__nonzero__(VECTOR_VECTOR2I self) -> bool"""
5679 return _pcbnew.VECTOR_VECTOR2I___nonzero__(self)
5682 r"""__bool__(VECTOR_VECTOR2I self) -> bool"""
5683 return _pcbnew.VECTOR_VECTOR2I___bool__(self)
5686 r"""__len__(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5687 return _pcbnew.VECTOR_VECTOR2I___len__(self)
5690 r"""__getslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j) -> VECTOR_VECTOR2I"""
5691 return _pcbnew.VECTOR_VECTOR2I___getslice__(self, i, j)
5695 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)
5696 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j, VECTOR_VECTOR2I v)
5698 return _pcbnew.VECTOR_VECTOR2I___setslice__(self, *args)
5701 r"""__delslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)"""
5702 return _pcbnew.VECTOR_VECTOR2I___delslice__(self, i, j)
5706 __delitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i)
5707 __delitem__(VECTOR_VECTOR2I self, PySliceObject * slice)
5709 return _pcbnew.VECTOR_VECTOR2I___delitem__(self, *args)
5713 __getitem__(VECTOR_VECTOR2I self, PySliceObject * slice) -> VECTOR_VECTOR2I
5714 __getitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i) -> VECTOR2I
5716 return _pcbnew.VECTOR_VECTOR2I___getitem__(self, *args)
5720 __setitem__(VECTOR_VECTOR2I self, PySliceObject * slice, VECTOR_VECTOR2I v)
5721 __setitem__(VECTOR_VECTOR2I self, PySliceObject * slice)
5722 __setitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, VECTOR2I x)
5724 return _pcbnew.VECTOR_VECTOR2I___setitem__(self, *args)
5727 r"""pop(VECTOR_VECTOR2I self) -> VECTOR2I"""
5728 return _pcbnew.VECTOR_VECTOR2I_pop(self)
5731 r"""append(VECTOR_VECTOR2I self, VECTOR2I x)"""
5732 return _pcbnew.VECTOR_VECTOR2I_append(self, x)
5735 r"""empty(VECTOR_VECTOR2I self) -> bool"""
5736 return _pcbnew.VECTOR_VECTOR2I_empty(self)
5739 r"""size(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5740 return _pcbnew.VECTOR_VECTOR2I_size(self)
5743 r"""swap(VECTOR_VECTOR2I self, VECTOR_VECTOR2I v)"""
5744 return _pcbnew.VECTOR_VECTOR2I_swap(self, v)
5747 r"""begin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5748 return _pcbnew.VECTOR_VECTOR2I_begin(self)
5751 r"""end(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5752 return _pcbnew.VECTOR_VECTOR2I_end(self)
5755 r"""rbegin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5756 return _pcbnew.VECTOR_VECTOR2I_rbegin(self)
5759 r"""rend(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5760 return _pcbnew.VECTOR_VECTOR2I_rend(self)
5763 r"""clear(VECTOR_VECTOR2I self)"""
5764 return _pcbnew.VECTOR_VECTOR2I_clear(self)
5767 r"""get_allocator(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::allocator_type"""
5768 return _pcbnew.VECTOR_VECTOR2I_get_allocator(self)
5771 r"""pop_back(VECTOR_VECTOR2I self)"""
5772 return _pcbnew.VECTOR_VECTOR2I_pop_back(self)
5776 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos) -> std::vector< VECTOR2< int > >::iterator
5777 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator first, std::vector< VECTOR2< int > >::iterator last) -> std::vector< VECTOR2< int > >::iterator
5779 return _pcbnew.VECTOR_VECTOR2I_erase(self, *args)
5783 __init__(VECTOR_VECTOR2I self) -> VECTOR_VECTOR2I
5784 __init__(VECTOR_VECTOR2I self, VECTOR_VECTOR2I other) -> VECTOR_VECTOR2I
5785 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size) -> VECTOR_VECTOR2I
5786 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size, VECTOR2I value) -> VECTOR_VECTOR2I
5788 _pcbnew.VECTOR_VECTOR2I_swiginit(self, _pcbnew.new_VECTOR_VECTOR2I(*args))
5791 r"""push_back(VECTOR_VECTOR2I self, VECTOR2I x)"""
5792 return _pcbnew.VECTOR_VECTOR2I_push_back(self, x)
5795 r"""front(VECTOR_VECTOR2I self) -> VECTOR2I"""
5796 return _pcbnew.VECTOR_VECTOR2I_front(self)
5799 r"""back(VECTOR_VECTOR2I self) -> VECTOR2I"""
5800 return _pcbnew.VECTOR_VECTOR2I_back(self)
5803 r"""assign(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)"""
5804 return _pcbnew.VECTOR_VECTOR2I_assign(self, n, x)
5808 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size)
5809 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size, VECTOR2I x)
5811 return _pcbnew.VECTOR_VECTOR2I_resize(self, *args)
5815 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, VECTOR2I x) -> std::vector< VECTOR2< int > >::iterator
5816 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)
5818 return _pcbnew.VECTOR_VECTOR2I_insert(self, *args)
5821 r"""reserve(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n)"""
5822 return _pcbnew.VECTOR_VECTOR2I_reserve(self, n)
5825 r"""capacity(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5826 return _pcbnew.VECTOR_VECTOR2I_capacity(self)
5827 __swig_destroy__ = _pcbnew.delete_VECTOR_VECTOR2I
5830_pcbnew.VECTOR_VECTOR2I_swigregister(VECTOR_VECTOR2I)
5832CORNER_STRATEGY_ALLOW_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_ALLOW_ACUTE_CORNERS
5834CORNER_STRATEGY_CHAMFER_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_CHAMFER_ACUTE_CORNERS
5836CORNER_STRATEGY_ROUND_ACUTE_CORNERS = _pcbnew.CORNER_STRATEGY_ROUND_ACUTE_CORNERS
5838CORNER_STRATEGY_CHAMFER_ALL_CORNERS = _pcbnew.CORNER_STRATEGY_CHAMFER_ALL_CORNERS
5840CORNER_STRATEGY_ROUND_ALL_CORNERS = _pcbnew.CORNER_STRATEGY_ROUND_ALL_CORNERS
5843 r"""Proxy of C++ SEG class."""
5845 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5846 __repr__ = _swig_repr
5847 A = property(_pcbnew.SEG_A_get, _pcbnew.SEG_A_set, doc=
r"""A : VECTOR2I""")
5848 B = property(_pcbnew.SEG_B_get, _pcbnew.SEG_B_set, doc=
r"""B : VECTOR2I""")
5853 __init__(SEG self, int aX1, int aY1, int aX2, int aY2) -> SEG
5854 __init__(SEG self, VECTOR2I aA, VECTOR2I aB) -> SEG
5855 __init__(SEG self, VECTOR2I aA, VECTOR2I aB, int aIndex) -> SEG
5856 __init__(SEG self, SEG aSeg) -> SEG
5858 _pcbnew.SEG_swiginit(self, _pcbnew.new_SEG(*args))
5861 r"""__eq__(SEG self, SEG aSeg) -> bool"""
5862 return _pcbnew.SEG___eq__(self, aSeg)
5865 r"""__ne__(SEG self, SEG aSeg) -> bool"""
5866 return _pcbnew.SEG___ne__(self, aSeg)
5870 r"""Square(int a) -> SEG::ecoord"""
5871 return _pcbnew.SEG_Square(a)
5874 r"""LineProject(SEG self, VECTOR2I aP) -> VECTOR2I"""
5875 return _pcbnew.SEG_LineProject(self, aP)
5878 r"""Side(SEG self, VECTOR2I aP) -> int"""
5879 return _pcbnew.SEG_Side(self, aP)
5882 r"""LineDistance(SEG self, VECTOR2I aP, bool aDetermineSide=False) -> int"""
5883 return _pcbnew.SEG_LineDistance(self, aP, aDetermineSide)
5886 r"""Angle(SEG self, SEG aOther) -> EDA_ANGLE"""
5887 return _pcbnew.SEG_Angle(self, aOther)
5894 return _pcbnew.SEG_NearestPoint(self, *args)
5897 r"""ReflectPoint(SEG self, VECTOR2I aP) -> VECTOR2I"""
5898 return _pcbnew.SEG_ReflectPoint(self, aP)
5900 def Intersect(self, aSeg, aIgnoreEndpoints=False, aLines=False):
5901 r"""Intersect(SEG self, SEG aSeg, bool aIgnoreEndpoints=False, bool aLines=False) -> OPT_VECTOR2I"""
5902 return _pcbnew.SEG_Intersect(self, aSeg, aIgnoreEndpoints, aLines)
5905 r"""Intersects(SEG self, SEG aSeg) -> bool"""
5906 return _pcbnew.SEG_Intersects(self, aSeg)
5909 r"""IntersectLines(SEG self, SEG aSeg) -> OPT_VECTOR2I"""
5910 return _pcbnew.SEG_IntersectLines(self, aSeg)
5913 r"""PerpendicularSeg(SEG self, VECTOR2I aP) -> SEG"""
5914 return _pcbnew.SEG_PerpendicularSeg(self, aP)
5917 r"""ParallelSeg(SEG self, VECTOR2I aP) -> SEG"""
5918 return _pcbnew.SEG_ParallelSeg(self, aP)
5920 def Collide(self, aSeg, aClearance, aActual=None):
5921 r"""Collide(SEG self, SEG aSeg, int aClearance, int * aActual=None) -> bool"""
5922 return _pcbnew.SEG_Collide(self, aSeg, aClearance, aActual)
5929 return _pcbnew.SEG_SquaredDistance(self, *args)
5933 Distance(SEG self, SEG aSeg) -> int
5934 Distance(SEG self, VECTOR2I aP) -> int
5936 return _pcbnew.SEG_Distance(self, *args)
5939 r"""CanonicalCoefs(SEG self, SEG::ecoord & qA, SEG::ecoord & qB, SEG::ecoord & qC)"""
5940 return _pcbnew.SEG_CanonicalCoefs(self, qA, qB, qC)
5943 r"""Collinear(SEG self, SEG aSeg) -> bool"""
5944 return _pcbnew.SEG_Collinear(self, aSeg)
5947 r"""ApproxCollinear(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5948 return _pcbnew.SEG_ApproxCollinear(self, aSeg, aDistanceThreshold)
5951 r"""ApproxParallel(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5952 return _pcbnew.SEG_ApproxParallel(self, aSeg, aDistanceThreshold)
5955 r"""ApproxPerpendicular(SEG self, SEG aSeg) -> bool"""
5956 return _pcbnew.SEG_ApproxPerpendicular(self, aSeg)
5959 r"""Overlaps(SEG self, SEG aSeg) -> bool"""
5960 return _pcbnew.SEG_Overlaps(self, aSeg)
5963 r"""Length(SEG self) -> int"""
5964 return _pcbnew.SEG_Length(self)
5967 r"""SquaredLength(SEG self) -> SEG::ecoord"""
5968 return _pcbnew.SEG_SquaredLength(self)
5971 r"""TCoef(SEG self, VECTOR2I aP) -> SEG::ecoord"""
5972 return _pcbnew.SEG_TCoef(self, aP)
5975 r"""Index(SEG self) -> int"""
5976 return _pcbnew.SEG_Index(self)
5980 Contains(SEG self, SEG aSeg) -> bool
5981 Contains(SEG self, VECTOR2I aP) -> bool
5983 return _pcbnew.SEG_Contains(self, *args)
5986 r"""Reverse(SEG self)"""
5987 return _pcbnew.SEG_Reverse(self)
5990 r"""Reversed(SEG self) -> SEG"""
5991 return _pcbnew.SEG_Reversed(self)
5994 r"""Center(SEG self) -> VECTOR2I"""
5995 return _pcbnew.SEG_Center(self)
5998 r"""__lt__(SEG self, SEG aSeg) -> bool"""
5999 return _pcbnew.SEG___lt__(self, aSeg)
6000 __swig_destroy__ = _pcbnew.delete_SEG
6003_pcbnew.SEG_swigregister(SEG)
6006 r"""SEG_Square(int a) -> SEG::ecoord"""
6007 return _pcbnew.SEG_Square(a)
6009SH_RECT = _pcbnew.SH_RECT
6011SH_SEGMENT = _pcbnew.SH_SEGMENT
6013SH_LINE_CHAIN = _pcbnew.SH_LINE_CHAIN
6015SH_CIRCLE = _pcbnew.SH_CIRCLE
6017SH_SIMPLE = _pcbnew.SH_SIMPLE
6019SH_POLY_SET = _pcbnew.SH_POLY_SET
6021SH_COMPOUND = _pcbnew.SH_COMPOUND
6023SH_ARC = _pcbnew.SH_ARC
6025SH_NULL = _pcbnew.SH_NULL
6027SH_POLY_SET_TRIANGLE = _pcbnew.SH_POLY_SET_TRIANGLE
6031 r"""SHAPE_TYPE_asString(SHAPE_TYPE a) -> wxString"""
6032 return _pcbnew.SHAPE_TYPE_asString(a)
6034 r"""Proxy of C++ SHAPE_BASE class."""
6036 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6037 __repr__ = _swig_repr
6040 r"""__init__(SHAPE_BASE self, SHAPE_TYPE aType) -> SHAPE_BASE"""
6041 _pcbnew.SHAPE_BASE_swiginit(self, _pcbnew.new_SHAPE_BASE(aType))
6042 __swig_destroy__ = _pcbnew.delete_SHAPE_BASE
6045 r"""Type(SHAPE_BASE self) -> SHAPE_TYPE"""
6046 return _pcbnew.SHAPE_BASE_Type(self)
6049 r"""TypeName(SHAPE_BASE self) -> wxString"""
6050 return _pcbnew.SHAPE_BASE_TypeName(self)
6053 r"""HasIndexableSubshapes(SHAPE_BASE self) -> bool"""
6054 return _pcbnew.SHAPE_BASE_HasIndexableSubshapes(self)
6057 r"""GetIndexableSubshapeCount(SHAPE_BASE self) -> size_t"""
6058 return _pcbnew.SHAPE_BASE_GetIndexableSubshapeCount(self)
6061 r"""GetIndexableSubshapes(SHAPE_BASE self, std::vector< SHAPE const *,std::allocator< SHAPE const * > > & aSubshapes)"""
6062 return _pcbnew.SHAPE_BASE_GetIndexableSubshapes(self, aSubshapes)
6065_pcbnew.SHAPE_BASE_swigregister(SHAPE_BASE)
6068 r"""Proxy of C++ SHAPE class."""
6070 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6073 raise AttributeError(
"No constructor defined - class is abstract")
6074 __repr__ = _swig_repr
6075 MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU
6077 __swig_destroy__ = _pcbnew.delete_SHAPE
6080 r"""Clone(SHAPE self) -> SHAPE"""
6081 return _pcbnew.SHAPE_Clone(self)
6084 r"""GetClearance(SHAPE self, SHAPE aOther) -> int"""
6085 return _pcbnew.SHAPE_GetClearance(self, aOther)
6088 r"""IsNull(SHAPE self) -> bool"""
6089 return _pcbnew.SHAPE_IsNull(self)
6093 Collide(SHAPE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6094 Collide(SHAPE self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
6095 Collide(SHAPE self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6096 Collide(SHAPE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6098 return _pcbnew.SHAPE_Collide(self, *args)
6101 r"""BBox(SHAPE self, int aClearance=0) -> BOX2I"""
6102 return _pcbnew.SHAPE_BBox(self, aClearance)
6105 r"""Centre(SHAPE self) -> VECTOR2I"""
6106 return _pcbnew.SHAPE_Centre(self)
6109 r"""Distance(SHAPE self, VECTOR2I aP) -> int"""
6110 return _pcbnew.SHAPE_Distance(self, aP)
6113 r"""SquaredDistance(SHAPE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
6114 return _pcbnew.SHAPE_SquaredDistance(self, aP, aOutlineOnly)
6117 r"""PointInside(SHAPE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
6118 return _pcbnew.SHAPE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
6121 r"""TransformToPolygon(SHAPE self, SHAPE_POLY_SET aBuffer, int aError, ERROR_LOC aErrorLoc)"""
6122 return _pcbnew.SHAPE_TransformToPolygon(self, aBuffer, aError, aErrorLoc)
6125 r"""Rotate(SHAPE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6126 return _pcbnew.SHAPE_Rotate(self, *args)
6129 r"""Move(SHAPE self, VECTOR2I aVector)"""
6130 return _pcbnew.SHAPE_Move(self, aVector)
6133 r"""IsSolid(SHAPE self) -> bool"""
6134 return _pcbnew.SHAPE_IsSolid(self)
6137 r"""Parse(SHAPE self, std::stringstream & aStream) -> bool"""
6138 return _pcbnew.SHAPE_Parse(self, aStream)
6141 r"""Format(SHAPE self, bool aCplusPlus=True) -> string"""
6142 return _pcbnew.SHAPE_Format(self, aCplusPlus)
6147 if shape_type ==
"SH_ARC":
6149 elif shape_type ==
"SH_CIRCLE":
6151 elif shape_type ==
"SH_COMPOUND":
6153 elif shape_type ==
"SH_LINE_CHAIN":
6155 elif shape_type ==
"SH_POLY_SET":
6157 elif shape_type ==
"SH_RECT":
6159 elif shape_type ==
"SH_SEGMENT":
6161 elif shape_type ==
"SH_SIMPLE":
6164 raise TypeError(
"Unsupported shape class: %s" % shape_type)
6168_pcbnew.SHAPE_swigregister(SHAPE)
6171 r"""Proxy of C++ SHAPE_LINE_CHAIN_BASE class."""
6173 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6176 raise AttributeError(
"No constructor defined - class is abstract")
6177 __repr__ = _swig_repr
6178 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN_BASE
6182 Collide(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6183 Collide(SHAPE_LINE_CHAIN_BASE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6185 return _pcbnew.SHAPE_LINE_CHAIN_BASE_Collide(self, *args)
6188 r"""SquaredDistance(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
6189 return _pcbnew.SHAPE_LINE_CHAIN_BASE_SquaredDistance(self, aP, aOutlineOnly)
6192 r"""PointInside(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
6193 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
6196 r"""PointOnEdge(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> bool"""
6197 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointOnEdge(self, aP, aAccuracy)
6200 r"""EdgeContainingPoint(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> int"""
6201 return _pcbnew.SHAPE_LINE_CHAIN_BASE_EdgeContainingPoint(self, aP, aAccuracy)
6204 r"""GetPoint(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> VECTOR2I"""
6205 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPoint(self, aIndex)
6208 r"""GetSegment(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> SEG"""
6209 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegment(self, aIndex)
6212 r"""GetPointCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
6213 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPointCount(self)
6216 r"""GetSegmentCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
6217 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegmentCount(self)
6220 r"""IsClosed(SHAPE_LINE_CHAIN_BASE self) -> bool"""
6221 return _pcbnew.SHAPE_LINE_CHAIN_BASE_IsClosed(self)
6224 r"""GetCachedBBox(SHAPE_LINE_CHAIN_BASE self) -> BOX2I"""
6225 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetCachedBBox(self)
6228_pcbnew.SHAPE_LINE_CHAIN_BASE_swigregister(SHAPE_LINE_CHAIN_BASE)
6231 r"""Proxy of C++ SHAPE_ARC class."""
6233 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6236 raise AttributeError(
"No constructor defined - class is abstract")
6237 __repr__ = _swig_repr
6238 __swig_destroy__ = _pcbnew.delete_SHAPE_ARC
6241 r"""ConstructFromStartEndAngle(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, EDA_ANGLE aAngle, double aWidth=0) -> SHAPE_ARC"""
6242 return _pcbnew.SHAPE_ARC_ConstructFromStartEndAngle(self, aStart, aEnd, aAngle, aWidth)
6245 r"""ConstructFromStartEndCenter(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, VECTOR2I aCenter, bool aClockwise=False, double aWidth=0) -> SHAPE_ARC"""
6246 return _pcbnew.SHAPE_ARC_ConstructFromStartEndCenter(self, aStart, aEnd, aCenter, aClockwise, aWidth)
6249 r"""GetP0(SHAPE_ARC self) -> VECTOR2I"""
6250 return _pcbnew.SHAPE_ARC_GetP0(self)
6253 r"""GetP1(SHAPE_ARC self) -> VECTOR2I"""
6254 return _pcbnew.SHAPE_ARC_GetP1(self)
6257 r"""GetArcMid(SHAPE_ARC self) -> VECTOR2I"""
6258 return _pcbnew.SHAPE_ARC_GetArcMid(self)
6261 r"""GetCenter(SHAPE_ARC self) -> VECTOR2I"""
6262 return _pcbnew.SHAPE_ARC_GetCenter(self)
6265 r"""BBox(SHAPE_ARC self, int aClearance=0) -> BOX2I"""
6266 return _pcbnew.SHAPE_ARC_BBox(self, aClearance)
6269 r"""NearestPoint(SHAPE_ARC self, VECTOR2I aP) -> VECTOR2I"""
6270 return _pcbnew.SHAPE_ARC_NearestPoint(self, aP)
6274 Collide(SHAPE_ARC self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6275 Collide(SHAPE_ARC self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6276 Collide(SHAPE_ARC self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6278 return _pcbnew.SHAPE_ARC_Collide(self, *args)
6281 r"""IntersectLine(SHAPE_ARC self, SEG aSeg, VECTOR_VECTOR2I aIpsBuffer) -> int"""
6282 return _pcbnew.SHAPE_ARC_IntersectLine(self, aSeg, aIpsBuffer)
6285 r"""Intersect(SHAPE_ARC self, SHAPE_ARC aArc, VECTOR_VECTOR2I aIpsBuffer) -> int"""
6286 return _pcbnew.SHAPE_ARC_Intersect(self, aArc, aIpsBuffer)
6289 r"""SetWidth(SHAPE_ARC self, int aWidth)"""
6290 return _pcbnew.SHAPE_ARC_SetWidth(self, aWidth)
6293 r"""GetWidth(SHAPE_ARC self) -> int"""
6294 return _pcbnew.SHAPE_ARC_GetWidth(self)
6298 Mirror(SHAPE_ARC self, bool aX=True, bool aY=
False, VECTOR2I aVector={ 0, 0 })
6299 Mirror(SHAPE_ARC self, SEG axis)
6301 return _pcbnew.SHAPE_ARC_Mirror(self, *args)
6304 r"""Reverse(SHAPE_ARC self)"""
6305 return _pcbnew.SHAPE_ARC_Reverse(self)
6308 r"""Reversed(SHAPE_ARC self) -> SHAPE_ARC"""
6309 return _pcbnew.SHAPE_ARC_Reversed(self)
6312 r"""GetRadius(SHAPE_ARC self) -> double"""
6313 return _pcbnew.SHAPE_ARC_GetRadius(self)
6316 r"""GetChord(SHAPE_ARC self) -> SEG"""
6317 return _pcbnew.SHAPE_ARC_GetChord(self)
6320 r"""GetCentralAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6321 return _pcbnew.SHAPE_ARC_GetCentralAngle(self)
6324 r"""GetStartAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6325 return _pcbnew.SHAPE_ARC_GetStartAngle(self)
6328 r"""GetEndAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6329 return _pcbnew.SHAPE_ARC_GetEndAngle(self)
6332 r"""GetLength(SHAPE_ARC self) -> double"""
6333 return _pcbnew.SHAPE_ARC_GetLength(self)
6337 r"""DefaultAccuracyForPCB() -> double"""
6338 return _pcbnew.SHAPE_ARC_DefaultAccuracyForPCB()
6341 r"""ConvertToPolyline(SHAPE_ARC self, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB(), double * aEffectiveAccuracy=None) -> SHAPE_LINE_CHAIN"""
6342 return _pcbnew.SHAPE_ARC_ConvertToPolyline(self, *args)
6345 r"""__eq__(SHAPE_ARC self, SHAPE_ARC aArc) -> bool"""
6346 return _pcbnew.SHAPE_ARC___eq__(self, aArc)
6349 r"""IsCCW(SHAPE_ARC self) -> bool"""
6350 return _pcbnew.SHAPE_ARC_IsCCW(self)
6353 r"""IsClockwise(SHAPE_ARC self) -> bool"""
6354 return _pcbnew.SHAPE_ARC_IsClockwise(self)
6357_pcbnew.SHAPE_ARC_swigregister(SHAPE_ARC)
6360 r"""SHAPE_ARC_DefaultAccuracyForPCB() -> double"""
6361 return _pcbnew.SHAPE_ARC_DefaultAccuracyForPCB()
6364 r"""Proxy of C++ SHAPE_CIRCLE class."""
6366 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6367 __repr__ = _swig_repr
6371 __init__(SHAPE_CIRCLE self) -> SHAPE_CIRCLE
6372 __init__(SHAPE_CIRCLE self, VECTOR2I aCenter, int aRadius) -> SHAPE_CIRCLE
6373 __init__(SHAPE_CIRCLE self, CIRCLE const & aCircle) -> SHAPE_CIRCLE
6374 __init__(SHAPE_CIRCLE self, SHAPE_CIRCLE aOther) -> SHAPE_CIRCLE
6376 _pcbnew.SHAPE_CIRCLE_swiginit(self, _pcbnew.new_SHAPE_CIRCLE(*args))
6377 __swig_destroy__ = _pcbnew.delete_SHAPE_CIRCLE
6380 r"""BBox(SHAPE_CIRCLE self, int aClearance=0) -> BOX2I"""
6381 return _pcbnew.SHAPE_CIRCLE_BBox(self, aClearance)
6383 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
6384 r"""Collide(SHAPE_CIRCLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
6385 return _pcbnew.SHAPE_CIRCLE_Collide(self, aSeg, aClearance, aActual, aLocation)
6388 r"""SetRadius(SHAPE_CIRCLE self, int aRadius)"""
6389 return _pcbnew.SHAPE_CIRCLE_SetRadius(self, aRadius)
6392 r"""SetCenter(SHAPE_CIRCLE self, VECTOR2I aCenter)"""
6393 return _pcbnew.SHAPE_CIRCLE_SetCenter(self, aCenter)
6396 r"""GetRadius(SHAPE_CIRCLE self) -> int"""
6397 return _pcbnew.SHAPE_CIRCLE_GetRadius(self)
6400 r"""GetCenter(SHAPE_CIRCLE self) -> VECTOR2I"""
6401 return _pcbnew.SHAPE_CIRCLE_GetCenter(self)
6404 r"""GetCircle(SHAPE_CIRCLE self) -> CIRCLE const"""
6405 return _pcbnew.SHAPE_CIRCLE_GetCircle(self)
6408 r"""Rotate(SHAPE_CIRCLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6409 return _pcbnew.SHAPE_CIRCLE_Rotate(self, *args)
6412 r"""Format(SHAPE_CIRCLE self, bool aCplusPlus=True) -> string"""
6413 return _pcbnew.SHAPE_CIRCLE_Format(self, aCplusPlus)
6416_pcbnew.SHAPE_CIRCLE_swigregister(SHAPE_CIRCLE)
6419 r"""Proxy of C++ SHAPE_COMPOUND class."""
6421 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6422 __repr__ = _swig_repr
6426 __init__(SHAPE_COMPOUND self) -> SHAPE_COMPOUND
6427 __init__(SHAPE_COMPOUND self, std::vector< SHAPE *,std::allocator< SHAPE * > > const & aShapes) -> SHAPE_COMPOUND
6428 __init__(SHAPE_COMPOUND self, SHAPE_COMPOUND aOther) -> SHAPE_COMPOUND
6430 _pcbnew.SHAPE_COMPOUND_swiginit(self, _pcbnew.new_SHAPE_COMPOUND(*args))
6431 __swig_destroy__ = _pcbnew.delete_SHAPE_COMPOUND
6434 r"""Clone(SHAPE_COMPOUND self) -> SHAPE_COMPOUND"""
6435 return _pcbnew.SHAPE_COMPOUND_Clone(self)
6438 r"""Format(SHAPE_COMPOUND self, bool aCplusPlus=True) -> string"""
6439 return _pcbnew.SHAPE_COMPOUND_Format(self, aCplusPlus)
6443 Collide(SHAPE_COMPOUND self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6444 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
6445 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6447 return _pcbnew.SHAPE_COMPOUND_Collide(self, *args)
6450 r"""Shapes(SHAPE_COMPOUND self) -> std::vector< SHAPE *,std::allocator< SHAPE * > > const &"""
6451 return _pcbnew.SHAPE_COMPOUND_Shapes(self)
6454 r"""BBox(SHAPE_COMPOUND self, int aClearance=0) -> BOX2I"""
6455 return _pcbnew.SHAPE_COMPOUND_BBox(self, aClearance)
6459 Distance(SHAPE_COMPOUND self, VECTOR2I aP) -> int
6460 Distance(SHAPE_COMPOUND self, SEG aSeg) -> int
6462 return _pcbnew.SHAPE_COMPOUND_Distance(self, *args)
6466 AddShape(SHAPE_COMPOUND self, SHAPE aShape)
6467 AddShape(SHAPE_COMPOUND self, std::shared_ptr< SHAPE > aShape)
6469 return _pcbnew.SHAPE_COMPOUND_AddShape(self, *args)
6472 r"""Empty(SHAPE_COMPOUND self) -> bool"""
6473 return _pcbnew.SHAPE_COMPOUND_Empty(self)
6476 r"""Size(SHAPE_COMPOUND self) -> int"""
6477 return _pcbnew.SHAPE_COMPOUND_Size(self)
6480 r"""Rotate(SHAPE_COMPOUND self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6481 return _pcbnew.SHAPE_COMPOUND_Rotate(self, *args)
6484 r"""UniqueSubshape(SHAPE_COMPOUND self) -> SHAPE"""
6485 return _pcbnew.SHAPE_COMPOUND_UniqueSubshape(self)
6488 r"""GetSubshapes(SHAPE_COMPOUND self) -> VECTOR_SHAPEPTR"""
6489 return _pcbnew.SHAPE_COMPOUND_GetSubshapes(self)
6492_pcbnew.SHAPE_COMPOUND_swigregister(SHAPE_COMPOUND)
6495 r"""Proxy of C++ CLIPPER_Z_VALUE class."""
6497 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6498 __repr__ = _swig_repr
6502 __init__(CLIPPER_Z_VALUE self) -> CLIPPER_Z_VALUE
6503 __init__(CLIPPER_Z_VALUE self, std::pair< ssize_t,ssize_t > const aShapeIndices, ssize_t aOffset=0) -> CLIPPER_Z_VALUE
6505 _pcbnew.CLIPPER_Z_VALUE_swiginit(self, _pcbnew.new_CLIPPER_Z_VALUE(*args))
6506 m_FirstArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_set, doc=r"""m_FirstArcIdx : ssize_t""")
6507 m_SecondArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_set, doc=
r"""m_SecondArcIdx : ssize_t""")
6508 __swig_destroy__ = _pcbnew.delete_CLIPPER_Z_VALUE
6511_pcbnew.CLIPPER_Z_VALUE_swigregister(CLIPPER_Z_VALUE)
6514 r"""Proxy of C++ SHAPE_LINE_CHAIN class."""
6516 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6517 __repr__ = _swig_repr
6521 __init__(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN
6522 __init__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aShape) -> SHAPE_LINE_CHAIN
6523 __init__(SHAPE_LINE_CHAIN self, intVector aV) -> SHAPE_LINE_CHAIN
6524 __init__(SHAPE_LINE_CHAIN self, VECTOR_VECTOR2I aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
6525 __init__(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, bool aClosed=
False) -> SHAPE_LINE_CHAIN
6526 __init__(SHAPE_LINE_CHAIN self, ClipperLib::Path const & aPath, std::vector< CLIPPER_Z_VALUE,std::allocator< CLIPPER_Z_VALUE > > const & aZValueBuffer, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const & aArcBuffer) -> SHAPE_LINE_CHAIN
6527 __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
6529 _pcbnew.SHAPE_LINE_CHAIN_swiginit(self, _pcbnew.new_SHAPE_LINE_CHAIN(*args))
6530 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN
6534 Collide(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6535 Collide(SHAPE_LINE_CHAIN self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6537 return _pcbnew.SHAPE_LINE_CHAIN_Collide(self, *args)
6540 r"""Clear(SHAPE_LINE_CHAIN self)"""
6541 return _pcbnew.SHAPE_LINE_CHAIN_Clear(self)
6544 r"""SetClosed(SHAPE_LINE_CHAIN self, bool aClosed)"""
6545 return _pcbnew.SHAPE_LINE_CHAIN_SetClosed(self, aClosed)
6548 r"""SetWidth(SHAPE_LINE_CHAIN self, int aWidth)"""
6549 return _pcbnew.SHAPE_LINE_CHAIN_SetWidth(self, aWidth)
6552 r"""Width(SHAPE_LINE_CHAIN self) -> int"""
6553 return _pcbnew.SHAPE_LINE_CHAIN_Width(self)
6556 r"""SegmentCount(SHAPE_LINE_CHAIN self) -> int"""
6557 return _pcbnew.SHAPE_LINE_CHAIN_SegmentCount(self)
6560 r"""ShapeCount(SHAPE_LINE_CHAIN self) -> int"""
6561 return _pcbnew.SHAPE_LINE_CHAIN_ShapeCount(self)
6564 r"""RemoveDuplicatePoints(SHAPE_LINE_CHAIN self)"""
6565 return _pcbnew.SHAPE_LINE_CHAIN_RemoveDuplicatePoints(self)
6568 r"""Simplify(SHAPE_LINE_CHAIN self, int aMaxError=0)"""
6569 return _pcbnew.SHAPE_LINE_CHAIN_Simplify(self, aMaxError)
6572 r"""PointCount(SHAPE_LINE_CHAIN self) -> int"""
6573 return _pcbnew.SHAPE_LINE_CHAIN_PointCount(self)
6576 r"""Segment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6577 return _pcbnew.SHAPE_LINE_CHAIN_Segment(self, aIndex)
6580 r"""CSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6581 return _pcbnew.SHAPE_LINE_CHAIN_CSegment(self, aIndex)
6584 r"""NextShape(SHAPE_LINE_CHAIN self, int aPointIndex) -> int"""
6585 return _pcbnew.SHAPE_LINE_CHAIN_NextShape(self, aPointIndex)
6588 r"""SetPoint(SHAPE_LINE_CHAIN self, int aIndex, VECTOR2I aPos)"""
6589 return _pcbnew.SHAPE_LINE_CHAIN_SetPoint(self, aIndex, aPos)
6592 r"""CPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I"""
6593 return _pcbnew.SHAPE_LINE_CHAIN_CPoint(self, aIndex)
6596 r"""CPoints(SHAPE_LINE_CHAIN self) -> VECTOR_VECTOR2I"""
6597 return _pcbnew.SHAPE_LINE_CHAIN_CPoints(self)
6600 r"""CLastPoint(SHAPE_LINE_CHAIN self) -> VECTOR2I"""
6601 return _pcbnew.SHAPE_LINE_CHAIN_CLastPoint(self)
6604 r"""CArcs(SHAPE_LINE_CHAIN self) -> std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &"""
6605 return _pcbnew.SHAPE_LINE_CHAIN_CArcs(self)
6608 r"""CShapes(SHAPE_LINE_CHAIN self) -> std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &"""
6609 return _pcbnew.SHAPE_LINE_CHAIN_CShapes(self)
6612 r"""BBox(SHAPE_LINE_CHAIN self, int aClearance=0) -> BOX2I"""
6613 return _pcbnew.SHAPE_LINE_CHAIN_BBox(self, aClearance)
6616 r"""GenerateBBoxCache(SHAPE_LINE_CHAIN self)"""
6617 return _pcbnew.SHAPE_LINE_CHAIN_GenerateBBoxCache(self)
6620 r"""Reverse(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN"""
6621 return _pcbnew.SHAPE_LINE_CHAIN_Reverse(self)
6624 r"""ClearArcs(SHAPE_LINE_CHAIN self)"""
6625 return _pcbnew.SHAPE_LINE_CHAIN_ClearArcs(self)
6628 r"""Length(SHAPE_LINE_CHAIN self) -> long long"""
6629 return _pcbnew.SHAPE_LINE_CHAIN_Length(self)
6632 r"""ReservePoints(SHAPE_LINE_CHAIN self, size_t aSize)"""
6633 return _pcbnew.SHAPE_LINE_CHAIN_ReservePoints(self, aSize)
6637 Append(SHAPE_LINE_CHAIN self, int aX, int aY, bool aAllowDuplication=False)
6638 Append(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowDuplication=
False)
6639 Append(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOtherLine)
6640 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc)
6641 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, double aAccuracy)
6643 return _pcbnew.SHAPE_LINE_CHAIN_Append(self, *args)
6647 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, VECTOR2I aP)
6648 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, SHAPE_ARC aArc)
6650 return _pcbnew.SHAPE_LINE_CHAIN_Insert(self, *args)
6654 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, VECTOR2I aP)
6655 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, SHAPE_LINE_CHAIN aLine)
6657 return _pcbnew.SHAPE_LINE_CHAIN_Replace(self, *args)
6661 Remove(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex)
6662 Remove(SHAPE_LINE_CHAIN self, int aIndex)
6664 return _pcbnew.SHAPE_LINE_CHAIN_Remove(self, *args)
6667 r"""RemoveShape(SHAPE_LINE_CHAIN self, int aPointIndex)"""
6668 return _pcbnew.SHAPE_LINE_CHAIN_RemoveShape(self, aPointIndex)
6671 r"""Find(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=0) -> int"""
6672 return _pcbnew.SHAPE_LINE_CHAIN_Find(self, aP, aThreshold)
6675 r"""FindSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=1) -> int"""
6676 return _pcbnew.SHAPE_LINE_CHAIN_FindSegment(self, aP, aThreshold)
6678 def Slice(self, aStartIndex, aEndIndex=-1):
6679 r"""Slice(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex=-1) -> SHAPE_LINE_CHAIN"""
6680 return _pcbnew.SHAPE_LINE_CHAIN_Slice(self, aStartIndex, aEndIndex)
6683 r"""Intersects(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain) -> bool"""
6684 return _pcbnew.SHAPE_LINE_CHAIN_Intersects(self, aChain)
6688 Intersect(SHAPE_LINE_CHAIN self, SEG aSeg, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp) -> int
6689 Intersect(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp, bool aExcludeColinearAndTouching=False, BOX2I aChainBBox=
None) -> int
6691 return _pcbnew.SHAPE_LINE_CHAIN_Intersect(self, *args)
6694 r"""PathLength(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aIndex=-1) -> int"""
6695 return _pcbnew.SHAPE_LINE_CHAIN_PathLength(self, aP, aIndex)
6698 r"""CheckClearance(SHAPE_LINE_CHAIN self, VECTOR2I aP, int const aDist) -> bool"""
6699 return _pcbnew.SHAPE_LINE_CHAIN_CheckClearance(self, aP, aDist)
6702 r"""SelfIntersecting(SHAPE_LINE_CHAIN self) -> std::optional< SHAPE_LINE_CHAIN::INTERSECTION > const"""
6703 return _pcbnew.SHAPE_LINE_CHAIN_SelfIntersecting(self)
6706 r"""NearestSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int"""
6707 return _pcbnew.SHAPE_LINE_CHAIN_NearestSegment(self, aP)
6711 NearestPoint(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowInternalShapePoints=True) -> VECTOR2I
6712 NearestPoint(SHAPE_LINE_CHAIN self, SEG aSeg, int & dist) -> VECTOR2I
6714 return _pcbnew.SHAPE_LINE_CHAIN_NearestPoint(self, *args)
6717 r"""Format(SHAPE_LINE_CHAIN self, bool aCplusPlus=True) -> string"""
6718 return _pcbnew.SHAPE_LINE_CHAIN_Format(self, aCplusPlus)
6721 r"""__ne__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aRhs) -> bool"""
6722 return _pcbnew.SHAPE_LINE_CHAIN___ne__(self, aRhs)
6725 r"""CompareGeometry(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther) -> bool"""
6726 return _pcbnew.SHAPE_LINE_CHAIN_CompareGeometry(self, aOther)
6730 Mirror(SHAPE_LINE_CHAIN self, bool aX=True, bool aY=
False, VECTOR2I aRef={ 0, 0 })
6731 Mirror(SHAPE_LINE_CHAIN self, SEG axis)
6733 return _pcbnew.SHAPE_LINE_CHAIN_Mirror(self, *args)
6736 r"""Rotate(SHAPE_LINE_CHAIN self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6737 return _pcbnew.SHAPE_LINE_CHAIN_Rotate(self, *args)
6740 r"""PointAlong(SHAPE_LINE_CHAIN self, int aPathLength) -> VECTOR2I"""
6741 return _pcbnew.SHAPE_LINE_CHAIN_PointAlong(self, aPathLength)
6744 r"""Area(SHAPE_LINE_CHAIN self, bool aAbsolute=True) -> double"""
6745 return _pcbnew.SHAPE_LINE_CHAIN_Area(self, aAbsolute)
6749 Split(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aExact=False) -> int
6750 Split(SHAPE_LINE_CHAIN self, VECTOR2I aStart, VECTOR2I aEnd, SHAPE_LINE_CHAIN aPre, SHAPE_LINE_CHAIN aMid, SHAPE_LINE_CHAIN aPost)
6752 return _pcbnew.SHAPE_LINE_CHAIN_Split(self, *args)
6754 def OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify=False):
6755 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"""
6756 return _pcbnew.SHAPE_LINE_CHAIN_OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify)
6759 r"""ArcCount(SHAPE_LINE_CHAIN self) -> size_t"""
6760 return _pcbnew.SHAPE_LINE_CHAIN_ArcCount(self)
6763 r"""ArcIndex(SHAPE_LINE_CHAIN self, size_t aSegment) -> ssize_t"""
6764 return _pcbnew.SHAPE_LINE_CHAIN_ArcIndex(self, aSegment)
6767 r"""Arc(SHAPE_LINE_CHAIN self, size_t aArc) -> SHAPE_ARC"""
6768 return _pcbnew.SHAPE_LINE_CHAIN_Arc(self, aArc)
6771 r"""IsSharedPt(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6772 return _pcbnew.SHAPE_LINE_CHAIN_IsSharedPt(self, aIndex)
6775 r"""IsPtOnArc(SHAPE_LINE_CHAIN self, size_t aPtIndex) -> bool"""
6776 return _pcbnew.SHAPE_LINE_CHAIN_IsPtOnArc(self, aPtIndex)
6779 r"""IsArcSegment(SHAPE_LINE_CHAIN self, size_t aSegment) -> bool"""
6780 return _pcbnew.SHAPE_LINE_CHAIN_IsArcSegment(self, aSegment)
6783 r"""IsArcStart(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6784 return _pcbnew.SHAPE_LINE_CHAIN_IsArcStart(self, aIndex)
6787 r"""IsArcEnd(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6788 return _pcbnew.SHAPE_LINE_CHAIN_IsArcEnd(self, aIndex)
6792 Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int
6793 Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aOutlineOnly) -> int
6795 return _pcbnew.SHAPE_LINE_CHAIN_Distance(self, *args)
6798_pcbnew.SHAPE_LINE_CHAIN_swigregister(SHAPE_LINE_CHAIN)
6801 r"""Proxy of C++ SHAPE_POLY_SET class."""
6803 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6804 __repr__ = _swig_repr
6808 __init__(SHAPE_POLY_SET self) -> SHAPE_POLY_SET
6809 __init__(SHAPE_POLY_SET self, BOX2D const & aRect) -> SHAPE_POLY_SET
6810 __init__(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> SHAPE_POLY_SET
6811 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON const & aPolygon) -> SHAPE_POLY_SET
6812 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET aOther) -> SHAPE_POLY_SET
6814 _pcbnew.SHAPE_POLY_SET_swiginit(self, _pcbnew.new_SHAPE_POLY_SET(*args))
6815 __swig_destroy__ = _pcbnew.delete_SHAPE_POLY_SET
6818 r"""CacheTriangulation(SHAPE_POLY_SET self, bool aPartition=True, bool aSimplify=False)"""
6819 return _pcbnew.SHAPE_POLY_SET_CacheTriangulation(self, aPartition, aSimplify)
6822 r"""IsTriangulationUpToDate(SHAPE_POLY_SET self) -> bool"""
6823 return _pcbnew.SHAPE_POLY_SET_IsTriangulationUpToDate(self)
6826 r"""GetHash(SHAPE_POLY_SET self) -> MD5_HASH"""
6827 return _pcbnew.SHAPE_POLY_SET_GetHash(self)
6830 r"""GetRelativeIndices(SHAPE_POLY_SET self, int aGlobalIdx, SHAPE_POLY_SET::VERTEX_INDEX * aRelativeIndices) -> bool"""
6831 return _pcbnew.SHAPE_POLY_SET_GetRelativeIndices(self, aGlobalIdx, aRelativeIndices)
6834 r"""GetGlobalIndex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices, int & aGlobalIdx) -> bool"""
6835 return _pcbnew.SHAPE_POLY_SET_GetGlobalIndex(self, aRelativeIndices, aGlobalIdx)
6838 r"""CloneDropTriangulation(SHAPE_POLY_SET self) -> SHAPE_POLY_SET"""
6839 return _pcbnew.SHAPE_POLY_SET_CloneDropTriangulation(self)
6842 r"""NewOutline(SHAPE_POLY_SET self) -> int"""
6843 return _pcbnew.SHAPE_POLY_SET_NewOutline(self)
6846 r"""NewHole(SHAPE_POLY_SET self, int aOutline=-1) -> int"""
6847 return _pcbnew.SHAPE_POLY_SET_NewHole(self, aOutline)
6850 r"""AddOutline(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> int"""
6851 return _pcbnew.SHAPE_POLY_SET_AddOutline(self, aOutline)
6854 r"""AddHole(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aHole, int aOutline=-1) -> int"""
6855 return _pcbnew.SHAPE_POLY_SET_AddHole(self, aHole, aOutline)
6858 r"""AddPolygon(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON const & apolygon) -> int"""
6859 return _pcbnew.SHAPE_POLY_SET_AddPolygon(self, apolygon)
6862 r"""Area(SHAPE_POLY_SET self) -> double"""
6863 return _pcbnew.SHAPE_POLY_SET_Area(self)
6866 r"""ArcCount(SHAPE_POLY_SET self) -> int"""
6867 return _pcbnew.SHAPE_POLY_SET_ArcCount(self)
6870 r"""GetArcs(SHAPE_POLY_SET self, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > & aArcBuffer)"""
6871 return _pcbnew.SHAPE_POLY_SET_GetArcs(self, aArcBuffer)
6874 r"""ClearArcs(SHAPE_POLY_SET self)"""
6875 return _pcbnew.SHAPE_POLY_SET_ClearArcs(self)
6879 Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1, int aHole=-1, bool aAllowDuplication=False) -> int
6880 Append(SHAPE_POLY_SET self, SHAPE_POLY_SET aSet)
6881 Append(SHAPE_POLY_SET self, VECTOR2I aP, int aOutline=-1, int aHole=-1)
6882 Append(SHAPE_POLY_SET self, SHAPE_ARC aArc, int aOutline=-1, int aHole=-1, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB()) -> int
6884 return _pcbnew.SHAPE_POLY_SET_Append(self, *args)
6887 r"""InsertVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aNewVertex)"""
6888 return _pcbnew.SHAPE_POLY_SET_InsertVertex(self, aGlobalIndex, aNewVertex)
6892 CVertex(SHAPE_POLY_SET self, int aIndex, int aOutline, int aHole) -> VECTOR2I
6893 CVertex(SHAPE_POLY_SET self, int aGlobalIndex) -> VECTOR2I
6894 CVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aIndex) -> VECTOR2I
6896 return _pcbnew.SHAPE_POLY_SET_CVertex(self, *args)
6899 r"""GetNeighbourIndexes(SHAPE_POLY_SET self, int aGlobalIndex, int * aPrevious, int * aNext) -> bool"""
6900 return _pcbnew.SHAPE_POLY_SET_GetNeighbourIndexes(self, aGlobalIndex, aPrevious, aNext)
6903 r"""IsPolygonSelfIntersecting(SHAPE_POLY_SET self, int aPolygonIndex) -> bool"""
6904 return _pcbnew.SHAPE_POLY_SET_IsPolygonSelfIntersecting(self, aPolygonIndex)
6907 r"""IsSelfIntersecting(SHAPE_POLY_SET self) -> bool"""
6908 return _pcbnew.SHAPE_POLY_SET_IsSelfIntersecting(self)
6911 r"""TriangulatedPolyCount(SHAPE_POLY_SET self) -> unsigned int"""
6912 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolyCount(self)
6915 r"""OutlineCount(SHAPE_POLY_SET self) -> int"""
6916 return _pcbnew.SHAPE_POLY_SET_OutlineCount(self)
6919 r"""VertexCount(SHAPE_POLY_SET self, int aOutline=-1, int aHole=-1) -> int"""
6920 return _pcbnew.SHAPE_POLY_SET_VertexCount(self, aOutline, aHole)
6923 r"""FullPointCount(SHAPE_POLY_SET self) -> int"""
6924 return _pcbnew.SHAPE_POLY_SET_FullPointCount(self)
6927 r"""HoleCount(SHAPE_POLY_SET self, int aOutline) -> int"""
6928 return _pcbnew.SHAPE_POLY_SET_HoleCount(self, aOutline)
6932 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6933 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6935 return _pcbnew.SHAPE_POLY_SET_Outline(self, *args)
6937 def Subset(self, aFirstPolygon, aLastPolygon):
6938 r"""Subset(SHAPE_POLY_SET self, int aFirstPolygon, int aLastPolygon) -> SHAPE_POLY_SET"""
6939 return _pcbnew.SHAPE_POLY_SET_Subset(self, aFirstPolygon, aLastPolygon)
6942 r"""UnitSet(SHAPE_POLY_SET self, int aPolygonIndex) -> SHAPE_POLY_SET"""
6943 return _pcbnew.SHAPE_POLY_SET_UnitSet(self, aPolygonIndex)
6946 r"""Hole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6947 return _pcbnew.SHAPE_POLY_SET_Hole(self, aOutline, aHole)
6951 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON
6952 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &
6954 return _pcbnew.SHAPE_POLY_SET_Polygon(self, *args)
6957 r"""TriangulatedPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::TRIANGULATED_POLYGON const *"""
6958 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolygon(self, aIndex)
6961 r"""COutline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN"""
6962 return _pcbnew.SHAPE_POLY_SET_COutline(self, aIndex)
6965 r"""CHole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6966 return _pcbnew.SHAPE_POLY_SET_CHole(self, aOutline, aHole)
6969 r"""CPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &"""
6970 return _pcbnew.SHAPE_POLY_SET_CPolygon(self, aIndex)
6973 r"""CPolygons(SHAPE_POLY_SET self) -> std::vector< SHAPE_POLY_SET::POLYGON,std::allocator< SHAPE_POLY_SET::POLYGON > > const &"""
6974 return _pcbnew.SHAPE_POLY_SET_CPolygons(self)
6978 Iterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::ITERATOR
6979 Iterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6980 Iterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR
6982 return _pcbnew.SHAPE_POLY_SET_Iterate(self, *args)
6986 IterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6989 return _pcbnew.SHAPE_POLY_SET_IterateWithHoles(self, *args)
6993 CIterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_ITERATOR
6994 CIterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
6995 CIterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR
6997 return _pcbnew.SHAPE_POLY_SET_CIterate(self, *args)
7001 CIterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
7004 return _pcbnew.SHAPE_POLY_SET_CIterateWithHoles(self, *args)
7007 r"""IterateFromVertexWithHoles(SHAPE_POLY_SET self, int aGlobalIdx) -> SHAPE_POLY_SET::ITERATOR"""
7008 return _pcbnew.SHAPE_POLY_SET_IterateFromVertexWithHoles(self, aGlobalIdx)
7012 IterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
7013 IterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
7014 IterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
7016 return _pcbnew.SHAPE_POLY_SET_IterateSegments(self, *args)
7020 CIterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
7021 CIterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
7022 CIterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
7024 return _pcbnew.SHAPE_POLY_SET_CIterateSegments(self, *args)
7031 return _pcbnew.SHAPE_POLY_SET_IterateSegmentsWithHoles(self, *args)
7038 return _pcbnew.SHAPE_POLY_SET_CIterateSegmentsWithHoles(self, *args)
7039 PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
7041 PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
7046 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7047 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7049 return _pcbnew.SHAPE_POLY_SET_BooleanAdd(self, *args)
7053 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7054 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7056 return _pcbnew.SHAPE_POLY_SET_BooleanSubtract(self, *args)
7060 BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7061 BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7063 return _pcbnew.SHAPE_POLY_SET_BooleanIntersection(self, *args)
7067 BooleanXor(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7068 BooleanXor(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
7070 return _pcbnew.SHAPE_POLY_SET_BooleanXor(self, *args)
7073 r"""RebuildHolesFromContours(SHAPE_POLY_SET self)"""
7074 return _pcbnew.SHAPE_POLY_SET_RebuildHolesFromContours(self)
7076 def Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify=False):
7077 r"""Inflate(SHAPE_POLY_SET self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, bool aSimplify=False)"""
7078 return _pcbnew.SHAPE_POLY_SET_Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify)
7080 def Deflate(self, aAmount, aCornerStrategy, aMaxError):
7081 r"""Deflate(SHAPE_POLY_SET self, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError)"""
7082 return _pcbnew.SHAPE_POLY_SET_Deflate(self, aAmount, aCornerStrategy, aMaxError)
7085 r"""OffsetLineChain(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aLine, int aAmount, CORNER_STRATEGY aCornerStrategy, int aMaxError, bool aSimplify)"""
7086 return _pcbnew.SHAPE_POLY_SET_OffsetLineChain(self, aLine, aAmount, aCornerStrategy, aMaxError, aSimplify)
7089 r"""InflateWithLinkedHoles(SHAPE_POLY_SET self, int aFactor, CORNER_STRATEGY aCornerStrategy, int aMaxError, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
7090 return _pcbnew.SHAPE_POLY_SET_InflateWithLinkedHoles(self, aFactor, aCornerStrategy, aMaxError, aFastMode)
7093 r"""Fracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
7094 return _pcbnew.SHAPE_POLY_SET_Fracture(self, aFastMode)
7097 r"""Unfracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
7098 return _pcbnew.SHAPE_POLY_SET_Unfracture(self, aFastMode)
7101 r"""HasHoles(SHAPE_POLY_SET self) -> bool"""
7102 return _pcbnew.SHAPE_POLY_SET_HasHoles(self)
7105 r"""HasTouchingHoles(SHAPE_POLY_SET self) -> bool"""
7106 return _pcbnew.SHAPE_POLY_SET_HasTouchingHoles(self)
7109 r"""Simplify(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
7110 return _pcbnew.SHAPE_POLY_SET_Simplify(self, aFastMode)
7113 r"""SimplifyOutlines(SHAPE_POLY_SET self, int aMaxError=0)"""
7114 return _pcbnew.SHAPE_POLY_SET_SimplifyOutlines(self, aMaxError)
7117 r"""NormalizeAreaOutlines(SHAPE_POLY_SET self) -> int"""
7118 return _pcbnew.SHAPE_POLY_SET_NormalizeAreaOutlines(self)
7121 r"""Format(SHAPE_POLY_SET self, bool aCplusPlus=True) -> string"""
7122 return _pcbnew.SHAPE_POLY_SET_Format(self, aCplusPlus)
7125 r"""Mirror(SHAPE_POLY_SET self, bool aX=True, bool aY=False, VECTOR2I aRef={ 0, 0 })"""
7126 return _pcbnew.SHAPE_POLY_SET_Mirror(self, *args)
7129 r"""Rotate(SHAPE_POLY_SET self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7130 return _pcbnew.SHAPE_POLY_SET_Rotate(self, *args)
7133 r"""BBox(SHAPE_POLY_SET self, int aClearance=0) -> BOX2I"""
7134 return _pcbnew.SHAPE_POLY_SET_BBox(self, aClearance)
7137 r"""PointOnEdge(SHAPE_POLY_SET self, VECTOR2I aP, int aAccuracy=0) -> bool"""
7138 return _pcbnew.SHAPE_POLY_SET_PointOnEdge(self, aP, aAccuracy)
7142 Collide(SHAPE_POLY_SET self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7143 Collide(SHAPE_POLY_SET self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7144 Collide(SHAPE_POLY_SET self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7146 return _pcbnew.SHAPE_POLY_SET_Collide(self, *args)
7149 r"""CollideVertex(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
7150 return _pcbnew.SHAPE_POLY_SET_CollideVertex(self, aPoint, aClosestVertex, aClearance)
7153 r"""CollideEdge(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
7154 return _pcbnew.SHAPE_POLY_SET_CollideEdge(self, aPoint, aClosestVertex, aClearance)
7157 r"""PointInside(SHAPE_POLY_SET self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
7158 return _pcbnew.SHAPE_POLY_SET_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
7161 r"""BuildBBoxCaches(SHAPE_POLY_SET self)"""
7162 return _pcbnew.SHAPE_POLY_SET_BuildBBoxCaches(self)
7165 r"""BBoxFromCaches(SHAPE_POLY_SET self) -> BOX2I"""
7166 return _pcbnew.SHAPE_POLY_SET_BBoxFromCaches(self)
7168 def Contains(self, aP, aSubpolyIndex=-1, aAccuracy=0, aUseBBoxCaches=False):
7169 r"""Contains(SHAPE_POLY_SET self, VECTOR2I aP, int aSubpolyIndex=-1, int aAccuracy=0, bool aUseBBoxCaches=False) -> bool"""
7170 return _pcbnew.SHAPE_POLY_SET_Contains(self, aP, aSubpolyIndex, aAccuracy, aUseBBoxCaches)
7173 r"""IsEmpty(SHAPE_POLY_SET self) -> bool"""
7174 return _pcbnew.SHAPE_POLY_SET_IsEmpty(self)
7179 RemoveVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices)
7181 return _pcbnew.SHAPE_POLY_SET_RemoveVertex(self, *args)
7184 r"""RemoveAllContours(SHAPE_POLY_SET self)"""
7185 return _pcbnew.SHAPE_POLY_SET_RemoveAllContours(self)
7188 r"""RemoveContour(SHAPE_POLY_SET self, int aContourIdx, int aPolygonIdx=-1)"""
7189 return _pcbnew.SHAPE_POLY_SET_RemoveContour(self, aContourIdx, aPolygonIdx)
7192 r"""RemoveNullSegments(SHAPE_POLY_SET self) -> int"""
7193 return _pcbnew.SHAPE_POLY_SET_RemoveNullSegments(self)
7197 SetVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX const & aIndex, VECTOR2I aPos)
7198 SetVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aPos)
7200 return _pcbnew.SHAPE_POLY_SET_SetVertex(self, *args)
7203 r"""TotalVertices(SHAPE_POLY_SET self) -> int"""
7204 return _pcbnew.SHAPE_POLY_SET_TotalVertices(self)
7207 r"""DeletePolygon(SHAPE_POLY_SET self, int aIdx)"""
7208 return _pcbnew.SHAPE_POLY_SET_DeletePolygon(self, aIdx)
7211 r"""DeletePolygonAndTriangulationData(SHAPE_POLY_SET self, int aIdx, bool aUpdateHash=True)"""
7212 return _pcbnew.SHAPE_POLY_SET_DeletePolygonAndTriangulationData(self, aIdx, aUpdateHash)
7215 r"""UpdateTriangulationDataHash(SHAPE_POLY_SET self)"""
7216 return _pcbnew.SHAPE_POLY_SET_UpdateTriangulationDataHash(self)
7219 r"""ChamferPolygon(SHAPE_POLY_SET self, unsigned int aDistance, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
7220 return _pcbnew.SHAPE_POLY_SET_ChamferPolygon(self, aDistance, aIndex)
7223 r"""FilletPolygon(SHAPE_POLY_SET self, unsigned int aRadius, int aErrorMax, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
7224 return _pcbnew.SHAPE_POLY_SET_FilletPolygon(self, aRadius, aErrorMax, aIndex)
7227 r"""Chamfer(SHAPE_POLY_SET self, int aDistance) -> SHAPE_POLY_SET"""
7228 return _pcbnew.SHAPE_POLY_SET_Chamfer(self, aDistance)
7231 r"""Fillet(SHAPE_POLY_SET self, int aRadius, int aErrorMax) -> SHAPE_POLY_SET"""
7232 return _pcbnew.SHAPE_POLY_SET_Fillet(self, aRadius, aErrorMax)
7239 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToPolygon(self, *args)
7243 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, bool aOutlineOnly, VECTOR2I aNearest) -> SEG::ecoord
7244 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, bool aOutlineOnly=False) -> SEG::ecoord
7246 return _pcbnew.SHAPE_POLY_SET_SquaredDistance(self, *args)
7249 r"""SquaredDistanceToSeg(SHAPE_POLY_SET self, SEG aSegment, VECTOR2I aNearest=None) -> SEG::ecoord"""
7250 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToSeg(self, aSegment, aNearest)
7253 r"""IsVertexInHole(SHAPE_POLY_SET self, int aGlobalIdx) -> bool"""
7254 return _pcbnew.SHAPE_POLY_SET_IsVertexInHole(self, aGlobalIdx)
7258 r"""BuildPolysetFromOrientedPaths(std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const & aPaths, bool aReverseOrientation=False, bool aEvenOdd=False) -> SHAPE_POLY_SET"""
7259 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation, aEvenOdd)
7262_pcbnew.SHAPE_POLY_SET_swigregister(SHAPE_POLY_SET)
7265 r"""SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const & aPaths, bool aReverseOrientation=False, bool aEvenOdd=False) -> SHAPE_POLY_SET"""
7266 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation, aEvenOdd)
7269 r"""Proxy of C++ SHAPE_RECT class."""
7271 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7272 __repr__ = _swig_repr
7276 __init__(SHAPE_RECT self) -> SHAPE_RECT
7277 __init__(SHAPE_RECT self, BOX2I aBox) -> SHAPE_RECT
7278 __init__(SHAPE_RECT self, int aX0, int aY0, int aW, int aH) -> SHAPE_RECT
7279 __init__(SHAPE_RECT self, VECTOR2I aP0, int aW, int aH) -> SHAPE_RECT
7280 __init__(SHAPE_RECT self, SHAPE_RECT aOther) -> SHAPE_RECT
7282 _pcbnew.SHAPE_RECT_swiginit(self, _pcbnew.new_SHAPE_RECT(*args))
7285 r"""BBox(SHAPE_RECT self, int aClearance=0) -> BOX2I"""
7286 return _pcbnew.SHAPE_RECT_BBox(self, aClearance)
7289 r"""Diagonal(SHAPE_RECT self) -> int"""
7290 return _pcbnew.SHAPE_RECT_Diagonal(self)
7294 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
7295 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7296 Collide(SHAPE_RECT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7298 return _pcbnew.SHAPE_RECT_Collide(self, *args)
7301 r"""GetPosition(SHAPE_RECT self) -> VECTOR2I"""
7302 return _pcbnew.SHAPE_RECT_GetPosition(self)
7305 r"""GetSize(SHAPE_RECT self) -> VECTOR2I"""
7306 return _pcbnew.SHAPE_RECT_GetSize(self)
7309 r"""GetWidth(SHAPE_RECT self) -> int"""
7310 return _pcbnew.SHAPE_RECT_GetWidth(self)
7313 r"""GetHeight(SHAPE_RECT self) -> int"""
7314 return _pcbnew.SHAPE_RECT_GetHeight(self)
7317 r"""Rotate(SHAPE_RECT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7318 return _pcbnew.SHAPE_RECT_Rotate(self, *args)
7321 r"""Outline(SHAPE_RECT self) -> SHAPE_LINE_CHAIN"""
7322 return _pcbnew.SHAPE_RECT_Outline(self)
7325 r"""Format(SHAPE_RECT self, bool aCplusPlus=True) -> string"""
7326 return _pcbnew.SHAPE_RECT_Format(self, aCplusPlus)
7327 __swig_destroy__ = _pcbnew.delete_SHAPE_RECT
7330_pcbnew.SHAPE_RECT_swigregister(SHAPE_RECT)
7333 r"""Proxy of C++ SHAPE_SEGMENT class."""
7335 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7336 __repr__ = _swig_repr
7340 __init__(SHAPE_SEGMENT self) -> SHAPE_SEGMENT
7341 __init__(SHAPE_SEGMENT self, VECTOR2I aA, VECTOR2I aB, int aWidth=0) -> SHAPE_SEGMENT
7342 __init__(SHAPE_SEGMENT self, SEG aSeg, int aWidth=0) -> SHAPE_SEGMENT
7344 _pcbnew.SHAPE_SEGMENT_swiginit(self, _pcbnew.new_SHAPE_SEGMENT(*args))
7345 __swig_destroy__ = _pcbnew.delete_SHAPE_SEGMENT
7348 r"""BBox(SHAPE_SEGMENT self, int aClearance=0) -> BOX2I"""
7349 return _pcbnew.SHAPE_SEGMENT_BBox(self, aClearance)
7353 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
7354 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7355 Collide(SHAPE_SEGMENT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7356 Collide(SHAPE_SEGMENT self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7358 return _pcbnew.SHAPE_SEGMENT_Collide(self, *args)
7361 r"""SetSeg(SHAPE_SEGMENT self, SEG aSeg)"""
7362 return _pcbnew.SHAPE_SEGMENT_SetSeg(self, aSeg)
7365 r"""GetSeg(SHAPE_SEGMENT self) -> SEG"""
7366 return _pcbnew.SHAPE_SEGMENT_GetSeg(self)
7369 r"""SetWidth(SHAPE_SEGMENT self, int aWidth)"""
7370 return _pcbnew.SHAPE_SEGMENT_SetWidth(self, aWidth)
7373 r"""GetWidth(SHAPE_SEGMENT self) -> int"""
7374 return _pcbnew.SHAPE_SEGMENT_GetWidth(self)
7377 r"""Rotate(SHAPE_SEGMENT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7378 return _pcbnew.SHAPE_SEGMENT_Rotate(self, *args)
7381 r"""Is45Degree(SHAPE_SEGMENT self, EDA_ANGLE aTollerance=EDA_ANGLE( 1.0, DEGREES_T )) -> bool"""
7382 return _pcbnew.SHAPE_SEGMENT_Is45Degree(self, *args)
7385 r"""Format(SHAPE_SEGMENT self, bool aCplusPlus=True) -> string"""
7386 return _pcbnew.SHAPE_SEGMENT_Format(self, aCplusPlus)
7389_pcbnew.SHAPE_SEGMENT_swigregister(SHAPE_SEGMENT)
7392 r"""Proxy of C++ SHAPE_SIMPLE class."""
7394 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7395 __repr__ = _swig_repr
7399 __init__(SHAPE_SIMPLE self) -> SHAPE_SIMPLE
7400 __init__(SHAPE_SIMPLE self, SHAPE_LINE_CHAIN aPoly) -> SHAPE_SIMPLE
7401 __init__(SHAPE_SIMPLE self, SHAPE_SIMPLE aOther) -> SHAPE_SIMPLE
7403 _pcbnew.SHAPE_SIMPLE_swiginit(self, _pcbnew.new_SHAPE_SIMPLE(*args))
7406 r"""Clear(SHAPE_SIMPLE self)"""
7407 return _pcbnew.SHAPE_SIMPLE_Clear(self)
7410 r"""BBox(SHAPE_SIMPLE self, int aClearance=0) -> BOX2I"""
7411 return _pcbnew.SHAPE_SIMPLE_BBox(self, aClearance)
7414 r"""PointCount(SHAPE_SIMPLE self) -> int"""
7415 return _pcbnew.SHAPE_SIMPLE_PointCount(self)
7418 r"""CPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2I"""
7419 return _pcbnew.SHAPE_SIMPLE_CPoint(self, aIndex)
7422 r"""CDPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2D const"""
7423 return _pcbnew.SHAPE_SIMPLE_CDPoint(self, aIndex)
7426 r"""Vertices(SHAPE_SIMPLE self) -> SHAPE_LINE_CHAIN"""
7427 return _pcbnew.SHAPE_SIMPLE_Vertices(self)
7431 Append(SHAPE_SIMPLE self, int aX, int aY)
7432 Append(SHAPE_SIMPLE self, VECTOR2I aP)
7434 return _pcbnew.SHAPE_SIMPLE_Append(self, *args)
7436 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
7437 r"""Collide(SHAPE_SIMPLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
7438 return _pcbnew.SHAPE_SIMPLE_Collide(self, aSeg, aClearance, aActual, aLocation)
7441 r"""Rotate(SHAPE_SIMPLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7442 return _pcbnew.SHAPE_SIMPLE_Rotate(self, *args)
7443 __swig_destroy__ = _pcbnew.delete_SHAPE_SIMPLE
7446_pcbnew.SHAPE_SIMPLE_swigregister(SHAPE_SIMPLE)
7449 r"""Proxy of C++ std::vector< std::shared_ptr< SHAPE > > class."""
7451 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7452 __repr__ = _swig_repr
7455 r"""iterator(VECTOR_SHAPEPTR self) -> SwigPyIterator"""
7456 return _pcbnew.VECTOR_SHAPEPTR_iterator(self)
7461 r"""__nonzero__(VECTOR_SHAPEPTR self) -> bool"""
7462 return _pcbnew.VECTOR_SHAPEPTR___nonzero__(self)
7465 r"""__bool__(VECTOR_SHAPEPTR self) -> bool"""
7466 return _pcbnew.VECTOR_SHAPEPTR___bool__(self)
7469 r"""__len__(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7470 return _pcbnew.VECTOR_SHAPEPTR___len__(self)
7473 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"""
7474 return _pcbnew.VECTOR_SHAPEPTR___getslice__(self, i, j)
7478 __setslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)
7479 __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)
7481 return _pcbnew.VECTOR_SHAPEPTR___setslice__(self, *args)
7484 r"""__delslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)"""
7485 return _pcbnew.VECTOR_SHAPEPTR___delslice__(self, i, j)
7489 __delitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i)
7490 __delitem__(VECTOR_SHAPEPTR self, PySliceObject * slice)
7492 return _pcbnew.VECTOR_SHAPEPTR___delitem__(self, *args)
7496 __getitem__(VECTOR_SHAPEPTR self, PySliceObject * slice) -> VECTOR_SHAPEPTR
7497 __getitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &
7499 return _pcbnew.VECTOR_SHAPEPTR___getitem__(self, *args)
7503 __setitem__(VECTOR_SHAPEPTR self, PySliceObject * slice, VECTOR_SHAPEPTR v)
7504 __setitem__(VECTOR_SHAPEPTR self, PySliceObject * slice)
7505 __setitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7507 return _pcbnew.VECTOR_SHAPEPTR___setitem__(self, *args)
7510 r"""pop(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type"""
7511 return _pcbnew.VECTOR_SHAPEPTR_pop(self)
7514 r"""append(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7515 return _pcbnew.VECTOR_SHAPEPTR_append(self, x)
7518 r"""empty(VECTOR_SHAPEPTR self) -> bool"""
7519 return _pcbnew.VECTOR_SHAPEPTR_empty(self)
7522 r"""size(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7523 return _pcbnew.VECTOR_SHAPEPTR_size(self)
7526 r"""swap(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR v)"""
7527 return _pcbnew.VECTOR_SHAPEPTR_swap(self, v)
7530 r"""begin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7531 return _pcbnew.VECTOR_SHAPEPTR_begin(self)
7534 r"""end(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7535 return _pcbnew.VECTOR_SHAPEPTR_end(self)
7538 r"""rbegin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7539 return _pcbnew.VECTOR_SHAPEPTR_rbegin(self)
7542 r"""rend(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7543 return _pcbnew.VECTOR_SHAPEPTR_rend(self)
7546 r"""clear(VECTOR_SHAPEPTR self)"""
7547 return _pcbnew.VECTOR_SHAPEPTR_clear(self)
7550 r"""get_allocator(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::allocator_type"""
7551 return _pcbnew.VECTOR_SHAPEPTR_get_allocator(self)
7554 r"""pop_back(VECTOR_SHAPEPTR self)"""
7555 return _pcbnew.VECTOR_SHAPEPTR_pop_back(self)
7559 erase(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos) -> std::vector< std::shared_ptr< SHAPE > >::iterator
7560 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
7562 return _pcbnew.VECTOR_SHAPEPTR_erase(self, *args)
7566 __init__(VECTOR_SHAPEPTR self) -> VECTOR_SHAPEPTR
7567 __init__(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR other) -> VECTOR_SHAPEPTR
7568 __init__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type size) -> VECTOR_SHAPEPTR
7569 __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
7571 _pcbnew.VECTOR_SHAPEPTR_swiginit(self, _pcbnew.new_VECTOR_SHAPEPTR(*args))
7574 r"""push_back(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7575 return _pcbnew.VECTOR_SHAPEPTR_push_back(self, x)
7578 r"""front(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7579 return _pcbnew.VECTOR_SHAPEPTR_front(self)
7582 r"""back(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7583 return _pcbnew.VECTOR_SHAPEPTR_back(self)
7586 r"""assign(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7587 return _pcbnew.VECTOR_SHAPEPTR_assign(self, n, x)
7591 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size)
7592 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7594 return _pcbnew.VECTOR_SHAPEPTR_resize(self, *args)
7598 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
7599 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)
7601 return _pcbnew.VECTOR_SHAPEPTR_insert(self, *args)
7604 r"""reserve(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n)"""
7605 return _pcbnew.VECTOR_SHAPEPTR_reserve(self, n)
7608 r"""capacity(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7609 return _pcbnew.VECTOR_SHAPEPTR_capacity(self)
7617 except StopIteration:
7620 __swig_destroy__ = _pcbnew.delete_VECTOR_SHAPEPTR
7623_pcbnew.VECTOR_SHAPEPTR_swigregister(VECTOR_SHAPEPTR)
7627 r"""Cast_to_SHAPE_ARC(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_ARC >"""
7628 return _pcbnew.Cast_to_SHAPE_ARC(_self)
7631 r"""Cast_to_SHAPE_CIRCLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_CIRCLE >"""
7632 return _pcbnew.Cast_to_SHAPE_CIRCLE(_self)
7635 r"""Cast_to_SHAPE_COMPOUND(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_COMPOUND >"""
7636 return _pcbnew.Cast_to_SHAPE_COMPOUND(_self)
7639 r"""Cast_to_SHAPE_LINE_CHAIN(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_LINE_CHAIN >"""
7640 return _pcbnew.Cast_to_SHAPE_LINE_CHAIN(_self)
7643 r"""Cast_to_SHAPE_POLY_SET(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_POLY_SET >"""
7644 return _pcbnew.Cast_to_SHAPE_POLY_SET(_self)
7647 r"""Cast_to_SHAPE_RECT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_RECT >"""
7648 return _pcbnew.Cast_to_SHAPE_RECT(_self)
7651 r"""Cast_to_SHAPE_SEGMENT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SEGMENT >"""
7652 return _pcbnew.Cast_to_SHAPE_SEGMENT(_self)
7655 r"""Cast_to_SHAPE_SIMPLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SIMPLE >"""
7656 return _pcbnew.Cast_to_SHAPE_SIMPLE(_self)
7659 r"""IsUTF8(char const * aString) -> bool"""
7660 return _pcbnew.IsUTF8(aString)
7662 r"""Proxy of C++ UTF8 class."""
7664 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7665 __repr__ = _swig_repr
7669 __init__(UTF8 self, wxString o) -> UTF8
7670 __init__(UTF8 self, char const * txt) -> UTF8
7671 __init__(UTF8 self, wchar_t const * txt) -> UTF8
7672 __init__(UTF8 self, string o) -> UTF8
7675 _pcbnew.UTF8_swiginit(self, _pcbnew.new_UTF8(*args))
7676 __swig_destroy__ = _pcbnew.delete_UTF8
7679 r"""c_str(UTF8 self) -> char const *"""
7680 return _pcbnew.UTF8_c_str(self)
7683 r"""empty(UTF8 self) -> bool"""
7684 return _pcbnew.UTF8_empty(self)
7688 find(UTF8 self, char c) -> std::string::size_type
7689 find(UTF8 self, char c, size_t s) -> std::string::size_type
7691 return _pcbnew.UTF8_find(self, *args)
7694 r"""clear(UTF8 self)"""
7695 return _pcbnew.UTF8_clear(self)
7698 r"""length(UTF8 self) -> std::string::size_type"""
7699 return _pcbnew.UTF8_length(self)
7702 r"""size(UTF8 self) -> std::string::size_type"""
7703 return _pcbnew.UTF8_size(self)
7706 r"""compare(UTF8 self, string s) -> int"""
7707 return _pcbnew.UTF8_compare(self, s)
7711 __eq__(UTF8 self, UTF8 rhs) -> bool
7712 __eq__(UTF8 self, string rhs) -> bool
7713 __eq__(UTF8 self, char const * s) -> bool
7715 return _pcbnew.UTF8___eq__(self, *args)
7718 r"""find_first_of(UTF8 self, string str, std::string::size_type pos=0) -> std::string::size_type"""
7719 return _pcbnew.UTF8_find_first_of(self, str, pos)
7723 __iadd__(UTF8 self, UTF8 str) -> UTF8
7724 __iadd__(UTF8 self, char ch) -> UTF8
7725 __iadd__(UTF8 self, char const * s) -> UTF8
7726 __iadd__(UTF8 self, unsigned int w_ch) -> UTF8
7728 return _pcbnew.UTF8___iadd__(self, *args)
7729 npos = _pcbnew.UTF8_npos
7733 r"""substr(UTF8 self, size_t pos=0, size_t len=npos) -> string"""
7734 return _pcbnew.UTF8_substr(self, *args)
7737 r"""utf8_to_string(UTF8 self) -> string"""
7738 return _pcbnew.UTF8_utf8_to_string(self)
7741 r"""wx_str(UTF8 self) -> wxString"""
7742 return _pcbnew.UTF8_wx_str(self)
7745 r"""utf8_to_wxstring(UTF8 self) -> wxString"""
7746 return _pcbnew.UTF8_utf8_to_wxstring(self)
7749 r"""begin(UTF8 self) -> std::string::const_iterator"""
7750 return _pcbnew.UTF8_begin(self)
7753 r"""end(UTF8 self) -> std::string::const_iterator"""
7754 return _pcbnew.UTF8_end(self)
7757 r"""Cast_to_CChar(UTF8 self) -> char const *"""
7758 return _pcbnew.UTF8_Cast_to_CChar(self)
7773_pcbnew.UTF8_swigregister(UTF8)
7776 r"""Proxy of C++ LIB_ID class."""
7778 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7779 __repr__ = _swig_repr
7784 __init__(LIB_ID self, wxString aLibraryName, wxString aItemName) -> LIB_ID
7786 _pcbnew.LIB_ID_swiginit(self, _pcbnew.new_LIB_ID(*args))
7789 r"""Parse(LIB_ID self, UTF8 aId, bool aFix=False) -> int"""
7790 return _pcbnew.LIB_ID_Parse(self, aId, aFix)
7793 r"""GetLibNickname(LIB_ID self) -> UTF8"""
7794 return _pcbnew.LIB_ID_GetLibNickname(self)
7797 r"""GetUniStringLibNickname(LIB_ID self) -> wxString"""
7798 return _pcbnew.LIB_ID_GetUniStringLibNickname(self)
7801 r"""SetLibNickname(LIB_ID self, UTF8 aLibNickname) -> int"""
7802 return _pcbnew.LIB_ID_SetLibNickname(self, aLibNickname)
7805 r"""GetLibItemName(LIB_ID self) -> UTF8"""
7806 return _pcbnew.LIB_ID_GetLibItemName(self)
7809 r"""GetUniStringLibItemName(LIB_ID self) -> wxString"""
7810 return _pcbnew.LIB_ID_GetUniStringLibItemName(self)
7813 r"""SetLibItemName(LIB_ID self, UTF8 aLibItemName) -> int"""
7814 return _pcbnew.LIB_ID_SetLibItemName(self, aLibItemName)
7817 r"""GetSubLibraryName(LIB_ID self) -> UTF8"""
7818 return _pcbnew.LIB_ID_GetSubLibraryName(self)
7821 r"""SetSubLibraryName(LIB_ID self, UTF8 aName)"""
7822 return _pcbnew.LIB_ID_SetSubLibraryName(self, aName)
7825 r"""GetUniStringSubLibraryName(LIB_ID self) -> wxString"""
7826 return _pcbnew.LIB_ID_GetUniStringSubLibraryName(self)
7829 r"""GetFullLibraryName(LIB_ID self) -> wxString"""
7830 return _pcbnew.LIB_ID_GetFullLibraryName(self)
7833 r"""GetUniStringLibId(LIB_ID self) -> wxString"""
7834 return _pcbnew.LIB_ID_GetUniStringLibId(self)
7840 Format(UTF8 aLibraryName, UTF8 aLibItemName) -> UTF8
7842 return _pcbnew.LIB_ID_Format(*args)
7845 r"""IsValid(LIB_ID self) -> bool"""
7846 return _pcbnew.LIB_ID_IsValid(self)
7849 r"""IsLegacy(LIB_ID self) -> bool"""
7850 return _pcbnew.LIB_ID_IsLegacy(self)
7853 r"""clear(LIB_ID self)"""
7854 return _pcbnew.LIB_ID_clear(self)
7857 r"""empty(LIB_ID self) -> bool"""
7858 return _pcbnew.LIB_ID_empty(self)
7861 r"""compare(LIB_ID self, LIB_ID aLibId) -> int"""
7862 return _pcbnew.LIB_ID_compare(self, aLibId)
7865 r"""__lt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7866 return _pcbnew.LIB_ID___lt__(self, aLibId)
7869 r"""__gt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7870 return _pcbnew.LIB_ID___gt__(self, aLibId)
7873 r"""__eq__(LIB_ID self, LIB_ID aLibId) -> bool"""
7874 return _pcbnew.LIB_ID___eq__(self, aLibId)
7877 r"""__ne__(LIB_ID self, LIB_ID aLibId) -> bool"""
7878 return _pcbnew.LIB_ID___ne__(self, aLibId)
7882 r"""HasIllegalChars(UTF8 aLibItemName) -> int"""
7883 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
7887 r"""FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
7888 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
7892 r"""FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
7893 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
7894 __swig_destroy__ = _pcbnew.delete_LIB_ID
7897_pcbnew.LIB_ID_swigregister(LIB_ID)
7904 return _pcbnew.LIB_ID_Format(*args)
7907 r"""LIB_ID_HasIllegalChars(UTF8 aLibItemName) -> int"""
7908 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
7911 r"""LIB_ID_FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
7912 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
7915 r"""LIB_ID_FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
7916 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
7919 r"""Proxy of C++ BASE_SET class."""
7921 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7924 raise AttributeError(
"No constructor defined")
7925 __repr__ = _swig_repr
7926 __swig_destroy__ = _pcbnew.delete_BASE_SET
7929_pcbnew.BASE_SET_swigregister(BASE_SET)
7932 r"""Proxy of C++ PCB_IO_MGR class."""
7934 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7935 __repr__ = _swig_repr
7936 PCB_FILE_UNKNOWN = _pcbnew.PCB_IO_MGR_PCB_FILE_UNKNOWN
7938 KICAD_SEXP = _pcbnew.PCB_IO_MGR_KICAD_SEXP
7940 LEGACY = _pcbnew.PCB_IO_MGR_LEGACY
7942 ALTIUM_CIRCUIT_MAKER = _pcbnew.PCB_IO_MGR_ALTIUM_CIRCUIT_MAKER
7944 ALTIUM_CIRCUIT_STUDIO = _pcbnew.PCB_IO_MGR_ALTIUM_CIRCUIT_STUDIO
7946 ALTIUM_DESIGNER = _pcbnew.PCB_IO_MGR_ALTIUM_DESIGNER
7948 CADSTAR_PCB_ARCHIVE = _pcbnew.PCB_IO_MGR_CADSTAR_PCB_ARCHIVE
7950 EAGLE = _pcbnew.PCB_IO_MGR_EAGLE
7952 EASYEDA = _pcbnew.PCB_IO_MGR_EASYEDA
7954 EASYEDAPRO = _pcbnew.PCB_IO_MGR_EASYEDAPRO
7956 FABMASTER = _pcbnew.PCB_IO_MGR_FABMASTER
7958 GEDA_PCB = _pcbnew.PCB_IO_MGR_GEDA_PCB
7960 PCAD = _pcbnew.PCB_IO_MGR_PCAD
7962 SOLIDWORKS_PCB = _pcbnew.PCB_IO_MGR_SOLIDWORKS_PCB
7964 IPC2581 = _pcbnew.PCB_IO_MGR_IPC2581
7966 FILE_TYPE_NONE = _pcbnew.PCB_IO_MGR_FILE_TYPE_NONE
7971 r"""PluginFind(PCB_IO_MGR::PCB_FILE_T aFileType) -> PCB_IO"""
7972 return _pcbnew.PCB_IO_MGR_PluginFind(aFileType)
7976 r"""ShowType(PCB_IO_MGR::PCB_FILE_T aFileType) -> wxString"""
7977 return _pcbnew.PCB_IO_MGR_ShowType(aFileType)
7981 r"""EnumFromStr(wxString aFileType) -> PCB_IO_MGR::PCB_FILE_T"""
7982 return _pcbnew.PCB_IO_MGR_EnumFromStr(aFileType)
7986 r"""FindPluginTypeFromBoardPath(wxString aFileName, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
7987 return _pcbnew.PCB_IO_MGR_FindPluginTypeFromBoardPath(aFileName, aCtl)
7991 r"""GuessPluginTypeFromLibPath(wxString aLibPath, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
7992 return _pcbnew.PCB_IO_MGR_GuessPluginTypeFromLibPath(aLibPath, aCtl)
7995 def Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None):
7996 r"""Load(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aAppendToMe=None, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
7997 return _pcbnew.PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
8000 def Save(aFileType, aFileName, aBoard, aProperties=None):
8001 r"""Save(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
8002 return _pcbnew.PCB_IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
8006 r"""ConvertLibrary(STRING_UTF8_MAP * aOldFileProps, wxString aOldFilePath, wxString aNewFilePath) -> bool"""
8007 return _pcbnew.PCB_IO_MGR_ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath)
8010 r"""__init__(PCB_IO_MGR self) -> PCB_IO_MGR"""
8011 _pcbnew.PCB_IO_MGR_swiginit(self, _pcbnew.new_PCB_IO_MGR())
8012 __swig_destroy__ = _pcbnew.delete_PCB_IO_MGR
8015_pcbnew.PCB_IO_MGR_swigregister(PCB_IO_MGR)
8018 r"""PCB_IO_MGR_PluginFind(PCB_IO_MGR::PCB_FILE_T aFileType) -> PCB_IO"""
8019 return _pcbnew.PCB_IO_MGR_PluginFind(aFileType)
8022 r"""PCB_IO_MGR_ShowType(PCB_IO_MGR::PCB_FILE_T aFileType) -> wxString"""
8023 return _pcbnew.PCB_IO_MGR_ShowType(aFileType)
8026 r"""PCB_IO_MGR_EnumFromStr(wxString aFileType) -> PCB_IO_MGR::PCB_FILE_T"""
8027 return _pcbnew.PCB_IO_MGR_EnumFromStr(aFileType)
8030 r"""PCB_IO_MGR_FindPluginTypeFromBoardPath(wxString aFileName, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
8031 return _pcbnew.PCB_IO_MGR_FindPluginTypeFromBoardPath(aFileName, aCtl)
8034 r"""PCB_IO_MGR_GuessPluginTypeFromLibPath(wxString aLibPath, int aCtl=0) -> PCB_IO_MGR::PCB_FILE_T"""
8035 return _pcbnew.PCB_IO_MGR_GuessPluginTypeFromLibPath(aLibPath, aCtl)
8037def PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None):
8038 r"""PCB_IO_MGR_Load(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aAppendToMe=None, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
8039 return _pcbnew.PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
8042 r"""PCB_IO_MGR_Save(PCB_IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
8043 return _pcbnew.PCB_IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
8046 r"""PCB_IO_MGR_ConvertLibrary(STRING_UTF8_MAP * aOldFileProps, wxString aOldFilePath, wxString aNewFilePath) -> bool"""
8047 return _pcbnew.PCB_IO_MGR_ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath)
8050 r"""Proxy of C++ PCB_IO class."""
8052 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8055 raise AttributeError(
"No constructor defined - class is abstract")
8056 __repr__ = _swig_repr
8059 r"""GetBoardFileDesc(PCB_IO self) -> IO_BASE::IO_FILE_DESC const"""
8060 return _pcbnew.PCB_IO_GetBoardFileDesc(self)
8063 r"""CanReadBoard(PCB_IO self, wxString aFileName) -> bool"""
8064 return _pcbnew.PCB_IO_CanReadBoard(self, aFileName)
8067 r"""CanReadFootprint(PCB_IO self, wxString aFileName) -> bool"""
8068 return _pcbnew.PCB_IO_CanReadFootprint(self, aFileName)
8071 r"""SetQueryUserCallback(PCB_IO self, std::function< bool (wxString,int,wxString,wxString) > aCallback)"""
8072 return _pcbnew.PCB_IO_SetQueryUserCallback(self, aCallback)
8074 def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None):
8075 r"""LoadBoard(PCB_IO self, wxString aFileName, BOARD aAppendToMe, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None) -> BOARD"""
8076 return _pcbnew.PCB_IO_LoadBoard(self, aFileName, aAppendToMe, aProperties, aProject)
8079 r"""GetImportedCachedLibraryFootprints(PCB_IO self) -> std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >"""
8080 return _pcbnew.PCB_IO_GetImportedCachedLibraryFootprints(self)
8083 r"""SaveBoard(PCB_IO self, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
8084 return _pcbnew.PCB_IO_SaveBoard(self, aFileName, aBoard, aProperties)
8087 r"""FootprintEnumerate(PCB_IO self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, STRING_UTF8_MAP const * aProperties=None)"""
8088 return _pcbnew.PCB_IO_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
8091 r"""GetLibraryTimestamp(PCB_IO self, wxString aLibraryPath) -> long long"""
8092 return _pcbnew.PCB_IO_GetLibraryTimestamp(self, aLibraryPath)
8095 r"""PrefetchLib(PCB_IO self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None)"""
8096 return _pcbnew.PCB_IO_PrefetchLib(self, aLibraryPath, aProperties)
8099 r"""ImportFootprint(PCB_IO self, wxString aFootprintPath, wxString aFootprintNameOut, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8100 return _pcbnew.PCB_IO_ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties)
8102 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
8103 r"""FootprintLoad(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8104 return _pcbnew.PCB_IO_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
8107 r"""GetEnumeratedFootprint(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8108 return _pcbnew.PCB_IO_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
8111 r"""FootprintExists(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> bool"""
8112 return _pcbnew.PCB_IO_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
8115 r"""FootprintSave(PCB_IO self, wxString aLibraryPath, FOOTPRINT aFootprint, STRING_UTF8_MAP const * aProperties=None)"""
8116 return _pcbnew.PCB_IO_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
8119 r"""FootprintDelete(PCB_IO self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None)"""
8120 return _pcbnew.PCB_IO_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
8123 r"""GetLibraryOptions(PCB_IO self, STRING_UTF8_MAP * aListToAppendTo)"""
8124 return _pcbnew.PCB_IO_GetLibraryOptions(self, aListToAppendTo)
8125 __swig_destroy__ = _pcbnew.delete_PCB_IO
8128 r"""footprintPyEnumerate(PCB_IO self, wxString aLibraryPath, bool aExitOnError) -> wxArrayString"""
8129 return _pcbnew.PCB_IO_footprintPyEnumerate(self, aLibraryPath, aExitOnError)
8136 self.CreateLibrary(aLibraryPath, aProperties)
8140 return self.DeleteLibrary(aLibraryPath, aProperties)
8144 return self.IsLibraryWritable(aLibraryPath)
8148_pcbnew.PCB_IO_swigregister(PCB_IO)
8150SEXPR_BOARD_FILE_VERSION = _pcbnew.SEXPR_BOARD_FILE_VERSION
8152BOARD_FILE_HOST_VERSION = _pcbnew.BOARD_FILE_HOST_VERSION
8154LEGACY_ARC_FORMATTING = _pcbnew.LEGACY_ARC_FORMATTING
8156LEGACY_NET_TIES = _pcbnew.LEGACY_NET_TIES
8158FIRST_NORMALIZED_VERISON = _pcbnew.FIRST_NORMALIZED_VERISON
8161 r"""Proxy of C++ FP_CACHE_ITEM class."""
8163 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8164 __repr__ = _swig_repr
8167 r"""__init__(FP_CACHE_ITEM self, FOOTPRINT aFootprint, WX_FILENAME const & aFileName) -> FP_CACHE_ITEM"""
8168 _pcbnew.FP_CACHE_ITEM_swiginit(self, _pcbnew.new_FP_CACHE_ITEM(aFootprint, aFileName))
8171 r"""GetFileName(FP_CACHE_ITEM self) -> WX_FILENAME const &"""
8172 return _pcbnew.FP_CACHE_ITEM_GetFileName(self)
8175 r"""SetFilePath(FP_CACHE_ITEM self, wxString aFilePath)"""
8176 return _pcbnew.FP_CACHE_ITEM_SetFilePath(self, aFilePath)
8179 r"""GetFootprint(FP_CACHE_ITEM self) -> FOOTPRINT"""
8180 return _pcbnew.FP_CACHE_ITEM_GetFootprint(self)
8181 __swig_destroy__ = _pcbnew.delete_FP_CACHE_ITEM
8184_pcbnew.FP_CACHE_ITEM_swigregister(FP_CACHE_ITEM)
8187 r"""Proxy of C++ FP_CACHE class."""
8189 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8190 __repr__ = _swig_repr
8193 r"""__init__(FP_CACHE self, PCB_IO_KICAD_SEXPR aOwner, wxString aLibraryPath) -> FP_CACHE"""
8194 _pcbnew.FP_CACHE_swiginit(self, _pcbnew.new_FP_CACHE(aOwner, aLibraryPath))
8197 r"""GetPath(FP_CACHE self) -> wxString"""
8198 return _pcbnew.FP_CACHE_GetPath(self)
8201 r"""IsWritable(FP_CACHE self) -> bool"""
8202 return _pcbnew.FP_CACHE_IsWritable(self)
8205 r"""Exists(FP_CACHE self) -> bool"""
8206 return _pcbnew.FP_CACHE_Exists(self)
8209 r"""GetFootprints(FP_CACHE self) -> FP_CACHE_FOOTPRINT_MAP &"""
8210 return _pcbnew.FP_CACHE_GetFootprints(self)
8213 r"""Save(FP_CACHE self, FOOTPRINT aFootprint=None)"""
8214 return _pcbnew.FP_CACHE_Save(self, aFootprint)
8217 r"""Load(FP_CACHE self)"""
8218 return _pcbnew.FP_CACHE_Load(self)
8221 r"""Remove(FP_CACHE self, wxString aFootprintName)"""
8222 return _pcbnew.FP_CACHE_Remove(self, aFootprintName)
8226 r"""GetTimestamp(wxString aLibPath) -> long long"""
8227 return _pcbnew.FP_CACHE_GetTimestamp(aLibPath)
8230 r"""IsModified(FP_CACHE self) -> bool"""
8231 return _pcbnew.FP_CACHE_IsModified(self)
8234 r"""IsPath(FP_CACHE self, wxString aPath) -> bool"""
8235 return _pcbnew.FP_CACHE_IsPath(self, aPath)
8238 r"""SetPath(FP_CACHE self, wxString aPath)"""
8239 return _pcbnew.FP_CACHE_SetPath(self, aPath)
8240 __swig_destroy__ = _pcbnew.delete_FP_CACHE
8243_pcbnew.FP_CACHE_swigregister(FP_CACHE)
8246 r"""FP_CACHE_GetTimestamp(wxString aLibPath) -> long long"""
8247 return _pcbnew.FP_CACHE_GetTimestamp(aLibPath)
8250 r"""Proxy of C++ PCB_IO_KICAD_SEXPR class."""
8252 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8253 __repr__ = _swig_repr
8256 r"""GetLibraryFileDesc(PCB_IO_KICAD_SEXPR self) -> IO_BASE::IO_FILE_DESC const"""
8257 return _pcbnew.PCB_IO_KICAD_SEXPR_GetLibraryFileDesc(self)
8260 r"""GetLibraryDesc(PCB_IO_KICAD_SEXPR self) -> IO_BASE::IO_FILE_DESC const"""
8261 return _pcbnew.PCB_IO_KICAD_SEXPR_GetLibraryDesc(self)
8264 r"""SaveBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
8265 return _pcbnew.PCB_IO_KICAD_SEXPR_SaveBoard(self, aFileName, aBoard, aProperties)
8267 def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None):
8268 r"""LoadBoard(PCB_IO_KICAD_SEXPR self, wxString aFileName, BOARD aAppendToMe, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None) -> BOARD"""
8269 return _pcbnew.PCB_IO_KICAD_SEXPR_LoadBoard(self, aFileName, aAppendToMe, aProperties, aProject)
8271 def DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount):
8272 r"""DoLoad(PCB_IO_KICAD_SEXPR self, LINE_READER aReader, BOARD aAppendToMe, STRING_UTF8_MAP const * aProperties, PROGRESS_REPORTER * aProgressReporter, unsigned int aLineCount) -> BOARD"""
8273 return _pcbnew.PCB_IO_KICAD_SEXPR_DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount)
8276 r"""FootprintEnumerate(PCB_IO_KICAD_SEXPR self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, STRING_UTF8_MAP const * aProperties=None)"""
8277 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
8280 r"""GetEnumeratedFootprint(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8281 return _pcbnew.PCB_IO_KICAD_SEXPR_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
8284 r"""FootprintExists(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> bool"""
8285 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
8288 r"""ImportFootprint(PCB_IO_KICAD_SEXPR self, wxString aFootprintPath, wxString aFootprintNameOut, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8289 return _pcbnew.PCB_IO_KICAD_SEXPR_ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties)
8291 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
8292 r"""FootprintLoad(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8293 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
8296 r"""FootprintSave(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, FOOTPRINT aFootprint, STRING_UTF8_MAP const * aProperties=None)"""
8297 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
8300 r"""FootprintDelete(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None)"""
8301 return _pcbnew.PCB_IO_KICAD_SEXPR_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
8304 r"""CreateLibrary(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None)"""
8305 return _pcbnew.PCB_IO_KICAD_SEXPR_CreateLibrary(self, aLibraryPath, aProperties)
8308 r"""DeleteLibrary(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None) -> bool"""
8309 return _pcbnew.PCB_IO_KICAD_SEXPR_DeleteLibrary(self, aLibraryPath, aProperties)
8312 r"""IsLibraryWritable(PCB_IO_KICAD_SEXPR self, wxString aLibraryPath) -> bool"""
8313 return _pcbnew.PCB_IO_KICAD_SEXPR_IsLibraryWritable(self, aLibraryPath)
8316 r"""__init__(PCB_IO_KICAD_SEXPR self, int aControlFlags=(CTL_OMIT_INITIAL_COMMENTS|CTL_OMIT_FOOTPRINT_VERSION)) -> PCB_IO_KICAD_SEXPR"""
8317 _pcbnew.PCB_IO_KICAD_SEXPR_swiginit(self, _pcbnew.new_PCB_IO_KICAD_SEXPR(*args))
8318 __swig_destroy__ = _pcbnew.delete_PCB_IO_KICAD_SEXPR
8321 r"""Format(PCB_IO_KICAD_SEXPR self, BOARD_ITEM aItem, int aNestLevel=0)"""
8322 return _pcbnew.PCB_IO_KICAD_SEXPR_Format(self, aItem, aNestLevel)
8325 r"""GetStringOutput(PCB_IO_KICAD_SEXPR self, bool doClear) -> string"""
8326 return _pcbnew.PCB_IO_KICAD_SEXPR_GetStringOutput(self, doClear)
8329 r"""SetOutputFormatter(PCB_IO_KICAD_SEXPR self, OUTPUTFORMATTER aFormatter)"""
8330 return _pcbnew.PCB_IO_KICAD_SEXPR_SetOutputFormatter(self, aFormatter)
8333 r"""Parse(PCB_IO_KICAD_SEXPR self, wxString aClipboardSourceInput) -> BOARD_ITEM"""
8334 return _pcbnew.PCB_IO_KICAD_SEXPR_Parse(self, aClipboardSourceInput)
8337_pcbnew.PCB_IO_KICAD_SEXPR_swigregister(PCB_IO_KICAD_SEXPR)
8340 r"""Proxy of C++ PLOT_CONTROLLER class."""
8342 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8343 __repr__ = _swig_repr
8346 r"""__init__(PLOT_CONTROLLER self, BOARD aBoard) -> PLOT_CONTROLLER"""
8347 _pcbnew.PLOT_CONTROLLER_swiginit(self, _pcbnew.new_PLOT_CONTROLLER(aBoard))
8348 __swig_destroy__ = _pcbnew.delete_PLOT_CONTROLLER
8351 r"""GetPlotOptions(PLOT_CONTROLLER self) -> PCB_PLOT_PARAMS"""
8352 return _pcbnew.PLOT_CONTROLLER_GetPlotOptions(self)
8355 r"""SetLayer(PLOT_CONTROLLER self, int aLayer)"""
8356 return _pcbnew.PLOT_CONTROLLER_SetLayer(self, aLayer)
8359 r"""GetLayer(PLOT_CONTROLLER self) -> int"""
8360 return _pcbnew.PLOT_CONTROLLER_GetLayer(self)
8363 r"""IsPlotOpen(PLOT_CONTROLLER self) -> bool"""
8364 return _pcbnew.PLOT_CONTROLLER_IsPlotOpen(self)
8367 r"""ClosePlot(PLOT_CONTROLLER self)"""
8368 return _pcbnew.PLOT_CONTROLLER_ClosePlot(self)
8371 r"""OpenPlotfile(PLOT_CONTROLLER self, wxString aSuffix, PLOT_FORMAT aFormat, wxString aSheetName=wxEmptyString, wxString aSheetPath=wxEmptyString) -> bool"""
8372 return _pcbnew.PLOT_CONTROLLER_OpenPlotfile(self, *args)
8375 r"""PlotLayer(PLOT_CONTROLLER self) -> bool"""
8376 return _pcbnew.PLOT_CONTROLLER_PlotLayer(self)
8379 r"""PlotLayers(PLOT_CONTROLLER self, LSEQ aLayerSequence) -> bool"""
8380 return _pcbnew.PLOT_CONTROLLER_PlotLayers(self, aLayerSequence)
8383 r"""GetPlotFileName(PLOT_CONTROLLER self) -> wxString"""
8384 return _pcbnew.PLOT_CONTROLLER_GetPlotFileName(self)
8387 r"""GetPlotDirName(PLOT_CONTROLLER self) -> wxString"""
8388 return _pcbnew.PLOT_CONTROLLER_GetPlotDirName(self)
8391 r"""SetColorMode(PLOT_CONTROLLER self, bool aColorMode)"""
8392 return _pcbnew.PLOT_CONTROLLER_SetColorMode(self, aColorMode)
8395 r"""GetColorMode(PLOT_CONTROLLER self) -> bool"""
8396 return _pcbnew.PLOT_CONTROLLER_GetColorMode(self)
8399 r"""GetPlotter(PLOT_CONTROLLER self) -> PLOTTER"""
8400 return _pcbnew.PLOT_CONTROLLER_GetPlotter(self)
8403_pcbnew.PLOT_CONTROLLER_swigregister(PLOT_CONTROLLER)
8405DRILL_MARKS_NO_DRILL_SHAPE = _pcbnew.DRILL_MARKS_NO_DRILL_SHAPE
8407DRILL_MARKS_SMALL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_SMALL_DRILL_SHAPE
8409DRILL_MARKS_FULL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_FULL_DRILL_SHAPE
8412 r"""Proxy of C++ PCB_PLOT_PARAMS class."""
8414 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8415 __repr__ = _swig_repr
8418 r"""__init__(PCB_PLOT_PARAMS self) -> PCB_PLOT_PARAMS"""
8419 _pcbnew.PCB_PLOT_PARAMS_swiginit(self, _pcbnew.new_PCB_PLOT_PARAMS())
8422 r"""SetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self, bool aSkip)"""
8423 return _pcbnew.PCB_PLOT_PARAMS_SetSkipPlotNPTH_Pads(self, aSkip)
8426 r"""GetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self) -> bool"""
8427 return _pcbnew.PCB_PLOT_PARAMS_GetSkipPlotNPTH_Pads(self)
8429 def Format(self, aFormatter, aNestLevel, aControl=0):
8430 r"""Format(PCB_PLOT_PARAMS self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControl=0)"""
8431 return _pcbnew.PCB_PLOT_PARAMS_Format(self, aFormatter, aNestLevel, aControl)
8434 r"""Parse(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS_PARSER * aParser)"""
8435 return _pcbnew.PCB_PLOT_PARAMS_Parse(self, aParser)
8438 r"""IsSameAs(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS aPcbPlotParams) -> bool"""
8439 return _pcbnew.PCB_PLOT_PARAMS_IsSameAs(self, aPcbPlotParams)
8442 r"""SetColorSettings(PCB_PLOT_PARAMS self, COLOR_SETTINGS * aSettings)"""
8443 return _pcbnew.PCB_PLOT_PARAMS_SetColorSettings(self, aSettings)
8446 r"""ColorSettings(PCB_PLOT_PARAMS self) -> COLOR_SETTINGS *"""
8447 return _pcbnew.PCB_PLOT_PARAMS_ColorSettings(self)
8450 r"""SetTextMode(PCB_PLOT_PARAMS self, PLOT_TEXT_MODE aVal)"""
8451 return _pcbnew.PCB_PLOT_PARAMS_SetTextMode(self, aVal)
8454 r"""GetTextMode(PCB_PLOT_PARAMS self) -> PLOT_TEXT_MODE"""
8455 return _pcbnew.PCB_PLOT_PARAMS_GetTextMode(self)
8458 r"""SetPlotMode(PCB_PLOT_PARAMS self, OUTLINE_MODE aPlotMode)"""
8459 return _pcbnew.PCB_PLOT_PARAMS_SetPlotMode(self, aPlotMode)
8462 r"""GetPlotMode(PCB_PLOT_PARAMS self) -> OUTLINE_MODE"""
8463 return _pcbnew.PCB_PLOT_PARAMS_GetPlotMode(self)
8466 r"""SetDXFPlotPolygonMode(PCB_PLOT_PARAMS self, bool aFlag)"""
8467 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotPolygonMode(self, aFlag)
8470 r"""GetDXFPlotPolygonMode(PCB_PLOT_PARAMS self) -> bool"""
8471 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotPolygonMode(self)
8474 r"""SetDXFPlotUnits(PCB_PLOT_PARAMS self, DXF_UNITS aUnit)"""
8475 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotUnits(self, aUnit)
8478 r"""GetDXFPlotUnits(PCB_PLOT_PARAMS self) -> DXF_UNITS"""
8479 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotUnits(self)
8482 r"""SetDrillMarksType(PCB_PLOT_PARAMS self, DRILL_MARKS aVal)"""
8483 return _pcbnew.PCB_PLOT_PARAMS_SetDrillMarksType(self, aVal)
8486 r"""GetDrillMarksType(PCB_PLOT_PARAMS self) -> DRILL_MARKS"""
8487 return _pcbnew.PCB_PLOT_PARAMS_GetDrillMarksType(self)
8490 r"""SetScale(PCB_PLOT_PARAMS self, double aVal)"""
8491 return _pcbnew.PCB_PLOT_PARAMS_SetScale(self, aVal)
8494 r"""GetScale(PCB_PLOT_PARAMS self) -> double"""
8495 return _pcbnew.PCB_PLOT_PARAMS_GetScale(self)
8498 r"""SetFineScaleAdjustX(PCB_PLOT_PARAMS self, double aVal)"""
8499 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustX(self, aVal)
8502 r"""GetFineScaleAdjustX(PCB_PLOT_PARAMS self) -> double"""
8503 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustX(self)
8506 r"""SetFineScaleAdjustY(PCB_PLOT_PARAMS self, double aVal)"""
8507 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustY(self, aVal)
8510 r"""GetFineScaleAdjustY(PCB_PLOT_PARAMS self) -> double"""
8511 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustY(self)
8514 r"""SetWidthAdjust(PCB_PLOT_PARAMS self, int aVal)"""
8515 return _pcbnew.PCB_PLOT_PARAMS_SetWidthAdjust(self, aVal)
8518 r"""GetWidthAdjust(PCB_PLOT_PARAMS self) -> int"""
8519 return _pcbnew.PCB_PLOT_PARAMS_GetWidthAdjust(self)
8522 r"""SetAutoScale(PCB_PLOT_PARAMS self, bool aFlag)"""
8523 return _pcbnew.PCB_PLOT_PARAMS_SetAutoScale(self, aFlag)
8526 r"""GetAutoScale(PCB_PLOT_PARAMS self) -> bool"""
8527 return _pcbnew.PCB_PLOT_PARAMS_GetAutoScale(self)
8530 r"""SetMirror(PCB_PLOT_PARAMS self, bool aFlag)"""
8531 return _pcbnew.PCB_PLOT_PARAMS_SetMirror(self, aFlag)
8534 r"""GetMirror(PCB_PLOT_PARAMS self) -> bool"""
8535 return _pcbnew.PCB_PLOT_PARAMS_GetMirror(self)
8538 r"""SetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8539 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadsOnFabLayers(self, aFlag)
8542 r"""GetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8543 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadsOnFabLayers(self)
8546 r"""SetSketchPadLineWidth(PCB_PLOT_PARAMS self, int aWidth)"""
8547 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadLineWidth(self, aWidth)
8550 r"""GetSketchPadLineWidth(PCB_PLOT_PARAMS self) -> int"""
8551 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadLineWidth(self)
8554 r"""SetPlotInvisibleText(PCB_PLOT_PARAMS self, bool aFlag)"""
8555 return _pcbnew.PCB_PLOT_PARAMS_SetPlotInvisibleText(self, aFlag)
8558 r"""GetPlotInvisibleText(PCB_PLOT_PARAMS self) -> bool"""
8559 return _pcbnew.PCB_PLOT_PARAMS_GetPlotInvisibleText(self)
8562 r"""SetPlotValue(PCB_PLOT_PARAMS self, bool aFlag)"""
8563 return _pcbnew.PCB_PLOT_PARAMS_SetPlotValue(self, aFlag)
8566 r"""GetPlotValue(PCB_PLOT_PARAMS self) -> bool"""
8567 return _pcbnew.PCB_PLOT_PARAMS_GetPlotValue(self)
8570 r"""SetPlotReference(PCB_PLOT_PARAMS self, bool aFlag)"""
8571 return _pcbnew.PCB_PLOT_PARAMS_SetPlotReference(self, aFlag)
8574 r"""GetPlotReference(PCB_PLOT_PARAMS self) -> bool"""
8575 return _pcbnew.PCB_PLOT_PARAMS_GetPlotReference(self)
8578 r"""SetPlotFPText(PCB_PLOT_PARAMS self, bool aFlag)"""
8579 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFPText(self, aFlag)
8582 r"""GetPlotFPText(PCB_PLOT_PARAMS self) -> bool"""
8583 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFPText(self)
8586 r"""SetNegative(PCB_PLOT_PARAMS self, bool aFlag)"""
8587 return _pcbnew.PCB_PLOT_PARAMS_SetNegative(self, aFlag)
8590 r"""GetNegative(PCB_PLOT_PARAMS self) -> bool"""
8591 return _pcbnew.PCB_PLOT_PARAMS_GetNegative(self)
8594 r"""SetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self, bool aFlag)"""
8595 return _pcbnew.PCB_PLOT_PARAMS_SetPlotViaOnMaskLayer(self, aFlag)
8598 r"""GetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self) -> bool"""
8599 return _pcbnew.PCB_PLOT_PARAMS_GetPlotViaOnMaskLayer(self)
8602 r"""SetPlotFrameRef(PCB_PLOT_PARAMS self, bool aFlag)"""
8603 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFrameRef(self, aFlag)
8606 r"""GetPlotFrameRef(PCB_PLOT_PARAMS self) -> bool"""
8607 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFrameRef(self)
8610 r"""SetFormat(PCB_PLOT_PARAMS self, PLOT_FORMAT aFormat)"""
8611 return _pcbnew.PCB_PLOT_PARAMS_SetFormat(self, aFormat)
8614 r"""GetFormat(PCB_PLOT_PARAMS self) -> PLOT_FORMAT"""
8615 return _pcbnew.PCB_PLOT_PARAMS_GetFormat(self)
8618 r"""SetOutputDirectory(PCB_PLOT_PARAMS self, wxString aDir)"""
8619 return _pcbnew.PCB_PLOT_PARAMS_SetOutputDirectory(self, aDir)
8622 r"""GetOutputDirectory(PCB_PLOT_PARAMS self) -> wxString"""
8623 return _pcbnew.PCB_PLOT_PARAMS_GetOutputDirectory(self)
8626 r"""SetDisableGerberMacros(PCB_PLOT_PARAMS self, bool aDisable)"""
8627 return _pcbnew.PCB_PLOT_PARAMS_SetDisableGerberMacros(self, aDisable)
8630 r"""GetDisableGerberMacros(PCB_PLOT_PARAMS self) -> bool"""
8631 return _pcbnew.PCB_PLOT_PARAMS_GetDisableGerberMacros(self)
8634 r"""SetUseGerberX2format(PCB_PLOT_PARAMS self, bool aUse)"""
8635 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberX2format(self, aUse)
8638 r"""GetUseGerberX2format(PCB_PLOT_PARAMS self) -> bool"""
8639 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberX2format(self)
8642 r"""SetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self, bool aUse)"""
8643 return _pcbnew.PCB_PLOT_PARAMS_SetIncludeGerberNetlistInfo(self, aUse)
8646 r"""GetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self) -> bool"""
8647 return _pcbnew.PCB_PLOT_PARAMS_GetIncludeGerberNetlistInfo(self)
8650 r"""SetCreateGerberJobFile(PCB_PLOT_PARAMS self, bool aCreate)"""
8651 return _pcbnew.PCB_PLOT_PARAMS_SetCreateGerberJobFile(self, aCreate)
8654 r"""GetCreateGerberJobFile(PCB_PLOT_PARAMS self) -> bool"""
8655 return _pcbnew.PCB_PLOT_PARAMS_GetCreateGerberJobFile(self)
8658 r"""SetUseGerberProtelExtensions(PCB_PLOT_PARAMS self, bool aUse)"""
8659 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberProtelExtensions(self, aUse)
8662 r"""GetUseGerberProtelExtensions(PCB_PLOT_PARAMS self) -> bool"""
8663 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberProtelExtensions(self)
8666 r"""SetGerberPrecision(PCB_PLOT_PARAMS self, int aPrecision)"""
8667 return _pcbnew.PCB_PLOT_PARAMS_SetGerberPrecision(self, aPrecision)
8670 r"""GetGerberPrecision(PCB_PLOT_PARAMS self) -> int"""
8671 return _pcbnew.PCB_PLOT_PARAMS_GetGerberPrecision(self)
8674 r"""SetSvgPrecision(PCB_PLOT_PARAMS self, unsigned int aPrecision)"""
8675 return _pcbnew.PCB_PLOT_PARAMS_SetSvgPrecision(self, aPrecision)
8678 r"""GetSvgPrecision(PCB_PLOT_PARAMS self) -> unsigned int"""
8679 return _pcbnew.PCB_PLOT_PARAMS_GetSvgPrecision(self)
8682 r"""SetBlackAndWhite(PCB_PLOT_PARAMS self, bool blackAndWhite)"""
8683 return _pcbnew.PCB_PLOT_PARAMS_SetBlackAndWhite(self, blackAndWhite)
8686 r"""GetBlackAndWhite(PCB_PLOT_PARAMS self) -> unsigned int"""
8687 return _pcbnew.PCB_PLOT_PARAMS_GetBlackAndWhite(self)
8690 r"""SetSubtractMaskFromSilk(PCB_PLOT_PARAMS self, bool aSubtract)"""
8691 return _pcbnew.PCB_PLOT_PARAMS_SetSubtractMaskFromSilk(self, aSubtract)
8694 r"""GetSubtractMaskFromSilk(PCB_PLOT_PARAMS self) -> bool"""
8695 return _pcbnew.PCB_PLOT_PARAMS_GetSubtractMaskFromSilk(self)
8698 r"""SetLayerSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
8699 return _pcbnew.PCB_PLOT_PARAMS_SetLayerSelection(self, aSelection)
8702 r"""GetLayerSelection(PCB_PLOT_PARAMS self) -> LSET"""
8703 return _pcbnew.PCB_PLOT_PARAMS_GetLayerSelection(self)
8706 r"""SetPlotOnAllLayersSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
8707 return _pcbnew.PCB_PLOT_PARAMS_SetPlotOnAllLayersSelection(self, aSelection)
8710 r"""GetPlotOnAllLayersSelection(PCB_PLOT_PARAMS self) -> LSET"""
8711 return _pcbnew.PCB_PLOT_PARAMS_GetPlotOnAllLayersSelection(self)
8714 r"""SetUseAuxOrigin(PCB_PLOT_PARAMS self, bool aAux)"""
8715 return _pcbnew.PCB_PLOT_PARAMS_SetUseAuxOrigin(self, aAux)
8718 r"""GetUseAuxOrigin(PCB_PLOT_PARAMS self) -> bool"""
8719 return _pcbnew.PCB_PLOT_PARAMS_GetUseAuxOrigin(self)
8722 r"""SetScaleSelection(PCB_PLOT_PARAMS self, int aSelection)"""
8723 return _pcbnew.PCB_PLOT_PARAMS_SetScaleSelection(self, aSelection)
8726 r"""GetScaleSelection(PCB_PLOT_PARAMS self) -> int"""
8727 return _pcbnew.PCB_PLOT_PARAMS_GetScaleSelection(self)
8730 r"""SetA4Output(PCB_PLOT_PARAMS self, int aForce)"""
8731 return _pcbnew.PCB_PLOT_PARAMS_SetA4Output(self, aForce)
8734 r"""GetA4Output(PCB_PLOT_PARAMS self) -> bool"""
8735 return _pcbnew.PCB_PLOT_PARAMS_GetA4Output(self)
8738 r"""GetHPGLPenDiameter(PCB_PLOT_PARAMS self) -> double"""
8739 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenDiameter(self)
8742 r"""SetHPGLPenDiameter(PCB_PLOT_PARAMS self, double aValue) -> bool"""
8743 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenDiameter(self, aValue)
8746 r"""GetHPGLPenSpeed(PCB_PLOT_PARAMS self) -> int"""
8747 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenSpeed(self)
8750 r"""SetHPGLPenSpeed(PCB_PLOT_PARAMS self, int aValue) -> bool"""
8751 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenSpeed(self, aValue)
8754 r"""SetHPGLPenNum(PCB_PLOT_PARAMS self, int aVal)"""
8755 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenNum(self, aVal)
8758 r"""GetHPGLPenNum(PCB_PLOT_PARAMS self) -> int"""
8759 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenNum(self)
8762 r"""SetDashedLineDashRatio(PCB_PLOT_PARAMS self, double aVal)"""
8763 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineDashRatio(self, aVal)
8766 r"""GetDashedLineDashRatio(PCB_PLOT_PARAMS self) -> double"""
8767 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineDashRatio(self)
8770 r"""SetDashedLineGapRatio(PCB_PLOT_PARAMS self, double aVal)"""
8771 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineGapRatio(self, aVal)
8774 r"""GetDashedLineGapRatio(PCB_PLOT_PARAMS self) -> double"""
8775 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineGapRatio(self)
8776 m_PDFFrontFPPropertyPopups = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFFrontFPPropertyPopups_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFFrontFPPropertyPopups_set, doc=
r"""m_PDFFrontFPPropertyPopups : bool""")
8777 m_PDFBackFPPropertyPopups = property(_pcbnew.PCB_PLOT_PARAMS_m_PDFBackFPPropertyPopups_get, _pcbnew.PCB_PLOT_PARAMS_m_PDFBackFPPropertyPopups_set, doc=
r"""m_PDFBackFPPropertyPopups : bool""")
8784 __swig_destroy__ = _pcbnew.delete_PCB_PLOT_PARAMS
8787_pcbnew.PCB_PLOT_PARAMS_swigregister(PCB_PLOT_PARAMS)
8789DXF_UNITS_INCHES = _pcbnew.DXF_UNITS_INCHES
8791DXF_UNITS_MILLIMETERS = _pcbnew.DXF_UNITS_MILLIMETERS
8793PLOT_FORMAT_UNDEFINED = _pcbnew.PLOT_FORMAT_UNDEFINED
8795PLOT_FORMAT_FIRST_FORMAT = _pcbnew.PLOT_FORMAT_FIRST_FORMAT
8797PLOT_FORMAT_HPGL = _pcbnew.PLOT_FORMAT_HPGL
8799PLOT_FORMAT_GERBER = _pcbnew.PLOT_FORMAT_GERBER
8801PLOT_FORMAT_POST = _pcbnew.PLOT_FORMAT_POST
8803PLOT_FORMAT_DXF = _pcbnew.PLOT_FORMAT_DXF
8805PLOT_FORMAT_PDF = _pcbnew.PLOT_FORMAT_PDF
8807PLOT_FORMAT_SVG = _pcbnew.PLOT_FORMAT_SVG
8809PLOT_FORMAT_LAST_FORMAT = _pcbnew.PLOT_FORMAT_LAST_FORMAT
8811PLOT_TEXT_MODE_STROKE = _pcbnew.PLOT_TEXT_MODE_STROKE
8813PLOT_TEXT_MODE_NATIVE = _pcbnew.PLOT_TEXT_MODE_NATIVE
8815PLOT_TEXT_MODE_PHANTOM = _pcbnew.PLOT_TEXT_MODE_PHANTOM
8817PLOT_TEXT_MODE_DEFAULT = _pcbnew.PLOT_TEXT_MODE_DEFAULT
8820 r"""Proxy of C++ PLOTTER class."""
8822 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8825 raise AttributeError(
"No constructor defined - class is abstract")
8826 __repr__ = _swig_repr
8827 DO_NOT_SET_LINE_WIDTH = _pcbnew.PLOTTER_DO_NOT_SET_LINE_WIDTH
8829 USE_DEFAULT_LINE_WIDTH = _pcbnew.PLOTTER_USE_DEFAULT_LINE_WIDTH
8831 __swig_destroy__ = _pcbnew.delete_PLOTTER
8834 r"""GetPlotterType(PLOTTER self) -> PLOT_FORMAT"""
8835 return _pcbnew.PLOTTER_GetPlotterType(self)
8838 r"""StartPlot(PLOTTER self, wxString aPageNumber) -> bool"""
8839 return _pcbnew.PLOTTER_StartPlot(self, aPageNumber)
8842 r"""EndPlot(PLOTTER self) -> bool"""
8843 return _pcbnew.PLOTTER_EndPlot(self)
8846 r"""SetNegative(PLOTTER self, bool aNegative)"""
8847 return _pcbnew.PLOTTER_SetNegative(self, aNegative)
8850 r"""SetColorMode(PLOTTER self, bool aColorMode)"""
8851 return _pcbnew.PLOTTER_SetColorMode(self, aColorMode)
8854 r"""GetColorMode(PLOTTER self) -> bool"""
8855 return _pcbnew.PLOTTER_GetColorMode(self)
8858 r"""SetRenderSettings(PLOTTER self, RENDER_SETTINGS * aSettings)"""
8859 return _pcbnew.PLOTTER_SetRenderSettings(self, aSettings)
8862 r"""RenderSettings(PLOTTER self) -> RENDER_SETTINGS *"""
8863 return _pcbnew.PLOTTER_RenderSettings(self)
8866 r"""SetPageSettings(PLOTTER self, PAGE_INFO const & aPageSettings)"""
8867 return _pcbnew.PLOTTER_SetPageSettings(self, aPageSettings)
8870 r"""PageSettings(PLOTTER self) -> PAGE_INFO &"""
8871 return _pcbnew.PLOTTER_PageSettings(self)
8874 r"""SetCurrentLineWidth(PLOTTER self, int width, void * aData=None)"""
8875 return _pcbnew.PLOTTER_SetCurrentLineWidth(self, width, aData)
8878 r"""GetCurrentLineWidth(PLOTTER self) -> int"""
8879 return _pcbnew.PLOTTER_GetCurrentLineWidth(self)
8882 r"""SetColor(PLOTTER self, COLOR4D color)"""
8883 return _pcbnew.PLOTTER_SetColor(self, color)
8886 r"""SetDash(PLOTTER self, int aLineWidth, LINE_STYLE aLineStyle)"""
8887 return _pcbnew.PLOTTER_SetDash(self, aLineWidth, aLineStyle)
8890 r"""SetCreator(PLOTTER self, wxString aCreator)"""
8891 return _pcbnew.PLOTTER_SetCreator(self, aCreator)
8894 r"""SetTitle(PLOTTER self, wxString aTitle)"""
8895 return _pcbnew.PLOTTER_SetTitle(self, aTitle)
8898 r"""AddLineToHeader(PLOTTER self, wxString aExtraString)"""
8899 return _pcbnew.PLOTTER_AddLineToHeader(self, aExtraString)
8902 r"""ClearHeaderLinesList(PLOTTER self)"""
8903 return _pcbnew.PLOTTER_ClearHeaderLinesList(self)
8906 r"""SetViewport(PLOTTER self, VECTOR2I aOffset, double aIusPerDecimil, double aScale, bool aMirror)"""
8907 return _pcbnew.PLOTTER_SetViewport(self, aOffset, aIusPerDecimil, aScale, aMirror)
8910 r"""OpenFile(PLOTTER self, wxString aFullFilename) -> bool"""
8911 return _pcbnew.PLOTTER_OpenFile(self, aFullFilename)
8914 r"""GetIUsPerDecimil(PLOTTER self) -> double"""
8915 return _pcbnew.PLOTTER_GetIUsPerDecimil(self)
8918 r"""GetPlotterArcLowDef(PLOTTER self) -> int"""
8919 return _pcbnew.PLOTTER_GetPlotterArcLowDef(self)
8922 r"""GetPlotterArcHighDef(PLOTTER self) -> int"""
8923 return _pcbnew.PLOTTER_GetPlotterArcHighDef(self)
8926 r"""Rect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8927 return _pcbnew.PLOTTER_Rect(self, *args)
8930 r"""Circle(PLOTTER self, VECTOR2I pos, int diametre, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8931 return _pcbnew.PLOTTER_Circle(self, *args)
8935 Arc(PLOTTER self, VECTOR2D const & aStart, VECTOR2D const & aMid, VECTOR2D const & aEnd, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH)
8936 Arc(PLOTTER self, VECTOR2D const & aCenter, EDA_ANGLE aStartAngle, EDA_ANGLE aAngle, double aRadius, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH)
8938 return _pcbnew.PLOTTER_Arc(self, *args)
8941 r"""BezierCurve(PLOTTER self, VECTOR2I aStart, VECTOR2I aControl1, VECTOR2I aControl2, VECTOR2I aEnd, int aTolerance, int aLineThickness=USE_DEFAULT_LINE_WIDTH)"""
8942 return _pcbnew.PLOTTER_BezierCurve(self, *args)
8945 r"""PenTo(PLOTTER self, VECTOR2I pos, char plume)"""
8946 return _pcbnew.PLOTTER_PenTo(self, pos, plume)
8949 r"""MoveTo(PLOTTER self, VECTOR2I pos)"""
8950 return _pcbnew.PLOTTER_MoveTo(self, pos)
8953 r"""LineTo(PLOTTER self, VECTOR2I pos)"""
8954 return _pcbnew.PLOTTER_LineTo(self, pos)
8957 r"""FinishTo(PLOTTER self, VECTOR2I pos)"""
8958 return _pcbnew.PLOTTER_FinishTo(self, pos)
8961 r"""PenFinish(PLOTTER self)"""
8962 return _pcbnew.PLOTTER_PenFinish(self)
8966 PlotPoly(PLOTTER self, VECTOR_VECTOR2I aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=None)
8967 PlotPoly(PLOTTER self, SHAPE_LINE_CHAIN aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=
None)
8969 return _pcbnew.PLOTTER_PlotPoly(self, *args)
8972 r"""PlotImage(PLOTTER self, wxImage const & aImage, VECTOR2I aPos, double aScaleFactor)"""
8973 return _pcbnew.PLOTTER_PlotImage(self, aImage, aPos, aScaleFactor)
8976 r"""ThickSegment(PLOTTER self, VECTOR2I start, VECTOR2I end, int width, OUTLINE_MODE tracemode, void * aData)"""
8977 return _pcbnew.PLOTTER_ThickSegment(self, start, end, width, tracemode, aData)
8981 ThickArc(PLOTTER self, EDA_SHAPE aArcShape, OUTLINE_MODE aTraceMode, void * aData)
8982 ThickArc(PLOTTER self, VECTOR2D const & aCentre, EDA_ANGLE aStAngle, EDA_ANGLE aAngle, double aRadius, int aWidth, OUTLINE_MODE aTraceMode, void * aData)
8984 return _pcbnew.PLOTTER_ThickArc(self, *args)
8987 r"""ThickRect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, int width, OUTLINE_MODE tracemode, void * aData)"""
8988 return _pcbnew.PLOTTER_ThickRect(self, p1, p2, width, tracemode, aData)
8991 r"""ThickCircle(PLOTTER self, VECTOR2I pos, int diametre, int width, OUTLINE_MODE tracemode, void * aData)"""
8992 return _pcbnew.PLOTTER_ThickCircle(self, pos, diametre, width, tracemode, aData)
8995 r"""FilledCircle(PLOTTER self, VECTOR2I pos, int diametre, OUTLINE_MODE tracemode, void * aData)"""
8996 return _pcbnew.PLOTTER_FilledCircle(self, pos, diametre, tracemode, aData)
8999 r"""FlashPadCircle(PLOTTER self, VECTOR2I aPadPos, int aDiameter, OUTLINE_MODE aTraceMode, void * aData)"""
9000 return _pcbnew.PLOTTER_FlashPadCircle(self, aPadPos, aDiameter, aTraceMode, aData)
9003 r"""FlashPadOval(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9004 return _pcbnew.PLOTTER_FlashPadOval(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
9007 r"""FlashPadRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9008 return _pcbnew.PLOTTER_FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
9011 r"""FlashPadRoundRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, int aCornerRadius, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9012 return _pcbnew.PLOTTER_FlashPadRoundRect(self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
9015 r"""FlashPadCustom(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, SHAPE_POLY_SET aPolygons, OUTLINE_MODE aTraceMode, void * aData)"""
9016 return _pcbnew.PLOTTER_FlashPadCustom(self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData)
9019 r"""FlashPadTrapez(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aCorners, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9020 return _pcbnew.PLOTTER_FlashPadTrapez(self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
9023 r"""FlashRegularPolygon(PLOTTER self, VECTOR2I aShapePos, int aDiameter, int aCornerCount, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
9024 return _pcbnew.PLOTTER_FlashRegularPolygon(self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData)
9026 def Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData=None):
9027 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)"""
9028 return _pcbnew.PLOTTER_Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData)
9030 def PlotText(self, aPos, aColor, aText, aAttributes, aFont, aFontMetrics, aData=None):
9031 r"""PlotText(PLOTTER self, VECTOR2I aPos, COLOR4D aColor, wxString aText, TEXT_ATTRIBUTES aAttributes, KIFONT::FONT * aFont, KIFONT::METRICS const & aFontMetrics, void * aData=None)"""
9032 return _pcbnew.PLOTTER_PlotText(self, aPos, aColor, aText, aAttributes, aFont, aFontMetrics, aData)
9035 r"""HyperlinkBox(PLOTTER self, BOX2I aBox, wxString aDestinationURL)"""
9036 return _pcbnew.PLOTTER_HyperlinkBox(self, aBox, aDestinationURL)
9039 r"""HyperlinkMenu(PLOTTER self, BOX2I aBox, std::vector< wxString,std::allocator< wxString > > const & aDestURLs)"""
9040 return _pcbnew.PLOTTER_HyperlinkMenu(self, aBox, aDestURLs)
9043 r"""Bookmark(PLOTTER self, BOX2I aBox, wxString aName, wxString aGroupName=wxEmptyString)"""
9044 return _pcbnew.PLOTTER_Bookmark(self, *args)
9045 MARKER_COUNT = _pcbnew.PLOTTER_MARKER_COUNT
9048 def Marker(self, position, diametre, aShapeId):
9049 r"""Marker(PLOTTER self, VECTOR2I position, int diametre, unsigned int aShapeId)"""
9050 return _pcbnew.PLOTTER_Marker(self, position, diametre, aShapeId)
9053 r"""SetLayerPolarity(PLOTTER self, bool aPositive)"""
9054 return _pcbnew.PLOTTER_SetLayerPolarity(self, aPositive)
9057 r"""SetTextMode(PLOTTER self, PLOT_TEXT_MODE mode)"""
9058 return _pcbnew.PLOTTER_SetTextMode(self, mode)
9061 r"""SetGerberCoordinatesFormat(PLOTTER self, int aResolution, bool aUseInches=False)"""
9062 return _pcbnew.PLOTTER_SetGerberCoordinatesFormat(self, aResolution, aUseInches)
9065 r"""SetSvgCoordinatesFormat(PLOTTER self, unsigned int aPrecision)"""
9066 return _pcbnew.PLOTTER_SetSvgCoordinatesFormat(self, aPrecision)
9069 r"""StartBlock(PLOTTER self, void * aData)"""
9070 return _pcbnew.PLOTTER_StartBlock(self, aData)
9073 r"""EndBlock(PLOTTER self, void * aData)"""
9074 return _pcbnew.PLOTTER_EndBlock(self, aData)
9077 r"""GetPlotOffsetUserUnits(PLOTTER self) -> VECTOR2I"""
9078 return _pcbnew.PLOTTER_GetPlotOffsetUserUnits(self)
9081_pcbnew.PLOTTER_swigregister(PLOTTER)
9085 r"""PlotDrawingSheet(PLOTTER plotter, PROJECT const * aProject, TITLE_BLOCK aTitleBlock, PAGE_INFO const & aPageInfo, MAP_STRING_STRING aProperties, wxString aSheetNumber, int aSheetCount, wxString aSheetName, wxString aSheetPath, wxString aFilename, COLOR4D aColor=COLOR4D::UNSPECIFIED, bool aIsFirstPage=True)"""
9086 return _pcbnew.PlotDrawingSheet(*args)
9089 r"""GetDefaultPlotExtension(PLOT_FORMAT aFormat) -> wxString"""
9090 return _pcbnew.GetDefaultPlotExtension(aFormat)
9092 r"""Proxy of C++ D356_RECORD class."""
9094 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9095 __repr__ = _swig_repr
9096 smd = property(_pcbnew.D356_RECORD_smd_get, _pcbnew.D356_RECORD_smd_set, doc=
r"""smd : bool""")
9097 hole = property(_pcbnew.D356_RECORD_hole_get, _pcbnew.D356_RECORD_hole_set, doc=
r"""hole : bool""")
9098 netname = property(_pcbnew.D356_RECORD_netname_get, _pcbnew.D356_RECORD_netname_set, doc=
r"""netname : wxString""")
9099 refdes = property(_pcbnew.D356_RECORD_refdes_get, _pcbnew.D356_RECORD_refdes_set, doc=
r"""refdes : wxString""")
9100 pin = property(_pcbnew.D356_RECORD_pin_get, _pcbnew.D356_RECORD_pin_set, doc=
r"""pin : wxString""")
9101 midpoint = property(_pcbnew.D356_RECORD_midpoint_get, _pcbnew.D356_RECORD_midpoint_set, doc=
r"""midpoint : bool""")
9102 drill = property(_pcbnew.D356_RECORD_drill_get, _pcbnew.D356_RECORD_drill_set, doc=
r"""drill : int""")
9103 mechanical = property(_pcbnew.D356_RECORD_mechanical_get, _pcbnew.D356_RECORD_mechanical_set, doc=
r"""mechanical : bool""")
9104 access = property(_pcbnew.D356_RECORD_access_get, _pcbnew.D356_RECORD_access_set, doc=
r"""access : int""")
9105 soldermask = property(_pcbnew.D356_RECORD_soldermask_get, _pcbnew.D356_RECORD_soldermask_set, doc=
r"""soldermask : int""")
9106 x_location = property(_pcbnew.D356_RECORD_x_location_get, _pcbnew.D356_RECORD_x_location_set, doc=
r"""x_location : int""")
9107 y_location = property(_pcbnew.D356_RECORD_y_location_get, _pcbnew.D356_RECORD_y_location_set, doc=
r"""y_location : int""")
9108 x_size = property(_pcbnew.D356_RECORD_x_size_get, _pcbnew.D356_RECORD_x_size_set, doc=
r"""x_size : int""")
9109 y_size = property(_pcbnew.D356_RECORD_y_size_get, _pcbnew.D356_RECORD_y_size_set, doc=
r"""y_size : int""")
9110 rotation = property(_pcbnew.D356_RECORD_rotation_get, _pcbnew.D356_RECORD_rotation_set, doc=
r"""rotation : int""")
9113 r"""__init__(D356_RECORD self) -> D356_RECORD"""
9114 _pcbnew.D356_RECORD_swiginit(self, _pcbnew.new_D356_RECORD())
9115 __swig_destroy__ = _pcbnew.delete_D356_RECORD
9118_pcbnew.D356_RECORD_swigregister(D356_RECORD)
9121 r"""Proxy of C++ IPC356D_WRITER class."""
9123 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9124 __repr__ = _swig_repr
9127 r"""__init__(IPC356D_WRITER self, BOARD aPcb, wxWindow * aParent=None) -> IPC356D_WRITER"""
9128 _pcbnew.IPC356D_WRITER_swiginit(self, _pcbnew.new_IPC356D_WRITER(aPcb, aParent))
9129 __swig_destroy__ = _pcbnew.delete_IPC356D_WRITER
9132 r"""Write(IPC356D_WRITER self, wxString aFilename)"""
9133 return _pcbnew.IPC356D_WRITER_Write(self, aFilename)
9136_pcbnew.IPC356D_WRITER_swigregister(IPC356D_WRITER)
9139 r"""Proxy of C++ PLACE_FILE_EXPORTER class."""
9141 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9142 __repr__ = _swig_repr
9144 def __init__(self, aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX):
9145 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"""
9146 _pcbnew.PLACE_FILE_EXPORTER_swiginit(self, _pcbnew.new_PLACE_FILE_EXPORTER(aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX))
9149 r"""GenPositionData(PLACE_FILE_EXPORTER self) -> string"""
9150 return _pcbnew.PLACE_FILE_EXPORTER_GenPositionData(self)
9153 r"""GenReportData(PLACE_FILE_EXPORTER self) -> string"""
9154 return _pcbnew.PLACE_FILE_EXPORTER_GenReportData(self)
9157 r"""GetFootprintCount(PLACE_FILE_EXPORTER self) -> int"""
9158 return _pcbnew.PLACE_FILE_EXPORTER_GetFootprintCount(self)
9162 r"""GetFrontSideName() -> string"""
9163 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
9167 r"""GetBackSideName() -> string"""
9168 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
9169 __swig_destroy__ = _pcbnew.delete_PLACE_FILE_EXPORTER
9172_pcbnew.PLACE_FILE_EXPORTER_swigregister(PLACE_FILE_EXPORTER)
9175 r"""PLACE_FILE_EXPORTER_GetFrontSideName() -> string"""
9176 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
9179 r"""PLACE_FILE_EXPORTER_GetBackSideName() -> string"""
9180 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
9183 r"""Proxy of C++ EXPORTER_VRML class."""
9185 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9186 __repr__ = _swig_repr
9189 r"""__init__(EXPORTER_VRML self, BOARD aBoard) -> EXPORTER_VRML"""
9190 _pcbnew.EXPORTER_VRML_swiginit(self, _pcbnew.new_EXPORTER_VRML(aBoard))
9191 __swig_destroy__ = _pcbnew.delete_EXPORTER_VRML
9193 def ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
9194 r"""ExportVRML_File(EXPORTER_VRML self, PROJECT * aProject, wxString aMessages, wxString aFullFileName, double aMMtoWRMLunit, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
9195 return _pcbnew.EXPORTER_VRML_ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
9198_pcbnew.EXPORTER_VRML_swigregister(EXPORTER_VRML)
9200USE_ATTRIB_FOR_HOLES = _pcbnew.USE_ATTRIB_FOR_HOLES
9202HOLE_ATTRIBUTE_HOLE_UNKNOWN = _pcbnew.HOLE_ATTRIBUTE_HOLE_UNKNOWN
9204HOLE_ATTRIBUTE_HOLE_VIA_THROUGH = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_THROUGH
9206HOLE_ATTRIBUTE_HOLE_VIA_BURIED = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_BURIED
9208HOLE_ATTRIBUTE_HOLE_PAD = _pcbnew.HOLE_ATTRIBUTE_HOLE_PAD
9210HOLE_ATTRIBUTE_HOLE_MECHANICAL = _pcbnew.HOLE_ATTRIBUTE_HOLE_MECHANICAL
9213 r"""Proxy of C++ DRILL_TOOL class."""
9215 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9216 __repr__ = _swig_repr
9217 m_Diameter = property(_pcbnew.DRILL_TOOL_m_Diameter_get, _pcbnew.DRILL_TOOL_m_Diameter_set, doc=
r"""m_Diameter : int""")
9218 m_TotalCount = property(_pcbnew.DRILL_TOOL_m_TotalCount_get, _pcbnew.DRILL_TOOL_m_TotalCount_set, doc=
r"""m_TotalCount : int""")
9219 m_OvalCount = property(_pcbnew.DRILL_TOOL_m_OvalCount_get, _pcbnew.DRILL_TOOL_m_OvalCount_set, doc=
r"""m_OvalCount : int""")
9220 m_Hole_NotPlated = property(_pcbnew.DRILL_TOOL_m_Hole_NotPlated_get, _pcbnew.DRILL_TOOL_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
9221 m_HoleAttribute = property(_pcbnew.DRILL_TOOL_m_HoleAttribute_get, _pcbnew.DRILL_TOOL_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
9224 r"""__init__(DRILL_TOOL self, int aDiameter, bool a_NotPlated) -> DRILL_TOOL"""
9225 _pcbnew.DRILL_TOOL_swiginit(self, _pcbnew.new_DRILL_TOOL(aDiameter, a_NotPlated))
9226 __swig_destroy__ = _pcbnew.delete_DRILL_TOOL
9229_pcbnew.DRILL_TOOL_swigregister(DRILL_TOOL)
9232 r"""Proxy of C++ HOLE_INFO class."""
9234 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9235 __repr__ = _swig_repr
9238 r"""__init__(HOLE_INFO self) -> HOLE_INFO"""
9239 _pcbnew.HOLE_INFO_swiginit(self, _pcbnew.new_HOLE_INFO())
9240 m_ItemParent = property(_pcbnew.HOLE_INFO_m_ItemParent_get, _pcbnew.HOLE_INFO_m_ItemParent_set, doc=
r"""m_ItemParent : p.BOARD_ITEM""")
9241 m_Hole_Diameter = property(_pcbnew.HOLE_INFO_m_Hole_Diameter_get, _pcbnew.HOLE_INFO_m_Hole_Diameter_set, doc=
r"""m_Hole_Diameter : int""")
9242 m_Tool_Reference = property(_pcbnew.HOLE_INFO_m_Tool_Reference_get, _pcbnew.HOLE_INFO_m_Tool_Reference_set, doc=
r"""m_Tool_Reference : int""")
9243 m_Hole_Size = property(_pcbnew.HOLE_INFO_m_Hole_Size_get, _pcbnew.HOLE_INFO_m_Hole_Size_set, doc=
r"""m_Hole_Size : VECTOR2I""")
9244 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""")
9245 m_Hole_Shape = property(_pcbnew.HOLE_INFO_m_Hole_Shape_get, _pcbnew.HOLE_INFO_m_Hole_Shape_set, doc=
r"""m_Hole_Shape : int""")
9246 m_Hole_Pos = property(_pcbnew.HOLE_INFO_m_Hole_Pos_get, _pcbnew.HOLE_INFO_m_Hole_Pos_set, doc=
r"""m_Hole_Pos : VECTOR2I""")
9247 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""")
9248 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""")
9249 m_Hole_NotPlated = property(_pcbnew.HOLE_INFO_m_Hole_NotPlated_get, _pcbnew.HOLE_INFO_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
9250 m_HoleAttribute = property(_pcbnew.HOLE_INFO_m_HoleAttribute_get, _pcbnew.HOLE_INFO_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
9251 __swig_destroy__ = _pcbnew.delete_HOLE_INFO
9254_pcbnew.HOLE_INFO_swigregister(HOLE_INFO)
9257 r"""Proxy of C++ DRILL_PRECISION class."""
9259 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9260 __repr__ = _swig_repr
9263 r"""__init__(DRILL_PRECISION self, int l=2, int r=4) -> DRILL_PRECISION"""
9264 _pcbnew.DRILL_PRECISION_swiginit(self, _pcbnew.new_DRILL_PRECISION(l, r))
9267 r"""GetPrecisionString(DRILL_PRECISION self) -> wxString"""
9268 return _pcbnew.DRILL_PRECISION_GetPrecisionString(self)
9269 m_Lhs = property(_pcbnew.DRILL_PRECISION_m_Lhs_get, _pcbnew.DRILL_PRECISION_m_Lhs_set, doc=
r"""m_Lhs : int""")
9270 m_Rhs = property(_pcbnew.DRILL_PRECISION_m_Rhs_get, _pcbnew.DRILL_PRECISION_m_Rhs_set, doc=
r"""m_Rhs : int""")
9271 __swig_destroy__ = _pcbnew.delete_DRILL_PRECISION
9274_pcbnew.DRILL_PRECISION_swigregister(DRILL_PRECISION)
9277 r"""Proxy of C++ GENDRILL_WRITER_BASE class."""
9279 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9282 raise AttributeError(
"No constructor defined")
9283 __repr__ = _swig_repr
9284 DECIMAL_FORMAT = _pcbnew.GENDRILL_WRITER_BASE_DECIMAL_FORMAT
9286 SUPPRESS_LEADING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_LEADING
9288 SUPPRESS_TRAILING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_TRAILING
9290 KEEP_ZEROS = _pcbnew.GENDRILL_WRITER_BASE_KEEP_ZEROS
9292 PTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_PTH_FILE
9294 NPTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_NPTH_FILE
9296 MIXED_FILE = _pcbnew.GENDRILL_WRITER_BASE_MIXED_FILE
9298 __swig_destroy__ = _pcbnew.delete_GENDRILL_WRITER_BASE
9301 r"""SetMergeOption(GENDRILL_WRITER_BASE self, bool aMerge)"""
9302 return _pcbnew.GENDRILL_WRITER_BASE_SetMergeOption(self, aMerge)
9305 r"""GetOffset(GENDRILL_WRITER_BASE self) -> VECTOR2I"""
9306 return _pcbnew.GENDRILL_WRITER_BASE_GetOffset(self)
9309 r"""SetPageInfo(GENDRILL_WRITER_BASE self, PAGE_INFO const * aPageInfo)"""
9310 return _pcbnew.GENDRILL_WRITER_BASE_SetPageInfo(self, aPageInfo)
9313 r"""SetMapFileFormat(GENDRILL_WRITER_BASE self, PLOT_FORMAT aMapFmt)"""
9314 return _pcbnew.GENDRILL_WRITER_BASE_SetMapFileFormat(self, aMapFmt)
9317 r"""CreateMapFilesSet(GENDRILL_WRITER_BASE self, wxString aPlotDirectory, REPORTER * aReporter=None) -> bool"""
9318 return _pcbnew.GENDRILL_WRITER_BASE_CreateMapFilesSet(self, aPlotDirectory, aReporter)
9321 r"""GenDrillReportFile(GENDRILL_WRITER_BASE self, wxString aFullFileName) -> bool"""
9322 return _pcbnew.GENDRILL_WRITER_BASE_GenDrillReportFile(self, aFullFileName)
9325 r"""GetDrillFileExt(GENDRILL_WRITER_BASE self) -> wxString"""
9326 return _pcbnew.GENDRILL_WRITER_BASE_GetDrillFileExt(self)
9329_pcbnew.GENDRILL_WRITER_BASE_swigregister(GENDRILL_WRITER_BASE)
9332 r"""Proxy of C++ EXCELLON_WRITER class."""
9334 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9335 __repr__ = _swig_repr
9338 r"""__init__(EXCELLON_WRITER self, BOARD aPcb) -> EXCELLON_WRITER"""
9339 _pcbnew.EXCELLON_WRITER_swiginit(self, _pcbnew.new_EXCELLON_WRITER(aPcb))
9340 __swig_destroy__ = _pcbnew.delete_EXCELLON_WRITER
9343 r"""GetOffset(EXCELLON_WRITER self) -> VECTOR2I"""
9344 return _pcbnew.EXCELLON_WRITER_GetOffset(self)
9347 r"""SetRouteModeForOvalHoles(EXCELLON_WRITER self, bool aUseRouteModeForOvalHoles)"""
9348 return _pcbnew.EXCELLON_WRITER_SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles)
9351 r"""SetFormat(EXCELLON_WRITER self, bool aMetric, GENDRILL_WRITER_BASE::ZEROS_FMT aZerosFmt=DECIMAL_FORMAT, int aLeftDigits=0, int aRightDigits=0)"""
9352 return _pcbnew.EXCELLON_WRITER_SetFormat(self, *args)
9354 def SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH):
9355 r"""SetOptions(EXCELLON_WRITER self, bool aMirror, bool aMinimalHeader, VECTOR2I aOffset, bool aMerge_PTH_NPTH)"""
9356 return _pcbnew.EXCELLON_WRITER_SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH)
9359 r"""CreateDrillandMapFilesSet(EXCELLON_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
9360 return _pcbnew.EXCELLON_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
9363_pcbnew.EXCELLON_WRITER_swigregister(EXCELLON_WRITER)
9366 r"""Proxy of C++ GERBER_WRITER class."""
9368 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9369 __repr__ = _swig_repr
9372 r"""__init__(GERBER_WRITER self, BOARD aPcb) -> GERBER_WRITER"""
9373 _pcbnew.GERBER_WRITER_swiginit(self, _pcbnew.new_GERBER_WRITER(aPcb))
9374 __swig_destroy__ = _pcbnew.delete_GERBER_WRITER
9377 r"""SetFormat(GERBER_WRITER self, int aRightDigits=6)"""
9378 return _pcbnew.GERBER_WRITER_SetFormat(self, aRightDigits)
9381 r"""SetOptions(GERBER_WRITER self, VECTOR2I aOffset)"""
9382 return _pcbnew.GERBER_WRITER_SetOptions(self, aOffset)
9385 r"""CreateDrillandMapFilesSet(GERBER_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
9386 return _pcbnew.GERBER_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
9389_pcbnew.GERBER_WRITER_swigregister(GERBER_WRITER)
9391SIDE_NONE = _pcbnew.SIDE_NONE
9393SIDE_TOP = _pcbnew.SIDE_TOP
9395SIDE_BOTTOM = _pcbnew.SIDE_BOTTOM
9397SIDE_BOTH = _pcbnew.SIDE_BOTH
9400 r"""Proxy of C++ JOBFILE_PARAMS class."""
9402 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9403 __repr__ = _swig_repr
9404 m_GerberFileList = property(_pcbnew.JOBFILE_PARAMS_m_GerberFileList_get, _pcbnew.JOBFILE_PARAMS_m_GerberFileList_set, doc=
r"""m_GerberFileList : wxArrayString""")
9405 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)>)>""")
9408 r"""__init__(JOBFILE_PARAMS self) -> JOBFILE_PARAMS"""
9409 _pcbnew.JOBFILE_PARAMS_swiginit(self, _pcbnew.new_JOBFILE_PARAMS())
9410 __swig_destroy__ = _pcbnew.delete_JOBFILE_PARAMS
9413_pcbnew.JOBFILE_PARAMS_swigregister(JOBFILE_PARAMS)
9416 r"""Proxy of C++ GERBER_JOBFILE_WRITER class."""
9418 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9419 __repr__ = _swig_repr
9422 r"""__init__(GERBER_JOBFILE_WRITER self, BOARD aPcb, REPORTER * aReporter=None) -> GERBER_JOBFILE_WRITER"""
9423 _pcbnew.GERBER_JOBFILE_WRITER_swiginit(self, _pcbnew.new_GERBER_JOBFILE_WRITER(aPcb, aReporter))
9424 __swig_destroy__ = _pcbnew.delete_GERBER_JOBFILE_WRITER
9427 r"""AddGbrFile(GERBER_JOBFILE_WRITER self, PCB_LAYER_ID aLayer, wxString aFilename)"""
9428 return _pcbnew.GERBER_JOBFILE_WRITER_AddGbrFile(self, aLayer, aFilename)
9431 r"""CreateJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9432 return _pcbnew.GERBER_JOBFILE_WRITER_CreateJobFile(self, aFullFilename)
9435 r"""WriteJSONJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9436 return _pcbnew.GERBER_JOBFILE_WRITER_WriteJSONJobFile(self, aFullFilename)
9439_pcbnew.GERBER_JOBFILE_WRITER_swigregister(GERBER_JOBFILE_WRITER)
9441ROOM_FOR_KICADMANAGER = _pcbnew.ROOM_FOR_KICADMANAGER
9443ROOM_FOR_3D_VIEWER = _pcbnew.ROOM_FOR_3D_VIEWER
9445ROOM_FOR_PANEL_PREV_MODEL = _pcbnew.ROOM_FOR_PANEL_PREV_MODEL
9447DEFAULT_FILE_HISTORY_SIZE = _pcbnew.DEFAULT_FILE_HISTORY_SIZE
9449MAX_FILE_HISTORY_SIZE = _pcbnew.MAX_FILE_HISTORY_SIZE
9451ID_APPEND_PROJECT = _pcbnew.ID_APPEND_PROJECT
9453ID_LOAD_FILE = _pcbnew.ID_LOAD_FILE
9455ID_NEW_BOARD = _pcbnew.ID_NEW_BOARD
9457ID_SAVE_BOARD = _pcbnew.ID_SAVE_BOARD
9459ID_SAVE_BOARD_AS = _pcbnew.ID_SAVE_BOARD_AS
9461ID_AUTO_SAVE_TIMER = _pcbnew.ID_AUTO_SAVE_TIMER
9463ID_FILE = _pcbnew.ID_FILE
9465ID_FILE1 = _pcbnew.ID_FILE1
9467ID_FILEMAX = _pcbnew.ID_FILEMAX
9469ID_FILE_LIST_EMPTY = _pcbnew.ID_FILE_LIST_EMPTY
9471ID_FILE_LIST_CLEAR = _pcbnew.ID_FILE_LIST_CLEAR
9473ID_PREFERENCES_RESET_PANEL = _pcbnew.ID_PREFERENCES_RESET_PANEL
9475ID_GEN_PLOT = _pcbnew.ID_GEN_PLOT
9477ID_GEN_PLOT_PS = _pcbnew.ID_GEN_PLOT_PS
9479ID_GEN_PLOT_HPGL = _pcbnew.ID_GEN_PLOT_HPGL
9481ID_GEN_PLOT_GERBER = _pcbnew.ID_GEN_PLOT_GERBER
9483ID_GEN_PLOT_SVG = _pcbnew.ID_GEN_PLOT_SVG
9485ID_GEN_PLOT_DXF = _pcbnew.ID_GEN_PLOT_DXF
9487ID_GEN_PLOT_PDF = _pcbnew.ID_GEN_PLOT_PDF
9489ID_H_TOOLBAR = _pcbnew.ID_H_TOOLBAR
9491ID_V_TOOLBAR = _pcbnew.ID_V_TOOLBAR
9493ID_OPT_TOOLBAR = _pcbnew.ID_OPT_TOOLBAR
9495ID_AUX_TOOLBAR = _pcbnew.ID_AUX_TOOLBAR
9497ID_LANGUAGE_CHOICE = _pcbnew.ID_LANGUAGE_CHOICE
9499ID_LANGUAGE_DANISH = _pcbnew.ID_LANGUAGE_DANISH
9501ID_LANGUAGE_DEFAULT = _pcbnew.ID_LANGUAGE_DEFAULT
9503ID_LANGUAGE_ENGLISH = _pcbnew.ID_LANGUAGE_ENGLISH
9505ID_LANGUAGE_FRENCH = _pcbnew.ID_LANGUAGE_FRENCH
9507ID_LANGUAGE_FINNISH = _pcbnew.ID_LANGUAGE_FINNISH
9509ID_LANGUAGE_SPANISH = _pcbnew.ID_LANGUAGE_SPANISH
9511ID_LANGUAGE_SPANISH_MEXICAN = _pcbnew.ID_LANGUAGE_SPANISH_MEXICAN
9513ID_LANGUAGE_GERMAN = _pcbnew.ID_LANGUAGE_GERMAN
9515ID_LANGUAGE_GREEK = _pcbnew.ID_LANGUAGE_GREEK
9517ID_LANGUAGE_NORWEGIAN = _pcbnew.ID_LANGUAGE_NORWEGIAN
9519ID_LANGUAGE_RUSSIAN = _pcbnew.ID_LANGUAGE_RUSSIAN
9521ID_LANGUAGE_PORTUGUESE = _pcbnew.ID_LANGUAGE_PORTUGUESE
9523ID_LANGUAGE_PORTUGUESE_BRAZILIAN = _pcbnew.ID_LANGUAGE_PORTUGUESE_BRAZILIAN
9525ID_LANGUAGE_TURKISH = _pcbnew.ID_LANGUAGE_TURKISH
9527ID_LANGUAGE_INDONESIAN = _pcbnew.ID_LANGUAGE_INDONESIAN
9529ID_LANGUAGE_ITALIAN = _pcbnew.ID_LANGUAGE_ITALIAN
9531ID_LANGUAGE_SLOVENIAN = _pcbnew.ID_LANGUAGE_SLOVENIAN
9533ID_LANGUAGE_SLOVAK = _pcbnew.ID_LANGUAGE_SLOVAK
9535ID_LANGUAGE_HUNGARIAN = _pcbnew.ID_LANGUAGE_HUNGARIAN
9537ID_LANGUAGE_POLISH = _pcbnew.ID_LANGUAGE_POLISH
9539ID_LANGUAGE_CZECH = _pcbnew.ID_LANGUAGE_CZECH
9541ID_LANGUAGE_KOREAN = _pcbnew.ID_LANGUAGE_KOREAN
9543ID_LANGUAGE_CATALAN = _pcbnew.ID_LANGUAGE_CATALAN
9545ID_LANGUAGE_CHINESE_SIMPLIFIED = _pcbnew.ID_LANGUAGE_CHINESE_SIMPLIFIED
9547ID_LANGUAGE_CHINESE_TRADITIONAL = _pcbnew.ID_LANGUAGE_CHINESE_TRADITIONAL
9549ID_LANGUAGE_DUTCH = _pcbnew.ID_LANGUAGE_DUTCH
9551ID_LANGUAGE_JAPANESE = _pcbnew.ID_LANGUAGE_JAPANESE
9553ID_LANGUAGE_BULGARIAN = _pcbnew.ID_LANGUAGE_BULGARIAN
9555ID_LANGUAGE_LATVIAN = _pcbnew.ID_LANGUAGE_LATVIAN
9557ID_LANGUAGE_LITHUANIAN = _pcbnew.ID_LANGUAGE_LITHUANIAN
9559ID_LANGUAGE_VIETNAMESE = _pcbnew.ID_LANGUAGE_VIETNAMESE
9561ID_LANGUAGE_SERBIAN = _pcbnew.ID_LANGUAGE_SERBIAN
9563ID_LANGUAGE_THAI = _pcbnew.ID_LANGUAGE_THAI
9565ID_LANGUAGE_SWEDISH = _pcbnew.ID_LANGUAGE_SWEDISH
9567ID_LANGUAGE_UKRANIAN = _pcbnew.ID_LANGUAGE_UKRANIAN
9569ID_LANGUAGE_CHOICE_END = _pcbnew.ID_LANGUAGE_CHOICE_END
9571ID_ON_ZOOM_SELECT = _pcbnew.ID_ON_ZOOM_SELECT
9573ID_ON_GRID_SELECT = _pcbnew.ID_ON_GRID_SELECT
9575ID_POPUP_ZOOM_LEVEL_START = _pcbnew.ID_POPUP_ZOOM_LEVEL_START
9577ID_POPUP_ZOOM_LEVEL_END = _pcbnew.ID_POPUP_ZOOM_LEVEL_END
9579ID_POPUP_GRID_START = _pcbnew.ID_POPUP_GRID_START
9581ID_POPUP_GRID_END = _pcbnew.ID_POPUP_GRID_END
9583ID_EDA_SOCKET_EVENT_SERV = _pcbnew.ID_EDA_SOCKET_EVENT_SERV
9585ID_EDA_SOCKET_EVENT = _pcbnew.ID_EDA_SOCKET_EVENT
9587ID_KICAD_MANAGER_START = _pcbnew.ID_KICAD_MANAGER_START
9589ID_KICAD_MANAGER_END = _pcbnew.ID_KICAD_MANAGER_END
9591ID_KICAD_3D_VIEWER_START = _pcbnew.ID_KICAD_3D_VIEWER_START
9593ID_KICAD_3D_VIEWER_END = _pcbnew.ID_KICAD_3D_VIEWER_END
9595ID_KICAD_PANEL_PREV_MODEL_START = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_START
9597ID_KICAD_PANEL_PREV_MODEL_END = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_END
9599ID_POPUP_MENU_START = _pcbnew.ID_POPUP_MENU_START
9601ID_POPUP_MENU_END = _pcbnew.ID_POPUP_MENU_END
9603ID_END_LIST = _pcbnew.ID_END_LIST
9607 r"""GetBoard() -> BOARD"""
9608 return _pcbnew.GetBoard()
9612 LoadBoard(wxString aFileName, PCB_IO_MGR::PCB_FILE_T aFormat) -> BOARD
9615 return _pcbnew.LoadBoard(*args)
9618 r"""NewBoard(wxString aFileName) -> BOARD"""
9619 return _pcbnew.NewBoard(aFileName)
9622 r"""GetSettingsManager() -> SETTINGS_MANAGER"""
9623 return _pcbnew.GetSettingsManager()
9626 r"""CreateEmptyBoard() -> BOARD"""
9627 return _pcbnew.CreateEmptyBoard()
9630 r"""SaveBoard(wxString aFileName, BOARD aBoard, bool aSkipSettings=False) -> bool"""
9631 return _pcbnew.SaveBoard(aFileName, aBoard, aSkipSettings)
9634 r"""GetFootprintLibraries() -> wxArrayString"""
9635 return _pcbnew.GetFootprintLibraries()
9638 r"""GetFootprints(wxString aNickName) -> wxArrayString"""
9639 return _pcbnew.GetFootprints(aNickName)
9646 return _pcbnew.ExportSpecctraDSN(*args)
9648def ExportVRML(aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
9649 r"""ExportVRML(wxString aFullFileName, double aMMtoWRMLunit, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
9650 return _pcbnew.ExportVRML(aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
9657 return _pcbnew.ImportSpecctraSES(*args)
9660 r"""ExportFootprintsToLibrary(bool aStoreInNewLib, wxString aLibName=wxEmptyString, wxString aLibPath=None) -> bool"""
9661 return _pcbnew.ExportFootprintsToLibrary(*args)
9665 return _pcbnew.Refresh()
9668 r"""UpdateUserInterface()"""
9669 return _pcbnew.UpdateUserInterface()
9672 r"""GetUserUnits() -> int"""
9673 return _pcbnew.GetUserUnits()
9676 r"""GetCurrentSelection() -> DRAWINGS"""
9677 return _pcbnew.GetCurrentSelection()
9680 r"""FocusOnItem(BOARD_ITEM aItem, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
9681 return _pcbnew.FocusOnItem(aItem, aLayer)
9684 r"""IsActionRunning() -> bool"""
9685 return _pcbnew.IsActionRunning()
9688 r"""WriteDRCReport(BOARD aBoard, wxString aFileName, EDA_UNITS aUnits, bool aReportAllTrackErrors) -> bool"""
9689 return _pcbnew.WriteDRCReport(aBoard, aFileName, aUnits, aReportAllTrackErrors)
9692 r"""GetLanguage() -> wxString"""
9693 return _pcbnew.GetLanguage()
9694ZLO_NONE = _pcbnew.ZLO_NONE
9696ZLO_FORCE_FLASHED = _pcbnew.ZLO_FORCE_FLASHED
9698ZLO_FORCE_NO_ZONE_CONNECTION = _pcbnew.ZLO_FORCE_NO_ZONE_CONNECTION
9701 r"""Proxy of C++ BOARD_ITEM class."""
9703 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9706 raise AttributeError(
"No constructor defined - class is abstract")
9707 __repr__ = _swig_repr
9708 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM
9711 r"""SetParentGroup(BOARD_ITEM self, PCB_GROUP aGroup)"""
9712 return _pcbnew.BOARD_ITEM_SetParentGroup(self, aGroup)
9715 r"""GetParentGroup(BOARD_ITEM self) -> PCB_GROUP"""
9716 return _pcbnew.BOARD_ITEM_GetParentGroup(self)
9719 r"""GetX(BOARD_ITEM self) -> int"""
9720 return _pcbnew.BOARD_ITEM_GetX(self)
9723 r"""GetY(BOARD_ITEM self) -> int"""
9724 return _pcbnew.BOARD_ITEM_GetY(self)
9727 r"""GetCenter(BOARD_ITEM self) -> VECTOR2I"""
9728 return _pcbnew.BOARD_ITEM_GetCenter(self)
9731 r"""SetX(BOARD_ITEM self, int aX)"""
9732 return _pcbnew.BOARD_ITEM_SetX(self, aX)
9735 r"""SetY(BOARD_ITEM self, int aY)"""
9736 return _pcbnew.BOARD_ITEM_SetY(self, aY)
9739 r"""IsConnected(BOARD_ITEM self) -> bool"""
9740 return _pcbnew.BOARD_ITEM_IsConnected(self)
9743 r"""Similarity(BOARD_ITEM self, BOARD_ITEM aItem) -> double"""
9744 return _pcbnew.BOARD_ITEM_Similarity(self, aItem)
9747 r"""__eq__(BOARD_ITEM self, BOARD_ITEM aItem) -> bool"""
9748 return _pcbnew.BOARD_ITEM___eq__(self, aItem)
9751 r"""IsOnCopperLayer(BOARD_ITEM self) -> bool"""
9752 return _pcbnew.BOARD_ITEM_IsOnCopperLayer(self)
9755 r"""HasHole(BOARD_ITEM self) -> bool"""
9756 return _pcbnew.BOARD_ITEM_HasHole(self)
9759 r"""IsTented(BOARD_ITEM self) -> bool"""
9760 return _pcbnew.BOARD_ITEM_IsTented(self)
9763 r"""GetEffectiveShape(BOARD_ITEM self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
9764 return _pcbnew.BOARD_ITEM_GetEffectiveShape(self, *args)
9767 r"""GetEffectiveHoleShape(BOARD_ITEM self) -> std::shared_ptr< SHAPE_SEGMENT >"""
9768 return _pcbnew.BOARD_ITEM_GetEffectiveHoleShape(self)
9771 r"""RunOnChildren(BOARD_ITEM self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
9772 return _pcbnew.BOARD_ITEM_RunOnChildren(self, aFunction)
9775 r"""RunOnDescendants(BOARD_ITEM self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
9776 return _pcbnew.BOARD_ITEM_RunOnDescendants(self, aFunction, aDepth)
9779 r"""GetParent(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
9780 return _pcbnew.BOARD_ITEM_GetParent(self)
9783 r"""GetParentFootprint(BOARD_ITEM self) -> FOOTPRINT"""
9784 return _pcbnew.BOARD_ITEM_GetParentFootprint(self)
9787 r"""GetFPRelativePosition(BOARD_ITEM self) -> VECTOR2I"""
9788 return _pcbnew.BOARD_ITEM_GetFPRelativePosition(self)
9791 r"""SetFPRelativePosition(BOARD_ITEM self, VECTOR2I aPos)"""
9792 return _pcbnew.BOARD_ITEM_SetFPRelativePosition(self, aPos)
9795 r"""HasLineStroke(BOARD_ITEM self) -> bool"""
9796 return _pcbnew.BOARD_ITEM_HasLineStroke(self)
9799 r"""GetStroke(BOARD_ITEM self) -> STROKE_PARAMS"""
9800 return _pcbnew.BOARD_ITEM_GetStroke(self)
9803 r"""SetStroke(BOARD_ITEM self, STROKE_PARAMS const & aStroke)"""
9804 return _pcbnew.BOARD_ITEM_SetStroke(self, aStroke)
9807 r"""GetFontMetrics(BOARD_ITEM self) -> KIFONT::METRICS const &"""
9808 return _pcbnew.BOARD_ITEM_GetFontMetrics(self)
9811 r"""GetLayer(BOARD_ITEM self) -> PCB_LAYER_ID"""
9812 return _pcbnew.BOARD_ITEM_GetLayer(self)
9815 r"""GetLayerSet(BOARD_ITEM self) -> LSET"""
9816 return _pcbnew.BOARD_ITEM_GetLayerSet(self)
9819 r"""SetLayerSet(BOARD_ITEM self, LSET aLayers)"""
9820 return _pcbnew.BOARD_ITEM_SetLayerSet(self, aLayers)
9823 r"""SetLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer)"""
9824 return _pcbnew.BOARD_ITEM_SetLayer(self, aLayer)
9827 r"""Duplicate(BOARD_ITEM self) -> BOARD_ITEM"""
9828 return _pcbnew.BOARD_ITEM_Duplicate(self)
9831 r"""SwapItemData(BOARD_ITEM self, BOARD_ITEM aImage)"""
9832 return _pcbnew.BOARD_ITEM_SwapItemData(self, aImage)
9835 r"""IsOnLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer) -> bool"""
9836 return _pcbnew.BOARD_ITEM_IsOnLayer(self, aLayer)
9839 r"""IsKnockout(BOARD_ITEM self) -> bool"""
9840 return _pcbnew.BOARD_ITEM_IsKnockout(self)
9843 r"""SetIsKnockout(BOARD_ITEM self, bool aKnockout)"""
9844 return _pcbnew.BOARD_ITEM_SetIsKnockout(self, aKnockout)
9847 r"""IsLocked(BOARD_ITEM self) -> bool"""
9848 return _pcbnew.BOARD_ITEM_IsLocked(self)
9851 r"""SetLocked(BOARD_ITEM self, bool aLocked)"""
9852 return _pcbnew.BOARD_ITEM_SetLocked(self, aLocked)
9855 r"""StyleFromSettings(BOARD_ITEM self, BOARD_DESIGN_SETTINGS settings)"""
9856 return _pcbnew.BOARD_ITEM_StyleFromSettings(self, settings)
9859 r"""DeleteStructure(BOARD_ITEM self)"""
9860 return _pcbnew.BOARD_ITEM_DeleteStructure(self)
9863 r"""Move(BOARD_ITEM self, VECTOR2I aMoveVector)"""
9864 return _pcbnew.BOARD_ITEM_Move(self, aMoveVector)
9867 r"""Rotate(BOARD_ITEM self, VECTOR2I aRotCentre, EDA_ANGLE aAngle)"""
9868 return _pcbnew.BOARD_ITEM_Rotate(self, aRotCentre, aAngle)
9870 def Flip(self, aCentre, aFlipLeftRight):
9871 r"""Flip(BOARD_ITEM self, VECTOR2I aCentre, bool aFlipLeftRight)"""
9872 return _pcbnew.BOARD_ITEM_Flip(self, aCentre, aFlipLeftRight)
9875 r"""Normalize(BOARD_ITEM self)"""
9876 return _pcbnew.BOARD_ITEM_Normalize(self)
9879 r"""NormalizeForCompare(BOARD_ITEM self)"""
9880 return _pcbnew.BOARD_ITEM_NormalizeForCompare(self)
9887 return _pcbnew.BOARD_ITEM_GetBoard(self, *args)
9890 r"""GetParentAsString(BOARD_ITEM self) -> wxString"""
9891 return _pcbnew.BOARD_ITEM_GetParentAsString(self)
9894 r"""GetLayerName(BOARD_ITEM self) -> wxString"""
9895 return _pcbnew.BOARD_ITEM_GetLayerName(self)
9898 r"""TransformShapeToPolygon(BOARD_ITEM self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
9899 return _pcbnew.BOARD_ITEM_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
9900 DRC = _pcbnew.BOARD_ITEM_DRC
9909 if ct==
"PCB_TEXTBOX":
9913 elif ct==
"PCB_DIM_ALIGNED":
9915 elif ct==
"PCB_DIM_LEADER":
9917 elif ct==
"PCB_DIM_CENTER":
9919 elif ct==
"PCB_DIM_RADIAL":
9921 elif ct==
"PCB_DIM_ORTHOGONAL":
9923 elif ct==
"PCB_SHAPE":
9925 elif ct==
"FOOTPRINT":
9927 elif ct==
"PCB_GROUP":
9933 elif ct==
"PCB_TRACK":
9937 elif ct==
"PCB_TARGET":
9939 elif ct==
"PCB_REFERENCE_IMAGE":
9944 raise TypeError(
"Unsupported drawing class: %s" % ct)
9947 Needed to cast BOARD_ITEM::Duplicate() to the suitable type
9961 self.SetStart(start)
9968_pcbnew.BOARD_ITEM_swigregister(BOARD_ITEM)
9971 r"""Proxy of C++ DELETED_BOARD_ITEM class."""
9973 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9974 __repr__ = _swig_repr
9977 r"""__init__(DELETED_BOARD_ITEM self) -> DELETED_BOARD_ITEM"""
9978 _pcbnew.DELETED_BOARD_ITEM_swiginit(self, _pcbnew.new_DELETED_BOARD_ITEM())
9982 r"""GetInstance() -> DELETED_BOARD_ITEM"""
9983 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
9984 __swig_destroy__ = _pcbnew.delete_DELETED_BOARD_ITEM
9987_pcbnew.DELETED_BOARD_ITEM_swigregister(DELETED_BOARD_ITEM)
9990 r"""DELETED_BOARD_ITEM_GetInstance() -> DELETED_BOARD_ITEM"""
9991 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
9993IS_CHANGED = _pcbnew.IS_CHANGED
9995IS_LINKED = _pcbnew.IS_LINKED
9997IN_EDIT = _pcbnew.IN_EDIT
9999IS_MOVING = _pcbnew.IS_MOVING
10001IS_NEW = _pcbnew.IS_NEW
10003IS_BROKEN = _pcbnew.IS_BROKEN
10005IS_DELETED = _pcbnew.IS_DELETED
10007STARTPOINT = _pcbnew.STARTPOINT
10009ENDPOINT = _pcbnew.ENDPOINT
10011SELECTED = _pcbnew.SELECTED
10013SELECTED_BY_DRAG = _pcbnew.SELECTED_BY_DRAG
10015STRUCT_DELETED = _pcbnew.STRUCT_DELETED
10017CANDIDATE = _pcbnew.CANDIDATE
10019SKIP_STRUCT = _pcbnew.SKIP_STRUCT
10021IS_PASTED = _pcbnew.IS_PASTED
10023IS_SHOWN_AS_BITMAP = _pcbnew.IS_SHOWN_AS_BITMAP
10025COURTYARD_CONFLICT = _pcbnew.COURTYARD_CONFLICT
10027MALFORMED_F_COURTYARD = _pcbnew.MALFORMED_F_COURTYARD
10029MALFORMED_B_COURTYARD = _pcbnew.MALFORMED_B_COURTYARD
10031MALFORMED_COURTYARDS = _pcbnew.MALFORMED_COURTYARDS
10033ROUTER_TRANSIENT = _pcbnew.ROUTER_TRANSIENT
10035HOLE_PROXY = _pcbnew.HOLE_PROXY
10037IS_ROLLOVER = _pcbnew.IS_ROLLOVER
10039SHOW_ELEC_TYPE = _pcbnew.SHOW_ELEC_TYPE
10041BRIGHTENED = _pcbnew.BRIGHTENED
10043UR_TRANSIENT = _pcbnew.UR_TRANSIENT
10045IS_DANGLING = _pcbnew.IS_DANGLING
10047ENTERED = _pcbnew.ENTERED
10050 r"""Proxy of C++ UNITS_PROVIDER class."""
10052 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10053 __repr__ = _swig_repr
10056 r"""__init__(UNITS_PROVIDER self, EDA_IU_SCALE aIuScale, EDA_UNITS aUnits) -> UNITS_PROVIDER"""
10057 _pcbnew.UNITS_PROVIDER_swiginit(self, _pcbnew.new_UNITS_PROVIDER(aIuScale, aUnits))
10058 __swig_destroy__ = _pcbnew.delete_UNITS_PROVIDER
10061 r"""GetUserUnits(UNITS_PROVIDER self) -> EDA_UNITS"""
10062 return _pcbnew.UNITS_PROVIDER_GetUserUnits(self)
10065 r"""SetUserUnits(UNITS_PROVIDER self, EDA_UNITS aUnits)"""
10066 return _pcbnew.UNITS_PROVIDER_SetUserUnits(self, aUnits)
10069 r"""GetUnitPair(UNITS_PROVIDER self, EDA_UNITS & aPrimaryUnit, EDA_UNITS & aSecondaryUnits)"""
10070 return _pcbnew.UNITS_PROVIDER_GetUnitPair(self, aPrimaryUnit, aSecondaryUnits)
10073 r"""GetIuScale(UNITS_PROVIDER self) -> EDA_IU_SCALE"""
10074 return _pcbnew.UNITS_PROVIDER_GetIuScale(self)
10077 r"""GetOriginTransforms(UNITS_PROVIDER self) -> ORIGIN_TRANSFORMS &"""
10078 return _pcbnew.UNITS_PROVIDER_GetOriginTransforms(self)
10082 StringFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString
10083 StringFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
False) -> wxString
10085 return _pcbnew.UNITS_PROVIDER_StringFromValue(self, *args)
10089 MessageTextFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
10090 MessageTextFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
True) -> wxString
10092 return _pcbnew.UNITS_PROVIDER_MessageTextFromValue(self, *args)
10095 r"""MessageTextFromMinOptMax(UNITS_PROVIDER self, MINOPTMAX< int > const & aValue) -> wxString"""
10096 return _pcbnew.UNITS_PROVIDER_MessageTextFromMinOptMax(self, aValue)
10099 r"""ValueFromString(UNITS_PROVIDER self, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> int"""
10100 return _pcbnew.UNITS_PROVIDER_ValueFromString(self, *args)
10103 r"""AngleValueFromString(UNITS_PROVIDER self, wxString aTextValue) -> EDA_ANGLE"""
10104 return _pcbnew.UNITS_PROVIDER_AngleValueFromString(self, aTextValue)
10107_pcbnew.UNITS_PROVIDER_swigregister(UNITS_PROVIDER)
10111 r"""Cast_to_BOARD_ITEM(EDA_ITEM base) -> BOARD_ITEM"""
10112 return _pcbnew.Cast_to_BOARD_ITEM(base)
10115 r"""Cast_to_PCB_TEXT(BOARD_ITEM arg1) -> PCB_TEXT"""
10116 return _pcbnew.Cast_to_PCB_TEXT(arg1)
10119 r"""Cast_to_PCB_TEXTBOX(BOARD_ITEM arg1) -> PCB_TEXTBOX"""
10120 return _pcbnew.Cast_to_PCB_TEXTBOX(arg1)
10123 r"""Cast_to_PCB_DIM_ALIGNED(BOARD_ITEM arg1) -> PCB_DIM_ALIGNED"""
10124 return _pcbnew.Cast_to_PCB_DIM_ALIGNED(arg1)
10127 r"""Cast_to_PCB_DIM_ORTHOGONAL(BOARD_ITEM arg1) -> PCB_DIM_ORTHOGONAL"""
10128 return _pcbnew.Cast_to_PCB_DIM_ORTHOGONAL(arg1)
10131 r"""Cast_to_PCB_DIM_LEADER(BOARD_ITEM arg1) -> PCB_DIM_LEADER"""
10132 return _pcbnew.Cast_to_PCB_DIM_LEADER(arg1)
10135 r"""Cast_to_PCB_DIM_CENTER(BOARD_ITEM arg1) -> PCB_DIM_CENTER"""
10136 return _pcbnew.Cast_to_PCB_DIM_CENTER(arg1)
10139 r"""Cast_to_PCB_DIM_RADIAL(BOARD_ITEM arg1) -> PCB_DIM_RADIAL"""
10140 return _pcbnew.Cast_to_PCB_DIM_RADIAL(arg1)
10143 r"""Cast_to_FOOTPRINT(BOARD_ITEM arg1) -> FOOTPRINT"""
10144 return _pcbnew.Cast_to_FOOTPRINT(arg1)
10147 r"""Cast_to_PCB_GROUP(BOARD_ITEM arg1) -> PCB_GROUP"""
10148 return _pcbnew.Cast_to_PCB_GROUP(arg1)
10151 r"""Cast_to_PCB_SHAPE(BOARD_ITEM arg1) -> PCB_SHAPE"""
10152 return _pcbnew.Cast_to_PCB_SHAPE(arg1)
10155 r"""Cast_to_PCB_MARKER(BOARD_ITEM arg1) -> PCB_MARKER"""
10156 return _pcbnew.Cast_to_PCB_MARKER(arg1)
10159 r"""Cast_to_BOARD(BOARD_ITEM arg1) -> BOARD"""
10160 return _pcbnew.Cast_to_BOARD(arg1)
10163 r"""Cast_to_PAD(BOARD_ITEM arg1) -> PAD"""
10164 return _pcbnew.Cast_to_PAD(arg1)
10167 r"""Cast_to_PCB_TRACK(BOARD_ITEM arg1) -> PCB_TRACK"""
10168 return _pcbnew.Cast_to_PCB_TRACK(arg1)
10171 r"""Cast_to_PCB_VIA(BOARD_ITEM arg1) -> PCB_VIA"""
10172 return _pcbnew.Cast_to_PCB_VIA(arg1)
10175 r"""Cast_to_PCB_ARC(BOARD_ITEM arg1) -> PCB_ARC"""
10176 return _pcbnew.Cast_to_PCB_ARC(arg1)
10179 r"""Cast_to_ZONE(BOARD_ITEM arg1) -> ZONE"""
10180 return _pcbnew.Cast_to_ZONE(arg1)
10183 r"""Cast_to_PCB_TARGET(BOARD_ITEM arg1) -> PCB_TARGET"""
10184 return _pcbnew.Cast_to_PCB_TARGET(arg1)
10187 r"""Cast_to_PCB_REFERENCE_IMAGE(BOARD_ITEM arg1) -> PCB_REFERENCE_IMAGE"""
10188 return _pcbnew.Cast_to_PCB_REFERENCE_IMAGE(arg1)
10189ADD_MODE_INSERT = _pcbnew.ADD_MODE_INSERT
10191ADD_MODE_APPEND = _pcbnew.ADD_MODE_APPEND
10193ADD_MODE_BULK_APPEND = _pcbnew.ADD_MODE_BULK_APPEND
10195ADD_MODE_BULK_INSERT = _pcbnew.ADD_MODE_BULK_INSERT
10197REMOVE_MODE_NORMAL = _pcbnew.REMOVE_MODE_NORMAL
10199REMOVE_MODE_BULK = _pcbnew.REMOVE_MODE_BULK
10202 r"""Proxy of C++ BOARD_ITEM_CONTAINER class."""
10204 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10207 raise AttributeError(
"No constructor defined - class is abstract")
10208 __repr__ = _swig_repr
10211 r"""AddNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
10212 return _pcbnew.BOARD_ITEM_CONTAINER_AddNative(self, *args)
10215 r"""RemoveNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
10216 return _pcbnew.BOARD_ITEM_CONTAINER_RemoveNative(self, *args)
10219 r"""DeleteNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)"""
10220 return _pcbnew.BOARD_ITEM_CONTAINER_DeleteNative(self, aItem)
10224 Add a BOARD_ITEM to this BOARD_ITEM_CONTAINER, clear the thisown to prevent
10225 python from deleting the object
in the garbage collector
10226 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, BOARD_ADD_MODE aMode=BOARD_ADD_MODE::INSERT)
10227 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)
10234 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
10235 the python wrapper owns the C++ BOARD_ITEM
10236 Remove(self, BOARD_ITEM)
10244 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
10245 the python wrapper does
not owns the C++ BOARD_ITEM
10246 Delete(self, BOARD_ITEM)
10252 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM_CONTAINER
10255_pcbnew.BOARD_ITEM_CONTAINER_swigregister(BOARD_ITEM_CONTAINER)
10258 r"""Proxy of C++ BOARD_CONNECTED_ITEM class."""
10260 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10263 raise AttributeError(
"No constructor defined - class is abstract")
10264 __repr__ = _swig_repr
10268 r"""ClassOf(EDA_ITEM aItem) -> bool"""
10269 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
10272 r"""GetNet(BOARD_CONNECTED_ITEM self) -> NETINFO_ITEM"""
10273 return _pcbnew.BOARD_CONNECTED_ITEM_GetNet(self)
10276 r"""SetNet(BOARD_CONNECTED_ITEM self, NETINFO_ITEM aNetInfo)"""
10277 return _pcbnew.BOARD_CONNECTED_ITEM_SetNet(self, aNetInfo)
10280 r"""GetNetCode(BOARD_CONNECTED_ITEM self) -> int"""
10281 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetCode(self)
10285 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode, bool aNoAssert) -> bool
10286 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode)
10288 return _pcbnew.BOARD_CONNECTED_ITEM_SetNetCode(self, *args)
10291 r"""GetNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10292 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetname(self)
10295 r"""GetNetnameMsg(BOARD_CONNECTED_ITEM self) -> wxString"""
10296 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetnameMsg(self)
10299 r"""GetShortNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10300 return _pcbnew.BOARD_CONNECTED_ITEM_GetShortNetname(self)
10303 r"""GetDisplayNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10304 return _pcbnew.BOARD_CONNECTED_ITEM_GetDisplayNetname(self)
10307 r"""GetOwnClearance(BOARD_CONNECTED_ITEM self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
10308 return _pcbnew.BOARD_CONNECTED_ITEM_GetOwnClearance(self, aLayer, aSource)
10311 r"""GetLocalClearanceOverrides(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
10312 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearanceOverrides(self, aSource)
10315 r"""GetLocalClearance(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
10316 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearance(self, aSource)
10319 r"""GetEffectiveNetClass(BOARD_CONNECTED_ITEM self) -> NETCLASS"""
10320 return _pcbnew.BOARD_CONNECTED_ITEM_GetEffectiveNetClass(self)
10323 r"""GetNetClassName(BOARD_CONNECTED_ITEM self) -> wxString"""
10324 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClassName(self)
10327 r"""SetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self, bool aVisible)"""
10328 return _pcbnew.BOARD_CONNECTED_ITEM_SetLocalRatsnestVisible(self, aVisible)
10331 r"""GetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self) -> bool"""
10332 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalRatsnestVisible(self)
10339 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropParams(self, *args)
10342 r"""SetTeardropsEnabled(BOARD_CONNECTED_ITEM self, bool aEnable)"""
10343 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropsEnabled(self, aEnable)
10346 r"""GetTeardropsEnabled(BOARD_CONNECTED_ITEM self) -> bool"""
10347 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropsEnabled(self)
10350 r"""SetTeardropBestLengthRatio(BOARD_CONNECTED_ITEM self, double aRatio)"""
10351 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropBestLengthRatio(self, aRatio)
10354 r"""GetTeardropBestLengthRatio(BOARD_CONNECTED_ITEM self) -> double"""
10355 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropBestLengthRatio(self)
10358 r"""SetTeardropMaxLength(BOARD_CONNECTED_ITEM self, int aMaxLength)"""
10359 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxLength(self, aMaxLength)
10362 r"""GetTeardropMaxLength(BOARD_CONNECTED_ITEM self) -> int"""
10363 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxLength(self)
10366 r"""SetTeardropBestWidthRatio(BOARD_CONNECTED_ITEM self, double aRatio)"""
10367 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropBestWidthRatio(self, aRatio)
10370 r"""GetTeardropBestWidthRatio(BOARD_CONNECTED_ITEM self) -> double"""
10371 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropBestWidthRatio(self)
10374 r"""SetTeardropMaxWidth(BOARD_CONNECTED_ITEM self, int aMaxWidth)"""
10375 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxWidth(self, aMaxWidth)
10378 r"""GetTeardropMaxWidth(BOARD_CONNECTED_ITEM self) -> int"""
10379 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxWidth(self)
10382 r"""SetTeardropCurvePts(BOARD_CONNECTED_ITEM self, int aPointCount)"""
10383 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropCurvePts(self, aPointCount)
10386 r"""GetTeardropCurvePts(BOARD_CONNECTED_ITEM self) -> int"""
10387 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropCurvePts(self)
10390 r"""SetTeardropPreferZoneConnections(BOARD_CONNECTED_ITEM self, bool aPrefer)"""
10391 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropPreferZoneConnections(self, aPrefer)
10394 r"""GetTeardropPreferZoneConnections(BOARD_CONNECTED_ITEM self) -> bool"""
10395 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropPreferZoneConnections(self)
10398 r"""SetTeardropAllowSpanTwoTracks(BOARD_CONNECTED_ITEM self, bool aAllow)"""
10399 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropAllowSpanTwoTracks(self, aAllow)
10402 r"""GetTeardropAllowSpanTwoTracks(BOARD_CONNECTED_ITEM self) -> bool"""
10403 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropAllowSpanTwoTracks(self)
10406 r"""SetTeardropMaxTrackWidth(BOARD_CONNECTED_ITEM self, double aRatio)"""
10407 return _pcbnew.BOARD_CONNECTED_ITEM_SetTeardropMaxTrackWidth(self, aRatio)
10410 r"""GetTeardropMaxTrackWidth(BOARD_CONNECTED_ITEM self) -> double"""
10411 return _pcbnew.BOARD_CONNECTED_ITEM_GetTeardropMaxTrackWidth(self)
10412 __swig_destroy__ = _pcbnew.delete_BOARD_CONNECTED_ITEM
10415_pcbnew.BOARD_CONNECTED_ITEM_swigregister(BOARD_CONNECTED_ITEM)
10418 r"""BOARD_CONNECTED_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
10419 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
10422 r"""Proxy of C++ std::map< wxString,std::shared_ptr< NETCLASS > > class."""
10424 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10425 __repr__ = _swig_repr
10428 r"""iterator(netclasses_map self) -> SwigPyIterator"""
10429 return _pcbnew.netclasses_map_iterator(self)
10434 r"""__nonzero__(netclasses_map self) -> bool"""
10435 return _pcbnew.netclasses_map___nonzero__(self)
10438 r"""__bool__(netclasses_map self) -> bool"""
10439 return _pcbnew.netclasses_map___bool__(self)
10442 r"""__len__(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10443 return _pcbnew.netclasses_map___len__(self)
10454 r"""__getitem__(netclasses_map self, wxString key) -> std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const &"""
10455 return _pcbnew.netclasses_map___getitem__(self, key)
10458 r"""__delitem__(netclasses_map self, wxString key)"""
10459 return _pcbnew.netclasses_map___delitem__(self, key)
10462 r"""has_key(netclasses_map self, wxString key) -> bool"""
10463 return _pcbnew.netclasses_map_has_key(self, key)
10466 r"""keys(netclasses_map self) -> PyObject *"""
10467 return _pcbnew.netclasses_map_keys(self)
10470 r"""values(netclasses_map self) -> PyObject *"""
10471 return _pcbnew.netclasses_map_values(self)
10474 r"""items(netclasses_map self) -> PyObject *"""
10475 return _pcbnew.netclasses_map_items(self)
10478 r"""__contains__(netclasses_map self, wxString key) -> bool"""
10479 return _pcbnew.netclasses_map___contains__(self, key)
10482 r"""key_iterator(netclasses_map self) -> SwigPyIterator"""
10483 return _pcbnew.netclasses_map_key_iterator(self)
10486 r"""value_iterator(netclasses_map self) -> SwigPyIterator"""
10487 return _pcbnew.netclasses_map_value_iterator(self)
10492 __setitem__(netclasses_map self, wxString key, std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const & x)
10494 return _pcbnew.netclasses_map___setitem__(self, *args)
10497 r"""asdict(netclasses_map self) -> PyObject *"""
10498 return _pcbnew.netclasses_map_asdict(self)
10502 __init__(netclasses_map self, std::less< wxString > const & other) -> netclasses_map
10503 __init__(netclasses_map self) -> netclasses_map
10504 __init__(netclasses_map self, netclasses_map other) -> netclasses_map
10506 _pcbnew.netclasses_map_swiginit(self, _pcbnew.new_netclasses_map(*args))
10509 r"""empty(netclasses_map self) -> bool"""
10510 return _pcbnew.netclasses_map_empty(self)
10513 r"""size(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10514 return _pcbnew.netclasses_map_size(self)
10517 r"""swap(netclasses_map self, netclasses_map v)"""
10518 return _pcbnew.netclasses_map_swap(self, v)
10521 r"""begin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10522 return _pcbnew.netclasses_map_begin(self)
10525 r"""end(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10526 return _pcbnew.netclasses_map_end(self)
10529 r"""rbegin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10530 return _pcbnew.netclasses_map_rbegin(self)
10533 r"""rend(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10534 return _pcbnew.netclasses_map_rend(self)
10537 r"""clear(netclasses_map self)"""
10538 return _pcbnew.netclasses_map_clear(self)
10541 r"""get_allocator(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::allocator_type"""
10542 return _pcbnew.netclasses_map_get_allocator(self)
10545 r"""count(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10546 return _pcbnew.netclasses_map_count(self, x)
10550 erase(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type
10551 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator position)
10552 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator first, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator last)
10554 return _pcbnew.netclasses_map_erase(self, *args)
10557 r"""find(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10558 return _pcbnew.netclasses_map_find(self, x)
10561 r"""lower_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10562 return _pcbnew.netclasses_map_lower_bound(self, x)
10565 r"""upper_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10566 return _pcbnew.netclasses_map_upper_bound(self, x)
10567 __swig_destroy__ = _pcbnew.delete_netclasses_map
10570_pcbnew.netclasses_map_swigregister(netclasses_map)
10572DEFAULT_SILK_LINE_WIDTH = _pcbnew.DEFAULT_SILK_LINE_WIDTH
10574DEFAULT_COPPER_LINE_WIDTH = _pcbnew.DEFAULT_COPPER_LINE_WIDTH
10576DEFAULT_EDGE_WIDTH = _pcbnew.DEFAULT_EDGE_WIDTH
10578DEFAULT_COURTYARD_WIDTH = _pcbnew.DEFAULT_COURTYARD_WIDTH
10580DEFAULT_LINE_WIDTH = _pcbnew.DEFAULT_LINE_WIDTH
10582DEFAULT_SILK_TEXT_SIZE = _pcbnew.DEFAULT_SILK_TEXT_SIZE
10584DEFAULT_COPPER_TEXT_SIZE = _pcbnew.DEFAULT_COPPER_TEXT_SIZE
10586DEFAULT_TEXT_SIZE = _pcbnew.DEFAULT_TEXT_SIZE
10588DEFAULT_SILK_TEXT_WIDTH = _pcbnew.DEFAULT_SILK_TEXT_WIDTH
10590DEFAULT_COPPER_TEXT_WIDTH = _pcbnew.DEFAULT_COPPER_TEXT_WIDTH
10592DEFAULT_TEXT_WIDTH = _pcbnew.DEFAULT_TEXT_WIDTH
10594DEFAULT_DIMENSION_ARROW_LENGTH = _pcbnew.DEFAULT_DIMENSION_ARROW_LENGTH
10596DEFAULT_DIMENSION_EXTENSION_OFFSET = _pcbnew.DEFAULT_DIMENSION_EXTENSION_OFFSET
10598DEFAULT_BOARD_THICKNESS_MM = _pcbnew.DEFAULT_BOARD_THICKNESS_MM
10600DEFAULT_PCB_EDGE_THICKNESS = _pcbnew.DEFAULT_PCB_EDGE_THICKNESS
10602DEFAULT_SOLDERMASK_EXPANSION = _pcbnew.DEFAULT_SOLDERMASK_EXPANSION
10604DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE = _pcbnew.DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE
10606DEFAULT_SOLDERMASK_MIN_WIDTH = _pcbnew.DEFAULT_SOLDERMASK_MIN_WIDTH
10608DEFAULT_SOLDERPASTE_CLEARANCE = _pcbnew.DEFAULT_SOLDERPASTE_CLEARANCE
10610DEFAULT_SOLDERPASTE_RATIO = _pcbnew.DEFAULT_SOLDERPASTE_RATIO
10612DEFAULT_CUSTOMTRACKWIDTH = _pcbnew.DEFAULT_CUSTOMTRACKWIDTH
10614DEFAULT_CUSTOMDPAIRWIDTH = _pcbnew.DEFAULT_CUSTOMDPAIRWIDTH
10616DEFAULT_CUSTOMDPAIRGAP = _pcbnew.DEFAULT_CUSTOMDPAIRGAP
10618DEFAULT_CUSTOMDPAIRVIAGAP = _pcbnew.DEFAULT_CUSTOMDPAIRVIAGAP
10620DEFAULT_MEANDER_SPACING = _pcbnew.DEFAULT_MEANDER_SPACING
10622DEFAULT_DP_MEANDER_SPACING = _pcbnew.DEFAULT_DP_MEANDER_SPACING
10624DEFAULT_MINCLEARANCE = _pcbnew.DEFAULT_MINCLEARANCE
10626DEFAULT_MINCONNECTION = _pcbnew.DEFAULT_MINCONNECTION
10628DEFAULT_TRACKMINWIDTH = _pcbnew.DEFAULT_TRACKMINWIDTH
10630DEFAULT_VIASMINSIZE = _pcbnew.DEFAULT_VIASMINSIZE
10632DEFAULT_MINTHROUGHDRILL = _pcbnew.DEFAULT_MINTHROUGHDRILL
10634DEFAULT_MICROVIASMINSIZE = _pcbnew.DEFAULT_MICROVIASMINSIZE
10636DEFAULT_MICROVIASMINDRILL = _pcbnew.DEFAULT_MICROVIASMINDRILL
10638DEFAULT_HOLETOHOLEMIN = _pcbnew.DEFAULT_HOLETOHOLEMIN
10640DEFAULT_HOLECLEARANCE = _pcbnew.DEFAULT_HOLECLEARANCE
10642DEFAULT_COPPEREDGECLEARANCE = _pcbnew.DEFAULT_COPPEREDGECLEARANCE
10644LEGACY_COPPEREDGECLEARANCE = _pcbnew.LEGACY_COPPEREDGECLEARANCE
10646DEFAULT_SILKCLEARANCE = _pcbnew.DEFAULT_SILKCLEARANCE
10648DEFAULT_MINRESOLVEDSPOKES = _pcbnew.DEFAULT_MINRESOLVEDSPOKES
10650MINIMUM_ERROR_SIZE_MM = _pcbnew.MINIMUM_ERROR_SIZE_MM
10652MAXIMUM_ERROR_SIZE_MM = _pcbnew.MAXIMUM_ERROR_SIZE_MM
10654MINIMUM_LINE_WIDTH_MM = _pcbnew.MINIMUM_LINE_WIDTH_MM
10656MAXIMUM_LINE_WIDTH_MM = _pcbnew.MAXIMUM_LINE_WIDTH_MM
10659 r"""Proxy of C++ VIA_DIMENSION class."""
10661 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10662 __repr__ = _swig_repr
10663 m_Diameter = property(_pcbnew.VIA_DIMENSION_m_Diameter_get, _pcbnew.VIA_DIMENSION_m_Diameter_set, doc=
r"""m_Diameter : int""")
10664 m_Drill = property(_pcbnew.VIA_DIMENSION_m_Drill_get, _pcbnew.VIA_DIMENSION_m_Drill_set, doc=
r"""m_Drill : int""")
10668 __init__(VIA_DIMENSION self) -> VIA_DIMENSION
10669 __init__(VIA_DIMENSION self, int aDiameter, int aDrill) -> VIA_DIMENSION
10671 _pcbnew.VIA_DIMENSION_swiginit(self, _pcbnew.new_VIA_DIMENSION(*args))
10674 r"""__eq__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10675 return _pcbnew.VIA_DIMENSION___eq__(self, aOther)
10678 r"""__ne__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10679 return _pcbnew.VIA_DIMENSION___ne__(self, aOther)
10682 r"""__lt__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10683 return _pcbnew.VIA_DIMENSION___lt__(self, aOther)
10684 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION
10687_pcbnew.VIA_DIMENSION_swigregister(VIA_DIMENSION)
10690 r"""Proxy of C++ DIFF_PAIR_DIMENSION class."""
10692 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10693 __repr__ = _swig_repr
10694 m_Width = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Width_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Width_set, doc=
r"""m_Width : int""")
10695 m_Gap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Gap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Gap_set, doc=
r"""m_Gap : int""")
10696 m_ViaGap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_set, doc=
r"""m_ViaGap : int""")
10700 __init__(DIFF_PAIR_DIMENSION self) -> DIFF_PAIR_DIMENSION
10701 __init__(DIFF_PAIR_DIMENSION self, int aWidth, int aGap, int aViaGap) -> DIFF_PAIR_DIMENSION
10703 _pcbnew.DIFF_PAIR_DIMENSION_swiginit(self, _pcbnew.new_DIFF_PAIR_DIMENSION(*args))
10706 r"""__eq__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10707 return _pcbnew.DIFF_PAIR_DIMENSION___eq__(self, aOther)
10710 r"""__ne__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10711 return _pcbnew.DIFF_PAIR_DIMENSION___ne__(self, aOther)
10714 r"""__lt__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10715 return _pcbnew.DIFF_PAIR_DIMENSION___lt__(self, aOther)
10716 __swig_destroy__ = _pcbnew.delete_DIFF_PAIR_DIMENSION
10719_pcbnew.DIFF_PAIR_DIMENSION_swigregister(DIFF_PAIR_DIMENSION)
10721LAYER_CLASS_SILK = _pcbnew.LAYER_CLASS_SILK
10723LAYER_CLASS_COPPER = _pcbnew.LAYER_CLASS_COPPER
10725LAYER_CLASS_EDGES = _pcbnew.LAYER_CLASS_EDGES
10727LAYER_CLASS_COURTYARD = _pcbnew.LAYER_CLASS_COURTYARD
10729LAYER_CLASS_FAB = _pcbnew.LAYER_CLASS_FAB
10731LAYER_CLASS_OTHERS = _pcbnew.LAYER_CLASS_OTHERS
10733LAYER_CLASS_COUNT = _pcbnew.LAYER_CLASS_COUNT
10736 r"""Proxy of C++ TEXT_ITEM_INFO class."""
10738 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10739 __repr__ = _swig_repr
10740 m_Text = property(_pcbnew.TEXT_ITEM_INFO_m_Text_get, _pcbnew.TEXT_ITEM_INFO_m_Text_set, doc=
r"""m_Text : wxString""")
10741 m_Visible = property(_pcbnew.TEXT_ITEM_INFO_m_Visible_get, _pcbnew.TEXT_ITEM_INFO_m_Visible_set, doc=
r"""m_Visible : bool""")
10742 m_Layer = property(_pcbnew.TEXT_ITEM_INFO_m_Layer_get, _pcbnew.TEXT_ITEM_INFO_m_Layer_set, doc=
r"""m_Layer : int""")
10745 r"""__init__(TEXT_ITEM_INFO self, wxString aText, bool aVisible, int aLayer) -> TEXT_ITEM_INFO"""
10746 _pcbnew.TEXT_ITEM_INFO_swiginit(self, _pcbnew.new_TEXT_ITEM_INFO(aText, aVisible, aLayer))
10749 r"""__eq__(TEXT_ITEM_INFO self, TEXT_ITEM_INFO aOther) -> bool"""
10750 return _pcbnew.TEXT_ITEM_INFO___eq__(self, aOther)
10751 __swig_destroy__ = _pcbnew.delete_TEXT_ITEM_INFO
10754_pcbnew.TEXT_ITEM_INFO_swigregister(TEXT_ITEM_INFO)
10757 r"""Proxy of C++ BOARD_DESIGN_SETTINGS class."""
10759 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10760 __repr__ = _swig_repr
10761 __swig_destroy__ = _pcbnew.delete_BOARD_DESIGN_SETTINGS
10764 r"""__eq__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> bool"""
10765 return _pcbnew.BOARD_DESIGN_SETTINGS___eq__(self, aOther)
10768 r"""__ne__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> bool"""
10769 return _pcbnew.BOARD_DESIGN_SETTINGS___ne__(self, aOther)
10773 __init__(BOARD_DESIGN_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> BOARD_DESIGN_SETTINGS
10774 __init__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> BOARD_DESIGN_SETTINGS
10776 _pcbnew.BOARD_DESIGN_SETTINGS_swiginit(self, _pcbnew.new_BOARD_DESIGN_SETTINGS(*args))
10779 r"""LoadFromFile(BOARD_DESIGN_SETTINGS self, wxString aDirectory="") -> bool"""
10780 return _pcbnew.BOARD_DESIGN_SETTINGS_LoadFromFile(self, *args)
10787 return _pcbnew.BOARD_DESIGN_SETTINGS_GetStackupDescriptor(self, *args)
10790 r"""GetTeadropParamsList(BOARD_DESIGN_SETTINGS self) -> TEARDROP_PARAMETERS_LIST *"""
10791 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTeadropParamsList(self)
10794 r"""GetSeverity(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> SEVERITY"""
10795 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSeverity(self, aDRCErrorCode)
10798 r"""Ignore(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> bool"""
10799 return _pcbnew.BOARD_DESIGN_SETTINGS_Ignore(self, aDRCErrorCode)
10802 r"""GetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self) -> ZONE_SETTINGS"""
10803 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDefaultZoneSettings(self)
10806 r"""SetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self, ZONE_SETTINGS aSettings)"""
10807 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDefaultZoneSettings(self, aSettings)
10810 r"""GetCurrentNetClassName(BOARD_DESIGN_SETTINGS self) -> wxString"""
10811 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentNetClassName(self)
10814 r"""UseNetClassTrack(BOARD_DESIGN_SETTINGS self) -> bool"""
10815 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassTrack(self)
10818 r"""UseNetClassVia(BOARD_DESIGN_SETTINGS self) -> bool"""
10819 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassVia(self)
10822 r"""UseNetClassDiffPair(BOARD_DESIGN_SETTINGS self) -> bool"""
10823 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassDiffPair(self)
10826 r"""GetBiggestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
10827 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBiggestClearanceValue(self)
10830 r"""GetSmallestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
10831 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSmallestClearanceValue(self)
10834 r"""GetTrackWidthIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10835 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTrackWidthIndex(self)
10838 r"""SetTrackWidthIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10839 return _pcbnew.BOARD_DESIGN_SETTINGS_SetTrackWidthIndex(self, aIndex)
10842 r"""GetCurrentTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10843 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentTrackWidth(self)
10846 r"""SetCustomTrackWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
10847 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomTrackWidth(self, aWidth)
10850 r"""GetCustomTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10851 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomTrackWidth(self)
10854 r"""GetViaSizeIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10855 return _pcbnew.BOARD_DESIGN_SETTINGS_GetViaSizeIndex(self)
10858 r"""SetViaSizeIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10859 return _pcbnew.BOARD_DESIGN_SETTINGS_SetViaSizeIndex(self, aIndex)
10862 r"""GetCurrentViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
10863 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaSize(self)
10866 r"""SetCustomViaSize(BOARD_DESIGN_SETTINGS self, int aSize)"""
10867 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaSize(self, aSize)
10870 r"""GetCustomViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
10871 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaSize(self)
10874 r"""GetCurrentViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
10875 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaDrill(self)
10878 r"""SetCustomViaDrill(BOARD_DESIGN_SETTINGS self, int aDrill)"""
10879 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaDrill(self, aDrill)
10882 r"""GetCustomViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
10883 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaDrill(self)
10890 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomTrackViaSize(self, *args)
10893 r"""GetDiffPairIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10894 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDiffPairIndex(self)
10897 r"""SetDiffPairIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10898 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDiffPairIndex(self, aIndex)
10901 r"""SetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
10902 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairWidth(self, aWidth)
10905 r"""GetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10906 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairWidth(self)
10909 r"""SetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
10910 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairGap(self, aGap)
10913 r"""GetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
10914 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairGap(self)
10917 r"""SetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
10918 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairViaGap(self, aGap)
10921 r"""GetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
10922 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairViaGap(self)
10929 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomDiffPairDimensions(self, *args)
10932 r"""GetCurrentDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10933 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairWidth(self)
10936 r"""GetCurrentDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
10937 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairGap(self)
10940 r"""GetCurrentDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
10941 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairViaGap(self)
10944 r"""GetEnabledLayers(BOARD_DESIGN_SETTINGS self) -> LSET"""
10945 return _pcbnew.BOARD_DESIGN_SETTINGS_GetEnabledLayers(self)
10948 r"""SetEnabledLayers(BOARD_DESIGN_SETTINGS self, LSET aMask)"""
10949 return _pcbnew.BOARD_DESIGN_SETTINGS_SetEnabledLayers(self, aMask)
10952 r"""IsLayerEnabled(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayerId) -> bool"""
10953 return _pcbnew.BOARD_DESIGN_SETTINGS_IsLayerEnabled(self, aLayerId)
10956 r"""GetCopperLayerCount(BOARD_DESIGN_SETTINGS self) -> int"""
10957 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCopperLayerCount(self)
10960 r"""SetCopperLayerCount(BOARD_DESIGN_SETTINGS self, int aNewLayerCount)"""
10961 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCopperLayerCount(self, aNewLayerCount)
10964 r"""GetBoardThickness(BOARD_DESIGN_SETTINGS self) -> int"""
10965 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBoardThickness(self)
10968 r"""SetBoardThickness(BOARD_DESIGN_SETTINGS self, int aThickness)"""
10969 return _pcbnew.BOARD_DESIGN_SETTINGS_SetBoardThickness(self, aThickness)
10972 r"""GetDRCEpsilon(BOARD_DESIGN_SETTINGS self) -> int"""
10973 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDRCEpsilon(self)
10976 r"""GetHolePlatingThickness(BOARD_DESIGN_SETTINGS self) -> int"""
10977 return _pcbnew.BOARD_DESIGN_SETTINGS_GetHolePlatingThickness(self)
10980 r"""GetLineThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
10981 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLineThickness(self, aLayer)
10984 r"""GetTextSize(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> VECTOR2I"""
10985 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextSize(self, aLayer)
10988 r"""GetTextThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
10989 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextThickness(self, aLayer)
10992 r"""GetTextItalic(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
10993 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextItalic(self, aLayer)
10996 r"""GetTextUpright(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
10997 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextUpright(self, aLayer)
11000 r"""GetLayerClass(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
11001 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLayerClass(self, aLayer)
11004 r"""SetAuxOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
11005 return _pcbnew.BOARD_DESIGN_SETTINGS_SetAuxOrigin(self, aOrigin)
11008 r"""GetAuxOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
11009 return _pcbnew.BOARD_DESIGN_SETTINGS_GetAuxOrigin(self)
11012 r"""SetGridOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
11013 return _pcbnew.BOARD_DESIGN_SETTINGS_SetGridOrigin(self, aOrigin)
11016 r"""GetGridOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
11017 return _pcbnew.BOARD_DESIGN_SETTINGS_GetGridOrigin(self)
11018 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)>)>""")
11019 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)>)>""")
11020 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)>)>""")
11021 m_TeardropParamsList = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_set, doc=
r"""m_TeardropParamsList : TEARDROP_PARAMETERS_LIST""")
11022 m_SingleTrackMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SingleTrackMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SingleTrackMeanderSettings_set, doc=
r"""m_SingleTrackMeanderSettings : PNS::MEANDER_SETTINGS""")
11023 m_DiffPairMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DiffPairMeanderSettings_set, doc=
r"""m_DiffPairMeanderSettings : PNS::MEANDER_SETTINGS""")
11024 m_SkewMeanderSettings = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SkewMeanderSettings_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SkewMeanderSettings_set, doc=
r"""m_SkewMeanderSettings : PNS::MEANDER_SETTINGS""")
11025 m_CurrentViaType = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_set, doc=
r"""m_CurrentViaType : VIATYPE""")
11026 m_UseConnectedTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_set, doc=
r"""m_UseConnectedTrackWidth : bool""")
11027 m_TempOverrideTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_set, doc=
r"""m_TempOverrideTrackWidth : bool""")
11028 m_MinClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_set, doc=
r"""m_MinClearance : int""")
11029 m_MinConn = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_set, doc=
r"""m_MinConn : int""")
11030 m_TrackMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_set, doc=
r"""m_TrackMinWidth : int""")
11031 m_ViasMinAnnularWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_set, doc=
r"""m_ViasMinAnnularWidth : int""")
11032 m_ViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_set, doc=
r"""m_ViasMinSize : int""")
11033 m_MinThroughDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_set, doc=
r"""m_MinThroughDrill : int""")
11034 m_MicroViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_set, doc=
r"""m_MicroViasMinSize : int""")
11035 m_MicroViasMinDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_set, doc=
r"""m_MicroViasMinDrill : int""")
11036 m_CopperEdgeClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_set, doc=
r"""m_CopperEdgeClearance : int""")
11037 m_HoleClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_set, doc=
r"""m_HoleClearance : int""")
11038 m_HoleToHoleMin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_set, doc=
r"""m_HoleToHoleMin : int""")
11039 m_SilkClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_set, doc=
r"""m_SilkClearance : int""")
11040 m_MinResolvedSpokes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_set, doc=
r"""m_MinResolvedSpokes : int""")
11041 m_MinSilkTextHeight = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_set, doc=
r"""m_MinSilkTextHeight : int""")
11042 m_MinSilkTextThickness = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_set, doc=
r"""m_MinSilkTextThickness : int""")
11043 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)>)>)>""")
11044 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)>)>""")
11045 m_ZoneKeepExternalFillets = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_set, doc=
r"""m_ZoneKeepExternalFillets : bool""")
11046 m_MaxError = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_set, doc=
r"""m_MaxError : int""")
11047 m_SolderMaskExpansion = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_set, doc=
r"""m_SolderMaskExpansion : int""")
11048 m_SolderMaskMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_set, doc=
r"""m_SolderMaskMinWidth : int""")
11049 m_SolderMaskToCopperClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_set, doc=
r"""m_SolderMaskToCopperClearance : int""")
11050 m_SolderPasteMargin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_set, doc=
r"""m_SolderPasteMargin : int""")
11051 m_SolderPasteMarginRatio = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_set, doc=
r"""m_SolderPasteMarginRatio : double""")
11052 m_AllowSoldermaskBridgesInFPs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_set, doc=
r"""m_AllowSoldermaskBridgesInFPs : bool""")
11053 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)>""")
11054 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)>)>""")
11055 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""")
11056 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""")
11057 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""")
11058 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""")
11059 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""")
11060 m_DimensionUnitsMode = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_set, doc=
r"""m_DimensionUnitsMode : DIM_UNITS_MODE""")
11061 m_DimensionPrecision = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_set, doc=
r"""m_DimensionPrecision : DIM_PRECISION""")
11062 m_DimensionUnitsFormat = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_set, doc=
r"""m_DimensionUnitsFormat : DIM_UNITS_FORMAT""")
11063 m_DimensionSuppressZeroes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_set, doc=
r"""m_DimensionSuppressZeroes : bool""")
11064 m_DimensionTextPosition = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_set, doc=
r"""m_DimensionTextPosition : DIM_TEXT_POSITION""")
11065 m_DimensionKeepTextAligned = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_set, doc=
r"""m_DimensionKeepTextAligned : bool""")
11066 m_DimensionArrowLength = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_set, doc=
r"""m_DimensionArrowLength : int""")
11067 m_DimensionExtensionOffset = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_set, doc=
r"""m_DimensionExtensionOffset : int""")
11068 m_StyleFPFields = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPFields_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPFields_set, doc=
r"""m_StyleFPFields : bool""")
11069 m_StyleFPText = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPText_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPText_set, doc=
r"""m_StyleFPText : bool""")
11070 m_StyleFPShapes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPShapes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_StyleFPShapes_set, doc=
r"""m_StyleFPShapes : bool""")
11071 m_HasStackup = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_set, doc=
r"""m_HasStackup : bool""")
11072 m_UseHeightForLengthCalcs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_set, doc=
r"""m_UseHeightForLengthCalcs : bool""")
11075 r"""CloneFrom(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther)"""
11076 return _pcbnew.BOARD_DESIGN_SETTINGS_CloneFrom(self, aOther)
11079_pcbnew.BOARD_DESIGN_SETTINGS_swigregister(BOARD_DESIGN_SETTINGS)
11082 r"""Proxy of C++ NET_SETTINGS class."""
11084 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11085 __repr__ = _swig_repr
11088 r"""__init__(NET_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> NET_SETTINGS"""
11089 _pcbnew.NET_SETTINGS_swiginit(self, _pcbnew.new_NET_SETTINGS(aParent, aPath))
11090 __swig_destroy__ = _pcbnew.delete_NET_SETTINGS
11093 r"""__eq__(NET_SETTINGS self, NET_SETTINGS aOther) -> bool"""
11094 return _pcbnew.NET_SETTINGS___eq__(self, aOther)
11097 r"""__ne__(NET_SETTINGS self, NET_SETTINGS aOther) -> bool"""
11098 return _pcbnew.NET_SETTINGS___ne__(self, aOther)
11099 m_NetClasses = property(_pcbnew.NET_SETTINGS_m_NetClasses_get, _pcbnew.NET_SETTINGS_m_NetClasses_set, doc=
r"""m_NetClasses : std::map<(wxString,std::shared_ptr<(NETCLASS)>,std::less<(wxString)>,std::allocator<(std::pair<(q(const).wxString,std::shared_ptr<(NETCLASS)>)>)>)>""")
11100 m_DefaultNetClass = property(_pcbnew.NET_SETTINGS_m_DefaultNetClass_get, _pcbnew.NET_SETTINGS_m_DefaultNetClass_set, doc=
r"""m_DefaultNetClass : std::shared_ptr<(NETCLASS)>""")
11101 m_NetClassPatternAssignmentCache = property(_pcbnew.NET_SETTINGS_m_NetClassPatternAssignmentCache_get, _pcbnew.NET_SETTINGS_m_NetClassPatternAssignmentCache_set, doc=
r"""m_NetClassPatternAssignmentCache : std::map<(wxString,wxString,std::less<(wxString)>,std::allocator<(std::pair<(q(const).wxString,wxString)>)>)>""")
11102 m_NetColorAssignments = property(_pcbnew.NET_SETTINGS_m_NetColorAssignments_get, _pcbnew.NET_SETTINGS_m_NetColorAssignments_set, doc=
r"""m_NetColorAssignments : std::map<(wxString,KIGFX::COLOR4D,std::less<(wxString)>,std::allocator<(std::pair<(q(const).wxString,KIGFX::COLOR4D)>)>)>""")
11105 r"""GetEffectiveNetClass(NET_SETTINGS self, wxString aNetName) -> std::shared_ptr< NETCLASS >"""
11106 return _pcbnew.NET_SETTINGS_GetEffectiveNetClass(self, aNetName)
11110 r"""ParseBusVector(wxString aBus, wxString aName, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11111 return _pcbnew.NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
11115 r"""ParseBusGroup(wxString aGroup, wxString name, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11116 return _pcbnew.NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
11119_pcbnew.NET_SETTINGS_swigregister(NET_SETTINGS)
11122 r"""NET_SETTINGS_ParseBusVector(wxString aBus, wxString aName, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11123 return _pcbnew.NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
11126 r"""NET_SETTINGS_ParseBusGroup(wxString aGroup, wxString name, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
11127 return _pcbnew.NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
11130 r"""Proxy of C++ CN_DISJOINT_NET_ENTRY class."""
11132 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11133 __repr__ = _swig_repr
11134 net = property(_pcbnew.CN_DISJOINT_NET_ENTRY_net_get, _pcbnew.CN_DISJOINT_NET_ENTRY_net_set, doc=
r"""net : int""")
11135 a = property(_pcbnew.CN_DISJOINT_NET_ENTRY_a_get, _pcbnew.CN_DISJOINT_NET_ENTRY_a_set, doc=
r"""a : p.BOARD_CONNECTED_ITEM""")
11136 b = property(_pcbnew.CN_DISJOINT_NET_ENTRY_b_get, _pcbnew.CN_DISJOINT_NET_ENTRY_b_set, doc=
r"""b : p.BOARD_CONNECTED_ITEM""")
11137 anchorA = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_set, doc=
r"""anchorA : VECTOR2I""")
11138 anchorB = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_set, doc=
r"""anchorB : VECTOR2I""")
11141 r"""__init__(CN_DISJOINT_NET_ENTRY self) -> CN_DISJOINT_NET_ENTRY"""
11142 _pcbnew.CN_DISJOINT_NET_ENTRY_swiginit(self, _pcbnew.new_CN_DISJOINT_NET_ENTRY())
11143 __swig_destroy__ = _pcbnew.delete_CN_DISJOINT_NET_ENTRY
11146_pcbnew.CN_DISJOINT_NET_ENTRY_swigregister(CN_DISJOINT_NET_ENTRY)
11149 r"""Proxy of C++ RN_DYNAMIC_LINE class."""
11151 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11152 __repr__ = _swig_repr
11153 netCode = property(_pcbnew.RN_DYNAMIC_LINE_netCode_get, _pcbnew.RN_DYNAMIC_LINE_netCode_set, doc=
r"""netCode : int""")
11154 a = property(_pcbnew.RN_DYNAMIC_LINE_a_get, _pcbnew.RN_DYNAMIC_LINE_a_set, doc=
r"""a : VECTOR2I""")
11155 b = property(_pcbnew.RN_DYNAMIC_LINE_b_get, _pcbnew.RN_DYNAMIC_LINE_b_set, doc=
r"""b : VECTOR2I""")
11158 r"""__init__(RN_DYNAMIC_LINE self) -> RN_DYNAMIC_LINE"""
11159 _pcbnew.RN_DYNAMIC_LINE_swiginit(self, _pcbnew.new_RN_DYNAMIC_LINE())
11160 __swig_destroy__ = _pcbnew.delete_RN_DYNAMIC_LINE
11163_pcbnew.RN_DYNAMIC_LINE_swigregister(RN_DYNAMIC_LINE)
11165PROPAGATE_MODE_SKIP_CONFLICTS = _pcbnew.PROPAGATE_MODE_SKIP_CONFLICTS
11167PROPAGATE_MODE_RESOLVE_CONFLICTS = _pcbnew.PROPAGATE_MODE_RESOLVE_CONFLICTS
11170 r"""Proxy of C++ CONNECTIVITY_DATA class."""
11172 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11173 __repr__ = _swig_repr
11174 __swig_destroy__ = _pcbnew.delete_CONNECTIVITY_DATA
11178 __init__(CONNECTIVITY_DATA self) -> CONNECTIVITY_DATA
11179 __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
11181 _pcbnew.CONNECTIVITY_DATA_swiginit(self, _pcbnew.new_CONNECTIVITY_DATA(*args))
11185 Build(CONNECTIVITY_DATA self, BOARD aBoard, PROGRESS_REPORTER * aReporter=None) -> bool
11186 Build(CONNECTIVITY_DATA self, std::shared_ptr< CONNECTIVITY_DATA > & aGlobalConnectivity, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aLocalItems)
11188 return _pcbnew.CONNECTIVITY_DATA_Build(self, *args)
11191 r"""Add(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11192 return _pcbnew.CONNECTIVITY_DATA_Add(self, aItem)
11195 r"""Remove(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11196 return _pcbnew.CONNECTIVITY_DATA_Remove(self, aItem)
11199 r"""Update(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
11200 return _pcbnew.CONNECTIVITY_DATA_Update(self, aItem)
11203 r"""Move(CONNECTIVITY_DATA self, VECTOR2I aDelta)"""
11204 return _pcbnew.CONNECTIVITY_DATA_Move(self, aDelta)
11207 r"""ClearRatsnest(CONNECTIVITY_DATA self)"""
11208 return _pcbnew.CONNECTIVITY_DATA_ClearRatsnest(self)
11211 r"""GetNetCount(CONNECTIVITY_DATA self) -> int"""
11212 return _pcbnew.CONNECTIVITY_DATA_GetNetCount(self)
11215 r"""GetRatsnestForNet(CONNECTIVITY_DATA self, int aNet) -> RN_NET *"""
11216 return _pcbnew.CONNECTIVITY_DATA_GetRatsnestForNet(self, aNet)
11219 r"""PropagateNets(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
11220 return _pcbnew.CONNECTIVITY_DATA_PropagateNets(self, aCommit)
11223 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)"""
11224 return _pcbnew.CONNECTIVITY_DATA_FillIsolatedIslandsMap(self, aMap, aConnectivityAlreadyRebuilt)
11227 r"""RecalculateRatsnest(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
11228 return _pcbnew.CONNECTIVITY_DATA_RecalculateRatsnest(self, aCommit)
11231 r"""GetUnconnectedCount(CONNECTIVITY_DATA self, bool aVisibileOnly) -> unsigned int"""
11232 return _pcbnew.CONNECTIVITY_DATA_GetUnconnectedCount(self, aVisibileOnly)
11235 r"""IsConnectedOnLayer(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, int aLayer, std::initializer_list< KICAD_T > const & aTypes={}) -> bool"""
11236 return _pcbnew.CONNECTIVITY_DATA_IsConnectedOnLayer(self, *args)
11239 r"""GetNodeCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
11240 return _pcbnew.CONNECTIVITY_DATA_GetNodeCount(self, aNet)
11243 r"""GetPadCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
11244 return _pcbnew.CONNECTIVITY_DATA_GetPadCount(self, aNet)
11247 r"""GetConnectedTracks(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> TRACKS_VEC"""
11248 return _pcbnew.CONNECTIVITY_DATA_GetConnectedTracks(self, aItem)
11252 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> PADS_VEC
11253 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::set< PAD *,std::less< PAD * >,std::allocator< PAD * > > * pads)
11255 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPads(self, *args)
11258 r"""GetConnectedPadsAndVias(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, PADS_VEC pads, std::vector< PCB_VIA *,std::allocator< PCB_VIA * > > * vias)"""
11259 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPadsAndVias(self, aItem, pads, vias)
11262 r"""GetConnectedItemsAtAnchor(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, VECTOR2I aAnchor, std::initializer_list< KICAD_T > const & aTypes, int const & aMaxError=0) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
11263 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItemsAtAnchor(self, aItem, aAnchor, aTypes, aMaxError)
11266 r"""RunOnUnconnectedEdges(CONNECTIVITY_DATA self, std::function< bool (CN_EDGE &) > aFunc)"""
11267 return _pcbnew.CONNECTIVITY_DATA_RunOnUnconnectedEdges(self, aFunc)
11270 r"""TestTrackEndpointDangling(CONNECTIVITY_DATA self, PCB_TRACK aTrack, bool aIgnoreTracksInPads, VECTOR2I aPos=None) -> bool"""
11271 return _pcbnew.CONNECTIVITY_DATA_TestTrackEndpointDangling(self, aTrack, aIgnoreTracksInPads, aPos)
11274 r"""ClearLocalRatsnest(CONNECTIVITY_DATA self)"""
11275 return _pcbnew.CONNECTIVITY_DATA_ClearLocalRatsnest(self)
11278 r"""HideLocalRatsnest(CONNECTIVITY_DATA self)"""
11279 return _pcbnew.CONNECTIVITY_DATA_HideLocalRatsnest(self)
11282 r"""ComputeLocalRatsnest(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems, CONNECTIVITY_DATA aDynamicData, VECTOR2I aInternalOffset={ 0, 0 })"""
11283 return _pcbnew.CONNECTIVITY_DATA_ComputeLocalRatsnest(self, *args)
11286 r"""GetLocalRatsnest(CONNECTIVITY_DATA self) -> std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &"""
11287 return _pcbnew.CONNECTIVITY_DATA_GetLocalRatsnest(self)
11290 r"""GetConnectedItems(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::initializer_list< KICAD_T > const & aTypes, bool aIgnoreNetcodes=False) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
11291 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItems(self, aItem, aTypes, aIgnoreNetcodes)
11294 r"""GetNetItems(CONNECTIVITY_DATA self, int aNetCode, std::initializer_list< KICAD_T > const & aTypes) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
11295 return _pcbnew.CONNECTIVITY_DATA_GetNetItems(self, aNetCode, aTypes)
11298 r"""BlockRatsnestItems(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)"""
11299 return _pcbnew.CONNECTIVITY_DATA_BlockRatsnestItems(self, aItems)
11302 r"""GetConnectivityAlgo(CONNECTIVITY_DATA self) -> std::shared_ptr< CN_CONNECTIVITY_ALGO >"""
11303 return _pcbnew.CONNECTIVITY_DATA_GetConnectivityAlgo(self)
11306 r"""GetLock(CONNECTIVITY_DATA self) -> KISPINLOCK &"""
11307 return _pcbnew.CONNECTIVITY_DATA_GetLock(self)
11310 r"""MarkItemNetAsDirty(CONNECTIVITY_DATA self, BOARD_ITEM aItem)"""
11311 return _pcbnew.CONNECTIVITY_DATA_MarkItemNetAsDirty(self, aItem)
11314 r"""RemoveInvalidRefs(CONNECTIVITY_DATA self)"""
11315 return _pcbnew.CONNECTIVITY_DATA_RemoveInvalidRefs(self)
11318 r"""SetProgressReporter(CONNECTIVITY_DATA self, PROGRESS_REPORTER * aReporter)"""
11319 return _pcbnew.CONNECTIVITY_DATA_SetProgressReporter(self, aReporter)
11322 r"""GetNetclassMap(CONNECTIVITY_DATA self) -> std::map< int,wxString,std::less< int >,std::allocator< std::pair< int const,wxString > > > const &"""
11323 return _pcbnew.CONNECTIVITY_DATA_GetNetclassMap(self)
11326 r"""GetFromToCache(CONNECTIVITY_DATA self) -> std::shared_ptr< FROM_TO_CACHE >"""
11327 return _pcbnew.CONNECTIVITY_DATA_GetFromToCache(self)
11330_pcbnew.CONNECTIVITY_DATA_swigregister(CONNECTIVITY_DATA)
11333 r"""Proxy of C++ std::vector< PCB_MARKER * > class."""
11335 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11336 __repr__ = _swig_repr
11339 r"""iterator(MARKERS self) -> SwigPyIterator"""
11340 return _pcbnew.MARKERS_iterator(self)
11345 r"""__nonzero__(MARKERS self) -> bool"""
11346 return _pcbnew.MARKERS___nonzero__(self)
11349 r"""__bool__(MARKERS self) -> bool"""
11350 return _pcbnew.MARKERS___bool__(self)
11353 r"""__len__(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11354 return _pcbnew.MARKERS___len__(self)
11357 r"""__getslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j) -> MARKERS"""
11358 return _pcbnew.MARKERS___getslice__(self, i, j)
11362 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)
11363 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j, MARKERS v)
11365 return _pcbnew.MARKERS___setslice__(self, *args)
11368 r"""__delslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)"""
11369 return _pcbnew.MARKERS___delslice__(self, i, j)
11373 __delitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i)
11376 return _pcbnew.MARKERS___delitem__(self, *args)
11380 __getitem__(MARKERS self, PySliceObject * slice) -> MARKERS
11381 __getitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i) -> PCB_MARKER
11383 return _pcbnew.MARKERS___getitem__(self, *args)
11387 __setitem__(MARKERS self, PySliceObject * slice, MARKERS v)
11389 __setitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, PCB_MARKER x)
11391 return _pcbnew.MARKERS___setitem__(self, *args)
11394 r"""pop(MARKERS self) -> PCB_MARKER"""
11395 return _pcbnew.MARKERS_pop(self)
11398 r"""append(MARKERS self, PCB_MARKER x)"""
11399 return _pcbnew.MARKERS_append(self, x)
11402 r"""empty(MARKERS self) -> bool"""
11403 return _pcbnew.MARKERS_empty(self)
11406 r"""size(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11407 return _pcbnew.MARKERS_size(self)
11410 r"""swap(MARKERS self, MARKERS v)"""
11411 return _pcbnew.MARKERS_swap(self, v)
11414 r"""begin(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
11415 return _pcbnew.MARKERS_begin(self)
11418 r"""end(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
11419 return _pcbnew.MARKERS_end(self)
11422 r"""rbegin(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11423 return _pcbnew.MARKERS_rbegin(self)
11426 r"""rend(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11427 return _pcbnew.MARKERS_rend(self)
11430 r"""clear(MARKERS self)"""
11431 return _pcbnew.MARKERS_clear(self)
11434 r"""get_allocator(MARKERS self) -> std::vector< PCB_MARKER * >::allocator_type"""
11435 return _pcbnew.MARKERS_get_allocator(self)
11438 r"""pop_back(MARKERS self)"""
11439 return _pcbnew.MARKERS_pop_back(self)
11443 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator pos) -> std::vector< PCB_MARKER * >::iterator
11444 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator first, std::vector< PCB_MARKER * >::iterator last) -> std::vector< PCB_MARKER * >::iterator
11446 return _pcbnew.MARKERS_erase(self, *args)
11451 __init__(MARKERS self, MARKERS other) -> MARKERS
11452 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size) -> MARKERS
11453 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size, PCB_MARKER value) -> MARKERS
11455 _pcbnew.MARKERS_swiginit(self, _pcbnew.new_MARKERS(*args))
11458 r"""push_back(MARKERS self, PCB_MARKER x)"""
11459 return _pcbnew.MARKERS_push_back(self, x)
11462 r"""front(MARKERS self) -> PCB_MARKER"""
11463 return _pcbnew.MARKERS_front(self)
11466 r"""back(MARKERS self) -> PCB_MARKER"""
11467 return _pcbnew.MARKERS_back(self)
11470 r"""assign(MARKERS self, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)"""
11471 return _pcbnew.MARKERS_assign(self, n, x)
11475 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size)
11476 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size, PCB_MARKER x)
11478 return _pcbnew.MARKERS_resize(self, *args)
11482 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, PCB_MARKER x) -> std::vector< PCB_MARKER * >::iterator
11483 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)
11485 return _pcbnew.MARKERS_insert(self, *args)
11488 r"""reserve(MARKERS self, std::vector< PCB_MARKER * >::size_type n)"""
11489 return _pcbnew.MARKERS_reserve(self, n)
11492 r"""capacity(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11493 return _pcbnew.MARKERS_capacity(self)
11494 __swig_destroy__ = _pcbnew.delete_MARKERS
11497_pcbnew.MARKERS_swigregister(MARKERS)
11500 r"""Proxy of C++ std::vector< ZONE * > class."""
11502 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11503 __repr__ = _swig_repr
11506 r"""iterator(ZONES self) -> SwigPyIterator"""
11507 return _pcbnew.ZONES_iterator(self)
11512 r"""__nonzero__(ZONES self) -> bool"""
11513 return _pcbnew.ZONES___nonzero__(self)
11516 r"""__bool__(ZONES self) -> bool"""
11517 return _pcbnew.ZONES___bool__(self)
11520 r"""__len__(ZONES self) -> std::vector< ZONE * >::size_type"""
11521 return _pcbnew.ZONES___len__(self)
11524 r"""__getslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j) -> ZONES"""
11525 return _pcbnew.ZONES___getslice__(self, i, j)
11529 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)
11530 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j, ZONES v)
11532 return _pcbnew.ZONES___setslice__(self, *args)
11535 r"""__delslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)"""
11536 return _pcbnew.ZONES___delslice__(self, i, j)
11540 __delitem__(ZONES self, std::vector< ZONE * >::difference_type i)
11543 return _pcbnew.ZONES___delitem__(self, *args)
11547 __getitem__(ZONES self, PySliceObject * slice) -> ZONES
11548 __getitem__(ZONES self, std::vector< ZONE * >::difference_type i) -> ZONE
11550 return _pcbnew.ZONES___getitem__(self, *args)
11554 __setitem__(ZONES self, PySliceObject * slice, ZONES v)
11556 __setitem__(ZONES self, std::vector< ZONE * >::difference_type i, ZONE x)
11558 return _pcbnew.ZONES___setitem__(self, *args)
11561 r"""pop(ZONES self) -> ZONE"""
11562 return _pcbnew.ZONES_pop(self)
11565 r"""append(ZONES self, ZONE x)"""
11566 return _pcbnew.ZONES_append(self, x)
11569 r"""empty(ZONES self) -> bool"""
11570 return _pcbnew.ZONES_empty(self)
11573 r"""size(ZONES self) -> std::vector< ZONE * >::size_type"""
11574 return _pcbnew.ZONES_size(self)
11577 r"""swap(ZONES self, ZONES v)"""
11578 return _pcbnew.ZONES_swap(self, v)
11581 r"""begin(ZONES self) -> std::vector< ZONE * >::iterator"""
11582 return _pcbnew.ZONES_begin(self)
11585 r"""end(ZONES self) -> std::vector< ZONE * >::iterator"""
11586 return _pcbnew.ZONES_end(self)
11589 r"""rbegin(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
11590 return _pcbnew.ZONES_rbegin(self)
11593 r"""rend(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
11594 return _pcbnew.ZONES_rend(self)
11597 r"""clear(ZONES self)"""
11598 return _pcbnew.ZONES_clear(self)
11601 r"""get_allocator(ZONES self) -> std::vector< ZONE * >::allocator_type"""
11602 return _pcbnew.ZONES_get_allocator(self)
11605 r"""pop_back(ZONES self)"""
11606 return _pcbnew.ZONES_pop_back(self)
11610 erase(ZONES self, std::vector< ZONE * >::iterator pos) -> std::vector< ZONE * >::iterator
11611 erase(ZONES self, std::vector< ZONE * >::iterator first, std::vector< ZONE * >::iterator last) -> std::vector< ZONE * >::iterator
11613 return _pcbnew.ZONES_erase(self, *args)
11618 __init__(ZONES self, ZONES other) -> ZONES
11619 __init__(ZONES self, std::vector< ZONE * >::size_type size) -> ZONES
11620 __init__(ZONES self, std::vector< ZONE * >::size_type size, ZONE value) -> ZONES
11622 _pcbnew.ZONES_swiginit(self, _pcbnew.new_ZONES(*args))
11625 r"""push_back(ZONES self, ZONE x)"""
11626 return _pcbnew.ZONES_push_back(self, x)
11629 r"""front(ZONES self) -> ZONE"""
11630 return _pcbnew.ZONES_front(self)
11633 r"""back(ZONES self) -> ZONE"""
11634 return _pcbnew.ZONES_back(self)
11637 r"""assign(ZONES self, std::vector< ZONE * >::size_type n, ZONE x)"""
11638 return _pcbnew.ZONES_assign(self, n, x)
11642 resize(ZONES self, std::vector< ZONE * >::size_type new_size)
11643 resize(ZONES self, std::vector< ZONE * >::size_type new_size, ZONE x)
11645 return _pcbnew.ZONES_resize(self, *args)
11649 insert(ZONES self, std::vector< ZONE * >::iterator pos, ZONE x) -> std::vector< ZONE * >::iterator
11650 insert(ZONES self, std::vector< ZONE * >::iterator pos, std::vector< ZONE * >::size_type n, ZONE x)
11652 return _pcbnew.ZONES_insert(self, *args)
11655 r"""reserve(ZONES self, std::vector< ZONE * >::size_type n)"""
11656 return _pcbnew.ZONES_reserve(self, n)
11659 r"""capacity(ZONES self) -> std::vector< ZONE * >::size_type"""
11660 return _pcbnew.ZONES_capacity(self)
11661 __swig_destroy__ = _pcbnew.delete_ZONES
11664_pcbnew.ZONES_swigregister(ZONES)
11667 r"""Proxy of C++ std::deque< PCB_TRACK * > class."""
11669 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11670 __repr__ = _swig_repr
11673 r"""iterator(TRACKS self) -> SwigPyIterator"""
11674 return _pcbnew.TRACKS_iterator(self)
11679 r"""__nonzero__(TRACKS self) -> bool"""
11680 return _pcbnew.TRACKS___nonzero__(self)
11683 r"""__bool__(TRACKS self) -> bool"""
11684 return _pcbnew.TRACKS___bool__(self)
11687 r"""__len__(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
11688 return _pcbnew.TRACKS___len__(self)
11691 r"""__getslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j) -> TRACKS"""
11692 return _pcbnew.TRACKS___getslice__(self, i, j)
11696 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)
11697 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j, TRACKS v)
11699 return _pcbnew.TRACKS___setslice__(self, *args)
11702 r"""__delslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)"""
11703 return _pcbnew.TRACKS___delslice__(self, i, j)
11707 __delitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i)
11710 return _pcbnew.TRACKS___delitem__(self, *args)
11714 __getitem__(TRACKS self, PySliceObject * slice) -> TRACKS
11715 __getitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i) -> PCB_TRACK
11717 return _pcbnew.TRACKS___getitem__(self, *args)
11721 __setitem__(TRACKS self, PySliceObject * slice, TRACKS v)
11723 __setitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, PCB_TRACK x)
11725 return _pcbnew.TRACKS___setitem__(self, *args)
11728 r"""pop(TRACKS self) -> PCB_TRACK"""
11729 return _pcbnew.TRACKS_pop(self)
11732 r"""append(TRACKS self, PCB_TRACK x)"""
11733 return _pcbnew.TRACKS_append(self, x)
11736 r"""empty(TRACKS self) -> bool"""
11737 return _pcbnew.TRACKS_empty(self)
11740 r"""size(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
11741 return _pcbnew.TRACKS_size(self)
11744 r"""swap(TRACKS self, TRACKS v)"""
11745 return _pcbnew.TRACKS_swap(self, v)
11748 r"""begin(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
11749 return _pcbnew.TRACKS_begin(self)
11752 r"""end(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
11753 return _pcbnew.TRACKS_end(self)
11756 r"""rbegin(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
11757 return _pcbnew.TRACKS_rbegin(self)
11760 r"""rend(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
11761 return _pcbnew.TRACKS_rend(self)
11764 r"""clear(TRACKS self)"""
11765 return _pcbnew.TRACKS_clear(self)
11768 r"""get_allocator(TRACKS self) -> std::deque< PCB_TRACK * >::allocator_type"""
11769 return _pcbnew.TRACKS_get_allocator(self)
11772 r"""pop_back(TRACKS self)"""
11773 return _pcbnew.TRACKS_pop_back(self)
11777 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator pos) -> std::deque< PCB_TRACK * >::iterator
11778 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator first, std::deque< PCB_TRACK * >::iterator last) -> std::deque< PCB_TRACK * >::iterator
11780 return _pcbnew.TRACKS_erase(self, *args)
11785 __init__(TRACKS self, TRACKS other) -> TRACKS
11786 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size) -> TRACKS
11787 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS
11789 _pcbnew.TRACKS_swiginit(self, _pcbnew.new_TRACKS(*args))
11792 r"""push_back(TRACKS self, PCB_TRACK x)"""
11793 return _pcbnew.TRACKS_push_back(self, x)
11796 r"""front(TRACKS self) -> PCB_TRACK"""
11797 return _pcbnew.TRACKS_front(self)
11800 r"""back(TRACKS self) -> PCB_TRACK"""
11801 return _pcbnew.TRACKS_back(self)
11804 r"""assign(TRACKS self, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
11805 return _pcbnew.TRACKS_assign(self, n, x)
11809 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size)
11810 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
11812 return _pcbnew.TRACKS_resize(self, *args)
11816 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::deque< PCB_TRACK * >::iterator
11817 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)
11819 return _pcbnew.TRACKS_insert(self, *args)
11822 r"""pop_front(TRACKS self)"""
11823 return _pcbnew.TRACKS_pop_front(self)
11826 r"""push_front(TRACKS self, PCB_TRACK x)"""
11827 return _pcbnew.TRACKS_push_front(self, x)
11835 except StopIteration:
11838 __swig_destroy__ = _pcbnew.delete_TRACKS
11841_pcbnew.TRACKS_swigregister(TRACKS)
11844 r"""Proxy of C++ std::deque< FOOTPRINT * > class."""
11846 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11847 __repr__ = _swig_repr
11850 r"""iterator(FOOTPRINTS self) -> SwigPyIterator"""
11851 return _pcbnew.FOOTPRINTS_iterator(self)
11856 r"""__nonzero__(FOOTPRINTS self) -> bool"""
11857 return _pcbnew.FOOTPRINTS___nonzero__(self)
11860 r"""__bool__(FOOTPRINTS self) -> bool"""
11861 return _pcbnew.FOOTPRINTS___bool__(self)
11864 r"""__len__(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
11865 return _pcbnew.FOOTPRINTS___len__(self)
11868 r"""__getslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j) -> FOOTPRINTS"""
11869 return _pcbnew.FOOTPRINTS___getslice__(self, i, j)
11873 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)
11874 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j, FOOTPRINTS v)
11876 return _pcbnew.FOOTPRINTS___setslice__(self, *args)
11879 r"""__delslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)"""
11880 return _pcbnew.FOOTPRINTS___delslice__(self, i, j)
11884 __delitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i)
11885 __delitem__(FOOTPRINTS self, PySliceObject * slice)
11887 return _pcbnew.FOOTPRINTS___delitem__(self, *args)
11891 __getitem__(FOOTPRINTS self, PySliceObject * slice) -> FOOTPRINTS
11892 __getitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i) -> FOOTPRINT
11894 return _pcbnew.FOOTPRINTS___getitem__(self, *args)
11898 __setitem__(FOOTPRINTS self, PySliceObject * slice, FOOTPRINTS v)
11899 __setitem__(FOOTPRINTS self, PySliceObject * slice)
11900 __setitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, FOOTPRINT x)
11902 return _pcbnew.FOOTPRINTS___setitem__(self, *args)
11905 r"""pop(FOOTPRINTS self) -> FOOTPRINT"""
11906 return _pcbnew.FOOTPRINTS_pop(self)
11909 r"""append(FOOTPRINTS self, FOOTPRINT x)"""
11910 return _pcbnew.FOOTPRINTS_append(self, x)
11913 r"""empty(FOOTPRINTS self) -> bool"""
11914 return _pcbnew.FOOTPRINTS_empty(self)
11917 r"""size(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
11918 return _pcbnew.FOOTPRINTS_size(self)
11921 r"""swap(FOOTPRINTS self, FOOTPRINTS v)"""
11922 return _pcbnew.FOOTPRINTS_swap(self, v)
11925 r"""begin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
11926 return _pcbnew.FOOTPRINTS_begin(self)
11929 r"""end(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
11930 return _pcbnew.FOOTPRINTS_end(self)
11933 r"""rbegin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
11934 return _pcbnew.FOOTPRINTS_rbegin(self)
11937 r"""rend(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
11938 return _pcbnew.FOOTPRINTS_rend(self)
11941 r"""clear(FOOTPRINTS self)"""
11942 return _pcbnew.FOOTPRINTS_clear(self)
11945 r"""get_allocator(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::allocator_type"""
11946 return _pcbnew.FOOTPRINTS_get_allocator(self)
11949 r"""pop_back(FOOTPRINTS self)"""
11950 return _pcbnew.FOOTPRINTS_pop_back(self)
11954 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos) -> std::deque< FOOTPRINT * >::iterator
11955 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator first, std::deque< FOOTPRINT * >::iterator last) -> std::deque< FOOTPRINT * >::iterator
11957 return _pcbnew.FOOTPRINTS_erase(self, *args)
11961 __init__(FOOTPRINTS self) -> FOOTPRINTS
11962 __init__(FOOTPRINTS self, FOOTPRINTS other) -> FOOTPRINTS
11963 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size) -> FOOTPRINTS
11964 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size, FOOTPRINT value) -> FOOTPRINTS
11966 _pcbnew.FOOTPRINTS_swiginit(self, _pcbnew.new_FOOTPRINTS(*args))
11969 r"""push_back(FOOTPRINTS self, FOOTPRINT x)"""
11970 return _pcbnew.FOOTPRINTS_push_back(self, x)
11973 r"""front(FOOTPRINTS self) -> FOOTPRINT"""
11974 return _pcbnew.FOOTPRINTS_front(self)
11977 r"""back(FOOTPRINTS self) -> FOOTPRINT"""
11978 return _pcbnew.FOOTPRINTS_back(self)
11981 r"""assign(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)"""
11982 return _pcbnew.FOOTPRINTS_assign(self, n, x)
11986 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size)
11987 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size, FOOTPRINT x)
11989 return _pcbnew.FOOTPRINTS_resize(self, *args)
11993 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, FOOTPRINT x) -> std::deque< FOOTPRINT * >::iterator
11994 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)
11996 return _pcbnew.FOOTPRINTS_insert(self, *args)
11999 r"""pop_front(FOOTPRINTS self)"""
12000 return _pcbnew.FOOTPRINTS_pop_front(self)
12003 r"""push_front(FOOTPRINTS self, FOOTPRINT x)"""
12004 return _pcbnew.FOOTPRINTS_push_front(self, x)
12005 __swig_destroy__ = _pcbnew.delete_FOOTPRINTS
12008_pcbnew.FOOTPRINTS_swigregister(FOOTPRINTS)
12011 r"""Proxy of C++ std::deque< PCB_GROUP * > class."""
12013 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12014 __repr__ = _swig_repr
12017 r"""iterator(GROUPS self) -> SwigPyIterator"""
12018 return _pcbnew.GROUPS_iterator(self)
12023 r"""__nonzero__(GROUPS self) -> bool"""
12024 return _pcbnew.GROUPS___nonzero__(self)
12027 r"""__bool__(GROUPS self) -> bool"""
12028 return _pcbnew.GROUPS___bool__(self)
12031 r"""__len__(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
12032 return _pcbnew.GROUPS___len__(self)
12035 r"""__getslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j) -> GROUPS"""
12036 return _pcbnew.GROUPS___getslice__(self, i, j)
12040 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)
12041 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j, GROUPS v)
12043 return _pcbnew.GROUPS___setslice__(self, *args)
12046 r"""__delslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)"""
12047 return _pcbnew.GROUPS___delslice__(self, i, j)
12051 __delitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i)
12054 return _pcbnew.GROUPS___delitem__(self, *args)
12058 __getitem__(GROUPS self, PySliceObject * slice) -> GROUPS
12059 __getitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i) -> PCB_GROUP
12061 return _pcbnew.GROUPS___getitem__(self, *args)
12065 __setitem__(GROUPS self, PySliceObject * slice, GROUPS v)
12067 __setitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, PCB_GROUP x)
12069 return _pcbnew.GROUPS___setitem__(self, *args)
12072 r"""pop(GROUPS self) -> PCB_GROUP"""
12073 return _pcbnew.GROUPS_pop(self)
12076 r"""append(GROUPS self, PCB_GROUP x)"""
12077 return _pcbnew.GROUPS_append(self, x)
12080 r"""empty(GROUPS self) -> bool"""
12081 return _pcbnew.GROUPS_empty(self)
12084 r"""size(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
12085 return _pcbnew.GROUPS_size(self)
12088 r"""swap(GROUPS self, GROUPS v)"""
12089 return _pcbnew.GROUPS_swap(self, v)
12092 r"""begin(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
12093 return _pcbnew.GROUPS_begin(self)
12096 r"""end(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
12097 return _pcbnew.GROUPS_end(self)
12100 r"""rbegin(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
12101 return _pcbnew.GROUPS_rbegin(self)
12104 r"""rend(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
12105 return _pcbnew.GROUPS_rend(self)
12108 r"""clear(GROUPS self)"""
12109 return _pcbnew.GROUPS_clear(self)
12112 r"""get_allocator(GROUPS self) -> std::deque< PCB_GROUP * >::allocator_type"""
12113 return _pcbnew.GROUPS_get_allocator(self)
12116 r"""pop_back(GROUPS self)"""
12117 return _pcbnew.GROUPS_pop_back(self)
12121 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator pos) -> std::deque< PCB_GROUP * >::iterator
12122 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator first, std::deque< PCB_GROUP * >::iterator last) -> std::deque< PCB_GROUP * >::iterator
12124 return _pcbnew.GROUPS_erase(self, *args)
12129 __init__(GROUPS self, GROUPS other) -> GROUPS
12130 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size) -> GROUPS
12131 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size, PCB_GROUP value) -> GROUPS
12133 _pcbnew.GROUPS_swiginit(self, _pcbnew.new_GROUPS(*args))
12136 r"""push_back(GROUPS self, PCB_GROUP x)"""
12137 return _pcbnew.GROUPS_push_back(self, x)
12140 r"""front(GROUPS self) -> PCB_GROUP"""
12141 return _pcbnew.GROUPS_front(self)
12144 r"""back(GROUPS self) -> PCB_GROUP"""
12145 return _pcbnew.GROUPS_back(self)
12148 r"""assign(GROUPS self, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)"""
12149 return _pcbnew.GROUPS_assign(self, n, x)
12153 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size)
12154 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size, PCB_GROUP x)
12156 return _pcbnew.GROUPS_resize(self, *args)
12160 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, PCB_GROUP x) -> std::deque< PCB_GROUP * >::iterator
12161 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)
12163 return _pcbnew.GROUPS_insert(self, *args)
12166 r"""pop_front(GROUPS self)"""
12167 return _pcbnew.GROUPS_pop_front(self)
12170 r"""push_front(GROUPS self, PCB_GROUP x)"""
12171 return _pcbnew.GROUPS_push_front(self, x)
12172 __swig_destroy__ = _pcbnew.delete_GROUPS
12175_pcbnew.GROUPS_swigregister(GROUPS)
12178 r"""Proxy of C++ std::deque< PCB_GENERATOR * > class."""
12180 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12181 __repr__ = _swig_repr
12184 r"""iterator(GENERATORS self) -> SwigPyIterator"""
12185 return _pcbnew.GENERATORS_iterator(self)
12190 r"""__nonzero__(GENERATORS self) -> bool"""
12191 return _pcbnew.GENERATORS___nonzero__(self)
12194 r"""__bool__(GENERATORS self) -> bool"""
12195 return _pcbnew.GENERATORS___bool__(self)
12198 r"""__len__(GENERATORS self) -> std::deque< PCB_GENERATOR * >::size_type"""
12199 return _pcbnew.GENERATORS___len__(self)
12202 r"""__getslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j) -> GENERATORS"""
12203 return _pcbnew.GENERATORS___getslice__(self, i, j)
12207 __setslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j)
12208 __setslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j, GENERATORS v)
12210 return _pcbnew.GENERATORS___setslice__(self, *args)
12213 r"""__delslice__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::difference_type j)"""
12214 return _pcbnew.GENERATORS___delslice__(self, i, j)
12218 __delitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i)
12219 __delitem__(GENERATORS self, PySliceObject * slice)
12221 return _pcbnew.GENERATORS___delitem__(self, *args)
12225 __getitem__(GENERATORS self, PySliceObject * slice) -> GENERATORS
12226 __getitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i) -> std::deque< PCB_GENERATOR * >::value_type
12228 return _pcbnew.GENERATORS___getitem__(self, *args)
12232 __setitem__(GENERATORS self, PySliceObject * slice, GENERATORS v)
12233 __setitem__(GENERATORS self, PySliceObject * slice)
12234 __setitem__(GENERATORS self, std::deque< PCB_GENERATOR * >::difference_type i, std::deque< PCB_GENERATOR * >::value_type x)
12236 return _pcbnew.GENERATORS___setitem__(self, *args)
12239 r"""pop(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12240 return _pcbnew.GENERATORS_pop(self)
12243 r"""append(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12244 return _pcbnew.GENERATORS_append(self, x)
12247 r"""empty(GENERATORS self) -> bool"""
12248 return _pcbnew.GENERATORS_empty(self)
12251 r"""size(GENERATORS self) -> std::deque< PCB_GENERATOR * >::size_type"""
12252 return _pcbnew.GENERATORS_size(self)
12255 r"""swap(GENERATORS self, GENERATORS v)"""
12256 return _pcbnew.GENERATORS_swap(self, v)
12259 r"""begin(GENERATORS self) -> std::deque< PCB_GENERATOR * >::iterator"""
12260 return _pcbnew.GENERATORS_begin(self)
12263 r"""end(GENERATORS self) -> std::deque< PCB_GENERATOR * >::iterator"""
12264 return _pcbnew.GENERATORS_end(self)
12267 r"""rbegin(GENERATORS self) -> std::deque< PCB_GENERATOR * >::reverse_iterator"""
12268 return _pcbnew.GENERATORS_rbegin(self)
12271 r"""rend(GENERATORS self) -> std::deque< PCB_GENERATOR * >::reverse_iterator"""
12272 return _pcbnew.GENERATORS_rend(self)
12275 r"""clear(GENERATORS self)"""
12276 return _pcbnew.GENERATORS_clear(self)
12279 r"""get_allocator(GENERATORS self) -> std::deque< PCB_GENERATOR * >::allocator_type"""
12280 return _pcbnew.GENERATORS_get_allocator(self)
12283 r"""pop_back(GENERATORS self)"""
12284 return _pcbnew.GENERATORS_pop_back(self)
12288 erase(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos) -> std::deque< PCB_GENERATOR * >::iterator
12289 erase(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator first, std::deque< PCB_GENERATOR * >::iterator last) -> std::deque< PCB_GENERATOR * >::iterator
12291 return _pcbnew.GENERATORS_erase(self, *args)
12295 __init__(GENERATORS self) -> GENERATORS
12296 __init__(GENERATORS self, GENERATORS other) -> GENERATORS
12297 __init__(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type size) -> GENERATORS
12298 __init__(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type size, std::deque< PCB_GENERATOR * >::value_type value) -> GENERATORS
12300 _pcbnew.GENERATORS_swiginit(self, _pcbnew.new_GENERATORS(*args))
12303 r"""push_back(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12304 return _pcbnew.GENERATORS_push_back(self, x)
12307 r"""front(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12308 return _pcbnew.GENERATORS_front(self)
12311 r"""back(GENERATORS self) -> std::deque< PCB_GENERATOR * >::value_type"""
12312 return _pcbnew.GENERATORS_back(self)
12315 r"""assign(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type n, std::deque< PCB_GENERATOR * >::value_type x)"""
12316 return _pcbnew.GENERATORS_assign(self, n, x)
12320 resize(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type new_size)
12321 resize(GENERATORS self, std::deque< PCB_GENERATOR * >::size_type new_size, std::deque< PCB_GENERATOR * >::value_type x)
12323 return _pcbnew.GENERATORS_resize(self, *args)
12327 insert(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos, std::deque< PCB_GENERATOR * >::value_type x) -> std::deque< PCB_GENERATOR * >::iterator
12328 insert(GENERATORS self, std::deque< PCB_GENERATOR * >::iterator pos, std::deque< PCB_GENERATOR * >::size_type n, std::deque< PCB_GENERATOR * >::value_type x)
12330 return _pcbnew.GENERATORS_insert(self, *args)
12333 r"""pop_front(GENERATORS self)"""
12334 return _pcbnew.GENERATORS_pop_front(self)
12337 r"""push_front(GENERATORS self, std::deque< PCB_GENERATOR * >::value_type x)"""
12338 return _pcbnew.GENERATORS_push_front(self, x)
12339 __swig_destroy__ = _pcbnew.delete_GENERATORS
12342_pcbnew.GENERATORS_swigregister(GENERATORS)
12345 r"""Proxy of C++ std::deque< BOARD_ITEM * > class."""
12347 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12348 __repr__ = _swig_repr
12351 r"""iterator(DRAWINGS self) -> SwigPyIterator"""
12352 return _pcbnew.DRAWINGS_iterator(self)
12357 r"""__nonzero__(DRAWINGS self) -> bool"""
12358 return _pcbnew.DRAWINGS___nonzero__(self)
12361 r"""__bool__(DRAWINGS self) -> bool"""
12362 return _pcbnew.DRAWINGS___bool__(self)
12365 r"""__len__(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
12366 return _pcbnew.DRAWINGS___len__(self)
12369 r"""__getslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j) -> DRAWINGS"""
12370 return _pcbnew.DRAWINGS___getslice__(self, i, j)
12374 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)
12375 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j, DRAWINGS v)
12377 return _pcbnew.DRAWINGS___setslice__(self, *args)
12380 r"""__delslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)"""
12381 return _pcbnew.DRAWINGS___delslice__(self, i, j)
12385 __delitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i)
12386 __delitem__(DRAWINGS self, PySliceObject * slice)
12388 return _pcbnew.DRAWINGS___delitem__(self, *args)
12392 __getitem__(DRAWINGS self, PySliceObject * slice) -> DRAWINGS
12393 __getitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i) -> BOARD_ITEM
12395 return _pcbnew.DRAWINGS___getitem__(self, *args)
12399 __setitem__(DRAWINGS self, PySliceObject * slice, DRAWINGS v)
12400 __setitem__(DRAWINGS self, PySliceObject * slice)
12401 __setitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, BOARD_ITEM x)
12403 return _pcbnew.DRAWINGS___setitem__(self, *args)
12406 r"""pop(DRAWINGS self) -> BOARD_ITEM"""
12407 return _pcbnew.DRAWINGS_pop(self)
12410 r"""append(DRAWINGS self, BOARD_ITEM x)"""
12411 return _pcbnew.DRAWINGS_append(self, x)
12414 r"""empty(DRAWINGS self) -> bool"""
12415 return _pcbnew.DRAWINGS_empty(self)
12418 r"""size(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
12419 return _pcbnew.DRAWINGS_size(self)
12422 r"""swap(DRAWINGS self, DRAWINGS v)"""
12423 return _pcbnew.DRAWINGS_swap(self, v)
12426 r"""begin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
12427 return _pcbnew.DRAWINGS_begin(self)
12430 r"""end(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
12431 return _pcbnew.DRAWINGS_end(self)
12434 r"""rbegin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
12435 return _pcbnew.DRAWINGS_rbegin(self)
12438 r"""rend(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
12439 return _pcbnew.DRAWINGS_rend(self)
12442 r"""clear(DRAWINGS self)"""
12443 return _pcbnew.DRAWINGS_clear(self)
12446 r"""get_allocator(DRAWINGS self) -> std::deque< BOARD_ITEM * >::allocator_type"""
12447 return _pcbnew.DRAWINGS_get_allocator(self)
12450 r"""pop_back(DRAWINGS self)"""
12451 return _pcbnew.DRAWINGS_pop_back(self)
12455 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos) -> std::deque< BOARD_ITEM * >::iterator
12456 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator first, std::deque< BOARD_ITEM * >::iterator last) -> std::deque< BOARD_ITEM * >::iterator
12458 return _pcbnew.DRAWINGS_erase(self, *args)
12462 __init__(DRAWINGS self) -> DRAWINGS
12463 __init__(DRAWINGS self, DRAWINGS other) -> DRAWINGS
12464 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size) -> DRAWINGS
12465 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size, BOARD_ITEM value) -> DRAWINGS
12467 _pcbnew.DRAWINGS_swiginit(self, _pcbnew.new_DRAWINGS(*args))
12470 r"""push_back(DRAWINGS self, BOARD_ITEM x)"""
12471 return _pcbnew.DRAWINGS_push_back(self, x)
12474 r"""front(DRAWINGS self) -> BOARD_ITEM"""
12475 return _pcbnew.DRAWINGS_front(self)
12478 r"""back(DRAWINGS self) -> BOARD_ITEM"""
12479 return _pcbnew.DRAWINGS_back(self)
12482 r"""assign(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)"""
12483 return _pcbnew.DRAWINGS_assign(self, n, x)
12487 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size)
12488 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size, BOARD_ITEM x)
12490 return _pcbnew.DRAWINGS_resize(self, *args)
12494 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, BOARD_ITEM x) -> std::deque< BOARD_ITEM * >::iterator
12495 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)
12497 return _pcbnew.DRAWINGS_insert(self, *args)
12500 r"""pop_front(DRAWINGS self)"""
12501 return _pcbnew.DRAWINGS_pop_front(self)
12504 r"""push_front(DRAWINGS self, BOARD_ITEM x)"""
12505 return _pcbnew.DRAWINGS_push_front(self, x)
12513 except StopIteration:
12516 __swig_destroy__ = _pcbnew.delete_DRAWINGS
12519_pcbnew.DRAWINGS_swigregister(DRAWINGS)
12522 r"""Proxy of C++ std::deque< PAD * > class."""
12524 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12525 __repr__ = _swig_repr
12528 r"""iterator(PADS self) -> SwigPyIterator"""
12529 return _pcbnew.PADS_iterator(self)
12534 r"""__nonzero__(PADS self) -> bool"""
12535 return _pcbnew.PADS___nonzero__(self)
12538 r"""__bool__(PADS self) -> bool"""
12539 return _pcbnew.PADS___bool__(self)
12542 r"""__len__(PADS self) -> std::deque< PAD * >::size_type"""
12543 return _pcbnew.PADS___len__(self)
12546 r"""__getslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j) -> PADS"""
12547 return _pcbnew.PADS___getslice__(self, i, j)
12551 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)
12552 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j, PADS v)
12554 return _pcbnew.PADS___setslice__(self, *args)
12557 r"""__delslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)"""
12558 return _pcbnew.PADS___delslice__(self, i, j)
12562 __delitem__(PADS self, std::deque< PAD * >::difference_type i)
12565 return _pcbnew.PADS___delitem__(self, *args)
12569 __getitem__(PADS self, PySliceObject * slice) -> PADS
12570 __getitem__(PADS self, std::deque< PAD * >::difference_type i) -> PAD
12572 return _pcbnew.PADS___getitem__(self, *args)
12576 __setitem__(PADS self, PySliceObject * slice, PADS v)
12578 __setitem__(PADS self, std::deque< PAD * >::difference_type i, PAD x)
12580 return _pcbnew.PADS___setitem__(self, *args)
12583 r"""pop(PADS self) -> PAD"""
12584 return _pcbnew.PADS_pop(self)
12587 r"""append(PADS self, PAD x)"""
12588 return _pcbnew.PADS_append(self, x)
12591 r"""empty(PADS self) -> bool"""
12592 return _pcbnew.PADS_empty(self)
12595 r"""size(PADS self) -> std::deque< PAD * >::size_type"""
12596 return _pcbnew.PADS_size(self)
12599 r"""swap(PADS self, PADS v)"""
12600 return _pcbnew.PADS_swap(self, v)
12603 r"""begin(PADS self) -> std::deque< PAD * >::iterator"""
12604 return _pcbnew.PADS_begin(self)
12607 r"""end(PADS self) -> std::deque< PAD * >::iterator"""
12608 return _pcbnew.PADS_end(self)
12611 r"""rbegin(PADS self) -> std::deque< PAD * >::reverse_iterator"""
12612 return _pcbnew.PADS_rbegin(self)
12615 r"""rend(PADS self) -> std::deque< PAD * >::reverse_iterator"""
12616 return _pcbnew.PADS_rend(self)
12619 r"""clear(PADS self)"""
12620 return _pcbnew.PADS_clear(self)
12623 r"""get_allocator(PADS self) -> std::deque< PAD * >::allocator_type"""
12624 return _pcbnew.PADS_get_allocator(self)
12627 r"""pop_back(PADS self)"""
12628 return _pcbnew.PADS_pop_back(self)
12632 erase(PADS self, std::deque< PAD * >::iterator pos) -> std::deque< PAD * >::iterator
12633 erase(PADS self, std::deque< PAD * >::iterator first, std::deque< PAD * >::iterator last) -> std::deque< PAD * >::iterator
12635 return _pcbnew.PADS_erase(self, *args)
12640 __init__(PADS self, PADS other) -> PADS
12641 __init__(PADS self, std::deque< PAD * >::size_type size) -> PADS
12642 __init__(PADS self, std::deque< PAD * >::size_type size, PAD value) -> PADS
12644 _pcbnew.PADS_swiginit(self, _pcbnew.new_PADS(*args))
12647 r"""push_back(PADS self, PAD x)"""
12648 return _pcbnew.PADS_push_back(self, x)
12651 r"""front(PADS self) -> PAD"""
12652 return _pcbnew.PADS_front(self)
12655 r"""back(PADS self) -> PAD"""
12656 return _pcbnew.PADS_back(self)
12659 r"""assign(PADS self, std::deque< PAD * >::size_type n, PAD x)"""
12660 return _pcbnew.PADS_assign(self, n, x)
12664 resize(PADS self, std::deque< PAD * >::size_type new_size)
12665 resize(PADS self, std::deque< PAD * >::size_type new_size, PAD x)
12667 return _pcbnew.PADS_resize(self, *args)
12671 insert(PADS self, std::deque< PAD * >::iterator pos, PAD x) -> std::deque< PAD * >::iterator
12672 insert(PADS self, std::deque< PAD * >::iterator pos, std::deque< PAD * >::size_type n, PAD x)
12674 return _pcbnew.PADS_insert(self, *args)
12677 r"""pop_front(PADS self)"""
12678 return _pcbnew.PADS_pop_front(self)
12681 r"""push_front(PADS self, PAD x)"""
12682 return _pcbnew.PADS_push_front(self, x)
12683 __swig_destroy__ = _pcbnew.delete_PADS
12686_pcbnew.PADS_swigregister(PADS)
12689 r"""Proxy of C++ std::deque< PCB_FIELD * > class."""
12691 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12692 __repr__ = _swig_repr
12695 r"""iterator(PCB_FIELDS self) -> SwigPyIterator"""
12696 return _pcbnew.PCB_FIELDS_iterator(self)
12701 r"""__nonzero__(PCB_FIELDS self) -> bool"""
12702 return _pcbnew.PCB_FIELDS___nonzero__(self)
12705 r"""__bool__(PCB_FIELDS self) -> bool"""
12706 return _pcbnew.PCB_FIELDS___bool__(self)
12709 r"""__len__(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::size_type"""
12710 return _pcbnew.PCB_FIELDS___len__(self)
12713 r"""__getslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j) -> PCB_FIELDS"""
12714 return _pcbnew.PCB_FIELDS___getslice__(self, i, j)
12718 __setslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j)
12719 __setslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j, PCB_FIELDS v)
12721 return _pcbnew.PCB_FIELDS___setslice__(self, *args)
12724 r"""__delslice__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, std::deque< PCB_FIELD * >::difference_type j)"""
12725 return _pcbnew.PCB_FIELDS___delslice__(self, i, j)
12729 __delitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i)
12730 __delitem__(PCB_FIELDS self, PySliceObject * slice)
12732 return _pcbnew.PCB_FIELDS___delitem__(self, *args)
12736 __getitem__(PCB_FIELDS self, PySliceObject * slice) -> PCB_FIELDS
12737 __getitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i) -> PCB_FIELD
12739 return _pcbnew.PCB_FIELDS___getitem__(self, *args)
12743 __setitem__(PCB_FIELDS self, PySliceObject * slice, PCB_FIELDS v)
12744 __setitem__(PCB_FIELDS self, PySliceObject * slice)
12745 __setitem__(PCB_FIELDS self, std::deque< PCB_FIELD * >::difference_type i, PCB_FIELD x)
12747 return _pcbnew.PCB_FIELDS___setitem__(self, *args)
12750 r"""pop(PCB_FIELDS self) -> PCB_FIELD"""
12751 return _pcbnew.PCB_FIELDS_pop(self)
12754 r"""append(PCB_FIELDS self, PCB_FIELD x)"""
12755 return _pcbnew.PCB_FIELDS_append(self, x)
12758 r"""empty(PCB_FIELDS self) -> bool"""
12759 return _pcbnew.PCB_FIELDS_empty(self)
12762 r"""size(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::size_type"""
12763 return _pcbnew.PCB_FIELDS_size(self)
12766 r"""swap(PCB_FIELDS self, PCB_FIELDS v)"""
12767 return _pcbnew.PCB_FIELDS_swap(self, v)
12770 r"""begin(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::iterator"""
12771 return _pcbnew.PCB_FIELDS_begin(self)
12774 r"""end(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::iterator"""
12775 return _pcbnew.PCB_FIELDS_end(self)
12778 r"""rbegin(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::reverse_iterator"""
12779 return _pcbnew.PCB_FIELDS_rbegin(self)
12782 r"""rend(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::reverse_iterator"""
12783 return _pcbnew.PCB_FIELDS_rend(self)
12786 r"""clear(PCB_FIELDS self)"""
12787 return _pcbnew.PCB_FIELDS_clear(self)
12790 r"""get_allocator(PCB_FIELDS self) -> std::deque< PCB_FIELD * >::allocator_type"""
12791 return _pcbnew.PCB_FIELDS_get_allocator(self)
12794 r"""pop_back(PCB_FIELDS self)"""
12795 return _pcbnew.PCB_FIELDS_pop_back(self)
12799 erase(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos) -> std::deque< PCB_FIELD * >::iterator
12800 erase(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator first, std::deque< PCB_FIELD * >::iterator last) -> std::deque< PCB_FIELD * >::iterator
12802 return _pcbnew.PCB_FIELDS_erase(self, *args)
12806 __init__(PCB_FIELDS self) -> PCB_FIELDS
12807 __init__(PCB_FIELDS self, PCB_FIELDS other) -> PCB_FIELDS
12808 __init__(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type size) -> PCB_FIELDS
12809 __init__(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type size, PCB_FIELD value) -> PCB_FIELDS
12811 _pcbnew.PCB_FIELDS_swiginit(self, _pcbnew.new_PCB_FIELDS(*args))
12814 r"""push_back(PCB_FIELDS self, PCB_FIELD x)"""
12815 return _pcbnew.PCB_FIELDS_push_back(self, x)
12818 r"""front(PCB_FIELDS self) -> PCB_FIELD"""
12819 return _pcbnew.PCB_FIELDS_front(self)
12822 r"""back(PCB_FIELDS self) -> PCB_FIELD"""
12823 return _pcbnew.PCB_FIELDS_back(self)
12826 r"""assign(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type n, PCB_FIELD x)"""
12827 return _pcbnew.PCB_FIELDS_assign(self, n, x)
12831 resize(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type new_size)
12832 resize(PCB_FIELDS self, std::deque< PCB_FIELD * >::size_type new_size, PCB_FIELD x)
12834 return _pcbnew.PCB_FIELDS_resize(self, *args)
12838 insert(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos, PCB_FIELD x) -> std::deque< PCB_FIELD * >::iterator
12839 insert(PCB_FIELDS self, std::deque< PCB_FIELD * >::iterator pos, std::deque< PCB_FIELD * >::size_type n, PCB_FIELD x)
12841 return _pcbnew.PCB_FIELDS_insert(self, *args)
12844 r"""pop_front(PCB_FIELDS self)"""
12845 return _pcbnew.PCB_FIELDS_pop_front(self)
12848 r"""push_front(PCB_FIELDS self, PCB_FIELD x)"""
12849 return _pcbnew.PCB_FIELDS_push_front(self, x)
12850 __swig_destroy__ = _pcbnew.delete_PCB_FIELDS
12853_pcbnew.PCB_FIELDS_swigregister(PCB_FIELDS)
12855PAD_SHAPE_CIRCLE = _pcbnew.PAD_SHAPE_CIRCLE
12857PAD_SHAPE_RECTANGLE = _pcbnew.PAD_SHAPE_RECTANGLE
12859PAD_SHAPE_OVAL = _pcbnew.PAD_SHAPE_OVAL
12861PAD_SHAPE_TRAPEZOID = _pcbnew.PAD_SHAPE_TRAPEZOID
12863PAD_SHAPE_ROUNDRECT = _pcbnew.PAD_SHAPE_ROUNDRECT
12865PAD_SHAPE_CHAMFERED_RECT = _pcbnew.PAD_SHAPE_CHAMFERED_RECT
12867PAD_SHAPE_CUSTOM = _pcbnew.PAD_SHAPE_CUSTOM
12871 r"""PAD_SHAPE_T_asString(PAD_SHAPE a) -> string"""
12872 return _pcbnew.PAD_SHAPE_T_asString(a)
12873PAD_DRILL_SHAPE_CIRCLE = _pcbnew.PAD_DRILL_SHAPE_CIRCLE
12875PAD_DRILL_SHAPE_OBLONG = _pcbnew.PAD_DRILL_SHAPE_OBLONG
12877PAD_ATTRIB_PTH = _pcbnew.PAD_ATTRIB_PTH
12879PAD_ATTRIB_SMD = _pcbnew.PAD_ATTRIB_SMD
12881PAD_ATTRIB_CONN = _pcbnew.PAD_ATTRIB_CONN
12883PAD_ATTRIB_NPTH = _pcbnew.PAD_ATTRIB_NPTH
12885PAD_PROP_NONE = _pcbnew.PAD_PROP_NONE
12887PAD_PROP_BGA = _pcbnew.PAD_PROP_BGA
12889PAD_PROP_FIDUCIAL_GLBL = _pcbnew.PAD_PROP_FIDUCIAL_GLBL
12891PAD_PROP_FIDUCIAL_LOCAL = _pcbnew.PAD_PROP_FIDUCIAL_LOCAL
12893PAD_PROP_TESTPOINT = _pcbnew.PAD_PROP_TESTPOINT
12895PAD_PROP_HEATSINK = _pcbnew.PAD_PROP_HEATSINK
12897PAD_PROP_CASTELLATED = _pcbnew.PAD_PROP_CASTELLATED
12899CUST_PAD_SHAPE_IN_ZONE_OUTLINE = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_OUTLINE
12901CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL
12904 r"""Proxy of C++ PAD class."""
12906 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12907 __repr__ = _swig_repr
12911 __init__(PAD self, FOOTPRINT parent) -> PAD
12912 __init__(PAD self, PAD aPad) -> PAD
12914 _pcbnew.PAD_swiginit(self, _pcbnew.new_PAD(*args))
12918 r"""PTHMask() -> LSET"""
12919 return _pcbnew.PAD_PTHMask()
12923 r"""SMDMask() -> LSET"""
12924 return _pcbnew.PAD_SMDMask()
12928 r"""ConnSMDMask() -> LSET"""
12929 return _pcbnew.PAD_ConnSMDMask()
12933 r"""UnplatedHoleMask() -> LSET"""
12934 return _pcbnew.PAD_UnplatedHoleMask()
12938 r"""ApertureMask() -> LSET"""
12939 return _pcbnew.PAD_ApertureMask()
12943 r"""ClassOf(EDA_ITEM aItem) -> bool"""
12944 return _pcbnew.PAD_ClassOf(aItem)
12947 r"""ImportSettingsFrom(PAD self, PAD aMasterPad)"""
12948 return _pcbnew.PAD_ImportSettingsFrom(self, aMasterPad)
12951 r"""IsFlipped(PAD self) -> bool"""
12952 return _pcbnew.PAD_IsFlipped(self)
12955 r"""SetNumber(PAD self, wxString aNumber)"""
12956 return _pcbnew.PAD_SetNumber(self, aNumber)
12959 r"""GetNumber(PAD self) -> wxString"""
12960 return _pcbnew.PAD_GetNumber(self)
12963 r"""CanHaveNumber(PAD self) -> bool"""
12964 return _pcbnew.PAD_CanHaveNumber(self)
12967 r"""SetPinFunction(PAD self, wxString aName)"""
12968 return _pcbnew.PAD_SetPinFunction(self, aName)
12971 r"""GetPinFunction(PAD self) -> wxString"""
12972 return _pcbnew.PAD_GetPinFunction(self)
12975 r"""SetPinType(PAD self, wxString aType)"""
12976 return _pcbnew.PAD_SetPinType(self, aType)
12979 r"""GetPinType(PAD self) -> wxString"""
12980 return _pcbnew.PAD_GetPinType(self)
12983 r"""SameLogicalPadAs(PAD self, PAD aOther) -> bool"""
12984 return _pcbnew.PAD_SameLogicalPadAs(self, aOther)
12987 r"""SharesNetTieGroup(PAD self, PAD aOther) -> bool"""
12988 return _pcbnew.PAD_SharesNetTieGroup(self, aOther)
12991 r"""IsNoConnectPad(PAD self) -> bool"""
12992 return _pcbnew.PAD_IsNoConnectPad(self)
12995 r"""IsFreePad(PAD self) -> bool"""
12996 return _pcbnew.PAD_IsFreePad(self)
12999 r"""SetShape(PAD self, PAD_SHAPE aShape)"""
13000 return _pcbnew.PAD_SetShape(self, aShape)
13003 r"""GetShape(PAD self) -> PAD_SHAPE"""
13004 return _pcbnew.PAD_GetShape(self)
13007 r"""GetAnchorPadShape(PAD self) -> PAD_SHAPE"""
13008 return _pcbnew.PAD_GetAnchorPadShape(self)
13011 r"""GetCustomShapeInZoneOpt(PAD self) -> CUST_PAD_SHAPE_IN_ZONE"""
13012 return _pcbnew.PAD_GetCustomShapeInZoneOpt(self)
13015 r"""SetCustomShapeInZoneOpt(PAD self, CUST_PAD_SHAPE_IN_ZONE aOption)"""
13016 return _pcbnew.PAD_SetCustomShapeInZoneOpt(self, aOption)
13019 r"""SetAnchorPadShape(PAD self, PAD_SHAPE aShape)"""
13020 return _pcbnew.PAD_SetAnchorPadShape(self, aShape)
13023 r"""SetY(PAD self, int y)"""
13024 return _pcbnew.PAD_SetY(self, y)
13027 r"""SetX(PAD self, int x)"""
13028 return _pcbnew.PAD_SetX(self, x)
13031 r"""SetSize(PAD self, VECTOR2I aSize)"""
13032 return _pcbnew.PAD_SetSize(self, aSize)
13035 r"""GetSize(PAD self) -> VECTOR2I"""
13036 return _pcbnew.PAD_GetSize(self)
13039 r"""SetSizeX(PAD self, int const aX)"""
13040 return _pcbnew.PAD_SetSizeX(self, aX)
13043 r"""GetSizeX(PAD self) -> int"""
13044 return _pcbnew.PAD_GetSizeX(self)
13047 r"""SetSizeY(PAD self, int const aY)"""
13048 return _pcbnew.PAD_SetSizeY(self, aY)
13051 r"""GetSizeY(PAD self) -> int"""
13052 return _pcbnew.PAD_GetSizeY(self)
13055 r"""SetDelta(PAD self, VECTOR2I aSize)"""
13056 return _pcbnew.PAD_SetDelta(self, aSize)
13059 r"""GetDelta(PAD self) -> VECTOR2I"""
13060 return _pcbnew.PAD_GetDelta(self)
13063 r"""SetDrillSize(PAD self, VECTOR2I aSize)"""
13064 return _pcbnew.PAD_SetDrillSize(self, aSize)
13067 r"""GetDrillSize(PAD self) -> VECTOR2I"""
13068 return _pcbnew.PAD_GetDrillSize(self)
13071 r"""SetDrillSizeX(PAD self, int const aX)"""
13072 return _pcbnew.PAD_SetDrillSizeX(self, aX)
13075 r"""GetDrillSizeX(PAD self) -> int"""
13076 return _pcbnew.PAD_GetDrillSizeX(self)
13079 r"""SetDrillSizeY(PAD self, int const aY)"""
13080 return _pcbnew.PAD_SetDrillSizeY(self, aY)
13083 r"""GetDrillSizeY(PAD self) -> int"""
13084 return _pcbnew.PAD_GetDrillSizeY(self)
13087 r"""SetOffset(PAD self, VECTOR2I aOffset)"""
13088 return _pcbnew.PAD_SetOffset(self, aOffset)
13091 r"""GetOffset(PAD self) -> VECTOR2I"""
13092 return _pcbnew.PAD_GetOffset(self)
13096 AddPrimitivePoly(PAD self, SHAPE_POLY_SET aPoly, int aThickness, bool aFilled)
13097 AddPrimitivePoly(PAD self, VECTOR_VECTOR2I aPoly, int aThickness, bool aFilled)
13099 return _pcbnew.PAD_AddPrimitivePoly(self, *args)
13102 r"""MergePrimitivesAsPolygon(PAD self, SHAPE_POLY_SET aMergedPolygon, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
13103 return _pcbnew.PAD_MergePrimitivesAsPolygon(self, *args)
13106 r"""DeletePrimitivesList(PAD self)"""
13107 return _pcbnew.PAD_DeletePrimitivesList(self)
13110 r"""GetPrimitives(PAD self) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &"""
13111 return _pcbnew.PAD_GetPrimitives(self)
13114 r"""FlipPrimitives(PAD self, bool aFlipLeftRight)"""
13115 return _pcbnew.PAD_FlipPrimitives(self, aFlipLeftRight)
13118 r"""ReplacePrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
13119 return _pcbnew.PAD_ReplacePrimitives(self, aPrimitivesList)
13122 r"""AppendPrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
13123 return _pcbnew.PAD_AppendPrimitives(self, aPrimitivesList)
13126 r"""AddPrimitiveShape(PAD self, PCB_SHAPE aPrimitive)"""
13127 return _pcbnew.PAD_AddPrimitiveShape(self, aPrimitive)
13130 r"""SetOrientation(PAD self, EDA_ANGLE aAngle)"""
13131 return _pcbnew.PAD_SetOrientation(self, aAngle)
13134 r"""SetFPRelativeOrientation(PAD self, EDA_ANGLE aAngle)"""
13135 return _pcbnew.PAD_SetFPRelativeOrientation(self, aAngle)
13138 r"""GetOrientation(PAD self) -> EDA_ANGLE"""
13139 return _pcbnew.PAD_GetOrientation(self)
13142 r"""GetFPRelativeOrientation(PAD self) -> EDA_ANGLE"""
13143 return _pcbnew.PAD_GetFPRelativeOrientation(self)
13146 r"""SetOrientationDegrees(PAD self, double aOrientation)"""
13147 return _pcbnew.PAD_SetOrientationDegrees(self, aOrientation)
13150 r"""GetOrientationDegrees(PAD self) -> double"""
13151 return _pcbnew.PAD_GetOrientationDegrees(self)
13154 r"""SetDrillShape(PAD self, PAD_DRILL_SHAPE_T aShape)"""
13155 return _pcbnew.PAD_SetDrillShape(self, aShape)
13158 r"""GetDrillShape(PAD self) -> PAD_DRILL_SHAPE_T"""
13159 return _pcbnew.PAD_GetDrillShape(self)
13162 r"""IsDirty(PAD self) -> bool"""
13163 return _pcbnew.PAD_IsDirty(self)
13166 r"""SetDirty(PAD self)"""
13167 return _pcbnew.PAD_SetDirty(self)
13170 r"""SetAttribute(PAD self, PAD_ATTRIB aAttribute)"""
13171 return _pcbnew.PAD_SetAttribute(self, aAttribute)
13174 r"""GetAttribute(PAD self) -> PAD_ATTRIB"""
13175 return _pcbnew.PAD_GetAttribute(self)
13178 r"""SetProperty(PAD self, PAD_PROP aProperty)"""
13179 return _pcbnew.PAD_SetProperty(self, aProperty)
13182 r"""GetProperty(PAD self) -> PAD_PROP"""
13183 return _pcbnew.PAD_GetProperty(self)
13186 r"""IsAperturePad(PAD self) -> bool"""
13187 return _pcbnew.PAD_IsAperturePad(self)
13190 r"""SetPadToDieLength(PAD self, int aLength)"""
13191 return _pcbnew.PAD_SetPadToDieLength(self, aLength)
13194 r"""GetPadToDieLength(PAD self) -> int"""
13195 return _pcbnew.PAD_GetPadToDieLength(self)
13198 r"""GetLocalSolderMaskMargin(PAD self) -> int"""
13199 return _pcbnew.PAD_GetLocalSolderMaskMargin(self)
13202 r"""SetLocalSolderMaskMargin(PAD self, int aMargin)"""
13203 return _pcbnew.PAD_SetLocalSolderMaskMargin(self, aMargin)
13210 return _pcbnew.PAD_GetLocalClearance(self, *args)
13213 r"""SetLocalClearance(PAD self, int aClearance)"""
13214 return _pcbnew.PAD_SetLocalClearance(self, aClearance)
13217 r"""GetLocalSolderPasteMargin(PAD self) -> int"""
13218 return _pcbnew.PAD_GetLocalSolderPasteMargin(self)
13221 r"""SetLocalSolderPasteMargin(PAD self, int aMargin)"""
13222 return _pcbnew.PAD_SetLocalSolderPasteMargin(self, aMargin)
13225 r"""GetLocalSolderPasteMarginRatio(PAD self) -> double"""
13226 return _pcbnew.PAD_GetLocalSolderPasteMarginRatio(self)
13229 r"""SetLocalSolderPasteMarginRatio(PAD self, double aRatio)"""
13230 return _pcbnew.PAD_SetLocalSolderPasteMarginRatio(self, aRatio)
13233 r"""GetOwnClearance(PAD self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
13234 return _pcbnew.PAD_GetOwnClearance(self, aLayer, aSource)
13237 r"""TransformShapeToPolygon(PAD self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc=ERROR_INSIDE, bool ignoreLineWidth=False)"""
13238 return _pcbnew.PAD_TransformShapeToPolygon(self, *args)
13241 r"""TransformHoleToPolygon(PAD self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> bool"""
13242 return _pcbnew.PAD_TransformHoleToPolygon(self, *args)
13245 r"""GetEffectiveShape(PAD self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING flashPTHPads=DEFAULT) -> std::shared_ptr< SHAPE >"""
13246 return _pcbnew.PAD_GetEffectiveShape(self, *args)
13249 r"""GetEffectivePolygon(PAD self, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> std::shared_ptr< SHAPE_POLY_SET > const"""
13250 return _pcbnew.PAD_GetEffectivePolygon(self, *args)
13253 r"""GetBoundingRadius(PAD self) -> int"""
13254 return _pcbnew.PAD_GetBoundingRadius(self)
13257 r"""GetSolderMaskExpansion(PAD self) -> int"""
13258 return _pcbnew.PAD_GetSolderMaskExpansion(self)
13261 r"""GetSolderPasteMargin(PAD self) -> VECTOR2I"""
13262 return _pcbnew.PAD_GetSolderPasteMargin(self)
13265 r"""SetZoneConnection(PAD self, ZONE_CONNECTION aType)"""
13266 return _pcbnew.PAD_SetZoneConnection(self, aType)
13269 r"""GetZoneConnection(PAD self) -> ZONE_CONNECTION"""
13270 return _pcbnew.PAD_GetZoneConnection(self)
13273 r"""GetLocalZoneConnectionOverride(PAD self, wxString aSource=None) -> ZONE_CONNECTION"""
13274 return _pcbnew.PAD_GetLocalZoneConnectionOverride(self, aSource)
13277 r"""SetThermalSpokeWidth(PAD self, int aWidth)"""
13278 return _pcbnew.PAD_SetThermalSpokeWidth(self, aWidth)
13281 r"""GetThermalSpokeWidth(PAD self) -> int"""
13282 return _pcbnew.PAD_GetThermalSpokeWidth(self)
13285 r"""GetLocalSpokeWidthOverride(PAD self, wxString aSource=None) -> int"""
13286 return _pcbnew.PAD_GetLocalSpokeWidthOverride(self, aSource)
13289 r"""SetThermalSpokeAngle(PAD self, EDA_ANGLE aAngle)"""
13290 return _pcbnew.PAD_SetThermalSpokeAngle(self, aAngle)
13293 r"""GetThermalSpokeAngle(PAD self) -> EDA_ANGLE"""
13294 return _pcbnew.PAD_GetThermalSpokeAngle(self)
13297 r"""SetThermalSpokeAngleDegrees(PAD self, double aAngle)"""
13298 return _pcbnew.PAD_SetThermalSpokeAngleDegrees(self, aAngle)
13301 r"""GetThermalSpokeAngleDegrees(PAD self) -> double"""
13302 return _pcbnew.PAD_GetThermalSpokeAngleDegrees(self)
13305 r"""SetThermalGap(PAD self, int aGap)"""
13306 return _pcbnew.PAD_SetThermalGap(self, aGap)
13309 r"""GetThermalGap(PAD self) -> int"""
13310 return _pcbnew.PAD_GetThermalGap(self)
13313 r"""GetLocalThermalGapOverride(PAD self, wxString aSource=None) -> int"""
13314 return _pcbnew.PAD_GetLocalThermalGapOverride(self, aSource)
13317 r"""SetRoundRectCornerRadius(PAD self, double aRadius)"""
13318 return _pcbnew.PAD_SetRoundRectCornerRadius(self, aRadius)
13321 r"""GetRoundRectCornerRadius(PAD self) -> int"""
13322 return _pcbnew.PAD_GetRoundRectCornerRadius(self)
13325 r"""ShapePos(PAD self) -> VECTOR2I"""
13326 return _pcbnew.PAD_ShapePos(self)
13329 r"""SetRoundRectRadiusRatio(PAD self, double aRadiusScale)"""
13330 return _pcbnew.PAD_SetRoundRectRadiusRatio(self, aRadiusScale)
13333 r"""GetRoundRectRadiusRatio(PAD self) -> double"""
13334 return _pcbnew.PAD_GetRoundRectRadiusRatio(self)
13337 r"""SetChamferRectRatio(PAD self, double aChamferScale)"""
13338 return _pcbnew.PAD_SetChamferRectRatio(self, aChamferScale)
13341 r"""GetChamferRectRatio(PAD self) -> double"""
13342 return _pcbnew.PAD_GetChamferRectRatio(self)
13345 r"""SetChamferPositions(PAD self, int aPositions)"""
13346 return _pcbnew.PAD_SetChamferPositions(self, aPositions)
13349 r"""GetChamferPositions(PAD self) -> int"""
13350 return _pcbnew.PAD_GetChamferPositions(self)
13353 r"""GetSubRatsnest(PAD self) -> int"""
13354 return _pcbnew.PAD_GetSubRatsnest(self)
13357 r"""SetSubRatsnest(PAD self, int aSubRatsnest)"""
13358 return _pcbnew.PAD_SetSubRatsnest(self, aSubRatsnest)
13361 r"""SetRemoveUnconnected(PAD self, bool aSet)"""
13362 return _pcbnew.PAD_SetRemoveUnconnected(self, aSet)
13365 r"""GetRemoveUnconnected(PAD self) -> bool"""
13366 return _pcbnew.PAD_GetRemoveUnconnected(self)
13369 r"""SetKeepTopBottom(PAD self, bool aSet)"""
13370 return _pcbnew.PAD_SetKeepTopBottom(self, aSet)
13373 r"""GetKeepTopBottom(PAD self) -> bool"""
13374 return _pcbnew.PAD_GetKeepTopBottom(self)
13377 r"""ConditionallyFlashed(PAD self, PCB_LAYER_ID aLayer) -> bool"""
13378 return _pcbnew.PAD_ConditionallyFlashed(self, aLayer)
13381 r"""CanFlashLayer(PAD self, int aLayer) -> bool"""
13382 return _pcbnew.PAD_CanFlashLayer(self, aLayer)
13385 r"""GetPrincipalLayer(PAD self) -> PCB_LAYER_ID"""
13386 return _pcbnew.PAD_GetPrincipalLayer(self)
13390 FlashLayer(PAD self, int aLayer, bool aOnlyCheckIfPermitted=False) -> bool
13393 return _pcbnew.PAD_FlashLayer(self, *args)
13397 HitTest(PAD self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13398 HitTest(PAD self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13400 return _pcbnew.PAD_HitTest(self, *args)
13403 r"""Recombine(PAD self, bool aIsDryRun, int aMaxError) -> std::vector< PCB_SHAPE *,std::allocator< PCB_SHAPE * > >"""
13404 return _pcbnew.PAD_Recombine(self, aIsDryRun, aMaxError)
13408 r"""Compare(PAD aPadRef, PAD aPadCmp) -> int"""
13409 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
13412 r"""ShowPadShape(PAD self) -> wxString"""
13413 return _pcbnew.PAD_ShowPadShape(self)
13416 r"""ShowPadAttr(PAD self) -> wxString"""
13417 return _pcbnew.PAD_ShowPadAttr(self)
13420 r"""ClonePad(PAD self) -> PAD"""
13421 return _pcbnew.PAD_ClonePad(self)
13424 r"""BuildEffectiveShapes(PAD self, PCB_LAYER_ID aLayer)"""
13425 return _pcbnew.PAD_BuildEffectiveShapes(self, aLayer)
13428 r"""BuildEffectivePolygon(PAD self, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
13429 return _pcbnew.PAD_BuildEffectivePolygon(self, *args)
13432 r"""ViewGetLOD(PAD self, int aLayer, KIGFX::VIEW * aView) -> double"""
13433 return _pcbnew.PAD_ViewGetLOD(self, aLayer, aView)
13436 r"""ClearZoneLayerOverrides(PAD self)"""
13437 return _pcbnew.PAD_ClearZoneLayerOverrides(self)
13440 r"""GetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
13441 return _pcbnew.PAD_GetZoneLayerOverride(self, aLayer)
13444 r"""SetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
13445 return _pcbnew.PAD_SetZoneLayerOverride(self, aLayer, aOverride)
13448 r"""CheckPad(PAD self, UNITS_PROVIDER aUnitsProvider, std::function< void (int,wxString const &) > const & aErrorHandler)"""
13449 return _pcbnew.PAD_CheckPad(self, aUnitsProvider, aErrorHandler)
13452 r"""__ne__(PAD self, BOARD_ITEM aOther) -> bool"""
13453 return _pcbnew.PAD___ne__(self, aOther)
13479 elif len(args) == 3:
13480 if type(args[1]
in [wxPoint,wxSize,VECTOR2I]):
13482 s.SetStart(args[0])
13484 s.SetWidth(args[2])
13487 s.SetCenter(args[0])
13488 s.SetRadius(args[1])
13489 s.SetWidth(args[2])
13490 elif len(args) == 4:
13492 s.SetCenter(args[0])
13493 s.SetStart(args[1])
13494 s.SetArcAngleAndEnd(args[2])
13495 s.SetWidth(args[3])
13496 elif len(args) == 5:
13498 s.SetStart(args[0])
13500 s.SetBezierC1(args[2])
13501 s.SetBezierC2(args[3])
13502 s.SetWidth(args[4])
13504 raise TypeError(f
"Arguments not recognized; expected 2-5 args, got {len(args)}")
13514 __swig_destroy__ = _pcbnew.delete_PAD
13517_pcbnew.PAD_swigregister(PAD)
13520 r"""PAD_PTHMask() -> LSET"""
13521 return _pcbnew.PAD_PTHMask()
13524 r"""PAD_SMDMask() -> LSET"""
13525 return _pcbnew.PAD_SMDMask()
13528 r"""PAD_ConnSMDMask() -> LSET"""
13529 return _pcbnew.PAD_ConnSMDMask()
13532 r"""PAD_UnplatedHoleMask() -> LSET"""
13533 return _pcbnew.PAD_UnplatedHoleMask()
13536 r"""PAD_ApertureMask() -> LSET"""
13537 return _pcbnew.PAD_ApertureMask()
13540 r"""PAD_ClassOf(EDA_ITEM aItem) -> bool"""
13541 return _pcbnew.PAD_ClassOf(aItem)
13544 r"""PAD_Compare(PAD aPadRef, PAD aPadCmp) -> int"""
13545 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
13547ENDPOINT_START = _pcbnew.ENDPOINT_START
13549ENDPOINT_END = _pcbnew.ENDPOINT_END
13551VIATYPE_THROUGH = _pcbnew.VIATYPE_THROUGH
13553VIATYPE_BLIND_BURIED = _pcbnew.VIATYPE_BLIND_BURIED
13555VIATYPE_MICROVIA = _pcbnew.VIATYPE_MICROVIA
13557VIATYPE_NOT_DEFINED = _pcbnew.VIATYPE_NOT_DEFINED
13559UNDEFINED_DRILL_DIAMETER = _pcbnew.UNDEFINED_DRILL_DIAMETER
13562 r"""Proxy of C++ PCB_TRACK class."""
13564 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13565 __repr__ = _swig_repr
13569 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13570 return _pcbnew.PCB_TRACK_ClassOf(aItem)
13573 r"""__init__(PCB_TRACK self, BOARD_ITEM aParent, KICAD_T idtype=PCB_TRACE_T) -> PCB_TRACK"""
13574 _pcbnew.PCB_TRACK_swiginit(self, _pcbnew.new_PCB_TRACK(aParent, idtype))
13577 r"""Mirror(PCB_TRACK self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
13578 return _pcbnew.PCB_TRACK_Mirror(self, aCentre, aMirrorAroundXAxis)
13581 r"""SetWidth(PCB_TRACK self, int aWidth)"""
13582 return _pcbnew.PCB_TRACK_SetWidth(self, aWidth)
13585 r"""GetWidth(PCB_TRACK self) -> int"""
13586 return _pcbnew.PCB_TRACK_GetWidth(self)
13589 r"""SetEnd(PCB_TRACK self, VECTOR2I aEnd)"""
13590 return _pcbnew.PCB_TRACK_SetEnd(self, aEnd)
13593 r"""GetEnd(PCB_TRACK self) -> VECTOR2I"""
13594 return _pcbnew.PCB_TRACK_GetEnd(self)
13597 r"""SetStart(PCB_TRACK self, VECTOR2I aStart)"""
13598 return _pcbnew.PCB_TRACK_SetStart(self, aStart)
13601 r"""GetStart(PCB_TRACK self) -> VECTOR2I"""
13602 return _pcbnew.PCB_TRACK_GetStart(self)
13605 r"""SetEndX(PCB_TRACK self, int aX)"""
13606 return _pcbnew.PCB_TRACK_SetEndX(self, aX)
13609 r"""SetEndY(PCB_TRACK self, int aY)"""
13610 return _pcbnew.PCB_TRACK_SetEndY(self, aY)
13613 r"""GetEndX(PCB_TRACK self) -> int"""
13614 return _pcbnew.PCB_TRACK_GetEndX(self)
13617 r"""GetEndY(PCB_TRACK self) -> int"""
13618 return _pcbnew.PCB_TRACK_GetEndY(self)
13621 r"""GetEndPoint(PCB_TRACK self, ENDPOINT_T aEndPoint) -> VECTOR2I"""
13622 return _pcbnew.PCB_TRACK_GetEndPoint(self, aEndPoint)
13625 r"""GetLength(PCB_TRACK self) -> double"""
13626 return _pcbnew.PCB_TRACK_GetLength(self)
13629 r"""TransformShapeToPolygon(PCB_TRACK self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
13630 return _pcbnew.PCB_TRACK_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
13633 r"""GetEffectiveShape(PCB_TRACK self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13634 return _pcbnew.PCB_TRACK_GetEffectiveShape(self, *args)
13637 r"""IsPointOnEnds(PCB_TRACK self, VECTOR2I point, int min_dist=0) -> EDA_ITEM_FLAGS"""
13638 return _pcbnew.PCB_TRACK_IsPointOnEnds(self, point, min_dist)
13641 r"""IsNull(PCB_TRACK self) -> bool"""
13642 return _pcbnew.PCB_TRACK_IsNull(self)
13646 HitTest(PCB_TRACK self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13647 HitTest(PCB_TRACK self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13649 return _pcbnew.PCB_TRACK_HitTest(self, *args)
13652 r"""ApproxCollinear(PCB_TRACK self, PCB_TRACK aTrack) -> bool"""
13653 return _pcbnew.PCB_TRACK_ApproxCollinear(self, aTrack)
13656 r"""GetWidthConstraint(PCB_TRACK self, wxString aSource=None) -> MINOPTMAX< int >"""
13657 return _pcbnew.PCB_TRACK_GetWidthConstraint(self, aSource)
13660 r"""ViewGetLOD(PCB_TRACK self, int aLayer, KIGFX::VIEW * aView) -> double"""
13661 return _pcbnew.PCB_TRACK_ViewGetLOD(self, aLayer, aView)
13662 __swig_destroy__ = _pcbnew.delete_PCB_TRACK
13665_pcbnew.PCB_TRACK_swigregister(PCB_TRACK)
13666PAD_SHAPE_RECT = cvar.PAD_SHAPE_RECT
13669 r"""PCB_TRACK_ClassOf(EDA_ITEM aItem) -> bool"""
13670 return _pcbnew.PCB_TRACK_ClassOf(aItem)
13673 r"""Proxy of C++ PCB_ARC class."""
13675 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13676 __repr__ = _swig_repr
13680 __init__(PCB_ARC self, BOARD_ITEM aParent) -> PCB_ARC
13681 __init__(PCB_ARC self, BOARD_ITEM aParent, SHAPE_ARC aArc) -> PCB_ARC
13683 _pcbnew.PCB_ARC_swiginit(self, _pcbnew.new_PCB_ARC(*args))
13687 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13688 return _pcbnew.PCB_ARC_ClassOf(aItem)
13691 r"""SetMid(PCB_ARC self, VECTOR2I aMid)"""
13692 return _pcbnew.PCB_ARC_SetMid(self, aMid)
13695 r"""GetMid(PCB_ARC self) -> VECTOR2I"""
13696 return _pcbnew.PCB_ARC_GetMid(self)
13699 r"""GetRadius(PCB_ARC self) -> double"""
13700 return _pcbnew.PCB_ARC_GetRadius(self)
13703 r"""GetAngle(PCB_ARC self) -> EDA_ANGLE"""
13704 return _pcbnew.PCB_ARC_GetAngle(self)
13707 r"""GetArcAngleStart(PCB_ARC self) -> EDA_ANGLE"""
13708 return _pcbnew.PCB_ARC_GetArcAngleStart(self)
13711 r"""GetArcAngleEnd(PCB_ARC self) -> EDA_ANGLE"""
13712 return _pcbnew.PCB_ARC_GetArcAngleEnd(self)
13716 HitTest(PCB_ARC self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13717 HitTest(PCB_ARC self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
13719 return _pcbnew.PCB_ARC_HitTest(self, *args)
13722 r"""IsCCW(PCB_ARC self) -> bool"""
13723 return _pcbnew.PCB_ARC_IsCCW(self)
13726 r"""GetEffectiveShape(PCB_ARC self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13727 return _pcbnew.PCB_ARC_GetEffectiveShape(self, *args)
13730 r"""IsDegenerated(PCB_ARC self, int aThreshold=5) -> bool"""
13731 return _pcbnew.PCB_ARC_IsDegenerated(self, aThreshold)
13732 __swig_destroy__ = _pcbnew.delete_PCB_ARC
13735_pcbnew.PCB_ARC_swigregister(PCB_ARC)
13738 r"""PCB_ARC_ClassOf(EDA_ITEM aItem) -> bool"""
13739 return _pcbnew.PCB_ARC_ClassOf(aItem)
13742 r"""Proxy of C++ PCB_VIA class."""
13744 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13745 __repr__ = _swig_repr
13749 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13750 return _pcbnew.PCB_VIA_ClassOf(aItem)
13754 __init__(PCB_VIA self, BOARD_ITEM aParent) -> PCB_VIA
13755 __init__(PCB_VIA self, PCB_VIA aOther) -> PCB_VIA
13757 _pcbnew.PCB_VIA_swiginit(self, _pcbnew.new_PCB_VIA(*args))
13760 r"""GetViaType(PCB_VIA self) -> VIATYPE"""
13761 return _pcbnew.PCB_VIA_GetViaType(self)
13764 r"""SetViaType(PCB_VIA self, VIATYPE aViaType)"""
13765 return _pcbnew.PCB_VIA_SetViaType(self, aViaType)
13768 r"""GetWidthConstraint(PCB_VIA self, wxString aSource=None) -> MINOPTMAX< int >"""
13769 return _pcbnew.PCB_VIA_GetWidthConstraint(self, aSource)
13772 r"""GetDrillConstraint(PCB_VIA self, wxString aSource=None) -> MINOPTMAX< int >"""
13773 return _pcbnew.PCB_VIA_GetDrillConstraint(self, aSource)
13776 r"""GetSolderMaskExpansion(PCB_VIA self) -> int"""
13777 return _pcbnew.PCB_VIA_GetSolderMaskExpansion(self)
13780 r"""SetLayerPair(PCB_VIA self, PCB_LAYER_ID aTopLayer, PCB_LAYER_ID aBottomLayer)"""
13781 return _pcbnew.PCB_VIA_SetLayerPair(self, aTopLayer, aBottomLayer)
13784 r"""SetBottomLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
13785 return _pcbnew.PCB_VIA_SetBottomLayer(self, aLayer)
13788 r"""SetTopLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
13789 return _pcbnew.PCB_VIA_SetTopLayer(self, aLayer)
13792 r"""LayerPair(PCB_VIA self, PCB_LAYER_ID * top_layer, PCB_LAYER_ID * bottom_layer)"""
13793 return _pcbnew.PCB_VIA_LayerPair(self, top_layer, bottom_layer)
13796 r"""TopLayer(PCB_VIA self) -> PCB_LAYER_ID"""
13797 return _pcbnew.PCB_VIA_TopLayer(self)
13800 r"""BottomLayer(PCB_VIA self) -> PCB_LAYER_ID"""
13801 return _pcbnew.PCB_VIA_BottomLayer(self)
13804 r"""SanitizeLayers(PCB_VIA self)"""
13805 return _pcbnew.PCB_VIA_SanitizeLayers(self)
13809 HitTest(PCB_VIA self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13810 HitTest(PCB_VIA self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13812 return _pcbnew.PCB_VIA_HitTest(self, *args)
13815 r"""ViewGetLOD(PCB_VIA self, int aLayer, KIGFX::VIEW * aView) -> double"""
13816 return _pcbnew.PCB_VIA_ViewGetLOD(self, aLayer, aView)
13819 r"""GetMinAnnulus(PCB_VIA self, PCB_LAYER_ID aLayer, wxString aSource) -> int"""
13820 return _pcbnew.PCB_VIA_GetMinAnnulus(self, aLayer, aSource)
13823 r"""SetRemoveUnconnected(PCB_VIA self, bool aSet)"""
13824 return _pcbnew.PCB_VIA_SetRemoveUnconnected(self, aSet)
13827 r"""GetRemoveUnconnected(PCB_VIA self) -> bool"""
13828 return _pcbnew.PCB_VIA_GetRemoveUnconnected(self)
13831 r"""SetKeepStartEnd(PCB_VIA self, bool aSet)"""
13832 return _pcbnew.PCB_VIA_SetKeepStartEnd(self, aSet)
13835 r"""GetKeepStartEnd(PCB_VIA self) -> bool"""
13836 return _pcbnew.PCB_VIA_GetKeepStartEnd(self)
13839 r"""ConditionallyFlashed(PCB_VIA self, PCB_LAYER_ID aLayer) -> bool"""
13840 return _pcbnew.PCB_VIA_ConditionallyFlashed(self, aLayer)
13844 FlashLayer(PCB_VIA self, int aLayer) -> bool
13845 FlashLayer(PCB_VIA self, LSET aLayers) -> bool
13847 return _pcbnew.PCB_VIA_FlashLayer(self, *args)
13850 r"""GetOutermostConnectedLayers(PCB_VIA self, PCB_LAYER_ID * aTopmost, PCB_LAYER_ID * aBottommost)"""
13851 return _pcbnew.PCB_VIA_GetOutermostConnectedLayers(self, aTopmost, aBottommost)
13854 r"""SetDrill(PCB_VIA self, int aDrill)"""
13855 return _pcbnew.PCB_VIA_SetDrill(self, aDrill)
13858 r"""GetDrill(PCB_VIA self) -> int"""
13859 return _pcbnew.PCB_VIA_GetDrill(self)
13862 r"""GetDrillValue(PCB_VIA self) -> int"""
13863 return _pcbnew.PCB_VIA_GetDrillValue(self)
13866 r"""SetDrillDefault(PCB_VIA self)"""
13867 return _pcbnew.PCB_VIA_SetDrillDefault(self)
13870 r"""GetIsFree(PCB_VIA self) -> bool"""
13871 return _pcbnew.PCB_VIA_GetIsFree(self)
13874 r"""SetIsFree(PCB_VIA self, bool aFree=True)"""
13875 return _pcbnew.PCB_VIA_SetIsFree(self, aFree)
13878 r"""GetEffectiveShape(PCB_VIA self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13879 return _pcbnew.PCB_VIA_GetEffectiveShape(self, *args)
13882 r"""ClearZoneLayerOverrides(PCB_VIA self)"""
13883 return _pcbnew.PCB_VIA_ClearZoneLayerOverrides(self)
13886 r"""GetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
13887 return _pcbnew.PCB_VIA_GetZoneLayerOverride(self, aLayer)
13890 r"""SetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
13891 return _pcbnew.PCB_VIA_SetZoneLayerOverride(self, aLayer, aOverride)
13892 __swig_destroy__ = _pcbnew.delete_PCB_VIA
13895_pcbnew.PCB_VIA_swigregister(PCB_VIA)
13898 r"""PCB_VIA_ClassOf(EDA_ITEM aItem) -> bool"""
13899 return _pcbnew.PCB_VIA_ClassOf(aItem)
13902 r"""Proxy of C++ ISOLATED_ISLANDS class."""
13904 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13905 __repr__ = _swig_repr
13906 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)>)>""")
13907 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)>)>""")
13910 r"""__init__(ISOLATED_ISLANDS self) -> ISOLATED_ISLANDS"""
13911 _pcbnew.ISOLATED_ISLANDS_swiginit(self, _pcbnew.new_ISOLATED_ISLANDS())
13912 __swig_destroy__ = _pcbnew.delete_ISOLATED_ISLANDS
13915_pcbnew.ISOLATED_ISLANDS_swigregister(ISOLATED_ISLANDS)
13918 r"""Proxy of C++ ZONE class."""
13920 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13921 __repr__ = _swig_repr
13925 __init__(ZONE self, BOARD_ITEM_CONTAINER parent) -> ZONE
13926 __init__(ZONE self, ZONE aZone) -> ZONE
13928 _pcbnew.ZONE_swiginit(self, _pcbnew.new_ZONE(*args))
13929 __swig_destroy__ = _pcbnew.delete_ZONE
13933 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13934 return _pcbnew.ZONE_ClassOf(aItem)
13937 r"""InitDataFromSrcInCopyCtor(ZONE self, ZONE aZone)"""
13938 return _pcbnew.ZONE_InitDataFromSrcInCopyCtor(self, aZone)
13941 r"""IsConflicting(ZONE self) -> bool"""
13942 return _pcbnew.ZONE_IsConflicting(self)
13945 r"""SetAssignedPriority(ZONE self, unsigned int aPriority)"""
13946 return _pcbnew.ZONE_SetAssignedPriority(self, aPriority)
13949 r"""GetAssignedPriority(ZONE self) -> unsigned int"""
13950 return _pcbnew.ZONE_GetAssignedPriority(self)
13953 r"""HigherPriority(ZONE self, ZONE aOther) -> bool"""
13954 return _pcbnew.ZONE_HigherPriority(self, aOther)
13957 r"""SameNet(ZONE self, ZONE aOther) -> bool"""
13958 return _pcbnew.ZONE_SameNet(self, aOther)
13961 r"""GetZoneName(ZONE self) -> wxString"""
13962 return _pcbnew.ZONE_GetZoneName(self)
13965 r"""SetZoneName(ZONE self, wxString aName)"""
13966 return _pcbnew.ZONE_SetZoneName(self, aName)
13969 r"""CacheBoundingBox(ZONE self)"""
13970 return _pcbnew.ZONE_CacheBoundingBox(self)
13977 return _pcbnew.ZONE_GetLocalClearance(self, *args)
13980 r"""SetLocalClearance(ZONE self, int aClearance)"""
13981 return _pcbnew.ZONE_SetLocalClearance(self, aClearance)
13984 r"""GetFirstLayer(ZONE self) -> PCB_LAYER_ID"""
13985 return _pcbnew.ZONE_GetFirstLayer(self)
13988 r"""ViewGetLOD(ZONE self, int aLayer, KIGFX::VIEW * aView) -> double"""
13989 return _pcbnew.ZONE_ViewGetLOD(self, aLayer, aView)
13992 r"""SetFillMode(ZONE self, ZONE_FILL_MODE aFillMode)"""
13993 return _pcbnew.ZONE_SetFillMode(self, aFillMode)
13996 r"""GetFillMode(ZONE self) -> ZONE_FILL_MODE"""
13997 return _pcbnew.ZONE_GetFillMode(self)
14000 r"""SetThermalReliefGap(ZONE self, int aThermalReliefGap)"""
14001 return _pcbnew.ZONE_SetThermalReliefGap(self, aThermalReliefGap)
14008 return _pcbnew.ZONE_GetThermalReliefGap(self, *args)
14011 r"""SetThermalReliefSpokeWidth(ZONE self, int aThermalReliefSpokeWidth)"""
14012 return _pcbnew.ZONE_SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth)
14015 r"""GetThermalReliefSpokeWidth(ZONE self) -> int"""
14016 return _pcbnew.ZONE_GetThermalReliefSpokeWidth(self)
14019 r"""CalculateFilledArea(ZONE self) -> double"""
14020 return _pcbnew.ZONE_CalculateFilledArea(self)
14023 r"""CalculateOutlineArea(ZONE self) -> double"""
14024 return _pcbnew.ZONE_CalculateOutlineArea(self)
14027 r"""GetFilledArea(ZONE self) -> double"""
14028 return _pcbnew.ZONE_GetFilledArea(self)
14031 r"""GetOutlineArea(ZONE self) -> double"""
14032 return _pcbnew.ZONE_GetOutlineArea(self)
14035 r"""GetLock(ZONE self) -> std::mutex &"""
14036 return _pcbnew.ZONE_GetLock(self)
14039 r"""GetFillFlag(ZONE self, PCB_LAYER_ID aLayer) -> int"""
14040 return _pcbnew.ZONE_GetFillFlag(self, aLayer)
14043 r"""SetFillFlag(ZONE self, PCB_LAYER_ID aLayer, bool aFlag)"""
14044 return _pcbnew.ZONE_SetFillFlag(self, aLayer, aFlag)
14047 r"""IsFilled(ZONE self) -> bool"""
14048 return _pcbnew.ZONE_IsFilled(self)
14051 r"""SetIsFilled(ZONE self, bool isFilled)"""
14052 return _pcbnew.ZONE_SetIsFilled(self, isFilled)
14055 r"""NeedRefill(ZONE self) -> bool"""
14056 return _pcbnew.ZONE_NeedRefill(self)
14059 r"""SetNeedRefill(ZONE self, bool aNeedRefill)"""
14060 return _pcbnew.ZONE_SetNeedRefill(self, aNeedRefill)
14063 r"""GetPadConnection(ZONE self) -> ZONE_CONNECTION"""
14064 return _pcbnew.ZONE_GetPadConnection(self)
14067 r"""SetPadConnection(ZONE self, ZONE_CONNECTION aPadConnection)"""
14068 return _pcbnew.ZONE_SetPadConnection(self, aPadConnection)
14071 r"""GetMinThickness(ZONE self) -> int"""
14072 return _pcbnew.ZONE_GetMinThickness(self)
14075 r"""SetMinThickness(ZONE self, int aMinThickness)"""
14076 return _pcbnew.ZONE_SetMinThickness(self, aMinThickness)
14079 r"""GetHatchThickness(ZONE self) -> int"""
14080 return _pcbnew.ZONE_GetHatchThickness(self)
14083 r"""SetHatchThickness(ZONE self, int aThickness)"""
14084 return _pcbnew.ZONE_SetHatchThickness(self, aThickness)
14087 r"""GetHatchGap(ZONE self) -> int"""
14088 return _pcbnew.ZONE_GetHatchGap(self)
14091 r"""SetHatchGap(ZONE self, int aStep)"""
14092 return _pcbnew.ZONE_SetHatchGap(self, aStep)
14095 r"""GetHatchOrientation(ZONE self) -> EDA_ANGLE"""
14096 return _pcbnew.ZONE_GetHatchOrientation(self)
14099 r"""SetHatchOrientation(ZONE self, EDA_ANGLE aStep)"""
14100 return _pcbnew.ZONE_SetHatchOrientation(self, aStep)
14103 r"""GetHatchSmoothingLevel(ZONE self) -> int"""
14104 return _pcbnew.ZONE_GetHatchSmoothingLevel(self)
14107 r"""SetHatchSmoothingLevel(ZONE self, int aLevel)"""
14108 return _pcbnew.ZONE_SetHatchSmoothingLevel(self, aLevel)
14111 r"""GetHatchSmoothingValue(ZONE self) -> double"""
14112 return _pcbnew.ZONE_GetHatchSmoothingValue(self)
14115 r"""SetHatchSmoothingValue(ZONE self, double aValue)"""
14116 return _pcbnew.ZONE_SetHatchSmoothingValue(self, aValue)
14119 r"""GetHatchHoleMinArea(ZONE self) -> double"""
14120 return _pcbnew.ZONE_GetHatchHoleMinArea(self)
14123 r"""SetHatchHoleMinArea(ZONE self, double aPct)"""
14124 return _pcbnew.ZONE_SetHatchHoleMinArea(self, aPct)
14127 r"""GetHatchBorderAlgorithm(ZONE self) -> int"""
14128 return _pcbnew.ZONE_GetHatchBorderAlgorithm(self)
14131 r"""SetHatchBorderAlgorithm(ZONE self, int aAlgo)"""
14132 return _pcbnew.ZONE_SetHatchBorderAlgorithm(self, aAlgo)
14135 r"""GetSelectedCorner(ZONE self) -> int"""
14136 return _pcbnew.ZONE_GetSelectedCorner(self)
14139 r"""SetSelectedCorner(ZONE self, int aCorner)"""
14140 return _pcbnew.ZONE_SetSelectedCorner(self, aCorner)
14143 r"""GetLocalFlags(ZONE self) -> int"""
14144 return _pcbnew.ZONE_GetLocalFlags(self)
14147 r"""SetLocalFlags(ZONE self, int aFlags)"""
14148 return _pcbnew.ZONE_SetLocalFlags(self, aFlags)
14152 Outline(ZONE self) -> SHAPE_POLY_SET
14153 Outline(ZONE self) -> SHAPE_POLY_SET
14155 return _pcbnew.ZONE_Outline(self, *args)
14158 r"""SetOutline(ZONE self, SHAPE_POLY_SET aOutline)"""
14159 return _pcbnew.ZONE_SetOutline(self, aOutline)
14162 r"""GetEffectiveShape(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14163 return _pcbnew.ZONE_GetEffectiveShape(self, *args)
14166 r"""HitTestFilledArea(ZONE self, PCB_LAYER_ID aLayer, VECTOR2I aRefPos, int aAccuracy=0) -> bool"""
14167 return _pcbnew.ZONE_HitTestFilledArea(self, aLayer, aRefPos, aAccuracy)
14170 r"""HitTestCutout(ZONE self, VECTOR2I aRefPos, int * aOutlineIdx=None, int * aHoleIdx=None) -> bool"""
14171 return _pcbnew.ZONE_HitTestCutout(self, aRefPos, aOutlineIdx, aHoleIdx)
14174 r"""GetInteractingZones(ZONE self, PCB_LAYER_ID aLayer, ZONES aSameNetCollidingZones, ZONES aOtherNetIntersectingZones)"""
14175 return _pcbnew.ZONE_GetInteractingZones(self, aLayer, aSameNetCollidingZones, aOtherNetIntersectingZones)
14178 r"""TransformSolidAreasShapesToPolygon(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBuffer)"""
14179 return _pcbnew.ZONE_TransformSolidAreasShapesToPolygon(self, aLayer, aBuffer)
14182 r"""TransformSmoothedOutlineToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, SHAPE_POLY_SET aBoardOutline)"""
14183 return _pcbnew.ZONE_TransformSmoothedOutlineToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, aBoardOutline)
14186 r"""TransformShapeToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
14187 return _pcbnew.ZONE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
14190 r"""HitTestForCorner(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
14191 return _pcbnew.ZONE_HitTestForCorner(self, refPos, aAccuracy, aCornerHit)
14194 r"""HitTestForEdge(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
14195 return _pcbnew.ZONE_HitTestForEdge(self, refPos, aAccuracy, aCornerHit)
14199 HitTest(ZONE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14200 HitTest(ZONE self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
14202 return _pcbnew.ZONE_HitTest(self, *args)
14205 r"""UnFill(ZONE self) -> bool"""
14206 return _pcbnew.ZONE_UnFill(self)
14209 r"""MoveEdge(ZONE self, VECTOR2I offset, int aEdge)"""
14210 return _pcbnew.ZONE_MoveEdge(self, offset, aEdge)
14213 r"""Mirror(ZONE self, VECTOR2I aMirrorRef, bool aMirrorLeftRight)"""
14214 return _pcbnew.ZONE_Mirror(self, aMirrorRef, aMirrorLeftRight)
14217 r"""GetNumCorners(ZONE self) -> int"""
14218 return _pcbnew.ZONE_GetNumCorners(self)
14221 r"""Iterate(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
14222 return _pcbnew.ZONE_Iterate(self)
14225 r"""IterateWithHoles(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
14226 return _pcbnew.ZONE_IterateWithHoles(self)
14229 r"""CIterateWithHoles(ZONE self) -> SHAPE_POLY_SET::CONST_ITERATOR"""
14230 return _pcbnew.ZONE_CIterateWithHoles(self)
14233 r"""RemoveAllContours(ZONE self)"""
14234 return _pcbnew.ZONE_RemoveAllContours(self)
14237 r"""GetCornerPosition(ZONE self, int aCornerIndex) -> VECTOR2I"""
14238 return _pcbnew.ZONE_GetCornerPosition(self, aCornerIndex)
14241 r"""SetCornerPosition(ZONE self, int aCornerIndex, VECTOR2I new_pos)"""
14242 return _pcbnew.ZONE_SetCornerPosition(self, aCornerIndex, new_pos)
14245 r"""NewHole(ZONE self)"""
14246 return _pcbnew.ZONE_NewHole(self)
14249 r"""AppendCorner(ZONE self, VECTOR2I aPosition, int aHoleIdx, bool aAllowDuplication=False) -> bool"""
14250 return _pcbnew.ZONE_AppendCorner(self, aPosition, aHoleIdx, aAllowDuplication)
14253 r"""GetHatchStyle(ZONE self) -> ZONE_BORDER_DISPLAY_STYLE"""
14254 return _pcbnew.ZONE_GetHatchStyle(self)
14257 r"""SetHatchStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aStyle)"""
14258 return _pcbnew.ZONE_SetHatchStyle(self, aStyle)
14261 r"""HasFilledPolysForLayer(ZONE self, PCB_LAYER_ID aLayer) -> bool"""
14262 return _pcbnew.ZONE_HasFilledPolysForLayer(self, aLayer)
14265 r"""GetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer) -> std::shared_ptr< SHAPE_POLY_SET > const &"""
14266 return _pcbnew.ZONE_GetFilledPolysList(self, aLayer)
14269 r"""GetFill(ZONE self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
14270 return _pcbnew.ZONE_GetFill(self, aLayer)
14273 r"""CacheTriangulation(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
14274 return _pcbnew.ZONE_CacheTriangulation(self, aLayer)
14277 r"""SetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPolysList)"""
14278 return _pcbnew.ZONE_SetFilledPolysList(self, aLayer, aPolysList)
14281 r"""IsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx) -> bool"""
14282 return _pcbnew.ZONE_IsIsland(self, aLayer, aPolyIdx)
14285 r"""SetIsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx)"""
14286 return _pcbnew.ZONE_SetIsIsland(self, aLayer, aPolyIdx)
14289 r"""BuildSmoothedPoly(ZONE self, SHAPE_POLY_SET aSmoothedPoly, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBoardOutline, SHAPE_POLY_SET aSmoothedPolyWithApron=None) -> bool"""
14290 return _pcbnew.ZONE_BuildSmoothedPoly(self, aSmoothedPoly, aLayer, aBoardOutline, aSmoothedPolyWithApron)
14293 r"""SetCornerSmoothingType(ZONE self, int aType)"""
14294 return _pcbnew.ZONE_SetCornerSmoothingType(self, aType)
14297 r"""GetCornerSmoothingType(ZONE self) -> int"""
14298 return _pcbnew.ZONE_GetCornerSmoothingType(self)
14301 r"""SetCornerRadius(ZONE self, unsigned int aRadius)"""
14302 return _pcbnew.ZONE_SetCornerRadius(self, aRadius)
14305 r"""GetCornerRadius(ZONE self) -> unsigned int"""
14306 return _pcbnew.ZONE_GetCornerRadius(self)
14309 r"""RemoveCutout(ZONE self, int aOutlineIdx, int aHoleIdx)"""
14310 return _pcbnew.ZONE_RemoveCutout(self, aOutlineIdx, aHoleIdx)
14314 AddPolygon(ZONE self, VECTOR_VECTOR2I aPolygon)
14315 AddPolygon(ZONE self, SHAPE_LINE_CHAIN aPolygon)
14317 return _pcbnew.ZONE_AddPolygon(self, *args)
14320 r"""IsTeardropArea(ZONE self) -> bool"""
14321 return _pcbnew.ZONE_IsTeardropArea(self)
14324 r"""SetTeardropAreaType(ZONE self, TEARDROP_TYPE aType)"""
14325 return _pcbnew.ZONE_SetTeardropAreaType(self, aType)
14328 r"""GetTeardropAreaType(ZONE self) -> TEARDROP_TYPE"""
14329 return _pcbnew.ZONE_GetTeardropAreaType(self)
14332 r"""GetIsRuleArea(ZONE self) -> bool"""
14333 return _pcbnew.ZONE_GetIsRuleArea(self)
14336 r"""GetDoNotAllowCopperPour(ZONE self) -> bool"""
14337 return _pcbnew.ZONE_GetDoNotAllowCopperPour(self)
14340 r"""GetDoNotAllowVias(ZONE self) -> bool"""
14341 return _pcbnew.ZONE_GetDoNotAllowVias(self)
14344 r"""GetDoNotAllowTracks(ZONE self) -> bool"""
14345 return _pcbnew.ZONE_GetDoNotAllowTracks(self)
14348 r"""GetDoNotAllowPads(ZONE self) -> bool"""
14349 return _pcbnew.ZONE_GetDoNotAllowPads(self)
14352 r"""GetDoNotAllowFootprints(ZONE self) -> bool"""
14353 return _pcbnew.ZONE_GetDoNotAllowFootprints(self)
14356 r"""SetIsRuleArea(ZONE self, bool aEnable)"""
14357 return _pcbnew.ZONE_SetIsRuleArea(self, aEnable)
14360 r"""SetDoNotAllowCopperPour(ZONE self, bool aEnable)"""
14361 return _pcbnew.ZONE_SetDoNotAllowCopperPour(self, aEnable)
14364 r"""SetDoNotAllowVias(ZONE self, bool aEnable)"""
14365 return _pcbnew.ZONE_SetDoNotAllowVias(self, aEnable)
14368 r"""SetDoNotAllowTracks(ZONE self, bool aEnable)"""
14369 return _pcbnew.ZONE_SetDoNotAllowTracks(self, aEnable)
14372 r"""SetDoNotAllowPads(ZONE self, bool aEnable)"""
14373 return _pcbnew.ZONE_SetDoNotAllowPads(self, aEnable)
14376 r"""SetDoNotAllowFootprints(ZONE self, bool aEnable)"""
14377 return _pcbnew.ZONE_SetDoNotAllowFootprints(self, aEnable)
14380 r"""GetIslandRemovalMode(ZONE self) -> ISLAND_REMOVAL_MODE"""
14381 return _pcbnew.ZONE_GetIslandRemovalMode(self)
14384 r"""SetIslandRemovalMode(ZONE self, ISLAND_REMOVAL_MODE aRemove)"""
14385 return _pcbnew.ZONE_SetIslandRemovalMode(self, aRemove)
14388 r"""GetMinIslandArea(ZONE self) -> long long"""
14389 return _pcbnew.ZONE_GetMinIslandArea(self)
14392 r"""SetMinIslandArea(ZONE self, long long aArea)"""
14393 return _pcbnew.ZONE_SetMinIslandArea(self, aArea)
14396 r"""GetBorderHatchPitch(ZONE self) -> int"""
14397 return _pcbnew.ZONE_GetBorderHatchPitch(self)
14401 r"""GetDefaultHatchPitch() -> int"""
14402 return _pcbnew.ZONE_GetDefaultHatchPitch()
14405 r"""SetBorderDisplayStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aBorderHatchStyle, int aBorderHatchPitch, bool aRebuilBorderdHatch)"""
14406 return _pcbnew.ZONE_SetBorderDisplayStyle(self, aBorderHatchStyle, aBorderHatchPitch, aRebuilBorderdHatch)
14409 r"""SetBorderHatchPitch(ZONE self, int aPitch)"""
14410 return _pcbnew.ZONE_SetBorderHatchPitch(self, aPitch)
14413 r"""UnHatchBorder(ZONE self)"""
14414 return _pcbnew.ZONE_UnHatchBorder(self)
14417 r"""HatchBorder(ZONE self)"""
14418 return _pcbnew.ZONE_HatchBorder(self)
14421 r"""GetHatchLines(ZONE self) -> std::vector< SEG,std::allocator< SEG > > const &"""
14422 return _pcbnew.ZONE_GetHatchLines(self)
14425 r"""BuildHashValue(ZONE self, PCB_LAYER_ID aLayer)"""
14426 return _pcbnew.ZONE_BuildHashValue(self, aLayer)
14429 r"""GetHashValue(ZONE self, PCB_LAYER_ID aLayer) -> MD5_HASH"""
14430 return _pcbnew.ZONE_GetHashValue(self, aLayer)
14433_pcbnew.ZONE_swigregister(ZONE)
14436 r"""ZONE_ClassOf(EDA_ITEM aItem) -> bool"""
14437 return _pcbnew.ZONE_ClassOf(aItem)
14440 r"""ZONE_GetDefaultHatchPitch() -> int"""
14441 return _pcbnew.ZONE_GetDefaultHatchPitch()
14443ZONE_THERMAL_RELIEF_GAP_MM = _pcbnew.ZONE_THERMAL_RELIEF_GAP_MM
14445ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM = _pcbnew.ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM
14447ZONE_THICKNESS_MM = _pcbnew.ZONE_THICKNESS_MM
14449ZONE_THICKNESS_MIN_VALUE_MM = _pcbnew.ZONE_THICKNESS_MIN_VALUE_MM
14451ZONE_CLEARANCE_MM = _pcbnew.ZONE_CLEARANCE_MM
14453ZONE_CLEARANCE_MAX_VALUE_MM = _pcbnew.ZONE_CLEARANCE_MAX_VALUE_MM
14455ZONE_BORDER_HATCH_DIST_MM = _pcbnew.ZONE_BORDER_HATCH_DIST_MM
14457ZONE_BORDER_HATCH_MINDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MINDIST_MM
14459ZONE_BORDER_HATCH_MAXDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MAXDIST_MM
14461ZONE_CONNECTION_INHERITED = _pcbnew.ZONE_CONNECTION_INHERITED
14463ZONE_CONNECTION_NONE = _pcbnew.ZONE_CONNECTION_NONE
14465ZONE_CONNECTION_THERMAL = _pcbnew.ZONE_CONNECTION_THERMAL
14467ZONE_CONNECTION_FULL = _pcbnew.ZONE_CONNECTION_FULL
14469ZONE_CONNECTION_THT_THERMAL = _pcbnew.ZONE_CONNECTION_THT_THERMAL
14473 r"""PrintZoneConnection(ZONE_CONNECTION aConnection) -> wxString"""
14474 return _pcbnew.PrintZoneConnection(aConnection)
14477 r"""InvokeNonCopperZonesEditor(PCB_BASE_FRAME * aParent, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
14478 return _pcbnew.InvokeNonCopperZonesEditor(aParent, aSettings, aConvertSettings)
14481 r"""InvokeCopperZonesEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
14482 return _pcbnew.InvokeCopperZonesEditor(aCaller, aSettings, aConvertSettings)
14485 r"""InvokeRuleAreaEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
14486 return _pcbnew.InvokeRuleAreaEditor(aCaller, aSettings, aConvertSettings)
14488 r"""Proxy of C++ ZONE_FILLER class."""
14490 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14491 __repr__ = _swig_repr
14492 __swig_destroy__ = _pcbnew.delete_ZONE_FILLER
14495 r"""SetProgressReporter(ZONE_FILLER self, PROGRESS_REPORTER * aReporter)"""
14496 return _pcbnew.ZONE_FILLER_SetProgressReporter(self, aReporter)
14499 r"""GetProgressReporter(ZONE_FILLER self) -> PROGRESS_REPORTER *"""
14500 return _pcbnew.ZONE_FILLER_GetProgressReporter(self)
14502 def Fill(self, aZones, aCheck=False, aParent=None):
14503 r"""Fill(ZONE_FILLER self, ZONES aZones, bool aCheck=False, wxWindow * aParent=None) -> bool"""
14504 return _pcbnew.ZONE_FILLER_Fill(self, aZones, aCheck, aParent)
14507 r"""IsDebug(ZONE_FILLER self) -> bool"""
14508 return _pcbnew.ZONE_FILLER_IsDebug(self)
14511 r"""__init__(ZONE_FILLER self, BOARD aBoard) -> ZONE_FILLER"""
14512 _pcbnew.ZONE_FILLER_swiginit(self, _pcbnew.new_ZONE_FILLER(aBoard))
14515_pcbnew.ZONE_FILLER_swigregister(ZONE_FILLER)
14517ZONE_FILL_MODE_POLYGONS = _pcbnew.ZONE_FILL_MODE_POLYGONS
14519ZONE_FILL_MODE_HATCH_PATTERN = _pcbnew.ZONE_FILL_MODE_HATCH_PATTERN
14521ZONE_BORDER_DISPLAY_STYLE_NO_HATCH = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_NO_HATCH
14523ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL
14525ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE
14527ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER
14529ISLAND_REMOVAL_MODE_ALWAYS = _pcbnew.ISLAND_REMOVAL_MODE_ALWAYS
14531ISLAND_REMOVAL_MODE_NEVER = _pcbnew.ISLAND_REMOVAL_MODE_NEVER
14533ISLAND_REMOVAL_MODE_AREA = _pcbnew.ISLAND_REMOVAL_MODE_AREA
14536 r"""Proxy of C++ ZONE_SETTINGS class."""
14538 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14539 __repr__ = _swig_repr
14540 SMOOTHING_UNDEFINED = _pcbnew.ZONE_SETTINGS_SMOOTHING_UNDEFINED
14542 SMOOTHING_NONE = _pcbnew.ZONE_SETTINGS_SMOOTHING_NONE
14544 SMOOTHING_CHAMFER = _pcbnew.ZONE_SETTINGS_SMOOTHING_CHAMFER
14546 SMOOTHING_FILLET = _pcbnew.ZONE_SETTINGS_SMOOTHING_FILLET
14548 SMOOTHING_LAST = _pcbnew.ZONE_SETTINGS_SMOOTHING_LAST
14550 m_ZonePriority = property(_pcbnew.ZONE_SETTINGS_m_ZonePriority_get, _pcbnew.ZONE_SETTINGS_m_ZonePriority_set, doc=
r"""m_ZonePriority : unsigned int""")
14551 m_FillMode = property(_pcbnew.ZONE_SETTINGS_m_FillMode_get, _pcbnew.ZONE_SETTINGS_m_FillMode_set, doc=
r"""m_FillMode : ZONE_FILL_MODE""")
14552 m_ZoneClearance = property(_pcbnew.ZONE_SETTINGS_m_ZoneClearance_get, _pcbnew.ZONE_SETTINGS_m_ZoneClearance_set, doc=
r"""m_ZoneClearance : int""")
14553 m_ZoneMinThickness = property(_pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_get, _pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_set, doc=
r"""m_ZoneMinThickness : int""")
14554 m_HatchThickness = property(_pcbnew.ZONE_SETTINGS_m_HatchThickness_get, _pcbnew.ZONE_SETTINGS_m_HatchThickness_set, doc=
r"""m_HatchThickness : int""")
14555 m_HatchGap = property(_pcbnew.ZONE_SETTINGS_m_HatchGap_get, _pcbnew.ZONE_SETTINGS_m_HatchGap_set, doc=
r"""m_HatchGap : int""")
14556 m_HatchOrientation = property(_pcbnew.ZONE_SETTINGS_m_HatchOrientation_get, _pcbnew.ZONE_SETTINGS_m_HatchOrientation_set, doc=
r"""m_HatchOrientation : EDA_ANGLE""")
14557 m_HatchSmoothingLevel = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_set, doc=
r"""m_HatchSmoothingLevel : int""")
14558 m_HatchSmoothingValue = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_set, doc=
r"""m_HatchSmoothingValue : double""")
14559 m_HatchHoleMinArea = property(_pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_get, _pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_set, doc=
r"""m_HatchHoleMinArea : double""")
14560 m_HatchBorderAlgorithm = property(_pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_get, _pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_set, doc=
r"""m_HatchBorderAlgorithm : int""")
14561 m_NetcodeSelection = property(_pcbnew.ZONE_SETTINGS_m_NetcodeSelection_get, _pcbnew.ZONE_SETTINGS_m_NetcodeSelection_set, doc=
r"""m_NetcodeSelection : int""")
14562 m_Name = property(_pcbnew.ZONE_SETTINGS_m_Name_get, _pcbnew.ZONE_SETTINGS_m_Name_set, doc=
r"""m_Name : wxString""")
14563 m_Layers = property(_pcbnew.ZONE_SETTINGS_m_Layers_get, _pcbnew.ZONE_SETTINGS_m_Layers_set, doc=
r"""m_Layers : LSET""")
14564 m_ZoneBorderDisplayStyle = property(_pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_get, _pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_set, doc=
r"""m_ZoneBorderDisplayStyle : ZONE_BORDER_DISPLAY_STYLE""")
14565 m_BorderHatchPitch = property(_pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_get, _pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_set, doc=
r"""m_BorderHatchPitch : int""")
14566 m_ThermalReliefGap = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_set, doc=
r"""m_ThermalReliefGap : long""")
14567 m_ThermalReliefSpokeWidth = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_set, doc=
r"""m_ThermalReliefSpokeWidth : long""")
14568 m_Locked = property(_pcbnew.ZONE_SETTINGS_m_Locked_get, _pcbnew.ZONE_SETTINGS_m_Locked_set, doc=
r"""m_Locked : bool""")
14569 m_TeardropType = property(_pcbnew.ZONE_SETTINGS_m_TeardropType_get, _pcbnew.ZONE_SETTINGS_m_TeardropType_set, doc=
r"""m_TeardropType : TEARDROP_TYPE""")
14572 r"""__init__(ZONE_SETTINGS self) -> ZONE_SETTINGS"""
14573 _pcbnew.ZONE_SETTINGS_swiginit(self, _pcbnew.new_ZONE_SETTINGS())
14576 r"""__eq__(ZONE_SETTINGS self, ZONE_SETTINGS aOther) -> bool"""
14577 return _pcbnew.ZONE_SETTINGS___eq__(self, aOther)
14580 r"""__ne__(ZONE_SETTINGS self, ZONE_SETTINGS aOther) -> bool"""
14581 return _pcbnew.ZONE_SETTINGS___ne__(self, aOther)
14584 r"""__lshift__(ZONE_SETTINGS self, ZONE aSource) -> ZONE_SETTINGS"""
14585 return _pcbnew.ZONE_SETTINGS___lshift__(self, aSource)
14589 r"""GetDefaultSettings() -> ZONE_SETTINGS"""
14590 return _pcbnew.ZONE_SETTINGS_GetDefaultSettings()
14593 r"""SetupLayersList(ZONE_SETTINGS self, wxDataViewListCtrl * aList, PCB_BASE_FRAME * aFrame, LSET aLayers, bool aFpEditorMode)"""
14594 return _pcbnew.ZONE_SETTINGS_SetupLayersList(self, aList, aFrame, aLayers, aFpEditorMode)
14597 r"""ExportSetting(ZONE_SETTINGS self, ZONE aTarget, bool aFullExport=True)"""
14598 return _pcbnew.ZONE_SETTINGS_ExportSetting(self, aTarget, aFullExport)
14601 r"""SetCornerSmoothingType(ZONE_SETTINGS self, int aType)"""
14602 return _pcbnew.ZONE_SETTINGS_SetCornerSmoothingType(self, aType)
14605 r"""GetCornerSmoothingType(ZONE_SETTINGS self) -> int"""
14606 return _pcbnew.ZONE_SETTINGS_GetCornerSmoothingType(self)
14609 r"""SetCornerRadius(ZONE_SETTINGS self, int aRadius)"""
14610 return _pcbnew.ZONE_SETTINGS_SetCornerRadius(self, aRadius)
14613 r"""GetCornerRadius(ZONE_SETTINGS self) -> unsigned int"""
14614 return _pcbnew.ZONE_SETTINGS_GetCornerRadius(self)
14617 r"""GetPadConnection(ZONE_SETTINGS self) -> ZONE_CONNECTION"""
14618 return _pcbnew.ZONE_SETTINGS_GetPadConnection(self)
14621 r"""SetPadConnection(ZONE_SETTINGS self, ZONE_CONNECTION aPadConnection)"""
14622 return _pcbnew.ZONE_SETTINGS_SetPadConnection(self, aPadConnection)
14625 r"""GetIsRuleArea(ZONE_SETTINGS self) -> bool"""
14626 return _pcbnew.ZONE_SETTINGS_GetIsRuleArea(self)
14629 r"""GetDoNotAllowCopperPour(ZONE_SETTINGS self) -> bool"""
14630 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowCopperPour(self)
14633 r"""GetDoNotAllowVias(ZONE_SETTINGS self) -> bool"""
14634 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowVias(self)
14637 r"""GetDoNotAllowTracks(ZONE_SETTINGS self) -> bool"""
14638 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowTracks(self)
14641 r"""GetDoNotAllowPads(ZONE_SETTINGS self) -> bool"""
14642 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowPads(self)
14645 r"""GetDoNotAllowFootprints(ZONE_SETTINGS self) -> bool"""
14646 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowFootprints(self)
14649 r"""SetIsRuleArea(ZONE_SETTINGS self, bool aEnable)"""
14650 return _pcbnew.ZONE_SETTINGS_SetIsRuleArea(self, aEnable)
14653 r"""SetDoNotAllowCopperPour(ZONE_SETTINGS self, bool aEnable)"""
14654 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowCopperPour(self, aEnable)
14657 r"""SetDoNotAllowVias(ZONE_SETTINGS self, bool aEnable)"""
14658 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowVias(self, aEnable)
14661 r"""SetDoNotAllowTracks(ZONE_SETTINGS self, bool aEnable)"""
14662 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowTracks(self, aEnable)
14665 r"""SetDoNotAllowPads(ZONE_SETTINGS self, bool aEnable)"""
14666 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowPads(self, aEnable)
14669 r"""SetDoNotAllowFootprints(ZONE_SETTINGS self, bool aEnable)"""
14670 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowFootprints(self, aEnable)
14673 r"""GetIslandRemovalMode(ZONE_SETTINGS self) -> ISLAND_REMOVAL_MODE"""
14674 return _pcbnew.ZONE_SETTINGS_GetIslandRemovalMode(self)
14677 r"""SetIslandRemovalMode(ZONE_SETTINGS self, ISLAND_REMOVAL_MODE aRemove)"""
14678 return _pcbnew.ZONE_SETTINGS_SetIslandRemovalMode(self, aRemove)
14681 r"""GetMinIslandArea(ZONE_SETTINGS self) -> long long"""
14682 return _pcbnew.ZONE_SETTINGS_GetMinIslandArea(self)
14685 r"""SetMinIslandArea(ZONE_SETTINGS self, long long aArea)"""
14686 return _pcbnew.ZONE_SETTINGS_SetMinIslandArea(self, aArea)
14687 __swig_destroy__ = _pcbnew.delete_ZONE_SETTINGS
14690_pcbnew.ZONE_SETTINGS_swigregister(ZONE_SETTINGS)
14693 r"""ZONE_SETTINGS_GetDefaultSettings() -> ZONE_SETTINGS"""
14694 return _pcbnew.ZONE_SETTINGS_GetDefaultSettings()
14696TENTHS_OF_A_DEGREE_T = _pcbnew.TENTHS_OF_A_DEGREE_T
14698DEGREES_T = _pcbnew.DEGREES_T
14700RADIANS_T = _pcbnew.RADIANS_T
14703 r"""Proxy of C++ EDA_ANGLE class."""
14705 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14706 __repr__ = _swig_repr
14710 __init__(EDA_ANGLE self, double aValue, EDA_ANGLE_T aAngleType) -> EDA_ANGLE
14711 __init__(EDA_ANGLE self, double aAngleInDegrees) -> EDA_ANGLE
14712 __init__(EDA_ANGLE self, VECTOR2D const & aVector) -> EDA_ANGLE
14713 __init__(EDA_ANGLE self, VECTOR2I aVector) -> EDA_ANGLE
14714 __init__(EDA_ANGLE self) -> EDA_ANGLE
14716 _pcbnew.EDA_ANGLE_swiginit(self, _pcbnew.new_EDA_ANGLE(*args))
14719 r"""AsDegrees(EDA_ANGLE self) -> double"""
14720 return _pcbnew.EDA_ANGLE_AsDegrees(self)
14723 r"""AsTenthsOfADegree(EDA_ANGLE self) -> int"""
14724 return _pcbnew.EDA_ANGLE_AsTenthsOfADegree(self)
14727 r"""AsRadians(EDA_ANGLE self) -> double"""
14728 return _pcbnew.EDA_ANGLE_AsRadians(self)
14729 DEGREES_TO_RADIANS = _pcbnew.EDA_ANGLE_DEGREES_TO_RADIANS
14733 r"""IsCardinal(EDA_ANGLE self) -> bool"""
14734 return _pcbnew.EDA_ANGLE_IsCardinal(self)
14737 r"""IsCardinal90(EDA_ANGLE self) -> bool"""
14738 return _pcbnew.EDA_ANGLE_IsCardinal90(self)
14741 r"""IsZero(EDA_ANGLE self) -> bool"""
14742 return _pcbnew.EDA_ANGLE_IsZero(self)
14745 r"""IsHorizontal(EDA_ANGLE self) -> bool"""
14746 return _pcbnew.EDA_ANGLE_IsHorizontal(self)
14749 r"""IsVertical(EDA_ANGLE self) -> bool"""
14750 return _pcbnew.EDA_ANGLE_IsVertical(self)
14753 r"""IsParallelTo(EDA_ANGLE self, EDA_ANGLE aAngle) -> bool"""
14754 return _pcbnew.EDA_ANGLE_IsParallelTo(self, aAngle)
14757 r"""Invert(EDA_ANGLE self) -> EDA_ANGLE"""
14758 return _pcbnew.EDA_ANGLE_Invert(self)
14761 r"""Sin(EDA_ANGLE self) -> double"""
14762 return _pcbnew.EDA_ANGLE_Sin(self)
14765 r"""Cos(EDA_ANGLE self) -> double"""
14766 return _pcbnew.EDA_ANGLE_Cos(self)
14769 r"""Tan(EDA_ANGLE self) -> double"""
14770 return _pcbnew.EDA_ANGLE_Tan(self)
14774 r"""Arccos(double x) -> EDA_ANGLE"""
14775 return _pcbnew.EDA_ANGLE_Arccos(x)
14779 r"""Arcsin(double x) -> EDA_ANGLE"""
14780 return _pcbnew.EDA_ANGLE_Arcsin(x)
14784 r"""Arctan(double x) -> EDA_ANGLE"""
14785 return _pcbnew.EDA_ANGLE_Arctan(x)
14789 r"""Arctan2(double y, double x) -> EDA_ANGLE"""
14790 return _pcbnew.EDA_ANGLE_Arctan2(y, x)
14793 r"""Normalize(EDA_ANGLE self) -> EDA_ANGLE"""
14794 return _pcbnew.EDA_ANGLE_Normalize(self)
14797 r"""Normalized(EDA_ANGLE self) -> EDA_ANGLE"""
14798 return _pcbnew.EDA_ANGLE_Normalized(self)
14801 r"""NormalizeNegative(EDA_ANGLE self) -> EDA_ANGLE"""
14802 return _pcbnew.EDA_ANGLE_NormalizeNegative(self)
14805 r"""Normalize90(EDA_ANGLE self) -> EDA_ANGLE"""
14806 return _pcbnew.EDA_ANGLE_Normalize90(self)
14809 r"""Normalize180(EDA_ANGLE self) -> EDA_ANGLE"""
14810 return _pcbnew.EDA_ANGLE_Normalize180(self)
14813 r"""Normalize720(EDA_ANGLE self) -> EDA_ANGLE"""
14814 return _pcbnew.EDA_ANGLE_Normalize720(self)
14817 r"""KeepUpright(EDA_ANGLE self) -> EDA_ANGLE"""
14818 return _pcbnew.EDA_ANGLE_KeepUpright(self)
14821 r"""Round(EDA_ANGLE self, int digits) -> EDA_ANGLE"""
14822 return _pcbnew.EDA_ANGLE_Round(self, digits)
14825 r"""__iadd__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
14826 return _pcbnew.EDA_ANGLE___iadd__(self, aAngle)
14829 r"""__isub__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
14830 return _pcbnew.EDA_ANGLE___isub__(self, aAngle)
14854 __swig_destroy__ = _pcbnew.delete_EDA_ANGLE
14857_pcbnew.EDA_ANGLE_swigregister(EDA_ANGLE)
14860 r"""EDA_ANGLE_Arccos(double x) -> EDA_ANGLE"""
14861 return _pcbnew.EDA_ANGLE_Arccos(x)
14864 r"""EDA_ANGLE_Arcsin(double x) -> EDA_ANGLE"""
14865 return _pcbnew.EDA_ANGLE_Arcsin(x)
14868 r"""EDA_ANGLE_Arctan(double x) -> EDA_ANGLE"""
14869 return _pcbnew.EDA_ANGLE_Arctan(x)
14872 r"""EDA_ANGLE_Arctan2(double y, double x) -> EDA_ANGLE"""
14873 return _pcbnew.EDA_ANGLE_Arctan2(y, x)
14875SHAPE_T_SEGMENT = _pcbnew.SHAPE_T_SEGMENT
14877SHAPE_T_RECTANGLE = _pcbnew.SHAPE_T_RECTANGLE
14879SHAPE_T_ARC = _pcbnew.SHAPE_T_ARC
14881SHAPE_T_CIRCLE = _pcbnew.SHAPE_T_CIRCLE
14883SHAPE_T_POLY = _pcbnew.SHAPE_T_POLY
14885SHAPE_T_BEZIER = _pcbnew.SHAPE_T_BEZIER
14887FILL_T_NO_FILL = _pcbnew.FILL_T_NO_FILL
14889FILL_T_FILLED_SHAPE = _pcbnew.FILL_T_FILLED_SHAPE
14891FILL_T_FILLED_WITH_BG_BODYCOLOR = _pcbnew.FILL_T_FILLED_WITH_BG_BODYCOLOR
14893FILL_T_FILLED_WITH_COLOR = _pcbnew.FILL_T_FILLED_WITH_COLOR
14896 r"""Proxy of C++ ARC_MID class."""
14898 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14899 __repr__ = _swig_repr
14900 mid = property(_pcbnew.ARC_MID_mid_get, _pcbnew.ARC_MID_mid_set, doc=
r"""mid : VECTOR2I""")
14901 start = property(_pcbnew.ARC_MID_start_get, _pcbnew.ARC_MID_start_set, doc=
r"""start : VECTOR2I""")
14902 end = property(_pcbnew.ARC_MID_end_get, _pcbnew.ARC_MID_end_set, doc=
r"""end : VECTOR2I""")
14903 center = property(_pcbnew.ARC_MID_center_get, _pcbnew.ARC_MID_center_set, doc=
r"""center : VECTOR2I""")
14906 r"""__init__(ARC_MID self) -> ARC_MID"""
14907 _pcbnew.ARC_MID_swiginit(self, _pcbnew.new_ARC_MID())
14908 __swig_destroy__ = _pcbnew.delete_ARC_MID
14911_pcbnew.ARC_MID_swigregister(ARC_MID)
14912ANGLE_HORIZONTAL = cvar.ANGLE_HORIZONTAL
14913ANGLE_VERTICAL = cvar.ANGLE_VERTICAL
14914FULL_CIRCLE = cvar.FULL_CIRCLE
14915ANGLE_0 = cvar.ANGLE_0
14916ANGLE_45 = cvar.ANGLE_45
14917ANGLE_90 = cvar.ANGLE_90
14918ANGLE_135 = cvar.ANGLE_135
14919ANGLE_180 = cvar.ANGLE_180
14920ANGLE_270 = cvar.ANGLE_270
14921ANGLE_360 = cvar.ANGLE_360
14924 r"""Proxy of C++ EDA_SHAPE class."""
14926 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14927 __repr__ = _swig_repr
14930 r"""__init__(EDA_SHAPE self, SHAPE_T aType, int aLineWidth, FILL_T aFill) -> EDA_SHAPE"""
14931 _pcbnew.EDA_SHAPE_swiginit(self, _pcbnew.new_EDA_SHAPE(aType, aLineWidth, aFill))
14932 __swig_destroy__ = _pcbnew.delete_EDA_SHAPE
14935 r"""SwapShape(EDA_SHAPE self, EDA_SHAPE aImage)"""
14936 return _pcbnew.EDA_SHAPE_SwapShape(self, aImage)
14939 r"""ShowShape(EDA_SHAPE self) -> wxString"""
14940 return _pcbnew.EDA_SHAPE_ShowShape(self)
14943 r"""SHAPE_T_asString(EDA_SHAPE self) -> wxString"""
14944 return _pcbnew.EDA_SHAPE_SHAPE_T_asString(self)
14947 r"""IsProxyItem(EDA_SHAPE self) -> bool"""
14948 return _pcbnew.EDA_SHAPE_IsProxyItem(self)
14951 r"""SetIsProxyItem(EDA_SHAPE self, bool aIsProxy=True)"""
14952 return _pcbnew.EDA_SHAPE_SetIsProxyItem(self, aIsProxy)
14955 r"""IsFilled(EDA_SHAPE self) -> bool"""
14956 return _pcbnew.EDA_SHAPE_IsFilled(self)
14959 r"""SetFilled(EDA_SHAPE self, bool aFlag)"""
14960 return _pcbnew.EDA_SHAPE_SetFilled(self, aFlag)
14963 r"""SetFillMode(EDA_SHAPE self, FILL_T aFill)"""
14964 return _pcbnew.EDA_SHAPE_SetFillMode(self, aFill)
14967 r"""GetFillMode(EDA_SHAPE self) -> FILL_T"""
14968 return _pcbnew.EDA_SHAPE_GetFillMode(self)
14971 r"""IsClosed(EDA_SHAPE self) -> bool"""
14972 return _pcbnew.EDA_SHAPE_IsClosed(self)
14975 r"""GetFillColor(EDA_SHAPE self) -> COLOR4D"""
14976 return _pcbnew.EDA_SHAPE_GetFillColor(self)
14979 r"""SetFillColor(EDA_SHAPE self, COLOR4D aColor)"""
14980 return _pcbnew.EDA_SHAPE_SetFillColor(self, aColor)
14983 r"""SetWidth(EDA_SHAPE self, int aWidth)"""
14984 return _pcbnew.EDA_SHAPE_SetWidth(self, aWidth)
14987 r"""GetWidth(EDA_SHAPE self) -> int"""
14988 return _pcbnew.EDA_SHAPE_GetWidth(self)
14991 r"""GetEffectiveWidth(EDA_SHAPE self) -> int"""
14992 return _pcbnew.EDA_SHAPE_GetEffectiveWidth(self)
14995 r"""SetLineStyle(EDA_SHAPE self, LINE_STYLE const aStyle)"""
14996 return _pcbnew.EDA_SHAPE_SetLineStyle(self, aStyle)
14999 r"""GetLineStyle(EDA_SHAPE self) -> LINE_STYLE"""
15000 return _pcbnew.EDA_SHAPE_GetLineStyle(self)
15003 r"""SetLineColor(EDA_SHAPE self, COLOR4D aColor)"""
15004 return _pcbnew.EDA_SHAPE_SetLineColor(self, aColor)
15007 r"""GetLineColor(EDA_SHAPE self) -> COLOR4D"""
15008 return _pcbnew.EDA_SHAPE_GetLineColor(self)
15011 r"""SetShape(EDA_SHAPE self, SHAPE_T aShape)"""
15012 return _pcbnew.EDA_SHAPE_SetShape(self, aShape)
15015 r"""GetShape(EDA_SHAPE self) -> SHAPE_T"""
15016 return _pcbnew.EDA_SHAPE_GetShape(self)
15019 r"""GetFriendlyName(EDA_SHAPE self) -> wxString"""
15020 return _pcbnew.EDA_SHAPE_GetFriendlyName(self)
15023 r"""GetStart(EDA_SHAPE self) -> VECTOR2I"""
15024 return _pcbnew.EDA_SHAPE_GetStart(self)
15027 r"""GetStartY(EDA_SHAPE self) -> int"""
15028 return _pcbnew.EDA_SHAPE_GetStartY(self)
15031 r"""GetStartX(EDA_SHAPE self) -> int"""
15032 return _pcbnew.EDA_SHAPE_GetStartX(self)
15035 r"""SetStart(EDA_SHAPE self, VECTOR2I aStart)"""
15036 return _pcbnew.EDA_SHAPE_SetStart(self, aStart)
15039 r"""SetStartY(EDA_SHAPE self, int y)"""
15040 return _pcbnew.EDA_SHAPE_SetStartY(self, y)
15043 r"""SetStartX(EDA_SHAPE self, int x)"""
15044 return _pcbnew.EDA_SHAPE_SetStartX(self, x)
15047 r"""SetCenterY(EDA_SHAPE self, int y)"""
15048 return _pcbnew.EDA_SHAPE_SetCenterY(self, y)
15051 r"""SetCenterX(EDA_SHAPE self, int x)"""
15052 return _pcbnew.EDA_SHAPE_SetCenterX(self, x)
15055 r"""GetEnd(EDA_SHAPE self) -> VECTOR2I"""
15056 return _pcbnew.EDA_SHAPE_GetEnd(self)
15059 r"""GetEndY(EDA_SHAPE self) -> int"""
15060 return _pcbnew.EDA_SHAPE_GetEndY(self)
15063 r"""GetEndX(EDA_SHAPE self) -> int"""
15064 return _pcbnew.EDA_SHAPE_GetEndX(self)
15067 r"""SetEnd(EDA_SHAPE self, VECTOR2I aEnd)"""
15068 return _pcbnew.EDA_SHAPE_SetEnd(self, aEnd)
15071 r"""SetEndY(EDA_SHAPE self, int aY)"""
15072 return _pcbnew.EDA_SHAPE_SetEndY(self, aY)
15075 r"""SetEndX(EDA_SHAPE self, int aX)"""
15076 return _pcbnew.EDA_SHAPE_SetEndX(self, aX)
15079 r"""SetRadius(EDA_SHAPE self, int aX)"""
15080 return _pcbnew.EDA_SHAPE_SetRadius(self, aX)
15083 r"""GetTopLeft(EDA_SHAPE self) -> VECTOR2I"""
15084 return _pcbnew.EDA_SHAPE_GetTopLeft(self)
15087 r"""GetBotRight(EDA_SHAPE self) -> VECTOR2I"""
15088 return _pcbnew.EDA_SHAPE_GetBotRight(self)
15091 r"""SetTop(EDA_SHAPE self, int val)"""
15092 return _pcbnew.EDA_SHAPE_SetTop(self, val)
15095 r"""SetLeft(EDA_SHAPE self, int val)"""
15096 return _pcbnew.EDA_SHAPE_SetLeft(self, val)
15099 r"""SetRight(EDA_SHAPE self, int val)"""
15100 return _pcbnew.EDA_SHAPE_SetRight(self, val)
15103 r"""SetBottom(EDA_SHAPE self, int val)"""
15104 return _pcbnew.EDA_SHAPE_SetBottom(self, val)
15107 r"""SetBezierC1(EDA_SHAPE self, VECTOR2I aPt)"""
15108 return _pcbnew.EDA_SHAPE_SetBezierC1(self, aPt)
15111 r"""GetBezierC1(EDA_SHAPE self) -> VECTOR2I"""
15112 return _pcbnew.EDA_SHAPE_GetBezierC1(self)
15115 r"""SetBezierC2(EDA_SHAPE self, VECTOR2I aPt)"""
15116 return _pcbnew.EDA_SHAPE_SetBezierC2(self, aPt)
15119 r"""GetBezierC2(EDA_SHAPE self) -> VECTOR2I"""
15120 return _pcbnew.EDA_SHAPE_GetBezierC2(self)
15123 r"""SetCenter(EDA_SHAPE self, VECTOR2I aCenter)"""
15124 return _pcbnew.EDA_SHAPE_SetCenter(self, aCenter)
15127 r"""SetArcAngleAndEnd(EDA_SHAPE self, EDA_ANGLE aAngle, bool aCheckNegativeAngle=False)"""
15128 return _pcbnew.EDA_SHAPE_SetArcAngleAndEnd(self, aAngle, aCheckNegativeAngle)
15131 r"""GetArcAngle(EDA_SHAPE self) -> EDA_ANGLE"""
15132 return _pcbnew.EDA_SHAPE_GetArcAngle(self)
15135 r"""GetSegmentAngle(EDA_SHAPE self) -> EDA_ANGLE"""
15136 return _pcbnew.EDA_SHAPE_GetSegmentAngle(self)
15139 r"""EndsSwapped(EDA_SHAPE self) -> bool"""
15140 return _pcbnew.EDA_SHAPE_EndsSwapped(self)
15143 r"""GetArcMid(EDA_SHAPE self) -> VECTOR2I"""
15144 return _pcbnew.EDA_SHAPE_GetArcMid(self)
15147 r"""GetRectCorners(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
15148 return _pcbnew.EDA_SHAPE_GetRectCorners(self)
15151 r"""CalcArcAngles(EDA_SHAPE self, EDA_ANGLE aStartAngle, EDA_ANGLE aEndAngle)"""
15152 return _pcbnew.EDA_SHAPE_CalcArcAngles(self, aStartAngle, aEndAngle)
15155 r"""GetRadius(EDA_SHAPE self) -> int"""
15156 return _pcbnew.EDA_SHAPE_GetRadius(self)
15159 r"""SetArcGeometry(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd)"""
15160 return _pcbnew.EDA_SHAPE_SetArcGeometry(self, aStart, aMid, aEnd)
15163 r"""SetCachedArcData(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd, VECTOR2I aCenter)"""
15164 return _pcbnew.EDA_SHAPE_SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
15167 r"""GetBezierPoints(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
15168 return _pcbnew.EDA_SHAPE_GetBezierPoints(self)
15171 r"""DupPolyPointsList(EDA_SHAPE self, VECTOR_VECTOR2I aBuffer)"""
15172 return _pcbnew.EDA_SHAPE_DupPolyPointsList(self, aBuffer)
15175 r"""GetPointCount(EDA_SHAPE self) -> int"""
15176 return _pcbnew.EDA_SHAPE_GetPointCount(self)
15183 return _pcbnew.EDA_SHAPE_GetPolyShape(self, *args)
15186 r"""IsPolyShapeValid(EDA_SHAPE self) -> bool"""
15187 return _pcbnew.EDA_SHAPE_IsPolyShapeValid(self)
15190 r"""SetPolyShape(EDA_SHAPE self, SHAPE_POLY_SET aShape)"""
15191 return _pcbnew.EDA_SHAPE_SetPolyShape(self, aShape)
15194 r"""SetPolyPoints(EDA_SHAPE self, VECTOR_VECTOR2I aPoints)"""
15195 return _pcbnew.EDA_SHAPE_SetPolyPoints(self, aPoints)
15198 r"""RebuildBezierToSegmentsPointsList(EDA_SHAPE self, int aMinSegLen)"""
15199 return _pcbnew.EDA_SHAPE_RebuildBezierToSegmentsPointsList(self, aMinSegLen)
15202 r"""MakeEffectiveShapes(EDA_SHAPE self, bool aEdgeOnly=False) -> std::vector< SHAPE *,std::allocator< SHAPE * > >"""
15203 return _pcbnew.EDA_SHAPE_MakeEffectiveShapes(self, aEdgeOnly)
15206 r"""ShapeGetMsgPanelInfo(EDA_SHAPE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
15207 return _pcbnew.EDA_SHAPE_ShapeGetMsgPanelInfo(self, aFrame, aList)
15210 r"""SetLength(EDA_SHAPE self, double const & aLength)"""
15211 return _pcbnew.EDA_SHAPE_SetLength(self, aLength)
15214 r"""SetRectangle(EDA_SHAPE self, long long const & aHeight, long long const & aWidth)"""
15215 return _pcbnew.EDA_SHAPE_SetRectangle(self, aHeight, aWidth)
15218 r"""SetSegmentAngle(EDA_SHAPE self, EDA_ANGLE aAngle)"""
15219 return _pcbnew.EDA_SHAPE_SetSegmentAngle(self, aAngle)
15222 r"""IsClockwiseArc(EDA_SHAPE self) -> bool"""
15223 return _pcbnew.EDA_SHAPE_IsClockwiseArc(self)
15226 r"""GetLength(EDA_SHAPE self) -> double"""
15227 return _pcbnew.EDA_SHAPE_GetLength(self)
15230 r"""GetRectangleHeight(EDA_SHAPE self) -> int"""
15231 return _pcbnew.EDA_SHAPE_GetRectangleHeight(self)
15234 r"""GetRectangleWidth(EDA_SHAPE self) -> int"""
15235 return _pcbnew.EDA_SHAPE_GetRectangleWidth(self)
15238 r"""TransformShapeToPolygon(EDA_SHAPE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
15239 return _pcbnew.EDA_SHAPE_TransformShapeToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, ignoreLineWidth)
15242 r"""Compare(EDA_SHAPE self, EDA_SHAPE aOther) -> int"""
15243 return _pcbnew.EDA_SHAPE_Compare(self, aOther)
15246 r"""Similarity(EDA_SHAPE self, EDA_SHAPE aOther) -> double"""
15247 return _pcbnew.EDA_SHAPE_Similarity(self, aOther)
15250 r"""__eq__(EDA_SHAPE self, EDA_SHAPE aOther) -> bool"""
15251 return _pcbnew.EDA_SHAPE___eq__(self, aOther)
15254_pcbnew.EDA_SHAPE_swigregister(EDA_SHAPE)
15257 r"""Proxy of C++ PCB_SHAPE class."""
15259 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15260 __repr__ = _swig_repr
15264 __init__(PCB_SHAPE self, BOARD_ITEM aParent, KICAD_T aItemType, SHAPE_T aShapeType) -> PCB_SHAPE
15265 __init__(PCB_SHAPE self, BOARD_ITEM aParent=None, SHAPE_T aShapeType=SEGMENT) -> PCB_SHAPE
15267 _pcbnew.PCB_SHAPE_swiginit(self, _pcbnew.new_PCB_SHAPE(*args))
15268 __swig_destroy__ = _pcbnew.delete_PCB_SHAPE
15272 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15273 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
15276 r"""GetFriendlyName(PCB_SHAPE self) -> wxString"""
15277 return _pcbnew.PCB_SHAPE_GetFriendlyName(self)
15280 r"""GetConnectionPoints(PCB_SHAPE self) -> VECTOR_VECTOR2I"""
15281 return _pcbnew.PCB_SHAPE_GetConnectionPoints(self)
15284 r"""GetCorners(PCB_SHAPE self) -> VECTOR_VECTOR2I"""
15285 return _pcbnew.PCB_SHAPE_GetCorners(self)
15288 r"""GetEffectiveShape(PCB_SHAPE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15289 return _pcbnew.PCB_SHAPE_GetEffectiveShape(self, *args)
15292 r"""SetIsProxyItem(PCB_SHAPE self, bool aIsProxy=True)"""
15293 return _pcbnew.PCB_SHAPE_SetIsProxyItem(self, aIsProxy)
15297 HitTest(PCB_SHAPE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
15298 HitTest(PCB_SHAPE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15300 return _pcbnew.PCB_SHAPE_HitTest(self, *args)
15303 r"""Mirror(PCB_SHAPE self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
15304 return _pcbnew.PCB_SHAPE_Mirror(self, aCentre, aMirrorAroundXAxis)
15307 r"""Scale(PCB_SHAPE self, double aScale)"""
15308 return _pcbnew.PCB_SHAPE_Scale(self, aScale)
15311 r"""TransformShapeToPolygon(PCB_SHAPE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
15312 return _pcbnew.PCB_SHAPE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
15315 r"""ViewGetLOD(PCB_SHAPE self, int aLayer, KIGFX::VIEW * aView) -> double"""
15316 return _pcbnew.PCB_SHAPE_ViewGetLOD(self, aLayer, aView)
15319 r"""GetArcAngleStart(PCB_SHAPE self) -> EDA_ANGLE"""
15320 return _pcbnew.PCB_SHAPE_GetArcAngleStart(self)
15327_pcbnew.PCB_SHAPE_swigregister(PCB_SHAPE)
15330 r"""PCB_SHAPE_ClassOf(EDA_ITEM aItem) -> bool"""
15331 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
15334 r"""Proxy of C++ PCB_TEXT class."""
15336 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15337 __repr__ = _swig_repr
15341 __init__(PCB_TEXT self, BOARD_ITEM parent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT
15342 __init__(PCB_TEXT self, FOOTPRINT aParent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT
15344 _pcbnew.PCB_TEXT_swiginit(self, _pcbnew.new_PCB_TEXT(*args))
15345 __swig_destroy__ = _pcbnew.delete_PCB_TEXT
15349 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15350 return _pcbnew.PCB_TEXT_ClassOf(aItem)
15353 r"""KeepUpright(PCB_TEXT self)"""
15354 return _pcbnew.PCB_TEXT_KeepUpright(self)
15357 r"""GetShownText(PCB_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
15358 return _pcbnew.PCB_TEXT_GetShownText(self, aAllowExtraText, aDepth)
15361 r"""Mirror(PCB_TEXT self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
15362 return _pcbnew.PCB_TEXT_Mirror(self, aCentre, aMirrorAroundXAxis)
15366 TextHitTest(PCB_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
15367 TextHitTest(PCB_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
15369 return _pcbnew.PCB_TEXT_TextHitTest(self, *args)
15373 HitTest(PCB_TEXT self, VECTOR2I aPosition, int aAccuracy) -> bool
15374 HitTest(PCB_TEXT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15376 return _pcbnew.PCB_TEXT_HitTest(self, *args)
15379 r"""TransformTextToPolySet(PCB_TEXT self, SHAPE_POLY_SET aBuffer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc)"""
15380 return _pcbnew.PCB_TEXT_TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
15383 r"""TransformShapeToPolygon(PCB_TEXT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
15384 return _pcbnew.PCB_TEXT_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
15387 r"""GetEffectiveShape(PCB_TEXT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15388 return _pcbnew.PCB_TEXT_GetEffectiveShape(self, *args)
15391 r"""GetTextTypeDescription(PCB_TEXT self) -> wxString"""
15392 return _pcbnew.PCB_TEXT_GetTextTypeDescription(self)
15395 r"""ViewGetLOD(PCB_TEXT self, int aLayer, KIGFX::VIEW * aView) -> double"""
15396 return _pcbnew.PCB_TEXT_ViewGetLOD(self, aLayer, aView)
15399_pcbnew.PCB_TEXT_swigregister(PCB_TEXT)
15400S_SEGMENT = cvar.S_SEGMENT
15401S_RECT = cvar.S_RECT
15403S_CIRCLE = cvar.S_CIRCLE
15404S_POLYGON = cvar.S_POLYGON
15405S_CURVE = cvar.S_CURVE
15406SHAPE_T_RECT = cvar.SHAPE_T_RECT
15409 r"""PCB_TEXT_ClassOf(EDA_ITEM aItem) -> bool"""
15410 return _pcbnew.PCB_TEXT_ClassOf(aItem)
15413 r"""Proxy of C++ PCB_TEXTBOX class."""
15415 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15416 __repr__ = _swig_repr
15419 r"""__init__(PCB_TEXTBOX self, BOARD_ITEM parent) -> PCB_TEXTBOX"""
15420 _pcbnew.PCB_TEXTBOX_swiginit(self, _pcbnew.new_PCB_TEXTBOX(parent))
15421 __swig_destroy__ = _pcbnew.delete_PCB_TEXTBOX
15425 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15426 return _pcbnew.PCB_TEXTBOX_ClassOf(aItem)
15429 r"""GetFriendlyName(PCB_TEXTBOX self) -> wxString"""
15430 return _pcbnew.PCB_TEXTBOX_GetFriendlyName(self)
15433 r"""GetTextMargin(PCB_TEXTBOX self) -> int"""
15434 return _pcbnew.PCB_TEXTBOX_GetTextMargin(self)
15439 GetDrawPos(PCB_TEXTBOX self, bool aIsFlipped) -> VECTOR2I
15441 return _pcbnew.PCB_TEXTBOX_GetDrawPos(self, *args)
15444 r"""GetShownText(PCB_TEXTBOX self, bool aAllowExtraText, int aDepth=0) -> wxString"""
15445 return _pcbnew.PCB_TEXTBOX_GetShownText(self, aAllowExtraText, aDepth)
15448 r"""GetAnchorAndOppositeCorner(PCB_TEXTBOX self) -> VECTOR_VECTOR2I"""
15449 return _pcbnew.PCB_TEXTBOX_GetAnchorAndOppositeCorner(self)
15453 HitTest(PCB_TEXTBOX self, VECTOR2I aPosition, int aAccuracy) -> bool
15454 HitTest(PCB_TEXTBOX self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15456 return _pcbnew.PCB_TEXTBOX_HitTest(self, *args)
15459 r"""TransformTextToPolySet(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc)"""
15460 return _pcbnew.PCB_TEXTBOX_TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
15463 r"""TransformShapeToPolygon(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
15464 return _pcbnew.PCB_TEXTBOX_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth)
15467 r"""GetEffectiveShape(PCB_TEXTBOX self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15468 return _pcbnew.PCB_TEXTBOX_GetEffectiveShape(self, *args)
15471 r"""ViewGetLOD(PCB_TEXTBOX self, int aLayer, KIGFX::VIEW * aView) -> double"""
15472 return _pcbnew.PCB_TEXTBOX_ViewGetLOD(self, aLayer, aView)
15475 r"""IsBorderEnabled(PCB_TEXTBOX self) -> bool"""
15476 return _pcbnew.PCB_TEXTBOX_IsBorderEnabled(self)
15479 r"""SetBorderEnabled(PCB_TEXTBOX self, bool enabled)"""
15480 return _pcbnew.PCB_TEXTBOX_SetBorderEnabled(self, enabled)
15483 r"""SetBorderWidth(PCB_TEXTBOX self, int const aSize)"""
15484 return _pcbnew.PCB_TEXTBOX_SetBorderWidth(self, aSize)
15487 r"""GetBorderWidth(PCB_TEXTBOX self) -> int"""
15488 return _pcbnew.PCB_TEXTBOX_GetBorderWidth(self)
15491_pcbnew.PCB_TEXTBOX_swigregister(PCB_TEXTBOX)
15494 r"""PCB_TEXTBOX_ClassOf(EDA_ITEM aItem) -> bool"""
15495 return _pcbnew.PCB_TEXTBOX_ClassOf(aItem)
15497GR_TEXT_H_ALIGN_LEFT = _pcbnew.GR_TEXT_H_ALIGN_LEFT
15499GR_TEXT_H_ALIGN_CENTER = _pcbnew.GR_TEXT_H_ALIGN_CENTER
15501GR_TEXT_H_ALIGN_RIGHT = _pcbnew.GR_TEXT_H_ALIGN_RIGHT
15503GR_TEXT_V_ALIGN_TOP = _pcbnew.GR_TEXT_V_ALIGN_TOP
15505GR_TEXT_V_ALIGN_CENTER = _pcbnew.GR_TEXT_V_ALIGN_CENTER
15507GR_TEXT_V_ALIGN_BOTTOM = _pcbnew.GR_TEXT_V_ALIGN_BOTTOM
15510 r"""Proxy of C++ TEXT_ATTRIBUTES class."""
15512 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15513 __repr__ = _swig_repr
15516 r"""__init__(TEXT_ATTRIBUTES self, KIFONT::FONT * aFont=None) -> TEXT_ATTRIBUTES"""
15517 _pcbnew.TEXT_ATTRIBUTES_swiginit(self, _pcbnew.new_TEXT_ATTRIBUTES(aFont))
15520 r"""Compare(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> int"""
15521 return _pcbnew.TEXT_ATTRIBUTES_Compare(self, aRhs)
15524 r"""__eq__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
15525 return _pcbnew.TEXT_ATTRIBUTES___eq__(self, aRhs)
15528 r"""__gt__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
15529 return _pcbnew.TEXT_ATTRIBUTES___gt__(self, aRhs)
15532 r"""__lt__(TEXT_ATTRIBUTES self, TEXT_ATTRIBUTES aRhs) -> bool"""
15533 return _pcbnew.TEXT_ATTRIBUTES___lt__(self, aRhs)
15534 m_Font = property(_pcbnew.TEXT_ATTRIBUTES_m_Font_get, _pcbnew.TEXT_ATTRIBUTES_m_Font_set, doc=
r"""m_Font : p.KIFONT::FONT""")
15535 m_Halign = property(_pcbnew.TEXT_ATTRIBUTES_m_Halign_get, _pcbnew.TEXT_ATTRIBUTES_m_Halign_set, doc=
r"""m_Halign : GR_TEXT_H_ALIGN_T""")
15536 m_Valign = property(_pcbnew.TEXT_ATTRIBUTES_m_Valign_get, _pcbnew.TEXT_ATTRIBUTES_m_Valign_set, doc=
r"""m_Valign : GR_TEXT_V_ALIGN_T""")
15537 m_Angle = property(_pcbnew.TEXT_ATTRIBUTES_m_Angle_get, _pcbnew.TEXT_ATTRIBUTES_m_Angle_set, doc=
r"""m_Angle : EDA_ANGLE""")
15538 m_LineSpacing = property(_pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_get, _pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_set, doc=
r"""m_LineSpacing : double""")
15539 m_StrokeWidth = property(_pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_get, _pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_set, doc=
r"""m_StrokeWidth : int""")
15540 m_Italic = property(_pcbnew.TEXT_ATTRIBUTES_m_Italic_get, _pcbnew.TEXT_ATTRIBUTES_m_Italic_set, doc=
r"""m_Italic : bool""")
15541 m_Bold = property(_pcbnew.TEXT_ATTRIBUTES_m_Bold_get, _pcbnew.TEXT_ATTRIBUTES_m_Bold_set, doc=
r"""m_Bold : bool""")
15542 m_Underlined = property(_pcbnew.TEXT_ATTRIBUTES_m_Underlined_get, _pcbnew.TEXT_ATTRIBUTES_m_Underlined_set, doc=
r"""m_Underlined : bool""")
15543 m_Color = property(_pcbnew.TEXT_ATTRIBUTES_m_Color_get, _pcbnew.TEXT_ATTRIBUTES_m_Color_set, doc=
r"""m_Color : KIGFX::COLOR4D""")
15544 m_Visible = property(_pcbnew.TEXT_ATTRIBUTES_m_Visible_get, _pcbnew.TEXT_ATTRIBUTES_m_Visible_set, doc=
r"""m_Visible : bool""")
15545 m_Mirrored = property(_pcbnew.TEXT_ATTRIBUTES_m_Mirrored_get, _pcbnew.TEXT_ATTRIBUTES_m_Mirrored_set, doc=
r"""m_Mirrored : bool""")
15546 m_Multiline = property(_pcbnew.TEXT_ATTRIBUTES_m_Multiline_get, _pcbnew.TEXT_ATTRIBUTES_m_Multiline_set, doc=
r"""m_Multiline : bool""")
15547 m_Size = property(_pcbnew.TEXT_ATTRIBUTES_m_Size_get, _pcbnew.TEXT_ATTRIBUTES_m_Size_set, doc=
r"""m_Size : VECTOR2I""")
15548 m_KeepUpright = property(_pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_get, _pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_set, doc=
r"""m_KeepUpright : bool""")
15549 __swig_destroy__ = _pcbnew.delete_TEXT_ATTRIBUTES
15552_pcbnew.TEXT_ATTRIBUTES_swigregister(TEXT_ATTRIBUTES)
15555 r"""Proxy of C++ PCB_FIELD class."""
15557 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15558 __repr__ = _swig_repr
15562 __init__(PCB_FIELD self, FOOTPRINT aParent, int aFieldId, wxString aName=wxEmptyString) -> PCB_FIELD
15563 __init__(PCB_FIELD self, PCB_TEXT aText, int aFieldId, wxString aName=wxEmptyString) -> PCB_FIELD
15565 _pcbnew.PCB_FIELD_swiginit(self, _pcbnew.new_PCB_FIELD(*args))
15569 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15570 return _pcbnew.PCB_FIELD_ClassOf(aItem)
15573 r"""IsReference(PCB_FIELD self) -> bool"""
15574 return _pcbnew.PCB_FIELD_IsReference(self)
15577 r"""IsValue(PCB_FIELD self) -> bool"""
15578 return _pcbnew.PCB_FIELD_IsValue(self)
15581 r"""IsFootprint(PCB_FIELD self) -> bool"""
15582 return _pcbnew.PCB_FIELD_IsFootprint(self)
15585 r"""IsDatasheet(PCB_FIELD self) -> bool"""
15586 return _pcbnew.PCB_FIELD_IsDatasheet(self)
15589 r"""IsMandatoryField(PCB_FIELD self) -> bool"""
15590 return _pcbnew.PCB_FIELD_IsMandatoryField(self)
15593 r"""ViewGetLOD(PCB_FIELD self, int aLayer, KIGFX::VIEW * aView) -> double"""
15594 return _pcbnew.PCB_FIELD_ViewGetLOD(self, aLayer, aView)
15597 r"""CloneField(PCB_FIELD self) -> PCB_FIELD"""
15598 return _pcbnew.PCB_FIELD_CloneField(self)
15601 r"""GetName(PCB_FIELD self, bool aUseDefaultName=True) -> wxString"""
15602 return _pcbnew.PCB_FIELD_GetName(self, aUseDefaultName)
15605 r"""GetCanonicalName(PCB_FIELD self) -> wxString"""
15606 return _pcbnew.PCB_FIELD_GetCanonicalName(self)
15609 r"""SetName(PCB_FIELD self, wxString aName)"""
15610 return _pcbnew.PCB_FIELD_SetName(self, aName)
15613 r"""GetId(PCB_FIELD self) -> int"""
15614 return _pcbnew.PCB_FIELD_GetId(self)
15617 r"""SetId(PCB_FIELD self, int aId)"""
15618 return _pcbnew.PCB_FIELD_SetId(self, aId)
15619 __swig_destroy__ = _pcbnew.delete_PCB_FIELD
15622_pcbnew.PCB_FIELD_swigregister(PCB_FIELD)
15625 r"""PCB_FIELD_ClassOf(EDA_ITEM aItem) -> bool"""
15626 return _pcbnew.PCB_FIELD_ClassOf(aItem)
15628DIM_UNITS_FORMAT_NO_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_NO_SUFFIX
15630DIM_UNITS_FORMAT_BARE_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_BARE_SUFFIX
15632DIM_UNITS_FORMAT_PAREN_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_PAREN_SUFFIX
15634DIM_PRECISION_X = _pcbnew.DIM_PRECISION_X
15636DIM_PRECISION_X_X = _pcbnew.DIM_PRECISION_X_X
15638DIM_PRECISION_X_XX = _pcbnew.DIM_PRECISION_X_XX
15640DIM_PRECISION_X_XXX = _pcbnew.DIM_PRECISION_X_XXX
15642DIM_PRECISION_X_XXXX = _pcbnew.DIM_PRECISION_X_XXXX
15644DIM_PRECISION_X_XXXXX = _pcbnew.DIM_PRECISION_X_XXXXX
15646DIM_PRECISION_V_VV = _pcbnew.DIM_PRECISION_V_VV
15648DIM_PRECISION_V_VVV = _pcbnew.DIM_PRECISION_V_VVV
15650DIM_PRECISION_V_VVVV = _pcbnew.DIM_PRECISION_V_VVVV
15652DIM_PRECISION_V_VVVVV = _pcbnew.DIM_PRECISION_V_VVVVV
15654DIM_TEXT_POSITION_OUTSIDE = _pcbnew.DIM_TEXT_POSITION_OUTSIDE
15656DIM_TEXT_POSITION_INLINE = _pcbnew.DIM_TEXT_POSITION_INLINE
15658DIM_TEXT_POSITION_MANUAL = _pcbnew.DIM_TEXT_POSITION_MANUAL
15660DIM_UNITS_MODE_INCHES = _pcbnew.DIM_UNITS_MODE_INCHES
15662DIM_UNITS_MODE_MILS = _pcbnew.DIM_UNITS_MODE_MILS
15664DIM_UNITS_MODE_MILLIMETRES = _pcbnew.DIM_UNITS_MODE_MILLIMETRES
15666DIM_UNITS_MODE_AUTOMATIC = _pcbnew.DIM_UNITS_MODE_AUTOMATIC
15668DIM_TEXT_BORDER_NONE = _pcbnew.DIM_TEXT_BORDER_NONE
15670DIM_TEXT_BORDER_RECTANGLE = _pcbnew.DIM_TEXT_BORDER_RECTANGLE
15672DIM_TEXT_BORDER_CIRCLE = _pcbnew.DIM_TEXT_BORDER_CIRCLE
15674DIM_TEXT_BORDER_ROUNDRECT = _pcbnew.DIM_TEXT_BORDER_ROUNDRECT
15677 r"""Proxy of C++ PCB_DIMENSION_BASE class."""
15679 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15682 raise AttributeError(
"No constructor defined - class is abstract")
15683 __repr__ = _swig_repr
15686 r"""GetStart(PCB_DIMENSION_BASE self) -> VECTOR2I"""
15687 return _pcbnew.PCB_DIMENSION_BASE_GetStart(self)
15690 r"""SetStart(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
15691 return _pcbnew.PCB_DIMENSION_BASE_SetStart(self, aPoint)
15694 r"""GetEnd(PCB_DIMENSION_BASE self) -> VECTOR2I"""
15695 return _pcbnew.PCB_DIMENSION_BASE_GetEnd(self)
15698 r"""SetEnd(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
15699 return _pcbnew.PCB_DIMENSION_BASE_SetEnd(self, aPoint)
15702 r"""GetOverrideTextEnabled(PCB_DIMENSION_BASE self) -> bool"""
15703 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideTextEnabled(self)
15706 r"""SetOverrideTextEnabled(PCB_DIMENSION_BASE self, bool aOverride)"""
15707 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideTextEnabled(self, aOverride)
15710 r"""GetOverrideText(PCB_DIMENSION_BASE self) -> wxString"""
15711 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideText(self)
15714 r"""SetOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
15715 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideText(self, aValue)
15718 r"""ChangeOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
15719 return _pcbnew.PCB_DIMENSION_BASE_ChangeOverrideText(self, aValue)
15722 r"""GetMeasuredValue(PCB_DIMENSION_BASE self) -> int"""
15723 return _pcbnew.PCB_DIMENSION_BASE_GetMeasuredValue(self)
15726 r"""SetMeasuredValue(PCB_DIMENSION_BASE self, int aValue)"""
15727 return _pcbnew.PCB_DIMENSION_BASE_SetMeasuredValue(self, aValue)
15730 r"""GetValueText(PCB_DIMENSION_BASE self) -> wxString"""
15731 return _pcbnew.PCB_DIMENSION_BASE_GetValueText(self)
15734 r"""Update(PCB_DIMENSION_BASE self)"""
15735 return _pcbnew.PCB_DIMENSION_BASE_Update(self)
15738 r"""UpdateUnits(PCB_DIMENSION_BASE self)"""
15739 return _pcbnew.PCB_DIMENSION_BASE_UpdateUnits(self)
15742 r"""GetPrefix(PCB_DIMENSION_BASE self) -> wxString"""
15743 return _pcbnew.PCB_DIMENSION_BASE_GetPrefix(self)
15746 r"""SetPrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
15747 return _pcbnew.PCB_DIMENSION_BASE_SetPrefix(self, aPrefix)
15750 r"""ChangePrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
15751 return _pcbnew.PCB_DIMENSION_BASE_ChangePrefix(self, aPrefix)
15754 r"""GetSuffix(PCB_DIMENSION_BASE self) -> wxString"""
15755 return _pcbnew.PCB_DIMENSION_BASE_GetSuffix(self)
15758 r"""SetSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
15759 return _pcbnew.PCB_DIMENSION_BASE_SetSuffix(self, aSuffix)
15762 r"""ChangeSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
15763 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuffix(self, aSuffix)
15766 r"""GetUnits(PCB_DIMENSION_BASE self) -> EDA_UNITS"""
15767 return _pcbnew.PCB_DIMENSION_BASE_GetUnits(self)
15770 r"""SetUnits(PCB_DIMENSION_BASE self, EDA_UNITS aUnits)"""
15771 return _pcbnew.PCB_DIMENSION_BASE_SetUnits(self, aUnits)
15774 r"""GetUnitsMode(PCB_DIMENSION_BASE self) -> DIM_UNITS_MODE"""
15775 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsMode(self)
15778 r"""SetUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
15779 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsMode(self, aMode)
15782 r"""ChangeUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
15783 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsMode(self, aMode)
15786 r"""SetAutoUnits(PCB_DIMENSION_BASE self, bool aAuto=True)"""
15787 return _pcbnew.PCB_DIMENSION_BASE_SetAutoUnits(self, aAuto)
15790 r"""GetUnitsFormat(PCB_DIMENSION_BASE self) -> DIM_UNITS_FORMAT"""
15791 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsFormat(self)
15794 r"""SetUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
15795 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsFormat(self, aFormat)
15798 r"""ChangeUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
15799 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsFormat(self, aFormat)
15802 r"""GetPrecision(PCB_DIMENSION_BASE self) -> DIM_PRECISION"""
15803 return _pcbnew.PCB_DIMENSION_BASE_GetPrecision(self)
15806 r"""SetPrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
15807 return _pcbnew.PCB_DIMENSION_BASE_SetPrecision(self, aPrecision)
15810 r"""ChangePrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
15811 return _pcbnew.PCB_DIMENSION_BASE_ChangePrecision(self, aPrecision)
15814 r"""GetSuppressZeroes(PCB_DIMENSION_BASE self) -> bool"""
15815 return _pcbnew.PCB_DIMENSION_BASE_GetSuppressZeroes(self)
15818 r"""SetSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
15819 return _pcbnew.PCB_DIMENSION_BASE_SetSuppressZeroes(self, aSuppress)
15822 r"""ChangeSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
15823 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuppressZeroes(self, aSuppress)
15826 r"""GetKeepTextAligned(PCB_DIMENSION_BASE self) -> bool"""
15827 return _pcbnew.PCB_DIMENSION_BASE_GetKeepTextAligned(self)
15830 r"""SetKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)"""
15831 return _pcbnew.PCB_DIMENSION_BASE_SetKeepTextAligned(self, aKeepAligned)
15834 r"""SetTextPositionMode(PCB_DIMENSION_BASE self, DIM_TEXT_POSITION aMode)"""
15835 return _pcbnew.PCB_DIMENSION_BASE_SetTextPositionMode(self, aMode)
15838 r"""GetTextPositionMode(PCB_DIMENSION_BASE self) -> DIM_TEXT_POSITION"""
15839 return _pcbnew.PCB_DIMENSION_BASE_GetTextPositionMode(self)
15842 r"""GetArrowLength(PCB_DIMENSION_BASE self) -> int"""
15843 return _pcbnew.PCB_DIMENSION_BASE_GetArrowLength(self)
15846 r"""SetArrowLength(PCB_DIMENSION_BASE self, int aLength)"""
15847 return _pcbnew.PCB_DIMENSION_BASE_SetArrowLength(self, aLength)
15850 r"""SetExtensionOffset(PCB_DIMENSION_BASE self, int aOffset)"""
15851 return _pcbnew.PCB_DIMENSION_BASE_SetExtensionOffset(self, aOffset)
15854 r"""GetExtensionOffset(PCB_DIMENSION_BASE self) -> int"""
15855 return _pcbnew.PCB_DIMENSION_BASE_GetExtensionOffset(self)
15858 r"""GetLineThickness(PCB_DIMENSION_BASE self) -> int"""
15859 return _pcbnew.PCB_DIMENSION_BASE_GetLineThickness(self)
15862 r"""SetLineThickness(PCB_DIMENSION_BASE self, int aWidth)"""
15863 return _pcbnew.PCB_DIMENSION_BASE_SetLineThickness(self, aWidth)
15866 r"""GetShapes(PCB_DIMENSION_BASE self) -> VECTOR_SHAPEPTR"""
15867 return _pcbnew.PCB_DIMENSION_BASE_GetShapes(self)
15869 def Mirror(self, axis_pos, aMirrorLeftRight=False):
15870 r"""Mirror(PCB_DIMENSION_BASE self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)"""
15871 return _pcbnew.PCB_DIMENSION_BASE_Mirror(self, axis_pos, aMirrorLeftRight)
15875 HitTest(PCB_DIMENSION_BASE self, VECTOR2I aPosition, int aAccuracy) -> bool
15876 HitTest(PCB_DIMENSION_BASE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15878 return _pcbnew.PCB_DIMENSION_BASE_HitTest(self, *args)
15881 r"""GetEffectiveShape(PCB_DIMENSION_BASE self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15882 return _pcbnew.PCB_DIMENSION_BASE_GetEffectiveShape(self, *args)
15885 r"""TransformShapeToPolygon(PCB_DIMENSION_BASE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
15886 return _pcbnew.PCB_DIMENSION_BASE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
15887 __swig_destroy__ = _pcbnew.delete_PCB_DIMENSION_BASE
15890_pcbnew.PCB_DIMENSION_BASE_swigregister(PCB_DIMENSION_BASE)
15893 r"""Proxy of C++ PCB_DIM_ALIGNED class."""
15895 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15896 __repr__ = _swig_repr
15899 r"""__init__(PCB_DIM_ALIGNED self, BOARD_ITEM aParent, KICAD_T aType=PCB_DIM_ALIGNED_T) -> PCB_DIM_ALIGNED"""
15900 _pcbnew.PCB_DIM_ALIGNED_swiginit(self, _pcbnew.new_PCB_DIM_ALIGNED(aParent, aType))
15901 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ALIGNED
15905 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15906 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
15908 def Mirror(self, axis_pos, aMirrorLeftRight=False):
15909 r"""Mirror(PCB_DIM_ALIGNED self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)"""
15910 return _pcbnew.PCB_DIM_ALIGNED_Mirror(self, axis_pos, aMirrorLeftRight)
15913 r"""GetCrossbarStart(PCB_DIM_ALIGNED self) -> VECTOR2I"""
15914 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarStart(self)
15917 r"""GetCrossbarEnd(PCB_DIM_ALIGNED self) -> VECTOR2I"""
15918 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarEnd(self)
15921 r"""SetHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15922 return _pcbnew.PCB_DIM_ALIGNED_SetHeight(self, aHeight)
15925 r"""GetHeight(PCB_DIM_ALIGNED self) -> int"""
15926 return _pcbnew.PCB_DIM_ALIGNED_GetHeight(self)
15929 r"""ChangeHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15930 return _pcbnew.PCB_DIM_ALIGNED_ChangeHeight(self, aHeight)
15933 r"""UpdateHeight(PCB_DIM_ALIGNED self, VECTOR2I aCrossbarStart, VECTOR2I aCrossbarEnd)"""
15934 return _pcbnew.PCB_DIM_ALIGNED_UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
15937 r"""SetExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15938 return _pcbnew.PCB_DIM_ALIGNED_SetExtensionHeight(self, aHeight)
15941 r"""GetExtensionHeight(PCB_DIM_ALIGNED self) -> int"""
15942 return _pcbnew.PCB_DIM_ALIGNED_GetExtensionHeight(self)
15945 r"""ChangeExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15946 return _pcbnew.PCB_DIM_ALIGNED_ChangeExtensionHeight(self, aHeight)
15949 r"""GetAngle(PCB_DIM_ALIGNED self) -> double"""
15950 return _pcbnew.PCB_DIM_ALIGNED_GetAngle(self)
15953_pcbnew.PCB_DIM_ALIGNED_swigregister(PCB_DIM_ALIGNED)
15956 r"""PCB_DIM_ALIGNED_ClassOf(EDA_ITEM aItem) -> bool"""
15957 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
15960 r"""Proxy of C++ PCB_DIM_ORTHOGONAL class."""
15962 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15963 __repr__ = _swig_repr
15964 DIR_HORIZONTAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_HORIZONTAL
15966 DIR_VERTICAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_VERTICAL
15970 r"""__init__(PCB_DIM_ORTHOGONAL self, BOARD_ITEM aParent) -> PCB_DIM_ORTHOGONAL"""
15971 _pcbnew.PCB_DIM_ORTHOGONAL_swiginit(self, _pcbnew.new_PCB_DIM_ORTHOGONAL(aParent))
15972 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ORTHOGONAL
15976 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15977 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
15979 def Mirror(self, axis_pos, aMirrorLeftRight=False):
15980 r"""Mirror(PCB_DIM_ORTHOGONAL self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)"""
15981 return _pcbnew.PCB_DIM_ORTHOGONAL_Mirror(self, axis_pos, aMirrorLeftRight)
15984 r"""SetOrientation(PCB_DIM_ORTHOGONAL self, PCB_DIM_ORTHOGONAL::DIR aOrientation)"""
15985 return _pcbnew.PCB_DIM_ORTHOGONAL_SetOrientation(self, aOrientation)
15988 r"""GetOrientation(PCB_DIM_ORTHOGONAL self) -> PCB_DIM_ORTHOGONAL::DIR"""
15989 return _pcbnew.PCB_DIM_ORTHOGONAL_GetOrientation(self)
15992_pcbnew.PCB_DIM_ORTHOGONAL_swigregister(PCB_DIM_ORTHOGONAL)
15995 r"""PCB_DIM_ORTHOGONAL_ClassOf(EDA_ITEM aItem) -> bool"""
15996 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
15999 r"""Proxy of C++ PCB_DIM_RADIAL class."""
16001 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16002 __repr__ = _swig_repr
16005 r"""__init__(PCB_DIM_RADIAL self, BOARD_ITEM aParent) -> PCB_DIM_RADIAL"""
16006 _pcbnew.PCB_DIM_RADIAL_swiginit(self, _pcbnew.new_PCB_DIM_RADIAL(aParent))
16010 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16011 return _pcbnew.PCB_DIM_RADIAL_ClassOf(aItem)
16014 r"""SetLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
16015 return _pcbnew.PCB_DIM_RADIAL_SetLeaderLength(self, aLength)
16018 r"""GetLeaderLength(PCB_DIM_RADIAL self) -> int"""
16019 return _pcbnew.PCB_DIM_RADIAL_GetLeaderLength(self)
16022 r"""ChangeLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
16023 return _pcbnew.PCB_DIM_RADIAL_ChangeLeaderLength(self, aLength)
16026 r"""GetKnee(PCB_DIM_RADIAL self) -> VECTOR2I"""
16027 return _pcbnew.PCB_DIM_RADIAL_GetKnee(self)
16028 __swig_destroy__ = _pcbnew.delete_PCB_DIM_RADIAL
16031_pcbnew.PCB_DIM_RADIAL_swigregister(PCB_DIM_RADIAL)
16034 r"""PCB_DIM_RADIAL_ClassOf(EDA_ITEM aItem) -> bool"""
16035 return _pcbnew.PCB_DIM_RADIAL_ClassOf(aItem)
16038 r"""Proxy of C++ PCB_DIM_LEADER class."""
16040 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16041 __repr__ = _swig_repr
16044 r"""__init__(PCB_DIM_LEADER self, BOARD_ITEM aParent) -> PCB_DIM_LEADER"""
16045 _pcbnew.PCB_DIM_LEADER_swiginit(self, _pcbnew.new_PCB_DIM_LEADER(aParent))
16049 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16050 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
16053 r"""SetTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
16054 return _pcbnew.PCB_DIM_LEADER_SetTextBorder(self, aBorder)
16057 r"""GetTextBorder(PCB_DIM_LEADER self) -> DIM_TEXT_BORDER"""
16058 return _pcbnew.PCB_DIM_LEADER_GetTextBorder(self)
16061 r"""ChangeTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
16062 return _pcbnew.PCB_DIM_LEADER_ChangeTextBorder(self, aBorder)
16063 __swig_destroy__ = _pcbnew.delete_PCB_DIM_LEADER
16066_pcbnew.PCB_DIM_LEADER_swigregister(PCB_DIM_LEADER)
16069 r"""PCB_DIM_LEADER_ClassOf(EDA_ITEM aItem) -> bool"""
16070 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
16073 r"""Proxy of C++ PCB_DIM_CENTER class."""
16075 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16076 __repr__ = _swig_repr
16079 r"""__init__(PCB_DIM_CENTER self, BOARD_ITEM aParent) -> PCB_DIM_CENTER"""
16080 _pcbnew.PCB_DIM_CENTER_swiginit(self, _pcbnew.new_PCB_DIM_CENTER(aParent))
16084 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16085 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
16086 __swig_destroy__ = _pcbnew.delete_PCB_DIM_CENTER
16089_pcbnew.PCB_DIM_CENTER_swigregister(PCB_DIM_CENTER)
16092 r"""PCB_DIM_CENTER_ClassOf(EDA_ITEM aItem) -> bool"""
16093 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
16095MARKER_SHAPE_POINT_COUNT = _pcbnew.MARKER_SHAPE_POINT_COUNT
16098 r"""Proxy of C++ PCB_MARKER class."""
16100 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16101 __repr__ = _swig_repr
16104 r"""__init__(PCB_MARKER self, std::shared_ptr< RC_ITEM > aItem, VECTOR2I aPos, int aLayer=F_Cu) -> PCB_MARKER"""
16105 _pcbnew.PCB_MARKER_swiginit(self, _pcbnew.new_PCB_MARKER(aItem, aPos, aLayer))
16106 __swig_destroy__ = _pcbnew.delete_PCB_MARKER
16110 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16111 return _pcbnew.PCB_MARKER_ClassOf(aItem)
16114 r"""Serialize(PCB_MARKER self) -> wxString"""
16115 return _pcbnew.PCB_MARKER_Serialize(self)
16119 r"""Deserialize(wxString data) -> PCB_MARKER"""
16120 return _pcbnew.PCB_MARKER_Deserialize(data)
16123 r"""HitTest(PCB_MARKER self, VECTOR2I aPosition, int aAccuracy=0) -> bool"""
16124 return _pcbnew.PCB_MARKER_HitTest(self, aPosition, aAccuracy)
16127 r"""GetColorLayer(PCB_MARKER self) -> GAL_LAYER_ID"""
16128 return _pcbnew.PCB_MARKER_GetColorLayer(self)
16131 r"""GetEffectiveShape(PCB_MARKER self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16132 return _pcbnew.PCB_MARKER_GetEffectiveShape(self, *args)
16135 r"""SetZoom(PCB_MARKER self, double aZoomFactor)"""
16136 return _pcbnew.PCB_MARKER_SetZoom(self, aZoomFactor)
16139_pcbnew.PCB_MARKER_swigregister(PCB_MARKER)
16142 r"""PCB_MARKER_ClassOf(EDA_ITEM aItem) -> bool"""
16143 return _pcbnew.PCB_MARKER_ClassOf(aItem)
16146 r"""PCB_MARKER_Deserialize(wxString data) -> PCB_MARKER"""
16147 return _pcbnew.PCB_MARKER_Deserialize(data)
16150 r"""Proxy of C++ PCB_TARGET class."""
16152 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16153 __repr__ = _swig_repr
16157 __init__(PCB_TARGET self, BOARD_ITEM aParent) -> PCB_TARGET
16158 __init__(PCB_TARGET self, BOARD_ITEM aParent, int aShape, PCB_LAYER_ID aLayer, VECTOR2I aPos, int aSize, int aWidth) -> PCB_TARGET
16160 _pcbnew.PCB_TARGET_swiginit(self, _pcbnew.new_PCB_TARGET(*args))
16161 __swig_destroy__ = _pcbnew.delete_PCB_TARGET
16165 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16166 return _pcbnew.PCB_TARGET_ClassOf(aItem)
16169 r"""SetShape(PCB_TARGET self, int aShape)"""
16170 return _pcbnew.PCB_TARGET_SetShape(self, aShape)
16173 r"""GetShape(PCB_TARGET self) -> int"""
16174 return _pcbnew.PCB_TARGET_GetShape(self)
16177 r"""SetSize(PCB_TARGET self, int aSize)"""
16178 return _pcbnew.PCB_TARGET_SetSize(self, aSize)
16181 r"""GetSize(PCB_TARGET self) -> int"""
16182 return _pcbnew.PCB_TARGET_GetSize(self)
16185 r"""SetWidth(PCB_TARGET self, int aWidth)"""
16186 return _pcbnew.PCB_TARGET_SetWidth(self, aWidth)
16189 r"""GetWidth(PCB_TARGET self) -> int"""
16190 return _pcbnew.PCB_TARGET_GetWidth(self)
16194 HitTest(PCB_TARGET self, VECTOR2I aPosition, int aAccuracy=0) -> bool
16195 HitTest(PCB_TARGET self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
16197 return _pcbnew.PCB_TARGET_HitTest(self, *args)
16200 r"""GetEffectiveShape(PCB_TARGET self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
16201 return _pcbnew.PCB_TARGET_GetEffectiveShape(self, *args)
16204 r"""TransformShapeToPolygon(PCB_TARGET self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
16205 return _pcbnew.PCB_TARGET_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
16208_pcbnew.PCB_TARGET_swigregister(PCB_TARGET)
16211 r"""PCB_TARGET_ClassOf(EDA_ITEM aItem) -> bool"""
16212 return _pcbnew.PCB_TARGET_ClassOf(aItem)
16215 r"""Proxy of C++ std::vector< PAD * > class."""
16217 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16218 __repr__ = _swig_repr
16221 r"""iterator(PADS_VEC self) -> SwigPyIterator"""
16222 return _pcbnew.PADS_VEC_iterator(self)
16227 r"""__nonzero__(PADS_VEC self) -> bool"""
16228 return _pcbnew.PADS_VEC___nonzero__(self)
16231 r"""__bool__(PADS_VEC self) -> bool"""
16232 return _pcbnew.PADS_VEC___bool__(self)
16235 r"""__len__(PADS_VEC self) -> std::vector< PAD * >::size_type"""
16236 return _pcbnew.PADS_VEC___len__(self)
16239 r"""__getslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j) -> PADS_VEC"""
16240 return _pcbnew.PADS_VEC___getslice__(self, i, j)
16244 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)
16245 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j, PADS_VEC v)
16247 return _pcbnew.PADS_VEC___setslice__(self, *args)
16250 r"""__delslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)"""
16251 return _pcbnew.PADS_VEC___delslice__(self, i, j)
16255 __delitem__(PADS_VEC self, std::vector< PAD * >::difference_type i)
16256 __delitem__(PADS_VEC self, PySliceObject * slice)
16258 return _pcbnew.PADS_VEC___delitem__(self, *args)
16262 __getitem__(PADS_VEC self, PySliceObject * slice) -> PADS_VEC
16263 __getitem__(PADS_VEC self, std::vector< PAD * >::difference_type i) -> PAD
16265 return _pcbnew.PADS_VEC___getitem__(self, *args)
16269 __setitem__(PADS_VEC self, PySliceObject * slice, PADS_VEC v)
16270 __setitem__(PADS_VEC self, PySliceObject * slice)
16271 __setitem__(PADS_VEC self, std::vector< PAD * >::difference_type i, PAD x)
16273 return _pcbnew.PADS_VEC___setitem__(self, *args)
16276 r"""pop(PADS_VEC self) -> PAD"""
16277 return _pcbnew.PADS_VEC_pop(self)
16280 r"""append(PADS_VEC self, PAD x)"""
16281 return _pcbnew.PADS_VEC_append(self, x)
16284 r"""empty(PADS_VEC self) -> bool"""
16285 return _pcbnew.PADS_VEC_empty(self)
16288 r"""size(PADS_VEC self) -> std::vector< PAD * >::size_type"""
16289 return _pcbnew.PADS_VEC_size(self)
16292 r"""swap(PADS_VEC self, PADS_VEC v)"""
16293 return _pcbnew.PADS_VEC_swap(self, v)
16296 r"""begin(PADS_VEC self) -> std::vector< PAD * >::iterator"""
16297 return _pcbnew.PADS_VEC_begin(self)
16300 r"""end(PADS_VEC self) -> std::vector< PAD * >::iterator"""
16301 return _pcbnew.PADS_VEC_end(self)
16304 r"""rbegin(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
16305 return _pcbnew.PADS_VEC_rbegin(self)
16308 r"""rend(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
16309 return _pcbnew.PADS_VEC_rend(self)
16312 r"""clear(PADS_VEC self)"""
16313 return _pcbnew.PADS_VEC_clear(self)
16316 r"""get_allocator(PADS_VEC self) -> std::vector< PAD * >::allocator_type"""
16317 return _pcbnew.PADS_VEC_get_allocator(self)
16320 r"""pop_back(PADS_VEC self)"""
16321 return _pcbnew.PADS_VEC_pop_back(self)
16325 erase(PADS_VEC self, std::vector< PAD * >::iterator pos) -> std::vector< PAD * >::iterator
16326 erase(PADS_VEC self, std::vector< PAD * >::iterator first, std::vector< PAD * >::iterator last) -> std::vector< PAD * >::iterator
16328 return _pcbnew.PADS_VEC_erase(self, *args)
16332 __init__(PADS_VEC self) -> PADS_VEC
16333 __init__(PADS_VEC self, PADS_VEC other) -> PADS_VEC
16334 __init__(PADS_VEC self, std::vector< PAD * >::size_type size) -> PADS_VEC
16335 __init__(PADS_VEC self, std::vector< PAD * >::size_type size, PAD value) -> PADS_VEC
16337 _pcbnew.PADS_VEC_swiginit(self, _pcbnew.new_PADS_VEC(*args))
16340 r"""push_back(PADS_VEC self, PAD x)"""
16341 return _pcbnew.PADS_VEC_push_back(self, x)
16344 r"""front(PADS_VEC self) -> PAD"""
16345 return _pcbnew.PADS_VEC_front(self)
16348 r"""back(PADS_VEC self) -> PAD"""
16349 return _pcbnew.PADS_VEC_back(self)
16352 r"""assign(PADS_VEC self, std::vector< PAD * >::size_type n, PAD x)"""
16353 return _pcbnew.PADS_VEC_assign(self, n, x)
16357 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size)
16358 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size, PAD x)
16360 return _pcbnew.PADS_VEC_resize(self, *args)
16364 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, PAD x) -> std::vector< PAD * >::iterator
16365 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, std::vector< PAD * >::size_type n, PAD x)
16367 return _pcbnew.PADS_VEC_insert(self, *args)
16370 r"""reserve(PADS_VEC self, std::vector< PAD * >::size_type n)"""
16371 return _pcbnew.PADS_VEC_reserve(self, n)
16374 r"""capacity(PADS_VEC self) -> std::vector< PAD * >::size_type"""
16375 return _pcbnew.PADS_VEC_capacity(self)
16376 __swig_destroy__ = _pcbnew.delete_PADS_VEC
16379_pcbnew.PADS_VEC_swigregister(PADS_VEC)
16382 r"""Proxy of C++ std::vector< PCB_TRACK * > class."""
16384 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16385 __repr__ = _swig_repr
16388 r"""iterator(TRACKS_VEC self) -> SwigPyIterator"""
16389 return _pcbnew.TRACKS_VEC_iterator(self)
16394 r"""__nonzero__(TRACKS_VEC self) -> bool"""
16395 return _pcbnew.TRACKS_VEC___nonzero__(self)
16398 r"""__bool__(TRACKS_VEC self) -> bool"""
16399 return _pcbnew.TRACKS_VEC___bool__(self)
16402 r"""__len__(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
16403 return _pcbnew.TRACKS_VEC___len__(self)
16406 r"""__getslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j) -> TRACKS_VEC"""
16407 return _pcbnew.TRACKS_VEC___getslice__(self, i, j)
16411 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)
16412 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j, TRACKS_VEC v)
16414 return _pcbnew.TRACKS_VEC___setslice__(self, *args)
16417 r"""__delslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)"""
16418 return _pcbnew.TRACKS_VEC___delslice__(self, i, j)
16422 __delitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i)
16423 __delitem__(TRACKS_VEC self, PySliceObject * slice)
16425 return _pcbnew.TRACKS_VEC___delitem__(self, *args)
16429 __getitem__(TRACKS_VEC self, PySliceObject * slice) -> TRACKS_VEC
16430 __getitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i) -> PCB_TRACK
16432 return _pcbnew.TRACKS_VEC___getitem__(self, *args)
16436 __setitem__(TRACKS_VEC self, PySliceObject * slice, TRACKS_VEC v)
16437 __setitem__(TRACKS_VEC self, PySliceObject * slice)
16438 __setitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, PCB_TRACK x)
16440 return _pcbnew.TRACKS_VEC___setitem__(self, *args)
16443 r"""pop(TRACKS_VEC self) -> PCB_TRACK"""
16444 return _pcbnew.TRACKS_VEC_pop(self)
16447 r"""append(TRACKS_VEC self, PCB_TRACK x)"""
16448 return _pcbnew.TRACKS_VEC_append(self, x)
16451 r"""empty(TRACKS_VEC self) -> bool"""
16452 return _pcbnew.TRACKS_VEC_empty(self)
16455 r"""size(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
16456 return _pcbnew.TRACKS_VEC_size(self)
16459 r"""swap(TRACKS_VEC self, TRACKS_VEC v)"""
16460 return _pcbnew.TRACKS_VEC_swap(self, v)
16463 r"""begin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
16464 return _pcbnew.TRACKS_VEC_begin(self)
16467 r"""end(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
16468 return _pcbnew.TRACKS_VEC_end(self)
16471 r"""rbegin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
16472 return _pcbnew.TRACKS_VEC_rbegin(self)
16475 r"""rend(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
16476 return _pcbnew.TRACKS_VEC_rend(self)
16479 r"""clear(TRACKS_VEC self)"""
16480 return _pcbnew.TRACKS_VEC_clear(self)
16483 r"""get_allocator(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::allocator_type"""
16484 return _pcbnew.TRACKS_VEC_get_allocator(self)
16487 r"""pop_back(TRACKS_VEC self)"""
16488 return _pcbnew.TRACKS_VEC_pop_back(self)
16492 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos) -> std::vector< PCB_TRACK * >::iterator
16493 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator first, std::vector< PCB_TRACK * >::iterator last) -> std::vector< PCB_TRACK * >::iterator
16495 return _pcbnew.TRACKS_VEC_erase(self, *args)
16499 __init__(TRACKS_VEC self) -> TRACKS_VEC
16500 __init__(TRACKS_VEC self, TRACKS_VEC other) -> TRACKS_VEC
16501 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size) -> TRACKS_VEC
16502 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS_VEC
16504 _pcbnew.TRACKS_VEC_swiginit(self, _pcbnew.new_TRACKS_VEC(*args))
16507 r"""push_back(TRACKS_VEC self, PCB_TRACK x)"""
16508 return _pcbnew.TRACKS_VEC_push_back(self, x)
16511 r"""front(TRACKS_VEC self) -> PCB_TRACK"""
16512 return _pcbnew.TRACKS_VEC_front(self)
16515 r"""back(TRACKS_VEC self) -> PCB_TRACK"""
16516 return _pcbnew.TRACKS_VEC_back(self)
16519 r"""assign(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
16520 return _pcbnew.TRACKS_VEC_assign(self, n, x)
16524 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size)
16525 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
16527 return _pcbnew.TRACKS_VEC_resize(self, *args)
16531 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::vector< PCB_TRACK * >::iterator
16532 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)
16534 return _pcbnew.TRACKS_VEC_insert(self, *args)
16537 r"""reserve(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n)"""
16538 return _pcbnew.TRACKS_VEC_reserve(self, n)
16541 r"""capacity(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
16542 return _pcbnew.TRACKS_VEC_capacity(self)
16543 __swig_destroy__ = _pcbnew.delete_TRACKS_VEC
16546_pcbnew.TRACKS_VEC_swigregister(TRACKS_VEC)
16549 r"""Proxy of C++ NETINFO_ITEM class."""
16551 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16552 __repr__ = _swig_repr
16555 r"""__init__(NETINFO_ITEM self, BOARD aParent, wxString aNetName=wxEmptyString, int aNetCode=-1) -> NETINFO_ITEM"""
16556 _pcbnew.NETINFO_ITEM_swiginit(self, _pcbnew.new_NETINFO_ITEM(*args))
16557 __swig_destroy__ = _pcbnew.delete_NETINFO_ITEM
16561 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16562 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
16565 r"""SetNetClass(NETINFO_ITEM self, std::shared_ptr< NETCLASS > const & aNetClass)"""
16566 return _pcbnew.NETINFO_ITEM_SetNetClass(self, aNetClass)
16569 r"""GetNetClass(NETINFO_ITEM self) -> NETCLASS"""
16570 return _pcbnew.NETINFO_ITEM_GetNetClass(self)
16573 r"""GetNetClassSlow(NETINFO_ITEM self) -> std::shared_ptr< NETCLASS >"""
16574 return _pcbnew.NETINFO_ITEM_GetNetClassSlow(self)
16577 r"""GetNetCode(NETINFO_ITEM self) -> int"""
16578 return _pcbnew.NETINFO_ITEM_GetNetCode(self)
16581 r"""SetNetCode(NETINFO_ITEM self, int aNetCode)"""
16582 return _pcbnew.NETINFO_ITEM_SetNetCode(self, aNetCode)
16585 r"""GetNetname(NETINFO_ITEM self) -> wxString"""
16586 return _pcbnew.NETINFO_ITEM_GetNetname(self)
16589 r"""GetShortNetname(NETINFO_ITEM self) -> wxString"""
16590 return _pcbnew.NETINFO_ITEM_GetShortNetname(self)
16593 r"""GetDisplayNetname(NETINFO_ITEM self) -> wxString"""
16594 return _pcbnew.NETINFO_ITEM_GetDisplayNetname(self)
16597 r"""HasAutoGeneratedNetname(NETINFO_ITEM self) -> bool"""
16598 return _pcbnew.NETINFO_ITEM_HasAutoGeneratedNetname(self)
16601 r"""SetNetname(NETINFO_ITEM self, wxString aNewName)"""
16602 return _pcbnew.NETINFO_ITEM_SetNetname(self, aNewName)
16605 r"""IsCurrent(NETINFO_ITEM self) -> bool"""
16606 return _pcbnew.NETINFO_ITEM_IsCurrent(self)
16609 r"""SetIsCurrent(NETINFO_ITEM self, bool isCurrent)"""
16610 return _pcbnew.NETINFO_ITEM_SetIsCurrent(self, isCurrent)
16613 r"""Clear(NETINFO_ITEM self)"""
16614 return _pcbnew.NETINFO_ITEM_Clear(self)
16617 r"""GetParent(NETINFO_ITEM self) -> BOARD"""
16618 return _pcbnew.NETINFO_ITEM_GetParent(self)
16625_pcbnew.NETINFO_ITEM_swigregister(NETINFO_ITEM)
16628 r"""NETINFO_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
16629 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
16632 r"""Proxy of C++ std::map< wxString,NETINFO_ITEM * > class."""
16634 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16635 __repr__ = _swig_repr
16638 r"""iterator(NETNAMES_MAP self) -> SwigPyIterator"""
16639 return _pcbnew.NETNAMES_MAP_iterator(self)
16644 r"""__nonzero__(NETNAMES_MAP self) -> bool"""
16645 return _pcbnew.NETNAMES_MAP___nonzero__(self)
16648 r"""__bool__(NETNAMES_MAP self) -> bool"""
16649 return _pcbnew.NETNAMES_MAP___bool__(self)
16652 r"""__len__(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
16653 return _pcbnew.NETNAMES_MAP___len__(self)
16664 r"""__getitem__(NETNAMES_MAP self, wxString key) -> NETINFO_ITEM"""
16665 return _pcbnew.NETNAMES_MAP___getitem__(self, key)
16668 r"""__delitem__(NETNAMES_MAP self, wxString key)"""
16669 return _pcbnew.NETNAMES_MAP___delitem__(self, key)
16672 r"""has_key(NETNAMES_MAP self, wxString key) -> bool"""
16673 return _pcbnew.NETNAMES_MAP_has_key(self, key)
16676 r"""keys(NETNAMES_MAP self) -> PyObject *"""
16677 return _pcbnew.NETNAMES_MAP_keys(self)
16680 r"""values(NETNAMES_MAP self) -> PyObject *"""
16681 return _pcbnew.NETNAMES_MAP_values(self)
16684 r"""items(NETNAMES_MAP self) -> PyObject *"""
16685 return _pcbnew.NETNAMES_MAP_items(self)
16688 r"""__contains__(NETNAMES_MAP self, wxString key) -> bool"""
16689 return _pcbnew.NETNAMES_MAP___contains__(self, key)
16692 r"""key_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
16693 return _pcbnew.NETNAMES_MAP_key_iterator(self)
16696 r"""value_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
16697 return _pcbnew.NETNAMES_MAP_value_iterator(self)
16702 __setitem__(NETNAMES_MAP self, wxString key, NETINFO_ITEM x)
16704 return _pcbnew.NETNAMES_MAP___setitem__(self, *args)
16707 r"""asdict(NETNAMES_MAP self) -> PyObject *"""
16708 return _pcbnew.NETNAMES_MAP_asdict(self)
16712 __init__(NETNAMES_MAP self, std::less< wxString > const & other) -> NETNAMES_MAP
16713 __init__(NETNAMES_MAP self) -> NETNAMES_MAP
16714 __init__(NETNAMES_MAP self, NETNAMES_MAP other) -> NETNAMES_MAP
16716 _pcbnew.NETNAMES_MAP_swiginit(self, _pcbnew.new_NETNAMES_MAP(*args))
16719 r"""empty(NETNAMES_MAP self) -> bool"""
16720 return _pcbnew.NETNAMES_MAP_empty(self)
16723 r"""size(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
16724 return _pcbnew.NETNAMES_MAP_size(self)
16727 r"""swap(NETNAMES_MAP self, NETNAMES_MAP v)"""
16728 return _pcbnew.NETNAMES_MAP_swap(self, v)
16731 r"""begin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16732 return _pcbnew.NETNAMES_MAP_begin(self)
16735 r"""end(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16736 return _pcbnew.NETNAMES_MAP_end(self)
16739 r"""rbegin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
16740 return _pcbnew.NETNAMES_MAP_rbegin(self)
16743 r"""rend(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
16744 return _pcbnew.NETNAMES_MAP_rend(self)
16747 r"""clear(NETNAMES_MAP self)"""
16748 return _pcbnew.NETNAMES_MAP_clear(self)
16751 r"""get_allocator(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::allocator_type"""
16752 return _pcbnew.NETNAMES_MAP_get_allocator(self)
16755 r"""count(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
16756 return _pcbnew.NETNAMES_MAP_count(self, x)
16760 erase(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type
16761 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator position)
16762 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator first, std::map< wxString,NETINFO_ITEM * >::iterator last)
16764 return _pcbnew.NETNAMES_MAP_erase(self, *args)
16767 r"""find(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16768 return _pcbnew.NETNAMES_MAP_find(self, x)
16771 r"""lower_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16772 return _pcbnew.NETNAMES_MAP_lower_bound(self, x)
16775 r"""upper_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16776 return _pcbnew.NETNAMES_MAP_upper_bound(self, x)
16777 __swig_destroy__ = _pcbnew.delete_NETNAMES_MAP
16780_pcbnew.NETNAMES_MAP_swigregister(NETNAMES_MAP)
16783 r"""Proxy of C++ std::map< int,NETINFO_ITEM * > class."""
16785 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16786 __repr__ = _swig_repr
16789 r"""iterator(NETCODES_MAP self) -> SwigPyIterator"""
16790 return _pcbnew.NETCODES_MAP_iterator(self)
16795 r"""__nonzero__(NETCODES_MAP self) -> bool"""
16796 return _pcbnew.NETCODES_MAP___nonzero__(self)
16799 r"""__bool__(NETCODES_MAP self) -> bool"""
16800 return _pcbnew.NETCODES_MAP___bool__(self)
16803 r"""__len__(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
16804 return _pcbnew.NETCODES_MAP___len__(self)
16815 r"""__getitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> NETINFO_ITEM"""
16816 return _pcbnew.NETCODES_MAP___getitem__(self, key)
16819 r"""__delitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)"""
16820 return _pcbnew.NETCODES_MAP___delitem__(self, key)
16823 r"""has_key(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
16824 return _pcbnew.NETCODES_MAP_has_key(self, key)
16827 r"""keys(NETCODES_MAP self) -> PyObject *"""
16828 return _pcbnew.NETCODES_MAP_keys(self)
16831 r"""values(NETCODES_MAP self) -> PyObject *"""
16832 return _pcbnew.NETCODES_MAP_values(self)
16835 r"""items(NETCODES_MAP self) -> PyObject *"""
16836 return _pcbnew.NETCODES_MAP_items(self)
16839 r"""__contains__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
16840 return _pcbnew.NETCODES_MAP___contains__(self, key)
16843 r"""key_iterator(NETCODES_MAP self) -> SwigPyIterator"""
16844 return _pcbnew.NETCODES_MAP_key_iterator(self)
16847 r"""value_iterator(NETCODES_MAP self) -> SwigPyIterator"""
16848 return _pcbnew.NETCODES_MAP_value_iterator(self)
16852 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)
16853 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key, NETINFO_ITEM x)
16855 return _pcbnew.NETCODES_MAP___setitem__(self, *args)
16858 r"""asdict(NETCODES_MAP self) -> PyObject *"""
16859 return _pcbnew.NETCODES_MAP_asdict(self)
16863 __init__(NETCODES_MAP self, std::less< int > const & other) -> NETCODES_MAP
16864 __init__(NETCODES_MAP self) -> NETCODES_MAP
16865 __init__(NETCODES_MAP self, NETCODES_MAP other) -> NETCODES_MAP
16867 _pcbnew.NETCODES_MAP_swiginit(self, _pcbnew.new_NETCODES_MAP(*args))
16870 r"""empty(NETCODES_MAP self) -> bool"""
16871 return _pcbnew.NETCODES_MAP_empty(self)
16874 r"""size(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
16875 return _pcbnew.NETCODES_MAP_size(self)
16878 r"""swap(NETCODES_MAP self, NETCODES_MAP v)"""
16879 return _pcbnew.NETCODES_MAP_swap(self, v)
16882 r"""begin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
16883 return _pcbnew.NETCODES_MAP_begin(self)
16886 r"""end(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
16887 return _pcbnew.NETCODES_MAP_end(self)
16890 r"""rbegin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
16891 return _pcbnew.NETCODES_MAP_rbegin(self)
16894 r"""rend(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
16895 return _pcbnew.NETCODES_MAP_rend(self)
16898 r"""clear(NETCODES_MAP self)"""
16899 return _pcbnew.NETCODES_MAP_clear(self)
16902 r"""get_allocator(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::allocator_type"""
16903 return _pcbnew.NETCODES_MAP_get_allocator(self)
16906 r"""count(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type"""
16907 return _pcbnew.NETCODES_MAP_count(self, x)
16911 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type
16912 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator position)
16913 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator first, std::map< int,NETINFO_ITEM * >::iterator last)
16915 return _pcbnew.NETCODES_MAP_erase(self, *args)
16918 r"""find(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
16919 return _pcbnew.NETCODES_MAP_find(self, x)
16922 r"""lower_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
16923 return _pcbnew.NETCODES_MAP_lower_bound(self, x)
16926 r"""upper_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
16927 return _pcbnew.NETCODES_MAP_upper_bound(self, x)
16928 __swig_destroy__ = _pcbnew.delete_NETCODES_MAP
16931_pcbnew.NETCODES_MAP_swigregister(NETCODES_MAP)
16934 r"""Proxy of C++ NETINFO_LIST 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__(NETINFO_LIST self, BOARD aParent) -> NETINFO_LIST"""
16941 _pcbnew.NETINFO_LIST_swiginit(self, _pcbnew.new_NETINFO_LIST(aParent))
16942 __swig_destroy__ = _pcbnew.delete_NETINFO_LIST
16946 GetNetItem(NETINFO_LIST self, int aNetCode) -> NETINFO_ITEM
16947 GetNetItem(NETINFO_LIST self, wxString aNetName) -> NETINFO_ITEM
16949 return _pcbnew.NETINFO_LIST_GetNetItem(self, *args)
16952 r"""GetNetCount(NETINFO_LIST self) -> unsigned int"""
16953 return _pcbnew.NETINFO_LIST_GetNetCount(self)
16956 r"""NetsByName(NETINFO_LIST self) -> NETNAMES_MAP"""
16957 return _pcbnew.NETINFO_LIST_NetsByName(self)
16960 r"""NetsByNetcode(NETINFO_LIST self) -> NETCODES_MAP"""
16961 return _pcbnew.NETINFO_LIST_NetsByNetcode(self)
16964 r"""RebuildDisplayNetnames(NETINFO_LIST self)"""
16965 return _pcbnew.NETINFO_LIST_RebuildDisplayNetnames(self)
16969 r"""OrphanedItem() -> NETINFO_ITEM"""
16970 return _pcbnew.NETINFO_LIST_OrphanedItem()
16973 r"""GetParent(NETINFO_LIST self) -> BOARD"""
16974 return _pcbnew.NETINFO_LIST_GetParent(self)
16975 m_DisplayNetnamesDirty = property(_pcbnew.NETINFO_LIST_m_DisplayNetnamesDirty_get, _pcbnew.NETINFO_LIST_m_DisplayNetnamesDirty_set, doc=
r"""m_DisplayNetnamesDirty : bool""")
16978_pcbnew.NETINFO_LIST_swigregister(NETINFO_LIST)
16979NETINFO_LIST.UNCONNECTED = _pcbnew.cvar.NETINFO_LIST_UNCONNECTED
16980NETINFO_LIST.ORPHANED = _pcbnew.cvar.NETINFO_LIST_ORPHANED
16983 r"""NETINFO_LIST_OrphanedItem() -> NETINFO_ITEM"""
16984 return _pcbnew.NETINFO_LIST_OrphanedItem()
16987 r"""Proxy of C++ std::set< wxString > class."""
16989 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16990 __repr__ = _swig_repr
16993 r"""iterator(STRINGSET self) -> SwigPyIterator"""
16994 return _pcbnew.STRINGSET_iterator(self)
16999 r"""__nonzero__(STRINGSET self) -> bool"""
17000 return _pcbnew.STRINGSET___nonzero__(self)
17003 r"""__bool__(STRINGSET self) -> bool"""
17004 return _pcbnew.STRINGSET___bool__(self)
17007 r"""__len__(STRINGSET self) -> std::set< wxString >::size_type"""
17008 return _pcbnew.STRINGSET___len__(self)
17011 r"""append(STRINGSET self, wxString x)"""
17012 return _pcbnew.STRINGSET_append(self, x)
17015 r"""__contains__(STRINGSET self, wxString x) -> bool"""
17016 return _pcbnew.STRINGSET___contains__(self, x)
17019 r"""__getitem__(STRINGSET self, std::set< wxString >::difference_type i) -> wxString"""
17020 return _pcbnew.STRINGSET___getitem__(self, i)
17023 r"""add(STRINGSET self, wxString x)"""
17024 return _pcbnew.STRINGSET_add(self, x)
17027 r"""discard(STRINGSET self, wxString x)"""
17028 return _pcbnew.STRINGSET_discard(self, x)
17032 __init__(STRINGSET self, std::less< wxString > const & other) -> STRINGSET
17033 __init__(STRINGSET self) -> STRINGSET
17034 __init__(STRINGSET self, STRINGSET other) -> STRINGSET
17036 _pcbnew.STRINGSET_swiginit(self, _pcbnew.new_STRINGSET(*args))
17039 r"""empty(STRINGSET self) -> bool"""
17040 return _pcbnew.STRINGSET_empty(self)
17043 r"""size(STRINGSET self) -> std::set< wxString >::size_type"""
17044 return _pcbnew.STRINGSET_size(self)
17047 r"""clear(STRINGSET self)"""
17048 return _pcbnew.STRINGSET_clear(self)
17051 r"""swap(STRINGSET self, STRINGSET v)"""
17052 return _pcbnew.STRINGSET_swap(self, v)
17055 r"""count(STRINGSET self, wxString x) -> std::set< wxString >::size_type"""
17056 return _pcbnew.STRINGSET_count(self, x)
17059 r"""begin(STRINGSET self) -> std::set< wxString >::iterator"""
17060 return _pcbnew.STRINGSET_begin(self)
17063 r"""end(STRINGSET self) -> std::set< wxString >::iterator"""
17064 return _pcbnew.STRINGSET_end(self)
17067 r"""rbegin(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
17068 return _pcbnew.STRINGSET_rbegin(self)
17071 r"""rend(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
17072 return _pcbnew.STRINGSET_rend(self)
17076 erase(STRINGSET self, wxString x) -> std::set< wxString >::size_type
17077 erase(STRINGSET self, std::set< wxString >::iterator pos)
17078 erase(STRINGSET self, std::set< wxString >::iterator first, std::set< wxString >::iterator last)
17080 return _pcbnew.STRINGSET_erase(self, *args)
17083 r"""find(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
17084 return _pcbnew.STRINGSET_find(self, x)
17087 r"""lower_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
17088 return _pcbnew.STRINGSET_lower_bound(self, x)
17091 r"""upper_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
17092 return _pcbnew.STRINGSET_upper_bound(self, x)
17095 r"""equal_range(STRINGSET self, wxString x) -> std::pair< std::set< wxString >::iterator,std::set< wxString >::iterator >"""
17096 return _pcbnew.STRINGSET_equal_range(self, x)
17099 r"""insert(STRINGSET self, wxString __x) -> std::pair< std::set< wxString >::iterator,bool >"""
17100 return _pcbnew.STRINGSET_insert(self, __x)
17101 __swig_destroy__ = _pcbnew.delete_STRINGSET
17104_pcbnew.STRINGSET_swigregister(STRINGSET)
17107 r"""Proxy of C++ NETCLASS class."""
17109 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17110 __repr__ = _swig_repr
17113 r"""__init__(NETCLASS self, wxString aName) -> NETCLASS"""
17114 _pcbnew.NETCLASS_swiginit(self, _pcbnew.new_NETCLASS(aName))
17115 __swig_destroy__ = _pcbnew.delete_NETCLASS
17118 r"""GetClass(NETCLASS self) -> wxString"""
17119 return _pcbnew.NETCLASS_GetClass(self)
17122 r"""GetName(NETCLASS self) -> wxString"""
17123 return _pcbnew.NETCLASS_GetName(self)
17126 r"""SetName(NETCLASS self, wxString aName)"""
17127 return _pcbnew.NETCLASS_SetName(self, aName)
17130 r"""GetDescription(NETCLASS self) -> wxString"""
17131 return _pcbnew.NETCLASS_GetDescription(self)
17134 r"""SetDescription(NETCLASS self, wxString aDesc)"""
17135 return _pcbnew.NETCLASS_SetDescription(self, aDesc)
17138 r"""HasClearance(NETCLASS self) -> bool"""
17139 return _pcbnew.NETCLASS_HasClearance(self)
17142 r"""GetClearance(NETCLASS self) -> int"""
17143 return _pcbnew.NETCLASS_GetClearance(self)
17146 r"""SetClearance(NETCLASS self, int aClearance)"""
17147 return _pcbnew.NETCLASS_SetClearance(self, aClearance)
17150 r"""HasTrackWidth(NETCLASS self) -> bool"""
17151 return _pcbnew.NETCLASS_HasTrackWidth(self)
17154 r"""GetTrackWidth(NETCLASS self) -> int"""
17155 return _pcbnew.NETCLASS_GetTrackWidth(self)
17158 r"""SetTrackWidth(NETCLASS self, int aWidth)"""
17159 return _pcbnew.NETCLASS_SetTrackWidth(self, aWidth)
17162 r"""HasViaDiameter(NETCLASS self) -> bool"""
17163 return _pcbnew.NETCLASS_HasViaDiameter(self)
17166 r"""GetViaDiameter(NETCLASS self) -> int"""
17167 return _pcbnew.NETCLASS_GetViaDiameter(self)
17170 r"""SetViaDiameter(NETCLASS self, int aDia)"""
17171 return _pcbnew.NETCLASS_SetViaDiameter(self, aDia)
17174 r"""HasViaDrill(NETCLASS self) -> int"""
17175 return _pcbnew.NETCLASS_HasViaDrill(self)
17178 r"""GetViaDrill(NETCLASS self) -> int"""
17179 return _pcbnew.NETCLASS_GetViaDrill(self)
17182 r"""SetViaDrill(NETCLASS self, int aSize)"""
17183 return _pcbnew.NETCLASS_SetViaDrill(self, aSize)
17186 r"""HasuViaDiameter(NETCLASS self) -> bool"""
17187 return _pcbnew.NETCLASS_HasuViaDiameter(self)
17190 r"""GetuViaDiameter(NETCLASS self) -> int"""
17191 return _pcbnew.NETCLASS_GetuViaDiameter(self)
17194 r"""SetuViaDiameter(NETCLASS self, int aSize)"""
17195 return _pcbnew.NETCLASS_SetuViaDiameter(self, aSize)
17198 r"""HasuViaDrill(NETCLASS self) -> bool"""
17199 return _pcbnew.NETCLASS_HasuViaDrill(self)
17202 r"""GetuViaDrill(NETCLASS self) -> int"""
17203 return _pcbnew.NETCLASS_GetuViaDrill(self)
17206 r"""SetuViaDrill(NETCLASS self, int aSize)"""
17207 return _pcbnew.NETCLASS_SetuViaDrill(self, aSize)
17210 r"""HasDiffPairWidth(NETCLASS self) -> bool"""
17211 return _pcbnew.NETCLASS_HasDiffPairWidth(self)
17214 r"""GetDiffPairWidth(NETCLASS self) -> int"""
17215 return _pcbnew.NETCLASS_GetDiffPairWidth(self)
17218 r"""SetDiffPairWidth(NETCLASS self, int aSize)"""
17219 return _pcbnew.NETCLASS_SetDiffPairWidth(self, aSize)
17222 r"""HasDiffPairGap(NETCLASS self) -> bool"""
17223 return _pcbnew.NETCLASS_HasDiffPairGap(self)
17226 r"""GetDiffPairGap(NETCLASS self) -> int"""
17227 return _pcbnew.NETCLASS_GetDiffPairGap(self)
17230 r"""SetDiffPairGap(NETCLASS self, int aSize)"""
17231 return _pcbnew.NETCLASS_SetDiffPairGap(self, aSize)
17234 r"""HasDiffPairViaGap(NETCLASS self) -> bool"""
17235 return _pcbnew.NETCLASS_HasDiffPairViaGap(self)
17238 r"""GetDiffPairViaGap(NETCLASS self) -> int"""
17239 return _pcbnew.NETCLASS_GetDiffPairViaGap(self)
17242 r"""SetDiffPairViaGap(NETCLASS self, int aSize)"""
17243 return _pcbnew.NETCLASS_SetDiffPairViaGap(self, aSize)
17246 r"""GetPcbColor(NETCLASS self) -> COLOR4D"""
17247 return _pcbnew.NETCLASS_GetPcbColor(self)
17250 r"""SetPcbColor(NETCLASS self, COLOR4D aColor)"""
17251 return _pcbnew.NETCLASS_SetPcbColor(self, aColor)
17254 r"""GetWireWidth(NETCLASS self) -> int"""
17255 return _pcbnew.NETCLASS_GetWireWidth(self)
17258 r"""SetWireWidth(NETCLASS self, int aWidth)"""
17259 return _pcbnew.NETCLASS_SetWireWidth(self, aWidth)
17262 r"""GetBusWidth(NETCLASS self) -> int"""
17263 return _pcbnew.NETCLASS_GetBusWidth(self)
17266 r"""SetBusWidth(NETCLASS self, int aWidth)"""
17267 return _pcbnew.NETCLASS_SetBusWidth(self, aWidth)
17270 r"""GetSchematicColor(NETCLASS self) -> COLOR4D"""
17271 return _pcbnew.NETCLASS_GetSchematicColor(self)
17274 r"""SetSchematicColor(NETCLASS self, COLOR4D aColor)"""
17275 return _pcbnew.NETCLASS_SetSchematicColor(self, aColor)
17278 r"""GetLineStyle(NETCLASS self) -> int"""
17279 return _pcbnew.NETCLASS_GetLineStyle(self)
17282 r"""SetLineStyle(NETCLASS self, int aStyle)"""
17283 return _pcbnew.NETCLASS_SetLineStyle(self, aStyle)
17286_pcbnew.NETCLASS_swigregister(NETCLASS)
17287NETCLASS.Default = _pcbnew.cvar.NETCLASS_Default
17290 r"""Proxy of C++ PCB_GROUP class."""
17292 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17293 __repr__ = _swig_repr
17296 r"""__init__(PCB_GROUP self, BOARD_ITEM aParent) -> PCB_GROUP"""
17297 _pcbnew.PCB_GROUP_swiginit(self, _pcbnew.new_PCB_GROUP(aParent))
17301 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17302 return _pcbnew.PCB_GROUP_ClassOf(aItem)
17305 r"""GetName(PCB_GROUP self) -> wxString"""
17306 return _pcbnew.PCB_GROUP_GetName(self)
17309 r"""SetName(PCB_GROUP self, wxString aName)"""
17310 return _pcbnew.PCB_GROUP_SetName(self, aName)
17314 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * >
17315 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * > const &
17317 return _pcbnew.PCB_GROUP_GetItems(self, *args)
17320 r"""AddItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
17321 return _pcbnew.PCB_GROUP_AddItem(self, aItem)
17324 r"""RemoveItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
17325 return _pcbnew.PCB_GROUP_RemoveItem(self, aItem)
17328 r"""RemoveAll(PCB_GROUP self)"""
17329 return _pcbnew.PCB_GROUP_RemoveAll(self)
17333 r"""TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
17334 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
17338 r"""WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
17339 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
17342 r"""DeepClone(PCB_GROUP self) -> PCB_GROUP"""
17343 return _pcbnew.PCB_GROUP_DeepClone(self)
17346 r"""DeepDuplicate(PCB_GROUP self) -> PCB_GROUP"""
17347 return _pcbnew.PCB_GROUP_DeepDuplicate(self)
17351 HitTest(PCB_GROUP self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17352 HitTest(PCB_GROUP self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17354 return _pcbnew.PCB_GROUP_HitTest(self, *args)
17357 r"""GetEffectiveShape(PCB_GROUP self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17358 return _pcbnew.PCB_GROUP_GetEffectiveShape(self, *args)
17361 r"""ViewGetLOD(PCB_GROUP self, int aLayer, KIGFX::VIEW * aView) -> double"""
17362 return _pcbnew.PCB_GROUP_ViewGetLOD(self, aLayer, aView)
17365 r"""RunOnDescendants(PCB_GROUP self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
17366 return _pcbnew.PCB_GROUP_RunOnDescendants(self, aFunction, aDepth)
17370 r"""IsGroupableType(KICAD_T aType) -> bool"""
17371 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
17374 r"""GetItemsDeque(PCB_GROUP self) -> DRAWINGS"""
17375 return _pcbnew.PCB_GROUP_GetItemsDeque(self)
17380 __swig_destroy__ = _pcbnew.delete_PCB_GROUP
17383_pcbnew.PCB_GROUP_swigregister(PCB_GROUP)
17386 r"""PCB_GROUP_ClassOf(EDA_ITEM aItem) -> bool"""
17387 return _pcbnew.PCB_GROUP_ClassOf(aItem)
17390 r"""PCB_GROUP_TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
17391 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
17394 r"""PCB_GROUP_WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
17395 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
17398 r"""PCB_GROUP_IsGroupableType(KICAD_T aType) -> bool"""
17399 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
17402 r"""Proxy of C++ PCB_REFERENCE_IMAGE class."""
17404 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17405 __repr__ = _swig_repr
17409 __init__(PCB_REFERENCE_IMAGE self, BOARD_ITEM aParent, VECTOR2I pos=VECTOR2I( 0, 0 ), PCB_LAYER_ID aLayer=F_Cu) -> PCB_REFERENCE_IMAGE
17410 __init__(PCB_REFERENCE_IMAGE self, PCB_REFERENCE_IMAGE aPcbBitmap) -> PCB_REFERENCE_IMAGE
17412 _pcbnew.PCB_REFERENCE_IMAGE_swiginit(self, _pcbnew.new_PCB_REFERENCE_IMAGE(*args))
17413 __swig_destroy__ = _pcbnew.delete_PCB_REFERENCE_IMAGE
17416 r"""GetImage(PCB_REFERENCE_IMAGE self) -> BITMAP_BASE const *"""
17417 return _pcbnew.PCB_REFERENCE_IMAGE_GetImage(self)
17420 r"""MutableImage(PCB_REFERENCE_IMAGE self) -> BITMAP_BASE *"""
17421 return _pcbnew.PCB_REFERENCE_IMAGE_MutableImage(self)
17424 r"""GetImageScale(PCB_REFERENCE_IMAGE self) -> double"""
17425 return _pcbnew.PCB_REFERENCE_IMAGE_GetImageScale(self)
17428 r"""SetImageScale(PCB_REFERENCE_IMAGE self, double aScale)"""
17429 return _pcbnew.PCB_REFERENCE_IMAGE_SetImageScale(self, aScale)
17433 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17434 return _pcbnew.PCB_REFERENCE_IMAGE_ClassOf(aItem)
17437 r"""GetSize(PCB_REFERENCE_IMAGE self) -> VECTOR2I"""
17438 return _pcbnew.PCB_REFERENCE_IMAGE_GetSize(self)
17441 r"""ViewGetLOD(PCB_REFERENCE_IMAGE self, int aLayer, KIGFX::VIEW * aView) -> double"""
17442 return _pcbnew.PCB_REFERENCE_IMAGE_ViewGetLOD(self, aLayer, aView)
17445 r"""GetEffectiveShape(PCB_REFERENCE_IMAGE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17446 return _pcbnew.PCB_REFERENCE_IMAGE_GetEffectiveShape(self, *args)
17450 ReadImageFile(PCB_REFERENCE_IMAGE self, wxString aFullFilename) -> bool
17451 ReadImageFile(PCB_REFERENCE_IMAGE self, wxMemoryBuffer & aBuf) -> bool
17453 return _pcbnew.PCB_REFERENCE_IMAGE_ReadImageFile(self, *args)
17457 HitTest(PCB_REFERENCE_IMAGE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17458 HitTest(PCB_REFERENCE_IMAGE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17460 return _pcbnew.PCB_REFERENCE_IMAGE_HitTest(self, *args)
17463_pcbnew.PCB_REFERENCE_IMAGE_swigregister(PCB_REFERENCE_IMAGE)
17466 r"""PCB_REFERENCE_IMAGE_ClassOf(EDA_ITEM aItem) -> bool"""
17467 return _pcbnew.PCB_REFERENCE_IMAGE_ClassOf(aItem)
17470 r"""Proxy of C++ std::vector< VIA_DIMENSION > class."""
17472 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17473 __repr__ = _swig_repr
17476 r"""iterator(VIA_DIMENSION_Vector self) -> SwigPyIterator"""
17477 return _pcbnew.VIA_DIMENSION_Vector_iterator(self)
17482 r"""__nonzero__(VIA_DIMENSION_Vector self) -> bool"""
17483 return _pcbnew.VIA_DIMENSION_Vector___nonzero__(self)
17486 r"""__bool__(VIA_DIMENSION_Vector self) -> bool"""
17487 return _pcbnew.VIA_DIMENSION_Vector___bool__(self)
17490 r"""__len__(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
17491 return _pcbnew.VIA_DIMENSION_Vector___len__(self)
17494 r"""__getslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j) -> VIA_DIMENSION_Vector"""
17495 return _pcbnew.VIA_DIMENSION_Vector___getslice__(self, i, j)
17499 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)
17500 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j, VIA_DIMENSION_Vector v)
17502 return _pcbnew.VIA_DIMENSION_Vector___setslice__(self, *args)
17505 r"""__delslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)"""
17506 return _pcbnew.VIA_DIMENSION_Vector___delslice__(self, i, j)
17510 __delitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i)
17511 __delitem__(VIA_DIMENSION_Vector self, PySliceObject * slice)
17513 return _pcbnew.VIA_DIMENSION_Vector___delitem__(self, *args)
17517 __getitem__(VIA_DIMENSION_Vector self, PySliceObject * slice) -> VIA_DIMENSION_Vector
17518 __getitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i) -> VIA_DIMENSION
17520 return _pcbnew.VIA_DIMENSION_Vector___getitem__(self, *args)
17524 __setitem__(VIA_DIMENSION_Vector self, PySliceObject * slice, VIA_DIMENSION_Vector v)
17525 __setitem__(VIA_DIMENSION_Vector self, PySliceObject * slice)
17526 __setitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, VIA_DIMENSION x)
17528 return _pcbnew.VIA_DIMENSION_Vector___setitem__(self, *args)
17531 r"""pop(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
17532 return _pcbnew.VIA_DIMENSION_Vector_pop(self)
17535 r"""append(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
17536 return _pcbnew.VIA_DIMENSION_Vector_append(self, x)
17539 r"""empty(VIA_DIMENSION_Vector self) -> bool"""
17540 return _pcbnew.VIA_DIMENSION_Vector_empty(self)
17543 r"""size(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
17544 return _pcbnew.VIA_DIMENSION_Vector_size(self)
17547 r"""swap(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector v)"""
17548 return _pcbnew.VIA_DIMENSION_Vector_swap(self, v)
17551 r"""begin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
17552 return _pcbnew.VIA_DIMENSION_Vector_begin(self)
17555 r"""end(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
17556 return _pcbnew.VIA_DIMENSION_Vector_end(self)
17559 r"""rbegin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
17560 return _pcbnew.VIA_DIMENSION_Vector_rbegin(self)
17563 r"""rend(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
17564 return _pcbnew.VIA_DIMENSION_Vector_rend(self)
17567 r"""clear(VIA_DIMENSION_Vector self)"""
17568 return _pcbnew.VIA_DIMENSION_Vector_clear(self)
17571 r"""get_allocator(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::allocator_type"""
17572 return _pcbnew.VIA_DIMENSION_Vector_get_allocator(self)
17575 r"""pop_back(VIA_DIMENSION_Vector self)"""
17576 return _pcbnew.VIA_DIMENSION_Vector_pop_back(self)
17580 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos) -> std::vector< VIA_DIMENSION >::iterator
17581 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator first, std::vector< VIA_DIMENSION >::iterator last) -> std::vector< VIA_DIMENSION >::iterator
17583 return _pcbnew.VIA_DIMENSION_Vector_erase(self, *args)
17587 __init__(VIA_DIMENSION_Vector self) -> VIA_DIMENSION_Vector
17588 __init__(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector other) -> VIA_DIMENSION_Vector
17589 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size) -> VIA_DIMENSION_Vector
17590 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size, VIA_DIMENSION value) -> VIA_DIMENSION_Vector
17592 _pcbnew.VIA_DIMENSION_Vector_swiginit(self, _pcbnew.new_VIA_DIMENSION_Vector(*args))
17595 r"""push_back(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
17596 return _pcbnew.VIA_DIMENSION_Vector_push_back(self, x)
17599 r"""front(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
17600 return _pcbnew.VIA_DIMENSION_Vector_front(self)
17603 r"""back(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
17604 return _pcbnew.VIA_DIMENSION_Vector_back(self)
17607 r"""assign(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)"""
17608 return _pcbnew.VIA_DIMENSION_Vector_assign(self, n, x)
17612 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size)
17613 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size, VIA_DIMENSION x)
17615 return _pcbnew.VIA_DIMENSION_Vector_resize(self, *args)
17619 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, VIA_DIMENSION x) -> std::vector< VIA_DIMENSION >::iterator
17620 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)
17622 return _pcbnew.VIA_DIMENSION_Vector_insert(self, *args)
17625 r"""reserve(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n)"""
17626 return _pcbnew.VIA_DIMENSION_Vector_reserve(self, n)
17629 r"""capacity(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
17630 return _pcbnew.VIA_DIMENSION_Vector_capacity(self)
17631 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION_Vector
17634_pcbnew.VIA_DIMENSION_Vector_swigregister(VIA_DIMENSION_Vector)
17636DEFAULT_CHAINING_EPSILON_MM = _pcbnew.DEFAULT_CHAINING_EPSILON_MM
17639 r"""Proxy of C++ PTR_PTR_CACHE_KEY class."""
17641 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17642 __repr__ = _swig_repr
17643 A = property(_pcbnew.PTR_PTR_CACHE_KEY_A_get, _pcbnew.PTR_PTR_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
17644 B = property(_pcbnew.PTR_PTR_CACHE_KEY_B_get, _pcbnew.PTR_PTR_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
17647 r"""__eq__(PTR_PTR_CACHE_KEY self, PTR_PTR_CACHE_KEY other) -> bool"""
17648 return _pcbnew.PTR_PTR_CACHE_KEY___eq__(self, other)
17651 r"""__init__(PTR_PTR_CACHE_KEY self) -> PTR_PTR_CACHE_KEY"""
17652 _pcbnew.PTR_PTR_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_CACHE_KEY())
17653 __swig_destroy__ = _pcbnew.delete_PTR_PTR_CACHE_KEY
17656_pcbnew.PTR_PTR_CACHE_KEY_swigregister(PTR_PTR_CACHE_KEY)
17659 r"""Proxy of C++ PTR_LAYER_CACHE_KEY class."""
17661 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17662 __repr__ = _swig_repr
17663 A = property(_pcbnew.PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
17664 Layer = property(_pcbnew.PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
17667 r"""__eq__(PTR_LAYER_CACHE_KEY self, PTR_LAYER_CACHE_KEY other) -> bool"""
17668 return _pcbnew.PTR_LAYER_CACHE_KEY___eq__(self, other)
17671 r"""__init__(PTR_LAYER_CACHE_KEY self) -> PTR_LAYER_CACHE_KEY"""
17672 _pcbnew.PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_LAYER_CACHE_KEY())
17673 __swig_destroy__ = _pcbnew.delete_PTR_LAYER_CACHE_KEY
17676_pcbnew.PTR_LAYER_CACHE_KEY_swigregister(PTR_LAYER_CACHE_KEY)
17679 r"""Proxy of C++ PTR_PTR_LAYER_CACHE_KEY class."""
17681 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17682 __repr__ = _swig_repr
17683 A = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
17684 B = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
17685 Layer = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
17688 r"""__eq__(PTR_PTR_LAYER_CACHE_KEY self, PTR_PTR_LAYER_CACHE_KEY other) -> bool"""
17689 return _pcbnew.PTR_PTR_LAYER_CACHE_KEY___eq__(self, other)
17692 r"""__init__(PTR_PTR_LAYER_CACHE_KEY self) -> PTR_PTR_LAYER_CACHE_KEY"""
17693 _pcbnew.PTR_PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_LAYER_CACHE_KEY())
17694 __swig_destroy__ = _pcbnew.delete_PTR_PTR_LAYER_CACHE_KEY
17697_pcbnew.PTR_PTR_LAYER_CACHE_KEY_swigregister(PTR_PTR_LAYER_CACHE_KEY)
17699LT_UNDEFINED = _pcbnew.LT_UNDEFINED
17701LT_SIGNAL = _pcbnew.LT_SIGNAL
17703LT_POWER = _pcbnew.LT_POWER
17705LT_MIXED = _pcbnew.LT_MIXED
17707LT_JUMPER = _pcbnew.LT_JUMPER
17710 r"""Proxy of C++ LAYER class."""
17712 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17713 __repr__ = _swig_repr
17716 r"""__init__(LAYER self) -> LAYER"""
17717 _pcbnew.LAYER_swiginit(self, _pcbnew.new_LAYER())
17720 r"""clear(LAYER self)"""
17721 return _pcbnew.LAYER_clear(self)
17722 m_name = property(_pcbnew.LAYER_m_name_get, _pcbnew.LAYER_m_name_set, doc=
r"""m_name : wxString""")
17723 m_userName = property(_pcbnew.LAYER_m_userName_get, _pcbnew.LAYER_m_userName_set, doc=
r"""m_userName : wxString""")
17724 m_type = property(_pcbnew.LAYER_m_type_get, _pcbnew.LAYER_m_type_set, doc=
r"""m_type : LAYER_T""")
17725 m_visible = property(_pcbnew.LAYER_m_visible_get, _pcbnew.LAYER_m_visible_set, doc=
r"""m_visible : bool""")
17726 m_number = property(_pcbnew.LAYER_m_number_get, _pcbnew.LAYER_m_number_set, doc=
r"""m_number : int""")
17730 r"""ShowType(LAYER_T aType) -> char const *"""
17731 return _pcbnew.LAYER_ShowType(aType)
17735 r"""ParseType(char const * aType) -> LAYER_T"""
17736 return _pcbnew.LAYER_ParseType(aType)
17737 __swig_destroy__ = _pcbnew.delete_LAYER
17740_pcbnew.LAYER_swigregister(LAYER)
17743 r"""LAYER_ShowType(LAYER_T aType) -> char const *"""
17744 return _pcbnew.LAYER_ShowType(aType)
17747 r"""LAYER_ParseType(char const * aType) -> LAYER_T"""
17748 return _pcbnew.LAYER_ParseType(aType)
17751 r"""Proxy of C++ HIGH_LIGHT_INFO class."""
17753 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17756 raise AttributeError(
"No constructor defined")
17757 __repr__ = _swig_repr
17758 __swig_destroy__ = _pcbnew.delete_HIGH_LIGHT_INFO
17761_pcbnew.HIGH_LIGHT_INFO_swigregister(HIGH_LIGHT_INFO)
17764 r"""Proxy of C++ BOARD_LISTENER class."""
17766 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17767 __repr__ = _swig_repr
17768 __swig_destroy__ = _pcbnew.delete_BOARD_LISTENER
17771 r"""OnBoardItemAdded(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
17772 return _pcbnew.BOARD_LISTENER_OnBoardItemAdded(self, aBoard, aBoardItem)
17775 r"""OnBoardItemsAdded(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
17776 return _pcbnew.BOARD_LISTENER_OnBoardItemsAdded(self, aBoard, aBoardItem)
17779 r"""OnBoardItemRemoved(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
17780 return _pcbnew.BOARD_LISTENER_OnBoardItemRemoved(self, aBoard, aBoardItem)
17783 r"""OnBoardItemsRemoved(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
17784 return _pcbnew.BOARD_LISTENER_OnBoardItemsRemoved(self, aBoard, aBoardItem)
17787 r"""OnBoardNetSettingsChanged(BOARD_LISTENER self, BOARD aBoard)"""
17788 return _pcbnew.BOARD_LISTENER_OnBoardNetSettingsChanged(self, aBoard)
17791 r"""OnBoardItemChanged(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
17792 return _pcbnew.BOARD_LISTENER_OnBoardItemChanged(self, aBoard, aBoardItem)
17795 r"""OnBoardItemsChanged(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
17796 return _pcbnew.BOARD_LISTENER_OnBoardItemsChanged(self, aBoard, aBoardItem)
17799 r"""OnBoardHighlightNetChanged(BOARD_LISTENER self, BOARD aBoard)"""
17800 return _pcbnew.BOARD_LISTENER_OnBoardHighlightNetChanged(self, aBoard)
17803 r"""OnBoardRatsnestChanged(BOARD_LISTENER self, BOARD aBoard)"""
17804 return _pcbnew.BOARD_LISTENER_OnBoardRatsnestChanged(self, aBoard)
17807 r"""__init__(BOARD_LISTENER self) -> BOARD_LISTENER"""
17808 _pcbnew.BOARD_LISTENER_swiginit(self, _pcbnew.new_BOARD_LISTENER())
17811_pcbnew.BOARD_LISTENER_swigregister(BOARD_LISTENER)
17813BOARD_USE_NORMAL = _pcbnew.BOARD_USE_NORMAL
17815BOARD_USE_FPHOLDER = _pcbnew.BOARD_USE_FPHOLDER
17818 r"""Proxy of C++ BOARD class."""
17820 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17823 raise AttributeError(
"No constructor defined")
17824 __repr__ = _swig_repr
17828 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17829 return _pcbnew.BOARD_ClassOf(aItem)
17832 r"""SetBoardUse(BOARD self, BOARD_USE aUse)"""
17833 return _pcbnew.BOARD_SetBoardUse(self, aUse)
17836 r"""GetBoardUse(BOARD self) -> BOARD_USE"""
17837 return _pcbnew.BOARD_GetBoardUse(self)
17840 r"""IncrementTimeStamp(BOARD self)"""
17841 return _pcbnew.BOARD_IncrementTimeStamp(self)
17844 r"""GetTimeStamp(BOARD self) -> int"""
17845 return _pcbnew.BOARD_GetTimeStamp(self)
17848 r"""IsFootprintHolder(BOARD self) -> bool"""
17849 return _pcbnew.BOARD_IsFootprintHolder(self)
17852 r"""SetFileName(BOARD self, wxString aFileName)"""
17853 return _pcbnew.BOARD_SetFileName(self, aFileName)
17856 r"""GetFileName(BOARD self) -> wxString"""
17857 return _pcbnew.BOARD_GetFileName(self)
17861 Tracks(BOARD self) -> TRACKS
17862 Tracks(BOARD self) -> TRACKS
17864 return _pcbnew.BOARD_Tracks(self, *args)
17871 return _pcbnew.BOARD_Footprints(self, *args)
17878 return _pcbnew.BOARD_Drawings(self, *args)
17882 Zones(BOARD self) -> ZONES
17883 Zones(BOARD self) -> ZONES
17885 return _pcbnew.BOARD_Zones(self, *args)
17892 return _pcbnew.BOARD_Generators(self, *args)
17896 Markers(BOARD self) -> MARKERS
17897 Markers(BOARD self) -> MARKERS
17899 return _pcbnew.BOARD_Markers(self, *args)
17902 r"""GetItemSet(BOARD self) -> BOARD_ITEM_SET const"""
17903 return _pcbnew.BOARD_GetItemSet(self)
17907 Groups(BOARD self) -> GROUPS
17908 Groups(BOARD self) -> GROUPS
17910 return _pcbnew.BOARD_Groups(self, *args)
17913 r"""AllConnectedItems(BOARD self) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
17914 return _pcbnew.BOARD_AllConnectedItems(self)
17917 r"""GetProperties(BOARD self) -> MAP_STRING_STRING"""
17918 return _pcbnew.BOARD_GetProperties(self)
17921 r"""SetProperties(BOARD self, MAP_STRING_STRING aProps)"""
17922 return _pcbnew.BOARD_SetProperties(self, aProps)
17925 r"""GetContextualTextVars(BOARD self, wxArrayString * aVars)"""
17926 return _pcbnew.BOARD_GetContextualTextVars(self, aVars)
17929 r"""ResolveTextVar(BOARD self, wxString token, int aDepth) -> bool"""
17930 return _pcbnew.BOARD_ResolveTextVar(self, token, aDepth)
17931 m_LegacyVisibleLayers = property(_pcbnew.BOARD_m_LegacyVisibleLayers_get, _pcbnew.BOARD_m_LegacyVisibleLayers_set, doc=
r"""m_LegacyVisibleLayers : LSET""")
17932 m_LegacyVisibleItems = property(_pcbnew.BOARD_m_LegacyVisibleItems_get, _pcbnew.BOARD_m_LegacyVisibleItems_set, doc=
r"""m_LegacyVisibleItems : GAL_SET""")
17933 m_LegacyDesignSettingsLoaded = property(_pcbnew.BOARD_m_LegacyDesignSettingsLoaded_get, _pcbnew.BOARD_m_LegacyDesignSettingsLoaded_set, doc=
r"""m_LegacyDesignSettingsLoaded : bool""")
17934 m_LegacyCopperEdgeClearanceLoaded = property(_pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_get, _pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_set, doc=
r"""m_LegacyCopperEdgeClearanceLoaded : bool""")
17935 m_LegacyNetclassesLoaded = property(_pcbnew.BOARD_m_LegacyNetclassesLoaded_get, _pcbnew.BOARD_m_LegacyNetclassesLoaded_set, doc=
r"""m_LegacyNetclassesLoaded : bool""")
17936 __swig_destroy__ = _pcbnew.delete_BOARD
17939 r"""IsEmpty(BOARD self) -> bool"""
17940 return _pcbnew.BOARD_IsEmpty(self)
17943 r"""SetFileFormatVersionAtLoad(BOARD self, int aVersion)"""
17944 return _pcbnew.BOARD_SetFileFormatVersionAtLoad(self, aVersion)
17947 r"""GetFileFormatVersionAtLoad(BOARD self) -> int"""
17948 return _pcbnew.BOARD_GetFileFormatVersionAtLoad(self)
17951 r"""SetGenerator(BOARD self, wxString aGenerator)"""
17952 return _pcbnew.BOARD_SetGenerator(self, aGenerator)
17955 r"""GetGenerator(BOARD self) -> wxString"""
17956 return _pcbnew.BOARD_GetGenerator(self)
17959 r"""AddNative(BOARD self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
17960 return _pcbnew.BOARD_AddNative(self, *args)
17963 r"""RemoveNative(BOARD self, BOARD_ITEM aBoardItem, REMOVE_MODE aMode=NORMAL)"""
17964 return _pcbnew.BOARD_RemoveNative(self, *args)
17967 r"""FinalizeBulkAdd(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aNewItems)"""
17968 return _pcbnew.BOARD_FinalizeBulkAdd(self, aNewItems)
17971 r"""FinalizeBulkRemove(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aRemovedItems)"""
17972 return _pcbnew.BOARD_FinalizeBulkRemove(self, aRemovedItems)
17975 r"""CacheTriangulation(BOARD self, PROGRESS_REPORTER * aReporter=None, ZONES aZones={})"""
17976 return _pcbnew.BOARD_CacheTriangulation(self, *args)
17979 r"""GetFirstFootprint(BOARD self) -> FOOTPRINT"""
17980 return _pcbnew.BOARD_GetFirstFootprint(self)
17983 r"""DeleteAllFootprints(BOARD self)"""
17984 return _pcbnew.BOARD_DeleteAllFootprints(self)
17987 r"""GetItem(BOARD self, KIID aID) -> BOARD_ITEM"""
17988 return _pcbnew.BOARD_GetItem(self, aID)
17991 r"""FillItemMap(BOARD self, std::map< KIID,EDA_ITEM *,std::less< KIID >,std::allocator< std::pair< KIID const,EDA_ITEM * > > > & aMap)"""
17992 return _pcbnew.BOARD_FillItemMap(self, aMap)
17995 r"""ConvertCrossReferencesToKIIDs(BOARD self, wxString aSource) -> wxString"""
17996 return _pcbnew.BOARD_ConvertCrossReferencesToKIIDs(self, aSource)
17999 r"""ConvertKIIDsToCrossReferences(BOARD self, wxString aSource) -> wxString"""
18000 return _pcbnew.BOARD_ConvertKIIDsToCrossReferences(self, aSource)
18003 r"""GetConnectivity(BOARD self) -> std::shared_ptr< CONNECTIVITY_DATA >"""
18004 return _pcbnew.BOARD_GetConnectivity(self)
18007 r"""BuildConnectivity(BOARD self, PROGRESS_REPORTER * aReporter=None) -> bool"""
18008 return _pcbnew.BOARD_BuildConnectivity(self, aReporter)
18013 DeleteMARKERs(BOARD self, bool aWarningsAndErrors, bool aExclusions)
18015 return _pcbnew.BOARD_DeleteMARKERs(self, *args)
18018 r"""GetProject(BOARD self) -> PROJECT *"""
18019 return _pcbnew.BOARD_GetProject(self)
18022 r"""SetProject(BOARD self, PROJECT * aProject, bool aReferenceOnly=False)"""
18023 return _pcbnew.BOARD_SetProject(self, aProject, aReferenceOnly)
18026 r"""ClearProject(BOARD self)"""
18027 return _pcbnew.BOARD_ClearProject(self)
18030 r"""ResolveDRCExclusions(BOARD self, bool aCreateMarkers) -> MARKERS"""
18031 return _pcbnew.BOARD_ResolveDRCExclusions(self, aCreateMarkers)
18034 r"""RecordDRCExclusions(BOARD self)"""
18035 return _pcbnew.BOARD_RecordDRCExclusions(self)
18038 r"""UpdateRatsnestExclusions(BOARD self)"""
18039 return _pcbnew.BOARD_UpdateRatsnestExclusions(self)
18042 r"""ResetNetHighLight(BOARD self)"""
18043 return _pcbnew.BOARD_ResetNetHighLight(self)
18046 r"""GetHighLightNetCodes(BOARD self) -> std::set< int,std::less< int >,std::allocator< int > > const &"""
18047 return _pcbnew.BOARD_GetHighLightNetCodes(self)
18050 r"""SetHighLightNet(BOARD self, int aNetCode, bool aMulti=False)"""
18051 return _pcbnew.BOARD_SetHighLightNet(self, aNetCode, aMulti)
18054 r"""IsHighLightNetON(BOARD self) -> bool"""
18055 return _pcbnew.BOARD_IsHighLightNetON(self)
18058 r"""HighLightON(BOARD self, bool aValue=True)"""
18059 return _pcbnew.BOARD_HighLightON(self, aValue)
18062 r"""HighLightOFF(BOARD self)"""
18063 return _pcbnew.BOARD_HighLightOFF(self)
18066 r"""GetCopperLayerCount(BOARD self) -> int"""
18067 return _pcbnew.BOARD_GetCopperLayerCount(self)
18070 r"""SetCopperLayerCount(BOARD self, int aCount)"""
18071 return _pcbnew.BOARD_SetCopperLayerCount(self, aCount)
18074 r"""LayerDepth(BOARD self, PCB_LAYER_ID aStartLayer, PCB_LAYER_ID aEndLayer) -> int"""
18075 return _pcbnew.BOARD_LayerDepth(self, aStartLayer, aEndLayer)
18078 r"""GetEnabledLayers(BOARD self) -> LSET"""
18079 return _pcbnew.BOARD_GetEnabledLayers(self)
18082 r"""SetEnabledLayers(BOARD self, LSET aLayerMask)"""
18083 return _pcbnew.BOARD_SetEnabledLayers(self, aLayerMask)
18086 r"""IsLayerEnabled(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
18087 return _pcbnew.BOARD_IsLayerEnabled(self, aLayer)
18090 r"""IsLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
18091 return _pcbnew.BOARD_IsLayerVisible(self, aLayer)
18094 r"""GetVisibleLayers(BOARD self) -> LSET"""
18095 return _pcbnew.BOARD_GetVisibleLayers(self)
18098 r"""SetVisibleLayers(BOARD self, LSET aLayerMask)"""
18099 return _pcbnew.BOARD_SetVisibleLayers(self, aLayerMask)
18102 r"""GetVisibleElements(BOARD self) -> GAL_SET"""
18103 return _pcbnew.BOARD_GetVisibleElements(self)
18106 r"""SetVisibleElements(BOARD self, GAL_SET aMask)"""
18107 return _pcbnew.BOARD_SetVisibleElements(self, aMask)
18110 r"""SetVisibleAlls(BOARD self)"""
18111 return _pcbnew.BOARD_SetVisibleAlls(self)
18114 r"""IsElementVisible(BOARD self, GAL_LAYER_ID aLayer) -> bool"""
18115 return _pcbnew.BOARD_IsElementVisible(self, aLayer)
18118 r"""SetElementVisibility(BOARD self, GAL_LAYER_ID aLayer, bool aNewState)"""
18119 return _pcbnew.BOARD_SetElementVisibility(self, aLayer, aNewState)
18122 r"""IsFootprintLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
18123 return _pcbnew.BOARD_IsFootprintLayerVisible(self, aLayer)
18126 r"""GetDesignSettings(BOARD self) -> BOARD_DESIGN_SETTINGS"""
18127 return _pcbnew.BOARD_GetDesignSettings(self)
18130 r"""GetTentVias(BOARD self) -> bool"""
18131 return _pcbnew.BOARD_GetTentVias(self)
18134 r"""SetTentVias(BOARD self, bool aFlag)"""
18135 return _pcbnew.BOARD_SetTentVias(self, aFlag)
18138 r"""GetPageSettings(BOARD self) -> PAGE_INFO const &"""
18139 return _pcbnew.BOARD_GetPageSettings(self)
18142 r"""SetPageSettings(BOARD self, PAGE_INFO const & aPageSettings)"""
18143 return _pcbnew.BOARD_SetPageSettings(self, aPageSettings)
18146 r"""GetPlotOptions(BOARD self) -> PCB_PLOT_PARAMS"""
18147 return _pcbnew.BOARD_GetPlotOptions(self)
18150 r"""SetPlotOptions(BOARD self, PCB_PLOT_PARAMS aOptions)"""
18151 return _pcbnew.BOARD_SetPlotOptions(self, aOptions)
18158 return _pcbnew.BOARD_GetTitleBlock(self, *args)
18161 r"""SetTitleBlock(BOARD self, TITLE_BLOCK aTitleBlock)"""
18162 return _pcbnew.BOARD_SetTitleBlock(self, aTitleBlock)
18165 r"""GetUserUnits(BOARD self) -> EDA_UNITS"""
18166 return _pcbnew.BOARD_GetUserUnits(self)
18169 r"""SetUserUnits(BOARD self, EDA_UNITS aUnits)"""
18170 return _pcbnew.BOARD_SetUserUnits(self, aUnits)
18173 r"""UpdateUserUnits(BOARD self, BOARD_ITEM aItem, KIGFX::VIEW * aView)"""
18174 return _pcbnew.BOARD_UpdateUserUnits(self, aItem, aView)
18177 r"""GetBoardPolygonOutlines(BOARD self, SHAPE_POLY_SET aOutlines, OUTLINE_ERROR_HANDLER * aErrorHandler=None, bool aAllowUseArcsInPolygons=False, bool aIncludeNPTHAsOutlines=False) -> bool"""
18178 return _pcbnew.BOARD_GetBoardPolygonOutlines(self, aOutlines, aErrorHandler, aAllowUseArcsInPolygons, aIncludeNPTHAsOutlines)
18181 r"""GetOutlinesChainingEpsilon(BOARD self) -> int"""
18182 return _pcbnew.BOARD_GetOutlinesChainingEpsilon(self)
18185 r"""SetOutlinesChainingEpsilon(BOARD self, int aValue)"""
18186 return _pcbnew.BOARD_SetOutlinesChainingEpsilon(self, aValue)
18189 r"""ConvertBrdLayerToPolygonalContours(BOARD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aOutlines)"""
18190 return _pcbnew.BOARD_ConvertBrdLayerToPolygonalContours(self, aLayer, aOutlines)
18193 r"""GetLayerID(BOARD self, wxString aLayerName) -> PCB_LAYER_ID"""
18194 return _pcbnew.BOARD_GetLayerID(self, aLayerName)
18197 r"""GetLayerName(BOARD self, PCB_LAYER_ID aLayer) -> wxString"""
18198 return _pcbnew.BOARD_GetLayerName(self, aLayer)
18201 r"""SetLayerName(BOARD self, PCB_LAYER_ID aLayer, wxString aLayerName) -> bool"""
18202 return _pcbnew.BOARD_SetLayerName(self, aLayer, aLayerName)
18206 r"""GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
18207 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
18210 r"""SetLayerDescr(BOARD self, PCB_LAYER_ID aIndex, LAYER aLayer) -> bool"""
18211 return _pcbnew.BOARD_SetLayerDescr(self, aIndex, aLayer)
18214 r"""GetLayerType(BOARD self, PCB_LAYER_ID aLayer) -> LAYER_T"""
18215 return _pcbnew.BOARD_GetLayerType(self, aLayer)
18218 r"""SetLayerType(BOARD self, PCB_LAYER_ID aLayer, LAYER_T aLayerType) -> bool"""
18219 return _pcbnew.BOARD_SetLayerType(self, aLayer, aLayerType)
18222 r"""GetNodesCount(BOARD self, int aNet=-1) -> unsigned int"""
18223 return _pcbnew.BOARD_GetNodesCount(self, aNet)
18226 r"""GetPads(BOARD self) -> PADS_VEC"""
18227 return _pcbnew.BOARD_GetPads(self)
18230 r"""BuildListOfNets(BOARD self)"""
18231 return _pcbnew.BOARD_BuildListOfNets(self)
18235 FindNet(BOARD self, int aNetcode) -> NETINFO_ITEM
18236 FindNet(BOARD self, wxString aNetname) -> NETINFO_ITEM
18238 return _pcbnew.BOARD_FindNet(self, *args)
18241 r"""MatchDpSuffix(BOARD self, wxString aNetName, wxString aComplementNet) -> int"""
18242 return _pcbnew.BOARD_MatchDpSuffix(self, aNetName, aComplementNet)
18245 r"""DpCoupledNet(BOARD self, NETINFO_ITEM aNet) -> NETINFO_ITEM"""
18246 return _pcbnew.BOARD_DpCoupledNet(self, aNet)
18249 r"""GetNetInfo(BOARD self) -> NETINFO_LIST"""
18250 return _pcbnew.BOARD_GetNetInfo(self)
18253 r"""RemoveUnusedNets(BOARD self, BOARD_COMMIT * aCommit)"""
18254 return _pcbnew.BOARD_RemoveUnusedNets(self, aCommit)
18257 r"""GetNetCount(BOARD self) -> unsigned int"""
18258 return _pcbnew.BOARD_GetNetCount(self)
18261 r"""ComputeBoundingBox(BOARD self, bool aBoardEdgesOnly=False) -> BOX2I"""
18262 return _pcbnew.BOARD_ComputeBoundingBox(self, aBoardEdgesOnly)
18265 r"""GetBoardEdgesBoundingBox(BOARD self) -> BOX2I"""
18266 return _pcbnew.BOARD_GetBoardEdgesBoundingBox(self)
18269 r"""FindFootprintByReference(BOARD self, wxString aReference) -> FOOTPRINT"""
18270 return _pcbnew.BOARD_FindFootprintByReference(self, aReference)
18273 r"""FindFootprintByPath(BOARD self, KIID_PATH aPath) -> FOOTPRINT"""
18274 return _pcbnew.BOARD_FindFootprintByPath(self, aPath)
18277 r"""GetNetClassAssignmentCandidates(BOARD self) -> STRINGSET"""
18278 return _pcbnew.BOARD_GetNetClassAssignmentCandidates(self)
18281 r"""SynchronizeNetsAndNetClasses(BOARD self, bool aResetTrackAndViaSizes)"""
18282 return _pcbnew.BOARD_SynchronizeNetsAndNetClasses(self, aResetTrackAndViaSizes)
18285 r"""SynchronizeProperties(BOARD self)"""
18286 return _pcbnew.BOARD_SynchronizeProperties(self)
18289 r"""SetAreasNetCodesFromNetNames(BOARD self) -> int"""
18290 return _pcbnew.BOARD_SetAreasNetCodesFromNetNames(self)
18293 r"""GetArea(BOARD self, int index) -> ZONE"""
18294 return _pcbnew.BOARD_GetArea(self, index)
18297 r"""GetZoneList(BOARD self, bool aIncludeZonesInFootprints=False) -> std::list< ZONE *,std::allocator< ZONE * > >"""
18298 return _pcbnew.BOARD_GetZoneList(self, aIncludeZonesInFootprints)
18301 r"""GetAreaCount(BOARD self) -> int"""
18302 return _pcbnew.BOARD_GetAreaCount(self)
18304 def AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch):
18305 r"""AddArea(BOARD self, PICKED_ITEMS_LIST * aNewZonesList, int aNetcode, PCB_LAYER_ID aLayer, VECTOR2I aStartPointPosition, ZONE_BORDER_DISPLAY_STYLE aHatch) -> ZONE"""
18306 return _pcbnew.BOARD_AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch)
18309 r"""TestZoneIntersection(BOARD self, ZONE aZone1, ZONE aZone2) -> bool"""
18310 return _pcbnew.BOARD_TestZoneIntersection(self, aZone1, aZone2)
18313 r"""GetPadFast(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD"""
18314 return _pcbnew.BOARD_GetPadFast(self, aPosition, aLayerMask)
18318 GetPad(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD
18319 GetPad(BOARD self, VECTOR2I aPosition) -> PAD
18320 GetPad(BOARD self, PCB_TRACK aTrace, ENDPOINT_T aEndPoint) -> PAD
18321 GetPad(BOARD self, PADS_VEC aPadList, VECTOR2I aPosition, LSET aLayerMask) -> PAD
18323 return _pcbnew.BOARD_GetPad(self, *args)
18326 r"""GetSortedPadListByXthenYCoord(BOARD self, PADS_VEC aVector, int aNetCode=-1)"""
18327 return _pcbnew.BOARD_GetSortedPadListByXthenYCoord(self, aVector, aNetCode)
18330 r"""GetTrackLength(BOARD self, PCB_TRACK aTrack) -> std::tuple< int,double,double >"""
18331 return _pcbnew.BOARD_GetTrackLength(self, aTrack)
18334 r"""TracksInNet(BOARD self, int aNetCode) -> TRACKS"""
18335 return _pcbnew.BOARD_TracksInNet(self, aNetCode)
18337 def GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked=False):
18338 r"""GetFootprint(BOARD self, VECTOR2I aPosition, PCB_LAYER_ID aActiveLayer, bool aVisibleOnly, bool aIgnoreLocked=False) -> FOOTPRINT"""
18339 return _pcbnew.BOARD_GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked)
18342 r"""GetMaxClearanceValue(BOARD self) -> int"""
18343 return _pcbnew.BOARD_GetMaxClearanceValue(self)
18346 r"""MapNets(BOARD self, BOARD aDestBoard)"""
18347 return _pcbnew.BOARD_MapNets(self, aDestBoard)
18350 r"""SanitizeNetcodes(BOARD self)"""
18351 return _pcbnew.BOARD_SanitizeNetcodes(self)
18354 r"""AddListener(BOARD self, BOARD_LISTENER aListener)"""
18355 return _pcbnew.BOARD_AddListener(self, aListener)
18358 r"""RemoveListener(BOARD self, BOARD_LISTENER aListener)"""
18359 return _pcbnew.BOARD_RemoveListener(self, aListener)
18362 r"""RemoveAllListeners(BOARD self)"""
18363 return _pcbnew.BOARD_RemoveAllListeners(self)
18366 r"""OnItemChanged(BOARD self, BOARD_ITEM aItem)"""
18367 return _pcbnew.BOARD_OnItemChanged(self, aItem)
18370 r"""OnItemsChanged(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aItems)"""
18371 return _pcbnew.BOARD_OnItemsChanged(self, aItems)
18374 r"""OnRatsnestChanged(BOARD self)"""
18375 return _pcbnew.BOARD_OnRatsnestChanged(self)
18378 r"""GroupsSanityCheck(BOARD self, bool repair=False) -> wxString"""
18379 return _pcbnew.BOARD_GroupsSanityCheck(self, repair)
18382 r"""GroupsSanityCheckInternal(BOARD self, bool repair) -> wxString"""
18383 return _pcbnew.BOARD_GroupsSanityCheckInternal(self, repair)
18386 r"""GroupLegalOps(BOARD self, PCB_SELECTION const & selection) -> BOARD::GroupLegalOpsField"""
18387 return _pcbnew.BOARD_GroupLegalOps(self, selection)
18390 r"""LegacyTeardrops(BOARD self) -> bool"""
18391 return _pcbnew.BOARD_LegacyTeardrops(self)
18394 r"""SetLegacyTeardrops(BOARD self, bool aFlag)"""
18395 return _pcbnew.BOARD_SetLegacyTeardrops(self, aFlag)
18396 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)>""")
18397 m_maxClearanceValue = property(_pcbnew.BOARD_m_maxClearanceValue_get, _pcbnew.BOARD_m_maxClearanceValue_set, doc=
r"""m_maxClearanceValue : std::optional<(int)>""")
18398 m_SolderMaskBridges = property(_pcbnew.BOARD_m_SolderMaskBridges_get, _pcbnew.BOARD_m_SolderMaskBridges_set, doc=
r"""m_SolderMaskBridges : p.ZONE""")
18399 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)>)>)>)>)>)>""")
18405 self.
this.append(this)
18432 Return a dictionary like object with key:wxString netname
and value:NETINFO_ITEM
18438 Return a dictionary like object with key:int netcode
and value:NETINFO_ITEM
18444 Given a netname, return its netcode
18447 return net.GetNetCode()
18451 Return a dictionary like object with net_class_name
as key
and NETCLASSPTR
as value
18452 GetNetClasses(BOARD self) -> { wxString net_class_name : NETCLASSPTR }
18453 Include the
"Default" netclass also.
18459 netclassmap[
'Default'] = self.
GetDesignSettings().m_NetSettings.m_DefaultNetClass
18464_pcbnew.BOARD_swigregister(BOARD)
18467 r"""BOARD_ClassOf(EDA_ITEM aItem) -> bool"""
18468 return _pcbnew.BOARD_ClassOf(aItem)
18471 r"""BOARD_GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
18472 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
18475 r"""Proxy of C++ std::map< wxString,wxString > class."""
18477 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18478 __repr__ = _swig_repr
18481 r"""iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
18482 return _pcbnew.MAP_STRING_STRING_iterator(self)
18487 r"""__nonzero__(MAP_STRING_STRING self) -> bool"""
18488 return _pcbnew.MAP_STRING_STRING___nonzero__(self)
18491 r"""__bool__(MAP_STRING_STRING self) -> bool"""
18492 return _pcbnew.MAP_STRING_STRING___bool__(self)
18495 r"""__len__(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
18496 return _pcbnew.MAP_STRING_STRING___len__(self)
18507 r"""__getitem__(MAP_STRING_STRING self, wxString key) -> wxString"""
18508 return _pcbnew.MAP_STRING_STRING___getitem__(self, key)
18511 r"""__delitem__(MAP_STRING_STRING self, wxString key)"""
18512 return _pcbnew.MAP_STRING_STRING___delitem__(self, key)
18515 r"""has_key(MAP_STRING_STRING self, wxString key) -> bool"""
18516 return _pcbnew.MAP_STRING_STRING_has_key(self, key)
18519 r"""keys(MAP_STRING_STRING self) -> PyObject *"""
18520 return _pcbnew.MAP_STRING_STRING_keys(self)
18523 r"""values(MAP_STRING_STRING self) -> PyObject *"""
18524 return _pcbnew.MAP_STRING_STRING_values(self)
18527 r"""items(MAP_STRING_STRING self) -> PyObject *"""
18528 return _pcbnew.MAP_STRING_STRING_items(self)
18531 r"""__contains__(MAP_STRING_STRING self, wxString key) -> bool"""
18532 return _pcbnew.MAP_STRING_STRING___contains__(self, key)
18535 r"""key_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
18536 return _pcbnew.MAP_STRING_STRING_key_iterator(self)
18539 r"""value_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
18540 return _pcbnew.MAP_STRING_STRING_value_iterator(self)
18544 __setitem__(MAP_STRING_STRING self, wxString key)
18545 __setitem__(MAP_STRING_STRING self, wxString key, wxString x)
18547 return _pcbnew.MAP_STRING_STRING___setitem__(self, *args)
18550 r"""asdict(MAP_STRING_STRING self) -> PyObject *"""
18551 return _pcbnew.MAP_STRING_STRING_asdict(self)
18555 __init__(MAP_STRING_STRING self, std::less< wxString > const & other) -> MAP_STRING_STRING
18556 __init__(MAP_STRING_STRING self) -> MAP_STRING_STRING
18557 __init__(MAP_STRING_STRING self, MAP_STRING_STRING other) -> MAP_STRING_STRING
18559 _pcbnew.MAP_STRING_STRING_swiginit(self, _pcbnew.new_MAP_STRING_STRING(*args))
18562 r"""empty(MAP_STRING_STRING self) -> bool"""
18563 return _pcbnew.MAP_STRING_STRING_empty(self)
18566 r"""size(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
18567 return _pcbnew.MAP_STRING_STRING_size(self)
18570 r"""swap(MAP_STRING_STRING self, MAP_STRING_STRING v)"""
18571 return _pcbnew.MAP_STRING_STRING_swap(self, v)
18574 r"""begin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
18575 return _pcbnew.MAP_STRING_STRING_begin(self)
18578 r"""end(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
18579 return _pcbnew.MAP_STRING_STRING_end(self)
18582 r"""rbegin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
18583 return _pcbnew.MAP_STRING_STRING_rbegin(self)
18586 r"""rend(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
18587 return _pcbnew.MAP_STRING_STRING_rend(self)
18590 r"""clear(MAP_STRING_STRING self)"""
18591 return _pcbnew.MAP_STRING_STRING_clear(self)
18594 r"""get_allocator(MAP_STRING_STRING self) -> std::map< wxString,wxString >::allocator_type"""
18595 return _pcbnew.MAP_STRING_STRING_get_allocator(self)
18598 r"""count(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type"""
18599 return _pcbnew.MAP_STRING_STRING_count(self, x)
18603 erase(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type
18604 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator position)
18605 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator first, std::map< wxString,wxString >::iterator last)
18607 return _pcbnew.MAP_STRING_STRING_erase(self, *args)
18610 r"""find(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
18611 return _pcbnew.MAP_STRING_STRING_find(self, x)
18614 r"""lower_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
18615 return _pcbnew.MAP_STRING_STRING_lower_bound(self, x)
18618 r"""upper_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
18619 return _pcbnew.MAP_STRING_STRING_upper_bound(self, x)
18620 __swig_destroy__ = _pcbnew.delete_MAP_STRING_STRING
18623_pcbnew.MAP_STRING_STRING_swigregister(MAP_STRING_STRING)
18625DO_NOT_INCLUDE_NPTH = _pcbnew.DO_NOT_INCLUDE_NPTH
18627INCLUDE_NPTH = _pcbnew.INCLUDE_NPTH
18629FP_THROUGH_HOLE = _pcbnew.FP_THROUGH_HOLE
18631FP_SMD = _pcbnew.FP_SMD
18633FP_EXCLUDE_FROM_POS_FILES = _pcbnew.FP_EXCLUDE_FROM_POS_FILES
18635FP_EXCLUDE_FROM_BOM = _pcbnew.FP_EXCLUDE_FROM_BOM
18637FP_BOARD_ONLY = _pcbnew.FP_BOARD_ONLY
18639FP_JUST_ADDED = _pcbnew.FP_JUST_ADDED
18641FP_ALLOW_SOLDERMASK_BRIDGES = _pcbnew.FP_ALLOW_SOLDERMASK_BRIDGES
18643FP_ALLOW_MISSING_COURTYARD = _pcbnew.FP_ALLOW_MISSING_COURTYARD
18645FP_DNP = _pcbnew.FP_DNP
18648 r"""Proxy of C++ FP_3DMODEL class."""
18650 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18651 __repr__ = _swig_repr
18654 r"""__init__(FP_3DMODEL self) -> FP_3DMODEL"""
18655 _pcbnew.FP_3DMODEL_swiginit(self, _pcbnew.new_FP_3DMODEL())
18656 m_Scale = property(_pcbnew.FP_3DMODEL_m_Scale_get, _pcbnew.FP_3DMODEL_m_Scale_set, doc=
r"""m_Scale : VECTOR3D""")
18657 m_Rotation = property(_pcbnew.FP_3DMODEL_m_Rotation_get, _pcbnew.FP_3DMODEL_m_Rotation_set, doc=
r"""m_Rotation : VECTOR3D""")
18658 m_Offset = property(_pcbnew.FP_3DMODEL_m_Offset_get, _pcbnew.FP_3DMODEL_m_Offset_set, doc=
r"""m_Offset : VECTOR3D""")
18659 m_Opacity = property(_pcbnew.FP_3DMODEL_m_Opacity_get, _pcbnew.FP_3DMODEL_m_Opacity_set, doc=
r"""m_Opacity : double""")
18660 m_Filename = property(_pcbnew.FP_3DMODEL_m_Filename_get, _pcbnew.FP_3DMODEL_m_Filename_set, doc=
r"""m_Filename : wxString""")
18661 m_Show = property(_pcbnew.FP_3DMODEL_m_Show_get, _pcbnew.FP_3DMODEL_m_Show_set, doc=
r"""m_Show : bool""")
18664 r"""__eq__(FP_3DMODEL self, FP_3DMODEL aOther) -> bool"""
18665 return _pcbnew.FP_3DMODEL___eq__(self, aOther)
18666 __swig_destroy__ = _pcbnew.delete_FP_3DMODEL
18669_pcbnew.FP_3DMODEL_swigregister(FP_3DMODEL)
18672 r"""Proxy of C++ FOOTPRINT class."""
18674 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18675 __repr__ = _swig_repr
18679 __init__(FOOTPRINT self, BOARD parent) -> FOOTPRINT
18680 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
18681 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
18683 _pcbnew.FOOTPRINT_swiginit(self, _pcbnew.new_FOOTPRINT(*args))
18684 __swig_destroy__ = _pcbnew.delete_FOOTPRINT
18688 r"""ClassOf(EDA_ITEM aItem) -> bool"""
18689 return _pcbnew.FOOTPRINT_ClassOf(aItem)
18692 r"""GetPrivateLayers(FOOTPRINT self) -> LSET"""
18693 return _pcbnew.FOOTPRINT_GetPrivateLayers(self)
18696 r"""SetPrivateLayers(FOOTPRINT self, LSET aLayers)"""
18697 return _pcbnew.FOOTPRINT_SetPrivateLayers(self, aLayers)
18700 r"""AddNative(FOOTPRINT self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
18701 return _pcbnew.FOOTPRINT_AddNative(self, *args)
18704 r"""RemoveNative(FOOTPRINT self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
18705 return _pcbnew.FOOTPRINT_RemoveNative(self, *args)
18708 r"""ClearAllNets(FOOTPRINT self)"""
18709 return _pcbnew.FOOTPRINT_ClearAllNets(self)
18712 r"""FixUuids(FOOTPRINT self) -> bool"""
18713 return _pcbnew.FOOTPRINT_FixUuids(self)
18716 r"""GetFpPadsLocalBbox(FOOTPRINT self) -> BOX2I"""
18717 return _pcbnew.FOOTPRINT_GetFpPadsLocalBbox(self)
18720 r"""GetBoundingHull(FOOTPRINT self) -> SHAPE_POLY_SET"""
18721 return _pcbnew.FOOTPRINT_GetBoundingHull(self)
18726 GetBoundingBox(FOOTPRINT self, bool aIncludeText, bool aIncludeInvisibleText) -> BOX2I
18728 return _pcbnew.FOOTPRINT_GetBoundingBox(self, *args)
18731 r"""GetLayerBoundingBox(FOOTPRINT self, LSET aLayers) -> BOX2I"""
18732 return _pcbnew.FOOTPRINT_GetLayerBoundingBox(self, aLayers)
18736 Fields(FOOTPRINT self) -> PCB_FIELDS
18737 Fields(FOOTPRINT self) -> PCB_FIELDS
18739 return _pcbnew.FOOTPRINT_Fields(self, *args)
18743 Pads(FOOTPRINT self) -> PADS
18744 Pads(FOOTPRINT self) -> PADS
18746 return _pcbnew.FOOTPRINT_Pads(self, *args)
18753 return _pcbnew.FOOTPRINT_GraphicalItems(self, *args)
18757 Zones(FOOTPRINT self) -> ZONES
18758 Zones(FOOTPRINT self) -> ZONES
18760 return _pcbnew.FOOTPRINT_Zones(self, *args)
18764 Groups(FOOTPRINT self) -> GROUPS
18765 Groups(FOOTPRINT self) -> GROUPS
18767 return _pcbnew.FOOTPRINT_Groups(self, *args)
18770 r"""HasThroughHolePads(FOOTPRINT self) -> bool"""
18771 return _pcbnew.FOOTPRINT_HasThroughHolePads(self)
18775 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
18776 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
18778 return _pcbnew.FOOTPRINT_Models(self, *args)
18781 r"""SetOrientation(FOOTPRINT self, EDA_ANGLE aNewAngle)"""
18782 return _pcbnew.FOOTPRINT_SetOrientation(self, aNewAngle)
18785 r"""GetOrientation(FOOTPRINT self) -> EDA_ANGLE"""
18786 return _pcbnew.FOOTPRINT_GetOrientation(self)
18789 r"""SetLayerAndFlip(FOOTPRINT self, PCB_LAYER_ID aLayer)"""
18790 return _pcbnew.FOOTPRINT_SetLayerAndFlip(self, aLayer)
18793 r"""SetOrientationDegrees(FOOTPRINT self, double aOrientation)"""
18794 return _pcbnew.FOOTPRINT_SetOrientationDegrees(self, aOrientation)
18797 r"""GetOrientationDegrees(FOOTPRINT self) -> double"""
18798 return _pcbnew.FOOTPRINT_GetOrientationDegrees(self)
18801 r"""GetFPID(FOOTPRINT self) -> LIB_ID"""
18802 return _pcbnew.FOOTPRINT_GetFPID(self)
18805 r"""SetFPID(FOOTPRINT self, LIB_ID aFPID)"""
18806 return _pcbnew.FOOTPRINT_SetFPID(self, aFPID)
18809 r"""GetFPIDAsString(FOOTPRINT self) -> wxString"""
18810 return _pcbnew.FOOTPRINT_GetFPIDAsString(self)
18813 r"""SetFPIDAsString(FOOTPRINT self, wxString aFPID)"""
18814 return _pcbnew.FOOTPRINT_SetFPIDAsString(self, aFPID)
18817 r"""GetLibDescription(FOOTPRINT self) -> wxString"""
18818 return _pcbnew.FOOTPRINT_GetLibDescription(self)
18821 r"""SetLibDescription(FOOTPRINT self, wxString aDesc)"""
18822 return _pcbnew.FOOTPRINT_SetLibDescription(self, aDesc)
18825 r"""GetKeywords(FOOTPRINT self) -> wxString"""
18826 return _pcbnew.FOOTPRINT_GetKeywords(self)
18829 r"""SetKeywords(FOOTPRINT self, wxString aKeywords)"""
18830 return _pcbnew.FOOTPRINT_SetKeywords(self, aKeywords)
18833 r"""GetPath(FOOTPRINT self) -> KIID_PATH"""
18834 return _pcbnew.FOOTPRINT_GetPath(self)
18837 r"""SetPath(FOOTPRINT self, KIID_PATH aPath)"""
18838 return _pcbnew.FOOTPRINT_SetPath(self, aPath)
18841 r"""GetSheetname(FOOTPRINT self) -> wxString"""
18842 return _pcbnew.FOOTPRINT_GetSheetname(self)
18845 r"""SetSheetname(FOOTPRINT self, wxString aSheetname)"""
18846 return _pcbnew.FOOTPRINT_SetSheetname(self, aSheetname)
18849 r"""GetSheetfile(FOOTPRINT self) -> wxString"""
18850 return _pcbnew.FOOTPRINT_GetSheetfile(self)
18853 r"""SetSheetfile(FOOTPRINT self, wxString aSheetfile)"""
18854 return _pcbnew.FOOTPRINT_SetSheetfile(self, aSheetfile)
18857 r"""GetFilters(FOOTPRINT self) -> wxString"""
18858 return _pcbnew.FOOTPRINT_GetFilters(self)
18861 r"""SetFilters(FOOTPRINT self, wxString aFilters)"""
18862 return _pcbnew.FOOTPRINT_SetFilters(self, aFilters)
18865 r"""GetLocalSolderMaskMargin(FOOTPRINT self) -> int"""
18866 return _pcbnew.FOOTPRINT_GetLocalSolderMaskMargin(self)
18869 r"""SetLocalSolderMaskMargin(FOOTPRINT self, int aMargin)"""
18870 return _pcbnew.FOOTPRINT_SetLocalSolderMaskMargin(self, aMargin)
18873 r"""SetLocalClearance(FOOTPRINT self, int aClearance)"""
18874 return _pcbnew.FOOTPRINT_SetLocalClearance(self, aClearance)
18881 return _pcbnew.FOOTPRINT_GetLocalClearance(self, *args)
18884 r"""GetLocalSolderPasteMargin(FOOTPRINT self) -> int"""
18885 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMargin(self)
18888 r"""SetLocalSolderPasteMargin(FOOTPRINT self, int aMargin)"""
18889 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMargin(self, aMargin)
18892 r"""GetLocalSolderPasteMarginRatio(FOOTPRINT self) -> double"""
18893 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMarginRatio(self)
18896 r"""SetLocalSolderPasteMarginRatio(FOOTPRINT self, double aRatio)"""
18897 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMarginRatio(self, aRatio)
18900 r"""SetZoneConnection(FOOTPRINT self, ZONE_CONNECTION aType)"""
18901 return _pcbnew.FOOTPRINT_SetZoneConnection(self, aType)
18904 r"""GetZoneConnection(FOOTPRINT self) -> ZONE_CONNECTION"""
18905 return _pcbnew.FOOTPRINT_GetZoneConnection(self)
18908 r"""GetAttributes(FOOTPRINT self) -> int"""
18909 return _pcbnew.FOOTPRINT_GetAttributes(self)
18912 r"""SetAttributes(FOOTPRINT self, int aAttributes)"""
18913 return _pcbnew.FOOTPRINT_SetAttributes(self, aAttributes)
18916 r"""SetFlag(FOOTPRINT self, int aFlag)"""
18917 return _pcbnew.FOOTPRINT_SetFlag(self, aFlag)
18920 r"""IncrementFlag(FOOTPRINT self)"""
18921 return _pcbnew.FOOTPRINT_IncrementFlag(self)
18924 r"""GetFlag(FOOTPRINT self) -> int"""
18925 return _pcbnew.FOOTPRINT_GetFlag(self)
18928 r"""IsNetTie(FOOTPRINT self) -> bool"""
18929 return _pcbnew.FOOTPRINT_IsNetTie(self)
18932 r"""GetNetTiePadGroups(FOOTPRINT self) -> std::vector< wxString,std::allocator< wxString > > const &"""
18933 return _pcbnew.FOOTPRINT_GetNetTiePadGroups(self)
18936 r"""ClearNetTiePadGroups(FOOTPRINT self)"""
18937 return _pcbnew.FOOTPRINT_ClearNetTiePadGroups(self)
18940 r"""AddNetTiePadGroup(FOOTPRINT self, wxString aGroup)"""
18941 return _pcbnew.FOOTPRINT_AddNetTiePadGroup(self, aGroup)
18944 r"""MapPadNumbersToNetTieGroups(FOOTPRINT self) -> std::map< wxString,int,std::less< wxString >,std::allocator< std::pair< wxString const,int > > >"""
18945 return _pcbnew.FOOTPRINT_MapPadNumbersToNetTieGroups(self)
18948 r"""GetNetTiePads(FOOTPRINT self, PAD aPad) -> PADS_VEC"""
18949 return _pcbnew.FOOTPRINT_GetNetTiePads(self, aPad)
18952 r"""GetLikelyAttribute(FOOTPRINT self) -> int"""
18953 return _pcbnew.FOOTPRINT_GetLikelyAttribute(self)
18956 r"""MoveAnchorPosition(FOOTPRINT self, VECTOR2I aMoveVector)"""
18957 return _pcbnew.FOOTPRINT_MoveAnchorPosition(self, aMoveVector)
18960 r"""IsFlipped(FOOTPRINT self) -> bool"""
18961 return _pcbnew.FOOTPRINT_IsFlipped(self)
18964 r"""GetSide(FOOTPRINT self) -> PCB_LAYER_ID"""
18965 return _pcbnew.FOOTPRINT_GetSide(self)
18968 r"""IsConflicting(FOOTPRINT self) -> bool"""
18969 return _pcbnew.FOOTPRINT_IsConflicting(self)
18972 r"""IsPlaced(FOOTPRINT self) -> bool"""
18973 return _pcbnew.FOOTPRINT_IsPlaced(self)
18976 r"""SetIsPlaced(FOOTPRINT self, bool isPlaced)"""
18977 return _pcbnew.FOOTPRINT_SetIsPlaced(self, isPlaced)
18980 r"""NeedsPlaced(FOOTPRINT self) -> bool"""
18981 return _pcbnew.FOOTPRINT_NeedsPlaced(self)
18984 r"""SetNeedsPlaced(FOOTPRINT self, bool needsPlaced)"""
18985 return _pcbnew.FOOTPRINT_SetNeedsPlaced(self, needsPlaced)
18988 r"""LegacyPadsLocked(FOOTPRINT self) -> bool"""
18989 return _pcbnew.FOOTPRINT_LegacyPadsLocked(self)
18992 r"""CheckFootprintAttributes(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
18993 return _pcbnew.FOOTPRINT_CheckFootprintAttributes(self, aErrorHandler)
18996 r"""CheckPads(FOOTPRINT self, UNITS_PROVIDER aUnitsProvider, std::function< void (PAD const *,int,wxString const &) > const & aErrorHandler)"""
18997 return _pcbnew.FOOTPRINT_CheckPads(self, aUnitsProvider, aErrorHandler)
19000 r"""CheckShortingPads(FOOTPRINT self, std::function< void (PAD const *,PAD const *,VECTOR2I const &) > const & aErrorHandler)"""
19001 return _pcbnew.FOOTPRINT_CheckShortingPads(self, aErrorHandler)
19004 r"""CheckNetTies(FOOTPRINT self, std::function< void (BOARD_ITEM const *,BOARD_ITEM const *,BOARD_ITEM const *,VECTOR2I const &) > const & aErrorHandler)"""
19005 return _pcbnew.FOOTPRINT_CheckNetTies(self, aErrorHandler)
19008 r"""CheckNetTiePadGroups(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
19009 return _pcbnew.FOOTPRINT_CheckNetTiePadGroups(self, aErrorHandler)
19011 def TransformPadsToPolySet(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper=False, aSkipPlatedPads=False, aSkipNonPlatedPads=False):
19012 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)"""
19013 return _pcbnew.FOOTPRINT_TransformPadsToPolySet(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper, aSkipPlatedPads, aSkipNonPlatedPads)
19015 def TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText=True, aIncludeShapes=True, aIncludePrivateItems=False):
19016 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)"""
19017 return _pcbnew.FOOTPRINT_TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText, aIncludeShapes, aIncludePrivateItems)
19020 r"""TransformFPTextToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
19021 return _pcbnew.FOOTPRINT_TransformFPTextToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc)
19024 r"""GetContextualTextVars(FOOTPRINT self, wxArrayString * aVars)"""
19025 return _pcbnew.FOOTPRINT_GetContextualTextVars(self, aVars)
19028 r"""ResolveTextVar(FOOTPRINT self, wxString token, int aDepth=0) -> bool"""
19029 return _pcbnew.FOOTPRINT_ResolveTextVar(self, token, aDepth)
19032 r"""HitTestAccurate(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool"""
19033 return _pcbnew.FOOTPRINT_HitTestAccurate(self, aPosition, aAccuracy)
19037 HitTest(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool
19038 HitTest(FOOTPRINT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
19040 return _pcbnew.FOOTPRINT_HitTest(self, *args)
19044 HitTestOnLayer(FOOTPRINT self, VECTOR2I aPosition, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
19045 HitTestOnLayer(FOOTPRINT self, BOX2I aRect, bool aContained, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
19047 return _pcbnew.FOOTPRINT_HitTestOnLayer(self, *args)
19050 r"""GetReference(FOOTPRINT self) -> wxString"""
19051 return _pcbnew.FOOTPRINT_GetReference(self)
19054 r"""SetReference(FOOTPRINT self, wxString aReference)"""
19055 return _pcbnew.FOOTPRINT_SetReference(self, aReference)
19058 r"""GetReferenceAsString(FOOTPRINT self) -> wxString"""
19059 return _pcbnew.FOOTPRINT_GetReferenceAsString(self)
19062 r"""IncrementReference(FOOTPRINT self, int aDelta)"""
19063 return _pcbnew.FOOTPRINT_IncrementReference(self, aDelta)
19066 r"""GetValue(FOOTPRINT self) -> wxString"""
19067 return _pcbnew.FOOTPRINT_GetValue(self)
19070 r"""SetValue(FOOTPRINT self, wxString aValue)"""
19071 return _pcbnew.FOOTPRINT_SetValue(self, aValue)
19074 r"""GetValueAsString(FOOTPRINT self) -> wxString"""
19075 return _pcbnew.FOOTPRINT_GetValueAsString(self)
19079 Value(FOOTPRINT self) -> PCB_FIELD
19080 Value(FOOTPRINT self) -> PCB_FIELD
19082 return _pcbnew.FOOTPRINT_Value(self, *args)
19089 return _pcbnew.FOOTPRINT_Reference(self, *args)
19096 return _pcbnew.FOOTPRINT_Footprint(self, *args)
19100 GetField(FOOTPRINT self, MANDATORY_FIELD_T aFieldType) -> PCB_FIELD
19101 GetField(FOOTPRINT self, MANDATORY_FIELD_T aFieldNdx) -> PCB_FIELD
19103 return _pcbnew.FOOTPRINT_GetField(self, *args)
19106 r"""GetFieldById(FOOTPRINT self, int aFieldId) -> PCB_FIELD"""
19107 return _pcbnew.FOOTPRINT_GetFieldById(self, aFieldId)
19110 r"""GetFieldByName(FOOTPRINT self, wxString aFieldName) -> PCB_FIELD"""
19111 return _pcbnew.FOOTPRINT_GetFieldByName(self, aFieldName)
19114 r"""HasFieldByName(FOOTPRINT self, wxString aFieldName) -> bool"""
19115 return _pcbnew.FOOTPRINT_HasFieldByName(self, aFieldName)
19118 r"""GetFieldText(FOOTPRINT self, wxString aFieldName) -> wxString"""
19119 return _pcbnew.FOOTPRINT_GetFieldText(self, aFieldName)
19123 GetFields(FOOTPRINT self, std::vector< PCB_FIELD *,std::allocator< PCB_FIELD * > > & aVector, bool aVisibleOnly)
19124 GetFields(FOOTPRINT self) -> PCB_FIELDS
19125 GetFields(FOOTPRINT self) -> PCB_FIELDS
19127 return _pcbnew.FOOTPRINT_GetFields(self, *args)
19130 r"""AddField(FOOTPRINT self, PCB_FIELD aField) -> PCB_FIELD"""
19131 return _pcbnew.FOOTPRINT_AddField(self, aField)
19134 r"""RemoveField(FOOTPRINT self, wxString aFieldName)"""
19135 return _pcbnew.FOOTPRINT_RemoveField(self, aFieldName)
19138 r"""GetFieldCount(FOOTPRINT self) -> int"""
19139 return _pcbnew.FOOTPRINT_GetFieldCount(self)
19142 r"""ApplyDefaultSettings(FOOTPRINT self, BOARD board, bool aStyleFields, bool aStyleText, bool aStyleShapes)"""
19143 return _pcbnew.FOOTPRINT_ApplyDefaultSettings(self, board, aStyleFields, aStyleText, aStyleShapes)
19146 r"""IsBoardOnly(FOOTPRINT self) -> bool"""
19147 return _pcbnew.FOOTPRINT_IsBoardOnly(self)
19150 r"""SetBoardOnly(FOOTPRINT self, bool aIsBoardOnly=True)"""
19151 return _pcbnew.FOOTPRINT_SetBoardOnly(self, aIsBoardOnly)
19154 r"""IsExcludedFromPosFiles(FOOTPRINT self) -> bool"""
19155 return _pcbnew.FOOTPRINT_IsExcludedFromPosFiles(self)
19158 r"""SetExcludedFromPosFiles(FOOTPRINT self, bool aExclude=True)"""
19159 return _pcbnew.FOOTPRINT_SetExcludedFromPosFiles(self, aExclude)
19162 r"""IsExcludedFromBOM(FOOTPRINT self) -> bool"""
19163 return _pcbnew.FOOTPRINT_IsExcludedFromBOM(self)
19166 r"""SetExcludedFromBOM(FOOTPRINT self, bool aExclude=True)"""
19167 return _pcbnew.FOOTPRINT_SetExcludedFromBOM(self, aExclude)
19170 r"""AllowMissingCourtyard(FOOTPRINT self) -> bool"""
19171 return _pcbnew.FOOTPRINT_AllowMissingCourtyard(self)
19174 r"""SetAllowMissingCourtyard(FOOTPRINT self, bool aAllow=True)"""
19175 return _pcbnew.FOOTPRINT_SetAllowMissingCourtyard(self, aAllow)
19178 r"""IsDNP(FOOTPRINT self) -> bool"""
19179 return _pcbnew.FOOTPRINT_IsDNP(self)
19182 r"""SetDNP(FOOTPRINT self, bool aDNP=True)"""
19183 return _pcbnew.FOOTPRINT_SetDNP(self, aDNP)
19186 r"""SetFileFormatVersionAtLoad(FOOTPRINT self, int aVersion)"""
19187 return _pcbnew.FOOTPRINT_SetFileFormatVersionAtLoad(self, aVersion)
19190 r"""GetFileFormatVersionAtLoad(FOOTPRINT self) -> int"""
19191 return _pcbnew.FOOTPRINT_GetFileFormatVersionAtLoad(self)
19194 r"""FindPadByNumber(FOOTPRINT self, wxString aPadNumber, PAD aSearchAfterMe=None) -> PAD"""
19195 return _pcbnew.FOOTPRINT_FindPadByNumber(self, aPadNumber, aSearchAfterMe)
19198 r"""GetPad(FOOTPRINT self, VECTOR2I aPosition, LSET aLayerMask=LSET::AllLayersMask()) -> PAD"""
19199 return _pcbnew.FOOTPRINT_GetPad(self, *args)
19202 r"""GetPads(FOOTPRINT self, wxString aPadNumber, PAD aIgnore=None) -> std::vector< PAD const *,std::allocator< PAD const * > >"""
19203 return _pcbnew.FOOTPRINT_GetPads(self, aPadNumber, aIgnore)
19206 r"""GetPadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
19207 return _pcbnew.FOOTPRINT_GetPadCount(self, *args)
19210 r"""GetUniquePadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
19211 return _pcbnew.FOOTPRINT_GetUniquePadCount(self, *args)
19214 r"""GetUniquePadNumbers(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> STRINGSET"""
19215 return _pcbnew.FOOTPRINT_GetUniquePadNumbers(self, *args)
19218 r"""GetNextPadNumber(FOOTPRINT self, wxString aLastPadName) -> wxString"""
19219 return _pcbnew.FOOTPRINT_GetNextPadNumber(self, aLastPadName)
19222 r"""AutoPositionFields(FOOTPRINT self)"""
19223 return _pcbnew.FOOTPRINT_AutoPositionFields(self)
19226 r"""GetTypeName(FOOTPRINT self) -> wxString"""
19227 return _pcbnew.FOOTPRINT_GetTypeName(self)
19230 r"""GetArea(FOOTPRINT self, int aPadding=0) -> double"""
19231 return _pcbnew.FOOTPRINT_GetArea(self, aPadding)
19234 r"""GetLink(FOOTPRINT self) -> KIID"""
19235 return _pcbnew.FOOTPRINT_GetLink(self)
19238 r"""SetLink(FOOTPRINT self, KIID aLink)"""
19239 return _pcbnew.FOOTPRINT_SetLink(self, aLink)
19242 r"""DuplicateItem(FOOTPRINT self, BOARD_ITEM aItem, bool aAddToFootprint=False) -> BOARD_ITEM"""
19243 return _pcbnew.FOOTPRINT_DuplicateItem(self, aItem, aAddToFootprint)
19246 r"""Add3DModel(FOOTPRINT self, FP_3DMODEL a3DModel)"""
19247 return _pcbnew.FOOTPRINT_Add3DModel(self, a3DModel)
19250 r"""RunOnDescendants(FOOTPRINT self, std::function< void (BOARD_ITEM *) > const & aFunction, int aDepth=0)"""
19251 return _pcbnew.FOOTPRINT_RunOnDescendants(self, aFunction, aDepth)
19254 r"""ViewGetLOD(FOOTPRINT self, int aLayer, KIGFX::VIEW * aView) -> double"""
19255 return _pcbnew.FOOTPRINT_ViewGetLOD(self, aLayer, aView)
19259 r"""IsLibNameValid(wxString aName) -> bool"""
19260 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
19264 r"""StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
19265 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
19268 r"""FootprintNeedsUpdate(FOOTPRINT self, FOOTPRINT aLibFP, int aCompareFlags=0, REPORTER * aReporter=None) -> bool"""
19269 return _pcbnew.FOOTPRINT_FootprintNeedsUpdate(self, aLibFP, aCompareFlags, aReporter)
19272 r"""SetInitialComments(FOOTPRINT self, wxArrayString * aInitialComments)"""
19273 return _pcbnew.FOOTPRINT_SetInitialComments(self, aInitialComments)
19276 r"""CoverageRatio(FOOTPRINT self, GENERAL_COLLECTOR const & aCollector) -> double"""
19277 return _pcbnew.FOOTPRINT_CoverageRatio(self, aCollector)
19281 r"""GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
19282 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
19285 r"""GetInitialComments(FOOTPRINT self) -> wxArrayString const *"""
19286 return _pcbnew.FOOTPRINT_GetInitialComments(self)
19289 r"""GetCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
19290 return _pcbnew.FOOTPRINT_GetCourtyard(self, aLayer)
19293 r"""GetCachedCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
19294 return _pcbnew.FOOTPRINT_GetCachedCourtyard(self, aLayer)
19297 r"""BuildCourtyardCaches(FOOTPRINT self, OUTLINE_ERROR_HANDLER * aErrorHandler=None)"""
19298 return _pcbnew.FOOTPRINT_BuildCourtyardCaches(self, aErrorHandler)
19301 r"""GetEffectiveShape(FOOTPRINT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
19302 return _pcbnew.FOOTPRINT_GetEffectiveShape(self, *args)
19314 """ Returns footprint fields name to text map. """
19316 return {str(field.GetName()): str(field.GetText())
for field
in fields}
19319 """ Returns footprint fields name to shown text map. """
19321 return {str(field.GetName()): str(field.GetShownText(
False))
for field
in fields}
19324 """ Returns Field text with a given key if it exists, throws KeyError otherwise. """
19328 raise KeyError(
"Field not found: " + key)
19331 """ Returns Field shown text with a given key if it exists, throws KeyError otherwise. """
19335 raise KeyError(
"Field not found: " + key)
19342 field.SetText(value)
19349 """ Sets footprint fields map. """
19350 for k, v
in fields.items():
19356_pcbnew.FOOTPRINT_swigregister(FOOTPRINT)
19359 r"""FOOTPRINT_ClassOf(EDA_ITEM aItem) -> bool"""
19360 return _pcbnew.FOOTPRINT_ClassOf(aItem)
19361FP_is_LOCKED = _pcbnew.FP_is_LOCKED
19363FP_is_PLACED = _pcbnew.FP_is_PLACED
19365FP_to_PLACE = _pcbnew.FP_to_PLACE
19367FP_PADS_are_LOCKED = _pcbnew.FP_PADS_are_LOCKED
19371 r"""FOOTPRINT_IsLibNameValid(wxString aName) -> bool"""
19372 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
19375 r"""FOOTPRINT_StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
19376 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
19379 r"""FOOTPRINT_GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
19380 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
19383 r"""Proxy of C++ FOOTPRINT::cmp_drawings class."""
19385 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19386 __repr__ = _swig_repr
19389 r"""__call__(cmp_drawings self, BOARD_ITEM itemA, BOARD_ITEM itemB) -> bool"""
19390 return _pcbnew.cmp_drawings___call__(self, itemA, itemB)
19393 r"""__init__(cmp_drawings self) -> cmp_drawings"""
19394 _pcbnew.cmp_drawings_swiginit(self, _pcbnew.new_cmp_drawings())
19395 __swig_destroy__ = _pcbnew.delete_cmp_drawings
19398_pcbnew.cmp_drawings_swigregister(cmp_drawings)
19401 r"""Proxy of C++ FOOTPRINT::cmp_pads class."""
19403 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19404 __repr__ = _swig_repr
19407 r"""__call__(cmp_pads self, PAD aFirst, PAD aSecond) -> bool"""
19408 return _pcbnew.cmp_pads___call__(self, aFirst, aSecond)
19411 r"""__init__(cmp_pads self) -> cmp_pads"""
19412 _pcbnew.cmp_pads_swiginit(self, _pcbnew.new_cmp_pads())
19413 __swig_destroy__ = _pcbnew.delete_cmp_pads
19416_pcbnew.cmp_pads_swigregister(cmp_pads)
19419 r"""Proxy of C++ FOOTPRINT::cmp_padstack class."""
19421 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19422 __repr__ = _swig_repr
19425 r"""__call__(cmp_padstack self, PAD aFirst, PAD aSecond) -> bool"""
19426 return _pcbnew.cmp_padstack___call__(self, aFirst, aSecond)
19429 r"""__init__(cmp_padstack self) -> cmp_padstack"""
19430 _pcbnew.cmp_padstack_swiginit(self, _pcbnew.new_cmp_padstack())
19431 __swig_destroy__ = _pcbnew.delete_cmp_padstack
19434_pcbnew.cmp_padstack_swigregister(cmp_padstack)
19437 r"""Proxy of C++ FOOTPRINT::cmp_zones class."""
19439 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19440 __repr__ = _swig_repr
19443 r"""__call__(cmp_zones self, ZONE aFirst, ZONE aSecond) -> bool"""
19444 return _pcbnew.cmp_zones___call__(self, aFirst, aSecond)
19447 r"""__init__(cmp_zones self) -> cmp_zones"""
19448 _pcbnew.cmp_zones_swiginit(self, _pcbnew.new_cmp_zones())
19449 __swig_destroy__ = _pcbnew.delete_cmp_zones
19452_pcbnew.cmp_zones_swigregister(cmp_zones)
19455 r"""Proxy of C++ std::vector< FP_3DMODEL > class."""
19457 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19458 __repr__ = _swig_repr
19461 r"""iterator(VECTOR_FP_3DMODEL self) -> SwigPyIterator"""
19462 return _pcbnew.VECTOR_FP_3DMODEL_iterator(self)
19467 r"""__nonzero__(VECTOR_FP_3DMODEL self) -> bool"""
19468 return _pcbnew.VECTOR_FP_3DMODEL___nonzero__(self)
19471 r"""__bool__(VECTOR_FP_3DMODEL self) -> bool"""
19472 return _pcbnew.VECTOR_FP_3DMODEL___bool__(self)
19475 r"""__len__(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
19476 return _pcbnew.VECTOR_FP_3DMODEL___len__(self)
19479 r"""__getslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j) -> VECTOR_FP_3DMODEL"""
19480 return _pcbnew.VECTOR_FP_3DMODEL___getslice__(self, i, j)
19484 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)
19485 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j, VECTOR_FP_3DMODEL v)
19487 return _pcbnew.VECTOR_FP_3DMODEL___setslice__(self, *args)
19490 r"""__delslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)"""
19491 return _pcbnew.VECTOR_FP_3DMODEL___delslice__(self, i, j)
19495 __delitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i)
19496 __delitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice)
19498 return _pcbnew.VECTOR_FP_3DMODEL___delitem__(self, *args)
19502 __getitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice) -> VECTOR_FP_3DMODEL
19503 __getitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i) -> FP_3DMODEL
19505 return _pcbnew.VECTOR_FP_3DMODEL___getitem__(self, *args)
19509 __setitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice, VECTOR_FP_3DMODEL v)
19510 __setitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice)
19511 __setitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, FP_3DMODEL x)
19513 return _pcbnew.VECTOR_FP_3DMODEL___setitem__(self, *args)
19516 r"""pop(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
19517 return _pcbnew.VECTOR_FP_3DMODEL_pop(self)
19520 r"""append(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
19521 return _pcbnew.VECTOR_FP_3DMODEL_append(self, x)
19524 r"""empty(VECTOR_FP_3DMODEL self) -> bool"""
19525 return _pcbnew.VECTOR_FP_3DMODEL_empty(self)
19528 r"""size(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
19529 return _pcbnew.VECTOR_FP_3DMODEL_size(self)
19532 r"""swap(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL v)"""
19533 return _pcbnew.VECTOR_FP_3DMODEL_swap(self, v)
19536 r"""begin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
19537 return _pcbnew.VECTOR_FP_3DMODEL_begin(self)
19540 r"""end(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
19541 return _pcbnew.VECTOR_FP_3DMODEL_end(self)
19544 r"""rbegin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
19545 return _pcbnew.VECTOR_FP_3DMODEL_rbegin(self)
19548 r"""rend(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
19549 return _pcbnew.VECTOR_FP_3DMODEL_rend(self)
19552 r"""clear(VECTOR_FP_3DMODEL self)"""
19553 return _pcbnew.VECTOR_FP_3DMODEL_clear(self)
19556 r"""get_allocator(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::allocator_type"""
19557 return _pcbnew.VECTOR_FP_3DMODEL_get_allocator(self)
19560 r"""pop_back(VECTOR_FP_3DMODEL self)"""
19561 return _pcbnew.VECTOR_FP_3DMODEL_pop_back(self)
19565 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos) -> std::vector< FP_3DMODEL >::iterator
19566 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator first, std::vector< FP_3DMODEL >::iterator last) -> std::vector< FP_3DMODEL >::iterator
19568 return _pcbnew.VECTOR_FP_3DMODEL_erase(self, *args)
19572 __init__(VECTOR_FP_3DMODEL self) -> VECTOR_FP_3DMODEL
19573 __init__(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL other) -> VECTOR_FP_3DMODEL
19574 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size) -> VECTOR_FP_3DMODEL
19575 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size, FP_3DMODEL value) -> VECTOR_FP_3DMODEL
19577 _pcbnew.VECTOR_FP_3DMODEL_swiginit(self, _pcbnew.new_VECTOR_FP_3DMODEL(*args))
19580 r"""push_back(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
19581 return _pcbnew.VECTOR_FP_3DMODEL_push_back(self, x)
19584 r"""front(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
19585 return _pcbnew.VECTOR_FP_3DMODEL_front(self)
19588 r"""back(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
19589 return _pcbnew.VECTOR_FP_3DMODEL_back(self)
19592 r"""assign(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)"""
19593 return _pcbnew.VECTOR_FP_3DMODEL_assign(self, n, x)
19597 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size)
19598 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size, FP_3DMODEL x)
19600 return _pcbnew.VECTOR_FP_3DMODEL_resize(self, *args)
19604 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, FP_3DMODEL x) -> std::vector< FP_3DMODEL >::iterator
19605 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)
19607 return _pcbnew.VECTOR_FP_3DMODEL_insert(self, *args)
19610 r"""reserve(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n)"""
19611 return _pcbnew.VECTOR_FP_3DMODEL_reserve(self, n)
19614 r"""capacity(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
19615 return _pcbnew.VECTOR_FP_3DMODEL_capacity(self)
19616 __swig_destroy__ = _pcbnew.delete_VECTOR_FP_3DMODEL
19619_pcbnew.VECTOR_FP_3DMODEL_swigregister(VECTOR_FP_3DMODEL)
19623 plugin_type = PCB_IO_MGR.GuessPluginTypeFromLibPath( libname );
19624 return PCB_IO_MGR.PluginFind(plugin_type)
19628 return plug.FootprintEnumerate(libname)
19632 return plug.FootprintLoad(libname,name,preserveUUID)
19636 return plug.FootprintSave(libname,module)
19640 plug.FootprintDelete(libname,name)
19644 plug.CreateLibrary(libname)
19648 plug.DeleteLibrary(libname)
19652 plug.FootprintLibIsWritable(libname)
19655 r"""Proxy of C++ PYTHON_FOOTPRINT_WIZARD_LIST class."""
19657 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19658 __repr__ = _swig_repr
19662 r"""register_wizard(PyObject * wizard)"""
19663 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
19667 r"""deregister_wizard(PyObject * wizard)"""
19668 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
19671 r"""__init__(PYTHON_FOOTPRINT_WIZARD_LIST self) -> PYTHON_FOOTPRINT_WIZARD_LIST"""
19672 _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swiginit(self, _pcbnew.new_PYTHON_FOOTPRINT_WIZARD_LIST())
19673 __swig_destroy__ = _pcbnew.delete_PYTHON_FOOTPRINT_WIZARD_LIST
19676_pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swigregister(PYTHON_FOOTPRINT_WIZARD_LIST)
19679 r"""PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(PyObject * wizard)"""
19680 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
19683 r"""PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(PyObject * wizard)"""
19684 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
19687 r"""Proxy of C++ PYTHON_ACTION_PLUGINS class."""
19689 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19690 __repr__ = _swig_repr
19694 r"""register_action(PyObject * wizard)"""
19695 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
19699 r"""deregister_action(PyObject * wizard)"""
19700 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
19703 r"""__init__(PYTHON_ACTION_PLUGINS self) -> PYTHON_ACTION_PLUGINS"""
19704 _pcbnew.PYTHON_ACTION_PLUGINS_swiginit(self, _pcbnew.new_PYTHON_ACTION_PLUGINS())
19705 __swig_destroy__ = _pcbnew.delete_PYTHON_ACTION_PLUGINS
19708_pcbnew.PYTHON_ACTION_PLUGINS_swigregister(PYTHON_ACTION_PLUGINS)
19711 r"""PYTHON_ACTION_PLUGINS_register_action(PyObject * wizard)"""
19712 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
19715 r"""PYTHON_ACTION_PLUGINS_deregister_action(PyObject * wizard)"""
19716 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
19720 if type(iu)
in [int,float]:
19721 return float(iu) / float(pcbIUScale.IU_PER_MM)
19722 elif type(iu)
in [wxPoint,wxSize,VECTOR2I]:
19723 return tuple(map(ToMM,iu))
19725 raise TypeError(
"ToMM() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(iu)))
19728 if type(mm)
in [int,float]:
19729 return int(float(mm) * float(pcbIUScale.IU_PER_MM))
19730 elif type(mm)
in [wxPoint,wxSize,VECTOR2I]:
19731 return tuple(map(FromMM,mm))
19733 raise TypeError(
"FromMM() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(mm)))
19736 if type(iu)
in [int,float]:
19737 return float(iu) / float(pcbIUScale.IU_PER_MILS)
19738 elif type(iu)
in [wxPoint,wxSize,VECTOR2I]:
19739 return tuple(map(ToMils,iu))
19741 raise TypeError(
"ToMils() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(iu)))
19744 if type(mils)
in [int,float]:
19745 return int(float(mils)*float(pcbIUScale.IU_PER_MILS))
19746 elif type(mils)
in [wxPoint,wxSize,VECTOR2I]:
19747 return tuple(map(FromMils,mils))
19749 raise TypeError(
"FromMils() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(mils)))
19752 thresh =
FromMM(gridSizeMM)
19753 return round(value/thresh)*thresh
19757 return round(value/thresh)*thresh
19782 return wxRect(x,y,wx,wy)
19789 return wxRect(x,y,wx,wy)
19793 """Return the semantic version of KiCad"""
19797 """Return the full, git-based version of KiCad"""
def GetShowToolbarButton(self)
def GetIconFileName(self, dark)
def GetCategoryName(self)
def __init__(self, *args, **kwargs)
def GetOwnClearance(self, aLayer, aSource=None)
def GetLocalClearance(self, aSource)
def SetTeardropsEnabled(self, aEnable)
def SetTeardropBestWidthRatio(self, aRatio)
def __init__(self, *args, **kwargs)
def GetLocalClearanceOverrides(self, aSource)
def SetLocalRatsnestVisible(self, aVisible)
def SetTeardropMaxTrackWidth(self, aRatio)
def GetTeardropAllowSpanTwoTracks(self)
def GetTeardropMaxLength(self)
def GetDisplayNetname(self)
def SetTeardropCurvePts(self, aPointCount)
def GetTeardropParams(self, *args)
def GetTeardropBestWidthRatio(self)
def GetNetClassName(self)
def SetNetCode(self, *args)
def GetTeardropCurvePts(self)
def GetTeardropMaxTrackWidth(self)
def SetTeardropAllowSpanTwoTracks(self, aAllow)
def SetTeardropMaxWidth(self, aMaxWidth)
def GetLocalRatsnestVisible(self)
def GetShortNetname(self)
def SetTeardropBestLengthRatio(self, aRatio)
def GetTeardropBestLengthRatio(self)
def GetTeardropMaxWidth(self)
def GetTeardropPreferZoneConnections(self)
def GetTeardropsEnabled(self)
def GetEffectiveNetClass(self)
def SetNet(self, aNetInfo)
def SetTeardropPreferZoneConnections(self, aPrefer)
def SetTeardropMaxLength(self, aMaxLength)
def GetEnabledLayers(self)
def SetAuxOrigin(self, aOrigin)
def IsLayerEnabled(self, aLayerId)
def GetCustomDiffPairWidth(self)
def GetLineThickness(self, aLayer)
def GetTextSize(self, aLayer)
def GetDiffPairIndex(self)
def SetEnabledLayers(self, aMask)
def SetDefaultZoneSettings(self, aSettings)
def UseCustomDiffPairDimensions(self, *args)
def SetCustomDiffPairGap(self, aGap)
def GetLayerClass(self, aLayer)
def LoadFromFile(self, *args)
def UseNetClassDiffPair(self)
def GetCurrentViaSize(self)
def GetCurrentDiffPairWidth(self)
def GetTeadropParamsList(self)
def SetBoardThickness(self, aThickness)
def GetBoardThickness(self)
def GetSeverity(self, aDRCErrorCode)
def GetCustomTrackWidth(self)
def GetCustomViaSize(self)
def GetHolePlatingThickness(self)
def GetBiggestClearanceValue(self)
def Ignore(self, aDRCErrorCode)
def CloneFrom(self, aOther)
def GetCurrentDiffPairGap(self)
def UseNetClassTrack(self)
def GetTrackWidthIndex(self)
def SetCustomTrackWidth(self, aWidth)
def SetDiffPairIndex(self, aIndex)
def GetTextUpright(self, aLayer)
def GetStackupDescriptor(self, *args)
def GetCustomDiffPairGap(self)
def GetCurrentNetClassName(self)
def GetDefaultZoneSettings(self)
def UseCustomTrackViaSize(self, *args)
def SetViaSizeIndex(self, aIndex)
def GetCurrentViaDrill(self)
def GetCustomDiffPairViaGap(self)
def SetCustomViaSize(self, aSize)
def SetGridOrigin(self, aOrigin)
def SetCustomViaDrill(self, aDrill)
def GetViaSizeIndex(self)
def GetSmallestClearanceValue(self)
def GetTextItalic(self, aLayer)
def GetCustomViaDrill(self)
def GetCurrentDiffPairViaGap(self)
def SetCopperLayerCount(self, aNewLayerCount)
def __init__(self, *args)
def GetTextThickness(self, aLayer)
def SetCustomDiffPairWidth(self, aWidth)
def SetTrackWidthIndex(self, aIndex)
def GetCopperLayerCount(self)
def GetCurrentTrackWidth(self)
def SetCustomDiffPairViaGap(self, aGap)
def DeleteNative(self, aItem)
def RemoveNative(self, *args)
def __init__(self, *args, **kwargs)
def AddNative(self, *args)
def IsOnLayer(self, aLayer)
def SetIsKnockout(self, aKnockout)
def Move(self, aMoveVector)
def SetStartEnd(self, start, end)
def SetParentGroup(self, aGroup)
def SetFPRelativePosition(self, aPos)
def Flip(self, aCentre, aFlipLeftRight)
def StyleFromSettings(self, settings)
def SetStroke(self, aStroke)
def __init__(self, *args, **kwargs)
def Rotate(self, aRotCentre, aAngle)
def NormalizeForCompare(self)
def SetLayer(self, aLayer)
def SetLayerSet(self, aLayers)
def SwapItemData(self, aImage)
def GetEffectiveHoleShape(self)
def IsOnCopperLayer(self)
def Similarity(self, aItem)
def GetParentAsString(self)
def DeleteStructure(self)
def GetFPRelativePosition(self)
def GetEffectiveShape(self, *args)
def RunOnChildren(self, aFunction)
def GetParentFootprint(self)
def RunOnDescendants(self, aFunction, aDepth=0)
def SetLocked(self, aLocked)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def OnBoardHighlightNetChanged(self, aBoard)
def OnBoardItemAdded(self, aBoard, aBoardItem)
def OnBoardRatsnestChanged(self, aBoard)
def OnBoardItemChanged(self, aBoard, aBoardItem)
def OnBoardNetSettingsChanged(self, aBoard)
def OnBoardItemsAdded(self, aBoard, aBoardItem)
def OnBoardItemRemoved(self, aBoard, aBoardItem)
def OnBoardItemsChanged(self, aBoard, aBoardItem)
def OnBoardItemsRemoved(self, aBoard, aBoardItem)
def DeleteMARKERs(self, *args)
def RemoveListener(self, aListener)
def GetContextualTextVars(self, aVars)
def IsHighLightNetON(self)
def IsFootprintLayerVisible(self, aLayer)
def GetNetsByNetcode(self)
def BuildListOfNets(self)
def GetPadFast(self, aPosition, aLayerMask)
def SetLayerDescr(self, aIndex, aLayer)
def GetLayerName(self, aLayer)
def GetLayerType(self, aLayer)
def SetCopperLayerCount(self, aCount)
def RemoveAllListeners(self)
def GetCopperLayerCount(self)
def LayerDepth(self, aStartLayer, aEndLayer)
def FillItemMap(self, aMap)
def GetPageSettings(self)
def SetProject(self, aProject, aReferenceOnly=False)
def RecordDRCExclusions(self)
def GroupsSanityCheck(self, repair=False)
def TestZoneIntersection(self, aZone1, aZone2)
def ResetNetHighLight(self)
def SetOutlinesChainingEpsilon(self, aValue)
def RemoveNative(self, *args)
def GetAllNetClasses(self)
def GetFirstFootprint(self)
def GetOutlinesChainingEpsilon(self)
def ResolveTextVar(self, token, aDepth)
def SetHighLightNet(self, aNetCode, aMulti=False)
def ComputeBoundingBox(self, aBoardEdgesOnly=False)
def UpdateRatsnestExclusions(self)
def __init__(self, *args, **kwargs)
def GroupsSanityCheckInternal(self, repair)
def OnItemsChanged(self, aItems)
def GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked=False)
def GetLayerID(self, aLayerName)
def GetVisibleElements(self)
def IsElementVisible(self, aLayer)
def GetSortedPadListByXthenYCoord(self, aVector, aNetCode=-1)
def FinalizeBulkRemove(self, aRemovedItems)
def AddListener(self, aListener)
def Drawings(self, *args)
def AddNative(self, *args)
def GetHighLightNetCodes(self)
def OnItemChanged(self, aItem)
def TracksInNet(self, aNetCode)
def GetStandardLayerName(aLayerId)
def IsFootprintHolder(self)
def FinalizeBulkAdd(self, aNewItems)
def SetTentVias(self, aFlag)
def SetTitleBlock(self, aTitleBlock)
def OnRatsnestChanged(self)
def HighLightON(self, aValue=True)
def GetMaxClearanceValue(self)
def SetVisibleLayers(self, aLayerMask)
def IncrementTimeStamp(self)
def AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch)
def CacheTriangulation(self, *args)
def GetViasDimensionsList(self)
def IsLayerVisible(self, aLayer)
def ResolveDRCExclusions(self, aCreateMarkers)
def MatchDpSuffix(self, aNetName, aComplementNet)
def SetPlotOptions(self, aOptions)
def GetBoardPolygonOutlines(self, aOutlines, aErrorHandler=None, aAllowUseArcsInPolygons=False, aIncludeNPTHAsOutlines=False)
def GetEnabledLayers(self)
def FindFootprintByReference(self, aReference)
def ConvertBrdLayerToPolygonalContours(self, aLayer, aOutlines)
def SetGenerator(self, aGenerator)
def GetZoneList(self, aIncludeZonesInFootprints=False)
def SetAreasNetCodesFromNetNames(self)
def SetLegacyTeardrops(self, aFlag)
def SetPageSettings(self, aPageSettings)
def DeleteAllFootprints(self)
def DpCoupledNet(self, aNet)
def GetBoardEdgesBoundingBox(self)
def GetFileFormatVersionAtLoad(self)
def UpdateUserUnits(self, aItem, aView)
def GetVisibleLayers(self)
def GetNetClassAssignmentCandidates(self)
def RemoveUnusedNets(self, aCommit)
def Footprints(self, *args)
def ConvertKIIDsToCrossReferences(self, aSource)
def SetFileFormatVersionAtLoad(self, aVersion)
def SetProperties(self, aProps)
def GetTrackLength(self, aTrack)
def SanitizeNetcodes(self)
def GetCurrentNetClassName(self)
def SetLayerType(self, aLayer, aLayerType)
def GetNodesCount(self, aNet=-1)
def GetNetcodeFromNetname(self, netname)
def FindFootprintByPath(self, aPath)
def SynchronizeNetsAndNetClasses(self, aResetTrackAndViaSizes)
def AllConnectedItems(self)
def SetFileName(self, aFileName)
def SetEnabledLayers(self, aLayerMask)
def GetTrackWidthList(self)
def GroupLegalOps(self, selection)
def BuildConnectivity(self, aReporter=None)
def SynchronizeProperties(self)
def GetConnectivity(self)
def GetTitleBlock(self, *args)
def SetElementVisibility(self, aLayer, aNewState)
def IsLayerEnabled(self, aLayer)
def SetLayerName(self, aLayer, aLayerName)
def ConvertCrossReferencesToKIIDs(self, aSource)
def GetDesignSettings(self)
def LegacyTeardrops(self)
def MapNets(self, aDestBoard)
def SetBoardUse(self, aUse)
def Generators(self, *args)
def SetUserUnits(self, aUnits)
def SetVisibleElements(self, aMask)
def IntersectsCircle(self, aCenter, aRadius)
def Contains(self, *args)
def __init__(self, *args)
def SetOrigin(self, *args)
def GetBoundingBoxRotated(self, aRotCenter, aAngle)
def SquaredDistance(self, *args)
def Intersect(self, aRect)
def Distance(self, *args)
def FarthestPointTo(self, aPoint)
def Intersects(self, *args)
def Move(self, aMoveVector)
def ClosestPointTo(self, aPoint)
def IntersectsCircleEdge(self, aCenter, aRadius, aWidth)
def __init__(self, *args)
def SetFromWxString(self, aColorString)
def LegacyMix(self, aColor)
def FromCSSRGBA(self, aRed, aGreen, aBlue, aAlpha=1.0)
def Darkened(self, aFactor)
def ToHSL(self, aOutHue, aOutSaturation, aOutValue)
def FindNearestLegacyColor(aR, aG, aB)
def Darken(self, aFactor)
def Mix(self, aColor, aFactor)
def Brighten(self, aFactor)
def Distance(self, other)
def FromHSL(self, aInHue, aInSaturation, aInLightness)
def WithAlpha(self, aAlpha)
def SetFromHexString(self, aColorString)
def Saturate(self, aFactor)
def Brightened(self, aFactor)
def ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue=False)
def __init__(self, *args)
def FromHSV(self, aInH, aInS, aInV)
def GetConnectedPads(self, *args)
def RunOnUnconnectedEdges(self, aFunc)
def GetConnectedItems(self, aItem, aTypes, aIgnoreNetcodes=False)
def GetUnconnectedCount(self, aVisibileOnly)
def GetConnectivityAlgo(self)
def RemoveInvalidRefs(self)
def GetConnectedTracks(self, aItem)
def GetLocalRatsnest(self)
def BlockRatsnestItems(self, aItems)
def IsConnectedOnLayer(self, *args)
def RecalculateRatsnest(self, aCommit=None)
def ComputeLocalRatsnest(self, *args)
def ClearLocalRatsnest(self)
def FillIsolatedIslandsMap(self, aMap, aConnectivityAlreadyRebuilt=False)
def GetPadCount(self, aNet=-1)
def HideLocalRatsnest(self)
def SetProgressReporter(self, aReporter)
def TestTrackEndpointDangling(self, aTrack, aIgnoreTracksInPads, aPos=None)
def __init__(self, *args)
def PropagateNets(self, aCommit=None)
def MarkItemNetAsDirty(self, aItem)
def GetNodeCount(self, aNet=-1)
def GetConnectedPadsAndVias(self, aItem, pads, vias)
def GetNetItems(self, aNetCode, aTypes)
def GetRatsnestForNet(self, aNet)
def GetConnectedItemsAtAnchor(self, aItem, aAnchor, aTypes, aMaxError=0)
def __call__(self, item1, item2)
def __init__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def __getslice__(self, i, j)
def __setslice__(self, *args)
def __delitem__(self, *args)
def __init__(self, *args)
def __setitem__(self, *args)
def __init__(self, l=2, r=4)
def GetPrecisionString(self)
def __truediv__(self, other)
def AsTenthsOfADegree(self)
def __rmul__(self, other)
def NormalizeNegative(self)
def __iadd__(self, aAngle)
def IsParallelTo(self, aAngle)
def __init__(self, *args)
def __isub__(self, aAngle)
def __init__(self, *args, **kwargs)
def SetParent(self, aParent)
def GetFocusPosition(self)
def IsType(self, aScanTypes)
def SetForceVisible(self, aEnable)
def GetMsgPanelInfo(self, aFrame, aList)
def XorFlags(self, aMask)
def RenderAsBitmap(self, aWorldScale)
def ViewGetLayers(self, aLayers, aCount)
def ClearBrightened(self)
def ClearFlags(self, *args)
def IsShownAsBitmap(self)
def GetSortPosition(self)
def SetIsShownAsBitmap(self, aBitmap)
def SetFlags(self, aMask)
def GetFriendlyName(self)
def Visit(self, inspector, testData, aScanTypes)
def Matches(self, aSearchData, aAuxData)
def GetItemDescription(self, aUnitsProvider)
def SetPosition(self, aPos)
def __init__(self, aIUPerMM)
def SHAPE_T_asString(self)
def Similarity(self, aOther)
def TransformShapeToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def ShapeGetMsgPanelInfo(self, aFrame, aList)
def SetStart(self, aStart)
def DupPolyPointsList(self, aBuffer)
def SetBezierC2(self, aPt)
def SetFillColor(self, aColor)
def SetPolyShape(self, aShape)
def SetArcAngleAndEnd(self, aAngle, aCheckNegativeAngle=False)
def SetArcGeometry(self, aStart, aMid, aEnd)
def SwapShape(self, aImage)
def CalcArcAngles(self, aStartAngle, aEndAngle)
def SetSegmentAngle(self, aAngle)
def SetLineStyle(self, aStyle)
def SetIsProxyItem(self, aIsProxy=True)
def SetWidth(self, aWidth)
def RebuildBezierToSegmentsPointsList(self, aMinSegLen)
def SetRectangle(self, aHeight, aWidth)
def GetRectangleWidth(self)
def GetRectangleHeight(self)
def SetFilled(self, aFlag)
def SetPolyPoints(self, aPoints)
def IsPolyShapeValid(self)
def SetLength(self, aLength)
def GetBezierPoints(self)
def MakeEffectiveShapes(self, aEdgeOnly=False)
def GetPolyShape(self, *args)
def Compare(self, aOther)
def SetCenter(self, aCenter)
def GetFriendlyName(self)
def SetBezierC1(self, aPt)
def __init__(self, aType, aLineWidth, aFill)
def SetShape(self, aShape)
def SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
def SetFillMode(self, aFill)
def SetLineColor(self, aColor)
def GetSegmentAngle(self)
def GetEffectiveWidth(self)
def SetAttributes(self, *args)
def SetTextSize(self, aNewSize, aEnforceMinTextSize=True)
def GetTextStyleName(self)
def GotoPageHref(aDestination)
def GetLinePositions(self, aPositions, aLineCount)
def Offset(self, aOffset)
def GetHorizJustify(self)
def IsDefaultFormatting(self)
def SetVertJustify(self, aType)
def GetShownText(self, aAllowExtraText, aDepth=0)
def Similarity(self, aOther)
def SetMultilineAllowed(self, aAllow)
def GetTextBox(self, aLine=-1, aInvertY=False)
def SetTextThickness(self, aWidth)
def GetTextThickness(self)
def SetupRenderCache(self, aResolvedText, aFont, aAngle, aOffset)
def Replace(self, aSearchData)
def SetTextAngleDegrees(self, aOrientation)
def IsMultilineAllowed(self)
def ClearBoundingBoxCache(self)
def SwapText(self, aTradingPartner)
def SetTextPos(self, aPoint)
def AddRenderCacheGlyph(self, aPoly)
def SetTextHeight(self, aHeight)
def SetKeepUpright(self, aKeepUpright)
def GetRenderCache(self, *args)
def SetVisible(self, aVisible)
def SetTextColor(self, aColor)
def SetTextAngle(self, aAngle)
def SwapAttributes(self, aTradingPartner)
def SetFontIndex(self, aIdx)
def ClearRenderCache(self)
def RemoveHyperlink(self)
def TextHitTest(self, *args)
def Format(self, aFormatter, aNestLevel, aControlBits)
def GetEffectiveTextPenWidth(self, aDefaultPenWidth=0)
def ValidateHyperlink(aURL)
def SetHyperlink(self, aLink)
def Print(self, aSettings, aOffset, aColor, aDisplay_mode=FILLED)
def SetHorizJustify(self, aType)
def GetTextAngleDegrees(self)
def __init__(self, *args)
def SetBoldFlag(self, aBold)
def Levenshtein(self, aOther)
def MapVertJustify(aVertJustify)
def SetTextWidth(self, aWidth)
def SetMirrored(self, isMirrored)
def GetEffectiveTextShape(self, *args)
def SetItalic(self, aItalic)
def IsGotoPageHref(aHref, aDestination=None)
def SetLineSpacing(self, aLineSpacing)
def Compare(self, aOther)
def GetDrawRotation(self)
def MapHorizJustify(aHorizJustify)
def SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles)
def SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH)
def SetFormat(self, *args)
def CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter=None)
def ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
def __init__(self, aBoard)
def __init__(self, *args)
def __init__(self, aFootprint, aFileName)
def SetFilePath(self, aFilePath)
def __init__(self, aOwner, aLibraryPath)
def Remove(self, aFootprintName)
def Save(self, aFootprint=None)
def GetTimestamp(aLibPath)
def __init__(self, *args)
def GenDrillReportFile(self, aFullFileName)
def SetMapFileFormat(self, aMapFmt)
def CreateMapFilesSet(self, aPlotDirectory, aReporter=None)
def __init__(self, *args, **kwargs)
def SetPageInfo(self, aPageInfo)
def SetMergeOption(self, aMerge)
def GetDrillFileExt(self)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def __setslice__(self, *args)
def __getitem__(self, *args)
def __init__(self, *args)
def __setitem__(self, *args)
def CreateJobFile(self, aFullFilename)
def __init__(self, aPcb, aReporter=None)
def WriteJSONJobFile(self, aFullFilename)
def AddGbrFile(self, aLayer, aFilename)
def SetFormat(self, aRightDigits=6)
def SetOptions(self, aOffset)
def CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter=None)
def __getitem__(self, *args)
def __delitem__(self, *args)
def __setitem__(self, *args)
def __getslice__(self, i, j)
def __init__(self, *args)
def __delslice__(self, i, j)
def __setslice__(self, *args)
def __init__(self, *args, **kwargs)
def __init__(self, *args)
def init(self, aProblem, aThrowersFile, aThrowersFunction, aThrowersLineNumber)
def __init__(self, aPcb, aParent=None)
def Write(self, aFilename)
def MakeRelativeTo(self, aPath)
def EndsWith(self, aPath)
def __init__(self, *args)
def __setitem__(self, *args)
def __delitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def CreateNilUuids(aNil=True)
def ConvertTimestampToUuid(self)
def AsLegacyTimestampString(self)
def SniffTest(aCandidate)
def IsLegacyTimestamp(self)
def AsLegacyTimestamp(self)
def __init__(self, *args)
def __init__(self, *args)
def GetSubLibraryName(self)
def SetLibItemName(self, aLibItemName)
def HasIllegalChars(aLibItemName)
def GetUniStringLibId(self)
def SetSubLibraryName(self, aName)
def GetUniStringSubLibraryName(self)
def __init__(self, *args)
def FindIllegalLibraryNameChar(aLibraryName)
def FixIllegalChars(aLibItemName, aLib)
def GetFullLibraryName(self)
def Parse(self, aId, aFix=False)
def GetUniStringLibItemName(self)
def compare(self, aLibId)
def SetLibNickname(self, aLibNickname)
def GetUniStringLibNickname(self)
def __init__(self, *args, **kwargs)
def TestLayers(self, aRhs, aLhs)
def __init__(self, *args)
def Contains(self, aLayer)
def RemoveLayer(self, layer)
def addLayer(self, aLayer)
def SeqStackupForPlotting(self)
def AddLayer(self, layer)
def ParseHex(self, aStart, aCount)
def addLayerSet(self, aLayerSet)
def ForbiddenFootprintLayers()
def removeLayerSet(self, aLayerSet)
def AddLayerSet(self, layers)
def __init__(self, *args)
def TechAndUserUIOrder(self)
def removeLayer(self, aLayer)
def RemoveLayerSet(self, layers)
def Technicals(self, *args)
def SeqStackupTop2Bottom(self, aSelectedLayer=UNDEFINED_LAYER)
def __delitem__(self, key)
def __contains__(self, key)
def __setitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, key)
def __getslice__(self, i, j)
def __delitem__(self, *args)
def __init__(self, *args)
def __setitem__(self, *args)
def __getitem__(self, *args)
def __setslice__(self, *args)
def __delslice__(self, i, j)
def GetBoundingBoxMarker(self)
def HitTestMarker(self, aHitPosition, aAccuracy)
def PrintMarker(self, aSettings, aOffset)
def SetExcluded(self, aExcluded)
def SetMarkerType(self, aMarkerType)
def ShapeToPolygon(self, aPolygon, aScale=-1)
def __init__(self, *args, **kwargs)
def SetMarkerScale(self, aScale)
def SetBusWidth(self, aWidth)
def HasuViaDiameter(self)
def SetTrackWidth(self, aWidth)
def SetuViaDiameter(self, aSize)
def __init__(self, aName)
def HasDiffPairWidth(self)
def SetDescription(self, aDesc)
def SetLineStyle(self, aStyle)
def SetDiffPairGap(self, aSize)
def SetDiffPairViaGap(self, aSize)
def GetDiffPairViaGap(self)
def GetDiffPairWidth(self)
def SetPcbColor(self, aColor)
def SetWireWidth(self, aWidth)
def SetSchematicColor(self, aColor)
def GetSchematicColor(self)
def SetViaDiameter(self, aDia)
def SetClearance(self, aClearance)
def HasDiffPairViaGap(self)
def GetuViaDiameter(self)
def SetuViaDrill(self, aSize)
def SetViaDrill(self, aSize)
def SetDiffPairWidth(self, aSize)
def __delitem__(self, key)
def __init__(self, *args)
def __contains__(self, key)
def __setitem__(self, *args)
def __getitem__(self, key)
def HasAutoGeneratedNetname(self)
def SetNetname(self, aNewName)
def GetDisplayNetname(self)
def SetNetCode(self, aNetCode)
def SetIsCurrent(self, isCurrent)
def GetShortNetname(self)
def SetNetClass(self, aNetClass)
def GetNetClassSlow(self)
def GetNetClassName(self)
def __init__(self, *args)
def __init__(self, aParent)
def GetNetItem(self, *args)
def RebuildDisplayNetnames(self)
def __contains__(self, key)
def __init__(self, *args)
def __delitem__(self, key)
def __getitem__(self, key)
def __setitem__(self, *args)
def ParseBusGroup(aGroup, name, aMemberList)
def GetEffectiveNetClass(self, aNetName)
def __init__(self, aParent, aPath)
def ParseBusVector(aBus, aName, aMemberList)
def __delitem__(self, *args)
def __getitem__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def __setitem__(self, *args)
def __init__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __delitem__(self, *args)
def __delslice__(self, i, j)
def __init__(self, *args)
def __getitem__(self, *args)
def __setslice__(self, *args)
def ConditionallyFlashed(self, aLayer)
def GetRoundRectRadiusRatio(self)
def Recombine(self, aIsDryRun, aMaxError)
def GetChamferPositions(self)
def GetLocalZoneConnectionOverride(self, aSource=None)
def GetLocalSpokeWidthOverride(self, aSource=None)
def SetThermalSpokeAngleDegrees(self, aAngle)
def AddPrimitiveShape(self, aPrimitive)
def GetRemoveUnconnected(self)
def SetThermalSpokeAngle(self, aAngle)
def GetBoundingRadius(self)
def SetLocalSolderPasteMarginRatio(self, aRatio)
def SetShape(self, aShape)
def SetDrillSizeX(self, aX)
def SetPinType(self, aType)
def GetZoneConnection(self)
def Compare(aPadRef, aPadCmp)
def GetLocalSolderPasteMargin(self)
def SetChamferPositions(self, aPositions)
def GetKeepTopBottom(self)
def SetDrillSizeY(self, aY)
def SetAttribute(self, aAttribute)
def GetPadToDieLength(self)
def GetZoneLayerOverride(self, aLayer)
def SetOrientation(self, aAngle)
def SameLogicalPadAs(self, aOther)
def BuildEffectivePolygon(self, *args)
def GetOrientationDegrees(self)
def SetProperty(self, aProperty)
def SetPinFunction(self, aName)
def ClearZoneLayerOverrides(self)
def SetLocalSolderPasteMargin(self, aMargin)
def GetOwnClearance(self, aLayer, aSource=None)
def GetChamferRectRatio(self)
def SetKeepTopBottom(self, aSet)
def BuildEffectiveShapes(self, aLayer)
def SetOrientationDegrees(self, aOrientation)
def TransformHoleToPolygon(self, *args)
def GetAnchorPadShape(self)
def CanFlashLayer(self, aLayer)
def GetRoundRectCornerRadius(self)
def GetSolderPasteMargin(self)
def TransformShapeToPolygon(self, *args)
def SetDelta(self, aSize)
def SetCustomShapeInZoneOpt(self, aOption)
def GetLocalSolderPasteMarginRatio(self)
def SetDrillShape(self, aShape)
def GetPrincipalLayer(self)
def SetPadToDieLength(self, aLength)
def GetFPRelativeOrientation(self)
def SetRemoveUnconnected(self, aSet)
def SetThermalGap(self, aGap)
def MergePrimitivesAsPolygon(self, *args)
def FlashLayer(self, *args)
def SetOffset(self, aOffset)
def SetDrillSize(self, aSize)
def SetPadName(self, aName)
def SetThermalSpokeWidth(self, aWidth)
def SetSubRatsnest(self, aSubRatsnest)
def AddPrimitive(self, *args)
def GetCustomShapeAsPolygon(self, layer=UNDEFINED_LAYER)
def SetRoundRectCornerRadius(self, aRadius)
def __init__(self, *args)
def DeletePrimitivesList(self)
def GetEffectiveShape(self, *args)
def AppendPrimitives(self, aPrimitivesList)
def GetLocalSolderMaskMargin(self)
def AddPrimitivePoly(self, *args)
def GetThermalSpokeAngleDegrees(self)
def SetChamferRectRatio(self, aChamferScale)
def SetRoundRectRadiusRatio(self, aRadiusScale)
def SetLocalClearance(self, aClearance)
def ImportSettingsFrom(self, aMasterPad)
def SharesNetTieGroup(self, aOther)
def ReplacePrimitives(self, aPrimitivesList)
def SetLocalSolderMaskMargin(self, aMargin)
def CheckPad(self, aUnitsProvider, aErrorHandler)
def SetZoneConnection(self, aType)
def GetThermalSpokeWidth(self)
def GetCustomShapeInZoneOpt(self)
def GetSolderMaskExpansion(self)
def GetLocalThermalGapOverride(self, aSource=None)
def ViewGetLOD(self, aLayer, aView)
def GetThermalSpokeAngle(self)
def SetAnchorPadShape(self, aShape)
def GetEffectivePolygon(self, *args)
def FlipPrimitives(self, aFlipLeftRight)
def SetNumber(self, aNumber)
def SetZoneLayerOverride(self, aLayer, aOverride)
def SetFPRelativeOrientation(self, aAngle)
def GetLocalClearance(self, *args)
def GetArcAngleStart(self)
def GetEffectiveShape(self, *args)
def IsDegenerated(self, aThreshold=5)
def __init__(self, *args)
def SetUnits(self, aUnits)
def __init__(self, *args, **kwargs)
def SetArrowLength(self, aLength)
def GetKeepTextAligned(self)
def ChangeOverrideText(self, aValue)
def SetOverrideTextEnabled(self, aOverride)
def SetTextPositionMode(self, aMode)
def SetOverrideText(self, aValue)
def GetOverrideText(self)
def ChangeSuffix(self, aSuffix)
def ChangePrecision(self, aPrecision)
def GetOverrideTextEnabled(self)
def SetAutoUnits(self, aAuto=True)
def SetMeasuredValue(self, aValue)
def SetSuppressZeroes(self, aSuppress)
def SetPrefix(self, aPrefix)
def GetExtensionOffset(self)
def GetSuppressZeroes(self)
def GetTextPositionMode(self)
def ChangeSuppressZeroes(self, aSuppress)
def SetUnitsFormat(self, aFormat)
def ChangePrefix(self, aPrefix)
def SetLineThickness(self, aWidth)
def GetMeasuredValue(self)
def SetKeepTextAligned(self, aKeepAligned)
def SetExtensionOffset(self, aOffset)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth=False)
def Mirror(self, axis_pos, aMirrorLeftRight=False)
def ChangeUnitsMode(self, aMode)
def GetLineThickness(self)
def SetPrecision(self, aPrecision)
def GetEffectiveShape(self, *args)
def ChangeUnitsFormat(self, aFormat)
def SetStart(self, aPoint)
def SetUnitsMode(self, aMode)
def SetSuffix(self, aSuffix)
def SetExtensionHeight(self, aHeight)
def GetCrossbarStart(self)
def UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
def SetHeight(self, aHeight)
def Mirror(self, axis_pos, aMirrorLeftRight=False)
def __init__(self, aParent, aType=PCB_DIM_ALIGNED_T)
def GetExtensionHeight(self)
def ChangeHeight(self, aHeight)
def ChangeExtensionHeight(self, aHeight)
def __init__(self, aParent)
def __init__(self, aParent)
def ChangeTextBorder(self, aBorder)
def SetTextBorder(self, aBorder)
def __init__(self, aParent)
def SetOrientation(self, aOrientation)
def Mirror(self, axis_pos, aMirrorLeftRight=False)
def SetLeaderLength(self, aLength)
def __init__(self, aParent)
def GetLeaderLength(self)
def ChangeLeaderLength(self, aLength)
def __getitem__(self, *args)
def __init__(self, *args)
def __getslice__(self, i, j)
def __delitem__(self, *args)
def __setslice__(self, *args)
def __setitem__(self, *args)
def __delslice__(self, i, j)
def __init__(self, *args)
def GetName(self, aUseDefaultName=True)
def GetCanonicalName(self)
def IsMandatoryField(self)
def ViewGetLOD(self, aLayer, aView)
def TopLevelGroup(aItem, aScope, isFootprintEditor)
def IsGroupableType(aType)
def WithinScope(aItem, aScope, isFootprintEditor)
def RunOnDescendants(self, aFunction, aDepth=0)
def RemoveItem(self, aItem)
def __init__(self, aParent)
def GetItems(self, *args)
def ViewGetLOD(self, aLayer, aView)
def GetEffectiveShape(self, *args)
def FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties=None)
def FootprintExists(self, aLibraryPath, aFootprintName, aProperties=None)
def Parse(self, aClipboardSourceInput)
def GetStringOutput(self, doClear)
def SaveBoard(self, aFileName, aBoard, aProperties=None)
def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None)
def DeleteLibrary(self, aLibraryPath, aProperties=None)
def GetLibraryFileDesc(self)
def GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties=None)
def FootprintSave(self, aLibraryPath, aFootprint, aProperties=None)
def DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount)
def FootprintDelete(self, aLibraryPath, aFootprintName, aProperties=None)
def __init__(self, *args)
def IsLibraryWritable(self, aLibraryPath)
def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None)
def ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties=None)
def Format(self, aItem, aNestLevel=0)
def CreateLibrary(self, aLibraryPath, aProperties=None)
def SetOutputFormatter(self, aFormatter)
def GuessPluginTypeFromLibPath(aLibPath, aCtl=0)
def PluginFind(aFileType)
def FindPluginTypeFromBoardPath(aFileName, aCtl=0)
def EnumFromStr(aFileType)
def ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath)
def Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None)
def Save(aFileType, aFileName, aBoard, aProperties=None)
def FootprintExists(self, aLibraryPath, aFootprintName, aProperties=None)
def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None)
def footprintPyEnumerate(self, aLibraryPath, aExitOnError)
def CanReadBoard(self, aFileName)
def __init__(self, *args, **kwargs)
def GetBoardFileDesc(self)
def GetLibraryOptions(self, aListToAppendTo)
def IsFootprintLibWritable(self, aLibraryPath)
def PrefetchLib(self, aLibraryPath, aProperties=None)
def FootprintDelete(self, aLibraryPath, aFootprintName, aProperties=None)
def FootprintLibDelete(self, aLibraryPath, aProperties=None)
def FootprintLibCreate(self, aLibraryPath, aProperties=None)
def LoadBoard(self, aFileName, aAppendToMe, aProperties=None, aProject=None)
def GetImportedCachedLibraryFootprints(self)
def SetQueryUserCallback(self, aCallback)
def GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties=None)
def SaveBoard(self, aFileName, aBoard, aProperties=None)
def ImportFootprint(self, aFootprintPath, aFootprintNameOut, aProperties=None)
def GetLibraryTimestamp(self, aLibraryPath)
def FootprintSave(self, aLibraryPath, aFootprint, aProperties=None)
def FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties=None)
def CanReadFootprint(self, aFileName)
def __init__(self, aItem, aPos, aLayer=F_Cu)
def SetZoom(self, aZoomFactor)
def HitTest(self, aPosition, aAccuracy=0)
def GetEffectiveShape(self, *args)
def SetFineScaleAdjustY(self, aVal)
def GetDashedLineGapRatio(self)
def GetPlotViaOnMaskLayer(self)
def GetDrillMarksType(self)
def GetDisableGerberMacros(self)
def GetPlotReference(self)
def SetPlotReference(self, aFlag)
def SetLayerSelection(self, aSelection)
def GetLayerSelection(self)
def GetUseGerberX2format(self)
def SetColorSettings(self, aSettings)
def SetDashedLineGapRatio(self, aVal)
def SetA4Output(self, aForce)
def SetWidthAdjust(self, aVal)
def GetSketchPadsOnFabLayers(self)
def SetUseGerberProtelExtensions(self, aUse)
def SetUseGerberAttributes(self, aUse)
def SetSketchPadLineWidth(self, aWidth)
def SetDXFPlotUnits(self, aUnit)
def GetFineScaleAdjustY(self)
def GetSketchPadLineWidth(self)
def SetFormat(self, aFormat)
def SetSkipPlotNPTH_Pads(self, aSkip)
def SetPlotMode(self, aPlotMode)
def SetScaleSelection(self, aSelection)
def SetFineScaleAdjustX(self, aVal)
def SetBlackAndWhite(self, blackAndWhite)
def GetScaleSelection(self)
def SetHPGLPenNum(self, aVal)
def SetDashedLineDashRatio(self, aVal)
def GetGerberPrecision(self)
def SetUseGerberX2format(self, aUse)
def SetTextMode(self, aVal)
def SetPlotViaOnMaskLayer(self, aFlag)
def GetPlotInvisibleText(self)
def SetSvgPrecision(self, aPrecision)
def SetPlotFPText(self, aFlag)
def IsSameAs(self, aPcbPlotParams)
def SetUseAuxOrigin(self, aAux)
def SetSubtractMaskFromSilk(self, aSubtract)
def SetAutoScale(self, aFlag)
def GetPlotFrameRef(self)
def GetDXFPlotPolygonMode(self)
def GetIncludeGerberNetlistInfo(self)
def SetMirror(self, aFlag)
def GetSvgPrecision(self)
def GetUseAuxOrigin(self)
def SetDrillMarksType(self, aVal)
def GetFineScaleAdjustX(self)
def GetCreateGerberJobFile(self)
def GetOutputDirectory(self)
def GetHPGLPenSpeed(self)
def SetPlotFrameRef(self, aFlag)
def SetPlotInvisibleText(self, aFlag)
def GetDXFPlotUnits(self)
def GetDashedLineDashRatio(self)
def SetPlotOnAllLayersSelection(self, aSelection)
def SetIncludeGerberNetlistInfo(self, aUse)
def SetDisableGerberMacros(self, aDisable)
def SetCreateGerberJobFile(self, aCreate)
def SetGerberPrecision(self, aPrecision)
def SetSketchPadsOnFabLayers(self, aFlag)
def GetHPGLPenDiameter(self)
def GetBlackAndWhite(self)
def GetUseGerberProtelExtensions(self)
def GetSubtractMaskFromSilk(self)
def SetDXFPlotPolygonMode(self, aFlag)
def GetPlotOnAllLayersSelection(self)
def SetOutputDirectory(self, aDir)
def SetHPGLPenSpeed(self, aValue)
def Format(self, aFormatter, aNestLevel, aControl=0)
def SetPlotValue(self, aFlag)
def SetNegative(self, aFlag)
def SetHPGLPenDiameter(self, aValue)
def GetSkipPlotNPTH_Pads(self)
def __init__(self, *args)
def ReadImageFile(self, *args)
def GetEffectiveShape(self, *args)
def SetImageScale(self, aScale)
def ViewGetLOD(self, aLayer, aView)
def GetEffectiveShape(self, *args)
def __init__(self, *args)
def GetConnectionPoints(self)
def ViewGetLOD(self, aLayer, aView)
def SetIsProxyItem(self, aIsProxy=True)
def GetFriendlyName(self)
def GetArcAngleStart(self)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def Mirror(self, aCentre, aMirrorAroundXAxis)
def GetEffectiveShape(self, *args)
def __init__(self, *args)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def SetWidth(self, aWidth)
def SetShape(self, aShape)
def GetEffectiveShape(self, *args)
def SetBorderWidth(self, aSize)
def GetAnchorAndOppositeCorner(self)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth=False)
def GetDrawPos(self, *args)
def ViewGetLOD(self, aLayer, aView)
def GetFriendlyName(self)
def SetBorderEnabled(self, enabled)
def __init__(self, parent)
def IsBorderEnabled(self)
def GetShownText(self, aAllowExtraText, aDepth=0)
def TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
def GetShownText(self, aAllowExtraText, aDepth=0)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aIgnoreLineWidth=False)
def GetTextTypeDescription(self)
def Mirror(self, aCentre, aMirrorAroundXAxis)
def __init__(self, *args)
def TextHitTest(self, *args)
def TransformTextToPolySet(self, aBuffer, aClearance, aMaxError, aErrorLoc)
def GetEffectiveShape(self, *args)
def ViewGetLOD(self, aLayer, aView)
def __init__(self, aParent, idtype=PCB_TRACE_T)
def GetEffectiveShape(self, *args)
def IsPointOnEnds(self, point, min_dist=0)
def ApproxCollinear(self, aTrack)
def SetWidth(self, aWidth)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def GetEndPoint(self, aEndPoint)
def SetStart(self, aStart)
def Mirror(self, aCentre, aMirrorAroundXAxis)
def ViewGetLOD(self, aLayer, aView)
def GetWidthConstraint(self, aSource=None)
def LayerPair(self, top_layer, bottom_layer)
def SetKeepStartEnd(self, aSet)
def GetOutermostConnectedLayers(self, aTopmost, aBottommost)
def GetMinAnnulus(self, aLayer, aSource)
def ConditionallyFlashed(self, aLayer)
def GetKeepStartEnd(self)
def SetViaType(self, aViaType)
def SetZoneLayerOverride(self, aLayer, aOverride)
def GetDrillConstraint(self, aSource=None)
def GetRemoveUnconnected(self)
def ViewGetLOD(self, aLayer, aView)
def SetDrill(self, aDrill)
def GetWidthConstraint(self, aSource=None)
def GetSolderMaskExpansion(self)
def SetBottomLayer(self, aLayer)
def FlashLayer(self, *args)
def ClearZoneLayerOverrides(self)
def __init__(self, *args)
def SetRemoveUnconnected(self, aSet)
def GetEffectiveShape(self, *args)
def GetZoneLayerOverride(self, aLayer)
def SetDrillDefault(self)
def SetLayerPair(self, aTopLayer, aBottomLayer)
def SetTopLayer(self, aLayer)
def SetIsFree(self, aFree=True)
def GetFootprintCount(self)
def __init__(self, aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aExcludeDNP, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX)
def GenPositionData(self)
def FlashPadTrapez(self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
def Bookmark(self, *args)
def SetNegative(self, aNegative)
def SetTextMode(self, mode)
def SetRenderSettings(self, aSettings)
def FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
def SetCurrentLineWidth(self, width, aData=None)
def FlashPadOval(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
def ThickRect(self, p1, p2, width, tracemode, aData)
def ThickCircle(self, pos, diametre, width, tracemode, aData)
def GetPlotOffsetUserUnits(self)
def Marker(self, position, diametre, aShapeId)
def SetCreator(self, aCreator)
def EndBlock(self, aData)
def StartBlock(self, aData)
def SetViewport(self, aOffset, aIusPerDecimil, aScale, aMirror)
def Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aFontMetrics, aData=None)
def HyperlinkBox(self, aBox, aDestinationURL)
def PenTo(self, pos, plume)
def ClearHeaderLinesList(self)
def GetPlotterArcLowDef(self)
def PlotPoly(self, *args)
def StartPlot(self, aPageNumber)
def FlashRegularPolygon(self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData)
def FlashPadCustom(self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData)
def BezierCurve(self, *args)
def PlotText(self, aPos, aColor, aText, aAttributes, aFont, aFontMetrics, aData=None)
def GetCurrentLineWidth(self)
def FlashPadRoundRect(self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
def PlotImage(self, aImage, aPos, aScaleFactor)
def ThickArc(self, *args)
def SetPageSettings(self, aPageSettings)
def SetDash(self, aLineWidth, aLineStyle)
def AddLineToHeader(self, aExtraString)
def SetSvgCoordinatesFormat(self, aPrecision)
def HyperlinkMenu(self, aBox, aDestURLs)
def FlashPadCircle(self, aPadPos, aDiameter, aTraceMode, aData)
def SetLayerPolarity(self, aPositive)
def SetColor(self, color)
def FilledCircle(self, pos, diametre, tracemode, aData)
def GetPlotterArcHighDef(self)
def ThickSegment(self, start, end, width, tracemode, aData)
def GetIUsPerDecimil(self)
def SetTitle(self, aTitle)
def __init__(self, *args, **kwargs)
def OpenFile(self, aFullFilename)
def SetColorMode(self, aColorMode)
def SetGerberCoordinatesFormat(self, aResolution, aUseInches=False)
def OpenPlotfile(self, *args)
def __init__(self, aBoard)
def SetColorMode(self, aColorMode)
def SetLayer(self, aLayer)
def GetPlotFileName(self)
def PlotLayers(self, aLayerSequence)
def register_action(wizard)
def deregister_action(wizard)
def Collide(self, aSeg, aClearance, aActual=None)
def LineProject(self, aP)
def Contains(self, *args)
def ReflectPoint(self, aP)
def LineDistance(self, aP, aDetermineSide=False)
def CanonicalCoefs(self, qA, qB, qC)
def __init__(self, *args)
def Intersects(self, aSeg)
def SquaredDistance(self, *args)
def Collinear(self, aSeg)
def NearestPoint(self, *args)
def Intersect(self, aSeg, aIgnoreEndpoints=False, aLines=False)
def Distance(self, *args)
def ApproxCollinear(self, aSeg, aDistanceThreshold=1)
def ParallelSeg(self, aP)
def IntersectLines(self, aSeg)
def PerpendicularSeg(self, aP)
def ApproxPerpendicular(self, aSeg)
def ApproxParallel(self, aSeg, aDistanceThreshold=1)
def AddNewColorSettings(self, aFilename)
def SetMigrateLibraryTables(self, aMigrate=True)
def GetPreviousVersionPaths(self, aName=None)
def GetPathForSettingsFile(self, aSettings)
def GetColorSettings(self, *args)
def GetColorSettingsList(self)
def SaveColorSettings(self, *args)
def GetProject(self, aFullPath)
def GetColorSettingsPath()
def GetMigratedColorSettings(self)
def IsSettingsPathValid(aPath)
def MigrateIfNeeded(self)
def UnloadProject(self, aProject, aSave=True)
def TriggerBackupIfNeeded(self, aReporter)
def GetCommonSettings(self)
def __init__(self, aHeadless=False)
def GetUserSettingsPath()
def BackupProject(self, aReporter)
def LoadProject(self, aFullPath, aSetActive=True)
def FlushAndRelease(self, aSettings, aSave=True)
def GetOpenProjects(self)
def SaveProjectAs(self, aFullPath, aProject=None)
def SetKiway(self, aKiway)
def SaveProjectCopy(self, aFullPath, aProject=None)
def SetMigrationSource(self, aSource)
def SaveProject(self, *args)
def GetProjectBackupsPath(self)
def ReloadColorSettings(self)
def BBox(self, aClearance=0)
def IntersectLine(self, aSeg, aIpsBuffer)
def SetWidth(self, aWidth)
def Intersect(self, aArc, aIpsBuffer)
def DefaultAccuracyForPCB()
def GetCentralAngle(self)
def ConvertToPolyline(self, *args)
def NearestPoint(self, aP)
def __init__(self, *args, **kwargs)
def ConstructFromStartEndCenter(self, aStart, aEnd, aCenter, aClockwise=False, aWidth=0)
def ConstructFromStartEndAngle(self, aStart, aEnd, aAngle, aWidth=0)
def GetIndexableSubshapes(self, aSubshapes)
def __init__(self, aType)
def GetIndexableSubshapeCount(self)
def HasIndexableSubshapes(self)
def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None)
def SetCenter(self, aCenter)
def __init__(self, *args)
def SetRadius(self, aRadius)
def BBox(self, aClearance=0)
def Format(self, aCplusPlus=True)
def __init__(self, *args)
def BBox(self, aClearance=0)
def Distance(self, *args)
def Format(self, aCplusPlus=True)
def AddShape(self, *args)
def SquaredDistance(self, aP, aOutlineOnly=False)
def GetSegmentCount(self)
def EdgeContainingPoint(self, aP, aAccuracy=0)
def PointOnEdge(self, aP, aAccuracy=0)
def GetSegment(self, aIndex)
def __init__(self, *args, **kwargs)
def GetPoint(self, aIndex)
def PointInside(self, aPt, aAccuracy=0, aUseBBoxCache=False)
def CheckClearance(self, aP, aDist)
def Find(self, aP, aThreshold=0)
def Slice(self, aStartIndex, aEndIndex=-1)
def Format(self, aCplusPlus=True)
def RemoveShape(self, aPointIndex)
def SetPoint(self, aIndex, aPos)
def SelfIntersecting(self)
def NextShape(self, aPointIndex)
def Simplify(self, aMaxError=0)
def ArcIndex(self, aSegment)
def CSegment(self, aIndex)
def SetClosed(self, aClosed)
def IsArcStart(self, aIndex)
def NearestSegment(self, aP)
def Distance(self, *args)
def ReservePoints(self, aSize)
def GenerateBBoxCache(self)
def PointAlong(self, aPathLength)
def SetWidth(self, aWidth)
def IsPtOnArc(self, aPtIndex)
def Intersect(self, *args)
def NearestPoint(self, *args)
def Area(self, aAbsolute=True)
def OffsetLine(self, aAmount, aCornerStrategy, aMaxError, aLeft, aRight, aSimplify=False)
def CompareGeometry(self, aOther)
def BBox(self, aClearance=0)
def RemoveDuplicatePoints(self)
def Intersects(self, aChain)
def IsSharedPt(self, aIndex)
def IsArcSegment(self, aSegment)
def PathLength(self, aP, aIndex=-1)
def IsArcEnd(self, aIndex)
def FindSegment(self, aP, aThreshold=1)
def __init__(self, *args)
def Segment(self, aIndex)
def NormalizeAreaOutlines(self)
def SquaredDistance(self, *args)
def IsTriangulationUpToDate(self)
def Contains(self, aP, aSubpolyIndex=-1, aAccuracy=0, aUseBBoxCaches=False)
def BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation=False, aEvenOdd=False)
def IsPolygonSelfIntersecting(self, aPolygonIndex)
def IsVertexInHole(self, aGlobalIdx)
def VertexCount(self, aOutline=-1, aHole=-1)
def IterateFromVertexWithHoles(self, aGlobalIdx)
def BooleanXor(self, *args)
def FilletPolygon(self, aRadius, aErrorMax, aIndex)
def IsSelfIntersecting(self)
def CollideVertex(self, aPoint, aClosestVertex=None, aClearance=0)
def Fracture(self, aFastMode)
def RemoveAllContours(self)
def SquaredDistanceToSeg(self, aSegment, aNearest=None)
def SetVertex(self, *args)
def HoleCount(self, aOutline)
def CIterateWithHoles(self, *args)
def CloneDropTriangulation(self)
def BooleanAdd(self, *args)
def BuildBBoxCaches(self)
def RemoveNullSegments(self)
def HasTouchingHoles(self)
def Inflate(self, aAmount, aCornerStrategy, aMaxError, aSimplify=False)
def ChamferPolygon(self, aDistance, aIndex)
def NewHole(self, aOutline=-1)
def CacheTriangulation(self, aPartition=True, aSimplify=False)
def OffsetLineChain(self, aLine, aAmount, aCornerStrategy, aMaxError, aSimplify)
def Unfracture(self, aFastMode)
def RemoveContour(self, aContourIdx, aPolygonIdx=-1)
def InflateWithLinkedHoles(self, aFactor, aCornerStrategy, aMaxError, aFastMode)
def Simplify(self, aFastMode)
def AddHole(self, aHole, aOutline=-1)
def SquaredDistanceToPolygon(self, *args)
def IterateSegments(self, *args)
def COutline(self, aIndex)
def BBox(self, aClearance=0)
def InsertVertex(self, aGlobalIndex, aNewVertex)
def AddOutline(self, aOutline)
def __init__(self, *args)
def Hole(self, aOutline, aHole)
def GetNeighbourIndexes(self, aGlobalIndex, aPrevious, aNext)
def IterateSegmentsWithHoles(self, *args)
def GetArcs(self, aArcBuffer)
def RemoveVertex(self, *args)
def UpdateTriangulationDataHash(self)
def PointInside(self, aPt, aAccuracy=0, aUseBBoxCache=False)
def BooleanSubtract(self, *args)
def CPolygon(self, aIndex)
def RebuildHolesFromContours(self)
def Fillet(self, aRadius, aErrorMax)
def Deflate(self, aAmount, aCornerStrategy, aMaxError)
def UnitSet(self, aPolygonIndex)
def CIterateSegmentsWithHoles(self, *args)
def SimplifyOutlines(self, aMaxError=0)
def CHole(self, aOutline, aHole)
def DeletePolygon(self, aIdx)
def GetRelativeIndices(self, aGlobalIdx, aRelativeIndices)
def TriangulatedPolygon(self, aIndex)
def CIterateSegments(self, *args)
def DeletePolygonAndTriangulationData(self, aIdx, aUpdateHash=True)
def BooleanIntersection(self, *args)
def AddPolygon(self, apolygon)
def IterateWithHoles(self, *args)
def Chamfer(self, aDistance)
def Subset(self, aFirstPolygon, aLastPolygon)
def Format(self, aCplusPlus=True)
def TriangulatedPolyCount(self)
def PointOnEdge(self, aP, aAccuracy=0)
def GetGlobalIndex(self, aRelativeIndices, aGlobalIdx)
def CollideEdge(self, aPoint, aClosestVertex=None, aClearance=0)
def CIterate(self, *args)
def __init__(self, *args)
def Format(self, aCplusPlus=True)
def BBox(self, aClearance=0)
def SetWidth(self, aWidth)
def Format(self, aCplusPlus=True)
def BBox(self, aClearance=0)
def __init__(self, *args)
def Is45Degree(self, *args)
def BBox(self, aClearance=0)
def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None)
def CDPoint(self, aIndex)
def __init__(self, *args)
def GetClearance(self, aOther)
def TransformToPolygon(self, aBuffer, aError, aErrorLoc)
def PointInside(self, aPt, aAccuracy=0, aUseBBoxCache=False)
def BBox(self, aClearance=0)
def __init__(self, *args, **kwargs)
def Format(self, aCplusPlus=True)
def SquaredDistance(self, aP, aOutlineOnly=False)
def __init__(self, *args)
def __contains__(self, x)
def __init__(self, *args)
def __init__(self, aFont=None)
def __init__(self, aText, aVisible, aLayer)
def GetComment(self, aIdx)
def GetContextualTextVars(aVars)
def TextVarResolver(self, aToken, aProject)
def Format(self, aFormatter, aNestLevel, aControlBits)
def SetComment(self, aIdx, aComment)
def SetRevision(self, aRevision)
def SetCompany(self, aCompany)
def SetTitle(self, aTitle)
def __delitem__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __getitem__(self, *args)
def __init__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def __delitem__(self, *args)
def __setitem__(self, *args)
def __delslice__(self, i, j)
def __setslice__(self, *args)
def __init__(self, *args)
def __getslice__(self, i, j)
def GetUnitPair(self, aPrimaryUnit, aSecondaryUnits)
def GetOriginTransforms(self)
def MessageTextFromValue(self, *args)
def StringFromValue(self, *args)
def AngleValueFromString(self, aTextValue)
def __init__(self, aIuScale, aUnits)
def MessageTextFromMinOptMax(self, aValue)
def SetUserUnits(self, aUnits)
def ValueFromString(self, *args)
def __init__(self, *args)
def utf8_to_wxstring(self)
def __iadd__(self, *args)
def find_first_of(self, str, pos=0)
def SaveSTEP(self, aFileName)
def Translate(self, aX, aY, aZ)
def __gt__(self, aVector)
def __eq__(self, aVector)
def __truediv__(self, *args)
def __imul__(self, *args)
def __le__(self, aVector)
def __ne__(self, aVector)
def __setitem__(self, index, val)
def __ge__(self, aVector)
def __init__(self, *args)
def SquaredEuclideanNorm(self)
def Resize(self, aNewLength)
def __getitem__(self, index)
def __lt__(self, aVector)
def __iadd__(self, *args)
def __isub__(self, *args)
def __itruediv__(self, *args)
def __setitem__(self, index, val)
def __ne__(self, aVector)
def __getitem__(self, index)
def __eq__(self, aVector)
def __init__(self, *args)
def __init__(self, *args)
def __setslice__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __setslice__(self, *args)
def __getitem__(self, *args)
def __delslice__(self, i, j)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, *args)
def __delslice__(self, i, j)
def __init__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __init__(self, *args)
def __delitem__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def __setslice__(self, *args)
def __setitem__(self, *args)
def __init__(self, *args)
def __delitem__(self, *args)
def __getslice__(self, i, j)
def __setslice__(self, *args)
def __init__(self, *args)
def __setitem__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def GetProgressReporter(self)
def __init__(self, aBoard)
def Fill(self, aZones, aCheck=False, aParent=None)
def SetProgressReporter(self, aReporter)
def SetIsRuleArea(self, aEnable)
def GetDoNotAllowFootprints(self)
def SetCornerRadius(self, aRadius)
def SetupLayersList(self, aList, aFrame, aLayers, aFpEditorMode)
def SetDoNotAllowPads(self, aEnable)
def SetDoNotAllowTracks(self, aEnable)
def GetDoNotAllowTracks(self)
def SetMinIslandArea(self, aArea)
def SetPadConnection(self, aPadConnection)
def GetDoNotAllowCopperPour(self)
def __lshift__(self, aSource)
def GetCornerRadius(self)
def GetPadConnection(self)
def GetIslandRemovalMode(self)
def GetDoNotAllowPads(self)
def ExportSetting(self, aTarget, aFullExport=True)
def GetCornerSmoothingType(self)
def SetCornerSmoothingType(self, aType)
def SetIslandRemovalMode(self, aRemove)
def SetDoNotAllowCopperPour(self, aEnable)
def SetDoNotAllowFootprints(self, aEnable)
def GetDoNotAllowVias(self)
def SetDoNotAllowVias(self, aEnable)
def GetMinIslandArea(self)
def SetLocalClearance(self, aClearance)
def GetMinThickness(self)
def SetPadConnection(self, aPadConnection)
def GetInteractingZones(self, aLayer, aSameNetCollidingZones, aOtherNetIntersectingZones)
def SetNeedRefill(self, aNeedRefill)
def SetBorderDisplayStyle(self, aBorderHatchStyle, aBorderHatchPitch, aRebuilBorderdHatch)
def GetThermalReliefGap(self, *args)
def IterateWithHoles(self)
def SetHatchSmoothingValue(self, aValue)
def SetDoNotAllowPads(self, aEnable)
def GetFill(self, aLayer)
def Mirror(self, aMirrorRef, aMirrorLeftRight)
def GetDoNotAllowCopperPour(self)
def SameNet(self, aOther)
def SetDoNotAllowVias(self, aEnable)
def GetDefaultHatchPitch()
def GetThermalReliefSpokeWidth(self)
def GetDoNotAllowVias(self)
def GetHatchHoleMinArea(self)
def GetDoNotAllowTracks(self)
def SetCornerSmoothingType(self, aType)
def SetMinIslandArea(self, aArea)
def SetDoNotAllowTracks(self, aEnable)
def CIterateWithHoles(self)
def GetTeardropAreaType(self)
def GetCornerRadius(self)
def GetSelectedCorner(self)
def GetIslandRemovalMode(self)
def GetEffectiveShape(self, *args)
def SetHatchThickness(self, aThickness)
def AddPolygon(self, *args)
def HigherPriority(self, aOther)
def SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth)
def SetTeardropAreaType(self, aType)
def SetCornerRadius(self, aRadius)
def SetHatchStyle(self, aStyle)
def GetBorderHatchPitch(self)
def GetHashValue(self, aLayer)
def CacheBoundingBox(self)
def SetZoneName(self, aName)
def GetHatchSmoothingLevel(self)
def BuildSmoothedPoly(self, aSmoothedPoly, aLayer, aBoardOutline, aSmoothedPolyWithApron=None)
def SetHatchBorderAlgorithm(self, aAlgo)
def SetFillMode(self, aFillMode)
def GetLocalClearance(self, *args)
def HasFilledPolysForLayer(self, aLayer)
def CalculateOutlineArea(self)
def SetHatchHoleMinArea(self, aPct)
def GetPadConnection(self)
def ViewGetLOD(self, aLayer, aView)
def GetAssignedPriority(self)
def GetCornerSmoothingType(self)
def SetBorderHatchPitch(self, aPitch)
def SetCornerPosition(self, aCornerIndex, new_pos)
def InitDataFromSrcInCopyCtor(self, aZone)
def GetCornerPosition(self, aCornerIndex)
def HitTestForCorner(self, refPos, aAccuracy, aCornerHit=None)
def CalculateFilledArea(self)
def SetAssignedPriority(self, aPriority)
def GetHatchOrientation(self)
def SetFilledPolysList(self, aLayer, aPolysList)
def TransformSmoothedOutlineToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, aBoardOutline)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def __init__(self, *args)
def GetMinIslandArea(self)
def SetHatchOrientation(self, aStep)
def HitTestForEdge(self, refPos, aAccuracy, aCornerHit=None)
def RemoveCutout(self, aOutlineIdx, aHoleIdx)
def GetFilledPolysList(self, aLayer)
def TransformSolidAreasShapesToPolygon(self, aLayer, aBuffer)
def SetMinThickness(self, aMinThickness)
def SetHatchGap(self, aStep)
def SetFillFlag(self, aLayer, aFlag)
def MoveEdge(self, offset, aEdge)
def GetHatchSmoothingValue(self)
def SetOutline(self, aOutline)
def GetDoNotAllowPads(self)
def BuildHashValue(self, aLayer)
def SetIsRuleArea(self, aEnable)
def GetHatchThickness(self)
def HitTestCutout(self, aRefPos, aOutlineIdx=None, aHoleIdx=None)
def SetThermalReliefGap(self, aThermalReliefGap)
def SetIsFilled(self, isFilled)
def IsIsland(self, aLayer, aPolyIdx)
def CacheTriangulation(self, aLayer=UNDEFINED_LAYER)
def SetSelectedCorner(self, aCorner)
def SetIslandRemovalMode(self, aRemove)
def GetFillFlag(self, aLayer)
def GetDoNotAllowFootprints(self)
def SetIsIsland(self, aLayer, aPolyIdx)
def AppendCorner(self, aPosition, aHoleIdx, aAllowDuplication=False)
def GetHatchBorderAlgorithm(self)
def SetLocalFlags(self, aFlags)
def SetDoNotAllowFootprints(self, aEnable)
def RemoveAllContours(self)
def HitTestFilledArea(self, aLayer, aRefPos, aAccuracy=0)
def SetHatchSmoothingLevel(self, aLevel)
def SetDoNotAllowCopperPour(self, aEnable)
def __delitem__(self, *args)
def __getitem__(self, *args)
def __setslice__(self, *args)
def __delslice__(self, i, j)
def __init__(self, *args)
def __setitem__(self, *args)
def __getslice__(self, i, j)
def __call__(self, itemA, itemB)
def __call__(self, aFirst, aSecond)
def __call__(self, aFirst, aSecond)
def __call__(self, aFirst, aSecond)
def __setslice__(self, *args)
def __delslice__(self, i, j)
def __getslice__(self, i, j)
def __delitem__(self, *args)
def __setitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, *args)
def __setitem__(self, *args)
def __getitem__(self, key)
def __init__(self, *args)
def __delitem__(self, key)
def __contains__(self, key)
def __setitem__(self, *args)
def __delitem__(self, key)
def __init__(self, *args)
def __getitem__(self, key)
def __contains__(self, key)
def __delitem__(self, *args)
def find_last_of(self, *args)
def __getitem__(self, *args)
def __setitem__(self, *args)
def reserve(self, __res_arg=0)
def __init__(self, *args)
def __rlshift__(self, out)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def copy(self, __s, __n, __pos=0)
def find_first_of(self, *args)
def find_last_not_of(self, *args)
def find_first_not_of(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __delslice__(self, i, j)
def __setitem__(self, *args)
def __setslice__(self, *args)
def __getitem__(self, *args)
def __init__(self, *args)
def __delitem__(self, *args)
def __init__(self, *args)
def __getitem__(self, index)
def __setitem__(self, index, val)
def __getitem__(self, index)
def __init__(self, *args)
def __setitem__(self, index, val)
def __getitem__(self, index)
def __init__(self, *args)
def __setitem__(self, index, val)
def Scale(self, xscale, yscale)
def IsValidLayer(aLayerId)
def PCB_TRACK_ClassOf(aItem)
def FormatInternalUnits(*args)
def EnsureFileExtension(aFilename, aExtension)
def LSET_SideSpecificMask()
def Cast_to_PCB_DIM_RADIAL(arg1)
def Cast_to_SHAPE_ARC(_self)
def MessageTextFromMinOptMax(aIuScale, aUnits, aValue)
def PCB_REFERENCE_IMAGE_ClassOf(aItem)
def FootprintLibDelete(libname)
def FootprintDelete(libname, name)
def PAD_UnplatedHoleMask()
def GetWizardsSearchPaths()
def BOARD_CONNECTED_ITEM_ClassOf(aItem)
def Cast_to_PCB_MARKER(arg1)
def KIID_CreateNilUuids(aNil=True)
def LoadPlugins(bundlepath=None, userpath=None, thirdpartypath=None)
def MessageTextFromValue(*args)
def KIID_SeedGenerator(aSeed)
def GAL_SET_DefaultVisible()
def NETINFO_LIST_OrphanedItem()
def ResolveUriByEnvVars(aUri, aProject)
def PCB_DIM_LEADER_ClassOf(aItem)
def IsGerbviewType(aType)
def EDA_TEXT_IsGotoPageHref(aHref, aDestination=None)
def SetOpenGLInfo(aRenderer, aVendor, aVersion)
def PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
def Cast_to_PCB_DIM_ORTHOGONAL(arg1)
def EDA_ANGLE_Arctan2(y, x)
def FOOTPRINT_GetCoverageArea(aItem, aCollector)
def Cast_to_SHAPE_CIRCLE(_self)
def wxPointMils(mmx, mmy)
def FootprintIsWritable(libname)
def FootprintLibCreate(libname)
def FOOTPRINT_ClassOf(aItem)
def SearchHelpFileFullPath(aBaseName)
def VECTOR2I_MM(mmx, mmy)
def LAYER_ParseType(aType)
def PCB_IO_MGR_ShowType(aFileType)
def IsViaPadLayer(aLayer)
def IsZoneFillLayer(aLayer)
def PLACE_FILE_EXPORTER_GetBackSideName()
def IsTypeAvailable(aType)
def FlipLayer(aLayerId, aCopperLayersCount=0)
def LIB_ID_FixIllegalChars(aLibItemName, aLib)
def Cast_to_PCB_TEXT(arg1)
def wxRectMils(x, y, wx, wy)
def FetchUnitsFromString(aTextValue, aUnits)
def PCB_VIA_ClassOf(aItem)
def Cast_to_SHAPE_SIMPLE(_self)
def PCB_DIM_CENTER_ClassOf(aItem)
def EDA_TEXT_GotoPageHref(aDestination)
def PAD_SHAPE_T_asString(a)
def EDA_TEXT_MapHorizJustify(aHorizJustify)
def PYTHON_ACTION_PLUGINS_deregister_action(wizard)
def LSET_PhysicalLayersMask()
def InvokeRuleAreaEditor(aCaller, aSettings, aConvertSettings=None)
def PAD_Compare(aPadRef, aPadCmp)
def PCB_IO_MGR_EnumFromStr(aFileType)
def ExpandTextVars(*args)
def KIID_SniffTest(aCandidate)
def PCB_DIM_ALIGNED_ClassOf(aItem)
def NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
def PCB_SHAPE_ClassOf(aItem)
def Cast_to_PCB_TARGET(arg1)
def wxRectMM(x, y, wx, wy)
def PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
def IsInstantiableType(aType)
def IsNetCopperLayer(aLayer)
def PCB_IO_MGR_FindPluginTypeFromBoardPath(aFileName, aCtl=0)
def PCB_GROUP_ClassOf(aItem)
def ZONE_SETTINGS_GetDefaultSettings()
def EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter=None)
def SETTINGS_MANAGER_GetSettingsVersion()
def SETTINGS_MANAGER_GetUserSettingsPath()
def UpdateUserInterface()
def FootprintLoad(libname, name, preserveUUID=False)
def FootprintEnumerate(libname)
def LSET_BackBoardTechMask()
def PlotDrawingSheet(*args)
def __lshift__(aStream, aColor)
def Mils2IU(aIuScale, mils)
def PYTHON_ACTION_PLUGINS_register_action(wizard)
def GetVersionInfoData(aTitle, aHtml=False, aBrief=False)
def GetMajorMinorVersion()
def FocusOnItem(aItem, aLayer=UNDEFINED_LAYER)
def PCB_FIELD_ClassOf(aItem)
def IsNetnameLayer(aLayer)
def COLOR4D_FindNearestLegacyColor(aR, aG, aB)
def PCB_IO_MGR_Save(aFileType, aFileName, aBoard, aProperties=None)
def LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
def LAYER_ShowType(aType)
def Cast_to_SHAPE_POLY_SET(_self)
def ExportSpecctraDSN(*args)
def InvokeCopperZonesEditor(aCaller, aSettings, aConvertSettings=None)
def EDA_ITEM_Sort(aLeft, aRight)
def GetMajorMinorPatchTuple()
def SHAPE_ARC_DefaultAccuracyForPCB()
def GetCurrentSelection()
def wxGetDefaultPyEncoding()
def IsImperialUnit(aUnit)
def SaveBoard(aFileName, aBoard, aSkipSettings=False)
def PrintZoneConnection(aConnection)
def IsEeschemaType(aType)
def Cast_to_SHAPE_RECT(_self)
def FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
def LSET_AllBoardTechMask()
def PCB_TEXTBOX_ClassOf(aItem)
def Cast_to_PCB_TRACK(arg1)
def Cast_to_SHAPE_SEGMENT(_self)
def PutOnGridMM(value, gridSizeMM)
def InvokeNonCopperZonesEditor(aParent, aSettings, aConvertSettings=None)
def PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
def Cast_to_SHAPE_COMPOUND(_self)
def LSET_ForbiddenFootprintLayers()
def PCB_TEXT_ClassOf(aItem)
def LSET_AllCuMask(*args)
def DoubleValueFromString(*args)
def IsFrontLayer(aLayerId)
def Cast_to_FOOTPRINT(arg1)
def StringFromValue(*args)
def EDA_TEXT_ValidateHyperlink(aURL)
def ImportSpecctraSES(*args)
def BOARD_GetStandardLayerName(aLayerId)
def TITLE_BLOCK_GetContextualTextVars(aVars)
def PCB_GROUP_IsGroupableType(aType)
def ValueFromString(*args)
def PCB_TARGET_ClassOf(aItem)
def Cast_to_PCB_DIM_CENTER(arg1)
def ExportFootprintsToLibrary(*args)
def PutOnGridMils(value, gridSizeMils)
def ZONE_GetDefaultHatchPitch()
def Cast_to_PCB_REFERENCE_IMAGE(arg1)
def IsUserLayer(aLayerId)
def PCB_IO_MGR_Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None)
def GetMajorMinorPatchVersion()
def LSET_ExternalCuMask()
def IsPageLayoutEditorType(aType)
def PCB_IO_MGR_ConvertLibrary(aOldFileProps, aOldFilePath, aNewFilePath)
def ExportVRML(aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
def SHAPE_TYPE_asString(a)
def VECTOR2I_Mils(mmx, mmy)
def EDA_TEXT_MapVertJustify(aVertJustify)
def Cast_to_PCB_VIA(arg1)
def TimestampDir(aDirPath, aFilespec)
def GetFootprints(aNickName)
def WriteDRCReport(aBoard, aFileName, aUnits, aReportAllTrackErrors)
def PCB_IO_MGR_PluginFind(aFileType)
def LSET_FrontBoardTechMask()
def FP_CACHE_GetTimestamp(aLibPath)
def GetNetnameLayer(aLayer)
def PCB_IO_MGR_GuessPluginTypeFromLibPath(aLibPath, aCtl=0)
def Cast_to_PCB_ARC(arg1)
def Cast_to_PCB_SHAPE(arg1)
def NETINFO_ITEM_ClassOf(aItem)
def PCB_ARC_ClassOf(aItem)
def GetPluginForPath(libname)
def IsBackLayer(aLayerId)
def LIB_ID_HasIllegalChars(aLibItemName)
def Cast_to_PCB_DIM_LEADER(arg1)
def Cast_to_PCB_GROUP(arg1)
def FOOTPRINT_IsLibNameValid(aName)
def FlipLayerMask(aMask, aCopperLayersCount=0)
def PCB_MARKER_Deserialize(data)
def LSET_UserDefinedLayers()
def ExpandEnvVarSubstitutions(aString, aProject)
def wxSetDefaultPyEncoding(encoding)
def WarnUserIfOperatingSystemUnsupported()
def SafeReadFile(aFilePath, aReadType)
def DELETED_BOARD_ITEM_GetInstance()
def GetFootprintLibraries()
def SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation=False, aEvenOdd=False)
def Cast_to_SHAPE_LINE_CHAIN(_self)
def IsNonCopperLayer(aLayerId)
def GetWizardsBackTrace()
def LSET_InternalCuMask()
def SETTINGS_MANAGER_GetColorSettingsPath()
def PCB_MARKER_ClassOf(aItem)
def PCB_DIM_ORTHOGONAL_ClassOf(aItem)
def LoadPluginModule(Dirname, ModuleName, FileName)
def NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
def PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
def GetDefaultPlotExtension(aFormat)
def GetPlatformGetBitnessName()
def PLACE_FILE_EXPORTER_GetFrontSideName()
def ToUserUnit(aIuScale, aUnit, aValue)
def Cast_to_PCB_TEXTBOX(arg1)
def UTILS_STEP_MODEL_LoadSTEP(aFileName)
def Cast_to_PCB_DIM_ALIGNED(arg1)
def Cast_to_BOARD_ITEM(base)
def FootprintSave(libname, module)
def SETTINGS_MANAGER_IsSettingsPathValid(aPath)
def FromUserUnit(aIuScale, aUnit, aValue)
def PCB_DIM_RADIAL_ClassOf(aItem)