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"""__iadd__(KIID_PATH self, KIID_PATH aRhs) -> KIID_PATH"""
1342 return _pcbnew.KIID_PATH___iadd__(self, aRhs)
1343 __swig_destroy__ = _pcbnew.delete_KIID_PATH
1346_pcbnew.KIID_PATH_swigregister(KIID_PATH)
1349 r"""Proxy of C++ KIID_NIL_SET_RESET class."""
1351 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1352 __repr__ = _swig_repr
1355 r"""__init__(KIID_NIL_SET_RESET self) -> KIID_NIL_SET_RESET"""
1356 _pcbnew.KIID_NIL_SET_RESET_swiginit(self, _pcbnew.new_KIID_NIL_SET_RESET())
1357 __swig_destroy__ = _pcbnew.delete_KIID_NIL_SET_RESET
1360_pcbnew.KIID_NIL_SET_RESET_swigregister(KIID_NIL_SET_RESET)
1362NOT_USED = _pcbnew.NOT_USED
1364TYPE_NOT_INIT = _pcbnew.TYPE_NOT_INIT
1366PCB_T = _pcbnew.PCB_T
1368SCREEN_T = _pcbnew.SCREEN_T
1370PCB_FOOTPRINT_T = _pcbnew.PCB_FOOTPRINT_T
1372PCB_PAD_T = _pcbnew.PCB_PAD_T
1374PCB_SHAPE_T = _pcbnew.PCB_SHAPE_T
1376PCB_BITMAP_T = _pcbnew.PCB_BITMAP_T
1378PCB_TEXT_T = _pcbnew.PCB_TEXT_T
1380PCB_TEXTBOX_T = _pcbnew.PCB_TEXTBOX_T
1382PCB_FP_TEXT_T = _pcbnew.PCB_FP_TEXT_T
1384PCB_FP_TEXTBOX_T = _pcbnew.PCB_FP_TEXTBOX_T
1386PCB_FP_SHAPE_T = _pcbnew.PCB_FP_SHAPE_T
1388PCB_FP_DIM_ALIGNED_T = _pcbnew.PCB_FP_DIM_ALIGNED_T
1390PCB_FP_DIM_LEADER_T = _pcbnew.PCB_FP_DIM_LEADER_T
1392PCB_FP_DIM_CENTER_T = _pcbnew.PCB_FP_DIM_CENTER_T
1394PCB_FP_DIM_RADIAL_T = _pcbnew.PCB_FP_DIM_RADIAL_T
1396PCB_FP_DIM_ORTHOGONAL_T = _pcbnew.PCB_FP_DIM_ORTHOGONAL_T
1398PCB_FP_ZONE_T = _pcbnew.PCB_FP_ZONE_T
1400PCB_TRACE_T = _pcbnew.PCB_TRACE_T
1402PCB_VIA_T = _pcbnew.PCB_VIA_T
1404PCB_ARC_T = _pcbnew.PCB_ARC_T
1406PCB_MARKER_T = _pcbnew.PCB_MARKER_T
1408PCB_DIMENSION_T = _pcbnew.PCB_DIMENSION_T
1410PCB_DIM_ALIGNED_T = _pcbnew.PCB_DIM_ALIGNED_T
1412PCB_DIM_LEADER_T = _pcbnew.PCB_DIM_LEADER_T
1414PCB_DIM_CENTER_T = _pcbnew.PCB_DIM_CENTER_T
1416PCB_DIM_RADIAL_T = _pcbnew.PCB_DIM_RADIAL_T
1418PCB_DIM_ORTHOGONAL_T = _pcbnew.PCB_DIM_ORTHOGONAL_T
1420PCB_TARGET_T = _pcbnew.PCB_TARGET_T
1422PCB_ZONE_T = _pcbnew.PCB_ZONE_T
1424PCB_ITEM_LIST_T = _pcbnew.PCB_ITEM_LIST_T
1426PCB_NETINFO_T = _pcbnew.PCB_NETINFO_T
1428PCB_GROUP_T = _pcbnew.PCB_GROUP_T
1430PCB_LOCATE_STDVIA_T = _pcbnew.PCB_LOCATE_STDVIA_T
1432PCB_LOCATE_UVIA_T = _pcbnew.PCB_LOCATE_UVIA_T
1434PCB_LOCATE_BBVIA_T = _pcbnew.PCB_LOCATE_BBVIA_T
1436PCB_LOCATE_TEXT_T = _pcbnew.PCB_LOCATE_TEXT_T
1438PCB_LOCATE_GRAPHIC_T = _pcbnew.PCB_LOCATE_GRAPHIC_T
1440PCB_LOCATE_HOLE_T = _pcbnew.PCB_LOCATE_HOLE_T
1442PCB_LOCATE_PTH_T = _pcbnew.PCB_LOCATE_PTH_T
1444PCB_LOCATE_NPTH_T = _pcbnew.PCB_LOCATE_NPTH_T
1446PCB_LOCATE_BOARD_EDGE_T = _pcbnew.PCB_LOCATE_BOARD_EDGE_T
1448PCB_SHAPE_LOCATE_SEGMENT_T = _pcbnew.PCB_SHAPE_LOCATE_SEGMENT_T
1450PCB_SHAPE_LOCATE_RECT_T = _pcbnew.PCB_SHAPE_LOCATE_RECT_T
1452PCB_SHAPE_LOCATE_CIRCLE_T = _pcbnew.PCB_SHAPE_LOCATE_CIRCLE_T
1454PCB_SHAPE_LOCATE_ARC_T = _pcbnew.PCB_SHAPE_LOCATE_ARC_T
1456PCB_SHAPE_LOCATE_POLY_T = _pcbnew.PCB_SHAPE_LOCATE_POLY_T
1458PCB_SHAPE_LOCATE_BEZIER_T = _pcbnew.PCB_SHAPE_LOCATE_BEZIER_T
1460SCH_MARKER_T = _pcbnew.SCH_MARKER_T
1462SCH_JUNCTION_T = _pcbnew.SCH_JUNCTION_T
1464SCH_NO_CONNECT_T = _pcbnew.SCH_NO_CONNECT_T
1466SCH_BUS_WIRE_ENTRY_T = _pcbnew.SCH_BUS_WIRE_ENTRY_T
1468SCH_BUS_BUS_ENTRY_T = _pcbnew.SCH_BUS_BUS_ENTRY_T
1470SCH_LINE_T = _pcbnew.SCH_LINE_T
1472SCH_SHAPE_T = _pcbnew.SCH_SHAPE_T
1474SCH_BITMAP_T = _pcbnew.SCH_BITMAP_T
1476SCH_TEXTBOX_T = _pcbnew.SCH_TEXTBOX_T
1478SCH_TEXT_T = _pcbnew.SCH_TEXT_T
1480SCH_LABEL_T = _pcbnew.SCH_LABEL_T
1482SCH_GLOBAL_LABEL_T = _pcbnew.SCH_GLOBAL_LABEL_T
1484SCH_HIER_LABEL_T = _pcbnew.SCH_HIER_LABEL_T
1486SCH_DIRECTIVE_LABEL_T = _pcbnew.SCH_DIRECTIVE_LABEL_T
1488SCH_FIELD_T = _pcbnew.SCH_FIELD_T
1490SCH_SYMBOL_T = _pcbnew.SCH_SYMBOL_T
1492SCH_SHEET_PIN_T = _pcbnew.SCH_SHEET_PIN_T
1494SCH_SHEET_T = _pcbnew.SCH_SHEET_T
1496SCH_PIN_T = _pcbnew.SCH_PIN_T
1498SCH_FIELD_LOCATE_REFERENCE_T = _pcbnew.SCH_FIELD_LOCATE_REFERENCE_T
1500SCH_FIELD_LOCATE_VALUE_T = _pcbnew.SCH_FIELD_LOCATE_VALUE_T
1502SCH_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.SCH_FIELD_LOCATE_FOOTPRINT_T
1504SCH_FIELD_LOCATE_DATASHEET_T = _pcbnew.SCH_FIELD_LOCATE_DATASHEET_T
1506SCH_ITEM_LOCATE_WIRE_T = _pcbnew.SCH_ITEM_LOCATE_WIRE_T
1508SCH_ITEM_LOCATE_BUS_T = _pcbnew.SCH_ITEM_LOCATE_BUS_T
1510SCH_ITEM_LOCATE_GRAPHIC_LINE_T = _pcbnew.SCH_ITEM_LOCATE_GRAPHIC_LINE_T
1512SCH_LABEL_LOCATE_ANY_T = _pcbnew.SCH_LABEL_LOCATE_ANY_T
1514SCH_LABEL_LOCATE_WIRE_T = _pcbnew.SCH_LABEL_LOCATE_WIRE_T
1516SCH_LABEL_LOCATE_BUS_T = _pcbnew.SCH_LABEL_LOCATE_BUS_T
1518SCH_SYMBOL_LOCATE_POWER_T = _pcbnew.SCH_SYMBOL_LOCATE_POWER_T
1520SCH_LOCATE_ANY_T = _pcbnew.SCH_LOCATE_ANY_T
1522SCH_SCREEN_T = _pcbnew.SCH_SCREEN_T
1524SCHEMATIC_T = _pcbnew.SCHEMATIC_T
1526LIB_SYMBOL_T = _pcbnew.LIB_SYMBOL_T
1528LIB_SHAPE_T = _pcbnew.LIB_SHAPE_T
1530LIB_TEXT_T = _pcbnew.LIB_TEXT_T
1532LIB_TEXTBOX_T = _pcbnew.LIB_TEXTBOX_T
1534LIB_PIN_T = _pcbnew.LIB_PIN_T
1536LIB_FIELD_T = _pcbnew.LIB_FIELD_T
1538GERBER_LAYOUT_T = _pcbnew.GERBER_LAYOUT_T
1540GERBER_DRAW_ITEM_T = _pcbnew.GERBER_DRAW_ITEM_T
1542GERBER_IMAGE_T = _pcbnew.GERBER_IMAGE_T
1544WSG_LINE_T = _pcbnew.WSG_LINE_T
1546WSG_RECT_T = _pcbnew.WSG_RECT_T
1548WSG_POLY_T = _pcbnew.WSG_POLY_T
1550WSG_TEXT_T = _pcbnew.WSG_TEXT_T
1552WSG_BITMAP_T = _pcbnew.WSG_BITMAP_T
1554WSG_PAGE_T = _pcbnew.WSG_PAGE_T
1556WS_PROXY_UNDO_ITEM_T = _pcbnew.WS_PROXY_UNDO_ITEM_T
1558WS_PROXY_UNDO_ITEM_PLUS_T = _pcbnew.WS_PROXY_UNDO_ITEM_PLUS_T
1560SYMBOL_LIB_TABLE_T = _pcbnew.SYMBOL_LIB_TABLE_T
1562FP_LIB_TABLE_T = _pcbnew.FP_LIB_TABLE_T
1564SYMBOL_LIBS_T = _pcbnew.SYMBOL_LIBS_T
1566SEARCH_STACK_T = _pcbnew.SEARCH_STACK_T
1568S3D_CACHE_T = _pcbnew.S3D_CACHE_T
1570MAX_STRUCT_TYPE_ID = _pcbnew.MAX_STRUCT_TYPE_ID
1574 r"""BaseType(KICAD_T const aType) -> KICAD_T"""
1575 return _pcbnew.BaseType(aType)
1578 r"""IsNullType(KICAD_T const aType) -> bool"""
1579 return _pcbnew.IsNullType(aType)
1582 r"""IsInstantiableType(KICAD_T const aType) -> bool"""
1583 return _pcbnew.IsInstantiableType(aType)
1586 r"""IsEeschemaType(KICAD_T const aType) -> bool"""
1587 return _pcbnew.IsEeschemaType(aType)
1590 r"""IsPcbnewType(KICAD_T const aType) -> bool"""
1591 return _pcbnew.IsPcbnewType(aType)
1594 r"""IsGerbviewType(KICAD_T const aType) -> bool"""
1595 return _pcbnew.IsGerbviewType(aType)
1598 r"""IsPageLayoutEditorType(KICAD_T const aType) -> bool"""
1599 return _pcbnew.IsPageLayoutEditorType(aType)
1602 r"""IsMiscType(KICAD_T const aType) -> bool"""
1603 return _pcbnew.IsMiscType(aType)
1606 r"""IsTypeCorrect(KICAD_T aType) -> bool"""
1607 return _pcbnew.IsTypeCorrect(aType)
1610 r"""IsTypeAvailable(KICAD_T aType) -> bool"""
1611 return _pcbnew.IsTypeAvailable(aType)
1612INSPECT_RESULT_QUIT = _pcbnew.INSPECT_RESULT_QUIT
1614INSPECT_RESULT_CONTINUE = _pcbnew.INSPECT_RESULT_CONTINUE
1617 r"""Proxy of C++ EDA_ITEM class."""
1619 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1622 raise AttributeError(
"No constructor defined - class is abstract")
1623 __repr__ = _swig_repr
1624 __swig_destroy__ = _pcbnew.delete_EDA_ITEM
1627 r"""Type(EDA_ITEM self) -> KICAD_T"""
1628 return _pcbnew.EDA_ITEM_Type(self)
1631 r"""GetParent(EDA_ITEM self) -> EDA_ITEM"""
1632 return _pcbnew.EDA_ITEM_GetParent(self)
1635 r"""SetParent(EDA_ITEM self, EDA_ITEM aParent)"""
1636 return _pcbnew.EDA_ITEM_SetParent(self, aParent)
1639 r"""IsModified(EDA_ITEM self) -> bool"""
1640 return _pcbnew.EDA_ITEM_IsModified(self)
1643 r"""IsNew(EDA_ITEM self) -> bool"""
1644 return _pcbnew.EDA_ITEM_IsNew(self)
1647 r"""IsMoving(EDA_ITEM self) -> bool"""
1648 return _pcbnew.EDA_ITEM_IsMoving(self)
1651 r"""IsSelected(EDA_ITEM self) -> bool"""
1652 return _pcbnew.EDA_ITEM_IsSelected(self)
1655 r"""IsEntered(EDA_ITEM self) -> bool"""
1656 return _pcbnew.EDA_ITEM_IsEntered(self)
1659 r"""IsBrightened(EDA_ITEM self) -> bool"""
1660 return _pcbnew.EDA_ITEM_IsBrightened(self)
1663 r"""IsRollover(EDA_ITEM self) -> bool"""
1664 return _pcbnew.EDA_ITEM_IsRollover(self)
1667 r"""SetSelected(EDA_ITEM self)"""
1668 return _pcbnew.EDA_ITEM_SetSelected(self)
1671 r"""SetBrightened(EDA_ITEM self)"""
1672 return _pcbnew.EDA_ITEM_SetBrightened(self)
1675 r"""ClearSelected(EDA_ITEM self)"""
1676 return _pcbnew.EDA_ITEM_ClearSelected(self)
1679 r"""ClearBrightened(EDA_ITEM self)"""
1680 return _pcbnew.EDA_ITEM_ClearBrightened(self)
1683 r"""SetModified(EDA_ITEM self)"""
1684 return _pcbnew.EDA_ITEM_SetModified(self)
1687 r"""GetState(EDA_ITEM self, EDA_ITEM_FLAGS type) -> int"""
1688 return _pcbnew.EDA_ITEM_GetState(self, type)
1691 r"""SetState(EDA_ITEM self, EDA_ITEM_FLAGS type, bool state)"""
1692 return _pcbnew.EDA_ITEM_SetState(self, type, state)
1695 r"""GetStatus(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1696 return _pcbnew.EDA_ITEM_GetStatus(self)
1699 r"""SetStatus(EDA_ITEM self, EDA_ITEM_FLAGS aStatus)"""
1700 return _pcbnew.EDA_ITEM_SetStatus(self, aStatus)
1703 r"""SetFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1704 return _pcbnew.EDA_ITEM_SetFlags(self, aMask)
1707 r"""XorFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1708 return _pcbnew.EDA_ITEM_XorFlags(self, aMask)
1711 r"""ClearFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask=EDA_ITEM_ALL_FLAGS)"""
1712 return _pcbnew.EDA_ITEM_ClearFlags(self, *args)
1715 r"""GetFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1716 return _pcbnew.EDA_ITEM_GetFlags(self)
1719 r"""HasFlag(EDA_ITEM self, EDA_ITEM_FLAGS aFlag) -> bool"""
1720 return _pcbnew.EDA_ITEM_HasFlag(self, aFlag)
1723 r"""GetEditFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1724 return _pcbnew.EDA_ITEM_GetEditFlags(self)
1727 r"""ClearTempFlags(EDA_ITEM self)"""
1728 return _pcbnew.EDA_ITEM_ClearTempFlags(self)
1731 r"""ClearEditFlags(EDA_ITEM self)"""
1732 return _pcbnew.EDA_ITEM_ClearEditFlags(self)
1735 r"""RenderAsBitmap(EDA_ITEM self, double aWorldScale) -> bool"""
1736 return _pcbnew.EDA_ITEM_RenderAsBitmap(self, aWorldScale)
1739 r"""SetIsShownAsBitmap(EDA_ITEM self, bool aBitmap)"""
1740 return _pcbnew.EDA_ITEM_SetIsShownAsBitmap(self, aBitmap)
1743 r"""IsShownAsBitmap(EDA_ITEM self) -> bool"""
1744 return _pcbnew.EDA_ITEM_IsShownAsBitmap(self)
1747 r"""IsType(EDA_ITEM self, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> bool"""
1748 return _pcbnew.EDA_ITEM_IsType(self, aScanTypes)
1751 r"""SetForceVisible(EDA_ITEM self, bool aEnable)"""
1752 return _pcbnew.EDA_ITEM_SetForceVisible(self, aEnable)
1755 r"""IsForceVisible(EDA_ITEM self) -> bool"""
1756 return _pcbnew.EDA_ITEM_IsForceVisible(self)
1759 r"""GetMsgPanelInfo(EDA_ITEM self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
1760 return _pcbnew.EDA_ITEM_GetMsgPanelInfo(self, aFrame, aList)
1763 r"""GetFriendlyName(EDA_ITEM self) -> wxString"""
1764 return _pcbnew.EDA_ITEM_GetFriendlyName(self)
1768 HitTest(EDA_ITEM self, VECTOR2I aPosition, int aAccuracy=0) -> bool
1769 HitTest(EDA_ITEM self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
1771 return _pcbnew.EDA_ITEM_HitTest(self, *args)
1774 r"""GetBoundingBox(EDA_ITEM self) -> BOX2I"""
1775 return _pcbnew.EDA_ITEM_GetBoundingBox(self)
1778 r"""GetPosition(EDA_ITEM self) -> VECTOR2I"""
1779 return _pcbnew.EDA_ITEM_GetPosition(self)
1782 r"""SetPosition(EDA_ITEM self, VECTOR2I aPos)"""
1783 return _pcbnew.EDA_ITEM_SetPosition(self, aPos)
1786 r"""GetFocusPosition(EDA_ITEM self) -> VECTOR2I"""
1787 return _pcbnew.EDA_ITEM_GetFocusPosition(self)
1790 r"""GetSortPosition(EDA_ITEM self) -> VECTOR2I"""
1791 return _pcbnew.EDA_ITEM_GetSortPosition(self)
1794 r"""Clone(EDA_ITEM self) -> EDA_ITEM"""
1795 return _pcbnew.EDA_ITEM_Clone(self)
1797 def Visit(self, inspector, testData, aScanTypes):
1798 r"""Visit(EDA_ITEM self, INSPECTOR inspector, void * testData, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aScanTypes) -> INSPECT_RESULT"""
1799 return _pcbnew.EDA_ITEM_Visit(self, inspector, testData, aScanTypes)
1802 r"""GetClass(EDA_ITEM self) -> wxString"""
1803 return _pcbnew.EDA_ITEM_GetClass(self)
1806 r"""GetTypeDesc(EDA_ITEM self) -> wxString"""
1807 return _pcbnew.EDA_ITEM_GetTypeDesc(self)
1810 r"""GetItemDescription(EDA_ITEM self, UNITS_PROVIDER aUnitsProvider) -> wxString"""
1811 return _pcbnew.EDA_ITEM_GetItemDescription(self, aUnitsProvider)
1814 r"""GetMenuImage(EDA_ITEM self) -> BITMAPS"""
1815 return _pcbnew.EDA_ITEM_GetMenuImage(self)
1818 r"""Matches(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData) -> bool"""
1819 return _pcbnew.EDA_ITEM_Matches(self, aSearchData, aAuxData)
1823 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, wxString aText) -> bool
1824 Replace(EDA_ITEM self, EDA_SEARCH_DATA const & aSearchData, void * aAuxData=None) -> bool
1826 return _pcbnew.EDA_ITEM_Replace(self, *args)
1829 r"""IsReplaceable(EDA_ITEM self) -> bool"""
1830 return _pcbnew.EDA_ITEM_IsReplaceable(self)
1833 r"""__lt__(EDA_ITEM self, EDA_ITEM aItem) -> bool"""
1834 return _pcbnew.EDA_ITEM___lt__(self, aItem)
1838 r"""Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1839 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1842 r"""ViewBBox(EDA_ITEM self) -> BOX2I"""
1843 return _pcbnew.EDA_ITEM_ViewBBox(self)
1846 r"""ViewGetLayers(EDA_ITEM self, int [] aLayers, int & aCount)"""
1847 return _pcbnew.EDA_ITEM_ViewGetLayers(self, aLayers, aCount)
1848 m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=
r"""m_Uuid : q(const).KIID""")
1851_pcbnew.EDA_ITEM_swigregister(EDA_ITEM)
1854 r"""EDA_ITEM_Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1855 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1859 r"""new_clone(EDA_ITEM aItem) -> EDA_ITEM"""
1860 return _pcbnew.new_clone(aItem)
1862 r"""Proxy of C++ EDA_IU_SCALE class."""
1864 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1865 __repr__ = _swig_repr
1866 IU_PER_MM = property(_pcbnew.EDA_IU_SCALE_IU_PER_MM_get, doc=
r"""IU_PER_MM : q(const).double""")
1867 IU_PER_MILS = property(_pcbnew.EDA_IU_SCALE_IU_PER_MILS_get, doc=
r"""IU_PER_MILS : q(const).double""")
1868 MM_PER_IU = property(_pcbnew.EDA_IU_SCALE_MM_PER_IU_get, doc=
r"""MM_PER_IU : q(const).double""")
1871 r"""__init__(EDA_IU_SCALE self, double aIUPerMM) -> EDA_IU_SCALE"""
1872 _pcbnew.EDA_IU_SCALE_swiginit(self, _pcbnew.new_EDA_IU_SCALE(aIUPerMM))
1875 r"""IUTomm(EDA_IU_SCALE self, int iu) -> double"""
1876 return _pcbnew.EDA_IU_SCALE_IUTomm(self, iu)
1879 r"""mmToIU(EDA_IU_SCALE self, double mm) -> int"""
1880 return _pcbnew.EDA_IU_SCALE_mmToIU(self, mm)
1883 r"""MilsToIU(EDA_IU_SCALE self, int mils) -> int"""
1884 return _pcbnew.EDA_IU_SCALE_MilsToIU(self, mils)
1887 r"""IUToMils(EDA_IU_SCALE self, int iu) -> int"""
1888 return _pcbnew.EDA_IU_SCALE_IUToMils(self, iu)
1889 __swig_destroy__ = _pcbnew.delete_EDA_IU_SCALE
1892_pcbnew.EDA_IU_SCALE_swigregister(EDA_IU_SCALE)
1893GERB_IU_PER_MM = cvar.GERB_IU_PER_MM
1894PCB_IU_PER_MM = cvar.PCB_IU_PER_MM
1895PL_IU_PER_MM = cvar.PL_IU_PER_MM
1896SCH_IU_PER_MM = cvar.SCH_IU_PER_MM
1898EDA_DATA_TYPE_DISTANCE = _pcbnew.EDA_DATA_TYPE_DISTANCE
1900EDA_DATA_TYPE_AREA = _pcbnew.EDA_DATA_TYPE_AREA
1902EDA_DATA_TYPE_VOLUME = _pcbnew.EDA_DATA_TYPE_VOLUME
1904EDA_UNITS_INCHES = _pcbnew.EDA_UNITS_INCHES
1906EDA_UNITS_MILLIMETRES = _pcbnew.EDA_UNITS_MILLIMETRES
1908EDA_UNITS_UNSCALED = _pcbnew.EDA_UNITS_UNSCALED
1910EDA_UNITS_DEGREES = _pcbnew.EDA_UNITS_DEGREES
1912EDA_UNITS_PERCENT = _pcbnew.EDA_UNITS_PERCENT
1914EDA_UNITS_MILS = _pcbnew.EDA_UNITS_MILS
1918 r"""IsImperialUnit(EDA_UNITS aUnit) -> bool"""
1919 return _pcbnew.IsImperialUnit(aUnit)
1922 r"""IsMetricUnit(EDA_UNITS aUnit) -> bool"""
1923 return _pcbnew.IsMetricUnit(aUnit)
1926 r"""Mm2mils(double aVal) -> int"""
1927 return _pcbnew.Mm2mils(aVal)
1930 r"""Mils2mm(double aVal) -> int"""
1931 return _pcbnew.Mils2mm(aVal)
1934 r"""FetchUnitsFromString(wxString aTextValue, EDA_UNITS & aUnits) -> bool"""
1935 return _pcbnew.FetchUnitsFromString(aTextValue, aUnits)
1938 r"""GetText(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1939 return _pcbnew.GetText(*args)
1942 r"""GetLabel(EDA_UNITS aUnits, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1943 return _pcbnew.GetLabel(*args)
1946 r"""FormatAngle(EDA_ANGLE aAngle) -> string"""
1947 return _pcbnew.FormatAngle(aAngle)
1956 return _pcbnew.FormatInternalUnits(*args)
1959 r"""Mils2IU(EDA_IU_SCALE aIuScale, int mils) -> int"""
1960 return _pcbnew.Mils2IU(aIuScale, mils)
1963 r"""ToUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1964 return _pcbnew.ToUserUnit(aIuScale, aUnit, aValue)
1967 r"""StringFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString"""
1968 return _pcbnew.StringFromValue(*args)
1972 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1973 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, int aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1974 MessageTextFromValue(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, long long aValue, bool aAddUnitLabel=
True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
1977 return _pcbnew.MessageTextFromValue(*args)
1980 r"""FromUserUnit(EDA_IU_SCALE aIuScale, EDA_UNITS aUnit, double aValue) -> double"""
1981 return _pcbnew.FromUserUnit(aIuScale, aUnit, aValue)
1985 DoubleValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> double
1988 return _pcbnew.DoubleValueFromString(*args)
1992 ValueFromString(EDA_IU_SCALE aIuScale, EDA_UNITS aUnits, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> long long
1995 return _pcbnew.ValueFromString(*args)
1998 r"""SearchHelpFileFullPath(wxString aBaseName) -> wxString"""
1999 return _pcbnew.SearchHelpFileFullPath(aBaseName)
2002 r"""EnsureFileDirectoryExists(wxFileName * aTargetFullFileName, wxString aBaseFilename, REPORTER * aReporter=None) -> bool"""
2003 return _pcbnew.EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter)
2006 r"""ExpandEnvVarSubstitutions(wxString aString, PROJECT const * aProject) -> wxString"""
2007 return _pcbnew.ExpandEnvVarSubstitutions(aString, aProject)
2011 ExpandTextVars(wxString aSource, std::function< bool (wxString *) > const * aResolver) -> wxString
2012 ExpandTextVars(wxString aSource, PROJECT const * aProject) -> wxString
2014 return _pcbnew.ExpandTextVars(*args)
2017 r"""ResolveUriByEnvVars(wxString aUri, PROJECT * aProject) -> wxString"""
2018 return _pcbnew.ResolveUriByEnvVars(aUri, aProject)
2021 r"""TimestampDir(wxString aDirPath, wxString aFilespec) -> long long"""
2022 return _pcbnew.TimestampDir(aDirPath, aFilespec)
2025 r"""WarnUserIfOperatingSystemUnsupported() -> bool"""
2026 return _pcbnew.WarnUserIfOperatingSystemUnsupported()
2030 StrPrintf(string aResult, char const * aFormat) -> int
2031 StrPrintf(char const * format) -> string
2033 return _pcbnew.StrPrintf(*args)
2036 r"""SafeReadFile(wxString aFilePath, wxString aReadType) -> wxString"""
2037 return _pcbnew.SafeReadFile(aFilePath, aReadType)
2038LINE_READER_LINE_DEFAULT_MAX = _pcbnew.LINE_READER_LINE_DEFAULT_MAX
2040LINE_READER_LINE_INITIAL_SIZE = _pcbnew.LINE_READER_LINE_INITIAL_SIZE
2043 r"""Proxy of C++ LINE_READER class."""
2045 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2048 raise AttributeError(
"No constructor defined - class is abstract")
2049 __repr__ = _swig_repr
2050 __swig_destroy__ = _pcbnew.delete_LINE_READER
2053 r"""ReadLine(LINE_READER self) -> char *"""
2054 return _pcbnew.LINE_READER_ReadLine(self)
2057 r"""GetSource(LINE_READER self) -> wxString"""
2058 return _pcbnew.LINE_READER_GetSource(self)
2061 r"""Line(LINE_READER self) -> char *"""
2062 return _pcbnew.LINE_READER_Line(self)
2065 r"""LineNumber(LINE_READER self) -> unsigned int"""
2066 return _pcbnew.LINE_READER_LineNumber(self)
2069 r"""Length(LINE_READER self) -> unsigned int"""
2070 return _pcbnew.LINE_READER_Length(self)
2073_pcbnew.LINE_READER_swigregister(LINE_READER)
2074gerbIUScale = cvar.gerbIUScale
2075pcbIUScale = cvar.pcbIUScale
2076drawSheetIUScale = cvar.drawSheetIUScale
2077schIUScale = cvar.schIUScale
2078unityScale = cvar.unityScale
2081 r"""Proxy of C++ FILE_LINE_READER class."""
2083 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2084 __repr__ = _swig_repr
2088 __init__(FILE_LINE_READER self, wxString aFileName, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
2089 __init__(FILE_LINE_READER self, FILE * aFile, wxString aFileName, bool doOwn=True, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
2091 _pcbnew.FILE_LINE_READER_swiginit(self, _pcbnew.new_FILE_LINE_READER(*args))
2092 __swig_destroy__ = _pcbnew.delete_FILE_LINE_READER
2095 r"""Rewind(FILE_LINE_READER self)"""
2096 return _pcbnew.FILE_LINE_READER_Rewind(self)
2099 r"""FileLength(FILE_LINE_READER self) -> long"""
2100 return _pcbnew.FILE_LINE_READER_FileLength(self)
2103 r"""CurPos(FILE_LINE_READER self) -> long"""
2104 return _pcbnew.FILE_LINE_READER_CurPos(self)
2107_pcbnew.FILE_LINE_READER_swigregister(FILE_LINE_READER)
2110 r"""Proxy of C++ STRING_LINE_READER class."""
2112 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2113 __repr__ = _swig_repr
2117 __init__(STRING_LINE_READER self, string aString, wxString aSource) -> STRING_LINE_READER
2118 __init__(STRING_LINE_READER self, STRING_LINE_READER aStartingPoint) -> STRING_LINE_READER
2120 _pcbnew.STRING_LINE_READER_swiginit(self, _pcbnew.new_STRING_LINE_READER(*args))
2121 __swig_destroy__ = _pcbnew.delete_STRING_LINE_READER
2124_pcbnew.STRING_LINE_READER_swigregister(STRING_LINE_READER)
2127 r"""Proxy of C++ INPUTSTREAM_LINE_READER class."""
2129 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2130 __repr__ = _swig_repr
2133 r"""__init__(INPUTSTREAM_LINE_READER self, wxInputStream * aStream, wxString aSource) -> INPUTSTREAM_LINE_READER"""
2134 _pcbnew.INPUTSTREAM_LINE_READER_swiginit(self, _pcbnew.new_INPUTSTREAM_LINE_READER(aStream, aSource))
2135 __swig_destroy__ = _pcbnew.delete_INPUTSTREAM_LINE_READER
2138_pcbnew.INPUTSTREAM_LINE_READER_swigregister(INPUTSTREAM_LINE_READER)
2140OUTPUTFMTBUFZ = _pcbnew.OUTPUTFMTBUFZ
2143 r"""Proxy of C++ OUTPUTFORMATTER class."""
2145 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2148 raise AttributeError(
"No constructor defined - class is abstract")
2149 __repr__ = _swig_repr
2152 r"""Print(OUTPUTFORMATTER self, int nestLevel, char const * fmt) -> int"""
2153 return _pcbnew.OUTPUTFORMATTER_Print(self, nestLevel, fmt)
2156 r"""GetQuoteChar(OUTPUTFORMATTER self, char const * wrapee) -> char const *"""
2157 return _pcbnew.OUTPUTFORMATTER_GetQuoteChar(self, wrapee)
2160 r"""Quotes(OUTPUTFORMATTER self, string aWrapee) -> string"""
2161 return _pcbnew.OUTPUTFORMATTER_Quotes(self, aWrapee)
2164 r"""Quotew(OUTPUTFORMATTER self, wxString aWrapee) -> string"""
2165 return _pcbnew.OUTPUTFORMATTER_Quotew(self, aWrapee)
2168_pcbnew.OUTPUTFORMATTER_swigregister(OUTPUTFORMATTER)
2171 r"""Proxy of C++ STRING_FORMATTER class."""
2173 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2174 __repr__ = _swig_repr
2177 r"""__init__(STRING_FORMATTER self, int aReserve=500, char aQuoteChar='\"') -> STRING_FORMATTER"""
2178 _pcbnew.STRING_FORMATTER_swiginit(self, _pcbnew.new_STRING_FORMATTER(*args))
2181 r"""Clear(STRING_FORMATTER self)"""
2182 return _pcbnew.STRING_FORMATTER_Clear(self)
2185 r"""StripUseless(STRING_FORMATTER self)"""
2186 return _pcbnew.STRING_FORMATTER_StripUseless(self)
2189 r"""GetString(STRING_FORMATTER self) -> string"""
2190 return _pcbnew.STRING_FORMATTER_GetString(self)
2191 __swig_destroy__ = _pcbnew.delete_STRING_FORMATTER
2194_pcbnew.STRING_FORMATTER_swigregister(STRING_FORMATTER)
2197 r"""Proxy of C++ FILE_OUTPUTFORMATTER 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__(FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> FILE_OUTPUTFORMATTER"""
2204 _pcbnew.FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_FILE_OUTPUTFORMATTER(*args))
2205 __swig_destroy__ = _pcbnew.delete_FILE_OUTPUTFORMATTER
2208_pcbnew.FILE_OUTPUTFORMATTER_swigregister(FILE_OUTPUTFORMATTER)
2211 r"""Proxy of C++ STREAM_OUTPUTFORMATTER class."""
2213 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2214 __repr__ = _swig_repr
2217 r"""__init__(STREAM_OUTPUTFORMATTER self, wxOutputStream & aStream, char aQuoteChar='\"') -> STREAM_OUTPUTFORMATTER"""
2218 _pcbnew.STREAM_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_STREAM_OUTPUTFORMATTER(*args))
2219 __swig_destroy__ = _pcbnew.delete_STREAM_OUTPUTFORMATTER
2222_pcbnew.STREAM_OUTPUTFORMATTER_swigregister(STREAM_OUTPUTFORMATTER)
2225 r"""Proxy of C++ TITLE_BLOCK class."""
2227 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2228 __repr__ = _swig_repr
2231 r"""__init__(TITLE_BLOCK self) -> TITLE_BLOCK"""
2232 _pcbnew.TITLE_BLOCK_swiginit(self, _pcbnew.new_TITLE_BLOCK())
2233 __swig_destroy__ = _pcbnew.delete_TITLE_BLOCK
2236 r"""SetTitle(TITLE_BLOCK self, wxString aTitle)"""
2237 return _pcbnew.TITLE_BLOCK_SetTitle(self, aTitle)
2240 r"""GetTitle(TITLE_BLOCK self) -> wxString"""
2241 return _pcbnew.TITLE_BLOCK_GetTitle(self)
2244 r"""SetDate(TITLE_BLOCK self, wxString aDate)"""
2245 return _pcbnew.TITLE_BLOCK_SetDate(self, aDate)
2248 r"""GetDate(TITLE_BLOCK self) -> wxString"""
2249 return _pcbnew.TITLE_BLOCK_GetDate(self)
2252 r"""SetRevision(TITLE_BLOCK self, wxString aRevision)"""
2253 return _pcbnew.TITLE_BLOCK_SetRevision(self, aRevision)
2256 r"""GetRevision(TITLE_BLOCK self) -> wxString"""
2257 return _pcbnew.TITLE_BLOCK_GetRevision(self)
2260 r"""SetCompany(TITLE_BLOCK self, wxString aCompany)"""
2261 return _pcbnew.TITLE_BLOCK_SetCompany(self, aCompany)
2264 r"""GetCompany(TITLE_BLOCK self) -> wxString"""
2265 return _pcbnew.TITLE_BLOCK_GetCompany(self)
2268 r"""SetComment(TITLE_BLOCK self, int aIdx, wxString aComment)"""
2269 return _pcbnew.TITLE_BLOCK_SetComment(self, aIdx, aComment)
2272 r"""GetComment(TITLE_BLOCK self, int aIdx) -> wxString"""
2273 return _pcbnew.TITLE_BLOCK_GetComment(self, aIdx)
2276 r"""Clear(TITLE_BLOCK self)"""
2277 return _pcbnew.TITLE_BLOCK_Clear(self)
2281 r"""GetContextualTextVars(wxArrayString * aVars)"""
2282 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2285 r"""TextVarResolver(TITLE_BLOCK self, wxString aToken, PROJECT const * aProject) -> bool"""
2286 return _pcbnew.TITLE_BLOCK_TextVarResolver(self, aToken, aProject)
2288 def Format(self, aFormatter, aNestLevel, aControlBits):
2289 r"""Format(TITLE_BLOCK self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControlBits)"""
2290 return _pcbnew.TITLE_BLOCK_Format(self, aFormatter, aNestLevel, aControlBits)
2293_pcbnew.TITLE_BLOCK_swigregister(TITLE_BLOCK)
2296 r"""TITLE_BLOCK_GetContextualTextVars(wxArrayString * aVars)"""
2297 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2299UNSPECIFIED_COLOR = _pcbnew.UNSPECIFIED_COLOR
2301BLACK = _pcbnew.BLACK
2303DARKDARKGRAY = _pcbnew.DARKDARKGRAY
2305DARKGRAY = _pcbnew.DARKGRAY
2307LIGHTGRAY = _pcbnew.LIGHTGRAY
2309WHITE = _pcbnew.WHITE
2311LIGHTYELLOW = _pcbnew.LIGHTYELLOW
2313DARKBLUE = _pcbnew.DARKBLUE
2315DARKGREEN = _pcbnew.DARKGREEN
2317DARKCYAN = _pcbnew.DARKCYAN
2319DARKRED = _pcbnew.DARKRED
2321DARKMAGENTA = _pcbnew.DARKMAGENTA
2323DARKBROWN = _pcbnew.DARKBROWN
2327GREEN = _pcbnew.GREEN
2333MAGENTA = _pcbnew.MAGENTA
2335BROWN = _pcbnew.BROWN
2337LIGHTBLUE = _pcbnew.LIGHTBLUE
2339LIGHTGREEN = _pcbnew.LIGHTGREEN
2341LIGHTCYAN = _pcbnew.LIGHTCYAN
2343LIGHTRED = _pcbnew.LIGHTRED
2345LIGHTMAGENTA = _pcbnew.LIGHTMAGENTA
2347YELLOW = _pcbnew.YELLOW
2349PUREBLUE = _pcbnew.PUREBLUE
2351PUREGREEN = _pcbnew.PUREGREEN
2353PURECYAN = _pcbnew.PURECYAN
2355PURERED = _pcbnew.PURERED
2357PUREMAGENTA = _pcbnew.PUREMAGENTA
2359PUREYELLOW = _pcbnew.PUREYELLOW
2361LIGHTERORANGE = _pcbnew.LIGHTERORANGE
2363DARKORANGE = _pcbnew.DARKORANGE
2365ORANGE = _pcbnew.ORANGE
2367LIGHTORANGE = _pcbnew.LIGHTORANGE
2369PUREORANGE = _pcbnew.PUREORANGE
2371NBCOLORS = _pcbnew.NBCOLORS
2373HIGHLIGHT_FLAG = _pcbnew.HIGHLIGHT_FLAG
2375MASKCOLOR = _pcbnew.MASKCOLOR
2378 r"""Proxy of C++ StructColors class."""
2380 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2381 __repr__ = _swig_repr
2382 m_Blue = property(_pcbnew.StructColors_m_Blue_get, _pcbnew.StructColors_m_Blue_set, doc=
r"""m_Blue : unsigned char""")
2383 m_Green = property(_pcbnew.StructColors_m_Green_get, _pcbnew.StructColors_m_Green_set, doc=r"""m_Green : unsigned char""")
2384 m_Red = property(_pcbnew.StructColors_m_Red_get, _pcbnew.StructColors_m_Red_set, doc=r"""m_Red : unsigned char""")
2385 m_Numcolor = property(_pcbnew.StructColors_m_Numcolor_get, _pcbnew.StructColors_m_Numcolor_set, doc=r"""m_Numcolor : EDA_COLOR_T""")
2386 m_ColorName = property(_pcbnew.StructColors_m_ColorName_get, _pcbnew.StructColors_m_ColorName_set, doc=
r"""m_ColorName : std::string""")
2387 m_LightColor = property(_pcbnew.StructColors_m_LightColor_get, _pcbnew.StructColors_m_LightColor_set, doc=
r"""m_LightColor : EDA_COLOR_T""")
2390 r"""__init__(StructColors self) -> StructColors"""
2391 _pcbnew.StructColors_swiginit(self, _pcbnew.new_StructColors())
2392 __swig_destroy__ = _pcbnew.delete_StructColors
2395_pcbnew.StructColors_swigregister(StructColors)
2399 r"""colorRefs() -> StructColors"""
2400 return _pcbnew.colorRefs()
2402 r"""Proxy of C++ KIGFX::COLOR4D class."""
2404 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2405 __repr__ = _swig_repr
2408 r"""FromCSSRGBA(COLOR4D self, int aRed, int aGreen, int aBlue, double aAlpha=1.0) -> COLOR4D"""
2409 return _pcbnew.COLOR4D_FromCSSRGBA(self, aRed, aGreen, aBlue, aAlpha)
2414 __init__(COLOR4D self, double aRed, double aGreen, double aBlue, double aAlpha) -> COLOR4D
2415 __init__(COLOR4D self, EDA_COLOR_T aColor) -> COLOR4D
2416 __init__(COLOR4D self, wxString aColorStr) -> COLOR4D
2417 __init__(COLOR4D self, wxColour const & aColor) -> COLOR4D
2419 _pcbnew.COLOR4D_swiginit(self, _pcbnew.new_COLOR4D(*args))
2422 r"""SetFromWxString(COLOR4D self, wxString aColorString) -> bool"""
2423 return _pcbnew.COLOR4D_SetFromWxString(self, aColorString)
2426 r"""ToCSSString(COLOR4D self) -> wxString"""
2427 return _pcbnew.COLOR4D_ToCSSString(self)
2430 r"""SetFromHexString(COLOR4D self, wxString aColorString) -> bool"""
2431 return _pcbnew.COLOR4D_SetFromHexString(self, aColorString)
2434 r"""ToHexString(COLOR4D self) -> wxString"""
2435 return _pcbnew.COLOR4D_ToHexString(self)
2438 r"""ToColour(COLOR4D self) -> wxColour"""
2439 return _pcbnew.COLOR4D_ToColour(self)
2442 r"""LegacyMix(COLOR4D self, COLOR4D aColor) -> COLOR4D"""
2443 return _pcbnew.COLOR4D_LegacyMix(self, aColor)
2446 r"""ToU32(COLOR4D self) -> unsigned int"""
2447 return _pcbnew.COLOR4D_ToU32(self)
2450 r"""FromU32(COLOR4D self, unsigned int aPackedColor)"""
2451 return _pcbnew.COLOR4D_FromU32(self, aPackedColor)
2453 def ToHSL(self, aOutHue, aOutSaturation, aOutValue):
2454 r"""ToHSL(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue)"""
2455 return _pcbnew.COLOR4D_ToHSL(self, aOutHue, aOutSaturation, aOutValue)
2457 def FromHSL(self, aInHue, aInSaturation, aInLightness):
2458 r"""FromHSL(COLOR4D self, double aInHue, double aInSaturation, double aInLightness)"""
2459 return _pcbnew.COLOR4D_FromHSL(self, aInHue, aInSaturation, aInLightness)
2462 r"""Brighten(COLOR4D self, double aFactor) -> COLOR4D"""
2463 return _pcbnew.COLOR4D_Brighten(self, aFactor)
2466 r"""Darken(COLOR4D self, double aFactor) -> COLOR4D"""
2467 return _pcbnew.COLOR4D_Darken(self, aFactor)
2470 r"""Invert(COLOR4D self) -> COLOR4D"""
2471 return _pcbnew.COLOR4D_Invert(self)
2474 r"""Saturate(COLOR4D self, double aFactor) -> COLOR4D"""
2475 return _pcbnew.COLOR4D_Saturate(self, aFactor)
2478 r"""Desaturate(COLOR4D self) -> COLOR4D"""
2479 return _pcbnew.COLOR4D_Desaturate(self)
2482 r"""Brightened(COLOR4D self, double aFactor) -> COLOR4D"""
2483 return _pcbnew.COLOR4D_Brightened(self, aFactor)
2486 r"""Darkened(COLOR4D self, double aFactor) -> COLOR4D"""
2487 return _pcbnew.COLOR4D_Darkened(self, aFactor)
2489 def Mix(self, aColor, aFactor):
2490 r"""Mix(COLOR4D self, COLOR4D aColor, double aFactor) -> COLOR4D"""
2491 return _pcbnew.COLOR4D_Mix(self, aColor, aFactor)
2494 r"""WithAlpha(COLOR4D self, double aAlpha) -> COLOR4D"""
2495 return _pcbnew.COLOR4D_WithAlpha(self, aAlpha)
2498 r"""Inverted(COLOR4D self) -> COLOR4D"""
2499 return _pcbnew.COLOR4D_Inverted(self)
2502 r"""GetBrightness(COLOR4D self) -> double"""
2503 return _pcbnew.COLOR4D_GetBrightness(self)
2505 def ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue=False):
2506 r"""ToHSV(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue, bool aAlwaysDefineHue=False)"""
2507 return _pcbnew.COLOR4D_ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue)
2510 r"""FromHSV(COLOR4D self, double aInH, double aInS, double aInV)"""
2511 return _pcbnew.COLOR4D_FromHSV(self, aInH, aInS, aInV)
2514 r"""Distance(COLOR4D self, COLOR4D other) -> double"""
2515 return _pcbnew.COLOR4D_Distance(self, other)
2519 r"""FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2520 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2521 r = property(_pcbnew.COLOR4D_r_get, _pcbnew.COLOR4D_r_set, doc=
r"""r : double""")
2522 g = property(_pcbnew.COLOR4D_g_get, _pcbnew.COLOR4D_g_set, doc=
r"""g : double""")
2523 b = property(_pcbnew.COLOR4D_b_get, _pcbnew.COLOR4D_b_set, doc=
r"""b : double""")
2524 a = property(_pcbnew.COLOR4D_a_get, _pcbnew.COLOR4D_a_set, doc=
r"""a : double""")
2525 __swig_destroy__ = _pcbnew.delete_COLOR4D
2528_pcbnew.COLOR4D_swigregister(COLOR4D)
2531 r"""COLOR4D_FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2532 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2533COLOR4D.UNSPECIFIED = _pcbnew.cvar.COLOR4D_UNSPECIFIED
2534COLOR4D.WHITE = _pcbnew.cvar.COLOR4D_WHITE
2535COLOR4D.BLACK = _pcbnew.cvar.COLOR4D_BLACK
2536COLOR4D.CLEAR = _pcbnew.cvar.COLOR4D_CLEAR
2540 r"""__eq__(COLOR4D lhs, COLOR4D rhs) -> bool const"""
2541 return _pcbnew.__eq__(lhs, rhs)
2544 r"""__ne__(COLOR4D lhs, COLOR4D rhs) -> bool const"""
2545 return _pcbnew.__ne__(lhs, rhs)
2548 r"""__lt__(COLOR4D lhs, COLOR4D rhs) -> bool const"""
2549 return _pcbnew.__lt__(lhs, rhs)
2552 r"""__lshift__(std::ostream & aStream, COLOR4D aColor) -> std::ostream &"""
2553 return _pcbnew.__lshift__(aStream, aColor)
2555 r"""Proxy of C++ MARKER_BASE class."""
2557 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2560 raise AttributeError(
"No constructor defined - class is abstract")
2561 __repr__ = _swig_repr
2562 MARKER_UNSPEC = _pcbnew.MARKER_BASE_MARKER_UNSPEC
2564 MARKER_ERC = _pcbnew.MARKER_BASE_MARKER_ERC
2566 MARKER_DRC = _pcbnew.MARKER_BASE_MARKER_DRC
2568 MARKER_DRAWING_SHEET = _pcbnew.MARKER_BASE_MARKER_DRAWING_SHEET
2570 MARKER_RATSNEST = _pcbnew.MARKER_BASE_MARKER_RATSNEST
2572 MARKER_PARITY = _pcbnew.MARKER_BASE_MARKER_PARITY
2574 MARKER_SIMUL = _pcbnew.MARKER_BASE_MARKER_SIMUL
2576 __swig_destroy__ = _pcbnew.delete_MARKER_BASE
2579 r"""MarkerScale(MARKER_BASE self) -> int"""
2580 return _pcbnew.MARKER_BASE_MarkerScale(self)
2583 r"""SetMarkerScale(MARKER_BASE self, int aScale)"""
2584 return _pcbnew.MARKER_BASE_SetMarkerScale(self, aScale)
2587 r"""ShapeToPolygon(MARKER_BASE self, SHAPE_LINE_CHAIN aPolygon, int aScale=-1)"""
2588 return _pcbnew.MARKER_BASE_ShapeToPolygon(self, aPolygon, aScale)
2591 r"""PrintMarker(MARKER_BASE self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset)"""
2592 return _pcbnew.MARKER_BASE_PrintMarker(self, aSettings, aOffset)
2595 r"""GetPos(MARKER_BASE self) -> VECTOR2I"""
2596 return _pcbnew.MARKER_BASE_GetPos(self)
2599 r"""GetUUID(MARKER_BASE self) -> KIID"""
2600 return _pcbnew.MARKER_BASE_GetUUID(self)
2603 r"""SetMarkerType(MARKER_BASE self, enum MARKER_BASE::TYPEMARKER aMarkerType)"""
2604 return _pcbnew.MARKER_BASE_SetMarkerType(self, aMarkerType)
2607 r"""GetMarkerType(MARKER_BASE self) -> enum MARKER_BASE::TYPEMARKER"""
2608 return _pcbnew.MARKER_BASE_GetMarkerType(self)
2611 r"""IsExcluded(MARKER_BASE self) -> bool"""
2612 return _pcbnew.MARKER_BASE_IsExcluded(self)
2615 r"""SetExcluded(MARKER_BASE self, bool aExcluded)"""
2616 return _pcbnew.MARKER_BASE_SetExcluded(self, aExcluded)
2619 r"""GetSeverity(MARKER_BASE self) -> SEVERITY"""
2620 return _pcbnew.MARKER_BASE_GetSeverity(self)
2623 r"""GetRCItem(MARKER_BASE self) -> std::shared_ptr< RC_ITEM >"""
2624 return _pcbnew.MARKER_BASE_GetRCItem(self)
2627 r"""HitTestMarker(MARKER_BASE self, VECTOR2I aHitPosition, int aAccuracy) -> bool"""
2628 return _pcbnew.MARKER_BASE_HitTestMarker(self, aHitPosition, aAccuracy)
2631 r"""GetBoundingBoxMarker(MARKER_BASE self) -> BOX2I"""
2632 return _pcbnew.MARKER_BASE_GetBoundingBoxMarker(self)
2633 m_Pos = property(_pcbnew.MARKER_BASE_m_Pos_get, _pcbnew.MARKER_BASE_m_Pos_set, doc=
r"""m_Pos : VECTOR2I""")
2636_pcbnew.MARKER_BASE_swigregister(MARKER_BASE)
2638CTL_OMIT_HIDE = _pcbnew.CTL_OMIT_HIDE
2640DEFAULT_SIZE_TEXT = _pcbnew.DEFAULT_SIZE_TEXT
2642DIM_ANCRE_TEXTE = _pcbnew.DIM_ANCRE_TEXTE
2645 r"""Proxy of C++ EDA_TEXT class."""
2647 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2648 __repr__ = _swig_repr
2652 __init__(EDA_TEXT self, EDA_IU_SCALE aIuScale, wxString aText=wxEmptyString) -> EDA_TEXT
2653 __init__(EDA_TEXT self, EDA_TEXT aText) -> EDA_TEXT
2655 _pcbnew.EDA_TEXT_swiginit(self, _pcbnew.new_EDA_TEXT(*args))
2656 __swig_destroy__ = _pcbnew.delete_EDA_TEXT
2659 r"""GetText(EDA_TEXT self) -> wxString"""
2660 return _pcbnew.EDA_TEXT_GetText(self)
2663 r"""GetShownText(EDA_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
2664 return _pcbnew.EDA_TEXT_GetShownText(self, aAllowExtraText, aDepth)
2667 r"""HasTextVars(EDA_TEXT self) -> bool"""
2668 return _pcbnew.EDA_TEXT_HasTextVars(self)
2671 r"""SetText(EDA_TEXT self, wxString aText)"""
2672 return _pcbnew.EDA_TEXT_SetText(self, aText)
2675 r"""SetTextThickness(EDA_TEXT self, int aWidth)"""
2676 return _pcbnew.EDA_TEXT_SetTextThickness(self, aWidth)
2679 r"""GetTextThickness(EDA_TEXT self) -> int"""
2680 return _pcbnew.EDA_TEXT_GetTextThickness(self)
2683 r"""GetEffectiveTextPenWidth(EDA_TEXT self, int aDefaultPenWidth=0) -> int"""
2684 return _pcbnew.EDA_TEXT_GetEffectiveTextPenWidth(self, aDefaultPenWidth)
2687 r"""SetTextAngle(EDA_TEXT self, EDA_ANGLE aAngle)"""
2688 return _pcbnew.EDA_TEXT_SetTextAngle(self, aAngle)
2691 r"""GetTextAngle(EDA_TEXT self) -> EDA_ANGLE"""
2692 return _pcbnew.EDA_TEXT_GetTextAngle(self)
2695 r"""SetTextAngleDegrees(EDA_TEXT self, double aOrientation)"""
2696 return _pcbnew.EDA_TEXT_SetTextAngleDegrees(self, aOrientation)
2699 r"""GetTextAngleDegrees(EDA_TEXT self) -> double"""
2700 return _pcbnew.EDA_TEXT_GetTextAngleDegrees(self)
2703 r"""SetItalic(EDA_TEXT self, bool aItalic)"""
2704 return _pcbnew.EDA_TEXT_SetItalic(self, aItalic)
2707 r"""IsItalic(EDA_TEXT self) -> bool"""
2708 return _pcbnew.EDA_TEXT_IsItalic(self)
2711 r"""SetBold(EDA_TEXT self, bool aBold)"""
2712 return _pcbnew.EDA_TEXT_SetBold(self, aBold)
2715 r"""IsBold(EDA_TEXT self) -> bool"""
2716 return _pcbnew.EDA_TEXT_IsBold(self)
2719 r"""SetVisible(EDA_TEXT self, bool aVisible)"""
2720 return _pcbnew.EDA_TEXT_SetVisible(self, aVisible)
2723 r"""IsVisible(EDA_TEXT self) -> bool"""
2724 return _pcbnew.EDA_TEXT_IsVisible(self)
2727 r"""SetMirrored(EDA_TEXT self, bool isMirrored)"""
2728 return _pcbnew.EDA_TEXT_SetMirrored(self, isMirrored)
2731 r"""IsMirrored(EDA_TEXT self) -> bool"""
2732 return _pcbnew.EDA_TEXT_IsMirrored(self)
2735 r"""SetMultilineAllowed(EDA_TEXT self, bool aAllow)"""
2736 return _pcbnew.EDA_TEXT_SetMultilineAllowed(self, aAllow)
2739 r"""IsMultilineAllowed(EDA_TEXT self) -> bool"""
2740 return _pcbnew.EDA_TEXT_IsMultilineAllowed(self)
2743 r"""SetHorizJustify(EDA_TEXT self, GR_TEXT_H_ALIGN_T aType)"""
2744 return _pcbnew.EDA_TEXT_SetHorizJustify(self, aType)
2747 r"""GetHorizJustify(EDA_TEXT self) -> GR_TEXT_H_ALIGN_T"""
2748 return _pcbnew.EDA_TEXT_GetHorizJustify(self)
2751 r"""SetVertJustify(EDA_TEXT self, GR_TEXT_V_ALIGN_T aType)"""
2752 return _pcbnew.EDA_TEXT_SetVertJustify(self, aType)
2755 r"""GetVertJustify(EDA_TEXT self) -> GR_TEXT_V_ALIGN_T"""
2756 return _pcbnew.EDA_TEXT_GetVertJustify(self)
2759 r"""SetKeepUpright(EDA_TEXT self, bool aKeepUpright)"""
2760 return _pcbnew.EDA_TEXT_SetKeepUpright(self, aKeepUpright)
2763 r"""IsKeepUpright(EDA_TEXT self) -> bool"""
2764 return _pcbnew.EDA_TEXT_IsKeepUpright(self)
2767 r"""SwapAttributes(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2768 return _pcbnew.EDA_TEXT_SwapAttributes(self, aTradingPartner)
2771 r"""SwapText(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2772 return _pcbnew.EDA_TEXT_SwapText(self, aTradingPartner)
2775 r"""CopyText(EDA_TEXT self, EDA_TEXT aSrc)"""
2776 return _pcbnew.EDA_TEXT_CopyText(self, aSrc)
2783 return _pcbnew.EDA_TEXT_SetAttributes(self, *args)
2786 r"""GetAttributes(EDA_TEXT self) -> TEXT_ATTRIBUTES"""
2787 return _pcbnew.EDA_TEXT_GetAttributes(self)
2790 r"""Replace(EDA_TEXT self, EDA_SEARCH_DATA const & aSearchData) -> bool"""
2791 return _pcbnew.EDA_TEXT_Replace(self, aSearchData)
2794 r"""IsDefaultFormatting(EDA_TEXT self) -> bool"""
2795 return _pcbnew.EDA_TEXT_IsDefaultFormatting(self)
2798 r"""SetFont(EDA_TEXT self, KIFONT::FONT * aFont)"""
2799 return _pcbnew.EDA_TEXT_SetFont(self, aFont)
2802 r"""GetFont(EDA_TEXT self) -> KIFONT::FONT *"""
2803 return _pcbnew.EDA_TEXT_GetFont(self)
2806 r"""GetFontName(EDA_TEXT self) -> wxString"""
2807 return _pcbnew.EDA_TEXT_GetFontName(self)
2810 r"""SetLineSpacing(EDA_TEXT self, double aLineSpacing)"""
2811 return _pcbnew.EDA_TEXT_SetLineSpacing(self, aLineSpacing)
2814 r"""GetLineSpacing(EDA_TEXT self) -> double"""
2815 return _pcbnew.EDA_TEXT_GetLineSpacing(self)
2818 r"""SetTextSize(EDA_TEXT self, VECTOR2I aNewSize)"""
2819 return _pcbnew.EDA_TEXT_SetTextSize(self, aNewSize)
2822 r"""GetTextSize(EDA_TEXT self) -> VECTOR2I"""
2823 return _pcbnew.EDA_TEXT_GetTextSize(self)
2826 r"""SetTextWidth(EDA_TEXT self, int aWidth)"""
2827 return _pcbnew.EDA_TEXT_SetTextWidth(self, aWidth)
2830 r"""GetTextWidth(EDA_TEXT self) -> int"""
2831 return _pcbnew.EDA_TEXT_GetTextWidth(self)
2834 r"""SetTextHeight(EDA_TEXT self, int aHeight)"""
2835 return _pcbnew.EDA_TEXT_SetTextHeight(self, aHeight)
2838 r"""GetTextHeight(EDA_TEXT self) -> int"""
2839 return _pcbnew.EDA_TEXT_GetTextHeight(self)
2842 r"""SetTextColor(EDA_TEXT self, COLOR4D aColor)"""
2843 return _pcbnew.EDA_TEXT_SetTextColor(self, aColor)
2846 r"""GetTextColor(EDA_TEXT self) -> COLOR4D"""
2847 return _pcbnew.EDA_TEXT_GetTextColor(self)
2850 r"""SetTextPos(EDA_TEXT self, VECTOR2I aPoint)"""
2851 return _pcbnew.EDA_TEXT_SetTextPos(self, aPoint)
2854 r"""GetTextPos(EDA_TEXT self) -> VECTOR2I"""
2855 return _pcbnew.EDA_TEXT_GetTextPos(self)
2858 r"""SetTextX(EDA_TEXT self, int aX)"""
2859 return _pcbnew.EDA_TEXT_SetTextX(self, aX)
2862 r"""SetTextY(EDA_TEXT self, int aY)"""
2863 return _pcbnew.EDA_TEXT_SetTextY(self, aY)
2866 r"""Offset(EDA_TEXT self, VECTOR2I aOffset)"""
2867 return _pcbnew.EDA_TEXT_Offset(self, aOffset)
2870 r"""Empty(EDA_TEXT self)"""
2871 return _pcbnew.EDA_TEXT_Empty(self)
2875 r"""MapHorizJustify(int aHorizJustify) -> GR_TEXT_H_ALIGN_T"""
2876 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
2880 r"""MapVertJustify(int aVertJustify) -> GR_TEXT_V_ALIGN_T"""
2881 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
2883 def Print(self, aSettings, aOffset, aColor, aDisplay_mode=FILLED):
2884 r"""Print(EDA_TEXT self, RENDER_SETTINGS const * aSettings, VECTOR2I aOffset, COLOR4D aColor, OUTLINE_MODE aDisplay_mode=FILLED)"""
2885 return _pcbnew.EDA_TEXT_Print(self, aSettings, aOffset, aColor, aDisplay_mode)
2888 r"""GetEffectiveTextShapeNative(EDA_TEXT self, bool aTriangulate=True, BOX2I aBBox=BOX2I(), EDA_ANGLE aAngle=ANGLE_0) -> std::shared_ptr< SHAPE_COMPOUND >"""
2889 return _pcbnew.EDA_TEXT_GetEffectiveTextShapeNative(self, *args)
2893 TextHitTest(EDA_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
2894 TextHitTest(EDA_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
2896 return _pcbnew.EDA_TEXT_TextHitTest(self, *args)
2899 r"""GetTextBox(EDA_TEXT self, int aLine=-1, bool aInvertY=False) -> BOX2I"""
2900 return _pcbnew.EDA_TEXT_GetTextBox(self, aLine, aInvertY)
2903 r"""GetInterline(EDA_TEXT self) -> int"""
2904 return _pcbnew.EDA_TEXT_GetInterline(self)
2907 r"""GetTextStyleName(EDA_TEXT self) -> wxString"""
2908 return _pcbnew.EDA_TEXT_GetTextStyleName(self)
2911 r"""GetLinePositions(EDA_TEXT self, VECTOR_VECTOR2I aPositions, int aLineCount)"""
2912 return _pcbnew.EDA_TEXT_GetLinePositions(self, aPositions, aLineCount)
2914 def Format(self, aFormatter, aNestLevel, aControlBits):
2915 r"""Format(EDA_TEXT self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControlBits)"""
2916 return _pcbnew.EDA_TEXT_Format(self, aFormatter, aNestLevel, aControlBits)
2919 r"""GetDrawRotation(EDA_TEXT self) -> EDA_ANGLE"""
2920 return _pcbnew.EDA_TEXT_GetDrawRotation(self)
2923 r"""GetDrawPos(EDA_TEXT self) -> VECTOR2I"""
2924 return _pcbnew.EDA_TEXT_GetDrawPos(self)
2927 r"""ClearRenderCache(EDA_TEXT self)"""
2928 return _pcbnew.EDA_TEXT_ClearRenderCache(self)
2931 r"""ClearBoundingBoxCache(EDA_TEXT self)"""
2932 return _pcbnew.EDA_TEXT_ClearBoundingBoxCache(self)
2935 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 > > >"""
2936 return _pcbnew.EDA_TEXT_GetRenderCache(self, *args)
2939 r"""SetupRenderCache(EDA_TEXT self, wxString aResolvedText, EDA_ANGLE aAngle)"""
2940 return _pcbnew.EDA_TEXT_SetupRenderCache(self, aResolvedText, aAngle)
2943 r"""AddRenderCacheGlyph(EDA_TEXT self, SHAPE_POLY_SET aPoly)"""
2944 return _pcbnew.EDA_TEXT_AddRenderCacheGlyph(self, aPoly)
2947 r"""Compare(EDA_TEXT self, EDA_TEXT aOther) -> int"""
2948 return _pcbnew.EDA_TEXT_Compare(self, aOther)
2951 r"""HasHyperlink(EDA_TEXT self) -> bool"""
2952 return _pcbnew.EDA_TEXT_HasHyperlink(self)
2955 r"""GetHyperlink(EDA_TEXT self) -> wxString"""
2956 return _pcbnew.EDA_TEXT_GetHyperlink(self)
2959 r"""SetHyperlink(EDA_TEXT self, wxString aLink)"""
2960 return _pcbnew.EDA_TEXT_SetHyperlink(self, aLink)
2963 r"""RemoveHyperlink(EDA_TEXT self)"""
2964 return _pcbnew.EDA_TEXT_RemoveHyperlink(self)
2968 r"""ValidateHyperlink(wxString aURL) -> bool"""
2969 return _pcbnew.EDA_TEXT_ValidateHyperlink(aURL)
2973 r"""IsGotoPageHref(wxString aHref, wxString aDestination=None) -> bool"""
2974 return _pcbnew.EDA_TEXT_IsGotoPageHref(aHref, aDestination)
2978 r"""GotoPageHref(wxString aDestination) -> wxString"""
2979 return _pcbnew.EDA_TEXT_GotoPageHref(aDestination)
2990 r"""GetShownText(EDA_TEXT self) -> wxString"""
2991 return _pcbnew.EDA_TEXT_GetShownText(self,
True, 0)
2995_pcbnew.EDA_TEXT_swigregister(EDA_TEXT)
2998 r"""EDA_TEXT_MapHorizJustify(int aHorizJustify) -> GR_TEXT_H_ALIGN_T"""
2999 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
3002 r"""EDA_TEXT_MapVertJustify(int aVertJustify) -> GR_TEXT_V_ALIGN_T"""
3003 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
3006 r"""EDA_TEXT_ValidateHyperlink(wxString aURL) -> bool"""
3007 return _pcbnew.EDA_TEXT_ValidateHyperlink(aURL)
3010 r"""EDA_TEXT_IsGotoPageHref(wxString aHref, wxString aDestination=None) -> bool"""
3011 return _pcbnew.EDA_TEXT_IsGotoPageHref(aHref, aDestination)
3014 r"""EDA_TEXT_GotoPageHref(wxString aDestination) -> wxString"""
3015 return _pcbnew.EDA_TEXT_GotoPageHref(aDestination)
3019 r"""GetBuildVersion() -> wxString"""
3020 return _pcbnew.GetBuildVersion()
3023 r"""GetPlatformGetBitnessName() -> wxString"""
3024 return _pcbnew.GetPlatformGetBitnessName()
3027 r"""GetSemanticVersion() -> wxString"""
3028 return _pcbnew.GetSemanticVersion()
3031 r"""GetMajorMinorVersion() -> wxString"""
3032 return _pcbnew.GetMajorMinorVersion()
3035 r"""GetMajorMinorPatchVersion() -> wxString"""
3036 return _pcbnew.GetMajorMinorPatchVersion()
3039 r"""GetBuildDate() -> wxString"""
3040 return _pcbnew.GetBuildDate()
3043 r"""GetCommitHash() -> wxString"""
3044 return _pcbnew.GetCommitHash()
3047 r"""GetMajorMinorPatchTuple() -> std::tuple< int,int,int > const &"""
3048 return _pcbnew.GetMajorMinorPatchTuple()
3051 r"""IsNightlyVersion() -> bool"""
3052 return _pcbnew.IsNightlyVersion()
3055 r"""GetVersionInfoData(wxString aTitle, bool aHtml=False, bool aBrief=False) -> wxString"""
3056 return _pcbnew.GetVersionInfoData(aTitle, aHtml, aBrief)
3057UNDEFINED_LAYER = _pcbnew.UNDEFINED_LAYER
3059UNSELECTED_LAYER = _pcbnew.UNSELECTED_LAYER
3061PCBNEW_LAYER_ID_START = _pcbnew.PCBNEW_LAYER_ID_START
3065In1_Cu = _pcbnew.In1_Cu
3067In2_Cu = _pcbnew.In2_Cu
3069In3_Cu = _pcbnew.In3_Cu
3071In4_Cu = _pcbnew.In4_Cu
3073In5_Cu = _pcbnew.In5_Cu
3075In6_Cu = _pcbnew.In6_Cu
3077In7_Cu = _pcbnew.In7_Cu
3079In8_Cu = _pcbnew.In8_Cu
3081In9_Cu = _pcbnew.In9_Cu
3083In10_Cu = _pcbnew.In10_Cu
3085In11_Cu = _pcbnew.In11_Cu
3087In12_Cu = _pcbnew.In12_Cu
3089In13_Cu = _pcbnew.In13_Cu
3091In14_Cu = _pcbnew.In14_Cu
3093In15_Cu = _pcbnew.In15_Cu
3095In16_Cu = _pcbnew.In16_Cu
3097In17_Cu = _pcbnew.In17_Cu
3099In18_Cu = _pcbnew.In18_Cu
3101In19_Cu = _pcbnew.In19_Cu
3103In20_Cu = _pcbnew.In20_Cu
3105In21_Cu = _pcbnew.In21_Cu
3107In22_Cu = _pcbnew.In22_Cu
3109In23_Cu = _pcbnew.In23_Cu
3111In24_Cu = _pcbnew.In24_Cu
3113In25_Cu = _pcbnew.In25_Cu
3115In26_Cu = _pcbnew.In26_Cu
3117In27_Cu = _pcbnew.In27_Cu
3119In28_Cu = _pcbnew.In28_Cu
3121In29_Cu = _pcbnew.In29_Cu
3123In30_Cu = _pcbnew.In30_Cu
3127B_Adhes = _pcbnew.B_Adhes
3129F_Adhes = _pcbnew.F_Adhes
3131B_Paste = _pcbnew.B_Paste
3133F_Paste = _pcbnew.F_Paste
3135B_SilkS = _pcbnew.B_SilkS
3137F_SilkS = _pcbnew.F_SilkS
3139B_Mask = _pcbnew.B_Mask
3141F_Mask = _pcbnew.F_Mask
3143Dwgs_User = _pcbnew.Dwgs_User
3145Cmts_User = _pcbnew.Cmts_User
3147Eco1_User = _pcbnew.Eco1_User
3149Eco2_User = _pcbnew.Eco2_User
3151Edge_Cuts = _pcbnew.Edge_Cuts
3153Margin = _pcbnew.Margin
3155B_CrtYd = _pcbnew.B_CrtYd
3157F_CrtYd = _pcbnew.F_CrtYd
3159B_Fab = _pcbnew.B_Fab
3161F_Fab = _pcbnew.F_Fab
3163User_1 = _pcbnew.User_1
3165User_2 = _pcbnew.User_2
3167User_3 = _pcbnew.User_3
3169User_4 = _pcbnew.User_4
3171User_5 = _pcbnew.User_5
3173User_6 = _pcbnew.User_6
3175User_7 = _pcbnew.User_7
3177User_8 = _pcbnew.User_8
3179User_9 = _pcbnew.User_9
3181Rescue = _pcbnew.Rescue
3183PCB_LAYER_ID_COUNT = _pcbnew.PCB_LAYER_ID_COUNT
3185FLASHING_DEFAULT = _pcbnew.FLASHING_DEFAULT
3187FLASHING_ALWAYS_FLASHED = _pcbnew.FLASHING_ALWAYS_FLASHED
3189FLASHING_NEVER_FLASHED = _pcbnew.FLASHING_NEVER_FLASHED
3191NETNAMES_LAYER_ID_START = _pcbnew.NETNAMES_LAYER_ID_START
3193NETNAMES_LAYER_ID_RESERVED = _pcbnew.NETNAMES_LAYER_ID_RESERVED
3195LAYER_PAD_FR_NETNAMES = _pcbnew.LAYER_PAD_FR_NETNAMES
3197LAYER_PAD_BK_NETNAMES = _pcbnew.LAYER_PAD_BK_NETNAMES
3199LAYER_PAD_NETNAMES = _pcbnew.LAYER_PAD_NETNAMES
3201LAYER_VIA_NETNAMES = _pcbnew.LAYER_VIA_NETNAMES
3203NETNAMES_LAYER_ID_END = _pcbnew.NETNAMES_LAYER_ID_END
3205GAL_LAYER_ID_START = _pcbnew.GAL_LAYER_ID_START
3207LAYER_VIAS = _pcbnew.LAYER_VIAS
3209LAYER_VIA_MICROVIA = _pcbnew.LAYER_VIA_MICROVIA
3211LAYER_VIA_BBLIND = _pcbnew.LAYER_VIA_BBLIND
3213LAYER_VIA_THROUGH = _pcbnew.LAYER_VIA_THROUGH
3215LAYER_NON_PLATEDHOLES = _pcbnew.LAYER_NON_PLATEDHOLES
3217LAYER_MOD_TEXT = _pcbnew.LAYER_MOD_TEXT
3219LAYER_MOD_TEXT_INVISIBLE = _pcbnew.LAYER_MOD_TEXT_INVISIBLE
3221LAYER_ANCHOR = _pcbnew.LAYER_ANCHOR
3223LAYER_PAD_FR = _pcbnew.LAYER_PAD_FR
3225LAYER_PAD_BK = _pcbnew.LAYER_PAD_BK
3227LAYER_RATSNEST = _pcbnew.LAYER_RATSNEST
3229LAYER_GRID = _pcbnew.LAYER_GRID
3231LAYER_GRID_AXES = _pcbnew.LAYER_GRID_AXES
3233LAYER_MOD_FR = _pcbnew.LAYER_MOD_FR
3235LAYER_MOD_BK = _pcbnew.LAYER_MOD_BK
3237LAYER_MOD_VALUES = _pcbnew.LAYER_MOD_VALUES
3239LAYER_MOD_REFERENCES = _pcbnew.LAYER_MOD_REFERENCES
3241LAYER_TRACKS = _pcbnew.LAYER_TRACKS
3243LAYER_PADS_TH = _pcbnew.LAYER_PADS_TH
3245LAYER_PAD_PLATEDHOLES = _pcbnew.LAYER_PAD_PLATEDHOLES
3247LAYER_VIA_HOLES = _pcbnew.LAYER_VIA_HOLES
3249LAYER_DRC_ERROR = _pcbnew.LAYER_DRC_ERROR
3251LAYER_DRAWINGSHEET = _pcbnew.LAYER_DRAWINGSHEET
3253LAYER_GP_OVERLAY = _pcbnew.LAYER_GP_OVERLAY
3255LAYER_SELECT_OVERLAY = _pcbnew.LAYER_SELECT_OVERLAY
3257LAYER_PCB_BACKGROUND = _pcbnew.LAYER_PCB_BACKGROUND
3259LAYER_CURSOR = _pcbnew.LAYER_CURSOR
3261LAYER_AUX_ITEMS = _pcbnew.LAYER_AUX_ITEMS
3263LAYER_DRAW_BITMAPS = _pcbnew.LAYER_DRAW_BITMAPS
3265GAL_LAYER_ID_BITMASK_END = _pcbnew.GAL_LAYER_ID_BITMASK_END
3267LAYER_PADS = _pcbnew.LAYER_PADS
3269LAYER_ZONES = _pcbnew.LAYER_ZONES
3271LAYER_PAD_HOLEWALLS = _pcbnew.LAYER_PAD_HOLEWALLS
3273LAYER_VIA_HOLEWALLS = _pcbnew.LAYER_VIA_HOLEWALLS
3275LAYER_DRC_WARNING = _pcbnew.LAYER_DRC_WARNING
3277LAYER_DRC_EXCLUSION = _pcbnew.LAYER_DRC_EXCLUSION
3279LAYER_MARKER_SHADOWS = _pcbnew.LAYER_MARKER_SHADOWS
3281LAYER_LOCKED_ITEM_SHADOW = _pcbnew.LAYER_LOCKED_ITEM_SHADOW
3283LAYER_CONFLICTS_SHADOW = _pcbnew.LAYER_CONFLICTS_SHADOW
3285LAYER_DRAWINGSHEET_PAGE1 = _pcbnew.LAYER_DRAWINGSHEET_PAGE1
3287LAYER_DRAWINGSHEET_PAGEn = _pcbnew.LAYER_DRAWINGSHEET_PAGEn
3289LAYER_PAGE_LIMITS = _pcbnew.LAYER_PAGE_LIMITS
3291LAYER_ZONE_START = _pcbnew.LAYER_ZONE_START
3293LAYER_ZONE_END = _pcbnew.LAYER_ZONE_END
3295LAYER_BITMAP_START = _pcbnew.LAYER_BITMAP_START
3297LAYER_BITMAP_END = _pcbnew.LAYER_BITMAP_END
3299GAL_LAYER_ID_END = _pcbnew.GAL_LAYER_ID_END
3303 r"""ToGalLayer(int aInteger) -> GAL_LAYER_ID"""
3304 return _pcbnew.ToGalLayer(aInteger)
3306 r"""Proxy of C++ GAL_SET class."""
3308 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3309 __repr__ = _swig_repr
3314 __init__(GAL_SET self, GAL_SET aOther) -> GAL_SET
3315 __init__(GAL_SET self, GAL_LAYER_ID const * aArray, unsigned int aCount) -> GAL_SET
3317 _pcbnew.GAL_SET_swiginit(self, _pcbnew.new_GAL_SET(*args))
3321 set(GAL_SET self) -> GAL_SET
3322 set(GAL_SET self, int aPos, bool aVal=True) -> GAL_SET
3323 set(GAL_SET self, GAL_LAYER_ID aPos, bool aVal=
True) -> GAL_SET
3325 return _pcbnew.GAL_SET_set(self, *args)
3328 r"""Contains(GAL_SET self, GAL_LAYER_ID aPos) -> bool"""
3329 return _pcbnew.GAL_SET_Contains(self, aPos)
3332 r"""Seq(GAL_SET self) -> std::vector< GAL_LAYER_ID,std::allocator< GAL_LAYER_ID > >"""
3333 return _pcbnew.GAL_SET_Seq(self)
3337 r"""DefaultVisible() -> GAL_SET"""
3338 return _pcbnew.GAL_SET_DefaultVisible()
3339 __swig_destroy__ = _pcbnew.delete_GAL_SET
3342_pcbnew.GAL_SET_swigregister(GAL_SET)
3343GAL_LAYER_ID_COUNT = cvar.GAL_LAYER_ID_COUNT
3346 r"""GAL_SET_DefaultVisible() -> GAL_SET"""
3347 return _pcbnew.GAL_SET_DefaultVisible()
3349SCH_LAYER_ID_START = _pcbnew.SCH_LAYER_ID_START
3351LAYER_WIRE = _pcbnew.LAYER_WIRE
3353LAYER_BUS = _pcbnew.LAYER_BUS
3355LAYER_JUNCTION = _pcbnew.LAYER_JUNCTION
3357LAYER_LOCLABEL = _pcbnew.LAYER_LOCLABEL
3359LAYER_GLOBLABEL = _pcbnew.LAYER_GLOBLABEL
3361LAYER_HIERLABEL = _pcbnew.LAYER_HIERLABEL
3363LAYER_PINNUM = _pcbnew.LAYER_PINNUM
3365LAYER_PINNAM = _pcbnew.LAYER_PINNAM
3367LAYER_REFERENCEPART = _pcbnew.LAYER_REFERENCEPART
3369LAYER_VALUEPART = _pcbnew.LAYER_VALUEPART
3371LAYER_FIELDS = _pcbnew.LAYER_FIELDS
3373LAYER_INTERSHEET_REFS = _pcbnew.LAYER_INTERSHEET_REFS
3375LAYER_NETCLASS_REFS = _pcbnew.LAYER_NETCLASS_REFS
3377LAYER_DEVICE = _pcbnew.LAYER_DEVICE
3379LAYER_NOTES = _pcbnew.LAYER_NOTES
3381LAYER_PRIVATE_NOTES = _pcbnew.LAYER_PRIVATE_NOTES
3383LAYER_NOTES_BACKGROUND = _pcbnew.LAYER_NOTES_BACKGROUND
3385LAYER_PIN = _pcbnew.LAYER_PIN
3387LAYER_SHEET = _pcbnew.LAYER_SHEET
3389LAYER_SHEETNAME = _pcbnew.LAYER_SHEETNAME
3391LAYER_SHEETFILENAME = _pcbnew.LAYER_SHEETFILENAME
3393LAYER_SHEETFIELDS = _pcbnew.LAYER_SHEETFIELDS
3395LAYER_SHEETLABEL = _pcbnew.LAYER_SHEETLABEL
3397LAYER_NOCONNECT = _pcbnew.LAYER_NOCONNECT
3399LAYER_DANGLING = _pcbnew.LAYER_DANGLING
3401LAYER_ERC_WARN = _pcbnew.LAYER_ERC_WARN
3403LAYER_ERC_ERR = _pcbnew.LAYER_ERC_ERR
3405LAYER_ERC_EXCLUSION = _pcbnew.LAYER_ERC_EXCLUSION
3407LAYER_DEVICE_BACKGROUND = _pcbnew.LAYER_DEVICE_BACKGROUND
3409LAYER_SHEET_BACKGROUND = _pcbnew.LAYER_SHEET_BACKGROUND
3411LAYER_SCHEMATIC_GRID = _pcbnew.LAYER_SCHEMATIC_GRID
3413LAYER_SCHEMATIC_GRID_AXES = _pcbnew.LAYER_SCHEMATIC_GRID_AXES
3415LAYER_SCHEMATIC_BACKGROUND = _pcbnew.LAYER_SCHEMATIC_BACKGROUND
3417LAYER_SCHEMATIC_CURSOR = _pcbnew.LAYER_SCHEMATIC_CURSOR
3419LAYER_HOVERED = _pcbnew.LAYER_HOVERED
3421LAYER_BRIGHTENED = _pcbnew.LAYER_BRIGHTENED
3423LAYER_HIDDEN = _pcbnew.LAYER_HIDDEN
3425LAYER_SELECTION_SHADOWS = _pcbnew.LAYER_SELECTION_SHADOWS
3427LAYER_SCHEMATIC_DRAWINGSHEET = _pcbnew.LAYER_SCHEMATIC_DRAWINGSHEET
3429LAYER_SCHEMATIC_PAGE_LIMITS = _pcbnew.LAYER_SCHEMATIC_PAGE_LIMITS
3431LAYER_BUS_JUNCTION = _pcbnew.LAYER_BUS_JUNCTION
3433LAYER_SCHEMATIC_AUX_ITEMS = _pcbnew.LAYER_SCHEMATIC_AUX_ITEMS
3435LAYER_SCHEMATIC_ANCHOR = _pcbnew.LAYER_SCHEMATIC_ANCHOR
3437SCH_LAYER_ID_END = _pcbnew.SCH_LAYER_ID_END
3439GERBVIEW_LAYER_ID_START = _pcbnew.GERBVIEW_LAYER_ID_START
3441GERBVIEW_LAYER_ID_RESERVED = _pcbnew.GERBVIEW_LAYER_ID_RESERVED
3443LAYER_DCODES = _pcbnew.LAYER_DCODES
3445LAYER_NEGATIVE_OBJECTS = _pcbnew.LAYER_NEGATIVE_OBJECTS
3447LAYER_GERBVIEW_GRID = _pcbnew.LAYER_GERBVIEW_GRID
3449LAYER_GERBVIEW_AXES = _pcbnew.LAYER_GERBVIEW_AXES
3451LAYER_GERBVIEW_BACKGROUND = _pcbnew.LAYER_GERBVIEW_BACKGROUND
3453LAYER_GERBVIEW_DRAWINGSHEET = _pcbnew.LAYER_GERBVIEW_DRAWINGSHEET
3455LAYER_GERBVIEW_PAGE_LIMITS = _pcbnew.LAYER_GERBVIEW_PAGE_LIMITS
3457GERBVIEW_LAYER_ID_END = _pcbnew.GERBVIEW_LAYER_ID_END
3459LAYER_3D_START = _pcbnew.LAYER_3D_START
3461LAYER_3D_BACKGROUND_BOTTOM = _pcbnew.LAYER_3D_BACKGROUND_BOTTOM
3463LAYER_3D_BACKGROUND_TOP = _pcbnew.LAYER_3D_BACKGROUND_TOP
3465LAYER_3D_BOARD = _pcbnew.LAYER_3D_BOARD
3467LAYER_3D_COPPER = _pcbnew.LAYER_3D_COPPER
3469LAYER_3D_SILKSCREEN_BOTTOM = _pcbnew.LAYER_3D_SILKSCREEN_BOTTOM
3471LAYER_3D_SILKSCREEN_TOP = _pcbnew.LAYER_3D_SILKSCREEN_TOP
3473LAYER_3D_SOLDERMASK_BOTTOM = _pcbnew.LAYER_3D_SOLDERMASK_BOTTOM
3475LAYER_3D_SOLDERMASK_TOP = _pcbnew.LAYER_3D_SOLDERMASK_TOP
3477LAYER_3D_SOLDERPASTE = _pcbnew.LAYER_3D_SOLDERPASTE
3479LAYER_3D_END = _pcbnew.LAYER_3D_END
3483 r"""LayerName(int aLayer) -> wxString"""
3484 return _pcbnew.LayerName(aLayer)
3486 r"""Proxy of C++ LSEQ class."""
3488 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3489 __repr__ = _swig_repr
3492 r"""__init__(LSEQ self) -> LSEQ"""
3493 _pcbnew.LSEQ_swiginit(self, _pcbnew.new_LSEQ())
3496 r"""Rewind(LSEQ self)"""
3497 return _pcbnew.LSEQ_Rewind(self)
3500 return _pcbnew.LSEQ___nonzero__(self)
3501 __bool__ = __nonzero__
3506 r"""__ref__(LSEQ self) -> PCB_LAYER_ID"""
3507 return _pcbnew.LSEQ___ref__(self)
3508 __swig_destroy__ = _pcbnew.delete_LSEQ
3511_pcbnew.LSEQ_swigregister(LSEQ)
3514 r"""Proxy of C++ LSET class."""
3516 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3517 __repr__ = _swig_repr
3522 __init__(LSET self, BASE_SET const & aOther) -> LSET
3523 __init__(LSET self, PCB_LAYER_ID aLayer) -> LSET
3524 __init__(LSET self, PCB_LAYER_ID const * aArray, unsigned int aCount) -> LSET
3525 __init__(LSET self, unsigned int aIdCount, int aFirst) -> LSET
3527 _pcbnew.LSET_swiginit(self, _pcbnew.new_LSET(*args))
3530 r"""Contains(LSET self, PCB_LAYER_ID aLayer) -> bool"""
3531 return _pcbnew.LSET_Contains(self, aLayer)
3535 r"""Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
3536 return _pcbnew.LSET_Name(aLayerId)
3540 r"""InternalCuMask() -> LSET"""
3541 return _pcbnew.LSET_InternalCuMask()
3545 r"""FrontAssembly() -> LSET"""
3546 return _pcbnew.LSET_FrontAssembly()
3550 r"""BackAssembly() -> LSET"""
3551 return _pcbnew.LSET_BackAssembly()
3555 r"""AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
3556 return _pcbnew.LSET_AllCuMask(*args)
3560 r"""ExternalCuMask() -> LSET"""
3561 return _pcbnew.LSET_ExternalCuMask()
3565 r"""AllNonCuMask() -> LSET"""
3566 return _pcbnew.LSET_AllNonCuMask()
3570 r"""AllLayersMask() -> LSET"""
3571 return _pcbnew.LSET_AllLayersMask()
3575 r"""FrontTechMask() -> LSET"""
3576 return _pcbnew.LSET_FrontTechMask()
3580 r"""FrontBoardTechMask() -> LSET"""
3581 return _pcbnew.LSET_FrontBoardTechMask()
3585 r"""BackTechMask() -> LSET"""
3586 return _pcbnew.LSET_BackTechMask()
3590 r"""BackBoardTechMask() -> LSET"""
3591 return _pcbnew.LSET_BackBoardTechMask()
3595 r"""AllTechMask() -> LSET"""
3596 return _pcbnew.LSET_AllTechMask()
3600 r"""AllBoardTechMask() -> LSET"""
3601 return _pcbnew.LSET_AllBoardTechMask()
3605 r"""FrontMask() -> LSET"""
3606 return _pcbnew.LSET_FrontMask()
3610 r"""BackMask() -> LSET"""
3611 return _pcbnew.LSET_BackMask()
3615 r"""SideSpecificMask() -> LSET"""
3616 return _pcbnew.LSET_SideSpecificMask()
3620 r"""UserMask() -> LSET"""
3621 return _pcbnew.LSET_UserMask()
3625 r"""PhysicalLayersMask() -> LSET"""
3626 return _pcbnew.LSET_PhysicalLayersMask()
3630 r"""UserDefinedLayers() -> LSET"""
3631 return _pcbnew.LSET_UserDefinedLayers()
3635 r"""ForbiddenFootprintLayers() -> LSET"""
3636 return _pcbnew.LSET_ForbiddenFootprintLayers()
3639 r"""CuStack(LSET self) -> LSEQ"""
3640 return _pcbnew.LSET_CuStack(self)
3643 r"""Technicals(LSET self, LSET aSubToOmit=LSET()) -> LSEQ"""
3644 return _pcbnew.LSET_Technicals(self, *args)
3647 r"""Users(LSET self) -> LSEQ"""
3648 return _pcbnew.LSET_Users(self)
3651 r"""TechAndUserUIOrder(LSET self) -> LSEQ"""
3652 return _pcbnew.LSET_TechAndUserUIOrder(self)
3655 r"""UIOrder(LSET self) -> LSEQ"""
3656 return _pcbnew.LSET_UIOrder(self)
3660 Seq(LSET self, PCB_LAYER_ID const * aWishListSequence, unsigned int aCount) -> LSEQ
3661 Seq(LSET self, LSEQ aSequence) -> LSEQ
3662 Seq(LSET self) -> LSEQ
3664 return _pcbnew.LSET_Seq(self, *args)
3667 r"""SeqStackupBottom2Top(LSET self) -> LSEQ"""
3668 return _pcbnew.LSET_SeqStackupBottom2Top(self)
3671 r"""FmtHex(LSET self) -> string"""
3672 return _pcbnew.LSET_FmtHex(self)
3675 r"""ParseHex(LSET self, char const * aStart, int aCount) -> int"""
3676 return _pcbnew.LSET_ParseHex(self, aStart, aCount)
3679 r"""FmtBin(LSET self) -> string"""
3680 return _pcbnew.LSET_FmtBin(self)
3683 r"""ExtractLayer(LSET self) -> PCB_LAYER_ID"""
3684 return _pcbnew.LSET_ExtractLayer(self)
3687 r"""addLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
3688 return _pcbnew.LSET_addLayer(self, aLayer)
3691 r"""removeLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
3692 return _pcbnew.LSET_removeLayer(self, aLayer)
3695 r"""addLayerSet(LSET self, LSET aLayerSet) -> LSET"""
3696 return _pcbnew.LSET_addLayerSet(self, aLayerSet)
3699 r"""removeLayerSet(LSET self, LSET aLayerSet) -> LSET"""
3700 return _pcbnew.LSET_removeLayerSet(self, aLayerSet)
3714 __swig_destroy__ = _pcbnew.delete_LSET
3717_pcbnew.LSET_swigregister(LSET)
3720 r"""LSET_Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
3721 return _pcbnew.LSET_Name(aLayerId)
3724 r"""LSET_InternalCuMask() -> LSET"""
3725 return _pcbnew.LSET_InternalCuMask()
3728 r"""LSET_FrontAssembly() -> LSET"""
3729 return _pcbnew.LSET_FrontAssembly()
3732 r"""LSET_BackAssembly() -> LSET"""
3733 return _pcbnew.LSET_BackAssembly()
3736 r"""LSET_AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
3737 return _pcbnew.LSET_AllCuMask(*args)
3740 r"""LSET_ExternalCuMask() -> LSET"""
3741 return _pcbnew.LSET_ExternalCuMask()
3744 r"""LSET_AllNonCuMask() -> LSET"""
3745 return _pcbnew.LSET_AllNonCuMask()
3748 r"""LSET_AllLayersMask() -> LSET"""
3749 return _pcbnew.LSET_AllLayersMask()
3752 r"""LSET_FrontTechMask() -> LSET"""
3753 return _pcbnew.LSET_FrontTechMask()
3756 r"""LSET_FrontBoardTechMask() -> LSET"""
3757 return _pcbnew.LSET_FrontBoardTechMask()
3760 r"""LSET_BackTechMask() -> LSET"""
3761 return _pcbnew.LSET_BackTechMask()
3764 r"""LSET_BackBoardTechMask() -> LSET"""
3765 return _pcbnew.LSET_BackBoardTechMask()
3768 r"""LSET_AllTechMask() -> LSET"""
3769 return _pcbnew.LSET_AllTechMask()
3772 r"""LSET_AllBoardTechMask() -> LSET"""
3773 return _pcbnew.LSET_AllBoardTechMask()
3776 r"""LSET_FrontMask() -> LSET"""
3777 return _pcbnew.LSET_FrontMask()
3780 r"""LSET_BackMask() -> LSET"""
3781 return _pcbnew.LSET_BackMask()
3784 r"""LSET_SideSpecificMask() -> LSET"""
3785 return _pcbnew.LSET_SideSpecificMask()
3788 r"""LSET_UserMask() -> LSET"""
3789 return _pcbnew.LSET_UserMask()
3792 r"""LSET_PhysicalLayersMask() -> LSET"""
3793 return _pcbnew.LSET_PhysicalLayersMask()
3796 r"""LSET_UserDefinedLayers() -> LSET"""
3797 return _pcbnew.LSET_UserDefinedLayers()
3800 r"""LSET_ForbiddenFootprintLayers() -> LSET"""
3801 return _pcbnew.LSET_ForbiddenFootprintLayers()
3805 r"""IsValidLayer(int aLayerId) -> bool"""
3806 return _pcbnew.IsValidLayer(aLayerId)
3809 r"""IsPcbLayer(int aLayer) -> bool"""
3810 return _pcbnew.IsPcbLayer(aLayer)
3813 r"""IsNonCopperLayer(int aLayerId) -> bool"""
3814 return _pcbnew.IsNonCopperLayer(aLayerId)
3819 IsCopperLayer(int aLayerId, bool aIncludeSyntheticCopperLayers) -> bool
3821 return _pcbnew.IsCopperLayer(*args)
3824 r"""IsViaPadLayer(int aLayer) -> bool"""
3825 return _pcbnew.IsViaPadLayer(aLayer)
3828 r"""IsHoleLayer(int aLayer) -> bool"""
3829 return _pcbnew.IsHoleLayer(aLayer)
3832 r"""IsUserLayer(PCB_LAYER_ID aLayerId) -> bool"""
3833 return _pcbnew.IsUserLayer(aLayerId)
3836 r"""IsFrontLayer(PCB_LAYER_ID aLayerId) -> bool"""
3837 return _pcbnew.IsFrontLayer(aLayerId)
3840 r"""IsBackLayer(PCB_LAYER_ID aLayerId) -> bool"""
3841 return _pcbnew.IsBackLayer(aLayerId)
3844 r"""FlipLayer(PCB_LAYER_ID aLayerId, int aCopperLayersCount=0) -> PCB_LAYER_ID"""
3845 return _pcbnew.FlipLayer(aLayerId, aCopperLayersCount)
3848 r"""FlipLayerMask(LSET aMask, int aCopperLayersCount=0) -> LSET"""
3849 return _pcbnew.FlipLayerMask(aMask, aCopperLayersCount)
3852 r"""GetNetnameLayer(int aLayer) -> int"""
3853 return _pcbnew.GetNetnameLayer(aLayer)
3856 r"""IsNetnameLayer(int aLayer) -> bool"""
3857 return _pcbnew.IsNetnameLayer(aLayer)
3860 r"""IsZoneFillLayer(int aLayer) -> bool"""
3861 return _pcbnew.IsZoneFillLayer(aLayer)
3864 r"""IsDCodeLayer(int aLayer) -> bool"""
3865 return _pcbnew.IsDCodeLayer(aLayer)
3868 r"""IsNetCopperLayer(int aLayer) -> bool"""
3869 return _pcbnew.IsNetCopperLayer(aLayer)
3872 r"""ToLAYER_ID(int aLayer) -> PCB_LAYER_ID"""
3873 return _pcbnew.ToLAYER_ID(aLayer)
3875 r"""Proxy of C++ SETTINGS_MANAGER class."""
3877 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3878 __repr__ = _swig_repr
3881 r"""__init__(SETTINGS_MANAGER self, bool aHeadless=False) -> SETTINGS_MANAGER"""
3882 _pcbnew.SETTINGS_MANAGER_swiginit(self, _pcbnew.new_SETTINGS_MANAGER(aHeadless))
3883 __swig_destroy__ = _pcbnew.delete_SETTINGS_MANAGER
3886 r"""IsOK(SETTINGS_MANAGER self) -> bool"""
3887 return _pcbnew.SETTINGS_MANAGER_IsOK(self)
3890 r"""SetKiway(SETTINGS_MANAGER self, KIWAY * aKiway)"""
3891 return _pcbnew.SETTINGS_MANAGER_SetKiway(self, aKiway)
3895 Load(SETTINGS_MANAGER self)
3896 Load(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
3898 return _pcbnew.SETTINGS_MANAGER_Load(self, *args)
3902 Save(SETTINGS_MANAGER self)
3903 Save(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
3905 return _pcbnew.SETTINGS_MANAGER_Save(self, *args)
3908 r"""FlushAndRelease(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings, bool aSave=True)"""
3909 return _pcbnew.SETTINGS_MANAGER_FlushAndRelease(self, aSettings, aSave)
3912 r"""GetColorSettings(SETTINGS_MANAGER self, wxString aName="user") -> COLOR_SETTINGS"""
3913 return _pcbnew.SETTINGS_MANAGER_GetColorSettings(self, *args)
3916 r"""GetColorSettingsList(SETTINGS_MANAGER self) -> std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >"""
3917 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsList(self)
3920 r"""SaveColorSettings(SETTINGS_MANAGER self, COLOR_SETTINGS * aSettings, string aNamespace="")"""
3921 return _pcbnew.SETTINGS_MANAGER_SaveColorSettings(self, *args)
3924 r"""AddNewColorSettings(SETTINGS_MANAGER self, wxString aFilename) -> COLOR_SETTINGS *"""
3925 return _pcbnew.SETTINGS_MANAGER_AddNewColorSettings(self, aFilename)
3928 r"""GetMigratedColorSettings(SETTINGS_MANAGER self) -> COLOR_SETTINGS *"""
3929 return _pcbnew.SETTINGS_MANAGER_GetMigratedColorSettings(self)
3932 r"""GetCommonSettings(SETTINGS_MANAGER self) -> COMMON_SETTINGS *"""
3933 return _pcbnew.SETTINGS_MANAGER_GetCommonSettings(self)
3936 r"""GetPathForSettingsFile(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings) -> wxString"""
3937 return _pcbnew.SETTINGS_MANAGER_GetPathForSettingsFile(self, aSettings)
3940 r"""MigrateIfNeeded(SETTINGS_MANAGER self) -> bool"""
3941 return _pcbnew.SETTINGS_MANAGER_MigrateIfNeeded(self)
3944 r"""SetMigrationSource(SETTINGS_MANAGER self, wxString aSource)"""
3945 return _pcbnew.SETTINGS_MANAGER_SetMigrationSource(self, aSource)
3948 r"""SetMigrateLibraryTables(SETTINGS_MANAGER self, bool aMigrate=True)"""
3949 return _pcbnew.SETTINGS_MANAGER_SetMigrateLibraryTables(self, aMigrate)
3952 r"""GetPreviousVersionPaths(SETTINGS_MANAGER self, std::vector< wxString,std::allocator< wxString > > * aName=None) -> bool"""
3953 return _pcbnew.SETTINGS_MANAGER_GetPreviousVersionPaths(self, aName)
3956 r"""ReloadColorSettings(SETTINGS_MANAGER self)"""
3957 return _pcbnew.SETTINGS_MANAGER_ReloadColorSettings(self)
3960 r"""LoadProject(SETTINGS_MANAGER self, wxString aFullPath, bool aSetActive=True) -> bool"""
3961 return _pcbnew.SETTINGS_MANAGER_LoadProject(self, aFullPath, aSetActive)
3964 r"""UnloadProject(SETTINGS_MANAGER self, PROJECT * aProject, bool aSave=True) -> bool"""
3965 return _pcbnew.SETTINGS_MANAGER_UnloadProject(self, aProject, aSave)
3968 r"""IsProjectOpen(SETTINGS_MANAGER self) -> bool"""
3969 return _pcbnew.SETTINGS_MANAGER_IsProjectOpen(self)
3972 r"""Prj(SETTINGS_MANAGER self) -> PROJECT &"""
3973 return _pcbnew.SETTINGS_MANAGER_Prj(self)
3976 r"""GetProject(SETTINGS_MANAGER self, wxString aFullPath) -> PROJECT *"""
3977 return _pcbnew.SETTINGS_MANAGER_GetProject(self, aFullPath)
3980 r"""GetOpenProjects(SETTINGS_MANAGER self) -> std::vector< wxString,std::allocator< wxString > >"""
3981 return _pcbnew.SETTINGS_MANAGER_GetOpenProjects(self)
3984 r"""SaveProject(SETTINGS_MANAGER self, wxString aFullPath=wxEmptyString, PROJECT * aProject=None) -> bool"""
3985 return _pcbnew.SETTINGS_MANAGER_SaveProject(self, *args)
3988 r"""SaveProjectAs(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
3989 return _pcbnew.SETTINGS_MANAGER_SaveProjectAs(self, aFullPath, aProject)
3992 r"""SaveProjectCopy(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
3993 return _pcbnew.SETTINGS_MANAGER_SaveProjectCopy(self, aFullPath, aProject)
3996 r"""GetProjectBackupsPath(SETTINGS_MANAGER self) -> wxString"""
3997 return _pcbnew.SETTINGS_MANAGER_GetProjectBackupsPath(self)
4000 r"""BackupProject(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
4001 return _pcbnew.SETTINGS_MANAGER_BackupProject(self, aReporter)
4004 r"""TriggerBackupIfNeeded(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
4005 return _pcbnew.SETTINGS_MANAGER_TriggerBackupIfNeeded(self, aReporter)
4009 r"""IsSettingsPathValid(wxString aPath) -> bool"""
4010 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
4014 r"""GetColorSettingsPath() -> wxString"""
4015 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
4019 r"""GetUserSettingsPath() -> wxString"""
4020 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
4024 r"""GetSettingsVersion() -> string"""
4025 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
4028_pcbnew.SETTINGS_MANAGER_swigregister(SETTINGS_MANAGER)
4031 r"""SETTINGS_MANAGER_IsSettingsPathValid(wxString aPath) -> bool"""
4032 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
4035 r"""SETTINGS_MANAGER_GetColorSettingsPath() -> wxString"""
4036 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
4039 r"""SETTINGS_MANAGER_GetUserSettingsPath() -> wxString"""
4040 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
4043 r"""SETTINGS_MANAGER_GetSettingsVersion() -> string"""
4044 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
4047 r"""Proxy of C++ std::vector< int > class."""
4049 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4050 __repr__ = _swig_repr
4053 r"""iterator(intVector self) -> SwigPyIterator"""
4054 return _pcbnew.intVector_iterator(self)
4059 r"""__nonzero__(intVector self) -> bool"""
4060 return _pcbnew.intVector___nonzero__(self)
4063 r"""__bool__(intVector self) -> bool"""
4064 return _pcbnew.intVector___bool__(self)
4067 r"""__len__(intVector self) -> std::vector< int >::size_type"""
4068 return _pcbnew.intVector___len__(self)
4071 r"""__getslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> intVector"""
4072 return _pcbnew.intVector___getslice__(self, i, j)
4076 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
4077 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, intVector v)
4079 return _pcbnew.intVector___setslice__(self, *args)
4082 r"""__delslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"""
4083 return _pcbnew.intVector___delslice__(self, i, j)
4087 __delitem__(intVector self, std::vector< int >::difference_type i)
4088 __delitem__(intVector self, PySliceObject * slice)
4090 return _pcbnew.intVector___delitem__(self, *args)
4094 __getitem__(intVector self, PySliceObject * slice) -> intVector
4095 __getitem__(intVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &
4097 return _pcbnew.intVector___getitem__(self, *args)
4101 __setitem__(intVector self, PySliceObject * slice, intVector v)
4102 __setitem__(intVector self, PySliceObject * slice)
4103 __setitem__(intVector self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)
4105 return _pcbnew.intVector___setitem__(self, *args)
4108 r"""pop(intVector self) -> std::vector< int >::value_type"""
4109 return _pcbnew.intVector_pop(self)
4112 r"""append(intVector self, std::vector< int >::value_type const & x)"""
4113 return _pcbnew.intVector_append(self, x)
4116 r"""empty(intVector self) -> bool"""
4117 return _pcbnew.intVector_empty(self)
4120 r"""size(intVector self) -> std::vector< int >::size_type"""
4121 return _pcbnew.intVector_size(self)
4124 r"""swap(intVector self, intVector v)"""
4125 return _pcbnew.intVector_swap(self, v)
4128 r"""begin(intVector self) -> std::vector< int >::iterator"""
4129 return _pcbnew.intVector_begin(self)
4132 r"""end(intVector self) -> std::vector< int >::iterator"""
4133 return _pcbnew.intVector_end(self)
4136 r"""rbegin(intVector self) -> std::vector< int >::reverse_iterator"""
4137 return _pcbnew.intVector_rbegin(self)
4140 r"""rend(intVector self) -> std::vector< int >::reverse_iterator"""
4141 return _pcbnew.intVector_rend(self)
4144 r"""clear(intVector self)"""
4145 return _pcbnew.intVector_clear(self)
4148 r"""get_allocator(intVector self) -> std::vector< int >::allocator_type"""
4149 return _pcbnew.intVector_get_allocator(self)
4152 r"""pop_back(intVector self)"""
4153 return _pcbnew.intVector_pop_back(self)
4157 erase(intVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator
4158 erase(intVector self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator
4160 return _pcbnew.intVector_erase(self, *args)
4164 __init__(intVector self) -> intVector
4165 __init__(intVector self, intVector other) -> intVector
4166 __init__(intVector self, std::vector< int >::size_type size) -> intVector
4167 __init__(intVector self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> intVector
4169 _pcbnew.intVector_swiginit(self, _pcbnew.new_intVector(*args))
4172 r"""push_back(intVector self, std::vector< int >::value_type const & x)"""
4173 return _pcbnew.intVector_push_back(self, x)
4176 r"""front(intVector self) -> std::vector< int >::value_type const &"""
4177 return _pcbnew.intVector_front(self)
4180 r"""back(intVector self) -> std::vector< int >::value_type const &"""
4181 return _pcbnew.intVector_back(self)
4184 r"""assign(intVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)"""
4185 return _pcbnew.intVector_assign(self, n, x)
4189 resize(intVector self, std::vector< int >::size_type new_size)
4190 resize(intVector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)
4192 return _pcbnew.intVector_resize(self, *args)
4196 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator
4197 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x)
4199 return _pcbnew.intVector_insert(self, *args)
4202 r"""reserve(intVector self, std::vector< int >::size_type n)"""
4203 return _pcbnew.intVector_reserve(self, n)
4206 r"""capacity(intVector self) -> std::vector< int >::size_type"""
4207 return _pcbnew.intVector_capacity(self)
4208 __swig_destroy__ = _pcbnew.delete_intVector
4211_pcbnew.intVector_swigregister(intVector)
4214 r"""Proxy of C++ std::map< std::string,UTF8 > class."""
4216 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4217 __repr__ = _swig_repr
4220 r"""iterator(str_utf8_Map self) -> SwigPyIterator"""
4221 return _pcbnew.str_utf8_Map_iterator(self)
4226 r"""__nonzero__(str_utf8_Map self) -> bool"""
4227 return _pcbnew.str_utf8_Map___nonzero__(self)
4230 r"""__bool__(str_utf8_Map self) -> bool"""
4231 return _pcbnew.str_utf8_Map___bool__(self)
4234 r"""__len__(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4235 return _pcbnew.str_utf8_Map___len__(self)
4246 r"""__getitem__(str_utf8_Map self, string key) -> UTF8"""
4247 return _pcbnew.str_utf8_Map___getitem__(self, key)
4250 r"""__delitem__(str_utf8_Map self, string key)"""
4251 return _pcbnew.str_utf8_Map___delitem__(self, key)
4254 r"""has_key(str_utf8_Map self, string key) -> bool"""
4255 return _pcbnew.str_utf8_Map_has_key(self, key)
4258 r"""keys(str_utf8_Map self) -> PyObject *"""
4259 return _pcbnew.str_utf8_Map_keys(self)
4262 r"""values(str_utf8_Map self) -> PyObject *"""
4263 return _pcbnew.str_utf8_Map_values(self)
4266 r"""items(str_utf8_Map self) -> PyObject *"""
4267 return _pcbnew.str_utf8_Map_items(self)
4270 r"""__contains__(str_utf8_Map self, string key) -> bool"""
4271 return _pcbnew.str_utf8_Map___contains__(self, key)
4274 r"""key_iterator(str_utf8_Map self) -> SwigPyIterator"""
4275 return _pcbnew.str_utf8_Map_key_iterator(self)
4278 r"""value_iterator(str_utf8_Map self) -> SwigPyIterator"""
4279 return _pcbnew.str_utf8_Map_value_iterator(self)
4284 __setitem__(str_utf8_Map self, string key, UTF8 x)
4286 return _pcbnew.str_utf8_Map___setitem__(self, *args)
4289 r"""asdict(str_utf8_Map self) -> PyObject *"""
4290 return _pcbnew.str_utf8_Map_asdict(self)
4294 __init__(str_utf8_Map self, std::less< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > const & other) -> str_utf8_Map
4295 __init__(str_utf8_Map self) -> str_utf8_Map
4296 __init__(str_utf8_Map self, str_utf8_Map other) -> str_utf8_Map
4298 _pcbnew.str_utf8_Map_swiginit(self, _pcbnew.new_str_utf8_Map(*args))
4301 r"""empty(str_utf8_Map self) -> bool"""
4302 return _pcbnew.str_utf8_Map_empty(self)
4305 r"""size(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4306 return _pcbnew.str_utf8_Map_size(self)
4309 r"""swap(str_utf8_Map self, str_utf8_Map v)"""
4310 return _pcbnew.str_utf8_Map_swap(self, v)
4313 r"""begin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4314 return _pcbnew.str_utf8_Map_begin(self)
4317 r"""end(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4318 return _pcbnew.str_utf8_Map_end(self)
4321 r"""rbegin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
4322 return _pcbnew.str_utf8_Map_rbegin(self)
4325 r"""rend(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
4326 return _pcbnew.str_utf8_Map_rend(self)
4329 r"""clear(str_utf8_Map self)"""
4330 return _pcbnew.str_utf8_Map_clear(self)
4333 r"""get_allocator(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::allocator_type"""
4334 return _pcbnew.str_utf8_Map_get_allocator(self)
4337 r"""count(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
4338 return _pcbnew.str_utf8_Map_count(self, x)
4342 erase(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type
4343 erase(str_utf8_Map self, std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator position)
4344 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)
4346 return _pcbnew.str_utf8_Map_erase(self, *args)
4349 r"""find(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4350 return _pcbnew.str_utf8_Map_find(self, x)
4353 r"""lower_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4354 return _pcbnew.str_utf8_Map_lower_bound(self, x)
4357 r"""upper_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
4358 return _pcbnew.str_utf8_Map_upper_bound(self, x)
4359 __swig_destroy__ = _pcbnew.delete_str_utf8_Map
4362_pcbnew.str_utf8_Map_swigregister(str_utf8_Map)
4368""" the list of not loaded python scripts
4369 (usually because there is a syntax error
in python script)
4370 this
is the python script full filenames list.
4371 filenames are separated by
'\n'
4373NOT_LOADED_WIZARDS=""
4375""" the list of paths used to search python scripts.
4376 Stored here to be displayed on request
in Pcbnew
4377 paths are separated by
'\n'
4379PLUGIN_DIRECTORIES_SEARCH=""
4382 the trace of errors during execution of footprint wizards scripts
4383 Warning: strings (internally unicode) are returned
as UTF-8 compatible C strings
4388def GetUnLoadableWizards():
4389 global NOT_LOADED_WIZARDS
4392 if sys.version_info[0] < 3:
4393 utf8_str = NOT_LOADED_WIZARDS.encode(
'UTF-8' )
4395 utf8_str = NOT_LOADED_WIZARDS
4400 global PLUGIN_DIRECTORIES_SEARCH
4403 if sys.version_info[0] < 3:
4404 utf8_str = PLUGIN_DIRECTORIES_SEARCH.encode(
'UTF-8' )
4406 utf8_str = PLUGIN_DIRECTORIES_SEARCH
4411 global FULL_BACK_TRACE
4412 return FULL_BACK_TRACE
4417 Load the plugin module named ModuleName located in the folder Dirname.
4418 The module can be either inside a file called FileName
or a subdirectory
4419 called FileName that contains a __init__.py file.
4420 If this module cannot be loaded, its name
is stored
in failed_wizards_list
4421 and the error trace
is stored
in FULL_BACK_TRACE
4427 global NOT_LOADED_WIZARDS
4428 global FULL_BACK_TRACE
4429 global KICAD_PLUGINS
4433 module_filename = os.path.join( Dirname, FileName )
4434 mtime = os.path.getmtime( module_filename )
4435 mods_before = set( sys.modules )
4437 if ModuleName
in KICAD_PLUGINS:
4438 plugin = KICAD_PLUGINS[ModuleName]
4440 for dependency
in plugin[
"dependencies"]:
4441 if dependency
in sys.modules:
4442 del sys.modules[dependency]
4444 mods_before = set( sys.modules )
4446 if sys.version_info >= (3,0,0):
4448 mod = importlib.import_module( ModuleName )
4450 mod = __import__( ModuleName, locals(), globals() )
4452 mods_after = set( sys.modules ).difference( mods_before )
4453 dependencies = [m
for m
in mods_after
if m.startswith(ModuleName)]
4455 KICAD_PLUGINS[ModuleName]={
"filename":module_filename,
4456 "modification_time":mtime,
4458 "dependencies": dependencies }
4461 if ModuleName
in KICAD_PLUGINS:
4462 del KICAD_PLUGINS[ModuleName]
4464 if NOT_LOADED_WIZARDS !=
"" :
4465 NOT_LOADED_WIZARDS +=
"\n"
4466 NOT_LOADED_WIZARDS += module_filename
4467 FULL_BACK_TRACE += traceback.format_exc()
4472 Initialise Scripting/Plugin python environment and load plugins.
4475 Note: bundlepath
and userpath are given utf8 encoded, to be compatible
with asimple C string
4476 bundlepath -- The path to the bundled scripts.
4477 The bundled Plugins are relative to this path,
in the
4478 "plugins" subdirectory.
4479 WARNING: bundlepath must use
'/' as path separator,
and not '\'
4480 because it creates issues:
4481 \n and \r are seen
as a escaped seq when passing this string to this method
4482 I am thinking this
is due to the fact LoadPlugins
is called
from C++ code by
4483 PyRun_SimpleString()
4485 NOTE: These are all of the possible
"default" search paths
for kicad
4486 python scripts. These paths will ONLY be added to the python
4487 search path ONLY IF they already exist.
4489 The Scripts bundled
with the KiCad installation:
4491 <bundlepath>/plugins/
4493 The Scripts relative to the KiCad Users configuration:
4497 The plugins
from 3rd party packages:
4498 $KICAD_3RD_PARTY/plugins/
4505 if sys.version_info >= (3,3,0):
4507 importlib.invalidate_caches()
4510 bundlepath and userpath are strings utf-8 encoded (compatible
"C" strings).
4511 So convert these utf8 encoding to unicode strings to avoid any encoding issue.
4514 bundlepath = bundlepath.decode(
'UTF-8' )
4515 userpath = userpath.decode(
'UTF-8' )
4516 thirdpartypath = thirdpartypath.decode(
'UTF-8' )
4517 except AttributeError:
4521 plugin_directories=[]
4524 To be consistent with others paths, on windows, convert the unix
'/' separator
4525 to the windows separator, although using
'/' works
4527 if sys.platform.startswith(
'win32'):
4529 bundlepath = bundlepath.replace(
"/",
"\\")
4531 thirdpartypath = thirdpartypath.replace(
"/",
"\\")
4534 plugin_directories.append(bundlepath)
4535 plugin_directories.append(os.path.join(bundlepath,
'plugins'))
4538 plugin_directories.append(os.path.join(config_path,
'scripting'))
4539 plugin_directories.append(os.path.join(config_path,
'scripting',
'plugins'))
4542 plugin_directories.append(userpath)
4543 plugin_directories.append(os.path.join(userpath,
'plugins'))
4546 plugin_directories.append(thirdpartypath)
4548 global PLUGIN_DIRECTORIES_SEARCH
4549 PLUGIN_DIRECTORIES_SEARCH=
""
4550 for plugins_dir
in plugin_directories:
4551 if PLUGIN_DIRECTORIES_SEARCH !=
"" :
4552 PLUGIN_DIRECTORIES_SEARCH +=
"\n"
4553 PLUGIN_DIRECTORIES_SEARCH += plugins_dir
4555 global FULL_BACK_TRACE
4558 global NOT_LOADED_WIZARDS
4559 NOT_LOADED_WIZARDS =
""
4561 global KICAD_PLUGINS
4563 for plugins_dir
in plugin_directories:
4564 if not os.path.isdir( plugins_dir ):
4567 if plugins_dir
not in sys.path:
4568 sys.path.append( plugins_dir )
4570 for module
in os.listdir(plugins_dir):
4571 fullPath = os.path.join( plugins_dir, module )
4573 if os.path.isdir( fullPath ):
4574 if os.path.exists( os.path.join( fullPath,
'__init__.py' ) ):
4577 if NOT_LOADED_WIZARDS !=
"" :
4578 NOT_LOADED_WIZARDS +=
"\n"
4579 NOT_LOADED_WIZARDS +=
'Skip subdir ' + fullPath
4582 if module ==
'__init__.py' or module[-3:] !=
'.py':
4596 if isinstance(self,FilePlugin):
4599 if isinstance(self,FootprintWizardPlugin):
4600 PYTHON_FOOTPRINT_WIZARD_LIST.register_wizard(self)
4603 if isinstance(self,ActionPlugin):
4605 Get path to .py or .pyc that has definition of plugin
class.
4606 If path
is binary but source also exists, assume definition
is in source.
4608 self.__plugin_path = inspect.getfile(self.__class__)
4609 if self.__plugin_path.endswith(
'.pyc')
and os.path.isfile(self.__plugin_path[:-1]):
4610 self.__plugin_path = self.__plugin_path[:-1]
4611 self.__plugin_path = self.__plugin_path +
'/' + self.__class__.__name__
4612 PYTHON_ACTION_PLUGINS.register_action(self)
4618 if isinstance(self,FilePlugin):
4621 if isinstance(self,FootprintWizardPlugin):
4622 PYTHON_FOOTPRINT_WIZARD_LIST.deregister_wizard(self)
4625 if isinstance(self,ActionPlugin):
4626 PYTHON_ACTION_PLUGINS.deregister_action(self)
4637 KiCadPlugin.__init__(self)
4640from math
import ceil, floor, sqrt
4652uNumeric = [uMM, uMils, uFloat, uInteger, uDegrees, uRadians, uPercent]
4653uUnits = [uMM, uMils, uFloat, uInteger, uBool, uDegrees, uRadians, uPercent, uString]
4656 _true = [
'true',
't',
'y',
'yes',
'on',
'1',1,]
4657 _false = [
'false',
'f',
'n',
'no',
'off',
'0',0,
'',
None]
4659 _bools = _true + _false
4661 def __init__(self, page, name, units, default, **kwarg):
4667 if units.lower()
in uUnits:
4669 elif units.lower() ==
'percent':
4670 self.
units = uPercent
4671 elif type(units)
in [list, tuple]:
4672 self.
units =
",".join([str(el).strip()
for el
in units])
4690 if info
is not None:
4691 err = err +
" (" + str(info) +
")"
4695 def Check(self, min_value=None, max_value=None, multiple=None, info=None):
4697 if min_value
is None:
4699 if max_value
is None:
4701 if multiple
is None:
4704 if self.
units not in uUnits
and ',' not in self.
units:
4705 self.
AddError(
"type '{t}' unknown".format(t=self.
units),info)
4708 if self.
units in uNumeric:
4712 if min_value
is not None:
4713 if to_num < min_value:
4714 self.
AddError(
"value '{v}' is below minimum ({m})".format(v=self.
raw_value,m=min_value),info)
4716 if max_value
is not None:
4717 if to_num > max_value:
4718 self.
AddError(
"value '{v}' is above maximum ({m})".format(v=self.
raw_value,m=max_value),info)
4723 if self.
units == uInteger:
4727 if multiple
is not None and multiple > 1:
4728 if (to_int % multiple) > 0:
4729 self.
AddError(
"value '{v}' is not a multiple of {m}".format(v=self.
raw_value,m=multiple),info)
4733 if self.
units == uBool:
4737 self.
AddError(
"value '{v}' is not a boolean value".format(v = self.
raw_value),info)
4743 if self.
units == uInteger:
4745 elif self.
units in uNumeric:
4746 v = v.replace(
",",
".")
4749 if self.
units == uMM:
4752 elif self.
units == uMils:
4758 elif self.
units == uBool:
4759 if v.lower()
in self.
_true:
4770 new_value = str(new_value)
4772 if len(new_value.strip()) == 0:
4773 if not self.
units in [uString, uBool]:
4776 if self.
units == uBool:
4777 new_value =
"1" if new_value.lower()
in self.
_true else "0"
4778 elif self.
units in uNumeric:
4779 new_value = new_value.replace(
",",
".")
4780 elif ',' in self.
units:
4781 if new_value
not in self.
units.split(
','):
4782 new_value = self.
units.split(
',')[0]
4790 if self.
units in [uMM, uMils, uPercent, uRadians, uDegrees]:
4792 elif self.
units == uBool:
4793 s = self.
name +
": {b}".format(b =
"True" if self.
value else "False")
4794 elif self.
units == uString:
4802 KiCadPlugin.__init__(self)
4814 def AddParam(self, page, name, unit, default, **kwarg):
4816 if self.
GetParam(page,name)
is not None:
4820 self.
params.append(param)
4826 if p.page
not in pages:
4829 pages[p.page][p.name] = p.value
4851 raise NotImplementedError
4858 if p.page == page
and p.name == name:
4864 self.
GetParam(page,name).Check(**kwarg)
4867 return any([len(p.error_list) > 0
for p
in self.
params])
4873 if p.page
not in page_list:
4874 page_list.append(p.page)
4879 return len(self.
pages)
4882 return self.
pages[page_n]
4888 if p.page == page_name:
4898 return [p.designator
for p
in params]
4902 return [p.name
for p
in params]
4906 return [str(p.raw_value)
for p
in params]
4910 return [str(
"\n".join(p.error_list))
for p
in params]
4914 return [str(p.units)
for p
in params]
4918 return [str(p.hint)
for p
in params]
4922 return [str(p.designator)
for p
in params]
4928 for i, param
in enumerate(params):
4929 if i >= len(list_of_values):
4931 param.SetValue(list_of_values[i])
4941 return self.buildmessages
4944 text =
"Footprint Wizard Name: {name}\n".format(name=self.
GetName())
4945 text +=
"Footprint Wizard Description: {desc}\n".format(desc=self.
GetDescription())
4949 text +=
"Pages: {n}\n".format(n=n_pages)
4951 for i
in range(n_pages):
4956 text +=
"{name}\n".format(name=name)
4958 for j
in range(len(params)):
4959 text += (
"\t{param}{err}\n".format(
4960 param = str(params[j]),
4961 err =
' *' if len(params[j].error_list) > 0
else ''
4965 text +=
" * Errors exist for these parameters"
4971 KiCadPlugin.__init__( self )
4978 self.
name =
"Undefined Action plugin"
5005 r"""Proxy of C++ VECTOR2< int > class."""
5007 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5008 __repr__ = _swig_repr
5009 x = property(_pcbnew.VECTOR2I_x_get, _pcbnew.VECTOR2I_x_set, doc=
r"""x : int""")
5010 y = property(_pcbnew.VECTOR2I_y_get, _pcbnew.VECTOR2I_y_set, doc=
r"""y : int""")
5014 __init__(VECTOR2I self) -> VECTOR2I
5015 __init__(VECTOR2I self, wxPoint aPoint) -> VECTOR2I
5016 __init__(VECTOR2I self, wxSize aSize) -> VECTOR2I
5017 __init__(VECTOR2I self, int x, int y) -> VECTOR2I
5018 __init__(VECTOR2I self, VECTOR2I aVec) -> VECTOR2I
5020 _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args))
5023 r"""getWxPoint(VECTOR2I self) -> wxPoint"""
5024 return _pcbnew.VECTOR2I_getWxPoint(self)
5027 r"""getWxSize(VECTOR2I self) -> wxSize"""
5028 return _pcbnew.VECTOR2I_getWxSize(self)
5031 r"""EuclideanNorm(VECTOR2I self) -> int"""
5032 return _pcbnew.VECTOR2I_EuclideanNorm(self)
5035 r"""SquaredEuclideanNorm(VECTOR2I self) -> VECTOR2< int >::extended_type"""
5036 return _pcbnew.VECTOR2I_SquaredEuclideanNorm(self)
5039 r"""Perpendicular(VECTOR2I self) -> VECTOR2I"""
5040 return _pcbnew.VECTOR2I_Perpendicular(self)
5043 r"""Resize(VECTOR2I self, int aNewLength) -> VECTOR2I"""
5044 return _pcbnew.VECTOR2I_Resize(self, aNewLength)
5047 r"""Format(VECTOR2I self) -> string"""
5048 return _pcbnew.VECTOR2I_Format(self)
5051 r"""Cross(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
5052 return _pcbnew.VECTOR2I_Cross(self, aVector)
5055 r"""Dot(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
5056 return _pcbnew.VECTOR2I_Dot(self, aVector)
5060 __add__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5061 __add__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5063 return _pcbnew.VECTOR2I___add__(self, *args)
5067 __imul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5068 __imul__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5070 return _pcbnew.VECTOR2I___imul__(self, *args)
5074 __iadd__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5075 __iadd__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5077 return _pcbnew.VECTOR2I___iadd__(self, *args)
5081 __sub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5082 __sub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5084 return _pcbnew.VECTOR2I___sub__(self, *args)
5088 __isub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
5089 __isub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
5091 return _pcbnew.VECTOR2I___isub__(self, *args)
5094 r"""__neg__(VECTOR2I self) -> VECTOR2I"""
5095 return _pcbnew.VECTOR2I___neg__(self)
5099 __mul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type
5100 __mul__(VECTOR2I self, int const & aFactor) -> VECTOR2I
5102 return _pcbnew.VECTOR2I___mul__(self, *args)
5105 return _pcbnew.VECTOR2I___truediv__(self, *args)
5106 __div__ = __truediv__
5111 r"""__eq__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5112 return _pcbnew.VECTOR2I___eq__(self, aVector)
5115 r"""__ne__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5116 return _pcbnew.VECTOR2I___ne__(self, aVector)
5119 r"""__lt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5120 return _pcbnew.VECTOR2I___lt__(self, aVector)
5123 r"""__le__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5124 return _pcbnew.VECTOR2I___le__(self, aVector)
5127 r"""__gt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5128 return _pcbnew.VECTOR2I___gt__(self, aVector)
5131 r"""__ge__(VECTOR2I self, VECTOR2I aVector) -> bool"""
5132 return _pcbnew.VECTOR2I___ge__(self, aVector)
5135 r"""Set(VECTOR2I self, long x, long y)"""
5136 return _pcbnew.VECTOR2I_Set(self, x, y)
5139 r"""Get(VECTOR2I self) -> PyObject *"""
5140 return _pcbnew.VECTOR2I_Get(self)
5142 def __eq__(self,other):
return (self.
x==other.x
and self.
y==other.y)
5143 def __ne__(self,other):
return not (self==other)
5145 def __repr__(self):
return 'VECTOR2I'+str(self.
Get())
5158 __swig_destroy__ = _pcbnew.delete_VECTOR2I
5161_pcbnew.VECTOR2I_swigregister(VECTOR2I)
5164 r"""Proxy of C++ VECTOR2_TRAITS< int > class."""
5166 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5167 __repr__ = _swig_repr
5170 r"""__init__(VECTOR2I_EXTENDED_TYPE self) -> VECTOR2I_EXTENDED_TYPE"""
5171 _pcbnew.VECTOR2I_EXTENDED_TYPE_swiginit(self, _pcbnew.new_VECTOR2I_EXTENDED_TYPE())
5172 __swig_destroy__ = _pcbnew.delete_VECTOR2I_EXTENDED_TYPE
5175_pcbnew.VECTOR2I_EXTENDED_TYPE_swigregister(VECTOR2I_EXTENDED_TYPE)
5178 r"""Proxy of C++ VECTOR3< double > class."""
5180 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5181 __repr__ = _swig_repr
5182 ECOORD_MAX = _pcbnew.VECTOR3D_ECOORD_MAX
5184 ECOORD_MIN = _pcbnew.VECTOR3D_ECOORD_MIN
5186 x = property(_pcbnew.VECTOR3D_x_get, _pcbnew.VECTOR3D_x_set, doc=
r"""x : double""")
5187 y = property(_pcbnew.VECTOR3D_y_get, _pcbnew.VECTOR3D_y_set, doc=
r"""y : double""")
5188 z = property(_pcbnew.VECTOR3D_z_get, _pcbnew.VECTOR3D_z_set, doc=
r"""z : double""")
5192 __init__(VECTOR3D self) -> VECTOR3D
5193 __init__(VECTOR3D self, double x, double y, double z) -> VECTOR3D
5195 _pcbnew.VECTOR3D_swiginit(self, _pcbnew.new_VECTOR3D(*args))
5198 r"""Cross(VECTOR3D self, VECTOR3D aVector) -> VECTOR3D"""
5199 return _pcbnew.VECTOR3D_Cross(self, aVector)
5202 r"""Dot(VECTOR3D self, VECTOR3D aVector) -> VECTOR3< double >::extended_type"""
5203 return _pcbnew.VECTOR3D_Dot(self, aVector)
5206 r"""EuclideanNorm(VECTOR3D self) -> double"""
5207 return _pcbnew.VECTOR3D_EuclideanNorm(self)
5210 r"""Normalize(VECTOR3D self) -> VECTOR3D"""
5211 return _pcbnew.VECTOR3D_Normalize(self)
5214 r"""__eq__(VECTOR3D self, VECTOR3D aVector) -> bool"""
5215 return _pcbnew.VECTOR3D___eq__(self, aVector)
5218 r"""__ne__(VECTOR3D self, VECTOR3D aVector) -> bool"""
5219 return _pcbnew.VECTOR3D___ne__(self, aVector)
5222 r"""__imul__(VECTOR3D self, double val) -> VECTOR3D"""
5223 return _pcbnew.VECTOR3D___imul__(self, val)
5226 return _pcbnew.VECTOR3D___itruediv__(self, *args)
5227 __idiv__ = __itruediv__
5232 r"""Set(VECTOR3D self, double x, double y, double z)"""
5233 return _pcbnew.VECTOR3D_Set(self, x, y, z)
5236 r"""Get(VECTOR3D self) -> PyObject *"""
5237 return _pcbnew.VECTOR3D_Get(self)
5239 def __eq__(self,other):
return (self.
x==other.x
and self.
y==other.y
and self.
z==other.z)
5240 def __ne__(self,other):
return not (self==other)
5242 def __repr__(self):
return 'VECTOR3D'+str(self.
Get())
5257 __swig_destroy__ = _pcbnew.delete_VECTOR3D
5260_pcbnew.VECTOR3D_swigregister(VECTOR3D)
5263 r"""Proxy of C++ BOX2< VECTOR2I > class."""
5265 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5266 __repr__ = _swig_repr
5271 __init__(BOX2I self, VECTOR2I aPos, VECTOR2I aSize=VECTOR2< int >(0, 0)) -> BOX2I
5273 _pcbnew.BOX2I_swiginit(self, _pcbnew.new_BOX2I(*args))
5276 r"""SetMaximum(BOX2I self)"""
5277 return _pcbnew.BOX2I_SetMaximum(self)
5280 r"""Centre(BOX2I self) -> VECTOR2I"""
5281 return _pcbnew.BOX2I_Centre(self)
5284 r"""Move(BOX2I self, VECTOR2I aMoveVector)"""
5285 return _pcbnew.BOX2I_Move(self, aMoveVector)
5288 r"""Normalize(BOX2I self) -> BOX2I"""
5289 return _pcbnew.BOX2I_Normalize(self)
5293 Contains(BOX2I self, VECTOR2I aPoint) -> bool
5294 Contains(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y) -> bool
5295 Contains(BOX2I self, BOX2I aRect) -> bool
5297 return _pcbnew.BOX2I_Contains(self, *args)
5300 r"""GetSize(BOX2I self) -> VECTOR2I"""
5301 return _pcbnew.BOX2I_GetSize(self)
5304 r"""GetX(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5305 return _pcbnew.BOX2I_GetX(self)
5308 r"""GetY(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5309 return _pcbnew.BOX2I_GetY(self)
5312 r"""GetOrigin(BOX2I self) -> VECTOR2I"""
5313 return _pcbnew.BOX2I_GetOrigin(self)
5316 r"""GetPosition(BOX2I self) -> VECTOR2I"""
5317 return _pcbnew.BOX2I_GetPosition(self)
5320 r"""GetEnd(BOX2I self) -> VECTOR2I"""
5321 return _pcbnew.BOX2I_GetEnd(self)
5324 r"""GetWidth(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5325 return _pcbnew.BOX2I_GetWidth(self)
5328 r"""GetHeight(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5329 return _pcbnew.BOX2I_GetHeight(self)
5332 r"""GetRight(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5333 return _pcbnew.BOX2I_GetRight(self)
5336 r"""GetBottom(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5337 return _pcbnew.BOX2I_GetBottom(self)
5340 r"""GetLeft(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5341 return _pcbnew.BOX2I_GetLeft(self)
5344 r"""GetTop(BOX2I self) -> BOX2< VECTOR2< int > >::coord_type"""
5345 return _pcbnew.BOX2I_GetTop(self)
5348 r"""GetCenter(BOX2I self) -> VECTOR2I"""
5349 return _pcbnew.BOX2I_GetCenter(self)
5352 r"""GetSizeMax(BOX2I self) -> int"""
5353 return _pcbnew.BOX2I_GetSizeMax(self)
5358 SetOrigin(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5360 return _pcbnew.BOX2I_SetOrigin(self, *args)
5364 SetSize(BOX2I self, VECTOR2I size)
5365 SetSize(BOX2I self, BOX2< VECTOR2< int > >::coord_type w, BOX2< VECTOR2< int > >::coord_type h)
5367 return _pcbnew.BOX2I_SetSize(self, *args)
5371 Offset(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy)
5372 Offset(BOX2I self, VECTOR2I offset)
5374 return _pcbnew.BOX2I_Offset(self, *args)
5377 r"""SetX(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5378 return _pcbnew.BOX2I_SetX(self, val)
5381 r"""SetY(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5382 return _pcbnew.BOX2I_SetY(self, val)
5385 r"""SetWidth(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5386 return _pcbnew.BOX2I_SetWidth(self, val)
5389 r"""SetHeight(BOX2I self, BOX2< VECTOR2< int > >::coord_type val)"""
5390 return _pcbnew.BOX2I_SetHeight(self, val)
5394 SetEnd(BOX2I self, BOX2< VECTOR2< int > >::coord_type x, BOX2< VECTOR2< int > >::coord_type y)
5395 SetEnd(BOX2I self, VECTOR2I pos)
5397 return _pcbnew.BOX2I_SetEnd(self, *args)
5400 r"""Intersect(BOX2I self, BOX2I aRect) -> BOX2I"""
5401 return _pcbnew.BOX2I_Intersect(self, aRect)
5406 Intersects(BOX2I self, VECTOR2I aPoint1, VECTOR2I aPoint2) -> bool
5407 Intersects(BOX2I self, BOX2I aRect, EDA_ANGLE aRotation) -> bool
5409 return _pcbnew.BOX2I_Intersects(self, *args)
5412 r"""IntersectsCircle(BOX2I self, VECTOR2I aCenter, int const aRadius) -> bool"""
5413 return _pcbnew.BOX2I_IntersectsCircle(self, aCenter, aRadius)
5416 r"""IntersectsCircleEdge(BOX2I self, VECTOR2I aCenter, int const aRadius, int const aWidth) -> bool"""
5417 return _pcbnew.BOX2I_IntersectsCircleEdge(self, aCenter, aRadius, aWidth)
5420 r"""Format(BOX2I self) -> string"""
5421 return _pcbnew.BOX2I_Format(self)
5425 Inflate(BOX2I self, BOX2< VECTOR2< int > >::coord_type dx, BOX2< VECTOR2< int > >::coord_type dy) -> BOX2I
5426 Inflate(BOX2I self, int aDelta) -> BOX2I
5428 return _pcbnew.BOX2I_Inflate(self, *args)
5432 Merge(BOX2I self, BOX2I aRect) -> BOX2I
5433 Merge(BOX2I self, VECTOR2I aPoint) -> BOX2I
5435 return _pcbnew.BOX2I_Merge(self, *args)
5438 r"""GetBoundingBoxRotated(BOX2I self, VECTOR2I aRotCenter, EDA_ANGLE aAngle) -> BOX2I"""
5439 return _pcbnew.BOX2I_GetBoundingBoxRotated(self, aRotCenter, aAngle)
5442 r"""RevertYAxis(BOX2I self)"""
5443 return _pcbnew.BOX2I_RevertYAxis(self)
5446 r"""GetArea(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5447 return _pcbnew.BOX2I_GetArea(self)
5450 r"""Diagonal(BOX2I self) -> BOX2< VECTOR2< int > >::ecoord_type"""
5451 return _pcbnew.BOX2I_Diagonal(self)
5455 SquaredDistance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5456 SquaredDistance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5458 return _pcbnew.BOX2I_SquaredDistance(self, *args)
5462 Distance(BOX2I self, VECTOR2I aP) -> BOX2< VECTOR2< int > >::ecoord_type
5463 Distance(BOX2I self, BOX2I aBox) -> BOX2< VECTOR2< int > >::ecoord_type
5465 return _pcbnew.BOX2I_Distance(self, *args)
5468 r"""ClosestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5469 return _pcbnew.BOX2I_ClosestPointTo(self, aPoint)
5472 r"""FarthestPointTo(BOX2I self, VECTOR2I aPoint) -> VECTOR2I"""
5473 return _pcbnew.BOX2I_FarthestPointTo(self, aPoint)
5476 r"""__eq__(BOX2I self, BOX2I aOther) -> bool"""
5477 return _pcbnew.BOX2I___eq__(self, aOther)
5480 r"""__ne__(BOX2I self, BOX2I aOther) -> bool"""
5481 return _pcbnew.BOX2I___ne__(self, aOther)
5484 r"""IsValid(BOX2I self) -> bool"""
5485 return _pcbnew.BOX2I_IsValid(self)
5486 __swig_destroy__ = _pcbnew.delete_BOX2I
5489_pcbnew.BOX2I_swigregister(BOX2I)
5492 r"""Proxy of C++ std::vector< VECTOR2I > class."""
5494 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5495 __repr__ = _swig_repr
5498 r"""iterator(VECTOR_VECTOR2I self) -> SwigPyIterator"""
5499 return _pcbnew.VECTOR_VECTOR2I_iterator(self)
5504 r"""__nonzero__(VECTOR_VECTOR2I self) -> bool"""
5505 return _pcbnew.VECTOR_VECTOR2I___nonzero__(self)
5508 r"""__bool__(VECTOR_VECTOR2I self) -> bool"""
5509 return _pcbnew.VECTOR_VECTOR2I___bool__(self)
5512 r"""__len__(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5513 return _pcbnew.VECTOR_VECTOR2I___len__(self)
5516 r"""__getslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j) -> VECTOR_VECTOR2I"""
5517 return _pcbnew.VECTOR_VECTOR2I___getslice__(self, i, j)
5521 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)
5522 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j, VECTOR_VECTOR2I v)
5524 return _pcbnew.VECTOR_VECTOR2I___setslice__(self, *args)
5527 r"""__delslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)"""
5528 return _pcbnew.VECTOR_VECTOR2I___delslice__(self, i, j)
5532 __delitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i)
5533 __delitem__(VECTOR_VECTOR2I self, PySliceObject * slice)
5535 return _pcbnew.VECTOR_VECTOR2I___delitem__(self, *args)
5539 __getitem__(VECTOR_VECTOR2I self, PySliceObject * slice) -> VECTOR_VECTOR2I
5540 __getitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i) -> VECTOR2I
5542 return _pcbnew.VECTOR_VECTOR2I___getitem__(self, *args)
5546 __setitem__(VECTOR_VECTOR2I self, PySliceObject * slice, VECTOR_VECTOR2I v)
5547 __setitem__(VECTOR_VECTOR2I self, PySliceObject * slice)
5548 __setitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, VECTOR2I x)
5550 return _pcbnew.VECTOR_VECTOR2I___setitem__(self, *args)
5553 r"""pop(VECTOR_VECTOR2I self) -> VECTOR2I"""
5554 return _pcbnew.VECTOR_VECTOR2I_pop(self)
5557 r"""append(VECTOR_VECTOR2I self, VECTOR2I x)"""
5558 return _pcbnew.VECTOR_VECTOR2I_append(self, x)
5561 r"""empty(VECTOR_VECTOR2I self) -> bool"""
5562 return _pcbnew.VECTOR_VECTOR2I_empty(self)
5565 r"""size(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5566 return _pcbnew.VECTOR_VECTOR2I_size(self)
5569 r"""swap(VECTOR_VECTOR2I self, VECTOR_VECTOR2I v)"""
5570 return _pcbnew.VECTOR_VECTOR2I_swap(self, v)
5573 r"""begin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5574 return _pcbnew.VECTOR_VECTOR2I_begin(self)
5577 r"""end(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
5578 return _pcbnew.VECTOR_VECTOR2I_end(self)
5581 r"""rbegin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5582 return _pcbnew.VECTOR_VECTOR2I_rbegin(self)
5585 r"""rend(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
5586 return _pcbnew.VECTOR_VECTOR2I_rend(self)
5589 r"""clear(VECTOR_VECTOR2I self)"""
5590 return _pcbnew.VECTOR_VECTOR2I_clear(self)
5593 r"""get_allocator(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::allocator_type"""
5594 return _pcbnew.VECTOR_VECTOR2I_get_allocator(self)
5597 r"""pop_back(VECTOR_VECTOR2I self)"""
5598 return _pcbnew.VECTOR_VECTOR2I_pop_back(self)
5602 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos) -> std::vector< VECTOR2< int > >::iterator
5603 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator first, std::vector< VECTOR2< int > >::iterator last) -> std::vector< VECTOR2< int > >::iterator
5605 return _pcbnew.VECTOR_VECTOR2I_erase(self, *args)
5609 __init__(VECTOR_VECTOR2I self) -> VECTOR_VECTOR2I
5610 __init__(VECTOR_VECTOR2I self, VECTOR_VECTOR2I other) -> VECTOR_VECTOR2I
5611 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size) -> VECTOR_VECTOR2I
5612 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size, VECTOR2I value) -> VECTOR_VECTOR2I
5614 _pcbnew.VECTOR_VECTOR2I_swiginit(self, _pcbnew.new_VECTOR_VECTOR2I(*args))
5617 r"""push_back(VECTOR_VECTOR2I self, VECTOR2I x)"""
5618 return _pcbnew.VECTOR_VECTOR2I_push_back(self, x)
5621 r"""front(VECTOR_VECTOR2I self) -> VECTOR2I"""
5622 return _pcbnew.VECTOR_VECTOR2I_front(self)
5625 r"""back(VECTOR_VECTOR2I self) -> VECTOR2I"""
5626 return _pcbnew.VECTOR_VECTOR2I_back(self)
5629 r"""assign(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)"""
5630 return _pcbnew.VECTOR_VECTOR2I_assign(self, n, x)
5634 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size)
5635 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size, VECTOR2I x)
5637 return _pcbnew.VECTOR_VECTOR2I_resize(self, *args)
5641 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, VECTOR2I x) -> std::vector< VECTOR2< int > >::iterator
5642 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)
5644 return _pcbnew.VECTOR_VECTOR2I_insert(self, *args)
5647 r"""reserve(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n)"""
5648 return _pcbnew.VECTOR_VECTOR2I_reserve(self, n)
5651 r"""capacity(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
5652 return _pcbnew.VECTOR_VECTOR2I_capacity(self)
5653 __swig_destroy__ = _pcbnew.delete_VECTOR_VECTOR2I
5656_pcbnew.VECTOR_VECTOR2I_swigregister(VECTOR_VECTOR2I)
5659 r"""Proxy of C++ SEG class."""
5661 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5662 __repr__ = _swig_repr
5663 A = property(_pcbnew.SEG_A_get, _pcbnew.SEG_A_set, doc=
r"""A : VECTOR2I""")
5664 B = property(_pcbnew.SEG_B_get, _pcbnew.SEG_B_set, doc=
r"""B : VECTOR2I""")
5669 __init__(SEG self, int aX1, int aY1, int aX2, int aY2) -> SEG
5670 __init__(SEG self, VECTOR2I aA, VECTOR2I aB) -> SEG
5671 __init__(SEG self, VECTOR2I aA, VECTOR2I aB, int aIndex) -> SEG
5672 __init__(SEG self, SEG aSeg) -> SEG
5674 _pcbnew.SEG_swiginit(self, _pcbnew.new_SEG(*args))
5677 r"""__eq__(SEG self, SEG aSeg) -> bool"""
5678 return _pcbnew.SEG___eq__(self, aSeg)
5681 r"""__ne__(SEG self, SEG aSeg) -> bool"""
5682 return _pcbnew.SEG___ne__(self, aSeg)
5686 r"""Square(int a) -> SEG::ecoord"""
5687 return _pcbnew.SEG_Square(a)
5690 r"""LineProject(SEG self, VECTOR2I aP) -> VECTOR2I"""
5691 return _pcbnew.SEG_LineProject(self, aP)
5694 r"""Side(SEG self, VECTOR2I aP) -> int"""
5695 return _pcbnew.SEG_Side(self, aP)
5698 r"""LineDistance(SEG self, VECTOR2I aP, bool aDetermineSide=False) -> int"""
5699 return _pcbnew.SEG_LineDistance(self, aP, aDetermineSide)
5702 r"""Angle(SEG self, SEG aOther) -> EDA_ANGLE"""
5703 return _pcbnew.SEG_Angle(self, aOther)
5710 return _pcbnew.SEG_NearestPoint(self, *args)
5713 r"""ReflectPoint(SEG self, VECTOR2I aP) -> VECTOR2I"""
5714 return _pcbnew.SEG_ReflectPoint(self, aP)
5716 def Intersect(self, aSeg, aIgnoreEndpoints=False, aLines=False):
5717 r"""Intersect(SEG self, SEG aSeg, bool aIgnoreEndpoints=False, bool aLines=False) -> OPT_VECTOR2I"""
5718 return _pcbnew.SEG_Intersect(self, aSeg, aIgnoreEndpoints, aLines)
5721 r"""Intersects(SEG self, SEG aSeg) -> bool"""
5722 return _pcbnew.SEG_Intersects(self, aSeg)
5725 r"""IntersectLines(SEG self, SEG aSeg) -> OPT_VECTOR2I"""
5726 return _pcbnew.SEG_IntersectLines(self, aSeg)
5729 r"""PerpendicularSeg(SEG self, VECTOR2I aP) -> SEG"""
5730 return _pcbnew.SEG_PerpendicularSeg(self, aP)
5733 r"""ParallelSeg(SEG self, VECTOR2I aP) -> SEG"""
5734 return _pcbnew.SEG_ParallelSeg(self, aP)
5736 def Collide(self, aSeg, aClearance, aActual=None):
5737 r"""Collide(SEG self, SEG aSeg, int aClearance, int * aActual=None) -> bool"""
5738 return _pcbnew.SEG_Collide(self, aSeg, aClearance, aActual)
5745 return _pcbnew.SEG_SquaredDistance(self, *args)
5749 Distance(SEG self, SEG aSeg) -> int
5750 Distance(SEG self, VECTOR2I aP) -> int
5752 return _pcbnew.SEG_Distance(self, *args)
5755 r"""CanonicalCoefs(SEG self, SEG::ecoord & qA, SEG::ecoord & qB, SEG::ecoord & qC)"""
5756 return _pcbnew.SEG_CanonicalCoefs(self, qA, qB, qC)
5759 r"""Collinear(SEG self, SEG aSeg) -> bool"""
5760 return _pcbnew.SEG_Collinear(self, aSeg)
5763 r"""ApproxCollinear(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5764 return _pcbnew.SEG_ApproxCollinear(self, aSeg, aDistanceThreshold)
5767 r"""ApproxParallel(SEG self, SEG aSeg, int aDistanceThreshold=1) -> bool"""
5768 return _pcbnew.SEG_ApproxParallel(self, aSeg, aDistanceThreshold)
5771 r"""ApproxPerpendicular(SEG self, SEG aSeg) -> bool"""
5772 return _pcbnew.SEG_ApproxPerpendicular(self, aSeg)
5775 r"""Overlaps(SEG self, SEG aSeg) -> bool"""
5776 return _pcbnew.SEG_Overlaps(self, aSeg)
5779 r"""Length(SEG self) -> int"""
5780 return _pcbnew.SEG_Length(self)
5783 r"""SquaredLength(SEG self) -> SEG::ecoord"""
5784 return _pcbnew.SEG_SquaredLength(self)
5787 r"""TCoef(SEG self, VECTOR2I aP) -> SEG::ecoord"""
5788 return _pcbnew.SEG_TCoef(self, aP)
5791 r"""Index(SEG self) -> int"""
5792 return _pcbnew.SEG_Index(self)
5796 Contains(SEG self, SEG aSeg) -> bool
5797 Contains(SEG self, VECTOR2I aP) -> bool
5799 return _pcbnew.SEG_Contains(self, *args)
5802 r"""Reverse(SEG self)"""
5803 return _pcbnew.SEG_Reverse(self)
5806 r"""Reversed(SEG self) -> SEG"""
5807 return _pcbnew.SEG_Reversed(self)
5810 r"""Center(SEG self) -> VECTOR2I"""
5811 return _pcbnew.SEG_Center(self)
5814 r"""__lt__(SEG self, SEG aSeg) -> bool"""
5815 return _pcbnew.SEG___lt__(self, aSeg)
5816 __swig_destroy__ = _pcbnew.delete_SEG
5819_pcbnew.SEG_swigregister(SEG)
5822 r"""SEG_Square(int a) -> SEG::ecoord"""
5823 return _pcbnew.SEG_Square(a)
5825SH_RECT = _pcbnew.SH_RECT
5827SH_SEGMENT = _pcbnew.SH_SEGMENT
5829SH_LINE_CHAIN = _pcbnew.SH_LINE_CHAIN
5831SH_CIRCLE = _pcbnew.SH_CIRCLE
5833SH_SIMPLE = _pcbnew.SH_SIMPLE
5835SH_POLY_SET = _pcbnew.SH_POLY_SET
5837SH_COMPOUND = _pcbnew.SH_COMPOUND
5839SH_ARC = _pcbnew.SH_ARC
5841SH_NULL = _pcbnew.SH_NULL
5843SH_POLY_SET_TRIANGLE = _pcbnew.SH_POLY_SET_TRIANGLE
5847 r"""SHAPE_TYPE_asString(SHAPE_TYPE a) -> wxString"""
5848 return _pcbnew.SHAPE_TYPE_asString(a)
5850 r"""Proxy of C++ SHAPE_BASE class."""
5852 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5853 __repr__ = _swig_repr
5856 r"""__init__(SHAPE_BASE self, SHAPE_TYPE aType) -> SHAPE_BASE"""
5857 _pcbnew.SHAPE_BASE_swiginit(self, _pcbnew.new_SHAPE_BASE(aType))
5858 __swig_destroy__ = _pcbnew.delete_SHAPE_BASE
5861 r"""Type(SHAPE_BASE self) -> SHAPE_TYPE"""
5862 return _pcbnew.SHAPE_BASE_Type(self)
5865 r"""TypeName(SHAPE_BASE self) -> wxString"""
5866 return _pcbnew.SHAPE_BASE_TypeName(self)
5869 r"""HasIndexableSubshapes(SHAPE_BASE self) -> bool"""
5870 return _pcbnew.SHAPE_BASE_HasIndexableSubshapes(self)
5873 r"""GetIndexableSubshapeCount(SHAPE_BASE self) -> size_t"""
5874 return _pcbnew.SHAPE_BASE_GetIndexableSubshapeCount(self)
5877 r"""GetIndexableSubshapes(SHAPE_BASE self, std::vector< SHAPE const *,std::allocator< SHAPE const * > > & aSubshapes)"""
5878 return _pcbnew.SHAPE_BASE_GetIndexableSubshapes(self, aSubshapes)
5881_pcbnew.SHAPE_BASE_swigregister(SHAPE_BASE)
5884 r"""Proxy of C++ SHAPE class."""
5886 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5889 raise AttributeError(
"No constructor defined - class is abstract")
5890 __repr__ = _swig_repr
5891 MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU
5893 __swig_destroy__ = _pcbnew.delete_SHAPE
5896 r"""Clone(SHAPE self) -> SHAPE"""
5897 return _pcbnew.SHAPE_Clone(self)
5900 r"""GetClearance(SHAPE self, SHAPE aOther) -> int"""
5901 return _pcbnew.SHAPE_GetClearance(self, aOther)
5904 r"""IsNull(SHAPE self) -> bool"""
5905 return _pcbnew.SHAPE_IsNull(self)
5909 Collide(SHAPE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
5910 Collide(SHAPE self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
5911 Collide(SHAPE self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5912 Collide(SHAPE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5914 return _pcbnew.SHAPE_Collide(self, *args)
5917 r"""BBox(SHAPE self, int aClearance=0) -> BOX2I"""
5918 return _pcbnew.SHAPE_BBox(self, aClearance)
5921 r"""Centre(SHAPE self) -> VECTOR2I"""
5922 return _pcbnew.SHAPE_Centre(self)
5925 r"""Rotate(SHAPE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
5926 return _pcbnew.SHAPE_Rotate(self, *args)
5929 r"""Move(SHAPE self, VECTOR2I aVector)"""
5930 return _pcbnew.SHAPE_Move(self, aVector)
5933 r"""IsSolid(SHAPE self) -> bool"""
5934 return _pcbnew.SHAPE_IsSolid(self)
5937 r"""Parse(SHAPE self, std::stringstream & aStream) -> bool"""
5938 return _pcbnew.SHAPE_Parse(self, aStream)
5941 r"""Format(SHAPE self, bool aCplusPlus=True) -> string"""
5942 return _pcbnew.SHAPE_Format(self, aCplusPlus)
5947 if shape_type ==
"SH_ARC":
5949 elif shape_type ==
"SH_CIRCLE":
5951 elif shape_type ==
"SH_COMPOUND":
5953 elif shape_type ==
"SH_LINE_CHAIN":
5955 elif shape_type ==
"SH_POLY_SET":
5957 elif shape_type ==
"SH_RECT":
5959 elif shape_type ==
"SH_SEGMENT":
5961 elif shape_type ==
"SH_SIMPLE":
5964 raise TypeError(
"Unsupported shape class: %s" % shape_type)
5968_pcbnew.SHAPE_swigregister(SHAPE)
5971 r"""Proxy of C++ SHAPE_LINE_CHAIN_BASE class."""
5973 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5976 raise AttributeError(
"No constructor defined - class is abstract")
5977 __repr__ = _swig_repr
5978 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN_BASE
5982 Collide(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
5983 Collide(SHAPE_LINE_CHAIN_BASE self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5985 return _pcbnew.SHAPE_LINE_CHAIN_BASE_Collide(self, *args)
5988 r"""SquaredDistance(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
5989 return _pcbnew.SHAPE_LINE_CHAIN_BASE_SquaredDistance(self, aP, aOutlineOnly)
5992 r"""PointInside(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
5993 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
5996 r"""PointOnEdge(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> bool"""
5997 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointOnEdge(self, aP, aAccuracy)
6000 r"""EdgeContainingPoint(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> int"""
6001 return _pcbnew.SHAPE_LINE_CHAIN_BASE_EdgeContainingPoint(self, aP, aAccuracy)
6004 r"""GetPoint(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> VECTOR2I"""
6005 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPoint(self, aIndex)
6008 r"""GetSegment(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> SEG"""
6009 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegment(self, aIndex)
6012 r"""GetPointCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
6013 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPointCount(self)
6016 r"""GetSegmentCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
6017 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegmentCount(self)
6020 r"""IsClosed(SHAPE_LINE_CHAIN_BASE self) -> bool"""
6021 return _pcbnew.SHAPE_LINE_CHAIN_BASE_IsClosed(self)
6024 r"""GetCachedBBox(SHAPE_LINE_CHAIN_BASE self) -> BOX2I"""
6025 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetCachedBBox(self)
6028_pcbnew.SHAPE_LINE_CHAIN_BASE_swigregister(SHAPE_LINE_CHAIN_BASE)
6031 r"""Proxy of C++ SHAPE_ARC class."""
6033 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6036 raise AttributeError(
"No constructor defined - class is abstract")
6037 __repr__ = _swig_repr
6038 __swig_destroy__ = _pcbnew.delete_SHAPE_ARC
6041 r"""ConstructFromStartEndAngle(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, EDA_ANGLE aAngle, double aWidth=0) -> SHAPE_ARC"""
6042 return _pcbnew.SHAPE_ARC_ConstructFromStartEndAngle(self, aStart, aEnd, aAngle, aWidth)
6045 r"""ConstructFromStartEndCenter(SHAPE_ARC self, VECTOR2I aStart, VECTOR2I aEnd, VECTOR2I aCenter, bool aClockwise=False, double aWidth=0) -> SHAPE_ARC"""
6046 return _pcbnew.SHAPE_ARC_ConstructFromStartEndCenter(self, aStart, aEnd, aCenter, aClockwise, aWidth)
6049 r"""GetP0(SHAPE_ARC self) -> VECTOR2I"""
6050 return _pcbnew.SHAPE_ARC_GetP0(self)
6053 r"""GetP1(SHAPE_ARC self) -> VECTOR2I"""
6054 return _pcbnew.SHAPE_ARC_GetP1(self)
6057 r"""GetArcMid(SHAPE_ARC self) -> VECTOR2I"""
6058 return _pcbnew.SHAPE_ARC_GetArcMid(self)
6061 r"""GetCenter(SHAPE_ARC self) -> VECTOR2I"""
6062 return _pcbnew.SHAPE_ARC_GetCenter(self)
6065 r"""BBox(SHAPE_ARC self, int aClearance=0) -> BOX2I"""
6066 return _pcbnew.SHAPE_ARC_BBox(self, aClearance)
6070 Collide(SHAPE_ARC self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6071 Collide(SHAPE_ARC self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6072 Collide(SHAPE_ARC self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6074 return _pcbnew.SHAPE_ARC_Collide(self, *args)
6077 r"""IntersectLine(SHAPE_ARC self, SEG aSeg, VECTOR_VECTOR2I aIpsBuffer) -> int"""
6078 return _pcbnew.SHAPE_ARC_IntersectLine(self, aSeg, aIpsBuffer)
6081 r"""Intersect(SHAPE_ARC self, SHAPE_ARC aArc, VECTOR_VECTOR2I aIpsBuffer) -> int"""
6082 return _pcbnew.SHAPE_ARC_Intersect(self, aArc, aIpsBuffer)
6085 r"""IsClockwise(SHAPE_ARC self) -> bool"""
6086 return _pcbnew.SHAPE_ARC_IsClockwise(self)
6089 r"""SetWidth(SHAPE_ARC self, int aWidth)"""
6090 return _pcbnew.SHAPE_ARC_SetWidth(self, aWidth)
6093 r"""GetWidth(SHAPE_ARC self) -> int"""
6094 return _pcbnew.SHAPE_ARC_GetWidth(self)
6098 Mirror(SHAPE_ARC self, bool aX=True, bool aY=
False, VECTOR2I aVector={ 0, 0 })
6099 Mirror(SHAPE_ARC self, SEG axis)
6101 return _pcbnew.SHAPE_ARC_Mirror(self, *args)
6104 r"""Reverse(SHAPE_ARC self)"""
6105 return _pcbnew.SHAPE_ARC_Reverse(self)
6108 r"""Reversed(SHAPE_ARC self) -> SHAPE_ARC"""
6109 return _pcbnew.SHAPE_ARC_Reversed(self)
6112 r"""GetRadius(SHAPE_ARC self) -> double"""
6113 return _pcbnew.SHAPE_ARC_GetRadius(self)
6116 r"""GetChord(SHAPE_ARC self) -> SEG"""
6117 return _pcbnew.SHAPE_ARC_GetChord(self)
6120 r"""GetCentralAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6121 return _pcbnew.SHAPE_ARC_GetCentralAngle(self)
6124 r"""GetStartAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6125 return _pcbnew.SHAPE_ARC_GetStartAngle(self)
6128 r"""GetEndAngle(SHAPE_ARC self) -> EDA_ANGLE"""
6129 return _pcbnew.SHAPE_ARC_GetEndAngle(self)
6132 r"""GetLength(SHAPE_ARC self) -> double"""
6133 return _pcbnew.SHAPE_ARC_GetLength(self)
6137 r"""DefaultAccuracyForPCB() -> double"""
6138 return _pcbnew.SHAPE_ARC_DefaultAccuracyForPCB()
6141 r"""ConvertToPolyline(SHAPE_ARC self, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB(), double * aEffectiveAccuracy=None) -> SHAPE_LINE_CHAIN"""
6142 return _pcbnew.SHAPE_ARC_ConvertToPolyline(self, *args)
6145 r"""__eq__(SHAPE_ARC self, SHAPE_ARC aArc) -> bool"""
6146 return _pcbnew.SHAPE_ARC___eq__(self, aArc)
6149_pcbnew.SHAPE_ARC_swigregister(SHAPE_ARC)
6152 r"""SHAPE_ARC_DefaultAccuracyForPCB() -> double"""
6153 return _pcbnew.SHAPE_ARC_DefaultAccuracyForPCB()
6156 r"""Proxy of C++ SHAPE_CIRCLE class."""
6158 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6159 __repr__ = _swig_repr
6163 __init__(SHAPE_CIRCLE self) -> SHAPE_CIRCLE
6164 __init__(SHAPE_CIRCLE self, VECTOR2I aCenter, int aRadius) -> SHAPE_CIRCLE
6165 __init__(SHAPE_CIRCLE self, CIRCLE const & aCircle) -> SHAPE_CIRCLE
6166 __init__(SHAPE_CIRCLE self, SHAPE_CIRCLE aOther) -> SHAPE_CIRCLE
6168 _pcbnew.SHAPE_CIRCLE_swiginit(self, _pcbnew.new_SHAPE_CIRCLE(*args))
6169 __swig_destroy__ = _pcbnew.delete_SHAPE_CIRCLE
6172 r"""BBox(SHAPE_CIRCLE self, int aClearance=0) -> BOX2I"""
6173 return _pcbnew.SHAPE_CIRCLE_BBox(self, aClearance)
6175 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
6176 r"""Collide(SHAPE_CIRCLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
6177 return _pcbnew.SHAPE_CIRCLE_Collide(self, aSeg, aClearance, aActual, aLocation)
6180 r"""SetRadius(SHAPE_CIRCLE self, int aRadius)"""
6181 return _pcbnew.SHAPE_CIRCLE_SetRadius(self, aRadius)
6184 r"""SetCenter(SHAPE_CIRCLE self, VECTOR2I aCenter)"""
6185 return _pcbnew.SHAPE_CIRCLE_SetCenter(self, aCenter)
6188 r"""GetRadius(SHAPE_CIRCLE self) -> int"""
6189 return _pcbnew.SHAPE_CIRCLE_GetRadius(self)
6192 r"""GetCenter(SHAPE_CIRCLE self) -> VECTOR2I"""
6193 return _pcbnew.SHAPE_CIRCLE_GetCenter(self)
6196 r"""GetCircle(SHAPE_CIRCLE self) -> CIRCLE const"""
6197 return _pcbnew.SHAPE_CIRCLE_GetCircle(self)
6200 r"""Rotate(SHAPE_CIRCLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6201 return _pcbnew.SHAPE_CIRCLE_Rotate(self, *args)
6204 r"""Format(SHAPE_CIRCLE self, bool aCplusPlus=True) -> string"""
6205 return _pcbnew.SHAPE_CIRCLE_Format(self, aCplusPlus)
6208_pcbnew.SHAPE_CIRCLE_swigregister(SHAPE_CIRCLE)
6211 r"""Proxy of C++ SHAPE_COMPOUND class."""
6213 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6214 __repr__ = _swig_repr
6218 __init__(SHAPE_COMPOUND self) -> SHAPE_COMPOUND
6219 __init__(SHAPE_COMPOUND self, std::vector< SHAPE *,std::allocator< SHAPE * > > const & aShapes) -> SHAPE_COMPOUND
6220 __init__(SHAPE_COMPOUND self, SHAPE_COMPOUND aOther) -> SHAPE_COMPOUND
6222 _pcbnew.SHAPE_COMPOUND_swiginit(self, _pcbnew.new_SHAPE_COMPOUND(*args))
6223 __swig_destroy__ = _pcbnew.delete_SHAPE_COMPOUND
6226 r"""Clone(SHAPE_COMPOUND self) -> SHAPE_COMPOUND"""
6227 return _pcbnew.SHAPE_COMPOUND_Clone(self)
6230 r"""Format(SHAPE_COMPOUND self, bool aCplusPlus=True) -> string"""
6231 return _pcbnew.SHAPE_COMPOUND_Format(self, aCplusPlus)
6235 Collide(SHAPE_COMPOUND self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6236 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
6237 Collide(SHAPE_COMPOUND self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6239 return _pcbnew.SHAPE_COMPOUND_Collide(self, *args)
6242 r"""Shapes(SHAPE_COMPOUND self) -> std::vector< SHAPE *,std::allocator< SHAPE * > > const &"""
6243 return _pcbnew.SHAPE_COMPOUND_Shapes(self)
6246 r"""BBox(SHAPE_COMPOUND self, int aClearance=0) -> BOX2I"""
6247 return _pcbnew.SHAPE_COMPOUND_BBox(self, aClearance)
6250 r"""Distance(SHAPE_COMPOUND self, SEG aSeg) -> int"""
6251 return _pcbnew.SHAPE_COMPOUND_Distance(self, aSeg)
6255 AddShape(SHAPE_COMPOUND self, SHAPE aShape)
6256 AddShape(SHAPE_COMPOUND self, std::shared_ptr< SHAPE > aShape)
6258 return _pcbnew.SHAPE_COMPOUND_AddShape(self, *args)
6261 r"""Empty(SHAPE_COMPOUND self) -> bool"""
6262 return _pcbnew.SHAPE_COMPOUND_Empty(self)
6265 r"""Size(SHAPE_COMPOUND self) -> int"""
6266 return _pcbnew.SHAPE_COMPOUND_Size(self)
6269 r"""Rotate(SHAPE_COMPOUND self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6270 return _pcbnew.SHAPE_COMPOUND_Rotate(self, *args)
6273 r"""UniqueSubshape(SHAPE_COMPOUND self) -> SHAPE"""
6274 return _pcbnew.SHAPE_COMPOUND_UniqueSubshape(self)
6277 r"""ConvertToSimplePolygon(SHAPE_COMPOUND self, SHAPE_SIMPLE aOut) -> bool"""
6278 return _pcbnew.SHAPE_COMPOUND_ConvertToSimplePolygon(self, aOut)
6281 r"""GetSubshapes(SHAPE_COMPOUND self) -> VECTOR_SHAPEPTR"""
6282 return _pcbnew.SHAPE_COMPOUND_GetSubshapes(self)
6285_pcbnew.SHAPE_COMPOUND_swigregister(SHAPE_COMPOUND)
6288 r"""Proxy of C++ CLIPPER_Z_VALUE class."""
6290 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6291 __repr__ = _swig_repr
6295 __init__(CLIPPER_Z_VALUE self) -> CLIPPER_Z_VALUE
6296 __init__(CLIPPER_Z_VALUE self, std::pair< ssize_t,ssize_t > const aShapeIndices, ssize_t aOffset=0) -> CLIPPER_Z_VALUE
6298 _pcbnew.CLIPPER_Z_VALUE_swiginit(self, _pcbnew.new_CLIPPER_Z_VALUE(*args))
6299 m_FirstArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_set, doc=r"""m_FirstArcIdx : ssize_t""")
6300 m_SecondArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_set, doc=
r"""m_SecondArcIdx : ssize_t""")
6301 __swig_destroy__ = _pcbnew.delete_CLIPPER_Z_VALUE
6304_pcbnew.CLIPPER_Z_VALUE_swigregister(CLIPPER_Z_VALUE)
6307 r"""Proxy of C++ SHAPE_LINE_CHAIN class."""
6309 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6310 __repr__ = _swig_repr
6314 __init__(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN
6315 __init__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aShape) -> SHAPE_LINE_CHAIN
6316 __init__(SHAPE_LINE_CHAIN self, intVector aV) -> SHAPE_LINE_CHAIN
6317 __init__(SHAPE_LINE_CHAIN self, VECTOR_VECTOR2I aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
6318 __init__(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, bool aClosed=
False) -> SHAPE_LINE_CHAIN
6319 __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
6320 __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
6322 _pcbnew.SHAPE_LINE_CHAIN_swiginit(self, _pcbnew.new_SHAPE_LINE_CHAIN(*args))
6323 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN
6327 Collide(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6328 Collide(SHAPE_LINE_CHAIN self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6330 return _pcbnew.SHAPE_LINE_CHAIN_Collide(self, *args)
6333 r"""Clear(SHAPE_LINE_CHAIN self)"""
6334 return _pcbnew.SHAPE_LINE_CHAIN_Clear(self)
6337 r"""SetClosed(SHAPE_LINE_CHAIN self, bool aClosed)"""
6338 return _pcbnew.SHAPE_LINE_CHAIN_SetClosed(self, aClosed)
6341 r"""SetWidth(SHAPE_LINE_CHAIN self, int aWidth)"""
6342 return _pcbnew.SHAPE_LINE_CHAIN_SetWidth(self, aWidth)
6345 r"""Width(SHAPE_LINE_CHAIN self) -> int"""
6346 return _pcbnew.SHAPE_LINE_CHAIN_Width(self)
6349 r"""SegmentCount(SHAPE_LINE_CHAIN self) -> int"""
6350 return _pcbnew.SHAPE_LINE_CHAIN_SegmentCount(self)
6353 r"""ShapeCount(SHAPE_LINE_CHAIN self) -> int"""
6354 return _pcbnew.SHAPE_LINE_CHAIN_ShapeCount(self)
6357 r"""PointCount(SHAPE_LINE_CHAIN self) -> int"""
6358 return _pcbnew.SHAPE_LINE_CHAIN_PointCount(self)
6361 r"""Segment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6362 return _pcbnew.SHAPE_LINE_CHAIN_Segment(self, aIndex)
6365 r"""CSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
6366 return _pcbnew.SHAPE_LINE_CHAIN_CSegment(self, aIndex)
6369 r"""NextShape(SHAPE_LINE_CHAIN self, int aPointIndex, bool aForwards=True) -> int"""
6370 return _pcbnew.SHAPE_LINE_CHAIN_NextShape(self, aPointIndex, aForwards)
6373 r"""PrevShape(SHAPE_LINE_CHAIN self, int aPointIndex) -> int"""
6374 return _pcbnew.SHAPE_LINE_CHAIN_PrevShape(self, aPointIndex)
6377 r"""SetPoint(SHAPE_LINE_CHAIN self, int aIndex, VECTOR2I aPos)"""
6378 return _pcbnew.SHAPE_LINE_CHAIN_SetPoint(self, aIndex, aPos)
6381 r"""CPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I"""
6382 return _pcbnew.SHAPE_LINE_CHAIN_CPoint(self, aIndex)
6385 r"""CPoints(SHAPE_LINE_CHAIN self) -> VECTOR_VECTOR2I"""
6386 return _pcbnew.SHAPE_LINE_CHAIN_CPoints(self)
6389 r"""CLastPoint(SHAPE_LINE_CHAIN self) -> VECTOR2I"""
6390 return _pcbnew.SHAPE_LINE_CHAIN_CLastPoint(self)
6393 r"""CArcs(SHAPE_LINE_CHAIN self) -> std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &"""
6394 return _pcbnew.SHAPE_LINE_CHAIN_CArcs(self)
6397 r"""CShapes(SHAPE_LINE_CHAIN self) -> std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &"""
6398 return _pcbnew.SHAPE_LINE_CHAIN_CShapes(self)
6401 r"""BBox(SHAPE_LINE_CHAIN self, int aClearance=0) -> BOX2I"""
6402 return _pcbnew.SHAPE_LINE_CHAIN_BBox(self, aClearance)
6405 r"""GenerateBBoxCache(SHAPE_LINE_CHAIN self)"""
6406 return _pcbnew.SHAPE_LINE_CHAIN_GenerateBBoxCache(self)
6409 r"""Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aOutlineOnly=False) -> int"""
6410 return _pcbnew.SHAPE_LINE_CHAIN_Distance(self, aP, aOutlineOnly)
6413 r"""Reverse(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN"""
6414 return _pcbnew.SHAPE_LINE_CHAIN_Reverse(self)
6417 r"""ClearArcs(SHAPE_LINE_CHAIN self)"""
6418 return _pcbnew.SHAPE_LINE_CHAIN_ClearArcs(self)
6421 r"""Length(SHAPE_LINE_CHAIN self) -> long long"""
6422 return _pcbnew.SHAPE_LINE_CHAIN_Length(self)
6425 r"""ReservePoints(SHAPE_LINE_CHAIN self, size_t aSize)"""
6426 return _pcbnew.SHAPE_LINE_CHAIN_ReservePoints(self, aSize)
6430 Append(SHAPE_LINE_CHAIN self, int aX, int aY, bool aAllowDuplication=False)
6431 Append(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowDuplication=
False)
6432 Append(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOtherLine)
6433 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc)
6434 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC aArc, double aAccuracy)
6436 return _pcbnew.SHAPE_LINE_CHAIN_Append(self, *args)
6440 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, VECTOR2I aP)
6441 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, SHAPE_ARC aArc)
6443 return _pcbnew.SHAPE_LINE_CHAIN_Insert(self, *args)
6447 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, VECTOR2I aP)
6448 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, SHAPE_LINE_CHAIN aLine)
6450 return _pcbnew.SHAPE_LINE_CHAIN_Replace(self, *args)
6454 Remove(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex)
6455 Remove(SHAPE_LINE_CHAIN self, int aIndex)
6457 return _pcbnew.SHAPE_LINE_CHAIN_Remove(self, *args)
6460 r"""RemoveShape(SHAPE_LINE_CHAIN self, int aPointIndex)"""
6461 return _pcbnew.SHAPE_LINE_CHAIN_RemoveShape(self, aPointIndex)
6464 r"""Split(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int"""
6465 return _pcbnew.SHAPE_LINE_CHAIN_Split(self, aP)
6468 r"""Find(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=0) -> int"""
6469 return _pcbnew.SHAPE_LINE_CHAIN_Find(self, aP, aThreshold)
6472 r"""FindSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=1) -> int"""
6473 return _pcbnew.SHAPE_LINE_CHAIN_FindSegment(self, aP, aThreshold)
6475 def Slice(self, aStartIndex, aEndIndex=-1):
6476 r"""Slice(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex=-1) -> SHAPE_LINE_CHAIN"""
6477 return _pcbnew.SHAPE_LINE_CHAIN_Slice(self, aStartIndex, aEndIndex)
6480 r"""Intersects(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain) -> bool"""
6481 return _pcbnew.SHAPE_LINE_CHAIN_Intersects(self, aChain)
6485 Intersect(SHAPE_LINE_CHAIN self, SEG aSeg, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp) -> int
6486 Intersect(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp, bool aExcludeColinearAndTouching=False, BOX2I aChainBBox=
None) -> int
6488 return _pcbnew.SHAPE_LINE_CHAIN_Intersect(self, *args)
6491 r"""PathLength(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aIndex=-1) -> int"""
6492 return _pcbnew.SHAPE_LINE_CHAIN_PathLength(self, aP, aIndex)
6495 r"""CheckClearance(SHAPE_LINE_CHAIN self, VECTOR2I aP, int const aDist) -> bool"""
6496 return _pcbnew.SHAPE_LINE_CHAIN_CheckClearance(self, aP, aDist)
6499 r"""SelfIntersecting(SHAPE_LINE_CHAIN self) -> std::optional< SHAPE_LINE_CHAIN::INTERSECTION > const"""
6500 return _pcbnew.SHAPE_LINE_CHAIN_SelfIntersecting(self)
6503 r"""Simplify(SHAPE_LINE_CHAIN self, bool aRemoveColinear=True) -> SHAPE_LINE_CHAIN"""
6504 return _pcbnew.SHAPE_LINE_CHAIN_Simplify(self, aRemoveColinear)
6507 r"""NearestSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int"""
6508 return _pcbnew.SHAPE_LINE_CHAIN_NearestSegment(self, aP)
6512 NearestPoint(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowInternalShapePoints=True) -> VECTOR2I
6513 NearestPoint(SHAPE_LINE_CHAIN self, SEG aSeg, int & dist) -> VECTOR2I
6515 return _pcbnew.SHAPE_LINE_CHAIN_NearestPoint(self, *args)
6518 r"""Format(SHAPE_LINE_CHAIN self, bool aCplusPlus=True) -> string"""
6519 return _pcbnew.SHAPE_LINE_CHAIN_Format(self, aCplusPlus)
6522 r"""__ne__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aRhs) -> bool"""
6523 return _pcbnew.SHAPE_LINE_CHAIN___ne__(self, aRhs)
6526 r"""CompareGeometry(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther) -> bool"""
6527 return _pcbnew.SHAPE_LINE_CHAIN_CompareGeometry(self, aOther)
6531 Mirror(SHAPE_LINE_CHAIN self, bool aX=True, bool aY=
False, VECTOR2I aRef={ 0, 0 })
6532 Mirror(SHAPE_LINE_CHAIN self, SEG axis)
6534 return _pcbnew.SHAPE_LINE_CHAIN_Mirror(self, *args)
6537 r"""Rotate(SHAPE_LINE_CHAIN self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6538 return _pcbnew.SHAPE_LINE_CHAIN_Rotate(self, *args)
6541 r"""PointAlong(SHAPE_LINE_CHAIN self, int aPathLength) -> VECTOR2I"""
6542 return _pcbnew.SHAPE_LINE_CHAIN_PointAlong(self, aPathLength)
6545 r"""Area(SHAPE_LINE_CHAIN self, bool aAbsolute=True) -> double"""
6546 return _pcbnew.SHAPE_LINE_CHAIN_Area(self, aAbsolute)
6549 r"""ArcCount(SHAPE_LINE_CHAIN self) -> size_t"""
6550 return _pcbnew.SHAPE_LINE_CHAIN_ArcCount(self)
6553 r"""ArcIndex(SHAPE_LINE_CHAIN self, size_t aSegment) -> ssize_t"""
6554 return _pcbnew.SHAPE_LINE_CHAIN_ArcIndex(self, aSegment)
6557 r"""Arc(SHAPE_LINE_CHAIN self, size_t aArc) -> SHAPE_ARC"""
6558 return _pcbnew.SHAPE_LINE_CHAIN_Arc(self, aArc)
6561 r"""IsSharedPt(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6562 return _pcbnew.SHAPE_LINE_CHAIN_IsSharedPt(self, aIndex)
6565 r"""IsPtOnArc(SHAPE_LINE_CHAIN self, size_t aPtIndex) -> bool"""
6566 return _pcbnew.SHAPE_LINE_CHAIN_IsPtOnArc(self, aPtIndex)
6569 r"""IsArcSegment(SHAPE_LINE_CHAIN self, size_t aSegment) -> bool"""
6570 return _pcbnew.SHAPE_LINE_CHAIN_IsArcSegment(self, aSegment)
6573 r"""IsArcStart(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6574 return _pcbnew.SHAPE_LINE_CHAIN_IsArcStart(self, aIndex)
6577 r"""IsArcEnd(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
6578 return _pcbnew.SHAPE_LINE_CHAIN_IsArcEnd(self, aIndex)
6581_pcbnew.SHAPE_LINE_CHAIN_swigregister(SHAPE_LINE_CHAIN)
6584 r"""Proxy of C++ SHAPE_POLY_SET class."""
6586 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6587 __repr__ = _swig_repr
6591 __init__(SHAPE_POLY_SET self) -> SHAPE_POLY_SET
6592 __init__(SHAPE_POLY_SET self, BOX2D const & aRect) -> SHAPE_POLY_SET
6593 __init__(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> SHAPE_POLY_SET
6594 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET aOther) -> SHAPE_POLY_SET
6596 _pcbnew.SHAPE_POLY_SET_swiginit(self, _pcbnew.new_SHAPE_POLY_SET(*args))
6597 __swig_destroy__ = _pcbnew.delete_SHAPE_POLY_SET
6600 r"""CacheTriangulation(SHAPE_POLY_SET self, bool aPartition=True, bool aSimplify=False)"""
6601 return _pcbnew.SHAPE_POLY_SET_CacheTriangulation(self, aPartition, aSimplify)
6604 r"""IsTriangulationUpToDate(SHAPE_POLY_SET self) -> bool"""
6605 return _pcbnew.SHAPE_POLY_SET_IsTriangulationUpToDate(self)
6608 r"""GetHash(SHAPE_POLY_SET self) -> MD5_HASH"""
6609 return _pcbnew.SHAPE_POLY_SET_GetHash(self)
6612 r"""GetRelativeIndices(SHAPE_POLY_SET self, int aGlobalIdx, SHAPE_POLY_SET::VERTEX_INDEX * aRelativeIndices) -> bool"""
6613 return _pcbnew.SHAPE_POLY_SET_GetRelativeIndices(self, aGlobalIdx, aRelativeIndices)
6616 r"""GetGlobalIndex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices, int & aGlobalIdx) -> bool"""
6617 return _pcbnew.SHAPE_POLY_SET_GetGlobalIndex(self, aRelativeIndices, aGlobalIdx)
6620 r"""CloneDropTriangulation(SHAPE_POLY_SET self) -> SHAPE_POLY_SET"""
6621 return _pcbnew.SHAPE_POLY_SET_CloneDropTriangulation(self)
6624 r"""NewOutline(SHAPE_POLY_SET self) -> int"""
6625 return _pcbnew.SHAPE_POLY_SET_NewOutline(self)
6628 r"""NewHole(SHAPE_POLY_SET self, int aOutline=-1) -> int"""
6629 return _pcbnew.SHAPE_POLY_SET_NewHole(self, aOutline)
6632 r"""AddOutline(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> int"""
6633 return _pcbnew.SHAPE_POLY_SET_AddOutline(self, aOutline)
6636 r"""AddHole(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aHole, int aOutline=-1) -> int"""
6637 return _pcbnew.SHAPE_POLY_SET_AddHole(self, aHole, aOutline)
6640 r"""Area(SHAPE_POLY_SET self) -> double"""
6641 return _pcbnew.SHAPE_POLY_SET_Area(self)
6644 r"""ArcCount(SHAPE_POLY_SET self) -> int"""
6645 return _pcbnew.SHAPE_POLY_SET_ArcCount(self)
6648 r"""GetArcs(SHAPE_POLY_SET self, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > & aArcBuffer)"""
6649 return _pcbnew.SHAPE_POLY_SET_GetArcs(self, aArcBuffer)
6652 r"""ClearArcs(SHAPE_POLY_SET self)"""
6653 return _pcbnew.SHAPE_POLY_SET_ClearArcs(self)
6657 Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1, int aHole=-1, bool aAllowDuplication=False) -> int
6658 Append(SHAPE_POLY_SET self, SHAPE_POLY_SET aSet)
6659 Append(SHAPE_POLY_SET self, VECTOR2I aP, int aOutline=-1, int aHole=-1)
6660 Append(SHAPE_POLY_SET self, SHAPE_ARC aArc, int aOutline=-1, int aHole=-1, double aAccuracy=SHAPE_ARC::DefaultAccuracyForPCB()) -> int
6662 return _pcbnew.SHAPE_POLY_SET_Append(self, *args)
6665 r"""InsertVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aNewVertex)"""
6666 return _pcbnew.SHAPE_POLY_SET_InsertVertex(self, aGlobalIndex, aNewVertex)
6670 CVertex(SHAPE_POLY_SET self, int aIndex, int aOutline, int aHole) -> VECTOR2I
6671 CVertex(SHAPE_POLY_SET self, int aGlobalIndex) -> VECTOR2I
6672 CVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aIndex) -> VECTOR2I
6674 return _pcbnew.SHAPE_POLY_SET_CVertex(self, *args)
6677 r"""GetNeighbourIndexes(SHAPE_POLY_SET self, int aGlobalIndex, int * aPrevious, int * aNext) -> bool"""
6678 return _pcbnew.SHAPE_POLY_SET_GetNeighbourIndexes(self, aGlobalIndex, aPrevious, aNext)
6681 r"""IsPolygonSelfIntersecting(SHAPE_POLY_SET self, int aPolygonIndex) -> bool"""
6682 return _pcbnew.SHAPE_POLY_SET_IsPolygonSelfIntersecting(self, aPolygonIndex)
6685 r"""IsSelfIntersecting(SHAPE_POLY_SET self) -> bool"""
6686 return _pcbnew.SHAPE_POLY_SET_IsSelfIntersecting(self)
6689 r"""TriangulatedPolyCount(SHAPE_POLY_SET self) -> unsigned int"""
6690 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolyCount(self)
6693 r"""OutlineCount(SHAPE_POLY_SET self) -> int"""
6694 return _pcbnew.SHAPE_POLY_SET_OutlineCount(self)
6697 r"""VertexCount(SHAPE_POLY_SET self, int aOutline=-1, int aHole=-1) -> int"""
6698 return _pcbnew.SHAPE_POLY_SET_VertexCount(self, aOutline, aHole)
6701 r"""FullPointCount(SHAPE_POLY_SET self) -> int"""
6702 return _pcbnew.SHAPE_POLY_SET_FullPointCount(self)
6705 r"""HoleCount(SHAPE_POLY_SET self, int aOutline) -> int"""
6706 return _pcbnew.SHAPE_POLY_SET_HoleCount(self, aOutline)
6710 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6711 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
6713 return _pcbnew.SHAPE_POLY_SET_Outline(self, *args)
6715 def Subset(self, aFirstPolygon, aLastPolygon):
6716 r"""Subset(SHAPE_POLY_SET self, int aFirstPolygon, int aLastPolygon) -> SHAPE_POLY_SET"""
6717 return _pcbnew.SHAPE_POLY_SET_Subset(self, aFirstPolygon, aLastPolygon)
6720 r"""UnitSet(SHAPE_POLY_SET self, int aPolygonIndex) -> SHAPE_POLY_SET"""
6721 return _pcbnew.SHAPE_POLY_SET_UnitSet(self, aPolygonIndex)
6724 r"""Hole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6725 return _pcbnew.SHAPE_POLY_SET_Hole(self, aOutline, aHole)
6729 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON
6730 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &
6732 return _pcbnew.SHAPE_POLY_SET_Polygon(self, *args)
6735 r"""TriangulatedPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::TRIANGULATED_POLYGON const *"""
6736 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolygon(self, aIndex)
6739 r"""COutline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN"""
6740 return _pcbnew.SHAPE_POLY_SET_COutline(self, aIndex)
6743 r"""CHole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
6744 return _pcbnew.SHAPE_POLY_SET_CHole(self, aOutline, aHole)
6747 r"""CPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &"""
6748 return _pcbnew.SHAPE_POLY_SET_CPolygon(self, aIndex)
6752 Iterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::ITERATOR
6753 Iterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6754 Iterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR
6756 return _pcbnew.SHAPE_POLY_SET_Iterate(self, *args)
6760 IterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
6763 return _pcbnew.SHAPE_POLY_SET_IterateWithHoles(self, *args)
6767 CIterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_ITERATOR
6768 CIterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
6769 CIterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR
6771 return _pcbnew.SHAPE_POLY_SET_CIterate(self, *args)
6775 CIterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
6778 return _pcbnew.SHAPE_POLY_SET_CIterateWithHoles(self, *args)
6781 r"""IterateFromVertexWithHoles(SHAPE_POLY_SET self, int aGlobalIdx) -> SHAPE_POLY_SET::ITERATOR"""
6782 return _pcbnew.SHAPE_POLY_SET_IterateFromVertexWithHoles(self, aGlobalIdx)
6786 IterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
6787 IterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
6788 IterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
6790 return _pcbnew.SHAPE_POLY_SET_IterateSegments(self, *args)
6794 CIterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
6795 CIterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
6796 CIterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
6798 return _pcbnew.SHAPE_POLY_SET_CIterateSegments(self, *args)
6805 return _pcbnew.SHAPE_POLY_SET_IterateSegmentsWithHoles(self, *args)
6812 return _pcbnew.SHAPE_POLY_SET_CIterateSegmentsWithHoles(self, *args)
6813 PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
6815 PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
6820 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
6821 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
6823 return _pcbnew.SHAPE_POLY_SET_BooleanAdd(self, *args)
6827 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
6828 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
6830 return _pcbnew.SHAPE_POLY_SET_BooleanSubtract(self, *args)
6834 BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
6835 BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
6837 return _pcbnew.SHAPE_POLY_SET_BooleanIntersection(self, *args)
6838 ALLOW_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_ALLOW_ACUTE_CORNERS
6840 CHAMFER_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_CHAMFER_ACUTE_CORNERS
6842 ROUND_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_ROUND_ACUTE_CORNERS
6844 CHAMFER_ALL_CORNERS = _pcbnew.SHAPE_POLY_SET_CHAMFER_ALL_CORNERS
6846 ROUND_ALL_CORNERS = _pcbnew.SHAPE_POLY_SET_ROUND_ALL_CORNERS
6850 r"""Inflate(SHAPE_POLY_SET self, int aAmount, int aCircleSegCount, SHAPE_POLY_SET::CORNER_STRATEGY aCornerStrategy=ROUND_ALL_CORNERS, bool aSimplify=False)"""
6851 return _pcbnew.SHAPE_POLY_SET_Inflate(self, *args)
6854 r"""Deflate(SHAPE_POLY_SET self, int aAmount, int aCircleSegmentsCount, SHAPE_POLY_SET::CORNER_STRATEGY aCornerStrategy=CHAMFER_ALL_CORNERS)"""
6855 return _pcbnew.SHAPE_POLY_SET_Deflate(self, *args)
6858 r"""InflateWithLinkedHoles(SHAPE_POLY_SET self, int aFactor, int aCircleSegmentsCount, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
6859 return _pcbnew.SHAPE_POLY_SET_InflateWithLinkedHoles(self, aFactor, aCircleSegmentsCount, aFastMode)
6862 r"""Fracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
6863 return _pcbnew.SHAPE_POLY_SET_Fracture(self, aFastMode)
6866 r"""Unfracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
6867 return _pcbnew.SHAPE_POLY_SET_Unfracture(self, aFastMode)
6870 r"""HasHoles(SHAPE_POLY_SET self) -> bool"""
6871 return _pcbnew.SHAPE_POLY_SET_HasHoles(self)
6874 r"""HasTouchingHoles(SHAPE_POLY_SET self) -> bool"""
6875 return _pcbnew.SHAPE_POLY_SET_HasTouchingHoles(self)
6878 r"""Simplify(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
6879 return _pcbnew.SHAPE_POLY_SET_Simplify(self, aFastMode)
6882 r"""NormalizeAreaOutlines(SHAPE_POLY_SET self) -> int"""
6883 return _pcbnew.SHAPE_POLY_SET_NormalizeAreaOutlines(self)
6886 r"""Format(SHAPE_POLY_SET self, bool aCplusPlus=True) -> string"""
6887 return _pcbnew.SHAPE_POLY_SET_Format(self, aCplusPlus)
6890 r"""Mirror(SHAPE_POLY_SET self, bool aX=True, bool aY=False, VECTOR2I aRef={ 0, 0 })"""
6891 return _pcbnew.SHAPE_POLY_SET_Mirror(self, *args)
6894 r"""Rotate(SHAPE_POLY_SET self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
6895 return _pcbnew.SHAPE_POLY_SET_Rotate(self, *args)
6898 r"""BBox(SHAPE_POLY_SET self, int aClearance=0) -> BOX2I"""
6899 return _pcbnew.SHAPE_POLY_SET_BBox(self, aClearance)
6902 r"""PointOnEdge(SHAPE_POLY_SET self, VECTOR2I aP) -> bool"""
6903 return _pcbnew.SHAPE_POLY_SET_PointOnEdge(self, aP)
6907 Collide(SHAPE_POLY_SET self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
6908 Collide(SHAPE_POLY_SET self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6909 Collide(SHAPE_POLY_SET self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
6911 return _pcbnew.SHAPE_POLY_SET_Collide(self, *args)
6914 r"""CollideVertex(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
6915 return _pcbnew.SHAPE_POLY_SET_CollideVertex(self, aPoint, aClosestVertex, aClearance)
6918 r"""CollideEdge(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX * aClosestVertex=None, int aClearance=0) -> bool"""
6919 return _pcbnew.SHAPE_POLY_SET_CollideEdge(self, aPoint, aClosestVertex, aClearance)
6922 r"""BuildBBoxCaches(SHAPE_POLY_SET self)"""
6923 return _pcbnew.SHAPE_POLY_SET_BuildBBoxCaches(self)
6926 r"""BBoxFromCaches(SHAPE_POLY_SET self) -> BOX2I"""
6927 return _pcbnew.SHAPE_POLY_SET_BBoxFromCaches(self)
6929 def Contains(self, aP, aSubpolyIndex=-1, aAccuracy=0, aUseBBoxCaches=False):
6930 r"""Contains(SHAPE_POLY_SET self, VECTOR2I aP, int aSubpolyIndex=-1, int aAccuracy=0, bool aUseBBoxCaches=False) -> bool"""
6931 return _pcbnew.SHAPE_POLY_SET_Contains(self, aP, aSubpolyIndex, aAccuracy, aUseBBoxCaches)
6934 r"""IsEmpty(SHAPE_POLY_SET self) -> bool"""
6935 return _pcbnew.SHAPE_POLY_SET_IsEmpty(self)
6940 RemoveVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices)
6942 return _pcbnew.SHAPE_POLY_SET_RemoveVertex(self, *args)
6945 r"""RemoveAllContours(SHAPE_POLY_SET self)"""
6946 return _pcbnew.SHAPE_POLY_SET_RemoveAllContours(self)
6949 r"""RemoveContour(SHAPE_POLY_SET self, int aContourIdx, int aPolygonIdx=-1)"""
6950 return _pcbnew.SHAPE_POLY_SET_RemoveContour(self, aContourIdx, aPolygonIdx)
6953 r"""RemoveNullSegments(SHAPE_POLY_SET self) -> int"""
6954 return _pcbnew.SHAPE_POLY_SET_RemoveNullSegments(self)
6958 SetVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX const & aIndex, VECTOR2I aPos)
6959 SetVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aPos)
6961 return _pcbnew.SHAPE_POLY_SET_SetVertex(self, *args)
6964 r"""TotalVertices(SHAPE_POLY_SET self) -> int"""
6965 return _pcbnew.SHAPE_POLY_SET_TotalVertices(self)
6968 r"""DeletePolygon(SHAPE_POLY_SET self, int aIdx)"""
6969 return _pcbnew.SHAPE_POLY_SET_DeletePolygon(self, aIdx)
6972 r"""DeletePolygonAndTriangulationData(SHAPE_POLY_SET self, int aIdx, bool aUpdateHash=True)"""
6973 return _pcbnew.SHAPE_POLY_SET_DeletePolygonAndTriangulationData(self, aIdx, aUpdateHash)
6976 r"""UpdateTriangulationDataHash(SHAPE_POLY_SET self)"""
6977 return _pcbnew.SHAPE_POLY_SET_UpdateTriangulationDataHash(self)
6980 r"""ChamferPolygon(SHAPE_POLY_SET self, unsigned int aDistance, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
6981 return _pcbnew.SHAPE_POLY_SET_ChamferPolygon(self, aDistance, aIndex)
6984 r"""FilletPolygon(SHAPE_POLY_SET self, unsigned int aRadius, int aErrorMax, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
6985 return _pcbnew.SHAPE_POLY_SET_FilletPolygon(self, aRadius, aErrorMax, aIndex)
6988 r"""Chamfer(SHAPE_POLY_SET self, int aDistance) -> SHAPE_POLY_SET"""
6989 return _pcbnew.SHAPE_POLY_SET_Chamfer(self, aDistance)
6992 r"""Fillet(SHAPE_POLY_SET self, int aRadius, int aErrorMax) -> SHAPE_POLY_SET"""
6993 return _pcbnew.SHAPE_POLY_SET_Fillet(self, aRadius, aErrorMax)
7000 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToPolygon(self, *args)
7004 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, VECTOR2I aNearest=None) -> SEG::ecoord
7005 SquaredDistance(SHAPE_POLY_SET self, SEG aSegment, VECTOR2I aNearest=
None) -> SEG::ecoord
7007 return _pcbnew.SHAPE_POLY_SET_SquaredDistance(self, *args)
7010 r"""IsVertexInHole(SHAPE_POLY_SET self, int aGlobalIdx) -> bool"""
7011 return _pcbnew.SHAPE_POLY_SET_IsVertexInHole(self, aGlobalIdx)
7015 r"""BuildPolysetFromOrientedPaths(std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const & aPaths, bool aReverseOrientation=False, bool aEvenOdd=False) -> SHAPE_POLY_SET"""
7016 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation, aEvenOdd)
7019_pcbnew.SHAPE_POLY_SET_swigregister(SHAPE_POLY_SET)
7022 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"""
7023 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation, aEvenOdd)
7026 r"""Proxy of C++ SHAPE_RECT class."""
7028 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7029 __repr__ = _swig_repr
7033 __init__(SHAPE_RECT self) -> SHAPE_RECT
7034 __init__(SHAPE_RECT self, BOX2I aBox) -> SHAPE_RECT
7035 __init__(SHAPE_RECT self, int aX0, int aY0, int aW, int aH) -> SHAPE_RECT
7036 __init__(SHAPE_RECT self, VECTOR2I aP0, int aW, int aH) -> SHAPE_RECT
7037 __init__(SHAPE_RECT self, SHAPE_RECT aOther) -> SHAPE_RECT
7039 _pcbnew.SHAPE_RECT_swiginit(self, _pcbnew.new_SHAPE_RECT(*args))
7042 r"""BBox(SHAPE_RECT self, int aClearance=0) -> BOX2I"""
7043 return _pcbnew.SHAPE_RECT_BBox(self, aClearance)
7046 r"""Diagonal(SHAPE_RECT self) -> int"""
7047 return _pcbnew.SHAPE_RECT_Diagonal(self)
7051 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
7052 Collide(SHAPE_RECT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7053 Collide(SHAPE_RECT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7055 return _pcbnew.SHAPE_RECT_Collide(self, *args)
7058 r"""GetPosition(SHAPE_RECT self) -> VECTOR2I"""
7059 return _pcbnew.SHAPE_RECT_GetPosition(self)
7062 r"""GetSize(SHAPE_RECT self) -> VECTOR2I"""
7063 return _pcbnew.SHAPE_RECT_GetSize(self)
7066 r"""GetWidth(SHAPE_RECT self) -> int const"""
7067 return _pcbnew.SHAPE_RECT_GetWidth(self)
7070 r"""GetHeight(SHAPE_RECT self) -> int const"""
7071 return _pcbnew.SHAPE_RECT_GetHeight(self)
7074 r"""Rotate(SHAPE_RECT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7075 return _pcbnew.SHAPE_RECT_Rotate(self, *args)
7078 r"""Outline(SHAPE_RECT self) -> SHAPE_LINE_CHAIN"""
7079 return _pcbnew.SHAPE_RECT_Outline(self)
7082 r"""Format(SHAPE_RECT self, bool aCplusPlus=True) -> string"""
7083 return _pcbnew.SHAPE_RECT_Format(self, aCplusPlus)
7084 __swig_destroy__ = _pcbnew.delete_SHAPE_RECT
7087_pcbnew.SHAPE_RECT_swigregister(SHAPE_RECT)
7090 r"""Proxy of C++ SHAPE_SEGMENT class."""
7092 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7093 __repr__ = _swig_repr
7097 __init__(SHAPE_SEGMENT self) -> SHAPE_SEGMENT
7098 __init__(SHAPE_SEGMENT self, VECTOR2I aA, VECTOR2I aB, int aWidth=0) -> SHAPE_SEGMENT
7099 __init__(SHAPE_SEGMENT self, SEG aSeg, int aWidth=0) -> SHAPE_SEGMENT
7101 _pcbnew.SHAPE_SEGMENT_swiginit(self, _pcbnew.new_SHAPE_SEGMENT(*args))
7102 __swig_destroy__ = _pcbnew.delete_SHAPE_SEGMENT
7105 r"""BBox(SHAPE_SEGMENT self, int aClearance=0) -> BOX2I"""
7106 return _pcbnew.SHAPE_SEGMENT_BBox(self, aClearance)
7110 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
7111 Collide(SHAPE_SEGMENT self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
7112 Collide(SHAPE_SEGMENT self, SEG aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7113 Collide(SHAPE_SEGMENT self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
7115 return _pcbnew.SHAPE_SEGMENT_Collide(self, *args)
7118 r"""SetSeg(SHAPE_SEGMENT self, SEG aSeg)"""
7119 return _pcbnew.SHAPE_SEGMENT_SetSeg(self, aSeg)
7122 r"""GetSeg(SHAPE_SEGMENT self) -> SEG"""
7123 return _pcbnew.SHAPE_SEGMENT_GetSeg(self)
7126 r"""SetWidth(SHAPE_SEGMENT self, int aWidth)"""
7127 return _pcbnew.SHAPE_SEGMENT_SetWidth(self, aWidth)
7130 r"""GetWidth(SHAPE_SEGMENT self) -> int"""
7131 return _pcbnew.SHAPE_SEGMENT_GetWidth(self)
7134 r"""Rotate(SHAPE_SEGMENT self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7135 return _pcbnew.SHAPE_SEGMENT_Rotate(self, *args)
7138 r"""Is45Degree(SHAPE_SEGMENT self, EDA_ANGLE aTollerance=EDA_ANGLE( 1.0, DEGREES_T )) -> bool"""
7139 return _pcbnew.SHAPE_SEGMENT_Is45Degree(self, *args)
7142 r"""Format(SHAPE_SEGMENT self, bool aCplusPlus=True) -> string"""
7143 return _pcbnew.SHAPE_SEGMENT_Format(self, aCplusPlus)
7146_pcbnew.SHAPE_SEGMENT_swigregister(SHAPE_SEGMENT)
7149 r"""Proxy of C++ SHAPE_SIMPLE class."""
7151 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7152 __repr__ = _swig_repr
7156 __init__(SHAPE_SIMPLE self) -> SHAPE_SIMPLE
7157 __init__(SHAPE_SIMPLE self, SHAPE_LINE_CHAIN aPoly) -> SHAPE_SIMPLE
7158 __init__(SHAPE_SIMPLE self, SHAPE_SIMPLE aOther) -> SHAPE_SIMPLE
7160 _pcbnew.SHAPE_SIMPLE_swiginit(self, _pcbnew.new_SHAPE_SIMPLE(*args))
7163 r"""Clear(SHAPE_SIMPLE self)"""
7164 return _pcbnew.SHAPE_SIMPLE_Clear(self)
7167 r"""BBox(SHAPE_SIMPLE self, int aClearance=0) -> BOX2I"""
7168 return _pcbnew.SHAPE_SIMPLE_BBox(self, aClearance)
7171 r"""PointCount(SHAPE_SIMPLE self) -> int"""
7172 return _pcbnew.SHAPE_SIMPLE_PointCount(self)
7175 r"""CPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2I"""
7176 return _pcbnew.SHAPE_SIMPLE_CPoint(self, aIndex)
7179 r"""CDPoint(SHAPE_SIMPLE self, int aIndex) -> VECTOR2D const"""
7180 return _pcbnew.SHAPE_SIMPLE_CDPoint(self, aIndex)
7183 r"""Vertices(SHAPE_SIMPLE self) -> SHAPE_LINE_CHAIN"""
7184 return _pcbnew.SHAPE_SIMPLE_Vertices(self)
7188 Append(SHAPE_SIMPLE self, int aX, int aY)
7189 Append(SHAPE_SIMPLE self, VECTOR2I aP)
7191 return _pcbnew.SHAPE_SIMPLE_Append(self, *args)
7193 def Collide(self, aSeg, aClearance=0, aActual=None, aLocation=None):
7194 r"""Collide(SHAPE_SIMPLE self, SEG aSeg, int aClearance=0, int * aActual=None, VECTOR2I aLocation=None) -> bool"""
7195 return _pcbnew.SHAPE_SIMPLE_Collide(self, aSeg, aClearance, aActual, aLocation)
7198 r"""Rotate(SHAPE_SIMPLE self, EDA_ANGLE aAngle, VECTOR2I aCenter={ 0, 0 })"""
7199 return _pcbnew.SHAPE_SIMPLE_Rotate(self, *args)
7200 __swig_destroy__ = _pcbnew.delete_SHAPE_SIMPLE
7203_pcbnew.SHAPE_SIMPLE_swigregister(SHAPE_SIMPLE)
7206 r"""Proxy of C++ std::vector< std::shared_ptr< SHAPE > > class."""
7208 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7209 __repr__ = _swig_repr
7212 r"""iterator(VECTOR_SHAPEPTR self) -> SwigPyIterator"""
7213 return _pcbnew.VECTOR_SHAPEPTR_iterator(self)
7218 r"""__nonzero__(VECTOR_SHAPEPTR self) -> bool"""
7219 return _pcbnew.VECTOR_SHAPEPTR___nonzero__(self)
7222 r"""__bool__(VECTOR_SHAPEPTR self) -> bool"""
7223 return _pcbnew.VECTOR_SHAPEPTR___bool__(self)
7226 r"""__len__(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7227 return _pcbnew.VECTOR_SHAPEPTR___len__(self)
7230 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"""
7231 return _pcbnew.VECTOR_SHAPEPTR___getslice__(self, i, j)
7235 __setslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)
7236 __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)
7238 return _pcbnew.VECTOR_SHAPEPTR___setslice__(self, *args)
7241 r"""__delslice__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::difference_type j)"""
7242 return _pcbnew.VECTOR_SHAPEPTR___delslice__(self, i, j)
7246 __delitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i)
7247 __delitem__(VECTOR_SHAPEPTR self, PySliceObject * slice)
7249 return _pcbnew.VECTOR_SHAPEPTR___delitem__(self, *args)
7253 __getitem__(VECTOR_SHAPEPTR self, PySliceObject * slice) -> VECTOR_SHAPEPTR
7254 __getitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &
7256 return _pcbnew.VECTOR_SHAPEPTR___getitem__(self, *args)
7260 __setitem__(VECTOR_SHAPEPTR self, PySliceObject * slice, VECTOR_SHAPEPTR v)
7261 __setitem__(VECTOR_SHAPEPTR self, PySliceObject * slice)
7262 __setitem__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::difference_type i, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7264 return _pcbnew.VECTOR_SHAPEPTR___setitem__(self, *args)
7267 r"""pop(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type"""
7268 return _pcbnew.VECTOR_SHAPEPTR_pop(self)
7271 r"""append(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7272 return _pcbnew.VECTOR_SHAPEPTR_append(self, x)
7275 r"""empty(VECTOR_SHAPEPTR self) -> bool"""
7276 return _pcbnew.VECTOR_SHAPEPTR_empty(self)
7279 r"""size(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7280 return _pcbnew.VECTOR_SHAPEPTR_size(self)
7283 r"""swap(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR v)"""
7284 return _pcbnew.VECTOR_SHAPEPTR_swap(self, v)
7287 r"""begin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7288 return _pcbnew.VECTOR_SHAPEPTR_begin(self)
7291 r"""end(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::iterator"""
7292 return _pcbnew.VECTOR_SHAPEPTR_end(self)
7295 r"""rbegin(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7296 return _pcbnew.VECTOR_SHAPEPTR_rbegin(self)
7299 r"""rend(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::reverse_iterator"""
7300 return _pcbnew.VECTOR_SHAPEPTR_rend(self)
7303 r"""clear(VECTOR_SHAPEPTR self)"""
7304 return _pcbnew.VECTOR_SHAPEPTR_clear(self)
7307 r"""get_allocator(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::allocator_type"""
7308 return _pcbnew.VECTOR_SHAPEPTR_get_allocator(self)
7311 r"""pop_back(VECTOR_SHAPEPTR self)"""
7312 return _pcbnew.VECTOR_SHAPEPTR_pop_back(self)
7316 erase(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::iterator pos) -> std::vector< std::shared_ptr< SHAPE > >::iterator
7317 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
7319 return _pcbnew.VECTOR_SHAPEPTR_erase(self, *args)
7323 __init__(VECTOR_SHAPEPTR self) -> VECTOR_SHAPEPTR
7324 __init__(VECTOR_SHAPEPTR self, VECTOR_SHAPEPTR other) -> VECTOR_SHAPEPTR
7325 __init__(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type size) -> VECTOR_SHAPEPTR
7326 __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
7328 _pcbnew.VECTOR_SHAPEPTR_swiginit(self, _pcbnew.new_VECTOR_SHAPEPTR(*args))
7331 r"""push_back(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7332 return _pcbnew.VECTOR_SHAPEPTR_push_back(self, x)
7335 r"""front(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7336 return _pcbnew.VECTOR_SHAPEPTR_front(self)
7339 r"""back(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::value_type const &"""
7340 return _pcbnew.VECTOR_SHAPEPTR_back(self)
7343 r"""assign(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)"""
7344 return _pcbnew.VECTOR_SHAPEPTR_assign(self, n, x)
7348 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size)
7349 resize(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type new_size, std::vector< std::shared_ptr< SHAPE > >::value_type const & x)
7351 return _pcbnew.VECTOR_SHAPEPTR_resize(self, *args)
7355 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
7356 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)
7358 return _pcbnew.VECTOR_SHAPEPTR_insert(self, *args)
7361 r"""reserve(VECTOR_SHAPEPTR self, std::vector< std::shared_ptr< SHAPE > >::size_type n)"""
7362 return _pcbnew.VECTOR_SHAPEPTR_reserve(self, n)
7365 r"""capacity(VECTOR_SHAPEPTR self) -> std::vector< std::shared_ptr< SHAPE > >::size_type"""
7366 return _pcbnew.VECTOR_SHAPEPTR_capacity(self)
7374 except StopIteration:
7377 __swig_destroy__ = _pcbnew.delete_VECTOR_SHAPEPTR
7380_pcbnew.VECTOR_SHAPEPTR_swigregister(VECTOR_SHAPEPTR)
7384 r"""Cast_to_SHAPE_ARC(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_ARC >"""
7385 return _pcbnew.Cast_to_SHAPE_ARC(_self)
7388 r"""Cast_to_SHAPE_CIRCLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_CIRCLE >"""
7389 return _pcbnew.Cast_to_SHAPE_CIRCLE(_self)
7392 r"""Cast_to_SHAPE_COMPOUND(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_COMPOUND >"""
7393 return _pcbnew.Cast_to_SHAPE_COMPOUND(_self)
7396 r"""Cast_to_SHAPE_LINE_CHAIN(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_LINE_CHAIN >"""
7397 return _pcbnew.Cast_to_SHAPE_LINE_CHAIN(_self)
7400 r"""Cast_to_SHAPE_POLY_SET(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_POLY_SET >"""
7401 return _pcbnew.Cast_to_SHAPE_POLY_SET(_self)
7404 r"""Cast_to_SHAPE_RECT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_RECT >"""
7405 return _pcbnew.Cast_to_SHAPE_RECT(_self)
7408 r"""Cast_to_SHAPE_SEGMENT(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SEGMENT >"""
7409 return _pcbnew.Cast_to_SHAPE_SEGMENT(_self)
7412 r"""Cast_to_SHAPE_SIMPLE(std::shared_ptr< SHAPE > _self) -> std::shared_ptr< SHAPE_SIMPLE >"""
7413 return _pcbnew.Cast_to_SHAPE_SIMPLE(_self)
7416 r"""IsUTF8(char const * aString) -> bool"""
7417 return _pcbnew.IsUTF8(aString)
7419 r"""Proxy of C++ UTF8 class."""
7421 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7422 __repr__ = _swig_repr
7426 __init__(UTF8 self, wxString o) -> UTF8
7427 __init__(UTF8 self, char const * txt) -> UTF8
7428 __init__(UTF8 self, wchar_t const * txt) -> UTF8
7429 __init__(UTF8 self, string o) -> UTF8
7432 _pcbnew.UTF8_swiginit(self, _pcbnew.new_UTF8(*args))
7433 __swig_destroy__ = _pcbnew.delete_UTF8
7436 r"""c_str(UTF8 self) -> char const *"""
7437 return _pcbnew.UTF8_c_str(self)
7440 r"""empty(UTF8 self) -> bool"""
7441 return _pcbnew.UTF8_empty(self)
7445 find(UTF8 self, char c) -> std::string::size_type
7446 find(UTF8 self, char c, size_t s) -> std::string::size_type
7448 return _pcbnew.UTF8_find(self, *args)
7451 r"""clear(UTF8 self)"""
7452 return _pcbnew.UTF8_clear(self)
7455 r"""length(UTF8 self) -> std::string::size_type"""
7456 return _pcbnew.UTF8_length(self)
7459 r"""size(UTF8 self) -> std::string::size_type"""
7460 return _pcbnew.UTF8_size(self)
7463 r"""compare(UTF8 self, string s) -> int"""
7464 return _pcbnew.UTF8_compare(self, s)
7468 __eq__(UTF8 self, UTF8 rhs) -> bool
7469 __eq__(UTF8 self, string rhs) -> bool
7470 __eq__(UTF8 self, char const * s) -> bool
7472 return _pcbnew.UTF8___eq__(self, *args)
7475 r"""find_first_of(UTF8 self, string str, std::string::size_type pos=0) -> std::string::size_type"""
7476 return _pcbnew.UTF8_find_first_of(self, str, pos)
7480 __iadd__(UTF8 self, UTF8 str) -> UTF8
7481 __iadd__(UTF8 self, char ch) -> UTF8
7482 __iadd__(UTF8 self, char const * s) -> UTF8
7483 __iadd__(UTF8 self, unsigned int w_ch) -> UTF8
7485 return _pcbnew.UTF8___iadd__(self, *args)
7486 npos = _pcbnew.UTF8_npos
7490 r"""substr(UTF8 self, size_t pos=0, size_t len=npos) -> string"""
7491 return _pcbnew.UTF8_substr(self, *args)
7494 r"""utf8_to_string(UTF8 self) -> string"""
7495 return _pcbnew.UTF8_utf8_to_string(self)
7498 r"""wx_str(UTF8 self) -> wxString"""
7499 return _pcbnew.UTF8_wx_str(self)
7502 r"""utf8_to_wxstring(UTF8 self) -> wxString"""
7503 return _pcbnew.UTF8_utf8_to_wxstring(self)
7506 r"""begin(UTF8 self) -> std::string::const_iterator"""
7507 return _pcbnew.UTF8_begin(self)
7510 r"""end(UTF8 self) -> std::string::const_iterator"""
7511 return _pcbnew.UTF8_end(self)
7514 r"""Cast_to_CChar(UTF8 self) -> char const *"""
7515 return _pcbnew.UTF8_Cast_to_CChar(self)
7530_pcbnew.UTF8_swigregister(UTF8)
7533 r"""Proxy of C++ LIB_ID class."""
7535 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7536 __repr__ = _swig_repr
7541 __init__(LIB_ID self, wxString aLibraryName, wxString aItemName) -> LIB_ID
7543 _pcbnew.LIB_ID_swiginit(self, _pcbnew.new_LIB_ID(*args))
7546 r"""Parse(LIB_ID self, UTF8 aId, bool aFix=False) -> int"""
7547 return _pcbnew.LIB_ID_Parse(self, aId, aFix)
7550 r"""GetLibNickname(LIB_ID self) -> UTF8"""
7551 return _pcbnew.LIB_ID_GetLibNickname(self)
7554 r"""GetUniStringLibNickname(LIB_ID self) -> wxString"""
7555 return _pcbnew.LIB_ID_GetUniStringLibNickname(self)
7558 r"""SetLibNickname(LIB_ID self, UTF8 aNickname) -> int"""
7559 return _pcbnew.LIB_ID_SetLibNickname(self, aNickname)
7562 r"""GetLibItemName(LIB_ID self) -> UTF8"""
7563 return _pcbnew.LIB_ID_GetLibItemName(self)
7566 r"""GetUniStringLibItemName(LIB_ID self) -> wxString"""
7567 return _pcbnew.LIB_ID_GetUniStringLibItemName(self)
7570 r"""SetLibItemName(LIB_ID self, UTF8 aLibItemName) -> int"""
7571 return _pcbnew.LIB_ID_SetLibItemName(self, aLibItemName)
7574 r"""GetSubLibraryName(LIB_ID self) -> UTF8"""
7575 return _pcbnew.LIB_ID_GetSubLibraryName(self)
7578 r"""SetSubLibraryName(LIB_ID self, UTF8 aName)"""
7579 return _pcbnew.LIB_ID_SetSubLibraryName(self, aName)
7582 r"""GetUniStringSubLibraryName(LIB_ID self) -> wxString"""
7583 return _pcbnew.LIB_ID_GetUniStringSubLibraryName(self)
7586 r"""GetFullLibraryName(LIB_ID self) -> wxString"""
7587 return _pcbnew.LIB_ID_GetFullLibraryName(self)
7590 r"""GetUniStringLibId(LIB_ID self) -> wxString"""
7591 return _pcbnew.LIB_ID_GetUniStringLibId(self)
7597 Format(UTF8 aLibraryName, UTF8 aLibItemName) -> UTF8
7599 return _pcbnew.LIB_ID_Format(*args)
7602 r"""IsValid(LIB_ID self) -> bool"""
7603 return _pcbnew.LIB_ID_IsValid(self)
7606 r"""IsLegacy(LIB_ID self) -> bool"""
7607 return _pcbnew.LIB_ID_IsLegacy(self)
7610 r"""clear(LIB_ID self)"""
7611 return _pcbnew.LIB_ID_clear(self)
7614 r"""empty(LIB_ID self) -> bool"""
7615 return _pcbnew.LIB_ID_empty(self)
7618 r"""compare(LIB_ID self, LIB_ID aLibId) -> int"""
7619 return _pcbnew.LIB_ID_compare(self, aLibId)
7622 r"""__lt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7623 return _pcbnew.LIB_ID___lt__(self, aLibId)
7626 r"""__gt__(LIB_ID self, LIB_ID aLibId) -> bool"""
7627 return _pcbnew.LIB_ID___gt__(self, aLibId)
7630 r"""__eq__(LIB_ID self, LIB_ID aLibId) -> bool"""
7631 return _pcbnew.LIB_ID___eq__(self, aLibId)
7634 r"""__ne__(LIB_ID self, LIB_ID aLibId) -> bool"""
7635 return _pcbnew.LIB_ID___ne__(self, aLibId)
7639 r"""HasIllegalChars(UTF8 aLibItemName) -> int"""
7640 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
7644 r"""FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
7645 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
7649 r"""FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
7650 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
7651 __swig_destroy__ = _pcbnew.delete_LIB_ID
7654_pcbnew.LIB_ID_swigregister(LIB_ID)
7661 return _pcbnew.LIB_ID_Format(*args)
7664 r"""LIB_ID_HasIllegalChars(UTF8 aLibItemName) -> int"""
7665 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
7668 r"""LIB_ID_FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
7669 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
7672 r"""LIB_ID_FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
7673 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
7676 r"""Proxy of C++ BASE_SET class."""
7678 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7681 raise AttributeError(
"No constructor defined")
7682 __repr__ = _swig_repr
7683 __swig_destroy__ = _pcbnew.delete_BASE_SET
7686_pcbnew.BASE_SET_swigregister(BASE_SET)
7689 r"""Proxy of C++ IO_MGR class."""
7691 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7692 __repr__ = _swig_repr
7693 LEGACY = _pcbnew.IO_MGR_LEGACY
7695 KICAD_SEXP = _pcbnew.IO_MGR_KICAD_SEXP
7697 EAGLE = _pcbnew.IO_MGR_EAGLE
7699 PCAD = _pcbnew.IO_MGR_PCAD
7701 FABMASTER = _pcbnew.IO_MGR_FABMASTER
7703 ALTIUM_DESIGNER = _pcbnew.IO_MGR_ALTIUM_DESIGNER
7705 ALTIUM_CIRCUIT_STUDIO = _pcbnew.IO_MGR_ALTIUM_CIRCUIT_STUDIO
7707 ALTIUM_CIRCUIT_MAKER = _pcbnew.IO_MGR_ALTIUM_CIRCUIT_MAKER
7709 CADSTAR_PCB_ARCHIVE = _pcbnew.IO_MGR_CADSTAR_PCB_ARCHIVE
7711 GEDA_PCB = _pcbnew.IO_MGR_GEDA_PCB
7713 FILE_TYPE_NONE = _pcbnew.IO_MGR_FILE_TYPE_NONE
7718 r"""PluginFind(IO_MGR::PCB_FILE_T aFileType) -> PLUGIN"""
7719 return _pcbnew.IO_MGR_PluginFind(aFileType)
7723 r"""PluginRelease(PLUGIN aPlugin)"""
7724 return _pcbnew.IO_MGR_PluginRelease(aPlugin)
7728 r"""ShowType(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
7729 return _pcbnew.IO_MGR_ShowType(aFileType)
7733 r"""EnumFromStr(wxString aFileType) -> IO_MGR::PCB_FILE_T"""
7734 return _pcbnew.IO_MGR_EnumFromStr(aFileType)
7738 r"""GetFileExtension(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
7739 return _pcbnew.IO_MGR_GetFileExtension(aFileType)
7743 r"""GuessPluginTypeFromLibPath(wxString aLibPath) -> IO_MGR::PCB_FILE_T"""
7744 return _pcbnew.IO_MGR_GuessPluginTypeFromLibPath(aLibPath)
7747 def Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None):
7748 r"""Load(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"""
7749 return _pcbnew.IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
7752 def Save(aFileType, aFileName, aBoard, aProperties=None):
7753 r"""Save(IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
7754 return _pcbnew.IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
7757 r"""__init__(IO_MGR self) -> IO_MGR"""
7758 _pcbnew.IO_MGR_swiginit(self, _pcbnew.new_IO_MGR())
7759 __swig_destroy__ = _pcbnew.delete_IO_MGR
7762_pcbnew.IO_MGR_swigregister(IO_MGR)
7765 r"""IO_MGR_PluginFind(IO_MGR::PCB_FILE_T aFileType) -> PLUGIN"""
7766 return _pcbnew.IO_MGR_PluginFind(aFileType)
7769 r"""IO_MGR_PluginRelease(PLUGIN aPlugin)"""
7770 return _pcbnew.IO_MGR_PluginRelease(aPlugin)
7773 r"""IO_MGR_ShowType(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
7774 return _pcbnew.IO_MGR_ShowType(aFileType)
7777 r"""IO_MGR_EnumFromStr(wxString aFileType) -> IO_MGR::PCB_FILE_T"""
7778 return _pcbnew.IO_MGR_EnumFromStr(aFileType)
7781 r"""IO_MGR_GetFileExtension(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
7782 return _pcbnew.IO_MGR_GetFileExtension(aFileType)
7785 r"""IO_MGR_GuessPluginTypeFromLibPath(wxString aLibPath) -> IO_MGR::PCB_FILE_T"""
7786 return _pcbnew.IO_MGR_GuessPluginTypeFromLibPath(aLibPath)
7788def IO_MGR_Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None):
7789 r"""IO_MGR_Load(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"""
7790 return _pcbnew.IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
7793 r"""IO_MGR_Save(IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
7794 return _pcbnew.IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
7797 r"""Proxy of C++ PLUGIN class."""
7799 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7802 raise AttributeError(
"No constructor defined - class is abstract")
7803 __repr__ = _swig_repr
7806 r"""PluginName(PLUGIN self) -> wxString"""
7807 return _pcbnew.PLUGIN_PluginName(self)
7810 r"""GetFileExtension(PLUGIN self) -> wxString"""
7811 return _pcbnew.PLUGIN_GetFileExtension(self)
7814 r"""SetQueryUserCallback(PLUGIN self, std::function< bool (wxString,int,wxString,wxString) > aCallback)"""
7815 return _pcbnew.PLUGIN_SetQueryUserCallback(self, aCallback)
7817 def Load(self, aFileName, aAppendToMe, aProperties=None, aProject=None, aProgressReporter=None):
7818 r"""Load(PLUGIN self, wxString aFileName, BOARD aAppendToMe, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
7819 return _pcbnew.PLUGIN_Load(self, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
7822 r"""GetImportedCachedLibraryFootprints(PLUGIN self) -> std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >"""
7823 return _pcbnew.PLUGIN_GetImportedCachedLibraryFootprints(self)
7825 def Save(self, aFileName, aBoard, aProperties=None):
7826 r"""Save(PLUGIN self, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
7827 return _pcbnew.PLUGIN_Save(self, aFileName, aBoard, aProperties)
7830 r"""FootprintEnumerate(PLUGIN self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, STRING_UTF8_MAP const * aProperties=None)"""
7831 return _pcbnew.PLUGIN_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
7834 r"""GetLibraryTimestamp(PLUGIN self, wxString aLibraryPath) -> long long"""
7835 return _pcbnew.PLUGIN_GetLibraryTimestamp(self, aLibraryPath)
7838 r"""PrefetchLib(PLUGIN self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None)"""
7839 return _pcbnew.PLUGIN_PrefetchLib(self, aLibraryPath, aProperties)
7841 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
7842 r"""FootprintLoad(PLUGIN self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
7843 return _pcbnew.PLUGIN_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
7846 r"""GetEnumeratedFootprint(PLUGIN self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
7847 return _pcbnew.PLUGIN_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
7850 r"""FootprintExists(PLUGIN self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> bool"""
7851 return _pcbnew.PLUGIN_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
7854 r"""FootprintSave(PLUGIN self, wxString aLibraryPath, FOOTPRINT aFootprint, STRING_UTF8_MAP const * aProperties=None)"""
7855 return _pcbnew.PLUGIN_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
7858 r"""FootprintDelete(PLUGIN self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None)"""
7859 return _pcbnew.PLUGIN_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
7862 r"""FootprintLibCreate(PLUGIN self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None)"""
7863 return _pcbnew.PLUGIN_FootprintLibCreate(self, aLibraryPath, aProperties)
7866 r"""FootprintLibDelete(PLUGIN self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None) -> bool"""
7867 return _pcbnew.PLUGIN_FootprintLibDelete(self, aLibraryPath, aProperties)
7870 r"""IsFootprintLibWritable(PLUGIN self, wxString aLibraryPath) -> bool"""
7871 return _pcbnew.PLUGIN_IsFootprintLibWritable(self, aLibraryPath)
7874 r"""FootprintLibOptions(PLUGIN self, STRING_UTF8_MAP * aListToAppendTo)"""
7875 return _pcbnew.PLUGIN_FootprintLibOptions(self, aListToAppendTo)
7876 __swig_destroy__ = _pcbnew.delete_PLUGIN
7879 r"""footprintPyEnumerate(PLUGIN self, wxString aLibraryPath, bool aExitOnError) -> wxArrayString"""
7880 return _pcbnew.PLUGIN_footprintPyEnumerate(self, aLibraryPath, aExitOnError)
7887_pcbnew.PLUGIN_swigregister(PLUGIN)
7889SEXPR_BOARD_FILE_VERSION = _pcbnew.SEXPR_BOARD_FILE_VERSION
7891BOARD_FILE_HOST_VERSION = _pcbnew.BOARD_FILE_HOST_VERSION
7893LEGACY_ARC_FORMATTING = _pcbnew.LEGACY_ARC_FORMATTING
7895LEGACY_NET_TIES = _pcbnew.LEGACY_NET_TIES
7897CTL_OMIT_PAD_NETS = _pcbnew.CTL_OMIT_PAD_NETS
7899CTL_OMIT_TSTAMPS = _pcbnew.CTL_OMIT_TSTAMPS
7901CTL_OMIT_INITIAL_COMMENTS = _pcbnew.CTL_OMIT_INITIAL_COMMENTS
7903CTL_OMIT_PATH = _pcbnew.CTL_OMIT_PATH
7905CTL_OMIT_AT = _pcbnew.CTL_OMIT_AT
7907CTL_OMIT_LIBNAME = _pcbnew.CTL_OMIT_LIBNAME
7909CTL_OMIT_FOOTPRINT_VERSION = _pcbnew.CTL_OMIT_FOOTPRINT_VERSION
7911CTL_FOR_CLIPBOARD = _pcbnew.CTL_FOR_CLIPBOARD
7913CTL_FOR_LIBRARY = _pcbnew.CTL_FOR_LIBRARY
7915CTL_FOR_BOARD = _pcbnew.CTL_FOR_BOARD
7918 r"""Proxy of C++ FP_CACHE_ITEM class."""
7920 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7921 __repr__ = _swig_repr
7924 r"""__init__(FP_CACHE_ITEM self, FOOTPRINT aFootprint, WX_FILENAME const & aFileName) -> FP_CACHE_ITEM"""
7925 _pcbnew.FP_CACHE_ITEM_swiginit(self, _pcbnew.new_FP_CACHE_ITEM(aFootprint, aFileName))
7928 r"""GetFileName(FP_CACHE_ITEM self) -> WX_FILENAME const &"""
7929 return _pcbnew.FP_CACHE_ITEM_GetFileName(self)
7932 r"""SetFilePath(FP_CACHE_ITEM self, wxString aFilePath)"""
7933 return _pcbnew.FP_CACHE_ITEM_SetFilePath(self, aFilePath)
7936 r"""GetFootprint(FP_CACHE_ITEM self) -> FOOTPRINT"""
7937 return _pcbnew.FP_CACHE_ITEM_GetFootprint(self)
7938 __swig_destroy__ = _pcbnew.delete_FP_CACHE_ITEM
7941_pcbnew.FP_CACHE_ITEM_swigregister(FP_CACHE_ITEM)
7944 r"""Proxy of C++ FP_CACHE class."""
7946 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7947 __repr__ = _swig_repr
7950 r"""__init__(FP_CACHE self, PCB_PLUGIN aOwner, wxString aLibraryPath) -> FP_CACHE"""
7951 _pcbnew.FP_CACHE_swiginit(self, _pcbnew.new_FP_CACHE(aOwner, aLibraryPath))
7954 r"""GetPath(FP_CACHE self) -> wxString"""
7955 return _pcbnew.FP_CACHE_GetPath(self)
7958 r"""IsWritable(FP_CACHE self) -> bool"""
7959 return _pcbnew.FP_CACHE_IsWritable(self)
7962 r"""Exists(FP_CACHE self) -> bool"""
7963 return _pcbnew.FP_CACHE_Exists(self)
7966 r"""GetFootprints(FP_CACHE self) -> FP_CACHE_FOOTPRINT_MAP &"""
7967 return _pcbnew.FP_CACHE_GetFootprints(self)
7970 r"""Save(FP_CACHE self, FOOTPRINT aFootprint=None)"""
7971 return _pcbnew.FP_CACHE_Save(self, aFootprint)
7974 r"""Load(FP_CACHE self)"""
7975 return _pcbnew.FP_CACHE_Load(self)
7978 r"""Remove(FP_CACHE self, wxString aFootprintName)"""
7979 return _pcbnew.FP_CACHE_Remove(self, aFootprintName)
7983 r"""GetTimestamp(wxString aLibPath) -> long long"""
7984 return _pcbnew.FP_CACHE_GetTimestamp(aLibPath)
7987 r"""IsModified(FP_CACHE self) -> bool"""
7988 return _pcbnew.FP_CACHE_IsModified(self)
7991 r"""IsPath(FP_CACHE self, wxString aPath) -> bool"""
7992 return _pcbnew.FP_CACHE_IsPath(self, aPath)
7995 r"""SetPath(FP_CACHE self, wxString aPath)"""
7996 return _pcbnew.FP_CACHE_SetPath(self, aPath)
7997 __swig_destroy__ = _pcbnew.delete_FP_CACHE
8000_pcbnew.FP_CACHE_swigregister(FP_CACHE)
8003 r"""FP_CACHE_GetTimestamp(wxString aLibPath) -> long long"""
8004 return _pcbnew.FP_CACHE_GetTimestamp(aLibPath)
8007 r"""Proxy of C++ PCB_PLUGIN class."""
8009 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8010 __repr__ = _swig_repr
8012 def Save(self, aFileName, aBoard, aProperties=None):
8013 r"""Save(PCB_PLUGIN self, wxString aFileName, BOARD aBoard, STRING_UTF8_MAP const * aProperties=None)"""
8014 return _pcbnew.PCB_PLUGIN_Save(self, aFileName, aBoard, aProperties)
8016 def Load(self, aFileName, aAppendToMe, aProperties=None, aProject=None, aProgressReporter=None):
8017 r"""Load(PCB_PLUGIN self, wxString aFileName, BOARD aAppendToMe, STRING_UTF8_MAP const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
8018 return _pcbnew.PCB_PLUGIN_Load(self, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
8020 def DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount):
8021 r"""DoLoad(PCB_PLUGIN self, LINE_READER aReader, BOARD aAppendToMe, STRING_UTF8_MAP const * aProperties, PROGRESS_REPORTER * aProgressReporter, unsigned int aLineCount) -> BOARD"""
8022 return _pcbnew.PCB_PLUGIN_DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount)
8025 r"""FootprintEnumerate(PCB_PLUGIN self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, STRING_UTF8_MAP const * aProperties=None)"""
8026 return _pcbnew.PCB_PLUGIN_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
8029 r"""GetEnumeratedFootprint(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8030 return _pcbnew.PCB_PLUGIN_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
8033 r"""FootprintExists(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None) -> bool"""
8034 return _pcbnew.PCB_PLUGIN_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
8036 def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None):
8037 r"""FootprintLoad(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, STRING_UTF8_MAP const * aProperties=None) -> FOOTPRINT"""
8038 return _pcbnew.PCB_PLUGIN_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
8041 r"""FootprintSave(PCB_PLUGIN self, wxString aLibraryPath, FOOTPRINT aFootprint, STRING_UTF8_MAP const * aProperties=None)"""
8042 return _pcbnew.PCB_PLUGIN_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
8045 r"""FootprintDelete(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, STRING_UTF8_MAP const * aProperties=None)"""
8046 return _pcbnew.PCB_PLUGIN_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
8049 r"""FootprintLibCreate(PCB_PLUGIN self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None)"""
8050 return _pcbnew.PCB_PLUGIN_FootprintLibCreate(self, aLibraryPath, aProperties)
8053 r"""FootprintLibDelete(PCB_PLUGIN self, wxString aLibraryPath, STRING_UTF8_MAP const * aProperties=None) -> bool"""
8054 return _pcbnew.PCB_PLUGIN_FootprintLibDelete(self, aLibraryPath, aProperties)
8057 r"""__init__(PCB_PLUGIN self, int aControlFlags=((1 << 3)|(1 << 8))) -> PCB_PLUGIN"""
8058 _pcbnew.PCB_PLUGIN_swiginit(self, _pcbnew.new_PCB_PLUGIN(*args))
8059 __swig_destroy__ = _pcbnew.delete_PCB_PLUGIN
8062 r"""Format(PCB_PLUGIN self, BOARD_ITEM aItem, int aNestLevel=0)"""
8063 return _pcbnew.PCB_PLUGIN_Format(self, aItem, aNestLevel)
8066 r"""GetStringOutput(PCB_PLUGIN self, bool doClear) -> string"""
8067 return _pcbnew.PCB_PLUGIN_GetStringOutput(self, doClear)
8070 r"""SetOutputFormatter(PCB_PLUGIN self, OUTPUTFORMATTER aFormatter)"""
8071 return _pcbnew.PCB_PLUGIN_SetOutputFormatter(self, aFormatter)
8074 r"""Parse(PCB_PLUGIN self, wxString aClipboardSourceInput) -> BOARD_ITEM"""
8075 return _pcbnew.PCB_PLUGIN_Parse(self, aClipboardSourceInput)
8078_pcbnew.PCB_PLUGIN_swigregister(PCB_PLUGIN)
8081 r"""Proxy of C++ PLOT_CONTROLLER class."""
8083 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8084 __repr__ = _swig_repr
8087 r"""__init__(PLOT_CONTROLLER self, BOARD aBoard) -> PLOT_CONTROLLER"""
8088 _pcbnew.PLOT_CONTROLLER_swiginit(self, _pcbnew.new_PLOT_CONTROLLER(aBoard))
8089 __swig_destroy__ = _pcbnew.delete_PLOT_CONTROLLER
8092 r"""GetPlotOptions(PLOT_CONTROLLER self) -> PCB_PLOT_PARAMS"""
8093 return _pcbnew.PLOT_CONTROLLER_GetPlotOptions(self)
8096 r"""SetLayer(PLOT_CONTROLLER self, int aLayer)"""
8097 return _pcbnew.PLOT_CONTROLLER_SetLayer(self, aLayer)
8100 r"""GetLayer(PLOT_CONTROLLER self) -> int"""
8101 return _pcbnew.PLOT_CONTROLLER_GetLayer(self)
8104 r"""IsPlotOpen(PLOT_CONTROLLER self) -> bool"""
8105 return _pcbnew.PLOT_CONTROLLER_IsPlotOpen(self)
8108 r"""ClosePlot(PLOT_CONTROLLER self)"""
8109 return _pcbnew.PLOT_CONTROLLER_ClosePlot(self)
8112 r"""OpenPlotfile(PLOT_CONTROLLER self, wxString aSuffix, PLOT_FORMAT aFormat, wxString aSheetName=wxEmptyString, wxString aSheetPath=wxEmptyString) -> bool"""
8113 return _pcbnew.PLOT_CONTROLLER_OpenPlotfile(self, *args)
8116 r"""PlotLayer(PLOT_CONTROLLER self) -> bool"""
8117 return _pcbnew.PLOT_CONTROLLER_PlotLayer(self)
8120 r"""PlotLayers(PLOT_CONTROLLER self, LSEQ aLayerSequence) -> bool"""
8121 return _pcbnew.PLOT_CONTROLLER_PlotLayers(self, aLayerSequence)
8124 r"""GetPlotFileName(PLOT_CONTROLLER self) -> wxString"""
8125 return _pcbnew.PLOT_CONTROLLER_GetPlotFileName(self)
8128 r"""GetPlotDirName(PLOT_CONTROLLER self) -> wxString"""
8129 return _pcbnew.PLOT_CONTROLLER_GetPlotDirName(self)
8132 r"""SetColorMode(PLOT_CONTROLLER self, bool aColorMode)"""
8133 return _pcbnew.PLOT_CONTROLLER_SetColorMode(self, aColorMode)
8136 r"""GetColorMode(PLOT_CONTROLLER self) -> bool"""
8137 return _pcbnew.PLOT_CONTROLLER_GetColorMode(self)
8140 r"""GetPlotter(PLOT_CONTROLLER self) -> PLOTTER"""
8141 return _pcbnew.PLOT_CONTROLLER_GetPlotter(self)
8144_pcbnew.PLOT_CONTROLLER_swigregister(PLOT_CONTROLLER)
8146DRILL_MARKS_NO_DRILL_SHAPE = _pcbnew.DRILL_MARKS_NO_DRILL_SHAPE
8148DRILL_MARKS_SMALL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_SMALL_DRILL_SHAPE
8150DRILL_MARKS_FULL_DRILL_SHAPE = _pcbnew.DRILL_MARKS_FULL_DRILL_SHAPE
8153 r"""Proxy of C++ PCB_PLOT_PARAMS class."""
8155 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8156 __repr__ = _swig_repr
8159 r"""__init__(PCB_PLOT_PARAMS self) -> PCB_PLOT_PARAMS"""
8160 _pcbnew.PCB_PLOT_PARAMS_swiginit(self, _pcbnew.new_PCB_PLOT_PARAMS())
8163 r"""SetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self, bool aSkip)"""
8164 return _pcbnew.PCB_PLOT_PARAMS_SetSkipPlotNPTH_Pads(self, aSkip)
8167 r"""GetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self) -> bool"""
8168 return _pcbnew.PCB_PLOT_PARAMS_GetSkipPlotNPTH_Pads(self)
8170 def Format(self, aFormatter, aNestLevel, aControl=0):
8171 r"""Format(PCB_PLOT_PARAMS self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControl=0)"""
8172 return _pcbnew.PCB_PLOT_PARAMS_Format(self, aFormatter, aNestLevel, aControl)
8175 r"""Parse(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS_PARSER * aParser)"""
8176 return _pcbnew.PCB_PLOT_PARAMS_Parse(self, aParser)
8179 r"""IsSameAs(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS aPcbPlotParams) -> bool"""
8180 return _pcbnew.PCB_PLOT_PARAMS_IsSameAs(self, aPcbPlotParams)
8183 r"""SetColorSettings(PCB_PLOT_PARAMS self, COLOR_SETTINGS * aSettings)"""
8184 return _pcbnew.PCB_PLOT_PARAMS_SetColorSettings(self, aSettings)
8187 r"""ColorSettings(PCB_PLOT_PARAMS self) -> COLOR_SETTINGS *"""
8188 return _pcbnew.PCB_PLOT_PARAMS_ColorSettings(self)
8191 r"""SetTextMode(PCB_PLOT_PARAMS self, PLOT_TEXT_MODE aVal)"""
8192 return _pcbnew.PCB_PLOT_PARAMS_SetTextMode(self, aVal)
8195 r"""GetTextMode(PCB_PLOT_PARAMS self) -> PLOT_TEXT_MODE"""
8196 return _pcbnew.PCB_PLOT_PARAMS_GetTextMode(self)
8199 r"""SetPlotMode(PCB_PLOT_PARAMS self, OUTLINE_MODE aPlotMode)"""
8200 return _pcbnew.PCB_PLOT_PARAMS_SetPlotMode(self, aPlotMode)
8203 r"""GetPlotMode(PCB_PLOT_PARAMS self) -> OUTLINE_MODE"""
8204 return _pcbnew.PCB_PLOT_PARAMS_GetPlotMode(self)
8207 r"""SetDXFPlotPolygonMode(PCB_PLOT_PARAMS self, bool aFlag)"""
8208 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotPolygonMode(self, aFlag)
8211 r"""GetDXFPlotPolygonMode(PCB_PLOT_PARAMS self) -> bool"""
8212 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotPolygonMode(self)
8215 r"""SetDXFPlotUnits(PCB_PLOT_PARAMS self, DXF_UNITS aUnit)"""
8216 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotUnits(self, aUnit)
8219 r"""GetDXFPlotUnits(PCB_PLOT_PARAMS self) -> DXF_UNITS"""
8220 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotUnits(self)
8223 r"""SetDrillMarksType(PCB_PLOT_PARAMS self, DRILL_MARKS aVal)"""
8224 return _pcbnew.PCB_PLOT_PARAMS_SetDrillMarksType(self, aVal)
8227 r"""GetDrillMarksType(PCB_PLOT_PARAMS self) -> DRILL_MARKS"""
8228 return _pcbnew.PCB_PLOT_PARAMS_GetDrillMarksType(self)
8231 r"""SetScale(PCB_PLOT_PARAMS self, double aVal)"""
8232 return _pcbnew.PCB_PLOT_PARAMS_SetScale(self, aVal)
8235 r"""GetScale(PCB_PLOT_PARAMS self) -> double"""
8236 return _pcbnew.PCB_PLOT_PARAMS_GetScale(self)
8239 r"""SetFineScaleAdjustX(PCB_PLOT_PARAMS self, double aVal)"""
8240 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustX(self, aVal)
8243 r"""GetFineScaleAdjustX(PCB_PLOT_PARAMS self) -> double"""
8244 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustX(self)
8247 r"""SetFineScaleAdjustY(PCB_PLOT_PARAMS self, double aVal)"""
8248 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustY(self, aVal)
8251 r"""GetFineScaleAdjustY(PCB_PLOT_PARAMS self) -> double"""
8252 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustY(self)
8255 r"""SetWidthAdjust(PCB_PLOT_PARAMS self, int aVal)"""
8256 return _pcbnew.PCB_PLOT_PARAMS_SetWidthAdjust(self, aVal)
8259 r"""GetWidthAdjust(PCB_PLOT_PARAMS self) -> int"""
8260 return _pcbnew.PCB_PLOT_PARAMS_GetWidthAdjust(self)
8263 r"""SetAutoScale(PCB_PLOT_PARAMS self, bool aFlag)"""
8264 return _pcbnew.PCB_PLOT_PARAMS_SetAutoScale(self, aFlag)
8267 r"""GetAutoScale(PCB_PLOT_PARAMS self) -> bool"""
8268 return _pcbnew.PCB_PLOT_PARAMS_GetAutoScale(self)
8271 r"""SetMirror(PCB_PLOT_PARAMS self, bool aFlag)"""
8272 return _pcbnew.PCB_PLOT_PARAMS_SetMirror(self, aFlag)
8275 r"""GetMirror(PCB_PLOT_PARAMS self) -> bool"""
8276 return _pcbnew.PCB_PLOT_PARAMS_GetMirror(self)
8279 r"""SetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
8280 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadsOnFabLayers(self, aFlag)
8283 r"""GetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
8284 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadsOnFabLayers(self)
8287 r"""SetSketchPadLineWidth(PCB_PLOT_PARAMS self, int aWidth)"""
8288 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadLineWidth(self, aWidth)
8291 r"""GetSketchPadLineWidth(PCB_PLOT_PARAMS self) -> int"""
8292 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadLineWidth(self)
8295 r"""SetPlotInvisibleText(PCB_PLOT_PARAMS self, bool aFlag)"""
8296 return _pcbnew.PCB_PLOT_PARAMS_SetPlotInvisibleText(self, aFlag)
8299 r"""GetPlotInvisibleText(PCB_PLOT_PARAMS self) -> bool"""
8300 return _pcbnew.PCB_PLOT_PARAMS_GetPlotInvisibleText(self)
8303 r"""SetPlotValue(PCB_PLOT_PARAMS self, bool aFlag)"""
8304 return _pcbnew.PCB_PLOT_PARAMS_SetPlotValue(self, aFlag)
8307 r"""GetPlotValue(PCB_PLOT_PARAMS self) -> bool"""
8308 return _pcbnew.PCB_PLOT_PARAMS_GetPlotValue(self)
8311 r"""SetPlotReference(PCB_PLOT_PARAMS self, bool aFlag)"""
8312 return _pcbnew.PCB_PLOT_PARAMS_SetPlotReference(self, aFlag)
8315 r"""GetPlotReference(PCB_PLOT_PARAMS self) -> bool"""
8316 return _pcbnew.PCB_PLOT_PARAMS_GetPlotReference(self)
8319 r"""SetNegative(PCB_PLOT_PARAMS self, bool aFlag)"""
8320 return _pcbnew.PCB_PLOT_PARAMS_SetNegative(self, aFlag)
8323 r"""GetNegative(PCB_PLOT_PARAMS self) -> bool"""
8324 return _pcbnew.PCB_PLOT_PARAMS_GetNegative(self)
8327 r"""SetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self, bool aFlag)"""
8328 return _pcbnew.PCB_PLOT_PARAMS_SetPlotViaOnMaskLayer(self, aFlag)
8331 r"""GetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self) -> bool"""
8332 return _pcbnew.PCB_PLOT_PARAMS_GetPlotViaOnMaskLayer(self)
8335 r"""SetPlotFrameRef(PCB_PLOT_PARAMS self, bool aFlag)"""
8336 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFrameRef(self, aFlag)
8339 r"""GetPlotFrameRef(PCB_PLOT_PARAMS self) -> bool"""
8340 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFrameRef(self)
8343 r"""SetFormat(PCB_PLOT_PARAMS self, PLOT_FORMAT aFormat)"""
8344 return _pcbnew.PCB_PLOT_PARAMS_SetFormat(self, aFormat)
8347 r"""GetFormat(PCB_PLOT_PARAMS self) -> PLOT_FORMAT"""
8348 return _pcbnew.PCB_PLOT_PARAMS_GetFormat(self)
8351 r"""SetOutputDirectory(PCB_PLOT_PARAMS self, wxString aDir)"""
8352 return _pcbnew.PCB_PLOT_PARAMS_SetOutputDirectory(self, aDir)
8355 r"""GetOutputDirectory(PCB_PLOT_PARAMS self) -> wxString"""
8356 return _pcbnew.PCB_PLOT_PARAMS_GetOutputDirectory(self)
8359 r"""SetDisableGerberMacros(PCB_PLOT_PARAMS self, bool aDisable)"""
8360 return _pcbnew.PCB_PLOT_PARAMS_SetDisableGerberMacros(self, aDisable)
8363 r"""GetDisableGerberMacros(PCB_PLOT_PARAMS self) -> bool"""
8364 return _pcbnew.PCB_PLOT_PARAMS_GetDisableGerberMacros(self)
8367 r"""SetUseGerberX2format(PCB_PLOT_PARAMS self, bool aUse)"""
8368 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberX2format(self, aUse)
8371 r"""GetUseGerberX2format(PCB_PLOT_PARAMS self) -> bool"""
8372 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberX2format(self)
8375 r"""SetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self, bool aUse)"""
8376 return _pcbnew.PCB_PLOT_PARAMS_SetIncludeGerberNetlistInfo(self, aUse)
8379 r"""GetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self) -> bool"""
8380 return _pcbnew.PCB_PLOT_PARAMS_GetIncludeGerberNetlistInfo(self)
8383 r"""SetCreateGerberJobFile(PCB_PLOT_PARAMS self, bool aCreate)"""
8384 return _pcbnew.PCB_PLOT_PARAMS_SetCreateGerberJobFile(self, aCreate)
8387 r"""GetCreateGerberJobFile(PCB_PLOT_PARAMS self) -> bool"""
8388 return _pcbnew.PCB_PLOT_PARAMS_GetCreateGerberJobFile(self)
8391 r"""SetUseGerberProtelExtensions(PCB_PLOT_PARAMS self, bool aUse)"""
8392 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberProtelExtensions(self, aUse)
8395 r"""GetUseGerberProtelExtensions(PCB_PLOT_PARAMS self) -> bool"""
8396 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberProtelExtensions(self)
8399 r"""SetGerberPrecision(PCB_PLOT_PARAMS self, int aPrecision)"""
8400 return _pcbnew.PCB_PLOT_PARAMS_SetGerberPrecision(self, aPrecision)
8403 r"""GetGerberPrecision(PCB_PLOT_PARAMS self) -> int"""
8404 return _pcbnew.PCB_PLOT_PARAMS_GetGerberPrecision(self)
8407 r"""SetSvgPrecision(PCB_PLOT_PARAMS self, unsigned int aPrecision)"""
8408 return _pcbnew.PCB_PLOT_PARAMS_SetSvgPrecision(self, aPrecision)
8411 r"""GetSvgPrecision(PCB_PLOT_PARAMS self) -> unsigned int"""
8412 return _pcbnew.PCB_PLOT_PARAMS_GetSvgPrecision(self)
8415 r"""SetBlackAndWhite(PCB_PLOT_PARAMS self, bool blackAndWhite)"""
8416 return _pcbnew.PCB_PLOT_PARAMS_SetBlackAndWhite(self, blackAndWhite)
8419 r"""GetBlackAndWhite(PCB_PLOT_PARAMS self) -> unsigned int"""
8420 return _pcbnew.PCB_PLOT_PARAMS_GetBlackAndWhite(self)
8424 r"""GetGerberDefaultPrecision() -> int"""
8425 return _pcbnew.PCB_PLOT_PARAMS_GetGerberDefaultPrecision()
8428 r"""SetSubtractMaskFromSilk(PCB_PLOT_PARAMS self, bool aSubtract)"""
8429 return _pcbnew.PCB_PLOT_PARAMS_SetSubtractMaskFromSilk(self, aSubtract)
8432 r"""GetSubtractMaskFromSilk(PCB_PLOT_PARAMS self) -> bool"""
8433 return _pcbnew.PCB_PLOT_PARAMS_GetSubtractMaskFromSilk(self)
8436 r"""SetLayerSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
8437 return _pcbnew.PCB_PLOT_PARAMS_SetLayerSelection(self, aSelection)
8440 r"""GetLayerSelection(PCB_PLOT_PARAMS self) -> LSET"""
8441 return _pcbnew.PCB_PLOT_PARAMS_GetLayerSelection(self)
8444 r"""SetPlotOnAllLayersSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
8445 return _pcbnew.PCB_PLOT_PARAMS_SetPlotOnAllLayersSelection(self, aSelection)
8448 r"""GetPlotOnAllLayersSelection(PCB_PLOT_PARAMS self) -> LSET"""
8449 return _pcbnew.PCB_PLOT_PARAMS_GetPlotOnAllLayersSelection(self)
8452 r"""SetUseAuxOrigin(PCB_PLOT_PARAMS self, bool aAux)"""
8453 return _pcbnew.PCB_PLOT_PARAMS_SetUseAuxOrigin(self, aAux)
8456 r"""GetUseAuxOrigin(PCB_PLOT_PARAMS self) -> bool"""
8457 return _pcbnew.PCB_PLOT_PARAMS_GetUseAuxOrigin(self)
8460 r"""SetScaleSelection(PCB_PLOT_PARAMS self, int aSelection)"""
8461 return _pcbnew.PCB_PLOT_PARAMS_SetScaleSelection(self, aSelection)
8464 r"""GetScaleSelection(PCB_PLOT_PARAMS self) -> int"""
8465 return _pcbnew.PCB_PLOT_PARAMS_GetScaleSelection(self)
8468 r"""SetA4Output(PCB_PLOT_PARAMS self, int aForce)"""
8469 return _pcbnew.PCB_PLOT_PARAMS_SetA4Output(self, aForce)
8472 r"""GetA4Output(PCB_PLOT_PARAMS self) -> bool"""
8473 return _pcbnew.PCB_PLOT_PARAMS_GetA4Output(self)
8476 r"""GetHPGLPenDiameter(PCB_PLOT_PARAMS self) -> double"""
8477 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenDiameter(self)
8480 r"""SetHPGLPenDiameter(PCB_PLOT_PARAMS self, double aValue) -> bool"""
8481 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenDiameter(self, aValue)
8484 r"""GetHPGLPenSpeed(PCB_PLOT_PARAMS self) -> int"""
8485 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenSpeed(self)
8488 r"""SetHPGLPenSpeed(PCB_PLOT_PARAMS self, int aValue) -> bool"""
8489 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenSpeed(self, aValue)
8492 r"""SetHPGLPenNum(PCB_PLOT_PARAMS self, int aVal)"""
8493 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenNum(self, aVal)
8496 r"""GetHPGLPenNum(PCB_PLOT_PARAMS self) -> int"""
8497 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenNum(self)
8500 r"""SetDashedLineDashRatio(PCB_PLOT_PARAMS self, double aVal)"""
8501 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineDashRatio(self, aVal)
8504 r"""GetDashedLineDashRatio(PCB_PLOT_PARAMS self) -> double"""
8505 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineDashRatio(self)
8508 r"""SetDashedLineGapRatio(PCB_PLOT_PARAMS self, double aVal)"""
8509 return _pcbnew.PCB_PLOT_PARAMS_SetDashedLineGapRatio(self, aVal)
8512 r"""GetDashedLineGapRatio(PCB_PLOT_PARAMS self) -> double"""
8513 return _pcbnew.PCB_PLOT_PARAMS_GetDashedLineGapRatio(self)
8520 __swig_destroy__ = _pcbnew.delete_PCB_PLOT_PARAMS
8523_pcbnew.PCB_PLOT_PARAMS_swigregister(PCB_PLOT_PARAMS)
8526 r"""PCB_PLOT_PARAMS_GetGerberDefaultPrecision() -> int"""
8527 return _pcbnew.PCB_PLOT_PARAMS_GetGerberDefaultPrecision()
8529DXF_UNITS_INCHES = _pcbnew.DXF_UNITS_INCHES
8531DXF_UNITS_MILLIMETERS = _pcbnew.DXF_UNITS_MILLIMETERS
8533PLOT_FORMAT_UNDEFINED = _pcbnew.PLOT_FORMAT_UNDEFINED
8535PLOT_FORMAT_FIRST_FORMAT = _pcbnew.PLOT_FORMAT_FIRST_FORMAT
8537PLOT_FORMAT_HPGL = _pcbnew.PLOT_FORMAT_HPGL
8539PLOT_FORMAT_GERBER = _pcbnew.PLOT_FORMAT_GERBER
8541PLOT_FORMAT_POST = _pcbnew.PLOT_FORMAT_POST
8543PLOT_FORMAT_DXF = _pcbnew.PLOT_FORMAT_DXF
8545PLOT_FORMAT_PDF = _pcbnew.PLOT_FORMAT_PDF
8547PLOT_FORMAT_SVG = _pcbnew.PLOT_FORMAT_SVG
8549PLOT_FORMAT_LAST_FORMAT = _pcbnew.PLOT_FORMAT_LAST_FORMAT
8551PLOT_TEXT_MODE_STROKE = _pcbnew.PLOT_TEXT_MODE_STROKE
8553PLOT_TEXT_MODE_NATIVE = _pcbnew.PLOT_TEXT_MODE_NATIVE
8555PLOT_TEXT_MODE_PHANTOM = _pcbnew.PLOT_TEXT_MODE_PHANTOM
8557PLOT_TEXT_MODE_DEFAULT = _pcbnew.PLOT_TEXT_MODE_DEFAULT
8560 r"""Proxy of C++ PLOTTER class."""
8562 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8565 raise AttributeError(
"No constructor defined - class is abstract")
8566 __repr__ = _swig_repr
8567 DO_NOT_SET_LINE_WIDTH = _pcbnew.PLOTTER_DO_NOT_SET_LINE_WIDTH
8569 USE_DEFAULT_LINE_WIDTH = _pcbnew.PLOTTER_USE_DEFAULT_LINE_WIDTH
8571 __swig_destroy__ = _pcbnew.delete_PLOTTER
8574 r"""GetPlotterType(PLOTTER self) -> PLOT_FORMAT"""
8575 return _pcbnew.PLOTTER_GetPlotterType(self)
8578 r"""StartPlot(PLOTTER self, wxString aPageNumber) -> bool"""
8579 return _pcbnew.PLOTTER_StartPlot(self, aPageNumber)
8582 r"""EndPlot(PLOTTER self) -> bool"""
8583 return _pcbnew.PLOTTER_EndPlot(self)
8586 r"""SetNegative(PLOTTER self, bool aNegative)"""
8587 return _pcbnew.PLOTTER_SetNegative(self, aNegative)
8590 r"""SetColorMode(PLOTTER self, bool aColorMode)"""
8591 return _pcbnew.PLOTTER_SetColorMode(self, aColorMode)
8594 r"""GetColorMode(PLOTTER self) -> bool"""
8595 return _pcbnew.PLOTTER_GetColorMode(self)
8598 r"""SetRenderSettings(PLOTTER self, RENDER_SETTINGS * aSettings)"""
8599 return _pcbnew.PLOTTER_SetRenderSettings(self, aSettings)
8602 r"""RenderSettings(PLOTTER self) -> RENDER_SETTINGS *"""
8603 return _pcbnew.PLOTTER_RenderSettings(self)
8606 r"""SetPageSettings(PLOTTER self, PAGE_INFO const & aPageSettings)"""
8607 return _pcbnew.PLOTTER_SetPageSettings(self, aPageSettings)
8610 r"""PageSettings(PLOTTER self) -> PAGE_INFO &"""
8611 return _pcbnew.PLOTTER_PageSettings(self)
8614 r"""SetCurrentLineWidth(PLOTTER self, int width, void * aData=None)"""
8615 return _pcbnew.PLOTTER_SetCurrentLineWidth(self, width, aData)
8618 r"""GetCurrentLineWidth(PLOTTER self) -> int"""
8619 return _pcbnew.PLOTTER_GetCurrentLineWidth(self)
8622 r"""SetColor(PLOTTER self, COLOR4D color)"""
8623 return _pcbnew.PLOTTER_SetColor(self, color)
8626 r"""SetDash(PLOTTER self, int aLineWidth, PLOT_DASH_TYPE aLineStyle)"""
8627 return _pcbnew.PLOTTER_SetDash(self, aLineWidth, aLineStyle)
8630 r"""SetCreator(PLOTTER self, wxString aCreator)"""
8631 return _pcbnew.PLOTTER_SetCreator(self, aCreator)
8634 r"""SetTitle(PLOTTER self, wxString aTitle)"""
8635 return _pcbnew.PLOTTER_SetTitle(self, aTitle)
8638 r"""AddLineToHeader(PLOTTER self, wxString aExtraString)"""
8639 return _pcbnew.PLOTTER_AddLineToHeader(self, aExtraString)
8642 r"""ClearHeaderLinesList(PLOTTER self)"""
8643 return _pcbnew.PLOTTER_ClearHeaderLinesList(self)
8646 r"""SetViewport(PLOTTER self, VECTOR2I aOffset, double aIusPerDecimil, double aScale, bool aMirror)"""
8647 return _pcbnew.PLOTTER_SetViewport(self, aOffset, aIusPerDecimil, aScale, aMirror)
8650 r"""OpenFile(PLOTTER self, wxString aFullFilename) -> bool"""
8651 return _pcbnew.PLOTTER_OpenFile(self, aFullFilename)
8654 r"""GetIUsPerDecimil(PLOTTER self) -> double"""
8655 return _pcbnew.PLOTTER_GetIUsPerDecimil(self)
8658 r"""GetPlotterArcLowDef(PLOTTER self) -> int"""
8659 return _pcbnew.PLOTTER_GetPlotterArcLowDef(self)
8662 r"""GetPlotterArcHighDef(PLOTTER self) -> int"""
8663 return _pcbnew.PLOTTER_GetPlotterArcHighDef(self)
8666 r"""Rect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8667 return _pcbnew.PLOTTER_Rect(self, *args)
8670 r"""Circle(PLOTTER self, VECTOR2I pos, int diametre, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
8671 return _pcbnew.PLOTTER_Circle(self, *args)
8673 def Arc(self, aCenter, aStart, aEnd, aFill, aWidth, aMaxError):
8674 r"""Arc(PLOTTER self, VECTOR2I aCenter, VECTOR2I aStart, VECTOR2I aEnd, FILL_T aFill, int aWidth, int aMaxError)"""
8675 return _pcbnew.PLOTTER_Arc(self, aCenter, aStart, aEnd, aFill, aWidth, aMaxError)
8678 r"""BezierCurve(PLOTTER self, VECTOR2I aStart, VECTOR2I aControl1, VECTOR2I aControl2, VECTOR2I aEnd, int aTolerance, int aLineThickness=USE_DEFAULT_LINE_WIDTH)"""
8679 return _pcbnew.PLOTTER_BezierCurve(self, *args)
8682 r"""PenTo(PLOTTER self, VECTOR2I pos, char plume)"""
8683 return _pcbnew.PLOTTER_PenTo(self, pos, plume)
8686 r"""MoveTo(PLOTTER self, VECTOR2I pos)"""
8687 return _pcbnew.PLOTTER_MoveTo(self, pos)
8690 r"""LineTo(PLOTTER self, VECTOR2I pos)"""
8691 return _pcbnew.PLOTTER_LineTo(self, pos)
8694 r"""FinishTo(PLOTTER self, VECTOR2I pos)"""
8695 return _pcbnew.PLOTTER_FinishTo(self, pos)
8698 r"""PenFinish(PLOTTER self)"""
8699 return _pcbnew.PLOTTER_PenFinish(self)
8703 PlotPoly(PLOTTER self, VECTOR_VECTOR2I aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=None)
8704 PlotPoly(PLOTTER self, SHAPE_LINE_CHAIN aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=
None)
8706 return _pcbnew.PLOTTER_PlotPoly(self, *args)
8709 r"""PlotImage(PLOTTER self, wxImage const & aImage, VECTOR2I aPos, double aScaleFactor)"""
8710 return _pcbnew.PLOTTER_PlotImage(self, aImage, aPos, aScaleFactor)
8713 r"""ThickSegment(PLOTTER self, VECTOR2I start, VECTOR2I end, int width, OUTLINE_MODE tracemode, void * aData)"""
8714 return _pcbnew.PLOTTER_ThickSegment(self, start, end, width, tracemode, aData)
8718 ThickArc(PLOTTER self, VECTOR2I aCentre, VECTOR2I aStart, VECTOR2I aEnd, int aWidth, OUTLINE_MODE aTraceMode, void * aData)
8719 ThickArc(PLOTTER self, EDA_SHAPE aArcShape, OUTLINE_MODE aTraceMode, void * aData)
8721 return _pcbnew.PLOTTER_ThickArc(self, *args)
8724 r"""ThickRect(PLOTTER self, VECTOR2I p1, VECTOR2I p2, int width, OUTLINE_MODE tracemode, void * aData)"""
8725 return _pcbnew.PLOTTER_ThickRect(self, p1, p2, width, tracemode, aData)
8728 r"""ThickCircle(PLOTTER self, VECTOR2I pos, int diametre, int width, OUTLINE_MODE tracemode, void * aData)"""
8729 return _pcbnew.PLOTTER_ThickCircle(self, pos, diametre, width, tracemode, aData)
8732 r"""FilledCircle(PLOTTER self, VECTOR2I pos, int diametre, OUTLINE_MODE tracemode, void * aData)"""
8733 return _pcbnew.PLOTTER_FilledCircle(self, pos, diametre, tracemode, aData)
8736 r"""FlashPadCircle(PLOTTER self, VECTOR2I aPadPos, int aDiameter, OUTLINE_MODE aTraceMode, void * aData)"""
8737 return _pcbnew.PLOTTER_FlashPadCircle(self, aPadPos, aDiameter, aTraceMode, aData)
8740 r"""FlashPadOval(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8741 return _pcbnew.PLOTTER_FlashPadOval(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
8744 r"""FlashPadRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8745 return _pcbnew.PLOTTER_FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
8748 r"""FlashPadRoundRect(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, int aCornerRadius, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8749 return _pcbnew.PLOTTER_FlashPadRoundRect(self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
8752 r"""FlashPadCustom(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aSize, EDA_ANGLE aPadOrient, SHAPE_POLY_SET aPolygons, OUTLINE_MODE aTraceMode, void * aData)"""
8753 return _pcbnew.PLOTTER_FlashPadCustom(self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData)
8756 r"""FlashPadTrapez(PLOTTER self, VECTOR2I aPadPos, VECTOR2I aCorners, EDA_ANGLE aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8757 return _pcbnew.PLOTTER_FlashPadTrapez(self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
8760 r"""FlashRegularPolygon(PLOTTER self, VECTOR2I aShapePos, int aDiameter, int aCornerCount, EDA_ANGLE aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
8761 return _pcbnew.PLOTTER_FlashRegularPolygon(self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData)
8763 def Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aData=None):
8764 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, void * aData=None)"""
8765 return _pcbnew.PLOTTER_Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aData)
8767 def PlotText(self, aPos, aColor, aText, aAttributes, aFont, aData=None):
8768 r"""PlotText(PLOTTER self, VECTOR2I aPos, COLOR4D aColor, wxString aText, TEXT_ATTRIBUTES aAttributes, KIFONT::FONT * aFont, void * aData=None)"""
8769 return _pcbnew.PLOTTER_PlotText(self, aPos, aColor, aText, aAttributes, aFont, aData)
8772 r"""HyperlinkBox(PLOTTER self, BOX2I aBox, wxString aDestinationURL)"""
8773 return _pcbnew.PLOTTER_HyperlinkBox(self, aBox, aDestinationURL)
8776 r"""HyperlinkMenu(PLOTTER self, BOX2I aBox, std::vector< wxString,std::allocator< wxString > > const & aDestURLs)"""
8777 return _pcbnew.PLOTTER_HyperlinkMenu(self, aBox, aDestURLs)
8780 r"""Bookmark(PLOTTER self, BOX2I aBox, wxString aName, wxString aGroupName=wxEmptyString)"""
8781 return _pcbnew.PLOTTER_Bookmark(self, *args)
8782 MARKER_COUNT = _pcbnew.PLOTTER_MARKER_COUNT
8785 def Marker(self, position, diametre, aShapeId):
8786 r"""Marker(PLOTTER self, VECTOR2I position, int diametre, unsigned int aShapeId)"""
8787 return _pcbnew.PLOTTER_Marker(self, position, diametre, aShapeId)
8790 r"""SetLayerPolarity(PLOTTER self, bool aPositive)"""
8791 return _pcbnew.PLOTTER_SetLayerPolarity(self, aPositive)
8794 r"""SetTextMode(PLOTTER self, PLOT_TEXT_MODE mode)"""
8795 return _pcbnew.PLOTTER_SetTextMode(self, mode)
8798 r"""SetGerberCoordinatesFormat(PLOTTER self, int aResolution, bool aUseInches=False)"""
8799 return _pcbnew.PLOTTER_SetGerberCoordinatesFormat(self, aResolution, aUseInches)
8802 r"""SetSvgCoordinatesFormat(PLOTTER self, unsigned int aPrecision)"""
8803 return _pcbnew.PLOTTER_SetSvgCoordinatesFormat(self, aPrecision)
8806 r"""StartBlock(PLOTTER self, void * aData)"""
8807 return _pcbnew.PLOTTER_StartBlock(self, aData)
8810 r"""EndBlock(PLOTTER self, void * aData)"""
8811 return _pcbnew.PLOTTER_EndBlock(self, aData)
8814_pcbnew.PLOTTER_swigregister(PLOTTER)
8818 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)"""
8819 return _pcbnew.PlotDrawingSheet(*args)
8822 r"""GetDefaultPlotExtension(PLOT_FORMAT aFormat) -> wxString"""
8823 return _pcbnew.GetDefaultPlotExtension(aFormat)
8825 r"""Proxy of C++ D356_RECORD class."""
8827 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8828 __repr__ = _swig_repr
8829 smd = property(_pcbnew.D356_RECORD_smd_get, _pcbnew.D356_RECORD_smd_set, doc=
r"""smd : bool""")
8830 hole = property(_pcbnew.D356_RECORD_hole_get, _pcbnew.D356_RECORD_hole_set, doc=
r"""hole : bool""")
8831 netname = property(_pcbnew.D356_RECORD_netname_get, _pcbnew.D356_RECORD_netname_set, doc=
r"""netname : wxString""")
8832 refdes = property(_pcbnew.D356_RECORD_refdes_get, _pcbnew.D356_RECORD_refdes_set, doc=
r"""refdes : wxString""")
8833 pin = property(_pcbnew.D356_RECORD_pin_get, _pcbnew.D356_RECORD_pin_set, doc=
r"""pin : wxString""")
8834 midpoint = property(_pcbnew.D356_RECORD_midpoint_get, _pcbnew.D356_RECORD_midpoint_set, doc=
r"""midpoint : bool""")
8835 drill = property(_pcbnew.D356_RECORD_drill_get, _pcbnew.D356_RECORD_drill_set, doc=
r"""drill : int""")
8836 mechanical = property(_pcbnew.D356_RECORD_mechanical_get, _pcbnew.D356_RECORD_mechanical_set, doc=
r"""mechanical : bool""")
8837 access = property(_pcbnew.D356_RECORD_access_get, _pcbnew.D356_RECORD_access_set, doc=
r"""access : int""")
8838 soldermask = property(_pcbnew.D356_RECORD_soldermask_get, _pcbnew.D356_RECORD_soldermask_set, doc=
r"""soldermask : int""")
8839 x_location = property(_pcbnew.D356_RECORD_x_location_get, _pcbnew.D356_RECORD_x_location_set, doc=
r"""x_location : int""")
8840 y_location = property(_pcbnew.D356_RECORD_y_location_get, _pcbnew.D356_RECORD_y_location_set, doc=
r"""y_location : int""")
8841 x_size = property(_pcbnew.D356_RECORD_x_size_get, _pcbnew.D356_RECORD_x_size_set, doc=
r"""x_size : int""")
8842 y_size = property(_pcbnew.D356_RECORD_y_size_get, _pcbnew.D356_RECORD_y_size_set, doc=
r"""y_size : int""")
8843 rotation = property(_pcbnew.D356_RECORD_rotation_get, _pcbnew.D356_RECORD_rotation_set, doc=
r"""rotation : int""")
8846 r"""__init__(D356_RECORD self) -> D356_RECORD"""
8847 _pcbnew.D356_RECORD_swiginit(self, _pcbnew.new_D356_RECORD())
8848 __swig_destroy__ = _pcbnew.delete_D356_RECORD
8851_pcbnew.D356_RECORD_swigregister(D356_RECORD)
8854 r"""Proxy of C++ IPC356D_WRITER class."""
8856 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8857 __repr__ = _swig_repr
8860 r"""__init__(IPC356D_WRITER self, BOARD aPcb, wxWindow * aParent=None) -> IPC356D_WRITER"""
8861 _pcbnew.IPC356D_WRITER_swiginit(self, _pcbnew.new_IPC356D_WRITER(aPcb, aParent))
8862 __swig_destroy__ = _pcbnew.delete_IPC356D_WRITER
8865 r"""Write(IPC356D_WRITER self, wxString aFilename)"""
8866 return _pcbnew.IPC356D_WRITER_Write(self, aFilename)
8869_pcbnew.IPC356D_WRITER_swigregister(IPC356D_WRITER)
8872 r"""Proxy of C++ PLACE_FILE_EXPORTER class."""
8874 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8875 __repr__ = _swig_repr
8877 def __init__(self, aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX):
8878 r"""__init__(PLACE_FILE_EXPORTER self, BOARD aBoard, bool aUnitsMM, bool aOnlySMD, bool aExcludeAllTH, bool aTopSide, bool aBottomSide, bool aFormatCSV, bool aUseAuxOrigin, bool aNegateBottomX) -> PLACE_FILE_EXPORTER"""
8879 _pcbnew.PLACE_FILE_EXPORTER_swiginit(self, _pcbnew.new_PLACE_FILE_EXPORTER(aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin, aNegateBottomX))
8882 r"""GenPositionData(PLACE_FILE_EXPORTER self) -> string"""
8883 return _pcbnew.PLACE_FILE_EXPORTER_GenPositionData(self)
8886 r"""GenReportData(PLACE_FILE_EXPORTER self) -> string"""
8887 return _pcbnew.PLACE_FILE_EXPORTER_GenReportData(self)
8890 r"""GetFootprintCount(PLACE_FILE_EXPORTER self) -> int"""
8891 return _pcbnew.PLACE_FILE_EXPORTER_GetFootprintCount(self)
8895 r"""GetFrontSideName() -> string"""
8896 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
8900 r"""GetBackSideName() -> string"""
8901 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
8902 __swig_destroy__ = _pcbnew.delete_PLACE_FILE_EXPORTER
8905_pcbnew.PLACE_FILE_EXPORTER_swigregister(PLACE_FILE_EXPORTER)
8908 r"""PLACE_FILE_EXPORTER_GetFrontSideName() -> string"""
8909 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
8912 r"""PLACE_FILE_EXPORTER_GetBackSideName() -> string"""
8913 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
8916 r"""Proxy of C++ EXPORTER_VRML class."""
8918 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8919 __repr__ = _swig_repr
8922 r"""__init__(EXPORTER_VRML self, BOARD aBoard) -> EXPORTER_VRML"""
8923 _pcbnew.EXPORTER_VRML_swiginit(self, _pcbnew.new_EXPORTER_VRML(aBoard))
8924 __swig_destroy__ = _pcbnew.delete_EXPORTER_VRML
8926 def ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
8927 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"""
8928 return _pcbnew.EXPORTER_VRML_ExportVRML_File(self, aProject, aMessages, aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
8931_pcbnew.EXPORTER_VRML_swigregister(EXPORTER_VRML)
8933USE_ATTRIB_FOR_HOLES = _pcbnew.USE_ATTRIB_FOR_HOLES
8935HOLE_ATTRIBUTE_HOLE_UNKNOWN = _pcbnew.HOLE_ATTRIBUTE_HOLE_UNKNOWN
8937HOLE_ATTRIBUTE_HOLE_VIA_THROUGH = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_THROUGH
8939HOLE_ATTRIBUTE_HOLE_VIA_BURIED = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_BURIED
8941HOLE_ATTRIBUTE_HOLE_PAD = _pcbnew.HOLE_ATTRIBUTE_HOLE_PAD
8943HOLE_ATTRIBUTE_HOLE_MECHANICAL = _pcbnew.HOLE_ATTRIBUTE_HOLE_MECHANICAL
8946 r"""Proxy of C++ DRILL_TOOL class."""
8948 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8949 __repr__ = _swig_repr
8950 m_Diameter = property(_pcbnew.DRILL_TOOL_m_Diameter_get, _pcbnew.DRILL_TOOL_m_Diameter_set, doc=
r"""m_Diameter : int""")
8951 m_TotalCount = property(_pcbnew.DRILL_TOOL_m_TotalCount_get, _pcbnew.DRILL_TOOL_m_TotalCount_set, doc=
r"""m_TotalCount : int""")
8952 m_OvalCount = property(_pcbnew.DRILL_TOOL_m_OvalCount_get, _pcbnew.DRILL_TOOL_m_OvalCount_set, doc=
r"""m_OvalCount : int""")
8953 m_Hole_NotPlated = property(_pcbnew.DRILL_TOOL_m_Hole_NotPlated_get, _pcbnew.DRILL_TOOL_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
8954 m_HoleAttribute = property(_pcbnew.DRILL_TOOL_m_HoleAttribute_get, _pcbnew.DRILL_TOOL_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
8957 r"""__init__(DRILL_TOOL self, int aDiameter, bool a_NotPlated) -> DRILL_TOOL"""
8958 _pcbnew.DRILL_TOOL_swiginit(self, _pcbnew.new_DRILL_TOOL(aDiameter, a_NotPlated))
8959 __swig_destroy__ = _pcbnew.delete_DRILL_TOOL
8962_pcbnew.DRILL_TOOL_swigregister(DRILL_TOOL)
8965 r"""Proxy of C++ HOLE_INFO class."""
8967 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8968 __repr__ = _swig_repr
8971 r"""__init__(HOLE_INFO self) -> HOLE_INFO"""
8972 _pcbnew.HOLE_INFO_swiginit(self, _pcbnew.new_HOLE_INFO())
8973 m_ItemParent = property(_pcbnew.HOLE_INFO_m_ItemParent_get, _pcbnew.HOLE_INFO_m_ItemParent_set, doc=
r"""m_ItemParent : p.BOARD_ITEM""")
8974 m_Hole_Diameter = property(_pcbnew.HOLE_INFO_m_Hole_Diameter_get, _pcbnew.HOLE_INFO_m_Hole_Diameter_set, doc=
r"""m_Hole_Diameter : int""")
8975 m_Tool_Reference = property(_pcbnew.HOLE_INFO_m_Tool_Reference_get, _pcbnew.HOLE_INFO_m_Tool_Reference_set, doc=
r"""m_Tool_Reference : int""")
8976 m_Hole_Size = property(_pcbnew.HOLE_INFO_m_Hole_Size_get, _pcbnew.HOLE_INFO_m_Hole_Size_set, doc=
r"""m_Hole_Size : VECTOR2I""")
8977 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""")
8978 m_Hole_Shape = property(_pcbnew.HOLE_INFO_m_Hole_Shape_get, _pcbnew.HOLE_INFO_m_Hole_Shape_set, doc=
r"""m_Hole_Shape : int""")
8979 m_Hole_Pos = property(_pcbnew.HOLE_INFO_m_Hole_Pos_get, _pcbnew.HOLE_INFO_m_Hole_Pos_set, doc=
r"""m_Hole_Pos : VECTOR2I""")
8980 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""")
8981 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""")
8982 m_Hole_NotPlated = property(_pcbnew.HOLE_INFO_m_Hole_NotPlated_get, _pcbnew.HOLE_INFO_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
8983 m_HoleAttribute = property(_pcbnew.HOLE_INFO_m_HoleAttribute_get, _pcbnew.HOLE_INFO_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
8984 __swig_destroy__ = _pcbnew.delete_HOLE_INFO
8987_pcbnew.HOLE_INFO_swigregister(HOLE_INFO)
8990 r"""Proxy of C++ DRILL_PRECISION class."""
8992 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8993 __repr__ = _swig_repr
8996 r"""__init__(DRILL_PRECISION self, int l=2, int r=4) -> DRILL_PRECISION"""
8997 _pcbnew.DRILL_PRECISION_swiginit(self, _pcbnew.new_DRILL_PRECISION(l, r))
9000 r"""GetPrecisionString(DRILL_PRECISION self) -> wxString"""
9001 return _pcbnew.DRILL_PRECISION_GetPrecisionString(self)
9002 m_Lhs = property(_pcbnew.DRILL_PRECISION_m_Lhs_get, _pcbnew.DRILL_PRECISION_m_Lhs_set, doc=
r"""m_Lhs : int""")
9003 m_Rhs = property(_pcbnew.DRILL_PRECISION_m_Rhs_get, _pcbnew.DRILL_PRECISION_m_Rhs_set, doc=
r"""m_Rhs : int""")
9004 __swig_destroy__ = _pcbnew.delete_DRILL_PRECISION
9007_pcbnew.DRILL_PRECISION_swigregister(DRILL_PRECISION)
9010 r"""Proxy of C++ GENDRILL_WRITER_BASE class."""
9012 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9015 raise AttributeError(
"No constructor defined")
9016 __repr__ = _swig_repr
9017 DECIMAL_FORMAT = _pcbnew.GENDRILL_WRITER_BASE_DECIMAL_FORMAT
9019 SUPPRESS_LEADING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_LEADING
9021 SUPPRESS_TRAILING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_TRAILING
9023 KEEP_ZEROS = _pcbnew.GENDRILL_WRITER_BASE_KEEP_ZEROS
9025 PTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_PTH_FILE
9027 NPTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_NPTH_FILE
9029 MIXED_FILE = _pcbnew.GENDRILL_WRITER_BASE_MIXED_FILE
9031 __swig_destroy__ = _pcbnew.delete_GENDRILL_WRITER_BASE
9034 r"""SetMergeOption(GENDRILL_WRITER_BASE self, bool aMerge)"""
9035 return _pcbnew.GENDRILL_WRITER_BASE_SetMergeOption(self, aMerge)
9038 r"""GetOffset(GENDRILL_WRITER_BASE self) -> VECTOR2I"""
9039 return _pcbnew.GENDRILL_WRITER_BASE_GetOffset(self)
9042 r"""SetPageInfo(GENDRILL_WRITER_BASE self, PAGE_INFO const * aPageInfo)"""
9043 return _pcbnew.GENDRILL_WRITER_BASE_SetPageInfo(self, aPageInfo)
9046 r"""SetMapFileFormat(GENDRILL_WRITER_BASE self, PLOT_FORMAT aMapFmt)"""
9047 return _pcbnew.GENDRILL_WRITER_BASE_SetMapFileFormat(self, aMapFmt)
9050 r"""CreateMapFilesSet(GENDRILL_WRITER_BASE self, wxString aPlotDirectory, REPORTER * aReporter=None) -> bool"""
9051 return _pcbnew.GENDRILL_WRITER_BASE_CreateMapFilesSet(self, aPlotDirectory, aReporter)
9054 r"""GenDrillReportFile(GENDRILL_WRITER_BASE self, wxString aFullFileName) -> bool"""
9055 return _pcbnew.GENDRILL_WRITER_BASE_GenDrillReportFile(self, aFullFileName)
9058 r"""GetDrillFileExt(GENDRILL_WRITER_BASE self) -> wxString"""
9059 return _pcbnew.GENDRILL_WRITER_BASE_GetDrillFileExt(self)
9062_pcbnew.GENDRILL_WRITER_BASE_swigregister(GENDRILL_WRITER_BASE)
9065 r"""Proxy of C++ EXCELLON_WRITER class."""
9067 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9068 __repr__ = _swig_repr
9071 r"""__init__(EXCELLON_WRITER self, BOARD aPcb) -> EXCELLON_WRITER"""
9072 _pcbnew.EXCELLON_WRITER_swiginit(self, _pcbnew.new_EXCELLON_WRITER(aPcb))
9073 __swig_destroy__ = _pcbnew.delete_EXCELLON_WRITER
9076 r"""GetOffset(EXCELLON_WRITER self) -> VECTOR2I"""
9077 return _pcbnew.EXCELLON_WRITER_GetOffset(self)
9080 r"""SetRouteModeForOvalHoles(EXCELLON_WRITER self, bool aUseRouteModeForOvalHoles)"""
9081 return _pcbnew.EXCELLON_WRITER_SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles)
9084 r"""SetFormat(EXCELLON_WRITER self, bool aMetric, GENDRILL_WRITER_BASE::ZEROS_FMT aZerosFmt=DECIMAL_FORMAT, int aLeftDigits=0, int aRightDigits=0)"""
9085 return _pcbnew.EXCELLON_WRITER_SetFormat(self, *args)
9087 def SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH):
9088 r"""SetOptions(EXCELLON_WRITER self, bool aMirror, bool aMinimalHeader, VECTOR2I aOffset, bool aMerge_PTH_NPTH)"""
9089 return _pcbnew.EXCELLON_WRITER_SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH)
9092 r"""CreateDrillandMapFilesSet(EXCELLON_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
9093 return _pcbnew.EXCELLON_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
9096_pcbnew.EXCELLON_WRITER_swigregister(EXCELLON_WRITER)
9099 r"""Proxy of C++ GERBER_WRITER class."""
9101 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9102 __repr__ = _swig_repr
9105 r"""__init__(GERBER_WRITER self, BOARD aPcb) -> GERBER_WRITER"""
9106 _pcbnew.GERBER_WRITER_swiginit(self, _pcbnew.new_GERBER_WRITER(aPcb))
9107 __swig_destroy__ = _pcbnew.delete_GERBER_WRITER
9110 r"""SetFormat(GERBER_WRITER self, int aRightDigits=6)"""
9111 return _pcbnew.GERBER_WRITER_SetFormat(self, aRightDigits)
9114 r"""SetOptions(GERBER_WRITER self, VECTOR2I aOffset)"""
9115 return _pcbnew.GERBER_WRITER_SetOptions(self, aOffset)
9118 r"""CreateDrillandMapFilesSet(GERBER_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None) -> bool"""
9119 return _pcbnew.GERBER_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
9122_pcbnew.GERBER_WRITER_swigregister(GERBER_WRITER)
9124SIDE_NONE = _pcbnew.SIDE_NONE
9126SIDE_TOP = _pcbnew.SIDE_TOP
9128SIDE_BOTTOM = _pcbnew.SIDE_BOTTOM
9130SIDE_BOTH = _pcbnew.SIDE_BOTH
9133 r"""Proxy of C++ JOBFILE_PARAMS class."""
9135 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9136 __repr__ = _swig_repr
9137 m_GerberFileList = property(_pcbnew.JOBFILE_PARAMS_m_GerberFileList_get, _pcbnew.JOBFILE_PARAMS_m_GerberFileList_set, doc=
r"""m_GerberFileList : wxArrayString""")
9138 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)>)>""")
9141 r"""__init__(JOBFILE_PARAMS self) -> JOBFILE_PARAMS"""
9142 _pcbnew.JOBFILE_PARAMS_swiginit(self, _pcbnew.new_JOBFILE_PARAMS())
9143 __swig_destroy__ = _pcbnew.delete_JOBFILE_PARAMS
9146_pcbnew.JOBFILE_PARAMS_swigregister(JOBFILE_PARAMS)
9149 r"""Proxy of C++ GERBER_JOBFILE_WRITER class."""
9151 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9152 __repr__ = _swig_repr
9155 r"""__init__(GERBER_JOBFILE_WRITER self, BOARD aPcb, REPORTER * aReporter=None) -> GERBER_JOBFILE_WRITER"""
9156 _pcbnew.GERBER_JOBFILE_WRITER_swiginit(self, _pcbnew.new_GERBER_JOBFILE_WRITER(aPcb, aReporter))
9157 __swig_destroy__ = _pcbnew.delete_GERBER_JOBFILE_WRITER
9160 r"""AddGbrFile(GERBER_JOBFILE_WRITER self, PCB_LAYER_ID aLayer, wxString aFilename)"""
9161 return _pcbnew.GERBER_JOBFILE_WRITER_AddGbrFile(self, aLayer, aFilename)
9164 r"""CreateJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9165 return _pcbnew.GERBER_JOBFILE_WRITER_CreateJobFile(self, aFullFilename)
9168 r"""WriteJSONJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
9169 return _pcbnew.GERBER_JOBFILE_WRITER_WriteJSONJobFile(self, aFullFilename)
9172_pcbnew.GERBER_JOBFILE_WRITER_swigregister(GERBER_JOBFILE_WRITER)
9174ROOM_FOR_KICADMANAGER = _pcbnew.ROOM_FOR_KICADMANAGER
9176ROOM_FOR_3D_VIEWER = _pcbnew.ROOM_FOR_3D_VIEWER
9178ROOM_FOR_PANEL_PREV_MODEL = _pcbnew.ROOM_FOR_PANEL_PREV_MODEL
9180DEFAULT_FILE_HISTORY_SIZE = _pcbnew.DEFAULT_FILE_HISTORY_SIZE
9182MAX_FILE_HISTORY_SIZE = _pcbnew.MAX_FILE_HISTORY_SIZE
9184ID_APPEND_PROJECT = _pcbnew.ID_APPEND_PROJECT
9186ID_LOAD_FILE = _pcbnew.ID_LOAD_FILE
9188ID_NEW_BOARD = _pcbnew.ID_NEW_BOARD
9190ID_SAVE_BOARD = _pcbnew.ID_SAVE_BOARD
9192ID_SAVE_BOARD_AS = _pcbnew.ID_SAVE_BOARD_AS
9194ID_AUTO_SAVE_TIMER = _pcbnew.ID_AUTO_SAVE_TIMER
9196ID_FILE = _pcbnew.ID_FILE
9198ID_FILE1 = _pcbnew.ID_FILE1
9200ID_FILEMAX = _pcbnew.ID_FILEMAX
9202ID_FILE_LIST_EMPTY = _pcbnew.ID_FILE_LIST_EMPTY
9204ID_FILE_LIST_CLEAR = _pcbnew.ID_FILE_LIST_CLEAR
9206ID_PREFERENCES_RESET_PANEL = _pcbnew.ID_PREFERENCES_RESET_PANEL
9208ID_GEN_PLOT = _pcbnew.ID_GEN_PLOT
9210ID_GEN_PLOT_PS = _pcbnew.ID_GEN_PLOT_PS
9212ID_GEN_PLOT_HPGL = _pcbnew.ID_GEN_PLOT_HPGL
9214ID_GEN_PLOT_GERBER = _pcbnew.ID_GEN_PLOT_GERBER
9216ID_GEN_PLOT_SVG = _pcbnew.ID_GEN_PLOT_SVG
9218ID_GEN_PLOT_DXF = _pcbnew.ID_GEN_PLOT_DXF
9220ID_GEN_PLOT_PDF = _pcbnew.ID_GEN_PLOT_PDF
9222ID_H_TOOLBAR = _pcbnew.ID_H_TOOLBAR
9224ID_V_TOOLBAR = _pcbnew.ID_V_TOOLBAR
9226ID_OPT_TOOLBAR = _pcbnew.ID_OPT_TOOLBAR
9228ID_AUX_TOOLBAR = _pcbnew.ID_AUX_TOOLBAR
9230ID_LANGUAGE_CHOICE = _pcbnew.ID_LANGUAGE_CHOICE
9232ID_LANGUAGE_DANISH = _pcbnew.ID_LANGUAGE_DANISH
9234ID_LANGUAGE_DEFAULT = _pcbnew.ID_LANGUAGE_DEFAULT
9236ID_LANGUAGE_ENGLISH = _pcbnew.ID_LANGUAGE_ENGLISH
9238ID_LANGUAGE_FRENCH = _pcbnew.ID_LANGUAGE_FRENCH
9240ID_LANGUAGE_FINNISH = _pcbnew.ID_LANGUAGE_FINNISH
9242ID_LANGUAGE_SPANISH = _pcbnew.ID_LANGUAGE_SPANISH
9244ID_LANGUAGE_SPANISH_MEXICAN = _pcbnew.ID_LANGUAGE_SPANISH_MEXICAN
9246ID_LANGUAGE_GERMAN = _pcbnew.ID_LANGUAGE_GERMAN
9248ID_LANGUAGE_GREEK = _pcbnew.ID_LANGUAGE_GREEK
9250ID_LANGUAGE_NORWEGIAN = _pcbnew.ID_LANGUAGE_NORWEGIAN
9252ID_LANGUAGE_RUSSIAN = _pcbnew.ID_LANGUAGE_RUSSIAN
9254ID_LANGUAGE_PORTUGUESE = _pcbnew.ID_LANGUAGE_PORTUGUESE
9256ID_LANGUAGE_PORTUGUESE_BRAZILIAN = _pcbnew.ID_LANGUAGE_PORTUGUESE_BRAZILIAN
9258ID_LANGUAGE_TURKISH = _pcbnew.ID_LANGUAGE_TURKISH
9260ID_LANGUAGE_INDONESIAN = _pcbnew.ID_LANGUAGE_INDONESIAN
9262ID_LANGUAGE_ITALIAN = _pcbnew.ID_LANGUAGE_ITALIAN
9264ID_LANGUAGE_SLOVENIAN = _pcbnew.ID_LANGUAGE_SLOVENIAN
9266ID_LANGUAGE_SLOVAK = _pcbnew.ID_LANGUAGE_SLOVAK
9268ID_LANGUAGE_HUNGARIAN = _pcbnew.ID_LANGUAGE_HUNGARIAN
9270ID_LANGUAGE_POLISH = _pcbnew.ID_LANGUAGE_POLISH
9272ID_LANGUAGE_CZECH = _pcbnew.ID_LANGUAGE_CZECH
9274ID_LANGUAGE_KOREAN = _pcbnew.ID_LANGUAGE_KOREAN
9276ID_LANGUAGE_CATALAN = _pcbnew.ID_LANGUAGE_CATALAN
9278ID_LANGUAGE_CHINESE_SIMPLIFIED = _pcbnew.ID_LANGUAGE_CHINESE_SIMPLIFIED
9280ID_LANGUAGE_CHINESE_TRADITIONAL = _pcbnew.ID_LANGUAGE_CHINESE_TRADITIONAL
9282ID_LANGUAGE_DUTCH = _pcbnew.ID_LANGUAGE_DUTCH
9284ID_LANGUAGE_JAPANESE = _pcbnew.ID_LANGUAGE_JAPANESE
9286ID_LANGUAGE_BULGARIAN = _pcbnew.ID_LANGUAGE_BULGARIAN
9288ID_LANGUAGE_LATVIAN = _pcbnew.ID_LANGUAGE_LATVIAN
9290ID_LANGUAGE_LITHUANIAN = _pcbnew.ID_LANGUAGE_LITHUANIAN
9292ID_LANGUAGE_VIETNAMESE = _pcbnew.ID_LANGUAGE_VIETNAMESE
9294ID_LANGUAGE_SERBIAN = _pcbnew.ID_LANGUAGE_SERBIAN
9296ID_LANGUAGE_THAI = _pcbnew.ID_LANGUAGE_THAI
9298ID_LANGUAGE_SWEDISH = _pcbnew.ID_LANGUAGE_SWEDISH
9300ID_LANGUAGE_UKRANIAN = _pcbnew.ID_LANGUAGE_UKRANIAN
9302ID_LANGUAGE_CHOICE_END = _pcbnew.ID_LANGUAGE_CHOICE_END
9304ID_ON_ZOOM_SELECT = _pcbnew.ID_ON_ZOOM_SELECT
9306ID_ON_GRID_SELECT = _pcbnew.ID_ON_GRID_SELECT
9308ID_GRID_SETTINGS = _pcbnew.ID_GRID_SETTINGS
9310ID_POPUP_ZOOM_LEVEL_START = _pcbnew.ID_POPUP_ZOOM_LEVEL_START
9312ID_POPUP_ZOOM_LEVEL_END = _pcbnew.ID_POPUP_ZOOM_LEVEL_END
9314ID_POPUP_GRID_START = _pcbnew.ID_POPUP_GRID_START
9316ID_POPUP_GRID_END = _pcbnew.ID_POPUP_GRID_END
9318ID_EDA_SOCKET_EVENT_SERV = _pcbnew.ID_EDA_SOCKET_EVENT_SERV
9320ID_EDA_SOCKET_EVENT = _pcbnew.ID_EDA_SOCKET_EVENT
9322ID_KICAD_MANAGER_START = _pcbnew.ID_KICAD_MANAGER_START
9324ID_KICAD_MANAGER_END = _pcbnew.ID_KICAD_MANAGER_END
9326ID_KICAD_3D_VIEWER_START = _pcbnew.ID_KICAD_3D_VIEWER_START
9328ID_KICAD_3D_VIEWER_END = _pcbnew.ID_KICAD_3D_VIEWER_END
9330ID_KICAD_PANEL_PREV_MODEL_START = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_START
9332ID_KICAD_PANEL_PREV_MODEL_END = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_END
9334ID_POPUP_MENU_START = _pcbnew.ID_POPUP_MENU_START
9336ID_POPUP_MENU_END = _pcbnew.ID_POPUP_MENU_END
9338ID_END_LIST = _pcbnew.ID_END_LIST
9342 r"""GetBoard() -> BOARD"""
9343 return _pcbnew.GetBoard()
9347 LoadBoard(wxString aFileName, IO_MGR::PCB_FILE_T aFormat) -> BOARD
9350 return _pcbnew.LoadBoard(*args)
9353 r"""NewBoard(wxString aFileName) -> BOARD"""
9354 return _pcbnew.NewBoard(aFileName)
9357 r"""GetSettingsManager() -> SETTINGS_MANAGER"""
9358 return _pcbnew.GetSettingsManager()
9361 r"""CreateEmptyBoard() -> BOARD"""
9362 return _pcbnew.CreateEmptyBoard()
9365 r"""SaveBoard(wxString aFileName, BOARD aBoard, bool aSkipSettings=False) -> bool"""
9366 return _pcbnew.SaveBoard(aFileName, aBoard, aSkipSettings)
9369 r"""GetFootprintLibraries() -> wxArrayString"""
9370 return _pcbnew.GetFootprintLibraries()
9373 r"""GetFootprints(wxString aNickName) -> wxArrayString"""
9374 return _pcbnew.GetFootprints(aNickName)
9381 return _pcbnew.ExportSpecctraDSN(*args)
9383def ExportVRML(aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef):
9384 r"""ExportVRML(wxString aFullFileName, double aMMtoWRMLunit, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
9385 return _pcbnew.ExportVRML(aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
9388 r"""ImportSpecctraSES(wxString aFullFilename) -> bool"""
9389 return _pcbnew.ImportSpecctraSES(aFullFilename)
9392 r"""ExportFootprintsToLibrary(bool aStoreInNewLib, wxString aLibName=wxEmptyString, wxString aLibPath=None) -> bool"""
9393 return _pcbnew.ExportFootprintsToLibrary(*args)
9397 return _pcbnew.Refresh()
9400 r"""UpdateUserInterface()"""
9401 return _pcbnew.UpdateUserInterface()
9404 r"""GetUserUnits() -> int"""
9405 return _pcbnew.GetUserUnits()
9408 r"""GetCurrentSelection() -> DRAWINGS"""
9409 return _pcbnew.GetCurrentSelection()
9412 r"""IsActionRunning() -> bool"""
9413 return _pcbnew.IsActionRunning()
9416 r"""WriteDRCReport(BOARD aBoard, wxString aFileName, EDA_UNITS aUnits, bool aReportAllTrackErrors) -> bool"""
9417 return _pcbnew.WriteDRCReport(aBoard, aFileName, aUnits, aReportAllTrackErrors)
9418ZLO_NONE = _pcbnew.ZLO_NONE
9420ZLO_FORCE_FLASHED = _pcbnew.ZLO_FORCE_FLASHED
9422ZLO_FORCE_NO_ZONE_CONNECTION = _pcbnew.ZLO_FORCE_NO_ZONE_CONNECTION
9425 r"""Proxy of C++ BOARD_ITEM class."""
9427 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9430 raise AttributeError(
"No constructor defined - class is abstract")
9431 __repr__ = _swig_repr
9432 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM
9435 r"""SetParentGroup(BOARD_ITEM self, PCB_GROUP aGroup)"""
9436 return _pcbnew.BOARD_ITEM_SetParentGroup(self, aGroup)
9439 r"""GetParentGroup(BOARD_ITEM self) -> PCB_GROUP"""
9440 return _pcbnew.BOARD_ITEM_GetParentGroup(self)
9443 r"""GetX(BOARD_ITEM self) -> int"""
9444 return _pcbnew.BOARD_ITEM_GetX(self)
9447 r"""GetY(BOARD_ITEM self) -> int"""
9448 return _pcbnew.BOARD_ITEM_GetY(self)
9451 r"""GetCenter(BOARD_ITEM self) -> VECTOR2I"""
9452 return _pcbnew.BOARD_ITEM_GetCenter(self)
9455 r"""SetX(BOARD_ITEM self, int aX)"""
9456 return _pcbnew.BOARD_ITEM_SetX(self, aX)
9459 r"""SetY(BOARD_ITEM self, int aY)"""
9460 return _pcbnew.BOARD_ITEM_SetY(self, aY)
9463 r"""IsConnected(BOARD_ITEM self) -> bool"""
9464 return _pcbnew.BOARD_ITEM_IsConnected(self)
9467 r"""IsOnCopperLayer(BOARD_ITEM self) -> bool"""
9468 return _pcbnew.BOARD_ITEM_IsOnCopperLayer(self)
9471 r"""HasHole(BOARD_ITEM self) -> bool"""
9472 return _pcbnew.BOARD_ITEM_HasHole(self)
9475 r"""IsTented(BOARD_ITEM self) -> bool"""
9476 return _pcbnew.BOARD_ITEM_IsTented(self)
9479 r"""GetEffectiveShape(BOARD_ITEM self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
9480 return _pcbnew.BOARD_ITEM_GetEffectiveShape(self, *args)
9483 r"""GetEffectiveHoleShape(BOARD_ITEM self) -> std::shared_ptr< SHAPE_SEGMENT >"""
9484 return _pcbnew.BOARD_ITEM_GetEffectiveHoleShape(self)
9487 r"""GetParent(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
9488 return _pcbnew.BOARD_ITEM_GetParent(self)
9491 r"""GetParentFootprint(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
9492 return _pcbnew.BOARD_ITEM_GetParentFootprint(self)
9495 r"""HasLineStroke(BOARD_ITEM self) -> bool"""
9496 return _pcbnew.BOARD_ITEM_HasLineStroke(self)
9499 r"""GetStroke(BOARD_ITEM self) -> STROKE_PARAMS"""
9500 return _pcbnew.BOARD_ITEM_GetStroke(self)
9503 r"""SetStroke(BOARD_ITEM self, STROKE_PARAMS const & aStroke)"""
9504 return _pcbnew.BOARD_ITEM_SetStroke(self, aStroke)
9507 r"""GetLayer(BOARD_ITEM self) -> PCB_LAYER_ID"""
9508 return _pcbnew.BOARD_ITEM_GetLayer(self)
9511 r"""GetLayerSet(BOARD_ITEM self) -> LSET"""
9512 return _pcbnew.BOARD_ITEM_GetLayerSet(self)
9515 r"""SetLayerSet(BOARD_ITEM self, LSET aLayers)"""
9516 return _pcbnew.BOARD_ITEM_SetLayerSet(self, aLayers)
9519 r"""SetLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer)"""
9520 return _pcbnew.BOARD_ITEM_SetLayer(self, aLayer)
9523 r"""Duplicate(BOARD_ITEM self) -> BOARD_ITEM"""
9524 return _pcbnew.BOARD_ITEM_Duplicate(self)
9527 r"""SwapItemData(BOARD_ITEM self, BOARD_ITEM aImage)"""
9528 return _pcbnew.BOARD_ITEM_SwapItemData(self, aImage)
9531 r"""IsOnLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer) -> bool"""
9532 return _pcbnew.BOARD_ITEM_IsOnLayer(self, aLayer)
9535 r"""IsKnockout(BOARD_ITEM self) -> bool"""
9536 return _pcbnew.BOARD_ITEM_IsKnockout(self)
9539 r"""SetIsKnockout(BOARD_ITEM self, bool aKnockout)"""
9540 return _pcbnew.BOARD_ITEM_SetIsKnockout(self, aKnockout)
9543 r"""IsLocked(BOARD_ITEM self) -> bool"""
9544 return _pcbnew.BOARD_ITEM_IsLocked(self)
9547 r"""SetLocked(BOARD_ITEM self, bool aLocked)"""
9548 return _pcbnew.BOARD_ITEM_SetLocked(self, aLocked)
9551 r"""DeleteStructure(BOARD_ITEM self)"""
9552 return _pcbnew.BOARD_ITEM_DeleteStructure(self)
9555 r"""Move(BOARD_ITEM self, VECTOR2I aMoveVector)"""
9556 return _pcbnew.BOARD_ITEM_Move(self, aMoveVector)
9559 r"""Rotate(BOARD_ITEM self, VECTOR2I aRotCentre, EDA_ANGLE aAngle)"""
9560 return _pcbnew.BOARD_ITEM_Rotate(self, aRotCentre, aAngle)
9562 def Flip(self, aCentre, aFlipLeftRight):
9563 r"""Flip(BOARD_ITEM self, VECTOR2I aCentre, bool aFlipLeftRight)"""
9564 return _pcbnew.BOARD_ITEM_Flip(self, aCentre, aFlipLeftRight)
9571 return _pcbnew.BOARD_ITEM_GetBoard(self, *args)
9574 r"""GetLayerName(BOARD_ITEM self) -> wxString"""
9575 return _pcbnew.BOARD_ITEM_GetLayerName(self)
9578 r"""TransformShapeToPolygon(BOARD_ITEM self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
9579 return _pcbnew.BOARD_ITEM_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
9587 if ct==
"PCB_TEXTBOX":
9591 elif ct==
"PCB_DIM_ALIGNED":
9593 elif ct==
"PCB_DIM_LEADER":
9595 elif ct==
"PCB_DIM_CENTER":
9597 elif ct==
"PCB_DIM_RADIAL":
9599 elif ct==
"PCB_DIM_ORTHOGONAL":
9601 elif ct==
"PCB_SHAPE":
9603 elif ct==
"MGRAPHIC":
9605 elif ct==
"FOOTPRINT":
9607 elif ct==
"PCB_GROUP":
9613 elif ct==
"FP_TEXTBOX":
9617 elif ct==
"PCB_TRACK":
9621 elif ct==
"PCB_TARGET":
9623 elif ct==
"PCB_BITMAP":
9628 raise TypeError(
"Unsupported drawing class: %s" % ct)
9631 Needed to cast BOARD_ITEM::Duplicate() to the suitable type
9645 self.SetStart(start)
9646 self.SetStart0(start)
9652_pcbnew.BOARD_ITEM_swigregister(BOARD_ITEM)
9655 r"""Proxy of C++ DELETED_BOARD_ITEM class."""
9657 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9658 __repr__ = _swig_repr
9661 r"""__init__(DELETED_BOARD_ITEM self) -> DELETED_BOARD_ITEM"""
9662 _pcbnew.DELETED_BOARD_ITEM_swiginit(self, _pcbnew.new_DELETED_BOARD_ITEM())
9666 r"""GetInstance() -> DELETED_BOARD_ITEM"""
9667 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
9668 __swig_destroy__ = _pcbnew.delete_DELETED_BOARD_ITEM
9671_pcbnew.DELETED_BOARD_ITEM_swigregister(DELETED_BOARD_ITEM)
9674 r"""DELETED_BOARD_ITEM_GetInstance() -> DELETED_BOARD_ITEM"""
9675 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
9677IS_CHANGED = _pcbnew.IS_CHANGED
9679IS_LINKED = _pcbnew.IS_LINKED
9681IN_EDIT = _pcbnew.IN_EDIT
9683IS_MOVING = _pcbnew.IS_MOVING
9685IS_NEW = _pcbnew.IS_NEW
9687IS_BROKEN = _pcbnew.IS_BROKEN
9689IS_DELETED = _pcbnew.IS_DELETED
9691STARTPOINT = _pcbnew.STARTPOINT
9693ENDPOINT = _pcbnew.ENDPOINT
9695SELECTED = _pcbnew.SELECTED
9697SELECTED_BY_DRAG = _pcbnew.SELECTED_BY_DRAG
9699STRUCT_DELETED = _pcbnew.STRUCT_DELETED
9701CANDIDATE = _pcbnew.CANDIDATE
9703SKIP_STRUCT = _pcbnew.SKIP_STRUCT
9705IS_PASTED = _pcbnew.IS_PASTED
9707IS_SHOWN_AS_BITMAP = _pcbnew.IS_SHOWN_AS_BITMAP
9709COURTYARD_CONFLICT = _pcbnew.COURTYARD_CONFLICT
9711MALFORMED_F_COURTYARD = _pcbnew.MALFORMED_F_COURTYARD
9713MALFORMED_B_COURTYARD = _pcbnew.MALFORMED_B_COURTYARD
9715MALFORMED_COURTYARDS = _pcbnew.MALFORMED_COURTYARDS
9717BEGIN_ONPAD = _pcbnew.BEGIN_ONPAD
9719END_ONPAD = _pcbnew.END_ONPAD
9721HOLE_PROXY = _pcbnew.HOLE_PROXY
9723IS_ROLLOVER = _pcbnew.IS_ROLLOVER
9725SHOW_ELEC_TYPE = _pcbnew.SHOW_ELEC_TYPE
9727BRIGHTENED = _pcbnew.BRIGHTENED
9729IS_MODIFIED_CHILD = _pcbnew.IS_MODIFIED_CHILD
9731UR_TRANSIENT = _pcbnew.UR_TRANSIENT
9733IS_DANGLING = _pcbnew.IS_DANGLING
9735ENTERED = _pcbnew.ENTERED
9738 r"""Proxy of C++ UNITS_PROVIDER class."""
9740 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9741 __repr__ = _swig_repr
9744 r"""__init__(UNITS_PROVIDER self, EDA_IU_SCALE aIuScale, EDA_UNITS aUnits) -> UNITS_PROVIDER"""
9745 _pcbnew.UNITS_PROVIDER_swiginit(self, _pcbnew.new_UNITS_PROVIDER(aIuScale, aUnits))
9746 __swig_destroy__ = _pcbnew.delete_UNITS_PROVIDER
9749 r"""GetUserUnits(UNITS_PROVIDER self) -> EDA_UNITS"""
9750 return _pcbnew.UNITS_PROVIDER_GetUserUnits(self)
9753 r"""SetUserUnits(UNITS_PROVIDER self, EDA_UNITS aUnits)"""
9754 return _pcbnew.UNITS_PROVIDER_SetUserUnits(self, aUnits)
9757 r"""GetIuScale(UNITS_PROVIDER self) -> EDA_IU_SCALE"""
9758 return _pcbnew.UNITS_PROVIDER_GetIuScale(self)
9761 r"""GetOriginTransforms(UNITS_PROVIDER self) -> ORIGIN_TRANSFORMS &"""
9762 return _pcbnew.UNITS_PROVIDER_GetOriginTransforms(self)
9766 StringFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=False, EDA_DATA_TYPE aType=DISTANCE) -> wxString
9767 StringFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
False) -> wxString
9769 return _pcbnew.UNITS_PROVIDER_StringFromValue(self, *args)
9773 MessageTextFromValue(UNITS_PROVIDER self, double aValue, bool aAddUnitLabel=True, EDA_DATA_TYPE aType=DISTANCE) -> wxString
9774 MessageTextFromValue(UNITS_PROVIDER self, EDA_ANGLE aValue, bool aAddUnitLabel=
True) -> wxString
9776 return _pcbnew.UNITS_PROVIDER_MessageTextFromValue(self, *args)
9779 r"""ValueFromString(UNITS_PROVIDER self, wxString aTextValue, EDA_DATA_TYPE aType=DISTANCE) -> int"""
9780 return _pcbnew.UNITS_PROVIDER_ValueFromString(self, *args)
9783 r"""AngleValueFromString(UNITS_PROVIDER self, wxString aTextValue) -> EDA_ANGLE"""
9784 return _pcbnew.UNITS_PROVIDER_AngleValueFromString(self, aTextValue)
9787_pcbnew.UNITS_PROVIDER_swigregister(UNITS_PROVIDER)
9791 r"""Cast_to_BOARD_ITEM(EDA_ITEM base) -> BOARD_ITEM"""
9792 return _pcbnew.Cast_to_BOARD_ITEM(base)
9795 r"""Cast_to_PCB_TEXT(BOARD_ITEM arg1) -> PCB_TEXT"""
9796 return _pcbnew.Cast_to_PCB_TEXT(arg1)
9799 r"""Cast_to_PCB_TEXTBOX(BOARD_ITEM arg1) -> PCB_TEXTBOX"""
9800 return _pcbnew.Cast_to_PCB_TEXTBOX(arg1)
9803 r"""Cast_to_PCB_DIM_ALIGNED(BOARD_ITEM arg1) -> PCB_DIM_ALIGNED"""
9804 return _pcbnew.Cast_to_PCB_DIM_ALIGNED(arg1)
9807 r"""Cast_to_PCB_DIM_ORTHOGONAL(BOARD_ITEM arg1) -> PCB_DIM_ORTHOGONAL"""
9808 return _pcbnew.Cast_to_PCB_DIM_ORTHOGONAL(arg1)
9811 r"""Cast_to_PCB_DIM_LEADER(BOARD_ITEM arg1) -> PCB_DIM_LEADER"""
9812 return _pcbnew.Cast_to_PCB_DIM_LEADER(arg1)
9815 r"""Cast_to_PCB_DIM_CENTER(BOARD_ITEM arg1) -> PCB_DIM_CENTER"""
9816 return _pcbnew.Cast_to_PCB_DIM_CENTER(arg1)
9819 r"""Cast_to_PCB_DIM_RADIAL(BOARD_ITEM arg1) -> PCB_DIM_RADIAL"""
9820 return _pcbnew.Cast_to_PCB_DIM_RADIAL(arg1)
9823 r"""Cast_to_FOOTPRINT(BOARD_ITEM arg1) -> FOOTPRINT"""
9824 return _pcbnew.Cast_to_FOOTPRINT(arg1)
9827 r"""Cast_to_PCB_GROUP(BOARD_ITEM arg1) -> PCB_GROUP"""
9828 return _pcbnew.Cast_to_PCB_GROUP(arg1)
9831 r"""Cast_to_FP_TEXT(BOARD_ITEM arg1) -> FP_TEXT"""
9832 return _pcbnew.Cast_to_FP_TEXT(arg1)
9835 r"""Cast_to_FP_TEXTBOX(BOARD_ITEM arg1) -> FP_TEXTBOX"""
9836 return _pcbnew.Cast_to_FP_TEXTBOX(arg1)
9839 r"""Cast_to_PCB_SHAPE(BOARD_ITEM arg1) -> PCB_SHAPE"""
9840 return _pcbnew.Cast_to_PCB_SHAPE(arg1)
9843 r"""Cast_to_PCB_MARKER(BOARD_ITEM arg1) -> PCB_MARKER"""
9844 return _pcbnew.Cast_to_PCB_MARKER(arg1)
9847 r"""Cast_to_BOARD(BOARD_ITEM arg1) -> BOARD"""
9848 return _pcbnew.Cast_to_BOARD(arg1)
9851 r"""Cast_to_FP_SHAPE(BOARD_ITEM arg1) -> FP_SHAPE"""
9852 return _pcbnew.Cast_to_FP_SHAPE(arg1)
9855 r"""Cast_to_PAD(BOARD_ITEM arg1) -> PAD"""
9856 return _pcbnew.Cast_to_PAD(arg1)
9859 r"""Cast_to_PCB_TRACK(BOARD_ITEM arg1) -> PCB_TRACK"""
9860 return _pcbnew.Cast_to_PCB_TRACK(arg1)
9863 r"""Cast_to_PCB_VIA(BOARD_ITEM arg1) -> PCB_VIA"""
9864 return _pcbnew.Cast_to_PCB_VIA(arg1)
9867 r"""Cast_to_PCB_ARC(BOARD_ITEM arg1) -> PCB_ARC"""
9868 return _pcbnew.Cast_to_PCB_ARC(arg1)
9871 r"""Cast_to_ZONE(BOARD_ITEM arg1) -> ZONE"""
9872 return _pcbnew.Cast_to_ZONE(arg1)
9875 r"""Cast_to_FP_ZONE(BOARD_ITEM arg1) -> FP_ZONE"""
9876 return _pcbnew.Cast_to_FP_ZONE(arg1)
9879 r"""Cast_to_PCB_TARGET(BOARD_ITEM arg1) -> PCB_TARGET"""
9880 return _pcbnew.Cast_to_PCB_TARGET(arg1)
9883 r"""Cast_to_PCB_BITMAP(BOARD_ITEM arg1) -> PCB_BITMAP"""
9884 return _pcbnew.Cast_to_PCB_BITMAP(arg1)
9885ADD_MODE_INSERT = _pcbnew.ADD_MODE_INSERT
9887ADD_MODE_APPEND = _pcbnew.ADD_MODE_APPEND
9889ADD_MODE_BULK_APPEND = _pcbnew.ADD_MODE_BULK_APPEND
9891ADD_MODE_BULK_INSERT = _pcbnew.ADD_MODE_BULK_INSERT
9893REMOVE_MODE_NORMAL = _pcbnew.REMOVE_MODE_NORMAL
9895REMOVE_MODE_BULK = _pcbnew.REMOVE_MODE_BULK
9898 r"""Proxy of C++ BOARD_ITEM_CONTAINER class."""
9900 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9903 raise AttributeError(
"No constructor defined - class is abstract")
9904 __repr__ = _swig_repr
9907 r"""AddNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
9908 return _pcbnew.BOARD_ITEM_CONTAINER_AddNative(self, *args)
9911 r"""RemoveNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
9912 return _pcbnew.BOARD_ITEM_CONTAINER_RemoveNative(self, *args)
9915 r"""DeleteNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)"""
9916 return _pcbnew.BOARD_ITEM_CONTAINER_DeleteNative(self, aItem)
9919 r"""GetZoneSettings(BOARD_ITEM_CONTAINER self) -> ZONE_SETTINGS"""
9920 return _pcbnew.BOARD_ITEM_CONTAINER_GetZoneSettings(self)
9923 r"""SetZoneSettings(BOARD_ITEM_CONTAINER self, ZONE_SETTINGS aSettings)"""
9924 return _pcbnew.BOARD_ITEM_CONTAINER_SetZoneSettings(self, aSettings)
9928 Add a BOARD_ITEM to this BOARD_ITEM_CONTAINER, clear the thisown to prevent
9929 python from deleting the object
in the garbage collector
9930 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, BOARD_ADD_MODE aMode=BOARD_ADD_MODE::INSERT)
9931 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)
9938 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
9939 the python wrapper owns the C++ BOARD_ITEM
9948 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
9949 the python wrapper does
not owns the C++ BOARD_ITEM
9956 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM_CONTAINER
9959_pcbnew.BOARD_ITEM_CONTAINER_swigregister(BOARD_ITEM_CONTAINER)
9962 r"""Proxy of C++ BOARD_CONNECTED_ITEM class."""
9964 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9967 raise AttributeError(
"No constructor defined - class is abstract")
9968 __repr__ = _swig_repr
9972 r"""ClassOf(EDA_ITEM aItem) -> bool"""
9973 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
9976 r"""GetNet(BOARD_CONNECTED_ITEM self) -> NETINFO_ITEM"""
9977 return _pcbnew.BOARD_CONNECTED_ITEM_GetNet(self)
9980 r"""SetNet(BOARD_CONNECTED_ITEM self, NETINFO_ITEM aNetInfo)"""
9981 return _pcbnew.BOARD_CONNECTED_ITEM_SetNet(self, aNetInfo)
9984 r"""GetNetCode(BOARD_CONNECTED_ITEM self) -> int"""
9985 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetCode(self)
9989 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode, bool aNoAssert) -> bool
9990 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode)
9992 return _pcbnew.BOARD_CONNECTED_ITEM_SetNetCode(self, *args)
9995 r"""GetNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
9996 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetname(self)
9999 r"""GetNetnameMsg(BOARD_CONNECTED_ITEM self) -> wxString"""
10000 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetnameMsg(self)
10003 r"""GetShortNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10004 return _pcbnew.BOARD_CONNECTED_ITEM_GetShortNetname(self)
10007 r"""GetUnescapedShortNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
10008 return _pcbnew.BOARD_CONNECTED_ITEM_GetUnescapedShortNetname(self)
10011 r"""GetOwnClearance(BOARD_CONNECTED_ITEM self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
10012 return _pcbnew.BOARD_CONNECTED_ITEM_GetOwnClearance(self, aLayer, aSource)
10015 r"""GetLocalClearanceOverrides(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
10016 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearanceOverrides(self, aSource)
10019 r"""GetLocalClearance(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
10020 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearance(self, aSource)
10023 r"""GetEffectiveNetClass(BOARD_CONNECTED_ITEM self) -> NETCLASS"""
10024 return _pcbnew.BOARD_CONNECTED_ITEM_GetEffectiveNetClass(self)
10027 r"""GetNetClassName(BOARD_CONNECTED_ITEM self) -> wxString"""
10028 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClassName(self)
10031 r"""SetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self, bool aVisible)"""
10032 return _pcbnew.BOARD_CONNECTED_ITEM_SetLocalRatsnestVisible(self, aVisible)
10035 r"""GetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self) -> bool"""
10036 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalRatsnestVisible(self)
10037 __swig_destroy__ = _pcbnew.delete_BOARD_CONNECTED_ITEM
10040_pcbnew.BOARD_CONNECTED_ITEM_swigregister(BOARD_CONNECTED_ITEM)
10043 r"""BOARD_CONNECTED_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
10044 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
10047 r"""Proxy of C++ std::map< wxString,std::shared_ptr< NETCLASS > > class."""
10049 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10050 __repr__ = _swig_repr
10053 r"""iterator(netclasses_map self) -> SwigPyIterator"""
10054 return _pcbnew.netclasses_map_iterator(self)
10059 r"""__nonzero__(netclasses_map self) -> bool"""
10060 return _pcbnew.netclasses_map___nonzero__(self)
10063 r"""__bool__(netclasses_map self) -> bool"""
10064 return _pcbnew.netclasses_map___bool__(self)
10067 r"""__len__(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10068 return _pcbnew.netclasses_map___len__(self)
10079 r"""__getitem__(netclasses_map self, wxString key) -> std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const &"""
10080 return _pcbnew.netclasses_map___getitem__(self, key)
10083 r"""__delitem__(netclasses_map self, wxString key)"""
10084 return _pcbnew.netclasses_map___delitem__(self, key)
10087 r"""has_key(netclasses_map self, wxString key) -> bool"""
10088 return _pcbnew.netclasses_map_has_key(self, key)
10091 r"""keys(netclasses_map self) -> PyObject *"""
10092 return _pcbnew.netclasses_map_keys(self)
10095 r"""values(netclasses_map self) -> PyObject *"""
10096 return _pcbnew.netclasses_map_values(self)
10099 r"""items(netclasses_map self) -> PyObject *"""
10100 return _pcbnew.netclasses_map_items(self)
10103 r"""__contains__(netclasses_map self, wxString key) -> bool"""
10104 return _pcbnew.netclasses_map___contains__(self, key)
10107 r"""key_iterator(netclasses_map self) -> SwigPyIterator"""
10108 return _pcbnew.netclasses_map_key_iterator(self)
10111 r"""value_iterator(netclasses_map self) -> SwigPyIterator"""
10112 return _pcbnew.netclasses_map_value_iterator(self)
10117 __setitem__(netclasses_map self, wxString key, std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const & x)
10119 return _pcbnew.netclasses_map___setitem__(self, *args)
10122 r"""asdict(netclasses_map self) -> PyObject *"""
10123 return _pcbnew.netclasses_map_asdict(self)
10127 __init__(netclasses_map self, std::less< wxString > const & other) -> netclasses_map
10128 __init__(netclasses_map self) -> netclasses_map
10129 __init__(netclasses_map self, netclasses_map other) -> netclasses_map
10131 _pcbnew.netclasses_map_swiginit(self, _pcbnew.new_netclasses_map(*args))
10134 r"""empty(netclasses_map self) -> bool"""
10135 return _pcbnew.netclasses_map_empty(self)
10138 r"""size(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10139 return _pcbnew.netclasses_map_size(self)
10142 r"""swap(netclasses_map self, netclasses_map v)"""
10143 return _pcbnew.netclasses_map_swap(self, v)
10146 r"""begin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10147 return _pcbnew.netclasses_map_begin(self)
10150 r"""end(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10151 return _pcbnew.netclasses_map_end(self)
10154 r"""rbegin(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10155 return _pcbnew.netclasses_map_rbegin(self)
10158 r"""rend(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
10159 return _pcbnew.netclasses_map_rend(self)
10162 r"""clear(netclasses_map self)"""
10163 return _pcbnew.netclasses_map_clear(self)
10166 r"""get_allocator(netclasses_map self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::allocator_type"""
10167 return _pcbnew.netclasses_map_get_allocator(self)
10170 r"""count(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
10171 return _pcbnew.netclasses_map_count(self, x)
10175 erase(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type
10176 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator position)
10177 erase(netclasses_map self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator first, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator last)
10179 return _pcbnew.netclasses_map_erase(self, *args)
10182 r"""find(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10183 return _pcbnew.netclasses_map_find(self, x)
10186 r"""lower_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10187 return _pcbnew.netclasses_map_lower_bound(self, x)
10190 r"""upper_bound(netclasses_map self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
10191 return _pcbnew.netclasses_map_upper_bound(self, x)
10192 __swig_destroy__ = _pcbnew.delete_netclasses_map
10195_pcbnew.netclasses_map_swigregister(netclasses_map)
10197DEFAULT_SILK_LINE_WIDTH = _pcbnew.DEFAULT_SILK_LINE_WIDTH
10199DEFAULT_COPPER_LINE_WIDTH = _pcbnew.DEFAULT_COPPER_LINE_WIDTH
10201DEFAULT_EDGE_WIDTH = _pcbnew.DEFAULT_EDGE_WIDTH
10203DEFAULT_COURTYARD_WIDTH = _pcbnew.DEFAULT_COURTYARD_WIDTH
10205DEFAULT_LINE_WIDTH = _pcbnew.DEFAULT_LINE_WIDTH
10207DEFAULT_SILK_TEXT_SIZE = _pcbnew.DEFAULT_SILK_TEXT_SIZE
10209DEFAULT_COPPER_TEXT_SIZE = _pcbnew.DEFAULT_COPPER_TEXT_SIZE
10211DEFAULT_TEXT_SIZE = _pcbnew.DEFAULT_TEXT_SIZE
10213DEFAULT_SILK_TEXT_WIDTH = _pcbnew.DEFAULT_SILK_TEXT_WIDTH
10215DEFAULT_COPPER_TEXT_WIDTH = _pcbnew.DEFAULT_COPPER_TEXT_WIDTH
10217DEFAULT_TEXT_WIDTH = _pcbnew.DEFAULT_TEXT_WIDTH
10219DEFAULT_DIMENSION_ARROW_LENGTH = _pcbnew.DEFAULT_DIMENSION_ARROW_LENGTH
10221DEFAULT_DIMENSION_EXTENSION_OFFSET = _pcbnew.DEFAULT_DIMENSION_EXTENSION_OFFSET
10223DEFAULT_BOARD_THICKNESS_MM = _pcbnew.DEFAULT_BOARD_THICKNESS_MM
10225DEFAULT_PCB_EDGE_THICKNESS = _pcbnew.DEFAULT_PCB_EDGE_THICKNESS
10227DEFAULT_SOLDERMASK_EXPANSION = _pcbnew.DEFAULT_SOLDERMASK_EXPANSION
10229DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE = _pcbnew.DEFAULT_SOLDERMASK_TO_COPPER_CLEARANCE
10231DEFAULT_SOLDERMASK_MIN_WIDTH = _pcbnew.DEFAULT_SOLDERMASK_MIN_WIDTH
10233DEFAULT_SOLDERPASTE_CLEARANCE = _pcbnew.DEFAULT_SOLDERPASTE_CLEARANCE
10235DEFAULT_SOLDERPASTE_RATIO = _pcbnew.DEFAULT_SOLDERPASTE_RATIO
10237DEFAULT_CUSTOMTRACKWIDTH = _pcbnew.DEFAULT_CUSTOMTRACKWIDTH
10239DEFAULT_CUSTOMDPAIRWIDTH = _pcbnew.DEFAULT_CUSTOMDPAIRWIDTH
10241DEFAULT_CUSTOMDPAIRGAP = _pcbnew.DEFAULT_CUSTOMDPAIRGAP
10243DEFAULT_CUSTOMDPAIRVIAGAP = _pcbnew.DEFAULT_CUSTOMDPAIRVIAGAP
10245DEFAULT_MINCLEARANCE = _pcbnew.DEFAULT_MINCLEARANCE
10247DEFAULT_MINCONNECTION = _pcbnew.DEFAULT_MINCONNECTION
10249DEFAULT_TRACKMINWIDTH = _pcbnew.DEFAULT_TRACKMINWIDTH
10251DEFAULT_VIASMINSIZE = _pcbnew.DEFAULT_VIASMINSIZE
10253DEFAULT_MINTHROUGHDRILL = _pcbnew.DEFAULT_MINTHROUGHDRILL
10255DEFAULT_MICROVIASMINSIZE = _pcbnew.DEFAULT_MICROVIASMINSIZE
10257DEFAULT_MICROVIASMINDRILL = _pcbnew.DEFAULT_MICROVIASMINDRILL
10259DEFAULT_HOLETOHOLEMIN = _pcbnew.DEFAULT_HOLETOHOLEMIN
10261DEFAULT_HOLECLEARANCE = _pcbnew.DEFAULT_HOLECLEARANCE
10263DEFAULT_COPPEREDGECLEARANCE = _pcbnew.DEFAULT_COPPEREDGECLEARANCE
10265LEGACY_COPPEREDGECLEARANCE = _pcbnew.LEGACY_COPPEREDGECLEARANCE
10267DEFAULT_SILKCLEARANCE = _pcbnew.DEFAULT_SILKCLEARANCE
10269DEFAULT_MINRESOLVEDSPOKES = _pcbnew.DEFAULT_MINRESOLVEDSPOKES
10271MINIMUM_ERROR_SIZE_MM = _pcbnew.MINIMUM_ERROR_SIZE_MM
10273MAXIMUM_ERROR_SIZE_MM = _pcbnew.MAXIMUM_ERROR_SIZE_MM
10276 r"""Proxy of C++ VIA_DIMENSION class."""
10278 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10279 __repr__ = _swig_repr
10280 m_Diameter = property(_pcbnew.VIA_DIMENSION_m_Diameter_get, _pcbnew.VIA_DIMENSION_m_Diameter_set, doc=
r"""m_Diameter : int""")
10281 m_Drill = property(_pcbnew.VIA_DIMENSION_m_Drill_get, _pcbnew.VIA_DIMENSION_m_Drill_set, doc=
r"""m_Drill : int""")
10285 __init__(VIA_DIMENSION self) -> VIA_DIMENSION
10286 __init__(VIA_DIMENSION self, int aDiameter, int aDrill) -> VIA_DIMENSION
10288 _pcbnew.VIA_DIMENSION_swiginit(self, _pcbnew.new_VIA_DIMENSION(*args))
10291 r"""__eq__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10292 return _pcbnew.VIA_DIMENSION___eq__(self, aOther)
10295 r"""__lt__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
10296 return _pcbnew.VIA_DIMENSION___lt__(self, aOther)
10297 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION
10300_pcbnew.VIA_DIMENSION_swigregister(VIA_DIMENSION)
10303 r"""Proxy of C++ DIFF_PAIR_DIMENSION class."""
10305 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10306 __repr__ = _swig_repr
10307 m_Width = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Width_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Width_set, doc=
r"""m_Width : int""")
10308 m_Gap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Gap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Gap_set, doc=
r"""m_Gap : int""")
10309 m_ViaGap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_set, doc=
r"""m_ViaGap : int""")
10313 __init__(DIFF_PAIR_DIMENSION self) -> DIFF_PAIR_DIMENSION
10314 __init__(DIFF_PAIR_DIMENSION self, int aWidth, int aGap, int aViaGap) -> DIFF_PAIR_DIMENSION
10316 _pcbnew.DIFF_PAIR_DIMENSION_swiginit(self, _pcbnew.new_DIFF_PAIR_DIMENSION(*args))
10319 r"""__eq__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10320 return _pcbnew.DIFF_PAIR_DIMENSION___eq__(self, aOther)
10323 r"""__lt__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
10324 return _pcbnew.DIFF_PAIR_DIMENSION___lt__(self, aOther)
10325 __swig_destroy__ = _pcbnew.delete_DIFF_PAIR_DIMENSION
10328_pcbnew.DIFF_PAIR_DIMENSION_swigregister(DIFF_PAIR_DIMENSION)
10330LAYER_CLASS_SILK = _pcbnew.LAYER_CLASS_SILK
10332LAYER_CLASS_COPPER = _pcbnew.LAYER_CLASS_COPPER
10334LAYER_CLASS_EDGES = _pcbnew.LAYER_CLASS_EDGES
10336LAYER_CLASS_COURTYARD = _pcbnew.LAYER_CLASS_COURTYARD
10338LAYER_CLASS_FAB = _pcbnew.LAYER_CLASS_FAB
10340LAYER_CLASS_OTHERS = _pcbnew.LAYER_CLASS_OTHERS
10342LAYER_CLASS_COUNT = _pcbnew.LAYER_CLASS_COUNT
10345 r"""Proxy of C++ TEXT_ITEM_INFO class."""
10347 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10348 __repr__ = _swig_repr
10349 m_Text = property(_pcbnew.TEXT_ITEM_INFO_m_Text_get, _pcbnew.TEXT_ITEM_INFO_m_Text_set, doc=
r"""m_Text : wxString""")
10350 m_Visible = property(_pcbnew.TEXT_ITEM_INFO_m_Visible_get, _pcbnew.TEXT_ITEM_INFO_m_Visible_set, doc=
r"""m_Visible : bool""")
10351 m_Layer = property(_pcbnew.TEXT_ITEM_INFO_m_Layer_get, _pcbnew.TEXT_ITEM_INFO_m_Layer_set, doc=
r"""m_Layer : int""")
10354 r"""__init__(TEXT_ITEM_INFO self, wxString aText, bool aVisible, int aLayer) -> TEXT_ITEM_INFO"""
10355 _pcbnew.TEXT_ITEM_INFO_swiginit(self, _pcbnew.new_TEXT_ITEM_INFO(aText, aVisible, aLayer))
10356 __swig_destroy__ = _pcbnew.delete_TEXT_ITEM_INFO
10359_pcbnew.TEXT_ITEM_INFO_swigregister(TEXT_ITEM_INFO)
10362 r"""Proxy of C++ BOARD_DESIGN_SETTINGS class."""
10364 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10365 __repr__ = _swig_repr
10366 __swig_destroy__ = _pcbnew.delete_BOARD_DESIGN_SETTINGS
10370 __init__(BOARD_DESIGN_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> BOARD_DESIGN_SETTINGS
10371 __init__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> BOARD_DESIGN_SETTINGS
10373 _pcbnew.BOARD_DESIGN_SETTINGS_swiginit(self, _pcbnew.new_BOARD_DESIGN_SETTINGS(*args))
10376 r"""LoadFromFile(BOARD_DESIGN_SETTINGS self, wxString aDirectory="") -> bool"""
10377 return _pcbnew.BOARD_DESIGN_SETTINGS_LoadFromFile(self, *args)
10384 return _pcbnew.BOARD_DESIGN_SETTINGS_GetStackupDescriptor(self, *args)
10387 r"""GetTeadropParamsList(BOARD_DESIGN_SETTINGS self) -> TEARDROP_PARAMETERS_LIST *"""
10388 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTeadropParamsList(self)
10391 r"""GetSeverity(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> SEVERITY"""
10392 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSeverity(self, aDRCErrorCode)
10395 r"""Ignore(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> bool"""
10396 return _pcbnew.BOARD_DESIGN_SETTINGS_Ignore(self, aDRCErrorCode)
10399 r"""GetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self) -> ZONE_SETTINGS"""
10400 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDefaultZoneSettings(self)
10403 r"""SetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self, ZONE_SETTINGS aSettings)"""
10404 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDefaultZoneSettings(self, aSettings)
10407 r"""GetCurrentNetClassName(BOARD_DESIGN_SETTINGS self) -> wxString"""
10408 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentNetClassName(self)
10411 r"""UseNetClassTrack(BOARD_DESIGN_SETTINGS self) -> bool"""
10412 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassTrack(self)
10415 r"""UseNetClassVia(BOARD_DESIGN_SETTINGS self) -> bool"""
10416 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassVia(self)
10419 r"""UseNetClassDiffPair(BOARD_DESIGN_SETTINGS self) -> bool"""
10420 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassDiffPair(self)
10423 r"""GetBiggestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
10424 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBiggestClearanceValue(self)
10427 r"""GetSmallestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
10428 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSmallestClearanceValue(self)
10431 r"""GetTrackWidthIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10432 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTrackWidthIndex(self)
10435 r"""SetTrackWidthIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10436 return _pcbnew.BOARD_DESIGN_SETTINGS_SetTrackWidthIndex(self, aIndex)
10439 r"""GetCurrentTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10440 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentTrackWidth(self)
10443 r"""SetCustomTrackWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
10444 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomTrackWidth(self, aWidth)
10447 r"""GetCustomTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10448 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomTrackWidth(self)
10451 r"""GetViaSizeIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10452 return _pcbnew.BOARD_DESIGN_SETTINGS_GetViaSizeIndex(self)
10455 r"""SetViaSizeIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10456 return _pcbnew.BOARD_DESIGN_SETTINGS_SetViaSizeIndex(self, aIndex)
10459 r"""GetCurrentViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
10460 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaSize(self)
10463 r"""SetCustomViaSize(BOARD_DESIGN_SETTINGS self, int aSize)"""
10464 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaSize(self, aSize)
10467 r"""GetCustomViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
10468 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaSize(self)
10471 r"""GetCurrentViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
10472 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaDrill(self)
10475 r"""SetCustomViaDrill(BOARD_DESIGN_SETTINGS self, int aDrill)"""
10476 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaDrill(self, aDrill)
10479 r"""GetCustomViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
10480 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaDrill(self)
10487 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomTrackViaSize(self, *args)
10490 r"""GetDiffPairIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
10491 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDiffPairIndex(self)
10494 r"""SetDiffPairIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
10495 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDiffPairIndex(self, aIndex)
10498 r"""SetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
10499 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairWidth(self, aWidth)
10502 r"""GetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10503 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairWidth(self)
10506 r"""SetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
10507 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairGap(self, aGap)
10510 r"""GetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
10511 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairGap(self)
10514 r"""SetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
10515 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairViaGap(self, aGap)
10518 r"""GetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
10519 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairViaGap(self)
10526 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomDiffPairDimensions(self, *args)
10529 r"""GetCurrentDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
10530 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairWidth(self)
10533 r"""GetCurrentDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
10534 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairGap(self)
10537 r"""GetCurrentDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
10538 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairViaGap(self)
10541 r"""GetEnabledLayers(BOARD_DESIGN_SETTINGS self) -> LSET"""
10542 return _pcbnew.BOARD_DESIGN_SETTINGS_GetEnabledLayers(self)
10545 r"""SetEnabledLayers(BOARD_DESIGN_SETTINGS self, LSET aMask)"""
10546 return _pcbnew.BOARD_DESIGN_SETTINGS_SetEnabledLayers(self, aMask)
10549 r"""IsLayerEnabled(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayerId) -> bool"""
10550 return _pcbnew.BOARD_DESIGN_SETTINGS_IsLayerEnabled(self, aLayerId)
10553 r"""GetCopperLayerCount(BOARD_DESIGN_SETTINGS self) -> int"""
10554 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCopperLayerCount(self)
10557 r"""SetCopperLayerCount(BOARD_DESIGN_SETTINGS self, int aNewLayerCount)"""
10558 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCopperLayerCount(self, aNewLayerCount)
10561 r"""GetBoardThickness(BOARD_DESIGN_SETTINGS self) -> int"""
10562 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBoardThickness(self)
10565 r"""SetBoardThickness(BOARD_DESIGN_SETTINGS self, int aThickness)"""
10566 return _pcbnew.BOARD_DESIGN_SETTINGS_SetBoardThickness(self, aThickness)
10569 r"""GetDRCEpsilon(BOARD_DESIGN_SETTINGS self) -> int"""
10570 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDRCEpsilon(self)
10573 r"""GetHolePlatingThickness(BOARD_DESIGN_SETTINGS self) -> int"""
10574 return _pcbnew.BOARD_DESIGN_SETTINGS_GetHolePlatingThickness(self)
10577 r"""GetLineThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
10578 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLineThickness(self, aLayer)
10581 r"""GetTextSize(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> wxSize"""
10582 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextSize(self, aLayer)
10585 r"""GetTextThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
10586 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextThickness(self, aLayer)
10589 r"""GetTextItalic(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
10590 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextItalic(self, aLayer)
10593 r"""GetTextUpright(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
10594 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextUpright(self, aLayer)
10597 r"""GetLayerClass(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
10598 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLayerClass(self, aLayer)
10601 r"""SetAuxOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
10602 return _pcbnew.BOARD_DESIGN_SETTINGS_SetAuxOrigin(self, aOrigin)
10605 r"""GetAuxOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
10606 return _pcbnew.BOARD_DESIGN_SETTINGS_GetAuxOrigin(self)
10609 r"""SetGridOrigin(BOARD_DESIGN_SETTINGS self, VECTOR2I aOrigin)"""
10610 return _pcbnew.BOARD_DESIGN_SETTINGS_SetGridOrigin(self, aOrigin)
10613 r"""GetGridOrigin(BOARD_DESIGN_SETTINGS self) -> VECTOR2I"""
10614 return _pcbnew.BOARD_DESIGN_SETTINGS_GetGridOrigin(self)
10615 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)>)>""")
10616 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)>)>""")
10617 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)>)>""")
10618 m_TeardropParamsList = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TeardropParamsList_set, doc=
r"""m_TeardropParamsList : TEARDROP_PARAMETERS_LIST""")
10619 m_CurrentViaType = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_set, doc=
r"""m_CurrentViaType : VIATYPE""")
10620 m_UseConnectedTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_set, doc=
r"""m_UseConnectedTrackWidth : bool""")
10621 m_TempOverrideTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_set, doc=
r"""m_TempOverrideTrackWidth : bool""")
10622 m_MinClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_set, doc=
r"""m_MinClearance : int""")
10623 m_MinConn = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinConn_set, doc=
r"""m_MinConn : int""")
10624 m_TrackMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_set, doc=
r"""m_TrackMinWidth : int""")
10625 m_ViasMinAnnularWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_set, doc=
r"""m_ViasMinAnnularWidth : int""")
10626 m_ViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_set, doc=
r"""m_ViasMinSize : int""")
10627 m_MinThroughDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_set, doc=
r"""m_MinThroughDrill : int""")
10628 m_MicroViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_set, doc=
r"""m_MicroViasMinSize : int""")
10629 m_MicroViasMinDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_set, doc=
r"""m_MicroViasMinDrill : int""")
10630 m_CopperEdgeClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_set, doc=
r"""m_CopperEdgeClearance : int""")
10631 m_HoleClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_set, doc=
r"""m_HoleClearance : int""")
10632 m_HoleToHoleMin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_set, doc=
r"""m_HoleToHoleMin : int""")
10633 m_SilkClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_set, doc=
r"""m_SilkClearance : int""")
10634 m_MinResolvedSpokes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinResolvedSpokes_set, doc=
r"""m_MinResolvedSpokes : int""")
10635 m_MinSilkTextHeight = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextHeight_set, doc=
r"""m_MinSilkTextHeight : int""")
10636 m_MinSilkTextThickness = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinSilkTextThickness_set, doc=
r"""m_MinSilkTextThickness : int""")
10637 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)>)>)>""")
10638 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)>)>""")
10639 m_ZoneKeepExternalFillets = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_set, doc=
r"""m_ZoneKeepExternalFillets : bool""")
10640 m_MaxError = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_set, doc=
r"""m_MaxError : int""")
10641 m_SolderMaskExpansion = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskExpansion_set, doc=
r"""m_SolderMaskExpansion : int""")
10642 m_SolderMaskMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_set, doc=
r"""m_SolderMaskMinWidth : int""")
10643 m_SolderMaskToCopperClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskToCopperClearance_set, doc=
r"""m_SolderMaskToCopperClearance : int""")
10644 m_SolderPasteMargin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_set, doc=
r"""m_SolderPasteMargin : int""")
10645 m_SolderPasteMarginRatio = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_set, doc=
r"""m_SolderPasteMarginRatio : double""")
10646 m_AllowSoldermaskBridgesInFPs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_AllowSoldermaskBridgesInFPs_set, doc=
r"""m_AllowSoldermaskBridgesInFPs : bool""")
10647 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)>""")
10648 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)>)>""")
10649 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""")
10650 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).wxSize""")
10651 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""")
10652 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""")
10653 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""")
10654 m_DimensionUnitsMode = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_set, doc=
r"""m_DimensionUnitsMode : DIM_UNITS_MODE""")
10655 m_DimensionPrecision = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_set, doc=
r"""m_DimensionPrecision : DIM_PRECISION""")
10656 m_DimensionUnitsFormat = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_set, doc=
r"""m_DimensionUnitsFormat : DIM_UNITS_FORMAT""")
10657 m_DimensionSuppressZeroes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_set, doc=
r"""m_DimensionSuppressZeroes : bool""")
10658 m_DimensionTextPosition = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_set, doc=
r"""m_DimensionTextPosition : DIM_TEXT_POSITION""")
10659 m_DimensionKeepTextAligned = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_set, doc=
r"""m_DimensionKeepTextAligned : bool""")
10660 m_DimensionArrowLength = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_set, doc=
r"""m_DimensionArrowLength : int""")
10661 m_DimensionExtensionOffset = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_set, doc=
r"""m_DimensionExtensionOffset : int""")
10662 m_HasStackup = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_set, doc=
r"""m_HasStackup : bool""")
10663 m_UseHeightForLengthCalcs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_set, doc=
r"""m_UseHeightForLengthCalcs : bool""")
10666 r"""CloneFrom(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther)"""
10667 return _pcbnew.BOARD_DESIGN_SETTINGS_CloneFrom(self, aOther)
10670_pcbnew.BOARD_DESIGN_SETTINGS_swigregister(BOARD_DESIGN_SETTINGS)
10673 r"""Proxy of C++ NET_SETTINGS class."""
10675 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10676 __repr__ = _swig_repr
10679 r"""__init__(NET_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> NET_SETTINGS"""
10680 _pcbnew.NET_SETTINGS_swiginit(self, _pcbnew.new_NET_SETTINGS(aParent, aPath))
10681 __swig_destroy__ = _pcbnew.delete_NET_SETTINGS
10682 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)>)>)>)>""")
10683 m_DefaultNetClass = property(_pcbnew.NET_SETTINGS_m_DefaultNetClass_get, _pcbnew.NET_SETTINGS_m_DefaultNetClass_set, doc=
r"""m_DefaultNetClass : std::shared_ptr<(NETCLASS)>""")
10684 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)>)>)>""")
10687 r"""GetEffectiveNetClass(NET_SETTINGS self, wxString aNetName) -> std::shared_ptr< NETCLASS >"""
10688 return _pcbnew.NET_SETTINGS_GetEffectiveNetClass(self, aNetName)
10692 r"""ParseBusVector(wxString aBus, wxString aName, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
10693 return _pcbnew.NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
10697 r"""ParseBusGroup(wxString aGroup, wxString name, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
10698 return _pcbnew.NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
10701_pcbnew.NET_SETTINGS_swigregister(NET_SETTINGS)
10704 r"""NET_SETTINGS_ParseBusVector(wxString aBus, wxString aName, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
10705 return _pcbnew.NET_SETTINGS_ParseBusVector(aBus, aName, aMemberList)
10708 r"""NET_SETTINGS_ParseBusGroup(wxString aGroup, wxString name, std::vector< wxString,std::allocator< wxString > > * aMemberList) -> bool"""
10709 return _pcbnew.NET_SETTINGS_ParseBusGroup(aGroup, name, aMemberList)
10712 r"""Proxy of C++ CN_DISJOINT_NET_ENTRY class."""
10714 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10715 __repr__ = _swig_repr
10716 net = property(_pcbnew.CN_DISJOINT_NET_ENTRY_net_get, _pcbnew.CN_DISJOINT_NET_ENTRY_net_set, doc=
r"""net : int""")
10717 a = property(_pcbnew.CN_DISJOINT_NET_ENTRY_a_get, _pcbnew.CN_DISJOINT_NET_ENTRY_a_set, doc=
r"""a : p.BOARD_CONNECTED_ITEM""")
10718 b = property(_pcbnew.CN_DISJOINT_NET_ENTRY_b_get, _pcbnew.CN_DISJOINT_NET_ENTRY_b_set, doc=
r"""b : p.BOARD_CONNECTED_ITEM""")
10719 anchorA = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_set, doc=
r"""anchorA : VECTOR2I""")
10720 anchorB = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_set, doc=
r"""anchorB : VECTOR2I""")
10723 r"""__init__(CN_DISJOINT_NET_ENTRY self) -> CN_DISJOINT_NET_ENTRY"""
10724 _pcbnew.CN_DISJOINT_NET_ENTRY_swiginit(self, _pcbnew.new_CN_DISJOINT_NET_ENTRY())
10725 __swig_destroy__ = _pcbnew.delete_CN_DISJOINT_NET_ENTRY
10728_pcbnew.CN_DISJOINT_NET_ENTRY_swigregister(CN_DISJOINT_NET_ENTRY)
10731 r"""Proxy of C++ RN_DYNAMIC_LINE class."""
10733 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10734 __repr__ = _swig_repr
10735 netCode = property(_pcbnew.RN_DYNAMIC_LINE_netCode_get, _pcbnew.RN_DYNAMIC_LINE_netCode_set, doc=
r"""netCode : int""")
10736 a = property(_pcbnew.RN_DYNAMIC_LINE_a_get, _pcbnew.RN_DYNAMIC_LINE_a_set, doc=
r"""a : VECTOR2I""")
10737 b = property(_pcbnew.RN_DYNAMIC_LINE_b_get, _pcbnew.RN_DYNAMIC_LINE_b_set, doc=
r"""b : VECTOR2I""")
10740 r"""__init__(RN_DYNAMIC_LINE self) -> RN_DYNAMIC_LINE"""
10741 _pcbnew.RN_DYNAMIC_LINE_swiginit(self, _pcbnew.new_RN_DYNAMIC_LINE())
10742 __swig_destroy__ = _pcbnew.delete_RN_DYNAMIC_LINE
10745_pcbnew.RN_DYNAMIC_LINE_swigregister(RN_DYNAMIC_LINE)
10747PROPAGATE_MODE_SKIP_CONFLICTS = _pcbnew.PROPAGATE_MODE_SKIP_CONFLICTS
10749PROPAGATE_MODE_RESOLVE_CONFLICTS = _pcbnew.PROPAGATE_MODE_RESOLVE_CONFLICTS
10752 r"""Proxy of C++ CONNECTIVITY_DATA class."""
10754 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10755 __repr__ = _swig_repr
10756 __swig_destroy__ = _pcbnew.delete_CONNECTIVITY_DATA
10760 __init__(CONNECTIVITY_DATA self) -> CONNECTIVITY_DATA
10761 __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
10763 _pcbnew.CONNECTIVITY_DATA_swiginit(self, _pcbnew.new_CONNECTIVITY_DATA(*args))
10767 Build(CONNECTIVITY_DATA self, BOARD aBoard, PROGRESS_REPORTER * aReporter=None) -> bool
10768 Build(CONNECTIVITY_DATA self, std::shared_ptr< CONNECTIVITY_DATA > & aGlobalConnectivity, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aLocalItems)
10770 return _pcbnew.CONNECTIVITY_DATA_Build(self, *args)
10773 r"""Add(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
10774 return _pcbnew.CONNECTIVITY_DATA_Add(self, aItem)
10777 r"""Remove(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
10778 return _pcbnew.CONNECTIVITY_DATA_Remove(self, aItem)
10781 r"""Update(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
10782 return _pcbnew.CONNECTIVITY_DATA_Update(self, aItem)
10785 r"""Move(CONNECTIVITY_DATA self, VECTOR2I aDelta)"""
10786 return _pcbnew.CONNECTIVITY_DATA_Move(self, aDelta)
10789 r"""ClearRatsnest(CONNECTIVITY_DATA self)"""
10790 return _pcbnew.CONNECTIVITY_DATA_ClearRatsnest(self)
10793 r"""GetNetCount(CONNECTIVITY_DATA self) -> int"""
10794 return _pcbnew.CONNECTIVITY_DATA_GetNetCount(self)
10797 r"""GetRatsnestForNet(CONNECTIVITY_DATA self, int aNet) -> RN_NET *"""
10798 return _pcbnew.CONNECTIVITY_DATA_GetRatsnestForNet(self, aNet)
10801 r"""PropagateNets(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
10802 return _pcbnew.CONNECTIVITY_DATA_PropagateNets(self, aCommit)
10805 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)"""
10806 return _pcbnew.CONNECTIVITY_DATA_FillIsolatedIslandsMap(self, aMap, aConnectivityAlreadyRebuilt)
10809 r"""RecalculateRatsnest(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
10810 return _pcbnew.CONNECTIVITY_DATA_RecalculateRatsnest(self, aCommit)
10813 r"""GetUnconnectedCount(CONNECTIVITY_DATA self, bool aVisibileOnly) -> unsigned int"""
10814 return _pcbnew.CONNECTIVITY_DATA_GetUnconnectedCount(self, aVisibileOnly)
10817 r"""IsConnectedOnLayer(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, int aLayer, std::initializer_list< KICAD_T > const & aTypes={}) -> bool"""
10818 return _pcbnew.CONNECTIVITY_DATA_IsConnectedOnLayer(self, *args)
10821 r"""GetNodeCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
10822 return _pcbnew.CONNECTIVITY_DATA_GetNodeCount(self, aNet)
10825 r"""GetPadCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
10826 return _pcbnew.CONNECTIVITY_DATA_GetPadCount(self, aNet)
10829 r"""GetConnectedTracks(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> TRACKS_VEC"""
10830 return _pcbnew.CONNECTIVITY_DATA_GetConnectedTracks(self, aItem)
10834 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> PADS_VEC
10835 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::set< PAD *,std::less< PAD * >,std::allocator< PAD * > > * pads)
10837 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPads(self, *args)
10840 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"""
10841 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItemsAtAnchor(self, aItem, aAnchor, aTypes, aMaxError)
10844 r"""RunOnUnconnectedEdges(CONNECTIVITY_DATA self, std::function< bool (CN_EDGE &) > aFunc)"""
10845 return _pcbnew.CONNECTIVITY_DATA_RunOnUnconnectedEdges(self, aFunc)
10848 r"""TestTrackEndpointDangling(CONNECTIVITY_DATA self, PCB_TRACK aTrack, bool aIgnoreTracksInPads, VECTOR2I aPos=None) -> bool"""
10849 return _pcbnew.CONNECTIVITY_DATA_TestTrackEndpointDangling(self, aTrack, aIgnoreTracksInPads, aPos)
10852 r"""ClearLocalRatsnest(CONNECTIVITY_DATA self)"""
10853 return _pcbnew.CONNECTIVITY_DATA_ClearLocalRatsnest(self)
10856 r"""HideLocalRatsnest(CONNECTIVITY_DATA self)"""
10857 return _pcbnew.CONNECTIVITY_DATA_HideLocalRatsnest(self)
10860 r"""ComputeLocalRatsnest(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems, CONNECTIVITY_DATA aDynamicData, VECTOR2I aInternalOffset={ 0, 0 })"""
10861 return _pcbnew.CONNECTIVITY_DATA_ComputeLocalRatsnest(self, *args)
10864 r"""GetLocalRatsnest(CONNECTIVITY_DATA self) -> std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &"""
10865 return _pcbnew.CONNECTIVITY_DATA_GetLocalRatsnest(self)
10868 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"""
10869 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItems(self, aItem, aTypes, aIgnoreNetcodes)
10872 r"""GetNetItems(CONNECTIVITY_DATA self, int aNetCode, std::vector< KICAD_T,std::allocator< KICAD_T > > const & aTypes) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
10873 return _pcbnew.CONNECTIVITY_DATA_GetNetItems(self, aNetCode, aTypes)
10876 r"""BlockRatsnestItems(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)"""
10877 return _pcbnew.CONNECTIVITY_DATA_BlockRatsnestItems(self, aItems)
10880 r"""GetConnectivityAlgo(CONNECTIVITY_DATA self) -> std::shared_ptr< CN_CONNECTIVITY_ALGO >"""
10881 return _pcbnew.CONNECTIVITY_DATA_GetConnectivityAlgo(self)
10884 r"""GetLock(CONNECTIVITY_DATA self) -> KISPINLOCK &"""
10885 return _pcbnew.CONNECTIVITY_DATA_GetLock(self)
10888 r"""MarkItemNetAsDirty(CONNECTIVITY_DATA self, BOARD_ITEM aItem)"""
10889 return _pcbnew.CONNECTIVITY_DATA_MarkItemNetAsDirty(self, aItem)
10892 r"""RemoveInvalidRefs(CONNECTIVITY_DATA self)"""
10893 return _pcbnew.CONNECTIVITY_DATA_RemoveInvalidRefs(self)
10896 r"""SetProgressReporter(CONNECTIVITY_DATA self, PROGRESS_REPORTER * aReporter)"""
10897 return _pcbnew.CONNECTIVITY_DATA_SetProgressReporter(self, aReporter)
10900 r"""GetNetclassMap(CONNECTIVITY_DATA self) -> std::map< int,wxString,std::less< int >,std::allocator< std::pair< int const,wxString > > > const &"""
10901 return _pcbnew.CONNECTIVITY_DATA_GetNetclassMap(self)
10904 r"""GetFromToCache(CONNECTIVITY_DATA self) -> std::shared_ptr< FROM_TO_CACHE >"""
10905 return _pcbnew.CONNECTIVITY_DATA_GetFromToCache(self)
10908_pcbnew.CONNECTIVITY_DATA_swigregister(CONNECTIVITY_DATA)
10911 r"""Proxy of C++ std::vector< PCB_MARKER * > class."""
10913 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10914 __repr__ = _swig_repr
10917 r"""iterator(MARKERS self) -> SwigPyIterator"""
10918 return _pcbnew.MARKERS_iterator(self)
10923 r"""__nonzero__(MARKERS self) -> bool"""
10924 return _pcbnew.MARKERS___nonzero__(self)
10927 r"""__bool__(MARKERS self) -> bool"""
10928 return _pcbnew.MARKERS___bool__(self)
10931 r"""__len__(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
10932 return _pcbnew.MARKERS___len__(self)
10935 r"""__getslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j) -> MARKERS"""
10936 return _pcbnew.MARKERS___getslice__(self, i, j)
10940 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)
10941 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j, MARKERS v)
10943 return _pcbnew.MARKERS___setslice__(self, *args)
10946 r"""__delslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)"""
10947 return _pcbnew.MARKERS___delslice__(self, i, j)
10951 __delitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i)
10954 return _pcbnew.MARKERS___delitem__(self, *args)
10958 __getitem__(MARKERS self, PySliceObject * slice) -> MARKERS
10959 __getitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i) -> PCB_MARKER
10961 return _pcbnew.MARKERS___getitem__(self, *args)
10965 __setitem__(MARKERS self, PySliceObject * slice, MARKERS v)
10967 __setitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, PCB_MARKER x)
10969 return _pcbnew.MARKERS___setitem__(self, *args)
10972 r"""pop(MARKERS self) -> PCB_MARKER"""
10973 return _pcbnew.MARKERS_pop(self)
10976 r"""append(MARKERS self, PCB_MARKER x)"""
10977 return _pcbnew.MARKERS_append(self, x)
10980 r"""empty(MARKERS self) -> bool"""
10981 return _pcbnew.MARKERS_empty(self)
10984 r"""size(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
10985 return _pcbnew.MARKERS_size(self)
10988 r"""swap(MARKERS self, MARKERS v)"""
10989 return _pcbnew.MARKERS_swap(self, v)
10992 r"""begin(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
10993 return _pcbnew.MARKERS_begin(self)
10996 r"""end(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
10997 return _pcbnew.MARKERS_end(self)
11000 r"""rbegin(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11001 return _pcbnew.MARKERS_rbegin(self)
11004 r"""rend(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
11005 return _pcbnew.MARKERS_rend(self)
11008 r"""clear(MARKERS self)"""
11009 return _pcbnew.MARKERS_clear(self)
11012 r"""get_allocator(MARKERS self) -> std::vector< PCB_MARKER * >::allocator_type"""
11013 return _pcbnew.MARKERS_get_allocator(self)
11016 r"""pop_back(MARKERS self)"""
11017 return _pcbnew.MARKERS_pop_back(self)
11021 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator pos) -> std::vector< PCB_MARKER * >::iterator
11022 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator first, std::vector< PCB_MARKER * >::iterator last) -> std::vector< PCB_MARKER * >::iterator
11024 return _pcbnew.MARKERS_erase(self, *args)
11029 __init__(MARKERS self, MARKERS other) -> MARKERS
11030 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size) -> MARKERS
11031 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size, PCB_MARKER value) -> MARKERS
11033 _pcbnew.MARKERS_swiginit(self, _pcbnew.new_MARKERS(*args))
11036 r"""push_back(MARKERS self, PCB_MARKER x)"""
11037 return _pcbnew.MARKERS_push_back(self, x)
11040 r"""front(MARKERS self) -> PCB_MARKER"""
11041 return _pcbnew.MARKERS_front(self)
11044 r"""back(MARKERS self) -> PCB_MARKER"""
11045 return _pcbnew.MARKERS_back(self)
11048 r"""assign(MARKERS self, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)"""
11049 return _pcbnew.MARKERS_assign(self, n, x)
11053 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size)
11054 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size, PCB_MARKER x)
11056 return _pcbnew.MARKERS_resize(self, *args)
11060 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, PCB_MARKER x) -> std::vector< PCB_MARKER * >::iterator
11061 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)
11063 return _pcbnew.MARKERS_insert(self, *args)
11066 r"""reserve(MARKERS self, std::vector< PCB_MARKER * >::size_type n)"""
11067 return _pcbnew.MARKERS_reserve(self, n)
11070 r"""capacity(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
11071 return _pcbnew.MARKERS_capacity(self)
11072 __swig_destroy__ = _pcbnew.delete_MARKERS
11075_pcbnew.MARKERS_swigregister(MARKERS)
11078 r"""Proxy of C++ std::vector< ZONE * > class."""
11080 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11081 __repr__ = _swig_repr
11084 r"""iterator(ZONES self) -> SwigPyIterator"""
11085 return _pcbnew.ZONES_iterator(self)
11090 r"""__nonzero__(ZONES self) -> bool"""
11091 return _pcbnew.ZONES___nonzero__(self)
11094 r"""__bool__(ZONES self) -> bool"""
11095 return _pcbnew.ZONES___bool__(self)
11098 r"""__len__(ZONES self) -> std::vector< ZONE * >::size_type"""
11099 return _pcbnew.ZONES___len__(self)
11102 r"""__getslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j) -> ZONES"""
11103 return _pcbnew.ZONES___getslice__(self, i, j)
11107 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)
11108 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j, ZONES v)
11110 return _pcbnew.ZONES___setslice__(self, *args)
11113 r"""__delslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)"""
11114 return _pcbnew.ZONES___delslice__(self, i, j)
11118 __delitem__(ZONES self, std::vector< ZONE * >::difference_type i)
11121 return _pcbnew.ZONES___delitem__(self, *args)
11125 __getitem__(ZONES self, PySliceObject * slice) -> ZONES
11126 __getitem__(ZONES self, std::vector< ZONE * >::difference_type i) -> ZONE
11128 return _pcbnew.ZONES___getitem__(self, *args)
11132 __setitem__(ZONES self, PySliceObject * slice, ZONES v)
11134 __setitem__(ZONES self, std::vector< ZONE * >::difference_type i, ZONE x)
11136 return _pcbnew.ZONES___setitem__(self, *args)
11139 r"""pop(ZONES self) -> ZONE"""
11140 return _pcbnew.ZONES_pop(self)
11143 r"""append(ZONES self, ZONE x)"""
11144 return _pcbnew.ZONES_append(self, x)
11147 r"""empty(ZONES self) -> bool"""
11148 return _pcbnew.ZONES_empty(self)
11151 r"""size(ZONES self) -> std::vector< ZONE * >::size_type"""
11152 return _pcbnew.ZONES_size(self)
11155 r"""swap(ZONES self, ZONES v)"""
11156 return _pcbnew.ZONES_swap(self, v)
11159 r"""begin(ZONES self) -> std::vector< ZONE * >::iterator"""
11160 return _pcbnew.ZONES_begin(self)
11163 r"""end(ZONES self) -> std::vector< ZONE * >::iterator"""
11164 return _pcbnew.ZONES_end(self)
11167 r"""rbegin(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
11168 return _pcbnew.ZONES_rbegin(self)
11171 r"""rend(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
11172 return _pcbnew.ZONES_rend(self)
11175 r"""clear(ZONES self)"""
11176 return _pcbnew.ZONES_clear(self)
11179 r"""get_allocator(ZONES self) -> std::vector< ZONE * >::allocator_type"""
11180 return _pcbnew.ZONES_get_allocator(self)
11183 r"""pop_back(ZONES self)"""
11184 return _pcbnew.ZONES_pop_back(self)
11188 erase(ZONES self, std::vector< ZONE * >::iterator pos) -> std::vector< ZONE * >::iterator
11189 erase(ZONES self, std::vector< ZONE * >::iterator first, std::vector< ZONE * >::iterator last) -> std::vector< ZONE * >::iterator
11191 return _pcbnew.ZONES_erase(self, *args)
11196 __init__(ZONES self, ZONES other) -> ZONES
11197 __init__(ZONES self, std::vector< ZONE * >::size_type size) -> ZONES
11198 __init__(ZONES self, std::vector< ZONE * >::size_type size, ZONE value) -> ZONES
11200 _pcbnew.ZONES_swiginit(self, _pcbnew.new_ZONES(*args))
11203 r"""push_back(ZONES self, ZONE x)"""
11204 return _pcbnew.ZONES_push_back(self, x)
11207 r"""front(ZONES self) -> ZONE"""
11208 return _pcbnew.ZONES_front(self)
11211 r"""back(ZONES self) -> ZONE"""
11212 return _pcbnew.ZONES_back(self)
11215 r"""assign(ZONES self, std::vector< ZONE * >::size_type n, ZONE x)"""
11216 return _pcbnew.ZONES_assign(self, n, x)
11220 resize(ZONES self, std::vector< ZONE * >::size_type new_size)
11221 resize(ZONES self, std::vector< ZONE * >::size_type new_size, ZONE x)
11223 return _pcbnew.ZONES_resize(self, *args)
11227 insert(ZONES self, std::vector< ZONE * >::iterator pos, ZONE x) -> std::vector< ZONE * >::iterator
11228 insert(ZONES self, std::vector< ZONE * >::iterator pos, std::vector< ZONE * >::size_type n, ZONE x)
11230 return _pcbnew.ZONES_insert(self, *args)
11233 r"""reserve(ZONES self, std::vector< ZONE * >::size_type n)"""
11234 return _pcbnew.ZONES_reserve(self, n)
11237 r"""capacity(ZONES self) -> std::vector< ZONE * >::size_type"""
11238 return _pcbnew.ZONES_capacity(self)
11239 __swig_destroy__ = _pcbnew.delete_ZONES
11242_pcbnew.ZONES_swigregister(ZONES)
11245 r"""Proxy of C++ std::deque< PCB_TRACK * > class."""
11247 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11248 __repr__ = _swig_repr
11251 r"""iterator(TRACKS self) -> SwigPyIterator"""
11252 return _pcbnew.TRACKS_iterator(self)
11257 r"""__nonzero__(TRACKS self) -> bool"""
11258 return _pcbnew.TRACKS___nonzero__(self)
11261 r"""__bool__(TRACKS self) -> bool"""
11262 return _pcbnew.TRACKS___bool__(self)
11265 r"""__len__(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
11266 return _pcbnew.TRACKS___len__(self)
11269 r"""__getslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j) -> TRACKS"""
11270 return _pcbnew.TRACKS___getslice__(self, i, j)
11274 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)
11275 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j, TRACKS v)
11277 return _pcbnew.TRACKS___setslice__(self, *args)
11280 r"""__delslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)"""
11281 return _pcbnew.TRACKS___delslice__(self, i, j)
11285 __delitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i)
11288 return _pcbnew.TRACKS___delitem__(self, *args)
11292 __getitem__(TRACKS self, PySliceObject * slice) -> TRACKS
11293 __getitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i) -> PCB_TRACK
11295 return _pcbnew.TRACKS___getitem__(self, *args)
11299 __setitem__(TRACKS self, PySliceObject * slice, TRACKS v)
11301 __setitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, PCB_TRACK x)
11303 return _pcbnew.TRACKS___setitem__(self, *args)
11306 r"""pop(TRACKS self) -> PCB_TRACK"""
11307 return _pcbnew.TRACKS_pop(self)
11310 r"""append(TRACKS self, PCB_TRACK x)"""
11311 return _pcbnew.TRACKS_append(self, x)
11314 r"""empty(TRACKS self) -> bool"""
11315 return _pcbnew.TRACKS_empty(self)
11318 r"""size(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
11319 return _pcbnew.TRACKS_size(self)
11322 r"""swap(TRACKS self, TRACKS v)"""
11323 return _pcbnew.TRACKS_swap(self, v)
11326 r"""begin(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
11327 return _pcbnew.TRACKS_begin(self)
11330 r"""end(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
11331 return _pcbnew.TRACKS_end(self)
11334 r"""rbegin(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
11335 return _pcbnew.TRACKS_rbegin(self)
11338 r"""rend(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
11339 return _pcbnew.TRACKS_rend(self)
11342 r"""clear(TRACKS self)"""
11343 return _pcbnew.TRACKS_clear(self)
11346 r"""get_allocator(TRACKS self) -> std::deque< PCB_TRACK * >::allocator_type"""
11347 return _pcbnew.TRACKS_get_allocator(self)
11350 r"""pop_back(TRACKS self)"""
11351 return _pcbnew.TRACKS_pop_back(self)
11355 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator pos) -> std::deque< PCB_TRACK * >::iterator
11356 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator first, std::deque< PCB_TRACK * >::iterator last) -> std::deque< PCB_TRACK * >::iterator
11358 return _pcbnew.TRACKS_erase(self, *args)
11363 __init__(TRACKS self, TRACKS other) -> TRACKS
11364 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size) -> TRACKS
11365 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS
11367 _pcbnew.TRACKS_swiginit(self, _pcbnew.new_TRACKS(*args))
11370 r"""push_back(TRACKS self, PCB_TRACK x)"""
11371 return _pcbnew.TRACKS_push_back(self, x)
11374 r"""front(TRACKS self) -> PCB_TRACK"""
11375 return _pcbnew.TRACKS_front(self)
11378 r"""back(TRACKS self) -> PCB_TRACK"""
11379 return _pcbnew.TRACKS_back(self)
11382 r"""assign(TRACKS self, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
11383 return _pcbnew.TRACKS_assign(self, n, x)
11387 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size)
11388 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
11390 return _pcbnew.TRACKS_resize(self, *args)
11394 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::deque< PCB_TRACK * >::iterator
11395 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)
11397 return _pcbnew.TRACKS_insert(self, *args)
11400 r"""pop_front(TRACKS self)"""
11401 return _pcbnew.TRACKS_pop_front(self)
11404 r"""push_front(TRACKS self, PCB_TRACK x)"""
11405 return _pcbnew.TRACKS_push_front(self, x)
11413 except StopIteration:
11416 __swig_destroy__ = _pcbnew.delete_TRACKS
11419_pcbnew.TRACKS_swigregister(TRACKS)
11422 r"""Proxy of C++ std::deque< FOOTPRINT * > class."""
11424 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11425 __repr__ = _swig_repr
11428 r"""iterator(FOOTPRINTS self) -> SwigPyIterator"""
11429 return _pcbnew.FOOTPRINTS_iterator(self)
11434 r"""__nonzero__(FOOTPRINTS self) -> bool"""
11435 return _pcbnew.FOOTPRINTS___nonzero__(self)
11438 r"""__bool__(FOOTPRINTS self) -> bool"""
11439 return _pcbnew.FOOTPRINTS___bool__(self)
11442 r"""__len__(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
11443 return _pcbnew.FOOTPRINTS___len__(self)
11446 r"""__getslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j) -> FOOTPRINTS"""
11447 return _pcbnew.FOOTPRINTS___getslice__(self, i, j)
11451 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)
11452 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j, FOOTPRINTS v)
11454 return _pcbnew.FOOTPRINTS___setslice__(self, *args)
11457 r"""__delslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)"""
11458 return _pcbnew.FOOTPRINTS___delslice__(self, i, j)
11462 __delitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i)
11463 __delitem__(FOOTPRINTS self, PySliceObject * slice)
11465 return _pcbnew.FOOTPRINTS___delitem__(self, *args)
11469 __getitem__(FOOTPRINTS self, PySliceObject * slice) -> FOOTPRINTS
11470 __getitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i) -> FOOTPRINT
11472 return _pcbnew.FOOTPRINTS___getitem__(self, *args)
11476 __setitem__(FOOTPRINTS self, PySliceObject * slice, FOOTPRINTS v)
11477 __setitem__(FOOTPRINTS self, PySliceObject * slice)
11478 __setitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, FOOTPRINT x)
11480 return _pcbnew.FOOTPRINTS___setitem__(self, *args)
11483 r"""pop(FOOTPRINTS self) -> FOOTPRINT"""
11484 return _pcbnew.FOOTPRINTS_pop(self)
11487 r"""append(FOOTPRINTS self, FOOTPRINT x)"""
11488 return _pcbnew.FOOTPRINTS_append(self, x)
11491 r"""empty(FOOTPRINTS self) -> bool"""
11492 return _pcbnew.FOOTPRINTS_empty(self)
11495 r"""size(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
11496 return _pcbnew.FOOTPRINTS_size(self)
11499 r"""swap(FOOTPRINTS self, FOOTPRINTS v)"""
11500 return _pcbnew.FOOTPRINTS_swap(self, v)
11503 r"""begin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
11504 return _pcbnew.FOOTPRINTS_begin(self)
11507 r"""end(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
11508 return _pcbnew.FOOTPRINTS_end(self)
11511 r"""rbegin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
11512 return _pcbnew.FOOTPRINTS_rbegin(self)
11515 r"""rend(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
11516 return _pcbnew.FOOTPRINTS_rend(self)
11519 r"""clear(FOOTPRINTS self)"""
11520 return _pcbnew.FOOTPRINTS_clear(self)
11523 r"""get_allocator(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::allocator_type"""
11524 return _pcbnew.FOOTPRINTS_get_allocator(self)
11527 r"""pop_back(FOOTPRINTS self)"""
11528 return _pcbnew.FOOTPRINTS_pop_back(self)
11532 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos) -> std::deque< FOOTPRINT * >::iterator
11533 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator first, std::deque< FOOTPRINT * >::iterator last) -> std::deque< FOOTPRINT * >::iterator
11535 return _pcbnew.FOOTPRINTS_erase(self, *args)
11539 __init__(FOOTPRINTS self) -> FOOTPRINTS
11540 __init__(FOOTPRINTS self, FOOTPRINTS other) -> FOOTPRINTS
11541 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size) -> FOOTPRINTS
11542 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size, FOOTPRINT value) -> FOOTPRINTS
11544 _pcbnew.FOOTPRINTS_swiginit(self, _pcbnew.new_FOOTPRINTS(*args))
11547 r"""push_back(FOOTPRINTS self, FOOTPRINT x)"""
11548 return _pcbnew.FOOTPRINTS_push_back(self, x)
11551 r"""front(FOOTPRINTS self) -> FOOTPRINT"""
11552 return _pcbnew.FOOTPRINTS_front(self)
11555 r"""back(FOOTPRINTS self) -> FOOTPRINT"""
11556 return _pcbnew.FOOTPRINTS_back(self)
11559 r"""assign(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)"""
11560 return _pcbnew.FOOTPRINTS_assign(self, n, x)
11564 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size)
11565 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size, FOOTPRINT x)
11567 return _pcbnew.FOOTPRINTS_resize(self, *args)
11571 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, FOOTPRINT x) -> std::deque< FOOTPRINT * >::iterator
11572 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)
11574 return _pcbnew.FOOTPRINTS_insert(self, *args)
11577 r"""pop_front(FOOTPRINTS self)"""
11578 return _pcbnew.FOOTPRINTS_pop_front(self)
11581 r"""push_front(FOOTPRINTS self, FOOTPRINT x)"""
11582 return _pcbnew.FOOTPRINTS_push_front(self, x)
11583 __swig_destroy__ = _pcbnew.delete_FOOTPRINTS
11586_pcbnew.FOOTPRINTS_swigregister(FOOTPRINTS)
11589 r"""Proxy of C++ std::deque< PCB_GROUP * > class."""
11591 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11592 __repr__ = _swig_repr
11595 r"""iterator(GROUPS self) -> SwigPyIterator"""
11596 return _pcbnew.GROUPS_iterator(self)
11601 r"""__nonzero__(GROUPS self) -> bool"""
11602 return _pcbnew.GROUPS___nonzero__(self)
11605 r"""__bool__(GROUPS self) -> bool"""
11606 return _pcbnew.GROUPS___bool__(self)
11609 r"""__len__(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
11610 return _pcbnew.GROUPS___len__(self)
11613 r"""__getslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j) -> GROUPS"""
11614 return _pcbnew.GROUPS___getslice__(self, i, j)
11618 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)
11619 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j, GROUPS v)
11621 return _pcbnew.GROUPS___setslice__(self, *args)
11624 r"""__delslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)"""
11625 return _pcbnew.GROUPS___delslice__(self, i, j)
11629 __delitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i)
11632 return _pcbnew.GROUPS___delitem__(self, *args)
11636 __getitem__(GROUPS self, PySliceObject * slice) -> GROUPS
11637 __getitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i) -> PCB_GROUP
11639 return _pcbnew.GROUPS___getitem__(self, *args)
11643 __setitem__(GROUPS self, PySliceObject * slice, GROUPS v)
11645 __setitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, PCB_GROUP x)
11647 return _pcbnew.GROUPS___setitem__(self, *args)
11650 r"""pop(GROUPS self) -> PCB_GROUP"""
11651 return _pcbnew.GROUPS_pop(self)
11654 r"""append(GROUPS self, PCB_GROUP x)"""
11655 return _pcbnew.GROUPS_append(self, x)
11658 r"""empty(GROUPS self) -> bool"""
11659 return _pcbnew.GROUPS_empty(self)
11662 r"""size(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
11663 return _pcbnew.GROUPS_size(self)
11666 r"""swap(GROUPS self, GROUPS v)"""
11667 return _pcbnew.GROUPS_swap(self, v)
11670 r"""begin(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
11671 return _pcbnew.GROUPS_begin(self)
11674 r"""end(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
11675 return _pcbnew.GROUPS_end(self)
11678 r"""rbegin(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
11679 return _pcbnew.GROUPS_rbegin(self)
11682 r"""rend(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
11683 return _pcbnew.GROUPS_rend(self)
11686 r"""clear(GROUPS self)"""
11687 return _pcbnew.GROUPS_clear(self)
11690 r"""get_allocator(GROUPS self) -> std::deque< PCB_GROUP * >::allocator_type"""
11691 return _pcbnew.GROUPS_get_allocator(self)
11694 r"""pop_back(GROUPS self)"""
11695 return _pcbnew.GROUPS_pop_back(self)
11699 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator pos) -> std::deque< PCB_GROUP * >::iterator
11700 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator first, std::deque< PCB_GROUP * >::iterator last) -> std::deque< PCB_GROUP * >::iterator
11702 return _pcbnew.GROUPS_erase(self, *args)
11707 __init__(GROUPS self, GROUPS other) -> GROUPS
11708 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size) -> GROUPS
11709 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size, PCB_GROUP value) -> GROUPS
11711 _pcbnew.GROUPS_swiginit(self, _pcbnew.new_GROUPS(*args))
11714 r"""push_back(GROUPS self, PCB_GROUP x)"""
11715 return _pcbnew.GROUPS_push_back(self, x)
11718 r"""front(GROUPS self) -> PCB_GROUP"""
11719 return _pcbnew.GROUPS_front(self)
11722 r"""back(GROUPS self) -> PCB_GROUP"""
11723 return _pcbnew.GROUPS_back(self)
11726 r"""assign(GROUPS self, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)"""
11727 return _pcbnew.GROUPS_assign(self, n, x)
11731 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size)
11732 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size, PCB_GROUP x)
11734 return _pcbnew.GROUPS_resize(self, *args)
11738 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, PCB_GROUP x) -> std::deque< PCB_GROUP * >::iterator
11739 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)
11741 return _pcbnew.GROUPS_insert(self, *args)
11744 r"""pop_front(GROUPS self)"""
11745 return _pcbnew.GROUPS_pop_front(self)
11748 r"""push_front(GROUPS self, PCB_GROUP x)"""
11749 return _pcbnew.GROUPS_push_front(self, x)
11750 __swig_destroy__ = _pcbnew.delete_GROUPS
11753_pcbnew.GROUPS_swigregister(GROUPS)
11756 r"""Proxy of C++ std::deque< BOARD_ITEM * > class."""
11758 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11759 __repr__ = _swig_repr
11762 r"""iterator(DRAWINGS self) -> SwigPyIterator"""
11763 return _pcbnew.DRAWINGS_iterator(self)
11768 r"""__nonzero__(DRAWINGS self) -> bool"""
11769 return _pcbnew.DRAWINGS___nonzero__(self)
11772 r"""__bool__(DRAWINGS self) -> bool"""
11773 return _pcbnew.DRAWINGS___bool__(self)
11776 r"""__len__(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
11777 return _pcbnew.DRAWINGS___len__(self)
11780 r"""__getslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j) -> DRAWINGS"""
11781 return _pcbnew.DRAWINGS___getslice__(self, i, j)
11785 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)
11786 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j, DRAWINGS v)
11788 return _pcbnew.DRAWINGS___setslice__(self, *args)
11791 r"""__delslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)"""
11792 return _pcbnew.DRAWINGS___delslice__(self, i, j)
11796 __delitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i)
11797 __delitem__(DRAWINGS self, PySliceObject * slice)
11799 return _pcbnew.DRAWINGS___delitem__(self, *args)
11803 __getitem__(DRAWINGS self, PySliceObject * slice) -> DRAWINGS
11804 __getitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i) -> BOARD_ITEM
11806 return _pcbnew.DRAWINGS___getitem__(self, *args)
11810 __setitem__(DRAWINGS self, PySliceObject * slice, DRAWINGS v)
11811 __setitem__(DRAWINGS self, PySliceObject * slice)
11812 __setitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, BOARD_ITEM x)
11814 return _pcbnew.DRAWINGS___setitem__(self, *args)
11817 r"""pop(DRAWINGS self) -> BOARD_ITEM"""
11818 return _pcbnew.DRAWINGS_pop(self)
11821 r"""append(DRAWINGS self, BOARD_ITEM x)"""
11822 return _pcbnew.DRAWINGS_append(self, x)
11825 r"""empty(DRAWINGS self) -> bool"""
11826 return _pcbnew.DRAWINGS_empty(self)
11829 r"""size(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
11830 return _pcbnew.DRAWINGS_size(self)
11833 r"""swap(DRAWINGS self, DRAWINGS v)"""
11834 return _pcbnew.DRAWINGS_swap(self, v)
11837 r"""begin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
11838 return _pcbnew.DRAWINGS_begin(self)
11841 r"""end(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
11842 return _pcbnew.DRAWINGS_end(self)
11845 r"""rbegin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
11846 return _pcbnew.DRAWINGS_rbegin(self)
11849 r"""rend(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
11850 return _pcbnew.DRAWINGS_rend(self)
11853 r"""clear(DRAWINGS self)"""
11854 return _pcbnew.DRAWINGS_clear(self)
11857 r"""get_allocator(DRAWINGS self) -> std::deque< BOARD_ITEM * >::allocator_type"""
11858 return _pcbnew.DRAWINGS_get_allocator(self)
11861 r"""pop_back(DRAWINGS self)"""
11862 return _pcbnew.DRAWINGS_pop_back(self)
11866 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos) -> std::deque< BOARD_ITEM * >::iterator
11867 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator first, std::deque< BOARD_ITEM * >::iterator last) -> std::deque< BOARD_ITEM * >::iterator
11869 return _pcbnew.DRAWINGS_erase(self, *args)
11873 __init__(DRAWINGS self) -> DRAWINGS
11874 __init__(DRAWINGS self, DRAWINGS other) -> DRAWINGS
11875 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size) -> DRAWINGS
11876 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size, BOARD_ITEM value) -> DRAWINGS
11878 _pcbnew.DRAWINGS_swiginit(self, _pcbnew.new_DRAWINGS(*args))
11881 r"""push_back(DRAWINGS self, BOARD_ITEM x)"""
11882 return _pcbnew.DRAWINGS_push_back(self, x)
11885 r"""front(DRAWINGS self) -> BOARD_ITEM"""
11886 return _pcbnew.DRAWINGS_front(self)
11889 r"""back(DRAWINGS self) -> BOARD_ITEM"""
11890 return _pcbnew.DRAWINGS_back(self)
11893 r"""assign(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)"""
11894 return _pcbnew.DRAWINGS_assign(self, n, x)
11898 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size)
11899 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size, BOARD_ITEM x)
11901 return _pcbnew.DRAWINGS_resize(self, *args)
11905 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, BOARD_ITEM x) -> std::deque< BOARD_ITEM * >::iterator
11906 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)
11908 return _pcbnew.DRAWINGS_insert(self, *args)
11911 r"""pop_front(DRAWINGS self)"""
11912 return _pcbnew.DRAWINGS_pop_front(self)
11915 r"""push_front(DRAWINGS self, BOARD_ITEM x)"""
11916 return _pcbnew.DRAWINGS_push_front(self, x)
11924 except StopIteration:
11927 __swig_destroy__ = _pcbnew.delete_DRAWINGS
11930_pcbnew.DRAWINGS_swigregister(DRAWINGS)
11933 r"""Proxy of C++ std::deque< PAD * > class."""
11935 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11936 __repr__ = _swig_repr
11939 r"""iterator(PADS self) -> SwigPyIterator"""
11940 return _pcbnew.PADS_iterator(self)
11945 r"""__nonzero__(PADS self) -> bool"""
11946 return _pcbnew.PADS___nonzero__(self)
11949 r"""__bool__(PADS self) -> bool"""
11950 return _pcbnew.PADS___bool__(self)
11953 r"""__len__(PADS self) -> std::deque< PAD * >::size_type"""
11954 return _pcbnew.PADS___len__(self)
11957 r"""__getslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j) -> PADS"""
11958 return _pcbnew.PADS___getslice__(self, i, j)
11962 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)
11963 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j, PADS v)
11965 return _pcbnew.PADS___setslice__(self, *args)
11968 r"""__delslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)"""
11969 return _pcbnew.PADS___delslice__(self, i, j)
11973 __delitem__(PADS self, std::deque< PAD * >::difference_type i)
11976 return _pcbnew.PADS___delitem__(self, *args)
11980 __getitem__(PADS self, PySliceObject * slice) -> PADS
11981 __getitem__(PADS self, std::deque< PAD * >::difference_type i) -> PAD
11983 return _pcbnew.PADS___getitem__(self, *args)
11987 __setitem__(PADS self, PySliceObject * slice, PADS v)
11989 __setitem__(PADS self, std::deque< PAD * >::difference_type i, PAD x)
11991 return _pcbnew.PADS___setitem__(self, *args)
11994 r"""pop(PADS self) -> PAD"""
11995 return _pcbnew.PADS_pop(self)
11998 r"""append(PADS self, PAD x)"""
11999 return _pcbnew.PADS_append(self, x)
12002 r"""empty(PADS self) -> bool"""
12003 return _pcbnew.PADS_empty(self)
12006 r"""size(PADS self) -> std::deque< PAD * >::size_type"""
12007 return _pcbnew.PADS_size(self)
12010 r"""swap(PADS self, PADS v)"""
12011 return _pcbnew.PADS_swap(self, v)
12014 r"""begin(PADS self) -> std::deque< PAD * >::iterator"""
12015 return _pcbnew.PADS_begin(self)
12018 r"""end(PADS self) -> std::deque< PAD * >::iterator"""
12019 return _pcbnew.PADS_end(self)
12022 r"""rbegin(PADS self) -> std::deque< PAD * >::reverse_iterator"""
12023 return _pcbnew.PADS_rbegin(self)
12026 r"""rend(PADS self) -> std::deque< PAD * >::reverse_iterator"""
12027 return _pcbnew.PADS_rend(self)
12030 r"""clear(PADS self)"""
12031 return _pcbnew.PADS_clear(self)
12034 r"""get_allocator(PADS self) -> std::deque< PAD * >::allocator_type"""
12035 return _pcbnew.PADS_get_allocator(self)
12038 r"""pop_back(PADS self)"""
12039 return _pcbnew.PADS_pop_back(self)
12043 erase(PADS self, std::deque< PAD * >::iterator pos) -> std::deque< PAD * >::iterator
12044 erase(PADS self, std::deque< PAD * >::iterator first, std::deque< PAD * >::iterator last) -> std::deque< PAD * >::iterator
12046 return _pcbnew.PADS_erase(self, *args)
12051 __init__(PADS self, PADS other) -> PADS
12052 __init__(PADS self, std::deque< PAD * >::size_type size) -> PADS
12053 __init__(PADS self, std::deque< PAD * >::size_type size, PAD value) -> PADS
12055 _pcbnew.PADS_swiginit(self, _pcbnew.new_PADS(*args))
12058 r"""push_back(PADS self, PAD x)"""
12059 return _pcbnew.PADS_push_back(self, x)
12062 r"""front(PADS self) -> PAD"""
12063 return _pcbnew.PADS_front(self)
12066 r"""back(PADS self) -> PAD"""
12067 return _pcbnew.PADS_back(self)
12070 r"""assign(PADS self, std::deque< PAD * >::size_type n, PAD x)"""
12071 return _pcbnew.PADS_assign(self, n, x)
12075 resize(PADS self, std::deque< PAD * >::size_type new_size)
12076 resize(PADS self, std::deque< PAD * >::size_type new_size, PAD x)
12078 return _pcbnew.PADS_resize(self, *args)
12082 insert(PADS self, std::deque< PAD * >::iterator pos, PAD x) -> std::deque< PAD * >::iterator
12083 insert(PADS self, std::deque< PAD * >::iterator pos, std::deque< PAD * >::size_type n, PAD x)
12085 return _pcbnew.PADS_insert(self, *args)
12088 r"""pop_front(PADS self)"""
12089 return _pcbnew.PADS_pop_front(self)
12092 r"""push_front(PADS self, PAD x)"""
12093 return _pcbnew.PADS_push_front(self, x)
12094 __swig_destroy__ = _pcbnew.delete_PADS
12097_pcbnew.PADS_swigregister(PADS)
12100 r"""Proxy of C++ std::vector< FP_ZONE * > class."""
12102 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12103 __repr__ = _swig_repr
12106 r"""iterator(FP_ZONES self) -> SwigPyIterator"""
12107 return _pcbnew.FP_ZONES_iterator(self)
12112 r"""__nonzero__(FP_ZONES self) -> bool"""
12113 return _pcbnew.FP_ZONES___nonzero__(self)
12116 r"""__bool__(FP_ZONES self) -> bool"""
12117 return _pcbnew.FP_ZONES___bool__(self)
12120 r"""__len__(FP_ZONES self) -> std::vector< FP_ZONE * >::size_type"""
12121 return _pcbnew.FP_ZONES___len__(self)
12124 r"""__getslice__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, std::vector< FP_ZONE * >::difference_type j) -> FP_ZONES"""
12125 return _pcbnew.FP_ZONES___getslice__(self, i, j)
12129 __setslice__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, std::vector< FP_ZONE * >::difference_type j)
12130 __setslice__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, std::vector< FP_ZONE * >::difference_type j, FP_ZONES v)
12132 return _pcbnew.FP_ZONES___setslice__(self, *args)
12135 r"""__delslice__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, std::vector< FP_ZONE * >::difference_type j)"""
12136 return _pcbnew.FP_ZONES___delslice__(self, i, j)
12140 __delitem__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i)
12141 __delitem__(FP_ZONES self, PySliceObject * slice)
12143 return _pcbnew.FP_ZONES___delitem__(self, *args)
12147 __getitem__(FP_ZONES self, PySliceObject * slice) -> FP_ZONES
12148 __getitem__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i) -> FP_ZONE
12150 return _pcbnew.FP_ZONES___getitem__(self, *args)
12154 __setitem__(FP_ZONES self, PySliceObject * slice, FP_ZONES v)
12155 __setitem__(FP_ZONES self, PySliceObject * slice)
12156 __setitem__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, FP_ZONE x)
12158 return _pcbnew.FP_ZONES___setitem__(self, *args)
12161 r"""pop(FP_ZONES self) -> FP_ZONE"""
12162 return _pcbnew.FP_ZONES_pop(self)
12165 r"""append(FP_ZONES self, FP_ZONE x)"""
12166 return _pcbnew.FP_ZONES_append(self, x)
12169 r"""empty(FP_ZONES self) -> bool"""
12170 return _pcbnew.FP_ZONES_empty(self)
12173 r"""size(FP_ZONES self) -> std::vector< FP_ZONE * >::size_type"""
12174 return _pcbnew.FP_ZONES_size(self)
12177 r"""swap(FP_ZONES self, FP_ZONES v)"""
12178 return _pcbnew.FP_ZONES_swap(self, v)
12181 r"""begin(FP_ZONES self) -> std::vector< FP_ZONE * >::iterator"""
12182 return _pcbnew.FP_ZONES_begin(self)
12185 r"""end(FP_ZONES self) -> std::vector< FP_ZONE * >::iterator"""
12186 return _pcbnew.FP_ZONES_end(self)
12189 r"""rbegin(FP_ZONES self) -> std::vector< FP_ZONE * >::reverse_iterator"""
12190 return _pcbnew.FP_ZONES_rbegin(self)
12193 r"""rend(FP_ZONES self) -> std::vector< FP_ZONE * >::reverse_iterator"""
12194 return _pcbnew.FP_ZONES_rend(self)
12197 r"""clear(FP_ZONES self)"""
12198 return _pcbnew.FP_ZONES_clear(self)
12201 r"""get_allocator(FP_ZONES self) -> std::vector< FP_ZONE * >::allocator_type"""
12202 return _pcbnew.FP_ZONES_get_allocator(self)
12205 r"""pop_back(FP_ZONES self)"""
12206 return _pcbnew.FP_ZONES_pop_back(self)
12210 erase(FP_ZONES self, std::vector< FP_ZONE * >::iterator pos) -> std::vector< FP_ZONE * >::iterator
12211 erase(FP_ZONES self, std::vector< FP_ZONE * >::iterator first, std::vector< FP_ZONE * >::iterator last) -> std::vector< FP_ZONE * >::iterator
12213 return _pcbnew.FP_ZONES_erase(self, *args)
12217 __init__(FP_ZONES self) -> FP_ZONES
12218 __init__(FP_ZONES self, FP_ZONES other) -> FP_ZONES
12219 __init__(FP_ZONES self, std::vector< FP_ZONE * >::size_type size) -> FP_ZONES
12220 __init__(FP_ZONES self, std::vector< FP_ZONE * >::size_type size, FP_ZONE value) -> FP_ZONES
12222 _pcbnew.FP_ZONES_swiginit(self, _pcbnew.new_FP_ZONES(*args))
12225 r"""push_back(FP_ZONES self, FP_ZONE x)"""
12226 return _pcbnew.FP_ZONES_push_back(self, x)
12229 r"""front(FP_ZONES self) -> FP_ZONE"""
12230 return _pcbnew.FP_ZONES_front(self)
12233 r"""back(FP_ZONES self) -> FP_ZONE"""
12234 return _pcbnew.FP_ZONES_back(self)
12237 r"""assign(FP_ZONES self, std::vector< FP_ZONE * >::size_type n, FP_ZONE x)"""
12238 return _pcbnew.FP_ZONES_assign(self, n, x)
12242 resize(FP_ZONES self, std::vector< FP_ZONE * >::size_type new_size)
12243 resize(FP_ZONES self, std::vector< FP_ZONE * >::size_type new_size, FP_ZONE x)
12245 return _pcbnew.FP_ZONES_resize(self, *args)
12249 insert(FP_ZONES self, std::vector< FP_ZONE * >::iterator pos, FP_ZONE x) -> std::vector< FP_ZONE * >::iterator
12250 insert(FP_ZONES self, std::vector< FP_ZONE * >::iterator pos, std::vector< FP_ZONE * >::size_type n, FP_ZONE x)
12252 return _pcbnew.FP_ZONES_insert(self, *args)
12255 r"""reserve(FP_ZONES self, std::vector< FP_ZONE * >::size_type n)"""
12256 return _pcbnew.FP_ZONES_reserve(self, n)
12259 r"""capacity(FP_ZONES self) -> std::vector< FP_ZONE * >::size_type"""
12260 return _pcbnew.FP_ZONES_capacity(self)
12261 __swig_destroy__ = _pcbnew.delete_FP_ZONES
12264_pcbnew.FP_ZONES_swigregister(FP_ZONES)
12267 r"""Proxy of C++ std::vector< PCB_GROUP * > class."""
12269 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12270 __repr__ = _swig_repr
12273 r"""iterator(FP_GROUPS self) -> SwigPyIterator"""
12274 return _pcbnew.FP_GROUPS_iterator(self)
12279 r"""__nonzero__(FP_GROUPS self) -> bool"""
12280 return _pcbnew.FP_GROUPS___nonzero__(self)
12283 r"""__bool__(FP_GROUPS self) -> bool"""
12284 return _pcbnew.FP_GROUPS___bool__(self)
12287 r"""__len__(FP_GROUPS self) -> std::vector< PCB_GROUP * >::size_type"""
12288 return _pcbnew.FP_GROUPS___len__(self)
12291 r"""__getslice__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, std::vector< PCB_GROUP * >::difference_type j) -> FP_GROUPS"""
12292 return _pcbnew.FP_GROUPS___getslice__(self, i, j)
12296 __setslice__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, std::vector< PCB_GROUP * >::difference_type j)
12297 __setslice__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, std::vector< PCB_GROUP * >::difference_type j, FP_GROUPS v)
12299 return _pcbnew.FP_GROUPS___setslice__(self, *args)
12302 r"""__delslice__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, std::vector< PCB_GROUP * >::difference_type j)"""
12303 return _pcbnew.FP_GROUPS___delslice__(self, i, j)
12307 __delitem__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i)
12308 __delitem__(FP_GROUPS self, PySliceObject * slice)
12310 return _pcbnew.FP_GROUPS___delitem__(self, *args)
12314 __getitem__(FP_GROUPS self, PySliceObject * slice) -> FP_GROUPS
12315 __getitem__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i) -> PCB_GROUP
12317 return _pcbnew.FP_GROUPS___getitem__(self, *args)
12321 __setitem__(FP_GROUPS self, PySliceObject * slice, FP_GROUPS v)
12322 __setitem__(FP_GROUPS self, PySliceObject * slice)
12323 __setitem__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, PCB_GROUP x)
12325 return _pcbnew.FP_GROUPS___setitem__(self, *args)
12328 r"""pop(FP_GROUPS self) -> PCB_GROUP"""
12329 return _pcbnew.FP_GROUPS_pop(self)
12332 r"""append(FP_GROUPS self, PCB_GROUP x)"""
12333 return _pcbnew.FP_GROUPS_append(self, x)
12336 r"""empty(FP_GROUPS self) -> bool"""
12337 return _pcbnew.FP_GROUPS_empty(self)
12340 r"""size(FP_GROUPS self) -> std::vector< PCB_GROUP * >::size_type"""
12341 return _pcbnew.FP_GROUPS_size(self)
12344 r"""swap(FP_GROUPS self, FP_GROUPS v)"""
12345 return _pcbnew.FP_GROUPS_swap(self, v)
12348 r"""begin(FP_GROUPS self) -> std::vector< PCB_GROUP * >::iterator"""
12349 return _pcbnew.FP_GROUPS_begin(self)
12352 r"""end(FP_GROUPS self) -> std::vector< PCB_GROUP * >::iterator"""
12353 return _pcbnew.FP_GROUPS_end(self)
12356 r"""rbegin(FP_GROUPS self) -> std::vector< PCB_GROUP * >::reverse_iterator"""
12357 return _pcbnew.FP_GROUPS_rbegin(self)
12360 r"""rend(FP_GROUPS self) -> std::vector< PCB_GROUP * >::reverse_iterator"""
12361 return _pcbnew.FP_GROUPS_rend(self)
12364 r"""clear(FP_GROUPS self)"""
12365 return _pcbnew.FP_GROUPS_clear(self)
12368 r"""get_allocator(FP_GROUPS self) -> std::vector< PCB_GROUP * >::allocator_type"""
12369 return _pcbnew.FP_GROUPS_get_allocator(self)
12372 r"""pop_back(FP_GROUPS self)"""
12373 return _pcbnew.FP_GROUPS_pop_back(self)
12377 erase(FP_GROUPS self, std::vector< PCB_GROUP * >::iterator pos) -> std::vector< PCB_GROUP * >::iterator
12378 erase(FP_GROUPS self, std::vector< PCB_GROUP * >::iterator first, std::vector< PCB_GROUP * >::iterator last) -> std::vector< PCB_GROUP * >::iterator
12380 return _pcbnew.FP_GROUPS_erase(self, *args)
12384 __init__(FP_GROUPS self) -> FP_GROUPS
12385 __init__(FP_GROUPS self, FP_GROUPS other) -> FP_GROUPS
12386 __init__(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type size) -> FP_GROUPS
12387 __init__(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type size, PCB_GROUP value) -> FP_GROUPS
12389 _pcbnew.FP_GROUPS_swiginit(self, _pcbnew.new_FP_GROUPS(*args))
12392 r"""push_back(FP_GROUPS self, PCB_GROUP x)"""
12393 return _pcbnew.FP_GROUPS_push_back(self, x)
12396 r"""front(FP_GROUPS self) -> PCB_GROUP"""
12397 return _pcbnew.FP_GROUPS_front(self)
12400 r"""back(FP_GROUPS self) -> PCB_GROUP"""
12401 return _pcbnew.FP_GROUPS_back(self)
12404 r"""assign(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type n, PCB_GROUP x)"""
12405 return _pcbnew.FP_GROUPS_assign(self, n, x)
12409 resize(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type new_size)
12410 resize(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type new_size, PCB_GROUP x)
12412 return _pcbnew.FP_GROUPS_resize(self, *args)
12416 insert(FP_GROUPS self, std::vector< PCB_GROUP * >::iterator pos, PCB_GROUP x) -> std::vector< PCB_GROUP * >::iterator
12417 insert(FP_GROUPS self, std::vector< PCB_GROUP * >::iterator pos, std::vector< PCB_GROUP * >::size_type n, PCB_GROUP x)
12419 return _pcbnew.FP_GROUPS_insert(self, *args)
12422 r"""reserve(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type n)"""
12423 return _pcbnew.FP_GROUPS_reserve(self, n)
12426 r"""capacity(FP_GROUPS self) -> std::vector< PCB_GROUP * >::size_type"""
12427 return _pcbnew.FP_GROUPS_capacity(self)
12428 __swig_destroy__ = _pcbnew.delete_FP_GROUPS
12431_pcbnew.FP_GROUPS_swigregister(FP_GROUPS)
12433PAD_SHAPE_CIRCLE = _pcbnew.PAD_SHAPE_CIRCLE
12435PAD_SHAPE_RECT = _pcbnew.PAD_SHAPE_RECT
12437PAD_SHAPE_OVAL = _pcbnew.PAD_SHAPE_OVAL
12439PAD_SHAPE_TRAPEZOID = _pcbnew.PAD_SHAPE_TRAPEZOID
12441PAD_SHAPE_ROUNDRECT = _pcbnew.PAD_SHAPE_ROUNDRECT
12443PAD_SHAPE_CHAMFERED_RECT = _pcbnew.PAD_SHAPE_CHAMFERED_RECT
12445PAD_SHAPE_CUSTOM = _pcbnew.PAD_SHAPE_CUSTOM
12449 r"""PAD_SHAPE_T_asString(PAD_SHAPE a) -> string"""
12450 return _pcbnew.PAD_SHAPE_T_asString(a)
12451PAD_DRILL_SHAPE_CIRCLE = _pcbnew.PAD_DRILL_SHAPE_CIRCLE
12453PAD_DRILL_SHAPE_OBLONG = _pcbnew.PAD_DRILL_SHAPE_OBLONG
12455PAD_ATTRIB_PTH = _pcbnew.PAD_ATTRIB_PTH
12457PAD_ATTRIB_SMD = _pcbnew.PAD_ATTRIB_SMD
12459PAD_ATTRIB_CONN = _pcbnew.PAD_ATTRIB_CONN
12461PAD_ATTRIB_NPTH = _pcbnew.PAD_ATTRIB_NPTH
12463PAD_PROP_NONE = _pcbnew.PAD_PROP_NONE
12465PAD_PROP_BGA = _pcbnew.PAD_PROP_BGA
12467PAD_PROP_FIDUCIAL_GLBL = _pcbnew.PAD_PROP_FIDUCIAL_GLBL
12469PAD_PROP_FIDUCIAL_LOCAL = _pcbnew.PAD_PROP_FIDUCIAL_LOCAL
12471PAD_PROP_TESTPOINT = _pcbnew.PAD_PROP_TESTPOINT
12473PAD_PROP_HEATSINK = _pcbnew.PAD_PROP_HEATSINK
12475PAD_PROP_CASTELLATED = _pcbnew.PAD_PROP_CASTELLATED
12477CUST_PAD_SHAPE_IN_ZONE_OUTLINE = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_OUTLINE
12479CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL
12482 r"""Proxy of C++ PAD class."""
12484 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12485 __repr__ = _swig_repr
12489 __init__(PAD self, FOOTPRINT parent) -> PAD
12490 __init__(PAD self, PAD aPad) -> PAD
12492 _pcbnew.PAD_swiginit(self, _pcbnew.new_PAD(*args))
12496 r"""PTHMask() -> LSET"""
12497 return _pcbnew.PAD_PTHMask()
12501 r"""SMDMask() -> LSET"""
12502 return _pcbnew.PAD_SMDMask()
12506 r"""ConnSMDMask() -> LSET"""
12507 return _pcbnew.PAD_ConnSMDMask()
12511 r"""UnplatedHoleMask() -> LSET"""
12512 return _pcbnew.PAD_UnplatedHoleMask()
12516 r"""ApertureMask() -> LSET"""
12517 return _pcbnew.PAD_ApertureMask()
12521 r"""ClassOf(EDA_ITEM aItem) -> bool"""
12522 return _pcbnew.PAD_ClassOf(aItem)
12525 r"""GetParent(PAD self) -> FOOTPRINT"""
12526 return _pcbnew.PAD_GetParent(self)
12529 r"""GetParentAsString(PAD self) -> wxString"""
12530 return _pcbnew.PAD_GetParentAsString(self)
12533 r"""ImportSettingsFrom(PAD self, PAD aMasterPad)"""
12534 return _pcbnew.PAD_ImportSettingsFrom(self, aMasterPad)
12537 r"""IsFlipped(PAD self) -> bool"""
12538 return _pcbnew.PAD_IsFlipped(self)
12541 r"""SetNumber(PAD self, wxString aNumber)"""
12542 return _pcbnew.PAD_SetNumber(self, aNumber)
12545 r"""GetNumber(PAD self) -> wxString"""
12546 return _pcbnew.PAD_GetNumber(self)
12549 r"""CanHaveNumber(PAD self) -> bool"""
12550 return _pcbnew.PAD_CanHaveNumber(self)
12553 r"""SetPinFunction(PAD self, wxString aName)"""
12554 return _pcbnew.PAD_SetPinFunction(self, aName)
12557 r"""GetPinFunction(PAD self) -> wxString"""
12558 return _pcbnew.PAD_GetPinFunction(self)
12561 r"""SetPinType(PAD self, wxString aType)"""
12562 return _pcbnew.PAD_SetPinType(self, aType)
12565 r"""GetPinType(PAD self) -> wxString"""
12566 return _pcbnew.PAD_GetPinType(self)
12569 r"""SameLogicalPadAs(PAD self, PAD aOther) -> bool"""
12570 return _pcbnew.PAD_SameLogicalPadAs(self, aOther)
12573 r"""SharesNetTieGroup(PAD self, PAD aOther) -> bool"""
12574 return _pcbnew.PAD_SharesNetTieGroup(self, aOther)
12577 r"""IsNoConnectPad(PAD self) -> bool"""
12578 return _pcbnew.PAD_IsNoConnectPad(self)
12581 r"""IsFreePad(PAD self) -> bool"""
12582 return _pcbnew.PAD_IsFreePad(self)
12585 r"""SetShape(PAD self, PAD_SHAPE aShape)"""
12586 return _pcbnew.PAD_SetShape(self, aShape)
12589 r"""GetShape(PAD self) -> PAD_SHAPE"""
12590 return _pcbnew.PAD_GetShape(self)
12593 r"""GetAnchorPadShape(PAD self) -> PAD_SHAPE"""
12594 return _pcbnew.PAD_GetAnchorPadShape(self)
12597 r"""GetCustomShapeInZoneOpt(PAD self) -> CUST_PAD_SHAPE_IN_ZONE"""
12598 return _pcbnew.PAD_GetCustomShapeInZoneOpt(self)
12601 r"""SetCustomShapeInZoneOpt(PAD self, CUST_PAD_SHAPE_IN_ZONE aOption)"""
12602 return _pcbnew.PAD_SetCustomShapeInZoneOpt(self, aOption)
12605 r"""SetAnchorPadShape(PAD self, PAD_SHAPE aShape)"""
12606 return _pcbnew.PAD_SetAnchorPadShape(self, aShape)
12609 r"""SetY(PAD self, int y)"""
12610 return _pcbnew.PAD_SetY(self, y)
12613 r"""SetX(PAD self, int x)"""
12614 return _pcbnew.PAD_SetX(self, x)
12617 r"""SetPos0(PAD self, VECTOR2I aPos)"""
12618 return _pcbnew.PAD_SetPos0(self, aPos)
12621 r"""GetPos0(PAD self) -> VECTOR2I"""
12622 return _pcbnew.PAD_GetPos0(self)
12625 r"""SetY0(PAD self, int y)"""
12626 return _pcbnew.PAD_SetY0(self, y)
12629 r"""SetX0(PAD self, int x)"""
12630 return _pcbnew.PAD_SetX0(self, x)
12633 r"""SetSize(PAD self, VECTOR2I aSize)"""
12634 return _pcbnew.PAD_SetSize(self, aSize)
12637 r"""GetSize(PAD self) -> VECTOR2I"""
12638 return _pcbnew.PAD_GetSize(self)
12641 r"""SetSizeX(PAD self, int const aX)"""
12642 return _pcbnew.PAD_SetSizeX(self, aX)
12645 r"""GetSizeX(PAD self) -> int"""
12646 return _pcbnew.PAD_GetSizeX(self)
12649 r"""SetSizeY(PAD self, int const aY)"""
12650 return _pcbnew.PAD_SetSizeY(self, aY)
12653 r"""GetSizeY(PAD self) -> int"""
12654 return _pcbnew.PAD_GetSizeY(self)
12657 r"""SetDelta(PAD self, VECTOR2I aSize)"""
12658 return _pcbnew.PAD_SetDelta(self, aSize)
12661 r"""GetDelta(PAD self) -> VECTOR2I"""
12662 return _pcbnew.PAD_GetDelta(self)
12665 r"""SetDrillSize(PAD self, VECTOR2I aSize)"""
12666 return _pcbnew.PAD_SetDrillSize(self, aSize)
12669 r"""GetDrillSize(PAD self) -> VECTOR2I"""
12670 return _pcbnew.PAD_GetDrillSize(self)
12673 r"""SetDrillSizeX(PAD self, int const aX)"""
12674 return _pcbnew.PAD_SetDrillSizeX(self, aX)
12677 r"""GetDrillSizeX(PAD self) -> int"""
12678 return _pcbnew.PAD_GetDrillSizeX(self)
12681 r"""SetDrillSizeY(PAD self, int const aY)"""
12682 return _pcbnew.PAD_SetDrillSizeY(self, aY)
12685 r"""GetDrillSizeY(PAD self) -> int"""
12686 return _pcbnew.PAD_GetDrillSizeY(self)
12689 r"""SetOffset(PAD self, VECTOR2I aOffset)"""
12690 return _pcbnew.PAD_SetOffset(self, aOffset)
12693 r"""GetOffset(PAD self) -> VECTOR2I"""
12694 return _pcbnew.PAD_GetOffset(self)
12698 AddPrimitivePoly(PAD self, SHAPE_POLY_SET aPoly, int aThickness, bool aFilled)
12699 AddPrimitivePoly(PAD self, VECTOR_VECTOR2I aPoly, int aThickness, bool aFilled)
12701 return _pcbnew.PAD_AddPrimitivePoly(self, *args)
12704 r"""AddPrimitiveSegment(PAD self, VECTOR2I aStart, VECTOR2I aEnd, int aThickness)"""
12705 return _pcbnew.PAD_AddPrimitiveSegment(self, aStart, aEnd, aThickness)
12708 r"""AddPrimitiveCircle(PAD self, VECTOR2I aCenter, int aRadius, int aThickness, bool aFilled)"""
12709 return _pcbnew.PAD_AddPrimitiveCircle(self, aCenter, aRadius, aThickness, aFilled)
12712 r"""AddPrimitiveRect(PAD self, VECTOR2I aStart, VECTOR2I aEnd, int aThickness, bool aFilled)"""
12713 return _pcbnew.PAD_AddPrimitiveRect(self, aStart, aEnd, aThickness, aFilled)
12716 r"""AddPrimitiveArc(PAD self, VECTOR2I aCenter, VECTOR2I aStart, EDA_ANGLE aArcAngle, int aThickness)"""
12717 return _pcbnew.PAD_AddPrimitiveArc(self, aCenter, aStart, aArcAngle, aThickness)
12720 r"""AddPrimitiveCurve(PAD self, VECTOR2I aStart, VECTOR2I aEnd, VECTOR2I aCtrl1, VECTOR2I aCtrl2, int aThickness)"""
12721 return _pcbnew.PAD_AddPrimitiveCurve(self, aStart, aEnd, aCtrl1, aCtrl2, aThickness)
12724 r"""AddPrimitiveAnnotationBox(PAD self, VECTOR2I aStart, VECTOR2I aEnd)"""
12725 return _pcbnew.PAD_AddPrimitiveAnnotationBox(self, aStart, aEnd)
12728 r"""GetBestAnchorPosition(PAD self, VECTOR2I aPos) -> bool"""
12729 return _pcbnew.PAD_GetBestAnchorPosition(self, aPos)
12732 r"""MergePrimitivesAsPolygon(PAD self, SHAPE_POLY_SET aMergedPolygon, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
12733 return _pcbnew.PAD_MergePrimitivesAsPolygon(self, *args)
12736 r"""DeletePrimitivesList(PAD self)"""
12737 return _pcbnew.PAD_DeletePrimitivesList(self)
12740 r"""GetPrimitives(PAD self) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &"""
12741 return _pcbnew.PAD_GetPrimitives(self)
12744 r"""FlipPrimitives(PAD self, bool aFlipLeftRight)"""
12745 return _pcbnew.PAD_FlipPrimitives(self, aFlipLeftRight)
12748 r"""ReplacePrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
12749 return _pcbnew.PAD_ReplacePrimitives(self, aPrimitivesList)
12752 r"""AppendPrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
12753 return _pcbnew.PAD_AppendPrimitives(self, aPrimitivesList)
12756 r"""AddPrimitive(PAD self, PCB_SHAPE aPrimitive)"""
12757 return _pcbnew.PAD_AddPrimitive(self, aPrimitive)
12760 r"""SetOrientation(PAD self, EDA_ANGLE aAngle)"""
12761 return _pcbnew.PAD_SetOrientation(self, aAngle)
12764 r"""GetOrientation(PAD self) -> EDA_ANGLE"""
12765 return _pcbnew.PAD_GetOrientation(self)
12768 r"""SetOrientationDegrees(PAD self, double aOrientation)"""
12769 return _pcbnew.PAD_SetOrientationDegrees(self, aOrientation)
12772 r"""GetOrientationDegrees(PAD self) -> double"""
12773 return _pcbnew.PAD_GetOrientationDegrees(self)
12776 r"""SetDrillShape(PAD self, PAD_DRILL_SHAPE_T aShape)"""
12777 return _pcbnew.PAD_SetDrillShape(self, aShape)
12780 r"""GetDrillShape(PAD self) -> PAD_DRILL_SHAPE_T"""
12781 return _pcbnew.PAD_GetDrillShape(self)
12784 r"""IsDirty(PAD self) -> bool"""
12785 return _pcbnew.PAD_IsDirty(self)
12788 r"""SetDirty(PAD self)"""
12789 return _pcbnew.PAD_SetDirty(self)
12792 r"""SetAttribute(PAD self, PAD_ATTRIB aAttribute)"""
12793 return _pcbnew.PAD_SetAttribute(self, aAttribute)
12796 r"""GetAttribute(PAD self) -> PAD_ATTRIB"""
12797 return _pcbnew.PAD_GetAttribute(self)
12800 r"""SetProperty(PAD self, PAD_PROP aProperty)"""
12801 return _pcbnew.PAD_SetProperty(self, aProperty)
12804 r"""GetProperty(PAD self) -> PAD_PROP"""
12805 return _pcbnew.PAD_GetProperty(self)
12808 r"""IsAperturePad(PAD self) -> bool"""
12809 return _pcbnew.PAD_IsAperturePad(self)
12812 r"""SetPadToDieLength(PAD self, int aLength)"""
12813 return _pcbnew.PAD_SetPadToDieLength(self, aLength)
12816 r"""GetPadToDieLength(PAD self) -> int"""
12817 return _pcbnew.PAD_GetPadToDieLength(self)
12820 r"""GetLocalSolderMaskMargin(PAD self) -> int"""
12821 return _pcbnew.PAD_GetLocalSolderMaskMargin(self)
12824 r"""SetLocalSolderMaskMargin(PAD self, int aMargin)"""
12825 return _pcbnew.PAD_SetLocalSolderMaskMargin(self, aMargin)
12832 return _pcbnew.PAD_GetLocalClearance(self, *args)
12835 r"""SetLocalClearance(PAD self, int aClearance)"""
12836 return _pcbnew.PAD_SetLocalClearance(self, aClearance)
12839 r"""GetLocalSolderPasteMargin(PAD self) -> int"""
12840 return _pcbnew.PAD_GetLocalSolderPasteMargin(self)
12843 r"""SetLocalSolderPasteMargin(PAD self, int aMargin)"""
12844 return _pcbnew.PAD_SetLocalSolderPasteMargin(self, aMargin)
12847 r"""GetLocalSolderPasteMarginRatio(PAD self) -> double"""
12848 return _pcbnew.PAD_GetLocalSolderPasteMarginRatio(self)
12851 r"""SetLocalSolderPasteMarginRatio(PAD self, double aRatio)"""
12852 return _pcbnew.PAD_SetLocalSolderPasteMarginRatio(self, aRatio)
12855 r"""GetOwnClearance(PAD self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
12856 return _pcbnew.PAD_GetOwnClearance(self, aLayer, aSource)
12859 r"""TransformShapeToPolygon(PAD self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc=ERROR_INSIDE, bool ignoreLineWidth=False)"""
12860 return _pcbnew.PAD_TransformShapeToPolygon(self, *args)
12863 r"""TransformHoleToPolygon(PAD self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> bool"""
12864 return _pcbnew.PAD_TransformHoleToPolygon(self, *args)
12867 r"""GetEffectiveShape(PAD self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING flashPTHPads=DEFAULT) -> std::shared_ptr< SHAPE >"""
12868 return _pcbnew.PAD_GetEffectiveShape(self, *args)
12871 r"""GetEffectivePolygon(PAD self, ERROR_LOC aErrorLoc=ERROR_INSIDE) -> std::shared_ptr< SHAPE_POLY_SET > const"""
12872 return _pcbnew.PAD_GetEffectivePolygon(self, *args)
12875 r"""GetBoundingRadius(PAD self) -> int"""
12876 return _pcbnew.PAD_GetBoundingRadius(self)
12879 r"""GetSolderMaskExpansion(PAD self) -> int"""
12880 return _pcbnew.PAD_GetSolderMaskExpansion(self)
12883 r"""GetSolderPasteMargin(PAD self) -> VECTOR2I"""
12884 return _pcbnew.PAD_GetSolderPasteMargin(self)
12887 r"""SetZoneConnection(PAD self, ZONE_CONNECTION aType)"""
12888 return _pcbnew.PAD_SetZoneConnection(self, aType)
12891 r"""GetZoneConnection(PAD self) -> ZONE_CONNECTION"""
12892 return _pcbnew.PAD_GetZoneConnection(self)
12895 r"""GetLocalZoneConnectionOverride(PAD self, wxString aSource=None) -> ZONE_CONNECTION"""
12896 return _pcbnew.PAD_GetLocalZoneConnectionOverride(self, aSource)
12899 r"""SetThermalSpokeWidth(PAD self, int aWidth)"""
12900 return _pcbnew.PAD_SetThermalSpokeWidth(self, aWidth)
12903 r"""GetThermalSpokeWidth(PAD self) -> int"""
12904 return _pcbnew.PAD_GetThermalSpokeWidth(self)
12907 r"""GetLocalSpokeWidthOverride(PAD self, wxString aSource=None) -> int"""
12908 return _pcbnew.PAD_GetLocalSpokeWidthOverride(self, aSource)
12911 r"""SetThermalSpokeAngle(PAD self, EDA_ANGLE aAngle)"""
12912 return _pcbnew.PAD_SetThermalSpokeAngle(self, aAngle)
12915 r"""GetThermalSpokeAngle(PAD self) -> EDA_ANGLE"""
12916 return _pcbnew.PAD_GetThermalSpokeAngle(self)
12919 r"""SetThermalSpokeAngleDegrees(PAD self, double aAngle)"""
12920 return _pcbnew.PAD_SetThermalSpokeAngleDegrees(self, aAngle)
12923 r"""GetThermalSpokeAngleDegrees(PAD self) -> double"""
12924 return _pcbnew.PAD_GetThermalSpokeAngleDegrees(self)
12927 r"""SetThermalGap(PAD self, int aGap)"""
12928 return _pcbnew.PAD_SetThermalGap(self, aGap)
12931 r"""GetThermalGap(PAD self) -> int"""
12932 return _pcbnew.PAD_GetThermalGap(self)
12935 r"""GetLocalThermalGapOverride(PAD self, wxString aSource=None) -> int"""
12936 return _pcbnew.PAD_GetLocalThermalGapOverride(self, aSource)
12939 r"""SetRoundRectCornerRadius(PAD self, double aRadius)"""
12940 return _pcbnew.PAD_SetRoundRectCornerRadius(self, aRadius)
12943 r"""GetRoundRectCornerRadius(PAD self) -> int"""
12944 return _pcbnew.PAD_GetRoundRectCornerRadius(self)
12947 r"""ShapePos(PAD self) -> VECTOR2I"""
12948 return _pcbnew.PAD_ShapePos(self)
12951 r"""SetRoundRectRadiusRatio(PAD self, double aRadiusScale)"""
12952 return _pcbnew.PAD_SetRoundRectRadiusRatio(self, aRadiusScale)
12955 r"""GetRoundRectRadiusRatio(PAD self) -> double"""
12956 return _pcbnew.PAD_GetRoundRectRadiusRatio(self)
12959 r"""SetChamferRectRatio(PAD self, double aChamferScale)"""
12960 return _pcbnew.PAD_SetChamferRectRatio(self, aChamferScale)
12963 r"""GetChamferRectRatio(PAD self) -> double"""
12964 return _pcbnew.PAD_GetChamferRectRatio(self)
12967 r"""SetChamferPositions(PAD self, int aPositions)"""
12968 return _pcbnew.PAD_SetChamferPositions(self, aPositions)
12971 r"""GetChamferPositions(PAD self) -> int"""
12972 return _pcbnew.PAD_GetChamferPositions(self)
12975 r"""GetSubRatsnest(PAD self) -> int"""
12976 return _pcbnew.PAD_GetSubRatsnest(self)
12979 r"""SetSubRatsnest(PAD self, int aSubRatsnest)"""
12980 return _pcbnew.PAD_SetSubRatsnest(self, aSubRatsnest)
12983 r"""SetRemoveUnconnected(PAD self, bool aSet)"""
12984 return _pcbnew.PAD_SetRemoveUnconnected(self, aSet)
12987 r"""GetRemoveUnconnected(PAD self) -> bool"""
12988 return _pcbnew.PAD_GetRemoveUnconnected(self)
12991 r"""SetKeepTopBottom(PAD self, bool aSet)"""
12992 return _pcbnew.PAD_SetKeepTopBottom(self, aSet)
12995 r"""GetKeepTopBottom(PAD self) -> bool"""
12996 return _pcbnew.PAD_GetKeepTopBottom(self)
12999 r"""ConditionallyFlashed(PAD self, PCB_LAYER_ID aLayer) -> bool"""
13000 return _pcbnew.PAD_ConditionallyFlashed(self, aLayer)
13003 r"""CanFlashLayer(PAD self, int aLayer) -> bool"""
13004 return _pcbnew.PAD_CanFlashLayer(self, aLayer)
13007 r"""GetPrincipalLayer(PAD self) -> PCB_LAYER_ID"""
13008 return _pcbnew.PAD_GetPrincipalLayer(self)
13012 FlashLayer(PAD self, int aLayer, bool aOnlyCheckIfPermitted=False) -> bool
13015 return _pcbnew.PAD_FlashLayer(self, *args)
13019 HitTest(PAD self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13020 HitTest(PAD self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13022 return _pcbnew.PAD_HitTest(self, *args)
13025 r"""SetDrawCoord(PAD self)"""
13026 return _pcbnew.PAD_SetDrawCoord(self)
13029 r"""SetLocalCoord(PAD self)"""
13030 return _pcbnew.PAD_SetLocalCoord(self)
13034 r"""Compare(PAD aPadRef, PAD aPadCmp) -> int"""
13035 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
13038 r"""ShowPadShape(PAD self) -> wxString"""
13039 return _pcbnew.PAD_ShowPadShape(self)
13042 r"""ShowPadAttr(PAD self) -> wxString"""
13043 return _pcbnew.PAD_ShowPadAttr(self)
13046 r"""ClonePad(PAD self) -> PAD"""
13047 return _pcbnew.PAD_ClonePad(self)
13050 r"""BuildEffectiveShapes(PAD self, PCB_LAYER_ID aLayer)"""
13051 return _pcbnew.PAD_BuildEffectiveShapes(self, aLayer)
13054 r"""BuildEffectivePolygon(PAD self, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
13055 return _pcbnew.PAD_BuildEffectivePolygon(self, *args)
13058 r"""ViewGetLOD(PAD self, int aLayer, KIGFX::VIEW * aView) -> double"""
13059 return _pcbnew.PAD_ViewGetLOD(self, aLayer, aView)
13062 r"""ClearZoneLayerOverrides(PAD self)"""
13063 return _pcbnew.PAD_ClearZoneLayerOverrides(self)
13066 r"""GetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
13067 return _pcbnew.PAD_GetZoneLayerOverride(self, aLayer)
13070 r"""SetZoneLayerOverride(PAD self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
13071 return _pcbnew.PAD_SetZoneLayerOverride(self, aLayer, aOverride)
13097 elif len(args) == 3:
13098 if type(args[1]
in [wxPoint,wxSize]):
13102 elif len(args) == 4:
13104 elif len(args) == 5:
13107 raise TypeError(
"Arguments not recognized.")
13115 __swig_destroy__ = _pcbnew.delete_PAD
13118_pcbnew.PAD_swigregister(PAD)
13121 r"""PAD_PTHMask() -> LSET"""
13122 return _pcbnew.PAD_PTHMask()
13125 r"""PAD_SMDMask() -> LSET"""
13126 return _pcbnew.PAD_SMDMask()
13129 r"""PAD_ConnSMDMask() -> LSET"""
13130 return _pcbnew.PAD_ConnSMDMask()
13133 r"""PAD_UnplatedHoleMask() -> LSET"""
13134 return _pcbnew.PAD_UnplatedHoleMask()
13137 r"""PAD_ApertureMask() -> LSET"""
13138 return _pcbnew.PAD_ApertureMask()
13141 r"""PAD_ClassOf(EDA_ITEM aItem) -> bool"""
13142 return _pcbnew.PAD_ClassOf(aItem)
13145 r"""PAD_Compare(PAD aPadRef, PAD aPadCmp) -> int"""
13146 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
13148ENDPOINT_START = _pcbnew.ENDPOINT_START
13150ENDPOINT_END = _pcbnew.ENDPOINT_END
13152VIATYPE_THROUGH = _pcbnew.VIATYPE_THROUGH
13154VIATYPE_BLIND_BURIED = _pcbnew.VIATYPE_BLIND_BURIED
13156VIATYPE_MICROVIA = _pcbnew.VIATYPE_MICROVIA
13158VIATYPE_NOT_DEFINED = _pcbnew.VIATYPE_NOT_DEFINED
13160UNDEFINED_DRILL_DIAMETER = _pcbnew.UNDEFINED_DRILL_DIAMETER
13163 r"""Proxy of C++ PCB_TRACK class."""
13165 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13166 __repr__ = _swig_repr
13170 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13171 return _pcbnew.PCB_TRACK_ClassOf(aItem)
13174 r"""__init__(PCB_TRACK self, BOARD_ITEM aParent, KICAD_T idtype=PCB_TRACE_T) -> PCB_TRACK"""
13175 _pcbnew.PCB_TRACK_swiginit(self, _pcbnew.new_PCB_TRACK(aParent, idtype))
13178 r"""Mirror(PCB_TRACK self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
13179 return _pcbnew.PCB_TRACK_Mirror(self, aCentre, aMirrorAroundXAxis)
13182 r"""SetWidth(PCB_TRACK self, int aWidth)"""
13183 return _pcbnew.PCB_TRACK_SetWidth(self, aWidth)
13186 r"""GetWidth(PCB_TRACK self) -> int"""
13187 return _pcbnew.PCB_TRACK_GetWidth(self)
13190 r"""SetEnd(PCB_TRACK self, VECTOR2I aEnd)"""
13191 return _pcbnew.PCB_TRACK_SetEnd(self, aEnd)
13194 r"""GetEnd(PCB_TRACK self) -> VECTOR2I"""
13195 return _pcbnew.PCB_TRACK_GetEnd(self)
13198 r"""SetStart(PCB_TRACK self, VECTOR2I aStart)"""
13199 return _pcbnew.PCB_TRACK_SetStart(self, aStart)
13202 r"""GetStart(PCB_TRACK self) -> VECTOR2I"""
13203 return _pcbnew.PCB_TRACK_GetStart(self)
13206 r"""SetEndX(PCB_TRACK self, int aX)"""
13207 return _pcbnew.PCB_TRACK_SetEndX(self, aX)
13210 r"""SetEndY(PCB_TRACK self, int aY)"""
13211 return _pcbnew.PCB_TRACK_SetEndY(self, aY)
13214 r"""GetEndX(PCB_TRACK self) -> int"""
13215 return _pcbnew.PCB_TRACK_GetEndX(self)
13218 r"""GetEndY(PCB_TRACK self) -> int"""
13219 return _pcbnew.PCB_TRACK_GetEndY(self)
13222 r"""GetEndPoint(PCB_TRACK self, ENDPOINT_T aEndPoint) -> VECTOR2I"""
13223 return _pcbnew.PCB_TRACK_GetEndPoint(self, aEndPoint)
13226 r"""GetLength(PCB_TRACK self) -> double"""
13227 return _pcbnew.PCB_TRACK_GetLength(self)
13230 r"""TransformShapeToPolygon(PCB_TRACK self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
13231 return _pcbnew.PCB_TRACK_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
13234 r"""GetEffectiveShape(PCB_TRACK self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13235 return _pcbnew.PCB_TRACK_GetEffectiveShape(self, *args)
13238 r"""IsPointOnEnds(PCB_TRACK self, VECTOR2I point, int min_dist=0) -> EDA_ITEM_FLAGS"""
13239 return _pcbnew.PCB_TRACK_IsPointOnEnds(self, point, min_dist)
13242 r"""IsNull(PCB_TRACK self) -> bool"""
13243 return _pcbnew.PCB_TRACK_IsNull(self)
13247 HitTest(PCB_TRACK self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13248 HitTest(PCB_TRACK self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13250 return _pcbnew.PCB_TRACK_HitTest(self, *args)
13253 r"""ApproxCollinear(PCB_TRACK self, PCB_TRACK aTrack) -> bool"""
13254 return _pcbnew.PCB_TRACK_ApproxCollinear(self, aTrack)
13257 r"""GetWidthConstraint(PCB_TRACK self, wxString aSource=None) -> MINOPTMAX< int >"""
13258 return _pcbnew.PCB_TRACK_GetWidthConstraint(self, aSource)
13261 r"""ViewGetLOD(PCB_TRACK self, int aLayer, KIGFX::VIEW * aView) -> double"""
13262 return _pcbnew.PCB_TRACK_ViewGetLOD(self, aLayer, aView)
13265 r"""GetCachedLOD(PCB_TRACK self) -> double"""
13266 return _pcbnew.PCB_TRACK_GetCachedLOD(self)
13269 r"""SetCachedLOD(PCB_TRACK self, double aLOD)"""
13270 return _pcbnew.PCB_TRACK_SetCachedLOD(self, aLOD)
13273 r"""GetCachedScale(PCB_TRACK self) -> double"""
13274 return _pcbnew.PCB_TRACK_GetCachedScale(self)
13277 r"""SetCachedScale(PCB_TRACK self, double aScale)"""
13278 return _pcbnew.PCB_TRACK_SetCachedScale(self, aScale)
13279 __swig_destroy__ = _pcbnew.delete_PCB_TRACK
13282_pcbnew.PCB_TRACK_swigregister(PCB_TRACK)
13285 r"""PCB_TRACK_ClassOf(EDA_ITEM aItem) -> bool"""
13286 return _pcbnew.PCB_TRACK_ClassOf(aItem)
13289 r"""Proxy of C++ PCB_ARC class."""
13291 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13292 __repr__ = _swig_repr
13296 __init__(PCB_ARC self, BOARD_ITEM aParent) -> PCB_ARC
13297 __init__(PCB_ARC self, BOARD_ITEM aParent, SHAPE_ARC aArc) -> PCB_ARC
13299 _pcbnew.PCB_ARC_swiginit(self, _pcbnew.new_PCB_ARC(*args))
13303 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13304 return _pcbnew.PCB_ARC_ClassOf(aItem)
13307 r"""SetMid(PCB_ARC self, VECTOR2I aMid)"""
13308 return _pcbnew.PCB_ARC_SetMid(self, aMid)
13311 r"""GetMid(PCB_ARC self) -> VECTOR2I"""
13312 return _pcbnew.PCB_ARC_GetMid(self)
13315 r"""GetRadius(PCB_ARC self) -> double"""
13316 return _pcbnew.PCB_ARC_GetRadius(self)
13319 r"""GetAngle(PCB_ARC self) -> EDA_ANGLE"""
13320 return _pcbnew.PCB_ARC_GetAngle(self)
13323 r"""GetArcAngleStart(PCB_ARC self) -> EDA_ANGLE"""
13324 return _pcbnew.PCB_ARC_GetArcAngleStart(self)
13327 r"""GetArcAngleEnd(PCB_ARC self) -> EDA_ANGLE"""
13328 return _pcbnew.PCB_ARC_GetArcAngleEnd(self)
13332 HitTest(PCB_ARC self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13333 HitTest(PCB_ARC self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
13335 return _pcbnew.PCB_ARC_HitTest(self, *args)
13338 r"""IsCCW(PCB_ARC self) -> bool"""
13339 return _pcbnew.PCB_ARC_IsCCW(self)
13342 r"""GetEffectiveShape(PCB_ARC self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13343 return _pcbnew.PCB_ARC_GetEffectiveShape(self, *args)
13346 r"""IsDegenerated(PCB_ARC self, int aThreshold=5) -> bool"""
13347 return _pcbnew.PCB_ARC_IsDegenerated(self, aThreshold)
13348 __swig_destroy__ = _pcbnew.delete_PCB_ARC
13351_pcbnew.PCB_ARC_swigregister(PCB_ARC)
13354 r"""PCB_ARC_ClassOf(EDA_ITEM aItem) -> bool"""
13355 return _pcbnew.PCB_ARC_ClassOf(aItem)
13358 r"""Proxy of C++ PCB_VIA class."""
13360 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13361 __repr__ = _swig_repr
13365 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13366 return _pcbnew.PCB_VIA_ClassOf(aItem)
13370 __init__(PCB_VIA self, BOARD_ITEM aParent) -> PCB_VIA
13371 __init__(PCB_VIA self, PCB_VIA aOther) -> PCB_VIA
13373 _pcbnew.PCB_VIA_swiginit(self, _pcbnew.new_PCB_VIA(*args))
13376 r"""GetViaType(PCB_VIA self) -> VIATYPE"""
13377 return _pcbnew.PCB_VIA_GetViaType(self)
13380 r"""SetViaType(PCB_VIA self, VIATYPE aViaType)"""
13381 return _pcbnew.PCB_VIA_SetViaType(self, aViaType)
13384 r"""GetSolderMaskExpansion(PCB_VIA self) -> int"""
13385 return _pcbnew.PCB_VIA_GetSolderMaskExpansion(self)
13388 r"""SetLayerPair(PCB_VIA self, PCB_LAYER_ID aTopLayer, PCB_LAYER_ID aBottomLayer)"""
13389 return _pcbnew.PCB_VIA_SetLayerPair(self, aTopLayer, aBottomLayer)
13392 r"""SetBottomLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
13393 return _pcbnew.PCB_VIA_SetBottomLayer(self, aLayer)
13396 r"""SetTopLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
13397 return _pcbnew.PCB_VIA_SetTopLayer(self, aLayer)
13400 r"""LayerPair(PCB_VIA self, PCB_LAYER_ID * top_layer, PCB_LAYER_ID * bottom_layer)"""
13401 return _pcbnew.PCB_VIA_LayerPair(self, top_layer, bottom_layer)
13404 r"""TopLayer(PCB_VIA self) -> PCB_LAYER_ID"""
13405 return _pcbnew.PCB_VIA_TopLayer(self)
13408 r"""BottomLayer(PCB_VIA self) -> PCB_LAYER_ID"""
13409 return _pcbnew.PCB_VIA_BottomLayer(self)
13412 r"""SanitizeLayers(PCB_VIA self)"""
13413 return _pcbnew.PCB_VIA_SanitizeLayers(self)
13417 HitTest(PCB_VIA self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13418 HitTest(PCB_VIA self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
13420 return _pcbnew.PCB_VIA_HitTest(self, *args)
13423 r"""ViewGetLOD(PCB_VIA self, int aLayer, KIGFX::VIEW * aView) -> double"""
13424 return _pcbnew.PCB_VIA_ViewGetLOD(self, aLayer, aView)
13427 r"""GetMinAnnulus(PCB_VIA self, PCB_LAYER_ID aLayer, wxString aSource) -> int"""
13428 return _pcbnew.PCB_VIA_GetMinAnnulus(self, aLayer, aSource)
13431 r"""SetRemoveUnconnected(PCB_VIA self, bool aSet)"""
13432 return _pcbnew.PCB_VIA_SetRemoveUnconnected(self, aSet)
13435 r"""GetRemoveUnconnected(PCB_VIA self) -> bool"""
13436 return _pcbnew.PCB_VIA_GetRemoveUnconnected(self)
13439 r"""SetKeepStartEnd(PCB_VIA self, bool aSet)"""
13440 return _pcbnew.PCB_VIA_SetKeepStartEnd(self, aSet)
13443 r"""GetKeepStartEnd(PCB_VIA self) -> bool"""
13444 return _pcbnew.PCB_VIA_GetKeepStartEnd(self)
13447 r"""ConditionallyFlashed(PCB_VIA self, PCB_LAYER_ID aLayer) -> bool"""
13448 return _pcbnew.PCB_VIA_ConditionallyFlashed(self, aLayer)
13452 FlashLayer(PCB_VIA self, int aLayer) -> bool
13453 FlashLayer(PCB_VIA self, LSET aLayers) -> bool
13455 return _pcbnew.PCB_VIA_FlashLayer(self, *args)
13458 r"""SetDrill(PCB_VIA self, int aDrill)"""
13459 return _pcbnew.PCB_VIA_SetDrill(self, aDrill)
13462 r"""GetDrill(PCB_VIA self) -> int"""
13463 return _pcbnew.PCB_VIA_GetDrill(self)
13466 r"""GetDrillValue(PCB_VIA self) -> int"""
13467 return _pcbnew.PCB_VIA_GetDrillValue(self)
13470 r"""SetDrillDefault(PCB_VIA self)"""
13471 return _pcbnew.PCB_VIA_SetDrillDefault(self)
13474 r"""GetIsFree(PCB_VIA self) -> bool"""
13475 return _pcbnew.PCB_VIA_GetIsFree(self)
13478 r"""SetIsFree(PCB_VIA self, bool aFree=True)"""
13479 return _pcbnew.PCB_VIA_SetIsFree(self, aFree)
13482 r"""IsDrillDefault(PCB_VIA self) -> bool"""
13483 return _pcbnew.PCB_VIA_IsDrillDefault(self)
13486 r"""GetEffectiveShape(PCB_VIA self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13487 return _pcbnew.PCB_VIA_GetEffectiveShape(self, *args)
13490 r"""ClearZoneLayerOverrides(PCB_VIA self)"""
13491 return _pcbnew.PCB_VIA_ClearZoneLayerOverrides(self)
13494 r"""GetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer) -> ZONE_LAYER_OVERRIDE const &"""
13495 return _pcbnew.PCB_VIA_GetZoneLayerOverride(self, aLayer)
13498 r"""SetZoneLayerOverride(PCB_VIA self, PCB_LAYER_ID aLayer, ZONE_LAYER_OVERRIDE aOverride)"""
13499 return _pcbnew.PCB_VIA_SetZoneLayerOverride(self, aLayer, aOverride)
13500 __swig_destroy__ = _pcbnew.delete_PCB_VIA
13503_pcbnew.PCB_VIA_swigregister(PCB_VIA)
13506 r"""PCB_VIA_ClassOf(EDA_ITEM aItem) -> bool"""
13507 return _pcbnew.PCB_VIA_ClassOf(aItem)
13510 r"""Proxy of C++ ISOLATED_ISLANDS class."""
13512 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13513 __repr__ = _swig_repr
13514 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)>)>""")
13515 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)>)>""")
13518 r"""__init__(ISOLATED_ISLANDS self) -> ISOLATED_ISLANDS"""
13519 _pcbnew.ISOLATED_ISLANDS_swiginit(self, _pcbnew.new_ISOLATED_ISLANDS())
13520 __swig_destroy__ = _pcbnew.delete_ISOLATED_ISLANDS
13523_pcbnew.ISOLATED_ISLANDS_swigregister(ISOLATED_ISLANDS)
13526 r"""Proxy of C++ ZONE class."""
13528 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13529 __repr__ = _swig_repr
13533 __init__(ZONE self, BOARD_ITEM_CONTAINER parent, bool aInFP=False) -> ZONE
13534 __init__(ZONE self, ZONE aZone) -> ZONE
13536 _pcbnew.ZONE_swiginit(self, _pcbnew.new_ZONE(*args))
13537 __swig_destroy__ = _pcbnew.delete_ZONE
13541 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13542 return _pcbnew.ZONE_ClassOf(aItem)
13545 r"""InitDataFromSrcInCopyCtor(ZONE self, ZONE aZone)"""
13546 return _pcbnew.ZONE_InitDataFromSrcInCopyCtor(self, aZone)
13549 r"""IsConflicting(ZONE self) -> bool"""
13550 return _pcbnew.ZONE_IsConflicting(self)
13553 r"""SetAssignedPriority(ZONE self, unsigned int aPriority)"""
13554 return _pcbnew.ZONE_SetAssignedPriority(self, aPriority)
13557 r"""GetAssignedPriority(ZONE self) -> unsigned int"""
13558 return _pcbnew.ZONE_GetAssignedPriority(self)
13561 r"""HigherPriority(ZONE self, ZONE aOther) -> bool"""
13562 return _pcbnew.ZONE_HigherPriority(self, aOther)
13565 r"""SameNet(ZONE self, ZONE aOther) -> bool"""
13566 return _pcbnew.ZONE_SameNet(self, aOther)
13569 r"""GetZoneName(ZONE self) -> wxString"""
13570 return _pcbnew.ZONE_GetZoneName(self)
13573 r"""SetZoneName(ZONE self, wxString aName)"""
13574 return _pcbnew.ZONE_SetZoneName(self, aName)
13577 r"""CacheBoundingBox(ZONE self)"""
13578 return _pcbnew.ZONE_CacheBoundingBox(self)
13585 return _pcbnew.ZONE_GetLocalClearance(self, *args)
13588 r"""SetLocalClearance(ZONE self, int aClearance)"""
13589 return _pcbnew.ZONE_SetLocalClearance(self, aClearance)
13592 r"""GetFirstLayer(ZONE self) -> PCB_LAYER_ID"""
13593 return _pcbnew.ZONE_GetFirstLayer(self)
13596 r"""ViewGetLOD(ZONE self, int aLayer, KIGFX::VIEW * aView) -> double"""
13597 return _pcbnew.ZONE_ViewGetLOD(self, aLayer, aView)
13600 r"""SetFillMode(ZONE self, ZONE_FILL_MODE aFillMode)"""
13601 return _pcbnew.ZONE_SetFillMode(self, aFillMode)
13604 r"""GetFillMode(ZONE self) -> ZONE_FILL_MODE"""
13605 return _pcbnew.ZONE_GetFillMode(self)
13608 r"""SetThermalReliefGap(ZONE self, int aThermalReliefGap)"""
13609 return _pcbnew.ZONE_SetThermalReliefGap(self, aThermalReliefGap)
13616 return _pcbnew.ZONE_GetThermalReliefGap(self, *args)
13619 r"""SetThermalReliefSpokeWidth(ZONE self, int aThermalReliefSpokeWidth)"""
13620 return _pcbnew.ZONE_SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth)
13623 r"""GetThermalReliefSpokeWidth(ZONE self) -> int"""
13624 return _pcbnew.ZONE_GetThermalReliefSpokeWidth(self)
13627 r"""CalculateFilledArea(ZONE self) -> double"""
13628 return _pcbnew.ZONE_CalculateFilledArea(self)
13631 r"""CalculateOutlineArea(ZONE self) -> double"""
13632 return _pcbnew.ZONE_CalculateOutlineArea(self)
13635 r"""GetFilledArea(ZONE self) -> double"""
13636 return _pcbnew.ZONE_GetFilledArea(self)
13639 r"""GetOutlineArea(ZONE self) -> double"""
13640 return _pcbnew.ZONE_GetOutlineArea(self)
13643 r"""GetLock(ZONE self) -> std::mutex &"""
13644 return _pcbnew.ZONE_GetLock(self)
13647 r"""GetFillFlag(ZONE self, PCB_LAYER_ID aLayer) -> int"""
13648 return _pcbnew.ZONE_GetFillFlag(self, aLayer)
13651 r"""SetFillFlag(ZONE self, PCB_LAYER_ID aLayer, bool aFlag)"""
13652 return _pcbnew.ZONE_SetFillFlag(self, aLayer, aFlag)
13655 r"""IsFilled(ZONE self) -> bool"""
13656 return _pcbnew.ZONE_IsFilled(self)
13659 r"""SetIsFilled(ZONE self, bool isFilled)"""
13660 return _pcbnew.ZONE_SetIsFilled(self, isFilled)
13663 r"""NeedRefill(ZONE self) -> bool"""
13664 return _pcbnew.ZONE_NeedRefill(self)
13667 r"""SetNeedRefill(ZONE self, bool aNeedRefill)"""
13668 return _pcbnew.ZONE_SetNeedRefill(self, aNeedRefill)
13671 r"""GetPadConnection(ZONE self) -> ZONE_CONNECTION"""
13672 return _pcbnew.ZONE_GetPadConnection(self)
13675 r"""SetPadConnection(ZONE self, ZONE_CONNECTION aPadConnection)"""
13676 return _pcbnew.ZONE_SetPadConnection(self, aPadConnection)
13679 r"""GetMinThickness(ZONE self) -> int"""
13680 return _pcbnew.ZONE_GetMinThickness(self)
13683 r"""SetMinThickness(ZONE self, int aMinThickness)"""
13684 return _pcbnew.ZONE_SetMinThickness(self, aMinThickness)
13687 r"""GetHatchThickness(ZONE self) -> int"""
13688 return _pcbnew.ZONE_GetHatchThickness(self)
13691 r"""SetHatchThickness(ZONE self, int aThickness)"""
13692 return _pcbnew.ZONE_SetHatchThickness(self, aThickness)
13695 r"""GetHatchGap(ZONE self) -> int"""
13696 return _pcbnew.ZONE_GetHatchGap(self)
13699 r"""SetHatchGap(ZONE self, int aStep)"""
13700 return _pcbnew.ZONE_SetHatchGap(self, aStep)
13703 r"""GetHatchOrientation(ZONE self) -> EDA_ANGLE"""
13704 return _pcbnew.ZONE_GetHatchOrientation(self)
13707 r"""SetHatchOrientation(ZONE self, EDA_ANGLE aStep)"""
13708 return _pcbnew.ZONE_SetHatchOrientation(self, aStep)
13711 r"""GetHatchSmoothingLevel(ZONE self) -> int"""
13712 return _pcbnew.ZONE_GetHatchSmoothingLevel(self)
13715 r"""SetHatchSmoothingLevel(ZONE self, int aLevel)"""
13716 return _pcbnew.ZONE_SetHatchSmoothingLevel(self, aLevel)
13719 r"""GetHatchSmoothingValue(ZONE self) -> double"""
13720 return _pcbnew.ZONE_GetHatchSmoothingValue(self)
13723 r"""SetHatchSmoothingValue(ZONE self, double aValue)"""
13724 return _pcbnew.ZONE_SetHatchSmoothingValue(self, aValue)
13727 r"""GetHatchHoleMinArea(ZONE self) -> double"""
13728 return _pcbnew.ZONE_GetHatchHoleMinArea(self)
13731 r"""SetHatchHoleMinArea(ZONE self, double aPct)"""
13732 return _pcbnew.ZONE_SetHatchHoleMinArea(self, aPct)
13735 r"""GetHatchBorderAlgorithm(ZONE self) -> int"""
13736 return _pcbnew.ZONE_GetHatchBorderAlgorithm(self)
13739 r"""SetHatchBorderAlgorithm(ZONE self, int aAlgo)"""
13740 return _pcbnew.ZONE_SetHatchBorderAlgorithm(self, aAlgo)
13743 r"""GetSelectedCorner(ZONE self) -> int"""
13744 return _pcbnew.ZONE_GetSelectedCorner(self)
13747 r"""SetSelectedCorner(ZONE self, int aCorner)"""
13748 return _pcbnew.ZONE_SetSelectedCorner(self, aCorner)
13751 r"""GetLocalFlags(ZONE self) -> int"""
13752 return _pcbnew.ZONE_GetLocalFlags(self)
13755 r"""SetLocalFlags(ZONE self, int aFlags)"""
13756 return _pcbnew.ZONE_SetLocalFlags(self, aFlags)
13760 Outline(ZONE self) -> SHAPE_POLY_SET
13761 Outline(ZONE self) -> SHAPE_POLY_SET
13763 return _pcbnew.ZONE_Outline(self, *args)
13766 r"""SetOutline(ZONE self, SHAPE_POLY_SET aOutline)"""
13767 return _pcbnew.ZONE_SetOutline(self, aOutline)
13770 r"""GetEffectiveShape(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13771 return _pcbnew.ZONE_GetEffectiveShape(self, *args)
13774 r"""HitTestFilledArea(ZONE self, PCB_LAYER_ID aLayer, VECTOR2I aRefPos, int aAccuracy=0) -> bool"""
13775 return _pcbnew.ZONE_HitTestFilledArea(self, aLayer, aRefPos, aAccuracy)
13778 r"""HitTestCutout(ZONE self, VECTOR2I aRefPos, int * aOutlineIdx=None, int * aHoleIdx=None) -> bool"""
13779 return _pcbnew.ZONE_HitTestCutout(self, aRefPos, aOutlineIdx, aHoleIdx)
13782 r"""GetInteractingZones(ZONE self, PCB_LAYER_ID aLayer, ZONES aSameNetCollidingZones, ZONES aOtherNetIntersectingZones)"""
13783 return _pcbnew.ZONE_GetInteractingZones(self, aLayer, aSameNetCollidingZones, aOtherNetIntersectingZones)
13786 r"""TransformSolidAreasShapesToPolygon(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBuffer)"""
13787 return _pcbnew.ZONE_TransformSolidAreasShapesToPolygon(self, aLayer, aBuffer)
13790 r"""TransformSmoothedOutlineToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, SHAPE_POLY_SET aBoardOutline)"""
13791 return _pcbnew.ZONE_TransformSmoothedOutlineToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, aBoardOutline)
13794 r"""TransformShapeToPolygon(ZONE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
13795 return _pcbnew.ZONE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
13798 r"""HitTestForCorner(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
13799 return _pcbnew.ZONE_HitTestForCorner(self, refPos, aAccuracy, aCornerHit)
13802 r"""HitTestForEdge(ZONE self, VECTOR2I refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX * aCornerHit=None) -> bool"""
13803 return _pcbnew.ZONE_HitTestForEdge(self, refPos, aAccuracy, aCornerHit)
13807 HitTest(ZONE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
13808 HitTest(ZONE self, BOX2I aRect, bool aContained=True, int aAccuracy=0) -> bool
13810 return _pcbnew.ZONE_HitTest(self, *args)
13813 r"""UnFill(ZONE self) -> bool"""
13814 return _pcbnew.ZONE_UnFill(self)
13817 r"""MoveEdge(ZONE self, VECTOR2I offset, int aEdge)"""
13818 return _pcbnew.ZONE_MoveEdge(self, offset, aEdge)
13821 r"""Mirror(ZONE self, VECTOR2I aMirrorRef, bool aMirrorLeftRight)"""
13822 return _pcbnew.ZONE_Mirror(self, aMirrorRef, aMirrorLeftRight)
13825 r"""GetNumCorners(ZONE self) -> int"""
13826 return _pcbnew.ZONE_GetNumCorners(self)
13829 r"""Iterate(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
13830 return _pcbnew.ZONE_Iterate(self)
13833 r"""IterateWithHoles(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
13834 return _pcbnew.ZONE_IterateWithHoles(self)
13837 r"""CIterateWithHoles(ZONE self) -> SHAPE_POLY_SET::CONST_ITERATOR"""
13838 return _pcbnew.ZONE_CIterateWithHoles(self)
13841 r"""RemoveAllContours(ZONE self)"""
13842 return _pcbnew.ZONE_RemoveAllContours(self)
13845 r"""GetCornerPosition(ZONE self, int aCornerIndex) -> VECTOR2I"""
13846 return _pcbnew.ZONE_GetCornerPosition(self, aCornerIndex)
13849 r"""SetCornerPosition(ZONE self, int aCornerIndex, VECTOR2I new_pos)"""
13850 return _pcbnew.ZONE_SetCornerPosition(self, aCornerIndex, new_pos)
13853 r"""NewHole(ZONE self)"""
13854 return _pcbnew.ZONE_NewHole(self)
13857 r"""AppendCorner(ZONE self, VECTOR2I aPosition, int aHoleIdx, bool aAllowDuplication=False) -> bool"""
13858 return _pcbnew.ZONE_AppendCorner(self, aPosition, aHoleIdx, aAllowDuplication)
13861 r"""GetHatchStyle(ZONE self) -> ZONE_BORDER_DISPLAY_STYLE"""
13862 return _pcbnew.ZONE_GetHatchStyle(self)
13865 r"""SetHatchStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aStyle)"""
13866 return _pcbnew.ZONE_SetHatchStyle(self, aStyle)
13869 r"""IsSame(ZONE self, ZONE aZoneToCompare) -> bool"""
13870 return _pcbnew.ZONE_IsSame(self, aZoneToCompare)
13873 r"""HasFilledPolysForLayer(ZONE self, PCB_LAYER_ID aLayer) -> bool"""
13874 return _pcbnew.ZONE_HasFilledPolysForLayer(self, aLayer)
13877 r"""GetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer) -> std::shared_ptr< SHAPE_POLY_SET > const &"""
13878 return _pcbnew.ZONE_GetFilledPolysList(self, aLayer)
13881 r"""GetFill(ZONE self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
13882 return _pcbnew.ZONE_GetFill(self, aLayer)
13885 r"""CacheTriangulation(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
13886 return _pcbnew.ZONE_CacheTriangulation(self, aLayer)
13889 r"""SetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPolysList)"""
13890 return _pcbnew.ZONE_SetFilledPolysList(self, aLayer, aPolysList)
13893 r"""IsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx) -> bool"""
13894 return _pcbnew.ZONE_IsIsland(self, aLayer, aPolyIdx)
13897 r"""SetIsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx)"""
13898 return _pcbnew.ZONE_SetIsIsland(self, aLayer, aPolyIdx)
13901 r"""BuildSmoothedPoly(ZONE self, SHAPE_POLY_SET aSmoothedPoly, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBoardOutline, SHAPE_POLY_SET aSmoothedPolyWithApron=None) -> bool"""
13902 return _pcbnew.ZONE_BuildSmoothedPoly(self, aSmoothedPoly, aLayer, aBoardOutline, aSmoothedPolyWithApron)
13905 r"""SetCornerSmoothingType(ZONE self, int aType)"""
13906 return _pcbnew.ZONE_SetCornerSmoothingType(self, aType)
13909 r"""GetCornerSmoothingType(ZONE self) -> int"""
13910 return _pcbnew.ZONE_GetCornerSmoothingType(self)
13913 r"""SetCornerRadius(ZONE self, unsigned int aRadius)"""
13914 return _pcbnew.ZONE_SetCornerRadius(self, aRadius)
13917 r"""GetCornerRadius(ZONE self) -> unsigned int"""
13918 return _pcbnew.ZONE_GetCornerRadius(self)
13921 r"""RemoveCutout(ZONE self, int aOutlineIdx, int aHoleIdx)"""
13922 return _pcbnew.ZONE_RemoveCutout(self, aOutlineIdx, aHoleIdx)
13926 AddPolygon(ZONE self, VECTOR_VECTOR2I aPolygon)
13927 AddPolygon(ZONE self, SHAPE_LINE_CHAIN aPolygon)
13929 return _pcbnew.ZONE_AddPolygon(self, *args)
13932 r"""IsTeardropArea(ZONE self) -> bool"""
13933 return _pcbnew.ZONE_IsTeardropArea(self)
13936 r"""SetTeardropAreaType(ZONE self, TEARDROP_TYPE aType)"""
13937 return _pcbnew.ZONE_SetTeardropAreaType(self, aType)
13940 r"""GetTeardropAreaType(ZONE self) -> TEARDROP_TYPE"""
13941 return _pcbnew.ZONE_GetTeardropAreaType(self)
13944 r"""GetIsRuleArea(ZONE self) -> bool"""
13945 return _pcbnew.ZONE_GetIsRuleArea(self)
13948 r"""GetDoNotAllowCopperPour(ZONE self) -> bool"""
13949 return _pcbnew.ZONE_GetDoNotAllowCopperPour(self)
13952 r"""GetDoNotAllowVias(ZONE self) -> bool"""
13953 return _pcbnew.ZONE_GetDoNotAllowVias(self)
13956 r"""GetDoNotAllowTracks(ZONE self) -> bool"""
13957 return _pcbnew.ZONE_GetDoNotAllowTracks(self)
13960 r"""GetDoNotAllowPads(ZONE self) -> bool"""
13961 return _pcbnew.ZONE_GetDoNotAllowPads(self)
13964 r"""GetDoNotAllowFootprints(ZONE self) -> bool"""
13965 return _pcbnew.ZONE_GetDoNotAllowFootprints(self)
13968 r"""SetIsRuleArea(ZONE self, bool aEnable)"""
13969 return _pcbnew.ZONE_SetIsRuleArea(self, aEnable)
13972 r"""SetDoNotAllowCopperPour(ZONE self, bool aEnable)"""
13973 return _pcbnew.ZONE_SetDoNotAllowCopperPour(self, aEnable)
13976 r"""SetDoNotAllowVias(ZONE self, bool aEnable)"""
13977 return _pcbnew.ZONE_SetDoNotAllowVias(self, aEnable)
13980 r"""SetDoNotAllowTracks(ZONE self, bool aEnable)"""
13981 return _pcbnew.ZONE_SetDoNotAllowTracks(self, aEnable)
13984 r"""SetDoNotAllowPads(ZONE self, bool aEnable)"""
13985 return _pcbnew.ZONE_SetDoNotAllowPads(self, aEnable)
13988 r"""SetDoNotAllowFootprints(ZONE self, bool aEnable)"""
13989 return _pcbnew.ZONE_SetDoNotAllowFootprints(self, aEnable)
13992 r"""GetIslandRemovalMode(ZONE self) -> ISLAND_REMOVAL_MODE const"""
13993 return _pcbnew.ZONE_GetIslandRemovalMode(self)
13996 r"""SetIslandRemovalMode(ZONE self, ISLAND_REMOVAL_MODE aRemove)"""
13997 return _pcbnew.ZONE_SetIslandRemovalMode(self, aRemove)
14000 r"""GetMinIslandArea(ZONE self) -> long long"""
14001 return _pcbnew.ZONE_GetMinIslandArea(self)
14004 r"""SetMinIslandArea(ZONE self, long long aArea)"""
14005 return _pcbnew.ZONE_SetMinIslandArea(self, aArea)
14008 r"""GetBorderHatchPitch(ZONE self) -> int"""
14009 return _pcbnew.ZONE_GetBorderHatchPitch(self)
14013 r"""GetDefaultHatchPitch() -> int"""
14014 return _pcbnew.ZONE_GetDefaultHatchPitch()
14017 r"""SetBorderDisplayStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aBorderHatchStyle, int aBorderHatchPitch, bool aRebuilBorderdHatch)"""
14018 return _pcbnew.ZONE_SetBorderDisplayStyle(self, aBorderHatchStyle, aBorderHatchPitch, aRebuilBorderdHatch)
14021 r"""SetBorderHatchPitch(ZONE self, int aPitch)"""
14022 return _pcbnew.ZONE_SetBorderHatchPitch(self, aPitch)
14025 r"""UnHatchBorder(ZONE self)"""
14026 return _pcbnew.ZONE_UnHatchBorder(self)
14029 r"""HatchBorder(ZONE self)"""
14030 return _pcbnew.ZONE_HatchBorder(self)
14033 r"""GetHatchLines(ZONE self) -> std::vector< SEG,std::allocator< SEG > > const &"""
14034 return _pcbnew.ZONE_GetHatchLines(self)
14037 r"""BuildHashValue(ZONE self, PCB_LAYER_ID aLayer)"""
14038 return _pcbnew.ZONE_BuildHashValue(self, aLayer)
14041 r"""GetHashValue(ZONE self, PCB_LAYER_ID aLayer) -> MD5_HASH"""
14042 return _pcbnew.ZONE_GetHashValue(self, aLayer)
14045_pcbnew.ZONE_swigregister(ZONE)
14048 r"""ZONE_ClassOf(EDA_ITEM aItem) -> bool"""
14049 return _pcbnew.ZONE_ClassOf(aItem)
14052 r"""ZONE_GetDefaultHatchPitch() -> int"""
14053 return _pcbnew.ZONE_GetDefaultHatchPitch()
14056 r"""Proxy of C++ FP_ZONE class."""
14058 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14059 __repr__ = _swig_repr
14063 __init__(FP_ZONE self, BOARD_ITEM_CONTAINER aParent) -> FP_ZONE
14064 __init__(FP_ZONE self, FP_ZONE aZone) -> FP_ZONE
14066 _pcbnew.FP_ZONE_swiginit(self, _pcbnew.new_FP_ZONE(*args))
14069 r"""ViewGetLOD(FP_ZONE self, int aLayer, KIGFX::VIEW * aView) -> double"""
14070 return _pcbnew.FP_ZONE_ViewGetLOD(self, aLayer, aView)
14071 __swig_destroy__ = _pcbnew.delete_FP_ZONE
14074_pcbnew.FP_ZONE_swigregister(FP_ZONE)
14076ZONE_THERMAL_RELIEF_GAP_MM = _pcbnew.ZONE_THERMAL_RELIEF_GAP_MM
14078ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM = _pcbnew.ZONE_THERMAL_RELIEF_COPPER_WIDTH_MM
14080ZONE_THICKNESS_MM = _pcbnew.ZONE_THICKNESS_MM
14082ZONE_THICKNESS_MIN_VALUE_MM = _pcbnew.ZONE_THICKNESS_MIN_VALUE_MM
14084ZONE_CLEARANCE_MM = _pcbnew.ZONE_CLEARANCE_MM
14086ZONE_CLEARANCE_MAX_VALUE_MM = _pcbnew.ZONE_CLEARANCE_MAX_VALUE_MM
14088ZONE_BORDER_HATCH_DIST_MM = _pcbnew.ZONE_BORDER_HATCH_DIST_MM
14090ZONE_BORDER_HATCH_MINDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MINDIST_MM
14092ZONE_BORDER_HATCH_MAXDIST_MM = _pcbnew.ZONE_BORDER_HATCH_MAXDIST_MM
14094ZONE_EXPORT_VALUES = _pcbnew.ZONE_EXPORT_VALUES
14096ZONE_CONNECTION_INHERITED = _pcbnew.ZONE_CONNECTION_INHERITED
14098ZONE_CONNECTION_NONE = _pcbnew.ZONE_CONNECTION_NONE
14100ZONE_CONNECTION_THERMAL = _pcbnew.ZONE_CONNECTION_THERMAL
14102ZONE_CONNECTION_FULL = _pcbnew.ZONE_CONNECTION_FULL
14104ZONE_CONNECTION_THT_THERMAL = _pcbnew.ZONE_CONNECTION_THT_THERMAL
14108 r"""PrintZoneConnection(ZONE_CONNECTION aConnection) -> wxString"""
14109 return _pcbnew.PrintZoneConnection(aConnection)
14112 r"""InvokeNonCopperZonesEditor(PCB_BASE_FRAME * aParent, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
14113 return _pcbnew.InvokeNonCopperZonesEditor(aParent, aSettings, aConvertSettings)
14116 r"""InvokeCopperZonesEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
14117 return _pcbnew.InvokeCopperZonesEditor(aCaller, aSettings, aConvertSettings)
14120 r"""InvokeRuleAreaEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings, CONVERT_SETTINGS * aConvertSettings=None) -> int"""
14121 return _pcbnew.InvokeRuleAreaEditor(aCaller, aSettings, aConvertSettings)
14123 r"""Proxy of C++ ZONE_FILLER class."""
14125 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14126 __repr__ = _swig_repr
14127 __swig_destroy__ = _pcbnew.delete_ZONE_FILLER
14130 r"""SetProgressReporter(ZONE_FILLER self, PROGRESS_REPORTER * aReporter)"""
14131 return _pcbnew.ZONE_FILLER_SetProgressReporter(self, aReporter)
14134 r"""GetProgressReporter(ZONE_FILLER self) -> PROGRESS_REPORTER *"""
14135 return _pcbnew.ZONE_FILLER_GetProgressReporter(self)
14137 def Fill(self, aZones, aCheck=False, aParent=None):
14138 r"""Fill(ZONE_FILLER self, ZONES aZones, bool aCheck=False, wxWindow * aParent=None) -> bool"""
14139 return _pcbnew.ZONE_FILLER_Fill(self, aZones, aCheck, aParent)
14142 r"""IsDebug(ZONE_FILLER self) -> bool"""
14143 return _pcbnew.ZONE_FILLER_IsDebug(self)
14146 r"""__init__(ZONE_FILLER self, BOARD aBoard) -> ZONE_FILLER"""
14147 _pcbnew.ZONE_FILLER_swiginit(self, _pcbnew.new_ZONE_FILLER(aBoard))
14150_pcbnew.ZONE_FILLER_swigregister(ZONE_FILLER)
14152ZONE_FILL_MODE_POLYGONS = _pcbnew.ZONE_FILL_MODE_POLYGONS
14154ZONE_FILL_MODE_HATCH_PATTERN = _pcbnew.ZONE_FILL_MODE_HATCH_PATTERN
14156ZONE_BORDER_DISPLAY_STYLE_NO_HATCH = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_NO_HATCH
14158ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL
14160ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE
14162ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_INVISIBLE_BORDER
14164ISLAND_REMOVAL_MODE_ALWAYS = _pcbnew.ISLAND_REMOVAL_MODE_ALWAYS
14166ISLAND_REMOVAL_MODE_NEVER = _pcbnew.ISLAND_REMOVAL_MODE_NEVER
14168ISLAND_REMOVAL_MODE_AREA = _pcbnew.ISLAND_REMOVAL_MODE_AREA
14171 r"""Proxy of C++ ZONE_SETTINGS class."""
14173 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14174 __repr__ = _swig_repr
14175 SMOOTHING_UNDEFINED = _pcbnew.ZONE_SETTINGS_SMOOTHING_UNDEFINED
14177 SMOOTHING_NONE = _pcbnew.ZONE_SETTINGS_SMOOTHING_NONE
14179 SMOOTHING_CHAMFER = _pcbnew.ZONE_SETTINGS_SMOOTHING_CHAMFER
14181 SMOOTHING_FILLET = _pcbnew.ZONE_SETTINGS_SMOOTHING_FILLET
14183 SMOOTHING_LAST = _pcbnew.ZONE_SETTINGS_SMOOTHING_LAST
14185 m_ZonePriority = property(_pcbnew.ZONE_SETTINGS_m_ZonePriority_get, _pcbnew.ZONE_SETTINGS_m_ZonePriority_set, doc=
r"""m_ZonePriority : unsigned int""")
14186 m_FillMode = property(_pcbnew.ZONE_SETTINGS_m_FillMode_get, _pcbnew.ZONE_SETTINGS_m_FillMode_set, doc=
r"""m_FillMode : ZONE_FILL_MODE""")
14187 m_ZoneClearance = property(_pcbnew.ZONE_SETTINGS_m_ZoneClearance_get, _pcbnew.ZONE_SETTINGS_m_ZoneClearance_set, doc=
r"""m_ZoneClearance : int""")
14188 m_ZoneMinThickness = property(_pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_get, _pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_set, doc=
r"""m_ZoneMinThickness : int""")
14189 m_HatchThickness = property(_pcbnew.ZONE_SETTINGS_m_HatchThickness_get, _pcbnew.ZONE_SETTINGS_m_HatchThickness_set, doc=
r"""m_HatchThickness : int""")
14190 m_HatchGap = property(_pcbnew.ZONE_SETTINGS_m_HatchGap_get, _pcbnew.ZONE_SETTINGS_m_HatchGap_set, doc=
r"""m_HatchGap : int""")
14191 m_HatchOrientation = property(_pcbnew.ZONE_SETTINGS_m_HatchOrientation_get, _pcbnew.ZONE_SETTINGS_m_HatchOrientation_set, doc=
r"""m_HatchOrientation : EDA_ANGLE""")
14192 m_HatchSmoothingLevel = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_set, doc=
r"""m_HatchSmoothingLevel : int""")
14193 m_HatchSmoothingValue = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_set, doc=
r"""m_HatchSmoothingValue : double""")
14194 m_HatchHoleMinArea = property(_pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_get, _pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_set, doc=
r"""m_HatchHoleMinArea : double""")
14195 m_HatchBorderAlgorithm = property(_pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_get, _pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_set, doc=
r"""m_HatchBorderAlgorithm : int""")
14196 m_NetcodeSelection = property(_pcbnew.ZONE_SETTINGS_m_NetcodeSelection_get, _pcbnew.ZONE_SETTINGS_m_NetcodeSelection_set, doc=
r"""m_NetcodeSelection : int""")
14197 m_Name = property(_pcbnew.ZONE_SETTINGS_m_Name_get, _pcbnew.ZONE_SETTINGS_m_Name_set, doc=
r"""m_Name : wxString""")
14198 m_Layers = property(_pcbnew.ZONE_SETTINGS_m_Layers_get, _pcbnew.ZONE_SETTINGS_m_Layers_set, doc=
r"""m_Layers : LSET""")
14199 m_ZoneBorderDisplayStyle = property(_pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_get, _pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_set, doc=
r"""m_ZoneBorderDisplayStyle : ZONE_BORDER_DISPLAY_STYLE""")
14200 m_BorderHatchPitch = property(_pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_get, _pcbnew.ZONE_SETTINGS_m_BorderHatchPitch_set, doc=
r"""m_BorderHatchPitch : int""")
14201 m_ThermalReliefGap = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_set, doc=
r"""m_ThermalReliefGap : long""")
14202 m_ThermalReliefSpokeWidth = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_set, doc=
r"""m_ThermalReliefSpokeWidth : long""")
14203 m_Locked = property(_pcbnew.ZONE_SETTINGS_m_Locked_get, _pcbnew.ZONE_SETTINGS_m_Locked_set, doc=
r"""m_Locked : bool""")
14204 m_TeardropType = property(_pcbnew.ZONE_SETTINGS_m_TeardropType_get, _pcbnew.ZONE_SETTINGS_m_TeardropType_set, doc=
r"""m_TeardropType : TEARDROP_TYPE""")
14207 r"""__init__(ZONE_SETTINGS self) -> ZONE_SETTINGS"""
14208 _pcbnew.ZONE_SETTINGS_swiginit(self, _pcbnew.new_ZONE_SETTINGS())
14211 r"""__lshift__(ZONE_SETTINGS self, ZONE aSource) -> ZONE_SETTINGS"""
14212 return _pcbnew.ZONE_SETTINGS___lshift__(self, aSource)
14215 r"""SetupLayersList(ZONE_SETTINGS self, wxDataViewListCtrl * aList, PCB_BASE_FRAME * aFrame, LSET aLayers, bool aFpEditorMode)"""
14216 return _pcbnew.ZONE_SETTINGS_SetupLayersList(self, aList, aFrame, aLayers, aFpEditorMode)
14219 r"""ExportSetting(ZONE_SETTINGS self, ZONE aTarget, bool aFullExport=True)"""
14220 return _pcbnew.ZONE_SETTINGS_ExportSetting(self, aTarget, aFullExport)
14223 r"""SetCornerSmoothingType(ZONE_SETTINGS self, int aType)"""
14224 return _pcbnew.ZONE_SETTINGS_SetCornerSmoothingType(self, aType)
14227 r"""GetCornerSmoothingType(ZONE_SETTINGS self) -> int"""
14228 return _pcbnew.ZONE_SETTINGS_GetCornerSmoothingType(self)
14231 r"""SetCornerRadius(ZONE_SETTINGS self, int aRadius)"""
14232 return _pcbnew.ZONE_SETTINGS_SetCornerRadius(self, aRadius)
14235 r"""GetCornerRadius(ZONE_SETTINGS self) -> unsigned int"""
14236 return _pcbnew.ZONE_SETTINGS_GetCornerRadius(self)
14239 r"""GetPadConnection(ZONE_SETTINGS self) -> ZONE_CONNECTION"""
14240 return _pcbnew.ZONE_SETTINGS_GetPadConnection(self)
14243 r"""SetPadConnection(ZONE_SETTINGS self, ZONE_CONNECTION aPadConnection)"""
14244 return _pcbnew.ZONE_SETTINGS_SetPadConnection(self, aPadConnection)
14247 r"""GetIsRuleArea(ZONE_SETTINGS self) -> bool const"""
14248 return _pcbnew.ZONE_SETTINGS_GetIsRuleArea(self)
14251 r"""GetDoNotAllowCopperPour(ZONE_SETTINGS self) -> bool const"""
14252 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowCopperPour(self)
14255 r"""GetDoNotAllowVias(ZONE_SETTINGS self) -> bool const"""
14256 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowVias(self)
14259 r"""GetDoNotAllowTracks(ZONE_SETTINGS self) -> bool const"""
14260 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowTracks(self)
14263 r"""GetDoNotAllowPads(ZONE_SETTINGS self) -> bool const"""
14264 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowPads(self)
14267 r"""GetDoNotAllowFootprints(ZONE_SETTINGS self) -> bool const"""
14268 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowFootprints(self)
14271 r"""SetIsRuleArea(ZONE_SETTINGS self, bool aEnable)"""
14272 return _pcbnew.ZONE_SETTINGS_SetIsRuleArea(self, aEnable)
14275 r"""SetDoNotAllowCopperPour(ZONE_SETTINGS self, bool aEnable)"""
14276 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowCopperPour(self, aEnable)
14279 r"""SetDoNotAllowVias(ZONE_SETTINGS self, bool aEnable)"""
14280 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowVias(self, aEnable)
14283 r"""SetDoNotAllowTracks(ZONE_SETTINGS self, bool aEnable)"""
14284 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowTracks(self, aEnable)
14287 r"""SetDoNotAllowPads(ZONE_SETTINGS self, bool aEnable)"""
14288 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowPads(self, aEnable)
14291 r"""SetDoNotAllowFootprints(ZONE_SETTINGS self, bool aEnable)"""
14292 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowFootprints(self, aEnable)
14295 r"""GetIslandRemovalMode(ZONE_SETTINGS self) -> ISLAND_REMOVAL_MODE const"""
14296 return _pcbnew.ZONE_SETTINGS_GetIslandRemovalMode(self)
14299 r"""SetIslandRemovalMode(ZONE_SETTINGS self, ISLAND_REMOVAL_MODE aRemove)"""
14300 return _pcbnew.ZONE_SETTINGS_SetIslandRemovalMode(self, aRemove)
14303 r"""GetMinIslandArea(ZONE_SETTINGS self) -> long long"""
14304 return _pcbnew.ZONE_SETTINGS_GetMinIslandArea(self)
14307 r"""SetMinIslandArea(ZONE_SETTINGS self, long long aArea)"""
14308 return _pcbnew.ZONE_SETTINGS_SetMinIslandArea(self, aArea)
14309 __swig_destroy__ = _pcbnew.delete_ZONE_SETTINGS
14312_pcbnew.ZONE_SETTINGS_swigregister(ZONE_SETTINGS)
14314TENTHS_OF_A_DEGREE_T = _pcbnew.TENTHS_OF_A_DEGREE_T
14316DEGREES_T = _pcbnew.DEGREES_T
14318RADIANS_T = _pcbnew.RADIANS_T
14321 r"""Proxy of C++ EDA_ANGLE class."""
14323 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14324 __repr__ = _swig_repr
14328 __init__(EDA_ANGLE self, double aValue, EDA_ANGLE_T aAngleType) -> EDA_ANGLE
14329 __init__(EDA_ANGLE self, VECTOR2D const & aVector) -> EDA_ANGLE
14330 __init__(EDA_ANGLE self, VECTOR2I aVector) -> EDA_ANGLE
14331 __init__(EDA_ANGLE self) -> EDA_ANGLE
14333 _pcbnew.EDA_ANGLE_swiginit(self, _pcbnew.new_EDA_ANGLE(*args))
14336 r"""AsDegrees(EDA_ANGLE self) -> double"""
14337 return _pcbnew.EDA_ANGLE_AsDegrees(self)
14340 r"""AsTenthsOfADegree(EDA_ANGLE self) -> int"""
14341 return _pcbnew.EDA_ANGLE_AsTenthsOfADegree(self)
14344 r"""AsRadians(EDA_ANGLE self) -> double"""
14345 return _pcbnew.EDA_ANGLE_AsRadians(self)
14346 DEGREES_TO_RADIANS = _pcbnew.EDA_ANGLE_DEGREES_TO_RADIANS
14350 r"""IsCardinal(EDA_ANGLE self) -> bool"""
14351 return _pcbnew.EDA_ANGLE_IsCardinal(self)
14354 r"""IsCardinal90(EDA_ANGLE self) -> bool"""
14355 return _pcbnew.EDA_ANGLE_IsCardinal90(self)
14358 r"""IsZero(EDA_ANGLE self) -> bool"""
14359 return _pcbnew.EDA_ANGLE_IsZero(self)
14362 r"""IsHorizontal(EDA_ANGLE self) -> bool"""
14363 return _pcbnew.EDA_ANGLE_IsHorizontal(self)
14366 r"""IsVertical(EDA_ANGLE self) -> bool"""
14367 return _pcbnew.EDA_ANGLE_IsVertical(self)
14370 r"""IsParallelTo(EDA_ANGLE self, EDA_ANGLE aAngle) -> bool"""
14371 return _pcbnew.EDA_ANGLE_IsParallelTo(self, aAngle)
14374 r"""Invert(EDA_ANGLE self) -> EDA_ANGLE"""
14375 return _pcbnew.EDA_ANGLE_Invert(self)
14378 r"""Sin(EDA_ANGLE self) -> double"""
14379 return _pcbnew.EDA_ANGLE_Sin(self)
14382 r"""Cos(EDA_ANGLE self) -> double"""
14383 return _pcbnew.EDA_ANGLE_Cos(self)
14386 r"""Tan(EDA_ANGLE self) -> double"""
14387 return _pcbnew.EDA_ANGLE_Tan(self)
14391 r"""Arccos(double x) -> EDA_ANGLE"""
14392 return _pcbnew.EDA_ANGLE_Arccos(x)
14396 r"""Arcsin(double x) -> EDA_ANGLE"""
14397 return _pcbnew.EDA_ANGLE_Arcsin(x)
14401 r"""Arctan(double x) -> EDA_ANGLE"""
14402 return _pcbnew.EDA_ANGLE_Arctan(x)
14406 r"""Arctan2(double y, double x) -> EDA_ANGLE"""
14407 return _pcbnew.EDA_ANGLE_Arctan2(y, x)
14410 r"""Normalize(EDA_ANGLE self) -> EDA_ANGLE"""
14411 return _pcbnew.EDA_ANGLE_Normalize(self)
14414 r"""NormalizeNegative(EDA_ANGLE self) -> EDA_ANGLE"""
14415 return _pcbnew.EDA_ANGLE_NormalizeNegative(self)
14418 r"""Normalize90(EDA_ANGLE self) -> EDA_ANGLE"""
14419 return _pcbnew.EDA_ANGLE_Normalize90(self)
14422 r"""Normalize180(EDA_ANGLE self) -> EDA_ANGLE"""
14423 return _pcbnew.EDA_ANGLE_Normalize180(self)
14426 r"""Normalize720(EDA_ANGLE self) -> EDA_ANGLE"""
14427 return _pcbnew.EDA_ANGLE_Normalize720(self)
14430 r"""KeepUpright(EDA_ANGLE self) -> EDA_ANGLE"""
14431 return _pcbnew.EDA_ANGLE_KeepUpright(self)
14434 r"""__iadd__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
14435 return _pcbnew.EDA_ANGLE___iadd__(self, aAngle)
14438 r"""__isub__(EDA_ANGLE self, EDA_ANGLE aAngle) -> EDA_ANGLE"""
14439 return _pcbnew.EDA_ANGLE___isub__(self, aAngle)
14440 m_Angle0 = property(_pcbnew.EDA_ANGLE_m_Angle0_get, _pcbnew.EDA_ANGLE_m_Angle0_set, doc=
r"""m_Angle0 : EDA_ANGLE""")
14441 m_Angle45 = property(_pcbnew.EDA_ANGLE_m_Angle45_get, _pcbnew.EDA_ANGLE_m_Angle45_set, doc=
r"""m_Angle45 : EDA_ANGLE""")
14442 m_Angle90 = property(_pcbnew.EDA_ANGLE_m_Angle90_get, _pcbnew.EDA_ANGLE_m_Angle90_set, doc=
r"""m_Angle90 : EDA_ANGLE""")
14443 m_Angle135 = property(_pcbnew.EDA_ANGLE_m_Angle135_get, _pcbnew.EDA_ANGLE_m_Angle135_set, doc=
r"""m_Angle135 : EDA_ANGLE""")
14444 m_Angle180 = property(_pcbnew.EDA_ANGLE_m_Angle180_get, _pcbnew.EDA_ANGLE_m_Angle180_set, doc=
r"""m_Angle180 : EDA_ANGLE""")
14445 m_Angle270 = property(_pcbnew.EDA_ANGLE_m_Angle270_get, _pcbnew.EDA_ANGLE_m_Angle270_set, doc=
r"""m_Angle270 : EDA_ANGLE""")
14446 m_Angle360 = property(_pcbnew.EDA_ANGLE_m_Angle360_get, _pcbnew.EDA_ANGLE_m_Angle360_set, doc=
r"""m_Angle360 : EDA_ANGLE""")
14467 __swig_destroy__ = _pcbnew.delete_EDA_ANGLE
14470_pcbnew.EDA_ANGLE_swigregister(EDA_ANGLE)
14473 r"""EDA_ANGLE_Arccos(double x) -> EDA_ANGLE"""
14474 return _pcbnew.EDA_ANGLE_Arccos(x)
14477 r"""EDA_ANGLE_Arcsin(double x) -> EDA_ANGLE"""
14478 return _pcbnew.EDA_ANGLE_Arcsin(x)
14481 r"""EDA_ANGLE_Arctan(double x) -> EDA_ANGLE"""
14482 return _pcbnew.EDA_ANGLE_Arctan(x)
14485 r"""EDA_ANGLE_Arctan2(double y, double x) -> EDA_ANGLE"""
14486 return _pcbnew.EDA_ANGLE_Arctan2(y, x)
14490 r"""abs(EDA_ANGLE aAngle) -> EDA_ANGLE"""
14491 return _pcbnew.abs(aAngle)
14492SHAPE_T_SEGMENT = _pcbnew.SHAPE_T_SEGMENT
14494SHAPE_T_RECT = _pcbnew.SHAPE_T_RECT
14496SHAPE_T_ARC = _pcbnew.SHAPE_T_ARC
14498SHAPE_T_CIRCLE = _pcbnew.SHAPE_T_CIRCLE
14500SHAPE_T_POLY = _pcbnew.SHAPE_T_POLY
14502SHAPE_T_BEZIER = _pcbnew.SHAPE_T_BEZIER
14504SHAPE_T_LAST = _pcbnew.SHAPE_T_LAST
14506FILL_T_NO_FILL = _pcbnew.FILL_T_NO_FILL
14508FILL_T_FILLED_SHAPE = _pcbnew.FILL_T_FILLED_SHAPE
14510FILL_T_FILLED_WITH_BG_BODYCOLOR = _pcbnew.FILL_T_FILLED_WITH_BG_BODYCOLOR
14512FILL_T_FILLED_WITH_COLOR = _pcbnew.FILL_T_FILLED_WITH_COLOR
14515 r"""Proxy of C++ ARC_MID class."""
14517 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14518 __repr__ = _swig_repr
14519 mid = property(_pcbnew.ARC_MID_mid_get, _pcbnew.ARC_MID_mid_set, doc=
r"""mid : VECTOR2I""")
14520 start = property(_pcbnew.ARC_MID_start_get, _pcbnew.ARC_MID_start_set, doc=
r"""start : VECTOR2I""")
14521 end = property(_pcbnew.ARC_MID_end_get, _pcbnew.ARC_MID_end_set, doc=
r"""end : VECTOR2I""")
14522 center = property(_pcbnew.ARC_MID_center_get, _pcbnew.ARC_MID_center_set, doc=
r"""center : VECTOR2I""")
14525 r"""__init__(ARC_MID self) -> ARC_MID"""
14526 _pcbnew.ARC_MID_swiginit(self, _pcbnew.new_ARC_MID())
14527 __swig_destroy__ = _pcbnew.delete_ARC_MID
14530_pcbnew.ARC_MID_swigregister(ARC_MID)
14531ANGLE_HORIZONTAL = cvar.ANGLE_HORIZONTAL
14532ANGLE_VERTICAL = cvar.ANGLE_VERTICAL
14533FULL_CIRCLE = cvar.FULL_CIRCLE
14534ANGLE_0 = cvar.ANGLE_0
14535ANGLE_45 = cvar.ANGLE_45
14536ANGLE_90 = cvar.ANGLE_90
14537ANGLE_135 = cvar.ANGLE_135
14538ANGLE_180 = cvar.ANGLE_180
14539ANGLE_270 = cvar.ANGLE_270
14540ANGLE_360 = cvar.ANGLE_360
14543 r"""Proxy of C++ EDA_SHAPE class."""
14545 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14548 raise AttributeError(
"No constructor defined - class is abstract")
14549 __repr__ = _swig_repr
14550 __swig_destroy__ = _pcbnew.delete_EDA_SHAPE
14553 r"""SwapShape(EDA_SHAPE self, EDA_SHAPE aImage)"""
14554 return _pcbnew.EDA_SHAPE_SwapShape(self, aImage)
14557 r"""ShowShape(EDA_SHAPE self) -> wxString"""
14558 return _pcbnew.EDA_SHAPE_ShowShape(self)
14561 r"""SHAPE_T_asString(EDA_SHAPE self) -> wxString"""
14562 return _pcbnew.EDA_SHAPE_SHAPE_T_asString(self)
14565 r"""IsAnnotationProxy(EDA_SHAPE self) -> bool"""
14566 return _pcbnew.EDA_SHAPE_IsAnnotationProxy(self)
14569 r"""SetIsAnnotationProxy(EDA_SHAPE self, bool aIsProxy=True)"""
14570 return _pcbnew.EDA_SHAPE_SetIsAnnotationProxy(self, aIsProxy)
14573 r"""IsFilled(EDA_SHAPE self) -> bool"""
14574 return _pcbnew.EDA_SHAPE_IsFilled(self)
14577 r"""SetFilled(EDA_SHAPE self, bool aFlag)"""
14578 return _pcbnew.EDA_SHAPE_SetFilled(self, aFlag)
14581 r"""SetFillMode(EDA_SHAPE self, FILL_T aFill)"""
14582 return _pcbnew.EDA_SHAPE_SetFillMode(self, aFill)
14585 r"""GetFillMode(EDA_SHAPE self) -> FILL_T"""
14586 return _pcbnew.EDA_SHAPE_GetFillMode(self)
14589 r"""IsClosed(EDA_SHAPE self) -> bool"""
14590 return _pcbnew.EDA_SHAPE_IsClosed(self)
14593 r"""GetFillColor(EDA_SHAPE self) -> COLOR4D"""
14594 return _pcbnew.EDA_SHAPE_GetFillColor(self)
14597 r"""SetFillColor(EDA_SHAPE self, COLOR4D aColor)"""
14598 return _pcbnew.EDA_SHAPE_SetFillColor(self, aColor)
14601 r"""SetWidth(EDA_SHAPE self, int aWidth)"""
14602 return _pcbnew.EDA_SHAPE_SetWidth(self, aWidth)
14605 r"""GetWidth(EDA_SHAPE self) -> int"""
14606 return _pcbnew.EDA_SHAPE_GetWidth(self)
14609 r"""GetEffectiveWidth(EDA_SHAPE self) -> int"""
14610 return _pcbnew.EDA_SHAPE_GetEffectiveWidth(self)
14613 r"""SetShape(EDA_SHAPE self, SHAPE_T aShape)"""
14614 return _pcbnew.EDA_SHAPE_SetShape(self, aShape)
14617 r"""GetShape(EDA_SHAPE self) -> SHAPE_T"""
14618 return _pcbnew.EDA_SHAPE_GetShape(self)
14621 r"""GetFriendlyName(EDA_SHAPE self) -> wxString"""
14622 return _pcbnew.EDA_SHAPE_GetFriendlyName(self)
14625 r"""GetStart(EDA_SHAPE self) -> VECTOR2I"""
14626 return _pcbnew.EDA_SHAPE_GetStart(self)
14629 r"""GetStartY(EDA_SHAPE self) -> int"""
14630 return _pcbnew.EDA_SHAPE_GetStartY(self)
14633 r"""GetStartX(EDA_SHAPE self) -> int"""
14634 return _pcbnew.EDA_SHAPE_GetStartX(self)
14637 r"""SetStart(EDA_SHAPE self, VECTOR2I aStart)"""
14638 return _pcbnew.EDA_SHAPE_SetStart(self, aStart)
14641 r"""SetStartY(EDA_SHAPE self, int y)"""
14642 return _pcbnew.EDA_SHAPE_SetStartY(self, y)
14645 r"""SetStartX(EDA_SHAPE self, int x)"""
14646 return _pcbnew.EDA_SHAPE_SetStartX(self, x)
14649 r"""GetEnd(EDA_SHAPE self) -> VECTOR2I"""
14650 return _pcbnew.EDA_SHAPE_GetEnd(self)
14653 r"""GetEndY(EDA_SHAPE self) -> int"""
14654 return _pcbnew.EDA_SHAPE_GetEndY(self)
14657 r"""GetEndX(EDA_SHAPE self) -> int"""
14658 return _pcbnew.EDA_SHAPE_GetEndX(self)
14661 r"""SetEnd(EDA_SHAPE self, VECTOR2I aEnd)"""
14662 return _pcbnew.EDA_SHAPE_SetEnd(self, aEnd)
14665 r"""SetEndY(EDA_SHAPE self, int y)"""
14666 return _pcbnew.EDA_SHAPE_SetEndY(self, y)
14669 r"""SetEndX(EDA_SHAPE self, int x)"""
14670 return _pcbnew.EDA_SHAPE_SetEndX(self, x)
14673 r"""GetTopLeft(EDA_SHAPE self) -> VECTOR2I"""
14674 return _pcbnew.EDA_SHAPE_GetTopLeft(self)
14677 r"""GetBotRight(EDA_SHAPE self) -> VECTOR2I"""
14678 return _pcbnew.EDA_SHAPE_GetBotRight(self)
14681 r"""SetTop(EDA_SHAPE self, int val)"""
14682 return _pcbnew.EDA_SHAPE_SetTop(self, val)
14685 r"""SetLeft(EDA_SHAPE self, int val)"""
14686 return _pcbnew.EDA_SHAPE_SetLeft(self, val)
14689 r"""SetRight(EDA_SHAPE self, int val)"""
14690 return _pcbnew.EDA_SHAPE_SetRight(self, val)
14693 r"""SetBottom(EDA_SHAPE self, int val)"""
14694 return _pcbnew.EDA_SHAPE_SetBottom(self, val)
14697 r"""SetBezierC1(EDA_SHAPE self, VECTOR2I aPt)"""
14698 return _pcbnew.EDA_SHAPE_SetBezierC1(self, aPt)
14701 r"""GetBezierC1(EDA_SHAPE self) -> VECTOR2I"""
14702 return _pcbnew.EDA_SHAPE_GetBezierC1(self)
14705 r"""SetBezierC2(EDA_SHAPE self, VECTOR2I aPt)"""
14706 return _pcbnew.EDA_SHAPE_SetBezierC2(self, aPt)
14709 r"""GetBezierC2(EDA_SHAPE self) -> VECTOR2I"""
14710 return _pcbnew.EDA_SHAPE_GetBezierC2(self)
14713 r"""SetCenter(EDA_SHAPE self, VECTOR2I aCenter)"""
14714 return _pcbnew.EDA_SHAPE_SetCenter(self, aCenter)
14717 r"""SetArcAngleAndEnd(EDA_SHAPE self, EDA_ANGLE aAngle, bool aCheckNegativeAngle=False)"""
14718 return _pcbnew.EDA_SHAPE_SetArcAngleAndEnd(self, aAngle, aCheckNegativeAngle)
14721 r"""GetArcAngle(EDA_SHAPE self) -> EDA_ANGLE"""
14722 return _pcbnew.EDA_SHAPE_GetArcAngle(self)
14725 r"""EndsSwapped(EDA_SHAPE self) -> bool"""
14726 return _pcbnew.EDA_SHAPE_EndsSwapped(self)
14729 r"""GetArcMid(EDA_SHAPE self) -> VECTOR2I"""
14730 return _pcbnew.EDA_SHAPE_GetArcMid(self)
14733 r"""GetRectCorners(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
14734 return _pcbnew.EDA_SHAPE_GetRectCorners(self)
14737 r"""CalcArcAngles(EDA_SHAPE self, EDA_ANGLE aStartAngle, EDA_ANGLE aEndAngle)"""
14738 return _pcbnew.EDA_SHAPE_CalcArcAngles(self, aStartAngle, aEndAngle)
14741 r"""GetRadius(EDA_SHAPE self) -> int"""
14742 return _pcbnew.EDA_SHAPE_GetRadius(self)
14745 r"""SetArcGeometry(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd)"""
14746 return _pcbnew.EDA_SHAPE_SetArcGeometry(self, aStart, aMid, aEnd)
14749 r"""SetCachedArcData(EDA_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd, VECTOR2I aCenter)"""
14750 return _pcbnew.EDA_SHAPE_SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
14753 r"""GetBezierPoints(EDA_SHAPE self) -> VECTOR_VECTOR2I"""
14754 return _pcbnew.EDA_SHAPE_GetBezierPoints(self)
14757 r"""DupPolyPointsList(EDA_SHAPE self, VECTOR_VECTOR2I aBuffer)"""
14758 return _pcbnew.EDA_SHAPE_DupPolyPointsList(self, aBuffer)
14761 r"""GetPointCount(EDA_SHAPE self) -> int"""
14762 return _pcbnew.EDA_SHAPE_GetPointCount(self)
14769 return _pcbnew.EDA_SHAPE_GetPolyShape(self, *args)
14772 r"""IsPolyShapeValid(EDA_SHAPE self) -> bool"""
14773 return _pcbnew.EDA_SHAPE_IsPolyShapeValid(self)
14776 r"""SetPolyShape(EDA_SHAPE self, SHAPE_POLY_SET aShape)"""
14777 return _pcbnew.EDA_SHAPE_SetPolyShape(self, aShape)
14780 r"""SetPolyPoints(EDA_SHAPE self, VECTOR_VECTOR2I aPoints)"""
14781 return _pcbnew.EDA_SHAPE_SetPolyPoints(self, aPoints)
14784 r"""RebuildBezierToSegmentsPointsList(EDA_SHAPE self, int aMinSegLen)"""
14785 return _pcbnew.EDA_SHAPE_RebuildBezierToSegmentsPointsList(self, aMinSegLen)
14788 r"""MakeEffectiveShapes(EDA_SHAPE self, bool aEdgeOnly=False) -> std::vector< SHAPE *,std::allocator< SHAPE * > >"""
14789 return _pcbnew.EDA_SHAPE_MakeEffectiveShapes(self, aEdgeOnly)
14792 r"""ShapeGetMsgPanelInfo(EDA_SHAPE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
14793 return _pcbnew.EDA_SHAPE_ShapeGetMsgPanelInfo(self, aFrame, aList)
14796 r"""GetLength(EDA_SHAPE self) -> double"""
14797 return _pcbnew.EDA_SHAPE_GetLength(self)
14800 r"""TransformShapeToPolygon(EDA_SHAPE self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
14801 return _pcbnew.EDA_SHAPE_TransformShapeToPolygon(self, aBuffer, aClearance, aError, aErrorLoc, ignoreLineWidth)
14804 r"""Compare(EDA_SHAPE self, EDA_SHAPE aOther) -> int"""
14805 return _pcbnew.EDA_SHAPE_Compare(self, aOther)
14808_pcbnew.EDA_SHAPE_swigregister(EDA_SHAPE)
14811 r"""Proxy of C++ PCB_SHAPE class."""
14813 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14814 __repr__ = _swig_repr
14818 __init__(PCB_SHAPE self, BOARD_ITEM aParent, KICAD_T aItemType, SHAPE_T aShapeType) -> PCB_SHAPE
14819 __init__(PCB_SHAPE self, BOARD_ITEM aParent=None, SHAPE_T aShapeType=SEGMENT) -> PCB_SHAPE
14821 _pcbnew.PCB_SHAPE_swiginit(self, _pcbnew.new_PCB_SHAPE(*args))
14822 __swig_destroy__ = _pcbnew.delete_PCB_SHAPE
14826 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14827 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
14830 r"""GetFriendlyName(PCB_SHAPE self) -> wxString"""
14831 return _pcbnew.PCB_SHAPE_GetFriendlyName(self)
14834 r"""GetCorners(PCB_SHAPE self) -> VECTOR_VECTOR2I"""
14835 return _pcbnew.PCB_SHAPE_GetCorners(self)
14838 r"""GetParentFootprint(PCB_SHAPE self) -> FOOTPRINT"""
14839 return _pcbnew.PCB_SHAPE_GetParentFootprint(self)
14842 r"""GetEffectiveShape(PCB_SHAPE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14843 return _pcbnew.PCB_SHAPE_GetEffectiveShape(self, *args)
14847 HitTest(PCB_SHAPE self, VECTOR2I aPosition, int aAccuracy=0) -> bool
14848 HitTest(PCB_SHAPE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
14850 return _pcbnew.PCB_SHAPE_HitTest(self, *args)
14853 r"""NormalizeRect(PCB_SHAPE self)"""
14854 return _pcbnew.PCB_SHAPE_NormalizeRect(self)
14857 r"""Mirror(PCB_SHAPE self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
14858 return _pcbnew.PCB_SHAPE_Mirror(self, aCentre, aMirrorAroundXAxis)
14861 r"""Scale(PCB_SHAPE self, double aScale)"""
14862 return _pcbnew.PCB_SHAPE_Scale(self, aScale)
14865 r"""TransformShapeToPolygon(PCB_SHAPE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
14866 return _pcbnew.PCB_SHAPE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
14869 r"""ViewGetLOD(PCB_SHAPE self, int aLayer, KIGFX::VIEW * aView) -> double"""
14870 return _pcbnew.PCB_SHAPE_ViewGetLOD(self, aLayer, aView)
14873 r"""GetArcAngleStart(PCB_SHAPE self) -> EDA_ANGLE"""
14874 return _pcbnew.PCB_SHAPE_GetArcAngleStart(self)
14881_pcbnew.PCB_SHAPE_swigregister(PCB_SHAPE)
14884 r"""PCB_SHAPE_ClassOf(EDA_ITEM aItem) -> bool"""
14885 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
14888 r"""Proxy of C++ PCB_TEXT class."""
14890 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14891 __repr__ = _swig_repr
14894 r"""__init__(PCB_TEXT self, BOARD_ITEM parent, KICAD_T idtype=PCB_TEXT_T) -> PCB_TEXT"""
14895 _pcbnew.PCB_TEXT_swiginit(self, _pcbnew.new_PCB_TEXT(parent, idtype))
14896 __swig_destroy__ = _pcbnew.delete_PCB_TEXT
14900 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14901 return _pcbnew.PCB_TEXT_ClassOf(aItem)
14904 r"""GetShownText(PCB_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
14905 return _pcbnew.PCB_TEXT_GetShownText(self, aAllowExtraText, aDepth)
14908 r"""Mirror(PCB_TEXT self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
14909 return _pcbnew.PCB_TEXT_Mirror(self, aCentre, aMirrorAroundXAxis)
14913 TextHitTest(PCB_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
14914 TextHitTest(PCB_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
14916 return _pcbnew.PCB_TEXT_TextHitTest(self, *args)
14920 HitTest(PCB_TEXT self, VECTOR2I aPosition, int aAccuracy) -> bool
14921 HitTest(PCB_TEXT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
14923 return _pcbnew.PCB_TEXT_HitTest(self, *args)
14926 r"""TransformTextToPolySet(PCB_TEXT self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
14927 return _pcbnew.PCB_TEXT_TransformTextToPolySet(self, aBuffer, aClearance, aError, aErrorLoc)
14930 r"""TransformShapeToPolygon(PCB_TEXT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
14931 return _pcbnew.PCB_TEXT_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
14934 r"""GetEffectiveShape(PCB_TEXT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14935 return _pcbnew.PCB_TEXT_GetEffectiveShape(self, *args)
14938 r"""ViewGetLOD(PCB_TEXT self, int aLayer, KIGFX::VIEW * aView) -> double"""
14939 return _pcbnew.PCB_TEXT_ViewGetLOD(self, aLayer, aView)
14943 r"""GetShownText(PCB_TEXT self) -> wxString"""
14944 return _pcbnew.PCB_TEXT_GetShownText(self,
True, 0)
14948_pcbnew.PCB_TEXT_swigregister(PCB_TEXT)
14949S_SEGMENT = cvar.S_SEGMENT
14950S_RECT = cvar.S_RECT
14952S_CIRCLE = cvar.S_CIRCLE
14953S_POLYGON = cvar.S_POLYGON
14954S_CURVE = cvar.S_CURVE
14957 r"""PCB_TEXT_ClassOf(EDA_ITEM aItem) -> bool"""
14958 return _pcbnew.PCB_TEXT_ClassOf(aItem)
14961 r"""Proxy of C++ PCB_TEXTBOX class."""
14963 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14964 __repr__ = _swig_repr
14967 r"""__init__(PCB_TEXTBOX self, BOARD_ITEM parent) -> PCB_TEXTBOX"""
14968 _pcbnew.PCB_TEXTBOX_swiginit(self, _pcbnew.new_PCB_TEXTBOX(parent))
14969 __swig_destroy__ = _pcbnew.delete_PCB_TEXTBOX
14973 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14974 return _pcbnew.PCB_TEXTBOX_ClassOf(aItem)
14977 r"""GetTextMargin(PCB_TEXTBOX self) -> int"""
14978 return _pcbnew.PCB_TEXTBOX_GetTextMargin(self)
14981 r"""GetShownText(PCB_TEXTBOX self, bool aAllowExtraText, int aDepth=0) -> wxString"""
14982 return _pcbnew.PCB_TEXTBOX_GetShownText(self, aAllowExtraText, aDepth)
14985 r"""GetAnchorAndOppositeCorner(PCB_TEXTBOX self) -> VECTOR_VECTOR2I"""
14986 return _pcbnew.PCB_TEXTBOX_GetAnchorAndOppositeCorner(self)
14990 HitTest(PCB_TEXTBOX self, VECTOR2I aPosition, int aAccuracy) -> bool
14991 HitTest(PCB_TEXTBOX self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
14993 return _pcbnew.PCB_TEXTBOX_HitTest(self, *args)
14996 r"""TransformTextToPolySet(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
14997 return _pcbnew.PCB_TEXTBOX_TransformTextToPolySet(self, aBuffer, aClearance, aError, aErrorLoc)
15000 r"""TransformShapeToPolygon(PCB_TEXTBOX self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
15001 return _pcbnew.PCB_TEXTBOX_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
15004 r"""GetEffectiveShape(PCB_TEXTBOX self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15005 return _pcbnew.PCB_TEXTBOX_GetEffectiveShape(self, *args)
15008 r"""ViewGetLOD(PCB_TEXTBOX self, int aLayer, KIGFX::VIEW * aView) -> double"""
15009 return _pcbnew.PCB_TEXTBOX_ViewGetLOD(self, aLayer, aView)
15012 r"""IsBorderEnabled(PCB_TEXTBOX self) -> bool"""
15013 return _pcbnew.PCB_TEXTBOX_IsBorderEnabled(self)
15016 r"""DisableBorder(PCB_TEXTBOX self)"""
15017 return _pcbnew.PCB_TEXTBOX_DisableBorder(self)
15021 r"""GetShownText(PCB_TEXTBOX self) -> wxString"""
15022 return _pcbnew.PCB_TEXTBOX_GetShownText(self,
True, 0)
15026_pcbnew.PCB_TEXTBOX_swigregister(PCB_TEXTBOX)
15029 r"""PCB_TEXTBOX_ClassOf(EDA_ITEM aItem) -> bool"""
15030 return _pcbnew.PCB_TEXTBOX_ClassOf(aItem)
15032GR_TEXT_H_ALIGN_LEFT = _pcbnew.GR_TEXT_H_ALIGN_LEFT
15034GR_TEXT_H_ALIGN_CENTER = _pcbnew.GR_TEXT_H_ALIGN_CENTER
15036GR_TEXT_H_ALIGN_RIGHT = _pcbnew.GR_TEXT_H_ALIGN_RIGHT
15038GR_TEXT_V_ALIGN_TOP = _pcbnew.GR_TEXT_V_ALIGN_TOP
15040GR_TEXT_V_ALIGN_CENTER = _pcbnew.GR_TEXT_V_ALIGN_CENTER
15042GR_TEXT_V_ALIGN_BOTTOM = _pcbnew.GR_TEXT_V_ALIGN_BOTTOM
15045 r"""Proxy of C++ TEXT_ATTRIBUTES class."""
15047 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15048 __repr__ = _swig_repr
15049 m_Font = property(_pcbnew.TEXT_ATTRIBUTES_m_Font_get, _pcbnew.TEXT_ATTRIBUTES_m_Font_set, doc=
r"""m_Font : p.KIFONT::FONT""")
15050 m_Halign = property(_pcbnew.TEXT_ATTRIBUTES_m_Halign_get, _pcbnew.TEXT_ATTRIBUTES_m_Halign_set, doc=
r"""m_Halign : GR_TEXT_H_ALIGN_T""")
15051 m_Valign = property(_pcbnew.TEXT_ATTRIBUTES_m_Valign_get, _pcbnew.TEXT_ATTRIBUTES_m_Valign_set, doc=
r"""m_Valign : GR_TEXT_V_ALIGN_T""")
15052 m_Angle = property(_pcbnew.TEXT_ATTRIBUTES_m_Angle_get, _pcbnew.TEXT_ATTRIBUTES_m_Angle_set, doc=
r"""m_Angle : EDA_ANGLE""")
15053 m_LineSpacing = property(_pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_get, _pcbnew.TEXT_ATTRIBUTES_m_LineSpacing_set, doc=
r"""m_LineSpacing : double""")
15054 m_StrokeWidth = property(_pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_get, _pcbnew.TEXT_ATTRIBUTES_m_StrokeWidth_set, doc=
r"""m_StrokeWidth : int""")
15055 m_Italic = property(_pcbnew.TEXT_ATTRIBUTES_m_Italic_get, _pcbnew.TEXT_ATTRIBUTES_m_Italic_set, doc=
r"""m_Italic : bool""")
15056 m_Bold = property(_pcbnew.TEXT_ATTRIBUTES_m_Bold_get, _pcbnew.TEXT_ATTRIBUTES_m_Bold_set, doc=
r"""m_Bold : bool""")
15057 m_Underlined = property(_pcbnew.TEXT_ATTRIBUTES_m_Underlined_get, _pcbnew.TEXT_ATTRIBUTES_m_Underlined_set, doc=
r"""m_Underlined : bool""")
15058 m_Color = property(_pcbnew.TEXT_ATTRIBUTES_m_Color_get, _pcbnew.TEXT_ATTRIBUTES_m_Color_set, doc=
r"""m_Color : KIGFX::COLOR4D""")
15059 m_Visible = property(_pcbnew.TEXT_ATTRIBUTES_m_Visible_get, _pcbnew.TEXT_ATTRIBUTES_m_Visible_set, doc=
r"""m_Visible : bool""")
15060 m_Mirrored = property(_pcbnew.TEXT_ATTRIBUTES_m_Mirrored_get, _pcbnew.TEXT_ATTRIBUTES_m_Mirrored_set, doc=
r"""m_Mirrored : bool""")
15061 m_Multiline = property(_pcbnew.TEXT_ATTRIBUTES_m_Multiline_get, _pcbnew.TEXT_ATTRIBUTES_m_Multiline_set, doc=
r"""m_Multiline : bool""")
15062 m_Size = property(_pcbnew.TEXT_ATTRIBUTES_m_Size_get, _pcbnew.TEXT_ATTRIBUTES_m_Size_set, doc=
r"""m_Size : VECTOR2I""")
15063 m_KeepUpright = property(_pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_get, _pcbnew.TEXT_ATTRIBUTES_m_KeepUpright_set, doc=
r"""m_KeepUpright : bool""")
15066 r"""__init__(TEXT_ATTRIBUTES self) -> TEXT_ATTRIBUTES"""
15067 _pcbnew.TEXT_ATTRIBUTES_swiginit(self, _pcbnew.new_TEXT_ATTRIBUTES())
15068 __swig_destroy__ = _pcbnew.delete_TEXT_ATTRIBUTES
15071_pcbnew.TEXT_ATTRIBUTES_swigregister(TEXT_ATTRIBUTES)
15073DIM_UNITS_FORMAT_NO_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_NO_SUFFIX
15075DIM_UNITS_FORMAT_BARE_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_BARE_SUFFIX
15077DIM_UNITS_FORMAT_PAREN_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_PAREN_SUFFIX
15079DIM_PRECISION_X = _pcbnew.DIM_PRECISION_X
15081DIM_PRECISION_X_X = _pcbnew.DIM_PRECISION_X_X
15083DIM_PRECISION_X_XX = _pcbnew.DIM_PRECISION_X_XX
15085DIM_PRECISION_X_XXX = _pcbnew.DIM_PRECISION_X_XXX
15087DIM_PRECISION_X_XXXX = _pcbnew.DIM_PRECISION_X_XXXX
15089DIM_PRECISION_X_XXXXX = _pcbnew.DIM_PRECISION_X_XXXXX
15091DIM_PRECISION_V_VV = _pcbnew.DIM_PRECISION_V_VV
15093DIM_PRECISION_V_VVV = _pcbnew.DIM_PRECISION_V_VVV
15095DIM_PRECISION_V_VVVV = _pcbnew.DIM_PRECISION_V_VVVV
15097DIM_PRECISION_V_VVVVV = _pcbnew.DIM_PRECISION_V_VVVVV
15099DIM_TEXT_POSITION_OUTSIDE = _pcbnew.DIM_TEXT_POSITION_OUTSIDE
15101DIM_TEXT_POSITION_INLINE = _pcbnew.DIM_TEXT_POSITION_INLINE
15103DIM_TEXT_POSITION_MANUAL = _pcbnew.DIM_TEXT_POSITION_MANUAL
15105DIM_UNITS_MODE_INCHES = _pcbnew.DIM_UNITS_MODE_INCHES
15107DIM_UNITS_MODE_MILS = _pcbnew.DIM_UNITS_MODE_MILS
15109DIM_UNITS_MODE_MILLIMETRES = _pcbnew.DIM_UNITS_MODE_MILLIMETRES
15111DIM_UNITS_MODE_AUTOMATIC = _pcbnew.DIM_UNITS_MODE_AUTOMATIC
15113DIM_TEXT_BORDER_NONE = _pcbnew.DIM_TEXT_BORDER_NONE
15115DIM_TEXT_BORDER_RECTANGLE = _pcbnew.DIM_TEXT_BORDER_RECTANGLE
15117DIM_TEXT_BORDER_CIRCLE = _pcbnew.DIM_TEXT_BORDER_CIRCLE
15119DIM_TEXT_BORDER_ROUNDRECT = _pcbnew.DIM_TEXT_BORDER_ROUNDRECT
15122 r"""Proxy of C++ PCB_DIMENSION_BASE class."""
15124 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15127 raise AttributeError(
"No constructor defined - class is abstract")
15128 __repr__ = _swig_repr
15131 r"""GetStart(PCB_DIMENSION_BASE self) -> VECTOR2I"""
15132 return _pcbnew.PCB_DIMENSION_BASE_GetStart(self)
15135 r"""SetStart(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
15136 return _pcbnew.PCB_DIMENSION_BASE_SetStart(self, aPoint)
15139 r"""GetEnd(PCB_DIMENSION_BASE self) -> VECTOR2I"""
15140 return _pcbnew.PCB_DIMENSION_BASE_GetEnd(self)
15143 r"""SetEnd(PCB_DIMENSION_BASE self, VECTOR2I aPoint)"""
15144 return _pcbnew.PCB_DIMENSION_BASE_SetEnd(self, aPoint)
15147 r"""GetOverrideTextEnabled(PCB_DIMENSION_BASE self) -> bool"""
15148 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideTextEnabled(self)
15151 r"""SetOverrideTextEnabled(PCB_DIMENSION_BASE self, bool aOverride)"""
15152 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideTextEnabled(self, aOverride)
15155 r"""GetOverrideText(PCB_DIMENSION_BASE self) -> wxString"""
15156 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideText(self)
15159 r"""SetOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
15160 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideText(self, aValue)
15163 r"""ChangeOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
15164 return _pcbnew.PCB_DIMENSION_BASE_ChangeOverrideText(self, aValue)
15167 r"""GetMeasuredValue(PCB_DIMENSION_BASE self) -> int"""
15168 return _pcbnew.PCB_DIMENSION_BASE_GetMeasuredValue(self)
15171 r"""SetMeasuredValue(PCB_DIMENSION_BASE self, int aValue)"""
15172 return _pcbnew.PCB_DIMENSION_BASE_SetMeasuredValue(self, aValue)
15175 r"""GetValueText(PCB_DIMENSION_BASE self) -> wxString"""
15176 return _pcbnew.PCB_DIMENSION_BASE_GetValueText(self)
15179 r"""Update(PCB_DIMENSION_BASE self)"""
15180 return _pcbnew.PCB_DIMENSION_BASE_Update(self)
15183 r"""UpdateUnits(PCB_DIMENSION_BASE self)"""
15184 return _pcbnew.PCB_DIMENSION_BASE_UpdateUnits(self)
15187 r"""GetPrefix(PCB_DIMENSION_BASE self) -> wxString"""
15188 return _pcbnew.PCB_DIMENSION_BASE_GetPrefix(self)
15191 r"""SetPrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
15192 return _pcbnew.PCB_DIMENSION_BASE_SetPrefix(self, aPrefix)
15195 r"""ChangePrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
15196 return _pcbnew.PCB_DIMENSION_BASE_ChangePrefix(self, aPrefix)
15199 r"""GetSuffix(PCB_DIMENSION_BASE self) -> wxString"""
15200 return _pcbnew.PCB_DIMENSION_BASE_GetSuffix(self)
15203 r"""SetSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
15204 return _pcbnew.PCB_DIMENSION_BASE_SetSuffix(self, aSuffix)
15207 r"""ChangeSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
15208 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuffix(self, aSuffix)
15211 r"""GetUnits(PCB_DIMENSION_BASE self) -> EDA_UNITS"""
15212 return _pcbnew.PCB_DIMENSION_BASE_GetUnits(self)
15215 r"""SetUnits(PCB_DIMENSION_BASE self, EDA_UNITS aUnits)"""
15216 return _pcbnew.PCB_DIMENSION_BASE_SetUnits(self, aUnits)
15219 r"""GetUnitsMode(PCB_DIMENSION_BASE self) -> DIM_UNITS_MODE"""
15220 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsMode(self)
15223 r"""SetUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
15224 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsMode(self, aMode)
15227 r"""ChangeUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
15228 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsMode(self, aMode)
15231 r"""SetAutoUnits(PCB_DIMENSION_BASE self, bool aAuto=True)"""
15232 return _pcbnew.PCB_DIMENSION_BASE_SetAutoUnits(self, aAuto)
15235 r"""GetUnitsFormat(PCB_DIMENSION_BASE self) -> DIM_UNITS_FORMAT"""
15236 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsFormat(self)
15239 r"""SetUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
15240 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsFormat(self, aFormat)
15243 r"""ChangeUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
15244 return _pcbnew.PCB_DIMENSION_BASE_ChangeUnitsFormat(self, aFormat)
15247 r"""GetPrecision(PCB_DIMENSION_BASE self) -> DIM_PRECISION"""
15248 return _pcbnew.PCB_DIMENSION_BASE_GetPrecision(self)
15251 r"""SetPrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
15252 return _pcbnew.PCB_DIMENSION_BASE_SetPrecision(self, aPrecision)
15255 r"""ChangePrecision(PCB_DIMENSION_BASE self, DIM_PRECISION aPrecision)"""
15256 return _pcbnew.PCB_DIMENSION_BASE_ChangePrecision(self, aPrecision)
15259 r"""GetSuppressZeroes(PCB_DIMENSION_BASE self) -> bool"""
15260 return _pcbnew.PCB_DIMENSION_BASE_GetSuppressZeroes(self)
15263 r"""SetSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
15264 return _pcbnew.PCB_DIMENSION_BASE_SetSuppressZeroes(self, aSuppress)
15267 r"""ChangeSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
15268 return _pcbnew.PCB_DIMENSION_BASE_ChangeSuppressZeroes(self, aSuppress)
15271 r"""GetKeepTextAligned(PCB_DIMENSION_BASE self) -> bool"""
15272 return _pcbnew.PCB_DIMENSION_BASE_GetKeepTextAligned(self)
15275 r"""SetKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)"""
15276 return _pcbnew.PCB_DIMENSION_BASE_SetKeepTextAligned(self, aKeepAligned)
15279 r"""SetTextPositionMode(PCB_DIMENSION_BASE self, DIM_TEXT_POSITION aMode)"""
15280 return _pcbnew.PCB_DIMENSION_BASE_SetTextPositionMode(self, aMode)
15283 r"""GetTextPositionMode(PCB_DIMENSION_BASE self) -> DIM_TEXT_POSITION"""
15284 return _pcbnew.PCB_DIMENSION_BASE_GetTextPositionMode(self)
15287 r"""GetArrowLength(PCB_DIMENSION_BASE self) -> int"""
15288 return _pcbnew.PCB_DIMENSION_BASE_GetArrowLength(self)
15291 r"""SetArrowLength(PCB_DIMENSION_BASE self, int aLength)"""
15292 return _pcbnew.PCB_DIMENSION_BASE_SetArrowLength(self, aLength)
15295 r"""SetExtensionOffset(PCB_DIMENSION_BASE self, int aOffset)"""
15296 return _pcbnew.PCB_DIMENSION_BASE_SetExtensionOffset(self, aOffset)
15299 r"""GetExtensionOffset(PCB_DIMENSION_BASE self) -> int"""
15300 return _pcbnew.PCB_DIMENSION_BASE_GetExtensionOffset(self)
15303 r"""GetLineThickness(PCB_DIMENSION_BASE self) -> int"""
15304 return _pcbnew.PCB_DIMENSION_BASE_GetLineThickness(self)
15307 r"""SetLineThickness(PCB_DIMENSION_BASE self, int aWidth)"""
15308 return _pcbnew.PCB_DIMENSION_BASE_SetLineThickness(self, aWidth)
15311 r"""GetShapes(PCB_DIMENSION_BASE self) -> VECTOR_SHAPEPTR"""
15312 return _pcbnew.PCB_DIMENSION_BASE_GetShapes(self)
15314 def Mirror(self, axis_pos, aMirrorLeftRight=False):
15315 r"""Mirror(PCB_DIMENSION_BASE self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)"""
15316 return _pcbnew.PCB_DIMENSION_BASE_Mirror(self, axis_pos, aMirrorLeftRight)
15320 HitTest(PCB_DIMENSION_BASE self, VECTOR2I aPosition, int aAccuracy) -> bool
15321 HitTest(PCB_DIMENSION_BASE self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15323 return _pcbnew.PCB_DIMENSION_BASE_HitTest(self, *args)
15326 r"""GetEffectiveShape(PCB_DIMENSION_BASE self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15327 return _pcbnew.PCB_DIMENSION_BASE_GetEffectiveShape(self, *args)
15330 r"""TransformShapeToPolygon(PCB_DIMENSION_BASE self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
15331 return _pcbnew.PCB_DIMENSION_BASE_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
15332 __swig_destroy__ = _pcbnew.delete_PCB_DIMENSION_BASE
15335_pcbnew.PCB_DIMENSION_BASE_swigregister(PCB_DIMENSION_BASE)
15338 r"""Proxy of C++ PCB_DIM_ALIGNED class."""
15340 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15341 __repr__ = _swig_repr
15344 r"""__init__(PCB_DIM_ALIGNED self, BOARD_ITEM aParent, KICAD_T aType) -> PCB_DIM_ALIGNED"""
15345 _pcbnew.PCB_DIM_ALIGNED_swiginit(self, _pcbnew.new_PCB_DIM_ALIGNED(aParent, aType))
15346 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ALIGNED
15350 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15351 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
15353 def Mirror(self, axis_pos, aMirrorLeftRight=False):
15354 r"""Mirror(PCB_DIM_ALIGNED self, VECTOR2I axis_pos, bool aMirrorLeftRight=False)"""
15355 return _pcbnew.PCB_DIM_ALIGNED_Mirror(self, axis_pos, aMirrorLeftRight)
15358 r"""GetCrossbarStart(PCB_DIM_ALIGNED self) -> VECTOR2I"""
15359 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarStart(self)
15362 r"""GetCrossbarEnd(PCB_DIM_ALIGNED self) -> VECTOR2I"""
15363 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarEnd(self)
15366 r"""SetHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15367 return _pcbnew.PCB_DIM_ALIGNED_SetHeight(self, aHeight)
15370 r"""GetHeight(PCB_DIM_ALIGNED self) -> int"""
15371 return _pcbnew.PCB_DIM_ALIGNED_GetHeight(self)
15374 r"""ChangeHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15375 return _pcbnew.PCB_DIM_ALIGNED_ChangeHeight(self, aHeight)
15378 r"""UpdateHeight(PCB_DIM_ALIGNED self, VECTOR2I aCrossbarStart, VECTOR2I aCrossbarEnd)"""
15379 return _pcbnew.PCB_DIM_ALIGNED_UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
15382 r"""SetExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15383 return _pcbnew.PCB_DIM_ALIGNED_SetExtensionHeight(self, aHeight)
15386 r"""GetExtensionHeight(PCB_DIM_ALIGNED self) -> int"""
15387 return _pcbnew.PCB_DIM_ALIGNED_GetExtensionHeight(self)
15390 r"""ChangeExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
15391 return _pcbnew.PCB_DIM_ALIGNED_ChangeExtensionHeight(self, aHeight)
15394 r"""GetAngle(PCB_DIM_ALIGNED self) -> double"""
15395 return _pcbnew.PCB_DIM_ALIGNED_GetAngle(self)
15398_pcbnew.PCB_DIM_ALIGNED_swigregister(PCB_DIM_ALIGNED)
15401 r"""PCB_DIM_ALIGNED_ClassOf(EDA_ITEM aItem) -> bool"""
15402 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
15405 r"""Proxy of C++ PCB_DIM_ORTHOGONAL class."""
15407 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15408 __repr__ = _swig_repr
15409 DIR_HORIZONTAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_HORIZONTAL
15411 DIR_VERTICAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_VERTICAL
15415 r"""__init__(PCB_DIM_ORTHOGONAL self, BOARD_ITEM aParent, bool aInFP=False) -> PCB_DIM_ORTHOGONAL"""
15416 _pcbnew.PCB_DIM_ORTHOGONAL_swiginit(self, _pcbnew.new_PCB_DIM_ORTHOGONAL(aParent, aInFP))
15417 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ORTHOGONAL
15421 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15422 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
15425 r"""SetOrientation(PCB_DIM_ORTHOGONAL self, PCB_DIM_ORTHOGONAL::DIR aOrientation)"""
15426 return _pcbnew.PCB_DIM_ORTHOGONAL_SetOrientation(self, aOrientation)
15429 r"""GetOrientation(PCB_DIM_ORTHOGONAL self) -> PCB_DIM_ORTHOGONAL::DIR"""
15430 return _pcbnew.PCB_DIM_ORTHOGONAL_GetOrientation(self)
15433_pcbnew.PCB_DIM_ORTHOGONAL_swigregister(PCB_DIM_ORTHOGONAL)
15436 r"""PCB_DIM_ORTHOGONAL_ClassOf(EDA_ITEM aItem) -> bool"""
15437 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
15440 r"""Proxy of C++ PCB_DIM_RADIAL class."""
15442 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15443 __repr__ = _swig_repr
15446 r"""__init__(PCB_DIM_RADIAL self, BOARD_ITEM aParent, bool aInFP=False) -> PCB_DIM_RADIAL"""
15447 _pcbnew.PCB_DIM_RADIAL_swiginit(self, _pcbnew.new_PCB_DIM_RADIAL(aParent, aInFP))
15451 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15452 return _pcbnew.PCB_DIM_RADIAL_ClassOf(aItem)
15455 r"""SetLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
15456 return _pcbnew.PCB_DIM_RADIAL_SetLeaderLength(self, aLength)
15459 r"""GetLeaderLength(PCB_DIM_RADIAL self) -> int"""
15460 return _pcbnew.PCB_DIM_RADIAL_GetLeaderLength(self)
15463 r"""ChangeLeaderLength(PCB_DIM_RADIAL self, int aLength)"""
15464 return _pcbnew.PCB_DIM_RADIAL_ChangeLeaderLength(self, aLength)
15467 r"""GetKnee(PCB_DIM_RADIAL self) -> VECTOR2I"""
15468 return _pcbnew.PCB_DIM_RADIAL_GetKnee(self)
15469 __swig_destroy__ = _pcbnew.delete_PCB_DIM_RADIAL
15472_pcbnew.PCB_DIM_RADIAL_swigregister(PCB_DIM_RADIAL)
15475 r"""PCB_DIM_RADIAL_ClassOf(EDA_ITEM aItem) -> bool"""
15476 return _pcbnew.PCB_DIM_RADIAL_ClassOf(aItem)
15479 r"""Proxy of C++ PCB_DIM_LEADER class."""
15481 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15482 __repr__ = _swig_repr
15485 r"""__init__(PCB_DIM_LEADER self, BOARD_ITEM aParent, bool aInFP=False) -> PCB_DIM_LEADER"""
15486 _pcbnew.PCB_DIM_LEADER_swiginit(self, _pcbnew.new_PCB_DIM_LEADER(aParent, aInFP))
15490 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15491 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
15494 r"""SetTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
15495 return _pcbnew.PCB_DIM_LEADER_SetTextBorder(self, aBorder)
15498 r"""GetTextBorder(PCB_DIM_LEADER self) -> DIM_TEXT_BORDER"""
15499 return _pcbnew.PCB_DIM_LEADER_GetTextBorder(self)
15502 r"""ChangeTextBorder(PCB_DIM_LEADER self, DIM_TEXT_BORDER aBorder)"""
15503 return _pcbnew.PCB_DIM_LEADER_ChangeTextBorder(self, aBorder)
15504 __swig_destroy__ = _pcbnew.delete_PCB_DIM_LEADER
15507_pcbnew.PCB_DIM_LEADER_swigregister(PCB_DIM_LEADER)
15510 r"""PCB_DIM_LEADER_ClassOf(EDA_ITEM aItem) -> bool"""
15511 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
15514 r"""Proxy of C++ PCB_DIM_CENTER class."""
15516 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15517 __repr__ = _swig_repr
15520 r"""__init__(PCB_DIM_CENTER self, BOARD_ITEM aParent, bool aInFP=False) -> PCB_DIM_CENTER"""
15521 _pcbnew.PCB_DIM_CENTER_swiginit(self, _pcbnew.new_PCB_DIM_CENTER(aParent, aInFP))
15525 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15526 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
15527 __swig_destroy__ = _pcbnew.delete_PCB_DIM_CENTER
15530_pcbnew.PCB_DIM_CENTER_swigregister(PCB_DIM_CENTER)
15533 r"""PCB_DIM_CENTER_ClassOf(EDA_ITEM aItem) -> bool"""
15534 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
15536MARKER_SHAPE_POINT_COUNT = _pcbnew.MARKER_SHAPE_POINT_COUNT
15539 r"""Proxy of C++ PCB_MARKER class."""
15541 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15542 __repr__ = _swig_repr
15545 r"""__init__(PCB_MARKER self, std::shared_ptr< RC_ITEM > aItem, VECTOR2I aPos, int aLayer=F_Cu) -> PCB_MARKER"""
15546 _pcbnew.PCB_MARKER_swiginit(self, _pcbnew.new_PCB_MARKER(aItem, aPos, aLayer))
15547 __swig_destroy__ = _pcbnew.delete_PCB_MARKER
15551 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15552 return _pcbnew.PCB_MARKER_ClassOf(aItem)
15555 r"""Serialize(PCB_MARKER self) -> wxString"""
15556 return _pcbnew.PCB_MARKER_Serialize(self)
15560 r"""Deserialize(wxString data) -> PCB_MARKER"""
15561 return _pcbnew.PCB_MARKER_Deserialize(data)
15564 r"""HitTest(PCB_MARKER self, VECTOR2I aPosition, int aAccuracy=0) -> bool"""
15565 return _pcbnew.PCB_MARKER_HitTest(self, aPosition, aAccuracy)
15568 r"""GetColorLayer(PCB_MARKER self) -> GAL_LAYER_ID"""
15569 return _pcbnew.PCB_MARKER_GetColorLayer(self)
15572 r"""GetEffectiveShape(PCB_MARKER self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15573 return _pcbnew.PCB_MARKER_GetEffectiveShape(self, *args)
15576 r"""SetZoom(PCB_MARKER self, double aZoomFactor)"""
15577 return _pcbnew.PCB_MARKER_SetZoom(self, aZoomFactor)
15580_pcbnew.PCB_MARKER_swigregister(PCB_MARKER)
15583 r"""PCB_MARKER_ClassOf(EDA_ITEM aItem) -> bool"""
15584 return _pcbnew.PCB_MARKER_ClassOf(aItem)
15587 r"""PCB_MARKER_Deserialize(wxString data) -> PCB_MARKER"""
15588 return _pcbnew.PCB_MARKER_Deserialize(data)
15591 r"""Proxy of C++ PCB_TARGET class."""
15593 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15594 __repr__ = _swig_repr
15598 __init__(PCB_TARGET self, BOARD_ITEM aParent) -> PCB_TARGET
15599 __init__(PCB_TARGET self, BOARD_ITEM aParent, int aShape, PCB_LAYER_ID aLayer, VECTOR2I aPos, int aSize, int aWidth) -> PCB_TARGET
15601 _pcbnew.PCB_TARGET_swiginit(self, _pcbnew.new_PCB_TARGET(*args))
15602 __swig_destroy__ = _pcbnew.delete_PCB_TARGET
15606 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15607 return _pcbnew.PCB_TARGET_ClassOf(aItem)
15610 r"""SetShape(PCB_TARGET self, int aShape)"""
15611 return _pcbnew.PCB_TARGET_SetShape(self, aShape)
15614 r"""GetShape(PCB_TARGET self) -> int"""
15615 return _pcbnew.PCB_TARGET_GetShape(self)
15618 r"""SetSize(PCB_TARGET self, int aSize)"""
15619 return _pcbnew.PCB_TARGET_SetSize(self, aSize)
15622 r"""GetSize(PCB_TARGET self) -> int"""
15623 return _pcbnew.PCB_TARGET_GetSize(self)
15626 r"""SetWidth(PCB_TARGET self, int aWidth)"""
15627 return _pcbnew.PCB_TARGET_SetWidth(self, aWidth)
15630 r"""GetWidth(PCB_TARGET self) -> int"""
15631 return _pcbnew.PCB_TARGET_GetWidth(self)
15635 HitTest(PCB_TARGET self, VECTOR2I aPosition, int aAccuracy=0) -> bool
15636 HitTest(PCB_TARGET self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15638 return _pcbnew.PCB_TARGET_HitTest(self, *args)
15641 r"""GetEffectiveShape(PCB_TARGET self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15642 return _pcbnew.PCB_TARGET_GetEffectiveShape(self, *args)
15645 r"""TransformShapeToPolygon(PCB_TARGET self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
15646 return _pcbnew.PCB_TARGET_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth)
15649_pcbnew.PCB_TARGET_swigregister(PCB_TARGET)
15652 r"""PCB_TARGET_ClassOf(EDA_ITEM aItem) -> bool"""
15653 return _pcbnew.PCB_TARGET_ClassOf(aItem)
15656 r"""Proxy of C++ FP_SHAPE class."""
15658 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15659 __repr__ = _swig_repr
15662 r"""__init__(FP_SHAPE self, FOOTPRINT aParent, SHAPE_T aShape=SEGMENT, KICAD_T aItemType=PCB_FP_SHAPE_T) -> FP_SHAPE"""
15663 _pcbnew.FP_SHAPE_swiginit(self, _pcbnew.new_FP_SHAPE(*args))
15664 __swig_destroy__ = _pcbnew.delete_FP_SHAPE
15668 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15669 return _pcbnew.FP_SHAPE_ClassOf(aItem)
15672 r"""SetArcAngleAndEnd0(FP_SHAPE self, EDA_ANGLE aAngle, bool aCheckNegativeAngle=False)"""
15673 return _pcbnew.FP_SHAPE_SetArcAngleAndEnd0(self, aAngle, aCheckNegativeAngle)
15676 r"""SetArcGeometry0(FP_SHAPE self, VECTOR2I aStart, VECTOR2I aMid, VECTOR2I aEnd)"""
15677 return _pcbnew.FP_SHAPE_SetArcGeometry0(self, aStart, aMid, aEnd)
15680 r"""IsParentFlipped(FP_SHAPE self) -> bool"""
15681 return _pcbnew.FP_SHAPE_IsParentFlipped(self)
15684 r"""SetStart0(FP_SHAPE self, VECTOR2I aPoint)"""
15685 return _pcbnew.FP_SHAPE_SetStart0(self, aPoint)
15688 r"""GetStart0(FP_SHAPE self) -> VECTOR2I"""
15689 return _pcbnew.FP_SHAPE_GetStart0(self)
15692 r"""SetEnd0(FP_SHAPE self, VECTOR2I aPoint)"""
15693 return _pcbnew.FP_SHAPE_SetEnd0(self, aPoint)
15696 r"""GetEnd0(FP_SHAPE self) -> VECTOR2I"""
15697 return _pcbnew.FP_SHAPE_GetEnd0(self)
15700 r"""SetBezierC1_0(FP_SHAPE self, VECTOR2I aPoint)"""
15701 return _pcbnew.FP_SHAPE_SetBezierC1_0(self, aPoint)
15704 r"""GetBezierC1_0(FP_SHAPE self) -> VECTOR2I"""
15705 return _pcbnew.FP_SHAPE_GetBezierC1_0(self)
15708 r"""SetBezierC2_0(FP_SHAPE self, VECTOR2I aPoint)"""
15709 return _pcbnew.FP_SHAPE_SetBezierC2_0(self, aPoint)
15712 r"""GetBezierC2_0(FP_SHAPE self) -> VECTOR2I"""
15713 return _pcbnew.FP_SHAPE_GetBezierC2_0(self)
15716 r"""GetCenter0(FP_SHAPE self) -> VECTOR2I"""
15717 return _pcbnew.FP_SHAPE_GetCenter0(self)
15720 r"""SetCenter0(FP_SHAPE self, VECTOR2I aPt)"""
15721 return _pcbnew.FP_SHAPE_SetCenter0(self, aPt)
15724 r"""GetArcMid0(FP_SHAPE self) -> VECTOR2I"""
15725 return _pcbnew.FP_SHAPE_GetArcMid0(self)
15728 r"""CalcArcAngles0(FP_SHAPE self, EDA_ANGLE aStartAngle, EDA_ANGLE aEndAngle)"""
15729 return _pcbnew.FP_SHAPE_CalcArcAngles0(self, aStartAngle, aEndAngle)
15732 r"""GetArcAngle0(FP_SHAPE self) -> EDA_ANGLE"""
15733 return _pcbnew.FP_SHAPE_GetArcAngle0(self)
15736 r"""SetCachedArcData0(FP_SHAPE self, VECTOR2I aStart0, VECTOR2I aMid0, VECTOR2I aEnd0, VECTOR2I aCenter0)"""
15737 return _pcbnew.FP_SHAPE_SetCachedArcData0(self, aStart0, aMid0, aEnd0, aCenter0)
15740 r"""SetLocalCoord(FP_SHAPE self)"""
15741 return _pcbnew.FP_SHAPE_SetLocalCoord(self)
15744 r"""SetDrawCoord(FP_SHAPE self)"""
15745 return _pcbnew.FP_SHAPE_SetDrawCoord(self)
15748 r"""GetParentAsString(FP_SHAPE self) -> wxString"""
15749 return _pcbnew.FP_SHAPE_GetParentAsString(self)
15752 r"""ViewGetLOD(FP_SHAPE self, int aLayer, KIGFX::VIEW * aView) -> double"""
15753 return _pcbnew.FP_SHAPE_ViewGetLOD(self, aLayer, aView)
15756_pcbnew.FP_SHAPE_swigregister(FP_SHAPE)
15759 r"""FP_SHAPE_ClassOf(EDA_ITEM aItem) -> bool"""
15760 return _pcbnew.FP_SHAPE_ClassOf(aItem)
15763 r"""Proxy of C++ FP_TEXT class."""
15765 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15766 __repr__ = _swig_repr
15767 TEXT_is_REFERENCE = _pcbnew.FP_TEXT_TEXT_is_REFERENCE
15769 TEXT_is_VALUE = _pcbnew.FP_TEXT_TEXT_is_VALUE
15771 TEXT_is_DIVERS = _pcbnew.FP_TEXT_TEXT_is_DIVERS
15775 r"""__init__(FP_TEXT self, FOOTPRINT aParentFootprint, FP_TEXT::TEXT_TYPE text_type=TEXT_is_DIVERS) -> FP_TEXT"""
15776 _pcbnew.FP_TEXT_swiginit(self, _pcbnew.new_FP_TEXT(*args))
15777 __swig_destroy__ = _pcbnew.delete_FP_TEXT
15781 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15782 return _pcbnew.FP_TEXT_ClassOf(aItem)
15785 r"""GetParentAsString(FP_TEXT self) -> wxString"""
15786 return _pcbnew.FP_TEXT_GetParentAsString(self)
15789 r"""KeepUpright(FP_TEXT self, EDA_ANGLE aOldOrientation, EDA_ANGLE aNewOrientation)"""
15790 return _pcbnew.FP_TEXT_KeepUpright(self, aOldOrientation, aNewOrientation)
15793 r"""IsParentFlipped(FP_TEXT self) -> bool"""
15794 return _pcbnew.FP_TEXT_IsParentFlipped(self)
15797 r"""Mirror(FP_TEXT self, VECTOR2I aCentre, bool aMirrorAroundXAxis)"""
15798 return _pcbnew.FP_TEXT_Mirror(self, aCentre, aMirrorAroundXAxis)
15801 r"""SetType(FP_TEXT self, FP_TEXT::TEXT_TYPE aType)"""
15802 return _pcbnew.FP_TEXT_SetType(self, aType)
15805 r"""GetType(FP_TEXT self) -> FP_TEXT::TEXT_TYPE"""
15806 return _pcbnew.FP_TEXT_GetType(self)
15809 r"""SetPos0(FP_TEXT self, VECTOR2I aPos)"""
15810 return _pcbnew.FP_TEXT_SetPos0(self, aPos)
15813 r"""GetPos0(FP_TEXT self) -> VECTOR2I"""
15814 return _pcbnew.FP_TEXT_GetPos0(self)
15817 r"""GetLength(FP_TEXT self) -> int"""
15818 return _pcbnew.FP_TEXT_GetLength(self)
15821 r"""SetDrawCoord(FP_TEXT self)"""
15822 return _pcbnew.FP_TEXT_SetDrawCoord(self)
15825 r"""SetLocalCoord(FP_TEXT self)"""
15826 return _pcbnew.FP_TEXT_SetLocalCoord(self)
15830 TextHitTest(FP_TEXT self, VECTOR2I aPoint, int aAccuracy=0) -> bool
15831 TextHitTest(FP_TEXT self, BOX2I aRect, bool aContains, int aAccuracy=0) -> bool
15833 return _pcbnew.FP_TEXT_TextHitTest(self, *args)
15837 HitTest(FP_TEXT self, VECTOR2I aPosition, int aAccuracy) -> bool
15838 HitTest(FP_TEXT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15840 return _pcbnew.FP_TEXT_HitTest(self, *args)
15843 r"""TransformTextToPolySet(FP_TEXT self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
15844 return _pcbnew.FP_TEXT_TransformTextToPolySet(self, aBuffer, aClearance, aError, aErrorLoc)
15847 r"""GetEffectiveShape(FP_TEXT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15848 return _pcbnew.FP_TEXT_GetEffectiveShape(self, *args)
15851 r"""GetShownText(FP_TEXT self, bool aAllowExtraText, int aDepth=0) -> wxString"""
15852 return _pcbnew.FP_TEXT_GetShownText(self, aAllowExtraText, aDepth)
15855 r"""ViewGetLOD(FP_TEXT self, int aLayer, KIGFX::VIEW * aView) -> double"""
15856 return _pcbnew.FP_TEXT_ViewGetLOD(self, aLayer, aView)
15860 r"""GetShownText(FP_TEXT self) -> wxString"""
15861 return _pcbnew.FP_TEXT_GetShownText(self,
True, 0)
15865_pcbnew.FP_TEXT_swigregister(FP_TEXT)
15868 r"""FP_TEXT_ClassOf(EDA_ITEM aItem) -> bool"""
15869 return _pcbnew.FP_TEXT_ClassOf(aItem)
15872 r"""Proxy of C++ FP_TEXTBOX class."""
15874 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15875 __repr__ = _swig_repr
15878 r"""__init__(FP_TEXTBOX self, FOOTPRINT aParentFootprint) -> FP_TEXTBOX"""
15879 _pcbnew.FP_TEXTBOX_swiginit(self, _pcbnew.new_FP_TEXTBOX(aParentFootprint))
15880 __swig_destroy__ = _pcbnew.delete_FP_TEXTBOX
15884 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15885 return _pcbnew.FP_TEXTBOX_ClassOf(aItem)
15888 r"""GetParentAsString(FP_TEXTBOX self) -> wxString"""
15889 return _pcbnew.FP_TEXTBOX_GetParentAsString(self)
15892 r"""GetTextMargin(FP_TEXTBOX self) -> int"""
15893 return _pcbnew.FP_TEXTBOX_GetTextMargin(self)
15896 r"""GetNormalizedCorners(FP_TEXTBOX self) -> VECTOR_VECTOR2I"""
15897 return _pcbnew.FP_TEXTBOX_GetNormalizedCorners(self)
15901 HitTest(FP_TEXTBOX self, VECTOR2I aPosition, int aAccuracy) -> bool
15902 HitTest(FP_TEXTBOX self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
15904 return _pcbnew.FP_TEXTBOX_HitTest(self, *args)
15907 r"""TransformShapeToPolygon(FP_TEXTBOX self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
15908 return _pcbnew.FP_TEXTBOX_TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
15911 r"""TransformTextToPolySet(FP_TEXTBOX self, SHAPE_POLY_SET aBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
15912 return _pcbnew.FP_TEXTBOX_TransformTextToPolySet(self, aBuffer, aClearance, aError, aErrorLoc)
15915 r"""GetEffectiveShape(FP_TEXTBOX self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
15916 return _pcbnew.FP_TEXTBOX_GetEffectiveShape(self, *args)
15919 r"""GetShownText(FP_TEXTBOX self, bool aAllowExtraText, int aDepth=0) -> wxString"""
15920 return _pcbnew.FP_TEXTBOX_GetShownText(self, aAllowExtraText, aDepth)
15923 r"""ViewGetLOD(FP_TEXTBOX self, int aLayer, KIGFX::VIEW * aView) -> double"""
15924 return _pcbnew.FP_TEXTBOX_ViewGetLOD(self, aLayer, aView)
15927 r"""IsBorderEnabled(FP_TEXTBOX self) -> bool"""
15928 return _pcbnew.FP_TEXTBOX_IsBorderEnabled(self)
15931 r"""DisableBorder(FP_TEXTBOX self)"""
15932 return _pcbnew.FP_TEXTBOX_DisableBorder(self)
15936 r"""GetShownText(FP_TEXTBOX self) -> wxString"""
15937 return _pcbnew.FP_TEXTBOX_GetShownText(self,
True, 0)
15941_pcbnew.FP_TEXTBOX_swigregister(FP_TEXTBOX)
15944 r"""FP_TEXTBOX_ClassOf(EDA_ITEM aItem) -> bool"""
15945 return _pcbnew.FP_TEXTBOX_ClassOf(aItem)
15947CH_VISIBLE = _pcbnew.CH_VISIBLE
15949CH_UNROUTABLE = _pcbnew.CH_UNROUTABLE
15951CH_ROUTE_REQ = _pcbnew.CH_ROUTE_REQ
15953CH_ACTIF = _pcbnew.CH_ACTIF
15955LOCAL_RATSNEST_ITEM = _pcbnew.LOCAL_RATSNEST_ITEM
15958 r"""Proxy of C++ std::vector< PAD * > class."""
15960 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15961 __repr__ = _swig_repr
15964 r"""iterator(PADS_VEC self) -> SwigPyIterator"""
15965 return _pcbnew.PADS_VEC_iterator(self)
15970 r"""__nonzero__(PADS_VEC self) -> bool"""
15971 return _pcbnew.PADS_VEC___nonzero__(self)
15974 r"""__bool__(PADS_VEC self) -> bool"""
15975 return _pcbnew.PADS_VEC___bool__(self)
15978 r"""__len__(PADS_VEC self) -> std::vector< PAD * >::size_type"""
15979 return _pcbnew.PADS_VEC___len__(self)
15982 r"""__getslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j) -> PADS_VEC"""
15983 return _pcbnew.PADS_VEC___getslice__(self, i, j)
15987 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)
15988 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j, PADS_VEC v)
15990 return _pcbnew.PADS_VEC___setslice__(self, *args)
15993 r"""__delslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)"""
15994 return _pcbnew.PADS_VEC___delslice__(self, i, j)
15998 __delitem__(PADS_VEC self, std::vector< PAD * >::difference_type i)
15999 __delitem__(PADS_VEC self, PySliceObject * slice)
16001 return _pcbnew.PADS_VEC___delitem__(self, *args)
16005 __getitem__(PADS_VEC self, PySliceObject * slice) -> PADS_VEC
16006 __getitem__(PADS_VEC self, std::vector< PAD * >::difference_type i) -> PAD
16008 return _pcbnew.PADS_VEC___getitem__(self, *args)
16012 __setitem__(PADS_VEC self, PySliceObject * slice, PADS_VEC v)
16013 __setitem__(PADS_VEC self, PySliceObject * slice)
16014 __setitem__(PADS_VEC self, std::vector< PAD * >::difference_type i, PAD x)
16016 return _pcbnew.PADS_VEC___setitem__(self, *args)
16019 r"""pop(PADS_VEC self) -> PAD"""
16020 return _pcbnew.PADS_VEC_pop(self)
16023 r"""append(PADS_VEC self, PAD x)"""
16024 return _pcbnew.PADS_VEC_append(self, x)
16027 r"""empty(PADS_VEC self) -> bool"""
16028 return _pcbnew.PADS_VEC_empty(self)
16031 r"""size(PADS_VEC self) -> std::vector< PAD * >::size_type"""
16032 return _pcbnew.PADS_VEC_size(self)
16035 r"""swap(PADS_VEC self, PADS_VEC v)"""
16036 return _pcbnew.PADS_VEC_swap(self, v)
16039 r"""begin(PADS_VEC self) -> std::vector< PAD * >::iterator"""
16040 return _pcbnew.PADS_VEC_begin(self)
16043 r"""end(PADS_VEC self) -> std::vector< PAD * >::iterator"""
16044 return _pcbnew.PADS_VEC_end(self)
16047 r"""rbegin(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
16048 return _pcbnew.PADS_VEC_rbegin(self)
16051 r"""rend(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
16052 return _pcbnew.PADS_VEC_rend(self)
16055 r"""clear(PADS_VEC self)"""
16056 return _pcbnew.PADS_VEC_clear(self)
16059 r"""get_allocator(PADS_VEC self) -> std::vector< PAD * >::allocator_type"""
16060 return _pcbnew.PADS_VEC_get_allocator(self)
16063 r"""pop_back(PADS_VEC self)"""
16064 return _pcbnew.PADS_VEC_pop_back(self)
16068 erase(PADS_VEC self, std::vector< PAD * >::iterator pos) -> std::vector< PAD * >::iterator
16069 erase(PADS_VEC self, std::vector< PAD * >::iterator first, std::vector< PAD * >::iterator last) -> std::vector< PAD * >::iterator
16071 return _pcbnew.PADS_VEC_erase(self, *args)
16075 __init__(PADS_VEC self) -> PADS_VEC
16076 __init__(PADS_VEC self, PADS_VEC other) -> PADS_VEC
16077 __init__(PADS_VEC self, std::vector< PAD * >::size_type size) -> PADS_VEC
16078 __init__(PADS_VEC self, std::vector< PAD * >::size_type size, PAD value) -> PADS_VEC
16080 _pcbnew.PADS_VEC_swiginit(self, _pcbnew.new_PADS_VEC(*args))
16083 r"""push_back(PADS_VEC self, PAD x)"""
16084 return _pcbnew.PADS_VEC_push_back(self, x)
16087 r"""front(PADS_VEC self) -> PAD"""
16088 return _pcbnew.PADS_VEC_front(self)
16091 r"""back(PADS_VEC self) -> PAD"""
16092 return _pcbnew.PADS_VEC_back(self)
16095 r"""assign(PADS_VEC self, std::vector< PAD * >::size_type n, PAD x)"""
16096 return _pcbnew.PADS_VEC_assign(self, n, x)
16100 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size)
16101 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size, PAD x)
16103 return _pcbnew.PADS_VEC_resize(self, *args)
16107 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, PAD x) -> std::vector< PAD * >::iterator
16108 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, std::vector< PAD * >::size_type n, PAD x)
16110 return _pcbnew.PADS_VEC_insert(self, *args)
16113 r"""reserve(PADS_VEC self, std::vector< PAD * >::size_type n)"""
16114 return _pcbnew.PADS_VEC_reserve(self, n)
16117 r"""capacity(PADS_VEC self) -> std::vector< PAD * >::size_type"""
16118 return _pcbnew.PADS_VEC_capacity(self)
16119 __swig_destroy__ = _pcbnew.delete_PADS_VEC
16122_pcbnew.PADS_VEC_swigregister(PADS_VEC)
16125 r"""Proxy of C++ std::vector< PCB_TRACK * > class."""
16127 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16128 __repr__ = _swig_repr
16131 r"""iterator(TRACKS_VEC self) -> SwigPyIterator"""
16132 return _pcbnew.TRACKS_VEC_iterator(self)
16137 r"""__nonzero__(TRACKS_VEC self) -> bool"""
16138 return _pcbnew.TRACKS_VEC___nonzero__(self)
16141 r"""__bool__(TRACKS_VEC self) -> bool"""
16142 return _pcbnew.TRACKS_VEC___bool__(self)
16145 r"""__len__(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
16146 return _pcbnew.TRACKS_VEC___len__(self)
16149 r"""__getslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j) -> TRACKS_VEC"""
16150 return _pcbnew.TRACKS_VEC___getslice__(self, i, j)
16154 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)
16155 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j, TRACKS_VEC v)
16157 return _pcbnew.TRACKS_VEC___setslice__(self, *args)
16160 r"""__delslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)"""
16161 return _pcbnew.TRACKS_VEC___delslice__(self, i, j)
16165 __delitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i)
16166 __delitem__(TRACKS_VEC self, PySliceObject * slice)
16168 return _pcbnew.TRACKS_VEC___delitem__(self, *args)
16172 __getitem__(TRACKS_VEC self, PySliceObject * slice) -> TRACKS_VEC
16173 __getitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i) -> PCB_TRACK
16175 return _pcbnew.TRACKS_VEC___getitem__(self, *args)
16179 __setitem__(TRACKS_VEC self, PySliceObject * slice, TRACKS_VEC v)
16180 __setitem__(TRACKS_VEC self, PySliceObject * slice)
16181 __setitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, PCB_TRACK x)
16183 return _pcbnew.TRACKS_VEC___setitem__(self, *args)
16186 r"""pop(TRACKS_VEC self) -> PCB_TRACK"""
16187 return _pcbnew.TRACKS_VEC_pop(self)
16190 r"""append(TRACKS_VEC self, PCB_TRACK x)"""
16191 return _pcbnew.TRACKS_VEC_append(self, x)
16194 r"""empty(TRACKS_VEC self) -> bool"""
16195 return _pcbnew.TRACKS_VEC_empty(self)
16198 r"""size(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
16199 return _pcbnew.TRACKS_VEC_size(self)
16202 r"""swap(TRACKS_VEC self, TRACKS_VEC v)"""
16203 return _pcbnew.TRACKS_VEC_swap(self, v)
16206 r"""begin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
16207 return _pcbnew.TRACKS_VEC_begin(self)
16210 r"""end(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
16211 return _pcbnew.TRACKS_VEC_end(self)
16214 r"""rbegin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
16215 return _pcbnew.TRACKS_VEC_rbegin(self)
16218 r"""rend(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
16219 return _pcbnew.TRACKS_VEC_rend(self)
16222 r"""clear(TRACKS_VEC self)"""
16223 return _pcbnew.TRACKS_VEC_clear(self)
16226 r"""get_allocator(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::allocator_type"""
16227 return _pcbnew.TRACKS_VEC_get_allocator(self)
16230 r"""pop_back(TRACKS_VEC self)"""
16231 return _pcbnew.TRACKS_VEC_pop_back(self)
16235 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos) -> std::vector< PCB_TRACK * >::iterator
16236 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator first, std::vector< PCB_TRACK * >::iterator last) -> std::vector< PCB_TRACK * >::iterator
16238 return _pcbnew.TRACKS_VEC_erase(self, *args)
16242 __init__(TRACKS_VEC self) -> TRACKS_VEC
16243 __init__(TRACKS_VEC self, TRACKS_VEC other) -> TRACKS_VEC
16244 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size) -> TRACKS_VEC
16245 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS_VEC
16247 _pcbnew.TRACKS_VEC_swiginit(self, _pcbnew.new_TRACKS_VEC(*args))
16250 r"""push_back(TRACKS_VEC self, PCB_TRACK x)"""
16251 return _pcbnew.TRACKS_VEC_push_back(self, x)
16254 r"""front(TRACKS_VEC self) -> PCB_TRACK"""
16255 return _pcbnew.TRACKS_VEC_front(self)
16258 r"""back(TRACKS_VEC self) -> PCB_TRACK"""
16259 return _pcbnew.TRACKS_VEC_back(self)
16262 r"""assign(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
16263 return _pcbnew.TRACKS_VEC_assign(self, n, x)
16267 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size)
16268 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
16270 return _pcbnew.TRACKS_VEC_resize(self, *args)
16274 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::vector< PCB_TRACK * >::iterator
16275 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)
16277 return _pcbnew.TRACKS_VEC_insert(self, *args)
16280 r"""reserve(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n)"""
16281 return _pcbnew.TRACKS_VEC_reserve(self, n)
16284 r"""capacity(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
16285 return _pcbnew.TRACKS_VEC_capacity(self)
16286 __swig_destroy__ = _pcbnew.delete_TRACKS_VEC
16289_pcbnew.TRACKS_VEC_swigregister(TRACKS_VEC)
16292 r"""Proxy of C++ NETINFO_ITEM class."""
16294 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16295 __repr__ = _swig_repr
16298 r"""__init__(NETINFO_ITEM self, BOARD aParent, wxString aNetName=wxEmptyString, int aNetCode=-1) -> NETINFO_ITEM"""
16299 _pcbnew.NETINFO_ITEM_swiginit(self, _pcbnew.new_NETINFO_ITEM(*args))
16300 __swig_destroy__ = _pcbnew.delete_NETINFO_ITEM
16304 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16305 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
16308 r"""SetNetClass(NETINFO_ITEM self, std::shared_ptr< NETCLASS > const & aNetClass)"""
16309 return _pcbnew.NETINFO_ITEM_SetNetClass(self, aNetClass)
16312 r"""GetNetClass(NETINFO_ITEM self) -> NETCLASS"""
16313 return _pcbnew.NETINFO_ITEM_GetNetClass(self)
16316 r"""GetNetClassSlow(NETINFO_ITEM self) -> std::shared_ptr< NETCLASS >"""
16317 return _pcbnew.NETINFO_ITEM_GetNetClassSlow(self)
16320 r"""GetNetCode(NETINFO_ITEM self) -> int"""
16321 return _pcbnew.NETINFO_ITEM_GetNetCode(self)
16324 r"""SetNetCode(NETINFO_ITEM self, int aNetCode)"""
16325 return _pcbnew.NETINFO_ITEM_SetNetCode(self, aNetCode)
16328 r"""GetNetname(NETINFO_ITEM self) -> wxString"""
16329 return _pcbnew.NETINFO_ITEM_GetNetname(self)
16332 r"""GetShortNetname(NETINFO_ITEM self) -> wxString"""
16333 return _pcbnew.NETINFO_ITEM_GetShortNetname(self)
16336 r"""GetUnescapedShortNetname(NETINFO_ITEM self) -> wxString"""
16337 return _pcbnew.NETINFO_ITEM_GetUnescapedShortNetname(self)
16340 r"""HasAutoGeneratedNetname(NETINFO_ITEM self) -> bool"""
16341 return _pcbnew.NETINFO_ITEM_HasAutoGeneratedNetname(self)
16344 r"""SetNetname(NETINFO_ITEM self, wxString aNewName)"""
16345 return _pcbnew.NETINFO_ITEM_SetNetname(self, aNewName)
16348 r"""IsCurrent(NETINFO_ITEM self) -> bool"""
16349 return _pcbnew.NETINFO_ITEM_IsCurrent(self)
16352 r"""SetIsCurrent(NETINFO_ITEM self, bool isCurrent)"""
16353 return _pcbnew.NETINFO_ITEM_SetIsCurrent(self, isCurrent)
16356 r"""Clear(NETINFO_ITEM self)"""
16357 return _pcbnew.NETINFO_ITEM_Clear(self)
16360 r"""GetParent(NETINFO_ITEM self) -> BOARD"""
16361 return _pcbnew.NETINFO_ITEM_GetParent(self)
16368_pcbnew.NETINFO_ITEM_swigregister(NETINFO_ITEM)
16371 r"""NETINFO_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
16372 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
16375 r"""Proxy of C++ std::map< wxString,NETINFO_ITEM * > class."""
16377 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16378 __repr__ = _swig_repr
16381 r"""iterator(NETNAMES_MAP self) -> SwigPyIterator"""
16382 return _pcbnew.NETNAMES_MAP_iterator(self)
16387 r"""__nonzero__(NETNAMES_MAP self) -> bool"""
16388 return _pcbnew.NETNAMES_MAP___nonzero__(self)
16391 r"""__bool__(NETNAMES_MAP self) -> bool"""
16392 return _pcbnew.NETNAMES_MAP___bool__(self)
16395 r"""__len__(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
16396 return _pcbnew.NETNAMES_MAP___len__(self)
16407 r"""__getitem__(NETNAMES_MAP self, wxString key) -> NETINFO_ITEM"""
16408 return _pcbnew.NETNAMES_MAP___getitem__(self, key)
16411 r"""__delitem__(NETNAMES_MAP self, wxString key)"""
16412 return _pcbnew.NETNAMES_MAP___delitem__(self, key)
16415 r"""has_key(NETNAMES_MAP self, wxString key) -> bool"""
16416 return _pcbnew.NETNAMES_MAP_has_key(self, key)
16419 r"""keys(NETNAMES_MAP self) -> PyObject *"""
16420 return _pcbnew.NETNAMES_MAP_keys(self)
16423 r"""values(NETNAMES_MAP self) -> PyObject *"""
16424 return _pcbnew.NETNAMES_MAP_values(self)
16427 r"""items(NETNAMES_MAP self) -> PyObject *"""
16428 return _pcbnew.NETNAMES_MAP_items(self)
16431 r"""__contains__(NETNAMES_MAP self, wxString key) -> bool"""
16432 return _pcbnew.NETNAMES_MAP___contains__(self, key)
16435 r"""key_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
16436 return _pcbnew.NETNAMES_MAP_key_iterator(self)
16439 r"""value_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
16440 return _pcbnew.NETNAMES_MAP_value_iterator(self)
16445 __setitem__(NETNAMES_MAP self, wxString key, NETINFO_ITEM x)
16447 return _pcbnew.NETNAMES_MAP___setitem__(self, *args)
16450 r"""asdict(NETNAMES_MAP self) -> PyObject *"""
16451 return _pcbnew.NETNAMES_MAP_asdict(self)
16455 __init__(NETNAMES_MAP self, std::less< wxString > const & other) -> NETNAMES_MAP
16456 __init__(NETNAMES_MAP self) -> NETNAMES_MAP
16457 __init__(NETNAMES_MAP self, NETNAMES_MAP other) -> NETNAMES_MAP
16459 _pcbnew.NETNAMES_MAP_swiginit(self, _pcbnew.new_NETNAMES_MAP(*args))
16462 r"""empty(NETNAMES_MAP self) -> bool"""
16463 return _pcbnew.NETNAMES_MAP_empty(self)
16466 r"""size(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
16467 return _pcbnew.NETNAMES_MAP_size(self)
16470 r"""swap(NETNAMES_MAP self, NETNAMES_MAP v)"""
16471 return _pcbnew.NETNAMES_MAP_swap(self, v)
16474 r"""begin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16475 return _pcbnew.NETNAMES_MAP_begin(self)
16478 r"""end(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16479 return _pcbnew.NETNAMES_MAP_end(self)
16482 r"""rbegin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
16483 return _pcbnew.NETNAMES_MAP_rbegin(self)
16486 r"""rend(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
16487 return _pcbnew.NETNAMES_MAP_rend(self)
16490 r"""clear(NETNAMES_MAP self)"""
16491 return _pcbnew.NETNAMES_MAP_clear(self)
16494 r"""get_allocator(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::allocator_type"""
16495 return _pcbnew.NETNAMES_MAP_get_allocator(self)
16498 r"""count(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
16499 return _pcbnew.NETNAMES_MAP_count(self, x)
16503 erase(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type
16504 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator position)
16505 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator first, std::map< wxString,NETINFO_ITEM * >::iterator last)
16507 return _pcbnew.NETNAMES_MAP_erase(self, *args)
16510 r"""find(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16511 return _pcbnew.NETNAMES_MAP_find(self, x)
16514 r"""lower_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16515 return _pcbnew.NETNAMES_MAP_lower_bound(self, x)
16518 r"""upper_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
16519 return _pcbnew.NETNAMES_MAP_upper_bound(self, x)
16520 __swig_destroy__ = _pcbnew.delete_NETNAMES_MAP
16523_pcbnew.NETNAMES_MAP_swigregister(NETNAMES_MAP)
16526 r"""Proxy of C++ std::map< int,NETINFO_ITEM * > class."""
16528 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16529 __repr__ = _swig_repr
16532 r"""iterator(NETCODES_MAP self) -> SwigPyIterator"""
16533 return _pcbnew.NETCODES_MAP_iterator(self)
16538 r"""__nonzero__(NETCODES_MAP self) -> bool"""
16539 return _pcbnew.NETCODES_MAP___nonzero__(self)
16542 r"""__bool__(NETCODES_MAP self) -> bool"""
16543 return _pcbnew.NETCODES_MAP___bool__(self)
16546 r"""__len__(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
16547 return _pcbnew.NETCODES_MAP___len__(self)
16558 r"""__getitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> NETINFO_ITEM"""
16559 return _pcbnew.NETCODES_MAP___getitem__(self, key)
16562 r"""__delitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)"""
16563 return _pcbnew.NETCODES_MAP___delitem__(self, key)
16566 r"""has_key(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
16567 return _pcbnew.NETCODES_MAP_has_key(self, key)
16570 r"""keys(NETCODES_MAP self) -> PyObject *"""
16571 return _pcbnew.NETCODES_MAP_keys(self)
16574 r"""values(NETCODES_MAP self) -> PyObject *"""
16575 return _pcbnew.NETCODES_MAP_values(self)
16578 r"""items(NETCODES_MAP self) -> PyObject *"""
16579 return _pcbnew.NETCODES_MAP_items(self)
16582 r"""__contains__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
16583 return _pcbnew.NETCODES_MAP___contains__(self, key)
16586 r"""key_iterator(NETCODES_MAP self) -> SwigPyIterator"""
16587 return _pcbnew.NETCODES_MAP_key_iterator(self)
16590 r"""value_iterator(NETCODES_MAP self) -> SwigPyIterator"""
16591 return _pcbnew.NETCODES_MAP_value_iterator(self)
16595 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)
16596 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key, NETINFO_ITEM x)
16598 return _pcbnew.NETCODES_MAP___setitem__(self, *args)
16601 r"""asdict(NETCODES_MAP self) -> PyObject *"""
16602 return _pcbnew.NETCODES_MAP_asdict(self)
16606 __init__(NETCODES_MAP self, std::less< int > const & other) -> NETCODES_MAP
16607 __init__(NETCODES_MAP self) -> NETCODES_MAP
16608 __init__(NETCODES_MAP self, NETCODES_MAP other) -> NETCODES_MAP
16610 _pcbnew.NETCODES_MAP_swiginit(self, _pcbnew.new_NETCODES_MAP(*args))
16613 r"""empty(NETCODES_MAP self) -> bool"""
16614 return _pcbnew.NETCODES_MAP_empty(self)
16617 r"""size(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
16618 return _pcbnew.NETCODES_MAP_size(self)
16621 r"""swap(NETCODES_MAP self, NETCODES_MAP v)"""
16622 return _pcbnew.NETCODES_MAP_swap(self, v)
16625 r"""begin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
16626 return _pcbnew.NETCODES_MAP_begin(self)
16629 r"""end(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
16630 return _pcbnew.NETCODES_MAP_end(self)
16633 r"""rbegin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
16634 return _pcbnew.NETCODES_MAP_rbegin(self)
16637 r"""rend(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
16638 return _pcbnew.NETCODES_MAP_rend(self)
16641 r"""clear(NETCODES_MAP self)"""
16642 return _pcbnew.NETCODES_MAP_clear(self)
16645 r"""get_allocator(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::allocator_type"""
16646 return _pcbnew.NETCODES_MAP_get_allocator(self)
16649 r"""count(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type"""
16650 return _pcbnew.NETCODES_MAP_count(self, x)
16654 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type
16655 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator position)
16656 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator first, std::map< int,NETINFO_ITEM * >::iterator last)
16658 return _pcbnew.NETCODES_MAP_erase(self, *args)
16661 r"""find(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
16662 return _pcbnew.NETCODES_MAP_find(self, x)
16665 r"""lower_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
16666 return _pcbnew.NETCODES_MAP_lower_bound(self, x)
16669 r"""upper_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
16670 return _pcbnew.NETCODES_MAP_upper_bound(self, x)
16671 __swig_destroy__ = _pcbnew.delete_NETCODES_MAP
16674_pcbnew.NETCODES_MAP_swigregister(NETCODES_MAP)
16677 r"""Proxy of C++ NETINFO_LIST class."""
16679 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16680 __repr__ = _swig_repr
16683 r"""__init__(NETINFO_LIST self, BOARD aParent) -> NETINFO_LIST"""
16684 _pcbnew.NETINFO_LIST_swiginit(self, _pcbnew.new_NETINFO_LIST(aParent))
16685 __swig_destroy__ = _pcbnew.delete_NETINFO_LIST
16689 GetNetItem(NETINFO_LIST self, int aNetCode) -> NETINFO_ITEM
16690 GetNetItem(NETINFO_LIST self, wxString aNetName) -> NETINFO_ITEM
16692 return _pcbnew.NETINFO_LIST_GetNetItem(self, *args)
16695 r"""GetNetCount(NETINFO_LIST self) -> unsigned int"""
16696 return _pcbnew.NETINFO_LIST_GetNetCount(self)
16699 r"""AppendNet(NETINFO_LIST self, NETINFO_ITEM aNewElement)"""
16700 return _pcbnew.NETINFO_LIST_AppendNet(self, aNewElement)
16703 r"""RemoveNet(NETINFO_LIST self, NETINFO_ITEM aNet)"""
16704 return _pcbnew.NETINFO_LIST_RemoveNet(self, aNet)
16707 r"""RemoveUnusedNets(NETINFO_LIST self)"""
16708 return _pcbnew.NETINFO_LIST_RemoveUnusedNets(self)
16711 r"""NetsByName(NETINFO_LIST self) -> NETNAMES_MAP"""
16712 return _pcbnew.NETINFO_LIST_NetsByName(self)
16715 r"""NetsByNetcode(NETINFO_LIST self) -> NETCODES_MAP"""
16716 return _pcbnew.NETINFO_LIST_NetsByNetcode(self)
16720 r"""OrphanedItem() -> NETINFO_ITEM"""
16721 return _pcbnew.NETINFO_LIST_OrphanedItem()
16724 r"""GetParent(NETINFO_LIST self) -> BOARD"""
16725 return _pcbnew.NETINFO_LIST_GetParent(self)
16728_pcbnew.NETINFO_LIST_swigregister(NETINFO_LIST)
16729NETINFO_LIST.UNCONNECTED = _pcbnew.cvar.NETINFO_LIST_UNCONNECTED
16730NETINFO_LIST.ORPHANED = _pcbnew.cvar.NETINFO_LIST_ORPHANED
16733 r"""NETINFO_LIST_OrphanedItem() -> NETINFO_ITEM"""
16734 return _pcbnew.NETINFO_LIST_OrphanedItem()
16737 r"""Proxy of C++ std::set< wxString > class."""
16739 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16740 __repr__ = _swig_repr
16743 r"""iterator(STRINGSET self) -> SwigPyIterator"""
16744 return _pcbnew.STRINGSET_iterator(self)
16749 r"""__nonzero__(STRINGSET self) -> bool"""
16750 return _pcbnew.STRINGSET___nonzero__(self)
16753 r"""__bool__(STRINGSET self) -> bool"""
16754 return _pcbnew.STRINGSET___bool__(self)
16757 r"""__len__(STRINGSET self) -> std::set< wxString >::size_type"""
16758 return _pcbnew.STRINGSET___len__(self)
16761 r"""append(STRINGSET self, wxString x)"""
16762 return _pcbnew.STRINGSET_append(self, x)
16765 r"""__contains__(STRINGSET self, wxString x) -> bool"""
16766 return _pcbnew.STRINGSET___contains__(self, x)
16769 r"""__getitem__(STRINGSET self, std::set< wxString >::difference_type i) -> wxString"""
16770 return _pcbnew.STRINGSET___getitem__(self, i)
16773 r"""add(STRINGSET self, wxString x)"""
16774 return _pcbnew.STRINGSET_add(self, x)
16777 r"""discard(STRINGSET self, wxString x)"""
16778 return _pcbnew.STRINGSET_discard(self, x)
16782 __init__(STRINGSET self, std::less< wxString > const & other) -> STRINGSET
16783 __init__(STRINGSET self) -> STRINGSET
16784 __init__(STRINGSET self, STRINGSET other) -> STRINGSET
16786 _pcbnew.STRINGSET_swiginit(self, _pcbnew.new_STRINGSET(*args))
16789 r"""empty(STRINGSET self) -> bool"""
16790 return _pcbnew.STRINGSET_empty(self)
16793 r"""size(STRINGSET self) -> std::set< wxString >::size_type"""
16794 return _pcbnew.STRINGSET_size(self)
16797 r"""clear(STRINGSET self)"""
16798 return _pcbnew.STRINGSET_clear(self)
16801 r"""swap(STRINGSET self, STRINGSET v)"""
16802 return _pcbnew.STRINGSET_swap(self, v)
16805 r"""count(STRINGSET self, wxString x) -> std::set< wxString >::size_type"""
16806 return _pcbnew.STRINGSET_count(self, x)
16809 r"""begin(STRINGSET self) -> std::set< wxString >::iterator"""
16810 return _pcbnew.STRINGSET_begin(self)
16813 r"""end(STRINGSET self) -> std::set< wxString >::iterator"""
16814 return _pcbnew.STRINGSET_end(self)
16817 r"""rbegin(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
16818 return _pcbnew.STRINGSET_rbegin(self)
16821 r"""rend(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
16822 return _pcbnew.STRINGSET_rend(self)
16826 erase(STRINGSET self, wxString x) -> std::set< wxString >::size_type
16827 erase(STRINGSET self, std::set< wxString >::iterator pos)
16828 erase(STRINGSET self, std::set< wxString >::iterator first, std::set< wxString >::iterator last)
16830 return _pcbnew.STRINGSET_erase(self, *args)
16833 r"""find(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
16834 return _pcbnew.STRINGSET_find(self, x)
16837 r"""lower_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
16838 return _pcbnew.STRINGSET_lower_bound(self, x)
16841 r"""upper_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
16842 return _pcbnew.STRINGSET_upper_bound(self, x)
16845 r"""equal_range(STRINGSET self, wxString x) -> std::pair< std::set< wxString >::iterator,std::set< wxString >::iterator >"""
16846 return _pcbnew.STRINGSET_equal_range(self, x)
16849 r"""insert(STRINGSET self, wxString __x) -> std::pair< std::set< wxString >::iterator,bool >"""
16850 return _pcbnew.STRINGSET_insert(self, __x)
16851 __swig_destroy__ = _pcbnew.delete_STRINGSET
16854_pcbnew.STRINGSET_swigregister(STRINGSET)
16857 r"""Proxy of C++ NETCLASS class."""
16859 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16860 __repr__ = _swig_repr
16863 r"""__init__(NETCLASS self, wxString aName) -> NETCLASS"""
16864 _pcbnew.NETCLASS_swiginit(self, _pcbnew.new_NETCLASS(aName))
16865 __swig_destroy__ = _pcbnew.delete_NETCLASS
16868 r"""GetClass(NETCLASS self) -> wxString"""
16869 return _pcbnew.NETCLASS_GetClass(self)
16872 r"""GetName(NETCLASS self) -> wxString"""
16873 return _pcbnew.NETCLASS_GetName(self)
16876 r"""SetName(NETCLASS self, wxString aName)"""
16877 return _pcbnew.NETCLASS_SetName(self, aName)
16880 r"""GetDescription(NETCLASS self) -> wxString"""
16881 return _pcbnew.NETCLASS_GetDescription(self)
16884 r"""SetDescription(NETCLASS self, wxString aDesc)"""
16885 return _pcbnew.NETCLASS_SetDescription(self, aDesc)
16888 r"""HasClearance(NETCLASS self) -> bool"""
16889 return _pcbnew.NETCLASS_HasClearance(self)
16892 r"""GetClearance(NETCLASS self) -> int"""
16893 return _pcbnew.NETCLASS_GetClearance(self)
16896 r"""SetClearance(NETCLASS self, int aClearance)"""
16897 return _pcbnew.NETCLASS_SetClearance(self, aClearance)
16900 r"""HasTrackWidth(NETCLASS self) -> bool"""
16901 return _pcbnew.NETCLASS_HasTrackWidth(self)
16904 r"""GetTrackWidth(NETCLASS self) -> int"""
16905 return _pcbnew.NETCLASS_GetTrackWidth(self)
16908 r"""SetTrackWidth(NETCLASS self, int aWidth)"""
16909 return _pcbnew.NETCLASS_SetTrackWidth(self, aWidth)
16912 r"""HasViaDiameter(NETCLASS self) -> bool"""
16913 return _pcbnew.NETCLASS_HasViaDiameter(self)
16916 r"""GetViaDiameter(NETCLASS self) -> int"""
16917 return _pcbnew.NETCLASS_GetViaDiameter(self)
16920 r"""SetViaDiameter(NETCLASS self, int aDia)"""
16921 return _pcbnew.NETCLASS_SetViaDiameter(self, aDia)
16924 r"""HasViaDrill(NETCLASS self) -> int"""
16925 return _pcbnew.NETCLASS_HasViaDrill(self)
16928 r"""GetViaDrill(NETCLASS self) -> int"""
16929 return _pcbnew.NETCLASS_GetViaDrill(self)
16932 r"""SetViaDrill(NETCLASS self, int aSize)"""
16933 return _pcbnew.NETCLASS_SetViaDrill(self, aSize)
16936 r"""HasuViaDiameter(NETCLASS self) -> bool"""
16937 return _pcbnew.NETCLASS_HasuViaDiameter(self)
16940 r"""GetuViaDiameter(NETCLASS self) -> int"""
16941 return _pcbnew.NETCLASS_GetuViaDiameter(self)
16944 r"""SetuViaDiameter(NETCLASS self, int aSize)"""
16945 return _pcbnew.NETCLASS_SetuViaDiameter(self, aSize)
16948 r"""HasuViaDrill(NETCLASS self) -> bool"""
16949 return _pcbnew.NETCLASS_HasuViaDrill(self)
16952 r"""GetuViaDrill(NETCLASS self) -> int"""
16953 return _pcbnew.NETCLASS_GetuViaDrill(self)
16956 r"""SetuViaDrill(NETCLASS self, int aSize)"""
16957 return _pcbnew.NETCLASS_SetuViaDrill(self, aSize)
16960 r"""HasDiffPairWidth(NETCLASS self) -> bool"""
16961 return _pcbnew.NETCLASS_HasDiffPairWidth(self)
16964 r"""GetDiffPairWidth(NETCLASS self) -> int"""
16965 return _pcbnew.NETCLASS_GetDiffPairWidth(self)
16968 r"""SetDiffPairWidth(NETCLASS self, int aSize)"""
16969 return _pcbnew.NETCLASS_SetDiffPairWidth(self, aSize)
16972 r"""HasDiffPairGap(NETCLASS self) -> bool"""
16973 return _pcbnew.NETCLASS_HasDiffPairGap(self)
16976 r"""GetDiffPairGap(NETCLASS self) -> int"""
16977 return _pcbnew.NETCLASS_GetDiffPairGap(self)
16980 r"""SetDiffPairGap(NETCLASS self, int aSize)"""
16981 return _pcbnew.NETCLASS_SetDiffPairGap(self, aSize)
16984 r"""HasDiffPairViaGap(NETCLASS self) -> bool"""
16985 return _pcbnew.NETCLASS_HasDiffPairViaGap(self)
16988 r"""GetDiffPairViaGap(NETCLASS self) -> int"""
16989 return _pcbnew.NETCLASS_GetDiffPairViaGap(self)
16992 r"""SetDiffPairViaGap(NETCLASS self, int aSize)"""
16993 return _pcbnew.NETCLASS_SetDiffPairViaGap(self, aSize)
16996 r"""GetPcbColor(NETCLASS self) -> COLOR4D"""
16997 return _pcbnew.NETCLASS_GetPcbColor(self)
17000 r"""SetPcbColor(NETCLASS self, COLOR4D aColor)"""
17001 return _pcbnew.NETCLASS_SetPcbColor(self, aColor)
17004 r"""GetWireWidth(NETCLASS self) -> int"""
17005 return _pcbnew.NETCLASS_GetWireWidth(self)
17008 r"""SetWireWidth(NETCLASS self, int aWidth)"""
17009 return _pcbnew.NETCLASS_SetWireWidth(self, aWidth)
17012 r"""GetBusWidth(NETCLASS self) -> int"""
17013 return _pcbnew.NETCLASS_GetBusWidth(self)
17016 r"""SetBusWidth(NETCLASS self, int aWidth)"""
17017 return _pcbnew.NETCLASS_SetBusWidth(self, aWidth)
17020 r"""GetSchematicColor(NETCLASS self) -> COLOR4D"""
17021 return _pcbnew.NETCLASS_GetSchematicColor(self)
17024 r"""SetSchematicColor(NETCLASS self, COLOR4D aColor)"""
17025 return _pcbnew.NETCLASS_SetSchematicColor(self, aColor)
17028 r"""GetLineStyle(NETCLASS self) -> int"""
17029 return _pcbnew.NETCLASS_GetLineStyle(self)
17032 r"""SetLineStyle(NETCLASS self, int aStyle)"""
17033 return _pcbnew.NETCLASS_SetLineStyle(self, aStyle)
17036_pcbnew.NETCLASS_swigregister(NETCLASS)
17037NETCLASS.Default = _pcbnew.cvar.NETCLASS_Default
17040 r"""Proxy of C++ PCB_GROUP class."""
17042 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17043 __repr__ = _swig_repr
17046 r"""__init__(PCB_GROUP self, BOARD_ITEM aParent) -> PCB_GROUP"""
17047 _pcbnew.PCB_GROUP_swiginit(self, _pcbnew.new_PCB_GROUP(aParent))
17051 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17052 return _pcbnew.PCB_GROUP_ClassOf(aItem)
17055 r"""GetName(PCB_GROUP self) -> wxString"""
17056 return _pcbnew.PCB_GROUP_GetName(self)
17059 r"""SetName(PCB_GROUP self, wxString aName)"""
17060 return _pcbnew.PCB_GROUP_SetName(self, aName)
17064 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * >
17065 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * > const &
17067 return _pcbnew.PCB_GROUP_GetItems(self, *args)
17070 r"""AddItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
17071 return _pcbnew.PCB_GROUP_AddItem(self, aItem)
17074 r"""RemoveItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
17075 return _pcbnew.PCB_GROUP_RemoveItem(self, aItem)
17078 r"""RemoveAll(PCB_GROUP self)"""
17079 return _pcbnew.PCB_GROUP_RemoveAll(self)
17083 r"""TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
17084 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
17088 r"""WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
17089 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
17092 r"""SetLayerRecursive(PCB_GROUP self, PCB_LAYER_ID aLayer, int aDepth)"""
17093 return _pcbnew.PCB_GROUP_SetLayerRecursive(self, aLayer, aDepth)
17096 r"""DeepClone(PCB_GROUP self) -> PCB_GROUP"""
17097 return _pcbnew.PCB_GROUP_DeepClone(self)
17100 r"""DeepDuplicate(PCB_GROUP self) -> PCB_GROUP"""
17101 return _pcbnew.PCB_GROUP_DeepDuplicate(self)
17105 HitTest(PCB_GROUP self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17106 HitTest(PCB_GROUP self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17108 return _pcbnew.PCB_GROUP_HitTest(self, *args)
17111 r"""GetEffectiveShape(PCB_GROUP self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17112 return _pcbnew.PCB_GROUP_GetEffectiveShape(self, *args)
17115 r"""ViewGetLOD(PCB_GROUP self, int aLayer, KIGFX::VIEW * aView) -> double"""
17116 return _pcbnew.PCB_GROUP_ViewGetLOD(self, aLayer, aView)
17119 r"""AddChildrenToCommit(PCB_GROUP self, BOARD_COMMIT & aCommit)"""
17120 return _pcbnew.PCB_GROUP_AddChildrenToCommit(self, aCommit)
17123 r"""RunOnChildren(PCB_GROUP self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
17124 return _pcbnew.PCB_GROUP_RunOnChildren(self, aFunction)
17127 r"""RunOnDescendants(PCB_GROUP self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
17128 return _pcbnew.PCB_GROUP_RunOnDescendants(self, aFunction)
17132 r"""IsGroupableType(KICAD_T aType) -> bool"""
17133 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
17136 r"""GetItemsDeque(PCB_GROUP self) -> DRAWINGS"""
17137 return _pcbnew.PCB_GROUP_GetItemsDeque(self)
17142 __swig_destroy__ = _pcbnew.delete_PCB_GROUP
17145_pcbnew.PCB_GROUP_swigregister(PCB_GROUP)
17148 r"""PCB_GROUP_ClassOf(EDA_ITEM aItem) -> bool"""
17149 return _pcbnew.PCB_GROUP_ClassOf(aItem)
17152 r"""PCB_GROUP_TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
17153 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
17156 r"""PCB_GROUP_WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
17157 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
17160 r"""PCB_GROUP_IsGroupableType(KICAD_T aType) -> bool"""
17161 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
17164 r"""Proxy of C++ PCB_BITMAP class."""
17166 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17167 __repr__ = _swig_repr
17171 __init__(PCB_BITMAP self, BOARD_ITEM aParent, VECTOR2I pos=VECTOR2I( 0, 0 ), PCB_LAYER_ID aLayer=F_Cu) -> PCB_BITMAP
17172 __init__(PCB_BITMAP self, PCB_BITMAP aPcbBitmap) -> PCB_BITMAP
17174 _pcbnew.PCB_BITMAP_swiginit(self, _pcbnew.new_PCB_BITMAP(*args))
17175 __swig_destroy__ = _pcbnew.delete_PCB_BITMAP
17178 r"""GetImage(PCB_BITMAP self) -> BITMAP_BASE const *"""
17179 return _pcbnew.PCB_BITMAP_GetImage(self)
17182 r"""MutableImage(PCB_BITMAP self) -> BITMAP_BASE *"""
17183 return _pcbnew.PCB_BITMAP_MutableImage(self)
17186 r"""SetImage(PCB_BITMAP self, wxImage * aImage)"""
17187 return _pcbnew.PCB_BITMAP_SetImage(self, aImage)
17190 r"""GetImageScale(PCB_BITMAP self) -> double"""
17191 return _pcbnew.PCB_BITMAP_GetImageScale(self)
17194 r"""SetImageScale(PCB_BITMAP self, double aScale)"""
17195 return _pcbnew.PCB_BITMAP_SetImageScale(self, aScale)
17199 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17200 return _pcbnew.PCB_BITMAP_ClassOf(aItem)
17203 r"""GetSize(PCB_BITMAP self) -> VECTOR2I"""
17204 return _pcbnew.PCB_BITMAP_GetSize(self)
17207 r"""ViewGetLOD(PCB_BITMAP self, int aLayer, KIGFX::VIEW * aView) -> double"""
17208 return _pcbnew.PCB_BITMAP_ViewGetLOD(self, aLayer, aView)
17211 r"""GetEffectiveShape(PCB_BITMAP self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17212 return _pcbnew.PCB_BITMAP_GetEffectiveShape(self, *args)
17215 r"""ReadImageFile(PCB_BITMAP self, wxString aFullFilename) -> bool"""
17216 return _pcbnew.PCB_BITMAP_ReadImageFile(self, aFullFilename)
17220 HitTest(PCB_BITMAP self, VECTOR2I aPosition, int aAccuracy=0) -> bool
17221 HitTest(PCB_BITMAP self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
17223 return _pcbnew.PCB_BITMAP_HitTest(self, *args)
17226_pcbnew.PCB_BITMAP_swigregister(PCB_BITMAP)
17229 r"""PCB_BITMAP_ClassOf(EDA_ITEM aItem) -> bool"""
17230 return _pcbnew.PCB_BITMAP_ClassOf(aItem)
17233 r"""Proxy of C++ std::vector< VIA_DIMENSION > class."""
17235 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17236 __repr__ = _swig_repr
17239 r"""iterator(VIA_DIMENSION_Vector self) -> SwigPyIterator"""
17240 return _pcbnew.VIA_DIMENSION_Vector_iterator(self)
17245 r"""__nonzero__(VIA_DIMENSION_Vector self) -> bool"""
17246 return _pcbnew.VIA_DIMENSION_Vector___nonzero__(self)
17249 r"""__bool__(VIA_DIMENSION_Vector self) -> bool"""
17250 return _pcbnew.VIA_DIMENSION_Vector___bool__(self)
17253 r"""__len__(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
17254 return _pcbnew.VIA_DIMENSION_Vector___len__(self)
17257 r"""__getslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j) -> VIA_DIMENSION_Vector"""
17258 return _pcbnew.VIA_DIMENSION_Vector___getslice__(self, i, j)
17262 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)
17263 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j, VIA_DIMENSION_Vector v)
17265 return _pcbnew.VIA_DIMENSION_Vector___setslice__(self, *args)
17268 r"""__delslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)"""
17269 return _pcbnew.VIA_DIMENSION_Vector___delslice__(self, i, j)
17273 __delitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i)
17274 __delitem__(VIA_DIMENSION_Vector self, PySliceObject * slice)
17276 return _pcbnew.VIA_DIMENSION_Vector___delitem__(self, *args)
17280 __getitem__(VIA_DIMENSION_Vector self, PySliceObject * slice) -> VIA_DIMENSION_Vector
17281 __getitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i) -> VIA_DIMENSION
17283 return _pcbnew.VIA_DIMENSION_Vector___getitem__(self, *args)
17287 __setitem__(VIA_DIMENSION_Vector self, PySliceObject * slice, VIA_DIMENSION_Vector v)
17288 __setitem__(VIA_DIMENSION_Vector self, PySliceObject * slice)
17289 __setitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, VIA_DIMENSION x)
17291 return _pcbnew.VIA_DIMENSION_Vector___setitem__(self, *args)
17294 r"""pop(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
17295 return _pcbnew.VIA_DIMENSION_Vector_pop(self)
17298 r"""append(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
17299 return _pcbnew.VIA_DIMENSION_Vector_append(self, x)
17302 r"""empty(VIA_DIMENSION_Vector self) -> bool"""
17303 return _pcbnew.VIA_DIMENSION_Vector_empty(self)
17306 r"""size(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
17307 return _pcbnew.VIA_DIMENSION_Vector_size(self)
17310 r"""swap(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector v)"""
17311 return _pcbnew.VIA_DIMENSION_Vector_swap(self, v)
17314 r"""begin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
17315 return _pcbnew.VIA_DIMENSION_Vector_begin(self)
17318 r"""end(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
17319 return _pcbnew.VIA_DIMENSION_Vector_end(self)
17322 r"""rbegin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
17323 return _pcbnew.VIA_DIMENSION_Vector_rbegin(self)
17326 r"""rend(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
17327 return _pcbnew.VIA_DIMENSION_Vector_rend(self)
17330 r"""clear(VIA_DIMENSION_Vector self)"""
17331 return _pcbnew.VIA_DIMENSION_Vector_clear(self)
17334 r"""get_allocator(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::allocator_type"""
17335 return _pcbnew.VIA_DIMENSION_Vector_get_allocator(self)
17338 r"""pop_back(VIA_DIMENSION_Vector self)"""
17339 return _pcbnew.VIA_DIMENSION_Vector_pop_back(self)
17343 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos) -> std::vector< VIA_DIMENSION >::iterator
17344 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator first, std::vector< VIA_DIMENSION >::iterator last) -> std::vector< VIA_DIMENSION >::iterator
17346 return _pcbnew.VIA_DIMENSION_Vector_erase(self, *args)
17350 __init__(VIA_DIMENSION_Vector self) -> VIA_DIMENSION_Vector
17351 __init__(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector other) -> VIA_DIMENSION_Vector
17352 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size) -> VIA_DIMENSION_Vector
17353 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size, VIA_DIMENSION value) -> VIA_DIMENSION_Vector
17355 _pcbnew.VIA_DIMENSION_Vector_swiginit(self, _pcbnew.new_VIA_DIMENSION_Vector(*args))
17358 r"""push_back(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
17359 return _pcbnew.VIA_DIMENSION_Vector_push_back(self, x)
17362 r"""front(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
17363 return _pcbnew.VIA_DIMENSION_Vector_front(self)
17366 r"""back(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
17367 return _pcbnew.VIA_DIMENSION_Vector_back(self)
17370 r"""assign(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)"""
17371 return _pcbnew.VIA_DIMENSION_Vector_assign(self, n, x)
17375 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size)
17376 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size, VIA_DIMENSION x)
17378 return _pcbnew.VIA_DIMENSION_Vector_resize(self, *args)
17382 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, VIA_DIMENSION x) -> std::vector< VIA_DIMENSION >::iterator
17383 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)
17385 return _pcbnew.VIA_DIMENSION_Vector_insert(self, *args)
17388 r"""reserve(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n)"""
17389 return _pcbnew.VIA_DIMENSION_Vector_reserve(self, n)
17392 r"""capacity(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
17393 return _pcbnew.VIA_DIMENSION_Vector_capacity(self)
17394 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION_Vector
17397_pcbnew.VIA_DIMENSION_Vector_swigregister(VIA_DIMENSION_Vector)
17399DEFAULT_CHAINING_EPSILON_MM = _pcbnew.DEFAULT_CHAINING_EPSILON_MM
17402 r"""Proxy of C++ PTR_PTR_CACHE_KEY class."""
17404 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17405 __repr__ = _swig_repr
17406 A = property(_pcbnew.PTR_PTR_CACHE_KEY_A_get, _pcbnew.PTR_PTR_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
17407 B = property(_pcbnew.PTR_PTR_CACHE_KEY_B_get, _pcbnew.PTR_PTR_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
17410 r"""__eq__(PTR_PTR_CACHE_KEY self, PTR_PTR_CACHE_KEY other) -> bool"""
17411 return _pcbnew.PTR_PTR_CACHE_KEY___eq__(self, other)
17414 r"""__init__(PTR_PTR_CACHE_KEY self) -> PTR_PTR_CACHE_KEY"""
17415 _pcbnew.PTR_PTR_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_CACHE_KEY())
17416 __swig_destroy__ = _pcbnew.delete_PTR_PTR_CACHE_KEY
17419_pcbnew.PTR_PTR_CACHE_KEY_swigregister(PTR_PTR_CACHE_KEY)
17422 r"""Proxy of C++ PTR_LAYER_CACHE_KEY class."""
17424 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17425 __repr__ = _swig_repr
17426 A = property(_pcbnew.PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
17427 Layer = property(_pcbnew.PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
17430 r"""__eq__(PTR_LAYER_CACHE_KEY self, PTR_LAYER_CACHE_KEY other) -> bool"""
17431 return _pcbnew.PTR_LAYER_CACHE_KEY___eq__(self, other)
17434 r"""__init__(PTR_LAYER_CACHE_KEY self) -> PTR_LAYER_CACHE_KEY"""
17435 _pcbnew.PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_LAYER_CACHE_KEY())
17436 __swig_destroy__ = _pcbnew.delete_PTR_LAYER_CACHE_KEY
17439_pcbnew.PTR_LAYER_CACHE_KEY_swigregister(PTR_LAYER_CACHE_KEY)
17442 r"""Proxy of C++ PTR_PTR_LAYER_CACHE_KEY class."""
17444 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17445 __repr__ = _swig_repr
17446 A = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_A_set, doc=
r"""A : p.BOARD_ITEM""")
17447 B = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_B_set, doc=
r"""B : p.BOARD_ITEM""")
17448 Layer = property(_pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_get, _pcbnew.PTR_PTR_LAYER_CACHE_KEY_Layer_set, doc=
r"""Layer : PCB_LAYER_ID""")
17451 r"""__eq__(PTR_PTR_LAYER_CACHE_KEY self, PTR_PTR_LAYER_CACHE_KEY other) -> bool"""
17452 return _pcbnew.PTR_PTR_LAYER_CACHE_KEY___eq__(self, other)
17455 r"""__init__(PTR_PTR_LAYER_CACHE_KEY self) -> PTR_PTR_LAYER_CACHE_KEY"""
17456 _pcbnew.PTR_PTR_LAYER_CACHE_KEY_swiginit(self, _pcbnew.new_PTR_PTR_LAYER_CACHE_KEY())
17457 __swig_destroy__ = _pcbnew.delete_PTR_PTR_LAYER_CACHE_KEY
17460_pcbnew.PTR_PTR_LAYER_CACHE_KEY_swigregister(PTR_PTR_LAYER_CACHE_KEY)
17462LT_UNDEFINED = _pcbnew.LT_UNDEFINED
17464LT_SIGNAL = _pcbnew.LT_SIGNAL
17466LT_POWER = _pcbnew.LT_POWER
17468LT_MIXED = _pcbnew.LT_MIXED
17470LT_JUMPER = _pcbnew.LT_JUMPER
17473 r"""Proxy of C++ LAYER class."""
17475 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17476 __repr__ = _swig_repr
17479 r"""__init__(LAYER self) -> LAYER"""
17480 _pcbnew.LAYER_swiginit(self, _pcbnew.new_LAYER())
17483 r"""clear(LAYER self)"""
17484 return _pcbnew.LAYER_clear(self)
17485 m_name = property(_pcbnew.LAYER_m_name_get, _pcbnew.LAYER_m_name_set, doc=
r"""m_name : wxString""")
17486 m_userName = property(_pcbnew.LAYER_m_userName_get, _pcbnew.LAYER_m_userName_set, doc=
r"""m_userName : wxString""")
17487 m_type = property(_pcbnew.LAYER_m_type_get, _pcbnew.LAYER_m_type_set, doc=
r"""m_type : LAYER_T""")
17488 m_visible = property(_pcbnew.LAYER_m_visible_get, _pcbnew.LAYER_m_visible_set, doc=
r"""m_visible : bool""")
17489 m_number = property(_pcbnew.LAYER_m_number_get, _pcbnew.LAYER_m_number_set, doc=
r"""m_number : int""")
17493 r"""ShowType(LAYER_T aType) -> char const *"""
17494 return _pcbnew.LAYER_ShowType(aType)
17498 r"""ParseType(char const * aType) -> LAYER_T"""
17499 return _pcbnew.LAYER_ParseType(aType)
17500 __swig_destroy__ = _pcbnew.delete_LAYER
17503_pcbnew.LAYER_swigregister(LAYER)
17506 r"""LAYER_ShowType(LAYER_T aType) -> char const *"""
17507 return _pcbnew.LAYER_ShowType(aType)
17510 r"""LAYER_ParseType(char const * aType) -> LAYER_T"""
17511 return _pcbnew.LAYER_ParseType(aType)
17514 r"""Proxy of C++ HIGH_LIGHT_INFO class."""
17516 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17519 raise AttributeError(
"No constructor defined")
17520 __repr__ = _swig_repr
17521 __swig_destroy__ = _pcbnew.delete_HIGH_LIGHT_INFO
17524_pcbnew.HIGH_LIGHT_INFO_swigregister(HIGH_LIGHT_INFO)
17527 r"""Proxy of C++ BOARD_LISTENER class."""
17529 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17530 __repr__ = _swig_repr
17531 __swig_destroy__ = _pcbnew.delete_BOARD_LISTENER
17534 r"""OnBoardItemAdded(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
17535 return _pcbnew.BOARD_LISTENER_OnBoardItemAdded(self, aBoard, aBoardItem)
17538 r"""OnBoardItemsAdded(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
17539 return _pcbnew.BOARD_LISTENER_OnBoardItemsAdded(self, aBoard, aBoardItem)
17542 r"""OnBoardItemRemoved(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
17543 return _pcbnew.BOARD_LISTENER_OnBoardItemRemoved(self, aBoard, aBoardItem)
17546 r"""OnBoardItemsRemoved(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
17547 return _pcbnew.BOARD_LISTENER_OnBoardItemsRemoved(self, aBoard, aBoardItem)
17550 r"""OnBoardNetSettingsChanged(BOARD_LISTENER self, BOARD aBoard)"""
17551 return _pcbnew.BOARD_LISTENER_OnBoardNetSettingsChanged(self, aBoard)
17554 r"""OnBoardItemChanged(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
17555 return _pcbnew.BOARD_LISTENER_OnBoardItemChanged(self, aBoard, aBoardItem)
17558 r"""OnBoardItemsChanged(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
17559 return _pcbnew.BOARD_LISTENER_OnBoardItemsChanged(self, aBoard, aBoardItem)
17562 r"""OnBoardHighlightNetChanged(BOARD_LISTENER self, BOARD aBoard)"""
17563 return _pcbnew.BOARD_LISTENER_OnBoardHighlightNetChanged(self, aBoard)
17566 r"""__init__(BOARD_LISTENER self) -> BOARD_LISTENER"""
17567 _pcbnew.BOARD_LISTENER_swiginit(self, _pcbnew.new_BOARD_LISTENER())
17570_pcbnew.BOARD_LISTENER_swigregister(BOARD_LISTENER)
17572BOARD_USE_NORMAL = _pcbnew.BOARD_USE_NORMAL
17574BOARD_USE_FPHOLDER = _pcbnew.BOARD_USE_FPHOLDER
17577 r"""Proxy of C++ BOARD class."""
17579 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17582 raise AttributeError(
"No constructor defined")
17583 __repr__ = _swig_repr
17587 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17588 return _pcbnew.BOARD_ClassOf(aItem)
17591 r"""SetBoardUse(BOARD self, BOARD_USE aUse)"""
17592 return _pcbnew.BOARD_SetBoardUse(self, aUse)
17595 r"""GetBoardUse(BOARD self) -> BOARD_USE"""
17596 return _pcbnew.BOARD_GetBoardUse(self)
17599 r"""IncrementTimeStamp(BOARD self)"""
17600 return _pcbnew.BOARD_IncrementTimeStamp(self)
17603 r"""GetTimeStamp(BOARD self) -> int"""
17604 return _pcbnew.BOARD_GetTimeStamp(self)
17607 r"""IsFootprintHolder(BOARD self) -> bool"""
17608 return _pcbnew.BOARD_IsFootprintHolder(self)
17611 r"""SetFileName(BOARD self, wxString aFileName)"""
17612 return _pcbnew.BOARD_SetFileName(self, aFileName)
17615 r"""GetFileName(BOARD self) -> wxString"""
17616 return _pcbnew.BOARD_GetFileName(self)
17620 Tracks(BOARD self) -> TRACKS
17621 Tracks(BOARD self) -> TRACKS
17623 return _pcbnew.BOARD_Tracks(self, *args)
17630 return _pcbnew.BOARD_Footprints(self, *args)
17637 return _pcbnew.BOARD_Drawings(self, *args)
17641 Zones(BOARD self) -> ZONES
17642 Zones(BOARD self) -> ZONES
17644 return _pcbnew.BOARD_Zones(self, *args)
17648 Markers(BOARD self) -> MARKERS
17649 Markers(BOARD self) -> MARKERS
17651 return _pcbnew.BOARD_Markers(self, *args)
17654 r"""GetItemSet(BOARD self) -> std::set< BOARD_ITEM *,std::less< BOARD_ITEM * >,std::allocator< BOARD_ITEM * > > const"""
17655 return _pcbnew.BOARD_GetItemSet(self)
17659 Groups(BOARD self) -> GROUPS
17660 Groups(BOARD self) -> GROUPS
17662 return _pcbnew.BOARD_Groups(self, *args)
17665 r"""AllConnectedItems(BOARD self) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
17666 return _pcbnew.BOARD_AllConnectedItems(self)
17669 r"""GetProperties(BOARD self) -> MAP_STRING_STRING"""
17670 return _pcbnew.BOARD_GetProperties(self)
17673 r"""SetProperties(BOARD self, MAP_STRING_STRING aProps)"""
17674 return _pcbnew.BOARD_SetProperties(self, aProps)
17677 r"""GetContextualTextVars(BOARD self, wxArrayString * aVars)"""
17678 return _pcbnew.BOARD_GetContextualTextVars(self, aVars)
17681 r"""ResolveTextVar(BOARD self, wxString token, int aDepth) -> bool"""
17682 return _pcbnew.BOARD_ResolveTextVar(self, token, aDepth)
17683 m_LegacyVisibleLayers = property(_pcbnew.BOARD_m_LegacyVisibleLayers_get, _pcbnew.BOARD_m_LegacyVisibleLayers_set, doc=
r"""m_LegacyVisibleLayers : LSET""")
17684 m_LegacyVisibleItems = property(_pcbnew.BOARD_m_LegacyVisibleItems_get, _pcbnew.BOARD_m_LegacyVisibleItems_set, doc=
r"""m_LegacyVisibleItems : GAL_SET""")
17685 m_LegacyDesignSettingsLoaded = property(_pcbnew.BOARD_m_LegacyDesignSettingsLoaded_get, _pcbnew.BOARD_m_LegacyDesignSettingsLoaded_set, doc=
r"""m_LegacyDesignSettingsLoaded : bool""")
17686 m_LegacyCopperEdgeClearanceLoaded = property(_pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_get, _pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_set, doc=
r"""m_LegacyCopperEdgeClearanceLoaded : bool""")
17687 m_LegacyNetclassesLoaded = property(_pcbnew.BOARD_m_LegacyNetclassesLoaded_get, _pcbnew.BOARD_m_LegacyNetclassesLoaded_set, doc=
r"""m_LegacyNetclassesLoaded : bool""")
17688 __swig_destroy__ = _pcbnew.delete_BOARD
17691 r"""IsEmpty(BOARD self) -> bool"""
17692 return _pcbnew.BOARD_IsEmpty(self)
17695 r"""SetFileFormatVersionAtLoad(BOARD self, int aVersion)"""
17696 return _pcbnew.BOARD_SetFileFormatVersionAtLoad(self, aVersion)
17699 r"""GetFileFormatVersionAtLoad(BOARD self) -> int"""
17700 return _pcbnew.BOARD_GetFileFormatVersionAtLoad(self)
17703 r"""SetGenerator(BOARD self, wxString aGenerator)"""
17704 return _pcbnew.BOARD_SetGenerator(self, aGenerator)
17707 r"""GetGenerator(BOARD self) -> wxString"""
17708 return _pcbnew.BOARD_GetGenerator(self)
17711 r"""AddNative(BOARD self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
17712 return _pcbnew.BOARD_AddNative(self, *args)
17715 r"""RemoveNative(BOARD self, BOARD_ITEM aBoardItem, REMOVE_MODE aMode=NORMAL)"""
17716 return _pcbnew.BOARD_RemoveNative(self, *args)
17719 r"""FinalizeBulkAdd(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aNewItems)"""
17720 return _pcbnew.BOARD_FinalizeBulkAdd(self, aNewItems)
17723 r"""FinalizeBulkRemove(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aRemovedItems)"""
17724 return _pcbnew.BOARD_FinalizeBulkRemove(self, aRemovedItems)
17727 r"""CacheTriangulation(BOARD self, PROGRESS_REPORTER * aReporter=None, ZONES aZones={})"""
17728 return _pcbnew.BOARD_CacheTriangulation(self, *args)
17731 r"""GetFirstFootprint(BOARD self) -> FOOTPRINT"""
17732 return _pcbnew.BOARD_GetFirstFootprint(self)
17735 r"""DeleteAllFootprints(BOARD self)"""
17736 return _pcbnew.BOARD_DeleteAllFootprints(self)
17739 r"""GetItem(BOARD self, KIID aID) -> BOARD_ITEM"""
17740 return _pcbnew.BOARD_GetItem(self, aID)
17743 r"""FillItemMap(BOARD self, std::map< KIID,EDA_ITEM *,std::less< KIID >,std::allocator< std::pair< KIID const,EDA_ITEM * > > > & aMap)"""
17744 return _pcbnew.BOARD_FillItemMap(self, aMap)
17747 r"""ConvertCrossReferencesToKIIDs(BOARD self, wxString aSource) -> wxString"""
17748 return _pcbnew.BOARD_ConvertCrossReferencesToKIIDs(self, aSource)
17751 r"""ConvertKIIDsToCrossReferences(BOARD self, wxString aSource) -> wxString"""
17752 return _pcbnew.BOARD_ConvertKIIDsToCrossReferences(self, aSource)
17755 r"""GetConnectivity(BOARD self) -> std::shared_ptr< CONNECTIVITY_DATA >"""
17756 return _pcbnew.BOARD_GetConnectivity(self)
17759 r"""BuildConnectivity(BOARD self, PROGRESS_REPORTER * aReporter=None) -> bool"""
17760 return _pcbnew.BOARD_BuildConnectivity(self, aReporter)
17765 DeleteMARKERs(BOARD self, bool aWarningsAndErrors, bool aExclusions)
17767 return _pcbnew.BOARD_DeleteMARKERs(self, *args)
17770 r"""GetProject(BOARD self) -> PROJECT *"""
17771 return _pcbnew.BOARD_GetProject(self)
17774 r"""SetProject(BOARD self, PROJECT * aProject, bool aReferenceOnly=False)"""
17775 return _pcbnew.BOARD_SetProject(self, aProject, aReferenceOnly)
17778 r"""ClearProject(BOARD self)"""
17779 return _pcbnew.BOARD_ClearProject(self)
17782 r"""ResolveDRCExclusions(BOARD self, bool aCreateMarkers) -> MARKERS"""
17783 return _pcbnew.BOARD_ResolveDRCExclusions(self, aCreateMarkers)
17786 r"""UpdateRatsnestExclusions(BOARD self)"""
17787 return _pcbnew.BOARD_UpdateRatsnestExclusions(self)
17790 r"""ResetNetHighLight(BOARD self)"""
17791 return _pcbnew.BOARD_ResetNetHighLight(self)
17794 r"""GetHighLightNetCodes(BOARD self) -> std::set< int,std::less< int >,std::allocator< int > > const &"""
17795 return _pcbnew.BOARD_GetHighLightNetCodes(self)
17798 r"""SetHighLightNet(BOARD self, int aNetCode, bool aMulti=False)"""
17799 return _pcbnew.BOARD_SetHighLightNet(self, aNetCode, aMulti)
17802 r"""IsHighLightNetON(BOARD self) -> bool"""
17803 return _pcbnew.BOARD_IsHighLightNetON(self)
17806 r"""HighLightON(BOARD self, bool aValue=True)"""
17807 return _pcbnew.BOARD_HighLightON(self, aValue)
17810 r"""HighLightOFF(BOARD self)"""
17811 return _pcbnew.BOARD_HighLightOFF(self)
17814 r"""GetCopperLayerCount(BOARD self) -> int"""
17815 return _pcbnew.BOARD_GetCopperLayerCount(self)
17818 r"""SetCopperLayerCount(BOARD self, int aCount)"""
17819 return _pcbnew.BOARD_SetCopperLayerCount(self, aCount)
17822 r"""LayerDepth(BOARD self, PCB_LAYER_ID aStartLayer, PCB_LAYER_ID aEndLayer) -> int"""
17823 return _pcbnew.BOARD_LayerDepth(self, aStartLayer, aEndLayer)
17826 r"""GetEnabledLayers(BOARD self) -> LSET"""
17827 return _pcbnew.BOARD_GetEnabledLayers(self)
17830 r"""SetEnabledLayers(BOARD self, LSET aLayerMask)"""
17831 return _pcbnew.BOARD_SetEnabledLayers(self, aLayerMask)
17834 r"""IsLayerEnabled(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
17835 return _pcbnew.BOARD_IsLayerEnabled(self, aLayer)
17838 r"""IsLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
17839 return _pcbnew.BOARD_IsLayerVisible(self, aLayer)
17842 r"""GetVisibleLayers(BOARD self) -> LSET"""
17843 return _pcbnew.BOARD_GetVisibleLayers(self)
17846 r"""SetVisibleLayers(BOARD self, LSET aLayerMask)"""
17847 return _pcbnew.BOARD_SetVisibleLayers(self, aLayerMask)
17850 r"""GetVisibleElements(BOARD self) -> GAL_SET"""
17851 return _pcbnew.BOARD_GetVisibleElements(self)
17854 r"""SetVisibleElements(BOARD self, GAL_SET aMask)"""
17855 return _pcbnew.BOARD_SetVisibleElements(self, aMask)
17858 r"""SetVisibleAlls(BOARD self)"""
17859 return _pcbnew.BOARD_SetVisibleAlls(self)
17862 r"""IsElementVisible(BOARD self, GAL_LAYER_ID aLayer) -> bool"""
17863 return _pcbnew.BOARD_IsElementVisible(self, aLayer)
17866 r"""SetElementVisibility(BOARD self, GAL_LAYER_ID aLayer, bool aNewState)"""
17867 return _pcbnew.BOARD_SetElementVisibility(self, aLayer, aNewState)
17870 r"""IsFootprintLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
17871 return _pcbnew.BOARD_IsFootprintLayerVisible(self, aLayer)
17874 r"""GetDesignSettings(BOARD self) -> BOARD_DESIGN_SETTINGS"""
17875 return _pcbnew.BOARD_GetDesignSettings(self)
17878 r"""GetTentVias(BOARD self) -> bool"""
17879 return _pcbnew.BOARD_GetTentVias(self)
17882 r"""SetTentVias(BOARD self, bool aFlag)"""
17883 return _pcbnew.BOARD_SetTentVias(self, aFlag)
17886 r"""GetPageSettings(BOARD self) -> PAGE_INFO const &"""
17887 return _pcbnew.BOARD_GetPageSettings(self)
17890 r"""SetPageSettings(BOARD self, PAGE_INFO const & aPageSettings)"""
17891 return _pcbnew.BOARD_SetPageSettings(self, aPageSettings)
17894 r"""GetPlotOptions(BOARD self) -> PCB_PLOT_PARAMS"""
17895 return _pcbnew.BOARD_GetPlotOptions(self)
17898 r"""SetPlotOptions(BOARD self, PCB_PLOT_PARAMS aOptions)"""
17899 return _pcbnew.BOARD_SetPlotOptions(self, aOptions)
17906 return _pcbnew.BOARD_GetTitleBlock(self, *args)
17909 r"""SetTitleBlock(BOARD self, TITLE_BLOCK aTitleBlock)"""
17910 return _pcbnew.BOARD_SetTitleBlock(self, aTitleBlock)
17913 r"""GetUserUnits(BOARD self) -> EDA_UNITS"""
17914 return _pcbnew.BOARD_GetUserUnits(self)
17917 r"""SetUserUnits(BOARD self, EDA_UNITS aUnits)"""
17918 return _pcbnew.BOARD_SetUserUnits(self, aUnits)
17921 r"""UpdateUserUnits(BOARD self, BOARD_ITEM aItem, KIGFX::VIEW * aView)"""
17922 return _pcbnew.BOARD_UpdateUserUnits(self, aItem, aView)
17925 r"""GetBoardPolygonOutlines(BOARD self, SHAPE_POLY_SET aOutlines, OUTLINE_ERROR_HANDLER * aErrorHandler=None, bool aAllowUseArcsInPolygons=False) -> bool"""
17926 return _pcbnew.BOARD_GetBoardPolygonOutlines(self, aOutlines, aErrorHandler, aAllowUseArcsInPolygons)
17929 r"""GetOutlinesChainingEpsilon(BOARD self) -> int"""
17930 return _pcbnew.BOARD_GetOutlinesChainingEpsilon(self)
17933 r"""SetOutlinesChainingEpsilon(BOARD self, int aValue)"""
17934 return _pcbnew.BOARD_SetOutlinesChainingEpsilon(self, aValue)
17937 r"""ConvertBrdLayerToPolygonalContours(BOARD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aOutlines)"""
17938 return _pcbnew.BOARD_ConvertBrdLayerToPolygonalContours(self, aLayer, aOutlines)
17941 r"""GetLayerID(BOARD self, wxString aLayerName) -> PCB_LAYER_ID const"""
17942 return _pcbnew.BOARD_GetLayerID(self, aLayerName)
17945 r"""GetLayerName(BOARD self, PCB_LAYER_ID aLayer) -> wxString"""
17946 return _pcbnew.BOARD_GetLayerName(self, aLayer)
17949 r"""SetLayerName(BOARD self, PCB_LAYER_ID aLayer, wxString aLayerName) -> bool"""
17950 return _pcbnew.BOARD_SetLayerName(self, aLayer, aLayerName)
17954 r"""GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
17955 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
17958 r"""SetLayerDescr(BOARD self, PCB_LAYER_ID aIndex, LAYER aLayer) -> bool"""
17959 return _pcbnew.BOARD_SetLayerDescr(self, aIndex, aLayer)
17962 r"""GetLayerType(BOARD self, PCB_LAYER_ID aLayer) -> LAYER_T"""
17963 return _pcbnew.BOARD_GetLayerType(self, aLayer)
17966 r"""SetLayerType(BOARD self, PCB_LAYER_ID aLayer, LAYER_T aLayerType) -> bool"""
17967 return _pcbnew.BOARD_SetLayerType(self, aLayer, aLayerType)
17970 r"""GetNodesCount(BOARD self, int aNet=-1) -> unsigned int"""
17971 return _pcbnew.BOARD_GetNodesCount(self, aNet)
17974 r"""GetPads(BOARD self) -> PADS_VEC"""
17975 return _pcbnew.BOARD_GetPads(self)
17978 r"""BuildListOfNets(BOARD self)"""
17979 return _pcbnew.BOARD_BuildListOfNets(self)
17983 FindNet(BOARD self, int aNetcode) -> NETINFO_ITEM
17984 FindNet(BOARD self, wxString aNetname) -> NETINFO_ITEM
17986 return _pcbnew.BOARD_FindNet(self, *args)
17993 return _pcbnew.BOARD_GetNetInfo(self, *args)
17996 r"""GetNetCount(BOARD self) -> unsigned int"""
17997 return _pcbnew.BOARD_GetNetCount(self)
18000 r"""ComputeBoundingBox(BOARD self, bool aBoardEdgesOnly=False) -> BOX2I"""
18001 return _pcbnew.BOARD_ComputeBoundingBox(self, aBoardEdgesOnly)
18004 r"""GetBoardEdgesBoundingBox(BOARD self) -> BOX2I"""
18005 return _pcbnew.BOARD_GetBoardEdgesBoundingBox(self)
18008 r"""FindFootprintByReference(BOARD self, wxString aReference) -> FOOTPRINT"""
18009 return _pcbnew.BOARD_FindFootprintByReference(self, aReference)
18012 r"""FindFootprintByPath(BOARD self, KIID_PATH aPath) -> FOOTPRINT"""
18013 return _pcbnew.BOARD_FindFootprintByPath(self, aPath)
18016 r"""GetNetClassAssignmentCandidates(BOARD self) -> STRINGSET"""
18017 return _pcbnew.BOARD_GetNetClassAssignmentCandidates(self)
18020 r"""SynchronizeNetsAndNetClasses(BOARD self, bool aResetTrackAndViaSizes)"""
18021 return _pcbnew.BOARD_SynchronizeNetsAndNetClasses(self, aResetTrackAndViaSizes)
18024 r"""SynchronizeProperties(BOARD self)"""
18025 return _pcbnew.BOARD_SynchronizeProperties(self)
18028 r"""SetAreasNetCodesFromNetNames(BOARD self) -> int"""
18029 return _pcbnew.BOARD_SetAreasNetCodesFromNetNames(self)
18032 r"""GetArea(BOARD self, int index) -> ZONE"""
18033 return _pcbnew.BOARD_GetArea(self, index)
18036 r"""GetZoneList(BOARD self, bool aIncludeZonesInFootprints=False) -> std::list< ZONE *,std::allocator< ZONE * > >"""
18037 return _pcbnew.BOARD_GetZoneList(self, aIncludeZonesInFootprints)
18040 r"""GetAreaCount(BOARD self) -> int"""
18041 return _pcbnew.BOARD_GetAreaCount(self)
18043 def AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch):
18044 r"""AddArea(BOARD self, PICKED_ITEMS_LIST * aNewZonesList, int aNetcode, PCB_LAYER_ID aLayer, VECTOR2I aStartPointPosition, ZONE_BORDER_DISPLAY_STYLE aHatch) -> ZONE"""
18045 return _pcbnew.BOARD_AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch)
18048 r"""TestZoneIntersection(BOARD self, ZONE aZone1, ZONE aZone2) -> bool"""
18049 return _pcbnew.BOARD_TestZoneIntersection(self, aZone1, aZone2)
18052 r"""GetPadFast(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD"""
18053 return _pcbnew.BOARD_GetPadFast(self, aPosition, aLayerMask)
18057 GetPad(BOARD self, VECTOR2I aPosition, LSET aLayerMask) -> PAD
18058 GetPad(BOARD self, VECTOR2I aPosition) -> PAD
18059 GetPad(BOARD self, PCB_TRACK aTrace, ENDPOINT_T aEndPoint) -> PAD
18060 GetPad(BOARD self, PADS_VEC aPadList, VECTOR2I aPosition, LSET aLayerMask) -> PAD
18062 return _pcbnew.BOARD_GetPad(self, *args)
18065 r"""GetSortedPadListByXthenYCoord(BOARD self, PADS_VEC aVector, int aNetCode=-1)"""
18066 return _pcbnew.BOARD_GetSortedPadListByXthenYCoord(self, aVector, aNetCode)
18069 r"""GetTrackLength(BOARD self, PCB_TRACK aTrack) -> std::tuple< int,double,double >"""
18070 return _pcbnew.BOARD_GetTrackLength(self, aTrack)
18073 r"""TracksInNet(BOARD self, int aNetCode) -> TRACKS"""
18074 return _pcbnew.BOARD_TracksInNet(self, aNetCode)
18076 def GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked=False):
18077 r"""GetFootprint(BOARD self, VECTOR2I aPosition, PCB_LAYER_ID aActiveLayer, bool aVisibleOnly, bool aIgnoreLocked=False) -> FOOTPRINT"""
18078 return _pcbnew.BOARD_GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked)
18081 r"""GetMaxClearanceValue(BOARD self) -> int"""
18082 return _pcbnew.BOARD_GetMaxClearanceValue(self)
18085 r"""MapNets(BOARD self, BOARD aDestBoard)"""
18086 return _pcbnew.BOARD_MapNets(self, aDestBoard)
18089 r"""SanitizeNetcodes(BOARD self)"""
18090 return _pcbnew.BOARD_SanitizeNetcodes(self)
18093 r"""AddListener(BOARD self, BOARD_LISTENER aListener)"""
18094 return _pcbnew.BOARD_AddListener(self, aListener)
18097 r"""RemoveListener(BOARD self, BOARD_LISTENER aListener)"""
18098 return _pcbnew.BOARD_RemoveListener(self, aListener)
18101 r"""RemoveAllListeners(BOARD self)"""
18102 return _pcbnew.BOARD_RemoveAllListeners(self)
18105 r"""OnItemChanged(BOARD self, BOARD_ITEM aItem)"""
18106 return _pcbnew.BOARD_OnItemChanged(self, aItem)
18109 r"""OnItemsChanged(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aItems)"""
18110 return _pcbnew.BOARD_OnItemsChanged(self, aItems)
18113 r"""GroupsSanityCheck(BOARD self, bool repair=False) -> wxString"""
18114 return _pcbnew.BOARD_GroupsSanityCheck(self, repair)
18117 r"""GroupsSanityCheckInternal(BOARD self, bool repair) -> wxString"""
18118 return _pcbnew.BOARD_GroupsSanityCheckInternal(self, repair)
18121 r"""GroupLegalOps(BOARD self, PCB_SELECTION const & selection) -> BOARD::GroupLegalOpsField"""
18122 return _pcbnew.BOARD_GroupLegalOps(self, selection)
18123 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)>""")
18124 m_SolderMaskBridges = property(_pcbnew.BOARD_m_SolderMaskBridges_get, _pcbnew.BOARD_m_SolderMaskBridges_set, doc=
r"""m_SolderMaskBridges : p.ZONE""")
18125 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)>)>)>)>)>)>""")
18131 self.
this.append(this)
18158 Return a dictionary like object with key:wxString netname
and value:NETINFO_ITEM
18164 Return a dictionary like object with key:int netcode
and value:NETINFO_ITEM
18170 Given a netname, return its netcode
18173 return net.GetNetCode()
18177 Return a dictionary like object with net_class_name
as key
and NETCLASSPTR
as value
18178 GetNetClasses(BOARD self) -> { wxString net_class_name : NETCLASSPTR }
18179 Include the
"Default" netclass also.
18185 netclassmap[
'Default'] = self.
GetDesignSettings().m_NetSettings.m_DefaultNetClass
18190_pcbnew.BOARD_swigregister(BOARD)
18193 r"""BOARD_ClassOf(EDA_ITEM aItem) -> bool"""
18194 return _pcbnew.BOARD_ClassOf(aItem)
18197 r"""BOARD_GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
18198 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
18201 r"""Proxy of C++ std::map< wxString,wxString > class."""
18203 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18204 __repr__ = _swig_repr
18207 r"""iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
18208 return _pcbnew.MAP_STRING_STRING_iterator(self)
18213 r"""__nonzero__(MAP_STRING_STRING self) -> bool"""
18214 return _pcbnew.MAP_STRING_STRING___nonzero__(self)
18217 r"""__bool__(MAP_STRING_STRING self) -> bool"""
18218 return _pcbnew.MAP_STRING_STRING___bool__(self)
18221 r"""__len__(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
18222 return _pcbnew.MAP_STRING_STRING___len__(self)
18233 r"""__getitem__(MAP_STRING_STRING self, wxString key) -> wxString"""
18234 return _pcbnew.MAP_STRING_STRING___getitem__(self, key)
18237 r"""__delitem__(MAP_STRING_STRING self, wxString key)"""
18238 return _pcbnew.MAP_STRING_STRING___delitem__(self, key)
18241 r"""has_key(MAP_STRING_STRING self, wxString key) -> bool"""
18242 return _pcbnew.MAP_STRING_STRING_has_key(self, key)
18245 r"""keys(MAP_STRING_STRING self) -> PyObject *"""
18246 return _pcbnew.MAP_STRING_STRING_keys(self)
18249 r"""values(MAP_STRING_STRING self) -> PyObject *"""
18250 return _pcbnew.MAP_STRING_STRING_values(self)
18253 r"""items(MAP_STRING_STRING self) -> PyObject *"""
18254 return _pcbnew.MAP_STRING_STRING_items(self)
18257 r"""__contains__(MAP_STRING_STRING self, wxString key) -> bool"""
18258 return _pcbnew.MAP_STRING_STRING___contains__(self, key)
18261 r"""key_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
18262 return _pcbnew.MAP_STRING_STRING_key_iterator(self)
18265 r"""value_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
18266 return _pcbnew.MAP_STRING_STRING_value_iterator(self)
18270 __setitem__(MAP_STRING_STRING self, wxString key)
18271 __setitem__(MAP_STRING_STRING self, wxString key, wxString x)
18273 return _pcbnew.MAP_STRING_STRING___setitem__(self, *args)
18276 r"""asdict(MAP_STRING_STRING self) -> PyObject *"""
18277 return _pcbnew.MAP_STRING_STRING_asdict(self)
18281 __init__(MAP_STRING_STRING self, std::less< wxString > const & other) -> MAP_STRING_STRING
18282 __init__(MAP_STRING_STRING self) -> MAP_STRING_STRING
18283 __init__(MAP_STRING_STRING self, MAP_STRING_STRING other) -> MAP_STRING_STRING
18285 _pcbnew.MAP_STRING_STRING_swiginit(self, _pcbnew.new_MAP_STRING_STRING(*args))
18288 r"""empty(MAP_STRING_STRING self) -> bool"""
18289 return _pcbnew.MAP_STRING_STRING_empty(self)
18292 r"""size(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
18293 return _pcbnew.MAP_STRING_STRING_size(self)
18296 r"""swap(MAP_STRING_STRING self, MAP_STRING_STRING v)"""
18297 return _pcbnew.MAP_STRING_STRING_swap(self, v)
18300 r"""begin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
18301 return _pcbnew.MAP_STRING_STRING_begin(self)
18304 r"""end(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
18305 return _pcbnew.MAP_STRING_STRING_end(self)
18308 r"""rbegin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
18309 return _pcbnew.MAP_STRING_STRING_rbegin(self)
18312 r"""rend(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
18313 return _pcbnew.MAP_STRING_STRING_rend(self)
18316 r"""clear(MAP_STRING_STRING self)"""
18317 return _pcbnew.MAP_STRING_STRING_clear(self)
18320 r"""get_allocator(MAP_STRING_STRING self) -> std::map< wxString,wxString >::allocator_type"""
18321 return _pcbnew.MAP_STRING_STRING_get_allocator(self)
18324 r"""count(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type"""
18325 return _pcbnew.MAP_STRING_STRING_count(self, x)
18329 erase(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type
18330 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator position)
18331 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator first, std::map< wxString,wxString >::iterator last)
18333 return _pcbnew.MAP_STRING_STRING_erase(self, *args)
18336 r"""find(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
18337 return _pcbnew.MAP_STRING_STRING_find(self, x)
18340 r"""lower_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
18341 return _pcbnew.MAP_STRING_STRING_lower_bound(self, x)
18344 r"""upper_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
18345 return _pcbnew.MAP_STRING_STRING_upper_bound(self, x)
18346 __swig_destroy__ = _pcbnew.delete_MAP_STRING_STRING
18349_pcbnew.MAP_STRING_STRING_swigregister(MAP_STRING_STRING)
18351DO_NOT_INCLUDE_NPTH = _pcbnew.DO_NOT_INCLUDE_NPTH
18353INCLUDE_NPTH = _pcbnew.INCLUDE_NPTH
18355FP_THROUGH_HOLE = _pcbnew.FP_THROUGH_HOLE
18357FP_SMD = _pcbnew.FP_SMD
18359FP_EXCLUDE_FROM_POS_FILES = _pcbnew.FP_EXCLUDE_FROM_POS_FILES
18361FP_EXCLUDE_FROM_BOM = _pcbnew.FP_EXCLUDE_FROM_BOM
18363FP_BOARD_ONLY = _pcbnew.FP_BOARD_ONLY
18365FP_JUST_ADDED = _pcbnew.FP_JUST_ADDED
18367FP_ALLOW_SOLDERMASK_BRIDGES = _pcbnew.FP_ALLOW_SOLDERMASK_BRIDGES
18369FP_ALLOW_MISSING_COURTYARD = _pcbnew.FP_ALLOW_MISSING_COURTYARD
18372 r"""Proxy of C++ FP_3DMODEL class."""
18374 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18375 __repr__ = _swig_repr
18378 r"""__init__(FP_3DMODEL self) -> FP_3DMODEL"""
18379 _pcbnew.FP_3DMODEL_swiginit(self, _pcbnew.new_FP_3DMODEL())
18380 m_Scale = property(_pcbnew.FP_3DMODEL_m_Scale_get, _pcbnew.FP_3DMODEL_m_Scale_set, doc=
r"""m_Scale : VECTOR3D""")
18381 m_Rotation = property(_pcbnew.FP_3DMODEL_m_Rotation_get, _pcbnew.FP_3DMODEL_m_Rotation_set, doc=
r"""m_Rotation : VECTOR3D""")
18382 m_Offset = property(_pcbnew.FP_3DMODEL_m_Offset_get, _pcbnew.FP_3DMODEL_m_Offset_set, doc=
r"""m_Offset : VECTOR3D""")
18383 m_Opacity = property(_pcbnew.FP_3DMODEL_m_Opacity_get, _pcbnew.FP_3DMODEL_m_Opacity_set, doc=
r"""m_Opacity : double""")
18384 m_Filename = property(_pcbnew.FP_3DMODEL_m_Filename_get, _pcbnew.FP_3DMODEL_m_Filename_set, doc=
r"""m_Filename : wxString""")
18385 m_Show = property(_pcbnew.FP_3DMODEL_m_Show_get, _pcbnew.FP_3DMODEL_m_Show_set, doc=
r"""m_Show : bool""")
18386 __swig_destroy__ = _pcbnew.delete_FP_3DMODEL
18389_pcbnew.FP_3DMODEL_swigregister(FP_3DMODEL)
18392 r"""Proxy of C++ FOOTPRINT class."""
18394 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18395 __repr__ = _swig_repr
18399 __init__(FOOTPRINT self, BOARD parent) -> FOOTPRINT
18400 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
18401 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
18403 _pcbnew.FOOTPRINT_swiginit(self, _pcbnew.new_FOOTPRINT(*args))
18404 __swig_destroy__ = _pcbnew.delete_FOOTPRINT
18408 r"""ClassOf(EDA_ITEM aItem) -> bool"""
18409 return _pcbnew.FOOTPRINT_ClassOf(aItem)
18412 r"""GetPrivateLayers(FOOTPRINT self) -> LSET"""
18413 return _pcbnew.FOOTPRINT_GetPrivateLayers(self)
18416 r"""SetPrivateLayers(FOOTPRINT self, LSET aLayers)"""
18417 return _pcbnew.FOOTPRINT_SetPrivateLayers(self, aLayers)
18420 r"""AddNative(FOOTPRINT self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT, bool aSkipConnectivity=False)"""
18421 return _pcbnew.FOOTPRINT_AddNative(self, *args)
18424 r"""RemoveNative(FOOTPRINT self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
18425 return _pcbnew.FOOTPRINT_RemoveNative(self, *args)
18428 r"""ClearAllNets(FOOTPRINT self)"""
18429 return _pcbnew.FOOTPRINT_ClearAllNets(self)
18432 r"""FixUuids(FOOTPRINT self) -> bool"""
18433 return _pcbnew.FOOTPRINT_FixUuids(self)
18436 r"""GetFpPadsLocalBbox(FOOTPRINT self) -> BOX2I"""
18437 return _pcbnew.FOOTPRINT_GetFpPadsLocalBbox(self)
18440 r"""GetBoundingHull(FOOTPRINT self) -> SHAPE_POLY_SET"""
18441 return _pcbnew.FOOTPRINT_GetBoundingHull(self)
18446 GetBoundingBox(FOOTPRINT self, bool aIncludeText, bool aIncludeInvisibleText) -> BOX2I
18448 return _pcbnew.FOOTPRINT_GetBoundingBox(self, *args)
18451 r"""GetLayerBoundingBox(FOOTPRINT self, LSET aLayers) -> BOX2I"""
18452 return _pcbnew.FOOTPRINT_GetLayerBoundingBox(self, aLayers)
18456 Pads(FOOTPRINT self) -> PADS
18457 Pads(FOOTPRINT self) -> PADS
18459 return _pcbnew.FOOTPRINT_Pads(self, *args)
18466 return _pcbnew.FOOTPRINT_GraphicalItems(self, *args)
18470 Zones(FOOTPRINT self) -> FP_ZONES
18471 Zones(FOOTPRINT self) -> FP_ZONES
18473 return _pcbnew.FOOTPRINT_Zones(self, *args)
18477 Groups(FOOTPRINT self) -> FP_GROUPS
18478 Groups(FOOTPRINT self) -> FP_GROUPS
18480 return _pcbnew.FOOTPRINT_Groups(self, *args)
18483 r"""HasThroughHolePads(FOOTPRINT self) -> bool"""
18484 return _pcbnew.FOOTPRINT_HasThroughHolePads(self)
18488 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
18489 Models(FOOTPRINT self) -> VECTOR_FP_3DMODEL
18491 return _pcbnew.FOOTPRINT_Models(self, *args)
18494 r"""SetOrientation(FOOTPRINT self, EDA_ANGLE aNewAngle)"""
18495 return _pcbnew.FOOTPRINT_SetOrientation(self, aNewAngle)
18498 r"""GetOrientation(FOOTPRINT self) -> EDA_ANGLE"""
18499 return _pcbnew.FOOTPRINT_GetOrientation(self)
18502 r"""SetLayerAndFlip(FOOTPRINT self, PCB_LAYER_ID aLayer)"""
18503 return _pcbnew.FOOTPRINT_SetLayerAndFlip(self, aLayer)
18506 r"""SetOrientationDegrees(FOOTPRINT self, double aOrientation)"""
18507 return _pcbnew.FOOTPRINT_SetOrientationDegrees(self, aOrientation)
18510 r"""GetOrientationDegrees(FOOTPRINT self) -> double"""
18511 return _pcbnew.FOOTPRINT_GetOrientationDegrees(self)
18514 r"""GetFPID(FOOTPRINT self) -> LIB_ID"""
18515 return _pcbnew.FOOTPRINT_GetFPID(self)
18518 r"""SetFPID(FOOTPRINT self, LIB_ID aFPID)"""
18519 return _pcbnew.FOOTPRINT_SetFPID(self, aFPID)
18522 r"""GetFPIDAsString(FOOTPRINT self) -> wxString"""
18523 return _pcbnew.FOOTPRINT_GetFPIDAsString(self)
18526 r"""SetFPIDAsString(FOOTPRINT self, wxString aFPID)"""
18527 return _pcbnew.FOOTPRINT_SetFPIDAsString(self, aFPID)
18530 r"""GetDescription(FOOTPRINT self) -> wxString"""
18531 return _pcbnew.FOOTPRINT_GetDescription(self)
18534 r"""SetDescription(FOOTPRINT self, wxString aDoc)"""
18535 return _pcbnew.FOOTPRINT_SetDescription(self, aDoc)
18538 r"""GetKeywords(FOOTPRINT self) -> wxString"""
18539 return _pcbnew.FOOTPRINT_GetKeywords(self)
18542 r"""SetKeywords(FOOTPRINT self, wxString aKeywords)"""
18543 return _pcbnew.FOOTPRINT_SetKeywords(self, aKeywords)
18546 r"""GetPath(FOOTPRINT self) -> KIID_PATH"""
18547 return _pcbnew.FOOTPRINT_GetPath(self)
18550 r"""SetPath(FOOTPRINT self, KIID_PATH aPath)"""
18551 return _pcbnew.FOOTPRINT_SetPath(self, aPath)
18554 r"""GetLocalSolderMaskMargin(FOOTPRINT self) -> int"""
18555 return _pcbnew.FOOTPRINT_GetLocalSolderMaskMargin(self)
18558 r"""SetLocalSolderMaskMargin(FOOTPRINT self, int aMargin)"""
18559 return _pcbnew.FOOTPRINT_SetLocalSolderMaskMargin(self, aMargin)
18562 r"""SetLocalClearance(FOOTPRINT self, int aClearance)"""
18563 return _pcbnew.FOOTPRINT_SetLocalClearance(self, aClearance)
18570 return _pcbnew.FOOTPRINT_GetLocalClearance(self, *args)
18573 r"""GetLocalSolderPasteMargin(FOOTPRINT self) -> int"""
18574 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMargin(self)
18577 r"""SetLocalSolderPasteMargin(FOOTPRINT self, int aMargin)"""
18578 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMargin(self, aMargin)
18581 r"""GetLocalSolderPasteMarginRatio(FOOTPRINT self) -> double"""
18582 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMarginRatio(self)
18585 r"""SetLocalSolderPasteMarginRatio(FOOTPRINT self, double aRatio)"""
18586 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMarginRatio(self, aRatio)
18589 r"""SetZoneConnection(FOOTPRINT self, ZONE_CONNECTION aType)"""
18590 return _pcbnew.FOOTPRINT_SetZoneConnection(self, aType)
18593 r"""GetZoneConnection(FOOTPRINT self) -> ZONE_CONNECTION"""
18594 return _pcbnew.FOOTPRINT_GetZoneConnection(self)
18597 r"""GetAttributes(FOOTPRINT self) -> int"""
18598 return _pcbnew.FOOTPRINT_GetAttributes(self)
18601 r"""SetAttributes(FOOTPRINT self, int aAttributes)"""
18602 return _pcbnew.FOOTPRINT_SetAttributes(self, aAttributes)
18605 r"""SetFlag(FOOTPRINT self, int aFlag)"""
18606 return _pcbnew.FOOTPRINT_SetFlag(self, aFlag)
18609 r"""IncrementFlag(FOOTPRINT self)"""
18610 return _pcbnew.FOOTPRINT_IncrementFlag(self)
18613 r"""GetFlag(FOOTPRINT self) -> int"""
18614 return _pcbnew.FOOTPRINT_GetFlag(self)
18617 r"""IsNetTie(FOOTPRINT self) -> bool"""
18618 return _pcbnew.FOOTPRINT_IsNetTie(self)
18621 r"""GetNetTiePadGroups(FOOTPRINT self) -> std::vector< wxString,std::allocator< wxString > > const &"""
18622 return _pcbnew.FOOTPRINT_GetNetTiePadGroups(self)
18625 r"""ClearNetTiePadGroups(FOOTPRINT self)"""
18626 return _pcbnew.FOOTPRINT_ClearNetTiePadGroups(self)
18629 r"""AddNetTiePadGroup(FOOTPRINT self, wxString aGroup)"""
18630 return _pcbnew.FOOTPRINT_AddNetTiePadGroup(self, aGroup)
18633 r"""MapPadNumbersToNetTieGroups(FOOTPRINT self) -> std::map< wxString,int,std::less< wxString >,std::allocator< std::pair< wxString const,int > > >"""
18634 return _pcbnew.FOOTPRINT_MapPadNumbersToNetTieGroups(self)
18637 r"""GetNetTiePads(FOOTPRINT self, PAD aPad) -> PADS_VEC"""
18638 return _pcbnew.FOOTPRINT_GetNetTiePads(self, aPad)
18641 r"""GetLikelyAttribute(FOOTPRINT self) -> int"""
18642 return _pcbnew.FOOTPRINT_GetLikelyAttribute(self)
18645 r"""MoveAnchorPosition(FOOTPRINT self, VECTOR2I aMoveVector)"""
18646 return _pcbnew.FOOTPRINT_MoveAnchorPosition(self, aMoveVector)
18649 r"""IsFlipped(FOOTPRINT self) -> bool"""
18650 return _pcbnew.FOOTPRINT_IsFlipped(self)
18653 r"""IsConflicting(FOOTPRINT self) -> bool"""
18654 return _pcbnew.FOOTPRINT_IsConflicting(self)
18657 r"""IsPlaced(FOOTPRINT self) -> bool"""
18658 return _pcbnew.FOOTPRINT_IsPlaced(self)
18661 r"""SetIsPlaced(FOOTPRINT self, bool isPlaced)"""
18662 return _pcbnew.FOOTPRINT_SetIsPlaced(self, isPlaced)
18665 r"""NeedsPlaced(FOOTPRINT self) -> bool"""
18666 return _pcbnew.FOOTPRINT_NeedsPlaced(self)
18669 r"""SetNeedsPlaced(FOOTPRINT self, bool needsPlaced)"""
18670 return _pcbnew.FOOTPRINT_SetNeedsPlaced(self, needsPlaced)
18673 r"""LegacyPadsLocked(FOOTPRINT self) -> bool"""
18674 return _pcbnew.FOOTPRINT_LegacyPadsLocked(self)
18677 r"""CheckFootprintAttributes(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
18678 return _pcbnew.FOOTPRINT_CheckFootprintAttributes(self, aErrorHandler)
18681 r"""CheckPads(FOOTPRINT self, std::function< void (PAD const *,int,wxString const &) > const & aErrorHandler)"""
18682 return _pcbnew.FOOTPRINT_CheckPads(self, aErrorHandler)
18685 r"""CheckShortingPads(FOOTPRINT self, std::function< void (PAD const *,PAD const *,VECTOR2I const &) > const & aErrorHandler)"""
18686 return _pcbnew.FOOTPRINT_CheckShortingPads(self, aErrorHandler)
18689 r"""CheckNetTies(FOOTPRINT self, std::function< void (BOARD_ITEM const *,BOARD_ITEM const *,BOARD_ITEM const *,VECTOR2I const &) > const & aErrorHandler)"""
18690 return _pcbnew.FOOTPRINT_CheckNetTies(self, aErrorHandler)
18693 r"""CheckNetTiePadGroups(FOOTPRINT self, std::function< void (wxString const &) > const & aErrorHandler)"""
18694 return _pcbnew.FOOTPRINT_CheckNetTiePadGroups(self, aErrorHandler)
18696 def TransformPadsToPolySet(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper=False, aSkipPlatedPads=False, aSkipNonPlatedPads=False):
18697 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)"""
18698 return _pcbnew.FOOTPRINT_TransformPadsToPolySet(self, aBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper, aSkipPlatedPads, aSkipNonPlatedPads)
18700 def TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText=True, aIncludeShapes=True, aIncludePrivateItems=False):
18701 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)"""
18702 return _pcbnew.FOOTPRINT_TransformFPShapesToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText, aIncludeShapes, aIncludePrivateItems)
18705 r"""TransformFPTextToPolySet(FOOTPRINT self, SHAPE_POLY_SET aBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
18706 return _pcbnew.FOOTPRINT_TransformFPTextToPolySet(self, aBuffer, aLayer, aClearance, aError, aErrorLoc)
18709 r"""GetContextualTextVars(FOOTPRINT self, wxArrayString * aVars)"""
18710 return _pcbnew.FOOTPRINT_GetContextualTextVars(self, aVars)
18713 r"""ResolveTextVar(FOOTPRINT self, wxString token, int aDepth=0) -> bool"""
18714 return _pcbnew.FOOTPRINT_ResolveTextVar(self, token, aDepth)
18717 r"""HitTestAccurate(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool"""
18718 return _pcbnew.FOOTPRINT_HitTestAccurate(self, aPosition, aAccuracy)
18722 HitTest(FOOTPRINT self, VECTOR2I aPosition, int aAccuracy=0) -> bool
18723 HitTest(FOOTPRINT self, BOX2I aRect, bool aContained, int aAccuracy=0) -> bool
18725 return _pcbnew.FOOTPRINT_HitTest(self, *args)
18729 HitTestOnLayer(FOOTPRINT self, VECTOR2I aPosition, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
18730 HitTestOnLayer(FOOTPRINT self, BOX2I aRect, bool aContained, PCB_LAYER_ID aLayer, int aAccuracy=0) -> bool
18732 return _pcbnew.FOOTPRINT_HitTestOnLayer(self, *args)
18735 r"""GetReference(FOOTPRINT self) -> wxString"""
18736 return _pcbnew.FOOTPRINT_GetReference(self)
18739 r"""SetReference(FOOTPRINT self, wxString aReference)"""
18740 return _pcbnew.FOOTPRINT_SetReference(self, aReference)
18743 r"""GetReferenceAsString(FOOTPRINT self) -> wxString"""
18744 return _pcbnew.FOOTPRINT_GetReferenceAsString(self)
18747 r"""IncrementReference(FOOTPRINT self, int aDelta)"""
18748 return _pcbnew.FOOTPRINT_IncrementReference(self, aDelta)
18751 r"""GetValue(FOOTPRINT self) -> wxString"""
18752 return _pcbnew.FOOTPRINT_GetValue(self)
18755 r"""SetValue(FOOTPRINT self, wxString aValue)"""
18756 return _pcbnew.FOOTPRINT_SetValue(self, aValue)
18759 r"""GetValueAsString(FOOTPRINT self) -> wxString"""
18760 return _pcbnew.FOOTPRINT_GetValueAsString(self)
18764 Value(FOOTPRINT self) -> FP_TEXT
18765 Value(FOOTPRINT self) -> FP_TEXT
18767 return _pcbnew.FOOTPRINT_Value(self, *args)
18774 return _pcbnew.FOOTPRINT_Reference(self, *args)
18777 r"""GetPropertiesNative(FOOTPRINT self) -> MAP_STRING_STRING"""
18778 return _pcbnew.FOOTPRINT_GetPropertiesNative(self)
18781 r"""SetPropertiesNative(FOOTPRINT self, MAP_STRING_STRING aProps)"""
18782 return _pcbnew.FOOTPRINT_SetPropertiesNative(self, aProps)
18785 r"""GetPropertyNative(FOOTPRINT self, wxString aKey) -> wxString"""
18786 return _pcbnew.FOOTPRINT_GetPropertyNative(self, aKey)
18789 r"""HasProperty(FOOTPRINT self, wxString aKey) -> bool"""
18790 return _pcbnew.FOOTPRINT_HasProperty(self, aKey)
18793 r"""SetProperty(FOOTPRINT self, wxString aKey, wxString aVal)"""
18794 return _pcbnew.FOOTPRINT_SetProperty(self, aKey, aVal)
18797 r"""IsBoardOnly(FOOTPRINT self) -> bool"""
18798 return _pcbnew.FOOTPRINT_IsBoardOnly(self)
18801 r"""SetBoardOnly(FOOTPRINT self, bool aIsBoardOnly=True)"""
18802 return _pcbnew.FOOTPRINT_SetBoardOnly(self, aIsBoardOnly)
18805 r"""IsExcludedFromPosFiles(FOOTPRINT self) -> bool"""
18806 return _pcbnew.FOOTPRINT_IsExcludedFromPosFiles(self)
18809 r"""SetExcludedFromPosFiles(FOOTPRINT self, bool aExclude=True)"""
18810 return _pcbnew.FOOTPRINT_SetExcludedFromPosFiles(self, aExclude)
18813 r"""IsExcludedFromBOM(FOOTPRINT self) -> bool"""
18814 return _pcbnew.FOOTPRINT_IsExcludedFromBOM(self)
18817 r"""SetExcludedFromBOM(FOOTPRINT self, bool aExclude=True)"""
18818 return _pcbnew.FOOTPRINT_SetExcludedFromBOM(self, aExclude)
18821 r"""AllowMissingCourtyard(FOOTPRINT self) -> bool"""
18822 return _pcbnew.FOOTPRINT_AllowMissingCourtyard(self)
18825 r"""SetAllowMissingCourtyard(FOOTPRINT self, bool aAllow=True)"""
18826 return _pcbnew.FOOTPRINT_SetAllowMissingCourtyard(self, aAllow)
18829 r"""SetFileFormatVersionAtLoad(FOOTPRINT self, int aVersion)"""
18830 return _pcbnew.FOOTPRINT_SetFileFormatVersionAtLoad(self, aVersion)
18833 r"""GetFileFormatVersionAtLoad(FOOTPRINT self) -> int"""
18834 return _pcbnew.FOOTPRINT_GetFileFormatVersionAtLoad(self)
18837 r"""FindPadByNumber(FOOTPRINT self, wxString aPadNumber, PAD aSearchAfterMe=None) -> PAD"""
18838 return _pcbnew.FOOTPRINT_FindPadByNumber(self, aPadNumber, aSearchAfterMe)
18841 r"""GetPad(FOOTPRINT self, VECTOR2I aPosition, LSET aLayerMask=LSET::AllLayersMask()) -> PAD"""
18842 return _pcbnew.FOOTPRINT_GetPad(self, *args)
18845 r"""GetPadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
18846 return _pcbnew.FOOTPRINT_GetPadCount(self, *args)
18849 r"""GetUniquePadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
18850 return _pcbnew.FOOTPRINT_GetUniquePadCount(self, *args)
18853 r"""GetNextPadNumber(FOOTPRINT self, wxString aLastPadName) -> wxString"""
18854 return _pcbnew.FOOTPRINT_GetNextPadNumber(self, aLastPadName)
18857 r"""GetTypeName(FOOTPRINT self) -> wxString"""
18858 return _pcbnew.FOOTPRINT_GetTypeName(self)
18861 r"""GetArea(FOOTPRINT self, int aPadding=0) -> double"""
18862 return _pcbnew.FOOTPRINT_GetArea(self, aPadding)
18865 r"""GetLink(FOOTPRINT self) -> KIID"""
18866 return _pcbnew.FOOTPRINT_GetLink(self)
18869 r"""SetLink(FOOTPRINT self, KIID aLink)"""
18870 return _pcbnew.FOOTPRINT_SetLink(self, aLink)
18873 r"""DuplicateItem(FOOTPRINT self, BOARD_ITEM aItem, bool aAddToFootprint=False) -> BOARD_ITEM"""
18874 return _pcbnew.FOOTPRINT_DuplicateItem(self, aItem, aAddToFootprint)
18877 r"""Add3DModel(FOOTPRINT self, FP_3DMODEL a3DModel)"""
18878 return _pcbnew.FOOTPRINT_Add3DModel(self, a3DModel)
18881 r"""RunOnChildren(FOOTPRINT self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
18882 return _pcbnew.FOOTPRINT_RunOnChildren(self, aFunction)
18885 r"""ViewGetLOD(FOOTPRINT self, int aLayer, KIGFX::VIEW * aView) -> double"""
18886 return _pcbnew.FOOTPRINT_ViewGetLOD(self, aLayer, aView)
18890 r"""IsLibNameValid(wxString aName) -> bool"""
18891 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
18895 r"""StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
18896 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
18899 r"""FootprintNeedsUpdate(FOOTPRINT self, FOOTPRINT aLibFootprint) -> bool"""
18900 return _pcbnew.FOOTPRINT_FootprintNeedsUpdate(self, aLibFootprint)
18903 r"""SetInitialComments(FOOTPRINT self, wxArrayString * aInitialComments)"""
18904 return _pcbnew.FOOTPRINT_SetInitialComments(self, aInitialComments)
18907 r"""CoverageRatio(FOOTPRINT self, GENERAL_COLLECTOR const & aCollector) -> double"""
18908 return _pcbnew.FOOTPRINT_CoverageRatio(self, aCollector)
18912 r"""GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
18913 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
18916 r"""GetInitialComments(FOOTPRINT self) -> wxArrayString const *"""
18917 return _pcbnew.FOOTPRINT_GetInitialComments(self)
18920 r"""GetCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
18921 return _pcbnew.FOOTPRINT_GetCourtyard(self, aLayer)
18924 r"""BuildCourtyardCaches(FOOTPRINT self, OUTLINE_ERROR_HANDLER * aErrorHandler=None)"""
18925 return _pcbnew.FOOTPRINT_BuildCourtyardCaches(self, aErrorHandler)
18928 r"""GetEffectiveShape(FOOTPRINT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
18929 return _pcbnew.FOOTPRINT_GetEffectiveShape(self, *args)
18941 """ Returns footprint properties map. """
18943 return {str(k): str(v)
for k, v
in properties.items()}
18946 """ Returns property with a given key if it exists, throws KeyError otherwise. """
18950 raise KeyError(
"Property not found: " + key)
18953 """ Sets footprint properties map. """
18955 for k, v
in properties.items():
18956 wxproperties[k] = v
18962_pcbnew.FOOTPRINT_swigregister(FOOTPRINT)
18965 r"""FOOTPRINT_ClassOf(EDA_ITEM aItem) -> bool"""
18966 return _pcbnew.FOOTPRINT_ClassOf(aItem)
18967FP_is_LOCKED = _pcbnew.FP_is_LOCKED
18969FP_is_PLACED = _pcbnew.FP_is_PLACED
18971FP_to_PLACE = _pcbnew.FP_to_PLACE
18973FP_PADS_are_LOCKED = _pcbnew.FP_PADS_are_LOCKED
18977 r"""FOOTPRINT_IsLibNameValid(wxString aName) -> bool"""
18978 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
18981 r"""FOOTPRINT_StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
18982 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
18985 r"""FOOTPRINT_GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
18986 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
18989 r"""Proxy of C++ FOOTPRINT::cmp_drawings class."""
18991 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18992 __repr__ = _swig_repr
18995 r"""__call__(cmp_drawings self, BOARD_ITEM itemA, BOARD_ITEM itemB) -> bool"""
18996 return _pcbnew.cmp_drawings___call__(self, itemA, itemB)
18999 r"""__init__(cmp_drawings self) -> cmp_drawings"""
19000 _pcbnew.cmp_drawings_swiginit(self, _pcbnew.new_cmp_drawings())
19001 __swig_destroy__ = _pcbnew.delete_cmp_drawings
19004_pcbnew.cmp_drawings_swigregister(cmp_drawings)
19007 r"""Proxy of C++ FOOTPRINT::cmp_pads class."""
19009 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19010 __repr__ = _swig_repr
19013 r"""__call__(cmp_pads self, PAD aFirst, PAD aSecond) -> bool"""
19014 return _pcbnew.cmp_pads___call__(self, aFirst, aSecond)
19017 r"""__init__(cmp_pads self) -> cmp_pads"""
19018 _pcbnew.cmp_pads_swiginit(self, _pcbnew.new_cmp_pads())
19019 __swig_destroy__ = _pcbnew.delete_cmp_pads
19022_pcbnew.cmp_pads_swigregister(cmp_pads)
19025 r"""Proxy of C++ FOOTPRINT::cmp_zones class."""
19027 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19028 __repr__ = _swig_repr
19031 r"""__call__(cmp_zones self, FP_ZONE aFirst, FP_ZONE aSecond) -> bool"""
19032 return _pcbnew.cmp_zones___call__(self, aFirst, aSecond)
19035 r"""__init__(cmp_zones self) -> cmp_zones"""
19036 _pcbnew.cmp_zones_swiginit(self, _pcbnew.new_cmp_zones())
19037 __swig_destroy__ = _pcbnew.delete_cmp_zones
19040_pcbnew.cmp_zones_swigregister(cmp_zones)
19043 r"""Proxy of C++ std::vector< FP_3DMODEL > class."""
19045 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19046 __repr__ = _swig_repr
19049 r"""iterator(VECTOR_FP_3DMODEL self) -> SwigPyIterator"""
19050 return _pcbnew.VECTOR_FP_3DMODEL_iterator(self)
19055 r"""__nonzero__(VECTOR_FP_3DMODEL self) -> bool"""
19056 return _pcbnew.VECTOR_FP_3DMODEL___nonzero__(self)
19059 r"""__bool__(VECTOR_FP_3DMODEL self) -> bool"""
19060 return _pcbnew.VECTOR_FP_3DMODEL___bool__(self)
19063 r"""__len__(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
19064 return _pcbnew.VECTOR_FP_3DMODEL___len__(self)
19067 r"""__getslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j) -> VECTOR_FP_3DMODEL"""
19068 return _pcbnew.VECTOR_FP_3DMODEL___getslice__(self, i, j)
19072 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)
19073 __setslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j, VECTOR_FP_3DMODEL v)
19075 return _pcbnew.VECTOR_FP_3DMODEL___setslice__(self, *args)
19078 r"""__delslice__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, std::vector< FP_3DMODEL >::difference_type j)"""
19079 return _pcbnew.VECTOR_FP_3DMODEL___delslice__(self, i, j)
19083 __delitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i)
19084 __delitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice)
19086 return _pcbnew.VECTOR_FP_3DMODEL___delitem__(self, *args)
19090 __getitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice) -> VECTOR_FP_3DMODEL
19091 __getitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i) -> FP_3DMODEL
19093 return _pcbnew.VECTOR_FP_3DMODEL___getitem__(self, *args)
19097 __setitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice, VECTOR_FP_3DMODEL v)
19098 __setitem__(VECTOR_FP_3DMODEL self, PySliceObject * slice)
19099 __setitem__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::difference_type i, FP_3DMODEL x)
19101 return _pcbnew.VECTOR_FP_3DMODEL___setitem__(self, *args)
19104 r"""pop(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
19105 return _pcbnew.VECTOR_FP_3DMODEL_pop(self)
19108 r"""append(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
19109 return _pcbnew.VECTOR_FP_3DMODEL_append(self, x)
19112 r"""empty(VECTOR_FP_3DMODEL self) -> bool"""
19113 return _pcbnew.VECTOR_FP_3DMODEL_empty(self)
19116 r"""size(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
19117 return _pcbnew.VECTOR_FP_3DMODEL_size(self)
19120 r"""swap(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL v)"""
19121 return _pcbnew.VECTOR_FP_3DMODEL_swap(self, v)
19124 r"""begin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
19125 return _pcbnew.VECTOR_FP_3DMODEL_begin(self)
19128 r"""end(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::iterator"""
19129 return _pcbnew.VECTOR_FP_3DMODEL_end(self)
19132 r"""rbegin(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
19133 return _pcbnew.VECTOR_FP_3DMODEL_rbegin(self)
19136 r"""rend(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::reverse_iterator"""
19137 return _pcbnew.VECTOR_FP_3DMODEL_rend(self)
19140 r"""clear(VECTOR_FP_3DMODEL self)"""
19141 return _pcbnew.VECTOR_FP_3DMODEL_clear(self)
19144 r"""get_allocator(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::allocator_type"""
19145 return _pcbnew.VECTOR_FP_3DMODEL_get_allocator(self)
19148 r"""pop_back(VECTOR_FP_3DMODEL self)"""
19149 return _pcbnew.VECTOR_FP_3DMODEL_pop_back(self)
19153 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos) -> std::vector< FP_3DMODEL >::iterator
19154 erase(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator first, std::vector< FP_3DMODEL >::iterator last) -> std::vector< FP_3DMODEL >::iterator
19156 return _pcbnew.VECTOR_FP_3DMODEL_erase(self, *args)
19160 __init__(VECTOR_FP_3DMODEL self) -> VECTOR_FP_3DMODEL
19161 __init__(VECTOR_FP_3DMODEL self, VECTOR_FP_3DMODEL other) -> VECTOR_FP_3DMODEL
19162 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size) -> VECTOR_FP_3DMODEL
19163 __init__(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type size, FP_3DMODEL value) -> VECTOR_FP_3DMODEL
19165 _pcbnew.VECTOR_FP_3DMODEL_swiginit(self, _pcbnew.new_VECTOR_FP_3DMODEL(*args))
19168 r"""push_back(VECTOR_FP_3DMODEL self, FP_3DMODEL x)"""
19169 return _pcbnew.VECTOR_FP_3DMODEL_push_back(self, x)
19172 r"""front(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
19173 return _pcbnew.VECTOR_FP_3DMODEL_front(self)
19176 r"""back(VECTOR_FP_3DMODEL self) -> FP_3DMODEL"""
19177 return _pcbnew.VECTOR_FP_3DMODEL_back(self)
19180 r"""assign(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)"""
19181 return _pcbnew.VECTOR_FP_3DMODEL_assign(self, n, x)
19185 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size)
19186 resize(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type new_size, FP_3DMODEL x)
19188 return _pcbnew.VECTOR_FP_3DMODEL_resize(self, *args)
19192 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, FP_3DMODEL x) -> std::vector< FP_3DMODEL >::iterator
19193 insert(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::iterator pos, std::vector< FP_3DMODEL >::size_type n, FP_3DMODEL x)
19195 return _pcbnew.VECTOR_FP_3DMODEL_insert(self, *args)
19198 r"""reserve(VECTOR_FP_3DMODEL self, std::vector< FP_3DMODEL >::size_type n)"""
19199 return _pcbnew.VECTOR_FP_3DMODEL_reserve(self, n)
19202 r"""capacity(VECTOR_FP_3DMODEL self) -> std::vector< FP_3DMODEL >::size_type"""
19203 return _pcbnew.VECTOR_FP_3DMODEL_capacity(self)
19204 __swig_destroy__ = _pcbnew.delete_VECTOR_FP_3DMODEL
19207_pcbnew.VECTOR_FP_3DMODEL_swigregister(VECTOR_FP_3DMODEL)
19211 plugin_type = IO_MGR.GuessPluginTypeFromLibPath( libname );
19212 return IO_MGR.PluginFind(plugin_type)
19216 return plug.FootprintEnumerate(libname)
19220 return plug.FootprintLoad(libname,name,preserveUUID)
19224 return plug.FootprintSave(libname,module)
19228 plug.FootprintDelete(libname,name)
19232 plug.FootprintLibCreate(libname)
19236 plug.FootprintLibDelete(libname)
19240 plug.FootprintLibIsWritable(libname)
19243 r"""Proxy of C++ PYTHON_FOOTPRINT_WIZARD_LIST class."""
19245 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19246 __repr__ = _swig_repr
19250 r"""register_wizard(PyObject * wizard)"""
19251 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
19255 r"""deregister_wizard(PyObject * wizard)"""
19256 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
19259 r"""__init__(PYTHON_FOOTPRINT_WIZARD_LIST self) -> PYTHON_FOOTPRINT_WIZARD_LIST"""
19260 _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swiginit(self, _pcbnew.new_PYTHON_FOOTPRINT_WIZARD_LIST())
19261 __swig_destroy__ = _pcbnew.delete_PYTHON_FOOTPRINT_WIZARD_LIST
19264_pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swigregister(PYTHON_FOOTPRINT_WIZARD_LIST)
19267 r"""PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(PyObject * wizard)"""
19268 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
19271 r"""PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(PyObject * wizard)"""
19272 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
19275 r"""Proxy of C++ PYTHON_ACTION_PLUGINS class."""
19277 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
19278 __repr__ = _swig_repr
19282 r"""register_action(PyObject * wizard)"""
19283 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
19287 r"""deregister_action(PyObject * wizard)"""
19288 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
19291 r"""__init__(PYTHON_ACTION_PLUGINS self) -> PYTHON_ACTION_PLUGINS"""
19292 _pcbnew.PYTHON_ACTION_PLUGINS_swiginit(self, _pcbnew.new_PYTHON_ACTION_PLUGINS())
19293 __swig_destroy__ = _pcbnew.delete_PYTHON_ACTION_PLUGINS
19296_pcbnew.PYTHON_ACTION_PLUGINS_swigregister(PYTHON_ACTION_PLUGINS)
19299 r"""PYTHON_ACTION_PLUGINS_register_action(PyObject * wizard)"""
19300 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
19303 r"""PYTHON_ACTION_PLUGINS_deregister_action(PyObject * wizard)"""
19304 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
19308 if type(iu)
in [int,float]:
19309 return float(iu) / float(pcbIUScale.IU_PER_MM)
19310 elif type(iu)
in [wxPoint,wxSize,VECTOR2I]:
19311 return tuple(map(ToMM,iu))
19313 raise TypeError(
"ToMM() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(iu)))
19316 if type(mm)
in [int,float]:
19317 return int(float(mm) * float(pcbIUScale.IU_PER_MM))
19318 elif type(mm)
in [wxPoint,wxSize,VECTOR2I]:
19319 return tuple(map(FromMM,mm))
19321 raise TypeError(
"FromMM() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(mm)))
19324 if type(iu)
in [int,float]:
19325 return float(iu) / float(pcbIUScale.IU_PER_MILS)
19326 elif type(iu)
in [wxPoint,wxSize,VECTOR2I]:
19327 return tuple(map(ToMils,iu))
19329 raise TypeError(
"ToMils() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(iu)))
19332 if type(mils)
in [int,float]:
19333 return int(float(mils)*float(pcbIUScale.IU_PER_MILS))
19334 elif type(mils)
in [wxPoint,wxSize,VECTOR2I]:
19335 return tuple(map(FromMils,mils))
19337 raise TypeError(
"FromMils() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(mils)))
19340 thresh =
FromMM(gridSizeMM)
19341 return round(value/thresh)*thresh
19345 return round(value/thresh)*thresh
19370 return wxRect(x,y,wx,wy)
19377 return wxRect(x,y,wx,wy)
19381 """Return the semantic version of KiCad"""
19385 """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 __init__(self, *args, **kwargs)
def GetLocalClearanceOverrides(self, aSource)
def SetLocalRatsnestVisible(self, aVisible)
def GetNetClassName(self)
def GetUnescapedShortNetname(self)
def SetNetCode(self, *args)
def GetLocalRatsnestVisible(self)
def GetShortNetname(self)
def GetEffectiveNetClass(self)
def SetNet(self, aNetInfo)
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 SetZoneSettings(self, aSettings)
def DeleteNative(self, aItem)
def RemoveNative(self, *args)
def GetZoneSettings(self)
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 Flip(self, aCentre, aFlipLeftRight)
def SetStroke(self, aStroke)
def __init__(self, *args, **kwargs)
def Rotate(self, aRotCentre, aAngle)
def SetLayer(self, aLayer)
def SetLayerSet(self, aLayers)
def SwapItemData(self, aImage)
def GetEffectiveHoleShape(self)
def IsOnCopperLayer(self)
def DeleteStructure(self)
def GetEffectiveShape(self, *args)
def GetParentFootprint(self)
def SetLocked(self, aLocked)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def GetBoard(self, *args)
def OnBoardHighlightNetChanged(self, aBoard)
def OnBoardItemAdded(self, aBoard, aBoardItem)
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 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 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 GetNetInfo(self, *args)
def GetViasDimensionsList(self)
def IsLayerVisible(self, aLayer)
def ResolveDRCExclusions(self, aCreateMarkers)
def SetPlotOptions(self, aOptions)
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 SetPageSettings(self, aPageSettings)
def DeleteAllFootprints(self)
def GetBoardEdgesBoundingBox(self)
def GetBoardPolygonOutlines(self, aOutlines, aErrorHandler=None, aAllowUseArcsInPolygons=False)
def GetFileFormatVersionAtLoad(self)
def UpdateUserUnits(self, aItem, aView)
def GetVisibleLayers(self)
def GetNetClassAssignmentCandidates(self)
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 MapNets(self, aDestBoard)
def SetBoardUse(self, aUse)
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 FromU32(self, aPackedColor)
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 GetNetItems(self, aNetCode, aTypes)
def GetRatsnestForNet(self, aNet)
def GetConnectedItemsAtAnchor(self, aItem, aAnchor, aTypes, aMaxError=0)
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 SetStatus(self, aStatus)
def ClearBrightened(self)
def ClearFlags(self, *args)
def IsShownAsBitmap(self)
def GetSortPosition(self)
def SetIsShownAsBitmap(self, aBitmap)
def SetFlags(self, aMask)
def SetState(self, type, state)
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 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 SetWidth(self, aWidth)
def RebuildBezierToSegmentsPointsList(self, aMinSegLen)
def SetIsAnnotationProxy(self, aIsProxy=True)
def SetFilled(self, aFlag)
def SetPolyPoints(self, aPoints)
def IsPolyShapeValid(self)
def GetBezierPoints(self)
def MakeEffectiveShapes(self, aEdgeOnly=False)
def GetPolyShape(self, *args)
def Compare(self, aOther)
def IsAnnotationProxy(self)
def SetCenter(self, aCenter)
def GetFriendlyName(self)
def SetBezierC1(self, aPt)
def SetShape(self, aShape)
def SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
def SetFillMode(self, aFill)
def GetEffectiveWidth(self)
def __init__(self, *args, **kwargs)
def SetAttributes(self, *args)
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 SetMultilineAllowed(self, aAllow)
def GetTextBox(self, aLine=-1, aInvertY=False)
def SetTextThickness(self, aWidth)
def GetTextThickness(self)
def Replace(self, aSearchData)
def SetTextSize(self, aNewSize)
def SetTextAngleDegrees(self, aOrientation)
def IsMultilineAllowed(self)
def ClearBoundingBoxCache(self)
def GetEffectiveTextShapeNative(self, *args)
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 ClearRenderCache(self)
def RemoveHyperlink(self)
def TextHitTest(self, *args)
def GetEffectiveTextShape(self, aTriangulate=True, aUseTextRotation=True)
def Format(self, aFormatter, aNestLevel, aControlBits)
def GetEffectiveTextPenWidth(self, aDefaultPenWidth=0)
def ValidateHyperlink(aURL)
def SetupRenderCache(self, aResolvedText, aAngle)
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 MapVertJustify(aVertJustify)
def SetTextWidth(self, aWidth)
def SetMirrored(self, isMirrored)
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 __getitem__(self, *args)
def __getslice__(self, i, j)
def __setitem__(self, *args)
def __delitem__(self, *args)
def __init__(self, *args)
def __delslice__(self, i, j)
def __setslice__(self, *args)
def ViewGetLOD(self, aLayer, aView)
def CalcArcAngles0(self, aStartAngle, aEndAngle)
def IsParentFlipped(self)
def SetArcAngleAndEnd0(self, aAngle, aCheckNegativeAngle=False)
def __init__(self, *args)
def SetBezierC2_0(self, aPoint)
def SetBezierC1_0(self, aPoint)
def SetCachedArcData0(self, aStart0, aMid0, aEnd0, aCenter0)
def SetStart0(self, aPoint)
def SetEnd0(self, aPoint)
def GetParentAsString(self)
def SetCenter0(self, aPt)
def SetArcGeometry0(self, aStart, aMid, aEnd)
def ViewGetLOD(self, aLayer, aView)
def __init__(self, aParentFootprint)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth=False)
def TransformTextToPolySet(self, aBuffer, aClearance, aError, aErrorLoc)
def GetNormalizedCorners(self)
def GetParentAsString(self)
def IsBorderEnabled(self)
def GetShownText(self, aAllowExtraText, aDepth=0)
def GetEffectiveShape(self, *args)
def GetEffectiveShape(self, *args)
def GetParentAsString(self)
def GetShownText(self, aAllowExtraText, aDepth=0)
def TransformTextToPolySet(self, aBuffer, aClearance, aError, aErrorLoc)
def TextHitTest(self, *args)
def Mirror(self, aCentre, aMirrorAroundXAxis)
def __init__(self, *args)
def ViewGetLOD(self, aLayer, aView)
def KeepUpright(self, aOldOrientation, aNewOrientation)
def IsParentFlipped(self)
def __init__(self, *args)
def __delitem__(self, *args)
def __delslice__(self, i, j)
def __getitem__(self, *args)
def __setitem__(self, *args)
def __setslice__(self, *args)
def __getslice__(self, i, j)
def __init__(self, *args)
def ViewGetLOD(self, aLayer, aView)
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 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 GuessPluginTypeFromLibPath(aLibPath)
def EnumFromStr(aFileType)
def Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None)
def Save(aFileType, aFileName, aBoard, aProperties=None)
def GetFileExtension(aFileType)
def PluginFind(aFileType)
def PluginRelease(aPlugin)
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, aNickname)
def GetUniStringLibNickname(self)
def __init__(self, *args, **kwargs)
def Contains(self, aLayer)
def RemoveLayer(self, layer)
def SeqStackupBottom2Top(self)
def addLayer(self, aLayer)
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 __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 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 GetUnescapedShortNetname(self)
def RemoveUnusedNets(self)
def __init__(self, aParent)
def AppendNet(self, aNewElement)
def GetNetItem(self, *args)
def RemoveNet(self, aNet)
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 AddPrimitiveAnnotationBox(self, aStart, aEnd)
def ConditionallyFlashed(self, aLayer)
def AddPrimitive(self, aPrimitive)
def AddPrimitiveCurve(self, aStart, aEnd, aCtrl1, aCtrl2, aThickness)
def GetRoundRectRadiusRatio(self)
def GetChamferPositions(self)
def GetLocalZoneConnectionOverride(self, aSource=None)
def GetLocalSpokeWidthOverride(self, aSource=None)
def SetThermalSpokeAngleDegrees(self, aAngle)
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 GetBestAnchorPosition(self, aPos)
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 AddPrimitiveSegment(self, aStart, aEnd, aThickness)
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 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 AddPrimitiveRect(self, aStart, aEnd, aThickness, aFilled)
def AddPrimitiveArc(self, aCenter, aStart, aArcAngle, aThickness)
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 GetParentAsString(self)
def ReplacePrimitives(self, aPrimitivesList)
def SetLocalSolderMaskMargin(self, aMargin)
def SetZoneConnection(self, aType)
def GetThermalSpokeWidth(self)
def GetCustomShapeInZoneOpt(self)
def AddPrimitiveCircle(self, aCenter, aRadius, aThickness, aFilled)
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 GetLocalClearance(self, *args)
def GetArcAngleStart(self)
def GetEffectiveShape(self, *args)
def IsDegenerated(self, aThreshold=5)
def __init__(self, *args)
def ViewGetLOD(self, aLayer, aView)
def ReadImageFile(self, aFullFilename)
def __init__(self, *args)
def GetEffectiveShape(self, *args)
def SetImageScale(self, aScale)
def SetImage(self, aImage)
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 __init__(self, aParent, aType)
def GetCrossbarStart(self)
def UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
def SetHeight(self, aHeight)
def Mirror(self, axis_pos, aMirrorLeftRight=False)
def GetExtensionHeight(self)
def ChangeHeight(self, aHeight)
def ChangeExtensionHeight(self, aHeight)
def __init__(self, aParent, aInFP=False)
def ChangeTextBorder(self, aBorder)
def SetTextBorder(self, aBorder)
def __init__(self, aParent, aInFP=False)
def __init__(self, aParent, aInFP=False)
def SetOrientation(self, aOrientation)
def SetLeaderLength(self, aLength)
def GetLeaderLength(self)
def ChangeLeaderLength(self, aLength)
def __init__(self, aParent, aInFP=False)
def TopLevelGroup(aItem, aScope, isFootprintEditor)
def IsGroupableType(aType)
def RunOnChildren(self, aFunction)
def WithinScope(aItem, aScope, isFootprintEditor)
def AddChildrenToCommit(self, aCommit)
def RemoveItem(self, aItem)
def __init__(self, aParent)
def RunOnDescendants(self, aFunction)
def GetItems(self, *args)
def ViewGetLOD(self, aLayer, aView)
def SetLayerRecursive(self, aLayer, aDepth)
def GetEffectiveShape(self, *args)
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 IsSameAs(self, aPcbPlotParams)
def SetUseAuxOrigin(self, aAux)
def GetGerberDefaultPrecision()
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 GetStringOutput(self, doClear)
def FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties=None)
def FootprintLibCreate(self, aLibraryPath, aProperties=None)
def GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties=None)
def SetOutputFormatter(self, aFormatter)
def Parse(self, aClipboardSourceInput)
def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None)
def FootprintSave(self, aLibraryPath, aFootprint, aProperties=None)
def DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount)
def FootprintLibDelete(self, aLibraryPath, aProperties=None)
def FootprintDelete(self, aLibraryPath, aFootprintName, aProperties=None)
def FootprintExists(self, aLibraryPath, aFootprintName, aProperties=None)
def Save(self, aFileName, aBoard, aProperties=None)
def __init__(self, *args)
def Format(self, aItem, aNestLevel=0)
def Load(self, aFileName, aAppendToMe, aProperties=None, aProject=None, aProgressReporter=None)
def GetEffectiveShape(self, *args)
def __init__(self, *args)
def ViewGetLOD(self, aLayer, aView)
def GetFriendlyName(self)
def GetArcAngleStart(self)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, ignoreLineWidth=False)
def Mirror(self, aCentre, aMirrorAroundXAxis)
def GetParentFootprint(self)
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 TransformTextToPolySet(self, aBuffer, aClearance, aError, aErrorLoc)
def GetAnchorAndOppositeCorner(self)
def ViewGetLOD(self, aLayer, aView)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth=False)
def __init__(self, parent)
def IsBorderEnabled(self)
def GetShownText(self, aAllowExtraText, aDepth=0)
def GetShownText(self, aAllowExtraText, aDepth=0)
def TransformShapeToPolygon(self, aBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth=False)
def __init__(self, parent, idtype=PCB_TEXT_T)
def TransformTextToPolySet(self, aBuffer, aClearance, aError, aErrorLoc)
def Mirror(self, aCentre, aMirrorAroundXAxis)
def TextHitTest(self, *args)
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 SetCachedScale(self, aScale)
def ViewGetLOD(self, aLayer, aView)
def SetCachedLOD(self, aLOD)
def GetWidthConstraint(self, aSource=None)
def LayerPair(self, top_layer, bottom_layer)
def SetKeepStartEnd(self, aSet)
def GetMinAnnulus(self, aLayer, aSource)
def ConditionallyFlashed(self, aLayer)
def GetKeepStartEnd(self)
def SetViaType(self, aViaType)
def SetZoneLayerOverride(self, aLayer, aOverride)
def GetRemoveUnconnected(self)
def ViewGetLOD(self, aLayer, aView)
def SetDrill(self, aDrill)
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, 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 PlotText(self, aPos, aColor, aText, aAttributes, aFont, aData=None)
def ThickCircle(self, pos, diametre, width, tracemode, aData)
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 HyperlinkBox(self, aBox, aDestinationURL)
def PenTo(self, pos, plume)
def ClearHeaderLinesList(self)
def GetPlotterArcLowDef(self)
def PlotPoly(self, *args)
def StartPlot(self, aPageNumber)
def FlashRegularPolygon(self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData)
def FlashPadCustom(self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData)
def BezierCurve(self, *args)
def GetCurrentLineWidth(self)
def FlashPadRoundRect(self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
def PlotImage(self, aImage, aPos, aScaleFactor)
def ThickArc(self, *args)
def SetPageSettings(self, aPageSettings)
def SetDash(self, aLineWidth, aLineStyle)
def Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aPenWidth, aItalic, aBold, aMultilineAllowed, aFont, aData=None)
def AddLineToHeader(self, aExtraString)
def SetSvgCoordinatesFormat(self, aPrecision)
def HyperlinkMenu(self, aBox, aDestURLs)
def Arc(self, aCenter, aStart, aEnd, aFill, aWidth, aMaxError)
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 FootprintExists(self, aLibraryPath, aFootprintName, aProperties=None)
def FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID=False, aProperties=None)
def footprintPyEnumerate(self, aLibraryPath, aExitOnError)
def GetFileExtension(self)
def GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties=None)
def IsFootprintLibWritable(self, aLibraryPath)
def FootprintDelete(self, aLibraryPath, aFootprintName, aProperties=None)
def PrefetchLib(self, aLibraryPath, aProperties=None)
def __init__(self, *args, **kwargs)
def GetImportedCachedLibraryFootprints(self)
def FootprintLibOptions(self, aListToAppendTo)
def SetQueryUserCallback(self, aCallback)
def FootprintLibDelete(self, aLibraryPath, aProperties=None)
def FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties=None)
def FootprintLibCreate(self, aLibraryPath, aProperties=None)
def GetLibraryTimestamp(self, aLibraryPath)
def FootprintSave(self, aLibraryPath, aFootprint, aProperties=None)
def Load(self, aFileName, aAppendToMe, aProperties=None, aProject=None, aProgressReporter=None)
def Save(self, aFileName, aBoard, aProperties=None)
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 __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 ConvertToSimplePolygon(self, aOut)
def BBox(self, aClearance=0)
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 Distance(self, aP, aOutlineOnly=False)
def CheckClearance(self, aP, aDist)
def Find(self, aP, aThreshold=0)
def Simplify(self, aRemoveColinear=True)
def Slice(self, aStartIndex, aEndIndex=-1)
def Format(self, aCplusPlus=True)
def RemoveShape(self, aPointIndex)
def SetPoint(self, aIndex, aPos)
def SelfIntersecting(self)
def ArcIndex(self, aSegment)
def CSegment(self, aIndex)
def SetClosed(self, aClosed)
def IsArcStart(self, aIndex)
def NearestSegment(self, aP)
def ReservePoints(self, aSize)
def GenerateBBoxCache(self)
def PointAlong(self, aPathLength)
def SetWidth(self, aWidth)
def NextShape(self, aPointIndex, aForwards=True)
def IsPtOnArc(self, aPtIndex)
def Intersect(self, *args)
def NearestPoint(self, *args)
def Area(self, aAbsolute=True)
def CompareGeometry(self, aOther)
def PrevShape(self, aPointIndex)
def BBox(self, aClearance=0)
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 FilletPolygon(self, aRadius, aErrorMax, aIndex)
def IsSelfIntersecting(self)
def CollideVertex(self, aPoint, aClosestVertex=None, aClearance=0)
def Fracture(self, aFastMode)
def RemoveAllContours(self)
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 InflateWithLinkedHoles(self, aFactor, aCircleSegmentsCount, aFastMode)
def ChamferPolygon(self, aDistance, aIndex)
def NewHole(self, aOutline=-1)
def CacheTriangulation(self, aPartition=True, aSimplify=False)
def Unfracture(self, aFastMode)
def RemoveContour(self, aContourIdx, aPolygonIdx=-1)
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 BooleanSubtract(self, *args)
def CPolygon(self, aIndex)
def Fillet(self, aRadius, aErrorMax)
def UnitSet(self, aPolygonIndex)
def CIterateSegmentsWithHoles(self, *args)
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 PointOnEdge(self, aP)
def IterateWithHoles(self, *args)
def Chamfer(self, aDistance)
def Subset(self, aFirstPolygon, aLastPolygon)
def Format(self, aCplusPlus=True)
def TriangulatedPolyCount(self)
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 BBox(self, aClearance=0)
def __init__(self, *args, **kwargs)
def Format(self, aCplusPlus=True)
def __init__(self, *args)
def __contains__(self, x)
def __init__(self, *args)
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 GetOriginTransforms(self)
def MessageTextFromValue(self, *args)
def StringFromValue(self, *args)
def AngleValueFromString(self, aTextValue)
def __init__(self, aIuScale, aUnits)
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 __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 IsSame(self, aZoneToCompare)
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 __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 LSET_SideSpecificMask()
def Cast_to_PCB_DIM_RADIAL(arg1)
def Cast_to_SHAPE_ARC(_self)
def IO_MGR_EnumFromStr(aFileType)
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 PCB_BITMAP_ClassOf(aItem)
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 IO_MGR_PluginRelease(aPlugin)
def EDA_TEXT_IsGotoPageHref(aHref, aDestination=None)
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 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 Cast_to_FP_SHAPE(arg1)
def IO_MGR_Load(aFileType, aFileName, aAppendToMe=None, aProperties=None, aProject=None, aProgressReporter=None)
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 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_GROUP_ClassOf(aItem)
def FP_TEXTBOX_ClassOf(aItem)
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 Cast_to_FP_TEXTBOX(arg1)
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 IsNetnameLayer(aLayer)
def COLOR4D_FindNearestLegacyColor(aR, aG, aB)
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 Cast_to_FP_ZONE(arg1)
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 IO_MGR_PluginFind(aFileType)
def DoubleValueFromString(*args)
def IsFrontLayer(aLayerId)
def Cast_to_FOOTPRINT(arg1)
def StringFromValue(*args)
def EDA_TEXT_ValidateHyperlink(aURL)
def Cast_to_FP_TEXT(arg1)
def IO_MGR_GuessPluginTypeFromLibPath(aLibPath)
def Cast_to_PCB_BITMAP(arg1)
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 IsUserLayer(aLayerId)
def GetMajorMinorPatchVersion()
def LSET_ExternalCuMask()
def IsPageLayoutEditorType(aType)
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 LSET_FrontBoardTechMask()
def FP_CACHE_GetTimestamp(aLibPath)
def GetNetnameLayer(aLayer)
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 PCB_PLOT_PARAMS_GetGerberDefaultPrecision()
def WarnUserIfOperatingSystemUnsupported()
def SafeReadFile(aFilePath, aReadType)
def DELETED_BOARD_ITEM_GetInstance()
def GetFootprintLibraries()
def FP_SHAPE_ClassOf(aItem)
def IO_MGR_ShowType(aFileType)
def FP_TEXT_ClassOf(aItem)
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 IO_MGR_GetFileExtension(aFileType)
def GetDefaultPlotExtension(aFormat)
def GetPlatformGetBitnessName()
def PLACE_FILE_EXPORTER_GetFrontSideName()
def ToUserUnit(aIuScale, aUnit, aValue)
def Cast_to_PCB_TEXTBOX(arg1)
def ImportSpecctraSES(aFullFilename)
def Cast_to_PCB_DIM_ALIGNED(arg1)
def Cast_to_BOARD_ITEM(base)
def IO_MGR_Save(aFileType, aFileName, aBoard, aProperties=None)
def FootprintSave(libname, module)
def SETTINGS_MANAGER_IsSettingsPathValid(aPath)
def FromUserUnit(aIuScale, aUnit, aValue)
def PCB_DIM_RADIAL_ClassOf(aItem)