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
74 def value(self) -> "PyObject *":
75 r"""value(SwigPyIterator self) -> PyObject *"""
76 return _pcbnew.SwigPyIterator_value(self)
78 def incr(self, n:
"size_t"=1) ->
"swig::SwigPyIterator *":
79 r"""incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
80 return _pcbnew.SwigPyIterator_incr(self, n)
82 def decr(self, n:
"size_t"=1) ->
"swig::SwigPyIterator *":
83 r"""decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator"""
84 return _pcbnew.SwigPyIterator_decr(self, n)
86 def distance(self, x:
"SwigPyIterator") ->
"ptrdiff_t":
87 r"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
88 return _pcbnew.SwigPyIterator_distance(self, x)
90 def equal(self, x:
"SwigPyIterator") ->
"bool":
91 r"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
92 return _pcbnew.SwigPyIterator_equal(self, x)
94 def copy(self) -> "swig::SwigPyIterator *
":
95 r"""copy(SwigPyIterator self) -> SwigPyIterator"""
96 return _pcbnew.SwigPyIterator_copy(self)
98 def next(self) -> "PyObject *":
99 r"""next(SwigPyIterator self) -> PyObject *"""
100 return _pcbnew.SwigPyIterator_next(self)
102 def __next__(self) -> "PyObject *":
103 r"""__next__(SwigPyIterator self) -> PyObject *"""
104 return _pcbnew.SwigPyIterator___next__(self)
106 def previous(self) -> "PyObject *":
107 r"""previous(SwigPyIterator self) -> PyObject *"""
108 return _pcbnew.SwigPyIterator_previous(self)
110 def advance(self, n:
"ptrdiff_t") ->
"swig::SwigPyIterator *":
111 r"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
112 return _pcbnew.SwigPyIterator_advance(self, n)
114 def __eq__(self, x:
"SwigPyIterator") ->
"bool":
115 r"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
116 return _pcbnew.SwigPyIterator___eq__(self, x)
118 def __ne__(self, x:
"SwigPyIterator") ->
"bool":
119 r"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
120 return _pcbnew.SwigPyIterator___ne__(self, x)
122 def __iadd__(self, n:
"ptrdiff_t") ->
"swig::SwigPyIterator &":
123 r"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
124 return _pcbnew.SwigPyIterator___iadd__(self, n)
126 def __isub__(self, n:
"ptrdiff_t") ->
"swig::SwigPyIterator &":
127 r"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
128 return _pcbnew.SwigPyIterator___isub__(self, n)
130 def __add__(self, n:
"ptrdiff_t") ->
"swig::SwigPyIterator *":
131 r"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
132 return _pcbnew.SwigPyIterator___add__(self, n)
134 def __sub__(self, *args) -> "ptrdiff_t":
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
152 def length(self) -> "std::basic_string< char >::size_type
":
153 r"""length(string self) -> std::basic_string< char >::size_type"""
154 return _pcbnew.string_length(self)
156 def max_size(self) -> "std::basic_string< char >::size_type
":
157 r"""max_size(string self) -> std::basic_string< char >::size_type"""
158 return _pcbnew.string_max_size(self)
160 def capacity(self) -> "std::basic_string< char >::size_type
":
161 r"""capacity(string self) -> std::basic_string< char >::size_type"""
162 return _pcbnew.string_capacity(self)
164 def reserve(self, __res_arg:
"std::basic_string< char >::size_type"=0) ->
"void":
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:
"char *", __n:
"std::basic_string< char >::size_type", __pos:
"std::basic_string< char >::size_type"=0) ->
"std::basic_string< char >::size_type":
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)
176 def find(self, *args) -> "std::basic_string< char >::size_type
":
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)
184 def rfind(self, *args) -> "std::basic_string< char >::size_type
":
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)
200 def find_last_of(self, *args) -> "std::basic_string< char >::size_type
":
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)
224 def substr(self, *args) -> "std::basic_string< char >
":
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)
232 def size(self) -> "std::basic_string< char >::size_type
":
233 r"""size(string self) -> std::basic_string< char >::size_type"""
234 return _pcbnew.string_size(self)
236 def swap(self, v:
"string") ->
"void":
237 r"""swap(string self, string v)"""
238 return _pcbnew.string_swap(self, v)
240 def begin(self) -> "std::basic_string< char >::iterator
":
241 r"""begin(string self) -> std::basic_string< char >::iterator"""
242 return _pcbnew.string_begin(self)
244 def end(self) -> "std::basic_string< char >::iterator
":
245 r"""end(string self) -> std::basic_string< char >::iterator"""
246 return _pcbnew.string_end(self)
248 def rbegin(self) -> "std::basic_string< char >::reverse_iterator
":
249 r"""rbegin(string self) -> std::basic_string< char >::reverse_iterator"""
250 return _pcbnew.string_rbegin(self)
252 def rend(self) -> "std::basic_string< char >::reverse_iterator
":
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)
260 def erase(self, *args) -> "std::basic_string< char >::iterator
":
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)
307 def __len__(self) -> "std::basic_string< char >::size_type
":
308 r"""__len__(string self) -> std::basic_string< char >::size_type"""
309 return _pcbnew.string___len__(self)
311 def __getslice__(self, i:
"std::basic_string< char >::difference_type", j:
"std::basic_string< char >::difference_type") ->
"std::basic_string< char,std::char_traits< char >,std::allocator< char > > *":
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)
322 def __delslice__(self, i:
"std::basic_string< char >::difference_type", j:
"std::basic_string< char >::difference_type") ->
"void":
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)
333 def __getitem__(self, *args) -> "std::basic_string< char >::value_type
":
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)
360 def replace(self, *args) -> "std::basic_string< char > &
":
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)
374 def __iadd__(self, v:
"string") ->
"std::basic_string< char > &":
375 r"""__iadd__(string self, string v) -> string"""
376 return _pcbnew.string___iadd__(self, v)
378 def __add__(self, v:
"string") ->
"std::basic_string< char,std::char_traits< char >,std::allocator< char > > *":
379 r"""__add__(string self, string v) -> string"""
380 return _pcbnew.string___add__(self, v)
382 def __radd__(self, v:
"string") ->
"std::basic_string< char,std::char_traits< char >,std::allocator< char > > *":
383 r"""__radd__(string self, string v) -> string"""
384 return _pcbnew.string___radd__(self, v)
386 def __str__(self) -> "std::basic_string< char,std::char_traits< char >,std::allocator< char > >
":
387 r"""__str__(string self) -> string"""
388 return _pcbnew.string___str__(self)
390 def __rlshift__(self, out:
"std::basic_ostream< char,std::char_traits< char > > &") ->
"std::basic_ostream< char,std::char_traits< char > > &":
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))
439 def What(self) -> "wxString const":
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:
"wxString", aThrowersFile:
"char const *", aThrowersFunction:
"char const *", aThrowersLineNumber:
"int") ->
"void":
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)
468 def Where(self) -> "wxString const":
469 r"""Where(IO_ERROR self) -> wxString"""
470 return _pcbnew.IO_ERROR_Where(self)
472 def What(self) -> "wxString const":
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)
508 def SetX(self, xx:
"int") ->
"void":
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)
516 def SetY(self, yy:
"int") ->
"void":
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""")
548 def Get(self) -> "PyObject *":
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))
588 def Get(self) -> "PyObject *":
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
645 def __add__(self, pt:
"wxPoint") ->
"wxPoint":
646 r"""__add__(wxPoint self, wxPoint pt) -> wxPoint"""
647 return _pcbnew.wxPoint___add__(self, pt)
649 def __sub__(self, pt:
"wxPoint") ->
"wxPoint":
650 r"""__sub__(wxPoint self, wxPoint pt) -> wxPoint"""
651 return _pcbnew.wxPoint___sub__(self, pt)
653 def Set(self, x:
"long", y:
"long") ->
"void":
654 r"""Set(wxPoint self, long x, long y)"""
655 return _pcbnew.wxPoint_Set(self, x, y)
657 def Get(self) -> "PyObject *":
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)
722 def __len__(self) -> "std::vector< wxPoint >::size_type
":
723 r"""__len__(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
724 return _pcbnew.wxPoint_Vector___len__(self)
726 def __getslice__(self, i:
"std::vector< wxPoint >::difference_type", j:
"std::vector< wxPoint >::difference_type") ->
"std::vector< wxPoint,std::allocator< wxPoint > > *":
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)
737 def __delslice__(self, i:
"std::vector< wxPoint >::difference_type", j:
"std::vector< wxPoint >::difference_type") ->
"void":
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)
748 def __getitem__(self, *args) -> "std::vector< wxPoint >::value_type const &
":
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)
763 def pop(self) -> "std::vector< wxPoint >::value_type
":
764 r"""pop(wxPoint_Vector self) -> wxPoint"""
765 return _pcbnew.wxPoint_Vector_pop(self)
767 def append(self, x:
"wxPoint") ->
"void":
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)
775 def size(self) -> "std::vector< wxPoint >::size_type
":
776 r"""size(wxPoint_Vector self) -> std::vector< wxPoint >::size_type"""
777 return _pcbnew.wxPoint_Vector_size(self)
779 def swap(self, v:
"wxPoint_Vector") ->
"void":
780 r"""swap(wxPoint_Vector self, wxPoint_Vector v)"""
781 return _pcbnew.wxPoint_Vector_swap(self, v)
783 def begin(self) -> "std::vector< wxPoint >::iterator
":
784 r"""begin(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
785 return _pcbnew.wxPoint_Vector_begin(self)
787 def end(self) -> "std::vector< wxPoint >::iterator
":
788 r"""end(wxPoint_Vector self) -> std::vector< wxPoint >::iterator"""
789 return _pcbnew.wxPoint_Vector_end(self)
791 def rbegin(self) -> "std::vector< wxPoint >::reverse_iterator
":
792 r"""rbegin(wxPoint_Vector self) -> std::vector< wxPoint >::reverse_iterator"""
793 return _pcbnew.wxPoint_Vector_rbegin(self)
795 def rend(self) -> "std::vector< wxPoint >::reverse_iterator
":
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)
811 def erase(self, *args) -> "std::vector< wxPoint >::iterator
":
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)
831 def front(self) -> "std::vector< wxPoint >::value_type const &
":
832 r"""front(wxPoint_Vector self) -> wxPoint"""
833 return _pcbnew.wxPoint_Vector_front(self)
835 def back(self) -> "std::vector< wxPoint >::value_type const &
":
836 r"""back(wxPoint_Vector self) -> wxPoint"""
837 return _pcbnew.wxPoint_Vector_back(self)
839 def assign(self, n:
"std::vector< wxPoint >::size_type", x:
"wxPoint") ->
"void":
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)
857 def reserve(self, n:
"std::vector< wxPoint >::size_type") ->
"void":
858 r"""reserve(wxPoint_Vector self, std::vector< wxPoint >::size_type n)"""
859 return _pcbnew.wxPoint_Vector_reserve(self, n)
861 def capacity(self) -> "std::vector< wxPoint >::size_type
":
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)
869SKETCH = _pcbnew.SKETCH
871FILLED = _pcbnew.FILLED
874 r"""Proxy of C++ KIID class."""
876 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
877 __repr__ = _swig_repr
882 __init__(KIID self, int null) -> KIID
883 __init__(KIID self, wxString aString) -> KIID
884 __init__(KIID self, timestamp_t aTimestamp) -> KIID
886 _pcbnew.KIID_swiginit(self, _pcbnew.new_KIID(*args))
888 def Clone(self, aUUID:
"KIID") ->
"void":
889 r"""Clone(KIID self, KIID aUUID)"""
890 return _pcbnew.KIID_Clone(self, aUUID)
893 r"""Hash(KIID self) -> size_t"""
894 return _pcbnew.KIID_Hash(self)
897 r"""IsLegacyTimestamp(KIID self) -> bool"""
898 return _pcbnew.KIID_IsLegacyTimestamp(self)
901 r"""AsLegacyTimestamp(KIID self) -> timestamp_t"""
902 return _pcbnew.KIID_AsLegacyTimestamp(self)
905 r"""AsString(KIID self) -> wxString"""
906 return _pcbnew.KIID_AsString(self)
909 r"""AsLegacyTimestampString(KIID self) -> wxString"""
910 return _pcbnew.KIID_AsLegacyTimestampString(self)
914 r"""SniffTest(wxString aCandidate) -> bool"""
915 return _pcbnew.KIID_SniffTest(aCandidate)
919 r"""CreateNilUuids(bool aNil=True)"""
920 return _pcbnew.KIID_CreateNilUuids(aNil)
924 r"""SeedGenerator(unsigned int aSeed)"""
925 return _pcbnew.KIID_SeedGenerator(aSeed)
928 r"""ConvertTimestampToUuid(KIID self)"""
929 return _pcbnew.KIID_ConvertTimestampToUuid(self)
932 r"""Increment(KIID self)"""
933 return _pcbnew.KIID_Increment(self)
936 r"""__eq__(KIID self, KIID rhs) -> bool"""
937 return _pcbnew.KIID___eq__(self, rhs)
940 r"""__ne__(KIID self, KIID rhs) -> bool"""
941 return _pcbnew.KIID___ne__(self, rhs)
944 r"""__lt__(KIID self, KIID rhs) -> bool"""
945 return _pcbnew.KIID___lt__(self, rhs)
948 r"""__gt__(KIID self, KIID rhs) -> bool"""
949 return _pcbnew.KIID___gt__(self, rhs)
950 __swig_destroy__ = _pcbnew.delete_KIID
953_pcbnew.KIID_swigregister(KIID)
956 r"""KIID_SniffTest(wxString aCandidate) -> bool"""
957 return _pcbnew.KIID_SniffTest(aCandidate)
960 r"""KIID_CreateNilUuids(bool aNil=True)"""
961 return _pcbnew.KIID_CreateNilUuids(aNil)
964 r"""KIID_SeedGenerator(unsigned int aSeed)"""
965 return _pcbnew.KIID_SeedGenerator(aSeed)
969 r"""NilUuid() -> KIID"""
970 return _pcbnew.NilUuid()
972 r"""Proxy of C++ std::vector< KIID > class."""
974 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
975 __repr__ = _swig_repr
978 r"""iterator(KIID_VECT_LIST self) -> SwigPyIterator"""
979 return _pcbnew.KIID_VECT_LIST_iterator(self)
984 r"""__nonzero__(KIID_VECT_LIST self) -> bool"""
985 return _pcbnew.KIID_VECT_LIST___nonzero__(self)
988 r"""__bool__(KIID_VECT_LIST self) -> bool"""
989 return _pcbnew.KIID_VECT_LIST___bool__(self)
991 def __len__(self) -> "std::vector< KIID >::size_type
":
992 r"""__len__(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
993 return _pcbnew.KIID_VECT_LIST___len__(self)
995 def __getslice__(self, i:
"std::vector< KIID >::difference_type", j:
"std::vector< KIID >::difference_type") ->
"std::vector< KIID,std::allocator< KIID > > *":
996 r"""__getslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j) -> KIID_VECT_LIST"""
997 return _pcbnew.KIID_VECT_LIST___getslice__(self, i, j)
1001 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)
1002 __setslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j, KIID_VECT_LIST v)
1004 return _pcbnew.KIID_VECT_LIST___setslice__(self, *args)
1006 def __delslice__(self, i:
"std::vector< KIID >::difference_type", j:
"std::vector< KIID >::difference_type") ->
"void":
1007 r"""__delslice__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, std::vector< KIID >::difference_type j)"""
1008 return _pcbnew.KIID_VECT_LIST___delslice__(self, i, j)
1012 __delitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i)
1013 __delitem__(KIID_VECT_LIST self, PySliceObject * slice)
1015 return _pcbnew.KIID_VECT_LIST___delitem__(self, *args)
1017 def __getitem__(self, *args) -> "std::vector< KIID >::value_type const &
":
1019 __getitem__(KIID_VECT_LIST self, PySliceObject * slice) -> KIID_VECT_LIST
1020 __getitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i) -> KIID
1022 return _pcbnew.KIID_VECT_LIST___getitem__(self, *args)
1026 __setitem__(KIID_VECT_LIST self, PySliceObject * slice, KIID_VECT_LIST v)
1027 __setitem__(KIID_VECT_LIST self, PySliceObject * slice)
1028 __setitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i, KIID x)
1030 return _pcbnew.KIID_VECT_LIST___setitem__(self, *args)
1032 def pop(self) -> "std::vector< KIID >::value_type
":
1033 r"""pop(KIID_VECT_LIST self) -> KIID"""
1034 return _pcbnew.KIID_VECT_LIST_pop(self)
1037 r"""append(KIID_VECT_LIST self, KIID x)"""
1038 return _pcbnew.KIID_VECT_LIST_append(self, x)
1041 r"""empty(KIID_VECT_LIST self) -> bool"""
1042 return _pcbnew.KIID_VECT_LIST_empty(self)
1044 def size(self) -> "std::vector< KIID >::size_type
":
1045 r"""size(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1046 return _pcbnew.KIID_VECT_LIST_size(self)
1048 def swap(self, v:
"KIID_VECT_LIST") ->
"void":
1049 r"""swap(KIID_VECT_LIST self, KIID_VECT_LIST v)"""
1050 return _pcbnew.KIID_VECT_LIST_swap(self, v)
1052 def begin(self) -> "std::vector< KIID >::iterator
":
1053 r"""begin(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1054 return _pcbnew.KIID_VECT_LIST_begin(self)
1056 def end(self) -> "std::vector< KIID >::iterator
":
1057 r"""end(KIID_VECT_LIST self) -> std::vector< KIID >::iterator"""
1058 return _pcbnew.KIID_VECT_LIST_end(self)
1060 def rbegin(self) -> "std::vector< KIID >::reverse_iterator
":
1061 r"""rbegin(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1062 return _pcbnew.KIID_VECT_LIST_rbegin(self)
1064 def rend(self) -> "std::vector< KIID >::reverse_iterator
":
1065 r"""rend(KIID_VECT_LIST self) -> std::vector< KIID >::reverse_iterator"""
1066 return _pcbnew.KIID_VECT_LIST_rend(self)
1069 r"""clear(KIID_VECT_LIST self)"""
1070 return _pcbnew.KIID_VECT_LIST_clear(self)
1073 r"""get_allocator(KIID_VECT_LIST self) -> std::vector< KIID >::allocator_type"""
1074 return _pcbnew.KIID_VECT_LIST_get_allocator(self)
1077 r"""pop_back(KIID_VECT_LIST self)"""
1078 return _pcbnew.KIID_VECT_LIST_pop_back(self)
1080 def erase(self, *args) -> "std::vector< KIID >::iterator
":
1082 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator pos) -> std::vector< KIID >::iterator
1083 erase(KIID_VECT_LIST self, std::vector< KIID >::iterator first, std::vector< KIID >::iterator last) -> std::vector< KIID >::iterator
1085 return _pcbnew.KIID_VECT_LIST_erase(self, *args)
1089 __init__(KIID_VECT_LIST self) -> KIID_VECT_LIST
1090 __init__(KIID_VECT_LIST self, KIID_VECT_LIST other) -> KIID_VECT_LIST
1091 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size) -> KIID_VECT_LIST
1092 __init__(KIID_VECT_LIST self, std::vector< KIID >::size_type size, KIID value) -> KIID_VECT_LIST
1094 _pcbnew.KIID_VECT_LIST_swiginit(self, _pcbnew.new_KIID_VECT_LIST(*args))
1097 r"""push_back(KIID_VECT_LIST self, KIID x)"""
1098 return _pcbnew.KIID_VECT_LIST_push_back(self, x)
1100 def front(self) -> "std::vector< KIID >::value_type const &
":
1101 r"""front(KIID_VECT_LIST self) -> KIID"""
1102 return _pcbnew.KIID_VECT_LIST_front(self)
1104 def back(self) -> "std::vector< KIID >::value_type const &
":
1105 r"""back(KIID_VECT_LIST self) -> KIID"""
1106 return _pcbnew.KIID_VECT_LIST_back(self)
1108 def assign(self, n:
"std::vector< KIID >::size_type", x:
"KIID") ->
"void":
1109 r"""assign(KIID_VECT_LIST self, std::vector< KIID >::size_type n, KIID x)"""
1110 return _pcbnew.KIID_VECT_LIST_assign(self, n, x)
1114 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size)
1115 resize(KIID_VECT_LIST self, std::vector< KIID >::size_type new_size, KIID x)
1117 return _pcbnew.KIID_VECT_LIST_resize(self, *args)
1121 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, KIID x) -> std::vector< KIID >::iterator
1122 insert(KIID_VECT_LIST self, std::vector< KIID >::iterator pos, std::vector< KIID >::size_type n, KIID x)
1124 return _pcbnew.KIID_VECT_LIST_insert(self, *args)
1126 def reserve(self, n:
"std::vector< KIID >::size_type") ->
"void":
1127 r"""reserve(KIID_VECT_LIST self, std::vector< KIID >::size_type n)"""
1128 return _pcbnew.KIID_VECT_LIST_reserve(self, n)
1130 def capacity(self) -> "std::vector< KIID >::size_type
":
1131 r"""capacity(KIID_VECT_LIST self) -> std::vector< KIID >::size_type"""
1132 return _pcbnew.KIID_VECT_LIST_capacity(self)
1133 __swig_destroy__ = _pcbnew.delete_KIID_VECT_LIST
1136_pcbnew.KIID_VECT_LIST_swigregister(KIID_VECT_LIST)
1139 r"""Proxy of C++ KIID_PATH class."""
1141 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1142 __repr__ = _swig_repr
1146 __init__(KIID_PATH self) -> KIID_PATH
1147 __init__(KIID_PATH self, wxString aString) -> KIID_PATH
1149 _pcbnew.KIID_PATH_swiginit(self, _pcbnew.new_KIID_PATH(*args))
1152 r"""MakeRelativeTo(KIID_PATH self, KIID_PATH aPath) -> bool"""
1153 return _pcbnew.KIID_PATH_MakeRelativeTo(self, aPath)
1156 r"""AsString(KIID_PATH self) -> wxString"""
1157 return _pcbnew.KIID_PATH_AsString(self)
1159 def __eq__(self, rhs:
"KIID_PATH") ->
"bool":
1160 r"""__eq__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1161 return _pcbnew.KIID_PATH___eq__(self, rhs)
1163 def __lt__(self, rhs:
"KIID_PATH") ->
"bool":
1164 r"""__lt__(KIID_PATH self, KIID_PATH rhs) -> bool"""
1165 return _pcbnew.KIID_PATH___lt__(self, rhs)
1166 __swig_destroy__ = _pcbnew.delete_KIID_PATH
1169_pcbnew.KIID_PATH_swigregister(KIID_PATH)
1171NOT_USED = _pcbnew.NOT_USED
1175TYPE_NOT_INIT = _pcbnew.TYPE_NOT_INIT
1177PCB_T = _pcbnew.PCB_T
1179SCREEN_T = _pcbnew.SCREEN_T
1181PCB_FOOTPRINT_T = _pcbnew.PCB_FOOTPRINT_T
1183PCB_PAD_T = _pcbnew.PCB_PAD_T
1185PCB_SHAPE_T = _pcbnew.PCB_SHAPE_T
1187PCB_TEXT_T = _pcbnew.PCB_TEXT_T
1189PCB_FP_TEXT_T = _pcbnew.PCB_FP_TEXT_T
1191PCB_FP_SHAPE_T = _pcbnew.PCB_FP_SHAPE_T
1193PCB_FP_ZONE_T = _pcbnew.PCB_FP_ZONE_T
1195PCB_TRACE_T = _pcbnew.PCB_TRACE_T
1197PCB_VIA_T = _pcbnew.PCB_VIA_T
1199PCB_ARC_T = _pcbnew.PCB_ARC_T
1201PCB_MARKER_T = _pcbnew.PCB_MARKER_T
1203PCB_DIMENSION_T = _pcbnew.PCB_DIMENSION_T
1205PCB_DIM_ALIGNED_T = _pcbnew.PCB_DIM_ALIGNED_T
1207PCB_DIM_LEADER_T = _pcbnew.PCB_DIM_LEADER_T
1209PCB_DIM_CENTER_T = _pcbnew.PCB_DIM_CENTER_T
1211PCB_DIM_ORTHOGONAL_T = _pcbnew.PCB_DIM_ORTHOGONAL_T
1213PCB_TARGET_T = _pcbnew.PCB_TARGET_T
1215PCB_ZONE_T = _pcbnew.PCB_ZONE_T
1217PCB_ITEM_LIST_T = _pcbnew.PCB_ITEM_LIST_T
1219PCB_NETINFO_T = _pcbnew.PCB_NETINFO_T
1221PCB_GROUP_T = _pcbnew.PCB_GROUP_T
1223PCB_LOCATE_STDVIA_T = _pcbnew.PCB_LOCATE_STDVIA_T
1225PCB_LOCATE_UVIA_T = _pcbnew.PCB_LOCATE_UVIA_T
1227PCB_LOCATE_BBVIA_T = _pcbnew.PCB_LOCATE_BBVIA_T
1229PCB_LOCATE_TEXT_T = _pcbnew.PCB_LOCATE_TEXT_T
1231PCB_LOCATE_GRAPHIC_T = _pcbnew.PCB_LOCATE_GRAPHIC_T
1233PCB_LOCATE_HOLE_T = _pcbnew.PCB_LOCATE_HOLE_T
1235PCB_LOCATE_PTH_T = _pcbnew.PCB_LOCATE_PTH_T
1237PCB_LOCATE_NPTH_T = _pcbnew.PCB_LOCATE_NPTH_T
1239PCB_LOCATE_BOARD_EDGE_T = _pcbnew.PCB_LOCATE_BOARD_EDGE_T
1241SCH_MARKER_T = _pcbnew.SCH_MARKER_T
1243SCH_JUNCTION_T = _pcbnew.SCH_JUNCTION_T
1245SCH_NO_CONNECT_T = _pcbnew.SCH_NO_CONNECT_T
1247SCH_BUS_WIRE_ENTRY_T = _pcbnew.SCH_BUS_WIRE_ENTRY_T
1249SCH_BUS_BUS_ENTRY_T = _pcbnew.SCH_BUS_BUS_ENTRY_T
1251SCH_LINE_T = _pcbnew.SCH_LINE_T
1253SCH_BITMAP_T = _pcbnew.SCH_BITMAP_T
1255SCH_TEXT_T = _pcbnew.SCH_TEXT_T
1257SCH_LABEL_T = _pcbnew.SCH_LABEL_T
1259SCH_GLOBAL_LABEL_T = _pcbnew.SCH_GLOBAL_LABEL_T
1261SCH_HIER_LABEL_T = _pcbnew.SCH_HIER_LABEL_T
1263SCH_FIELD_T = _pcbnew.SCH_FIELD_T
1265SCH_SYMBOL_T = _pcbnew.SCH_SYMBOL_T
1267SCH_SHEET_PIN_T = _pcbnew.SCH_SHEET_PIN_T
1269SCH_SHEET_T = _pcbnew.SCH_SHEET_T
1271SCH_PIN_T = _pcbnew.SCH_PIN_T
1273SCH_FIELD_LOCATE_REFERENCE_T = _pcbnew.SCH_FIELD_LOCATE_REFERENCE_T
1275SCH_FIELD_LOCATE_VALUE_T = _pcbnew.SCH_FIELD_LOCATE_VALUE_T
1277SCH_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.SCH_FIELD_LOCATE_FOOTPRINT_T
1279SCH_FIELD_LOCATE_DATASHEET_T = _pcbnew.SCH_FIELD_LOCATE_DATASHEET_T
1281SCH_LINE_LOCATE_WIRE_T = _pcbnew.SCH_LINE_LOCATE_WIRE_T
1283SCH_LINE_LOCATE_BUS_T = _pcbnew.SCH_LINE_LOCATE_BUS_T
1285SCH_LINE_LOCATE_GRAPHIC_LINE_T = _pcbnew.SCH_LINE_LOCATE_GRAPHIC_LINE_T
1287SCH_LABEL_LOCATE_WIRE_T = _pcbnew.SCH_LABEL_LOCATE_WIRE_T
1289SCH_LABEL_LOCATE_BUS_T = _pcbnew.SCH_LABEL_LOCATE_BUS_T
1291SCH_SYMBOL_LOCATE_POWER_T = _pcbnew.SCH_SYMBOL_LOCATE_POWER_T
1293SCH_LOCATE_ANY_T = _pcbnew.SCH_LOCATE_ANY_T
1295SCH_SCREEN_T = _pcbnew.SCH_SCREEN_T
1297SCHEMATIC_T = _pcbnew.SCHEMATIC_T
1299LIB_SYMBOL_T = _pcbnew.LIB_SYMBOL_T
1301LIB_ALIAS_T = _pcbnew.LIB_ALIAS_T
1303LIB_SHAPE_T = _pcbnew.LIB_SHAPE_T
1305LIB_TEXT_T = _pcbnew.LIB_TEXT_T
1307LIB_PIN_T = _pcbnew.LIB_PIN_T
1309LIB_FIELD_T = _pcbnew.LIB_FIELD_T
1311GERBER_LAYOUT_T = _pcbnew.GERBER_LAYOUT_T
1313GERBER_DRAW_ITEM_T = _pcbnew.GERBER_DRAW_ITEM_T
1315GERBER_IMAGE_T = _pcbnew.GERBER_IMAGE_T
1317WSG_LINE_T = _pcbnew.WSG_LINE_T
1319WSG_RECT_T = _pcbnew.WSG_RECT_T
1321WSG_POLY_T = _pcbnew.WSG_POLY_T
1323WSG_TEXT_T = _pcbnew.WSG_TEXT_T
1325WSG_BITMAP_T = _pcbnew.WSG_BITMAP_T
1327WSG_PAGE_T = _pcbnew.WSG_PAGE_T
1329WS_PROXY_UNDO_ITEM_T = _pcbnew.WS_PROXY_UNDO_ITEM_T
1331WS_PROXY_UNDO_ITEM_PLUS_T = _pcbnew.WS_PROXY_UNDO_ITEM_PLUS_T
1333SYMBOL_LIB_TABLE_T = _pcbnew.SYMBOL_LIB_TABLE_T
1335FP_LIB_TABLE_T = _pcbnew.FP_LIB_TABLE_T
1337SYMBOL_LIBS_T = _pcbnew.SYMBOL_LIBS_T
1339SEARCH_STACK_T = _pcbnew.SEARCH_STACK_T
1341S3D_CACHE_T = _pcbnew.S3D_CACHE_T
1343MAX_STRUCT_TYPE_ID = _pcbnew.MAX_STRUCT_TYPE_ID
1347 r"""BaseType(KICAD_T const aType) -> KICAD_T"""
1348 return _pcbnew.BaseType(aType)
1351 r"""IsNullType(KICAD_T const aType) -> bool"""
1352 return _pcbnew.IsNullType(aType)
1355 r"""IsInstantiableType(KICAD_T const aType) -> bool"""
1356 return _pcbnew.IsInstantiableType(aType)
1359 r"""IsEeschemaType(KICAD_T const aType) -> bool"""
1360 return _pcbnew.IsEeschemaType(aType)
1363 r"""IsPcbnewType(KICAD_T const aType) -> bool"""
1364 return _pcbnew.IsPcbnewType(aType)
1367 r"""IsGerbviewType(KICAD_T const aType) -> bool"""
1368 return _pcbnew.IsGerbviewType(aType)
1371 r"""IsPageLayoutEditorType(KICAD_T const aType) -> bool"""
1372 return _pcbnew.IsPageLayoutEditorType(aType)
1375 r"""IsMiscType(KICAD_T const aType) -> bool"""
1376 return _pcbnew.IsMiscType(aType)
1379 r"""IsTypeCorrect(KICAD_T aType) -> bool"""
1380 return _pcbnew.IsTypeCorrect(aType)
1383 r"""IsTypeAvailable(KICAD_T aType) -> bool"""
1384 return _pcbnew.IsTypeAvailable(aType)
1385SEARCH_RESULT_QUIT = _pcbnew.SEARCH_RESULT_QUIT
1387SEARCH_RESULT_CONTINUE = _pcbnew.SEARCH_RESULT_CONTINUE
1389FR_CURRENT_SHEET_ONLY = _pcbnew.FR_CURRENT_SHEET_ONLY
1391FR_SEARCH_ALL_FIELDS = _pcbnew.FR_SEARCH_ALL_FIELDS
1393FR_SEARCH_ALL_PINS = _pcbnew.FR_SEARCH_ALL_PINS
1395FR_MATCH_WILDCARD = _pcbnew.FR_MATCH_WILDCARD
1397FR_SEARCH_WRAP = _pcbnew.FR_SEARCH_WRAP
1399FR_SEARCH_REPLACE = _pcbnew.FR_SEARCH_REPLACE
1401FR_REPLACE_ITEM_FOUND = _pcbnew.FR_REPLACE_ITEM_FOUND
1403FR_REPLACE_REFERENCES = _pcbnew.FR_REPLACE_REFERENCES
1406 r"""Proxy of C++ EDA_ITEM class."""
1408 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1411 raise AttributeError(
"No constructor defined - class is abstract")
1412 __repr__ = _swig_repr
1413 __swig_destroy__ = _pcbnew.delete_EDA_ITEM
1416 r"""Type(EDA_ITEM self) -> KICAD_T"""
1417 return _pcbnew.EDA_ITEM_Type(self)
1420 r"""GetParent(EDA_ITEM self) -> EDA_ITEM"""
1421 return _pcbnew.EDA_ITEM_GetParent(self)
1424 r"""SetParent(EDA_ITEM self, EDA_ITEM aParent)"""
1425 return _pcbnew.EDA_ITEM_SetParent(self, aParent)
1428 r"""IsModified(EDA_ITEM self) -> bool"""
1429 return _pcbnew.EDA_ITEM_IsModified(self)
1432 r"""IsNew(EDA_ITEM self) -> bool"""
1433 return _pcbnew.EDA_ITEM_IsNew(self)
1436 r"""IsMoving(EDA_ITEM self) -> bool"""
1437 return _pcbnew.EDA_ITEM_IsMoving(self)
1440 r"""IsDragging(EDA_ITEM self) -> bool"""
1441 return _pcbnew.EDA_ITEM_IsDragging(self)
1444 r"""IsWireImage(EDA_ITEM self) -> bool"""
1445 return _pcbnew.EDA_ITEM_IsWireImage(self)
1448 r"""IsSelected(EDA_ITEM self) -> bool"""
1449 return _pcbnew.EDA_ITEM_IsSelected(self)
1452 r"""IsEntered(EDA_ITEM self) -> bool"""
1453 return _pcbnew.EDA_ITEM_IsEntered(self)
1456 r"""IsResized(EDA_ITEM self) -> bool"""
1457 return _pcbnew.EDA_ITEM_IsResized(self)
1460 r"""IsBrightened(EDA_ITEM self) -> bool"""
1461 return _pcbnew.EDA_ITEM_IsBrightened(self)
1464 r"""SetWireImage(EDA_ITEM self)"""
1465 return _pcbnew.EDA_ITEM_SetWireImage(self)
1468 r"""SetSelected(EDA_ITEM self)"""
1469 return _pcbnew.EDA_ITEM_SetSelected(self)
1472 r"""SetBrightened(EDA_ITEM self)"""
1473 return _pcbnew.EDA_ITEM_SetBrightened(self)
1476 r"""ClearSelected(EDA_ITEM self)"""
1477 return _pcbnew.EDA_ITEM_ClearSelected(self)
1480 r"""ClearBrightened(EDA_ITEM self)"""
1481 return _pcbnew.EDA_ITEM_ClearBrightened(self)
1484 r"""SetModified(EDA_ITEM self)"""
1485 return _pcbnew.EDA_ITEM_SetModified(self)
1488 r"""GetState(EDA_ITEM self, EDA_ITEM_FLAGS type) -> int"""
1489 return _pcbnew.EDA_ITEM_GetState(self, type)
1491 def SetState(self, type:
"EDA_ITEM_FLAGS", state:
"bool") ->
"void":
1492 r"""SetState(EDA_ITEM self, EDA_ITEM_FLAGS type, bool state)"""
1493 return _pcbnew.EDA_ITEM_SetState(self, type, state)
1496 r"""GetStatus(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1497 return _pcbnew.EDA_ITEM_GetStatus(self)
1500 r"""SetStatus(EDA_ITEM self, EDA_ITEM_FLAGS aStatus)"""
1501 return _pcbnew.EDA_ITEM_SetStatus(self, aStatus)
1504 r"""SetFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1505 return _pcbnew.EDA_ITEM_SetFlags(self, aMask)
1508 r"""ClearFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask=EDA_ITEM_ALL_FLAGS)"""
1509 return _pcbnew.EDA_ITEM_ClearFlags(self, *args)
1512 r"""GetFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1513 return _pcbnew.EDA_ITEM_GetFlags(self)
1515 def HasFlag(self, aFlag:
"EDA_ITEM_FLAGS") ->
"bool":
1516 r"""HasFlag(EDA_ITEM self, EDA_ITEM_FLAGS aFlag) -> bool"""
1517 return _pcbnew.EDA_ITEM_HasFlag(self, aFlag)
1520 r"""GetEditFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1521 return _pcbnew.EDA_ITEM_GetEditFlags(self)
1524 r"""ClearTempFlags(EDA_ITEM self)"""
1525 return _pcbnew.EDA_ITEM_ClearTempFlags(self)
1528 r"""ClearEditFlags(EDA_ITEM self)"""
1529 return _pcbnew.EDA_ITEM_ClearEditFlags(self)
1531 def IsType(self, aScanTypes:
"KICAD_T const []") ->
"bool":
1532 r"""IsType(EDA_ITEM self, KICAD_T const [] aScanTypes) -> bool"""
1533 return _pcbnew.EDA_ITEM_IsType(self, aScanTypes)
1536 r"""SetForceVisible(EDA_ITEM self, bool aEnable)"""
1537 return _pcbnew.EDA_ITEM_SetForceVisible(self, aEnable)
1540 r"""IsForceVisible(EDA_ITEM self) -> bool"""
1541 return _pcbnew.EDA_ITEM_IsForceVisible(self)
1543 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
1544 r"""GetMsgPanelInfo(EDA_ITEM self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
1545 return _pcbnew.EDA_ITEM_GetMsgPanelInfo(self, aFrame, aList)
1549 HitTest(EDA_ITEM self, wxPoint aPosition, int aAccuracy=0) -> bool
1550 HitTest(EDA_ITEM self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
1552 return _pcbnew.EDA_ITEM_HitTest(self, *args)
1555 r"""GetBoundingBox(EDA_ITEM self) -> EDA_RECT"""
1556 return _pcbnew.EDA_ITEM_GetBoundingBox(self)
1559 r"""GetPosition(EDA_ITEM self) -> wxPoint"""
1560 return _pcbnew.EDA_ITEM_GetPosition(self)
1563 r"""SetPosition(EDA_ITEM self, wxPoint aPos)"""
1564 return _pcbnew.EDA_ITEM_SetPosition(self, aPos)
1567 r"""GetFocusPosition(EDA_ITEM self) -> wxPoint"""
1568 return _pcbnew.EDA_ITEM_GetFocusPosition(self)
1571 r"""Clone(EDA_ITEM self) -> EDA_ITEM"""
1572 return _pcbnew.EDA_ITEM_Clone(self)
1574 def Visit(self, inspector:
"INSPECTOR", testData:
"void *", scanTypes:
"KICAD_T const []") ->
"SEARCH_RESULT":
1575 r"""Visit(EDA_ITEM self, INSPECTOR inspector, void * testData, KICAD_T const [] scanTypes) -> SEARCH_RESULT"""
1576 return _pcbnew.EDA_ITEM_Visit(self, inspector, testData, scanTypes)
1579 r"""GetClass(EDA_ITEM self) -> wxString"""
1580 return _pcbnew.EDA_ITEM_GetClass(self)
1583 r"""GetSelectMenuText(EDA_ITEM self, EDA_UNITS aUnits) -> wxString"""
1584 return _pcbnew.EDA_ITEM_GetSelectMenuText(self, aUnits)
1587 r"""GetMenuImage(EDA_ITEM self) -> BITMAPS"""
1588 return _pcbnew.EDA_ITEM_GetMenuImage(self)
1590 def Matches(self, aSearchData:
"wxFindReplaceData const &", aAuxData:
"void *") ->
"bool":
1591 r"""Matches(EDA_ITEM self, wxFindReplaceData const & aSearchData, void * aAuxData) -> bool"""
1592 return _pcbnew.EDA_ITEM_Matches(self, aSearchData, aAuxData)
1596 Replace(EDA_ITEM self, wxFindReplaceData const & aSearchData, wxString aText) -> bool
1597 Replace(EDA_ITEM self, wxFindReplaceData const & aSearchData, void * aAuxData=None) -> bool
1599 return _pcbnew.EDA_ITEM_Replace(self, *args)
1602 r"""IsReplaceable(EDA_ITEM self) -> bool"""
1603 return _pcbnew.EDA_ITEM_IsReplaceable(self)
1605 def __lt__(self, aItem:
"EDA_ITEM") ->
"bool":
1606 r"""__lt__(EDA_ITEM self, EDA_ITEM aItem) -> bool"""
1607 return _pcbnew.EDA_ITEM___lt__(self, aItem)
1610 def Sort(aLeft:
"EDA_ITEM", aRight:
"EDA_ITEM") ->
"bool":
1611 r"""Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1612 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1615 r"""ViewBBox(EDA_ITEM self) -> BOX2I const"""
1616 return _pcbnew.EDA_ITEM_ViewBBox(self)
1619 r"""ViewGetLayers(EDA_ITEM self, int [] aLayers, int & aCount)"""
1620 return _pcbnew.EDA_ITEM_ViewGetLayers(self, aLayers, aCount)
1621 m_Uuid = property(_pcbnew.EDA_ITEM_m_Uuid_get, doc=
r"""m_Uuid : q(const).KIID""")
1624_pcbnew.EDA_ITEM_swigregister(EDA_ITEM)
1627 r"""EDA_ITEM_Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1628 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1632 r"""new_clone(EDA_ITEM aItem) -> EDA_ITEM"""
1633 return _pcbnew.new_clone(aItem)
1635 r"""Proxy of C++ EDA_RECT class."""
1637 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1638 __repr__ = _swig_repr
1642 __init__(EDA_RECT self) -> EDA_RECT
1643 __init__(EDA_RECT self, wxPoint aPos, wxSize aSize) -> EDA_RECT
1645 _pcbnew.EDA_RECT_swiginit(self, _pcbnew.new_EDA_RECT(*args))
1646 __swig_destroy__ = _pcbnew.delete_EDA_RECT
1649 r"""Centre(EDA_RECT self) -> wxPoint"""
1650 return _pcbnew.EDA_RECT_Centre(self)
1652 def Move(self, aMoveVector:
"wxPoint") ->
"void":
1653 r"""Move(EDA_RECT self, wxPoint aMoveVector)"""
1654 return _pcbnew.EDA_RECT_Move(self, aMoveVector)
1657 r"""Normalize(EDA_RECT self)"""
1658 return _pcbnew.EDA_RECT_Normalize(self)
1662 Contains(EDA_RECT self, wxPoint aPoint) -> bool
1663 Contains(EDA_RECT self, int x, int y) -> bool
1664 Contains(EDA_RECT self, EDA_RECT aRect) -> bool
1666 return _pcbnew.EDA_RECT_Contains(self, *args)
1669 r"""GetSize(EDA_RECT self) -> wxSize"""
1670 return _pcbnew.EDA_RECT_GetSize(self)
1673 r"""GetSizeMax(EDA_RECT self) -> int"""
1674 return _pcbnew.EDA_RECT_GetSizeMax(self)
1677 r"""GetX(EDA_RECT self) -> int"""
1678 return _pcbnew.EDA_RECT_GetX(self)
1681 r"""GetY(EDA_RECT self) -> int"""
1682 return _pcbnew.EDA_RECT_GetY(self)
1685 r"""GetOrigin(EDA_RECT self) -> wxPoint"""
1686 return _pcbnew.EDA_RECT_GetOrigin(self)
1689 r"""GetPosition(EDA_RECT self) -> wxPoint"""
1690 return _pcbnew.EDA_RECT_GetPosition(self)
1693 r"""GetEnd(EDA_RECT self) -> wxPoint"""
1694 return _pcbnew.EDA_RECT_GetEnd(self)
1697 r"""GetCenter(EDA_RECT self) -> wxPoint"""
1698 return _pcbnew.EDA_RECT_GetCenter(self)
1701 r"""GetWidth(EDA_RECT self) -> int"""
1702 return _pcbnew.EDA_RECT_GetWidth(self)
1705 r"""GetHeight(EDA_RECT self) -> int"""
1706 return _pcbnew.EDA_RECT_GetHeight(self)
1709 r"""GetRight(EDA_RECT self) -> int"""
1710 return _pcbnew.EDA_RECT_GetRight(self)
1713 r"""GetLeft(EDA_RECT self) -> int"""
1714 return _pcbnew.EDA_RECT_GetLeft(self)
1717 r"""GetTop(EDA_RECT self) -> int"""
1718 return _pcbnew.EDA_RECT_GetTop(self)
1721 r"""GetBottom(EDA_RECT self) -> int"""
1722 return _pcbnew.EDA_RECT_GetBottom(self)
1725 r"""IsValid(EDA_RECT self) -> bool"""
1726 return _pcbnew.EDA_RECT_IsValid(self)
1733 return _pcbnew.EDA_RECT_SetOrigin(self, *args)
1737 SetSize(EDA_RECT self, wxSize size)
1738 SetSize(EDA_RECT self, int w, int h)
1740 return _pcbnew.EDA_RECT_SetSize(self, *args)
1744 Offset(EDA_RECT self, int dx, int dy)
1745 Offset(EDA_RECT self, wxPoint offset)
1747 return _pcbnew.EDA_RECT_Offset(self, *args)
1749 def SetX(self, val:
"int") ->
"void":
1750 r"""SetX(EDA_RECT self, int val)"""
1751 return _pcbnew.EDA_RECT_SetX(self, val)
1753 def SetY(self, val:
"int") ->
"void":
1754 r"""SetY(EDA_RECT self, int val)"""
1755 return _pcbnew.EDA_RECT_SetY(self, val)
1758 r"""SetWidth(EDA_RECT self, int val)"""
1759 return _pcbnew.EDA_RECT_SetWidth(self, val)
1762 r"""SetHeight(EDA_RECT self, int val)"""
1763 return _pcbnew.EDA_RECT_SetHeight(self, val)
1767 SetEnd(EDA_RECT self, int x, int y)
1768 SetEnd(EDA_RECT self, wxPoint pos)
1770 return _pcbnew.EDA_RECT_SetEnd(self, *args)
1773 r"""RevertYAxis(EDA_RECT self)"""
1774 return _pcbnew.EDA_RECT_RevertYAxis(self)
1778 Intersects(EDA_RECT self, EDA_RECT aRect) -> bool
1779 Intersects(EDA_RECT self, EDA_RECT aRect, double aRot) -> bool
1780 Intersects(EDA_RECT self, wxPoint aPoint1, wxPoint aPoint2) -> bool
1781 Intersects(EDA_RECT self, wxPoint aPoint1, wxPoint aPoint2, wxPoint aIntersection1, wxPoint aIntersection2) -> bool
1783 return _pcbnew.EDA_RECT_Intersects(self, *args)
1786 r"""ClosestPointTo(EDA_RECT self, wxPoint aPoint) -> wxPoint"""
1787 return _pcbnew.EDA_RECT_ClosestPointTo(self, aPoint)
1790 r"""FarthestPointTo(EDA_RECT self, wxPoint aPoint) -> wxPoint"""
1791 return _pcbnew.EDA_RECT_FarthestPointTo(self, aPoint)
1794 r"""IntersectsCircle(EDA_RECT self, wxPoint aCenter, int const aRadius) -> bool"""
1795 return _pcbnew.EDA_RECT_IntersectsCircle(self, aCenter, aRadius)
1798 r"""IntersectsCircleEdge(EDA_RECT self, wxPoint aCenter, int const aRadius, int const aWidth) -> bool"""
1799 return _pcbnew.EDA_RECT_IntersectsCircleEdge(self, aCenter, aRadius, aWidth)
1802 r"""getWxRect(EDA_RECT self) -> wxRect"""
1803 return _pcbnew.EDA_RECT_getWxRect(self)
1806 r"""getBOX2I(EDA_RECT self) -> BOX2I"""
1807 return _pcbnew.EDA_RECT_getBOX2I(self)
1811 Inflate(EDA_RECT self, wxCoord dx, wxCoord dy) -> EDA_RECT
1812 Inflate(EDA_RECT self, int aDelta) -> EDA_RECT
1814 return _pcbnew.EDA_RECT_Inflate(self, *args)
1818 Merge(EDA_RECT self, EDA_RECT aRect)
1819 Merge(EDA_RECT self, wxPoint aPoint)
1821 return _pcbnew.EDA_RECT_Merge(self, *args)
1824 r"""GetArea(EDA_RECT self) -> double"""
1825 return _pcbnew.EDA_RECT_GetArea(self)
1827 def Common(self, aRect:
"EDA_RECT") ->
"EDA_RECT":
1828 r"""Common(EDA_RECT self, EDA_RECT aRect) -> EDA_RECT"""
1829 return _pcbnew.EDA_RECT_Common(self, aRect)
1832 r"""GetBoundingBoxRotated(EDA_RECT self, wxPoint aRotCenter, double aAngle) -> EDA_RECT"""
1833 return _pcbnew.EDA_RECT_GetBoundingBoxRotated(self, aRotCenter, aAngle)
1836_pcbnew.EDA_RECT_swigregister(EDA_RECT)
1838EDA_DATA_TYPE_DISTANCE = _pcbnew.EDA_DATA_TYPE_DISTANCE
1840EDA_DATA_TYPE_AREA = _pcbnew.EDA_DATA_TYPE_AREA
1842EDA_DATA_TYPE_VOLUME = _pcbnew.EDA_DATA_TYPE_VOLUME
1844EDA_UNITS_INCHES = _pcbnew.EDA_UNITS_INCHES
1846EDA_UNITS_MILLIMETRES = _pcbnew.EDA_UNITS_MILLIMETRES
1848EDA_UNITS_UNSCALED = _pcbnew.EDA_UNITS_UNSCALED
1850EDA_UNITS_DEGREES = _pcbnew.EDA_UNITS_DEGREES
1852EDA_UNITS_PERCENT = _pcbnew.EDA_UNITS_PERCENT
1854EDA_UNITS_MILS = _pcbnew.EDA_UNITS_MILS
1858 r"""IsImperialUnit(EDA_UNITS aUnit) -> bool"""
1859 return _pcbnew.IsImperialUnit(aUnit)
1862 r"""IsMetricUnit(EDA_UNITS aUnit) -> bool"""
1863 return _pcbnew.IsMetricUnit(aUnit)
1866 r"""SearchHelpFileFullPath(wxString aBaseName) -> wxString"""
1867 return _pcbnew.SearchHelpFileFullPath(aBaseName)
1870 r"""EnsureFileDirectoryExists(wxFileName * aTargetFullFileName, wxString aBaseFilename, REPORTER * aReporter=None) -> bool"""
1871 return _pcbnew.EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter)
1874 r"""ExpandEnvVarSubstitutions(wxString aString, PROJECT * aProject) -> wxString"""
1875 return _pcbnew.ExpandEnvVarSubstitutions(aString, aProject)
1879 ExpandTextVars(wxString aSource, std::function< bool (wxString *) > const * aLocalResolver, std::function< bool (wxString *) > const * aFallbackResolver, PROJECT const * aProject) -> wxString
1880 ExpandTextVars(wxString aSource, PROJECT const * aProject) -> wxString
1882 return _pcbnew.ExpandTextVars(*args)
1885 r"""ResolveUriByEnvVars(wxString aUri, PROJECT * aProject) -> wxString"""
1886 return _pcbnew.ResolveUriByEnvVars(aUri, aProject)
1888def TimestampDir(aDirPath:
"wxString", aFilespec:
"wxString") ->
"long long":
1889 r"""TimestampDir(wxString aDirPath, wxString aFilespec) -> long long"""
1890 return _pcbnew.TimestampDir(aDirPath, aFilespec)
1893 r"""WarnUserIfOperatingSystemUnsupported() -> bool"""
1894 return _pcbnew.WarnUserIfOperatingSystemUnsupported()
1898 StrPrintf(string aResult, char const * aFormat) -> int
1899 StrPrintf(char const * format) -> string
1901 return _pcbnew.StrPrintf(*args)
1902LINE_READER_LINE_DEFAULT_MAX = _pcbnew.LINE_READER_LINE_DEFAULT_MAX
1904LINE_READER_LINE_INITIAL_SIZE = _pcbnew.LINE_READER_LINE_INITIAL_SIZE
1907 r"""Proxy of C++ LINE_READER class."""
1909 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1912 raise AttributeError(
"No constructor defined - class is abstract")
1913 __repr__ = _swig_repr
1914 __swig_destroy__ = _pcbnew.delete_LINE_READER
1917 r"""ReadLine(LINE_READER self) -> char *"""
1918 return _pcbnew.LINE_READER_ReadLine(self)
1921 r"""GetSource(LINE_READER self) -> wxString"""
1922 return _pcbnew.LINE_READER_GetSource(self)
1925 r"""Line(LINE_READER self) -> char *"""
1926 return _pcbnew.LINE_READER_Line(self)
1929 r"""LineNumber(LINE_READER self) -> unsigned int"""
1930 return _pcbnew.LINE_READER_LineNumber(self)
1933 r"""Length(LINE_READER self) -> unsigned int"""
1934 return _pcbnew.LINE_READER_Length(self)
1937_pcbnew.LINE_READER_swigregister(LINE_READER)
1940 r"""Proxy of C++ FILE_LINE_READER class."""
1942 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1943 __repr__ = _swig_repr
1947 __init__(FILE_LINE_READER self, wxString aFileName, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
1948 __init__(FILE_LINE_READER self, FILE * aFile, wxString aFileName, bool doOwn=True, unsigned int aStartingLineNumber=0, unsigned int aMaxLineLength=1000000) -> FILE_LINE_READER
1950 _pcbnew.FILE_LINE_READER_swiginit(self, _pcbnew.new_FILE_LINE_READER(*args))
1951 __swig_destroy__ = _pcbnew.delete_FILE_LINE_READER
1954 r"""ReadLine(FILE_LINE_READER self) -> char *"""
1955 return _pcbnew.FILE_LINE_READER_ReadLine(self)
1958 r"""Rewind(FILE_LINE_READER self)"""
1959 return _pcbnew.FILE_LINE_READER_Rewind(self)
1962 r"""FileLength(FILE_LINE_READER self) -> long"""
1963 return _pcbnew.FILE_LINE_READER_FileLength(self)
1966 r"""CurPos(FILE_LINE_READER self) -> long"""
1967 return _pcbnew.FILE_LINE_READER_CurPos(self)
1970_pcbnew.FILE_LINE_READER_swigregister(FILE_LINE_READER)
1973 r"""Proxy of C++ STRING_LINE_READER class."""
1975 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1976 __repr__ = _swig_repr
1980 __init__(STRING_LINE_READER self, string aString, wxString aSource) -> STRING_LINE_READER
1981 __init__(STRING_LINE_READER self, STRING_LINE_READER aStartingPoint) -> STRING_LINE_READER
1983 _pcbnew.STRING_LINE_READER_swiginit(self, _pcbnew.new_STRING_LINE_READER(*args))
1986 r"""ReadLine(STRING_LINE_READER self) -> char *"""
1987 return _pcbnew.STRING_LINE_READER_ReadLine(self)
1988 __swig_destroy__ = _pcbnew.delete_STRING_LINE_READER
1991_pcbnew.STRING_LINE_READER_swigregister(STRING_LINE_READER)
1994 r"""Proxy of C++ INPUTSTREAM_LINE_READER class."""
1996 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1997 __repr__ = _swig_repr
1999 def __init__(self, aStream:
"wxInputStream *", aSource:
"wxString"):
2000 r"""__init__(INPUTSTREAM_LINE_READER self, wxInputStream * aStream, wxString aSource) -> INPUTSTREAM_LINE_READER"""
2001 _pcbnew.INPUTSTREAM_LINE_READER_swiginit(self, _pcbnew.new_INPUTSTREAM_LINE_READER(aStream, aSource))
2004 r"""ReadLine(INPUTSTREAM_LINE_READER self) -> char *"""
2005 return _pcbnew.INPUTSTREAM_LINE_READER_ReadLine(self)
2006 __swig_destroy__ = _pcbnew.delete_INPUTSTREAM_LINE_READER
2009_pcbnew.INPUTSTREAM_LINE_READER_swigregister(INPUTSTREAM_LINE_READER)
2011OUTPUTFMTBUFZ = _pcbnew.OUTPUTFMTBUFZ
2014 r"""Proxy of C++ OUTPUTFORMATTER class."""
2016 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2019 raise AttributeError(
"No constructor defined - class is abstract")
2020 __repr__ = _swig_repr
2022 def Print(self, nestLevel:
"int", fmt:
"char const *") ->
"int":
2023 r"""Print(OUTPUTFORMATTER self, int nestLevel, char const * fmt) -> int"""
2024 return _pcbnew.OUTPUTFORMATTER_Print(self, nestLevel, fmt)
2027 r"""GetQuoteChar(OUTPUTFORMATTER self, char const * wrapee) -> char const *"""
2028 return _pcbnew.OUTPUTFORMATTER_GetQuoteChar(self, wrapee)
2030 def Quotes(self, aWrapee:
"string") ->
"std::string":
2031 r"""Quotes(OUTPUTFORMATTER self, string aWrapee) -> string"""
2032 return _pcbnew.OUTPUTFORMATTER_Quotes(self, aWrapee)
2034 def Quotew(self, aWrapee:
"wxString") ->
"std::string":
2035 r"""Quotew(OUTPUTFORMATTER self, wxString aWrapee) -> string"""
2036 return _pcbnew.OUTPUTFORMATTER_Quotew(self, aWrapee)
2039_pcbnew.OUTPUTFORMATTER_swigregister(OUTPUTFORMATTER)
2042 r"""Proxy of C++ STRING_FORMATTER class."""
2044 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2045 __repr__ = _swig_repr
2048 r"""__init__(STRING_FORMATTER self, int aReserve=500, char aQuoteChar='\"') -> STRING_FORMATTER"""
2049 _pcbnew.STRING_FORMATTER_swiginit(self, _pcbnew.new_STRING_FORMATTER(*args))
2052 r"""Clear(STRING_FORMATTER self)"""
2053 return _pcbnew.STRING_FORMATTER_Clear(self)
2056 r"""StripUseless(STRING_FORMATTER self)"""
2057 return _pcbnew.STRING_FORMATTER_StripUseless(self)
2060 r"""GetString(STRING_FORMATTER self) -> string"""
2061 return _pcbnew.STRING_FORMATTER_GetString(self)
2062 __swig_destroy__ = _pcbnew.delete_STRING_FORMATTER
2065_pcbnew.STRING_FORMATTER_swigregister(STRING_FORMATTER)
2068 r"""Proxy of C++ FILE_OUTPUTFORMATTER class."""
2070 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2071 __repr__ = _swig_repr
2074 r"""__init__(FILE_OUTPUTFORMATTER self, wxString aFileName, wxChar const * aMode=wxT( "wt" ), char aQuoteChar='\"') -> FILE_OUTPUTFORMATTER"""
2075 _pcbnew.FILE_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_FILE_OUTPUTFORMATTER(*args))
2076 __swig_destroy__ = _pcbnew.delete_FILE_OUTPUTFORMATTER
2079_pcbnew.FILE_OUTPUTFORMATTER_swigregister(FILE_OUTPUTFORMATTER)
2082 r"""Proxy of C++ STREAM_OUTPUTFORMATTER class."""
2084 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2085 __repr__ = _swig_repr
2088 r"""__init__(STREAM_OUTPUTFORMATTER self, wxOutputStream & aStream, char aQuoteChar='\"') -> STREAM_OUTPUTFORMATTER"""
2089 _pcbnew.STREAM_OUTPUTFORMATTER_swiginit(self, _pcbnew.new_STREAM_OUTPUTFORMATTER(*args))
2090 __swig_destroy__ = _pcbnew.delete_STREAM_OUTPUTFORMATTER
2093_pcbnew.STREAM_OUTPUTFORMATTER_swigregister(STREAM_OUTPUTFORMATTER)
2096 r"""Proxy of C++ TITLE_BLOCK class."""
2098 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2099 __repr__ = _swig_repr
2102 r"""__init__(TITLE_BLOCK self) -> TITLE_BLOCK"""
2103 _pcbnew.TITLE_BLOCK_swiginit(self, _pcbnew.new_TITLE_BLOCK())
2104 __swig_destroy__ = _pcbnew.delete_TITLE_BLOCK
2107 r"""SetTitle(TITLE_BLOCK self, wxString aTitle)"""
2108 return _pcbnew.TITLE_BLOCK_SetTitle(self, aTitle)
2111 r"""GetTitle(TITLE_BLOCK self) -> wxString"""
2112 return _pcbnew.TITLE_BLOCK_GetTitle(self)
2115 r"""SetDate(TITLE_BLOCK self, wxString aDate)"""
2116 return _pcbnew.TITLE_BLOCK_SetDate(self, aDate)
2119 r"""GetDate(TITLE_BLOCK self) -> wxString"""
2120 return _pcbnew.TITLE_BLOCK_GetDate(self)
2123 r"""SetRevision(TITLE_BLOCK self, wxString aRevision)"""
2124 return _pcbnew.TITLE_BLOCK_SetRevision(self, aRevision)
2127 r"""GetRevision(TITLE_BLOCK self) -> wxString"""
2128 return _pcbnew.TITLE_BLOCK_GetRevision(self)
2131 r"""SetCompany(TITLE_BLOCK self, wxString aCompany)"""
2132 return _pcbnew.TITLE_BLOCK_SetCompany(self, aCompany)
2135 r"""GetCompany(TITLE_BLOCK self) -> wxString"""
2136 return _pcbnew.TITLE_BLOCK_GetCompany(self)
2138 def SetComment(self, aIdx:
"int", aComment:
"wxString") ->
"void":
2139 r"""SetComment(TITLE_BLOCK self, int aIdx, wxString aComment)"""
2140 return _pcbnew.TITLE_BLOCK_SetComment(self, aIdx, aComment)
2143 r"""GetComment(TITLE_BLOCK self, int aIdx) -> wxString"""
2144 return _pcbnew.TITLE_BLOCK_GetComment(self, aIdx)
2147 r"""Clear(TITLE_BLOCK self)"""
2148 return _pcbnew.TITLE_BLOCK_Clear(self)
2152 r"""GetContextualTextVars(wxArrayString * aVars)"""
2153 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2156 r"""TextVarResolver(TITLE_BLOCK self, wxString aToken, PROJECT const * aProject) -> bool"""
2157 return _pcbnew.TITLE_BLOCK_TextVarResolver(self, aToken, aProject)
2159 def Format(self, aFormatter:
"OUTPUTFORMATTER", aNestLevel:
"int", aControlBits:
"int") ->
"void":
2160 r"""Format(TITLE_BLOCK self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControlBits)"""
2161 return _pcbnew.TITLE_BLOCK_Format(self, aFormatter, aNestLevel, aControlBits)
2164_pcbnew.TITLE_BLOCK_swigregister(TITLE_BLOCK)
2167 r"""TITLE_BLOCK_GetContextualTextVars(wxArrayString * aVars)"""
2168 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2170UNSPECIFIED_COLOR = _pcbnew.UNSPECIFIED_COLOR
2172BLACK = _pcbnew.BLACK
2174DARKDARKGRAY = _pcbnew.DARKDARKGRAY
2176DARKGRAY = _pcbnew.DARKGRAY
2178LIGHTGRAY = _pcbnew.LIGHTGRAY
2180WHITE = _pcbnew.WHITE
2182LIGHTYELLOW = _pcbnew.LIGHTYELLOW
2184DARKBLUE = _pcbnew.DARKBLUE
2186DARKGREEN = _pcbnew.DARKGREEN
2188DARKCYAN = _pcbnew.DARKCYAN
2190DARKRED = _pcbnew.DARKRED
2192DARKMAGENTA = _pcbnew.DARKMAGENTA
2194DARKBROWN = _pcbnew.DARKBROWN
2198GREEN = _pcbnew.GREEN
2204MAGENTA = _pcbnew.MAGENTA
2206BROWN = _pcbnew.BROWN
2208LIGHTBLUE = _pcbnew.LIGHTBLUE
2210LIGHTGREEN = _pcbnew.LIGHTGREEN
2212LIGHTCYAN = _pcbnew.LIGHTCYAN
2214LIGHTRED = _pcbnew.LIGHTRED
2216LIGHTMAGENTA = _pcbnew.LIGHTMAGENTA
2218YELLOW = _pcbnew.YELLOW
2220PUREBLUE = _pcbnew.PUREBLUE
2222PUREGREEN = _pcbnew.PUREGREEN
2224PURECYAN = _pcbnew.PURECYAN
2226PURERED = _pcbnew.PURERED
2228PUREMAGENTA = _pcbnew.PUREMAGENTA
2230PUREYELLOW = _pcbnew.PUREYELLOW
2232LIGHTERORANGE = _pcbnew.LIGHTERORANGE
2234DARKORANGE = _pcbnew.DARKORANGE
2236ORANGE = _pcbnew.ORANGE
2238LIGHTORANGE = _pcbnew.LIGHTORANGE
2240PUREORANGE = _pcbnew.PUREORANGE
2242NBCOLORS = _pcbnew.NBCOLORS
2244HIGHLIGHT_FLAG = _pcbnew.HIGHLIGHT_FLAG
2246MASKCOLOR = _pcbnew.MASKCOLOR
2249 r"""Proxy of C++ StructColors class."""
2251 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2252 __repr__ = _swig_repr
2253 m_Blue = property(_pcbnew.StructColors_m_Blue_get, _pcbnew.StructColors_m_Blue_set, doc=
r"""m_Blue : unsigned char""")
2254 m_Green = property(_pcbnew.StructColors_m_Green_get, _pcbnew.StructColors_m_Green_set, doc=r"""m_Green : unsigned char""")
2255 m_Red = property(_pcbnew.StructColors_m_Red_get, _pcbnew.StructColors_m_Red_set, doc=r"""m_Red : unsigned char""")
2256 m_Numcolor = property(_pcbnew.StructColors_m_Numcolor_get, _pcbnew.StructColors_m_Numcolor_set, doc=r"""m_Numcolor : EDA_COLOR_T""")
2257 m_ColorName = property(_pcbnew.StructColors_m_ColorName_get, _pcbnew.StructColors_m_ColorName_set, doc=
r"""m_ColorName : std::string""")
2258 m_LightColor = property(_pcbnew.StructColors_m_LightColor_get, _pcbnew.StructColors_m_LightColor_set, doc=
r"""m_LightColor : EDA_COLOR_T""")
2261 r"""__init__(StructColors self) -> StructColors"""
2262 _pcbnew.StructColors_swiginit(self, _pcbnew.new_StructColors())
2263 __swig_destroy__ = _pcbnew.delete_StructColors
2266_pcbnew.StructColors_swigregister(StructColors)
2270 r"""colorRefs() -> StructColors"""
2271 return _pcbnew.colorRefs()
2273 r"""Proxy of C++ KIGFX::COLOR4D class."""
2275 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2276 __repr__ = _swig_repr
2278 def FromCSSRGBA(self, aRed:
"int", aGreen:
"int", aBlue:
"int", aAlpha:
"double"=1.0) ->
"KIGFX::COLOR4D &":
2279 r"""FromCSSRGBA(COLOR4D self, int aRed, int aGreen, int aBlue, double aAlpha=1.0) -> COLOR4D"""
2280 return _pcbnew.COLOR4D_FromCSSRGBA(self, aRed, aGreen, aBlue, aAlpha)
2285 __init__(COLOR4D self, double aRed, double aGreen, double aBlue, double aAlpha) -> COLOR4D
2286 __init__(COLOR4D self, EDA_COLOR_T aColor) -> COLOR4D
2287 __init__(COLOR4D self, wxString aColorStr) -> COLOR4D
2288 __init__(COLOR4D self, wxColour const & aColor) -> COLOR4D
2290 _pcbnew.COLOR4D_swiginit(self, _pcbnew.new_COLOR4D(*args))
2293 r"""SetFromWxString(COLOR4D self, wxString aColorString) -> bool"""
2294 return _pcbnew.COLOR4D_SetFromWxString(self, aColorString)
2297 r"""ToCSSString(COLOR4D self) -> wxString"""
2298 return _pcbnew.COLOR4D_ToCSSString(self)
2301 r"""SetFromHexString(COLOR4D self, wxString aColorString) -> bool"""
2302 return _pcbnew.COLOR4D_SetFromHexString(self, aColorString)
2305 r"""ToHexString(COLOR4D self) -> wxString"""
2306 return _pcbnew.COLOR4D_ToHexString(self)
2309 r"""ToColour(COLOR4D self) -> wxColour"""
2310 return _pcbnew.COLOR4D_ToColour(self)
2313 r"""LegacyMix(COLOR4D self, COLOR4D aColor) -> COLOR4D"""
2314 return _pcbnew.COLOR4D_LegacyMix(self, aColor)
2317 r"""ToU32(COLOR4D self) -> unsigned int"""
2318 return _pcbnew.COLOR4D_ToU32(self)
2320 def FromU32(self, aPackedColor:
"unsigned int") ->
"void":
2321 r"""FromU32(COLOR4D self, unsigned int aPackedColor)"""
2322 return _pcbnew.COLOR4D_FromU32(self, aPackedColor)
2324 def ToHSL(self, aOutHue:
"double &", aOutSaturation:
"double &", aOutValue:
"double &") ->
"void":
2325 r"""ToHSL(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue)"""
2326 return _pcbnew.COLOR4D_ToHSL(self, aOutHue, aOutSaturation, aOutValue)
2328 def FromHSL(self, aInHue:
"double", aInSaturation:
"double", aInLightness:
"double") ->
"void":
2329 r"""FromHSL(COLOR4D self, double aInHue, double aInSaturation, double aInLightness)"""
2330 return _pcbnew.COLOR4D_FromHSL(self, aInHue, aInSaturation, aInLightness)
2332 def Brighten(self, aFactor:
"double") ->
"KIGFX::COLOR4D &":
2333 r"""Brighten(COLOR4D self, double aFactor) -> COLOR4D"""
2334 return _pcbnew.COLOR4D_Brighten(self, aFactor)
2336 def Darken(self, aFactor:
"double") ->
"KIGFX::COLOR4D &":
2337 r"""Darken(COLOR4D self, double aFactor) -> COLOR4D"""
2338 return _pcbnew.COLOR4D_Darken(self, aFactor)
2341 r"""Invert(COLOR4D self) -> COLOR4D"""
2342 return _pcbnew.COLOR4D_Invert(self)
2344 def Saturate(self, aFactor:
"double") ->
"KIGFX::COLOR4D &":
2345 r"""Saturate(COLOR4D self, double aFactor) -> COLOR4D"""
2346 return _pcbnew.COLOR4D_Saturate(self, aFactor)
2349 r"""Brightened(COLOR4D self, double aFactor) -> COLOR4D"""
2350 return _pcbnew.COLOR4D_Brightened(self, aFactor)
2352 def Darkened(self, aFactor:
"double") ->
"KIGFX::COLOR4D":
2353 r"""Darkened(COLOR4D self, double aFactor) -> COLOR4D"""
2354 return _pcbnew.COLOR4D_Darkened(self, aFactor)
2356 def Mix(self, aColor:
"COLOR4D", aFactor:
"double") ->
"KIGFX::COLOR4D":
2357 r"""Mix(COLOR4D self, COLOR4D aColor, double aFactor) -> COLOR4D"""
2358 return _pcbnew.COLOR4D_Mix(self, aColor, aFactor)
2361 r"""WithAlpha(COLOR4D self, double aAlpha) -> COLOR4D"""
2362 return _pcbnew.COLOR4D_WithAlpha(self, aAlpha)
2365 r"""Inverted(COLOR4D self) -> COLOR4D"""
2366 return _pcbnew.COLOR4D_Inverted(self)
2369 r"""GetBrightness(COLOR4D self) -> double"""
2370 return _pcbnew.COLOR4D_GetBrightness(self)
2372 def ToHSV(self, aOutHue:
"double &", aOutSaturation:
"double &", aOutValue:
"double &", aAlwaysDefineHue:
"bool"=
False) ->
"void":
2373 r"""ToHSV(COLOR4D self, double & aOutHue, double & aOutSaturation, double & aOutValue, bool aAlwaysDefineHue=False)"""
2374 return _pcbnew.COLOR4D_ToHSV(self, aOutHue, aOutSaturation, aOutValue, aAlwaysDefineHue)
2376 def FromHSV(self, aInH:
"double", aInS:
"double", aInV:
"double") ->
"void":
2377 r"""FromHSV(COLOR4D self, double aInH, double aInS, double aInV)"""
2378 return _pcbnew.COLOR4D_FromHSV(self, aInH, aInS, aInV)
2381 r"""Distance(COLOR4D self, COLOR4D other) -> double"""
2382 return _pcbnew.COLOR4D_Distance(self, other)
2386 r"""FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2387 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2388 r = property(_pcbnew.COLOR4D_r_get, _pcbnew.COLOR4D_r_set, doc=
r"""r : double""")
2389 g = property(_pcbnew.COLOR4D_g_get, _pcbnew.COLOR4D_g_set, doc=
r"""g : double""")
2390 b = property(_pcbnew.COLOR4D_b_get, _pcbnew.COLOR4D_b_set, doc=
r"""b : double""")
2391 a = property(_pcbnew.COLOR4D_a_get, _pcbnew.COLOR4D_a_set, doc=
r"""a : double""")
2392 __swig_destroy__ = _pcbnew.delete_COLOR4D
2395_pcbnew.COLOR4D_swigregister(COLOR4D)
2398 r"""COLOR4D_FindNearestLegacyColor(int aR, int aG, int aB) -> EDA_COLOR_T"""
2399 return _pcbnew.COLOR4D_FindNearestLegacyColor(aR, aG, aB)
2400COLOR4D.UNSPECIFIED = _pcbnew.cvar.COLOR4D_UNSPECIFIED
2401COLOR4D.WHITE = _pcbnew.cvar.COLOR4D_WHITE
2402COLOR4D.BLACK = _pcbnew.cvar.COLOR4D_BLACK
2403COLOR4D.CLEAR = _pcbnew.cvar.COLOR4D_CLEAR
2406def __eq__(lhs:
"COLOR4D", rhs:
"COLOR4D") ->
"bool const":
2407 r"""__eq__(COLOR4D lhs, COLOR4D rhs) -> bool const"""
2408 return _pcbnew.__eq__(lhs, rhs)
2410def __ne__(lhs:
"COLOR4D", rhs:
"COLOR4D") ->
"bool const":
2411 r"""__ne__(COLOR4D lhs, COLOR4D rhs) -> bool const"""
2412 return _pcbnew.__ne__(lhs, rhs)
2414def __lt__(lhs:
"COLOR4D", rhs:
"COLOR4D") ->
"bool const":
2415 r"""__lt__(COLOR4D lhs, COLOR4D rhs) -> bool const"""
2416 return _pcbnew.__lt__(lhs, rhs)
2418def __lshift__(aStream:
"std::ostream &", aColor:
"COLOR4D") ->
"std::ostream &":
2419 r"""__lshift__(std::ostream & aStream, COLOR4D aColor) -> std::ostream &"""
2420 return _pcbnew.__lshift__(aStream, aColor)
2422def to_json(aJson:
"nlohmann::json &", aColor:
"COLOR4D") ->
"void":
2423 r"""to_json(nlohmann::json & aJson, COLOR4D aColor)"""
2424 return _pcbnew.to_json(aJson, aColor)
2426def from_json(aJson:
"nlohmann::json const &", aColor:
"COLOR4D") ->
"void":
2427 r"""from_json(nlohmann::json const & aJson, COLOR4D aColor)"""
2428 return _pcbnew.from_json(aJson, aColor)
2430 r"""Proxy of C++ MARKER_BASE class."""
2432 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2435 raise AttributeError(
"No constructor defined - class is abstract")
2436 __repr__ = _swig_repr
2437 MARKER_UNSPEC = _pcbnew.MARKER_BASE_MARKER_UNSPEC
2439 MARKER_ERC = _pcbnew.MARKER_BASE_MARKER_ERC
2441 MARKER_PCB = _pcbnew.MARKER_BASE_MARKER_PCB
2443 MARKER_SIMUL = _pcbnew.MARKER_BASE_MARKER_SIMUL
2445 __swig_destroy__ = _pcbnew.delete_MARKER_BASE
2448 r"""MarkerScale(MARKER_BASE self) -> int"""
2449 return _pcbnew.MARKER_BASE_MarkerScale(self)
2452 r"""SetMarkerScale(MARKER_BASE self, int aScale)"""
2453 return _pcbnew.MARKER_BASE_SetMarkerScale(self, aScale)
2456 r"""ShapeToPolygon(MARKER_BASE self, SHAPE_LINE_CHAIN aPolygon, int aScale=-1)"""
2457 return _pcbnew.MARKER_BASE_ShapeToPolygon(self, aPolygon, aScale)
2459 def PrintMarker(self, aSettings:
"RENDER_SETTINGS const *", aOffset:
"wxPoint") ->
"void":
2460 r"""PrintMarker(MARKER_BASE self, RENDER_SETTINGS const * aSettings, wxPoint aOffset)"""
2461 return _pcbnew.MARKER_BASE_PrintMarker(self, aSettings, aOffset)
2464 r"""GetPos(MARKER_BASE self) -> wxPoint"""
2465 return _pcbnew.MARKER_BASE_GetPos(self)
2468 r"""GetUUID(MARKER_BASE self) -> KIID"""
2469 return _pcbnew.MARKER_BASE_GetUUID(self)
2472 r"""SetMarkerType(MARKER_BASE self, enum MARKER_BASE::TYPEMARKER aMarkerType)"""
2473 return _pcbnew.MARKER_BASE_SetMarkerType(self, aMarkerType)
2476 r"""GetMarkerType(MARKER_BASE self) -> enum MARKER_BASE::TYPEMARKER"""
2477 return _pcbnew.MARKER_BASE_GetMarkerType(self)
2480 r"""IsExcluded(MARKER_BASE self) -> bool"""
2481 return _pcbnew.MARKER_BASE_IsExcluded(self)
2484 r"""SetExcluded(MARKER_BASE self, bool aExcluded)"""
2485 return _pcbnew.MARKER_BASE_SetExcluded(self, aExcluded)
2488 r"""GetRCItem(MARKER_BASE self) -> std::shared_ptr< RC_ITEM >"""
2489 return _pcbnew.MARKER_BASE_GetRCItem(self)
2492 r"""HitTestMarker(MARKER_BASE self, wxPoint aHitPosition, int aAccuracy) -> bool"""
2493 return _pcbnew.MARKER_BASE_HitTestMarker(self, aHitPosition, aAccuracy)
2496 r"""GetBoundingBoxMarker(MARKER_BASE self) -> EDA_RECT"""
2497 return _pcbnew.MARKER_BASE_GetBoundingBoxMarker(self)
2498 m_Pos = property(_pcbnew.MARKER_BASE_m_Pos_get, _pcbnew.MARKER_BASE_m_Pos_set, doc=
r"""m_Pos : wxPoint""")
2501_pcbnew.MARKER_BASE_swigregister(MARKER_BASE)
2504 r"""Proxy of C++ TSEGM_2_POLY_PRMS class."""
2506 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2507 __repr__ = _swig_repr
2508 m_textWidth = property(_pcbnew.TSEGM_2_POLY_PRMS_m_textWidth_get, _pcbnew.TSEGM_2_POLY_PRMS_m_textWidth_set, doc=
r"""m_textWidth : int""")
2509 m_error = property(_pcbnew.TSEGM_2_POLY_PRMS_m_error_get, _pcbnew.TSEGM_2_POLY_PRMS_m_error_set, doc=
r"""m_error : int""")
2510 m_cornerBuffer = property(_pcbnew.TSEGM_2_POLY_PRMS_m_cornerBuffer_get, _pcbnew.TSEGM_2_POLY_PRMS_m_cornerBuffer_set, doc=
r"""m_cornerBuffer : p.SHAPE_POLY_SET""")
2513 r"""__init__(TSEGM_2_POLY_PRMS self) -> TSEGM_2_POLY_PRMS"""
2514 _pcbnew.TSEGM_2_POLY_PRMS_swiginit(self, _pcbnew.new_TSEGM_2_POLY_PRMS())
2515 __swig_destroy__ = _pcbnew.delete_TSEGM_2_POLY_PRMS
2518_pcbnew.TSEGM_2_POLY_PRMS_swigregister(TSEGM_2_POLY_PRMS)
2522 r"""addTextSegmToPoly(int x0, int y0, int xf, int yf, void * aData)"""
2523 return _pcbnew.addTextSegmToPoly(x0, y0, xf, yf, aData)
2524TEXT_ANGLE_HORIZ = _pcbnew.TEXT_ANGLE_HORIZ
2526TEXT_ANGLE_VERT = _pcbnew.TEXT_ANGLE_VERT
2528CTL_OMIT_HIDE = _pcbnew.CTL_OMIT_HIDE
2530GR_TEXT_HJUSTIFY_LEFT = _pcbnew.GR_TEXT_HJUSTIFY_LEFT
2532GR_TEXT_HJUSTIFY_CENTER = _pcbnew.GR_TEXT_HJUSTIFY_CENTER
2534GR_TEXT_HJUSTIFY_RIGHT = _pcbnew.GR_TEXT_HJUSTIFY_RIGHT
2536GR_TEXT_VJUSTIFY_TOP = _pcbnew.GR_TEXT_VJUSTIFY_TOP
2538GR_TEXT_VJUSTIFY_CENTER = _pcbnew.GR_TEXT_VJUSTIFY_CENTER
2540GR_TEXT_VJUSTIFY_BOTTOM = _pcbnew.GR_TEXT_VJUSTIFY_BOTTOM
2542DEFAULT_SIZE_TEXT = _pcbnew.DEFAULT_SIZE_TEXT
2544DIM_ANCRE_TEXTE = _pcbnew.DIM_ANCRE_TEXTE
2547 r"""Proxy of C++ TEXT_EFFECTS class."""
2549 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2550 __repr__ = _swig_repr
2553 r"""__init__(TEXT_EFFECTS self, int aSetOfBits=0) -> TEXT_EFFECTS"""
2554 _pcbnew.TEXT_EFFECTS_swiginit(self, _pcbnew.new_TEXT_EFFECTS(aSetOfBits))
2555 bits = property(_pcbnew.TEXT_EFFECTS_bits_get, _pcbnew.TEXT_EFFECTS_bits_set, doc=
r"""bits : int""")
2556 hjustify = property(_pcbnew.TEXT_EFFECTS_hjustify_get, _pcbnew.TEXT_EFFECTS_hjustify_set, doc=
r"""hjustify : signed char""")
2557 vjustify = property(_pcbnew.TEXT_EFFECTS_vjustify_get, _pcbnew.TEXT_EFFECTS_vjustify_set, doc=r"""vjustify : signed char""")
2558 size = property(_pcbnew.TEXT_EFFECTS_size_get, _pcbnew.TEXT_EFFECTS_size_set, doc=r"""size : wxSize""")
2559 penwidth = property(_pcbnew.TEXT_EFFECTS_penwidth_get, _pcbnew.TEXT_EFFECTS_penwidth_set, doc=
r"""penwidth : int""")
2560 angle = property(_pcbnew.TEXT_EFFECTS_angle_get, _pcbnew.TEXT_EFFECTS_angle_set, doc=
r"""angle : double""")
2561 pos = property(_pcbnew.TEXT_EFFECTS_pos_get, _pcbnew.TEXT_EFFECTS_pos_set, doc=
r"""pos : wxPoint""")
2563 def Bit(self, *args) -> "bool":
2565 Bit(TEXT_EFFECTS self, int aBit, bool aValue)
2566 Bit(TEXT_EFFECTS self, int aBit) -> bool
2568 return _pcbnew.TEXT_EFFECTS_Bit(self, *args)
2569 __swig_destroy__ = _pcbnew.delete_TEXT_EFFECTS
2572_pcbnew.TEXT_EFFECTS_swigregister(TEXT_EFFECTS)
2575 r"""Proxy of C++ EDA_TEXT class."""
2577 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2578 __repr__ = _swig_repr
2582 __init__(EDA_TEXT self, wxString text=wxEmptyString) -> EDA_TEXT
2583 __init__(EDA_TEXT self, EDA_TEXT aText) -> EDA_TEXT
2585 _pcbnew.EDA_TEXT_swiginit(self, _pcbnew.new_EDA_TEXT(*args))
2586 __swig_destroy__ = _pcbnew.delete_EDA_TEXT
2589 r"""GetText(EDA_TEXT self) -> wxString"""
2590 return _pcbnew.EDA_TEXT_GetText(self)
2592 def GetShownText(self, aDepth:
"int"=0, aAllowExtraText:
"bool"=
True) ->
"wxString":
2593 r"""GetShownText(EDA_TEXT self, int aDepth=0, bool aAllowExtraText=True) -> wxString"""
2594 return _pcbnew.EDA_TEXT_GetShownText(self, aDepth, aAllowExtraText)
2597 r"""ShortenedShownText(EDA_TEXT self) -> wxString"""
2598 return _pcbnew.EDA_TEXT_ShortenedShownText(self)
2601 r"""HasTextVars(EDA_TEXT self) -> bool"""
2602 return _pcbnew.EDA_TEXT_HasTextVars(self)
2605 r"""SetText(EDA_TEXT self, wxString aText)"""
2606 return _pcbnew.EDA_TEXT_SetText(self, aText)
2609 r"""SetTextThickness(EDA_TEXT self, int aWidth)"""
2610 return _pcbnew.EDA_TEXT_SetTextThickness(self, aWidth)
2613 r"""GetTextThickness(EDA_TEXT self) -> int"""
2614 return _pcbnew.EDA_TEXT_GetTextThickness(self)
2617 r"""GetEffectiveTextPenWidth(EDA_TEXT self, int aDefaultWidth=0) -> int"""
2618 return _pcbnew.EDA_TEXT_GetEffectiveTextPenWidth(self, aDefaultWidth)
2621 r"""SetTextAngle(EDA_TEXT self, double aAngle)"""
2622 return _pcbnew.EDA_TEXT_SetTextAngle(self, aAngle)
2625 r"""GetTextAngle(EDA_TEXT self) -> double"""
2626 return _pcbnew.EDA_TEXT_GetTextAngle(self)
2629 r"""GetTextAngleDegrees(EDA_TEXT self) -> double"""
2630 return _pcbnew.EDA_TEXT_GetTextAngleDegrees(self)
2633 r"""GetTextAngleRadians(EDA_TEXT self) -> double"""
2634 return _pcbnew.EDA_TEXT_GetTextAngleRadians(self)
2637 r"""SetItalic(EDA_TEXT self, bool isItalic)"""
2638 return _pcbnew.EDA_TEXT_SetItalic(self, isItalic)
2641 r"""IsItalic(EDA_TEXT self) -> bool"""
2642 return _pcbnew.EDA_TEXT_IsItalic(self)
2645 r"""SetBold(EDA_TEXT self, bool aBold)"""
2646 return _pcbnew.EDA_TEXT_SetBold(self, aBold)
2649 r"""IsBold(EDA_TEXT self) -> bool"""
2650 return _pcbnew.EDA_TEXT_IsBold(self)
2653 r"""SetVisible(EDA_TEXT self, bool aVisible)"""
2654 return _pcbnew.EDA_TEXT_SetVisible(self, aVisible)
2657 r"""IsVisible(EDA_TEXT self) -> bool"""
2658 return _pcbnew.EDA_TEXT_IsVisible(self)
2661 r"""SetMirrored(EDA_TEXT self, bool isMirrored)"""
2662 return _pcbnew.EDA_TEXT_SetMirrored(self, isMirrored)
2665 r"""IsMirrored(EDA_TEXT self) -> bool"""
2666 return _pcbnew.EDA_TEXT_IsMirrored(self)
2669 r"""SetMultilineAllowed(EDA_TEXT self, bool aAllow)"""
2670 return _pcbnew.EDA_TEXT_SetMultilineAllowed(self, aAllow)
2673 r"""IsMultilineAllowed(EDA_TEXT self) -> bool"""
2674 return _pcbnew.EDA_TEXT_IsMultilineAllowed(self)
2677 r"""GetHorizJustify(EDA_TEXT self) -> EDA_TEXT_HJUSTIFY_T"""
2678 return _pcbnew.EDA_TEXT_GetHorizJustify(self)
2681 r"""GetVertJustify(EDA_TEXT self) -> EDA_TEXT_VJUSTIFY_T"""
2682 return _pcbnew.EDA_TEXT_GetVertJustify(self)
2685 r"""SetHorizJustify(EDA_TEXT self, EDA_TEXT_HJUSTIFY_T aType)"""
2686 return _pcbnew.EDA_TEXT_SetHorizJustify(self, aType)
2689 r"""SetVertJustify(EDA_TEXT self, EDA_TEXT_VJUSTIFY_T aType)"""
2690 return _pcbnew.EDA_TEXT_SetVertJustify(self, aType)
2693 r"""SetEffects(EDA_TEXT self, EDA_TEXT aSrc)"""
2694 return _pcbnew.EDA_TEXT_SetEffects(self, aSrc)
2697 r"""SwapEffects(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2698 return _pcbnew.EDA_TEXT_SwapEffects(self, aTradingPartner)
2700 def SwapText(self, aTradingPartner:
"EDA_TEXT") ->
"void":
2701 r"""SwapText(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2702 return _pcbnew.EDA_TEXT_SwapText(self, aTradingPartner)
2705 r"""CopyText(EDA_TEXT self, EDA_TEXT aSrc)"""
2706 return _pcbnew.EDA_TEXT_CopyText(self, aSrc)
2708 def Replace(self, aSearchData:
"wxFindReplaceData const &") ->
"bool":
2709 r"""Replace(EDA_TEXT self, wxFindReplaceData const & aSearchData) -> bool"""
2710 return _pcbnew.EDA_TEXT_Replace(self, aSearchData)
2713 r"""IsDefaultFormatting(EDA_TEXT self) -> bool"""
2714 return _pcbnew.EDA_TEXT_IsDefaultFormatting(self)
2717 r"""SetTextSize(EDA_TEXT self, wxSize aNewSize)"""
2718 return _pcbnew.EDA_TEXT_SetTextSize(self, aNewSize)
2721 r"""GetTextSize(EDA_TEXT self) -> wxSize"""
2722 return _pcbnew.EDA_TEXT_GetTextSize(self)
2725 r"""SetTextWidth(EDA_TEXT self, int aWidth)"""
2726 return _pcbnew.EDA_TEXT_SetTextWidth(self, aWidth)
2729 r"""GetTextWidth(EDA_TEXT self) -> int"""
2730 return _pcbnew.EDA_TEXT_GetTextWidth(self)
2733 r"""SetTextHeight(EDA_TEXT self, int aHeight)"""
2734 return _pcbnew.EDA_TEXT_SetTextHeight(self, aHeight)
2737 r"""GetTextHeight(EDA_TEXT self) -> int"""
2738 return _pcbnew.EDA_TEXT_GetTextHeight(self)
2741 r"""SetTextPos(EDA_TEXT self, wxPoint aPoint)"""
2742 return _pcbnew.EDA_TEXT_SetTextPos(self, aPoint)
2745 r"""GetTextPos(EDA_TEXT self) -> wxPoint"""
2746 return _pcbnew.EDA_TEXT_GetTextPos(self)
2749 r"""SetTextX(EDA_TEXT self, int aX)"""
2750 return _pcbnew.EDA_TEXT_SetTextX(self, aX)
2753 r"""SetTextY(EDA_TEXT self, int aY)"""
2754 return _pcbnew.EDA_TEXT_SetTextY(self, aY)
2756 def Offset(self, aOffset:
"wxPoint") ->
"void":
2757 r"""Offset(EDA_TEXT self, wxPoint aOffset)"""
2758 return _pcbnew.EDA_TEXT_Offset(self, aOffset)
2761 r"""Empty(EDA_TEXT self)"""
2762 return _pcbnew.EDA_TEXT_Empty(self)
2766 r"""MapHorizJustify(int aHorizJustify) -> EDA_TEXT_HJUSTIFY_T"""
2767 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
2771 r"""MapVertJustify(int aVertJustify) -> EDA_TEXT_VJUSTIFY_T"""
2772 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
2774 def Print(self, aSettings:
"RENDER_SETTINGS const *", aOffset:
"wxPoint", aColor:
"COLOR4D", aDisplay_mode:
"OUTLINE_MODE"=FILLED) ->
"void":
2775 r"""Print(EDA_TEXT self, RENDER_SETTINGS const * aSettings, wxPoint aOffset, COLOR4D aColor, OUTLINE_MODE aDisplay_mode=FILLED)"""
2776 return _pcbnew.EDA_TEXT_Print(self, aSettings, aOffset, aColor, aDisplay_mode)
2779 r"""TransformToSegmentList(EDA_TEXT self) -> wxPoint_Vector"""
2780 return _pcbnew.EDA_TEXT_TransformToSegmentList(self)
2783 r"""TransformBoundingBoxWithClearanceToPolygon(EDA_TEXT self, SHAPE_POLY_SET aCornerBuffer, int aClearanceValue)"""
2784 return _pcbnew.EDA_TEXT_TransformBoundingBoxWithClearanceToPolygon(self, aCornerBuffer, aClearanceValue)
2787 r"""GetEffectiveTextShape(EDA_TEXT self) -> std::shared_ptr< SHAPE_COMPOUND >"""
2788 return _pcbnew.EDA_TEXT_GetEffectiveTextShape(self)
2792 TextHitTest(EDA_TEXT self, wxPoint aPoint, int aAccuracy=0) -> bool
2793 TextHitTest(EDA_TEXT self, EDA_RECT aRect, bool aContains, int aAccuracy=0) -> bool
2795 return _pcbnew.EDA_TEXT_TextHitTest(self, *args)
2797 def LenSize(self, aLine:
"wxString", aThickness:
"int") ->
"int":
2798 r"""LenSize(EDA_TEXT self, wxString aLine, int aThickness) -> int"""
2799 return _pcbnew.EDA_TEXT_LenSize(self, aLine, aThickness)
2801 def GetTextBox(self, aLine:
"int"=-1, aInvertY:
"bool"=
False) ->
"EDA_RECT":
2802 r"""GetTextBox(EDA_TEXT self, int aLine=-1, bool aInvertY=False) -> EDA_RECT"""
2803 return _pcbnew.EDA_TEXT_GetTextBox(self, aLine, aInvertY)
2806 r"""GetInterline(EDA_TEXT self) -> int"""
2807 return _pcbnew.EDA_TEXT_GetInterline(self)
2810 r"""GetTextStyleName(EDA_TEXT self) -> wxString"""
2811 return _pcbnew.EDA_TEXT_GetTextStyleName(self)
2814 r"""GetLinePositions(EDA_TEXT self, wxPoint_Vector aPositions, int aLineCount)"""
2815 return _pcbnew.EDA_TEXT_GetLinePositions(self, aPositions, aLineCount)
2817 def Format(self, aFormatter:
"OUTPUTFORMATTER", aNestLevel:
"int", aControlBits:
"int") ->
"void":
2818 r"""Format(EDA_TEXT self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControlBits)"""
2819 return _pcbnew.EDA_TEXT_Format(self, aFormatter, aNestLevel, aControlBits)
2822 r"""GetDrawRotation(EDA_TEXT self) -> double"""
2823 return _pcbnew.EDA_TEXT_GetDrawRotation(self)
2826 r"""GetDrawPos(EDA_TEXT self) -> wxPoint"""
2827 return _pcbnew.EDA_TEXT_GetDrawPos(self)
2830 r"""GetDrawHorizJustify(EDA_TEXT self) -> EDA_TEXT_HJUSTIFY_T"""
2831 return _pcbnew.EDA_TEXT_GetDrawHorizJustify(self)
2834 r"""GetDrawVertJustify(EDA_TEXT self) -> EDA_TEXT_VJUSTIFY_T"""
2835 return _pcbnew.EDA_TEXT_GetDrawVertJustify(self)
2838 r"""Compare(EDA_TEXT self, EDA_TEXT aOther) -> int"""
2839 return _pcbnew.EDA_TEXT_Compare(self, aOther)
2842_pcbnew.EDA_TEXT_swigregister(EDA_TEXT)
2845 r"""EDA_TEXT_MapHorizJustify(int aHorizJustify) -> EDA_TEXT_HJUSTIFY_T"""
2846 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
2849 r"""EDA_TEXT_MapVertJustify(int aVertJustify) -> EDA_TEXT_VJUSTIFY_T"""
2850 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
2854 r"""GetBuildVersion() -> wxString"""
2855 return _pcbnew.GetBuildVersion()
2858 r"""GetPlatformGetBitnessName() -> wxString"""
2859 return _pcbnew.GetPlatformGetBitnessName()
2862 r"""GetSemanticVersion() -> wxString"""
2863 return _pcbnew.GetSemanticVersion()
2866 r"""GetMajorMinorVersion() -> wxString"""
2867 return _pcbnew.GetMajorMinorVersion()
2870 r"""GetBuildDate() -> wxString"""
2871 return _pcbnew.GetBuildDate()
2874 r"""GetVersionInfoData(wxString aTitle, bool aHtml=False, bool aBrief=False) -> wxString"""
2875 return _pcbnew.GetVersionInfoData(aTitle, aHtml, aBrief)
2877 r"""Proxy of C++ SETTINGS_MANAGER class."""
2879 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2880 __repr__ = _swig_repr
2883 r"""__init__(SETTINGS_MANAGER self, bool aHeadless=False) -> SETTINGS_MANAGER"""
2884 _pcbnew.SETTINGS_MANAGER_swiginit(self, _pcbnew.new_SETTINGS_MANAGER(aHeadless))
2885 __swig_destroy__ = _pcbnew.delete_SETTINGS_MANAGER
2888 r"""IsOK(SETTINGS_MANAGER self) -> bool"""
2889 return _pcbnew.SETTINGS_MANAGER_IsOK(self)
2892 r"""SetKiway(SETTINGS_MANAGER self, KIWAY * aKiway)"""
2893 return _pcbnew.SETTINGS_MANAGER_SetKiway(self, aKiway)
2897 Load(SETTINGS_MANAGER self)
2898 Load(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
2900 return _pcbnew.SETTINGS_MANAGER_Load(self, *args)
2904 Save(SETTINGS_MANAGER self)
2905 Save(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
2907 return _pcbnew.SETTINGS_MANAGER_Save(self, *args)
2910 r"""FlushAndRelease(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings, bool aSave=True)"""
2911 return _pcbnew.SETTINGS_MANAGER_FlushAndRelease(self, aSettings, aSave)
2914 r"""GetColorSettings(SETTINGS_MANAGER self, wxString aName="user") -> COLOR_SETTINGS"""
2915 return _pcbnew.SETTINGS_MANAGER_GetColorSettings(self, *args)
2918 r"""GetColorSettingsList(SETTINGS_MANAGER self) -> std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >"""
2919 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsList(self)
2922 r"""SaveColorSettings(SETTINGS_MANAGER self, COLOR_SETTINGS * aSettings, string aNamespace="")"""
2923 return _pcbnew.SETTINGS_MANAGER_SaveColorSettings(self, *args)
2926 r"""AddNewColorSettings(SETTINGS_MANAGER self, wxString aFilename) -> COLOR_SETTINGS *"""
2927 return _pcbnew.SETTINGS_MANAGER_AddNewColorSettings(self, aFilename)
2930 r"""GetMigratedColorSettings(SETTINGS_MANAGER self) -> COLOR_SETTINGS *"""
2931 return _pcbnew.SETTINGS_MANAGER_GetMigratedColorSettings(self)
2934 r"""GetCommonSettings(SETTINGS_MANAGER self) -> COMMON_SETTINGS *"""
2935 return _pcbnew.SETTINGS_MANAGER_GetCommonSettings(self)
2938 r"""GetPathForSettingsFile(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings) -> wxString"""
2939 return _pcbnew.SETTINGS_MANAGER_GetPathForSettingsFile(self, aSettings)
2942 r"""MigrateIfNeeded(SETTINGS_MANAGER self) -> bool"""
2943 return _pcbnew.SETTINGS_MANAGER_MigrateIfNeeded(self)
2946 r"""SetMigrationSource(SETTINGS_MANAGER self, wxString aSource)"""
2947 return _pcbnew.SETTINGS_MANAGER_SetMigrationSource(self, aSource)
2950 r"""SetMigrateLibraryTables(SETTINGS_MANAGER self, bool aMigrate=True)"""
2951 return _pcbnew.SETTINGS_MANAGER_SetMigrateLibraryTables(self, aMigrate)
2954 r"""GetPreviousVersionPaths(SETTINGS_MANAGER self, std::vector< wxString,std::allocator< wxString > > * aName=None) -> bool"""
2955 return _pcbnew.SETTINGS_MANAGER_GetPreviousVersionPaths(self, aName)
2958 r"""ReloadColorSettings(SETTINGS_MANAGER self)"""
2959 return _pcbnew.SETTINGS_MANAGER_ReloadColorSettings(self)
2961 def LoadProject(self, aFullPath:
"wxString", aSetActive:
"bool"=
True) ->
"bool":
2962 r"""LoadProject(SETTINGS_MANAGER self, wxString aFullPath, bool aSetActive=True) -> bool"""
2963 return _pcbnew.SETTINGS_MANAGER_LoadProject(self, aFullPath, aSetActive)
2966 r"""UnloadProject(SETTINGS_MANAGER self, PROJECT * aProject, bool aSave=True) -> bool"""
2967 return _pcbnew.SETTINGS_MANAGER_UnloadProject(self, aProject, aSave)
2970 r"""IsProjectOpen(SETTINGS_MANAGER self) -> bool"""
2971 return _pcbnew.SETTINGS_MANAGER_IsProjectOpen(self)
2974 r"""Prj(SETTINGS_MANAGER self) -> PROJECT &"""
2975 return _pcbnew.SETTINGS_MANAGER_Prj(self)
2978 r"""GetProject(SETTINGS_MANAGER self, wxString aFullPath) -> PROJECT *"""
2979 return _pcbnew.SETTINGS_MANAGER_GetProject(self, aFullPath)
2982 r"""GetOpenProjects(SETTINGS_MANAGER self) -> std::vector< wxString,std::allocator< wxString > >"""
2983 return _pcbnew.SETTINGS_MANAGER_GetOpenProjects(self)
2986 r"""SaveProject(SETTINGS_MANAGER self, wxString aFullPath=wxEmptyString, PROJECT * aProject=None) -> bool"""
2987 return _pcbnew.SETTINGS_MANAGER_SaveProject(self, *args)
2989 def SaveProjectAs(self, aFullPath:
"wxString", aProject:
"PROJECT *"=
None) ->
"void":
2990 r"""SaveProjectAs(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
2991 return _pcbnew.SETTINGS_MANAGER_SaveProjectAs(self, aFullPath, aProject)
2994 r"""SaveProjectCopy(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
2995 return _pcbnew.SETTINGS_MANAGER_SaveProjectCopy(self, aFullPath, aProject)
2998 r"""GetProjectBackupsPath(SETTINGS_MANAGER self) -> wxString"""
2999 return _pcbnew.SETTINGS_MANAGER_GetProjectBackupsPath(self)
3002 r"""BackupProject(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
3003 return _pcbnew.SETTINGS_MANAGER_BackupProject(self, aReporter)
3006 r"""TriggerBackupIfNeeded(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
3007 return _pcbnew.SETTINGS_MANAGER_TriggerBackupIfNeeded(self, aReporter)
3011 r"""IsSettingsPathValid(wxString aPath) -> bool"""
3012 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
3016 r"""GetColorSettingsPath() -> wxString"""
3017 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
3021 r"""GetUserSettingsPath() -> wxString"""
3022 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
3026 r"""GetSettingsVersion() -> string"""
3027 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
3030_pcbnew.SETTINGS_MANAGER_swigregister(SETTINGS_MANAGER)
3033 r"""SETTINGS_MANAGER_IsSettingsPathValid(wxString aPath) -> bool"""
3034 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
3037 r"""SETTINGS_MANAGER_GetColorSettingsPath() -> wxString"""
3038 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
3041 r"""SETTINGS_MANAGER_GetUserSettingsPath() -> wxString"""
3042 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
3045 r"""SETTINGS_MANAGER_GetSettingsVersion() -> string"""
3046 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
3049 r"""Proxy of C++ std::vector< int > class."""
3051 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3052 __repr__ = _swig_repr
3055 r"""iterator(intVector self) -> SwigPyIterator"""
3056 return _pcbnew.intVector_iterator(self)
3061 r"""__nonzero__(intVector self) -> bool"""
3062 return _pcbnew.intVector___nonzero__(self)
3065 r"""__bool__(intVector self) -> bool"""
3066 return _pcbnew.intVector___bool__(self)
3068 def __len__(self) -> "std::vector< int >::size_type
":
3069 r"""__len__(intVector self) -> std::vector< int >::size_type"""
3070 return _pcbnew.intVector___len__(self)
3072 def __getslice__(self, i:
"std::vector< int >::difference_type", j:
"std::vector< int >::difference_type") ->
"std::vector< int,std::allocator< int > > *":
3073 r"""__getslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> intVector"""
3074 return _pcbnew.intVector___getslice__(self, i, j)
3078 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)
3079 __setslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, intVector v)
3081 return _pcbnew.intVector___setslice__(self, *args)
3083 def __delslice__(self, i:
"std::vector< int >::difference_type", j:
"std::vector< int >::difference_type") ->
"void":
3084 r"""__delslice__(intVector self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"""
3085 return _pcbnew.intVector___delslice__(self, i, j)
3089 __delitem__(intVector self, std::vector< int >::difference_type i)
3090 __delitem__(intVector self, PySliceObject * slice)
3092 return _pcbnew.intVector___delitem__(self, *args)
3094 def __getitem__(self, *args) -> "std::vector< int >::value_type const &
":
3096 __getitem__(intVector self, PySliceObject * slice) -> intVector
3097 __getitem__(intVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &
3099 return _pcbnew.intVector___getitem__(self, *args)
3103 __setitem__(intVector self, PySliceObject * slice, intVector v)
3104 __setitem__(intVector self, PySliceObject * slice)
3105 __setitem__(intVector self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)
3107 return _pcbnew.intVector___setitem__(self, *args)
3109 def pop(self) -> "std::vector< int >::value_type
":
3110 r"""pop(intVector self) -> std::vector< int >::value_type"""
3111 return _pcbnew.intVector_pop(self)
3113 def append(self, x:
"std::vector< int >::value_type const &") ->
"void":
3114 r"""append(intVector self, std::vector< int >::value_type const & x)"""
3115 return _pcbnew.intVector_append(self, x)
3118 r"""empty(intVector self) -> bool"""
3119 return _pcbnew.intVector_empty(self)
3121 def size(self) -> "std::vector< int >::size_type
":
3122 r"""size(intVector self) -> std::vector< int >::size_type"""
3123 return _pcbnew.intVector_size(self)
3125 def swap(self, v:
"intVector") ->
"void":
3126 r"""swap(intVector self, intVector v)"""
3127 return _pcbnew.intVector_swap(self, v)
3129 def begin(self) -> "std::vector< int >::iterator
":
3130 r"""begin(intVector self) -> std::vector< int >::iterator"""
3131 return _pcbnew.intVector_begin(self)
3133 def end(self) -> "std::vector< int >::iterator
":
3134 r"""end(intVector self) -> std::vector< int >::iterator"""
3135 return _pcbnew.intVector_end(self)
3137 def rbegin(self) -> "std::vector< int >::reverse_iterator
":
3138 r"""rbegin(intVector self) -> std::vector< int >::reverse_iterator"""
3139 return _pcbnew.intVector_rbegin(self)
3141 def rend(self) -> "std::vector< int >::reverse_iterator
":
3142 r"""rend(intVector self) -> std::vector< int >::reverse_iterator"""
3143 return _pcbnew.intVector_rend(self)
3146 r"""clear(intVector self)"""
3147 return _pcbnew.intVector_clear(self)
3150 r"""get_allocator(intVector self) -> std::vector< int >::allocator_type"""
3151 return _pcbnew.intVector_get_allocator(self)
3154 r"""pop_back(intVector self)"""
3155 return _pcbnew.intVector_pop_back(self)
3157 def erase(self, *args) -> "std::vector< int >::iterator
":
3159 erase(intVector self, std::vector< int >::iterator pos) -> std::vector< int >::iterator
3160 erase(intVector self, std::vector< int >::iterator first, std::vector< int >::iterator last) -> std::vector< int >::iterator
3162 return _pcbnew.intVector_erase(self, *args)
3166 __init__(intVector self) -> intVector
3167 __init__(intVector self, intVector other) -> intVector
3168 __init__(intVector self, std::vector< int >::size_type size) -> intVector
3169 __init__(intVector self, std::vector< int >::size_type size, std::vector< int >::value_type const & value) -> intVector
3171 _pcbnew.intVector_swiginit(self, _pcbnew.new_intVector(*args))
3173 def push_back(self, x:
"std::vector< int >::value_type const &") ->
"void":
3174 r"""push_back(intVector self, std::vector< int >::value_type const & x)"""
3175 return _pcbnew.intVector_push_back(self, x)
3177 def front(self) -> "std::vector< int >::value_type const &
":
3178 r"""front(intVector self) -> std::vector< int >::value_type const &"""
3179 return _pcbnew.intVector_front(self)
3181 def back(self) -> "std::vector< int >::value_type const &
":
3182 r"""back(intVector self) -> std::vector< int >::value_type const &"""
3183 return _pcbnew.intVector_back(self)
3185 def assign(self, n:
"std::vector< int >::size_type", x:
"std::vector< int >::value_type const &") ->
"void":
3186 r"""assign(intVector self, std::vector< int >::size_type n, std::vector< int >::value_type const & x)"""
3187 return _pcbnew.intVector_assign(self, n, x)
3191 resize(intVector self, std::vector< int >::size_type new_size)
3192 resize(intVector self, std::vector< int >::size_type new_size, std::vector< int >::value_type const & x)
3194 return _pcbnew.intVector_resize(self, *args)
3198 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::value_type const & x) -> std::vector< int >::iterator
3199 insert(intVector self, std::vector< int >::iterator pos, std::vector< int >::size_type n, std::vector< int >::value_type const & x)
3201 return _pcbnew.intVector_insert(self, *args)
3203 def reserve(self, n:
"std::vector< int >::size_type") ->
"void":
3204 r"""reserve(intVector self, std::vector< int >::size_type n)"""
3205 return _pcbnew.intVector_reserve(self, n)
3208 r"""capacity(intVector self) -> std::vector< int >::size_type"""
3209 return _pcbnew.intVector_capacity(self)
3210 __swig_destroy__ = _pcbnew.delete_intVector
3213_pcbnew.intVector_swigregister(intVector)
3216 r"""Proxy of C++ std::map< std::string,UTF8 > class."""
3218 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3219 __repr__ = _swig_repr
3222 r"""iterator(str_utf8_Map self) -> SwigPyIterator"""
3223 return _pcbnew.str_utf8_Map_iterator(self)
3228 r"""__nonzero__(str_utf8_Map self) -> bool"""
3229 return _pcbnew.str_utf8_Map___nonzero__(self)
3232 r"""__bool__(str_utf8_Map self) -> bool"""
3233 return _pcbnew.str_utf8_Map___bool__(self)
3235 def __len__(self) -> "std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type
":
3236 r"""__len__(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
3237 return _pcbnew.str_utf8_Map___len__(self)
3247 def __getitem__(self, key:
"string") ->
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::mapped_type const &":
3248 r"""__getitem__(str_utf8_Map self, string key) -> UTF8"""
3249 return _pcbnew.str_utf8_Map___getitem__(self, key)
3252 r"""__delitem__(str_utf8_Map self, string key)"""
3253 return _pcbnew.str_utf8_Map___delitem__(self, key)
3256 r"""has_key(str_utf8_Map self, string key) -> bool"""
3257 return _pcbnew.str_utf8_Map_has_key(self, key)
3260 r"""keys(str_utf8_Map self) -> PyObject *"""
3261 return _pcbnew.str_utf8_Map_keys(self)
3264 r"""values(str_utf8_Map self) -> PyObject *"""
3265 return _pcbnew.str_utf8_Map_values(self)
3268 r"""items(str_utf8_Map self) -> PyObject *"""
3269 return _pcbnew.str_utf8_Map_items(self)
3272 r"""__contains__(str_utf8_Map self, string key) -> bool"""
3273 return _pcbnew.str_utf8_Map___contains__(self, key)
3276 r"""key_iterator(str_utf8_Map self) -> SwigPyIterator"""
3277 return _pcbnew.str_utf8_Map_key_iterator(self)
3280 r"""value_iterator(str_utf8_Map self) -> SwigPyIterator"""
3281 return _pcbnew.str_utf8_Map_value_iterator(self)
3286 __setitem__(str_utf8_Map self, string key, UTF8 x)
3288 return _pcbnew.str_utf8_Map___setitem__(self, *args)
3291 r"""asdict(str_utf8_Map self) -> PyObject *"""
3292 return _pcbnew.str_utf8_Map_asdict(self)
3296 __init__(str_utf8_Map self, std::less< std::basic_string< char,std::char_traits< char >,std::allocator< char > > > const & other) -> str_utf8_Map
3297 __init__(str_utf8_Map self) -> str_utf8_Map
3298 __init__(str_utf8_Map self, str_utf8_Map other) -> str_utf8_Map
3300 _pcbnew.str_utf8_Map_swiginit(self, _pcbnew.new_str_utf8_Map(*args))
3303 r"""empty(str_utf8_Map self) -> bool"""
3304 return _pcbnew.str_utf8_Map_empty(self)
3306 def size(self) -> "std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type
":
3307 r"""size(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
3308 return _pcbnew.str_utf8_Map_size(self)
3310 def swap(self, v:
"str_utf8_Map") ->
"void":
3311 r"""swap(str_utf8_Map self, str_utf8_Map v)"""
3312 return _pcbnew.str_utf8_Map_swap(self, v)
3314 def begin(self) -> "std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator
":
3315 r"""begin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
3316 return _pcbnew.str_utf8_Map_begin(self)
3318 def end(self) -> "std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator
":
3319 r"""end(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
3320 return _pcbnew.str_utf8_Map_end(self)
3322 def rbegin(self) -> "std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator
":
3323 r"""rbegin(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
3324 return _pcbnew.str_utf8_Map_rbegin(self)
3326 def rend(self) -> "std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator
":
3327 r"""rend(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator"""
3328 return _pcbnew.str_utf8_Map_rend(self)
3331 r"""clear(str_utf8_Map self)"""
3332 return _pcbnew.str_utf8_Map_clear(self)
3334 def get_allocator(self) -> "std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::allocator_type
":
3335 r"""get_allocator(str_utf8_Map self) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::allocator_type"""
3336 return _pcbnew.str_utf8_Map_get_allocator(self)
3338 def count(self, x:
"string") ->
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type":
3339 r"""count(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type"""
3340 return _pcbnew.str_utf8_Map_count(self, x)
3344 erase(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type
3345 erase(str_utf8_Map self, std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator position)
3346 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)
3348 return _pcbnew.str_utf8_Map_erase(self, *args)
3350 def find(self, x:
"string") ->
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator":
3351 r"""find(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
3352 return _pcbnew.str_utf8_Map_find(self, x)
3354 def lower_bound(self, x:
"string") ->
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator":
3355 r"""lower_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
3356 return _pcbnew.str_utf8_Map_lower_bound(self, x)
3358 def upper_bound(self, x:
"string") ->
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator":
3359 r"""upper_bound(str_utf8_Map self, string x) -> std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator"""
3360 return _pcbnew.str_utf8_Map_upper_bound(self, x)
3361 __swig_destroy__ = _pcbnew.delete_str_utf8_Map
3364_pcbnew.str_utf8_Map_swigregister(str_utf8_Map)
3367 r"""Proxy of C++ std::vector< enum PCB_LAYER_ID > class."""
3369 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3370 __repr__ = _swig_repr
3373 r"""iterator(base_seqVect self) -> SwigPyIterator"""
3374 return _pcbnew.base_seqVect_iterator(self)
3379 r"""__nonzero__(base_seqVect self) -> bool"""
3380 return _pcbnew.base_seqVect___nonzero__(self)
3383 r"""__bool__(base_seqVect self) -> bool"""
3384 return _pcbnew.base_seqVect___bool__(self)
3386 def __len__(self) -> "std::vector< enum PCB_LAYER_ID >::size_type
":
3387 r"""__len__(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
3388 return _pcbnew.base_seqVect___len__(self)
3390 def __getslice__(self, i:
"std::vector< enum PCB_LAYER_ID >::difference_type", j:
"std::vector< enum PCB_LAYER_ID >::difference_type") ->
"std::vector< enum PCB_LAYER_ID,std::allocator< enum PCB_LAYER_ID > > *":
3391 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"""
3392 return _pcbnew.base_seqVect___getslice__(self, i, j)
3396 __setslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)
3397 __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)
3399 return _pcbnew.base_seqVect___setslice__(self, *args)
3401 def __delslice__(self, i:
"std::vector< enum PCB_LAYER_ID >::difference_type", j:
"std::vector< enum PCB_LAYER_ID >::difference_type") ->
"void":
3402 r"""__delslice__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::difference_type j)"""
3403 return _pcbnew.base_seqVect___delslice__(self, i, j)
3407 __delitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i)
3408 __delitem__(base_seqVect self, PySliceObject * slice)
3410 return _pcbnew.base_seqVect___delitem__(self, *args)
3412 def __getitem__(self, *args) -> "std::vector< enum PCB_LAYER_ID >::value_type const &
":
3414 __getitem__(base_seqVect self, PySliceObject * slice) -> base_seqVect
3415 __getitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i) -> std::vector< enum PCB_LAYER_ID >::value_type const &
3417 return _pcbnew.base_seqVect___getitem__(self, *args)
3421 __setitem__(base_seqVect self, PySliceObject * slice, base_seqVect v)
3422 __setitem__(base_seqVect self, PySliceObject * slice)
3423 __setitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i, std::vector< enum PCB_LAYER_ID >::value_type const & x)
3425 return _pcbnew.base_seqVect___setitem__(self, *args)
3427 def pop(self) -> "std::vector< enum PCB_LAYER_ID >::value_type
":
3428 r"""pop(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type"""
3429 return _pcbnew.base_seqVect_pop(self)
3431 def append(self, x:
"std::vector< enum PCB_LAYER_ID >::value_type const &") ->
"void":
3432 r"""append(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
3433 return _pcbnew.base_seqVect_append(self, x)
3436 r"""empty(base_seqVect self) -> bool"""
3437 return _pcbnew.base_seqVect_empty(self)
3439 def size(self) -> "std::vector< enum PCB_LAYER_ID >::size_type
":
3440 r"""size(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
3441 return _pcbnew.base_seqVect_size(self)
3443 def swap(self, v:
"base_seqVect") ->
"void":
3444 r"""swap(base_seqVect self, base_seqVect v)"""
3445 return _pcbnew.base_seqVect_swap(self, v)
3447 def begin(self) -> "std::vector< enum PCB_LAYER_ID >::iterator
":
3448 r"""begin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
3449 return _pcbnew.base_seqVect_begin(self)
3451 def end(self) -> "std::vector< enum PCB_LAYER_ID >::iterator
":
3452 r"""end(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::iterator"""
3453 return _pcbnew.base_seqVect_end(self)
3455 def rbegin(self) -> "std::vector< enum PCB_LAYER_ID >::reverse_iterator
":
3456 r"""rbegin(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
3457 return _pcbnew.base_seqVect_rbegin(self)
3459 def rend(self) -> "std::vector< enum PCB_LAYER_ID >::reverse_iterator
":
3460 r"""rend(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::reverse_iterator"""
3461 return _pcbnew.base_seqVect_rend(self)
3464 r"""clear(base_seqVect self)"""
3465 return _pcbnew.base_seqVect_clear(self)
3468 r"""get_allocator(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::allocator_type"""
3469 return _pcbnew.base_seqVect_get_allocator(self)
3472 r"""pop_back(base_seqVect self)"""
3473 return _pcbnew.base_seqVect_pop_back(self)
3475 def erase(self, *args) -> "std::vector< enum PCB_LAYER_ID >::iterator
":
3477 erase(base_seqVect self, std::vector< enum PCB_LAYER_ID >::iterator pos) -> std::vector< enum PCB_LAYER_ID >::iterator
3478 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
3480 return _pcbnew.base_seqVect_erase(self, *args)
3484 __init__(base_seqVect self) -> base_seqVect
3485 __init__(base_seqVect self, base_seqVect other) -> base_seqVect
3486 __init__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type size) -> base_seqVect
3487 __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
3489 _pcbnew.base_seqVect_swiginit(self, _pcbnew.new_base_seqVect(*args))
3491 def push_back(self, x:
"std::vector< enum PCB_LAYER_ID >::value_type const &") ->
"void":
3492 r"""push_back(base_seqVect self, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
3493 return _pcbnew.base_seqVect_push_back(self, x)
3495 def front(self) -> "std::vector< enum PCB_LAYER_ID >::value_type const &
":
3496 r"""front(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
3497 return _pcbnew.base_seqVect_front(self)
3499 def back(self) -> "std::vector< enum PCB_LAYER_ID >::value_type const &
":
3500 r"""back(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::value_type const &"""
3501 return _pcbnew.base_seqVect_back(self)
3503 def assign(self, n:
"std::vector< enum PCB_LAYER_ID >::size_type", x:
"std::vector< enum PCB_LAYER_ID >::value_type const &") ->
"void":
3504 r"""assign(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n, std::vector< enum PCB_LAYER_ID >::value_type const & x)"""
3505 return _pcbnew.base_seqVect_assign(self, n, x)
3509 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size)
3510 resize(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type new_size, std::vector< enum PCB_LAYER_ID >::value_type const & x)
3512 return _pcbnew.base_seqVect_resize(self, *args)
3516 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
3517 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)
3519 return _pcbnew.base_seqVect_insert(self, *args)
3521 def reserve(self, n:
"std::vector< enum PCB_LAYER_ID >::size_type") ->
"void":
3522 r"""reserve(base_seqVect self, std::vector< enum PCB_LAYER_ID >::size_type n)"""
3523 return _pcbnew.base_seqVect_reserve(self, n)
3525 def capacity(self) -> "std::vector< enum PCB_LAYER_ID >::size_type
":
3526 r"""capacity(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::size_type"""
3527 return _pcbnew.base_seqVect_capacity(self)
3528 __swig_destroy__ = _pcbnew.delete_base_seqVect
3531_pcbnew.base_seqVect_swigregister(base_seqVect)
3537""" the list of not loaded python scripts
3538 (usually because there is a syntax error
in python script)
3539 this
is the python script full filenames list.
3540 filenames are separated by
'\n'
3542NOT_LOADED_WIZARDS=""
3544""" the list of paths used to search python scripts.
3545 Stored here to be displayed on request
in Pcbnew
3546 paths are separated by
'\n'
3548PLUGIN_DIRECTORIES_SEARCH=""
3551 the trace of errors during execution of footprint wizards scripts
3552 Warning: strings (internally unicode) are returned
as UTF-8 compatible C strings
3557def GetUnLoadableWizards():
3558 global NOT_LOADED_WIZARDS
3561 if sys.version_info[0] < 3:
3562 utf8_str = NOT_LOADED_WIZARDS.encode(
'UTF-8' )
3564 utf8_str = NOT_LOADED_WIZARDS
3569 global PLUGIN_DIRECTORIES_SEARCH
3572 if sys.version_info[0] < 3:
3573 utf8_str = PLUGIN_DIRECTORIES_SEARCH.encode(
'UTF-8' )
3575 utf8_str = PLUGIN_DIRECTORIES_SEARCH
3580 global FULL_BACK_TRACE
3581 return FULL_BACK_TRACE
3586 Load the plugin module named ModuleName located in the folder Dirname.
3587 The module can be either inside a file called FileName
or a subdirectory
3588 called FileName that contains a __init__.py file.
3589 If this module cannot be loaded, its name
is stored
in failed_wizards_list
3590 and the error trace
is stored
in FULL_BACK_TRACE
3596 global NOT_LOADED_WIZARDS
3597 global FULL_BACK_TRACE
3598 global KICAD_PLUGINS
3602 module_filename = os.path.join( Dirname, FileName )
3603 mtime = os.path.getmtime( module_filename )
3604 mods_before = set( sys.modules )
3606 if ModuleName
in KICAD_PLUGINS:
3607 plugin = KICAD_PLUGINS[ModuleName]
3609 for dependency
in plugin[
"dependencies"]:
3610 if dependency
in sys.modules:
3611 del sys.modules[dependency]
3613 mods_before = set( sys.modules )
3615 if sys.version_info >= (3,0,0):
3617 mod = importlib.import_module( ModuleName )
3619 mod = __import__( ModuleName, locals(), globals() )
3621 mods_after = set( sys.modules ).difference( mods_before )
3622 dependencies = [m
for m
in mods_after
if m.startswith(ModuleName)]
3624 KICAD_PLUGINS[ModuleName]={
"filename":module_filename,
3625 "modification_time":mtime,
3627 "dependencies": dependencies }
3630 if ModuleName
in KICAD_PLUGINS:
3631 del KICAD_PLUGINS[ModuleName]
3633 if NOT_LOADED_WIZARDS !=
"" :
3634 NOT_LOADED_WIZARDS +=
"\n"
3635 NOT_LOADED_WIZARDS += module_filename
3636 FULL_BACK_TRACE += traceback.format_exc()
3641 Initialise Scripting/Plugin python environment and load plugins.
3644 Note: bundlepath
and userpath are given utf8 encoded, to be compatible
with asimple C string
3645 bundlepath -- The path to the bundled scripts.
3646 The bundled Plugins are relative to this path,
in the
3647 "plugins" subdirectory.
3648 WARNING: bundlepath must use
'/' as path separator,
and not '\'
3649 because it creates issues:
3650 \n and \r are seen
as a escaped seq when passing this string to this method
3651 I am thinking this
is due to the fact LoadPlugins
is called
from C++ code by
3652 PyRun_SimpleString()
3654 NOTE: These are all of the possible
"default" search paths
for kicad
3655 python scripts. These paths will ONLY be added to the python
3656 search path ONLY IF they already exist.
3658 The Scripts bundled
with the KiCad installation:
3660 <bundlepath>/plugins/
3662 The Scripts relative to the KiCad Users configuration:
3666 The plugins
from 3rd party packages:
3667 $KICAD_3RD_PARTY/plugins/
3674 if sys.version_info >= (3,3,0):
3676 importlib.invalidate_caches()
3679 bundlepath and userpath are strings utf-8 encoded (compatible
"C" strings).
3680 So convert these utf8 encoding to unicode strings to avoid any encoding issue.
3683 bundlepath = bundlepath.decode(
'UTF-8' )
3684 userpath = userpath.decode(
'UTF-8' )
3685 thirdpartypath = thirdpartypath.decode(
'UTF-8' )
3686 except AttributeError:
3690 plugin_directories=[]
3693 To be consistent with others paths, on windows, convert the unix
'/' separator
3694 to the windows separator, although using
'/' works
3696 if sys.platform.startswith(
'win32'):
3698 bundlepath = bundlepath.replace(
"/",
"\\")
3700 thirdpartypath = thirdpartypath.replace(
"/",
"\\")
3703 plugin_directories.append(bundlepath)
3704 plugin_directories.append(os.path.join(bundlepath,
'plugins'))
3707 plugin_directories.append(os.path.join(config_path,
'scripting'))
3708 plugin_directories.append(os.path.join(config_path,
'scripting',
'plugins'))
3711 plugin_directories.append(userpath)
3712 plugin_directories.append(os.path.join(userpath,
'plugins'))
3715 plugin_directories.append(thirdpartypath)
3717 global PLUGIN_DIRECTORIES_SEARCH
3718 PLUGIN_DIRECTORIES_SEARCH=
""
3719 for plugins_dir
in plugin_directories:
3720 if PLUGIN_DIRECTORIES_SEARCH !=
"" :
3721 PLUGIN_DIRECTORIES_SEARCH +=
"\n"
3722 PLUGIN_DIRECTORIES_SEARCH += plugins_dir
3724 global FULL_BACK_TRACE
3727 global NOT_LOADED_WIZARDS
3728 NOT_LOADED_WIZARDS =
""
3730 global KICAD_PLUGINS
3732 for plugins_dir
in plugin_directories:
3733 if not os.path.isdir( plugins_dir ):
3736 if plugins_dir
not in sys.path:
3737 sys.path.append( plugins_dir )
3739 for module
in os.listdir(plugins_dir):
3740 fullPath = os.path.join( plugins_dir, module )
3742 if os.path.isdir( fullPath ):
3743 if os.path.exists( os.path.join( fullPath,
'__init__.py' ) ):
3746 if NOT_LOADED_WIZARDS !=
"" :
3747 NOT_LOADED_WIZARDS +=
"\n"
3748 NOT_LOADED_WIZARDS +=
'Skip subdir ' + fullPath
3751 if module ==
'__init__.py' or module[-3:] !=
'.py':
3765 if isinstance(self,FilePlugin):
3768 if isinstance(self,FootprintWizardPlugin):
3769 PYTHON_FOOTPRINT_WIZARD_LIST.register_wizard(self)
3772 if isinstance(self,ActionPlugin):
3774 Get path to .py or .pyc that has definition of plugin
class.
3775 If path
is binary but source also exists, assume definition
is in source.
3777 self.__plugin_path = inspect.getfile(self.__class__)
3778 if self.__plugin_path.endswith(
'.pyc')
and os.path.isfile(self.__plugin_path[:-1]):
3779 self.__plugin_path = self.__plugin_path[:-1]
3780 self.__plugin_path = self.__plugin_path +
'/' + self.__class__.__name__
3781 PYTHON_ACTION_PLUGINS.register_action(self)
3787 if isinstance(self,FilePlugin):
3790 if isinstance(self,FootprintWizardPlugin):
3791 PYTHON_FOOTPRINT_WIZARD_LIST.deregister_wizard(self)
3794 if isinstance(self,ActionPlugin):
3795 PYTHON_ACTION_PLUGINS.deregister_action(self)
3806 KiCadPlugin.__init__(self)
3809from math
import ceil, floor, sqrt
3821uNumeric = [uMM, uMils, uFloat, uInteger, uDegrees, uRadians, uPercent]
3822uUnits = [uMM, uMils, uFloat, uInteger, uBool, uDegrees, uRadians, uPercent, uString]
3825 _true = [
'true',
't',
'y',
'yes',
'on',
'1',1,]
3826 _false = [
'false',
'f',
'n',
'no',
'off',
'0',0,
'',
None]
3828 _bools = _true + _false
3830 def __init__(self, page, name, units, default, **kwarg):
3836 if units.lower()
in uUnits:
3838 elif units.lower() ==
'percent':
3839 self.
units = uPercent
3840 elif type(units)
in [list, tuple]:
3841 self.
units =
",".join([str(el).strip()
for el
in units])
3859 if info
is not None:
3860 err = err +
" (" + str(info) +
")"
3864 def Check(self, min_value=None, max_value=None, multiple=None, info=None):
3866 if min_value
is None:
3868 if max_value
is None:
3870 if multiple
is None:
3873 if self.
units not in uUnits
and ',' not in self.
units:
3874 self.
AddError(
"type '{t}' unknown".format(t=self.
units),info)
3877 if self.
units in uNumeric:
3881 if min_value
is not None:
3882 if to_num < min_value:
3883 self.
AddError(
"value '{v}' is below minimum ({m})".format(v=self.
raw_value,m=min_value),info)
3885 if max_value
is not None:
3886 if to_num > max_value:
3887 self.
AddError(
"value '{v}' is above maximum ({m})".format(v=self.
raw_value,m=max_value),info)
3892 if self.
units == uInteger:
3896 if multiple
is not None and multiple > 1:
3897 if (to_int % multiple) > 0:
3898 self.
AddError(
"value '{v}' is not a multiple of {m}".format(v=self.
raw_value,m=multiple),info)
3902 if self.
units == uBool:
3906 self.
AddError(
"value '{v}' is not a boolean value".format(v = self.
raw_value),info)
3912 if self.
units == uInteger:
3914 elif self.
units in uNumeric:
3915 v = v.replace(
",",
".")
3918 if self.
units == uMM:
3921 elif self.
units == uMils:
3927 elif self.
units == uBool:
3928 if v.lower()
in self.
_true:
3939 new_value = str(new_value)
3941 if len(new_value.strip()) == 0:
3942 if not self.
units in [uString, uBool]:
3945 if self.
units == uBool:
3946 new_value =
"1" if new_value.lower()
in self.
_true else "0"
3947 elif self.
units in uNumeric:
3948 new_value = new_value.replace(
",",
".")
3949 elif ',' in self.
units:
3950 if new_value
not in self.
units.split(
','):
3951 new_value = self.
units.split(
',')[0]
3959 if self.
units in [uMM, uMils, uPercent, uRadians, uDegrees]:
3961 elif self.
units == uBool:
3962 s = self.
name +
": {b}".format(b =
"True" if self.
value else "False")
3963 elif self.
units == uString:
3971 KiCadPlugin.__init__(self)
3983 def AddParam(self, page, name, unit, default, **kwarg):
3985 if self.
GetParam(page,name)
is not None:
3989 self.
params.append(param)
3995 if p.page
not in pages:
3998 pages[p.page][p.name] = p.value
4020 raise NotImplementedError
4027 if p.page == page
and p.name == name:
4033 self.
GetParam(page,name).Check(**kwarg)
4036 return any([len(p.error_list) > 0
for p
in self.
params])
4042 if p.page
not in page_list:
4043 page_list.append(p.page)
4048 return len(self.
pages)
4051 return self.
pages[page_n]
4057 if p.page == page_name:
4067 return [p.designator
for p
in params]
4071 return [p.name
for p
in params]
4075 return [str(p.raw_value)
for p
in params]
4079 return [str(
"\n".join(p.error_list))
for p
in params]
4083 return [str(p.units)
for p
in params]
4087 return [str(p.hint)
for p
in params]
4091 return [str(p.designator)
for p
in params]
4097 for i, param
in enumerate(params):
4098 if i >= len(list_of_values):
4100 param.SetValue(list_of_values[i])
4110 return self.buildmessages
4113 text =
"Footprint Wizard Name: {name}\n".format(name=self.
GetName())
4114 text +=
"Footprint Wizard Description: {desc}\n".format(desc=self.
GetDescription())
4118 text +=
"Pages: {n}\n".format(n=n_pages)
4120 for i
in range(n_pages):
4125 text +=
"{name}\n".format(name=name)
4127 for j
in range(len(params)):
4128 text += (
"\t{param}{err}\n".format(
4129 param = str(params[j]),
4130 err =
' *' if len(params[j].error_list) > 0
else ''
4134 text +=
" * Errors exist for these parameters"
4140 KiCadPlugin.__init__( self )
4147 self.
name =
"Undefined Action plugin"
4173SH_RECT = _pcbnew.SH_RECT
4175SH_SEGMENT = _pcbnew.SH_SEGMENT
4177SH_LINE_CHAIN = _pcbnew.SH_LINE_CHAIN
4179SH_CIRCLE = _pcbnew.SH_CIRCLE
4181SH_SIMPLE = _pcbnew.SH_SIMPLE
4183SH_POLY_SET = _pcbnew.SH_POLY_SET
4185SH_COMPOUND = _pcbnew.SH_COMPOUND
4187SH_ARC = _pcbnew.SH_ARC
4189SH_NULL = _pcbnew.SH_NULL
4191SH_POLY_SET_TRIANGLE = _pcbnew.SH_POLY_SET_TRIANGLE
4195 r"""SHAPE_TYPE_asString(SHAPE_TYPE a) -> wxString"""
4196 return _pcbnew.SHAPE_TYPE_asString(a)
4198 r"""Proxy of C++ SHAPE_BASE class."""
4200 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4201 __repr__ = _swig_repr
4204 r"""__init__(SHAPE_BASE self, SHAPE_TYPE aType) -> SHAPE_BASE"""
4205 _pcbnew.SHAPE_BASE_swiginit(self, _pcbnew.new_SHAPE_BASE(aType))
4206 __swig_destroy__ = _pcbnew.delete_SHAPE_BASE
4209 r"""Type(SHAPE_BASE self) -> SHAPE_TYPE"""
4210 return _pcbnew.SHAPE_BASE_Type(self)
4213 r"""TypeName(SHAPE_BASE self) -> wxString"""
4214 return _pcbnew.SHAPE_BASE_TypeName(self)
4217 r"""HasIndexableSubshapes(SHAPE_BASE self) -> bool"""
4218 return _pcbnew.SHAPE_BASE_HasIndexableSubshapes(self)
4221 r"""GetIndexableSubshapeCount(SHAPE_BASE self) -> size_t"""
4222 return _pcbnew.SHAPE_BASE_GetIndexableSubshapeCount(self)
4225 r"""GetIndexableSubshapes(SHAPE_BASE self, std::vector< SHAPE *,std::allocator< SHAPE * > > & aSubshapes)"""
4226 return _pcbnew.SHAPE_BASE_GetIndexableSubshapes(self, aSubshapes)
4229_pcbnew.SHAPE_BASE_swigregister(SHAPE_BASE)
4232 r"""Proxy of C++ SHAPE class."""
4234 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4237 raise AttributeError(
"No constructor defined - class is abstract")
4238 __repr__ = _swig_repr
4239 MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU
4241 __swig_destroy__ = _pcbnew.delete_SHAPE
4244 r"""Clone(SHAPE self) -> SHAPE"""
4245 return _pcbnew.SHAPE_Clone(self)
4248 r"""IsNull(SHAPE self) -> bool"""
4249 return _pcbnew.SHAPE_IsNull(self)
4253 Collide(SHAPE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
4254 Collide(SHAPE self, SHAPE aShape, int aClearance, VECTOR2I aMTV) -> bool
4255 Collide(SHAPE self, SHAPE aShape, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
4256 Collide(SHAPE self, SEG const & aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
4258 return _pcbnew.SHAPE_Collide(self, *args)
4260 def BBox(self, aClearance:
"int"=0) ->
"BOX2I const":
4261 r"""BBox(SHAPE self, int aClearance=0) -> BOX2I const"""
4262 return _pcbnew.SHAPE_BBox(self, aClearance)
4265 r"""Centre(SHAPE self) -> VECTOR2I"""
4266 return _pcbnew.SHAPE_Centre(self)
4269 r"""Rotate(SHAPE self, double aAngle, VECTOR2I aCenter={ 0, 0 })"""
4270 return _pcbnew.SHAPE_Rotate(self, *args)
4272 def Move(self, aVector:
"VECTOR2I") ->
"void":
4273 r"""Move(SHAPE self, VECTOR2I aVector)"""
4274 return _pcbnew.SHAPE_Move(self, aVector)
4277 r"""IsSolid(SHAPE self) -> bool"""
4278 return _pcbnew.SHAPE_IsSolid(self)
4280 def Parse(self, aStream:
"std::stringstream &") ->
"bool":
4281 r"""Parse(SHAPE self, std::stringstream & aStream) -> bool"""
4282 return _pcbnew.SHAPE_Parse(self, aStream)
4285 r"""Format(SHAPE self) -> string"""
4286 return _pcbnew.SHAPE_Format(self)
4289_pcbnew.SHAPE_swigregister(SHAPE)
4292 r"""Proxy of C++ SHAPE_LINE_CHAIN_BASE class."""
4294 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4297 raise AttributeError(
"No constructor defined - class is abstract")
4298 __repr__ = _swig_repr
4299 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN_BASE
4303 Collide(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
4304 Collide(SHAPE_LINE_CHAIN_BASE self, SEG const & aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
4306 return _pcbnew.SHAPE_LINE_CHAIN_BASE_Collide(self, *args)
4309 r"""SquaredDistance(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, bool aOutlineOnly=False) -> SEG::ecoord"""
4310 return _pcbnew.SHAPE_LINE_CHAIN_BASE_SquaredDistance(self, aP, aOutlineOnly)
4312 def PointInside(self, aPt:
"VECTOR2I", aAccuracy:
"int"=0, aUseBBoxCache:
"bool"=
False) ->
"bool":
4313 r"""PointInside(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aPt, int aAccuracy=0, bool aUseBBoxCache=False) -> bool"""
4314 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointInside(self, aPt, aAccuracy, aUseBBoxCache)
4317 r"""PointOnEdge(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> bool"""
4318 return _pcbnew.SHAPE_LINE_CHAIN_BASE_PointOnEdge(self, aP, aAccuracy)
4321 r"""EdgeContainingPoint(SHAPE_LINE_CHAIN_BASE self, VECTOR2I aP, int aAccuracy=0) -> int"""
4322 return _pcbnew.SHAPE_LINE_CHAIN_BASE_EdgeContainingPoint(self, aP, aAccuracy)
4325 r"""GetPoint(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> VECTOR2I"""
4326 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPoint(self, aIndex)
4329 r"""GetSegment(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> SEG const"""
4330 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegment(self, aIndex)
4333 r"""GetPointCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
4334 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPointCount(self)
4337 r"""GetSegmentCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
4338 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegmentCount(self)
4341 r"""IsClosed(SHAPE_LINE_CHAIN_BASE self) -> bool"""
4342 return _pcbnew.SHAPE_LINE_CHAIN_BASE_IsClosed(self)
4345 r"""GetCachedBBox(SHAPE_LINE_CHAIN_BASE self) -> BOX2I *"""
4346 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetCachedBBox(self)
4349_pcbnew.SHAPE_LINE_CHAIN_BASE_swigregister(SHAPE_LINE_CHAIN_BASE)
4352 r"""Proxy of C++ VECTOR2< int > class."""
4354 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4355 __repr__ = _swig_repr
4356 x = property(_pcbnew.VECTOR2I_x_get, _pcbnew.VECTOR2I_x_set, doc=
r"""x : int""")
4357 y = property(_pcbnew.VECTOR2I_y_get, _pcbnew.VECTOR2I_y_set, doc=
r"""y : int""")
4361 __init__(VECTOR2I self) -> VECTOR2I
4362 __init__(VECTOR2I self, wxPoint aPoint) -> VECTOR2I
4363 __init__(VECTOR2I self, wxSize aSize) -> VECTOR2I
4364 __init__(VECTOR2I self, int x, int y) -> VECTOR2I
4365 __init__(VECTOR2I self, VECTOR2I aVec) -> VECTOR2I
4367 _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args))
4370 r"""getWxPoint(VECTOR2I self) -> wxPoint"""
4371 return _pcbnew.VECTOR2I_getWxPoint(self)
4374 r"""EuclideanNorm(VECTOR2I self) -> int"""
4375 return _pcbnew.VECTOR2I_EuclideanNorm(self)
4378 r"""SquaredEuclideanNorm(VECTOR2I self) -> VECTOR2< int >::extended_type"""
4379 return _pcbnew.VECTOR2I_SquaredEuclideanNorm(self)
4382 r"""Perpendicular(VECTOR2I self) -> VECTOR2I"""
4383 return _pcbnew.VECTOR2I_Perpendicular(self)
4385 def Resize(self, aNewLength:
"int") ->
"VECTOR2< int >":
4386 r"""Resize(VECTOR2I self, int aNewLength) -> VECTOR2I"""
4387 return _pcbnew.VECTOR2I_Resize(self, aNewLength)
4390 r"""Angle(VECTOR2I self) -> double"""
4391 return _pcbnew.VECTOR2I_Angle(self)
4393 def Rotate(self, aAngle:
"double") ->
"VECTOR2< int >":
4394 r"""Rotate(VECTOR2I self, double aAngle) -> VECTOR2I"""
4395 return _pcbnew.VECTOR2I_Rotate(self, aAngle)
4398 r"""Format(VECTOR2I self) -> string"""
4399 return _pcbnew.VECTOR2I_Format(self)
4401 def Cross(self, aVector:
"VECTOR2I") ->
"VECTOR2< int >::extended_type":
4402 r"""Cross(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
4403 return _pcbnew.VECTOR2I_Cross(self, aVector)
4405 def Dot(self, aVector:
"VECTOR2I") ->
"VECTOR2< int >::extended_type":
4406 r"""Dot(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type"""
4407 return _pcbnew.VECTOR2I_Dot(self, aVector)
4411 __add__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4412 __add__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4414 return _pcbnew.VECTOR2I___add__(self, *args)
4418 __iadd__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4419 __iadd__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4421 return _pcbnew.VECTOR2I___iadd__(self, *args)
4425 __sub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4426 __sub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4428 return _pcbnew.VECTOR2I___sub__(self, *args)
4432 __isub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4433 __isub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4435 return _pcbnew.VECTOR2I___isub__(self, *args)
4438 r"""__neg__(VECTOR2I self) -> VECTOR2I"""
4439 return _pcbnew.VECTOR2I___neg__(self)
4443 __mul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type
4444 __mul__(VECTOR2I self, int const & aFactor) -> VECTOR2I
4446 return _pcbnew.VECTOR2I___mul__(self, *args)
4449 return _pcbnew.VECTOR2I___truediv__(self, *args)
4450 __div__ = __truediv__
4454 def __eq__(self, aVector:
"VECTOR2I") ->
"bool":
4455 r"""__eq__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4456 return _pcbnew.VECTOR2I___eq__(self, aVector)
4458 def __ne__(self, aVector:
"VECTOR2I") ->
"bool":
4459 r"""__ne__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4460 return _pcbnew.VECTOR2I___ne__(self, aVector)
4462 def __lt__(self, aVector:
"VECTOR2I") ->
"bool":
4463 r"""__lt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4464 return _pcbnew.VECTOR2I___lt__(self, aVector)
4466 def __le__(self, aVector:
"VECTOR2I") ->
"bool":
4467 r"""__le__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4468 return _pcbnew.VECTOR2I___le__(self, aVector)
4470 def __gt__(self, aVector:
"VECTOR2I") ->
"bool":
4471 r"""__gt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4472 return _pcbnew.VECTOR2I___gt__(self, aVector)
4474 def __ge__(self, aVector:
"VECTOR2I") ->
"bool":
4475 r"""__ge__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4476 return _pcbnew.VECTOR2I___ge__(self, aVector)
4478 def Set(self, x:
"long", y:
"long") ->
"void":
4479 r"""Set(VECTOR2I self, long x, long y)"""
4480 return _pcbnew.VECTOR2I_Set(self, x, y)
4482 def Get(self) -> "PyObject *":
4483 r"""Get(VECTOR2I self) -> PyObject *"""
4484 return _pcbnew.VECTOR2I_Get(self)
4486 def __eq__(self,other):
return (self.
x==other.x
and self.
y==other.y)
4487 def __ne__(self,other):
return not (self==other)
4489 def __repr__(self):
return 'VECTOR2I'+str(self.
Get())
4502 __swig_destroy__ = _pcbnew.delete_VECTOR2I
4505_pcbnew.VECTOR2I_swigregister(VECTOR2I)
4508 r"""Proxy of C++ std::vector< VECTOR2I > class."""
4510 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4511 __repr__ = _swig_repr
4514 r"""iterator(VECTOR_VECTOR2I self) -> SwigPyIterator"""
4515 return _pcbnew.VECTOR_VECTOR2I_iterator(self)
4520 r"""__nonzero__(VECTOR_VECTOR2I self) -> bool"""
4521 return _pcbnew.VECTOR_VECTOR2I___nonzero__(self)
4524 r"""__bool__(VECTOR_VECTOR2I self) -> bool"""
4525 return _pcbnew.VECTOR_VECTOR2I___bool__(self)
4527 def __len__(self) -> "std::vector< VECTOR2< int > >::size_type
":
4528 r"""__len__(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
4529 return _pcbnew.VECTOR_VECTOR2I___len__(self)
4531 def __getslice__(self, i:
"std::vector< VECTOR2< int > >::difference_type", j:
"std::vector< VECTOR2< int > >::difference_type") ->
"std::vector< VECTOR2< int >,std::allocator< VECTOR2< int > > > *":
4532 r"""__getslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j) -> VECTOR_VECTOR2I"""
4533 return _pcbnew.VECTOR_VECTOR2I___getslice__(self, i, j)
4537 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)
4538 __setslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j, VECTOR_VECTOR2I v)
4540 return _pcbnew.VECTOR_VECTOR2I___setslice__(self, *args)
4542 def __delslice__(self, i:
"std::vector< VECTOR2< int > >::difference_type", j:
"std::vector< VECTOR2< int > >::difference_type") ->
"void":
4543 r"""__delslice__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, std::vector< VECTOR2< int > >::difference_type j)"""
4544 return _pcbnew.VECTOR_VECTOR2I___delslice__(self, i, j)
4548 __delitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i)
4549 __delitem__(VECTOR_VECTOR2I self, PySliceObject * slice)
4551 return _pcbnew.VECTOR_VECTOR2I___delitem__(self, *args)
4553 def __getitem__(self, *args) -> "std::vector< VECTOR2< int > >::value_type const &
":
4555 __getitem__(VECTOR_VECTOR2I self, PySliceObject * slice) -> VECTOR_VECTOR2I
4556 __getitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i) -> VECTOR2I
4558 return _pcbnew.VECTOR_VECTOR2I___getitem__(self, *args)
4562 __setitem__(VECTOR_VECTOR2I self, PySliceObject * slice, VECTOR_VECTOR2I v)
4563 __setitem__(VECTOR_VECTOR2I self, PySliceObject * slice)
4564 __setitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i, VECTOR2I x)
4566 return _pcbnew.VECTOR_VECTOR2I___setitem__(self, *args)
4568 def pop(self) -> "std::vector< VECTOR2< int > >::value_type
":
4569 r"""pop(VECTOR_VECTOR2I self) -> VECTOR2I"""
4570 return _pcbnew.VECTOR_VECTOR2I_pop(self)
4573 r"""append(VECTOR_VECTOR2I self, VECTOR2I x)"""
4574 return _pcbnew.VECTOR_VECTOR2I_append(self, x)
4577 r"""empty(VECTOR_VECTOR2I self) -> bool"""
4578 return _pcbnew.VECTOR_VECTOR2I_empty(self)
4580 def size(self) -> "std::vector< VECTOR2< int > >::size_type
":
4581 r"""size(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
4582 return _pcbnew.VECTOR_VECTOR2I_size(self)
4584 def swap(self, v:
"VECTOR_VECTOR2I") ->
"void":
4585 r"""swap(VECTOR_VECTOR2I self, VECTOR_VECTOR2I v)"""
4586 return _pcbnew.VECTOR_VECTOR2I_swap(self, v)
4588 def begin(self) -> "std::vector< VECTOR2< int > >::iterator
":
4589 r"""begin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
4590 return _pcbnew.VECTOR_VECTOR2I_begin(self)
4592 def end(self) -> "std::vector< VECTOR2< int > >::iterator
":
4593 r"""end(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::iterator"""
4594 return _pcbnew.VECTOR_VECTOR2I_end(self)
4596 def rbegin(self) -> "std::vector< VECTOR2< int > >::reverse_iterator
":
4597 r"""rbegin(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
4598 return _pcbnew.VECTOR_VECTOR2I_rbegin(self)
4600 def rend(self) -> "std::vector< VECTOR2< int > >::reverse_iterator
":
4601 r"""rend(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::reverse_iterator"""
4602 return _pcbnew.VECTOR_VECTOR2I_rend(self)
4605 r"""clear(VECTOR_VECTOR2I self)"""
4606 return _pcbnew.VECTOR_VECTOR2I_clear(self)
4609 r"""get_allocator(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::allocator_type"""
4610 return _pcbnew.VECTOR_VECTOR2I_get_allocator(self)
4613 r"""pop_back(VECTOR_VECTOR2I self)"""
4614 return _pcbnew.VECTOR_VECTOR2I_pop_back(self)
4616 def erase(self, *args) -> "std::vector< VECTOR2< int > >::iterator
":
4618 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos) -> std::vector< VECTOR2< int > >::iterator
4619 erase(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator first, std::vector< VECTOR2< int > >::iterator last) -> std::vector< VECTOR2< int > >::iterator
4621 return _pcbnew.VECTOR_VECTOR2I_erase(self, *args)
4625 __init__(VECTOR_VECTOR2I self) -> VECTOR_VECTOR2I
4626 __init__(VECTOR_VECTOR2I self, VECTOR_VECTOR2I other) -> VECTOR_VECTOR2I
4627 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size) -> VECTOR_VECTOR2I
4628 __init__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type size, VECTOR2I value) -> VECTOR_VECTOR2I
4630 _pcbnew.VECTOR_VECTOR2I_swiginit(self, _pcbnew.new_VECTOR_VECTOR2I(*args))
4633 r"""push_back(VECTOR_VECTOR2I self, VECTOR2I x)"""
4634 return _pcbnew.VECTOR_VECTOR2I_push_back(self, x)
4636 def front(self) -> "std::vector< VECTOR2< int > >::value_type const &
":
4637 r"""front(VECTOR_VECTOR2I self) -> VECTOR2I"""
4638 return _pcbnew.VECTOR_VECTOR2I_front(self)
4640 def back(self) -> "std::vector< VECTOR2< int > >::value_type const &
":
4641 r"""back(VECTOR_VECTOR2I self) -> VECTOR2I"""
4642 return _pcbnew.VECTOR_VECTOR2I_back(self)
4644 def assign(self, n:
"std::vector< VECTOR2< int > >::size_type", x:
"VECTOR2I") ->
"void":
4645 r"""assign(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)"""
4646 return _pcbnew.VECTOR_VECTOR2I_assign(self, n, x)
4650 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size)
4651 resize(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type new_size, VECTOR2I x)
4653 return _pcbnew.VECTOR_VECTOR2I_resize(self, *args)
4657 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, VECTOR2I x) -> std::vector< VECTOR2< int > >::iterator
4658 insert(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::iterator pos, std::vector< VECTOR2< int > >::size_type n, VECTOR2I x)
4660 return _pcbnew.VECTOR_VECTOR2I_insert(self, *args)
4662 def reserve(self, n:
"std::vector< VECTOR2< int > >::size_type") ->
"void":
4663 r"""reserve(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::size_type n)"""
4664 return _pcbnew.VECTOR_VECTOR2I_reserve(self, n)
4666 def capacity(self) -> "std::vector< VECTOR2< int > >::size_type
":
4667 r"""capacity(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::size_type"""
4668 return _pcbnew.VECTOR_VECTOR2I_capacity(self)
4669 __swig_destroy__ = _pcbnew.delete_VECTOR_VECTOR2I
4672_pcbnew.VECTOR_VECTOR2I_swigregister(VECTOR_VECTOR2I)
4675 r"""Proxy of C++ CLIPPER_Z_VALUE class."""
4677 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4678 __repr__ = _swig_repr
4682 __init__(CLIPPER_Z_VALUE self) -> CLIPPER_Z_VALUE
4683 __init__(CLIPPER_Z_VALUE self, std::pair< ssize_t,ssize_t > const aShapeIndices, ssize_t aOffset=0) -> CLIPPER_Z_VALUE
4685 _pcbnew.CLIPPER_Z_VALUE_swiginit(self, _pcbnew.new_CLIPPER_Z_VALUE(*args))
4686 m_FirstArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_FirstArcIdx_set, doc=r"""m_FirstArcIdx : ssize_t""")
4687 m_SecondArcIdx = property(_pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_get, _pcbnew.CLIPPER_Z_VALUE_m_SecondArcIdx_set, doc=
r"""m_SecondArcIdx : ssize_t""")
4688 __swig_destroy__ = _pcbnew.delete_CLIPPER_Z_VALUE
4691_pcbnew.CLIPPER_Z_VALUE_swigregister(CLIPPER_Z_VALUE)
4694 r"""Proxy of C++ SHAPE_LINE_CHAIN class."""
4696 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4697 __repr__ = _swig_repr
4701 __init__(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN
4702 __init__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aShape) -> SHAPE_LINE_CHAIN
4703 __init__(SHAPE_LINE_CHAIN self, intVector aV) -> SHAPE_LINE_CHAIN
4704 __init__(SHAPE_LINE_CHAIN self, wxPoint_Vector aV, bool aClosed=False) -> SHAPE_LINE_CHAIN
4705 __init__(SHAPE_LINE_CHAIN self, VECTOR_VECTOR2I aV, bool aClosed=
False) -> SHAPE_LINE_CHAIN
4706 __init__(SHAPE_LINE_CHAIN self, SHAPE_ARC const & aArc, bool aClosed=
False) -> SHAPE_LINE_CHAIN
4707 __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
4709 _pcbnew.SHAPE_LINE_CHAIN_swiginit(self, _pcbnew.new_SHAPE_LINE_CHAIN(*args))
4710 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN
4714 Collide(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
4715 Collide(SHAPE_LINE_CHAIN self, SEG const & aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
4717 return _pcbnew.SHAPE_LINE_CHAIN_Collide(self, *args)
4720 r"""Clone(SHAPE_LINE_CHAIN self) -> SHAPE"""
4721 return _pcbnew.SHAPE_LINE_CHAIN_Clone(self)
4724 r"""Clear(SHAPE_LINE_CHAIN self)"""
4725 return _pcbnew.SHAPE_LINE_CHAIN_Clear(self)
4728 r"""SetClosed(SHAPE_LINE_CHAIN self, bool aClosed)"""
4729 return _pcbnew.SHAPE_LINE_CHAIN_SetClosed(self, aClosed)
4732 r"""IsClosed(SHAPE_LINE_CHAIN self) -> bool"""
4733 return _pcbnew.SHAPE_LINE_CHAIN_IsClosed(self)
4736 r"""SetWidth(SHAPE_LINE_CHAIN self, int aWidth)"""
4737 return _pcbnew.SHAPE_LINE_CHAIN_SetWidth(self, aWidth)
4740 r"""Width(SHAPE_LINE_CHAIN self) -> int"""
4741 return _pcbnew.SHAPE_LINE_CHAIN_Width(self)
4744 r"""SegmentCount(SHAPE_LINE_CHAIN self) -> int"""
4745 return _pcbnew.SHAPE_LINE_CHAIN_SegmentCount(self)
4748 r"""ShapeCount(SHAPE_LINE_CHAIN self) -> int"""
4749 return _pcbnew.SHAPE_LINE_CHAIN_ShapeCount(self)
4752 r"""PointCount(SHAPE_LINE_CHAIN self) -> int"""
4753 return _pcbnew.SHAPE_LINE_CHAIN_PointCount(self)
4756 r"""Segment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
4757 return _pcbnew.SHAPE_LINE_CHAIN_Segment(self, aIndex)
4760 r"""CSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG const"""
4761 return _pcbnew.SHAPE_LINE_CHAIN_CSegment(self, aIndex)
4763 def NextShape(self, aPointIndex:
"int", aForwards:
"bool"=
True) ->
"int":
4764 r"""NextShape(SHAPE_LINE_CHAIN self, int aPointIndex, bool aForwards=True) -> int"""
4765 return _pcbnew.SHAPE_LINE_CHAIN_NextShape(self, aPointIndex, aForwards)
4768 r"""PrevShape(SHAPE_LINE_CHAIN self, int aPointIndex) -> int"""
4769 return _pcbnew.SHAPE_LINE_CHAIN_PrevShape(self, aPointIndex)
4771 def SetPoint(self, aIndex:
"int", aPos:
"VECTOR2I") ->
"void":
4772 r"""SetPoint(SHAPE_LINE_CHAIN self, int aIndex, VECTOR2I aPos)"""
4773 return _pcbnew.SHAPE_LINE_CHAIN_SetPoint(self, aIndex, aPos)
4775 def CPoint(self, aIndex:
"int") ->
"VECTOR2I const &":
4776 r"""CPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I"""
4777 return _pcbnew.SHAPE_LINE_CHAIN_CPoint(self, aIndex)
4779 def CPoints(self) -> "std::vector< VECTOR2I,std::allocator< VECTOR2I > > const &
":
4780 r"""CPoints(SHAPE_LINE_CHAIN self) -> VECTOR_VECTOR2I"""
4781 return _pcbnew.SHAPE_LINE_CHAIN_CPoints(self)
4784 r"""CLastPoint(SHAPE_LINE_CHAIN self) -> VECTOR2I"""
4785 return _pcbnew.SHAPE_LINE_CHAIN_CLastPoint(self)
4787 def CArcs(self) -> "std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &
":
4788 r"""CArcs(SHAPE_LINE_CHAIN self) -> std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &"""
4789 return _pcbnew.SHAPE_LINE_CHAIN_CArcs(self)
4791 def CShapes(self) -> "std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &
":
4792 r"""CShapes(SHAPE_LINE_CHAIN self) -> std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &"""
4793 return _pcbnew.SHAPE_LINE_CHAIN_CShapes(self)
4795 def BBox(self, aClearance:
"int"=0) ->
"BOX2I const":
4796 r"""BBox(SHAPE_LINE_CHAIN self, int aClearance=0) -> BOX2I const"""
4797 return _pcbnew.SHAPE_LINE_CHAIN_BBox(self, aClearance)
4800 r"""GenerateBBoxCache(SHAPE_LINE_CHAIN self)"""
4801 return _pcbnew.SHAPE_LINE_CHAIN_GenerateBBoxCache(self)
4804 r"""GetCachedBBox(SHAPE_LINE_CHAIN self) -> BOX2I *"""
4805 return _pcbnew.SHAPE_LINE_CHAIN_GetCachedBBox(self)
4807 def Distance(self, aP:
"VECTOR2I", aOutlineOnly:
"bool"=
False) ->
"int":
4808 r"""Distance(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aOutlineOnly=False) -> int"""
4809 return _pcbnew.SHAPE_LINE_CHAIN_Distance(self, aP, aOutlineOnly)
4812 r"""Reverse(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN"""
4813 return _pcbnew.SHAPE_LINE_CHAIN_Reverse(self)
4816 r"""ClearArcs(SHAPE_LINE_CHAIN self)"""
4817 return _pcbnew.SHAPE_LINE_CHAIN_ClearArcs(self)
4820 r"""Length(SHAPE_LINE_CHAIN self) -> long long"""
4821 return _pcbnew.SHAPE_LINE_CHAIN_Length(self)
4825 Append(SHAPE_LINE_CHAIN self, int aX, int aY, bool aAllowDuplication=False)
4826 Append(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowDuplication=
False)
4827 Append(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOtherLine)
4828 Append(SHAPE_LINE_CHAIN self, SHAPE_ARC const & aArc)
4830 return _pcbnew.SHAPE_LINE_CHAIN_Append(self, *args)
4834 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, VECTOR2I aP)
4835 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, SHAPE_ARC const & aArc)
4837 return _pcbnew.SHAPE_LINE_CHAIN_Insert(self, *args)
4841 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, VECTOR2I aP)
4842 Replace(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex, SHAPE_LINE_CHAIN aLine)
4844 return _pcbnew.SHAPE_LINE_CHAIN_Replace(self, *args)
4848 Remove(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex)
4849 Remove(SHAPE_LINE_CHAIN self, int aIndex)
4851 return _pcbnew.SHAPE_LINE_CHAIN_Remove(self, *args)
4854 r"""RemoveShape(SHAPE_LINE_CHAIN self, int aPointIndex)"""
4855 return _pcbnew.SHAPE_LINE_CHAIN_RemoveShape(self, aPointIndex)
4857 def Split(self, aP:
"VECTOR2I") ->
"int":
4858 r"""Split(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int"""
4859 return _pcbnew.SHAPE_LINE_CHAIN_Split(self, aP)
4861 def Find(self, aP:
"VECTOR2I", aThreshold:
"int"=0) ->
"int":
4862 r"""Find(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=0) -> int"""
4863 return _pcbnew.SHAPE_LINE_CHAIN_Find(self, aP, aThreshold)
4866 r"""FindSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=1) -> int"""
4867 return _pcbnew.SHAPE_LINE_CHAIN_FindSegment(self, aP, aThreshold)
4869 def Slice(self, aStartIndex:
"int", aEndIndex:
"int"=-1) ->
"SHAPE_LINE_CHAIN const":
4870 r"""Slice(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex=-1) -> SHAPE_LINE_CHAIN"""
4871 return _pcbnew.SHAPE_LINE_CHAIN_Slice(self, aStartIndex, aEndIndex)
4874 r"""Intersects(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain) -> bool"""
4875 return _pcbnew.SHAPE_LINE_CHAIN_Intersects(self, aChain)
4879 Intersect(SHAPE_LINE_CHAIN self, SEG const & aSeg, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp) -> int
4880 Intersect(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain, SHAPE_LINE_CHAIN::INTERSECTIONS & aIp, bool aExcludeColinearAndTouching=False) -> int
4882 return _pcbnew.SHAPE_LINE_CHAIN_Intersect(self, *args)
4885 r"""PathLength(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aIndex=-1) -> int"""
4886 return _pcbnew.SHAPE_LINE_CHAIN_PathLength(self, aP, aIndex)
4889 r"""CheckClearance(SHAPE_LINE_CHAIN self, VECTOR2I aP, int const aDist) -> bool"""
4890 return _pcbnew.SHAPE_LINE_CHAIN_CheckClearance(self, aP, aDist)
4893 r"""SelfIntersecting(SHAPE_LINE_CHAIN self) -> OPT< SHAPE_LINE_CHAIN::INTERSECTION > const"""
4894 return _pcbnew.SHAPE_LINE_CHAIN_SelfIntersecting(self)
4896 def Simplify(self, aRemoveColinear:
"bool"=
True) ->
"SHAPE_LINE_CHAIN &":
4897 r"""Simplify(SHAPE_LINE_CHAIN self, bool aRemoveColinear=True) -> SHAPE_LINE_CHAIN"""
4898 return _pcbnew.SHAPE_LINE_CHAIN_Simplify(self, aRemoveColinear)
4901 r"""NearestSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int"""
4902 return _pcbnew.SHAPE_LINE_CHAIN_NearestSegment(self, aP)
4906 NearestPoint(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowInternalShapePoints=True) -> VECTOR2I
4907 NearestPoint(SHAPE_LINE_CHAIN self, SEG const & aSeg, int & dist) -> VECTOR2I
4909 return _pcbnew.SHAPE_LINE_CHAIN_NearestPoint(self, *args)
4912 r"""Format(SHAPE_LINE_CHAIN self) -> string"""
4913 return _pcbnew.SHAPE_LINE_CHAIN_Format(self)
4915 def Parse(self, aStream:
"std::stringstream &") ->
"bool":
4916 r"""Parse(SHAPE_LINE_CHAIN self, std::stringstream & aStream) -> bool"""
4917 return _pcbnew.SHAPE_LINE_CHAIN_Parse(self, aStream)
4919 def __ne__(self, aRhs:
"SHAPE_LINE_CHAIN") ->
"bool":
4920 r"""__ne__(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aRhs) -> bool"""
4921 return _pcbnew.SHAPE_LINE_CHAIN___ne__(self, aRhs)
4924 r"""CompareGeometry(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther) -> bool"""
4925 return _pcbnew.SHAPE_LINE_CHAIN_CompareGeometry(self, aOther)
4927 def Move(self, aVector:
"VECTOR2I") ->
"void":
4928 r"""Move(SHAPE_LINE_CHAIN self, VECTOR2I aVector)"""
4929 return _pcbnew.SHAPE_LINE_CHAIN_Move(self, aVector)
4933 Mirror(SHAPE_LINE_CHAIN self, bool aX=True, bool aY=
False, VECTOR2I aRef={ 0, 0 })
4934 Mirror(SHAPE_LINE_CHAIN self, SEG const & axis)
4936 return _pcbnew.SHAPE_LINE_CHAIN_Mirror(self, *args)
4939 r"""Rotate(SHAPE_LINE_CHAIN self, double aAngle, VECTOR2I aCenter=VECTOR2I( 0, 0 ))"""
4940 return _pcbnew.SHAPE_LINE_CHAIN_Rotate(self, *args)
4943 r"""IsSolid(SHAPE_LINE_CHAIN self) -> bool"""
4944 return _pcbnew.SHAPE_LINE_CHAIN_IsSolid(self)
4947 r"""PointAlong(SHAPE_LINE_CHAIN self, int aPathLength) -> VECTOR2I"""
4948 return _pcbnew.SHAPE_LINE_CHAIN_PointAlong(self, aPathLength)
4950 def Area(self, aAbsolute:
"bool"=
True) ->
"double":
4951 r"""Area(SHAPE_LINE_CHAIN self, bool aAbsolute=True) -> double"""
4952 return _pcbnew.SHAPE_LINE_CHAIN_Area(self, aAbsolute)
4955 r"""ArcCount(SHAPE_LINE_CHAIN self) -> size_t"""
4956 return _pcbnew.SHAPE_LINE_CHAIN_ArcCount(self)
4959 r"""ArcIndex(SHAPE_LINE_CHAIN self, size_t aSegment) -> ssize_t"""
4960 return _pcbnew.SHAPE_LINE_CHAIN_ArcIndex(self, aSegment)
4962 def Arc(self, aArc:
"size_t") ->
"SHAPE_ARC const &":
4963 r"""Arc(SHAPE_LINE_CHAIN self, size_t aArc) -> SHAPE_ARC const &"""
4964 return _pcbnew.SHAPE_LINE_CHAIN_Arc(self, aArc)
4967 r"""IsSharedPt(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
4968 return _pcbnew.SHAPE_LINE_CHAIN_IsSharedPt(self, aIndex)
4971 r"""IsPtOnArc(SHAPE_LINE_CHAIN self, size_t aPtIndex) -> bool"""
4972 return _pcbnew.SHAPE_LINE_CHAIN_IsPtOnArc(self, aPtIndex)
4975 r"""IsArcSegment(SHAPE_LINE_CHAIN self, size_t aSegment) -> bool"""
4976 return _pcbnew.SHAPE_LINE_CHAIN_IsArcSegment(self, aSegment)
4979 r"""IsArcStart(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
4980 return _pcbnew.SHAPE_LINE_CHAIN_IsArcStart(self, aIndex)
4983 r"""IsArcEnd(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
4984 return _pcbnew.SHAPE_LINE_CHAIN_IsArcEnd(self, aIndex)
4987 r"""GetPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I"""
4988 return _pcbnew.SHAPE_LINE_CHAIN_GetPoint(self, aIndex)
4991 r"""GetSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG const"""
4992 return _pcbnew.SHAPE_LINE_CHAIN_GetSegment(self, aIndex)
4995 r"""GetPointCount(SHAPE_LINE_CHAIN self) -> size_t"""
4996 return _pcbnew.SHAPE_LINE_CHAIN_GetPointCount(self)
4999 r"""GetSegmentCount(SHAPE_LINE_CHAIN self) -> size_t"""
5000 return _pcbnew.SHAPE_LINE_CHAIN_GetSegmentCount(self)
5003_pcbnew.SHAPE_LINE_CHAIN_swigregister(SHAPE_LINE_CHAIN)
5006 r"""Proxy of C++ SHAPE_POLY_SET class."""
5008 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5009 __repr__ = _swig_repr
5013 __init__(SHAPE_POLY_SET self) -> SHAPE_POLY_SET
5014 __init__(SHAPE_POLY_SET self, BOX2D const & aRect) -> SHAPE_POLY_SET
5015 __init__(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> SHAPE_POLY_SET
5016 __init__(SHAPE_POLY_SET self, SHAPE_POLY_SET aOther) -> SHAPE_POLY_SET
5018 _pcbnew.SHAPE_POLY_SET_swiginit(self, _pcbnew.new_SHAPE_POLY_SET(*args))
5019 __swig_destroy__ = _pcbnew.delete_SHAPE_POLY_SET
5022 r"""CacheTriangulation(SHAPE_POLY_SET self, bool aPartition=True)"""
5023 return _pcbnew.SHAPE_POLY_SET_CacheTriangulation(self, aPartition)
5026 r"""IsTriangulationUpToDate(SHAPE_POLY_SET self) -> bool"""
5027 return _pcbnew.SHAPE_POLY_SET_IsTriangulationUpToDate(self)
5030 r"""GetHash(SHAPE_POLY_SET self) -> MD5_HASH"""
5031 return _pcbnew.SHAPE_POLY_SET_GetHash(self)
5034 r"""HasIndexableSubshapes(SHAPE_POLY_SET self) -> bool"""
5035 return _pcbnew.SHAPE_POLY_SET_HasIndexableSubshapes(self)
5038 r"""GetIndexableSubshapeCount(SHAPE_POLY_SET self) -> size_t"""
5039 return _pcbnew.SHAPE_POLY_SET_GetIndexableSubshapeCount(self)
5042 r"""GetIndexableSubshapes(SHAPE_POLY_SET self, std::vector< SHAPE *,std::allocator< SHAPE * > > & aSubshapes)"""
5043 return _pcbnew.SHAPE_POLY_SET_GetIndexableSubshapes(self, aSubshapes)
5045 def GetRelativeIndices(self, aGlobalIdx:
"int", aRelativeIndices:
"SHAPE_POLY_SET::VERTEX_INDEX *") ->
"bool":
5046 r"""GetRelativeIndices(SHAPE_POLY_SET self, int aGlobalIdx, SHAPE_POLY_SET::VERTEX_INDEX * aRelativeIndices) -> bool"""
5047 return _pcbnew.SHAPE_POLY_SET_GetRelativeIndices(self, aGlobalIdx, aRelativeIndices)
5049 def GetGlobalIndex(self, aRelativeIndices:
"SHAPE_POLY_SET::VERTEX_INDEX", aGlobalIdx:
"int &") ->
"bool":
5050 r"""GetGlobalIndex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices, int & aGlobalIdx) -> bool"""
5051 return _pcbnew.SHAPE_POLY_SET_GetGlobalIndex(self, aRelativeIndices, aGlobalIdx)
5054 r"""Clone(SHAPE_POLY_SET self) -> SHAPE"""
5055 return _pcbnew.SHAPE_POLY_SET_Clone(self)
5058 r"""NewOutline(SHAPE_POLY_SET self) -> int"""
5059 return _pcbnew.SHAPE_POLY_SET_NewOutline(self)
5062 r"""NewHole(SHAPE_POLY_SET self, int aOutline=-1) -> int"""
5063 return _pcbnew.SHAPE_POLY_SET_NewHole(self, aOutline)
5066 r"""AddOutline(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> int"""
5067 return _pcbnew.SHAPE_POLY_SET_AddOutline(self, aOutline)
5069 def AddHole(self, aHole:
"SHAPE_LINE_CHAIN", aOutline:
"int"=-1) ->
"int":
5070 r"""AddHole(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aHole, int aOutline=-1) -> int"""
5071 return _pcbnew.SHAPE_POLY_SET_AddHole(self, aHole, aOutline)
5074 r"""Area(SHAPE_POLY_SET self) -> double"""
5075 return _pcbnew.SHAPE_POLY_SET_Area(self)
5078 r"""ArcCount(SHAPE_POLY_SET self) -> int"""
5079 return _pcbnew.SHAPE_POLY_SET_ArcCount(self)
5081 def GetArcs(self, aArcBuffer:
"std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > &") ->
"void":
5082 r"""GetArcs(SHAPE_POLY_SET self, std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > & aArcBuffer)"""
5083 return _pcbnew.SHAPE_POLY_SET_GetArcs(self, aArcBuffer)
5086 r"""ClearArcs(SHAPE_POLY_SET self)"""
5087 return _pcbnew.SHAPE_POLY_SET_ClearArcs(self)
5091 Append(SHAPE_POLY_SET self, int x, int y, int aOutline=-1, int aHole=-1, bool aAllowDuplication=False) -> int
5092 Append(SHAPE_POLY_SET self, SHAPE_POLY_SET aSet)
5093 Append(SHAPE_POLY_SET self, VECTOR2I aP, int aOutline=-1, int aHole=-1)
5094 Append(SHAPE_POLY_SET self, SHAPE_ARC & aArc, int aOutline=-1, int aHole=-1) -> int
5096 return _pcbnew.SHAPE_POLY_SET_Append(self, *args)
5098 def InsertVertex(self, aGlobalIndex:
"int", aNewVertex:
"VECTOR2I") ->
"void":
5099 r"""InsertVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aNewVertex)"""
5100 return _pcbnew.SHAPE_POLY_SET_InsertVertex(self, aGlobalIndex, aNewVertex)
5104 CVertex(SHAPE_POLY_SET self, int aIndex, int aOutline, int aHole) -> VECTOR2I
5105 CVertex(SHAPE_POLY_SET self, int aGlobalIndex) -> VECTOR2I
5106 CVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aIndex) -> VECTOR2I
5108 return _pcbnew.SHAPE_POLY_SET_CVertex(self, *args)
5111 r"""GetNeighbourIndexes(SHAPE_POLY_SET self, int aGlobalIndex, int * aPrevious, int * aNext) -> bool"""
5112 return _pcbnew.SHAPE_POLY_SET_GetNeighbourIndexes(self, aGlobalIndex, aPrevious, aNext)
5115 r"""IsPolygonSelfIntersecting(SHAPE_POLY_SET self, int aPolygonIndex) -> bool"""
5116 return _pcbnew.SHAPE_POLY_SET_IsPolygonSelfIntersecting(self, aPolygonIndex)
5119 r"""IsSelfIntersecting(SHAPE_POLY_SET self) -> bool"""
5120 return _pcbnew.SHAPE_POLY_SET_IsSelfIntersecting(self)
5123 r"""TriangulatedPolyCount(SHAPE_POLY_SET self) -> unsigned int"""
5124 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolyCount(self)
5127 r"""OutlineCount(SHAPE_POLY_SET self) -> int"""
5128 return _pcbnew.SHAPE_POLY_SET_OutlineCount(self)
5131 r"""VertexCount(SHAPE_POLY_SET self, int aOutline=-1, int aHole=-1) -> int"""
5132 return _pcbnew.SHAPE_POLY_SET_VertexCount(self, aOutline, aHole)
5135 r"""FullPointCount(SHAPE_POLY_SET self) -> int"""
5136 return _pcbnew.SHAPE_POLY_SET_FullPointCount(self)
5139 r"""HoleCount(SHAPE_POLY_SET self, int aOutline) -> int"""
5140 return _pcbnew.SHAPE_POLY_SET_HoleCount(self, aOutline)
5142 def Outline(self, *args) -> "SHAPE_LINE_CHAIN const &":
5144 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
5145 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
5147 return _pcbnew.SHAPE_POLY_SET_Outline(self, *args)
5149 def Subset(self, aFirstPolygon:
"int", aLastPolygon:
"int") ->
"SHAPE_POLY_SET":
5150 r"""Subset(SHAPE_POLY_SET self, int aFirstPolygon, int aLastPolygon) -> SHAPE_POLY_SET"""
5151 return _pcbnew.SHAPE_POLY_SET_Subset(self, aFirstPolygon, aLastPolygon)
5153 def UnitSet(self, aPolygonIndex:
"int") ->
"SHAPE_POLY_SET":
5154 r"""UnitSet(SHAPE_POLY_SET self, int aPolygonIndex) -> SHAPE_POLY_SET"""
5155 return _pcbnew.SHAPE_POLY_SET_UnitSet(self, aPolygonIndex)
5157 def Hole(self, aOutline:
"int", aHole:
"int") ->
"SHAPE_LINE_CHAIN &":
5158 r"""Hole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
5159 return _pcbnew.SHAPE_POLY_SET_Hole(self, aOutline, aHole)
5161 def Polygon(self, *args) -> "SHAPE_POLY_SET::POLYGON const &
":
5163 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON
5164 Polygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &
5166 return _pcbnew.SHAPE_POLY_SET_Polygon(self, *args)
5169 r"""TriangulatedPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::TRIANGULATED_POLYGON const *"""
5170 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolygon(self, aIndex)
5172 def COutline(self, aIndex:
"int") ->
"SHAPE_LINE_CHAIN const &":
5173 r"""COutline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN"""
5174 return _pcbnew.SHAPE_POLY_SET_COutline(self, aIndex)
5176 def CHole(self, aOutline:
"int", aHole:
"int") ->
"SHAPE_LINE_CHAIN const &":
5177 r"""CHole(SHAPE_POLY_SET self, int aOutline, int aHole) -> SHAPE_LINE_CHAIN"""
5178 return _pcbnew.SHAPE_POLY_SET_CHole(self, aOutline, aHole)
5180 def CPolygon(self, aIndex:
"int") ->
"SHAPE_POLY_SET::POLYGON const &":
5181 r"""CPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::POLYGON const &"""
5182 return _pcbnew.SHAPE_POLY_SET_CPolygon(self, aIndex)
5184 def Iterate(self, *args) -> "SHAPE_POLY_SET::ITERATOR
":
5186 Iterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::ITERATOR
5187 Iterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
5188 Iterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR
5190 return _pcbnew.SHAPE_POLY_SET_Iterate(self, *args)
5194 IterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
5197 return _pcbnew.SHAPE_POLY_SET_IterateWithHoles(self, *args)
5199 def CIterate(self, *args) -> "SHAPE_POLY_SET::CONST_ITERATOR
":
5201 CIterate(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_ITERATOR
5202 CIterate(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
5203 CIterate(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR
5205 return _pcbnew.SHAPE_POLY_SET_CIterate(self, *args)
5209 CIterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
5212 return _pcbnew.SHAPE_POLY_SET_CIterateWithHoles(self, *args)
5215 r"""IterateFromVertexWithHoles(SHAPE_POLY_SET self, int aGlobalIdx) -> SHAPE_POLY_SET::ITERATOR"""
5216 return _pcbnew.SHAPE_POLY_SET_IterateFromVertexWithHoles(self, aGlobalIdx)
5220 IterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
5221 IterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
5222 IterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
5224 return _pcbnew.SHAPE_POLY_SET_IterateSegments(self, *args)
5228 CIterateSegments(SHAPE_POLY_SET self, int aFirst, int aLast, bool aIterateHoles=False) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
5229 CIterateSegments(SHAPE_POLY_SET self, int aPolygonIdx) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
5230 CIterateSegments(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
5232 return _pcbnew.SHAPE_POLY_SET_CIterateSegments(self, *args)
5239 return _pcbnew.SHAPE_POLY_SET_IterateSegmentsWithHoles(self, *args)
5246 return _pcbnew.SHAPE_POLY_SET_CIterateSegmentsWithHoles(self, *args)
5247 PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
5249 PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
5254 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
5255 BooleanAdd(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
5257 return _pcbnew.SHAPE_POLY_SET_BooleanAdd(self, *args)
5261 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
5262 BooleanSubtract(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
5264 return _pcbnew.SHAPE_POLY_SET_BooleanSubtract(self, *args)
5268 BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
5269 BooleanIntersection(SHAPE_POLY_SET self, SHAPE_POLY_SET a, SHAPE_POLY_SET b, SHAPE_POLY_SET::POLYGON_MODE aFastMode)
5271 return _pcbnew.SHAPE_POLY_SET_BooleanIntersection(self, *args)
5272 ALLOW_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_ALLOW_ACUTE_CORNERS
5274 CHAMFER_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_CHAMFER_ACUTE_CORNERS
5276 ROUND_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_ROUND_ACUTE_CORNERS
5278 CHAMFER_ALL_CORNERS = _pcbnew.SHAPE_POLY_SET_CHAMFER_ALL_CORNERS
5280 ROUND_ALL_CORNERS = _pcbnew.SHAPE_POLY_SET_ROUND_ALL_CORNERS
5284 r"""Inflate(SHAPE_POLY_SET self, int aAmount, int aCircleSegCount, SHAPE_POLY_SET::CORNER_STRATEGY aCornerStrategy=ROUND_ALL_CORNERS)"""
5285 return _pcbnew.SHAPE_POLY_SET_Inflate(self, *args)
5288 r"""Deflate(SHAPE_POLY_SET self, int aAmount, int aCircleSegmentsCount, SHAPE_POLY_SET::CORNER_STRATEGY aCornerStrategy=ROUND_ALL_CORNERS)"""
5289 return _pcbnew.SHAPE_POLY_SET_Deflate(self, *args)
5291 def InflateWithLinkedHoles(self, aFactor:
"int", aCircleSegmentsCount:
"int", aFastMode:
"SHAPE_POLY_SET::POLYGON_MODE") ->
"void":
5292 r"""InflateWithLinkedHoles(SHAPE_POLY_SET self, int aFactor, int aCircleSegmentsCount, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
5293 return _pcbnew.SHAPE_POLY_SET_InflateWithLinkedHoles(self, aFactor, aCircleSegmentsCount, aFastMode)
5295 def Fracture(self, aFastMode:
"SHAPE_POLY_SET::POLYGON_MODE") ->
"void":
5296 r"""Fracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
5297 return _pcbnew.SHAPE_POLY_SET_Fracture(self, aFastMode)
5299 def Unfracture(self, aFastMode:
"SHAPE_POLY_SET::POLYGON_MODE") ->
"void":
5300 r"""Unfracture(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
5301 return _pcbnew.SHAPE_POLY_SET_Unfracture(self, aFastMode)
5304 r"""HasHoles(SHAPE_POLY_SET self) -> bool"""
5305 return _pcbnew.SHAPE_POLY_SET_HasHoles(self)
5308 r"""HasTouchingHoles(SHAPE_POLY_SET self) -> bool"""
5309 return _pcbnew.SHAPE_POLY_SET_HasTouchingHoles(self)
5311 def Simplify(self, aFastMode:
"SHAPE_POLY_SET::POLYGON_MODE") ->
"void":
5312 r"""Simplify(SHAPE_POLY_SET self, SHAPE_POLY_SET::POLYGON_MODE aFastMode)"""
5313 return _pcbnew.SHAPE_POLY_SET_Simplify(self, aFastMode)
5316 r"""NormalizeAreaOutlines(SHAPE_POLY_SET self) -> int"""
5317 return _pcbnew.SHAPE_POLY_SET_NormalizeAreaOutlines(self)
5320 r"""Format(SHAPE_POLY_SET self) -> string"""
5321 return _pcbnew.SHAPE_POLY_SET_Format(self)
5323 def Parse(self, aStream:
"std::stringstream &") ->
"bool":
5324 r"""Parse(SHAPE_POLY_SET self, std::stringstream & aStream) -> bool"""
5325 return _pcbnew.SHAPE_POLY_SET_Parse(self, aStream)
5327 def Move(self, aVector:
"VECTOR2I") ->
"void":
5328 r"""Move(SHAPE_POLY_SET self, VECTOR2I aVector)"""
5329 return _pcbnew.SHAPE_POLY_SET_Move(self, aVector)
5332 r"""Mirror(SHAPE_POLY_SET self, bool aX=True, bool aY=False, VECTOR2I aRef={ 0, 0 })"""
5333 return _pcbnew.SHAPE_POLY_SET_Mirror(self, *args)
5336 r"""Rotate(SHAPE_POLY_SET self, double aAngle, VECTOR2I aCenter={ 0, 0 })"""
5337 return _pcbnew.SHAPE_POLY_SET_Rotate(self, *args)
5340 r"""IsSolid(SHAPE_POLY_SET self) -> bool"""
5341 return _pcbnew.SHAPE_POLY_SET_IsSolid(self)
5343 def BBox(self, aClearance:
"int"=0) ->
"BOX2I const":
5344 r"""BBox(SHAPE_POLY_SET self, int aClearance=0) -> BOX2I const"""
5345 return _pcbnew.SHAPE_POLY_SET_BBox(self, aClearance)
5348 r"""PointOnEdge(SHAPE_POLY_SET self, VECTOR2I aP) -> bool"""
5349 return _pcbnew.SHAPE_POLY_SET_PointOnEdge(self, aP)
5353 Collide(SHAPE_POLY_SET self, SHAPE aShape, int aClearance=0, int * aActual=None, VECTOR2I aLocation=
None) -> bool
5354 Collide(SHAPE_POLY_SET self, VECTOR2I aP, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5355 Collide(SHAPE_POLY_SET self, SEG const & aSeg, int aClearance=0, int * aActual=
None, VECTOR2I aLocation=
None) -> bool
5357 return _pcbnew.SHAPE_POLY_SET_Collide(self, *args)
5359 def CollideVertex(self, aPoint:
"VECTOR2I", aClosestVertex:
"SHAPE_POLY_SET::VERTEX_INDEX &", aClearance:
"int"=0) ->
"bool":
5360 r"""CollideVertex(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX & aClosestVertex, int aClearance=0) -> bool"""
5361 return _pcbnew.SHAPE_POLY_SET_CollideVertex(self, aPoint, aClosestVertex, aClearance)
5363 def CollideEdge(self, aPoint:
"VECTOR2I", aClosestVertex:
"SHAPE_POLY_SET::VERTEX_INDEX &", aClearance:
"int"=0) ->
"bool":
5364 r"""CollideEdge(SHAPE_POLY_SET self, VECTOR2I aPoint, SHAPE_POLY_SET::VERTEX_INDEX & aClosestVertex, int aClearance=0) -> bool"""
5365 return _pcbnew.SHAPE_POLY_SET_CollideEdge(self, aPoint, aClosestVertex, aClearance)
5368 r"""BuildBBoxCaches(SHAPE_POLY_SET self)"""
5369 return _pcbnew.SHAPE_POLY_SET_BuildBBoxCaches(self)
5372 r"""BBoxFromCaches(SHAPE_POLY_SET self) -> BOX2I const"""
5373 return _pcbnew.SHAPE_POLY_SET_BBoxFromCaches(self)
5375 def Contains(self, aP:
"VECTOR2I", aSubpolyIndex:
"int"=-1, aAccuracy:
"int"=0, aUseBBoxCaches:
"bool"=
False) ->
"bool":
5376 r"""Contains(SHAPE_POLY_SET self, VECTOR2I aP, int aSubpolyIndex=-1, int aAccuracy=0, bool aUseBBoxCaches=False) -> bool"""
5377 return _pcbnew.SHAPE_POLY_SET_Contains(self, aP, aSubpolyIndex, aAccuracy, aUseBBoxCaches)
5380 r"""IsEmpty(SHAPE_POLY_SET self) -> bool"""
5381 return _pcbnew.SHAPE_POLY_SET_IsEmpty(self)
5386 RemoveVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices)
5388 return _pcbnew.SHAPE_POLY_SET_RemoveVertex(self, *args)
5391 r"""RemoveAllContours(SHAPE_POLY_SET self)"""
5392 return _pcbnew.SHAPE_POLY_SET_RemoveAllContours(self)
5395 r"""RemoveContour(SHAPE_POLY_SET self, int aContourIdx, int aPolygonIdx=-1)"""
5396 return _pcbnew.SHAPE_POLY_SET_RemoveContour(self, aContourIdx, aPolygonIdx)
5399 r"""RemoveNullSegments(SHAPE_POLY_SET self) -> int"""
5400 return _pcbnew.SHAPE_POLY_SET_RemoveNullSegments(self)
5404 SetVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX const & aIndex, VECTOR2I aPos)
5405 SetVertex(SHAPE_POLY_SET self, int aGlobalIndex, VECTOR2I aPos)
5407 return _pcbnew.SHAPE_POLY_SET_SetVertex(self, *args)
5410 r"""TotalVertices(SHAPE_POLY_SET self) -> int"""
5411 return _pcbnew.SHAPE_POLY_SET_TotalVertices(self)
5414 r"""DeletePolygon(SHAPE_POLY_SET self, int aIdx)"""
5415 return _pcbnew.SHAPE_POLY_SET_DeletePolygon(self, aIdx)
5417 def ChamferPolygon(self, aDistance:
"unsigned int", aIndex:
"int") ->
"SHAPE_POLY_SET::POLYGON":
5418 r"""ChamferPolygon(SHAPE_POLY_SET self, unsigned int aDistance, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
5419 return _pcbnew.SHAPE_POLY_SET_ChamferPolygon(self, aDistance, aIndex)
5421 def FilletPolygon(self, aRadius:
"unsigned int", aErrorMax:
"int", aIndex:
"int") ->
"SHAPE_POLY_SET::POLYGON":
5422 r"""FilletPolygon(SHAPE_POLY_SET self, unsigned int aRadius, int aErrorMax, int aIndex) -> SHAPE_POLY_SET::POLYGON"""
5423 return _pcbnew.SHAPE_POLY_SET_FilletPolygon(self, aRadius, aErrorMax, aIndex)
5425 def Chamfer(self, aDistance:
"int") ->
"SHAPE_POLY_SET":
5426 r"""Chamfer(SHAPE_POLY_SET self, int aDistance) -> SHAPE_POLY_SET"""
5427 return _pcbnew.SHAPE_POLY_SET_Chamfer(self, aDistance)
5429 def Fillet(self, aRadius:
"int", aErrorMax:
"int") ->
"SHAPE_POLY_SET":
5430 r"""Fillet(SHAPE_POLY_SET self, int aRadius, int aErrorMax) -> SHAPE_POLY_SET"""
5431 return _pcbnew.SHAPE_POLY_SET_Fillet(self, aRadius, aErrorMax)
5438 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToPolygon(self, *args)
5442 SquaredDistance(SHAPE_POLY_SET self, VECTOR2I aPoint, VECTOR2I aNearest=None) -> SEG::ecoord
5443 SquaredDistance(SHAPE_POLY_SET self, SEG const & aSegment, VECTOR2I aNearest=
None) -> SEG::ecoord
5445 return _pcbnew.SHAPE_POLY_SET_SquaredDistance(self, *args)
5448 r"""IsVertexInHole(SHAPE_POLY_SET self, int aGlobalIdx) -> bool"""
5449 return _pcbnew.SHAPE_POLY_SET_IsVertexInHole(self, aGlobalIdx)
5452 def BuildPolysetFromOrientedPaths(aPaths:
"std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const &", aReverseOrientation:
"bool"=
False, aEvenOdd:
"bool"=
False) ->
"SHAPE_POLY_SET const":
5453 r"""BuildPolysetFromOrientedPaths(std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const & aPaths, bool aReverseOrientation=False, bool aEvenOdd=False) -> SHAPE_POLY_SET"""
5454 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation, aEvenOdd)
5457_pcbnew.SHAPE_POLY_SET_swigregister(SHAPE_POLY_SET)
5460 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"""
5461 return _pcbnew.SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths, aReverseOrientation, aEvenOdd)
5464def IsUTF8(aString:
"char const *") ->
"bool":
5465 r"""IsUTF8(char const * aString) -> bool"""
5466 return _pcbnew.IsUTF8(aString)
5468 r"""Proxy of C++ UTF8 class."""
5470 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5471 __repr__ = _swig_repr
5475 __init__(UTF8 self, wxString o) -> UTF8
5476 __init__(UTF8 self, char const * txt) -> UTF8
5477 __init__(UTF8 self, wchar_t const * txt) -> UTF8
5478 __init__(UTF8 self, string o) -> UTF8
5481 _pcbnew.UTF8_swiginit(self, _pcbnew.new_UTF8(*args))
5482 __swig_destroy__ = _pcbnew.delete_UTF8
5485 r"""c_str(UTF8 self) -> char const *"""
5486 return _pcbnew.UTF8_c_str(self)
5489 r"""empty(UTF8 self) -> bool"""
5490 return _pcbnew.UTF8_empty(self)
5492 def find(self, *args) -> "std::string::size_type
":
5494 find(UTF8 self, char c) -> std::string::size_type
5495 find(UTF8 self, char c, size_t s) -> std::string::size_type
5497 return _pcbnew.UTF8_find(self, *args)
5500 r"""clear(UTF8 self)"""
5501 return _pcbnew.UTF8_clear(self)
5503 def length(self) -> "std::string::size_type
":
5504 r"""length(UTF8 self) -> std::string::size_type"""
5505 return _pcbnew.UTF8_length(self)
5507 def size(self) -> "std::string::size_type
":
5508 r"""size(UTF8 self) -> std::string::size_type"""
5509 return _pcbnew.UTF8_size(self)
5512 r"""compare(UTF8 self, string s) -> int"""
5513 return _pcbnew.UTF8_compare(self, s)
5517 __eq__(UTF8 self, UTF8 rhs) -> bool
5518 __eq__(UTF8 self, string rhs) -> bool
5519 __eq__(UTF8 self, char const * s) -> bool
5521 return _pcbnew.UTF8___eq__(self, *args)
5523 def find_first_of(self, str:
"string", pos:
"std::string::size_type"=0) ->
"std::string::size_type":
5524 r"""find_first_of(UTF8 self, string str, std::string::size_type pos=0) -> std::string::size_type"""
5525 return _pcbnew.UTF8_find_first_of(self, str, pos)
5529 __iadd__(UTF8 self, UTF8 str) -> UTF8
5530 __iadd__(UTF8 self, char ch) -> UTF8
5531 __iadd__(UTF8 self, char const * s) -> UTF8
5532 __iadd__(UTF8 self, unsigned int w_ch) -> UTF8
5534 return _pcbnew.UTF8___iadd__(self, *args)
5535 npos = _pcbnew.UTF8_npos
5539 r"""substr(UTF8 self, size_t pos=0, size_t len=npos) -> string"""
5540 return _pcbnew.UTF8_substr(self, *args)
5543 r"""utf8_to_string(UTF8 self) -> string"""
5544 return _pcbnew.UTF8_utf8_to_string(self)
5547 r"""wx_str(UTF8 self) -> wxString"""
5548 return _pcbnew.UTF8_wx_str(self)
5551 r"""utf8_to_wxstring(UTF8 self) -> wxString"""
5552 return _pcbnew.UTF8_utf8_to_wxstring(self)
5554 def begin(self) -> "std::string::const_iterator
":
5555 r"""begin(UTF8 self) -> std::string::const_iterator"""
5556 return _pcbnew.UTF8_begin(self)
5558 def end(self) -> "std::string::const_iterator
":
5559 r"""end(UTF8 self) -> std::string::const_iterator"""
5560 return _pcbnew.UTF8_end(self)
5563 r"""Cast_to_CChar(UTF8 self) -> char const *"""
5564 return _pcbnew.UTF8_Cast_to_CChar(self)
5579_pcbnew.UTF8_swigregister(UTF8)
5583 r"""Mils2iu(int mils) -> int"""
5584 return _pcbnew.Mils2iu(mils)
5587 r"""Iu2Mils(int iu) -> double"""
5588 return _pcbnew.Iu2Mils(iu)
5591 r"""Millimeter2iu(double mm) -> int"""
5592 return _pcbnew.Millimeter2iu(mm)
5595 r"""Iu2Millimeter(int iu) -> double"""
5596 return _pcbnew.Iu2Millimeter(iu)
5598 r"""Proxy of C++ LIB_ID class."""
5600 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5601 __repr__ = _swig_repr
5606 __init__(LIB_ID self, wxString aLibraryName, wxString aItemName) -> LIB_ID
5608 _pcbnew.LIB_ID_swiginit(self, _pcbnew.new_LIB_ID(*args))
5610 def Parse(self, aId:
"UTF8", aFix:
"bool"=
False) ->
"int":
5611 r"""Parse(LIB_ID self, UTF8 aId, bool aFix=False) -> int"""
5612 return _pcbnew.LIB_ID_Parse(self, aId, aFix)
5615 r"""GetLibNickname(LIB_ID self) -> UTF8"""
5616 return _pcbnew.LIB_ID_GetLibNickname(self)
5619 r"""SetLibNickname(LIB_ID self, UTF8 aNickname) -> int"""
5620 return _pcbnew.LIB_ID_SetLibNickname(self, aNickname)
5623 r"""GetLibItemName(LIB_ID self) -> UTF8"""
5624 return _pcbnew.LIB_ID_GetLibItemName(self)
5627 r"""GetUniStringLibItemName(LIB_ID self) -> wxString"""
5628 return _pcbnew.LIB_ID_GetUniStringLibItemName(self)
5631 r"""SetLibItemName(LIB_ID self, UTF8 aLibItemName) -> int"""
5632 return _pcbnew.LIB_ID_SetLibItemName(self, aLibItemName)
5635 r"""GetUniStringLibId(LIB_ID self) -> wxString"""
5636 return _pcbnew.LIB_ID_GetUniStringLibId(self)
5642 Format(UTF8 aLibraryName, UTF8 aLibItemName) -> UTF8
5644 return _pcbnew.LIB_ID_Format(*args)
5647 r"""IsValid(LIB_ID self) -> bool"""
5648 return _pcbnew.LIB_ID_IsValid(self)
5651 r"""IsLegacy(LIB_ID self) -> bool"""
5652 return _pcbnew.LIB_ID_IsLegacy(self)
5655 r"""clear(LIB_ID self)"""
5656 return _pcbnew.LIB_ID_clear(self)
5659 r"""empty(LIB_ID self) -> bool"""
5660 return _pcbnew.LIB_ID_empty(self)
5663 r"""compare(LIB_ID self, LIB_ID aLibId) -> int"""
5664 return _pcbnew.LIB_ID_compare(self, aLibId)
5666 def __lt__(self, aLibId:
"LIB_ID") ->
"bool":
5667 r"""__lt__(LIB_ID self, LIB_ID aLibId) -> bool"""
5668 return _pcbnew.LIB_ID___lt__(self, aLibId)
5670 def __gt__(self, aLibId:
"LIB_ID") ->
"bool":
5671 r"""__gt__(LIB_ID self, LIB_ID aLibId) -> bool"""
5672 return _pcbnew.LIB_ID___gt__(self, aLibId)
5674 def __eq__(self, aLibId:
"LIB_ID") ->
"bool":
5675 r"""__eq__(LIB_ID self, LIB_ID aLibId) -> bool"""
5676 return _pcbnew.LIB_ID___eq__(self, aLibId)
5678 def __ne__(self, aLibId:
"LIB_ID") ->
"bool":
5679 r"""__ne__(LIB_ID self, LIB_ID aLibId) -> bool"""
5680 return _pcbnew.LIB_ID___ne__(self, aLibId)
5684 r"""HasIllegalChars(UTF8 aLibItemName) -> int"""
5685 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
5689 r"""FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
5690 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
5694 r"""FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
5695 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
5696 __swig_destroy__ = _pcbnew.delete_LIB_ID
5699_pcbnew.LIB_ID_swigregister(LIB_ID)
5700GERB_IU_PER_MM = cvar.GERB_IU_PER_MM
5701PCB_IU_PER_MM = cvar.PCB_IU_PER_MM
5702PL_IU_PER_MM = cvar.PL_IU_PER_MM
5703SCH_IU_PER_MM = cvar.SCH_IU_PER_MM
5704IU_PER_MM = cvar.IU_PER_MM
5705IU_PER_MILS = cvar.IU_PER_MILS
5706MM_PER_IU = cvar.MM_PER_IU
5707ARC_LOW_DEF = cvar.ARC_LOW_DEF
5708ARC_HIGH_DEF = cvar.ARC_HIGH_DEF
5715 return _pcbnew.LIB_ID_Format(*args)
5718 r"""LIB_ID_HasIllegalChars(UTF8 aLibItemName) -> int"""
5719 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
5722 r"""LIB_ID_FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
5723 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
5726 r"""LIB_ID_FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
5727 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
5730 r"""Proxy of C++ BASE_SET class."""
5732 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5735 raise AttributeError(
"No constructor defined")
5736 __repr__ = _swig_repr
5737 __swig_destroy__ = _pcbnew.delete_BASE_SET
5740_pcbnew.BASE_SET_swigregister(BASE_SET)
5743 r"""Proxy of C++ IO_MGR class."""
5745 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5746 __repr__ = _swig_repr
5747 LEGACY = _pcbnew.IO_MGR_LEGACY
5749 KICAD_SEXP = _pcbnew.IO_MGR_KICAD_SEXP
5751 EAGLE = _pcbnew.IO_MGR_EAGLE
5753 PCAD = _pcbnew.IO_MGR_PCAD
5755 FABMASTER = _pcbnew.IO_MGR_FABMASTER
5757 ALTIUM_DESIGNER = _pcbnew.IO_MGR_ALTIUM_DESIGNER
5759 ALTIUM_CIRCUIT_STUDIO = _pcbnew.IO_MGR_ALTIUM_CIRCUIT_STUDIO
5761 ALTIUM_CIRCUIT_MAKER = _pcbnew.IO_MGR_ALTIUM_CIRCUIT_MAKER
5763 CADSTAR_PCB_ARCHIVE = _pcbnew.IO_MGR_CADSTAR_PCB_ARCHIVE
5765 GEDA_PCB = _pcbnew.IO_MGR_GEDA_PCB
5767 FILE_TYPE_NONE = _pcbnew.IO_MGR_FILE_TYPE_NONE
5772 r"""PluginFind(IO_MGR::PCB_FILE_T aFileType) -> PLUGIN"""
5773 return _pcbnew.IO_MGR_PluginFind(aFileType)
5777 r"""PluginRelease(PLUGIN aPlugin)"""
5778 return _pcbnew.IO_MGR_PluginRelease(aPlugin)
5781 def ShowType(aFileType:
"IO_MGR::PCB_FILE_T") ->
"wxString const":
5782 r"""ShowType(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
5783 return _pcbnew.IO_MGR_ShowType(aFileType)
5787 r"""EnumFromStr(wxString aFileType) -> IO_MGR::PCB_FILE_T"""
5788 return _pcbnew.IO_MGR_EnumFromStr(aFileType)
5792 r"""GetFileExtension(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
5793 return _pcbnew.IO_MGR_GetFileExtension(aFileType)
5797 r"""GuessPluginTypeFromLibPath(wxString aLibPath) -> IO_MGR::PCB_FILE_T"""
5798 return _pcbnew.IO_MGR_GuessPluginTypeFromLibPath(aLibPath)
5801 def Load(aFileType:
"IO_MGR::PCB_FILE_T", aFileName:
"wxString", aAppendToMe:
"BOARD"=
None, aProperties:
"PROPERTIES const *"=
None, aProject:
"PROJECT *"=
None, aProgressReporter:
"PROGRESS_REPORTER *"=
None) ->
"BOARD *":
5802 r"""Load(IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aAppendToMe=None, PROPERTIES const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
5803 return _pcbnew.IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
5806 def Save(aFileType:
"IO_MGR::PCB_FILE_T", aFileName:
"wxString", aBoard:
"BOARD", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5807 r"""Save(IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, PROPERTIES const * aProperties=None)"""
5808 return _pcbnew.IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
5811 r"""__init__(IO_MGR self) -> IO_MGR"""
5812 _pcbnew.IO_MGR_swiginit(self, _pcbnew.new_IO_MGR())
5813 __swig_destroy__ = _pcbnew.delete_IO_MGR
5816_pcbnew.IO_MGR_swigregister(IO_MGR)
5819 r"""IO_MGR_PluginFind(IO_MGR::PCB_FILE_T aFileType) -> PLUGIN"""
5820 return _pcbnew.IO_MGR_PluginFind(aFileType)
5823 r"""IO_MGR_PluginRelease(PLUGIN aPlugin)"""
5824 return _pcbnew.IO_MGR_PluginRelease(aPlugin)
5827 r"""IO_MGR_ShowType(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
5828 return _pcbnew.IO_MGR_ShowType(aFileType)
5831 r"""IO_MGR_EnumFromStr(wxString aFileType) -> IO_MGR::PCB_FILE_T"""
5832 return _pcbnew.IO_MGR_EnumFromStr(aFileType)
5835 r"""IO_MGR_GetFileExtension(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
5836 return _pcbnew.IO_MGR_GetFileExtension(aFileType)
5839 r"""IO_MGR_GuessPluginTypeFromLibPath(wxString aLibPath) -> IO_MGR::PCB_FILE_T"""
5840 return _pcbnew.IO_MGR_GuessPluginTypeFromLibPath(aLibPath)
5842def IO_MGR_Load(aFileType:
"IO_MGR::PCB_FILE_T", aFileName:
"wxString", aAppendToMe:
"BOARD"=
None, aProperties:
"PROPERTIES const *"=
None, aProject:
"PROJECT *"=
None, aProgressReporter:
"PROGRESS_REPORTER *"=
None) ->
"BOARD *":
5843 r"""IO_MGR_Load(IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aAppendToMe=None, PROPERTIES const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
5844 return _pcbnew.IO_MGR_Load(aFileType, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
5846def IO_MGR_Save(aFileType:
"IO_MGR::PCB_FILE_T", aFileName:
"wxString", aBoard:
"BOARD", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5847 r"""IO_MGR_Save(IO_MGR::PCB_FILE_T aFileType, wxString aFileName, BOARD aBoard, PROPERTIES const * aProperties=None)"""
5848 return _pcbnew.IO_MGR_Save(aFileType, aFileName, aBoard, aProperties)
5851 r"""Proxy of C++ PLUGIN class."""
5853 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5856 raise AttributeError(
"No constructor defined - class is abstract")
5857 __repr__ = _swig_repr
5860 r"""PluginName(PLUGIN self) -> wxString"""
5861 return _pcbnew.PLUGIN_PluginName(self)
5864 r"""GetFileExtension(PLUGIN self) -> wxString"""
5865 return _pcbnew.PLUGIN_GetFileExtension(self)
5867 def Load(self, aFileName:
"wxString", aAppendToMe:
"BOARD", aProperties:
"PROPERTIES const *"=
None, aProject:
"PROJECT *"=
None, aProgressReporter:
"PROGRESS_REPORTER *"=
None) ->
"BOARD *":
5868 r"""Load(PLUGIN self, wxString aFileName, BOARD aAppendToMe, PROPERTIES const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
5869 return _pcbnew.PLUGIN_Load(self, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
5872 r"""GetImportedCachedLibraryFootprints(PLUGIN self) -> std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >"""
5873 return _pcbnew.PLUGIN_GetImportedCachedLibraryFootprints(self)
5875 def Save(self, aFileName:
"wxString", aBoard:
"BOARD", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5876 r"""Save(PLUGIN self, wxString aFileName, BOARD aBoard, PROPERTIES const * aProperties=None)"""
5877 return _pcbnew.PLUGIN_Save(self, aFileName, aBoard, aProperties)
5879 def FootprintEnumerate(self, aFootprintNames:
"wxArrayString &", aLibraryPath:
"wxString", aBestEfforts:
"bool", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5880 r"""FootprintEnumerate(PLUGIN self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, PROPERTIES const * aProperties=None)"""
5881 return _pcbnew.PLUGIN_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
5884 r"""GetLibraryTimestamp(PLUGIN self, wxString aLibraryPath) -> long long"""
5885 return _pcbnew.PLUGIN_GetLibraryTimestamp(self, aLibraryPath)
5887 def PrefetchLib(self, aLibraryPath:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5888 r"""PrefetchLib(PLUGIN self, wxString aLibraryPath, PROPERTIES const * aProperties=None)"""
5889 return _pcbnew.PLUGIN_PrefetchLib(self, aLibraryPath, aProperties)
5891 def FootprintLoad(self, aLibraryPath:
"wxString", aFootprintName:
"wxString", aKeepUUID:
"bool"=
False, aProperties:
"PROPERTIES const *"=
None) ->
"FOOTPRINT *":
5892 r"""FootprintLoad(PLUGIN self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, PROPERTIES const * aProperties=None) -> FOOTPRINT"""
5893 return _pcbnew.PLUGIN_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
5895 def GetEnumeratedFootprint(self, aLibraryPath:
"wxString", aFootprintName:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"FOOTPRINT const *":
5896 r"""GetEnumeratedFootprint(PLUGIN self, wxString aLibraryPath, wxString aFootprintName, PROPERTIES const * aProperties=None) -> FOOTPRINT"""
5897 return _pcbnew.PLUGIN_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
5899 def FootprintExists(self, aLibraryPath:
"wxString", aFootprintName:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"bool":
5900 r"""FootprintExists(PLUGIN self, wxString aLibraryPath, wxString aFootprintName, PROPERTIES const * aProperties=None) -> bool"""
5901 return _pcbnew.PLUGIN_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
5903 def FootprintSave(self, aLibraryPath:
"wxString", aFootprint:
"FOOTPRINT", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5904 r"""FootprintSave(PLUGIN self, wxString aLibraryPath, FOOTPRINT aFootprint, PROPERTIES const * aProperties=None)"""
5905 return _pcbnew.PLUGIN_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
5907 def FootprintDelete(self, aLibraryPath:
"wxString", aFootprintName:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5908 r"""FootprintDelete(PLUGIN self, wxString aLibraryPath, wxString aFootprintName, PROPERTIES const * aProperties=None)"""
5909 return _pcbnew.PLUGIN_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
5911 def FootprintLibCreate(self, aLibraryPath:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5912 r"""FootprintLibCreate(PLUGIN self, wxString aLibraryPath, PROPERTIES const * aProperties=None)"""
5913 return _pcbnew.PLUGIN_FootprintLibCreate(self, aLibraryPath, aProperties)
5915 def FootprintLibDelete(self, aLibraryPath:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"bool":
5916 r"""FootprintLibDelete(PLUGIN self, wxString aLibraryPath, PROPERTIES const * aProperties=None) -> bool"""
5917 return _pcbnew.PLUGIN_FootprintLibDelete(self, aLibraryPath, aProperties)
5920 r"""IsFootprintLibWritable(PLUGIN self, wxString aLibraryPath) -> bool"""
5921 return _pcbnew.PLUGIN_IsFootprintLibWritable(self, aLibraryPath)
5924 r"""FootprintLibOptions(PLUGIN self, PROPERTIES * aListToAppendTo)"""
5925 return _pcbnew.PLUGIN_FootprintLibOptions(self, aListToAppendTo)
5926 __swig_destroy__ = _pcbnew.delete_PLUGIN
5929 r"""footprintPyEnumerate(PLUGIN self, wxString aLibraryPath, bool aExitOnError) -> wxArrayString"""
5930 return _pcbnew.PLUGIN_footprintPyEnumerate(self, aLibraryPath, aExitOnError)
5937_pcbnew.PLUGIN_swigregister(PLUGIN)
5939SEXPR_BOARD_FILE_VERSION = _pcbnew.SEXPR_BOARD_FILE_VERSION
5941BOARD_FILE_HOST_VERSION = _pcbnew.BOARD_FILE_HOST_VERSION
5943LEGACY_ARC_FORMATTING = _pcbnew.LEGACY_ARC_FORMATTING
5945CTL_OMIT_PAD_NETS = _pcbnew.CTL_OMIT_PAD_NETS
5947CTL_OMIT_TSTAMPS = _pcbnew.CTL_OMIT_TSTAMPS
5949CTL_OMIT_INITIAL_COMMENTS = _pcbnew.CTL_OMIT_INITIAL_COMMENTS
5951CTL_OMIT_PATH = _pcbnew.CTL_OMIT_PATH
5953CTL_OMIT_AT = _pcbnew.CTL_OMIT_AT
5955CTL_OMIT_LIBNAME = _pcbnew.CTL_OMIT_LIBNAME
5957CTL_OMIT_FOOTPRINT_VERSION = _pcbnew.CTL_OMIT_FOOTPRINT_VERSION
5959CTL_FOR_CLIPBOARD = _pcbnew.CTL_FOR_CLIPBOARD
5961CTL_FOR_LIBRARY = _pcbnew.CTL_FOR_LIBRARY
5963CTL_FOR_BOARD = _pcbnew.CTL_FOR_BOARD
5966 r"""Proxy of C++ PCB_PLUGIN class."""
5968 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5969 __repr__ = _swig_repr
5972 r"""PluginName(PCB_PLUGIN self) -> wxString"""
5973 return _pcbnew.PCB_PLUGIN_PluginName(self)
5976 r"""GetFileExtension(PCB_PLUGIN self) -> wxString"""
5977 return _pcbnew.PCB_PLUGIN_GetFileExtension(self)
5979 def Save(self, aFileName:
"wxString", aBoard:
"BOARD", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5980 r"""Save(PCB_PLUGIN self, wxString aFileName, BOARD aBoard, PROPERTIES const * aProperties=None)"""
5981 return _pcbnew.PCB_PLUGIN_Save(self, aFileName, aBoard, aProperties)
5983 def Load(self, aFileName:
"wxString", aAppendToMe:
"BOARD", aProperties:
"PROPERTIES const *"=
None, aProject:
"PROJECT *"=
None, aProgressReporter:
"PROGRESS_REPORTER *"=
None) ->
"BOARD *":
5984 r"""Load(PCB_PLUGIN self, wxString aFileName, BOARD aAppendToMe, PROPERTIES const * aProperties=None, PROJECT * aProject=None, PROGRESS_REPORTER * aProgressReporter=None) -> BOARD"""
5985 return _pcbnew.PCB_PLUGIN_Load(self, aFileName, aAppendToMe, aProperties, aProject, aProgressReporter)
5987 def DoLoad(self, aReader:
"LINE_READER", aAppendToMe:
"BOARD", aProperties:
"PROPERTIES const *", aProgressReporter:
"PROGRESS_REPORTER *", aLineCount:
"unsigned int") ->
"BOARD *":
5988 r"""DoLoad(PCB_PLUGIN self, LINE_READER aReader, BOARD aAppendToMe, PROPERTIES const * aProperties, PROGRESS_REPORTER * aProgressReporter, unsigned int aLineCount) -> BOARD"""
5989 return _pcbnew.PCB_PLUGIN_DoLoad(self, aReader, aAppendToMe, aProperties, aProgressReporter, aLineCount)
5991 def FootprintEnumerate(self, aFootprintNames:
"wxArrayString &", aLibraryPath:
"wxString", aBestEfforts:
"bool", aProperties:
"PROPERTIES const *"=
None) ->
"void":
5992 r"""FootprintEnumerate(PCB_PLUGIN self, wxArrayString & aFootprintNames, wxString aLibraryPath, bool aBestEfforts, PROPERTIES const * aProperties=None)"""
5993 return _pcbnew.PCB_PLUGIN_FootprintEnumerate(self, aFootprintNames, aLibraryPath, aBestEfforts, aProperties)
5995 def GetEnumeratedFootprint(self, aLibraryPath:
"wxString", aFootprintName:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"FOOTPRINT const *":
5996 r"""GetEnumeratedFootprint(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, PROPERTIES const * aProperties=None) -> FOOTPRINT"""
5997 return _pcbnew.PCB_PLUGIN_GetEnumeratedFootprint(self, aLibraryPath, aFootprintName, aProperties)
5999 def FootprintExists(self, aLibraryPath:
"wxString", aFootprintName:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"bool":
6000 r"""FootprintExists(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, PROPERTIES const * aProperties=None) -> bool"""
6001 return _pcbnew.PCB_PLUGIN_FootprintExists(self, aLibraryPath, aFootprintName, aProperties)
6003 def FootprintLoad(self, aLibraryPath:
"wxString", aFootprintName:
"wxString", aKeepUUID:
"bool"=
False, aProperties:
"PROPERTIES const *"=
None) ->
"FOOTPRINT *":
6004 r"""FootprintLoad(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, bool aKeepUUID=False, PROPERTIES const * aProperties=None) -> FOOTPRINT"""
6005 return _pcbnew.PCB_PLUGIN_FootprintLoad(self, aLibraryPath, aFootprintName, aKeepUUID, aProperties)
6007 def FootprintSave(self, aLibraryPath:
"wxString", aFootprint:
"FOOTPRINT", aProperties:
"PROPERTIES const *"=
None) ->
"void":
6008 r"""FootprintSave(PCB_PLUGIN self, wxString aLibraryPath, FOOTPRINT aFootprint, PROPERTIES const * aProperties=None)"""
6009 return _pcbnew.PCB_PLUGIN_FootprintSave(self, aLibraryPath, aFootprint, aProperties)
6011 def FootprintDelete(self, aLibraryPath:
"wxString", aFootprintName:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"void":
6012 r"""FootprintDelete(PCB_PLUGIN self, wxString aLibraryPath, wxString aFootprintName, PROPERTIES const * aProperties=None)"""
6013 return _pcbnew.PCB_PLUGIN_FootprintDelete(self, aLibraryPath, aFootprintName, aProperties)
6016 r"""GetLibraryTimestamp(PCB_PLUGIN self, wxString aLibraryPath) -> long long"""
6017 return _pcbnew.PCB_PLUGIN_GetLibraryTimestamp(self, aLibraryPath)
6019 def FootprintLibCreate(self, aLibraryPath:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"void":
6020 r"""FootprintLibCreate(PCB_PLUGIN self, wxString aLibraryPath, PROPERTIES const * aProperties=None)"""
6021 return _pcbnew.PCB_PLUGIN_FootprintLibCreate(self, aLibraryPath, aProperties)
6023 def FootprintLibDelete(self, aLibraryPath:
"wxString", aProperties:
"PROPERTIES const *"=
None) ->
"bool":
6024 r"""FootprintLibDelete(PCB_PLUGIN self, wxString aLibraryPath, PROPERTIES const * aProperties=None) -> bool"""
6025 return _pcbnew.PCB_PLUGIN_FootprintLibDelete(self, aLibraryPath, aProperties)
6028 r"""IsFootprintLibWritable(PCB_PLUGIN self, wxString aLibraryPath) -> bool"""
6029 return _pcbnew.PCB_PLUGIN_IsFootprintLibWritable(self, aLibraryPath)
6032 r"""__init__(PCB_PLUGIN self, int aControlFlags=((1 << 3)|(1 << 8))) -> PCB_PLUGIN"""
6033 _pcbnew.PCB_PLUGIN_swiginit(self, _pcbnew.new_PCB_PLUGIN(*args))
6034 __swig_destroy__ = _pcbnew.delete_PCB_PLUGIN
6036 def Format(self, aItem:
"BOARD_ITEM", aNestLevel:
"int"=0) ->
"void":
6037 r"""Format(PCB_PLUGIN self, BOARD_ITEM aItem, int aNestLevel=0)"""
6038 return _pcbnew.PCB_PLUGIN_Format(self, aItem, aNestLevel)
6041 r"""GetStringOutput(PCB_PLUGIN self, bool doClear) -> string"""
6042 return _pcbnew.PCB_PLUGIN_GetStringOutput(self, doClear)
6045 r"""SetOutputFormatter(PCB_PLUGIN self, OUTPUTFORMATTER aFormatter)"""
6046 return _pcbnew.PCB_PLUGIN_SetOutputFormatter(self, aFormatter)
6048 def Parse(self, aClipboardSourceInput:
"wxString") ->
"BOARD_ITEM *":
6049 r"""Parse(PCB_PLUGIN self, wxString aClipboardSourceInput) -> BOARD_ITEM"""
6050 return _pcbnew.PCB_PLUGIN_Parse(self, aClipboardSourceInput)
6053_pcbnew.PCB_PLUGIN_swigregister(PCB_PLUGIN)
6056 r"""Proxy of C++ PLOT_CONTROLLER class."""
6058 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6059 __repr__ = _swig_repr
6062 r"""__init__(PLOT_CONTROLLER self, BOARD aBoard) -> PLOT_CONTROLLER"""
6063 _pcbnew.PLOT_CONTROLLER_swiginit(self, _pcbnew.new_PLOT_CONTROLLER(aBoard))
6064 __swig_destroy__ = _pcbnew.delete_PLOT_CONTROLLER
6067 r"""GetPlotOptions(PLOT_CONTROLLER self) -> PCB_PLOT_PARAMS"""
6068 return _pcbnew.PLOT_CONTROLLER_GetPlotOptions(self)
6071 r"""SetLayer(PLOT_CONTROLLER self, LAYER_NUM aLayer)"""
6072 return _pcbnew.PLOT_CONTROLLER_SetLayer(self, aLayer)
6075 r"""GetLayer(PLOT_CONTROLLER self) -> LAYER_NUM"""
6076 return _pcbnew.PLOT_CONTROLLER_GetLayer(self)
6079 r"""IsPlotOpen(PLOT_CONTROLLER self) -> bool"""
6080 return _pcbnew.PLOT_CONTROLLER_IsPlotOpen(self)
6083 r"""ClosePlot(PLOT_CONTROLLER self)"""
6084 return _pcbnew.PLOT_CONTROLLER_ClosePlot(self)
6086 def OpenPlotfile(self, aSuffix:
"wxString", aFormat:
"PLOT_FORMAT", aSheetDesc:
"wxString") ->
"bool":
6087 r"""OpenPlotfile(PLOT_CONTROLLER self, wxString aSuffix, PLOT_FORMAT aFormat, wxString aSheetDesc) -> bool"""
6088 return _pcbnew.PLOT_CONTROLLER_OpenPlotfile(self, aSuffix, aFormat, aSheetDesc)
6091 r"""PlotLayer(PLOT_CONTROLLER self) -> bool"""
6092 return _pcbnew.PLOT_CONTROLLER_PlotLayer(self)
6095 r"""GetPlotFileName(PLOT_CONTROLLER self) -> wxString"""
6096 return _pcbnew.PLOT_CONTROLLER_GetPlotFileName(self)
6099 r"""GetPlotDirName(PLOT_CONTROLLER self) -> wxString"""
6100 return _pcbnew.PLOT_CONTROLLER_GetPlotDirName(self)
6103 r"""SetColorMode(PLOT_CONTROLLER self, bool aColorMode)"""
6104 return _pcbnew.PLOT_CONTROLLER_SetColorMode(self, aColorMode)
6107 r"""GetColorMode(PLOT_CONTROLLER self) -> bool"""
6108 return _pcbnew.PLOT_CONTROLLER_GetColorMode(self)
6111_pcbnew.PLOT_CONTROLLER_swigregister(PLOT_CONTROLLER)
6114 r"""Proxy of C++ PCB_PLOT_PARAMS class."""
6116 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6117 __repr__ = _swig_repr
6118 NO_DRILL_SHAPE = _pcbnew.PCB_PLOT_PARAMS_NO_DRILL_SHAPE
6120 SMALL_DRILL_SHAPE = _pcbnew.PCB_PLOT_PARAMS_SMALL_DRILL_SHAPE
6122 FULL_DRILL_SHAPE = _pcbnew.PCB_PLOT_PARAMS_FULL_DRILL_SHAPE
6126 r"""__init__(PCB_PLOT_PARAMS self) -> PCB_PLOT_PARAMS"""
6127 _pcbnew.PCB_PLOT_PARAMS_swiginit(self, _pcbnew.new_PCB_PLOT_PARAMS())
6130 r"""SetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self, bool aSkip)"""
6131 return _pcbnew.PCB_PLOT_PARAMS_SetSkipPlotNPTH_Pads(self, aSkip)
6134 r"""GetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self) -> bool"""
6135 return _pcbnew.PCB_PLOT_PARAMS_GetSkipPlotNPTH_Pads(self)
6137 def Format(self, aFormatter:
"OUTPUTFORMATTER", aNestLevel:
"int", aControl:
"int"=0) ->
"void":
6138 r"""Format(PCB_PLOT_PARAMS self, OUTPUTFORMATTER aFormatter, int aNestLevel, int aControl=0)"""
6139 return _pcbnew.PCB_PLOT_PARAMS_Format(self, aFormatter, aNestLevel, aControl)
6141 def Parse(self, aParser:
"PCB_PLOT_PARAMS_PARSER *") ->
"void":
6142 r"""Parse(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS_PARSER * aParser)"""
6143 return _pcbnew.PCB_PLOT_PARAMS_Parse(self, aParser)
6145 def IsSameAs(self, aPcbPlotParams:
"PCB_PLOT_PARAMS") ->
"bool":
6146 r"""IsSameAs(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS aPcbPlotParams) -> bool"""
6147 return _pcbnew.PCB_PLOT_PARAMS_IsSameAs(self, aPcbPlotParams)
6150 r"""SetColorSettings(PCB_PLOT_PARAMS self, COLOR_SETTINGS * aSettings)"""
6151 return _pcbnew.PCB_PLOT_PARAMS_SetColorSettings(self, aSettings)
6154 r"""ColorSettings(PCB_PLOT_PARAMS self) -> COLOR_SETTINGS *"""
6155 return _pcbnew.PCB_PLOT_PARAMS_ColorSettings(self)
6158 r"""SetTextMode(PCB_PLOT_PARAMS self, PLOT_TEXT_MODE aVal)"""
6159 return _pcbnew.PCB_PLOT_PARAMS_SetTextMode(self, aVal)
6162 r"""GetTextMode(PCB_PLOT_PARAMS self) -> PLOT_TEXT_MODE"""
6163 return _pcbnew.PCB_PLOT_PARAMS_GetTextMode(self)
6166 r"""SetPlotMode(PCB_PLOT_PARAMS self, OUTLINE_MODE aPlotMode)"""
6167 return _pcbnew.PCB_PLOT_PARAMS_SetPlotMode(self, aPlotMode)
6170 r"""GetPlotMode(PCB_PLOT_PARAMS self) -> OUTLINE_MODE"""
6171 return _pcbnew.PCB_PLOT_PARAMS_GetPlotMode(self)
6174 r"""SetDXFPlotPolygonMode(PCB_PLOT_PARAMS self, bool aFlag)"""
6175 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotPolygonMode(self, aFlag)
6178 r"""GetDXFPlotPolygonMode(PCB_PLOT_PARAMS self) -> bool"""
6179 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotPolygonMode(self)
6182 r"""SetDXFPlotUnits(PCB_PLOT_PARAMS self, DXF_UNITS aUnit)"""
6183 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotUnits(self, aUnit)
6186 r"""GetDXFPlotUnits(PCB_PLOT_PARAMS self) -> DXF_UNITS"""
6187 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotUnits(self)
6190 r"""SetDrillMarksType(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS::DrillMarksType aVal)"""
6191 return _pcbnew.PCB_PLOT_PARAMS_SetDrillMarksType(self, aVal)
6194 r"""GetDrillMarksType(PCB_PLOT_PARAMS self) -> PCB_PLOT_PARAMS::DrillMarksType"""
6195 return _pcbnew.PCB_PLOT_PARAMS_GetDrillMarksType(self)
6198 r"""SetScale(PCB_PLOT_PARAMS self, double aVal)"""
6199 return _pcbnew.PCB_PLOT_PARAMS_SetScale(self, aVal)
6202 r"""GetScale(PCB_PLOT_PARAMS self) -> double"""
6203 return _pcbnew.PCB_PLOT_PARAMS_GetScale(self)
6206 r"""SetFineScaleAdjustX(PCB_PLOT_PARAMS self, double aVal)"""
6207 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustX(self, aVal)
6210 r"""GetFineScaleAdjustX(PCB_PLOT_PARAMS self) -> double"""
6211 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustX(self)
6214 r"""SetFineScaleAdjustY(PCB_PLOT_PARAMS self, double aVal)"""
6215 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustY(self, aVal)
6218 r"""GetFineScaleAdjustY(PCB_PLOT_PARAMS self) -> double"""
6219 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustY(self)
6222 r"""SetWidthAdjust(PCB_PLOT_PARAMS self, int aVal)"""
6223 return _pcbnew.PCB_PLOT_PARAMS_SetWidthAdjust(self, aVal)
6226 r"""GetWidthAdjust(PCB_PLOT_PARAMS self) -> int"""
6227 return _pcbnew.PCB_PLOT_PARAMS_GetWidthAdjust(self)
6230 r"""SetAutoScale(PCB_PLOT_PARAMS self, bool aFlag)"""
6231 return _pcbnew.PCB_PLOT_PARAMS_SetAutoScale(self, aFlag)
6234 r"""GetAutoScale(PCB_PLOT_PARAMS self) -> bool"""
6235 return _pcbnew.PCB_PLOT_PARAMS_GetAutoScale(self)
6238 r"""SetMirror(PCB_PLOT_PARAMS self, bool aFlag)"""
6239 return _pcbnew.PCB_PLOT_PARAMS_SetMirror(self, aFlag)
6242 r"""GetMirror(PCB_PLOT_PARAMS self) -> bool"""
6243 return _pcbnew.PCB_PLOT_PARAMS_GetMirror(self)
6246 r"""SetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
6247 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadsOnFabLayers(self, aFlag)
6250 r"""GetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
6251 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadsOnFabLayers(self)
6254 r"""SetSketchPadLineWidth(PCB_PLOT_PARAMS self, int aWidth)"""
6255 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadLineWidth(self, aWidth)
6258 r"""GetSketchPadLineWidth(PCB_PLOT_PARAMS self) -> int"""
6259 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadLineWidth(self)
6262 r"""SetPlotInvisibleText(PCB_PLOT_PARAMS self, bool aFlag)"""
6263 return _pcbnew.PCB_PLOT_PARAMS_SetPlotInvisibleText(self, aFlag)
6266 r"""GetPlotInvisibleText(PCB_PLOT_PARAMS self) -> bool"""
6267 return _pcbnew.PCB_PLOT_PARAMS_GetPlotInvisibleText(self)
6270 r"""SetPlotValue(PCB_PLOT_PARAMS self, bool aFlag)"""
6271 return _pcbnew.PCB_PLOT_PARAMS_SetPlotValue(self, aFlag)
6274 r"""GetPlotValue(PCB_PLOT_PARAMS self) -> bool"""
6275 return _pcbnew.PCB_PLOT_PARAMS_GetPlotValue(self)
6278 r"""SetPlotReference(PCB_PLOT_PARAMS self, bool aFlag)"""
6279 return _pcbnew.PCB_PLOT_PARAMS_SetPlotReference(self, aFlag)
6282 r"""GetPlotReference(PCB_PLOT_PARAMS self) -> bool"""
6283 return _pcbnew.PCB_PLOT_PARAMS_GetPlotReference(self)
6286 r"""SetNegative(PCB_PLOT_PARAMS self, bool aFlag)"""
6287 return _pcbnew.PCB_PLOT_PARAMS_SetNegative(self, aFlag)
6290 r"""GetNegative(PCB_PLOT_PARAMS self) -> bool"""
6291 return _pcbnew.PCB_PLOT_PARAMS_GetNegative(self)
6294 r"""SetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self, bool aFlag)"""
6295 return _pcbnew.PCB_PLOT_PARAMS_SetPlotViaOnMaskLayer(self, aFlag)
6298 r"""GetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self) -> bool"""
6299 return _pcbnew.PCB_PLOT_PARAMS_GetPlotViaOnMaskLayer(self)
6302 r"""SetPlotFrameRef(PCB_PLOT_PARAMS self, bool aFlag)"""
6303 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFrameRef(self, aFlag)
6306 r"""GetPlotFrameRef(PCB_PLOT_PARAMS self) -> bool"""
6307 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFrameRef(self)
6310 r"""SetExcludeEdgeLayer(PCB_PLOT_PARAMS self, bool aFlag)"""
6311 return _pcbnew.PCB_PLOT_PARAMS_SetExcludeEdgeLayer(self, aFlag)
6314 r"""GetExcludeEdgeLayer(PCB_PLOT_PARAMS self) -> bool"""
6315 return _pcbnew.PCB_PLOT_PARAMS_GetExcludeEdgeLayer(self)
6318 r"""SetFormat(PCB_PLOT_PARAMS self, PLOT_FORMAT aFormat)"""
6319 return _pcbnew.PCB_PLOT_PARAMS_SetFormat(self, aFormat)
6322 r"""GetFormat(PCB_PLOT_PARAMS self) -> PLOT_FORMAT"""
6323 return _pcbnew.PCB_PLOT_PARAMS_GetFormat(self)
6326 r"""SetOutputDirectory(PCB_PLOT_PARAMS self, wxString aDir)"""
6327 return _pcbnew.PCB_PLOT_PARAMS_SetOutputDirectory(self, aDir)
6330 r"""GetOutputDirectory(PCB_PLOT_PARAMS self) -> wxString"""
6331 return _pcbnew.PCB_PLOT_PARAMS_GetOutputDirectory(self)
6334 r"""SetDisableGerberMacros(PCB_PLOT_PARAMS self, bool aDisable)"""
6335 return _pcbnew.PCB_PLOT_PARAMS_SetDisableGerberMacros(self, aDisable)
6338 r"""GetDisableGerberMacros(PCB_PLOT_PARAMS self) -> bool"""
6339 return _pcbnew.PCB_PLOT_PARAMS_GetDisableGerberMacros(self)
6342 r"""SetUseGerberX2format(PCB_PLOT_PARAMS self, bool aUse)"""
6343 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberX2format(self, aUse)
6346 r"""GetUseGerberX2format(PCB_PLOT_PARAMS self) -> bool"""
6347 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberX2format(self)
6350 r"""SetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self, bool aUse)"""
6351 return _pcbnew.PCB_PLOT_PARAMS_SetIncludeGerberNetlistInfo(self, aUse)
6354 r"""GetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self) -> bool"""
6355 return _pcbnew.PCB_PLOT_PARAMS_GetIncludeGerberNetlistInfo(self)
6358 r"""SetCreateGerberJobFile(PCB_PLOT_PARAMS self, bool aCreate)"""
6359 return _pcbnew.PCB_PLOT_PARAMS_SetCreateGerberJobFile(self, aCreate)
6362 r"""GetCreateGerberJobFile(PCB_PLOT_PARAMS self) -> bool"""
6363 return _pcbnew.PCB_PLOT_PARAMS_GetCreateGerberJobFile(self)
6366 r"""SetUseGerberProtelExtensions(PCB_PLOT_PARAMS self, bool aUse)"""
6367 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberProtelExtensions(self, aUse)
6370 r"""GetUseGerberProtelExtensions(PCB_PLOT_PARAMS self) -> bool"""
6371 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberProtelExtensions(self)
6374 r"""SetGerberPrecision(PCB_PLOT_PARAMS self, int aPrecision)"""
6375 return _pcbnew.PCB_PLOT_PARAMS_SetGerberPrecision(self, aPrecision)
6378 r"""GetGerberPrecision(PCB_PLOT_PARAMS self) -> int"""
6379 return _pcbnew.PCB_PLOT_PARAMS_GetGerberPrecision(self)
6382 r"""SetSvgPrecision(PCB_PLOT_PARAMS self, unsigned int aPrecision, bool aUseInch)"""
6383 return _pcbnew.PCB_PLOT_PARAMS_SetSvgPrecision(self, aPrecision, aUseInch)
6386 r"""GetSvgPrecision(PCB_PLOT_PARAMS self) -> unsigned int"""
6387 return _pcbnew.PCB_PLOT_PARAMS_GetSvgPrecision(self)
6390 r"""GetSvgUseInch(PCB_PLOT_PARAMS self) -> bool"""
6391 return _pcbnew.PCB_PLOT_PARAMS_GetSvgUseInch(self)
6395 r"""GetGerberDefaultPrecision() -> int"""
6396 return _pcbnew.PCB_PLOT_PARAMS_GetGerberDefaultPrecision()
6399 r"""SetSubtractMaskFromSilk(PCB_PLOT_PARAMS self, bool aSubtract)"""
6400 return _pcbnew.PCB_PLOT_PARAMS_SetSubtractMaskFromSilk(self, aSubtract)
6403 r"""GetSubtractMaskFromSilk(PCB_PLOT_PARAMS self) -> bool"""
6404 return _pcbnew.PCB_PLOT_PARAMS_GetSubtractMaskFromSilk(self)
6407 r"""SetLayerSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
6408 return _pcbnew.PCB_PLOT_PARAMS_SetLayerSelection(self, aSelection)
6411 r"""GetLayerSelection(PCB_PLOT_PARAMS self) -> LSET"""
6412 return _pcbnew.PCB_PLOT_PARAMS_GetLayerSelection(self)
6415 r"""SetUseAuxOrigin(PCB_PLOT_PARAMS self, bool aAux)"""
6416 return _pcbnew.PCB_PLOT_PARAMS_SetUseAuxOrigin(self, aAux)
6419 r"""GetUseAuxOrigin(PCB_PLOT_PARAMS self) -> bool"""
6420 return _pcbnew.PCB_PLOT_PARAMS_GetUseAuxOrigin(self)
6423 r"""SetScaleSelection(PCB_PLOT_PARAMS self, int aSelection)"""
6424 return _pcbnew.PCB_PLOT_PARAMS_SetScaleSelection(self, aSelection)
6427 r"""GetScaleSelection(PCB_PLOT_PARAMS self) -> int"""
6428 return _pcbnew.PCB_PLOT_PARAMS_GetScaleSelection(self)
6431 r"""SetA4Output(PCB_PLOT_PARAMS self, int aForce)"""
6432 return _pcbnew.PCB_PLOT_PARAMS_SetA4Output(self, aForce)
6435 r"""GetA4Output(PCB_PLOT_PARAMS self) -> bool"""
6436 return _pcbnew.PCB_PLOT_PARAMS_GetA4Output(self)
6439 r"""GetHPGLPenDiameter(PCB_PLOT_PARAMS self) -> double"""
6440 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenDiameter(self)
6443 r"""SetHPGLPenDiameter(PCB_PLOT_PARAMS self, double aValue) -> bool"""
6444 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenDiameter(self, aValue)
6447 r"""GetHPGLPenSpeed(PCB_PLOT_PARAMS self) -> int"""
6448 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenSpeed(self)
6451 r"""SetHPGLPenSpeed(PCB_PLOT_PARAMS self, int aValue) -> bool"""
6452 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenSpeed(self, aValue)
6455 r"""SetHPGLPenNum(PCB_PLOT_PARAMS self, int aVal)"""
6456 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenNum(self, aVal)
6459 r"""GetHPGLPenNum(PCB_PLOT_PARAMS self) -> int"""
6460 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenNum(self)
6467 __swig_destroy__ = _pcbnew.delete_PCB_PLOT_PARAMS
6470_pcbnew.PCB_PLOT_PARAMS_swigregister(PCB_PLOT_PARAMS)
6473 r"""PCB_PLOT_PARAMS_GetGerberDefaultPrecision() -> int"""
6474 return _pcbnew.PCB_PLOT_PARAMS_GetGerberDefaultPrecision()
6476DXF_UNITS_INCHES = _pcbnew.DXF_UNITS_INCHES
6478DXF_UNITS_MILLIMETERS = _pcbnew.DXF_UNITS_MILLIMETERS
6480PLOT_FORMAT_UNDEFINED = _pcbnew.PLOT_FORMAT_UNDEFINED
6482PLOT_FORMAT_FIRST_FORMAT = _pcbnew.PLOT_FORMAT_FIRST_FORMAT
6484PLOT_FORMAT_HPGL = _pcbnew.PLOT_FORMAT_HPGL
6486PLOT_FORMAT_GERBER = _pcbnew.PLOT_FORMAT_GERBER
6488PLOT_FORMAT_POST = _pcbnew.PLOT_FORMAT_POST
6490PLOT_FORMAT_DXF = _pcbnew.PLOT_FORMAT_DXF
6492PLOT_FORMAT_PDF = _pcbnew.PLOT_FORMAT_PDF
6494PLOT_FORMAT_SVG = _pcbnew.PLOT_FORMAT_SVG
6496PLOT_FORMAT_LAST_FORMAT = _pcbnew.PLOT_FORMAT_LAST_FORMAT
6498PLOT_TEXT_MODE_STROKE = _pcbnew.PLOT_TEXT_MODE_STROKE
6500PLOT_TEXT_MODE_NATIVE = _pcbnew.PLOT_TEXT_MODE_NATIVE
6502PLOT_TEXT_MODE_PHANTOM = _pcbnew.PLOT_TEXT_MODE_PHANTOM
6504PLOT_TEXT_MODE_DEFAULT = _pcbnew.PLOT_TEXT_MODE_DEFAULT
6506PLOT_DASH_TYPE_DEFAULT = _pcbnew.PLOT_DASH_TYPE_DEFAULT
6508PLOT_DASH_TYPE_SOLID = _pcbnew.PLOT_DASH_TYPE_SOLID
6510PLOT_DASH_TYPE_FIRST_TYPE = _pcbnew.PLOT_DASH_TYPE_FIRST_TYPE
6512PLOT_DASH_TYPE_DASH = _pcbnew.PLOT_DASH_TYPE_DASH
6514PLOT_DASH_TYPE_DOT = _pcbnew.PLOT_DASH_TYPE_DOT
6516PLOT_DASH_TYPE_DASHDOT = _pcbnew.PLOT_DASH_TYPE_DASHDOT
6518PLOT_DASH_TYPE_LAST_TYPE = _pcbnew.PLOT_DASH_TYPE_LAST_TYPE
6521 r"""Proxy of C++ PLOTTER class."""
6523 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6526 raise AttributeError(
"No constructor defined - class is abstract")
6527 __repr__ = _swig_repr
6528 DO_NOT_SET_LINE_WIDTH = _pcbnew.PLOTTER_DO_NOT_SET_LINE_WIDTH
6530 USE_DEFAULT_LINE_WIDTH = _pcbnew.PLOTTER_USE_DEFAULT_LINE_WIDTH
6532 __swig_destroy__ = _pcbnew.delete_PLOTTER
6535 r"""GetPlotterType(PLOTTER self) -> PLOT_FORMAT"""
6536 return _pcbnew.PLOTTER_GetPlotterType(self)
6539 r"""StartPlot(PLOTTER self) -> bool"""
6540 return _pcbnew.PLOTTER_StartPlot(self)
6543 r"""EndPlot(PLOTTER self) -> bool"""
6544 return _pcbnew.PLOTTER_EndPlot(self)
6547 r"""SetNegative(PLOTTER self, bool aNegative)"""
6548 return _pcbnew.PLOTTER_SetNegative(self, aNegative)
6551 r"""SetColorMode(PLOTTER self, bool aColorMode)"""
6552 return _pcbnew.PLOTTER_SetColorMode(self, aColorMode)
6555 r"""GetColorMode(PLOTTER self) -> bool"""
6556 return _pcbnew.PLOTTER_GetColorMode(self)
6559 r"""SetRenderSettings(PLOTTER self, RENDER_SETTINGS * aSettings)"""
6560 return _pcbnew.PLOTTER_SetRenderSettings(self, aSettings)
6563 r"""RenderSettings(PLOTTER self) -> RENDER_SETTINGS *"""
6564 return _pcbnew.PLOTTER_RenderSettings(self)
6567 r"""SetPageSettings(PLOTTER self, PAGE_INFO const & aPageSettings)"""
6568 return _pcbnew.PLOTTER_SetPageSettings(self, aPageSettings)
6571 r"""PageSettings(PLOTTER self) -> PAGE_INFO &"""
6572 return _pcbnew.PLOTTER_PageSettings(self)
6575 r"""SetCurrentLineWidth(PLOTTER self, int width, void * aData=None)"""
6576 return _pcbnew.PLOTTER_SetCurrentLineWidth(self, width, aData)
6579 r"""GetCurrentLineWidth(PLOTTER self) -> int"""
6580 return _pcbnew.PLOTTER_GetCurrentLineWidth(self)
6583 r"""SetColor(PLOTTER self, COLOR4D color)"""
6584 return _pcbnew.PLOTTER_SetColor(self, color)
6586 def SetDash(self, dashed:
"PLOT_DASH_TYPE") ->
"void":
6587 r"""SetDash(PLOTTER self, PLOT_DASH_TYPE dashed)"""
6588 return _pcbnew.PLOTTER_SetDash(self, dashed)
6591 r"""SetCreator(PLOTTER self, wxString aCreator)"""
6592 return _pcbnew.PLOTTER_SetCreator(self, aCreator)
6595 r"""SetTitle(PLOTTER self, wxString aTitle)"""
6596 return _pcbnew.PLOTTER_SetTitle(self, aTitle)
6599 r"""AddLineToHeader(PLOTTER self, wxString aExtraString)"""
6600 return _pcbnew.PLOTTER_AddLineToHeader(self, aExtraString)
6603 r"""ClearHeaderLinesList(PLOTTER self)"""
6604 return _pcbnew.PLOTTER_ClearHeaderLinesList(self)
6606 def SetViewport(self, aOffset:
"wxPoint", aIusPerDecimil:
"double", aScale:
"double", aMirror:
"bool") ->
"void":
6607 r"""SetViewport(PLOTTER self, wxPoint aOffset, double aIusPerDecimil, double aScale, bool aMirror)"""
6608 return _pcbnew.PLOTTER_SetViewport(self, aOffset, aIusPerDecimil, aScale, aMirror)
6610 def OpenFile(self, aFullFilename:
"wxString") ->
"bool":
6611 r"""OpenFile(PLOTTER self, wxString aFullFilename) -> bool"""
6612 return _pcbnew.PLOTTER_OpenFile(self, aFullFilename)
6615 r"""GetIUsPerDecimil(PLOTTER self) -> double"""
6616 return _pcbnew.PLOTTER_GetIUsPerDecimil(self)
6619 r"""GetPlotterArcLowDef(PLOTTER self) -> int"""
6620 return _pcbnew.PLOTTER_GetPlotterArcLowDef(self)
6623 r"""GetPlotterArcHighDef(PLOTTER self) -> int"""
6624 return _pcbnew.PLOTTER_GetPlotterArcHighDef(self)
6627 r"""Rect(PLOTTER self, wxPoint p1, wxPoint p2, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
6628 return _pcbnew.PLOTTER_Rect(self, *args)
6631 r"""Circle(PLOTTER self, wxPoint pos, int diametre, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)"""
6632 return _pcbnew.PLOTTER_Circle(self, *args)
6634 def Arc(self, *args) -> "void":
6636 Arc(PLOTTER self, wxPoint centre, double StAngle, double EndAngle, int rayon, FILL_T fill, int width=USE_DEFAULT_LINE_WIDTH)
6637 Arc(PLOTTER self, SHAPE_ARC const & aArc)
6639 return _pcbnew.PLOTTER_Arc(self, *args)
6642 r"""BezierCurve(PLOTTER self, wxPoint aStart, wxPoint aControl1, wxPoint aControl2, wxPoint aEnd, int aTolerance, int aLineThickness=USE_DEFAULT_LINE_WIDTH)"""
6643 return _pcbnew.PLOTTER_BezierCurve(self, *args)
6645 def PenTo(self, pos:
"wxPoint", plume:
"char") ->
"void":
6646 r"""PenTo(PLOTTER self, wxPoint pos, char plume)"""
6647 return _pcbnew.PLOTTER_PenTo(self, pos, plume)
6650 r"""MoveTo(PLOTTER self, wxPoint pos)"""
6651 return _pcbnew.PLOTTER_MoveTo(self, pos)
6654 r"""LineTo(PLOTTER self, wxPoint pos)"""
6655 return _pcbnew.PLOTTER_LineTo(self, pos)
6658 r"""FinishTo(PLOTTER self, wxPoint pos)"""
6659 return _pcbnew.PLOTTER_FinishTo(self, pos)
6662 r"""PenFinish(PLOTTER self)"""
6663 return _pcbnew.PLOTTER_PenFinish(self)
6667 PlotPoly(PLOTTER self, wxPoint_Vector aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=None)
6668 PlotPoly(PLOTTER self, SHAPE_LINE_CHAIN aCornerList, FILL_T aFill, int aWidth=USE_DEFAULT_LINE_WIDTH, void * aData=
None)
6670 return _pcbnew.PLOTTER_PlotPoly(self, *args)
6672 def PlotImage(self, aImage:
"wxImage const &", aPos:
"wxPoint", aScaleFactor:
"double") ->
"void":
6673 r"""PlotImage(PLOTTER self, wxImage const & aImage, wxPoint aPos, double aScaleFactor)"""
6674 return _pcbnew.PLOTTER_PlotImage(self, aImage, aPos, aScaleFactor)
6676 def ThickSegment(self, start:
"wxPoint", end:
"wxPoint", width:
"int", tracemode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6677 r"""ThickSegment(PLOTTER self, wxPoint start, wxPoint end, int width, OUTLINE_MODE tracemode, void * aData)"""
6678 return _pcbnew.PLOTTER_ThickSegment(self, start, end, width, tracemode, aData)
6680 def ThickArc(self, centre:
"wxPoint", StAngle:
"double", EndAngle:
"double", rayon:
"int", width:
"int", tracemode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6681 r"""ThickArc(PLOTTER self, wxPoint centre, double StAngle, double EndAngle, int rayon, int width, OUTLINE_MODE tracemode, void * aData)"""
6682 return _pcbnew.PLOTTER_ThickArc(self, centre, StAngle, EndAngle, rayon, width, tracemode, aData)
6684 def ThickRect(self, p1:
"wxPoint", p2:
"wxPoint", width:
"int", tracemode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6685 r"""ThickRect(PLOTTER self, wxPoint p1, wxPoint p2, int width, OUTLINE_MODE tracemode, void * aData)"""
6686 return _pcbnew.PLOTTER_ThickRect(self, p1, p2, width, tracemode, aData)
6688 def ThickCircle(self, pos:
"wxPoint", diametre:
"int", width:
"int", tracemode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6689 r"""ThickCircle(PLOTTER self, wxPoint pos, int diametre, int width, OUTLINE_MODE tracemode, void * aData)"""
6690 return _pcbnew.PLOTTER_ThickCircle(self, pos, diametre, width, tracemode, aData)
6692 def FilledCircle(self, pos:
"wxPoint", diametre:
"int", tracemode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6693 r"""FilledCircle(PLOTTER self, wxPoint pos, int diametre, OUTLINE_MODE tracemode, void * aData)"""
6694 return _pcbnew.PLOTTER_FilledCircle(self, pos, diametre, tracemode, aData)
6696 def FlashPadCircle(self, aPadPos:
"wxPoint", aDiameter:
"int", aTraceMode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6697 r"""FlashPadCircle(PLOTTER self, wxPoint aPadPos, int aDiameter, OUTLINE_MODE aTraceMode, void * aData)"""
6698 return _pcbnew.PLOTTER_FlashPadCircle(self, aPadPos, aDiameter, aTraceMode, aData)
6700 def FlashPadOval(self, aPadPos:
"wxPoint", aSize:
"wxSize", aPadOrient:
"double", aTraceMode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6701 r"""FlashPadOval(PLOTTER self, wxPoint aPadPos, wxSize aSize, double aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
6702 return _pcbnew.PLOTTER_FlashPadOval(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
6704 def FlashPadRect(self, aPadPos:
"wxPoint", aSize:
"wxSize", aPadOrient:
"double", aTraceMode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6705 r"""FlashPadRect(PLOTTER self, wxPoint aPadPos, wxSize aSize, double aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
6706 return _pcbnew.PLOTTER_FlashPadRect(self, aPadPos, aSize, aPadOrient, aTraceMode, aData)
6708 def FlashPadRoundRect(self, aPadPos:
"wxPoint", aSize:
"wxSize", aCornerRadius:
"int", aOrient:
"double", aTraceMode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6709 r"""FlashPadRoundRect(PLOTTER self, wxPoint aPadPos, wxSize aSize, int aCornerRadius, double aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
6710 return _pcbnew.PLOTTER_FlashPadRoundRect(self, aPadPos, aSize, aCornerRadius, aOrient, aTraceMode, aData)
6712 def FlashPadCustom(self, aPadPos:
"wxPoint", aSize:
"wxSize", aPadOrient:
"double", aPolygons:
"SHAPE_POLY_SET", aTraceMode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6713 r"""FlashPadCustom(PLOTTER self, wxPoint aPadPos, wxSize aSize, double aPadOrient, SHAPE_POLY_SET aPolygons, OUTLINE_MODE aTraceMode, void * aData)"""
6714 return _pcbnew.PLOTTER_FlashPadCustom(self, aPadPos, aSize, aPadOrient, aPolygons, aTraceMode, aData)
6716 def FlashPadTrapez(self, aPadPos:
"wxPoint", aCorners:
"wxPoint", aPadOrient:
"double", aTraceMode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6717 r"""FlashPadTrapez(PLOTTER self, wxPoint aPadPos, wxPoint aCorners, double aPadOrient, OUTLINE_MODE aTraceMode, void * aData)"""
6718 return _pcbnew.PLOTTER_FlashPadTrapez(self, aPadPos, aCorners, aPadOrient, aTraceMode, aData)
6720 def FlashRegularPolygon(self, aShapePos:
"wxPoint", aDiameter:
"int", aCornerCount:
"int", aOrient:
"double", aTraceMode:
"OUTLINE_MODE", aData:
"void *") ->
"void":
6721 r"""FlashRegularPolygon(PLOTTER self, wxPoint aShapePos, int aDiameter, int aCornerCount, double aOrient, OUTLINE_MODE aTraceMode, void * aData)"""
6722 return _pcbnew.PLOTTER_FlashRegularPolygon(self, aShapePos, aDiameter, aCornerCount, aOrient, aTraceMode, aData)
6724 def Text(self, aPos:
"wxPoint", aColor:
"COLOR4D", aText:
"wxString", aOrient:
"double", aSize:
"wxSize", aH_justify:
"enum EDA_TEXT_HJUSTIFY_T", aV_justify:
"enum EDA_TEXT_VJUSTIFY_T", aWidth:
"int", aItalic:
"bool", aBold:
"bool", aMultilineAllowed:
"bool"=
False, aData:
"void *"=
None) ->
"void":
6725 r"""Text(PLOTTER self, wxPoint aPos, COLOR4D aColor, wxString aText, double aOrient, wxSize aSize, enum EDA_TEXT_HJUSTIFY_T aH_justify, enum EDA_TEXT_VJUSTIFY_T aV_justify, int aWidth, bool aItalic, bool aBold, bool aMultilineAllowed=False, void * aData=None)"""
6726 return _pcbnew.PLOTTER_Text(self, aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aWidth, aItalic, aBold, aMultilineAllowed, aData)
6727 MARKER_COUNT = _pcbnew.PLOTTER_MARKER_COUNT
6730 def Marker(self, position:
"wxPoint", diametre:
"int", aShapeId:
"unsigned int") ->
"void":
6731 r"""Marker(PLOTTER self, wxPoint position, int diametre, unsigned int aShapeId)"""
6732 return _pcbnew.PLOTTER_Marker(self, position, diametre, aShapeId)
6735 r"""SetLayerPolarity(PLOTTER self, bool aPositive)"""
6736 return _pcbnew.PLOTTER_SetLayerPolarity(self, aPositive)
6739 r"""SetTextMode(PLOTTER self, PLOT_TEXT_MODE mode)"""
6740 return _pcbnew.PLOTTER_SetTextMode(self, mode)
6743 r"""SetGerberCoordinatesFormat(PLOTTER self, int aResolution, bool aUseInches=False)"""
6744 return _pcbnew.PLOTTER_SetGerberCoordinatesFormat(self, aResolution, aUseInches)
6747 r"""SetSvgCoordinatesFormat(PLOTTER self, unsigned int aResolution, bool aUseInches=False)"""
6748 return _pcbnew.PLOTTER_SetSvgCoordinatesFormat(self, aResolution, aUseInches)
6751 r"""StartBlock(PLOTTER self, void * aData)"""
6752 return _pcbnew.PLOTTER_StartBlock(self, aData)
6755 r"""EndBlock(PLOTTER self, void * aData)"""
6756 return _pcbnew.PLOTTER_EndBlock(self, aData)
6759_pcbnew.PLOTTER_swigregister(PLOTTER)
6763 r"""PlotDrawingSheet(PLOTTER plotter, PROJECT const * aProject, TITLE_BLOCK aTitleBlock, PAGE_INFO const & aPageInfo, wxString aSheetNumber, int aSheetCount, wxString aSheetDesc, wxString aFilename, COLOR4D aColor=COLOR4D::UNSPECIFIED, bool aIsFirstPage=True)"""
6764 return _pcbnew.PlotDrawingSheet(*args)
6767 r"""GetDefaultPlotExtension(PLOT_FORMAT aFormat) -> wxString"""
6768 return _pcbnew.GetDefaultPlotExtension(aFormat)
6770 r"""Proxy of C++ D356_RECORD class."""
6772 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6773 __repr__ = _swig_repr
6774 smd = property(_pcbnew.D356_RECORD_smd_get, _pcbnew.D356_RECORD_smd_set, doc=
r"""smd : bool""")
6775 hole = property(_pcbnew.D356_RECORD_hole_get, _pcbnew.D356_RECORD_hole_set, doc=
r"""hole : bool""")
6776 netname = property(_pcbnew.D356_RECORD_netname_get, _pcbnew.D356_RECORD_netname_set, doc=
r"""netname : wxString""")
6777 refdes = property(_pcbnew.D356_RECORD_refdes_get, _pcbnew.D356_RECORD_refdes_set, doc=
r"""refdes : wxString""")
6778 pin = property(_pcbnew.D356_RECORD_pin_get, _pcbnew.D356_RECORD_pin_set, doc=
r"""pin : wxString""")
6779 midpoint = property(_pcbnew.D356_RECORD_midpoint_get, _pcbnew.D356_RECORD_midpoint_set, doc=
r"""midpoint : bool""")
6780 drill = property(_pcbnew.D356_RECORD_drill_get, _pcbnew.D356_RECORD_drill_set, doc=
r"""drill : int""")
6781 mechanical = property(_pcbnew.D356_RECORD_mechanical_get, _pcbnew.D356_RECORD_mechanical_set, doc=
r"""mechanical : bool""")
6782 access = property(_pcbnew.D356_RECORD_access_get, _pcbnew.D356_RECORD_access_set, doc=
r"""access : int""")
6783 soldermask = property(_pcbnew.D356_RECORD_soldermask_get, _pcbnew.D356_RECORD_soldermask_set, doc=
r"""soldermask : int""")
6784 x_location = property(_pcbnew.D356_RECORD_x_location_get, _pcbnew.D356_RECORD_x_location_set, doc=
r"""x_location : int""")
6785 y_location = property(_pcbnew.D356_RECORD_y_location_get, _pcbnew.D356_RECORD_y_location_set, doc=
r"""y_location : int""")
6786 x_size = property(_pcbnew.D356_RECORD_x_size_get, _pcbnew.D356_RECORD_x_size_set, doc=
r"""x_size : int""")
6787 y_size = property(_pcbnew.D356_RECORD_y_size_get, _pcbnew.D356_RECORD_y_size_set, doc=
r"""y_size : int""")
6788 rotation = property(_pcbnew.D356_RECORD_rotation_get, _pcbnew.D356_RECORD_rotation_set, doc=
r"""rotation : int""")
6791 r"""__init__(D356_RECORD self) -> D356_RECORD"""
6792 _pcbnew.D356_RECORD_swiginit(self, _pcbnew.new_D356_RECORD())
6793 __swig_destroy__ = _pcbnew.delete_D356_RECORD
6796_pcbnew.D356_RECORD_swigregister(D356_RECORD)
6799 r"""Proxy of C++ IPC356D_WRITER class."""
6801 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6802 __repr__ = _swig_repr
6804 def __init__(self, aPcb:
"BOARD", aParent:
"wxWindow *"=
None):
6805 r"""__init__(IPC356D_WRITER self, BOARD aPcb, wxWindow * aParent=None) -> IPC356D_WRITER"""
6806 _pcbnew.IPC356D_WRITER_swiginit(self, _pcbnew.new_IPC356D_WRITER(aPcb, aParent))
6807 __swig_destroy__ = _pcbnew.delete_IPC356D_WRITER
6809 def Write(self, aFilename:
"wxString") ->
"void":
6810 r"""Write(IPC356D_WRITER self, wxString aFilename)"""
6811 return _pcbnew.IPC356D_WRITER_Write(self, aFilename)
6814_pcbnew.IPC356D_WRITER_swigregister(IPC356D_WRITER)
6817 r"""Proxy of C++ PLACE_FILE_EXPORTER class."""
6819 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6820 __repr__ = _swig_repr
6822 def __init__(self, aBoard:
"BOARD", aUnitsMM:
"bool", aOnlySMD:
"bool", aExcludeAllTH:
"bool", aTopSide:
"bool", aBottomSide:
"bool", aFormatCSV:
"bool", aUseAuxOrigin:
"bool"):
6823 r"""__init__(PLACE_FILE_EXPORTER self, BOARD aBoard, bool aUnitsMM, bool aOnlySMD, bool aExcludeAllTH, bool aTopSide, bool aBottomSide, bool aFormatCSV, bool aUseAuxOrigin) -> PLACE_FILE_EXPORTER"""
6824 _pcbnew.PLACE_FILE_EXPORTER_swiginit(self, _pcbnew.new_PLACE_FILE_EXPORTER(aBoard, aUnitsMM, aOnlySMD, aExcludeAllTH, aTopSide, aBottomSide, aFormatCSV, aUseAuxOrigin))
6827 r"""GenPositionData(PLACE_FILE_EXPORTER self) -> string"""
6828 return _pcbnew.PLACE_FILE_EXPORTER_GenPositionData(self)
6831 r"""GenReportData(PLACE_FILE_EXPORTER self) -> string"""
6832 return _pcbnew.PLACE_FILE_EXPORTER_GenReportData(self)
6835 r"""GetFootprintCount(PLACE_FILE_EXPORTER self) -> int"""
6836 return _pcbnew.PLACE_FILE_EXPORTER_GetFootprintCount(self)
6840 r"""GetFrontSideName() -> string"""
6841 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
6845 r"""GetBackSideName() -> string"""
6846 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
6847 __swig_destroy__ = _pcbnew.delete_PLACE_FILE_EXPORTER
6850_pcbnew.PLACE_FILE_EXPORTER_swigregister(PLACE_FILE_EXPORTER)
6853 r"""PLACE_FILE_EXPORTER_GetFrontSideName() -> string"""
6854 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
6857 r"""PLACE_FILE_EXPORTER_GetBackSideName() -> string"""
6858 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
6861 r"""Proxy of C++ VRML_WRITER class."""
6863 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6864 __repr__ = _swig_repr
6866 def ExportVRML_File(self, aFullFileName:
"wxString", aMMtoWRMLunit:
"double", aExport3DFiles:
"bool", aUseRelativePaths:
"bool", a3D_Subdir:
"wxString", aXRef:
"double", aYRef:
"double") ->
"bool":
6867 r"""ExportVRML_File(VRML_WRITER self, wxString aFullFileName, double aMMtoWRMLunit, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
6868 return _pcbnew.VRML_WRITER_ExportVRML_File(self, aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
6871 r"""__init__(VRML_WRITER self) -> VRML_WRITER"""
6872 _pcbnew.VRML_WRITER_swiginit(self, _pcbnew.new_VRML_WRITER())
6873 __swig_destroy__ = _pcbnew.delete_VRML_WRITER
6876_pcbnew.VRML_WRITER_swigregister(VRML_WRITER)
6878USE_ATTRIB_FOR_HOLES = _pcbnew.USE_ATTRIB_FOR_HOLES
6880HOLE_ATTRIBUTE_HOLE_UNKNOWN = _pcbnew.HOLE_ATTRIBUTE_HOLE_UNKNOWN
6882HOLE_ATTRIBUTE_HOLE_VIA_THROUGH = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_THROUGH
6884HOLE_ATTRIBUTE_HOLE_VIA_BURIED = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_BURIED
6886HOLE_ATTRIBUTE_HOLE_PAD = _pcbnew.HOLE_ATTRIBUTE_HOLE_PAD
6888HOLE_ATTRIBUTE_HOLE_MECHANICAL = _pcbnew.HOLE_ATTRIBUTE_HOLE_MECHANICAL
6891 r"""Proxy of C++ DRILL_TOOL class."""
6893 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6894 __repr__ = _swig_repr
6895 m_Diameter = property(_pcbnew.DRILL_TOOL_m_Diameter_get, _pcbnew.DRILL_TOOL_m_Diameter_set, doc=
r"""m_Diameter : int""")
6896 m_TotalCount = property(_pcbnew.DRILL_TOOL_m_TotalCount_get, _pcbnew.DRILL_TOOL_m_TotalCount_set, doc=
r"""m_TotalCount : int""")
6897 m_OvalCount = property(_pcbnew.DRILL_TOOL_m_OvalCount_get, _pcbnew.DRILL_TOOL_m_OvalCount_set, doc=
r"""m_OvalCount : int""")
6898 m_Hole_NotPlated = property(_pcbnew.DRILL_TOOL_m_Hole_NotPlated_get, _pcbnew.DRILL_TOOL_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
6899 m_HoleAttribute = property(_pcbnew.DRILL_TOOL_m_HoleAttribute_get, _pcbnew.DRILL_TOOL_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
6901 def __init__(self, aDiameter:
"int", a_NotPlated:
"bool"):
6902 r"""__init__(DRILL_TOOL self, int aDiameter, bool a_NotPlated) -> DRILL_TOOL"""
6903 _pcbnew.DRILL_TOOL_swiginit(self, _pcbnew.new_DRILL_TOOL(aDiameter, a_NotPlated))
6904 __swig_destroy__ = _pcbnew.delete_DRILL_TOOL
6907_pcbnew.DRILL_TOOL_swigregister(DRILL_TOOL)
6910 r"""Proxy of C++ HOLE_INFO class."""
6912 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6913 __repr__ = _swig_repr
6916 r"""__init__(HOLE_INFO self) -> HOLE_INFO"""
6917 _pcbnew.HOLE_INFO_swiginit(self, _pcbnew.new_HOLE_INFO())
6918 m_ItemParent = property(_pcbnew.HOLE_INFO_m_ItemParent_get, _pcbnew.HOLE_INFO_m_ItemParent_set, doc=
r"""m_ItemParent : p.BOARD_ITEM""")
6919 m_Hole_Diameter = property(_pcbnew.HOLE_INFO_m_Hole_Diameter_get, _pcbnew.HOLE_INFO_m_Hole_Diameter_set, doc=
r"""m_Hole_Diameter : int""")
6920 m_Tool_Reference = property(_pcbnew.HOLE_INFO_m_Tool_Reference_get, _pcbnew.HOLE_INFO_m_Tool_Reference_set, doc=
r"""m_Tool_Reference : int""")
6921 m_Hole_Size = property(_pcbnew.HOLE_INFO_m_Hole_Size_get, _pcbnew.HOLE_INFO_m_Hole_Size_set, doc=
r"""m_Hole_Size : wxSize""")
6922 m_Hole_Orient = property(_pcbnew.HOLE_INFO_m_Hole_Orient_get, _pcbnew.HOLE_INFO_m_Hole_Orient_set, doc=
r"""m_Hole_Orient : double""")
6923 m_Hole_Shape = property(_pcbnew.HOLE_INFO_m_Hole_Shape_get, _pcbnew.HOLE_INFO_m_Hole_Shape_set, doc=
r"""m_Hole_Shape : int""")
6924 m_Hole_Pos = property(_pcbnew.HOLE_INFO_m_Hole_Pos_get, _pcbnew.HOLE_INFO_m_Hole_Pos_set, doc=
r"""m_Hole_Pos : wxPoint""")
6925 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""")
6926 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""")
6927 m_Hole_NotPlated = property(_pcbnew.HOLE_INFO_m_Hole_NotPlated_get, _pcbnew.HOLE_INFO_m_Hole_NotPlated_set, doc=
r"""m_Hole_NotPlated : bool""")
6928 m_HoleAttribute = property(_pcbnew.HOLE_INFO_m_HoleAttribute_get, _pcbnew.HOLE_INFO_m_HoleAttribute_set, doc=
r"""m_HoleAttribute : HOLE_ATTRIBUTE""")
6929 __swig_destroy__ = _pcbnew.delete_HOLE_INFO
6932_pcbnew.HOLE_INFO_swigregister(HOLE_INFO)
6935 r"""Proxy of C++ DRILL_PRECISION class."""
6937 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6938 __repr__ = _swig_repr
6941 r"""__init__(DRILL_PRECISION self, int l=2, int r=4) -> DRILL_PRECISION"""
6942 _pcbnew.DRILL_PRECISION_swiginit(self, _pcbnew.new_DRILL_PRECISION(l, r))
6945 r"""GetPrecisionString(DRILL_PRECISION self) -> wxString"""
6946 return _pcbnew.DRILL_PRECISION_GetPrecisionString(self)
6947 m_Lhs = property(_pcbnew.DRILL_PRECISION_m_Lhs_get, _pcbnew.DRILL_PRECISION_m_Lhs_set, doc=
r"""m_Lhs : int""")
6948 m_Rhs = property(_pcbnew.DRILL_PRECISION_m_Rhs_get, _pcbnew.DRILL_PRECISION_m_Rhs_set, doc=
r"""m_Rhs : int""")
6949 __swig_destroy__ = _pcbnew.delete_DRILL_PRECISION
6952_pcbnew.DRILL_PRECISION_swigregister(DRILL_PRECISION)
6955 r"""Proxy of C++ GENDRILL_WRITER_BASE class."""
6957 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6960 raise AttributeError(
"No constructor defined")
6961 __repr__ = _swig_repr
6962 DECIMAL_FORMAT = _pcbnew.GENDRILL_WRITER_BASE_DECIMAL_FORMAT
6964 SUPPRESS_LEADING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_LEADING
6966 SUPPRESS_TRAILING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_TRAILING
6968 KEEP_ZEROS = _pcbnew.GENDRILL_WRITER_BASE_KEEP_ZEROS
6970 PTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_PTH_FILE
6972 NPTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_NPTH_FILE
6974 MIXED_FILE = _pcbnew.GENDRILL_WRITER_BASE_MIXED_FILE
6976 __swig_destroy__ = _pcbnew.delete_GENDRILL_WRITER_BASE
6979 r"""SetMergeOption(GENDRILL_WRITER_BASE self, bool aMerge)"""
6980 return _pcbnew.GENDRILL_WRITER_BASE_SetMergeOption(self, aMerge)
6983 r"""GetOffset(GENDRILL_WRITER_BASE self) -> wxPoint"""
6984 return _pcbnew.GENDRILL_WRITER_BASE_GetOffset(self)
6987 r"""SetPageInfo(GENDRILL_WRITER_BASE self, PAGE_INFO const * aPageInfo)"""
6988 return _pcbnew.GENDRILL_WRITER_BASE_SetPageInfo(self, aPageInfo)
6991 r"""SetMapFileFormat(GENDRILL_WRITER_BASE self, PLOT_FORMAT aMapFmt)"""
6992 return _pcbnew.GENDRILL_WRITER_BASE_SetMapFileFormat(self, aMapFmt)
6995 r"""CreateMapFilesSet(GENDRILL_WRITER_BASE self, wxString aPlotDirectory, REPORTER * aReporter=None)"""
6996 return _pcbnew.GENDRILL_WRITER_BASE_CreateMapFilesSet(self, aPlotDirectory, aReporter)
6999 r"""GenDrillReportFile(GENDRILL_WRITER_BASE self, wxString aFullFileName) -> bool"""
7000 return _pcbnew.GENDRILL_WRITER_BASE_GenDrillReportFile(self, aFullFileName)
7003_pcbnew.GENDRILL_WRITER_BASE_swigregister(GENDRILL_WRITER_BASE)
7006 r"""Proxy of C++ EXCELLON_WRITER class."""
7008 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7009 __repr__ = _swig_repr
7012 r"""__init__(EXCELLON_WRITER self, BOARD aPcb) -> EXCELLON_WRITER"""
7013 _pcbnew.EXCELLON_WRITER_swiginit(self, _pcbnew.new_EXCELLON_WRITER(aPcb))
7014 __swig_destroy__ = _pcbnew.delete_EXCELLON_WRITER
7017 r"""GetOffset(EXCELLON_WRITER self) -> wxPoint"""
7018 return _pcbnew.EXCELLON_WRITER_GetOffset(self)
7021 r"""SetRouteModeForOvalHoles(EXCELLON_WRITER self, bool aUseRouteModeForOvalHoles)"""
7022 return _pcbnew.EXCELLON_WRITER_SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles)
7025 r"""SetFormat(EXCELLON_WRITER self, bool aMetric, GENDRILL_WRITER_BASE::ZEROS_FMT aZerosFmt=DECIMAL_FORMAT, int aLeftDigits=0, int aRightDigits=0)"""
7026 return _pcbnew.EXCELLON_WRITER_SetFormat(self, *args)
7028 def SetOptions(self, aMirror:
"bool", aMinimalHeader:
"bool", aOffset:
"wxPoint", aMerge_PTH_NPTH:
"bool") ->
"void":
7029 r"""SetOptions(EXCELLON_WRITER self, bool aMirror, bool aMinimalHeader, wxPoint aOffset, bool aMerge_PTH_NPTH)"""
7030 return _pcbnew.EXCELLON_WRITER_SetOptions(self, aMirror, aMinimalHeader, aOffset, aMerge_PTH_NPTH)
7032 def CreateDrillandMapFilesSet(self, aPlotDirectory:
"wxString", aGenDrill:
"bool", aGenMap:
"bool", aReporter:
"REPORTER *"=
None) ->
"void":
7033 r"""CreateDrillandMapFilesSet(EXCELLON_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None)"""
7034 return _pcbnew.EXCELLON_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
7037_pcbnew.EXCELLON_WRITER_swigregister(EXCELLON_WRITER)
7040 r"""Proxy of C++ GERBER_WRITER class."""
7042 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7043 __repr__ = _swig_repr
7046 r"""__init__(GERBER_WRITER self, BOARD aPcb) -> GERBER_WRITER"""
7047 _pcbnew.GERBER_WRITER_swiginit(self, _pcbnew.new_GERBER_WRITER(aPcb))
7048 __swig_destroy__ = _pcbnew.delete_GERBER_WRITER
7051 r"""SetFormat(GERBER_WRITER self, int aRightDigits=6)"""
7052 return _pcbnew.GERBER_WRITER_SetFormat(self, aRightDigits)
7055 r"""SetOptions(GERBER_WRITER self, wxPoint aOffset)"""
7056 return _pcbnew.GERBER_WRITER_SetOptions(self, aOffset)
7058 def CreateDrillandMapFilesSet(self, aPlotDirectory:
"wxString", aGenDrill:
"bool", aGenMap:
"bool", aReporter:
"REPORTER *"=
None) ->
"void":
7059 r"""CreateDrillandMapFilesSet(GERBER_WRITER self, wxString aPlotDirectory, bool aGenDrill, bool aGenMap, REPORTER * aReporter=None)"""
7060 return _pcbnew.GERBER_WRITER_CreateDrillandMapFilesSet(self, aPlotDirectory, aGenDrill, aGenMap, aReporter)
7063_pcbnew.GERBER_WRITER_swigregister(GERBER_WRITER)
7065SIDE_NONE = _pcbnew.SIDE_NONE
7067SIDE_TOP = _pcbnew.SIDE_TOP
7069SIDE_BOTTOM = _pcbnew.SIDE_BOTTOM
7071SIDE_BOTH = _pcbnew.SIDE_BOTH
7074 r"""Proxy of C++ JOBFILE_PARAMS class."""
7076 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7077 __repr__ = _swig_repr
7078 m_GerberFileList = property(_pcbnew.JOBFILE_PARAMS_m_GerberFileList_get, _pcbnew.JOBFILE_PARAMS_m_GerberFileList_set, doc=
r"""m_GerberFileList : wxArrayString""")
7079 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)>)>""")
7082 r"""__init__(JOBFILE_PARAMS self) -> JOBFILE_PARAMS"""
7083 _pcbnew.JOBFILE_PARAMS_swiginit(self, _pcbnew.new_JOBFILE_PARAMS())
7084 __swig_destroy__ = _pcbnew.delete_JOBFILE_PARAMS
7087_pcbnew.JOBFILE_PARAMS_swigregister(JOBFILE_PARAMS)
7090 r"""Proxy of C++ GERBER_JOBFILE_WRITER class."""
7092 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7093 __repr__ = _swig_repr
7095 def __init__(self, aPcb:
"BOARD", aReporter:
"REPORTER *"=
None):
7096 r"""__init__(GERBER_JOBFILE_WRITER self, BOARD aPcb, REPORTER * aReporter=None) -> GERBER_JOBFILE_WRITER"""
7097 _pcbnew.GERBER_JOBFILE_WRITER_swiginit(self, _pcbnew.new_GERBER_JOBFILE_WRITER(aPcb, aReporter))
7098 __swig_destroy__ = _pcbnew.delete_GERBER_JOBFILE_WRITER
7100 def AddGbrFile(self, aLayer:
"PCB_LAYER_ID", aFilename:
"wxString") ->
"void":
7101 r"""AddGbrFile(GERBER_JOBFILE_WRITER self, PCB_LAYER_ID aLayer, wxString aFilename)"""
7102 return _pcbnew.GERBER_JOBFILE_WRITER_AddGbrFile(self, aLayer, aFilename)
7105 r"""CreateJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
7106 return _pcbnew.GERBER_JOBFILE_WRITER_CreateJobFile(self, aFullFilename)
7109 r"""WriteJSONJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
7110 return _pcbnew.GERBER_JOBFILE_WRITER_WriteJSONJobFile(self, aFullFilename)
7113_pcbnew.GERBER_JOBFILE_WRITER_swigregister(GERBER_JOBFILE_WRITER)
7115ROOM_FOR_KICADMANAGER = _pcbnew.ROOM_FOR_KICADMANAGER
7117ROOM_FOR_3D_VIEWER = _pcbnew.ROOM_FOR_3D_VIEWER
7119ROOM_FOR_PANEL_PREV_MODEL = _pcbnew.ROOM_FOR_PANEL_PREV_MODEL
7121DEFAULT_FILE_HISTORY_SIZE = _pcbnew.DEFAULT_FILE_HISTORY_SIZE
7123MAX_FILE_HISTORY_SIZE = _pcbnew.MAX_FILE_HISTORY_SIZE
7125ID_RUN_PCB = _pcbnew.ID_RUN_PCB
7127ID_APPEND_PROJECT = _pcbnew.ID_APPEND_PROJECT
7129ID_LOAD_FILE = _pcbnew.ID_LOAD_FILE
7131ID_NEW_BOARD = _pcbnew.ID_NEW_BOARD
7133ID_SAVE_BOARD = _pcbnew.ID_SAVE_BOARD
7135ID_SAVE_BOARD_AS = _pcbnew.ID_SAVE_BOARD_AS
7137ID_AUTO_SAVE_TIMER = _pcbnew.ID_AUTO_SAVE_TIMER
7139ID_FILE = _pcbnew.ID_FILE
7141ID_FILE1 = _pcbnew.ID_FILE1
7143ID_FILEMAX = _pcbnew.ID_FILEMAX
7145ID_FILE_LIST_EMPTY = _pcbnew.ID_FILE_LIST_EMPTY
7147ID_FILE_LIST_CLEAR = _pcbnew.ID_FILE_LIST_CLEAR
7149ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST = _pcbnew.ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST
7151ID_PREFERENCES_CONFIGURE_PATHS = _pcbnew.ID_PREFERENCES_CONFIGURE_PATHS
7153ID_EDIT_SYMBOL_LIBRARY_TABLE = _pcbnew.ID_EDIT_SYMBOL_LIBRARY_TABLE
7155ID_EDIT_FOOTPRINT_LIBRARY_TABLE = _pcbnew.ID_EDIT_FOOTPRINT_LIBRARY_TABLE
7157ID_GEN_PLOT = _pcbnew.ID_GEN_PLOT
7159ID_GEN_PLOT_PS = _pcbnew.ID_GEN_PLOT_PS
7161ID_GEN_PLOT_HPGL = _pcbnew.ID_GEN_PLOT_HPGL
7163ID_GEN_PLOT_GERBER = _pcbnew.ID_GEN_PLOT_GERBER
7165ID_GEN_PLOT_SVG = _pcbnew.ID_GEN_PLOT_SVG
7167ID_GEN_PLOT_DXF = _pcbnew.ID_GEN_PLOT_DXF
7169ID_GEN_PLOT_PDF = _pcbnew.ID_GEN_PLOT_PDF
7171ID_GEN_EXPORT_FILE = _pcbnew.ID_GEN_EXPORT_FILE
7173ID_GEN_IMPORT_FILE = _pcbnew.ID_GEN_IMPORT_FILE
7175ID_H_TOOLBAR = _pcbnew.ID_H_TOOLBAR
7177ID_V_TOOLBAR = _pcbnew.ID_V_TOOLBAR
7179ID_OPT_TOOLBAR = _pcbnew.ID_OPT_TOOLBAR
7181ID_AUX_TOOLBAR = _pcbnew.ID_AUX_TOOLBAR
7183ID_EDIT_HOTKEY = _pcbnew.ID_EDIT_HOTKEY
7185ID_NO_TOOL_SELECTED = _pcbnew.ID_NO_TOOL_SELECTED
7187ID_LANGUAGE_CHOICE = _pcbnew.ID_LANGUAGE_CHOICE
7189ID_LANGUAGE_DANISH = _pcbnew.ID_LANGUAGE_DANISH
7191ID_LANGUAGE_DEFAULT = _pcbnew.ID_LANGUAGE_DEFAULT
7193ID_LANGUAGE_ENGLISH = _pcbnew.ID_LANGUAGE_ENGLISH
7195ID_LANGUAGE_FRENCH = _pcbnew.ID_LANGUAGE_FRENCH
7197ID_LANGUAGE_FINNISH = _pcbnew.ID_LANGUAGE_FINNISH
7199ID_LANGUAGE_SPANISH = _pcbnew.ID_LANGUAGE_SPANISH
7201ID_LANGUAGE_SPANISH_MEXICAN = _pcbnew.ID_LANGUAGE_SPANISH_MEXICAN
7203ID_LANGUAGE_GERMAN = _pcbnew.ID_LANGUAGE_GERMAN
7205ID_LANGUAGE_GREEK = _pcbnew.ID_LANGUAGE_GREEK
7207ID_LANGUAGE_NORWEGIAN = _pcbnew.ID_LANGUAGE_NORWEGIAN
7209ID_LANGUAGE_RUSSIAN = _pcbnew.ID_LANGUAGE_RUSSIAN
7211ID_LANGUAGE_PORTUGUESE = _pcbnew.ID_LANGUAGE_PORTUGUESE
7213ID_LANGUAGE_PORTUGUESE_BRAZILIAN = _pcbnew.ID_LANGUAGE_PORTUGUESE_BRAZILIAN
7215ID_LANGUAGE_TURKISH = _pcbnew.ID_LANGUAGE_TURKISH
7217ID_LANGUAGE_INDONESIAN = _pcbnew.ID_LANGUAGE_INDONESIAN
7219ID_LANGUAGE_ITALIAN = _pcbnew.ID_LANGUAGE_ITALIAN
7221ID_LANGUAGE_SLOVENIAN = _pcbnew.ID_LANGUAGE_SLOVENIAN
7223ID_LANGUAGE_SLOVAK = _pcbnew.ID_LANGUAGE_SLOVAK
7225ID_LANGUAGE_HUNGARIAN = _pcbnew.ID_LANGUAGE_HUNGARIAN
7227ID_LANGUAGE_POLISH = _pcbnew.ID_LANGUAGE_POLISH
7229ID_LANGUAGE_CZECH = _pcbnew.ID_LANGUAGE_CZECH
7231ID_LANGUAGE_KOREAN = _pcbnew.ID_LANGUAGE_KOREAN
7233ID_LANGUAGE_CATALAN = _pcbnew.ID_LANGUAGE_CATALAN
7235ID_LANGUAGE_CHINESE_SIMPLIFIED = _pcbnew.ID_LANGUAGE_CHINESE_SIMPLIFIED
7237ID_LANGUAGE_CHINESE_TRADITIONAL = _pcbnew.ID_LANGUAGE_CHINESE_TRADITIONAL
7239ID_LANGUAGE_DUTCH = _pcbnew.ID_LANGUAGE_DUTCH
7241ID_LANGUAGE_JAPANESE = _pcbnew.ID_LANGUAGE_JAPANESE
7243ID_LANGUAGE_BULGARIAN = _pcbnew.ID_LANGUAGE_BULGARIAN
7245ID_LANGUAGE_LATVIAN = _pcbnew.ID_LANGUAGE_LATVIAN
7247ID_LANGUAGE_LITHUANIAN = _pcbnew.ID_LANGUAGE_LITHUANIAN
7249ID_LANGUAGE_VIETNAMESE = _pcbnew.ID_LANGUAGE_VIETNAMESE
7251ID_LANGUAGE_SERBIAN = _pcbnew.ID_LANGUAGE_SERBIAN
7253ID_LANGUAGE_THAI = _pcbnew.ID_LANGUAGE_THAI
7255ID_LANGUAGE_SWEDISH = _pcbnew.ID_LANGUAGE_SWEDISH
7257ID_LANGUAGE_CHOICE_END = _pcbnew.ID_LANGUAGE_CHOICE_END
7259ID_ON_ZOOM_SELECT = _pcbnew.ID_ON_ZOOM_SELECT
7261ID_POPUP_ZOOM_START_RANGE = _pcbnew.ID_POPUP_ZOOM_START_RANGE
7263ID_POPUP_CANCEL = _pcbnew.ID_POPUP_CANCEL
7265ID_POPUP_ZOOM_IN = _pcbnew.ID_POPUP_ZOOM_IN
7267ID_POPUP_ZOOM_OUT = _pcbnew.ID_POPUP_ZOOM_OUT
7269ID_POPUP_ZOOM_SELECT = _pcbnew.ID_POPUP_ZOOM_SELECT
7271ID_POPUP_ZOOM_CENTER = _pcbnew.ID_POPUP_ZOOM_CENTER
7273ID_POPUP_ZOOM_PAGE = _pcbnew.ID_POPUP_ZOOM_PAGE
7275ID_POPUP_ZOOM_REDRAW = _pcbnew.ID_POPUP_ZOOM_REDRAW
7277ID_POPUP_ZOOM_LEVEL_START = _pcbnew.ID_POPUP_ZOOM_LEVEL_START
7279ID_POPUP_ZOOM_LEVEL_END = _pcbnew.ID_POPUP_ZOOM_LEVEL_END
7281ID_POPUP_GRID_START = _pcbnew.ID_POPUP_GRID_START
7283ID_POPUP_GRID_END = _pcbnew.ID_POPUP_GRID_END
7285ID_ON_GRID_SELECT = _pcbnew.ID_ON_GRID_SELECT
7287ID_GRID_SETTINGS = _pcbnew.ID_GRID_SETTINGS
7289ID_ZOOM_BEGIN = _pcbnew.ID_ZOOM_BEGIN
7291ID_VIEWER_ZOOM_IN = _pcbnew.ID_VIEWER_ZOOM_IN
7293ID_VIEWER_ZOOM_OUT = _pcbnew.ID_VIEWER_ZOOM_OUT
7295ID_VIEWER_ZOOM_PAGE = _pcbnew.ID_VIEWER_ZOOM_PAGE
7297ID_VIEWER_ZOOM_REDRAW = _pcbnew.ID_VIEWER_ZOOM_REDRAW
7299ID_OFFCENTER_ZOOM_IN = _pcbnew.ID_OFFCENTER_ZOOM_IN
7301ID_OFFCENTER_ZOOM_OUT = _pcbnew.ID_OFFCENTER_ZOOM_OUT
7303ID_ZOOM_END = _pcbnew.ID_ZOOM_END
7305ID_EDA_SOCKET_EVENT_SERV = _pcbnew.ID_EDA_SOCKET_EVENT_SERV
7307ID_EDA_SOCKET_EVENT = _pcbnew.ID_EDA_SOCKET_EVENT
7309ID_KICAD_MANAGER_START = _pcbnew.ID_KICAD_MANAGER_START
7311ID_KICAD_MANAGER_END = _pcbnew.ID_KICAD_MANAGER_END
7313ID_KICAD_3D_VIEWER_START = _pcbnew.ID_KICAD_3D_VIEWER_START
7315ID_KICAD_3D_VIEWER_END = _pcbnew.ID_KICAD_3D_VIEWER_END
7317ID_KICAD_PANEL_PREV_MODEL_START = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_START
7319ID_KICAD_PANEL_PREV_MODEL_END = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_END
7321ID_POPUP_MENU_START = _pcbnew.ID_POPUP_MENU_START
7323ID_POPUP_MENU_END = _pcbnew.ID_POPUP_MENU_END
7325ID_END_LIST = _pcbnew.ID_END_LIST
7329 r"""GetBoard() -> BOARD"""
7330 return _pcbnew.GetBoard()
7334 LoadBoard(wxString aFileName, IO_MGR::PCB_FILE_T aFormat) -> BOARD
7337 return _pcbnew.LoadBoard(*args)
7340 r"""NewBoard(wxString aFileName) -> BOARD"""
7341 return _pcbnew.NewBoard(aFileName)
7344 r"""GetSettingsManager() -> SETTINGS_MANAGER"""
7345 return _pcbnew.GetSettingsManager()
7348 r"""CreateEmptyBoard() -> BOARD"""
7349 return _pcbnew.CreateEmptyBoard()
7351def SaveBoard(aFileName:
"wxString", aBoard:
"BOARD", aSkipSettings:
"bool"=
False) ->
"bool":
7352 r"""SaveBoard(wxString aFileName, BOARD aBoard, bool aSkipSettings=False) -> bool"""
7353 return _pcbnew.SaveBoard(aFileName, aBoard, aSkipSettings)
7356 r"""GetFootprintLibraries() -> wxArrayString"""
7357 return _pcbnew.GetFootprintLibraries()
7360 r"""GetFootprints(wxString aNickName) -> wxArrayString"""
7361 return _pcbnew.GetFootprints(aNickName)
7368 return _pcbnew.ExportSpecctraDSN(*args)
7370def ExportVRML(aFullFileName:
"wxString", aMMtoWRMLunit:
"double", aExport3DFiles:
"bool", aUseRelativePaths:
"bool", a3D_Subdir:
"wxString", aXRef:
"double", aYRef:
"double") ->
"bool":
7371 r"""ExportVRML(wxString aFullFileName, double aMMtoWRMLunit, bool aExport3DFiles, bool aUseRelativePaths, wxString a3D_Subdir, double aXRef, double aYRef) -> bool"""
7372 return _pcbnew.ExportVRML(aFullFileName, aMMtoWRMLunit, aExport3DFiles, aUseRelativePaths, a3D_Subdir, aXRef, aYRef)
7375 r"""ImportSpecctraSES(wxString aFullFilename) -> bool"""
7376 return _pcbnew.ImportSpecctraSES(aFullFilename)
7379 r"""ExportFootprintsToLibrary(bool aStoreInNewLib, wxString aLibName=wxEmptyString, wxString aLibPath=None) -> bool"""
7380 return _pcbnew.ExportFootprintsToLibrary(*args)
7384 return _pcbnew.Refresh()
7387 r"""UpdateUserInterface()"""
7388 return _pcbnew.UpdateUserInterface()
7391 r"""GetUserUnits() -> int"""
7392 return _pcbnew.GetUserUnits()
7395 r"""IsActionRunning() -> bool"""
7396 return _pcbnew.IsActionRunning()
7398def WriteDRCReport(aBoard:
"BOARD", aFileName:
"wxString", aUnits:
"EDA_UNITS", aReportAllTrackErrors:
"bool") ->
"bool":
7399 r"""WriteDRCReport(BOARD aBoard, wxString aFileName, EDA_UNITS aUnits, bool aReportAllTrackErrors) -> bool"""
7400 return _pcbnew.WriteDRCReport(aBoard, aFileName, aUnits, aReportAllTrackErrors)
7401UNDEFINED_LAYER = _pcbnew.UNDEFINED_LAYER
7403UNSELECTED_LAYER = _pcbnew.UNSELECTED_LAYER
7405PCBNEW_LAYER_ID_START = _pcbnew.PCBNEW_LAYER_ID_START
7409In1_Cu = _pcbnew.In1_Cu
7411In2_Cu = _pcbnew.In2_Cu
7413In3_Cu = _pcbnew.In3_Cu
7415In4_Cu = _pcbnew.In4_Cu
7417In5_Cu = _pcbnew.In5_Cu
7419In6_Cu = _pcbnew.In6_Cu
7421In7_Cu = _pcbnew.In7_Cu
7423In8_Cu = _pcbnew.In8_Cu
7425In9_Cu = _pcbnew.In9_Cu
7427In10_Cu = _pcbnew.In10_Cu
7429In11_Cu = _pcbnew.In11_Cu
7431In12_Cu = _pcbnew.In12_Cu
7433In13_Cu = _pcbnew.In13_Cu
7435In14_Cu = _pcbnew.In14_Cu
7437In15_Cu = _pcbnew.In15_Cu
7439In16_Cu = _pcbnew.In16_Cu
7441In17_Cu = _pcbnew.In17_Cu
7443In18_Cu = _pcbnew.In18_Cu
7445In19_Cu = _pcbnew.In19_Cu
7447In20_Cu = _pcbnew.In20_Cu
7449In21_Cu = _pcbnew.In21_Cu
7451In22_Cu = _pcbnew.In22_Cu
7453In23_Cu = _pcbnew.In23_Cu
7455In24_Cu = _pcbnew.In24_Cu
7457In25_Cu = _pcbnew.In25_Cu
7459In26_Cu = _pcbnew.In26_Cu
7461In27_Cu = _pcbnew.In27_Cu
7463In28_Cu = _pcbnew.In28_Cu
7465In29_Cu = _pcbnew.In29_Cu
7467In30_Cu = _pcbnew.In30_Cu
7471B_Adhes = _pcbnew.B_Adhes
7473F_Adhes = _pcbnew.F_Adhes
7475B_Paste = _pcbnew.B_Paste
7477F_Paste = _pcbnew.F_Paste
7479B_SilkS = _pcbnew.B_SilkS
7481F_SilkS = _pcbnew.F_SilkS
7483B_Mask = _pcbnew.B_Mask
7485F_Mask = _pcbnew.F_Mask
7487Dwgs_User = _pcbnew.Dwgs_User
7489Cmts_User = _pcbnew.Cmts_User
7491Eco1_User = _pcbnew.Eco1_User
7493Eco2_User = _pcbnew.Eco2_User
7495Edge_Cuts = _pcbnew.Edge_Cuts
7497Margin = _pcbnew.Margin
7499B_CrtYd = _pcbnew.B_CrtYd
7501F_CrtYd = _pcbnew.F_CrtYd
7503B_Fab = _pcbnew.B_Fab
7505F_Fab = _pcbnew.F_Fab
7507User_1 = _pcbnew.User_1
7509User_2 = _pcbnew.User_2
7511User_3 = _pcbnew.User_3
7513User_4 = _pcbnew.User_4
7515User_5 = _pcbnew.User_5
7517User_6 = _pcbnew.User_6
7519User_7 = _pcbnew.User_7
7521User_8 = _pcbnew.User_8
7523User_9 = _pcbnew.User_9
7525Rescue = _pcbnew.Rescue
7527PCB_LAYER_ID_COUNT = _pcbnew.PCB_LAYER_ID_COUNT
7529FLASHING_DEFAULT = _pcbnew.FLASHING_DEFAULT
7531FLASHING_ALWAYS_FLASHED = _pcbnew.FLASHING_ALWAYS_FLASHED
7533FLASHING_NEVER_FLASHED = _pcbnew.FLASHING_NEVER_FLASHED
7535NETNAMES_LAYER_ID_START = _pcbnew.NETNAMES_LAYER_ID_START
7537NETNAMES_LAYER_ID_RESERVED = _pcbnew.NETNAMES_LAYER_ID_RESERVED
7539LAYER_PAD_FR_NETNAMES = _pcbnew.LAYER_PAD_FR_NETNAMES
7541LAYER_PAD_BK_NETNAMES = _pcbnew.LAYER_PAD_BK_NETNAMES
7543LAYER_PAD_NETNAMES = _pcbnew.LAYER_PAD_NETNAMES
7545LAYER_VIA_NETNAMES = _pcbnew.LAYER_VIA_NETNAMES
7547NETNAMES_LAYER_ID_END = _pcbnew.NETNAMES_LAYER_ID_END
7549GAL_LAYER_ID_START = _pcbnew.GAL_LAYER_ID_START
7551LAYER_VIAS = _pcbnew.LAYER_VIAS
7553LAYER_VIA_MICROVIA = _pcbnew.LAYER_VIA_MICROVIA
7555LAYER_VIA_BBLIND = _pcbnew.LAYER_VIA_BBLIND
7557LAYER_VIA_THROUGH = _pcbnew.LAYER_VIA_THROUGH
7559LAYER_NON_PLATEDHOLES = _pcbnew.LAYER_NON_PLATEDHOLES
7561LAYER_MOD_TEXT = _pcbnew.LAYER_MOD_TEXT
7563LAYER_MOD_TEXT_INVISIBLE = _pcbnew.LAYER_MOD_TEXT_INVISIBLE
7565LAYER_ANCHOR = _pcbnew.LAYER_ANCHOR
7567LAYER_PAD_FR = _pcbnew.LAYER_PAD_FR
7569LAYER_PAD_BK = _pcbnew.LAYER_PAD_BK
7571LAYER_RATSNEST = _pcbnew.LAYER_RATSNEST
7573LAYER_GRID = _pcbnew.LAYER_GRID
7575LAYER_GRID_AXES = _pcbnew.LAYER_GRID_AXES
7577LAYER_NO_CONNECTS = _pcbnew.LAYER_NO_CONNECTS
7579LAYER_MOD_FR = _pcbnew.LAYER_MOD_FR
7581LAYER_MOD_BK = _pcbnew.LAYER_MOD_BK
7583LAYER_MOD_VALUES = _pcbnew.LAYER_MOD_VALUES
7585LAYER_MOD_REFERENCES = _pcbnew.LAYER_MOD_REFERENCES
7587LAYER_TRACKS = _pcbnew.LAYER_TRACKS
7589LAYER_PADS_TH = _pcbnew.LAYER_PADS_TH
7591LAYER_PAD_PLATEDHOLES = _pcbnew.LAYER_PAD_PLATEDHOLES
7593LAYER_VIA_HOLES = _pcbnew.LAYER_VIA_HOLES
7595LAYER_DRC_ERROR = _pcbnew.LAYER_DRC_ERROR
7597LAYER_DRAWINGSHEET = _pcbnew.LAYER_DRAWINGSHEET
7599LAYER_GP_OVERLAY = _pcbnew.LAYER_GP_OVERLAY
7601LAYER_SELECT_OVERLAY = _pcbnew.LAYER_SELECT_OVERLAY
7603LAYER_PCB_BACKGROUND = _pcbnew.LAYER_PCB_BACKGROUND
7605LAYER_CURSOR = _pcbnew.LAYER_CURSOR
7607LAYER_AUX_ITEMS = _pcbnew.LAYER_AUX_ITEMS
7609LAYER_DRAW_BITMAPS = _pcbnew.LAYER_DRAW_BITMAPS
7611GAL_LAYER_ID_BITMASK_END = _pcbnew.GAL_LAYER_ID_BITMASK_END
7613LAYER_PADS = _pcbnew.LAYER_PADS
7615LAYER_ZONES = _pcbnew.LAYER_ZONES
7617LAYER_PAD_HOLEWALLS = _pcbnew.LAYER_PAD_HOLEWALLS
7619LAYER_VIA_HOLEWALLS = _pcbnew.LAYER_VIA_HOLEWALLS
7621LAYER_DRC_WARNING = _pcbnew.LAYER_DRC_WARNING
7623LAYER_DRC_EXCLUSION = _pcbnew.LAYER_DRC_EXCLUSION
7625LAYER_MARKER_SHADOWS = _pcbnew.LAYER_MARKER_SHADOWS
7627LAYER_DRAWINGSHEET_PAGE1 = _pcbnew.LAYER_DRAWINGSHEET_PAGE1
7629LAYER_DRAWINGSHEET_PAGEn = _pcbnew.LAYER_DRAWINGSHEET_PAGEn
7631LAYER_ZONE_START = _pcbnew.LAYER_ZONE_START
7633LAYER_ZONE_END = _pcbnew.LAYER_ZONE_END
7635GAL_LAYER_ID_END = _pcbnew.GAL_LAYER_ID_END
7639 r"""ToGalLayer(int aInteger) -> GAL_LAYER_ID"""
7640 return _pcbnew.ToGalLayer(aInteger)
7642 r"""Proxy of C++ GAL_SET class."""
7644 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7645 __repr__ = _swig_repr
7650 __init__(GAL_SET self, GAL_SET aOther) -> GAL_SET
7651 __init__(GAL_SET self, GAL_LAYER_ID const * aArray, unsigned int aCount) -> GAL_SET
7653 _pcbnew.GAL_SET_swiginit(self, _pcbnew.new_GAL_SET(*args))
7655 def set(self, *args) -> "GAL_SET &":
7657 set(GAL_SET self) -> GAL_SET
7658 set(GAL_SET self, GAL_LAYER_ID aPos, bool aVal=True) -> GAL_SET
7660 return _pcbnew.GAL_SET_set(self, *args)
7663 r"""Contains(GAL_SET self, GAL_LAYER_ID aPos) -> bool"""
7664 return _pcbnew.GAL_SET_Contains(self, aPos)
7666 def Seq(self) -> "std::vector< GAL_LAYER_ID,std::allocator< GAL_LAYER_ID > >
":
7667 r"""Seq(GAL_SET self) -> std::vector< GAL_LAYER_ID,std::allocator< GAL_LAYER_ID > >"""
7668 return _pcbnew.GAL_SET_Seq(self)
7672 r"""DefaultVisible() -> GAL_SET"""
7673 return _pcbnew.GAL_SET_DefaultVisible()
7674 __swig_destroy__ = _pcbnew.delete_GAL_SET
7677_pcbnew.GAL_SET_swigregister(GAL_SET)
7678GAL_LAYER_ID_COUNT = cvar.GAL_LAYER_ID_COUNT
7681 r"""GAL_SET_DefaultVisible() -> GAL_SET"""
7682 return _pcbnew.GAL_SET_DefaultVisible()
7684SCH_LAYER_ID_START = _pcbnew.SCH_LAYER_ID_START
7686LAYER_WIRE = _pcbnew.LAYER_WIRE
7688LAYER_BUS = _pcbnew.LAYER_BUS
7690LAYER_JUNCTION = _pcbnew.LAYER_JUNCTION
7692LAYER_LOCLABEL = _pcbnew.LAYER_LOCLABEL
7694LAYER_GLOBLABEL = _pcbnew.LAYER_GLOBLABEL
7696LAYER_HIERLABEL = _pcbnew.LAYER_HIERLABEL
7698LAYER_PINNUM = _pcbnew.LAYER_PINNUM
7700LAYER_PINNAM = _pcbnew.LAYER_PINNAM
7702LAYER_REFERENCEPART = _pcbnew.LAYER_REFERENCEPART
7704LAYER_VALUEPART = _pcbnew.LAYER_VALUEPART
7706LAYER_FIELDS = _pcbnew.LAYER_FIELDS
7708LAYER_DEVICE = _pcbnew.LAYER_DEVICE
7710LAYER_NOTES = _pcbnew.LAYER_NOTES
7712LAYER_PIN = _pcbnew.LAYER_PIN
7714LAYER_SHEET = _pcbnew.LAYER_SHEET
7716LAYER_SHEETNAME = _pcbnew.LAYER_SHEETNAME
7718LAYER_SHEETFILENAME = _pcbnew.LAYER_SHEETFILENAME
7720LAYER_SHEETFIELDS = _pcbnew.LAYER_SHEETFIELDS
7722LAYER_SHEETLABEL = _pcbnew.LAYER_SHEETLABEL
7724LAYER_NOCONNECT = _pcbnew.LAYER_NOCONNECT
7726LAYER_DANGLING = _pcbnew.LAYER_DANGLING
7728LAYER_ERC_WARN = _pcbnew.LAYER_ERC_WARN
7730LAYER_ERC_ERR = _pcbnew.LAYER_ERC_ERR
7732LAYER_DEVICE_BACKGROUND = _pcbnew.LAYER_DEVICE_BACKGROUND
7734LAYER_SHEET_BACKGROUND = _pcbnew.LAYER_SHEET_BACKGROUND
7736LAYER_SCHEMATIC_GRID = _pcbnew.LAYER_SCHEMATIC_GRID
7738LAYER_SCHEMATIC_GRID_AXES = _pcbnew.LAYER_SCHEMATIC_GRID_AXES
7740LAYER_SCHEMATIC_BACKGROUND = _pcbnew.LAYER_SCHEMATIC_BACKGROUND
7742LAYER_SCHEMATIC_CURSOR = _pcbnew.LAYER_SCHEMATIC_CURSOR
7744LAYER_BRIGHTENED = _pcbnew.LAYER_BRIGHTENED
7746LAYER_HIDDEN = _pcbnew.LAYER_HIDDEN
7748LAYER_SELECTION_SHADOWS = _pcbnew.LAYER_SELECTION_SHADOWS
7750LAYER_SCHEMATIC_DRAWINGSHEET = _pcbnew.LAYER_SCHEMATIC_DRAWINGSHEET
7752LAYER_BUS_JUNCTION = _pcbnew.LAYER_BUS_JUNCTION
7754LAYER_SCHEMATIC_AUX_ITEMS = _pcbnew.LAYER_SCHEMATIC_AUX_ITEMS
7756LAYER_SCHEMATIC_ANCHOR = _pcbnew.LAYER_SCHEMATIC_ANCHOR
7758SCH_LAYER_ID_END = _pcbnew.SCH_LAYER_ID_END
7760GERBVIEW_LAYER_ID_START = _pcbnew.GERBVIEW_LAYER_ID_START
7762GERBVIEW_LAYER_ID_RESERVED = _pcbnew.GERBVIEW_LAYER_ID_RESERVED
7764LAYER_DCODES = _pcbnew.LAYER_DCODES
7766LAYER_NEGATIVE_OBJECTS = _pcbnew.LAYER_NEGATIVE_OBJECTS
7768LAYER_GERBVIEW_GRID = _pcbnew.LAYER_GERBVIEW_GRID
7770LAYER_GERBVIEW_AXES = _pcbnew.LAYER_GERBVIEW_AXES
7772LAYER_GERBVIEW_BACKGROUND = _pcbnew.LAYER_GERBVIEW_BACKGROUND
7774LAYER_GERBVIEW_DRAWINGSHEET = _pcbnew.LAYER_GERBVIEW_DRAWINGSHEET
7776GERBVIEW_LAYER_ID_END = _pcbnew.GERBVIEW_LAYER_ID_END
7778LAYER_3D_START = _pcbnew.LAYER_3D_START
7780LAYER_3D_BACKGROUND_BOTTOM = _pcbnew.LAYER_3D_BACKGROUND_BOTTOM
7782LAYER_3D_BACKGROUND_TOP = _pcbnew.LAYER_3D_BACKGROUND_TOP
7784LAYER_3D_BOARD = _pcbnew.LAYER_3D_BOARD
7786LAYER_3D_COPPER = _pcbnew.LAYER_3D_COPPER
7788LAYER_3D_SILKSCREEN_BOTTOM = _pcbnew.LAYER_3D_SILKSCREEN_BOTTOM
7790LAYER_3D_SILKSCREEN_TOP = _pcbnew.LAYER_3D_SILKSCREEN_TOP
7792LAYER_3D_SOLDERMASK_BOTTOM = _pcbnew.LAYER_3D_SOLDERMASK_BOTTOM
7794LAYER_3D_SOLDERMASK_TOP = _pcbnew.LAYER_3D_SOLDERMASK_TOP
7796LAYER_3D_SOLDERPASTE = _pcbnew.LAYER_3D_SOLDERPASTE
7798LAYER_3D_END = _pcbnew.LAYER_3D_END
7802 r"""LayerName(int aLayer) -> wxString"""
7803 return _pcbnew.LayerName(aLayer)
7805 r"""Proxy of C++ LSEQ class."""
7807 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7808 __repr__ = _swig_repr
7811 r"""__init__(LSEQ self) -> LSEQ"""
7812 _pcbnew.LSEQ_swiginit(self, _pcbnew.new_LSEQ())
7815 r"""Rewind(LSEQ self)"""
7816 return _pcbnew.LSEQ_Rewind(self)
7819 return _pcbnew.LSEQ___nonzero__(self)
7820 __bool__ = __nonzero__
7825 r"""__ref__(LSEQ self) -> PCB_LAYER_ID"""
7826 return _pcbnew.LSEQ___ref__(self)
7827 __swig_destroy__ = _pcbnew.delete_LSEQ
7830_pcbnew.LSEQ_swigregister(LSEQ)
7833 r"""Proxy of C++ LSET class."""
7835 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7836 __repr__ = _swig_repr
7841 __init__(LSET self, BASE_SET aOther) -> LSET
7842 __init__(LSET self, PCB_LAYER_ID aLayer) -> LSET
7843 __init__(LSET self, PCB_LAYER_ID const * aArray, unsigned int aCount) -> LSET
7844 __init__(LSET self, unsigned int aIdCount, int aFirst) -> LSET
7846 _pcbnew.LSET_swiginit(self, _pcbnew.new_LSET(*args))
7849 r"""Contains(LSET self, PCB_LAYER_ID aLayer) -> bool"""
7850 return _pcbnew.LSET_Contains(self, aLayer)
7853 def Name(aLayerId:
"PCB_LAYER_ID") ->
"wxChar const *":
7854 r"""Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
7855 return _pcbnew.LSET_Name(aLayerId)
7859 r"""InternalCuMask() -> LSET"""
7860 return _pcbnew.LSET_InternalCuMask()
7864 r"""FrontAssembly() -> LSET"""
7865 return _pcbnew.LSET_FrontAssembly()
7869 r"""BackAssembly() -> LSET"""
7870 return _pcbnew.LSET_BackAssembly()
7874 r"""AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
7875 return _pcbnew.LSET_AllCuMask(*args)
7879 r"""ExternalCuMask() -> LSET"""
7880 return _pcbnew.LSET_ExternalCuMask()
7884 r"""AllNonCuMask() -> LSET"""
7885 return _pcbnew.LSET_AllNonCuMask()
7889 r"""AllLayersMask() -> LSET"""
7890 return _pcbnew.LSET_AllLayersMask()
7894 r"""FrontTechMask() -> LSET"""
7895 return _pcbnew.LSET_FrontTechMask()
7899 r"""FrontBoardTechMask() -> LSET"""
7900 return _pcbnew.LSET_FrontBoardTechMask()
7904 r"""BackTechMask() -> LSET"""
7905 return _pcbnew.LSET_BackTechMask()
7909 r"""BackBoardTechMask() -> LSET"""
7910 return _pcbnew.LSET_BackBoardTechMask()
7914 r"""AllTechMask() -> LSET"""
7915 return _pcbnew.LSET_AllTechMask()
7919 r"""AllBoardTechMask() -> LSET"""
7920 return _pcbnew.LSET_AllBoardTechMask()
7924 r"""FrontMask() -> LSET"""
7925 return _pcbnew.LSET_FrontMask()
7929 r"""BackMask() -> LSET"""
7930 return _pcbnew.LSET_BackMask()
7934 r"""UserMask() -> LSET"""
7935 return _pcbnew.LSET_UserMask()
7939 r"""PhysicalLayersMask() -> LSET"""
7940 return _pcbnew.LSET_PhysicalLayersMask()
7944 r"""UserDefinedLayers() -> LSET"""
7945 return _pcbnew.LSET_UserDefinedLayers()
7949 r"""ForbiddenFootprintLayers() -> LSET"""
7950 return _pcbnew.LSET_ForbiddenFootprintLayers()
7953 r"""CuStack(LSET self) -> LSEQ"""
7954 return _pcbnew.LSET_CuStack(self)
7957 r"""Technicals(LSET self, LSET aSubToOmit=LSET()) -> LSEQ"""
7958 return _pcbnew.LSET_Technicals(self, *args)
7961 r"""Users(LSET self) -> LSEQ"""
7962 return _pcbnew.LSET_Users(self)
7965 r"""TechAndUserUIOrder(LSET self) -> LSEQ"""
7966 return _pcbnew.LSET_TechAndUserUIOrder(self)
7969 r"""UIOrder(LSET self) -> LSEQ"""
7970 return _pcbnew.LSET_UIOrder(self)
7972 def Seq(self, *args) -> "LSEQ":
7974 Seq(LSET self, PCB_LAYER_ID const * aWishListSequence, unsigned int aCount) -> LSEQ
7975 Seq(LSET self) -> LSEQ
7977 return _pcbnew.LSET_Seq(self, *args)
7980 r"""SeqStackupBottom2Top(LSET self) -> LSEQ"""
7981 return _pcbnew.LSET_SeqStackupBottom2Top(self)
7984 r"""FmtHex(LSET self) -> string"""
7985 return _pcbnew.LSET_FmtHex(self)
7987 def ParseHex(self, aStart:
"char const *", aCount:
"int") ->
"int":
7988 r"""ParseHex(LSET self, char const * aStart, int aCount) -> int"""
7989 return _pcbnew.LSET_ParseHex(self, aStart, aCount)
7992 r"""FmtBin(LSET self) -> string"""
7993 return _pcbnew.LSET_FmtBin(self)
7996 r"""ExtractLayer(LSET self) -> PCB_LAYER_ID"""
7997 return _pcbnew.LSET_ExtractLayer(self)
8000 r"""addLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
8001 return _pcbnew.LSET_addLayer(self, aLayer)
8004 r"""removeLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
8005 return _pcbnew.LSET_removeLayer(self, aLayer)
8008 r"""addLayerSet(LSET self, LSET aLayerSet) -> LSET"""
8009 return _pcbnew.LSET_addLayerSet(self, aLayerSet)
8012 r"""removeLayerSet(LSET self, LSET aLayerSet) -> LSET"""
8013 return _pcbnew.LSET_removeLayerSet(self, aLayerSet)
8027 __swig_destroy__ = _pcbnew.delete_LSET
8030_pcbnew.LSET_swigregister(LSET)
8033 r"""LSET_Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
8034 return _pcbnew.LSET_Name(aLayerId)
8037 r"""LSET_InternalCuMask() -> LSET"""
8038 return _pcbnew.LSET_InternalCuMask()
8041 r"""LSET_FrontAssembly() -> LSET"""
8042 return _pcbnew.LSET_FrontAssembly()
8045 r"""LSET_BackAssembly() -> LSET"""
8046 return _pcbnew.LSET_BackAssembly()
8049 r"""LSET_AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
8050 return _pcbnew.LSET_AllCuMask(*args)
8053 r"""LSET_ExternalCuMask() -> LSET"""
8054 return _pcbnew.LSET_ExternalCuMask()
8057 r"""LSET_AllNonCuMask() -> LSET"""
8058 return _pcbnew.LSET_AllNonCuMask()
8061 r"""LSET_AllLayersMask() -> LSET"""
8062 return _pcbnew.LSET_AllLayersMask()
8065 r"""LSET_FrontTechMask() -> LSET"""
8066 return _pcbnew.LSET_FrontTechMask()
8069 r"""LSET_FrontBoardTechMask() -> LSET"""
8070 return _pcbnew.LSET_FrontBoardTechMask()
8073 r"""LSET_BackTechMask() -> LSET"""
8074 return _pcbnew.LSET_BackTechMask()
8077 r"""LSET_BackBoardTechMask() -> LSET"""
8078 return _pcbnew.LSET_BackBoardTechMask()
8081 r"""LSET_AllTechMask() -> LSET"""
8082 return _pcbnew.LSET_AllTechMask()
8085 r"""LSET_AllBoardTechMask() -> LSET"""
8086 return _pcbnew.LSET_AllBoardTechMask()
8089 r"""LSET_FrontMask() -> LSET"""
8090 return _pcbnew.LSET_FrontMask()
8093 r"""LSET_BackMask() -> LSET"""
8094 return _pcbnew.LSET_BackMask()
8097 r"""LSET_UserMask() -> LSET"""
8098 return _pcbnew.LSET_UserMask()
8101 r"""LSET_PhysicalLayersMask() -> LSET"""
8102 return _pcbnew.LSET_PhysicalLayersMask()
8105 r"""LSET_UserDefinedLayers() -> LSET"""
8106 return _pcbnew.LSET_UserDefinedLayers()
8109 r"""LSET_ForbiddenFootprintLayers() -> LSET"""
8110 return _pcbnew.LSET_ForbiddenFootprintLayers()
8114 r"""IsValidLayer(LAYER_NUM aLayerId) -> bool"""
8115 return _pcbnew.IsValidLayer(aLayerId)
8118 r"""IsPcbLayer(LAYER_NUM aLayer) -> bool"""
8119 return _pcbnew.IsPcbLayer(aLayer)
8122 r"""IsNonCopperLayer(LAYER_NUM aLayerId) -> bool"""
8123 return _pcbnew.IsNonCopperLayer(aLayerId)
8128 IsCopperLayer(LAYER_NUM aLayerId, bool aIncludeSyntheticCopperLayers) -> bool
8130 return _pcbnew.IsCopperLayer(*args)
8133 r"""IsViaPadLayer(LAYER_NUM aLayer) -> bool"""
8134 return _pcbnew.IsViaPadLayer(aLayer)
8137 r"""IsHoleLayer(LAYER_NUM aLayer) -> bool"""
8138 return _pcbnew.IsHoleLayer(aLayer)
8141 r"""IsUserLayer(PCB_LAYER_ID aLayerId) -> bool"""
8142 return _pcbnew.IsUserLayer(aLayerId)
8145 r"""IsFrontLayer(PCB_LAYER_ID aLayerId) -> bool"""
8146 return _pcbnew.IsFrontLayer(aLayerId)
8149 r"""IsBackLayer(PCB_LAYER_ID aLayerId) -> bool"""
8150 return _pcbnew.IsBackLayer(aLayerId)
8152def FlipLayer(aLayerId:
"PCB_LAYER_ID", aCopperLayersCount:
"int"=0) ->
"PCB_LAYER_ID":
8153 r"""FlipLayer(PCB_LAYER_ID aLayerId, int aCopperLayersCount=0) -> PCB_LAYER_ID"""
8154 return _pcbnew.FlipLayer(aLayerId, aCopperLayersCount)
8157 r"""FlipLayerMask(LSET aMask, int aCopperLayersCount=0) -> LSET"""
8158 return _pcbnew.FlipLayerMask(aMask, aCopperLayersCount)
8161 r"""GetNetnameLayer(int aLayer) -> int"""
8162 return _pcbnew.GetNetnameLayer(aLayer)
8165 r"""IsNetnameLayer(LAYER_NUM aLayer) -> bool"""
8166 return _pcbnew.IsNetnameLayer(aLayer)
8169 r"""IsZoneFillLayer(int aLayer) -> bool"""
8170 return _pcbnew.IsZoneFillLayer(aLayer)
8173 r"""IsDCodeLayer(int aLayer) -> bool"""
8174 return _pcbnew.IsDCodeLayer(aLayer)
8177 r"""IsNetCopperLayer(LAYER_NUM aLayer) -> bool"""
8178 return _pcbnew.IsNetCopperLayer(aLayer)
8181 r"""ToLAYER_ID(int aLayer) -> PCB_LAYER_ID"""
8182 return _pcbnew.ToLAYER_ID(aLayer)
8184 r"""Proxy of C++ BOARD_ITEM class."""
8186 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8189 raise AttributeError(
"No constructor defined - class is abstract")
8190 __repr__ = _swig_repr
8193 r"""SetParentGroup(BOARD_ITEM self, PCB_GROUP aGroup)"""
8194 return _pcbnew.BOARD_ITEM_SetParentGroup(self, aGroup)
8197 r"""GetParentGroup(BOARD_ITEM self) -> PCB_GROUP"""
8198 return _pcbnew.BOARD_ITEM_GetParentGroup(self)
8201 r"""GetX(BOARD_ITEM self) -> int"""
8202 return _pcbnew.BOARD_ITEM_GetX(self)
8205 r"""GetY(BOARD_ITEM self) -> int"""
8206 return _pcbnew.BOARD_ITEM_GetY(self)
8209 r"""GetCenter(BOARD_ITEM self) -> wxPoint"""
8210 return _pcbnew.BOARD_ITEM_GetCenter(self)
8212 def SetX(self, aX:
"int") ->
"void":
8213 r"""SetX(BOARD_ITEM self, int aX)"""
8214 return _pcbnew.BOARD_ITEM_SetX(self, aX)
8216 def SetY(self, aY:
"int") ->
"void":
8217 r"""SetY(BOARD_ITEM self, int aY)"""
8218 return _pcbnew.BOARD_ITEM_SetY(self, aY)
8221 r"""IsConnected(BOARD_ITEM self) -> bool"""
8222 return _pcbnew.BOARD_ITEM_IsConnected(self)
8225 r"""IsOnCopperLayer(BOARD_ITEM self) -> bool"""
8226 return _pcbnew.BOARD_ITEM_IsOnCopperLayer(self)
8229 r"""GetEffectiveShape(BOARD_ITEM self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
8230 return _pcbnew.BOARD_ITEM_GetEffectiveShape(self, *args)
8233 r"""GetParent(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
8234 return _pcbnew.BOARD_ITEM_GetParent(self)
8237 r"""GetParentFootprint(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
8238 return _pcbnew.BOARD_ITEM_GetParentFootprint(self)
8241 r"""GetLayer(BOARD_ITEM self) -> PCB_LAYER_ID"""
8242 return _pcbnew.BOARD_ITEM_GetLayer(self)
8245 r"""GetLayerSet(BOARD_ITEM self) -> LSET"""
8246 return _pcbnew.BOARD_ITEM_GetLayerSet(self)
8249 r"""SetLayerSet(BOARD_ITEM self, LSET aLayers)"""
8250 return _pcbnew.BOARD_ITEM_SetLayerSet(self, aLayers)
8253 r"""SetLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer)"""
8254 return _pcbnew.BOARD_ITEM_SetLayer(self, aLayer)
8257 r"""Duplicate(BOARD_ITEM self) -> BOARD_ITEM"""
8258 return _pcbnew.BOARD_ITEM_Duplicate(self)
8261 r"""SwapData(BOARD_ITEM self, BOARD_ITEM aImage)"""
8262 return _pcbnew.BOARD_ITEM_SwapData(self, aImage)
8265 r"""IsOnLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer) -> bool"""
8266 return _pcbnew.BOARD_ITEM_IsOnLayer(self, aLayer)
8269 r"""IsTrack(BOARD_ITEM self) -> bool"""
8270 return _pcbnew.BOARD_ITEM_IsTrack(self)
8273 r"""IsLocked(BOARD_ITEM self) -> bool"""
8274 return _pcbnew.BOARD_ITEM_IsLocked(self)
8277 r"""SetLocked(BOARD_ITEM self, bool aLocked)"""
8278 return _pcbnew.BOARD_ITEM_SetLocked(self, aLocked)
8281 r"""DeleteStructure(BOARD_ITEM self)"""
8282 return _pcbnew.BOARD_ITEM_DeleteStructure(self)
8286 Move(BOARD_ITEM self, wxPoint aMoveVector)
8287 Move(BOARD_ITEM self, VECTOR2I aMoveVector)
8289 return _pcbnew.BOARD_ITEM_Move(self, *args)
8293 Rotate(BOARD_ITEM self, wxPoint aRotCentre, double aAngle)
8294 Rotate(BOARD_ITEM self, VECTOR2I aRotCentre, double aAngle)
8296 return _pcbnew.BOARD_ITEM_Rotate(self, *args)
8300 Flip(BOARD_ITEM self, wxPoint aCentre, bool aFlipLeftRight)
8301 Flip(BOARD_ITEM self, VECTOR2I aCentre, bool aFlipLeftRight)
8303 return _pcbnew.BOARD_ITEM_Flip(self, *args)
8310 return _pcbnew.BOARD_ITEM_GetBoard(self, *args)
8313 r"""GetLayerName(BOARD_ITEM self) -> wxString"""
8314 return _pcbnew.BOARD_ITEM_GetLayerName(self)
8317 r"""ViewGetLayers(BOARD_ITEM self, int [] aLayers, int & aCount)"""
8318 return _pcbnew.BOARD_ITEM_ViewGetLayers(self, aLayers, aCount)
8320 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aClearanceValue:
"int", aError:
"int", aErrorLoc:
"ERROR_LOC", ignoreLineWidth:
"bool"=
False) ->
"void":
8321 r"""TransformShapeWithClearanceToPolygon(BOARD_ITEM self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
8322 return _pcbnew.BOARD_ITEM_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearanceValue, aError, aErrorLoc, ignoreLineWidth)
8332 elif ct==
"PCB_DIM_ALIGNED":
8334 elif ct==
"PCB_DIM_LEADER":
8336 elif ct==
"PCB_DIM_CENTER":
8338 elif ct==
"PCB_DIM_ORTHOGONAL":
8340 elif ct==
"PCB_SHAPE":
8342 elif ct==
"MGRAPHIC":
8344 elif ct==
"FOOTPRINT":
8346 elif ct==
"PCB_GROUP":
8354 elif ct==
"PCB_TRACK":
8358 elif ct==
"PCB_TARGET":
8363 raise TypeError(
"Unsupported drawing class: %s" % ct)
8377 self.SetStart(start)
8378 self.SetStart0(start)
8382 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM
8385_pcbnew.BOARD_ITEM_swigregister(BOARD_ITEM)
8388 r"""Proxy of C++ DELETED_BOARD_ITEM class."""
8390 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8391 __repr__ = _swig_repr
8394 r"""__init__(DELETED_BOARD_ITEM self) -> DELETED_BOARD_ITEM"""
8395 _pcbnew.DELETED_BOARD_ITEM_swiginit(self, _pcbnew.new_DELETED_BOARD_ITEM())
8398 r"""GetSelectMenuText(DELETED_BOARD_ITEM self, EDA_UNITS aUnits) -> wxString"""
8399 return _pcbnew.DELETED_BOARD_ITEM_GetSelectMenuText(self, aUnits)
8402 r"""GetClass(DELETED_BOARD_ITEM self) -> wxString"""
8403 return _pcbnew.DELETED_BOARD_ITEM_GetClass(self)
8406 r"""SetPosition(DELETED_BOARD_ITEM self, wxPoint arg2)"""
8407 return _pcbnew.DELETED_BOARD_ITEM_SetPosition(self, arg2)
8410 r"""GetPosition(DELETED_BOARD_ITEM self) -> wxPoint"""
8411 return _pcbnew.DELETED_BOARD_ITEM_GetPosition(self)
8415 r"""GetInstance() -> DELETED_BOARD_ITEM"""
8416 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
8417 __swig_destroy__ = _pcbnew.delete_DELETED_BOARD_ITEM
8420_pcbnew.DELETED_BOARD_ITEM_swigregister(DELETED_BOARD_ITEM)
8423 r"""DELETED_BOARD_ITEM_GetInstance() -> DELETED_BOARD_ITEM"""
8424 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
8426IS_CHANGED = _pcbnew.IS_CHANGED
8428IS_LINKED = _pcbnew.IS_LINKED
8430IN_EDIT = _pcbnew.IN_EDIT
8432IS_MOVING = _pcbnew.IS_MOVING
8434IS_NEW = _pcbnew.IS_NEW
8436IS_RESIZING = _pcbnew.IS_RESIZING
8438IS_DRAGGING = _pcbnew.IS_DRAGGING
8440IS_DELETED = _pcbnew.IS_DELETED
8442IS_WIRE_IMAGE = _pcbnew.IS_WIRE_IMAGE
8444STARTPOINT = _pcbnew.STARTPOINT
8446ENDPOINT = _pcbnew.ENDPOINT
8448SELECTED = _pcbnew.SELECTED
8450TEMP_SELECTED = _pcbnew.TEMP_SELECTED
8452STRUCT_DELETED = _pcbnew.STRUCT_DELETED
8454CANDIDATE = _pcbnew.CANDIDATE
8456SKIP_STRUCT = _pcbnew.SKIP_STRUCT
8458DO_NOT_DRAW = _pcbnew.DO_NOT_DRAW
8460IS_PASTED = _pcbnew.IS_PASTED
8462LOCKED = _pcbnew.LOCKED
8464UNUSED = _pcbnew.UNUSED
8466MALFORMED_F_COURTYARD = _pcbnew.MALFORMED_F_COURTYARD
8468MALFORMED_B_COURTYARD = _pcbnew.MALFORMED_B_COURTYARD
8470MALFORMED_COURTYARDS = _pcbnew.MALFORMED_COURTYARDS
8472BEGIN_ONPAD = _pcbnew.BEGIN_ONPAD
8474END_ONPAD = _pcbnew.END_ONPAD
8476HOLE_PROXY = _pcbnew.HOLE_PROXY
8478IS_ROLLOVER = _pcbnew.IS_ROLLOVER
8480BRIGHTENED = _pcbnew.BRIGHTENED
8482DP_COUPLED = _pcbnew.DP_COUPLED
8484UR_TRANSIENT = _pcbnew.UR_TRANSIENT
8486IS_DANGLING = _pcbnew.IS_DANGLING
8488ENTERED = _pcbnew.ENTERED
8492 r"""Cast_to_BOARD_ITEM(EDA_ITEM base) -> BOARD_ITEM"""
8493 return _pcbnew.Cast_to_BOARD_ITEM(base)
8496 r"""Cast_to_PCB_TEXT(BOARD_ITEM arg1) -> PCB_TEXT"""
8497 return _pcbnew.Cast_to_PCB_TEXT(arg1)
8500 r"""Cast_to_PCB_DIM_ALIGNED(BOARD_ITEM arg1) -> PCB_DIM_ALIGNED"""
8501 return _pcbnew.Cast_to_PCB_DIM_ALIGNED(arg1)
8504 r"""Cast_to_PCB_DIM_ORTHOGONAL(BOARD_ITEM arg1) -> PCB_DIM_ORTHOGONAL"""
8505 return _pcbnew.Cast_to_PCB_DIM_ORTHOGONAL(arg1)
8508 r"""Cast_to_PCB_DIM_LEADER(BOARD_ITEM arg1) -> PCB_DIM_LEADER"""
8509 return _pcbnew.Cast_to_PCB_DIM_LEADER(arg1)
8512 r"""Cast_to_PCB_DIM_CENTER(BOARD_ITEM arg1) -> PCB_DIM_CENTER"""
8513 return _pcbnew.Cast_to_PCB_DIM_CENTER(arg1)
8516 r"""Cast_to_FOOTPRINT(BOARD_ITEM arg1) -> FOOTPRINT"""
8517 return _pcbnew.Cast_to_FOOTPRINT(arg1)
8520 r"""Cast_to_PCB_GROUP(BOARD_ITEM arg1) -> PCB_GROUP"""
8521 return _pcbnew.Cast_to_PCB_GROUP(arg1)
8524 r"""Cast_to_FP_TEXT(BOARD_ITEM arg1) -> FP_TEXT"""
8525 return _pcbnew.Cast_to_FP_TEXT(arg1)
8528 r"""Cast_to_PCB_SHAPE(BOARD_ITEM arg1) -> PCB_SHAPE"""
8529 return _pcbnew.Cast_to_PCB_SHAPE(arg1)
8532 r"""Cast_to_PCB_MARKER(BOARD_ITEM arg1) -> PCB_MARKER"""
8533 return _pcbnew.Cast_to_PCB_MARKER(arg1)
8536 r"""Cast_to_BOARD(BOARD_ITEM arg1) -> BOARD"""
8537 return _pcbnew.Cast_to_BOARD(arg1)
8540 r"""Cast_to_FP_SHAPE(BOARD_ITEM arg1) -> FP_SHAPE"""
8541 return _pcbnew.Cast_to_FP_SHAPE(arg1)
8544 r"""Cast_to_PAD(BOARD_ITEM arg1) -> PAD"""
8545 return _pcbnew.Cast_to_PAD(arg1)
8548 r"""Cast_to_PCB_TRACK(BOARD_ITEM arg1) -> PCB_TRACK"""
8549 return _pcbnew.Cast_to_PCB_TRACK(arg1)
8552 r"""Cast_to_PCB_VIA(BOARD_ITEM arg1) -> PCB_VIA"""
8553 return _pcbnew.Cast_to_PCB_VIA(arg1)
8556 r"""Cast_to_PCB_ARC(BOARD_ITEM arg1) -> PCB_ARC"""
8557 return _pcbnew.Cast_to_PCB_ARC(arg1)
8560 r"""Cast_to_ZONE(BOARD_ITEM arg1) -> ZONE"""
8561 return _pcbnew.Cast_to_ZONE(arg1)
8564 r"""Cast_to_FP_ZONE(BOARD_ITEM arg1) -> FP_ZONE"""
8565 return _pcbnew.Cast_to_FP_ZONE(arg1)
8568 r"""Cast_to_PCB_TARGET(BOARD_ITEM arg1) -> PCB_TARGET"""
8569 return _pcbnew.Cast_to_PCB_TARGET(arg1)
8570ADD_MODE_INSERT = _pcbnew.ADD_MODE_INSERT
8572ADD_MODE_APPEND = _pcbnew.ADD_MODE_APPEND
8574ADD_MODE_BULK_APPEND = _pcbnew.ADD_MODE_BULK_APPEND
8576ADD_MODE_BULK_INSERT = _pcbnew.ADD_MODE_BULK_INSERT
8578REMOVE_MODE_NORMAL = _pcbnew.REMOVE_MODE_NORMAL
8580REMOVE_MODE_BULK = _pcbnew.REMOVE_MODE_BULK
8583 r"""Proxy of C++ BOARD_ITEM_CONTAINER class."""
8585 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8588 raise AttributeError(
"No constructor defined - class is abstract")
8589 __repr__ = _swig_repr
8592 r"""AddNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT)"""
8593 return _pcbnew.BOARD_ITEM_CONTAINER_AddNative(self, *args)
8596 r"""RemoveNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
8597 return _pcbnew.BOARD_ITEM_CONTAINER_RemoveNative(self, *args)
8600 r"""DeleteNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)"""
8601 return _pcbnew.BOARD_ITEM_CONTAINER_DeleteNative(self, aItem)
8604 r"""GetZoneSettings(BOARD_ITEM_CONTAINER self) -> ZONE_SETTINGS"""
8605 return _pcbnew.BOARD_ITEM_CONTAINER_GetZoneSettings(self)
8608 r"""SetZoneSettings(BOARD_ITEM_CONTAINER self, ZONE_SETTINGS aSettings)"""
8609 return _pcbnew.BOARD_ITEM_CONTAINER_SetZoneSettings(self, aSettings)
8613 Add a BOARD_ITEM to this BOARD_ITEM_CONTAINER, clear the thisown to prevent
8614 python from deleting the object
in the garbage collector
8615 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, BOARD_ADD_MODE aMode=BOARD_ADD_MODE::INSERT)
8616 Add(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)
8623 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
8624 the python wrapper owns the C++ BOARD_ITEM
8633 Remove a BOARD_ITEM from this BOARD_ITEM_CONTAINER, set the thisdown flag so that
8634 the python wrapper does
not owns the C++ BOARD_ITEM
8641 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM_CONTAINER
8644_pcbnew.BOARD_ITEM_CONTAINER_swigregister(BOARD_ITEM_CONTAINER)
8647 r"""Proxy of C++ BOARD_CONNECTED_ITEM class."""
8649 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8652 raise AttributeError(
"No constructor defined - class is abstract")
8653 __repr__ = _swig_repr
8657 r"""ClassOf(EDA_ITEM aItem) -> bool"""
8658 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
8661 r"""IsConnected(BOARD_CONNECTED_ITEM self) -> bool"""
8662 return _pcbnew.BOARD_CONNECTED_ITEM_IsConnected(self)
8665 r"""GetNet(BOARD_CONNECTED_ITEM self) -> NETINFO_ITEM"""
8666 return _pcbnew.BOARD_CONNECTED_ITEM_GetNet(self)
8668 def SetNet(self, aNetInfo:
"NETINFO_ITEM") ->
"void":
8669 r"""SetNet(BOARD_CONNECTED_ITEM self, NETINFO_ITEM aNetInfo)"""
8670 return _pcbnew.BOARD_CONNECTED_ITEM_SetNet(self, aNetInfo)
8673 r"""GetNetCode(BOARD_CONNECTED_ITEM self) -> int"""
8674 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetCode(self)
8678 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode, bool aNoAssert) -> bool
8679 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode)
8681 return _pcbnew.BOARD_CONNECTED_ITEM_SetNetCode(self, *args)
8684 r"""GetNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
8685 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetname(self)
8688 r"""GetNetnameMsg(BOARD_CONNECTED_ITEM self) -> wxString"""
8689 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetnameMsg(self)
8692 r"""GetShortNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
8693 return _pcbnew.BOARD_CONNECTED_ITEM_GetShortNetname(self)
8696 r"""GetOwnClearance(BOARD_CONNECTED_ITEM self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
8697 return _pcbnew.BOARD_CONNECTED_ITEM_GetOwnClearance(self, aLayer, aSource)
8700 r"""GetLocalClearanceOverrides(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
8701 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearanceOverrides(self, aSource)
8704 r"""GetLocalClearance(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
8705 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearance(self, aSource)
8708 r"""GetNetClass(BOARD_CONNECTED_ITEM self) -> NETCLASS *"""
8709 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClass(self)
8712 r"""GetEffectiveNetclass(BOARD_CONNECTED_ITEM self) -> NETCLASS *"""
8713 return _pcbnew.BOARD_CONNECTED_ITEM_GetEffectiveNetclass(self)
8716 r"""GetNetClassName(BOARD_CONNECTED_ITEM self) -> wxString"""
8717 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClassName(self)
8720 r"""SetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self, bool aVisible)"""
8721 return _pcbnew.BOARD_CONNECTED_ITEM_SetLocalRatsnestVisible(self, aVisible)
8724 r"""GetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self) -> bool"""
8725 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalRatsnestVisible(self)
8726 __swig_destroy__ = _pcbnew.delete_BOARD_CONNECTED_ITEM
8729_pcbnew.BOARD_CONNECTED_ITEM_swigregister(BOARD_CONNECTED_ITEM)
8732 r"""BOARD_CONNECTED_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
8733 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
8735DEFAULT_SILK_LINE_WIDTH = _pcbnew.DEFAULT_SILK_LINE_WIDTH
8737DEFAULT_COPPER_LINE_WIDTH = _pcbnew.DEFAULT_COPPER_LINE_WIDTH
8739DEFAULT_EDGE_WIDTH = _pcbnew.DEFAULT_EDGE_WIDTH
8741DEFAULT_COURTYARD_WIDTH = _pcbnew.DEFAULT_COURTYARD_WIDTH
8743DEFAULT_LINE_WIDTH = _pcbnew.DEFAULT_LINE_WIDTH
8745DEFAULT_SILK_TEXT_SIZE = _pcbnew.DEFAULT_SILK_TEXT_SIZE
8747DEFAULT_COPPER_TEXT_SIZE = _pcbnew.DEFAULT_COPPER_TEXT_SIZE
8749DEFAULT_TEXT_SIZE = _pcbnew.DEFAULT_TEXT_SIZE
8751DEFAULT_SILK_TEXT_WIDTH = _pcbnew.DEFAULT_SILK_TEXT_WIDTH
8753DEFAULT_COPPER_TEXT_WIDTH = _pcbnew.DEFAULT_COPPER_TEXT_WIDTH
8755DEFAULT_TEXT_WIDTH = _pcbnew.DEFAULT_TEXT_WIDTH
8757DEFAULT_DIMENSION_ARROW_LENGTH = _pcbnew.DEFAULT_DIMENSION_ARROW_LENGTH
8759DEFAULT_DIMENSION_EXTENSION_OFFSET = _pcbnew.DEFAULT_DIMENSION_EXTENSION_OFFSET
8761DEFAULT_BOARD_THICKNESS_MM = _pcbnew.DEFAULT_BOARD_THICKNESS_MM
8763DEFAULT_PCB_EDGE_THICKNESS = _pcbnew.DEFAULT_PCB_EDGE_THICKNESS
8765DEFAULT_SOLDERMASK_CLEARANCE = _pcbnew.DEFAULT_SOLDERMASK_CLEARANCE
8767DEFAULT_SOLDERMASK_MIN_WIDTH = _pcbnew.DEFAULT_SOLDERMASK_MIN_WIDTH
8769DEFAULT_SOLDERPASTE_CLEARANCE = _pcbnew.DEFAULT_SOLDERPASTE_CLEARANCE
8771DEFAULT_SOLDERPASTE_RATIO = _pcbnew.DEFAULT_SOLDERPASTE_RATIO
8773DEFAULT_CUSTOMTRACKWIDTH = _pcbnew.DEFAULT_CUSTOMTRACKWIDTH
8775DEFAULT_CUSTOMDPAIRWIDTH = _pcbnew.DEFAULT_CUSTOMDPAIRWIDTH
8777DEFAULT_CUSTOMDPAIRGAP = _pcbnew.DEFAULT_CUSTOMDPAIRGAP
8779DEFAULT_CUSTOMDPAIRVIAGAP = _pcbnew.DEFAULT_CUSTOMDPAIRVIAGAP
8781DEFAULT_MINCLEARANCE = _pcbnew.DEFAULT_MINCLEARANCE
8783DEFAULT_TRACKMINWIDTH = _pcbnew.DEFAULT_TRACKMINWIDTH
8785DEFAULT_VIASMINSIZE = _pcbnew.DEFAULT_VIASMINSIZE
8787DEFAULT_MINTHROUGHDRILL = _pcbnew.DEFAULT_MINTHROUGHDRILL
8789DEFAULT_MICROVIASMINSIZE = _pcbnew.DEFAULT_MICROVIASMINSIZE
8791DEFAULT_MICROVIASMINDRILL = _pcbnew.DEFAULT_MICROVIASMINDRILL
8793DEFAULT_HOLETOHOLEMIN = _pcbnew.DEFAULT_HOLETOHOLEMIN
8795DEFAULT_HOLECLEARANCE = _pcbnew.DEFAULT_HOLECLEARANCE
8797DEFAULT_COPPEREDGECLEARANCE = _pcbnew.DEFAULT_COPPEREDGECLEARANCE
8799LEGACY_COPPEREDGECLEARANCE = _pcbnew.LEGACY_COPPEREDGECLEARANCE
8801DEFAULT_SILKCLEARANCE = _pcbnew.DEFAULT_SILKCLEARANCE
8803MINIMUM_ERROR_SIZE_MM = _pcbnew.MINIMUM_ERROR_SIZE_MM
8805MAXIMUM_ERROR_SIZE_MM = _pcbnew.MAXIMUM_ERROR_SIZE_MM
8808 r"""Proxy of C++ VIA_DIMENSION class."""
8810 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8811 __repr__ = _swig_repr
8812 m_Diameter = property(_pcbnew.VIA_DIMENSION_m_Diameter_get, _pcbnew.VIA_DIMENSION_m_Diameter_set, doc=
r"""m_Diameter : int""")
8813 m_Drill = property(_pcbnew.VIA_DIMENSION_m_Drill_get, _pcbnew.VIA_DIMENSION_m_Drill_set, doc=
r"""m_Drill : int""")
8817 __init__(VIA_DIMENSION self) -> VIA_DIMENSION
8818 __init__(VIA_DIMENSION self, int aDiameter, int aDrill) -> VIA_DIMENSION
8820 _pcbnew.VIA_DIMENSION_swiginit(self, _pcbnew.new_VIA_DIMENSION(*args))
8822 def __eq__(self, aOther:
"VIA_DIMENSION") ->
"bool":
8823 r"""__eq__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
8824 return _pcbnew.VIA_DIMENSION___eq__(self, aOther)
8826 def __lt__(self, aOther:
"VIA_DIMENSION") ->
"bool":
8827 r"""__lt__(VIA_DIMENSION self, VIA_DIMENSION aOther) -> bool"""
8828 return _pcbnew.VIA_DIMENSION___lt__(self, aOther)
8829 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION
8832_pcbnew.VIA_DIMENSION_swigregister(VIA_DIMENSION)
8835 r"""Proxy of C++ DIFF_PAIR_DIMENSION class."""
8837 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8838 __repr__ = _swig_repr
8839 m_Width = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Width_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Width_set, doc=
r"""m_Width : int""")
8840 m_Gap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_Gap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_Gap_set, doc=
r"""m_Gap : int""")
8841 m_ViaGap = property(_pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_get, _pcbnew.DIFF_PAIR_DIMENSION_m_ViaGap_set, doc=
r"""m_ViaGap : int""")
8845 __init__(DIFF_PAIR_DIMENSION self) -> DIFF_PAIR_DIMENSION
8846 __init__(DIFF_PAIR_DIMENSION self, int aWidth, int aGap, int aViaGap) -> DIFF_PAIR_DIMENSION
8848 _pcbnew.DIFF_PAIR_DIMENSION_swiginit(self, _pcbnew.new_DIFF_PAIR_DIMENSION(*args))
8850 def __eq__(self, aOther:
"DIFF_PAIR_DIMENSION") ->
"bool":
8851 r"""__eq__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
8852 return _pcbnew.DIFF_PAIR_DIMENSION___eq__(self, aOther)
8854 def __lt__(self, aOther:
"DIFF_PAIR_DIMENSION") ->
"bool":
8855 r"""__lt__(DIFF_PAIR_DIMENSION self, DIFF_PAIR_DIMENSION aOther) -> bool"""
8856 return _pcbnew.DIFF_PAIR_DIMENSION___lt__(self, aOther)
8857 __swig_destroy__ = _pcbnew.delete_DIFF_PAIR_DIMENSION
8860_pcbnew.DIFF_PAIR_DIMENSION_swigregister(DIFF_PAIR_DIMENSION)
8862LAYER_CLASS_SILK = _pcbnew.LAYER_CLASS_SILK
8864LAYER_CLASS_COPPER = _pcbnew.LAYER_CLASS_COPPER
8866LAYER_CLASS_EDGES = _pcbnew.LAYER_CLASS_EDGES
8868LAYER_CLASS_COURTYARD = _pcbnew.LAYER_CLASS_COURTYARD
8870LAYER_CLASS_FAB = _pcbnew.LAYER_CLASS_FAB
8872LAYER_CLASS_OTHERS = _pcbnew.LAYER_CLASS_OTHERS
8874LAYER_CLASS_COUNT = _pcbnew.LAYER_CLASS_COUNT
8877 r"""Proxy of C++ TEXT_ITEM_INFO class."""
8879 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8880 __repr__ = _swig_repr
8881 m_Text = property(_pcbnew.TEXT_ITEM_INFO_m_Text_get, _pcbnew.TEXT_ITEM_INFO_m_Text_set, doc=
r"""m_Text : wxString""")
8882 m_Visible = property(_pcbnew.TEXT_ITEM_INFO_m_Visible_get, _pcbnew.TEXT_ITEM_INFO_m_Visible_set, doc=
r"""m_Visible : bool""")
8883 m_Layer = property(_pcbnew.TEXT_ITEM_INFO_m_Layer_get, _pcbnew.TEXT_ITEM_INFO_m_Layer_set, doc=
r"""m_Layer : int""")
8885 def __init__(self, aText:
"wxString", aVisible:
"bool", aLayer:
"int"):
8886 r"""__init__(TEXT_ITEM_INFO self, wxString aText, bool aVisible, int aLayer) -> TEXT_ITEM_INFO"""
8887 _pcbnew.TEXT_ITEM_INFO_swiginit(self, _pcbnew.new_TEXT_ITEM_INFO(aText, aVisible, aLayer))
8888 __swig_destroy__ = _pcbnew.delete_TEXT_ITEM_INFO
8891_pcbnew.TEXT_ITEM_INFO_swigregister(TEXT_ITEM_INFO)
8894 r"""Proxy of C++ BOARD_DESIGN_SETTINGS class."""
8896 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8897 __repr__ = _swig_repr
8898 __swig_destroy__ = _pcbnew.delete_BOARD_DESIGN_SETTINGS
8902 __init__(BOARD_DESIGN_SETTINGS self, JSON_SETTINGS * aParent, string aPath) -> BOARD_DESIGN_SETTINGS
8903 __init__(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther) -> BOARD_DESIGN_SETTINGS
8905 _pcbnew.BOARD_DESIGN_SETTINGS_swiginit(self, _pcbnew.new_BOARD_DESIGN_SETTINGS(*args))
8908 r"""LoadFromFile(BOARD_DESIGN_SETTINGS self, wxString aDirectory="") -> bool"""
8909 return _pcbnew.BOARD_DESIGN_SETTINGS_LoadFromFile(self, *args)
8916 return _pcbnew.BOARD_DESIGN_SETTINGS_GetStackupDescriptor(self, *args)
8919 r"""GetSeverity(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> SEVERITY"""
8920 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSeverity(self, aDRCErrorCode)
8922 def Ignore(self, aDRCErrorCode:
"int") ->
"bool":
8923 r"""Ignore(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> bool"""
8924 return _pcbnew.BOARD_DESIGN_SETTINGS_Ignore(self, aDRCErrorCode)
8927 r"""GetNetClasses(BOARD_DESIGN_SETTINGS self) -> NETCLASSES"""
8928 return _pcbnew.BOARD_DESIGN_SETTINGS_GetNetClasses(self)
8931 r"""SetNetClasses(BOARD_DESIGN_SETTINGS self, NETCLASSES aNetClasses)"""
8932 return _pcbnew.BOARD_DESIGN_SETTINGS_SetNetClasses(self, aNetClasses)
8935 r"""GetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self) -> ZONE_SETTINGS"""
8936 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDefaultZoneSettings(self)
8939 r"""SetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self, ZONE_SETTINGS aSettings)"""
8940 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDefaultZoneSettings(self, aSettings)
8943 r"""GetDefault(BOARD_DESIGN_SETTINGS self) -> NETCLASS *"""
8944 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDefault(self)
8947 r"""GetCurrentNetClassName(BOARD_DESIGN_SETTINGS self) -> wxString"""
8948 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentNetClassName(self)
8951 r"""UseNetClassTrack(BOARD_DESIGN_SETTINGS self) -> bool"""
8952 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassTrack(self)
8955 r"""UseNetClassVia(BOARD_DESIGN_SETTINGS self) -> bool"""
8956 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassVia(self)
8959 r"""UseNetClassDiffPair(BOARD_DESIGN_SETTINGS self) -> bool"""
8960 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassDiffPair(self)
8963 r"""GetBiggestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
8964 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBiggestClearanceValue(self)
8967 r"""GetSmallestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
8968 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSmallestClearanceValue(self)
8971 r"""GetCurrentMicroViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
8972 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentMicroViaSize(self)
8975 r"""GetCurrentMicroViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
8976 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentMicroViaDrill(self)
8979 r"""GetTrackWidthIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
8980 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTrackWidthIndex(self)
8983 r"""SetTrackWidthIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
8984 return _pcbnew.BOARD_DESIGN_SETTINGS_SetTrackWidthIndex(self, aIndex)
8987 r"""GetCurrentTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
8988 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentTrackWidth(self)
8991 r"""SetCustomTrackWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
8992 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomTrackWidth(self, aWidth)
8995 r"""GetCustomTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
8996 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomTrackWidth(self)
8999 r"""GetViaSizeIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
9000 return _pcbnew.BOARD_DESIGN_SETTINGS_GetViaSizeIndex(self)
9003 r"""SetViaSizeIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
9004 return _pcbnew.BOARD_DESIGN_SETTINGS_SetViaSizeIndex(self, aIndex)
9007 r"""GetCurrentViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
9008 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaSize(self)
9011 r"""SetCustomViaSize(BOARD_DESIGN_SETTINGS self, int aSize)"""
9012 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaSize(self, aSize)
9015 r"""GetCustomViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
9016 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaSize(self)
9019 r"""GetCurrentViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
9020 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaDrill(self)
9023 r"""SetCustomViaDrill(BOARD_DESIGN_SETTINGS self, int aDrill)"""
9024 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaDrill(self, aDrill)
9027 r"""GetCustomViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
9028 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaDrill(self)
9035 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomTrackViaSize(self, *args)
9038 r"""GetDiffPairIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
9039 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDiffPairIndex(self)
9042 r"""SetDiffPairIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
9043 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDiffPairIndex(self, aIndex)
9046 r"""SetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
9047 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairWidth(self, aWidth)
9050 r"""GetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
9051 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairWidth(self)
9054 r"""SetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
9055 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairGap(self, aGap)
9058 r"""GetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
9059 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairGap(self)
9062 r"""SetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
9063 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairViaGap(self, aGap)
9066 r"""GetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
9067 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairViaGap(self)
9074 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomDiffPairDimensions(self, *args)
9077 r"""GetCurrentDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
9078 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairWidth(self)
9081 r"""GetCurrentDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
9082 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairGap(self)
9085 r"""GetCurrentDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
9086 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairViaGap(self)
9089 r"""SetMinHoleSeparation(BOARD_DESIGN_SETTINGS self, int aDistance)"""
9090 return _pcbnew.BOARD_DESIGN_SETTINGS_SetMinHoleSeparation(self, aDistance)
9093 r"""SetCopperEdgeClearance(BOARD_DESIGN_SETTINGS self, int aDistance)"""
9094 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCopperEdgeClearance(self, aDistance)
9097 r"""SetSilkClearance(BOARD_DESIGN_SETTINGS self, int aDistance)"""
9098 return _pcbnew.BOARD_DESIGN_SETTINGS_SetSilkClearance(self, aDistance)
9101 r"""GetEnabledLayers(BOARD_DESIGN_SETTINGS self) -> LSET"""
9102 return _pcbnew.BOARD_DESIGN_SETTINGS_GetEnabledLayers(self)
9105 r"""SetEnabledLayers(BOARD_DESIGN_SETTINGS self, LSET aMask)"""
9106 return _pcbnew.BOARD_DESIGN_SETTINGS_SetEnabledLayers(self, aMask)
9109 r"""IsLayerEnabled(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayerId) -> bool"""
9110 return _pcbnew.BOARD_DESIGN_SETTINGS_IsLayerEnabled(self, aLayerId)
9113 r"""GetCopperLayerCount(BOARD_DESIGN_SETTINGS self) -> int"""
9114 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCopperLayerCount(self)
9117 r"""SetCopperLayerCount(BOARD_DESIGN_SETTINGS self, int aNewLayerCount)"""
9118 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCopperLayerCount(self, aNewLayerCount)
9121 r"""GetBoardThickness(BOARD_DESIGN_SETTINGS self) -> int"""
9122 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBoardThickness(self)
9125 r"""SetBoardThickness(BOARD_DESIGN_SETTINGS self, int aThickness)"""
9126 return _pcbnew.BOARD_DESIGN_SETTINGS_SetBoardThickness(self, aThickness)
9129 r"""GetDRCEpsilon(BOARD_DESIGN_SETTINGS self) -> int"""
9130 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDRCEpsilon(self)
9133 r"""GetHolePlatingThickness(BOARD_DESIGN_SETTINGS self) -> int"""
9134 return _pcbnew.BOARD_DESIGN_SETTINGS_GetHolePlatingThickness(self)
9137 r"""GetLineThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
9138 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLineThickness(self, aLayer)
9141 r"""GetTextSize(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> wxSize"""
9142 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextSize(self, aLayer)
9145 r"""GetTextThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
9146 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextThickness(self, aLayer)
9149 r"""GetTextItalic(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
9150 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextItalic(self, aLayer)
9153 r"""GetTextUpright(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
9154 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextUpright(self, aLayer)
9157 r"""GetLayerClass(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
9158 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLayerClass(self, aLayer)
9161 r"""SetAuxOrigin(BOARD_DESIGN_SETTINGS self, wxPoint aOrigin)"""
9162 return _pcbnew.BOARD_DESIGN_SETTINGS_SetAuxOrigin(self, aOrigin)
9165 r"""GetAuxOrigin(BOARD_DESIGN_SETTINGS self) -> wxPoint"""
9166 return _pcbnew.BOARD_DESIGN_SETTINGS_GetAuxOrigin(self)
9169 r"""SetGridOrigin(BOARD_DESIGN_SETTINGS self, wxPoint aOrigin)"""
9170 return _pcbnew.BOARD_DESIGN_SETTINGS_SetGridOrigin(self, aOrigin)
9173 r"""GetGridOrigin(BOARD_DESIGN_SETTINGS self) -> wxPoint"""
9174 return _pcbnew.BOARD_DESIGN_SETTINGS_GetGridOrigin(self)
9175 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)>)>""")
9176 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)>)>""")
9177 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)>)>""")
9178 m_MicroViasAllowed = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasAllowed_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasAllowed_set, doc=
r"""m_MicroViasAllowed : bool""")
9179 m_BlindBuriedViaAllowed = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_BlindBuriedViaAllowed_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_BlindBuriedViaAllowed_set, doc=
r"""m_BlindBuriedViaAllowed : bool""")
9180 m_CurrentViaType = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CurrentViaType_set, doc=
r"""m_CurrentViaType : VIATYPE""")
9181 m_UseConnectedTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseConnectedTrackWidth_set, doc=
r"""m_UseConnectedTrackWidth : bool""")
9182 m_TempOverrideTrackWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TempOverrideTrackWidth_set, doc=
r"""m_TempOverrideTrackWidth : bool""")
9183 m_MinClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinClearance_set, doc=
r"""m_MinClearance : int""")
9184 m_TrackMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_TrackMinWidth_set, doc=
r"""m_TrackMinWidth : int""")
9185 m_ViasMinAnnularWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinAnnularWidth_set, doc=
r"""m_ViasMinAnnularWidth : int""")
9186 m_ViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ViasMinSize_set, doc=
r"""m_ViasMinSize : int""")
9187 m_MinThroughDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MinThroughDrill_set, doc=
r"""m_MinThroughDrill : int""")
9188 m_MicroViasMinSize = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinSize_set, doc=
r"""m_MicroViasMinSize : int""")
9189 m_MicroViasMinDrill = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MicroViasMinDrill_set, doc=
r"""m_MicroViasMinDrill : int""")
9190 m_CopperEdgeClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_CopperEdgeClearance_set, doc=
r"""m_CopperEdgeClearance : int""")
9191 m_HoleClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleClearance_set, doc=
r"""m_HoleClearance : int""")
9192 m_HoleToHoleMin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HoleToHoleMin_set, doc=
r"""m_HoleToHoleMin : int""")
9193 m_SilkClearance = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SilkClearance_set, doc=
r"""m_SilkClearance : int""")
9194 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)>)>)>""")
9195 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)>)>""")
9196 m_ZoneFillVersion = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneFillVersion_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneFillVersion_set, doc=
r"""m_ZoneFillVersion : int""")
9197 m_ZoneKeepExternalFillets = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_ZoneKeepExternalFillets_set, doc=
r"""m_ZoneKeepExternalFillets : bool""")
9198 m_MaxError = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_MaxError_set, doc=
r"""m_MaxError : int""")
9199 m_SolderMaskMargin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMargin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMargin_set, doc=
r"""m_SolderMaskMargin : int""")
9200 m_SolderMaskMinWidth = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderMaskMinWidth_set, doc=
r"""m_SolderMaskMinWidth : int""")
9201 m_SolderPasteMargin = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMargin_set, doc=
r"""m_SolderPasteMargin : int""")
9202 m_SolderPasteMarginRatio = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_SolderPasteMarginRatio_set, doc=
r"""m_SolderPasteMarginRatio : double""")
9203 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)>)>""")
9204 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""")
9205 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""")
9206 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""")
9207 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""")
9208 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""")
9209 m_DimensionUnitsMode = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsMode_set, doc=
r"""m_DimensionUnitsMode : DIM_UNITS_MODE""")
9210 m_DimensionPrecision = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionPrecision_set, doc=
r"""m_DimensionPrecision : int""")
9211 m_DimensionUnitsFormat = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionUnitsFormat_set, doc=
r"""m_DimensionUnitsFormat : DIM_UNITS_FORMAT""")
9212 m_DimensionSuppressZeroes = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionSuppressZeroes_set, doc=
r"""m_DimensionSuppressZeroes : bool""")
9213 m_DimensionTextPosition = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionTextPosition_set, doc=
r"""m_DimensionTextPosition : DIM_TEXT_POSITION""")
9214 m_DimensionKeepTextAligned = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionKeepTextAligned_set, doc=
r"""m_DimensionKeepTextAligned : bool""")
9215 m_DimensionArrowLength = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionArrowLength_set, doc=
r"""m_DimensionArrowLength : int""")
9216 m_DimensionExtensionOffset = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_DimensionExtensionOffset_set, doc=
r"""m_DimensionExtensionOffset : int""")
9217 m_HasStackup = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_HasStackup_set, doc=
r"""m_HasStackup : bool""")
9218 m_UseHeightForLengthCalcs = property(_pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_get, _pcbnew.BOARD_DESIGN_SETTINGS_m_UseHeightForLengthCalcs_set, doc=
r"""m_UseHeightForLengthCalcs : bool""")
9220 def CloneFrom(self, aOther:
"BOARD_DESIGN_SETTINGS") ->
"void":
9221 r"""CloneFrom(BOARD_DESIGN_SETTINGS self, BOARD_DESIGN_SETTINGS aOther)"""
9222 return _pcbnew.BOARD_DESIGN_SETTINGS_CloneFrom(self, aOther)
9225_pcbnew.BOARD_DESIGN_SETTINGS_swigregister(BOARD_DESIGN_SETTINGS)
9228 r"""Proxy of C++ CN_DISJOINT_NET_ENTRY class."""
9230 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9231 __repr__ = _swig_repr
9232 net = property(_pcbnew.CN_DISJOINT_NET_ENTRY_net_get, _pcbnew.CN_DISJOINT_NET_ENTRY_net_set, doc=
r"""net : int""")
9233 a = property(_pcbnew.CN_DISJOINT_NET_ENTRY_a_get, _pcbnew.CN_DISJOINT_NET_ENTRY_a_set, doc=
r"""a : p.BOARD_CONNECTED_ITEM""")
9234 b = property(_pcbnew.CN_DISJOINT_NET_ENTRY_b_get, _pcbnew.CN_DISJOINT_NET_ENTRY_b_set, doc=
r"""b : p.BOARD_CONNECTED_ITEM""")
9235 anchorA = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorA_set, doc=
r"""anchorA : VECTOR2I""")
9236 anchorB = property(_pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_get, _pcbnew.CN_DISJOINT_NET_ENTRY_anchorB_set, doc=
r"""anchorB : VECTOR2I""")
9239 r"""__init__(CN_DISJOINT_NET_ENTRY self) -> CN_DISJOINT_NET_ENTRY"""
9240 _pcbnew.CN_DISJOINT_NET_ENTRY_swiginit(self, _pcbnew.new_CN_DISJOINT_NET_ENTRY())
9241 __swig_destroy__ = _pcbnew.delete_CN_DISJOINT_NET_ENTRY
9244_pcbnew.CN_DISJOINT_NET_ENTRY_swigregister(CN_DISJOINT_NET_ENTRY)
9247 r"""Proxy of C++ CN_ZONE_ISOLATED_ISLAND_LIST class."""
9249 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9250 __repr__ = _swig_repr
9253 r"""__init__(CN_ZONE_ISOLATED_ISLAND_LIST self, ZONE aZone) -> CN_ZONE_ISOLATED_ISLAND_LIST"""
9254 _pcbnew.CN_ZONE_ISOLATED_ISLAND_LIST_swiginit(self, _pcbnew.new_CN_ZONE_ISOLATED_ISLAND_LIST(aZone))
9255 m_zone = property(_pcbnew.CN_ZONE_ISOLATED_ISLAND_LIST_m_zone_get, _pcbnew.CN_ZONE_ISOLATED_ISLAND_LIST_m_zone_set, doc=
r"""m_zone : p.ZONE""")
9256 m_islands = property(_pcbnew.CN_ZONE_ISOLATED_ISLAND_LIST_m_islands_get, _pcbnew.CN_ZONE_ISOLATED_ISLAND_LIST_m_islands_set, doc=
r"""m_islands : std::map<(PCB_LAYER_ID,std::vector<(int,std::allocator<(int)>)>,std::less<(PCB_LAYER_ID)>,std::allocator<(std::pair<(q(const).PCB_LAYER_ID,std::vector<(int,std::allocator<(int)>)>)>)>)>""")
9257 __swig_destroy__ = _pcbnew.delete_CN_ZONE_ISOLATED_ISLAND_LIST
9260_pcbnew.CN_ZONE_ISOLATED_ISLAND_LIST_swigregister(CN_ZONE_ISOLATED_ISLAND_LIST)
9263 r"""Proxy of C++ RN_DYNAMIC_LINE class."""
9265 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9266 __repr__ = _swig_repr
9267 netCode = property(_pcbnew.RN_DYNAMIC_LINE_netCode_get, _pcbnew.RN_DYNAMIC_LINE_netCode_set, doc=
r"""netCode : int""")
9268 a = property(_pcbnew.RN_DYNAMIC_LINE_a_get, _pcbnew.RN_DYNAMIC_LINE_a_set, doc=
r"""a : VECTOR2I""")
9269 b = property(_pcbnew.RN_DYNAMIC_LINE_b_get, _pcbnew.RN_DYNAMIC_LINE_b_set, doc=
r"""b : VECTOR2I""")
9272 r"""__init__(RN_DYNAMIC_LINE self) -> RN_DYNAMIC_LINE"""
9273 _pcbnew.RN_DYNAMIC_LINE_swiginit(self, _pcbnew.new_RN_DYNAMIC_LINE())
9274 __swig_destroy__ = _pcbnew.delete_RN_DYNAMIC_LINE
9277_pcbnew.RN_DYNAMIC_LINE_swigregister(RN_DYNAMIC_LINE)
9279PROPAGATE_MODE_SKIP_CONFLICTS = _pcbnew.PROPAGATE_MODE_SKIP_CONFLICTS
9281PROPAGATE_MODE_RESOLVE_CONFLICTS = _pcbnew.PROPAGATE_MODE_RESOLVE_CONFLICTS
9284 r"""Proxy of C++ CONNECTIVITY_DATA class."""
9286 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9287 __repr__ = _swig_repr
9288 __swig_destroy__ = _pcbnew.delete_CONNECTIVITY_DATA
9292 __init__(CONNECTIVITY_DATA self) -> CONNECTIVITY_DATA
9293 __init__(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems, bool aSkipItems=False) -> CONNECTIVITY_DATA
9295 _pcbnew.CONNECTIVITY_DATA_swiginit(self, _pcbnew.new_CONNECTIVITY_DATA(*args))
9299 Build(CONNECTIVITY_DATA self, BOARD aBoard, PROGRESS_REPORTER * aReporter=None)
9300 Build(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)
9302 return _pcbnew.CONNECTIVITY_DATA_Build(self, *args)
9304 def Add(self, aItem:
"BOARD_ITEM") ->
"bool":
9305 r"""Add(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
9306 return _pcbnew.CONNECTIVITY_DATA_Add(self, aItem)
9308 def Remove(self, aItem:
"BOARD_ITEM") ->
"bool":
9309 r"""Remove(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
9310 return _pcbnew.CONNECTIVITY_DATA_Remove(self, aItem)
9312 def Update(self, aItem:
"BOARD_ITEM") ->
"bool":
9313 r"""Update(CONNECTIVITY_DATA self, BOARD_ITEM aItem) -> bool"""
9314 return _pcbnew.CONNECTIVITY_DATA_Update(self, aItem)
9316 def Move(self, aDelta:
"VECTOR2I") ->
"void":
9317 r"""Move(CONNECTIVITY_DATA self, VECTOR2I aDelta)"""
9318 return _pcbnew.CONNECTIVITY_DATA_Move(self, aDelta)
9321 r"""Clear(CONNECTIVITY_DATA self)"""
9322 return _pcbnew.CONNECTIVITY_DATA_Clear(self)
9325 r"""GetNetCount(CONNECTIVITY_DATA self) -> int"""
9326 return _pcbnew.CONNECTIVITY_DATA_GetNetCount(self)
9329 r"""GetRatsnestForNet(CONNECTIVITY_DATA self, int aNet) -> RN_NET *"""
9330 return _pcbnew.CONNECTIVITY_DATA_GetRatsnestForNet(self, aNet)
9333 r"""PropagateNets(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None, PROPAGATE_MODE aMode=SKIP_CONFLICTS)"""
9334 return _pcbnew.CONNECTIVITY_DATA_PropagateNets(self, *args)
9336 def CheckConnectivity(self, aReport:
"std::vector< CN_DISJOINT_NET_ENTRY,std::allocator< CN_DISJOINT_NET_ENTRY > > &") ->
"bool":
9337 r"""CheckConnectivity(CONNECTIVITY_DATA self, std::vector< CN_DISJOINT_NET_ENTRY,std::allocator< CN_DISJOINT_NET_ENTRY > > & aReport) -> bool"""
9338 return _pcbnew.CONNECTIVITY_DATA_CheckConnectivity(self, aReport)
9343 FindIsolatedCopperIslands(CONNECTIVITY_DATA self, std::vector< CN_ZONE_ISOLATED_ISLAND_LIST,std::allocator< CN_ZONE_ISOLATED_ISLAND_LIST > > & aZones)
9345 return _pcbnew.CONNECTIVITY_DATA_FindIsolatedCopperIslands(self, *args)
9348 r"""RecalculateRatsnest(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
9349 return _pcbnew.CONNECTIVITY_DATA_RecalculateRatsnest(self, aCommit)
9352 r"""GetUnconnectedCount(CONNECTIVITY_DATA self) -> unsigned int"""
9353 return _pcbnew.CONNECTIVITY_DATA_GetUnconnectedCount(self)
9356 r"""IsConnectedOnLayer(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, int aLayer, std::vector< KICAD_T,std::allocator< KICAD_T > > aTypes={}, bool aCheckOptionalFlashing=False) -> bool"""
9357 return _pcbnew.CONNECTIVITY_DATA_IsConnectedOnLayer(self, *args)
9360 r"""GetNodeCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
9361 return _pcbnew.CONNECTIVITY_DATA_GetNodeCount(self, aNet)
9364 r"""GetPadCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
9365 return _pcbnew.CONNECTIVITY_DATA_GetPadCount(self, aNet)
9367 def GetConnectedTracks(self, aItem:
"BOARD_CONNECTED_ITEM") ->
"std::vector< PCB_TRACK *,std::allocator< PCB_TRACK * > > const":
9368 r"""GetConnectedTracks(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> TRACKS_VEC"""
9369 return _pcbnew.CONNECTIVITY_DATA_GetConnectedTracks(self, aItem)
9373 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem) -> PADS_VEC
9374 GetConnectedPads(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, std::set< PAD *,std::less< PAD * >,std::allocator< PAD * > > * pads)
9376 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPads(self, *args)
9378 def GetConnectedItemsAtAnchor(self, aItem:
"BOARD_CONNECTED_ITEM", aAnchor:
"VECTOR2I", aTypes:
"KICAD_T const []", aMaxError:
"int const &"=0) ->
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const":
9379 r"""GetConnectedItemsAtAnchor(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, VECTOR2I aAnchor, KICAD_T const [] aTypes, int const & aMaxError=0) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
9380 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItemsAtAnchor(self, aItem, aAnchor, aTypes, aMaxError)
9383 r"""GetUnconnectedEdges(CONNECTIVITY_DATA self, std::vector< CN_EDGE,std::allocator< CN_EDGE > > & aEdges)"""
9384 return _pcbnew.CONNECTIVITY_DATA_GetUnconnectedEdges(self, aEdges)
9387 r"""TestTrackEndpointDangling(CONNECTIVITY_DATA self, PCB_TRACK aTrack, wxPoint aPos=None) -> bool"""
9388 return _pcbnew.CONNECTIVITY_DATA_TestTrackEndpointDangling(self, aTrack, aPos)
9391 r"""ClearDynamicRatsnest(CONNECTIVITY_DATA self)"""
9392 return _pcbnew.CONNECTIVITY_DATA_ClearDynamicRatsnest(self)
9395 r"""HideDynamicRatsnest(CONNECTIVITY_DATA self)"""
9396 return _pcbnew.CONNECTIVITY_DATA_HideDynamicRatsnest(self)
9399 r"""ComputeDynamicRatsnest(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems, CONNECTIVITY_DATA aDynamicData, VECTOR2I aInternalOffset={ 0, 0 })"""
9400 return _pcbnew.CONNECTIVITY_DATA_ComputeDynamicRatsnest(self, *args)
9402 def GetDynamicRatsnest(self) -> "std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &
":
9403 r"""GetDynamicRatsnest(CONNECTIVITY_DATA self) -> std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &"""
9404 return _pcbnew.CONNECTIVITY_DATA_GetDynamicRatsnest(self)
9406 def GetConnectedItems(self, aItem:
"BOARD_CONNECTED_ITEM", aTypes:
"KICAD_T const []", aIgnoreNetcodes:
"bool"=
False) ->
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const":
9407 r"""GetConnectedItems(CONNECTIVITY_DATA self, BOARD_CONNECTED_ITEM aItem, KICAD_T const [] aTypes, bool aIgnoreNetcodes=False) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
9408 return _pcbnew.CONNECTIVITY_DATA_GetConnectedItems(self, aItem, aTypes, aIgnoreNetcodes)
9410 def GetNetItems(self, aNetCode:
"int", aTypes:
"KICAD_T const []") ->
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const":
9411 r"""GetNetItems(CONNECTIVITY_DATA self, int aNetCode, KICAD_T const [] aTypes) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
9412 return _pcbnew.CONNECTIVITY_DATA_GetNetItems(self, aNetCode, aTypes)
9414 def BlockRatsnestItems(self, aItems:
"std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const &") ->
"void":
9415 r"""BlockRatsnestItems(CONNECTIVITY_DATA self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const & aItems)"""
9416 return _pcbnew.CONNECTIVITY_DATA_BlockRatsnestItems(self, aItems)
9419 r"""GetConnectivityAlgo(CONNECTIVITY_DATA self) -> std::shared_ptr< CN_CONNECTIVITY_ALGO >"""
9420 return _pcbnew.CONNECTIVITY_DATA_GetConnectivityAlgo(self)
9423 r"""GetLock(CONNECTIVITY_DATA self) -> KISPINLOCK &"""
9424 return _pcbnew.CONNECTIVITY_DATA_GetLock(self)
9427 r"""MarkItemNetAsDirty(CONNECTIVITY_DATA self, BOARD_ITEM aItem)"""
9428 return _pcbnew.CONNECTIVITY_DATA_MarkItemNetAsDirty(self, aItem)
9431 r"""SetProgressReporter(CONNECTIVITY_DATA self, PROGRESS_REPORTER * aReporter)"""
9432 return _pcbnew.CONNECTIVITY_DATA_SetProgressReporter(self, aReporter)
9434 def GetNetclassMap(self) -> "std::map< int,wxString,std::less< int >,std::allocator< std::pair< int const,wxString > > > const &
":
9435 r"""GetNetclassMap(CONNECTIVITY_DATA self) -> std::map< int,wxString,std::less< int >,std::allocator< std::pair< int const,wxString > > > const &"""
9436 return _pcbnew.CONNECTIVITY_DATA_GetNetclassMap(self)
9439 r"""GetFromToCache(CONNECTIVITY_DATA self) -> std::shared_ptr< FROM_TO_CACHE >"""
9440 return _pcbnew.CONNECTIVITY_DATA_GetFromToCache(self)
9443_pcbnew.CONNECTIVITY_DATA_swigregister(CONNECTIVITY_DATA)
9446 r"""Proxy of C++ std::vector< PCB_MARKER * > class."""
9448 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9449 __repr__ = _swig_repr
9452 r"""iterator(MARKERS self) -> SwigPyIterator"""
9453 return _pcbnew.MARKERS_iterator(self)
9458 r"""__nonzero__(MARKERS self) -> bool"""
9459 return _pcbnew.MARKERS___nonzero__(self)
9462 r"""__bool__(MARKERS self) -> bool"""
9463 return _pcbnew.MARKERS___bool__(self)
9465 def __len__(self) -> "std::vector< PCB_MARKER * >::size_type
":
9466 r"""__len__(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
9467 return _pcbnew.MARKERS___len__(self)
9469 def __getslice__(self, i:
"std::vector< PCB_MARKER * >::difference_type", j:
"std::vector< PCB_MARKER * >::difference_type") ->
"std::vector< PCB_MARKER *,std::allocator< PCB_MARKER * > > *":
9470 r"""__getslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j) -> MARKERS"""
9471 return _pcbnew.MARKERS___getslice__(self, i, j)
9475 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)
9476 __setslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j, MARKERS v)
9478 return _pcbnew.MARKERS___setslice__(self, *args)
9480 def __delslice__(self, i:
"std::vector< PCB_MARKER * >::difference_type", j:
"std::vector< PCB_MARKER * >::difference_type") ->
"void":
9481 r"""__delslice__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, std::vector< PCB_MARKER * >::difference_type j)"""
9482 return _pcbnew.MARKERS___delslice__(self, i, j)
9486 __delitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i)
9489 return _pcbnew.MARKERS___delitem__(self, *args)
9491 def __getitem__(self, *args) -> "std::vector< PCB_MARKER * >::value_type
":
9493 __getitem__(MARKERS self, PySliceObject * slice) -> MARKERS
9494 __getitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i) -> PCB_MARKER
9496 return _pcbnew.MARKERS___getitem__(self, *args)
9500 __setitem__(MARKERS self, PySliceObject * slice, MARKERS v)
9502 __setitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, PCB_MARKER x)
9504 return _pcbnew.MARKERS___setitem__(self, *args)
9506 def pop(self) -> "std::vector< PCB_MARKER * >::value_type
":
9507 r"""pop(MARKERS self) -> PCB_MARKER"""
9508 return _pcbnew.MARKERS_pop(self)
9511 r"""append(MARKERS self, PCB_MARKER x)"""
9512 return _pcbnew.MARKERS_append(self, x)
9515 r"""empty(MARKERS self) -> bool"""
9516 return _pcbnew.MARKERS_empty(self)
9518 def size(self) -> "std::vector< PCB_MARKER * >::size_type
":
9519 r"""size(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
9520 return _pcbnew.MARKERS_size(self)
9522 def swap(self, v:
"MARKERS") ->
"void":
9523 r"""swap(MARKERS self, MARKERS v)"""
9524 return _pcbnew.MARKERS_swap(self, v)
9526 def begin(self) -> "std::vector< PCB_MARKER * >::iterator
":
9527 r"""begin(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
9528 return _pcbnew.MARKERS_begin(self)
9530 def end(self) -> "std::vector< PCB_MARKER * >::iterator
":
9531 r"""end(MARKERS self) -> std::vector< PCB_MARKER * >::iterator"""
9532 return _pcbnew.MARKERS_end(self)
9534 def rbegin(self) -> "std::vector< PCB_MARKER * >::reverse_iterator
":
9535 r"""rbegin(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
9536 return _pcbnew.MARKERS_rbegin(self)
9538 def rend(self) -> "std::vector< PCB_MARKER * >::reverse_iterator
":
9539 r"""rend(MARKERS self) -> std::vector< PCB_MARKER * >::reverse_iterator"""
9540 return _pcbnew.MARKERS_rend(self)
9543 r"""clear(MARKERS self)"""
9544 return _pcbnew.MARKERS_clear(self)
9547 r"""get_allocator(MARKERS self) -> std::vector< PCB_MARKER * >::allocator_type"""
9548 return _pcbnew.MARKERS_get_allocator(self)
9551 r"""pop_back(MARKERS self)"""
9552 return _pcbnew.MARKERS_pop_back(self)
9554 def erase(self, *args) -> "std::vector< PCB_MARKER * >::iterator
":
9556 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator pos) -> std::vector< PCB_MARKER * >::iterator
9557 erase(MARKERS self, std::vector< PCB_MARKER * >::iterator first, std::vector< PCB_MARKER * >::iterator last) -> std::vector< PCB_MARKER * >::iterator
9559 return _pcbnew.MARKERS_erase(self, *args)
9564 __init__(MARKERS self, MARKERS other) -> MARKERS
9565 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size) -> MARKERS
9566 __init__(MARKERS self, std::vector< PCB_MARKER * >::size_type size, PCB_MARKER value) -> MARKERS
9568 _pcbnew.MARKERS_swiginit(self, _pcbnew.new_MARKERS(*args))
9571 r"""push_back(MARKERS self, PCB_MARKER x)"""
9572 return _pcbnew.MARKERS_push_back(self, x)
9574 def front(self) -> "std::vector< PCB_MARKER * >::value_type
":
9575 r"""front(MARKERS self) -> PCB_MARKER"""
9576 return _pcbnew.MARKERS_front(self)
9578 def back(self) -> "std::vector< PCB_MARKER * >::value_type
":
9579 r"""back(MARKERS self) -> PCB_MARKER"""
9580 return _pcbnew.MARKERS_back(self)
9582 def assign(self, n:
"std::vector< PCB_MARKER * >::size_type", x:
"PCB_MARKER") ->
"void":
9583 r"""assign(MARKERS self, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)"""
9584 return _pcbnew.MARKERS_assign(self, n, x)
9588 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size)
9589 resize(MARKERS self, std::vector< PCB_MARKER * >::size_type new_size, PCB_MARKER x)
9591 return _pcbnew.MARKERS_resize(self, *args)
9595 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, PCB_MARKER x) -> std::vector< PCB_MARKER * >::iterator
9596 insert(MARKERS self, std::vector< PCB_MARKER * >::iterator pos, std::vector< PCB_MARKER * >::size_type n, PCB_MARKER x)
9598 return _pcbnew.MARKERS_insert(self, *args)
9600 def reserve(self, n:
"std::vector< PCB_MARKER * >::size_type") ->
"void":
9601 r"""reserve(MARKERS self, std::vector< PCB_MARKER * >::size_type n)"""
9602 return _pcbnew.MARKERS_reserve(self, n)
9604 def capacity(self) -> "std::vector< PCB_MARKER * >::size_type
":
9605 r"""capacity(MARKERS self) -> std::vector< PCB_MARKER * >::size_type"""
9606 return _pcbnew.MARKERS_capacity(self)
9607 __swig_destroy__ = _pcbnew.delete_MARKERS
9610_pcbnew.MARKERS_swigregister(MARKERS)
9613 r"""Proxy of C++ std::vector< ZONE * > class."""
9615 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9616 __repr__ = _swig_repr
9619 r"""iterator(ZONES self) -> SwigPyIterator"""
9620 return _pcbnew.ZONES_iterator(self)
9625 r"""__nonzero__(ZONES self) -> bool"""
9626 return _pcbnew.ZONES___nonzero__(self)
9629 r"""__bool__(ZONES self) -> bool"""
9630 return _pcbnew.ZONES___bool__(self)
9632 def __len__(self) -> "std::vector< ZONE * >::size_type
":
9633 r"""__len__(ZONES self) -> std::vector< ZONE * >::size_type"""
9634 return _pcbnew.ZONES___len__(self)
9636 def __getslice__(self, i:
"std::vector< ZONE * >::difference_type", j:
"std::vector< ZONE * >::difference_type") ->
"std::vector< ZONE *,std::allocator< ZONE * > > *":
9637 r"""__getslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j) -> ZONES"""
9638 return _pcbnew.ZONES___getslice__(self, i, j)
9642 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)
9643 __setslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j, ZONES v)
9645 return _pcbnew.ZONES___setslice__(self, *args)
9647 def __delslice__(self, i:
"std::vector< ZONE * >::difference_type", j:
"std::vector< ZONE * >::difference_type") ->
"void":
9648 r"""__delslice__(ZONES self, std::vector< ZONE * >::difference_type i, std::vector< ZONE * >::difference_type j)"""
9649 return _pcbnew.ZONES___delslice__(self, i, j)
9653 __delitem__(ZONES self, std::vector< ZONE * >::difference_type i)
9656 return _pcbnew.ZONES___delitem__(self, *args)
9660 __getitem__(ZONES self, PySliceObject * slice) -> ZONES
9661 __getitem__(ZONES self, std::vector< ZONE * >::difference_type i) -> ZONE
9663 return _pcbnew.ZONES___getitem__(self, *args)
9667 __setitem__(ZONES self, PySliceObject * slice, ZONES v)
9669 __setitem__(ZONES self, std::vector< ZONE * >::difference_type i, ZONE x)
9671 return _pcbnew.ZONES___setitem__(self, *args)
9673 def pop(self) -> "std::vector< ZONE * >::value_type
":
9674 r"""pop(ZONES self) -> ZONE"""
9675 return _pcbnew.ZONES_pop(self)
9678 r"""append(ZONES self, ZONE x)"""
9679 return _pcbnew.ZONES_append(self, x)
9682 r"""empty(ZONES self) -> bool"""
9683 return _pcbnew.ZONES_empty(self)
9685 def size(self) -> "std::vector< ZONE * >::size_type
":
9686 r"""size(ZONES self) -> std::vector< ZONE * >::size_type"""
9687 return _pcbnew.ZONES_size(self)
9689 def swap(self, v:
"ZONES") ->
"void":
9690 r"""swap(ZONES self, ZONES v)"""
9691 return _pcbnew.ZONES_swap(self, v)
9693 def begin(self) -> "std::vector< ZONE * >::iterator
":
9694 r"""begin(ZONES self) -> std::vector< ZONE * >::iterator"""
9695 return _pcbnew.ZONES_begin(self)
9697 def end(self) -> "std::vector< ZONE * >::iterator
":
9698 r"""end(ZONES self) -> std::vector< ZONE * >::iterator"""
9699 return _pcbnew.ZONES_end(self)
9701 def rbegin(self) -> "std::vector< ZONE * >::reverse_iterator
":
9702 r"""rbegin(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
9703 return _pcbnew.ZONES_rbegin(self)
9705 def rend(self) -> "std::vector< ZONE * >::reverse_iterator
":
9706 r"""rend(ZONES self) -> std::vector< ZONE * >::reverse_iterator"""
9707 return _pcbnew.ZONES_rend(self)
9710 r"""clear(ZONES self)"""
9711 return _pcbnew.ZONES_clear(self)
9714 r"""get_allocator(ZONES self) -> std::vector< ZONE * >::allocator_type"""
9715 return _pcbnew.ZONES_get_allocator(self)
9718 r"""pop_back(ZONES self)"""
9719 return _pcbnew.ZONES_pop_back(self)
9721 def erase(self, *args) -> "std::vector< ZONE * >::iterator
":
9723 erase(ZONES self, std::vector< ZONE * >::iterator pos) -> std::vector< ZONE * >::iterator
9724 erase(ZONES self, std::vector< ZONE * >::iterator first, std::vector< ZONE * >::iterator last) -> std::vector< ZONE * >::iterator
9726 return _pcbnew.ZONES_erase(self, *args)
9731 __init__(ZONES self, ZONES other) -> ZONES
9732 __init__(ZONES self, std::vector< ZONE * >::size_type size) -> ZONES
9733 __init__(ZONES self, std::vector< ZONE * >::size_type size, ZONE value) -> ZONES
9735 _pcbnew.ZONES_swiginit(self, _pcbnew.new_ZONES(*args))
9738 r"""push_back(ZONES self, ZONE x)"""
9739 return _pcbnew.ZONES_push_back(self, x)
9741 def front(self) -> "std::vector< ZONE * >::value_type
":
9742 r"""front(ZONES self) -> ZONE"""
9743 return _pcbnew.ZONES_front(self)
9745 def back(self) -> "std::vector< ZONE * >::value_type
":
9746 r"""back(ZONES self) -> ZONE"""
9747 return _pcbnew.ZONES_back(self)
9749 def assign(self, n:
"std::vector< ZONE * >::size_type", x:
"ZONE") ->
"void":
9750 r"""assign(ZONES self, std::vector< ZONE * >::size_type n, ZONE x)"""
9751 return _pcbnew.ZONES_assign(self, n, x)
9755 resize(ZONES self, std::vector< ZONE * >::size_type new_size)
9756 resize(ZONES self, std::vector< ZONE * >::size_type new_size, ZONE x)
9758 return _pcbnew.ZONES_resize(self, *args)
9762 insert(ZONES self, std::vector< ZONE * >::iterator pos, ZONE x) -> std::vector< ZONE * >::iterator
9763 insert(ZONES self, std::vector< ZONE * >::iterator pos, std::vector< ZONE * >::size_type n, ZONE x)
9765 return _pcbnew.ZONES_insert(self, *args)
9767 def reserve(self, n:
"std::vector< ZONE * >::size_type") ->
"void":
9768 r"""reserve(ZONES self, std::vector< ZONE * >::size_type n)"""
9769 return _pcbnew.ZONES_reserve(self, n)
9771 def capacity(self) -> "std::vector< ZONE * >::size_type
":
9772 r"""capacity(ZONES self) -> std::vector< ZONE * >::size_type"""
9773 return _pcbnew.ZONES_capacity(self)
9774 __swig_destroy__ = _pcbnew.delete_ZONES
9777_pcbnew.ZONES_swigregister(ZONES)
9780 r"""Proxy of C++ std::deque< PCB_TRACK * > class."""
9782 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9783 __repr__ = _swig_repr
9786 r"""iterator(TRACKS self) -> SwigPyIterator"""
9787 return _pcbnew.TRACKS_iterator(self)
9792 r"""__nonzero__(TRACKS self) -> bool"""
9793 return _pcbnew.TRACKS___nonzero__(self)
9796 r"""__bool__(TRACKS self) -> bool"""
9797 return _pcbnew.TRACKS___bool__(self)
9799 def __len__(self) -> "std::deque< PCB_TRACK * >::size_type
":
9800 r"""__len__(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
9801 return _pcbnew.TRACKS___len__(self)
9803 def __getslice__(self, i:
"std::deque< PCB_TRACK * >::difference_type", j:
"std::deque< PCB_TRACK * >::difference_type") ->
"std::deque< PCB_TRACK *,std::allocator< PCB_TRACK * > > *":
9804 r"""__getslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j) -> TRACKS"""
9805 return _pcbnew.TRACKS___getslice__(self, i, j)
9809 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)
9810 __setslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j, TRACKS v)
9812 return _pcbnew.TRACKS___setslice__(self, *args)
9814 def __delslice__(self, i:
"std::deque< PCB_TRACK * >::difference_type", j:
"std::deque< PCB_TRACK * >::difference_type") ->
"void":
9815 r"""__delslice__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, std::deque< PCB_TRACK * >::difference_type j)"""
9816 return _pcbnew.TRACKS___delslice__(self, i, j)
9820 __delitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i)
9823 return _pcbnew.TRACKS___delitem__(self, *args)
9825 def __getitem__(self, *args) -> "std::deque< PCB_TRACK * >::value_type
":
9827 __getitem__(TRACKS self, PySliceObject * slice) -> TRACKS
9828 __getitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i) -> PCB_TRACK
9830 return _pcbnew.TRACKS___getitem__(self, *args)
9834 __setitem__(TRACKS self, PySliceObject * slice, TRACKS v)
9836 __setitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, PCB_TRACK x)
9838 return _pcbnew.TRACKS___setitem__(self, *args)
9840 def pop(self) -> "std::deque< PCB_TRACK * >::value_type
":
9841 r"""pop(TRACKS self) -> PCB_TRACK"""
9842 return _pcbnew.TRACKS_pop(self)
9845 r"""append(TRACKS self, PCB_TRACK x)"""
9846 return _pcbnew.TRACKS_append(self, x)
9849 r"""empty(TRACKS self) -> bool"""
9850 return _pcbnew.TRACKS_empty(self)
9852 def size(self) -> "std::deque< PCB_TRACK * >::size_type
":
9853 r"""size(TRACKS self) -> std::deque< PCB_TRACK * >::size_type"""
9854 return _pcbnew.TRACKS_size(self)
9856 def swap(self, v:
"TRACKS") ->
"void":
9857 r"""swap(TRACKS self, TRACKS v)"""
9858 return _pcbnew.TRACKS_swap(self, v)
9860 def begin(self) -> "std::deque< PCB_TRACK * >::iterator
":
9861 r"""begin(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
9862 return _pcbnew.TRACKS_begin(self)
9864 def end(self) -> "std::deque< PCB_TRACK * >::iterator
":
9865 r"""end(TRACKS self) -> std::deque< PCB_TRACK * >::iterator"""
9866 return _pcbnew.TRACKS_end(self)
9868 def rbegin(self) -> "std::deque< PCB_TRACK * >::reverse_iterator
":
9869 r"""rbegin(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
9870 return _pcbnew.TRACKS_rbegin(self)
9872 def rend(self) -> "std::deque< PCB_TRACK * >::reverse_iterator
":
9873 r"""rend(TRACKS self) -> std::deque< PCB_TRACK * >::reverse_iterator"""
9874 return _pcbnew.TRACKS_rend(self)
9877 r"""clear(TRACKS self)"""
9878 return _pcbnew.TRACKS_clear(self)
9881 r"""get_allocator(TRACKS self) -> std::deque< PCB_TRACK * >::allocator_type"""
9882 return _pcbnew.TRACKS_get_allocator(self)
9885 r"""pop_back(TRACKS self)"""
9886 return _pcbnew.TRACKS_pop_back(self)
9888 def erase(self, *args) -> "std::deque< PCB_TRACK * >::iterator
":
9890 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator pos) -> std::deque< PCB_TRACK * >::iterator
9891 erase(TRACKS self, std::deque< PCB_TRACK * >::iterator first, std::deque< PCB_TRACK * >::iterator last) -> std::deque< PCB_TRACK * >::iterator
9893 return _pcbnew.TRACKS_erase(self, *args)
9898 __init__(TRACKS self, TRACKS other) -> TRACKS
9899 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size) -> TRACKS
9900 __init__(TRACKS self, std::deque< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS
9902 _pcbnew.TRACKS_swiginit(self, _pcbnew.new_TRACKS(*args))
9905 r"""push_back(TRACKS self, PCB_TRACK x)"""
9906 return _pcbnew.TRACKS_push_back(self, x)
9908 def front(self) -> "std::deque< PCB_TRACK * >::value_type
":
9909 r"""front(TRACKS self) -> PCB_TRACK"""
9910 return _pcbnew.TRACKS_front(self)
9912 def back(self) -> "std::deque< PCB_TRACK * >::value_type
":
9913 r"""back(TRACKS self) -> PCB_TRACK"""
9914 return _pcbnew.TRACKS_back(self)
9916 def assign(self, n:
"std::deque< PCB_TRACK * >::size_type", x:
"PCB_TRACK") ->
"void":
9917 r"""assign(TRACKS self, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
9918 return _pcbnew.TRACKS_assign(self, n, x)
9922 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size)
9923 resize(TRACKS self, std::deque< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
9925 return _pcbnew.TRACKS_resize(self, *args)
9929 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::deque< PCB_TRACK * >::iterator
9930 insert(TRACKS self, std::deque< PCB_TRACK * >::iterator pos, std::deque< PCB_TRACK * >::size_type n, PCB_TRACK x)
9932 return _pcbnew.TRACKS_insert(self, *args)
9935 r"""pop_front(TRACKS self)"""
9936 return _pcbnew.TRACKS_pop_front(self)
9939 r"""push_front(TRACKS self, PCB_TRACK x)"""
9940 return _pcbnew.TRACKS_push_front(self, x)
9948 except StopIteration:
9951 __swig_destroy__ = _pcbnew.delete_TRACKS
9954_pcbnew.TRACKS_swigregister(TRACKS)
9957 r"""Proxy of C++ std::deque< FOOTPRINT * > class."""
9959 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9960 __repr__ = _swig_repr
9963 r"""iterator(FOOTPRINTS self) -> SwigPyIterator"""
9964 return _pcbnew.FOOTPRINTS_iterator(self)
9969 r"""__nonzero__(FOOTPRINTS self) -> bool"""
9970 return _pcbnew.FOOTPRINTS___nonzero__(self)
9973 r"""__bool__(FOOTPRINTS self) -> bool"""
9974 return _pcbnew.FOOTPRINTS___bool__(self)
9976 def __len__(self) -> "std::deque< FOOTPRINT * >::size_type
":
9977 r"""__len__(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
9978 return _pcbnew.FOOTPRINTS___len__(self)
9980 def __getslice__(self, i:
"std::deque< FOOTPRINT * >::difference_type", j:
"std::deque< FOOTPRINT * >::difference_type") ->
"std::deque< FOOTPRINT *,std::allocator< FOOTPRINT * > > *":
9981 r"""__getslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j) -> FOOTPRINTS"""
9982 return _pcbnew.FOOTPRINTS___getslice__(self, i, j)
9986 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)
9987 __setslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j, FOOTPRINTS v)
9989 return _pcbnew.FOOTPRINTS___setslice__(self, *args)
9991 def __delslice__(self, i:
"std::deque< FOOTPRINT * >::difference_type", j:
"std::deque< FOOTPRINT * >::difference_type") ->
"void":
9992 r"""__delslice__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, std::deque< FOOTPRINT * >::difference_type j)"""
9993 return _pcbnew.FOOTPRINTS___delslice__(self, i, j)
9997 __delitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i)
9998 __delitem__(FOOTPRINTS self, PySliceObject * slice)
10000 return _pcbnew.FOOTPRINTS___delitem__(self, *args)
10004 __getitem__(FOOTPRINTS self, PySliceObject * slice) -> FOOTPRINTS
10005 __getitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i) -> FOOTPRINT
10007 return _pcbnew.FOOTPRINTS___getitem__(self, *args)
10011 __setitem__(FOOTPRINTS self, PySliceObject * slice, FOOTPRINTS v)
10012 __setitem__(FOOTPRINTS self, PySliceObject * slice)
10013 __setitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i, FOOTPRINT x)
10015 return _pcbnew.FOOTPRINTS___setitem__(self, *args)
10017 def pop(self) -> "std::deque< FOOTPRINT * >::value_type
":
10018 r"""pop(FOOTPRINTS self) -> FOOTPRINT"""
10019 return _pcbnew.FOOTPRINTS_pop(self)
10022 r"""append(FOOTPRINTS self, FOOTPRINT x)"""
10023 return _pcbnew.FOOTPRINTS_append(self, x)
10026 r"""empty(FOOTPRINTS self) -> bool"""
10027 return _pcbnew.FOOTPRINTS_empty(self)
10029 def size(self) -> "std::deque< FOOTPRINT * >::size_type
":
10030 r"""size(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::size_type"""
10031 return _pcbnew.FOOTPRINTS_size(self)
10033 def swap(self, v:
"FOOTPRINTS") ->
"void":
10034 r"""swap(FOOTPRINTS self, FOOTPRINTS v)"""
10035 return _pcbnew.FOOTPRINTS_swap(self, v)
10037 def begin(self) -> "std::deque< FOOTPRINT * >::iterator
":
10038 r"""begin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
10039 return _pcbnew.FOOTPRINTS_begin(self)
10041 def end(self) -> "std::deque< FOOTPRINT * >::iterator
":
10042 r"""end(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
10043 return _pcbnew.FOOTPRINTS_end(self)
10045 def rbegin(self) -> "std::deque< FOOTPRINT * >::reverse_iterator
":
10046 r"""rbegin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
10047 return _pcbnew.FOOTPRINTS_rbegin(self)
10049 def rend(self) -> "std::deque< FOOTPRINT * >::reverse_iterator
":
10050 r"""rend(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::reverse_iterator"""
10051 return _pcbnew.FOOTPRINTS_rend(self)
10054 r"""clear(FOOTPRINTS self)"""
10055 return _pcbnew.FOOTPRINTS_clear(self)
10058 r"""get_allocator(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::allocator_type"""
10059 return _pcbnew.FOOTPRINTS_get_allocator(self)
10062 r"""pop_back(FOOTPRINTS self)"""
10063 return _pcbnew.FOOTPRINTS_pop_back(self)
10065 def erase(self, *args) -> "std::deque< FOOTPRINT * >::iterator
":
10067 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos) -> std::deque< FOOTPRINT * >::iterator
10068 erase(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator first, std::deque< FOOTPRINT * >::iterator last) -> std::deque< FOOTPRINT * >::iterator
10070 return _pcbnew.FOOTPRINTS_erase(self, *args)
10074 __init__(FOOTPRINTS self) -> FOOTPRINTS
10075 __init__(FOOTPRINTS self, FOOTPRINTS other) -> FOOTPRINTS
10076 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size) -> FOOTPRINTS
10077 __init__(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type size, FOOTPRINT value) -> FOOTPRINTS
10079 _pcbnew.FOOTPRINTS_swiginit(self, _pcbnew.new_FOOTPRINTS(*args))
10082 r"""push_back(FOOTPRINTS self, FOOTPRINT x)"""
10083 return _pcbnew.FOOTPRINTS_push_back(self, x)
10085 def front(self) -> "std::deque< FOOTPRINT * >::value_type
":
10086 r"""front(FOOTPRINTS self) -> FOOTPRINT"""
10087 return _pcbnew.FOOTPRINTS_front(self)
10089 def back(self) -> "std::deque< FOOTPRINT * >::value_type
":
10090 r"""back(FOOTPRINTS self) -> FOOTPRINT"""
10091 return _pcbnew.FOOTPRINTS_back(self)
10093 def assign(self, n:
"std::deque< FOOTPRINT * >::size_type", x:
"FOOTPRINT") ->
"void":
10094 r"""assign(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)"""
10095 return _pcbnew.FOOTPRINTS_assign(self, n, x)
10099 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size)
10100 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size, FOOTPRINT x)
10102 return _pcbnew.FOOTPRINTS_resize(self, *args)
10106 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, FOOTPRINT x) -> std::deque< FOOTPRINT * >::iterator
10107 insert(FOOTPRINTS self, std::deque< FOOTPRINT * >::iterator pos, std::deque< FOOTPRINT * >::size_type n, FOOTPRINT x)
10109 return _pcbnew.FOOTPRINTS_insert(self, *args)
10112 r"""pop_front(FOOTPRINTS self)"""
10113 return _pcbnew.FOOTPRINTS_pop_front(self)
10116 r"""push_front(FOOTPRINTS self, FOOTPRINT x)"""
10117 return _pcbnew.FOOTPRINTS_push_front(self, x)
10118 __swig_destroy__ = _pcbnew.delete_FOOTPRINTS
10121_pcbnew.FOOTPRINTS_swigregister(FOOTPRINTS)
10124 r"""Proxy of C++ std::deque< PCB_GROUP * > class."""
10126 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10127 __repr__ = _swig_repr
10130 r"""iterator(GROUPS self) -> SwigPyIterator"""
10131 return _pcbnew.GROUPS_iterator(self)
10136 r"""__nonzero__(GROUPS self) -> bool"""
10137 return _pcbnew.GROUPS___nonzero__(self)
10140 r"""__bool__(GROUPS self) -> bool"""
10141 return _pcbnew.GROUPS___bool__(self)
10143 def __len__(self) -> "std::deque< PCB_GROUP * >::size_type
":
10144 r"""__len__(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
10145 return _pcbnew.GROUPS___len__(self)
10147 def __getslice__(self, i:
"std::deque< PCB_GROUP * >::difference_type", j:
"std::deque< PCB_GROUP * >::difference_type") ->
"std::deque< PCB_GROUP *,std::allocator< PCB_GROUP * > > *":
10148 r"""__getslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j) -> GROUPS"""
10149 return _pcbnew.GROUPS___getslice__(self, i, j)
10153 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)
10154 __setslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j, GROUPS v)
10156 return _pcbnew.GROUPS___setslice__(self, *args)
10158 def __delslice__(self, i:
"std::deque< PCB_GROUP * >::difference_type", j:
"std::deque< PCB_GROUP * >::difference_type") ->
"void":
10159 r"""__delslice__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, std::deque< PCB_GROUP * >::difference_type j)"""
10160 return _pcbnew.GROUPS___delslice__(self, i, j)
10164 __delitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i)
10167 return _pcbnew.GROUPS___delitem__(self, *args)
10171 __getitem__(GROUPS self, PySliceObject * slice) -> GROUPS
10172 __getitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i) -> PCB_GROUP
10174 return _pcbnew.GROUPS___getitem__(self, *args)
10178 __setitem__(GROUPS self, PySliceObject * slice, GROUPS v)
10180 __setitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, PCB_GROUP x)
10182 return _pcbnew.GROUPS___setitem__(self, *args)
10184 def pop(self) -> "std::deque< PCB_GROUP * >::value_type
":
10185 r"""pop(GROUPS self) -> PCB_GROUP"""
10186 return _pcbnew.GROUPS_pop(self)
10189 r"""append(GROUPS self, PCB_GROUP x)"""
10190 return _pcbnew.GROUPS_append(self, x)
10193 r"""empty(GROUPS self) -> bool"""
10194 return _pcbnew.GROUPS_empty(self)
10196 def size(self) -> "std::deque< PCB_GROUP * >::size_type
":
10197 r"""size(GROUPS self) -> std::deque< PCB_GROUP * >::size_type"""
10198 return _pcbnew.GROUPS_size(self)
10201 r"""swap(GROUPS self, GROUPS v)"""
10202 return _pcbnew.GROUPS_swap(self, v)
10204 def begin(self) -> "std::deque< PCB_GROUP * >::iterator
":
10205 r"""begin(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
10206 return _pcbnew.GROUPS_begin(self)
10208 def end(self) -> "std::deque< PCB_GROUP * >::iterator
":
10209 r"""end(GROUPS self) -> std::deque< PCB_GROUP * >::iterator"""
10210 return _pcbnew.GROUPS_end(self)
10212 def rbegin(self) -> "std::deque< PCB_GROUP * >::reverse_iterator
":
10213 r"""rbegin(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
10214 return _pcbnew.GROUPS_rbegin(self)
10216 def rend(self) -> "std::deque< PCB_GROUP * >::reverse_iterator
":
10217 r"""rend(GROUPS self) -> std::deque< PCB_GROUP * >::reverse_iterator"""
10218 return _pcbnew.GROUPS_rend(self)
10221 r"""clear(GROUPS self)"""
10222 return _pcbnew.GROUPS_clear(self)
10225 r"""get_allocator(GROUPS self) -> std::deque< PCB_GROUP * >::allocator_type"""
10226 return _pcbnew.GROUPS_get_allocator(self)
10229 r"""pop_back(GROUPS self)"""
10230 return _pcbnew.GROUPS_pop_back(self)
10232 def erase(self, *args) -> "std::deque< PCB_GROUP * >::iterator
":
10234 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator pos) -> std::deque< PCB_GROUP * >::iterator
10235 erase(GROUPS self, std::deque< PCB_GROUP * >::iterator first, std::deque< PCB_GROUP * >::iterator last) -> std::deque< PCB_GROUP * >::iterator
10237 return _pcbnew.GROUPS_erase(self, *args)
10242 __init__(GROUPS self, GROUPS other) -> GROUPS
10243 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size) -> GROUPS
10244 __init__(GROUPS self, std::deque< PCB_GROUP * >::size_type size, PCB_GROUP value) -> GROUPS
10246 _pcbnew.GROUPS_swiginit(self, _pcbnew.new_GROUPS(*args))
10249 r"""push_back(GROUPS self, PCB_GROUP x)"""
10250 return _pcbnew.GROUPS_push_back(self, x)
10252 def front(self) -> "std::deque< PCB_GROUP * >::value_type
":
10253 r"""front(GROUPS self) -> PCB_GROUP"""
10254 return _pcbnew.GROUPS_front(self)
10256 def back(self) -> "std::deque< PCB_GROUP * >::value_type
":
10257 r"""back(GROUPS self) -> PCB_GROUP"""
10258 return _pcbnew.GROUPS_back(self)
10260 def assign(self, n:
"std::deque< PCB_GROUP * >::size_type", x:
"PCB_GROUP") ->
"void":
10261 r"""assign(GROUPS self, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)"""
10262 return _pcbnew.GROUPS_assign(self, n, x)
10266 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size)
10267 resize(GROUPS self, std::deque< PCB_GROUP * >::size_type new_size, PCB_GROUP x)
10269 return _pcbnew.GROUPS_resize(self, *args)
10273 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, PCB_GROUP x) -> std::deque< PCB_GROUP * >::iterator
10274 insert(GROUPS self, std::deque< PCB_GROUP * >::iterator pos, std::deque< PCB_GROUP * >::size_type n, PCB_GROUP x)
10276 return _pcbnew.GROUPS_insert(self, *args)
10279 r"""pop_front(GROUPS self)"""
10280 return _pcbnew.GROUPS_pop_front(self)
10283 r"""push_front(GROUPS self, PCB_GROUP x)"""
10284 return _pcbnew.GROUPS_push_front(self, x)
10285 __swig_destroy__ = _pcbnew.delete_GROUPS
10288_pcbnew.GROUPS_swigregister(GROUPS)
10291 r"""Proxy of C++ std::deque< BOARD_ITEM * > class."""
10293 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10294 __repr__ = _swig_repr
10297 r"""iterator(DRAWINGS self) -> SwigPyIterator"""
10298 return _pcbnew.DRAWINGS_iterator(self)
10303 r"""__nonzero__(DRAWINGS self) -> bool"""
10304 return _pcbnew.DRAWINGS___nonzero__(self)
10307 r"""__bool__(DRAWINGS self) -> bool"""
10308 return _pcbnew.DRAWINGS___bool__(self)
10310 def __len__(self) -> "std::deque< BOARD_ITEM * >::size_type
":
10311 r"""__len__(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
10312 return _pcbnew.DRAWINGS___len__(self)
10314 def __getslice__(self, i:
"std::deque< BOARD_ITEM * >::difference_type", j:
"std::deque< BOARD_ITEM * >::difference_type") ->
"std::deque< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > *":
10315 r"""__getslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j) -> DRAWINGS"""
10316 return _pcbnew.DRAWINGS___getslice__(self, i, j)
10320 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)
10321 __setslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j, DRAWINGS v)
10323 return _pcbnew.DRAWINGS___setslice__(self, *args)
10325 def __delslice__(self, i:
"std::deque< BOARD_ITEM * >::difference_type", j:
"std::deque< BOARD_ITEM * >::difference_type") ->
"void":
10326 r"""__delslice__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, std::deque< BOARD_ITEM * >::difference_type j)"""
10327 return _pcbnew.DRAWINGS___delslice__(self, i, j)
10331 __delitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i)
10332 __delitem__(DRAWINGS self, PySliceObject * slice)
10334 return _pcbnew.DRAWINGS___delitem__(self, *args)
10338 __getitem__(DRAWINGS self, PySliceObject * slice) -> DRAWINGS
10339 __getitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i) -> BOARD_ITEM
10341 return _pcbnew.DRAWINGS___getitem__(self, *args)
10345 __setitem__(DRAWINGS self, PySliceObject * slice, DRAWINGS v)
10346 __setitem__(DRAWINGS self, PySliceObject * slice)
10347 __setitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i, BOARD_ITEM x)
10349 return _pcbnew.DRAWINGS___setitem__(self, *args)
10351 def pop(self) -> "std::deque< BOARD_ITEM * >::value_type
":
10352 r"""pop(DRAWINGS self) -> BOARD_ITEM"""
10353 return _pcbnew.DRAWINGS_pop(self)
10356 r"""append(DRAWINGS self, BOARD_ITEM x)"""
10357 return _pcbnew.DRAWINGS_append(self, x)
10360 r"""empty(DRAWINGS self) -> bool"""
10361 return _pcbnew.DRAWINGS_empty(self)
10363 def size(self) -> "std::deque< BOARD_ITEM * >::size_type
":
10364 r"""size(DRAWINGS self) -> std::deque< BOARD_ITEM * >::size_type"""
10365 return _pcbnew.DRAWINGS_size(self)
10367 def swap(self, v:
"DRAWINGS") ->
"void":
10368 r"""swap(DRAWINGS self, DRAWINGS v)"""
10369 return _pcbnew.DRAWINGS_swap(self, v)
10371 def begin(self) -> "std::deque< BOARD_ITEM * >::iterator
":
10372 r"""begin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
10373 return _pcbnew.DRAWINGS_begin(self)
10375 def end(self) -> "std::deque< BOARD_ITEM * >::iterator
":
10376 r"""end(DRAWINGS self) -> std::deque< BOARD_ITEM * >::iterator"""
10377 return _pcbnew.DRAWINGS_end(self)
10379 def rbegin(self) -> "std::deque< BOARD_ITEM * >::reverse_iterator
":
10380 r"""rbegin(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
10381 return _pcbnew.DRAWINGS_rbegin(self)
10383 def rend(self) -> "std::deque< BOARD_ITEM * >::reverse_iterator
":
10384 r"""rend(DRAWINGS self) -> std::deque< BOARD_ITEM * >::reverse_iterator"""
10385 return _pcbnew.DRAWINGS_rend(self)
10388 r"""clear(DRAWINGS self)"""
10389 return _pcbnew.DRAWINGS_clear(self)
10392 r"""get_allocator(DRAWINGS self) -> std::deque< BOARD_ITEM * >::allocator_type"""
10393 return _pcbnew.DRAWINGS_get_allocator(self)
10396 r"""pop_back(DRAWINGS self)"""
10397 return _pcbnew.DRAWINGS_pop_back(self)
10399 def erase(self, *args) -> "std::deque< BOARD_ITEM * >::iterator
":
10401 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos) -> std::deque< BOARD_ITEM * >::iterator
10402 erase(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator first, std::deque< BOARD_ITEM * >::iterator last) -> std::deque< BOARD_ITEM * >::iterator
10404 return _pcbnew.DRAWINGS_erase(self, *args)
10408 __init__(DRAWINGS self) -> DRAWINGS
10409 __init__(DRAWINGS self, DRAWINGS other) -> DRAWINGS
10410 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size) -> DRAWINGS
10411 __init__(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type size, BOARD_ITEM value) -> DRAWINGS
10413 _pcbnew.DRAWINGS_swiginit(self, _pcbnew.new_DRAWINGS(*args))
10416 r"""push_back(DRAWINGS self, BOARD_ITEM x)"""
10417 return _pcbnew.DRAWINGS_push_back(self, x)
10419 def front(self) -> "std::deque< BOARD_ITEM * >::value_type
":
10420 r"""front(DRAWINGS self) -> BOARD_ITEM"""
10421 return _pcbnew.DRAWINGS_front(self)
10423 def back(self) -> "std::deque< BOARD_ITEM * >::value_type
":
10424 r"""back(DRAWINGS self) -> BOARD_ITEM"""
10425 return _pcbnew.DRAWINGS_back(self)
10427 def assign(self, n:
"std::deque< BOARD_ITEM * >::size_type", x:
"BOARD_ITEM") ->
"void":
10428 r"""assign(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)"""
10429 return _pcbnew.DRAWINGS_assign(self, n, x)
10433 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size)
10434 resize(DRAWINGS self, std::deque< BOARD_ITEM * >::size_type new_size, BOARD_ITEM x)
10436 return _pcbnew.DRAWINGS_resize(self, *args)
10440 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, BOARD_ITEM x) -> std::deque< BOARD_ITEM * >::iterator
10441 insert(DRAWINGS self, std::deque< BOARD_ITEM * >::iterator pos, std::deque< BOARD_ITEM * >::size_type n, BOARD_ITEM x)
10443 return _pcbnew.DRAWINGS_insert(self, *args)
10446 r"""pop_front(DRAWINGS self)"""
10447 return _pcbnew.DRAWINGS_pop_front(self)
10450 r"""push_front(DRAWINGS self, BOARD_ITEM x)"""
10451 return _pcbnew.DRAWINGS_push_front(self, x)
10459 except StopIteration:
10462 __swig_destroy__ = _pcbnew.delete_DRAWINGS
10465_pcbnew.DRAWINGS_swigregister(DRAWINGS)
10468 r"""Proxy of C++ std::deque< PAD * > class."""
10470 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10471 __repr__ = _swig_repr
10474 r"""iterator(PADS self) -> SwigPyIterator"""
10475 return _pcbnew.PADS_iterator(self)
10480 r"""__nonzero__(PADS self) -> bool"""
10481 return _pcbnew.PADS___nonzero__(self)
10484 r"""__bool__(PADS self) -> bool"""
10485 return _pcbnew.PADS___bool__(self)
10487 def __len__(self) -> "std::deque< PAD * >::size_type
":
10488 r"""__len__(PADS self) -> std::deque< PAD * >::size_type"""
10489 return _pcbnew.PADS___len__(self)
10491 def __getslice__(self, i:
"std::deque< PAD * >::difference_type", j:
"std::deque< PAD * >::difference_type") ->
"std::deque< PAD *,std::allocator< PAD * > > *":
10492 r"""__getslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j) -> PADS"""
10493 return _pcbnew.PADS___getslice__(self, i, j)
10497 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)
10498 __setslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j, PADS v)
10500 return _pcbnew.PADS___setslice__(self, *args)
10502 def __delslice__(self, i:
"std::deque< PAD * >::difference_type", j:
"std::deque< PAD * >::difference_type") ->
"void":
10503 r"""__delslice__(PADS self, std::deque< PAD * >::difference_type i, std::deque< PAD * >::difference_type j)"""
10504 return _pcbnew.PADS___delslice__(self, i, j)
10508 __delitem__(PADS self, std::deque< PAD * >::difference_type i)
10511 return _pcbnew.PADS___delitem__(self, *args)
10515 __getitem__(PADS self, PySliceObject * slice) -> PADS
10516 __getitem__(PADS self, std::deque< PAD * >::difference_type i) -> PAD
10518 return _pcbnew.PADS___getitem__(self, *args)
10522 __setitem__(PADS self, PySliceObject * slice, PADS v)
10524 __setitem__(PADS self, std::deque< PAD * >::difference_type i, PAD x)
10526 return _pcbnew.PADS___setitem__(self, *args)
10528 def pop(self) -> "std::deque< PAD * >::value_type
":
10529 r"""pop(PADS self) -> PAD"""
10530 return _pcbnew.PADS_pop(self)
10533 r"""append(PADS self, PAD x)"""
10534 return _pcbnew.PADS_append(self, x)
10537 r"""empty(PADS self) -> bool"""
10538 return _pcbnew.PADS_empty(self)
10540 def size(self) -> "std::deque< PAD * >::size_type
":
10541 r"""size(PADS self) -> std::deque< PAD * >::size_type"""
10542 return _pcbnew.PADS_size(self)
10545 r"""swap(PADS self, PADS v)"""
10546 return _pcbnew.PADS_swap(self, v)
10548 def begin(self) -> "std::deque< PAD * >::iterator
":
10549 r"""begin(PADS self) -> std::deque< PAD * >::iterator"""
10550 return _pcbnew.PADS_begin(self)
10552 def end(self) -> "std::deque< PAD * >::iterator
":
10553 r"""end(PADS self) -> std::deque< PAD * >::iterator"""
10554 return _pcbnew.PADS_end(self)
10556 def rbegin(self) -> "std::deque< PAD * >::reverse_iterator
":
10557 r"""rbegin(PADS self) -> std::deque< PAD * >::reverse_iterator"""
10558 return _pcbnew.PADS_rbegin(self)
10560 def rend(self) -> "std::deque< PAD * >::reverse_iterator
":
10561 r"""rend(PADS self) -> std::deque< PAD * >::reverse_iterator"""
10562 return _pcbnew.PADS_rend(self)
10565 r"""clear(PADS self)"""
10566 return _pcbnew.PADS_clear(self)
10569 r"""get_allocator(PADS self) -> std::deque< PAD * >::allocator_type"""
10570 return _pcbnew.PADS_get_allocator(self)
10573 r"""pop_back(PADS self)"""
10574 return _pcbnew.PADS_pop_back(self)
10576 def erase(self, *args) -> "std::deque< PAD * >::iterator
":
10578 erase(PADS self, std::deque< PAD * >::iterator pos) -> std::deque< PAD * >::iterator
10579 erase(PADS self, std::deque< PAD * >::iterator first, std::deque< PAD * >::iterator last) -> std::deque< PAD * >::iterator
10581 return _pcbnew.PADS_erase(self, *args)
10586 __init__(PADS self, PADS other) -> PADS
10587 __init__(PADS self, std::deque< PAD * >::size_type size) -> PADS
10588 __init__(PADS self, std::deque< PAD * >::size_type size, PAD value) -> PADS
10590 _pcbnew.PADS_swiginit(self, _pcbnew.new_PADS(*args))
10593 r"""push_back(PADS self, PAD x)"""
10594 return _pcbnew.PADS_push_back(self, x)
10596 def front(self) -> "std::deque< PAD * >::value_type
":
10597 r"""front(PADS self) -> PAD"""
10598 return _pcbnew.PADS_front(self)
10600 def back(self) -> "std::deque< PAD * >::value_type
":
10601 r"""back(PADS self) -> PAD"""
10602 return _pcbnew.PADS_back(self)
10604 def assign(self, n:
"std::deque< PAD * >::size_type", x:
"PAD") ->
"void":
10605 r"""assign(PADS self, std::deque< PAD * >::size_type n, PAD x)"""
10606 return _pcbnew.PADS_assign(self, n, x)
10610 resize(PADS self, std::deque< PAD * >::size_type new_size)
10611 resize(PADS self, std::deque< PAD * >::size_type new_size, PAD x)
10613 return _pcbnew.PADS_resize(self, *args)
10617 insert(PADS self, std::deque< PAD * >::iterator pos, PAD x) -> std::deque< PAD * >::iterator
10618 insert(PADS self, std::deque< PAD * >::iterator pos, std::deque< PAD * >::size_type n, PAD x)
10620 return _pcbnew.PADS_insert(self, *args)
10623 r"""pop_front(PADS self)"""
10624 return _pcbnew.PADS_pop_front(self)
10627 r"""push_front(PADS self, PAD x)"""
10628 return _pcbnew.PADS_push_front(self, x)
10629 __swig_destroy__ = _pcbnew.delete_PADS
10632_pcbnew.PADS_swigregister(PADS)
10635 r"""Proxy of C++ std::vector< FP_ZONE * > class."""
10637 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10638 __repr__ = _swig_repr
10641 r"""iterator(FP_ZONES self) -> SwigPyIterator"""
10642 return _pcbnew.FP_ZONES_iterator(self)
10647 r"""__nonzero__(FP_ZONES self) -> bool"""
10648 return _pcbnew.FP_ZONES___nonzero__(self)
10651 r"""__bool__(FP_ZONES self) -> bool"""
10652 return _pcbnew.FP_ZONES___bool__(self)
10654 def __len__(self) -> "std::vector< FP_ZONE * >::size_type
":
10655 r"""__len__(FP_ZONES self) -> std::vector< FP_ZONE * >::size_type"""
10656 return _pcbnew.FP_ZONES___len__(self)
10658 def __getslice__(self, i:
"std::vector< FP_ZONE * >::difference_type", j:
"std::vector< FP_ZONE * >::difference_type") ->
"std::vector< FP_ZONE *,std::allocator< FP_ZONE * > > *":
10659 r"""__getslice__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, std::vector< FP_ZONE * >::difference_type j) -> FP_ZONES"""
10660 return _pcbnew.FP_ZONES___getslice__(self, i, j)
10664 __setslice__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, std::vector< FP_ZONE * >::difference_type j)
10665 __setslice__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, std::vector< FP_ZONE * >::difference_type j, FP_ZONES v)
10667 return _pcbnew.FP_ZONES___setslice__(self, *args)
10669 def __delslice__(self, i:
"std::vector< FP_ZONE * >::difference_type", j:
"std::vector< FP_ZONE * >::difference_type") ->
"void":
10670 r"""__delslice__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, std::vector< FP_ZONE * >::difference_type j)"""
10671 return _pcbnew.FP_ZONES___delslice__(self, i, j)
10675 __delitem__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i)
10676 __delitem__(FP_ZONES self, PySliceObject * slice)
10678 return _pcbnew.FP_ZONES___delitem__(self, *args)
10682 __getitem__(FP_ZONES self, PySliceObject * slice) -> FP_ZONES
10683 __getitem__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i) -> FP_ZONE
10685 return _pcbnew.FP_ZONES___getitem__(self, *args)
10689 __setitem__(FP_ZONES self, PySliceObject * slice, FP_ZONES v)
10690 __setitem__(FP_ZONES self, PySliceObject * slice)
10691 __setitem__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i, FP_ZONE x)
10693 return _pcbnew.FP_ZONES___setitem__(self, *args)
10695 def pop(self) -> "std::vector< FP_ZONE * >::value_type
":
10696 r"""pop(FP_ZONES self) -> FP_ZONE"""
10697 return _pcbnew.FP_ZONES_pop(self)
10700 r"""append(FP_ZONES self, FP_ZONE x)"""
10701 return _pcbnew.FP_ZONES_append(self, x)
10704 r"""empty(FP_ZONES self) -> bool"""
10705 return _pcbnew.FP_ZONES_empty(self)
10707 def size(self) -> "std::vector< FP_ZONE * >::size_type
":
10708 r"""size(FP_ZONES self) -> std::vector< FP_ZONE * >::size_type"""
10709 return _pcbnew.FP_ZONES_size(self)
10711 def swap(self, v:
"FP_ZONES") ->
"void":
10712 r"""swap(FP_ZONES self, FP_ZONES v)"""
10713 return _pcbnew.FP_ZONES_swap(self, v)
10715 def begin(self) -> "std::vector< FP_ZONE * >::iterator
":
10716 r"""begin(FP_ZONES self) -> std::vector< FP_ZONE * >::iterator"""
10717 return _pcbnew.FP_ZONES_begin(self)
10719 def end(self) -> "std::vector< FP_ZONE * >::iterator
":
10720 r"""end(FP_ZONES self) -> std::vector< FP_ZONE * >::iterator"""
10721 return _pcbnew.FP_ZONES_end(self)
10723 def rbegin(self) -> "std::vector< FP_ZONE * >::reverse_iterator
":
10724 r"""rbegin(FP_ZONES self) -> std::vector< FP_ZONE * >::reverse_iterator"""
10725 return _pcbnew.FP_ZONES_rbegin(self)
10727 def rend(self) -> "std::vector< FP_ZONE * >::reverse_iterator
":
10728 r"""rend(FP_ZONES self) -> std::vector< FP_ZONE * >::reverse_iterator"""
10729 return _pcbnew.FP_ZONES_rend(self)
10732 r"""clear(FP_ZONES self)"""
10733 return _pcbnew.FP_ZONES_clear(self)
10736 r"""get_allocator(FP_ZONES self) -> std::vector< FP_ZONE * >::allocator_type"""
10737 return _pcbnew.FP_ZONES_get_allocator(self)
10740 r"""pop_back(FP_ZONES self)"""
10741 return _pcbnew.FP_ZONES_pop_back(self)
10743 def erase(self, *args) -> "std::vector< FP_ZONE * >::iterator
":
10745 erase(FP_ZONES self, std::vector< FP_ZONE * >::iterator pos) -> std::vector< FP_ZONE * >::iterator
10746 erase(FP_ZONES self, std::vector< FP_ZONE * >::iterator first, std::vector< FP_ZONE * >::iterator last) -> std::vector< FP_ZONE * >::iterator
10748 return _pcbnew.FP_ZONES_erase(self, *args)
10752 __init__(FP_ZONES self) -> FP_ZONES
10753 __init__(FP_ZONES self, FP_ZONES other) -> FP_ZONES
10754 __init__(FP_ZONES self, std::vector< FP_ZONE * >::size_type size) -> FP_ZONES
10755 __init__(FP_ZONES self, std::vector< FP_ZONE * >::size_type size, FP_ZONE value) -> FP_ZONES
10757 _pcbnew.FP_ZONES_swiginit(self, _pcbnew.new_FP_ZONES(*args))
10760 r"""push_back(FP_ZONES self, FP_ZONE x)"""
10761 return _pcbnew.FP_ZONES_push_back(self, x)
10763 def front(self) -> "std::vector< FP_ZONE * >::value_type
":
10764 r"""front(FP_ZONES self) -> FP_ZONE"""
10765 return _pcbnew.FP_ZONES_front(self)
10767 def back(self) -> "std::vector< FP_ZONE * >::value_type
":
10768 r"""back(FP_ZONES self) -> FP_ZONE"""
10769 return _pcbnew.FP_ZONES_back(self)
10771 def assign(self, n:
"std::vector< FP_ZONE * >::size_type", x:
"FP_ZONE") ->
"void":
10772 r"""assign(FP_ZONES self, std::vector< FP_ZONE * >::size_type n, FP_ZONE x)"""
10773 return _pcbnew.FP_ZONES_assign(self, n, x)
10777 resize(FP_ZONES self, std::vector< FP_ZONE * >::size_type new_size)
10778 resize(FP_ZONES self, std::vector< FP_ZONE * >::size_type new_size, FP_ZONE x)
10780 return _pcbnew.FP_ZONES_resize(self, *args)
10784 insert(FP_ZONES self, std::vector< FP_ZONE * >::iterator pos, FP_ZONE x) -> std::vector< FP_ZONE * >::iterator
10785 insert(FP_ZONES self, std::vector< FP_ZONE * >::iterator pos, std::vector< FP_ZONE * >::size_type n, FP_ZONE x)
10787 return _pcbnew.FP_ZONES_insert(self, *args)
10789 def reserve(self, n:
"std::vector< FP_ZONE * >::size_type") ->
"void":
10790 r"""reserve(FP_ZONES self, std::vector< FP_ZONE * >::size_type n)"""
10791 return _pcbnew.FP_ZONES_reserve(self, n)
10793 def capacity(self) -> "std::vector< FP_ZONE * >::size_type
":
10794 r"""capacity(FP_ZONES self) -> std::vector< FP_ZONE * >::size_type"""
10795 return _pcbnew.FP_ZONES_capacity(self)
10796 __swig_destroy__ = _pcbnew.delete_FP_ZONES
10799_pcbnew.FP_ZONES_swigregister(FP_ZONES)
10802 r"""Proxy of C++ std::vector< PCB_GROUP * > class."""
10804 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10805 __repr__ = _swig_repr
10808 r"""iterator(FP_GROUPS self) -> SwigPyIterator"""
10809 return _pcbnew.FP_GROUPS_iterator(self)
10814 r"""__nonzero__(FP_GROUPS self) -> bool"""
10815 return _pcbnew.FP_GROUPS___nonzero__(self)
10818 r"""__bool__(FP_GROUPS self) -> bool"""
10819 return _pcbnew.FP_GROUPS___bool__(self)
10821 def __len__(self) -> "std::vector< PCB_GROUP * >::size_type
":
10822 r"""__len__(FP_GROUPS self) -> std::vector< PCB_GROUP * >::size_type"""
10823 return _pcbnew.FP_GROUPS___len__(self)
10825 def __getslice__(self, i:
"std::vector< PCB_GROUP * >::difference_type", j:
"std::vector< PCB_GROUP * >::difference_type") ->
"std::vector< PCB_GROUP *,std::allocator< PCB_GROUP * > > *":
10826 r"""__getslice__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, std::vector< PCB_GROUP * >::difference_type j) -> FP_GROUPS"""
10827 return _pcbnew.FP_GROUPS___getslice__(self, i, j)
10831 __setslice__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, std::vector< PCB_GROUP * >::difference_type j)
10832 __setslice__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, std::vector< PCB_GROUP * >::difference_type j, FP_GROUPS v)
10834 return _pcbnew.FP_GROUPS___setslice__(self, *args)
10836 def __delslice__(self, i:
"std::vector< PCB_GROUP * >::difference_type", j:
"std::vector< PCB_GROUP * >::difference_type") ->
"void":
10837 r"""__delslice__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, std::vector< PCB_GROUP * >::difference_type j)"""
10838 return _pcbnew.FP_GROUPS___delslice__(self, i, j)
10842 __delitem__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i)
10843 __delitem__(FP_GROUPS self, PySliceObject * slice)
10845 return _pcbnew.FP_GROUPS___delitem__(self, *args)
10849 __getitem__(FP_GROUPS self, PySliceObject * slice) -> FP_GROUPS
10850 __getitem__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i) -> PCB_GROUP
10852 return _pcbnew.FP_GROUPS___getitem__(self, *args)
10856 __setitem__(FP_GROUPS self, PySliceObject * slice, FP_GROUPS v)
10857 __setitem__(FP_GROUPS self, PySliceObject * slice)
10858 __setitem__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i, PCB_GROUP x)
10860 return _pcbnew.FP_GROUPS___setitem__(self, *args)
10862 def pop(self) -> "std::vector< PCB_GROUP * >::value_type
":
10863 r"""pop(FP_GROUPS self) -> PCB_GROUP"""
10864 return _pcbnew.FP_GROUPS_pop(self)
10867 r"""append(FP_GROUPS self, PCB_GROUP x)"""
10868 return _pcbnew.FP_GROUPS_append(self, x)
10871 r"""empty(FP_GROUPS self) -> bool"""
10872 return _pcbnew.FP_GROUPS_empty(self)
10874 def size(self) -> "std::vector< PCB_GROUP * >::size_type
":
10875 r"""size(FP_GROUPS self) -> std::vector< PCB_GROUP * >::size_type"""
10876 return _pcbnew.FP_GROUPS_size(self)
10878 def swap(self, v:
"FP_GROUPS") ->
"void":
10879 r"""swap(FP_GROUPS self, FP_GROUPS v)"""
10880 return _pcbnew.FP_GROUPS_swap(self, v)
10882 def begin(self) -> "std::vector< PCB_GROUP * >::iterator
":
10883 r"""begin(FP_GROUPS self) -> std::vector< PCB_GROUP * >::iterator"""
10884 return _pcbnew.FP_GROUPS_begin(self)
10886 def end(self) -> "std::vector< PCB_GROUP * >::iterator
":
10887 r"""end(FP_GROUPS self) -> std::vector< PCB_GROUP * >::iterator"""
10888 return _pcbnew.FP_GROUPS_end(self)
10890 def rbegin(self) -> "std::vector< PCB_GROUP * >::reverse_iterator
":
10891 r"""rbegin(FP_GROUPS self) -> std::vector< PCB_GROUP * >::reverse_iterator"""
10892 return _pcbnew.FP_GROUPS_rbegin(self)
10894 def rend(self) -> "std::vector< PCB_GROUP * >::reverse_iterator
":
10895 r"""rend(FP_GROUPS self) -> std::vector< PCB_GROUP * >::reverse_iterator"""
10896 return _pcbnew.FP_GROUPS_rend(self)
10899 r"""clear(FP_GROUPS self)"""
10900 return _pcbnew.FP_GROUPS_clear(self)
10903 r"""get_allocator(FP_GROUPS self) -> std::vector< PCB_GROUP * >::allocator_type"""
10904 return _pcbnew.FP_GROUPS_get_allocator(self)
10907 r"""pop_back(FP_GROUPS self)"""
10908 return _pcbnew.FP_GROUPS_pop_back(self)
10910 def erase(self, *args) -> "std::vector< PCB_GROUP * >::iterator
":
10912 erase(FP_GROUPS self, std::vector< PCB_GROUP * >::iterator pos) -> std::vector< PCB_GROUP * >::iterator
10913 erase(FP_GROUPS self, std::vector< PCB_GROUP * >::iterator first, std::vector< PCB_GROUP * >::iterator last) -> std::vector< PCB_GROUP * >::iterator
10915 return _pcbnew.FP_GROUPS_erase(self, *args)
10919 __init__(FP_GROUPS self) -> FP_GROUPS
10920 __init__(FP_GROUPS self, FP_GROUPS other) -> FP_GROUPS
10921 __init__(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type size) -> FP_GROUPS
10922 __init__(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type size, PCB_GROUP value) -> FP_GROUPS
10924 _pcbnew.FP_GROUPS_swiginit(self, _pcbnew.new_FP_GROUPS(*args))
10927 r"""push_back(FP_GROUPS self, PCB_GROUP x)"""
10928 return _pcbnew.FP_GROUPS_push_back(self, x)
10930 def front(self) -> "std::vector< PCB_GROUP * >::value_type
":
10931 r"""front(FP_GROUPS self) -> PCB_GROUP"""
10932 return _pcbnew.FP_GROUPS_front(self)
10934 def back(self) -> "std::vector< PCB_GROUP * >::value_type
":
10935 r"""back(FP_GROUPS self) -> PCB_GROUP"""
10936 return _pcbnew.FP_GROUPS_back(self)
10938 def assign(self, n:
"std::vector< PCB_GROUP * >::size_type", x:
"PCB_GROUP") ->
"void":
10939 r"""assign(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type n, PCB_GROUP x)"""
10940 return _pcbnew.FP_GROUPS_assign(self, n, x)
10944 resize(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type new_size)
10945 resize(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type new_size, PCB_GROUP x)
10947 return _pcbnew.FP_GROUPS_resize(self, *args)
10951 insert(FP_GROUPS self, std::vector< PCB_GROUP * >::iterator pos, PCB_GROUP x) -> std::vector< PCB_GROUP * >::iterator
10952 insert(FP_GROUPS self, std::vector< PCB_GROUP * >::iterator pos, std::vector< PCB_GROUP * >::size_type n, PCB_GROUP x)
10954 return _pcbnew.FP_GROUPS_insert(self, *args)
10956 def reserve(self, n:
"std::vector< PCB_GROUP * >::size_type") ->
"void":
10957 r"""reserve(FP_GROUPS self, std::vector< PCB_GROUP * >::size_type n)"""
10958 return _pcbnew.FP_GROUPS_reserve(self, n)
10960 def capacity(self) -> "std::vector< PCB_GROUP * >::size_type
":
10961 r"""capacity(FP_GROUPS self) -> std::vector< PCB_GROUP * >::size_type"""
10962 return _pcbnew.FP_GROUPS_capacity(self)
10963 __swig_destroy__ = _pcbnew.delete_FP_GROUPS
10966_pcbnew.FP_GROUPS_swigregister(FP_GROUPS)
10968PAD_SHAPE_CIRCLE = _pcbnew.PAD_SHAPE_CIRCLE
10970PAD_SHAPE_RECT = _pcbnew.PAD_SHAPE_RECT
10972PAD_SHAPE_OVAL = _pcbnew.PAD_SHAPE_OVAL
10974PAD_SHAPE_TRAPEZOID = _pcbnew.PAD_SHAPE_TRAPEZOID
10976PAD_SHAPE_ROUNDRECT = _pcbnew.PAD_SHAPE_ROUNDRECT
10978PAD_SHAPE_CHAMFERED_RECT = _pcbnew.PAD_SHAPE_CHAMFERED_RECT
10980PAD_SHAPE_CUSTOM = _pcbnew.PAD_SHAPE_CUSTOM
10984 r"""PAD_SHAPE_T_asString(PAD_SHAPE a) -> string"""
10985 return _pcbnew.PAD_SHAPE_T_asString(a)
10986PAD_DRILL_SHAPE_CIRCLE = _pcbnew.PAD_DRILL_SHAPE_CIRCLE
10988PAD_DRILL_SHAPE_OBLONG = _pcbnew.PAD_DRILL_SHAPE_OBLONG
10990PAD_ATTRIB_PTH = _pcbnew.PAD_ATTRIB_PTH
10992PAD_ATTRIB_SMD = _pcbnew.PAD_ATTRIB_SMD
10994PAD_ATTRIB_CONN = _pcbnew.PAD_ATTRIB_CONN
10996PAD_ATTRIB_NPTH = _pcbnew.PAD_ATTRIB_NPTH
10998PAD_PROP_NONE = _pcbnew.PAD_PROP_NONE
11000PAD_PROP_BGA = _pcbnew.PAD_PROP_BGA
11002PAD_PROP_FIDUCIAL_GLBL = _pcbnew.PAD_PROP_FIDUCIAL_GLBL
11004PAD_PROP_FIDUCIAL_LOCAL = _pcbnew.PAD_PROP_FIDUCIAL_LOCAL
11006PAD_PROP_TESTPOINT = _pcbnew.PAD_PROP_TESTPOINT
11008PAD_PROP_HEATSINK = _pcbnew.PAD_PROP_HEATSINK
11010PAD_PROP_CASTELLATED = _pcbnew.PAD_PROP_CASTELLATED
11012CUST_PAD_SHAPE_IN_ZONE_OUTLINE = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_OUTLINE
11014CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL
11017 r"""Proxy of C++ PAD class."""
11019 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11020 __repr__ = _swig_repr
11024 __init__(PAD self, FOOTPRINT parent) -> PAD
11025 __init__(PAD self, PAD aPad) -> PAD
11027 _pcbnew.PAD_swiginit(self, _pcbnew.new_PAD(*args))
11031 r"""PTHMask() -> LSET"""
11032 return _pcbnew.PAD_PTHMask()
11036 r"""SMDMask() -> LSET"""
11037 return _pcbnew.PAD_SMDMask()
11041 r"""ConnSMDMask() -> LSET"""
11042 return _pcbnew.PAD_ConnSMDMask()
11046 r"""UnplatedHoleMask() -> LSET"""
11047 return _pcbnew.PAD_UnplatedHoleMask()
11051 r"""ApertureMask() -> LSET"""
11052 return _pcbnew.PAD_ApertureMask()
11056 r"""ClassOf(EDA_ITEM aItem) -> bool"""
11057 return _pcbnew.PAD_ClassOf(aItem)
11059 def IsType(self, aScanTypes:
"KICAD_T const []") ->
"bool":
11060 r"""IsType(PAD self, KICAD_T const [] aScanTypes) -> bool"""
11061 return _pcbnew.PAD_IsType(self, aScanTypes)
11064 r"""HasHole(PAD self) -> bool"""
11065 return _pcbnew.PAD_HasHole(self)
11068 r"""GetParent(PAD self) -> FOOTPRINT"""
11069 return _pcbnew.PAD_GetParent(self)
11072 r"""GetParentAsString(PAD self) -> wxString"""
11073 return _pcbnew.PAD_GetParentAsString(self)
11076 r"""IsLocked(PAD self) -> bool"""
11077 return _pcbnew.PAD_IsLocked(self)
11080 r"""ImportSettingsFrom(PAD self, PAD aMasterPad)"""
11081 return _pcbnew.PAD_ImportSettingsFrom(self, aMasterPad)
11084 r"""IsFlipped(PAD self) -> bool"""
11085 return _pcbnew.PAD_IsFlipped(self)
11088 r"""SetNumber(PAD self, wxString aNumber)"""
11089 return _pcbnew.PAD_SetNumber(self, aNumber)
11092 r"""GetNumber(PAD self) -> wxString"""
11093 return _pcbnew.PAD_GetNumber(self)
11096 r"""CanHaveNumber(PAD self) -> bool"""
11097 return _pcbnew.PAD_CanHaveNumber(self)
11100 r"""SetPinFunction(PAD self, wxString aName)"""
11101 return _pcbnew.PAD_SetPinFunction(self, aName)
11104 r"""GetPinFunction(PAD self) -> wxString"""
11105 return _pcbnew.PAD_GetPinFunction(self)
11108 r"""SetPinType(PAD self, wxString aType)"""
11109 return _pcbnew.PAD_SetPinType(self, aType)
11112 r"""GetPinType(PAD self) -> wxString"""
11113 return _pcbnew.PAD_GetPinType(self)
11116 r"""SameLogicalPadAs(PAD self, PAD other) -> bool"""
11117 return _pcbnew.PAD_SameLogicalPadAs(self, other)
11120 r"""IsNoConnectPad(PAD self) -> bool"""
11121 return _pcbnew.PAD_IsNoConnectPad(self)
11124 r"""IsFreePad(PAD self) -> bool"""
11125 return _pcbnew.PAD_IsFreePad(self)
11128 r"""SetShape(PAD self, PAD_SHAPE aShape)"""
11129 return _pcbnew.PAD_SetShape(self, aShape)
11132 r"""GetShape(PAD self) -> PAD_SHAPE"""
11133 return _pcbnew.PAD_GetShape(self)
11136 r"""SetPosition(PAD self, wxPoint aPos)"""
11137 return _pcbnew.PAD_SetPosition(self, aPos)
11140 r"""GetPosition(PAD self) -> wxPoint"""
11141 return _pcbnew.PAD_GetPosition(self)
11144 r"""GetAnchorPadShape(PAD self) -> PAD_SHAPE"""
11145 return _pcbnew.PAD_GetAnchorPadShape(self)
11148 r"""GetCustomShapeInZoneOpt(PAD self) -> CUST_PAD_SHAPE_IN_ZONE"""
11149 return _pcbnew.PAD_GetCustomShapeInZoneOpt(self)
11152 r"""SetCustomShapeInZoneOpt(PAD self, CUST_PAD_SHAPE_IN_ZONE aOption)"""
11153 return _pcbnew.PAD_SetCustomShapeInZoneOpt(self, aOption)
11156 r"""SetAnchorPadShape(PAD self, PAD_SHAPE aShape)"""
11157 return _pcbnew.PAD_SetAnchorPadShape(self, aShape)
11160 r"""IsOnCopperLayer(PAD self) -> bool"""
11161 return _pcbnew.PAD_IsOnCopperLayer(self)
11164 r"""SetY(PAD self, int y)"""
11165 return _pcbnew.PAD_SetY(self, y)
11168 r"""SetX(PAD self, int x)"""
11169 return _pcbnew.PAD_SetX(self, x)
11172 r"""SetPos0(PAD self, wxPoint aPos)"""
11173 return _pcbnew.PAD_SetPos0(self, aPos)
11176 r"""GetPos0(PAD self) -> wxPoint"""
11177 return _pcbnew.PAD_GetPos0(self)
11180 r"""SetY0(PAD self, int y)"""
11181 return _pcbnew.PAD_SetY0(self, y)
11184 r"""SetX0(PAD self, int x)"""
11185 return _pcbnew.PAD_SetX0(self, x)
11188 r"""SetSize(PAD self, wxSize aSize)"""
11189 return _pcbnew.PAD_SetSize(self, aSize)
11192 r"""GetSize(PAD self) -> wxSize"""
11193 return _pcbnew.PAD_GetSize(self)
11196 r"""SetSizeX(PAD self, int const aX)"""
11197 return _pcbnew.PAD_SetSizeX(self, aX)
11200 r"""GetSizeX(PAD self) -> int const"""
11201 return _pcbnew.PAD_GetSizeX(self)
11204 r"""SetSizeY(PAD self, int const aY)"""
11205 return _pcbnew.PAD_SetSizeY(self, aY)
11208 r"""GetSizeY(PAD self) -> int const"""
11209 return _pcbnew.PAD_GetSizeY(self)
11212 r"""SetDelta(PAD self, wxSize aSize)"""
11213 return _pcbnew.PAD_SetDelta(self, aSize)
11216 r"""GetDelta(PAD self) -> wxSize"""
11217 return _pcbnew.PAD_GetDelta(self)
11220 r"""SetDrillSize(PAD self, wxSize aSize)"""
11221 return _pcbnew.PAD_SetDrillSize(self, aSize)
11224 r"""GetDrillSize(PAD self) -> wxSize"""
11225 return _pcbnew.PAD_GetDrillSize(self)
11228 r"""SetDrillSizeX(PAD self, int const aX)"""
11229 return _pcbnew.PAD_SetDrillSizeX(self, aX)
11232 r"""GetDrillSizeX(PAD self) -> int const"""
11233 return _pcbnew.PAD_GetDrillSizeX(self)
11236 r"""SetDrillSizeY(PAD self, int const aY)"""
11237 return _pcbnew.PAD_SetDrillSizeY(self, aY)
11240 r"""GetDrillSizeY(PAD self) -> int const"""
11241 return _pcbnew.PAD_GetDrillSizeY(self)
11244 r"""SetOffset(PAD self, wxPoint aOffset)"""
11245 return _pcbnew.PAD_SetOffset(self, aOffset)
11248 r"""GetOffset(PAD self) -> wxPoint"""
11249 return _pcbnew.PAD_GetOffset(self)
11252 r"""GetCenter(PAD self) -> wxPoint"""
11253 return _pcbnew.PAD_GetCenter(self)
11257 AddPrimitivePoly(PAD self, SHAPE_POLY_SET aPoly, int aThickness, bool aFilled)
11258 AddPrimitivePoly(PAD self, wxPoint_Vector aPoly, int aThickness, bool aFilled)
11260 return _pcbnew.PAD_AddPrimitivePoly(self, *args)
11263 r"""AddPrimitiveSegment(PAD self, wxPoint aStart, wxPoint aEnd, int aThickness)"""
11264 return _pcbnew.PAD_AddPrimitiveSegment(self, aStart, aEnd, aThickness)
11266 def AddPrimitiveCircle(self, aCenter:
"wxPoint", aRadius:
"int", aThickness:
"int", aFilled:
"bool") ->
"void":
11267 r"""AddPrimitiveCircle(PAD self, wxPoint aCenter, int aRadius, int aThickness, bool aFilled)"""
11268 return _pcbnew.PAD_AddPrimitiveCircle(self, aCenter, aRadius, aThickness, aFilled)
11270 def AddPrimitiveRect(self, aStart:
"wxPoint", aEnd:
"wxPoint", aThickness:
"int", aFilled:
"bool") ->
"void":
11271 r"""AddPrimitiveRect(PAD self, wxPoint aStart, wxPoint aEnd, int aThickness, bool aFilled)"""
11272 return _pcbnew.PAD_AddPrimitiveRect(self, aStart, aEnd, aThickness, aFilled)
11274 def AddPrimitiveArc(self, aCenter:
"wxPoint", aStart:
"wxPoint", aArcAngle:
"int", aThickness:
"int") ->
"void":
11275 r"""AddPrimitiveArc(PAD self, wxPoint aCenter, wxPoint aStart, int aArcAngle, int aThickness)"""
11276 return _pcbnew.PAD_AddPrimitiveArc(self, aCenter, aStart, aArcAngle, aThickness)
11278 def AddPrimitiveCurve(self, aStart:
"wxPoint", aEnd:
"wxPoint", aCtrl1:
"wxPoint", aCtrl2:
"wxPoint", aThickness:
"int") ->
"void":
11279 r"""AddPrimitiveCurve(PAD self, wxPoint aStart, wxPoint aEnd, wxPoint aCtrl1, wxPoint aCtrl2, int aThickness)"""
11280 return _pcbnew.PAD_AddPrimitiveCurve(self, aStart, aEnd, aCtrl1, aCtrl2, aThickness)
11283 r"""GetBestAnchorPosition(PAD self, VECTOR2I aPos) -> bool"""
11284 return _pcbnew.PAD_GetBestAnchorPosition(self, aPos)
11287 r"""MergePrimitivesAsPolygon(PAD self, SHAPE_POLY_SET aMergedPolygon, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
11288 return _pcbnew.PAD_MergePrimitivesAsPolygon(self, *args)
11291 r"""DeletePrimitivesList(PAD self)"""
11292 return _pcbnew.PAD_DeletePrimitivesList(self)
11294 def GetPrimitives(self) -> "std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &
":
11295 r"""GetPrimitives(PAD self) -> std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &"""
11296 return _pcbnew.PAD_GetPrimitives(self)
11298 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
11299 r"""Flip(PAD self, wxPoint aCentre, bool aFlipLeftRight)"""
11300 return _pcbnew.PAD_Flip(self, aCentre, aFlipLeftRight)
11303 r"""FlipPrimitives(PAD self, bool aFlipLeftRight)"""
11304 return _pcbnew.PAD_FlipPrimitives(self, aFlipLeftRight)
11306 def ReplacePrimitives(self, aPrimitivesList:
"std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &") ->
"void":
11307 r"""ReplacePrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
11308 return _pcbnew.PAD_ReplacePrimitives(self, aPrimitivesList)
11310 def AppendPrimitives(self, aPrimitivesList:
"std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &") ->
"void":
11311 r"""AppendPrimitives(PAD self, std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const & aPrimitivesList)"""
11312 return _pcbnew.PAD_AppendPrimitives(self, aPrimitivesList)
11315 r"""AddPrimitive(PAD self, PCB_SHAPE aPrimitive)"""
11316 return _pcbnew.PAD_AddPrimitive(self, aPrimitive)
11319 r"""SetOrientation(PAD self, double aAngle)"""
11320 return _pcbnew.PAD_SetOrientation(self, aAngle)
11323 r"""SetOrientationDegrees(PAD self, double aOrientation)"""
11324 return _pcbnew.PAD_SetOrientationDegrees(self, aOrientation)
11327 r"""GetOrientation(PAD self) -> double"""
11328 return _pcbnew.PAD_GetOrientation(self)
11331 r"""GetOrientationDegrees(PAD self) -> double"""
11332 return _pcbnew.PAD_GetOrientationDegrees(self)
11335 r"""GetOrientationRadians(PAD self) -> double"""
11336 return _pcbnew.PAD_GetOrientationRadians(self)
11339 r"""SetDrillShape(PAD self, PAD_DRILL_SHAPE_T aShape)"""
11340 return _pcbnew.PAD_SetDrillShape(self, aShape)
11343 r"""GetDrillShape(PAD self) -> PAD_DRILL_SHAPE_T"""
11344 return _pcbnew.PAD_GetDrillShape(self)
11347 r"""IsDirty(PAD self) -> bool"""
11348 return _pcbnew.PAD_IsDirty(self)
11351 r"""SetDirty(PAD self)"""
11352 return _pcbnew.PAD_SetDirty(self)
11355 r"""SetLayerSet(PAD self, LSET aLayers)"""
11356 return _pcbnew.PAD_SetLayerSet(self, aLayers)
11359 r"""GetLayerSet(PAD self) -> LSET"""
11360 return _pcbnew.PAD_GetLayerSet(self)
11363 r"""SetAttribute(PAD self, PAD_ATTRIB aAttribute)"""
11364 return _pcbnew.PAD_SetAttribute(self, aAttribute)
11367 r"""GetAttribute(PAD self) -> PAD_ATTRIB"""
11368 return _pcbnew.PAD_GetAttribute(self)
11371 r"""SetProperty(PAD self, PAD_PROP aProperty)"""
11372 return _pcbnew.PAD_SetProperty(self, aProperty)
11375 r"""GetProperty(PAD self) -> PAD_PROP"""
11376 return _pcbnew.PAD_GetProperty(self)
11379 r"""IsAperturePad(PAD self) -> bool"""
11380 return _pcbnew.PAD_IsAperturePad(self)
11383 r"""SetPadToDieLength(PAD self, int aLength)"""
11384 return _pcbnew.PAD_SetPadToDieLength(self, aLength)
11387 r"""GetPadToDieLength(PAD self) -> int"""
11388 return _pcbnew.PAD_GetPadToDieLength(self)
11391 r"""GetLocalSolderMaskMargin(PAD self) -> int"""
11392 return _pcbnew.PAD_GetLocalSolderMaskMargin(self)
11395 r"""SetLocalSolderMaskMargin(PAD self, int aMargin)"""
11396 return _pcbnew.PAD_SetLocalSolderMaskMargin(self, aMargin)
11403 return _pcbnew.PAD_GetLocalClearance(self, *args)
11406 r"""SetLocalClearance(PAD self, int aClearance)"""
11407 return _pcbnew.PAD_SetLocalClearance(self, aClearance)
11410 r"""GetOwnClearance(PAD self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
11411 return _pcbnew.PAD_GetOwnClearance(self, aLayer, aSource)
11414 r"""GetLocalSolderPasteMargin(PAD self) -> int"""
11415 return _pcbnew.PAD_GetLocalSolderPasteMargin(self)
11418 r"""SetLocalSolderPasteMargin(PAD self, int aMargin)"""
11419 return _pcbnew.PAD_SetLocalSolderPasteMargin(self, aMargin)
11422 r"""GetLocalSolderPasteMarginRatio(PAD self) -> double"""
11423 return _pcbnew.PAD_GetLocalSolderPasteMarginRatio(self)
11426 r"""SetLocalSolderPasteMarginRatio(PAD self, double aRatio)"""
11427 return _pcbnew.PAD_SetLocalSolderPasteMarginRatio(self, aRatio)
11429 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aClearanceValue:
"int", aMaxError:
"int", aErrorLoc:
"ERROR_LOC", ignoreLineWidth:
"bool"=
False) ->
"void":
11430 r"""TransformShapeWithClearanceToPolygon(PAD self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aMaxError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
11431 return _pcbnew.PAD_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearanceValue, aMaxError, aErrorLoc, ignoreLineWidth)
11434 r"""TransformHoleWithClearanceToPolygon(PAD self, SHAPE_POLY_SET aCornerBuffer, int aInflateValue, int aError, ERROR_LOC aErrorLoc) -> bool"""
11435 return _pcbnew.PAD_TransformHoleWithClearanceToPolygon(self, aCornerBuffer, aInflateValue, aError, aErrorLoc)
11438 r"""GetEffectiveShape(PAD self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING flashPTHPads=DEFAULT) -> std::shared_ptr< SHAPE >"""
11439 return _pcbnew.PAD_GetEffectiveShape(self, *args)
11442 r"""GetEffectivePolygon(PAD self) -> std::shared_ptr< SHAPE_POLY_SET > const &"""
11443 return _pcbnew.PAD_GetEffectivePolygon(self)
11446 r"""GetEffectiveHoleShape(PAD self) -> SHAPE_SEGMENT const *"""
11447 return _pcbnew.PAD_GetEffectiveHoleShape(self)
11450 r"""GetBoundingRadius(PAD self) -> int"""
11451 return _pcbnew.PAD_GetBoundingRadius(self)
11454 r"""GetLocalClearanceOverrides(PAD self, wxString aSource) -> int"""
11455 return _pcbnew.PAD_GetLocalClearanceOverrides(self, aSource)
11458 r"""GetSolderMaskMargin(PAD self) -> int"""
11459 return _pcbnew.PAD_GetSolderMaskMargin(self)
11462 r"""GetSolderPasteMargin(PAD self) -> wxSize"""
11463 return _pcbnew.PAD_GetSolderPasteMargin(self)
11466 r"""SetZoneConnection(PAD self, ZONE_CONNECTION aType)"""
11467 return _pcbnew.PAD_SetZoneConnection(self, aType)
11470 r"""GetZoneConnection(PAD self) -> ZONE_CONNECTION"""
11471 return _pcbnew.PAD_GetZoneConnection(self)
11474 r"""GetEffectiveZoneConnection(PAD self, wxString aSource=None) -> ZONE_CONNECTION"""
11475 return _pcbnew.PAD_GetEffectiveZoneConnection(self, aSource)
11478 r"""SetThermalSpokeWidth(PAD self, int aWidth)"""
11479 return _pcbnew.PAD_SetThermalSpokeWidth(self, aWidth)
11482 r"""GetThermalSpokeWidth(PAD self) -> int"""
11483 return _pcbnew.PAD_GetThermalSpokeWidth(self)
11486 r"""GetEffectiveThermalSpokeWidth(PAD self, wxString aSource=None) -> int"""
11487 return _pcbnew.PAD_GetEffectiveThermalSpokeWidth(self, aSource)
11490 r"""SetThermalGap(PAD self, int aGap)"""
11491 return _pcbnew.PAD_SetThermalGap(self, aGap)
11494 r"""GetThermalGap(PAD self) -> int"""
11495 return _pcbnew.PAD_GetThermalGap(self)
11498 r"""GetEffectiveThermalGap(PAD self, wxString aSource=None) -> int"""
11499 return _pcbnew.PAD_GetEffectiveThermalGap(self, aSource)
11502 r"""SetRoundRectCornerRadius(PAD self, double aRadius)"""
11503 return _pcbnew.PAD_SetRoundRectCornerRadius(self, aRadius)
11506 r"""GetRoundRectCornerRadius(PAD self) -> int"""
11507 return _pcbnew.PAD_GetRoundRectCornerRadius(self)
11510 r"""ShapePos(PAD self) -> wxPoint"""
11511 return _pcbnew.PAD_ShapePos(self)
11514 r"""SetRoundRectRadiusRatio(PAD self, double aRadiusScale)"""
11515 return _pcbnew.PAD_SetRoundRectRadiusRatio(self, aRadiusScale)
11518 r"""GetRoundRectRadiusRatio(PAD self) -> double"""
11519 return _pcbnew.PAD_GetRoundRectRadiusRatio(self)
11522 r"""SetChamferRectRatio(PAD self, double aChamferScale)"""
11523 return _pcbnew.PAD_SetChamferRectRatio(self, aChamferScale)
11526 r"""GetChamferRectRatio(PAD self) -> double"""
11527 return _pcbnew.PAD_GetChamferRectRatio(self)
11530 r"""SetChamferPositions(PAD self, int aPositions)"""
11531 return _pcbnew.PAD_SetChamferPositions(self, aPositions)
11534 r"""GetChamferPositions(PAD self) -> int"""
11535 return _pcbnew.PAD_GetChamferPositions(self)
11538 r"""GetSubRatsnest(PAD self) -> int"""
11539 return _pcbnew.PAD_GetSubRatsnest(self)
11542 r"""SetSubRatsnest(PAD self, int aSubRatsnest)"""
11543 return _pcbnew.PAD_SetSubRatsnest(self, aSubRatsnest)
11546 r"""SetRemoveUnconnected(PAD self, bool aSet)"""
11547 return _pcbnew.PAD_SetRemoveUnconnected(self, aSet)
11550 r"""GetRemoveUnconnected(PAD self) -> bool"""
11551 return _pcbnew.PAD_GetRemoveUnconnected(self)
11554 r"""SetKeepTopBottom(PAD self, bool aSet)"""
11555 return _pcbnew.PAD_SetKeepTopBottom(self, aSet)
11558 r"""GetKeepTopBottom(PAD self) -> bool"""
11559 return _pcbnew.PAD_GetKeepTopBottom(self)
11561 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
11562 r"""GetMsgPanelInfo(PAD self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
11563 return _pcbnew.PAD_GetMsgPanelInfo(self, aFrame, aList)
11566 r"""IsOnLayer(PAD self, PCB_LAYER_ID aLayer) -> bool"""
11567 return _pcbnew.PAD_IsOnLayer(self, aLayer)
11574 return _pcbnew.PAD_FlashLayer(self, *args)
11578 HitTest(PAD self, wxPoint aPosition, int aAccuracy=0) -> bool
11579 HitTest(PAD self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
11581 return _pcbnew.PAD_HitTest(self, *args)
11584 r"""GetClass(PAD self) -> wxString"""
11585 return _pcbnew.PAD_GetClass(self)
11588 r"""GetBoundingBox(PAD self) -> EDA_RECT"""
11589 return _pcbnew.PAD_GetBoundingBox(self)
11592 r"""SetDrawCoord(PAD self)"""
11593 return _pcbnew.PAD_SetDrawCoord(self)
11596 r"""SetLocalCoord(PAD self)"""
11597 return _pcbnew.PAD_SetLocalCoord(self)
11601 r"""Compare(PAD aPadRef, PAD aPadCmp) -> int"""
11602 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
11604 def Move(self, aMoveVector:
"wxPoint") ->
"void":
11605 r"""Move(PAD self, wxPoint aMoveVector)"""
11606 return _pcbnew.PAD_Move(self, aMoveVector)
11608 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
11609 r"""Rotate(PAD self, wxPoint aRotCentre, double aAngle)"""
11610 return _pcbnew.PAD_Rotate(self, aRotCentre, aAngle)
11613 r"""GetSelectMenuText(PAD self, EDA_UNITS aUnits) -> wxString"""
11614 return _pcbnew.PAD_GetSelectMenuText(self, aUnits)
11617 r"""GetMenuImage(PAD self) -> BITMAPS"""
11618 return _pcbnew.PAD_GetMenuImage(self)
11621 r"""ShowPadShape(PAD self) -> wxString"""
11622 return _pcbnew.PAD_ShowPadShape(self)
11625 r"""ShowPadAttr(PAD self) -> wxString"""
11626 return _pcbnew.PAD_ShowPadAttr(self)
11629 r"""Clone(PAD self) -> EDA_ITEM"""
11630 return _pcbnew.PAD_Clone(self)
11633 r"""ClonePad(PAD self) -> PAD"""
11634 return _pcbnew.PAD_ClonePad(self)
11637 r"""BuildEffectiveShapes(PAD self, PCB_LAYER_ID aLayer)"""
11638 return _pcbnew.PAD_BuildEffectiveShapes(self, aLayer)
11641 r"""BuildEffectivePolygon(PAD self)"""
11642 return _pcbnew.PAD_BuildEffectivePolygon(self)
11645 r"""ViewGetLayers(PAD self, int [] aLayers, int & aCount)"""
11646 return _pcbnew.PAD_ViewGetLayers(self, aLayers, aCount)
11648 def ViewGetLOD(self, aLayer:
"int", aView:
"KIGFX::VIEW *") ->
"double":
11649 r"""ViewGetLOD(PAD self, int aLayer, KIGFX::VIEW * aView) -> double"""
11650 return _pcbnew.PAD_ViewGetLOD(self, aLayer, aView)
11653 r"""ViewBBox(PAD self) -> BOX2I const"""
11654 return _pcbnew.PAD_ViewBBox(self)
11657 r"""SwapData(PAD self, BOARD_ITEM aImage)"""
11658 return _pcbnew.PAD_SwapData(self, aImage)
11684 elif len(args) == 3:
11685 if type(args[1]
in [wxPoint,wxSize]):
11689 elif len(args) == 4:
11691 elif len(args) == 5:
11694 raise TypeError(
"Arguments not recognized.")
11702 __swig_destroy__ = _pcbnew.delete_PAD
11705_pcbnew.PAD_swigregister(PAD)
11708 r"""PAD_PTHMask() -> LSET"""
11709 return _pcbnew.PAD_PTHMask()
11712 r"""PAD_SMDMask() -> LSET"""
11713 return _pcbnew.PAD_SMDMask()
11716 r"""PAD_ConnSMDMask() -> LSET"""
11717 return _pcbnew.PAD_ConnSMDMask()
11720 r"""PAD_UnplatedHoleMask() -> LSET"""
11721 return _pcbnew.PAD_UnplatedHoleMask()
11724 r"""PAD_ApertureMask() -> LSET"""
11725 return _pcbnew.PAD_ApertureMask()
11728 r"""PAD_ClassOf(EDA_ITEM aItem) -> bool"""
11729 return _pcbnew.PAD_ClassOf(aItem)
11732 r"""PAD_Compare(PAD aPadRef, PAD aPadCmp) -> int"""
11733 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
11735ENDPOINT_START = _pcbnew.ENDPOINT_START
11737ENDPOINT_END = _pcbnew.ENDPOINT_END
11739VIATYPE_THROUGH = _pcbnew.VIATYPE_THROUGH
11741VIATYPE_BLIND_BURIED = _pcbnew.VIATYPE_BLIND_BURIED
11743VIATYPE_MICROVIA = _pcbnew.VIATYPE_MICROVIA
11745VIATYPE_NOT_DEFINED = _pcbnew.VIATYPE_NOT_DEFINED
11747UNDEFINED_DRILL_DIAMETER = _pcbnew.UNDEFINED_DRILL_DIAMETER
11750 r"""Proxy of C++ PCB_TRACK class."""
11752 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11753 __repr__ = _swig_repr
11757 r"""ClassOf(EDA_ITEM aItem) -> bool"""
11758 return _pcbnew.PCB_TRACK_ClassOf(aItem)
11760 def __init__(self, aParent:
"BOARD_ITEM", idtype:
"KICAD_T"=PCB_TRACE_T):
11761 r"""__init__(PCB_TRACK self, BOARD_ITEM aParent, KICAD_T idtype=PCB_TRACE_T) -> PCB_TRACK"""
11762 _pcbnew.PCB_TRACK_swiginit(self, _pcbnew.new_PCB_TRACK(aParent, idtype))
11764 def Move(self, aMoveVector:
"wxPoint") ->
"void":
11765 r"""Move(PCB_TRACK self, wxPoint aMoveVector)"""
11766 return _pcbnew.PCB_TRACK_Move(self, aMoveVector)
11768 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
11769 r"""Rotate(PCB_TRACK self, wxPoint aRotCentre, double aAngle)"""
11770 return _pcbnew.PCB_TRACK_Rotate(self, aRotCentre, aAngle)
11772 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
11773 r"""Flip(PCB_TRACK self, wxPoint aCentre, bool aFlipLeftRight)"""
11774 return _pcbnew.PCB_TRACK_Flip(self, aCentre, aFlipLeftRight)
11777 r"""SetPosition(PCB_TRACK self, wxPoint aPos)"""
11778 return _pcbnew.PCB_TRACK_SetPosition(self, aPos)
11781 r"""GetPosition(PCB_TRACK self) -> wxPoint"""
11782 return _pcbnew.PCB_TRACK_GetPosition(self)
11785 r"""GetFocusPosition(PCB_TRACK self) -> wxPoint"""
11786 return _pcbnew.PCB_TRACK_GetFocusPosition(self)
11789 r"""SetWidth(PCB_TRACK self, int aWidth)"""
11790 return _pcbnew.PCB_TRACK_SetWidth(self, aWidth)
11793 r"""GetWidth(PCB_TRACK self) -> int"""
11794 return _pcbnew.PCB_TRACK_GetWidth(self)
11797 r"""SetEnd(PCB_TRACK self, wxPoint aEnd)"""
11798 return _pcbnew.PCB_TRACK_SetEnd(self, aEnd)
11801 r"""GetEnd(PCB_TRACK self) -> wxPoint"""
11802 return _pcbnew.PCB_TRACK_GetEnd(self)
11805 r"""SetStart(PCB_TRACK self, wxPoint aStart)"""
11806 return _pcbnew.PCB_TRACK_SetStart(self, aStart)
11809 r"""GetStart(PCB_TRACK self) -> wxPoint"""
11810 return _pcbnew.PCB_TRACK_GetStart(self)
11813 r"""SetEndX(PCB_TRACK self, int aX)"""
11814 return _pcbnew.PCB_TRACK_SetEndX(self, aX)
11817 r"""SetEndY(PCB_TRACK self, int aY)"""
11818 return _pcbnew.PCB_TRACK_SetEndY(self, aY)
11821 r"""GetEndX(PCB_TRACK self) -> int"""
11822 return _pcbnew.PCB_TRACK_GetEndX(self)
11825 r"""GetEndY(PCB_TRACK self) -> int"""
11826 return _pcbnew.PCB_TRACK_GetEndY(self)
11829 r"""GetEndPoint(PCB_TRACK self, ENDPOINT_T aEndPoint) -> wxPoint"""
11830 return _pcbnew.PCB_TRACK_GetEndPoint(self, aEndPoint)
11833 r"""GetBoundingBox(PCB_TRACK self) -> EDA_RECT"""
11834 return _pcbnew.PCB_TRACK_GetBoundingBox(self)
11837 r"""GetLength(PCB_TRACK self) -> double"""
11838 return _pcbnew.PCB_TRACK_GetLength(self)
11840 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aClearanceValue:
"int", aError:
"int", aErrorLoc:
"ERROR_LOC", ignoreLineWidth:
"bool"=
False) ->
"void":
11841 r"""TransformShapeWithClearanceToPolygon(PCB_TRACK self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
11842 return _pcbnew.PCB_TRACK_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearanceValue, aError, aErrorLoc, ignoreLineWidth)
11845 r"""GetEffectiveShape(PCB_TRACK self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
11846 return _pcbnew.PCB_TRACK_GetEffectiveShape(self, *args)
11849 r"""IsPointOnEnds(PCB_TRACK self, wxPoint point, int min_dist=0) -> EDA_ITEM_FLAGS"""
11850 return _pcbnew.PCB_TRACK_IsPointOnEnds(self, point, min_dist)
11853 r"""IsNull(PCB_TRACK self) -> bool"""
11854 return _pcbnew.PCB_TRACK_IsNull(self)
11856 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
11857 r"""GetMsgPanelInfo(PCB_TRACK self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
11858 return _pcbnew.PCB_TRACK_GetMsgPanelInfo(self, aFrame, aList)
11860 def Visit(self, inspector:
"INSPECTOR", testData:
"void *", scanTypes:
"KICAD_T const []") ->
"SEARCH_RESULT":
11861 r"""Visit(PCB_TRACK self, INSPECTOR inspector, void * testData, KICAD_T const [] scanTypes) -> SEARCH_RESULT"""
11862 return _pcbnew.PCB_TRACK_Visit(self, inspector, testData, scanTypes)
11866 HitTest(PCB_TRACK self, wxPoint aPosition, int aAccuracy=0) -> bool
11867 HitTest(PCB_TRACK self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
11869 return _pcbnew.PCB_TRACK_HitTest(self, *args)
11872 r"""ApproxCollinear(PCB_TRACK self, PCB_TRACK aTrack) -> bool"""
11873 return _pcbnew.PCB_TRACK_ApproxCollinear(self, aTrack)
11876 r"""GetClass(PCB_TRACK self) -> wxString"""
11877 return _pcbnew.PCB_TRACK_GetClass(self)
11880 r"""GetLocalClearance(PCB_TRACK self, wxString aSource) -> int"""
11881 return _pcbnew.PCB_TRACK_GetLocalClearance(self, aSource)
11884 r"""GetSelectMenuText(PCB_TRACK self, EDA_UNITS aUnits) -> wxString"""
11885 return _pcbnew.PCB_TRACK_GetSelectMenuText(self, aUnits)
11888 r"""GetMenuImage(PCB_TRACK self) -> BITMAPS"""
11889 return _pcbnew.PCB_TRACK_GetMenuImage(self)
11892 r"""Clone(PCB_TRACK self) -> EDA_ITEM"""
11893 return _pcbnew.PCB_TRACK_Clone(self)
11896 r"""ViewGetLayers(PCB_TRACK self, int [] aLayers, int & aCount)"""
11897 return _pcbnew.PCB_TRACK_ViewGetLayers(self, aLayers, aCount)
11899 def ViewGetLOD(self, aLayer:
"int", aView:
"KIGFX::VIEW *") ->
"double":
11900 r"""ViewGetLOD(PCB_TRACK self, int aLayer, KIGFX::VIEW * aView) -> double"""
11901 return _pcbnew.PCB_TRACK_ViewGetLOD(self, aLayer, aView)
11904 r"""ViewBBox(PCB_TRACK self) -> BOX2I const"""
11905 return _pcbnew.PCB_TRACK_ViewBBox(self)
11908 r"""SwapData(PCB_TRACK self, BOARD_ITEM aImage)"""
11909 return _pcbnew.PCB_TRACK_SwapData(self, aImage)
11912 r"""IsOnCopperLayer(PCB_TRACK self) -> bool"""
11913 return _pcbnew.PCB_TRACK_IsOnCopperLayer(self)
11914 __swig_destroy__ = _pcbnew.delete_PCB_TRACK
11917_pcbnew.PCB_TRACK_swigregister(PCB_TRACK)
11920 r"""PCB_TRACK_ClassOf(EDA_ITEM aItem) -> bool"""
11921 return _pcbnew.PCB_TRACK_ClassOf(aItem)
11924 r"""Proxy of C++ PCB_ARC class."""
11926 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11927 __repr__ = _swig_repr
11931 __init__(PCB_ARC self, BOARD_ITEM aParent) -> PCB_ARC
11932 __init__(PCB_ARC self, BOARD_ITEM aParent, SHAPE_ARC const * aArc) -> PCB_ARC
11934 _pcbnew.PCB_ARC_swiginit(self, _pcbnew.new_PCB_ARC(*args))
11938 r"""ClassOf(EDA_ITEM aItem) -> bool"""
11939 return _pcbnew.PCB_ARC_ClassOf(aItem)
11941 def Move(self, aMoveVector:
"wxPoint") ->
"void":
11942 r"""Move(PCB_ARC self, wxPoint aMoveVector)"""
11943 return _pcbnew.PCB_ARC_Move(self, aMoveVector)
11945 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
11946 r"""Rotate(PCB_ARC self, wxPoint aRotCentre, double aAngle)"""
11947 return _pcbnew.PCB_ARC_Rotate(self, aRotCentre, aAngle)
11949 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
11950 r"""Flip(PCB_ARC self, wxPoint aCentre, bool aFlipLeftRight)"""
11951 return _pcbnew.PCB_ARC_Flip(self, aCentre, aFlipLeftRight)
11954 r"""SetMid(PCB_ARC self, wxPoint aMid)"""
11955 return _pcbnew.PCB_ARC_SetMid(self, aMid)
11958 r"""GetMid(PCB_ARC self) -> wxPoint"""
11959 return _pcbnew.PCB_ARC_GetMid(self)
11962 r"""SetPosition(PCB_ARC self, wxPoint aPos)"""
11963 return _pcbnew.PCB_ARC_SetPosition(self, aPos)
11966 r"""GetPosition(PCB_ARC self) -> wxPoint"""
11967 return _pcbnew.PCB_ARC_GetPosition(self)
11970 r"""GetCenter(PCB_ARC self) -> wxPoint"""
11971 return _pcbnew.PCB_ARC_GetCenter(self)
11974 r"""GetRadius(PCB_ARC self) -> double"""
11975 return _pcbnew.PCB_ARC_GetRadius(self)
11978 r"""GetAngle(PCB_ARC self) -> double"""
11979 return _pcbnew.PCB_ARC_GetAngle(self)
11982 r"""GetArcAngleStart(PCB_ARC self) -> double"""
11983 return _pcbnew.PCB_ARC_GetArcAngleStart(self)
11986 r"""GetArcAngleEnd(PCB_ARC self) -> double"""
11987 return _pcbnew.PCB_ARC_GetArcAngleEnd(self)
11991 HitTest(PCB_ARC self, wxPoint aPosition, int aAccuracy=0) -> bool
11992 HitTest(PCB_ARC self, EDA_RECT aRect, bool aContained=True, int aAccuracy=0) -> bool
11994 return _pcbnew.PCB_ARC_HitTest(self, *args)
11997 r"""GetClass(PCB_ARC self) -> wxString"""
11998 return _pcbnew.PCB_ARC_GetClass(self)
12001 r"""GetEffectiveShape(PCB_ARC self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
12002 return _pcbnew.PCB_ARC_GetEffectiveShape(self, *args)
12005 r"""GetLength(PCB_ARC self) -> double"""
12006 return _pcbnew.PCB_ARC_GetLength(self)
12009 r"""Clone(PCB_ARC self) -> EDA_ITEM"""
12010 return _pcbnew.PCB_ARC_Clone(self)
12013 r"""SwapData(PCB_ARC self, BOARD_ITEM aImage)"""
12014 return _pcbnew.PCB_ARC_SwapData(self, aImage)
12015 __swig_destroy__ = _pcbnew.delete_PCB_ARC
12018_pcbnew.PCB_ARC_swigregister(PCB_ARC)
12021 r"""PCB_ARC_ClassOf(EDA_ITEM aItem) -> bool"""
12022 return _pcbnew.PCB_ARC_ClassOf(aItem)
12025 r"""Proxy of C++ PCB_VIA class."""
12027 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12028 __repr__ = _swig_repr
12031 r"""__init__(PCB_VIA self, BOARD_ITEM aParent) -> PCB_VIA"""
12032 _pcbnew.PCB_VIA_swiginit(self, _pcbnew.new_PCB_VIA(aParent))
12036 r"""ClassOf(EDA_ITEM aItem) -> bool"""
12037 return _pcbnew.PCB_VIA_ClassOf(aItem)
12039 def IsType(self, aScanTypes:
"KICAD_T const []") ->
"bool":
12040 r"""IsType(PCB_VIA self, KICAD_T const [] aScanTypes) -> bool"""
12041 return _pcbnew.PCB_VIA_IsType(self, aScanTypes)
12044 r"""GetViaType(PCB_VIA self) -> VIATYPE"""
12045 return _pcbnew.PCB_VIA_GetViaType(self)
12048 r"""SetViaType(PCB_VIA self, VIATYPE aViaType)"""
12049 return _pcbnew.PCB_VIA_SetViaType(self, aViaType)
12052 r"""IsOnLayer(PCB_VIA self, PCB_LAYER_ID aLayer) -> bool"""
12053 return _pcbnew.PCB_VIA_IsOnLayer(self, aLayer)
12056 r"""GetLayerSet(PCB_VIA self) -> LSET"""
12057 return _pcbnew.PCB_VIA_GetLayerSet(self)
12060 r"""SetLayerSet(PCB_VIA self, LSET aLayers)"""
12061 return _pcbnew.PCB_VIA_SetLayerSet(self, aLayers)
12063 def SetLayerPair(self, aTopLayer:
"PCB_LAYER_ID", aBottomLayer:
"PCB_LAYER_ID") ->
"void":
12064 r"""SetLayerPair(PCB_VIA self, PCB_LAYER_ID aTopLayer, PCB_LAYER_ID aBottomLayer)"""
12065 return _pcbnew.PCB_VIA_SetLayerPair(self, aTopLayer, aBottomLayer)
12068 r"""SetBottomLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
12069 return _pcbnew.PCB_VIA_SetBottomLayer(self, aLayer)
12072 r"""SetTopLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
12073 return _pcbnew.PCB_VIA_SetTopLayer(self, aLayer)
12075 def LayerPair(self, top_layer:
"PCB_LAYER_ID *", bottom_layer:
"PCB_LAYER_ID *") ->
"void":
12076 r"""LayerPair(PCB_VIA self, PCB_LAYER_ID * top_layer, PCB_LAYER_ID * bottom_layer)"""
12077 return _pcbnew.PCB_VIA_LayerPair(self, top_layer, bottom_layer)
12080 r"""TopLayer(PCB_VIA self) -> PCB_LAYER_ID"""
12081 return _pcbnew.PCB_VIA_TopLayer(self)
12084 r"""BottomLayer(PCB_VIA self) -> PCB_LAYER_ID"""
12085 return _pcbnew.PCB_VIA_BottomLayer(self)
12088 r"""SanitizeLayers(PCB_VIA self)"""
12089 return _pcbnew.PCB_VIA_SanitizeLayers(self)
12092 r"""GetPosition(PCB_VIA self) -> wxPoint"""
12093 return _pcbnew.PCB_VIA_GetPosition(self)
12096 r"""SetPosition(PCB_VIA self, wxPoint aPoint)"""
12097 return _pcbnew.PCB_VIA_SetPosition(self, aPoint)
12099 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
12100 r"""GetMsgPanelInfo(PCB_VIA self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
12101 return _pcbnew.PCB_VIA_GetMsgPanelInfo(self, aFrame, aList)
12105 HitTest(PCB_VIA self, wxPoint aPosition, int aAccuracy=0) -> bool
12106 HitTest(PCB_VIA self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
12108 return _pcbnew.PCB_VIA_HitTest(self, *args)
12111 r"""GetClass(PCB_VIA self) -> wxString"""
12112 return _pcbnew.PCB_VIA_GetClass(self)
12115 r"""GetSelectMenuText(PCB_VIA self, EDA_UNITS aUnits) -> wxString"""
12116 return _pcbnew.PCB_VIA_GetSelectMenuText(self, aUnits)
12119 r"""GetMenuImage(PCB_VIA self) -> BITMAPS"""
12120 return _pcbnew.PCB_VIA_GetMenuImage(self)
12123 r"""Clone(PCB_VIA self) -> EDA_ITEM"""
12124 return _pcbnew.PCB_VIA_Clone(self)
12127 r"""ViewGetLayers(PCB_VIA self, int [] aLayers, int & aCount)"""
12128 return _pcbnew.PCB_VIA_ViewGetLayers(self, aLayers, aCount)
12130 def ViewGetLOD(self, aLayer:
"int", aView:
"KIGFX::VIEW *") ->
"double":
12131 r"""ViewGetLOD(PCB_VIA self, int aLayer, KIGFX::VIEW * aView) -> double"""
12132 return _pcbnew.PCB_VIA_ViewGetLOD(self, aLayer, aView)
12134 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
12135 r"""Flip(PCB_VIA self, wxPoint aCentre, bool aFlipLeftRight)"""
12136 return _pcbnew.PCB_VIA_Flip(self, aCentre, aFlipLeftRight)
12139 r"""GetMinAnnulus(PCB_VIA self, PCB_LAYER_ID aLayer, wxString aSource) -> int"""
12140 return _pcbnew.PCB_VIA_GetMinAnnulus(self, aLayer, aSource)
12143 r"""SetRemoveUnconnected(PCB_VIA self, bool aSet)"""
12144 return _pcbnew.PCB_VIA_SetRemoveUnconnected(self, aSet)
12147 r"""GetRemoveUnconnected(PCB_VIA self) -> bool"""
12148 return _pcbnew.PCB_VIA_GetRemoveUnconnected(self)
12151 r"""SetKeepTopBottom(PCB_VIA self, bool aSet)"""
12152 return _pcbnew.PCB_VIA_SetKeepTopBottom(self, aSet)
12155 r"""GetKeepTopBottom(PCB_VIA self) -> bool"""
12156 return _pcbnew.PCB_VIA_GetKeepTopBottom(self)
12160 FlashLayer(PCB_VIA self, int aLayer) -> bool
12161 FlashLayer(PCB_VIA self, LSET aLayers) -> bool
12163 return _pcbnew.PCB_VIA_FlashLayer(self, *args)
12166 r"""SetDrill(PCB_VIA self, int aDrill)"""
12167 return _pcbnew.PCB_VIA_SetDrill(self, aDrill)
12170 r"""GetDrill(PCB_VIA self) -> int"""
12171 return _pcbnew.PCB_VIA_GetDrill(self)
12174 r"""GetDrillValue(PCB_VIA self) -> int"""
12175 return _pcbnew.PCB_VIA_GetDrillValue(self)
12178 r"""SetDrillDefault(PCB_VIA self)"""
12179 return _pcbnew.PCB_VIA_SetDrillDefault(self)
12182 r"""GetIsFree(PCB_VIA self) -> bool"""
12183 return _pcbnew.PCB_VIA_GetIsFree(self)
12186 r"""SetIsFree(PCB_VIA self, bool aFree=True)"""
12187 return _pcbnew.PCB_VIA_SetIsFree(self, aFree)
12190 r"""IsDrillDefault(PCB_VIA self) -> bool"""
12191 return _pcbnew.PCB_VIA_IsDrillDefault(self)
12194 r"""SwapData(PCB_VIA self, BOARD_ITEM aImage)"""
12195 return _pcbnew.PCB_VIA_SwapData(self, aImage)
12198 r"""GetEffectiveShape(PCB_VIA self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
12199 return _pcbnew.PCB_VIA_GetEffectiveShape(self, *args)
12200 __swig_destroy__ = _pcbnew.delete_PCB_VIA
12203_pcbnew.PCB_VIA_swigregister(PCB_VIA)
12206 r"""PCB_VIA_ClassOf(EDA_ITEM aItem) -> bool"""
12207 return _pcbnew.PCB_VIA_ClassOf(aItem)
12210 r"""Proxy of C++ ZONE class."""
12212 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12213 __repr__ = _swig_repr
12217 __init__(ZONE self, BOARD_ITEM_CONTAINER parent, bool aInFP=False) -> ZONE
12218 __init__(ZONE self, ZONE aZone) -> ZONE
12220 _pcbnew.ZONE_swiginit(self, _pcbnew.new_ZONE(*args))
12221 __swig_destroy__ = _pcbnew.delete_ZONE
12225 r"""ClassOf(EDA_ITEM aItem) -> bool"""
12226 return _pcbnew.ZONE_ClassOf(aItem)
12229 r"""IsConnected(ZONE self) -> bool"""
12230 return _pcbnew.ZONE_IsConnected(self)
12233 r"""GetNetClass(ZONE self) -> NETCLASS *"""
12234 return _pcbnew.ZONE_GetNetClass(self)
12237 r"""GetNetClassName(ZONE self) -> wxString"""
12238 return _pcbnew.ZONE_GetNetClassName(self)
12241 r"""InitDataFromSrcInCopyCtor(ZONE self, ZONE aZone)"""
12242 return _pcbnew.ZONE_InitDataFromSrcInCopyCtor(self, aZone)
12245 r"""GetPosition(ZONE self) -> wxPoint"""
12246 return _pcbnew.ZONE_GetPosition(self)
12249 r"""SetPosition(ZONE self, wxPoint aPos)"""
12250 return _pcbnew.ZONE_SetPosition(self, aPos)
12253 r"""SetPriority(ZONE self, unsigned int aPriority)"""
12254 return _pcbnew.ZONE_SetPriority(self, aPriority)
12257 r"""GetPriority(ZONE self) -> unsigned int"""
12258 return _pcbnew.ZONE_GetPriority(self)
12261 r"""HigherPriority(ZONE self, ZONE aOther) -> bool"""
12262 return _pcbnew.ZONE_HigherPriority(self, aOther)
12265 r"""SameNet(ZONE self, ZONE aOther) -> bool"""
12266 return _pcbnew.ZONE_SameNet(self, aOther)
12268 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
12269 r"""GetMsgPanelInfo(ZONE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
12270 return _pcbnew.ZONE_GetMsgPanelInfo(self, aFrame, aList)
12273 r"""SetLayerSet(ZONE self, LSET aLayerSet)"""
12274 return _pcbnew.ZONE_SetLayerSet(self, aLayerSet)
12277 r"""GetLayerSet(ZONE self) -> LSET"""
12278 return _pcbnew.ZONE_GetLayerSet(self)
12281 r"""GetZoneName(ZONE self) -> wxString"""
12282 return _pcbnew.ZONE_GetZoneName(self)
12285 r"""SetZoneName(ZONE self, wxString aName)"""
12286 return _pcbnew.ZONE_SetZoneName(self, aName)
12288 def Matches(self, aSearchData:
"wxFindReplaceData const &", aAuxData:
"void *") ->
"bool":
12289 r"""Matches(ZONE self, wxFindReplaceData const & aSearchData, void * aAuxData) -> bool"""
12290 return _pcbnew.ZONE_Matches(self, aSearchData, aAuxData)
12293 r"""GetBoundingBox(ZONE self) -> EDA_RECT"""
12294 return _pcbnew.ZONE_GetBoundingBox(self)
12297 r"""GetCachedBoundingBox(ZONE self) -> EDA_RECT"""
12298 return _pcbnew.ZONE_GetCachedBoundingBox(self)
12301 r"""CacheBoundingBox(ZONE self)"""
12302 return _pcbnew.ZONE_CacheBoundingBox(self)
12309 return _pcbnew.ZONE_GetLocalClearance(self, *args)
12312 r"""SetLocalClearance(ZONE self, int aClearance)"""
12313 return _pcbnew.ZONE_SetLocalClearance(self, aClearance)
12316 r"""IsOnCopperLayer(ZONE self) -> bool"""
12317 return _pcbnew.ZONE_IsOnCopperLayer(self)
12320 r"""CommonLayerExists(ZONE self, LSET aLayerSet) -> bool"""
12321 return _pcbnew.ZONE_CommonLayerExists(self, aLayerSet)
12324 r"""SetLayer(ZONE self, PCB_LAYER_ID aLayer)"""
12325 return _pcbnew.ZONE_SetLayer(self, aLayer)
12328 r"""GetLayer(ZONE self) -> PCB_LAYER_ID"""
12329 return _pcbnew.ZONE_GetLayer(self)
12332 r"""IsOnLayer(ZONE self, PCB_LAYER_ID arg2) -> bool"""
12333 return _pcbnew.ZONE_IsOnLayer(self, arg2)
12336 r"""ViewGetLayers(ZONE self, int [] aLayers, int & aCount)"""
12337 return _pcbnew.ZONE_ViewGetLayers(self, aLayers, aCount)
12339 def ViewGetLOD(self, aLayer:
"int", aView:
"KIGFX::VIEW *") ->
"double":
12340 r"""ViewGetLOD(ZONE self, int aLayer, KIGFX::VIEW * aView) -> double"""
12341 return _pcbnew.ZONE_ViewGetLOD(self, aLayer, aView)
12344 r"""SetFillMode(ZONE self, ZONE_FILL_MODE aFillMode)"""
12345 return _pcbnew.ZONE_SetFillMode(self, aFillMode)
12348 r"""GetFillMode(ZONE self) -> ZONE_FILL_MODE"""
12349 return _pcbnew.ZONE_GetFillMode(self)
12352 r"""SetThermalReliefGap(ZONE self, int aThermalReliefGap)"""
12353 return _pcbnew.ZONE_SetThermalReliefGap(self, aThermalReliefGap)
12360 return _pcbnew.ZONE_GetThermalReliefGap(self, *args)
12363 r"""SetThermalReliefSpokeWidth(ZONE self, int aThermalReliefSpokeWidth)"""
12364 return _pcbnew.ZONE_SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth)
12371 return _pcbnew.ZONE_GetThermalReliefSpokeWidth(self, *args)
12374 r"""CalculateFilledArea(ZONE self) -> double"""
12375 return _pcbnew.ZONE_CalculateFilledArea(self)
12378 r"""GetFilledArea(ZONE self) -> double"""
12379 return _pcbnew.ZONE_GetFilledArea(self)
12382 r"""GetLock(ZONE self) -> std::mutex &"""
12383 return _pcbnew.ZONE_GetLock(self)
12386 r"""GetFillFlag(ZONE self, PCB_LAYER_ID aLayer) -> int"""
12387 return _pcbnew.ZONE_GetFillFlag(self, aLayer)
12390 r"""SetFillFlag(ZONE self, PCB_LAYER_ID aLayer, bool aFlag)"""
12391 return _pcbnew.ZONE_SetFillFlag(self, aLayer, aFlag)
12394 r"""IsFilled(ZONE self) -> bool"""
12395 return _pcbnew.ZONE_IsFilled(self)
12398 r"""SetIsFilled(ZONE self, bool isFilled)"""
12399 return _pcbnew.ZONE_SetIsFilled(self, isFilled)
12402 r"""NeedRefill(ZONE self) -> bool"""
12403 return _pcbnew.ZONE_NeedRefill(self)
12406 r"""SetNeedRefill(ZONE self, bool aNeedRefill)"""
12407 return _pcbnew.ZONE_SetNeedRefill(self, aNeedRefill)
12411 GetPadConnection(ZONE self, PAD aPad, wxString aSource=None) -> ZONE_CONNECTION
12414 return _pcbnew.ZONE_GetPadConnection(self, *args)
12417 r"""SetPadConnection(ZONE self, ZONE_CONNECTION aPadConnection)"""
12418 return _pcbnew.ZONE_SetPadConnection(self, aPadConnection)
12421 r"""GetMinThickness(ZONE self) -> int"""
12422 return _pcbnew.ZONE_GetMinThickness(self)
12425 r"""SetMinThickness(ZONE self, int aMinThickness)"""
12426 return _pcbnew.ZONE_SetMinThickness(self, aMinThickness)
12429 r"""GetHatchThickness(ZONE self) -> int"""
12430 return _pcbnew.ZONE_GetHatchThickness(self)
12433 r"""SetHatchThickness(ZONE self, int aThickness)"""
12434 return _pcbnew.ZONE_SetHatchThickness(self, aThickness)
12437 r"""GetHatchGap(ZONE self) -> int"""
12438 return _pcbnew.ZONE_GetHatchGap(self)
12441 r"""SetHatchGap(ZONE self, int aStep)"""
12442 return _pcbnew.ZONE_SetHatchGap(self, aStep)
12445 r"""GetHatchOrientation(ZONE self) -> double"""
12446 return _pcbnew.ZONE_GetHatchOrientation(self)
12449 r"""SetHatchOrientation(ZONE self, double aStep)"""
12450 return _pcbnew.ZONE_SetHatchOrientation(self, aStep)
12453 r"""GetHatchSmoothingLevel(ZONE self) -> int"""
12454 return _pcbnew.ZONE_GetHatchSmoothingLevel(self)
12457 r"""SetHatchSmoothingLevel(ZONE self, int aLevel)"""
12458 return _pcbnew.ZONE_SetHatchSmoothingLevel(self, aLevel)
12461 r"""GetHatchSmoothingValue(ZONE self) -> double"""
12462 return _pcbnew.ZONE_GetHatchSmoothingValue(self)
12465 r"""SetHatchSmoothingValue(ZONE self, double aValue)"""
12466 return _pcbnew.ZONE_SetHatchSmoothingValue(self, aValue)
12469 r"""GetHatchHoleMinArea(ZONE self) -> double"""
12470 return _pcbnew.ZONE_GetHatchHoleMinArea(self)
12473 r"""SetHatchHoleMinArea(ZONE self, double aPct)"""
12474 return _pcbnew.ZONE_SetHatchHoleMinArea(self, aPct)
12477 r"""GetHatchBorderAlgorithm(ZONE self) -> int"""
12478 return _pcbnew.ZONE_GetHatchBorderAlgorithm(self)
12481 r"""SetHatchBorderAlgorithm(ZONE self, int aAlgo)"""
12482 return _pcbnew.ZONE_SetHatchBorderAlgorithm(self, aAlgo)
12485 r"""GetSelectedCorner(ZONE self) -> int"""
12486 return _pcbnew.ZONE_GetSelectedCorner(self)
12493 return _pcbnew.ZONE_SetSelectedCorner(self, *args)
12496 r"""GetLocalFlags(ZONE self) -> int"""
12497 return _pcbnew.ZONE_GetLocalFlags(self)
12500 r"""SetLocalFlags(ZONE self, int aFlags)"""
12501 return _pcbnew.ZONE_SetLocalFlags(self, aFlags)
12503 def FillSegments(self, *args) -> "std::vector< SEG,std::allocator< SEG > > const &
":
12505 FillSegments(ZONE self, PCB_LAYER_ID aLayer) -> std::vector< SEG,std::allocator< SEG > >
12506 FillSegments(ZONE self, PCB_LAYER_ID aLayer) -> std::vector< SEG,std::allocator< SEG > > const &
12508 return _pcbnew.ZONE_FillSegments(self, *args)
12512 Outline(ZONE self) -> SHAPE_POLY_SET
12513 Outline(ZONE self) -> SHAPE_POLY_SET
12515 return _pcbnew.ZONE_Outline(self, *args)
12518 r"""SetOutline(ZONE self, SHAPE_POLY_SET aOutline)"""
12519 return _pcbnew.ZONE_SetOutline(self, aOutline)
12522 r"""GetEffectiveShape(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
12523 return _pcbnew.ZONE_GetEffectiveShape(self, *args)
12526 r"""HitTestFilledArea(ZONE self, PCB_LAYER_ID aLayer, wxPoint aRefPos, int aAccuracy=0) -> bool"""
12527 return _pcbnew.ZONE_HitTestFilledArea(self, aLayer, aRefPos, aAccuracy)
12531 HitTestCutout(ZONE self, VECTOR2I aRefPos, int * aOutlineIdx=None, int * aHoleIdx=
None) -> bool
12532 HitTestCutout(ZONE self, wxPoint aRefPos, int * aOutlineIdx=
None, int * aHoleIdx=
None) -> bool
12534 return _pcbnew.ZONE_HitTestCutout(self, *args)
12536 def GetInteractingZones(self, aLayer:
"PCB_LAYER_ID", aSameNetCollidingZones:
"ZONES", aOtherNetIntersectingZones:
"ZONES") ->
"void":
12537 r"""GetInteractingZones(ZONE self, PCB_LAYER_ID aLayer, ZONES aSameNetCollidingZones, ZONES aOtherNetIntersectingZones)"""
12538 return _pcbnew.ZONE_GetInteractingZones(self, aLayer, aSameNetCollidingZones, aOtherNetIntersectingZones)
12541 r"""TransformSolidAreasShapesToPolygon(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aCornerBuffer, int aError=ARC_HIGH_DEF)"""
12542 return _pcbnew.ZONE_TransformSolidAreasShapesToPolygon(self, *args)
12545 r"""TransformSmoothedOutlineToPolygon(ZONE self, SHAPE_POLY_SET aCornerBuffer, int aClearance, int aError, ERROR_LOC aErrorLoc, SHAPE_POLY_SET aBoardOutline)"""
12546 return _pcbnew.ZONE_TransformSmoothedOutlineToPolygon(self, aCornerBuffer, aClearance, aError, aErrorLoc, aBoardOutline)
12548 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aClearanceValue:
"int", aError:
"int", aErrorLoc:
"ERROR_LOC", ignoreLineWidth:
"bool"=
False) ->
"void":
12549 r"""TransformShapeWithClearanceToPolygon(ZONE self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
12550 return _pcbnew.ZONE_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearanceValue, aError, aErrorLoc, ignoreLineWidth)
12554 HitTestForCorner(ZONE self, wxPoint refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX & aCornerHit) -> bool
12557 return _pcbnew.ZONE_HitTestForCorner(self, *args)
12561 HitTestForEdge(ZONE self, wxPoint refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX & aCornerHit) -> bool
12562 HitTestForEdge(ZONE self, wxPoint refPos, int aAccuracy) -> bool
12564 return _pcbnew.ZONE_HitTestForEdge(self, *args)
12568 HitTest(ZONE self, wxPoint aPosition, int aAccuracy=0) -> bool
12569 HitTest(ZONE self, EDA_RECT aRect, bool aContained=True, int aAccuracy=0) -> bool
12571 return _pcbnew.ZONE_HitTest(self, *args)
12574 r"""UnFill(ZONE self) -> bool"""
12575 return _pcbnew.ZONE_UnFill(self)
12577 def Move(self, offset:
"wxPoint") ->
"void":
12578 r"""Move(ZONE self, wxPoint offset)"""
12579 return _pcbnew.ZONE_Move(self, offset)
12581 def MoveEdge(self, offset:
"wxPoint", aEdge:
"int") ->
"void":
12582 r"""MoveEdge(ZONE self, wxPoint offset, int aEdge)"""
12583 return _pcbnew.ZONE_MoveEdge(self, offset, aEdge)
12585 def Rotate(self, aCentre:
"wxPoint", aAngle:
"double") ->
"void":
12586 r"""Rotate(ZONE self, wxPoint aCentre, double aAngle)"""
12587 return _pcbnew.ZONE_Rotate(self, aCentre, aAngle)
12589 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
12590 r"""Flip(ZONE self, wxPoint aCentre, bool aFlipLeftRight)"""
12591 return _pcbnew.ZONE_Flip(self, aCentre, aFlipLeftRight)
12593 def Mirror(self, aMirrorRef:
"wxPoint", aMirrorLeftRight:
"bool") ->
"void":
12594 r"""Mirror(ZONE self, wxPoint aMirrorRef, bool aMirrorLeftRight)"""
12595 return _pcbnew.ZONE_Mirror(self, aMirrorRef, aMirrorLeftRight)
12598 r"""GetClass(ZONE self) -> wxString"""
12599 return _pcbnew.ZONE_GetClass(self)
12602 r"""GetNumCorners(ZONE self) -> int"""
12603 return _pcbnew.ZONE_GetNumCorners(self)
12606 r"""Iterate(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
12607 return _pcbnew.ZONE_Iterate(self)
12610 r"""IterateWithHoles(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
12611 return _pcbnew.ZONE_IterateWithHoles(self)
12614 r"""CIterateWithHoles(ZONE self) -> SHAPE_POLY_SET::CONST_ITERATOR"""
12615 return _pcbnew.ZONE_CIterateWithHoles(self)
12618 r"""RemoveAllContours(ZONE self)"""
12619 return _pcbnew.ZONE_RemoveAllContours(self)
12622 r"""GetCornerPosition(ZONE self, int aCornerIndex) -> VECTOR2I"""
12623 return _pcbnew.ZONE_GetCornerPosition(self, aCornerIndex)
12626 r"""SetCornerPosition(ZONE self, int aCornerIndex, wxPoint new_pos)"""
12627 return _pcbnew.ZONE_SetCornerPosition(self, aCornerIndex, new_pos)
12630 r"""NewHole(ZONE self)"""
12631 return _pcbnew.ZONE_NewHole(self)
12633 def AppendCorner(self, aPosition:
"wxPoint", aHoleIdx:
"int", aAllowDuplication:
"bool"=
False) ->
"bool":
12634 r"""AppendCorner(ZONE self, wxPoint aPosition, int aHoleIdx, bool aAllowDuplication=False) -> bool"""
12635 return _pcbnew.ZONE_AppendCorner(self, aPosition, aHoleIdx, aAllowDuplication)
12638 r"""GetHatchStyle(ZONE self) -> ZONE_BORDER_DISPLAY_STYLE"""
12639 return _pcbnew.ZONE_GetHatchStyle(self)
12642 r"""SetHatchStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aStyle)"""
12643 return _pcbnew.ZONE_SetHatchStyle(self, aStyle)
12645 def IsSame(self, aZoneToCompare:
"ZONE") ->
"bool":
12646 r"""IsSame(ZONE self, ZONE aZoneToCompare) -> bool"""
12647 return _pcbnew.ZONE_IsSame(self, aZoneToCompare)
12650 r"""HasFilledPolysForLayer(ZONE self, PCB_LAYER_ID aLayer) -> bool"""
12651 return _pcbnew.ZONE_HasFilledPolysForLayer(self, aLayer)
12654 r"""GetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
12655 return _pcbnew.ZONE_GetFilledPolysList(self, aLayer)
12658 r"""CacheTriangulation(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
12659 return _pcbnew.ZONE_CacheTriangulation(self, aLayer)
12662 r"""SetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPolysList)"""
12663 return _pcbnew.ZONE_SetFilledPolysList(self, aLayer, aPolysList)
12666 r"""SetRawPolysList(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPolysList)"""
12667 return _pcbnew.ZONE_SetRawPolysList(self, aLayer, aPolysList)
12669 def IsIsland(self, aLayer:
"PCB_LAYER_ID", aPolyIdx:
"int") ->
"bool":
12670 r"""IsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx) -> bool"""
12671 return _pcbnew.ZONE_IsIsland(self, aLayer, aPolyIdx)
12674 r"""SetIsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx)"""
12675 return _pcbnew.ZONE_SetIsIsland(self, aLayer, aPolyIdx)
12677 def BuildSmoothedPoly(self, aSmoothedPoly:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aBoardOutline:
"SHAPE_POLY_SET", aSmoothedPolyWithApron:
"SHAPE_POLY_SET"=
None) ->
"bool":
12678 r"""BuildSmoothedPoly(ZONE self, SHAPE_POLY_SET aSmoothedPoly, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aBoardOutline, SHAPE_POLY_SET aSmoothedPolyWithApron=None) -> bool"""
12679 return _pcbnew.ZONE_BuildSmoothedPoly(self, aSmoothedPoly, aLayer, aBoardOutline, aSmoothedPolyWithApron)
12682 r"""SetCornerSmoothingType(ZONE self, int aType)"""
12683 return _pcbnew.ZONE_SetCornerSmoothingType(self, aType)
12686 r"""GetCornerSmoothingType(ZONE self) -> int"""
12687 return _pcbnew.ZONE_GetCornerSmoothingType(self)
12690 r"""SetCornerRadius(ZONE self, unsigned int aRadius)"""
12691 return _pcbnew.ZONE_SetCornerRadius(self, aRadius)
12694 r"""GetCornerRadius(ZONE self) -> unsigned int"""
12695 return _pcbnew.ZONE_GetCornerRadius(self)
12702 return _pcbnew.ZONE_GetFilledPolysUseThickness(self, *args)
12705 r"""GetFillVersion(ZONE self) -> int"""
12706 return _pcbnew.ZONE_GetFillVersion(self)
12709 r"""SetFillVersion(ZONE self, int aVersion)"""
12710 return _pcbnew.ZONE_SetFillVersion(self, aVersion)
12713 r"""RemoveCutout(ZONE self, int aOutlineIdx, int aHoleIdx)"""
12714 return _pcbnew.ZONE_RemoveCutout(self, aOutlineIdx, aHoleIdx)
12718 AddPolygon(ZONE self, wxPoint_Vector aPolygon)
12719 AddPolygon(ZONE self, SHAPE_LINE_CHAIN aPolygon)
12721 return _pcbnew.ZONE_AddPolygon(self, *args)
12723 def SetFillSegments(self, aLayer:
"PCB_LAYER_ID", aSegments:
"std::vector< SEG,std::allocator< SEG > > const &") ->
"void":
12724 r"""SetFillSegments(ZONE self, PCB_LAYER_ID aLayer, std::vector< SEG,std::allocator< SEG > > const & aSegments)"""
12725 return _pcbnew.ZONE_SetFillSegments(self, aLayer, aSegments)
12728 r"""RawPolysList(ZONE self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
12729 return _pcbnew.ZONE_RawPolysList(self, aLayer)
12732 r"""GetSelectMenuText(ZONE self, EDA_UNITS aUnits) -> wxString"""
12733 return _pcbnew.ZONE_GetSelectMenuText(self, aUnits)
12736 r"""GetMenuImage(ZONE self) -> BITMAPS"""
12737 return _pcbnew.ZONE_GetMenuImage(self)
12740 r"""Clone(ZONE self) -> EDA_ITEM"""
12741 return _pcbnew.ZONE_Clone(self)
12744 r"""GetIsRuleArea(ZONE self) -> bool"""
12745 return _pcbnew.ZONE_GetIsRuleArea(self)
12748 r"""GetDoNotAllowCopperPour(ZONE self) -> bool"""
12749 return _pcbnew.ZONE_GetDoNotAllowCopperPour(self)
12752 r"""GetDoNotAllowVias(ZONE self) -> bool"""
12753 return _pcbnew.ZONE_GetDoNotAllowVias(self)
12756 r"""GetDoNotAllowTracks(ZONE self) -> bool"""
12757 return _pcbnew.ZONE_GetDoNotAllowTracks(self)
12760 r"""GetDoNotAllowPads(ZONE self) -> bool"""
12761 return _pcbnew.ZONE_GetDoNotAllowPads(self)
12764 r"""GetDoNotAllowFootprints(ZONE self) -> bool"""
12765 return _pcbnew.ZONE_GetDoNotAllowFootprints(self)
12768 r"""IsKeepout(ZONE self) -> bool"""
12769 return _pcbnew.ZONE_IsKeepout(self)
12772 r"""KeepoutAll(ZONE self) -> bool"""
12773 return _pcbnew.ZONE_KeepoutAll(self)
12776 r"""SetIsRuleArea(ZONE self, bool aEnable)"""
12777 return _pcbnew.ZONE_SetIsRuleArea(self, aEnable)
12780 r"""SetDoNotAllowCopperPour(ZONE self, bool aEnable)"""
12781 return _pcbnew.ZONE_SetDoNotAllowCopperPour(self, aEnable)
12784 r"""SetDoNotAllowVias(ZONE self, bool aEnable)"""
12785 return _pcbnew.ZONE_SetDoNotAllowVias(self, aEnable)
12788 r"""SetDoNotAllowTracks(ZONE self, bool aEnable)"""
12789 return _pcbnew.ZONE_SetDoNotAllowTracks(self, aEnable)
12792 r"""SetDoNotAllowPads(ZONE self, bool aEnable)"""
12793 return _pcbnew.ZONE_SetDoNotAllowPads(self, aEnable)
12796 r"""SetDoNotAllowFootprints(ZONE self, bool aEnable)"""
12797 return _pcbnew.ZONE_SetDoNotAllowFootprints(self, aEnable)
12800 r"""GetIslandRemovalMode(ZONE self) -> ISLAND_REMOVAL_MODE const"""
12801 return _pcbnew.ZONE_GetIslandRemovalMode(self)
12804 r"""SetIslandRemovalMode(ZONE self, ISLAND_REMOVAL_MODE aRemove)"""
12805 return _pcbnew.ZONE_SetIslandRemovalMode(self, aRemove)
12808 r"""GetMinIslandArea(ZONE self) -> long long"""
12809 return _pcbnew.ZONE_GetMinIslandArea(self)
12812 r"""SetMinIslandArea(ZONE self, long long aArea)"""
12813 return _pcbnew.ZONE_SetMinIslandArea(self, aArea)
12816 r"""GetBorderHatchPitch(ZONE self) -> int"""
12817 return _pcbnew.ZONE_GetBorderHatchPitch(self)
12821 r"""GetDefaultHatchPitch() -> int"""
12822 return _pcbnew.ZONE_GetDefaultHatchPitch()
12824 def SetBorderDisplayStyle(self, aHatchStyle:
"ZONE_BORDER_DISPLAY_STYLE", aHatchPitch:
"int", aRebuildHatch:
"bool") ->
"void":
12825 r"""SetBorderDisplayStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aHatchStyle, int aHatchPitch, bool aRebuildHatch)"""
12826 return _pcbnew.ZONE_SetBorderDisplayStyle(self, aHatchStyle, aHatchPitch, aRebuildHatch)
12829 r"""SetHatchPitch(ZONE self, int aPitch)"""
12830 return _pcbnew.ZONE_SetHatchPitch(self, aPitch)
12833 r"""UnHatchBorder(ZONE self)"""
12834 return _pcbnew.ZONE_UnHatchBorder(self)
12837 r"""HatchBorder(ZONE self)"""
12838 return _pcbnew.ZONE_HatchBorder(self)
12841 r"""GetHatchLines(ZONE self) -> std::vector< SEG,std::allocator< SEG > > const &"""
12842 return _pcbnew.ZONE_GetHatchLines(self)
12845 r"""GetHV45(ZONE self) -> bool"""
12846 return _pcbnew.ZONE_GetHV45(self)
12849 r"""SetHV45(ZONE self, bool aConstrain)"""
12850 return _pcbnew.ZONE_SetHV45(self, aConstrain)
12853 r"""BuildHashValue(ZONE self, PCB_LAYER_ID aLayer)"""
12854 return _pcbnew.ZONE_BuildHashValue(self, aLayer)
12857 r"""GetHashValue(ZONE self, PCB_LAYER_ID aLayer) -> MD5_HASH"""
12858 return _pcbnew.ZONE_GetHashValue(self, aLayer)
12861 r"""SwapData(ZONE self, BOARD_ITEM aImage)"""
12862 return _pcbnew.ZONE_SwapData(self, aImage)
12865_pcbnew.ZONE_swigregister(ZONE)
12868 r"""ZONE_ClassOf(EDA_ITEM aItem) -> bool"""
12869 return _pcbnew.ZONE_ClassOf(aItem)
12872 r"""ZONE_GetDefaultHatchPitch() -> int"""
12873 return _pcbnew.ZONE_GetDefaultHatchPitch()
12876 r"""Proxy of C++ FP_ZONE class."""
12878 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12879 __repr__ = _swig_repr
12883 __init__(FP_ZONE self, BOARD_ITEM_CONTAINER aParent) -> FP_ZONE
12884 __init__(FP_ZONE self, FP_ZONE aZone) -> FP_ZONE
12886 _pcbnew.FP_ZONE_swiginit(self, _pcbnew.new_FP_ZONE(*args))
12889 r"""Clone(FP_ZONE self) -> EDA_ITEM"""
12890 return _pcbnew.FP_ZONE_Clone(self)
12892 def ViewGetLOD(self, aLayer:
"int", aView:
"KIGFX::VIEW *") ->
"double":
12893 r"""ViewGetLOD(FP_ZONE self, int aLayer, KIGFX::VIEW * aView) -> double"""
12894 return _pcbnew.FP_ZONE_ViewGetLOD(self, aLayer, aView)
12895 __swig_destroy__ = _pcbnew.delete_FP_ZONE
12898_pcbnew.FP_ZONE_swigregister(FP_ZONE)
12900ZONE_THERMAL_RELIEF_GAP_MIL = _pcbnew.ZONE_THERMAL_RELIEF_GAP_MIL
12902ZONE_THERMAL_RELIEF_COPPER_WIDTH_MIL = _pcbnew.ZONE_THERMAL_RELIEF_COPPER_WIDTH_MIL
12904ZONE_THICKNESS_MIL = _pcbnew.ZONE_THICKNESS_MIL
12906ZONE_THICKNESS_MIN_VALUE_MIL = _pcbnew.ZONE_THICKNESS_MIN_VALUE_MIL
12908ZONE_CLEARANCE_MIL = _pcbnew.ZONE_CLEARANCE_MIL
12910ZONE_CLEARANCE_MAX_VALUE_MIL = _pcbnew.ZONE_CLEARANCE_MAX_VALUE_MIL
12912ZONE_EXPORT_VALUES = _pcbnew.ZONE_EXPORT_VALUES
12914ZONE_CONNECTION_INHERITED = _pcbnew.ZONE_CONNECTION_INHERITED
12916ZONE_CONNECTION_NONE = _pcbnew.ZONE_CONNECTION_NONE
12918ZONE_CONNECTION_THERMAL = _pcbnew.ZONE_CONNECTION_THERMAL
12920ZONE_CONNECTION_FULL = _pcbnew.ZONE_CONNECTION_FULL
12922ZONE_CONNECTION_THT_THERMAL = _pcbnew.ZONE_CONNECTION_THT_THERMAL
12926 r"""InvokeNonCopperZonesEditor(PCB_BASE_FRAME * aParent, ZONE_SETTINGS aSettings) -> int"""
12927 return _pcbnew.InvokeNonCopperZonesEditor(aParent, aSettings)
12930 r"""InvokeCopperZonesEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings) -> int"""
12931 return _pcbnew.InvokeCopperZonesEditor(aCaller, aSettings)
12934 r"""InvokeRuleAreaEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings) -> int"""
12935 return _pcbnew.InvokeRuleAreaEditor(aCaller, aSettings)
12937 r"""Proxy of C++ ZONE_FILLER class."""
12939 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12940 __repr__ = _swig_repr
12941 __swig_destroy__ = _pcbnew.delete_ZONE_FILLER
12944 r"""SetProgressReporter(ZONE_FILLER self, PROGRESS_REPORTER * aReporter)"""
12945 return _pcbnew.ZONE_FILLER_SetProgressReporter(self, aReporter)
12947 def Fill(self, aZones:
"ZONES", aCheck:
"bool"=
False, aParent:
"wxWindow *"=
None) ->
"bool":
12948 r"""Fill(ZONE_FILLER self, ZONES aZones, bool aCheck=False, wxWindow * aParent=None) -> bool"""
12949 return _pcbnew.ZONE_FILLER_Fill(self, aZones, aCheck, aParent)
12952 r"""IsDebug(ZONE_FILLER self) -> bool"""
12953 return _pcbnew.ZONE_FILLER_IsDebug(self)
12956 r"""__init__(ZONE_FILLER self, BOARD aBoard) -> ZONE_FILLER"""
12957 _pcbnew.ZONE_FILLER_swiginit(self, _pcbnew.new_ZONE_FILLER(aBoard))
12960_pcbnew.ZONE_FILLER_swigregister(ZONE_FILLER)
12962ZONE_FILL_MODE_POLYGONS = _pcbnew.ZONE_FILL_MODE_POLYGONS
12964ZONE_FILL_MODE_HATCH_PATTERN = _pcbnew.ZONE_FILL_MODE_HATCH_PATTERN
12966ZONE_BORDER_DISPLAY_STYLE_NO_HATCH = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_NO_HATCH
12968ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL
12970ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE
12972ISLAND_REMOVAL_MODE_ALWAYS = _pcbnew.ISLAND_REMOVAL_MODE_ALWAYS
12974ISLAND_REMOVAL_MODE_NEVER = _pcbnew.ISLAND_REMOVAL_MODE_NEVER
12976ISLAND_REMOVAL_MODE_AREA = _pcbnew.ISLAND_REMOVAL_MODE_AREA
12979 r"""Proxy of C++ ZONE_SETTINGS class."""
12981 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12982 __repr__ = _swig_repr
12983 SMOOTHING_UNDEFINED = _pcbnew.ZONE_SETTINGS_SMOOTHING_UNDEFINED
12985 SMOOTHING_NONE = _pcbnew.ZONE_SETTINGS_SMOOTHING_NONE
12987 SMOOTHING_CHAMFER = _pcbnew.ZONE_SETTINGS_SMOOTHING_CHAMFER
12989 SMOOTHING_FILLET = _pcbnew.ZONE_SETTINGS_SMOOTHING_FILLET
12991 SMOOTHING_LAST = _pcbnew.ZONE_SETTINGS_SMOOTHING_LAST
12993 m_ZonePriority = property(_pcbnew.ZONE_SETTINGS_m_ZonePriority_get, _pcbnew.ZONE_SETTINGS_m_ZonePriority_set, doc=
r"""m_ZonePriority : int""")
12994 m_FillMode = property(_pcbnew.ZONE_SETTINGS_m_FillMode_get, _pcbnew.ZONE_SETTINGS_m_FillMode_set, doc=
r"""m_FillMode : ZONE_FILL_MODE""")
12995 m_ZoneClearance = property(_pcbnew.ZONE_SETTINGS_m_ZoneClearance_get, _pcbnew.ZONE_SETTINGS_m_ZoneClearance_set, doc=
r"""m_ZoneClearance : int""")
12996 m_ZoneMinThickness = property(_pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_get, _pcbnew.ZONE_SETTINGS_m_ZoneMinThickness_set, doc=
r"""m_ZoneMinThickness : int""")
12997 m_HatchThickness = property(_pcbnew.ZONE_SETTINGS_m_HatchThickness_get, _pcbnew.ZONE_SETTINGS_m_HatchThickness_set, doc=
r"""m_HatchThickness : int""")
12998 m_HatchGap = property(_pcbnew.ZONE_SETTINGS_m_HatchGap_get, _pcbnew.ZONE_SETTINGS_m_HatchGap_set, doc=
r"""m_HatchGap : int""")
12999 m_HatchOrientation = property(_pcbnew.ZONE_SETTINGS_m_HatchOrientation_get, _pcbnew.ZONE_SETTINGS_m_HatchOrientation_set, doc=
r"""m_HatchOrientation : double""")
13000 m_HatchSmoothingLevel = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingLevel_set, doc=
r"""m_HatchSmoothingLevel : int""")
13001 m_HatchSmoothingValue = property(_pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_get, _pcbnew.ZONE_SETTINGS_m_HatchSmoothingValue_set, doc=
r"""m_HatchSmoothingValue : double""")
13002 m_HatchHoleMinArea = property(_pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_get, _pcbnew.ZONE_SETTINGS_m_HatchHoleMinArea_set, doc=
r"""m_HatchHoleMinArea : double""")
13003 m_HatchBorderAlgorithm = property(_pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_get, _pcbnew.ZONE_SETTINGS_m_HatchBorderAlgorithm_set, doc=
r"""m_HatchBorderAlgorithm : int""")
13004 m_NetcodeSelection = property(_pcbnew.ZONE_SETTINGS_m_NetcodeSelection_get, _pcbnew.ZONE_SETTINGS_m_NetcodeSelection_set, doc=
r"""m_NetcodeSelection : int""")
13005 m_Name = property(_pcbnew.ZONE_SETTINGS_m_Name_get, _pcbnew.ZONE_SETTINGS_m_Name_set, doc=
r"""m_Name : wxString""")
13006 m_Layers = property(_pcbnew.ZONE_SETTINGS_m_Layers_get, _pcbnew.ZONE_SETTINGS_m_Layers_set, doc=
r"""m_Layers : LSET""")
13007 m_ZoneBorderDisplayStyle = property(_pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_get, _pcbnew.ZONE_SETTINGS_m_ZoneBorderDisplayStyle_set, doc=
r"""m_ZoneBorderDisplayStyle : ZONE_BORDER_DISPLAY_STYLE""")
13008 m_ThermalReliefGap = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefGap_set, doc=
r"""m_ThermalReliefGap : long""")
13009 m_ThermalReliefSpokeWidth = property(_pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_get, _pcbnew.ZONE_SETTINGS_m_ThermalReliefSpokeWidth_set, doc=
r"""m_ThermalReliefSpokeWidth : long""")
13010 m_Zone_45_Only = property(_pcbnew.ZONE_SETTINGS_m_Zone_45_Only_get, _pcbnew.ZONE_SETTINGS_m_Zone_45_Only_set, doc=
r"""m_Zone_45_Only : bool""")
13011 m_Locked = property(_pcbnew.ZONE_SETTINGS_m_Locked_get, _pcbnew.ZONE_SETTINGS_m_Locked_set, doc=
r"""m_Locked : bool""")
13014 r"""__init__(ZONE_SETTINGS self) -> ZONE_SETTINGS"""
13015 _pcbnew.ZONE_SETTINGS_swiginit(self, _pcbnew.new_ZONE_SETTINGS())
13018 r"""__lshift__(ZONE_SETTINGS self, ZONE aSource) -> ZONE_SETTINGS"""
13019 return _pcbnew.ZONE_SETTINGS___lshift__(self, aSource)
13021 def SetupLayersList(self, aList:
"wxDataViewListCtrl *", aFrame:
"PCB_BASE_FRAME *", aLayers:
"LSET", aFpEditorMode:
"bool") ->
"void":
13022 r"""SetupLayersList(ZONE_SETTINGS self, wxDataViewListCtrl * aList, PCB_BASE_FRAME * aFrame, LSET aLayers, bool aFpEditorMode)"""
13023 return _pcbnew.ZONE_SETTINGS_SetupLayersList(self, aList, aFrame, aLayers, aFpEditorMode)
13026 r"""ExportSetting(ZONE_SETTINGS self, ZONE aTarget, bool aFullExport=True)"""
13027 return _pcbnew.ZONE_SETTINGS_ExportSetting(self, aTarget, aFullExport)
13030 r"""SetCornerSmoothingType(ZONE_SETTINGS self, int aType)"""
13031 return _pcbnew.ZONE_SETTINGS_SetCornerSmoothingType(self, aType)
13034 r"""GetCornerSmoothingType(ZONE_SETTINGS self) -> int"""
13035 return _pcbnew.ZONE_SETTINGS_GetCornerSmoothingType(self)
13038 r"""SetCornerRadius(ZONE_SETTINGS self, int aRadius)"""
13039 return _pcbnew.ZONE_SETTINGS_SetCornerRadius(self, aRadius)
13042 r"""GetCornerRadius(ZONE_SETTINGS self) -> unsigned int"""
13043 return _pcbnew.ZONE_SETTINGS_GetCornerRadius(self)
13046 r"""GetPadConnection(ZONE_SETTINGS self) -> ZONE_CONNECTION"""
13047 return _pcbnew.ZONE_SETTINGS_GetPadConnection(self)
13050 r"""SetPadConnection(ZONE_SETTINGS self, ZONE_CONNECTION aPadConnection)"""
13051 return _pcbnew.ZONE_SETTINGS_SetPadConnection(self, aPadConnection)
13054 r"""GetIsRuleArea(ZONE_SETTINGS self) -> bool const"""
13055 return _pcbnew.ZONE_SETTINGS_GetIsRuleArea(self)
13058 r"""GetDoNotAllowCopperPour(ZONE_SETTINGS self) -> bool const"""
13059 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowCopperPour(self)
13062 r"""GetDoNotAllowVias(ZONE_SETTINGS self) -> bool const"""
13063 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowVias(self)
13066 r"""GetDoNotAllowTracks(ZONE_SETTINGS self) -> bool const"""
13067 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowTracks(self)
13070 r"""GetDoNotAllowPads(ZONE_SETTINGS self) -> bool const"""
13071 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowPads(self)
13074 r"""GetDoNotAllowFootprints(ZONE_SETTINGS self) -> bool const"""
13075 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowFootprints(self)
13078 r"""SetIsRuleArea(ZONE_SETTINGS self, bool aEnable)"""
13079 return _pcbnew.ZONE_SETTINGS_SetIsRuleArea(self, aEnable)
13082 r"""SetDoNotAllowCopperPour(ZONE_SETTINGS self, bool aEnable)"""
13083 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowCopperPour(self, aEnable)
13086 r"""SetDoNotAllowVias(ZONE_SETTINGS self, bool aEnable)"""
13087 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowVias(self, aEnable)
13090 r"""SetDoNotAllowTracks(ZONE_SETTINGS self, bool aEnable)"""
13091 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowTracks(self, aEnable)
13094 r"""SetDoNotAllowPads(ZONE_SETTINGS self, bool aEnable)"""
13095 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowPads(self, aEnable)
13098 r"""SetDoNotAllowFootprints(ZONE_SETTINGS self, bool aEnable)"""
13099 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowFootprints(self, aEnable)
13102 r"""GetIslandRemovalMode(ZONE_SETTINGS self) -> ISLAND_REMOVAL_MODE const"""
13103 return _pcbnew.ZONE_SETTINGS_GetIslandRemovalMode(self)
13106 r"""SetIslandRemovalMode(ZONE_SETTINGS self, ISLAND_REMOVAL_MODE aRemove)"""
13107 return _pcbnew.ZONE_SETTINGS_SetIslandRemovalMode(self, aRemove)
13110 r"""GetMinIslandArea(ZONE_SETTINGS self) -> long long"""
13111 return _pcbnew.ZONE_SETTINGS_GetMinIslandArea(self)
13114 r"""SetMinIslandArea(ZONE_SETTINGS self, long long aArea)"""
13115 return _pcbnew.ZONE_SETTINGS_SetMinIslandArea(self, aArea)
13116 __swig_destroy__ = _pcbnew.delete_ZONE_SETTINGS
13119_pcbnew.ZONE_SETTINGS_swigregister(ZONE_SETTINGS)
13121SHAPE_T_SEGMENT = _pcbnew.SHAPE_T_SEGMENT
13123SHAPE_T_RECT = _pcbnew.SHAPE_T_RECT
13125SHAPE_T_ARC = _pcbnew.SHAPE_T_ARC
13127SHAPE_T_CIRCLE = _pcbnew.SHAPE_T_CIRCLE
13129SHAPE_T_POLY = _pcbnew.SHAPE_T_POLY
13131SHAPE_T_BEZIER = _pcbnew.SHAPE_T_BEZIER
13133SHAPE_T_LAST = _pcbnew.SHAPE_T_LAST
13135FILL_T_NO_FILL = _pcbnew.FILL_T_NO_FILL
13137FILL_T_FILLED_SHAPE = _pcbnew.FILL_T_FILLED_SHAPE
13139FILL_T_FILLED_WITH_BG_BODYCOLOR = _pcbnew.FILL_T_FILLED_WITH_BG_BODYCOLOR
13141FILL_T_FILLED_WITH_COLOR = _pcbnew.FILL_T_FILLED_WITH_COLOR
13144 r"""Proxy of C++ ARC_MID class."""
13146 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13147 __repr__ = _swig_repr
13148 mid = property(_pcbnew.ARC_MID_mid_get, _pcbnew.ARC_MID_mid_set, doc=
r"""mid : wxPoint""")
13149 start = property(_pcbnew.ARC_MID_start_get, _pcbnew.ARC_MID_start_set, doc=
r"""start : wxPoint""")
13150 end = property(_pcbnew.ARC_MID_end_get, _pcbnew.ARC_MID_end_set, doc=
r"""end : wxPoint""")
13151 center = property(_pcbnew.ARC_MID_center_get, _pcbnew.ARC_MID_center_set, doc=
r"""center : wxPoint""")
13154 r"""__init__(ARC_MID self) -> ARC_MID"""
13155 _pcbnew.ARC_MID_swiginit(self, _pcbnew.new_ARC_MID())
13156 __swig_destroy__ = _pcbnew.delete_ARC_MID
13159_pcbnew.ARC_MID_swigregister(ARC_MID)
13162 r"""Proxy of C++ EDA_SHAPE class."""
13164 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13167 raise AttributeError(
"No constructor defined - class is abstract")
13168 __repr__ = _swig_repr
13169 __swig_destroy__ = _pcbnew.delete_EDA_SHAPE
13172 r"""SwapShape(EDA_SHAPE self, EDA_SHAPE aImage)"""
13173 return _pcbnew.EDA_SHAPE_SwapShape(self, aImage)
13176 r"""ShowShape(EDA_SHAPE self) -> wxString"""
13177 return _pcbnew.EDA_SHAPE_ShowShape(self)
13180 r"""SHAPE_T_asString(EDA_SHAPE self) -> wxString"""
13181 return _pcbnew.EDA_SHAPE_SHAPE_T_asString(self)
13184 r"""SetFillMode(EDA_SHAPE self, FILL_T aFill)"""
13185 return _pcbnew.EDA_SHAPE_SetFillMode(self, aFill)
13188 r"""GetFillType(EDA_SHAPE self) -> FILL_T"""
13189 return _pcbnew.EDA_SHAPE_GetFillType(self)
13192 r"""IsFilled(EDA_SHAPE self) -> bool"""
13193 return _pcbnew.EDA_SHAPE_IsFilled(self)
13196 r"""SetFilled(EDA_SHAPE self, bool aFlag)"""
13197 return _pcbnew.EDA_SHAPE_SetFilled(self, aFlag)
13200 r"""SetWidth(EDA_SHAPE self, int aWidth)"""
13201 return _pcbnew.EDA_SHAPE_SetWidth(self, aWidth)
13204 r"""GetWidth(EDA_SHAPE self) -> int"""
13205 return _pcbnew.EDA_SHAPE_GetWidth(self)
13208 r"""SetShape(EDA_SHAPE self, SHAPE_T aShape)"""
13209 return _pcbnew.EDA_SHAPE_SetShape(self, aShape)
13212 r"""GetShape(EDA_SHAPE self) -> SHAPE_T"""
13213 return _pcbnew.EDA_SHAPE_GetShape(self)
13216 r"""GetStart(EDA_SHAPE self) -> wxPoint"""
13217 return _pcbnew.EDA_SHAPE_GetStart(self)
13220 r"""GetStartY(EDA_SHAPE self) -> int"""
13221 return _pcbnew.EDA_SHAPE_GetStartY(self)
13224 r"""GetStartX(EDA_SHAPE self) -> int"""
13225 return _pcbnew.EDA_SHAPE_GetStartX(self)
13228 r"""SetStart(EDA_SHAPE self, wxPoint aStart)"""
13229 return _pcbnew.EDA_SHAPE_SetStart(self, aStart)
13232 r"""SetStartY(EDA_SHAPE self, int y)"""
13233 return _pcbnew.EDA_SHAPE_SetStartY(self, y)
13236 r"""SetStartX(EDA_SHAPE self, int x)"""
13237 return _pcbnew.EDA_SHAPE_SetStartX(self, x)
13240 r"""GetEnd(EDA_SHAPE self) -> wxPoint"""
13241 return _pcbnew.EDA_SHAPE_GetEnd(self)
13244 r"""GetEndY(EDA_SHAPE self) -> int"""
13245 return _pcbnew.EDA_SHAPE_GetEndY(self)
13248 r"""GetEndX(EDA_SHAPE self) -> int"""
13249 return _pcbnew.EDA_SHAPE_GetEndX(self)
13252 r"""SetEnd(EDA_SHAPE self, wxPoint aEnd)"""
13253 return _pcbnew.EDA_SHAPE_SetEnd(self, aEnd)
13256 r"""SetEndY(EDA_SHAPE self, int y)"""
13257 return _pcbnew.EDA_SHAPE_SetEndY(self, y)
13260 r"""SetEndX(EDA_SHAPE self, int x)"""
13261 return _pcbnew.EDA_SHAPE_SetEndX(self, x)
13264 r"""SetBezierC1(EDA_SHAPE self, wxPoint aPt)"""
13265 return _pcbnew.EDA_SHAPE_SetBezierC1(self, aPt)
13268 r"""GetBezierC1(EDA_SHAPE self) -> wxPoint"""
13269 return _pcbnew.EDA_SHAPE_GetBezierC1(self)
13272 r"""SetBezierC2(EDA_SHAPE self, wxPoint aPt)"""
13273 return _pcbnew.EDA_SHAPE_SetBezierC2(self, aPt)
13276 r"""GetBezierC2(EDA_SHAPE self) -> wxPoint"""
13277 return _pcbnew.EDA_SHAPE_GetBezierC2(self)
13280 r"""SetCenter(EDA_SHAPE self, wxPoint aCenter)"""
13281 return _pcbnew.EDA_SHAPE_SetCenter(self, aCenter)
13284 r"""SetArcAngleAndEnd(EDA_SHAPE self, double aAngle, bool aCheckNegativeAngle=False)"""
13285 return _pcbnew.EDA_SHAPE_SetArcAngleAndEnd(self, aAngle, aCheckNegativeAngle)
13288 r"""GetArcAngle(EDA_SHAPE self) -> double"""
13289 return _pcbnew.EDA_SHAPE_GetArcAngle(self)
13292 r"""EndsSwapped(EDA_SHAPE self) -> bool"""
13293 return _pcbnew.EDA_SHAPE_EndsSwapped(self)
13296 r"""GetArcMid(EDA_SHAPE self) -> wxPoint"""
13297 return _pcbnew.EDA_SHAPE_GetArcMid(self)
13300 r"""GetRectCorners(EDA_SHAPE self) -> wxPoint_Vector"""
13301 return _pcbnew.EDA_SHAPE_GetRectCorners(self)
13304 r"""CalcArcAngles(EDA_SHAPE self, double & aStartAngle, double & aEndAngle)"""
13305 return _pcbnew.EDA_SHAPE_CalcArcAngles(self, aStartAngle, aEndAngle)
13308 r"""GetRadius(EDA_SHAPE self) -> int"""
13309 return _pcbnew.EDA_SHAPE_GetRadius(self)
13312 r"""SetArcGeometry(EDA_SHAPE self, wxPoint aStart, wxPoint aMid, wxPoint aEnd)"""
13313 return _pcbnew.EDA_SHAPE_SetArcGeometry(self, aStart, aMid, aEnd)
13315 def SetCachedArcData(self, aStart:
"wxPoint", aMid:
"wxPoint", aEnd:
"wxPoint", aCenter:
"wxPoint") ->
"void":
13316 r"""SetCachedArcData(EDA_SHAPE self, wxPoint aStart, wxPoint aMid, wxPoint aEnd, wxPoint aCenter)"""
13317 return _pcbnew.EDA_SHAPE_SetCachedArcData(self, aStart, aMid, aEnd, aCenter)
13320 r"""GetBezierPoints(EDA_SHAPE self) -> wxPoint_Vector"""
13321 return _pcbnew.EDA_SHAPE_GetBezierPoints(self)
13324 r"""DupPolyPointsList(EDA_SHAPE self, wxPoint_Vector aBuffer)"""
13325 return _pcbnew.EDA_SHAPE_DupPolyPointsList(self, aBuffer)
13328 r"""GetPointCount(EDA_SHAPE self) -> int"""
13329 return _pcbnew.EDA_SHAPE_GetPointCount(self)
13336 return _pcbnew.EDA_SHAPE_GetPolyShape(self, *args)
13339 r"""IsPolyShapeValid(EDA_SHAPE self) -> bool"""
13340 return _pcbnew.EDA_SHAPE_IsPolyShapeValid(self)
13343 r"""SetPolyShape(EDA_SHAPE self, SHAPE_POLY_SET aShape)"""
13344 return _pcbnew.EDA_SHAPE_SetPolyShape(self, aShape)
13347 r"""SetPolyPoints(EDA_SHAPE self, wxPoint_Vector aPoints)"""
13348 return _pcbnew.EDA_SHAPE_SetPolyPoints(self, aPoints)
13351 r"""RebuildBezierToSegmentsPointsList(EDA_SHAPE self, int aMinSegLen)"""
13352 return _pcbnew.EDA_SHAPE_RebuildBezierToSegmentsPointsList(self, aMinSegLen)
13355 r"""MakeEffectiveShapes(EDA_SHAPE self) -> std::vector< SHAPE *,std::allocator< SHAPE * > >"""
13356 return _pcbnew.EDA_SHAPE_MakeEffectiveShapes(self)
13358 def ShapeGetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
13359 r"""ShapeGetMsgPanelInfo(EDA_SHAPE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
13360 return _pcbnew.EDA_SHAPE_ShapeGetMsgPanelInfo(self, aFrame, aList)
13363 r"""GetLength(EDA_SHAPE self) -> double"""
13364 return _pcbnew.EDA_SHAPE_GetLength(self)
13367 r"""TransformShapeWithClearanceToPolygon(EDA_SHAPE self, SHAPE_POLY_SET aCornerBuffer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth)"""
13368 return _pcbnew.EDA_SHAPE_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aClearanceValue, aError, aErrorLoc, ignoreLineWidth)
13371 r"""Compare(EDA_SHAPE self, EDA_SHAPE aOther) -> int"""
13372 return _pcbnew.EDA_SHAPE_Compare(self, aOther)
13375_pcbnew.EDA_SHAPE_swigregister(EDA_SHAPE)
13378 r"""Proxy of C++ PCB_SHAPE class."""
13380 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13381 __repr__ = _swig_repr
13385 __init__(PCB_SHAPE self, BOARD_ITEM aParent, KICAD_T idtype, SHAPE_T shapetype) -> PCB_SHAPE
13386 __init__(PCB_SHAPE self, BOARD_ITEM aParent=None, SHAPE_T shapetype=SEGMENT) -> PCB_SHAPE
13388 _pcbnew.PCB_SHAPE_swiginit(self, _pcbnew.new_PCB_SHAPE(*args))
13389 __swig_destroy__ = _pcbnew.delete_PCB_SHAPE
13393 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13394 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
13397 r"""GetClass(PCB_SHAPE self) -> wxString"""
13398 return _pcbnew.PCB_SHAPE_GetClass(self)
13400 def IsType(self, aScanTypes:
"KICAD_T const []") ->
"bool":
13401 r"""IsType(PCB_SHAPE self, KICAD_T const [] aScanTypes) -> bool"""
13402 return _pcbnew.PCB_SHAPE_IsType(self, aScanTypes)
13405 r"""SetPosition(PCB_SHAPE self, wxPoint aPos)"""
13406 return _pcbnew.PCB_SHAPE_SetPosition(self, aPos)
13409 r"""GetPosition(PCB_SHAPE self) -> wxPoint"""
13410 return _pcbnew.PCB_SHAPE_GetPosition(self)
13413 r"""GetCenter(PCB_SHAPE self) -> wxPoint"""
13414 return _pcbnew.PCB_SHAPE_GetCenter(self)
13417 r"""GetFocusPosition(PCB_SHAPE self) -> wxPoint"""
13418 return _pcbnew.PCB_SHAPE_GetFocusPosition(self)
13421 r"""GetParentFootprint(PCB_SHAPE self) -> FOOTPRINT"""
13422 return _pcbnew.PCB_SHAPE_GetParentFootprint(self)
13425 r"""GetEffectiveShape(PCB_SHAPE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13426 return _pcbnew.PCB_SHAPE_GetEffectiveShape(self, *args)
13428 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
13429 r"""GetMsgPanelInfo(PCB_SHAPE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
13430 return _pcbnew.PCB_SHAPE_GetMsgPanelInfo(self, aFrame, aList)
13433 r"""GetBoundingBox(PCB_SHAPE self) -> EDA_RECT"""
13434 return _pcbnew.PCB_SHAPE_GetBoundingBox(self)
13438 HitTest(PCB_SHAPE self, wxPoint aPosition, int aAccuracy=0) -> bool
13439 HitTest(PCB_SHAPE self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
13441 return _pcbnew.PCB_SHAPE_HitTest(self, *args)
13443 def Move(self, aMoveVector:
"wxPoint") ->
"void":
13444 r"""Move(PCB_SHAPE self, wxPoint aMoveVector)"""
13445 return _pcbnew.PCB_SHAPE_Move(self, aMoveVector)
13447 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
13448 r"""Rotate(PCB_SHAPE self, wxPoint aRotCentre, double aAngle)"""
13449 return _pcbnew.PCB_SHAPE_Rotate(self, aRotCentre, aAngle)
13451 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
13452 r"""Flip(PCB_SHAPE self, wxPoint aCentre, bool aFlipLeftRight)"""
13453 return _pcbnew.PCB_SHAPE_Flip(self, aCentre, aFlipLeftRight)
13455 def Scale(self, aScale:
"double") ->
"void":
13456 r"""Scale(PCB_SHAPE self, double aScale)"""
13457 return _pcbnew.PCB_SHAPE_Scale(self, aScale)
13459 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aClearanceValue:
"int", aError:
"int", aErrorLoc:
"ERROR_LOC", ignoreLineWidth:
"bool"=
False) ->
"void":
13460 r"""TransformShapeWithClearanceToPolygon(PCB_SHAPE self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
13461 return _pcbnew.PCB_SHAPE_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearanceValue, aError, aErrorLoc, ignoreLineWidth)
13464 r"""GetSelectMenuText(PCB_SHAPE self, EDA_UNITS aUnits) -> wxString"""
13465 return _pcbnew.PCB_SHAPE_GetSelectMenuText(self, aUnits)
13468 r"""GetMenuImage(PCB_SHAPE self) -> BITMAPS"""
13469 return _pcbnew.PCB_SHAPE_GetMenuImage(self)
13472 r"""Clone(PCB_SHAPE self) -> EDA_ITEM"""
13473 return _pcbnew.PCB_SHAPE_Clone(self)
13476 r"""ViewBBox(PCB_SHAPE self) -> BOX2I const"""
13477 return _pcbnew.PCB_SHAPE_ViewBBox(self)
13480 r"""SwapData(PCB_SHAPE self, BOARD_ITEM aImage)"""
13481 return _pcbnew.PCB_SHAPE_SwapData(self, aImage)
13484 r"""GetArcAngleStart(PCB_SHAPE self) -> double"""
13485 return _pcbnew.PCB_SHAPE_GetArcAngleStart(self)
13492_pcbnew.PCB_SHAPE_swigregister(PCB_SHAPE)
13495 r"""PCB_SHAPE_ClassOf(EDA_ITEM aItem) -> bool"""
13496 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
13499 r"""Proxy of C++ PCB_TEXT class."""
13501 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13502 __repr__ = _swig_repr
13505 r"""__init__(PCB_TEXT self, BOARD_ITEM parent) -> PCB_TEXT"""
13506 _pcbnew.PCB_TEXT_swiginit(self, _pcbnew.new_PCB_TEXT(parent))
13507 __swig_destroy__ = _pcbnew.delete_PCB_TEXT
13511 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13512 return _pcbnew.PCB_TEXT_ClassOf(aItem)
13514 def IsType(self, aScanTypes:
"KICAD_T const []") ->
"bool":
13515 r"""IsType(PCB_TEXT self, KICAD_T const [] aScanTypes) -> bool"""
13516 return _pcbnew.PCB_TEXT_IsType(self, aScanTypes)
13518 def GetShownText(self, aDepth:
"int"=0, aAllowExtraText:
"bool"=
True) ->
"wxString":
13519 r"""GetShownText(PCB_TEXT self, int aDepth=0, bool aAllowExtraText=True) -> wxString"""
13520 return _pcbnew.PCB_TEXT_GetShownText(self, aDepth, aAllowExtraText)
13523 r"""SetVisible(PCB_TEXT self, bool aVisible)"""
13524 return _pcbnew.PCB_TEXT_SetVisible(self, aVisible)
13527 r"""IsVisible(PCB_TEXT self) -> bool"""
13528 return _pcbnew.PCB_TEXT_IsVisible(self)
13530 def Matches(self, aSearchData:
"wxFindReplaceData const &", aAuxData:
"void *") ->
"bool":
13531 r"""Matches(PCB_TEXT self, wxFindReplaceData const & aSearchData, void * aAuxData) -> bool"""
13532 return _pcbnew.PCB_TEXT_Matches(self, aSearchData, aAuxData)
13535 r"""GetPosition(PCB_TEXT self) -> wxPoint"""
13536 return _pcbnew.PCB_TEXT_GetPosition(self)
13539 r"""SetPosition(PCB_TEXT self, wxPoint aPos)"""
13540 return _pcbnew.PCB_TEXT_SetPosition(self, aPos)
13542 def Move(self, aMoveVector:
"wxPoint") ->
"void":
13543 r"""Move(PCB_TEXT self, wxPoint aMoveVector)"""
13544 return _pcbnew.PCB_TEXT_Move(self, aMoveVector)
13547 r"""SetTextAngle(PCB_TEXT self, double aAngle)"""
13548 return _pcbnew.PCB_TEXT_SetTextAngle(self, aAngle)
13550 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
13551 r"""Rotate(PCB_TEXT self, wxPoint aRotCentre, double aAngle)"""
13552 return _pcbnew.PCB_TEXT_Rotate(self, aRotCentre, aAngle)
13554 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
13555 r"""Flip(PCB_TEXT self, wxPoint aCentre, bool aFlipLeftRight)"""
13556 return _pcbnew.PCB_TEXT_Flip(self, aCentre, aFlipLeftRight)
13558 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
13559 r"""GetMsgPanelInfo(PCB_TEXT self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
13560 return _pcbnew.PCB_TEXT_GetMsgPanelInfo(self, aFrame, aList)
13564 TextHitTest(PCB_TEXT self, wxPoint aPoint, int aAccuracy=0) -> bool
13565 TextHitTest(PCB_TEXT self, EDA_RECT aRect, bool aContains, int aAccuracy=0) -> bool
13567 return _pcbnew.PCB_TEXT_TextHitTest(self, *args)
13571 HitTest(PCB_TEXT self, wxPoint aPosition, int aAccuracy) -> bool
13572 HitTest(PCB_TEXT self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
13574 return _pcbnew.PCB_TEXT_HitTest(self, *args)
13577 r"""GetClass(PCB_TEXT self) -> wxString"""
13578 return _pcbnew.PCB_TEXT_GetClass(self)
13581 r"""TransformTextShapeWithClearanceToPolygon(PCB_TEXT self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc)"""
13582 return _pcbnew.PCB_TEXT_TransformTextShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearanceValue, aError, aErrorLoc)
13584 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aClearanceValue:
"int", aError:
"int", aErrorLoc:
"ERROR_LOC", aIgnoreLineWidth:
"bool"=
False) ->
"void":
13585 r"""TransformShapeWithClearanceToPolygon(PCB_TEXT self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth=False)"""
13586 return _pcbnew.PCB_TEXT_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearanceValue, aError, aErrorLoc, aIgnoreLineWidth)
13589 r"""GetEffectiveShape(PCB_TEXT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13590 return _pcbnew.PCB_TEXT_GetEffectiveShape(self, *args)
13593 r"""GetSelectMenuText(PCB_TEXT self, EDA_UNITS aUnits) -> wxString"""
13594 return _pcbnew.PCB_TEXT_GetSelectMenuText(self, aUnits)
13597 r"""GetMenuImage(PCB_TEXT self) -> BITMAPS"""
13598 return _pcbnew.PCB_TEXT_GetMenuImage(self)
13601 r"""GetBoundingBox(PCB_TEXT self) -> EDA_RECT"""
13602 return _pcbnew.PCB_TEXT_GetBoundingBox(self)
13605 r"""Clone(PCB_TEXT self) -> EDA_ITEM"""
13606 return _pcbnew.PCB_TEXT_Clone(self)
13609 r"""SwapData(PCB_TEXT self, BOARD_ITEM aImage)"""
13610 return _pcbnew.PCB_TEXT_SwapData(self, aImage)
13613_pcbnew.PCB_TEXT_swigregister(PCB_TEXT)
13614S_SEGMENT = cvar.S_SEGMENT
13615S_RECT = cvar.S_RECT
13617S_CIRCLE = cvar.S_CIRCLE
13618S_POLYGON = cvar.S_POLYGON
13619S_CURVE = cvar.S_CURVE
13622 r"""PCB_TEXT_ClassOf(EDA_ITEM aItem) -> bool"""
13623 return _pcbnew.PCB_TEXT_ClassOf(aItem)
13625DIM_UNITS_FORMAT_NO_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_NO_SUFFIX
13627DIM_UNITS_FORMAT_BARE_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_BARE_SUFFIX
13629DIM_UNITS_FORMAT_PAREN_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_PAREN_SUFFIX
13631DIM_TEXT_POSITION_OUTSIDE = _pcbnew.DIM_TEXT_POSITION_OUTSIDE
13633DIM_TEXT_POSITION_INLINE = _pcbnew.DIM_TEXT_POSITION_INLINE
13635DIM_TEXT_POSITION_MANUAL = _pcbnew.DIM_TEXT_POSITION_MANUAL
13637DIM_UNITS_MODE_INCHES = _pcbnew.DIM_UNITS_MODE_INCHES
13639DIM_UNITS_MODE_MILS = _pcbnew.DIM_UNITS_MODE_MILS
13641DIM_UNITS_MODE_MILLIMETRES = _pcbnew.DIM_UNITS_MODE_MILLIMETRES
13643DIM_UNITS_MODE_AUTOMATIC = _pcbnew.DIM_UNITS_MODE_AUTOMATIC
13645DIM_TEXT_FRAME_NONE = _pcbnew.DIM_TEXT_FRAME_NONE
13647DIM_TEXT_FRAME_RECTANGLE = _pcbnew.DIM_TEXT_FRAME_RECTANGLE
13649DIM_TEXT_FRAME_CIRCLE = _pcbnew.DIM_TEXT_FRAME_CIRCLE
13651DIM_TEXT_FRAME_ROUNDRECT = _pcbnew.DIM_TEXT_FRAME_ROUNDRECT
13654 r"""Proxy of C++ PCB_DIMENSION_BASE class."""
13656 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13659 raise AttributeError(
"No constructor defined - class is abstract")
13660 __repr__ = _swig_repr
13662 def IsType(self, aScanTypes:
"KICAD_T const []") ->
"bool":
13663 r"""IsType(PCB_DIMENSION_BASE self, KICAD_T const [] aScanTypes) -> bool"""
13664 return _pcbnew.PCB_DIMENSION_BASE_IsType(self, aScanTypes)
13667 r"""SetParent(PCB_DIMENSION_BASE self, EDA_ITEM aParent)"""
13668 return _pcbnew.PCB_DIMENSION_BASE_SetParent(self, aParent)
13671 r"""GetStart(PCB_DIMENSION_BASE self) -> wxPoint"""
13672 return _pcbnew.PCB_DIMENSION_BASE_GetStart(self)
13675 r"""SetStart(PCB_DIMENSION_BASE self, wxPoint aPoint)"""
13676 return _pcbnew.PCB_DIMENSION_BASE_SetStart(self, aPoint)
13679 r"""GetEnd(PCB_DIMENSION_BASE self) -> wxPoint"""
13680 return _pcbnew.PCB_DIMENSION_BASE_GetEnd(self)
13683 r"""SetEnd(PCB_DIMENSION_BASE self, wxPoint aPoint)"""
13684 return _pcbnew.PCB_DIMENSION_BASE_SetEnd(self, aPoint)
13687 r"""GetPosition(PCB_DIMENSION_BASE self) -> wxPoint"""
13688 return _pcbnew.PCB_DIMENSION_BASE_GetPosition(self)
13691 r"""SetPosition(PCB_DIMENSION_BASE self, wxPoint aPos)"""
13692 return _pcbnew.PCB_DIMENSION_BASE_SetPosition(self, aPos)
13695 r"""GetOverrideTextEnabled(PCB_DIMENSION_BASE self) -> bool"""
13696 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideTextEnabled(self)
13699 r"""SetOverrideTextEnabled(PCB_DIMENSION_BASE self, bool aOverride)"""
13700 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideTextEnabled(self, aOverride)
13703 r"""GetOverrideText(PCB_DIMENSION_BASE self) -> wxString"""
13704 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideText(self)
13707 r"""SetOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
13708 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideText(self, aValue)
13711 r"""GetMeasuredValue(PCB_DIMENSION_BASE self) -> int"""
13712 return _pcbnew.PCB_DIMENSION_BASE_GetMeasuredValue(self)
13715 r"""SetMeasuredValue(PCB_DIMENSION_BASE self, int aValue)"""
13716 return _pcbnew.PCB_DIMENSION_BASE_SetMeasuredValue(self, aValue)
13719 r"""GetValueText(PCB_DIMENSION_BASE self) -> wxString"""
13720 return _pcbnew.PCB_DIMENSION_BASE_GetValueText(self)
13723 r"""Update(PCB_DIMENSION_BASE self)"""
13724 return _pcbnew.PCB_DIMENSION_BASE_Update(self)
13727 r"""GetPrefix(PCB_DIMENSION_BASE self) -> wxString"""
13728 return _pcbnew.PCB_DIMENSION_BASE_GetPrefix(self)
13731 r"""SetPrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
13732 return _pcbnew.PCB_DIMENSION_BASE_SetPrefix(self, aPrefix)
13735 r"""GetSuffix(PCB_DIMENSION_BASE self) -> wxString"""
13736 return _pcbnew.PCB_DIMENSION_BASE_GetSuffix(self)
13739 r"""SetSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
13740 return _pcbnew.PCB_DIMENSION_BASE_SetSuffix(self, aSuffix)
13743 r"""GetUnits(PCB_DIMENSION_BASE self, EDA_UNITS & aUnits)"""
13744 return _pcbnew.PCB_DIMENSION_BASE_GetUnits(self, aUnits)
13747 r"""SetUnits(PCB_DIMENSION_BASE self, EDA_UNITS aUnits)"""
13748 return _pcbnew.PCB_DIMENSION_BASE_SetUnits(self, aUnits)
13751 r"""GetUnitsMode(PCB_DIMENSION_BASE self) -> DIM_UNITS_MODE"""
13752 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsMode(self)
13755 r"""SetUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
13756 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsMode(self, aMode)
13759 r"""SetAutoUnits(PCB_DIMENSION_BASE self, bool aAuto=True)"""
13760 return _pcbnew.PCB_DIMENSION_BASE_SetAutoUnits(self, aAuto)
13763 r"""GetUnitsFormat(PCB_DIMENSION_BASE self) -> DIM_UNITS_FORMAT"""
13764 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsFormat(self)
13767 r"""SetUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
13768 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsFormat(self, aFormat)
13771 r"""GetPrecision(PCB_DIMENSION_BASE self) -> int"""
13772 return _pcbnew.PCB_DIMENSION_BASE_GetPrecision(self)
13775 r"""SetPrecision(PCB_DIMENSION_BASE self, int aPrecision)"""
13776 return _pcbnew.PCB_DIMENSION_BASE_SetPrecision(self, aPrecision)
13779 r"""GetSuppressZeroes(PCB_DIMENSION_BASE self) -> bool"""
13780 return _pcbnew.PCB_DIMENSION_BASE_GetSuppressZeroes(self)
13783 r"""SetSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
13784 return _pcbnew.PCB_DIMENSION_BASE_SetSuppressZeroes(self, aSuppress)
13787 r"""GetKeepTextAligned(PCB_DIMENSION_BASE self) -> bool"""
13788 return _pcbnew.PCB_DIMENSION_BASE_GetKeepTextAligned(self)
13791 r"""SetKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)"""
13792 return _pcbnew.PCB_DIMENSION_BASE_SetKeepTextAligned(self, aKeepAligned)
13795 r"""SetTextPositionMode(PCB_DIMENSION_BASE self, DIM_TEXT_POSITION aMode)"""
13796 return _pcbnew.PCB_DIMENSION_BASE_SetTextPositionMode(self, aMode)
13799 r"""GetTextPositionMode(PCB_DIMENSION_BASE self) -> DIM_TEXT_POSITION"""
13800 return _pcbnew.PCB_DIMENSION_BASE_GetTextPositionMode(self)
13803 r"""GetArrowLength(PCB_DIMENSION_BASE self) -> int"""
13804 return _pcbnew.PCB_DIMENSION_BASE_GetArrowLength(self)
13807 r"""SetArrowLength(PCB_DIMENSION_BASE self, int aLength)"""
13808 return _pcbnew.PCB_DIMENSION_BASE_SetArrowLength(self, aLength)
13811 r"""SetExtensionOffset(PCB_DIMENSION_BASE self, int aOffset)"""
13812 return _pcbnew.PCB_DIMENSION_BASE_SetExtensionOffset(self, aOffset)
13815 r"""GetExtensionOffset(PCB_DIMENSION_BASE self) -> int"""
13816 return _pcbnew.PCB_DIMENSION_BASE_GetExtensionOffset(self)
13819 r"""GetLineThickness(PCB_DIMENSION_BASE self) -> int"""
13820 return _pcbnew.PCB_DIMENSION_BASE_GetLineThickness(self)
13823 r"""SetLineThickness(PCB_DIMENSION_BASE self, int aWidth)"""
13824 return _pcbnew.PCB_DIMENSION_BASE_SetLineThickness(self, aWidth)
13827 r"""SetLayer(PCB_DIMENSION_BASE self, PCB_LAYER_ID aLayer)"""
13828 return _pcbnew.PCB_DIMENSION_BASE_SetLayer(self, aLayer)
13831 r"""SetTextSize(PCB_DIMENSION_BASE self, wxSize aTextSize)"""
13832 return _pcbnew.PCB_DIMENSION_BASE_SetTextSize(self, aTextSize)
13835 r"""SetText(PCB_DIMENSION_BASE self, wxString aNewText)"""
13836 return _pcbnew.PCB_DIMENSION_BASE_SetText(self, aNewText)
13839 r"""GetText(PCB_DIMENSION_BASE self) -> wxString"""
13840 return _pcbnew.PCB_DIMENSION_BASE_GetText(self)
13842 def Text(self, *args) -> "PCB_TEXT const &":
13844 Text(PCB_DIMENSION_BASE self) -> PCB_TEXT
13845 Text(PCB_DIMENSION_BASE self) -> PCB_TEXT
13847 return _pcbnew.PCB_DIMENSION_BASE_Text(self, *args)
13849 def GetShapes(self) -> "std::vector< std::shared_ptr< SHAPE >,std::allocator< std::shared_ptr< SHAPE > > > const &
":
13850 r"""GetShapes(PCB_DIMENSION_BASE self) -> std::vector< std::shared_ptr< SHAPE >,std::allocator< std::shared_ptr< SHAPE > > > const &"""
13851 return _pcbnew.PCB_DIMENSION_BASE_GetShapes(self)
13853 def Move(self, offset:
"wxPoint") ->
"void":
13854 r"""Move(PCB_DIMENSION_BASE self, wxPoint offset)"""
13855 return _pcbnew.PCB_DIMENSION_BASE_Move(self, offset)
13857 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
13858 r"""Rotate(PCB_DIMENSION_BASE self, wxPoint aRotCentre, double aAngle)"""
13859 return _pcbnew.PCB_DIMENSION_BASE_Rotate(self, aRotCentre, aAngle)
13861 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
13862 r"""Flip(PCB_DIMENSION_BASE self, wxPoint aCentre, bool aFlipLeftRight)"""
13863 return _pcbnew.PCB_DIMENSION_BASE_Flip(self, aCentre, aFlipLeftRight)
13865 def Mirror(self, axis_pos:
"wxPoint", aMirrorLeftRight:
"bool"=
False) ->
"void":
13866 r"""Mirror(PCB_DIMENSION_BASE self, wxPoint axis_pos, bool aMirrorLeftRight=False)"""
13867 return _pcbnew.PCB_DIMENSION_BASE_Mirror(self, axis_pos, aMirrorLeftRight)
13869 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
13870 r"""GetMsgPanelInfo(PCB_DIMENSION_BASE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
13871 return _pcbnew.PCB_DIMENSION_BASE_GetMsgPanelInfo(self, aFrame, aList)
13875 HitTest(PCB_DIMENSION_BASE self, wxPoint aPosition, int aAccuracy) -> bool
13876 HitTest(PCB_DIMENSION_BASE self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
13878 return _pcbnew.PCB_DIMENSION_BASE_HitTest(self, *args)
13881 r"""GetBoundingBox(PCB_DIMENSION_BASE self) -> EDA_RECT"""
13882 return _pcbnew.PCB_DIMENSION_BASE_GetBoundingBox(self)
13885 r"""GetEffectiveShape(PCB_DIMENSION_BASE self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
13886 return _pcbnew.PCB_DIMENSION_BASE_GetEffectiveShape(self, *args)
13889 r"""GetSelectMenuText(PCB_DIMENSION_BASE self, EDA_UNITS aUnits) -> wxString"""
13890 return _pcbnew.PCB_DIMENSION_BASE_GetSelectMenuText(self, aUnits)
13893 r"""ViewBBox(PCB_DIMENSION_BASE self) -> BOX2I const"""
13894 return _pcbnew.PCB_DIMENSION_BASE_ViewBBox(self)
13897 r"""TransformShapeWithClearanceToPolygon(PCB_DIMENSION_BASE self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth)"""
13898 return _pcbnew.PCB_DIMENSION_BASE_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
13899 __swig_destroy__ = _pcbnew.delete_PCB_DIMENSION_BASE
13902_pcbnew.PCB_DIMENSION_BASE_swigregister(PCB_DIMENSION_BASE)
13905 r"""Proxy of C++ PCB_DIM_ALIGNED class."""
13907 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13908 __repr__ = _swig_repr
13910 def __init__(self, aParent:
"BOARD_ITEM", aType:
"KICAD_T"=PCB_DIM_ALIGNED_T):
13911 r"""__init__(PCB_DIM_ALIGNED self, BOARD_ITEM aParent, KICAD_T aType=PCB_DIM_ALIGNED_T) -> PCB_DIM_ALIGNED"""
13912 _pcbnew.PCB_DIM_ALIGNED_swiginit(self, _pcbnew.new_PCB_DIM_ALIGNED(aParent, aType))
13913 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ALIGNED
13917 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13918 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
13921 r"""Clone(PCB_DIM_ALIGNED self) -> EDA_ITEM"""
13922 return _pcbnew.PCB_DIM_ALIGNED_Clone(self)
13925 r"""SwapData(PCB_DIM_ALIGNED self, BOARD_ITEM aImage)"""
13926 return _pcbnew.PCB_DIM_ALIGNED_SwapData(self, aImage)
13929 r"""GetMenuImage(PCB_DIM_ALIGNED self) -> BITMAPS"""
13930 return _pcbnew.PCB_DIM_ALIGNED_GetMenuImage(self)
13933 r"""GetCrossbarStart(PCB_DIM_ALIGNED self) -> wxPoint"""
13934 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarStart(self)
13937 r"""GetCrossbarEnd(PCB_DIM_ALIGNED self) -> wxPoint"""
13938 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarEnd(self)
13941 r"""SetHeight(PCB_DIM_ALIGNED self, int aHeight)"""
13942 return _pcbnew.PCB_DIM_ALIGNED_SetHeight(self, aHeight)
13945 r"""GetHeight(PCB_DIM_ALIGNED self) -> int"""
13946 return _pcbnew.PCB_DIM_ALIGNED_GetHeight(self)
13948 def UpdateHeight(self, aCrossbarStart:
"wxPoint", aCrossbarEnd:
"wxPoint") ->
"void":
13949 r"""UpdateHeight(PCB_DIM_ALIGNED self, wxPoint aCrossbarStart, wxPoint aCrossbarEnd)"""
13950 return _pcbnew.PCB_DIM_ALIGNED_UpdateHeight(self, aCrossbarStart, aCrossbarEnd)
13953 r"""SetExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
13954 return _pcbnew.PCB_DIM_ALIGNED_SetExtensionHeight(self, aHeight)
13957 r"""GetExtensionHeight(PCB_DIM_ALIGNED self) -> int"""
13958 return _pcbnew.PCB_DIM_ALIGNED_GetExtensionHeight(self)
13961 r"""GetAngle(PCB_DIM_ALIGNED self) -> double"""
13962 return _pcbnew.PCB_DIM_ALIGNED_GetAngle(self)
13965 r"""GetClass(PCB_DIM_ALIGNED self) -> wxString"""
13966 return _pcbnew.PCB_DIM_ALIGNED_GetClass(self)
13968 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
13969 r"""GetMsgPanelInfo(PCB_DIM_ALIGNED self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
13970 return _pcbnew.PCB_DIM_ALIGNED_GetMsgPanelInfo(self, aFrame, aList)
13973_pcbnew.PCB_DIM_ALIGNED_swigregister(PCB_DIM_ALIGNED)
13976 r"""PCB_DIM_ALIGNED_ClassOf(EDA_ITEM aItem) -> bool"""
13977 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
13980 r"""Proxy of C++ PCB_DIM_ORTHOGONAL class."""
13982 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13983 __repr__ = _swig_repr
13984 DIR_HORIZONTAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_HORIZONTAL
13986 DIR_VERTICAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_VERTICAL
13990 r"""__init__(PCB_DIM_ORTHOGONAL self, BOARD_ITEM aParent) -> PCB_DIM_ORTHOGONAL"""
13991 _pcbnew.PCB_DIM_ORTHOGONAL_swiginit(self, _pcbnew.new_PCB_DIM_ORTHOGONAL(aParent))
13992 __swig_destroy__ = _pcbnew.delete_PCB_DIM_ORTHOGONAL
13996 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13997 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
14000 r"""Clone(PCB_DIM_ORTHOGONAL self) -> EDA_ITEM"""
14001 return _pcbnew.PCB_DIM_ORTHOGONAL_Clone(self)
14004 r"""SwapData(PCB_DIM_ORTHOGONAL self, BOARD_ITEM aImage)"""
14005 return _pcbnew.PCB_DIM_ORTHOGONAL_SwapData(self, aImage)
14008 r"""GetMenuImage(PCB_DIM_ORTHOGONAL self) -> BITMAPS"""
14009 return _pcbnew.PCB_DIM_ORTHOGONAL_GetMenuImage(self)
14012 r"""SetOrientation(PCB_DIM_ORTHOGONAL self, PCB_DIM_ORTHOGONAL::DIR aOrientation)"""
14013 return _pcbnew.PCB_DIM_ORTHOGONAL_SetOrientation(self, aOrientation)
14016 r"""GetOrientation(PCB_DIM_ORTHOGONAL self) -> PCB_DIM_ORTHOGONAL::DIR"""
14017 return _pcbnew.PCB_DIM_ORTHOGONAL_GetOrientation(self)
14020 r"""GetClass(PCB_DIM_ORTHOGONAL self) -> wxString"""
14021 return _pcbnew.PCB_DIM_ORTHOGONAL_GetClass(self)
14023 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
14024 r"""Rotate(PCB_DIM_ORTHOGONAL self, wxPoint aRotCentre, double aAngle)"""
14025 return _pcbnew.PCB_DIM_ORTHOGONAL_Rotate(self, aRotCentre, aAngle)
14028_pcbnew.PCB_DIM_ORTHOGONAL_swigregister(PCB_DIM_ORTHOGONAL)
14031 r"""PCB_DIM_ORTHOGONAL_ClassOf(EDA_ITEM aItem) -> bool"""
14032 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
14035 r"""Proxy of C++ PCB_DIM_LEADER class."""
14037 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14038 __repr__ = _swig_repr
14041 r"""__init__(PCB_DIM_LEADER self, BOARD_ITEM aParent) -> PCB_DIM_LEADER"""
14042 _pcbnew.PCB_DIM_LEADER_swiginit(self, _pcbnew.new_PCB_DIM_LEADER(aParent))
14046 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14047 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
14050 r"""Clone(PCB_DIM_LEADER self) -> EDA_ITEM"""
14051 return _pcbnew.PCB_DIM_LEADER_Clone(self)
14054 r"""SwapData(PCB_DIM_LEADER self, BOARD_ITEM aImage)"""
14055 return _pcbnew.PCB_DIM_LEADER_SwapData(self, aImage)
14058 r"""GetMenuImage(PCB_DIM_LEADER self) -> BITMAPS"""
14059 return _pcbnew.PCB_DIM_LEADER_GetMenuImage(self)
14062 r"""GetClass(PCB_DIM_LEADER self) -> wxString"""
14063 return _pcbnew.PCB_DIM_LEADER_GetClass(self)
14066 r"""SetTextFrame(PCB_DIM_LEADER self, DIM_TEXT_FRAME aFrame)"""
14067 return _pcbnew.PCB_DIM_LEADER_SetTextFrame(self, aFrame)
14070 r"""GetTextFrame(PCB_DIM_LEADER self) -> DIM_TEXT_FRAME"""
14071 return _pcbnew.PCB_DIM_LEADER_GetTextFrame(self)
14073 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
14074 r"""GetMsgPanelInfo(PCB_DIM_LEADER self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
14075 return _pcbnew.PCB_DIM_LEADER_GetMsgPanelInfo(self, aFrame, aList)
14076 __swig_destroy__ = _pcbnew.delete_PCB_DIM_LEADER
14079_pcbnew.PCB_DIM_LEADER_swigregister(PCB_DIM_LEADER)
14082 r"""PCB_DIM_LEADER_ClassOf(EDA_ITEM aItem) -> bool"""
14083 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
14086 r"""Proxy of C++ PCB_DIM_CENTER class."""
14088 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14089 __repr__ = _swig_repr
14092 r"""__init__(PCB_DIM_CENTER self, BOARD_ITEM aParent) -> PCB_DIM_CENTER"""
14093 _pcbnew.PCB_DIM_CENTER_swiginit(self, _pcbnew.new_PCB_DIM_CENTER(aParent))
14097 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14098 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
14101 r"""Clone(PCB_DIM_CENTER self) -> EDA_ITEM"""
14102 return _pcbnew.PCB_DIM_CENTER_Clone(self)
14105 r"""SwapData(PCB_DIM_CENTER self, BOARD_ITEM aImage)"""
14106 return _pcbnew.PCB_DIM_CENTER_SwapData(self, aImage)
14109 r"""GetMenuImage(PCB_DIM_CENTER self) -> BITMAPS"""
14110 return _pcbnew.PCB_DIM_CENTER_GetMenuImage(self)
14113 r"""GetClass(PCB_DIM_CENTER self) -> wxString"""
14114 return _pcbnew.PCB_DIM_CENTER_GetClass(self)
14117 r"""GetBoundingBox(PCB_DIM_CENTER self) -> EDA_RECT"""
14118 return _pcbnew.PCB_DIM_CENTER_GetBoundingBox(self)
14121 r"""ViewBBox(PCB_DIM_CENTER self) -> BOX2I const"""
14122 return _pcbnew.PCB_DIM_CENTER_ViewBBox(self)
14123 __swig_destroy__ = _pcbnew.delete_PCB_DIM_CENTER
14126_pcbnew.PCB_DIM_CENTER_swigregister(PCB_DIM_CENTER)
14129 r"""PCB_DIM_CENTER_ClassOf(EDA_ITEM aItem) -> bool"""
14130 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
14132MARKER_SHAPE_POINT_COUNT = _pcbnew.MARKER_SHAPE_POINT_COUNT
14135 r"""Proxy of C++ PCB_MARKER class."""
14137 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14138 __repr__ = _swig_repr
14140 def __init__(self, aItem:
"std::shared_ptr< RC_ITEM >", aPosition:
"wxPoint"):
14141 r"""__init__(PCB_MARKER self, std::shared_ptr< RC_ITEM > aItem, wxPoint aPosition) -> PCB_MARKER"""
14142 _pcbnew.PCB_MARKER_swiginit(self, _pcbnew.new_PCB_MARKER(aItem, aPosition))
14143 __swig_destroy__ = _pcbnew.delete_PCB_MARKER
14147 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14148 return _pcbnew.PCB_MARKER_ClassOf(aItem)
14151 r"""GetUUID(PCB_MARKER self) -> KIID"""
14152 return _pcbnew.PCB_MARKER_GetUUID(self)
14155 r"""Serialize(PCB_MARKER self) -> wxString"""
14156 return _pcbnew.PCB_MARKER_Serialize(self)
14160 r"""Deserialize(wxString data) -> PCB_MARKER"""
14161 return _pcbnew.PCB_MARKER_Deserialize(data)
14163 def Move(self, aMoveVector:
"wxPoint") ->
"void":
14164 r"""Move(PCB_MARKER self, wxPoint aMoveVector)"""
14165 return _pcbnew.PCB_MARKER_Move(self, aMoveVector)
14167 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
14168 r"""Rotate(PCB_MARKER self, wxPoint aRotCentre, double aAngle)"""
14169 return _pcbnew.PCB_MARKER_Rotate(self, aRotCentre, aAngle)
14171 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
14172 r"""Flip(PCB_MARKER self, wxPoint aCentre, bool aFlipLeftRight)"""
14173 return _pcbnew.PCB_MARKER_Flip(self, aCentre, aFlipLeftRight)
14176 r"""GetPosition(PCB_MARKER self) -> wxPoint"""
14177 return _pcbnew.PCB_MARKER_GetPosition(self)
14180 r"""SetPosition(PCB_MARKER self, wxPoint aPos)"""
14181 return _pcbnew.PCB_MARKER_SetPosition(self, aPos)
14184 r"""GetCenter(PCB_MARKER self) -> wxPoint"""
14185 return _pcbnew.PCB_MARKER_GetCenter(self)
14187 def HitTest(self, aPosition:
"wxPoint", aAccuracy:
"int"=0) ->
"bool":
14188 r"""HitTest(PCB_MARKER self, wxPoint aPosition, int aAccuracy=0) -> bool"""
14189 return _pcbnew.PCB_MARKER_HitTest(self, aPosition, aAccuracy)
14192 r"""Clone(PCB_MARKER self) -> EDA_ITEM"""
14193 return _pcbnew.PCB_MARKER_Clone(self)
14196 r"""GetColorLayer(PCB_MARKER self) -> GAL_LAYER_ID"""
14197 return _pcbnew.PCB_MARKER_GetColorLayer(self)
14200 r"""GetEffectiveShape(PCB_MARKER self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14201 return _pcbnew.PCB_MARKER_GetEffectiveShape(self, *args)
14203 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
14204 r"""GetMsgPanelInfo(PCB_MARKER self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
14205 return _pcbnew.PCB_MARKER_GetMsgPanelInfo(self, aFrame, aList)
14207 def Matches(self, aSearchData:
"wxFindReplaceData const &", aAuxData:
"void *") ->
"bool":
14208 r"""Matches(PCB_MARKER self, wxFindReplaceData const & aSearchData, void * aAuxData) -> bool"""
14209 return _pcbnew.PCB_MARKER_Matches(self, aSearchData, aAuxData)
14212 r"""GetSelectMenuText(PCB_MARKER self, EDA_UNITS aUnits) -> wxString"""
14213 return _pcbnew.PCB_MARKER_GetSelectMenuText(self, aUnits)
14216 r"""GetMenuImage(PCB_MARKER self) -> BITMAPS"""
14217 return _pcbnew.PCB_MARKER_GetMenuImage(self)
14220 r"""SetZoom(PCB_MARKER self, double aZoomFactor)"""
14221 return _pcbnew.PCB_MARKER_SetZoom(self, aZoomFactor)
14224 r"""ViewBBox(PCB_MARKER self) -> BOX2I const"""
14225 return _pcbnew.PCB_MARKER_ViewBBox(self)
14228 r"""GetBoundingBox(PCB_MARKER self) -> EDA_RECT"""
14229 return _pcbnew.PCB_MARKER_GetBoundingBox(self)
14232 r"""ViewGetLayers(PCB_MARKER self, int [] aLayers, int & aCount)"""
14233 return _pcbnew.PCB_MARKER_ViewGetLayers(self, aLayers, aCount)
14236 r"""GetClass(PCB_MARKER self) -> wxString"""
14237 return _pcbnew.PCB_MARKER_GetClass(self)
14240_pcbnew.PCB_MARKER_swigregister(PCB_MARKER)
14243 r"""PCB_MARKER_ClassOf(EDA_ITEM aItem) -> bool"""
14244 return _pcbnew.PCB_MARKER_ClassOf(aItem)
14247 r"""PCB_MARKER_Deserialize(wxString data) -> PCB_MARKER"""
14248 return _pcbnew.PCB_MARKER_Deserialize(data)
14251 r"""Proxy of C++ PCB_TARGET class."""
14253 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14254 __repr__ = _swig_repr
14258 __init__(PCB_TARGET self, BOARD_ITEM aParent) -> PCB_TARGET
14259 __init__(PCB_TARGET self, BOARD_ITEM aParent, int aShape, PCB_LAYER_ID aLayer, wxPoint aPos, int aSize, int aWidth) -> PCB_TARGET
14261 _pcbnew.PCB_TARGET_swiginit(self, _pcbnew.new_PCB_TARGET(*args))
14262 __swig_destroy__ = _pcbnew.delete_PCB_TARGET
14266 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14267 return _pcbnew.PCB_TARGET_ClassOf(aItem)
14270 r"""SetPosition(PCB_TARGET self, wxPoint aPos)"""
14271 return _pcbnew.PCB_TARGET_SetPosition(self, aPos)
14274 r"""GetPosition(PCB_TARGET self) -> wxPoint"""
14275 return _pcbnew.PCB_TARGET_GetPosition(self)
14278 r"""SetShape(PCB_TARGET self, int aShape)"""
14279 return _pcbnew.PCB_TARGET_SetShape(self, aShape)
14282 r"""GetShape(PCB_TARGET self) -> int"""
14283 return _pcbnew.PCB_TARGET_GetShape(self)
14286 r"""SetSize(PCB_TARGET self, int aSize)"""
14287 return _pcbnew.PCB_TARGET_SetSize(self, aSize)
14290 r"""GetSize(PCB_TARGET self) -> int"""
14291 return _pcbnew.PCB_TARGET_GetSize(self)
14294 r"""SetWidth(PCB_TARGET self, int aWidth)"""
14295 return _pcbnew.PCB_TARGET_SetWidth(self, aWidth)
14298 r"""GetWidth(PCB_TARGET self) -> int"""
14299 return _pcbnew.PCB_TARGET_GetWidth(self)
14301 def Move(self, aMoveVector:
"wxPoint") ->
"void":
14302 r"""Move(PCB_TARGET self, wxPoint aMoveVector)"""
14303 return _pcbnew.PCB_TARGET_Move(self, aMoveVector)
14305 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
14306 r"""Rotate(PCB_TARGET self, wxPoint aRotCentre, double aAngle)"""
14307 return _pcbnew.PCB_TARGET_Rotate(self, aRotCentre, aAngle)
14309 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
14310 r"""Flip(PCB_TARGET self, wxPoint aCentre, bool aFlipLeftRight)"""
14311 return _pcbnew.PCB_TARGET_Flip(self, aCentre, aFlipLeftRight)
14314 r"""GetClass(PCB_TARGET self) -> wxString"""
14315 return _pcbnew.PCB_TARGET_GetClass(self)
14319 HitTest(PCB_TARGET self, wxPoint aPosition, int aAccuracy=0) -> bool
14320 HitTest(PCB_TARGET self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
14322 return _pcbnew.PCB_TARGET_HitTest(self, *args)
14325 r"""GetBoundingBox(PCB_TARGET self) -> EDA_RECT"""
14326 return _pcbnew.PCB_TARGET_GetBoundingBox(self)
14329 r"""GetEffectiveShape(PCB_TARGET self, PCB_LAYER_ID aLayer, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14330 return _pcbnew.PCB_TARGET_GetEffectiveShape(self, *args)
14333 r"""GetSelectMenuText(PCB_TARGET self, EDA_UNITS aUnits) -> wxString"""
14334 return _pcbnew.PCB_TARGET_GetSelectMenuText(self, aUnits)
14337 r"""GetMenuImage(PCB_TARGET self) -> BITMAPS"""
14338 return _pcbnew.PCB_TARGET_GetMenuImage(self)
14341 r"""Clone(PCB_TARGET self) -> EDA_ITEM"""
14342 return _pcbnew.PCB_TARGET_Clone(self)
14345 r"""SwapData(PCB_TARGET self, BOARD_ITEM aImage)"""
14346 return _pcbnew.PCB_TARGET_SwapData(self, aImage)
14348 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
14349 r"""GetMsgPanelInfo(PCB_TARGET self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
14350 return _pcbnew.PCB_TARGET_GetMsgPanelInfo(self, aFrame, aList)
14352 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aClearanceValue:
"int", aError:
"int", aErrorLoc:
"ERROR_LOC", ignoreLineWidth:
"bool"=
False) ->
"void":
14353 r"""TransformShapeWithClearanceToPolygon(PCB_TARGET self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc, bool ignoreLineWidth=False)"""
14354 return _pcbnew.PCB_TARGET_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearanceValue, aError, aErrorLoc, ignoreLineWidth)
14357_pcbnew.PCB_TARGET_swigregister(PCB_TARGET)
14360 r"""PCB_TARGET_ClassOf(EDA_ITEM aItem) -> bool"""
14361 return _pcbnew.PCB_TARGET_ClassOf(aItem)
14364 r"""Proxy of C++ FP_SHAPE class."""
14366 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14367 __repr__ = _swig_repr
14370 r"""__init__(FP_SHAPE self, FOOTPRINT parent, SHAPE_T aShape=SEGMENT) -> FP_SHAPE"""
14371 _pcbnew.FP_SHAPE_swiginit(self, _pcbnew.new_FP_SHAPE(*args))
14372 __swig_destroy__ = _pcbnew.delete_FP_SHAPE
14376 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14377 return _pcbnew.FP_SHAPE_ClassOf(aItem)
14379 def IsType(self, aScanTypes:
"KICAD_T const []") ->
"bool":
14380 r"""IsType(FP_SHAPE self, KICAD_T const [] aScanTypes) -> bool"""
14381 return _pcbnew.FP_SHAPE_IsType(self, aScanTypes)
14384 r"""SetArcAngleAndEnd0(FP_SHAPE self, double aAngle, bool aCheckNegativeAngle=False)"""
14385 return _pcbnew.FP_SHAPE_SetArcAngleAndEnd0(self, aAngle, aCheckNegativeAngle)
14388 r"""SetArcGeometry0(FP_SHAPE self, wxPoint aStart, wxPoint aMid, wxPoint aEnd)"""
14389 return _pcbnew.FP_SHAPE_SetArcGeometry0(self, aStart, aMid, aEnd)
14391 def Move(self, aMoveVector:
"wxPoint") ->
"void":
14392 r"""Move(FP_SHAPE self, wxPoint aMoveVector)"""
14393 return _pcbnew.FP_SHAPE_Move(self, aMoveVector)
14395 def Mirror(self, aCentre:
"wxPoint", aMirrorAroundXAxis:
"bool") ->
"void":
14396 r"""Mirror(FP_SHAPE self, wxPoint aCentre, bool aMirrorAroundXAxis)"""
14397 return _pcbnew.FP_SHAPE_Mirror(self, aCentre, aMirrorAroundXAxis)
14399 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
14400 r"""Rotate(FP_SHAPE self, wxPoint aRotCentre, double aAngle)"""
14401 return _pcbnew.FP_SHAPE_Rotate(self, aRotCentre, aAngle)
14403 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
14404 r"""Flip(FP_SHAPE self, wxPoint aCentre, bool aFlipLeftRight)"""
14405 return _pcbnew.FP_SHAPE_Flip(self, aCentre, aFlipLeftRight)
14408 r"""IsParentFlipped(FP_SHAPE self) -> bool"""
14409 return _pcbnew.FP_SHAPE_IsParentFlipped(self)
14412 r"""SetStart0(FP_SHAPE self, wxPoint aPoint)"""
14413 return _pcbnew.FP_SHAPE_SetStart0(self, aPoint)
14416 r"""GetStart0(FP_SHAPE self) -> wxPoint"""
14417 return _pcbnew.FP_SHAPE_GetStart0(self)
14420 r"""SetEnd0(FP_SHAPE self, wxPoint aPoint)"""
14421 return _pcbnew.FP_SHAPE_SetEnd0(self, aPoint)
14424 r"""GetEnd0(FP_SHAPE self) -> wxPoint"""
14425 return _pcbnew.FP_SHAPE_GetEnd0(self)
14428 r"""SetBezierC1_0(FP_SHAPE self, wxPoint aPoint)"""
14429 return _pcbnew.FP_SHAPE_SetBezierC1_0(self, aPoint)
14432 r"""GetBezierC1_0(FP_SHAPE self) -> wxPoint"""
14433 return _pcbnew.FP_SHAPE_GetBezierC1_0(self)
14436 r"""SetBezierC2_0(FP_SHAPE self, wxPoint aPoint)"""
14437 return _pcbnew.FP_SHAPE_SetBezierC2_0(self, aPoint)
14440 r"""GetBezierC2_0(FP_SHAPE self) -> wxPoint"""
14441 return _pcbnew.FP_SHAPE_GetBezierC2_0(self)
14444 r"""GetCenter0(FP_SHAPE self) -> wxPoint"""
14445 return _pcbnew.FP_SHAPE_GetCenter0(self)
14448 r"""SetCenter0(FP_SHAPE self, wxPoint aPt)"""
14449 return _pcbnew.FP_SHAPE_SetCenter0(self, aPt)
14452 r"""GetArcMid0(FP_SHAPE self) -> wxPoint"""
14453 return _pcbnew.FP_SHAPE_GetArcMid0(self)
14456 r"""SetLocalCoord(FP_SHAPE self)"""
14457 return _pcbnew.FP_SHAPE_SetLocalCoord(self)
14460 r"""SetDrawCoord(FP_SHAPE self)"""
14461 return _pcbnew.FP_SHAPE_SetDrawCoord(self)
14463 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
14464 r"""GetMsgPanelInfo(FP_SHAPE self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
14465 return _pcbnew.FP_SHAPE_GetMsgPanelInfo(self, aFrame, aList)
14468 r"""GetClass(FP_SHAPE self) -> wxString"""
14469 return _pcbnew.FP_SHAPE_GetClass(self)
14472 r"""GetParentAsString(FP_SHAPE self) -> wxString"""
14473 return _pcbnew.FP_SHAPE_GetParentAsString(self)
14476 r"""GetSelectMenuText(FP_SHAPE self, EDA_UNITS aUnits) -> wxString"""
14477 return _pcbnew.FP_SHAPE_GetSelectMenuText(self, aUnits)
14480 r"""GetMenuImage(FP_SHAPE self) -> BITMAPS"""
14481 return _pcbnew.FP_SHAPE_GetMenuImage(self)
14484 r"""Clone(FP_SHAPE self) -> EDA_ITEM"""
14485 return _pcbnew.FP_SHAPE_Clone(self)
14487 def ViewGetLOD(self, aLayer:
"int", aView:
"KIGFX::VIEW *") ->
"double":
14488 r"""ViewGetLOD(FP_SHAPE self, int aLayer, KIGFX::VIEW * aView) -> double"""
14489 return _pcbnew.FP_SHAPE_ViewGetLOD(self, aLayer, aView)
14492_pcbnew.FP_SHAPE_swigregister(FP_SHAPE)
14495 r"""FP_SHAPE_ClassOf(EDA_ITEM aItem) -> bool"""
14496 return _pcbnew.FP_SHAPE_ClassOf(aItem)
14499 r"""Proxy of C++ FP_TEXT class."""
14501 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14502 __repr__ = _swig_repr
14503 TEXT_is_REFERENCE = _pcbnew.FP_TEXT_TEXT_is_REFERENCE
14505 TEXT_is_VALUE = _pcbnew.FP_TEXT_TEXT_is_VALUE
14507 TEXT_is_DIVERS = _pcbnew.FP_TEXT_TEXT_is_DIVERS
14511 r"""__init__(FP_TEXT self, FOOTPRINT aParentFootprint, FP_TEXT::TEXT_TYPE text_type=TEXT_is_DIVERS) -> FP_TEXT"""
14512 _pcbnew.FP_TEXT_swiginit(self, _pcbnew.new_FP_TEXT(*args))
14513 __swig_destroy__ = _pcbnew.delete_FP_TEXT
14517 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14518 return _pcbnew.FP_TEXT_ClassOf(aItem)
14520 def IsType(self, aScanTypes:
"KICAD_T const []") ->
"bool":
14521 r"""IsType(FP_TEXT self, KICAD_T const [] aScanTypes) -> bool"""
14522 return _pcbnew.FP_TEXT_IsType(self, aScanTypes)
14525 r"""GetParentAsString(FP_TEXT self) -> wxString"""
14526 return _pcbnew.FP_TEXT_GetParentAsString(self)
14528 def Matches(self, aSearchData:
"wxFindReplaceData const &", aAuxData:
"void *") ->
"bool":
14529 r"""Matches(FP_TEXT self, wxFindReplaceData const & aSearchData, void * aAuxData) -> bool"""
14530 return _pcbnew.FP_TEXT_Matches(self, aSearchData, aAuxData)
14533 r"""GetPosition(FP_TEXT self) -> wxPoint"""
14534 return _pcbnew.FP_TEXT_GetPosition(self)
14537 r"""SetPosition(FP_TEXT self, wxPoint aPos)"""
14538 return _pcbnew.FP_TEXT_SetPosition(self, aPos)
14541 r"""SetTextAngle(FP_TEXT self, double aAngle)"""
14542 return _pcbnew.FP_TEXT_SetTextAngle(self, aAngle)
14544 def KeepUpright(self, aOldOrientation:
"double", aNewOrientation:
"double") ->
"void":
14545 r"""KeepUpright(FP_TEXT self, double aOldOrientation, double aNewOrientation)"""
14546 return _pcbnew.FP_TEXT_KeepUpright(self, aOldOrientation, aNewOrientation)
14549 r"""IsKeepUpright(FP_TEXT self) -> bool"""
14550 return _pcbnew.FP_TEXT_IsKeepUpright(self)
14553 r"""SetKeepUpright(FP_TEXT self, bool aKeepUpright)"""
14554 return _pcbnew.FP_TEXT_SetKeepUpright(self, aKeepUpright)
14556 def Rotate(self, aOffset:
"wxPoint", aAngle:
"double") ->
"void":
14557 r"""Rotate(FP_TEXT self, wxPoint aOffset, double aAngle)"""
14558 return _pcbnew.FP_TEXT_Rotate(self, aOffset, aAngle)
14560 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
14561 r"""Flip(FP_TEXT self, wxPoint aCentre, bool aFlipLeftRight)"""
14562 return _pcbnew.FP_TEXT_Flip(self, aCentre, aFlipLeftRight)
14565 r"""IsParentFlipped(FP_TEXT self) -> bool"""
14566 return _pcbnew.FP_TEXT_IsParentFlipped(self)
14568 def Mirror(self, aCentre:
"wxPoint", aMirrorAroundXAxis:
"bool") ->
"void":
14569 r"""Mirror(FP_TEXT self, wxPoint aCentre, bool aMirrorAroundXAxis)"""
14570 return _pcbnew.FP_TEXT_Mirror(self, aCentre, aMirrorAroundXAxis)
14572 def Move(self, aMoveVector:
"wxPoint") ->
"void":
14573 r"""Move(FP_TEXT self, wxPoint aMoveVector)"""
14574 return _pcbnew.FP_TEXT_Move(self, aMoveVector)
14576 def SetType(self, aType:
"FP_TEXT::TEXT_TYPE") ->
"void":
14577 r"""SetType(FP_TEXT self, FP_TEXT::TEXT_TYPE aType)"""
14578 return _pcbnew.FP_TEXT_SetType(self, aType)
14581 r"""GetType(FP_TEXT self) -> FP_TEXT::TEXT_TYPE"""
14582 return _pcbnew.FP_TEXT_GetType(self)
14585 r"""SetEffects(FP_TEXT self, FP_TEXT aSrc)"""
14586 return _pcbnew.FP_TEXT_SetEffects(self, aSrc)
14589 r"""SwapEffects(FP_TEXT self, FP_TEXT aTradingPartner)"""
14590 return _pcbnew.FP_TEXT_SwapEffects(self, aTradingPartner)
14593 r"""SetPos0(FP_TEXT self, wxPoint aPos)"""
14594 return _pcbnew.FP_TEXT_SetPos0(self, aPos)
14597 r"""GetPos0(FP_TEXT self) -> wxPoint"""
14598 return _pcbnew.FP_TEXT_GetPos0(self)
14601 r"""GetLength(FP_TEXT self) -> int"""
14602 return _pcbnew.FP_TEXT_GetLength(self)
14605 r"""GetDrawRotation(FP_TEXT self) -> double"""
14606 return _pcbnew.FP_TEXT_GetDrawRotation(self)
14609 r"""GetDrawRotationRadians(FP_TEXT self) -> double"""
14610 return _pcbnew.FP_TEXT_GetDrawRotationRadians(self)
14613 r"""GetBoundingBox(FP_TEXT self) -> EDA_RECT"""
14614 return _pcbnew.FP_TEXT_GetBoundingBox(self)
14617 r"""SetDrawCoord(FP_TEXT self)"""
14618 return _pcbnew.FP_TEXT_SetDrawCoord(self)
14621 r"""SetLocalCoord(FP_TEXT self)"""
14622 return _pcbnew.FP_TEXT_SetLocalCoord(self)
14624 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
14625 r"""GetMsgPanelInfo(FP_TEXT self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
14626 return _pcbnew.FP_TEXT_GetMsgPanelInfo(self, aFrame, aList)
14630 TextHitTest(FP_TEXT self, wxPoint aPoint, int aAccuracy=0) -> bool
14631 TextHitTest(FP_TEXT self, EDA_RECT aRect, bool aContains, int aAccuracy=0) -> bool
14633 return _pcbnew.FP_TEXT_TextHitTest(self, *args)
14637 HitTest(FP_TEXT self, wxPoint aPosition, int aAccuracy) -> bool
14638 HitTest(FP_TEXT self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
14640 return _pcbnew.FP_TEXT_HitTest(self, *args)
14643 r"""TransformShapeWithClearanceToPolygon(FP_TEXT self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIgnoreLineWidth)"""
14644 return _pcbnew.FP_TEXT_TransformShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearance, aError, aErrorLoc, aIgnoreLineWidth)
14647 r"""TransformTextShapeWithClearanceToPolygon(FP_TEXT self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearanceValue, int aError, ERROR_LOC aErrorLoc)"""
14648 return _pcbnew.FP_TEXT_TransformTextShapeWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearanceValue, aError, aErrorLoc)
14651 r"""GetEffectiveShape(FP_TEXT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
14652 return _pcbnew.FP_TEXT_GetEffectiveShape(self, *args)
14655 r"""GetClass(FP_TEXT self) -> wxString"""
14656 return _pcbnew.FP_TEXT_GetClass(self)
14659 r"""GetSelectMenuText(FP_TEXT self, EDA_UNITS aUnits) -> wxString"""
14660 return _pcbnew.FP_TEXT_GetSelectMenuText(self, aUnits)
14663 r"""GetMenuImage(FP_TEXT self) -> BITMAPS"""
14664 return _pcbnew.FP_TEXT_GetMenuImage(self)
14667 r"""Clone(FP_TEXT self) -> EDA_ITEM"""
14668 return _pcbnew.FP_TEXT_Clone(self)
14670 def GetShownText(self, aDepth:
"int"=0, aAllowExtraText:
"bool"=
True) ->
"wxString":
14671 r"""GetShownText(FP_TEXT self, int aDepth=0, bool aAllowExtraText=True) -> wxString"""
14672 return _pcbnew.FP_TEXT_GetShownText(self, aDepth, aAllowExtraText)
14675 r"""ViewBBox(FP_TEXT self) -> BOX2I const"""
14676 return _pcbnew.FP_TEXT_ViewBBox(self)
14679 r"""ViewGetLayers(FP_TEXT self, int [] aLayers, int & aCount)"""
14680 return _pcbnew.FP_TEXT_ViewGetLayers(self, aLayers, aCount)
14682 def ViewGetLOD(self, aLayer:
"int", aView:
"KIGFX::VIEW *") ->
"double":
14683 r"""ViewGetLOD(FP_TEXT self, int aLayer, KIGFX::VIEW * aView) -> double"""
14684 return _pcbnew.FP_TEXT_ViewGetLOD(self, aLayer, aView)
14687_pcbnew.FP_TEXT_swigregister(FP_TEXT)
14690 r"""FP_TEXT_ClassOf(EDA_ITEM aItem) -> bool"""
14691 return _pcbnew.FP_TEXT_ClassOf(aItem)
14693CH_VISIBLE = _pcbnew.CH_VISIBLE
14695CH_UNROUTABLE = _pcbnew.CH_UNROUTABLE
14697CH_ROUTE_REQ = _pcbnew.CH_ROUTE_REQ
14699CH_ACTIF = _pcbnew.CH_ACTIF
14701LOCAL_RATSNEST_ITEM = _pcbnew.LOCAL_RATSNEST_ITEM
14704 r"""Proxy of C++ std::vector< PAD * > class."""
14706 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14707 __repr__ = _swig_repr
14710 r"""iterator(PADS_VEC self) -> SwigPyIterator"""
14711 return _pcbnew.PADS_VEC_iterator(self)
14716 r"""__nonzero__(PADS_VEC self) -> bool"""
14717 return _pcbnew.PADS_VEC___nonzero__(self)
14720 r"""__bool__(PADS_VEC self) -> bool"""
14721 return _pcbnew.PADS_VEC___bool__(self)
14723 def __len__(self) -> "std::vector< PAD * >::size_type
":
14724 r"""__len__(PADS_VEC self) -> std::vector< PAD * >::size_type"""
14725 return _pcbnew.PADS_VEC___len__(self)
14727 def __getslice__(self, i:
"std::vector< PAD * >::difference_type", j:
"std::vector< PAD * >::difference_type") ->
"std::vector< PAD *,std::allocator< PAD * > > *":
14728 r"""__getslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j) -> PADS_VEC"""
14729 return _pcbnew.PADS_VEC___getslice__(self, i, j)
14733 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)
14734 __setslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j, PADS_VEC v)
14736 return _pcbnew.PADS_VEC___setslice__(self, *args)
14738 def __delslice__(self, i:
"std::vector< PAD * >::difference_type", j:
"std::vector< PAD * >::difference_type") ->
"void":
14739 r"""__delslice__(PADS_VEC self, std::vector< PAD * >::difference_type i, std::vector< PAD * >::difference_type j)"""
14740 return _pcbnew.PADS_VEC___delslice__(self, i, j)
14744 __delitem__(PADS_VEC self, std::vector< PAD * >::difference_type i)
14745 __delitem__(PADS_VEC self, PySliceObject * slice)
14747 return _pcbnew.PADS_VEC___delitem__(self, *args)
14751 __getitem__(PADS_VEC self, PySliceObject * slice) -> PADS_VEC
14752 __getitem__(PADS_VEC self, std::vector< PAD * >::difference_type i) -> PAD
14754 return _pcbnew.PADS_VEC___getitem__(self, *args)
14758 __setitem__(PADS_VEC self, PySliceObject * slice, PADS_VEC v)
14759 __setitem__(PADS_VEC self, PySliceObject * slice)
14760 __setitem__(PADS_VEC self, std::vector< PAD * >::difference_type i, PAD x)
14762 return _pcbnew.PADS_VEC___setitem__(self, *args)
14764 def pop(self) -> "std::vector< PAD * >::value_type
":
14765 r"""pop(PADS_VEC self) -> PAD"""
14766 return _pcbnew.PADS_VEC_pop(self)
14769 r"""append(PADS_VEC self, PAD x)"""
14770 return _pcbnew.PADS_VEC_append(self, x)
14773 r"""empty(PADS_VEC self) -> bool"""
14774 return _pcbnew.PADS_VEC_empty(self)
14776 def size(self) -> "std::vector< PAD * >::size_type
":
14777 r"""size(PADS_VEC self) -> std::vector< PAD * >::size_type"""
14778 return _pcbnew.PADS_VEC_size(self)
14780 def swap(self, v:
"PADS_VEC") ->
"void":
14781 r"""swap(PADS_VEC self, PADS_VEC v)"""
14782 return _pcbnew.PADS_VEC_swap(self, v)
14784 def begin(self) -> "std::vector< PAD * >::iterator
":
14785 r"""begin(PADS_VEC self) -> std::vector< PAD * >::iterator"""
14786 return _pcbnew.PADS_VEC_begin(self)
14788 def end(self) -> "std::vector< PAD * >::iterator
":
14789 r"""end(PADS_VEC self) -> std::vector< PAD * >::iterator"""
14790 return _pcbnew.PADS_VEC_end(self)
14792 def rbegin(self) -> "std::vector< PAD * >::reverse_iterator
":
14793 r"""rbegin(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
14794 return _pcbnew.PADS_VEC_rbegin(self)
14796 def rend(self) -> "std::vector< PAD * >::reverse_iterator
":
14797 r"""rend(PADS_VEC self) -> std::vector< PAD * >::reverse_iterator"""
14798 return _pcbnew.PADS_VEC_rend(self)
14801 r"""clear(PADS_VEC self)"""
14802 return _pcbnew.PADS_VEC_clear(self)
14805 r"""get_allocator(PADS_VEC self) -> std::vector< PAD * >::allocator_type"""
14806 return _pcbnew.PADS_VEC_get_allocator(self)
14809 r"""pop_back(PADS_VEC self)"""
14810 return _pcbnew.PADS_VEC_pop_back(self)
14812 def erase(self, *args) -> "std::vector< PAD * >::iterator
":
14814 erase(PADS_VEC self, std::vector< PAD * >::iterator pos) -> std::vector< PAD * >::iterator
14815 erase(PADS_VEC self, std::vector< PAD * >::iterator first, std::vector< PAD * >::iterator last) -> std::vector< PAD * >::iterator
14817 return _pcbnew.PADS_VEC_erase(self, *args)
14821 __init__(PADS_VEC self) -> PADS_VEC
14822 __init__(PADS_VEC self, PADS_VEC other) -> PADS_VEC
14823 __init__(PADS_VEC self, std::vector< PAD * >::size_type size) -> PADS_VEC
14824 __init__(PADS_VEC self, std::vector< PAD * >::size_type size, PAD value) -> PADS_VEC
14826 _pcbnew.PADS_VEC_swiginit(self, _pcbnew.new_PADS_VEC(*args))
14829 r"""push_back(PADS_VEC self, PAD x)"""
14830 return _pcbnew.PADS_VEC_push_back(self, x)
14832 def front(self) -> "std::vector< PAD * >::value_type
":
14833 r"""front(PADS_VEC self) -> PAD"""
14834 return _pcbnew.PADS_VEC_front(self)
14836 def back(self) -> "std::vector< PAD * >::value_type
":
14837 r"""back(PADS_VEC self) -> PAD"""
14838 return _pcbnew.PADS_VEC_back(self)
14840 def assign(self, n:
"std::vector< PAD * >::size_type", x:
"PAD") ->
"void":
14841 r"""assign(PADS_VEC self, std::vector< PAD * >::size_type n, PAD x)"""
14842 return _pcbnew.PADS_VEC_assign(self, n, x)
14846 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size)
14847 resize(PADS_VEC self, std::vector< PAD * >::size_type new_size, PAD x)
14849 return _pcbnew.PADS_VEC_resize(self, *args)
14853 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, PAD x) -> std::vector< PAD * >::iterator
14854 insert(PADS_VEC self, std::vector< PAD * >::iterator pos, std::vector< PAD * >::size_type n, PAD x)
14856 return _pcbnew.PADS_VEC_insert(self, *args)
14858 def reserve(self, n:
"std::vector< PAD * >::size_type") ->
"void":
14859 r"""reserve(PADS_VEC self, std::vector< PAD * >::size_type n)"""
14860 return _pcbnew.PADS_VEC_reserve(self, n)
14863 r"""capacity(PADS_VEC self) -> std::vector< PAD * >::size_type"""
14864 return _pcbnew.PADS_VEC_capacity(self)
14865 __swig_destroy__ = _pcbnew.delete_PADS_VEC
14868_pcbnew.PADS_VEC_swigregister(PADS_VEC)
14871 r"""Proxy of C++ std::vector< PCB_TRACK * > class."""
14873 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14874 __repr__ = _swig_repr
14877 r"""iterator(TRACKS_VEC self) -> SwigPyIterator"""
14878 return _pcbnew.TRACKS_VEC_iterator(self)
14883 r"""__nonzero__(TRACKS_VEC self) -> bool"""
14884 return _pcbnew.TRACKS_VEC___nonzero__(self)
14887 r"""__bool__(TRACKS_VEC self) -> bool"""
14888 return _pcbnew.TRACKS_VEC___bool__(self)
14890 def __len__(self) -> "std::vector< PCB_TRACK * >::size_type
":
14891 r"""__len__(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
14892 return _pcbnew.TRACKS_VEC___len__(self)
14894 def __getslice__(self, i:
"std::vector< PCB_TRACK * >::difference_type", j:
"std::vector< PCB_TRACK * >::difference_type") ->
"std::vector< PCB_TRACK *,std::allocator< PCB_TRACK * > > *":
14895 r"""__getslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j) -> TRACKS_VEC"""
14896 return _pcbnew.TRACKS_VEC___getslice__(self, i, j)
14900 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)
14901 __setslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j, TRACKS_VEC v)
14903 return _pcbnew.TRACKS_VEC___setslice__(self, *args)
14905 def __delslice__(self, i:
"std::vector< PCB_TRACK * >::difference_type", j:
"std::vector< PCB_TRACK * >::difference_type") ->
"void":
14906 r"""__delslice__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, std::vector< PCB_TRACK * >::difference_type j)"""
14907 return _pcbnew.TRACKS_VEC___delslice__(self, i, j)
14911 __delitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i)
14912 __delitem__(TRACKS_VEC self, PySliceObject * slice)
14914 return _pcbnew.TRACKS_VEC___delitem__(self, *args)
14918 __getitem__(TRACKS_VEC self, PySliceObject * slice) -> TRACKS_VEC
14919 __getitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i) -> PCB_TRACK
14921 return _pcbnew.TRACKS_VEC___getitem__(self, *args)
14925 __setitem__(TRACKS_VEC self, PySliceObject * slice, TRACKS_VEC v)
14926 __setitem__(TRACKS_VEC self, PySliceObject * slice)
14927 __setitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i, PCB_TRACK x)
14929 return _pcbnew.TRACKS_VEC___setitem__(self, *args)
14931 def pop(self) -> "std::vector< PCB_TRACK * >::value_type
":
14932 r"""pop(TRACKS_VEC self) -> PCB_TRACK"""
14933 return _pcbnew.TRACKS_VEC_pop(self)
14936 r"""append(TRACKS_VEC self, PCB_TRACK x)"""
14937 return _pcbnew.TRACKS_VEC_append(self, x)
14940 r"""empty(TRACKS_VEC self) -> bool"""
14941 return _pcbnew.TRACKS_VEC_empty(self)
14943 def size(self) -> "std::vector< PCB_TRACK * >::size_type
":
14944 r"""size(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
14945 return _pcbnew.TRACKS_VEC_size(self)
14947 def swap(self, v:
"TRACKS_VEC") ->
"void":
14948 r"""swap(TRACKS_VEC self, TRACKS_VEC v)"""
14949 return _pcbnew.TRACKS_VEC_swap(self, v)
14951 def begin(self) -> "std::vector< PCB_TRACK * >::iterator
":
14952 r"""begin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
14953 return _pcbnew.TRACKS_VEC_begin(self)
14955 def end(self) -> "std::vector< PCB_TRACK * >::iterator
":
14956 r"""end(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::iterator"""
14957 return _pcbnew.TRACKS_VEC_end(self)
14959 def rbegin(self) -> "std::vector< PCB_TRACK * >::reverse_iterator
":
14960 r"""rbegin(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
14961 return _pcbnew.TRACKS_VEC_rbegin(self)
14963 def rend(self) -> "std::vector< PCB_TRACK * >::reverse_iterator
":
14964 r"""rend(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::reverse_iterator"""
14965 return _pcbnew.TRACKS_VEC_rend(self)
14968 r"""clear(TRACKS_VEC self)"""
14969 return _pcbnew.TRACKS_VEC_clear(self)
14972 r"""get_allocator(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::allocator_type"""
14973 return _pcbnew.TRACKS_VEC_get_allocator(self)
14976 r"""pop_back(TRACKS_VEC self)"""
14977 return _pcbnew.TRACKS_VEC_pop_back(self)
14979 def erase(self, *args) -> "std::vector< PCB_TRACK * >::iterator
":
14981 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos) -> std::vector< PCB_TRACK * >::iterator
14982 erase(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator first, std::vector< PCB_TRACK * >::iterator last) -> std::vector< PCB_TRACK * >::iterator
14984 return _pcbnew.TRACKS_VEC_erase(self, *args)
14988 __init__(TRACKS_VEC self) -> TRACKS_VEC
14989 __init__(TRACKS_VEC self, TRACKS_VEC other) -> TRACKS_VEC
14990 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size) -> TRACKS_VEC
14991 __init__(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type size, PCB_TRACK value) -> TRACKS_VEC
14993 _pcbnew.TRACKS_VEC_swiginit(self, _pcbnew.new_TRACKS_VEC(*args))
14996 r"""push_back(TRACKS_VEC self, PCB_TRACK x)"""
14997 return _pcbnew.TRACKS_VEC_push_back(self, x)
14999 def front(self) -> "std::vector< PCB_TRACK * >::value_type
":
15000 r"""front(TRACKS_VEC self) -> PCB_TRACK"""
15001 return _pcbnew.TRACKS_VEC_front(self)
15003 def back(self) -> "std::vector< PCB_TRACK * >::value_type
":
15004 r"""back(TRACKS_VEC self) -> PCB_TRACK"""
15005 return _pcbnew.TRACKS_VEC_back(self)
15007 def assign(self, n:
"std::vector< PCB_TRACK * >::size_type", x:
"PCB_TRACK") ->
"void":
15008 r"""assign(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)"""
15009 return _pcbnew.TRACKS_VEC_assign(self, n, x)
15013 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size)
15014 resize(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type new_size, PCB_TRACK x)
15016 return _pcbnew.TRACKS_VEC_resize(self, *args)
15020 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, PCB_TRACK x) -> std::vector< PCB_TRACK * >::iterator
15021 insert(TRACKS_VEC self, std::vector< PCB_TRACK * >::iterator pos, std::vector< PCB_TRACK * >::size_type n, PCB_TRACK x)
15023 return _pcbnew.TRACKS_VEC_insert(self, *args)
15025 def reserve(self, n:
"std::vector< PCB_TRACK * >::size_type") ->
"void":
15026 r"""reserve(TRACKS_VEC self, std::vector< PCB_TRACK * >::size_type n)"""
15027 return _pcbnew.TRACKS_VEC_reserve(self, n)
15029 def capacity(self) -> "std::vector< PCB_TRACK * >::size_type
":
15030 r"""capacity(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::size_type"""
15031 return _pcbnew.TRACKS_VEC_capacity(self)
15032 __swig_destroy__ = _pcbnew.delete_TRACKS_VEC
15035_pcbnew.TRACKS_VEC_swigregister(TRACKS_VEC)
15038 r"""Proxy of C++ NETINFO_ITEM class."""
15040 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15041 __repr__ = _swig_repr
15044 r"""__init__(NETINFO_ITEM self, BOARD aParent, wxString aNetName=wxEmptyString, int aNetCode=-1) -> NETINFO_ITEM"""
15045 _pcbnew.NETINFO_ITEM_swiginit(self, _pcbnew.new_NETINFO_ITEM(*args))
15046 __swig_destroy__ = _pcbnew.delete_NETINFO_ITEM
15050 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15051 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
15054 r"""GetClass(NETINFO_ITEM self) -> wxString"""
15055 return _pcbnew.NETINFO_ITEM_GetClass(self)
15058 r"""GetPosition(NETINFO_ITEM self) -> wxPoint"""
15059 return _pcbnew.NETINFO_ITEM_GetPosition(self)
15062 r"""SetPosition(NETINFO_ITEM self, wxPoint aPos)"""
15063 return _pcbnew.NETINFO_ITEM_SetPosition(self, aPos)
15066 r"""Clone(NETINFO_ITEM self) -> EDA_ITEM"""
15067 return _pcbnew.NETINFO_ITEM_Clone(self)
15070 r"""SetNetClass(NETINFO_ITEM self, NETCLASSPTR const & aNetClass)"""
15071 return _pcbnew.NETINFO_ITEM_SetNetClass(self, aNetClass)
15074 r"""GetNetClass(NETINFO_ITEM self) -> NETCLASS *"""
15075 return _pcbnew.NETINFO_ITEM_GetNetClass(self)
15078 r"""GetNetClassName(NETINFO_ITEM self) -> wxString"""
15079 return _pcbnew.NETINFO_ITEM_GetNetClassName(self)
15082 r"""GetNetCode(NETINFO_ITEM self) -> int"""
15083 return _pcbnew.NETINFO_ITEM_GetNetCode(self)
15086 r"""SetNetCode(NETINFO_ITEM self, int aNetCode)"""
15087 return _pcbnew.NETINFO_ITEM_SetNetCode(self, aNetCode)
15090 r"""GetNetname(NETINFO_ITEM self) -> wxString"""
15091 return _pcbnew.NETINFO_ITEM_GetNetname(self)
15094 r"""GetShortNetname(NETINFO_ITEM self) -> wxString"""
15095 return _pcbnew.NETINFO_ITEM_GetShortNetname(self)
15098 r"""SetNetname(NETINFO_ITEM self, wxString aNewName)"""
15099 return _pcbnew.NETINFO_ITEM_SetNetname(self, aNewName)
15102 r"""IsCurrent(NETINFO_ITEM self) -> bool"""
15103 return _pcbnew.NETINFO_ITEM_IsCurrent(self)
15106 r"""SetIsCurrent(NETINFO_ITEM self, bool isCurrent)"""
15107 return _pcbnew.NETINFO_ITEM_SetIsCurrent(self, isCurrent)
15109 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
15110 r"""GetMsgPanelInfo(NETINFO_ITEM self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
15111 return _pcbnew.NETINFO_ITEM_GetMsgPanelInfo(self, aFrame, aList)
15114 r"""Clear(NETINFO_ITEM self)"""
15115 return _pcbnew.NETINFO_ITEM_Clear(self)
15118 r"""GetParent(NETINFO_ITEM self) -> BOARD"""
15119 return _pcbnew.NETINFO_ITEM_GetParent(self)
15122_pcbnew.NETINFO_ITEM_swigregister(NETINFO_ITEM)
15125 r"""NETINFO_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
15126 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
15129 r"""Proxy of C++ std::map< wxString,NETINFO_ITEM * > class."""
15131 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15132 __repr__ = _swig_repr
15135 r"""iterator(NETNAMES_MAP self) -> SwigPyIterator"""
15136 return _pcbnew.NETNAMES_MAP_iterator(self)
15141 r"""__nonzero__(NETNAMES_MAP self) -> bool"""
15142 return _pcbnew.NETNAMES_MAP___nonzero__(self)
15145 r"""__bool__(NETNAMES_MAP self) -> bool"""
15146 return _pcbnew.NETNAMES_MAP___bool__(self)
15148 def __len__(self) -> "std::map< wxString,NETINFO_ITEM * >::size_type
":
15149 r"""__len__(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
15150 return _pcbnew.NETNAMES_MAP___len__(self)
15160 def __getitem__(self, key:
"wxString") ->
"std::map< wxString,NETINFO_ITEM * >::mapped_type const &":
15161 r"""__getitem__(NETNAMES_MAP self, wxString key) -> NETINFO_ITEM"""
15162 return _pcbnew.NETNAMES_MAP___getitem__(self, key)
15165 r"""__delitem__(NETNAMES_MAP self, wxString key)"""
15166 return _pcbnew.NETNAMES_MAP___delitem__(self, key)
15169 r"""has_key(NETNAMES_MAP self, wxString key) -> bool"""
15170 return _pcbnew.NETNAMES_MAP_has_key(self, key)
15173 r"""keys(NETNAMES_MAP self) -> PyObject *"""
15174 return _pcbnew.NETNAMES_MAP_keys(self)
15177 r"""values(NETNAMES_MAP self) -> PyObject *"""
15178 return _pcbnew.NETNAMES_MAP_values(self)
15181 r"""items(NETNAMES_MAP self) -> PyObject *"""
15182 return _pcbnew.NETNAMES_MAP_items(self)
15185 r"""__contains__(NETNAMES_MAP self, wxString key) -> bool"""
15186 return _pcbnew.NETNAMES_MAP___contains__(self, key)
15189 r"""key_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
15190 return _pcbnew.NETNAMES_MAP_key_iterator(self)
15193 r"""value_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
15194 return _pcbnew.NETNAMES_MAP_value_iterator(self)
15199 __setitem__(NETNAMES_MAP self, wxString key, NETINFO_ITEM x)
15201 return _pcbnew.NETNAMES_MAP___setitem__(self, *args)
15204 r"""asdict(NETNAMES_MAP self) -> PyObject *"""
15205 return _pcbnew.NETNAMES_MAP_asdict(self)
15209 __init__(NETNAMES_MAP self, std::less< wxString > const & other) -> NETNAMES_MAP
15210 __init__(NETNAMES_MAP self) -> NETNAMES_MAP
15211 __init__(NETNAMES_MAP self, NETNAMES_MAP other) -> NETNAMES_MAP
15213 _pcbnew.NETNAMES_MAP_swiginit(self, _pcbnew.new_NETNAMES_MAP(*args))
15216 r"""empty(NETNAMES_MAP self) -> bool"""
15217 return _pcbnew.NETNAMES_MAP_empty(self)
15219 def size(self) -> "std::map< wxString,NETINFO_ITEM * >::size_type
":
15220 r"""size(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
15221 return _pcbnew.NETNAMES_MAP_size(self)
15223 def swap(self, v:
"NETNAMES_MAP") ->
"void":
15224 r"""swap(NETNAMES_MAP self, NETNAMES_MAP v)"""
15225 return _pcbnew.NETNAMES_MAP_swap(self, v)
15227 def begin(self) -> "std::map< wxString,NETINFO_ITEM * >::iterator
":
15228 r"""begin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
15229 return _pcbnew.NETNAMES_MAP_begin(self)
15231 def end(self) -> "std::map< wxString,NETINFO_ITEM * >::iterator
":
15232 r"""end(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
15233 return _pcbnew.NETNAMES_MAP_end(self)
15235 def rbegin(self) -> "std::map< wxString,NETINFO_ITEM * >::reverse_iterator
":
15236 r"""rbegin(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
15237 return _pcbnew.NETNAMES_MAP_rbegin(self)
15239 def rend(self) -> "std::map< wxString,NETINFO_ITEM * >::reverse_iterator
":
15240 r"""rend(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::reverse_iterator"""
15241 return _pcbnew.NETNAMES_MAP_rend(self)
15244 r"""clear(NETNAMES_MAP self)"""
15245 return _pcbnew.NETNAMES_MAP_clear(self)
15248 r"""get_allocator(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::allocator_type"""
15249 return _pcbnew.NETNAMES_MAP_get_allocator(self)
15251 def count(self, x:
"wxString") ->
"std::map< wxString,NETINFO_ITEM * >::size_type":
15252 r"""count(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type"""
15253 return _pcbnew.NETNAMES_MAP_count(self, x)
15257 erase(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::size_type
15258 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator position)
15259 erase(NETNAMES_MAP self, std::map< wxString,NETINFO_ITEM * >::iterator first, std::map< wxString,NETINFO_ITEM * >::iterator last)
15261 return _pcbnew.NETNAMES_MAP_erase(self, *args)
15263 def find(self, x:
"wxString") ->
"std::map< wxString,NETINFO_ITEM * >::iterator":
15264 r"""find(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
15265 return _pcbnew.NETNAMES_MAP_find(self, x)
15267 def lower_bound(self, x:
"wxString") ->
"std::map< wxString,NETINFO_ITEM * >::iterator":
15268 r"""lower_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
15269 return _pcbnew.NETNAMES_MAP_lower_bound(self, x)
15271 def upper_bound(self, x:
"wxString") ->
"std::map< wxString,NETINFO_ITEM * >::iterator":
15272 r"""upper_bound(NETNAMES_MAP self, wxString x) -> std::map< wxString,NETINFO_ITEM * >::iterator"""
15273 return _pcbnew.NETNAMES_MAP_upper_bound(self, x)
15274 __swig_destroy__ = _pcbnew.delete_NETNAMES_MAP
15277_pcbnew.NETNAMES_MAP_swigregister(NETNAMES_MAP)
15280 r"""Proxy of C++ std::map< int,NETINFO_ITEM * > class."""
15282 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15283 __repr__ = _swig_repr
15286 r"""iterator(NETCODES_MAP self) -> SwigPyIterator"""
15287 return _pcbnew.NETCODES_MAP_iterator(self)
15292 r"""__nonzero__(NETCODES_MAP self) -> bool"""
15293 return _pcbnew.NETCODES_MAP___nonzero__(self)
15296 r"""__bool__(NETCODES_MAP self) -> bool"""
15297 return _pcbnew.NETCODES_MAP___bool__(self)
15299 def __len__(self) -> "std::map< int,NETINFO_ITEM * >::size_type
":
15300 r"""__len__(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
15301 return _pcbnew.NETCODES_MAP___len__(self)
15311 def __getitem__(self, key:
"std::map< int,NETINFO_ITEM * >::key_type const &") ->
"std::map< int,NETINFO_ITEM * >::mapped_type const &":
15312 r"""__getitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> NETINFO_ITEM"""
15313 return _pcbnew.NETCODES_MAP___getitem__(self, key)
15315 def __delitem__(self, key:
"std::map< int,NETINFO_ITEM * >::key_type const &") ->
"void":
15316 r"""__delitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)"""
15317 return _pcbnew.NETCODES_MAP___delitem__(self, key)
15319 def has_key(self, key:
"std::map< int,NETINFO_ITEM * >::key_type const &") ->
"bool":
15320 r"""has_key(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
15321 return _pcbnew.NETCODES_MAP_has_key(self, key)
15324 r"""keys(NETCODES_MAP self) -> PyObject *"""
15325 return _pcbnew.NETCODES_MAP_keys(self)
15328 r"""values(NETCODES_MAP self) -> PyObject *"""
15329 return _pcbnew.NETCODES_MAP_values(self)
15332 r"""items(NETCODES_MAP self) -> PyObject *"""
15333 return _pcbnew.NETCODES_MAP_items(self)
15335 def __contains__(self, key:
"std::map< int,NETINFO_ITEM * >::key_type const &") ->
"bool":
15336 r"""__contains__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key) -> bool"""
15337 return _pcbnew.NETCODES_MAP___contains__(self, key)
15340 r"""key_iterator(NETCODES_MAP self) -> SwigPyIterator"""
15341 return _pcbnew.NETCODES_MAP_key_iterator(self)
15344 r"""value_iterator(NETCODES_MAP self) -> SwigPyIterator"""
15345 return _pcbnew.NETCODES_MAP_value_iterator(self)
15349 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key)
15350 __setitem__(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & key, NETINFO_ITEM x)
15352 return _pcbnew.NETCODES_MAP___setitem__(self, *args)
15355 r"""asdict(NETCODES_MAP self) -> PyObject *"""
15356 return _pcbnew.NETCODES_MAP_asdict(self)
15360 __init__(NETCODES_MAP self, std::less< int > const & other) -> NETCODES_MAP
15361 __init__(NETCODES_MAP self) -> NETCODES_MAP
15362 __init__(NETCODES_MAP self, NETCODES_MAP other) -> NETCODES_MAP
15364 _pcbnew.NETCODES_MAP_swiginit(self, _pcbnew.new_NETCODES_MAP(*args))
15367 r"""empty(NETCODES_MAP self) -> bool"""
15368 return _pcbnew.NETCODES_MAP_empty(self)
15370 def size(self) -> "std::map< int,NETINFO_ITEM * >::size_type
":
15371 r"""size(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::size_type"""
15372 return _pcbnew.NETCODES_MAP_size(self)
15374 def swap(self, v:
"NETCODES_MAP") ->
"void":
15375 r"""swap(NETCODES_MAP self, NETCODES_MAP v)"""
15376 return _pcbnew.NETCODES_MAP_swap(self, v)
15378 def begin(self) -> "std::map< int,NETINFO_ITEM * >::iterator
":
15379 r"""begin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
15380 return _pcbnew.NETCODES_MAP_begin(self)
15382 def end(self) -> "std::map< int,NETINFO_ITEM * >::iterator
":
15383 r"""end(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::iterator"""
15384 return _pcbnew.NETCODES_MAP_end(self)
15386 def rbegin(self) -> "std::map< int,NETINFO_ITEM * >::reverse_iterator
":
15387 r"""rbegin(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
15388 return _pcbnew.NETCODES_MAP_rbegin(self)
15390 def rend(self) -> "std::map< int,NETINFO_ITEM * >::reverse_iterator
":
15391 r"""rend(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::reverse_iterator"""
15392 return _pcbnew.NETCODES_MAP_rend(self)
15395 r"""clear(NETCODES_MAP self)"""
15396 return _pcbnew.NETCODES_MAP_clear(self)
15399 r"""get_allocator(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::allocator_type"""
15400 return _pcbnew.NETCODES_MAP_get_allocator(self)
15402 def count(self, x:
"std::map< int,NETINFO_ITEM * >::key_type const &") ->
"std::map< int,NETINFO_ITEM * >::size_type":
15403 r"""count(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type"""
15404 return _pcbnew.NETCODES_MAP_count(self, x)
15408 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::size_type
15409 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator position)
15410 erase(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::iterator first, std::map< int,NETINFO_ITEM * >::iterator last)
15412 return _pcbnew.NETCODES_MAP_erase(self, *args)
15414 def find(self, x:
"std::map< int,NETINFO_ITEM * >::key_type const &") ->
"std::map< int,NETINFO_ITEM * >::iterator":
15415 r"""find(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
15416 return _pcbnew.NETCODES_MAP_find(self, x)
15418 def lower_bound(self, x:
"std::map< int,NETINFO_ITEM * >::key_type const &") ->
"std::map< int,NETINFO_ITEM * >::iterator":
15419 r"""lower_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
15420 return _pcbnew.NETCODES_MAP_lower_bound(self, x)
15422 def upper_bound(self, x:
"std::map< int,NETINFO_ITEM * >::key_type const &") ->
"std::map< int,NETINFO_ITEM * >::iterator":
15423 r"""upper_bound(NETCODES_MAP self, std::map< int,NETINFO_ITEM * >::key_type const & x) -> std::map< int,NETINFO_ITEM * >::iterator"""
15424 return _pcbnew.NETCODES_MAP_upper_bound(self, x)
15425 __swig_destroy__ = _pcbnew.delete_NETCODES_MAP
15428_pcbnew.NETCODES_MAP_swigregister(NETCODES_MAP)
15431 r"""Proxy of C++ NETINFO_LIST class."""
15433 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15434 __repr__ = _swig_repr
15437 r"""__init__(NETINFO_LIST self, BOARD aParent) -> NETINFO_LIST"""
15438 _pcbnew.NETINFO_LIST_swiginit(self, _pcbnew.new_NETINFO_LIST(aParent))
15439 __swig_destroy__ = _pcbnew.delete_NETINFO_LIST
15443 GetNetItem(NETINFO_LIST self, int aNetCode) -> NETINFO_ITEM
15444 GetNetItem(NETINFO_LIST self, wxString aNetName) -> NETINFO_ITEM
15446 return _pcbnew.NETINFO_LIST_GetNetItem(self, *args)
15449 r"""GetNetCount(NETINFO_LIST self) -> unsigned int"""
15450 return _pcbnew.NETINFO_LIST_GetNetCount(self)
15453 r"""AppendNet(NETINFO_LIST self, NETINFO_ITEM aNewElement)"""
15454 return _pcbnew.NETINFO_LIST_AppendNet(self, aNewElement)
15457 r"""RemoveNet(NETINFO_LIST self, NETINFO_ITEM aNet)"""
15458 return _pcbnew.NETINFO_LIST_RemoveNet(self, aNet)
15461 r"""RemoveUnusedNets(NETINFO_LIST self)"""
15462 return _pcbnew.NETINFO_LIST_RemoveUnusedNets(self)
15465 r"""NetsByName(NETINFO_LIST self) -> NETNAMES_MAP"""
15466 return _pcbnew.NETINFO_LIST_NetsByName(self)
15469 r"""NetsByNetcode(NETINFO_LIST self) -> NETCODES_MAP"""
15470 return _pcbnew.NETINFO_LIST_NetsByNetcode(self)
15474 r"""OrphanedItem() -> NETINFO_ITEM"""
15475 return _pcbnew.NETINFO_LIST_OrphanedItem()
15478 r"""GetParent(NETINFO_LIST self) -> BOARD"""
15479 return _pcbnew.NETINFO_LIST_GetParent(self)
15482_pcbnew.NETINFO_LIST_swigregister(NETINFO_LIST)
15483NETINFO_LIST.UNCONNECTED = _pcbnew.cvar.NETINFO_LIST_UNCONNECTED
15484NETINFO_LIST.ORPHANED = _pcbnew.cvar.NETINFO_LIST_ORPHANED
15487 r"""NETINFO_LIST_OrphanedItem() -> NETINFO_ITEM"""
15488 return _pcbnew.NETINFO_LIST_OrphanedItem()
15491 r"""Proxy of C++ std::set< wxString > class."""
15493 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15494 __repr__ = _swig_repr
15497 r"""iterator(STRINGSET self) -> SwigPyIterator"""
15498 return _pcbnew.STRINGSET_iterator(self)
15503 r"""__nonzero__(STRINGSET self) -> bool"""
15504 return _pcbnew.STRINGSET___nonzero__(self)
15507 r"""__bool__(STRINGSET self) -> bool"""
15508 return _pcbnew.STRINGSET___bool__(self)
15510 def __len__(self) -> "std::set< wxString >::size_type
":
15511 r"""__len__(STRINGSET self) -> std::set< wxString >::size_type"""
15512 return _pcbnew.STRINGSET___len__(self)
15515 r"""append(STRINGSET self, wxString x)"""
15516 return _pcbnew.STRINGSET_append(self, x)
15519 r"""__contains__(STRINGSET self, wxString x) -> bool"""
15520 return _pcbnew.STRINGSET___contains__(self, x)
15522 def __getitem__(self, i:
"std::set< wxString >::difference_type") ->
"std::set< wxString >::value_type":
15523 r"""__getitem__(STRINGSET self, std::set< wxString >::difference_type i) -> wxString"""
15524 return _pcbnew.STRINGSET___getitem__(self, i)
15526 def add(self, x:
"wxString") ->
"void":
15527 r"""add(STRINGSET self, wxString x)"""
15528 return _pcbnew.STRINGSET_add(self, x)
15531 r"""discard(STRINGSET self, wxString x)"""
15532 return _pcbnew.STRINGSET_discard(self, x)
15536 __init__(STRINGSET self, std::less< wxString > const & other) -> STRINGSET
15537 __init__(STRINGSET self) -> STRINGSET
15538 __init__(STRINGSET self, STRINGSET other) -> STRINGSET
15540 _pcbnew.STRINGSET_swiginit(self, _pcbnew.new_STRINGSET(*args))
15543 r"""empty(STRINGSET self) -> bool"""
15544 return _pcbnew.STRINGSET_empty(self)
15546 def size(self) -> "std::set< wxString >::size_type
":
15547 r"""size(STRINGSET self) -> std::set< wxString >::size_type"""
15548 return _pcbnew.STRINGSET_size(self)
15551 r"""clear(STRINGSET self)"""
15552 return _pcbnew.STRINGSET_clear(self)
15554 def swap(self, v:
"STRINGSET") ->
"void":
15555 r"""swap(STRINGSET self, STRINGSET v)"""
15556 return _pcbnew.STRINGSET_swap(self, v)
15558 def count(self, x:
"wxString") ->
"std::set< wxString >::size_type":
15559 r"""count(STRINGSET self, wxString x) -> std::set< wxString >::size_type"""
15560 return _pcbnew.STRINGSET_count(self, x)
15562 def begin(self) -> "std::set< wxString >::iterator
":
15563 r"""begin(STRINGSET self) -> std::set< wxString >::iterator"""
15564 return _pcbnew.STRINGSET_begin(self)
15566 def end(self) -> "std::set< wxString >::iterator
":
15567 r"""end(STRINGSET self) -> std::set< wxString >::iterator"""
15568 return _pcbnew.STRINGSET_end(self)
15570 def rbegin(self) -> "std::set< wxString >::reverse_iterator
":
15571 r"""rbegin(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
15572 return _pcbnew.STRINGSET_rbegin(self)
15574 def rend(self) -> "std::set< wxString >::reverse_iterator
":
15575 r"""rend(STRINGSET self) -> std::set< wxString >::reverse_iterator"""
15576 return _pcbnew.STRINGSET_rend(self)
15580 erase(STRINGSET self, wxString x) -> std::set< wxString >::size_type
15581 erase(STRINGSET self, std::set< wxString >::iterator pos)
15582 erase(STRINGSET self, std::set< wxString >::iterator first, std::set< wxString >::iterator last)
15584 return _pcbnew.STRINGSET_erase(self, *args)
15586 def find(self, x:
"wxString") ->
"std::set< wxString >::iterator":
15587 r"""find(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
15588 return _pcbnew.STRINGSET_find(self, x)
15591 r"""lower_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
15592 return _pcbnew.STRINGSET_lower_bound(self, x)
15595 r"""upper_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
15596 return _pcbnew.STRINGSET_upper_bound(self, x)
15598 def equal_range(self, x:
"wxString") ->
"std::pair< std::set< wxString >::iterator,std::set< wxString >::iterator >":
15599 r"""equal_range(STRINGSET self, wxString x) -> std::pair< std::set< wxString >::iterator,std::set< wxString >::iterator >"""
15600 return _pcbnew.STRINGSET_equal_range(self, x)
15602 def insert(self, __x:
"wxString") ->
"std::pair< std::set< wxString >::iterator,bool >":
15603 r"""insert(STRINGSET self, wxString __x) -> std::pair< std::set< wxString >::iterator,bool >"""
15604 return _pcbnew.STRINGSET_insert(self, __x)
15605 __swig_destroy__ = _pcbnew.delete_STRINGSET
15608_pcbnew.STRINGSET_swigregister(STRINGSET)
15611 r"""Proxy of C++ std::shared_ptr< NETCLASS > class."""
15613 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15614 __repr__ = _swig_repr
15617 r"""__init__(NETCLASSPTR self, string name) -> NETCLASSPTR"""
15618 _pcbnew.NETCLASSPTR_swiginit(self, _pcbnew.new_NETCLASSPTR(name))
15621 r"""NetNames(NETCLASSPTR self) -> STRINGSET"""
15622 return _pcbnew.NETCLASSPTR_NetNames(self)
15625 r"""GetName(NETCLASSPTR self) -> wxString"""
15626 return _pcbnew.NETCLASSPTR_GetName(self)
15629 r"""GetCount(NETCLASSPTR self) -> unsigned int"""
15630 return _pcbnew.NETCLASSPTR_GetCount(self)
15633 r"""GetDescription(NETCLASSPTR self) -> wxString"""
15634 return _pcbnew.NETCLASSPTR_GetDescription(self)
15637 r"""SetDescription(NETCLASSPTR self, wxString aDesc)"""
15638 return _pcbnew.NETCLASSPTR_SetDescription(self, aDesc)
15641 r"""GetClearance(NETCLASSPTR self) -> int"""
15642 return _pcbnew.NETCLASSPTR_GetClearance(self)
15645 r"""SetClearance(NETCLASSPTR self, int aClearance)"""
15646 return _pcbnew.NETCLASSPTR_SetClearance(self, aClearance)
15649 r"""GetTrackWidth(NETCLASSPTR self) -> int"""
15650 return _pcbnew.NETCLASSPTR_GetTrackWidth(self)
15653 r"""SetTrackWidth(NETCLASSPTR self, int aWidth)"""
15654 return _pcbnew.NETCLASSPTR_SetTrackWidth(self, aWidth)
15657 r"""GetViaDiameter(NETCLASSPTR self) -> int"""
15658 return _pcbnew.NETCLASSPTR_GetViaDiameter(self)
15661 r"""SetViaDiameter(NETCLASSPTR self, int aDia)"""
15662 return _pcbnew.NETCLASSPTR_SetViaDiameter(self, aDia)
15665 r"""GetViaDrill(NETCLASSPTR self) -> int"""
15666 return _pcbnew.NETCLASSPTR_GetViaDrill(self)
15669 r"""SetViaDrill(NETCLASSPTR self, int aSize)"""
15670 return _pcbnew.NETCLASSPTR_SetViaDrill(self, aSize)
15673 r"""GetuViaDiameter(NETCLASSPTR self) -> int"""
15674 return _pcbnew.NETCLASSPTR_GetuViaDiameter(self)
15677 r"""SetuViaDiameter(NETCLASSPTR self, int aSize)"""
15678 return _pcbnew.NETCLASSPTR_SetuViaDiameter(self, aSize)
15681 r"""GetuViaDrill(NETCLASSPTR self) -> int"""
15682 return _pcbnew.NETCLASSPTR_GetuViaDrill(self)
15685 r"""SetuViaDrill(NETCLASSPTR self, int aSize)"""
15686 return _pcbnew.NETCLASSPTR_SetuViaDrill(self, aSize)
15689 r"""GetDiffPairWidth(NETCLASSPTR self) -> int"""
15690 return _pcbnew.NETCLASSPTR_GetDiffPairWidth(self)
15693 r"""SetDiffPairWidth(NETCLASSPTR self, int aSize)"""
15694 return _pcbnew.NETCLASSPTR_SetDiffPairWidth(self, aSize)
15697 r"""GetDiffPairGap(NETCLASSPTR self) -> int"""
15698 return _pcbnew.NETCLASSPTR_GetDiffPairGap(self)
15701 r"""SetDiffPairGap(NETCLASSPTR self, int aSize)"""
15702 return _pcbnew.NETCLASSPTR_SetDiffPairGap(self, aSize)
15703 __swig_destroy__ = _pcbnew.delete_NETCLASSPTR
15706_pcbnew.NETCLASSPTR_swigregister(NETCLASSPTR)
15709 r"""Proxy of C++ std::map< wxString,NETCLASSPTR > class."""
15711 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15712 __repr__ = _swig_repr
15715 r"""iterator(NETCLASS_MAP self) -> SwigPyIterator"""
15716 return _pcbnew.NETCLASS_MAP_iterator(self)
15721 r"""__nonzero__(NETCLASS_MAP self) -> bool"""
15722 return _pcbnew.NETCLASS_MAP___nonzero__(self)
15725 r"""__bool__(NETCLASS_MAP self) -> bool"""
15726 return _pcbnew.NETCLASS_MAP___bool__(self)
15728 def __len__(self) -> "std::map< wxString,std::shared_ptr< NETCLASS > >::size_type
":
15729 r"""__len__(NETCLASS_MAP self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
15730 return _pcbnew.NETCLASS_MAP___len__(self)
15740 def __getitem__(self, key:
"wxString") ->
"std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const &":
15741 r"""__getitem__(NETCLASS_MAP self, wxString key) -> std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const &"""
15742 return _pcbnew.NETCLASS_MAP___getitem__(self, key)
15745 r"""__delitem__(NETCLASS_MAP self, wxString key)"""
15746 return _pcbnew.NETCLASS_MAP___delitem__(self, key)
15749 r"""has_key(NETCLASS_MAP self, wxString key) -> bool"""
15750 return _pcbnew.NETCLASS_MAP_has_key(self, key)
15753 r"""keys(NETCLASS_MAP self) -> PyObject *"""
15754 return _pcbnew.NETCLASS_MAP_keys(self)
15757 r"""values(NETCLASS_MAP self) -> PyObject *"""
15758 return _pcbnew.NETCLASS_MAP_values(self)
15761 r"""items(NETCLASS_MAP self) -> PyObject *"""
15762 return _pcbnew.NETCLASS_MAP_items(self)
15765 r"""__contains__(NETCLASS_MAP self, wxString key) -> bool"""
15766 return _pcbnew.NETCLASS_MAP___contains__(self, key)
15769 r"""key_iterator(NETCLASS_MAP self) -> SwigPyIterator"""
15770 return _pcbnew.NETCLASS_MAP_key_iterator(self)
15773 r"""value_iterator(NETCLASS_MAP self) -> SwigPyIterator"""
15774 return _pcbnew.NETCLASS_MAP_value_iterator(self)
15779 __setitem__(NETCLASS_MAP self, wxString key, std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const & x)
15781 return _pcbnew.NETCLASS_MAP___setitem__(self, *args)
15784 r"""asdict(NETCLASS_MAP self) -> PyObject *"""
15785 return _pcbnew.NETCLASS_MAP_asdict(self)
15789 __init__(NETCLASS_MAP self, std::less< wxString > const & other) -> NETCLASS_MAP
15790 __init__(NETCLASS_MAP self) -> NETCLASS_MAP
15791 __init__(NETCLASS_MAP self, NETCLASS_MAP other) -> NETCLASS_MAP
15793 _pcbnew.NETCLASS_MAP_swiginit(self, _pcbnew.new_NETCLASS_MAP(*args))
15796 r"""empty(NETCLASS_MAP self) -> bool"""
15797 return _pcbnew.NETCLASS_MAP_empty(self)
15799 def size(self) -> "std::map< wxString,std::shared_ptr< NETCLASS > >::size_type
":
15800 r"""size(NETCLASS_MAP self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
15801 return _pcbnew.NETCLASS_MAP_size(self)
15803 def swap(self, v:
"NETCLASS_MAP") ->
"void":
15804 r"""swap(NETCLASS_MAP self, NETCLASS_MAP v)"""
15805 return _pcbnew.NETCLASS_MAP_swap(self, v)
15807 def begin(self) -> "std::map< wxString,std::shared_ptr< NETCLASS > >::iterator
":
15808 r"""begin(NETCLASS_MAP self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
15809 return _pcbnew.NETCLASS_MAP_begin(self)
15811 def end(self) -> "std::map< wxString,std::shared_ptr< NETCLASS > >::iterator
":
15812 r"""end(NETCLASS_MAP self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
15813 return _pcbnew.NETCLASS_MAP_end(self)
15815 def rbegin(self) -> "std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator
":
15816 r"""rbegin(NETCLASS_MAP self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
15817 return _pcbnew.NETCLASS_MAP_rbegin(self)
15819 def rend(self) -> "std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator
":
15820 r"""rend(NETCLASS_MAP self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator"""
15821 return _pcbnew.NETCLASS_MAP_rend(self)
15824 r"""clear(NETCLASS_MAP self)"""
15825 return _pcbnew.NETCLASS_MAP_clear(self)
15827 def get_allocator(self) -> "std::map< wxString,std::shared_ptr< NETCLASS > >::allocator_type
":
15828 r"""get_allocator(NETCLASS_MAP self) -> std::map< wxString,std::shared_ptr< NETCLASS > >::allocator_type"""
15829 return _pcbnew.NETCLASS_MAP_get_allocator(self)
15831 def count(self, x:
"wxString") ->
"std::map< wxString,std::shared_ptr< NETCLASS > >::size_type":
15832 r"""count(NETCLASS_MAP self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type"""
15833 return _pcbnew.NETCLASS_MAP_count(self, x)
15837 erase(NETCLASS_MAP self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::size_type
15838 erase(NETCLASS_MAP self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator position)
15839 erase(NETCLASS_MAP self, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator first, std::map< wxString,std::shared_ptr< NETCLASS > >::iterator last)
15841 return _pcbnew.NETCLASS_MAP_erase(self, *args)
15843 def find(self, x:
"wxString") ->
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator":
15844 r"""find(NETCLASS_MAP self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
15845 return _pcbnew.NETCLASS_MAP_find(self, x)
15847 def lower_bound(self, x:
"wxString") ->
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator":
15848 r"""lower_bound(NETCLASS_MAP self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
15849 return _pcbnew.NETCLASS_MAP_lower_bound(self, x)
15851 def upper_bound(self, x:
"wxString") ->
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator":
15852 r"""upper_bound(NETCLASS_MAP self, wxString x) -> std::map< wxString,std::shared_ptr< NETCLASS > >::iterator"""
15853 return _pcbnew.NETCLASS_MAP_upper_bound(self, x)
15854 __swig_destroy__ = _pcbnew.delete_NETCLASS_MAP
15857_pcbnew.NETCLASS_MAP_swigregister(NETCLASS_MAP)
15860 r"""Proxy of C++ NETCLASSES class."""
15862 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15863 __repr__ = _swig_repr
15866 r"""__init__(NETCLASSES self) -> NETCLASSES"""
15867 _pcbnew.NETCLASSES_swiginit(self, _pcbnew.new_NETCLASSES())
15868 __swig_destroy__ = _pcbnew.delete_NETCLASSES
15871 r"""Clear(NETCLASSES self)"""
15872 return _pcbnew.NETCLASSES_Clear(self)
15874 def begin(self, *args) -> "NETCLASSES::const_iterator
":
15876 begin(NETCLASSES self) -> NETCLASSES::iterator
15877 begin(NETCLASSES self) -> NETCLASSES::const_iterator
15879 return _pcbnew.NETCLASSES_begin(self, *args)
15881 def end(self, *args) -> "NETCLASSES::const_iterator
":
15883 end(NETCLASSES self) -> NETCLASSES::iterator
15884 end(NETCLASSES self) -> NETCLASSES::const_iterator
15886 return _pcbnew.NETCLASSES_end(self, *args)
15889 r"""GetCount(NETCLASSES self) -> unsigned int"""
15890 return _pcbnew.NETCLASSES_GetCount(self)
15893 r"""GetDefault(NETCLASSES self) -> NETCLASSPTR"""
15894 return _pcbnew.NETCLASSES_GetDefault(self)
15897 r"""GetDefaultPtr(NETCLASSES self) -> NETCLASS *"""
15898 return _pcbnew.NETCLASSES_GetDefaultPtr(self)
15900 def Add(self, aNetclass:
"NETCLASSPTR const &") ->
"bool":
15901 r"""Add(NETCLASSES self, NETCLASSPTR const & aNetclass) -> bool"""
15902 return _pcbnew.NETCLASSES_Add(self, aNetclass)
15904 def Remove(self, aNetName:
"wxString") ->
"NETCLASSPTR":
15905 r"""Remove(NETCLASSES self, wxString aNetName) -> NETCLASSPTR"""
15906 return _pcbnew.NETCLASSES_Remove(self, aNetName)
15908 def Find(self, aName:
"wxString") ->
"NETCLASSPTR":
15909 r"""Find(NETCLASSES self, wxString aName) -> NETCLASSPTR"""
15910 return _pcbnew.NETCLASSES_Find(self, aName)
15913 r"""NetClasses(NETCLASSES self) -> NETCLASS_MAP"""
15914 return _pcbnew.NETCLASSES_NetClasses(self)
15917_pcbnew.NETCLASSES_swigregister(NETCLASSES)
15920 r"""Proxy of C++ PCB_GROUP class."""
15922 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15923 __repr__ = _swig_repr
15926 r"""__init__(PCB_GROUP self, BOARD_ITEM aParent) -> PCB_GROUP"""
15927 _pcbnew.PCB_GROUP_swiginit(self, _pcbnew.new_PCB_GROUP(aParent))
15931 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15932 return _pcbnew.PCB_GROUP_ClassOf(aItem)
15935 r"""GetClass(PCB_GROUP self) -> wxString"""
15936 return _pcbnew.PCB_GROUP_GetClass(self)
15939 r"""GetName(PCB_GROUP self) -> wxString"""
15940 return _pcbnew.PCB_GROUP_GetName(self)
15943 r"""SetName(PCB_GROUP self, wxString aName)"""
15944 return _pcbnew.PCB_GROUP_SetName(self, aName)
15946 def GetItems(self, *args) -> "std::unordered_set< BOARD_ITEM * > const &
":
15948 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * >
15949 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * > const &
15951 return _pcbnew.PCB_GROUP_GetItems(self, *args)
15954 r"""AddItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
15955 return _pcbnew.PCB_GROUP_AddItem(self, aItem)
15958 r"""RemoveItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
15959 return _pcbnew.PCB_GROUP_RemoveItem(self, aItem)
15962 r"""RemoveAll(PCB_GROUP self)"""
15963 return _pcbnew.PCB_GROUP_RemoveAll(self)
15966 def TopLevelGroup(aItem:
"BOARD_ITEM", aScope:
"PCB_GROUP", isFootprintEditor:
"bool") ->
"PCB_GROUP *":
15967 r"""TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
15968 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
15971 def WithinScope(aItem:
"BOARD_ITEM", aScope:
"PCB_GROUP", isFootprintEditor:
"bool") ->
"bool":
15972 r"""WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
15973 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
15976 r"""GetPosition(PCB_GROUP self) -> wxPoint"""
15977 return _pcbnew.PCB_GROUP_GetPosition(self)
15980 r"""SetPosition(PCB_GROUP self, wxPoint aNewpos)"""
15981 return _pcbnew.PCB_GROUP_SetPosition(self, aNewpos)
15984 r"""GetLayerSet(PCB_GROUP self) -> LSET"""
15985 return _pcbnew.PCB_GROUP_GetLayerSet(self)
15988 r"""SetLayer(PCB_GROUP self, PCB_LAYER_ID aLayer)"""
15989 return _pcbnew.PCB_GROUP_SetLayer(self, aLayer)
15992 r"""SetLayerRecursive(PCB_GROUP self, PCB_LAYER_ID aLayer, int aDepth)"""
15993 return _pcbnew.PCB_GROUP_SetLayerRecursive(self, aLayer, aDepth)
15996 r"""SetLocked(PCB_GROUP self, bool aLocked)"""
15997 return _pcbnew.PCB_GROUP_SetLocked(self, aLocked)
16000 r"""Clone(PCB_GROUP self) -> EDA_ITEM"""
16001 return _pcbnew.PCB_GROUP_Clone(self)
16004 r"""DeepClone(PCB_GROUP self) -> PCB_GROUP"""
16005 return _pcbnew.PCB_GROUP_DeepClone(self)
16008 r"""DeepDuplicate(PCB_GROUP self) -> PCB_GROUP"""
16009 return _pcbnew.PCB_GROUP_DeepDuplicate(self)
16012 r"""SwapData(PCB_GROUP self, BOARD_ITEM aImage)"""
16013 return _pcbnew.PCB_GROUP_SwapData(self, aImage)
16016 r"""IsOnLayer(PCB_GROUP self, PCB_LAYER_ID aLayer) -> bool"""
16017 return _pcbnew.PCB_GROUP_IsOnLayer(self, aLayer)
16021 HitTest(PCB_GROUP self, wxPoint aPosition, int aAccuracy=0) -> bool
16022 HitTest(PCB_GROUP self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
16024 return _pcbnew.PCB_GROUP_HitTest(self, *args)
16027 r"""GetBoundingBox(PCB_GROUP self) -> EDA_RECT"""
16028 return _pcbnew.PCB_GROUP_GetBoundingBox(self)
16030 def Visit(self, aInspector:
"INSPECTOR", aTestData:
"void *", aScanTypes:
"KICAD_T const []") ->
"SEARCH_RESULT":
16031 r"""Visit(PCB_GROUP self, INSPECTOR aInspector, void * aTestData, KICAD_T const [] aScanTypes) -> SEARCH_RESULT"""
16032 return _pcbnew.PCB_GROUP_Visit(self, aInspector, aTestData, aScanTypes)
16035 r"""ViewGetLayers(PCB_GROUP self, int [] aLayers, int & aCount)"""
16036 return _pcbnew.PCB_GROUP_ViewGetLayers(self, aLayers, aCount)
16038 def ViewGetLOD(self, aLayer:
"int", aView:
"KIGFX::VIEW *") ->
"double":
16039 r"""ViewGetLOD(PCB_GROUP self, int aLayer, KIGFX::VIEW * aView) -> double"""
16040 return _pcbnew.PCB_GROUP_ViewGetLOD(self, aLayer, aView)
16042 def Move(self, aMoveVector:
"wxPoint") ->
"void":
16043 r"""Move(PCB_GROUP self, wxPoint aMoveVector)"""
16044 return _pcbnew.PCB_GROUP_Move(self, aMoveVector)
16046 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
16047 r"""Rotate(PCB_GROUP self, wxPoint aRotCentre, double aAngle)"""
16048 return _pcbnew.PCB_GROUP_Rotate(self, aRotCentre, aAngle)
16050 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
16051 r"""Flip(PCB_GROUP self, wxPoint aCentre, bool aFlipLeftRight)"""
16052 return _pcbnew.PCB_GROUP_Flip(self, aCentre, aFlipLeftRight)
16055 r"""GetSelectMenuText(PCB_GROUP self, EDA_UNITS aUnits) -> wxString"""
16056 return _pcbnew.PCB_GROUP_GetSelectMenuText(self, aUnits)
16059 r"""GetMenuImage(PCB_GROUP self) -> BITMAPS"""
16060 return _pcbnew.PCB_GROUP_GetMenuImage(self)
16063 r"""AddChildrenToCommit(PCB_GROUP self, BOARD_COMMIT & aCommit)"""
16064 return _pcbnew.PCB_GROUP_AddChildrenToCommit(self, aCommit)
16066 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
16067 r"""GetMsgPanelInfo(PCB_GROUP self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
16068 return _pcbnew.PCB_GROUP_GetMsgPanelInfo(self, aFrame, aList)
16070 def RunOnChildren(self, aFunction:
"std::function< void (BOARD_ITEM *) > const &") ->
"void":
16071 r"""RunOnChildren(PCB_GROUP self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
16072 return _pcbnew.PCB_GROUP_RunOnChildren(self, aFunction)
16075 r"""RunOnDescendants(PCB_GROUP self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
16076 return _pcbnew.PCB_GROUP_RunOnDescendants(self, aFunction)
16080 r"""IsGroupableType(KICAD_T aType) -> bool"""
16081 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
16082 __swig_destroy__ = _pcbnew.delete_PCB_GROUP
16085_pcbnew.PCB_GROUP_swigregister(PCB_GROUP)
16088 r"""PCB_GROUP_ClassOf(EDA_ITEM aItem) -> bool"""
16089 return _pcbnew.PCB_GROUP_ClassOf(aItem)
16092 r"""PCB_GROUP_TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
16093 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
16096 r"""PCB_GROUP_WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
16097 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
16100 r"""PCB_GROUP_IsGroupableType(KICAD_T aType) -> bool"""
16101 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
16104 r"""Proxy of C++ std::vector< VIA_DIMENSION > class."""
16106 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16107 __repr__ = _swig_repr
16110 r"""iterator(VIA_DIMENSION_Vector self) -> SwigPyIterator"""
16111 return _pcbnew.VIA_DIMENSION_Vector_iterator(self)
16116 r"""__nonzero__(VIA_DIMENSION_Vector self) -> bool"""
16117 return _pcbnew.VIA_DIMENSION_Vector___nonzero__(self)
16120 r"""__bool__(VIA_DIMENSION_Vector self) -> bool"""
16121 return _pcbnew.VIA_DIMENSION_Vector___bool__(self)
16123 def __len__(self) -> "std::vector< VIA_DIMENSION >::size_type
":
16124 r"""__len__(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
16125 return _pcbnew.VIA_DIMENSION_Vector___len__(self)
16127 def __getslice__(self, i:
"std::vector< VIA_DIMENSION >::difference_type", j:
"std::vector< VIA_DIMENSION >::difference_type") ->
"std::vector< VIA_DIMENSION,std::allocator< VIA_DIMENSION > > *":
16128 r"""__getslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j) -> VIA_DIMENSION_Vector"""
16129 return _pcbnew.VIA_DIMENSION_Vector___getslice__(self, i, j)
16133 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)
16134 __setslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j, VIA_DIMENSION_Vector v)
16136 return _pcbnew.VIA_DIMENSION_Vector___setslice__(self, *args)
16138 def __delslice__(self, i:
"std::vector< VIA_DIMENSION >::difference_type", j:
"std::vector< VIA_DIMENSION >::difference_type") ->
"void":
16139 r"""__delslice__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, std::vector< VIA_DIMENSION >::difference_type j)"""
16140 return _pcbnew.VIA_DIMENSION_Vector___delslice__(self, i, j)
16144 __delitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i)
16145 __delitem__(VIA_DIMENSION_Vector self, PySliceObject * slice)
16147 return _pcbnew.VIA_DIMENSION_Vector___delitem__(self, *args)
16149 def __getitem__(self, *args) -> "std::vector< VIA_DIMENSION >::value_type const &
":
16151 __getitem__(VIA_DIMENSION_Vector self, PySliceObject * slice) -> VIA_DIMENSION_Vector
16152 __getitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i) -> VIA_DIMENSION
16154 return _pcbnew.VIA_DIMENSION_Vector___getitem__(self, *args)
16158 __setitem__(VIA_DIMENSION_Vector self, PySliceObject * slice, VIA_DIMENSION_Vector v)
16159 __setitem__(VIA_DIMENSION_Vector self, PySliceObject * slice)
16160 __setitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i, VIA_DIMENSION x)
16162 return _pcbnew.VIA_DIMENSION_Vector___setitem__(self, *args)
16164 def pop(self) -> "std::vector< VIA_DIMENSION >::value_type
":
16165 r"""pop(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
16166 return _pcbnew.VIA_DIMENSION_Vector_pop(self)
16169 r"""append(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
16170 return _pcbnew.VIA_DIMENSION_Vector_append(self, x)
16173 r"""empty(VIA_DIMENSION_Vector self) -> bool"""
16174 return _pcbnew.VIA_DIMENSION_Vector_empty(self)
16176 def size(self) -> "std::vector< VIA_DIMENSION >::size_type
":
16177 r"""size(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
16178 return _pcbnew.VIA_DIMENSION_Vector_size(self)
16180 def swap(self, v:
"VIA_DIMENSION_Vector") ->
"void":
16181 r"""swap(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector v)"""
16182 return _pcbnew.VIA_DIMENSION_Vector_swap(self, v)
16184 def begin(self) -> "std::vector< VIA_DIMENSION >::iterator
":
16185 r"""begin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
16186 return _pcbnew.VIA_DIMENSION_Vector_begin(self)
16188 def end(self) -> "std::vector< VIA_DIMENSION >::iterator
":
16189 r"""end(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::iterator"""
16190 return _pcbnew.VIA_DIMENSION_Vector_end(self)
16192 def rbegin(self) -> "std::vector< VIA_DIMENSION >::reverse_iterator
":
16193 r"""rbegin(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
16194 return _pcbnew.VIA_DIMENSION_Vector_rbegin(self)
16196 def rend(self) -> "std::vector< VIA_DIMENSION >::reverse_iterator
":
16197 r"""rend(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::reverse_iterator"""
16198 return _pcbnew.VIA_DIMENSION_Vector_rend(self)
16201 r"""clear(VIA_DIMENSION_Vector self)"""
16202 return _pcbnew.VIA_DIMENSION_Vector_clear(self)
16205 r"""get_allocator(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::allocator_type"""
16206 return _pcbnew.VIA_DIMENSION_Vector_get_allocator(self)
16209 r"""pop_back(VIA_DIMENSION_Vector self)"""
16210 return _pcbnew.VIA_DIMENSION_Vector_pop_back(self)
16212 def erase(self, *args) -> "std::vector< VIA_DIMENSION >::iterator
":
16214 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos) -> std::vector< VIA_DIMENSION >::iterator
16215 erase(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator first, std::vector< VIA_DIMENSION >::iterator last) -> std::vector< VIA_DIMENSION >::iterator
16217 return _pcbnew.VIA_DIMENSION_Vector_erase(self, *args)
16221 __init__(VIA_DIMENSION_Vector self) -> VIA_DIMENSION_Vector
16222 __init__(VIA_DIMENSION_Vector self, VIA_DIMENSION_Vector other) -> VIA_DIMENSION_Vector
16223 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size) -> VIA_DIMENSION_Vector
16224 __init__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type size, VIA_DIMENSION value) -> VIA_DIMENSION_Vector
16226 _pcbnew.VIA_DIMENSION_Vector_swiginit(self, _pcbnew.new_VIA_DIMENSION_Vector(*args))
16229 r"""push_back(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
16230 return _pcbnew.VIA_DIMENSION_Vector_push_back(self, x)
16232 def front(self) -> "std::vector< VIA_DIMENSION >::value_type const &
":
16233 r"""front(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
16234 return _pcbnew.VIA_DIMENSION_Vector_front(self)
16236 def back(self) -> "std::vector< VIA_DIMENSION >::value_type const &
":
16237 r"""back(VIA_DIMENSION_Vector self) -> VIA_DIMENSION"""
16238 return _pcbnew.VIA_DIMENSION_Vector_back(self)
16240 def assign(self, n:
"std::vector< VIA_DIMENSION >::size_type", x:
"VIA_DIMENSION") ->
"void":
16241 r"""assign(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)"""
16242 return _pcbnew.VIA_DIMENSION_Vector_assign(self, n, x)
16246 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size)
16247 resize(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type new_size, VIA_DIMENSION x)
16249 return _pcbnew.VIA_DIMENSION_Vector_resize(self, *args)
16253 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, VIA_DIMENSION x) -> std::vector< VIA_DIMENSION >::iterator
16254 insert(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::iterator pos, std::vector< VIA_DIMENSION >::size_type n, VIA_DIMENSION x)
16256 return _pcbnew.VIA_DIMENSION_Vector_insert(self, *args)
16258 def reserve(self, n:
"std::vector< VIA_DIMENSION >::size_type") ->
"void":
16259 r"""reserve(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::size_type n)"""
16260 return _pcbnew.VIA_DIMENSION_Vector_reserve(self, n)
16262 def capacity(self) -> "std::vector< VIA_DIMENSION >::size_type
":
16263 r"""capacity(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::size_type"""
16264 return _pcbnew.VIA_DIMENSION_Vector_capacity(self)
16265 __swig_destroy__ = _pcbnew.delete_VIA_DIMENSION_Vector
16268_pcbnew.VIA_DIMENSION_Vector_swigregister(VIA_DIMENSION_Vector)
16270LT_UNDEFINED = _pcbnew.LT_UNDEFINED
16272LT_SIGNAL = _pcbnew.LT_SIGNAL
16274LT_POWER = _pcbnew.LT_POWER
16276LT_MIXED = _pcbnew.LT_MIXED
16278LT_JUMPER = _pcbnew.LT_JUMPER
16281 r"""Proxy of C++ LAYER class."""
16283 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16284 __repr__ = _swig_repr
16287 r"""__init__(LAYER self) -> LAYER"""
16288 _pcbnew.LAYER_swiginit(self, _pcbnew.new_LAYER())
16291 r"""clear(LAYER self)"""
16292 return _pcbnew.LAYER_clear(self)
16293 m_name = property(_pcbnew.LAYER_m_name_get, _pcbnew.LAYER_m_name_set, doc=
r"""m_name : wxString""")
16294 m_userName = property(_pcbnew.LAYER_m_userName_get, _pcbnew.LAYER_m_userName_set, doc=
r"""m_userName : wxString""")
16295 m_type = property(_pcbnew.LAYER_m_type_get, _pcbnew.LAYER_m_type_set, doc=
r"""m_type : LAYER_T""")
16296 m_visible = property(_pcbnew.LAYER_m_visible_get, _pcbnew.LAYER_m_visible_set, doc=
r"""m_visible : bool""")
16297 m_number = property(_pcbnew.LAYER_m_number_get, _pcbnew.LAYER_m_number_set, doc=
r"""m_number : int""")
16301 r"""ShowType(LAYER_T aType) -> char const *"""
16302 return _pcbnew.LAYER_ShowType(aType)
16306 r"""ParseType(char const * aType) -> LAYER_T"""
16307 return _pcbnew.LAYER_ParseType(aType)
16308 __swig_destroy__ = _pcbnew.delete_LAYER
16311_pcbnew.LAYER_swigregister(LAYER)
16314 r"""LAYER_ShowType(LAYER_T aType) -> char const *"""
16315 return _pcbnew.LAYER_ShowType(aType)
16318 r"""LAYER_ParseType(char const * aType) -> LAYER_T"""
16319 return _pcbnew.LAYER_ParseType(aType)
16322 r"""Proxy of C++ HIGH_LIGHT_INFO class."""
16324 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16327 raise AttributeError(
"No constructor defined")
16328 __repr__ = _swig_repr
16329 __swig_destroy__ = _pcbnew.delete_HIGH_LIGHT_INFO
16332_pcbnew.HIGH_LIGHT_INFO_swigregister(HIGH_LIGHT_INFO)
16335 r"""Proxy of C++ BOARD_LISTENER class."""
16337 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16338 __repr__ = _swig_repr
16339 __swig_destroy__ = _pcbnew.delete_BOARD_LISTENER
16342 r"""OnBoardItemAdded(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
16343 return _pcbnew.BOARD_LISTENER_OnBoardItemAdded(self, aBoard, aBoardItem)
16345 def OnBoardItemsAdded(self, aBoard:
"BOARD", aBoardItem:
"std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &") ->
"void":
16346 r"""OnBoardItemsAdded(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
16347 return _pcbnew.BOARD_LISTENER_OnBoardItemsAdded(self, aBoard, aBoardItem)
16350 r"""OnBoardItemRemoved(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
16351 return _pcbnew.BOARD_LISTENER_OnBoardItemRemoved(self, aBoard, aBoardItem)
16353 def OnBoardItemsRemoved(self, aBoard:
"BOARD", aBoardItem:
"std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &") ->
"void":
16354 r"""OnBoardItemsRemoved(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
16355 return _pcbnew.BOARD_LISTENER_OnBoardItemsRemoved(self, aBoard, aBoardItem)
16358 r"""OnBoardNetSettingsChanged(BOARD_LISTENER self, BOARD aBoard)"""
16359 return _pcbnew.BOARD_LISTENER_OnBoardNetSettingsChanged(self, aBoard)
16362 r"""OnBoardItemChanged(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
16363 return _pcbnew.BOARD_LISTENER_OnBoardItemChanged(self, aBoard, aBoardItem)
16365 def OnBoardItemsChanged(self, aBoard:
"BOARD", aBoardItem:
"std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &") ->
"void":
16366 r"""OnBoardItemsChanged(BOARD_LISTENER self, BOARD aBoard, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aBoardItem)"""
16367 return _pcbnew.BOARD_LISTENER_OnBoardItemsChanged(self, aBoard, aBoardItem)
16370 r"""OnBoardHighlightNetChanged(BOARD_LISTENER self, BOARD aBoard)"""
16371 return _pcbnew.BOARD_LISTENER_OnBoardHighlightNetChanged(self, aBoard)
16374 r"""__init__(BOARD_LISTENER self) -> BOARD_LISTENER"""
16375 _pcbnew.BOARD_LISTENER_swiginit(self, _pcbnew.new_BOARD_LISTENER())
16378_pcbnew.BOARD_LISTENER_swigregister(BOARD_LISTENER)
16380BOARD_USE_NORMAL = _pcbnew.BOARD_USE_NORMAL
16382BOARD_USE_FPHOLDER = _pcbnew.BOARD_USE_FPHOLDER
16385 r"""Proxy of C++ BOARD class."""
16387 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
16390 raise AttributeError(
"No constructor defined")
16391 __repr__ = _swig_repr
16395 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16396 return _pcbnew.BOARD_ClassOf(aItem)
16399 r"""SetBoardUse(BOARD self, BOARD_USE aUse)"""
16400 return _pcbnew.BOARD_SetBoardUse(self, aUse)
16403 r"""GetBoardUse(BOARD self) -> BOARD_USE"""
16404 return _pcbnew.BOARD_GetBoardUse(self)
16407 r"""IncrementTimeStamp(BOARD self)"""
16408 return _pcbnew.BOARD_IncrementTimeStamp(self)
16411 r"""GetTimeStamp(BOARD self) -> int"""
16412 return _pcbnew.BOARD_GetTimeStamp(self)
16415 r"""IsFootprintHolder(BOARD self) -> bool"""
16416 return _pcbnew.BOARD_IsFootprintHolder(self)
16419 r"""SetFileName(BOARD self, wxString aFileName)"""
16420 return _pcbnew.BOARD_SetFileName(self, aFileName)
16423 r"""GetFileName(BOARD self) -> wxString"""
16424 return _pcbnew.BOARD_GetFileName(self)
16428 Tracks(BOARD self) -> TRACKS
16429 Tracks(BOARD self) -> TRACKS
16431 return _pcbnew.BOARD_Tracks(self, *args)
16438 return _pcbnew.BOARD_Footprints(self, *args)
16445 return _pcbnew.BOARD_Drawings(self, *args)
16449 Zones(BOARD self) -> ZONES
16450 Zones(BOARD self) -> ZONES
16452 return _pcbnew.BOARD_Zones(self, *args)
16456 Markers(BOARD self) -> MARKERS
16457 Markers(BOARD self) -> MARKERS
16459 return _pcbnew.BOARD_Markers(self, *args)
16463 Groups(BOARD self) -> GROUPS
16464 Groups(BOARD self) -> GROUPS
16466 return _pcbnew.BOARD_Groups(self, *args)
16468 def AllConnectedItems(self) -> "std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const
":
16469 r"""AllConnectedItems(BOARD self) -> std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const"""
16470 return _pcbnew.BOARD_AllConnectedItems(self)
16472 def GetProperties(self) -> "std::map< wxString,wxString,std::less< wxString >,std::allocator< std::pair< wxString const,wxString > > > const &
":
16473 r"""GetProperties(BOARD self) -> MAP_STRING_STRING"""
16474 return _pcbnew.BOARD_GetProperties(self)
16477 r"""SetProperties(BOARD self, MAP_STRING_STRING aProps)"""
16478 return _pcbnew.BOARD_SetProperties(self, aProps)
16481 r"""ResolveTextVar(BOARD self, wxString token, int aDepth) -> bool"""
16482 return _pcbnew.BOARD_ResolveTextVar(self, token, aDepth)
16483 m_LegacyVisibleLayers = property(_pcbnew.BOARD_m_LegacyVisibleLayers_get, _pcbnew.BOARD_m_LegacyVisibleLayers_set, doc=
r"""m_LegacyVisibleLayers : LSET""")
16484 m_LegacyVisibleItems = property(_pcbnew.BOARD_m_LegacyVisibleItems_get, _pcbnew.BOARD_m_LegacyVisibleItems_set, doc=
r"""m_LegacyVisibleItems : GAL_SET""")
16485 m_LegacyDesignSettingsLoaded = property(_pcbnew.BOARD_m_LegacyDesignSettingsLoaded_get, _pcbnew.BOARD_m_LegacyDesignSettingsLoaded_set, doc=
r"""m_LegacyDesignSettingsLoaded : bool""")
16486 m_LegacyCopperEdgeClearanceLoaded = property(_pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_get, _pcbnew.BOARD_m_LegacyCopperEdgeClearanceLoaded_set, doc=
r"""m_LegacyCopperEdgeClearanceLoaded : bool""")
16487 m_LegacyNetclassesLoaded = property(_pcbnew.BOARD_m_LegacyNetclassesLoaded_get, _pcbnew.BOARD_m_LegacyNetclassesLoaded_set, doc=
r"""m_LegacyNetclassesLoaded : bool""")
16488 __swig_destroy__ = _pcbnew.delete_BOARD
16491 r"""GetPosition(BOARD self) -> wxPoint"""
16492 return _pcbnew.BOARD_GetPosition(self)
16495 r"""SetPosition(BOARD self, wxPoint aPos)"""
16496 return _pcbnew.BOARD_SetPosition(self, aPos)
16499 r"""GetFocusPosition(BOARD self) -> wxPoint"""
16500 return _pcbnew.BOARD_GetFocusPosition(self)
16503 r"""IsEmpty(BOARD self) -> bool"""
16504 return _pcbnew.BOARD_IsEmpty(self)
16506 def Move(self, aMoveVector:
"wxPoint") ->
"void":
16507 r"""Move(BOARD self, wxPoint aMoveVector)"""
16508 return _pcbnew.BOARD_Move(self, aMoveVector)
16511 r"""SetFileFormatVersionAtLoad(BOARD self, int aVersion)"""
16512 return _pcbnew.BOARD_SetFileFormatVersionAtLoad(self, aVersion)
16515 r"""GetFileFormatVersionAtLoad(BOARD self) -> int"""
16516 return _pcbnew.BOARD_GetFileFormatVersionAtLoad(self)
16519 r"""SetGenerator(BOARD self, wxString aGenerator)"""
16520 return _pcbnew.BOARD_SetGenerator(self, aGenerator)
16523 r"""GetGenerator(BOARD self) -> wxString"""
16524 return _pcbnew.BOARD_GetGenerator(self)
16527 r"""AddNative(BOARD self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT)"""
16528 return _pcbnew.BOARD_AddNative(self, *args)
16531 r"""RemoveNative(BOARD self, BOARD_ITEM aBoardItem, REMOVE_MODE aMode=NORMAL)"""
16532 return _pcbnew.BOARD_RemoveNative(self, *args)
16534 def FinalizeBulkAdd(self, aNewItems:
"std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &") ->
"void":
16535 r"""FinalizeBulkAdd(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aNewItems)"""
16536 return _pcbnew.BOARD_FinalizeBulkAdd(self, aNewItems)
16538 def FinalizeBulkRemove(self, aRemovedItems:
"std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &") ->
"void":
16539 r"""FinalizeBulkRemove(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aRemovedItems)"""
16540 return _pcbnew.BOARD_FinalizeBulkRemove(self, aRemovedItems)
16543 r"""GetFirstFootprint(BOARD self) -> FOOTPRINT"""
16544 return _pcbnew.BOARD_GetFirstFootprint(self)
16547 r"""DeleteAllFootprints(BOARD self)"""
16548 return _pcbnew.BOARD_DeleteAllFootprints(self)
16551 r"""GetItem(BOARD self, KIID aID) -> BOARD_ITEM"""
16552 return _pcbnew.BOARD_GetItem(self, aID)
16554 def FillItemMap(self, aMap:
"std::map< KIID,EDA_ITEM *,std::less< KIID >,std::allocator< std::pair< KIID const,EDA_ITEM * > > > &") ->
"void":
16555 r"""FillItemMap(BOARD self, std::map< KIID,EDA_ITEM *,std::less< KIID >,std::allocator< std::pair< KIID const,EDA_ITEM * > > > & aMap)"""
16556 return _pcbnew.BOARD_FillItemMap(self, aMap)
16559 r"""ConvertCrossReferencesToKIIDs(BOARD self, wxString aSource) -> wxString"""
16560 return _pcbnew.BOARD_ConvertCrossReferencesToKIIDs(self, aSource)
16563 r"""ConvertKIIDsToCrossReferences(BOARD self, wxString aSource) -> wxString"""
16564 return _pcbnew.BOARD_ConvertKIIDsToCrossReferences(self, aSource)
16567 r"""GetConnectivity(BOARD self) -> std::shared_ptr< CONNECTIVITY_DATA >"""
16568 return _pcbnew.BOARD_GetConnectivity(self)
16571 r"""BuildConnectivity(BOARD self, PROGRESS_REPORTER * aReporter=None)"""
16572 return _pcbnew.BOARD_BuildConnectivity(self, aReporter)
16577 DeleteMARKERs(BOARD self, bool aWarningsAndErrors, bool aExclusions)
16579 return _pcbnew.BOARD_DeleteMARKERs(self, *args)
16582 r"""GetProject(BOARD self) -> PROJECT *"""
16583 return _pcbnew.BOARD_GetProject(self)
16586 r"""SetProject(BOARD self, PROJECT * aProject)"""
16587 return _pcbnew.BOARD_SetProject(self, aProject)
16590 r"""ClearProject(BOARD self)"""
16591 return _pcbnew.BOARD_ClearProject(self)
16594 r"""ResolveDRCExclusions(BOARD self) -> MARKERS"""
16595 return _pcbnew.BOARD_ResolveDRCExclusions(self)
16598 r"""ResetNetHighLight(BOARD self)"""
16599 return _pcbnew.BOARD_ResetNetHighLight(self)
16602 r"""GetHighLightNetCodes(BOARD self) -> std::set< int,std::less< int >,std::allocator< int > > const &"""
16603 return _pcbnew.BOARD_GetHighLightNetCodes(self)
16606 r"""SetHighLightNet(BOARD self, int aNetCode, bool aMulti=False)"""
16607 return _pcbnew.BOARD_SetHighLightNet(self, aNetCode, aMulti)
16610 r"""IsHighLightNetON(BOARD self) -> bool"""
16611 return _pcbnew.BOARD_IsHighLightNetON(self)
16614 r"""HighLightON(BOARD self, bool aValue=True)"""
16615 return _pcbnew.BOARD_HighLightON(self, aValue)
16618 r"""HighLightOFF(BOARD self)"""
16619 return _pcbnew.BOARD_HighLightOFF(self)
16622 r"""GetCopperLayerCount(BOARD self) -> int"""
16623 return _pcbnew.BOARD_GetCopperLayerCount(self)
16626 r"""SetCopperLayerCount(BOARD self, int aCount)"""
16627 return _pcbnew.BOARD_SetCopperLayerCount(self, aCount)
16630 r"""GetEnabledLayers(BOARD self) -> LSET"""
16631 return _pcbnew.BOARD_GetEnabledLayers(self)
16634 r"""SetEnabledLayers(BOARD self, LSET aLayerMask)"""
16635 return _pcbnew.BOARD_SetEnabledLayers(self, aLayerMask)
16638 r"""IsLayerEnabled(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
16639 return _pcbnew.BOARD_IsLayerEnabled(self, aLayer)
16642 r"""IsLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
16643 return _pcbnew.BOARD_IsLayerVisible(self, aLayer)
16646 r"""GetVisibleLayers(BOARD self) -> LSET"""
16647 return _pcbnew.BOARD_GetVisibleLayers(self)
16650 r"""SetVisibleLayers(BOARD self, LSET aLayerMask)"""
16651 return _pcbnew.BOARD_SetVisibleLayers(self, aLayerMask)
16654 r"""GetVisibleElements(BOARD self) -> GAL_SET"""
16655 return _pcbnew.BOARD_GetVisibleElements(self)
16658 r"""SetVisibleElements(BOARD self, GAL_SET aMask)"""
16659 return _pcbnew.BOARD_SetVisibleElements(self, aMask)
16662 r"""SetVisibleAlls(BOARD self)"""
16663 return _pcbnew.BOARD_SetVisibleAlls(self)
16666 r"""IsElementVisible(BOARD self, GAL_LAYER_ID aLayer) -> bool"""
16667 return _pcbnew.BOARD_IsElementVisible(self, aLayer)
16670 r"""SetElementVisibility(BOARD self, GAL_LAYER_ID aLayer, bool aNewState)"""
16671 return _pcbnew.BOARD_SetElementVisibility(self, aLayer, aNewState)
16674 r"""IsFootprintLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
16675 return _pcbnew.BOARD_IsFootprintLayerVisible(self, aLayer)
16678 r"""GetDesignSettings(BOARD self) -> BOARD_DESIGN_SETTINGS"""
16679 return _pcbnew.BOARD_GetDesignSettings(self)
16682 r"""GetZoneSettings(BOARD self) -> ZONE_SETTINGS"""
16683 return _pcbnew.BOARD_GetZoneSettings(self)
16686 r"""SetZoneSettings(BOARD self, ZONE_SETTINGS aSettings)"""
16687 return _pcbnew.BOARD_SetZoneSettings(self, aSettings)
16690 r"""GetPageSettings(BOARD self) -> PAGE_INFO const &"""
16691 return _pcbnew.BOARD_GetPageSettings(self)
16694 r"""SetPageSettings(BOARD self, PAGE_INFO const & aPageSettings)"""
16695 return _pcbnew.BOARD_SetPageSettings(self, aPageSettings)
16698 r"""GetPlotOptions(BOARD self) -> PCB_PLOT_PARAMS"""
16699 return _pcbnew.BOARD_GetPlotOptions(self)
16702 r"""SetPlotOptions(BOARD self, PCB_PLOT_PARAMS aOptions)"""
16703 return _pcbnew.BOARD_SetPlotOptions(self, aOptions)
16710 return _pcbnew.BOARD_GetTitleBlock(self, *args)
16713 r"""SetTitleBlock(BOARD self, TITLE_BLOCK aTitleBlock)"""
16714 return _pcbnew.BOARD_SetTitleBlock(self, aTitleBlock)
16717 r"""GetSelectMenuText(BOARD self, EDA_UNITS aUnits) -> wxString"""
16718 return _pcbnew.BOARD_GetSelectMenuText(self, aUnits)
16721 r"""GetBoardPolygonOutlines(BOARD self, SHAPE_POLY_SET aOutlines, OUTLINE_ERROR_HANDLER * aErrorHandler=None) -> bool"""
16722 return _pcbnew.BOARD_GetBoardPolygonOutlines(self, aOutlines, aErrorHandler)
16725 r"""ConvertBrdLayerToPolygonalContours(BOARD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aOutlines)"""
16726 return _pcbnew.BOARD_ConvertBrdLayerToPolygonalContours(self, aLayer, aOutlines)
16728 def GetLayerID(self, aLayerName:
"wxString") ->
"PCB_LAYER_ID const":
16729 r"""GetLayerID(BOARD self, wxString aLayerName) -> PCB_LAYER_ID const"""
16730 return _pcbnew.BOARD_GetLayerID(self, aLayerName)
16733 r"""GetLayerName(BOARD self, PCB_LAYER_ID aLayer) -> wxString"""
16734 return _pcbnew.BOARD_GetLayerName(self, aLayer)
16736 def SetLayerName(self, aLayer:
"PCB_LAYER_ID", aLayerName:
"wxString") ->
"bool":
16737 r"""SetLayerName(BOARD self, PCB_LAYER_ID aLayer, wxString aLayerName) -> bool"""
16738 return _pcbnew.BOARD_SetLayerName(self, aLayer, aLayerName)
16742 r"""GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
16743 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
16746 r"""SetLayerDescr(BOARD self, PCB_LAYER_ID aIndex, LAYER aLayer) -> bool"""
16747 return _pcbnew.BOARD_SetLayerDescr(self, aIndex, aLayer)
16750 r"""GetLayerType(BOARD self, PCB_LAYER_ID aLayer) -> LAYER_T"""
16751 return _pcbnew.BOARD_GetLayerType(self, aLayer)
16753 def SetLayerType(self, aLayer:
"PCB_LAYER_ID", aLayerType:
"LAYER_T") ->
"bool":
16754 r"""SetLayerType(BOARD self, PCB_LAYER_ID aLayer, LAYER_T aLayerType) -> bool"""
16755 return _pcbnew.BOARD_SetLayerType(self, aLayer, aLayerType)
16758 r"""GetNodesCount(BOARD self, int aNet=-1) -> unsigned int"""
16759 return _pcbnew.BOARD_GetNodesCount(self, aNet)
16762 r"""GetUnconnectedNetCount(BOARD self) -> unsigned int"""
16763 return _pcbnew.BOARD_GetUnconnectedNetCount(self)
16765 def GetPads(self) -> "std::vector< PAD *,std::allocator< PAD * > > const
":
16766 r"""GetPads(BOARD self) -> PADS_VEC"""
16767 return _pcbnew.BOARD_GetPads(self)
16770 r"""BuildListOfNets(BOARD self)"""
16771 return _pcbnew.BOARD_BuildListOfNets(self)
16775 FindNet(BOARD self, int aNetcode) -> NETINFO_ITEM
16776 FindNet(BOARD self, wxString aNetname) -> NETINFO_ITEM
16778 return _pcbnew.BOARD_FindNet(self, *args)
16785 return _pcbnew.BOARD_GetNetInfo(self, *args)
16788 r"""GetNetCount(BOARD self) -> unsigned int"""
16789 return _pcbnew.BOARD_GetNetCount(self)
16792 r"""ComputeBoundingBox(BOARD self, bool aBoardEdgesOnly=False) -> EDA_RECT"""
16793 return _pcbnew.BOARD_ComputeBoundingBox(self, aBoardEdgesOnly)
16796 r"""GetBoundingBox(BOARD self) -> EDA_RECT"""
16797 return _pcbnew.BOARD_GetBoundingBox(self)
16800 r"""GetBoardEdgesBoundingBox(BOARD self) -> EDA_RECT"""
16801 return _pcbnew.BOARD_GetBoardEdgesBoundingBox(self)
16803 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
16804 r"""GetMsgPanelInfo(BOARD self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
16805 return _pcbnew.BOARD_GetMsgPanelInfo(self, aFrame, aList)
16807 def Visit(self, inspector:
"INSPECTOR", testData:
"void *", scanTypes:
"KICAD_T const []") ->
"SEARCH_RESULT":
16808 r"""Visit(BOARD self, INSPECTOR inspector, void * testData, KICAD_T const [] scanTypes) -> SEARCH_RESULT"""
16809 return _pcbnew.BOARD_Visit(self, inspector, testData, scanTypes)
16812 r"""FindFootprintByReference(BOARD self, wxString aReference) -> FOOTPRINT"""
16813 return _pcbnew.BOARD_FindFootprintByReference(self, aReference)
16816 r"""FindFootprintByPath(BOARD self, KIID_PATH aPath) -> FOOTPRINT"""
16817 return _pcbnew.BOARD_FindFootprintByPath(self, aPath)
16820 r"""GetNetClassAssignmentCandidates(BOARD self) -> std::vector< wxString,std::allocator< wxString > >"""
16821 return _pcbnew.BOARD_GetNetClassAssignmentCandidates(self)
16824 r"""SynchronizeNetsAndNetClasses(BOARD self)"""
16825 return _pcbnew.BOARD_SynchronizeNetsAndNetClasses(self)
16828 r"""SynchronizeProperties(BOARD self)"""
16829 return _pcbnew.BOARD_SynchronizeProperties(self)
16832 r"""GetClass(BOARD self) -> wxString"""
16833 return _pcbnew.BOARD_GetClass(self)
16836 r"""SetAreasNetCodesFromNetNames(BOARD self) -> int"""
16837 return _pcbnew.BOARD_SetAreasNetCodesFromNetNames(self)
16840 r"""GetArea(BOARD self, int index) -> ZONE"""
16841 return _pcbnew.BOARD_GetArea(self, index)
16843 def GetZoneList(self, aIncludeZonesInFootprints:
"bool"=
False) ->
"std::list< ZONE *,std::allocator< ZONE * > >":
16844 r"""GetZoneList(BOARD self, bool aIncludeZonesInFootprints=False) -> std::list< ZONE *,std::allocator< ZONE * > >"""
16845 return _pcbnew.BOARD_GetZoneList(self, aIncludeZonesInFootprints)
16848 r"""GetAreaCount(BOARD self) -> int"""
16849 return _pcbnew.BOARD_GetAreaCount(self)
16851 def AddArea(self, aNewZonesList:
"PICKED_ITEMS_LIST *", aNetcode:
"int", aLayer:
"PCB_LAYER_ID", aStartPointPosition:
"wxPoint", aHatch:
"ZONE_BORDER_DISPLAY_STYLE") ->
"ZONE *":
16852 r"""AddArea(BOARD self, PICKED_ITEMS_LIST * aNewZonesList, int aNetcode, PCB_LAYER_ID aLayer, wxPoint aStartPointPosition, ZONE_BORDER_DISPLAY_STYLE aHatch) -> ZONE"""
16853 return _pcbnew.BOARD_AddArea(self, aNewZonesList, aNetcode, aLayer, aStartPointPosition, aHatch)
16856 r"""TestZoneIntersection(BOARD self, ZONE aZone1, ZONE aZone2) -> bool"""
16857 return _pcbnew.BOARD_TestZoneIntersection(self, aZone1, aZone2)
16859 def GetPadFast(self, aPosition:
"wxPoint", aLayerMask:
"LSET") ->
"PAD *":
16860 r"""GetPadFast(BOARD self, wxPoint aPosition, LSET aLayerMask) -> PAD"""
16861 return _pcbnew.BOARD_GetPadFast(self, aPosition, aLayerMask)
16865 GetPad(BOARD self, wxPoint aPosition, LSET aLayerMask) -> PAD
16866 GetPad(BOARD self, wxPoint aPosition) -> PAD
16867 GetPad(BOARD self, PCB_TRACK aTrace, ENDPOINT_T aEndPoint) -> PAD
16868 GetPad(BOARD self, PADS_VEC aPadList, wxPoint aPosition, LSET aLayerMask) -> PAD
16870 return _pcbnew.BOARD_GetPad(self, *args)
16873 r"""PadDelete(BOARD self, PAD aPad)"""
16874 return _pcbnew.BOARD_PadDelete(self, aPad)
16877 r"""GetSortedPadListByXthenYCoord(BOARD self, PADS_VEC aVector, int aNetCode=-1)"""
16878 return _pcbnew.BOARD_GetSortedPadListByXthenYCoord(self, aVector, aNetCode)
16881 r"""GetTrackLength(BOARD self, PCB_TRACK aTrack) -> std::tuple< int,double,double >"""
16882 return _pcbnew.BOARD_GetTrackLength(self, aTrack)
16885 r"""TracksInNet(BOARD self, int aNetCode) -> TRACKS"""
16886 return _pcbnew.BOARD_TracksInNet(self, aNetCode)
16888 def GetFootprint(self, aPosition:
"wxPoint", aActiveLayer:
"PCB_LAYER_ID", aVisibleOnly:
"bool", aIgnoreLocked:
"bool"=
False) ->
"FOOTPRINT *":
16889 r"""GetFootprint(BOARD self, wxPoint aPosition, PCB_LAYER_ID aActiveLayer, bool aVisibleOnly, bool aIgnoreLocked=False) -> FOOTPRINT"""
16890 return _pcbnew.BOARD_GetFootprint(self, aPosition, aActiveLayer, aVisibleOnly, aIgnoreLocked)
16893 r"""ClearAllNetCodes(BOARD self)"""
16894 return _pcbnew.BOARD_ClearAllNetCodes(self)
16897 r"""MapNets(BOARD self, BOARD aDestBoard)"""
16898 return _pcbnew.BOARD_MapNets(self, aDestBoard)
16901 r"""SanitizeNetcodes(BOARD self)"""
16902 return _pcbnew.BOARD_SanitizeNetcodes(self)
16905 r"""AddListener(BOARD self, BOARD_LISTENER aListener)"""
16906 return _pcbnew.BOARD_AddListener(self, aListener)
16909 r"""RemoveListener(BOARD self, BOARD_LISTENER aListener)"""
16910 return _pcbnew.BOARD_RemoveListener(self, aListener)
16913 r"""OnItemChanged(BOARD self, BOARD_ITEM aItem)"""
16914 return _pcbnew.BOARD_OnItemChanged(self, aItem)
16916 def OnItemsChanged(self, aItems:
"std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &") ->
"void":
16917 r"""OnItemsChanged(BOARD self, std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > & aItems)"""
16918 return _pcbnew.BOARD_OnItemsChanged(self, aItems)
16921 r"""GroupsSanityCheck(BOARD self, bool repair=False) -> wxString"""
16922 return _pcbnew.BOARD_GroupsSanityCheck(self, repair)
16925 r"""GroupsSanityCheckInternal(BOARD self, bool repair) -> wxString"""
16926 return _pcbnew.BOARD_GroupsSanityCheckInternal(self, repair)
16928 def GroupLegalOps(self, selection:
"PCB_SELECTION const &") ->
"BOARD::GroupLegalOpsField":
16929 r"""GroupLegalOps(BOARD self, PCB_SELECTION const & selection) -> BOARD::GroupLegalOpsField"""
16930 return _pcbnew.BOARD_GroupLegalOps(self, selection)
16931 m_InsideFCourtyardCache = property(_pcbnew.BOARD_m_InsideFCourtyardCache_get, _pcbnew.BOARD_m_InsideFCourtyardCache_set, doc=
r"""m_InsideFCourtyardCache : std::map<(std::pair<(p.BOARD_ITEM,p.BOARD_ITEM)>,bool,std::less<(std::pair<(p.BOARD_ITEM,p.BOARD_ITEM)>)>,std::allocator<(std::pair<(q(const).std::pair<(p.BOARD_ITEM,p.BOARD_ITEM)>,bool)>)>)>""")
16932 m_InsideBCourtyardCache = property(_pcbnew.BOARD_m_InsideBCourtyardCache_get, _pcbnew.BOARD_m_InsideBCourtyardCache_set, doc=
r"""m_InsideBCourtyardCache : std::map<(std::pair<(p.BOARD_ITEM,p.BOARD_ITEM)>,bool,std::less<(std::pair<(p.BOARD_ITEM,p.BOARD_ITEM)>)>,std::allocator<(std::pair<(q(const).std::pair<(p.BOARD_ITEM,p.BOARD_ITEM)>,bool)>)>)>""")
16933 m_LayerExpressionCache = property(_pcbnew.BOARD_m_LayerExpressionCache_get, _pcbnew.BOARD_m_LayerExpressionCache_set, doc=
r"""m_LayerExpressionCache : std::map<(wxString,LSET,std::less<(wxString)>,std::allocator<(std::pair<(q(const).wxString,LSET)>)>)>""")
16939 self.
this.append(this)
16966 Return a dictionary like object with key:wxString netname
and value:NETINFO_ITEM
16972 Return a dictionary like object with key:int netcode
and value:NETINFO_ITEM
16978 Given a netname, return its netcode
16981 return net.GetNetCode()
16985 Return a dictionary like object with net_class_name
as key
and NETCLASSPTR
as value
16986 GetNetClasses(BOARD self) -> { wxString net_class_name : NETCLASSPTR }
16987 Include the
"Default" netclass also.
16998_pcbnew.BOARD_swigregister(BOARD)
17001 r"""BOARD_ClassOf(EDA_ITEM aItem) -> bool"""
17002 return _pcbnew.BOARD_ClassOf(aItem)
17005 r"""BOARD_GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
17006 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
17009 r"""Proxy of C++ std::map< wxString,wxString > class."""
17011 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17012 __repr__ = _swig_repr
17015 r"""iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
17016 return _pcbnew.MAP_STRING_STRING_iterator(self)
17021 r"""__nonzero__(MAP_STRING_STRING self) -> bool"""
17022 return _pcbnew.MAP_STRING_STRING___nonzero__(self)
17025 r"""__bool__(MAP_STRING_STRING self) -> bool"""
17026 return _pcbnew.MAP_STRING_STRING___bool__(self)
17028 def __len__(self) -> "std::map< wxString,wxString >::size_type
":
17029 r"""__len__(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
17030 return _pcbnew.MAP_STRING_STRING___len__(self)
17040 def __getitem__(self, key:
"wxString") ->
"std::map< wxString,wxString >::mapped_type const &":
17041 r"""__getitem__(MAP_STRING_STRING self, wxString key) -> wxString"""
17042 return _pcbnew.MAP_STRING_STRING___getitem__(self, key)
17045 r"""__delitem__(MAP_STRING_STRING self, wxString key)"""
17046 return _pcbnew.MAP_STRING_STRING___delitem__(self, key)
17049 r"""has_key(MAP_STRING_STRING self, wxString key) -> bool"""
17050 return _pcbnew.MAP_STRING_STRING_has_key(self, key)
17053 r"""keys(MAP_STRING_STRING self) -> PyObject *"""
17054 return _pcbnew.MAP_STRING_STRING_keys(self)
17057 r"""values(MAP_STRING_STRING self) -> PyObject *"""
17058 return _pcbnew.MAP_STRING_STRING_values(self)
17061 r"""items(MAP_STRING_STRING self) -> PyObject *"""
17062 return _pcbnew.MAP_STRING_STRING_items(self)
17065 r"""__contains__(MAP_STRING_STRING self, wxString key) -> bool"""
17066 return _pcbnew.MAP_STRING_STRING___contains__(self, key)
17069 r"""key_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
17070 return _pcbnew.MAP_STRING_STRING_key_iterator(self)
17073 r"""value_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
17074 return _pcbnew.MAP_STRING_STRING_value_iterator(self)
17078 __setitem__(MAP_STRING_STRING self, wxString key)
17079 __setitem__(MAP_STRING_STRING self, wxString key, wxString x)
17081 return _pcbnew.MAP_STRING_STRING___setitem__(self, *args)
17084 r"""asdict(MAP_STRING_STRING self) -> PyObject *"""
17085 return _pcbnew.MAP_STRING_STRING_asdict(self)
17089 __init__(MAP_STRING_STRING self, std::less< wxString > const & other) -> MAP_STRING_STRING
17090 __init__(MAP_STRING_STRING self) -> MAP_STRING_STRING
17091 __init__(MAP_STRING_STRING self, MAP_STRING_STRING other) -> MAP_STRING_STRING
17093 _pcbnew.MAP_STRING_STRING_swiginit(self, _pcbnew.new_MAP_STRING_STRING(*args))
17096 r"""empty(MAP_STRING_STRING self) -> bool"""
17097 return _pcbnew.MAP_STRING_STRING_empty(self)
17099 def size(self) -> "std::map< wxString,wxString >::size_type
":
17100 r"""size(MAP_STRING_STRING self) -> std::map< wxString,wxString >::size_type"""
17101 return _pcbnew.MAP_STRING_STRING_size(self)
17103 def swap(self, v:
"MAP_STRING_STRING") ->
"void":
17104 r"""swap(MAP_STRING_STRING self, MAP_STRING_STRING v)"""
17105 return _pcbnew.MAP_STRING_STRING_swap(self, v)
17107 def begin(self) -> "std::map< wxString,wxString >::iterator
":
17108 r"""begin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
17109 return _pcbnew.MAP_STRING_STRING_begin(self)
17111 def end(self) -> "std::map< wxString,wxString >::iterator
":
17112 r"""end(MAP_STRING_STRING self) -> std::map< wxString,wxString >::iterator"""
17113 return _pcbnew.MAP_STRING_STRING_end(self)
17115 def rbegin(self) -> "std::map< wxString,wxString >::reverse_iterator
":
17116 r"""rbegin(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
17117 return _pcbnew.MAP_STRING_STRING_rbegin(self)
17119 def rend(self) -> "std::map< wxString,wxString >::reverse_iterator
":
17120 r"""rend(MAP_STRING_STRING self) -> std::map< wxString,wxString >::reverse_iterator"""
17121 return _pcbnew.MAP_STRING_STRING_rend(self)
17124 r"""clear(MAP_STRING_STRING self)"""
17125 return _pcbnew.MAP_STRING_STRING_clear(self)
17128 r"""get_allocator(MAP_STRING_STRING self) -> std::map< wxString,wxString >::allocator_type"""
17129 return _pcbnew.MAP_STRING_STRING_get_allocator(self)
17131 def count(self, x:
"wxString") ->
"std::map< wxString,wxString >::size_type":
17132 r"""count(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type"""
17133 return _pcbnew.MAP_STRING_STRING_count(self, x)
17137 erase(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::size_type
17138 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator position)
17139 erase(MAP_STRING_STRING self, std::map< wxString,wxString >::iterator first, std::map< wxString,wxString >::iterator last)
17141 return _pcbnew.MAP_STRING_STRING_erase(self, *args)
17143 def find(self, x:
"wxString") ->
"std::map< wxString,wxString >::iterator":
17144 r"""find(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
17145 return _pcbnew.MAP_STRING_STRING_find(self, x)
17147 def lower_bound(self, x:
"wxString") ->
"std::map< wxString,wxString >::iterator":
17148 r"""lower_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
17149 return _pcbnew.MAP_STRING_STRING_lower_bound(self, x)
17151 def upper_bound(self, x:
"wxString") ->
"std::map< wxString,wxString >::iterator":
17152 r"""upper_bound(MAP_STRING_STRING self, wxString x) -> std::map< wxString,wxString >::iterator"""
17153 return _pcbnew.MAP_STRING_STRING_upper_bound(self, x)
17154 __swig_destroy__ = _pcbnew.delete_MAP_STRING_STRING
17157_pcbnew.MAP_STRING_STRING_swigregister(MAP_STRING_STRING)
17159DO_NOT_INCLUDE_NPTH = _pcbnew.DO_NOT_INCLUDE_NPTH
17161INCLUDE_NPTH = _pcbnew.INCLUDE_NPTH
17163FP_THROUGH_HOLE = _pcbnew.FP_THROUGH_HOLE
17165FP_SMD = _pcbnew.FP_SMD
17167FP_EXCLUDE_FROM_POS_FILES = _pcbnew.FP_EXCLUDE_FROM_POS_FILES
17169FP_EXCLUDE_FROM_BOM = _pcbnew.FP_EXCLUDE_FROM_BOM
17171FP_BOARD_ONLY = _pcbnew.FP_BOARD_ONLY
17173FP_JUST_ADDED = _pcbnew.FP_JUST_ADDED
17176 r"""Proxy of C++ FP_3DMODEL class."""
17178 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17179 __repr__ = _swig_repr
17182 r"""__init__(FP_3DMODEL self) -> FP_3DMODEL"""
17183 _pcbnew.FP_3DMODEL_swiginit(self, _pcbnew.new_FP_3DMODEL())
17184 m_Scale = property(_pcbnew.FP_3DMODEL_m_Scale_get, _pcbnew.FP_3DMODEL_m_Scale_set, doc=
r"""m_Scale : FP_3DMODEL::VECTOR3D""")
17185 m_Rotation = property(_pcbnew.FP_3DMODEL_m_Rotation_get, _pcbnew.FP_3DMODEL_m_Rotation_set, doc=
r"""m_Rotation : FP_3DMODEL::VECTOR3D""")
17186 m_Offset = property(_pcbnew.FP_3DMODEL_m_Offset_get, _pcbnew.FP_3DMODEL_m_Offset_set, doc=
r"""m_Offset : FP_3DMODEL::VECTOR3D""")
17187 m_Opacity = property(_pcbnew.FP_3DMODEL_m_Opacity_get, _pcbnew.FP_3DMODEL_m_Opacity_set, doc=
r"""m_Opacity : double""")
17188 m_Filename = property(_pcbnew.FP_3DMODEL_m_Filename_get, _pcbnew.FP_3DMODEL_m_Filename_set, doc=
r"""m_Filename : wxString""")
17189 m_Show = property(_pcbnew.FP_3DMODEL_m_Show_get, _pcbnew.FP_3DMODEL_m_Show_set, doc=
r"""m_Show : bool""")
17190 __swig_destroy__ = _pcbnew.delete_FP_3DMODEL
17193_pcbnew.FP_3DMODEL_swigregister(FP_3DMODEL)
17196 r"""Proxy of C++ FP_3DMODEL::VECTOR3D class."""
17198 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17199 __repr__ = _swig_repr
17200 x = property(_pcbnew.VECTOR3D_x_get, _pcbnew.VECTOR3D_x_set, doc=
r"""x : double""")
17201 y = property(_pcbnew.VECTOR3D_y_get, _pcbnew.VECTOR3D_y_set, doc=
r"""y : double""")
17202 z = property(_pcbnew.VECTOR3D_z_get, _pcbnew.VECTOR3D_z_set, doc=
r"""z : double""")
17205 r"""__init__(VECTOR3D self) -> VECTOR3D"""
17206 _pcbnew.VECTOR3D_swiginit(self, _pcbnew.new_VECTOR3D())
17207 __swig_destroy__ = _pcbnew.delete_VECTOR3D
17210_pcbnew.VECTOR3D_swigregister(VECTOR3D)
17213 r"""Proxy of C++ FOOTPRINT class."""
17215 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17216 __repr__ = _swig_repr
17220 __init__(FOOTPRINT self, BOARD parent) -> FOOTPRINT
17221 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
17222 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
17224 _pcbnew.FOOTPRINT_swiginit(self, _pcbnew.new_FOOTPRINT(*args))
17225 __swig_destroy__ = _pcbnew.delete_FOOTPRINT
17229 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17230 return _pcbnew.FOOTPRINT_ClassOf(aItem)
17233 r"""AddNative(FOOTPRINT self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT)"""
17234 return _pcbnew.FOOTPRINT_AddNative(self, *args)
17237 r"""RemoveNative(FOOTPRINT self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
17238 return _pcbnew.FOOTPRINT_RemoveNative(self, *args)
17241 r"""ClearAllNets(FOOTPRINT self)"""
17242 return _pcbnew.FOOTPRINT_ClearAllNets(self)
17245 r"""FixUuids(FOOTPRINT self) -> bool"""
17246 return _pcbnew.FOOTPRINT_FixUuids(self)
17249 r"""GetFpPadsLocalBbox(FOOTPRINT self) -> EDA_RECT"""
17250 return _pcbnew.FOOTPRINT_GetFpPadsLocalBbox(self)
17253 r"""GetBoundingHull(FOOTPRINT self) -> SHAPE_POLY_SET"""
17254 return _pcbnew.FOOTPRINT_GetBoundingHull(self)
17259 GetBoundingBox(FOOTPRINT self, bool aIncludeText, bool aIncludeInvisibleText) -> EDA_RECT
17261 return _pcbnew.FOOTPRINT_GetBoundingBox(self, *args)
17264 r"""GetLayerSet(FOOTPRINT self) -> LSET"""
17265 return _pcbnew.FOOTPRINT_GetLayerSet(self)
17267 def Pads(self, *args) -> "PADS const &":
17269 Pads(FOOTPRINT self) -> PADS
17270 Pads(FOOTPRINT self) -> PADS
17272 return _pcbnew.FOOTPRINT_Pads(self, *args)
17279 return _pcbnew.FOOTPRINT_GraphicalItems(self, *args)
17281 def Zones(self, *args) -> "FP_ZONES const &":
17283 Zones(FOOTPRINT self) -> FP_ZONES
17284 Zones(FOOTPRINT self) -> FP_ZONES
17286 return _pcbnew.FOOTPRINT_Zones(self, *args)
17290 Groups(FOOTPRINT self) -> FP_GROUPS
17291 Groups(FOOTPRINT self) -> FP_GROUPS
17293 return _pcbnew.FOOTPRINT_Groups(self, *args)
17296 r"""HasThroughHolePads(FOOTPRINT self) -> bool"""
17297 return _pcbnew.FOOTPRINT_HasThroughHolePads(self)
17299 def Models(self, *args) -> "std::list< FP_3DMODEL,std::allocator< FP_3DMODEL > > const &
":
17301 Models(FOOTPRINT self) -> FP_3DMODEL_List
17302 Models(FOOTPRINT self) -> FP_3DMODEL_List
17304 return _pcbnew.FOOTPRINT_Models(self, *args)
17307 r"""SetPosition(FOOTPRINT self, wxPoint aPos)"""
17308 return _pcbnew.FOOTPRINT_SetPosition(self, aPos)
17311 r"""GetPosition(FOOTPRINT self) -> wxPoint"""
17312 return _pcbnew.FOOTPRINT_GetPosition(self)
17315 r"""SetOrientation(FOOTPRINT self, double aNewAngle)"""
17316 return _pcbnew.FOOTPRINT_SetOrientation(self, aNewAngle)
17319 r"""SetOrientationDegrees(FOOTPRINT self, double aOrientation)"""
17320 return _pcbnew.FOOTPRINT_SetOrientationDegrees(self, aOrientation)
17323 r"""GetOrientation(FOOTPRINT self) -> double"""
17324 return _pcbnew.FOOTPRINT_GetOrientation(self)
17327 r"""GetOrientationDegrees(FOOTPRINT self) -> double"""
17328 return _pcbnew.FOOTPRINT_GetOrientationDegrees(self)
17331 r"""GetOrientationRadians(FOOTPRINT self) -> double"""
17332 return _pcbnew.FOOTPRINT_GetOrientationRadians(self)
17335 r"""GetFPID(FOOTPRINT self) -> LIB_ID"""
17336 return _pcbnew.FOOTPRINT_GetFPID(self)
17339 r"""SetFPID(FOOTPRINT self, LIB_ID aFPID)"""
17340 return _pcbnew.FOOTPRINT_SetFPID(self, aFPID)
17343 r"""GetFPIDAsString(FOOTPRINT self) -> wxString"""
17344 return _pcbnew.FOOTPRINT_GetFPIDAsString(self)
17347 r"""SetFPIDAsString(FOOTPRINT self, wxString aFPID)"""
17348 return _pcbnew.FOOTPRINT_SetFPIDAsString(self, aFPID)
17351 r"""GetDescription(FOOTPRINT self) -> wxString"""
17352 return _pcbnew.FOOTPRINT_GetDescription(self)
17355 r"""SetDescription(FOOTPRINT self, wxString aDoc)"""
17356 return _pcbnew.FOOTPRINT_SetDescription(self, aDoc)
17359 r"""GetKeywords(FOOTPRINT self) -> wxString"""
17360 return _pcbnew.FOOTPRINT_GetKeywords(self)
17363 r"""SetKeywords(FOOTPRINT self, wxString aKeywords)"""
17364 return _pcbnew.FOOTPRINT_SetKeywords(self, aKeywords)
17367 r"""GetPath(FOOTPRINT self) -> KIID_PATH"""
17368 return _pcbnew.FOOTPRINT_GetPath(self)
17371 r"""SetPath(FOOTPRINT self, KIID_PATH aPath)"""
17372 return _pcbnew.FOOTPRINT_SetPath(self, aPath)
17375 r"""GetLocalSolderMaskMargin(FOOTPRINT self) -> int"""
17376 return _pcbnew.FOOTPRINT_GetLocalSolderMaskMargin(self)
17379 r"""SetLocalSolderMaskMargin(FOOTPRINT self, int aMargin)"""
17380 return _pcbnew.FOOTPRINT_SetLocalSolderMaskMargin(self, aMargin)
17383 r"""SetLocalClearance(FOOTPRINT self, int aClearance)"""
17384 return _pcbnew.FOOTPRINT_SetLocalClearance(self, aClearance)
17391 return _pcbnew.FOOTPRINT_GetLocalClearance(self, *args)
17394 r"""GetLocalSolderPasteMargin(FOOTPRINT self) -> int"""
17395 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMargin(self)
17398 r"""SetLocalSolderPasteMargin(FOOTPRINT self, int aMargin)"""
17399 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMargin(self, aMargin)
17402 r"""GetLocalSolderPasteMarginRatio(FOOTPRINT self) -> double"""
17403 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMarginRatio(self)
17406 r"""SetLocalSolderPasteMarginRatio(FOOTPRINT self, double aRatio)"""
17407 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMarginRatio(self, aRatio)
17410 r"""SetZoneConnection(FOOTPRINT self, ZONE_CONNECTION aType)"""
17411 return _pcbnew.FOOTPRINT_SetZoneConnection(self, aType)
17414 r"""GetZoneConnection(FOOTPRINT self) -> ZONE_CONNECTION"""
17415 return _pcbnew.FOOTPRINT_GetZoneConnection(self)
17418 r"""SetThermalWidth(FOOTPRINT self, int aWidth)"""
17419 return _pcbnew.FOOTPRINT_SetThermalWidth(self, aWidth)
17422 r"""GetThermalWidth(FOOTPRINT self) -> int"""
17423 return _pcbnew.FOOTPRINT_GetThermalWidth(self)
17426 r"""SetThermalGap(FOOTPRINT self, int aGap)"""
17427 return _pcbnew.FOOTPRINT_SetThermalGap(self, aGap)
17430 r"""GetThermalGap(FOOTPRINT self) -> int"""
17431 return _pcbnew.FOOTPRINT_GetThermalGap(self)
17434 r"""GetAttributes(FOOTPRINT self) -> int"""
17435 return _pcbnew.FOOTPRINT_GetAttributes(self)
17438 r"""SetAttributes(FOOTPRINT self, int aAttributes)"""
17439 return _pcbnew.FOOTPRINT_SetAttributes(self, aAttributes)
17442 r"""SetFlag(FOOTPRINT self, int aFlag)"""
17443 return _pcbnew.FOOTPRINT_SetFlag(self, aFlag)
17446 r"""IncrementFlag(FOOTPRINT self)"""
17447 return _pcbnew.FOOTPRINT_IncrementFlag(self)
17450 r"""GetFlag(FOOTPRINT self) -> int"""
17451 return _pcbnew.FOOTPRINT_GetFlag(self)
17454 r"""IsNetTie(FOOTPRINT self) -> bool"""
17455 return _pcbnew.FOOTPRINT_IsNetTie(self)
17458 r"""GetLikelyAttribute(FOOTPRINT self) -> int"""
17459 return _pcbnew.FOOTPRINT_GetLikelyAttribute(self)
17461 def Move(self, aMoveVector:
"wxPoint") ->
"void":
17462 r"""Move(FOOTPRINT self, wxPoint aMoveVector)"""
17463 return _pcbnew.FOOTPRINT_Move(self, aMoveVector)
17465 def Rotate(self, aRotCentre:
"wxPoint", aAngle:
"double") ->
"void":
17466 r"""Rotate(FOOTPRINT self, wxPoint aRotCentre, double aAngle)"""
17467 return _pcbnew.FOOTPRINT_Rotate(self, aRotCentre, aAngle)
17469 def Flip(self, aCentre:
"wxPoint", aFlipLeftRight:
"bool") ->
"void":
17470 r"""Flip(FOOTPRINT self, wxPoint aCentre, bool aFlipLeftRight)"""
17471 return _pcbnew.FOOTPRINT_Flip(self, aCentre, aFlipLeftRight)
17474 r"""MoveAnchorPosition(FOOTPRINT self, wxPoint aMoveVector)"""
17475 return _pcbnew.FOOTPRINT_MoveAnchorPosition(self, aMoveVector)
17478 r"""IsFlipped(FOOTPRINT self) -> bool"""
17479 return _pcbnew.FOOTPRINT_IsFlipped(self)
17482 r"""IsOnLayer(FOOTPRINT self, PCB_LAYER_ID aLayer) -> bool"""
17483 return _pcbnew.FOOTPRINT_IsOnLayer(self, aLayer)
17486 r"""IsLocked(FOOTPRINT self) -> bool"""
17487 return _pcbnew.FOOTPRINT_IsLocked(self)
17490 r"""SetLocked(FOOTPRINT self, bool isLocked)"""
17491 return _pcbnew.FOOTPRINT_SetLocked(self, isLocked)
17494 r"""IsPlaced(FOOTPRINT self) -> bool"""
17495 return _pcbnew.FOOTPRINT_IsPlaced(self)
17498 r"""SetIsPlaced(FOOTPRINT self, bool isPlaced)"""
17499 return _pcbnew.FOOTPRINT_SetIsPlaced(self, isPlaced)
17502 r"""NeedsPlaced(FOOTPRINT self) -> bool"""
17503 return _pcbnew.FOOTPRINT_NeedsPlaced(self)
17506 r"""SetNeedsPlaced(FOOTPRINT self, bool needsPlaced)"""
17507 return _pcbnew.FOOTPRINT_SetNeedsPlaced(self, needsPlaced)
17510 r"""LegacyPadsLocked(FOOTPRINT self) -> bool"""
17511 return _pcbnew.FOOTPRINT_LegacyPadsLocked(self)
17514 r"""SetLastEditTime(FOOTPRINT self, timestamp_t aTime)"""
17515 return _pcbnew.FOOTPRINT_SetLastEditTime(self, aTime)
17518 r"""GetLastEditTime(FOOTPRINT self) -> timestamp_t"""
17519 return _pcbnew.FOOTPRINT_GetLastEditTime(self)
17522 r"""CheckFootprintAttributes(FOOTPRINT self, std::function< void (wxString const &) > const * aErrorHandler)"""
17523 return _pcbnew.FOOTPRINT_CheckFootprintAttributes(self, aErrorHandler)
17526 r"""CheckFootprintTHPadNoHoles(FOOTPRINT self, std::function< void (wxString const &,wxPoint const &) > const * aErrorHandler)"""
17527 return _pcbnew.FOOTPRINT_CheckFootprintTHPadNoHoles(self, aErrorHandler)
17529 def TransformPadsWithClearanceToPolygon(self, aCornerBuffer:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aClearance:
"int", aMaxError:
"int", aErrorLoc:
"ERROR_LOC", aSkipNPTHPadsWihNoCopper:
"bool"=
False, aSkipPlatedPads:
"bool"=
False, aSkipNonPlatedPads:
"bool"=
False) ->
"void":
17530 r"""TransformPadsWithClearanceToPolygon(FOOTPRINT self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearance, int aMaxError, ERROR_LOC aErrorLoc, bool aSkipNPTHPadsWihNoCopper=False, bool aSkipPlatedPads=False, bool aSkipNonPlatedPads=False)"""
17531 return _pcbnew.FOOTPRINT_TransformPadsWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearance, aMaxError, aErrorLoc, aSkipNPTHPadsWihNoCopper, aSkipPlatedPads, aSkipNonPlatedPads)
17533 def TransformFPShapesWithClearanceToPolygon(self, aCornerBuffer:
"SHAPE_POLY_SET", aLayer:
"PCB_LAYER_ID", aClearance:
"int", aError:
"int", aErrorLoc:
"ERROR_LOC", aIncludeText:
"bool"=
True, aIncludeShapes:
"bool"=
True) ->
"void":
17534 r"""TransformFPShapesWithClearanceToPolygon(FOOTPRINT self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc, bool aIncludeText=True, bool aIncludeShapes=True)"""
17535 return _pcbnew.FOOTPRINT_TransformFPShapesWithClearanceToPolygon(self, aCornerBuffer, aLayer, aClearance, aError, aErrorLoc, aIncludeText, aIncludeShapes)
17538 r"""TransformFPTextWithClearanceToPolygonSet(FOOTPRINT self, SHAPE_POLY_SET aCornerBuffer, PCB_LAYER_ID aLayer, int aClearance, int aError, ERROR_LOC aErrorLoc)"""
17539 return _pcbnew.FOOTPRINT_TransformFPTextWithClearanceToPolygonSet(self, aCornerBuffer, aLayer, aClearance, aError, aErrorLoc)
17542 r"""GetContextualTextVars(FOOTPRINT self, wxArrayString * aVars)"""
17543 return _pcbnew.FOOTPRINT_GetContextualTextVars(self, aVars)
17546 r"""ResolveTextVar(FOOTPRINT self, wxString token, int aDepth=0) -> bool"""
17547 return _pcbnew.FOOTPRINT_ResolveTextVar(self, token, aDepth)
17549 def GetMsgPanelInfo(self, aFrame:
"EDA_DRAW_FRAME *", aList:
"std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &") ->
"void":
17550 r"""GetMsgPanelInfo(FOOTPRINT self, EDA_DRAW_FRAME * aFrame, std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > & aList)"""
17551 return _pcbnew.FOOTPRINT_GetMsgPanelInfo(self, aFrame, aList)
17554 r"""HitTestAccurate(FOOTPRINT self, wxPoint aPosition, int aAccuracy=0) -> bool"""
17555 return _pcbnew.FOOTPRINT_HitTestAccurate(self, aPosition, aAccuracy)
17559 HitTest(FOOTPRINT self, wxPoint aPosition, int aAccuracy=0) -> bool
17560 HitTest(FOOTPRINT self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
17562 return _pcbnew.FOOTPRINT_HitTest(self, *args)
17565 r"""GetReference(FOOTPRINT self) -> wxString"""
17566 return _pcbnew.FOOTPRINT_GetReference(self)
17569 r"""SetReference(FOOTPRINT self, wxString aReference)"""
17570 return _pcbnew.FOOTPRINT_SetReference(self, aReference)
17573 r"""IncrementReference(FOOTPRINT self, int aDelta)"""
17574 return _pcbnew.FOOTPRINT_IncrementReference(self, aDelta)
17577 r"""GetValue(FOOTPRINT self) -> wxString"""
17578 return _pcbnew.FOOTPRINT_GetValue(self)
17581 r"""SetValue(FOOTPRINT self, wxString aValue)"""
17582 return _pcbnew.FOOTPRINT_SetValue(self, aValue)
17586 Value(FOOTPRINT self) -> FP_TEXT
17587 Value(FOOTPRINT self) -> FP_TEXT
17589 return _pcbnew.FOOTPRINT_Value(self, *args)
17596 return _pcbnew.FOOTPRINT_Reference(self, *args)
17598 def GetPropertiesNative(self) -> "std::map< wxString,wxString,std::less< wxString >,std::allocator< std::pair< wxString const,wxString > > > const &
":
17599 r"""GetPropertiesNative(FOOTPRINT self) -> MAP_STRING_STRING"""
17600 return _pcbnew.FOOTPRINT_GetPropertiesNative(self)
17603 r"""SetPropertiesNative(FOOTPRINT self, MAP_STRING_STRING aProps)"""
17604 return _pcbnew.FOOTPRINT_SetPropertiesNative(self, aProps)
17607 r"""GetPropertyNative(FOOTPRINT self, wxString aKey) -> wxString"""
17608 return _pcbnew.FOOTPRINT_GetPropertyNative(self, aKey)
17611 r"""HasProperty(FOOTPRINT self, wxString aKey) -> bool"""
17612 return _pcbnew.FOOTPRINT_HasProperty(self, aKey)
17615 r"""SetProperty(FOOTPRINT self, wxString aKey, wxString aVal)"""
17616 return _pcbnew.FOOTPRINT_SetProperty(self, aKey, aVal)
17619 r"""FindPadByNumber(FOOTPRINT self, wxString aPadNumber, PAD aSearchAfterMe=None) -> PAD"""
17620 return _pcbnew.FOOTPRINT_FindPadByNumber(self, aPadNumber, aSearchAfterMe)
17623 r"""GetPad(FOOTPRINT self, wxPoint aPosition, LSET aLayerMask=LSET::AllLayersMask()) -> PAD"""
17624 return _pcbnew.FOOTPRINT_GetPad(self, *args)
17627 r"""GetTopLeftPad(FOOTPRINT self) -> PAD"""
17628 return _pcbnew.FOOTPRINT_GetTopLeftPad(self)
17631 r"""GetPadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
17632 return _pcbnew.FOOTPRINT_GetPadCount(self, *args)
17635 r"""GetUniquePadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
17636 return _pcbnew.FOOTPRINT_GetUniquePadCount(self, *args)
17639 r"""GetNextPadNumber(FOOTPRINT self, wxString aLastPadName) -> wxString"""
17640 return _pcbnew.FOOTPRINT_GetNextPadNumber(self, aLastPadName)
17643 r"""GetTypeName(FOOTPRINT self) -> wxString"""
17644 return _pcbnew.FOOTPRINT_GetTypeName(self)
17647 r"""GetArea(FOOTPRINT self, int aPadding=0) -> double"""
17648 return _pcbnew.FOOTPRINT_GetArea(self, aPadding)
17651 r"""GetLink(FOOTPRINT self) -> KIID"""
17652 return _pcbnew.FOOTPRINT_GetLink(self)
17655 r"""SetLink(FOOTPRINT self, KIID aLink)"""
17656 return _pcbnew.FOOTPRINT_SetLink(self, aLink)
17659 r"""GetPlacementCost180(FOOTPRINT self) -> int"""
17660 return _pcbnew.FOOTPRINT_GetPlacementCost180(self)
17663 r"""SetPlacementCost180(FOOTPRINT self, int aCost)"""
17664 return _pcbnew.FOOTPRINT_SetPlacementCost180(self, aCost)
17667 r"""GetPlacementCost90(FOOTPRINT self) -> int"""
17668 return _pcbnew.FOOTPRINT_GetPlacementCost90(self)
17671 r"""SetPlacementCost90(FOOTPRINT self, int aCost)"""
17672 return _pcbnew.FOOTPRINT_SetPlacementCost90(self, aCost)
17675 r"""Duplicate(FOOTPRINT self) -> BOARD_ITEM"""
17676 return _pcbnew.FOOTPRINT_Duplicate(self)
17678 def DuplicateItem(self, aItem:
"BOARD_ITEM", aAddToFootprint:
"bool"=
False) ->
"BOARD_ITEM *":
17679 r"""DuplicateItem(FOOTPRINT self, BOARD_ITEM aItem, bool aAddToFootprint=False) -> BOARD_ITEM"""
17680 return _pcbnew.FOOTPRINT_DuplicateItem(self, aItem, aAddToFootprint)
17683 r"""Add3DModel(FOOTPRINT self, FP_3DMODEL a3DModel)"""
17684 return _pcbnew.FOOTPRINT_Add3DModel(self, a3DModel)
17686 def Visit(self, inspector:
"INSPECTOR", testData:
"void *", scanTypes:
"KICAD_T const []") ->
"SEARCH_RESULT":
17687 r"""Visit(FOOTPRINT self, INSPECTOR inspector, void * testData, KICAD_T const [] scanTypes) -> SEARCH_RESULT"""
17688 return _pcbnew.FOOTPRINT_Visit(self, inspector, testData, scanTypes)
17691 r"""GetClass(FOOTPRINT self) -> wxString"""
17692 return _pcbnew.FOOTPRINT_GetClass(self)
17695 r"""GetSelectMenuText(FOOTPRINT self, EDA_UNITS aUnits) -> wxString"""
17696 return _pcbnew.FOOTPRINT_GetSelectMenuText(self, aUnits)
17699 r"""GetMenuImage(FOOTPRINT self) -> BITMAPS"""
17700 return _pcbnew.FOOTPRINT_GetMenuImage(self)
17703 r"""Clone(FOOTPRINT self) -> EDA_ITEM"""
17704 return _pcbnew.FOOTPRINT_Clone(self)
17706 def RunOnChildren(self, aFunction:
"std::function< void (BOARD_ITEM *) > const &") ->
"void":
17707 r"""RunOnChildren(FOOTPRINT self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
17708 return _pcbnew.FOOTPRINT_RunOnChildren(self, aFunction)
17711 r"""GetAllDrawingLayers(FOOTPRINT self, int [] aLayers, int & aCount, bool aIncludePads=True)"""
17712 return _pcbnew.FOOTPRINT_GetAllDrawingLayers(self, aLayers, aCount, aIncludePads)
17715 r"""ViewGetLayers(FOOTPRINT self, int [] aLayers, int & aCount)"""
17716 return _pcbnew.FOOTPRINT_ViewGetLayers(self, aLayers, aCount)
17718 def ViewGetLOD(self, aLayer:
"int", aView:
"KIGFX::VIEW *") ->
"double":
17719 r"""ViewGetLOD(FOOTPRINT self, int aLayer, KIGFX::VIEW * aView) -> double"""
17720 return _pcbnew.FOOTPRINT_ViewGetLOD(self, aLayer, aView)
17723 r"""ViewBBox(FOOTPRINT self) -> BOX2I const"""
17724 return _pcbnew.FOOTPRINT_ViewBBox(self)
17728 r"""IsLibNameValid(wxString aName) -> bool"""
17729 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
17733 r"""StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
17734 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
17737 r"""SetInitialComments(FOOTPRINT self, wxArrayString * aInitialComments)"""
17738 return _pcbnew.FOOTPRINT_SetInitialComments(self, aInitialComments)
17741 r"""CoverageRatio(FOOTPRINT self, GENERAL_COLLECTOR const & aCollector) -> double"""
17742 return _pcbnew.FOOTPRINT_CoverageRatio(self, aCollector)
17745 def GetCoverageArea(aItem:
"BOARD_ITEM", aCollector:
"GENERAL_COLLECTOR const &") ->
"double":
17746 r"""GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
17747 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
17750 r"""GetInitialComments(FOOTPRINT self) -> wxArrayString const *"""
17751 return _pcbnew.FOOTPRINT_GetInitialComments(self)
17754 r"""GetCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
17755 return _pcbnew.FOOTPRINT_GetCourtyard(self, aLayer)
17758 r"""BuildCourtyardCaches(FOOTPRINT self, OUTLINE_ERROR_HANDLER * aErrorHandler=None)"""
17759 return _pcbnew.FOOTPRINT_BuildCourtyardCaches(self, aErrorHandler)
17762 r"""GetEffectiveShape(FOOTPRINT self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER, FLASHING aFlash=DEFAULT) -> std::shared_ptr< SHAPE >"""
17763 return _pcbnew.FOOTPRINT_GetEffectiveShape(self, *args)
17766 r"""SwapData(FOOTPRINT self, BOARD_ITEM aImage)"""
17767 return _pcbnew.FOOTPRINT_SwapData(self, aImage)
17779 """ Returns footprint properties map. """
17781 return {str(k): str(v)
for k, v
in properties.items()}
17784 """ Returns property with a given key if it exists, throws KeyError otherwise. """
17788 raise KeyError(
"Property not found: " + key)
17791 """ Sets footprint properties map. """
17793 for k, v
in properties.items():
17794 wxproperties[k] = v
17800_pcbnew.FOOTPRINT_swigregister(FOOTPRINT)
17803 r"""FOOTPRINT_ClassOf(EDA_ITEM aItem) -> bool"""
17804 return _pcbnew.FOOTPRINT_ClassOf(aItem)
17805FP_is_LOCKED = _pcbnew.FP_is_LOCKED
17807FP_is_PLACED = _pcbnew.FP_is_PLACED
17809FP_to_PLACE = _pcbnew.FP_to_PLACE
17811FP_PADS_are_LOCKED = _pcbnew.FP_PADS_are_LOCKED
17815 r"""FOOTPRINT_IsLibNameValid(wxString aName) -> bool"""
17816 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
17819 r"""FOOTPRINT_StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
17820 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
17823 r"""FOOTPRINT_GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
17824 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
17827 r"""Proxy of C++ FOOTPRINT::cmp_drawings class."""
17829 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17830 __repr__ = _swig_repr
17832 def __call__(self, aFirst:
"BOARD_ITEM", aSecond:
"BOARD_ITEM") ->
"bool":
17833 r"""__call__(cmp_drawings self, BOARD_ITEM aFirst, BOARD_ITEM aSecond) -> bool"""
17834 return _pcbnew.cmp_drawings___call__(self, aFirst, aSecond)
17837 r"""__init__(cmp_drawings self) -> cmp_drawings"""
17838 _pcbnew.cmp_drawings_swiginit(self, _pcbnew.new_cmp_drawings())
17839 __swig_destroy__ = _pcbnew.delete_cmp_drawings
17842_pcbnew.cmp_drawings_swigregister(cmp_drawings)
17845 r"""Proxy of C++ FOOTPRINT::cmp_pads class."""
17847 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17848 __repr__ = _swig_repr
17850 def __call__(self, aFirst:
"PAD", aSecond:
"PAD") ->
"bool":
17851 r"""__call__(cmp_pads self, PAD aFirst, PAD aSecond) -> bool"""
17852 return _pcbnew.cmp_pads___call__(self, aFirst, aSecond)
17855 r"""__init__(cmp_pads self) -> cmp_pads"""
17856 _pcbnew.cmp_pads_swiginit(self, _pcbnew.new_cmp_pads())
17857 __swig_destroy__ = _pcbnew.delete_cmp_pads
17860_pcbnew.cmp_pads_swigregister(cmp_pads)
17863 r"""Proxy of C++ std::list< FP_3DMODEL > class."""
17865 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
17866 __repr__ = _swig_repr
17869 r"""iterator(FP_3DMODEL_List self) -> SwigPyIterator"""
17870 return _pcbnew.FP_3DMODEL_List_iterator(self)
17875 r"""__nonzero__(FP_3DMODEL_List self) -> bool"""
17876 return _pcbnew.FP_3DMODEL_List___nonzero__(self)
17879 r"""__bool__(FP_3DMODEL_List self) -> bool"""
17880 return _pcbnew.FP_3DMODEL_List___bool__(self)
17882 def __len__(self) -> "std::list< FP_3DMODEL >::size_type
":
17883 r"""__len__(FP_3DMODEL_List self) -> std::list< FP_3DMODEL >::size_type"""
17884 return _pcbnew.FP_3DMODEL_List___len__(self)
17886 def __getslice__(self, i:
"std::list< FP_3DMODEL >::difference_type", j:
"std::list< FP_3DMODEL >::difference_type") ->
"std::list< FP_3DMODEL,std::allocator< FP_3DMODEL > > *":
17887 r"""__getslice__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::difference_type i, std::list< FP_3DMODEL >::difference_type j) -> FP_3DMODEL_List"""
17888 return _pcbnew.FP_3DMODEL_List___getslice__(self, i, j)
17892 __setslice__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::difference_type i, std::list< FP_3DMODEL >::difference_type j)
17893 __setslice__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::difference_type i, std::list< FP_3DMODEL >::difference_type j, FP_3DMODEL_List v)
17895 return _pcbnew.FP_3DMODEL_List___setslice__(self, *args)
17897 def __delslice__(self, i:
"std::list< FP_3DMODEL >::difference_type", j:
"std::list< FP_3DMODEL >::difference_type") ->
"void":
17898 r"""__delslice__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::difference_type i, std::list< FP_3DMODEL >::difference_type j)"""
17899 return _pcbnew.FP_3DMODEL_List___delslice__(self, i, j)
17903 __delitem__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::difference_type i)
17904 __delitem__(FP_3DMODEL_List self, PySliceObject * slice)
17906 return _pcbnew.FP_3DMODEL_List___delitem__(self, *args)
17908 def __getitem__(self, *args) -> "std::list< FP_3DMODEL >::value_type const &
":
17910 __getitem__(FP_3DMODEL_List self, PySliceObject * slice) -> FP_3DMODEL_List
17911 __getitem__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::difference_type i) -> FP_3DMODEL
17913 return _pcbnew.FP_3DMODEL_List___getitem__(self, *args)
17917 __setitem__(FP_3DMODEL_List self, PySliceObject * slice, FP_3DMODEL_List v)
17918 __setitem__(FP_3DMODEL_List self, PySliceObject * slice)
17919 __setitem__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::difference_type i, FP_3DMODEL x)
17921 return _pcbnew.FP_3DMODEL_List___setitem__(self, *args)
17923 def pop(self) -> "std::list< FP_3DMODEL >::value_type
":
17924 r"""pop(FP_3DMODEL_List self) -> FP_3DMODEL"""
17925 return _pcbnew.FP_3DMODEL_List_pop(self)
17928 r"""append(FP_3DMODEL_List self, FP_3DMODEL x)"""
17929 return _pcbnew.FP_3DMODEL_List_append(self, x)
17932 r"""empty(FP_3DMODEL_List self) -> bool"""
17933 return _pcbnew.FP_3DMODEL_List_empty(self)
17935 def size(self) -> "std::list< FP_3DMODEL >::size_type
":
17936 r"""size(FP_3DMODEL_List self) -> std::list< FP_3DMODEL >::size_type"""
17937 return _pcbnew.FP_3DMODEL_List_size(self)
17939 def swap(self, v:
"FP_3DMODEL_List") ->
"void":
17940 r"""swap(FP_3DMODEL_List self, FP_3DMODEL_List v)"""
17941 return _pcbnew.FP_3DMODEL_List_swap(self, v)
17943 def begin(self) -> "std::list< FP_3DMODEL >::iterator
":
17944 r"""begin(FP_3DMODEL_List self) -> std::list< FP_3DMODEL >::iterator"""
17945 return _pcbnew.FP_3DMODEL_List_begin(self)
17947 def end(self) -> "std::list< FP_3DMODEL >::iterator
":
17948 r"""end(FP_3DMODEL_List self) -> std::list< FP_3DMODEL >::iterator"""
17949 return _pcbnew.FP_3DMODEL_List_end(self)
17951 def rbegin(self) -> "std::list< FP_3DMODEL >::reverse_iterator
":
17952 r"""rbegin(FP_3DMODEL_List self) -> std::list< FP_3DMODEL >::reverse_iterator"""
17953 return _pcbnew.FP_3DMODEL_List_rbegin(self)
17955 def rend(self) -> "std::list< FP_3DMODEL >::reverse_iterator
":
17956 r"""rend(FP_3DMODEL_List self) -> std::list< FP_3DMODEL >::reverse_iterator"""
17957 return _pcbnew.FP_3DMODEL_List_rend(self)
17960 r"""clear(FP_3DMODEL_List self)"""
17961 return _pcbnew.FP_3DMODEL_List_clear(self)
17964 r"""get_allocator(FP_3DMODEL_List self) -> std::list< FP_3DMODEL >::allocator_type"""
17965 return _pcbnew.FP_3DMODEL_List_get_allocator(self)
17968 r"""pop_back(FP_3DMODEL_List self)"""
17969 return _pcbnew.FP_3DMODEL_List_pop_back(self)
17971 def erase(self, *args) -> "std::list< FP_3DMODEL >::iterator
":
17973 erase(FP_3DMODEL_List self, std::list< FP_3DMODEL >::iterator pos) -> std::list< FP_3DMODEL >::iterator
17974 erase(FP_3DMODEL_List self, std::list< FP_3DMODEL >::iterator first, std::list< FP_3DMODEL >::iterator last) -> std::list< FP_3DMODEL >::iterator
17976 return _pcbnew.FP_3DMODEL_List_erase(self, *args)
17980 __init__(FP_3DMODEL_List self) -> FP_3DMODEL_List
17981 __init__(FP_3DMODEL_List self, FP_3DMODEL_List other) -> FP_3DMODEL_List
17982 __init__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::size_type size) -> FP_3DMODEL_List
17983 __init__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::size_type size, FP_3DMODEL value) -> FP_3DMODEL_List
17985 _pcbnew.FP_3DMODEL_List_swiginit(self, _pcbnew.new_FP_3DMODEL_List(*args))
17988 r"""push_back(FP_3DMODEL_List self, FP_3DMODEL x)"""
17989 return _pcbnew.FP_3DMODEL_List_push_back(self, x)
17991 def front(self) -> "std::list< FP_3DMODEL >::value_type const &
":
17992 r"""front(FP_3DMODEL_List self) -> FP_3DMODEL"""
17993 return _pcbnew.FP_3DMODEL_List_front(self)
17995 def back(self) -> "std::list< FP_3DMODEL >::value_type const &
":
17996 r"""back(FP_3DMODEL_List self) -> FP_3DMODEL"""
17997 return _pcbnew.FP_3DMODEL_List_back(self)
17999 def assign(self, n:
"std::list< FP_3DMODEL >::size_type", x:
"FP_3DMODEL") ->
"void":
18000 r"""assign(FP_3DMODEL_List self, std::list< FP_3DMODEL >::size_type n, FP_3DMODEL x)"""
18001 return _pcbnew.FP_3DMODEL_List_assign(self, n, x)
18005 resize(FP_3DMODEL_List self, std::list< FP_3DMODEL >::size_type new_size)
18006 resize(FP_3DMODEL_List self, std::list< FP_3DMODEL >::size_type new_size, FP_3DMODEL x)
18008 return _pcbnew.FP_3DMODEL_List_resize(self, *args)
18012 insert(FP_3DMODEL_List self, std::list< FP_3DMODEL >::iterator pos, FP_3DMODEL x) -> std::list< FP_3DMODEL >::iterator
18013 insert(FP_3DMODEL_List self, std::list< FP_3DMODEL >::iterator pos, std::list< FP_3DMODEL >::size_type n, FP_3DMODEL x)
18015 return _pcbnew.FP_3DMODEL_List_insert(self, *args)
18018 r"""pop_front(FP_3DMODEL_List self)"""
18019 return _pcbnew.FP_3DMODEL_List_pop_front(self)
18022 r"""push_front(FP_3DMODEL_List self, FP_3DMODEL x)"""
18023 return _pcbnew.FP_3DMODEL_List_push_front(self, x)
18026 r"""reverse(FP_3DMODEL_List self)"""
18027 return _pcbnew.FP_3DMODEL_List_reverse(self)
18028 __swig_destroy__ = _pcbnew.delete_FP_3DMODEL_List
18031_pcbnew.FP_3DMODEL_List_swigregister(FP_3DMODEL_List)
18035 plugin_type = IO_MGR.GuessPluginTypeFromLibPath( libname );
18036 return IO_MGR.PluginFind(plugin_type)
18040 return plug.FootprintEnumerate(libname)
18044 return plug.FootprintLoad(libname,name,preserveUUID)
18048 return plug.FootprintSave(libname,module)
18052 plug.FootprintDelete(libname,name)
18056 plug.FootprintLibCreate(libname)
18060 plug.FootprintLibDelete(libname)
18064 plug.FootprintLibIsWritable(libname)
18067 r"""Proxy of C++ PYTHON_FOOTPRINT_WIZARD_LIST class."""
18069 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18070 __repr__ = _swig_repr
18074 r"""register_wizard(PyObject * wizard)"""
18075 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
18079 r"""deregister_wizard(PyObject * wizard)"""
18080 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
18083 r"""__init__(PYTHON_FOOTPRINT_WIZARD_LIST self) -> PYTHON_FOOTPRINT_WIZARD_LIST"""
18084 _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swiginit(self, _pcbnew.new_PYTHON_FOOTPRINT_WIZARD_LIST())
18085 __swig_destroy__ = _pcbnew.delete_PYTHON_FOOTPRINT_WIZARD_LIST
18088_pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swigregister(PYTHON_FOOTPRINT_WIZARD_LIST)
18091 r"""PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(PyObject * wizard)"""
18092 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
18095 r"""PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(PyObject * wizard)"""
18096 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
18099 r"""Proxy of C++ PYTHON_ACTION_PLUGINS class."""
18101 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
18102 __repr__ = _swig_repr
18106 r"""register_action(PyObject * wizard)"""
18107 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
18111 r"""deregister_action(PyObject * wizard)"""
18112 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
18115 r"""__init__(PYTHON_ACTION_PLUGINS self) -> PYTHON_ACTION_PLUGINS"""
18116 _pcbnew.PYTHON_ACTION_PLUGINS_swiginit(self, _pcbnew.new_PYTHON_ACTION_PLUGINS())
18117 __swig_destroy__ = _pcbnew.delete_PYTHON_ACTION_PLUGINS
18120_pcbnew.PYTHON_ACTION_PLUGINS_swigregister(PYTHON_ACTION_PLUGINS)
18123 r"""PYTHON_ACTION_PLUGINS_register_action(PyObject * wizard)"""
18124 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
18127 r"""PYTHON_ACTION_PLUGINS_deregister_action(PyObject * wizard)"""
18128 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
18132 if type(iu)
in [int,float]:
18133 return float(iu) / float(IU_PER_MM)
18134 elif type(iu)
in [wxPoint,wxSize,VECTOR2I]:
18135 return tuple(map(ToMM,iu))
18137 raise TypeError(
"ToMM() excpects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(iu)))
18140 if type(mm)
in [int,float]:
18141 return int(float(mm) * float(IU_PER_MM))
18142 elif type(mm)
in [wxPoint,wxSize,VECTOR2I]:
18143 return tuple(map(FromMM,mm))
18145 raise TypeError(
"FromMM() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(mm)))
18148 if type(iu)
in [int,float]:
18149 return float(iu) / float(IU_PER_MILS)
18150 elif type(iu)
in [wxPoint,wxSize,VECTOR2I]:
18151 return tuple(map(ToMils,iu))
18153 raise TypeError(
"ToMils() excpects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(iu)))
18156 if type(mils)
in [int,float]:
18157 return int(float(mils)*float(IU_PER_MILS))
18158 elif type(mils)
in [wxPoint,wxSize,VECTOR2I]:
18159 return tuple(map(FromMils,mils))
18161 raise TypeError(
"FromMils() excpects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(
type(mils)))
18164 thresh =
FromMM(gridSizeMM)
18165 return round(value/thresh)*thresh
18169 return round(value/thresh)*thresh
18194 return wxRect(x,y,wx,wy)
18201 return wxRect(x,y,wx,wy)
18203KICAD_VERSION_FULL = _pcbnew.KICAD_VERSION_FULL
18205KICAD_SEMANTIC_VERSION = _pcbnew.KICAD_SEMANTIC_VERSION
18207KICAD_MAJOR_VERSION = _pcbnew.KICAD_MAJOR_VERSION
18209KICAD_MINOR_VERSION = _pcbnew.KICAD_MINOR_VERSION
18211KICAD_PATCH_VERSION = _pcbnew.KICAD_PATCH_VERSION
18213KICAD_MAJOR_MINOR_VERSION = _pcbnew.KICAD_MAJOR_MINOR_VERSION
18215KICAD_WIN32_RC_PRODVER_STR = _pcbnew.KICAD_WIN32_RC_PRODVER_STR
18217KICAD_WIN32_RC_FILEVER_STR = _pcbnew.KICAD_WIN32_RC_FILEVER_STR
18221 """Return the semantic version of KiCad"""
18222 return KICAD_SEMANTIC_VERSION
18225 """Return the full, git-based version of KiCad"""
18226 return KICAD_VERSION_FULL
def GetShowToolbarButton(self)
def GetIconFileName(self, dark)
def GetCategoryName(self)
def __init__(self, *args, **kwargs)
"int" GetLocalClearance(self, "wxString" aSource)
def __init__(self, *args, **kwargs)
"wxString" GetNetname(self)
"int" GetOwnClearance(self, "PCB_LAYER_ID" aLayer, "wxString" aSource=None)
"void" SetLocalRatsnestVisible(self, "bool" aVisible)
"wxString" GetShortNetname(self)
"void" SetNet(self, "NETINFO_ITEM" aNetInfo)
"NETCLASS *" GetEffectiveNetclass(self)
"bool" GetLocalRatsnestVisible(self)
"NETINFO_ITEM *" GetNet(self)
"bool" ClassOf("EDA_ITEM" aItem)
"int" GetLocalClearanceOverrides(self, "wxString" aSource)
"NETCLASS *" GetNetClass(self)
"void" SetNetCode(self, *args)
"wxString" GetNetnameMsg(self)
"wxString" GetNetClassName(self)
"int" GetBoardThickness(self)
"wxPoint const &" GetAuxOrigin(self)
"void" SetCopperEdgeClearance(self, "int" aDistance)
"SEVERITY" GetSeverity(self, "int" aDRCErrorCode)
"BOARD_STACKUP const &" GetStackupDescriptor(self, *args)
"ZONE_SETTINGS &" GetDefaultZoneSettings(self)
"int" GetCurrentViaSize(self)
"void" SetDefaultZoneSettings(self, "ZONE_SETTINGS" aSettings)
"int" GetCustomViaDrill(self)
"int" GetCustomDiffPairWidth(self)
"int" GetCustomDiffPairViaGap(self)
"unsigned int" GetDiffPairIndex(self)
"bool" IsLayerEnabled(self, "PCB_LAYER_ID" aLayerId)
"int" GetCurrentDiffPairWidth(self)
"int" GetSmallestClearanceValue(self)
"void" SetCustomDiffPairViaGap(self, "int" aGap)
"int" GetLineThickness(self, "PCB_LAYER_ID" aLayer)
"void" SetCustomDiffPairGap(self, "int" aGap)
"bool" Ignore(self, "int" aDRCErrorCode)
"void" CloneFrom(self, "BOARD_DESIGN_SETTINGS" aOther)
"NETCLASSES &" GetNetClasses(self)
"void" SetCustomViaSize(self, "int" aSize)
"int" GetCustomDiffPairGap(self)
"int" GetCurrentMicroViaSize(self)
"wxSize" GetTextSize(self, "PCB_LAYER_ID" aLayer)
"int" GetCurrentDiffPairGap(self)
"int" GetDRCEpsilon(self)
"int" GetCurrentMicroViaDrill(self)
"void" SetDiffPairIndex(self, "unsigned int" aIndex)
"bool" UseCustomDiffPairDimensions(self, *args)
"void" SetAuxOrigin(self, "wxPoint" aOrigin)
"LSET" GetEnabledLayers(self)
"int" GetBiggestClearanceValue(self)
"void" SetSilkClearance(self, "int" aDistance)
"int" GetCustomViaSize(self)
"unsigned int" GetTrackWidthIndex(self)
"int" GetCurrentDiffPairViaGap(self)
"bool" UseNetClassVia(self)
"wxString const &" GetCurrentNetClassName(self)
"int" GetCopperLayerCount(self)
"void" SetBoardThickness(self, "int" aThickness)
"void" SetNetClasses(self, "NETCLASSES" aNetClasses)
"int" GetLayerClass(self, "PCB_LAYER_ID" aLayer)
"bool" UseNetClassDiffPair(self)
"int" GetTextThickness(self, "PCB_LAYER_ID" aLayer)
"bool" UseNetClassTrack(self)
"wxPoint const &" GetGridOrigin(self)
"bool" LoadFromFile(self, *args)
"void" SetCustomTrackWidth(self, "int" aWidth)
"bool" GetTextUpright(self, "PCB_LAYER_ID" aLayer)
"NETCLASS *" GetDefault(self)
"int" GetCustomTrackWidth(self)
"void" SetTrackWidthIndex(self, "unsigned int" aIndex)
"int" GetHolePlatingThickness(self)
"int" GetCurrentTrackWidth(self)
"void" SetGridOrigin(self, "wxPoint" aOrigin)
"unsigned int" GetViaSizeIndex(self)
"bool" UseCustomTrackViaSize(self, *args)
"void" SetViaSizeIndex(self, "unsigned int" aIndex)
"void" SetCustomViaDrill(self, "int" aDrill)
"void" SetCustomDiffPairWidth(self, "int" aWidth)
"void" SetMinHoleSeparation(self, "int" aDistance)
def __init__(self, *args)
"int" GetCurrentViaDrill(self)
"void" SetEnabledLayers(self, "LSET" aMask)
"bool" GetTextItalic(self, "PCB_LAYER_ID" aLayer)
"void" SetCopperLayerCount(self, "int" aNewLayerCount)
"void" SetZoneSettings(self, "ZONE_SETTINGS" aSettings)
"ZONE_SETTINGS const &" GetZoneSettings(self)
"void" RemoveNative(self, *args)
"void" AddNative(self, *args)
"void" DeleteNative(self, "BOARD_ITEM" aItem)
def __init__(self, *args, **kwargs)
def SetStartEnd(self, start, end)
"BOARD *" GetBoard(self, *args)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"wxPoint" GetCenter(self)
"void" SetY(self, "int" aY)
def __init__(self, *args, **kwargs)
"bool" IsOnCopperLayer(self)
"BOARD_ITEM_CONTAINER *" GetParent(self)
"void" DeleteStructure(self)
"void" SetX(self, "int" aX)
"void" SwapData(self, "BOARD_ITEM" aImage)
"BOARD_ITEM *" Duplicate(self)
"void" SetParentGroup(self, "PCB_GROUP" aGroup)
"PCB_LAYER_ID" GetLayer(self)
"void" Rotate(self, *args)
"bool" IsOnLayer(self, "PCB_LAYER_ID" aLayer)
"BOARD_ITEM_CONTAINER *" GetParentFootprint(self)
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
"wxString" GetLayerName(self)
"void" SetLayerSet(self, "LSET" aLayers)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
"void" SetLocked(self, "bool" aLocked)
"void" SetLayer(self, "PCB_LAYER_ID" aLayer)
"PCB_GROUP *" GetParentGroup(self)
"void" OnBoardItemsAdded(self, "BOARD" aBoard, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aBoardItem)
"void" OnBoardItemRemoved(self, "BOARD" aBoard, "BOARD_ITEM" aBoardItem)
"void" OnBoardHighlightNetChanged(self, "BOARD" aBoard)
"void" OnBoardNetSettingsChanged(self, "BOARD" aBoard)
"void" OnBoardItemsRemoved(self, "BOARD" aBoard, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aBoardItem)
"void" OnBoardItemAdded(self, "BOARD" aBoard, "BOARD_ITEM" aBoardItem)
"void" OnBoardItemsChanged(self, "BOARD" aBoard, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aBoardItem)
"void" OnBoardItemChanged(self, "BOARD" aBoard, "BOARD_ITEM" aBoardItem)
"void" OnItemChanged(self, "BOARD_ITEM" aItem)
"LSET" GetEnabledLayers(self)
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const" AllConnectedItems(self)
"void" SetPosition(self, "wxPoint" aPos)
"void" RemoveNative(self, *args)
def GetNetsByNetcode(self)
"std::vector< PCB_MARKER *,std::allocator< PCB_MARKER * > >" ResolveDRCExclusions(self)
"void" SetVisibleLayers(self, "LSET" aLayerMask)
"bool" SetLayerType(self, "PCB_LAYER_ID" aLayer, "LAYER_T" aLayerType)
"void" SetFileFormatVersionAtLoad(self, "int" aVersion)
"std::vector< PAD *,std::allocator< PAD * > > const" GetPads(self)
"PAD *" GetPad(self, *args)
"bool" IsLayerVisible(self, "PCB_LAYER_ID" aLayer)
"wxString" ConvertKIIDsToCrossReferences(self, "wxString" aSource)
"FOOTPRINT *" GetFootprint(self, "wxPoint" aPosition, "PCB_LAYER_ID" aActiveLayer, "bool" aVisibleOnly, "bool" aIgnoreLocked=False)
"wxString const &" GetGenerator(self)
"void" SetBoardUse(self, "BOARD_USE" aUse)
"void" RemoveListener(self, "BOARD_LISTENER" aListener)
"EDA_RECT const" GetBoardEdgesBoundingBox(self)
"void" IncrementTimeStamp(self)
"void" HighLightON(self, "bool" aValue=True)
"PCB_PLOT_PARAMS const &" GetPlotOptions(self)
"void" FinalizeBulkRemove(self, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aRemovedItems)
"bool" IsLayerEnabled(self, "PCB_LAYER_ID" aLayer)
"EDA_RECT" ComputeBoundingBox(self, "bool" aBoardEdgesOnly=False)
"wxString" GetClass(self)
"BOARD_ITEM *" GetItem(self, "KIID" aID)
"void" SetVisibleAlls(self)
"PAD *" GetPadFast(self, "wxPoint" aPosition, "LSET" aLayerMask)
def GetAllNetClasses(self)
"std::shared_ptr< CONNECTIVITY_DATA >" GetConnectivity(self)
"ZONE *" GetArea(self, "int" index)
"std::vector< wxString,std::allocator< wxString > >" GetNetClassAssignmentCandidates(self)
"void" ResetNetHighLight(self)
"void" ClearProject(self)
"std::list< ZONE *,std::allocator< ZONE * > >" GetZoneList(self, "bool" aIncludeZonesInFootprints=False)
"void" MapNets(self, "BOARD" aDestBoard)
"FOOTPRINTS const &" Footprints(self, *args)
"bool" SetLayerName(self, "PCB_LAYER_ID" aLayer, "wxString" aLayerName)
"void" SanitizeNetcodes(self)
def __init__(self, *args, **kwargs)
"ZONES const &" Zones(self, *args)
"wxPoint" GetPosition(self)
"void" SetCopperLayerCount(self, "int" aCount)
"void" SetEnabledLayers(self, "LSET" aLayerMask)
"wxString" GroupsSanityCheckInternal(self, "bool" repair)
"void" GetSortedPadListByXthenYCoord(self, "PADS_VEC" aVector, "int" aNetCode=-1)
"unsigned int" GetUnconnectedNetCount(self)
"LSET" GetVisibleLayers(self)
"TRACKS const &" Tracks(self, *args)
"TRACKS" TracksInNet(self, "int" aNetCode)
"unsigned int" GetNodesCount(self, "int" aNet=-1)
"void" AddListener(self, "BOARD_LISTENER" aListener)
"NETINFO_ITEM *" FindNet(self, *args)
"wxString" GetStandardLayerName("PCB_LAYER_ID" aLayerId)
"bool" GetBoardPolygonOutlines(self, "SHAPE_POLY_SET" aOutlines, "OUTLINE_ERROR_HANDLER *" aErrorHandler=None)
"void" FillItemMap(self, "std::map< KIID,EDA_ITEM *,std::less< KIID >,std::allocator< std::pair< KIID const,EDA_ITEM * > > > &" aMap)
"void" SetFileName(self, "wxString" aFileName)
"GROUPS const &" Groups(self, *args)
"PCB_LAYER_ID const" GetLayerID(self, "wxString" aLayerName)
"std::tuple< int,double,double >" GetTrackLength(self, "PCB_TRACK" aTrack)
"void" SetElementVisibility(self, "GAL_LAYER_ID" aLayer, "bool" aNewState)
"void" SetPageSettings(self, "PAGE_INFO const &" aPageSettings)
"void" BuildListOfNets(self)
"void" SynchronizeNetsAndNetClasses(self)
"void" SetTitleBlock(self, "TITLE_BLOCK" aTitleBlock)
"PROJECT *" GetProject(self)
"PAGE_INFO const &" GetPageSettings(self)
"void" BuildConnectivity(self, "PROGRESS_REPORTER *" aReporter=None)
"void" SetGenerator(self, "wxString" aGenerator)
"NETINFO_LIST &" GetNetInfo(self, *args)
"bool" IsFootprintLayerVisible(self, "PCB_LAYER_ID" aLayer)
"LAYER_T" GetLayerType(self, "PCB_LAYER_ID" aLayer)
"bool" IsFootprintHolder(self)
"bool" SetLayerDescr(self, "PCB_LAYER_ID" aIndex, "LAYER" aLayer)
"int" GetCopperLayerCount(self)
"void" OnItemsChanged(self, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aItems)
def GetViasDimensionsList(self)
"bool" ResolveTextVar(self, "wxString" token, "int" aDepth)
"TITLE_BLOCK const &" GetTitleBlock(self, *args)
"void" DeleteAllFootprints(self)
"SEARCH_RESULT" Visit(self, "INSPECTOR" inspector, "void *" testData, "KICAD_T const []" scanTypes)
"std::map< wxString,wxString,std::less< wxString >,std::allocator< std::pair< wxString const,wxString > > > const &" GetProperties(self)
"void" HighLightOFF(self)
"MARKERS const &" Markers(self, *args)
"void" AddNative(self, *args)
"ZONE_SETTINGS const &" GetZoneSettings(self)
"void" PadDelete(self, "PAD" aPad)
"FOOTPRINT *" FindFootprintByPath(self, "KIID_PATH" aPath)
"void" ConvertBrdLayerToPolygonalContours(self, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aOutlines)
"bool" ClassOf("EDA_ITEM" aItem)
"void" ClearAllNetCodes(self)
"void" FinalizeBulkAdd(self, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aNewItems)
"GAL_SET" GetVisibleElements(self)
"void" Move(self, "wxPoint" aMoveVector)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"void" SetHighLightNet(self, "int" aNetCode, "bool" aMulti=False)
"FOOTPRINT *" GetFirstFootprint(self)
"ZONE *" AddArea(self, "PICKED_ITEMS_LIST *" aNewZonesList, "int" aNetcode, "PCB_LAYER_ID" aLayer, "wxPoint" aStartPointPosition, "ZONE_BORDER_DISPLAY_STYLE" aHatch)
"wxString const" GetLayerName(self, "PCB_LAYER_ID" aLayer)
"EDA_RECT const" GetBoundingBox(self)
def GetCurrentNetClassName(self)
"void" SetProject(self, "PROJECT *" aProject)
"bool" TestZoneIntersection(self, "ZONE" aZone1, "ZONE" aZone2)
"wxString" ConvertCrossReferencesToKIIDs(self, "wxString" aSource)
"BOARD_DESIGN_SETTINGS &" GetDesignSettings(self)
def GetNetcodeFromNetname(self, netname)
"void" SetVisibleElements(self, "GAL_SET" aMask)
"int" SetAreasNetCodesFromNetNames(self)
"void" SetZoneSettings(self, "ZONE_SETTINGS" aSettings)
"wxString" GroupsSanityCheck(self, "bool" repair=False)
def GetTrackWidthList(self)
"DRAWINGS const &" Drawings(self, *args)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"wxString const &" GetFileName(self)
"BOARD_USE" GetBoardUse(self)
"int" GetFileFormatVersionAtLoad(self)
"bool" IsHighLightNetON(self)
"unsigned int" GetNetCount(self)
"FOOTPRINT *" FindFootprintByReference(self, "wxString" aReference)
"void" DeleteMARKERs(self, *args)
"void" SetPlotOptions(self, "PCB_PLOT_PARAMS" aOptions)
"wxPoint const" GetFocusPosition(self)
"bool" IsElementVisible(self, "GAL_LAYER_ID" aLayer)
"std::set< int,std::less< int >,std::allocator< int > > const &" GetHighLightNetCodes(self)
"void" SynchronizeProperties(self)
"BOARD::GroupLegalOpsField" GroupLegalOps(self, "PCB_SELECTION const &" selection)
"void" SetProperties(self, "MAP_STRING_STRING" aProps)
def __init__(self, *args)
def __init__(self, "ZONE" aZone)
"KIGFX::COLOR4D" Darkened(self, "double" aFactor)
"KIGFX::COLOR4D &" Brighten(self, "double" aFactor)
"wxString" ToHexString(self)
"wxString" ToCSSString(self)
"unsigned int" ToU32(self)
"KIGFX::COLOR4D" Inverted(self)
"KIGFX::COLOR4D &" Darken(self, "double" aFactor)
"void" FromU32(self, "unsigned int" aPackedColor)
"wxColour" ToColour(self)
"double" Distance(self, "COLOR4D" other)
"void" ToHSV(self, "double &" aOutHue, "double &" aOutSaturation, "double &" aOutValue, "bool" aAlwaysDefineHue=False)
"KIGFX::COLOR4D &" Invert(self)
"double" GetBrightness(self)
"KIGFX::COLOR4D &" Saturate(self, "double" aFactor)
"bool" SetFromWxString(self, "wxString" aColorString)
"KIGFX::COLOR4D" Mix(self, "COLOR4D" aColor, "double" aFactor)
"KIGFX::COLOR4D &" FromCSSRGBA(self, "int" aRed, "int" aGreen, "int" aBlue, "double" aAlpha=1.0)
def __init__(self, *args)
"KIGFX::COLOR4D" WithAlpha(self, "double" aAlpha)
"void" FromHSL(self, "double" aInHue, "double" aInSaturation, "double" aInLightness)
"KIGFX::COLOR4D" LegacyMix(self, "COLOR4D" aColor)
"void" ToHSL(self, "double &" aOutHue, "double &" aOutSaturation, "double &" aOutValue)
"KIGFX::COLOR4D" Brightened(self, "double" aFactor)
"bool" SetFromHexString(self, "wxString" aColorString)
"void" FromHSV(self, "double" aInH, "double" aInS, "double" aInV)
"EDA_COLOR_T" FindNearestLegacyColor("int" aR, "int" aG, "int" aB)
"std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &" GetDynamicRatsnest(self)
"void" BlockRatsnestItems(self, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const &" aItems)
"unsigned int" GetUnconnectedCount(self)
"void" GetConnectedPads(self, *args)
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const" GetConnectedItemsAtAnchor(self, "BOARD_CONNECTED_ITEM" aItem, "VECTOR2I" aAnchor, "KICAD_T const []" aTypes, "int const &" aMaxError=0)
"std::vector< PCB_TRACK *,std::allocator< PCB_TRACK * > > const" GetConnectedTracks(self, "BOARD_CONNECTED_ITEM" aItem)
"void" Move(self, "VECTOR2I" aDelta)
"void" MarkItemNetAsDirty(self, "BOARD_ITEM" aItem)
"bool" IsConnectedOnLayer(self, *args)
"void" HideDynamicRatsnest(self)
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const" GetConnectedItems(self, "BOARD_CONNECTED_ITEM" aItem, "KICAD_T const []" aTypes, "bool" aIgnoreNetcodes=False)
"unsigned int" GetNodeCount(self, "int" aNet=-1)
"void" PropagateNets(self, *args)
"void" Build(self, *args)
"bool" Remove(self, "BOARD_ITEM" aItem)
"void" ComputeDynamicRatsnest(self, *args)
"bool" CheckConnectivity(self, "std::vector< CN_DISJOINT_NET_ENTRY,std::allocator< CN_DISJOINT_NET_ENTRY > > &" aReport)
"void" GetUnconnectedEdges(self, "std::vector< CN_EDGE,std::allocator< CN_EDGE > > &" aEdges)
"std::shared_ptr< FROM_TO_CACHE >" GetFromToCache(self)
"RN_NET *" GetRatsnestForNet(self, "int" aNet)
"void" ClearDynamicRatsnest(self)
"bool" Add(self, "BOARD_ITEM" aItem)
"void" SetProgressReporter(self, "PROGRESS_REPORTER *" aReporter)
"std::shared_ptr< CN_CONNECTIVITY_ALGO >" GetConnectivityAlgo(self)
"KISPINLOCK &" GetLock(self)
"void" FindIsolatedCopperIslands(self, *args)
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const" GetNetItems(self, "int" aNetCode, "KICAD_T const []" aTypes)
"std::map< int,wxString,std::less< int >,std::allocator< std::pair< int const,wxString > > > const &" GetNetclassMap(self)
"unsigned int" GetPadCount(self, "int" aNet=-1)
"bool" Update(self, "BOARD_ITEM" aItem)
"bool" TestTrackEndpointDangling(self, "PCB_TRACK" aTrack, "wxPoint" aPos=None)
def __init__(self, *args)
"void" RecalculateRatsnest(self, "BOARD_COMMIT *" aCommit=None)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"wxPoint" GetPosition(self)
"wxString" GetClass(self)
"DELETED_BOARD_ITEM *" GetInstance()
"void" SetPosition(self, "wxPoint" arg2)
def __init__(self, *args)
"bool" __eq__(self, "DIFF_PAIR_DIMENSION" aOther)
"bool" __lt__(self, "DIFF_PAIR_DIMENSION" aOther)
"std::deque< BOARD_ITEM * >::size_type" size(self)
"std::deque< BOARD_ITEM * >::value_type" __getitem__(self, *args)
"std::deque< BOARD_ITEM * >::value_type" front(self)
"std::deque< BOARD_ITEM * >::iterator" end(self)
"std::deque< BOARD_ITEM * >::size_type" __len__(self)
"void" __delslice__(self, "std::deque< BOARD_ITEM * >::difference_type" i, "std::deque< BOARD_ITEM * >::difference_type" j)
"std::deque< BOARD_ITEM * >::value_type" pop(self)
"std::deque< BOARD_ITEM * >::reverse_iterator" rbegin(self)
"void" assign(self, "std::deque< BOARD_ITEM * >::size_type" n, "BOARD_ITEM" x)
"void" __setslice__(self, *args)
"void" swap(self, "DRAWINGS" v)
"std::deque< BOARD_ITEM * >::iterator" erase(self, *args)
"std::deque< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > *" __getslice__(self, "std::deque< BOARD_ITEM * >::difference_type" i, "std::deque< BOARD_ITEM * >::difference_type" j)
"void" push_front(self, "BOARD_ITEM" x)
"void" resize(self, *args)
"void" __delitem__(self, *args)
"swig::SwigPyIterator *" iterator(self)
"std::deque< BOARD_ITEM * >::reverse_iterator" rend(self)
"std::deque< BOARD_ITEM * >::iterator" begin(self)
"void" __setitem__(self, *args)
"void" push_back(self, "BOARD_ITEM" x)
def __init__(self, *args)
"std::deque< BOARD_ITEM * >::allocator_type" get_allocator(self)
"std::deque< BOARD_ITEM * >::value_type" back(self)
"void" append(self, "BOARD_ITEM" x)
"void" insert(self, *args)
"wxString" GetPrecisionString(self)
def __init__(self, "int" l=2, "int" r=4)
"EDA_RECT const" GetBoundingBox(self)
def __init__(self, *args, **kwargs)
"void" SetBrightened(self)
"void" SetState(self, "EDA_ITEM_FLAGS" type, "bool" state)
"EDA_ITEM *" GetParent(self)
"void" ClearBrightened(self)
"BITMAPS" GetMenuImage(self)
"bool" Sort("EDA_ITEM" aLeft, "EDA_ITEM" aRight)
"bool" IsForceVisible(self)
"wxPoint" GetPosition(self)
"void" SetParent(self, "EDA_ITEM" aParent)
"bool" IsType(self, "KICAD_T const []" aScanTypes)
"void" ClearFlags(self, *args)
"void" SetStatus(self, "EDA_ITEM_FLAGS" aStatus)
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
"EDA_ITEM_FLAGS" GetFlags(self)
"void" ClearSelected(self)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"bool" HasFlag(self, "EDA_ITEM_FLAGS" aFlag)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"int" GetState(self, "EDA_ITEM_FLAGS" type)
"BOX2I const" ViewBBox(self)
"SEARCH_RESULT" Visit(self, "INSPECTOR" inspector, "void *" testData, "KICAD_T const []" scanTypes)
"EDA_ITEM_FLAGS" GetStatus(self)
"void" ClearEditFlags(self)
"bool" HitTest(self, *args)
"EDA_ITEM_FLAGS" GetEditFlags(self)
"void" SetWireImage(self)
"void" ClearTempFlags(self)
"bool" Replace(self, *args)
"void" SetForceVisible(self, "bool" aEnable)
"void" SetFlags(self, "EDA_ITEM_FLAGS" aMask)
"wxString" GetClass(self)
"wxPoint const" GetFocusPosition(self)
"bool" IsBrightened(self)
"bool" IsReplaceable(self)
"void" SetPosition(self, "wxPoint" aPos)
"bool" __lt__(self, "EDA_ITEM" aItem)
"void" SetY(self, "int" val)
"void" SetOrigin(self, *args)
"void" SetSize(self, *args)
"wxSize const" GetSize(self)
"EDA_RECT &" Inflate(self, *args)
"bool" Intersects(self, *args)
"wxPoint const" ClosestPointTo(self, "wxPoint" aPoint)
"wxPoint const" GetOrigin(self)
"void" SetWidth(self, "int" val)
"void" Offset(self, *args)
"void" SetEnd(self, *args)
"bool" IntersectsCircleEdge(self, "wxPoint" aCenter, "int const" aRadius, "int const" aWidth)
"void" Merge(self, *args)
"EDA_RECT" Common(self, "EDA_RECT" aRect)
"wxPoint const" GetEnd(self)
"wxPoint const" GetPosition(self)
"void" SetHeight(self, "int" val)
"void" Move(self, "wxPoint" aMoveVector)
"void" SetX(self, "int" val)
"EDA_RECT const" GetBoundingBoxRotated(self, "wxPoint" aRotCenter, "double" aAngle)
def __init__(self, *args)
"bool" Contains(self, *args)
"bool" IntersectsCircle(self, "wxPoint" aCenter, "int const" aRadius)
"wxPoint const" GetCenter(self)
"wxPoint const" FarthestPointTo(self, "wxPoint" aPoint)
"void" SetWidth(self, "int" aWidth)
"void" RebuildBezierToSegmentsPointsList(self, "int" aMinSegLen)
"void" SetStart(self, "wxPoint" aStart)
"void" SetEndY(self, "int" y)
"std::vector< wxPoint,std::allocator< wxPoint > > const &" GetBezierPoints(self)
"wxPoint const &" GetBezierC2(self)
"wxPoint" GetArcMid(self)
"void" SetFillMode(self, "FILL_T" aFill)
"void" SetEndX(self, "int" x)
"void" SetPolyPoints(self, "wxPoint_Vector" aPoints)
"void" SetFilled(self, "bool" aFlag)
"bool" IsPolyShapeValid(self)
"void" SetStartX(self, "int" x)
"void" SetStartY(self, "int" y)
"void" SetArcGeometry(self, "wxPoint" aStart, "wxPoint" aMid, "wxPoint" aEnd)
"void" SetBezierC1(self, "wxPoint" aPt)
"void" DupPolyPointsList(self, "wxPoint_Vector" aBuffer)
"void" CalcArcAngles(self, "double &" aStartAngle, "double &" aEndAngle)
"wxPoint const &" GetStart(self)
"wxString" SHAPE_T_asString(self)
"int" Compare(self, "EDA_SHAPE" aOther)
"wxPoint const &" GetBezierC1(self)
"int" GetPointCount(self)
"void" SwapShape(self, "EDA_SHAPE" aImage)
"wxPoint const &" GetEnd(self)
"FILL_T" GetFillType(self)
"void" SetCenter(self, "wxPoint" aCenter)
"SHAPE_POLY_SET const &" GetPolyShape(self, *args)
"void" SetArcAngleAndEnd(self, "double" aAngle, "bool" aCheckNegativeAngle=False)
"wxString" ShowShape(self)
"void" ShapeGetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"void" SetShape(self, "SHAPE_T" aShape)
"std::vector< SHAPE *,std::allocator< SHAPE * > >" MakeEffectiveShapes(self)
"std::vector< wxPoint,std::allocator< wxPoint > >" GetRectCorners(self)
"double" GetArcAngle(self)
"void" SetCachedArcData(self, "wxPoint" aStart, "wxPoint" aMid, "wxPoint" aEnd, "wxPoint" aCenter)
"void" SetPolyShape(self, "SHAPE_POLY_SET" aShape)
"void" SetEnd(self, "wxPoint" aEnd)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth)
"void" SetBezierC2(self, "wxPoint" aPt)
def __init__(self, *args, **kwargs)
"void" SwapText(self, "EDA_TEXT" aTradingPartner)
"wxPoint const &" GetTextPos(self)
"void" SetMultilineAllowed(self, "bool" aAllow)
"void" SwapEffects(self, "EDA_TEXT" aTradingPartner)
"wxSize const &" GetTextSize(self)
"void" SetHorizJustify(self, "EDA_TEXT_HJUSTIFY_T" aType)
"void" GetLinePositions(self, "wxPoint_Vector" aPositions, "int" aLineCount)
"void" SetMirrored(self, "bool" isMirrored)
"EDA_TEXT_VJUSTIFY_T" MapVertJustify("int" aVertJustify)
"EDA_TEXT_HJUSTIFY_T" GetDrawHorizJustify(self)
"int" GetTextThickness(self)
"EDA_TEXT_VJUSTIFY_T" GetVertJustify(self)
"void" Print(self, "RENDER_SETTINGS const *" aSettings, "wxPoint" aOffset, "COLOR4D" aColor, "OUTLINE_MODE" aDisplay_mode=FILLED)
"int" LenSize(self, "wxString" aLine, "int" aThickness)
"void" SetTextX(self, "int" aX)
"wxString" GetTextStyleName(self)
"EDA_RECT" GetTextBox(self, "int" aLine=-1, "bool" aInvertY=False)
"int" GetTextHeight(self)
"int" Compare(self, "EDA_TEXT" aOther)
"bool" Replace(self, "wxFindReplaceData const &" aSearchData)
"std::shared_ptr< SHAPE_COMPOUND >" GetEffectiveTextShape(self)
"void" Offset(self, "wxPoint" aOffset)
"void" SetTextThickness(self, "int" aWidth)
"double" GetTextAngleRadians(self)
"bool" TextHitTest(self, *args)
"void" SetTextPos(self, "wxPoint" aPoint)
"wxString" ShortenedShownText(self)
"double" GetDrawRotation(self)
"void" SetTextY(self, "int" aY)
"void" SetTextHeight(self, "int" aHeight)
"int" GetEffectiveTextPenWidth(self, "int" aDefaultWidth=0)
"double" GetTextAngleDegrees(self)
"EDA_TEXT_HJUSTIFY_T" MapHorizJustify("int" aHorizJustify)
"void" SetTextAngle(self, "double" aAngle)
"void" SetTextWidth(self, "int" aWidth)
"void" CopyText(self, "EDA_TEXT" aSrc)
"void" TransformBoundingBoxWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "int" aClearanceValue)
"bool" IsDefaultFormatting(self)
"void" SetItalic(self, "bool" isItalic)
"void" SetVertJustify(self, "EDA_TEXT_VJUSTIFY_T" aType)
"void" SetEffects(self, "EDA_TEXT" aSrc)
"double" GetTextAngle(self)
"wxPoint" GetDrawPos(self)
"std::vector< wxPoint,std::allocator< wxPoint > >" TransformToSegmentList(self)
"void" SetTextSize(self, "wxSize" aNewSize)
def __init__(self, *args)
"void" Format(self, "OUTPUTFORMATTER" aFormatter, "int" aNestLevel, "int" aControlBits)
"bool" IsMultilineAllowed(self)
"EDA_TEXT_HJUSTIFY_T" GetHorizJustify(self)
"EDA_TEXT_VJUSTIFY_T" GetDrawVertJustify(self)
"void" SetText(self, "wxString" aText)
"wxString const &" GetText(self)
"void" SetVisible(self, "bool" aVisible)
"wxString" GetShownText(self, "int" aDepth=0, "bool" aAllowExtraText=True)
"void" SetBold(self, "bool" aBold)
"void" CreateDrillandMapFilesSet(self, "wxString" aPlotDirectory, "bool" aGenDrill, "bool" aGenMap, "REPORTER *" aReporter=None)
"void" SetOptions(self, "bool" aMirror, "bool" aMinimalHeader, "wxPoint" aOffset, "bool" aMerge_PTH_NPTH)
"void" SetRouteModeForOvalHoles(self, "bool" aUseRouteModeForOvalHoles)
"wxPoint" GetOffset(self)
"void" SetFormat(self, *args)
def __init__(self, "BOARD" aPcb)
def __init__(self, *args)
"std::list< FP_3DMODEL >::value_type const &" front(self)
"std::list< FP_3DMODEL >::size_type" __len__(self)
"std::list< FP_3DMODEL >::value_type const &" __getitem__(self, *args)
"std::list< FP_3DMODEL >::allocator_type" get_allocator(self)
"std::list< FP_3DMODEL >::iterator" erase(self, *args)
"std::list< FP_3DMODEL >::size_type" size(self)
"std::list< FP_3DMODEL >::reverse_iterator" rbegin(self)
"swig::SwigPyIterator *" iterator(self)
"std::list< FP_3DMODEL >::iterator" end(self)
"void" push_back(self, "FP_3DMODEL" x)
def __init__(self, *args)
"void" __setitem__(self, *args)
"void" __delslice__(self, "std::list< FP_3DMODEL >::difference_type" i, "std::list< FP_3DMODEL >::difference_type" j)
"void" append(self, "FP_3DMODEL" x)
"void" __delitem__(self, *args)
"std::list< FP_3DMODEL >::iterator" begin(self)
"std::list< FP_3DMODEL,std::allocator< FP_3DMODEL > > *" __getslice__(self, "std::list< FP_3DMODEL >::difference_type" i, "std::list< FP_3DMODEL >::difference_type" j)
"std::list< FP_3DMODEL >::value_type const &" back(self)
"void" resize(self, *args)
"void" push_front(self, "FP_3DMODEL" x)
"void" swap(self, "FP_3DMODEL_List" v)
"void" assign(self, "std::list< FP_3DMODEL >::size_type" n, "FP_3DMODEL" x)
"void" __setslice__(self, *args)
"std::list< FP_3DMODEL >::reverse_iterator" rend(self)
"std::list< FP_3DMODEL >::value_type" pop(self)
"void" insert(self, *args)
"std::vector< PCB_GROUP * >::allocator_type" get_allocator(self)
"swig::SwigPyIterator *" iterator(self)
"std::vector< PCB_GROUP * >::value_type" front(self)
"std::vector< PCB_GROUP * >::iterator" end(self)
"void" __setslice__(self, *args)
"void" __delslice__(self, "std::vector< PCB_GROUP * >::difference_type" i, "std::vector< PCB_GROUP * >::difference_type" j)
"void" push_back(self, "PCB_GROUP" x)
"std::vector< PCB_GROUP * >::size_type" capacity(self)
"void" insert(self, *args)
"std::vector< PCB_GROUP * >::value_type" back(self)
"void" swap(self, "FP_GROUPS" v)
"void" append(self, "PCB_GROUP" x)
def __init__(self, *args)
"std::vector< PCB_GROUP * >::iterator" begin(self)
"std::vector< PCB_GROUP * >::size_type" size(self)
"std::vector< PCB_GROUP * >::reverse_iterator" rbegin(self)
"std::vector< PCB_GROUP *,std::allocator< PCB_GROUP * > > *" __getslice__(self, "std::vector< PCB_GROUP * >::difference_type" i, "std::vector< PCB_GROUP * >::difference_type" j)
"void" __delitem__(self, *args)
"std::vector< PCB_GROUP * >::size_type" __len__(self)
"void" reserve(self, "std::vector< PCB_GROUP * >::size_type" n)
"void" assign(self, "std::vector< PCB_GROUP * >::size_type" n, "PCB_GROUP" x)
"void" resize(self, *args)
"std::vector< PCB_GROUP * >::value_type" pop(self)
"std::vector< PCB_GROUP * >::value_type" __getitem__(self, *args)
"std::vector< PCB_GROUP * >::reverse_iterator" rend(self)
"void" __setitem__(self, *args)
"std::vector< PCB_GROUP * >::iterator" erase(self, *args)
"wxPoint" GetCenter0(self)
"void" SetLocalCoord(self)
"void" Move(self, "wxPoint" aMoveVector)
"void" SetCenter0(self, "wxPoint" aPt)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"wxPoint" GetArcMid0(self)
def __init__(self, *args)
"wxString" GetClass(self)
"void" SetStart0(self, "wxPoint" aPoint)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"wxPoint const &" GetEnd0(self)
"wxPoint const &" GetStart0(self)
"wxString" GetParentAsString(self)
"BITMAPS" GetMenuImage(self)
"wxPoint const &" GetBezierC2_0(self)
"wxPoint const &" GetBezierC1_0(self)
"void" SetEnd0(self, "wxPoint" aPoint)
"void" SetArcGeometry0(self, "wxPoint" aStart, "wxPoint" aMid, "wxPoint" aEnd)
"bool" IsParentFlipped(self)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
"void" SetDrawCoord(self)
"bool" ClassOf("EDA_ITEM" aItem)
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
"void" SetBezierC2_0(self, "wxPoint" aPoint)
"void" SetArcAngleAndEnd0(self, "double" aAngle, "bool" aCheckNegativeAngle=False)
"void" Mirror(self, "wxPoint" aCentre, "bool" aMirrorAroundXAxis)
"bool" IsType(self, "KICAD_T const []" aScanTypes)
"void" SetBezierC1_0(self, "wxPoint" aPoint)
"void" Rotate(self, "wxPoint" aOffset, "double" aAngle)
"void" SetPos0(self, "wxPoint" aPos)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
"void" SetTextAngle(self, "double" aAngle)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearance, "int" aError, "ERROR_LOC" aErrorLoc, "bool" aIgnoreLineWidth)
"void" KeepUpright(self, "double" aOldOrientation, "double" aNewOrientation)
"BOX2I const" ViewBBox(self)
"void" Mirror(self, "wxPoint" aCentre, "bool" aMirrorAroundXAxis)
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
"EDA_RECT const" GetBoundingBox(self)
"bool" IsKeepUpright(self)
"void" SwapEffects(self, "FP_TEXT" aTradingPartner)
"void" SetLocalCoord(self)
"wxString" GetShownText(self, "int" aDepth=0, "bool" aAllowExtraText=True)
def __init__(self, *args)
"void" SetType(self, "FP_TEXT::TEXT_TYPE" aType)
"void" SetKeepUpright(self, "bool" aKeepUpright)
"wxPoint const &" GetPos0(self)
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
"wxPoint" GetPosition(self)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"bool" TextHitTest(self, *args)
"wxString" GetParentAsString(self)
"void" SetEffects(self, "FP_TEXT" aSrc)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"void" SetDrawCoord(self)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"wxString" GetClass(self)
"void" TransformTextShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc)
"bool" ClassOf("EDA_ITEM" aItem)
"bool" HitTest(self, *args)
"bool" IsType(self, "KICAD_T const []" aScanTypes)
"void" SetPosition(self, "wxPoint" aPos)
"double" GetDrawRotation(self)
"BITMAPS" GetMenuImage(self)
"void" Move(self, "wxPoint" aMoveVector)
"double" GetDrawRotationRadians(self)
"bool" IsParentFlipped(self)
"FP_TEXT::TEXT_TYPE" GetType(self)
"void" assign(self, "std::vector< FP_ZONE * >::size_type" n, "FP_ZONE" x)
def __init__(self, *args)
"swig::SwigPyIterator *" iterator(self)
"std::vector< FP_ZONE * >::value_type" front(self)
"void" resize(self, *args)
"std::vector< FP_ZONE * >::reverse_iterator" rbegin(self)
"void" swap(self, "FP_ZONES" v)
"std::vector< FP_ZONE * >::value_type" pop(self)
"void" __setslice__(self, *args)
"std::vector< FP_ZONE *,std::allocator< FP_ZONE * > > *" __getslice__(self, "std::vector< FP_ZONE * >::difference_type" i, "std::vector< FP_ZONE * >::difference_type" j)
"std::vector< FP_ZONE * >::value_type" __getitem__(self, *args)
"std::vector< FP_ZONE * >::value_type" back(self)
"std::vector< FP_ZONE * >::size_type" capacity(self)
"std::vector< FP_ZONE * >::size_type" __len__(self)
"std::vector< FP_ZONE * >::size_type" size(self)
"void" reserve(self, "std::vector< FP_ZONE * >::size_type" n)
"std::vector< FP_ZONE * >::allocator_type" get_allocator(self)
"std::vector< FP_ZONE * >::iterator" end(self)
"std::vector< FP_ZONE * >::reverse_iterator" rend(self)
"void" push_back(self, "FP_ZONE" x)
"void" __delslice__(self, "std::vector< FP_ZONE * >::difference_type" i, "std::vector< FP_ZONE * >::difference_type" j)
"void" insert(self, *args)
"std::vector< FP_ZONE * >::iterator" erase(self, *args)
"void" append(self, "FP_ZONE" x)
"std::vector< FP_ZONE * >::iterator" begin(self)
"void" __setitem__(self, *args)
"void" __delitem__(self, *args)
def __init__(self, *args)
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
"GAL_SET" DefaultVisible()
"GAL_SET &" set(self, *args)
def __init__(self, *args)
"bool" Contains(self, "GAL_LAYER_ID" aPos)
"std::vector< GAL_LAYER_ID,std::allocator< GAL_LAYER_ID > >" Seq(self)
"void" CreateMapFilesSet(self, "wxString" aPlotDirectory, "REPORTER *" aReporter=None)
"void" SetPageInfo(self, "PAGE_INFO const *" aPageInfo)
"wxPoint" GetOffset(self)
"void" SetMapFileFormat(self, "PLOT_FORMAT" aMapFmt)
"void" SetMergeOption(self, "bool" aMerge)
def __init__(self, *args, **kwargs)
"bool" GenDrillReportFile(self, "wxString" aFullFileName)
"bool" CreateJobFile(self, "wxString" aFullFilename)
def __init__(self, "BOARD" aPcb, "REPORTER *" aReporter=None)
"void" AddGbrFile(self, "PCB_LAYER_ID" aLayer, "wxString" aFilename)
"bool" WriteJSONJobFile(self, "wxString" aFullFilename)
"void" SetOptions(self, "wxPoint" aOffset)
"void" CreateDrillandMapFilesSet(self, "wxString" aPlotDirectory, "bool" aGenDrill, "bool" aGenMap, "REPORTER *" aReporter=None)
def __init__(self, "BOARD" aPcb)
"void" SetFormat(self, "int" aRightDigits=6)
"std::deque< PCB_GROUP * >::size_type" size(self)
"void" resize(self, *args)
"std::deque< PCB_GROUP * >::reverse_iterator" rbegin(self)
"void" __setitem__(self, *args)
"std::deque< PCB_GROUP * >::value_type" front(self)
"std::deque< PCB_GROUP * >::size_type" __len__(self)
"std::deque< PCB_GROUP * >::iterator" end(self)
"std::deque< PCB_GROUP * >::iterator" begin(self)
"void" push_back(self, "PCB_GROUP" x)
"void" insert(self, *args)
"std::deque< PCB_GROUP * >::iterator" erase(self, *args)
"void" append(self, "PCB_GROUP" x)
"std::deque< PCB_GROUP *,std::allocator< PCB_GROUP * > > *" __getslice__(self, "std::deque< PCB_GROUP * >::difference_type" i, "std::deque< PCB_GROUP * >::difference_type" j)
"void" assign(self, "std::deque< PCB_GROUP * >::size_type" n, "PCB_GROUP" x)
"void" __delslice__(self, "std::deque< PCB_GROUP * >::difference_type" i, "std::deque< PCB_GROUP * >::difference_type" j)
"swig::SwigPyIterator *" iterator(self)
def __init__(self, *args)
"void" push_front(self, "PCB_GROUP" x)
"std::deque< PCB_GROUP * >::value_type" pop(self)
"std::deque< PCB_GROUP * >::value_type" __getitem__(self, *args)
"void" __delitem__(self, *args)
"std::deque< PCB_GROUP * >::value_type" back(self)
"void" __setslice__(self, *args)
"void" swap(self, "GROUPS" v)
"std::deque< PCB_GROUP * >::reverse_iterator" rend(self)
"std::deque< PCB_GROUP * >::allocator_type" get_allocator(self)
def __init__(self, *args, **kwargs)
def __init__(self, *args)
"void" init(self, "wxString" aProblem, "char const *" aThrowersFile, "char const *" aThrowersFunction, "int" aThrowersLineNumber)
"wxString const" What(self)
"wxString const" Where(self)
"wxString const" Problem(self)
"BOARD *" Load("IO_MGR::PCB_FILE_T" aFileType, "wxString" aFileName, "BOARD" aAppendToMe=None, "PROPERTIES const *" aProperties=None, "PROJECT *" aProject=None, "PROGRESS_REPORTER *" aProgressReporter=None)
"IO_MGR::PCB_FILE_T" EnumFromStr("wxString" aFileType)
"void" Save("IO_MGR::PCB_FILE_T" aFileType, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None)
"wxString const" ShowType("IO_MGR::PCB_FILE_T" aFileType)
"IO_MGR::PCB_FILE_T" GuessPluginTypeFromLibPath("wxString" aLibPath)
"wxString const" GetFileExtension("IO_MGR::PCB_FILE_T" aFileType)
"void" PluginRelease("PLUGIN" aPlugin)
"PLUGIN *" PluginFind("IO_MGR::PCB_FILE_T" aFileType)
def __init__(self, "BOARD" aPcb, "wxWindow *" aParent=None)
"void" Write(self, "wxString" aFilename)
"wxString" AsString(self)
def __init__(self, *args)
"bool" __lt__(self, "KIID_PATH" rhs)
"bool" __eq__(self, "KIID_PATH" rhs)
"bool" MakeRelativeTo(self, "KIID_PATH" aPath)
"void" assign(self, "std::vector< KIID >::size_type" n, "KIID" x)
"void" __setitem__(self, *args)
"void" resize(self, *args)
"std::vector< KIID >::reverse_iterator" rend(self)
"std::vector< KIID >::value_type const &" __getitem__(self, *args)
"std::vector< KIID >::value_type const &" back(self)
"void" __delslice__(self, "std::vector< KIID >::difference_type" i, "std::vector< KIID >::difference_type" j)
"std::vector< KIID >::size_type" size(self)
"void" __setslice__(self, *args)
"std::vector< KIID >::allocator_type" get_allocator(self)
"std::vector< KIID >::iterator" begin(self)
"void" append(self, "KIID" x)
def __init__(self, *args)
"swig::SwigPyIterator *" iterator(self)
"std::vector< KIID >::size_type" __len__(self)
"void" push_back(self, "KIID" x)
"std::vector< KIID,std::allocator< KIID > > *" __getslice__(self, "std::vector< KIID >::difference_type" i, "std::vector< KIID >::difference_type" j)
"std::vector< KIID >::iterator" erase(self, *args)
"std::vector< KIID >::size_type" capacity(self)
"std::vector< KIID >::value_type const &" front(self)
"std::vector< KIID >::iterator" end(self)
"std::vector< KIID >::value_type" pop(self)
"std::vector< KIID >::reverse_iterator" rbegin(self)
"void" __delitem__(self, *args)
"void" reserve(self, "std::vector< KIID >::size_type" n)
"void" swap(self, "KIID_VECT_LIST" v)
"void" insert(self, *args)
"bool" __eq__(self, "KIID" rhs)
"wxString" AsLegacyTimestampString(self)
"wxString" AsString(self)
"void" ConvertTimestampToUuid(self)
"timestamp_t" AsLegacyTimestamp(self)
def __init__(self, *args)
"void" Clone(self, "KIID" aUUID)
"bool" SniffTest("wxString" aCandidate)
"bool" __gt__(self, "KIID" rhs)
"void" SeedGenerator("unsigned int" aSeed)
"bool" IsLegacyTimestamp(self)
"bool" __ne__(self, "KIID" rhs)
"void" CreateNilUuids("bool" aNil=True)
"bool" __lt__(self, "KIID" rhs)
def __init__(self, *args)
"wxString const" What(self)
"char const *" ShowType("LAYER_T" aType)
"LAYER_T" ParseType("char const *" aType)
"bool" __gt__(self, "LIB_ID" aLibId)
"unsigned int" FindIllegalLibraryNameChar("UTF8" aLibraryName)
"bool" __eq__(self, "LIB_ID" aLibId)
"bool" __ne__(self, "LIB_ID" aLibId)
"bool" __lt__(self, "LIB_ID" aLibId)
"wxString const" GetUniStringLibItemName(self)
"int" HasIllegalChars("UTF8" aLibItemName)
"UTF8 const &" GetLibItemName(self)
"int" SetLibItemName(self, "UTF8" aLibItemName)
def __init__(self, *args)
"wxString" GetUniStringLibId(self)
"UTF8" FixIllegalChars("UTF8" aLibItemName, "bool" aLib)
"int" compare(self, "LIB_ID" aLibId)
"int" SetLibNickname(self, "UTF8" aNickname)
"int" Parse(self, "UTF8" aId, "bool" aFix=False)
"UTF8 const &" GetLibNickname(self)
"wxString const &" GetSource(self)
"unsigned int" Length(self)
def __init__(self, *args, **kwargs)
"unsigned int" LineNumber(self)
"PCB_LAYER_ID" __ref__(self)
"LSET" removeLayerSet(self, "LSET" aLayerSet)
"LSET" addLayerSet(self, "LSET" aLayerSet)
"LSEQ" Technicals(self, *args)
"std::string" FmtHex(self)
def RemoveLayer(self, layer)
"LSET" FrontBoardTechMask()
"LSEQ" SeqStackupBottom2Top(self)
"std::string" FmtBin(self)
"LSEQ" TechAndUserUIOrder(self)
def AddLayer(self, layer)
"LSET" BackBoardTechMask()
"LSET" AllBoardTechMask()
"wxChar const *" Name("PCB_LAYER_ID" aLayerId)
def AddLayerSet(self, layers)
def __init__(self, *args)
"LSET" UserDefinedLayers()
"bool" Contains(self, "PCB_LAYER_ID" aLayer)
"LSET" ForbiddenFootprintLayers()
"LSET" removeLayer(self, "PCB_LAYER_ID" aLayer)
"LSET" addLayer(self, "PCB_LAYER_ID" aLayer)
"int" ParseHex(self, "char const *" aStart, "int" aCount)
"PCB_LAYER_ID" ExtractLayer(self)
def RemoveLayerSet(self, layers)
"LSET" PhysicalLayersMask()
"swig::SwigPyIterator *" key_iterator(self)
"void" __setitem__(self, *args)
"std::map< wxString,wxString >::iterator" find(self, "wxString" x)
"std::map< wxString,wxString >::allocator_type" get_allocator(self)
"bool" __contains__(self, "wxString" key)
"void" __delitem__(self, "wxString" key)
"swig::SwigPyIterator *" value_iterator(self)
"void" swap(self, "MAP_STRING_STRING" v)
"std::map< wxString,wxString >::mapped_type const &" __getitem__(self, "wxString" key)
"std::map< wxString,wxString >::iterator" end(self)
"std::map< wxString,wxString >::size_type" size(self)
"std::map< wxString,wxString >::iterator" upper_bound(self, "wxString" x)
def __init__(self, *args)
"PyObject *" asdict(self)
"std::map< wxString,wxString >::size_type" count(self, "wxString" x)
"std::map< wxString,wxString >::iterator" lower_bound(self, "wxString" x)
"std::map< wxString,wxString >::reverse_iterator" rend(self)
"void" erase(self, *args)
"std::map< wxString,wxString >::size_type" __len__(self)
"bool" has_key(self, "wxString" key)
"std::map< wxString,wxString >::reverse_iterator" rbegin(self)
"PyObject *" values(self)
"swig::SwigPyIterator *" iterator(self)
"std::map< wxString,wxString >::iterator" begin(self)
"std::vector< PCB_MARKER * >::iterator" begin(self)
"void" reserve(self, "std::vector< PCB_MARKER * >::size_type" n)
"std::vector< PCB_MARKER * >::size_type" size(self)
"void" __delslice__(self, "std::vector< PCB_MARKER * >::difference_type" i, "std::vector< PCB_MARKER * >::difference_type" j)
"std::vector< PCB_MARKER * >::size_type" capacity(self)
"void" resize(self, *args)
"void" assign(self, "std::vector< PCB_MARKER * >::size_type" n, "PCB_MARKER" x)
"void" swap(self, "MARKERS" v)
"void" append(self, "PCB_MARKER" x)
def __init__(self, *args)
"std::vector< PCB_MARKER * >::iterator" erase(self, *args)
"void" insert(self, *args)
"void" __setitem__(self, *args)
"void" __delitem__(self, *args)
"void" push_back(self, "PCB_MARKER" x)
"std::vector< PCB_MARKER * >::iterator" end(self)
"std::vector< PCB_MARKER * >::allocator_type" get_allocator(self)
"std::vector< PCB_MARKER * >::value_type" pop(self)
"std::vector< PCB_MARKER * >::reverse_iterator" rbegin(self)
"swig::SwigPyIterator *" iterator(self)
"std::vector< PCB_MARKER * >::reverse_iterator" rend(self)
"void" __setslice__(self, *args)
"std::vector< PCB_MARKER * >::value_type" front(self)
"std::vector< PCB_MARKER * >::value_type" back(self)
"std::vector< PCB_MARKER *,std::allocator< PCB_MARKER * > > *" __getslice__(self, "std::vector< PCB_MARKER * >::difference_type" i, "std::vector< PCB_MARKER * >::difference_type" j)
"std::vector< PCB_MARKER * >::value_type" __getitem__(self, *args)
"std::vector< PCB_MARKER * >::size_type" __len__(self)
"enum MARKER_BASE::TYPEMARKER" GetMarkerType(self)
"void" SetMarkerType(self, "enum MARKER_BASE::TYPEMARKER" aMarkerType)
"EDA_RECT" GetBoundingBoxMarker(self)
"void" PrintMarker(self, "RENDER_SETTINGS const *" aSettings, "wxPoint" aOffset)
"KIID const" GetUUID(self)
"std::shared_ptr< RC_ITEM >" GetRCItem(self)
"void" ShapeToPolygon(self, "SHAPE_LINE_CHAIN" aPolygon, "int" aScale=-1)
"bool" HitTestMarker(self, "wxPoint" aHitPosition, "int" aAccuracy)
"void" SetMarkerScale(self, "int" aScale)
"wxPoint const &" GetPos(self)
def __init__(self, *args, **kwargs)
"void" SetExcluded(self, "bool" aExcluded)
"NETCLASSPTR" GetDefault(self)
"NETCLASSPTR" Remove(self, "wxString" aNetName)
"unsigned int" GetCount(self)
"NETCLASSES::const_iterator" end(self, *args)
"NETCLASSPTR" Find(self, "wxString" aName)
"bool" Add(self, "NETCLASSPTR const &" aNetclass)
"NETCLASS *" GetDefaultPtr(self)
"NETCLASS_MAP &" NetClasses(self)
"NETCLASSES::const_iterator" begin(self, *args)
"void" SetuViaDrill(self, "int" aSize)
"void" SetViaDrill(self, "int" aSize)
"wxString const &" GetDescription(self)
"void" SetClearance(self, "int" aClearance)
"unsigned int" GetCount(self)
def __init__(self, "string" name)
"wxString const &" GetName(self)
"int" GetuViaDiameter(self)
"void" SetDiffPairWidth(self, "int" aSize)
"int" GetDiffPairWidth(self)
"int" GetViaDiameter(self)
"int" GetTrackWidth(self)
"void" SetDiffPairGap(self, "int" aSize)
"void" SetViaDiameter(self, "int" aDia)
"STRINGSET &" NetNames(self)
"int" GetDiffPairGap(self)
"void" SetDescription(self, "wxString" aDesc)
"void" SetTrackWidth(self, "int" aWidth)
"void" SetuViaDiameter(self, "int" aSize)
"std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const &" __getitem__(self, "wxString" key)
"void" __setitem__(self, *args)
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" upper_bound(self, "wxString" x)
"bool" has_key(self, "wxString" key)
"std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator" rbegin(self)
"std::map< wxString,std::shared_ptr< NETCLASS > >::size_type" count(self, "wxString" x)
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" end(self)
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" begin(self)
"swig::SwigPyIterator *" key_iterator(self)
"std::map< wxString,std::shared_ptr< NETCLASS > >::size_type" __len__(self)
"PyObject *" values(self)
"PyObject *" asdict(self)
"void" swap(self, "NETCLASS_MAP" v)
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" lower_bound(self, "wxString" x)
"std::map< wxString,std::shared_ptr< NETCLASS > >::allocator_type" get_allocator(self)
"std::map< wxString,std::shared_ptr< NETCLASS > >::size_type" size(self)
"void" erase(self, *args)
"bool" __contains__(self, "wxString" key)
"void" __delitem__(self, "wxString" key)
"swig::SwigPyIterator *" value_iterator(self)
"swig::SwigPyIterator *" iterator(self)
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" find(self, "wxString" x)
def __init__(self, *args)
"std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator" rend(self)
"std::map< int,NETINFO_ITEM * >::iterator" begin(self)
"swig::SwigPyIterator *" key_iterator(self)
"bool" __contains__(self, "std::map< int,NETINFO_ITEM * >::key_type const &" key)
"std::map< int,NETINFO_ITEM * >::iterator" lower_bound(self, "std::map< int,NETINFO_ITEM * >::key_type const &" x)
"void" __delitem__(self, "std::map< int,NETINFO_ITEM * >::key_type const &" key)
"std::map< int,NETINFO_ITEM * >::size_type" size(self)
"std::map< int,NETINFO_ITEM * >::reverse_iterator" rbegin(self)
"PyObject *" asdict(self)
"std::map< int,NETINFO_ITEM * >::mapped_type const &" __getitem__(self, "std::map< int,NETINFO_ITEM * >::key_type const &" key)
def __init__(self, *args)
"std::map< int,NETINFO_ITEM * >::size_type" count(self, "std::map< int,NETINFO_ITEM * >::key_type const &" x)
"swig::SwigPyIterator *" iterator(self)
"std::map< int,NETINFO_ITEM * >::iterator" end(self)
"std::map< int,NETINFO_ITEM * >::iterator" upper_bound(self, "std::map< int,NETINFO_ITEM * >::key_type const &" x)
"std::map< int,NETINFO_ITEM * >::iterator" find(self, "std::map< int,NETINFO_ITEM * >::key_type const &" x)
"PyObject *" values(self)
"std::map< int,NETINFO_ITEM * >::reverse_iterator" rend(self)
"void" swap(self, "NETCODES_MAP" v)
"swig::SwigPyIterator *" value_iterator(self)
"std::map< int,NETINFO_ITEM * >::size_type" __len__(self)
"void" __setitem__(self, *args)
"bool" has_key(self, "std::map< int,NETINFO_ITEM * >::key_type const &" key)
"std::map< int,NETINFO_ITEM * >::allocator_type" get_allocator(self)
"void" erase(self, *args)
"NETCLASS *" GetNetClass(self)
"wxPoint" GetPosition(self)
"void" SetPosition(self, "wxPoint" aPos)
"void" SetNetClass(self, "NETCLASSPTR const &" aNetClass)
"wxString" GetNetClassName(self)
"wxString" GetClass(self)
"void" SetNetname(self, "wxString" aNewName)
"wxString const &" GetNetname(self)
"bool" ClassOf("EDA_ITEM" aItem)
"void" SetIsCurrent(self, "bool" isCurrent)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"void" SetNetCode(self, "int" aNetCode)
"wxString const &" GetShortNetname(self)
def __init__(self, *args)
"BOARD *" GetParent(self)
"void" RemoveNet(self, "NETINFO_ITEM" aNet)
"void" RemoveUnusedNets(self)
def __init__(self, "BOARD" aParent)
"unsigned int" GetNetCount(self)
"NETINFO_ITEM *" OrphanedItem()
"NETCODES_MAP const &" NetsByNetcode(self)
"NETINFO_ITEM *" GetNetItem(self, *args)
"void" AppendNet(self, "NETINFO_ITEM" aNewElement)
"NETNAMES_MAP const &" NetsByName(self)
"BOARD *" GetParent(self)
"std::map< wxString,NETINFO_ITEM * >::size_type" size(self)
"swig::SwigPyIterator *" value_iterator(self)
def __init__(self, *args)
"void" erase(self, *args)
"std::map< wxString,NETINFO_ITEM * >::iterator" upper_bound(self, "wxString" x)
"PyObject *" asdict(self)
"void" __setitem__(self, *args)
"PyObject *" values(self)
"swig::SwigPyIterator *" iterator(self)
"std::map< wxString,NETINFO_ITEM * >::allocator_type" get_allocator(self)
"bool" has_key(self, "wxString" key)
"std::map< wxString,NETINFO_ITEM * >::size_type" count(self, "wxString" x)
"std::map< wxString,NETINFO_ITEM * >::reverse_iterator" rbegin(self)
"std::map< wxString,NETINFO_ITEM * >::size_type" __len__(self)
"std::map< wxString,NETINFO_ITEM * >::mapped_type const &" __getitem__(self, "wxString" key)
"std::map< wxString,NETINFO_ITEM * >::reverse_iterator" rend(self)
"swig::SwigPyIterator *" key_iterator(self)
"std::map< wxString,NETINFO_ITEM * >::iterator" end(self)
"std::map< wxString,NETINFO_ITEM * >::iterator" lower_bound(self, "wxString" x)
"std::map< wxString,NETINFO_ITEM * >::iterator" find(self, "wxString" x)
"std::map< wxString,NETINFO_ITEM * >::iterator" begin(self)
"void" __delitem__(self, "wxString" key)
"void" swap(self, "NETNAMES_MAP" v)
"bool" __contains__(self, "wxString" key)
"std::vector< PAD * >::allocator_type" get_allocator(self)
"void" reserve(self, "std::vector< PAD * >::size_type" n)
"std::vector< PAD * >::size_type" capacity(self)
"std::vector< PAD * >::value_type" pop(self)
"std::vector< PAD * >::value_type" back(self)
"std::vector< PAD * >::size_type" size(self)
"void" assign(self, "std::vector< PAD * >::size_type" n, "PAD" x)
"std::vector< PAD * >::size_type" __len__(self)
"void" swap(self, "PADS_VEC" v)
"std::vector< PAD * >::value_type" front(self)
"std::vector< PAD * >::value_type" __getitem__(self, *args)
"void" push_back(self, "PAD" x)
"std::vector< PAD * >::reverse_iterator" rbegin(self)
"std::vector< PAD * >::iterator" end(self)
"std::vector< PAD *,std::allocator< PAD * > > *" __getslice__(self, "std::vector< PAD * >::difference_type" i, "std::vector< PAD * >::difference_type" j)
"std::vector< PAD * >::iterator" erase(self, *args)
"void" __delitem__(self, *args)
"std::vector< PAD * >::iterator" begin(self)
"swig::SwigPyIterator *" iterator(self)
def __init__(self, *args)
"void" resize(self, *args)
"std::vector< PAD * >::reverse_iterator" rend(self)
"void" append(self, "PAD" x)
"void" __delslice__(self, "std::vector< PAD * >::difference_type" i, "std::vector< PAD * >::difference_type" j)
"void" __setitem__(self, *args)
"void" __setslice__(self, *args)
"void" insert(self, *args)
"std::deque< PAD *,std::allocator< PAD * > > *" __getslice__(self, "std::deque< PAD * >::difference_type" i, "std::deque< PAD * >::difference_type" j)
"std::deque< PAD * >::value_type" back(self)
"void" __setslice__(self, *args)
"void" __setitem__(self, *args)
"std::deque< PAD * >::allocator_type" get_allocator(self)
"std::deque< PAD * >::size_type" __len__(self)
"void" append(self, "PAD" x)
"void" swap(self, "PADS" v)
"void" resize(self, *args)
"void" assign(self, "std::deque< PAD * >::size_type" n, "PAD" x)
"std::deque< PAD * >::iterator" erase(self, *args)
"std::deque< PAD * >::value_type" __getitem__(self, *args)
"std::deque< PAD * >::reverse_iterator" rbegin(self)
"std::deque< PAD * >::size_type" size(self)
"void" push_back(self, "PAD" x)
"void" __delitem__(self, *args)
"std::deque< PAD * >::iterator" begin(self)
"std::deque< PAD * >::value_type" pop(self)
"swig::SwigPyIterator *" iterator(self)
"void" __delslice__(self, "std::deque< PAD * >::difference_type" i, "std::deque< PAD * >::difference_type" j)
"std::deque< PAD * >::value_type" front(self)
"std::deque< PAD * >::iterator" end(self)
"void" insert(self, *args)
"void" push_front(self, "PAD" x)
"std::deque< PAD * >::reverse_iterator" rend(self)
def __init__(self, *args)
"bool" HitTest(self, *args)
"void" SetLocalSolderPasteMargin(self, "int" aMargin)
"void" SetDrillSizeY(self, "int const" aY)
"void" AddPrimitiveArc(self, "wxPoint" aCenter, "wxPoint" aStart, "int" aArcAngle, "int" aThickness)
"bool" GetRemoveUnconnected(self)
"void" SetOffset(self, "wxPoint" aOffset)
"int const" GetSizeX(self)
"void" SetSize(self, "wxSize" aSize)
"int" GetBoundingRadius(self)
"void" ReplacePrimitives(self, "std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &" aPrimitivesList)
"void" MergePrimitivesAsPolygon(self, *args)
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
"wxSize const &" GetDelta(self)
"int" GetSolderMaskMargin(self)
"bool" ClassOf("EDA_ITEM" aItem)
"wxSize const &" GetDrillSize(self)
"void" SetPadToDieLength(self, "int" aLength)
"void" SetY0(self, "int" y)
"void" SetDelta(self, "wxSize" aSize)
"BITMAPS" GetMenuImage(self)
"EDA_RECT const" GetBoundingBox(self)
"CUST_PAD_SHAPE_IN_ZONE" GetCustomShapeInZoneOpt(self)
"void" AddPrimitive(self, "PCB_SHAPE" aPrimitive)
"void" SetRoundRectRadiusRatio(self, "double" aRadiusScale)
"int" GetOwnClearance(self, "PCB_LAYER_ID" aLayer, "wxString" aSource=None)
"void" SetX0(self, "int" x)
"bool" IsOnLayer(self, "PCB_LAYER_ID" aLayer)
"void" SwapData(self, "BOARD_ITEM" aImage)
"void" Move(self, "wxPoint" aMoveVector)
"void" SetChamferRectRatio(self, "double" aChamferScale)
"void" SetPinType(self, "wxString" aType)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"wxPoint" GetPosition(self)
"void" SetDrillSizeX(self, "int const" aX)
"void" AddPrimitiveSegment(self, "wxPoint" aStart, "wxPoint" aEnd, "int" aThickness)
"void" AppendPrimitives(self, "std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &" aPrimitivesList)
"void" SetPosition(self, "wxPoint" aPos)
"bool" GetBestAnchorPosition(self, "VECTOR2I" aPos)
"wxSize const &" GetSize(self)
"void" DeletePrimitivesList(self)
"PAD_SHAPE" GetAnchorPadShape(self)
"PAD_DRILL_SHAPE_T" GetDrillShape(self)
"wxString const &" GetNumber(self)
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
"double" GetOrientationRadians(self)
"void" SetAttribute(self, "PAD_ATTRIB" aAttribute)
"wxString" ShowPadAttr(self)
"void" SetLocalClearance(self, "int" aClearance)
"int" GetEffectiveThermalSpokeWidth(self, "wxString" aSource=None)
"void" SetSubRatsnest(self, "int" aSubRatsnest)
"double" GetOrientation(self)
"void" SetSizeX(self, "int const" aX)
"int" GetLocalSolderPasteMargin(self)
"int" GetRoundRectCornerRadius(self)
"wxString" GetClass(self)
"void" SetOrientationDegrees(self, "double" aOrientation)
"int const" GetDrillSizeX(self)
"void" AddPrimitiveRect(self, "wxPoint" aStart, "wxPoint" aEnd, "int" aThickness, "bool" aFilled)
"bool" CanHaveNumber(self)
"void" FlipPrimitives(self, "bool" aFlipLeftRight)
"void" BuildEffectiveShapes(self, "PCB_LAYER_ID" aLayer)
"void" SetX(self, "int" x)
"bool" FlashLayer(self, *args)
"wxPoint const &" GetOffset(self)
"double" GetOrientationDegrees(self)
"void" SetDrillSize(self, "wxSize" aSize)
"void" BuildEffectivePolygon(self)
"BOX2I const" ViewBBox(self)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"bool" IsAperturePad(self)
"ZONE_CONNECTION" GetEffectiveZoneConnection(self, "wxString" aSource=None)
"void" ImportSettingsFrom(self, "PAD" aMasterPad)
"bool" SameLogicalPadAs(self, "PAD" other)
"void" SetLayerSet(self, "LSET" aLayers)
"void" SetRemoveUnconnected(self, "bool" aSet)
"int" GetSubRatsnest(self)
"void" SetPos0(self, "wxPoint" aPos)
"int" GetChamferPositions(self)
def SetPadName(self, aName)
"void" SetThermalSpokeWidth(self, "int" aWidth)
"void" SetDrillShape(self, "PAD_DRILL_SHAPE_T" aShape)
"void" SetAnchorPadShape(self, "PAD_SHAPE" aShape)
"void" AddPrimitiveCircle(self, "wxPoint" aCenter, "int" aRadius, "int" aThickness, "bool" aFilled)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aMaxError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
"int const" GetDrillSizeY(self)
"void" SetSizeY(self, "int const" aY)
"wxString const &" GetPinType(self)
def GetCustomShapeAsPolygon(self, layer=UNDEFINED_LAYER)
"double" GetLocalSolderPasteMarginRatio(self)
"ZONE_CONNECTION" GetZoneConnection(self)
def __init__(self, *args)
"bool" TransformHoleWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "int" aInflateValue, "int" aError, "ERROR_LOC" aErrorLoc)
"bool" IsType(self, "KICAD_T const []" aScanTypes)
"double" GetRoundRectRadiusRatio(self)
"wxPoint const &" GetPos0(self)
"PAD_ATTRIB" GetAttribute(self)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"PAD_PROP" GetProperty(self)
"void" SetLocalSolderMaskMargin(self, "int" aMargin)
"int" GetEffectiveThermalGap(self, "wxString" aSource=None)
"PAD_SHAPE" GetShape(self)
"void" SetKeepTopBottom(self, "bool" aSet)
"wxString" ShowPadShape(self)
"void" SetLocalSolderPasteMarginRatio(self, "double" aRatio)
"void" SetOrientation(self, "double" aAngle)
"int" GetLocalClearance(self, *args)
"void" AddPrimitivePoly(self, *args)
"double" GetChamferRectRatio(self)
"void" SetLocalCoord(self)
"void" SetPinFunction(self, "wxString" aName)
"bool" IsOnCopperLayer(self)
"SHAPE_SEGMENT const *" GetEffectiveHoleShape(self)
"wxString const &" GetPinFunction(self)
"int" GetPadToDieLength(self)
"LSET" UnplatedHoleMask()
"wxSize" GetSolderPasteMargin(self)
"void" SetZoneConnection(self, "ZONE_CONNECTION" aType)
"wxPoint" GetCenter(self)
"bool" GetKeepTopBottom(self)
"std::shared_ptr< SHAPE_POLY_SET > const &" GetEffectivePolygon(self)
"wxString" GetParentAsString(self)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"int" GetLocalClearanceOverrides(self, "wxString" aSource)
"std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &" GetPrimitives(self)
"int" GetLocalSolderMaskMargin(self)
"void" SetChamferPositions(self, "int" aPositions)
"void" SetNumber(self, "wxString" aNumber)
"FOOTPRINT *" GetParent(self)
"int" GetThermalSpokeWidth(self)
"void" SetCustomShapeInZoneOpt(self, "CUST_PAD_SHAPE_IN_ZONE" aOption)
"void" SetRoundRectCornerRadius(self, "double" aRadius)
"void" SetShape(self, "PAD_SHAPE" aShape)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
"int" Compare("PAD" aPadRef, "PAD" aPadCmp)
"void" SetDrawCoord(self)
"int const" GetSizeY(self)
"void" SetProperty(self, "PAD_PROP" aProperty)
"int" GetThermalGap(self)
"bool" IsNoConnectPad(self)
"void" SetThermalGap(self, "int" aGap)
"void" SetY(self, "int" y)
"void" AddPrimitiveCurve(self, "wxPoint" aStart, "wxPoint" aEnd, "wxPoint" aCtrl1, "wxPoint" aCtrl2, "int" aThickness)
"double" GetArcAngleStart(self)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"wxPoint const &" GetMid(self)
"wxPoint" GetCenter(self)
"wxString" GetClass(self)
"double" GetArcAngleEnd(self)
"bool" HitTest(self, *args)
"void" Move(self, "wxPoint" aMoveVector)
"wxPoint" GetPosition(self)
"void" SetMid(self, "wxPoint" aMid)
"void" SwapData(self, "BOARD_ITEM" aImage)
"bool" ClassOf("EDA_ITEM" aItem)
def __init__(self, *args)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
"void" SetPosition(self, "wxPoint" aPos)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"void" SetEnd(self, "wxPoint" aPoint)
def __init__(self, *args, **kwargs)
"void" SetPrefix(self, "wxString" aPrefix)
"int" GetExtensionOffset(self)
"void" SetLineThickness(self, "int" aWidth)
"void" SetExtensionOffset(self, "int" aOffset)
"void" SetText(self, "wxString" aNewText)
"bool" HitTest(self, *args)
"wxPoint const &" GetEnd(self)
"wxString" GetOverrideText(self)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"void" SetUnitsFormat(self, "DIM_UNITS_FORMAT const" aFormat)
"DIM_TEXT_POSITION" GetTextPositionMode(self)
"void" SetAutoUnits(self, "bool" aAuto=True)
"void" SetOverrideTextEnabled(self, "bool" aOverride)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"bool" GetSuppressZeroes(self)
"int" GetMeasuredValue(self)
"EDA_RECT const" GetBoundingBox(self)
"wxPoint const &" GetStart(self)
"wxString" GetSuffix(self)
"int" GetLineThickness(self)
"void" SetUnits(self, "EDA_UNITS" aUnits)
"void" GetUnits(self, "EDA_UNITS &" aUnits)
"void" SetStart(self, "wxPoint" aPoint)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearance, "int" aError, "ERROR_LOC" aErrorLoc, "bool" aIgnoreLineWidth)
"void" SetKeepTextAligned(self, "bool" aKeepAligned)
"void" SetUnitsMode(self, "DIM_UNITS_MODE" aMode)
"wxPoint" GetPosition(self)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"int" GetArrowLength(self)
"void" SetMeasuredValue(self, "int" aValue)
"BOX2I const" ViewBBox(self)
"bool" GetOverrideTextEnabled(self)
"wxString" GetPrefix(self)
"void" SetPrecision(self, "int" aPrecision)
"void" SetSuppressZeroes(self, "bool" aSuppress)
"wxString" GetValueText(self)
"PCB_TEXT const &" Text(self, *args)
"void" SetPosition(self, "wxPoint" aPos)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
"void" SetSuffix(self, "wxString" aSuffix)
"bool" IsType(self, "KICAD_T const []" aScanTypes)
"std::vector< std::shared_ptr< SHAPE >,std::allocator< std::shared_ptr< SHAPE > > > const &" GetShapes(self)
"void" SetTextSize(self, "wxSize" aTextSize)
"void" Mirror(self, "wxPoint" axis_pos, "bool" aMirrorLeftRight=False)
"DIM_UNITS_FORMAT" GetUnitsFormat(self)
"DIM_UNITS_MODE" GetUnitsMode(self)
"void" SetArrowLength(self, "int" aLength)
"void" SetTextPositionMode(self, "DIM_TEXT_POSITION" aMode)
"wxString const" GetText(self)
"bool" GetKeepTextAligned(self)
"void" Move(self, "wxPoint" offset)
"void" SetOverrideText(self, "wxString" aValue)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"void" SetParent(self, "EDA_ITEM" aParent)
"void" SetLayer(self, "PCB_LAYER_ID" aLayer)
"int" GetExtensionHeight(self)
"void" SwapData(self, "BOARD_ITEM" aImage)
"wxPoint const &" GetCrossbarEnd(self)
"bool" ClassOf("EDA_ITEM" aItem)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"wxPoint const &" GetCrossbarStart(self)
"void" SetHeight(self, "int" aHeight)
"wxString" GetClass(self)
"void" SetExtensionHeight(self, "int" aHeight)
"BITMAPS" GetMenuImage(self)
"void" UpdateHeight(self, "wxPoint" aCrossbarStart, "wxPoint" aCrossbarEnd)
def __init__(self, "BOARD_ITEM" aParent, "KICAD_T" aType=PCB_DIM_ALIGNED_T)
"BOX2I const" ViewBBox(self)
"BITMAPS" GetMenuImage(self)
"void" SwapData(self, "BOARD_ITEM" aImage)
"wxString" GetClass(self)
"bool" ClassOf("EDA_ITEM" aItem)
def __init__(self, "BOARD_ITEM" aParent)
"EDA_RECT const" GetBoundingBox(self)
"void" SetTextFrame(self, "DIM_TEXT_FRAME" aFrame)
"DIM_TEXT_FRAME" GetTextFrame(self)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
def __init__(self, "BOARD_ITEM" aParent)
"BITMAPS" GetMenuImage(self)
"wxString" GetClass(self)
"bool" ClassOf("EDA_ITEM" aItem)
"void" SwapData(self, "BOARD_ITEM" aImage)
"void" SetOrientation(self, "PCB_DIM_ORTHOGONAL::DIR" aOrientation)
"void" SwapData(self, "BOARD_ITEM" aImage)
"bool" ClassOf("EDA_ITEM" aItem)
"PCB_DIM_ORTHOGONAL::DIR" GetOrientation(self)
"BITMAPS" GetMenuImage(self)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
def __init__(self, "BOARD_ITEM" aParent)
"wxString" GetClass(self)
"bool" HitTest(self, *args)
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"void" Move(self, "wxPoint" aMoveVector)
"bool" WithinScope("BOARD_ITEM" aItem, "PCB_GROUP" aScope, "bool" isFootprintEditor)
"bool" IsOnLayer(self, "PCB_LAYER_ID" aLayer)
"void" SetPosition(self, "wxPoint" aNewpos)
"void" SetLayer(self, "PCB_LAYER_ID" aLayer)
"void" AddChildrenToCommit(self, "BOARD_COMMIT &" aCommit)
"void" SwapData(self, "BOARD_ITEM" aImage)
"std::unordered_set< BOARD_ITEM * > const &" GetItems(self, *args)
"PCB_GROUP *" TopLevelGroup("BOARD_ITEM" aItem, "PCB_GROUP" aScope, "bool" isFootprintEditor)
"void" RunOnChildren(self, "std::function< void (BOARD_ITEM *) > const &" aFunction)
"bool" RemoveItem(self, "BOARD_ITEM" aItem)
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
"BITMAPS" GetMenuImage(self)
"PCB_GROUP *" DeepClone(self)
"EDA_RECT const" GetBoundingBox(self)
"bool" AddItem(self, "BOARD_ITEM" aItem)
"void" SetLayerRecursive(self, "PCB_LAYER_ID" aLayer, "int" aDepth)
"PCB_GROUP *" DeepDuplicate(self)
"void" SetName(self, "wxString" aName)
"void" SetLocked(self, "bool" aLocked)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"wxPoint" GetPosition(self)
"bool" IsGroupableType("KICAD_T" aType)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"bool" ClassOf("EDA_ITEM" aItem)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
"wxString" GetClass(self)
def __init__(self, "BOARD_ITEM" aParent)
"SEARCH_RESULT" Visit(self, "INSPECTOR" aInspector, "void *" aTestData, "KICAD_T const []" aScanTypes)
"void" RunOnDescendants(self, "std::function< void (BOARD_ITEM *) > const &" aFunction)
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"void" SetPosition(self, "wxPoint" aPos)
"BITMAPS" GetMenuImage(self)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"bool" HitTest(self, "wxPoint" aPosition, "int" aAccuracy=0)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"wxPoint" GetPosition(self)
"void" SetZoom(self, "double" aZoomFactor)
"PCB_MARKER *" Deserialize("wxString" data)
"wxString" GetClass(self)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
"wxString" Serialize(self)
"void" Move(self, "wxPoint" aMoveVector)
"GAL_LAYER_ID" GetColorLayer(self)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"EDA_RECT const" GetBoundingBox(self)
"bool" ClassOf("EDA_ITEM" aItem)
"wxPoint" GetCenter(self)
def __init__(self, "std::shared_ptr< RC_ITEM >" aItem, "wxPoint" aPosition)
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
"BOX2I const" ViewBBox(self)
"KIID const" GetUUID(self)
"void" SetNegative(self, "bool" aFlag)
"int" GetGerberDefaultPrecision()
"void" SetIncludeGerberNetlistInfo(self, "bool" aUse)
"PCB_PLOT_PARAMS::DrillMarksType" GetDrillMarksType(self)
"bool" GetDisableGerberMacros(self)
"bool" GetPlotViaOnMaskLayer(self)
"bool" GetUseAuxOrigin(self)
"void" SetLayerSelection(self, "LSET" aSelection)
"void" SetColorSettings(self, "COLOR_SETTINGS *" aSettings)
"void" SetOutputDirectory(self, "wxString" aDir)
"void" SetFineScaleAdjustX(self, "double" aVal)
"bool" GetPlotReference(self)
"bool" GetExcludeEdgeLayer(self)
"bool" GetPlotValue(self)
"void" Format(self, "OUTPUTFORMATTER" aFormatter, "int" aNestLevel, "int" aControl=0)
"bool" GetSketchPadsOnFabLayers(self)
def SetUseGerberAttributes(self, aUse)
"LSET" GetLayerSelection(self)
"void" SetSketchPadsOnFabLayers(self, "bool" aFlag)
"bool" GetAutoScale(self)
"void" SetDrillMarksType(self, "PCB_PLOT_PARAMS::DrillMarksType" aVal)
"void" SetDXFPlotPolygonMode(self, "bool" aFlag)
"bool" GetSubtractMaskFromSilk(self)
"COLOR_SETTINGS *" ColorSettings(self)
"void" SetDisableGerberMacros(self, "bool" aDisable)
"void" SetGerberPrecision(self, "int" aPrecision)
"int" GetScaleSelection(self)
"void" SetPlotViaOnMaskLayer(self, "bool" aFlag)
"void" SetUseGerberX2format(self, "bool" aUse)
"bool" GetCreateGerberJobFile(self)
"void" Parse(self, "PCB_PLOT_PARAMS_PARSER *" aParser)
"double" GetHPGLPenDiameter(self)
"unsigned int" GetSvgPrecision(self)
"bool" SetHPGLPenDiameter(self, "double" aValue)
"int" GetHPGLPenNum(self)
"bool" GetSkipPlotNPTH_Pads(self)
"bool" GetIncludeGerberNetlistInfo(self)
"void" SetMirror(self, "bool" aFlag)
"bool" GetDXFPlotPolygonMode(self)
"void" SetAutoScale(self, "bool" aFlag)
"void" SetScaleSelection(self, "int" aSelection)
"void" SetA4Output(self, "int" aForce)
"int" GetSketchPadLineWidth(self)
"void" SetPlotFrameRef(self, "bool" aFlag)
"bool" GetUseGerberProtelExtensions(self)
"void" SetSubtractMaskFromSilk(self, "bool" aSubtract)
"wxString" GetOutputDirectory(self)
"void" SetScale(self, "double" aVal)
"bool" GetUseGerberX2format(self)
"void" SetSvgPrecision(self, "unsigned int" aPrecision, "bool" aUseInch)
"int" GetGerberPrecision(self)
"void" SetUseAuxOrigin(self, "bool" aAux)
"bool" SetHPGLPenSpeed(self, "int" aValue)
"void" SetPlotMode(self, "OUTLINE_MODE" aPlotMode)
"bool" GetPlotFrameRef(self)
"void" SetExcludeEdgeLayer(self, "bool" aFlag)
"double" GetFineScaleAdjustX(self)
"bool" GetPlotInvisibleText(self)
"double" GetFineScaleAdjustY(self)
"void" SetFormat(self, "PLOT_FORMAT" aFormat)
"void" SetCreateGerberJobFile(self, "bool" aCreate)
"void" SetWidthAdjust(self, "int" aVal)
"void" SetUseGerberProtelExtensions(self, "bool" aUse)
"DXF_UNITS" GetDXFPlotUnits(self)
"int" GetWidthAdjust(self)
"void" SetFineScaleAdjustY(self, "double" aVal)
"PLOT_TEXT_MODE" GetTextMode(self)
"int" GetHPGLPenSpeed(self)
"bool" GetSvgUseInch(self)
"PLOT_FORMAT" GetFormat(self)
"void" SetSketchPadLineWidth(self, "int" aWidth)
"void" SetTextMode(self, "PLOT_TEXT_MODE" aVal)
"void" SetSkipPlotNPTH_Pads(self, "bool" aSkip)
"void" SetDXFPlotUnits(self, "DXF_UNITS" aUnit)
"OUTLINE_MODE" GetPlotMode(self)
"void" SetPlotReference(self, "bool" aFlag)
"void" SetPlotInvisibleText(self, "bool" aFlag)
"void" SetHPGLPenNum(self, "int" aVal)
"bool" IsSameAs(self, "PCB_PLOT_PARAMS" aPcbPlotParams)
"void" SetPlotValue(self, "bool" aFlag)
"wxString const" PluginName(self)
"bool" IsFootprintLibWritable(self, "wxString" aLibraryPath)
"bool" FootprintExists(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
"bool" FootprintLibDelete(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
"void" FootprintSave(self, "wxString" aLibraryPath, "FOOTPRINT" aFootprint, "PROPERTIES const *" aProperties=None)
"std::string" GetStringOutput(self, "bool" doClear)
"void" FootprintDelete(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
"BOARD_ITEM *" Parse(self, "wxString" aClipboardSourceInput)
def __init__(self, *args)
"void" SetOutputFormatter(self, "OUTPUTFORMATTER" aFormatter)
"long long" GetLibraryTimestamp(self, "wxString" aLibraryPath)
"void" Save(self, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None)
"FOOTPRINT const *" GetEnumeratedFootprint(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
"void" FootprintLibCreate(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
"void" Format(self, "BOARD_ITEM" aItem, "int" aNestLevel=0)
"wxString const" GetFileExtension(self)
"BOARD *" Load(self, "wxString" aFileName, "BOARD" aAppendToMe, "PROPERTIES const *" aProperties=None, "PROJECT *" aProject=None, "PROGRESS_REPORTER *" aProgressReporter=None)
"void" FootprintEnumerate(self, "wxArrayString &" aFootprintNames, "wxString" aLibraryPath, "bool" aBestEfforts, "PROPERTIES const *" aProperties=None)
"FOOTPRINT *" FootprintLoad(self, "wxString" aLibraryPath, "wxString" aFootprintName, "bool" aKeepUUID=False, "PROPERTIES const *" aProperties=None)
"BOARD *" DoLoad(self, "LINE_READER" aReader, "BOARD" aAppendToMe, "PROPERTIES const *" aProperties, "PROGRESS_REPORTER *" aProgressReporter, "unsigned int" aLineCount)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
"wxPoint" GetCenter(self)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"BOX2I const" ViewBBox(self)
"bool" ClassOf("EDA_ITEM" aItem)
"void" SetPosition(self, "wxPoint" aPos)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
def __init__(self, *args)
"FOOTPRINT *" GetParentFootprint(self)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"wxString" GetClass(self)
"void" Scale(self, "double" aScale)
"EDA_RECT const" GetBoundingBox(self)
"bool" HitTest(self, *args)
"BITMAPS" GetMenuImage(self)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"wxPoint const" GetFocusPosition(self)
"void" SwapData(self, "BOARD_ITEM" aImage)
"wxPoint" GetPosition(self)
"void" Move(self, "wxPoint" aMoveVector)
"bool" IsType(self, "KICAD_T const []" aScanTypes)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
"double" GetArcAngleStart(self)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
def __init__(self, *args)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
"EDA_RECT const" GetBoundingBox(self)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"BITMAPS" GetMenuImage(self)
"void" SetPosition(self, "wxPoint" aPos)
"void" SetWidth(self, "int" aWidth)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"bool" ClassOf("EDA_ITEM" aItem)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"void" SetSize(self, "int" aSize)
"bool" HitTest(self, *args)
"void" Move(self, "wxPoint" aMoveVector)
"void" SwapData(self, "BOARD_ITEM" aImage)
"wxPoint" GetPosition(self)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"void" SetShape(self, "int" aShape)
"wxString" GetClass(self)
"bool" ClassOf("EDA_ITEM" aItem)
"void" Move(self, "wxPoint" aMoveVector)
def __init__(self, "BOARD_ITEM" parent)
"bool" HitTest(self, *args)
"wxString" GetClass(self)
"void" SetVisible(self, "bool" aVisible)
"bool" IsType(self, "KICAD_T const []" aScanTypes)
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
"void" SwapData(self, "BOARD_ITEM" aImage)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" aIgnoreLineWidth=False)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
"void" SetTextAngle(self, "double" aAngle)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"void" SetPosition(self, "wxPoint" aPos)
"BITMAPS" GetMenuImage(self)
"bool" TextHitTest(self, *args)
"wxPoint" GetPosition(self)
"EDA_RECT const" GetBoundingBox(self)
"void" TransformTextShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"wxString" GetShownText(self, "int" aDepth=0, "bool" aAllowExtraText=True)
"wxPoint const &" GetEnd(self)
"bool" IsOnCopperLayer(self)
"BITMAPS" GetMenuImage(self)
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
"int" GetLocalClearance(self, "wxString" aSource)
"bool" ApproxCollinear(self, "PCB_TRACK" aTrack)
"wxPoint const &" GetEndPoint(self, "ENDPOINT_T" aEndPoint)
"void" SetEndX(self, "int" aX)
"void" SetEnd(self, "wxPoint" aEnd)
"SEARCH_RESULT" Visit(self, "INSPECTOR" inspector, "void *" testData, "KICAD_T const []" scanTypes)
"bool" HitTest(self, *args)
"void" SwapData(self, "BOARD_ITEM" aImage)
"wxPoint" GetPosition(self)
"void" Move(self, "wxPoint" aMoveVector)
"wxString" GetClass(self)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
"EDA_ITEM_FLAGS" IsPointOnEnds(self, "wxPoint" point, "int" min_dist=0)
"void" SetEndY(self, "int" aY)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
def __init__(self, "BOARD_ITEM" aParent, "KICAD_T" idtype=PCB_TRACE_T)
"EDA_RECT const" GetBoundingBox(self)
"void" SetPosition(self, "wxPoint" aPos)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
"BOX2I const" ViewBBox(self)
"wxPoint const &" GetStart(self)
"wxPoint const" GetFocusPosition(self)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"bool" ClassOf("EDA_ITEM" aItem)
"void" SetStart(self, "wxPoint" aStart)
"void" SetWidth(self, "int" aWidth)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
"bool" HitTest(self, *args)
"void" SwapData(self, "BOARD_ITEM" aImage)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"void" LayerPair(self, "PCB_LAYER_ID *" top_layer, "PCB_LAYER_ID *" bottom_layer)
"bool" IsDrillDefault(self)
"PCB_LAYER_ID" TopLayer(self)
"void" SetPosition(self, "wxPoint" aPoint)
"wxPoint" GetPosition(self)
"bool" IsType(self, "KICAD_T const []" aScanTypes)
"BITMAPS" GetMenuImage(self)
"void" SetLayerPair(self, "PCB_LAYER_ID" aTopLayer, "PCB_LAYER_ID" aBottomLayer)
"int" GetMinAnnulus(self, "PCB_LAYER_ID" aLayer, "wxString" aSource)
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
"void" SetLayerSet(self, "LSET" aLayers)
def __init__(self, "BOARD_ITEM" aParent)
"void" SetBottomLayer(self, "PCB_LAYER_ID" aLayer)
"bool" FlashLayer(self, *args)
"void" SanitizeLayers(self)
"VIATYPE" GetViaType(self)
"void" SetDrill(self, "int" aDrill)
"void" SetViaType(self, "VIATYPE" aViaType)
"bool" IsOnLayer(self, "PCB_LAYER_ID" aLayer)
"void" SetDrillDefault(self)
"PCB_LAYER_ID" BottomLayer(self)
"void" SetKeepTopBottom(self, "bool" aSet)
"bool" GetKeepTopBottom(self)
"bool" ClassOf("EDA_ITEM" aItem)
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
"void" SetTopLayer(self, "PCB_LAYER_ID" aLayer)
"int" GetDrillValue(self)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"bool" GetRemoveUnconnected(self)
"void" SetIsFree(self, "bool" aFree=True)
"wxString" GetClass(self)
"void" SetRemoveUnconnected(self, "bool" aSet)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"std::string" GetFrontSideName()
"std::string" GetBackSideName()
"std::string" GenReportData(self)
"int" GetFootprintCount(self)
def __init__(self, "BOARD" aBoard, "bool" aUnitsMM, "bool" aOnlySMD, "bool" aExcludeAllTH, "bool" aTopSide, "bool" aBottomSide, "bool" aFormatCSV, "bool" aUseAuxOrigin)
"std::string" GenPositionData(self)
"void" ThickCircle(self, "wxPoint" pos, "int" diametre, "int" width, "OUTLINE_MODE" tracemode, "void *" aData)
"void" MoveTo(self, "wxPoint" pos)
"double" GetIUsPerDecimil(self)
"void" ThickSegment(self, "wxPoint" start, "wxPoint" end, "int" width, "OUTLINE_MODE" tracemode, "void *" aData)
"void" SetPageSettings(self, "PAGE_INFO const &" aPageSettings)
"void" FlashPadTrapez(self, "wxPoint" aPadPos, "wxPoint" aCorners, "double" aPadOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
"void" LineTo(self, "wxPoint" pos)
"void" SetTextMode(self, "PLOT_TEXT_MODE" mode)
"void" SetDash(self, "PLOT_DASH_TYPE" dashed)
"void" FlashRegularPolygon(self, "wxPoint" aShapePos, "int" aDiameter, "int" aCornerCount, "double" aOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
"void" SetColor(self, "COLOR4D" color)
"void" PlotPoly(self, *args)
"void" FlashPadCircle(self, "wxPoint" aPadPos, "int" aDiameter, "OUTLINE_MODE" aTraceMode, "void *" aData)
"bool" OpenFile(self, "wxString" aFullFilename)
"void" StartBlock(self, "void *" aData)
"void" FlashPadCustom(self, "wxPoint" aPadPos, "wxSize" aSize, "double" aPadOrient, "SHAPE_POLY_SET" aPolygons, "OUTLINE_MODE" aTraceMode, "void *" aData)
"void" FinishTo(self, "wxPoint" pos)
"void" SetColorMode(self, "bool" aColorMode)
"void" AddLineToHeader(self, "wxString" aExtraString)
"PAGE_INFO &" PageSettings(self)
"int" GetCurrentLineWidth(self)
"PLOT_FORMAT" GetPlotterType(self)
"void" FlashPadRoundRect(self, "wxPoint" aPadPos, "wxSize" aSize, "int" aCornerRadius, "double" aOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
"void" PlotImage(self, "wxImage const &" aImage, "wxPoint" aPos, "double" aScaleFactor)
"void" SetNegative(self, "bool" aNegative)
"int" GetPlotterArcLowDef(self)
"void" Text(self, "wxPoint" aPos, "COLOR4D" aColor, "wxString" aText, "double" aOrient, "wxSize" aSize, "enum EDA_TEXT_HJUSTIFY_T" aH_justify, "enum EDA_TEXT_VJUSTIFY_T" aV_justify, "int" aWidth, "bool" aItalic, "bool" aBold, "bool" aMultilineAllowed=False, "void *" aData=None)
"void" FlashPadOval(self, "wxPoint" aPadPos, "wxSize" aSize, "double" aPadOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
"void" SetRenderSettings(self, "RENDER_SETTINGS *" aSettings)
"void" SetLayerPolarity(self, "bool" aPositive)
"void" ThickArc(self, "wxPoint" centre, "double" StAngle, "double" EndAngle, "int" rayon, "int" width, "OUTLINE_MODE" tracemode, "void *" aData)
"void" EndBlock(self, "void *" aData)
"void" ThickRect(self, "wxPoint" p1, "wxPoint" p2, "int" width, "OUTLINE_MODE" tracemode, "void *" aData)
"void" SetViewport(self, "wxPoint" aOffset, "double" aIusPerDecimil, "double" aScale, "bool" aMirror)
"void" SetCurrentLineWidth(self, "int" width, "void *" aData=None)
"void" SetTitle(self, "wxString" aTitle)
"void" FlashPadRect(self, "wxPoint" aPadPos, "wxSize" aSize, "double" aPadOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
"void" Marker(self, "wxPoint" position, "int" diametre, "unsigned int" aShapeId)
"void" SetCreator(self, "wxString" aCreator)
"bool" GetColorMode(self)
"void" ClearHeaderLinesList(self)
"void" FilledCircle(self, "wxPoint" pos, "int" diametre, "OUTLINE_MODE" tracemode, "void *" aData)
"void" PenTo(self, "wxPoint" pos, "char" plume)
"void" SetGerberCoordinatesFormat(self, "int" aResolution, "bool" aUseInches=False)
"int" GetPlotterArcHighDef(self)
"void" BezierCurve(self, *args)
def __init__(self, *args, **kwargs)
"RENDER_SETTINGS *" RenderSettings(self)
"void" SetSvgCoordinatesFormat(self, "unsigned int" aResolution, "bool" aUseInches=False)
"void" Circle(self, *args)
"void" SetLayer(self, "LAYER_NUM" aLayer)
"void" SetColorMode(self, "bool" aColorMode)
"wxString const" GetPlotDirName(self)
def __init__(self, "BOARD" aBoard)
"PCB_PLOT_PARAMS &" GetPlotOptions(self)
"bool" OpenPlotfile(self, "wxString" aSuffix, "PLOT_FORMAT" aFormat, "wxString" aSheetDesc)
"bool" GetColorMode(self)
"wxString const" GetPlotFileName(self)
"LAYER_NUM" GetLayer(self)
"wxArrayString" footprintPyEnumerate(self, "wxString" aLibraryPath, "bool" aExitOnError)
"bool" FootprintExists(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
"BOARD *" Load(self, "wxString" aFileName, "BOARD" aAppendToMe, "PROPERTIES const *" aProperties=None, "PROJECT *" aProject=None, "PROGRESS_REPORTER *" aProgressReporter=None)
"bool" IsFootprintLibWritable(self, "wxString" aLibraryPath)
"wxString const" GetFileExtension(self)
"void" Save(self, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None)
"void" FootprintLibOptions(self, "PROPERTIES *" aListToAppendTo)
"std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >" GetImportedCachedLibraryFootprints(self)
def __init__(self, *args, **kwargs)
"void" FootprintEnumerate(self, "wxArrayString &" aFootprintNames, "wxString" aLibraryPath, "bool" aBestEfforts, "PROPERTIES const *" aProperties=None)
"wxString const" PluginName(self)
"long long" GetLibraryTimestamp(self, "wxString" aLibraryPath)
"FOOTPRINT const *" GetEnumeratedFootprint(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
"bool" FootprintLibDelete(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
"FOOTPRINT *" FootprintLoad(self, "wxString" aLibraryPath, "wxString" aFootprintName, "bool" aKeepUUID=False, "PROPERTIES const *" aProperties=None)
"void" FootprintDelete(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
"void" PrefetchLib(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
"void" FootprintSave(self, "wxString" aLibraryPath, "FOOTPRINT" aFootprint, "PROPERTIES const *" aProperties=None)
"void" FootprintLibCreate(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
"void" register_action("PyObject *" wizard)
"void" deregister_action("PyObject *" wizard)
"COLOR_SETTINGS *" AddNewColorSettings(self, "wxString" aFilename)
"bool" SaveProject(self, *args)
"void" SetMigrateLibraryTables(self, "bool" aMigrate=True)
"bool" TriggerBackupIfNeeded(self, "REPORTER &" aReporter)
"wxString" GetColorSettingsPath()
"PROJECT *" GetProject(self, "wxString" aFullPath)
"bool" BackupProject(self, "REPORTER &" aReporter)
"bool" LoadProject(self, "wxString" aFullPath, "bool" aSetActive=True)
"std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >" GetColorSettingsList(self)
"void" SaveColorSettings(self, *args)
"COMMON_SETTINGS *" GetCommonSettings(self)
"COLOR_SETTINGS *" GetMigratedColorSettings(self)
"std::vector< wxString,std::allocator< wxString > >" GetOpenProjects(self)
"COLOR_SETTINGS *" GetColorSettings(self, *args)
"bool" UnloadProject(self, "PROJECT *" aProject, "bool" aSave=True)
"wxString" GetProjectBackupsPath(self)
def __init__(self, "bool" aHeadless=False)
"wxString" GetUserSettingsPath()
"void" FlushAndRelease(self, "JSON_SETTINGS *" aSettings, "bool" aSave=True)
"void" SetMigrationSource(self, "wxString" aSource)
"void" SetKiway(self, "KIWAY *" aKiway)
"bool" IsProjectOpen(self)
"bool" MigrateIfNeeded(self)
"bool" IsSettingsPathValid("wxString" aPath)
"void" SaveProjectCopy(self, "wxString" aFullPath, "PROJECT *" aProject=None)
"void" SaveProjectAs(self, "wxString" aFullPath, "PROJECT *" aProject=None)
"std::string" GetSettingsVersion()
"bool" GetPreviousVersionPaths(self, "std::vector< wxString,std::allocator< wxString > > *" aName=None)
"wxString" GetPathForSettingsFile(self, "JSON_SETTINGS *" aSettings)
"void" ReloadColorSettings(self)
def __init__(self, "SHAPE_TYPE" aType)
"void" GetIndexableSubshapes(self, "std::vector< SHAPE *,std::allocator< SHAPE * > > &" aSubshapes)
"size_t" GetIndexableSubshapeCount(self)
"wxString" TypeName(self)
"bool" HasIndexableSubshapes(self)
"BOX2I *" GetCachedBBox(self)
"SEG const" GetSegment(self, "int" aIndex)
"SEG::ecoord" SquaredDistance(self, "VECTOR2I" aP, "bool" aOutlineOnly=False)
"bool" PointInside(self, "VECTOR2I" aPt, "int" aAccuracy=0, "bool" aUseBBoxCache=False)
"size_t" GetPointCount(self)
"VECTOR2I const" GetPoint(self, "int" aIndex)
"bool" PointOnEdge(self, "VECTOR2I" aP, "int" aAccuracy=0)
"size_t" GetSegmentCount(self)
"bool" Collide(self, *args)
"int" EdgeContainingPoint(self, "VECTOR2I" aP, "int" aAccuracy=0)
def __init__(self, *args, **kwargs)
"SHAPE_LINE_CHAIN &" Simplify(self, "bool" aRemoveColinear=True)
"SEG" Segment(self, "int" aIndex)
"SHAPE_ARC const &" Arc(self, "size_t" aArc)
"std::vector< VECTOR2I,std::allocator< VECTOR2I > > const &" CPoints(self)
"bool" CompareGeometry(self, "SHAPE_LINE_CHAIN" aOther)
"void" RemoveShape(self, "int" aPointIndex)
"BOX2I *" GetCachedBBox(self)
"VECTOR2I const &" CPoint(self, "int" aIndex)
"void" Append(self, *args)
"ssize_t" ArcIndex(self, "size_t" aSegment)
"int" Split(self, "VECTOR2I" aP)
"std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &" CArcs(self)
"void" GenerateBBoxCache(self)
"size_t" GetPointCount(self)
"bool" __ne__(self, "SHAPE_LINE_CHAIN" aRhs)
"int" FindSegment(self, "VECTOR2I" aP, "int" aThreshold=1)
"void" Remove(self, *args)
"SEG const" GetSegment(self, "int" aIndex)
"int" PrevShape(self, "int" aPointIndex)
"OPT< SHAPE_LINE_CHAIN::INTERSECTION > const" SelfIntersecting(self)
"void" Move(self, "VECTOR2I" aVector)
"int" PathLength(self, "VECTOR2I" aP, "int" aIndex=-1)
"BOX2I const" BBox(self, "int" aClearance=0)
"VECTOR2I const" GetPoint(self, "int" aIndex)
"bool" IsArcStart(self, "size_t" aIndex)
"std::string const" Format(self)
"void" Replace(self, *args)
"VECTOR2I const &" CLastPoint(self)
"size_t" GetSegmentCount(self)
"bool" IsSharedPt(self, "size_t" aIndex)
"bool" Collide(self, *args)
"bool" Intersects(self, "SHAPE_LINE_CHAIN" aChain)
"std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &" CShapes(self)
"void" Rotate(self, *args)
"int" NearestSegment(self, "VECTOR2I" aP)
"int" Find(self, "VECTOR2I" aP, "int" aThreshold=0)
"void" Mirror(self, *args)
"bool" IsArcEnd(self, "size_t" aIndex)
"void" SetWidth(self, "int" aWidth)
"void" SetClosed(self, "bool" aClosed)
"VECTOR2I const" PointAlong(self, "int" aPathLength)
"int" Intersect(self, *args)
"bool" Parse(self, "std::stringstream &" aStream)
"int" Distance(self, "VECTOR2I" aP, "bool" aOutlineOnly=False)
"SEG const" CSegment(self, "int" aIndex)
"VECTOR2I const" NearestPoint(self, *args)
"bool" IsPtOnArc(self, "size_t" aPtIndex)
"SHAPE_LINE_CHAIN const" Slice(self, "int" aStartIndex, "int" aEndIndex=-1)
"bool" IsArcSegment(self, "size_t" aSegment)
"void" Insert(self, *args)
"double" Area(self, "bool" aAbsolute=True)
"SHAPE_LINE_CHAIN const" Reverse(self)
"int" NextShape(self, "int" aPointIndex, "bool" aForwards=True)
"void" SetPoint(self, "int" aIndex, "VECTOR2I" aPos)
def __init__(self, *args)
"bool" CheckClearance(self, "VECTOR2I" aP, "int const" aDist)
"int" NormalizeAreaOutlines(self)
"SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR" CIterateSegments(self, *args)
"VECTOR2I const &" CVertex(self, *args)
"bool" IsSelfIntersecting(self)
"void" InsertVertex(self, "int" aGlobalIndex, "VECTOR2I" aNewVertex)
"BOX2I const" BBoxFromCaches(self)
"SHAPE_POLY_SET::POLYGON const &" Polygon(self, *args)
"SHAPE_POLY_SET::ITERATOR" IterateFromVertexWithHoles(self, "int" aGlobalIdx)
"bool" IsVertexInHole(self, "int" aGlobalIdx)
"void" Inflate(self, *args)
"SHAPE_POLY_SET::POLYGON" FilletPolygon(self, "unsigned int" aRadius, "int" aErrorMax, "int" aIndex)
"void" RemoveAllContours(self)
"SHAPE_POLY_SET::POLYGON" ChamferPolygon(self, "unsigned int" aDistance, "int" aIndex)
"bool" PointOnEdge(self, "VECTOR2I" aP)
"void" BooleanAdd(self, *args)
"int" NewHole(self, "int" aOutline=-1)
"SHAPE_POLY_SET" Subset(self, "int" aFirstPolygon, "int" aLastPolygon)
"void" BuildBBoxCaches(self)
"SHAPE_POLY_SET::SEGMENT_ITERATOR" IterateSegments(self, *args)
"void" BooleanSubtract(self, *args)
"bool" CollideVertex(self, "VECTOR2I" aPoint, "SHAPE_POLY_SET::VERTEX_INDEX &" aClosestVertex, "int" aClearance=0)
"bool" IsPolygonSelfIntersecting(self, "int" aPolygonIndex)
"SHAPE_POLY_SET::CONST_ITERATOR" CIterateWithHoles(self, *args)
"size_t" GetIndexableSubshapeCount(self)
"SHAPE_POLY_SET::TRIANGULATED_POLYGON const *" TriangulatedPolygon(self, "int" aIndex)
"int" HoleCount(self, "int" aOutline)
"void" CacheTriangulation(self, "bool" aPartition=True)
"int" FullPointCount(self)
"SHAPE_POLY_SET::ITERATOR" Iterate(self, *args)
"void" InflateWithLinkedHoles(self, "int" aFactor, "int" aCircleSegmentsCount, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode)
"SHAPE_POLY_SET::ITERATOR" IterateWithHoles(self, *args)
"bool" GetGlobalIndex(self, "SHAPE_POLY_SET::VERTEX_INDEX" aRelativeIndices, "int &" aGlobalIdx)
"BOX2I const" BBox(self, "int" aClearance=0)
"int" Append(self, *args)
"void" Fracture(self, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode)
"SHAPE_POLY_SET::POLYGON const &" CPolygon(self, "int" aIndex)
"bool" Collide(self, *args)
"void" Rotate(self, *args)
"SHAPE_POLY_SET" Fillet(self, "int" aRadius, "int" aErrorMax)
"SHAPE_POLY_SET" Chamfer(self, "int" aDistance)
"void" SetVertex(self, *args)
"void" RemoveVertex(self, *args)
"SEG::ecoord" SquaredDistance(self, *args)
"bool" Contains(self, "VECTOR2I" aP, "int" aSubpolyIndex=-1, "int" aAccuracy=0, "bool" aUseBBoxCaches=False)
"int" AddHole(self, "SHAPE_LINE_CHAIN" aHole, "int" aOutline=-1)
"std::string const" Format(self)
"unsigned int" TriangulatedPolyCount(self)
"int" VertexCount(self, "int" aOutline=-1, "int" aHole=-1)
"SHAPE_POLY_SET" UnitSet(self, "int" aPolygonIndex)
"void" DeletePolygon(self, "int" aIdx)
"SHAPE_LINE_CHAIN const &" CHole(self, "int" aOutline, "int" aHole)
"bool" HasTouchingHoles(self)
"bool" Parse(self, "std::stringstream &" aStream)
"bool" GetNeighbourIndexes(self, "int" aGlobalIndex, "int *" aPrevious, "int *" aNext)
def __init__(self, *args)
"void" Mirror(self, *args)
"SHAPE_LINE_CHAIN const &" COutline(self, "int" aIndex)
"int" AddOutline(self, "SHAPE_LINE_CHAIN" aOutline)
"SHAPE_POLY_SET::SEGMENT_ITERATOR" IterateSegmentsWithHoles(self, *args)
"void" Deflate(self, *args)
"SEG::ecoord" SquaredDistanceToPolygon(self, *args)
"void" BooleanIntersection(self, *args)
"void" RemoveContour(self, "int" aContourIdx, "int" aPolygonIdx=-1)
"bool" CollideEdge(self, "VECTOR2I" aPoint, "SHAPE_POLY_SET::VERTEX_INDEX &" aClosestVertex, "int" aClearance=0)
"bool" HasIndexableSubshapes(self)
"SHAPE_LINE_CHAIN const &" Outline(self, *args)
"bool" GetRelativeIndices(self, "int" aGlobalIdx, "SHAPE_POLY_SET::VERTEX_INDEX *" aRelativeIndices)
"int" TotalVertices(self)
"void" Simplify(self, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode)
"int" RemoveNullSegments(self)
"SHAPE_POLY_SET::CONST_ITERATOR" CIterate(self, *args)
"SHAPE_POLY_SET const" BuildPolysetFromOrientedPaths("std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const &" aPaths, "bool" aReverseOrientation=False, "bool" aEvenOdd=False)
"void" Unfracture(self, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode)
"SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR" CIterateSegmentsWithHoles(self, *args)
"void" GetIndexableSubshapes(self, "std::vector< SHAPE *,std::allocator< SHAPE * > > &" aSubshapes)
"void" GetArcs(self, "std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > &" aArcBuffer)
"SHAPE_LINE_CHAIN &" Hole(self, "int" aOutline, "int" aHole)
"void" Move(self, "VECTOR2I" aVector)
"bool" IsTriangulationUpToDate(self)
"void" Move(self, "VECTOR2I" aVector)
"void" Rotate(self, *args)
def __init__(self, *args, **kwargs)
"bool" Parse(self, "std::stringstream &" aStream)
"BOX2I const" BBox(self, "int" aClearance=0)
"bool" Collide(self, *args)
"std::string const" Format(self)
def __init__(self, *args)
"std::set< wxString >::size_type" count(self, "wxString" x)
"std::set< wxString >::size_type" __len__(self)
"std::pair< std::set< wxString >::iterator,bool >" insert(self, "wxString" __x)
"std::set< wxString >::iterator" lower_bound(self, "wxString" x)
"void" swap(self, "STRINGSET" v)
"void" erase(self, *args)
"void" add(self, "wxString" x)
"void" append(self, "wxString" x)
"std::set< wxString >::size_type" size(self)
"std::set< wxString >::iterator" upper_bound(self, "wxString" x)
"void" discard(self, "wxString" x)
"bool" __contains__(self, "wxString" x)
"std::set< wxString >::iterator" find(self, "wxString" x)
"swig::SwigPyIterator *" iterator(self)
"std::set< wxString >::iterator" begin(self)
"std::set< wxString >::iterator" end(self)
"std::set< wxString >::value_type" __getitem__(self, "std::set< wxString >::difference_type" i)
"std::pair< std::set< wxString >::iterator,std::set< wxString >::iterator >" equal_range(self, "wxString" x)
"std::set< wxString >::reverse_iterator" rbegin(self)
"std::set< wxString >::reverse_iterator" rend(self)
def __init__(self, *args)
def __init__(self, "int" aSetOfBits=0)
def __init__(self, "wxString" aText, "bool" aVisible, "int" aLayer)
"wxString const &" GetTitle(self)
"wxString const &" GetCompany(self)
"wxString const &" GetComment(self, "int" aIdx)
"wxString const &" GetDate(self)
"void" Format(self, "OUTPUTFORMATTER" aFormatter, "int" aNestLevel, "int" aControlBits)
"bool" TextVarResolver(self, "wxString" aToken, "PROJECT const *" aProject)
"void" SetComment(self, "int" aIdx, "wxString" aComment)
"void" SetTitle(self, "wxString" aTitle)
"void" SetCompany(self, "wxString" aCompany)
"void" GetContextualTextVars("wxArrayString *" aVars)
"void" SetDate(self, "wxString" aDate)
"wxString const &" GetRevision(self)
"void" SetRevision(self, "wxString" aRevision)
"void" swap(self, "TRACKS_VEC" v)
"std::vector< PCB_TRACK * >::iterator" erase(self, *args)
"void" __setslice__(self, *args)
"void" __delitem__(self, *args)
"std::vector< PCB_TRACK * >::value_type" front(self)
"std::vector< PCB_TRACK * >::size_type" size(self)
"void" __delslice__(self, "std::vector< PCB_TRACK * >::difference_type" i, "std::vector< PCB_TRACK * >::difference_type" j)
"void" __setitem__(self, *args)
"std::vector< PCB_TRACK * >::value_type" pop(self)
"void" push_back(self, "PCB_TRACK" x)
"std::vector< PCB_TRACK *,std::allocator< PCB_TRACK * > > *" __getslice__(self, "std::vector< PCB_TRACK * >::difference_type" i, "std::vector< PCB_TRACK * >::difference_type" j)
"std::vector< PCB_TRACK * >::reverse_iterator" rbegin(self)
"void" reserve(self, "std::vector< PCB_TRACK * >::size_type" n)
"void" resize(self, *args)
"void" insert(self, *args)
"void" assign(self, "std::vector< PCB_TRACK * >::size_type" n, "PCB_TRACK" x)
"std::vector< PCB_TRACK * >::size_type" __len__(self)
"void" append(self, "PCB_TRACK" x)
"std::vector< PCB_TRACK * >::value_type" __getitem__(self, *args)
"std::vector< PCB_TRACK * >::allocator_type" get_allocator(self)
"swig::SwigPyIterator *" iterator(self)
"std::vector< PCB_TRACK * >::reverse_iterator" rend(self)
def __init__(self, *args)
"std::vector< PCB_TRACK * >::iterator" end(self)
"std::vector< PCB_TRACK * >::value_type" back(self)
"std::vector< PCB_TRACK * >::size_type" capacity(self)
"std::vector< PCB_TRACK * >::iterator" begin(self)
"std::deque< PCB_TRACK * >::value_type" back(self)
"std::deque< PCB_TRACK * >::reverse_iterator" rbegin(self)
"std::deque< PCB_TRACK * >::size_type" size(self)
"void" push_back(self, "PCB_TRACK" x)
"void" resize(self, *args)
"void" __setslice__(self, *args)
"std::deque< PCB_TRACK * >::value_type" __getitem__(self, *args)
"std::deque< PCB_TRACK *,std::allocator< PCB_TRACK * > > *" __getslice__(self, "std::deque< PCB_TRACK * >::difference_type" i, "std::deque< PCB_TRACK * >::difference_type" j)
"std::deque< PCB_TRACK * >::value_type" front(self)
"void" assign(self, "std::deque< PCB_TRACK * >::size_type" n, "PCB_TRACK" x)
"void" __setitem__(self, *args)
"std::deque< PCB_TRACK * >::size_type" __len__(self)
"std::deque< PCB_TRACK * >::reverse_iterator" rend(self)
"void" __delslice__(self, "std::deque< PCB_TRACK * >::difference_type" i, "std::deque< PCB_TRACK * >::difference_type" j)
"std::deque< PCB_TRACK * >::iterator" erase(self, *args)
"void" push_front(self, "PCB_TRACK" x)
"swig::SwigPyIterator *" iterator(self)
"void" __delitem__(self, *args)
def __init__(self, *args)
"std::deque< PCB_TRACK * >::iterator" begin(self)
"void" append(self, "PCB_TRACK" x)
"void" insert(self, *args)
"std::deque< PCB_TRACK * >::allocator_type" get_allocator(self)
"std::deque< PCB_TRACK * >::iterator" end(self)
"void" swap(self, "TRACKS" v)
"std::deque< PCB_TRACK * >::value_type" pop(self)
"wxString" utf8_to_wxstring(self)
"std::string::const_iterator" begin(self)
"std::string const &" utf8_to_string(self)
"std::string::size_type" length(self)
def __init__(self, *args)
"char const *" c_str(self)
"std::string::size_type" find_first_of(self, "string" str, "std::string::size_type" pos=0)
"char const *" Cast_to_CChar(self)
"std::string::const_iterator" end(self)
"int" compare(self, "string" s)
"std::string" substr(self, *args)
"bool" __eq__(self, *args)
"UTF8 &" __iadd__(self, *args)
"std::string::size_type" find(self, *args)
"std::string::size_type" size(self)
"VECTOR2< int >" Rotate(self, "double" aAngle)
"VECTOR2< int >" Perpendicular(self)
"bool" __ge__(self, "VECTOR2I" aVector)
"VECTOR2< int >" __sub__(self, *args)
"bool" __eq__(self, "VECTOR2I" aVector)
"VECTOR2< int >::extended_type" Dot(self, "VECTOR2I" aVector)
"VECTOR2< int > &" __iadd__(self, *args)
"int" EuclideanNorm(self)
"bool" __gt__(self, "VECTOR2I" aVector)
"bool" __lt__(self, "VECTOR2I" aVector)
"VECTOR2< int >::extended_type" SquaredEuclideanNorm(self)
"VECTOR2< int > &" __isub__(self, *args)
def __truediv__(self, *args)
"VECTOR2< int >" __neg__(self)
"VECTOR2< int >" __mul__(self, *args)
def __setitem__(self, index, val)
"wxPoint" getWxPoint(self)
"VECTOR2< int >::extended_type" Cross(self, "VECTOR2I" aVector)
def __init__(self, *args)
"std::string const" Format(self)
"VECTOR2< int >" Resize(self, "int" aNewLength)
"bool" __le__(self, "VECTOR2I" aVector)
def __getitem__(self, index)
"void" Set(self, "long" x, "long" y)
"bool" __ne__(self, "VECTOR2I" aVector)
"VECTOR2< int >" __add__(self, *args)
"std::vector< VECTOR2< int > >::iterator" begin(self)
"std::vector< VECTOR2< int > >::size_type" size(self)
"void" append(self, "VECTOR2I" x)
"void" __delslice__(self, "std::vector< VECTOR2< int > >::difference_type" i, "std::vector< VECTOR2< int > >::difference_type" j)
"std::vector< VECTOR2< int > >::iterator" erase(self, *args)
"void" __delitem__(self, *args)
"void" __setitem__(self, *args)
"void" insert(self, *args)
"std::vector< VECTOR2< int >,std::allocator< VECTOR2< int > > > *" __getslice__(self, "std::vector< VECTOR2< int > >::difference_type" i, "std::vector< VECTOR2< int > >::difference_type" j)
"void" reserve(self, "std::vector< VECTOR2< int > >::size_type" n)
"void" push_back(self, "VECTOR2I" x)
"std::vector< VECTOR2< int > >::allocator_type" get_allocator(self)
"std::vector< VECTOR2< int > >::value_type const &" back(self)
"std::vector< VECTOR2< int > >::value_type" pop(self)
def __init__(self, *args)
"std::vector< VECTOR2< int > >::size_type" capacity(self)
"void" resize(self, *args)
"void" __setslice__(self, *args)
"std::vector< VECTOR2< int > >::reverse_iterator" rend(self)
"std::vector< VECTOR2< int > >::value_type const &" front(self)
"void" assign(self, "std::vector< VECTOR2< int > >::size_type" n, "VECTOR2I" x)
"std::vector< VECTOR2< int > >::value_type const &" __getitem__(self, *args)
"void" swap(self, "VECTOR_VECTOR2I" v)
"std::vector< VECTOR2< int > >::reverse_iterator" rbegin(self)
"std::vector< VECTOR2< int > >::iterator" end(self)
"swig::SwigPyIterator *" iterator(self)
"std::vector< VECTOR2< int > >::size_type" __len__(self)
"std::vector< VIA_DIMENSION >::reverse_iterator" rbegin(self)
"void" assign(self, "std::vector< VIA_DIMENSION >::size_type" n, "VIA_DIMENSION" x)
"void" __setitem__(self, *args)
"std::vector< VIA_DIMENSION >::reverse_iterator" rend(self)
"swig::SwigPyIterator *" iterator(self)
"std::vector< VIA_DIMENSION >::value_type const &" __getitem__(self, *args)
"std::vector< VIA_DIMENSION >::value_type const &" front(self)
"std::vector< VIA_DIMENSION >::allocator_type" get_allocator(self)
"void" __setslice__(self, *args)
def __init__(self, *args)
"std::vector< VIA_DIMENSION >::iterator" end(self)
"void" resize(self, *args)
"void" __delslice__(self, "std::vector< VIA_DIMENSION >::difference_type" i, "std::vector< VIA_DIMENSION >::difference_type" j)
"std::vector< VIA_DIMENSION >::size_type" capacity(self)
"std::vector< VIA_DIMENSION >::iterator" begin(self)
"void" insert(self, *args)
"std::vector< VIA_DIMENSION >::size_type" __len__(self)
"std::vector< VIA_DIMENSION >::iterator" erase(self, *args)
"void" swap(self, "VIA_DIMENSION_Vector" v)
"void" reserve(self, "std::vector< VIA_DIMENSION >::size_type" n)
"void" __delitem__(self, *args)
"void" append(self, "VIA_DIMENSION" x)
"std::vector< VIA_DIMENSION >::value_type" pop(self)
"void" push_back(self, "VIA_DIMENSION" x)
"std::vector< VIA_DIMENSION >::size_type" size(self)
"std::vector< VIA_DIMENSION >::value_type const &" back(self)
"std::vector< VIA_DIMENSION,std::allocator< VIA_DIMENSION > > *" __getslice__(self, "std::vector< VIA_DIMENSION >::difference_type" i, "std::vector< VIA_DIMENSION >::difference_type" j)
"bool" __lt__(self, "VIA_DIMENSION" aOther)
"bool" __eq__(self, "VIA_DIMENSION" aOther)
def __init__(self, *args)
"bool" ExportVRML_File(self, "wxString" aFullFileName, "double" aMMtoWRMLunit, "bool" aExport3DFiles, "bool" aUseRelativePaths, "wxString" a3D_Subdir, "double" aXRef, "double" aYRef)
"void" append(self, "ZONE" x)
"std::vector< ZONE * >::iterator" begin(self)
"void" __delslice__(self, "std::vector< ZONE * >::difference_type" i, "std::vector< ZONE * >::difference_type" j)
"void" __setslice__(self, *args)
"void" push_back(self, "ZONE" x)
def __init__(self, *args)
"std::vector< ZONE * >::iterator" end(self)
"std::vector< ZONE * >::size_type" capacity(self)
"void" resize(self, *args)
"void" __delitem__(self, *args)
"std::vector< ZONE * >::value_type" back(self)
"std::vector< ZONE *,std::allocator< ZONE * > > *" __getslice__(self, "std::vector< ZONE * >::difference_type" i, "std::vector< ZONE * >::difference_type" j)
"std::vector< ZONE * >::value_type" front(self)
"void" __setitem__(self, *args)
"std::vector< ZONE * >::size_type" __len__(self)
"std::vector< ZONE * >::size_type" size(self)
"std::vector< ZONE * >::allocator_type" get_allocator(self)
"void" insert(self, *args)
"swig::SwigPyIterator *" iterator(self)
"void" swap(self, "ZONES" v)
"std::vector< ZONE * >::iterator" erase(self, *args)
"void" assign(self, "std::vector< ZONE * >::size_type" n, "ZONE" x)
"void" reserve(self, "std::vector< ZONE * >::size_type" n)
"std::vector< ZONE * >::value_type" pop(self)
"std::vector< ZONE * >::reverse_iterator" rbegin(self)
"std::vector< ZONE * >::value_type" __getitem__(self, *args)
"std::vector< ZONE * >::reverse_iterator" rend(self)
def __init__(self, "BOARD" aBoard)
"void" SetProgressReporter(self, "PROGRESS_REPORTER *" aReporter)
"bool" Fill(self, "ZONES" aZones, "bool" aCheck=False, "wxWindow *" aParent=None)
"void" SetCornerSmoothingType(self, "int" aType)
"void" SetCornerRadius(self, "int" aRadius)
"bool const" GetDoNotAllowFootprints(self)
"void" SetupLayersList(self, "wxDataViewListCtrl *" aList, "PCB_BASE_FRAME *" aFrame, "LSET" aLayers, "bool" aFpEditorMode)
"void" SetDoNotAllowTracks(self, "bool" aEnable)
"bool const" GetDoNotAllowTracks(self)
"int" GetCornerSmoothingType(self)
"void" SetIsRuleArea(self, "bool" aEnable)
"ISLAND_REMOVAL_MODE const" GetIslandRemovalMode(self)
"ZONE_SETTINGS &" __lshift__(self, "ZONE" aSource)
"unsigned int" GetCornerRadius(self)
"void" SetDoNotAllowFootprints(self, "bool" aEnable)
"bool const" GetIsRuleArea(self)
"bool const" GetDoNotAllowPads(self)
"void" SetMinIslandArea(self, "long long" aArea)
"void" SetDoNotAllowVias(self, "bool" aEnable)
"ZONE_CONNECTION" GetPadConnection(self)
"void" SetIslandRemovalMode(self, "ISLAND_REMOVAL_MODE" aRemove)
"long long" GetMinIslandArea(self)
"void" ExportSetting(self, "ZONE" aTarget, "bool" aFullExport=True)
"void" SetDoNotAllowCopperPour(self, "bool" aEnable)
"void" SetDoNotAllowPads(self, "bool" aEnable)
"bool const" GetDoNotAllowVias(self)
"void" SetPadConnection(self, "ZONE_CONNECTION" aPadConnection)
"bool const" GetDoNotAllowCopperPour(self)
"double" GetHatchOrientation(self)
"std::vector< SEG,std::allocator< SEG > > const &" FillSegments(self, *args)
"void" SetZoneName(self, "wxString" aName)
"bool" IsIsland(self, "PCB_LAYER_ID" aLayer, "int" aPolyIdx)
"void" SetMinIslandArea(self, "long long" aArea)
"void" SetCornerPosition(self, "int" aCornerIndex, "wxPoint" new_pos)
"SHAPE_POLY_SET::CONST_ITERATOR" CIterateWithHoles(self)
"ZONE_CONNECTION" GetPadConnection(self, *args)
"void" SetCornerRadius(self, "unsigned int" aRadius)
"SHAPE_POLY_SET::ITERATOR" Iterate(self)
"SHAPE_POLY_SET const *" Outline(self, *args)
"int" GetDefaultHatchPitch()
"ZONE_BORDER_DISPLAY_STYLE" GetHatchStyle(self)
"void" InitDataFromSrcInCopyCtor(self, "ZONE" aZone)
"void" SetHatchOrientation(self, "double" aStep)
"bool" HitTestForEdge(self, *args)
"int" GetThermalReliefSpokeWidth(self, *args)
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
"void" SetLayerSet(self, "LSET" aLayerSet)
"void" SetOutline(self, "SHAPE_POLY_SET" aOutline)
"bool" AppendCorner(self, "wxPoint" aPosition, "int" aHoleIdx, "bool" aAllowDuplication=False)
"int" GetHatchBorderAlgorithm(self)
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
"bool" HitTestForCorner(self, *args)
"EDA_RECT const" GetCachedBoundingBox(self)
"bool" GetIsRuleArea(self)
"bool" IsSame(self, "ZONE" aZoneToCompare)
"void" SetMinThickness(self, "int" aMinThickness)
"int" GetHatchThickness(self)
"void" SetFilledPolysList(self, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aPolysList)
"SHAPE_POLY_SET const &" GetFilledPolysList(self, "PCB_LAYER_ID" aLayer)
"bool" BuildSmoothedPoly(self, "SHAPE_POLY_SET" aSmoothedPoly, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aBoardOutline, "SHAPE_POLY_SET" aSmoothedPolyWithApron=None)
"void" SetThermalReliefGap(self, "int" aThermalReliefGap)
"void" CacheTriangulation(self, "PCB_LAYER_ID" aLayer=UNDEFINED_LAYER)
"int" GetLocalClearance(self, *args)
"PCB_LAYER_ID" GetLayer(self)
"void" SetHatchSmoothingLevel(self, "int" aLevel)
"bool" GetDoNotAllowPads(self)
"void" CacheBoundingBox(self)
"int" GetFillFlag(self, "PCB_LAYER_ID" aLayer)
"bool" GetDoNotAllowCopperPour(self)
"int" GetHatchSmoothingLevel(self)
"BITMAPS" GetMenuImage(self)
"VECTOR2I const &" GetCornerPosition(self, "int" aCornerIndex)
"void" SetFillMode(self, "ZONE_FILL_MODE" aFillMode)
"void" SetBorderDisplayStyle(self, "ZONE_BORDER_DISPLAY_STYLE" aHatchStyle, "int" aHatchPitch, "bool" aRebuildHatch)
"MD5_HASH" GetHashValue(self, "PCB_LAYER_ID" aLayer)
"void" Rotate(self, "wxPoint" aCentre, "double" aAngle)
"void" Mirror(self, "wxPoint" aMirrorRef, "bool" aMirrorLeftRight)
"void" AddPolygon(self, *args)
"bool" GetDoNotAllowVias(self)
"void" Move(self, "wxPoint" offset)
"void" SetHatchThickness(self, "int" aThickness)
"void" SetPosition(self, "wxPoint" aPos)
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
"int" GetNumCorners(self)
"void" SetNeedRefill(self, "bool" aNeedRefill)
"double" GetFilledArea(self)
"int" GetMinThickness(self)
"void" UnHatchBorder(self)
"void" SetHatchStyle(self, "ZONE_BORDER_DISPLAY_STYLE" aStyle)
"bool" HigherPriority(self, "ZONE" aOther)
"bool" SameNet(self, "ZONE" aOther)
"bool" IsOnLayer(self, "PCB_LAYER_ID" arg2)
"bool" HasFilledPolysForLayer(self, "PCB_LAYER_ID" aLayer)
"wxString" GetZoneName(self)
"bool" HitTest(self, *args)
"double" GetHatchSmoothingValue(self)
"void" SetHatchPitch(self, "int" aPitch)
"wxString" GetNetClassName(self)
"int" GetThermalReliefGap(self, *args)
"void" SwapData(self, "BOARD_ITEM" aImage)
"NETCLASS *" GetNetClass(self)
"void" SetThermalReliefSpokeWidth(self, "int" aThermalReliefSpokeWidth)
"void" SetIsIsland(self, "PCB_LAYER_ID" aLayer, "int" aPolyIdx)
"bool" IsOnCopperLayer(self)
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
"void" SetHatchSmoothingValue(self, "double" aValue)
"bool" GetDoNotAllowTracks(self)
"void" SetFillFlag(self, "PCB_LAYER_ID" aLayer, "bool" aFlag)
"void" SetHatchBorderAlgorithm(self, "int" aAlgo)
"void" SetDoNotAllowFootprints(self, "bool" aEnable)
"void" SetHatchGap(self, "int" aStep)
"wxPoint" GetPosition(self)
"bool" HitTestFilledArea(self, "PCB_LAYER_ID" aLayer, "wxPoint" aRefPos, "int" aAccuracy=0)
def __init__(self, *args)
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
"void" MoveEdge(self, "wxPoint" offset, "int" aEdge)
"void" RemoveAllContours(self)
"bool" CommonLayerExists(self, "LSET" aLayerSet)
"double" CalculateFilledArea(self)
"void" SetCornerSmoothingType(self, "int" aType)
"int" GetLocalFlags(self)
"long long" GetMinIslandArea(self)
"int" GetBorderHatchPitch(self)
"int" GetFillVersion(self)
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
"void" TransformSmoothedOutlineToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "int" aClearance, "int" aError, "ERROR_LOC" aErrorLoc, "SHAPE_POLY_SET" aBoardOutline)
"void" SetFillVersion(self, "int" aVersion)
"void" SetDoNotAllowTracks(self, "bool" aEnable)
"std::vector< SEG,std::allocator< SEG > > const &" GetHatchLines(self)
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
"void" SetPriority(self, "unsigned int" aPriority)
"void" SetRawPolysList(self, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aPolysList)
"void" GetInteractingZones(self, "PCB_LAYER_ID" aLayer, "ZONES" aSameNetCollidingZones, "ZONES" aOtherNetIntersectingZones)
"void" SetDoNotAllowCopperPour(self, "bool" aEnable)
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
"void" SetIslandRemovalMode(self, "ISLAND_REMOVAL_MODE" aRemove)
"double" GetHatchHoleMinArea(self)
"void" SetSelectedCorner(self, *args)
"EDA_RECT const" GetBoundingBox(self)
"bool" GetDoNotAllowFootprints(self)
"void" SetLayer(self, "PCB_LAYER_ID" aLayer)
"ZONE_FILL_MODE" GetFillMode(self)
"void" SetIsRuleArea(self, "bool" aEnable)
"bool" HitTestCutout(self, *args)
"void" SetLocalFlags(self, "int" aFlags)
"ISLAND_REMOVAL_MODE const" GetIslandRemovalMode(self)
"void" SetFillSegments(self, "PCB_LAYER_ID" aLayer, "std::vector< SEG,std::allocator< SEG > > const &" aSegments)
"void" SetHatchHoleMinArea(self, "double" aPct)
"wxString" GetClass(self)
"void" RemoveCutout(self, "int" aOutlineIdx, "int" aHoleIdx)
"unsigned int" GetCornerRadius(self)
"void" SetHV45(self, "bool" aConstrain)
"std::mutex &" GetLock(self)
"int" GetSelectedCorner(self)
"SHAPE_POLY_SET &" RawPolysList(self, "PCB_LAYER_ID" aLayer)
"void" SetDoNotAllowVias(self, "bool" aEnable)
"void" SetDoNotAllowPads(self, "bool" aEnable)
"bool" ClassOf("EDA_ITEM" aItem)
"int" GetCornerSmoothingType(self)
"void" SetIsFilled(self, "bool" isFilled)
"void" TransformSolidAreasShapesToPolygon(self, *args)
"void" SetLocalClearance(self, "int" aClearance)
"void" SetPadConnection(self, "ZONE_CONNECTION" aPadConnection)
"void" BuildHashValue(self, "PCB_LAYER_ID" aLayer)
"bool" GetFilledPolysUseThickness(self, *args)
"unsigned int" GetPriority(self)
"SHAPE_POLY_SET::ITERATOR" IterateWithHoles(self)
"void" insert(self, *args)
"void" append(self, "std::vector< enum PCB_LAYER_ID >::value_type const &" x)
"void" assign(self, "std::vector< enum PCB_LAYER_ID >::size_type" n, "std::vector< enum PCB_LAYER_ID >::value_type const &" x)
"std::vector< enum PCB_LAYER_ID >::reverse_iterator" rend(self)
"void" __delitem__(self, *args)
"std::vector< enum PCB_LAYER_ID >::value_type const &" back(self)
"std::vector< enum PCB_LAYER_ID >::iterator" end(self)
"void" __setitem__(self, *args)
"std::vector< enum PCB_LAYER_ID >::iterator" begin(self)
def __init__(self, *args)
"void" swap(self, "base_seqVect" v)
"std::vector< enum PCB_LAYER_ID >::size_type" size(self)
"std::vector< enum PCB_LAYER_ID >::value_type const &" __getitem__(self, *args)
"void" resize(self, *args)
"std::vector< enum PCB_LAYER_ID >::reverse_iterator" rbegin(self)
"void" __delslice__(self, "std::vector< enum PCB_LAYER_ID >::difference_type" i, "std::vector< enum PCB_LAYER_ID >::difference_type" j)
"void" reserve(self, "std::vector< enum PCB_LAYER_ID >::size_type" n)
"void" __setslice__(self, *args)
"void" push_back(self, "std::vector< enum PCB_LAYER_ID >::value_type const &" x)
"swig::SwigPyIterator *" iterator(self)
"std::vector< enum PCB_LAYER_ID >::value_type const &" front(self)
"std::vector< enum PCB_LAYER_ID >::size_type" capacity(self)
"std::vector< enum PCB_LAYER_ID >::value_type" pop(self)
"std::vector< enum PCB_LAYER_ID >::allocator_type" get_allocator(self)
"std::vector< enum PCB_LAYER_ID >::iterator" erase(self, *args)
"std::vector< enum PCB_LAYER_ID >::size_type" __len__(self)
"std::vector< enum PCB_LAYER_ID,std::allocator< enum PCB_LAYER_ID > > *" __getslice__(self, "std::vector< enum PCB_LAYER_ID >::difference_type" i, "std::vector< enum PCB_LAYER_ID >::difference_type" j)
"bool" __call__(self, "BOARD_ITEM" aFirst, "BOARD_ITEM" aSecond)
"bool" __call__(self, "PAD" aFirst, "PAD" aSecond)
"void" swap(self, "intVector" v)
"std::vector< int >::iterator" end(self)
"std::vector< int,std::allocator< int > > *" __getslice__(self, "std::vector< int >::difference_type" i, "std::vector< int >::difference_type" j)
"std::vector< int >::iterator" erase(self, *args)
"std::vector< int >::iterator" begin(self)
"void" __setslice__(self, *args)
"std::vector< int >::reverse_iterator" rbegin(self)
"std::vector< int >::size_type" __len__(self)
"std::vector< int >::value_type" pop(self)
"void" append(self, "std::vector< int >::value_type const &" x)
"void" reserve(self, "std::vector< int >::size_type" n)
"std::vector< int >::size_type" size(self)
"void" insert(self, *args)
"void" __delslice__(self, "std::vector< int >::difference_type" i, "std::vector< int >::difference_type" j)
"std::vector< int >::value_type const &" back(self)
"std::vector< int >::reverse_iterator" rend(self)
"std::vector< int >::size_type" capacity(self)
def __init__(self, *args)
"void" __delitem__(self, *args)
"void" assign(self, "std::vector< int >::size_type" n, "std::vector< int >::value_type const &" x)
"std::vector< int >::value_type const &" __getitem__(self, *args)
"std::vector< int >::value_type const &" front(self)
"std::vector< int >::allocator_type" get_allocator(self)
"swig::SwigPyIterator *" iterator(self)
"void" resize(self, *args)
"void" push_back(self, "std::vector< int >::value_type const &" x)
"void" __setitem__(self, *args)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" end(self)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" find(self, "string" x)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type" size(self)
"PyObject *" values(self)
def __init__(self, *args)
"void" swap(self, "str_utf8_Map" v)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator" rbegin(self)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator" rend(self)
"void" __setitem__(self, *args)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::mapped_type const &" __getitem__(self, "string" key)
"bool" __contains__(self, "string" key)
"PyObject *" asdict(self)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" upper_bound(self, "string" x)
"void" erase(self, *args)
"swig::SwigPyIterator *" value_iterator(self)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type" count(self, "string" x)
"bool" has_key(self, "string" key)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" begin(self)
"swig::SwigPyIterator *" iterator(self)
"void" __delitem__(self, "string" key)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" lower_bound(self, "string" x)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::allocator_type" get_allocator(self)
"swig::SwigPyIterator *" key_iterator(self)
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type" __len__(self)
"std::basic_string< char > &" replace(self, *args)
"void" swap(self, "string" v)
"std::basic_string< char >::size_type" capacity(self)
"std::basic_string< char >::size_type" find_first_of(self, *args)
"bool" __lt__(self, "string" v)
"void" insert(self, *args)
"std::basic_string< char >::iterator" erase(self, *args)
"std::basic_string< char >::size_type" find_last_not_of(self, *args)
"std::basic_string< char,std::char_traits< char >,std::allocator< char > > *" __getslice__(self, "std::basic_string< char >::difference_type" i, "std::basic_string< char >::difference_type" j)
"bool" __ge__(self, "string" v)
"void" __setslice__(self, *args)
"void" resize(self, *args)
"void" reserve(self, "std::basic_string< char >::size_type" __res_arg=0)
"std::basic_string< char >::size_type" max_size(self)
def __init__(self, *args)
"std::basic_string< char > &" __iadd__(self, "string" v)
"std::basic_ostream< char,std::char_traits< char > > &" __rlshift__(self, "std::basic_ostream< char,std::char_traits< char > > &" out)
"std::basic_string< char >::size_type" find_first_not_of(self, *args)
"std::basic_string< char >::size_type" length(self)
"std::basic_string< char >::allocator_type" get_allocator(self)
"std::basic_string< char,std::char_traits< char >,std::allocator< char > > *" __add__(self, "string" v)
"swig::SwigPyIterator *" iterator(self)
"bool" __le__(self, "string" v)
"std::basic_string< char >::size_type" size(self)
"std::basic_string< char >::iterator" begin(self)
"char const *" c_str(self)
"std::basic_string< char >::reverse_iterator" rend(self)
"void" __delitem__(self, *args)
"std::basic_string< char >::size_type" rfind(self, *args)
"void" __setitem__(self, *args)
"std::basic_string< char >::reverse_iterator" rbegin(self)
"std::basic_string< char >::size_type" __len__(self)
"std::basic_string< char >::value_type" __getitem__(self, *args)
"void" __delslice__(self, "std::basic_string< char >::difference_type" i, "std::basic_string< char >::difference_type" j)
"bool" __gt__(self, "string" v)
"std::basic_string< char >::size_type" find_last_of(self, *args)
"std::basic_string< char >::size_type" find(self, *args)
"std::basic_string< char >::size_type" copy(self, "char *" __s, "std::basic_string< char >::size_type" __n, "std::basic_string< char >::size_type" __pos=0)
"bool" __eq__(self, "string" v)
"std::basic_string< char,std::char_traits< char >,std::allocator< char > >" __str__(self)
"std::basic_string< char >" substr(self, *args)
"void" assign(self, *args)
"bool" __ne__(self, "string" v)
"std::basic_string< char >::iterator" end(self)
"std::basic_string< char,std::char_traits< char >,std::allocator< char > > *" __radd__(self, "string" v)
"std::vector< wxPoint >::iterator" end(self)
"std::vector< wxPoint >::reverse_iterator" rend(self)
"std::vector< wxPoint >::value_type const &" __getitem__(self, *args)
"std::vector< wxPoint >::size_type" capacity(self)
"std::vector< wxPoint >::value_type" pop(self)
"std::vector< wxPoint >::allocator_type" get_allocator(self)
"void" swap(self, "wxPoint_Vector" v)
"void" __delitem__(self, *args)
"std::vector< wxPoint >::reverse_iterator" rbegin(self)
"std::vector< wxPoint >::value_type const &" front(self)
"void" __delslice__(self, "std::vector< wxPoint >::difference_type" i, "std::vector< wxPoint >::difference_type" j)
"void" push_back(self, "wxPoint" x)
"std::vector< wxPoint,std::allocator< wxPoint > > *" __getslice__(self, "std::vector< wxPoint >::difference_type" i, "std::vector< wxPoint >::difference_type" j)
"void" __setitem__(self, *args)
"std::vector< wxPoint >::iterator" erase(self, *args)
"std::vector< wxPoint >::size_type" size(self)
"void" append(self, "wxPoint" x)
"std::vector< wxPoint >::iterator" begin(self)
"void" resize(self, *args)
"std::vector< wxPoint >::value_type const &" back(self)
"std::vector< wxPoint >::size_type" __len__(self)
"void" insert(self, *args)
def __init__(self, *args)
"void" assign(self, "std::vector< wxPoint >::size_type" n, "wxPoint" x)
"void" __setslice__(self, *args)
"void" reserve(self, "std::vector< wxPoint >::size_type" n)
"swig::SwigPyIterator *" iterator(self)
"wxPoint" __sub__(self, "wxPoint" pt)
def __init__(self, *args)
"wxPoint" __add__(self, "wxPoint" pt)
def __getitem__(self, index)
"void" Set(self, "long" x, "long" y)
def __setitem__(self, index, val)
"void" SetWidth(self, "int" w)
"void" SetX(self, "int" xx)
def __getitem__(self, index)
"void" SetY(self, "int" yy)
def __init__(self, *args)
"wxPoint" GetPosition(self)
"void" SetHeight(self, "int" h)
"void" SetPosition(self, "wxPoint" p)
def __setitem__(self, index, val)
"void" SetWidth(self, "int" w)
def __getitem__(self, index)
"void" SetHeight(self, "int" h)
def __init__(self, *args)
def __setitem__(self, index, val)
def Scale(self, xscale, yscale)
"PyObject *" __str__(self)
"bool" PCB_DIM_LEADER_ClassOf("EDA_ITEM" aItem)
"wxString" GetMajorMinorVersion()
"PCB_LAYER_ID" FlipLayer("PCB_LAYER_ID" aLayerId, "int" aCopperLayersCount=0)
"bool" FOOTPRINT_ClassOf("EDA_ITEM" aItem)
"BOARD *" IO_MGR_Load("IO_MGR::PCB_FILE_T" aFileType, "wxString" aFileName, "BOARD" aAppendToMe=None, "PROPERTIES const *" aProperties=None, "PROJECT *" aProject=None, "PROGRESS_REPORTER *" aProgressReporter=None)
"bool" IsInstantiableType("KICAD_T const" aType)
"wxString" GetBuildDate()
"bool" IsPageLayoutEditorType("KICAD_T const" aType)
"bool" PCB_TARGET_ClassOf("EDA_ITEM" aItem)
"PCB_TARGET *" Cast_to_PCB_TARGET("BOARD_ITEM" arg1)
"bool" FOOTPRINT_IsLibNameValid("wxString" aName)
"bool" PCB_ARC_ClassOf("EDA_ITEM" aItem)
"DELETED_BOARD_ITEM *" DELETED_BOARD_ITEM_GetInstance()
"void" addTextSegmToPoly("int" x0, "int" y0, "int" xf, "int" yf, "void *" aData)
"bool" IsValidLayer("LAYER_NUM" aLayerId)
"bool" PCB_DIM_CENTER_ClassOf("EDA_ITEM" aItem)
"wxString" LayerName("int" aLayer)
def FootprintLibDelete(libname)
"LSET" LSET_ForbiddenFootprintLayers()
def FootprintDelete(libname, name)
"bool" PCB_TRACK_ClassOf("EDA_ITEM" aItem)
"wxChar const *" LSET_Name("PCB_LAYER_ID" aLayerId)
"PCB_GROUP *" PCB_GROUP_TopLevelGroup("BOARD_ITEM" aItem, "PCB_GROUP" aScope, "bool" isFootprintEditor)
def GetWizardsSearchPaths()
"void" PYTHON_ACTION_PLUGINS_register_action("PyObject *" wizard)
"int" LIB_ID_HasIllegalChars("UTF8" aLibItemName)
"double" FOOTPRINT_GetCoverageArea("BOARD_ITEM" aItem, "GENERAL_COLLECTOR const &" aCollector)
"wxString const" ResolveUriByEnvVars("wxString" aUri, "PROJECT *" aProject)
"KICAD_T" BaseType("KICAD_T const" aType)
def LoadPlugins(bundlepath=None, userpath=None, thirdpartypath=None)
"void" TITLE_BLOCK_GetContextualTextVars("wxArrayString *" aVars)
"void" KIID_CreateNilUuids("bool" aNil=True)
"LSET" LSET_UserDefinedLayers()
"LSET" LSET_InternalCuMask()
"bool" PAD_ClassOf("EDA_ITEM" aItem)
"bool const" __lt__("COLOR4D" lhs, "COLOR4D" rhs)
"std::ostream &" __lshift__("std::ostream &" aStream, "COLOR4D" aColor)
"LSET" LSET_AllCuMask(*args)
"bool" PCB_GROUP_IsGroupableType("KICAD_T" aType)
"bool" IsHoleLayer("LAYER_NUM" aLayer)
"bool" ExportFootprintsToLibrary(*args)
"wxString" GetPlatformGetBitnessName()
"bool" PCB_VIA_ClassOf("EDA_ITEM" aItem)
def wxPointMils(mmx, mmy)
"bool" EnsureFileDirectoryExists("wxFileName *" aTargetFullFileName, "wxString" aBaseFilename, "REPORTER *" aReporter=None)
def FootprintIsWritable(libname)
"wxString" GetBuildVersion()
"EDA_COLOR_T" COLOR4D_FindNearestLegacyColor("int" aR, "int" aG, "int" aB)
def FootprintLibCreate(libname)
"LSET" LSET_ExternalCuMask()
"void" PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard("PyObject *" wizard)
"bool" FP_SHAPE_ClassOf("EDA_ITEM" aItem)
"PCB_DIM_CENTER *" Cast_to_PCB_DIM_CENTER("BOARD_ITEM" arg1)
"bool" ExportVRML("wxString" aFullFileName, "double" aMMtoWRMLunit, "bool" aExport3DFiles, "bool" aUseRelativePaths, "wxString" a3D_Subdir, "double" aXRef, "double" aYRef)
def VECTOR2I_MM(mmx, mmy)
"bool const" __eq__("COLOR4D" lhs, "COLOR4D" rhs)
"bool" PCB_GROUP_WithinScope("BOARD_ITEM" aItem, "PCB_GROUP" aScope, "bool" isFootprintEditor)
"wxString const" IO_MGR_GetFileExtension("IO_MGR::PCB_FILE_T" aFileType)
"bool" SETTINGS_MANAGER_IsSettingsPathValid("wxString" aPath)
"wxString const" ExpandEnvVarSubstitutions("wxString" aString, "PROJECT *" aProject)
def wxRectMils(x, y, wx, wy)
"ZONE *" Cast_to_ZONE("BOARD_ITEM" arg1)
"PCB_DIM_ALIGNED *" Cast_to_PCB_DIM_ALIGNED("BOARD_ITEM" arg1)
"bool" PCB_SHAPE_ClassOf("EDA_ITEM" aItem)
"bool" IsDCodeLayer("int" aLayer)
"bool" WriteDRCReport("BOARD" aBoard, "wxString" aFileName, "EDA_UNITS" aUnits, "bool" aReportAllTrackErrors)
"LAYER_T" LAYER_ParseType("char const *" aType)
"bool" IsEeschemaType("KICAD_T const" aType)
"std::string" PAD_SHAPE_T_asString("PAD_SHAPE" a)
"bool" IsNetCopperLayer("LAYER_NUM" aLayer)
"bool" PCB_GROUP_ClassOf("EDA_ITEM" aItem)
"bool" SaveBoard("wxString" aFileName, "BOARD" aBoard, "bool" aSkipSettings=False)
"bool" WarnUserIfOperatingSystemUnsupported()
"BOARD *" Cast_to_BOARD("BOARD_ITEM" arg1)
"bool" IsBackLayer("PCB_LAYER_ID" aLayerId)
"SHAPE_POLY_SET const" SHAPE_POLY_SET_BuildPolysetFromOrientedPaths("std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const &" aPaths, "bool" aReverseOrientation=False, "bool" aEvenOdd=False)
"EDA_TEXT_VJUSTIFY_T" EDA_TEXT_MapVertJustify("int" aVertJustify)
"LSET" LSET_PhysicalLayersMask()
"UTF8" LIB_ID_Format(*args)
def wxRectMM(x, y, wx, wy)
"bool" IsPcbnewType("KICAD_T const" aType)
"bool" PCB_DIM_ALIGNED_ClassOf("EDA_ITEM" aItem)
"bool" IsUserLayer("PCB_LAYER_ID" aLayerId)
"int" InvokeRuleAreaEditor("PCB_BASE_FRAME *" aCaller, "ZONE_SETTINGS" aSettings)
"void" PlotDrawingSheet(*args)
"bool" BOARD_ClassOf("EDA_ITEM" aItem)
"double" Iu2Millimeter("int" iu)
"bool" IsImperialUnit("EDA_UNITS" aUnit)
def FootprintLoad(libname, name, preserveUUID=False)
"bool const" __ne__("COLOR4D" lhs, "COLOR4D" rhs)
def FootprintEnumerate(libname)
"bool" IsTypeAvailable("KICAD_T" aType)
"LSET" PAD_UnplatedHoleMask()
"bool" NETINFO_ITEM_ClassOf("EDA_ITEM" aItem)
"bool" FP_TEXT_ClassOf("EDA_ITEM" aItem)
"void" IO_MGR_PluginRelease("PLUGIN" aPlugin)
"IO_MGR::PCB_FILE_T" IO_MGR_GuessPluginTypeFromLibPath("wxString" aLibPath)
"PLUGIN *" IO_MGR_PluginFind("IO_MGR::PCB_FILE_T" aFileType)
"FP_SHAPE *" Cast_to_FP_SHAPE("BOARD_ITEM" arg1)
"unsigned int" LIB_ID_FindIllegalLibraryNameChar("UTF8" aLibraryName)
"UTF8" LIB_ID_FixIllegalChars("UTF8" aLibItemName, "bool" aLib)
"char const *" wxGetDefaultPyEncoding()
"PCB_TEXT *" Cast_to_PCB_TEXT("BOARD_ITEM" arg1)
"wxString" GetDefaultPlotExtension("PLOT_FORMAT" aFormat)
"std::string" PLACE_FILE_EXPORTER_GetBackSideName()
"bool" IsCopperLayer(*args)
"PCB_ARC *" Cast_to_PCB_ARC("BOARD_ITEM" arg1)
"BOARD_ITEM *" Cast_to_BOARD_ITEM("EDA_ITEM" base)
"void" PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard("PyObject *" wizard)
"bool" IsUTF8("char const *" aString)
"IO_MGR::PCB_FILE_T" IO_MGR_EnumFromStr("wxString" aFileType)
"wxString" SearchHelpFileFullPath("wxString" aBaseName)
"SETTINGS_MANAGER *" GetSettingsManager()
"LSET" FlipLayerMask("LSET" aMask, "int" aCopperLayersCount=0)
"LSET" LSET_AllLayersMask()
"LSET" LSET_AllBoardTechMask()
"bool" IsNonCopperLayer("LAYER_NUM" aLayerId)
"std::string" PLACE_FILE_EXPORTER_GetFrontSideName()
"char const *" LAYER_ShowType("LAYER_T" aType)
"LSET" LSET_FrontAssembly()
"bool" ImportSpecctraSES("wxString" aFullFilename)
"LSET" LSET_BackTechMask()
def PutOnGridMM(value, gridSizeMM)
"bool" PCB_DIM_ORTHOGONAL_ClassOf("EDA_ITEM" aItem)
"long long" TimestampDir("wxString" aDirPath, "wxString" aFilespec)
"bool" BOARD_CONNECTED_ITEM_ClassOf("EDA_ITEM" aItem)
"int" ZONE_GetDefaultHatchPitch()
"bool" IsPcbLayer("LAYER_NUM" aLayer)
"wxString" SETTINGS_MANAGER_GetColorSettingsPath()
"PCB_MARKER *" PCB_MARKER_Deserialize("wxString" data)
"bool" IsNetnameLayer("LAYER_NUM" aLayer)
"bool" EDA_ITEM_Sort("EDA_ITEM" aLeft, "EDA_ITEM" aRight)
"int" PCB_PLOT_PARAMS_GetGerberDefaultPrecision()
"wxString" SETTINGS_MANAGER_GetUserSettingsPath()
"bool" IsNullType("KICAD_T const" aType)
"wxString" SHAPE_TYPE_asString("SHAPE_TYPE" a)
"FOOTPRINT *" Cast_to_FOOTPRINT("BOARD_ITEM" arg1)
"FP_ZONE *" Cast_to_FP_ZONE("BOARD_ITEM" arg1)
"double" Iu2Mils("int" iu)
"bool" ZONE_ClassOf("EDA_ITEM" aItem)
"EDA_TEXT_HJUSTIFY_T" EDA_TEXT_MapHorizJustify("int" aHorizJustify)
"BOARD *" NewBoard("wxString" aFileName)
"int" GetNetnameLayer("int" aLayer)
"LSET" LSET_BackAssembly()
"GAL_SET" GAL_SET_DefaultVisible()
"PCB_TRACK *" Cast_to_PCB_TRACK("BOARD_ITEM" arg1)
"void" KIID_SeedGenerator("unsigned int" aSeed)
def PutOnGridMils(value, gridSizeMils)
"FP_TEXT *" Cast_to_FP_TEXT("BOARD_ITEM" arg1)
"bool" IsZoneFillLayer("int" aLayer)
def VECTOR2I_Mils(mmx, mmy)
"BOARD *" CreateEmptyBoard()
"PCB_VIA *" Cast_to_PCB_VIA("BOARD_ITEM" arg1)
"bool" PCB_TEXT_ClassOf("EDA_ITEM" aItem)
"int" Mils2iu("int" mils)
"PCB_DIM_LEADER *" Cast_to_PCB_DIM_LEADER("BOARD_ITEM" arg1)
"bool" IsMiscType("KICAD_T const" aType)
"bool" IsFrontLayer("PCB_LAYER_ID" aLayerId)
"void" wxSetDefaultPyEncoding("char const *" encoding)
"bool" IsTypeCorrect("KICAD_T" aType)
"wxArrayString" GetFootprintLibraries()
"LSET" LSET_FrontBoardTechMask()
"LSET" LSET_BackBoardTechMask()
"wxChar const *" FOOTPRINT_StringLibNameInvalidChars("bool" aUserReadable)
"LSET" LSET_AllNonCuMask()
"bool" IsGerbviewType("KICAD_T const" aType)
"int" InvokeNonCopperZonesEditor("PCB_BASE_FRAME *" aParent, "ZONE_SETTINGS" aSettings)
"void" PYTHON_ACTION_PLUGINS_deregister_action("PyObject *" wizard)
"StructColors const *" colorRefs()
def GetPluginForPath(libname)
"wxString" GetSemanticVersion()
"wxString" ExpandTextVars(*args)
"bool" ExportSpecctraDSN(*args)
"wxArrayString" GetFootprints("wxString" aNickName)
"wxString" BOARD_GetStandardLayerName("PCB_LAYER_ID" aLayerId)
"bool" KIID_SniffTest("wxString" aCandidate)
"std::string" StrPrintf(*args)
"bool" IsMetricUnit("EDA_UNITS" aUnit)
"EDA_ITEM *" new_clone("EDA_ITEM" aItem)
"GAL_LAYER_ID" ToGalLayer("int" aInteger)
"void" IO_MGR_Save("IO_MGR::PCB_FILE_T" aFileType, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None)
"bool" PCB_MARKER_ClassOf("EDA_ITEM" aItem)
"bool" IsViaPadLayer("LAYER_NUM" aLayer)
"NETINFO_ITEM *" NETINFO_LIST_OrphanedItem()
"LSET" LSET_FrontTechMask()
"void" UpdateUserInterface()
"LSET" LSET_AllTechMask()
"int" PAD_Compare("PAD" aPadRef, "PAD" aPadCmp)
"PCB_GROUP *" Cast_to_PCB_GROUP("BOARD_ITEM" arg1)
"int" InvokeCopperZonesEditor("PCB_BASE_FRAME *" aCaller, "ZONE_SETTINGS" aSettings)
"LSET" PAD_ApertureMask()
"void" from_json("nlohmann::json const &" aJson, "COLOR4D" aColor)
"wxString const" IO_MGR_ShowType("IO_MGR::PCB_FILE_T" aFileType)
"PAD *" Cast_to_PAD("BOARD_ITEM" arg1)
"PCB_MARKER *" Cast_to_PCB_MARKER("BOARD_ITEM" arg1)
"void" to_json("nlohmann::json &" aJson, "COLOR4D" aColor)
"PCB_SHAPE *" Cast_to_PCB_SHAPE("BOARD_ITEM" arg1)
def GetWizardsBackTrace()
def LoadPluginModule(Dirname, ModuleName, FileName)
"BOARD *" LoadBoard(*args)
"int" Millimeter2iu("double" mm)
"wxString" GetVersionInfoData("wxString" aTitle, "bool" aHtml=False, "bool" aBrief=False)
def FootprintSave(libname, module)
"std::string" SETTINGS_MANAGER_GetSettingsVersion()
"PCB_LAYER_ID" ToLAYER_ID("int" aLayer)
"PCB_DIM_ORTHOGONAL *" Cast_to_PCB_DIM_ORTHOGONAL("BOARD_ITEM" arg1)