KiCad Pcbnew Python Scripting
pcbnew.py
Go to the documentation of this file.
1# This file was automatically generated by SWIG (http://www.swig.org).
2# Version 4.0.2
3#
4# Do not make changes to this file unless you know what you are doing--modify
5# the SWIG interface file instead.
6
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")
10
11# Import the low-level C/C++ module
12if __package__ or "." in __name__:
13 from . import _pcbnew
14else:
15 import _pcbnew
16
17try:
18 import builtins as __builtin__
19except ImportError:
20 import __builtin__
21
22def _swig_repr(self):
23 try:
24 strthis = "proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
26 strthis = ""
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
28
29
30def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
32 if name == "thisown":
33 self.this.own(value)
34 elif name == "this":
35 set(self, name, value)
36 elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
37 set(self, name, value)
38 else:
39 raise AttributeError("You cannot add instance attributes to %s" % self)
40 return set_instance_attr
41
42
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):
46 set(cls, name, value)
47 else:
48 raise AttributeError("You cannot add class attributes to %s" % cls)
49 return set_class_attr
50
51
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"""
54 def wrapper(cls):
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
56 return wrapper
57
58
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
62
63
64class SwigPyIterator(object):
65 r"""Proxy of C++ swig::SwigPyIterator class."""
66
67 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
68
69 def __init__(self, *args, **kwargs):
70 raise AttributeError("No constructor defined - class is abstract")
71 __repr__ = _swig_repr
72 __swig_destroy__ = _pcbnew.delete_SwigPyIterator
73
74 def value(self) -> "PyObject *":
75 r"""value(SwigPyIterator self) -> PyObject *"""
76 return _pcbnew.SwigPyIterator_value(self)
77
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)
81
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)
85
86 def distance(self, x: "SwigPyIterator") -> "ptrdiff_t":
87 r"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
88 return _pcbnew.SwigPyIterator_distance(self, x)
89
90 def equal(self, x: "SwigPyIterator") -> "bool":
91 r"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
92 return _pcbnew.SwigPyIterator_equal(self, x)
93
94 def copy(self) -> "swig::SwigPyIterator *":
95 r"""copy(SwigPyIterator self) -> SwigPyIterator"""
96 return _pcbnew.SwigPyIterator_copy(self)
97
98 def next(self) -> "PyObject *":
99 r"""next(SwigPyIterator self) -> PyObject *"""
100 return _pcbnew.SwigPyIterator_next(self)
101
102 def __next__(self) -> "PyObject *":
103 r"""__next__(SwigPyIterator self) -> PyObject *"""
104 return _pcbnew.SwigPyIterator___next__(self)
105
106 def previous(self) -> "PyObject *":
107 r"""previous(SwigPyIterator self) -> PyObject *"""
108 return _pcbnew.SwigPyIterator_previous(self)
109
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)
113
114 def __eq__(self, x: "SwigPyIterator") -> "bool":
115 r"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
116 return _pcbnew.SwigPyIterator___eq__(self, x)
117
118 def __ne__(self, x: "SwigPyIterator") -> "bool":
119 r"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
120 return _pcbnew.SwigPyIterator___ne__(self, x)
121
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)
125
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)
129
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)
133
134 def __sub__(self, *args) -> "ptrdiff_t":
135 r"""
136 __sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
137 __sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
138 """
139 return _pcbnew.SwigPyIterator___sub__(self, *args)
140 def __iter__(self):
141 return self
142
143# Register SwigPyIterator in _pcbnew:
144_pcbnew.SwigPyIterator_swigregister(SwigPyIterator)
145
147 r"""Proxy of C++ std::basic_string< char > class."""
148
149 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
150 __repr__ = _swig_repr
151
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)
155
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)
159
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)
163
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)
167
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)
171
172 def c_str(self) -> "char const *":
173 r"""c_str(string self) -> char const *"""
174 return _pcbnew.string_c_str(self)
175
176 def find(self, *args) -> "std::basic_string< char >::size_type":
177 r"""
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
181 """
182 return _pcbnew.string_find(self, *args)
183
184 def rfind(self, *args) -> "std::basic_string< char >::size_type":
185 r"""
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
189 """
190 return _pcbnew.string_rfind(self, *args)
191
192 def find_first_of(self, *args) -> "std::basic_string< char >::size_type":
193 r"""
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
197 """
198 return _pcbnew.string_find_first_of(self, *args)
199
200 def find_last_of(self, *args) -> "std::basic_string< char >::size_type":
201 r"""
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
205 """
206 return _pcbnew.string_find_last_of(self, *args)
207
208 def find_first_not_of(self, *args) -> "std::basic_string< char >::size_type":
209 r"""
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
213 """
214 return _pcbnew.string_find_first_not_of(self, *args)
215
216 def find_last_not_of(self, *args) -> "std::basic_string< char >::size_type":
217 r"""
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
221 """
222 return _pcbnew.string_find_last_not_of(self, *args)
223
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)
227
228 def empty(self) -> "bool":
229 r"""empty(string self) -> bool"""
230 return _pcbnew.string_empty(self)
231
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)
235
236 def swap(self, v: "string") -> "void":
237 r"""swap(string self, string v)"""
238 return _pcbnew.string_swap(self, v)
239
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)
243
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)
247
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)
251
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)
255
256 def get_allocator(self) -> "std::basic_string< char >::allocator_type":
257 r"""get_allocator(string self) -> std::basic_string< char >::allocator_type"""
258 return _pcbnew.string_get_allocator(self)
259
260 def erase(self, *args) -> "std::basic_string< char >::iterator":
261 r"""
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
265 """
266 return _pcbnew.string_erase(self, *args)
267
268 def __init__(self, *args):
269 r"""
270 __init__(string self, char const * __s, std::basic_string< char >::size_type __n) -> string
271 __init__(string self) -> 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
274 """
275 _pcbnew.string_swiginit(self, _pcbnew.new_string(*args))
276
277 def assign(self, *args) -> "void":
278 r"""
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)
283 """
284 return _pcbnew.string_assign(self, *args)
285
286 def resize(self, *args) -> "void":
287 r"""
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)
290 """
291 return _pcbnew.string_resize(self, *args)
292
293 def iterator(self) -> "swig::SwigPyIterator *":
294 r"""iterator(string self) -> SwigPyIterator"""
295 return _pcbnew.string_iterator(self)
296 def __iter__(self):
297 return self.iterator()
298
299 def __nonzero__(self) -> "bool":
300 r"""__nonzero__(string self) -> bool"""
301 return _pcbnew.string___nonzero__(self)
302
303 def __bool__(self) -> "bool":
304 r"""__bool__(string self) -> bool"""
305 return _pcbnew.string___bool__(self)
306
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)
310
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)
314
315 def __setslice__(self, *args) -> "void":
316 r"""
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)
319 """
320 return _pcbnew.string___setslice__(self, *args)
321
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)
325
326 def __delitem__(self, *args) -> "void":
327 r"""
328 __delitem__(string self, std::basic_string< char >::difference_type i)
329 __delitem__(string self, PySliceObject * slice)
330 """
331 return _pcbnew.string___delitem__(self, *args)
332
333 def __getitem__(self, *args) -> "std::basic_string< char >::value_type":
334 r"""
335 __getitem__(string self, PySliceObject * slice) -> string
336 __getitem__(string self, std::basic_string< char >::difference_type i) -> std::basic_string< char >::value_type
337 """
338 return _pcbnew.string___getitem__(self, *args)
339
340 def __setitem__(self, *args) -> "void":
341 r"""
342 __setitem__(string self, PySliceObject * slice, string v)
343 __setitem__(string self, PySliceObject * slice)
344 __setitem__(string self, std::basic_string< char >::difference_type i, std::basic_string< char >::value_type x)
345 """
346 return _pcbnew.string___setitem__(self, *args)
347
348 def insert(self, *args) -> "void":
349 r"""
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)
357 """
358 return _pcbnew.string_insert(self, *args)
359
360 def replace(self, *args) -> "std::basic_string< char > &":
361 r"""
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
371 """
372 return _pcbnew.string_replace(self, *args)
373
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)
377
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)
381
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)
385
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)
389
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)
393
394 def __eq__(self, v: "string") -> "bool":
395 r"""__eq__(string self, string v) -> bool"""
396 return _pcbnew.string___eq__(self, v)
397
398 def __ne__(self, v: "string") -> "bool":
399 r"""__ne__(string self, string v) -> bool"""
400 return _pcbnew.string___ne__(self, v)
401
402 def __gt__(self, v: "string") -> "bool":
403 r"""__gt__(string self, string v) -> bool"""
404 return _pcbnew.string___gt__(self, v)
405
406 def __lt__(self, v: "string") -> "bool":
407 r"""__lt__(string self, string v) -> bool"""
408 return _pcbnew.string___lt__(self, v)
409
410 def __ge__(self, v: "string") -> "bool":
411 r"""__ge__(string self, string v) -> bool"""
412 return _pcbnew.string___ge__(self, v)
413
414 def __le__(self, v: "string") -> "bool":
415 r"""__le__(string self, string v) -> bool"""
416 return _pcbnew.string___le__(self, v)
417 __swig_destroy__ = _pcbnew.delete_string
418
419# Register string in _pcbnew:
420_pcbnew.string_swigregister(string)
421cvar = _pcbnew.cvar
422string.npos = _pcbnew.cvar.string_npos
423
424SHARED_PTR_DISOWN = _pcbnew.SHARED_PTR_DISOWN
425
427 r"""Proxy of C++ KI_PARAM_ERROR class."""
428
429 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
430 __repr__ = _swig_repr
431
432 def __init__(self, *args):
433 r"""
434 __init__(KI_PARAM_ERROR self, wxString aMessage) -> KI_PARAM_ERROR
435 __init__(KI_PARAM_ERROR self) -> KI_PARAM_ERROR
436 """
437 _pcbnew.KI_PARAM_ERROR_swiginit(self, _pcbnew.new_KI_PARAM_ERROR(*args))
438
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
443
444# Register KI_PARAM_ERROR in _pcbnew:
445_pcbnew.KI_PARAM_ERROR_swigregister(KI_PARAM_ERROR)
446
448 r"""Proxy of C++ IO_ERROR class."""
449
450 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
451 __repr__ = _swig_repr
452
453 def __init__(self, *args):
454 r"""
455 __init__(IO_ERROR self, wxString aProblem, char const * aThrowersFile, char const * aThrowersFunction, int aThrowersLineNumber) -> IO_ERROR
456 __init__(IO_ERROR self) -> IO_ERROR
457 """
458 _pcbnew.IO_ERROR_swiginit(self, _pcbnew.new_IO_ERROR(*args))
459
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)
463
464 def Problem(self) -> "wxString const":
465 r"""Problem(IO_ERROR self) -> wxString"""
466 return _pcbnew.IO_ERROR_Problem(self)
467
468 def Where(self) -> "wxString const":
469 r"""Where(IO_ERROR self) -> wxString"""
470 return _pcbnew.IO_ERROR_Where(self)
471
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
476
477# Register IO_ERROR in _pcbnew:
478_pcbnew.IO_ERROR_swigregister(IO_ERROR)
479
480
481def wxSetDefaultPyEncoding(encoding: "char const *") -> "void":
482 r"""wxSetDefaultPyEncoding(char const * encoding)"""
483 return _pcbnew.wxSetDefaultPyEncoding(encoding)
484
485def wxGetDefaultPyEncoding() -> "char const *":
486 r"""wxGetDefaultPyEncoding() -> char const *"""
487 return _pcbnew.wxGetDefaultPyEncoding()
489 r"""Proxy of C++ wxRect class."""
490
491 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
492 __repr__ = _swig_repr
493
494 def __init__(self, *args):
495 r"""
496 __init__(wxRect self) -> wxRect
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
501 """
502 _pcbnew.wxRect_swiginit(self, _pcbnew.new_wxRect(*args))
503
504 def GetX(self) -> "int":
505 r"""GetX(wxRect self) -> int"""
506 return _pcbnew.wxRect_GetX(self)
507
508 def SetX(self, xx: "int") -> "void":
509 r"""SetX(wxRect self, int xx)"""
510 return _pcbnew.wxRect_SetX(self, xx)
511
512 def GetY(self) -> "int":
513 r"""GetY(wxRect self) -> int"""
514 return _pcbnew.wxRect_GetY(self)
515
516 def SetY(self, yy: "int") -> "void":
517 r"""SetY(wxRect self, int yy)"""
518 return _pcbnew.wxRect_SetY(self, yy)
519
520 def GetWidth(self) -> "int":
521 r"""GetWidth(wxRect self) -> int"""
522 return _pcbnew.wxRect_GetWidth(self)
523
524 def SetWidth(self, w: "int") -> "void":
525 r"""SetWidth(wxRect self, int w)"""
526 return _pcbnew.wxRect_SetWidth(self, w)
527
528 def GetHeight(self) -> "int":
529 r"""GetHeight(wxRect self) -> int"""
530 return _pcbnew.wxRect_GetHeight(self)
531
532 def SetHeight(self, h: "int") -> "void":
533 r"""SetHeight(wxRect self, int h)"""
534 return _pcbnew.wxRect_SetHeight(self, h)
535
536 def GetPosition(self) -> "wxPoint":
537 r"""GetPosition(wxRect self) -> wxPoint"""
538 return _pcbnew.wxRect_GetPosition(self)
539
540 def SetPosition(self, p: "wxPoint") -> "void":
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""")
547
548 def Get(self) -> "PyObject *":
549 r"""Get(wxRect self) -> PyObject *"""
550 return _pcbnew.wxRect_Get(self)
551
552
553 def __eq__(self,other):
554 return self.x==other.x and self.y==other.y and self.width==other.width and self.height==other.height
555 def __str__(self): return str(self.Get())
556 def __repr__(self): return 'wxRect'+str(self.Get())
557 def __len__(self): return len(self.Get())
558 def __getitem__(self, index): return self.Get()[index]
559 def __setitem__(self, index, val):
560 if index == 0: self.SetX(val)
561 elif index == 1: self.SetY(val)
562 elif index == 2: self.SetWidth(val)
563 elif index == 3: self.SetHeight(val)
564 else: raise IndexError
565 def __nonzero__(self): return self.Get() != (0,0,0,0)
566 __safe_for_unpickling__ = True
567
568 __swig_destroy__ = _pcbnew.delete_wxRect
569
570# Register wxRect in _pcbnew:
571_pcbnew.wxRect_swigregister(wxRect)
572
574 r"""Proxy of C++ wxSize class."""
575
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""")
580
581 def __init__(self, *args):
582 r"""
583 __init__(wxSize self, int xx, int yy) -> wxSize
584 __init__(wxSize self, double xx, double yy) -> wxSize
585 """
586 _pcbnew.wxSize_swiginit(self, _pcbnew.new_wxSize(*args))
587
588 def Get(self) -> "PyObject *":
589 r"""Get(wxSize self) -> PyObject *"""
590 return _pcbnew.wxSize_Get(self)
591 __swig_destroy__ = _pcbnew.delete_wxSize
592
593 def SetWidth(self, w: "int") -> "void":
594 r"""SetWidth(wxSize self, int w)"""
595 return _pcbnew.wxSize_SetWidth(self, w)
596
597 def SetHeight(self, h: "int") -> "void":
598 r"""SetHeight(wxSize self, int h)"""
599 return _pcbnew.wxSize_SetHeight(self, h)
600
601 def GetWidth(self) -> "int":
602 r"""GetWidth(wxSize self) -> int"""
603 return _pcbnew.wxSize_GetWidth(self)
604
605 def GetHeight(self) -> "int":
606 r"""GetHeight(wxSize self) -> int"""
607 return _pcbnew.wxSize_GetHeight(self)
608
609 def Scale(self,xscale,yscale):
610 return wxSize(self.x*xscale,self.y*yscale)
611 def __eq__(self,other):
612 return self.GetWidth()==other.GetWidth() and self.GetHeight()==other.GetHeight()
613 def __str__(self): return str(self.Get())
614 def __repr__(self): return 'wxSize'+str(self.Get())
615 def __len__(self): return len(self.Get())
616 def __getitem__(self, index): return self.Get()[index]
617 def __setitem__(self, index, val):
618 if index == 0: self.SetWidth(val)
619 elif index == 1: self.SetHeight(val)
620 else: raise IndexError
621 def __nonzero__(self): return self.Get() != (0,0)
622 __safe_for_unpickling__ = True
623
624
625
626# Register wxSize in _pcbnew:
627_pcbnew.wxSize_swigregister(wxSize)
628
630 r"""Proxy of C++ wxPoint class."""
631
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""")
636
637 def __init__(self, *args):
638 r"""
639 __init__(wxPoint self, int xx, int yy) -> wxPoint
640 __init__(wxPoint self, double xx, double yy) -> wxPoint
641 """
642 _pcbnew.wxPoint_swiginit(self, _pcbnew.new_wxPoint(*args))
643 __swig_destroy__ = _pcbnew.delete_wxPoint
644
645 def __add__(self, pt: "wxPoint") -> "wxPoint":
646 r"""__add__(wxPoint self, wxPoint pt) -> wxPoint"""
647 return _pcbnew.wxPoint___add__(self, pt)
648
649 def __sub__(self, pt: "wxPoint") -> "wxPoint":
650 r"""__sub__(wxPoint self, wxPoint pt) -> wxPoint"""
651 return _pcbnew.wxPoint___sub__(self, pt)
652
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)
656
657 def Get(self) -> "PyObject *":
658 r"""Get(wxPoint self) -> PyObject *"""
659 return _pcbnew.wxPoint_Get(self)
660
661 def __eq__(self,other): return (self.x==other.x and self.y==other.y)
662 def __ne__(self,other): return not (self==other)
663 def __str__(self): return str(self.Get())
664 def __repr__(self): return 'wxPoint'+str(self.Get())
665 def __len__(self): return len(self.Get())
666 def __getitem__(self, index): return self.Get()[index]
667 def __setitem__(self, index, val):
668 if index == 0:
669 self.x = val
670 elif index == 1:
671 self.y = val
672 else:
673 raise IndexError
674 def __nonzero__(self): return self.Get() != (0,0)
675
676
677
678# Register wxPoint in _pcbnew:
679_pcbnew.wxPoint_swigregister(wxPoint)
680
682 r"""Proxy of C++ wxString class."""
683
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
687
688 def __str__(self) -> "PyObject *":
689 r"""__str__(wxString self) -> PyObject *"""
690 return _pcbnew.wxString___str__(self)
691
692 def __repr__(self): return 'wxString(\'' + self.__str__() + '\')'
693
694
695 def __init__(self):
696 r"""__init__(wxString self) -> wxString"""
697 _pcbnew.wxString_swiginit(self, _pcbnew.new_wxString())
698
699# Register wxString in _pcbnew:
700_pcbnew.wxString_swigregister(wxString)
701
703 r"""Proxy of C++ std::vector< wxPoint > class."""
704
705 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
706 __repr__ = _swig_repr
707
708 def iterator(self) -> "swig::SwigPyIterator *":
709 r"""iterator(wxPoint_Vector self) -> SwigPyIterator"""
710 return _pcbnew.wxPoint_Vector_iterator(self)
711 def __iter__(self):
712 return self.iterator()
713
714 def __nonzero__(self) -> "bool":
715 r"""__nonzero__(wxPoint_Vector self) -> bool"""
716 return _pcbnew.wxPoint_Vector___nonzero__(self)
717
718 def __bool__(self) -> "bool":
719 r"""__bool__(wxPoint_Vector self) -> bool"""
720 return _pcbnew.wxPoint_Vector___bool__(self)
721
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)
725
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)
729
730 def __setslice__(self, *args) -> "void":
731 r"""
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)
734 """
735 return _pcbnew.wxPoint_Vector___setslice__(self, *args)
736
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)
740
741 def __delitem__(self, *args) -> "void":
742 r"""
743 __delitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i)
744 __delitem__(wxPoint_Vector self, PySliceObject * slice)
745 """
746 return _pcbnew.wxPoint_Vector___delitem__(self, *args)
747
748 def __getitem__(self, *args) -> "std::vector< wxPoint >::value_type const &":
749 r"""
750 __getitem__(wxPoint_Vector self, PySliceObject * slice) -> wxPoint_Vector
751 __getitem__(wxPoint_Vector self, std::vector< wxPoint >::difference_type i) -> wxPoint
752 """
753 return _pcbnew.wxPoint_Vector___getitem__(self, *args)
754
755 def __setitem__(self, *args) -> "void":
756 r"""
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)
760 """
761 return _pcbnew.wxPoint_Vector___setitem__(self, *args)
762
763 def pop(self) -> "std::vector< wxPoint >::value_type":
764 r"""pop(wxPoint_Vector self) -> wxPoint"""
765 return _pcbnew.wxPoint_Vector_pop(self)
766
767 def append(self, x: "wxPoint") -> "void":
768 r"""append(wxPoint_Vector self, wxPoint x)"""
769 return _pcbnew.wxPoint_Vector_append(self, x)
770
771 def empty(self) -> "bool":
772 r"""empty(wxPoint_Vector self) -> bool"""
773 return _pcbnew.wxPoint_Vector_empty(self)
774
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)
778
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)
782
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)
786
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)
790
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)
794
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)
798
799 def clear(self) -> "void":
800 r"""clear(wxPoint_Vector self)"""
801 return _pcbnew.wxPoint_Vector_clear(self)
802
803 def get_allocator(self) -> "std::vector< wxPoint >::allocator_type":
804 r"""get_allocator(wxPoint_Vector self) -> std::vector< wxPoint >::allocator_type"""
805 return _pcbnew.wxPoint_Vector_get_allocator(self)
806
807 def pop_back(self) -> "void":
808 r"""pop_back(wxPoint_Vector self)"""
809 return _pcbnew.wxPoint_Vector_pop_back(self)
810
811 def erase(self, *args) -> "std::vector< wxPoint >::iterator":
812 r"""
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
815 """
816 return _pcbnew.wxPoint_Vector_erase(self, *args)
817
818 def __init__(self, *args):
819 r"""
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
824 """
825 _pcbnew.wxPoint_Vector_swiginit(self, _pcbnew.new_wxPoint_Vector(*args))
826
827 def push_back(self, x: "wxPoint") -> "void":
828 r"""push_back(wxPoint_Vector self, wxPoint x)"""
829 return _pcbnew.wxPoint_Vector_push_back(self, x)
830
831 def front(self) -> "std::vector< wxPoint >::value_type const &":
832 r"""front(wxPoint_Vector self) -> wxPoint"""
833 return _pcbnew.wxPoint_Vector_front(self)
834
835 def back(self) -> "std::vector< wxPoint >::value_type const &":
836 r"""back(wxPoint_Vector self) -> wxPoint"""
837 return _pcbnew.wxPoint_Vector_back(self)
838
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)
842
843 def resize(self, *args) -> "void":
844 r"""
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)
847 """
848 return _pcbnew.wxPoint_Vector_resize(self, *args)
849
850 def insert(self, *args) -> "void":
851 r"""
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)
854 """
855 return _pcbnew.wxPoint_Vector_insert(self, *args)
856
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)
860
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
865
866# Register wxPoint_Vector in _pcbnew:
867_pcbnew.wxPoint_Vector_swigregister(wxPoint_Vector)
868
869SKETCH = _pcbnew.SKETCH
870
871FILLED = _pcbnew.FILLED
872
874 r"""Proxy of C++ KIID class."""
875
876 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
877 __repr__ = _swig_repr
878
879 def __init__(self, *args):
880 r"""
881 __init__(KIID self) -> KIID
882 __init__(KIID self, int null) -> KIID
883 __init__(KIID self, wxString aString) -> KIID
884 __init__(KIID self, timestamp_t aTimestamp) -> KIID
885 """
886 _pcbnew.KIID_swiginit(self, _pcbnew.new_KIID(*args))
887
888 def Clone(self, aUUID: "KIID") -> "void":
889 r"""Clone(KIID self, KIID aUUID)"""
890 return _pcbnew.KIID_Clone(self, aUUID)
891
892 def Hash(self) -> "size_t":
893 r"""Hash(KIID self) -> size_t"""
894 return _pcbnew.KIID_Hash(self)
895
896 def IsLegacyTimestamp(self) -> "bool":
897 r"""IsLegacyTimestamp(KIID self) -> bool"""
898 return _pcbnew.KIID_IsLegacyTimestamp(self)
899
900 def AsLegacyTimestamp(self) -> "timestamp_t":
901 r"""AsLegacyTimestamp(KIID self) -> timestamp_t"""
902 return _pcbnew.KIID_AsLegacyTimestamp(self)
903
904 def AsString(self) -> "wxString":
905 r"""AsString(KIID self) -> wxString"""
906 return _pcbnew.KIID_AsString(self)
907
908 def AsLegacyTimestampString(self) -> "wxString":
909 r"""AsLegacyTimestampString(KIID self) -> wxString"""
910 return _pcbnew.KIID_AsLegacyTimestampString(self)
911
912 @staticmethod
913 def SniffTest(aCandidate: "wxString") -> "bool":
914 r"""SniffTest(wxString aCandidate) -> bool"""
915 return _pcbnew.KIID_SniffTest(aCandidate)
916
917 @staticmethod
918 def CreateNilUuids(aNil: "bool"=True) -> "void":
919 r"""CreateNilUuids(bool aNil=True)"""
920 return _pcbnew.KIID_CreateNilUuids(aNil)
921
922 @staticmethod
923 def SeedGenerator(aSeed: "unsigned int") -> "void":
924 r"""SeedGenerator(unsigned int aSeed)"""
925 return _pcbnew.KIID_SeedGenerator(aSeed)
926
927 def ConvertTimestampToUuid(self) -> "void":
928 r"""ConvertTimestampToUuid(KIID self)"""
929 return _pcbnew.KIID_ConvertTimestampToUuid(self)
930
931 def Increment(self) -> "void":
932 r"""Increment(KIID self)"""
933 return _pcbnew.KIID_Increment(self)
934
935 def __eq__(self, rhs: "KIID") -> "bool":
936 r"""__eq__(KIID self, KIID rhs) -> bool"""
937 return _pcbnew.KIID___eq__(self, rhs)
938
939 def __ne__(self, rhs: "KIID") -> "bool":
940 r"""__ne__(KIID self, KIID rhs) -> bool"""
941 return _pcbnew.KIID___ne__(self, rhs)
942
943 def __lt__(self, rhs: "KIID") -> "bool":
944 r"""__lt__(KIID self, KIID rhs) -> bool"""
945 return _pcbnew.KIID___lt__(self, rhs)
946
947 def __gt__(self, rhs: "KIID") -> "bool":
948 r"""__gt__(KIID self, KIID rhs) -> bool"""
949 return _pcbnew.KIID___gt__(self, rhs)
950 __swig_destroy__ = _pcbnew.delete_KIID
951
952# Register KIID in _pcbnew:
953_pcbnew.KIID_swigregister(KIID)
954
955def KIID_SniffTest(aCandidate: "wxString") -> "bool":
956 r"""KIID_SniffTest(wxString aCandidate) -> bool"""
957 return _pcbnew.KIID_SniffTest(aCandidate)
958
959def KIID_CreateNilUuids(aNil: "bool"=True) -> "void":
960 r"""KIID_CreateNilUuids(bool aNil=True)"""
961 return _pcbnew.KIID_CreateNilUuids(aNil)
962
963def KIID_SeedGenerator(aSeed: "unsigned int") -> "void":
964 r"""KIID_SeedGenerator(unsigned int aSeed)"""
965 return _pcbnew.KIID_SeedGenerator(aSeed)
966
967
968def NilUuid() -> "KIID &":
969 r"""NilUuid() -> KIID"""
970 return _pcbnew.NilUuid()
972 r"""Proxy of C++ std::vector< KIID > class."""
973
974 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
975 __repr__ = _swig_repr
976
977 def iterator(self) -> "swig::SwigPyIterator *":
978 r"""iterator(KIID_VECT_LIST self) -> SwigPyIterator"""
979 return _pcbnew.KIID_VECT_LIST_iterator(self)
980 def __iter__(self):
981 return self.iterator()
982
983 def __nonzero__(self) -> "bool":
984 r"""__nonzero__(KIID_VECT_LIST self) -> bool"""
985 return _pcbnew.KIID_VECT_LIST___nonzero__(self)
986
987 def __bool__(self) -> "bool":
988 r"""__bool__(KIID_VECT_LIST self) -> bool"""
989 return _pcbnew.KIID_VECT_LIST___bool__(self)
990
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)
994
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)
998
999 def __setslice__(self, *args) -> "void":
1000 r"""
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)
1003 """
1004 return _pcbnew.KIID_VECT_LIST___setslice__(self, *args)
1005
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)
1009
1010 def __delitem__(self, *args) -> "void":
1011 r"""
1012 __delitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i)
1013 __delitem__(KIID_VECT_LIST self, PySliceObject * slice)
1014 """
1015 return _pcbnew.KIID_VECT_LIST___delitem__(self, *args)
1016
1017 def __getitem__(self, *args) -> "std::vector< KIID >::value_type const &":
1018 r"""
1019 __getitem__(KIID_VECT_LIST self, PySliceObject * slice) -> KIID_VECT_LIST
1020 __getitem__(KIID_VECT_LIST self, std::vector< KIID >::difference_type i) -> KIID
1021 """
1022 return _pcbnew.KIID_VECT_LIST___getitem__(self, *args)
1023
1024 def __setitem__(self, *args) -> "void":
1025 r"""
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)
1029 """
1030 return _pcbnew.KIID_VECT_LIST___setitem__(self, *args)
1031
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)
1035
1036 def append(self, x: "KIID") -> "void":
1037 r"""append(KIID_VECT_LIST self, KIID x)"""
1038 return _pcbnew.KIID_VECT_LIST_append(self, x)
1039
1040 def empty(self) -> "bool":
1041 r"""empty(KIID_VECT_LIST self) -> bool"""
1042 return _pcbnew.KIID_VECT_LIST_empty(self)
1043
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)
1047
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)
1051
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)
1055
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)
1059
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)
1063
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)
1067
1068 def clear(self) -> "void":
1069 r"""clear(KIID_VECT_LIST self)"""
1070 return _pcbnew.KIID_VECT_LIST_clear(self)
1071
1072 def get_allocator(self) -> "std::vector< KIID >::allocator_type":
1073 r"""get_allocator(KIID_VECT_LIST self) -> std::vector< KIID >::allocator_type"""
1074 return _pcbnew.KIID_VECT_LIST_get_allocator(self)
1075
1076 def pop_back(self) -> "void":
1077 r"""pop_back(KIID_VECT_LIST self)"""
1078 return _pcbnew.KIID_VECT_LIST_pop_back(self)
1079
1080 def erase(self, *args) -> "std::vector< KIID >::iterator":
1081 r"""
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
1084 """
1085 return _pcbnew.KIID_VECT_LIST_erase(self, *args)
1086
1087 def __init__(self, *args):
1088 r"""
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
1093 """
1094 _pcbnew.KIID_VECT_LIST_swiginit(self, _pcbnew.new_KIID_VECT_LIST(*args))
1095
1096 def push_back(self, x: "KIID") -> "void":
1097 r"""push_back(KIID_VECT_LIST self, KIID x)"""
1098 return _pcbnew.KIID_VECT_LIST_push_back(self, x)
1099
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)
1103
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)
1107
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)
1111
1112 def resize(self, *args) -> "void":
1113 r"""
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)
1116 """
1117 return _pcbnew.KIID_VECT_LIST_resize(self, *args)
1118
1119 def insert(self, *args) -> "void":
1120 r"""
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)
1123 """
1124 return _pcbnew.KIID_VECT_LIST_insert(self, *args)
1125
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)
1129
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
1134
1135# Register KIID_VECT_LIST in _pcbnew:
1136_pcbnew.KIID_VECT_LIST_swigregister(KIID_VECT_LIST)
1137
1139 r"""Proxy of C++ KIID_PATH class."""
1140
1141 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1142 __repr__ = _swig_repr
1143
1144 def __init__(self, *args):
1145 r"""
1146 __init__(KIID_PATH self) -> KIID_PATH
1147 __init__(KIID_PATH self, wxString aString) -> KIID_PATH
1148 """
1149 _pcbnew.KIID_PATH_swiginit(self, _pcbnew.new_KIID_PATH(*args))
1150
1151 def MakeRelativeTo(self, aPath: "KIID_PATH") -> "bool":
1152 r"""MakeRelativeTo(KIID_PATH self, KIID_PATH aPath) -> bool"""
1153 return _pcbnew.KIID_PATH_MakeRelativeTo(self, aPath)
1154
1155 def AsString(self) -> "wxString":
1156 r"""AsString(KIID_PATH self) -> wxString"""
1157 return _pcbnew.KIID_PATH_AsString(self)
1158
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)
1162
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
1167
1168# Register KIID_PATH in _pcbnew:
1169_pcbnew.KIID_PATH_swigregister(KIID_PATH)
1170
1171NOT_USED = _pcbnew.NOT_USED
1172
1173EOT = _pcbnew.EOT
1174
1175TYPE_NOT_INIT = _pcbnew.TYPE_NOT_INIT
1176
1177PCB_T = _pcbnew.PCB_T
1178
1179SCREEN_T = _pcbnew.SCREEN_T
1180
1181PCB_FOOTPRINT_T = _pcbnew.PCB_FOOTPRINT_T
1182
1183PCB_PAD_T = _pcbnew.PCB_PAD_T
1184
1185PCB_SHAPE_T = _pcbnew.PCB_SHAPE_T
1186
1187PCB_TEXT_T = _pcbnew.PCB_TEXT_T
1188
1189PCB_FP_TEXT_T = _pcbnew.PCB_FP_TEXT_T
1190
1191PCB_FP_SHAPE_T = _pcbnew.PCB_FP_SHAPE_T
1192
1193PCB_FP_ZONE_T = _pcbnew.PCB_FP_ZONE_T
1194
1195PCB_TRACE_T = _pcbnew.PCB_TRACE_T
1196
1197PCB_VIA_T = _pcbnew.PCB_VIA_T
1198
1199PCB_ARC_T = _pcbnew.PCB_ARC_T
1200
1201PCB_MARKER_T = _pcbnew.PCB_MARKER_T
1202
1203PCB_DIMENSION_T = _pcbnew.PCB_DIMENSION_T
1204
1205PCB_DIM_ALIGNED_T = _pcbnew.PCB_DIM_ALIGNED_T
1206
1207PCB_DIM_LEADER_T = _pcbnew.PCB_DIM_LEADER_T
1208
1209PCB_DIM_CENTER_T = _pcbnew.PCB_DIM_CENTER_T
1210
1211PCB_DIM_ORTHOGONAL_T = _pcbnew.PCB_DIM_ORTHOGONAL_T
1212
1213PCB_TARGET_T = _pcbnew.PCB_TARGET_T
1214
1215PCB_ZONE_T = _pcbnew.PCB_ZONE_T
1216
1217PCB_ITEM_LIST_T = _pcbnew.PCB_ITEM_LIST_T
1218
1219PCB_NETINFO_T = _pcbnew.PCB_NETINFO_T
1220
1221PCB_GROUP_T = _pcbnew.PCB_GROUP_T
1222
1223PCB_LOCATE_STDVIA_T = _pcbnew.PCB_LOCATE_STDVIA_T
1224
1225PCB_LOCATE_UVIA_T = _pcbnew.PCB_LOCATE_UVIA_T
1226
1227PCB_LOCATE_BBVIA_T = _pcbnew.PCB_LOCATE_BBVIA_T
1228
1229PCB_LOCATE_TEXT_T = _pcbnew.PCB_LOCATE_TEXT_T
1230
1231PCB_LOCATE_GRAPHIC_T = _pcbnew.PCB_LOCATE_GRAPHIC_T
1232
1233PCB_LOCATE_HOLE_T = _pcbnew.PCB_LOCATE_HOLE_T
1234
1235PCB_LOCATE_PTH_T = _pcbnew.PCB_LOCATE_PTH_T
1236
1237PCB_LOCATE_NPTH_T = _pcbnew.PCB_LOCATE_NPTH_T
1238
1239PCB_LOCATE_BOARD_EDGE_T = _pcbnew.PCB_LOCATE_BOARD_EDGE_T
1240
1241SCH_MARKER_T = _pcbnew.SCH_MARKER_T
1242
1243SCH_JUNCTION_T = _pcbnew.SCH_JUNCTION_T
1244
1245SCH_NO_CONNECT_T = _pcbnew.SCH_NO_CONNECT_T
1246
1247SCH_BUS_WIRE_ENTRY_T = _pcbnew.SCH_BUS_WIRE_ENTRY_T
1248
1249SCH_BUS_BUS_ENTRY_T = _pcbnew.SCH_BUS_BUS_ENTRY_T
1250
1251SCH_LINE_T = _pcbnew.SCH_LINE_T
1252
1253SCH_BITMAP_T = _pcbnew.SCH_BITMAP_T
1254
1255SCH_TEXT_T = _pcbnew.SCH_TEXT_T
1256
1257SCH_LABEL_T = _pcbnew.SCH_LABEL_T
1258
1259SCH_GLOBAL_LABEL_T = _pcbnew.SCH_GLOBAL_LABEL_T
1260
1261SCH_HIER_LABEL_T = _pcbnew.SCH_HIER_LABEL_T
1262
1263SCH_FIELD_T = _pcbnew.SCH_FIELD_T
1264
1265SCH_SYMBOL_T = _pcbnew.SCH_SYMBOL_T
1266
1267SCH_SHEET_PIN_T = _pcbnew.SCH_SHEET_PIN_T
1268
1269SCH_SHEET_T = _pcbnew.SCH_SHEET_T
1270
1271SCH_PIN_T = _pcbnew.SCH_PIN_T
1272
1273SCH_FIELD_LOCATE_REFERENCE_T = _pcbnew.SCH_FIELD_LOCATE_REFERENCE_T
1274
1275SCH_FIELD_LOCATE_VALUE_T = _pcbnew.SCH_FIELD_LOCATE_VALUE_T
1276
1277SCH_FIELD_LOCATE_FOOTPRINT_T = _pcbnew.SCH_FIELD_LOCATE_FOOTPRINT_T
1278
1279SCH_FIELD_LOCATE_DATASHEET_T = _pcbnew.SCH_FIELD_LOCATE_DATASHEET_T
1280
1281SCH_LINE_LOCATE_WIRE_T = _pcbnew.SCH_LINE_LOCATE_WIRE_T
1282
1283SCH_LINE_LOCATE_BUS_T = _pcbnew.SCH_LINE_LOCATE_BUS_T
1284
1285SCH_LINE_LOCATE_GRAPHIC_LINE_T = _pcbnew.SCH_LINE_LOCATE_GRAPHIC_LINE_T
1286
1287SCH_LABEL_LOCATE_WIRE_T = _pcbnew.SCH_LABEL_LOCATE_WIRE_T
1288
1289SCH_LABEL_LOCATE_BUS_T = _pcbnew.SCH_LABEL_LOCATE_BUS_T
1290
1291SCH_SYMBOL_LOCATE_POWER_T = _pcbnew.SCH_SYMBOL_LOCATE_POWER_T
1292
1293SCH_LOCATE_ANY_T = _pcbnew.SCH_LOCATE_ANY_T
1294
1295SCH_SCREEN_T = _pcbnew.SCH_SCREEN_T
1296
1297SCHEMATIC_T = _pcbnew.SCHEMATIC_T
1298
1299LIB_SYMBOL_T = _pcbnew.LIB_SYMBOL_T
1300
1301LIB_ALIAS_T = _pcbnew.LIB_ALIAS_T
1302
1303LIB_SHAPE_T = _pcbnew.LIB_SHAPE_T
1304
1305LIB_TEXT_T = _pcbnew.LIB_TEXT_T
1306
1307LIB_PIN_T = _pcbnew.LIB_PIN_T
1308
1309LIB_FIELD_T = _pcbnew.LIB_FIELD_T
1310
1311GERBER_LAYOUT_T = _pcbnew.GERBER_LAYOUT_T
1312
1313GERBER_DRAW_ITEM_T = _pcbnew.GERBER_DRAW_ITEM_T
1314
1315GERBER_IMAGE_T = _pcbnew.GERBER_IMAGE_T
1316
1317WSG_LINE_T = _pcbnew.WSG_LINE_T
1318
1319WSG_RECT_T = _pcbnew.WSG_RECT_T
1320
1321WSG_POLY_T = _pcbnew.WSG_POLY_T
1322
1323WSG_TEXT_T = _pcbnew.WSG_TEXT_T
1324
1325WSG_BITMAP_T = _pcbnew.WSG_BITMAP_T
1326
1327WSG_PAGE_T = _pcbnew.WSG_PAGE_T
1328
1329WS_PROXY_UNDO_ITEM_T = _pcbnew.WS_PROXY_UNDO_ITEM_T
1330
1331WS_PROXY_UNDO_ITEM_PLUS_T = _pcbnew.WS_PROXY_UNDO_ITEM_PLUS_T
1332
1333SYMBOL_LIB_TABLE_T = _pcbnew.SYMBOL_LIB_TABLE_T
1334
1335FP_LIB_TABLE_T = _pcbnew.FP_LIB_TABLE_T
1336
1337SYMBOL_LIBS_T = _pcbnew.SYMBOL_LIBS_T
1338
1339SEARCH_STACK_T = _pcbnew.SEARCH_STACK_T
1340
1341S3D_CACHE_T = _pcbnew.S3D_CACHE_T
1342
1343MAX_STRUCT_TYPE_ID = _pcbnew.MAX_STRUCT_TYPE_ID
1344
1345
1346def BaseType(aType: "KICAD_T const") -> "KICAD_T":
1347 r"""BaseType(KICAD_T const aType) -> KICAD_T"""
1348 return _pcbnew.BaseType(aType)
1349
1350def IsNullType(aType: "KICAD_T const") -> "bool":
1351 r"""IsNullType(KICAD_T const aType) -> bool"""
1352 return _pcbnew.IsNullType(aType)
1353
1354def IsInstantiableType(aType: "KICAD_T const") -> "bool":
1355 r"""IsInstantiableType(KICAD_T const aType) -> bool"""
1356 return _pcbnew.IsInstantiableType(aType)
1357
1358def IsEeschemaType(aType: "KICAD_T const") -> "bool":
1359 r"""IsEeschemaType(KICAD_T const aType) -> bool"""
1360 return _pcbnew.IsEeschemaType(aType)
1361
1362def IsPcbnewType(aType: "KICAD_T const") -> "bool":
1363 r"""IsPcbnewType(KICAD_T const aType) -> bool"""
1364 return _pcbnew.IsPcbnewType(aType)
1365
1366def IsGerbviewType(aType: "KICAD_T const") -> "bool":
1367 r"""IsGerbviewType(KICAD_T const aType) -> bool"""
1368 return _pcbnew.IsGerbviewType(aType)
1369
1370def IsPageLayoutEditorType(aType: "KICAD_T const") -> "bool":
1371 r"""IsPageLayoutEditorType(KICAD_T const aType) -> bool"""
1372 return _pcbnew.IsPageLayoutEditorType(aType)
1373
1374def IsMiscType(aType: "KICAD_T const") -> "bool":
1375 r"""IsMiscType(KICAD_T const aType) -> bool"""
1376 return _pcbnew.IsMiscType(aType)
1377
1378def IsTypeCorrect(aType: "KICAD_T") -> "bool":
1379 r"""IsTypeCorrect(KICAD_T aType) -> bool"""
1380 return _pcbnew.IsTypeCorrect(aType)
1381
1382def IsTypeAvailable(aType: "KICAD_T") -> "bool":
1383 r"""IsTypeAvailable(KICAD_T aType) -> bool"""
1384 return _pcbnew.IsTypeAvailable(aType)
1385SEARCH_RESULT_QUIT = _pcbnew.SEARCH_RESULT_QUIT
1386
1387SEARCH_RESULT_CONTINUE = _pcbnew.SEARCH_RESULT_CONTINUE
1388
1389FR_CURRENT_SHEET_ONLY = _pcbnew.FR_CURRENT_SHEET_ONLY
1390
1391FR_SEARCH_ALL_FIELDS = _pcbnew.FR_SEARCH_ALL_FIELDS
1392
1393FR_SEARCH_ALL_PINS = _pcbnew.FR_SEARCH_ALL_PINS
1394
1395FR_MATCH_WILDCARD = _pcbnew.FR_MATCH_WILDCARD
1396
1397FR_SEARCH_WRAP = _pcbnew.FR_SEARCH_WRAP
1398
1399FR_SEARCH_REPLACE = _pcbnew.FR_SEARCH_REPLACE
1400
1401FR_REPLACE_ITEM_FOUND = _pcbnew.FR_REPLACE_ITEM_FOUND
1402
1403FR_REPLACE_REFERENCES = _pcbnew.FR_REPLACE_REFERENCES
1404
1406 r"""Proxy of C++ EDA_ITEM class."""
1407
1408 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1409
1410 def __init__(self, *args, **kwargs):
1411 raise AttributeError("No constructor defined - class is abstract")
1412 __repr__ = _swig_repr
1413 __swig_destroy__ = _pcbnew.delete_EDA_ITEM
1414
1415 def Type(self) -> "KICAD_T":
1416 r"""Type(EDA_ITEM self) -> KICAD_T"""
1417 return _pcbnew.EDA_ITEM_Type(self)
1418
1419 def GetParent(self) -> "EDA_ITEM *":
1420 r"""GetParent(EDA_ITEM self) -> EDA_ITEM"""
1421 return _pcbnew.EDA_ITEM_GetParent(self)
1422
1423 def SetParent(self, aParent: "EDA_ITEM") -> "void":
1424 r"""SetParent(EDA_ITEM self, EDA_ITEM aParent)"""
1425 return _pcbnew.EDA_ITEM_SetParent(self, aParent)
1426
1427 def IsModified(self) -> "bool":
1428 r"""IsModified(EDA_ITEM self) -> bool"""
1429 return _pcbnew.EDA_ITEM_IsModified(self)
1430
1431 def IsNew(self) -> "bool":
1432 r"""IsNew(EDA_ITEM self) -> bool"""
1433 return _pcbnew.EDA_ITEM_IsNew(self)
1434
1435 def IsMoving(self) -> "bool":
1436 r"""IsMoving(EDA_ITEM self) -> bool"""
1437 return _pcbnew.EDA_ITEM_IsMoving(self)
1438
1439 def IsDragging(self) -> "bool":
1440 r"""IsDragging(EDA_ITEM self) -> bool"""
1441 return _pcbnew.EDA_ITEM_IsDragging(self)
1442
1443 def IsWireImage(self) -> "bool":
1444 r"""IsWireImage(EDA_ITEM self) -> bool"""
1445 return _pcbnew.EDA_ITEM_IsWireImage(self)
1446
1447 def IsSelected(self) -> "bool":
1448 r"""IsSelected(EDA_ITEM self) -> bool"""
1449 return _pcbnew.EDA_ITEM_IsSelected(self)
1450
1451 def IsEntered(self) -> "bool":
1452 r"""IsEntered(EDA_ITEM self) -> bool"""
1453 return _pcbnew.EDA_ITEM_IsEntered(self)
1454
1455 def IsResized(self) -> "bool":
1456 r"""IsResized(EDA_ITEM self) -> bool"""
1457 return _pcbnew.EDA_ITEM_IsResized(self)
1458
1459 def IsBrightened(self) -> "bool":
1460 r"""IsBrightened(EDA_ITEM self) -> bool"""
1461 return _pcbnew.EDA_ITEM_IsBrightened(self)
1462
1463 def SetWireImage(self) -> "void":
1464 r"""SetWireImage(EDA_ITEM self)"""
1465 return _pcbnew.EDA_ITEM_SetWireImage(self)
1466
1467 def SetSelected(self) -> "void":
1468 r"""SetSelected(EDA_ITEM self)"""
1469 return _pcbnew.EDA_ITEM_SetSelected(self)
1470
1471 def SetBrightened(self) -> "void":
1472 r"""SetBrightened(EDA_ITEM self)"""
1473 return _pcbnew.EDA_ITEM_SetBrightened(self)
1474
1475 def ClearSelected(self) -> "void":
1476 r"""ClearSelected(EDA_ITEM self)"""
1477 return _pcbnew.EDA_ITEM_ClearSelected(self)
1478
1479 def ClearBrightened(self) -> "void":
1480 r"""ClearBrightened(EDA_ITEM self)"""
1481 return _pcbnew.EDA_ITEM_ClearBrightened(self)
1482
1483 def SetModified(self) -> "void":
1484 r"""SetModified(EDA_ITEM self)"""
1485 return _pcbnew.EDA_ITEM_SetModified(self)
1486
1487 def GetState(self, type: "EDA_ITEM_FLAGS") -> "int":
1488 r"""GetState(EDA_ITEM self, EDA_ITEM_FLAGS type) -> int"""
1489 return _pcbnew.EDA_ITEM_GetState(self, type)
1490
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)
1494
1495 def GetStatus(self) -> "EDA_ITEM_FLAGS":
1496 r"""GetStatus(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1497 return _pcbnew.EDA_ITEM_GetStatus(self)
1498
1499 def SetStatus(self, aStatus: "EDA_ITEM_FLAGS") -> "void":
1500 r"""SetStatus(EDA_ITEM self, EDA_ITEM_FLAGS aStatus)"""
1501 return _pcbnew.EDA_ITEM_SetStatus(self, aStatus)
1502
1503 def SetFlags(self, aMask: "EDA_ITEM_FLAGS") -> "void":
1504 r"""SetFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask)"""
1505 return _pcbnew.EDA_ITEM_SetFlags(self, aMask)
1506
1507 def ClearFlags(self, *args) -> "void":
1508 r"""ClearFlags(EDA_ITEM self, EDA_ITEM_FLAGS aMask=EDA_ITEM_ALL_FLAGS)"""
1509 return _pcbnew.EDA_ITEM_ClearFlags(self, *args)
1510
1511 def GetFlags(self) -> "EDA_ITEM_FLAGS":
1512 r"""GetFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1513 return _pcbnew.EDA_ITEM_GetFlags(self)
1514
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)
1518
1519 def GetEditFlags(self) -> "EDA_ITEM_FLAGS":
1520 r"""GetEditFlags(EDA_ITEM self) -> EDA_ITEM_FLAGS"""
1521 return _pcbnew.EDA_ITEM_GetEditFlags(self)
1522
1523 def ClearTempFlags(self) -> "void":
1524 r"""ClearTempFlags(EDA_ITEM self)"""
1525 return _pcbnew.EDA_ITEM_ClearTempFlags(self)
1526
1527 def ClearEditFlags(self) -> "void":
1528 r"""ClearEditFlags(EDA_ITEM self)"""
1529 return _pcbnew.EDA_ITEM_ClearEditFlags(self)
1530
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)
1534
1535 def SetForceVisible(self, aEnable: "bool") -> "void":
1536 r"""SetForceVisible(EDA_ITEM self, bool aEnable)"""
1537 return _pcbnew.EDA_ITEM_SetForceVisible(self, aEnable)
1538
1539 def IsForceVisible(self) -> "bool":
1540 r"""IsForceVisible(EDA_ITEM self) -> bool"""
1541 return _pcbnew.EDA_ITEM_IsForceVisible(self)
1542
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)
1546
1547 def HitTest(self, *args) -> "bool":
1548 r"""
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
1551 """
1552 return _pcbnew.EDA_ITEM_HitTest(self, *args)
1553
1554 def GetBoundingBox(self) -> "EDA_RECT const":
1555 r"""GetBoundingBox(EDA_ITEM self) -> EDA_RECT"""
1556 return _pcbnew.EDA_ITEM_GetBoundingBox(self)
1557
1558 def GetPosition(self) -> "wxPoint":
1559 r"""GetPosition(EDA_ITEM self) -> wxPoint"""
1560 return _pcbnew.EDA_ITEM_GetPosition(self)
1561
1562 def SetPosition(self, aPos: "wxPoint") -> "void":
1563 r"""SetPosition(EDA_ITEM self, wxPoint aPos)"""
1564 return _pcbnew.EDA_ITEM_SetPosition(self, aPos)
1565
1566 def GetFocusPosition(self) -> "wxPoint const":
1567 r"""GetFocusPosition(EDA_ITEM self) -> wxPoint"""
1568 return _pcbnew.EDA_ITEM_GetFocusPosition(self)
1569
1570 def Clone(self) -> "EDA_ITEM *":
1571 r"""Clone(EDA_ITEM self) -> EDA_ITEM"""
1572 return _pcbnew.EDA_ITEM_Clone(self)
1573
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)
1577
1578 def GetClass(self) -> "wxString":
1579 r"""GetClass(EDA_ITEM self) -> wxString"""
1580 return _pcbnew.EDA_ITEM_GetClass(self)
1581
1582 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
1583 r"""GetSelectMenuText(EDA_ITEM self, EDA_UNITS aUnits) -> wxString"""
1584 return _pcbnew.EDA_ITEM_GetSelectMenuText(self, aUnits)
1585
1586 def GetMenuImage(self) -> "BITMAPS":
1587 r"""GetMenuImage(EDA_ITEM self) -> BITMAPS"""
1588 return _pcbnew.EDA_ITEM_GetMenuImage(self)
1589
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)
1593
1594 def Replace(self, *args) -> "bool":
1595 r"""
1596 Replace(EDA_ITEM self, wxFindReplaceData const & aSearchData, wxString aText) -> bool
1597 Replace(EDA_ITEM self, wxFindReplaceData const & aSearchData, void * aAuxData=None) -> bool
1598 """
1599 return _pcbnew.EDA_ITEM_Replace(self, *args)
1600
1601 def IsReplaceable(self) -> "bool":
1602 r"""IsReplaceable(EDA_ITEM self) -> bool"""
1603 return _pcbnew.EDA_ITEM_IsReplaceable(self)
1604
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)
1608
1609 @staticmethod
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)
1613
1614 def ViewBBox(self) -> "BOX2I const":
1615 r"""ViewBBox(EDA_ITEM self) -> BOX2I const"""
1616 return _pcbnew.EDA_ITEM_ViewBBox(self)
1617
1618 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
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""")
1622
1623# Register EDA_ITEM in _pcbnew:
1624_pcbnew.EDA_ITEM_swigregister(EDA_ITEM)
1625
1626def EDA_ITEM_Sort(aLeft: "EDA_ITEM", aRight: "EDA_ITEM") -> "bool":
1627 r"""EDA_ITEM_Sort(EDA_ITEM aLeft, EDA_ITEM aRight) -> bool"""
1628 return _pcbnew.EDA_ITEM_Sort(aLeft, aRight)
1629
1630
1631def new_clone(aItem: "EDA_ITEM") -> "EDA_ITEM *":
1632 r"""new_clone(EDA_ITEM aItem) -> EDA_ITEM"""
1633 return _pcbnew.new_clone(aItem)
1635 r"""Proxy of C++ EDA_RECT class."""
1636
1637 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1638 __repr__ = _swig_repr
1639
1640 def __init__(self, *args):
1641 r"""
1642 __init__(EDA_RECT self) -> EDA_RECT
1643 __init__(EDA_RECT self, wxPoint aPos, wxSize aSize) -> EDA_RECT
1644 """
1645 _pcbnew.EDA_RECT_swiginit(self, _pcbnew.new_EDA_RECT(*args))
1646 __swig_destroy__ = _pcbnew.delete_EDA_RECT
1647
1648 def Centre(self) -> "wxPoint":
1649 r"""Centre(EDA_RECT self) -> wxPoint"""
1650 return _pcbnew.EDA_RECT_Centre(self)
1651
1652 def Move(self, aMoveVector: "wxPoint") -> "void":
1653 r"""Move(EDA_RECT self, wxPoint aMoveVector)"""
1654 return _pcbnew.EDA_RECT_Move(self, aMoveVector)
1655
1656 def Normalize(self) -> "void":
1657 r"""Normalize(EDA_RECT self)"""
1658 return _pcbnew.EDA_RECT_Normalize(self)
1659
1660 def Contains(self, *args) -> "bool":
1661 r"""
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
1665 """
1666 return _pcbnew.EDA_RECT_Contains(self, *args)
1667
1668 def GetSize(self) -> "wxSize const":
1669 r"""GetSize(EDA_RECT self) -> wxSize"""
1670 return _pcbnew.EDA_RECT_GetSize(self)
1671
1672 def GetSizeMax(self) -> "int":
1673 r"""GetSizeMax(EDA_RECT self) -> int"""
1674 return _pcbnew.EDA_RECT_GetSizeMax(self)
1675
1676 def GetX(self) -> "int":
1677 r"""GetX(EDA_RECT self) -> int"""
1678 return _pcbnew.EDA_RECT_GetX(self)
1679
1680 def GetY(self) -> "int":
1681 r"""GetY(EDA_RECT self) -> int"""
1682 return _pcbnew.EDA_RECT_GetY(self)
1683
1684 def GetOrigin(self) -> "wxPoint const":
1685 r"""GetOrigin(EDA_RECT self) -> wxPoint"""
1686 return _pcbnew.EDA_RECT_GetOrigin(self)
1687
1688 def GetPosition(self) -> "wxPoint const":
1689 r"""GetPosition(EDA_RECT self) -> wxPoint"""
1690 return _pcbnew.EDA_RECT_GetPosition(self)
1691
1692 def GetEnd(self) -> "wxPoint const":
1693 r"""GetEnd(EDA_RECT self) -> wxPoint"""
1694 return _pcbnew.EDA_RECT_GetEnd(self)
1695
1696 def GetCenter(self) -> "wxPoint const":
1697 r"""GetCenter(EDA_RECT self) -> wxPoint"""
1698 return _pcbnew.EDA_RECT_GetCenter(self)
1699
1700 def GetWidth(self) -> "int":
1701 r"""GetWidth(EDA_RECT self) -> int"""
1702 return _pcbnew.EDA_RECT_GetWidth(self)
1703
1704 def GetHeight(self) -> "int":
1705 r"""GetHeight(EDA_RECT self) -> int"""
1706 return _pcbnew.EDA_RECT_GetHeight(self)
1707
1708 def GetRight(self) -> "int":
1709 r"""GetRight(EDA_RECT self) -> int"""
1710 return _pcbnew.EDA_RECT_GetRight(self)
1711
1712 def GetLeft(self) -> "int":
1713 r"""GetLeft(EDA_RECT self) -> int"""
1714 return _pcbnew.EDA_RECT_GetLeft(self)
1715
1716 def GetTop(self) -> "int":
1717 r"""GetTop(EDA_RECT self) -> int"""
1718 return _pcbnew.EDA_RECT_GetTop(self)
1719
1720 def GetBottom(self) -> "int":
1721 r"""GetBottom(EDA_RECT self) -> int"""
1722 return _pcbnew.EDA_RECT_GetBottom(self)
1723
1724 def IsValid(self) -> "bool":
1725 r"""IsValid(EDA_RECT self) -> bool"""
1726 return _pcbnew.EDA_RECT_IsValid(self)
1727
1728 def SetOrigin(self, *args) -> "void":
1729 r"""
1730 SetOrigin(EDA_RECT self, wxPoint pos)
1731 SetOrigin(EDA_RECT self, int x, int y)
1732 """
1733 return _pcbnew.EDA_RECT_SetOrigin(self, *args)
1734
1735 def SetSize(self, *args) -> "void":
1736 r"""
1737 SetSize(EDA_RECT self, wxSize size)
1738 SetSize(EDA_RECT self, int w, int h)
1739 """
1740 return _pcbnew.EDA_RECT_SetSize(self, *args)
1741
1742 def Offset(self, *args) -> "void":
1743 r"""
1744 Offset(EDA_RECT self, int dx, int dy)
1745 Offset(EDA_RECT self, wxPoint offset)
1746 """
1747 return _pcbnew.EDA_RECT_Offset(self, *args)
1748
1749 def SetX(self, val: "int") -> "void":
1750 r"""SetX(EDA_RECT self, int val)"""
1751 return _pcbnew.EDA_RECT_SetX(self, val)
1752
1753 def SetY(self, val: "int") -> "void":
1754 r"""SetY(EDA_RECT self, int val)"""
1755 return _pcbnew.EDA_RECT_SetY(self, val)
1756
1757 def SetWidth(self, val: "int") -> "void":
1758 r"""SetWidth(EDA_RECT self, int val)"""
1759 return _pcbnew.EDA_RECT_SetWidth(self, val)
1760
1761 def SetHeight(self, val: "int") -> "void":
1762 r"""SetHeight(EDA_RECT self, int val)"""
1763 return _pcbnew.EDA_RECT_SetHeight(self, val)
1764
1765 def SetEnd(self, *args) -> "void":
1766 r"""
1767 SetEnd(EDA_RECT self, int x, int y)
1768 SetEnd(EDA_RECT self, wxPoint pos)
1769 """
1770 return _pcbnew.EDA_RECT_SetEnd(self, *args)
1771
1772 def RevertYAxis(self) -> "void":
1773 r"""RevertYAxis(EDA_RECT self)"""
1774 return _pcbnew.EDA_RECT_RevertYAxis(self)
1775
1776 def Intersects(self, *args) -> "bool":
1777 r"""
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
1782 """
1783 return _pcbnew.EDA_RECT_Intersects(self, *args)
1784
1785 def ClosestPointTo(self, aPoint: "wxPoint") -> "wxPoint const":
1786 r"""ClosestPointTo(EDA_RECT self, wxPoint aPoint) -> wxPoint"""
1787 return _pcbnew.EDA_RECT_ClosestPointTo(self, aPoint)
1788
1789 def FarthestPointTo(self, aPoint: "wxPoint") -> "wxPoint const":
1790 r"""FarthestPointTo(EDA_RECT self, wxPoint aPoint) -> wxPoint"""
1791 return _pcbnew.EDA_RECT_FarthestPointTo(self, aPoint)
1792
1793 def IntersectsCircle(self, aCenter: "wxPoint", aRadius: "int const") -> "bool":
1794 r"""IntersectsCircle(EDA_RECT self, wxPoint aCenter, int const aRadius) -> bool"""
1795 return _pcbnew.EDA_RECT_IntersectsCircle(self, aCenter, aRadius)
1796
1797 def IntersectsCircleEdge(self, aCenter: "wxPoint", aRadius: "int const", aWidth: "int const") -> "bool":
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)
1800
1801 def getWxRect(self) -> "wxRect":
1802 r"""getWxRect(EDA_RECT self) -> wxRect"""
1803 return _pcbnew.EDA_RECT_getWxRect(self)
1804
1805 def getBOX2I(self) -> "BOX2I":
1806 r"""getBOX2I(EDA_RECT self) -> BOX2I"""
1807 return _pcbnew.EDA_RECT_getBOX2I(self)
1808
1809 def Inflate(self, *args) -> "EDA_RECT &":
1810 r"""
1811 Inflate(EDA_RECT self, wxCoord dx, wxCoord dy) -> EDA_RECT
1812 Inflate(EDA_RECT self, int aDelta) -> EDA_RECT
1813 """
1814 return _pcbnew.EDA_RECT_Inflate(self, *args)
1815
1816 def Merge(self, *args) -> "void":
1817 r"""
1818 Merge(EDA_RECT self, EDA_RECT aRect)
1819 Merge(EDA_RECT self, wxPoint aPoint)
1820 """
1821 return _pcbnew.EDA_RECT_Merge(self, *args)
1822
1823 def GetArea(self) -> "double":
1824 r"""GetArea(EDA_RECT self) -> double"""
1825 return _pcbnew.EDA_RECT_GetArea(self)
1826
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)
1830
1831 def GetBoundingBoxRotated(self, aRotCenter: "wxPoint", aAngle: "double") -> "EDA_RECT const":
1832 r"""GetBoundingBoxRotated(EDA_RECT self, wxPoint aRotCenter, double aAngle) -> EDA_RECT"""
1833 return _pcbnew.EDA_RECT_GetBoundingBoxRotated(self, aRotCenter, aAngle)
1834
1835# Register EDA_RECT in _pcbnew:
1836_pcbnew.EDA_RECT_swigregister(EDA_RECT)
1837
1838EDA_DATA_TYPE_DISTANCE = _pcbnew.EDA_DATA_TYPE_DISTANCE
1839
1840EDA_DATA_TYPE_AREA = _pcbnew.EDA_DATA_TYPE_AREA
1841
1842EDA_DATA_TYPE_VOLUME = _pcbnew.EDA_DATA_TYPE_VOLUME
1843
1844EDA_UNITS_INCHES = _pcbnew.EDA_UNITS_INCHES
1845
1846EDA_UNITS_MILLIMETRES = _pcbnew.EDA_UNITS_MILLIMETRES
1847
1848EDA_UNITS_UNSCALED = _pcbnew.EDA_UNITS_UNSCALED
1849
1850EDA_UNITS_DEGREES = _pcbnew.EDA_UNITS_DEGREES
1851
1852EDA_UNITS_PERCENT = _pcbnew.EDA_UNITS_PERCENT
1853
1854EDA_UNITS_MILS = _pcbnew.EDA_UNITS_MILS
1855
1856
1857def IsImperialUnit(aUnit: "EDA_UNITS") -> "bool":
1858 r"""IsImperialUnit(EDA_UNITS aUnit) -> bool"""
1859 return _pcbnew.IsImperialUnit(aUnit)
1860
1861def IsMetricUnit(aUnit: "EDA_UNITS") -> "bool":
1862 r"""IsMetricUnit(EDA_UNITS aUnit) -> bool"""
1863 return _pcbnew.IsMetricUnit(aUnit)
1864
1865def SearchHelpFileFullPath(aBaseName: "wxString") -> "wxString":
1866 r"""SearchHelpFileFullPath(wxString aBaseName) -> wxString"""
1867 return _pcbnew.SearchHelpFileFullPath(aBaseName)
1868
1869def EnsureFileDirectoryExists(aTargetFullFileName: "wxFileName *", aBaseFilename: "wxString", aReporter: "REPORTER *"=None) -> "bool":
1870 r"""EnsureFileDirectoryExists(wxFileName * aTargetFullFileName, wxString aBaseFilename, REPORTER * aReporter=None) -> bool"""
1871 return _pcbnew.EnsureFileDirectoryExists(aTargetFullFileName, aBaseFilename, aReporter)
1872
1873def ExpandEnvVarSubstitutions(aString: "wxString", aProject: "PROJECT *") -> "wxString const":
1874 r"""ExpandEnvVarSubstitutions(wxString aString, PROJECT * aProject) -> wxString"""
1875 return _pcbnew.ExpandEnvVarSubstitutions(aString, aProject)
1876
1877def ExpandTextVars(*args) -> "wxString":
1878 r"""
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
1881 """
1882 return _pcbnew.ExpandTextVars(*args)
1883
1884def ResolveUriByEnvVars(aUri: "wxString", aProject: "PROJECT *") -> "wxString const":
1885 r"""ResolveUriByEnvVars(wxString aUri, PROJECT * aProject) -> wxString"""
1886 return _pcbnew.ResolveUriByEnvVars(aUri, aProject)
1887
1888def TimestampDir(aDirPath: "wxString", aFilespec: "wxString") -> "long long":
1889 r"""TimestampDir(wxString aDirPath, wxString aFilespec) -> long long"""
1890 return _pcbnew.TimestampDir(aDirPath, aFilespec)
1891
1893 r"""WarnUserIfOperatingSystemUnsupported() -> bool"""
1894 return _pcbnew.WarnUserIfOperatingSystemUnsupported()
1895
1896def StrPrintf(*args) -> "std::string":
1897 r"""
1898 StrPrintf(string aResult, char const * aFormat) -> int
1899 StrPrintf(char const * format) -> string
1900 """
1901 return _pcbnew.StrPrintf(*args)
1902LINE_READER_LINE_DEFAULT_MAX = _pcbnew.LINE_READER_LINE_DEFAULT_MAX
1903
1904LINE_READER_LINE_INITIAL_SIZE = _pcbnew.LINE_READER_LINE_INITIAL_SIZE
1905
1907 r"""Proxy of C++ LINE_READER class."""
1908
1909 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1910
1911 def __init__(self, *args, **kwargs):
1912 raise AttributeError("No constructor defined - class is abstract")
1913 __repr__ = _swig_repr
1914 __swig_destroy__ = _pcbnew.delete_LINE_READER
1915
1916 def ReadLine(self) -> "char *":
1917 r"""ReadLine(LINE_READER self) -> char *"""
1918 return _pcbnew.LINE_READER_ReadLine(self)
1919
1920 def GetSource(self) -> "wxString const &":
1921 r"""GetSource(LINE_READER self) -> wxString"""
1922 return _pcbnew.LINE_READER_GetSource(self)
1923
1924 def Line(self) -> "char *":
1925 r"""Line(LINE_READER self) -> char *"""
1926 return _pcbnew.LINE_READER_Line(self)
1927
1928 def LineNumber(self) -> "unsigned int":
1929 r"""LineNumber(LINE_READER self) -> unsigned int"""
1930 return _pcbnew.LINE_READER_LineNumber(self)
1931
1932 def Length(self) -> "unsigned int":
1933 r"""Length(LINE_READER self) -> unsigned int"""
1934 return _pcbnew.LINE_READER_Length(self)
1935
1936# Register LINE_READER in _pcbnew:
1937_pcbnew.LINE_READER_swigregister(LINE_READER)
1938
1940 r"""Proxy of C++ FILE_LINE_READER class."""
1941
1942 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1943 __repr__ = _swig_repr
1944
1945 def __init__(self, *args):
1946 r"""
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
1949 """
1950 _pcbnew.FILE_LINE_READER_swiginit(self, _pcbnew.new_FILE_LINE_READER(*args))
1951 __swig_destroy__ = _pcbnew.delete_FILE_LINE_READER
1952
1953 def ReadLine(self) -> "char *":
1954 r"""ReadLine(FILE_LINE_READER self) -> char *"""
1955 return _pcbnew.FILE_LINE_READER_ReadLine(self)
1956
1957 def Rewind(self) -> "void":
1958 r"""Rewind(FILE_LINE_READER self)"""
1959 return _pcbnew.FILE_LINE_READER_Rewind(self)
1960
1961 def FileLength(self) -> "long":
1962 r"""FileLength(FILE_LINE_READER self) -> long"""
1963 return _pcbnew.FILE_LINE_READER_FileLength(self)
1964
1965 def CurPos(self) -> "long":
1966 r"""CurPos(FILE_LINE_READER self) -> long"""
1967 return _pcbnew.FILE_LINE_READER_CurPos(self)
1968
1969# Register FILE_LINE_READER in _pcbnew:
1970_pcbnew.FILE_LINE_READER_swigregister(FILE_LINE_READER)
1971
1973 r"""Proxy of C++ STRING_LINE_READER class."""
1974
1975 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1976 __repr__ = _swig_repr
1977
1978 def __init__(self, *args):
1979 r"""
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
1982 """
1983 _pcbnew.STRING_LINE_READER_swiginit(self, _pcbnew.new_STRING_LINE_READER(*args))
1984
1985 def ReadLine(self) -> "char *":
1986 r"""ReadLine(STRING_LINE_READER self) -> char *"""
1987 return _pcbnew.STRING_LINE_READER_ReadLine(self)
1988 __swig_destroy__ = _pcbnew.delete_STRING_LINE_READER
1989
1990# Register STRING_LINE_READER in _pcbnew:
1991_pcbnew.STRING_LINE_READER_swigregister(STRING_LINE_READER)
1992
1994 r"""Proxy of C++ INPUTSTREAM_LINE_READER class."""
1995
1996 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1997 __repr__ = _swig_repr
1998
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))
2002
2003 def ReadLine(self) -> "char *":
2004 r"""ReadLine(INPUTSTREAM_LINE_READER self) -> char *"""
2005 return _pcbnew.INPUTSTREAM_LINE_READER_ReadLine(self)
2006 __swig_destroy__ = _pcbnew.delete_INPUTSTREAM_LINE_READER
2007
2008# Register INPUTSTREAM_LINE_READER in _pcbnew:
2009_pcbnew.INPUTSTREAM_LINE_READER_swigregister(INPUTSTREAM_LINE_READER)
2010
2011OUTPUTFMTBUFZ = _pcbnew.OUTPUTFMTBUFZ
2012
2014 r"""Proxy of C++ OUTPUTFORMATTER class."""
2015
2016 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2017
2018 def __init__(self, *args, **kwargs):
2019 raise AttributeError("No constructor defined - class is abstract")
2020 __repr__ = _swig_repr
2021
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)
2025
2026 def GetQuoteChar(self, wrapee: "char const *") -> "char const *":
2027 r"""GetQuoteChar(OUTPUTFORMATTER self, char const * wrapee) -> char const *"""
2028 return _pcbnew.OUTPUTFORMATTER_GetQuoteChar(self, wrapee)
2029
2030 def Quotes(self, aWrapee: "string") -> "std::string":
2031 r"""Quotes(OUTPUTFORMATTER self, string aWrapee) -> string"""
2032 return _pcbnew.OUTPUTFORMATTER_Quotes(self, aWrapee)
2033
2034 def Quotew(self, aWrapee: "wxString") -> "std::string":
2035 r"""Quotew(OUTPUTFORMATTER self, wxString aWrapee) -> string"""
2036 return _pcbnew.OUTPUTFORMATTER_Quotew(self, aWrapee)
2037
2038# Register OUTPUTFORMATTER in _pcbnew:
2039_pcbnew.OUTPUTFORMATTER_swigregister(OUTPUTFORMATTER)
2040
2042 r"""Proxy of C++ STRING_FORMATTER class."""
2043
2044 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2045 __repr__ = _swig_repr
2046
2047 def __init__(self, *args):
2048 r"""__init__(STRING_FORMATTER self, int aReserve=500, char aQuoteChar='\"') -> STRING_FORMATTER"""
2049 _pcbnew.STRING_FORMATTER_swiginit(self, _pcbnew.new_STRING_FORMATTER(*args))
2050
2051 def Clear(self) -> "void":
2052 r"""Clear(STRING_FORMATTER self)"""
2053 return _pcbnew.STRING_FORMATTER_Clear(self)
2054
2055 def StripUseless(self) -> "void":
2056 r"""StripUseless(STRING_FORMATTER self)"""
2057 return _pcbnew.STRING_FORMATTER_StripUseless(self)
2058
2059 def GetString(self) -> "std::string const &":
2060 r"""GetString(STRING_FORMATTER self) -> string"""
2061 return _pcbnew.STRING_FORMATTER_GetString(self)
2062 __swig_destroy__ = _pcbnew.delete_STRING_FORMATTER
2063
2064# Register STRING_FORMATTER in _pcbnew:
2065_pcbnew.STRING_FORMATTER_swigregister(STRING_FORMATTER)
2066
2068 r"""Proxy of C++ FILE_OUTPUTFORMATTER class."""
2069
2070 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2071 __repr__ = _swig_repr
2072
2073 def __init__(self, *args):
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
2077
2078# Register FILE_OUTPUTFORMATTER in _pcbnew:
2079_pcbnew.FILE_OUTPUTFORMATTER_swigregister(FILE_OUTPUTFORMATTER)
2080
2082 r"""Proxy of C++ STREAM_OUTPUTFORMATTER class."""
2083
2084 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2085 __repr__ = _swig_repr
2086
2087 def __init__(self, *args):
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
2091
2092# Register STREAM_OUTPUTFORMATTER in _pcbnew:
2093_pcbnew.STREAM_OUTPUTFORMATTER_swigregister(STREAM_OUTPUTFORMATTER)
2094
2096 r"""Proxy of C++ TITLE_BLOCK class."""
2097
2098 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2099 __repr__ = _swig_repr
2100
2101 def __init__(self):
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
2105
2106 def SetTitle(self, aTitle: "wxString") -> "void":
2107 r"""SetTitle(TITLE_BLOCK self, wxString aTitle)"""
2108 return _pcbnew.TITLE_BLOCK_SetTitle(self, aTitle)
2109
2110 def GetTitle(self) -> "wxString const &":
2111 r"""GetTitle(TITLE_BLOCK self) -> wxString"""
2112 return _pcbnew.TITLE_BLOCK_GetTitle(self)
2113
2114 def SetDate(self, aDate: "wxString") -> "void":
2115 r"""SetDate(TITLE_BLOCK self, wxString aDate)"""
2116 return _pcbnew.TITLE_BLOCK_SetDate(self, aDate)
2117
2118 def GetDate(self) -> "wxString const &":
2119 r"""GetDate(TITLE_BLOCK self) -> wxString"""
2120 return _pcbnew.TITLE_BLOCK_GetDate(self)
2121
2122 def SetRevision(self, aRevision: "wxString") -> "void":
2123 r"""SetRevision(TITLE_BLOCK self, wxString aRevision)"""
2124 return _pcbnew.TITLE_BLOCK_SetRevision(self, aRevision)
2125
2126 def GetRevision(self) -> "wxString const &":
2127 r"""GetRevision(TITLE_BLOCK self) -> wxString"""
2128 return _pcbnew.TITLE_BLOCK_GetRevision(self)
2129
2130 def SetCompany(self, aCompany: "wxString") -> "void":
2131 r"""SetCompany(TITLE_BLOCK self, wxString aCompany)"""
2132 return _pcbnew.TITLE_BLOCK_SetCompany(self, aCompany)
2133
2134 def GetCompany(self) -> "wxString const &":
2135 r"""GetCompany(TITLE_BLOCK self) -> wxString"""
2136 return _pcbnew.TITLE_BLOCK_GetCompany(self)
2137
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)
2141
2142 def GetComment(self, aIdx: "int") -> "wxString const &":
2143 r"""GetComment(TITLE_BLOCK self, int aIdx) -> wxString"""
2144 return _pcbnew.TITLE_BLOCK_GetComment(self, aIdx)
2145
2146 def Clear(self) -> "void":
2147 r"""Clear(TITLE_BLOCK self)"""
2148 return _pcbnew.TITLE_BLOCK_Clear(self)
2149
2150 @staticmethod
2151 def GetContextualTextVars(aVars: "wxArrayString *") -> "void":
2152 r"""GetContextualTextVars(wxArrayString * aVars)"""
2153 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2154
2155 def TextVarResolver(self, aToken: "wxString", aProject: "PROJECT const *") -> "bool":
2156 r"""TextVarResolver(TITLE_BLOCK self, wxString aToken, PROJECT const * aProject) -> bool"""
2157 return _pcbnew.TITLE_BLOCK_TextVarResolver(self, aToken, aProject)
2158
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)
2162
2163# Register TITLE_BLOCK in _pcbnew:
2164_pcbnew.TITLE_BLOCK_swigregister(TITLE_BLOCK)
2165
2166def TITLE_BLOCK_GetContextualTextVars(aVars: "wxArrayString *") -> "void":
2167 r"""TITLE_BLOCK_GetContextualTextVars(wxArrayString * aVars)"""
2168 return _pcbnew.TITLE_BLOCK_GetContextualTextVars(aVars)
2169
2170UNSPECIFIED_COLOR = _pcbnew.UNSPECIFIED_COLOR
2171
2172BLACK = _pcbnew.BLACK
2173
2174DARKDARKGRAY = _pcbnew.DARKDARKGRAY
2175
2176DARKGRAY = _pcbnew.DARKGRAY
2177
2178LIGHTGRAY = _pcbnew.LIGHTGRAY
2179
2180WHITE = _pcbnew.WHITE
2181
2182LIGHTYELLOW = _pcbnew.LIGHTYELLOW
2183
2184DARKBLUE = _pcbnew.DARKBLUE
2185
2186DARKGREEN = _pcbnew.DARKGREEN
2187
2188DARKCYAN = _pcbnew.DARKCYAN
2189
2190DARKRED = _pcbnew.DARKRED
2191
2192DARKMAGENTA = _pcbnew.DARKMAGENTA
2193
2194DARKBROWN = _pcbnew.DARKBROWN
2195
2196BLUE = _pcbnew.BLUE
2197
2198GREEN = _pcbnew.GREEN
2199
2200CYAN = _pcbnew.CYAN
2201
2202RED = _pcbnew.RED
2203
2204MAGENTA = _pcbnew.MAGENTA
2205
2206BROWN = _pcbnew.BROWN
2207
2208LIGHTBLUE = _pcbnew.LIGHTBLUE
2209
2210LIGHTGREEN = _pcbnew.LIGHTGREEN
2211
2212LIGHTCYAN = _pcbnew.LIGHTCYAN
2213
2214LIGHTRED = _pcbnew.LIGHTRED
2215
2216LIGHTMAGENTA = _pcbnew.LIGHTMAGENTA
2217
2218YELLOW = _pcbnew.YELLOW
2219
2220PUREBLUE = _pcbnew.PUREBLUE
2221
2222PUREGREEN = _pcbnew.PUREGREEN
2223
2224PURECYAN = _pcbnew.PURECYAN
2225
2226PURERED = _pcbnew.PURERED
2227
2228PUREMAGENTA = _pcbnew.PUREMAGENTA
2229
2230PUREYELLOW = _pcbnew.PUREYELLOW
2231
2232LIGHTERORANGE = _pcbnew.LIGHTERORANGE
2233
2234DARKORANGE = _pcbnew.DARKORANGE
2235
2236ORANGE = _pcbnew.ORANGE
2237
2238LIGHTORANGE = _pcbnew.LIGHTORANGE
2239
2240PUREORANGE = _pcbnew.PUREORANGE
2241
2242NBCOLORS = _pcbnew.NBCOLORS
2243
2244HIGHLIGHT_FLAG = _pcbnew.HIGHLIGHT_FLAG
2245
2246MASKCOLOR = _pcbnew.MASKCOLOR
2247
2249 r"""Proxy of C++ StructColors class."""
2250
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""")
2259
2260 def __init__(self):
2261 r"""__init__(StructColors self) -> StructColors"""
2262 _pcbnew.StructColors_swiginit(self, _pcbnew.new_StructColors())
2263 __swig_destroy__ = _pcbnew.delete_StructColors
2264
2265# Register StructColors in _pcbnew:
2266_pcbnew.StructColors_swigregister(StructColors)
2267
2268
2269def colorRefs() -> "StructColors const *":
2270 r"""colorRefs() -> StructColors"""
2271 return _pcbnew.colorRefs()
2273 r"""Proxy of C++ KIGFX::COLOR4D class."""
2274
2275 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2276 __repr__ = _swig_repr
2277
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)
2281
2282 def __init__(self, *args):
2283 r"""
2284 __init__(COLOR4D self) -> COLOR4D
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
2289 """
2290 _pcbnew.COLOR4D_swiginit(self, _pcbnew.new_COLOR4D(*args))
2291
2292 def SetFromWxString(self, aColorString: "wxString") -> "bool":
2293 r"""SetFromWxString(COLOR4D self, wxString aColorString) -> bool"""
2294 return _pcbnew.COLOR4D_SetFromWxString(self, aColorString)
2295
2296 def ToCSSString(self) -> "wxString":
2297 r"""ToCSSString(COLOR4D self) -> wxString"""
2298 return _pcbnew.COLOR4D_ToCSSString(self)
2299
2300 def SetFromHexString(self, aColorString: "wxString") -> "bool":
2301 r"""SetFromHexString(COLOR4D self, wxString aColorString) -> bool"""
2302 return _pcbnew.COLOR4D_SetFromHexString(self, aColorString)
2303
2304 def ToHexString(self) -> "wxString":
2305 r"""ToHexString(COLOR4D self) -> wxString"""
2306 return _pcbnew.COLOR4D_ToHexString(self)
2307
2308 def ToColour(self) -> "wxColour":
2309 r"""ToColour(COLOR4D self) -> wxColour"""
2310 return _pcbnew.COLOR4D_ToColour(self)
2311
2312 def LegacyMix(self, aColor: "COLOR4D") -> "KIGFX::COLOR4D":
2313 r"""LegacyMix(COLOR4D self, COLOR4D aColor) -> COLOR4D"""
2314 return _pcbnew.COLOR4D_LegacyMix(self, aColor)
2315
2316 def ToU32(self) -> "unsigned int":
2317 r"""ToU32(COLOR4D self) -> unsigned int"""
2318 return _pcbnew.COLOR4D_ToU32(self)
2319
2320 def FromU32(self, aPackedColor: "unsigned int") -> "void":
2321 r"""FromU32(COLOR4D self, unsigned int aPackedColor)"""
2322 return _pcbnew.COLOR4D_FromU32(self, aPackedColor)
2323
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)
2327
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)
2331
2332 def Brighten(self, aFactor: "double") -> "KIGFX::COLOR4D &":
2333 r"""Brighten(COLOR4D self, double aFactor) -> COLOR4D"""
2334 return _pcbnew.COLOR4D_Brighten(self, aFactor)
2335
2336 def Darken(self, aFactor: "double") -> "KIGFX::COLOR4D &":
2337 r"""Darken(COLOR4D self, double aFactor) -> COLOR4D"""
2338 return _pcbnew.COLOR4D_Darken(self, aFactor)
2339
2340 def Invert(self) -> "KIGFX::COLOR4D &":
2341 r"""Invert(COLOR4D self) -> COLOR4D"""
2342 return _pcbnew.COLOR4D_Invert(self)
2343
2344 def Saturate(self, aFactor: "double") -> "KIGFX::COLOR4D &":
2345 r"""Saturate(COLOR4D self, double aFactor) -> COLOR4D"""
2346 return _pcbnew.COLOR4D_Saturate(self, aFactor)
2347
2348 def Brightened(self, aFactor: "double") -> "KIGFX::COLOR4D":
2349 r"""Brightened(COLOR4D self, double aFactor) -> COLOR4D"""
2350 return _pcbnew.COLOR4D_Brightened(self, aFactor)
2351
2352 def Darkened(self, aFactor: "double") -> "KIGFX::COLOR4D":
2353 r"""Darkened(COLOR4D self, double aFactor) -> COLOR4D"""
2354 return _pcbnew.COLOR4D_Darkened(self, aFactor)
2355
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)
2359
2360 def WithAlpha(self, aAlpha: "double") -> "KIGFX::COLOR4D":
2361 r"""WithAlpha(COLOR4D self, double aAlpha) -> COLOR4D"""
2362 return _pcbnew.COLOR4D_WithAlpha(self, aAlpha)
2363
2364 def Inverted(self) -> "KIGFX::COLOR4D":
2365 r"""Inverted(COLOR4D self) -> COLOR4D"""
2366 return _pcbnew.COLOR4D_Inverted(self)
2367
2368 def GetBrightness(self) -> "double":
2369 r"""GetBrightness(COLOR4D self) -> double"""
2370 return _pcbnew.COLOR4D_GetBrightness(self)
2371
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)
2375
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)
2379
2380 def Distance(self, other: "COLOR4D") -> "double":
2381 r"""Distance(COLOR4D self, COLOR4D other) -> double"""
2382 return _pcbnew.COLOR4D_Distance(self, other)
2383
2384 @staticmethod
2385 def FindNearestLegacyColor(aR: "int", aG: "int", aB: "int") -> "EDA_COLOR_T":
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
2393
2394# Register COLOR4D in _pcbnew:
2395_pcbnew.COLOR4D_swigregister(COLOR4D)
2396
2397def COLOR4D_FindNearestLegacyColor(aR: "int", aG: "int", aB: "int") -> "EDA_COLOR_T":
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
2404
2405
2406def __eq__(lhs: "COLOR4D", rhs: "COLOR4D") -> "bool const":
2407 r"""__eq__(COLOR4D lhs, COLOR4D rhs) -> bool const"""
2408 return _pcbnew.__eq__(lhs, rhs)
2409
2410def __ne__(lhs: "COLOR4D", rhs: "COLOR4D") -> "bool const":
2411 r"""__ne__(COLOR4D lhs, COLOR4D rhs) -> bool const"""
2412 return _pcbnew.__ne__(lhs, rhs)
2413
2414def __lt__(lhs: "COLOR4D", rhs: "COLOR4D") -> "bool const":
2415 r"""__lt__(COLOR4D lhs, COLOR4D rhs) -> bool const"""
2416 return _pcbnew.__lt__(lhs, rhs)
2417
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)
2421
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)
2425
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."""
2431
2432 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2433
2434 def __init__(self, *args, **kwargs):
2435 raise AttributeError("No constructor defined - class is abstract")
2436 __repr__ = _swig_repr
2437 MARKER_UNSPEC = _pcbnew.MARKER_BASE_MARKER_UNSPEC
2438
2439 MARKER_ERC = _pcbnew.MARKER_BASE_MARKER_ERC
2440
2441 MARKER_PCB = _pcbnew.MARKER_BASE_MARKER_PCB
2442
2443 MARKER_SIMUL = _pcbnew.MARKER_BASE_MARKER_SIMUL
2444
2445 __swig_destroy__ = _pcbnew.delete_MARKER_BASE
2446
2447 def MarkerScale(self) -> "int":
2448 r"""MarkerScale(MARKER_BASE self) -> int"""
2449 return _pcbnew.MARKER_BASE_MarkerScale(self)
2450
2451 def SetMarkerScale(self, aScale: "int") -> "void":
2452 r"""SetMarkerScale(MARKER_BASE self, int aScale)"""
2453 return _pcbnew.MARKER_BASE_SetMarkerScale(self, aScale)
2454
2455 def ShapeToPolygon(self, aPolygon: "SHAPE_LINE_CHAIN", aScale: "int"=-1) -> "void":
2456 r"""ShapeToPolygon(MARKER_BASE self, SHAPE_LINE_CHAIN aPolygon, int aScale=-1)"""
2457 return _pcbnew.MARKER_BASE_ShapeToPolygon(self, aPolygon, aScale)
2458
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)
2462
2463 def GetPos(self) -> "wxPoint const &":
2464 r"""GetPos(MARKER_BASE self) -> wxPoint"""
2465 return _pcbnew.MARKER_BASE_GetPos(self)
2466
2467 def GetUUID(self) -> "KIID const":
2468 r"""GetUUID(MARKER_BASE self) -> KIID"""
2469 return _pcbnew.MARKER_BASE_GetUUID(self)
2470
2471 def SetMarkerType(self, aMarkerType: "enum MARKER_BASE::TYPEMARKER") -> "void":
2472 r"""SetMarkerType(MARKER_BASE self, enum MARKER_BASE::TYPEMARKER aMarkerType)"""
2473 return _pcbnew.MARKER_BASE_SetMarkerType(self, aMarkerType)
2474
2475 def GetMarkerType(self) -> "enum MARKER_BASE::TYPEMARKER":
2476 r"""GetMarkerType(MARKER_BASE self) -> enum MARKER_BASE::TYPEMARKER"""
2477 return _pcbnew.MARKER_BASE_GetMarkerType(self)
2478
2479 def IsExcluded(self) -> "bool":
2480 r"""IsExcluded(MARKER_BASE self) -> bool"""
2481 return _pcbnew.MARKER_BASE_IsExcluded(self)
2482
2483 def SetExcluded(self, aExcluded: "bool") -> "void":
2484 r"""SetExcluded(MARKER_BASE self, bool aExcluded)"""
2485 return _pcbnew.MARKER_BASE_SetExcluded(self, aExcluded)
2486
2487 def GetRCItem(self) -> "std::shared_ptr< RC_ITEM >":
2488 r"""GetRCItem(MARKER_BASE self) -> std::shared_ptr< RC_ITEM >"""
2489 return _pcbnew.MARKER_BASE_GetRCItem(self)
2490
2491 def HitTestMarker(self, aHitPosition: "wxPoint", aAccuracy: "int") -> "bool":
2492 r"""HitTestMarker(MARKER_BASE self, wxPoint aHitPosition, int aAccuracy) -> bool"""
2493 return _pcbnew.MARKER_BASE_HitTestMarker(self, aHitPosition, aAccuracy)
2494
2495 def GetBoundingBoxMarker(self) -> "EDA_RECT":
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""")
2499
2500# Register MARKER_BASE in _pcbnew:
2501_pcbnew.MARKER_BASE_swigregister(MARKER_BASE)
2502
2504 r"""Proxy of C++ TSEGM_2_POLY_PRMS class."""
2505
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""")
2511
2512 def __init__(self):
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
2516
2517# Register TSEGM_2_POLY_PRMS in _pcbnew:
2518_pcbnew.TSEGM_2_POLY_PRMS_swigregister(TSEGM_2_POLY_PRMS)
2519
2520
2521def addTextSegmToPoly(x0: "int", y0: "int", xf: "int", yf: "int", aData: "void *") -> "void":
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
2525
2526TEXT_ANGLE_VERT = _pcbnew.TEXT_ANGLE_VERT
2527
2528CTL_OMIT_HIDE = _pcbnew.CTL_OMIT_HIDE
2529
2530GR_TEXT_HJUSTIFY_LEFT = _pcbnew.GR_TEXT_HJUSTIFY_LEFT
2531
2532GR_TEXT_HJUSTIFY_CENTER = _pcbnew.GR_TEXT_HJUSTIFY_CENTER
2533
2534GR_TEXT_HJUSTIFY_RIGHT = _pcbnew.GR_TEXT_HJUSTIFY_RIGHT
2535
2536GR_TEXT_VJUSTIFY_TOP = _pcbnew.GR_TEXT_VJUSTIFY_TOP
2537
2538GR_TEXT_VJUSTIFY_CENTER = _pcbnew.GR_TEXT_VJUSTIFY_CENTER
2539
2540GR_TEXT_VJUSTIFY_BOTTOM = _pcbnew.GR_TEXT_VJUSTIFY_BOTTOM
2541
2542DEFAULT_SIZE_TEXT = _pcbnew.DEFAULT_SIZE_TEXT
2543
2544DIM_ANCRE_TEXTE = _pcbnew.DIM_ANCRE_TEXTE
2545
2547 r"""Proxy of C++ TEXT_EFFECTS class."""
2548
2549 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2550 __repr__ = _swig_repr
2551
2552 def __init__(self, aSetOfBits: "int"=0):
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""")
2562
2563 def Bit(self, *args) -> "bool":
2564 r"""
2565 Bit(TEXT_EFFECTS self, int aBit, bool aValue)
2566 Bit(TEXT_EFFECTS self, int aBit) -> bool
2567 """
2568 return _pcbnew.TEXT_EFFECTS_Bit(self, *args)
2569 __swig_destroy__ = _pcbnew.delete_TEXT_EFFECTS
2570
2571# Register TEXT_EFFECTS in _pcbnew:
2572_pcbnew.TEXT_EFFECTS_swigregister(TEXT_EFFECTS)
2573
2575 r"""Proxy of C++ EDA_TEXT class."""
2576
2577 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2578 __repr__ = _swig_repr
2579
2580 def __init__(self, *args):
2581 r"""
2582 __init__(EDA_TEXT self, wxString text=wxEmptyString) -> EDA_TEXT
2583 __init__(EDA_TEXT self, EDA_TEXT aText) -> EDA_TEXT
2584 """
2585 _pcbnew.EDA_TEXT_swiginit(self, _pcbnew.new_EDA_TEXT(*args))
2586 __swig_destroy__ = _pcbnew.delete_EDA_TEXT
2587
2588 def GetText(self) -> "wxString const &":
2589 r"""GetText(EDA_TEXT self) -> wxString"""
2590 return _pcbnew.EDA_TEXT_GetText(self)
2591
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)
2595
2596 def ShortenedShownText(self) -> "wxString":
2597 r"""ShortenedShownText(EDA_TEXT self) -> wxString"""
2598 return _pcbnew.EDA_TEXT_ShortenedShownText(self)
2599
2600 def HasTextVars(self) -> "bool":
2601 r"""HasTextVars(EDA_TEXT self) -> bool"""
2602 return _pcbnew.EDA_TEXT_HasTextVars(self)
2603
2604 def SetText(self, aText: "wxString") -> "void":
2605 r"""SetText(EDA_TEXT self, wxString aText)"""
2606 return _pcbnew.EDA_TEXT_SetText(self, aText)
2607
2608 def SetTextThickness(self, aWidth: "int") -> "void":
2609 r"""SetTextThickness(EDA_TEXT self, int aWidth)"""
2610 return _pcbnew.EDA_TEXT_SetTextThickness(self, aWidth)
2611
2612 def GetTextThickness(self) -> "int":
2613 r"""GetTextThickness(EDA_TEXT self) -> int"""
2614 return _pcbnew.EDA_TEXT_GetTextThickness(self)
2615
2616 def GetEffectiveTextPenWidth(self, aDefaultWidth: "int"=0) -> "int":
2617 r"""GetEffectiveTextPenWidth(EDA_TEXT self, int aDefaultWidth=0) -> int"""
2618 return _pcbnew.EDA_TEXT_GetEffectiveTextPenWidth(self, aDefaultWidth)
2619
2620 def SetTextAngle(self, aAngle: "double") -> "void":
2621 r"""SetTextAngle(EDA_TEXT self, double aAngle)"""
2622 return _pcbnew.EDA_TEXT_SetTextAngle(self, aAngle)
2623
2624 def GetTextAngle(self) -> "double":
2625 r"""GetTextAngle(EDA_TEXT self) -> double"""
2626 return _pcbnew.EDA_TEXT_GetTextAngle(self)
2627
2628 def GetTextAngleDegrees(self) -> "double":
2629 r"""GetTextAngleDegrees(EDA_TEXT self) -> double"""
2630 return _pcbnew.EDA_TEXT_GetTextAngleDegrees(self)
2631
2632 def GetTextAngleRadians(self) -> "double":
2633 r"""GetTextAngleRadians(EDA_TEXT self) -> double"""
2634 return _pcbnew.EDA_TEXT_GetTextAngleRadians(self)
2635
2636 def SetItalic(self, isItalic: "bool") -> "void":
2637 r"""SetItalic(EDA_TEXT self, bool isItalic)"""
2638 return _pcbnew.EDA_TEXT_SetItalic(self, isItalic)
2639
2640 def IsItalic(self) -> "bool":
2641 r"""IsItalic(EDA_TEXT self) -> bool"""
2642 return _pcbnew.EDA_TEXT_IsItalic(self)
2643
2644 def SetBold(self, aBold: "bool") -> "void":
2645 r"""SetBold(EDA_TEXT self, bool aBold)"""
2646 return _pcbnew.EDA_TEXT_SetBold(self, aBold)
2647
2648 def IsBold(self) -> "bool":
2649 r"""IsBold(EDA_TEXT self) -> bool"""
2650 return _pcbnew.EDA_TEXT_IsBold(self)
2651
2652 def SetVisible(self, aVisible: "bool") -> "void":
2653 r"""SetVisible(EDA_TEXT self, bool aVisible)"""
2654 return _pcbnew.EDA_TEXT_SetVisible(self, aVisible)
2655
2656 def IsVisible(self) -> "bool":
2657 r"""IsVisible(EDA_TEXT self) -> bool"""
2658 return _pcbnew.EDA_TEXT_IsVisible(self)
2659
2660 def SetMirrored(self, isMirrored: "bool") -> "void":
2661 r"""SetMirrored(EDA_TEXT self, bool isMirrored)"""
2662 return _pcbnew.EDA_TEXT_SetMirrored(self, isMirrored)
2663
2664 def IsMirrored(self) -> "bool":
2665 r"""IsMirrored(EDA_TEXT self) -> bool"""
2666 return _pcbnew.EDA_TEXT_IsMirrored(self)
2667
2668 def SetMultilineAllowed(self, aAllow: "bool") -> "void":
2669 r"""SetMultilineAllowed(EDA_TEXT self, bool aAllow)"""
2670 return _pcbnew.EDA_TEXT_SetMultilineAllowed(self, aAllow)
2671
2672 def IsMultilineAllowed(self) -> "bool":
2673 r"""IsMultilineAllowed(EDA_TEXT self) -> bool"""
2674 return _pcbnew.EDA_TEXT_IsMultilineAllowed(self)
2675
2676 def GetHorizJustify(self) -> "EDA_TEXT_HJUSTIFY_T":
2677 r"""GetHorizJustify(EDA_TEXT self) -> EDA_TEXT_HJUSTIFY_T"""
2678 return _pcbnew.EDA_TEXT_GetHorizJustify(self)
2679
2680 def GetVertJustify(self) -> "EDA_TEXT_VJUSTIFY_T":
2681 r"""GetVertJustify(EDA_TEXT self) -> EDA_TEXT_VJUSTIFY_T"""
2682 return _pcbnew.EDA_TEXT_GetVertJustify(self)
2683
2684 def SetHorizJustify(self, aType: "EDA_TEXT_HJUSTIFY_T") -> "void":
2685 r"""SetHorizJustify(EDA_TEXT self, EDA_TEXT_HJUSTIFY_T aType)"""
2686 return _pcbnew.EDA_TEXT_SetHorizJustify(self, aType)
2687
2688 def SetVertJustify(self, aType: "EDA_TEXT_VJUSTIFY_T") -> "void":
2689 r"""SetVertJustify(EDA_TEXT self, EDA_TEXT_VJUSTIFY_T aType)"""
2690 return _pcbnew.EDA_TEXT_SetVertJustify(self, aType)
2691
2692 def SetEffects(self, aSrc: "EDA_TEXT") -> "void":
2693 r"""SetEffects(EDA_TEXT self, EDA_TEXT aSrc)"""
2694 return _pcbnew.EDA_TEXT_SetEffects(self, aSrc)
2695
2696 def SwapEffects(self, aTradingPartner: "EDA_TEXT") -> "void":
2697 r"""SwapEffects(EDA_TEXT self, EDA_TEXT aTradingPartner)"""
2698 return _pcbnew.EDA_TEXT_SwapEffects(self, aTradingPartner)
2699
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)
2703
2704 def CopyText(self, aSrc: "EDA_TEXT") -> "void":
2705 r"""CopyText(EDA_TEXT self, EDA_TEXT aSrc)"""
2706 return _pcbnew.EDA_TEXT_CopyText(self, aSrc)
2707
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)
2711
2712 def IsDefaultFormatting(self) -> "bool":
2713 r"""IsDefaultFormatting(EDA_TEXT self) -> bool"""
2714 return _pcbnew.EDA_TEXT_IsDefaultFormatting(self)
2715
2716 def SetTextSize(self, aNewSize: "wxSize") -> "void":
2717 r"""SetTextSize(EDA_TEXT self, wxSize aNewSize)"""
2718 return _pcbnew.EDA_TEXT_SetTextSize(self, aNewSize)
2719
2720 def GetTextSize(self) -> "wxSize const &":
2721 r"""GetTextSize(EDA_TEXT self) -> wxSize"""
2722 return _pcbnew.EDA_TEXT_GetTextSize(self)
2723
2724 def SetTextWidth(self, aWidth: "int") -> "void":
2725 r"""SetTextWidth(EDA_TEXT self, int aWidth)"""
2726 return _pcbnew.EDA_TEXT_SetTextWidth(self, aWidth)
2727
2728 def GetTextWidth(self) -> "int":
2729 r"""GetTextWidth(EDA_TEXT self) -> int"""
2730 return _pcbnew.EDA_TEXT_GetTextWidth(self)
2731
2732 def SetTextHeight(self, aHeight: "int") -> "void":
2733 r"""SetTextHeight(EDA_TEXT self, int aHeight)"""
2734 return _pcbnew.EDA_TEXT_SetTextHeight(self, aHeight)
2735
2736 def GetTextHeight(self) -> "int":
2737 r"""GetTextHeight(EDA_TEXT self) -> int"""
2738 return _pcbnew.EDA_TEXT_GetTextHeight(self)
2739
2740 def SetTextPos(self, aPoint: "wxPoint") -> "void":
2741 r"""SetTextPos(EDA_TEXT self, wxPoint aPoint)"""
2742 return _pcbnew.EDA_TEXT_SetTextPos(self, aPoint)
2743
2744 def GetTextPos(self) -> "wxPoint const &":
2745 r"""GetTextPos(EDA_TEXT self) -> wxPoint"""
2746 return _pcbnew.EDA_TEXT_GetTextPos(self)
2747
2748 def SetTextX(self, aX: "int") -> "void":
2749 r"""SetTextX(EDA_TEXT self, int aX)"""
2750 return _pcbnew.EDA_TEXT_SetTextX(self, aX)
2751
2752 def SetTextY(self, aY: "int") -> "void":
2753 r"""SetTextY(EDA_TEXT self, int aY)"""
2754 return _pcbnew.EDA_TEXT_SetTextY(self, aY)
2755
2756 def Offset(self, aOffset: "wxPoint") -> "void":
2757 r"""Offset(EDA_TEXT self, wxPoint aOffset)"""
2758 return _pcbnew.EDA_TEXT_Offset(self, aOffset)
2759
2760 def Empty(self) -> "void":
2761 r"""Empty(EDA_TEXT self)"""
2762 return _pcbnew.EDA_TEXT_Empty(self)
2763
2764 @staticmethod
2765 def MapHorizJustify(aHorizJustify: "int") -> "EDA_TEXT_HJUSTIFY_T":
2766 r"""MapHorizJustify(int aHorizJustify) -> EDA_TEXT_HJUSTIFY_T"""
2767 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
2768
2769 @staticmethod
2770 def MapVertJustify(aVertJustify: "int") -> "EDA_TEXT_VJUSTIFY_T":
2771 r"""MapVertJustify(int aVertJustify) -> EDA_TEXT_VJUSTIFY_T"""
2772 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
2773
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)
2777
2778 def TransformToSegmentList(self) -> "std::vector< wxPoint,std::allocator< wxPoint > >":
2779 r"""TransformToSegmentList(EDA_TEXT self) -> wxPoint_Vector"""
2780 return _pcbnew.EDA_TEXT_TransformToSegmentList(self)
2781
2782 def TransformBoundingBoxWithClearanceToPolygon(self, aCornerBuffer: "SHAPE_POLY_SET", aClearanceValue: "int") -> "void":
2783 r"""TransformBoundingBoxWithClearanceToPolygon(EDA_TEXT self, SHAPE_POLY_SET aCornerBuffer, int aClearanceValue)"""
2784 return _pcbnew.EDA_TEXT_TransformBoundingBoxWithClearanceToPolygon(self, aCornerBuffer, aClearanceValue)
2785
2786 def GetEffectiveTextShape(self) -> "std::shared_ptr< SHAPE_COMPOUND >":
2787 r"""GetEffectiveTextShape(EDA_TEXT self) -> std::shared_ptr< SHAPE_COMPOUND >"""
2788 return _pcbnew.EDA_TEXT_GetEffectiveTextShape(self)
2789
2790 def TextHitTest(self, *args) -> "bool":
2791 r"""
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
2794 """
2795 return _pcbnew.EDA_TEXT_TextHitTest(self, *args)
2796
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)
2800
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)
2804
2805 def GetInterline(self) -> "int":
2806 r"""GetInterline(EDA_TEXT self) -> int"""
2807 return _pcbnew.EDA_TEXT_GetInterline(self)
2808
2809 def GetTextStyleName(self) -> "wxString":
2810 r"""GetTextStyleName(EDA_TEXT self) -> wxString"""
2811 return _pcbnew.EDA_TEXT_GetTextStyleName(self)
2812
2813 def GetLinePositions(self, aPositions: "wxPoint_Vector", aLineCount: "int") -> "void":
2814 r"""GetLinePositions(EDA_TEXT self, wxPoint_Vector aPositions, int aLineCount)"""
2815 return _pcbnew.EDA_TEXT_GetLinePositions(self, aPositions, aLineCount)
2816
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)
2820
2821 def GetDrawRotation(self) -> "double":
2822 r"""GetDrawRotation(EDA_TEXT self) -> double"""
2823 return _pcbnew.EDA_TEXT_GetDrawRotation(self)
2824
2825 def GetDrawPos(self) -> "wxPoint":
2826 r"""GetDrawPos(EDA_TEXT self) -> wxPoint"""
2827 return _pcbnew.EDA_TEXT_GetDrawPos(self)
2828
2829 def GetDrawHorizJustify(self) -> "EDA_TEXT_HJUSTIFY_T":
2830 r"""GetDrawHorizJustify(EDA_TEXT self) -> EDA_TEXT_HJUSTIFY_T"""
2831 return _pcbnew.EDA_TEXT_GetDrawHorizJustify(self)
2832
2833 def GetDrawVertJustify(self) -> "EDA_TEXT_VJUSTIFY_T":
2834 r"""GetDrawVertJustify(EDA_TEXT self) -> EDA_TEXT_VJUSTIFY_T"""
2835 return _pcbnew.EDA_TEXT_GetDrawVertJustify(self)
2836
2837 def Compare(self, aOther: "EDA_TEXT") -> "int":
2838 r"""Compare(EDA_TEXT self, EDA_TEXT aOther) -> int"""
2839 return _pcbnew.EDA_TEXT_Compare(self, aOther)
2840
2841# Register EDA_TEXT in _pcbnew:
2842_pcbnew.EDA_TEXT_swigregister(EDA_TEXT)
2843
2844def EDA_TEXT_MapHorizJustify(aHorizJustify: "int") -> "EDA_TEXT_HJUSTIFY_T":
2845 r"""EDA_TEXT_MapHorizJustify(int aHorizJustify) -> EDA_TEXT_HJUSTIFY_T"""
2846 return _pcbnew.EDA_TEXT_MapHorizJustify(aHorizJustify)
2847
2848def EDA_TEXT_MapVertJustify(aVertJustify: "int") -> "EDA_TEXT_VJUSTIFY_T":
2849 r"""EDA_TEXT_MapVertJustify(int aVertJustify) -> EDA_TEXT_VJUSTIFY_T"""
2850 return _pcbnew.EDA_TEXT_MapVertJustify(aVertJustify)
2851
2852
2853def GetBuildVersion() -> "wxString":
2854 r"""GetBuildVersion() -> wxString"""
2855 return _pcbnew.GetBuildVersion()
2856
2857def GetPlatformGetBitnessName() -> "wxString":
2858 r"""GetPlatformGetBitnessName() -> wxString"""
2859 return _pcbnew.GetPlatformGetBitnessName()
2860
2861def GetSemanticVersion() -> "wxString":
2862 r"""GetSemanticVersion() -> wxString"""
2863 return _pcbnew.GetSemanticVersion()
2864
2865def GetMajorMinorVersion() -> "wxString":
2866 r"""GetMajorMinorVersion() -> wxString"""
2867 return _pcbnew.GetMajorMinorVersion()
2868
2869def GetBuildDate() -> "wxString":
2870 r"""GetBuildDate() -> wxString"""
2871 return _pcbnew.GetBuildDate()
2872
2873def GetVersionInfoData(aTitle: "wxString", aHtml: "bool"=False, aBrief: "bool"=False) -> "wxString":
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."""
2878
2879 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2880 __repr__ = _swig_repr
2881
2882 def __init__(self, aHeadless: "bool"=False):
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
2886
2887 def IsOK(self) -> "bool":
2888 r"""IsOK(SETTINGS_MANAGER self) -> bool"""
2889 return _pcbnew.SETTINGS_MANAGER_IsOK(self)
2890
2891 def SetKiway(self, aKiway: "KIWAY *") -> "void":
2892 r"""SetKiway(SETTINGS_MANAGER self, KIWAY * aKiway)"""
2893 return _pcbnew.SETTINGS_MANAGER_SetKiway(self, aKiway)
2894
2895 def Load(self, *args) -> "void":
2896 r"""
2897 Load(SETTINGS_MANAGER self)
2898 Load(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
2899 """
2900 return _pcbnew.SETTINGS_MANAGER_Load(self, *args)
2901
2902 def Save(self, *args) -> "void":
2903 r"""
2904 Save(SETTINGS_MANAGER self)
2905 Save(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings)
2906 """
2907 return _pcbnew.SETTINGS_MANAGER_Save(self, *args)
2908
2909 def FlushAndRelease(self, aSettings: "JSON_SETTINGS *", aSave: "bool"=True) -> "void":
2910 r"""FlushAndRelease(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings, bool aSave=True)"""
2911 return _pcbnew.SETTINGS_MANAGER_FlushAndRelease(self, aSettings, aSave)
2912
2913 def GetColorSettings(self, *args) -> "COLOR_SETTINGS *":
2914 r"""GetColorSettings(SETTINGS_MANAGER self, wxString aName="user") -> COLOR_SETTINGS"""
2915 return _pcbnew.SETTINGS_MANAGER_GetColorSettings(self, *args)
2916
2917 def GetColorSettingsList(self) -> "std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >":
2918 r"""GetColorSettingsList(SETTINGS_MANAGER self) -> std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >"""
2919 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsList(self)
2920
2921 def SaveColorSettings(self, *args) -> "void":
2922 r"""SaveColorSettings(SETTINGS_MANAGER self, COLOR_SETTINGS * aSettings, string aNamespace="")"""
2923 return _pcbnew.SETTINGS_MANAGER_SaveColorSettings(self, *args)
2924
2925 def AddNewColorSettings(self, aFilename: "wxString") -> "COLOR_SETTINGS *":
2926 r"""AddNewColorSettings(SETTINGS_MANAGER self, wxString aFilename) -> COLOR_SETTINGS *"""
2927 return _pcbnew.SETTINGS_MANAGER_AddNewColorSettings(self, aFilename)
2928
2929 def GetMigratedColorSettings(self) -> "COLOR_SETTINGS *":
2930 r"""GetMigratedColorSettings(SETTINGS_MANAGER self) -> COLOR_SETTINGS *"""
2931 return _pcbnew.SETTINGS_MANAGER_GetMigratedColorSettings(self)
2932
2933 def GetCommonSettings(self) -> "COMMON_SETTINGS *":
2934 r"""GetCommonSettings(SETTINGS_MANAGER self) -> COMMON_SETTINGS *"""
2935 return _pcbnew.SETTINGS_MANAGER_GetCommonSettings(self)
2936
2937 def GetPathForSettingsFile(self, aSettings: "JSON_SETTINGS *") -> "wxString":
2938 r"""GetPathForSettingsFile(SETTINGS_MANAGER self, JSON_SETTINGS * aSettings) -> wxString"""
2939 return _pcbnew.SETTINGS_MANAGER_GetPathForSettingsFile(self, aSettings)
2940
2941 def MigrateIfNeeded(self) -> "bool":
2942 r"""MigrateIfNeeded(SETTINGS_MANAGER self) -> bool"""
2943 return _pcbnew.SETTINGS_MANAGER_MigrateIfNeeded(self)
2944
2945 def SetMigrationSource(self, aSource: "wxString") -> "void":
2946 r"""SetMigrationSource(SETTINGS_MANAGER self, wxString aSource)"""
2947 return _pcbnew.SETTINGS_MANAGER_SetMigrationSource(self, aSource)
2948
2949 def SetMigrateLibraryTables(self, aMigrate: "bool"=True) -> "void":
2950 r"""SetMigrateLibraryTables(SETTINGS_MANAGER self, bool aMigrate=True)"""
2951 return _pcbnew.SETTINGS_MANAGER_SetMigrateLibraryTables(self, aMigrate)
2952
2953 def GetPreviousVersionPaths(self, aName: "std::vector< wxString,std::allocator< wxString > > *"=None) -> "bool":
2954 r"""GetPreviousVersionPaths(SETTINGS_MANAGER self, std::vector< wxString,std::allocator< wxString > > * aName=None) -> bool"""
2955 return _pcbnew.SETTINGS_MANAGER_GetPreviousVersionPaths(self, aName)
2956
2957 def ReloadColorSettings(self) -> "void":
2958 r"""ReloadColorSettings(SETTINGS_MANAGER self)"""
2959 return _pcbnew.SETTINGS_MANAGER_ReloadColorSettings(self)
2960
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)
2964
2965 def UnloadProject(self, aProject: "PROJECT *", aSave: "bool"=True) -> "bool":
2966 r"""UnloadProject(SETTINGS_MANAGER self, PROJECT * aProject, bool aSave=True) -> bool"""
2967 return _pcbnew.SETTINGS_MANAGER_UnloadProject(self, aProject, aSave)
2968
2969 def IsProjectOpen(self) -> "bool":
2970 r"""IsProjectOpen(SETTINGS_MANAGER self) -> bool"""
2971 return _pcbnew.SETTINGS_MANAGER_IsProjectOpen(self)
2972
2973 def Prj(self) -> "PROJECT &":
2974 r"""Prj(SETTINGS_MANAGER self) -> PROJECT &"""
2975 return _pcbnew.SETTINGS_MANAGER_Prj(self)
2976
2977 def GetProject(self, aFullPath: "wxString") -> "PROJECT *":
2978 r"""GetProject(SETTINGS_MANAGER self, wxString aFullPath) -> PROJECT *"""
2979 return _pcbnew.SETTINGS_MANAGER_GetProject(self, aFullPath)
2980
2981 def GetOpenProjects(self) -> "std::vector< wxString,std::allocator< wxString > >":
2982 r"""GetOpenProjects(SETTINGS_MANAGER self) -> std::vector< wxString,std::allocator< wxString > >"""
2983 return _pcbnew.SETTINGS_MANAGER_GetOpenProjects(self)
2984
2985 def SaveProject(self, *args) -> "bool":
2986 r"""SaveProject(SETTINGS_MANAGER self, wxString aFullPath=wxEmptyString, PROJECT * aProject=None) -> bool"""
2987 return _pcbnew.SETTINGS_MANAGER_SaveProject(self, *args)
2988
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)
2992
2993 def SaveProjectCopy(self, aFullPath: "wxString", aProject: "PROJECT *"=None) -> "void":
2994 r"""SaveProjectCopy(SETTINGS_MANAGER self, wxString aFullPath, PROJECT * aProject=None)"""
2995 return _pcbnew.SETTINGS_MANAGER_SaveProjectCopy(self, aFullPath, aProject)
2996
2997 def GetProjectBackupsPath(self) -> "wxString":
2998 r"""GetProjectBackupsPath(SETTINGS_MANAGER self) -> wxString"""
2999 return _pcbnew.SETTINGS_MANAGER_GetProjectBackupsPath(self)
3000
3001 def BackupProject(self, aReporter: "REPORTER &") -> "bool":
3002 r"""BackupProject(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
3003 return _pcbnew.SETTINGS_MANAGER_BackupProject(self, aReporter)
3004
3005 def TriggerBackupIfNeeded(self, aReporter: "REPORTER &") -> "bool":
3006 r"""TriggerBackupIfNeeded(SETTINGS_MANAGER self, REPORTER & aReporter) -> bool"""
3007 return _pcbnew.SETTINGS_MANAGER_TriggerBackupIfNeeded(self, aReporter)
3008
3009 @staticmethod
3010 def IsSettingsPathValid(aPath: "wxString") -> "bool":
3011 r"""IsSettingsPathValid(wxString aPath) -> bool"""
3012 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
3013
3014 @staticmethod
3015 def GetColorSettingsPath() -> "wxString":
3016 r"""GetColorSettingsPath() -> wxString"""
3017 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
3018
3019 @staticmethod
3020 def GetUserSettingsPath() -> "wxString":
3021 r"""GetUserSettingsPath() -> wxString"""
3022 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
3023
3024 @staticmethod
3025 def GetSettingsVersion() -> "std::string":
3026 r"""GetSettingsVersion() -> string"""
3027 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
3028
3029# Register SETTINGS_MANAGER in _pcbnew:
3030_pcbnew.SETTINGS_MANAGER_swigregister(SETTINGS_MANAGER)
3031
3032def SETTINGS_MANAGER_IsSettingsPathValid(aPath: "wxString") -> "bool":
3033 r"""SETTINGS_MANAGER_IsSettingsPathValid(wxString aPath) -> bool"""
3034 return _pcbnew.SETTINGS_MANAGER_IsSettingsPathValid(aPath)
3035
3037 r"""SETTINGS_MANAGER_GetColorSettingsPath() -> wxString"""
3038 return _pcbnew.SETTINGS_MANAGER_GetColorSettingsPath()
3039
3041 r"""SETTINGS_MANAGER_GetUserSettingsPath() -> wxString"""
3042 return _pcbnew.SETTINGS_MANAGER_GetUserSettingsPath()
3043
3045 r"""SETTINGS_MANAGER_GetSettingsVersion() -> string"""
3046 return _pcbnew.SETTINGS_MANAGER_GetSettingsVersion()
3047
3049 r"""Proxy of C++ std::vector< int > class."""
3050
3051 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3052 __repr__ = _swig_repr
3053
3054 def iterator(self) -> "swig::SwigPyIterator *":
3055 r"""iterator(intVector self) -> SwigPyIterator"""
3056 return _pcbnew.intVector_iterator(self)
3057 def __iter__(self):
3058 return self.iterator()
3059
3060 def __nonzero__(self) -> "bool":
3061 r"""__nonzero__(intVector self) -> bool"""
3062 return _pcbnew.intVector___nonzero__(self)
3063
3064 def __bool__(self) -> "bool":
3065 r"""__bool__(intVector self) -> bool"""
3066 return _pcbnew.intVector___bool__(self)
3067
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)
3071
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)
3075
3076 def __setslice__(self, *args) -> "void":
3077 r"""
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)
3080 """
3081 return _pcbnew.intVector___setslice__(self, *args)
3082
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)
3086
3087 def __delitem__(self, *args) -> "void":
3088 r"""
3089 __delitem__(intVector self, std::vector< int >::difference_type i)
3090 __delitem__(intVector self, PySliceObject * slice)
3091 """
3092 return _pcbnew.intVector___delitem__(self, *args)
3093
3094 def __getitem__(self, *args) -> "std::vector< int >::value_type const &":
3095 r"""
3096 __getitem__(intVector self, PySliceObject * slice) -> intVector
3097 __getitem__(intVector self, std::vector< int >::difference_type i) -> std::vector< int >::value_type const &
3098 """
3099 return _pcbnew.intVector___getitem__(self, *args)
3100
3101 def __setitem__(self, *args) -> "void":
3102 r"""
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)
3106 """
3107 return _pcbnew.intVector___setitem__(self, *args)
3108
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)
3112
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)
3116
3117 def empty(self) -> "bool":
3118 r"""empty(intVector self) -> bool"""
3119 return _pcbnew.intVector_empty(self)
3120
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)
3124
3125 def swap(self, v: "intVector") -> "void":
3126 r"""swap(intVector self, intVector v)"""
3127 return _pcbnew.intVector_swap(self, v)
3128
3129 def begin(self) -> "std::vector< int >::iterator":
3130 r"""begin(intVector self) -> std::vector< int >::iterator"""
3131 return _pcbnew.intVector_begin(self)
3132
3133 def end(self) -> "std::vector< int >::iterator":
3134 r"""end(intVector self) -> std::vector< int >::iterator"""
3135 return _pcbnew.intVector_end(self)
3136
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)
3140
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)
3144
3145 def clear(self) -> "void":
3146 r"""clear(intVector self)"""
3147 return _pcbnew.intVector_clear(self)
3148
3149 def get_allocator(self) -> "std::vector< int >::allocator_type":
3150 r"""get_allocator(intVector self) -> std::vector< int >::allocator_type"""
3151 return _pcbnew.intVector_get_allocator(self)
3152
3153 def pop_back(self) -> "void":
3154 r"""pop_back(intVector self)"""
3155 return _pcbnew.intVector_pop_back(self)
3156
3157 def erase(self, *args) -> "std::vector< int >::iterator":
3158 r"""
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
3161 """
3162 return _pcbnew.intVector_erase(self, *args)
3163
3164 def __init__(self, *args):
3165 r"""
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
3170 """
3171 _pcbnew.intVector_swiginit(self, _pcbnew.new_intVector(*args))
3172
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)
3176
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)
3180
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)
3184
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)
3188
3189 def resize(self, *args) -> "void":
3190 r"""
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)
3193 """
3194 return _pcbnew.intVector_resize(self, *args)
3195
3196 def insert(self, *args) -> "void":
3197 r"""
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)
3200 """
3201 return _pcbnew.intVector_insert(self, *args)
3202
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)
3206
3207 def capacity(self) -> "std::vector< int >::size_type":
3208 r"""capacity(intVector self) -> std::vector< int >::size_type"""
3209 return _pcbnew.intVector_capacity(self)
3210 __swig_destroy__ = _pcbnew.delete_intVector
3211
3212# Register intVector in _pcbnew:
3213_pcbnew.intVector_swigregister(intVector)
3214
3216 r"""Proxy of C++ std::map< std::string,UTF8 > class."""
3217
3218 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3219 __repr__ = _swig_repr
3220
3221 def iterator(self) -> "swig::SwigPyIterator *":
3222 r"""iterator(str_utf8_Map self) -> SwigPyIterator"""
3223 return _pcbnew.str_utf8_Map_iterator(self)
3224 def __iter__(self):
3225 return self.iterator()
3226
3227 def __nonzero__(self) -> "bool":
3228 r"""__nonzero__(str_utf8_Map self) -> bool"""
3229 return _pcbnew.str_utf8_Map___nonzero__(self)
3230
3231 def __bool__(self) -> "bool":
3232 r"""__bool__(str_utf8_Map self) -> bool"""
3233 return _pcbnew.str_utf8_Map___bool__(self)
3234
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)
3238 def __iter__(self):
3239 return self.key_iterator()
3240 def iterkeys(self):
3241 return self.key_iterator()
3242 def itervalues(self):
3243 return self.value_iterator()
3244 def iteritems(self):
3245 return self.iterator()
3246
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)
3250
3251 def __delitem__(self, key: "string") -> "void":
3252 r"""__delitem__(str_utf8_Map self, string key)"""
3253 return _pcbnew.str_utf8_Map___delitem__(self, key)
3254
3255 def has_key(self, key: "string") -> "bool":
3256 r"""has_key(str_utf8_Map self, string key) -> bool"""
3257 return _pcbnew.str_utf8_Map_has_key(self, key)
3258
3259 def keys(self) -> "PyObject *":
3260 r"""keys(str_utf8_Map self) -> PyObject *"""
3261 return _pcbnew.str_utf8_Map_keys(self)
3262
3263 def values(self) -> "PyObject *":
3264 r"""values(str_utf8_Map self) -> PyObject *"""
3265 return _pcbnew.str_utf8_Map_values(self)
3266
3267 def items(self) -> "PyObject *":
3268 r"""items(str_utf8_Map self) -> PyObject *"""
3269 return _pcbnew.str_utf8_Map_items(self)
3270
3271 def __contains__(self, key: "string") -> "bool":
3272 r"""__contains__(str_utf8_Map self, string key) -> bool"""
3273 return _pcbnew.str_utf8_Map___contains__(self, key)
3274
3275 def key_iterator(self) -> "swig::SwigPyIterator *":
3276 r"""key_iterator(str_utf8_Map self) -> SwigPyIterator"""
3277 return _pcbnew.str_utf8_Map_key_iterator(self)
3278
3279 def value_iterator(self) -> "swig::SwigPyIterator *":
3280 r"""value_iterator(str_utf8_Map self) -> SwigPyIterator"""
3281 return _pcbnew.str_utf8_Map_value_iterator(self)
3282
3283 def __setitem__(self, *args) -> "void":
3284 r"""
3285 __setitem__(str_utf8_Map self, string key)
3286 __setitem__(str_utf8_Map self, string key, UTF8 x)
3287 """
3288 return _pcbnew.str_utf8_Map___setitem__(self, *args)
3289
3290 def asdict(self) -> "PyObject *":
3291 r"""asdict(str_utf8_Map self) -> PyObject *"""
3292 return _pcbnew.str_utf8_Map_asdict(self)
3293
3294 def __init__(self, *args):
3295 r"""
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
3299 """
3300 _pcbnew.str_utf8_Map_swiginit(self, _pcbnew.new_str_utf8_Map(*args))
3301
3302 def empty(self) -> "bool":
3303 r"""empty(str_utf8_Map self) -> bool"""
3304 return _pcbnew.str_utf8_Map_empty(self)
3305
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)
3309
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)
3313
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)
3317
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)
3321
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)
3325
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)
3329
3330 def clear(self) -> "void":
3331 r"""clear(str_utf8_Map self)"""
3332 return _pcbnew.str_utf8_Map_clear(self)
3333
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)
3337
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)
3341
3342 def erase(self, *args) -> "void":
3343 r"""
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)
3347 """
3348 return _pcbnew.str_utf8_Map_erase(self, *args)
3349
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)
3353
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)
3357
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
3362
3363# Register str_utf8_Map in _pcbnew:
3364_pcbnew.str_utf8_Map_swigregister(str_utf8_Map)
3365
3367 r"""Proxy of C++ std::vector< enum PCB_LAYER_ID > class."""
3368
3369 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3370 __repr__ = _swig_repr
3371
3372 def iterator(self) -> "swig::SwigPyIterator *":
3373 r"""iterator(base_seqVect self) -> SwigPyIterator"""
3374 return _pcbnew.base_seqVect_iterator(self)
3375 def __iter__(self):
3376 return self.iterator()
3377
3378 def __nonzero__(self) -> "bool":
3379 r"""__nonzero__(base_seqVect self) -> bool"""
3380 return _pcbnew.base_seqVect___nonzero__(self)
3381
3382 def __bool__(self) -> "bool":
3383 r"""__bool__(base_seqVect self) -> bool"""
3384 return _pcbnew.base_seqVect___bool__(self)
3385
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)
3389
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)
3393
3394 def __setslice__(self, *args) -> "void":
3395 r"""
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)
3398 """
3399 return _pcbnew.base_seqVect___setslice__(self, *args)
3400
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)
3404
3405 def __delitem__(self, *args) -> "void":
3406 r"""
3407 __delitem__(base_seqVect self, std::vector< enum PCB_LAYER_ID >::difference_type i)
3408 __delitem__(base_seqVect self, PySliceObject * slice)
3409 """
3410 return _pcbnew.base_seqVect___delitem__(self, *args)
3411
3412 def __getitem__(self, *args) -> "std::vector< enum PCB_LAYER_ID >::value_type const &":
3413 r"""
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 &
3416 """
3417 return _pcbnew.base_seqVect___getitem__(self, *args)
3418
3419 def __setitem__(self, *args) -> "void":
3420 r"""
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)
3424 """
3425 return _pcbnew.base_seqVect___setitem__(self, *args)
3426
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)
3430
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)
3434
3435 def empty(self) -> "bool":
3436 r"""empty(base_seqVect self) -> bool"""
3437 return _pcbnew.base_seqVect_empty(self)
3438
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)
3442
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)
3446
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)
3450
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)
3454
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)
3458
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)
3462
3463 def clear(self) -> "void":
3464 r"""clear(base_seqVect self)"""
3465 return _pcbnew.base_seqVect_clear(self)
3466
3467 def get_allocator(self) -> "std::vector< enum PCB_LAYER_ID >::allocator_type":
3468 r"""get_allocator(base_seqVect self) -> std::vector< enum PCB_LAYER_ID >::allocator_type"""
3469 return _pcbnew.base_seqVect_get_allocator(self)
3470
3471 def pop_back(self) -> "void":
3472 r"""pop_back(base_seqVect self)"""
3473 return _pcbnew.base_seqVect_pop_back(self)
3474
3475 def erase(self, *args) -> "std::vector< enum PCB_LAYER_ID >::iterator":
3476 r"""
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
3479 """
3480 return _pcbnew.base_seqVect_erase(self, *args)
3481
3482 def __init__(self, *args):
3483 r"""
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
3488 """
3489 _pcbnew.base_seqVect_swiginit(self, _pcbnew.new_base_seqVect(*args))
3490
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)
3494
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)
3498
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)
3502
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)
3506
3507 def resize(self, *args) -> "void":
3508 r"""
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)
3511 """
3512 return _pcbnew.base_seqVect_resize(self, *args)
3513
3514 def insert(self, *args) -> "void":
3515 r"""
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)
3518 """
3519 return _pcbnew.base_seqVect_insert(self, *args)
3520
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)
3524
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
3529
3530# Register base_seqVect in _pcbnew:
3531_pcbnew.base_seqVect_swigregister(base_seqVect)
3532
3533
3534
3535KICAD_PLUGINS={} # the list of loaded footprint wizards
3536
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'
3541"""
3542NOT_LOADED_WIZARDS=""
3543
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'
3547"""
3548PLUGIN_DIRECTORIES_SEARCH=""
3549
3550"""
3551 the trace of errors during execution of footprint wizards scripts
3552 Warning: strings (internally unicode) are returned as UTF-8 compatible C strings
3553"""
3554
3555FULL_BACK_TRACE=""
3556
3557def GetUnLoadableWizards():
3558 global NOT_LOADED_WIZARDS
3559 import sys
3560
3561 if sys.version_info[0] < 3:
3562 utf8_str = NOT_LOADED_WIZARDS.encode( 'UTF-8' )
3563 else:
3564 utf8_str = NOT_LOADED_WIZARDS
3565
3566 return utf8_str
3567
3569 global PLUGIN_DIRECTORIES_SEARCH
3570 import sys
3571
3572 if sys.version_info[0] < 3:
3573 utf8_str = PLUGIN_DIRECTORIES_SEARCH.encode( 'UTF-8' )
3574 else:
3575 utf8_str = PLUGIN_DIRECTORIES_SEARCH
3576
3577 return utf8_str
3578
3580 global FULL_BACK_TRACE # Already correct format
3581 return FULL_BACK_TRACE
3582
3583
3584def LoadPluginModule(Dirname, ModuleName, FileName):
3585 """
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
3591 """
3592 import os
3593 import sys
3594 import traceback
3595
3596 global NOT_LOADED_WIZARDS
3597 global FULL_BACK_TRACE
3598 global KICAD_PLUGINS
3599
3600 try: # If there is an error loading the script, skip it
3601
3602 module_filename = os.path.join( Dirname, FileName )
3603 mtime = os.path.getmtime( module_filename )
3604 mods_before = set( sys.modules )
3605
3606 if ModuleName in KICAD_PLUGINS:
3607 plugin = KICAD_PLUGINS[ModuleName]
3608
3609 for dependency in plugin["dependencies"]:
3610 if dependency in sys.modules:
3611 del sys.modules[dependency]
3612
3613 mods_before = set( sys.modules )
3614
3615 if sys.version_info >= (3,0,0):
3616 import importlib
3617 mod = importlib.import_module( ModuleName )
3618 else:
3619 mod = __import__( ModuleName, locals(), globals() )
3620
3621 mods_after = set( sys.modules ).difference( mods_before )
3622 dependencies = [m for m in mods_after if m.startswith(ModuleName)]
3623
3624 KICAD_PLUGINS[ModuleName]={ "filename":module_filename,
3625 "modification_time":mtime,
3626 "ModuleName":mod,
3627 "dependencies": dependencies }
3628
3629 except:
3630 if ModuleName in KICAD_PLUGINS:
3631 del KICAD_PLUGINS[ModuleName]
3632
3633 if NOT_LOADED_WIZARDS != "" :
3634 NOT_LOADED_WIZARDS += "\n"
3635 NOT_LOADED_WIZARDS += module_filename
3636 FULL_BACK_TRACE += traceback.format_exc()
3637
3638
3639def LoadPlugins(bundlepath=None, userpath=None, thirdpartypath=None):
3640 """
3641 Initialise Scripting/Plugin python environment and load plugins.
3642
3643 Arguments:
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()
3653
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.
3657
3658 The Scripts bundled with the KiCad installation:
3659 <bundlepath>/
3660 <bundlepath>/plugins/
3661
3662 The Scripts relative to the KiCad Users configuration:
3663 <userpath>/
3664 <userpath>/plugins/
3665
3666 The plugins from 3rd party packages:
3667 $KICAD_3RD_PARTY/plugins/
3668 """
3669 import os
3670 import sys
3671 import traceback
3672 import pcbnew
3673
3674 if sys.version_info >= (3,3,0):
3675 import importlib
3676 importlib.invalidate_caches()
3677
3678 """
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.
3681 """
3682 try:
3683 bundlepath = bundlepath.decode( 'UTF-8' )
3684 userpath = userpath.decode( 'UTF-8' )
3685 thirdpartypath = thirdpartypath.decode( 'UTF-8' )
3686 except AttributeError:
3687 pass
3688
3690 plugin_directories=[]
3691
3692 """
3693 To be consistent with others paths, on windows, convert the unix '/' separator
3694 to the windows separator, although using '/' works
3695 """
3696 if sys.platform.startswith('win32'):
3697 if bundlepath:
3698 bundlepath = bundlepath.replace("/","\\")
3699 if thirdpartypath:
3700 thirdpartypath = thirdpartypath.replace("/","\\")
3701
3702 if bundlepath:
3703 plugin_directories.append(bundlepath)
3704 plugin_directories.append(os.path.join(bundlepath, 'plugins'))
3705
3706 if config_path:
3707 plugin_directories.append(os.path.join(config_path, 'scripting'))
3708 plugin_directories.append(os.path.join(config_path, 'scripting', 'plugins'))
3709
3710 if userpath:
3711 plugin_directories.append(userpath)
3712 plugin_directories.append(os.path.join(userpath, 'plugins'))
3713
3714 if thirdpartypath:
3715 plugin_directories.append(thirdpartypath)
3716
3717 global PLUGIN_DIRECTORIES_SEARCH
3718 PLUGIN_DIRECTORIES_SEARCH=""
3719 for plugins_dir in plugin_directories: # save search path list for later use
3720 if PLUGIN_DIRECTORIES_SEARCH != "" :
3721 PLUGIN_DIRECTORIES_SEARCH += "\n"
3722 PLUGIN_DIRECTORIES_SEARCH += plugins_dir
3723
3724 global FULL_BACK_TRACE
3725 FULL_BACK_TRACE="" # clear any existing trace
3726
3727 global NOT_LOADED_WIZARDS
3728 NOT_LOADED_WIZARDS = "" # save not loaded wizards names list for later use
3729
3730 global KICAD_PLUGINS
3731
3732 for plugins_dir in plugin_directories:
3733 if not os.path.isdir( plugins_dir ):
3734 continue
3735
3736 if plugins_dir not in sys.path:
3737 sys.path.append( plugins_dir )
3738
3739 for module in os.listdir(plugins_dir):
3740 fullPath = os.path.join( plugins_dir, module )
3741
3742 if os.path.isdir( fullPath ):
3743 if os.path.exists( os.path.join( fullPath, '__init__.py' ) ):
3744 LoadPluginModule( plugins_dir, module, module )
3745 else:
3746 if NOT_LOADED_WIZARDS != "" :
3747 NOT_LOADED_WIZARDS += "\n"
3748 NOT_LOADED_WIZARDS += 'Skip subdir ' + fullPath
3749 continue
3750
3751 if module == '__init__.py' or module[-3:] != '.py':
3752 continue
3753
3754 LoadPluginModule( plugins_dir, module[:-3], module )
3755
3756
3758 def __init__(self):
3759 pass
3760
3761 def register(self):
3762 import inspect
3763 import os
3764
3765 if isinstance(self,FilePlugin):
3766 pass # register to file plugins in C++
3767
3768 if isinstance(self,FootprintWizardPlugin):
3769 PYTHON_FOOTPRINT_WIZARD_LIST.register_wizard(self)
3770 return
3771
3772 if isinstance(self,ActionPlugin):
3773 """
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.
3776 """
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)
3782 return
3783
3784 return
3785
3786 def deregister(self):
3787 if isinstance(self,FilePlugin):
3788 pass # deregister to file plugins in C++
3789
3790 if isinstance(self,FootprintWizardPlugin):
3791 PYTHON_FOOTPRINT_WIZARD_LIST.deregister_wizard(self)
3792 return
3793
3794 if isinstance(self,ActionPlugin):
3795 PYTHON_ACTION_PLUGINS.deregister_action(self)
3796 return
3797
3798 return
3799
3800 def GetPluginPath( self ):
3801 return self.__plugin_path
3802
3803
3805 def __init__(self):
3806 KiCadPlugin.__init__(self)
3807
3808
3809from math import ceil, floor, sqrt
3810
3811uMM = "mm" # Millimetres
3812uMils = "mils" # Mils
3813uFloat = "float" # Natural number units (dimensionless)
3814uInteger = "integer" # Integer (no decimals, numeric, dimensionless)
3815uBool = "bool" # Boolean value
3816uRadians = "radians" # Angular units (radians)
3817uDegrees = "degrees" # Angular units (degrees)
3818uPercent = "%" # Percent (0% -> 100%)
3819uString = "string" # Raw string
3820
3821uNumeric = [uMM, uMils, uFloat, uInteger, uDegrees, uRadians, uPercent] # List of numeric types
3822uUnits = [uMM, uMils, uFloat, uInteger, uBool, uDegrees, uRadians, uPercent, uString] # List of allowable types
3823
3825 _true = ['true','t','y','yes','on','1',1,]
3826 _false = ['false','f','n','no','off','0',0,'',None]
3827
3828 _bools = _true + _false
3829
3830 def __init__(self, page, name, units, default, **kwarg):
3831 self.page = page
3832 self.name = name
3833 self.hint = kwarg.get('hint','') # Parameter hint (shown as mouse-over text)
3834 self.designator = kwarg.get('designator',' ') # Parameter designator such as "e, D, p" (etc)
3835
3836 if units.lower() in uUnits:
3837 self.units = units.lower()
3838 elif units.lower() == 'percent':
3839 self.units = uPercent
3840 elif type(units) in [list, tuple]: # Convert a list of options into a single string
3841 self.units = ",".join([str(el).strip() for el in units])
3842 else:
3843 self.units = units
3844
3845 self.multiple = int(kwarg.get('multiple',1)) # Check integer values are multiples of this number
3846 self.min_value = kwarg.get('min_value',None) # Check numeric values are above or equal to this number
3847 self.max_value = kwarg.get('max_value',None) # Check numeric values are below or equal to this number
3848
3849 self.SetValue(default)
3850 self.default = self.raw_value # Save value as default
3851
3852 def ClearErrors(self):
3853 self.error_list = []
3854
3855 def AddError(self, err, info=None):
3856
3857 if err in self.error_list: # prevent duplicate error messages
3858 return
3859 if info is not None:
3860 err = err + " (" + str(info) + ")"
3861
3862 self.error_list.append(err)
3863
3864 def Check(self, min_value=None, max_value=None, multiple=None, info=None):
3865
3866 if min_value is None:
3867 min_value = self.min_value
3868 if max_value is None:
3869 max_value = self.max_value
3870 if multiple is None:
3871 multiple = self.multiple
3872
3873 if self.units not in uUnits and ',' not in self.units: # Allow either valid units or a list of strings
3874 self.AddError("type '{t}' unknown".format(t=self.units),info)
3875 self.AddError("Allowable types: " + str(self.units),info)
3876
3877 if self.units in uNumeric:
3878 try:
3879 to_num = float(self.raw_value)
3880
3881 if min_value is not None: # Check minimum value if it is present
3882 if to_num < min_value:
3883 self.AddError("value '{v}' is below minimum ({m})".format(v=self.raw_value,m=min_value),info)
3884
3885 if max_value is not None: # Check maximum value if it is present
3886 if to_num > max_value:
3887 self.AddError("value '{v}' is above maximum ({m})".format(v=self.raw_value,m=max_value),info)
3888
3889 except:
3890 self.AddError("value '{v}' is not of type '{t}'".format(v = self.raw_value, t=self.units),info)
3891
3892 if self.units == uInteger: # Perform integer specific checks
3893 try:
3894 to_int = int(self.raw_value)
3895
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)
3899 except:
3900 self.AddError("value '{v}' is not an integer".format(v=self.raw_value),info)
3901
3902 if self.units == uBool: # Check that the value is of a correct boolean format
3903 if self.raw_value in [True,False] or str(self.raw_value).lower() in self._bools:
3904 pass
3905 else:
3906 self.AddError("value '{v}' is not a boolean value".format(v = self.raw_value),info)
3907
3908 @property
3909 def value(self): # Return the current value, converted to appropriate units (from string representation) if required
3910 v = str(self.raw_value) # Enforce string type for known starting point
3911
3912 if self.units == uInteger: # Integer values
3913 return int(v)
3914 elif self.units in uNumeric: # Any values that use floating points
3915 v = v.replace(",",".") # Replace "," separators with "."
3916 v = float(v)
3917
3918 if self.units == uMM: # Convert from millimetres to nanometres
3919 return FromMM(v)
3920
3921 elif self.units == uMils: # Convert from mils to nanometres
3922 return FromMils(v)
3923
3924 else: # Any other floating-point values
3925 return v
3926
3927 elif self.units == uBool:
3928 if v.lower() in self._true:
3929 return True
3930 else:
3931 return False
3932 else:
3933 return v
3934
3935 def DefaultValue(self): # Reset the value of the parameter to its default
3936 self.raw_value = str(self.default)
3937
3938 def SetValue(self, new_value): # Update the value
3939 new_value = str(new_value)
3940
3941 if len(new_value.strip()) == 0:
3942 if not self.units in [uString, uBool]:
3943 return # Ignore empty values unless for strings or bools
3944
3945 if self.units == uBool: # Enforce the same boolean representation as is used in KiCad
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(",", ".") # Enforce decimal point separators
3949 elif ',' in self.units: # Select from a list of values
3950 if new_value not in self.units.split(','):
3951 new_value = self.units.split(',')[0]
3952
3953 self.raw_value = new_value
3954
3955 def __str__(self): # pretty-print the parameter
3956
3957 s = self.name + ": " + str(self.raw_value)
3958
3959 if self.units in [uMM, uMils, uPercent, uRadians, uDegrees]:
3960 s += self.units
3961 elif self.units == uBool: # Special case for Boolean values
3962 s = self.name + ": {b}".format(b = "True" if self.value else "False")
3963 elif self.units == uString:
3964 s = self.name + ": '" + self.raw_value + "'"
3965
3966 return s
3967
3968
3970 def __init__(self):
3971 KiCadPlugin.__init__(self)
3972 self.defaults()
3973
3974 def defaults(self):
3975 self.module = None
3976 self.params = [] # List of added parameters that observes addition order
3977
3978 self.name = "KiCad FP Wizard"
3979 self.description = "Undefined Footprint Wizard plugin"
3980 self.image = ""
3982
3983 def AddParam(self, page, name, unit, default, **kwarg):
3984
3985 if self.GetParam(page,name) is not None: # Param already exists!
3986 return
3987
3988 param = FootprintWizardParameter(page, name, unit, default, **kwarg) # Create a new parameter
3989 self.params.append(param)
3990
3991 @property
3992 def parameters(self): # This is a helper function that returns a nested (unordered) dict of the VALUES of parameters
3993 pages = {} # Page dict
3994 for p in self.params:
3995 if p.page not in pages:
3996 pages[p.page] = {}
3997
3998 pages[p.page][p.name] = p.value # Return the 'converted' value (convert from string to actual useful units)
3999
4000 return pages
4001
4002 @property
4003 def values(self): # Same as above
4004 return self.parameters
4005
4006 def ResetWizard(self): # Reset all parameters to default values
4007 for p in self.params:
4008 p.DefaultValue()
4009
4010 def GetName(self): # Return the name of this wizard
4011 return self.name
4012
4013 def GetImage(self): # Return the filename of the preview image associated with this wizard
4014 return self.image
4015
4016 def GetDescription(self): # Return the description text
4017 return self.description
4018
4019 def GetValue(self):
4020 raise NotImplementedError
4021
4023 return "REF" # Default reference prefix for any footprint
4024
4025 def GetParam(self, page, name): # Grab a parameter
4026 for p in self.params:
4027 if p.page == page and p.name == name:
4028 return p
4029
4030 return None
4031
4032 def CheckParam(self, page, name, **kwarg):
4033 self.GetParam(page,name).Check(**kwarg)
4034
4035 def AnyErrors(self):
4036 return any([len(p.error_list) > 0 for p in self.params])
4037
4038 @property
4039 def pages(self): # Return an (ordered) list of the available page names
4040 page_list = []
4041 for p in self.params:
4042 if p.page not in page_list:
4043 page_list.append(p.page)
4044
4045 return page_list
4046
4047 def GetNumParameterPages(self): # Return the number of parameter pages
4048 return len(self.pages)
4049
4050 def GetParameterPageName(self,page_n): # Return the name of a page at a given index
4051 return self.pages[page_n]
4052
4053 def GetParametersByPageName(self, page_name): # Return a list of parameters on a given page
4054 params = []
4055
4056 for p in self.params:
4057 if p.page == page_name:
4058 params.append(p)
4059
4060 return params
4061
4062 def GetParametersByPageIndex(self, page_index): # Return an ordered list of parameters on a given page
4063 return self.GetParametersByPageName(self.GetParameterPageName(page_index))
4064
4065 def GetParameterDesignators(self, page_index): # Return a list of designators associated with a given page
4066 params = self.GetParametersByPageIndex(page_index)
4067 return [p.designator for p in params]
4068
4069 def GetParameterNames(self,page_index): # Return the list of names associated with a given page
4070 params = self.GetParametersByPageIndex(page_index)
4071 return [p.name for p in params]
4072
4073 def GetParameterValues(self,page_index): # Return the list of values associated with a given page
4074 params = self.GetParametersByPageIndex(page_index)
4075 return [str(p.raw_value) for p in params]
4076
4077 def GetParameterErrors(self,page_index): # Return list of errors associated with a given page
4078 params = self.GetParametersByPageIndex(page_index)
4079 return [str("\n".join(p.error_list)) for p in params]
4080
4081 def GetParameterTypes(self, page_index): # Return list of units associated with a given page
4082 params = self.GetParametersByPageIndex(page_index)
4083 return [str(p.units) for p in params]
4084
4085 def GetParameterHints(self, page_index): # Return a list of units associated with a given page
4086 params = self.GetParametersByPageIndex(page_index)
4087 return [str(p.hint) for p in params]
4088
4089 def GetParameterDesignators(self, page_index): # Return a list of designators associated with a given page
4090 params = self.GetParametersByPageIndex(page_index)
4091 return [str(p.designator) for p in params]
4092
4093 def SetParameterValues(self, page_index, list_of_values): # Update values on a given page
4094
4095 params = self.GetParametersByPageIndex(page_index)
4096
4097 for i, param in enumerate(params):
4098 if i >= len(list_of_values):
4099 break
4100 param.SetValue(list_of_values[i])
4101
4102 def GetFootprint( self ):
4103 self.BuildFootprint()
4104 return self.module
4105
4107 return
4108
4109 def GetBuildMessages( self ):
4110 return self.buildmessages
4111
4112 def Show(self):
4113 text = "Footprint Wizard Name: {name}\n".format(name=self.GetName())
4114 text += "Footprint Wizard Description: {desc}\n".format(desc=self.GetDescription())
4115
4116 n_pages = self.GetNumParameterPages()
4117
4118 text += "Pages: {n}\n".format(n=n_pages)
4119
4120 for i in range(n_pages):
4121 name = self.GetParameterPageName(i)
4122
4123 params = self.GetParametersByPageName(name)
4124
4125 text += "{name}\n".format(name=name)
4126
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 ''
4131 ))
4132
4133 if self.AnyErrors():
4134 text += " * Errors exist for these parameters"
4135
4136 return text
4137
4139 def __init__( self ):
4140 KiCadPlugin.__init__( self )
4144 self.defaults()
4145
4146 def defaults( self ):
4147 self.name = "Undefined Action plugin"
4148 self.category = "Undefined"
4149 self.description = ""
4150
4151 def GetName( self ):
4152 return self.name
4153
4154 def GetCategoryName( self ):
4155 return self.category
4156
4157 def GetDescription( self ):
4158 return self.description
4159
4161 return self.show_toolbar_button
4162
4163 def GetIconFileName( self, dark ):
4164 if dark and self.dark_icon_file_name:
4165 return self.dark_icon_file_name
4166 else:
4167 return self.icon_file_name
4168
4169 def Run(self):
4170 return
4171
4172
4173SH_RECT = _pcbnew.SH_RECT
4174
4175SH_SEGMENT = _pcbnew.SH_SEGMENT
4176
4177SH_LINE_CHAIN = _pcbnew.SH_LINE_CHAIN
4178
4179SH_CIRCLE = _pcbnew.SH_CIRCLE
4180
4181SH_SIMPLE = _pcbnew.SH_SIMPLE
4182
4183SH_POLY_SET = _pcbnew.SH_POLY_SET
4184
4185SH_COMPOUND = _pcbnew.SH_COMPOUND
4186
4187SH_ARC = _pcbnew.SH_ARC
4188
4189SH_NULL = _pcbnew.SH_NULL
4190
4191SH_POLY_SET_TRIANGLE = _pcbnew.SH_POLY_SET_TRIANGLE
4192
4193
4194def SHAPE_TYPE_asString(a: "SHAPE_TYPE") -> "wxString":
4195 r"""SHAPE_TYPE_asString(SHAPE_TYPE a) -> wxString"""
4196 return _pcbnew.SHAPE_TYPE_asString(a)
4198 r"""Proxy of C++ SHAPE_BASE class."""
4199
4200 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4201 __repr__ = _swig_repr
4202
4203 def __init__(self, aType: "SHAPE_TYPE"):
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
4207
4208 def Type(self) -> "SHAPE_TYPE":
4209 r"""Type(SHAPE_BASE self) -> SHAPE_TYPE"""
4210 return _pcbnew.SHAPE_BASE_Type(self)
4211
4212 def TypeName(self) -> "wxString":
4213 r"""TypeName(SHAPE_BASE self) -> wxString"""
4214 return _pcbnew.SHAPE_BASE_TypeName(self)
4215
4216 def HasIndexableSubshapes(self) -> "bool":
4217 r"""HasIndexableSubshapes(SHAPE_BASE self) -> bool"""
4218 return _pcbnew.SHAPE_BASE_HasIndexableSubshapes(self)
4219
4220 def GetIndexableSubshapeCount(self) -> "size_t":
4221 r"""GetIndexableSubshapeCount(SHAPE_BASE self) -> size_t"""
4222 return _pcbnew.SHAPE_BASE_GetIndexableSubshapeCount(self)
4223
4224 def GetIndexableSubshapes(self, aSubshapes: "std::vector< SHAPE *,std::allocator< SHAPE * > > &") -> "void":
4225 r"""GetIndexableSubshapes(SHAPE_BASE self, std::vector< SHAPE *,std::allocator< SHAPE * > > & aSubshapes)"""
4226 return _pcbnew.SHAPE_BASE_GetIndexableSubshapes(self, aSubshapes)
4227
4228# Register SHAPE_BASE in _pcbnew:
4229_pcbnew.SHAPE_BASE_swigregister(SHAPE_BASE)
4230
4232 r"""Proxy of C++ SHAPE class."""
4233
4234 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4235
4236 def __init__(self, *args, **kwargs):
4237 raise AttributeError("No constructor defined - class is abstract")
4238 __repr__ = _swig_repr
4239 MIN_PRECISION_IU = _pcbnew.SHAPE_MIN_PRECISION_IU
4240
4241 __swig_destroy__ = _pcbnew.delete_SHAPE
4242
4243 def Clone(self) -> "SHAPE *":
4244 r"""Clone(SHAPE self) -> SHAPE"""
4245 return _pcbnew.SHAPE_Clone(self)
4246
4247 def IsNull(self) -> "bool":
4248 r"""IsNull(SHAPE self) -> bool"""
4249 return _pcbnew.SHAPE_IsNull(self)
4250
4251 def Collide(self, *args) -> "bool":
4252 r"""
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
4257 """
4258 return _pcbnew.SHAPE_Collide(self, *args)
4259
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)
4263
4264 def Centre(self) -> "VECTOR2I":
4265 r"""Centre(SHAPE self) -> VECTOR2I"""
4266 return _pcbnew.SHAPE_Centre(self)
4267
4268 def Rotate(self, *args) -> "void":
4269 r"""Rotate(SHAPE self, double aAngle, VECTOR2I aCenter={ 0, 0 })"""
4270 return _pcbnew.SHAPE_Rotate(self, *args)
4271
4272 def Move(self, aVector: "VECTOR2I") -> "void":
4273 r"""Move(SHAPE self, VECTOR2I aVector)"""
4274 return _pcbnew.SHAPE_Move(self, aVector)
4275
4276 def IsSolid(self) -> "bool":
4277 r"""IsSolid(SHAPE self) -> bool"""
4278 return _pcbnew.SHAPE_IsSolid(self)
4279
4280 def Parse(self, aStream: "std::stringstream &") -> "bool":
4281 r"""Parse(SHAPE self, std::stringstream & aStream) -> bool"""
4282 return _pcbnew.SHAPE_Parse(self, aStream)
4283
4284 def Format(self) -> "std::string const":
4285 r"""Format(SHAPE self) -> string"""
4286 return _pcbnew.SHAPE_Format(self)
4287
4288# Register SHAPE in _pcbnew:
4289_pcbnew.SHAPE_swigregister(SHAPE)
4290
4292 r"""Proxy of C++ SHAPE_LINE_CHAIN_BASE class."""
4293
4294 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4295
4296 def __init__(self, *args, **kwargs):
4297 raise AttributeError("No constructor defined - class is abstract")
4298 __repr__ = _swig_repr
4299 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN_BASE
4300
4301 def Collide(self, *args) -> "bool":
4302 r"""
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
4305 """
4306 return _pcbnew.SHAPE_LINE_CHAIN_BASE_Collide(self, *args)
4307
4308 def SquaredDistance(self, aP: "VECTOR2I", aOutlineOnly: "bool"=False) -> "SEG::ecoord":
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)
4311
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)
4315
4316 def PointOnEdge(self, aP: "VECTOR2I", aAccuracy: "int"=0) -> "bool":
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)
4319
4320 def EdgeContainingPoint(self, aP: "VECTOR2I", aAccuracy: "int"=0) -> "int":
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)
4323
4324 def GetPoint(self, aIndex: "int") -> "VECTOR2I const":
4325 r"""GetPoint(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> VECTOR2I"""
4326 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPoint(self, aIndex)
4327
4328 def GetSegment(self, aIndex: "int") -> "SEG const":
4329 r"""GetSegment(SHAPE_LINE_CHAIN_BASE self, int aIndex) -> SEG const"""
4330 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegment(self, aIndex)
4331
4332 def GetPointCount(self) -> "size_t":
4333 r"""GetPointCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
4334 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetPointCount(self)
4335
4336 def GetSegmentCount(self) -> "size_t":
4337 r"""GetSegmentCount(SHAPE_LINE_CHAIN_BASE self) -> size_t"""
4338 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetSegmentCount(self)
4339
4340 def IsClosed(self) -> "bool":
4341 r"""IsClosed(SHAPE_LINE_CHAIN_BASE self) -> bool"""
4342 return _pcbnew.SHAPE_LINE_CHAIN_BASE_IsClosed(self)
4343
4344 def GetCachedBBox(self) -> "BOX2I *":
4345 r"""GetCachedBBox(SHAPE_LINE_CHAIN_BASE self) -> BOX2I *"""
4346 return _pcbnew.SHAPE_LINE_CHAIN_BASE_GetCachedBBox(self)
4347
4348# Register SHAPE_LINE_CHAIN_BASE in _pcbnew:
4349_pcbnew.SHAPE_LINE_CHAIN_BASE_swigregister(SHAPE_LINE_CHAIN_BASE)
4350
4352 r"""Proxy of C++ VECTOR2< int > class."""
4353
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""")
4358
4359 def __init__(self, *args):
4360 r"""
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
4366 """
4367 _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args))
4368
4369 def getWxPoint(self) -> "wxPoint":
4370 r"""getWxPoint(VECTOR2I self) -> wxPoint"""
4371 return _pcbnew.VECTOR2I_getWxPoint(self)
4372
4373 def EuclideanNorm(self) -> "int":
4374 r"""EuclideanNorm(VECTOR2I self) -> int"""
4375 return _pcbnew.VECTOR2I_EuclideanNorm(self)
4376
4377 def SquaredEuclideanNorm(self) -> "VECTOR2< int >::extended_type":
4378 r"""SquaredEuclideanNorm(VECTOR2I self) -> VECTOR2< int >::extended_type"""
4379 return _pcbnew.VECTOR2I_SquaredEuclideanNorm(self)
4380
4381 def Perpendicular(self) -> "VECTOR2< int >":
4382 r"""Perpendicular(VECTOR2I self) -> VECTOR2I"""
4383 return _pcbnew.VECTOR2I_Perpendicular(self)
4384
4385 def Resize(self, aNewLength: "int") -> "VECTOR2< int >":
4386 r"""Resize(VECTOR2I self, int aNewLength) -> VECTOR2I"""
4387 return _pcbnew.VECTOR2I_Resize(self, aNewLength)
4388
4389 def Angle(self) -> "double":
4390 r"""Angle(VECTOR2I self) -> double"""
4391 return _pcbnew.VECTOR2I_Angle(self)
4392
4393 def Rotate(self, aAngle: "double") -> "VECTOR2< int >":
4394 r"""Rotate(VECTOR2I self, double aAngle) -> VECTOR2I"""
4395 return _pcbnew.VECTOR2I_Rotate(self, aAngle)
4396
4397 def Format(self) -> "std::string const":
4398 r"""Format(VECTOR2I self) -> string"""
4399 return _pcbnew.VECTOR2I_Format(self)
4400
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)
4404
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)
4408
4409 def __add__(self, *args) -> "VECTOR2< int >":
4410 r"""
4411 __add__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4412 __add__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4413 """
4414 return _pcbnew.VECTOR2I___add__(self, *args)
4415
4416 def __iadd__(self, *args) -> "VECTOR2< int > &":
4417 r"""
4418 __iadd__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4419 __iadd__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4420 """
4421 return _pcbnew.VECTOR2I___iadd__(self, *args)
4422
4423 def __sub__(self, *args) -> "VECTOR2< int >":
4424 r"""
4425 __sub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4426 __sub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4427 """
4428 return _pcbnew.VECTOR2I___sub__(self, *args)
4429
4430 def __isub__(self, *args) -> "VECTOR2< int > &":
4431 r"""
4432 __isub__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2I
4433 __isub__(VECTOR2I self, int const & aScalar) -> VECTOR2I
4434 """
4435 return _pcbnew.VECTOR2I___isub__(self, *args)
4436
4437 def __neg__(self) -> "VECTOR2< int >":
4438 r"""__neg__(VECTOR2I self) -> VECTOR2I"""
4439 return _pcbnew.VECTOR2I___neg__(self)
4440
4441 def __mul__(self, *args) -> "VECTOR2< int >":
4442 r"""
4443 __mul__(VECTOR2I self, VECTOR2I aVector) -> VECTOR2< int >::extended_type
4444 __mul__(VECTOR2I self, int const & aFactor) -> VECTOR2I
4445 """
4446 return _pcbnew.VECTOR2I___mul__(self, *args)
4447
4448 def __truediv__(self, *args):
4449 return _pcbnew.VECTOR2I___truediv__(self, *args)
4450 __div__ = __truediv__
4451
4452
4453
4454 def __eq__(self, aVector: "VECTOR2I") -> "bool":
4455 r"""__eq__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4456 return _pcbnew.VECTOR2I___eq__(self, aVector)
4457
4458 def __ne__(self, aVector: "VECTOR2I") -> "bool":
4459 r"""__ne__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4460 return _pcbnew.VECTOR2I___ne__(self, aVector)
4461
4462 def __lt__(self, aVector: "VECTOR2I") -> "bool":
4463 r"""__lt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4464 return _pcbnew.VECTOR2I___lt__(self, aVector)
4465
4466 def __le__(self, aVector: "VECTOR2I") -> "bool":
4467 r"""__le__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4468 return _pcbnew.VECTOR2I___le__(self, aVector)
4469
4470 def __gt__(self, aVector: "VECTOR2I") -> "bool":
4471 r"""__gt__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4472 return _pcbnew.VECTOR2I___gt__(self, aVector)
4473
4474 def __ge__(self, aVector: "VECTOR2I") -> "bool":
4475 r"""__ge__(VECTOR2I self, VECTOR2I aVector) -> bool"""
4476 return _pcbnew.VECTOR2I___ge__(self, aVector)
4477
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)
4481
4482 def Get(self) -> "PyObject *":
4483 r"""Get(VECTOR2I self) -> PyObject *"""
4484 return _pcbnew.VECTOR2I_Get(self)
4485
4486 def __eq__(self,other): return (self.x==other.x and self.y==other.y)
4487 def __ne__(self,other): return not (self==other)
4488 def __str__(self): return str(self.Get())
4489 def __repr__(self): return 'VECTOR2I'+str(self.Get())
4490 def __len__(self): return len(self.Get())
4491 def __getitem__(self, index): return self.Get()[index]
4492 def __setitem__(self, index, val):
4493 if index == 0:
4494 self.x = val
4495 elif index == 1:
4496 self.y = val
4497 else:
4498 raise IndexError
4499 def __nonzero__(self): return self.Get() != (0,0)
4500
4501
4502 __swig_destroy__ = _pcbnew.delete_VECTOR2I
4503
4504# Register VECTOR2I in _pcbnew:
4505_pcbnew.VECTOR2I_swigregister(VECTOR2I)
4506
4508 r"""Proxy of C++ std::vector< VECTOR2I > class."""
4509
4510 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4511 __repr__ = _swig_repr
4512
4513 def iterator(self) -> "swig::SwigPyIterator *":
4514 r"""iterator(VECTOR_VECTOR2I self) -> SwigPyIterator"""
4515 return _pcbnew.VECTOR_VECTOR2I_iterator(self)
4516 def __iter__(self):
4517 return self.iterator()
4518
4519 def __nonzero__(self) -> "bool":
4520 r"""__nonzero__(VECTOR_VECTOR2I self) -> bool"""
4521 return _pcbnew.VECTOR_VECTOR2I___nonzero__(self)
4522
4523 def __bool__(self) -> "bool":
4524 r"""__bool__(VECTOR_VECTOR2I self) -> bool"""
4525 return _pcbnew.VECTOR_VECTOR2I___bool__(self)
4526
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)
4530
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)
4534
4535 def __setslice__(self, *args) -> "void":
4536 r"""
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)
4539 """
4540 return _pcbnew.VECTOR_VECTOR2I___setslice__(self, *args)
4541
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)
4545
4546 def __delitem__(self, *args) -> "void":
4547 r"""
4548 __delitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i)
4549 __delitem__(VECTOR_VECTOR2I self, PySliceObject * slice)
4550 """
4551 return _pcbnew.VECTOR_VECTOR2I___delitem__(self, *args)
4552
4553 def __getitem__(self, *args) -> "std::vector< VECTOR2< int > >::value_type const &":
4554 r"""
4555 __getitem__(VECTOR_VECTOR2I self, PySliceObject * slice) -> VECTOR_VECTOR2I
4556 __getitem__(VECTOR_VECTOR2I self, std::vector< VECTOR2< int > >::difference_type i) -> VECTOR2I
4557 """
4558 return _pcbnew.VECTOR_VECTOR2I___getitem__(self, *args)
4559
4560 def __setitem__(self, *args) -> "void":
4561 r"""
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)
4565 """
4566 return _pcbnew.VECTOR_VECTOR2I___setitem__(self, *args)
4567
4568 def pop(self) -> "std::vector< VECTOR2< int > >::value_type":
4569 r"""pop(VECTOR_VECTOR2I self) -> VECTOR2I"""
4570 return _pcbnew.VECTOR_VECTOR2I_pop(self)
4571
4572 def append(self, x: "VECTOR2I") -> "void":
4573 r"""append(VECTOR_VECTOR2I self, VECTOR2I x)"""
4574 return _pcbnew.VECTOR_VECTOR2I_append(self, x)
4575
4576 def empty(self) -> "bool":
4577 r"""empty(VECTOR_VECTOR2I self) -> bool"""
4578 return _pcbnew.VECTOR_VECTOR2I_empty(self)
4579
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)
4583
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)
4587
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)
4591
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)
4595
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)
4599
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)
4603
4604 def clear(self) -> "void":
4605 r"""clear(VECTOR_VECTOR2I self)"""
4606 return _pcbnew.VECTOR_VECTOR2I_clear(self)
4607
4608 def get_allocator(self) -> "std::vector< VECTOR2< int > >::allocator_type":
4609 r"""get_allocator(VECTOR_VECTOR2I self) -> std::vector< VECTOR2< int > >::allocator_type"""
4610 return _pcbnew.VECTOR_VECTOR2I_get_allocator(self)
4611
4612 def pop_back(self) -> "void":
4613 r"""pop_back(VECTOR_VECTOR2I self)"""
4614 return _pcbnew.VECTOR_VECTOR2I_pop_back(self)
4615
4616 def erase(self, *args) -> "std::vector< VECTOR2< int > >::iterator":
4617 r"""
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
4620 """
4621 return _pcbnew.VECTOR_VECTOR2I_erase(self, *args)
4622
4623 def __init__(self, *args):
4624 r"""
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
4629 """
4630 _pcbnew.VECTOR_VECTOR2I_swiginit(self, _pcbnew.new_VECTOR_VECTOR2I(*args))
4631
4632 def push_back(self, x: "VECTOR2I") -> "void":
4633 r"""push_back(VECTOR_VECTOR2I self, VECTOR2I x)"""
4634 return _pcbnew.VECTOR_VECTOR2I_push_back(self, x)
4635
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)
4639
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)
4643
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)
4647
4648 def resize(self, *args) -> "void":
4649 r"""
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)
4652 """
4653 return _pcbnew.VECTOR_VECTOR2I_resize(self, *args)
4654
4655 def insert(self, *args) -> "void":
4656 r"""
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)
4659 """
4660 return _pcbnew.VECTOR_VECTOR2I_insert(self, *args)
4661
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)
4665
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
4670
4671# Register VECTOR_VECTOR2I in _pcbnew:
4672_pcbnew.VECTOR_VECTOR2I_swigregister(VECTOR_VECTOR2I)
4673
4675 r"""Proxy of C++ CLIPPER_Z_VALUE class."""
4676
4677 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4678 __repr__ = _swig_repr
4679
4680 def __init__(self, *args):
4681 r"""
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
4684 """
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
4689
4690# Register CLIPPER_Z_VALUE in _pcbnew:
4691_pcbnew.CLIPPER_Z_VALUE_swigregister(CLIPPER_Z_VALUE)
4692
4694 r"""Proxy of C++ SHAPE_LINE_CHAIN class."""
4695
4696 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4697 __repr__ = _swig_repr
4698
4699 def __init__(self, *args):
4700 r"""
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
4708 """
4709 _pcbnew.SHAPE_LINE_CHAIN_swiginit(self, _pcbnew.new_SHAPE_LINE_CHAIN(*args))
4710 __swig_destroy__ = _pcbnew.delete_SHAPE_LINE_CHAIN
4711
4712 def Collide(self, *args) -> "bool":
4713 r"""
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
4716 """
4717 return _pcbnew.SHAPE_LINE_CHAIN_Collide(self, *args)
4718
4719 def Clone(self) -> "SHAPE *":
4720 r"""Clone(SHAPE_LINE_CHAIN self) -> SHAPE"""
4721 return _pcbnew.SHAPE_LINE_CHAIN_Clone(self)
4722
4723 def Clear(self) -> "void":
4724 r"""Clear(SHAPE_LINE_CHAIN self)"""
4725 return _pcbnew.SHAPE_LINE_CHAIN_Clear(self)
4726
4727 def SetClosed(self, aClosed: "bool") -> "void":
4728 r"""SetClosed(SHAPE_LINE_CHAIN self, bool aClosed)"""
4729 return _pcbnew.SHAPE_LINE_CHAIN_SetClosed(self, aClosed)
4730
4731 def IsClosed(self) -> "bool":
4732 r"""IsClosed(SHAPE_LINE_CHAIN self) -> bool"""
4733 return _pcbnew.SHAPE_LINE_CHAIN_IsClosed(self)
4734
4735 def SetWidth(self, aWidth: "int") -> "void":
4736 r"""SetWidth(SHAPE_LINE_CHAIN self, int aWidth)"""
4737 return _pcbnew.SHAPE_LINE_CHAIN_SetWidth(self, aWidth)
4738
4739 def Width(self) -> "int":
4740 r"""Width(SHAPE_LINE_CHAIN self) -> int"""
4741 return _pcbnew.SHAPE_LINE_CHAIN_Width(self)
4742
4743 def SegmentCount(self) -> "int":
4744 r"""SegmentCount(SHAPE_LINE_CHAIN self) -> int"""
4745 return _pcbnew.SHAPE_LINE_CHAIN_SegmentCount(self)
4746
4747 def ShapeCount(self) -> "int":
4748 r"""ShapeCount(SHAPE_LINE_CHAIN self) -> int"""
4749 return _pcbnew.SHAPE_LINE_CHAIN_ShapeCount(self)
4750
4751 def PointCount(self) -> "int":
4752 r"""PointCount(SHAPE_LINE_CHAIN self) -> int"""
4753 return _pcbnew.SHAPE_LINE_CHAIN_PointCount(self)
4754
4755 def Segment(self, aIndex: "int") -> "SEG":
4756 r"""Segment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG"""
4757 return _pcbnew.SHAPE_LINE_CHAIN_Segment(self, aIndex)
4758
4759 def CSegment(self, aIndex: "int") -> "SEG const":
4760 r"""CSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG const"""
4761 return _pcbnew.SHAPE_LINE_CHAIN_CSegment(self, aIndex)
4762
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)
4766
4767 def PrevShape(self, aPointIndex: "int") -> "int":
4768 r"""PrevShape(SHAPE_LINE_CHAIN self, int aPointIndex) -> int"""
4769 return _pcbnew.SHAPE_LINE_CHAIN_PrevShape(self, aPointIndex)
4770
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)
4774
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)
4778
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)
4782
4783 def CLastPoint(self) -> "VECTOR2I const &":
4784 r"""CLastPoint(SHAPE_LINE_CHAIN self) -> VECTOR2I"""
4785 return _pcbnew.SHAPE_LINE_CHAIN_CLastPoint(self)
4786
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)
4790
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)
4794
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)
4798
4799 def GenerateBBoxCache(self) -> "void":
4800 r"""GenerateBBoxCache(SHAPE_LINE_CHAIN self)"""
4801 return _pcbnew.SHAPE_LINE_CHAIN_GenerateBBoxCache(self)
4802
4803 def GetCachedBBox(self) -> "BOX2I *":
4804 r"""GetCachedBBox(SHAPE_LINE_CHAIN self) -> BOX2I *"""
4805 return _pcbnew.SHAPE_LINE_CHAIN_GetCachedBBox(self)
4806
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)
4810
4811 def Reverse(self) -> "SHAPE_LINE_CHAIN const":
4812 r"""Reverse(SHAPE_LINE_CHAIN self) -> SHAPE_LINE_CHAIN"""
4813 return _pcbnew.SHAPE_LINE_CHAIN_Reverse(self)
4814
4815 def ClearArcs(self) -> "void":
4816 r"""ClearArcs(SHAPE_LINE_CHAIN self)"""
4817 return _pcbnew.SHAPE_LINE_CHAIN_ClearArcs(self)
4818
4819 def Length(self) -> "long long":
4820 r"""Length(SHAPE_LINE_CHAIN self) -> long long"""
4821 return _pcbnew.SHAPE_LINE_CHAIN_Length(self)
4822
4823 def Append(self, *args) -> "void":
4824 r"""
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)
4829 """
4830 return _pcbnew.SHAPE_LINE_CHAIN_Append(self, *args)
4831
4832 def Insert(self, *args) -> "void":
4833 r"""
4834 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, VECTOR2I aP)
4835 Insert(SHAPE_LINE_CHAIN self, size_t aVertex, SHAPE_ARC const & aArc)
4836 """
4837 return _pcbnew.SHAPE_LINE_CHAIN_Insert(self, *args)
4838
4839 def Replace(self, *args) -> "void":
4840 r"""
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)
4843 """
4844 return _pcbnew.SHAPE_LINE_CHAIN_Replace(self, *args)
4845
4846 def Remove(self, *args) -> "void":
4847 r"""
4848 Remove(SHAPE_LINE_CHAIN self, int aStartIndex, int aEndIndex)
4849 Remove(SHAPE_LINE_CHAIN self, int aIndex)
4850 """
4851 return _pcbnew.SHAPE_LINE_CHAIN_Remove(self, *args)
4852
4853 def RemoveShape(self, aPointIndex: "int") -> "void":
4854 r"""RemoveShape(SHAPE_LINE_CHAIN self, int aPointIndex)"""
4855 return _pcbnew.SHAPE_LINE_CHAIN_RemoveShape(self, aPointIndex)
4856
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)
4860
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)
4864
4865 def FindSegment(self, aP: "VECTOR2I", aThreshold: "int"=1) -> "int":
4866 r"""FindSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aThreshold=1) -> int"""
4867 return _pcbnew.SHAPE_LINE_CHAIN_FindSegment(self, aP, aThreshold)
4868
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)
4872
4873 def Intersects(self, aChain: "SHAPE_LINE_CHAIN") -> "bool":
4874 r"""Intersects(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aChain) -> bool"""
4875 return _pcbnew.SHAPE_LINE_CHAIN_Intersects(self, aChain)
4876
4877 def Intersect(self, *args) -> "int":
4878 r"""
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
4881 """
4882 return _pcbnew.SHAPE_LINE_CHAIN_Intersect(self, *args)
4883
4884 def PathLength(self, aP: "VECTOR2I", aIndex: "int"=-1) -> "int":
4885 r"""PathLength(SHAPE_LINE_CHAIN self, VECTOR2I aP, int aIndex=-1) -> int"""
4886 return _pcbnew.SHAPE_LINE_CHAIN_PathLength(self, aP, aIndex)
4887
4888 def CheckClearance(self, aP: "VECTOR2I", aDist: "int const") -> "bool":
4889 r"""CheckClearance(SHAPE_LINE_CHAIN self, VECTOR2I aP, int const aDist) -> bool"""
4890 return _pcbnew.SHAPE_LINE_CHAIN_CheckClearance(self, aP, aDist)
4891
4892 def SelfIntersecting(self) -> "OPT< SHAPE_LINE_CHAIN::INTERSECTION > const":
4893 r"""SelfIntersecting(SHAPE_LINE_CHAIN self) -> OPT< SHAPE_LINE_CHAIN::INTERSECTION > const"""
4894 return _pcbnew.SHAPE_LINE_CHAIN_SelfIntersecting(self)
4895
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)
4899
4900 def NearestSegment(self, aP: "VECTOR2I") -> "int":
4901 r"""NearestSegment(SHAPE_LINE_CHAIN self, VECTOR2I aP) -> int"""
4902 return _pcbnew.SHAPE_LINE_CHAIN_NearestSegment(self, aP)
4903
4904 def NearestPoint(self, *args) -> "VECTOR2I const":
4905 r"""
4906 NearestPoint(SHAPE_LINE_CHAIN self, VECTOR2I aP, bool aAllowInternalShapePoints=True) -> VECTOR2I
4907 NearestPoint(SHAPE_LINE_CHAIN self, SEG const & aSeg, int & dist) -> VECTOR2I
4908 """
4909 return _pcbnew.SHAPE_LINE_CHAIN_NearestPoint(self, *args)
4910
4911 def Format(self) -> "std::string const":
4912 r"""Format(SHAPE_LINE_CHAIN self) -> string"""
4913 return _pcbnew.SHAPE_LINE_CHAIN_Format(self)
4914
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)
4918
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)
4922
4923 def CompareGeometry(self, aOther: "SHAPE_LINE_CHAIN") -> "bool":
4924 r"""CompareGeometry(SHAPE_LINE_CHAIN self, SHAPE_LINE_CHAIN aOther) -> bool"""
4925 return _pcbnew.SHAPE_LINE_CHAIN_CompareGeometry(self, aOther)
4926
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)
4930
4931 def Mirror(self, *args) -> "void":
4932 r"""
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)
4935 """
4936 return _pcbnew.SHAPE_LINE_CHAIN_Mirror(self, *args)
4937
4938 def Rotate(self, *args) -> "void":
4939 r"""Rotate(SHAPE_LINE_CHAIN self, double aAngle, VECTOR2I aCenter=VECTOR2I( 0, 0 ))"""
4940 return _pcbnew.SHAPE_LINE_CHAIN_Rotate(self, *args)
4941
4942 def IsSolid(self) -> "bool":
4943 r"""IsSolid(SHAPE_LINE_CHAIN self) -> bool"""
4944 return _pcbnew.SHAPE_LINE_CHAIN_IsSolid(self)
4945
4946 def PointAlong(self, aPathLength: "int") -> "VECTOR2I const":
4947 r"""PointAlong(SHAPE_LINE_CHAIN self, int aPathLength) -> VECTOR2I"""
4948 return _pcbnew.SHAPE_LINE_CHAIN_PointAlong(self, aPathLength)
4949
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)
4953
4954 def ArcCount(self) -> "size_t":
4955 r"""ArcCount(SHAPE_LINE_CHAIN self) -> size_t"""
4956 return _pcbnew.SHAPE_LINE_CHAIN_ArcCount(self)
4957
4958 def ArcIndex(self, aSegment: "size_t") -> "ssize_t":
4959 r"""ArcIndex(SHAPE_LINE_CHAIN self, size_t aSegment) -> ssize_t"""
4960 return _pcbnew.SHAPE_LINE_CHAIN_ArcIndex(self, aSegment)
4961
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)
4965
4966 def IsSharedPt(self, aIndex: "size_t") -> "bool":
4967 r"""IsSharedPt(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
4968 return _pcbnew.SHAPE_LINE_CHAIN_IsSharedPt(self, aIndex)
4969
4970 def IsPtOnArc(self, aPtIndex: "size_t") -> "bool":
4971 r"""IsPtOnArc(SHAPE_LINE_CHAIN self, size_t aPtIndex) -> bool"""
4972 return _pcbnew.SHAPE_LINE_CHAIN_IsPtOnArc(self, aPtIndex)
4973
4974 def IsArcSegment(self, aSegment: "size_t") -> "bool":
4975 r"""IsArcSegment(SHAPE_LINE_CHAIN self, size_t aSegment) -> bool"""
4976 return _pcbnew.SHAPE_LINE_CHAIN_IsArcSegment(self, aSegment)
4977
4978 def IsArcStart(self, aIndex: "size_t") -> "bool":
4979 r"""IsArcStart(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
4980 return _pcbnew.SHAPE_LINE_CHAIN_IsArcStart(self, aIndex)
4981
4982 def IsArcEnd(self, aIndex: "size_t") -> "bool":
4983 r"""IsArcEnd(SHAPE_LINE_CHAIN self, size_t aIndex) -> bool"""
4984 return _pcbnew.SHAPE_LINE_CHAIN_IsArcEnd(self, aIndex)
4985
4986 def GetPoint(self, aIndex: "int") -> "VECTOR2I const":
4987 r"""GetPoint(SHAPE_LINE_CHAIN self, int aIndex) -> VECTOR2I"""
4988 return _pcbnew.SHAPE_LINE_CHAIN_GetPoint(self, aIndex)
4989
4990 def GetSegment(self, aIndex: "int") -> "SEG const":
4991 r"""GetSegment(SHAPE_LINE_CHAIN self, int aIndex) -> SEG const"""
4992 return _pcbnew.SHAPE_LINE_CHAIN_GetSegment(self, aIndex)
4993
4994 def GetPointCount(self) -> "size_t":
4995 r"""GetPointCount(SHAPE_LINE_CHAIN self) -> size_t"""
4996 return _pcbnew.SHAPE_LINE_CHAIN_GetPointCount(self)
4997
4998 def GetSegmentCount(self) -> "size_t":
4999 r"""GetSegmentCount(SHAPE_LINE_CHAIN self) -> size_t"""
5000 return _pcbnew.SHAPE_LINE_CHAIN_GetSegmentCount(self)
5001
5002# Register SHAPE_LINE_CHAIN in _pcbnew:
5003_pcbnew.SHAPE_LINE_CHAIN_swigregister(SHAPE_LINE_CHAIN)
5004
5006 r"""Proxy of C++ SHAPE_POLY_SET class."""
5007
5008 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5009 __repr__ = _swig_repr
5010
5011 def __init__(self, *args):
5012 r"""
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
5017 """
5018 _pcbnew.SHAPE_POLY_SET_swiginit(self, _pcbnew.new_SHAPE_POLY_SET(*args))
5019 __swig_destroy__ = _pcbnew.delete_SHAPE_POLY_SET
5020
5021 def CacheTriangulation(self, aPartition: "bool"=True) -> "void":
5022 r"""CacheTriangulation(SHAPE_POLY_SET self, bool aPartition=True)"""
5023 return _pcbnew.SHAPE_POLY_SET_CacheTriangulation(self, aPartition)
5024
5025 def IsTriangulationUpToDate(self) -> "bool":
5026 r"""IsTriangulationUpToDate(SHAPE_POLY_SET self) -> bool"""
5027 return _pcbnew.SHAPE_POLY_SET_IsTriangulationUpToDate(self)
5028
5029 def GetHash(self) -> "MD5_HASH":
5030 r"""GetHash(SHAPE_POLY_SET self) -> MD5_HASH"""
5031 return _pcbnew.SHAPE_POLY_SET_GetHash(self)
5032
5033 def HasIndexableSubshapes(self) -> "bool":
5034 r"""HasIndexableSubshapes(SHAPE_POLY_SET self) -> bool"""
5035 return _pcbnew.SHAPE_POLY_SET_HasIndexableSubshapes(self)
5036
5037 def GetIndexableSubshapeCount(self) -> "size_t":
5038 r"""GetIndexableSubshapeCount(SHAPE_POLY_SET self) -> size_t"""
5039 return _pcbnew.SHAPE_POLY_SET_GetIndexableSubshapeCount(self)
5040
5041 def GetIndexableSubshapes(self, aSubshapes: "std::vector< SHAPE *,std::allocator< SHAPE * > > &") -> "void":
5042 r"""GetIndexableSubshapes(SHAPE_POLY_SET self, std::vector< SHAPE *,std::allocator< SHAPE * > > & aSubshapes)"""
5043 return _pcbnew.SHAPE_POLY_SET_GetIndexableSubshapes(self, aSubshapes)
5044
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)
5048
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)
5052
5053 def Clone(self) -> "SHAPE *":
5054 r"""Clone(SHAPE_POLY_SET self) -> SHAPE"""
5055 return _pcbnew.SHAPE_POLY_SET_Clone(self)
5056
5057 def NewOutline(self) -> "int":
5058 r"""NewOutline(SHAPE_POLY_SET self) -> int"""
5059 return _pcbnew.SHAPE_POLY_SET_NewOutline(self)
5060
5061 def NewHole(self, aOutline: "int"=-1) -> "int":
5062 r"""NewHole(SHAPE_POLY_SET self, int aOutline=-1) -> int"""
5063 return _pcbnew.SHAPE_POLY_SET_NewHole(self, aOutline)
5064
5065 def AddOutline(self, aOutline: "SHAPE_LINE_CHAIN") -> "int":
5066 r"""AddOutline(SHAPE_POLY_SET self, SHAPE_LINE_CHAIN aOutline) -> int"""
5067 return _pcbnew.SHAPE_POLY_SET_AddOutline(self, aOutline)
5068
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)
5072
5073 def Area(self) -> "double":
5074 r"""Area(SHAPE_POLY_SET self) -> double"""
5075 return _pcbnew.SHAPE_POLY_SET_Area(self)
5076
5077 def ArcCount(self) -> "int":
5078 r"""ArcCount(SHAPE_POLY_SET self) -> int"""
5079 return _pcbnew.SHAPE_POLY_SET_ArcCount(self)
5080
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)
5084
5085 def ClearArcs(self) -> "void":
5086 r"""ClearArcs(SHAPE_POLY_SET self)"""
5087 return _pcbnew.SHAPE_POLY_SET_ClearArcs(self)
5088
5089 def Append(self, *args) -> "int":
5090 r"""
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
5095 """
5096 return _pcbnew.SHAPE_POLY_SET_Append(self, *args)
5097
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)
5101
5102 def CVertex(self, *args) -> "VECTOR2I const &":
5103 r"""
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
5107 """
5108 return _pcbnew.SHAPE_POLY_SET_CVertex(self, *args)
5109
5110 def GetNeighbourIndexes(self, aGlobalIndex: "int", aPrevious: "int *", aNext: "int *") -> "bool":
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)
5113
5114 def IsPolygonSelfIntersecting(self, aPolygonIndex: "int") -> "bool":
5115 r"""IsPolygonSelfIntersecting(SHAPE_POLY_SET self, int aPolygonIndex) -> bool"""
5116 return _pcbnew.SHAPE_POLY_SET_IsPolygonSelfIntersecting(self, aPolygonIndex)
5117
5118 def IsSelfIntersecting(self) -> "bool":
5119 r"""IsSelfIntersecting(SHAPE_POLY_SET self) -> bool"""
5120 return _pcbnew.SHAPE_POLY_SET_IsSelfIntersecting(self)
5121
5122 def TriangulatedPolyCount(self) -> "unsigned int":
5123 r"""TriangulatedPolyCount(SHAPE_POLY_SET self) -> unsigned int"""
5124 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolyCount(self)
5125
5126 def OutlineCount(self) -> "int":
5127 r"""OutlineCount(SHAPE_POLY_SET self) -> int"""
5128 return _pcbnew.SHAPE_POLY_SET_OutlineCount(self)
5129
5130 def VertexCount(self, aOutline: "int"=-1, aHole: "int"=-1) -> "int":
5131 r"""VertexCount(SHAPE_POLY_SET self, int aOutline=-1, int aHole=-1) -> int"""
5132 return _pcbnew.SHAPE_POLY_SET_VertexCount(self, aOutline, aHole)
5133
5134 def FullPointCount(self) -> "int":
5135 r"""FullPointCount(SHAPE_POLY_SET self) -> int"""
5136 return _pcbnew.SHAPE_POLY_SET_FullPointCount(self)
5137
5138 def HoleCount(self, aOutline: "int") -> "int":
5139 r"""HoleCount(SHAPE_POLY_SET self, int aOutline) -> int"""
5140 return _pcbnew.SHAPE_POLY_SET_HoleCount(self, aOutline)
5141
5142 def Outline(self, *args) -> "SHAPE_LINE_CHAIN const &":
5143 r"""
5144 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
5145 Outline(SHAPE_POLY_SET self, int aIndex) -> SHAPE_LINE_CHAIN
5146 """
5147 return _pcbnew.SHAPE_POLY_SET_Outline(self, *args)
5148
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)
5152
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)
5156
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)
5160
5161 def Polygon(self, *args) -> "SHAPE_POLY_SET::POLYGON const &":
5162 r"""
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 &
5165 """
5166 return _pcbnew.SHAPE_POLY_SET_Polygon(self, *args)
5167
5168 def TriangulatedPolygon(self, aIndex: "int") -> "SHAPE_POLY_SET::TRIANGULATED_POLYGON const *":
5169 r"""TriangulatedPolygon(SHAPE_POLY_SET self, int aIndex) -> SHAPE_POLY_SET::TRIANGULATED_POLYGON const *"""
5170 return _pcbnew.SHAPE_POLY_SET_TriangulatedPolygon(self, aIndex)
5171
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)
5175
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)
5179
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)
5183
5184 def Iterate(self, *args) -> "SHAPE_POLY_SET::ITERATOR":
5185 r"""
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
5189 """
5190 return _pcbnew.SHAPE_POLY_SET_Iterate(self, *args)
5191
5192 def IterateWithHoles(self, *args) -> "SHAPE_POLY_SET::ITERATOR":
5193 r"""
5194 IterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::ITERATOR
5195 IterateWithHoles(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::ITERATOR
5196 """
5197 return _pcbnew.SHAPE_POLY_SET_IterateWithHoles(self, *args)
5198
5199 def CIterate(self, *args) -> "SHAPE_POLY_SET::CONST_ITERATOR":
5200 r"""
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
5204 """
5205 return _pcbnew.SHAPE_POLY_SET_CIterate(self, *args)
5206
5207 def CIterateWithHoles(self, *args) -> "SHAPE_POLY_SET::CONST_ITERATOR":
5208 r"""
5209 CIterateWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_ITERATOR
5210 CIterateWithHoles(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_ITERATOR
5211 """
5212 return _pcbnew.SHAPE_POLY_SET_CIterateWithHoles(self, *args)
5213
5214 def IterateFromVertexWithHoles(self, aGlobalIdx: "int") -> "SHAPE_POLY_SET::ITERATOR":
5215 r"""IterateFromVertexWithHoles(SHAPE_POLY_SET self, int aGlobalIdx) -> SHAPE_POLY_SET::ITERATOR"""
5216 return _pcbnew.SHAPE_POLY_SET_IterateFromVertexWithHoles(self, aGlobalIdx)
5217
5218 def IterateSegments(self, *args) -> "SHAPE_POLY_SET::SEGMENT_ITERATOR":
5219 r"""
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
5223 """
5224 return _pcbnew.SHAPE_POLY_SET_IterateSegments(self, *args)
5225
5226 def CIterateSegments(self, *args) -> "SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR":
5227 r"""
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
5231 """
5232 return _pcbnew.SHAPE_POLY_SET_CIterateSegments(self, *args)
5233
5234 def IterateSegmentsWithHoles(self, *args) -> "SHAPE_POLY_SET::SEGMENT_ITERATOR":
5235 r"""
5236 IterateSegmentsWithHoles(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
5237 IterateSegmentsWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::SEGMENT_ITERATOR
5238 """
5239 return _pcbnew.SHAPE_POLY_SET_IterateSegmentsWithHoles(self, *args)
5240
5241 def CIterateSegmentsWithHoles(self, *args) -> "SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR":
5242 r"""
5243 CIterateSegmentsWithHoles(SHAPE_POLY_SET self) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
5244 CIterateSegmentsWithHoles(SHAPE_POLY_SET self, int aOutline) -> SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR
5245 """
5246 return _pcbnew.SHAPE_POLY_SET_CIterateSegmentsWithHoles(self, *args)
5247 PM_FAST = _pcbnew.SHAPE_POLY_SET_PM_FAST
5248
5249 PM_STRICTLY_SIMPLE = _pcbnew.SHAPE_POLY_SET_PM_STRICTLY_SIMPLE
5250
5251
5252 def BooleanAdd(self, *args) -> "void":
5253 r"""
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)
5256 """
5257 return _pcbnew.SHAPE_POLY_SET_BooleanAdd(self, *args)
5258
5259 def BooleanSubtract(self, *args) -> "void":
5260 r"""
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)
5263 """
5264 return _pcbnew.SHAPE_POLY_SET_BooleanSubtract(self, *args)
5265
5266 def BooleanIntersection(self, *args) -> "void":
5267 r"""
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)
5270 """
5271 return _pcbnew.SHAPE_POLY_SET_BooleanIntersection(self, *args)
5272 ALLOW_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_ALLOW_ACUTE_CORNERS
5273
5274 CHAMFER_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_CHAMFER_ACUTE_CORNERS
5275
5276 ROUND_ACUTE_CORNERS = _pcbnew.SHAPE_POLY_SET_ROUND_ACUTE_CORNERS
5277
5278 CHAMFER_ALL_CORNERS = _pcbnew.SHAPE_POLY_SET_CHAMFER_ALL_CORNERS
5279
5280 ROUND_ALL_CORNERS = _pcbnew.SHAPE_POLY_SET_ROUND_ALL_CORNERS
5281
5282
5283 def Inflate(self, *args) -> "void":
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)
5286
5287 def Deflate(self, *args) -> "void":
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)
5290
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)
5294
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)
5298
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)
5302
5303 def HasHoles(self) -> "bool":
5304 r"""HasHoles(SHAPE_POLY_SET self) -> bool"""
5305 return _pcbnew.SHAPE_POLY_SET_HasHoles(self)
5306
5307 def HasTouchingHoles(self) -> "bool":
5308 r"""HasTouchingHoles(SHAPE_POLY_SET self) -> bool"""
5309 return _pcbnew.SHAPE_POLY_SET_HasTouchingHoles(self)
5310
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)
5314
5315 def NormalizeAreaOutlines(self) -> "int":
5316 r"""NormalizeAreaOutlines(SHAPE_POLY_SET self) -> int"""
5317 return _pcbnew.SHAPE_POLY_SET_NormalizeAreaOutlines(self)
5318
5319 def Format(self) -> "std::string const":
5320 r"""Format(SHAPE_POLY_SET self) -> string"""
5321 return _pcbnew.SHAPE_POLY_SET_Format(self)
5322
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)
5326
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)
5330
5331 def Mirror(self, *args) -> "void":
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)
5334
5335 def Rotate(self, *args) -> "void":
5336 r"""Rotate(SHAPE_POLY_SET self, double aAngle, VECTOR2I aCenter={ 0, 0 })"""
5337 return _pcbnew.SHAPE_POLY_SET_Rotate(self, *args)
5338
5339 def IsSolid(self) -> "bool":
5340 r"""IsSolid(SHAPE_POLY_SET self) -> bool"""
5341 return _pcbnew.SHAPE_POLY_SET_IsSolid(self)
5342
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)
5346
5347 def PointOnEdge(self, aP: "VECTOR2I") -> "bool":
5348 r"""PointOnEdge(SHAPE_POLY_SET self, VECTOR2I aP) -> bool"""
5349 return _pcbnew.SHAPE_POLY_SET_PointOnEdge(self, aP)
5350
5351 def Collide(self, *args) -> "bool":
5352 r"""
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
5356 """
5357 return _pcbnew.SHAPE_POLY_SET_Collide(self, *args)
5358
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)
5362
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)
5366
5367 def BuildBBoxCaches(self) -> "void":
5368 r"""BuildBBoxCaches(SHAPE_POLY_SET self)"""
5369 return _pcbnew.SHAPE_POLY_SET_BuildBBoxCaches(self)
5370
5371 def BBoxFromCaches(self) -> "BOX2I const":
5372 r"""BBoxFromCaches(SHAPE_POLY_SET self) -> BOX2I const"""
5373 return _pcbnew.SHAPE_POLY_SET_BBoxFromCaches(self)
5374
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)
5378
5379 def IsEmpty(self) -> "bool":
5380 r"""IsEmpty(SHAPE_POLY_SET self) -> bool"""
5381 return _pcbnew.SHAPE_POLY_SET_IsEmpty(self)
5382
5383 def RemoveVertex(self, *args) -> "void":
5384 r"""
5385 RemoveVertex(SHAPE_POLY_SET self, int aGlobalIndex)
5386 RemoveVertex(SHAPE_POLY_SET self, SHAPE_POLY_SET::VERTEX_INDEX aRelativeIndices)
5387 """
5388 return _pcbnew.SHAPE_POLY_SET_RemoveVertex(self, *args)
5389
5390 def RemoveAllContours(self) -> "void":
5391 r"""RemoveAllContours(SHAPE_POLY_SET self)"""
5392 return _pcbnew.SHAPE_POLY_SET_RemoveAllContours(self)
5393
5394 def RemoveContour(self, aContourIdx: "int", aPolygonIdx: "int"=-1) -> "void":
5395 r"""RemoveContour(SHAPE_POLY_SET self, int aContourIdx, int aPolygonIdx=-1)"""
5396 return _pcbnew.SHAPE_POLY_SET_RemoveContour(self, aContourIdx, aPolygonIdx)
5397
5398 def RemoveNullSegments(self) -> "int":
5399 r"""RemoveNullSegments(SHAPE_POLY_SET self) -> int"""
5400 return _pcbnew.SHAPE_POLY_SET_RemoveNullSegments(self)
5401
5402 def SetVertex(self, *args) -> "void":
5403 r"""
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)
5406 """
5407 return _pcbnew.SHAPE_POLY_SET_SetVertex(self, *args)
5408
5409 def TotalVertices(self) -> "int":
5410 r"""TotalVertices(SHAPE_POLY_SET self) -> int"""
5411 return _pcbnew.SHAPE_POLY_SET_TotalVertices(self)
5412
5413 def DeletePolygon(self, aIdx: "int") -> "void":
5414 r"""DeletePolygon(SHAPE_POLY_SET self, int aIdx)"""
5415 return _pcbnew.SHAPE_POLY_SET_DeletePolygon(self, aIdx)
5416
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)
5420
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)
5424
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)
5428
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)
5432
5433 def SquaredDistanceToPolygon(self, *args) -> "SEG::ecoord":
5434 r"""
5435 SquaredDistanceToPolygon(SHAPE_POLY_SET self, VECTOR2I aPoint, int aIndex, VECTOR2I aNearest) -> SEG::ecoord
5436 SquaredDistanceToPolygon(SHAPE_POLY_SET self, SEG const & aSegment, int aIndex, VECTOR2I aNearest) -> SEG::ecoord
5437 """
5438 return _pcbnew.SHAPE_POLY_SET_SquaredDistanceToPolygon(self, *args)
5439
5440 def SquaredDistance(self, *args) -> "SEG::ecoord":
5441 r"""
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
5444 """
5445 return _pcbnew.SHAPE_POLY_SET_SquaredDistance(self, *args)
5446
5447 def IsVertexInHole(self, aGlobalIdx: "int") -> "bool":
5448 r"""IsVertexInHole(SHAPE_POLY_SET self, int aGlobalIdx) -> bool"""
5449 return _pcbnew.SHAPE_POLY_SET_IsVertexInHole(self, aGlobalIdx)
5450
5451 @staticmethod
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)
5455
5456# Register SHAPE_POLY_SET in _pcbnew:
5457_pcbnew.SHAPE_POLY_SET_swigregister(SHAPE_POLY_SET)
5458
5459def SHAPE_POLY_SET_BuildPolysetFromOrientedPaths(aPaths: "std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const &", aReverseOrientation: "bool"=False, aEvenOdd: "bool"=False) -> "SHAPE_POLY_SET const":
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)
5462
5463
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."""
5469
5470 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5471 __repr__ = _swig_repr
5472
5473 def __init__(self, *args):
5474 r"""
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
5479 __init__(UTF8 self) -> UTF8
5480 """
5481 _pcbnew.UTF8_swiginit(self, _pcbnew.new_UTF8(*args))
5482 __swig_destroy__ = _pcbnew.delete_UTF8
5483
5484 def c_str(self) -> "char const *":
5485 r"""c_str(UTF8 self) -> char const *"""
5486 return _pcbnew.UTF8_c_str(self)
5487
5488 def empty(self) -> "bool":
5489 r"""empty(UTF8 self) -> bool"""
5490 return _pcbnew.UTF8_empty(self)
5491
5492 def find(self, *args) -> "std::string::size_type":
5493 r"""
5494 find(UTF8 self, char c) -> std::string::size_type
5495 find(UTF8 self, char c, size_t s) -> std::string::size_type
5496 """
5497 return _pcbnew.UTF8_find(self, *args)
5498
5499 def clear(self) -> "void":
5500 r"""clear(UTF8 self)"""
5501 return _pcbnew.UTF8_clear(self)
5502
5503 def length(self) -> "std::string::size_type":
5504 r"""length(UTF8 self) -> std::string::size_type"""
5505 return _pcbnew.UTF8_length(self)
5506
5507 def size(self) -> "std::string::size_type":
5508 r"""size(UTF8 self) -> std::string::size_type"""
5509 return _pcbnew.UTF8_size(self)
5510
5511 def compare(self, s: "string") -> "int":
5512 r"""compare(UTF8 self, string s) -> int"""
5513 return _pcbnew.UTF8_compare(self, s)
5514
5515 def __eq__(self, *args) -> "bool":
5516 r"""
5517 __eq__(UTF8 self, UTF8 rhs) -> bool
5518 __eq__(UTF8 self, string rhs) -> bool
5519 __eq__(UTF8 self, char const * s) -> bool
5520 """
5521 return _pcbnew.UTF8___eq__(self, *args)
5522
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)
5526
5527 def __iadd__(self, *args) -> "UTF8 &":
5528 r"""
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
5533 """
5534 return _pcbnew.UTF8___iadd__(self, *args)
5535 npos = _pcbnew.UTF8_npos
5536
5537
5538 def substr(self, *args) -> "std::string":
5539 r"""substr(UTF8 self, size_t pos=0, size_t len=npos) -> string"""
5540 return _pcbnew.UTF8_substr(self, *args)
5541
5542 def utf8_to_string(self) -> "std::string const &":
5543 r"""utf8_to_string(UTF8 self) -> string"""
5544 return _pcbnew.UTF8_utf8_to_string(self)
5545
5546 def wx_str(self) -> "wxString":
5547 r"""wx_str(UTF8 self) -> wxString"""
5548 return _pcbnew.UTF8_wx_str(self)
5549
5550 def utf8_to_wxstring(self) -> "wxString":
5551 r"""utf8_to_wxstring(UTF8 self) -> wxString"""
5552 return _pcbnew.UTF8_utf8_to_wxstring(self)
5553
5554 def begin(self) -> "std::string::const_iterator":
5555 r"""begin(UTF8 self) -> std::string::const_iterator"""
5556 return _pcbnew.UTF8_begin(self)
5557
5558 def end(self) -> "std::string::const_iterator":
5559 r"""end(UTF8 self) -> std::string::const_iterator"""
5560 return _pcbnew.UTF8_end(self)
5561
5562 def Cast_to_CChar(self) -> "char const *":
5563 r"""Cast_to_CChar(UTF8 self) -> char const *"""
5564 return _pcbnew.UTF8_Cast_to_CChar(self)
5565
5566
5567 # Get the char buffer of the UTF8 string
5568 def GetChars(self):
5569 return self.Cast_to_CChar()
5570
5571 # Convert the UTF8 string to a python string
5572 # Same as GetChars(), but more easy to use in print command
5573 def __str__(self):
5574 return self.GetChars()
5575
5576
5577
5578# Register UTF8 in _pcbnew:
5579_pcbnew.UTF8_swigregister(UTF8)
5580
5581
5582def Mils2iu(mils: "int") -> "int":
5583 r"""Mils2iu(int mils) -> int"""
5584 return _pcbnew.Mils2iu(mils)
5585
5586def Iu2Mils(iu: "int") -> "double":
5587 r"""Iu2Mils(int iu) -> double"""
5588 return _pcbnew.Iu2Mils(iu)
5589
5590def Millimeter2iu(mm: "double") -> "int":
5591 r"""Millimeter2iu(double mm) -> int"""
5592 return _pcbnew.Millimeter2iu(mm)
5593
5594def Iu2Millimeter(iu: "int") -> "double":
5595 r"""Iu2Millimeter(int iu) -> double"""
5596 return _pcbnew.Iu2Millimeter(iu)
5598 r"""Proxy of C++ LIB_ID class."""
5599
5600 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5601 __repr__ = _swig_repr
5602
5603 def __init__(self, *args):
5604 r"""
5605 __init__(LIB_ID self) -> LIB_ID
5606 __init__(LIB_ID self, wxString aLibraryName, wxString aItemName) -> LIB_ID
5607 """
5608 _pcbnew.LIB_ID_swiginit(self, _pcbnew.new_LIB_ID(*args))
5609
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)
5613
5614 def GetLibNickname(self) -> "UTF8 const &":
5615 r"""GetLibNickname(LIB_ID self) -> UTF8"""
5616 return _pcbnew.LIB_ID_GetLibNickname(self)
5617
5618 def SetLibNickname(self, aNickname: "UTF8") -> "int":
5619 r"""SetLibNickname(LIB_ID self, UTF8 aNickname) -> int"""
5620 return _pcbnew.LIB_ID_SetLibNickname(self, aNickname)
5621
5622 def GetLibItemName(self) -> "UTF8 const &":
5623 r"""GetLibItemName(LIB_ID self) -> UTF8"""
5624 return _pcbnew.LIB_ID_GetLibItemName(self)
5625
5626 def GetUniStringLibItemName(self) -> "wxString const":
5627 r"""GetUniStringLibItemName(LIB_ID self) -> wxString"""
5628 return _pcbnew.LIB_ID_GetUniStringLibItemName(self)
5629
5630 def SetLibItemName(self, aLibItemName: "UTF8") -> "int":
5631 r"""SetLibItemName(LIB_ID self, UTF8 aLibItemName) -> int"""
5632 return _pcbnew.LIB_ID_SetLibItemName(self, aLibItemName)
5633
5634 def GetUniStringLibId(self) -> "wxString":
5635 r"""GetUniStringLibId(LIB_ID self) -> wxString"""
5636 return _pcbnew.LIB_ID_GetUniStringLibId(self)
5637
5638 @staticmethod
5639 def Format(*args) -> "UTF8":
5640 r"""
5641 Format() -> UTF8
5642 Format(UTF8 aLibraryName, UTF8 aLibItemName) -> UTF8
5643 """
5644 return _pcbnew.LIB_ID_Format(*args)
5645
5646 def IsValid(self) -> "bool":
5647 r"""IsValid(LIB_ID self) -> bool"""
5648 return _pcbnew.LIB_ID_IsValid(self)
5649
5650 def IsLegacy(self) -> "bool":
5651 r"""IsLegacy(LIB_ID self) -> bool"""
5652 return _pcbnew.LIB_ID_IsLegacy(self)
5653
5654 def clear(self) -> "void":
5655 r"""clear(LIB_ID self)"""
5656 return _pcbnew.LIB_ID_clear(self)
5657
5658 def empty(self) -> "bool":
5659 r"""empty(LIB_ID self) -> bool"""
5660 return _pcbnew.LIB_ID_empty(self)
5661
5662 def compare(self, aLibId: "LIB_ID") -> "int":
5663 r"""compare(LIB_ID self, LIB_ID aLibId) -> int"""
5664 return _pcbnew.LIB_ID_compare(self, aLibId)
5665
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)
5669
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)
5673
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)
5677
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)
5681
5682 @staticmethod
5683 def HasIllegalChars(aLibItemName: "UTF8") -> "int":
5684 r"""HasIllegalChars(UTF8 aLibItemName) -> int"""
5685 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
5686
5687 @staticmethod
5688 def FixIllegalChars(aLibItemName: "UTF8", aLib: "bool") -> "UTF8":
5689 r"""FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
5690 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
5691
5692 @staticmethod
5693 def FindIllegalLibraryNameChar(aLibraryName: "UTF8") -> "unsigned int":
5694 r"""FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
5695 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
5696 __swig_destroy__ = _pcbnew.delete_LIB_ID
5697
5698# Register LIB_ID in _pcbnew:
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
5709
5710def LIB_ID_Format(*args) -> "UTF8":
5711 r"""
5712 LIB_ID_Format() -> UTF8
5713 LIB_ID_Format(UTF8 aLibraryName, UTF8 aLibItemName) -> UTF8
5714 """
5715 return _pcbnew.LIB_ID_Format(*args)
5716
5717def LIB_ID_HasIllegalChars(aLibItemName: "UTF8") -> "int":
5718 r"""LIB_ID_HasIllegalChars(UTF8 aLibItemName) -> int"""
5719 return _pcbnew.LIB_ID_HasIllegalChars(aLibItemName)
5720
5721def LIB_ID_FixIllegalChars(aLibItemName: "UTF8", aLib: "bool") -> "UTF8":
5722 r"""LIB_ID_FixIllegalChars(UTF8 aLibItemName, bool aLib) -> UTF8"""
5723 return _pcbnew.LIB_ID_FixIllegalChars(aLibItemName, aLib)
5724
5725def LIB_ID_FindIllegalLibraryNameChar(aLibraryName: "UTF8") -> "unsigned int":
5726 r"""LIB_ID_FindIllegalLibraryNameChar(UTF8 aLibraryName) -> unsigned int"""
5727 return _pcbnew.LIB_ID_FindIllegalLibraryNameChar(aLibraryName)
5728
5730 r"""Proxy of C++ BASE_SET class."""
5731
5732 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5733
5734 def __init__(self, *args, **kwargs):
5735 raise AttributeError("No constructor defined")
5736 __repr__ = _swig_repr
5737 __swig_destroy__ = _pcbnew.delete_BASE_SET
5738
5739# Register BASE_SET in _pcbnew:
5740_pcbnew.BASE_SET_swigregister(BASE_SET)
5741
5743 r"""Proxy of C++ IO_MGR class."""
5744
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
5748
5749 KICAD_SEXP = _pcbnew.IO_MGR_KICAD_SEXP
5750
5751 EAGLE = _pcbnew.IO_MGR_EAGLE
5752
5753 PCAD = _pcbnew.IO_MGR_PCAD
5754
5755 FABMASTER = _pcbnew.IO_MGR_FABMASTER
5756
5757 ALTIUM_DESIGNER = _pcbnew.IO_MGR_ALTIUM_DESIGNER
5758
5759 ALTIUM_CIRCUIT_STUDIO = _pcbnew.IO_MGR_ALTIUM_CIRCUIT_STUDIO
5760
5761 ALTIUM_CIRCUIT_MAKER = _pcbnew.IO_MGR_ALTIUM_CIRCUIT_MAKER
5762
5763 CADSTAR_PCB_ARCHIVE = _pcbnew.IO_MGR_CADSTAR_PCB_ARCHIVE
5764
5765 GEDA_PCB = _pcbnew.IO_MGR_GEDA_PCB
5766
5767 FILE_TYPE_NONE = _pcbnew.IO_MGR_FILE_TYPE_NONE
5768
5769
5770 @staticmethod
5771 def PluginFind(aFileType: "IO_MGR::PCB_FILE_T") -> "PLUGIN *":
5772 r"""PluginFind(IO_MGR::PCB_FILE_T aFileType) -> PLUGIN"""
5773 return _pcbnew.IO_MGR_PluginFind(aFileType)
5774
5775 @staticmethod
5776 def PluginRelease(aPlugin: "PLUGIN") -> "void":
5777 r"""PluginRelease(PLUGIN aPlugin)"""
5778 return _pcbnew.IO_MGR_PluginRelease(aPlugin)
5779
5780 @staticmethod
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)
5784
5785 @staticmethod
5786 def EnumFromStr(aFileType: "wxString") -> "IO_MGR::PCB_FILE_T":
5787 r"""EnumFromStr(wxString aFileType) -> IO_MGR::PCB_FILE_T"""
5788 return _pcbnew.IO_MGR_EnumFromStr(aFileType)
5789
5790 @staticmethod
5791 def GetFileExtension(aFileType: "IO_MGR::PCB_FILE_T") -> "wxString const":
5792 r"""GetFileExtension(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
5793 return _pcbnew.IO_MGR_GetFileExtension(aFileType)
5794
5795 @staticmethod
5796 def GuessPluginTypeFromLibPath(aLibPath: "wxString") -> "IO_MGR::PCB_FILE_T":
5797 r"""GuessPluginTypeFromLibPath(wxString aLibPath) -> IO_MGR::PCB_FILE_T"""
5798 return _pcbnew.IO_MGR_GuessPluginTypeFromLibPath(aLibPath)
5799
5800 @staticmethod
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)
5804
5805 @staticmethod
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)
5809
5810 def __init__(self):
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
5814
5815# Register IO_MGR in _pcbnew:
5816_pcbnew.IO_MGR_swigregister(IO_MGR)
5817
5818def IO_MGR_PluginFind(aFileType: "IO_MGR::PCB_FILE_T") -> "PLUGIN *":
5819 r"""IO_MGR_PluginFind(IO_MGR::PCB_FILE_T aFileType) -> PLUGIN"""
5820 return _pcbnew.IO_MGR_PluginFind(aFileType)
5821
5822def IO_MGR_PluginRelease(aPlugin: "PLUGIN") -> "void":
5823 r"""IO_MGR_PluginRelease(PLUGIN aPlugin)"""
5824 return _pcbnew.IO_MGR_PluginRelease(aPlugin)
5825
5826def IO_MGR_ShowType(aFileType: "IO_MGR::PCB_FILE_T") -> "wxString const":
5827 r"""IO_MGR_ShowType(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
5828 return _pcbnew.IO_MGR_ShowType(aFileType)
5829
5830def IO_MGR_EnumFromStr(aFileType: "wxString") -> "IO_MGR::PCB_FILE_T":
5831 r"""IO_MGR_EnumFromStr(wxString aFileType) -> IO_MGR::PCB_FILE_T"""
5832 return _pcbnew.IO_MGR_EnumFromStr(aFileType)
5833
5834def IO_MGR_GetFileExtension(aFileType: "IO_MGR::PCB_FILE_T") -> "wxString const":
5835 r"""IO_MGR_GetFileExtension(IO_MGR::PCB_FILE_T aFileType) -> wxString"""
5836 return _pcbnew.IO_MGR_GetFileExtension(aFileType)
5837
5838def IO_MGR_GuessPluginTypeFromLibPath(aLibPath: "wxString") -> "IO_MGR::PCB_FILE_T":
5839 r"""IO_MGR_GuessPluginTypeFromLibPath(wxString aLibPath) -> IO_MGR::PCB_FILE_T"""
5840 return _pcbnew.IO_MGR_GuessPluginTypeFromLibPath(aLibPath)
5841
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)
5845
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)
5849
5851 r"""Proxy of C++ PLUGIN class."""
5852
5853 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5854
5855 def __init__(self, *args, **kwargs):
5856 raise AttributeError("No constructor defined - class is abstract")
5857 __repr__ = _swig_repr
5858
5859 def PluginName(self) -> "wxString const":
5860 r"""PluginName(PLUGIN self) -> wxString"""
5861 return _pcbnew.PLUGIN_PluginName(self)
5862
5863 def GetFileExtension(self) -> "wxString const":
5864 r"""GetFileExtension(PLUGIN self) -> wxString"""
5865 return _pcbnew.PLUGIN_GetFileExtension(self)
5866
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)
5870
5871 def GetImportedCachedLibraryFootprints(self) -> "std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >":
5872 r"""GetImportedCachedLibraryFootprints(PLUGIN self) -> std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >"""
5873 return _pcbnew.PLUGIN_GetImportedCachedLibraryFootprints(self)
5874
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)
5878
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)
5882
5883 def GetLibraryTimestamp(self, aLibraryPath: "wxString") -> "long long":
5884 r"""GetLibraryTimestamp(PLUGIN self, wxString aLibraryPath) -> long long"""
5885 return _pcbnew.PLUGIN_GetLibraryTimestamp(self, aLibraryPath)
5886
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)
5890
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)
5894
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)
5898
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)
5902
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)
5906
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)
5910
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)
5914
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)
5918
5919 def IsFootprintLibWritable(self, aLibraryPath: "wxString") -> "bool":
5920 r"""IsFootprintLibWritable(PLUGIN self, wxString aLibraryPath) -> bool"""
5921 return _pcbnew.PLUGIN_IsFootprintLibWritable(self, aLibraryPath)
5922
5923 def FootprintLibOptions(self, aListToAppendTo: "PROPERTIES *") -> "void":
5924 r"""FootprintLibOptions(PLUGIN self, PROPERTIES * aListToAppendTo)"""
5925 return _pcbnew.PLUGIN_FootprintLibOptions(self, aListToAppendTo)
5926 __swig_destroy__ = _pcbnew.delete_PLUGIN
5927
5928 def footprintPyEnumerate(self, aLibraryPath: "wxString", aExitOnError: "bool") -> "wxArrayString":
5929 r"""footprintPyEnumerate(PLUGIN self, wxString aLibraryPath, bool aExitOnError) -> wxArrayString"""
5930 return _pcbnew.PLUGIN_footprintPyEnumerate(self, aLibraryPath, aExitOnError)
5931
5932 def FootprintEnumerate(self, libname):
5933 return self.footprintPyEnumerate( libname, True )
5934
5935
5936# Register PLUGIN in _pcbnew:
5937_pcbnew.PLUGIN_swigregister(PLUGIN)
5938
5939SEXPR_BOARD_FILE_VERSION = _pcbnew.SEXPR_BOARD_FILE_VERSION
5940
5941BOARD_FILE_HOST_VERSION = _pcbnew.BOARD_FILE_HOST_VERSION
5942
5943LEGACY_ARC_FORMATTING = _pcbnew.LEGACY_ARC_FORMATTING
5944
5945CTL_OMIT_PAD_NETS = _pcbnew.CTL_OMIT_PAD_NETS
5946
5947CTL_OMIT_TSTAMPS = _pcbnew.CTL_OMIT_TSTAMPS
5948
5949CTL_OMIT_INITIAL_COMMENTS = _pcbnew.CTL_OMIT_INITIAL_COMMENTS
5950
5951CTL_OMIT_PATH = _pcbnew.CTL_OMIT_PATH
5952
5953CTL_OMIT_AT = _pcbnew.CTL_OMIT_AT
5954
5955CTL_OMIT_LIBNAME = _pcbnew.CTL_OMIT_LIBNAME
5956
5957CTL_OMIT_FOOTPRINT_VERSION = _pcbnew.CTL_OMIT_FOOTPRINT_VERSION
5958
5959CTL_FOR_CLIPBOARD = _pcbnew.CTL_FOR_CLIPBOARD
5960
5961CTL_FOR_LIBRARY = _pcbnew.CTL_FOR_LIBRARY
5962
5963CTL_FOR_BOARD = _pcbnew.CTL_FOR_BOARD
5964
5966 r"""Proxy of C++ PCB_PLUGIN class."""
5967
5968 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
5969 __repr__ = _swig_repr
5970
5971 def PluginName(self) -> "wxString const":
5972 r"""PluginName(PCB_PLUGIN self) -> wxString"""
5973 return _pcbnew.PCB_PLUGIN_PluginName(self)
5974
5975 def GetFileExtension(self) -> "wxString const":
5976 r"""GetFileExtension(PCB_PLUGIN self) -> wxString"""
5977 return _pcbnew.PCB_PLUGIN_GetFileExtension(self)
5978
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)
5982
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)
5986
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)
5990
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)
5994
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)
5998
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)
6002
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)
6006
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)
6010
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)
6014
6015 def GetLibraryTimestamp(self, aLibraryPath: "wxString") -> "long long":
6016 r"""GetLibraryTimestamp(PCB_PLUGIN self, wxString aLibraryPath) -> long long"""
6017 return _pcbnew.PCB_PLUGIN_GetLibraryTimestamp(self, aLibraryPath)
6018
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)
6022
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)
6026
6027 def IsFootprintLibWritable(self, aLibraryPath: "wxString") -> "bool":
6028 r"""IsFootprintLibWritable(PCB_PLUGIN self, wxString aLibraryPath) -> bool"""
6029 return _pcbnew.PCB_PLUGIN_IsFootprintLibWritable(self, aLibraryPath)
6030
6031 def __init__(self, *args):
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
6035
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)
6039
6040 def GetStringOutput(self, doClear: "bool") -> "std::string":
6041 r"""GetStringOutput(PCB_PLUGIN self, bool doClear) -> string"""
6042 return _pcbnew.PCB_PLUGIN_GetStringOutput(self, doClear)
6043
6044 def SetOutputFormatter(self, aFormatter: "OUTPUTFORMATTER") -> "void":
6045 r"""SetOutputFormatter(PCB_PLUGIN self, OUTPUTFORMATTER aFormatter)"""
6046 return _pcbnew.PCB_PLUGIN_SetOutputFormatter(self, aFormatter)
6047
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)
6051
6052# Register PCB_PLUGIN in _pcbnew:
6053_pcbnew.PCB_PLUGIN_swigregister(PCB_PLUGIN)
6054
6056 r"""Proxy of C++ PLOT_CONTROLLER class."""
6057
6058 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6059 __repr__ = _swig_repr
6060
6061 def __init__(self, aBoard: "BOARD"):
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
6065
6066 def GetPlotOptions(self) -> "PCB_PLOT_PARAMS &":
6067 r"""GetPlotOptions(PLOT_CONTROLLER self) -> PCB_PLOT_PARAMS"""
6068 return _pcbnew.PLOT_CONTROLLER_GetPlotOptions(self)
6069
6070 def SetLayer(self, aLayer: "LAYER_NUM") -> "void":
6071 r"""SetLayer(PLOT_CONTROLLER self, LAYER_NUM aLayer)"""
6072 return _pcbnew.PLOT_CONTROLLER_SetLayer(self, aLayer)
6073
6074 def GetLayer(self) -> "LAYER_NUM":
6075 r"""GetLayer(PLOT_CONTROLLER self) -> LAYER_NUM"""
6076 return _pcbnew.PLOT_CONTROLLER_GetLayer(self)
6077
6078 def IsPlotOpen(self) -> "bool":
6079 r"""IsPlotOpen(PLOT_CONTROLLER self) -> bool"""
6080 return _pcbnew.PLOT_CONTROLLER_IsPlotOpen(self)
6081
6082 def ClosePlot(self) -> "void":
6083 r"""ClosePlot(PLOT_CONTROLLER self)"""
6084 return _pcbnew.PLOT_CONTROLLER_ClosePlot(self)
6085
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)
6089
6090 def PlotLayer(self) -> "bool":
6091 r"""PlotLayer(PLOT_CONTROLLER self) -> bool"""
6092 return _pcbnew.PLOT_CONTROLLER_PlotLayer(self)
6093
6094 def GetPlotFileName(self) -> "wxString const":
6095 r"""GetPlotFileName(PLOT_CONTROLLER self) -> wxString"""
6096 return _pcbnew.PLOT_CONTROLLER_GetPlotFileName(self)
6097
6098 def GetPlotDirName(self) -> "wxString const":
6099 r"""GetPlotDirName(PLOT_CONTROLLER self) -> wxString"""
6100 return _pcbnew.PLOT_CONTROLLER_GetPlotDirName(self)
6101
6102 def SetColorMode(self, aColorMode: "bool") -> "void":
6103 r"""SetColorMode(PLOT_CONTROLLER self, bool aColorMode)"""
6104 return _pcbnew.PLOT_CONTROLLER_SetColorMode(self, aColorMode)
6105
6106 def GetColorMode(self) -> "bool":
6107 r"""GetColorMode(PLOT_CONTROLLER self) -> bool"""
6108 return _pcbnew.PLOT_CONTROLLER_GetColorMode(self)
6109
6110# Register PLOT_CONTROLLER in _pcbnew:
6111_pcbnew.PLOT_CONTROLLER_swigregister(PLOT_CONTROLLER)
6112
6114 r"""Proxy of C++ PCB_PLOT_PARAMS class."""
6115
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
6119
6120 SMALL_DRILL_SHAPE = _pcbnew.PCB_PLOT_PARAMS_SMALL_DRILL_SHAPE
6121
6122 FULL_DRILL_SHAPE = _pcbnew.PCB_PLOT_PARAMS_FULL_DRILL_SHAPE
6123
6124
6125 def __init__(self):
6126 r"""__init__(PCB_PLOT_PARAMS self) -> PCB_PLOT_PARAMS"""
6127 _pcbnew.PCB_PLOT_PARAMS_swiginit(self, _pcbnew.new_PCB_PLOT_PARAMS())
6128
6129 def SetSkipPlotNPTH_Pads(self, aSkip: "bool") -> "void":
6130 r"""SetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self, bool aSkip)"""
6131 return _pcbnew.PCB_PLOT_PARAMS_SetSkipPlotNPTH_Pads(self, aSkip)
6132
6133 def GetSkipPlotNPTH_Pads(self) -> "bool":
6134 r"""GetSkipPlotNPTH_Pads(PCB_PLOT_PARAMS self) -> bool"""
6135 return _pcbnew.PCB_PLOT_PARAMS_GetSkipPlotNPTH_Pads(self)
6136
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)
6140
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)
6144
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)
6148
6149 def SetColorSettings(self, aSettings: "COLOR_SETTINGS *") -> "void":
6150 r"""SetColorSettings(PCB_PLOT_PARAMS self, COLOR_SETTINGS * aSettings)"""
6151 return _pcbnew.PCB_PLOT_PARAMS_SetColorSettings(self, aSettings)
6152
6153 def ColorSettings(self) -> "COLOR_SETTINGS *":
6154 r"""ColorSettings(PCB_PLOT_PARAMS self) -> COLOR_SETTINGS *"""
6155 return _pcbnew.PCB_PLOT_PARAMS_ColorSettings(self)
6156
6157 def SetTextMode(self, aVal: "PLOT_TEXT_MODE") -> "void":
6158 r"""SetTextMode(PCB_PLOT_PARAMS self, PLOT_TEXT_MODE aVal)"""
6159 return _pcbnew.PCB_PLOT_PARAMS_SetTextMode(self, aVal)
6160
6161 def GetTextMode(self) -> "PLOT_TEXT_MODE":
6162 r"""GetTextMode(PCB_PLOT_PARAMS self) -> PLOT_TEXT_MODE"""
6163 return _pcbnew.PCB_PLOT_PARAMS_GetTextMode(self)
6164
6165 def SetPlotMode(self, aPlotMode: "OUTLINE_MODE") -> "void":
6166 r"""SetPlotMode(PCB_PLOT_PARAMS self, OUTLINE_MODE aPlotMode)"""
6167 return _pcbnew.PCB_PLOT_PARAMS_SetPlotMode(self, aPlotMode)
6168
6169 def GetPlotMode(self) -> "OUTLINE_MODE":
6170 r"""GetPlotMode(PCB_PLOT_PARAMS self) -> OUTLINE_MODE"""
6171 return _pcbnew.PCB_PLOT_PARAMS_GetPlotMode(self)
6172
6173 def SetDXFPlotPolygonMode(self, aFlag: "bool") -> "void":
6174 r"""SetDXFPlotPolygonMode(PCB_PLOT_PARAMS self, bool aFlag)"""
6175 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotPolygonMode(self, aFlag)
6176
6177 def GetDXFPlotPolygonMode(self) -> "bool":
6178 r"""GetDXFPlotPolygonMode(PCB_PLOT_PARAMS self) -> bool"""
6179 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotPolygonMode(self)
6180
6181 def SetDXFPlotUnits(self, aUnit: "DXF_UNITS") -> "void":
6182 r"""SetDXFPlotUnits(PCB_PLOT_PARAMS self, DXF_UNITS aUnit)"""
6183 return _pcbnew.PCB_PLOT_PARAMS_SetDXFPlotUnits(self, aUnit)
6184
6185 def GetDXFPlotUnits(self) -> "DXF_UNITS":
6186 r"""GetDXFPlotUnits(PCB_PLOT_PARAMS self) -> DXF_UNITS"""
6187 return _pcbnew.PCB_PLOT_PARAMS_GetDXFPlotUnits(self)
6188
6189 def SetDrillMarksType(self, aVal: "PCB_PLOT_PARAMS::DrillMarksType") -> "void":
6190 r"""SetDrillMarksType(PCB_PLOT_PARAMS self, PCB_PLOT_PARAMS::DrillMarksType aVal)"""
6191 return _pcbnew.PCB_PLOT_PARAMS_SetDrillMarksType(self, aVal)
6192
6193 def GetDrillMarksType(self) -> "PCB_PLOT_PARAMS::DrillMarksType":
6194 r"""GetDrillMarksType(PCB_PLOT_PARAMS self) -> PCB_PLOT_PARAMS::DrillMarksType"""
6195 return _pcbnew.PCB_PLOT_PARAMS_GetDrillMarksType(self)
6196
6197 def SetScale(self, aVal: "double") -> "void":
6198 r"""SetScale(PCB_PLOT_PARAMS self, double aVal)"""
6199 return _pcbnew.PCB_PLOT_PARAMS_SetScale(self, aVal)
6200
6201 def GetScale(self) -> "double":
6202 r"""GetScale(PCB_PLOT_PARAMS self) -> double"""
6203 return _pcbnew.PCB_PLOT_PARAMS_GetScale(self)
6204
6205 def SetFineScaleAdjustX(self, aVal: "double") -> "void":
6206 r"""SetFineScaleAdjustX(PCB_PLOT_PARAMS self, double aVal)"""
6207 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustX(self, aVal)
6208
6209 def GetFineScaleAdjustX(self) -> "double":
6210 r"""GetFineScaleAdjustX(PCB_PLOT_PARAMS self) -> double"""
6211 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustX(self)
6212
6213 def SetFineScaleAdjustY(self, aVal: "double") -> "void":
6214 r"""SetFineScaleAdjustY(PCB_PLOT_PARAMS self, double aVal)"""
6215 return _pcbnew.PCB_PLOT_PARAMS_SetFineScaleAdjustY(self, aVal)
6216
6217 def GetFineScaleAdjustY(self) -> "double":
6218 r"""GetFineScaleAdjustY(PCB_PLOT_PARAMS self) -> double"""
6219 return _pcbnew.PCB_PLOT_PARAMS_GetFineScaleAdjustY(self)
6220
6221 def SetWidthAdjust(self, aVal: "int") -> "void":
6222 r"""SetWidthAdjust(PCB_PLOT_PARAMS self, int aVal)"""
6223 return _pcbnew.PCB_PLOT_PARAMS_SetWidthAdjust(self, aVal)
6224
6225 def GetWidthAdjust(self) -> "int":
6226 r"""GetWidthAdjust(PCB_PLOT_PARAMS self) -> int"""
6227 return _pcbnew.PCB_PLOT_PARAMS_GetWidthAdjust(self)
6228
6229 def SetAutoScale(self, aFlag: "bool") -> "void":
6230 r"""SetAutoScale(PCB_PLOT_PARAMS self, bool aFlag)"""
6231 return _pcbnew.PCB_PLOT_PARAMS_SetAutoScale(self, aFlag)
6232
6233 def GetAutoScale(self) -> "bool":
6234 r"""GetAutoScale(PCB_PLOT_PARAMS self) -> bool"""
6235 return _pcbnew.PCB_PLOT_PARAMS_GetAutoScale(self)
6236
6237 def SetMirror(self, aFlag: "bool") -> "void":
6238 r"""SetMirror(PCB_PLOT_PARAMS self, bool aFlag)"""
6239 return _pcbnew.PCB_PLOT_PARAMS_SetMirror(self, aFlag)
6240
6241 def GetMirror(self) -> "bool":
6242 r"""GetMirror(PCB_PLOT_PARAMS self) -> bool"""
6243 return _pcbnew.PCB_PLOT_PARAMS_GetMirror(self)
6244
6245 def SetSketchPadsOnFabLayers(self, aFlag: "bool") -> "void":
6246 r"""SetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self, bool aFlag)"""
6247 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadsOnFabLayers(self, aFlag)
6248
6249 def GetSketchPadsOnFabLayers(self) -> "bool":
6250 r"""GetSketchPadsOnFabLayers(PCB_PLOT_PARAMS self) -> bool"""
6251 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadsOnFabLayers(self)
6252
6253 def SetSketchPadLineWidth(self, aWidth: "int") -> "void":
6254 r"""SetSketchPadLineWidth(PCB_PLOT_PARAMS self, int aWidth)"""
6255 return _pcbnew.PCB_PLOT_PARAMS_SetSketchPadLineWidth(self, aWidth)
6256
6257 def GetSketchPadLineWidth(self) -> "int":
6258 r"""GetSketchPadLineWidth(PCB_PLOT_PARAMS self) -> int"""
6259 return _pcbnew.PCB_PLOT_PARAMS_GetSketchPadLineWidth(self)
6260
6261 def SetPlotInvisibleText(self, aFlag: "bool") -> "void":
6262 r"""SetPlotInvisibleText(PCB_PLOT_PARAMS self, bool aFlag)"""
6263 return _pcbnew.PCB_PLOT_PARAMS_SetPlotInvisibleText(self, aFlag)
6264
6265 def GetPlotInvisibleText(self) -> "bool":
6266 r"""GetPlotInvisibleText(PCB_PLOT_PARAMS self) -> bool"""
6267 return _pcbnew.PCB_PLOT_PARAMS_GetPlotInvisibleText(self)
6268
6269 def SetPlotValue(self, aFlag: "bool") -> "void":
6270 r"""SetPlotValue(PCB_PLOT_PARAMS self, bool aFlag)"""
6271 return _pcbnew.PCB_PLOT_PARAMS_SetPlotValue(self, aFlag)
6272
6273 def GetPlotValue(self) -> "bool":
6274 r"""GetPlotValue(PCB_PLOT_PARAMS self) -> bool"""
6275 return _pcbnew.PCB_PLOT_PARAMS_GetPlotValue(self)
6276
6277 def SetPlotReference(self, aFlag: "bool") -> "void":
6278 r"""SetPlotReference(PCB_PLOT_PARAMS self, bool aFlag)"""
6279 return _pcbnew.PCB_PLOT_PARAMS_SetPlotReference(self, aFlag)
6280
6281 def GetPlotReference(self) -> "bool":
6282 r"""GetPlotReference(PCB_PLOT_PARAMS self) -> bool"""
6283 return _pcbnew.PCB_PLOT_PARAMS_GetPlotReference(self)
6284
6285 def SetNegative(self, aFlag: "bool") -> "void":
6286 r"""SetNegative(PCB_PLOT_PARAMS self, bool aFlag)"""
6287 return _pcbnew.PCB_PLOT_PARAMS_SetNegative(self, aFlag)
6288
6289 def GetNegative(self) -> "bool":
6290 r"""GetNegative(PCB_PLOT_PARAMS self) -> bool"""
6291 return _pcbnew.PCB_PLOT_PARAMS_GetNegative(self)
6292
6293 def SetPlotViaOnMaskLayer(self, aFlag: "bool") -> "void":
6294 r"""SetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self, bool aFlag)"""
6295 return _pcbnew.PCB_PLOT_PARAMS_SetPlotViaOnMaskLayer(self, aFlag)
6296
6297 def GetPlotViaOnMaskLayer(self) -> "bool":
6298 r"""GetPlotViaOnMaskLayer(PCB_PLOT_PARAMS self) -> bool"""
6299 return _pcbnew.PCB_PLOT_PARAMS_GetPlotViaOnMaskLayer(self)
6300
6301 def SetPlotFrameRef(self, aFlag: "bool") -> "void":
6302 r"""SetPlotFrameRef(PCB_PLOT_PARAMS self, bool aFlag)"""
6303 return _pcbnew.PCB_PLOT_PARAMS_SetPlotFrameRef(self, aFlag)
6304
6305 def GetPlotFrameRef(self) -> "bool":
6306 r"""GetPlotFrameRef(PCB_PLOT_PARAMS self) -> bool"""
6307 return _pcbnew.PCB_PLOT_PARAMS_GetPlotFrameRef(self)
6308
6309 def SetExcludeEdgeLayer(self, aFlag: "bool") -> "void":
6310 r"""SetExcludeEdgeLayer(PCB_PLOT_PARAMS self, bool aFlag)"""
6311 return _pcbnew.PCB_PLOT_PARAMS_SetExcludeEdgeLayer(self, aFlag)
6312
6313 def GetExcludeEdgeLayer(self) -> "bool":
6314 r"""GetExcludeEdgeLayer(PCB_PLOT_PARAMS self) -> bool"""
6315 return _pcbnew.PCB_PLOT_PARAMS_GetExcludeEdgeLayer(self)
6316
6317 def SetFormat(self, aFormat: "PLOT_FORMAT") -> "void":
6318 r"""SetFormat(PCB_PLOT_PARAMS self, PLOT_FORMAT aFormat)"""
6319 return _pcbnew.PCB_PLOT_PARAMS_SetFormat(self, aFormat)
6320
6321 def GetFormat(self) -> "PLOT_FORMAT":
6322 r"""GetFormat(PCB_PLOT_PARAMS self) -> PLOT_FORMAT"""
6323 return _pcbnew.PCB_PLOT_PARAMS_GetFormat(self)
6324
6325 def SetOutputDirectory(self, aDir: "wxString") -> "void":
6326 r"""SetOutputDirectory(PCB_PLOT_PARAMS self, wxString aDir)"""
6327 return _pcbnew.PCB_PLOT_PARAMS_SetOutputDirectory(self, aDir)
6328
6329 def GetOutputDirectory(self) -> "wxString":
6330 r"""GetOutputDirectory(PCB_PLOT_PARAMS self) -> wxString"""
6331 return _pcbnew.PCB_PLOT_PARAMS_GetOutputDirectory(self)
6332
6333 def SetDisableGerberMacros(self, aDisable: "bool") -> "void":
6334 r"""SetDisableGerberMacros(PCB_PLOT_PARAMS self, bool aDisable)"""
6335 return _pcbnew.PCB_PLOT_PARAMS_SetDisableGerberMacros(self, aDisable)
6336
6337 def GetDisableGerberMacros(self) -> "bool":
6338 r"""GetDisableGerberMacros(PCB_PLOT_PARAMS self) -> bool"""
6339 return _pcbnew.PCB_PLOT_PARAMS_GetDisableGerberMacros(self)
6340
6341 def SetUseGerberX2format(self, aUse: "bool") -> "void":
6342 r"""SetUseGerberX2format(PCB_PLOT_PARAMS self, bool aUse)"""
6343 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberX2format(self, aUse)
6344
6345 def GetUseGerberX2format(self) -> "bool":
6346 r"""GetUseGerberX2format(PCB_PLOT_PARAMS self) -> bool"""
6347 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberX2format(self)
6348
6349 def SetIncludeGerberNetlistInfo(self, aUse: "bool") -> "void":
6350 r"""SetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self, bool aUse)"""
6351 return _pcbnew.PCB_PLOT_PARAMS_SetIncludeGerberNetlistInfo(self, aUse)
6352
6353 def GetIncludeGerberNetlistInfo(self) -> "bool":
6354 r"""GetIncludeGerberNetlistInfo(PCB_PLOT_PARAMS self) -> bool"""
6355 return _pcbnew.PCB_PLOT_PARAMS_GetIncludeGerberNetlistInfo(self)
6356
6357 def SetCreateGerberJobFile(self, aCreate: "bool") -> "void":
6358 r"""SetCreateGerberJobFile(PCB_PLOT_PARAMS self, bool aCreate)"""
6359 return _pcbnew.PCB_PLOT_PARAMS_SetCreateGerberJobFile(self, aCreate)
6360
6361 def GetCreateGerberJobFile(self) -> "bool":
6362 r"""GetCreateGerberJobFile(PCB_PLOT_PARAMS self) -> bool"""
6363 return _pcbnew.PCB_PLOT_PARAMS_GetCreateGerberJobFile(self)
6364
6365 def SetUseGerberProtelExtensions(self, aUse: "bool") -> "void":
6366 r"""SetUseGerberProtelExtensions(PCB_PLOT_PARAMS self, bool aUse)"""
6367 return _pcbnew.PCB_PLOT_PARAMS_SetUseGerberProtelExtensions(self, aUse)
6368
6369 def GetUseGerberProtelExtensions(self) -> "bool":
6370 r"""GetUseGerberProtelExtensions(PCB_PLOT_PARAMS self) -> bool"""
6371 return _pcbnew.PCB_PLOT_PARAMS_GetUseGerberProtelExtensions(self)
6372
6373 def SetGerberPrecision(self, aPrecision: "int") -> "void":
6374 r"""SetGerberPrecision(PCB_PLOT_PARAMS self, int aPrecision)"""
6375 return _pcbnew.PCB_PLOT_PARAMS_SetGerberPrecision(self, aPrecision)
6376
6377 def GetGerberPrecision(self) -> "int":
6378 r"""GetGerberPrecision(PCB_PLOT_PARAMS self) -> int"""
6379 return _pcbnew.PCB_PLOT_PARAMS_GetGerberPrecision(self)
6380
6381 def SetSvgPrecision(self, aPrecision: "unsigned int", aUseInch: "bool") -> "void":
6382 r"""SetSvgPrecision(PCB_PLOT_PARAMS self, unsigned int aPrecision, bool aUseInch)"""
6383 return _pcbnew.PCB_PLOT_PARAMS_SetSvgPrecision(self, aPrecision, aUseInch)
6384
6385 def GetSvgPrecision(self) -> "unsigned int":
6386 r"""GetSvgPrecision(PCB_PLOT_PARAMS self) -> unsigned int"""
6387 return _pcbnew.PCB_PLOT_PARAMS_GetSvgPrecision(self)
6388
6389 def GetSvgUseInch(self) -> "bool":
6390 r"""GetSvgUseInch(PCB_PLOT_PARAMS self) -> bool"""
6391 return _pcbnew.PCB_PLOT_PARAMS_GetSvgUseInch(self)
6392
6393 @staticmethod
6395 r"""GetGerberDefaultPrecision() -> int"""
6396 return _pcbnew.PCB_PLOT_PARAMS_GetGerberDefaultPrecision()
6397
6398 def SetSubtractMaskFromSilk(self, aSubtract: "bool") -> "void":
6399 r"""SetSubtractMaskFromSilk(PCB_PLOT_PARAMS self, bool aSubtract)"""
6400 return _pcbnew.PCB_PLOT_PARAMS_SetSubtractMaskFromSilk(self, aSubtract)
6401
6402 def GetSubtractMaskFromSilk(self) -> "bool":
6403 r"""GetSubtractMaskFromSilk(PCB_PLOT_PARAMS self) -> bool"""
6404 return _pcbnew.PCB_PLOT_PARAMS_GetSubtractMaskFromSilk(self)
6405
6406 def SetLayerSelection(self, aSelection: "LSET") -> "void":
6407 r"""SetLayerSelection(PCB_PLOT_PARAMS self, LSET aSelection)"""
6408 return _pcbnew.PCB_PLOT_PARAMS_SetLayerSelection(self, aSelection)
6409
6410 def GetLayerSelection(self) -> "LSET":
6411 r"""GetLayerSelection(PCB_PLOT_PARAMS self) -> LSET"""
6412 return _pcbnew.PCB_PLOT_PARAMS_GetLayerSelection(self)
6413
6414 def SetUseAuxOrigin(self, aAux: "bool") -> "void":
6415 r"""SetUseAuxOrigin(PCB_PLOT_PARAMS self, bool aAux)"""
6416 return _pcbnew.PCB_PLOT_PARAMS_SetUseAuxOrigin(self, aAux)
6417
6418 def GetUseAuxOrigin(self) -> "bool":
6419 r"""GetUseAuxOrigin(PCB_PLOT_PARAMS self) -> bool"""
6420 return _pcbnew.PCB_PLOT_PARAMS_GetUseAuxOrigin(self)
6421
6422 def SetScaleSelection(self, aSelection: "int") -> "void":
6423 r"""SetScaleSelection(PCB_PLOT_PARAMS self, int aSelection)"""
6424 return _pcbnew.PCB_PLOT_PARAMS_SetScaleSelection(self, aSelection)
6425
6426 def GetScaleSelection(self) -> "int":
6427 r"""GetScaleSelection(PCB_PLOT_PARAMS self) -> int"""
6428 return _pcbnew.PCB_PLOT_PARAMS_GetScaleSelection(self)
6429
6430 def SetA4Output(self, aForce: "int") -> "void":
6431 r"""SetA4Output(PCB_PLOT_PARAMS self, int aForce)"""
6432 return _pcbnew.PCB_PLOT_PARAMS_SetA4Output(self, aForce)
6433
6434 def GetA4Output(self) -> "bool":
6435 r"""GetA4Output(PCB_PLOT_PARAMS self) -> bool"""
6436 return _pcbnew.PCB_PLOT_PARAMS_GetA4Output(self)
6437
6438 def GetHPGLPenDiameter(self) -> "double":
6439 r"""GetHPGLPenDiameter(PCB_PLOT_PARAMS self) -> double"""
6440 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenDiameter(self)
6441
6442 def SetHPGLPenDiameter(self, aValue: "double") -> "bool":
6443 r"""SetHPGLPenDiameter(PCB_PLOT_PARAMS self, double aValue) -> bool"""
6444 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenDiameter(self, aValue)
6445
6446 def GetHPGLPenSpeed(self) -> "int":
6447 r"""GetHPGLPenSpeed(PCB_PLOT_PARAMS self) -> int"""
6448 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenSpeed(self)
6449
6450 def SetHPGLPenSpeed(self, aValue: "int") -> "bool":
6451 r"""SetHPGLPenSpeed(PCB_PLOT_PARAMS self, int aValue) -> bool"""
6452 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenSpeed(self, aValue)
6453
6454 def SetHPGLPenNum(self, aVal: "int") -> "void":
6455 r"""SetHPGLPenNum(PCB_PLOT_PARAMS self, int aVal)"""
6456 return _pcbnew.PCB_PLOT_PARAMS_SetHPGLPenNum(self, aVal)
6457
6458 def GetHPGLPenNum(self) -> "int":
6459 r"""GetHPGLPenNum(PCB_PLOT_PARAMS self) -> int"""
6460 return _pcbnew.PCB_PLOT_PARAMS_GetHPGLPenNum(self)
6461
6462 # add SetUseGerberAttributes() for compatibility with old python scripts
6463 # after renaming it to SetUseGerberX2format()
6464 def SetUseGerberAttributes( self, aUse ):
6465 return self.SetUseGerberX2format( aUse )
6466
6467 __swig_destroy__ = _pcbnew.delete_PCB_PLOT_PARAMS
6468
6469# Register PCB_PLOT_PARAMS in _pcbnew:
6470_pcbnew.PCB_PLOT_PARAMS_swigregister(PCB_PLOT_PARAMS)
6471
6473 r"""PCB_PLOT_PARAMS_GetGerberDefaultPrecision() -> int"""
6474 return _pcbnew.PCB_PLOT_PARAMS_GetGerberDefaultPrecision()
6475
6476DXF_UNITS_INCHES = _pcbnew.DXF_UNITS_INCHES
6477
6478DXF_UNITS_MILLIMETERS = _pcbnew.DXF_UNITS_MILLIMETERS
6479
6480PLOT_FORMAT_UNDEFINED = _pcbnew.PLOT_FORMAT_UNDEFINED
6481
6482PLOT_FORMAT_FIRST_FORMAT = _pcbnew.PLOT_FORMAT_FIRST_FORMAT
6483
6484PLOT_FORMAT_HPGL = _pcbnew.PLOT_FORMAT_HPGL
6485
6486PLOT_FORMAT_GERBER = _pcbnew.PLOT_FORMAT_GERBER
6487
6488PLOT_FORMAT_POST = _pcbnew.PLOT_FORMAT_POST
6489
6490PLOT_FORMAT_DXF = _pcbnew.PLOT_FORMAT_DXF
6491
6492PLOT_FORMAT_PDF = _pcbnew.PLOT_FORMAT_PDF
6493
6494PLOT_FORMAT_SVG = _pcbnew.PLOT_FORMAT_SVG
6495
6496PLOT_FORMAT_LAST_FORMAT = _pcbnew.PLOT_FORMAT_LAST_FORMAT
6497
6498PLOT_TEXT_MODE_STROKE = _pcbnew.PLOT_TEXT_MODE_STROKE
6499
6500PLOT_TEXT_MODE_NATIVE = _pcbnew.PLOT_TEXT_MODE_NATIVE
6501
6502PLOT_TEXT_MODE_PHANTOM = _pcbnew.PLOT_TEXT_MODE_PHANTOM
6503
6504PLOT_TEXT_MODE_DEFAULT = _pcbnew.PLOT_TEXT_MODE_DEFAULT
6505
6506PLOT_DASH_TYPE_DEFAULT = _pcbnew.PLOT_DASH_TYPE_DEFAULT
6507
6508PLOT_DASH_TYPE_SOLID = _pcbnew.PLOT_DASH_TYPE_SOLID
6509
6510PLOT_DASH_TYPE_FIRST_TYPE = _pcbnew.PLOT_DASH_TYPE_FIRST_TYPE
6511
6512PLOT_DASH_TYPE_DASH = _pcbnew.PLOT_DASH_TYPE_DASH
6513
6514PLOT_DASH_TYPE_DOT = _pcbnew.PLOT_DASH_TYPE_DOT
6515
6516PLOT_DASH_TYPE_DASHDOT = _pcbnew.PLOT_DASH_TYPE_DASHDOT
6517
6518PLOT_DASH_TYPE_LAST_TYPE = _pcbnew.PLOT_DASH_TYPE_LAST_TYPE
6519
6521 r"""Proxy of C++ PLOTTER class."""
6522
6523 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6524
6525 def __init__(self, *args, **kwargs):
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
6529
6530 USE_DEFAULT_LINE_WIDTH = _pcbnew.PLOTTER_USE_DEFAULT_LINE_WIDTH
6531
6532 __swig_destroy__ = _pcbnew.delete_PLOTTER
6533
6534 def GetPlotterType(self) -> "PLOT_FORMAT":
6535 r"""GetPlotterType(PLOTTER self) -> PLOT_FORMAT"""
6536 return _pcbnew.PLOTTER_GetPlotterType(self)
6537
6538 def StartPlot(self) -> "bool":
6539 r"""StartPlot(PLOTTER self) -> bool"""
6540 return _pcbnew.PLOTTER_StartPlot(self)
6541
6542 def EndPlot(self) -> "bool":
6543 r"""EndPlot(PLOTTER self) -> bool"""
6544 return _pcbnew.PLOTTER_EndPlot(self)
6545
6546 def SetNegative(self, aNegative: "bool") -> "void":
6547 r"""SetNegative(PLOTTER self, bool aNegative)"""
6548 return _pcbnew.PLOTTER_SetNegative(self, aNegative)
6549
6550 def SetColorMode(self, aColorMode: "bool") -> "void":
6551 r"""SetColorMode(PLOTTER self, bool aColorMode)"""
6552 return _pcbnew.PLOTTER_SetColorMode(self, aColorMode)
6553
6554 def GetColorMode(self) -> "bool":
6555 r"""GetColorMode(PLOTTER self) -> bool"""
6556 return _pcbnew.PLOTTER_GetColorMode(self)
6557
6558 def SetRenderSettings(self, aSettings: "RENDER_SETTINGS *") -> "void":
6559 r"""SetRenderSettings(PLOTTER self, RENDER_SETTINGS * aSettings)"""
6560 return _pcbnew.PLOTTER_SetRenderSettings(self, aSettings)
6561
6562 def RenderSettings(self) -> "RENDER_SETTINGS *":
6563 r"""RenderSettings(PLOTTER self) -> RENDER_SETTINGS *"""
6564 return _pcbnew.PLOTTER_RenderSettings(self)
6565
6566 def SetPageSettings(self, aPageSettings: "PAGE_INFO const &") -> "void":
6567 r"""SetPageSettings(PLOTTER self, PAGE_INFO const & aPageSettings)"""
6568 return _pcbnew.PLOTTER_SetPageSettings(self, aPageSettings)
6569
6570 def PageSettings(self) -> "PAGE_INFO &":
6571 r"""PageSettings(PLOTTER self) -> PAGE_INFO &"""
6572 return _pcbnew.PLOTTER_PageSettings(self)
6573
6574 def SetCurrentLineWidth(self, width: "int", aData: "void *"=None) -> "void":
6575 r"""SetCurrentLineWidth(PLOTTER self, int width, void * aData=None)"""
6576 return _pcbnew.PLOTTER_SetCurrentLineWidth(self, width, aData)
6577
6578 def GetCurrentLineWidth(self) -> "int":
6579 r"""GetCurrentLineWidth(PLOTTER self) -> int"""
6580 return _pcbnew.PLOTTER_GetCurrentLineWidth(self)
6581
6582 def SetColor(self, color: "COLOR4D") -> "void":
6583 r"""SetColor(PLOTTER self, COLOR4D color)"""
6584 return _pcbnew.PLOTTER_SetColor(self, color)
6585
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)
6589
6590 def SetCreator(self, aCreator: "wxString") -> "void":
6591 r"""SetCreator(PLOTTER self, wxString aCreator)"""
6592 return _pcbnew.PLOTTER_SetCreator(self, aCreator)
6593
6594 def SetTitle(self, aTitle: "wxString") -> "void":
6595 r"""SetTitle(PLOTTER self, wxString aTitle)"""
6596 return _pcbnew.PLOTTER_SetTitle(self, aTitle)
6597
6598 def AddLineToHeader(self, aExtraString: "wxString") -> "void":
6599 r"""AddLineToHeader(PLOTTER self, wxString aExtraString)"""
6600 return _pcbnew.PLOTTER_AddLineToHeader(self, aExtraString)
6601
6602 def ClearHeaderLinesList(self) -> "void":
6603 r"""ClearHeaderLinesList(PLOTTER self)"""
6604 return _pcbnew.PLOTTER_ClearHeaderLinesList(self)
6605
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)
6609
6610 def OpenFile(self, aFullFilename: "wxString") -> "bool":
6611 r"""OpenFile(PLOTTER self, wxString aFullFilename) -> bool"""
6612 return _pcbnew.PLOTTER_OpenFile(self, aFullFilename)
6613
6614 def GetIUsPerDecimil(self) -> "double":
6615 r"""GetIUsPerDecimil(PLOTTER self) -> double"""
6616 return _pcbnew.PLOTTER_GetIUsPerDecimil(self)
6617
6618 def GetPlotterArcLowDef(self) -> "int":
6619 r"""GetPlotterArcLowDef(PLOTTER self) -> int"""
6620 return _pcbnew.PLOTTER_GetPlotterArcLowDef(self)
6621
6622 def GetPlotterArcHighDef(self) -> "int":
6623 r"""GetPlotterArcHighDef(PLOTTER self) -> int"""
6624 return _pcbnew.PLOTTER_GetPlotterArcHighDef(self)
6625
6626 def Rect(self, *args) -> "void":
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)
6629
6630 def Circle(self, *args) -> "void":
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)
6633
6634 def Arc(self, *args) -> "void":
6635 r"""
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)
6638 """
6639 return _pcbnew.PLOTTER_Arc(self, *args)
6640
6641 def BezierCurve(self, *args) -> "void":
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)
6644
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)
6648
6649 def MoveTo(self, pos: "wxPoint") -> "void":
6650 r"""MoveTo(PLOTTER self, wxPoint pos)"""
6651 return _pcbnew.PLOTTER_MoveTo(self, pos)
6652
6653 def LineTo(self, pos: "wxPoint") -> "void":
6654 r"""LineTo(PLOTTER self, wxPoint pos)"""
6655 return _pcbnew.PLOTTER_LineTo(self, pos)
6656
6657 def FinishTo(self, pos: "wxPoint") -> "void":
6658 r"""FinishTo(PLOTTER self, wxPoint pos)"""
6659 return _pcbnew.PLOTTER_FinishTo(self, pos)
6660
6661 def PenFinish(self) -> "void":
6662 r"""PenFinish(PLOTTER self)"""
6663 return _pcbnew.PLOTTER_PenFinish(self)
6664
6665 def PlotPoly(self, *args) -> "void":
6666 r"""
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)
6669 """
6670 return _pcbnew.PLOTTER_PlotPoly(self, *args)
6671
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)
6675
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)
6679
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)
6683
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)
6687
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)
6691
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)
6695
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)
6699
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)
6703
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)
6707
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)
6711
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)
6715
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)
6719
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)
6723
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
6728
6729
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)
6733
6734 def SetLayerPolarity(self, aPositive: "bool") -> "void":
6735 r"""SetLayerPolarity(PLOTTER self, bool aPositive)"""
6736 return _pcbnew.PLOTTER_SetLayerPolarity(self, aPositive)
6737
6738 def SetTextMode(self, mode: "PLOT_TEXT_MODE") -> "void":
6739 r"""SetTextMode(PLOTTER self, PLOT_TEXT_MODE mode)"""
6740 return _pcbnew.PLOTTER_SetTextMode(self, mode)
6741
6742 def SetGerberCoordinatesFormat(self, aResolution: "int", aUseInches: "bool"=False) -> "void":
6743 r"""SetGerberCoordinatesFormat(PLOTTER self, int aResolution, bool aUseInches=False)"""
6744 return _pcbnew.PLOTTER_SetGerberCoordinatesFormat(self, aResolution, aUseInches)
6745
6746 def SetSvgCoordinatesFormat(self, aResolution: "unsigned int", aUseInches: "bool"=False) -> "void":
6747 r"""SetSvgCoordinatesFormat(PLOTTER self, unsigned int aResolution, bool aUseInches=False)"""
6748 return _pcbnew.PLOTTER_SetSvgCoordinatesFormat(self, aResolution, aUseInches)
6749
6750 def StartBlock(self, aData: "void *") -> "void":
6751 r"""StartBlock(PLOTTER self, void * aData)"""
6752 return _pcbnew.PLOTTER_StartBlock(self, aData)
6753
6754 def EndBlock(self, aData: "void *") -> "void":
6755 r"""EndBlock(PLOTTER self, void * aData)"""
6756 return _pcbnew.PLOTTER_EndBlock(self, aData)
6757
6758# Register PLOTTER in _pcbnew:
6759_pcbnew.PLOTTER_swigregister(PLOTTER)
6760
6761
6762def PlotDrawingSheet(*args) -> "void":
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)
6765
6766def GetDefaultPlotExtension(aFormat: "PLOT_FORMAT") -> "wxString":
6767 r"""GetDefaultPlotExtension(PLOT_FORMAT aFormat) -> wxString"""
6768 return _pcbnew.GetDefaultPlotExtension(aFormat)
6770 r"""Proxy of C++ D356_RECORD class."""
6771
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""")
6789
6790 def __init__(self):
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
6794
6795# Register D356_RECORD in _pcbnew:
6796_pcbnew.D356_RECORD_swigregister(D356_RECORD)
6797
6799 r"""Proxy of C++ IPC356D_WRITER class."""
6800
6801 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6802 __repr__ = _swig_repr
6803
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
6808
6809 def Write(self, aFilename: "wxString") -> "void":
6810 r"""Write(IPC356D_WRITER self, wxString aFilename)"""
6811 return _pcbnew.IPC356D_WRITER_Write(self, aFilename)
6812
6813# Register IPC356D_WRITER in _pcbnew:
6814_pcbnew.IPC356D_WRITER_swigregister(IPC356D_WRITER)
6815
6817 r"""Proxy of C++ PLACE_FILE_EXPORTER class."""
6818
6819 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6820 __repr__ = _swig_repr
6821
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))
6825
6826 def GenPositionData(self) -> "std::string":
6827 r"""GenPositionData(PLACE_FILE_EXPORTER self) -> string"""
6828 return _pcbnew.PLACE_FILE_EXPORTER_GenPositionData(self)
6829
6830 def GenReportData(self) -> "std::string":
6831 r"""GenReportData(PLACE_FILE_EXPORTER self) -> string"""
6832 return _pcbnew.PLACE_FILE_EXPORTER_GenReportData(self)
6833
6834 def GetFootprintCount(self) -> "int":
6835 r"""GetFootprintCount(PLACE_FILE_EXPORTER self) -> int"""
6836 return _pcbnew.PLACE_FILE_EXPORTER_GetFootprintCount(self)
6837
6838 @staticmethod
6839 def GetFrontSideName() -> "std::string":
6840 r"""GetFrontSideName() -> string"""
6841 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
6842
6843 @staticmethod
6844 def GetBackSideName() -> "std::string":
6845 r"""GetBackSideName() -> string"""
6846 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
6847 __swig_destroy__ = _pcbnew.delete_PLACE_FILE_EXPORTER
6848
6849# Register PLACE_FILE_EXPORTER in _pcbnew:
6850_pcbnew.PLACE_FILE_EXPORTER_swigregister(PLACE_FILE_EXPORTER)
6851
6853 r"""PLACE_FILE_EXPORTER_GetFrontSideName() -> string"""
6854 return _pcbnew.PLACE_FILE_EXPORTER_GetFrontSideName()
6855
6857 r"""PLACE_FILE_EXPORTER_GetBackSideName() -> string"""
6858 return _pcbnew.PLACE_FILE_EXPORTER_GetBackSideName()
6859
6861 r"""Proxy of C++ VRML_WRITER class."""
6862
6863 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6864 __repr__ = _swig_repr
6865
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)
6869
6870 def __init__(self):
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
6874
6875# Register VRML_WRITER in _pcbnew:
6876_pcbnew.VRML_WRITER_swigregister(VRML_WRITER)
6877
6878USE_ATTRIB_FOR_HOLES = _pcbnew.USE_ATTRIB_FOR_HOLES
6879
6880HOLE_ATTRIBUTE_HOLE_UNKNOWN = _pcbnew.HOLE_ATTRIBUTE_HOLE_UNKNOWN
6881
6882HOLE_ATTRIBUTE_HOLE_VIA_THROUGH = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_THROUGH
6883
6884HOLE_ATTRIBUTE_HOLE_VIA_BURIED = _pcbnew.HOLE_ATTRIBUTE_HOLE_VIA_BURIED
6885
6886HOLE_ATTRIBUTE_HOLE_PAD = _pcbnew.HOLE_ATTRIBUTE_HOLE_PAD
6887
6888HOLE_ATTRIBUTE_HOLE_MECHANICAL = _pcbnew.HOLE_ATTRIBUTE_HOLE_MECHANICAL
6889
6891 r"""Proxy of C++ DRILL_TOOL class."""
6892
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""")
6900
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
6905
6906# Register DRILL_TOOL in _pcbnew:
6907_pcbnew.DRILL_TOOL_swigregister(DRILL_TOOL)
6908
6910 r"""Proxy of C++ HOLE_INFO class."""
6911
6912 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6913 __repr__ = _swig_repr
6914
6915 def __init__(self):
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
6930
6931# Register HOLE_INFO in _pcbnew:
6932_pcbnew.HOLE_INFO_swigregister(HOLE_INFO)
6933
6935 r"""Proxy of C++ DRILL_PRECISION class."""
6936
6937 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6938 __repr__ = _swig_repr
6939
6940 def __init__(self, l: "int"=2, r: "int"=4):
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))
6943
6944 def GetPrecisionString(self) -> "wxString":
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
6950
6951# Register DRILL_PRECISION in _pcbnew:
6952_pcbnew.DRILL_PRECISION_swigregister(DRILL_PRECISION)
6953
6955 r"""Proxy of C++ GENDRILL_WRITER_BASE class."""
6956
6957 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
6958
6959 def __init__(self, *args, **kwargs):
6960 raise AttributeError("No constructor defined")
6961 __repr__ = _swig_repr
6962 DECIMAL_FORMAT = _pcbnew.GENDRILL_WRITER_BASE_DECIMAL_FORMAT
6963
6964 SUPPRESS_LEADING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_LEADING
6965
6966 SUPPRESS_TRAILING = _pcbnew.GENDRILL_WRITER_BASE_SUPPRESS_TRAILING
6967
6968 KEEP_ZEROS = _pcbnew.GENDRILL_WRITER_BASE_KEEP_ZEROS
6969
6970 PTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_PTH_FILE
6971
6972 NPTH_FILE = _pcbnew.GENDRILL_WRITER_BASE_NPTH_FILE
6973
6974 MIXED_FILE = _pcbnew.GENDRILL_WRITER_BASE_MIXED_FILE
6975
6976 __swig_destroy__ = _pcbnew.delete_GENDRILL_WRITER_BASE
6977
6978 def SetMergeOption(self, aMerge: "bool") -> "void":
6979 r"""SetMergeOption(GENDRILL_WRITER_BASE self, bool aMerge)"""
6980 return _pcbnew.GENDRILL_WRITER_BASE_SetMergeOption(self, aMerge)
6981
6982 def GetOffset(self) -> "wxPoint":
6983 r"""GetOffset(GENDRILL_WRITER_BASE self) -> wxPoint"""
6984 return _pcbnew.GENDRILL_WRITER_BASE_GetOffset(self)
6985
6986 def SetPageInfo(self, aPageInfo: "PAGE_INFO const *") -> "void":
6987 r"""SetPageInfo(GENDRILL_WRITER_BASE self, PAGE_INFO const * aPageInfo)"""
6988 return _pcbnew.GENDRILL_WRITER_BASE_SetPageInfo(self, aPageInfo)
6989
6990 def SetMapFileFormat(self, aMapFmt: "PLOT_FORMAT") -> "void":
6991 r"""SetMapFileFormat(GENDRILL_WRITER_BASE self, PLOT_FORMAT aMapFmt)"""
6992 return _pcbnew.GENDRILL_WRITER_BASE_SetMapFileFormat(self, aMapFmt)
6993
6994 def CreateMapFilesSet(self, aPlotDirectory: "wxString", aReporter: "REPORTER *"=None) -> "void":
6995 r"""CreateMapFilesSet(GENDRILL_WRITER_BASE self, wxString aPlotDirectory, REPORTER * aReporter=None)"""
6996 return _pcbnew.GENDRILL_WRITER_BASE_CreateMapFilesSet(self, aPlotDirectory, aReporter)
6997
6998 def GenDrillReportFile(self, aFullFileName: "wxString") -> "bool":
6999 r"""GenDrillReportFile(GENDRILL_WRITER_BASE self, wxString aFullFileName) -> bool"""
7000 return _pcbnew.GENDRILL_WRITER_BASE_GenDrillReportFile(self, aFullFileName)
7001
7002# Register GENDRILL_WRITER_BASE in _pcbnew:
7003_pcbnew.GENDRILL_WRITER_BASE_swigregister(GENDRILL_WRITER_BASE)
7004
7006 r"""Proxy of C++ EXCELLON_WRITER class."""
7007
7008 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7009 __repr__ = _swig_repr
7010
7011 def __init__(self, aPcb: "BOARD"):
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
7015
7016 def GetOffset(self) -> "wxPoint":
7017 r"""GetOffset(EXCELLON_WRITER self) -> wxPoint"""
7018 return _pcbnew.EXCELLON_WRITER_GetOffset(self)
7019
7020 def SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles: "bool") -> "void":
7021 r"""SetRouteModeForOvalHoles(EXCELLON_WRITER self, bool aUseRouteModeForOvalHoles)"""
7022 return _pcbnew.EXCELLON_WRITER_SetRouteModeForOvalHoles(self, aUseRouteModeForOvalHoles)
7023
7024 def SetFormat(self, *args) -> "void":
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)
7027
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)
7031
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)
7035
7036# Register EXCELLON_WRITER in _pcbnew:
7037_pcbnew.EXCELLON_WRITER_swigregister(EXCELLON_WRITER)
7038
7040 r"""Proxy of C++ GERBER_WRITER class."""
7041
7042 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7043 __repr__ = _swig_repr
7044
7045 def __init__(self, aPcb: "BOARD"):
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
7049
7050 def SetFormat(self, aRightDigits: "int"=6) -> "void":
7051 r"""SetFormat(GERBER_WRITER self, int aRightDigits=6)"""
7052 return _pcbnew.GERBER_WRITER_SetFormat(self, aRightDigits)
7053
7054 def SetOptions(self, aOffset: "wxPoint") -> "void":
7055 r"""SetOptions(GERBER_WRITER self, wxPoint aOffset)"""
7056 return _pcbnew.GERBER_WRITER_SetOptions(self, aOffset)
7057
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)
7061
7062# Register GERBER_WRITER in _pcbnew:
7063_pcbnew.GERBER_WRITER_swigregister(GERBER_WRITER)
7064
7065SIDE_NONE = _pcbnew.SIDE_NONE
7066
7067SIDE_TOP = _pcbnew.SIDE_TOP
7068
7069SIDE_BOTTOM = _pcbnew.SIDE_BOTTOM
7070
7071SIDE_BOTH = _pcbnew.SIDE_BOTH
7072
7074 r"""Proxy of C++ JOBFILE_PARAMS class."""
7075
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)>)>""")
7080
7081 def __init__(self):
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
7085
7086# Register JOBFILE_PARAMS in _pcbnew:
7087_pcbnew.JOBFILE_PARAMS_swigregister(JOBFILE_PARAMS)
7088
7090 r"""Proxy of C++ GERBER_JOBFILE_WRITER class."""
7091
7092 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7093 __repr__ = _swig_repr
7094
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
7099
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)
7103
7104 def CreateJobFile(self, aFullFilename: "wxString") -> "bool":
7105 r"""CreateJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
7106 return _pcbnew.GERBER_JOBFILE_WRITER_CreateJobFile(self, aFullFilename)
7107
7108 def WriteJSONJobFile(self, aFullFilename: "wxString") -> "bool":
7109 r"""WriteJSONJobFile(GERBER_JOBFILE_WRITER self, wxString aFullFilename) -> bool"""
7110 return _pcbnew.GERBER_JOBFILE_WRITER_WriteJSONJobFile(self, aFullFilename)
7111
7112# Register GERBER_JOBFILE_WRITER in _pcbnew:
7113_pcbnew.GERBER_JOBFILE_WRITER_swigregister(GERBER_JOBFILE_WRITER)
7114
7115ROOM_FOR_KICADMANAGER = _pcbnew.ROOM_FOR_KICADMANAGER
7116
7117ROOM_FOR_3D_VIEWER = _pcbnew.ROOM_FOR_3D_VIEWER
7118
7119ROOM_FOR_PANEL_PREV_MODEL = _pcbnew.ROOM_FOR_PANEL_PREV_MODEL
7120
7121DEFAULT_FILE_HISTORY_SIZE = _pcbnew.DEFAULT_FILE_HISTORY_SIZE
7122
7123MAX_FILE_HISTORY_SIZE = _pcbnew.MAX_FILE_HISTORY_SIZE
7124
7125ID_RUN_PCB = _pcbnew.ID_RUN_PCB
7126
7127ID_APPEND_PROJECT = _pcbnew.ID_APPEND_PROJECT
7128
7129ID_LOAD_FILE = _pcbnew.ID_LOAD_FILE
7130
7131ID_NEW_BOARD = _pcbnew.ID_NEW_BOARD
7132
7133ID_SAVE_BOARD = _pcbnew.ID_SAVE_BOARD
7134
7135ID_SAVE_BOARD_AS = _pcbnew.ID_SAVE_BOARD_AS
7136
7137ID_AUTO_SAVE_TIMER = _pcbnew.ID_AUTO_SAVE_TIMER
7138
7139ID_FILE = _pcbnew.ID_FILE
7140
7141ID_FILE1 = _pcbnew.ID_FILE1
7142
7143ID_FILEMAX = _pcbnew.ID_FILEMAX
7144
7145ID_FILE_LIST_EMPTY = _pcbnew.ID_FILE_LIST_EMPTY
7146
7147ID_FILE_LIST_CLEAR = _pcbnew.ID_FILE_LIST_CLEAR
7148
7149ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST = _pcbnew.ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST
7150
7151ID_PREFERENCES_CONFIGURE_PATHS = _pcbnew.ID_PREFERENCES_CONFIGURE_PATHS
7152
7153ID_EDIT_SYMBOL_LIBRARY_TABLE = _pcbnew.ID_EDIT_SYMBOL_LIBRARY_TABLE
7154
7155ID_EDIT_FOOTPRINT_LIBRARY_TABLE = _pcbnew.ID_EDIT_FOOTPRINT_LIBRARY_TABLE
7156
7157ID_GEN_PLOT = _pcbnew.ID_GEN_PLOT
7158
7159ID_GEN_PLOT_PS = _pcbnew.ID_GEN_PLOT_PS
7160
7161ID_GEN_PLOT_HPGL = _pcbnew.ID_GEN_PLOT_HPGL
7162
7163ID_GEN_PLOT_GERBER = _pcbnew.ID_GEN_PLOT_GERBER
7164
7165ID_GEN_PLOT_SVG = _pcbnew.ID_GEN_PLOT_SVG
7166
7167ID_GEN_PLOT_DXF = _pcbnew.ID_GEN_PLOT_DXF
7168
7169ID_GEN_PLOT_PDF = _pcbnew.ID_GEN_PLOT_PDF
7170
7171ID_GEN_EXPORT_FILE = _pcbnew.ID_GEN_EXPORT_FILE
7172
7173ID_GEN_IMPORT_FILE = _pcbnew.ID_GEN_IMPORT_FILE
7174
7175ID_H_TOOLBAR = _pcbnew.ID_H_TOOLBAR
7176
7177ID_V_TOOLBAR = _pcbnew.ID_V_TOOLBAR
7178
7179ID_OPT_TOOLBAR = _pcbnew.ID_OPT_TOOLBAR
7180
7181ID_AUX_TOOLBAR = _pcbnew.ID_AUX_TOOLBAR
7182
7183ID_EDIT_HOTKEY = _pcbnew.ID_EDIT_HOTKEY
7184
7185ID_NO_TOOL_SELECTED = _pcbnew.ID_NO_TOOL_SELECTED
7186
7187ID_LANGUAGE_CHOICE = _pcbnew.ID_LANGUAGE_CHOICE
7188
7189ID_LANGUAGE_DANISH = _pcbnew.ID_LANGUAGE_DANISH
7190
7191ID_LANGUAGE_DEFAULT = _pcbnew.ID_LANGUAGE_DEFAULT
7192
7193ID_LANGUAGE_ENGLISH = _pcbnew.ID_LANGUAGE_ENGLISH
7194
7195ID_LANGUAGE_FRENCH = _pcbnew.ID_LANGUAGE_FRENCH
7196
7197ID_LANGUAGE_FINNISH = _pcbnew.ID_LANGUAGE_FINNISH
7198
7199ID_LANGUAGE_SPANISH = _pcbnew.ID_LANGUAGE_SPANISH
7200
7201ID_LANGUAGE_SPANISH_MEXICAN = _pcbnew.ID_LANGUAGE_SPANISH_MEXICAN
7202
7203ID_LANGUAGE_GERMAN = _pcbnew.ID_LANGUAGE_GERMAN
7204
7205ID_LANGUAGE_GREEK = _pcbnew.ID_LANGUAGE_GREEK
7206
7207ID_LANGUAGE_NORWEGIAN = _pcbnew.ID_LANGUAGE_NORWEGIAN
7208
7209ID_LANGUAGE_RUSSIAN = _pcbnew.ID_LANGUAGE_RUSSIAN
7210
7211ID_LANGUAGE_PORTUGUESE = _pcbnew.ID_LANGUAGE_PORTUGUESE
7212
7213ID_LANGUAGE_PORTUGUESE_BRAZILIAN = _pcbnew.ID_LANGUAGE_PORTUGUESE_BRAZILIAN
7214
7215ID_LANGUAGE_TURKISH = _pcbnew.ID_LANGUAGE_TURKISH
7216
7217ID_LANGUAGE_INDONESIAN = _pcbnew.ID_LANGUAGE_INDONESIAN
7218
7219ID_LANGUAGE_ITALIAN = _pcbnew.ID_LANGUAGE_ITALIAN
7220
7221ID_LANGUAGE_SLOVENIAN = _pcbnew.ID_LANGUAGE_SLOVENIAN
7222
7223ID_LANGUAGE_SLOVAK = _pcbnew.ID_LANGUAGE_SLOVAK
7224
7225ID_LANGUAGE_HUNGARIAN = _pcbnew.ID_LANGUAGE_HUNGARIAN
7226
7227ID_LANGUAGE_POLISH = _pcbnew.ID_LANGUAGE_POLISH
7228
7229ID_LANGUAGE_CZECH = _pcbnew.ID_LANGUAGE_CZECH
7230
7231ID_LANGUAGE_KOREAN = _pcbnew.ID_LANGUAGE_KOREAN
7232
7233ID_LANGUAGE_CATALAN = _pcbnew.ID_LANGUAGE_CATALAN
7234
7235ID_LANGUAGE_CHINESE_SIMPLIFIED = _pcbnew.ID_LANGUAGE_CHINESE_SIMPLIFIED
7236
7237ID_LANGUAGE_CHINESE_TRADITIONAL = _pcbnew.ID_LANGUAGE_CHINESE_TRADITIONAL
7238
7239ID_LANGUAGE_DUTCH = _pcbnew.ID_LANGUAGE_DUTCH
7240
7241ID_LANGUAGE_JAPANESE = _pcbnew.ID_LANGUAGE_JAPANESE
7242
7243ID_LANGUAGE_BULGARIAN = _pcbnew.ID_LANGUAGE_BULGARIAN
7244
7245ID_LANGUAGE_LATVIAN = _pcbnew.ID_LANGUAGE_LATVIAN
7246
7247ID_LANGUAGE_LITHUANIAN = _pcbnew.ID_LANGUAGE_LITHUANIAN
7248
7249ID_LANGUAGE_VIETNAMESE = _pcbnew.ID_LANGUAGE_VIETNAMESE
7250
7251ID_LANGUAGE_SERBIAN = _pcbnew.ID_LANGUAGE_SERBIAN
7252
7253ID_LANGUAGE_THAI = _pcbnew.ID_LANGUAGE_THAI
7254
7255ID_LANGUAGE_SWEDISH = _pcbnew.ID_LANGUAGE_SWEDISH
7256
7257ID_LANGUAGE_CHOICE_END = _pcbnew.ID_LANGUAGE_CHOICE_END
7258
7259ID_ON_ZOOM_SELECT = _pcbnew.ID_ON_ZOOM_SELECT
7260
7261ID_POPUP_ZOOM_START_RANGE = _pcbnew.ID_POPUP_ZOOM_START_RANGE
7262
7263ID_POPUP_CANCEL = _pcbnew.ID_POPUP_CANCEL
7264
7265ID_POPUP_ZOOM_IN = _pcbnew.ID_POPUP_ZOOM_IN
7266
7267ID_POPUP_ZOOM_OUT = _pcbnew.ID_POPUP_ZOOM_OUT
7268
7269ID_POPUP_ZOOM_SELECT = _pcbnew.ID_POPUP_ZOOM_SELECT
7270
7271ID_POPUP_ZOOM_CENTER = _pcbnew.ID_POPUP_ZOOM_CENTER
7272
7273ID_POPUP_ZOOM_PAGE = _pcbnew.ID_POPUP_ZOOM_PAGE
7274
7275ID_POPUP_ZOOM_REDRAW = _pcbnew.ID_POPUP_ZOOM_REDRAW
7276
7277ID_POPUP_ZOOM_LEVEL_START = _pcbnew.ID_POPUP_ZOOM_LEVEL_START
7278
7279ID_POPUP_ZOOM_LEVEL_END = _pcbnew.ID_POPUP_ZOOM_LEVEL_END
7280
7281ID_POPUP_GRID_START = _pcbnew.ID_POPUP_GRID_START
7282
7283ID_POPUP_GRID_END = _pcbnew.ID_POPUP_GRID_END
7284
7285ID_ON_GRID_SELECT = _pcbnew.ID_ON_GRID_SELECT
7286
7287ID_GRID_SETTINGS = _pcbnew.ID_GRID_SETTINGS
7288
7289ID_ZOOM_BEGIN = _pcbnew.ID_ZOOM_BEGIN
7290
7291ID_VIEWER_ZOOM_IN = _pcbnew.ID_VIEWER_ZOOM_IN
7292
7293ID_VIEWER_ZOOM_OUT = _pcbnew.ID_VIEWER_ZOOM_OUT
7294
7295ID_VIEWER_ZOOM_PAGE = _pcbnew.ID_VIEWER_ZOOM_PAGE
7296
7297ID_VIEWER_ZOOM_REDRAW = _pcbnew.ID_VIEWER_ZOOM_REDRAW
7298
7299ID_OFFCENTER_ZOOM_IN = _pcbnew.ID_OFFCENTER_ZOOM_IN
7300
7301ID_OFFCENTER_ZOOM_OUT = _pcbnew.ID_OFFCENTER_ZOOM_OUT
7302
7303ID_ZOOM_END = _pcbnew.ID_ZOOM_END
7304
7305ID_EDA_SOCKET_EVENT_SERV = _pcbnew.ID_EDA_SOCKET_EVENT_SERV
7306
7307ID_EDA_SOCKET_EVENT = _pcbnew.ID_EDA_SOCKET_EVENT
7308
7309ID_KICAD_MANAGER_START = _pcbnew.ID_KICAD_MANAGER_START
7310
7311ID_KICAD_MANAGER_END = _pcbnew.ID_KICAD_MANAGER_END
7312
7313ID_KICAD_3D_VIEWER_START = _pcbnew.ID_KICAD_3D_VIEWER_START
7314
7315ID_KICAD_3D_VIEWER_END = _pcbnew.ID_KICAD_3D_VIEWER_END
7316
7317ID_KICAD_PANEL_PREV_MODEL_START = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_START
7318
7319ID_KICAD_PANEL_PREV_MODEL_END = _pcbnew.ID_KICAD_PANEL_PREV_MODEL_END
7320
7321ID_POPUP_MENU_START = _pcbnew.ID_POPUP_MENU_START
7322
7323ID_POPUP_MENU_END = _pcbnew.ID_POPUP_MENU_END
7324
7325ID_END_LIST = _pcbnew.ID_END_LIST
7326
7327
7328def GetBoard() -> "BOARD *":
7329 r"""GetBoard() -> BOARD"""
7330 return _pcbnew.GetBoard()
7331
7332def LoadBoard(*args) -> "BOARD *":
7333 r"""
7334 LoadBoard(wxString aFileName, IO_MGR::PCB_FILE_T aFormat) -> BOARD
7335 LoadBoard(wxString aFileName) -> BOARD
7336 """
7337 return _pcbnew.LoadBoard(*args)
7338
7339def NewBoard(aFileName: "wxString") -> "BOARD *":
7340 r"""NewBoard(wxString aFileName) -> BOARD"""
7341 return _pcbnew.NewBoard(aFileName)
7342
7343def GetSettingsManager() -> "SETTINGS_MANAGER *":
7344 r"""GetSettingsManager() -> SETTINGS_MANAGER"""
7345 return _pcbnew.GetSettingsManager()
7346
7347def CreateEmptyBoard() -> "BOARD *":
7348 r"""CreateEmptyBoard() -> BOARD"""
7349 return _pcbnew.CreateEmptyBoard()
7350
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)
7354
7355def GetFootprintLibraries() -> "wxArrayString":
7356 r"""GetFootprintLibraries() -> wxArrayString"""
7357 return _pcbnew.GetFootprintLibraries()
7358
7359def GetFootprints(aNickName: "wxString") -> "wxArrayString":
7360 r"""GetFootprints(wxString aNickName) -> wxArrayString"""
7361 return _pcbnew.GetFootprints(aNickName)
7362
7363def ExportSpecctraDSN(*args) -> "bool":
7364 r"""
7365 ExportSpecctraDSN(wxString aFullFilename) -> bool
7366 ExportSpecctraDSN(BOARD aBoard, wxString aFullFilename) -> bool
7367 """
7368 return _pcbnew.ExportSpecctraDSN(*args)
7369
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)
7373
7374def ImportSpecctraSES(aFullFilename: "wxString") -> "bool":
7375 r"""ImportSpecctraSES(wxString aFullFilename) -> bool"""
7376 return _pcbnew.ImportSpecctraSES(aFullFilename)
7377
7378def ExportFootprintsToLibrary(*args) -> "bool":
7379 r"""ExportFootprintsToLibrary(bool aStoreInNewLib, wxString aLibName=wxEmptyString, wxString aLibPath=None) -> bool"""
7380 return _pcbnew.ExportFootprintsToLibrary(*args)
7381
7382def Refresh() -> "void":
7383 r"""Refresh()"""
7384 return _pcbnew.Refresh()
7385
7386def UpdateUserInterface() -> "void":
7387 r"""UpdateUserInterface()"""
7388 return _pcbnew.UpdateUserInterface()
7389
7390def GetUserUnits() -> "int":
7391 r"""GetUserUnits() -> int"""
7392 return _pcbnew.GetUserUnits()
7393
7394def IsActionRunning() -> "bool":
7395 r"""IsActionRunning() -> bool"""
7396 return _pcbnew.IsActionRunning()
7397
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
7402
7403UNSELECTED_LAYER = _pcbnew.UNSELECTED_LAYER
7404
7405PCBNEW_LAYER_ID_START = _pcbnew.PCBNEW_LAYER_ID_START
7406
7407F_Cu = _pcbnew.F_Cu
7408
7409In1_Cu = _pcbnew.In1_Cu
7410
7411In2_Cu = _pcbnew.In2_Cu
7412
7413In3_Cu = _pcbnew.In3_Cu
7414
7415In4_Cu = _pcbnew.In4_Cu
7416
7417In5_Cu = _pcbnew.In5_Cu
7418
7419In6_Cu = _pcbnew.In6_Cu
7420
7421In7_Cu = _pcbnew.In7_Cu
7422
7423In8_Cu = _pcbnew.In8_Cu
7424
7425In9_Cu = _pcbnew.In9_Cu
7426
7427In10_Cu = _pcbnew.In10_Cu
7428
7429In11_Cu = _pcbnew.In11_Cu
7430
7431In12_Cu = _pcbnew.In12_Cu
7432
7433In13_Cu = _pcbnew.In13_Cu
7434
7435In14_Cu = _pcbnew.In14_Cu
7436
7437In15_Cu = _pcbnew.In15_Cu
7438
7439In16_Cu = _pcbnew.In16_Cu
7440
7441In17_Cu = _pcbnew.In17_Cu
7442
7443In18_Cu = _pcbnew.In18_Cu
7444
7445In19_Cu = _pcbnew.In19_Cu
7446
7447In20_Cu = _pcbnew.In20_Cu
7448
7449In21_Cu = _pcbnew.In21_Cu
7450
7451In22_Cu = _pcbnew.In22_Cu
7452
7453In23_Cu = _pcbnew.In23_Cu
7454
7455In24_Cu = _pcbnew.In24_Cu
7456
7457In25_Cu = _pcbnew.In25_Cu
7458
7459In26_Cu = _pcbnew.In26_Cu
7460
7461In27_Cu = _pcbnew.In27_Cu
7462
7463In28_Cu = _pcbnew.In28_Cu
7464
7465In29_Cu = _pcbnew.In29_Cu
7466
7467In30_Cu = _pcbnew.In30_Cu
7468
7469B_Cu = _pcbnew.B_Cu
7470
7471B_Adhes = _pcbnew.B_Adhes
7472
7473F_Adhes = _pcbnew.F_Adhes
7474
7475B_Paste = _pcbnew.B_Paste
7476
7477F_Paste = _pcbnew.F_Paste
7478
7479B_SilkS = _pcbnew.B_SilkS
7480
7481F_SilkS = _pcbnew.F_SilkS
7482
7483B_Mask = _pcbnew.B_Mask
7484
7485F_Mask = _pcbnew.F_Mask
7486
7487Dwgs_User = _pcbnew.Dwgs_User
7488
7489Cmts_User = _pcbnew.Cmts_User
7490
7491Eco1_User = _pcbnew.Eco1_User
7492
7493Eco2_User = _pcbnew.Eco2_User
7494
7495Edge_Cuts = _pcbnew.Edge_Cuts
7496
7497Margin = _pcbnew.Margin
7498
7499B_CrtYd = _pcbnew.B_CrtYd
7500
7501F_CrtYd = _pcbnew.F_CrtYd
7502
7503B_Fab = _pcbnew.B_Fab
7504
7505F_Fab = _pcbnew.F_Fab
7506
7507User_1 = _pcbnew.User_1
7508
7509User_2 = _pcbnew.User_2
7510
7511User_3 = _pcbnew.User_3
7512
7513User_4 = _pcbnew.User_4
7514
7515User_5 = _pcbnew.User_5
7516
7517User_6 = _pcbnew.User_6
7518
7519User_7 = _pcbnew.User_7
7520
7521User_8 = _pcbnew.User_8
7522
7523User_9 = _pcbnew.User_9
7524
7525Rescue = _pcbnew.Rescue
7526
7527PCB_LAYER_ID_COUNT = _pcbnew.PCB_LAYER_ID_COUNT
7528
7529FLASHING_DEFAULT = _pcbnew.FLASHING_DEFAULT
7530
7531FLASHING_ALWAYS_FLASHED = _pcbnew.FLASHING_ALWAYS_FLASHED
7532
7533FLASHING_NEVER_FLASHED = _pcbnew.FLASHING_NEVER_FLASHED
7534
7535NETNAMES_LAYER_ID_START = _pcbnew.NETNAMES_LAYER_ID_START
7536
7537NETNAMES_LAYER_ID_RESERVED = _pcbnew.NETNAMES_LAYER_ID_RESERVED
7538
7539LAYER_PAD_FR_NETNAMES = _pcbnew.LAYER_PAD_FR_NETNAMES
7540
7541LAYER_PAD_BK_NETNAMES = _pcbnew.LAYER_PAD_BK_NETNAMES
7542
7543LAYER_PAD_NETNAMES = _pcbnew.LAYER_PAD_NETNAMES
7544
7545LAYER_VIA_NETNAMES = _pcbnew.LAYER_VIA_NETNAMES
7546
7547NETNAMES_LAYER_ID_END = _pcbnew.NETNAMES_LAYER_ID_END
7548
7549GAL_LAYER_ID_START = _pcbnew.GAL_LAYER_ID_START
7550
7551LAYER_VIAS = _pcbnew.LAYER_VIAS
7552
7553LAYER_VIA_MICROVIA = _pcbnew.LAYER_VIA_MICROVIA
7554
7555LAYER_VIA_BBLIND = _pcbnew.LAYER_VIA_BBLIND
7556
7557LAYER_VIA_THROUGH = _pcbnew.LAYER_VIA_THROUGH
7558
7559LAYER_NON_PLATEDHOLES = _pcbnew.LAYER_NON_PLATEDHOLES
7560
7561LAYER_MOD_TEXT = _pcbnew.LAYER_MOD_TEXT
7562
7563LAYER_MOD_TEXT_INVISIBLE = _pcbnew.LAYER_MOD_TEXT_INVISIBLE
7564
7565LAYER_ANCHOR = _pcbnew.LAYER_ANCHOR
7566
7567LAYER_PAD_FR = _pcbnew.LAYER_PAD_FR
7568
7569LAYER_PAD_BK = _pcbnew.LAYER_PAD_BK
7570
7571LAYER_RATSNEST = _pcbnew.LAYER_RATSNEST
7572
7573LAYER_GRID = _pcbnew.LAYER_GRID
7574
7575LAYER_GRID_AXES = _pcbnew.LAYER_GRID_AXES
7576
7577LAYER_NO_CONNECTS = _pcbnew.LAYER_NO_CONNECTS
7578
7579LAYER_MOD_FR = _pcbnew.LAYER_MOD_FR
7580
7581LAYER_MOD_BK = _pcbnew.LAYER_MOD_BK
7582
7583LAYER_MOD_VALUES = _pcbnew.LAYER_MOD_VALUES
7584
7585LAYER_MOD_REFERENCES = _pcbnew.LAYER_MOD_REFERENCES
7586
7587LAYER_TRACKS = _pcbnew.LAYER_TRACKS
7588
7589LAYER_PADS_TH = _pcbnew.LAYER_PADS_TH
7590
7591LAYER_PAD_PLATEDHOLES = _pcbnew.LAYER_PAD_PLATEDHOLES
7592
7593LAYER_VIA_HOLES = _pcbnew.LAYER_VIA_HOLES
7594
7595LAYER_DRC_ERROR = _pcbnew.LAYER_DRC_ERROR
7596
7597LAYER_DRAWINGSHEET = _pcbnew.LAYER_DRAWINGSHEET
7598
7599LAYER_GP_OVERLAY = _pcbnew.LAYER_GP_OVERLAY
7600
7601LAYER_SELECT_OVERLAY = _pcbnew.LAYER_SELECT_OVERLAY
7602
7603LAYER_PCB_BACKGROUND = _pcbnew.LAYER_PCB_BACKGROUND
7604
7605LAYER_CURSOR = _pcbnew.LAYER_CURSOR
7606
7607LAYER_AUX_ITEMS = _pcbnew.LAYER_AUX_ITEMS
7608
7609LAYER_DRAW_BITMAPS = _pcbnew.LAYER_DRAW_BITMAPS
7610
7611GAL_LAYER_ID_BITMASK_END = _pcbnew.GAL_LAYER_ID_BITMASK_END
7612
7613LAYER_PADS = _pcbnew.LAYER_PADS
7614
7615LAYER_ZONES = _pcbnew.LAYER_ZONES
7616
7617LAYER_PAD_HOLEWALLS = _pcbnew.LAYER_PAD_HOLEWALLS
7618
7619LAYER_VIA_HOLEWALLS = _pcbnew.LAYER_VIA_HOLEWALLS
7620
7621LAYER_DRC_WARNING = _pcbnew.LAYER_DRC_WARNING
7622
7623LAYER_DRC_EXCLUSION = _pcbnew.LAYER_DRC_EXCLUSION
7624
7625LAYER_MARKER_SHADOWS = _pcbnew.LAYER_MARKER_SHADOWS
7626
7627LAYER_DRAWINGSHEET_PAGE1 = _pcbnew.LAYER_DRAWINGSHEET_PAGE1
7628
7629LAYER_DRAWINGSHEET_PAGEn = _pcbnew.LAYER_DRAWINGSHEET_PAGEn
7630
7631LAYER_ZONE_START = _pcbnew.LAYER_ZONE_START
7632
7633LAYER_ZONE_END = _pcbnew.LAYER_ZONE_END
7634
7635GAL_LAYER_ID_END = _pcbnew.GAL_LAYER_ID_END
7636
7637
7638def ToGalLayer(aInteger: "int") -> "GAL_LAYER_ID":
7639 r"""ToGalLayer(int aInteger) -> GAL_LAYER_ID"""
7640 return _pcbnew.ToGalLayer(aInteger)
7642 r"""Proxy of C++ GAL_SET class."""
7643
7644 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7645 __repr__ = _swig_repr
7646
7647 def __init__(self, *args):
7648 r"""
7649 __init__(GAL_SET self) -> GAL_SET
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
7652 """
7653 _pcbnew.GAL_SET_swiginit(self, _pcbnew.new_GAL_SET(*args))
7654
7655 def set(self, *args) -> "GAL_SET &":
7656 r"""
7657 set(GAL_SET self) -> GAL_SET
7658 set(GAL_SET self, GAL_LAYER_ID aPos, bool aVal=True) -> GAL_SET
7659 """
7660 return _pcbnew.GAL_SET_set(self, *args)
7661
7662 def Contains(self, aPos: "GAL_LAYER_ID") -> "bool":
7663 r"""Contains(GAL_SET self, GAL_LAYER_ID aPos) -> bool"""
7664 return _pcbnew.GAL_SET_Contains(self, aPos)
7665
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)
7669
7670 @staticmethod
7671 def DefaultVisible() -> "GAL_SET":
7672 r"""DefaultVisible() -> GAL_SET"""
7673 return _pcbnew.GAL_SET_DefaultVisible()
7674 __swig_destroy__ = _pcbnew.delete_GAL_SET
7675
7676# Register GAL_SET in _pcbnew:
7677_pcbnew.GAL_SET_swigregister(GAL_SET)
7678GAL_LAYER_ID_COUNT = cvar.GAL_LAYER_ID_COUNT
7679
7680def GAL_SET_DefaultVisible() -> "GAL_SET":
7681 r"""GAL_SET_DefaultVisible() -> GAL_SET"""
7682 return _pcbnew.GAL_SET_DefaultVisible()
7683
7684SCH_LAYER_ID_START = _pcbnew.SCH_LAYER_ID_START
7685
7686LAYER_WIRE = _pcbnew.LAYER_WIRE
7687
7688LAYER_BUS = _pcbnew.LAYER_BUS
7689
7690LAYER_JUNCTION = _pcbnew.LAYER_JUNCTION
7691
7692LAYER_LOCLABEL = _pcbnew.LAYER_LOCLABEL
7693
7694LAYER_GLOBLABEL = _pcbnew.LAYER_GLOBLABEL
7695
7696LAYER_HIERLABEL = _pcbnew.LAYER_HIERLABEL
7697
7698LAYER_PINNUM = _pcbnew.LAYER_PINNUM
7699
7700LAYER_PINNAM = _pcbnew.LAYER_PINNAM
7701
7702LAYER_REFERENCEPART = _pcbnew.LAYER_REFERENCEPART
7703
7704LAYER_VALUEPART = _pcbnew.LAYER_VALUEPART
7705
7706LAYER_FIELDS = _pcbnew.LAYER_FIELDS
7707
7708LAYER_DEVICE = _pcbnew.LAYER_DEVICE
7709
7710LAYER_NOTES = _pcbnew.LAYER_NOTES
7711
7712LAYER_PIN = _pcbnew.LAYER_PIN
7713
7714LAYER_SHEET = _pcbnew.LAYER_SHEET
7715
7716LAYER_SHEETNAME = _pcbnew.LAYER_SHEETNAME
7717
7718LAYER_SHEETFILENAME = _pcbnew.LAYER_SHEETFILENAME
7719
7720LAYER_SHEETFIELDS = _pcbnew.LAYER_SHEETFIELDS
7721
7722LAYER_SHEETLABEL = _pcbnew.LAYER_SHEETLABEL
7723
7724LAYER_NOCONNECT = _pcbnew.LAYER_NOCONNECT
7725
7726LAYER_DANGLING = _pcbnew.LAYER_DANGLING
7727
7728LAYER_ERC_WARN = _pcbnew.LAYER_ERC_WARN
7729
7730LAYER_ERC_ERR = _pcbnew.LAYER_ERC_ERR
7731
7732LAYER_DEVICE_BACKGROUND = _pcbnew.LAYER_DEVICE_BACKGROUND
7733
7734LAYER_SHEET_BACKGROUND = _pcbnew.LAYER_SHEET_BACKGROUND
7735
7736LAYER_SCHEMATIC_GRID = _pcbnew.LAYER_SCHEMATIC_GRID
7737
7738LAYER_SCHEMATIC_GRID_AXES = _pcbnew.LAYER_SCHEMATIC_GRID_AXES
7739
7740LAYER_SCHEMATIC_BACKGROUND = _pcbnew.LAYER_SCHEMATIC_BACKGROUND
7741
7742LAYER_SCHEMATIC_CURSOR = _pcbnew.LAYER_SCHEMATIC_CURSOR
7743
7744LAYER_BRIGHTENED = _pcbnew.LAYER_BRIGHTENED
7745
7746LAYER_HIDDEN = _pcbnew.LAYER_HIDDEN
7747
7748LAYER_SELECTION_SHADOWS = _pcbnew.LAYER_SELECTION_SHADOWS
7749
7750LAYER_SCHEMATIC_DRAWINGSHEET = _pcbnew.LAYER_SCHEMATIC_DRAWINGSHEET
7751
7752LAYER_BUS_JUNCTION = _pcbnew.LAYER_BUS_JUNCTION
7753
7754LAYER_SCHEMATIC_AUX_ITEMS = _pcbnew.LAYER_SCHEMATIC_AUX_ITEMS
7755
7756LAYER_SCHEMATIC_ANCHOR = _pcbnew.LAYER_SCHEMATIC_ANCHOR
7757
7758SCH_LAYER_ID_END = _pcbnew.SCH_LAYER_ID_END
7759
7760GERBVIEW_LAYER_ID_START = _pcbnew.GERBVIEW_LAYER_ID_START
7761
7762GERBVIEW_LAYER_ID_RESERVED = _pcbnew.GERBVIEW_LAYER_ID_RESERVED
7763
7764LAYER_DCODES = _pcbnew.LAYER_DCODES
7765
7766LAYER_NEGATIVE_OBJECTS = _pcbnew.LAYER_NEGATIVE_OBJECTS
7767
7768LAYER_GERBVIEW_GRID = _pcbnew.LAYER_GERBVIEW_GRID
7769
7770LAYER_GERBVIEW_AXES = _pcbnew.LAYER_GERBVIEW_AXES
7771
7772LAYER_GERBVIEW_BACKGROUND = _pcbnew.LAYER_GERBVIEW_BACKGROUND
7773
7774LAYER_GERBVIEW_DRAWINGSHEET = _pcbnew.LAYER_GERBVIEW_DRAWINGSHEET
7775
7776GERBVIEW_LAYER_ID_END = _pcbnew.GERBVIEW_LAYER_ID_END
7777
7778LAYER_3D_START = _pcbnew.LAYER_3D_START
7779
7780LAYER_3D_BACKGROUND_BOTTOM = _pcbnew.LAYER_3D_BACKGROUND_BOTTOM
7781
7782LAYER_3D_BACKGROUND_TOP = _pcbnew.LAYER_3D_BACKGROUND_TOP
7783
7784LAYER_3D_BOARD = _pcbnew.LAYER_3D_BOARD
7785
7786LAYER_3D_COPPER = _pcbnew.LAYER_3D_COPPER
7787
7788LAYER_3D_SILKSCREEN_BOTTOM = _pcbnew.LAYER_3D_SILKSCREEN_BOTTOM
7789
7790LAYER_3D_SILKSCREEN_TOP = _pcbnew.LAYER_3D_SILKSCREEN_TOP
7791
7792LAYER_3D_SOLDERMASK_BOTTOM = _pcbnew.LAYER_3D_SOLDERMASK_BOTTOM
7793
7794LAYER_3D_SOLDERMASK_TOP = _pcbnew.LAYER_3D_SOLDERMASK_TOP
7795
7796LAYER_3D_SOLDERPASTE = _pcbnew.LAYER_3D_SOLDERPASTE
7797
7798LAYER_3D_END = _pcbnew.LAYER_3D_END
7799
7800
7801def LayerName(aLayer: "int") -> "wxString":
7802 r"""LayerName(int aLayer) -> wxString"""
7803 return _pcbnew.LayerName(aLayer)
7805 r"""Proxy of C++ LSEQ class."""
7806
7807 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7808 __repr__ = _swig_repr
7809
7810 def __init__(self):
7811 r"""__init__(LSEQ self) -> LSEQ"""
7812 _pcbnew.LSEQ_swiginit(self, _pcbnew.new_LSEQ())
7813
7814 def Rewind(self) -> "void":
7815 r"""Rewind(LSEQ self)"""
7816 return _pcbnew.LSEQ_Rewind(self)
7817
7818 def __nonzero__(self):
7819 return _pcbnew.LSEQ___nonzero__(self)
7820 __bool__ = __nonzero__
7821
7822
7823
7824 def __ref__(self) -> "PCB_LAYER_ID":
7825 r"""__ref__(LSEQ self) -> PCB_LAYER_ID"""
7826 return _pcbnew.LSEQ___ref__(self)
7827 __swig_destroy__ = _pcbnew.delete_LSEQ
7828
7829# Register LSEQ in _pcbnew:
7830_pcbnew.LSEQ_swigregister(LSEQ)
7831
7833 r"""Proxy of C++ LSET class."""
7834
7835 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
7836 __repr__ = _swig_repr
7837
7838 def __init__(self, *args):
7839 r"""
7840 __init__(LSET self) -> LSET
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
7845 """
7846 _pcbnew.LSET_swiginit(self, _pcbnew.new_LSET(*args))
7847
7848 def Contains(self, aLayer: "PCB_LAYER_ID") -> "bool":
7849 r"""Contains(LSET self, PCB_LAYER_ID aLayer) -> bool"""
7850 return _pcbnew.LSET_Contains(self, aLayer)
7851
7852 @staticmethod
7853 def Name(aLayerId: "PCB_LAYER_ID") -> "wxChar const *":
7854 r"""Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
7855 return _pcbnew.LSET_Name(aLayerId)
7856
7857 @staticmethod
7858 def InternalCuMask() -> "LSET":
7859 r"""InternalCuMask() -> LSET"""
7860 return _pcbnew.LSET_InternalCuMask()
7861
7862 @staticmethod
7863 def FrontAssembly() -> "LSET":
7864 r"""FrontAssembly() -> LSET"""
7865 return _pcbnew.LSET_FrontAssembly()
7866
7867 @staticmethod
7868 def BackAssembly() -> "LSET":
7869 r"""BackAssembly() -> LSET"""
7870 return _pcbnew.LSET_BackAssembly()
7871
7872 @staticmethod
7873 def AllCuMask(*args) -> "LSET":
7874 r"""AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
7875 return _pcbnew.LSET_AllCuMask(*args)
7876
7877 @staticmethod
7878 def ExternalCuMask() -> "LSET":
7879 r"""ExternalCuMask() -> LSET"""
7880 return _pcbnew.LSET_ExternalCuMask()
7881
7882 @staticmethod
7883 def AllNonCuMask() -> "LSET":
7884 r"""AllNonCuMask() -> LSET"""
7885 return _pcbnew.LSET_AllNonCuMask()
7886
7887 @staticmethod
7888 def AllLayersMask() -> "LSET":
7889 r"""AllLayersMask() -> LSET"""
7890 return _pcbnew.LSET_AllLayersMask()
7891
7892 @staticmethod
7893 def FrontTechMask() -> "LSET":
7894 r"""FrontTechMask() -> LSET"""
7895 return _pcbnew.LSET_FrontTechMask()
7896
7897 @staticmethod
7898 def FrontBoardTechMask() -> "LSET":
7899 r"""FrontBoardTechMask() -> LSET"""
7900 return _pcbnew.LSET_FrontBoardTechMask()
7901
7902 @staticmethod
7903 def BackTechMask() -> "LSET":
7904 r"""BackTechMask() -> LSET"""
7905 return _pcbnew.LSET_BackTechMask()
7906
7907 @staticmethod
7908 def BackBoardTechMask() -> "LSET":
7909 r"""BackBoardTechMask() -> LSET"""
7910 return _pcbnew.LSET_BackBoardTechMask()
7911
7912 @staticmethod
7913 def AllTechMask() -> "LSET":
7914 r"""AllTechMask() -> LSET"""
7915 return _pcbnew.LSET_AllTechMask()
7916
7917 @staticmethod
7918 def AllBoardTechMask() -> "LSET":
7919 r"""AllBoardTechMask() -> LSET"""
7920 return _pcbnew.LSET_AllBoardTechMask()
7921
7922 @staticmethod
7923 def FrontMask() -> "LSET":
7924 r"""FrontMask() -> LSET"""
7925 return _pcbnew.LSET_FrontMask()
7926
7927 @staticmethod
7928 def BackMask() -> "LSET":
7929 r"""BackMask() -> LSET"""
7930 return _pcbnew.LSET_BackMask()
7931
7932 @staticmethod
7933 def UserMask() -> "LSET":
7934 r"""UserMask() -> LSET"""
7935 return _pcbnew.LSET_UserMask()
7936
7937 @staticmethod
7938 def PhysicalLayersMask() -> "LSET":
7939 r"""PhysicalLayersMask() -> LSET"""
7940 return _pcbnew.LSET_PhysicalLayersMask()
7941
7942 @staticmethod
7943 def UserDefinedLayers() -> "LSET":
7944 r"""UserDefinedLayers() -> LSET"""
7945 return _pcbnew.LSET_UserDefinedLayers()
7946
7947 @staticmethod
7949 r"""ForbiddenFootprintLayers() -> LSET"""
7950 return _pcbnew.LSET_ForbiddenFootprintLayers()
7951
7952 def CuStack(self) -> "LSEQ":
7953 r"""CuStack(LSET self) -> LSEQ"""
7954 return _pcbnew.LSET_CuStack(self)
7955
7956 def Technicals(self, *args) -> "LSEQ":
7957 r"""Technicals(LSET self, LSET aSubToOmit=LSET()) -> LSEQ"""
7958 return _pcbnew.LSET_Technicals(self, *args)
7959
7960 def Users(self) -> "LSEQ":
7961 r"""Users(LSET self) -> LSEQ"""
7962 return _pcbnew.LSET_Users(self)
7963
7964 def TechAndUserUIOrder(self) -> "LSEQ":
7965 r"""TechAndUserUIOrder(LSET self) -> LSEQ"""
7966 return _pcbnew.LSET_TechAndUserUIOrder(self)
7967
7968 def UIOrder(self) -> "LSEQ":
7969 r"""UIOrder(LSET self) -> LSEQ"""
7970 return _pcbnew.LSET_UIOrder(self)
7971
7972 def Seq(self, *args) -> "LSEQ":
7973 r"""
7974 Seq(LSET self, PCB_LAYER_ID const * aWishListSequence, unsigned int aCount) -> LSEQ
7975 Seq(LSET self) -> LSEQ
7976 """
7977 return _pcbnew.LSET_Seq(self, *args)
7978
7979 def SeqStackupBottom2Top(self) -> "LSEQ":
7980 r"""SeqStackupBottom2Top(LSET self) -> LSEQ"""
7981 return _pcbnew.LSET_SeqStackupBottom2Top(self)
7982
7983 def FmtHex(self) -> "std::string":
7984 r"""FmtHex(LSET self) -> string"""
7985 return _pcbnew.LSET_FmtHex(self)
7986
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)
7990
7991 def FmtBin(self) -> "std::string":
7992 r"""FmtBin(LSET self) -> string"""
7993 return _pcbnew.LSET_FmtBin(self)
7994
7995 def ExtractLayer(self) -> "PCB_LAYER_ID":
7996 r"""ExtractLayer(LSET self) -> PCB_LAYER_ID"""
7997 return _pcbnew.LSET_ExtractLayer(self)
7998
7999 def addLayer(self, aLayer: "PCB_LAYER_ID") -> "LSET":
8000 r"""addLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
8001 return _pcbnew.LSET_addLayer(self, aLayer)
8002
8003 def removeLayer(self, aLayer: "PCB_LAYER_ID") -> "LSET":
8004 r"""removeLayer(LSET self, PCB_LAYER_ID aLayer) -> LSET"""
8005 return _pcbnew.LSET_removeLayer(self, aLayer)
8006
8007 def addLayerSet(self, aLayerSet: "LSET") -> "LSET":
8008 r"""addLayerSet(LSET self, LSET aLayerSet) -> LSET"""
8009 return _pcbnew.LSET_addLayerSet(self, aLayerSet)
8010
8011 def removeLayerSet(self, aLayerSet: "LSET") -> "LSET":
8012 r"""removeLayerSet(LSET self, LSET aLayerSet) -> LSET"""
8013 return _pcbnew.LSET_removeLayerSet(self, aLayerSet)
8014
8015 def AddLayer(self, layer):
8016 return self.addLayer( layer )
8017
8018 def AddLayerSet(self, layers):
8019 return self.addLayerSet( layers )
8020
8021 def RemoveLayer(self, layer):
8022 return self.removeLayer( layer )
8023
8024 def RemoveLayerSet(self, layers):
8025 return self.removeLayerSet( layers )
8026
8027 __swig_destroy__ = _pcbnew.delete_LSET
8028
8029# Register LSET in _pcbnew:
8030_pcbnew.LSET_swigregister(LSET)
8031
8032def LSET_Name(aLayerId: "PCB_LAYER_ID") -> "wxChar const *":
8033 r"""LSET_Name(PCB_LAYER_ID aLayerId) -> wxChar const *"""
8034 return _pcbnew.LSET_Name(aLayerId)
8035
8036def LSET_InternalCuMask() -> "LSET":
8037 r"""LSET_InternalCuMask() -> LSET"""
8038 return _pcbnew.LSET_InternalCuMask()
8039
8040def LSET_FrontAssembly() -> "LSET":
8041 r"""LSET_FrontAssembly() -> LSET"""
8042 return _pcbnew.LSET_FrontAssembly()
8043
8044def LSET_BackAssembly() -> "LSET":
8045 r"""LSET_BackAssembly() -> LSET"""
8046 return _pcbnew.LSET_BackAssembly()
8047
8048def LSET_AllCuMask(*args) -> "LSET":
8049 r"""LSET_AllCuMask(int aCuLayerCount=(B_Cu-F_Cu+1)) -> LSET"""
8050 return _pcbnew.LSET_AllCuMask(*args)
8051
8052def LSET_ExternalCuMask() -> "LSET":
8053 r"""LSET_ExternalCuMask() -> LSET"""
8054 return _pcbnew.LSET_ExternalCuMask()
8055
8056def LSET_AllNonCuMask() -> "LSET":
8057 r"""LSET_AllNonCuMask() -> LSET"""
8058 return _pcbnew.LSET_AllNonCuMask()
8059
8060def LSET_AllLayersMask() -> "LSET":
8061 r"""LSET_AllLayersMask() -> LSET"""
8062 return _pcbnew.LSET_AllLayersMask()
8063
8064def LSET_FrontTechMask() -> "LSET":
8065 r"""LSET_FrontTechMask() -> LSET"""
8066 return _pcbnew.LSET_FrontTechMask()
8067
8069 r"""LSET_FrontBoardTechMask() -> LSET"""
8070 return _pcbnew.LSET_FrontBoardTechMask()
8071
8072def LSET_BackTechMask() -> "LSET":
8073 r"""LSET_BackTechMask() -> LSET"""
8074 return _pcbnew.LSET_BackTechMask()
8075
8077 r"""LSET_BackBoardTechMask() -> LSET"""
8078 return _pcbnew.LSET_BackBoardTechMask()
8079
8080def LSET_AllTechMask() -> "LSET":
8081 r"""LSET_AllTechMask() -> LSET"""
8082 return _pcbnew.LSET_AllTechMask()
8083
8085 r"""LSET_AllBoardTechMask() -> LSET"""
8086 return _pcbnew.LSET_AllBoardTechMask()
8087
8088def LSET_FrontMask() -> "LSET":
8089 r"""LSET_FrontMask() -> LSET"""
8090 return _pcbnew.LSET_FrontMask()
8091
8092def LSET_BackMask() -> "LSET":
8093 r"""LSET_BackMask() -> LSET"""
8094 return _pcbnew.LSET_BackMask()
8095
8096def LSET_UserMask() -> "LSET":
8097 r"""LSET_UserMask() -> LSET"""
8098 return _pcbnew.LSET_UserMask()
8099
8101 r"""LSET_PhysicalLayersMask() -> LSET"""
8102 return _pcbnew.LSET_PhysicalLayersMask()
8103
8105 r"""LSET_UserDefinedLayers() -> LSET"""
8106 return _pcbnew.LSET_UserDefinedLayers()
8107
8109 r"""LSET_ForbiddenFootprintLayers() -> LSET"""
8110 return _pcbnew.LSET_ForbiddenFootprintLayers()
8111
8112
8113def IsValidLayer(aLayerId: "LAYER_NUM") -> "bool":
8114 r"""IsValidLayer(LAYER_NUM aLayerId) -> bool"""
8115 return _pcbnew.IsValidLayer(aLayerId)
8116
8117def IsPcbLayer(aLayer: "LAYER_NUM") -> "bool":
8118 r"""IsPcbLayer(LAYER_NUM aLayer) -> bool"""
8119 return _pcbnew.IsPcbLayer(aLayer)
8120
8121def IsNonCopperLayer(aLayerId: "LAYER_NUM") -> "bool":
8122 r"""IsNonCopperLayer(LAYER_NUM aLayerId) -> bool"""
8123 return _pcbnew.IsNonCopperLayer(aLayerId)
8124
8125def IsCopperLayer(*args) -> "bool":
8126 r"""
8127 IsCopperLayer(LAYER_NUM aLayerId) -> bool
8128 IsCopperLayer(LAYER_NUM aLayerId, bool aIncludeSyntheticCopperLayers) -> bool
8129 """
8130 return _pcbnew.IsCopperLayer(*args)
8131
8132def IsViaPadLayer(aLayer: "LAYER_NUM") -> "bool":
8133 r"""IsViaPadLayer(LAYER_NUM aLayer) -> bool"""
8134 return _pcbnew.IsViaPadLayer(aLayer)
8135
8136def IsHoleLayer(aLayer: "LAYER_NUM") -> "bool":
8137 r"""IsHoleLayer(LAYER_NUM aLayer) -> bool"""
8138 return _pcbnew.IsHoleLayer(aLayer)
8139
8140def IsUserLayer(aLayerId: "PCB_LAYER_ID") -> "bool":
8141 r"""IsUserLayer(PCB_LAYER_ID aLayerId) -> bool"""
8142 return _pcbnew.IsUserLayer(aLayerId)
8143
8144def IsFrontLayer(aLayerId: "PCB_LAYER_ID") -> "bool":
8145 r"""IsFrontLayer(PCB_LAYER_ID aLayerId) -> bool"""
8146 return _pcbnew.IsFrontLayer(aLayerId)
8147
8148def IsBackLayer(aLayerId: "PCB_LAYER_ID") -> "bool":
8149 r"""IsBackLayer(PCB_LAYER_ID aLayerId) -> bool"""
8150 return _pcbnew.IsBackLayer(aLayerId)
8151
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)
8155
8156def FlipLayerMask(aMask: "LSET", aCopperLayersCount: "int"=0) -> "LSET":
8157 r"""FlipLayerMask(LSET aMask, int aCopperLayersCount=0) -> LSET"""
8158 return _pcbnew.FlipLayerMask(aMask, aCopperLayersCount)
8159
8160def GetNetnameLayer(aLayer: "int") -> "int":
8161 r"""GetNetnameLayer(int aLayer) -> int"""
8162 return _pcbnew.GetNetnameLayer(aLayer)
8163
8164def IsNetnameLayer(aLayer: "LAYER_NUM") -> "bool":
8165 r"""IsNetnameLayer(LAYER_NUM aLayer) -> bool"""
8166 return _pcbnew.IsNetnameLayer(aLayer)
8167
8168def IsZoneFillLayer(aLayer: "int") -> "bool":
8169 r"""IsZoneFillLayer(int aLayer) -> bool"""
8170 return _pcbnew.IsZoneFillLayer(aLayer)
8171
8172def IsDCodeLayer(aLayer: "int") -> "bool":
8173 r"""IsDCodeLayer(int aLayer) -> bool"""
8174 return _pcbnew.IsDCodeLayer(aLayer)
8175
8176def IsNetCopperLayer(aLayer: "LAYER_NUM") -> "bool":
8177 r"""IsNetCopperLayer(LAYER_NUM aLayer) -> bool"""
8178 return _pcbnew.IsNetCopperLayer(aLayer)
8179
8180def ToLAYER_ID(aLayer: "int") -> "PCB_LAYER_ID":
8181 r"""ToLAYER_ID(int aLayer) -> PCB_LAYER_ID"""
8182 return _pcbnew.ToLAYER_ID(aLayer)
8184 r"""Proxy of C++ BOARD_ITEM class."""
8185
8186 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
8187
8188 def __init__(self, *args, **kwargs):
8189 raise AttributeError("No constructor defined - class is abstract")
8190 __repr__ = _swig_repr
8191
8192 def SetParentGroup(self, aGroup: "PCB_GROUP") -> "void":
8193 r"""SetParentGroup(BOARD_ITEM self, PCB_GROUP aGroup)"""
8194 return _pcbnew.BOARD_ITEM_SetParentGroup(self, aGroup)
8195
8196 def GetParentGroup(self) -> "PCB_GROUP *":
8197 r"""GetParentGroup(BOARD_ITEM self) -> PCB_GROUP"""
8198 return _pcbnew.BOARD_ITEM_GetParentGroup(self)
8199
8200 def GetX(self) -> "int":
8201 r"""GetX(BOARD_ITEM self) -> int"""
8202 return _pcbnew.BOARD_ITEM_GetX(self)
8203
8204 def GetY(self) -> "int":
8205 r"""GetY(BOARD_ITEM self) -> int"""
8206 return _pcbnew.BOARD_ITEM_GetY(self)
8207
8208 def GetCenter(self) -> "wxPoint":
8209 r"""GetCenter(BOARD_ITEM self) -> wxPoint"""
8210 return _pcbnew.BOARD_ITEM_GetCenter(self)
8211
8212 def SetX(self, aX: "int") -> "void":
8213 r"""SetX(BOARD_ITEM self, int aX)"""
8214 return _pcbnew.BOARD_ITEM_SetX(self, aX)
8215
8216 def SetY(self, aY: "int") -> "void":
8217 r"""SetY(BOARD_ITEM self, int aY)"""
8218 return _pcbnew.BOARD_ITEM_SetY(self, aY)
8219
8220 def IsConnected(self) -> "bool":
8221 r"""IsConnected(BOARD_ITEM self) -> bool"""
8222 return _pcbnew.BOARD_ITEM_IsConnected(self)
8223
8224 def IsOnCopperLayer(self) -> "bool":
8225 r"""IsOnCopperLayer(BOARD_ITEM self) -> bool"""
8226 return _pcbnew.BOARD_ITEM_IsOnCopperLayer(self)
8227
8228 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
8231
8232 def GetParent(self) -> "BOARD_ITEM_CONTAINER *":
8233 r"""GetParent(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
8234 return _pcbnew.BOARD_ITEM_GetParent(self)
8235
8236 def GetParentFootprint(self) -> "BOARD_ITEM_CONTAINER *":
8237 r"""GetParentFootprint(BOARD_ITEM self) -> BOARD_ITEM_CONTAINER"""
8238 return _pcbnew.BOARD_ITEM_GetParentFootprint(self)
8239
8240 def GetLayer(self) -> "PCB_LAYER_ID":
8241 r"""GetLayer(BOARD_ITEM self) -> PCB_LAYER_ID"""
8242 return _pcbnew.BOARD_ITEM_GetLayer(self)
8243
8244 def GetLayerSet(self) -> "LSET":
8245 r"""GetLayerSet(BOARD_ITEM self) -> LSET"""
8246 return _pcbnew.BOARD_ITEM_GetLayerSet(self)
8247
8248 def SetLayerSet(self, aLayers: "LSET") -> "void":
8249 r"""SetLayerSet(BOARD_ITEM self, LSET aLayers)"""
8250 return _pcbnew.BOARD_ITEM_SetLayerSet(self, aLayers)
8251
8252 def SetLayer(self, aLayer: "PCB_LAYER_ID") -> "void":
8253 r"""SetLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer)"""
8254 return _pcbnew.BOARD_ITEM_SetLayer(self, aLayer)
8255
8256 def Duplicate(self) -> "BOARD_ITEM *":
8257 r"""Duplicate(BOARD_ITEM self) -> BOARD_ITEM"""
8258 return _pcbnew.BOARD_ITEM_Duplicate(self)
8259
8260 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
8261 r"""SwapData(BOARD_ITEM self, BOARD_ITEM aImage)"""
8262 return _pcbnew.BOARD_ITEM_SwapData(self, aImage)
8263
8264 def IsOnLayer(self, aLayer: "PCB_LAYER_ID") -> "bool":
8265 r"""IsOnLayer(BOARD_ITEM self, PCB_LAYER_ID aLayer) -> bool"""
8266 return _pcbnew.BOARD_ITEM_IsOnLayer(self, aLayer)
8267
8268 def IsTrack(self) -> "bool":
8269 r"""IsTrack(BOARD_ITEM self) -> bool"""
8270 return _pcbnew.BOARD_ITEM_IsTrack(self)
8271
8272 def IsLocked(self) -> "bool":
8273 r"""IsLocked(BOARD_ITEM self) -> bool"""
8274 return _pcbnew.BOARD_ITEM_IsLocked(self)
8275
8276 def SetLocked(self, aLocked: "bool") -> "void":
8277 r"""SetLocked(BOARD_ITEM self, bool aLocked)"""
8278 return _pcbnew.BOARD_ITEM_SetLocked(self, aLocked)
8279
8280 def DeleteStructure(self) -> "void":
8281 r"""DeleteStructure(BOARD_ITEM self)"""
8282 return _pcbnew.BOARD_ITEM_DeleteStructure(self)
8283
8284 def Move(self, *args) -> "void":
8285 r"""
8286 Move(BOARD_ITEM self, wxPoint aMoveVector)
8287 Move(BOARD_ITEM self, VECTOR2I aMoveVector)
8288 """
8289 return _pcbnew.BOARD_ITEM_Move(self, *args)
8290
8291 def Rotate(self, *args) -> "void":
8292 r"""
8293 Rotate(BOARD_ITEM self, wxPoint aRotCentre, double aAngle)
8294 Rotate(BOARD_ITEM self, VECTOR2I aRotCentre, double aAngle)
8295 """
8296 return _pcbnew.BOARD_ITEM_Rotate(self, *args)
8297
8298 def Flip(self, *args) -> "void":
8299 r"""
8300 Flip(BOARD_ITEM self, wxPoint aCentre, bool aFlipLeftRight)
8301 Flip(BOARD_ITEM self, VECTOR2I aCentre, bool aFlipLeftRight)
8302 """
8303 return _pcbnew.BOARD_ITEM_Flip(self, *args)
8304
8305 def GetBoard(self, *args) -> "BOARD *":
8306 r"""
8307 GetBoard(BOARD_ITEM self) -> BOARD
8308 GetBoard(BOARD_ITEM self) -> BOARD
8309 """
8310 return _pcbnew.BOARD_ITEM_GetBoard(self, *args)
8311
8312 def GetLayerName(self) -> "wxString":
8313 r"""GetLayerName(BOARD_ITEM self) -> wxString"""
8314 return _pcbnew.BOARD_ITEM_GetLayerName(self)
8315
8316 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
8317 r"""ViewGetLayers(BOARD_ITEM self, int [] aLayers, int & aCount)"""
8318 return _pcbnew.BOARD_ITEM_ViewGetLayers(self, aLayers, aCount)
8319
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)
8323
8324 def Cast(self):
8325
8326 ct = self.GetClass()
8327
8328 if ct=="PTEXT":
8329 return Cast_to_PCB_TEXT(self)
8330 elif ct=="BOARD":
8331 return Cast_to_BOARD(self)
8332 elif ct=="PCB_DIM_ALIGNED":
8333 return Cast_to_PCB_DIM_ALIGNED(self)
8334 elif ct=="PCB_DIM_LEADER":
8335 return Cast_to_PCB_DIM_LEADER(self)
8336 elif ct=="PCB_DIM_CENTER":
8337 return Cast_to_PCB_DIM_CENTER(self)
8338 elif ct=="PCB_DIM_ORTHOGONAL":
8339 return Cast_to_PCB_DIM_ORTHOGONAL(self)
8340 elif ct=="PCB_SHAPE":
8341 return Cast_to_PCB_SHAPE(self)
8342 elif ct=="MGRAPHIC":
8343 return Cast_to_FP_SHAPE(self)
8344 elif ct=="FOOTPRINT":
8345 return Cast_to_FOOTPRINT(self)
8346 elif ct=="PCB_GROUP":
8347 return Cast_to_PCB_GROUP(self)
8348 elif ct=="PAD":
8349 return Cast_to_PAD(self)
8350 elif ct=="MTEXT":
8351 return Cast_to_FP_TEXT(self)
8352 elif ct=="PCB_VIA":
8353 return Cast_to_PCB_VIA(self)
8354 elif ct=="PCB_TRACK":
8355 return Cast_to_PCB_TRACK(self)
8356 elif ct=="PCB_ARC":
8357 return Cast_to_PCB_ARC(self)
8358 elif ct=="PCB_TARGET":
8359 return Cast_to_PCB_TARGET(self)
8360 elif ct=="ZONE":
8361 return Cast_to_ZONE(self)
8362 else:
8363 raise TypeError("Unsupported drawing class: %s" % ct)
8364
8365 def Duplicate(self):
8366 ct = self.GetClass()
8367 if ct=="BOARD":
8368 return None
8369 else:
8370 return Cast_to_BOARD_ITEM(self.Clone()).Cast()
8371
8372 def SetPos(self,p):
8373 self.SetPosition(p)
8374 self.SetPos0(p)
8375
8376 def SetStartEnd(self,start,end):
8377 self.SetStart(start)
8378 self.SetStart0(start)
8379 self.SetEnd(end)
8380 self.SetEnd0(end)
8381
8382 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM
8383
8384# Register BOARD_ITEM in _pcbnew:
8385_pcbnew.BOARD_ITEM_swigregister(BOARD_ITEM)
8386
8388 r"""Proxy of C++ DELETED_BOARD_ITEM class."""
8389
8390 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
8391 __repr__ = _swig_repr
8392
8393 def __init__(self):
8394 r"""__init__(DELETED_BOARD_ITEM self) -> DELETED_BOARD_ITEM"""
8395 _pcbnew.DELETED_BOARD_ITEM_swiginit(self, _pcbnew.new_DELETED_BOARD_ITEM())
8396
8397 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
8398 r"""GetSelectMenuText(DELETED_BOARD_ITEM self, EDA_UNITS aUnits) -> wxString"""
8399 return _pcbnew.DELETED_BOARD_ITEM_GetSelectMenuText(self, aUnits)
8400
8401 def GetClass(self) -> "wxString":
8402 r"""GetClass(DELETED_BOARD_ITEM self) -> wxString"""
8403 return _pcbnew.DELETED_BOARD_ITEM_GetClass(self)
8404
8405 def SetPosition(self, arg2: "wxPoint") -> "void":
8406 r"""SetPosition(DELETED_BOARD_ITEM self, wxPoint arg2)"""
8407 return _pcbnew.DELETED_BOARD_ITEM_SetPosition(self, arg2)
8408
8409 def GetPosition(self) -> "wxPoint":
8410 r"""GetPosition(DELETED_BOARD_ITEM self) -> wxPoint"""
8411 return _pcbnew.DELETED_BOARD_ITEM_GetPosition(self)
8412
8413 @staticmethod
8414 def GetInstance() -> "DELETED_BOARD_ITEM *":
8415 r"""GetInstance() -> DELETED_BOARD_ITEM"""
8416 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
8417 __swig_destroy__ = _pcbnew.delete_DELETED_BOARD_ITEM
8418
8419# Register DELETED_BOARD_ITEM in _pcbnew:
8420_pcbnew.DELETED_BOARD_ITEM_swigregister(DELETED_BOARD_ITEM)
8421
8422def DELETED_BOARD_ITEM_GetInstance() -> "DELETED_BOARD_ITEM *":
8423 r"""DELETED_BOARD_ITEM_GetInstance() -> DELETED_BOARD_ITEM"""
8424 return _pcbnew.DELETED_BOARD_ITEM_GetInstance()
8425
8426IS_CHANGED = _pcbnew.IS_CHANGED
8427
8428IS_LINKED = _pcbnew.IS_LINKED
8429
8430IN_EDIT = _pcbnew.IN_EDIT
8431
8432IS_MOVING = _pcbnew.IS_MOVING
8433
8434IS_NEW = _pcbnew.IS_NEW
8435
8436IS_RESIZING = _pcbnew.IS_RESIZING
8437
8438IS_DRAGGING = _pcbnew.IS_DRAGGING
8439
8440IS_DELETED = _pcbnew.IS_DELETED
8441
8442IS_WIRE_IMAGE = _pcbnew.IS_WIRE_IMAGE
8443
8444STARTPOINT = _pcbnew.STARTPOINT
8445
8446ENDPOINT = _pcbnew.ENDPOINT
8447
8448SELECTED = _pcbnew.SELECTED
8449
8450TEMP_SELECTED = _pcbnew.TEMP_SELECTED
8451
8452STRUCT_DELETED = _pcbnew.STRUCT_DELETED
8453
8454CANDIDATE = _pcbnew.CANDIDATE
8455
8456SKIP_STRUCT = _pcbnew.SKIP_STRUCT
8457
8458DO_NOT_DRAW = _pcbnew.DO_NOT_DRAW
8459
8460IS_PASTED = _pcbnew.IS_PASTED
8461
8462LOCKED = _pcbnew.LOCKED
8463
8464UNUSED = _pcbnew.UNUSED
8465
8466MALFORMED_F_COURTYARD = _pcbnew.MALFORMED_F_COURTYARD
8467
8468MALFORMED_B_COURTYARD = _pcbnew.MALFORMED_B_COURTYARD
8469
8470MALFORMED_COURTYARDS = _pcbnew.MALFORMED_COURTYARDS
8471
8472BEGIN_ONPAD = _pcbnew.BEGIN_ONPAD
8473
8474END_ONPAD = _pcbnew.END_ONPAD
8475
8476HOLE_PROXY = _pcbnew.HOLE_PROXY
8477
8478IS_ROLLOVER = _pcbnew.IS_ROLLOVER
8479
8480BRIGHTENED = _pcbnew.BRIGHTENED
8481
8482DP_COUPLED = _pcbnew.DP_COUPLED
8483
8484UR_TRANSIENT = _pcbnew.UR_TRANSIENT
8485
8486IS_DANGLING = _pcbnew.IS_DANGLING
8487
8488ENTERED = _pcbnew.ENTERED
8489
8490
8491def Cast_to_BOARD_ITEM(base: "EDA_ITEM") -> "BOARD_ITEM *":
8492 r"""Cast_to_BOARD_ITEM(EDA_ITEM base) -> BOARD_ITEM"""
8493 return _pcbnew.Cast_to_BOARD_ITEM(base)
8494
8495def Cast_to_PCB_TEXT(arg1: "BOARD_ITEM") -> "PCB_TEXT *":
8496 r"""Cast_to_PCB_TEXT(BOARD_ITEM arg1) -> PCB_TEXT"""
8497 return _pcbnew.Cast_to_PCB_TEXT(arg1)
8498
8499def Cast_to_PCB_DIM_ALIGNED(arg1: "BOARD_ITEM") -> "PCB_DIM_ALIGNED *":
8500 r"""Cast_to_PCB_DIM_ALIGNED(BOARD_ITEM arg1) -> PCB_DIM_ALIGNED"""
8501 return _pcbnew.Cast_to_PCB_DIM_ALIGNED(arg1)
8502
8503def Cast_to_PCB_DIM_ORTHOGONAL(arg1: "BOARD_ITEM") -> "PCB_DIM_ORTHOGONAL *":
8504 r"""Cast_to_PCB_DIM_ORTHOGONAL(BOARD_ITEM arg1) -> PCB_DIM_ORTHOGONAL"""
8505 return _pcbnew.Cast_to_PCB_DIM_ORTHOGONAL(arg1)
8506
8507def Cast_to_PCB_DIM_LEADER(arg1: "BOARD_ITEM") -> "PCB_DIM_LEADER *":
8508 r"""Cast_to_PCB_DIM_LEADER(BOARD_ITEM arg1) -> PCB_DIM_LEADER"""
8509 return _pcbnew.Cast_to_PCB_DIM_LEADER(arg1)
8510
8511def Cast_to_PCB_DIM_CENTER(arg1: "BOARD_ITEM") -> "PCB_DIM_CENTER *":
8512 r"""Cast_to_PCB_DIM_CENTER(BOARD_ITEM arg1) -> PCB_DIM_CENTER"""
8513 return _pcbnew.Cast_to_PCB_DIM_CENTER(arg1)
8514
8515def Cast_to_FOOTPRINT(arg1: "BOARD_ITEM") -> "FOOTPRINT *":
8516 r"""Cast_to_FOOTPRINT(BOARD_ITEM arg1) -> FOOTPRINT"""
8517 return _pcbnew.Cast_to_FOOTPRINT(arg1)
8518
8519def Cast_to_PCB_GROUP(arg1: "BOARD_ITEM") -> "PCB_GROUP *":
8520 r"""Cast_to_PCB_GROUP(BOARD_ITEM arg1) -> PCB_GROUP"""
8521 return _pcbnew.Cast_to_PCB_GROUP(arg1)
8522
8523def Cast_to_FP_TEXT(arg1: "BOARD_ITEM") -> "FP_TEXT *":
8524 r"""Cast_to_FP_TEXT(BOARD_ITEM arg1) -> FP_TEXT"""
8525 return _pcbnew.Cast_to_FP_TEXT(arg1)
8526
8527def Cast_to_PCB_SHAPE(arg1: "BOARD_ITEM") -> "PCB_SHAPE *":
8528 r"""Cast_to_PCB_SHAPE(BOARD_ITEM arg1) -> PCB_SHAPE"""
8529 return _pcbnew.Cast_to_PCB_SHAPE(arg1)
8530
8531def Cast_to_PCB_MARKER(arg1: "BOARD_ITEM") -> "PCB_MARKER *":
8532 r"""Cast_to_PCB_MARKER(BOARD_ITEM arg1) -> PCB_MARKER"""
8533 return _pcbnew.Cast_to_PCB_MARKER(arg1)
8534
8535def Cast_to_BOARD(arg1: "BOARD_ITEM") -> "BOARD *":
8536 r"""Cast_to_BOARD(BOARD_ITEM arg1) -> BOARD"""
8537 return _pcbnew.Cast_to_BOARD(arg1)
8538
8539def Cast_to_FP_SHAPE(arg1: "BOARD_ITEM") -> "FP_SHAPE *":
8540 r"""Cast_to_FP_SHAPE(BOARD_ITEM arg1) -> FP_SHAPE"""
8541 return _pcbnew.Cast_to_FP_SHAPE(arg1)
8542
8543def Cast_to_PAD(arg1: "BOARD_ITEM") -> "PAD *":
8544 r"""Cast_to_PAD(BOARD_ITEM arg1) -> PAD"""
8545 return _pcbnew.Cast_to_PAD(arg1)
8546
8547def Cast_to_PCB_TRACK(arg1: "BOARD_ITEM") -> "PCB_TRACK *":
8548 r"""Cast_to_PCB_TRACK(BOARD_ITEM arg1) -> PCB_TRACK"""
8549 return _pcbnew.Cast_to_PCB_TRACK(arg1)
8550
8551def Cast_to_PCB_VIA(arg1: "BOARD_ITEM") -> "PCB_VIA *":
8552 r"""Cast_to_PCB_VIA(BOARD_ITEM arg1) -> PCB_VIA"""
8553 return _pcbnew.Cast_to_PCB_VIA(arg1)
8554
8555def Cast_to_PCB_ARC(arg1: "BOARD_ITEM") -> "PCB_ARC *":
8556 r"""Cast_to_PCB_ARC(BOARD_ITEM arg1) -> PCB_ARC"""
8557 return _pcbnew.Cast_to_PCB_ARC(arg1)
8558
8559def Cast_to_ZONE(arg1: "BOARD_ITEM") -> "ZONE *":
8560 r"""Cast_to_ZONE(BOARD_ITEM arg1) -> ZONE"""
8561 return _pcbnew.Cast_to_ZONE(arg1)
8562
8563def Cast_to_FP_ZONE(arg1: "BOARD_ITEM") -> "FP_ZONE *":
8564 r"""Cast_to_FP_ZONE(BOARD_ITEM arg1) -> FP_ZONE"""
8565 return _pcbnew.Cast_to_FP_ZONE(arg1)
8566
8567def Cast_to_PCB_TARGET(arg1: "BOARD_ITEM") -> "PCB_TARGET *":
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
8571
8572ADD_MODE_APPEND = _pcbnew.ADD_MODE_APPEND
8573
8574ADD_MODE_BULK_APPEND = _pcbnew.ADD_MODE_BULK_APPEND
8575
8576ADD_MODE_BULK_INSERT = _pcbnew.ADD_MODE_BULK_INSERT
8577
8578REMOVE_MODE_NORMAL = _pcbnew.REMOVE_MODE_NORMAL
8579
8580REMOVE_MODE_BULK = _pcbnew.REMOVE_MODE_BULK
8581
8583 r"""Proxy of C++ BOARD_ITEM_CONTAINER class."""
8584
8585 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
8586
8587 def __init__(self, *args, **kwargs):
8588 raise AttributeError("No constructor defined - class is abstract")
8589 __repr__ = _swig_repr
8590
8591 def AddNative(self, *args) -> "void":
8592 r"""AddNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT)"""
8593 return _pcbnew.BOARD_ITEM_CONTAINER_AddNative(self, *args)
8594
8595 def RemoveNative(self, *args) -> "void":
8596 r"""RemoveNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
8597 return _pcbnew.BOARD_ITEM_CONTAINER_RemoveNative(self, *args)
8598
8599 def DeleteNative(self, aItem: "BOARD_ITEM") -> "void":
8600 r"""DeleteNative(BOARD_ITEM_CONTAINER self, BOARD_ITEM aItem)"""
8601 return _pcbnew.BOARD_ITEM_CONTAINER_DeleteNative(self, aItem)
8602
8603 def GetZoneSettings(self) -> "ZONE_SETTINGS const &":
8604 r"""GetZoneSettings(BOARD_ITEM_CONTAINER self) -> ZONE_SETTINGS"""
8605 return _pcbnew.BOARD_ITEM_CONTAINER_GetZoneSettings(self)
8606
8607 def SetZoneSettings(self, aSettings: "ZONE_SETTINGS") -> "void":
8608 r"""SetZoneSettings(BOARD_ITEM_CONTAINER self, ZONE_SETTINGS aSettings)"""
8609 return _pcbnew.BOARD_ITEM_CONTAINER_SetZoneSettings(self, aSettings)
8610
8611 def Add(self,item):
8612 """
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)
8617 """
8618 item.thisown=0
8619 self.AddNative(item)
8620
8621 def Remove(self,item):
8622 """
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
8625 Remove(self, BOARD_ITEM)
8626 """
8627 self.RemoveNative(item)
8628 if (not IsActionRunning()):
8629 item.thisown=1
8630
8631 def Delete(self,item):
8632 """
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
8635 Delete(self, BOARD_ITEM)
8636 """
8637 item.thisown=0 # C++'s BOARD_ITEM_CONTAINER::Delete() will delete
8638 self.DeleteNative(item)
8639 item.this = None
8640
8641 __swig_destroy__ = _pcbnew.delete_BOARD_ITEM_CONTAINER
8642
8643# Register BOARD_ITEM_CONTAINER in _pcbnew:
8644_pcbnew.BOARD_ITEM_CONTAINER_swigregister(BOARD_ITEM_CONTAINER)
8645
8647 r"""Proxy of C++ BOARD_CONNECTED_ITEM class."""
8648
8649 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
8650
8651 def __init__(self, *args, **kwargs):
8652 raise AttributeError("No constructor defined - class is abstract")
8653 __repr__ = _swig_repr
8654
8655 @staticmethod
8656 def ClassOf(aItem: "EDA_ITEM") -> "bool":
8657 r"""ClassOf(EDA_ITEM aItem) -> bool"""
8658 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
8659
8660 def IsConnected(self) -> "bool":
8661 r"""IsConnected(BOARD_CONNECTED_ITEM self) -> bool"""
8662 return _pcbnew.BOARD_CONNECTED_ITEM_IsConnected(self)
8663
8664 def GetNet(self) -> "NETINFO_ITEM *":
8665 r"""GetNet(BOARD_CONNECTED_ITEM self) -> NETINFO_ITEM"""
8666 return _pcbnew.BOARD_CONNECTED_ITEM_GetNet(self)
8667
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)
8671
8672 def GetNetCode(self) -> "int":
8673 r"""GetNetCode(BOARD_CONNECTED_ITEM self) -> int"""
8674 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetCode(self)
8675
8676 def SetNetCode(self, *args) -> "void":
8677 r"""
8678 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode, bool aNoAssert) -> bool
8679 SetNetCode(BOARD_CONNECTED_ITEM self, int aNetCode)
8680 """
8681 return _pcbnew.BOARD_CONNECTED_ITEM_SetNetCode(self, *args)
8682
8683 def GetNetname(self) -> "wxString":
8684 r"""GetNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
8685 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetname(self)
8686
8687 def GetNetnameMsg(self) -> "wxString":
8688 r"""GetNetnameMsg(BOARD_CONNECTED_ITEM self) -> wxString"""
8689 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetnameMsg(self)
8690
8691 def GetShortNetname(self) -> "wxString":
8692 r"""GetShortNetname(BOARD_CONNECTED_ITEM self) -> wxString"""
8693 return _pcbnew.BOARD_CONNECTED_ITEM_GetShortNetname(self)
8694
8695 def GetOwnClearance(self, aLayer: "PCB_LAYER_ID", aSource: "wxString"=None) -> "int":
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)
8698
8699 def GetLocalClearanceOverrides(self, aSource: "wxString") -> "int":
8700 r"""GetLocalClearanceOverrides(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
8701 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearanceOverrides(self, aSource)
8702
8703 def GetLocalClearance(self, aSource: "wxString") -> "int":
8704 r"""GetLocalClearance(BOARD_CONNECTED_ITEM self, wxString aSource) -> int"""
8705 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalClearance(self, aSource)
8706
8707 def GetNetClass(self) -> "NETCLASS *":
8708 r"""GetNetClass(BOARD_CONNECTED_ITEM self) -> NETCLASS *"""
8709 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClass(self)
8710
8711 def GetEffectiveNetclass(self) -> "NETCLASS *":
8712 r"""GetEffectiveNetclass(BOARD_CONNECTED_ITEM self) -> NETCLASS *"""
8713 return _pcbnew.BOARD_CONNECTED_ITEM_GetEffectiveNetclass(self)
8714
8715 def GetNetClassName(self) -> "wxString":
8716 r"""GetNetClassName(BOARD_CONNECTED_ITEM self) -> wxString"""
8717 return _pcbnew.BOARD_CONNECTED_ITEM_GetNetClassName(self)
8718
8719 def SetLocalRatsnestVisible(self, aVisible: "bool") -> "void":
8720 r"""SetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self, bool aVisible)"""
8721 return _pcbnew.BOARD_CONNECTED_ITEM_SetLocalRatsnestVisible(self, aVisible)
8722
8723 def GetLocalRatsnestVisible(self) -> "bool":
8724 r"""GetLocalRatsnestVisible(BOARD_CONNECTED_ITEM self) -> bool"""
8725 return _pcbnew.BOARD_CONNECTED_ITEM_GetLocalRatsnestVisible(self)
8726 __swig_destroy__ = _pcbnew.delete_BOARD_CONNECTED_ITEM
8727
8728# Register BOARD_CONNECTED_ITEM in _pcbnew:
8729_pcbnew.BOARD_CONNECTED_ITEM_swigregister(BOARD_CONNECTED_ITEM)
8730
8731def BOARD_CONNECTED_ITEM_ClassOf(aItem: "EDA_ITEM") -> "bool":
8732 r"""BOARD_CONNECTED_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
8733 return _pcbnew.BOARD_CONNECTED_ITEM_ClassOf(aItem)
8734
8735DEFAULT_SILK_LINE_WIDTH = _pcbnew.DEFAULT_SILK_LINE_WIDTH
8736
8737DEFAULT_COPPER_LINE_WIDTH = _pcbnew.DEFAULT_COPPER_LINE_WIDTH
8738
8739DEFAULT_EDGE_WIDTH = _pcbnew.DEFAULT_EDGE_WIDTH
8740
8741DEFAULT_COURTYARD_WIDTH = _pcbnew.DEFAULT_COURTYARD_WIDTH
8742
8743DEFAULT_LINE_WIDTH = _pcbnew.DEFAULT_LINE_WIDTH
8744
8745DEFAULT_SILK_TEXT_SIZE = _pcbnew.DEFAULT_SILK_TEXT_SIZE
8746
8747DEFAULT_COPPER_TEXT_SIZE = _pcbnew.DEFAULT_COPPER_TEXT_SIZE
8748
8749DEFAULT_TEXT_SIZE = _pcbnew.DEFAULT_TEXT_SIZE
8750
8751DEFAULT_SILK_TEXT_WIDTH = _pcbnew.DEFAULT_SILK_TEXT_WIDTH
8752
8753DEFAULT_COPPER_TEXT_WIDTH = _pcbnew.DEFAULT_COPPER_TEXT_WIDTH
8754
8755DEFAULT_TEXT_WIDTH = _pcbnew.DEFAULT_TEXT_WIDTH
8756
8757DEFAULT_DIMENSION_ARROW_LENGTH = _pcbnew.DEFAULT_DIMENSION_ARROW_LENGTH
8758
8759DEFAULT_DIMENSION_EXTENSION_OFFSET = _pcbnew.DEFAULT_DIMENSION_EXTENSION_OFFSET
8760
8761DEFAULT_BOARD_THICKNESS_MM = _pcbnew.DEFAULT_BOARD_THICKNESS_MM
8762
8763DEFAULT_PCB_EDGE_THICKNESS = _pcbnew.DEFAULT_PCB_EDGE_THICKNESS
8764
8765DEFAULT_SOLDERMASK_CLEARANCE = _pcbnew.DEFAULT_SOLDERMASK_CLEARANCE
8766
8767DEFAULT_SOLDERMASK_MIN_WIDTH = _pcbnew.DEFAULT_SOLDERMASK_MIN_WIDTH
8768
8769DEFAULT_SOLDERPASTE_CLEARANCE = _pcbnew.DEFAULT_SOLDERPASTE_CLEARANCE
8770
8771DEFAULT_SOLDERPASTE_RATIO = _pcbnew.DEFAULT_SOLDERPASTE_RATIO
8772
8773DEFAULT_CUSTOMTRACKWIDTH = _pcbnew.DEFAULT_CUSTOMTRACKWIDTH
8774
8775DEFAULT_CUSTOMDPAIRWIDTH = _pcbnew.DEFAULT_CUSTOMDPAIRWIDTH
8776
8777DEFAULT_CUSTOMDPAIRGAP = _pcbnew.DEFAULT_CUSTOMDPAIRGAP
8778
8779DEFAULT_CUSTOMDPAIRVIAGAP = _pcbnew.DEFAULT_CUSTOMDPAIRVIAGAP
8780
8781DEFAULT_MINCLEARANCE = _pcbnew.DEFAULT_MINCLEARANCE
8782
8783DEFAULT_TRACKMINWIDTH = _pcbnew.DEFAULT_TRACKMINWIDTH
8784
8785DEFAULT_VIASMINSIZE = _pcbnew.DEFAULT_VIASMINSIZE
8786
8787DEFAULT_MINTHROUGHDRILL = _pcbnew.DEFAULT_MINTHROUGHDRILL
8788
8789DEFAULT_MICROVIASMINSIZE = _pcbnew.DEFAULT_MICROVIASMINSIZE
8790
8791DEFAULT_MICROVIASMINDRILL = _pcbnew.DEFAULT_MICROVIASMINDRILL
8792
8793DEFAULT_HOLETOHOLEMIN = _pcbnew.DEFAULT_HOLETOHOLEMIN
8794
8795DEFAULT_HOLECLEARANCE = _pcbnew.DEFAULT_HOLECLEARANCE
8796
8797DEFAULT_COPPEREDGECLEARANCE = _pcbnew.DEFAULT_COPPEREDGECLEARANCE
8798
8799LEGACY_COPPEREDGECLEARANCE = _pcbnew.LEGACY_COPPEREDGECLEARANCE
8800
8801DEFAULT_SILKCLEARANCE = _pcbnew.DEFAULT_SILKCLEARANCE
8802
8803MINIMUM_ERROR_SIZE_MM = _pcbnew.MINIMUM_ERROR_SIZE_MM
8804
8805MAXIMUM_ERROR_SIZE_MM = _pcbnew.MAXIMUM_ERROR_SIZE_MM
8806
8808 r"""Proxy of C++ VIA_DIMENSION class."""
8809
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""")
8814
8815 def __init__(self, *args):
8816 r"""
8817 __init__(VIA_DIMENSION self) -> VIA_DIMENSION
8818 __init__(VIA_DIMENSION self, int aDiameter, int aDrill) -> VIA_DIMENSION
8819 """
8820 _pcbnew.VIA_DIMENSION_swiginit(self, _pcbnew.new_VIA_DIMENSION(*args))
8821
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)
8825
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
8830
8831# Register VIA_DIMENSION in _pcbnew:
8832_pcbnew.VIA_DIMENSION_swigregister(VIA_DIMENSION)
8833
8835 r"""Proxy of C++ DIFF_PAIR_DIMENSION class."""
8836
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""")
8842
8843 def __init__(self, *args):
8844 r"""
8845 __init__(DIFF_PAIR_DIMENSION self) -> DIFF_PAIR_DIMENSION
8846 __init__(DIFF_PAIR_DIMENSION self, int aWidth, int aGap, int aViaGap) -> DIFF_PAIR_DIMENSION
8847 """
8848 _pcbnew.DIFF_PAIR_DIMENSION_swiginit(self, _pcbnew.new_DIFF_PAIR_DIMENSION(*args))
8849
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)
8853
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
8858
8859# Register DIFF_PAIR_DIMENSION in _pcbnew:
8860_pcbnew.DIFF_PAIR_DIMENSION_swigregister(DIFF_PAIR_DIMENSION)
8861
8862LAYER_CLASS_SILK = _pcbnew.LAYER_CLASS_SILK
8863
8864LAYER_CLASS_COPPER = _pcbnew.LAYER_CLASS_COPPER
8865
8866LAYER_CLASS_EDGES = _pcbnew.LAYER_CLASS_EDGES
8867
8868LAYER_CLASS_COURTYARD = _pcbnew.LAYER_CLASS_COURTYARD
8869
8870LAYER_CLASS_FAB = _pcbnew.LAYER_CLASS_FAB
8871
8872LAYER_CLASS_OTHERS = _pcbnew.LAYER_CLASS_OTHERS
8873
8874LAYER_CLASS_COUNT = _pcbnew.LAYER_CLASS_COUNT
8875
8877 r"""Proxy of C++ TEXT_ITEM_INFO class."""
8878
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""")
8884
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
8889
8890# Register TEXT_ITEM_INFO in _pcbnew:
8891_pcbnew.TEXT_ITEM_INFO_swigregister(TEXT_ITEM_INFO)
8892
8894 r"""Proxy of C++ BOARD_DESIGN_SETTINGS class."""
8895
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
8899
8900 def __init__(self, *args):
8901 r"""
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
8904 """
8905 _pcbnew.BOARD_DESIGN_SETTINGS_swiginit(self, _pcbnew.new_BOARD_DESIGN_SETTINGS(*args))
8906
8907 def LoadFromFile(self, *args) -> "bool":
8908 r"""LoadFromFile(BOARD_DESIGN_SETTINGS self, wxString aDirectory="") -> bool"""
8909 return _pcbnew.BOARD_DESIGN_SETTINGS_LoadFromFile(self, *args)
8910
8911 def GetStackupDescriptor(self, *args) -> "BOARD_STACKUP const &":
8912 r"""
8913 GetStackupDescriptor(BOARD_DESIGN_SETTINGS self) -> BOARD_STACKUP
8914 GetStackupDescriptor(BOARD_DESIGN_SETTINGS self) -> BOARD_STACKUP const &
8915 """
8916 return _pcbnew.BOARD_DESIGN_SETTINGS_GetStackupDescriptor(self, *args)
8917
8918 def GetSeverity(self, aDRCErrorCode: "int") -> "SEVERITY":
8919 r"""GetSeverity(BOARD_DESIGN_SETTINGS self, int aDRCErrorCode) -> SEVERITY"""
8920 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSeverity(self, aDRCErrorCode)
8921
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)
8925
8926 def GetNetClasses(self) -> "NETCLASSES &":
8927 r"""GetNetClasses(BOARD_DESIGN_SETTINGS self) -> NETCLASSES"""
8928 return _pcbnew.BOARD_DESIGN_SETTINGS_GetNetClasses(self)
8929
8930 def SetNetClasses(self, aNetClasses: "NETCLASSES") -> "void":
8931 r"""SetNetClasses(BOARD_DESIGN_SETTINGS self, NETCLASSES aNetClasses)"""
8932 return _pcbnew.BOARD_DESIGN_SETTINGS_SetNetClasses(self, aNetClasses)
8933
8934 def GetDefaultZoneSettings(self) -> "ZONE_SETTINGS &":
8935 r"""GetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self) -> ZONE_SETTINGS"""
8936 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDefaultZoneSettings(self)
8937
8938 def SetDefaultZoneSettings(self, aSettings: "ZONE_SETTINGS") -> "void":
8939 r"""SetDefaultZoneSettings(BOARD_DESIGN_SETTINGS self, ZONE_SETTINGS aSettings)"""
8940 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDefaultZoneSettings(self, aSettings)
8941
8942 def GetDefault(self) -> "NETCLASS *":
8943 r"""GetDefault(BOARD_DESIGN_SETTINGS self) -> NETCLASS *"""
8944 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDefault(self)
8945
8946 def GetCurrentNetClassName(self) -> "wxString const &":
8947 r"""GetCurrentNetClassName(BOARD_DESIGN_SETTINGS self) -> wxString"""
8948 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentNetClassName(self)
8949
8950 def UseNetClassTrack(self) -> "bool":
8951 r"""UseNetClassTrack(BOARD_DESIGN_SETTINGS self) -> bool"""
8952 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassTrack(self)
8953
8954 def UseNetClassVia(self) -> "bool":
8955 r"""UseNetClassVia(BOARD_DESIGN_SETTINGS self) -> bool"""
8956 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassVia(self)
8957
8958 def UseNetClassDiffPair(self) -> "bool":
8959 r"""UseNetClassDiffPair(BOARD_DESIGN_SETTINGS self) -> bool"""
8960 return _pcbnew.BOARD_DESIGN_SETTINGS_UseNetClassDiffPair(self)
8961
8962 def GetBiggestClearanceValue(self) -> "int":
8963 r"""GetBiggestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
8964 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBiggestClearanceValue(self)
8965
8966 def GetSmallestClearanceValue(self) -> "int":
8967 r"""GetSmallestClearanceValue(BOARD_DESIGN_SETTINGS self) -> int"""
8968 return _pcbnew.BOARD_DESIGN_SETTINGS_GetSmallestClearanceValue(self)
8969
8970 def GetCurrentMicroViaSize(self) -> "int":
8971 r"""GetCurrentMicroViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
8972 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentMicroViaSize(self)
8973
8974 def GetCurrentMicroViaDrill(self) -> "int":
8975 r"""GetCurrentMicroViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
8976 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentMicroViaDrill(self)
8977
8978 def GetTrackWidthIndex(self) -> "unsigned int":
8979 r"""GetTrackWidthIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
8980 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTrackWidthIndex(self)
8981
8982 def SetTrackWidthIndex(self, aIndex: "unsigned int") -> "void":
8983 r"""SetTrackWidthIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
8984 return _pcbnew.BOARD_DESIGN_SETTINGS_SetTrackWidthIndex(self, aIndex)
8985
8986 def GetCurrentTrackWidth(self) -> "int":
8987 r"""GetCurrentTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
8988 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentTrackWidth(self)
8989
8990 def SetCustomTrackWidth(self, aWidth: "int") -> "void":
8991 r"""SetCustomTrackWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
8992 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomTrackWidth(self, aWidth)
8993
8994 def GetCustomTrackWidth(self) -> "int":
8995 r"""GetCustomTrackWidth(BOARD_DESIGN_SETTINGS self) -> int"""
8996 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomTrackWidth(self)
8997
8998 def GetViaSizeIndex(self) -> "unsigned int":
8999 r"""GetViaSizeIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
9000 return _pcbnew.BOARD_DESIGN_SETTINGS_GetViaSizeIndex(self)
9001
9002 def SetViaSizeIndex(self, aIndex: "unsigned int") -> "void":
9003 r"""SetViaSizeIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
9004 return _pcbnew.BOARD_DESIGN_SETTINGS_SetViaSizeIndex(self, aIndex)
9005
9006 def GetCurrentViaSize(self) -> "int":
9007 r"""GetCurrentViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
9008 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaSize(self)
9009
9010 def SetCustomViaSize(self, aSize: "int") -> "void":
9011 r"""SetCustomViaSize(BOARD_DESIGN_SETTINGS self, int aSize)"""
9012 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaSize(self, aSize)
9013
9014 def GetCustomViaSize(self) -> "int":
9015 r"""GetCustomViaSize(BOARD_DESIGN_SETTINGS self) -> int"""
9016 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaSize(self)
9017
9018 def GetCurrentViaDrill(self) -> "int":
9019 r"""GetCurrentViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
9020 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentViaDrill(self)
9021
9022 def SetCustomViaDrill(self, aDrill: "int") -> "void":
9023 r"""SetCustomViaDrill(BOARD_DESIGN_SETTINGS self, int aDrill)"""
9024 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomViaDrill(self, aDrill)
9025
9026 def GetCustomViaDrill(self) -> "int":
9027 r"""GetCustomViaDrill(BOARD_DESIGN_SETTINGS self) -> int"""
9028 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomViaDrill(self)
9029
9030 def UseCustomTrackViaSize(self, *args) -> "bool":
9031 r"""
9032 UseCustomTrackViaSize(BOARD_DESIGN_SETTINGS self, bool aEnabled)
9033 UseCustomTrackViaSize(BOARD_DESIGN_SETTINGS self) -> bool
9034 """
9035 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomTrackViaSize(self, *args)
9036
9037 def GetDiffPairIndex(self) -> "unsigned int":
9038 r"""GetDiffPairIndex(BOARD_DESIGN_SETTINGS self) -> unsigned int"""
9039 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDiffPairIndex(self)
9040
9041 def SetDiffPairIndex(self, aIndex: "unsigned int") -> "void":
9042 r"""SetDiffPairIndex(BOARD_DESIGN_SETTINGS self, unsigned int aIndex)"""
9043 return _pcbnew.BOARD_DESIGN_SETTINGS_SetDiffPairIndex(self, aIndex)
9044
9045 def SetCustomDiffPairWidth(self, aWidth: "int") -> "void":
9046 r"""SetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self, int aWidth)"""
9047 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairWidth(self, aWidth)
9048
9049 def GetCustomDiffPairWidth(self) -> "int":
9050 r"""GetCustomDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
9051 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairWidth(self)
9052
9053 def SetCustomDiffPairGap(self, aGap: "int") -> "void":
9054 r"""SetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
9055 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairGap(self, aGap)
9056
9057 def GetCustomDiffPairGap(self) -> "int":
9058 r"""GetCustomDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
9059 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairGap(self)
9060
9061 def SetCustomDiffPairViaGap(self, aGap: "int") -> "void":
9062 r"""SetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self, int aGap)"""
9063 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCustomDiffPairViaGap(self, aGap)
9064
9065 def GetCustomDiffPairViaGap(self) -> "int":
9066 r"""GetCustomDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
9067 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCustomDiffPairViaGap(self)
9068
9069 def UseCustomDiffPairDimensions(self, *args) -> "bool":
9070 r"""
9071 UseCustomDiffPairDimensions(BOARD_DESIGN_SETTINGS self, bool aEnabled)
9072 UseCustomDiffPairDimensions(BOARD_DESIGN_SETTINGS self) -> bool
9073 """
9074 return _pcbnew.BOARD_DESIGN_SETTINGS_UseCustomDiffPairDimensions(self, *args)
9075
9076 def GetCurrentDiffPairWidth(self) -> "int":
9077 r"""GetCurrentDiffPairWidth(BOARD_DESIGN_SETTINGS self) -> int"""
9078 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairWidth(self)
9079
9080 def GetCurrentDiffPairGap(self) -> "int":
9081 r"""GetCurrentDiffPairGap(BOARD_DESIGN_SETTINGS self) -> int"""
9082 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairGap(self)
9083
9084 def GetCurrentDiffPairViaGap(self) -> "int":
9085 r"""GetCurrentDiffPairViaGap(BOARD_DESIGN_SETTINGS self) -> int"""
9086 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCurrentDiffPairViaGap(self)
9087
9088 def SetMinHoleSeparation(self, aDistance: "int") -> "void":
9089 r"""SetMinHoleSeparation(BOARD_DESIGN_SETTINGS self, int aDistance)"""
9090 return _pcbnew.BOARD_DESIGN_SETTINGS_SetMinHoleSeparation(self, aDistance)
9091
9092 def SetCopperEdgeClearance(self, aDistance: "int") -> "void":
9093 r"""SetCopperEdgeClearance(BOARD_DESIGN_SETTINGS self, int aDistance)"""
9094 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCopperEdgeClearance(self, aDistance)
9095
9096 def SetSilkClearance(self, aDistance: "int") -> "void":
9097 r"""SetSilkClearance(BOARD_DESIGN_SETTINGS self, int aDistance)"""
9098 return _pcbnew.BOARD_DESIGN_SETTINGS_SetSilkClearance(self, aDistance)
9099
9100 def GetEnabledLayers(self) -> "LSET":
9101 r"""GetEnabledLayers(BOARD_DESIGN_SETTINGS self) -> LSET"""
9102 return _pcbnew.BOARD_DESIGN_SETTINGS_GetEnabledLayers(self)
9103
9104 def SetEnabledLayers(self, aMask: "LSET") -> "void":
9105 r"""SetEnabledLayers(BOARD_DESIGN_SETTINGS self, LSET aMask)"""
9106 return _pcbnew.BOARD_DESIGN_SETTINGS_SetEnabledLayers(self, aMask)
9107
9108 def IsLayerEnabled(self, aLayerId: "PCB_LAYER_ID") -> "bool":
9109 r"""IsLayerEnabled(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayerId) -> bool"""
9110 return _pcbnew.BOARD_DESIGN_SETTINGS_IsLayerEnabled(self, aLayerId)
9111
9112 def GetCopperLayerCount(self) -> "int":
9113 r"""GetCopperLayerCount(BOARD_DESIGN_SETTINGS self) -> int"""
9114 return _pcbnew.BOARD_DESIGN_SETTINGS_GetCopperLayerCount(self)
9115
9116 def SetCopperLayerCount(self, aNewLayerCount: "int") -> "void":
9117 r"""SetCopperLayerCount(BOARD_DESIGN_SETTINGS self, int aNewLayerCount)"""
9118 return _pcbnew.BOARD_DESIGN_SETTINGS_SetCopperLayerCount(self, aNewLayerCount)
9119
9120 def GetBoardThickness(self) -> "int":
9121 r"""GetBoardThickness(BOARD_DESIGN_SETTINGS self) -> int"""
9122 return _pcbnew.BOARD_DESIGN_SETTINGS_GetBoardThickness(self)
9123
9124 def SetBoardThickness(self, aThickness: "int") -> "void":
9125 r"""SetBoardThickness(BOARD_DESIGN_SETTINGS self, int aThickness)"""
9126 return _pcbnew.BOARD_DESIGN_SETTINGS_SetBoardThickness(self, aThickness)
9127
9128 def GetDRCEpsilon(self) -> "int":
9129 r"""GetDRCEpsilon(BOARD_DESIGN_SETTINGS self) -> int"""
9130 return _pcbnew.BOARD_DESIGN_SETTINGS_GetDRCEpsilon(self)
9131
9132 def GetHolePlatingThickness(self) -> "int":
9133 r"""GetHolePlatingThickness(BOARD_DESIGN_SETTINGS self) -> int"""
9134 return _pcbnew.BOARD_DESIGN_SETTINGS_GetHolePlatingThickness(self)
9135
9136 def GetLineThickness(self, aLayer: "PCB_LAYER_ID") -> "int":
9137 r"""GetLineThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
9138 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLineThickness(self, aLayer)
9139
9140 def GetTextSize(self, aLayer: "PCB_LAYER_ID") -> "wxSize":
9141 r"""GetTextSize(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> wxSize"""
9142 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextSize(self, aLayer)
9143
9144 def GetTextThickness(self, aLayer: "PCB_LAYER_ID") -> "int":
9145 r"""GetTextThickness(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
9146 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextThickness(self, aLayer)
9147
9148 def GetTextItalic(self, aLayer: "PCB_LAYER_ID") -> "bool":
9149 r"""GetTextItalic(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
9150 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextItalic(self, aLayer)
9151
9152 def GetTextUpright(self, aLayer: "PCB_LAYER_ID") -> "bool":
9153 r"""GetTextUpright(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> bool"""
9154 return _pcbnew.BOARD_DESIGN_SETTINGS_GetTextUpright(self, aLayer)
9155
9156 def GetLayerClass(self, aLayer: "PCB_LAYER_ID") -> "int":
9157 r"""GetLayerClass(BOARD_DESIGN_SETTINGS self, PCB_LAYER_ID aLayer) -> int"""
9158 return _pcbnew.BOARD_DESIGN_SETTINGS_GetLayerClass(self, aLayer)
9159
9160 def SetAuxOrigin(self, aOrigin: "wxPoint") -> "void":
9161 r"""SetAuxOrigin(BOARD_DESIGN_SETTINGS self, wxPoint aOrigin)"""
9162 return _pcbnew.BOARD_DESIGN_SETTINGS_SetAuxOrigin(self, aOrigin)
9163
9164 def GetAuxOrigin(self) -> "wxPoint const &":
9165 r"""GetAuxOrigin(BOARD_DESIGN_SETTINGS self) -> wxPoint"""
9166 return _pcbnew.BOARD_DESIGN_SETTINGS_GetAuxOrigin(self)
9167
9168 def SetGridOrigin(self, aOrigin: "wxPoint") -> "void":
9169 r"""SetGridOrigin(BOARD_DESIGN_SETTINGS self, wxPoint aOrigin)"""
9170 return _pcbnew.BOARD_DESIGN_SETTINGS_SetGridOrigin(self, aOrigin)
9171
9172 def GetGridOrigin(self) -> "wxPoint const &":
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""")
9219
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)
9223
9224# Register BOARD_DESIGN_SETTINGS in _pcbnew:
9225_pcbnew.BOARD_DESIGN_SETTINGS_swigregister(BOARD_DESIGN_SETTINGS)
9226
9228 r"""Proxy of C++ CN_DISJOINT_NET_ENTRY class."""
9229
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""")
9237
9238 def __init__(self):
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
9242
9243# Register CN_DISJOINT_NET_ENTRY in _pcbnew:
9244_pcbnew.CN_DISJOINT_NET_ENTRY_swigregister(CN_DISJOINT_NET_ENTRY)
9245
9247 r"""Proxy of C++ CN_ZONE_ISOLATED_ISLAND_LIST class."""
9248
9249 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9250 __repr__ = _swig_repr
9251
9252 def __init__(self, aZone: "ZONE"):
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
9258
9259# Register CN_ZONE_ISOLATED_ISLAND_LIST in _pcbnew:
9260_pcbnew.CN_ZONE_ISOLATED_ISLAND_LIST_swigregister(CN_ZONE_ISOLATED_ISLAND_LIST)
9261
9263 r"""Proxy of C++ RN_DYNAMIC_LINE class."""
9264
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""")
9270
9271 def __init__(self):
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
9275
9276# Register RN_DYNAMIC_LINE in _pcbnew:
9277_pcbnew.RN_DYNAMIC_LINE_swigregister(RN_DYNAMIC_LINE)
9278
9279PROPAGATE_MODE_SKIP_CONFLICTS = _pcbnew.PROPAGATE_MODE_SKIP_CONFLICTS
9280
9281PROPAGATE_MODE_RESOLVE_CONFLICTS = _pcbnew.PROPAGATE_MODE_RESOLVE_CONFLICTS
9282
9284 r"""Proxy of C++ CONNECTIVITY_DATA class."""
9285
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
9289
9290 def __init__(self, *args):
9291 r"""
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
9294 """
9295 _pcbnew.CONNECTIVITY_DATA_swiginit(self, _pcbnew.new_CONNECTIVITY_DATA(*args))
9296
9297 def Build(self, *args) -> "void":
9298 r"""
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)
9301 """
9302 return _pcbnew.CONNECTIVITY_DATA_Build(self, *args)
9303
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)
9307
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)
9311
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)
9315
9316 def Move(self, aDelta: "VECTOR2I") -> "void":
9317 r"""Move(CONNECTIVITY_DATA self, VECTOR2I aDelta)"""
9318 return _pcbnew.CONNECTIVITY_DATA_Move(self, aDelta)
9319
9320 def Clear(self) -> "void":
9321 r"""Clear(CONNECTIVITY_DATA self)"""
9322 return _pcbnew.CONNECTIVITY_DATA_Clear(self)
9323
9324 def GetNetCount(self) -> "int":
9325 r"""GetNetCount(CONNECTIVITY_DATA self) -> int"""
9326 return _pcbnew.CONNECTIVITY_DATA_GetNetCount(self)
9327
9328 def GetRatsnestForNet(self, aNet: "int") -> "RN_NET *":
9329 r"""GetRatsnestForNet(CONNECTIVITY_DATA self, int aNet) -> RN_NET *"""
9330 return _pcbnew.CONNECTIVITY_DATA_GetRatsnestForNet(self, aNet)
9331
9332 def PropagateNets(self, *args) -> "void":
9333 r"""PropagateNets(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None, PROPAGATE_MODE aMode=SKIP_CONFLICTS)"""
9334 return _pcbnew.CONNECTIVITY_DATA_PropagateNets(self, *args)
9335
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)
9339
9340 def FindIsolatedCopperIslands(self, *args) -> "void":
9341 r"""
9342 FindIsolatedCopperIslands(CONNECTIVITY_DATA self, ZONE aZone, intVector aIslands)
9343 FindIsolatedCopperIslands(CONNECTIVITY_DATA self, std::vector< CN_ZONE_ISOLATED_ISLAND_LIST,std::allocator< CN_ZONE_ISOLATED_ISLAND_LIST > > & aZones)
9344 """
9345 return _pcbnew.CONNECTIVITY_DATA_FindIsolatedCopperIslands(self, *args)
9346
9347 def RecalculateRatsnest(self, aCommit: "BOARD_COMMIT *"=None) -> "void":
9348 r"""RecalculateRatsnest(CONNECTIVITY_DATA self, BOARD_COMMIT * aCommit=None)"""
9349 return _pcbnew.CONNECTIVITY_DATA_RecalculateRatsnest(self, aCommit)
9350
9351 def GetUnconnectedCount(self) -> "unsigned int":
9352 r"""GetUnconnectedCount(CONNECTIVITY_DATA self) -> unsigned int"""
9353 return _pcbnew.CONNECTIVITY_DATA_GetUnconnectedCount(self)
9354
9355 def IsConnectedOnLayer(self, *args) -> "bool":
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)
9358
9359 def GetNodeCount(self, aNet: "int"=-1) -> "unsigned int":
9360 r"""GetNodeCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
9361 return _pcbnew.CONNECTIVITY_DATA_GetNodeCount(self, aNet)
9362
9363 def GetPadCount(self, aNet: "int"=-1) -> "unsigned int":
9364 r"""GetPadCount(CONNECTIVITY_DATA self, int aNet=-1) -> unsigned int"""
9365 return _pcbnew.CONNECTIVITY_DATA_GetPadCount(self, aNet)
9366
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)
9370
9371 def GetConnectedPads(self, *args) -> "void":
9372 r"""
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)
9375 """
9376 return _pcbnew.CONNECTIVITY_DATA_GetConnectedPads(self, *args)
9377
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)
9381
9382 def GetUnconnectedEdges(self, aEdges: "std::vector< CN_EDGE,std::allocator< CN_EDGE > > &") -> "void":
9383 r"""GetUnconnectedEdges(CONNECTIVITY_DATA self, std::vector< CN_EDGE,std::allocator< CN_EDGE > > & aEdges)"""
9384 return _pcbnew.CONNECTIVITY_DATA_GetUnconnectedEdges(self, aEdges)
9385
9386 def TestTrackEndpointDangling(self, aTrack: "PCB_TRACK", aPos: "wxPoint"=None) -> "bool":
9387 r"""TestTrackEndpointDangling(CONNECTIVITY_DATA self, PCB_TRACK aTrack, wxPoint aPos=None) -> bool"""
9388 return _pcbnew.CONNECTIVITY_DATA_TestTrackEndpointDangling(self, aTrack, aPos)
9389
9390 def ClearDynamicRatsnest(self) -> "void":
9391 r"""ClearDynamicRatsnest(CONNECTIVITY_DATA self)"""
9392 return _pcbnew.CONNECTIVITY_DATA_ClearDynamicRatsnest(self)
9393
9394 def HideDynamicRatsnest(self) -> "void":
9395 r"""HideDynamicRatsnest(CONNECTIVITY_DATA self)"""
9396 return _pcbnew.CONNECTIVITY_DATA_HideDynamicRatsnest(self)
9397
9398 def ComputeDynamicRatsnest(self, *args) -> "void":
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)
9401
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)
9405
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)
9409
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)
9413
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)
9417
9418 def GetConnectivityAlgo(self) -> "std::shared_ptr< CN_CONNECTIVITY_ALGO >":
9419 r"""GetConnectivityAlgo(CONNECTIVITY_DATA self) -> std::shared_ptr< CN_CONNECTIVITY_ALGO >"""
9420 return _pcbnew.CONNECTIVITY_DATA_GetConnectivityAlgo(self)
9421
9422 def GetLock(self) -> "KISPINLOCK &":
9423 r"""GetLock(CONNECTIVITY_DATA self) -> KISPINLOCK &"""
9424 return _pcbnew.CONNECTIVITY_DATA_GetLock(self)
9425
9426 def MarkItemNetAsDirty(self, aItem: "BOARD_ITEM") -> "void":
9427 r"""MarkItemNetAsDirty(CONNECTIVITY_DATA self, BOARD_ITEM aItem)"""
9428 return _pcbnew.CONNECTIVITY_DATA_MarkItemNetAsDirty(self, aItem)
9429
9430 def SetProgressReporter(self, aReporter: "PROGRESS_REPORTER *") -> "void":
9431 r"""SetProgressReporter(CONNECTIVITY_DATA self, PROGRESS_REPORTER * aReporter)"""
9432 return _pcbnew.CONNECTIVITY_DATA_SetProgressReporter(self, aReporter)
9433
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)
9437
9438 def GetFromToCache(self) -> "std::shared_ptr< FROM_TO_CACHE >":
9439 r"""GetFromToCache(CONNECTIVITY_DATA self) -> std::shared_ptr< FROM_TO_CACHE >"""
9440 return _pcbnew.CONNECTIVITY_DATA_GetFromToCache(self)
9441
9442# Register CONNECTIVITY_DATA in _pcbnew:
9443_pcbnew.CONNECTIVITY_DATA_swigregister(CONNECTIVITY_DATA)
9444
9446 r"""Proxy of C++ std::vector< PCB_MARKER * > class."""
9447
9448 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9449 __repr__ = _swig_repr
9450
9451 def iterator(self) -> "swig::SwigPyIterator *":
9452 r"""iterator(MARKERS self) -> SwigPyIterator"""
9453 return _pcbnew.MARKERS_iterator(self)
9454 def __iter__(self):
9455 return self.iterator()
9456
9457 def __nonzero__(self) -> "bool":
9458 r"""__nonzero__(MARKERS self) -> bool"""
9459 return _pcbnew.MARKERS___nonzero__(self)
9460
9461 def __bool__(self) -> "bool":
9462 r"""__bool__(MARKERS self) -> bool"""
9463 return _pcbnew.MARKERS___bool__(self)
9464
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)
9468
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)
9472
9473 def __setslice__(self, *args) -> "void":
9474 r"""
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)
9477 """
9478 return _pcbnew.MARKERS___setslice__(self, *args)
9479
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)
9483
9484 def __delitem__(self, *args) -> "void":
9485 r"""
9486 __delitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i)
9487 __delitem__(MARKERS self, PySliceObject * slice)
9488 """
9489 return _pcbnew.MARKERS___delitem__(self, *args)
9490
9491 def __getitem__(self, *args) -> "std::vector< PCB_MARKER * >::value_type":
9492 r"""
9493 __getitem__(MARKERS self, PySliceObject * slice) -> MARKERS
9494 __getitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i) -> PCB_MARKER
9495 """
9496 return _pcbnew.MARKERS___getitem__(self, *args)
9497
9498 def __setitem__(self, *args) -> "void":
9499 r"""
9500 __setitem__(MARKERS self, PySliceObject * slice, MARKERS v)
9501 __setitem__(MARKERS self, PySliceObject * slice)
9502 __setitem__(MARKERS self, std::vector< PCB_MARKER * >::difference_type i, PCB_MARKER x)
9503 """
9504 return _pcbnew.MARKERS___setitem__(self, *args)
9505
9506 def pop(self) -> "std::vector< PCB_MARKER * >::value_type":
9507 r"""pop(MARKERS self) -> PCB_MARKER"""
9508 return _pcbnew.MARKERS_pop(self)
9509
9510 def append(self, x: "PCB_MARKER") -> "void":
9511 r"""append(MARKERS self, PCB_MARKER x)"""
9512 return _pcbnew.MARKERS_append(self, x)
9513
9514 def empty(self) -> "bool":
9515 r"""empty(MARKERS self) -> bool"""
9516 return _pcbnew.MARKERS_empty(self)
9517
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)
9521
9522 def swap(self, v: "MARKERS") -> "void":
9523 r"""swap(MARKERS self, MARKERS v)"""
9524 return _pcbnew.MARKERS_swap(self, v)
9525
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)
9529
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)
9533
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)
9537
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)
9541
9542 def clear(self) -> "void":
9543 r"""clear(MARKERS self)"""
9544 return _pcbnew.MARKERS_clear(self)
9545
9546 def get_allocator(self) -> "std::vector< PCB_MARKER * >::allocator_type":
9547 r"""get_allocator(MARKERS self) -> std::vector< PCB_MARKER * >::allocator_type"""
9548 return _pcbnew.MARKERS_get_allocator(self)
9549
9550 def pop_back(self) -> "void":
9551 r"""pop_back(MARKERS self)"""
9552 return _pcbnew.MARKERS_pop_back(self)
9553
9554 def erase(self, *args) -> "std::vector< PCB_MARKER * >::iterator":
9555 r"""
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
9558 """
9559 return _pcbnew.MARKERS_erase(self, *args)
9560
9561 def __init__(self, *args):
9562 r"""
9563 __init__(MARKERS self) -> MARKERS
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
9567 """
9568 _pcbnew.MARKERS_swiginit(self, _pcbnew.new_MARKERS(*args))
9569
9570 def push_back(self, x: "PCB_MARKER") -> "void":
9571 r"""push_back(MARKERS self, PCB_MARKER x)"""
9572 return _pcbnew.MARKERS_push_back(self, x)
9573
9574 def front(self) -> "std::vector< PCB_MARKER * >::value_type":
9575 r"""front(MARKERS self) -> PCB_MARKER"""
9576 return _pcbnew.MARKERS_front(self)
9577
9578 def back(self) -> "std::vector< PCB_MARKER * >::value_type":
9579 r"""back(MARKERS self) -> PCB_MARKER"""
9580 return _pcbnew.MARKERS_back(self)
9581
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)
9585
9586 def resize(self, *args) -> "void":
9587 r"""
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)
9590 """
9591 return _pcbnew.MARKERS_resize(self, *args)
9592
9593 def insert(self, *args) -> "void":
9594 r"""
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)
9597 """
9598 return _pcbnew.MARKERS_insert(self, *args)
9599
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)
9603
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
9608
9609# Register MARKERS in _pcbnew:
9610_pcbnew.MARKERS_swigregister(MARKERS)
9611
9613 r"""Proxy of C++ std::vector< ZONE * > class."""
9614
9615 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9616 __repr__ = _swig_repr
9617
9618 def iterator(self) -> "swig::SwigPyIterator *":
9619 r"""iterator(ZONES self) -> SwigPyIterator"""
9620 return _pcbnew.ZONES_iterator(self)
9621 def __iter__(self):
9622 return self.iterator()
9623
9624 def __nonzero__(self) -> "bool":
9625 r"""__nonzero__(ZONES self) -> bool"""
9626 return _pcbnew.ZONES___nonzero__(self)
9627
9628 def __bool__(self) -> "bool":
9629 r"""__bool__(ZONES self) -> bool"""
9630 return _pcbnew.ZONES___bool__(self)
9631
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)
9635
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)
9639
9640 def __setslice__(self, *args) -> "void":
9641 r"""
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)
9644 """
9645 return _pcbnew.ZONES___setslice__(self, *args)
9646
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)
9650
9651 def __delitem__(self, *args) -> "void":
9652 r"""
9653 __delitem__(ZONES self, std::vector< ZONE * >::difference_type i)
9654 __delitem__(ZONES self, PySliceObject * slice)
9655 """
9656 return _pcbnew.ZONES___delitem__(self, *args)
9657
9658 def __getitem__(self, *args) -> "std::vector< ZONE * >::value_type":
9659 r"""
9660 __getitem__(ZONES self, PySliceObject * slice) -> ZONES
9661 __getitem__(ZONES self, std::vector< ZONE * >::difference_type i) -> ZONE
9662 """
9663 return _pcbnew.ZONES___getitem__(self, *args)
9664
9665 def __setitem__(self, *args) -> "void":
9666 r"""
9667 __setitem__(ZONES self, PySliceObject * slice, ZONES v)
9668 __setitem__(ZONES self, PySliceObject * slice)
9669 __setitem__(ZONES self, std::vector< ZONE * >::difference_type i, ZONE x)
9670 """
9671 return _pcbnew.ZONES___setitem__(self, *args)
9672
9673 def pop(self) -> "std::vector< ZONE * >::value_type":
9674 r"""pop(ZONES self) -> ZONE"""
9675 return _pcbnew.ZONES_pop(self)
9676
9677 def append(self, x: "ZONE") -> "void":
9678 r"""append(ZONES self, ZONE x)"""
9679 return _pcbnew.ZONES_append(self, x)
9680
9681 def empty(self) -> "bool":
9682 r"""empty(ZONES self) -> bool"""
9683 return _pcbnew.ZONES_empty(self)
9684
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)
9688
9689 def swap(self, v: "ZONES") -> "void":
9690 r"""swap(ZONES self, ZONES v)"""
9691 return _pcbnew.ZONES_swap(self, v)
9692
9693 def begin(self) -> "std::vector< ZONE * >::iterator":
9694 r"""begin(ZONES self) -> std::vector< ZONE * >::iterator"""
9695 return _pcbnew.ZONES_begin(self)
9696
9697 def end(self) -> "std::vector< ZONE * >::iterator":
9698 r"""end(ZONES self) -> std::vector< ZONE * >::iterator"""
9699 return _pcbnew.ZONES_end(self)
9700
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)
9704
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)
9708
9709 def clear(self) -> "void":
9710 r"""clear(ZONES self)"""
9711 return _pcbnew.ZONES_clear(self)
9712
9713 def get_allocator(self) -> "std::vector< ZONE * >::allocator_type":
9714 r"""get_allocator(ZONES self) -> std::vector< ZONE * >::allocator_type"""
9715 return _pcbnew.ZONES_get_allocator(self)
9716
9717 def pop_back(self) -> "void":
9718 r"""pop_back(ZONES self)"""
9719 return _pcbnew.ZONES_pop_back(self)
9720
9721 def erase(self, *args) -> "std::vector< ZONE * >::iterator":
9722 r"""
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
9725 """
9726 return _pcbnew.ZONES_erase(self, *args)
9727
9728 def __init__(self, *args):
9729 r"""
9730 __init__(ZONES self) -> ZONES
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
9734 """
9735 _pcbnew.ZONES_swiginit(self, _pcbnew.new_ZONES(*args))
9736
9737 def push_back(self, x: "ZONE") -> "void":
9738 r"""push_back(ZONES self, ZONE x)"""
9739 return _pcbnew.ZONES_push_back(self, x)
9740
9741 def front(self) -> "std::vector< ZONE * >::value_type":
9742 r"""front(ZONES self) -> ZONE"""
9743 return _pcbnew.ZONES_front(self)
9744
9745 def back(self) -> "std::vector< ZONE * >::value_type":
9746 r"""back(ZONES self) -> ZONE"""
9747 return _pcbnew.ZONES_back(self)
9748
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)
9752
9753 def resize(self, *args) -> "void":
9754 r"""
9755 resize(ZONES self, std::vector< ZONE * >::size_type new_size)
9756 resize(ZONES self, std::vector< ZONE * >::size_type new_size, ZONE x)
9757 """
9758 return _pcbnew.ZONES_resize(self, *args)
9759
9760 def insert(self, *args) -> "void":
9761 r"""
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)
9764 """
9765 return _pcbnew.ZONES_insert(self, *args)
9766
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)
9770
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
9775
9776# Register ZONES in _pcbnew:
9777_pcbnew.ZONES_swigregister(ZONES)
9778
9780 r"""Proxy of C++ std::deque< PCB_TRACK * > class."""
9781
9782 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9783 __repr__ = _swig_repr
9784
9785 def iterator(self) -> "swig::SwigPyIterator *":
9786 r"""iterator(TRACKS self) -> SwigPyIterator"""
9787 return _pcbnew.TRACKS_iterator(self)
9788 def __iter__(self):
9789 return self.iterator()
9790
9791 def __nonzero__(self) -> "bool":
9792 r"""__nonzero__(TRACKS self) -> bool"""
9793 return _pcbnew.TRACKS___nonzero__(self)
9794
9795 def __bool__(self) -> "bool":
9796 r"""__bool__(TRACKS self) -> bool"""
9797 return _pcbnew.TRACKS___bool__(self)
9798
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)
9802
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)
9806
9807 def __setslice__(self, *args) -> "void":
9808 r"""
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)
9811 """
9812 return _pcbnew.TRACKS___setslice__(self, *args)
9813
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)
9817
9818 def __delitem__(self, *args) -> "void":
9819 r"""
9820 __delitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i)
9821 __delitem__(TRACKS self, PySliceObject * slice)
9822 """
9823 return _pcbnew.TRACKS___delitem__(self, *args)
9824
9825 def __getitem__(self, *args) -> "std::deque< PCB_TRACK * >::value_type":
9826 r"""
9827 __getitem__(TRACKS self, PySliceObject * slice) -> TRACKS
9828 __getitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i) -> PCB_TRACK
9829 """
9830 return _pcbnew.TRACKS___getitem__(self, *args)
9831
9832 def __setitem__(self, *args) -> "void":
9833 r"""
9834 __setitem__(TRACKS self, PySliceObject * slice, TRACKS v)
9835 __setitem__(TRACKS self, PySliceObject * slice)
9836 __setitem__(TRACKS self, std::deque< PCB_TRACK * >::difference_type i, PCB_TRACK x)
9837 """
9838 return _pcbnew.TRACKS___setitem__(self, *args)
9839
9840 def pop(self) -> "std::deque< PCB_TRACK * >::value_type":
9841 r"""pop(TRACKS self) -> PCB_TRACK"""
9842 return _pcbnew.TRACKS_pop(self)
9843
9844 def append(self, x: "PCB_TRACK") -> "void":
9845 r"""append(TRACKS self, PCB_TRACK x)"""
9846 return _pcbnew.TRACKS_append(self, x)
9847
9848 def empty(self) -> "bool":
9849 r"""empty(TRACKS self) -> bool"""
9850 return _pcbnew.TRACKS_empty(self)
9851
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)
9855
9856 def swap(self, v: "TRACKS") -> "void":
9857 r"""swap(TRACKS self, TRACKS v)"""
9858 return _pcbnew.TRACKS_swap(self, v)
9859
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)
9863
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)
9867
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)
9871
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)
9875
9876 def clear(self) -> "void":
9877 r"""clear(TRACKS self)"""
9878 return _pcbnew.TRACKS_clear(self)
9879
9880 def get_allocator(self) -> "std::deque< PCB_TRACK * >::allocator_type":
9881 r"""get_allocator(TRACKS self) -> std::deque< PCB_TRACK * >::allocator_type"""
9882 return _pcbnew.TRACKS_get_allocator(self)
9883
9884 def pop_back(self) -> "void":
9885 r"""pop_back(TRACKS self)"""
9886 return _pcbnew.TRACKS_pop_back(self)
9887
9888 def erase(self, *args) -> "std::deque< PCB_TRACK * >::iterator":
9889 r"""
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
9892 """
9893 return _pcbnew.TRACKS_erase(self, *args)
9894
9895 def __init__(self, *args):
9896 r"""
9897 __init__(TRACKS self) -> TRACKS
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
9901 """
9902 _pcbnew.TRACKS_swiginit(self, _pcbnew.new_TRACKS(*args))
9903
9904 def push_back(self, x: "PCB_TRACK") -> "void":
9905 r"""push_back(TRACKS self, PCB_TRACK x)"""
9906 return _pcbnew.TRACKS_push_back(self, x)
9907
9908 def front(self) -> "std::deque< PCB_TRACK * >::value_type":
9909 r"""front(TRACKS self) -> PCB_TRACK"""
9910 return _pcbnew.TRACKS_front(self)
9911
9912 def back(self) -> "std::deque< PCB_TRACK * >::value_type":
9913 r"""back(TRACKS self) -> PCB_TRACK"""
9914 return _pcbnew.TRACKS_back(self)
9915
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)
9919
9920 def resize(self, *args) -> "void":
9921 r"""
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)
9924 """
9925 return _pcbnew.TRACKS_resize(self, *args)
9926
9927 def insert(self, *args) -> "void":
9928 r"""
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)
9931 """
9932 return _pcbnew.TRACKS_insert(self, *args)
9933
9934 def pop_front(self) -> "void":
9935 r"""pop_front(TRACKS self)"""
9936 return _pcbnew.TRACKS_pop_front(self)
9937
9938 def push_front(self, x: "PCB_TRACK") -> "void":
9939 r"""push_front(TRACKS self, PCB_TRACK x)"""
9940 return _pcbnew.TRACKS_push_front(self, x)
9941
9942 def __iter__(self):
9943 it = self.iterator()
9944 try:
9945 while True:
9946 item = it.next() # throws StopIteration when iterator reached the end.
9947 yield item.Cast()
9948 except StopIteration:
9949 return
9950
9951 __swig_destroy__ = _pcbnew.delete_TRACKS
9952
9953# Register TRACKS in _pcbnew:
9954_pcbnew.TRACKS_swigregister(TRACKS)
9955
9957 r"""Proxy of C++ std::deque< FOOTPRINT * > class."""
9958
9959 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9960 __repr__ = _swig_repr
9961
9962 def iterator(self) -> "swig::SwigPyIterator *":
9963 r"""iterator(FOOTPRINTS self) -> SwigPyIterator"""
9964 return _pcbnew.FOOTPRINTS_iterator(self)
9965 def __iter__(self):
9966 return self.iterator()
9967
9968 def __nonzero__(self) -> "bool":
9969 r"""__nonzero__(FOOTPRINTS self) -> bool"""
9970 return _pcbnew.FOOTPRINTS___nonzero__(self)
9971
9972 def __bool__(self) -> "bool":
9973 r"""__bool__(FOOTPRINTS self) -> bool"""
9974 return _pcbnew.FOOTPRINTS___bool__(self)
9975
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)
9979
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)
9983
9984 def __setslice__(self, *args) -> "void":
9985 r"""
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)
9988 """
9989 return _pcbnew.FOOTPRINTS___setslice__(self, *args)
9990
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)
9994
9995 def __delitem__(self, *args) -> "void":
9996 r"""
9997 __delitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i)
9998 __delitem__(FOOTPRINTS self, PySliceObject * slice)
9999 """
10000 return _pcbnew.FOOTPRINTS___delitem__(self, *args)
10001
10002 def __getitem__(self, *args) -> "std::deque< FOOTPRINT * >::value_type":
10003 r"""
10004 __getitem__(FOOTPRINTS self, PySliceObject * slice) -> FOOTPRINTS
10005 __getitem__(FOOTPRINTS self, std::deque< FOOTPRINT * >::difference_type i) -> FOOTPRINT
10006 """
10007 return _pcbnew.FOOTPRINTS___getitem__(self, *args)
10008
10009 def __setitem__(self, *args) -> "void":
10010 r"""
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)
10014 """
10015 return _pcbnew.FOOTPRINTS___setitem__(self, *args)
10016
10017 def pop(self) -> "std::deque< FOOTPRINT * >::value_type":
10018 r"""pop(FOOTPRINTS self) -> FOOTPRINT"""
10019 return _pcbnew.FOOTPRINTS_pop(self)
10020
10021 def append(self, x: "FOOTPRINT") -> "void":
10022 r"""append(FOOTPRINTS self, FOOTPRINT x)"""
10023 return _pcbnew.FOOTPRINTS_append(self, x)
10024
10025 def empty(self) -> "bool":
10026 r"""empty(FOOTPRINTS self) -> bool"""
10027 return _pcbnew.FOOTPRINTS_empty(self)
10028
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)
10032
10033 def swap(self, v: "FOOTPRINTS") -> "void":
10034 r"""swap(FOOTPRINTS self, FOOTPRINTS v)"""
10035 return _pcbnew.FOOTPRINTS_swap(self, v)
10036
10037 def begin(self) -> "std::deque< FOOTPRINT * >::iterator":
10038 r"""begin(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
10039 return _pcbnew.FOOTPRINTS_begin(self)
10040
10041 def end(self) -> "std::deque< FOOTPRINT * >::iterator":
10042 r"""end(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::iterator"""
10043 return _pcbnew.FOOTPRINTS_end(self)
10044
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)
10048
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)
10052
10053 def clear(self) -> "void":
10054 r"""clear(FOOTPRINTS self)"""
10055 return _pcbnew.FOOTPRINTS_clear(self)
10056
10057 def get_allocator(self) -> "std::deque< FOOTPRINT * >::allocator_type":
10058 r"""get_allocator(FOOTPRINTS self) -> std::deque< FOOTPRINT * >::allocator_type"""
10059 return _pcbnew.FOOTPRINTS_get_allocator(self)
10060
10061 def pop_back(self) -> "void":
10062 r"""pop_back(FOOTPRINTS self)"""
10063 return _pcbnew.FOOTPRINTS_pop_back(self)
10064
10065 def erase(self, *args) -> "std::deque< FOOTPRINT * >::iterator":
10066 r"""
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
10069 """
10070 return _pcbnew.FOOTPRINTS_erase(self, *args)
10071
10072 def __init__(self, *args):
10073 r"""
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
10078 """
10079 _pcbnew.FOOTPRINTS_swiginit(self, _pcbnew.new_FOOTPRINTS(*args))
10080
10081 def push_back(self, x: "FOOTPRINT") -> "void":
10082 r"""push_back(FOOTPRINTS self, FOOTPRINT x)"""
10083 return _pcbnew.FOOTPRINTS_push_back(self, x)
10084
10085 def front(self) -> "std::deque< FOOTPRINT * >::value_type":
10086 r"""front(FOOTPRINTS self) -> FOOTPRINT"""
10087 return _pcbnew.FOOTPRINTS_front(self)
10088
10089 def back(self) -> "std::deque< FOOTPRINT * >::value_type":
10090 r"""back(FOOTPRINTS self) -> FOOTPRINT"""
10091 return _pcbnew.FOOTPRINTS_back(self)
10092
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)
10096
10097 def resize(self, *args) -> "void":
10098 r"""
10099 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size)
10100 resize(FOOTPRINTS self, std::deque< FOOTPRINT * >::size_type new_size, FOOTPRINT x)
10101 """
10102 return _pcbnew.FOOTPRINTS_resize(self, *args)
10103
10104 def insert(self, *args) -> "void":
10105 r"""
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)
10108 """
10109 return _pcbnew.FOOTPRINTS_insert(self, *args)
10110
10111 def pop_front(self) -> "void":
10112 r"""pop_front(FOOTPRINTS self)"""
10113 return _pcbnew.FOOTPRINTS_pop_front(self)
10114
10115 def push_front(self, x: "FOOTPRINT") -> "void":
10116 r"""push_front(FOOTPRINTS self, FOOTPRINT x)"""
10117 return _pcbnew.FOOTPRINTS_push_front(self, x)
10118 __swig_destroy__ = _pcbnew.delete_FOOTPRINTS
10119
10120# Register FOOTPRINTS in _pcbnew:
10121_pcbnew.FOOTPRINTS_swigregister(FOOTPRINTS)
10122
10124 r"""Proxy of C++ std::deque< PCB_GROUP * > class."""
10125
10126 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10127 __repr__ = _swig_repr
10128
10129 def iterator(self) -> "swig::SwigPyIterator *":
10130 r"""iterator(GROUPS self) -> SwigPyIterator"""
10131 return _pcbnew.GROUPS_iterator(self)
10132 def __iter__(self):
10133 return self.iterator()
10134
10135 def __nonzero__(self) -> "bool":
10136 r"""__nonzero__(GROUPS self) -> bool"""
10137 return _pcbnew.GROUPS___nonzero__(self)
10138
10139 def __bool__(self) -> "bool":
10140 r"""__bool__(GROUPS self) -> bool"""
10141 return _pcbnew.GROUPS___bool__(self)
10142
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)
10146
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)
10150
10151 def __setslice__(self, *args) -> "void":
10152 r"""
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)
10155 """
10156 return _pcbnew.GROUPS___setslice__(self, *args)
10157
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)
10161
10162 def __delitem__(self, *args) -> "void":
10163 r"""
10164 __delitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i)
10165 __delitem__(GROUPS self, PySliceObject * slice)
10166 """
10167 return _pcbnew.GROUPS___delitem__(self, *args)
10168
10169 def __getitem__(self, *args) -> "std::deque< PCB_GROUP * >::value_type":
10170 r"""
10171 __getitem__(GROUPS self, PySliceObject * slice) -> GROUPS
10172 __getitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i) -> PCB_GROUP
10173 """
10174 return _pcbnew.GROUPS___getitem__(self, *args)
10175
10176 def __setitem__(self, *args) -> "void":
10177 r"""
10178 __setitem__(GROUPS self, PySliceObject * slice, GROUPS v)
10179 __setitem__(GROUPS self, PySliceObject * slice)
10180 __setitem__(GROUPS self, std::deque< PCB_GROUP * >::difference_type i, PCB_GROUP x)
10181 """
10182 return _pcbnew.GROUPS___setitem__(self, *args)
10183
10184 def pop(self) -> "std::deque< PCB_GROUP * >::value_type":
10185 r"""pop(GROUPS self) -> PCB_GROUP"""
10186 return _pcbnew.GROUPS_pop(self)
10187
10188 def append(self, x: "PCB_GROUP") -> "void":
10189 r"""append(GROUPS self, PCB_GROUP x)"""
10190 return _pcbnew.GROUPS_append(self, x)
10191
10192 def empty(self) -> "bool":
10193 r"""empty(GROUPS self) -> bool"""
10194 return _pcbnew.GROUPS_empty(self)
10195
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)
10199
10200 def swap(self, v: "GROUPS") -> "void":
10201 r"""swap(GROUPS self, GROUPS v)"""
10202 return _pcbnew.GROUPS_swap(self, v)
10203
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)
10207
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)
10211
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)
10215
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)
10219
10220 def clear(self) -> "void":
10221 r"""clear(GROUPS self)"""
10222 return _pcbnew.GROUPS_clear(self)
10223
10224 def get_allocator(self) -> "std::deque< PCB_GROUP * >::allocator_type":
10225 r"""get_allocator(GROUPS self) -> std::deque< PCB_GROUP * >::allocator_type"""
10226 return _pcbnew.GROUPS_get_allocator(self)
10227
10228 def pop_back(self) -> "void":
10229 r"""pop_back(GROUPS self)"""
10230 return _pcbnew.GROUPS_pop_back(self)
10231
10232 def erase(self, *args) -> "std::deque< PCB_GROUP * >::iterator":
10233 r"""
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
10236 """
10237 return _pcbnew.GROUPS_erase(self, *args)
10238
10239 def __init__(self, *args):
10240 r"""
10241 __init__(GROUPS self) -> GROUPS
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
10245 """
10246 _pcbnew.GROUPS_swiginit(self, _pcbnew.new_GROUPS(*args))
10247
10248 def push_back(self, x: "PCB_GROUP") -> "void":
10249 r"""push_back(GROUPS self, PCB_GROUP x)"""
10250 return _pcbnew.GROUPS_push_back(self, x)
10251
10252 def front(self) -> "std::deque< PCB_GROUP * >::value_type":
10253 r"""front(GROUPS self) -> PCB_GROUP"""
10254 return _pcbnew.GROUPS_front(self)
10255
10256 def back(self) -> "std::deque< PCB_GROUP * >::value_type":
10257 r"""back(GROUPS self) -> PCB_GROUP"""
10258 return _pcbnew.GROUPS_back(self)
10259
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)
10263
10264 def resize(self, *args) -> "void":
10265 r"""
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)
10268 """
10269 return _pcbnew.GROUPS_resize(self, *args)
10270
10271 def insert(self, *args) -> "void":
10272 r"""
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)
10275 """
10276 return _pcbnew.GROUPS_insert(self, *args)
10277
10278 def pop_front(self) -> "void":
10279 r"""pop_front(GROUPS self)"""
10280 return _pcbnew.GROUPS_pop_front(self)
10281
10282 def push_front(self, x: "PCB_GROUP") -> "void":
10283 r"""push_front(GROUPS self, PCB_GROUP x)"""
10284 return _pcbnew.GROUPS_push_front(self, x)
10285 __swig_destroy__ = _pcbnew.delete_GROUPS
10286
10287# Register GROUPS in _pcbnew:
10288_pcbnew.GROUPS_swigregister(GROUPS)
10289
10291 r"""Proxy of C++ std::deque< BOARD_ITEM * > class."""
10292
10293 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10294 __repr__ = _swig_repr
10295
10296 def iterator(self) -> "swig::SwigPyIterator *":
10297 r"""iterator(DRAWINGS self) -> SwigPyIterator"""
10298 return _pcbnew.DRAWINGS_iterator(self)
10299 def __iter__(self):
10300 return self.iterator()
10301
10302 def __nonzero__(self) -> "bool":
10303 r"""__nonzero__(DRAWINGS self) -> bool"""
10304 return _pcbnew.DRAWINGS___nonzero__(self)
10305
10306 def __bool__(self) -> "bool":
10307 r"""__bool__(DRAWINGS self) -> bool"""
10308 return _pcbnew.DRAWINGS___bool__(self)
10309
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)
10313
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)
10317
10318 def __setslice__(self, *args) -> "void":
10319 r"""
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)
10322 """
10323 return _pcbnew.DRAWINGS___setslice__(self, *args)
10324
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)
10328
10329 def __delitem__(self, *args) -> "void":
10330 r"""
10331 __delitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i)
10332 __delitem__(DRAWINGS self, PySliceObject * slice)
10333 """
10334 return _pcbnew.DRAWINGS___delitem__(self, *args)
10335
10336 def __getitem__(self, *args) -> "std::deque< BOARD_ITEM * >::value_type":
10337 r"""
10338 __getitem__(DRAWINGS self, PySliceObject * slice) -> DRAWINGS
10339 __getitem__(DRAWINGS self, std::deque< BOARD_ITEM * >::difference_type i) -> BOARD_ITEM
10340 """
10341 return _pcbnew.DRAWINGS___getitem__(self, *args)
10342
10343 def __setitem__(self, *args) -> "void":
10344 r"""
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)
10348 """
10349 return _pcbnew.DRAWINGS___setitem__(self, *args)
10350
10351 def pop(self) -> "std::deque< BOARD_ITEM * >::value_type":
10352 r"""pop(DRAWINGS self) -> BOARD_ITEM"""
10353 return _pcbnew.DRAWINGS_pop(self)
10354
10355 def append(self, x: "BOARD_ITEM") -> "void":
10356 r"""append(DRAWINGS self, BOARD_ITEM x)"""
10357 return _pcbnew.DRAWINGS_append(self, x)
10358
10359 def empty(self) -> "bool":
10360 r"""empty(DRAWINGS self) -> bool"""
10361 return _pcbnew.DRAWINGS_empty(self)
10362
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)
10366
10367 def swap(self, v: "DRAWINGS") -> "void":
10368 r"""swap(DRAWINGS self, DRAWINGS v)"""
10369 return _pcbnew.DRAWINGS_swap(self, v)
10370
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)
10374
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)
10378
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)
10382
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)
10386
10387 def clear(self) -> "void":
10388 r"""clear(DRAWINGS self)"""
10389 return _pcbnew.DRAWINGS_clear(self)
10390
10391 def get_allocator(self) -> "std::deque< BOARD_ITEM * >::allocator_type":
10392 r"""get_allocator(DRAWINGS self) -> std::deque< BOARD_ITEM * >::allocator_type"""
10393 return _pcbnew.DRAWINGS_get_allocator(self)
10394
10395 def pop_back(self) -> "void":
10396 r"""pop_back(DRAWINGS self)"""
10397 return _pcbnew.DRAWINGS_pop_back(self)
10398
10399 def erase(self, *args) -> "std::deque< BOARD_ITEM * >::iterator":
10400 r"""
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
10403 """
10404 return _pcbnew.DRAWINGS_erase(self, *args)
10405
10406 def __init__(self, *args):
10407 r"""
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
10412 """
10413 _pcbnew.DRAWINGS_swiginit(self, _pcbnew.new_DRAWINGS(*args))
10414
10415 def push_back(self, x: "BOARD_ITEM") -> "void":
10416 r"""push_back(DRAWINGS self, BOARD_ITEM x)"""
10417 return _pcbnew.DRAWINGS_push_back(self, x)
10418
10419 def front(self) -> "std::deque< BOARD_ITEM * >::value_type":
10420 r"""front(DRAWINGS self) -> BOARD_ITEM"""
10421 return _pcbnew.DRAWINGS_front(self)
10422
10423 def back(self) -> "std::deque< BOARD_ITEM * >::value_type":
10424 r"""back(DRAWINGS self) -> BOARD_ITEM"""
10425 return _pcbnew.DRAWINGS_back(self)
10426
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)
10430
10431 def resize(self, *args) -> "void":
10432 r"""
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)
10435 """
10436 return _pcbnew.DRAWINGS_resize(self, *args)
10437
10438 def insert(self, *args) -> "void":
10439 r"""
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)
10442 """
10443 return _pcbnew.DRAWINGS_insert(self, *args)
10444
10445 def pop_front(self) -> "void":
10446 r"""pop_front(DRAWINGS self)"""
10447 return _pcbnew.DRAWINGS_pop_front(self)
10448
10449 def push_front(self, x: "BOARD_ITEM") -> "void":
10450 r"""push_front(DRAWINGS self, BOARD_ITEM x)"""
10451 return _pcbnew.DRAWINGS_push_front(self, x)
10452
10453 def __iter__(self):
10454 it = self.iterator()
10455 try:
10456 while True:
10457 item = it.next() # throws StopIteration when iterator reached the end.
10458 yield item.Cast()
10459 except StopIteration:
10460 return
10461
10462 __swig_destroy__ = _pcbnew.delete_DRAWINGS
10463
10464# Register DRAWINGS in _pcbnew:
10465_pcbnew.DRAWINGS_swigregister(DRAWINGS)
10466
10468 r"""Proxy of C++ std::deque< PAD * > class."""
10469
10470 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10471 __repr__ = _swig_repr
10472
10473 def iterator(self) -> "swig::SwigPyIterator *":
10474 r"""iterator(PADS self) -> SwigPyIterator"""
10475 return _pcbnew.PADS_iterator(self)
10476 def __iter__(self):
10477 return self.iterator()
10478
10479 def __nonzero__(self) -> "bool":
10480 r"""__nonzero__(PADS self) -> bool"""
10481 return _pcbnew.PADS___nonzero__(self)
10482
10483 def __bool__(self) -> "bool":
10484 r"""__bool__(PADS self) -> bool"""
10485 return _pcbnew.PADS___bool__(self)
10486
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)
10490
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)
10494
10495 def __setslice__(self, *args) -> "void":
10496 r"""
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)
10499 """
10500 return _pcbnew.PADS___setslice__(self, *args)
10501
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)
10505
10506 def __delitem__(self, *args) -> "void":
10507 r"""
10508 __delitem__(PADS self, std::deque< PAD * >::difference_type i)
10509 __delitem__(PADS self, PySliceObject * slice)
10510 """
10511 return _pcbnew.PADS___delitem__(self, *args)
10512
10513 def __getitem__(self, *args) -> "std::deque< PAD * >::value_type":
10514 r"""
10515 __getitem__(PADS self, PySliceObject * slice) -> PADS
10516 __getitem__(PADS self, std::deque< PAD * >::difference_type i) -> PAD
10517 """
10518 return _pcbnew.PADS___getitem__(self, *args)
10519
10520 def __setitem__(self, *args) -> "void":
10521 r"""
10522 __setitem__(PADS self, PySliceObject * slice, PADS v)
10523 __setitem__(PADS self, PySliceObject * slice)
10524 __setitem__(PADS self, std::deque< PAD * >::difference_type i, PAD x)
10525 """
10526 return _pcbnew.PADS___setitem__(self, *args)
10527
10528 def pop(self) -> "std::deque< PAD * >::value_type":
10529 r"""pop(PADS self) -> PAD"""
10530 return _pcbnew.PADS_pop(self)
10531
10532 def append(self, x: "PAD") -> "void":
10533 r"""append(PADS self, PAD x)"""
10534 return _pcbnew.PADS_append(self, x)
10535
10536 def empty(self) -> "bool":
10537 r"""empty(PADS self) -> bool"""
10538 return _pcbnew.PADS_empty(self)
10539
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)
10543
10544 def swap(self, v: "PADS") -> "void":
10545 r"""swap(PADS self, PADS v)"""
10546 return _pcbnew.PADS_swap(self, v)
10547
10548 def begin(self) -> "std::deque< PAD * >::iterator":
10549 r"""begin(PADS self) -> std::deque< PAD * >::iterator"""
10550 return _pcbnew.PADS_begin(self)
10551
10552 def end(self) -> "std::deque< PAD * >::iterator":
10553 r"""end(PADS self) -> std::deque< PAD * >::iterator"""
10554 return _pcbnew.PADS_end(self)
10555
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)
10559
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)
10563
10564 def clear(self) -> "void":
10565 r"""clear(PADS self)"""
10566 return _pcbnew.PADS_clear(self)
10567
10568 def get_allocator(self) -> "std::deque< PAD * >::allocator_type":
10569 r"""get_allocator(PADS self) -> std::deque< PAD * >::allocator_type"""
10570 return _pcbnew.PADS_get_allocator(self)
10571
10572 def pop_back(self) -> "void":
10573 r"""pop_back(PADS self)"""
10574 return _pcbnew.PADS_pop_back(self)
10575
10576 def erase(self, *args) -> "std::deque< PAD * >::iterator":
10577 r"""
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
10580 """
10581 return _pcbnew.PADS_erase(self, *args)
10582
10583 def __init__(self, *args):
10584 r"""
10585 __init__(PADS self) -> PADS
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
10589 """
10590 _pcbnew.PADS_swiginit(self, _pcbnew.new_PADS(*args))
10591
10592 def push_back(self, x: "PAD") -> "void":
10593 r"""push_back(PADS self, PAD x)"""
10594 return _pcbnew.PADS_push_back(self, x)
10595
10596 def front(self) -> "std::deque< PAD * >::value_type":
10597 r"""front(PADS self) -> PAD"""
10598 return _pcbnew.PADS_front(self)
10599
10600 def back(self) -> "std::deque< PAD * >::value_type":
10601 r"""back(PADS self) -> PAD"""
10602 return _pcbnew.PADS_back(self)
10603
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)
10607
10608 def resize(self, *args) -> "void":
10609 r"""
10610 resize(PADS self, std::deque< PAD * >::size_type new_size)
10611 resize(PADS self, std::deque< PAD * >::size_type new_size, PAD x)
10612 """
10613 return _pcbnew.PADS_resize(self, *args)
10614
10615 def insert(self, *args) -> "void":
10616 r"""
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)
10619 """
10620 return _pcbnew.PADS_insert(self, *args)
10621
10622 def pop_front(self) -> "void":
10623 r"""pop_front(PADS self)"""
10624 return _pcbnew.PADS_pop_front(self)
10625
10626 def push_front(self, x: "PAD") -> "void":
10627 r"""push_front(PADS self, PAD x)"""
10628 return _pcbnew.PADS_push_front(self, x)
10629 __swig_destroy__ = _pcbnew.delete_PADS
10630
10631# Register PADS in _pcbnew:
10632_pcbnew.PADS_swigregister(PADS)
10633
10635 r"""Proxy of C++ std::vector< FP_ZONE * > class."""
10636
10637 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10638 __repr__ = _swig_repr
10639
10640 def iterator(self) -> "swig::SwigPyIterator *":
10641 r"""iterator(FP_ZONES self) -> SwigPyIterator"""
10642 return _pcbnew.FP_ZONES_iterator(self)
10643 def __iter__(self):
10644 return self.iterator()
10645
10646 def __nonzero__(self) -> "bool":
10647 r"""__nonzero__(FP_ZONES self) -> bool"""
10648 return _pcbnew.FP_ZONES___nonzero__(self)
10649
10650 def __bool__(self) -> "bool":
10651 r"""__bool__(FP_ZONES self) -> bool"""
10652 return _pcbnew.FP_ZONES___bool__(self)
10653
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)
10657
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)
10661
10662 def __setslice__(self, *args) -> "void":
10663 r"""
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)
10666 """
10667 return _pcbnew.FP_ZONES___setslice__(self, *args)
10668
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)
10672
10673 def __delitem__(self, *args) -> "void":
10674 r"""
10675 __delitem__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i)
10676 __delitem__(FP_ZONES self, PySliceObject * slice)
10677 """
10678 return _pcbnew.FP_ZONES___delitem__(self, *args)
10679
10680 def __getitem__(self, *args) -> "std::vector< FP_ZONE * >::value_type":
10681 r"""
10682 __getitem__(FP_ZONES self, PySliceObject * slice) -> FP_ZONES
10683 __getitem__(FP_ZONES self, std::vector< FP_ZONE * >::difference_type i) -> FP_ZONE
10684 """
10685 return _pcbnew.FP_ZONES___getitem__(self, *args)
10686
10687 def __setitem__(self, *args) -> "void":
10688 r"""
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)
10692 """
10693 return _pcbnew.FP_ZONES___setitem__(self, *args)
10694
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)
10698
10699 def append(self, x: "FP_ZONE") -> "void":
10700 r"""append(FP_ZONES self, FP_ZONE x)"""
10701 return _pcbnew.FP_ZONES_append(self, x)
10702
10703 def empty(self) -> "bool":
10704 r"""empty(FP_ZONES self) -> bool"""
10705 return _pcbnew.FP_ZONES_empty(self)
10706
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)
10710
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)
10714
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)
10718
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)
10722
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)
10726
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)
10730
10731 def clear(self) -> "void":
10732 r"""clear(FP_ZONES self)"""
10733 return _pcbnew.FP_ZONES_clear(self)
10734
10735 def get_allocator(self) -> "std::vector< FP_ZONE * >::allocator_type":
10736 r"""get_allocator(FP_ZONES self) -> std::vector< FP_ZONE * >::allocator_type"""
10737 return _pcbnew.FP_ZONES_get_allocator(self)
10738
10739 def pop_back(self) -> "void":
10740 r"""pop_back(FP_ZONES self)"""
10741 return _pcbnew.FP_ZONES_pop_back(self)
10742
10743 def erase(self, *args) -> "std::vector< FP_ZONE * >::iterator":
10744 r"""
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
10747 """
10748 return _pcbnew.FP_ZONES_erase(self, *args)
10749
10750 def __init__(self, *args):
10751 r"""
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
10756 """
10757 _pcbnew.FP_ZONES_swiginit(self, _pcbnew.new_FP_ZONES(*args))
10758
10759 def push_back(self, x: "FP_ZONE") -> "void":
10760 r"""push_back(FP_ZONES self, FP_ZONE x)"""
10761 return _pcbnew.FP_ZONES_push_back(self, x)
10762
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)
10766
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)
10770
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)
10774
10775 def resize(self, *args) -> "void":
10776 r"""
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)
10779 """
10780 return _pcbnew.FP_ZONES_resize(self, *args)
10781
10782 def insert(self, *args) -> "void":
10783 r"""
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)
10786 """
10787 return _pcbnew.FP_ZONES_insert(self, *args)
10788
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)
10792
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
10797
10798# Register FP_ZONES in _pcbnew:
10799_pcbnew.FP_ZONES_swigregister(FP_ZONES)
10800
10802 r"""Proxy of C++ std::vector< PCB_GROUP * > class."""
10803
10804 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
10805 __repr__ = _swig_repr
10806
10807 def iterator(self) -> "swig::SwigPyIterator *":
10808 r"""iterator(FP_GROUPS self) -> SwigPyIterator"""
10809 return _pcbnew.FP_GROUPS_iterator(self)
10810 def __iter__(self):
10811 return self.iterator()
10812
10813 def __nonzero__(self) -> "bool":
10814 r"""__nonzero__(FP_GROUPS self) -> bool"""
10815 return _pcbnew.FP_GROUPS___nonzero__(self)
10816
10817 def __bool__(self) -> "bool":
10818 r"""__bool__(FP_GROUPS self) -> bool"""
10819 return _pcbnew.FP_GROUPS___bool__(self)
10820
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)
10824
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)
10828
10829 def __setslice__(self, *args) -> "void":
10830 r"""
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)
10833 """
10834 return _pcbnew.FP_GROUPS___setslice__(self, *args)
10835
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)
10839
10840 def __delitem__(self, *args) -> "void":
10841 r"""
10842 __delitem__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i)
10843 __delitem__(FP_GROUPS self, PySliceObject * slice)
10844 """
10845 return _pcbnew.FP_GROUPS___delitem__(self, *args)
10846
10847 def __getitem__(self, *args) -> "std::vector< PCB_GROUP * >::value_type":
10848 r"""
10849 __getitem__(FP_GROUPS self, PySliceObject * slice) -> FP_GROUPS
10850 __getitem__(FP_GROUPS self, std::vector< PCB_GROUP * >::difference_type i) -> PCB_GROUP
10851 """
10852 return _pcbnew.FP_GROUPS___getitem__(self, *args)
10853
10854 def __setitem__(self, *args) -> "void":
10855 r"""
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)
10859 """
10860 return _pcbnew.FP_GROUPS___setitem__(self, *args)
10861
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)
10865
10866 def append(self, x: "PCB_GROUP") -> "void":
10867 r"""append(FP_GROUPS self, PCB_GROUP x)"""
10868 return _pcbnew.FP_GROUPS_append(self, x)
10869
10870 def empty(self) -> "bool":
10871 r"""empty(FP_GROUPS self) -> bool"""
10872 return _pcbnew.FP_GROUPS_empty(self)
10873
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)
10877
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)
10881
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)
10885
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)
10889
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)
10893
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)
10897
10898 def clear(self) -> "void":
10899 r"""clear(FP_GROUPS self)"""
10900 return _pcbnew.FP_GROUPS_clear(self)
10901
10902 def get_allocator(self) -> "std::vector< PCB_GROUP * >::allocator_type":
10903 r"""get_allocator(FP_GROUPS self) -> std::vector< PCB_GROUP * >::allocator_type"""
10904 return _pcbnew.FP_GROUPS_get_allocator(self)
10905
10906 def pop_back(self) -> "void":
10907 r"""pop_back(FP_GROUPS self)"""
10908 return _pcbnew.FP_GROUPS_pop_back(self)
10909
10910 def erase(self, *args) -> "std::vector< PCB_GROUP * >::iterator":
10911 r"""
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
10914 """
10915 return _pcbnew.FP_GROUPS_erase(self, *args)
10916
10917 def __init__(self, *args):
10918 r"""
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
10923 """
10924 _pcbnew.FP_GROUPS_swiginit(self, _pcbnew.new_FP_GROUPS(*args))
10925
10926 def push_back(self, x: "PCB_GROUP") -> "void":
10927 r"""push_back(FP_GROUPS self, PCB_GROUP x)"""
10928 return _pcbnew.FP_GROUPS_push_back(self, x)
10929
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)
10933
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)
10937
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)
10941
10942 def resize(self, *args) -> "void":
10943 r"""
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)
10946 """
10947 return _pcbnew.FP_GROUPS_resize(self, *args)
10948
10949 def insert(self, *args) -> "void":
10950 r"""
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)
10953 """
10954 return _pcbnew.FP_GROUPS_insert(self, *args)
10955
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)
10959
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
10964
10965# Register FP_GROUPS in _pcbnew:
10966_pcbnew.FP_GROUPS_swigregister(FP_GROUPS)
10967
10968PAD_SHAPE_CIRCLE = _pcbnew.PAD_SHAPE_CIRCLE
10969
10970PAD_SHAPE_RECT = _pcbnew.PAD_SHAPE_RECT
10971
10972PAD_SHAPE_OVAL = _pcbnew.PAD_SHAPE_OVAL
10973
10974PAD_SHAPE_TRAPEZOID = _pcbnew.PAD_SHAPE_TRAPEZOID
10975
10976PAD_SHAPE_ROUNDRECT = _pcbnew.PAD_SHAPE_ROUNDRECT
10977
10978PAD_SHAPE_CHAMFERED_RECT = _pcbnew.PAD_SHAPE_CHAMFERED_RECT
10979
10980PAD_SHAPE_CUSTOM = _pcbnew.PAD_SHAPE_CUSTOM
10981
10982
10983def PAD_SHAPE_T_asString(a: "PAD_SHAPE") -> "std::string":
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
10987
10988PAD_DRILL_SHAPE_OBLONG = _pcbnew.PAD_DRILL_SHAPE_OBLONG
10989
10990PAD_ATTRIB_PTH = _pcbnew.PAD_ATTRIB_PTH
10991
10992PAD_ATTRIB_SMD = _pcbnew.PAD_ATTRIB_SMD
10993
10994PAD_ATTRIB_CONN = _pcbnew.PAD_ATTRIB_CONN
10995
10996PAD_ATTRIB_NPTH = _pcbnew.PAD_ATTRIB_NPTH
10997
10998PAD_PROP_NONE = _pcbnew.PAD_PROP_NONE
10999
11000PAD_PROP_BGA = _pcbnew.PAD_PROP_BGA
11001
11002PAD_PROP_FIDUCIAL_GLBL = _pcbnew.PAD_PROP_FIDUCIAL_GLBL
11003
11004PAD_PROP_FIDUCIAL_LOCAL = _pcbnew.PAD_PROP_FIDUCIAL_LOCAL
11005
11006PAD_PROP_TESTPOINT = _pcbnew.PAD_PROP_TESTPOINT
11007
11008PAD_PROP_HEATSINK = _pcbnew.PAD_PROP_HEATSINK
11009
11010PAD_PROP_CASTELLATED = _pcbnew.PAD_PROP_CASTELLATED
11011
11012CUST_PAD_SHAPE_IN_ZONE_OUTLINE = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_OUTLINE
11013
11014CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL = _pcbnew.CUST_PAD_SHAPE_IN_ZONE_CONVEXHULL
11015
11017 r"""Proxy of C++ PAD class."""
11018
11019 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11020 __repr__ = _swig_repr
11021
11022 def __init__(self, *args):
11023 r"""
11024 __init__(PAD self, FOOTPRINT parent) -> PAD
11025 __init__(PAD self, PAD aPad) -> PAD
11026 """
11027 _pcbnew.PAD_swiginit(self, _pcbnew.new_PAD(*args))
11028
11029 @staticmethod
11030 def PTHMask() -> "LSET":
11031 r"""PTHMask() -> LSET"""
11032 return _pcbnew.PAD_PTHMask()
11033
11034 @staticmethod
11035 def SMDMask() -> "LSET":
11036 r"""SMDMask() -> LSET"""
11037 return _pcbnew.PAD_SMDMask()
11038
11039 @staticmethod
11040 def ConnSMDMask() -> "LSET":
11041 r"""ConnSMDMask() -> LSET"""
11042 return _pcbnew.PAD_ConnSMDMask()
11043
11044 @staticmethod
11045 def UnplatedHoleMask() -> "LSET":
11046 r"""UnplatedHoleMask() -> LSET"""
11047 return _pcbnew.PAD_UnplatedHoleMask()
11048
11049 @staticmethod
11050 def ApertureMask() -> "LSET":
11051 r"""ApertureMask() -> LSET"""
11052 return _pcbnew.PAD_ApertureMask()
11053
11054 @staticmethod
11055 def ClassOf(aItem: "EDA_ITEM") -> "bool":
11056 r"""ClassOf(EDA_ITEM aItem) -> bool"""
11057 return _pcbnew.PAD_ClassOf(aItem)
11058
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)
11062
11063 def HasHole(self) -> "bool":
11064 r"""HasHole(PAD self) -> bool"""
11065 return _pcbnew.PAD_HasHole(self)
11066
11067 def GetParent(self) -> "FOOTPRINT *":
11068 r"""GetParent(PAD self) -> FOOTPRINT"""
11069 return _pcbnew.PAD_GetParent(self)
11070
11071 def GetParentAsString(self) -> "wxString":
11072 r"""GetParentAsString(PAD self) -> wxString"""
11073 return _pcbnew.PAD_GetParentAsString(self)
11074
11075 def IsLocked(self) -> "bool":
11076 r"""IsLocked(PAD self) -> bool"""
11077 return _pcbnew.PAD_IsLocked(self)
11078
11079 def ImportSettingsFrom(self, aMasterPad: "PAD") -> "void":
11080 r"""ImportSettingsFrom(PAD self, PAD aMasterPad)"""
11081 return _pcbnew.PAD_ImportSettingsFrom(self, aMasterPad)
11082
11083 def IsFlipped(self) -> "bool":
11084 r"""IsFlipped(PAD self) -> bool"""
11085 return _pcbnew.PAD_IsFlipped(self)
11086
11087 def SetNumber(self, aNumber: "wxString") -> "void":
11088 r"""SetNumber(PAD self, wxString aNumber)"""
11089 return _pcbnew.PAD_SetNumber(self, aNumber)
11090
11091 def GetNumber(self) -> "wxString const &":
11092 r"""GetNumber(PAD self) -> wxString"""
11093 return _pcbnew.PAD_GetNumber(self)
11094
11095 def CanHaveNumber(self) -> "bool":
11096 r"""CanHaveNumber(PAD self) -> bool"""
11097 return _pcbnew.PAD_CanHaveNumber(self)
11098
11099 def SetPinFunction(self, aName: "wxString") -> "void":
11100 r"""SetPinFunction(PAD self, wxString aName)"""
11101 return _pcbnew.PAD_SetPinFunction(self, aName)
11102
11103 def GetPinFunction(self) -> "wxString const &":
11104 r"""GetPinFunction(PAD self) -> wxString"""
11105 return _pcbnew.PAD_GetPinFunction(self)
11106
11107 def SetPinType(self, aType: "wxString") -> "void":
11108 r"""SetPinType(PAD self, wxString aType)"""
11109 return _pcbnew.PAD_SetPinType(self, aType)
11110
11111 def GetPinType(self) -> "wxString const &":
11112 r"""GetPinType(PAD self) -> wxString"""
11113 return _pcbnew.PAD_GetPinType(self)
11114
11115 def SameLogicalPadAs(self, other: "PAD") -> "bool":
11116 r"""SameLogicalPadAs(PAD self, PAD other) -> bool"""
11117 return _pcbnew.PAD_SameLogicalPadAs(self, other)
11118
11119 def IsNoConnectPad(self) -> "bool":
11120 r"""IsNoConnectPad(PAD self) -> bool"""
11121 return _pcbnew.PAD_IsNoConnectPad(self)
11122
11123 def IsFreePad(self) -> "bool":
11124 r"""IsFreePad(PAD self) -> bool"""
11125 return _pcbnew.PAD_IsFreePad(self)
11126
11127 def SetShape(self, aShape: "PAD_SHAPE") -> "void":
11128 r"""SetShape(PAD self, PAD_SHAPE aShape)"""
11129 return _pcbnew.PAD_SetShape(self, aShape)
11130
11131 def GetShape(self) -> "PAD_SHAPE":
11132 r"""GetShape(PAD self) -> PAD_SHAPE"""
11133 return _pcbnew.PAD_GetShape(self)
11134
11135 def SetPosition(self, aPos: "wxPoint") -> "void":
11136 r"""SetPosition(PAD self, wxPoint aPos)"""
11137 return _pcbnew.PAD_SetPosition(self, aPos)
11138
11139 def GetPosition(self) -> "wxPoint":
11140 r"""GetPosition(PAD self) -> wxPoint"""
11141 return _pcbnew.PAD_GetPosition(self)
11142
11143 def GetAnchorPadShape(self) -> "PAD_SHAPE":
11144 r"""GetAnchorPadShape(PAD self) -> PAD_SHAPE"""
11145 return _pcbnew.PAD_GetAnchorPadShape(self)
11146
11147 def GetCustomShapeInZoneOpt(self) -> "CUST_PAD_SHAPE_IN_ZONE":
11148 r"""GetCustomShapeInZoneOpt(PAD self) -> CUST_PAD_SHAPE_IN_ZONE"""
11149 return _pcbnew.PAD_GetCustomShapeInZoneOpt(self)
11150
11151 def SetCustomShapeInZoneOpt(self, aOption: "CUST_PAD_SHAPE_IN_ZONE") -> "void":
11152 r"""SetCustomShapeInZoneOpt(PAD self, CUST_PAD_SHAPE_IN_ZONE aOption)"""
11153 return _pcbnew.PAD_SetCustomShapeInZoneOpt(self, aOption)
11154
11155 def SetAnchorPadShape(self, aShape: "PAD_SHAPE") -> "void":
11156 r"""SetAnchorPadShape(PAD self, PAD_SHAPE aShape)"""
11157 return _pcbnew.PAD_SetAnchorPadShape(self, aShape)
11158
11159 def IsOnCopperLayer(self) -> "bool":
11160 r"""IsOnCopperLayer(PAD self) -> bool"""
11161 return _pcbnew.PAD_IsOnCopperLayer(self)
11162
11163 def SetY(self, y: "int") -> "void":
11164 r"""SetY(PAD self, int y)"""
11165 return _pcbnew.PAD_SetY(self, y)
11166
11167 def SetX(self, x: "int") -> "void":
11168 r"""SetX(PAD self, int x)"""
11169 return _pcbnew.PAD_SetX(self, x)
11170
11171 def SetPos0(self, aPos: "wxPoint") -> "void":
11172 r"""SetPos0(PAD self, wxPoint aPos)"""
11173 return _pcbnew.PAD_SetPos0(self, aPos)
11174
11175 def GetPos0(self) -> "wxPoint const &":
11176 r"""GetPos0(PAD self) -> wxPoint"""
11177 return _pcbnew.PAD_GetPos0(self)
11178
11179 def SetY0(self, y: "int") -> "void":
11180 r"""SetY0(PAD self, int y)"""
11181 return _pcbnew.PAD_SetY0(self, y)
11182
11183 def SetX0(self, x: "int") -> "void":
11184 r"""SetX0(PAD self, int x)"""
11185 return _pcbnew.PAD_SetX0(self, x)
11186
11187 def SetSize(self, aSize: "wxSize") -> "void":
11188 r"""SetSize(PAD self, wxSize aSize)"""
11189 return _pcbnew.PAD_SetSize(self, aSize)
11190
11191 def GetSize(self) -> "wxSize const &":
11192 r"""GetSize(PAD self) -> wxSize"""
11193 return _pcbnew.PAD_GetSize(self)
11194
11195 def SetSizeX(self, aX: "int const") -> "void":
11196 r"""SetSizeX(PAD self, int const aX)"""
11197 return _pcbnew.PAD_SetSizeX(self, aX)
11198
11199 def GetSizeX(self) -> "int const":
11200 r"""GetSizeX(PAD self) -> int const"""
11201 return _pcbnew.PAD_GetSizeX(self)
11202
11203 def SetSizeY(self, aY: "int const") -> "void":
11204 r"""SetSizeY(PAD self, int const aY)"""
11205 return _pcbnew.PAD_SetSizeY(self, aY)
11206
11207 def GetSizeY(self) -> "int const":
11208 r"""GetSizeY(PAD self) -> int const"""
11209 return _pcbnew.PAD_GetSizeY(self)
11210
11211 def SetDelta(self, aSize: "wxSize") -> "void":
11212 r"""SetDelta(PAD self, wxSize aSize)"""
11213 return _pcbnew.PAD_SetDelta(self, aSize)
11214
11215 def GetDelta(self) -> "wxSize const &":
11216 r"""GetDelta(PAD self) -> wxSize"""
11217 return _pcbnew.PAD_GetDelta(self)
11218
11219 def SetDrillSize(self, aSize: "wxSize") -> "void":
11220 r"""SetDrillSize(PAD self, wxSize aSize)"""
11221 return _pcbnew.PAD_SetDrillSize(self, aSize)
11222
11223 def GetDrillSize(self) -> "wxSize const &":
11224 r"""GetDrillSize(PAD self) -> wxSize"""
11225 return _pcbnew.PAD_GetDrillSize(self)
11226
11227 def SetDrillSizeX(self, aX: "int const") -> "void":
11228 r"""SetDrillSizeX(PAD self, int const aX)"""
11229 return _pcbnew.PAD_SetDrillSizeX(self, aX)
11230
11231 def GetDrillSizeX(self) -> "int const":
11232 r"""GetDrillSizeX(PAD self) -> int const"""
11233 return _pcbnew.PAD_GetDrillSizeX(self)
11234
11235 def SetDrillSizeY(self, aY: "int const") -> "void":
11236 r"""SetDrillSizeY(PAD self, int const aY)"""
11237 return _pcbnew.PAD_SetDrillSizeY(self, aY)
11238
11239 def GetDrillSizeY(self) -> "int const":
11240 r"""GetDrillSizeY(PAD self) -> int const"""
11241 return _pcbnew.PAD_GetDrillSizeY(self)
11242
11243 def SetOffset(self, aOffset: "wxPoint") -> "void":
11244 r"""SetOffset(PAD self, wxPoint aOffset)"""
11245 return _pcbnew.PAD_SetOffset(self, aOffset)
11246
11247 def GetOffset(self) -> "wxPoint const &":
11248 r"""GetOffset(PAD self) -> wxPoint"""
11249 return _pcbnew.PAD_GetOffset(self)
11250
11251 def GetCenter(self) -> "wxPoint":
11252 r"""GetCenter(PAD self) -> wxPoint"""
11253 return _pcbnew.PAD_GetCenter(self)
11254
11255 def AddPrimitivePoly(self, *args) -> "void":
11256 r"""
11257 AddPrimitivePoly(PAD self, SHAPE_POLY_SET aPoly, int aThickness, bool aFilled)
11258 AddPrimitivePoly(PAD self, wxPoint_Vector aPoly, int aThickness, bool aFilled)
11259 """
11260 return _pcbnew.PAD_AddPrimitivePoly(self, *args)
11261
11262 def AddPrimitiveSegment(self, aStart: "wxPoint", aEnd: "wxPoint", aThickness: "int") -> "void":
11263 r"""AddPrimitiveSegment(PAD self, wxPoint aStart, wxPoint aEnd, int aThickness)"""
11264 return _pcbnew.PAD_AddPrimitiveSegment(self, aStart, aEnd, aThickness)
11265
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)
11269
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)
11273
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)
11277
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)
11281
11282 def GetBestAnchorPosition(self, aPos: "VECTOR2I") -> "bool":
11283 r"""GetBestAnchorPosition(PAD self, VECTOR2I aPos) -> bool"""
11284 return _pcbnew.PAD_GetBestAnchorPosition(self, aPos)
11285
11286 def MergePrimitivesAsPolygon(self, *args) -> "void":
11287 r"""MergePrimitivesAsPolygon(PAD self, SHAPE_POLY_SET aMergedPolygon, ERROR_LOC aErrorLoc=ERROR_INSIDE)"""
11288 return _pcbnew.PAD_MergePrimitivesAsPolygon(self, *args)
11289
11290 def DeletePrimitivesList(self) -> "void":
11291 r"""DeletePrimitivesList(PAD self)"""
11292 return _pcbnew.PAD_DeletePrimitivesList(self)
11293
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)
11297
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)
11301
11302 def FlipPrimitives(self, aFlipLeftRight: "bool") -> "void":
11303 r"""FlipPrimitives(PAD self, bool aFlipLeftRight)"""
11304 return _pcbnew.PAD_FlipPrimitives(self, aFlipLeftRight)
11305
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)
11309
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)
11313
11314 def AddPrimitive(self, aPrimitive: "PCB_SHAPE") -> "void":
11315 r"""AddPrimitive(PAD self, PCB_SHAPE aPrimitive)"""
11316 return _pcbnew.PAD_AddPrimitive(self, aPrimitive)
11317
11318 def SetOrientation(self, aAngle: "double") -> "void":
11319 r"""SetOrientation(PAD self, double aAngle)"""
11320 return _pcbnew.PAD_SetOrientation(self, aAngle)
11321
11322 def SetOrientationDegrees(self, aOrientation: "double") -> "void":
11323 r"""SetOrientationDegrees(PAD self, double aOrientation)"""
11324 return _pcbnew.PAD_SetOrientationDegrees(self, aOrientation)
11325
11326 def GetOrientation(self) -> "double":
11327 r"""GetOrientation(PAD self) -> double"""
11328 return _pcbnew.PAD_GetOrientation(self)
11329
11330 def GetOrientationDegrees(self) -> "double":
11331 r"""GetOrientationDegrees(PAD self) -> double"""
11332 return _pcbnew.PAD_GetOrientationDegrees(self)
11333
11334 def GetOrientationRadians(self) -> "double":
11335 r"""GetOrientationRadians(PAD self) -> double"""
11336 return _pcbnew.PAD_GetOrientationRadians(self)
11337
11338 def SetDrillShape(self, aShape: "PAD_DRILL_SHAPE_T") -> "void":
11339 r"""SetDrillShape(PAD self, PAD_DRILL_SHAPE_T aShape)"""
11340 return _pcbnew.PAD_SetDrillShape(self, aShape)
11341
11342 def GetDrillShape(self) -> "PAD_DRILL_SHAPE_T":
11343 r"""GetDrillShape(PAD self) -> PAD_DRILL_SHAPE_T"""
11344 return _pcbnew.PAD_GetDrillShape(self)
11345
11346 def IsDirty(self) -> "bool":
11347 r"""IsDirty(PAD self) -> bool"""
11348 return _pcbnew.PAD_IsDirty(self)
11349
11350 def SetDirty(self) -> "void":
11351 r"""SetDirty(PAD self)"""
11352 return _pcbnew.PAD_SetDirty(self)
11353
11354 def SetLayerSet(self, aLayers: "LSET") -> "void":
11355 r"""SetLayerSet(PAD self, LSET aLayers)"""
11356 return _pcbnew.PAD_SetLayerSet(self, aLayers)
11357
11358 def GetLayerSet(self) -> "LSET":
11359 r"""GetLayerSet(PAD self) -> LSET"""
11360 return _pcbnew.PAD_GetLayerSet(self)
11361
11362 def SetAttribute(self, aAttribute: "PAD_ATTRIB") -> "void":
11363 r"""SetAttribute(PAD self, PAD_ATTRIB aAttribute)"""
11364 return _pcbnew.PAD_SetAttribute(self, aAttribute)
11365
11366 def GetAttribute(self) -> "PAD_ATTRIB":
11367 r"""GetAttribute(PAD self) -> PAD_ATTRIB"""
11368 return _pcbnew.PAD_GetAttribute(self)
11369
11370 def SetProperty(self, aProperty: "PAD_PROP") -> "void":
11371 r"""SetProperty(PAD self, PAD_PROP aProperty)"""
11372 return _pcbnew.PAD_SetProperty(self, aProperty)
11373
11374 def GetProperty(self) -> "PAD_PROP":
11375 r"""GetProperty(PAD self) -> PAD_PROP"""
11376 return _pcbnew.PAD_GetProperty(self)
11377
11378 def IsAperturePad(self) -> "bool":
11379 r"""IsAperturePad(PAD self) -> bool"""
11380 return _pcbnew.PAD_IsAperturePad(self)
11381
11382 def SetPadToDieLength(self, aLength: "int") -> "void":
11383 r"""SetPadToDieLength(PAD self, int aLength)"""
11384 return _pcbnew.PAD_SetPadToDieLength(self, aLength)
11385
11386 def GetPadToDieLength(self) -> "int":
11387 r"""GetPadToDieLength(PAD self) -> int"""
11388 return _pcbnew.PAD_GetPadToDieLength(self)
11389
11390 def GetLocalSolderMaskMargin(self) -> "int":
11391 r"""GetLocalSolderMaskMargin(PAD self) -> int"""
11392 return _pcbnew.PAD_GetLocalSolderMaskMargin(self)
11393
11394 def SetLocalSolderMaskMargin(self, aMargin: "int") -> "void":
11395 r"""SetLocalSolderMaskMargin(PAD self, int aMargin)"""
11396 return _pcbnew.PAD_SetLocalSolderMaskMargin(self, aMargin)
11397
11398 def GetLocalClearance(self, *args) -> "int":
11399 r"""
11400 GetLocalClearance(PAD self, wxString aSource) -> int
11401 GetLocalClearance(PAD self) -> int
11402 """
11403 return _pcbnew.PAD_GetLocalClearance(self, *args)
11404
11405 def SetLocalClearance(self, aClearance: "int") -> "void":
11406 r"""SetLocalClearance(PAD self, int aClearance)"""
11407 return _pcbnew.PAD_SetLocalClearance(self, aClearance)
11408
11409 def GetOwnClearance(self, aLayer: "PCB_LAYER_ID", aSource: "wxString"=None) -> "int":
11410 r"""GetOwnClearance(PAD self, PCB_LAYER_ID aLayer, wxString aSource=None) -> int"""
11411 return _pcbnew.PAD_GetOwnClearance(self, aLayer, aSource)
11412
11413 def GetLocalSolderPasteMargin(self) -> "int":
11414 r"""GetLocalSolderPasteMargin(PAD self) -> int"""
11415 return _pcbnew.PAD_GetLocalSolderPasteMargin(self)
11416
11417 def SetLocalSolderPasteMargin(self, aMargin: "int") -> "void":
11418 r"""SetLocalSolderPasteMargin(PAD self, int aMargin)"""
11419 return _pcbnew.PAD_SetLocalSolderPasteMargin(self, aMargin)
11420
11421 def GetLocalSolderPasteMarginRatio(self) -> "double":
11422 r"""GetLocalSolderPasteMarginRatio(PAD self) -> double"""
11423 return _pcbnew.PAD_GetLocalSolderPasteMarginRatio(self)
11424
11425 def SetLocalSolderPasteMarginRatio(self, aRatio: "double") -> "void":
11426 r"""SetLocalSolderPasteMarginRatio(PAD self, double aRatio)"""
11427 return _pcbnew.PAD_SetLocalSolderPasteMarginRatio(self, aRatio)
11428
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)
11432
11433 def TransformHoleWithClearanceToPolygon(self, aCornerBuffer: "SHAPE_POLY_SET", aInflateValue: "int", aError: "int", aErrorLoc: "ERROR_LOC") -> "bool":
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)
11436
11437 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
11440
11441 def GetEffectivePolygon(self) -> "std::shared_ptr< SHAPE_POLY_SET > const &":
11442 r"""GetEffectivePolygon(PAD self) -> std::shared_ptr< SHAPE_POLY_SET > const &"""
11443 return _pcbnew.PAD_GetEffectivePolygon(self)
11444
11445 def GetEffectiveHoleShape(self) -> "SHAPE_SEGMENT const *":
11446 r"""GetEffectiveHoleShape(PAD self) -> SHAPE_SEGMENT const *"""
11447 return _pcbnew.PAD_GetEffectiveHoleShape(self)
11448
11449 def GetBoundingRadius(self) -> "int":
11450 r"""GetBoundingRadius(PAD self) -> int"""
11451 return _pcbnew.PAD_GetBoundingRadius(self)
11452
11453 def GetLocalClearanceOverrides(self, aSource: "wxString") -> "int":
11454 r"""GetLocalClearanceOverrides(PAD self, wxString aSource) -> int"""
11455 return _pcbnew.PAD_GetLocalClearanceOverrides(self, aSource)
11456
11457 def GetSolderMaskMargin(self) -> "int":
11458 r"""GetSolderMaskMargin(PAD self) -> int"""
11459 return _pcbnew.PAD_GetSolderMaskMargin(self)
11460
11461 def GetSolderPasteMargin(self) -> "wxSize":
11462 r"""GetSolderPasteMargin(PAD self) -> wxSize"""
11463 return _pcbnew.PAD_GetSolderPasteMargin(self)
11464
11465 def SetZoneConnection(self, aType: "ZONE_CONNECTION") -> "void":
11466 r"""SetZoneConnection(PAD self, ZONE_CONNECTION aType)"""
11467 return _pcbnew.PAD_SetZoneConnection(self, aType)
11468
11469 def GetZoneConnection(self) -> "ZONE_CONNECTION":
11470 r"""GetZoneConnection(PAD self) -> ZONE_CONNECTION"""
11471 return _pcbnew.PAD_GetZoneConnection(self)
11472
11473 def GetEffectiveZoneConnection(self, aSource: "wxString"=None) -> "ZONE_CONNECTION":
11474 r"""GetEffectiveZoneConnection(PAD self, wxString aSource=None) -> ZONE_CONNECTION"""
11475 return _pcbnew.PAD_GetEffectiveZoneConnection(self, aSource)
11476
11477 def SetThermalSpokeWidth(self, aWidth: "int") -> "void":
11478 r"""SetThermalSpokeWidth(PAD self, int aWidth)"""
11479 return _pcbnew.PAD_SetThermalSpokeWidth(self, aWidth)
11480
11481 def GetThermalSpokeWidth(self) -> "int":
11482 r"""GetThermalSpokeWidth(PAD self) -> int"""
11483 return _pcbnew.PAD_GetThermalSpokeWidth(self)
11484
11485 def GetEffectiveThermalSpokeWidth(self, aSource: "wxString"=None) -> "int":
11486 r"""GetEffectiveThermalSpokeWidth(PAD self, wxString aSource=None) -> int"""
11487 return _pcbnew.PAD_GetEffectiveThermalSpokeWidth(self, aSource)
11488
11489 def SetThermalGap(self, aGap: "int") -> "void":
11490 r"""SetThermalGap(PAD self, int aGap)"""
11491 return _pcbnew.PAD_SetThermalGap(self, aGap)
11492
11493 def GetThermalGap(self) -> "int":
11494 r"""GetThermalGap(PAD self) -> int"""
11495 return _pcbnew.PAD_GetThermalGap(self)
11496
11497 def GetEffectiveThermalGap(self, aSource: "wxString"=None) -> "int":
11498 r"""GetEffectiveThermalGap(PAD self, wxString aSource=None) -> int"""
11499 return _pcbnew.PAD_GetEffectiveThermalGap(self, aSource)
11500
11501 def SetRoundRectCornerRadius(self, aRadius: "double") -> "void":
11502 r"""SetRoundRectCornerRadius(PAD self, double aRadius)"""
11503 return _pcbnew.PAD_SetRoundRectCornerRadius(self, aRadius)
11504
11505 def GetRoundRectCornerRadius(self) -> "int":
11506 r"""GetRoundRectCornerRadius(PAD self) -> int"""
11507 return _pcbnew.PAD_GetRoundRectCornerRadius(self)
11508
11509 def ShapePos(self) -> "wxPoint":
11510 r"""ShapePos(PAD self) -> wxPoint"""
11511 return _pcbnew.PAD_ShapePos(self)
11512
11513 def SetRoundRectRadiusRatio(self, aRadiusScale: "double") -> "void":
11514 r"""SetRoundRectRadiusRatio(PAD self, double aRadiusScale)"""
11515 return _pcbnew.PAD_SetRoundRectRadiusRatio(self, aRadiusScale)
11516
11517 def GetRoundRectRadiusRatio(self) -> "double":
11518 r"""GetRoundRectRadiusRatio(PAD self) -> double"""
11519 return _pcbnew.PAD_GetRoundRectRadiusRatio(self)
11520
11521 def SetChamferRectRatio(self, aChamferScale: "double") -> "void":
11522 r"""SetChamferRectRatio(PAD self, double aChamferScale)"""
11523 return _pcbnew.PAD_SetChamferRectRatio(self, aChamferScale)
11524
11525 def GetChamferRectRatio(self) -> "double":
11526 r"""GetChamferRectRatio(PAD self) -> double"""
11527 return _pcbnew.PAD_GetChamferRectRatio(self)
11528
11529 def SetChamferPositions(self, aPositions: "int") -> "void":
11530 r"""SetChamferPositions(PAD self, int aPositions)"""
11531 return _pcbnew.PAD_SetChamferPositions(self, aPositions)
11532
11533 def GetChamferPositions(self) -> "int":
11534 r"""GetChamferPositions(PAD self) -> int"""
11535 return _pcbnew.PAD_GetChamferPositions(self)
11536
11537 def GetSubRatsnest(self) -> "int":
11538 r"""GetSubRatsnest(PAD self) -> int"""
11539 return _pcbnew.PAD_GetSubRatsnest(self)
11540
11541 def SetSubRatsnest(self, aSubRatsnest: "int") -> "void":
11542 r"""SetSubRatsnest(PAD self, int aSubRatsnest)"""
11543 return _pcbnew.PAD_SetSubRatsnest(self, aSubRatsnest)
11544
11545 def SetRemoveUnconnected(self, aSet: "bool") -> "void":
11546 r"""SetRemoveUnconnected(PAD self, bool aSet)"""
11547 return _pcbnew.PAD_SetRemoveUnconnected(self, aSet)
11548
11549 def GetRemoveUnconnected(self) -> "bool":
11550 r"""GetRemoveUnconnected(PAD self) -> bool"""
11551 return _pcbnew.PAD_GetRemoveUnconnected(self)
11552
11553 def SetKeepTopBottom(self, aSet: "bool") -> "void":
11554 r"""SetKeepTopBottom(PAD self, bool aSet)"""
11555 return _pcbnew.PAD_SetKeepTopBottom(self, aSet)
11556
11557 def GetKeepTopBottom(self) -> "bool":
11558 r"""GetKeepTopBottom(PAD self) -> bool"""
11559 return _pcbnew.PAD_GetKeepTopBottom(self)
11560
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)
11564
11565 def IsOnLayer(self, aLayer: "PCB_LAYER_ID") -> "bool":
11566 r"""IsOnLayer(PAD self, PCB_LAYER_ID aLayer) -> bool"""
11567 return _pcbnew.PAD_IsOnLayer(self, aLayer)
11568
11569 def FlashLayer(self, *args) -> "bool":
11570 r"""
11571 FlashLayer(PAD self, int aLayer) -> bool
11572 FlashLayer(PAD self, LSET aLayers) -> bool
11573 """
11574 return _pcbnew.PAD_FlashLayer(self, *args)
11575
11576 def HitTest(self, *args) -> "bool":
11577 r"""
11578 HitTest(PAD self, wxPoint aPosition, int aAccuracy=0) -> bool
11579 HitTest(PAD self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
11580 """
11581 return _pcbnew.PAD_HitTest(self, *args)
11582
11583 def GetClass(self) -> "wxString":
11584 r"""GetClass(PAD self) -> wxString"""
11585 return _pcbnew.PAD_GetClass(self)
11586
11587 def GetBoundingBox(self) -> "EDA_RECT const":
11588 r"""GetBoundingBox(PAD self) -> EDA_RECT"""
11589 return _pcbnew.PAD_GetBoundingBox(self)
11590
11591 def SetDrawCoord(self) -> "void":
11592 r"""SetDrawCoord(PAD self)"""
11593 return _pcbnew.PAD_SetDrawCoord(self)
11594
11595 def SetLocalCoord(self) -> "void":
11596 r"""SetLocalCoord(PAD self)"""
11597 return _pcbnew.PAD_SetLocalCoord(self)
11598
11599 @staticmethod
11600 def Compare(aPadRef: "PAD", aPadCmp: "PAD") -> "int":
11601 r"""Compare(PAD aPadRef, PAD aPadCmp) -> int"""
11602 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
11603
11604 def Move(self, aMoveVector: "wxPoint") -> "void":
11605 r"""Move(PAD self, wxPoint aMoveVector)"""
11606 return _pcbnew.PAD_Move(self, aMoveVector)
11607
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)
11611
11612 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
11613 r"""GetSelectMenuText(PAD self, EDA_UNITS aUnits) -> wxString"""
11614 return _pcbnew.PAD_GetSelectMenuText(self, aUnits)
11615
11616 def GetMenuImage(self) -> "BITMAPS":
11617 r"""GetMenuImage(PAD self) -> BITMAPS"""
11618 return _pcbnew.PAD_GetMenuImage(self)
11619
11620 def ShowPadShape(self) -> "wxString":
11621 r"""ShowPadShape(PAD self) -> wxString"""
11622 return _pcbnew.PAD_ShowPadShape(self)
11623
11624 def ShowPadAttr(self) -> "wxString":
11625 r"""ShowPadAttr(PAD self) -> wxString"""
11626 return _pcbnew.PAD_ShowPadAttr(self)
11627
11628 def Clone(self) -> "EDA_ITEM *":
11629 r"""Clone(PAD self) -> EDA_ITEM"""
11630 return _pcbnew.PAD_Clone(self)
11631
11632 def ClonePad(self) -> "PAD *":
11633 r"""ClonePad(PAD self) -> PAD"""
11634 return _pcbnew.PAD_ClonePad(self)
11635
11636 def BuildEffectiveShapes(self, aLayer: "PCB_LAYER_ID") -> "void":
11637 r"""BuildEffectiveShapes(PAD self, PCB_LAYER_ID aLayer)"""
11638 return _pcbnew.PAD_BuildEffectiveShapes(self, aLayer)
11639
11640 def BuildEffectivePolygon(self) -> "void":
11641 r"""BuildEffectivePolygon(PAD self)"""
11642 return _pcbnew.PAD_BuildEffectivePolygon(self)
11643
11644 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
11645 r"""ViewGetLayers(PAD self, int [] aLayers, int & aCount)"""
11646 return _pcbnew.PAD_ViewGetLayers(self, aLayers, aCount)
11647
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)
11651
11652 def ViewBBox(self) -> "BOX2I const":
11653 r"""ViewBBox(PAD self) -> BOX2I const"""
11654 return _pcbnew.PAD_ViewBBox(self)
11655
11656 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
11657 r"""SwapData(PAD self, BOARD_ITEM aImage)"""
11658 return _pcbnew.PAD_SwapData(self, aImage)
11659
11660
11661 # SetPadName() is the old name for PAD::SetName()
11662 # define it for compatibility
11663 def SetPadName(self, aName):
11664 return self.SetNumber(aName)
11665
11666 def SetName(self, aName):
11667 return self.SetNumber(aName)
11668
11669 # GetPadName() is the old name for PAD::GetName()
11670 # define it for compatibility
11671 def GetPadName(self):
11672 return self.GetNumber()
11673
11674 def GetName(self):
11675 return self.GetNumber()
11676
11677 # AddPrimitive() is the old name for D_PAD::AddPrimitivePoly(),
11678 # PAD::AddPrimitiveSegment(), PAD::AddPrimitiveCircle(),
11679 # PAD::AddPrimitiveArc(), PAD::AddPrimitiveCurve()
11680 # define it for compatibility
11681 def AddPrimitive(self, *args):
11682 if len(args) == 2:
11683 return self.AddPrimitivePoly(*args, True)
11684 elif len(args) == 3:
11685 if type(args[1] in [wxPoint,wxSize]):
11686 return self.AddPrimitiveSegment(*args)
11687 else:
11688 return self.AddPrimitiveCircle(*args)
11689 elif len(args) == 4:
11690 return self.AddPrimitiveArc(*args)
11691 elif len(args) == 5:
11692 return self.AddPrimitiveCurve(*args)
11693 else:
11694 raise TypeError("Arguments not recognized.")
11695
11696 # GetCustomShapeAsPolygon() is the old accessor to get custom shapes
11697 def GetCustomShapeAsPolygon(self, layer=UNDEFINED_LAYER):
11698 polygon_set = SHAPE_POLY_SET()
11699 self.MergePrimitivesAsPolygon(polygon_set)
11700 return polygon_set
11701
11702 __swig_destroy__ = _pcbnew.delete_PAD
11703
11704# Register PAD in _pcbnew:
11705_pcbnew.PAD_swigregister(PAD)
11706
11707def PAD_PTHMask() -> "LSET":
11708 r"""PAD_PTHMask() -> LSET"""
11709 return _pcbnew.PAD_PTHMask()
11710
11711def PAD_SMDMask() -> "LSET":
11712 r"""PAD_SMDMask() -> LSET"""
11713 return _pcbnew.PAD_SMDMask()
11714
11715def PAD_ConnSMDMask() -> "LSET":
11716 r"""PAD_ConnSMDMask() -> LSET"""
11717 return _pcbnew.PAD_ConnSMDMask()
11718
11719def PAD_UnplatedHoleMask() -> "LSET":
11720 r"""PAD_UnplatedHoleMask() -> LSET"""
11721 return _pcbnew.PAD_UnplatedHoleMask()
11722
11723def PAD_ApertureMask() -> "LSET":
11724 r"""PAD_ApertureMask() -> LSET"""
11725 return _pcbnew.PAD_ApertureMask()
11726
11727def PAD_ClassOf(aItem: "EDA_ITEM") -> "bool":
11728 r"""PAD_ClassOf(EDA_ITEM aItem) -> bool"""
11729 return _pcbnew.PAD_ClassOf(aItem)
11730
11731def PAD_Compare(aPadRef: "PAD", aPadCmp: "PAD") -> "int":
11732 r"""PAD_Compare(PAD aPadRef, PAD aPadCmp) -> int"""
11733 return _pcbnew.PAD_Compare(aPadRef, aPadCmp)
11734
11735ENDPOINT_START = _pcbnew.ENDPOINT_START
11736
11737ENDPOINT_END = _pcbnew.ENDPOINT_END
11738
11739VIATYPE_THROUGH = _pcbnew.VIATYPE_THROUGH
11740
11741VIATYPE_BLIND_BURIED = _pcbnew.VIATYPE_BLIND_BURIED
11742
11743VIATYPE_MICROVIA = _pcbnew.VIATYPE_MICROVIA
11744
11745VIATYPE_NOT_DEFINED = _pcbnew.VIATYPE_NOT_DEFINED
11746
11747UNDEFINED_DRILL_DIAMETER = _pcbnew.UNDEFINED_DRILL_DIAMETER
11748
11750 r"""Proxy of C++ PCB_TRACK class."""
11751
11752 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11753 __repr__ = _swig_repr
11754
11755 @staticmethod
11756 def ClassOf(aItem: "EDA_ITEM") -> "bool":
11757 r"""ClassOf(EDA_ITEM aItem) -> bool"""
11758 return _pcbnew.PCB_TRACK_ClassOf(aItem)
11759
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))
11763
11764 def Move(self, aMoveVector: "wxPoint") -> "void":
11765 r"""Move(PCB_TRACK self, wxPoint aMoveVector)"""
11766 return _pcbnew.PCB_TRACK_Move(self, aMoveVector)
11767
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)
11771
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)
11775
11776 def SetPosition(self, aPos: "wxPoint") -> "void":
11777 r"""SetPosition(PCB_TRACK self, wxPoint aPos)"""
11778 return _pcbnew.PCB_TRACK_SetPosition(self, aPos)
11779
11780 def GetPosition(self) -> "wxPoint":
11781 r"""GetPosition(PCB_TRACK self) -> wxPoint"""
11782 return _pcbnew.PCB_TRACK_GetPosition(self)
11783
11784 def GetFocusPosition(self) -> "wxPoint const":
11785 r"""GetFocusPosition(PCB_TRACK self) -> wxPoint"""
11786 return _pcbnew.PCB_TRACK_GetFocusPosition(self)
11787
11788 def SetWidth(self, aWidth: "int") -> "void":
11789 r"""SetWidth(PCB_TRACK self, int aWidth)"""
11790 return _pcbnew.PCB_TRACK_SetWidth(self, aWidth)
11791
11792 def GetWidth(self) -> "int":
11793 r"""GetWidth(PCB_TRACK self) -> int"""
11794 return _pcbnew.PCB_TRACK_GetWidth(self)
11795
11796 def SetEnd(self, aEnd: "wxPoint") -> "void":
11797 r"""SetEnd(PCB_TRACK self, wxPoint aEnd)"""
11798 return _pcbnew.PCB_TRACK_SetEnd(self, aEnd)
11799
11800 def GetEnd(self) -> "wxPoint const &":
11801 r"""GetEnd(PCB_TRACK self) -> wxPoint"""
11802 return _pcbnew.PCB_TRACK_GetEnd(self)
11803
11804 def SetStart(self, aStart: "wxPoint") -> "void":
11805 r"""SetStart(PCB_TRACK self, wxPoint aStart)"""
11806 return _pcbnew.PCB_TRACK_SetStart(self, aStart)
11807
11808 def GetStart(self) -> "wxPoint const &":
11809 r"""GetStart(PCB_TRACK self) -> wxPoint"""
11810 return _pcbnew.PCB_TRACK_GetStart(self)
11811
11812 def SetEndX(self, aX: "int") -> "void":
11813 r"""SetEndX(PCB_TRACK self, int aX)"""
11814 return _pcbnew.PCB_TRACK_SetEndX(self, aX)
11815
11816 def SetEndY(self, aY: "int") -> "void":
11817 r"""SetEndY(PCB_TRACK self, int aY)"""
11818 return _pcbnew.PCB_TRACK_SetEndY(self, aY)
11819
11820 def GetEndX(self) -> "int":
11821 r"""GetEndX(PCB_TRACK self) -> int"""
11822 return _pcbnew.PCB_TRACK_GetEndX(self)
11823
11824 def GetEndY(self) -> "int":
11825 r"""GetEndY(PCB_TRACK self) -> int"""
11826 return _pcbnew.PCB_TRACK_GetEndY(self)
11827
11828 def GetEndPoint(self, aEndPoint: "ENDPOINT_T") -> "wxPoint const &":
11829 r"""GetEndPoint(PCB_TRACK self, ENDPOINT_T aEndPoint) -> wxPoint"""
11830 return _pcbnew.PCB_TRACK_GetEndPoint(self, aEndPoint)
11831
11832 def GetBoundingBox(self) -> "EDA_RECT const":
11833 r"""GetBoundingBox(PCB_TRACK self) -> EDA_RECT"""
11834 return _pcbnew.PCB_TRACK_GetBoundingBox(self)
11835
11836 def GetLength(self) -> "double":
11837 r"""GetLength(PCB_TRACK self) -> double"""
11838 return _pcbnew.PCB_TRACK_GetLength(self)
11839
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)
11843
11844 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
11847
11848 def IsPointOnEnds(self, point: "wxPoint", min_dist: "int"=0) -> "EDA_ITEM_FLAGS":
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)
11851
11852 def IsNull(self) -> "bool":
11853 r"""IsNull(PCB_TRACK self) -> bool"""
11854 return _pcbnew.PCB_TRACK_IsNull(self)
11855
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)
11859
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)
11863
11864 def HitTest(self, *args) -> "bool":
11865 r"""
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
11868 """
11869 return _pcbnew.PCB_TRACK_HitTest(self, *args)
11870
11871 def ApproxCollinear(self, aTrack: "PCB_TRACK") -> "bool":
11872 r"""ApproxCollinear(PCB_TRACK self, PCB_TRACK aTrack) -> bool"""
11873 return _pcbnew.PCB_TRACK_ApproxCollinear(self, aTrack)
11874
11875 def GetClass(self) -> "wxString":
11876 r"""GetClass(PCB_TRACK self) -> wxString"""
11877 return _pcbnew.PCB_TRACK_GetClass(self)
11878
11879 def GetLocalClearance(self, aSource: "wxString") -> "int":
11880 r"""GetLocalClearance(PCB_TRACK self, wxString aSource) -> int"""
11881 return _pcbnew.PCB_TRACK_GetLocalClearance(self, aSource)
11882
11883 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
11884 r"""GetSelectMenuText(PCB_TRACK self, EDA_UNITS aUnits) -> wxString"""
11885 return _pcbnew.PCB_TRACK_GetSelectMenuText(self, aUnits)
11886
11887 def GetMenuImage(self) -> "BITMAPS":
11888 r"""GetMenuImage(PCB_TRACK self) -> BITMAPS"""
11889 return _pcbnew.PCB_TRACK_GetMenuImage(self)
11890
11891 def Clone(self) -> "EDA_ITEM *":
11892 r"""Clone(PCB_TRACK self) -> EDA_ITEM"""
11893 return _pcbnew.PCB_TRACK_Clone(self)
11894
11895 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
11896 r"""ViewGetLayers(PCB_TRACK self, int [] aLayers, int & aCount)"""
11897 return _pcbnew.PCB_TRACK_ViewGetLayers(self, aLayers, aCount)
11898
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)
11902
11903 def ViewBBox(self) -> "BOX2I const":
11904 r"""ViewBBox(PCB_TRACK self) -> BOX2I const"""
11905 return _pcbnew.PCB_TRACK_ViewBBox(self)
11906
11907 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
11908 r"""SwapData(PCB_TRACK self, BOARD_ITEM aImage)"""
11909 return _pcbnew.PCB_TRACK_SwapData(self, aImage)
11910
11911 def IsOnCopperLayer(self) -> "bool":
11912 r"""IsOnCopperLayer(PCB_TRACK self) -> bool"""
11913 return _pcbnew.PCB_TRACK_IsOnCopperLayer(self)
11914 __swig_destroy__ = _pcbnew.delete_PCB_TRACK
11915
11916# Register PCB_TRACK in _pcbnew:
11917_pcbnew.PCB_TRACK_swigregister(PCB_TRACK)
11918
11919def PCB_TRACK_ClassOf(aItem: "EDA_ITEM") -> "bool":
11920 r"""PCB_TRACK_ClassOf(EDA_ITEM aItem) -> bool"""
11921 return _pcbnew.PCB_TRACK_ClassOf(aItem)
11922
11924 r"""Proxy of C++ PCB_ARC class."""
11925
11926 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
11927 __repr__ = _swig_repr
11928
11929 def __init__(self, *args):
11930 r"""
11931 __init__(PCB_ARC self, BOARD_ITEM aParent) -> PCB_ARC
11932 __init__(PCB_ARC self, BOARD_ITEM aParent, SHAPE_ARC const * aArc) -> PCB_ARC
11933 """
11934 _pcbnew.PCB_ARC_swiginit(self, _pcbnew.new_PCB_ARC(*args))
11935
11936 @staticmethod
11937 def ClassOf(aItem: "EDA_ITEM") -> "bool":
11938 r"""ClassOf(EDA_ITEM aItem) -> bool"""
11939 return _pcbnew.PCB_ARC_ClassOf(aItem)
11940
11941 def Move(self, aMoveVector: "wxPoint") -> "void":
11942 r"""Move(PCB_ARC self, wxPoint aMoveVector)"""
11943 return _pcbnew.PCB_ARC_Move(self, aMoveVector)
11944
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)
11948
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)
11952
11953 def SetMid(self, aMid: "wxPoint") -> "void":
11954 r"""SetMid(PCB_ARC self, wxPoint aMid)"""
11955 return _pcbnew.PCB_ARC_SetMid(self, aMid)
11956
11957 def GetMid(self) -> "wxPoint const &":
11958 r"""GetMid(PCB_ARC self) -> wxPoint"""
11959 return _pcbnew.PCB_ARC_GetMid(self)
11960
11961 def SetPosition(self, aPos: "wxPoint") -> "void":
11962 r"""SetPosition(PCB_ARC self, wxPoint aPos)"""
11963 return _pcbnew.PCB_ARC_SetPosition(self, aPos)
11964
11965 def GetPosition(self) -> "wxPoint":
11966 r"""GetPosition(PCB_ARC self) -> wxPoint"""
11967 return _pcbnew.PCB_ARC_GetPosition(self)
11968
11969 def GetCenter(self) -> "wxPoint":
11970 r"""GetCenter(PCB_ARC self) -> wxPoint"""
11971 return _pcbnew.PCB_ARC_GetCenter(self)
11972
11973 def GetRadius(self) -> "double":
11974 r"""GetRadius(PCB_ARC self) -> double"""
11975 return _pcbnew.PCB_ARC_GetRadius(self)
11976
11977 def GetAngle(self) -> "double":
11978 r"""GetAngle(PCB_ARC self) -> double"""
11979 return _pcbnew.PCB_ARC_GetAngle(self)
11980
11981 def GetArcAngleStart(self) -> "double":
11982 r"""GetArcAngleStart(PCB_ARC self) -> double"""
11983 return _pcbnew.PCB_ARC_GetArcAngleStart(self)
11984
11985 def GetArcAngleEnd(self) -> "double":
11986 r"""GetArcAngleEnd(PCB_ARC self) -> double"""
11987 return _pcbnew.PCB_ARC_GetArcAngleEnd(self)
11988
11989 def HitTest(self, *args) -> "bool":
11990 r"""
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
11993 """
11994 return _pcbnew.PCB_ARC_HitTest(self, *args)
11995
11996 def GetClass(self) -> "wxString":
11997 r"""GetClass(PCB_ARC self) -> wxString"""
11998 return _pcbnew.PCB_ARC_GetClass(self)
11999
12000 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
12003
12004 def GetLength(self) -> "double":
12005 r"""GetLength(PCB_ARC self) -> double"""
12006 return _pcbnew.PCB_ARC_GetLength(self)
12007
12008 def Clone(self) -> "EDA_ITEM *":
12009 r"""Clone(PCB_ARC self) -> EDA_ITEM"""
12010 return _pcbnew.PCB_ARC_Clone(self)
12011
12012 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
12013 r"""SwapData(PCB_ARC self, BOARD_ITEM aImage)"""
12014 return _pcbnew.PCB_ARC_SwapData(self, aImage)
12015 __swig_destroy__ = _pcbnew.delete_PCB_ARC
12016
12017# Register PCB_ARC in _pcbnew:
12018_pcbnew.PCB_ARC_swigregister(PCB_ARC)
12019
12020def PCB_ARC_ClassOf(aItem: "EDA_ITEM") -> "bool":
12021 r"""PCB_ARC_ClassOf(EDA_ITEM aItem) -> bool"""
12022 return _pcbnew.PCB_ARC_ClassOf(aItem)
12023
12025 r"""Proxy of C++ PCB_VIA class."""
12026
12027 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12028 __repr__ = _swig_repr
12029
12030 def __init__(self, aParent: "BOARD_ITEM"):
12031 r"""__init__(PCB_VIA self, BOARD_ITEM aParent) -> PCB_VIA"""
12032 _pcbnew.PCB_VIA_swiginit(self, _pcbnew.new_PCB_VIA(aParent))
12033
12034 @staticmethod
12035 def ClassOf(aItem: "EDA_ITEM") -> "bool":
12036 r"""ClassOf(EDA_ITEM aItem) -> bool"""
12037 return _pcbnew.PCB_VIA_ClassOf(aItem)
12038
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)
12042
12043 def GetViaType(self) -> "VIATYPE":
12044 r"""GetViaType(PCB_VIA self) -> VIATYPE"""
12045 return _pcbnew.PCB_VIA_GetViaType(self)
12046
12047 def SetViaType(self, aViaType: "VIATYPE") -> "void":
12048 r"""SetViaType(PCB_VIA self, VIATYPE aViaType)"""
12049 return _pcbnew.PCB_VIA_SetViaType(self, aViaType)
12050
12051 def IsOnLayer(self, aLayer: "PCB_LAYER_ID") -> "bool":
12052 r"""IsOnLayer(PCB_VIA self, PCB_LAYER_ID aLayer) -> bool"""
12053 return _pcbnew.PCB_VIA_IsOnLayer(self, aLayer)
12054
12055 def GetLayerSet(self) -> "LSET":
12056 r"""GetLayerSet(PCB_VIA self) -> LSET"""
12057 return _pcbnew.PCB_VIA_GetLayerSet(self)
12058
12059 def SetLayerSet(self, aLayers: "LSET") -> "void":
12060 r"""SetLayerSet(PCB_VIA self, LSET aLayers)"""
12061 return _pcbnew.PCB_VIA_SetLayerSet(self, aLayers)
12062
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)
12066
12067 def SetBottomLayer(self, aLayer: "PCB_LAYER_ID") -> "void":
12068 r"""SetBottomLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
12069 return _pcbnew.PCB_VIA_SetBottomLayer(self, aLayer)
12070
12071 def SetTopLayer(self, aLayer: "PCB_LAYER_ID") -> "void":
12072 r"""SetTopLayer(PCB_VIA self, PCB_LAYER_ID aLayer)"""
12073 return _pcbnew.PCB_VIA_SetTopLayer(self, aLayer)
12074
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)
12078
12079 def TopLayer(self) -> "PCB_LAYER_ID":
12080 r"""TopLayer(PCB_VIA self) -> PCB_LAYER_ID"""
12081 return _pcbnew.PCB_VIA_TopLayer(self)
12082
12083 def BottomLayer(self) -> "PCB_LAYER_ID":
12084 r"""BottomLayer(PCB_VIA self) -> PCB_LAYER_ID"""
12085 return _pcbnew.PCB_VIA_BottomLayer(self)
12086
12087 def SanitizeLayers(self) -> "void":
12088 r"""SanitizeLayers(PCB_VIA self)"""
12089 return _pcbnew.PCB_VIA_SanitizeLayers(self)
12090
12091 def GetPosition(self) -> "wxPoint":
12092 r"""GetPosition(PCB_VIA self) -> wxPoint"""
12093 return _pcbnew.PCB_VIA_GetPosition(self)
12094
12095 def SetPosition(self, aPoint: "wxPoint") -> "void":
12096 r"""SetPosition(PCB_VIA self, wxPoint aPoint)"""
12097 return _pcbnew.PCB_VIA_SetPosition(self, aPoint)
12098
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)
12102
12103 def HitTest(self, *args) -> "bool":
12104 r"""
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
12107 """
12108 return _pcbnew.PCB_VIA_HitTest(self, *args)
12109
12110 def GetClass(self) -> "wxString":
12111 r"""GetClass(PCB_VIA self) -> wxString"""
12112 return _pcbnew.PCB_VIA_GetClass(self)
12113
12114 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
12115 r"""GetSelectMenuText(PCB_VIA self, EDA_UNITS aUnits) -> wxString"""
12116 return _pcbnew.PCB_VIA_GetSelectMenuText(self, aUnits)
12117
12118 def GetMenuImage(self) -> "BITMAPS":
12119 r"""GetMenuImage(PCB_VIA self) -> BITMAPS"""
12120 return _pcbnew.PCB_VIA_GetMenuImage(self)
12121
12122 def Clone(self) -> "EDA_ITEM *":
12123 r"""Clone(PCB_VIA self) -> EDA_ITEM"""
12124 return _pcbnew.PCB_VIA_Clone(self)
12125
12126 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
12127 r"""ViewGetLayers(PCB_VIA self, int [] aLayers, int & aCount)"""
12128 return _pcbnew.PCB_VIA_ViewGetLayers(self, aLayers, aCount)
12129
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)
12133
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)
12137
12138 def GetMinAnnulus(self, aLayer: "PCB_LAYER_ID", aSource: "wxString") -> "int":
12139 r"""GetMinAnnulus(PCB_VIA self, PCB_LAYER_ID aLayer, wxString aSource) -> int"""
12140 return _pcbnew.PCB_VIA_GetMinAnnulus(self, aLayer, aSource)
12141
12142 def SetRemoveUnconnected(self, aSet: "bool") -> "void":
12143 r"""SetRemoveUnconnected(PCB_VIA self, bool aSet)"""
12144 return _pcbnew.PCB_VIA_SetRemoveUnconnected(self, aSet)
12145
12146 def GetRemoveUnconnected(self) -> "bool":
12147 r"""GetRemoveUnconnected(PCB_VIA self) -> bool"""
12148 return _pcbnew.PCB_VIA_GetRemoveUnconnected(self)
12149
12150 def SetKeepTopBottom(self, aSet: "bool") -> "void":
12151 r"""SetKeepTopBottom(PCB_VIA self, bool aSet)"""
12152 return _pcbnew.PCB_VIA_SetKeepTopBottom(self, aSet)
12153
12154 def GetKeepTopBottom(self) -> "bool":
12155 r"""GetKeepTopBottom(PCB_VIA self) -> bool"""
12156 return _pcbnew.PCB_VIA_GetKeepTopBottom(self)
12157
12158 def FlashLayer(self, *args) -> "bool":
12159 r"""
12160 FlashLayer(PCB_VIA self, int aLayer) -> bool
12161 FlashLayer(PCB_VIA self, LSET aLayers) -> bool
12162 """
12163 return _pcbnew.PCB_VIA_FlashLayer(self, *args)
12164
12165 def SetDrill(self, aDrill: "int") -> "void":
12166 r"""SetDrill(PCB_VIA self, int aDrill)"""
12167 return _pcbnew.PCB_VIA_SetDrill(self, aDrill)
12168
12169 def GetDrill(self) -> "int":
12170 r"""GetDrill(PCB_VIA self) -> int"""
12171 return _pcbnew.PCB_VIA_GetDrill(self)
12172
12173 def GetDrillValue(self) -> "int":
12174 r"""GetDrillValue(PCB_VIA self) -> int"""
12175 return _pcbnew.PCB_VIA_GetDrillValue(self)
12176
12177 def SetDrillDefault(self) -> "void":
12178 r"""SetDrillDefault(PCB_VIA self)"""
12179 return _pcbnew.PCB_VIA_SetDrillDefault(self)
12180
12181 def GetIsFree(self) -> "bool":
12182 r"""GetIsFree(PCB_VIA self) -> bool"""
12183 return _pcbnew.PCB_VIA_GetIsFree(self)
12184
12185 def SetIsFree(self, aFree: "bool"=True) -> "void":
12186 r"""SetIsFree(PCB_VIA self, bool aFree=True)"""
12187 return _pcbnew.PCB_VIA_SetIsFree(self, aFree)
12188
12189 def IsDrillDefault(self) -> "bool":
12190 r"""IsDrillDefault(PCB_VIA self) -> bool"""
12191 return _pcbnew.PCB_VIA_IsDrillDefault(self)
12192
12193 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
12194 r"""SwapData(PCB_VIA self, BOARD_ITEM aImage)"""
12195 return _pcbnew.PCB_VIA_SwapData(self, aImage)
12196
12197 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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
12201
12202# Register PCB_VIA in _pcbnew:
12203_pcbnew.PCB_VIA_swigregister(PCB_VIA)
12204
12205def PCB_VIA_ClassOf(aItem: "EDA_ITEM") -> "bool":
12206 r"""PCB_VIA_ClassOf(EDA_ITEM aItem) -> bool"""
12207 return _pcbnew.PCB_VIA_ClassOf(aItem)
12208
12210 r"""Proxy of C++ ZONE class."""
12211
12212 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12213 __repr__ = _swig_repr
12214
12215 def __init__(self, *args):
12216 r"""
12217 __init__(ZONE self, BOARD_ITEM_CONTAINER parent, bool aInFP=False) -> ZONE
12218 __init__(ZONE self, ZONE aZone) -> ZONE
12219 """
12220 _pcbnew.ZONE_swiginit(self, _pcbnew.new_ZONE(*args))
12221 __swig_destroy__ = _pcbnew.delete_ZONE
12222
12223 @staticmethod
12224 def ClassOf(aItem: "EDA_ITEM") -> "bool":
12225 r"""ClassOf(EDA_ITEM aItem) -> bool"""
12226 return _pcbnew.ZONE_ClassOf(aItem)
12227
12228 def IsConnected(self) -> "bool":
12229 r"""IsConnected(ZONE self) -> bool"""
12230 return _pcbnew.ZONE_IsConnected(self)
12231
12232 def GetNetClass(self) -> "NETCLASS *":
12233 r"""GetNetClass(ZONE self) -> NETCLASS *"""
12234 return _pcbnew.ZONE_GetNetClass(self)
12235
12236 def GetNetClassName(self) -> "wxString":
12237 r"""GetNetClassName(ZONE self) -> wxString"""
12238 return _pcbnew.ZONE_GetNetClassName(self)
12239
12240 def InitDataFromSrcInCopyCtor(self, aZone: "ZONE") -> "void":
12241 r"""InitDataFromSrcInCopyCtor(ZONE self, ZONE aZone)"""
12242 return _pcbnew.ZONE_InitDataFromSrcInCopyCtor(self, aZone)
12243
12244 def GetPosition(self) -> "wxPoint":
12245 r"""GetPosition(ZONE self) -> wxPoint"""
12246 return _pcbnew.ZONE_GetPosition(self)
12247
12248 def SetPosition(self, aPos: "wxPoint") -> "void":
12249 r"""SetPosition(ZONE self, wxPoint aPos)"""
12250 return _pcbnew.ZONE_SetPosition(self, aPos)
12251
12252 def SetPriority(self, aPriority: "unsigned int") -> "void":
12253 r"""SetPriority(ZONE self, unsigned int aPriority)"""
12254 return _pcbnew.ZONE_SetPriority(self, aPriority)
12255
12256 def GetPriority(self) -> "unsigned int":
12257 r"""GetPriority(ZONE self) -> unsigned int"""
12258 return _pcbnew.ZONE_GetPriority(self)
12259
12260 def HigherPriority(self, aOther: "ZONE") -> "bool":
12261 r"""HigherPriority(ZONE self, ZONE aOther) -> bool"""
12262 return _pcbnew.ZONE_HigherPriority(self, aOther)
12263
12264 def SameNet(self, aOther: "ZONE") -> "bool":
12265 r"""SameNet(ZONE self, ZONE aOther) -> bool"""
12266 return _pcbnew.ZONE_SameNet(self, aOther)
12267
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)
12271
12272 def SetLayerSet(self, aLayerSet: "LSET") -> "void":
12273 r"""SetLayerSet(ZONE self, LSET aLayerSet)"""
12274 return _pcbnew.ZONE_SetLayerSet(self, aLayerSet)
12275
12276 def GetLayerSet(self) -> "LSET":
12277 r"""GetLayerSet(ZONE self) -> LSET"""
12278 return _pcbnew.ZONE_GetLayerSet(self)
12279
12280 def GetZoneName(self) -> "wxString":
12281 r"""GetZoneName(ZONE self) -> wxString"""
12282 return _pcbnew.ZONE_GetZoneName(self)
12283
12284 def SetZoneName(self, aName: "wxString") -> "void":
12285 r"""SetZoneName(ZONE self, wxString aName)"""
12286 return _pcbnew.ZONE_SetZoneName(self, aName)
12287
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)
12291
12292 def GetBoundingBox(self) -> "EDA_RECT const":
12293 r"""GetBoundingBox(ZONE self) -> EDA_RECT"""
12294 return _pcbnew.ZONE_GetBoundingBox(self)
12295
12296 def GetCachedBoundingBox(self) -> "EDA_RECT const":
12297 r"""GetCachedBoundingBox(ZONE self) -> EDA_RECT"""
12298 return _pcbnew.ZONE_GetCachedBoundingBox(self)
12299
12300 def CacheBoundingBox(self) -> "void":
12301 r"""CacheBoundingBox(ZONE self)"""
12302 return _pcbnew.ZONE_CacheBoundingBox(self)
12303
12304 def GetLocalClearance(self, *args) -> "int":
12305 r"""
12306 GetLocalClearance(ZONE self, wxString aSource) -> int
12307 GetLocalClearance(ZONE self) -> int
12308 """
12309 return _pcbnew.ZONE_GetLocalClearance(self, *args)
12310
12311 def SetLocalClearance(self, aClearance: "int") -> "void":
12312 r"""SetLocalClearance(ZONE self, int aClearance)"""
12313 return _pcbnew.ZONE_SetLocalClearance(self, aClearance)
12314
12315 def IsOnCopperLayer(self) -> "bool":
12316 r"""IsOnCopperLayer(ZONE self) -> bool"""
12317 return _pcbnew.ZONE_IsOnCopperLayer(self)
12318
12319 def CommonLayerExists(self, aLayerSet: "LSET") -> "bool":
12320 r"""CommonLayerExists(ZONE self, LSET aLayerSet) -> bool"""
12321 return _pcbnew.ZONE_CommonLayerExists(self, aLayerSet)
12322
12323 def SetLayer(self, aLayer: "PCB_LAYER_ID") -> "void":
12324 r"""SetLayer(ZONE self, PCB_LAYER_ID aLayer)"""
12325 return _pcbnew.ZONE_SetLayer(self, aLayer)
12326
12327 def GetLayer(self) -> "PCB_LAYER_ID":
12328 r"""GetLayer(ZONE self) -> PCB_LAYER_ID"""
12329 return _pcbnew.ZONE_GetLayer(self)
12330
12331 def IsOnLayer(self, arg2: "PCB_LAYER_ID") -> "bool":
12332 r"""IsOnLayer(ZONE self, PCB_LAYER_ID arg2) -> bool"""
12333 return _pcbnew.ZONE_IsOnLayer(self, arg2)
12334
12335 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
12336 r"""ViewGetLayers(ZONE self, int [] aLayers, int & aCount)"""
12337 return _pcbnew.ZONE_ViewGetLayers(self, aLayers, aCount)
12338
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)
12342
12343 def SetFillMode(self, aFillMode: "ZONE_FILL_MODE") -> "void":
12344 r"""SetFillMode(ZONE self, ZONE_FILL_MODE aFillMode)"""
12345 return _pcbnew.ZONE_SetFillMode(self, aFillMode)
12346
12347 def GetFillMode(self) -> "ZONE_FILL_MODE":
12348 r"""GetFillMode(ZONE self) -> ZONE_FILL_MODE"""
12349 return _pcbnew.ZONE_GetFillMode(self)
12350
12351 def SetThermalReliefGap(self, aThermalReliefGap: "int") -> "void":
12352 r"""SetThermalReliefGap(ZONE self, int aThermalReliefGap)"""
12353 return _pcbnew.ZONE_SetThermalReliefGap(self, aThermalReliefGap)
12354
12355 def GetThermalReliefGap(self, *args) -> "int":
12356 r"""
12357 GetThermalReliefGap(ZONE self) -> int
12358 GetThermalReliefGap(ZONE self, PAD aPad, wxString aSource=None) -> int
12359 """
12360 return _pcbnew.ZONE_GetThermalReliefGap(self, *args)
12361
12362 def SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth: "int") -> "void":
12363 r"""SetThermalReliefSpokeWidth(ZONE self, int aThermalReliefSpokeWidth)"""
12364 return _pcbnew.ZONE_SetThermalReliefSpokeWidth(self, aThermalReliefSpokeWidth)
12365
12366 def GetThermalReliefSpokeWidth(self, *args) -> "int":
12367 r"""
12368 GetThermalReliefSpokeWidth(ZONE self) -> int
12369 GetThermalReliefSpokeWidth(ZONE self, PAD aPad, wxString aSource=None) -> int
12370 """
12371 return _pcbnew.ZONE_GetThermalReliefSpokeWidth(self, *args)
12372
12373 def CalculateFilledArea(self) -> "double":
12374 r"""CalculateFilledArea(ZONE self) -> double"""
12375 return _pcbnew.ZONE_CalculateFilledArea(self)
12376
12377 def GetFilledArea(self) -> "double":
12378 r"""GetFilledArea(ZONE self) -> double"""
12379 return _pcbnew.ZONE_GetFilledArea(self)
12380
12381 def GetLock(self) -> "std::mutex &":
12382 r"""GetLock(ZONE self) -> std::mutex &"""
12383 return _pcbnew.ZONE_GetLock(self)
12384
12385 def GetFillFlag(self, aLayer: "PCB_LAYER_ID") -> "int":
12386 r"""GetFillFlag(ZONE self, PCB_LAYER_ID aLayer) -> int"""
12387 return _pcbnew.ZONE_GetFillFlag(self, aLayer)
12388
12389 def SetFillFlag(self, aLayer: "PCB_LAYER_ID", aFlag: "bool") -> "void":
12390 r"""SetFillFlag(ZONE self, PCB_LAYER_ID aLayer, bool aFlag)"""
12391 return _pcbnew.ZONE_SetFillFlag(self, aLayer, aFlag)
12392
12393 def IsFilled(self) -> "bool":
12394 r"""IsFilled(ZONE self) -> bool"""
12395 return _pcbnew.ZONE_IsFilled(self)
12396
12397 def SetIsFilled(self, isFilled: "bool") -> "void":
12398 r"""SetIsFilled(ZONE self, bool isFilled)"""
12399 return _pcbnew.ZONE_SetIsFilled(self, isFilled)
12400
12401 def NeedRefill(self) -> "bool":
12402 r"""NeedRefill(ZONE self) -> bool"""
12403 return _pcbnew.ZONE_NeedRefill(self)
12404
12405 def SetNeedRefill(self, aNeedRefill: "bool") -> "void":
12406 r"""SetNeedRefill(ZONE self, bool aNeedRefill)"""
12407 return _pcbnew.ZONE_SetNeedRefill(self, aNeedRefill)
12408
12409 def GetPadConnection(self, *args) -> "ZONE_CONNECTION":
12410 r"""
12411 GetPadConnection(ZONE self, PAD aPad, wxString aSource=None) -> ZONE_CONNECTION
12412 GetPadConnection(ZONE self) -> ZONE_CONNECTION
12413 """
12414 return _pcbnew.ZONE_GetPadConnection(self, *args)
12415
12416 def SetPadConnection(self, aPadConnection: "ZONE_CONNECTION") -> "void":
12417 r"""SetPadConnection(ZONE self, ZONE_CONNECTION aPadConnection)"""
12418 return _pcbnew.ZONE_SetPadConnection(self, aPadConnection)
12419
12420 def GetMinThickness(self) -> "int":
12421 r"""GetMinThickness(ZONE self) -> int"""
12422 return _pcbnew.ZONE_GetMinThickness(self)
12423
12424 def SetMinThickness(self, aMinThickness: "int") -> "void":
12425 r"""SetMinThickness(ZONE self, int aMinThickness)"""
12426 return _pcbnew.ZONE_SetMinThickness(self, aMinThickness)
12427
12428 def GetHatchThickness(self) -> "int":
12429 r"""GetHatchThickness(ZONE self) -> int"""
12430 return _pcbnew.ZONE_GetHatchThickness(self)
12431
12432 def SetHatchThickness(self, aThickness: "int") -> "void":
12433 r"""SetHatchThickness(ZONE self, int aThickness)"""
12434 return _pcbnew.ZONE_SetHatchThickness(self, aThickness)
12435
12436 def GetHatchGap(self) -> "int":
12437 r"""GetHatchGap(ZONE self) -> int"""
12438 return _pcbnew.ZONE_GetHatchGap(self)
12439
12440 def SetHatchGap(self, aStep: "int") -> "void":
12441 r"""SetHatchGap(ZONE self, int aStep)"""
12442 return _pcbnew.ZONE_SetHatchGap(self, aStep)
12443
12444 def GetHatchOrientation(self) -> "double":
12445 r"""GetHatchOrientation(ZONE self) -> double"""
12446 return _pcbnew.ZONE_GetHatchOrientation(self)
12447
12448 def SetHatchOrientation(self, aStep: "double") -> "void":
12449 r"""SetHatchOrientation(ZONE self, double aStep)"""
12450 return _pcbnew.ZONE_SetHatchOrientation(self, aStep)
12451
12452 def GetHatchSmoothingLevel(self) -> "int":
12453 r"""GetHatchSmoothingLevel(ZONE self) -> int"""
12454 return _pcbnew.ZONE_GetHatchSmoothingLevel(self)
12455
12456 def SetHatchSmoothingLevel(self, aLevel: "int") -> "void":
12457 r"""SetHatchSmoothingLevel(ZONE self, int aLevel)"""
12458 return _pcbnew.ZONE_SetHatchSmoothingLevel(self, aLevel)
12459
12460 def GetHatchSmoothingValue(self) -> "double":
12461 r"""GetHatchSmoothingValue(ZONE self) -> double"""
12462 return _pcbnew.ZONE_GetHatchSmoothingValue(self)
12463
12464 def SetHatchSmoothingValue(self, aValue: "double") -> "void":
12465 r"""SetHatchSmoothingValue(ZONE self, double aValue)"""
12466 return _pcbnew.ZONE_SetHatchSmoothingValue(self, aValue)
12467
12468 def GetHatchHoleMinArea(self) -> "double":
12469 r"""GetHatchHoleMinArea(ZONE self) -> double"""
12470 return _pcbnew.ZONE_GetHatchHoleMinArea(self)
12471
12472 def SetHatchHoleMinArea(self, aPct: "double") -> "void":
12473 r"""SetHatchHoleMinArea(ZONE self, double aPct)"""
12474 return _pcbnew.ZONE_SetHatchHoleMinArea(self, aPct)
12475
12476 def GetHatchBorderAlgorithm(self) -> "int":
12477 r"""GetHatchBorderAlgorithm(ZONE self) -> int"""
12478 return _pcbnew.ZONE_GetHatchBorderAlgorithm(self)
12479
12480 def SetHatchBorderAlgorithm(self, aAlgo: "int") -> "void":
12481 r"""SetHatchBorderAlgorithm(ZONE self, int aAlgo)"""
12482 return _pcbnew.ZONE_SetHatchBorderAlgorithm(self, aAlgo)
12483
12484 def GetSelectedCorner(self) -> "int":
12485 r"""GetSelectedCorner(ZONE self) -> int"""
12486 return _pcbnew.ZONE_GetSelectedCorner(self)
12487
12488 def SetSelectedCorner(self, *args) -> "void":
12489 r"""
12490 SetSelectedCorner(ZONE self, int aCorner)
12491 SetSelectedCorner(ZONE self, wxPoint aPosition, int aAccuracy)
12492 """
12493 return _pcbnew.ZONE_SetSelectedCorner(self, *args)
12494
12495 def GetLocalFlags(self) -> "int":
12496 r"""GetLocalFlags(ZONE self) -> int"""
12497 return _pcbnew.ZONE_GetLocalFlags(self)
12498
12499 def SetLocalFlags(self, aFlags: "int") -> "void":
12500 r"""SetLocalFlags(ZONE self, int aFlags)"""
12501 return _pcbnew.ZONE_SetLocalFlags(self, aFlags)
12502
12503 def FillSegments(self, *args) -> "std::vector< SEG,std::allocator< SEG > > const &":
12504 r"""
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 &
12507 """
12508 return _pcbnew.ZONE_FillSegments(self, *args)
12509
12510 def Outline(self, *args) -> "SHAPE_POLY_SET const *":
12511 r"""
12512 Outline(ZONE self) -> SHAPE_POLY_SET
12513 Outline(ZONE self) -> SHAPE_POLY_SET
12514 """
12515 return _pcbnew.ZONE_Outline(self, *args)
12516
12517 def SetOutline(self, aOutline: "SHAPE_POLY_SET") -> "void":
12518 r"""SetOutline(ZONE self, SHAPE_POLY_SET aOutline)"""
12519 return _pcbnew.ZONE_SetOutline(self, aOutline)
12520
12521 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
12524
12525 def HitTestFilledArea(self, aLayer: "PCB_LAYER_ID", aRefPos: "wxPoint", aAccuracy: "int"=0) -> "bool":
12526 r"""HitTestFilledArea(ZONE self, PCB_LAYER_ID aLayer, wxPoint aRefPos, int aAccuracy=0) -> bool"""
12527 return _pcbnew.ZONE_HitTestFilledArea(self, aLayer, aRefPos, aAccuracy)
12528
12529 def HitTestCutout(self, *args) -> "bool":
12530 r"""
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
12533 """
12534 return _pcbnew.ZONE_HitTestCutout(self, *args)
12535
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)
12539
12540 def TransformSolidAreasShapesToPolygon(self, *args) -> "void":
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)
12543
12544 def TransformSmoothedOutlineToPolygon(self, aCornerBuffer: "SHAPE_POLY_SET", aClearance: "int", aError: "int", aErrorLoc: "ERROR_LOC", aBoardOutline: "SHAPE_POLY_SET") -> "void":
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)
12547
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)
12551
12552 def HitTestForCorner(self, *args) -> "bool":
12553 r"""
12554 HitTestForCorner(ZONE self, wxPoint refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX & aCornerHit) -> bool
12555 HitTestForCorner(ZONE self, wxPoint refPos, int aAccuracy) -> bool
12556 """
12557 return _pcbnew.ZONE_HitTestForCorner(self, *args)
12558
12559 def HitTestForEdge(self, *args) -> "bool":
12560 r"""
12561 HitTestForEdge(ZONE self, wxPoint refPos, int aAccuracy, SHAPE_POLY_SET::VERTEX_INDEX & aCornerHit) -> bool
12562 HitTestForEdge(ZONE self, wxPoint refPos, int aAccuracy) -> bool
12563 """
12564 return _pcbnew.ZONE_HitTestForEdge(self, *args)
12565
12566 def HitTest(self, *args) -> "bool":
12567 r"""
12568 HitTest(ZONE self, wxPoint aPosition, int aAccuracy=0) -> bool
12569 HitTest(ZONE self, EDA_RECT aRect, bool aContained=True, int aAccuracy=0) -> bool
12570 """
12571 return _pcbnew.ZONE_HitTest(self, *args)
12572
12573 def UnFill(self) -> "bool":
12574 r"""UnFill(ZONE self) -> bool"""
12575 return _pcbnew.ZONE_UnFill(self)
12576
12577 def Move(self, offset: "wxPoint") -> "void":
12578 r"""Move(ZONE self, wxPoint offset)"""
12579 return _pcbnew.ZONE_Move(self, offset)
12580
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)
12584
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)
12588
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)
12592
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)
12596
12597 def GetClass(self) -> "wxString":
12598 r"""GetClass(ZONE self) -> wxString"""
12599 return _pcbnew.ZONE_GetClass(self)
12600
12601 def GetNumCorners(self) -> "int":
12602 r"""GetNumCorners(ZONE self) -> int"""
12603 return _pcbnew.ZONE_GetNumCorners(self)
12604
12605 def Iterate(self) -> "SHAPE_POLY_SET::ITERATOR":
12606 r"""Iterate(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
12607 return _pcbnew.ZONE_Iterate(self)
12608
12609 def IterateWithHoles(self) -> "SHAPE_POLY_SET::ITERATOR":
12610 r"""IterateWithHoles(ZONE self) -> SHAPE_POLY_SET::ITERATOR"""
12611 return _pcbnew.ZONE_IterateWithHoles(self)
12612
12613 def CIterateWithHoles(self) -> "SHAPE_POLY_SET::CONST_ITERATOR":
12614 r"""CIterateWithHoles(ZONE self) -> SHAPE_POLY_SET::CONST_ITERATOR"""
12615 return _pcbnew.ZONE_CIterateWithHoles(self)
12616
12617 def RemoveAllContours(self) -> "void":
12618 r"""RemoveAllContours(ZONE self)"""
12619 return _pcbnew.ZONE_RemoveAllContours(self)
12620
12621 def GetCornerPosition(self, aCornerIndex: "int") -> "VECTOR2I const &":
12622 r"""GetCornerPosition(ZONE self, int aCornerIndex) -> VECTOR2I"""
12623 return _pcbnew.ZONE_GetCornerPosition(self, aCornerIndex)
12624
12625 def SetCornerPosition(self, aCornerIndex: "int", new_pos: "wxPoint") -> "void":
12626 r"""SetCornerPosition(ZONE self, int aCornerIndex, wxPoint new_pos)"""
12627 return _pcbnew.ZONE_SetCornerPosition(self, aCornerIndex, new_pos)
12628
12629 def NewHole(self) -> "void":
12630 r"""NewHole(ZONE self)"""
12631 return _pcbnew.ZONE_NewHole(self)
12632
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)
12636
12637 def GetHatchStyle(self) -> "ZONE_BORDER_DISPLAY_STYLE":
12638 r"""GetHatchStyle(ZONE self) -> ZONE_BORDER_DISPLAY_STYLE"""
12639 return _pcbnew.ZONE_GetHatchStyle(self)
12640
12641 def SetHatchStyle(self, aStyle: "ZONE_BORDER_DISPLAY_STYLE") -> "void":
12642 r"""SetHatchStyle(ZONE self, ZONE_BORDER_DISPLAY_STYLE aStyle)"""
12643 return _pcbnew.ZONE_SetHatchStyle(self, aStyle)
12644
12645 def IsSame(self, aZoneToCompare: "ZONE") -> "bool":
12646 r"""IsSame(ZONE self, ZONE aZoneToCompare) -> bool"""
12647 return _pcbnew.ZONE_IsSame(self, aZoneToCompare)
12648
12649 def HasFilledPolysForLayer(self, aLayer: "PCB_LAYER_ID") -> "bool":
12650 r"""HasFilledPolysForLayer(ZONE self, PCB_LAYER_ID aLayer) -> bool"""
12651 return _pcbnew.ZONE_HasFilledPolysForLayer(self, aLayer)
12652
12653 def GetFilledPolysList(self, aLayer: "PCB_LAYER_ID") -> "SHAPE_POLY_SET const &":
12654 r"""GetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
12655 return _pcbnew.ZONE_GetFilledPolysList(self, aLayer)
12656
12657 def CacheTriangulation(self, aLayer: "PCB_LAYER_ID"=UNDEFINED_LAYER) -> "void":
12658 r"""CacheTriangulation(ZONE self, PCB_LAYER_ID aLayer=UNDEFINED_LAYER)"""
12659 return _pcbnew.ZONE_CacheTriangulation(self, aLayer)
12660
12661 def SetFilledPolysList(self, aLayer: "PCB_LAYER_ID", aPolysList: "SHAPE_POLY_SET") -> "void":
12662 r"""SetFilledPolysList(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPolysList)"""
12663 return _pcbnew.ZONE_SetFilledPolysList(self, aLayer, aPolysList)
12664
12665 def SetRawPolysList(self, aLayer: "PCB_LAYER_ID", aPolysList: "SHAPE_POLY_SET") -> "void":
12666 r"""SetRawPolysList(ZONE self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aPolysList)"""
12667 return _pcbnew.ZONE_SetRawPolysList(self, aLayer, aPolysList)
12668
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)
12672
12673 def SetIsIsland(self, aLayer: "PCB_LAYER_ID", aPolyIdx: "int") -> "void":
12674 r"""SetIsIsland(ZONE self, PCB_LAYER_ID aLayer, int aPolyIdx)"""
12675 return _pcbnew.ZONE_SetIsIsland(self, aLayer, aPolyIdx)
12676
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)
12680
12681 def SetCornerSmoothingType(self, aType: "int") -> "void":
12682 r"""SetCornerSmoothingType(ZONE self, int aType)"""
12683 return _pcbnew.ZONE_SetCornerSmoothingType(self, aType)
12684
12685 def GetCornerSmoothingType(self) -> "int":
12686 r"""GetCornerSmoothingType(ZONE self) -> int"""
12687 return _pcbnew.ZONE_GetCornerSmoothingType(self)
12688
12689 def SetCornerRadius(self, aRadius: "unsigned int") -> "void":
12690 r"""SetCornerRadius(ZONE self, unsigned int aRadius)"""
12691 return _pcbnew.ZONE_SetCornerRadius(self, aRadius)
12692
12693 def GetCornerRadius(self) -> "unsigned int":
12694 r"""GetCornerRadius(ZONE self) -> unsigned int"""
12695 return _pcbnew.ZONE_GetCornerRadius(self)
12696
12697 def GetFilledPolysUseThickness(self, *args) -> "bool":
12698 r"""
12699 GetFilledPolysUseThickness(ZONE self) -> bool
12700 GetFilledPolysUseThickness(ZONE self, PCB_LAYER_ID aLayer) -> bool
12701 """
12702 return _pcbnew.ZONE_GetFilledPolysUseThickness(self, *args)
12703
12704 def GetFillVersion(self) -> "int":
12705 r"""GetFillVersion(ZONE self) -> int"""
12706 return _pcbnew.ZONE_GetFillVersion(self)
12707
12708 def SetFillVersion(self, aVersion: "int") -> "void":
12709 r"""SetFillVersion(ZONE self, int aVersion)"""
12710 return _pcbnew.ZONE_SetFillVersion(self, aVersion)
12711
12712 def RemoveCutout(self, aOutlineIdx: "int", aHoleIdx: "int") -> "void":
12713 r"""RemoveCutout(ZONE self, int aOutlineIdx, int aHoleIdx)"""
12714 return _pcbnew.ZONE_RemoveCutout(self, aOutlineIdx, aHoleIdx)
12715
12716 def AddPolygon(self, *args) -> "void":
12717 r"""
12718 AddPolygon(ZONE self, wxPoint_Vector aPolygon)
12719 AddPolygon(ZONE self, SHAPE_LINE_CHAIN aPolygon)
12720 """
12721 return _pcbnew.ZONE_AddPolygon(self, *args)
12722
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)
12726
12727 def RawPolysList(self, aLayer: "PCB_LAYER_ID") -> "SHAPE_POLY_SET &":
12728 r"""RawPolysList(ZONE self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
12729 return _pcbnew.ZONE_RawPolysList(self, aLayer)
12730
12731 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
12732 r"""GetSelectMenuText(ZONE self, EDA_UNITS aUnits) -> wxString"""
12733 return _pcbnew.ZONE_GetSelectMenuText(self, aUnits)
12734
12735 def GetMenuImage(self) -> "BITMAPS":
12736 r"""GetMenuImage(ZONE self) -> BITMAPS"""
12737 return _pcbnew.ZONE_GetMenuImage(self)
12738
12739 def Clone(self) -> "EDA_ITEM *":
12740 r"""Clone(ZONE self) -> EDA_ITEM"""
12741 return _pcbnew.ZONE_Clone(self)
12742
12743 def GetIsRuleArea(self) -> "bool":
12744 r"""GetIsRuleArea(ZONE self) -> bool"""
12745 return _pcbnew.ZONE_GetIsRuleArea(self)
12746
12747 def GetDoNotAllowCopperPour(self) -> "bool":
12748 r"""GetDoNotAllowCopperPour(ZONE self) -> bool"""
12749 return _pcbnew.ZONE_GetDoNotAllowCopperPour(self)
12750
12751 def GetDoNotAllowVias(self) -> "bool":
12752 r"""GetDoNotAllowVias(ZONE self) -> bool"""
12753 return _pcbnew.ZONE_GetDoNotAllowVias(self)
12754
12755 def GetDoNotAllowTracks(self) -> "bool":
12756 r"""GetDoNotAllowTracks(ZONE self) -> bool"""
12757 return _pcbnew.ZONE_GetDoNotAllowTracks(self)
12758
12759 def GetDoNotAllowPads(self) -> "bool":
12760 r"""GetDoNotAllowPads(ZONE self) -> bool"""
12761 return _pcbnew.ZONE_GetDoNotAllowPads(self)
12762
12763 def GetDoNotAllowFootprints(self) -> "bool":
12764 r"""GetDoNotAllowFootprints(ZONE self) -> bool"""
12765 return _pcbnew.ZONE_GetDoNotAllowFootprints(self)
12766
12767 def IsKeepout(self) -> "bool":
12768 r"""IsKeepout(ZONE self) -> bool"""
12769 return _pcbnew.ZONE_IsKeepout(self)
12770
12771 def KeepoutAll(self) -> "bool":
12772 r"""KeepoutAll(ZONE self) -> bool"""
12773 return _pcbnew.ZONE_KeepoutAll(self)
12774
12775 def SetIsRuleArea(self, aEnable: "bool") -> "void":
12776 r"""SetIsRuleArea(ZONE self, bool aEnable)"""
12777 return _pcbnew.ZONE_SetIsRuleArea(self, aEnable)
12778
12779 def SetDoNotAllowCopperPour(self, aEnable: "bool") -> "void":
12780 r"""SetDoNotAllowCopperPour(ZONE self, bool aEnable)"""
12781 return _pcbnew.ZONE_SetDoNotAllowCopperPour(self, aEnable)
12782
12783 def SetDoNotAllowVias(self, aEnable: "bool") -> "void":
12784 r"""SetDoNotAllowVias(ZONE self, bool aEnable)"""
12785 return _pcbnew.ZONE_SetDoNotAllowVias(self, aEnable)
12786
12787 def SetDoNotAllowTracks(self, aEnable: "bool") -> "void":
12788 r"""SetDoNotAllowTracks(ZONE self, bool aEnable)"""
12789 return _pcbnew.ZONE_SetDoNotAllowTracks(self, aEnable)
12790
12791 def SetDoNotAllowPads(self, aEnable: "bool") -> "void":
12792 r"""SetDoNotAllowPads(ZONE self, bool aEnable)"""
12793 return _pcbnew.ZONE_SetDoNotAllowPads(self, aEnable)
12794
12795 def SetDoNotAllowFootprints(self, aEnable: "bool") -> "void":
12796 r"""SetDoNotAllowFootprints(ZONE self, bool aEnable)"""
12797 return _pcbnew.ZONE_SetDoNotAllowFootprints(self, aEnable)
12798
12799 def GetIslandRemovalMode(self) -> "ISLAND_REMOVAL_MODE const":
12800 r"""GetIslandRemovalMode(ZONE self) -> ISLAND_REMOVAL_MODE const"""
12801 return _pcbnew.ZONE_GetIslandRemovalMode(self)
12802
12803 def SetIslandRemovalMode(self, aRemove: "ISLAND_REMOVAL_MODE") -> "void":
12804 r"""SetIslandRemovalMode(ZONE self, ISLAND_REMOVAL_MODE aRemove)"""
12805 return _pcbnew.ZONE_SetIslandRemovalMode(self, aRemove)
12806
12807 def GetMinIslandArea(self) -> "long long":
12808 r"""GetMinIslandArea(ZONE self) -> long long"""
12809 return _pcbnew.ZONE_GetMinIslandArea(self)
12810
12811 def SetMinIslandArea(self, aArea: "long long") -> "void":
12812 r"""SetMinIslandArea(ZONE self, long long aArea)"""
12813 return _pcbnew.ZONE_SetMinIslandArea(self, aArea)
12814
12815 def GetBorderHatchPitch(self) -> "int":
12816 r"""GetBorderHatchPitch(ZONE self) -> int"""
12817 return _pcbnew.ZONE_GetBorderHatchPitch(self)
12818
12819 @staticmethod
12820 def GetDefaultHatchPitch() -> "int":
12821 r"""GetDefaultHatchPitch() -> int"""
12822 return _pcbnew.ZONE_GetDefaultHatchPitch()
12823
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)
12827
12828 def SetHatchPitch(self, aPitch: "int") -> "void":
12829 r"""SetHatchPitch(ZONE self, int aPitch)"""
12830 return _pcbnew.ZONE_SetHatchPitch(self, aPitch)
12831
12832 def UnHatchBorder(self) -> "void":
12833 r"""UnHatchBorder(ZONE self)"""
12834 return _pcbnew.ZONE_UnHatchBorder(self)
12835
12836 def HatchBorder(self) -> "void":
12837 r"""HatchBorder(ZONE self)"""
12838 return _pcbnew.ZONE_HatchBorder(self)
12839
12840 def GetHatchLines(self) -> "std::vector< SEG,std::allocator< SEG > > const &":
12841 r"""GetHatchLines(ZONE self) -> std::vector< SEG,std::allocator< SEG > > const &"""
12842 return _pcbnew.ZONE_GetHatchLines(self)
12843
12844 def GetHV45(self) -> "bool":
12845 r"""GetHV45(ZONE self) -> bool"""
12846 return _pcbnew.ZONE_GetHV45(self)
12847
12848 def SetHV45(self, aConstrain: "bool") -> "void":
12849 r"""SetHV45(ZONE self, bool aConstrain)"""
12850 return _pcbnew.ZONE_SetHV45(self, aConstrain)
12851
12852 def BuildHashValue(self, aLayer: "PCB_LAYER_ID") -> "void":
12853 r"""BuildHashValue(ZONE self, PCB_LAYER_ID aLayer)"""
12854 return _pcbnew.ZONE_BuildHashValue(self, aLayer)
12855
12856 def GetHashValue(self, aLayer: "PCB_LAYER_ID") -> "MD5_HASH":
12857 r"""GetHashValue(ZONE self, PCB_LAYER_ID aLayer) -> MD5_HASH"""
12858 return _pcbnew.ZONE_GetHashValue(self, aLayer)
12859
12860 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
12861 r"""SwapData(ZONE self, BOARD_ITEM aImage)"""
12862 return _pcbnew.ZONE_SwapData(self, aImage)
12863
12864# Register ZONE in _pcbnew:
12865_pcbnew.ZONE_swigregister(ZONE)
12866
12867def ZONE_ClassOf(aItem: "EDA_ITEM") -> "bool":
12868 r"""ZONE_ClassOf(EDA_ITEM aItem) -> bool"""
12869 return _pcbnew.ZONE_ClassOf(aItem)
12870
12872 r"""ZONE_GetDefaultHatchPitch() -> int"""
12873 return _pcbnew.ZONE_GetDefaultHatchPitch()
12874
12876 r"""Proxy of C++ FP_ZONE class."""
12877
12878 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
12879 __repr__ = _swig_repr
12880
12881 def __init__(self, *args):
12882 r"""
12883 __init__(FP_ZONE self, BOARD_ITEM_CONTAINER aParent) -> FP_ZONE
12884 __init__(FP_ZONE self, FP_ZONE aZone) -> FP_ZONE
12885 """
12886 _pcbnew.FP_ZONE_swiginit(self, _pcbnew.new_FP_ZONE(*args))
12887
12888 def Clone(self) -> "EDA_ITEM *":
12889 r"""Clone(FP_ZONE self) -> EDA_ITEM"""
12890 return _pcbnew.FP_ZONE_Clone(self)
12891
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
12896
12897# Register FP_ZONE in _pcbnew:
12898_pcbnew.FP_ZONE_swigregister(FP_ZONE)
12899
12900ZONE_THERMAL_RELIEF_GAP_MIL = _pcbnew.ZONE_THERMAL_RELIEF_GAP_MIL
12901
12902ZONE_THERMAL_RELIEF_COPPER_WIDTH_MIL = _pcbnew.ZONE_THERMAL_RELIEF_COPPER_WIDTH_MIL
12903
12904ZONE_THICKNESS_MIL = _pcbnew.ZONE_THICKNESS_MIL
12905
12906ZONE_THICKNESS_MIN_VALUE_MIL = _pcbnew.ZONE_THICKNESS_MIN_VALUE_MIL
12907
12908ZONE_CLEARANCE_MIL = _pcbnew.ZONE_CLEARANCE_MIL
12909
12910ZONE_CLEARANCE_MAX_VALUE_MIL = _pcbnew.ZONE_CLEARANCE_MAX_VALUE_MIL
12911
12912ZONE_EXPORT_VALUES = _pcbnew.ZONE_EXPORT_VALUES
12913
12914ZONE_CONNECTION_INHERITED = _pcbnew.ZONE_CONNECTION_INHERITED
12915
12916ZONE_CONNECTION_NONE = _pcbnew.ZONE_CONNECTION_NONE
12917
12918ZONE_CONNECTION_THERMAL = _pcbnew.ZONE_CONNECTION_THERMAL
12919
12920ZONE_CONNECTION_FULL = _pcbnew.ZONE_CONNECTION_FULL
12921
12922ZONE_CONNECTION_THT_THERMAL = _pcbnew.ZONE_CONNECTION_THT_THERMAL
12923
12924
12925def InvokeNonCopperZonesEditor(aParent: "PCB_BASE_FRAME *", aSettings: "ZONE_SETTINGS") -> "int":
12926 r"""InvokeNonCopperZonesEditor(PCB_BASE_FRAME * aParent, ZONE_SETTINGS aSettings) -> int"""
12927 return _pcbnew.InvokeNonCopperZonesEditor(aParent, aSettings)
12928
12929def InvokeCopperZonesEditor(aCaller: "PCB_BASE_FRAME *", aSettings: "ZONE_SETTINGS") -> "int":
12930 r"""InvokeCopperZonesEditor(PCB_BASE_FRAME * aCaller, ZONE_SETTINGS aSettings) -> int"""
12931 return _pcbnew.InvokeCopperZonesEditor(aCaller, aSettings)
12932
12933def InvokeRuleAreaEditor(aCaller: "PCB_BASE_FRAME *", aSettings: "ZONE_SETTINGS") -> "int":
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."""
12938
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
12942
12943 def SetProgressReporter(self, aReporter: "PROGRESS_REPORTER *") -> "void":
12944 r"""SetProgressReporter(ZONE_FILLER self, PROGRESS_REPORTER * aReporter)"""
12945 return _pcbnew.ZONE_FILLER_SetProgressReporter(self, aReporter)
12946
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)
12950
12951 def IsDebug(self) -> "bool":
12952 r"""IsDebug(ZONE_FILLER self) -> bool"""
12953 return _pcbnew.ZONE_FILLER_IsDebug(self)
12954
12955 def __init__(self, aBoard: "BOARD"):
12956 r"""__init__(ZONE_FILLER self, BOARD aBoard) -> ZONE_FILLER"""
12957 _pcbnew.ZONE_FILLER_swiginit(self, _pcbnew.new_ZONE_FILLER(aBoard))
12958
12959# Register ZONE_FILLER in _pcbnew:
12960_pcbnew.ZONE_FILLER_swigregister(ZONE_FILLER)
12961
12962ZONE_FILL_MODE_POLYGONS = _pcbnew.ZONE_FILL_MODE_POLYGONS
12963
12964ZONE_FILL_MODE_HATCH_PATTERN = _pcbnew.ZONE_FILL_MODE_HATCH_PATTERN
12965
12966ZONE_BORDER_DISPLAY_STYLE_NO_HATCH = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_NO_HATCH
12967
12968ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_FULL
12969
12970ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE = _pcbnew.ZONE_BORDER_DISPLAY_STYLE_DIAGONAL_EDGE
12971
12972ISLAND_REMOVAL_MODE_ALWAYS = _pcbnew.ISLAND_REMOVAL_MODE_ALWAYS
12973
12974ISLAND_REMOVAL_MODE_NEVER = _pcbnew.ISLAND_REMOVAL_MODE_NEVER
12975
12976ISLAND_REMOVAL_MODE_AREA = _pcbnew.ISLAND_REMOVAL_MODE_AREA
12977
12979 r"""Proxy of C++ ZONE_SETTINGS class."""
12980
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
12984
12985 SMOOTHING_NONE = _pcbnew.ZONE_SETTINGS_SMOOTHING_NONE
12986
12987 SMOOTHING_CHAMFER = _pcbnew.ZONE_SETTINGS_SMOOTHING_CHAMFER
12988
12989 SMOOTHING_FILLET = _pcbnew.ZONE_SETTINGS_SMOOTHING_FILLET
12990
12991 SMOOTHING_LAST = _pcbnew.ZONE_SETTINGS_SMOOTHING_LAST
12992
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""")
13012
13013 def __init__(self):
13014 r"""__init__(ZONE_SETTINGS self) -> ZONE_SETTINGS"""
13015 _pcbnew.ZONE_SETTINGS_swiginit(self, _pcbnew.new_ZONE_SETTINGS())
13016
13017 def __lshift__(self, aSource: "ZONE") -> "ZONE_SETTINGS &":
13018 r"""__lshift__(ZONE_SETTINGS self, ZONE aSource) -> ZONE_SETTINGS"""
13019 return _pcbnew.ZONE_SETTINGS___lshift__(self, aSource)
13020
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)
13024
13025 def ExportSetting(self, aTarget: "ZONE", aFullExport: "bool"=True) -> "void":
13026 r"""ExportSetting(ZONE_SETTINGS self, ZONE aTarget, bool aFullExport=True)"""
13027 return _pcbnew.ZONE_SETTINGS_ExportSetting(self, aTarget, aFullExport)
13028
13029 def SetCornerSmoothingType(self, aType: "int") -> "void":
13030 r"""SetCornerSmoothingType(ZONE_SETTINGS self, int aType)"""
13031 return _pcbnew.ZONE_SETTINGS_SetCornerSmoothingType(self, aType)
13032
13033 def GetCornerSmoothingType(self) -> "int":
13034 r"""GetCornerSmoothingType(ZONE_SETTINGS self) -> int"""
13035 return _pcbnew.ZONE_SETTINGS_GetCornerSmoothingType(self)
13036
13037 def SetCornerRadius(self, aRadius: "int") -> "void":
13038 r"""SetCornerRadius(ZONE_SETTINGS self, int aRadius)"""
13039 return _pcbnew.ZONE_SETTINGS_SetCornerRadius(self, aRadius)
13040
13041 def GetCornerRadius(self) -> "unsigned int":
13042 r"""GetCornerRadius(ZONE_SETTINGS self) -> unsigned int"""
13043 return _pcbnew.ZONE_SETTINGS_GetCornerRadius(self)
13044
13045 def GetPadConnection(self) -> "ZONE_CONNECTION":
13046 r"""GetPadConnection(ZONE_SETTINGS self) -> ZONE_CONNECTION"""
13047 return _pcbnew.ZONE_SETTINGS_GetPadConnection(self)
13048
13049 def SetPadConnection(self, aPadConnection: "ZONE_CONNECTION") -> "void":
13050 r"""SetPadConnection(ZONE_SETTINGS self, ZONE_CONNECTION aPadConnection)"""
13051 return _pcbnew.ZONE_SETTINGS_SetPadConnection(self, aPadConnection)
13052
13053 def GetIsRuleArea(self) -> "bool const":
13054 r"""GetIsRuleArea(ZONE_SETTINGS self) -> bool const"""
13055 return _pcbnew.ZONE_SETTINGS_GetIsRuleArea(self)
13056
13057 def GetDoNotAllowCopperPour(self) -> "bool const":
13058 r"""GetDoNotAllowCopperPour(ZONE_SETTINGS self) -> bool const"""
13059 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowCopperPour(self)
13060
13061 def GetDoNotAllowVias(self) -> "bool const":
13062 r"""GetDoNotAllowVias(ZONE_SETTINGS self) -> bool const"""
13063 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowVias(self)
13064
13065 def GetDoNotAllowTracks(self) -> "bool const":
13066 r"""GetDoNotAllowTracks(ZONE_SETTINGS self) -> bool const"""
13067 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowTracks(self)
13068
13069 def GetDoNotAllowPads(self) -> "bool const":
13070 r"""GetDoNotAllowPads(ZONE_SETTINGS self) -> bool const"""
13071 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowPads(self)
13072
13073 def GetDoNotAllowFootprints(self) -> "bool const":
13074 r"""GetDoNotAllowFootprints(ZONE_SETTINGS self) -> bool const"""
13075 return _pcbnew.ZONE_SETTINGS_GetDoNotAllowFootprints(self)
13076
13077 def SetIsRuleArea(self, aEnable: "bool") -> "void":
13078 r"""SetIsRuleArea(ZONE_SETTINGS self, bool aEnable)"""
13079 return _pcbnew.ZONE_SETTINGS_SetIsRuleArea(self, aEnable)
13080
13081 def SetDoNotAllowCopperPour(self, aEnable: "bool") -> "void":
13082 r"""SetDoNotAllowCopperPour(ZONE_SETTINGS self, bool aEnable)"""
13083 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowCopperPour(self, aEnable)
13084
13085 def SetDoNotAllowVias(self, aEnable: "bool") -> "void":
13086 r"""SetDoNotAllowVias(ZONE_SETTINGS self, bool aEnable)"""
13087 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowVias(self, aEnable)
13088
13089 def SetDoNotAllowTracks(self, aEnable: "bool") -> "void":
13090 r"""SetDoNotAllowTracks(ZONE_SETTINGS self, bool aEnable)"""
13091 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowTracks(self, aEnable)
13092
13093 def SetDoNotAllowPads(self, aEnable: "bool") -> "void":
13094 r"""SetDoNotAllowPads(ZONE_SETTINGS self, bool aEnable)"""
13095 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowPads(self, aEnable)
13096
13097 def SetDoNotAllowFootprints(self, aEnable: "bool") -> "void":
13098 r"""SetDoNotAllowFootprints(ZONE_SETTINGS self, bool aEnable)"""
13099 return _pcbnew.ZONE_SETTINGS_SetDoNotAllowFootprints(self, aEnable)
13100
13101 def GetIslandRemovalMode(self) -> "ISLAND_REMOVAL_MODE const":
13102 r"""GetIslandRemovalMode(ZONE_SETTINGS self) -> ISLAND_REMOVAL_MODE const"""
13103 return _pcbnew.ZONE_SETTINGS_GetIslandRemovalMode(self)
13104
13105 def SetIslandRemovalMode(self, aRemove: "ISLAND_REMOVAL_MODE") -> "void":
13106 r"""SetIslandRemovalMode(ZONE_SETTINGS self, ISLAND_REMOVAL_MODE aRemove)"""
13107 return _pcbnew.ZONE_SETTINGS_SetIslandRemovalMode(self, aRemove)
13108
13109 def GetMinIslandArea(self) -> "long long":
13110 r"""GetMinIslandArea(ZONE_SETTINGS self) -> long long"""
13111 return _pcbnew.ZONE_SETTINGS_GetMinIslandArea(self)
13112
13113 def SetMinIslandArea(self, aArea: "long long") -> "void":
13114 r"""SetMinIslandArea(ZONE_SETTINGS self, long long aArea)"""
13115 return _pcbnew.ZONE_SETTINGS_SetMinIslandArea(self, aArea)
13116 __swig_destroy__ = _pcbnew.delete_ZONE_SETTINGS
13117
13118# Register ZONE_SETTINGS in _pcbnew:
13119_pcbnew.ZONE_SETTINGS_swigregister(ZONE_SETTINGS)
13120
13121SHAPE_T_SEGMENT = _pcbnew.SHAPE_T_SEGMENT
13122
13123SHAPE_T_RECT = _pcbnew.SHAPE_T_RECT
13124
13125SHAPE_T_ARC = _pcbnew.SHAPE_T_ARC
13126
13127SHAPE_T_CIRCLE = _pcbnew.SHAPE_T_CIRCLE
13128
13129SHAPE_T_POLY = _pcbnew.SHAPE_T_POLY
13130
13131SHAPE_T_BEZIER = _pcbnew.SHAPE_T_BEZIER
13132
13133SHAPE_T_LAST = _pcbnew.SHAPE_T_LAST
13134
13135FILL_T_NO_FILL = _pcbnew.FILL_T_NO_FILL
13136
13137FILL_T_FILLED_SHAPE = _pcbnew.FILL_T_FILLED_SHAPE
13138
13139FILL_T_FILLED_WITH_BG_BODYCOLOR = _pcbnew.FILL_T_FILLED_WITH_BG_BODYCOLOR
13140
13141FILL_T_FILLED_WITH_COLOR = _pcbnew.FILL_T_FILLED_WITH_COLOR
13142
13144 r"""Proxy of C++ ARC_MID class."""
13145
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""")
13152
13153 def __init__(self):
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
13157
13158# Register ARC_MID in _pcbnew:
13159_pcbnew.ARC_MID_swigregister(ARC_MID)
13160
13162 r"""Proxy of C++ EDA_SHAPE class."""
13163
13164 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13165
13166 def __init__(self, *args, **kwargs):
13167 raise AttributeError("No constructor defined - class is abstract")
13168 __repr__ = _swig_repr
13169 __swig_destroy__ = _pcbnew.delete_EDA_SHAPE
13170
13171 def SwapShape(self, aImage: "EDA_SHAPE") -> "void":
13172 r"""SwapShape(EDA_SHAPE self, EDA_SHAPE aImage)"""
13173 return _pcbnew.EDA_SHAPE_SwapShape(self, aImage)
13174
13175 def ShowShape(self) -> "wxString":
13176 r"""ShowShape(EDA_SHAPE self) -> wxString"""
13177 return _pcbnew.EDA_SHAPE_ShowShape(self)
13178
13179 def SHAPE_T_asString(self) -> "wxString":
13180 r"""SHAPE_T_asString(EDA_SHAPE self) -> wxString"""
13181 return _pcbnew.EDA_SHAPE_SHAPE_T_asString(self)
13182
13183 def SetFillMode(self, aFill: "FILL_T") -> "void":
13184 r"""SetFillMode(EDA_SHAPE self, FILL_T aFill)"""
13185 return _pcbnew.EDA_SHAPE_SetFillMode(self, aFill)
13186
13187 def GetFillType(self) -> "FILL_T":
13188 r"""GetFillType(EDA_SHAPE self) -> FILL_T"""
13189 return _pcbnew.EDA_SHAPE_GetFillType(self)
13190
13191 def IsFilled(self) -> "bool":
13192 r"""IsFilled(EDA_SHAPE self) -> bool"""
13193 return _pcbnew.EDA_SHAPE_IsFilled(self)
13194
13195 def SetFilled(self, aFlag: "bool") -> "void":
13196 r"""SetFilled(EDA_SHAPE self, bool aFlag)"""
13197 return _pcbnew.EDA_SHAPE_SetFilled(self, aFlag)
13198
13199 def SetWidth(self, aWidth: "int") -> "void":
13200 r"""SetWidth(EDA_SHAPE self, int aWidth)"""
13201 return _pcbnew.EDA_SHAPE_SetWidth(self, aWidth)
13202
13203 def GetWidth(self) -> "int":
13204 r"""GetWidth(EDA_SHAPE self) -> int"""
13205 return _pcbnew.EDA_SHAPE_GetWidth(self)
13206
13207 def SetShape(self, aShape: "SHAPE_T") -> "void":
13208 r"""SetShape(EDA_SHAPE self, SHAPE_T aShape)"""
13209 return _pcbnew.EDA_SHAPE_SetShape(self, aShape)
13210
13211 def GetShape(self) -> "SHAPE_T":
13212 r"""GetShape(EDA_SHAPE self) -> SHAPE_T"""
13213 return _pcbnew.EDA_SHAPE_GetShape(self)
13214
13215 def GetStart(self) -> "wxPoint const &":
13216 r"""GetStart(EDA_SHAPE self) -> wxPoint"""
13217 return _pcbnew.EDA_SHAPE_GetStart(self)
13218
13219 def GetStartY(self) -> "int":
13220 r"""GetStartY(EDA_SHAPE self) -> int"""
13221 return _pcbnew.EDA_SHAPE_GetStartY(self)
13222
13223 def GetStartX(self) -> "int":
13224 r"""GetStartX(EDA_SHAPE self) -> int"""
13225 return _pcbnew.EDA_SHAPE_GetStartX(self)
13226
13227 def SetStart(self, aStart: "wxPoint") -> "void":
13228 r"""SetStart(EDA_SHAPE self, wxPoint aStart)"""
13229 return _pcbnew.EDA_SHAPE_SetStart(self, aStart)
13230
13231 def SetStartY(self, y: "int") -> "void":
13232 r"""SetStartY(EDA_SHAPE self, int y)"""
13233 return _pcbnew.EDA_SHAPE_SetStartY(self, y)
13234
13235 def SetStartX(self, x: "int") -> "void":
13236 r"""SetStartX(EDA_SHAPE self, int x)"""
13237 return _pcbnew.EDA_SHAPE_SetStartX(self, x)
13238
13239 def GetEnd(self) -> "wxPoint const &":
13240 r"""GetEnd(EDA_SHAPE self) -> wxPoint"""
13241 return _pcbnew.EDA_SHAPE_GetEnd(self)
13242
13243 def GetEndY(self) -> "int":
13244 r"""GetEndY(EDA_SHAPE self) -> int"""
13245 return _pcbnew.EDA_SHAPE_GetEndY(self)
13246
13247 def GetEndX(self) -> "int":
13248 r"""GetEndX(EDA_SHAPE self) -> int"""
13249 return _pcbnew.EDA_SHAPE_GetEndX(self)
13250
13251 def SetEnd(self, aEnd: "wxPoint") -> "void":
13252 r"""SetEnd(EDA_SHAPE self, wxPoint aEnd)"""
13253 return _pcbnew.EDA_SHAPE_SetEnd(self, aEnd)
13254
13255 def SetEndY(self, y: "int") -> "void":
13256 r"""SetEndY(EDA_SHAPE self, int y)"""
13257 return _pcbnew.EDA_SHAPE_SetEndY(self, y)
13258
13259 def SetEndX(self, x: "int") -> "void":
13260 r"""SetEndX(EDA_SHAPE self, int x)"""
13261 return _pcbnew.EDA_SHAPE_SetEndX(self, x)
13262
13263 def SetBezierC1(self, aPt: "wxPoint") -> "void":
13264 r"""SetBezierC1(EDA_SHAPE self, wxPoint aPt)"""
13265 return _pcbnew.EDA_SHAPE_SetBezierC1(self, aPt)
13266
13267 def GetBezierC1(self) -> "wxPoint const &":
13268 r"""GetBezierC1(EDA_SHAPE self) -> wxPoint"""
13269 return _pcbnew.EDA_SHAPE_GetBezierC1(self)
13270
13271 def SetBezierC2(self, aPt: "wxPoint") -> "void":
13272 r"""SetBezierC2(EDA_SHAPE self, wxPoint aPt)"""
13273 return _pcbnew.EDA_SHAPE_SetBezierC2(self, aPt)
13274
13275 def GetBezierC2(self) -> "wxPoint const &":
13276 r"""GetBezierC2(EDA_SHAPE self) -> wxPoint"""
13277 return _pcbnew.EDA_SHAPE_GetBezierC2(self)
13278
13279 def SetCenter(self, aCenter: "wxPoint") -> "void":
13280 r"""SetCenter(EDA_SHAPE self, wxPoint aCenter)"""
13281 return _pcbnew.EDA_SHAPE_SetCenter(self, aCenter)
13282
13283 def SetArcAngleAndEnd(self, aAngle: "double", aCheckNegativeAngle: "bool"=False) -> "void":
13284 r"""SetArcAngleAndEnd(EDA_SHAPE self, double aAngle, bool aCheckNegativeAngle=False)"""
13285 return _pcbnew.EDA_SHAPE_SetArcAngleAndEnd(self, aAngle, aCheckNegativeAngle)
13286
13287 def GetArcAngle(self) -> "double":
13288 r"""GetArcAngle(EDA_SHAPE self) -> double"""
13289 return _pcbnew.EDA_SHAPE_GetArcAngle(self)
13290
13291 def EndsSwapped(self) -> "bool":
13292 r"""EndsSwapped(EDA_SHAPE self) -> bool"""
13293 return _pcbnew.EDA_SHAPE_EndsSwapped(self)
13294
13295 def GetArcMid(self) -> "wxPoint":
13296 r"""GetArcMid(EDA_SHAPE self) -> wxPoint"""
13297 return _pcbnew.EDA_SHAPE_GetArcMid(self)
13298
13299 def GetRectCorners(self) -> "std::vector< wxPoint,std::allocator< wxPoint > >":
13300 r"""GetRectCorners(EDA_SHAPE self) -> wxPoint_Vector"""
13301 return _pcbnew.EDA_SHAPE_GetRectCorners(self)
13302
13303 def CalcArcAngles(self, aStartAngle: "double &", aEndAngle: "double &") -> "void":
13304 r"""CalcArcAngles(EDA_SHAPE self, double & aStartAngle, double & aEndAngle)"""
13305 return _pcbnew.EDA_SHAPE_CalcArcAngles(self, aStartAngle, aEndAngle)
13306
13307 def GetRadius(self) -> "int":
13308 r"""GetRadius(EDA_SHAPE self) -> int"""
13309 return _pcbnew.EDA_SHAPE_GetRadius(self)
13310
13311 def SetArcGeometry(self, aStart: "wxPoint", aMid: "wxPoint", aEnd: "wxPoint") -> "void":
13312 r"""SetArcGeometry(EDA_SHAPE self, wxPoint aStart, wxPoint aMid, wxPoint aEnd)"""
13313 return _pcbnew.EDA_SHAPE_SetArcGeometry(self, aStart, aMid, aEnd)
13314
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)
13318
13319 def GetBezierPoints(self) -> "std::vector< wxPoint,std::allocator< wxPoint > > const &":
13320 r"""GetBezierPoints(EDA_SHAPE self) -> wxPoint_Vector"""
13321 return _pcbnew.EDA_SHAPE_GetBezierPoints(self)
13322
13323 def DupPolyPointsList(self, aBuffer: "wxPoint_Vector") -> "void":
13324 r"""DupPolyPointsList(EDA_SHAPE self, wxPoint_Vector aBuffer)"""
13325 return _pcbnew.EDA_SHAPE_DupPolyPointsList(self, aBuffer)
13326
13327 def GetPointCount(self) -> "int":
13328 r"""GetPointCount(EDA_SHAPE self) -> int"""
13329 return _pcbnew.EDA_SHAPE_GetPointCount(self)
13330
13331 def GetPolyShape(self, *args) -> "SHAPE_POLY_SET const &":
13332 r"""
13333 GetPolyShape(EDA_SHAPE self) -> SHAPE_POLY_SET
13334 GetPolyShape(EDA_SHAPE self) -> SHAPE_POLY_SET
13335 """
13336 return _pcbnew.EDA_SHAPE_GetPolyShape(self, *args)
13337
13338 def IsPolyShapeValid(self) -> "bool":
13339 r"""IsPolyShapeValid(EDA_SHAPE self) -> bool"""
13340 return _pcbnew.EDA_SHAPE_IsPolyShapeValid(self)
13341
13342 def SetPolyShape(self, aShape: "SHAPE_POLY_SET") -> "void":
13343 r"""SetPolyShape(EDA_SHAPE self, SHAPE_POLY_SET aShape)"""
13344 return _pcbnew.EDA_SHAPE_SetPolyShape(self, aShape)
13345
13346 def SetPolyPoints(self, aPoints: "wxPoint_Vector") -> "void":
13347 r"""SetPolyPoints(EDA_SHAPE self, wxPoint_Vector aPoints)"""
13348 return _pcbnew.EDA_SHAPE_SetPolyPoints(self, aPoints)
13349
13350 def RebuildBezierToSegmentsPointsList(self, aMinSegLen: "int") -> "void":
13351 r"""RebuildBezierToSegmentsPointsList(EDA_SHAPE self, int aMinSegLen)"""
13352 return _pcbnew.EDA_SHAPE_RebuildBezierToSegmentsPointsList(self, aMinSegLen)
13353
13354 def MakeEffectiveShapes(self) -> "std::vector< SHAPE *,std::allocator< SHAPE * > >":
13355 r"""MakeEffectiveShapes(EDA_SHAPE self) -> std::vector< SHAPE *,std::allocator< SHAPE * > >"""
13356 return _pcbnew.EDA_SHAPE_MakeEffectiveShapes(self)
13357
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)
13361
13362 def GetLength(self) -> "double":
13363 r"""GetLength(EDA_SHAPE self) -> double"""
13364 return _pcbnew.EDA_SHAPE_GetLength(self)
13365
13366 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer: "SHAPE_POLY_SET", aClearanceValue: "int", aError: "int", aErrorLoc: "ERROR_LOC", ignoreLineWidth: "bool") -> "void":
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)
13369
13370 def Compare(self, aOther: "EDA_SHAPE") -> "int":
13371 r"""Compare(EDA_SHAPE self, EDA_SHAPE aOther) -> int"""
13372 return _pcbnew.EDA_SHAPE_Compare(self, aOther)
13373
13374# Register EDA_SHAPE in _pcbnew:
13375_pcbnew.EDA_SHAPE_swigregister(EDA_SHAPE)
13376
13378 r"""Proxy of C++ PCB_SHAPE class."""
13379
13380 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13381 __repr__ = _swig_repr
13382
13383 def __init__(self, *args):
13384 r"""
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
13387 """
13388 _pcbnew.PCB_SHAPE_swiginit(self, _pcbnew.new_PCB_SHAPE(*args))
13389 __swig_destroy__ = _pcbnew.delete_PCB_SHAPE
13390
13391 @staticmethod
13392 def ClassOf(aItem: "EDA_ITEM") -> "bool":
13393 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13394 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
13395
13396 def GetClass(self) -> "wxString":
13397 r"""GetClass(PCB_SHAPE self) -> wxString"""
13398 return _pcbnew.PCB_SHAPE_GetClass(self)
13399
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)
13403
13404 def SetPosition(self, aPos: "wxPoint") -> "void":
13405 r"""SetPosition(PCB_SHAPE self, wxPoint aPos)"""
13406 return _pcbnew.PCB_SHAPE_SetPosition(self, aPos)
13407
13408 def GetPosition(self) -> "wxPoint":
13409 r"""GetPosition(PCB_SHAPE self) -> wxPoint"""
13410 return _pcbnew.PCB_SHAPE_GetPosition(self)
13411
13412 def GetCenter(self) -> "wxPoint":
13413 r"""GetCenter(PCB_SHAPE self) -> wxPoint"""
13414 return _pcbnew.PCB_SHAPE_GetCenter(self)
13415
13416 def GetFocusPosition(self) -> "wxPoint const":
13417 r"""GetFocusPosition(PCB_SHAPE self) -> wxPoint"""
13418 return _pcbnew.PCB_SHAPE_GetFocusPosition(self)
13419
13420 def GetParentFootprint(self) -> "FOOTPRINT *":
13421 r"""GetParentFootprint(PCB_SHAPE self) -> FOOTPRINT"""
13422 return _pcbnew.PCB_SHAPE_GetParentFootprint(self)
13423
13424 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
13427
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)
13431
13432 def GetBoundingBox(self) -> "EDA_RECT const":
13433 r"""GetBoundingBox(PCB_SHAPE self) -> EDA_RECT"""
13434 return _pcbnew.PCB_SHAPE_GetBoundingBox(self)
13435
13436 def HitTest(self, *args) -> "bool":
13437 r"""
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
13440 """
13441 return _pcbnew.PCB_SHAPE_HitTest(self, *args)
13442
13443 def Move(self, aMoveVector: "wxPoint") -> "void":
13444 r"""Move(PCB_SHAPE self, wxPoint aMoveVector)"""
13445 return _pcbnew.PCB_SHAPE_Move(self, aMoveVector)
13446
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)
13450
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)
13454
13455 def Scale(self, aScale: "double") -> "void":
13456 r"""Scale(PCB_SHAPE self, double aScale)"""
13457 return _pcbnew.PCB_SHAPE_Scale(self, aScale)
13458
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)
13462
13463 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
13464 r"""GetSelectMenuText(PCB_SHAPE self, EDA_UNITS aUnits) -> wxString"""
13465 return _pcbnew.PCB_SHAPE_GetSelectMenuText(self, aUnits)
13466
13467 def GetMenuImage(self) -> "BITMAPS":
13468 r"""GetMenuImage(PCB_SHAPE self) -> BITMAPS"""
13469 return _pcbnew.PCB_SHAPE_GetMenuImage(self)
13470
13471 def Clone(self) -> "EDA_ITEM *":
13472 r"""Clone(PCB_SHAPE self) -> EDA_ITEM"""
13473 return _pcbnew.PCB_SHAPE_Clone(self)
13474
13475 def ViewBBox(self) -> "BOX2I const":
13476 r"""ViewBBox(PCB_SHAPE self) -> BOX2I const"""
13477 return _pcbnew.PCB_SHAPE_ViewBBox(self)
13478
13479 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
13480 r"""SwapData(PCB_SHAPE self, BOARD_ITEM aImage)"""
13481 return _pcbnew.PCB_SHAPE_SwapData(self, aImage)
13482
13483 def GetArcAngleStart(self) -> "double":
13484 r"""GetArcAngleStart(PCB_SHAPE self) -> double"""
13485 return _pcbnew.PCB_SHAPE_GetArcAngleStart(self)
13486
13487 def GetShapeStr(self):
13488 return self.ShowShape(self.GetShape())
13489
13490
13491# Register PCB_SHAPE in _pcbnew:
13492_pcbnew.PCB_SHAPE_swigregister(PCB_SHAPE)
13493
13494def PCB_SHAPE_ClassOf(aItem: "EDA_ITEM") -> "bool":
13495 r"""PCB_SHAPE_ClassOf(EDA_ITEM aItem) -> bool"""
13496 return _pcbnew.PCB_SHAPE_ClassOf(aItem)
13497
13499 r"""Proxy of C++ PCB_TEXT class."""
13500
13501 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13502 __repr__ = _swig_repr
13503
13504 def __init__(self, parent: "BOARD_ITEM"):
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
13508
13509 @staticmethod
13510 def ClassOf(aItem: "EDA_ITEM") -> "bool":
13511 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13512 return _pcbnew.PCB_TEXT_ClassOf(aItem)
13513
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)
13517
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)
13521
13522 def SetVisible(self, aVisible: "bool") -> "void":
13523 r"""SetVisible(PCB_TEXT self, bool aVisible)"""
13524 return _pcbnew.PCB_TEXT_SetVisible(self, aVisible)
13525
13526 def IsVisible(self) -> "bool":
13527 r"""IsVisible(PCB_TEXT self) -> bool"""
13528 return _pcbnew.PCB_TEXT_IsVisible(self)
13529
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)
13533
13534 def GetPosition(self) -> "wxPoint":
13535 r"""GetPosition(PCB_TEXT self) -> wxPoint"""
13536 return _pcbnew.PCB_TEXT_GetPosition(self)
13537
13538 def SetPosition(self, aPos: "wxPoint") -> "void":
13539 r"""SetPosition(PCB_TEXT self, wxPoint aPos)"""
13540 return _pcbnew.PCB_TEXT_SetPosition(self, aPos)
13541
13542 def Move(self, aMoveVector: "wxPoint") -> "void":
13543 r"""Move(PCB_TEXT self, wxPoint aMoveVector)"""
13544 return _pcbnew.PCB_TEXT_Move(self, aMoveVector)
13545
13546 def SetTextAngle(self, aAngle: "double") -> "void":
13547 r"""SetTextAngle(PCB_TEXT self, double aAngle)"""
13548 return _pcbnew.PCB_TEXT_SetTextAngle(self, aAngle)
13549
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)
13553
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)
13557
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)
13561
13562 def TextHitTest(self, *args) -> "bool":
13563 r"""
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
13566 """
13567 return _pcbnew.PCB_TEXT_TextHitTest(self, *args)
13568
13569 def HitTest(self, *args) -> "bool":
13570 r"""
13571 HitTest(PCB_TEXT self, wxPoint aPosition, int aAccuracy) -> bool
13572 HitTest(PCB_TEXT self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
13573 """
13574 return _pcbnew.PCB_TEXT_HitTest(self, *args)
13575
13576 def GetClass(self) -> "wxString":
13577 r"""GetClass(PCB_TEXT self) -> wxString"""
13578 return _pcbnew.PCB_TEXT_GetClass(self)
13579
13580 def TransformTextShapeWithClearanceToPolygon(self, aCornerBuffer: "SHAPE_POLY_SET", aLayer: "PCB_LAYER_ID", aClearanceValue: "int", aError: "int", aErrorLoc: "ERROR_LOC") -> "void":
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)
13583
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)
13587
13588 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
13591
13592 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
13593 r"""GetSelectMenuText(PCB_TEXT self, EDA_UNITS aUnits) -> wxString"""
13594 return _pcbnew.PCB_TEXT_GetSelectMenuText(self, aUnits)
13595
13596 def GetMenuImage(self) -> "BITMAPS":
13597 r"""GetMenuImage(PCB_TEXT self) -> BITMAPS"""
13598 return _pcbnew.PCB_TEXT_GetMenuImage(self)
13599
13600 def GetBoundingBox(self) -> "EDA_RECT const":
13601 r"""GetBoundingBox(PCB_TEXT self) -> EDA_RECT"""
13602 return _pcbnew.PCB_TEXT_GetBoundingBox(self)
13603
13604 def Clone(self) -> "EDA_ITEM *":
13605 r"""Clone(PCB_TEXT self) -> EDA_ITEM"""
13606 return _pcbnew.PCB_TEXT_Clone(self)
13607
13608 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
13609 r"""SwapData(PCB_TEXT self, BOARD_ITEM aImage)"""
13610 return _pcbnew.PCB_TEXT_SwapData(self, aImage)
13611
13612# Register PCB_TEXT in _pcbnew:
13613_pcbnew.PCB_TEXT_swigregister(PCB_TEXT)
13614S_SEGMENT = cvar.S_SEGMENT
13615S_RECT = cvar.S_RECT
13616S_ARC = cvar.S_ARC
13617S_CIRCLE = cvar.S_CIRCLE
13618S_POLYGON = cvar.S_POLYGON
13619S_CURVE = cvar.S_CURVE
13620
13621def PCB_TEXT_ClassOf(aItem: "EDA_ITEM") -> "bool":
13622 r"""PCB_TEXT_ClassOf(EDA_ITEM aItem) -> bool"""
13623 return _pcbnew.PCB_TEXT_ClassOf(aItem)
13624
13625DIM_UNITS_FORMAT_NO_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_NO_SUFFIX
13626
13627DIM_UNITS_FORMAT_BARE_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_BARE_SUFFIX
13628
13629DIM_UNITS_FORMAT_PAREN_SUFFIX = _pcbnew.DIM_UNITS_FORMAT_PAREN_SUFFIX
13630
13631DIM_TEXT_POSITION_OUTSIDE = _pcbnew.DIM_TEXT_POSITION_OUTSIDE
13632
13633DIM_TEXT_POSITION_INLINE = _pcbnew.DIM_TEXT_POSITION_INLINE
13634
13635DIM_TEXT_POSITION_MANUAL = _pcbnew.DIM_TEXT_POSITION_MANUAL
13636
13637DIM_UNITS_MODE_INCHES = _pcbnew.DIM_UNITS_MODE_INCHES
13638
13639DIM_UNITS_MODE_MILS = _pcbnew.DIM_UNITS_MODE_MILS
13640
13641DIM_UNITS_MODE_MILLIMETRES = _pcbnew.DIM_UNITS_MODE_MILLIMETRES
13642
13643DIM_UNITS_MODE_AUTOMATIC = _pcbnew.DIM_UNITS_MODE_AUTOMATIC
13644
13645DIM_TEXT_FRAME_NONE = _pcbnew.DIM_TEXT_FRAME_NONE
13646
13647DIM_TEXT_FRAME_RECTANGLE = _pcbnew.DIM_TEXT_FRAME_RECTANGLE
13648
13649DIM_TEXT_FRAME_CIRCLE = _pcbnew.DIM_TEXT_FRAME_CIRCLE
13650
13651DIM_TEXT_FRAME_ROUNDRECT = _pcbnew.DIM_TEXT_FRAME_ROUNDRECT
13652
13654 r"""Proxy of C++ PCB_DIMENSION_BASE class."""
13655
13656 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13657
13658 def __init__(self, *args, **kwargs):
13659 raise AttributeError("No constructor defined - class is abstract")
13660 __repr__ = _swig_repr
13661
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)
13665
13666 def SetParent(self, aParent: "EDA_ITEM") -> "void":
13667 r"""SetParent(PCB_DIMENSION_BASE self, EDA_ITEM aParent)"""
13668 return _pcbnew.PCB_DIMENSION_BASE_SetParent(self, aParent)
13669
13670 def GetStart(self) -> "wxPoint const &":
13671 r"""GetStart(PCB_DIMENSION_BASE self) -> wxPoint"""
13672 return _pcbnew.PCB_DIMENSION_BASE_GetStart(self)
13673
13674 def SetStart(self, aPoint: "wxPoint") -> "void":
13675 r"""SetStart(PCB_DIMENSION_BASE self, wxPoint aPoint)"""
13676 return _pcbnew.PCB_DIMENSION_BASE_SetStart(self, aPoint)
13677
13678 def GetEnd(self) -> "wxPoint const &":
13679 r"""GetEnd(PCB_DIMENSION_BASE self) -> wxPoint"""
13680 return _pcbnew.PCB_DIMENSION_BASE_GetEnd(self)
13681
13682 def SetEnd(self, aPoint: "wxPoint") -> "void":
13683 r"""SetEnd(PCB_DIMENSION_BASE self, wxPoint aPoint)"""
13684 return _pcbnew.PCB_DIMENSION_BASE_SetEnd(self, aPoint)
13685
13686 def GetPosition(self) -> "wxPoint":
13687 r"""GetPosition(PCB_DIMENSION_BASE self) -> wxPoint"""
13688 return _pcbnew.PCB_DIMENSION_BASE_GetPosition(self)
13689
13690 def SetPosition(self, aPos: "wxPoint") -> "void":
13691 r"""SetPosition(PCB_DIMENSION_BASE self, wxPoint aPos)"""
13692 return _pcbnew.PCB_DIMENSION_BASE_SetPosition(self, aPos)
13693
13694 def GetOverrideTextEnabled(self) -> "bool":
13695 r"""GetOverrideTextEnabled(PCB_DIMENSION_BASE self) -> bool"""
13696 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideTextEnabled(self)
13697
13698 def SetOverrideTextEnabled(self, aOverride: "bool") -> "void":
13699 r"""SetOverrideTextEnabled(PCB_DIMENSION_BASE self, bool aOverride)"""
13700 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideTextEnabled(self, aOverride)
13701
13702 def GetOverrideText(self) -> "wxString":
13703 r"""GetOverrideText(PCB_DIMENSION_BASE self) -> wxString"""
13704 return _pcbnew.PCB_DIMENSION_BASE_GetOverrideText(self)
13705
13706 def SetOverrideText(self, aValue: "wxString") -> "void":
13707 r"""SetOverrideText(PCB_DIMENSION_BASE self, wxString aValue)"""
13708 return _pcbnew.PCB_DIMENSION_BASE_SetOverrideText(self, aValue)
13709
13710 def GetMeasuredValue(self) -> "int":
13711 r"""GetMeasuredValue(PCB_DIMENSION_BASE self) -> int"""
13712 return _pcbnew.PCB_DIMENSION_BASE_GetMeasuredValue(self)
13713
13714 def SetMeasuredValue(self, aValue: "int") -> "void":
13715 r"""SetMeasuredValue(PCB_DIMENSION_BASE self, int aValue)"""
13716 return _pcbnew.PCB_DIMENSION_BASE_SetMeasuredValue(self, aValue)
13717
13718 def GetValueText(self) -> "wxString":
13719 r"""GetValueText(PCB_DIMENSION_BASE self) -> wxString"""
13720 return _pcbnew.PCB_DIMENSION_BASE_GetValueText(self)
13721
13722 def Update(self) -> "void":
13723 r"""Update(PCB_DIMENSION_BASE self)"""
13724 return _pcbnew.PCB_DIMENSION_BASE_Update(self)
13725
13726 def GetPrefix(self) -> "wxString":
13727 r"""GetPrefix(PCB_DIMENSION_BASE self) -> wxString"""
13728 return _pcbnew.PCB_DIMENSION_BASE_GetPrefix(self)
13729
13730 def SetPrefix(self, aPrefix: "wxString") -> "void":
13731 r"""SetPrefix(PCB_DIMENSION_BASE self, wxString aPrefix)"""
13732 return _pcbnew.PCB_DIMENSION_BASE_SetPrefix(self, aPrefix)
13733
13734 def GetSuffix(self) -> "wxString":
13735 r"""GetSuffix(PCB_DIMENSION_BASE self) -> wxString"""
13736 return _pcbnew.PCB_DIMENSION_BASE_GetSuffix(self)
13737
13738 def SetSuffix(self, aSuffix: "wxString") -> "void":
13739 r"""SetSuffix(PCB_DIMENSION_BASE self, wxString aSuffix)"""
13740 return _pcbnew.PCB_DIMENSION_BASE_SetSuffix(self, aSuffix)
13741
13742 def GetUnits(self, aUnits: "EDA_UNITS &") -> "void":
13743 r"""GetUnits(PCB_DIMENSION_BASE self, EDA_UNITS & aUnits)"""
13744 return _pcbnew.PCB_DIMENSION_BASE_GetUnits(self, aUnits)
13745
13746 def SetUnits(self, aUnits: "EDA_UNITS") -> "void":
13747 r"""SetUnits(PCB_DIMENSION_BASE self, EDA_UNITS aUnits)"""
13748 return _pcbnew.PCB_DIMENSION_BASE_SetUnits(self, aUnits)
13749
13750 def GetUnitsMode(self) -> "DIM_UNITS_MODE":
13751 r"""GetUnitsMode(PCB_DIMENSION_BASE self) -> DIM_UNITS_MODE"""
13752 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsMode(self)
13753
13754 def SetUnitsMode(self, aMode: "DIM_UNITS_MODE") -> "void":
13755 r"""SetUnitsMode(PCB_DIMENSION_BASE self, DIM_UNITS_MODE aMode)"""
13756 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsMode(self, aMode)
13757
13758 def SetAutoUnits(self, aAuto: "bool"=True) -> "void":
13759 r"""SetAutoUnits(PCB_DIMENSION_BASE self, bool aAuto=True)"""
13760 return _pcbnew.PCB_DIMENSION_BASE_SetAutoUnits(self, aAuto)
13761
13762 def GetUnitsFormat(self) -> "DIM_UNITS_FORMAT":
13763 r"""GetUnitsFormat(PCB_DIMENSION_BASE self) -> DIM_UNITS_FORMAT"""
13764 return _pcbnew.PCB_DIMENSION_BASE_GetUnitsFormat(self)
13765
13766 def SetUnitsFormat(self, aFormat: "DIM_UNITS_FORMAT const") -> "void":
13767 r"""SetUnitsFormat(PCB_DIMENSION_BASE self, DIM_UNITS_FORMAT const aFormat)"""
13768 return _pcbnew.PCB_DIMENSION_BASE_SetUnitsFormat(self, aFormat)
13769
13770 def GetPrecision(self) -> "int":
13771 r"""GetPrecision(PCB_DIMENSION_BASE self) -> int"""
13772 return _pcbnew.PCB_DIMENSION_BASE_GetPrecision(self)
13773
13774 def SetPrecision(self, aPrecision: "int") -> "void":
13775 r"""SetPrecision(PCB_DIMENSION_BASE self, int aPrecision)"""
13776 return _pcbnew.PCB_DIMENSION_BASE_SetPrecision(self, aPrecision)
13777
13778 def GetSuppressZeroes(self) -> "bool":
13779 r"""GetSuppressZeroes(PCB_DIMENSION_BASE self) -> bool"""
13780 return _pcbnew.PCB_DIMENSION_BASE_GetSuppressZeroes(self)
13781
13782 def SetSuppressZeroes(self, aSuppress: "bool") -> "void":
13783 r"""SetSuppressZeroes(PCB_DIMENSION_BASE self, bool aSuppress)"""
13784 return _pcbnew.PCB_DIMENSION_BASE_SetSuppressZeroes(self, aSuppress)
13785
13786 def GetKeepTextAligned(self) -> "bool":
13787 r"""GetKeepTextAligned(PCB_DIMENSION_BASE self) -> bool"""
13788 return _pcbnew.PCB_DIMENSION_BASE_GetKeepTextAligned(self)
13789
13790 def SetKeepTextAligned(self, aKeepAligned: "bool") -> "void":
13791 r"""SetKeepTextAligned(PCB_DIMENSION_BASE self, bool aKeepAligned)"""
13792 return _pcbnew.PCB_DIMENSION_BASE_SetKeepTextAligned(self, aKeepAligned)
13793
13794 def SetTextPositionMode(self, aMode: "DIM_TEXT_POSITION") -> "void":
13795 r"""SetTextPositionMode(PCB_DIMENSION_BASE self, DIM_TEXT_POSITION aMode)"""
13796 return _pcbnew.PCB_DIMENSION_BASE_SetTextPositionMode(self, aMode)
13797
13798 def GetTextPositionMode(self) -> "DIM_TEXT_POSITION":
13799 r"""GetTextPositionMode(PCB_DIMENSION_BASE self) -> DIM_TEXT_POSITION"""
13800 return _pcbnew.PCB_DIMENSION_BASE_GetTextPositionMode(self)
13801
13802 def GetArrowLength(self) -> "int":
13803 r"""GetArrowLength(PCB_DIMENSION_BASE self) -> int"""
13804 return _pcbnew.PCB_DIMENSION_BASE_GetArrowLength(self)
13805
13806 def SetArrowLength(self, aLength: "int") -> "void":
13807 r"""SetArrowLength(PCB_DIMENSION_BASE self, int aLength)"""
13808 return _pcbnew.PCB_DIMENSION_BASE_SetArrowLength(self, aLength)
13809
13810 def SetExtensionOffset(self, aOffset: "int") -> "void":
13811 r"""SetExtensionOffset(PCB_DIMENSION_BASE self, int aOffset)"""
13812 return _pcbnew.PCB_DIMENSION_BASE_SetExtensionOffset(self, aOffset)
13813
13814 def GetExtensionOffset(self) -> "int":
13815 r"""GetExtensionOffset(PCB_DIMENSION_BASE self) -> int"""
13816 return _pcbnew.PCB_DIMENSION_BASE_GetExtensionOffset(self)
13817
13818 def GetLineThickness(self) -> "int":
13819 r"""GetLineThickness(PCB_DIMENSION_BASE self) -> int"""
13820 return _pcbnew.PCB_DIMENSION_BASE_GetLineThickness(self)
13821
13822 def SetLineThickness(self, aWidth: "int") -> "void":
13823 r"""SetLineThickness(PCB_DIMENSION_BASE self, int aWidth)"""
13824 return _pcbnew.PCB_DIMENSION_BASE_SetLineThickness(self, aWidth)
13825
13826 def SetLayer(self, aLayer: "PCB_LAYER_ID") -> "void":
13827 r"""SetLayer(PCB_DIMENSION_BASE self, PCB_LAYER_ID aLayer)"""
13828 return _pcbnew.PCB_DIMENSION_BASE_SetLayer(self, aLayer)
13829
13830 def SetTextSize(self, aTextSize: "wxSize") -> "void":
13831 r"""SetTextSize(PCB_DIMENSION_BASE self, wxSize aTextSize)"""
13832 return _pcbnew.PCB_DIMENSION_BASE_SetTextSize(self, aTextSize)
13833
13834 def SetText(self, aNewText: "wxString") -> "void":
13835 r"""SetText(PCB_DIMENSION_BASE self, wxString aNewText)"""
13836 return _pcbnew.PCB_DIMENSION_BASE_SetText(self, aNewText)
13837
13838 def GetText(self) -> "wxString const":
13839 r"""GetText(PCB_DIMENSION_BASE self) -> wxString"""
13840 return _pcbnew.PCB_DIMENSION_BASE_GetText(self)
13841
13842 def Text(self, *args) -> "PCB_TEXT const &":
13843 r"""
13844 Text(PCB_DIMENSION_BASE self) -> PCB_TEXT
13845 Text(PCB_DIMENSION_BASE self) -> PCB_TEXT
13846 """
13847 return _pcbnew.PCB_DIMENSION_BASE_Text(self, *args)
13848
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)
13852
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)
13856
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)
13860
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)
13864
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)
13868
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)
13872
13873 def HitTest(self, *args) -> "bool":
13874 r"""
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
13877 """
13878 return _pcbnew.PCB_DIMENSION_BASE_HitTest(self, *args)
13879
13880 def GetBoundingBox(self) -> "EDA_RECT const":
13881 r"""GetBoundingBox(PCB_DIMENSION_BASE self) -> EDA_RECT"""
13882 return _pcbnew.PCB_DIMENSION_BASE_GetBoundingBox(self)
13883
13884 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
13887
13888 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
13889 r"""GetSelectMenuText(PCB_DIMENSION_BASE self, EDA_UNITS aUnits) -> wxString"""
13890 return _pcbnew.PCB_DIMENSION_BASE_GetSelectMenuText(self, aUnits)
13891
13892 def ViewBBox(self) -> "BOX2I const":
13893 r"""ViewBBox(PCB_DIMENSION_BASE self) -> BOX2I const"""
13894 return _pcbnew.PCB_DIMENSION_BASE_ViewBBox(self)
13895
13896 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer: "SHAPE_POLY_SET", aLayer: "PCB_LAYER_ID", aClearance: "int", aError: "int", aErrorLoc: "ERROR_LOC", aIgnoreLineWidth: "bool") -> "void":
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
13900
13901# Register PCB_DIMENSION_BASE in _pcbnew:
13902_pcbnew.PCB_DIMENSION_BASE_swigregister(PCB_DIMENSION_BASE)
13903
13905 r"""Proxy of C++ PCB_DIM_ALIGNED class."""
13906
13907 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
13908 __repr__ = _swig_repr
13909
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
13914
13915 @staticmethod
13916 def ClassOf(aItem: "EDA_ITEM") -> "bool":
13917 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13918 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
13919
13920 def Clone(self) -> "EDA_ITEM *":
13921 r"""Clone(PCB_DIM_ALIGNED self) -> EDA_ITEM"""
13922 return _pcbnew.PCB_DIM_ALIGNED_Clone(self)
13923
13924 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
13925 r"""SwapData(PCB_DIM_ALIGNED self, BOARD_ITEM aImage)"""
13926 return _pcbnew.PCB_DIM_ALIGNED_SwapData(self, aImage)
13927
13928 def GetMenuImage(self) -> "BITMAPS":
13929 r"""GetMenuImage(PCB_DIM_ALIGNED self) -> BITMAPS"""
13930 return _pcbnew.PCB_DIM_ALIGNED_GetMenuImage(self)
13931
13932 def GetCrossbarStart(self) -> "wxPoint const &":
13933 r"""GetCrossbarStart(PCB_DIM_ALIGNED self) -> wxPoint"""
13934 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarStart(self)
13935
13936 def GetCrossbarEnd(self) -> "wxPoint const &":
13937 r"""GetCrossbarEnd(PCB_DIM_ALIGNED self) -> wxPoint"""
13938 return _pcbnew.PCB_DIM_ALIGNED_GetCrossbarEnd(self)
13939
13940 def SetHeight(self, aHeight: "int") -> "void":
13941 r"""SetHeight(PCB_DIM_ALIGNED self, int aHeight)"""
13942 return _pcbnew.PCB_DIM_ALIGNED_SetHeight(self, aHeight)
13943
13944 def GetHeight(self) -> "int":
13945 r"""GetHeight(PCB_DIM_ALIGNED self) -> int"""
13946 return _pcbnew.PCB_DIM_ALIGNED_GetHeight(self)
13947
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)
13951
13952 def SetExtensionHeight(self, aHeight: "int") -> "void":
13953 r"""SetExtensionHeight(PCB_DIM_ALIGNED self, int aHeight)"""
13954 return _pcbnew.PCB_DIM_ALIGNED_SetExtensionHeight(self, aHeight)
13955
13956 def GetExtensionHeight(self) -> "int":
13957 r"""GetExtensionHeight(PCB_DIM_ALIGNED self) -> int"""
13958 return _pcbnew.PCB_DIM_ALIGNED_GetExtensionHeight(self)
13959
13960 def GetAngle(self) -> "double":
13961 r"""GetAngle(PCB_DIM_ALIGNED self) -> double"""
13962 return _pcbnew.PCB_DIM_ALIGNED_GetAngle(self)
13963
13964 def GetClass(self) -> "wxString":
13965 r"""GetClass(PCB_DIM_ALIGNED self) -> wxString"""
13966 return _pcbnew.PCB_DIM_ALIGNED_GetClass(self)
13967
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)
13971
13972# Register PCB_DIM_ALIGNED in _pcbnew:
13973_pcbnew.PCB_DIM_ALIGNED_swigregister(PCB_DIM_ALIGNED)
13974
13975def PCB_DIM_ALIGNED_ClassOf(aItem: "EDA_ITEM") -> "bool":
13976 r"""PCB_DIM_ALIGNED_ClassOf(EDA_ITEM aItem) -> bool"""
13977 return _pcbnew.PCB_DIM_ALIGNED_ClassOf(aItem)
13978
13980 r"""Proxy of C++ PCB_DIM_ORTHOGONAL class."""
13981
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
13985
13986 DIR_VERTICAL = _pcbnew.PCB_DIM_ORTHOGONAL_DIR_VERTICAL
13987
13988
13989 def __init__(self, aParent: "BOARD_ITEM"):
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
13993
13994 @staticmethod
13995 def ClassOf(aItem: "EDA_ITEM") -> "bool":
13996 r"""ClassOf(EDA_ITEM aItem) -> bool"""
13997 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
13998
13999 def Clone(self) -> "EDA_ITEM *":
14000 r"""Clone(PCB_DIM_ORTHOGONAL self) -> EDA_ITEM"""
14001 return _pcbnew.PCB_DIM_ORTHOGONAL_Clone(self)
14002
14003 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
14004 r"""SwapData(PCB_DIM_ORTHOGONAL self, BOARD_ITEM aImage)"""
14005 return _pcbnew.PCB_DIM_ORTHOGONAL_SwapData(self, aImage)
14006
14007 def GetMenuImage(self) -> "BITMAPS":
14008 r"""GetMenuImage(PCB_DIM_ORTHOGONAL self) -> BITMAPS"""
14009 return _pcbnew.PCB_DIM_ORTHOGONAL_GetMenuImage(self)
14010
14011 def SetOrientation(self, aOrientation: "PCB_DIM_ORTHOGONAL::DIR") -> "void":
14012 r"""SetOrientation(PCB_DIM_ORTHOGONAL self, PCB_DIM_ORTHOGONAL::DIR aOrientation)"""
14013 return _pcbnew.PCB_DIM_ORTHOGONAL_SetOrientation(self, aOrientation)
14014
14015 def GetOrientation(self) -> "PCB_DIM_ORTHOGONAL::DIR":
14016 r"""GetOrientation(PCB_DIM_ORTHOGONAL self) -> PCB_DIM_ORTHOGONAL::DIR"""
14017 return _pcbnew.PCB_DIM_ORTHOGONAL_GetOrientation(self)
14018
14019 def GetClass(self) -> "wxString":
14020 r"""GetClass(PCB_DIM_ORTHOGONAL self) -> wxString"""
14021 return _pcbnew.PCB_DIM_ORTHOGONAL_GetClass(self)
14022
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)
14026
14027# Register PCB_DIM_ORTHOGONAL in _pcbnew:
14028_pcbnew.PCB_DIM_ORTHOGONAL_swigregister(PCB_DIM_ORTHOGONAL)
14029
14030def PCB_DIM_ORTHOGONAL_ClassOf(aItem: "EDA_ITEM") -> "bool":
14031 r"""PCB_DIM_ORTHOGONAL_ClassOf(EDA_ITEM aItem) -> bool"""
14032 return _pcbnew.PCB_DIM_ORTHOGONAL_ClassOf(aItem)
14033
14035 r"""Proxy of C++ PCB_DIM_LEADER class."""
14036
14037 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
14038 __repr__ = _swig_repr
14039
14040 def __init__(self, aParent: "BOARD_ITEM"):
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))
14043
14044 @staticmethod
14045 def ClassOf(aItem: "EDA_ITEM") -> "bool":
14046 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14047 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
14048
14049 def Clone(self) -> "EDA_ITEM *":
14050 r"""Clone(PCB_DIM_LEADER self) -> EDA_ITEM"""
14051 return _pcbnew.PCB_DIM_LEADER_Clone(self)
14052
14053 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
14054 r"""SwapData(PCB_DIM_LEADER self, BOARD_ITEM aImage)"""
14055 return _pcbnew.PCB_DIM_LEADER_SwapData(self, aImage)
14056
14057 def GetMenuImage(self) -> "BITMAPS":
14058 r"""GetMenuImage(PCB_DIM_LEADER self) -> BITMAPS"""
14059 return _pcbnew.PCB_DIM_LEADER_GetMenuImage(self)
14060
14061 def GetClass(self) -> "wxString":
14062 r"""GetClass(PCB_DIM_LEADER self) -> wxString"""
14063 return _pcbnew.PCB_DIM_LEADER_GetClass(self)
14064
14065 def SetTextFrame(self, aFrame: "DIM_TEXT_FRAME") -> "void":
14066 r"""SetTextFrame(PCB_DIM_LEADER self, DIM_TEXT_FRAME aFrame)"""
14067 return _pcbnew.PCB_DIM_LEADER_SetTextFrame(self, aFrame)
14068
14069 def GetTextFrame(self) -> "DIM_TEXT_FRAME":
14070 r"""GetTextFrame(PCB_DIM_LEADER self) -> DIM_TEXT_FRAME"""
14071 return _pcbnew.PCB_DIM_LEADER_GetTextFrame(self)
14072
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
14077
14078# Register PCB_DIM_LEADER in _pcbnew:
14079_pcbnew.PCB_DIM_LEADER_swigregister(PCB_DIM_LEADER)
14080
14081def PCB_DIM_LEADER_ClassOf(aItem: "EDA_ITEM") -> "bool":
14082 r"""PCB_DIM_LEADER_ClassOf(EDA_ITEM aItem) -> bool"""
14083 return _pcbnew.PCB_DIM_LEADER_ClassOf(aItem)
14084
14086 r"""Proxy of C++ PCB_DIM_CENTER class."""
14087
14088 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
14089 __repr__ = _swig_repr
14090
14091 def __init__(self, aParent: "BOARD_ITEM"):
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))
14094
14095 @staticmethod
14096 def ClassOf(aItem: "EDA_ITEM") -> "bool":
14097 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14098 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
14099
14100 def Clone(self) -> "EDA_ITEM *":
14101 r"""Clone(PCB_DIM_CENTER self) -> EDA_ITEM"""
14102 return _pcbnew.PCB_DIM_CENTER_Clone(self)
14103
14104 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
14105 r"""SwapData(PCB_DIM_CENTER self, BOARD_ITEM aImage)"""
14106 return _pcbnew.PCB_DIM_CENTER_SwapData(self, aImage)
14107
14108 def GetMenuImage(self) -> "BITMAPS":
14109 r"""GetMenuImage(PCB_DIM_CENTER self) -> BITMAPS"""
14110 return _pcbnew.PCB_DIM_CENTER_GetMenuImage(self)
14111
14112 def GetClass(self) -> "wxString":
14113 r"""GetClass(PCB_DIM_CENTER self) -> wxString"""
14114 return _pcbnew.PCB_DIM_CENTER_GetClass(self)
14115
14116 def GetBoundingBox(self) -> "EDA_RECT const":
14117 r"""GetBoundingBox(PCB_DIM_CENTER self) -> EDA_RECT"""
14118 return _pcbnew.PCB_DIM_CENTER_GetBoundingBox(self)
14119
14120 def ViewBBox(self) -> "BOX2I const":
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
14124
14125# Register PCB_DIM_CENTER in _pcbnew:
14126_pcbnew.PCB_DIM_CENTER_swigregister(PCB_DIM_CENTER)
14127
14128def PCB_DIM_CENTER_ClassOf(aItem: "EDA_ITEM") -> "bool":
14129 r"""PCB_DIM_CENTER_ClassOf(EDA_ITEM aItem) -> bool"""
14130 return _pcbnew.PCB_DIM_CENTER_ClassOf(aItem)
14131
14132MARKER_SHAPE_POINT_COUNT = _pcbnew.MARKER_SHAPE_POINT_COUNT
14133
14135 r"""Proxy of C++ PCB_MARKER class."""
14136
14137 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
14138 __repr__ = _swig_repr
14139
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
14144
14145 @staticmethod
14146 def ClassOf(aItem: "EDA_ITEM") -> "bool":
14147 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14148 return _pcbnew.PCB_MARKER_ClassOf(aItem)
14149
14150 def GetUUID(self) -> "KIID const":
14151 r"""GetUUID(PCB_MARKER self) -> KIID"""
14152 return _pcbnew.PCB_MARKER_GetUUID(self)
14153
14154 def Serialize(self) -> "wxString":
14155 r"""Serialize(PCB_MARKER self) -> wxString"""
14156 return _pcbnew.PCB_MARKER_Serialize(self)
14157
14158 @staticmethod
14159 def Deserialize(data: "wxString") -> "PCB_MARKER *":
14160 r"""Deserialize(wxString data) -> PCB_MARKER"""
14161 return _pcbnew.PCB_MARKER_Deserialize(data)
14162
14163 def Move(self, aMoveVector: "wxPoint") -> "void":
14164 r"""Move(PCB_MARKER self, wxPoint aMoveVector)"""
14165 return _pcbnew.PCB_MARKER_Move(self, aMoveVector)
14166
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)
14170
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)
14174
14175 def GetPosition(self) -> "wxPoint":
14176 r"""GetPosition(PCB_MARKER self) -> wxPoint"""
14177 return _pcbnew.PCB_MARKER_GetPosition(self)
14178
14179 def SetPosition(self, aPos: "wxPoint") -> "void":
14180 r"""SetPosition(PCB_MARKER self, wxPoint aPos)"""
14181 return _pcbnew.PCB_MARKER_SetPosition(self, aPos)
14182
14183 def GetCenter(self) -> "wxPoint":
14184 r"""GetCenter(PCB_MARKER self) -> wxPoint"""
14185 return _pcbnew.PCB_MARKER_GetCenter(self)
14186
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)
14190
14191 def Clone(self) -> "EDA_ITEM *":
14192 r"""Clone(PCB_MARKER self) -> EDA_ITEM"""
14193 return _pcbnew.PCB_MARKER_Clone(self)
14194
14195 def GetColorLayer(self) -> "GAL_LAYER_ID":
14196 r"""GetColorLayer(PCB_MARKER self) -> GAL_LAYER_ID"""
14197 return _pcbnew.PCB_MARKER_GetColorLayer(self)
14198
14199 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
14202
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)
14206
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)
14210
14211 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
14212 r"""GetSelectMenuText(PCB_MARKER self, EDA_UNITS aUnits) -> wxString"""
14213 return _pcbnew.PCB_MARKER_GetSelectMenuText(self, aUnits)
14214
14215 def GetMenuImage(self) -> "BITMAPS":
14216 r"""GetMenuImage(PCB_MARKER self) -> BITMAPS"""
14217 return _pcbnew.PCB_MARKER_GetMenuImage(self)
14218
14219 def SetZoom(self, aZoomFactor: "double") -> "void":
14220 r"""SetZoom(PCB_MARKER self, double aZoomFactor)"""
14221 return _pcbnew.PCB_MARKER_SetZoom(self, aZoomFactor)
14222
14223 def ViewBBox(self) -> "BOX2I const":
14224 r"""ViewBBox(PCB_MARKER self) -> BOX2I const"""
14225 return _pcbnew.PCB_MARKER_ViewBBox(self)
14226
14227 def GetBoundingBox(self) -> "EDA_RECT const":
14228 r"""GetBoundingBox(PCB_MARKER self) -> EDA_RECT"""
14229 return _pcbnew.PCB_MARKER_GetBoundingBox(self)
14230
14231 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
14232 r"""ViewGetLayers(PCB_MARKER self, int [] aLayers, int & aCount)"""
14233 return _pcbnew.PCB_MARKER_ViewGetLayers(self, aLayers, aCount)
14234
14235 def GetClass(self) -> "wxString":
14236 r"""GetClass(PCB_MARKER self) -> wxString"""
14237 return _pcbnew.PCB_MARKER_GetClass(self)
14238
14239# Register PCB_MARKER in _pcbnew:
14240_pcbnew.PCB_MARKER_swigregister(PCB_MARKER)
14241
14242def PCB_MARKER_ClassOf(aItem: "EDA_ITEM") -> "bool":
14243 r"""PCB_MARKER_ClassOf(EDA_ITEM aItem) -> bool"""
14244 return _pcbnew.PCB_MARKER_ClassOf(aItem)
14245
14246def PCB_MARKER_Deserialize(data: "wxString") -> "PCB_MARKER *":
14247 r"""PCB_MARKER_Deserialize(wxString data) -> PCB_MARKER"""
14248 return _pcbnew.PCB_MARKER_Deserialize(data)
14249
14251 r"""Proxy of C++ PCB_TARGET class."""
14252
14253 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
14254 __repr__ = _swig_repr
14255
14256 def __init__(self, *args):
14257 r"""
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
14260 """
14261 _pcbnew.PCB_TARGET_swiginit(self, _pcbnew.new_PCB_TARGET(*args))
14262 __swig_destroy__ = _pcbnew.delete_PCB_TARGET
14263
14264 @staticmethod
14265 def ClassOf(aItem: "EDA_ITEM") -> "bool":
14266 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14267 return _pcbnew.PCB_TARGET_ClassOf(aItem)
14268
14269 def SetPosition(self, aPos: "wxPoint") -> "void":
14270 r"""SetPosition(PCB_TARGET self, wxPoint aPos)"""
14271 return _pcbnew.PCB_TARGET_SetPosition(self, aPos)
14272
14273 def GetPosition(self) -> "wxPoint":
14274 r"""GetPosition(PCB_TARGET self) -> wxPoint"""
14275 return _pcbnew.PCB_TARGET_GetPosition(self)
14276
14277 def SetShape(self, aShape: "int") -> "void":
14278 r"""SetShape(PCB_TARGET self, int aShape)"""
14279 return _pcbnew.PCB_TARGET_SetShape(self, aShape)
14280
14281 def GetShape(self) -> "int":
14282 r"""GetShape(PCB_TARGET self) -> int"""
14283 return _pcbnew.PCB_TARGET_GetShape(self)
14284
14285 def SetSize(self, aSize: "int") -> "void":
14286 r"""SetSize(PCB_TARGET self, int aSize)"""
14287 return _pcbnew.PCB_TARGET_SetSize(self, aSize)
14288
14289 def GetSize(self) -> "int":
14290 r"""GetSize(PCB_TARGET self) -> int"""
14291 return _pcbnew.PCB_TARGET_GetSize(self)
14292
14293 def SetWidth(self, aWidth: "int") -> "void":
14294 r"""SetWidth(PCB_TARGET self, int aWidth)"""
14295 return _pcbnew.PCB_TARGET_SetWidth(self, aWidth)
14296
14297 def GetWidth(self) -> "int":
14298 r"""GetWidth(PCB_TARGET self) -> int"""
14299 return _pcbnew.PCB_TARGET_GetWidth(self)
14300
14301 def Move(self, aMoveVector: "wxPoint") -> "void":
14302 r"""Move(PCB_TARGET self, wxPoint aMoveVector)"""
14303 return _pcbnew.PCB_TARGET_Move(self, aMoveVector)
14304
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)
14308
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)
14312
14313 def GetClass(self) -> "wxString":
14314 r"""GetClass(PCB_TARGET self) -> wxString"""
14315 return _pcbnew.PCB_TARGET_GetClass(self)
14316
14317 def HitTest(self, *args) -> "bool":
14318 r"""
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
14321 """
14322 return _pcbnew.PCB_TARGET_HitTest(self, *args)
14323
14324 def GetBoundingBox(self) -> "EDA_RECT const":
14325 r"""GetBoundingBox(PCB_TARGET self) -> EDA_RECT"""
14326 return _pcbnew.PCB_TARGET_GetBoundingBox(self)
14327
14328 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
14331
14332 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
14333 r"""GetSelectMenuText(PCB_TARGET self, EDA_UNITS aUnits) -> wxString"""
14334 return _pcbnew.PCB_TARGET_GetSelectMenuText(self, aUnits)
14335
14336 def GetMenuImage(self) -> "BITMAPS":
14337 r"""GetMenuImage(PCB_TARGET self) -> BITMAPS"""
14338 return _pcbnew.PCB_TARGET_GetMenuImage(self)
14339
14340 def Clone(self) -> "EDA_ITEM *":
14341 r"""Clone(PCB_TARGET self) -> EDA_ITEM"""
14342 return _pcbnew.PCB_TARGET_Clone(self)
14343
14344 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
14345 r"""SwapData(PCB_TARGET self, BOARD_ITEM aImage)"""
14346 return _pcbnew.PCB_TARGET_SwapData(self, aImage)
14347
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)
14351
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)
14355
14356# Register PCB_TARGET in _pcbnew:
14357_pcbnew.PCB_TARGET_swigregister(PCB_TARGET)
14358
14359def PCB_TARGET_ClassOf(aItem: "EDA_ITEM") -> "bool":
14360 r"""PCB_TARGET_ClassOf(EDA_ITEM aItem) -> bool"""
14361 return _pcbnew.PCB_TARGET_ClassOf(aItem)
14362
14364 r"""Proxy of C++ FP_SHAPE class."""
14365
14366 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
14367 __repr__ = _swig_repr
14368
14369 def __init__(self, *args):
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
14373
14374 @staticmethod
14375 def ClassOf(aItem: "EDA_ITEM") -> "bool":
14376 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14377 return _pcbnew.FP_SHAPE_ClassOf(aItem)
14378
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)
14382
14383 def SetArcAngleAndEnd0(self, aAngle: "double", aCheckNegativeAngle: "bool"=False) -> "void":
14384 r"""SetArcAngleAndEnd0(FP_SHAPE self, double aAngle, bool aCheckNegativeAngle=False)"""
14385 return _pcbnew.FP_SHAPE_SetArcAngleAndEnd0(self, aAngle, aCheckNegativeAngle)
14386
14387 def SetArcGeometry0(self, aStart: "wxPoint", aMid: "wxPoint", aEnd: "wxPoint") -> "void":
14388 r"""SetArcGeometry0(FP_SHAPE self, wxPoint aStart, wxPoint aMid, wxPoint aEnd)"""
14389 return _pcbnew.FP_SHAPE_SetArcGeometry0(self, aStart, aMid, aEnd)
14390
14391 def Move(self, aMoveVector: "wxPoint") -> "void":
14392 r"""Move(FP_SHAPE self, wxPoint aMoveVector)"""
14393 return _pcbnew.FP_SHAPE_Move(self, aMoveVector)
14394
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)
14398
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)
14402
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)
14406
14407 def IsParentFlipped(self) -> "bool":
14408 r"""IsParentFlipped(FP_SHAPE self) -> bool"""
14409 return _pcbnew.FP_SHAPE_IsParentFlipped(self)
14410
14411 def SetStart0(self, aPoint: "wxPoint") -> "void":
14412 r"""SetStart0(FP_SHAPE self, wxPoint aPoint)"""
14413 return _pcbnew.FP_SHAPE_SetStart0(self, aPoint)
14414
14415 def GetStart0(self) -> "wxPoint const &":
14416 r"""GetStart0(FP_SHAPE self) -> wxPoint"""
14417 return _pcbnew.FP_SHAPE_GetStart0(self)
14418
14419 def SetEnd0(self, aPoint: "wxPoint") -> "void":
14420 r"""SetEnd0(FP_SHAPE self, wxPoint aPoint)"""
14421 return _pcbnew.FP_SHAPE_SetEnd0(self, aPoint)
14422
14423 def GetEnd0(self) -> "wxPoint const &":
14424 r"""GetEnd0(FP_SHAPE self) -> wxPoint"""
14425 return _pcbnew.FP_SHAPE_GetEnd0(self)
14426
14427 def SetBezierC1_0(self, aPoint: "wxPoint") -> "void":
14428 r"""SetBezierC1_0(FP_SHAPE self, wxPoint aPoint)"""
14429 return _pcbnew.FP_SHAPE_SetBezierC1_0(self, aPoint)
14430
14431 def GetBezierC1_0(self) -> "wxPoint const &":
14432 r"""GetBezierC1_0(FP_SHAPE self) -> wxPoint"""
14433 return _pcbnew.FP_SHAPE_GetBezierC1_0(self)
14434
14435 def SetBezierC2_0(self, aPoint: "wxPoint") -> "void":
14436 r"""SetBezierC2_0(FP_SHAPE self, wxPoint aPoint)"""
14437 return _pcbnew.FP_SHAPE_SetBezierC2_0(self, aPoint)
14438
14439 def GetBezierC2_0(self) -> "wxPoint const &":
14440 r"""GetBezierC2_0(FP_SHAPE self) -> wxPoint"""
14441 return _pcbnew.FP_SHAPE_GetBezierC2_0(self)
14442
14443 def GetCenter0(self) -> "wxPoint":
14444 r"""GetCenter0(FP_SHAPE self) -> wxPoint"""
14445 return _pcbnew.FP_SHAPE_GetCenter0(self)
14446
14447 def SetCenter0(self, aPt: "wxPoint") -> "void":
14448 r"""SetCenter0(FP_SHAPE self, wxPoint aPt)"""
14449 return _pcbnew.FP_SHAPE_SetCenter0(self, aPt)
14450
14451 def GetArcMid0(self) -> "wxPoint":
14452 r"""GetArcMid0(FP_SHAPE self) -> wxPoint"""
14453 return _pcbnew.FP_SHAPE_GetArcMid0(self)
14454
14455 def SetLocalCoord(self) -> "void":
14456 r"""SetLocalCoord(FP_SHAPE self)"""
14457 return _pcbnew.FP_SHAPE_SetLocalCoord(self)
14458
14459 def SetDrawCoord(self) -> "void":
14460 r"""SetDrawCoord(FP_SHAPE self)"""
14461 return _pcbnew.FP_SHAPE_SetDrawCoord(self)
14462
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)
14466
14467 def GetClass(self) -> "wxString":
14468 r"""GetClass(FP_SHAPE self) -> wxString"""
14469 return _pcbnew.FP_SHAPE_GetClass(self)
14470
14471 def GetParentAsString(self) -> "wxString":
14472 r"""GetParentAsString(FP_SHAPE self) -> wxString"""
14473 return _pcbnew.FP_SHAPE_GetParentAsString(self)
14474
14475 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
14476 r"""GetSelectMenuText(FP_SHAPE self, EDA_UNITS aUnits) -> wxString"""
14477 return _pcbnew.FP_SHAPE_GetSelectMenuText(self, aUnits)
14478
14479 def GetMenuImage(self) -> "BITMAPS":
14480 r"""GetMenuImage(FP_SHAPE self) -> BITMAPS"""
14481 return _pcbnew.FP_SHAPE_GetMenuImage(self)
14482
14483 def Clone(self) -> "EDA_ITEM *":
14484 r"""Clone(FP_SHAPE self) -> EDA_ITEM"""
14485 return _pcbnew.FP_SHAPE_Clone(self)
14486
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)
14490
14491# Register FP_SHAPE in _pcbnew:
14492_pcbnew.FP_SHAPE_swigregister(FP_SHAPE)
14493
14494def FP_SHAPE_ClassOf(aItem: "EDA_ITEM") -> "bool":
14495 r"""FP_SHAPE_ClassOf(EDA_ITEM aItem) -> bool"""
14496 return _pcbnew.FP_SHAPE_ClassOf(aItem)
14497
14499 r"""Proxy of C++ FP_TEXT class."""
14500
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
14504
14505 TEXT_is_VALUE = _pcbnew.FP_TEXT_TEXT_is_VALUE
14506
14507 TEXT_is_DIVERS = _pcbnew.FP_TEXT_TEXT_is_DIVERS
14508
14509
14510 def __init__(self, *args):
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
14514
14515 @staticmethod
14516 def ClassOf(aItem: "EDA_ITEM") -> "bool":
14517 r"""ClassOf(EDA_ITEM aItem) -> bool"""
14518 return _pcbnew.FP_TEXT_ClassOf(aItem)
14519
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)
14523
14524 def GetParentAsString(self) -> "wxString":
14525 r"""GetParentAsString(FP_TEXT self) -> wxString"""
14526 return _pcbnew.FP_TEXT_GetParentAsString(self)
14527
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)
14531
14532 def GetPosition(self) -> "wxPoint":
14533 r"""GetPosition(FP_TEXT self) -> wxPoint"""
14534 return _pcbnew.FP_TEXT_GetPosition(self)
14535
14536 def SetPosition(self, aPos: "wxPoint") -> "void":
14537 r"""SetPosition(FP_TEXT self, wxPoint aPos)"""
14538 return _pcbnew.FP_TEXT_SetPosition(self, aPos)
14539
14540 def SetTextAngle(self, aAngle: "double") -> "void":
14541 r"""SetTextAngle(FP_TEXT self, double aAngle)"""
14542 return _pcbnew.FP_TEXT_SetTextAngle(self, aAngle)
14543
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)
14547
14548 def IsKeepUpright(self) -> "bool":
14549 r"""IsKeepUpright(FP_TEXT self) -> bool"""
14550 return _pcbnew.FP_TEXT_IsKeepUpright(self)
14551
14552 def SetKeepUpright(self, aKeepUpright: "bool") -> "void":
14553 r"""SetKeepUpright(FP_TEXT self, bool aKeepUpright)"""
14554 return _pcbnew.FP_TEXT_SetKeepUpright(self, aKeepUpright)
14555
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)
14559
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)
14563
14564 def IsParentFlipped(self) -> "bool":
14565 r"""IsParentFlipped(FP_TEXT self) -> bool"""
14566 return _pcbnew.FP_TEXT_IsParentFlipped(self)
14567
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)
14571
14572 def Move(self, aMoveVector: "wxPoint") -> "void":
14573 r"""Move(FP_TEXT self, wxPoint aMoveVector)"""
14574 return _pcbnew.FP_TEXT_Move(self, aMoveVector)
14575
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)
14579
14580 def GetType(self) -> "FP_TEXT::TEXT_TYPE":
14581 r"""GetType(FP_TEXT self) -> FP_TEXT::TEXT_TYPE"""
14582 return _pcbnew.FP_TEXT_GetType(self)
14583
14584 def SetEffects(self, aSrc: "FP_TEXT") -> "void":
14585 r"""SetEffects(FP_TEXT self, FP_TEXT aSrc)"""
14586 return _pcbnew.FP_TEXT_SetEffects(self, aSrc)
14587
14588 def SwapEffects(self, aTradingPartner: "FP_TEXT") -> "void":
14589 r"""SwapEffects(FP_TEXT self, FP_TEXT aTradingPartner)"""
14590 return _pcbnew.FP_TEXT_SwapEffects(self, aTradingPartner)
14591
14592 def SetPos0(self, aPos: "wxPoint") -> "void":
14593 r"""SetPos0(FP_TEXT self, wxPoint aPos)"""
14594 return _pcbnew.FP_TEXT_SetPos0(self, aPos)
14595
14596 def GetPos0(self) -> "wxPoint const &":
14597 r"""GetPos0(FP_TEXT self) -> wxPoint"""
14598 return _pcbnew.FP_TEXT_GetPos0(self)
14599
14600 def GetLength(self) -> "int":
14601 r"""GetLength(FP_TEXT self) -> int"""
14602 return _pcbnew.FP_TEXT_GetLength(self)
14603
14604 def GetDrawRotation(self) -> "double":
14605 r"""GetDrawRotation(FP_TEXT self) -> double"""
14606 return _pcbnew.FP_TEXT_GetDrawRotation(self)
14607
14608 def GetDrawRotationRadians(self) -> "double":
14609 r"""GetDrawRotationRadians(FP_TEXT self) -> double"""
14610 return _pcbnew.FP_TEXT_GetDrawRotationRadians(self)
14611
14612 def GetBoundingBox(self) -> "EDA_RECT const":
14613 r"""GetBoundingBox(FP_TEXT self) -> EDA_RECT"""
14614 return _pcbnew.FP_TEXT_GetBoundingBox(self)
14615
14616 def SetDrawCoord(self) -> "void":
14617 r"""SetDrawCoord(FP_TEXT self)"""
14618 return _pcbnew.FP_TEXT_SetDrawCoord(self)
14619
14620 def SetLocalCoord(self) -> "void":
14621 r"""SetLocalCoord(FP_TEXT self)"""
14622 return _pcbnew.FP_TEXT_SetLocalCoord(self)
14623
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)
14627
14628 def TextHitTest(self, *args) -> "bool":
14629 r"""
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
14632 """
14633 return _pcbnew.FP_TEXT_TextHitTest(self, *args)
14634
14635 def HitTest(self, *args) -> "bool":
14636 r"""
14637 HitTest(FP_TEXT self, wxPoint aPosition, int aAccuracy) -> bool
14638 HitTest(FP_TEXT self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
14639 """
14640 return _pcbnew.FP_TEXT_HitTest(self, *args)
14641
14642 def TransformShapeWithClearanceToPolygon(self, aCornerBuffer: "SHAPE_POLY_SET", aLayer: "PCB_LAYER_ID", aClearance: "int", aError: "int", aErrorLoc: "ERROR_LOC", aIgnoreLineWidth: "bool") -> "void":
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)
14645
14646 def TransformTextShapeWithClearanceToPolygon(self, aCornerBuffer: "SHAPE_POLY_SET", aLayer: "PCB_LAYER_ID", aClearanceValue: "int", aError: "int", aErrorLoc: "ERROR_LOC") -> "void":
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)
14649
14650 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
14653
14654 def GetClass(self) -> "wxString":
14655 r"""GetClass(FP_TEXT self) -> wxString"""
14656 return _pcbnew.FP_TEXT_GetClass(self)
14657
14658 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
14659 r"""GetSelectMenuText(FP_TEXT self, EDA_UNITS aUnits) -> wxString"""
14660 return _pcbnew.FP_TEXT_GetSelectMenuText(self, aUnits)
14661
14662 def GetMenuImage(self) -> "BITMAPS":
14663 r"""GetMenuImage(FP_TEXT self) -> BITMAPS"""
14664 return _pcbnew.FP_TEXT_GetMenuImage(self)
14665
14666 def Clone(self) -> "EDA_ITEM *":
14667 r"""Clone(FP_TEXT self) -> EDA_ITEM"""
14668 return _pcbnew.FP_TEXT_Clone(self)
14669
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)
14673
14674 def ViewBBox(self) -> "BOX2I const":
14675 r"""ViewBBox(FP_TEXT self) -> BOX2I const"""
14676 return _pcbnew.FP_TEXT_ViewBBox(self)
14677
14678 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
14679 r"""ViewGetLayers(FP_TEXT self, int [] aLayers, int & aCount)"""
14680 return _pcbnew.FP_TEXT_ViewGetLayers(self, aLayers, aCount)
14681
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)
14685
14686# Register FP_TEXT in _pcbnew:
14687_pcbnew.FP_TEXT_swigregister(FP_TEXT)
14688
14689def FP_TEXT_ClassOf(aItem: "EDA_ITEM") -> "bool":
14690 r"""FP_TEXT_ClassOf(EDA_ITEM aItem) -> bool"""
14691 return _pcbnew.FP_TEXT_ClassOf(aItem)
14692
14693CH_VISIBLE = _pcbnew.CH_VISIBLE
14694
14695CH_UNROUTABLE = _pcbnew.CH_UNROUTABLE
14696
14697CH_ROUTE_REQ = _pcbnew.CH_ROUTE_REQ
14698
14699CH_ACTIF = _pcbnew.CH_ACTIF
14700
14701LOCAL_RATSNEST_ITEM = _pcbnew.LOCAL_RATSNEST_ITEM
14702
14704 r"""Proxy of C++ std::vector< PAD * > class."""
14705
14706 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
14707 __repr__ = _swig_repr
14708
14709 def iterator(self) -> "swig::SwigPyIterator *":
14710 r"""iterator(PADS_VEC self) -> SwigPyIterator"""
14711 return _pcbnew.PADS_VEC_iterator(self)
14712 def __iter__(self):
14713 return self.iterator()
14714
14715 def __nonzero__(self) -> "bool":
14716 r"""__nonzero__(PADS_VEC self) -> bool"""
14717 return _pcbnew.PADS_VEC___nonzero__(self)
14718
14719 def __bool__(self) -> "bool":
14720 r"""__bool__(PADS_VEC self) -> bool"""
14721 return _pcbnew.PADS_VEC___bool__(self)
14722
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)
14726
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)
14730
14731 def __setslice__(self, *args) -> "void":
14732 r"""
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)
14735 """
14736 return _pcbnew.PADS_VEC___setslice__(self, *args)
14737
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)
14741
14742 def __delitem__(self, *args) -> "void":
14743 r"""
14744 __delitem__(PADS_VEC self, std::vector< PAD * >::difference_type i)
14745 __delitem__(PADS_VEC self, PySliceObject * slice)
14746 """
14747 return _pcbnew.PADS_VEC___delitem__(self, *args)
14748
14749 def __getitem__(self, *args) -> "std::vector< PAD * >::value_type":
14750 r"""
14751 __getitem__(PADS_VEC self, PySliceObject * slice) -> PADS_VEC
14752 __getitem__(PADS_VEC self, std::vector< PAD * >::difference_type i) -> PAD
14753 """
14754 return _pcbnew.PADS_VEC___getitem__(self, *args)
14755
14756 def __setitem__(self, *args) -> "void":
14757 r"""
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)
14761 """
14762 return _pcbnew.PADS_VEC___setitem__(self, *args)
14763
14764 def pop(self) -> "std::vector< PAD * >::value_type":
14765 r"""pop(PADS_VEC self) -> PAD"""
14766 return _pcbnew.PADS_VEC_pop(self)
14767
14768 def append(self, x: "PAD") -> "void":
14769 r"""append(PADS_VEC self, PAD x)"""
14770 return _pcbnew.PADS_VEC_append(self, x)
14771
14772 def empty(self) -> "bool":
14773 r"""empty(PADS_VEC self) -> bool"""
14774 return _pcbnew.PADS_VEC_empty(self)
14775
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)
14779
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)
14783
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)
14787
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)
14791
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)
14795
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)
14799
14800 def clear(self) -> "void":
14801 r"""clear(PADS_VEC self)"""
14802 return _pcbnew.PADS_VEC_clear(self)
14803
14804 def get_allocator(self) -> "std::vector< PAD * >::allocator_type":
14805 r"""get_allocator(PADS_VEC self) -> std::vector< PAD * >::allocator_type"""
14806 return _pcbnew.PADS_VEC_get_allocator(self)
14807
14808 def pop_back(self) -> "void":
14809 r"""pop_back(PADS_VEC self)"""
14810 return _pcbnew.PADS_VEC_pop_back(self)
14811
14812 def erase(self, *args) -> "std::vector< PAD * >::iterator":
14813 r"""
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
14816 """
14817 return _pcbnew.PADS_VEC_erase(self, *args)
14818
14819 def __init__(self, *args):
14820 r"""
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
14825 """
14826 _pcbnew.PADS_VEC_swiginit(self, _pcbnew.new_PADS_VEC(*args))
14827
14828 def push_back(self, x: "PAD") -> "void":
14829 r"""push_back(PADS_VEC self, PAD x)"""
14830 return _pcbnew.PADS_VEC_push_back(self, x)
14831
14832 def front(self) -> "std::vector< PAD * >::value_type":
14833 r"""front(PADS_VEC self) -> PAD"""
14834 return _pcbnew.PADS_VEC_front(self)
14835
14836 def back(self) -> "std::vector< PAD * >::value_type":
14837 r"""back(PADS_VEC self) -> PAD"""
14838 return _pcbnew.PADS_VEC_back(self)
14839
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)
14843
14844 def resize(self, *args) -> "void":
14845 r"""
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)
14848 """
14849 return _pcbnew.PADS_VEC_resize(self, *args)
14850
14851 def insert(self, *args) -> "void":
14852 r"""
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)
14855 """
14856 return _pcbnew.PADS_VEC_insert(self, *args)
14857
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)
14861
14862 def capacity(self) -> "std::vector< PAD * >::size_type":
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
14866
14867# Register PADS_VEC in _pcbnew:
14868_pcbnew.PADS_VEC_swigregister(PADS_VEC)
14869
14871 r"""Proxy of C++ std::vector< PCB_TRACK * > class."""
14872
14873 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
14874 __repr__ = _swig_repr
14875
14876 def iterator(self) -> "swig::SwigPyIterator *":
14877 r"""iterator(TRACKS_VEC self) -> SwigPyIterator"""
14878 return _pcbnew.TRACKS_VEC_iterator(self)
14879 def __iter__(self):
14880 return self.iterator()
14881
14882 def __nonzero__(self) -> "bool":
14883 r"""__nonzero__(TRACKS_VEC self) -> bool"""
14884 return _pcbnew.TRACKS_VEC___nonzero__(self)
14885
14886 def __bool__(self) -> "bool":
14887 r"""__bool__(TRACKS_VEC self) -> bool"""
14888 return _pcbnew.TRACKS_VEC___bool__(self)
14889
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)
14893
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)
14897
14898 def __setslice__(self, *args) -> "void":
14899 r"""
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)
14902 """
14903 return _pcbnew.TRACKS_VEC___setslice__(self, *args)
14904
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)
14908
14909 def __delitem__(self, *args) -> "void":
14910 r"""
14911 __delitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i)
14912 __delitem__(TRACKS_VEC self, PySliceObject * slice)
14913 """
14914 return _pcbnew.TRACKS_VEC___delitem__(self, *args)
14915
14916 def __getitem__(self, *args) -> "std::vector< PCB_TRACK * >::value_type":
14917 r"""
14918 __getitem__(TRACKS_VEC self, PySliceObject * slice) -> TRACKS_VEC
14919 __getitem__(TRACKS_VEC self, std::vector< PCB_TRACK * >::difference_type i) -> PCB_TRACK
14920 """
14921 return _pcbnew.TRACKS_VEC___getitem__(self, *args)
14922
14923 def __setitem__(self, *args) -> "void":
14924 r"""
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)
14928 """
14929 return _pcbnew.TRACKS_VEC___setitem__(self, *args)
14930
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)
14934
14935 def append(self, x: "PCB_TRACK") -> "void":
14936 r"""append(TRACKS_VEC self, PCB_TRACK x)"""
14937 return _pcbnew.TRACKS_VEC_append(self, x)
14938
14939 def empty(self) -> "bool":
14940 r"""empty(TRACKS_VEC self) -> bool"""
14941 return _pcbnew.TRACKS_VEC_empty(self)
14942
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)
14946
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)
14950
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)
14954
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)
14958
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)
14962
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)
14966
14967 def clear(self) -> "void":
14968 r"""clear(TRACKS_VEC self)"""
14969 return _pcbnew.TRACKS_VEC_clear(self)
14970
14971 def get_allocator(self) -> "std::vector< PCB_TRACK * >::allocator_type":
14972 r"""get_allocator(TRACKS_VEC self) -> std::vector< PCB_TRACK * >::allocator_type"""
14973 return _pcbnew.TRACKS_VEC_get_allocator(self)
14974
14975 def pop_back(self) -> "void":
14976 r"""pop_back(TRACKS_VEC self)"""
14977 return _pcbnew.TRACKS_VEC_pop_back(self)
14978
14979 def erase(self, *args) -> "std::vector< PCB_TRACK * >::iterator":
14980 r"""
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
14983 """
14984 return _pcbnew.TRACKS_VEC_erase(self, *args)
14985
14986 def __init__(self, *args):
14987 r"""
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
14992 """
14993 _pcbnew.TRACKS_VEC_swiginit(self, _pcbnew.new_TRACKS_VEC(*args))
14994
14995 def push_back(self, x: "PCB_TRACK") -> "void":
14996 r"""push_back(TRACKS_VEC self, PCB_TRACK x)"""
14997 return _pcbnew.TRACKS_VEC_push_back(self, x)
14998
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)
15002
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)
15006
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)
15010
15011 def resize(self, *args) -> "void":
15012 r"""
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)
15015 """
15016 return _pcbnew.TRACKS_VEC_resize(self, *args)
15017
15018 def insert(self, *args) -> "void":
15019 r"""
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)
15022 """
15023 return _pcbnew.TRACKS_VEC_insert(self, *args)
15024
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)
15028
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
15033
15034# Register TRACKS_VEC in _pcbnew:
15035_pcbnew.TRACKS_VEC_swigregister(TRACKS_VEC)
15036
15038 r"""Proxy of C++ NETINFO_ITEM class."""
15039
15040 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15041 __repr__ = _swig_repr
15042
15043 def __init__(self, *args):
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
15047
15048 @staticmethod
15049 def ClassOf(aItem: "EDA_ITEM") -> "bool":
15050 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15051 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
15052
15053 def GetClass(self) -> "wxString":
15054 r"""GetClass(NETINFO_ITEM self) -> wxString"""
15055 return _pcbnew.NETINFO_ITEM_GetClass(self)
15056
15057 def GetPosition(self) -> "wxPoint":
15058 r"""GetPosition(NETINFO_ITEM self) -> wxPoint"""
15059 return _pcbnew.NETINFO_ITEM_GetPosition(self)
15060
15061 def SetPosition(self, aPos: "wxPoint") -> "void":
15062 r"""SetPosition(NETINFO_ITEM self, wxPoint aPos)"""
15063 return _pcbnew.NETINFO_ITEM_SetPosition(self, aPos)
15064
15065 def Clone(self) -> "EDA_ITEM *":
15066 r"""Clone(NETINFO_ITEM self) -> EDA_ITEM"""
15067 return _pcbnew.NETINFO_ITEM_Clone(self)
15068
15069 def SetNetClass(self, aNetClass: "NETCLASSPTR const &") -> "void":
15070 r"""SetNetClass(NETINFO_ITEM self, NETCLASSPTR const & aNetClass)"""
15071 return _pcbnew.NETINFO_ITEM_SetNetClass(self, aNetClass)
15072
15073 def GetNetClass(self) -> "NETCLASS *":
15074 r"""GetNetClass(NETINFO_ITEM self) -> NETCLASS *"""
15075 return _pcbnew.NETINFO_ITEM_GetNetClass(self)
15076
15077 def GetNetClassName(self) -> "wxString":
15078 r"""GetNetClassName(NETINFO_ITEM self) -> wxString"""
15079 return _pcbnew.NETINFO_ITEM_GetNetClassName(self)
15080
15081 def GetNetCode(self) -> "int":
15082 r"""GetNetCode(NETINFO_ITEM self) -> int"""
15083 return _pcbnew.NETINFO_ITEM_GetNetCode(self)
15084
15085 def SetNetCode(self, aNetCode: "int") -> "void":
15086 r"""SetNetCode(NETINFO_ITEM self, int aNetCode)"""
15087 return _pcbnew.NETINFO_ITEM_SetNetCode(self, aNetCode)
15088
15089 def GetNetname(self) -> "wxString const &":
15090 r"""GetNetname(NETINFO_ITEM self) -> wxString"""
15091 return _pcbnew.NETINFO_ITEM_GetNetname(self)
15092
15093 def GetShortNetname(self) -> "wxString const &":
15094 r"""GetShortNetname(NETINFO_ITEM self) -> wxString"""
15095 return _pcbnew.NETINFO_ITEM_GetShortNetname(self)
15096
15097 def SetNetname(self, aNewName: "wxString") -> "void":
15098 r"""SetNetname(NETINFO_ITEM self, wxString aNewName)"""
15099 return _pcbnew.NETINFO_ITEM_SetNetname(self, aNewName)
15100
15101 def IsCurrent(self) -> "bool":
15102 r"""IsCurrent(NETINFO_ITEM self) -> bool"""
15103 return _pcbnew.NETINFO_ITEM_IsCurrent(self)
15104
15105 def SetIsCurrent(self, isCurrent: "bool") -> "void":
15106 r"""SetIsCurrent(NETINFO_ITEM self, bool isCurrent)"""
15107 return _pcbnew.NETINFO_ITEM_SetIsCurrent(self, isCurrent)
15108
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)
15112
15113 def Clear(self) -> "void":
15114 r"""Clear(NETINFO_ITEM self)"""
15115 return _pcbnew.NETINFO_ITEM_Clear(self)
15116
15117 def GetParent(self) -> "BOARD *":
15118 r"""GetParent(NETINFO_ITEM self) -> BOARD"""
15119 return _pcbnew.NETINFO_ITEM_GetParent(self)
15120
15121# Register NETINFO_ITEM in _pcbnew:
15122_pcbnew.NETINFO_ITEM_swigregister(NETINFO_ITEM)
15123
15124def NETINFO_ITEM_ClassOf(aItem: "EDA_ITEM") -> "bool":
15125 r"""NETINFO_ITEM_ClassOf(EDA_ITEM aItem) -> bool"""
15126 return _pcbnew.NETINFO_ITEM_ClassOf(aItem)
15127
15129 r"""Proxy of C++ std::map< wxString,NETINFO_ITEM * > class."""
15130
15131 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15132 __repr__ = _swig_repr
15133
15134 def iterator(self) -> "swig::SwigPyIterator *":
15135 r"""iterator(NETNAMES_MAP self) -> SwigPyIterator"""
15136 return _pcbnew.NETNAMES_MAP_iterator(self)
15137 def __iter__(self):
15138 return self.iterator()
15139
15140 def __nonzero__(self) -> "bool":
15141 r"""__nonzero__(NETNAMES_MAP self) -> bool"""
15142 return _pcbnew.NETNAMES_MAP___nonzero__(self)
15143
15144 def __bool__(self) -> "bool":
15145 r"""__bool__(NETNAMES_MAP self) -> bool"""
15146 return _pcbnew.NETNAMES_MAP___bool__(self)
15147
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)
15151 def __iter__(self):
15152 return self.key_iterator()
15153 def iterkeys(self):
15154 return self.key_iterator()
15155 def itervalues(self):
15156 return self.value_iterator()
15157 def iteritems(self):
15158 return self.iterator()
15159
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)
15163
15164 def __delitem__(self, key: "wxString") -> "void":
15165 r"""__delitem__(NETNAMES_MAP self, wxString key)"""
15166 return _pcbnew.NETNAMES_MAP___delitem__(self, key)
15167
15168 def has_key(self, key: "wxString") -> "bool":
15169 r"""has_key(NETNAMES_MAP self, wxString key) -> bool"""
15170 return _pcbnew.NETNAMES_MAP_has_key(self, key)
15171
15172 def keys(self) -> "PyObject *":
15173 r"""keys(NETNAMES_MAP self) -> PyObject *"""
15174 return _pcbnew.NETNAMES_MAP_keys(self)
15175
15176 def values(self) -> "PyObject *":
15177 r"""values(NETNAMES_MAP self) -> PyObject *"""
15178 return _pcbnew.NETNAMES_MAP_values(self)
15179
15180 def items(self) -> "PyObject *":
15181 r"""items(NETNAMES_MAP self) -> PyObject *"""
15182 return _pcbnew.NETNAMES_MAP_items(self)
15183
15184 def __contains__(self, key: "wxString") -> "bool":
15185 r"""__contains__(NETNAMES_MAP self, wxString key) -> bool"""
15186 return _pcbnew.NETNAMES_MAP___contains__(self, key)
15187
15188 def key_iterator(self) -> "swig::SwigPyIterator *":
15189 r"""key_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
15190 return _pcbnew.NETNAMES_MAP_key_iterator(self)
15191
15192 def value_iterator(self) -> "swig::SwigPyIterator *":
15193 r"""value_iterator(NETNAMES_MAP self) -> SwigPyIterator"""
15194 return _pcbnew.NETNAMES_MAP_value_iterator(self)
15195
15196 def __setitem__(self, *args) -> "void":
15197 r"""
15198 __setitem__(NETNAMES_MAP self, wxString key)
15199 __setitem__(NETNAMES_MAP self, wxString key, NETINFO_ITEM x)
15200 """
15201 return _pcbnew.NETNAMES_MAP___setitem__(self, *args)
15202
15203 def asdict(self) -> "PyObject *":
15204 r"""asdict(NETNAMES_MAP self) -> PyObject *"""
15205 return _pcbnew.NETNAMES_MAP_asdict(self)
15206
15207 def __init__(self, *args):
15208 r"""
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
15212 """
15213 _pcbnew.NETNAMES_MAP_swiginit(self, _pcbnew.new_NETNAMES_MAP(*args))
15214
15215 def empty(self) -> "bool":
15216 r"""empty(NETNAMES_MAP self) -> bool"""
15217 return _pcbnew.NETNAMES_MAP_empty(self)
15218
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)
15222
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)
15226
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)
15230
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)
15234
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)
15238
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)
15242
15243 def clear(self) -> "void":
15244 r"""clear(NETNAMES_MAP self)"""
15245 return _pcbnew.NETNAMES_MAP_clear(self)
15246
15247 def get_allocator(self) -> "std::map< wxString,NETINFO_ITEM * >::allocator_type":
15248 r"""get_allocator(NETNAMES_MAP self) -> std::map< wxString,NETINFO_ITEM * >::allocator_type"""
15249 return _pcbnew.NETNAMES_MAP_get_allocator(self)
15250
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)
15254
15255 def erase(self, *args) -> "void":
15256 r"""
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)
15260 """
15261 return _pcbnew.NETNAMES_MAP_erase(self, *args)
15262
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)
15266
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)
15270
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
15275
15276# Register NETNAMES_MAP in _pcbnew:
15277_pcbnew.NETNAMES_MAP_swigregister(NETNAMES_MAP)
15278
15280 r"""Proxy of C++ std::map< int,NETINFO_ITEM * > class."""
15281
15282 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15283 __repr__ = _swig_repr
15284
15285 def iterator(self) -> "swig::SwigPyIterator *":
15286 r"""iterator(NETCODES_MAP self) -> SwigPyIterator"""
15287 return _pcbnew.NETCODES_MAP_iterator(self)
15288 def __iter__(self):
15289 return self.iterator()
15290
15291 def __nonzero__(self) -> "bool":
15292 r"""__nonzero__(NETCODES_MAP self) -> bool"""
15293 return _pcbnew.NETCODES_MAP___nonzero__(self)
15294
15295 def __bool__(self) -> "bool":
15296 r"""__bool__(NETCODES_MAP self) -> bool"""
15297 return _pcbnew.NETCODES_MAP___bool__(self)
15298
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)
15302 def __iter__(self):
15303 return self.key_iterator()
15304 def iterkeys(self):
15305 return self.key_iterator()
15306 def itervalues(self):
15307 return self.value_iterator()
15308 def iteritems(self):
15309 return self.iterator()
15310
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)
15314
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)
15318
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)
15322
15323 def keys(self) -> "PyObject *":
15324 r"""keys(NETCODES_MAP self) -> PyObject *"""
15325 return _pcbnew.NETCODES_MAP_keys(self)
15326
15327 def values(self) -> "PyObject *":
15328 r"""values(NETCODES_MAP self) -> PyObject *"""
15329 return _pcbnew.NETCODES_MAP_values(self)
15330
15331 def items(self) -> "PyObject *":
15332 r"""items(NETCODES_MAP self) -> PyObject *"""
15333 return _pcbnew.NETCODES_MAP_items(self)
15334
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)
15338
15339 def key_iterator(self) -> "swig::SwigPyIterator *":
15340 r"""key_iterator(NETCODES_MAP self) -> SwigPyIterator"""
15341 return _pcbnew.NETCODES_MAP_key_iterator(self)
15342
15343 def value_iterator(self) -> "swig::SwigPyIterator *":
15344 r"""value_iterator(NETCODES_MAP self) -> SwigPyIterator"""
15345 return _pcbnew.NETCODES_MAP_value_iterator(self)
15346
15347 def __setitem__(self, *args) -> "void":
15348 r"""
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)
15351 """
15352 return _pcbnew.NETCODES_MAP___setitem__(self, *args)
15353
15354 def asdict(self) -> "PyObject *":
15355 r"""asdict(NETCODES_MAP self) -> PyObject *"""
15356 return _pcbnew.NETCODES_MAP_asdict(self)
15357
15358 def __init__(self, *args):
15359 r"""
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
15363 """
15364 _pcbnew.NETCODES_MAP_swiginit(self, _pcbnew.new_NETCODES_MAP(*args))
15365
15366 def empty(self) -> "bool":
15367 r"""empty(NETCODES_MAP self) -> bool"""
15368 return _pcbnew.NETCODES_MAP_empty(self)
15369
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)
15373
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)
15377
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)
15381
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)
15385
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)
15389
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)
15393
15394 def clear(self) -> "void":
15395 r"""clear(NETCODES_MAP self)"""
15396 return _pcbnew.NETCODES_MAP_clear(self)
15397
15398 def get_allocator(self) -> "std::map< int,NETINFO_ITEM * >::allocator_type":
15399 r"""get_allocator(NETCODES_MAP self) -> std::map< int,NETINFO_ITEM * >::allocator_type"""
15400 return _pcbnew.NETCODES_MAP_get_allocator(self)
15401
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)
15405
15406 def erase(self, *args) -> "void":
15407 r"""
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)
15411 """
15412 return _pcbnew.NETCODES_MAP_erase(self, *args)
15413
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)
15417
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)
15421
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
15426
15427# Register NETCODES_MAP in _pcbnew:
15428_pcbnew.NETCODES_MAP_swigregister(NETCODES_MAP)
15429
15431 r"""Proxy of C++ NETINFO_LIST class."""
15432
15433 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15434 __repr__ = _swig_repr
15435
15436 def __init__(self, aParent: "BOARD"):
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
15440
15441 def GetNetItem(self, *args) -> "NETINFO_ITEM *":
15442 r"""
15443 GetNetItem(NETINFO_LIST self, int aNetCode) -> NETINFO_ITEM
15444 GetNetItem(NETINFO_LIST self, wxString aNetName) -> NETINFO_ITEM
15445 """
15446 return _pcbnew.NETINFO_LIST_GetNetItem(self, *args)
15447
15448 def GetNetCount(self) -> "unsigned int":
15449 r"""GetNetCount(NETINFO_LIST self) -> unsigned int"""
15450 return _pcbnew.NETINFO_LIST_GetNetCount(self)
15451
15452 def AppendNet(self, aNewElement: "NETINFO_ITEM") -> "void":
15453 r"""AppendNet(NETINFO_LIST self, NETINFO_ITEM aNewElement)"""
15454 return _pcbnew.NETINFO_LIST_AppendNet(self, aNewElement)
15455
15456 def RemoveNet(self, aNet: "NETINFO_ITEM") -> "void":
15457 r"""RemoveNet(NETINFO_LIST self, NETINFO_ITEM aNet)"""
15458 return _pcbnew.NETINFO_LIST_RemoveNet(self, aNet)
15459
15460 def RemoveUnusedNets(self) -> "void":
15461 r"""RemoveUnusedNets(NETINFO_LIST self)"""
15462 return _pcbnew.NETINFO_LIST_RemoveUnusedNets(self)
15463
15464 def NetsByName(self) -> "NETNAMES_MAP const &":
15465 r"""NetsByName(NETINFO_LIST self) -> NETNAMES_MAP"""
15466 return _pcbnew.NETINFO_LIST_NetsByName(self)
15467
15468 def NetsByNetcode(self) -> "NETCODES_MAP const &":
15469 r"""NetsByNetcode(NETINFO_LIST self) -> NETCODES_MAP"""
15470 return _pcbnew.NETINFO_LIST_NetsByNetcode(self)
15471
15472 @staticmethod
15473 def OrphanedItem() -> "NETINFO_ITEM *":
15474 r"""OrphanedItem() -> NETINFO_ITEM"""
15475 return _pcbnew.NETINFO_LIST_OrphanedItem()
15476
15477 def GetParent(self) -> "BOARD *":
15478 r"""GetParent(NETINFO_LIST self) -> BOARD"""
15479 return _pcbnew.NETINFO_LIST_GetParent(self)
15480
15481# Register NETINFO_LIST in _pcbnew:
15482_pcbnew.NETINFO_LIST_swigregister(NETINFO_LIST)
15483NETINFO_LIST.UNCONNECTED = _pcbnew.cvar.NETINFO_LIST_UNCONNECTED
15484NETINFO_LIST.ORPHANED = _pcbnew.cvar.NETINFO_LIST_ORPHANED
15485
15486def NETINFO_LIST_OrphanedItem() -> "NETINFO_ITEM *":
15487 r"""NETINFO_LIST_OrphanedItem() -> NETINFO_ITEM"""
15488 return _pcbnew.NETINFO_LIST_OrphanedItem()
15489
15491 r"""Proxy of C++ std::set< wxString > class."""
15492
15493 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15494 __repr__ = _swig_repr
15495
15496 def iterator(self) -> "swig::SwigPyIterator *":
15497 r"""iterator(STRINGSET self) -> SwigPyIterator"""
15498 return _pcbnew.STRINGSET_iterator(self)
15499 def __iter__(self):
15500 return self.iterator()
15501
15502 def __nonzero__(self) -> "bool":
15503 r"""__nonzero__(STRINGSET self) -> bool"""
15504 return _pcbnew.STRINGSET___nonzero__(self)
15505
15506 def __bool__(self) -> "bool":
15507 r"""__bool__(STRINGSET self) -> bool"""
15508 return _pcbnew.STRINGSET___bool__(self)
15509
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)
15513
15514 def append(self, x: "wxString") -> "void":
15515 r"""append(STRINGSET self, wxString x)"""
15516 return _pcbnew.STRINGSET_append(self, x)
15517
15518 def __contains__(self, x: "wxString") -> "bool":
15519 r"""__contains__(STRINGSET self, wxString x) -> bool"""
15520 return _pcbnew.STRINGSET___contains__(self, x)
15521
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)
15525
15526 def add(self, x: "wxString") -> "void":
15527 r"""add(STRINGSET self, wxString x)"""
15528 return _pcbnew.STRINGSET_add(self, x)
15529
15530 def discard(self, x: "wxString") -> "void":
15531 r"""discard(STRINGSET self, wxString x)"""
15532 return _pcbnew.STRINGSET_discard(self, x)
15533
15534 def __init__(self, *args):
15535 r"""
15536 __init__(STRINGSET self, std::less< wxString > const & other) -> STRINGSET
15537 __init__(STRINGSET self) -> STRINGSET
15538 __init__(STRINGSET self, STRINGSET other) -> STRINGSET
15539 """
15540 _pcbnew.STRINGSET_swiginit(self, _pcbnew.new_STRINGSET(*args))
15541
15542 def empty(self) -> "bool":
15543 r"""empty(STRINGSET self) -> bool"""
15544 return _pcbnew.STRINGSET_empty(self)
15545
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)
15549
15550 def clear(self) -> "void":
15551 r"""clear(STRINGSET self)"""
15552 return _pcbnew.STRINGSET_clear(self)
15553
15554 def swap(self, v: "STRINGSET") -> "void":
15555 r"""swap(STRINGSET self, STRINGSET v)"""
15556 return _pcbnew.STRINGSET_swap(self, v)
15557
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)
15561
15562 def begin(self) -> "std::set< wxString >::iterator":
15563 r"""begin(STRINGSET self) -> std::set< wxString >::iterator"""
15564 return _pcbnew.STRINGSET_begin(self)
15565
15566 def end(self) -> "std::set< wxString >::iterator":
15567 r"""end(STRINGSET self) -> std::set< wxString >::iterator"""
15568 return _pcbnew.STRINGSET_end(self)
15569
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)
15573
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)
15577
15578 def erase(self, *args) -> "void":
15579 r"""
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)
15583 """
15584 return _pcbnew.STRINGSET_erase(self, *args)
15585
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)
15589
15590 def lower_bound(self, x: "wxString") -> "std::set< wxString >::iterator":
15591 r"""lower_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
15592 return _pcbnew.STRINGSET_lower_bound(self, x)
15593
15594 def upper_bound(self, x: "wxString") -> "std::set< wxString >::iterator":
15595 r"""upper_bound(STRINGSET self, wxString x) -> std::set< wxString >::iterator"""
15596 return _pcbnew.STRINGSET_upper_bound(self, x)
15597
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)
15601
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
15606
15607# Register STRINGSET in _pcbnew:
15608_pcbnew.STRINGSET_swigregister(STRINGSET)
15609
15611 r"""Proxy of C++ std::shared_ptr< NETCLASS > class."""
15612
15613 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15614 __repr__ = _swig_repr
15615
15616 def __init__(self, name: "string"):
15617 r"""__init__(NETCLASSPTR self, string name) -> NETCLASSPTR"""
15618 _pcbnew.NETCLASSPTR_swiginit(self, _pcbnew.new_NETCLASSPTR(name))
15619
15620 def NetNames(self) -> "STRINGSET &":
15621 r"""NetNames(NETCLASSPTR self) -> STRINGSET"""
15622 return _pcbnew.NETCLASSPTR_NetNames(self)
15623
15624 def GetName(self) -> "wxString const &":
15625 r"""GetName(NETCLASSPTR self) -> wxString"""
15626 return _pcbnew.NETCLASSPTR_GetName(self)
15627
15628 def GetCount(self) -> "unsigned int":
15629 r"""GetCount(NETCLASSPTR self) -> unsigned int"""
15630 return _pcbnew.NETCLASSPTR_GetCount(self)
15631
15632 def GetDescription(self) -> "wxString const &":
15633 r"""GetDescription(NETCLASSPTR self) -> wxString"""
15634 return _pcbnew.NETCLASSPTR_GetDescription(self)
15635
15636 def SetDescription(self, aDesc: "wxString") -> "void":
15637 r"""SetDescription(NETCLASSPTR self, wxString aDesc)"""
15638 return _pcbnew.NETCLASSPTR_SetDescription(self, aDesc)
15639
15640 def GetClearance(self) -> "int":
15641 r"""GetClearance(NETCLASSPTR self) -> int"""
15642 return _pcbnew.NETCLASSPTR_GetClearance(self)
15643
15644 def SetClearance(self, aClearance: "int") -> "void":
15645 r"""SetClearance(NETCLASSPTR self, int aClearance)"""
15646 return _pcbnew.NETCLASSPTR_SetClearance(self, aClearance)
15647
15648 def GetTrackWidth(self) -> "int":
15649 r"""GetTrackWidth(NETCLASSPTR self) -> int"""
15650 return _pcbnew.NETCLASSPTR_GetTrackWidth(self)
15651
15652 def SetTrackWidth(self, aWidth: "int") -> "void":
15653 r"""SetTrackWidth(NETCLASSPTR self, int aWidth)"""
15654 return _pcbnew.NETCLASSPTR_SetTrackWidth(self, aWidth)
15655
15656 def GetViaDiameter(self) -> "int":
15657 r"""GetViaDiameter(NETCLASSPTR self) -> int"""
15658 return _pcbnew.NETCLASSPTR_GetViaDiameter(self)
15659
15660 def SetViaDiameter(self, aDia: "int") -> "void":
15661 r"""SetViaDiameter(NETCLASSPTR self, int aDia)"""
15662 return _pcbnew.NETCLASSPTR_SetViaDiameter(self, aDia)
15663
15664 def GetViaDrill(self) -> "int":
15665 r"""GetViaDrill(NETCLASSPTR self) -> int"""
15666 return _pcbnew.NETCLASSPTR_GetViaDrill(self)
15667
15668 def SetViaDrill(self, aSize: "int") -> "void":
15669 r"""SetViaDrill(NETCLASSPTR self, int aSize)"""
15670 return _pcbnew.NETCLASSPTR_SetViaDrill(self, aSize)
15671
15672 def GetuViaDiameter(self) -> "int":
15673 r"""GetuViaDiameter(NETCLASSPTR self) -> int"""
15674 return _pcbnew.NETCLASSPTR_GetuViaDiameter(self)
15675
15676 def SetuViaDiameter(self, aSize: "int") -> "void":
15677 r"""SetuViaDiameter(NETCLASSPTR self, int aSize)"""
15678 return _pcbnew.NETCLASSPTR_SetuViaDiameter(self, aSize)
15679
15680 def GetuViaDrill(self) -> "int":
15681 r"""GetuViaDrill(NETCLASSPTR self) -> int"""
15682 return _pcbnew.NETCLASSPTR_GetuViaDrill(self)
15683
15684 def SetuViaDrill(self, aSize: "int") -> "void":
15685 r"""SetuViaDrill(NETCLASSPTR self, int aSize)"""
15686 return _pcbnew.NETCLASSPTR_SetuViaDrill(self, aSize)
15687
15688 def GetDiffPairWidth(self) -> "int":
15689 r"""GetDiffPairWidth(NETCLASSPTR self) -> int"""
15690 return _pcbnew.NETCLASSPTR_GetDiffPairWidth(self)
15691
15692 def SetDiffPairWidth(self, aSize: "int") -> "void":
15693 r"""SetDiffPairWidth(NETCLASSPTR self, int aSize)"""
15694 return _pcbnew.NETCLASSPTR_SetDiffPairWidth(self, aSize)
15695
15696 def GetDiffPairGap(self) -> "int":
15697 r"""GetDiffPairGap(NETCLASSPTR self) -> int"""
15698 return _pcbnew.NETCLASSPTR_GetDiffPairGap(self)
15699
15700 def SetDiffPairGap(self, aSize: "int") -> "void":
15701 r"""SetDiffPairGap(NETCLASSPTR self, int aSize)"""
15702 return _pcbnew.NETCLASSPTR_SetDiffPairGap(self, aSize)
15703 __swig_destroy__ = _pcbnew.delete_NETCLASSPTR
15704
15705# Register NETCLASSPTR in _pcbnew:
15706_pcbnew.NETCLASSPTR_swigregister(NETCLASSPTR)
15707
15709 r"""Proxy of C++ std::map< wxString,NETCLASSPTR > class."""
15710
15711 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15712 __repr__ = _swig_repr
15713
15714 def iterator(self) -> "swig::SwigPyIterator *":
15715 r"""iterator(NETCLASS_MAP self) -> SwigPyIterator"""
15716 return _pcbnew.NETCLASS_MAP_iterator(self)
15717 def __iter__(self):
15718 return self.iterator()
15719
15720 def __nonzero__(self) -> "bool":
15721 r"""__nonzero__(NETCLASS_MAP self) -> bool"""
15722 return _pcbnew.NETCLASS_MAP___nonzero__(self)
15723
15724 def __bool__(self) -> "bool":
15725 r"""__bool__(NETCLASS_MAP self) -> bool"""
15726 return _pcbnew.NETCLASS_MAP___bool__(self)
15727
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)
15731 def __iter__(self):
15732 return self.key_iterator()
15733 def iterkeys(self):
15734 return self.key_iterator()
15735 def itervalues(self):
15736 return self.value_iterator()
15737 def iteritems(self):
15738 return self.iterator()
15739
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)
15743
15744 def __delitem__(self, key: "wxString") -> "void":
15745 r"""__delitem__(NETCLASS_MAP self, wxString key)"""
15746 return _pcbnew.NETCLASS_MAP___delitem__(self, key)
15747
15748 def has_key(self, key: "wxString") -> "bool":
15749 r"""has_key(NETCLASS_MAP self, wxString key) -> bool"""
15750 return _pcbnew.NETCLASS_MAP_has_key(self, key)
15751
15752 def keys(self) -> "PyObject *":
15753 r"""keys(NETCLASS_MAP self) -> PyObject *"""
15754 return _pcbnew.NETCLASS_MAP_keys(self)
15755
15756 def values(self) -> "PyObject *":
15757 r"""values(NETCLASS_MAP self) -> PyObject *"""
15758 return _pcbnew.NETCLASS_MAP_values(self)
15759
15760 def items(self) -> "PyObject *":
15761 r"""items(NETCLASS_MAP self) -> PyObject *"""
15762 return _pcbnew.NETCLASS_MAP_items(self)
15763
15764 def __contains__(self, key: "wxString") -> "bool":
15765 r"""__contains__(NETCLASS_MAP self, wxString key) -> bool"""
15766 return _pcbnew.NETCLASS_MAP___contains__(self, key)
15767
15768 def key_iterator(self) -> "swig::SwigPyIterator *":
15769 r"""key_iterator(NETCLASS_MAP self) -> SwigPyIterator"""
15770 return _pcbnew.NETCLASS_MAP_key_iterator(self)
15771
15772 def value_iterator(self) -> "swig::SwigPyIterator *":
15773 r"""value_iterator(NETCLASS_MAP self) -> SwigPyIterator"""
15774 return _pcbnew.NETCLASS_MAP_value_iterator(self)
15775
15776 def __setitem__(self, *args) -> "void":
15777 r"""
15778 __setitem__(NETCLASS_MAP self, wxString key)
15779 __setitem__(NETCLASS_MAP self, wxString key, std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const & x)
15780 """
15781 return _pcbnew.NETCLASS_MAP___setitem__(self, *args)
15782
15783 def asdict(self) -> "PyObject *":
15784 r"""asdict(NETCLASS_MAP self) -> PyObject *"""
15785 return _pcbnew.NETCLASS_MAP_asdict(self)
15786
15787 def __init__(self, *args):
15788 r"""
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
15792 """
15793 _pcbnew.NETCLASS_MAP_swiginit(self, _pcbnew.new_NETCLASS_MAP(*args))
15794
15795 def empty(self) -> "bool":
15796 r"""empty(NETCLASS_MAP self) -> bool"""
15797 return _pcbnew.NETCLASS_MAP_empty(self)
15798
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)
15802
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)
15806
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)
15810
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)
15814
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)
15818
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)
15822
15823 def clear(self) -> "void":
15824 r"""clear(NETCLASS_MAP self)"""
15825 return _pcbnew.NETCLASS_MAP_clear(self)
15826
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)
15830
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)
15834
15835 def erase(self, *args) -> "void":
15836 r"""
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)
15840 """
15841 return _pcbnew.NETCLASS_MAP_erase(self, *args)
15842
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)
15846
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)
15850
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
15855
15856# Register NETCLASS_MAP in _pcbnew:
15857_pcbnew.NETCLASS_MAP_swigregister(NETCLASS_MAP)
15858
15860 r"""Proxy of C++ NETCLASSES class."""
15861
15862 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15863 __repr__ = _swig_repr
15864
15865 def __init__(self):
15866 r"""__init__(NETCLASSES self) -> NETCLASSES"""
15867 _pcbnew.NETCLASSES_swiginit(self, _pcbnew.new_NETCLASSES())
15868 __swig_destroy__ = _pcbnew.delete_NETCLASSES
15869
15870 def Clear(self) -> "void":
15871 r"""Clear(NETCLASSES self)"""
15872 return _pcbnew.NETCLASSES_Clear(self)
15873
15874 def begin(self, *args) -> "NETCLASSES::const_iterator":
15875 r"""
15876 begin(NETCLASSES self) -> NETCLASSES::iterator
15877 begin(NETCLASSES self) -> NETCLASSES::const_iterator
15878 """
15879 return _pcbnew.NETCLASSES_begin(self, *args)
15880
15881 def end(self, *args) -> "NETCLASSES::const_iterator":
15882 r"""
15883 end(NETCLASSES self) -> NETCLASSES::iterator
15884 end(NETCLASSES self) -> NETCLASSES::const_iterator
15885 """
15886 return _pcbnew.NETCLASSES_end(self, *args)
15887
15888 def GetCount(self) -> "unsigned int":
15889 r"""GetCount(NETCLASSES self) -> unsigned int"""
15890 return _pcbnew.NETCLASSES_GetCount(self)
15891
15892 def GetDefault(self) -> "NETCLASSPTR":
15893 r"""GetDefault(NETCLASSES self) -> NETCLASSPTR"""
15894 return _pcbnew.NETCLASSES_GetDefault(self)
15895
15896 def GetDefaultPtr(self) -> "NETCLASS *":
15897 r"""GetDefaultPtr(NETCLASSES self) -> NETCLASS *"""
15898 return _pcbnew.NETCLASSES_GetDefaultPtr(self)
15899
15900 def Add(self, aNetclass: "NETCLASSPTR const &") -> "bool":
15901 r"""Add(NETCLASSES self, NETCLASSPTR const & aNetclass) -> bool"""
15902 return _pcbnew.NETCLASSES_Add(self, aNetclass)
15903
15904 def Remove(self, aNetName: "wxString") -> "NETCLASSPTR":
15905 r"""Remove(NETCLASSES self, wxString aNetName) -> NETCLASSPTR"""
15906 return _pcbnew.NETCLASSES_Remove(self, aNetName)
15907
15908 def Find(self, aName: "wxString") -> "NETCLASSPTR":
15909 r"""Find(NETCLASSES self, wxString aName) -> NETCLASSPTR"""
15910 return _pcbnew.NETCLASSES_Find(self, aName)
15911
15912 def NetClasses(self) -> "NETCLASS_MAP &":
15913 r"""NetClasses(NETCLASSES self) -> NETCLASS_MAP"""
15914 return _pcbnew.NETCLASSES_NetClasses(self)
15915
15916# Register NETCLASSES in _pcbnew:
15917_pcbnew.NETCLASSES_swigregister(NETCLASSES)
15918
15920 r"""Proxy of C++ PCB_GROUP class."""
15921
15922 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
15923 __repr__ = _swig_repr
15924
15925 def __init__(self, aParent: "BOARD_ITEM"):
15926 r"""__init__(PCB_GROUP self, BOARD_ITEM aParent) -> PCB_GROUP"""
15927 _pcbnew.PCB_GROUP_swiginit(self, _pcbnew.new_PCB_GROUP(aParent))
15928
15929 @staticmethod
15930 def ClassOf(aItem: "EDA_ITEM") -> "bool":
15931 r"""ClassOf(EDA_ITEM aItem) -> bool"""
15932 return _pcbnew.PCB_GROUP_ClassOf(aItem)
15933
15934 def GetClass(self) -> "wxString":
15935 r"""GetClass(PCB_GROUP self) -> wxString"""
15936 return _pcbnew.PCB_GROUP_GetClass(self)
15937
15938 def GetName(self) -> "wxString":
15939 r"""GetName(PCB_GROUP self) -> wxString"""
15940 return _pcbnew.PCB_GROUP_GetName(self)
15941
15942 def SetName(self, aName: "wxString") -> "void":
15943 r"""SetName(PCB_GROUP self, wxString aName)"""
15944 return _pcbnew.PCB_GROUP_SetName(self, aName)
15945
15946 def GetItems(self, *args) -> "std::unordered_set< BOARD_ITEM * > const &":
15947 r"""
15948 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * >
15949 GetItems(PCB_GROUP self) -> std::unordered_set< BOARD_ITEM * > const &
15950 """
15951 return _pcbnew.PCB_GROUP_GetItems(self, *args)
15952
15953 def AddItem(self, aItem: "BOARD_ITEM") -> "bool":
15954 r"""AddItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
15955 return _pcbnew.PCB_GROUP_AddItem(self, aItem)
15956
15957 def RemoveItem(self, aItem: "BOARD_ITEM") -> "bool":
15958 r"""RemoveItem(PCB_GROUP self, BOARD_ITEM aItem) -> bool"""
15959 return _pcbnew.PCB_GROUP_RemoveItem(self, aItem)
15960
15961 def RemoveAll(self) -> "void":
15962 r"""RemoveAll(PCB_GROUP self)"""
15963 return _pcbnew.PCB_GROUP_RemoveAll(self)
15964
15965 @staticmethod
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)
15969
15970 @staticmethod
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)
15974
15975 def GetPosition(self) -> "wxPoint":
15976 r"""GetPosition(PCB_GROUP self) -> wxPoint"""
15977 return _pcbnew.PCB_GROUP_GetPosition(self)
15978
15979 def SetPosition(self, aNewpos: "wxPoint") -> "void":
15980 r"""SetPosition(PCB_GROUP self, wxPoint aNewpos)"""
15981 return _pcbnew.PCB_GROUP_SetPosition(self, aNewpos)
15982
15983 def GetLayerSet(self) -> "LSET":
15984 r"""GetLayerSet(PCB_GROUP self) -> LSET"""
15985 return _pcbnew.PCB_GROUP_GetLayerSet(self)
15986
15987 def SetLayer(self, aLayer: "PCB_LAYER_ID") -> "void":
15988 r"""SetLayer(PCB_GROUP self, PCB_LAYER_ID aLayer)"""
15989 return _pcbnew.PCB_GROUP_SetLayer(self, aLayer)
15990
15991 def SetLayerRecursive(self, aLayer: "PCB_LAYER_ID", aDepth: "int") -> "void":
15992 r"""SetLayerRecursive(PCB_GROUP self, PCB_LAYER_ID aLayer, int aDepth)"""
15993 return _pcbnew.PCB_GROUP_SetLayerRecursive(self, aLayer, aDepth)
15994
15995 def SetLocked(self, aLocked: "bool") -> "void":
15996 r"""SetLocked(PCB_GROUP self, bool aLocked)"""
15997 return _pcbnew.PCB_GROUP_SetLocked(self, aLocked)
15998
15999 def Clone(self) -> "EDA_ITEM *":
16000 r"""Clone(PCB_GROUP self) -> EDA_ITEM"""
16001 return _pcbnew.PCB_GROUP_Clone(self)
16002
16003 def DeepClone(self) -> "PCB_GROUP *":
16004 r"""DeepClone(PCB_GROUP self) -> PCB_GROUP"""
16005 return _pcbnew.PCB_GROUP_DeepClone(self)
16006
16007 def DeepDuplicate(self) -> "PCB_GROUP *":
16008 r"""DeepDuplicate(PCB_GROUP self) -> PCB_GROUP"""
16009 return _pcbnew.PCB_GROUP_DeepDuplicate(self)
16010
16011 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
16012 r"""SwapData(PCB_GROUP self, BOARD_ITEM aImage)"""
16013 return _pcbnew.PCB_GROUP_SwapData(self, aImage)
16014
16015 def IsOnLayer(self, aLayer: "PCB_LAYER_ID") -> "bool":
16016 r"""IsOnLayer(PCB_GROUP self, PCB_LAYER_ID aLayer) -> bool"""
16017 return _pcbnew.PCB_GROUP_IsOnLayer(self, aLayer)
16018
16019 def HitTest(self, *args) -> "bool":
16020 r"""
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
16023 """
16024 return _pcbnew.PCB_GROUP_HitTest(self, *args)
16025
16026 def GetBoundingBox(self) -> "EDA_RECT const":
16027 r"""GetBoundingBox(PCB_GROUP self) -> EDA_RECT"""
16028 return _pcbnew.PCB_GROUP_GetBoundingBox(self)
16029
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)
16033
16034 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
16035 r"""ViewGetLayers(PCB_GROUP self, int [] aLayers, int & aCount)"""
16036 return _pcbnew.PCB_GROUP_ViewGetLayers(self, aLayers, aCount)
16037
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)
16041
16042 def Move(self, aMoveVector: "wxPoint") -> "void":
16043 r"""Move(PCB_GROUP self, wxPoint aMoveVector)"""
16044 return _pcbnew.PCB_GROUP_Move(self, aMoveVector)
16045
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)
16049
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)
16053
16054 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
16055 r"""GetSelectMenuText(PCB_GROUP self, EDA_UNITS aUnits) -> wxString"""
16056 return _pcbnew.PCB_GROUP_GetSelectMenuText(self, aUnits)
16057
16058 def GetMenuImage(self) -> "BITMAPS":
16059 r"""GetMenuImage(PCB_GROUP self) -> BITMAPS"""
16060 return _pcbnew.PCB_GROUP_GetMenuImage(self)
16061
16062 def AddChildrenToCommit(self, aCommit: "BOARD_COMMIT &") -> "void":
16063 r"""AddChildrenToCommit(PCB_GROUP self, BOARD_COMMIT & aCommit)"""
16064 return _pcbnew.PCB_GROUP_AddChildrenToCommit(self, aCommit)
16065
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)
16069
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)
16073
16074 def RunOnDescendants(self, aFunction: "std::function< void (BOARD_ITEM *) > const &") -> "void":
16075 r"""RunOnDescendants(PCB_GROUP self, std::function< void (BOARD_ITEM *) > const & aFunction)"""
16076 return _pcbnew.PCB_GROUP_RunOnDescendants(self, aFunction)
16077
16078 @staticmethod
16079 def IsGroupableType(aType: "KICAD_T") -> "bool":
16080 r"""IsGroupableType(KICAD_T aType) -> bool"""
16081 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
16082 __swig_destroy__ = _pcbnew.delete_PCB_GROUP
16083
16084# Register PCB_GROUP in _pcbnew:
16085_pcbnew.PCB_GROUP_swigregister(PCB_GROUP)
16086
16087def PCB_GROUP_ClassOf(aItem: "EDA_ITEM") -> "bool":
16088 r"""PCB_GROUP_ClassOf(EDA_ITEM aItem) -> bool"""
16089 return _pcbnew.PCB_GROUP_ClassOf(aItem)
16090
16091def PCB_GROUP_TopLevelGroup(aItem: "BOARD_ITEM", aScope: "PCB_GROUP", isFootprintEditor: "bool") -> "PCB_GROUP *":
16092 r"""PCB_GROUP_TopLevelGroup(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> PCB_GROUP"""
16093 return _pcbnew.PCB_GROUP_TopLevelGroup(aItem, aScope, isFootprintEditor)
16094
16095def PCB_GROUP_WithinScope(aItem: "BOARD_ITEM", aScope: "PCB_GROUP", isFootprintEditor: "bool") -> "bool":
16096 r"""PCB_GROUP_WithinScope(BOARD_ITEM aItem, PCB_GROUP aScope, bool isFootprintEditor) -> bool"""
16097 return _pcbnew.PCB_GROUP_WithinScope(aItem, aScope, isFootprintEditor)
16098
16099def PCB_GROUP_IsGroupableType(aType: "KICAD_T") -> "bool":
16100 r"""PCB_GROUP_IsGroupableType(KICAD_T aType) -> bool"""
16101 return _pcbnew.PCB_GROUP_IsGroupableType(aType)
16102
16104 r"""Proxy of C++ std::vector< VIA_DIMENSION > class."""
16105
16106 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
16107 __repr__ = _swig_repr
16108
16109 def iterator(self) -> "swig::SwigPyIterator *":
16110 r"""iterator(VIA_DIMENSION_Vector self) -> SwigPyIterator"""
16111 return _pcbnew.VIA_DIMENSION_Vector_iterator(self)
16112 def __iter__(self):
16113 return self.iterator()
16114
16115 def __nonzero__(self) -> "bool":
16116 r"""__nonzero__(VIA_DIMENSION_Vector self) -> bool"""
16117 return _pcbnew.VIA_DIMENSION_Vector___nonzero__(self)
16118
16119 def __bool__(self) -> "bool":
16120 r"""__bool__(VIA_DIMENSION_Vector self) -> bool"""
16121 return _pcbnew.VIA_DIMENSION_Vector___bool__(self)
16122
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)
16126
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)
16130
16131 def __setslice__(self, *args) -> "void":
16132 r"""
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)
16135 """
16136 return _pcbnew.VIA_DIMENSION_Vector___setslice__(self, *args)
16137
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)
16141
16142 def __delitem__(self, *args) -> "void":
16143 r"""
16144 __delitem__(VIA_DIMENSION_Vector self, std::vector< VIA_DIMENSION >::difference_type i)
16145 __delitem__(VIA_DIMENSION_Vector self, PySliceObject * slice)
16146 """
16147 return _pcbnew.VIA_DIMENSION_Vector___delitem__(self, *args)
16148
16149 def __getitem__(self, *args) -> "std::vector< VIA_DIMENSION >::value_type const &":
16150 r"""
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
16153 """
16154 return _pcbnew.VIA_DIMENSION_Vector___getitem__(self, *args)
16155
16156 def __setitem__(self, *args) -> "void":
16157 r"""
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)
16161 """
16162 return _pcbnew.VIA_DIMENSION_Vector___setitem__(self, *args)
16163
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)
16167
16168 def append(self, x: "VIA_DIMENSION") -> "void":
16169 r"""append(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
16170 return _pcbnew.VIA_DIMENSION_Vector_append(self, x)
16171
16172 def empty(self) -> "bool":
16173 r"""empty(VIA_DIMENSION_Vector self) -> bool"""
16174 return _pcbnew.VIA_DIMENSION_Vector_empty(self)
16175
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)
16179
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)
16183
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)
16187
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)
16191
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)
16195
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)
16199
16200 def clear(self) -> "void":
16201 r"""clear(VIA_DIMENSION_Vector self)"""
16202 return _pcbnew.VIA_DIMENSION_Vector_clear(self)
16203
16204 def get_allocator(self) -> "std::vector< VIA_DIMENSION >::allocator_type":
16205 r"""get_allocator(VIA_DIMENSION_Vector self) -> std::vector< VIA_DIMENSION >::allocator_type"""
16206 return _pcbnew.VIA_DIMENSION_Vector_get_allocator(self)
16207
16208 def pop_back(self) -> "void":
16209 r"""pop_back(VIA_DIMENSION_Vector self)"""
16210 return _pcbnew.VIA_DIMENSION_Vector_pop_back(self)
16211
16212 def erase(self, *args) -> "std::vector< VIA_DIMENSION >::iterator":
16213 r"""
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
16216 """
16217 return _pcbnew.VIA_DIMENSION_Vector_erase(self, *args)
16218
16219 def __init__(self, *args):
16220 r"""
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
16225 """
16226 _pcbnew.VIA_DIMENSION_Vector_swiginit(self, _pcbnew.new_VIA_DIMENSION_Vector(*args))
16227
16228 def push_back(self, x: "VIA_DIMENSION") -> "void":
16229 r"""push_back(VIA_DIMENSION_Vector self, VIA_DIMENSION x)"""
16230 return _pcbnew.VIA_DIMENSION_Vector_push_back(self, x)
16231
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)
16235
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)
16239
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)
16243
16244 def resize(self, *args) -> "void":
16245 r"""
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)
16248 """
16249 return _pcbnew.VIA_DIMENSION_Vector_resize(self, *args)
16250
16251 def insert(self, *args) -> "void":
16252 r"""
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)
16255 """
16256 return _pcbnew.VIA_DIMENSION_Vector_insert(self, *args)
16257
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)
16261
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
16266
16267# Register VIA_DIMENSION_Vector in _pcbnew:
16268_pcbnew.VIA_DIMENSION_Vector_swigregister(VIA_DIMENSION_Vector)
16269
16270LT_UNDEFINED = _pcbnew.LT_UNDEFINED
16271
16272LT_SIGNAL = _pcbnew.LT_SIGNAL
16273
16274LT_POWER = _pcbnew.LT_POWER
16275
16276LT_MIXED = _pcbnew.LT_MIXED
16277
16278LT_JUMPER = _pcbnew.LT_JUMPER
16279
16281 r"""Proxy of C++ LAYER class."""
16282
16283 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
16284 __repr__ = _swig_repr
16285
16286 def __init__(self):
16287 r"""__init__(LAYER self) -> LAYER"""
16288 _pcbnew.LAYER_swiginit(self, _pcbnew.new_LAYER())
16289
16290 def clear(self) -> "void":
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""")
16298
16299 @staticmethod
16300 def ShowType(aType: "LAYER_T") -> "char const *":
16301 r"""ShowType(LAYER_T aType) -> char const *"""
16302 return _pcbnew.LAYER_ShowType(aType)
16303
16304 @staticmethod
16305 def ParseType(aType: "char const *") -> "LAYER_T":
16306 r"""ParseType(char const * aType) -> LAYER_T"""
16307 return _pcbnew.LAYER_ParseType(aType)
16308 __swig_destroy__ = _pcbnew.delete_LAYER
16309
16310# Register LAYER in _pcbnew:
16311_pcbnew.LAYER_swigregister(LAYER)
16312
16313def LAYER_ShowType(aType: "LAYER_T") -> "char const *":
16314 r"""LAYER_ShowType(LAYER_T aType) -> char const *"""
16315 return _pcbnew.LAYER_ShowType(aType)
16316
16317def LAYER_ParseType(aType: "char const *") -> "LAYER_T":
16318 r"""LAYER_ParseType(char const * aType) -> LAYER_T"""
16319 return _pcbnew.LAYER_ParseType(aType)
16320
16322 r"""Proxy of C++ HIGH_LIGHT_INFO class."""
16323
16324 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
16325
16326 def __init__(self, *args, **kwargs):
16327 raise AttributeError("No constructor defined")
16328 __repr__ = _swig_repr
16329 __swig_destroy__ = _pcbnew.delete_HIGH_LIGHT_INFO
16330
16331# Register HIGH_LIGHT_INFO in _pcbnew:
16332_pcbnew.HIGH_LIGHT_INFO_swigregister(HIGH_LIGHT_INFO)
16333
16335 r"""Proxy of C++ BOARD_LISTENER class."""
16336
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
16340
16341 def OnBoardItemAdded(self, aBoard: "BOARD", aBoardItem: "BOARD_ITEM") -> "void":
16342 r"""OnBoardItemAdded(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
16343 return _pcbnew.BOARD_LISTENER_OnBoardItemAdded(self, aBoard, aBoardItem)
16344
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)
16348
16349 def OnBoardItemRemoved(self, aBoard: "BOARD", aBoardItem: "BOARD_ITEM") -> "void":
16350 r"""OnBoardItemRemoved(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
16351 return _pcbnew.BOARD_LISTENER_OnBoardItemRemoved(self, aBoard, aBoardItem)
16352
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)
16356
16357 def OnBoardNetSettingsChanged(self, aBoard: "BOARD") -> "void":
16358 r"""OnBoardNetSettingsChanged(BOARD_LISTENER self, BOARD aBoard)"""
16359 return _pcbnew.BOARD_LISTENER_OnBoardNetSettingsChanged(self, aBoard)
16360
16361 def OnBoardItemChanged(self, aBoard: "BOARD", aBoardItem: "BOARD_ITEM") -> "void":
16362 r"""OnBoardItemChanged(BOARD_LISTENER self, BOARD aBoard, BOARD_ITEM aBoardItem)"""
16363 return _pcbnew.BOARD_LISTENER_OnBoardItemChanged(self, aBoard, aBoardItem)
16364
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)
16368
16369 def OnBoardHighlightNetChanged(self, aBoard: "BOARD") -> "void":
16370 r"""OnBoardHighlightNetChanged(BOARD_LISTENER self, BOARD aBoard)"""
16371 return _pcbnew.BOARD_LISTENER_OnBoardHighlightNetChanged(self, aBoard)
16372
16373 def __init__(self):
16374 r"""__init__(BOARD_LISTENER self) -> BOARD_LISTENER"""
16375 _pcbnew.BOARD_LISTENER_swiginit(self, _pcbnew.new_BOARD_LISTENER())
16376
16377# Register BOARD_LISTENER in _pcbnew:
16378_pcbnew.BOARD_LISTENER_swigregister(BOARD_LISTENER)
16379
16380BOARD_USE_NORMAL = _pcbnew.BOARD_USE_NORMAL
16381
16382BOARD_USE_FPHOLDER = _pcbnew.BOARD_USE_FPHOLDER
16383
16385 r"""Proxy of C++ BOARD class."""
16386
16387 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
16388
16389 def __init__(self, *args, **kwargs):
16390 raise AttributeError("No constructor defined")
16391 __repr__ = _swig_repr
16392
16393 @staticmethod
16394 def ClassOf(aItem: "EDA_ITEM") -> "bool":
16395 r"""ClassOf(EDA_ITEM aItem) -> bool"""
16396 return _pcbnew.BOARD_ClassOf(aItem)
16397
16398 def SetBoardUse(self, aUse: "BOARD_USE") -> "void":
16399 r"""SetBoardUse(BOARD self, BOARD_USE aUse)"""
16400 return _pcbnew.BOARD_SetBoardUse(self, aUse)
16401
16402 def GetBoardUse(self) -> "BOARD_USE":
16403 r"""GetBoardUse(BOARD self) -> BOARD_USE"""
16404 return _pcbnew.BOARD_GetBoardUse(self)
16405
16406 def IncrementTimeStamp(self) -> "void":
16407 r"""IncrementTimeStamp(BOARD self)"""
16408 return _pcbnew.BOARD_IncrementTimeStamp(self)
16409
16410 def GetTimeStamp(self) -> "int":
16411 r"""GetTimeStamp(BOARD self) -> int"""
16412 return _pcbnew.BOARD_GetTimeStamp(self)
16413
16414 def IsFootprintHolder(self) -> "bool":
16415 r"""IsFootprintHolder(BOARD self) -> bool"""
16416 return _pcbnew.BOARD_IsFootprintHolder(self)
16417
16418 def SetFileName(self, aFileName: "wxString") -> "void":
16419 r"""SetFileName(BOARD self, wxString aFileName)"""
16420 return _pcbnew.BOARD_SetFileName(self, aFileName)
16421
16422 def GetFileName(self) -> "wxString const &":
16423 r"""GetFileName(BOARD self) -> wxString"""
16424 return _pcbnew.BOARD_GetFileName(self)
16425
16426 def Tracks(self, *args) -> "TRACKS const &":
16427 r"""
16428 Tracks(BOARD self) -> TRACKS
16429 Tracks(BOARD self) -> TRACKS
16430 """
16431 return _pcbnew.BOARD_Tracks(self, *args)
16432
16433 def Footprints(self, *args) -> "FOOTPRINTS const &":
16434 r"""
16435 Footprints(BOARD self) -> FOOTPRINTS
16436 Footprints(BOARD self) -> FOOTPRINTS
16437 """
16438 return _pcbnew.BOARD_Footprints(self, *args)
16439
16440 def Drawings(self, *args) -> "DRAWINGS const &":
16441 r"""
16442 Drawings(BOARD self) -> DRAWINGS
16443 Drawings(BOARD self) -> DRAWINGS
16444 """
16445 return _pcbnew.BOARD_Drawings(self, *args)
16446
16447 def Zones(self, *args) -> "ZONES const &":
16448 r"""
16449 Zones(BOARD self) -> ZONES
16450 Zones(BOARD self) -> ZONES
16451 """
16452 return _pcbnew.BOARD_Zones(self, *args)
16453
16454 def Markers(self, *args) -> "MARKERS const &":
16455 r"""
16456 Markers(BOARD self) -> MARKERS
16457 Markers(BOARD self) -> MARKERS
16458 """
16459 return _pcbnew.BOARD_Markers(self, *args)
16460
16461 def Groups(self, *args) -> "GROUPS const &":
16462 r"""
16463 Groups(BOARD self) -> GROUPS
16464 Groups(BOARD self) -> GROUPS
16465 """
16466 return _pcbnew.BOARD_Groups(self, *args)
16467
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)
16471
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)
16475
16476 def SetProperties(self, aProps: "MAP_STRING_STRING") -> "void":
16477 r"""SetProperties(BOARD self, MAP_STRING_STRING aProps)"""
16478 return _pcbnew.BOARD_SetProperties(self, aProps)
16479
16480 def ResolveTextVar(self, token: "wxString", aDepth: "int") -> "bool":
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
16489
16490 def GetPosition(self) -> "wxPoint":
16491 r"""GetPosition(BOARD self) -> wxPoint"""
16492 return _pcbnew.BOARD_GetPosition(self)
16493
16494 def SetPosition(self, aPos: "wxPoint") -> "void":
16495 r"""SetPosition(BOARD self, wxPoint aPos)"""
16496 return _pcbnew.BOARD_SetPosition(self, aPos)
16497
16498 def GetFocusPosition(self) -> "wxPoint const":
16499 r"""GetFocusPosition(BOARD self) -> wxPoint"""
16500 return _pcbnew.BOARD_GetFocusPosition(self)
16501
16502 def IsEmpty(self) -> "bool":
16503 r"""IsEmpty(BOARD self) -> bool"""
16504 return _pcbnew.BOARD_IsEmpty(self)
16505
16506 def Move(self, aMoveVector: "wxPoint") -> "void":
16507 r"""Move(BOARD self, wxPoint aMoveVector)"""
16508 return _pcbnew.BOARD_Move(self, aMoveVector)
16509
16510 def SetFileFormatVersionAtLoad(self, aVersion: "int") -> "void":
16511 r"""SetFileFormatVersionAtLoad(BOARD self, int aVersion)"""
16512 return _pcbnew.BOARD_SetFileFormatVersionAtLoad(self, aVersion)
16513
16514 def GetFileFormatVersionAtLoad(self) -> "int":
16515 r"""GetFileFormatVersionAtLoad(BOARD self) -> int"""
16516 return _pcbnew.BOARD_GetFileFormatVersionAtLoad(self)
16517
16518 def SetGenerator(self, aGenerator: "wxString") -> "void":
16519 r"""SetGenerator(BOARD self, wxString aGenerator)"""
16520 return _pcbnew.BOARD_SetGenerator(self, aGenerator)
16521
16522 def GetGenerator(self) -> "wxString const &":
16523 r"""GetGenerator(BOARD self) -> wxString"""
16524 return _pcbnew.BOARD_GetGenerator(self)
16525
16526 def AddNative(self, *args) -> "void":
16527 r"""AddNative(BOARD self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT)"""
16528 return _pcbnew.BOARD_AddNative(self, *args)
16529
16530 def RemoveNative(self, *args) -> "void":
16531 r"""RemoveNative(BOARD self, BOARD_ITEM aBoardItem, REMOVE_MODE aMode=NORMAL)"""
16532 return _pcbnew.BOARD_RemoveNative(self, *args)
16533
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)
16537
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)
16541
16542 def GetFirstFootprint(self) -> "FOOTPRINT *":
16543 r"""GetFirstFootprint(BOARD self) -> FOOTPRINT"""
16544 return _pcbnew.BOARD_GetFirstFootprint(self)
16545
16546 def DeleteAllFootprints(self) -> "void":
16547 r"""DeleteAllFootprints(BOARD self)"""
16548 return _pcbnew.BOARD_DeleteAllFootprints(self)
16549
16550 def GetItem(self, aID: "KIID") -> "BOARD_ITEM *":
16551 r"""GetItem(BOARD self, KIID aID) -> BOARD_ITEM"""
16552 return _pcbnew.BOARD_GetItem(self, aID)
16553
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)
16557
16558 def ConvertCrossReferencesToKIIDs(self, aSource: "wxString") -> "wxString":
16559 r"""ConvertCrossReferencesToKIIDs(BOARD self, wxString aSource) -> wxString"""
16560 return _pcbnew.BOARD_ConvertCrossReferencesToKIIDs(self, aSource)
16561
16562 def ConvertKIIDsToCrossReferences(self, aSource: "wxString") -> "wxString":
16563 r"""ConvertKIIDsToCrossReferences(BOARD self, wxString aSource) -> wxString"""
16564 return _pcbnew.BOARD_ConvertKIIDsToCrossReferences(self, aSource)
16565
16566 def GetConnectivity(self) -> "std::shared_ptr< CONNECTIVITY_DATA >":
16567 r"""GetConnectivity(BOARD self) -> std::shared_ptr< CONNECTIVITY_DATA >"""
16568 return _pcbnew.BOARD_GetConnectivity(self)
16569
16570 def BuildConnectivity(self, aReporter: "PROGRESS_REPORTER *"=None) -> "void":
16571 r"""BuildConnectivity(BOARD self, PROGRESS_REPORTER * aReporter=None)"""
16572 return _pcbnew.BOARD_BuildConnectivity(self, aReporter)
16573
16574 def DeleteMARKERs(self, *args) -> "void":
16575 r"""
16576 DeleteMARKERs(BOARD self)
16577 DeleteMARKERs(BOARD self, bool aWarningsAndErrors, bool aExclusions)
16578 """
16579 return _pcbnew.BOARD_DeleteMARKERs(self, *args)
16580
16581 def GetProject(self) -> "PROJECT *":
16582 r"""GetProject(BOARD self) -> PROJECT *"""
16583 return _pcbnew.BOARD_GetProject(self)
16584
16585 def SetProject(self, aProject: "PROJECT *") -> "void":
16586 r"""SetProject(BOARD self, PROJECT * aProject)"""
16587 return _pcbnew.BOARD_SetProject(self, aProject)
16588
16589 def ClearProject(self) -> "void":
16590 r"""ClearProject(BOARD self)"""
16591 return _pcbnew.BOARD_ClearProject(self)
16592
16593 def ResolveDRCExclusions(self) -> "std::vector< PCB_MARKER *,std::allocator< PCB_MARKER * > >":
16594 r"""ResolveDRCExclusions(BOARD self) -> MARKERS"""
16595 return _pcbnew.BOARD_ResolveDRCExclusions(self)
16596
16597 def ResetNetHighLight(self) -> "void":
16598 r"""ResetNetHighLight(BOARD self)"""
16599 return _pcbnew.BOARD_ResetNetHighLight(self)
16600
16601 def GetHighLightNetCodes(self) -> "std::set< int,std::less< int >,std::allocator< int > > const &":
16602 r"""GetHighLightNetCodes(BOARD self) -> std::set< int,std::less< int >,std::allocator< int > > const &"""
16603 return _pcbnew.BOARD_GetHighLightNetCodes(self)
16604
16605 def SetHighLightNet(self, aNetCode: "int", aMulti: "bool"=False) -> "void":
16606 r"""SetHighLightNet(BOARD self, int aNetCode, bool aMulti=False)"""
16607 return _pcbnew.BOARD_SetHighLightNet(self, aNetCode, aMulti)
16608
16609 def IsHighLightNetON(self) -> "bool":
16610 r"""IsHighLightNetON(BOARD self) -> bool"""
16611 return _pcbnew.BOARD_IsHighLightNetON(self)
16612
16613 def HighLightON(self, aValue: "bool"=True) -> "void":
16614 r"""HighLightON(BOARD self, bool aValue=True)"""
16615 return _pcbnew.BOARD_HighLightON(self, aValue)
16616
16617 def HighLightOFF(self) -> "void":
16618 r"""HighLightOFF(BOARD self)"""
16619 return _pcbnew.BOARD_HighLightOFF(self)
16620
16621 def GetCopperLayerCount(self) -> "int":
16622 r"""GetCopperLayerCount(BOARD self) -> int"""
16623 return _pcbnew.BOARD_GetCopperLayerCount(self)
16624
16625 def SetCopperLayerCount(self, aCount: "int") -> "void":
16626 r"""SetCopperLayerCount(BOARD self, int aCount)"""
16627 return _pcbnew.BOARD_SetCopperLayerCount(self, aCount)
16628
16629 def GetEnabledLayers(self) -> "LSET":
16630 r"""GetEnabledLayers(BOARD self) -> LSET"""
16631 return _pcbnew.BOARD_GetEnabledLayers(self)
16632
16633 def SetEnabledLayers(self, aLayerMask: "LSET") -> "void":
16634 r"""SetEnabledLayers(BOARD self, LSET aLayerMask)"""
16635 return _pcbnew.BOARD_SetEnabledLayers(self, aLayerMask)
16636
16637 def IsLayerEnabled(self, aLayer: "PCB_LAYER_ID") -> "bool":
16638 r"""IsLayerEnabled(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
16639 return _pcbnew.BOARD_IsLayerEnabled(self, aLayer)
16640
16641 def IsLayerVisible(self, aLayer: "PCB_LAYER_ID") -> "bool":
16642 r"""IsLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
16643 return _pcbnew.BOARD_IsLayerVisible(self, aLayer)
16644
16645 def GetVisibleLayers(self) -> "LSET":
16646 r"""GetVisibleLayers(BOARD self) -> LSET"""
16647 return _pcbnew.BOARD_GetVisibleLayers(self)
16648
16649 def SetVisibleLayers(self, aLayerMask: "LSET") -> "void":
16650 r"""SetVisibleLayers(BOARD self, LSET aLayerMask)"""
16651 return _pcbnew.BOARD_SetVisibleLayers(self, aLayerMask)
16652
16653 def GetVisibleElements(self) -> "GAL_SET":
16654 r"""GetVisibleElements(BOARD self) -> GAL_SET"""
16655 return _pcbnew.BOARD_GetVisibleElements(self)
16656
16657 def SetVisibleElements(self, aMask: "GAL_SET") -> "void":
16658 r"""SetVisibleElements(BOARD self, GAL_SET aMask)"""
16659 return _pcbnew.BOARD_SetVisibleElements(self, aMask)
16660
16661 def SetVisibleAlls(self) -> "void":
16662 r"""SetVisibleAlls(BOARD self)"""
16663 return _pcbnew.BOARD_SetVisibleAlls(self)
16664
16665 def IsElementVisible(self, aLayer: "GAL_LAYER_ID") -> "bool":
16666 r"""IsElementVisible(BOARD self, GAL_LAYER_ID aLayer) -> bool"""
16667 return _pcbnew.BOARD_IsElementVisible(self, aLayer)
16668
16669 def SetElementVisibility(self, aLayer: "GAL_LAYER_ID", aNewState: "bool") -> "void":
16670 r"""SetElementVisibility(BOARD self, GAL_LAYER_ID aLayer, bool aNewState)"""
16671 return _pcbnew.BOARD_SetElementVisibility(self, aLayer, aNewState)
16672
16673 def IsFootprintLayerVisible(self, aLayer: "PCB_LAYER_ID") -> "bool":
16674 r"""IsFootprintLayerVisible(BOARD self, PCB_LAYER_ID aLayer) -> bool"""
16675 return _pcbnew.BOARD_IsFootprintLayerVisible(self, aLayer)
16676
16677 def GetDesignSettings(self) -> "BOARD_DESIGN_SETTINGS &":
16678 r"""GetDesignSettings(BOARD self) -> BOARD_DESIGN_SETTINGS"""
16679 return _pcbnew.BOARD_GetDesignSettings(self)
16680
16681 def GetZoneSettings(self) -> "ZONE_SETTINGS const &":
16682 r"""GetZoneSettings(BOARD self) -> ZONE_SETTINGS"""
16683 return _pcbnew.BOARD_GetZoneSettings(self)
16684
16685 def SetZoneSettings(self, aSettings: "ZONE_SETTINGS") -> "void":
16686 r"""SetZoneSettings(BOARD self, ZONE_SETTINGS aSettings)"""
16687 return _pcbnew.BOARD_SetZoneSettings(self, aSettings)
16688
16689 def GetPageSettings(self) -> "PAGE_INFO const &":
16690 r"""GetPageSettings(BOARD self) -> PAGE_INFO const &"""
16691 return _pcbnew.BOARD_GetPageSettings(self)
16692
16693 def SetPageSettings(self, aPageSettings: "PAGE_INFO const &") -> "void":
16694 r"""SetPageSettings(BOARD self, PAGE_INFO const & aPageSettings)"""
16695 return _pcbnew.BOARD_SetPageSettings(self, aPageSettings)
16696
16697 def GetPlotOptions(self) -> "PCB_PLOT_PARAMS const &":
16698 r"""GetPlotOptions(BOARD self) -> PCB_PLOT_PARAMS"""
16699 return _pcbnew.BOARD_GetPlotOptions(self)
16700
16701 def SetPlotOptions(self, aOptions: "PCB_PLOT_PARAMS") -> "void":
16702 r"""SetPlotOptions(BOARD self, PCB_PLOT_PARAMS aOptions)"""
16703 return _pcbnew.BOARD_SetPlotOptions(self, aOptions)
16704
16705 def GetTitleBlock(self, *args) -> "TITLE_BLOCK const &":
16706 r"""
16707 GetTitleBlock(BOARD self) -> TITLE_BLOCK
16708 GetTitleBlock(BOARD self) -> TITLE_BLOCK
16709 """
16710 return _pcbnew.BOARD_GetTitleBlock(self, *args)
16711
16712 def SetTitleBlock(self, aTitleBlock: "TITLE_BLOCK") -> "void":
16713 r"""SetTitleBlock(BOARD self, TITLE_BLOCK aTitleBlock)"""
16714 return _pcbnew.BOARD_SetTitleBlock(self, aTitleBlock)
16715
16716 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
16717 r"""GetSelectMenuText(BOARD self, EDA_UNITS aUnits) -> wxString"""
16718 return _pcbnew.BOARD_GetSelectMenuText(self, aUnits)
16719
16720 def GetBoardPolygonOutlines(self, aOutlines: "SHAPE_POLY_SET", aErrorHandler: "OUTLINE_ERROR_HANDLER *"=None) -> "bool":
16721 r"""GetBoardPolygonOutlines(BOARD self, SHAPE_POLY_SET aOutlines, OUTLINE_ERROR_HANDLER * aErrorHandler=None) -> bool"""
16722 return _pcbnew.BOARD_GetBoardPolygonOutlines(self, aOutlines, aErrorHandler)
16723
16724 def ConvertBrdLayerToPolygonalContours(self, aLayer: "PCB_LAYER_ID", aOutlines: "SHAPE_POLY_SET") -> "void":
16725 r"""ConvertBrdLayerToPolygonalContours(BOARD self, PCB_LAYER_ID aLayer, SHAPE_POLY_SET aOutlines)"""
16726 return _pcbnew.BOARD_ConvertBrdLayerToPolygonalContours(self, aLayer, aOutlines)
16727
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)
16731
16732 def GetLayerName(self, aLayer: "PCB_LAYER_ID") -> "wxString const":
16733 r"""GetLayerName(BOARD self, PCB_LAYER_ID aLayer) -> wxString"""
16734 return _pcbnew.BOARD_GetLayerName(self, aLayer)
16735
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)
16739
16740 @staticmethod
16741 def GetStandardLayerName(aLayerId: "PCB_LAYER_ID") -> "wxString":
16742 r"""GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
16743 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
16744
16745 def SetLayerDescr(self, aIndex: "PCB_LAYER_ID", aLayer: "LAYER") -> "bool":
16746 r"""SetLayerDescr(BOARD self, PCB_LAYER_ID aIndex, LAYER aLayer) -> bool"""
16747 return _pcbnew.BOARD_SetLayerDescr(self, aIndex, aLayer)
16748
16749 def GetLayerType(self, aLayer: "PCB_LAYER_ID") -> "LAYER_T":
16750 r"""GetLayerType(BOARD self, PCB_LAYER_ID aLayer) -> LAYER_T"""
16751 return _pcbnew.BOARD_GetLayerType(self, aLayer)
16752
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)
16756
16757 def GetNodesCount(self, aNet: "int"=-1) -> "unsigned int":
16758 r"""GetNodesCount(BOARD self, int aNet=-1) -> unsigned int"""
16759 return _pcbnew.BOARD_GetNodesCount(self, aNet)
16760
16761 def GetUnconnectedNetCount(self) -> "unsigned int":
16762 r"""GetUnconnectedNetCount(BOARD self) -> unsigned int"""
16763 return _pcbnew.BOARD_GetUnconnectedNetCount(self)
16764
16765 def GetPads(self) -> "std::vector< PAD *,std::allocator< PAD * > > const":
16766 r"""GetPads(BOARD self) -> PADS_VEC"""
16767 return _pcbnew.BOARD_GetPads(self)
16768
16769 def BuildListOfNets(self) -> "void":
16770 r"""BuildListOfNets(BOARD self)"""
16771 return _pcbnew.BOARD_BuildListOfNets(self)
16772
16773 def FindNet(self, *args) -> "NETINFO_ITEM *":
16774 r"""
16775 FindNet(BOARD self, int aNetcode) -> NETINFO_ITEM
16776 FindNet(BOARD self, wxString aNetname) -> NETINFO_ITEM
16777 """
16778 return _pcbnew.BOARD_FindNet(self, *args)
16779
16780 def GetNetInfo(self, *args) -> "NETINFO_LIST &":
16781 r"""
16782 GetNetInfo(BOARD self) -> NETINFO_LIST
16783 GetNetInfo(BOARD self) -> NETINFO_LIST
16784 """
16785 return _pcbnew.BOARD_GetNetInfo(self, *args)
16786
16787 def GetNetCount(self) -> "unsigned int":
16788 r"""GetNetCount(BOARD self) -> unsigned int"""
16789 return _pcbnew.BOARD_GetNetCount(self)
16790
16791 def ComputeBoundingBox(self, aBoardEdgesOnly: "bool"=False) -> "EDA_RECT":
16792 r"""ComputeBoundingBox(BOARD self, bool aBoardEdgesOnly=False) -> EDA_RECT"""
16793 return _pcbnew.BOARD_ComputeBoundingBox(self, aBoardEdgesOnly)
16794
16795 def GetBoundingBox(self) -> "EDA_RECT const":
16796 r"""GetBoundingBox(BOARD self) -> EDA_RECT"""
16797 return _pcbnew.BOARD_GetBoundingBox(self)
16798
16799 def GetBoardEdgesBoundingBox(self) -> "EDA_RECT const":
16800 r"""GetBoardEdgesBoundingBox(BOARD self) -> EDA_RECT"""
16801 return _pcbnew.BOARD_GetBoardEdgesBoundingBox(self)
16802
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)
16806
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)
16810
16811 def FindFootprintByReference(self, aReference: "wxString") -> "FOOTPRINT *":
16812 r"""FindFootprintByReference(BOARD self, wxString aReference) -> FOOTPRINT"""
16813 return _pcbnew.BOARD_FindFootprintByReference(self, aReference)
16814
16815 def FindFootprintByPath(self, aPath: "KIID_PATH") -> "FOOTPRINT *":
16816 r"""FindFootprintByPath(BOARD self, KIID_PATH aPath) -> FOOTPRINT"""
16817 return _pcbnew.BOARD_FindFootprintByPath(self, aPath)
16818
16819 def GetNetClassAssignmentCandidates(self) -> "std::vector< wxString,std::allocator< wxString > >":
16820 r"""GetNetClassAssignmentCandidates(BOARD self) -> std::vector< wxString,std::allocator< wxString > >"""
16821 return _pcbnew.BOARD_GetNetClassAssignmentCandidates(self)
16822
16823 def SynchronizeNetsAndNetClasses(self) -> "void":
16824 r"""SynchronizeNetsAndNetClasses(BOARD self)"""
16825 return _pcbnew.BOARD_SynchronizeNetsAndNetClasses(self)
16826
16827 def SynchronizeProperties(self) -> "void":
16828 r"""SynchronizeProperties(BOARD self)"""
16829 return _pcbnew.BOARD_SynchronizeProperties(self)
16830
16831 def GetClass(self) -> "wxString":
16832 r"""GetClass(BOARD self) -> wxString"""
16833 return _pcbnew.BOARD_GetClass(self)
16834
16836 r"""SetAreasNetCodesFromNetNames(BOARD self) -> int"""
16837 return _pcbnew.BOARD_SetAreasNetCodesFromNetNames(self)
16838
16839 def GetArea(self, index: "int") -> "ZONE *":
16840 r"""GetArea(BOARD self, int index) -> ZONE"""
16841 return _pcbnew.BOARD_GetArea(self, index)
16842
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)
16846
16847 def GetAreaCount(self) -> "int":
16848 r"""GetAreaCount(BOARD self) -> int"""
16849 return _pcbnew.BOARD_GetAreaCount(self)
16850
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)
16854
16855 def TestZoneIntersection(self, aZone1: "ZONE", aZone2: "ZONE") -> "bool":
16856 r"""TestZoneIntersection(BOARD self, ZONE aZone1, ZONE aZone2) -> bool"""
16857 return _pcbnew.BOARD_TestZoneIntersection(self, aZone1, aZone2)
16858
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)
16862
16863 def GetPad(self, *args) -> "PAD *":
16864 r"""
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
16869 """
16870 return _pcbnew.BOARD_GetPad(self, *args)
16871
16872 def PadDelete(self, aPad: "PAD") -> "void":
16873 r"""PadDelete(BOARD self, PAD aPad)"""
16874 return _pcbnew.BOARD_PadDelete(self, aPad)
16875
16876 def GetSortedPadListByXthenYCoord(self, aVector: "PADS_VEC", aNetCode: "int"=-1) -> "void":
16877 r"""GetSortedPadListByXthenYCoord(BOARD self, PADS_VEC aVector, int aNetCode=-1)"""
16878 return _pcbnew.BOARD_GetSortedPadListByXthenYCoord(self, aVector, aNetCode)
16879
16880 def GetTrackLength(self, aTrack: "PCB_TRACK") -> "std::tuple< int,double,double >":
16881 r"""GetTrackLength(BOARD self, PCB_TRACK aTrack) -> std::tuple< int,double,double >"""
16882 return _pcbnew.BOARD_GetTrackLength(self, aTrack)
16883
16884 def TracksInNet(self, aNetCode: "int") -> "TRACKS":
16885 r"""TracksInNet(BOARD self, int aNetCode) -> TRACKS"""
16886 return _pcbnew.BOARD_TracksInNet(self, aNetCode)
16887
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)
16891
16892 def ClearAllNetCodes(self) -> "void":
16893 r"""ClearAllNetCodes(BOARD self)"""
16894 return _pcbnew.BOARD_ClearAllNetCodes(self)
16895
16896 def MapNets(self, aDestBoard: "BOARD") -> "void":
16897 r"""MapNets(BOARD self, BOARD aDestBoard)"""
16898 return _pcbnew.BOARD_MapNets(self, aDestBoard)
16899
16900 def SanitizeNetcodes(self) -> "void":
16901 r"""SanitizeNetcodes(BOARD self)"""
16902 return _pcbnew.BOARD_SanitizeNetcodes(self)
16903
16904 def AddListener(self, aListener: "BOARD_LISTENER") -> "void":
16905 r"""AddListener(BOARD self, BOARD_LISTENER aListener)"""
16906 return _pcbnew.BOARD_AddListener(self, aListener)
16907
16908 def RemoveListener(self, aListener: "BOARD_LISTENER") -> "void":
16909 r"""RemoveListener(BOARD self, BOARD_LISTENER aListener)"""
16910 return _pcbnew.BOARD_RemoveListener(self, aListener)
16911
16912 def OnItemChanged(self, aItem: "BOARD_ITEM") -> "void":
16913 r"""OnItemChanged(BOARD self, BOARD_ITEM aItem)"""
16914 return _pcbnew.BOARD_OnItemChanged(self, aItem)
16915
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)
16919
16920 def GroupsSanityCheck(self, repair: "bool"=False) -> "wxString":
16921 r"""GroupsSanityCheck(BOARD self, bool repair=False) -> wxString"""
16922 return _pcbnew.BOARD_GroupsSanityCheck(self, repair)
16923
16924 def GroupsSanityCheckInternal(self, repair: "bool") -> "wxString":
16925 r"""GroupsSanityCheckInternal(BOARD self, bool repair) -> wxString"""
16926 return _pcbnew.BOARD_GroupsSanityCheckInternal(self, repair)
16927
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)>)>)>""")
16934
16935 def __init__(self, *args):
16936 this = CreateEmptyBoard()
16937
16938 try:
16939 self.this.append(this)
16940 except:
16941 self.this = this
16942
16943 # Convert these to lists to keep users from using them to delete
16944 # items in the iterable while looping over it
16945 def GetFootprints(self): return list(self.Footprints())
16946 def GetDrawings(self): return list(self.Drawings())
16947 def GetTracks(self): return list(self.Tracks())
16948
16949 def Save(self,filename):
16950 return SaveBoard(filename,self)
16951
16952 def GetNetClasses(self):
16953 return self.GetDesignSettings().GetNetClasses()
16954
16957
16959 return self.GetDesignSettings().m_ViasDimensionsList
16960
16962 return self.GetDesignSettings().m_TrackWidthList
16963
16964 def GetNetsByName(self):
16965 """
16966 Return a dictionary like object with key:wxString netname and value:NETINFO_ITEM
16967 """
16968 return self.GetNetInfo().NetsByName()
16969
16971 """
16972 Return a dictionary like object with key:int netcode and value:NETINFO_ITEM
16973 """
16974 return self.GetNetInfo().NetsByNetcode()
16975
16976 def GetNetcodeFromNetname(self,netname):
16977 """
16978 Given a netname, return its netcode
16979 """
16980 net = self.GetNetsByName()[netname]
16981 return net.GetNetCode()
16982
16984 """
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.
16988 """
16989
16990 # Copy the NETCLASS_MAP so the one in the BOARD isn't modified
16991 # when we add the Default net class.
16992 netclassmap = {k:v for k,v in self.GetNetClasses().NetClasses().items()}
16993 netclassmap['Default'] = self.GetNetClasses().GetDefault()
16994 return netclassmap
16995
16996
16997# Register BOARD in _pcbnew:
16998_pcbnew.BOARD_swigregister(BOARD)
16999
17000def BOARD_ClassOf(aItem: "EDA_ITEM") -> "bool":
17001 r"""BOARD_ClassOf(EDA_ITEM aItem) -> bool"""
17002 return _pcbnew.BOARD_ClassOf(aItem)
17003
17004def BOARD_GetStandardLayerName(aLayerId: "PCB_LAYER_ID") -> "wxString":
17005 r"""BOARD_GetStandardLayerName(PCB_LAYER_ID aLayerId) -> wxString"""
17006 return _pcbnew.BOARD_GetStandardLayerName(aLayerId)
17007
17009 r"""Proxy of C++ std::map< wxString,wxString > class."""
17010
17011 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
17012 __repr__ = _swig_repr
17013
17014 def iterator(self) -> "swig::SwigPyIterator *":
17015 r"""iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
17016 return _pcbnew.MAP_STRING_STRING_iterator(self)
17017 def __iter__(self):
17018 return self.iterator()
17019
17020 def __nonzero__(self) -> "bool":
17021 r"""__nonzero__(MAP_STRING_STRING self) -> bool"""
17022 return _pcbnew.MAP_STRING_STRING___nonzero__(self)
17023
17024 def __bool__(self) -> "bool":
17025 r"""__bool__(MAP_STRING_STRING self) -> bool"""
17026 return _pcbnew.MAP_STRING_STRING___bool__(self)
17027
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)
17031 def __iter__(self):
17032 return self.key_iterator()
17033 def iterkeys(self):
17034 return self.key_iterator()
17035 def itervalues(self):
17036 return self.value_iterator()
17037 def iteritems(self):
17038 return self.iterator()
17039
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)
17043
17044 def __delitem__(self, key: "wxString") -> "void":
17045 r"""__delitem__(MAP_STRING_STRING self, wxString key)"""
17046 return _pcbnew.MAP_STRING_STRING___delitem__(self, key)
17047
17048 def has_key(self, key: "wxString") -> "bool":
17049 r"""has_key(MAP_STRING_STRING self, wxString key) -> bool"""
17050 return _pcbnew.MAP_STRING_STRING_has_key(self, key)
17051
17052 def keys(self) -> "PyObject *":
17053 r"""keys(MAP_STRING_STRING self) -> PyObject *"""
17054 return _pcbnew.MAP_STRING_STRING_keys(self)
17055
17056 def values(self) -> "PyObject *":
17057 r"""values(MAP_STRING_STRING self) -> PyObject *"""
17058 return _pcbnew.MAP_STRING_STRING_values(self)
17059
17060 def items(self) -> "PyObject *":
17061 r"""items(MAP_STRING_STRING self) -> PyObject *"""
17062 return _pcbnew.MAP_STRING_STRING_items(self)
17063
17064 def __contains__(self, key: "wxString") -> "bool":
17065 r"""__contains__(MAP_STRING_STRING self, wxString key) -> bool"""
17066 return _pcbnew.MAP_STRING_STRING___contains__(self, key)
17067
17068 def key_iterator(self) -> "swig::SwigPyIterator *":
17069 r"""key_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
17070 return _pcbnew.MAP_STRING_STRING_key_iterator(self)
17071
17072 def value_iterator(self) -> "swig::SwigPyIterator *":
17073 r"""value_iterator(MAP_STRING_STRING self) -> SwigPyIterator"""
17074 return _pcbnew.MAP_STRING_STRING_value_iterator(self)
17075
17076 def __setitem__(self, *args) -> "void":
17077 r"""
17078 __setitem__(MAP_STRING_STRING self, wxString key)
17079 __setitem__(MAP_STRING_STRING self, wxString key, wxString x)
17080 """
17081 return _pcbnew.MAP_STRING_STRING___setitem__(self, *args)
17082
17083 def asdict(self) -> "PyObject *":
17084 r"""asdict(MAP_STRING_STRING self) -> PyObject *"""
17085 return _pcbnew.MAP_STRING_STRING_asdict(self)
17086
17087 def __init__(self, *args):
17088 r"""
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
17092 """
17093 _pcbnew.MAP_STRING_STRING_swiginit(self, _pcbnew.new_MAP_STRING_STRING(*args))
17094
17095 def empty(self) -> "bool":
17096 r"""empty(MAP_STRING_STRING self) -> bool"""
17097 return _pcbnew.MAP_STRING_STRING_empty(self)
17098
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)
17102
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)
17106
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)
17110
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)
17114
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)
17118
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)
17122
17123 def clear(self) -> "void":
17124 r"""clear(MAP_STRING_STRING self)"""
17125 return _pcbnew.MAP_STRING_STRING_clear(self)
17126
17127 def get_allocator(self) -> "std::map< wxString,wxString >::allocator_type":
17128 r"""get_allocator(MAP_STRING_STRING self) -> std::map< wxString,wxString >::allocator_type"""
17129 return _pcbnew.MAP_STRING_STRING_get_allocator(self)
17130
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)
17134
17135 def erase(self, *args) -> "void":
17136 r"""
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)
17140 """
17141 return _pcbnew.MAP_STRING_STRING_erase(self, *args)
17142
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)
17146
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)
17150
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
17155
17156# Register MAP_STRING_STRING in _pcbnew:
17157_pcbnew.MAP_STRING_STRING_swigregister(MAP_STRING_STRING)
17158
17159DO_NOT_INCLUDE_NPTH = _pcbnew.DO_NOT_INCLUDE_NPTH
17160
17161INCLUDE_NPTH = _pcbnew.INCLUDE_NPTH
17162
17163FP_THROUGH_HOLE = _pcbnew.FP_THROUGH_HOLE
17164
17165FP_SMD = _pcbnew.FP_SMD
17166
17167FP_EXCLUDE_FROM_POS_FILES = _pcbnew.FP_EXCLUDE_FROM_POS_FILES
17168
17169FP_EXCLUDE_FROM_BOM = _pcbnew.FP_EXCLUDE_FROM_BOM
17170
17171FP_BOARD_ONLY = _pcbnew.FP_BOARD_ONLY
17172
17173FP_JUST_ADDED = _pcbnew.FP_JUST_ADDED
17174
17176 r"""Proxy of C++ FP_3DMODEL class."""
17177
17178 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
17179 __repr__ = _swig_repr
17180
17181 def __init__(self):
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
17191
17192# Register FP_3DMODEL in _pcbnew:
17193_pcbnew.FP_3DMODEL_swigregister(FP_3DMODEL)
17194
17196 r"""Proxy of C++ FP_3DMODEL::VECTOR3D class."""
17197
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""")
17203
17204 def __init__(self):
17205 r"""__init__(VECTOR3D self) -> VECTOR3D"""
17206 _pcbnew.VECTOR3D_swiginit(self, _pcbnew.new_VECTOR3D())
17207 __swig_destroy__ = _pcbnew.delete_VECTOR3D
17208
17209# Register VECTOR3D in _pcbnew:
17210_pcbnew.VECTOR3D_swigregister(VECTOR3D)
17211
17213 r"""Proxy of C++ FOOTPRINT class."""
17214
17215 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
17216 __repr__ = _swig_repr
17217
17218 def __init__(self, *args):
17219 r"""
17220 __init__(FOOTPRINT self, BOARD parent) -> FOOTPRINT
17221 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
17222 __init__(FOOTPRINT self, FOOTPRINT aFootprint) -> FOOTPRINT
17223 """
17224 _pcbnew.FOOTPRINT_swiginit(self, _pcbnew.new_FOOTPRINT(*args))
17225 __swig_destroy__ = _pcbnew.delete_FOOTPRINT
17226
17227 @staticmethod
17228 def ClassOf(aItem: "EDA_ITEM") -> "bool":
17229 r"""ClassOf(EDA_ITEM aItem) -> bool"""
17230 return _pcbnew.FOOTPRINT_ClassOf(aItem)
17231
17232 def AddNative(self, *args) -> "void":
17233 r"""AddNative(FOOTPRINT self, BOARD_ITEM aItem, ADD_MODE aMode=INSERT)"""
17234 return _pcbnew.FOOTPRINT_AddNative(self, *args)
17235
17236 def RemoveNative(self, *args) -> "void":
17237 r"""RemoveNative(FOOTPRINT self, BOARD_ITEM aItem, REMOVE_MODE aMode=NORMAL)"""
17238 return _pcbnew.FOOTPRINT_RemoveNative(self, *args)
17239
17240 def ClearAllNets(self) -> "void":
17241 r"""ClearAllNets(FOOTPRINT self)"""
17242 return _pcbnew.FOOTPRINT_ClearAllNets(self)
17243
17244 def FixUuids(self) -> "bool":
17245 r"""FixUuids(FOOTPRINT self) -> bool"""
17246 return _pcbnew.FOOTPRINT_FixUuids(self)
17247
17248 def GetFpPadsLocalBbox(self) -> "EDA_RECT":
17249 r"""GetFpPadsLocalBbox(FOOTPRINT self) -> EDA_RECT"""
17250 return _pcbnew.FOOTPRINT_GetFpPadsLocalBbox(self)
17251
17252 def GetBoundingHull(self) -> "SHAPE_POLY_SET":
17253 r"""GetBoundingHull(FOOTPRINT self) -> SHAPE_POLY_SET"""
17254 return _pcbnew.FOOTPRINT_GetBoundingHull(self)
17255
17256 def GetBoundingBox(self, *args) -> "EDA_RECT const":
17257 r"""
17258 GetBoundingBox(FOOTPRINT self) -> EDA_RECT
17259 GetBoundingBox(FOOTPRINT self, bool aIncludeText, bool aIncludeInvisibleText) -> EDA_RECT
17260 """
17261 return _pcbnew.FOOTPRINT_GetBoundingBox(self, *args)
17262
17263 def GetLayerSet(self) -> "LSET":
17264 r"""GetLayerSet(FOOTPRINT self) -> LSET"""
17265 return _pcbnew.FOOTPRINT_GetLayerSet(self)
17266
17267 def Pads(self, *args) -> "PADS const &":
17268 r"""
17269 Pads(FOOTPRINT self) -> PADS
17270 Pads(FOOTPRINT self) -> PADS
17271 """
17272 return _pcbnew.FOOTPRINT_Pads(self, *args)
17273
17274 def GraphicalItems(self, *args) -> "DRAWINGS const &":
17275 r"""
17276 GraphicalItems(FOOTPRINT self) -> DRAWINGS
17277 GraphicalItems(FOOTPRINT self) -> DRAWINGS
17278 """
17279 return _pcbnew.FOOTPRINT_GraphicalItems(self, *args)
17280
17281 def Zones(self, *args) -> "FP_ZONES const &":
17282 r"""
17283 Zones(FOOTPRINT self) -> FP_ZONES
17284 Zones(FOOTPRINT self) -> FP_ZONES
17285 """
17286 return _pcbnew.FOOTPRINT_Zones(self, *args)
17287
17288 def Groups(self, *args) -> "FP_GROUPS const &":
17289 r"""
17290 Groups(FOOTPRINT self) -> FP_GROUPS
17291 Groups(FOOTPRINT self) -> FP_GROUPS
17292 """
17293 return _pcbnew.FOOTPRINT_Groups(self, *args)
17294
17295 def HasThroughHolePads(self) -> "bool":
17296 r"""HasThroughHolePads(FOOTPRINT self) -> bool"""
17297 return _pcbnew.FOOTPRINT_HasThroughHolePads(self)
17298
17299 def Models(self, *args) -> "std::list< FP_3DMODEL,std::allocator< FP_3DMODEL > > const &":
17300 r"""
17301 Models(FOOTPRINT self) -> FP_3DMODEL_List
17302 Models(FOOTPRINT self) -> FP_3DMODEL_List
17303 """
17304 return _pcbnew.FOOTPRINT_Models(self, *args)
17305
17306 def SetPosition(self, aPos: "wxPoint") -> "void":
17307 r"""SetPosition(FOOTPRINT self, wxPoint aPos)"""
17308 return _pcbnew.FOOTPRINT_SetPosition(self, aPos)
17309
17310 def GetPosition(self) -> "wxPoint":
17311 r"""GetPosition(FOOTPRINT self) -> wxPoint"""
17312 return _pcbnew.FOOTPRINT_GetPosition(self)
17313
17314 def SetOrientation(self, aNewAngle: "double") -> "void":
17315 r"""SetOrientation(FOOTPRINT self, double aNewAngle)"""
17316 return _pcbnew.FOOTPRINT_SetOrientation(self, aNewAngle)
17317
17318 def SetOrientationDegrees(self, aOrientation: "double") -> "void":
17319 r"""SetOrientationDegrees(FOOTPRINT self, double aOrientation)"""
17320 return _pcbnew.FOOTPRINT_SetOrientationDegrees(self, aOrientation)
17321
17322 def GetOrientation(self) -> "double":
17323 r"""GetOrientation(FOOTPRINT self) -> double"""
17324 return _pcbnew.FOOTPRINT_GetOrientation(self)
17325
17326 def GetOrientationDegrees(self) -> "double":
17327 r"""GetOrientationDegrees(FOOTPRINT self) -> double"""
17328 return _pcbnew.FOOTPRINT_GetOrientationDegrees(self)
17329
17330 def GetOrientationRadians(self) -> "double":
17331 r"""GetOrientationRadians(FOOTPRINT self) -> double"""
17332 return _pcbnew.FOOTPRINT_GetOrientationRadians(self)
17333
17334 def GetFPID(self) -> "LIB_ID const &":
17335 r"""GetFPID(FOOTPRINT self) -> LIB_ID"""
17336 return _pcbnew.FOOTPRINT_GetFPID(self)
17337
17338 def SetFPID(self, aFPID: "LIB_ID") -> "void":
17339 r"""SetFPID(FOOTPRINT self, LIB_ID aFPID)"""
17340 return _pcbnew.FOOTPRINT_SetFPID(self, aFPID)
17341
17342 def GetFPIDAsString(self) -> "wxString const":
17343 r"""GetFPIDAsString(FOOTPRINT self) -> wxString"""
17344 return _pcbnew.FOOTPRINT_GetFPIDAsString(self)
17345
17346 def SetFPIDAsString(self, aFPID: "wxString") -> "void":
17347 r"""SetFPIDAsString(FOOTPRINT self, wxString aFPID)"""
17348 return _pcbnew.FOOTPRINT_SetFPIDAsString(self, aFPID)
17349
17350 def GetDescription(self) -> "wxString const &":
17351 r"""GetDescription(FOOTPRINT self) -> wxString"""
17352 return _pcbnew.FOOTPRINT_GetDescription(self)
17353
17354 def SetDescription(self, aDoc: "wxString") -> "void":
17355 r"""SetDescription(FOOTPRINT self, wxString aDoc)"""
17356 return _pcbnew.FOOTPRINT_SetDescription(self, aDoc)
17357
17358 def GetKeywords(self) -> "wxString const &":
17359 r"""GetKeywords(FOOTPRINT self) -> wxString"""
17360 return _pcbnew.FOOTPRINT_GetKeywords(self)
17361
17362 def SetKeywords(self, aKeywords: "wxString") -> "void":
17363 r"""SetKeywords(FOOTPRINT self, wxString aKeywords)"""
17364 return _pcbnew.FOOTPRINT_SetKeywords(self, aKeywords)
17365
17366 def GetPath(self) -> "KIID_PATH const &":
17367 r"""GetPath(FOOTPRINT self) -> KIID_PATH"""
17368 return _pcbnew.FOOTPRINT_GetPath(self)
17369
17370 def SetPath(self, aPath: "KIID_PATH") -> "void":
17371 r"""SetPath(FOOTPRINT self, KIID_PATH aPath)"""
17372 return _pcbnew.FOOTPRINT_SetPath(self, aPath)
17373
17374 def GetLocalSolderMaskMargin(self) -> "int":
17375 r"""GetLocalSolderMaskMargin(FOOTPRINT self) -> int"""
17376 return _pcbnew.FOOTPRINT_GetLocalSolderMaskMargin(self)
17377
17378 def SetLocalSolderMaskMargin(self, aMargin: "int") -> "void":
17379 r"""SetLocalSolderMaskMargin(FOOTPRINT self, int aMargin)"""
17380 return _pcbnew.FOOTPRINT_SetLocalSolderMaskMargin(self, aMargin)
17381
17382 def SetLocalClearance(self, aClearance: "int") -> "void":
17383 r"""SetLocalClearance(FOOTPRINT self, int aClearance)"""
17384 return _pcbnew.FOOTPRINT_SetLocalClearance(self, aClearance)
17385
17386 def GetLocalClearance(self, *args) -> "int":
17387 r"""
17388 GetLocalClearance(FOOTPRINT self) -> int
17389 GetLocalClearance(FOOTPRINT self, wxString aSource) -> int
17390 """
17391 return _pcbnew.FOOTPRINT_GetLocalClearance(self, *args)
17392
17393 def GetLocalSolderPasteMargin(self) -> "int":
17394 r"""GetLocalSolderPasteMargin(FOOTPRINT self) -> int"""
17395 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMargin(self)
17396
17397 def SetLocalSolderPasteMargin(self, aMargin: "int") -> "void":
17398 r"""SetLocalSolderPasteMargin(FOOTPRINT self, int aMargin)"""
17399 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMargin(self, aMargin)
17400
17401 def GetLocalSolderPasteMarginRatio(self) -> "double":
17402 r"""GetLocalSolderPasteMarginRatio(FOOTPRINT self) -> double"""
17403 return _pcbnew.FOOTPRINT_GetLocalSolderPasteMarginRatio(self)
17404
17405 def SetLocalSolderPasteMarginRatio(self, aRatio: "double") -> "void":
17406 r"""SetLocalSolderPasteMarginRatio(FOOTPRINT self, double aRatio)"""
17407 return _pcbnew.FOOTPRINT_SetLocalSolderPasteMarginRatio(self, aRatio)
17408
17409 def SetZoneConnection(self, aType: "ZONE_CONNECTION") -> "void":
17410 r"""SetZoneConnection(FOOTPRINT self, ZONE_CONNECTION aType)"""
17411 return _pcbnew.FOOTPRINT_SetZoneConnection(self, aType)
17412
17413 def GetZoneConnection(self) -> "ZONE_CONNECTION":
17414 r"""GetZoneConnection(FOOTPRINT self) -> ZONE_CONNECTION"""
17415 return _pcbnew.FOOTPRINT_GetZoneConnection(self)
17416
17417 def SetThermalWidth(self, aWidth: "int") -> "void":
17418 r"""SetThermalWidth(FOOTPRINT self, int aWidth)"""
17419 return _pcbnew.FOOTPRINT_SetThermalWidth(self, aWidth)
17420
17421 def GetThermalWidth(self) -> "int":
17422 r"""GetThermalWidth(FOOTPRINT self) -> int"""
17423 return _pcbnew.FOOTPRINT_GetThermalWidth(self)
17424
17425 def SetThermalGap(self, aGap: "int") -> "void":
17426 r"""SetThermalGap(FOOTPRINT self, int aGap)"""
17427 return _pcbnew.FOOTPRINT_SetThermalGap(self, aGap)
17428
17429 def GetThermalGap(self) -> "int":
17430 r"""GetThermalGap(FOOTPRINT self) -> int"""
17431 return _pcbnew.FOOTPRINT_GetThermalGap(self)
17432
17433 def GetAttributes(self) -> "int":
17434 r"""GetAttributes(FOOTPRINT self) -> int"""
17435 return _pcbnew.FOOTPRINT_GetAttributes(self)
17436
17437 def SetAttributes(self, aAttributes: "int") -> "void":
17438 r"""SetAttributes(FOOTPRINT self, int aAttributes)"""
17439 return _pcbnew.FOOTPRINT_SetAttributes(self, aAttributes)
17440
17441 def SetFlag(self, aFlag: "int") -> "void":
17442 r"""SetFlag(FOOTPRINT self, int aFlag)"""
17443 return _pcbnew.FOOTPRINT_SetFlag(self, aFlag)
17444
17445 def IncrementFlag(self) -> "void":
17446 r"""IncrementFlag(FOOTPRINT self)"""
17447 return _pcbnew.FOOTPRINT_IncrementFlag(self)
17448
17449 def GetFlag(self) -> "int":
17450 r"""GetFlag(FOOTPRINT self) -> int"""
17451 return _pcbnew.FOOTPRINT_GetFlag(self)
17452
17453 def IsNetTie(self) -> "bool":
17454 r"""IsNetTie(FOOTPRINT self) -> bool"""
17455 return _pcbnew.FOOTPRINT_IsNetTie(self)
17456
17457 def GetLikelyAttribute(self) -> "int":
17458 r"""GetLikelyAttribute(FOOTPRINT self) -> int"""
17459 return _pcbnew.FOOTPRINT_GetLikelyAttribute(self)
17460
17461 def Move(self, aMoveVector: "wxPoint") -> "void":
17462 r"""Move(FOOTPRINT self, wxPoint aMoveVector)"""
17463 return _pcbnew.FOOTPRINT_Move(self, aMoveVector)
17464
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)
17468
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)
17472
17473 def MoveAnchorPosition(self, aMoveVector: "wxPoint") -> "void":
17474 r"""MoveAnchorPosition(FOOTPRINT self, wxPoint aMoveVector)"""
17475 return _pcbnew.FOOTPRINT_MoveAnchorPosition(self, aMoveVector)
17476
17477 def IsFlipped(self) -> "bool":
17478 r"""IsFlipped(FOOTPRINT self) -> bool"""
17479 return _pcbnew.FOOTPRINT_IsFlipped(self)
17480
17481 def IsOnLayer(self, aLayer: "PCB_LAYER_ID") -> "bool":
17482 r"""IsOnLayer(FOOTPRINT self, PCB_LAYER_ID aLayer) -> bool"""
17483 return _pcbnew.FOOTPRINT_IsOnLayer(self, aLayer)
17484
17485 def IsLocked(self) -> "bool":
17486 r"""IsLocked(FOOTPRINT self) -> bool"""
17487 return _pcbnew.FOOTPRINT_IsLocked(self)
17488
17489 def SetLocked(self, isLocked: "bool") -> "void":
17490 r"""SetLocked(FOOTPRINT self, bool isLocked)"""
17491 return _pcbnew.FOOTPRINT_SetLocked(self, isLocked)
17492
17493 def IsPlaced(self) -> "bool":
17494 r"""IsPlaced(FOOTPRINT self) -> bool"""
17495 return _pcbnew.FOOTPRINT_IsPlaced(self)
17496
17497 def SetIsPlaced(self, isPlaced: "bool") -> "void":
17498 r"""SetIsPlaced(FOOTPRINT self, bool isPlaced)"""
17499 return _pcbnew.FOOTPRINT_SetIsPlaced(self, isPlaced)
17500
17501 def NeedsPlaced(self) -> "bool":
17502 r"""NeedsPlaced(FOOTPRINT self) -> bool"""
17503 return _pcbnew.FOOTPRINT_NeedsPlaced(self)
17504
17505 def SetNeedsPlaced(self, needsPlaced: "bool") -> "void":
17506 r"""SetNeedsPlaced(FOOTPRINT self, bool needsPlaced)"""
17507 return _pcbnew.FOOTPRINT_SetNeedsPlaced(self, needsPlaced)
17508
17509 def LegacyPadsLocked(self) -> "bool":
17510 r"""LegacyPadsLocked(FOOTPRINT self) -> bool"""
17511 return _pcbnew.FOOTPRINT_LegacyPadsLocked(self)
17512
17513 def SetLastEditTime(self, aTime: "timestamp_t") -> "void":
17514 r"""SetLastEditTime(FOOTPRINT self, timestamp_t aTime)"""
17515 return _pcbnew.FOOTPRINT_SetLastEditTime(self, aTime)
17516
17517 def GetLastEditTime(self) -> "timestamp_t":
17518 r"""GetLastEditTime(FOOTPRINT self) -> timestamp_t"""
17519 return _pcbnew.FOOTPRINT_GetLastEditTime(self)
17520
17521 def CheckFootprintAttributes(self, aErrorHandler: "std::function< void (wxString const &) > const *") -> "void":
17522 r"""CheckFootprintAttributes(FOOTPRINT self, std::function< void (wxString const &) > const * aErrorHandler)"""
17523 return _pcbnew.FOOTPRINT_CheckFootprintAttributes(self, aErrorHandler)
17524
17525 def CheckFootprintTHPadNoHoles(self, aErrorHandler: "std::function< void (wxString const &,wxPoint const &) > const *") -> "void":
17526 r"""CheckFootprintTHPadNoHoles(FOOTPRINT self, std::function< void (wxString const &,wxPoint const &) > const * aErrorHandler)"""
17527 return _pcbnew.FOOTPRINT_CheckFootprintTHPadNoHoles(self, aErrorHandler)
17528
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)
17532
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)
17536
17537 def TransformFPTextWithClearanceToPolygonSet(self, aCornerBuffer: "SHAPE_POLY_SET", aLayer: "PCB_LAYER_ID", aClearance: "int", aError: "int", aErrorLoc: "ERROR_LOC") -> "void":
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)
17540
17541 def GetContextualTextVars(self, aVars: "wxArrayString *") -> "void":
17542 r"""GetContextualTextVars(FOOTPRINT self, wxArrayString * aVars)"""
17543 return _pcbnew.FOOTPRINT_GetContextualTextVars(self, aVars)
17544
17545 def ResolveTextVar(self, token: "wxString", aDepth: "int"=0) -> "bool":
17546 r"""ResolveTextVar(FOOTPRINT self, wxString token, int aDepth=0) -> bool"""
17547 return _pcbnew.FOOTPRINT_ResolveTextVar(self, token, aDepth)
17548
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)
17552
17553 def HitTestAccurate(self, aPosition: "wxPoint", aAccuracy: "int"=0) -> "bool":
17554 r"""HitTestAccurate(FOOTPRINT self, wxPoint aPosition, int aAccuracy=0) -> bool"""
17555 return _pcbnew.FOOTPRINT_HitTestAccurate(self, aPosition, aAccuracy)
17556
17557 def HitTest(self, *args) -> "bool":
17558 r"""
17559 HitTest(FOOTPRINT self, wxPoint aPosition, int aAccuracy=0) -> bool
17560 HitTest(FOOTPRINT self, EDA_RECT aRect, bool aContained, int aAccuracy=0) -> bool
17561 """
17562 return _pcbnew.FOOTPRINT_HitTest(self, *args)
17563
17564 def GetReference(self) -> "wxString const &":
17565 r"""GetReference(FOOTPRINT self) -> wxString"""
17566 return _pcbnew.FOOTPRINT_GetReference(self)
17567
17568 def SetReference(self, aReference: "wxString") -> "void":
17569 r"""SetReference(FOOTPRINT self, wxString aReference)"""
17570 return _pcbnew.FOOTPRINT_SetReference(self, aReference)
17571
17572 def IncrementReference(self, aDelta: "int") -> "void":
17573 r"""IncrementReference(FOOTPRINT self, int aDelta)"""
17574 return _pcbnew.FOOTPRINT_IncrementReference(self, aDelta)
17575
17576 def GetValue(self) -> "wxString const &":
17577 r"""GetValue(FOOTPRINT self) -> wxString"""
17578 return _pcbnew.FOOTPRINT_GetValue(self)
17579
17580 def SetValue(self, aValue: "wxString") -> "void":
17581 r"""SetValue(FOOTPRINT self, wxString aValue)"""
17582 return _pcbnew.FOOTPRINT_SetValue(self, aValue)
17583
17584 def Value(self, *args) -> "FP_TEXT &":
17585 r"""
17586 Value(FOOTPRINT self) -> FP_TEXT
17587 Value(FOOTPRINT self) -> FP_TEXT
17588 """
17589 return _pcbnew.FOOTPRINT_Value(self, *args)
17590
17591 def Reference(self, *args) -> "FP_TEXT &":
17592 r"""
17593 Reference(FOOTPRINT self) -> FP_TEXT
17594 Reference(FOOTPRINT self) -> FP_TEXT
17595 """
17596 return _pcbnew.FOOTPRINT_Reference(self, *args)
17597
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)
17601
17602 def SetPropertiesNative(self, aProps: "MAP_STRING_STRING") -> "void":
17603 r"""SetPropertiesNative(FOOTPRINT self, MAP_STRING_STRING aProps)"""
17604 return _pcbnew.FOOTPRINT_SetPropertiesNative(self, aProps)
17605
17606 def GetPropertyNative(self, aKey: "wxString") -> "wxString const &":
17607 r"""GetPropertyNative(FOOTPRINT self, wxString aKey) -> wxString"""
17608 return _pcbnew.FOOTPRINT_GetPropertyNative(self, aKey)
17609
17610 def HasProperty(self, aKey: "wxString") -> "bool":
17611 r"""HasProperty(FOOTPRINT self, wxString aKey) -> bool"""
17612 return _pcbnew.FOOTPRINT_HasProperty(self, aKey)
17613
17614 def SetProperty(self, aKey: "wxString", aVal: "wxString") -> "void":
17615 r"""SetProperty(FOOTPRINT self, wxString aKey, wxString aVal)"""
17616 return _pcbnew.FOOTPRINT_SetProperty(self, aKey, aVal)
17617
17618 def FindPadByNumber(self, aPadNumber: "wxString", aSearchAfterMe: "PAD"=None) -> "PAD *":
17619 r"""FindPadByNumber(FOOTPRINT self, wxString aPadNumber, PAD aSearchAfterMe=None) -> PAD"""
17620 return _pcbnew.FOOTPRINT_FindPadByNumber(self, aPadNumber, aSearchAfterMe)
17621
17622 def GetPad(self, *args) -> "PAD *":
17623 r"""GetPad(FOOTPRINT self, wxPoint aPosition, LSET aLayerMask=LSET::AllLayersMask()) -> PAD"""
17624 return _pcbnew.FOOTPRINT_GetPad(self, *args)
17625
17626 def GetTopLeftPad(self) -> "PAD *":
17627 r"""GetTopLeftPad(FOOTPRINT self) -> PAD"""
17628 return _pcbnew.FOOTPRINT_GetTopLeftPad(self)
17629
17630 def GetPadCount(self, *args) -> "unsigned int":
17631 r"""GetPadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
17632 return _pcbnew.FOOTPRINT_GetPadCount(self, *args)
17633
17634 def GetUniquePadCount(self, *args) -> "unsigned int":
17635 r"""GetUniquePadCount(FOOTPRINT self, INCLUDE_NPTH_T aIncludeNPTH=INCLUDE_NPTH_T(INCLUDE_NPTH)) -> unsigned int"""
17636 return _pcbnew.FOOTPRINT_GetUniquePadCount(self, *args)
17637
17638 def GetNextPadNumber(self, aLastPadName: "wxString") -> "wxString":
17639 r"""GetNextPadNumber(FOOTPRINT self, wxString aLastPadName) -> wxString"""
17640 return _pcbnew.FOOTPRINT_GetNextPadNumber(self, aLastPadName)
17641
17642 def GetTypeName(self) -> "wxString":
17643 r"""GetTypeName(FOOTPRINT self) -> wxString"""
17644 return _pcbnew.FOOTPRINT_GetTypeName(self)
17645
17646 def GetArea(self, aPadding: "int"=0) -> "double":
17647 r"""GetArea(FOOTPRINT self, int aPadding=0) -> double"""
17648 return _pcbnew.FOOTPRINT_GetArea(self, aPadding)
17649
17650 def GetLink(self) -> "KIID":
17651 r"""GetLink(FOOTPRINT self) -> KIID"""
17652 return _pcbnew.FOOTPRINT_GetLink(self)
17653
17654 def SetLink(self, aLink: "KIID") -> "void":
17655 r"""SetLink(FOOTPRINT self, KIID aLink)"""
17656 return _pcbnew.FOOTPRINT_SetLink(self, aLink)
17657
17658 def GetPlacementCost180(self) -> "int":
17659 r"""GetPlacementCost180(FOOTPRINT self) -> int"""
17660 return _pcbnew.FOOTPRINT_GetPlacementCost180(self)
17661
17662 def SetPlacementCost180(self, aCost: "int") -> "void":
17663 r"""SetPlacementCost180(FOOTPRINT self, int aCost)"""
17664 return _pcbnew.FOOTPRINT_SetPlacementCost180(self, aCost)
17665
17666 def GetPlacementCost90(self) -> "int":
17667 r"""GetPlacementCost90(FOOTPRINT self) -> int"""
17668 return _pcbnew.FOOTPRINT_GetPlacementCost90(self)
17669
17670 def SetPlacementCost90(self, aCost: "int") -> "void":
17671 r"""SetPlacementCost90(FOOTPRINT self, int aCost)"""
17672 return _pcbnew.FOOTPRINT_SetPlacementCost90(self, aCost)
17673
17674 def Duplicate(self) -> "BOARD_ITEM *":
17675 r"""Duplicate(FOOTPRINT self) -> BOARD_ITEM"""
17676 return _pcbnew.FOOTPRINT_Duplicate(self)
17677
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)
17681
17682 def Add3DModel(self, a3DModel: "FP_3DMODEL") -> "void":
17683 r"""Add3DModel(FOOTPRINT self, FP_3DMODEL a3DModel)"""
17684 return _pcbnew.FOOTPRINT_Add3DModel(self, a3DModel)
17685
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)
17689
17690 def GetClass(self) -> "wxString":
17691 r"""GetClass(FOOTPRINT self) -> wxString"""
17692 return _pcbnew.FOOTPRINT_GetClass(self)
17693
17694 def GetSelectMenuText(self, aUnits: "EDA_UNITS") -> "wxString":
17695 r"""GetSelectMenuText(FOOTPRINT self, EDA_UNITS aUnits) -> wxString"""
17696 return _pcbnew.FOOTPRINT_GetSelectMenuText(self, aUnits)
17697
17698 def GetMenuImage(self) -> "BITMAPS":
17699 r"""GetMenuImage(FOOTPRINT self) -> BITMAPS"""
17700 return _pcbnew.FOOTPRINT_GetMenuImage(self)
17701
17702 def Clone(self) -> "EDA_ITEM *":
17703 r"""Clone(FOOTPRINT self) -> EDA_ITEM"""
17704 return _pcbnew.FOOTPRINT_Clone(self)
17705
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)
17709
17710 def GetAllDrawingLayers(self, aLayers: "int []", aCount: "int &", aIncludePads: "bool"=True) -> "void":
17711 r"""GetAllDrawingLayers(FOOTPRINT self, int [] aLayers, int & aCount, bool aIncludePads=True)"""
17712 return _pcbnew.FOOTPRINT_GetAllDrawingLayers(self, aLayers, aCount, aIncludePads)
17713
17714 def ViewGetLayers(self, aLayers: "int []", aCount: "int &") -> "void":
17715 r"""ViewGetLayers(FOOTPRINT self, int [] aLayers, int & aCount)"""
17716 return _pcbnew.FOOTPRINT_ViewGetLayers(self, aLayers, aCount)
17717
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)
17721
17722 def ViewBBox(self) -> "BOX2I const":
17723 r"""ViewBBox(FOOTPRINT self) -> BOX2I const"""
17724 return _pcbnew.FOOTPRINT_ViewBBox(self)
17725
17726 @staticmethod
17727 def IsLibNameValid(aName: "wxString") -> "bool":
17728 r"""IsLibNameValid(wxString aName) -> bool"""
17729 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
17730
17731 @staticmethod
17732 def StringLibNameInvalidChars(aUserReadable: "bool") -> "wxChar const *":
17733 r"""StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
17734 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
17735
17736 def SetInitialComments(self, aInitialComments: "wxArrayString *") -> "void":
17737 r"""SetInitialComments(FOOTPRINT self, wxArrayString * aInitialComments)"""
17738 return _pcbnew.FOOTPRINT_SetInitialComments(self, aInitialComments)
17739
17740 def CoverageRatio(self, aCollector: "GENERAL_COLLECTOR const &") -> "double":
17741 r"""CoverageRatio(FOOTPRINT self, GENERAL_COLLECTOR const & aCollector) -> double"""
17742 return _pcbnew.FOOTPRINT_CoverageRatio(self, aCollector)
17743
17744 @staticmethod
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)
17748
17749 def GetInitialComments(self) -> "wxArrayString const *":
17750 r"""GetInitialComments(FOOTPRINT self) -> wxArrayString const *"""
17751 return _pcbnew.FOOTPRINT_GetInitialComments(self)
17752
17753 def GetCourtyard(self, aLayer: "PCB_LAYER_ID") -> "SHAPE_POLY_SET const &":
17754 r"""GetCourtyard(FOOTPRINT self, PCB_LAYER_ID aLayer) -> SHAPE_POLY_SET"""
17755 return _pcbnew.FOOTPRINT_GetCourtyard(self, aLayer)
17756
17757 def BuildCourtyardCaches(self, aErrorHandler: "OUTLINE_ERROR_HANDLER *"=None) -> "void":
17758 r"""BuildCourtyardCaches(FOOTPRINT self, OUTLINE_ERROR_HANDLER * aErrorHandler=None)"""
17759 return _pcbnew.FOOTPRINT_BuildCourtyardCaches(self, aErrorHandler)
17760
17761 def GetEffectiveShape(self, *args) -> "std::shared_ptr< SHAPE >":
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)
17764
17765 def SwapData(self, aImage: "BOARD_ITEM") -> "void":
17766 r"""SwapData(FOOTPRINT self, BOARD_ITEM aImage)"""
17767 return _pcbnew.FOOTPRINT_SwapData(self, aImage)
17768
17769
17770 #def SaveToLibrary(self,filename):
17771 # return SaveFootprintToLibrary(filename,self)
17772
17773 #
17774 # add function, clears the thisown to avoid python from deleting
17775 # the object in the garbage collector
17776 #
17777
17778 def GetProperties(self):
17779 """ Returns footprint properties map. """
17780 properties = self.GetPropertiesNative()
17781 return {str(k): str(v) for k, v in properties.items()}
17782
17783 def GetProperty(self, key):
17784 """ Returns property with a given key if it exists, throws KeyError otherwise. """
17785 if self.HasProperty(key):
17786 return self.GetPropertyNative(key)
17787 else:
17788 raise KeyError("Property not found: " + key)
17789
17790 def SetProperties(self, properties):
17791 """ Sets footprint properties map. """
17792 wxproperties = MAP_STRING_STRING()
17793 for k, v in properties.items():
17794 wxproperties[k] = v
17795 self.SetPropertiesNative(wxproperties)
17796
17797
17798
17799# Register FOOTPRINT in _pcbnew:
17800_pcbnew.FOOTPRINT_swigregister(FOOTPRINT)
17801
17802def FOOTPRINT_ClassOf(aItem: "EDA_ITEM") -> "bool":
17803 r"""FOOTPRINT_ClassOf(EDA_ITEM aItem) -> bool"""
17804 return _pcbnew.FOOTPRINT_ClassOf(aItem)
17805FP_is_LOCKED = _pcbnew.FP_is_LOCKED
17806
17807FP_is_PLACED = _pcbnew.FP_is_PLACED
17808
17809FP_to_PLACE = _pcbnew.FP_to_PLACE
17810
17811FP_PADS_are_LOCKED = _pcbnew.FP_PADS_are_LOCKED
17812
17813
17814def FOOTPRINT_IsLibNameValid(aName: "wxString") -> "bool":
17815 r"""FOOTPRINT_IsLibNameValid(wxString aName) -> bool"""
17816 return _pcbnew.FOOTPRINT_IsLibNameValid(aName)
17817
17818def FOOTPRINT_StringLibNameInvalidChars(aUserReadable: "bool") -> "wxChar const *":
17819 r"""FOOTPRINT_StringLibNameInvalidChars(bool aUserReadable) -> wxChar const *"""
17820 return _pcbnew.FOOTPRINT_StringLibNameInvalidChars(aUserReadable)
17821
17822def FOOTPRINT_GetCoverageArea(aItem: "BOARD_ITEM", aCollector: "GENERAL_COLLECTOR const &") -> "double":
17823 r"""FOOTPRINT_GetCoverageArea(BOARD_ITEM aItem, GENERAL_COLLECTOR const & aCollector) -> double"""
17824 return _pcbnew.FOOTPRINT_GetCoverageArea(aItem, aCollector)
17825
17827 r"""Proxy of C++ FOOTPRINT::cmp_drawings class."""
17828
17829 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
17830 __repr__ = _swig_repr
17831
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)
17835
17836 def __init__(self):
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
17840
17841# Register cmp_drawings in _pcbnew:
17842_pcbnew.cmp_drawings_swigregister(cmp_drawings)
17843
17845 r"""Proxy of C++ FOOTPRINT::cmp_pads class."""
17846
17847 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
17848 __repr__ = _swig_repr
17849
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)
17853
17854 def __init__(self):
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
17858
17859# Register cmp_pads in _pcbnew:
17860_pcbnew.cmp_pads_swigregister(cmp_pads)
17861
17863 r"""Proxy of C++ std::list< FP_3DMODEL > class."""
17864
17865 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
17866 __repr__ = _swig_repr
17867
17868 def iterator(self) -> "swig::SwigPyIterator *":
17869 r"""iterator(FP_3DMODEL_List self) -> SwigPyIterator"""
17870 return _pcbnew.FP_3DMODEL_List_iterator(self)
17871 def __iter__(self):
17872 return self.iterator()
17873
17874 def __nonzero__(self) -> "bool":
17875 r"""__nonzero__(FP_3DMODEL_List self) -> bool"""
17876 return _pcbnew.FP_3DMODEL_List___nonzero__(self)
17877
17878 def __bool__(self) -> "bool":
17879 r"""__bool__(FP_3DMODEL_List self) -> bool"""
17880 return _pcbnew.FP_3DMODEL_List___bool__(self)
17881
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)
17885
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)
17889
17890 def __setslice__(self, *args) -> "void":
17891 r"""
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)
17894 """
17895 return _pcbnew.FP_3DMODEL_List___setslice__(self, *args)
17896
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)
17900
17901 def __delitem__(self, *args) -> "void":
17902 r"""
17903 __delitem__(FP_3DMODEL_List self, std::list< FP_3DMODEL >::difference_type i)
17904 __delitem__(FP_3DMODEL_List self, PySliceObject * slice)
17905 """
17906 return _pcbnew.FP_3DMODEL_List___delitem__(self, *args)
17907
17908 def __getitem__(self, *args) -> "std::list< FP_3DMODEL >::value_type const &":
17909 r"""
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
17912 """
17913 return _pcbnew.FP_3DMODEL_List___getitem__(self, *args)
17914
17915 def __setitem__(self, *args) -> "void":
17916 r"""
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)
17920 """
17921 return _pcbnew.FP_3DMODEL_List___setitem__(self, *args)
17922
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)
17926
17927 def append(self, x: "FP_3DMODEL") -> "void":
17928 r"""append(FP_3DMODEL_List self, FP_3DMODEL x)"""
17929 return _pcbnew.FP_3DMODEL_List_append(self, x)
17930
17931 def empty(self) -> "bool":
17932 r"""empty(FP_3DMODEL_List self) -> bool"""
17933 return _pcbnew.FP_3DMODEL_List_empty(self)
17934
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)
17938
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)
17942
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)
17946
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)
17950
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)
17954
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)
17958
17959 def clear(self) -> "void":
17960 r"""clear(FP_3DMODEL_List self)"""
17961 return _pcbnew.FP_3DMODEL_List_clear(self)
17962
17963 def get_allocator(self) -> "std::list< FP_3DMODEL >::allocator_type":
17964 r"""get_allocator(FP_3DMODEL_List self) -> std::list< FP_3DMODEL >::allocator_type"""
17965 return _pcbnew.FP_3DMODEL_List_get_allocator(self)
17966
17967 def pop_back(self) -> "void":
17968 r"""pop_back(FP_3DMODEL_List self)"""
17969 return _pcbnew.FP_3DMODEL_List_pop_back(self)
17970
17971 def erase(self, *args) -> "std::list< FP_3DMODEL >::iterator":
17972 r"""
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
17975 """
17976 return _pcbnew.FP_3DMODEL_List_erase(self, *args)
17977
17978 def __init__(self, *args):
17979 r"""
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
17984 """
17985 _pcbnew.FP_3DMODEL_List_swiginit(self, _pcbnew.new_FP_3DMODEL_List(*args))
17986
17987 def push_back(self, x: "FP_3DMODEL") -> "void":
17988 r"""push_back(FP_3DMODEL_List self, FP_3DMODEL x)"""
17989 return _pcbnew.FP_3DMODEL_List_push_back(self, x)
17990
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)
17994
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)
17998
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)
18002
18003 def resize(self, *args) -> "void":
18004 r"""
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)
18007 """
18008 return _pcbnew.FP_3DMODEL_List_resize(self, *args)
18009
18010 def insert(self, *args) -> "void":
18011 r"""
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)
18014 """
18015 return _pcbnew.FP_3DMODEL_List_insert(self, *args)
18016
18017 def pop_front(self) -> "void":
18018 r"""pop_front(FP_3DMODEL_List self)"""
18019 return _pcbnew.FP_3DMODEL_List_pop_front(self)
18020
18021 def push_front(self, x: "FP_3DMODEL") -> "void":
18022 r"""push_front(FP_3DMODEL_List self, FP_3DMODEL x)"""
18023 return _pcbnew.FP_3DMODEL_List_push_front(self, x)
18024
18025 def reverse(self) -> "void":
18026 r"""reverse(FP_3DMODEL_List self)"""
18027 return _pcbnew.FP_3DMODEL_List_reverse(self)
18028 __swig_destroy__ = _pcbnew.delete_FP_3DMODEL_List
18029
18030# Register FP_3DMODEL_List in _pcbnew:
18031_pcbnew.FP_3DMODEL_List_swigregister(FP_3DMODEL_List)
18032
18033
18034def GetPluginForPath(libname):
18035 plugin_type = IO_MGR.GuessPluginTypeFromLibPath( libname );
18036 return IO_MGR.PluginFind(plugin_type)
18037
18039 plug = GetPluginForPath(libname)
18040 return plug.FootprintEnumerate(libname)
18041
18042def FootprintLoad(libname,name,preserveUUID=False):
18043 plug = GetPluginForPath(libname)
18044 return plug.FootprintLoad(libname,name,preserveUUID)
18045
18046def FootprintSave(libname,module):
18047 plug = GetPluginForPath(libname)
18048 return plug.FootprintSave(libname,module)
18049
18050def FootprintDelete(libname,name):
18051 plug = GetPluginForPath(libname)
18052 plug.FootprintDelete(libname,name)
18053
18055 plug = GetPluginForPath(libname)
18056 plug.FootprintLibCreate(libname)
18057
18059 plug = GetPluginForPath(libname)
18060 plug.FootprintLibDelete(libname)
18061
18063 plug = GetPluginForPath(libname)
18064 plug.FootprintLibIsWritable(libname)
18065
18067 r"""Proxy of C++ PYTHON_FOOTPRINT_WIZARD_LIST class."""
18068
18069 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
18070 __repr__ = _swig_repr
18071
18072 @staticmethod
18073 def register_wizard(wizard: "PyObject *") -> "void":
18074 r"""register_wizard(PyObject * wizard)"""
18075 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
18076
18077 @staticmethod
18078 def deregister_wizard(wizard: "PyObject *") -> "void":
18079 r"""deregister_wizard(PyObject * wizard)"""
18080 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
18081
18082 def __init__(self):
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
18086
18087# Register PYTHON_FOOTPRINT_WIZARD_LIST in _pcbnew:
18088_pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_swigregister(PYTHON_FOOTPRINT_WIZARD_LIST)
18089
18090def PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard: "PyObject *") -> "void":
18091 r"""PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(PyObject * wizard)"""
18092 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard(wizard)
18093
18094def PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard: "PyObject *") -> "void":
18095 r"""PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(PyObject * wizard)"""
18096 return _pcbnew.PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard(wizard)
18097
18099 r"""Proxy of C++ PYTHON_ACTION_PLUGINS class."""
18100
18101 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
18102 __repr__ = _swig_repr
18103
18104 @staticmethod
18105 def register_action(wizard: "PyObject *") -> "void":
18106 r"""register_action(PyObject * wizard)"""
18107 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
18108
18109 @staticmethod
18110 def deregister_action(wizard: "PyObject *") -> "void":
18111 r"""deregister_action(PyObject * wizard)"""
18112 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
18113
18114 def __init__(self):
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
18118
18119# Register PYTHON_ACTION_PLUGINS in _pcbnew:
18120_pcbnew.PYTHON_ACTION_PLUGINS_swigregister(PYTHON_ACTION_PLUGINS)
18121
18122def PYTHON_ACTION_PLUGINS_register_action(wizard: "PyObject *") -> "void":
18123 r"""PYTHON_ACTION_PLUGINS_register_action(PyObject * wizard)"""
18124 return _pcbnew.PYTHON_ACTION_PLUGINS_register_action(wizard)
18125
18126def PYTHON_ACTION_PLUGINS_deregister_action(wizard: "PyObject *") -> "void":
18127 r"""PYTHON_ACTION_PLUGINS_deregister_action(PyObject * wizard)"""
18128 return _pcbnew.PYTHON_ACTION_PLUGINS_deregister_action(wizard)
18129
18130
18131def ToMM(iu):
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))
18136 else:
18137 raise TypeError("ToMM() excpects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(type(iu)))
18138
18139def FromMM(mm):
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))
18144 else:
18145 raise TypeError("FromMM() expects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(type(mm)))
18146
18147def ToMils(iu):
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))
18152 else:
18153 raise TypeError("ToMils() excpects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(type(iu)))
18154
18155def FromMils(mils):
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))
18160 else:
18161 raise TypeError("FromMils() excpects int, float, wxPoint, wxSize or VECTOR2I, instead got type " + str(type(mils)))
18162
18163def PutOnGridMM(value, gridSizeMM):
18164 thresh = FromMM(gridSizeMM)
18165 return round(value/thresh)*thresh
18166
18167def PutOnGridMils(value, gridSizeMils):
18168 thresh = FromMils(gridSizeMils)
18169 return round(value/thresh)*thresh
18170
18171def wxSizeMM(mmx,mmy):
18172 return wxSize(FromMM(mmx),FromMM(mmy))
18173
18174def wxSizeMils(mmx,mmy):
18175 return wxSize(FromMils(mmx),FromMils(mmy))
18176
18177def wxPointMM(mmx,mmy):
18178 return wxPoint(FromMM(mmx),FromMM(mmy))
18179
18180def wxPointMils(mmx,mmy):
18181 return wxPoint(FromMils(mmx),FromMils(mmy))
18182
18183def VECTOR2I_MM(mmx,mmy):
18184 return VECTOR2I(FromMM(mmx),FromMM(mmy))
18185
18186def VECTOR2I_Mils(mmx,mmy):
18187 return VECTOR2I(FromMils(mmx),FromMils(mmy))
18188
18189def wxRectMM(x,y,wx,wy):
18190 x = int(FromMM(x))
18191 y = int(FromMM(y))
18192 wx = int(FromMM(wx))
18193 wy = int (FromMM(wy))
18194 return wxRect(x,y,wx,wy)
18195
18196def wxRectMils(x,y,wx,wy):
18197 x = int(FromMils(x))
18198 y = int(FromMils(y))
18199 wx = int(FromMils(wx))
18200 wy = int(FromMils(wy))
18201 return wxRect(x,y,wx,wy)
18202
18203KICAD_VERSION_FULL = _pcbnew.KICAD_VERSION_FULL
18204
18205KICAD_SEMANTIC_VERSION = _pcbnew.KICAD_SEMANTIC_VERSION
18206
18207KICAD_MAJOR_VERSION = _pcbnew.KICAD_MAJOR_VERSION
18208
18209KICAD_MINOR_VERSION = _pcbnew.KICAD_MINOR_VERSION
18210
18211KICAD_PATCH_VERSION = _pcbnew.KICAD_PATCH_VERSION
18212
18213KICAD_MAJOR_MINOR_VERSION = _pcbnew.KICAD_MAJOR_MINOR_VERSION
18214
18215KICAD_WIN32_RC_PRODVER_STR = _pcbnew.KICAD_WIN32_RC_PRODVER_STR
18216
18217KICAD_WIN32_RC_FILEVER_STR = _pcbnew.KICAD_WIN32_RC_FILEVER_STR
18218
18219
18221 """Return the semantic version of KiCad"""
18222 return KICAD_SEMANTIC_VERSION
18223
18225 """Return the full, git-based version of KiCad"""
18226 return KICAD_VERSION_FULL
18227
18228
18229
def __init__(self)
Definition: pcbnew.py:13153
def Run(self)
Definition: pcbnew.py:4169
def GetShowToolbarButton(self)
Definition: pcbnew.py:4160
def GetIconFileName(self, dark)
Definition: pcbnew.py:4163
def GetCategoryName(self)
Definition: pcbnew.py:4154
def GetDescription(self)
Definition: pcbnew.py:4157
def GetName(self)
Definition: pcbnew.py:4151
def __init__(self)
Definition: pcbnew.py:4139
def defaults(self)
Definition: pcbnew.py:4146
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:5734
"int" GetLocalClearance(self, "wxString" aSource)
Definition: pcbnew.py:8703
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:8651
"wxString" GetNetname(self)
Definition: pcbnew.py:8683
"int" GetOwnClearance(self, "PCB_LAYER_ID" aLayer, "wxString" aSource=None)
Definition: pcbnew.py:8695
"void" SetLocalRatsnestVisible(self, "bool" aVisible)
Definition: pcbnew.py:8719
"wxString" GetShortNetname(self)
Definition: pcbnew.py:8691
"void" SetNet(self, "NETINFO_ITEM" aNetInfo)
Definition: pcbnew.py:8668
"NETCLASS *" GetEffectiveNetclass(self)
Definition: pcbnew.py:8711
"bool" GetLocalRatsnestVisible(self)
Definition: pcbnew.py:8723
"NETINFO_ITEM *" GetNet(self)
Definition: pcbnew.py:8664
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:8656
"int" GetLocalClearanceOverrides(self, "wxString" aSource)
Definition: pcbnew.py:8699
"NETCLASS *" GetNetClass(self)
Definition: pcbnew.py:8707
"void" SetNetCode(self, *args)
Definition: pcbnew.py:8676
"wxString" GetNetnameMsg(self)
Definition: pcbnew.py:8687
"wxString" GetNetClassName(self)
Definition: pcbnew.py:8715
"bool" IsConnected(self)
Definition: pcbnew.py:8660
"int" GetBoardThickness(self)
Definition: pcbnew.py:9120
"wxPoint const &" GetAuxOrigin(self)
Definition: pcbnew.py:9164
"void" SetCopperEdgeClearance(self, "int" aDistance)
Definition: pcbnew.py:9092
"SEVERITY" GetSeverity(self, "int" aDRCErrorCode)
Definition: pcbnew.py:8918
"BOARD_STACKUP const &" GetStackupDescriptor(self, *args)
Definition: pcbnew.py:8911
"ZONE_SETTINGS &" GetDefaultZoneSettings(self)
Definition: pcbnew.py:8934
"int" GetCurrentViaSize(self)
Definition: pcbnew.py:9006
"void" SetDefaultZoneSettings(self, "ZONE_SETTINGS" aSettings)
Definition: pcbnew.py:8938
"int" GetCustomViaDrill(self)
Definition: pcbnew.py:9026
"int" GetCustomDiffPairWidth(self)
Definition: pcbnew.py:9049
"int" GetCustomDiffPairViaGap(self)
Definition: pcbnew.py:9065
"unsigned int" GetDiffPairIndex(self)
Definition: pcbnew.py:9037
"bool" IsLayerEnabled(self, "PCB_LAYER_ID" aLayerId)
Definition: pcbnew.py:9108
"int" GetCurrentDiffPairWidth(self)
Definition: pcbnew.py:9076
"int" GetSmallestClearanceValue(self)
Definition: pcbnew.py:8966
"void" SetCustomDiffPairViaGap(self, "int" aGap)
Definition: pcbnew.py:9061
"int" GetLineThickness(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:9136
"void" SetCustomDiffPairGap(self, "int" aGap)
Definition: pcbnew.py:9053
"bool" Ignore(self, "int" aDRCErrorCode)
Definition: pcbnew.py:8922
"void" CloneFrom(self, "BOARD_DESIGN_SETTINGS" aOther)
Definition: pcbnew.py:9220
"NETCLASSES &" GetNetClasses(self)
Definition: pcbnew.py:8926
"void" SetCustomViaSize(self, "int" aSize)
Definition: pcbnew.py:9010
"int" GetCustomDiffPairGap(self)
Definition: pcbnew.py:9057
"int" GetCurrentMicroViaSize(self)
Definition: pcbnew.py:8970
"wxSize" GetTextSize(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:9140
"int" GetCurrentDiffPairGap(self)
Definition: pcbnew.py:9080
"int" GetCurrentMicroViaDrill(self)
Definition: pcbnew.py:8974
"void" SetDiffPairIndex(self, "unsigned int" aIndex)
Definition: pcbnew.py:9041
"bool" UseCustomDiffPairDimensions(self, *args)
Definition: pcbnew.py:9069
"void" SetAuxOrigin(self, "wxPoint" aOrigin)
Definition: pcbnew.py:9160
"LSET" GetEnabledLayers(self)
Definition: pcbnew.py:9100
"int" GetBiggestClearanceValue(self)
Definition: pcbnew.py:8962
"void" SetSilkClearance(self, "int" aDistance)
Definition: pcbnew.py:9096
"int" GetCustomViaSize(self)
Definition: pcbnew.py:9014
"unsigned int" GetTrackWidthIndex(self)
Definition: pcbnew.py:8978
"int" GetCurrentDiffPairViaGap(self)
Definition: pcbnew.py:9084
"bool" UseNetClassVia(self)
Definition: pcbnew.py:8954
"wxString const &" GetCurrentNetClassName(self)
Definition: pcbnew.py:8946
"int" GetCopperLayerCount(self)
Definition: pcbnew.py:9112
"void" SetBoardThickness(self, "int" aThickness)
Definition: pcbnew.py:9124
"void" SetNetClasses(self, "NETCLASSES" aNetClasses)
Definition: pcbnew.py:8930
"int" GetLayerClass(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:9156
"bool" UseNetClassDiffPair(self)
Definition: pcbnew.py:8958
"int" GetTextThickness(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:9144
"bool" UseNetClassTrack(self)
Definition: pcbnew.py:8950
"wxPoint const &" GetGridOrigin(self)
Definition: pcbnew.py:9172
"bool" LoadFromFile(self, *args)
Definition: pcbnew.py:8907
"void" SetCustomTrackWidth(self, "int" aWidth)
Definition: pcbnew.py:8990
"bool" GetTextUpright(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:9152
"NETCLASS *" GetDefault(self)
Definition: pcbnew.py:8942
"int" GetCustomTrackWidth(self)
Definition: pcbnew.py:8994
"void" SetTrackWidthIndex(self, "unsigned int" aIndex)
Definition: pcbnew.py:8982
"int" GetHolePlatingThickness(self)
Definition: pcbnew.py:9132
"int" GetCurrentTrackWidth(self)
Definition: pcbnew.py:8986
"void" SetGridOrigin(self, "wxPoint" aOrigin)
Definition: pcbnew.py:9168
"unsigned int" GetViaSizeIndex(self)
Definition: pcbnew.py:8998
"bool" UseCustomTrackViaSize(self, *args)
Definition: pcbnew.py:9030
"void" SetViaSizeIndex(self, "unsigned int" aIndex)
Definition: pcbnew.py:9002
"void" SetCustomViaDrill(self, "int" aDrill)
Definition: pcbnew.py:9022
"void" SetCustomDiffPairWidth(self, "int" aWidth)
Definition: pcbnew.py:9045
"void" SetMinHoleSeparation(self, "int" aDistance)
Definition: pcbnew.py:9088
def __init__(self, *args)
Definition: pcbnew.py:8900
"int" GetCurrentViaDrill(self)
Definition: pcbnew.py:9018
"void" SetEnabledLayers(self, "LSET" aMask)
Definition: pcbnew.py:9104
"bool" GetTextItalic(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:9148
"void" SetCopperLayerCount(self, "int" aNewLayerCount)
Definition: pcbnew.py:9116
def Delete(self, item)
Definition: pcbnew.py:8631
"void" SetZoneSettings(self, "ZONE_SETTINGS" aSettings)
Definition: pcbnew.py:8607
"ZONE_SETTINGS const &" GetZoneSettings(self)
Definition: pcbnew.py:8603
"void" RemoveNative(self, *args)
Definition: pcbnew.py:8595
"void" AddNative(self, *args)
Definition: pcbnew.py:8591
def Remove(self, item)
Definition: pcbnew.py:8621
"void" DeleteNative(self, "BOARD_ITEM" aItem)
Definition: pcbnew.py:8599
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:8587
def Add(self, item)
Definition: pcbnew.py:8611
def SetStartEnd(self, start, end)
Definition: pcbnew.py:8376
"BOARD *" GetBoard(self, *args)
Definition: pcbnew.py:8305
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:8228
"void" Flip(self, *args)
Definition: pcbnew.py:8298
"LSET" GetLayerSet(self)
Definition: pcbnew.py:8244
"wxPoint" GetCenter(self)
Definition: pcbnew.py:8208
"void" SetY(self, "int" aY)
Definition: pcbnew.py:8216
"bool" IsTrack(self)
Definition: pcbnew.py:8268
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:8188
"bool" IsOnCopperLayer(self)
Definition: pcbnew.py:8224
"int" GetY(self)
Definition: pcbnew.py:8204
"BOARD_ITEM_CONTAINER *" GetParent(self)
Definition: pcbnew.py:8232
"void" DeleteStructure(self)
Definition: pcbnew.py:8280
"void" SetX(self, "int" aX)
Definition: pcbnew.py:8212
def Cast(self)
Definition: pcbnew.py:8324
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:8260
"BOARD_ITEM *" Duplicate(self)
Definition: pcbnew.py:8256
"bool" IsLocked(self)
Definition: pcbnew.py:8272
"void" SetParentGroup(self, "PCB_GROUP" aGroup)
Definition: pcbnew.py:8192
"PCB_LAYER_ID" GetLayer(self)
Definition: pcbnew.py:8240
"void" Rotate(self, *args)
Definition: pcbnew.py:8291
"bool" IsOnLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:8264
"BOARD_ITEM_CONTAINER *" GetParentFootprint(self)
Definition: pcbnew.py:8236
"void" Move(self, *args)
Definition: pcbnew.py:8284
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:8316
"bool" IsConnected(self)
Definition: pcbnew.py:8220
"wxString" GetLayerName(self)
Definition: pcbnew.py:8312
"void" SetLayerSet(self, "LSET" aLayers)
Definition: pcbnew.py:8248
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
Definition: pcbnew.py:8320
"void" SetLocked(self, "bool" aLocked)
Definition: pcbnew.py:8276
"void" SetLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:8252
"PCB_GROUP *" GetParentGroup(self)
Definition: pcbnew.py:8196
"int" GetX(self)
Definition: pcbnew.py:8200
def SetPos(self, p)
Definition: pcbnew.py:8372
"void" OnBoardItemsAdded(self, "BOARD" aBoard, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aBoardItem)
Definition: pcbnew.py:16345
"void" OnBoardItemRemoved(self, "BOARD" aBoard, "BOARD_ITEM" aBoardItem)
Definition: pcbnew.py:16349
"void" OnBoardHighlightNetChanged(self, "BOARD" aBoard)
Definition: pcbnew.py:16369
"void" OnBoardNetSettingsChanged(self, "BOARD" aBoard)
Definition: pcbnew.py:16357
"void" OnBoardItemsRemoved(self, "BOARD" aBoard, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aBoardItem)
Definition: pcbnew.py:16353
"void" OnBoardItemAdded(self, "BOARD" aBoard, "BOARD_ITEM" aBoardItem)
Definition: pcbnew.py:16341
"void" OnBoardItemsChanged(self, "BOARD" aBoard, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aBoardItem)
Definition: pcbnew.py:16365
"void" OnBoardItemChanged(self, "BOARD" aBoard, "BOARD_ITEM" aBoardItem)
Definition: pcbnew.py:16361
def __init__(self)
Definition: pcbnew.py:16373
"void" OnItemChanged(self, "BOARD_ITEM" aItem)
Definition: pcbnew.py:16912
"LSET" GetEnabledLayers(self)
Definition: pcbnew.py:16629
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const" AllConnectedItems(self)
Definition: pcbnew.py:16468
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:16494
"void" RemoveNative(self, *args)
Definition: pcbnew.py:16530
def GetNetsByNetcode(self)
Definition: pcbnew.py:16970
"std::vector< PCB_MARKER *,std::allocator< PCB_MARKER * > >" ResolveDRCExclusions(self)
Definition: pcbnew.py:16593
"int" GetAreaCount(self)
Definition: pcbnew.py:16847
"void" SetVisibleLayers(self, "LSET" aLayerMask)
Definition: pcbnew.py:16649
"bool" SetLayerType(self, "PCB_LAYER_ID" aLayer, "LAYER_T" aLayerType)
Definition: pcbnew.py:16753
"void" SetFileFormatVersionAtLoad(self, "int" aVersion)
Definition: pcbnew.py:16510
"std::vector< PAD *,std::allocator< PAD * > > const" GetPads(self)
Definition: pcbnew.py:16765
"PAD *" GetPad(self, *args)
Definition: pcbnew.py:16863
"bool" IsLayerVisible(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:16641
def GetTracks(self)
Definition: pcbnew.py:16947
"wxString" ConvertKIIDsToCrossReferences(self, "wxString" aSource)
Definition: pcbnew.py:16562
"FOOTPRINT *" GetFootprint(self, "wxPoint" aPosition, "PCB_LAYER_ID" aActiveLayer, "bool" aVisibleOnly, "bool" aIgnoreLocked=False)
Definition: pcbnew.py:16888
"wxString const &" GetGenerator(self)
Definition: pcbnew.py:16522
"void" SetBoardUse(self, "BOARD_USE" aUse)
Definition: pcbnew.py:16398
"void" RemoveListener(self, "BOARD_LISTENER" aListener)
Definition: pcbnew.py:16908
"EDA_RECT const" GetBoardEdgesBoundingBox(self)
Definition: pcbnew.py:16799
"void" IncrementTimeStamp(self)
Definition: pcbnew.py:16406
"void" HighLightON(self, "bool" aValue=True)
Definition: pcbnew.py:16613
"PCB_PLOT_PARAMS const &" GetPlotOptions(self)
Definition: pcbnew.py:16697
"void" FinalizeBulkRemove(self, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aRemovedItems)
Definition: pcbnew.py:16538
"bool" IsLayerEnabled(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:16637
"EDA_RECT" ComputeBoundingBox(self, "bool" aBoardEdgesOnly=False)
Definition: pcbnew.py:16791
"wxString" GetClass(self)
Definition: pcbnew.py:16831
"BOARD_ITEM *" GetItem(self, "KIID" aID)
Definition: pcbnew.py:16550
def Save(self, filename)
Definition: pcbnew.py:16949
"void" SetVisibleAlls(self)
Definition: pcbnew.py:16661
"PAD *" GetPadFast(self, "wxPoint" aPosition, "LSET" aLayerMask)
Definition: pcbnew.py:16859
def GetAllNetClasses(self)
Definition: pcbnew.py:16983
"std::shared_ptr< CONNECTIVITY_DATA >" GetConnectivity(self)
Definition: pcbnew.py:16566
"ZONE *" GetArea(self, "int" index)
Definition: pcbnew.py:16839
"std::vector< wxString,std::allocator< wxString > >" GetNetClassAssignmentCandidates(self)
Definition: pcbnew.py:16819
"void" ResetNetHighLight(self)
Definition: pcbnew.py:16597
"void" ClearProject(self)
Definition: pcbnew.py:16589
"std::list< ZONE *,std::allocator< ZONE * > >" GetZoneList(self, "bool" aIncludeZonesInFootprints=False)
Definition: pcbnew.py:16843
"void" MapNets(self, "BOARD" aDestBoard)
Definition: pcbnew.py:16896
"FOOTPRINTS const &" Footprints(self, *args)
Definition: pcbnew.py:16433
"bool" SetLayerName(self, "PCB_LAYER_ID" aLayer, "wxString" aLayerName)
Definition: pcbnew.py:16736
"void" SanitizeNetcodes(self)
Definition: pcbnew.py:16900
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:16389
"ZONES const &" Zones(self, *args)
Definition: pcbnew.py:16447
"wxPoint" GetPosition(self)
Definition: pcbnew.py:16490
"void" SetCopperLayerCount(self, "int" aCount)
Definition: pcbnew.py:16625
"void" SetEnabledLayers(self, "LSET" aLayerMask)
Definition: pcbnew.py:16633
"wxString" GroupsSanityCheckInternal(self, "bool" repair)
Definition: pcbnew.py:16924
"void" GetSortedPadListByXthenYCoord(self, "PADS_VEC" aVector, "int" aNetCode=-1)
Definition: pcbnew.py:16876
"unsigned int" GetUnconnectedNetCount(self)
Definition: pcbnew.py:16761
"LSET" GetVisibleLayers(self)
Definition: pcbnew.py:16645
"TRACKS const &" Tracks(self, *args)
Definition: pcbnew.py:16426
"TRACKS" TracksInNet(self, "int" aNetCode)
Definition: pcbnew.py:16884
"unsigned int" GetNodesCount(self, "int" aNet=-1)
Definition: pcbnew.py:16757
"void" AddListener(self, "BOARD_LISTENER" aListener)
Definition: pcbnew.py:16904
"NETINFO_ITEM *" FindNet(self, *args)
Definition: pcbnew.py:16773
"wxString" GetStandardLayerName("PCB_LAYER_ID" aLayerId)
Definition: pcbnew.py:16741
"bool" IsEmpty(self)
Definition: pcbnew.py:16502
"bool" GetBoardPolygonOutlines(self, "SHAPE_POLY_SET" aOutlines, "OUTLINE_ERROR_HANDLER *" aErrorHandler=None)
Definition: pcbnew.py:16720
"int" GetTimeStamp(self)
Definition: pcbnew.py:16410
"void" FillItemMap(self, "std::map< KIID,EDA_ITEM *,std::less< KIID >,std::allocator< std::pair< KIID const,EDA_ITEM * > > > &" aMap)
Definition: pcbnew.py:16554
"void" SetFileName(self, "wxString" aFileName)
Definition: pcbnew.py:16418
"GROUPS const &" Groups(self, *args)
Definition: pcbnew.py:16461
"PCB_LAYER_ID const" GetLayerID(self, "wxString" aLayerName)
Definition: pcbnew.py:16728
def GetFootprints(self)
Definition: pcbnew.py:16945
"std::tuple< int,double,double >" GetTrackLength(self, "PCB_TRACK" aTrack)
Definition: pcbnew.py:16880
"void" SetElementVisibility(self, "GAL_LAYER_ID" aLayer, "bool" aNewState)
Definition: pcbnew.py:16669
"void" SetPageSettings(self, "PAGE_INFO const &" aPageSettings)
Definition: pcbnew.py:16693
"void" BuildListOfNets(self)
Definition: pcbnew.py:16769
"void" SynchronizeNetsAndNetClasses(self)
Definition: pcbnew.py:16823
"void" SetTitleBlock(self, "TITLE_BLOCK" aTitleBlock)
Definition: pcbnew.py:16712
"PROJECT *" GetProject(self)
Definition: pcbnew.py:16581
"PAGE_INFO const &" GetPageSettings(self)
Definition: pcbnew.py:16689
"void" BuildConnectivity(self, "PROGRESS_REPORTER *" aReporter=None)
Definition: pcbnew.py:16570
"void" SetGenerator(self, "wxString" aGenerator)
Definition: pcbnew.py:16518
"NETINFO_LIST &" GetNetInfo(self, *args)
Definition: pcbnew.py:16780
"bool" IsFootprintLayerVisible(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:16673
"LAYER_T" GetLayerType(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:16749
"bool" IsFootprintHolder(self)
Definition: pcbnew.py:16414
"bool" SetLayerDescr(self, "PCB_LAYER_ID" aIndex, "LAYER" aLayer)
Definition: pcbnew.py:16745
"int" GetCopperLayerCount(self)
Definition: pcbnew.py:16621
"void" OnItemsChanged(self, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aItems)
Definition: pcbnew.py:16916
def GetViasDimensionsList(self)
Definition: pcbnew.py:16958
"bool" ResolveTextVar(self, "wxString" token, "int" aDepth)
Definition: pcbnew.py:16480
"TITLE_BLOCK const &" GetTitleBlock(self, *args)
Definition: pcbnew.py:16705
"void" DeleteAllFootprints(self)
Definition: pcbnew.py:16546
"SEARCH_RESULT" Visit(self, "INSPECTOR" inspector, "void *" testData, "KICAD_T const []" scanTypes)
Definition: pcbnew.py:16807
"std::map< wxString,wxString,std::less< wxString >,std::allocator< std::pair< wxString const,wxString > > > const &" GetProperties(self)
Definition: pcbnew.py:16472
"void" HighLightOFF(self)
Definition: pcbnew.py:16617
"MARKERS const &" Markers(self, *args)
Definition: pcbnew.py:16454
"void" AddNative(self, *args)
Definition: pcbnew.py:16526
"ZONE_SETTINGS const &" GetZoneSettings(self)
Definition: pcbnew.py:16681
def GetNetClasses(self)
Definition: pcbnew.py:16952
"void" PadDelete(self, "PAD" aPad)
Definition: pcbnew.py:16872
"FOOTPRINT *" FindFootprintByPath(self, "KIID_PATH" aPath)
Definition: pcbnew.py:16815
"void" ConvertBrdLayerToPolygonalContours(self, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aOutlines)
Definition: pcbnew.py:16724
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:16394
"void" ClearAllNetCodes(self)
Definition: pcbnew.py:16892
"void" FinalizeBulkAdd(self, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > &" aNewItems)
Definition: pcbnew.py:16534
"GAL_SET" GetVisibleElements(self)
Definition: pcbnew.py:16653
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:16506
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:16803
"void" SetHighLightNet(self, "int" aNetCode, "bool" aMulti=False)
Definition: pcbnew.py:16605
"FOOTPRINT *" GetFirstFootprint(self)
Definition: pcbnew.py:16542
"ZONE *" AddArea(self, "PICKED_ITEMS_LIST *" aNewZonesList, "int" aNetcode, "PCB_LAYER_ID" aLayer, "wxPoint" aStartPointPosition, "ZONE_BORDER_DISPLAY_STYLE" aHatch)
Definition: pcbnew.py:16851
"wxString const" GetLayerName(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:16732
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:16795
def GetCurrentNetClassName(self)
Definition: pcbnew.py:16955
"void" SetProject(self, "PROJECT *" aProject)
Definition: pcbnew.py:16585
"bool" TestZoneIntersection(self, "ZONE" aZone1, "ZONE" aZone2)
Definition: pcbnew.py:16855
"wxString" ConvertCrossReferencesToKIIDs(self, "wxString" aSource)
Definition: pcbnew.py:16558
"BOARD_DESIGN_SETTINGS &" GetDesignSettings(self)
Definition: pcbnew.py:16677
def GetNetcodeFromNetname(self, netname)
Definition: pcbnew.py:16976
def GetNetsByName(self)
Definition: pcbnew.py:16964
"void" SetVisibleElements(self, "GAL_SET" aMask)
Definition: pcbnew.py:16657
"int" SetAreasNetCodesFromNetNames(self)
Definition: pcbnew.py:16835
"void" SetZoneSettings(self, "ZONE_SETTINGS" aSettings)
Definition: pcbnew.py:16685
"wxString" GroupsSanityCheck(self, "bool" repair=False)
Definition: pcbnew.py:16920
def GetTrackWidthList(self)
Definition: pcbnew.py:16961
"DRAWINGS const &" Drawings(self, *args)
Definition: pcbnew.py:16440
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:16716
"wxString const &" GetFileName(self)
Definition: pcbnew.py:16422
def GetDrawings(self)
Definition: pcbnew.py:16946
"BOARD_USE" GetBoardUse(self)
Definition: pcbnew.py:16402
"int" GetFileFormatVersionAtLoad(self)
Definition: pcbnew.py:16514
"bool" IsHighLightNetON(self)
Definition: pcbnew.py:16609
"unsigned int" GetNetCount(self)
Definition: pcbnew.py:16787
"FOOTPRINT *" FindFootprintByReference(self, "wxString" aReference)
Definition: pcbnew.py:16811
"void" DeleteMARKERs(self, *args)
Definition: pcbnew.py:16574
"void" SetPlotOptions(self, "PCB_PLOT_PARAMS" aOptions)
Definition: pcbnew.py:16701
"wxPoint const" GetFocusPosition(self)
Definition: pcbnew.py:16498
"bool" IsElementVisible(self, "GAL_LAYER_ID" aLayer)
Definition: pcbnew.py:16665
"std::set< int,std::less< int >,std::allocator< int > > const &" GetHighLightNetCodes(self)
Definition: pcbnew.py:16601
"void" SynchronizeProperties(self)
Definition: pcbnew.py:16827
"BOARD::GroupLegalOpsField" GroupLegalOps(self, "PCB_SELECTION const &" selection)
Definition: pcbnew.py:16928
"void" SetProperties(self, "MAP_STRING_STRING" aProps)
Definition: pcbnew.py:16476
def __init__(self, *args)
Definition: pcbnew.py:4680
Definition: pcbnew.py:9227
def __init__(self)
Definition: pcbnew.py:9238
def __init__(self, "ZONE" aZone)
Definition: pcbnew.py:9252
"KIGFX::COLOR4D" Darkened(self, "double" aFactor)
Definition: pcbnew.py:2352
"KIGFX::COLOR4D &" Brighten(self, "double" aFactor)
Definition: pcbnew.py:2332
"wxString" ToHexString(self)
Definition: pcbnew.py:2304
"wxString" ToCSSString(self)
Definition: pcbnew.py:2296
"unsigned int" ToU32(self)
Definition: pcbnew.py:2316
"KIGFX::COLOR4D" Inverted(self)
Definition: pcbnew.py:2364
"KIGFX::COLOR4D &" Darken(self, "double" aFactor)
Definition: pcbnew.py:2336
"void" FromU32(self, "unsigned int" aPackedColor)
Definition: pcbnew.py:2320
"wxColour" ToColour(self)
Definition: pcbnew.py:2308
"double" Distance(self, "COLOR4D" other)
Definition: pcbnew.py:2380
"void" ToHSV(self, "double &" aOutHue, "double &" aOutSaturation, "double &" aOutValue, "bool" aAlwaysDefineHue=False)
Definition: pcbnew.py:2372
"KIGFX::COLOR4D &" Invert(self)
Definition: pcbnew.py:2340
"double" GetBrightness(self)
Definition: pcbnew.py:2368
"KIGFX::COLOR4D &" Saturate(self, "double" aFactor)
Definition: pcbnew.py:2344
"bool" SetFromWxString(self, "wxString" aColorString)
Definition: pcbnew.py:2292
"KIGFX::COLOR4D" Mix(self, "COLOR4D" aColor, "double" aFactor)
Definition: pcbnew.py:2356
"KIGFX::COLOR4D &" FromCSSRGBA(self, "int" aRed, "int" aGreen, "int" aBlue, "double" aAlpha=1.0)
Definition: pcbnew.py:2278
def __init__(self, *args)
Definition: pcbnew.py:2282
"KIGFX::COLOR4D" WithAlpha(self, "double" aAlpha)
Definition: pcbnew.py:2360
"void" FromHSL(self, "double" aInHue, "double" aInSaturation, "double" aInLightness)
Definition: pcbnew.py:2328
"KIGFX::COLOR4D" LegacyMix(self, "COLOR4D" aColor)
Definition: pcbnew.py:2312
"void" ToHSL(self, "double &" aOutHue, "double &" aOutSaturation, "double &" aOutValue)
Definition: pcbnew.py:2324
"KIGFX::COLOR4D" Brightened(self, "double" aFactor)
Definition: pcbnew.py:2348
"bool" SetFromHexString(self, "wxString" aColorString)
Definition: pcbnew.py:2300
"void" FromHSV(self, "double" aInH, "double" aInS, "double" aInV)
Definition: pcbnew.py:2376
"EDA_COLOR_T" FindNearestLegacyColor("int" aR, "int" aG, "int" aB)
Definition: pcbnew.py:2385
"std::vector< RN_DYNAMIC_LINE,std::allocator< RN_DYNAMIC_LINE > > const &" GetDynamicRatsnest(self)
Definition: pcbnew.py:9402
"void" BlockRatsnestItems(self, "std::vector< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > const &" aItems)
Definition: pcbnew.py:9414
"unsigned int" GetUnconnectedCount(self)
Definition: pcbnew.py:9351
"void" GetConnectedPads(self, *args)
Definition: pcbnew.py:9371
"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)
Definition: pcbnew.py:9378
"std::vector< PCB_TRACK *,std::allocator< PCB_TRACK * > > const" GetConnectedTracks(self, "BOARD_CONNECTED_ITEM" aItem)
Definition: pcbnew.py:9367
"void" Move(self, "VECTOR2I" aDelta)
Definition: pcbnew.py:9316
"void" MarkItemNetAsDirty(self, "BOARD_ITEM" aItem)
Definition: pcbnew.py:9426
"bool" IsConnectedOnLayer(self, *args)
Definition: pcbnew.py:9355
"void" Clear(self)
Definition: pcbnew.py:9320
"void" HideDynamicRatsnest(self)
Definition: pcbnew.py:9394
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const" GetConnectedItems(self, "BOARD_CONNECTED_ITEM" aItem, "KICAD_T const []" aTypes, "bool" aIgnoreNetcodes=False)
Definition: pcbnew.py:9406
"unsigned int" GetNodeCount(self, "int" aNet=-1)
Definition: pcbnew.py:9359
"void" PropagateNets(self, *args)
Definition: pcbnew.py:9332
"void" Build(self, *args)
Definition: pcbnew.py:9297
"bool" Remove(self, "BOARD_ITEM" aItem)
Definition: pcbnew.py:9308
"int" GetNetCount(self)
Definition: pcbnew.py:9324
"void" ComputeDynamicRatsnest(self, *args)
Definition: pcbnew.py:9398
"bool" CheckConnectivity(self, "std::vector< CN_DISJOINT_NET_ENTRY,std::allocator< CN_DISJOINT_NET_ENTRY > > &" aReport)
Definition: pcbnew.py:9336
"void" GetUnconnectedEdges(self, "std::vector< CN_EDGE,std::allocator< CN_EDGE > > &" aEdges)
Definition: pcbnew.py:9382
"std::shared_ptr< FROM_TO_CACHE >" GetFromToCache(self)
Definition: pcbnew.py:9438
"RN_NET *" GetRatsnestForNet(self, "int" aNet)
Definition: pcbnew.py:9328
"void" ClearDynamicRatsnest(self)
Definition: pcbnew.py:9390
"bool" Add(self, "BOARD_ITEM" aItem)
Definition: pcbnew.py:9304
"void" SetProgressReporter(self, "PROGRESS_REPORTER *" aReporter)
Definition: pcbnew.py:9430
"std::shared_ptr< CN_CONNECTIVITY_ALGO >" GetConnectivityAlgo(self)
Definition: pcbnew.py:9418
"KISPINLOCK &" GetLock(self)
Definition: pcbnew.py:9422
"void" FindIsolatedCopperIslands(self, *args)
Definition: pcbnew.py:9340
"std::vector< BOARD_CONNECTED_ITEM *,std::allocator< BOARD_CONNECTED_ITEM * > > const" GetNetItems(self, "int" aNetCode, "KICAD_T const []" aTypes)
Definition: pcbnew.py:9410
"std::map< int,wxString,std::less< int >,std::allocator< std::pair< int const,wxString > > > const &" GetNetclassMap(self)
Definition: pcbnew.py:9434
"unsigned int" GetPadCount(self, "int" aNet=-1)
Definition: pcbnew.py:9363
"bool" Update(self, "BOARD_ITEM" aItem)
Definition: pcbnew.py:9312
"bool" TestTrackEndpointDangling(self, "PCB_TRACK" aTrack, "wxPoint" aPos=None)
Definition: pcbnew.py:9386
def __init__(self, *args)
Definition: pcbnew.py:9290
"void" RecalculateRatsnest(self, "BOARD_COMMIT *" aCommit=None)
Definition: pcbnew.py:9347
def __init__(self)
Definition: pcbnew.py:6790
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:8397
"wxPoint" GetPosition(self)
Definition: pcbnew.py:8409
"wxString" GetClass(self)
Definition: pcbnew.py:8401
"DELETED_BOARD_ITEM *" GetInstance()
Definition: pcbnew.py:8414
"void" SetPosition(self, "wxPoint" arg2)
Definition: pcbnew.py:8405
def __init__(self, *args)
Definition: pcbnew.py:8843
"bool" __eq__(self, "DIFF_PAIR_DIMENSION" aOther)
Definition: pcbnew.py:8850
"bool" __lt__(self, "DIFF_PAIR_DIMENSION" aOther)
Definition: pcbnew.py:8854
"std::deque< BOARD_ITEM * >::size_type" size(self)
Definition: pcbnew.py:10363
"std::deque< BOARD_ITEM * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:10336
"std::deque< BOARD_ITEM * >::value_type" front(self)
Definition: pcbnew.py:10419
"void" clear(self)
Definition: pcbnew.py:10387
"std::deque< BOARD_ITEM * >::iterator" end(self)
Definition: pcbnew.py:10375
"std::deque< BOARD_ITEM * >::size_type" __len__(self)
Definition: pcbnew.py:10310
"void" __delslice__(self, "std::deque< BOARD_ITEM * >::difference_type" i, "std::deque< BOARD_ITEM * >::difference_type" j)
Definition: pcbnew.py:10325
"std::deque< BOARD_ITEM * >::value_type" pop(self)
Definition: pcbnew.py:10351
"std::deque< BOARD_ITEM * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:10379
"bool" empty(self)
Definition: pcbnew.py:10359
"void" assign(self, "std::deque< BOARD_ITEM * >::size_type" n, "BOARD_ITEM" x)
Definition: pcbnew.py:10427
"bool" __bool__(self)
Definition: pcbnew.py:10306
"void" pop_front(self)
Definition: pcbnew.py:10445
"void" __setslice__(self, *args)
Definition: pcbnew.py:10318
"void" swap(self, "DRAWINGS" v)
Definition: pcbnew.py:10367
"std::deque< BOARD_ITEM * >::iterator" erase(self, *args)
Definition: pcbnew.py:10399
"void" pop_back(self)
Definition: pcbnew.py:10395
"std::deque< BOARD_ITEM *,std::allocator< BOARD_ITEM * > > *" __getslice__(self, "std::deque< BOARD_ITEM * >::difference_type" i, "std::deque< BOARD_ITEM * >::difference_type" j)
Definition: pcbnew.py:10314
"void" push_front(self, "BOARD_ITEM" x)
Definition: pcbnew.py:10449
"void" resize(self, *args)
Definition: pcbnew.py:10431
"void" __delitem__(self, *args)
Definition: pcbnew.py:10329
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:10296
"std::deque< BOARD_ITEM * >::reverse_iterator" rend(self)
Definition: pcbnew.py:10383
"std::deque< BOARD_ITEM * >::iterator" begin(self)
Definition: pcbnew.py:10371
"void" __setitem__(self, *args)
Definition: pcbnew.py:10343
"void" push_back(self, "BOARD_ITEM" x)
Definition: pcbnew.py:10415
def __init__(self, *args)
Definition: pcbnew.py:10406
def __iter__(self)
Definition: pcbnew.py:10299
"std::deque< BOARD_ITEM * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:10391
"std::deque< BOARD_ITEM * >::value_type" back(self)
Definition: pcbnew.py:10423
"void" append(self, "BOARD_ITEM" x)
Definition: pcbnew.py:10355
"bool" __nonzero__(self)
Definition: pcbnew.py:10302
"void" insert(self, *args)
Definition: pcbnew.py:10438
"wxString" GetPrecisionString(self)
Definition: pcbnew.py:6944
def __init__(self, "int" l=2, "int" r=4)
Definition: pcbnew.py:6940
def __init__(self, "int" aDiameter, "bool" a_NotPlated)
Definition: pcbnew.py:6901
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:1554
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:1410
"void" SetBrightened(self)
Definition: pcbnew.py:1471
"void" SetState(self, "EDA_ITEM_FLAGS" type, "bool" state)
Definition: pcbnew.py:1491
"EDA_ITEM *" GetParent(self)
Definition: pcbnew.py:1419
"void" ClearBrightened(self)
Definition: pcbnew.py:1479
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:1586
"bool" Sort("EDA_ITEM" aLeft, "EDA_ITEM" aRight)
Definition: pcbnew.py:1610
"bool" IsForceVisible(self)
Definition: pcbnew.py:1539
"wxPoint" GetPosition(self)
Definition: pcbnew.py:1558
"bool" IsResized(self)
Definition: pcbnew.py:1455
"void" SetParent(self, "EDA_ITEM" aParent)
Definition: pcbnew.py:1423
"bool" IsType(self, "KICAD_T const []" aScanTypes)
Definition: pcbnew.py:1531
"void" ClearFlags(self, *args)
Definition: pcbnew.py:1507
"void" SetStatus(self, "EDA_ITEM_FLAGS" aStatus)
Definition: pcbnew.py:1499
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
Definition: pcbnew.py:1590
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:1618
"EDA_ITEM_FLAGS" GetFlags(self)
Definition: pcbnew.py:1511
"bool" IsDragging(self)
Definition: pcbnew.py:1439
"void" ClearSelected(self)
Definition: pcbnew.py:1475
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:1582
"bool" IsEntered(self)
Definition: pcbnew.py:1451
"bool" HasFlag(self, "EDA_ITEM_FLAGS" aFlag)
Definition: pcbnew.py:1515
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:1543
"int" GetState(self, "EDA_ITEM_FLAGS" type)
Definition: pcbnew.py:1487
"bool" IsSelected(self)
Definition: pcbnew.py:1447
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:1570
"BOX2I const" ViewBBox(self)
Definition: pcbnew.py:1614
"SEARCH_RESULT" Visit(self, "INSPECTOR" inspector, "void *" testData, "KICAD_T const []" scanTypes)
Definition: pcbnew.py:1574
"bool" IsModified(self)
Definition: pcbnew.py:1427
"EDA_ITEM_FLAGS" GetStatus(self)
Definition: pcbnew.py:1495
"void" ClearEditFlags(self)
Definition: pcbnew.py:1527
"bool" IsNew(self)
Definition: pcbnew.py:1431
"bool" HitTest(self, *args)
Definition: pcbnew.py:1547
"EDA_ITEM_FLAGS" GetEditFlags(self)
Definition: pcbnew.py:1519
"void" SetWireImage(self)
Definition: pcbnew.py:1463
"void" ClearTempFlags(self)
Definition: pcbnew.py:1523
"bool" IsMoving(self)
Definition: pcbnew.py:1435
"void" SetSelected(self)
Definition: pcbnew.py:1467
"KICAD_T" Type(self)
Definition: pcbnew.py:1415
"bool" IsWireImage(self)
Definition: pcbnew.py:1443
"bool" Replace(self, *args)
Definition: pcbnew.py:1594
"void" SetForceVisible(self, "bool" aEnable)
Definition: pcbnew.py:1535
"void" SetFlags(self, "EDA_ITEM_FLAGS" aMask)
Definition: pcbnew.py:1503
"wxString" GetClass(self)
Definition: pcbnew.py:1578
"wxPoint const" GetFocusPosition(self)
Definition: pcbnew.py:1566
"void" SetModified(self)
Definition: pcbnew.py:1483
"bool" IsBrightened(self)
Definition: pcbnew.py:1459
"bool" IsReplaceable(self)
Definition: pcbnew.py:1601
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:1562
"bool" __lt__(self, "EDA_ITEM" aItem)
Definition: pcbnew.py:1605
"int" GetHeight(self)
Definition: pcbnew.py:1704
"void" SetY(self, "int" val)
Definition: pcbnew.py:1753
"void" SetOrigin(self, *args)
Definition: pcbnew.py:1728
"void" SetSize(self, *args)
Definition: pcbnew.py:1735
"wxSize const" GetSize(self)
Definition: pcbnew.py:1668
"void" Normalize(self)
Definition: pcbnew.py:1656
"EDA_RECT &" Inflate(self, *args)
Definition: pcbnew.py:1809
"bool" Intersects(self, *args)
Definition: pcbnew.py:1776
"wxPoint const" ClosestPointTo(self, "wxPoint" aPoint)
Definition: pcbnew.py:1785
"int" GetRight(self)
Definition: pcbnew.py:1708
"int" GetX(self)
Definition: pcbnew.py:1676
"wxPoint const" GetOrigin(self)
Definition: pcbnew.py:1684
"void" SetWidth(self, "int" val)
Definition: pcbnew.py:1757
"void" Offset(self, *args)
Definition: pcbnew.py:1742
"void" SetEnd(self, *args)
Definition: pcbnew.py:1765
"int" GetY(self)
Definition: pcbnew.py:1680
"bool" IntersectsCircleEdge(self, "wxPoint" aCenter, "int const" aRadius, "int const" aWidth)
Definition: pcbnew.py:1797
"int" GetSizeMax(self)
Definition: pcbnew.py:1672
"void" Merge(self, *args)
Definition: pcbnew.py:1816
"int" GetBottom(self)
Definition: pcbnew.py:1720
"bool" IsValid(self)
Definition: pcbnew.py:1724
"EDA_RECT" Common(self, "EDA_RECT" aRect)
Definition: pcbnew.py:1827
"wxPoint const" GetEnd(self)
Definition: pcbnew.py:1692
"wxPoint const" GetPosition(self)
Definition: pcbnew.py:1688
"void" SetHeight(self, "int" val)
Definition: pcbnew.py:1761
"BOX2I" getBOX2I(self)
Definition: pcbnew.py:1805
"double" GetArea(self)
Definition: pcbnew.py:1823
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:1652
"int" GetWidth(self)
Definition: pcbnew.py:1700
"int" GetLeft(self)
Definition: pcbnew.py:1712
"void" SetX(self, "int" val)
Definition: pcbnew.py:1749
"void" RevertYAxis(self)
Definition: pcbnew.py:1772
"EDA_RECT const" GetBoundingBoxRotated(self, "wxPoint" aRotCenter, "double" aAngle)
Definition: pcbnew.py:1831
"int" GetTop(self)
Definition: pcbnew.py:1716
def __init__(self, *args)
Definition: pcbnew.py:1640
"bool" Contains(self, *args)
Definition: pcbnew.py:1660
"wxPoint" Centre(self)
Definition: pcbnew.py:1648
"wxRect" getWxRect(self)
Definition: pcbnew.py:1801
"bool" IntersectsCircle(self, "wxPoint" aCenter, "int const" aRadius)
Definition: pcbnew.py:1793
"wxPoint const" GetCenter(self)
Definition: pcbnew.py:1696
"wxPoint const" FarthestPointTo(self, "wxPoint" aPoint)
Definition: pcbnew.py:1789
"int" GetEndX(self)
Definition: pcbnew.py:13247
"void" SetWidth(self, "int" aWidth)
Definition: pcbnew.py:13199
"int" GetRadius(self)
Definition: pcbnew.py:13307
"void" RebuildBezierToSegmentsPointsList(self, "int" aMinSegLen)
Definition: pcbnew.py:13350
"int" GetWidth(self)
Definition: pcbnew.py:13203
"void" SetStart(self, "wxPoint" aStart)
Definition: pcbnew.py:13227
"void" SetEndY(self, "int" y)
Definition: pcbnew.py:13255
"std::vector< wxPoint,std::allocator< wxPoint > > const &" GetBezierPoints(self)
Definition: pcbnew.py:13319
"wxPoint const &" GetBezierC2(self)
Definition: pcbnew.py:13275
"wxPoint" GetArcMid(self)
Definition: pcbnew.py:13295
"void" SetFillMode(self, "FILL_T" aFill)
Definition: pcbnew.py:13183
"int" GetEndY(self)
Definition: pcbnew.py:13243
"void" SetEndX(self, "int" x)
Definition: pcbnew.py:13259
"void" SetPolyPoints(self, "wxPoint_Vector" aPoints)
Definition: pcbnew.py:13346
"void" SetFilled(self, "bool" aFlag)
Definition: pcbnew.py:13195
"bool" IsPolyShapeValid(self)
Definition: pcbnew.py:13338
"bool" EndsSwapped(self)
Definition: pcbnew.py:13291
"void" SetStartX(self, "int" x)
Definition: pcbnew.py:13235
"void" SetStartY(self, "int" y)
Definition: pcbnew.py:13231
"void" SetArcGeometry(self, "wxPoint" aStart, "wxPoint" aMid, "wxPoint" aEnd)
Definition: pcbnew.py:13311
"void" SetBezierC1(self, "wxPoint" aPt)
Definition: pcbnew.py:13263
"void" DupPolyPointsList(self, "wxPoint_Vector" aBuffer)
Definition: pcbnew.py:13323
"void" CalcArcAngles(self, "double &" aStartAngle, "double &" aEndAngle)
Definition: pcbnew.py:13303
"wxPoint const &" GetStart(self)
Definition: pcbnew.py:13215
"wxString" SHAPE_T_asString(self)
Definition: pcbnew.py:13179
"int" Compare(self, "EDA_SHAPE" aOther)
Definition: pcbnew.py:13370
"wxPoint const &" GetBezierC1(self)
Definition: pcbnew.py:13267
"int" GetStartX(self)
Definition: pcbnew.py:13223
"int" GetPointCount(self)
Definition: pcbnew.py:13327
"void" SwapShape(self, "EDA_SHAPE" aImage)
Definition: pcbnew.py:13171
"wxPoint const &" GetEnd(self)
Definition: pcbnew.py:13239
"FILL_T" GetFillType(self)
Definition: pcbnew.py:13187
"SHAPE_T" GetShape(self)
Definition: pcbnew.py:13211
"bool" IsFilled(self)
Definition: pcbnew.py:13191
"void" SetCenter(self, "wxPoint" aCenter)
Definition: pcbnew.py:13279
"SHAPE_POLY_SET const &" GetPolyShape(self, *args)
Definition: pcbnew.py:13331
"void" SetArcAngleAndEnd(self, "double" aAngle, "bool" aCheckNegativeAngle=False)
Definition: pcbnew.py:13283
"wxString" ShowShape(self)
Definition: pcbnew.py:13175
"void" ShapeGetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:13358
"double" GetLength(self)
Definition: pcbnew.py:13362
"void" SetShape(self, "SHAPE_T" aShape)
Definition: pcbnew.py:13207
"std::vector< SHAPE *,std::allocator< SHAPE * > >" MakeEffectiveShapes(self)
Definition: pcbnew.py:13354
"std::vector< wxPoint,std::allocator< wxPoint > >" GetRectCorners(self)
Definition: pcbnew.py:13299
"double" GetArcAngle(self)
Definition: pcbnew.py:13287
"void" SetCachedArcData(self, "wxPoint" aStart, "wxPoint" aMid, "wxPoint" aEnd, "wxPoint" aCenter)
Definition: pcbnew.py:13315
"void" SetPolyShape(self, "SHAPE_POLY_SET" aShape)
Definition: pcbnew.py:13342
"void" SetEnd(self, "wxPoint" aEnd)
Definition: pcbnew.py:13251
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth)
Definition: pcbnew.py:13366
"void" SetBezierC2(self, "wxPoint" aPt)
Definition: pcbnew.py:13271
"int" GetStartY(self)
Definition: pcbnew.py:13219
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:13166
"void" SwapText(self, "EDA_TEXT" aTradingPartner)
Definition: pcbnew.py:2700
"wxPoint const &" GetTextPos(self)
Definition: pcbnew.py:2744
"void" Empty(self)
Definition: pcbnew.py:2760
"void" SetMultilineAllowed(self, "bool" aAllow)
Definition: pcbnew.py:2668
"void" SwapEffects(self, "EDA_TEXT" aTradingPartner)
Definition: pcbnew.py:2696
"wxSize const &" GetTextSize(self)
Definition: pcbnew.py:2720
"void" SetHorizJustify(self, "EDA_TEXT_HJUSTIFY_T" aType)
Definition: pcbnew.py:2684
"void" GetLinePositions(self, "wxPoint_Vector" aPositions, "int" aLineCount)
Definition: pcbnew.py:2813
"void" SetMirrored(self, "bool" isMirrored)
Definition: pcbnew.py:2660
"EDA_TEXT_VJUSTIFY_T" MapVertJustify("int" aVertJustify)
Definition: pcbnew.py:2770
"EDA_TEXT_HJUSTIFY_T" GetDrawHorizJustify(self)
Definition: pcbnew.py:2829
"int" GetTextWidth(self)
Definition: pcbnew.py:2728
"int" GetTextThickness(self)
Definition: pcbnew.py:2612
"EDA_TEXT_VJUSTIFY_T" GetVertJustify(self)
Definition: pcbnew.py:2680
"void" Print(self, "RENDER_SETTINGS const *" aSettings, "wxPoint" aOffset, "COLOR4D" aColor, "OUTLINE_MODE" aDisplay_mode=FILLED)
Definition: pcbnew.py:2774
"int" LenSize(self, "wxString" aLine, "int" aThickness)
Definition: pcbnew.py:2797
"void" SetTextX(self, "int" aX)
Definition: pcbnew.py:2748
"wxString" GetTextStyleName(self)
Definition: pcbnew.py:2809
"EDA_RECT" GetTextBox(self, "int" aLine=-1, "bool" aInvertY=False)
Definition: pcbnew.py:2801
"int" GetTextHeight(self)
Definition: pcbnew.py:2736
"int" Compare(self, "EDA_TEXT" aOther)
Definition: pcbnew.py:2837
"bool" Replace(self, "wxFindReplaceData const &" aSearchData)
Definition: pcbnew.py:2708
"std::shared_ptr< SHAPE_COMPOUND >" GetEffectiveTextShape(self)
Definition: pcbnew.py:2786
"void" Offset(self, "wxPoint" aOffset)
Definition: pcbnew.py:2756
"void" SetTextThickness(self, "int" aWidth)
Definition: pcbnew.py:2608
"bool" IsMirrored(self)
Definition: pcbnew.py:2664
"double" GetTextAngleRadians(self)
Definition: pcbnew.py:2632
"bool" TextHitTest(self, *args)
Definition: pcbnew.py:2790
"bool" IsVisible(self)
Definition: pcbnew.py:2656
"void" SetTextPos(self, "wxPoint" aPoint)
Definition: pcbnew.py:2740
"wxString" ShortenedShownText(self)
Definition: pcbnew.py:2596
"bool" IsBold(self)
Definition: pcbnew.py:2648
"double" GetDrawRotation(self)
Definition: pcbnew.py:2821
"void" SetTextY(self, "int" aY)
Definition: pcbnew.py:2752
"void" SetTextHeight(self, "int" aHeight)
Definition: pcbnew.py:2732
"int" GetEffectiveTextPenWidth(self, "int" aDefaultWidth=0)
Definition: pcbnew.py:2616
"double" GetTextAngleDegrees(self)
Definition: pcbnew.py:2628
"EDA_TEXT_HJUSTIFY_T" MapHorizJustify("int" aHorizJustify)
Definition: pcbnew.py:2765
"void" SetTextAngle(self, "double" aAngle)
Definition: pcbnew.py:2620
"void" SetTextWidth(self, "int" aWidth)
Definition: pcbnew.py:2724
"void" CopyText(self, "EDA_TEXT" aSrc)
Definition: pcbnew.py:2704
"void" TransformBoundingBoxWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "int" aClearanceValue)
Definition: pcbnew.py:2782
"bool" IsDefaultFormatting(self)
Definition: pcbnew.py:2712
"void" SetItalic(self, "bool" isItalic)
Definition: pcbnew.py:2636
"void" SetVertJustify(self, "EDA_TEXT_VJUSTIFY_T" aType)
Definition: pcbnew.py:2688
"void" SetEffects(self, "EDA_TEXT" aSrc)
Definition: pcbnew.py:2692
"double" GetTextAngle(self)
Definition: pcbnew.py:2624
"wxPoint" GetDrawPos(self)
Definition: pcbnew.py:2825
"bool" HasTextVars(self)
Definition: pcbnew.py:2600
"std::vector< wxPoint,std::allocator< wxPoint > >" TransformToSegmentList(self)
Definition: pcbnew.py:2778
"void" SetTextSize(self, "wxSize" aNewSize)
Definition: pcbnew.py:2716
def __init__(self, *args)
Definition: pcbnew.py:2580
"int" GetInterline(self)
Definition: pcbnew.py:2805
"bool" IsItalic(self)
Definition: pcbnew.py:2640
"void" Format(self, "OUTPUTFORMATTER" aFormatter, "int" aNestLevel, "int" aControlBits)
Definition: pcbnew.py:2817
"bool" IsMultilineAllowed(self)
Definition: pcbnew.py:2672
"EDA_TEXT_HJUSTIFY_T" GetHorizJustify(self)
Definition: pcbnew.py:2676
"EDA_TEXT_VJUSTIFY_T" GetDrawVertJustify(self)
Definition: pcbnew.py:2833
"void" SetText(self, "wxString" aText)
Definition: pcbnew.py:2604
"wxString const &" GetText(self)
Definition: pcbnew.py:2588
"void" SetVisible(self, "bool" aVisible)
Definition: pcbnew.py:2652
"wxString" GetShownText(self, "int" aDepth=0, "bool" aAllowExtraText=True)
Definition: pcbnew.py:2592
"void" SetBold(self, "bool" aBold)
Definition: pcbnew.py:2644
"void" CreateDrillandMapFilesSet(self, "wxString" aPlotDirectory, "bool" aGenDrill, "bool" aGenMap, "REPORTER *" aReporter=None)
Definition: pcbnew.py:7032
"void" SetOptions(self, "bool" aMirror, "bool" aMinimalHeader, "wxPoint" aOffset, "bool" aMerge_PTH_NPTH)
Definition: pcbnew.py:7028
"void" SetRouteModeForOvalHoles(self, "bool" aUseRouteModeForOvalHoles)
Definition: pcbnew.py:7020
"wxPoint" GetOffset(self)
Definition: pcbnew.py:7016
"void" SetFormat(self, *args)
Definition: pcbnew.py:7024
def __init__(self, "BOARD" aPcb)
Definition: pcbnew.py:7011
"char *" ReadLine(self)
Definition: pcbnew.py:1953
"void" Rewind(self)
Definition: pcbnew.py:1957
"long" FileLength(self)
Definition: pcbnew.py:1961
def __init__(self, *args)
Definition: pcbnew.py:1945
"long" CurPos(self)
Definition: pcbnew.py:1965
def __init__(self, *args)
Definition: pcbnew.py:2073
"std::deque< FOOTPRINT * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:10002
"void" resize(self, *args)
Definition: pcbnew.py:10097
"std::deque< FOOTPRINT * >::size_type" __len__(self)
Definition: pcbnew.py:9976
"bool" empty(self)
Definition: pcbnew.py:10025
"std::deque< FOOTPRINT * >::value_type" pop(self)
Definition: pcbnew.py:10017
"bool" __nonzero__(self)
Definition: pcbnew.py:9968
"bool" __bool__(self)
Definition: pcbnew.py:9972
"void" push_back(self, "FOOTPRINT" x)
Definition: pcbnew.py:10081
"void" append(self, "FOOTPRINT" x)
Definition: pcbnew.py:10021
"void" push_front(self, "FOOTPRINT" x)
Definition: pcbnew.py:10115
"std::deque< FOOTPRINT * >::size_type" size(self)
Definition: pcbnew.py:10029
"void" swap(self, "FOOTPRINTS" v)
Definition: pcbnew.py:10033
"std::deque< FOOTPRINT * >::reverse_iterator" rend(self)
Definition: pcbnew.py:10049
def __init__(self, *args)
Definition: pcbnew.py:10072
"std::deque< FOOTPRINT * >::iterator" end(self)
Definition: pcbnew.py:10041
def __iter__(self)
Definition: pcbnew.py:9965
"void" pop_back(self)
Definition: pcbnew.py:10061
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:9962
"std::deque< FOOTPRINT * >::iterator" erase(self, *args)
Definition: pcbnew.py:10065
"void" __setslice__(self, *args)
Definition: pcbnew.py:9984
"void" __setitem__(self, *args)
Definition: pcbnew.py:10009
"std::deque< FOOTPRINT * >::iterator" begin(self)
Definition: pcbnew.py:10037
"std::deque< FOOTPRINT *,std::allocator< FOOTPRINT * > > *" __getslice__(self, "std::deque< FOOTPRINT * >::difference_type" i, "std::deque< FOOTPRINT * >::difference_type" j)
Definition: pcbnew.py:9980
"void" insert(self, *args)
Definition: pcbnew.py:10104
"void" pop_front(self)
Definition: pcbnew.py:10111
"std::deque< FOOTPRINT * >::value_type" front(self)
Definition: pcbnew.py:10085
"void" clear(self)
Definition: pcbnew.py:10053
"std::deque< FOOTPRINT * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:10045
"void" __delslice__(self, "std::deque< FOOTPRINT * >::difference_type" i, "std::deque< FOOTPRINT * >::difference_type" j)
Definition: pcbnew.py:9991
"void" assign(self, "std::deque< FOOTPRINT * >::size_type" n, "FOOTPRINT" x)
Definition: pcbnew.py:10093
"std::deque< FOOTPRINT * >::value_type" back(self)
Definition: pcbnew.py:10089
"std::deque< FOOTPRINT * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:10057
"void" __delitem__(self, *args)
Definition: pcbnew.py:9995
"void" SetDescription(self, "wxString" aDoc)
Definition: pcbnew.py:17354
"bool" ResolveTextVar(self, "wxString" token, "int" aDepth=0)
Definition: pcbnew.py:17545
"FP_GROUPS const &" Groups(self, *args)
Definition: pcbnew.py:17288
"bool" HitTest(self, *args)
Definition: pcbnew.py:17557
"int" GetLikelyAttribute(self)
Definition: pcbnew.py:17457
"int" GetLocalClearance(self, *args)
Definition: pcbnew.py:17386
"ZONE_CONNECTION" GetZoneConnection(self)
Definition: pcbnew.py:17413
"bool" IsLibNameValid("wxString" aName)
Definition: pcbnew.py:17727
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:17306
"LSET" GetLayerSet(self)
Definition: pcbnew.py:17263
"void" SetReference(self, "wxString" aReference)
Definition: pcbnew.py:17568
"FP_ZONES const &" Zones(self, *args)
Definition: pcbnew.py:17281
"wxString const" GetFPIDAsString(self)
Definition: pcbnew.py:17342
"unsigned int" GetUniquePadCount(self, *args)
Definition: pcbnew.py:17634
def GetProperties(self)
Definition: pcbnew.py:17778
"int" GetThermalGap(self)
Definition: pcbnew.py:17429
"void" SetPlacementCost90(self, "int" aCost)
Definition: pcbnew.py:17670
"wxString" GetClass(self)
Definition: pcbnew.py:17690
"BOX2I const" ViewBBox(self)
Definition: pcbnew.py:17722
"wxString const &" GetKeywords(self)
Definition: pcbnew.py:17358
def GetProperty(self, key)
Definition: pcbnew.py:17783
"wxString const &" GetDescription(self)
Definition: pcbnew.py:17350
"void" SetLastEditTime(self, "timestamp_t" aTime)
Definition: pcbnew.py:17513
"BOARD_ITEM *" DuplicateItem(self, "BOARD_ITEM" aItem, "bool" aAddToFootprint=False)
Definition: pcbnew.py:17678
"wxArrayString const *" GetInitialComments(self)
Definition: pcbnew.py:17749
"void" BuildCourtyardCaches(self, "OUTLINE_ERROR_HANDLER *" aErrorHandler=None)
Definition: pcbnew.py:17757
"int" GetAttributes(self)
Definition: pcbnew.py:17433
"void" SetAttributes(self, "int" aAttributes)
Definition: pcbnew.py:17437
"bool" NeedsPlaced(self)
Definition: pcbnew.py:17501
"PAD *" GetTopLeftPad(self)
Definition: pcbnew.py:17626
"void" SetThermalGap(self, "int" aGap)
Definition: pcbnew.py:17425
"void" TransformPadsWithClearanceToPolygon(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)
Definition: pcbnew.py:17529
"void" SetOrientation(self, "double" aNewAngle)
Definition: pcbnew.py:17314
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:17549
"bool" IsFlipped(self)
Definition: pcbnew.py:17477
"void" CheckFootprintTHPadNoHoles(self, "std::function< void (wxString const &,wxPoint const &) > const *" aErrorHandler)
Definition: pcbnew.py:17525
"double" GetOrientationDegrees(self)
Definition: pcbnew.py:17326
"wxString const &" GetPropertyNative(self, "wxString" aKey)
Definition: pcbnew.py:17606
"void" SetLocalSolderMaskMargin(self, "int" aMargin)
Definition: pcbnew.py:17378
"int" GetLocalSolderPasteMargin(self)
Definition: pcbnew.py:17393
"FP_TEXT &" Value(self, *args)
Definition: pcbnew.py:17584
"bool" IsLocked(self)
Definition: pcbnew.py:17485
"void" SetZoneConnection(self, "ZONE_CONNECTION" aType)
Definition: pcbnew.py:17409
"wxChar const *" StringLibNameInvalidChars("bool" aUserReadable)
Definition: pcbnew.py:17732
"PAD *" FindPadByNumber(self, "wxString" aPadNumber, "PAD" aSearchAfterMe=None)
Definition: pcbnew.py:17618
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:17702
"SEARCH_RESULT" Visit(self, "INSPECTOR" inspector, "void *" testData, "KICAD_T const []" scanTypes)
Definition: pcbnew.py:17686
"double" GetOrientationRadians(self)
Definition: pcbnew.py:17330
"void" SetLocked(self, "bool" isLocked)
Definition: pcbnew.py:17489
"void" SetValue(self, "wxString" aValue)
Definition: pcbnew.py:17580
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:17698
"bool" IsOnLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:17481
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:17765
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:17228
"BOARD_ITEM *" Duplicate(self)
Definition: pcbnew.py:17674
"void" SetLocalSolderPasteMargin(self, "int" aMargin)
Definition: pcbnew.py:17397
"void" SetPath(self, "KIID_PATH" aPath)
Definition: pcbnew.py:17370
"double" GetLocalSolderPasteMarginRatio(self)
Definition: pcbnew.py:17401
"wxString" GetTypeName(self)
Definition: pcbnew.py:17642
"SHAPE_POLY_SET" GetBoundingHull(self)
Definition: pcbnew.py:17252
"void" SetPlacementCost180(self, "int" aCost)
Definition: pcbnew.py:17662
def SetProperties(self, properties)
Definition: pcbnew.py:17790
"void" Add3DModel(self, "FP_3DMODEL" a3DModel)
Definition: pcbnew.py:17682
"FP_TEXT &" Reference(self, *args)
Definition: pcbnew.py:17591
"void" SetOrientationDegrees(self, "double" aOrientation)
Definition: pcbnew.py:17318
"bool" FixUuids(self)
Definition: pcbnew.py:17244
def __init__(self, *args)
Definition: pcbnew.py:17218
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:17761
"PAD *" GetPad(self, *args)
Definition: pcbnew.py:17622
"void" SetInitialComments(self, "wxArrayString *" aInitialComments)
Definition: pcbnew.py:17736
"void" TransformFPTextWithClearanceToPolygonSet(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearance, "int" aError, "ERROR_LOC" aErrorLoc)
Definition: pcbnew.py:17537
"KIID" GetLink(self)
Definition: pcbnew.py:17650
"void" SetPropertiesNative(self, "MAP_STRING_STRING" aProps)
Definition: pcbnew.py:17602
"LIB_ID const &" GetFPID(self)
Definition: pcbnew.py:17334
"void" RemoveNative(self, *args)
Definition: pcbnew.py:17236
"void" SetIsPlaced(self, "bool" isPlaced)
Definition: pcbnew.py:17497
"void" SetThermalWidth(self, "int" aWidth)
Definition: pcbnew.py:17417
"void" RunOnChildren(self, "std::function< void (BOARD_ITEM *) > const &" aFunction)
Definition: pcbnew.py:17706
"void" SetKeywords(self, "wxString" aKeywords)
Definition: pcbnew.py:17362
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:17461
"std::list< FP_3DMODEL,std::allocator< FP_3DMODEL > > const &" Models(self, *args)
Definition: pcbnew.py:17299
"void" SetLink(self, "KIID" aLink)
Definition: pcbnew.py:17654
"std::map< wxString,wxString,std::less< wxString >,std::allocator< std::pair< wxString const,wxString > > > const &" GetPropertiesNative(self)
Definition: pcbnew.py:17598
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
Definition: pcbnew.py:17718
"bool" IsPlaced(self)
Definition: pcbnew.py:17493
"void" AddNative(self, *args)
Definition: pcbnew.py:17232
"void" SetProperty(self, "wxString" aKey, "wxString" aVal)
Definition: pcbnew.py:17614
"int" GetLocalSolderMaskMargin(self)
Definition: pcbnew.py:17374
"void" CheckFootprintAttributes(self, "std::function< void (wxString const &) > const *" aErrorHandler)
Definition: pcbnew.py:17521
"double" GetArea(self, "int" aPadding=0)
Definition: pcbnew.py:17646
"void" SetFPIDAsString(self, "wxString" aFPID)
Definition: pcbnew.py:17346
"unsigned int" GetPadCount(self, *args)
Definition: pcbnew.py:17630
"wxPoint" GetPosition(self)
Definition: pcbnew.py:17310
"void" SetFlag(self, "int" aFlag)
Definition: pcbnew.py:17441
"void" SetLocalClearance(self, "int" aClearance)
Definition: pcbnew.py:17382
"bool" LegacyPadsLocked(self)
Definition: pcbnew.py:17509
"void" ClearAllNets(self)
Definition: pcbnew.py:17240
"double" CoverageRatio(self, "GENERAL_COLLECTOR const &" aCollector)
Definition: pcbnew.py:17740
"double" GetOrientation(self)
Definition: pcbnew.py:17322
"bool" HitTestAccurate(self, "wxPoint" aPosition, "int" aAccuracy=0)
Definition: pcbnew.py:17553
"wxString const &" GetReference(self)
Definition: pcbnew.py:17564
"bool" HasProperty(self, "wxString" aKey)
Definition: pcbnew.py:17610
"EDA_RECT const" GetBoundingBox(self, *args)
Definition: pcbnew.py:17256
"EDA_RECT" GetFpPadsLocalBbox(self)
Definition: pcbnew.py:17248
"int" GetPlacementCost90(self)
Definition: pcbnew.py:17666
"void" TransformFPShapesWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearance, "int" aError, "ERROR_LOC" aErrorLoc, "bool" aIncludeText=True, "bool" aIncludeShapes=True)
Definition: pcbnew.py:17533
"int" GetPlacementCost180(self)
Definition: pcbnew.py:17658
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:17714
"void" IncrementReference(self, "int" aDelta)
Definition: pcbnew.py:17572
"bool" IsNetTie(self)
Definition: pcbnew.py:17453
"KIID_PATH const &" GetPath(self)
Definition: pcbnew.py:17366
"void" MoveAnchorPosition(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:17473
"void" IncrementFlag(self)
Definition: pcbnew.py:17445
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:17469
"bool" HasThroughHolePads(self)
Definition: pcbnew.py:17295
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:17465
"void" SetNeedsPlaced(self, "bool" needsPlaced)
Definition: pcbnew.py:17505
"timestamp_t" GetLastEditTime(self)
Definition: pcbnew.py:17517
"int" GetFlag(self)
Definition: pcbnew.py:17449
"void" GetContextualTextVars(self, "wxArrayString *" aVars)
Definition: pcbnew.py:17541
"double" GetCoverageArea("BOARD_ITEM" aItem, "GENERAL_COLLECTOR const &" aCollector)
Definition: pcbnew.py:17745
"wxString" GetNextPadNumber(self, "wxString" aLastPadName)
Definition: pcbnew.py:17638
"int" GetThermalWidth(self)
Definition: pcbnew.py:17421
"void" SetLocalSolderPasteMarginRatio(self, "double" aRatio)
Definition: pcbnew.py:17405
"void" SetFPID(self, "LIB_ID" aFPID)
Definition: pcbnew.py:17338
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:17694
"SHAPE_POLY_SET const &" GetCourtyard(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:17753
"wxString const &" GetValue(self)
Definition: pcbnew.py:17576
"void" GetAllDrawingLayers(self, "int []" aLayers, "int &" aCount, "bool" aIncludePads=True)
Definition: pcbnew.py:17710
"DRAWINGS const &" GraphicalItems(self, *args)
Definition: pcbnew.py:17274
"PADS const &" Pads(self, *args)
Definition: pcbnew.py:17267
"std::list< FP_3DMODEL >::value_type const &" front(self)
Definition: pcbnew.py:17991
"std::list< FP_3DMODEL >::size_type" __len__(self)
Definition: pcbnew.py:17882
"std::list< FP_3DMODEL >::value_type const &" __getitem__(self, *args)
Definition: pcbnew.py:17908
"void" pop_front(self)
Definition: pcbnew.py:18017
"std::list< FP_3DMODEL >::allocator_type" get_allocator(self)
Definition: pcbnew.py:17963
"bool" __nonzero__(self)
Definition: pcbnew.py:17874
"std::list< FP_3DMODEL >::iterator" erase(self, *args)
Definition: pcbnew.py:17971
"std::list< FP_3DMODEL >::size_type" size(self)
Definition: pcbnew.py:17935
"std::list< FP_3DMODEL >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:17951
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:17868
"std::list< FP_3DMODEL >::iterator" end(self)
Definition: pcbnew.py:17947
"void" push_back(self, "FP_3DMODEL" x)
Definition: pcbnew.py:17987
def __init__(self, *args)
Definition: pcbnew.py:17978
"void" __setitem__(self, *args)
Definition: pcbnew.py:17915
"void" __delslice__(self, "std::list< FP_3DMODEL >::difference_type" i, "std::list< FP_3DMODEL >::difference_type" j)
Definition: pcbnew.py:17897
"bool" __bool__(self)
Definition: pcbnew.py:17878
"void" append(self, "FP_3DMODEL" x)
Definition: pcbnew.py:17927
"void" __delitem__(self, *args)
Definition: pcbnew.py:17901
"void" reverse(self)
Definition: pcbnew.py:18025
"std::list< FP_3DMODEL >::iterator" begin(self)
Definition: pcbnew.py:17943
"std::list< FP_3DMODEL,std::allocator< FP_3DMODEL > > *" __getslice__(self, "std::list< FP_3DMODEL >::difference_type" i, "std::list< FP_3DMODEL >::difference_type" j)
Definition: pcbnew.py:17886
"std::list< FP_3DMODEL >::value_type const &" back(self)
Definition: pcbnew.py:17995
"void" resize(self, *args)
Definition: pcbnew.py:18003
"void" push_front(self, "FP_3DMODEL" x)
Definition: pcbnew.py:18021
"void" swap(self, "FP_3DMODEL_List" v)
Definition: pcbnew.py:17939
"void" assign(self, "std::list< FP_3DMODEL >::size_type" n, "FP_3DMODEL" x)
Definition: pcbnew.py:17999
"void" __setslice__(self, *args)
Definition: pcbnew.py:17890
"std::list< FP_3DMODEL >::reverse_iterator" rend(self)
Definition: pcbnew.py:17955
"void" pop_back(self)
Definition: pcbnew.py:17967
"std::list< FP_3DMODEL >::value_type" pop(self)
Definition: pcbnew.py:17923
"void" clear(self)
Definition: pcbnew.py:17959
"bool" empty(self)
Definition: pcbnew.py:17931
"void" insert(self, *args)
Definition: pcbnew.py:18010
def __init__(self)
Definition: pcbnew.py:17181
"bool" __nonzero__(self)
Definition: pcbnew.py:10813
"std::vector< PCB_GROUP * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:10902
"void" clear(self)
Definition: pcbnew.py:10898
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:10807
"std::vector< PCB_GROUP * >::value_type" front(self)
Definition: pcbnew.py:10930
"bool" __bool__(self)
Definition: pcbnew.py:10817
"std::vector< PCB_GROUP * >::iterator" end(self)
Definition: pcbnew.py:10886
"void" __setslice__(self, *args)
Definition: pcbnew.py:10829
"void" __delslice__(self, "std::vector< PCB_GROUP * >::difference_type" i, "std::vector< PCB_GROUP * >::difference_type" j)
Definition: pcbnew.py:10836
"void" push_back(self, "PCB_GROUP" x)
Definition: pcbnew.py:10926
"bool" empty(self)
Definition: pcbnew.py:10870
"std::vector< PCB_GROUP * >::size_type" capacity(self)
Definition: pcbnew.py:10960
"void" insert(self, *args)
Definition: pcbnew.py:10949
"std::vector< PCB_GROUP * >::value_type" back(self)
Definition: pcbnew.py:10934
"void" swap(self, "FP_GROUPS" v)
Definition: pcbnew.py:10878
"void" append(self, "PCB_GROUP" x)
Definition: pcbnew.py:10866
def __init__(self, *args)
Definition: pcbnew.py:10917
"std::vector< PCB_GROUP * >::iterator" begin(self)
Definition: pcbnew.py:10882
"std::vector< PCB_GROUP * >::size_type" size(self)
Definition: pcbnew.py:10874
def __iter__(self)
Definition: pcbnew.py:10810
"std::vector< PCB_GROUP * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:10890
"void" pop_back(self)
Definition: pcbnew.py:10906
"std::vector< PCB_GROUP *,std::allocator< PCB_GROUP * > > *" __getslice__(self, "std::vector< PCB_GROUP * >::difference_type" i, "std::vector< PCB_GROUP * >::difference_type" j)
Definition: pcbnew.py:10825
"void" __delitem__(self, *args)
Definition: pcbnew.py:10840
"std::vector< PCB_GROUP * >::size_type" __len__(self)
Definition: pcbnew.py:10821
"void" reserve(self, "std::vector< PCB_GROUP * >::size_type" n)
Definition: pcbnew.py:10956
"void" assign(self, "std::vector< PCB_GROUP * >::size_type" n, "PCB_GROUP" x)
Definition: pcbnew.py:10938
"void" resize(self, *args)
Definition: pcbnew.py:10942
"std::vector< PCB_GROUP * >::value_type" pop(self)
Definition: pcbnew.py:10862
"std::vector< PCB_GROUP * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:10847
"std::vector< PCB_GROUP * >::reverse_iterator" rend(self)
Definition: pcbnew.py:10894
"void" __setitem__(self, *args)
Definition: pcbnew.py:10854
"std::vector< PCB_GROUP * >::iterator" erase(self, *args)
Definition: pcbnew.py:10910
"wxPoint" GetCenter0(self)
Definition: pcbnew.py:14443
"void" SetLocalCoord(self)
Definition: pcbnew.py:14455
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:14391
"void" SetCenter0(self, "wxPoint" aPt)
Definition: pcbnew.py:14447
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:14475
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:14403
"wxPoint" GetArcMid0(self)
Definition: pcbnew.py:14451
def __init__(self, *args)
Definition: pcbnew.py:14369
"wxString" GetClass(self)
Definition: pcbnew.py:14467
"void" SetStart0(self, "wxPoint" aPoint)
Definition: pcbnew.py:14411
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:14463
"wxPoint const &" GetEnd0(self)
Definition: pcbnew.py:14423
"wxPoint const &" GetStart0(self)
Definition: pcbnew.py:14415
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:14483
"wxString" GetParentAsString(self)
Definition: pcbnew.py:14471
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:14479
"wxPoint const &" GetBezierC2_0(self)
Definition: pcbnew.py:14439
"wxPoint const &" GetBezierC1_0(self)
Definition: pcbnew.py:14431
"void" SetEnd0(self, "wxPoint" aPoint)
Definition: pcbnew.py:14419
"void" SetArcGeometry0(self, "wxPoint" aStart, "wxPoint" aMid, "wxPoint" aEnd)
Definition: pcbnew.py:14387
"bool" IsParentFlipped(self)
Definition: pcbnew.py:14407
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:14399
"void" SetDrawCoord(self)
Definition: pcbnew.py:14459
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14375
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
Definition: pcbnew.py:14487
"void" SetBezierC2_0(self, "wxPoint" aPoint)
Definition: pcbnew.py:14435
"void" SetArcAngleAndEnd0(self, "double" aAngle, "bool" aCheckNegativeAngle=False)
Definition: pcbnew.py:14383
"void" Mirror(self, "wxPoint" aCentre, "bool" aMirrorAroundXAxis)
Definition: pcbnew.py:14395
"bool" IsType(self, "KICAD_T const []" aScanTypes)
Definition: pcbnew.py:14379
"void" SetBezierC1_0(self, "wxPoint" aPoint)
Definition: pcbnew.py:14427
"void" Rotate(self, "wxPoint" aOffset, "double" aAngle)
Definition: pcbnew.py:14556
"void" SetPos0(self, "wxPoint" aPos)
Definition: pcbnew.py:14592
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:14658
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:14678
"void" SetTextAngle(self, "double" aAngle)
Definition: pcbnew.py:14540
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearance, "int" aError, "ERROR_LOC" aErrorLoc, "bool" aIgnoreLineWidth)
Definition: pcbnew.py:14642
"void" KeepUpright(self, "double" aOldOrientation, "double" aNewOrientation)
Definition: pcbnew.py:14544
"BOX2I const" ViewBBox(self)
Definition: pcbnew.py:14674
"void" Mirror(self, "wxPoint" aCentre, "bool" aMirrorAroundXAxis)
Definition: pcbnew.py:14568
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
Definition: pcbnew.py:14528
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:14612
"bool" IsKeepUpright(self)
Definition: pcbnew.py:14548
"void" SwapEffects(self, "FP_TEXT" aTradingPartner)
Definition: pcbnew.py:14588
"void" SetLocalCoord(self)
Definition: pcbnew.py:14620
"wxString" GetShownText(self, "int" aDepth=0, "bool" aAllowExtraText=True)
Definition: pcbnew.py:14670
def __init__(self, *args)
Definition: pcbnew.py:14510
"void" SetType(self, "FP_TEXT::TEXT_TYPE" aType)
Definition: pcbnew.py:14576
"void" SetKeepUpright(self, "bool" aKeepUpright)
Definition: pcbnew.py:14552
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:14666
"wxPoint const &" GetPos0(self)
Definition: pcbnew.py:14596
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
Definition: pcbnew.py:14682
"wxPoint" GetPosition(self)
Definition: pcbnew.py:14532
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:14624
"bool" TextHitTest(self, *args)
Definition: pcbnew.py:14628
"wxString" GetParentAsString(self)
Definition: pcbnew.py:14524
"void" SetEffects(self, "FP_TEXT" aSrc)
Definition: pcbnew.py:14584
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:14650
"void" SetDrawCoord(self)
Definition: pcbnew.py:14616
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:14560
"wxString" GetClass(self)
Definition: pcbnew.py:14654
"int" GetLength(self)
Definition: pcbnew.py:14600
"void" TransformTextShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc)
Definition: pcbnew.py:14646
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14516
"bool" HitTest(self, *args)
Definition: pcbnew.py:14635
"bool" IsType(self, "KICAD_T const []" aScanTypes)
Definition: pcbnew.py:14520
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:14536
"double" GetDrawRotation(self)
Definition: pcbnew.py:14604
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:14662
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:14572
"double" GetDrawRotationRadians(self)
Definition: pcbnew.py:14608
"bool" IsParentFlipped(self)
Definition: pcbnew.py:14564
"FP_TEXT::TEXT_TYPE" GetType(self)
Definition: pcbnew.py:14580
"void" assign(self, "std::vector< FP_ZONE * >::size_type" n, "FP_ZONE" x)
Definition: pcbnew.py:10771
def __init__(self, *args)
Definition: pcbnew.py:10750
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:10640
def __iter__(self)
Definition: pcbnew.py:10643
"std::vector< FP_ZONE * >::value_type" front(self)
Definition: pcbnew.py:10763
"void" resize(self, *args)
Definition: pcbnew.py:10775
"bool" __bool__(self)
Definition: pcbnew.py:10650
"std::vector< FP_ZONE * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:10723
"void" clear(self)
Definition: pcbnew.py:10731
"void" swap(self, "FP_ZONES" v)
Definition: pcbnew.py:10711
"std::vector< FP_ZONE * >::value_type" pop(self)
Definition: pcbnew.py:10695
"void" __setslice__(self, *args)
Definition: pcbnew.py:10662
"void" pop_back(self)
Definition: pcbnew.py:10739
"std::vector< FP_ZONE *,std::allocator< FP_ZONE * > > *" __getslice__(self, "std::vector< FP_ZONE * >::difference_type" i, "std::vector< FP_ZONE * >::difference_type" j)
Definition: pcbnew.py:10658
"std::vector< FP_ZONE * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:10680
"std::vector< FP_ZONE * >::value_type" back(self)
Definition: pcbnew.py:10767
"std::vector< FP_ZONE * >::size_type" capacity(self)
Definition: pcbnew.py:10793
"std::vector< FP_ZONE * >::size_type" __len__(self)
Definition: pcbnew.py:10654
"std::vector< FP_ZONE * >::size_type" size(self)
Definition: pcbnew.py:10707
"void" reserve(self, "std::vector< FP_ZONE * >::size_type" n)
Definition: pcbnew.py:10789
"std::vector< FP_ZONE * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:10735
"std::vector< FP_ZONE * >::iterator" end(self)
Definition: pcbnew.py:10719
"std::vector< FP_ZONE * >::reverse_iterator" rend(self)
Definition: pcbnew.py:10727
"bool" empty(self)
Definition: pcbnew.py:10703
"bool" __nonzero__(self)
Definition: pcbnew.py:10646
"void" push_back(self, "FP_ZONE" x)
Definition: pcbnew.py:10759
"void" __delslice__(self, "std::vector< FP_ZONE * >::difference_type" i, "std::vector< FP_ZONE * >::difference_type" j)
Definition: pcbnew.py:10669
"void" insert(self, *args)
Definition: pcbnew.py:10782
"std::vector< FP_ZONE * >::iterator" erase(self, *args)
Definition: pcbnew.py:10743
"void" append(self, "FP_ZONE" x)
Definition: pcbnew.py:10699
"std::vector< FP_ZONE * >::iterator" begin(self)
Definition: pcbnew.py:10715
"void" __setitem__(self, *args)
Definition: pcbnew.py:10687
"void" __delitem__(self, *args)
Definition: pcbnew.py:10673
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:12888
def __init__(self, *args)
Definition: pcbnew.py:12881
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
Definition: pcbnew.py:12892
def __init__(self)
Definition: pcbnew.py:3805
def __init__(self, page, name, units, default, **kwarg)
Definition: pcbnew.py:3830
def Check(self, min_value=None, max_value=None, multiple=None, info=None)
Definition: pcbnew.py:3864
def SetValue(self, new_value)
Definition: pcbnew.py:3938
def AddError(self, err, info=None)
Definition: pcbnew.py:3855
def CheckParam(self, page, name, **kwarg)
Definition: pcbnew.py:4032
def GetParameterPageName(self, page_n)
Definition: pcbnew.py:4050
def GetParameterValues(self, page_index)
Definition: pcbnew.py:4073
def GetParameterErrors(self, page_index)
Definition: pcbnew.py:4077
def SetParameterValues(self, page_index, list_of_values)
Definition: pcbnew.py:4093
def GetParametersByPageIndex(self, page_index)
Definition: pcbnew.py:4062
def GetParam(self, page, name)
Definition: pcbnew.py:4025
def GetNumParameterPages(self)
Definition: pcbnew.py:4047
def GetParametersByPageName(self, page_name)
Definition: pcbnew.py:4053
def GetParameterNames(self, page_index)
Definition: pcbnew.py:4069
def GetParameterDesignators(self, page_index)
Definition: pcbnew.py:4065
def AddParam(self, page, name, unit, default, **kwarg)
Definition: pcbnew.py:3983
def GetParameterHints(self, page_index)
Definition: pcbnew.py:4085
def GetParameterTypes(self, page_index)
Definition: pcbnew.py:4081
"GAL_SET" DefaultVisible()
Definition: pcbnew.py:7671
"GAL_SET &" set(self, *args)
Definition: pcbnew.py:7655
def __init__(self, *args)
Definition: pcbnew.py:7647
"bool" Contains(self, "GAL_LAYER_ID" aPos)
Definition: pcbnew.py:7662
"std::vector< GAL_LAYER_ID,std::allocator< GAL_LAYER_ID > >" Seq(self)
Definition: pcbnew.py:7666
"void" CreateMapFilesSet(self, "wxString" aPlotDirectory, "REPORTER *" aReporter=None)
Definition: pcbnew.py:6994
"void" SetPageInfo(self, "PAGE_INFO const *" aPageInfo)
Definition: pcbnew.py:6986
"wxPoint" GetOffset(self)
Definition: pcbnew.py:6982
"void" SetMapFileFormat(self, "PLOT_FORMAT" aMapFmt)
Definition: pcbnew.py:6990
"void" SetMergeOption(self, "bool" aMerge)
Definition: pcbnew.py:6978
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:6959
"bool" GenDrillReportFile(self, "wxString" aFullFileName)
Definition: pcbnew.py:6998
"bool" CreateJobFile(self, "wxString" aFullFilename)
Definition: pcbnew.py:7104
def __init__(self, "BOARD" aPcb, "REPORTER *" aReporter=None)
Definition: pcbnew.py:7095
"void" AddGbrFile(self, "PCB_LAYER_ID" aLayer, "wxString" aFilename)
Definition: pcbnew.py:7100
"bool" WriteJSONJobFile(self, "wxString" aFullFilename)
Definition: pcbnew.py:7108
"void" SetOptions(self, "wxPoint" aOffset)
Definition: pcbnew.py:7054
"void" CreateDrillandMapFilesSet(self, "wxString" aPlotDirectory, "bool" aGenDrill, "bool" aGenMap, "REPORTER *" aReporter=None)
Definition: pcbnew.py:7058
def __init__(self, "BOARD" aPcb)
Definition: pcbnew.py:7045
"void" SetFormat(self, "int" aRightDigits=6)
Definition: pcbnew.py:7050
"bool" empty(self)
Definition: pcbnew.py:10192
"std::deque< PCB_GROUP * >::size_type" size(self)
Definition: pcbnew.py:10196
"void" resize(self, *args)
Definition: pcbnew.py:10264
"std::deque< PCB_GROUP * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:10212
"void" __setitem__(self, *args)
Definition: pcbnew.py:10176
"std::deque< PCB_GROUP * >::value_type" front(self)
Definition: pcbnew.py:10252
"std::deque< PCB_GROUP * >::size_type" __len__(self)
Definition: pcbnew.py:10143
"std::deque< PCB_GROUP * >::iterator" end(self)
Definition: pcbnew.py:10208
"std::deque< PCB_GROUP * >::iterator" begin(self)
Definition: pcbnew.py:10204
"void" push_back(self, "PCB_GROUP" x)
Definition: pcbnew.py:10248
"void" insert(self, *args)
Definition: pcbnew.py:10271
"void" pop_back(self)
Definition: pcbnew.py:10228
"std::deque< PCB_GROUP * >::iterator" erase(self, *args)
Definition: pcbnew.py:10232
"void" append(self, "PCB_GROUP" x)
Definition: pcbnew.py:10188
"std::deque< PCB_GROUP *,std::allocator< PCB_GROUP * > > *" __getslice__(self, "std::deque< PCB_GROUP * >::difference_type" i, "std::deque< PCB_GROUP * >::difference_type" j)
Definition: pcbnew.py:10147
"void" assign(self, "std::deque< PCB_GROUP * >::size_type" n, "PCB_GROUP" x)
Definition: pcbnew.py:10260
"void" __delslice__(self, "std::deque< PCB_GROUP * >::difference_type" i, "std::deque< PCB_GROUP * >::difference_type" j)
Definition: pcbnew.py:10158
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:10129
def __init__(self, *args)
Definition: pcbnew.py:10239
"void" push_front(self, "PCB_GROUP" x)
Definition: pcbnew.py:10282
"bool" __nonzero__(self)
Definition: pcbnew.py:10135
"void" pop_front(self)
Definition: pcbnew.py:10278
"std::deque< PCB_GROUP * >::value_type" pop(self)
Definition: pcbnew.py:10184
"bool" __bool__(self)
Definition: pcbnew.py:10139
"std::deque< PCB_GROUP * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:10169
"void" __delitem__(self, *args)
Definition: pcbnew.py:10162
def __iter__(self)
Definition: pcbnew.py:10132
"std::deque< PCB_GROUP * >::value_type" back(self)
Definition: pcbnew.py:10256
"void" clear(self)
Definition: pcbnew.py:10220
"void" __setslice__(self, *args)
Definition: pcbnew.py:10151
"void" swap(self, "GROUPS" v)
Definition: pcbnew.py:10200
"std::deque< PCB_GROUP * >::reverse_iterator" rend(self)
Definition: pcbnew.py:10216
"std::deque< PCB_GROUP * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:10224
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:16326
def __init__(self)
Definition: pcbnew.py:6915
def __init__(self, "wxInputStream *" aStream, "wxString" aSource)
Definition: pcbnew.py:1999
def __init__(self, *args)
Definition: pcbnew.py:453
"void" init(self, "wxString" aProblem, "char const *" aThrowersFile, "char const *" aThrowersFunction, "int" aThrowersLineNumber)
Definition: pcbnew.py:460
"wxString const" What(self)
Definition: pcbnew.py:472
"wxString const" Where(self)
Definition: pcbnew.py:468
"wxString const" Problem(self)
Definition: pcbnew.py:464
"BOARD *" Load("IO_MGR::PCB_FILE_T" aFileType, "wxString" aFileName, "BOARD" aAppendToMe=None, "PROPERTIES const *" aProperties=None, "PROJECT *" aProject=None, "PROGRESS_REPORTER *" aProgressReporter=None)
Definition: pcbnew.py:5801
"IO_MGR::PCB_FILE_T" EnumFromStr("wxString" aFileType)
Definition: pcbnew.py:5786
def __init__(self)
Definition: pcbnew.py:5810
"void" Save("IO_MGR::PCB_FILE_T" aFileType, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5806
"wxString const" ShowType("IO_MGR::PCB_FILE_T" aFileType)
Definition: pcbnew.py:5781
"IO_MGR::PCB_FILE_T" GuessPluginTypeFromLibPath("wxString" aLibPath)
Definition: pcbnew.py:5796
"wxString const" GetFileExtension("IO_MGR::PCB_FILE_T" aFileType)
Definition: pcbnew.py:5791
"void" PluginRelease("PLUGIN" aPlugin)
Definition: pcbnew.py:5776
"PLUGIN *" PluginFind("IO_MGR::PCB_FILE_T" aFileType)
Definition: pcbnew.py:5771
def __init__(self, "BOARD" aPcb, "wxWindow *" aParent=None)
Definition: pcbnew.py:6804
"void" Write(self, "wxString" aFilename)
Definition: pcbnew.py:6809
def __init__(self)
Definition: pcbnew.py:7081
"wxString" AsString(self)
Definition: pcbnew.py:1155
def __init__(self, *args)
Definition: pcbnew.py:1144
"bool" __lt__(self, "KIID_PATH" rhs)
Definition: pcbnew.py:1163
"bool" __eq__(self, "KIID_PATH" rhs)
Definition: pcbnew.py:1159
"bool" MakeRelativeTo(self, "KIID_PATH" aPath)
Definition: pcbnew.py:1151
"void" assign(self, "std::vector< KIID >::size_type" n, "KIID" x)
Definition: pcbnew.py:1108
"void" __setitem__(self, *args)
Definition: pcbnew.py:1024
"void" resize(self, *args)
Definition: pcbnew.py:1112
"std::vector< KIID >::reverse_iterator" rend(self)
Definition: pcbnew.py:1064
"std::vector< KIID >::value_type const &" __getitem__(self, *args)
Definition: pcbnew.py:1017
"std::vector< KIID >::value_type const &" back(self)
Definition: pcbnew.py:1104
"void" __delslice__(self, "std::vector< KIID >::difference_type" i, "std::vector< KIID >::difference_type" j)
Definition: pcbnew.py:1006
def __iter__(self)
Definition: pcbnew.py:980
"std::vector< KIID >::size_type" size(self)
Definition: pcbnew.py:1044
"void" __setslice__(self, *args)
Definition: pcbnew.py:999
"std::vector< KIID >::allocator_type" get_allocator(self)
Definition: pcbnew.py:1072
"std::vector< KIID >::iterator" begin(self)
Definition: pcbnew.py:1052
"void" append(self, "KIID" x)
Definition: pcbnew.py:1036
def __init__(self, *args)
Definition: pcbnew.py:1087
"bool" empty(self)
Definition: pcbnew.py:1040
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:977
"std::vector< KIID >::size_type" __len__(self)
Definition: pcbnew.py:991
"void" push_back(self, "KIID" x)
Definition: pcbnew.py:1096
"void" clear(self)
Definition: pcbnew.py:1068
"std::vector< KIID,std::allocator< KIID > > *" __getslice__(self, "std::vector< KIID >::difference_type" i, "std::vector< KIID >::difference_type" j)
Definition: pcbnew.py:995
"std::vector< KIID >::iterator" erase(self, *args)
Definition: pcbnew.py:1080
"std::vector< KIID >::size_type" capacity(self)
Definition: pcbnew.py:1130
"std::vector< KIID >::value_type const &" front(self)
Definition: pcbnew.py:1100
"bool" __bool__(self)
Definition: pcbnew.py:987
"std::vector< KIID >::iterator" end(self)
Definition: pcbnew.py:1056
"std::vector< KIID >::value_type" pop(self)
Definition: pcbnew.py:1032
"void" pop_back(self)
Definition: pcbnew.py:1076
"std::vector< KIID >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:1060
"bool" __nonzero__(self)
Definition: pcbnew.py:983
"void" __delitem__(self, *args)
Definition: pcbnew.py:1010
"void" reserve(self, "std::vector< KIID >::size_type" n)
Definition: pcbnew.py:1126
"void" swap(self, "KIID_VECT_LIST" v)
Definition: pcbnew.py:1048
"void" insert(self, *args)
Definition: pcbnew.py:1119
"bool" __eq__(self, "KIID" rhs)
Definition: pcbnew.py:935
"wxString" AsLegacyTimestampString(self)
Definition: pcbnew.py:908
"wxString" AsString(self)
Definition: pcbnew.py:904
"size_t" Hash(self)
Definition: pcbnew.py:892
"void" ConvertTimestampToUuid(self)
Definition: pcbnew.py:927
"timestamp_t" AsLegacyTimestamp(self)
Definition: pcbnew.py:900
def __init__(self, *args)
Definition: pcbnew.py:879
"void" Clone(self, "KIID" aUUID)
Definition: pcbnew.py:888
"bool" SniffTest("wxString" aCandidate)
Definition: pcbnew.py:913
"bool" __gt__(self, "KIID" rhs)
Definition: pcbnew.py:947
"void" SeedGenerator("unsigned int" aSeed)
Definition: pcbnew.py:923
"bool" IsLegacyTimestamp(self)
Definition: pcbnew.py:896
"bool" __ne__(self, "KIID" rhs)
Definition: pcbnew.py:939
"void" CreateNilUuids("bool" aNil=True)
Definition: pcbnew.py:918
"void" Increment(self)
Definition: pcbnew.py:931
"bool" __lt__(self, "KIID" rhs)
Definition: pcbnew.py:943
def __init__(self, *args)
Definition: pcbnew.py:432
"wxString const" What(self)
Definition: pcbnew.py:439
def GetPluginPath(self)
Definition: pcbnew.py:3800
def deregister(self)
Definition: pcbnew.py:3786
def __init__(self)
Definition: pcbnew.py:3758
def register(self)
Definition: pcbnew.py:3761
"char const *" ShowType("LAYER_T" aType)
Definition: pcbnew.py:16300
"void" clear(self)
Definition: pcbnew.py:16290
"LAYER_T" ParseType("char const *" aType)
Definition: pcbnew.py:16305
def __init__(self)
Definition: pcbnew.py:16286
"bool" empty(self)
Definition: pcbnew.py:5658
"UTF8" Format(*args)
Definition: pcbnew.py:5639
"bool" __gt__(self, "LIB_ID" aLibId)
Definition: pcbnew.py:5670
"unsigned int" FindIllegalLibraryNameChar("UTF8" aLibraryName)
Definition: pcbnew.py:5693
"bool" __eq__(self, "LIB_ID" aLibId)
Definition: pcbnew.py:5674
"bool" __ne__(self, "LIB_ID" aLibId)
Definition: pcbnew.py:5678
"bool" __lt__(self, "LIB_ID" aLibId)
Definition: pcbnew.py:5666
"wxString const" GetUniStringLibItemName(self)
Definition: pcbnew.py:5626
"int" HasIllegalChars("UTF8" aLibItemName)
Definition: pcbnew.py:5683
"UTF8 const &" GetLibItemName(self)
Definition: pcbnew.py:5622
"void" clear(self)
Definition: pcbnew.py:5654
"int" SetLibItemName(self, "UTF8" aLibItemName)
Definition: pcbnew.py:5630
def __init__(self, *args)
Definition: pcbnew.py:5603
"wxString" GetUniStringLibId(self)
Definition: pcbnew.py:5634
"UTF8" FixIllegalChars("UTF8" aLibItemName, "bool" aLib)
Definition: pcbnew.py:5688
"bool" IsLegacy(self)
Definition: pcbnew.py:5650
"int" compare(self, "LIB_ID" aLibId)
Definition: pcbnew.py:5662
"int" SetLibNickname(self, "UTF8" aNickname)
Definition: pcbnew.py:5618
"bool" IsValid(self)
Definition: pcbnew.py:5646
"int" Parse(self, "UTF8" aId, "bool" aFix=False)
Definition: pcbnew.py:5610
"UTF8 const &" GetLibNickname(self)
Definition: pcbnew.py:5614
"wxString const &" GetSource(self)
Definition: pcbnew.py:1920
"char *" Line(self)
Definition: pcbnew.py:1924
"unsigned int" Length(self)
Definition: pcbnew.py:1932
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:1911
"unsigned int" LineNumber(self)
Definition: pcbnew.py:1928
"char *" ReadLine(self)
Definition: pcbnew.py:1916
def __nonzero__(self)
Definition: pcbnew.py:7818
def __init__(self)
Definition: pcbnew.py:7810
"void" Rewind(self)
Definition: pcbnew.py:7814
"PCB_LAYER_ID" __ref__(self)
Definition: pcbnew.py:7824
"LSET" removeLayerSet(self, "LSET" aLayerSet)
Definition: pcbnew.py:8011
"LSET" addLayerSet(self, "LSET" aLayerSet)
Definition: pcbnew.py:8007
"LSEQ" Technicals(self, *args)
Definition: pcbnew.py:7956
"LSET" FrontTechMask()
Definition: pcbnew.py:7893
"std::string" FmtHex(self)
Definition: pcbnew.py:7983
def RemoveLayer(self, layer)
Definition: pcbnew.py:8021
"LSET" FrontBoardTechMask()
Definition: pcbnew.py:7898
"LSEQ" SeqStackupBottom2Top(self)
Definition: pcbnew.py:7979
"LSET" AllNonCuMask()
Definition: pcbnew.py:7883
"std::string" FmtBin(self)
Definition: pcbnew.py:7991
"LSET" UserMask()
Definition: pcbnew.py:7933
"LSEQ" TechAndUserUIOrder(self)
Definition: pcbnew.py:7964
def AddLayer(self, layer)
Definition: pcbnew.py:8015
"LSET" BackBoardTechMask()
Definition: pcbnew.py:7908
"LSET" BackMask()
Definition: pcbnew.py:7928
"LSET" AllBoardTechMask()
Definition: pcbnew.py:7918
"wxChar const *" Name("PCB_LAYER_ID" aLayerId)
Definition: pcbnew.py:7853
"LSET" InternalCuMask()
Definition: pcbnew.py:7858
"LSEQ" Users(self)
Definition: pcbnew.py:7960
def AddLayerSet(self, layers)
Definition: pcbnew.py:8018
def __init__(self, *args)
Definition: pcbnew.py:7838
"LSEQ" CuStack(self)
Definition: pcbnew.py:7952
"LSET" FrontMask()
Definition: pcbnew.py:7923
"LSET" FrontAssembly()
Definition: pcbnew.py:7863
"LSET" ExternalCuMask()
Definition: pcbnew.py:7878
"LSET" AllLayersMask()
Definition: pcbnew.py:7888
"LSET" UserDefinedLayers()
Definition: pcbnew.py:7943
"LSEQ" Seq(self, *args)
Definition: pcbnew.py:7972
"bool" Contains(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:7848
"LSET" ForbiddenFootprintLayers()
Definition: pcbnew.py:7948
"LSET" BackTechMask()
Definition: pcbnew.py:7903
"LSET" removeLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:8003
"LSET" addLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:7999
"LSET" BackAssembly()
Definition: pcbnew.py:7868
"LSET" AllCuMask(*args)
Definition: pcbnew.py:7873
"int" ParseHex(self, "char const *" aStart, "int" aCount)
Definition: pcbnew.py:7987
"PCB_LAYER_ID" ExtractLayer(self)
Definition: pcbnew.py:7995
"LSEQ" UIOrder(self)
Definition: pcbnew.py:7968
"LSET" AllTechMask()
Definition: pcbnew.py:7913
def RemoveLayerSet(self, layers)
Definition: pcbnew.py:8024
"LSET" PhysicalLayersMask()
Definition: pcbnew.py:7938
"swig::SwigPyIterator *" key_iterator(self)
Definition: pcbnew.py:17068
"void" __setitem__(self, *args)
Definition: pcbnew.py:17076
"bool" empty(self)
Definition: pcbnew.py:17095
"std::map< wxString,wxString >::iterator" find(self, "wxString" x)
Definition: pcbnew.py:17143
"bool" __bool__(self)
Definition: pcbnew.py:17024
"std::map< wxString,wxString >::allocator_type" get_allocator(self)
Definition: pcbnew.py:17127
"bool" __contains__(self, "wxString" key)
Definition: pcbnew.py:17064
"void" __delitem__(self, "wxString" key)
Definition: pcbnew.py:17044
"swig::SwigPyIterator *" value_iterator(self)
Definition: pcbnew.py:17072
"void" swap(self, "MAP_STRING_STRING" v)
Definition: pcbnew.py:17103
"std::map< wxString,wxString >::mapped_type const &" __getitem__(self, "wxString" key)
Definition: pcbnew.py:17040
"std::map< wxString,wxString >::iterator" end(self)
Definition: pcbnew.py:17111
"std::map< wxString,wxString >::size_type" size(self)
Definition: pcbnew.py:17099
"std::map< wxString,wxString >::iterator" upper_bound(self, "wxString" x)
Definition: pcbnew.py:17151
"PyObject *" keys(self)
Definition: pcbnew.py:17052
def __init__(self, *args)
Definition: pcbnew.py:17087
"PyObject *" asdict(self)
Definition: pcbnew.py:17083
"std::map< wxString,wxString >::size_type" count(self, "wxString" x)
Definition: pcbnew.py:17131
"std::map< wxString,wxString >::iterator" lower_bound(self, "wxString" x)
Definition: pcbnew.py:17147
"std::map< wxString,wxString >::reverse_iterator" rend(self)
Definition: pcbnew.py:17119
"void" clear(self)
Definition: pcbnew.py:17123
"void" erase(self, *args)
Definition: pcbnew.py:17135
"std::map< wxString,wxString >::size_type" __len__(self)
Definition: pcbnew.py:17028
"bool" has_key(self, "wxString" key)
Definition: pcbnew.py:17048
"std::map< wxString,wxString >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:17115
"PyObject *" items(self)
Definition: pcbnew.py:17060
"PyObject *" values(self)
Definition: pcbnew.py:17056
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:17014
"bool" __nonzero__(self)
Definition: pcbnew.py:17020
"std::map< wxString,wxString >::iterator" begin(self)
Definition: pcbnew.py:17107
"std::vector< PCB_MARKER * >::iterator" begin(self)
Definition: pcbnew.py:9526
"void" reserve(self, "std::vector< PCB_MARKER * >::size_type" n)
Definition: pcbnew.py:9600
"std::vector< PCB_MARKER * >::size_type" size(self)
Definition: pcbnew.py:9518
"void" __delslice__(self, "std::vector< PCB_MARKER * >::difference_type" i, "std::vector< PCB_MARKER * >::difference_type" j)
Definition: pcbnew.py:9480
"std::vector< PCB_MARKER * >::size_type" capacity(self)
Definition: pcbnew.py:9604
"void" resize(self, *args)
Definition: pcbnew.py:9586
"void" assign(self, "std::vector< PCB_MARKER * >::size_type" n, "PCB_MARKER" x)
Definition: pcbnew.py:9582
"void" swap(self, "MARKERS" v)
Definition: pcbnew.py:9522
"void" append(self, "PCB_MARKER" x)
Definition: pcbnew.py:9510
def __iter__(self)
Definition: pcbnew.py:9454
def __init__(self, *args)
Definition: pcbnew.py:9561
"std::vector< PCB_MARKER * >::iterator" erase(self, *args)
Definition: pcbnew.py:9554
"void" insert(self, *args)
Definition: pcbnew.py:9593
"void" __setitem__(self, *args)
Definition: pcbnew.py:9498
"void" __delitem__(self, *args)
Definition: pcbnew.py:9484
"void" push_back(self, "PCB_MARKER" x)
Definition: pcbnew.py:9570
"std::vector< PCB_MARKER * >::iterator" end(self)
Definition: pcbnew.py:9530
"std::vector< PCB_MARKER * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:9546
"std::vector< PCB_MARKER * >::value_type" pop(self)
Definition: pcbnew.py:9506
"std::vector< PCB_MARKER * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:9534
"void" clear(self)
Definition: pcbnew.py:9542
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:9451
"std::vector< PCB_MARKER * >::reverse_iterator" rend(self)
Definition: pcbnew.py:9538
"void" __setslice__(self, *args)
Definition: pcbnew.py:9473
"bool" __nonzero__(self)
Definition: pcbnew.py:9457
"std::vector< PCB_MARKER * >::value_type" front(self)
Definition: pcbnew.py:9574
"std::vector< PCB_MARKER * >::value_type" back(self)
Definition: pcbnew.py:9578
"bool" __bool__(self)
Definition: pcbnew.py:9461
"void" pop_back(self)
Definition: pcbnew.py:9550
"bool" empty(self)
Definition: pcbnew.py:9514
"std::vector< PCB_MARKER *,std::allocator< PCB_MARKER * > > *" __getslice__(self, "std::vector< PCB_MARKER * >::difference_type" i, "std::vector< PCB_MARKER * >::difference_type" j)
Definition: pcbnew.py:9469
"std::vector< PCB_MARKER * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:9491
"std::vector< PCB_MARKER * >::size_type" __len__(self)
Definition: pcbnew.py:9465
"enum MARKER_BASE::TYPEMARKER" GetMarkerType(self)
Definition: pcbnew.py:2475
"void" SetMarkerType(self, "enum MARKER_BASE::TYPEMARKER" aMarkerType)
Definition: pcbnew.py:2471
"EDA_RECT" GetBoundingBoxMarker(self)
Definition: pcbnew.py:2495
"void" PrintMarker(self, "RENDER_SETTINGS const *" aSettings, "wxPoint" aOffset)
Definition: pcbnew.py:2459
"KIID const" GetUUID(self)
Definition: pcbnew.py:2467
"std::shared_ptr< RC_ITEM >" GetRCItem(self)
Definition: pcbnew.py:2487
"void" ShapeToPolygon(self, "SHAPE_LINE_CHAIN" aPolygon, "int" aScale=-1)
Definition: pcbnew.py:2455
"bool" HitTestMarker(self, "wxPoint" aHitPosition, "int" aAccuracy)
Definition: pcbnew.py:2491
"int" MarkerScale(self)
Definition: pcbnew.py:2447
"void" SetMarkerScale(self, "int" aScale)
Definition: pcbnew.py:2451
"wxPoint const &" GetPos(self)
Definition: pcbnew.py:2463
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:2434
"void" SetExcluded(self, "bool" aExcluded)
Definition: pcbnew.py:2483
"bool" IsExcluded(self)
Definition: pcbnew.py:2479
"NETCLASSPTR" GetDefault(self)
Definition: pcbnew.py:15892
"NETCLASSPTR" Remove(self, "wxString" aNetName)
Definition: pcbnew.py:15904
"unsigned int" GetCount(self)
Definition: pcbnew.py:15888
"void" Clear(self)
Definition: pcbnew.py:15870
def __init__(self)
Definition: pcbnew.py:15865
"NETCLASSES::const_iterator" end(self, *args)
Definition: pcbnew.py:15881
"NETCLASSPTR" Find(self, "wxString" aName)
Definition: pcbnew.py:15908
"bool" Add(self, "NETCLASSPTR const &" aNetclass)
Definition: pcbnew.py:15900
"NETCLASS *" GetDefaultPtr(self)
Definition: pcbnew.py:15896
"NETCLASS_MAP &" NetClasses(self)
Definition: pcbnew.py:15912
"NETCLASSES::const_iterator" begin(self, *args)
Definition: pcbnew.py:15874
"void" SetuViaDrill(self, "int" aSize)
Definition: pcbnew.py:15684
"void" SetViaDrill(self, "int" aSize)
Definition: pcbnew.py:15668
"int" GetClearance(self)
Definition: pcbnew.py:15640
"wxString const &" GetDescription(self)
Definition: pcbnew.py:15632
"void" SetClearance(self, "int" aClearance)
Definition: pcbnew.py:15644
"unsigned int" GetCount(self)
Definition: pcbnew.py:15628
def __init__(self, "string" name)
Definition: pcbnew.py:15616
"wxString const &" GetName(self)
Definition: pcbnew.py:15624
"int" GetuViaDiameter(self)
Definition: pcbnew.py:15672
"void" SetDiffPairWidth(self, "int" aSize)
Definition: pcbnew.py:15692
"int" GetuViaDrill(self)
Definition: pcbnew.py:15680
"int" GetDiffPairWidth(self)
Definition: pcbnew.py:15688
"int" GetViaDiameter(self)
Definition: pcbnew.py:15656
"int" GetTrackWidth(self)
Definition: pcbnew.py:15648
"void" SetDiffPairGap(self, "int" aSize)
Definition: pcbnew.py:15700
"void" SetViaDiameter(self, "int" aDia)
Definition: pcbnew.py:15660
"STRINGSET &" NetNames(self)
Definition: pcbnew.py:15620
"int" GetViaDrill(self)
Definition: pcbnew.py:15664
"int" GetDiffPairGap(self)
Definition: pcbnew.py:15696
"void" SetDescription(self, "wxString" aDesc)
Definition: pcbnew.py:15636
"void" SetTrackWidth(self, "int" aWidth)
Definition: pcbnew.py:15652
"void" SetuViaDiameter(self, "int" aSize)
Definition: pcbnew.py:15676
"std::map< wxString,std::shared_ptr< NETCLASS > >::mapped_type const &" __getitem__(self, "wxString" key)
Definition: pcbnew.py:15740
def itervalues(self)
Definition: pcbnew.py:15735
"void" clear(self)
Definition: pcbnew.py:15823
"void" __setitem__(self, *args)
Definition: pcbnew.py:15776
"PyObject *" keys(self)
Definition: pcbnew.py:15752
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" upper_bound(self, "wxString" x)
Definition: pcbnew.py:15851
"bool" has_key(self, "wxString" key)
Definition: pcbnew.py:15748
"std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:15815
def iterkeys(self)
Definition: pcbnew.py:15733
"std::map< wxString,std::shared_ptr< NETCLASS > >::size_type" count(self, "wxString" x)
Definition: pcbnew.py:15831
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" end(self)
Definition: pcbnew.py:15811
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" begin(self)
Definition: pcbnew.py:15807
"bool" __bool__(self)
Definition: pcbnew.py:15724
"swig::SwigPyIterator *" key_iterator(self)
Definition: pcbnew.py:15768
def iteritems(self)
Definition: pcbnew.py:15737
"std::map< wxString,std::shared_ptr< NETCLASS > >::size_type" __len__(self)
Definition: pcbnew.py:15728
"PyObject *" values(self)
Definition: pcbnew.py:15756
"PyObject *" asdict(self)
Definition: pcbnew.py:15783
"void" swap(self, "NETCLASS_MAP" v)
Definition: pcbnew.py:15803
"bool" empty(self)
Definition: pcbnew.py:15795
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" lower_bound(self, "wxString" x)
Definition: pcbnew.py:15847
"std::map< wxString,std::shared_ptr< NETCLASS > >::allocator_type" get_allocator(self)
Definition: pcbnew.py:15827
"bool" __nonzero__(self)
Definition: pcbnew.py:15720
"std::map< wxString,std::shared_ptr< NETCLASS > >::size_type" size(self)
Definition: pcbnew.py:15799
"void" erase(self, *args)
Definition: pcbnew.py:15835
"bool" __contains__(self, "wxString" key)
Definition: pcbnew.py:15764
"void" __delitem__(self, "wxString" key)
Definition: pcbnew.py:15744
"swig::SwigPyIterator *" value_iterator(self)
Definition: pcbnew.py:15772
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:15714
"std::map< wxString,std::shared_ptr< NETCLASS > >::iterator" find(self, "wxString" x)
Definition: pcbnew.py:15843
def __init__(self, *args)
Definition: pcbnew.py:15787
"PyObject *" items(self)
Definition: pcbnew.py:15760
"std::map< wxString,std::shared_ptr< NETCLASS > >::reverse_iterator" rend(self)
Definition: pcbnew.py:15819
def __iter__(self)
Definition: pcbnew.py:15717
"std::map< int,NETINFO_ITEM * >::iterator" begin(self)
Definition: pcbnew.py:15378
"swig::SwigPyIterator *" key_iterator(self)
Definition: pcbnew.py:15339
"bool" __contains__(self, "std::map< int,NETINFO_ITEM * >::key_type const &" key)
Definition: pcbnew.py:15335
"std::map< int,NETINFO_ITEM * >::iterator" lower_bound(self, "std::map< int,NETINFO_ITEM * >::key_type const &" x)
Definition: pcbnew.py:15418
"void" __delitem__(self, "std::map< int,NETINFO_ITEM * >::key_type const &" key)
Definition: pcbnew.py:15315
"std::map< int,NETINFO_ITEM * >::size_type" size(self)
Definition: pcbnew.py:15370
"std::map< int,NETINFO_ITEM * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:15386
"PyObject *" asdict(self)
Definition: pcbnew.py:15354
"std::map< int,NETINFO_ITEM * >::mapped_type const &" __getitem__(self, "std::map< int,NETINFO_ITEM * >::key_type const &" key)
Definition: pcbnew.py:15311
"PyObject *" keys(self)
Definition: pcbnew.py:15323
def iterkeys(self)
Definition: pcbnew.py:15304
def __init__(self, *args)
Definition: pcbnew.py:15358
"std::map< int,NETINFO_ITEM * >::size_type" count(self, "std::map< int,NETINFO_ITEM * >::key_type const &" x)
Definition: pcbnew.py:15402
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:15285
"std::map< int,NETINFO_ITEM * >::iterator" end(self)
Definition: pcbnew.py:15382
"bool" empty(self)
Definition: pcbnew.py:15366
"bool" __nonzero__(self)
Definition: pcbnew.py:15291
"std::map< int,NETINFO_ITEM * >::iterator" upper_bound(self, "std::map< int,NETINFO_ITEM * >::key_type const &" x)
Definition: pcbnew.py:15422
"bool" __bool__(self)
Definition: pcbnew.py:15295
"std::map< int,NETINFO_ITEM * >::iterator" find(self, "std::map< int,NETINFO_ITEM * >::key_type const &" x)
Definition: pcbnew.py:15414
def __iter__(self)
Definition: pcbnew.py:15288
"PyObject *" values(self)
Definition: pcbnew.py:15327
def itervalues(self)
Definition: pcbnew.py:15306
def iteritems(self)
Definition: pcbnew.py:15308
"PyObject *" items(self)
Definition: pcbnew.py:15331
"std::map< int,NETINFO_ITEM * >::reverse_iterator" rend(self)
Definition: pcbnew.py:15390
"void" swap(self, "NETCODES_MAP" v)
Definition: pcbnew.py:15374
"swig::SwigPyIterator *" value_iterator(self)
Definition: pcbnew.py:15343
"std::map< int,NETINFO_ITEM * >::size_type" __len__(self)
Definition: pcbnew.py:15299
"void" __setitem__(self, *args)
Definition: pcbnew.py:15347
"bool" has_key(self, "std::map< int,NETINFO_ITEM * >::key_type const &" key)
Definition: pcbnew.py:15319
"std::map< int,NETINFO_ITEM * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:15398
"void" clear(self)
Definition: pcbnew.py:15394
"void" erase(self, *args)
Definition: pcbnew.py:15406
"NETCLASS *" GetNetClass(self)
Definition: pcbnew.py:15073
"wxPoint" GetPosition(self)
Definition: pcbnew.py:15057
"bool" IsCurrent(self)
Definition: pcbnew.py:15101
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:15061
"void" SetNetClass(self, "NETCLASSPTR const &" aNetClass)
Definition: pcbnew.py:15069
"wxString" GetNetClassName(self)
Definition: pcbnew.py:15077
"wxString" GetClass(self)
Definition: pcbnew.py:15053
"void" SetNetname(self, "wxString" aNewName)
Definition: pcbnew.py:15097
"wxString const &" GetNetname(self)
Definition: pcbnew.py:15089
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:15049
"void" SetIsCurrent(self, "bool" isCurrent)
Definition: pcbnew.py:15105
"void" Clear(self)
Definition: pcbnew.py:15113
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:15109
"void" SetNetCode(self, "int" aNetCode)
Definition: pcbnew.py:15085
"int" GetNetCode(self)
Definition: pcbnew.py:15081
"wxString const &" GetShortNetname(self)
Definition: pcbnew.py:15093
def __init__(self, *args)
Definition: pcbnew.py:15043
"BOARD *" GetParent(self)
Definition: pcbnew.py:15117
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:15065
"void" RemoveNet(self, "NETINFO_ITEM" aNet)
Definition: pcbnew.py:15456
"void" RemoveUnusedNets(self)
Definition: pcbnew.py:15460
def __init__(self, "BOARD" aParent)
Definition: pcbnew.py:15436
"unsigned int" GetNetCount(self)
Definition: pcbnew.py:15448
"NETINFO_ITEM *" OrphanedItem()
Definition: pcbnew.py:15473
"NETCODES_MAP const &" NetsByNetcode(self)
Definition: pcbnew.py:15468
"NETINFO_ITEM *" GetNetItem(self, *args)
Definition: pcbnew.py:15441
"void" AppendNet(self, "NETINFO_ITEM" aNewElement)
Definition: pcbnew.py:15452
"NETNAMES_MAP const &" NetsByName(self)
Definition: pcbnew.py:15464
"BOARD *" GetParent(self)
Definition: pcbnew.py:15477
"std::map< wxString,NETINFO_ITEM * >::size_type" size(self)
Definition: pcbnew.py:15219
"swig::SwigPyIterator *" value_iterator(self)
Definition: pcbnew.py:15192
"void" clear(self)
Definition: pcbnew.py:15243
def __init__(self, *args)
Definition: pcbnew.py:15207
"void" erase(self, *args)
Definition: pcbnew.py:15255
"std::map< wxString,NETINFO_ITEM * >::iterator" upper_bound(self, "wxString" x)
Definition: pcbnew.py:15271
def iteritems(self)
Definition: pcbnew.py:15157
"PyObject *" asdict(self)
Definition: pcbnew.py:15203
"void" __setitem__(self, *args)
Definition: pcbnew.py:15196
"PyObject *" values(self)
Definition: pcbnew.py:15176
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:15134
"std::map< wxString,NETINFO_ITEM * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:15247
def __iter__(self)
Definition: pcbnew.py:15137
"bool" has_key(self, "wxString" key)
Definition: pcbnew.py:15168
"std::map< wxString,NETINFO_ITEM * >::size_type" count(self, "wxString" x)
Definition: pcbnew.py:15251
"std::map< wxString,NETINFO_ITEM * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:15235
"std::map< wxString,NETINFO_ITEM * >::size_type" __len__(self)
Definition: pcbnew.py:15148
"bool" empty(self)
Definition: pcbnew.py:15215
"PyObject *" items(self)
Definition: pcbnew.py:15180
"std::map< wxString,NETINFO_ITEM * >::mapped_type const &" __getitem__(self, "wxString" key)
Definition: pcbnew.py:15160
"std::map< wxString,NETINFO_ITEM * >::reverse_iterator" rend(self)
Definition: pcbnew.py:15239
"swig::SwigPyIterator *" key_iterator(self)
Definition: pcbnew.py:15188
"std::map< wxString,NETINFO_ITEM * >::iterator" end(self)
Definition: pcbnew.py:15231
"std::map< wxString,NETINFO_ITEM * >::iterator" lower_bound(self, "wxString" x)
Definition: pcbnew.py:15267
"bool" __bool__(self)
Definition: pcbnew.py:15144
"std::map< wxString,NETINFO_ITEM * >::iterator" find(self, "wxString" x)
Definition: pcbnew.py:15263
"bool" __nonzero__(self)
Definition: pcbnew.py:15140
"std::map< wxString,NETINFO_ITEM * >::iterator" begin(self)
Definition: pcbnew.py:15227
"void" __delitem__(self, "wxString" key)
Definition: pcbnew.py:15164
def iterkeys(self)
Definition: pcbnew.py:15153
def itervalues(self)
Definition: pcbnew.py:15155
"PyObject *" keys(self)
Definition: pcbnew.py:15172
"void" swap(self, "NETNAMES_MAP" v)
Definition: pcbnew.py:15223
"bool" __contains__(self, "wxString" key)
Definition: pcbnew.py:15184
"char const *" GetQuoteChar(self, "char const *" wrapee)
Definition: pcbnew.py:2026
"std::string" Quotes(self, "string" aWrapee)
Definition: pcbnew.py:2030
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:2018
"std::string" Quotew(self, "wxString" aWrapee)
Definition: pcbnew.py:2034
"int" Print(self, "int" nestLevel, "char const *" fmt)
Definition: pcbnew.py:2022
"std::vector< PAD * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:14804
"void" reserve(self, "std::vector< PAD * >::size_type" n)
Definition: pcbnew.py:14858
"std::vector< PAD * >::size_type" capacity(self)
Definition: pcbnew.py:14862
"std::vector< PAD * >::value_type" pop(self)
Definition: pcbnew.py:14764
"std::vector< PAD * >::value_type" back(self)
Definition: pcbnew.py:14836
"std::vector< PAD * >::size_type" size(self)
Definition: pcbnew.py:14776
"void" assign(self, "std::vector< PAD * >::size_type" n, "PAD" x)
Definition: pcbnew.py:14840
"std::vector< PAD * >::size_type" __len__(self)
Definition: pcbnew.py:14723
"void" swap(self, "PADS_VEC" v)
Definition: pcbnew.py:14780
"bool" empty(self)
Definition: pcbnew.py:14772
"std::vector< PAD * >::value_type" front(self)
Definition: pcbnew.py:14832
"void" clear(self)
Definition: pcbnew.py:14800
def __iter__(self)
Definition: pcbnew.py:14712
"void" pop_back(self)
Definition: pcbnew.py:14808
"std::vector< PAD * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:14749
"void" push_back(self, "PAD" x)
Definition: pcbnew.py:14828
"std::vector< PAD * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:14792
"std::vector< PAD * >::iterator" end(self)
Definition: pcbnew.py:14788
"std::vector< PAD *,std::allocator< PAD * > > *" __getslice__(self, "std::vector< PAD * >::difference_type" i, "std::vector< PAD * >::difference_type" j)
Definition: pcbnew.py:14727
"std::vector< PAD * >::iterator" erase(self, *args)
Definition: pcbnew.py:14812
"void" __delitem__(self, *args)
Definition: pcbnew.py:14742
"std::vector< PAD * >::iterator" begin(self)
Definition: pcbnew.py:14784
"bool" __nonzero__(self)
Definition: pcbnew.py:14715
"bool" __bool__(self)
Definition: pcbnew.py:14719
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:14709
def __init__(self, *args)
Definition: pcbnew.py:14819
"void" resize(self, *args)
Definition: pcbnew.py:14844
"std::vector< PAD * >::reverse_iterator" rend(self)
Definition: pcbnew.py:14796
"void" append(self, "PAD" x)
Definition: pcbnew.py:14768
"void" __delslice__(self, "std::vector< PAD * >::difference_type" i, "std::vector< PAD * >::difference_type" j)
Definition: pcbnew.py:14738
"void" __setitem__(self, *args)
Definition: pcbnew.py:14756
"void" __setslice__(self, *args)
Definition: pcbnew.py:14731
"void" insert(self, *args)
Definition: pcbnew.py:14851
"void" clear(self)
Definition: pcbnew.py:10564
"std::deque< PAD *,std::allocator< PAD * > > *" __getslice__(self, "std::deque< PAD * >::difference_type" i, "std::deque< PAD * >::difference_type" j)
Definition: pcbnew.py:10491
"std::deque< PAD * >::value_type" back(self)
Definition: pcbnew.py:10600
"void" __setslice__(self, *args)
Definition: pcbnew.py:10495
"void" __setitem__(self, *args)
Definition: pcbnew.py:10520
"std::deque< PAD * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:10568
"bool" __bool__(self)
Definition: pcbnew.py:10483
"std::deque< PAD * >::size_type" __len__(self)
Definition: pcbnew.py:10487
"void" append(self, "PAD" x)
Definition: pcbnew.py:10532
"void" swap(self, "PADS" v)
Definition: pcbnew.py:10544
"void" resize(self, *args)
Definition: pcbnew.py:10608
"void" assign(self, "std::deque< PAD * >::size_type" n, "PAD" x)
Definition: pcbnew.py:10604
"std::deque< PAD * >::iterator" erase(self, *args)
Definition: pcbnew.py:10576
"std::deque< PAD * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:10513
"std::deque< PAD * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:10556
"std::deque< PAD * >::size_type" size(self)
Definition: pcbnew.py:10540
"void" push_back(self, "PAD" x)
Definition: pcbnew.py:10592
"void" __delitem__(self, *args)
Definition: pcbnew.py:10506
"std::deque< PAD * >::iterator" begin(self)
Definition: pcbnew.py:10548
"std::deque< PAD * >::value_type" pop(self)
Definition: pcbnew.py:10528
"bool" empty(self)
Definition: pcbnew.py:10536
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:10473
"void" __delslice__(self, "std::deque< PAD * >::difference_type" i, "std::deque< PAD * >::difference_type" j)
Definition: pcbnew.py:10502
"std::deque< PAD * >::value_type" front(self)
Definition: pcbnew.py:10596
"std::deque< PAD * >::iterator" end(self)
Definition: pcbnew.py:10552
"void" pop_back(self)
Definition: pcbnew.py:10572
"void" insert(self, *args)
Definition: pcbnew.py:10615
"void" push_front(self, "PAD" x)
Definition: pcbnew.py:10626
"std::deque< PAD * >::reverse_iterator" rend(self)
Definition: pcbnew.py:10560
def __init__(self, *args)
Definition: pcbnew.py:10583
"bool" __nonzero__(self)
Definition: pcbnew.py:10479
"void" pop_front(self)
Definition: pcbnew.py:10622
def __iter__(self)
Definition: pcbnew.py:10476
"bool" HitTest(self, *args)
Definition: pcbnew.py:11576
"void" SetLocalSolderPasteMargin(self, "int" aMargin)
Definition: pcbnew.py:11417
"LSET" SMDMask()
Definition: pcbnew.py:11035
"void" SetDrillSizeY(self, "int const" aY)
Definition: pcbnew.py:11235
"void" AddPrimitiveArc(self, "wxPoint" aCenter, "wxPoint" aStart, "int" aArcAngle, "int" aThickness)
Definition: pcbnew.py:11274
"bool" GetRemoveUnconnected(self)
Definition: pcbnew.py:11549
"void" SetOffset(self, "wxPoint" aOffset)
Definition: pcbnew.py:11243
"int const" GetSizeX(self)
Definition: pcbnew.py:11199
"void" SetSize(self, "wxSize" aSize)
Definition: pcbnew.py:11187
"int" GetBoundingRadius(self)
Definition: pcbnew.py:11449
"void" ReplacePrimitives(self, "std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &" aPrimitivesList)
Definition: pcbnew.py:11306
"bool" IsFreePad(self)
Definition: pcbnew.py:11123
"void" MergePrimitivesAsPolygon(self, *args)
Definition: pcbnew.py:11286
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:11644
"wxSize const &" GetDelta(self)
Definition: pcbnew.py:11215
"int" GetSolderMaskMargin(self)
Definition: pcbnew.py:11457
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:11055
"wxSize const &" GetDrillSize(self)
Definition: pcbnew.py:11223
"void" SetPadToDieLength(self, "int" aLength)
Definition: pcbnew.py:11382
"void" SetY0(self, "int" y)
Definition: pcbnew.py:11179
"void" SetDelta(self, "wxSize" aSize)
Definition: pcbnew.py:11211
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:11616
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:11587
"CUST_PAD_SHAPE_IN_ZONE" GetCustomShapeInZoneOpt(self)
Definition: pcbnew.py:11147
"void" AddPrimitive(self, "PCB_SHAPE" aPrimitive)
Definition: pcbnew.py:11314
"void" SetRoundRectRadiusRatio(self, "double" aRadiusScale)
Definition: pcbnew.py:11513
"int" GetOwnClearance(self, "PCB_LAYER_ID" aLayer, "wxString" aSource=None)
Definition: pcbnew.py:11409
"void" SetX0(self, "int" x)
Definition: pcbnew.py:11183
"bool" IsOnLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:11565
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:11656
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:11604
"void" SetChamferRectRatio(self, "double" aChamferScale)
Definition: pcbnew.py:11521
"void" SetPinType(self, "wxString" aType)
Definition: pcbnew.py:11107
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:11437
"bool" IsLocked(self)
Definition: pcbnew.py:11075
"wxPoint" GetPosition(self)
Definition: pcbnew.py:11139
"void" SetDrillSizeX(self, "int const" aX)
Definition: pcbnew.py:11227
"void" AddPrimitiveSegment(self, "wxPoint" aStart, "wxPoint" aEnd, "int" aThickness)
Definition: pcbnew.py:11262
"void" AppendPrimitives(self, "std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &" aPrimitivesList)
Definition: pcbnew.py:11310
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:11135
"bool" GetBestAnchorPosition(self, "VECTOR2I" aPos)
Definition: pcbnew.py:11282
"wxSize const &" GetSize(self)
Definition: pcbnew.py:11191
"void" DeletePrimitivesList(self)
Definition: pcbnew.py:11290
"PAD_SHAPE" GetAnchorPadShape(self)
Definition: pcbnew.py:11143
"PAD_DRILL_SHAPE_T" GetDrillShape(self)
Definition: pcbnew.py:11342
"LSET" GetLayerSet(self)
Definition: pcbnew.py:11358
"wxString const &" GetNumber(self)
Definition: pcbnew.py:11091
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
Definition: pcbnew.py:11648
"double" GetOrientationRadians(self)
Definition: pcbnew.py:11334
"void" SetAttribute(self, "PAD_ATTRIB" aAttribute)
Definition: pcbnew.py:11362
"wxString" ShowPadAttr(self)
Definition: pcbnew.py:11624
"void" SetLocalClearance(self, "int" aClearance)
Definition: pcbnew.py:11405
"int" GetEffectiveThermalSpokeWidth(self, "wxString" aSource=None)
Definition: pcbnew.py:11485
"void" SetSubRatsnest(self, "int" aSubRatsnest)
Definition: pcbnew.py:11541
"double" GetOrientation(self)
Definition: pcbnew.py:11326
"void" SetSizeX(self, "int const" aX)
Definition: pcbnew.py:11195
"int" GetLocalSolderPasteMargin(self)
Definition: pcbnew.py:11413
"int" GetRoundRectCornerRadius(self)
Definition: pcbnew.py:11505
"wxString" GetClass(self)
Definition: pcbnew.py:11583
"void" SetOrientationDegrees(self, "double" aOrientation)
Definition: pcbnew.py:11322
"bool" IsFlipped(self)
Definition: pcbnew.py:11083
"bool" HasHole(self)
Definition: pcbnew.py:11063
"int const" GetDrillSizeX(self)
Definition: pcbnew.py:11231
"void" AddPrimitiveRect(self, "wxPoint" aStart, "wxPoint" aEnd, "int" aThickness, "bool" aFilled)
Definition: pcbnew.py:11270
"bool" IsDirty(self)
Definition: pcbnew.py:11346
"bool" CanHaveNumber(self)
Definition: pcbnew.py:11095
"PAD *" ClonePad(self)
Definition: pcbnew.py:11632
"void" FlipPrimitives(self, "bool" aFlipLeftRight)
Definition: pcbnew.py:11302
"void" BuildEffectiveShapes(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:11636
"void" SetX(self, "int" x)
Definition: pcbnew.py:11167
"bool" FlashLayer(self, *args)
Definition: pcbnew.py:11569
"wxPoint const &" GetOffset(self)
Definition: pcbnew.py:11247
"LSET" ApertureMask()
Definition: pcbnew.py:11050
"double" GetOrientationDegrees(self)
Definition: pcbnew.py:11330
"void" SetDrillSize(self, "wxSize" aSize)
Definition: pcbnew.py:11219
"void" BuildEffectivePolygon(self)
Definition: pcbnew.py:11640
def GetPadName(self)
Definition: pcbnew.py:11671
"BOX2I const" ViewBBox(self)
Definition: pcbnew.py:11652
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:11298
"bool" IsAperturePad(self)
Definition: pcbnew.py:11378
"ZONE_CONNECTION" GetEffectiveZoneConnection(self, "wxString" aSource=None)
Definition: pcbnew.py:11473
"void" ImportSettingsFrom(self, "PAD" aMasterPad)
Definition: pcbnew.py:11079
"bool" SameLogicalPadAs(self, "PAD" other)
Definition: pcbnew.py:11115
"void" SetLayerSet(self, "LSET" aLayers)
Definition: pcbnew.py:11354
"void" SetRemoveUnconnected(self, "bool" aSet)
Definition: pcbnew.py:11545
"int" GetSubRatsnest(self)
Definition: pcbnew.py:11537
"void" SetPos0(self, "wxPoint" aPos)
Definition: pcbnew.py:11171
"int" GetChamferPositions(self)
Definition: pcbnew.py:11533
def SetPadName(self, aName)
Definition: pcbnew.py:11663
"void" SetThermalSpokeWidth(self, "int" aWidth)
Definition: pcbnew.py:11477
"void" SetDrillShape(self, "PAD_DRILL_SHAPE_T" aShape)
Definition: pcbnew.py:11338
"void" SetAnchorPadShape(self, "PAD_SHAPE" aShape)
Definition: pcbnew.py:11155
"void" AddPrimitiveCircle(self, "wxPoint" aCenter, "int" aRadius, "int" aThickness, "bool" aFilled)
Definition: pcbnew.py:11266
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aMaxError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
Definition: pcbnew.py:11429
"int const" GetDrillSizeY(self)
Definition: pcbnew.py:11239
"void" SetSizeY(self, "int const" aY)
Definition: pcbnew.py:11203
"wxString const &" GetPinType(self)
Definition: pcbnew.py:11111
def GetCustomShapeAsPolygon(self, layer=UNDEFINED_LAYER)
Definition: pcbnew.py:11697
"double" GetLocalSolderPasteMarginRatio(self)
Definition: pcbnew.py:11421
"ZONE_CONNECTION" GetZoneConnection(self)
Definition: pcbnew.py:11469
def __init__(self, *args)
Definition: pcbnew.py:11022
"bool" TransformHoleWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "int" aInflateValue, "int" aError, "ERROR_LOC" aErrorLoc)
Definition: pcbnew.py:11433
"bool" IsType(self, "KICAD_T const []" aScanTypes)
Definition: pcbnew.py:11059
"double" GetRoundRectRadiusRatio(self)
Definition: pcbnew.py:11517
"wxPoint const &" GetPos0(self)
Definition: pcbnew.py:11175
"PAD_ATTRIB" GetAttribute(self)
Definition: pcbnew.py:11366
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:11612
"PAD_PROP" GetProperty(self)
Definition: pcbnew.py:11374
"void" SetLocalSolderMaskMargin(self, "int" aMargin)
Definition: pcbnew.py:11394
def SetName(self, aName)
Definition: pcbnew.py:11666
"int" GetEffectiveThermalGap(self, "wxString" aSource=None)
Definition: pcbnew.py:11497
"PAD_SHAPE" GetShape(self)
Definition: pcbnew.py:11131
"void" SetKeepTopBottom(self, "bool" aSet)
Definition: pcbnew.py:11553
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:11628
"wxString" ShowPadShape(self)
Definition: pcbnew.py:11620
"void" SetLocalSolderPasteMarginRatio(self, "double" aRatio)
Definition: pcbnew.py:11425
"void" SetOrientation(self, "double" aAngle)
Definition: pcbnew.py:11318
"int" GetLocalClearance(self, *args)
Definition: pcbnew.py:11398
"void" AddPrimitivePoly(self, *args)
Definition: pcbnew.py:11255
"double" GetChamferRectRatio(self)
Definition: pcbnew.py:11525
"void" SetLocalCoord(self)
Definition: pcbnew.py:11595
"void" SetPinFunction(self, "wxString" aName)
Definition: pcbnew.py:11099
"bool" IsOnCopperLayer(self)
Definition: pcbnew.py:11159
"wxPoint" ShapePos(self)
Definition: pcbnew.py:11509
"LSET" PTHMask()
Definition: pcbnew.py:11030
"SHAPE_SEGMENT const *" GetEffectiveHoleShape(self)
Definition: pcbnew.py:11445
"LSET" ConnSMDMask()
Definition: pcbnew.py:11040
"wxString const &" GetPinFunction(self)
Definition: pcbnew.py:11103
"int" GetPadToDieLength(self)
Definition: pcbnew.py:11386
"LSET" UnplatedHoleMask()
Definition: pcbnew.py:11045
"wxSize" GetSolderPasteMargin(self)
Definition: pcbnew.py:11461
"void" SetZoneConnection(self, "ZONE_CONNECTION" aType)
Definition: pcbnew.py:11465
"wxPoint" GetCenter(self)
Definition: pcbnew.py:11251
"bool" GetKeepTopBottom(self)
Definition: pcbnew.py:11557
"std::shared_ptr< SHAPE_POLY_SET > const &" GetEffectivePolygon(self)
Definition: pcbnew.py:11441
"wxString" GetParentAsString(self)
Definition: pcbnew.py:11071
def GetName(self)
Definition: pcbnew.py:11674
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:11561
"int" GetLocalClearanceOverrides(self, "wxString" aSource)
Definition: pcbnew.py:11453
"std::vector< std::shared_ptr< PCB_SHAPE >,std::allocator< std::shared_ptr< PCB_SHAPE > > > const &" GetPrimitives(self)
Definition: pcbnew.py:11294
"void" SetDirty(self)
Definition: pcbnew.py:11350
"int" GetLocalSolderMaskMargin(self)
Definition: pcbnew.py:11390
"void" SetChamferPositions(self, "int" aPositions)
Definition: pcbnew.py:11529
"void" SetNumber(self, "wxString" aNumber)
Definition: pcbnew.py:11087
"FOOTPRINT *" GetParent(self)
Definition: pcbnew.py:11067
"int" GetThermalSpokeWidth(self)
Definition: pcbnew.py:11481
"void" SetCustomShapeInZoneOpt(self, "CUST_PAD_SHAPE_IN_ZONE" aOption)
Definition: pcbnew.py:11151
"void" SetRoundRectCornerRadius(self, "double" aRadius)
Definition: pcbnew.py:11501
"void" SetShape(self, "PAD_SHAPE" aShape)
Definition: pcbnew.py:11127
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:11608
"int" Compare("PAD" aPadRef, "PAD" aPadCmp)
Definition: pcbnew.py:11600
"void" SetDrawCoord(self)
Definition: pcbnew.py:11591
"int const" GetSizeY(self)
Definition: pcbnew.py:11207
"void" SetProperty(self, "PAD_PROP" aProperty)
Definition: pcbnew.py:11370
"int" GetThermalGap(self)
Definition: pcbnew.py:11493
"bool" IsNoConnectPad(self)
Definition: pcbnew.py:11119
"void" SetThermalGap(self, "int" aGap)
Definition: pcbnew.py:11489
"void" SetY(self, "int" y)
Definition: pcbnew.py:11163
"void" AddPrimitiveCurve(self, "wxPoint" aStart, "wxPoint" aEnd, "wxPoint" aCtrl1, "wxPoint" aCtrl2, "int" aThickness)
Definition: pcbnew.py:11278
"double" GetArcAngleStart(self)
Definition: pcbnew.py:11981
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:11949
"wxPoint const &" GetMid(self)
Definition: pcbnew.py:11957
"wxPoint" GetCenter(self)
Definition: pcbnew.py:11969
"wxString" GetClass(self)
Definition: pcbnew.py:11996
"double" GetArcAngleEnd(self)
Definition: pcbnew.py:11985
"bool" HitTest(self, *args)
Definition: pcbnew.py:11989
"double" GetAngle(self)
Definition: pcbnew.py:11977
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:11941
"double" GetLength(self)
Definition: pcbnew.py:12004
"wxPoint" GetPosition(self)
Definition: pcbnew.py:11965
"void" SetMid(self, "wxPoint" aMid)
Definition: pcbnew.py:11953
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:12012
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:11937
def __init__(self, *args)
Definition: pcbnew.py:11929
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:11945
"double" GetRadius(self)
Definition: pcbnew.py:11973
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:11961
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:12000
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:12008
"void" SetEnd(self, "wxPoint" aPoint)
Definition: pcbnew.py:13682
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:13658
"void" SetPrefix(self, "wxString" aPrefix)
Definition: pcbnew.py:13730
"int" GetExtensionOffset(self)
Definition: pcbnew.py:13814
"void" SetLineThickness(self, "int" aWidth)
Definition: pcbnew.py:13822
"void" SetExtensionOffset(self, "int" aOffset)
Definition: pcbnew.py:13810
"void" SetText(self, "wxString" aNewText)
Definition: pcbnew.py:13834
"bool" HitTest(self, *args)
Definition: pcbnew.py:13873
"wxPoint const &" GetEnd(self)
Definition: pcbnew.py:13678
"wxString" GetOverrideText(self)
Definition: pcbnew.py:13702
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:13884
"void" SetUnitsFormat(self, "DIM_UNITS_FORMAT const" aFormat)
Definition: pcbnew.py:13766
"DIM_TEXT_POSITION" GetTextPositionMode(self)
Definition: pcbnew.py:13798
"void" SetAutoUnits(self, "bool" aAuto=True)
Definition: pcbnew.py:13758
"void" SetOverrideTextEnabled(self, "bool" aOverride)
Definition: pcbnew.py:13698
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:13888
"bool" GetSuppressZeroes(self)
Definition: pcbnew.py:13778
"int" GetMeasuredValue(self)
Definition: pcbnew.py:13710
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:13880
"wxPoint const &" GetStart(self)
Definition: pcbnew.py:13670
"wxString" GetSuffix(self)
Definition: pcbnew.py:13734
"int" GetLineThickness(self)
Definition: pcbnew.py:13818
"void" SetUnits(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:13746
"void" GetUnits(self, "EDA_UNITS &" aUnits)
Definition: pcbnew.py:13742
"void" SetStart(self, "wxPoint" aPoint)
Definition: pcbnew.py:13674
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearance, "int" aError, "ERROR_LOC" aErrorLoc, "bool" aIgnoreLineWidth)
Definition: pcbnew.py:13896
"void" SetKeepTextAligned(self, "bool" aKeepAligned)
Definition: pcbnew.py:13790
"void" SetUnitsMode(self, "DIM_UNITS_MODE" aMode)
Definition: pcbnew.py:13754
"wxPoint" GetPosition(self)
Definition: pcbnew.py:13686
"int" GetPrecision(self)
Definition: pcbnew.py:13770
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:13861
"int" GetArrowLength(self)
Definition: pcbnew.py:13802
"void" SetMeasuredValue(self, "int" aValue)
Definition: pcbnew.py:13714
"BOX2I const" ViewBBox(self)
Definition: pcbnew.py:13892
"bool" GetOverrideTextEnabled(self)
Definition: pcbnew.py:13694
"wxString" GetPrefix(self)
Definition: pcbnew.py:13726
"void" SetPrecision(self, "int" aPrecision)
Definition: pcbnew.py:13774
"void" SetSuppressZeroes(self, "bool" aSuppress)
Definition: pcbnew.py:13782
"wxString" GetValueText(self)
Definition: pcbnew.py:13718
"PCB_TEXT const &" Text(self, *args)
Definition: pcbnew.py:13842
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:13690
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:13857
"void" SetSuffix(self, "wxString" aSuffix)
Definition: pcbnew.py:13738
"bool" IsType(self, "KICAD_T const []" aScanTypes)
Definition: pcbnew.py:13662
"std::vector< std::shared_ptr< SHAPE >,std::allocator< std::shared_ptr< SHAPE > > > const &" GetShapes(self)
Definition: pcbnew.py:13849
"void" SetTextSize(self, "wxSize" aTextSize)
Definition: pcbnew.py:13830
"void" Mirror(self, "wxPoint" axis_pos, "bool" aMirrorLeftRight=False)
Definition: pcbnew.py:13865
"DIM_UNITS_FORMAT" GetUnitsFormat(self)
Definition: pcbnew.py:13762
"DIM_UNITS_MODE" GetUnitsMode(self)
Definition: pcbnew.py:13750
"void" SetArrowLength(self, "int" aLength)
Definition: pcbnew.py:13806
"void" SetTextPositionMode(self, "DIM_TEXT_POSITION" aMode)
Definition: pcbnew.py:13794
"wxString const" GetText(self)
Definition: pcbnew.py:13838
"bool" GetKeepTextAligned(self)
Definition: pcbnew.py:13786
"void" Move(self, "wxPoint" offset)
Definition: pcbnew.py:13853
"void" SetOverrideText(self, "wxString" aValue)
Definition: pcbnew.py:13706
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:13869
"void" SetParent(self, "EDA_ITEM" aParent)
Definition: pcbnew.py:13666
"void" SetLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:13826
"int" GetExtensionHeight(self)
Definition: pcbnew.py:13956
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:13924
"wxPoint const &" GetCrossbarEnd(self)
Definition: pcbnew.py:13936
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:13916
"double" GetAngle(self)
Definition: pcbnew.py:13960
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:13968
"wxPoint const &" GetCrossbarStart(self)
Definition: pcbnew.py:13932
"void" SetHeight(self, "int" aHeight)
Definition: pcbnew.py:13940
"wxString" GetClass(self)
Definition: pcbnew.py:13964
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:13920
"void" SetExtensionHeight(self, "int" aHeight)
Definition: pcbnew.py:13952
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:13928
"int" GetHeight(self)
Definition: pcbnew.py:13944
"void" UpdateHeight(self, "wxPoint" aCrossbarStart, "wxPoint" aCrossbarEnd)
Definition: pcbnew.py:13948
def __init__(self, "BOARD_ITEM" aParent, "KICAD_T" aType=PCB_DIM_ALIGNED_T)
Definition: pcbnew.py:13910
"BOX2I const" ViewBBox(self)
Definition: pcbnew.py:14120
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:14108
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:14104
"wxString" GetClass(self)
Definition: pcbnew.py:14112
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14096
def __init__(self, "BOARD_ITEM" aParent)
Definition: pcbnew.py:14091
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:14100
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:14116
"void" SetTextFrame(self, "DIM_TEXT_FRAME" aFrame)
Definition: pcbnew.py:14065
"DIM_TEXT_FRAME" GetTextFrame(self)
Definition: pcbnew.py:14069
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:14073
def __init__(self, "BOARD_ITEM" aParent)
Definition: pcbnew.py:14040
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:14057
"wxString" GetClass(self)
Definition: pcbnew.py:14061
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14045
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:14049
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:14053
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:13999
"void" SetOrientation(self, "PCB_DIM_ORTHOGONAL::DIR" aOrientation)
Definition: pcbnew.py:14011
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:14003
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:13995
"PCB_DIM_ORTHOGONAL::DIR" GetOrientation(self)
Definition: pcbnew.py:14015
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:14007
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:14023
def __init__(self, "BOARD_ITEM" aParent)
Definition: pcbnew.py:13989
"wxString" GetClass(self)
Definition: pcbnew.py:14019
"bool" HitTest(self, *args)
Definition: pcbnew.py:16019
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
Definition: pcbnew.py:16038
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:16050
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:15999
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:16042
"void" RemoveAll(self)
Definition: pcbnew.py:15961
"bool" WithinScope("BOARD_ITEM" aItem, "PCB_GROUP" aScope, "bool" isFootprintEditor)
Definition: pcbnew.py:15971
"bool" IsOnLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:16015
"void" SetPosition(self, "wxPoint" aNewpos)
Definition: pcbnew.py:15979
"void" SetLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:15987
"void" AddChildrenToCommit(self, "BOARD_COMMIT &" aCommit)
Definition: pcbnew.py:16062
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:16011
"std::unordered_set< BOARD_ITEM * > const &" GetItems(self, *args)
Definition: pcbnew.py:15946
"PCB_GROUP *" TopLevelGroup("BOARD_ITEM" aItem, "PCB_GROUP" aScope, "bool" isFootprintEditor)
Definition: pcbnew.py:15966
"void" RunOnChildren(self, "std::function< void (BOARD_ITEM *) > const &" aFunction)
Definition: pcbnew.py:16070
"bool" RemoveItem(self, "BOARD_ITEM" aItem)
Definition: pcbnew.py:15957
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:16034
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:16058
"PCB_GROUP *" DeepClone(self)
Definition: pcbnew.py:16003
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:16026
"bool" AddItem(self, "BOARD_ITEM" aItem)
Definition: pcbnew.py:15953
"void" SetLayerRecursive(self, "PCB_LAYER_ID" aLayer, "int" aDepth)
Definition: pcbnew.py:15991
"PCB_GROUP *" DeepDuplicate(self)
Definition: pcbnew.py:16007
"void" SetName(self, "wxString" aName)
Definition: pcbnew.py:15942
"void" SetLocked(self, "bool" aLocked)
Definition: pcbnew.py:15995
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:16054
"wxPoint" GetPosition(self)
Definition: pcbnew.py:15975
"bool" IsGroupableType("KICAD_T" aType)
Definition: pcbnew.py:16079
"wxString" GetName(self)
Definition: pcbnew.py:15938
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:16066
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:15930
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:16046
"wxString" GetClass(self)
Definition: pcbnew.py:15934
def __init__(self, "BOARD_ITEM" aParent)
Definition: pcbnew.py:15925
"SEARCH_RESULT" Visit(self, "INSPECTOR" aInspector, "void *" aTestData, "KICAD_T const []" aScanTypes)
Definition: pcbnew.py:16030
"LSET" GetLayerSet(self)
Definition: pcbnew.py:15983
"void" RunOnDescendants(self, "std::function< void (BOARD_ITEM *) > const &" aFunction)
Definition: pcbnew.py:16074
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:14231
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:14203
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:14179
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:14191
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:14215
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:14199
"bool" HitTest(self, "wxPoint" aPosition, "int" aAccuracy=0)
Definition: pcbnew.py:14187
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:14211
"wxPoint" GetPosition(self)
Definition: pcbnew.py:14175
"void" SetZoom(self, "double" aZoomFactor)
Definition: pcbnew.py:14219
"PCB_MARKER *" Deserialize("wxString" data)
Definition: pcbnew.py:14159
"wxString" GetClass(self)
Definition: pcbnew.py:14235
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:14167
"wxString" Serialize(self)
Definition: pcbnew.py:14154
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:14163
"GAL_LAYER_ID" GetColorLayer(self)
Definition: pcbnew.py:14195
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:14171
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:14227
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14146
"wxPoint" GetCenter(self)
Definition: pcbnew.py:14183
def __init__(self, "std::shared_ptr< RC_ITEM >" aItem, "wxPoint" aPosition)
Definition: pcbnew.py:14140
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
Definition: pcbnew.py:14207
"BOX2I const" ViewBBox(self)
Definition: pcbnew.py:14223
"KIID const" GetUUID(self)
Definition: pcbnew.py:14150
"void" SetNegative(self, "bool" aFlag)
Definition: pcbnew.py:6285
"int" GetGerberDefaultPrecision()
Definition: pcbnew.py:6394
"void" SetIncludeGerberNetlistInfo(self, "bool" aUse)
Definition: pcbnew.py:6349
"PCB_PLOT_PARAMS::DrillMarksType" GetDrillMarksType(self)
Definition: pcbnew.py:6193
"bool" GetDisableGerberMacros(self)
Definition: pcbnew.py:6337
"bool" GetPlotViaOnMaskLayer(self)
Definition: pcbnew.py:6297
"bool" GetUseAuxOrigin(self)
Definition: pcbnew.py:6418
"void" SetLayerSelection(self, "LSET" aSelection)
Definition: pcbnew.py:6406
"bool" GetA4Output(self)
Definition: pcbnew.py:6434
"void" SetColorSettings(self, "COLOR_SETTINGS *" aSettings)
Definition: pcbnew.py:6149
"void" SetOutputDirectory(self, "wxString" aDir)
Definition: pcbnew.py:6325
"void" SetFineScaleAdjustX(self, "double" aVal)
Definition: pcbnew.py:6205
"bool" GetPlotReference(self)
Definition: pcbnew.py:6281
"bool" GetExcludeEdgeLayer(self)
Definition: pcbnew.py:6313
"bool" GetPlotValue(self)
Definition: pcbnew.py:6273
"void" Format(self, "OUTPUTFORMATTER" aFormatter, "int" aNestLevel, "int" aControl=0)
Definition: pcbnew.py:6137
"bool" GetSketchPadsOnFabLayers(self)
Definition: pcbnew.py:6249
def SetUseGerberAttributes(self, aUse)
Definition: pcbnew.py:6464
"LSET" GetLayerSelection(self)
Definition: pcbnew.py:6410
"void" SetSketchPadsOnFabLayers(self, "bool" aFlag)
Definition: pcbnew.py:6245
"bool" GetAutoScale(self)
Definition: pcbnew.py:6233
"void" SetDrillMarksType(self, "PCB_PLOT_PARAMS::DrillMarksType" aVal)
Definition: pcbnew.py:6189
"void" SetDXFPlotPolygonMode(self, "bool" aFlag)
Definition: pcbnew.py:6173
"bool" GetSubtractMaskFromSilk(self)
Definition: pcbnew.py:6402
"COLOR_SETTINGS *" ColorSettings(self)
Definition: pcbnew.py:6153
"void" SetDisableGerberMacros(self, "bool" aDisable)
Definition: pcbnew.py:6333
"void" SetGerberPrecision(self, "int" aPrecision)
Definition: pcbnew.py:6373
"int" GetScaleSelection(self)
Definition: pcbnew.py:6426
"void" SetPlotViaOnMaskLayer(self, "bool" aFlag)
Definition: pcbnew.py:6293
"void" SetUseGerberX2format(self, "bool" aUse)
Definition: pcbnew.py:6341
"bool" GetCreateGerberJobFile(self)
Definition: pcbnew.py:6361
"void" Parse(self, "PCB_PLOT_PARAMS_PARSER *" aParser)
Definition: pcbnew.py:6141
"double" GetHPGLPenDiameter(self)
Definition: pcbnew.py:6438
"unsigned int" GetSvgPrecision(self)
Definition: pcbnew.py:6385
"bool" SetHPGLPenDiameter(self, "double" aValue)
Definition: pcbnew.py:6442
def __init__(self)
Definition: pcbnew.py:6125
"int" GetHPGLPenNum(self)
Definition: pcbnew.py:6458
"bool" GetSkipPlotNPTH_Pads(self)
Definition: pcbnew.py:6133
"bool" GetIncludeGerberNetlistInfo(self)
Definition: pcbnew.py:6353
"void" SetMirror(self, "bool" aFlag)
Definition: pcbnew.py:6237
"bool" GetDXFPlotPolygonMode(self)
Definition: pcbnew.py:6177
"void" SetAutoScale(self, "bool" aFlag)
Definition: pcbnew.py:6229
"bool" GetNegative(self)
Definition: pcbnew.py:6289
"void" SetScaleSelection(self, "int" aSelection)
Definition: pcbnew.py:6422
"void" SetA4Output(self, "int" aForce)
Definition: pcbnew.py:6430
"int" GetSketchPadLineWidth(self)
Definition: pcbnew.py:6257
"void" SetPlotFrameRef(self, "bool" aFlag)
Definition: pcbnew.py:6301
"bool" GetUseGerberProtelExtensions(self)
Definition: pcbnew.py:6369
"void" SetSubtractMaskFromSilk(self, "bool" aSubtract)
Definition: pcbnew.py:6398
"wxString" GetOutputDirectory(self)
Definition: pcbnew.py:6329
"void" SetScale(self, "double" aVal)
Definition: pcbnew.py:6197
"bool" GetUseGerberX2format(self)
Definition: pcbnew.py:6345
"double" GetScale(self)
Definition: pcbnew.py:6201
"void" SetSvgPrecision(self, "unsigned int" aPrecision, "bool" aUseInch)
Definition: pcbnew.py:6381
"int" GetGerberPrecision(self)
Definition: pcbnew.py:6377
"void" SetUseAuxOrigin(self, "bool" aAux)
Definition: pcbnew.py:6414
"bool" SetHPGLPenSpeed(self, "int" aValue)
Definition: pcbnew.py:6450
"void" SetPlotMode(self, "OUTLINE_MODE" aPlotMode)
Definition: pcbnew.py:6165
"bool" GetPlotFrameRef(self)
Definition: pcbnew.py:6305
"void" SetExcludeEdgeLayer(self, "bool" aFlag)
Definition: pcbnew.py:6309
"double" GetFineScaleAdjustX(self)
Definition: pcbnew.py:6209
"bool" GetPlotInvisibleText(self)
Definition: pcbnew.py:6265
"double" GetFineScaleAdjustY(self)
Definition: pcbnew.py:6217
"void" SetFormat(self, "PLOT_FORMAT" aFormat)
Definition: pcbnew.py:6317
"void" SetCreateGerberJobFile(self, "bool" aCreate)
Definition: pcbnew.py:6357
"void" SetWidthAdjust(self, "int" aVal)
Definition: pcbnew.py:6221
"void" SetUseGerberProtelExtensions(self, "bool" aUse)
Definition: pcbnew.py:6365
"DXF_UNITS" GetDXFPlotUnits(self)
Definition: pcbnew.py:6185
"int" GetWidthAdjust(self)
Definition: pcbnew.py:6225
"void" SetFineScaleAdjustY(self, "double" aVal)
Definition: pcbnew.py:6213
"bool" GetMirror(self)
Definition: pcbnew.py:6241
"PLOT_TEXT_MODE" GetTextMode(self)
Definition: pcbnew.py:6161
"int" GetHPGLPenSpeed(self)
Definition: pcbnew.py:6446
"bool" GetSvgUseInch(self)
Definition: pcbnew.py:6389
"PLOT_FORMAT" GetFormat(self)
Definition: pcbnew.py:6321
"void" SetSketchPadLineWidth(self, "int" aWidth)
Definition: pcbnew.py:6253
"void" SetTextMode(self, "PLOT_TEXT_MODE" aVal)
Definition: pcbnew.py:6157
"void" SetSkipPlotNPTH_Pads(self, "bool" aSkip)
Definition: pcbnew.py:6129
"void" SetDXFPlotUnits(self, "DXF_UNITS" aUnit)
Definition: pcbnew.py:6181
"OUTLINE_MODE" GetPlotMode(self)
Definition: pcbnew.py:6169
"void" SetPlotReference(self, "bool" aFlag)
Definition: pcbnew.py:6277
"void" SetPlotInvisibleText(self, "bool" aFlag)
Definition: pcbnew.py:6261
"void" SetHPGLPenNum(self, "int" aVal)
Definition: pcbnew.py:6454
"bool" IsSameAs(self, "PCB_PLOT_PARAMS" aPcbPlotParams)
Definition: pcbnew.py:6145
"void" SetPlotValue(self, "bool" aFlag)
Definition: pcbnew.py:6269
"wxString const" PluginName(self)
Definition: pcbnew.py:5971
"bool" IsFootprintLibWritable(self, "wxString" aLibraryPath)
Definition: pcbnew.py:6027
"bool" FootprintExists(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5999
"bool" FootprintLibDelete(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:6023
"void" FootprintSave(self, "wxString" aLibraryPath, "FOOTPRINT" aFootprint, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:6007
"std::string" GetStringOutput(self, "bool" doClear)
Definition: pcbnew.py:6040
"void" FootprintDelete(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:6011
"BOARD_ITEM *" Parse(self, "wxString" aClipboardSourceInput)
Definition: pcbnew.py:6048
def __init__(self, *args)
Definition: pcbnew.py:6031
"void" SetOutputFormatter(self, "OUTPUTFORMATTER" aFormatter)
Definition: pcbnew.py:6044
"long long" GetLibraryTimestamp(self, "wxString" aLibraryPath)
Definition: pcbnew.py:6015
"void" Save(self, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5979
"FOOTPRINT const *" GetEnumeratedFootprint(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5995
"void" FootprintLibCreate(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:6019
"void" Format(self, "BOARD_ITEM" aItem, "int" aNestLevel=0)
Definition: pcbnew.py:6036
"wxString const" GetFileExtension(self)
Definition: pcbnew.py:5975
"BOARD *" Load(self, "wxString" aFileName, "BOARD" aAppendToMe, "PROPERTIES const *" aProperties=None, "PROJECT *" aProject=None, "PROGRESS_REPORTER *" aProgressReporter=None)
Definition: pcbnew.py:5983
"void" FootprintEnumerate(self, "wxArrayString &" aFootprintNames, "wxString" aLibraryPath, "bool" aBestEfforts, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5991
"FOOTPRINT *" FootprintLoad(self, "wxString" aLibraryPath, "wxString" aFootprintName, "bool" aKeepUUID=False, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:6003
"BOARD *" DoLoad(self, "LINE_READER" aReader, "BOARD" aAppendToMe, "PROPERTIES const *" aProperties, "PROGRESS_REPORTER *" aProgressReporter, "unsigned int" aLineCount)
Definition: pcbnew.py:5987
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
Definition: pcbnew.py:13459
"wxPoint" GetCenter(self)
Definition: pcbnew.py:13412
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:13463
"BOX2I const" ViewBBox(self)
Definition: pcbnew.py:13475
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:13392
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:13404
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:13428
def __init__(self, *args)
Definition: pcbnew.py:13383
"FOOTPRINT *" GetParentFootprint(self)
Definition: pcbnew.py:13420
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:13451
"wxString" GetClass(self)
Definition: pcbnew.py:13396
"void" Scale(self, "double" aScale)
Definition: pcbnew.py:13455
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:13432
"bool" HitTest(self, *args)
Definition: pcbnew.py:13436
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:13467
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:13424
def GetShapeStr(self)
Definition: pcbnew.py:13487
"wxPoint const" GetFocusPosition(self)
Definition: pcbnew.py:13416
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:13479
"wxPoint" GetPosition(self)
Definition: pcbnew.py:13408
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:13443
"bool" IsType(self, "KICAD_T const []" aScanTypes)
Definition: pcbnew.py:13400
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:13447
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:13471
"double" GetArcAngleStart(self)
Definition: pcbnew.py:13483
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:14305
def __init__(self, *args)
Definition: pcbnew.py:14256
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
Definition: pcbnew.py:14352
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:14324
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:14332
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:14336
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:14269
"void" SetWidth(self, "int" aWidth)
Definition: pcbnew.py:14293
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:14328
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14265
"int" GetWidth(self)
Definition: pcbnew.py:14297
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:14348
"void" SetSize(self, "int" aSize)
Definition: pcbnew.py:14285
"bool" HitTest(self, *args)
Definition: pcbnew.py:14317
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:14301
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:14340
"int" GetShape(self)
Definition: pcbnew.py:14281
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:14344
"wxPoint" GetPosition(self)
Definition: pcbnew.py:14273
"int" GetSize(self)
Definition: pcbnew.py:14289
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:14309
"void" SetShape(self, "int" aShape)
Definition: pcbnew.py:14277
"wxString" GetClass(self)
Definition: pcbnew.py:14313
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:13510
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:13542
def __init__(self, "BOARD_ITEM" parent)
Definition: pcbnew.py:13504
"bool" HitTest(self, *args)
Definition: pcbnew.py:13569
"bool" IsVisible(self)
Definition: pcbnew.py:13526
"wxString" GetClass(self)
Definition: pcbnew.py:13576
"void" SetVisible(self, "bool" aVisible)
Definition: pcbnew.py:13522
"bool" IsType(self, "KICAD_T const []" aScanTypes)
Definition: pcbnew.py:13514
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
Definition: pcbnew.py:13530
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:13608
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:13554
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:13588
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:13604
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" aIgnoreLineWidth=False)
Definition: pcbnew.py:13584
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:13550
"void" SetTextAngle(self, "double" aAngle)
Definition: pcbnew.py:13546
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:13592
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:13538
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:13596
"bool" TextHitTest(self, *args)
Definition: pcbnew.py:13562
"wxPoint" GetPosition(self)
Definition: pcbnew.py:13534
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:13600
"void" TransformTextShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc)
Definition: pcbnew.py:13580
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:13558
"wxString" GetShownText(self, "int" aDepth=0, "bool" aAllowExtraText=True)
Definition: pcbnew.py:13518
"wxPoint const &" GetEnd(self)
Definition: pcbnew.py:11800
"bool" IsOnCopperLayer(self)
Definition: pcbnew.py:11911
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:11887
"void" Rotate(self, "wxPoint" aRotCentre, "double" aAngle)
Definition: pcbnew.py:11768
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:11891
"int" GetLocalClearance(self, "wxString" aSource)
Definition: pcbnew.py:11879
"bool" ApproxCollinear(self, "PCB_TRACK" aTrack)
Definition: pcbnew.py:11871
"bool" IsNull(self)
Definition: pcbnew.py:11852
"wxPoint const &" GetEndPoint(self, "ENDPOINT_T" aEndPoint)
Definition: pcbnew.py:11828
"void" SetEndX(self, "int" aX)
Definition: pcbnew.py:11812
"void" SetEnd(self, "wxPoint" aEnd)
Definition: pcbnew.py:11796
"double" GetLength(self)
Definition: pcbnew.py:11836
"SEARCH_RESULT" Visit(self, "INSPECTOR" inspector, "void *" testData, "KICAD_T const []" scanTypes)
Definition: pcbnew.py:11860
"bool" HitTest(self, *args)
Definition: pcbnew.py:11864
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:11907
"wxPoint" GetPosition(self)
Definition: pcbnew.py:11780
"void" Move(self, "wxPoint" aMoveVector)
Definition: pcbnew.py:11764
"wxString" GetClass(self)
Definition: pcbnew.py:11875
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:11856
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:11895
"EDA_ITEM_FLAGS" IsPointOnEnds(self, "wxPoint" point, "int" min_dist=0)
Definition: pcbnew.py:11848
"void" SetEndY(self, "int" aY)
Definition: pcbnew.py:11816
"int" GetEndX(self)
Definition: pcbnew.py:11820
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:11883
def __init__(self, "BOARD_ITEM" aParent, "KICAD_T" idtype=PCB_TRACE_T)
Definition: pcbnew.py:11760
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:11832
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:11776
"int" GetEndY(self)
Definition: pcbnew.py:11824
"int" GetWidth(self)
Definition: pcbnew.py:11792
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:11772
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
Definition: pcbnew.py:11899
"BOX2I const" ViewBBox(self)
Definition: pcbnew.py:11903
"wxPoint const &" GetStart(self)
Definition: pcbnew.py:11808
"wxPoint const" GetFocusPosition(self)
Definition: pcbnew.py:11784
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:11844
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:11756
"void" SetStart(self, "wxPoint" aStart)
Definition: pcbnew.py:11804
"void" SetWidth(self, "int" aWidth)
Definition: pcbnew.py:11788
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
Definition: pcbnew.py:11840
"bool" HitTest(self, *args)
Definition: pcbnew.py:12103
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:12193
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:12114
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:12197
"void" LayerPair(self, "PCB_LAYER_ID *" top_layer, "PCB_LAYER_ID *" bottom_layer)
Definition: pcbnew.py:12075
"bool" IsDrillDefault(self)
Definition: pcbnew.py:12189
"PCB_LAYER_ID" TopLayer(self)
Definition: pcbnew.py:12079
"void" SetPosition(self, "wxPoint" aPoint)
Definition: pcbnew.py:12095
"wxPoint" GetPosition(self)
Definition: pcbnew.py:12091
"bool" IsType(self, "KICAD_T const []" aScanTypes)
Definition: pcbnew.py:12039
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:12118
"void" SetLayerPair(self, "PCB_LAYER_ID" aTopLayer, "PCB_LAYER_ID" aBottomLayer)
Definition: pcbnew.py:12063
"int" GetMinAnnulus(self, "PCB_LAYER_ID" aLayer, "wxString" aSource)
Definition: pcbnew.py:12138
"int" GetDrill(self)
Definition: pcbnew.py:12169
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
Definition: pcbnew.py:12130
"void" SetLayerSet(self, "LSET" aLayers)
Definition: pcbnew.py:12059
def __init__(self, "BOARD_ITEM" aParent)
Definition: pcbnew.py:12030
"void" SetBottomLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12067
"bool" FlashLayer(self, *args)
Definition: pcbnew.py:12158
"void" SanitizeLayers(self)
Definition: pcbnew.py:12087
"VIATYPE" GetViaType(self)
Definition: pcbnew.py:12043
"void" SetDrill(self, "int" aDrill)
Definition: pcbnew.py:12165
"void" SetViaType(self, "VIATYPE" aViaType)
Definition: pcbnew.py:12047
"bool" IsOnLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12051
"void" SetDrillDefault(self)
Definition: pcbnew.py:12177
"PCB_LAYER_ID" BottomLayer(self)
Definition: pcbnew.py:12083
"void" SetKeepTopBottom(self, "bool" aSet)
Definition: pcbnew.py:12150
"bool" GetKeepTopBottom(self)
Definition: pcbnew.py:12154
"bool" GetIsFree(self)
Definition: pcbnew.py:12181
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:12035
"LSET" GetLayerSet(self)
Definition: pcbnew.py:12055
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:12122
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:12126
"void" SetTopLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12071
"int" GetDrillValue(self)
Definition: pcbnew.py:12173
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:12134
"bool" GetRemoveUnconnected(self)
Definition: pcbnew.py:12146
"void" SetIsFree(self, "bool" aFree=True)
Definition: pcbnew.py:12185
"wxString" GetClass(self)
Definition: pcbnew.py:12110
"void" SetRemoveUnconnected(self, "bool" aSet)
Definition: pcbnew.py:12142
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:12099
"std::string" GetFrontSideName()
Definition: pcbnew.py:6839
"std::string" GetBackSideName()
Definition: pcbnew.py:6844
"std::string" GenReportData(self)
Definition: pcbnew.py:6830
"int" GetFootprintCount(self)
Definition: pcbnew.py:6834
def __init__(self, "BOARD" aBoard, "bool" aUnitsMM, "bool" aOnlySMD, "bool" aExcludeAllTH, "bool" aTopSide, "bool" aBottomSide, "bool" aFormatCSV, "bool" aUseAuxOrigin)
Definition: pcbnew.py:6822
"std::string" GenPositionData(self)
Definition: pcbnew.py:6826
"void" ThickCircle(self, "wxPoint" pos, "int" diametre, "int" width, "OUTLINE_MODE" tracemode, "void *" aData)
Definition: pcbnew.py:6688
"void" MoveTo(self, "wxPoint" pos)
Definition: pcbnew.py:6649
"double" GetIUsPerDecimil(self)
Definition: pcbnew.py:6614
"void" ThickSegment(self, "wxPoint" start, "wxPoint" end, "int" width, "OUTLINE_MODE" tracemode, "void *" aData)
Definition: pcbnew.py:6676
"void" SetPageSettings(self, "PAGE_INFO const &" aPageSettings)
Definition: pcbnew.py:6566
"void" PenFinish(self)
Definition: pcbnew.py:6661
"void" FlashPadTrapez(self, "wxPoint" aPadPos, "wxPoint" aCorners, "double" aPadOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
Definition: pcbnew.py:6716
"void" LineTo(self, "wxPoint" pos)
Definition: pcbnew.py:6653
"void" SetTextMode(self, "PLOT_TEXT_MODE" mode)
Definition: pcbnew.py:6738
"void" Arc(self, *args)
Definition: pcbnew.py:6634
"void" SetDash(self, "PLOT_DASH_TYPE" dashed)
Definition: pcbnew.py:6586
"void" FlashRegularPolygon(self, "wxPoint" aShapePos, "int" aDiameter, "int" aCornerCount, "double" aOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
Definition: pcbnew.py:6720
"void" SetColor(self, "COLOR4D" color)
Definition: pcbnew.py:6582
"void" PlotPoly(self, *args)
Definition: pcbnew.py:6665
"void" FlashPadCircle(self, "wxPoint" aPadPos, "int" aDiameter, "OUTLINE_MODE" aTraceMode, "void *" aData)
Definition: pcbnew.py:6696
"bool" OpenFile(self, "wxString" aFullFilename)
Definition: pcbnew.py:6610
"void" StartBlock(self, "void *" aData)
Definition: pcbnew.py:6750
"void" FlashPadCustom(self, "wxPoint" aPadPos, "wxSize" aSize, "double" aPadOrient, "SHAPE_POLY_SET" aPolygons, "OUTLINE_MODE" aTraceMode, "void *" aData)
Definition: pcbnew.py:6712
"void" FinishTo(self, "wxPoint" pos)
Definition: pcbnew.py:6657
"void" SetColorMode(self, "bool" aColorMode)
Definition: pcbnew.py:6550
"void" AddLineToHeader(self, "wxString" aExtraString)
Definition: pcbnew.py:6598
"PAGE_INFO &" PageSettings(self)
Definition: pcbnew.py:6570
"int" GetCurrentLineWidth(self)
Definition: pcbnew.py:6578
"PLOT_FORMAT" GetPlotterType(self)
Definition: pcbnew.py:6534
"void" FlashPadRoundRect(self, "wxPoint" aPadPos, "wxSize" aSize, "int" aCornerRadius, "double" aOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
Definition: pcbnew.py:6708
"void" PlotImage(self, "wxImage const &" aImage, "wxPoint" aPos, "double" aScaleFactor)
Definition: pcbnew.py:6672
"void" SetNegative(self, "bool" aNegative)
Definition: pcbnew.py:6546
"int" GetPlotterArcLowDef(self)
Definition: pcbnew.py:6618
"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)
Definition: pcbnew.py:6724
"bool" EndPlot(self)
Definition: pcbnew.py:6542
"void" FlashPadOval(self, "wxPoint" aPadPos, "wxSize" aSize, "double" aPadOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
Definition: pcbnew.py:6700
"void" SetRenderSettings(self, "RENDER_SETTINGS *" aSettings)
Definition: pcbnew.py:6558
"void" SetLayerPolarity(self, "bool" aPositive)
Definition: pcbnew.py:6734
"void" ThickArc(self, "wxPoint" centre, "double" StAngle, "double" EndAngle, "int" rayon, "int" width, "OUTLINE_MODE" tracemode, "void *" aData)
Definition: pcbnew.py:6680
"void" EndBlock(self, "void *" aData)
Definition: pcbnew.py:6754
"void" ThickRect(self, "wxPoint" p1, "wxPoint" p2, "int" width, "OUTLINE_MODE" tracemode, "void *" aData)
Definition: pcbnew.py:6684
"void" SetViewport(self, "wxPoint" aOffset, "double" aIusPerDecimil, "double" aScale, "bool" aMirror)
Definition: pcbnew.py:6606
"void" SetCurrentLineWidth(self, "int" width, "void *" aData=None)
Definition: pcbnew.py:6574
"void" SetTitle(self, "wxString" aTitle)
Definition: pcbnew.py:6594
"void" FlashPadRect(self, "wxPoint" aPadPos, "wxSize" aSize, "double" aPadOrient, "OUTLINE_MODE" aTraceMode, "void *" aData)
Definition: pcbnew.py:6704
"void" Marker(self, "wxPoint" position, "int" diametre, "unsigned int" aShapeId)
Definition: pcbnew.py:6730
"void" SetCreator(self, "wxString" aCreator)
Definition: pcbnew.py:6590
"bool" StartPlot(self)
Definition: pcbnew.py:6538
"bool" GetColorMode(self)
Definition: pcbnew.py:6554
"void" Rect(self, *args)
Definition: pcbnew.py:6626
"void" ClearHeaderLinesList(self)
Definition: pcbnew.py:6602
"void" FilledCircle(self, "wxPoint" pos, "int" diametre, "OUTLINE_MODE" tracemode, "void *" aData)
Definition: pcbnew.py:6692
"void" PenTo(self, "wxPoint" pos, "char" plume)
Definition: pcbnew.py:6645
"void" SetGerberCoordinatesFormat(self, "int" aResolution, "bool" aUseInches=False)
Definition: pcbnew.py:6742
"int" GetPlotterArcHighDef(self)
Definition: pcbnew.py:6622
"void" BezierCurve(self, *args)
Definition: pcbnew.py:6641
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:6525
"RENDER_SETTINGS *" RenderSettings(self)
Definition: pcbnew.py:6562
"void" SetSvgCoordinatesFormat(self, "unsigned int" aResolution, "bool" aUseInches=False)
Definition: pcbnew.py:6746
"void" Circle(self, *args)
Definition: pcbnew.py:6630
"void" SetLayer(self, "LAYER_NUM" aLayer)
Definition: pcbnew.py:6070
"void" SetColorMode(self, "bool" aColorMode)
Definition: pcbnew.py:6102
"wxString const" GetPlotDirName(self)
Definition: pcbnew.py:6098
"bool" PlotLayer(self)
Definition: pcbnew.py:6090
def __init__(self, "BOARD" aBoard)
Definition: pcbnew.py:6061
"PCB_PLOT_PARAMS &" GetPlotOptions(self)
Definition: pcbnew.py:6066
"bool" OpenPlotfile(self, "wxString" aSuffix, "PLOT_FORMAT" aFormat, "wxString" aSheetDesc)
Definition: pcbnew.py:6086
"bool" GetColorMode(self)
Definition: pcbnew.py:6106
"wxString const" GetPlotFileName(self)
Definition: pcbnew.py:6094
"bool" IsPlotOpen(self)
Definition: pcbnew.py:6078
"void" ClosePlot(self)
Definition: pcbnew.py:6082
"LAYER_NUM" GetLayer(self)
Definition: pcbnew.py:6074
"wxArrayString" footprintPyEnumerate(self, "wxString" aLibraryPath, "bool" aExitOnError)
Definition: pcbnew.py:5928
"bool" FootprintExists(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5899
"BOARD *" Load(self, "wxString" aFileName, "BOARD" aAppendToMe, "PROPERTIES const *" aProperties=None, "PROJECT *" aProject=None, "PROGRESS_REPORTER *" aProgressReporter=None)
Definition: pcbnew.py:5867
"bool" IsFootprintLibWritable(self, "wxString" aLibraryPath)
Definition: pcbnew.py:5919
"wxString const" GetFileExtension(self)
Definition: pcbnew.py:5863
"void" Save(self, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5875
"void" FootprintLibOptions(self, "PROPERTIES *" aListToAppendTo)
Definition: pcbnew.py:5923
"std::vector< FOOTPRINT *,std::allocator< FOOTPRINT * > >" GetImportedCachedLibraryFootprints(self)
Definition: pcbnew.py:5871
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:5855
"void" FootprintEnumerate(self, "wxArrayString &" aFootprintNames, "wxString" aLibraryPath, "bool" aBestEfforts, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5879
"wxString const" PluginName(self)
Definition: pcbnew.py:5859
"long long" GetLibraryTimestamp(self, "wxString" aLibraryPath)
Definition: pcbnew.py:5883
"FOOTPRINT const *" GetEnumeratedFootprint(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5895
"bool" FootprintLibDelete(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5915
"FOOTPRINT *" FootprintLoad(self, "wxString" aLibraryPath, "wxString" aFootprintName, "bool" aKeepUUID=False, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5891
"void" FootprintDelete(self, "wxString" aLibraryPath, "wxString" aFootprintName, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5907
"void" PrefetchLib(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5887
"void" FootprintSave(self, "wxString" aLibraryPath, "FOOTPRINT" aFootprint, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5903
"void" FootprintLibCreate(self, "wxString" aLibraryPath, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5911
"void" register_action("PyObject *" wizard)
Definition: pcbnew.py:18105
"void" deregister_action("PyObject *" wizard)
Definition: pcbnew.py:18110
"void" register_wizard("PyObject *" wizard)
Definition: pcbnew.py:18073
"void" deregister_wizard("PyObject *" wizard)
Definition: pcbnew.py:18078
def __init__(self)
Definition: pcbnew.py:9271
"COLOR_SETTINGS *" AddNewColorSettings(self, "wxString" aFilename)
Definition: pcbnew.py:2925
"bool" SaveProject(self, *args)
Definition: pcbnew.py:2985
"void" SetMigrateLibraryTables(self, "bool" aMigrate=True)
Definition: pcbnew.py:2949
"bool" TriggerBackupIfNeeded(self, "REPORTER &" aReporter)
Definition: pcbnew.py:3005
"wxString" GetColorSettingsPath()
Definition: pcbnew.py:3015
"PROJECT *" GetProject(self, "wxString" aFullPath)
Definition: pcbnew.py:2977
"bool" BackupProject(self, "REPORTER &" aReporter)
Definition: pcbnew.py:3001
"bool" LoadProject(self, "wxString" aFullPath, "bool" aSetActive=True)
Definition: pcbnew.py:2961
"std::vector< COLOR_SETTINGS *,std::allocator< COLOR_SETTINGS * > >" GetColorSettingsList(self)
Definition: pcbnew.py:2917
"void" SaveColorSettings(self, *args)
Definition: pcbnew.py:2921
"COMMON_SETTINGS *" GetCommonSettings(self)
Definition: pcbnew.py:2933
"COLOR_SETTINGS *" GetMigratedColorSettings(self)
Definition: pcbnew.py:2929
"std::vector< wxString,std::allocator< wxString > >" GetOpenProjects(self)
Definition: pcbnew.py:2981
"COLOR_SETTINGS *" GetColorSettings(self, *args)
Definition: pcbnew.py:2913
"bool" UnloadProject(self, "PROJECT *" aProject, "bool" aSave=True)
Definition: pcbnew.py:2965
"wxString" GetProjectBackupsPath(self)
Definition: pcbnew.py:2997
def __init__(self, "bool" aHeadless=False)
Definition: pcbnew.py:2882
"void" Load(self, *args)
Definition: pcbnew.py:2895
"PROJECT &" Prj(self)
Definition: pcbnew.py:2973
"wxString" GetUserSettingsPath()
Definition: pcbnew.py:3020
"void" Save(self, *args)
Definition: pcbnew.py:2902
"void" FlushAndRelease(self, "JSON_SETTINGS *" aSettings, "bool" aSave=True)
Definition: pcbnew.py:2909
"void" SetMigrationSource(self, "wxString" aSource)
Definition: pcbnew.py:2945
"void" SetKiway(self, "KIWAY *" aKiway)
Definition: pcbnew.py:2891
"bool" IsProjectOpen(self)
Definition: pcbnew.py:2969
"bool" IsOK(self)
Definition: pcbnew.py:2887
"bool" MigrateIfNeeded(self)
Definition: pcbnew.py:2941
"bool" IsSettingsPathValid("wxString" aPath)
Definition: pcbnew.py:3010
"void" SaveProjectCopy(self, "wxString" aFullPath, "PROJECT *" aProject=None)
Definition: pcbnew.py:2993
"void" SaveProjectAs(self, "wxString" aFullPath, "PROJECT *" aProject=None)
Definition: pcbnew.py:2989
"std::string" GetSettingsVersion()
Definition: pcbnew.py:3025
"bool" GetPreviousVersionPaths(self, "std::vector< wxString,std::allocator< wxString > > *" aName=None)
Definition: pcbnew.py:2953
"wxString" GetPathForSettingsFile(self, "JSON_SETTINGS *" aSettings)
Definition: pcbnew.py:2937
"void" ReloadColorSettings(self)
Definition: pcbnew.py:2957
"SHAPE_TYPE" Type(self)
Definition: pcbnew.py:4208
def __init__(self, "SHAPE_TYPE" aType)
Definition: pcbnew.py:4203
"void" GetIndexableSubshapes(self, "std::vector< SHAPE *,std::allocator< SHAPE * > > &" aSubshapes)
Definition: pcbnew.py:4224
"size_t" GetIndexableSubshapeCount(self)
Definition: pcbnew.py:4220
"wxString" TypeName(self)
Definition: pcbnew.py:4212
"bool" HasIndexableSubshapes(self)
Definition: pcbnew.py:4216
"BOX2I *" GetCachedBBox(self)
Definition: pcbnew.py:4344
"SEG const" GetSegment(self, "int" aIndex)
Definition: pcbnew.py:4328
"SEG::ecoord" SquaredDistance(self, "VECTOR2I" aP, "bool" aOutlineOnly=False)
Definition: pcbnew.py:4308
"bool" PointInside(self, "VECTOR2I" aPt, "int" aAccuracy=0, "bool" aUseBBoxCache=False)
Definition: pcbnew.py:4312
"size_t" GetPointCount(self)
Definition: pcbnew.py:4332
"VECTOR2I const" GetPoint(self, "int" aIndex)
Definition: pcbnew.py:4324
"bool" PointOnEdge(self, "VECTOR2I" aP, "int" aAccuracy=0)
Definition: pcbnew.py:4316
"size_t" GetSegmentCount(self)
Definition: pcbnew.py:4336
"bool" Collide(self, *args)
Definition: pcbnew.py:4301
"int" EdgeContainingPoint(self, "VECTOR2I" aP, "int" aAccuracy=0)
Definition: pcbnew.py:4320
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:4296
"SHAPE_LINE_CHAIN &" Simplify(self, "bool" aRemoveColinear=True)
Definition: pcbnew.py:4896
"SEG" Segment(self, "int" aIndex)
Definition: pcbnew.py:4755
"SHAPE_ARC const &" Arc(self, "size_t" aArc)
Definition: pcbnew.py:4962
"std::vector< VECTOR2I,std::allocator< VECTOR2I > > const &" CPoints(self)
Definition: pcbnew.py:4779
"bool" CompareGeometry(self, "SHAPE_LINE_CHAIN" aOther)
Definition: pcbnew.py:4923
"void" Clear(self)
Definition: pcbnew.py:4723
"void" RemoveShape(self, "int" aPointIndex)
Definition: pcbnew.py:4853
"void" ClearArcs(self)
Definition: pcbnew.py:4815
"BOX2I *" GetCachedBBox(self)
Definition: pcbnew.py:4803
"VECTOR2I const &" CPoint(self, "int" aIndex)
Definition: pcbnew.py:4775
"void" Append(self, *args)
Definition: pcbnew.py:4823
"ssize_t" ArcIndex(self, "size_t" aSegment)
Definition: pcbnew.py:4958
"int" Split(self, "VECTOR2I" aP)
Definition: pcbnew.py:4857
"std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > const &" CArcs(self)
Definition: pcbnew.py:4787
"void" GenerateBBoxCache(self)
Definition: pcbnew.py:4799
"bool" IsSolid(self)
Definition: pcbnew.py:4942
"size_t" GetPointCount(self)
Definition: pcbnew.py:4994
"bool" __ne__(self, "SHAPE_LINE_CHAIN" aRhs)
Definition: pcbnew.py:4919
"int" FindSegment(self, "VECTOR2I" aP, "int" aThreshold=1)
Definition: pcbnew.py:4865
"void" Remove(self, *args)
Definition: pcbnew.py:4846
"SEG const" GetSegment(self, "int" aIndex)
Definition: pcbnew.py:4990
"int" PrevShape(self, "int" aPointIndex)
Definition: pcbnew.py:4767
"OPT< SHAPE_LINE_CHAIN::INTERSECTION > const" SelfIntersecting(self)
Definition: pcbnew.py:4892
"void" Move(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4927
"int" SegmentCount(self)
Definition: pcbnew.py:4743
"int" ShapeCount(self)
Definition: pcbnew.py:4747
"int" PathLength(self, "VECTOR2I" aP, "int" aIndex=-1)
Definition: pcbnew.py:4884
"BOX2I const" BBox(self, "int" aClearance=0)
Definition: pcbnew.py:4795
"VECTOR2I const" GetPoint(self, "int" aIndex)
Definition: pcbnew.py:4986
"bool" IsArcStart(self, "size_t" aIndex)
Definition: pcbnew.py:4978
"std::string const" Format(self)
Definition: pcbnew.py:4911
"void" Replace(self, *args)
Definition: pcbnew.py:4839
"SHAPE *" Clone(self)
Definition: pcbnew.py:4719
"VECTOR2I const &" CLastPoint(self)
Definition: pcbnew.py:4783
"size_t" GetSegmentCount(self)
Definition: pcbnew.py:4998
"bool" IsSharedPt(self, "size_t" aIndex)
Definition: pcbnew.py:4966
"bool" Collide(self, *args)
Definition: pcbnew.py:4712
"bool" Intersects(self, "SHAPE_LINE_CHAIN" aChain)
Definition: pcbnew.py:4873
"std::vector< std::pair< ssize_t,ssize_t >,std::allocator< std::pair< ssize_t,ssize_t > > > const &" CShapes(self)
Definition: pcbnew.py:4791
"void" Rotate(self, *args)
Definition: pcbnew.py:4938
"long long" Length(self)
Definition: pcbnew.py:4819
"int" NearestSegment(self, "VECTOR2I" aP)
Definition: pcbnew.py:4900
"int" Find(self, "VECTOR2I" aP, "int" aThreshold=0)
Definition: pcbnew.py:4861
"void" Mirror(self, *args)
Definition: pcbnew.py:4931
"bool" IsArcEnd(self, "size_t" aIndex)
Definition: pcbnew.py:4982
"void" SetWidth(self, "int" aWidth)
Definition: pcbnew.py:4735
"void" SetClosed(self, "bool" aClosed)
Definition: pcbnew.py:4727
"VECTOR2I const" PointAlong(self, "int" aPathLength)
Definition: pcbnew.py:4946
"int" Intersect(self, *args)
Definition: pcbnew.py:4877
"int" Width(self)
Definition: pcbnew.py:4739
"bool" Parse(self, "std::stringstream &" aStream)
Definition: pcbnew.py:4915
"int" Distance(self, "VECTOR2I" aP, "bool" aOutlineOnly=False)
Definition: pcbnew.py:4807
"int" PointCount(self)
Definition: pcbnew.py:4751
"SEG const" CSegment(self, "int" aIndex)
Definition: pcbnew.py:4759
"VECTOR2I const" NearestPoint(self, *args)
Definition: pcbnew.py:4904
"bool" IsPtOnArc(self, "size_t" aPtIndex)
Definition: pcbnew.py:4970
"SHAPE_LINE_CHAIN const" Slice(self, "int" aStartIndex, "int" aEndIndex=-1)
Definition: pcbnew.py:4869
"bool" IsArcSegment(self, "size_t" aSegment)
Definition: pcbnew.py:4974
"size_t" ArcCount(self)
Definition: pcbnew.py:4954
"void" Insert(self, *args)
Definition: pcbnew.py:4832
"double" Area(self, "bool" aAbsolute=True)
Definition: pcbnew.py:4950
"SHAPE_LINE_CHAIN const" Reverse(self)
Definition: pcbnew.py:4811
"int" NextShape(self, "int" aPointIndex, "bool" aForwards=True)
Definition: pcbnew.py:4763
"bool" IsClosed(self)
Definition: pcbnew.py:4731
"void" SetPoint(self, "int" aIndex, "VECTOR2I" aPos)
Definition: pcbnew.py:4771
def __init__(self, *args)
Definition: pcbnew.py:4699
"bool" CheckClearance(self, "VECTOR2I" aP, "int const" aDist)
Definition: pcbnew.py:4888
"int" NormalizeAreaOutlines(self)
Definition: pcbnew.py:5315
"SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR" CIterateSegments(self, *args)
Definition: pcbnew.py:5226
"VECTOR2I const &" CVertex(self, *args)
Definition: pcbnew.py:5102
"bool" IsSelfIntersecting(self)
Definition: pcbnew.py:5118
"void" InsertVertex(self, "int" aGlobalIndex, "VECTOR2I" aNewVertex)
Definition: pcbnew.py:5098
"BOX2I const" BBoxFromCaches(self)
Definition: pcbnew.py:5371
"SHAPE_POLY_SET::POLYGON const &" Polygon(self, *args)
Definition: pcbnew.py:5161
"SHAPE_POLY_SET::ITERATOR" IterateFromVertexWithHoles(self, "int" aGlobalIdx)
Definition: pcbnew.py:5214
"bool" IsVertexInHole(self, "int" aGlobalIdx)
Definition: pcbnew.py:5447
"void" Inflate(self, *args)
Definition: pcbnew.py:5283
"SHAPE_POLY_SET::POLYGON" FilletPolygon(self, "unsigned int" aRadius, "int" aErrorMax, "int" aIndex)
Definition: pcbnew.py:5421
"void" RemoveAllContours(self)
Definition: pcbnew.py:5390
"SHAPE_POLY_SET::POLYGON" ChamferPolygon(self, "unsigned int" aDistance, "int" aIndex)
Definition: pcbnew.py:5417
"bool" PointOnEdge(self, "VECTOR2I" aP)
Definition: pcbnew.py:5347
"void" BooleanAdd(self, *args)
Definition: pcbnew.py:5252
"int" NewHole(self, "int" aOutline=-1)
Definition: pcbnew.py:5061
"SHAPE_POLY_SET" Subset(self, "int" aFirstPolygon, "int" aLastPolygon)
Definition: pcbnew.py:5149
"void" BuildBBoxCaches(self)
Definition: pcbnew.py:5367
"MD5_HASH" GetHash(self)
Definition: pcbnew.py:5029
"SHAPE_POLY_SET::SEGMENT_ITERATOR" IterateSegments(self, *args)
Definition: pcbnew.py:5218
"void" BooleanSubtract(self, *args)
Definition: pcbnew.py:5259
"bool" CollideVertex(self, "VECTOR2I" aPoint, "SHAPE_POLY_SET::VERTEX_INDEX &" aClosestVertex, "int" aClearance=0)
Definition: pcbnew.py:5359
"bool" IsPolygonSelfIntersecting(self, "int" aPolygonIndex)
Definition: pcbnew.py:5114
"SHAPE_POLY_SET::CONST_ITERATOR" CIterateWithHoles(self, *args)
Definition: pcbnew.py:5207
"int" NewOutline(self)
Definition: pcbnew.py:5057
"size_t" GetIndexableSubshapeCount(self)
Definition: pcbnew.py:5037
"SHAPE_POLY_SET::TRIANGULATED_POLYGON const *" TriangulatedPolygon(self, "int" aIndex)
Definition: pcbnew.py:5168
"int" HoleCount(self, "int" aOutline)
Definition: pcbnew.py:5138
"void" CacheTriangulation(self, "bool" aPartition=True)
Definition: pcbnew.py:5021
"int" FullPointCount(self)
Definition: pcbnew.py:5134
"SHAPE_POLY_SET::ITERATOR" Iterate(self, *args)
Definition: pcbnew.py:5184
"void" InflateWithLinkedHoles(self, "int" aFactor, "int" aCircleSegmentsCount, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode)
Definition: pcbnew.py:5291
"SHAPE_POLY_SET::ITERATOR" IterateWithHoles(self, *args)
Definition: pcbnew.py:5192
"bool" GetGlobalIndex(self, "SHAPE_POLY_SET::VERTEX_INDEX" aRelativeIndices, "int &" aGlobalIdx)
Definition: pcbnew.py:5049
"BOX2I const" BBox(self, "int" aClearance=0)
Definition: pcbnew.py:5343
"int" Append(self, *args)
Definition: pcbnew.py:5089
"void" Fracture(self, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode)
Definition: pcbnew.py:5295
"SHAPE_POLY_SET::POLYGON const &" CPolygon(self, "int" aIndex)
Definition: pcbnew.py:5180
"bool" Collide(self, *args)
Definition: pcbnew.py:5351
"void" Rotate(self, *args)
Definition: pcbnew.py:5335
"SHAPE_POLY_SET" Fillet(self, "int" aRadius, "int" aErrorMax)
Definition: pcbnew.py:5429
"SHAPE_POLY_SET" Chamfer(self, "int" aDistance)
Definition: pcbnew.py:5425
"void" SetVertex(self, *args)
Definition: pcbnew.py:5402
"void" RemoveVertex(self, *args)
Definition: pcbnew.py:5383
"SEG::ecoord" SquaredDistance(self, *args)
Definition: pcbnew.py:5440
"bool" Contains(self, "VECTOR2I" aP, "int" aSubpolyIndex=-1, "int" aAccuracy=0, "bool" aUseBBoxCaches=False)
Definition: pcbnew.py:5375
"int" AddHole(self, "SHAPE_LINE_CHAIN" aHole, "int" aOutline=-1)
Definition: pcbnew.py:5069
"std::string const" Format(self)
Definition: pcbnew.py:5319
"bool" HasHoles(self)
Definition: pcbnew.py:5303
"unsigned int" TriangulatedPolyCount(self)
Definition: pcbnew.py:5122
"int" VertexCount(self, "int" aOutline=-1, "int" aHole=-1)
Definition: pcbnew.py:5130
"SHAPE_POLY_SET" UnitSet(self, "int" aPolygonIndex)
Definition: pcbnew.py:5153
"bool" IsSolid(self)
Definition: pcbnew.py:5339
"void" DeletePolygon(self, "int" aIdx)
Definition: pcbnew.py:5413
"SHAPE_LINE_CHAIN const &" CHole(self, "int" aOutline, "int" aHole)
Definition: pcbnew.py:5176
"bool" HasTouchingHoles(self)
Definition: pcbnew.py:5307
"bool" Parse(self, "std::stringstream &" aStream)
Definition: pcbnew.py:5323
"bool" GetNeighbourIndexes(self, "int" aGlobalIndex, "int *" aPrevious, "int *" aNext)
Definition: pcbnew.py:5110
def __init__(self, *args)
Definition: pcbnew.py:5011
"void" Mirror(self, *args)
Definition: pcbnew.py:5331
"SHAPE_LINE_CHAIN const &" COutline(self, "int" aIndex)
Definition: pcbnew.py:5172
"int" AddOutline(self, "SHAPE_LINE_CHAIN" aOutline)
Definition: pcbnew.py:5065
"SHAPE *" Clone(self)
Definition: pcbnew.py:5053
"int" OutlineCount(self)
Definition: pcbnew.py:5126
"SHAPE_POLY_SET::SEGMENT_ITERATOR" IterateSegmentsWithHoles(self, *args)
Definition: pcbnew.py:5234
"void" Deflate(self, *args)
Definition: pcbnew.py:5287
"SEG::ecoord" SquaredDistanceToPolygon(self, *args)
Definition: pcbnew.py:5433
"void" BooleanIntersection(self, *args)
Definition: pcbnew.py:5266
"double" Area(self)
Definition: pcbnew.py:5073
"void" RemoveContour(self, "int" aContourIdx, "int" aPolygonIdx=-1)
Definition: pcbnew.py:5394
"bool" CollideEdge(self, "VECTOR2I" aPoint, "SHAPE_POLY_SET::VERTEX_INDEX &" aClosestVertex, "int" aClearance=0)
Definition: pcbnew.py:5363
"bool" HasIndexableSubshapes(self)
Definition: pcbnew.py:5033
"SHAPE_LINE_CHAIN const &" Outline(self, *args)
Definition: pcbnew.py:5142
"bool" GetRelativeIndices(self, "int" aGlobalIdx, "SHAPE_POLY_SET::VERTEX_INDEX *" aRelativeIndices)
Definition: pcbnew.py:5045
"void" ClearArcs(self)
Definition: pcbnew.py:5085
"int" TotalVertices(self)
Definition: pcbnew.py:5409
"void" Simplify(self, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode)
Definition: pcbnew.py:5311
"bool" IsEmpty(self)
Definition: pcbnew.py:5379
"int" RemoveNullSegments(self)
Definition: pcbnew.py:5398
"SHAPE_POLY_SET::CONST_ITERATOR" CIterate(self, *args)
Definition: pcbnew.py:5199
"SHAPE_POLY_SET const" BuildPolysetFromOrientedPaths("std::vector< SHAPE_LINE_CHAIN,std::allocator< SHAPE_LINE_CHAIN > > const &" aPaths, "bool" aReverseOrientation=False, "bool" aEvenOdd=False)
Definition: pcbnew.py:5452
"void" Unfracture(self, "SHAPE_POLY_SET::POLYGON_MODE" aFastMode)
Definition: pcbnew.py:5299
"SHAPE_POLY_SET::CONST_SEGMENT_ITERATOR" CIterateSegmentsWithHoles(self, *args)
Definition: pcbnew.py:5241
"void" GetIndexableSubshapes(self, "std::vector< SHAPE *,std::allocator< SHAPE * > > &" aSubshapes)
Definition: pcbnew.py:5041
"void" GetArcs(self, "std::vector< SHAPE_ARC,std::allocator< SHAPE_ARC > > &" aArcBuffer)
Definition: pcbnew.py:5081
"SHAPE_LINE_CHAIN &" Hole(self, "int" aOutline, "int" aHole)
Definition: pcbnew.py:5157
"int" ArcCount(self)
Definition: pcbnew.py:5077
"void" Move(self, "VECTOR2I" aVector)
Definition: pcbnew.py:5327
"bool" IsTriangulationUpToDate(self)
Definition: pcbnew.py:5025
"bool" IsNull(self)
Definition: pcbnew.py:4247
"void" Move(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4272
"bool" IsSolid(self)
Definition: pcbnew.py:4276
"void" Rotate(self, *args)
Definition: pcbnew.py:4268
def __init__(self, *args, **kwargs)
Definition: pcbnew.py:4236
"bool" Parse(self, "std::stringstream &" aStream)
Definition: pcbnew.py:4280
"BOX2I const" BBox(self, "int" aClearance=0)
Definition: pcbnew.py:4260
"SHAPE *" Clone(self)
Definition: pcbnew.py:4243
"bool" Collide(self, *args)
Definition: pcbnew.py:4251
"VECTOR2I" Centre(self)
Definition: pcbnew.py:4264
"std::string const" Format(self)
Definition: pcbnew.py:4284
def __init__(self, *args)
Definition: pcbnew.py:2087
def __init__(self, *args)
Definition: pcbnew.py:15534
"std::set< wxString >::size_type" count(self, "wxString" x)
Definition: pcbnew.py:15558
"std::set< wxString >::size_type" __len__(self)
Definition: pcbnew.py:15510
"std::pair< std::set< wxString >::iterator,bool >" insert(self, "wxString" __x)
Definition: pcbnew.py:15602
"std::set< wxString >::iterator" lower_bound(self, "wxString" x)
Definition: pcbnew.py:15590
"void" swap(self, "STRINGSET" v)
Definition: pcbnew.py:15554
"bool" __nonzero__(self)
Definition: pcbnew.py:15502
"void" erase(self, *args)
Definition: pcbnew.py:15578
"void" add(self, "wxString" x)
Definition: pcbnew.py:15526
"void" append(self, "wxString" x)
Definition: pcbnew.py:15514
"std::set< wxString >::size_type" size(self)
Definition: pcbnew.py:15546
"std::set< wxString >::iterator" upper_bound(self, "wxString" x)
Definition: pcbnew.py:15594
"void" discard(self, "wxString" x)
Definition: pcbnew.py:15530
"bool" __contains__(self, "wxString" x)
Definition: pcbnew.py:15518
"std::set< wxString >::iterator" find(self, "wxString" x)
Definition: pcbnew.py:15586
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:15496
"bool" empty(self)
Definition: pcbnew.py:15542
"std::set< wxString >::iterator" begin(self)
Definition: pcbnew.py:15562
"bool" __bool__(self)
Definition: pcbnew.py:15506
"std::set< wxString >::iterator" end(self)
Definition: pcbnew.py:15566
"std::set< wxString >::value_type" __getitem__(self, "std::set< wxString >::difference_type" i)
Definition: pcbnew.py:15522
def __iter__(self)
Definition: pcbnew.py:15499
"std::pair< std::set< wxString >::iterator,std::set< wxString >::iterator >" equal_range(self, "wxString" x)
Definition: pcbnew.py:15598
"std::set< wxString >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:15570
"std::set< wxString >::reverse_iterator" rend(self)
Definition: pcbnew.py:15574
"void" clear(self)
Definition: pcbnew.py:15550
def __init__(self, *args)
Definition: pcbnew.py:2047
"std::string const &" GetString(self)
Definition: pcbnew.py:2059
"void" Clear(self)
Definition: pcbnew.py:2051
"void" StripUseless(self)
Definition: pcbnew.py:2055
def __init__(self, *args)
Definition: pcbnew.py:1978
"char *" ReadLine(self)
Definition: pcbnew.py:1985
def __init__(self)
Definition: pcbnew.py:2260
def __init__(self, "int" aSetOfBits=0)
Definition: pcbnew.py:2552
"bool" Bit(self, *args)
Definition: pcbnew.py:2563
def __init__(self, "wxString" aText, "bool" aVisible, "int" aLayer)
Definition: pcbnew.py:8885
"void" Clear(self)
Definition: pcbnew.py:2146
"wxString const &" GetTitle(self)
Definition: pcbnew.py:2110
"wxString const &" GetCompany(self)
Definition: pcbnew.py:2134
"wxString const &" GetComment(self, "int" aIdx)
Definition: pcbnew.py:2142
"wxString const &" GetDate(self)
Definition: pcbnew.py:2118
"void" Format(self, "OUTPUTFORMATTER" aFormatter, "int" aNestLevel, "int" aControlBits)
Definition: pcbnew.py:2159
"bool" TextVarResolver(self, "wxString" aToken, "PROJECT const *" aProject)
Definition: pcbnew.py:2155
"void" SetComment(self, "int" aIdx, "wxString" aComment)
Definition: pcbnew.py:2138
"void" SetTitle(self, "wxString" aTitle)
Definition: pcbnew.py:2106
"void" SetCompany(self, "wxString" aCompany)
Definition: pcbnew.py:2130
"void" GetContextualTextVars("wxArrayString *" aVars)
Definition: pcbnew.py:2151
"void" SetDate(self, "wxString" aDate)
Definition: pcbnew.py:2114
"wxString const &" GetRevision(self)
Definition: pcbnew.py:2126
def __init__(self)
Definition: pcbnew.py:2101
"void" SetRevision(self, "wxString" aRevision)
Definition: pcbnew.py:2122
"bool" __nonzero__(self)
Definition: pcbnew.py:14882
"void" swap(self, "TRACKS_VEC" v)
Definition: pcbnew.py:14947
"std::vector< PCB_TRACK * >::iterator" erase(self, *args)
Definition: pcbnew.py:14979
"void" __setslice__(self, *args)
Definition: pcbnew.py:14898
"void" __delitem__(self, *args)
Definition: pcbnew.py:14909
"std::vector< PCB_TRACK * >::value_type" front(self)
Definition: pcbnew.py:14999
def __iter__(self)
Definition: pcbnew.py:14879
"std::vector< PCB_TRACK * >::size_type" size(self)
Definition: pcbnew.py:14943
"void" __delslice__(self, "std::vector< PCB_TRACK * >::difference_type" i, "std::vector< PCB_TRACK * >::difference_type" j)
Definition: pcbnew.py:14905
"void" __setitem__(self, *args)
Definition: pcbnew.py:14923
"std::vector< PCB_TRACK * >::value_type" pop(self)
Definition: pcbnew.py:14931
"void" push_back(self, "PCB_TRACK" x)
Definition: pcbnew.py:14995
"std::vector< PCB_TRACK *,std::allocator< PCB_TRACK * > > *" __getslice__(self, "std::vector< PCB_TRACK * >::difference_type" i, "std::vector< PCB_TRACK * >::difference_type" j)
Definition: pcbnew.py:14894
"std::vector< PCB_TRACK * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:14959
"void" reserve(self, "std::vector< PCB_TRACK * >::size_type" n)
Definition: pcbnew.py:15025
"void" pop_back(self)
Definition: pcbnew.py:14975
"void" clear(self)
Definition: pcbnew.py:14967
"void" resize(self, *args)
Definition: pcbnew.py:15011
"void" insert(self, *args)
Definition: pcbnew.py:15018
"void" assign(self, "std::vector< PCB_TRACK * >::size_type" n, "PCB_TRACK" x)
Definition: pcbnew.py:15007
"std::vector< PCB_TRACK * >::size_type" __len__(self)
Definition: pcbnew.py:14890
"void" append(self, "PCB_TRACK" x)
Definition: pcbnew.py:14935
"std::vector< PCB_TRACK * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:14916
"bool" empty(self)
Definition: pcbnew.py:14939
"std::vector< PCB_TRACK * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:14971
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:14876
"std::vector< PCB_TRACK * >::reverse_iterator" rend(self)
Definition: pcbnew.py:14963
def __init__(self, *args)
Definition: pcbnew.py:14986
"std::vector< PCB_TRACK * >::iterator" end(self)
Definition: pcbnew.py:14955
"std::vector< PCB_TRACK * >::value_type" back(self)
Definition: pcbnew.py:15003
"std::vector< PCB_TRACK * >::size_type" capacity(self)
Definition: pcbnew.py:15029
"std::vector< PCB_TRACK * >::iterator" begin(self)
Definition: pcbnew.py:14951
"bool" __bool__(self)
Definition: pcbnew.py:14886
"std::deque< PCB_TRACK * >::value_type" back(self)
Definition: pcbnew.py:9912
"bool" empty(self)
Definition: pcbnew.py:9848
"std::deque< PCB_TRACK * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:9868
"std::deque< PCB_TRACK * >::size_type" size(self)
Definition: pcbnew.py:9852
"void" push_back(self, "PCB_TRACK" x)
Definition: pcbnew.py:9904
"void" resize(self, *args)
Definition: pcbnew.py:9920
"void" pop_back(self)
Definition: pcbnew.py:9884
"void" __setslice__(self, *args)
Definition: pcbnew.py:9807
"std::deque< PCB_TRACK * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:9825
"std::deque< PCB_TRACK *,std::allocator< PCB_TRACK * > > *" __getslice__(self, "std::deque< PCB_TRACK * >::difference_type" i, "std::deque< PCB_TRACK * >::difference_type" j)
Definition: pcbnew.py:9803
"std::deque< PCB_TRACK * >::value_type" front(self)
Definition: pcbnew.py:9908
"void" assign(self, "std::deque< PCB_TRACK * >::size_type" n, "PCB_TRACK" x)
Definition: pcbnew.py:9916
"void" __setitem__(self, *args)
Definition: pcbnew.py:9832
"std::deque< PCB_TRACK * >::size_type" __len__(self)
Definition: pcbnew.py:9799
"std::deque< PCB_TRACK * >::reverse_iterator" rend(self)
Definition: pcbnew.py:9872
"bool" __bool__(self)
Definition: pcbnew.py:9795
"void" __delslice__(self, "std::deque< PCB_TRACK * >::difference_type" i, "std::deque< PCB_TRACK * >::difference_type" j)
Definition: pcbnew.py:9814
"std::deque< PCB_TRACK * >::iterator" erase(self, *args)
Definition: pcbnew.py:9888
"void" push_front(self, "PCB_TRACK" x)
Definition: pcbnew.py:9938
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:9785
def __iter__(self)
Definition: pcbnew.py:9788
"void" __delitem__(self, *args)
Definition: pcbnew.py:9818
def __init__(self, *args)
Definition: pcbnew.py:9895
"bool" __nonzero__(self)
Definition: pcbnew.py:9791
"std::deque< PCB_TRACK * >::iterator" begin(self)
Definition: pcbnew.py:9860
"void" append(self, "PCB_TRACK" x)
Definition: pcbnew.py:9844
"void" clear(self)
Definition: pcbnew.py:9876
"void" insert(self, *args)
Definition: pcbnew.py:9927
"std::deque< PCB_TRACK * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:9880
"void" pop_front(self)
Definition: pcbnew.py:9934
"std::deque< PCB_TRACK * >::iterator" end(self)
Definition: pcbnew.py:9864
"void" swap(self, "TRACKS" v)
Definition: pcbnew.py:9856
"std::deque< PCB_TRACK * >::value_type" pop(self)
Definition: pcbnew.py:9840
"wxString" utf8_to_wxstring(self)
Definition: pcbnew.py:5550
"std::string::const_iterator" begin(self)
Definition: pcbnew.py:5554
"std::string const &" utf8_to_string(self)
Definition: pcbnew.py:5542
def __str__(self)
Definition: pcbnew.py:5573
"std::string::size_type" length(self)
Definition: pcbnew.py:5503
"void" clear(self)
Definition: pcbnew.py:5499
"bool" empty(self)
Definition: pcbnew.py:5488
def __init__(self, *args)
Definition: pcbnew.py:5473
"char const *" c_str(self)
Definition: pcbnew.py:5484
"std::string::size_type" find_first_of(self, "string" str, "std::string::size_type" pos=0)
Definition: pcbnew.py:5523
"char const *" Cast_to_CChar(self)
Definition: pcbnew.py:5562
"std::string::const_iterator" end(self)
Definition: pcbnew.py:5558
def GetChars(self)
Definition: pcbnew.py:5568
"int" compare(self, "string" s)
Definition: pcbnew.py:5511
"std::string" substr(self, *args)
Definition: pcbnew.py:5538
"bool" __eq__(self, *args)
Definition: pcbnew.py:5515
"UTF8 &" __iadd__(self, *args)
Definition: pcbnew.py:5527
"wxString" wx_str(self)
Definition: pcbnew.py:5546
"std::string::size_type" find(self, *args)
Definition: pcbnew.py:5492
"std::string::size_type" size(self)
Definition: pcbnew.py:5507
"VECTOR2< int >" Rotate(self, "double" aAngle)
Definition: pcbnew.py:4393
"VECTOR2< int >" Perpendicular(self)
Definition: pcbnew.py:4381
"bool" __ge__(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4474
"VECTOR2< int >" __sub__(self, *args)
Definition: pcbnew.py:4423
"bool" __eq__(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4454
"VECTOR2< int >::extended_type" Dot(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4405
"VECTOR2< int > &" __iadd__(self, *args)
Definition: pcbnew.py:4416
"int" EuclideanNorm(self)
Definition: pcbnew.py:4373
"bool" __gt__(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4470
"bool" __lt__(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4462
"VECTOR2< int >::extended_type" SquaredEuclideanNorm(self)
Definition: pcbnew.py:4377
"VECTOR2< int > &" __isub__(self, *args)
Definition: pcbnew.py:4430
def __truediv__(self, *args)
Definition: pcbnew.py:4448
"PyObject *" Get(self)
Definition: pcbnew.py:4482
"VECTOR2< int >" __neg__(self)
Definition: pcbnew.py:4437
"VECTOR2< int >" __mul__(self, *args)
Definition: pcbnew.py:4441
def __setitem__(self, index, val)
Definition: pcbnew.py:4492
"wxPoint" getWxPoint(self)
Definition: pcbnew.py:4369
"VECTOR2< int >::extended_type" Cross(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4401
def __init__(self, *args)
Definition: pcbnew.py:4359
def __nonzero__(self)
Definition: pcbnew.py:4499
"std::string const" Format(self)
Definition: pcbnew.py:4397
def __str__(self)
Definition: pcbnew.py:4488
"VECTOR2< int >" Resize(self, "int" aNewLength)
Definition: pcbnew.py:4385
"double" Angle(self)
Definition: pcbnew.py:4389
"bool" __le__(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4466
def __getitem__(self, index)
Definition: pcbnew.py:4491
def __len__(self)
Definition: pcbnew.py:4490
"void" Set(self, "long" x, "long" y)
Definition: pcbnew.py:4478
"bool" __ne__(self, "VECTOR2I" aVector)
Definition: pcbnew.py:4458
"VECTOR2< int >" __add__(self, *args)
Definition: pcbnew.py:4409
def __init__(self)
Definition: pcbnew.py:17204
"std::vector< VECTOR2< int > >::iterator" begin(self)
Definition: pcbnew.py:4588
"std::vector< VECTOR2< int > >::size_type" size(self)
Definition: pcbnew.py:4580
"void" append(self, "VECTOR2I" x)
Definition: pcbnew.py:4572
def __iter__(self)
Definition: pcbnew.py:4516
"void" __delslice__(self, "std::vector< VECTOR2< int > >::difference_type" i, "std::vector< VECTOR2< int > >::difference_type" j)
Definition: pcbnew.py:4542
"std::vector< VECTOR2< int > >::iterator" erase(self, *args)
Definition: pcbnew.py:4616
"void" __delitem__(self, *args)
Definition: pcbnew.py:4546
"void" __setitem__(self, *args)
Definition: pcbnew.py:4560
"void" insert(self, *args)
Definition: pcbnew.py:4655
"std::vector< VECTOR2< int >,std::allocator< VECTOR2< int > > > *" __getslice__(self, "std::vector< VECTOR2< int > >::difference_type" i, "std::vector< VECTOR2< int > >::difference_type" j)
Definition: pcbnew.py:4531
"void" reserve(self, "std::vector< VECTOR2< int > >::size_type" n)
Definition: pcbnew.py:4662
"void" push_back(self, "VECTOR2I" x)
Definition: pcbnew.py:4632
"std::vector< VECTOR2< int > >::allocator_type" get_allocator(self)
Definition: pcbnew.py:4608
"std::vector< VECTOR2< int > >::value_type const &" back(self)
Definition: pcbnew.py:4640
"std::vector< VECTOR2< int > >::value_type" pop(self)
Definition: pcbnew.py:4568
def __init__(self, *args)
Definition: pcbnew.py:4623
"std::vector< VECTOR2< int > >::size_type" capacity(self)
Definition: pcbnew.py:4666
"void" resize(self, *args)
Definition: pcbnew.py:4648
"bool" __nonzero__(self)
Definition: pcbnew.py:4519
"bool" __bool__(self)
Definition: pcbnew.py:4523
"void" clear(self)
Definition: pcbnew.py:4604
"void" __setslice__(self, *args)
Definition: pcbnew.py:4535
"std::vector< VECTOR2< int > >::reverse_iterator" rend(self)
Definition: pcbnew.py:4600
"bool" empty(self)
Definition: pcbnew.py:4576
"std::vector< VECTOR2< int > >::value_type const &" front(self)
Definition: pcbnew.py:4636
"void" assign(self, "std::vector< VECTOR2< int > >::size_type" n, "VECTOR2I" x)
Definition: pcbnew.py:4644
"std::vector< VECTOR2< int > >::value_type const &" __getitem__(self, *args)
Definition: pcbnew.py:4553
"void" pop_back(self)
Definition: pcbnew.py:4612
"void" swap(self, "VECTOR_VECTOR2I" v)
Definition: pcbnew.py:4584
"std::vector< VECTOR2< int > >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:4596
"std::vector< VECTOR2< int > >::iterator" end(self)
Definition: pcbnew.py:4592
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:4513
"std::vector< VECTOR2< int > >::size_type" __len__(self)
Definition: pcbnew.py:4527
"std::vector< VIA_DIMENSION >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:16192
"void" assign(self, "std::vector< VIA_DIMENSION >::size_type" n, "VIA_DIMENSION" x)
Definition: pcbnew.py:16240
"bool" __nonzero__(self)
Definition: pcbnew.py:16115
"void" __setitem__(self, *args)
Definition: pcbnew.py:16156
"std::vector< VIA_DIMENSION >::reverse_iterator" rend(self)
Definition: pcbnew.py:16196
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:16109
"std::vector< VIA_DIMENSION >::value_type const &" __getitem__(self, *args)
Definition: pcbnew.py:16149
"std::vector< VIA_DIMENSION >::value_type const &" front(self)
Definition: pcbnew.py:16232
"std::vector< VIA_DIMENSION >::allocator_type" get_allocator(self)
Definition: pcbnew.py:16204
"void" __setslice__(self, *args)
Definition: pcbnew.py:16131
def __init__(self, *args)
Definition: pcbnew.py:16219
"std::vector< VIA_DIMENSION >::iterator" end(self)
Definition: pcbnew.py:16188
"void" resize(self, *args)
Definition: pcbnew.py:16244
"void" __delslice__(self, "std::vector< VIA_DIMENSION >::difference_type" i, "std::vector< VIA_DIMENSION >::difference_type" j)
Definition: pcbnew.py:16138
"std::vector< VIA_DIMENSION >::size_type" capacity(self)
Definition: pcbnew.py:16262
"std::vector< VIA_DIMENSION >::iterator" begin(self)
Definition: pcbnew.py:16184
"void" insert(self, *args)
Definition: pcbnew.py:16251
"std::vector< VIA_DIMENSION >::size_type" __len__(self)
Definition: pcbnew.py:16123
"std::vector< VIA_DIMENSION >::iterator" erase(self, *args)
Definition: pcbnew.py:16212
"void" swap(self, "VIA_DIMENSION_Vector" v)
Definition: pcbnew.py:16180
"void" reserve(self, "std::vector< VIA_DIMENSION >::size_type" n)
Definition: pcbnew.py:16258
"void" __delitem__(self, *args)
Definition: pcbnew.py:16142
"void" append(self, "VIA_DIMENSION" x)
Definition: pcbnew.py:16168
"std::vector< VIA_DIMENSION >::value_type" pop(self)
Definition: pcbnew.py:16164
"void" push_back(self, "VIA_DIMENSION" x)
Definition: pcbnew.py:16228
"std::vector< VIA_DIMENSION >::size_type" size(self)
Definition: pcbnew.py:16176
"std::vector< VIA_DIMENSION >::value_type const &" back(self)
Definition: pcbnew.py:16236
"std::vector< VIA_DIMENSION,std::allocator< VIA_DIMENSION > > *" __getslice__(self, "std::vector< VIA_DIMENSION >::difference_type" i, "std::vector< VIA_DIMENSION >::difference_type" j)
Definition: pcbnew.py:16127
"bool" __lt__(self, "VIA_DIMENSION" aOther)
Definition: pcbnew.py:8826
"bool" __eq__(self, "VIA_DIMENSION" aOther)
Definition: pcbnew.py:8822
def __init__(self, *args)
Definition: pcbnew.py:8815
"bool" ExportVRML_File(self, "wxString" aFullFileName, "double" aMMtoWRMLunit, "bool" aExport3DFiles, "bool" aUseRelativePaths, "wxString" a3D_Subdir, "double" aXRef, "double" aYRef)
Definition: pcbnew.py:6866
def __init__(self)
Definition: pcbnew.py:6870
"void" append(self, "ZONE" x)
Definition: pcbnew.py:9677
"std::vector< ZONE * >::iterator" begin(self)
Definition: pcbnew.py:9693
"void" __delslice__(self, "std::vector< ZONE * >::difference_type" i, "std::vector< ZONE * >::difference_type" j)
Definition: pcbnew.py:9647
"void" __setslice__(self, *args)
Definition: pcbnew.py:9640
"bool" empty(self)
Definition: pcbnew.py:9681
"void" push_back(self, "ZONE" x)
Definition: pcbnew.py:9737
def __init__(self, *args)
Definition: pcbnew.py:9728
"std::vector< ZONE * >::iterator" end(self)
Definition: pcbnew.py:9697
"std::vector< ZONE * >::size_type" capacity(self)
Definition: pcbnew.py:9771
"void" resize(self, *args)
Definition: pcbnew.py:9753
"void" __delitem__(self, *args)
Definition: pcbnew.py:9651
"std::vector< ZONE * >::value_type" back(self)
Definition: pcbnew.py:9745
def __iter__(self)
Definition: pcbnew.py:9621
"std::vector< ZONE *,std::allocator< ZONE * > > *" __getslice__(self, "std::vector< ZONE * >::difference_type" i, "std::vector< ZONE * >::difference_type" j)
Definition: pcbnew.py:9636
"std::vector< ZONE * >::value_type" front(self)
Definition: pcbnew.py:9741
"void" __setitem__(self, *args)
Definition: pcbnew.py:9665
"void" clear(self)
Definition: pcbnew.py:9709
"std::vector< ZONE * >::size_type" __len__(self)
Definition: pcbnew.py:9632
"std::vector< ZONE * >::size_type" size(self)
Definition: pcbnew.py:9685
"std::vector< ZONE * >::allocator_type" get_allocator(self)
Definition: pcbnew.py:9713
"void" insert(self, *args)
Definition: pcbnew.py:9760
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:9618
"void" swap(self, "ZONES" v)
Definition: pcbnew.py:9689
"std::vector< ZONE * >::iterator" erase(self, *args)
Definition: pcbnew.py:9721
"void" pop_back(self)
Definition: pcbnew.py:9717
"void" assign(self, "std::vector< ZONE * >::size_type" n, "ZONE" x)
Definition: pcbnew.py:9749
"void" reserve(self, "std::vector< ZONE * >::size_type" n)
Definition: pcbnew.py:9767
"bool" __nonzero__(self)
Definition: pcbnew.py:9624
"bool" __bool__(self)
Definition: pcbnew.py:9628
"std::vector< ZONE * >::value_type" pop(self)
Definition: pcbnew.py:9673
"std::vector< ZONE * >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:9701
"std::vector< ZONE * >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:9658
"std::vector< ZONE * >::reverse_iterator" rend(self)
Definition: pcbnew.py:9705
def __init__(self, "BOARD" aBoard)
Definition: pcbnew.py:12955
"bool" IsDebug(self)
Definition: pcbnew.py:12951
"void" SetProgressReporter(self, "PROGRESS_REPORTER *" aReporter)
Definition: pcbnew.py:12943
"bool" Fill(self, "ZONES" aZones, "bool" aCheck=False, "wxWindow *" aParent=None)
Definition: pcbnew.py:12947
"void" SetCornerSmoothingType(self, "int" aType)
Definition: pcbnew.py:13029
"void" SetCornerRadius(self, "int" aRadius)
Definition: pcbnew.py:13037
"bool const" GetDoNotAllowFootprints(self)
Definition: pcbnew.py:13073
"void" SetupLayersList(self, "wxDataViewListCtrl *" aList, "PCB_BASE_FRAME *" aFrame, "LSET" aLayers, "bool" aFpEditorMode)
Definition: pcbnew.py:13021
"void" SetDoNotAllowTracks(self, "bool" aEnable)
Definition: pcbnew.py:13089
"bool const" GetDoNotAllowTracks(self)
Definition: pcbnew.py:13065
"int" GetCornerSmoothingType(self)
Definition: pcbnew.py:13033
"void" SetIsRuleArea(self, "bool" aEnable)
Definition: pcbnew.py:13077
"ISLAND_REMOVAL_MODE const" GetIslandRemovalMode(self)
Definition: pcbnew.py:13101
"ZONE_SETTINGS &" __lshift__(self, "ZONE" aSource)
Definition: pcbnew.py:13017
"unsigned int" GetCornerRadius(self)
Definition: pcbnew.py:13041
"void" SetDoNotAllowFootprints(self, "bool" aEnable)
Definition: pcbnew.py:13097
"bool const" GetIsRuleArea(self)
Definition: pcbnew.py:13053
"bool const" GetDoNotAllowPads(self)
Definition: pcbnew.py:13069
"void" SetMinIslandArea(self, "long long" aArea)
Definition: pcbnew.py:13113
"void" SetDoNotAllowVias(self, "bool" aEnable)
Definition: pcbnew.py:13085
"ZONE_CONNECTION" GetPadConnection(self)
Definition: pcbnew.py:13045
"void" SetIslandRemovalMode(self, "ISLAND_REMOVAL_MODE" aRemove)
Definition: pcbnew.py:13105
"long long" GetMinIslandArea(self)
Definition: pcbnew.py:13109
"void" ExportSetting(self, "ZONE" aTarget, "bool" aFullExport=True)
Definition: pcbnew.py:13025
"void" SetDoNotAllowCopperPour(self, "bool" aEnable)
Definition: pcbnew.py:13081
"void" SetDoNotAllowPads(self, "bool" aEnable)
Definition: pcbnew.py:13093
"bool const" GetDoNotAllowVias(self)
Definition: pcbnew.py:13061
"void" SetPadConnection(self, "ZONE_CONNECTION" aPadConnection)
Definition: pcbnew.py:13049
def __init__(self)
Definition: pcbnew.py:13013
"bool const" GetDoNotAllowCopperPour(self)
Definition: pcbnew.py:13057
"double" GetHatchOrientation(self)
Definition: pcbnew.py:12444
"std::vector< SEG,std::allocator< SEG > > const &" FillSegments(self, *args)
Definition: pcbnew.py:12503
"void" SetZoneName(self, "wxString" aName)
Definition: pcbnew.py:12284
"bool" IsIsland(self, "PCB_LAYER_ID" aLayer, "int" aPolyIdx)
Definition: pcbnew.py:12669
"void" SetMinIslandArea(self, "long long" aArea)
Definition: pcbnew.py:12811
"void" SetCornerPosition(self, "int" aCornerIndex, "wxPoint" new_pos)
Definition: pcbnew.py:12625
"SHAPE_POLY_SET::CONST_ITERATOR" CIterateWithHoles(self)
Definition: pcbnew.py:12613
"ZONE_CONNECTION" GetPadConnection(self, *args)
Definition: pcbnew.py:12409
"void" SetCornerRadius(self, "unsigned int" aRadius)
Definition: pcbnew.py:12689
"SHAPE_POLY_SET::ITERATOR" Iterate(self)
Definition: pcbnew.py:12605
"SHAPE_POLY_SET const *" Outline(self, *args)
Definition: pcbnew.py:12510
"int" GetDefaultHatchPitch()
Definition: pcbnew.py:12820
"ZONE_BORDER_DISPLAY_STYLE" GetHatchStyle(self)
Definition: pcbnew.py:12637
"void" InitDataFromSrcInCopyCtor(self, "ZONE" aZone)
Definition: pcbnew.py:12240
"void" SetHatchOrientation(self, "double" aStep)
Definition: pcbnew.py:12448
"bool" HitTestForEdge(self, *args)
Definition: pcbnew.py:12559
"int" GetThermalReliefSpokeWidth(self, *args)
Definition: pcbnew.py:12366
"bool" KeepoutAll(self)
Definition: pcbnew.py:12771
"void" Flip(self, "wxPoint" aCentre, "bool" aFlipLeftRight)
Definition: pcbnew.py:12589
"void" SetLayerSet(self, "LSET" aLayerSet)
Definition: pcbnew.py:12272
"bool" NeedRefill(self)
Definition: pcbnew.py:12401
"void" SetOutline(self, "SHAPE_POLY_SET" aOutline)
Definition: pcbnew.py:12517
"bool" AppendCorner(self, "wxPoint" aPosition, "int" aHoleIdx, "bool" aAllowDuplication=False)
Definition: pcbnew.py:12633
"bool" GetHV45(self)
Definition: pcbnew.py:12844
"int" GetHatchBorderAlgorithm(self)
Definition: pcbnew.py:12476
"void" GetMsgPanelInfo(self, "EDA_DRAW_FRAME *" aFrame, "std::vector< MSG_PANEL_ITEM,std::allocator< MSG_PANEL_ITEM > > &" aList)
Definition: pcbnew.py:12268
"bool" HitTestForCorner(self, *args)
Definition: pcbnew.py:12552
"EDA_RECT const" GetCachedBoundingBox(self)
Definition: pcbnew.py:12296
"bool" IsConnected(self)
Definition: pcbnew.py:12228
"bool" GetIsRuleArea(self)
Definition: pcbnew.py:12743
"bool" IsSame(self, "ZONE" aZoneToCompare)
Definition: pcbnew.py:12645
"bool" IsFilled(self)
Definition: pcbnew.py:12393
"bool" UnFill(self)
Definition: pcbnew.py:12573
"void" SetMinThickness(self, "int" aMinThickness)
Definition: pcbnew.py:12424
"int" GetHatchThickness(self)
Definition: pcbnew.py:12428
"void" HatchBorder(self)
Definition: pcbnew.py:12836
"void" SetFilledPolysList(self, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aPolysList)
Definition: pcbnew.py:12661
"SHAPE_POLY_SET const &" GetFilledPolysList(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12653
"bool" BuildSmoothedPoly(self, "SHAPE_POLY_SET" aSmoothedPoly, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aBoardOutline, "SHAPE_POLY_SET" aSmoothedPolyWithApron=None)
Definition: pcbnew.py:12677
"void" SetThermalReliefGap(self, "int" aThermalReliefGap)
Definition: pcbnew.py:12351
"void" CacheTriangulation(self, "PCB_LAYER_ID" aLayer=UNDEFINED_LAYER)
Definition: pcbnew.py:12657
"int" GetLocalClearance(self, *args)
Definition: pcbnew.py:12304
"PCB_LAYER_ID" GetLayer(self)
Definition: pcbnew.py:12327
"void" SetHatchSmoothingLevel(self, "int" aLevel)
Definition: pcbnew.py:12456
"bool" GetDoNotAllowPads(self)
Definition: pcbnew.py:12759
"void" CacheBoundingBox(self)
Definition: pcbnew.py:12300
"int" GetFillFlag(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12385
"bool" GetDoNotAllowCopperPour(self)
Definition: pcbnew.py:12747
"int" GetHatchSmoothingLevel(self)
Definition: pcbnew.py:12452
"BITMAPS" GetMenuImage(self)
Definition: pcbnew.py:12735
"VECTOR2I const &" GetCornerPosition(self, "int" aCornerIndex)
Definition: pcbnew.py:12621
"void" SetFillMode(self, "ZONE_FILL_MODE" aFillMode)
Definition: pcbnew.py:12343
"void" SetBorderDisplayStyle(self, "ZONE_BORDER_DISPLAY_STYLE" aHatchStyle, "int" aHatchPitch, "bool" aRebuildHatch)
Definition: pcbnew.py:12824
"MD5_HASH" GetHashValue(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12856
"void" Rotate(self, "wxPoint" aCentre, "double" aAngle)
Definition: pcbnew.py:12585
"void" Mirror(self, "wxPoint" aMirrorRef, "bool" aMirrorLeftRight)
Definition: pcbnew.py:12593
"void" AddPolygon(self, *args)
Definition: pcbnew.py:12716
"bool" GetDoNotAllowVias(self)
Definition: pcbnew.py:12751
"void" Move(self, "wxPoint" offset)
Definition: pcbnew.py:12577
"void" SetHatchThickness(self, "int" aThickness)
Definition: pcbnew.py:12432
"void" SetPosition(self, "wxPoint" aPos)
Definition: pcbnew.py:12248
"wxString" GetSelectMenuText(self, "EDA_UNITS" aUnits)
Definition: pcbnew.py:12731
"int" GetNumCorners(self)
Definition: pcbnew.py:12601
"void" SetNeedRefill(self, "bool" aNeedRefill)
Definition: pcbnew.py:12405
"double" GetFilledArea(self)
Definition: pcbnew.py:12377
"int" GetMinThickness(self)
Definition: pcbnew.py:12420
"void" UnHatchBorder(self)
Definition: pcbnew.py:12832
"void" SetHatchStyle(self, "ZONE_BORDER_DISPLAY_STYLE" aStyle)
Definition: pcbnew.py:12641
"bool" HigherPriority(self, "ZONE" aOther)
Definition: pcbnew.py:12260
"bool" SameNet(self, "ZONE" aOther)
Definition: pcbnew.py:12264
"bool" IsOnLayer(self, "PCB_LAYER_ID" arg2)
Definition: pcbnew.py:12331
"bool" HasFilledPolysForLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12649
"wxString" GetZoneName(self)
Definition: pcbnew.py:12280
"bool" HitTest(self, *args)
Definition: pcbnew.py:12566
"double" GetHatchSmoothingValue(self)
Definition: pcbnew.py:12460
"void" SetHatchPitch(self, "int" aPitch)
Definition: pcbnew.py:12828
"wxString" GetNetClassName(self)
Definition: pcbnew.py:12236
"int" GetThermalReliefGap(self, *args)
Definition: pcbnew.py:12355
"void" SwapData(self, "BOARD_ITEM" aImage)
Definition: pcbnew.py:12860
"NETCLASS *" GetNetClass(self)
Definition: pcbnew.py:12232
"void" SetThermalReliefSpokeWidth(self, "int" aThermalReliefSpokeWidth)
Definition: pcbnew.py:12362
"void" SetIsIsland(self, "PCB_LAYER_ID" aLayer, "int" aPolyIdx)
Definition: pcbnew.py:12673
"bool" IsOnCopperLayer(self)
Definition: pcbnew.py:12315
"void" ViewGetLayers(self, "int []" aLayers, "int &" aCount)
Definition: pcbnew.py:12335
"void" SetHatchSmoothingValue(self, "double" aValue)
Definition: pcbnew.py:12464
"bool" GetDoNotAllowTracks(self)
Definition: pcbnew.py:12755
"void" SetFillFlag(self, "PCB_LAYER_ID" aLayer, "bool" aFlag)
Definition: pcbnew.py:12389
"void" SetHatchBorderAlgorithm(self, "int" aAlgo)
Definition: pcbnew.py:12480
"void" SetDoNotAllowFootprints(self, "bool" aEnable)
Definition: pcbnew.py:12795
"void" SetHatchGap(self, "int" aStep)
Definition: pcbnew.py:12440
"wxPoint" GetPosition(self)
Definition: pcbnew.py:12244
"bool" HitTestFilledArea(self, "PCB_LAYER_ID" aLayer, "wxPoint" aRefPos, "int" aAccuracy=0)
Definition: pcbnew.py:12525
def __init__(self, *args)
Definition: pcbnew.py:12215
"void" NewHole(self)
Definition: pcbnew.py:12629
"std::shared_ptr< SHAPE >" GetEffectiveShape(self, *args)
Definition: pcbnew.py:12521
"void" MoveEdge(self, "wxPoint" offset, "int" aEdge)
Definition: pcbnew.py:12581
"void" RemoveAllContours(self)
Definition: pcbnew.py:12617
"bool" CommonLayerExists(self, "LSET" aLayerSet)
Definition: pcbnew.py:12319
"double" CalculateFilledArea(self)
Definition: pcbnew.py:12373
"void" SetCornerSmoothingType(self, "int" aType)
Definition: pcbnew.py:12681
"int" GetLocalFlags(self)
Definition: pcbnew.py:12495
"long long" GetMinIslandArea(self)
Definition: pcbnew.py:12807
"int" GetBorderHatchPitch(self)
Definition: pcbnew.py:12815
"int" GetFillVersion(self)
Definition: pcbnew.py:12704
"bool" Matches(self, "wxFindReplaceData const &" aSearchData, "void *" aAuxData)
Definition: pcbnew.py:12288
"void" TransformSmoothedOutlineToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "int" aClearance, "int" aError, "ERROR_LOC" aErrorLoc, "SHAPE_POLY_SET" aBoardOutline)
Definition: pcbnew.py:12544
"void" SetFillVersion(self, "int" aVersion)
Definition: pcbnew.py:12708
"void" SetDoNotAllowTracks(self, "bool" aEnable)
Definition: pcbnew.py:12787
"EDA_ITEM *" Clone(self)
Definition: pcbnew.py:12739
"std::vector< SEG,std::allocator< SEG > > const &" GetHatchLines(self)
Definition: pcbnew.py:12840
"void" TransformShapeWithClearanceToPolygon(self, "SHAPE_POLY_SET" aCornerBuffer, "PCB_LAYER_ID" aLayer, "int" aClearanceValue, "int" aError, "ERROR_LOC" aErrorLoc, "bool" ignoreLineWidth=False)
Definition: pcbnew.py:12548
"void" SetPriority(self, "unsigned int" aPriority)
Definition: pcbnew.py:12252
"void" SetRawPolysList(self, "PCB_LAYER_ID" aLayer, "SHAPE_POLY_SET" aPolysList)
Definition: pcbnew.py:12665
"void" GetInteractingZones(self, "PCB_LAYER_ID" aLayer, "ZONES" aSameNetCollidingZones, "ZONES" aOtherNetIntersectingZones)
Definition: pcbnew.py:12536
"bool" IsKeepout(self)
Definition: pcbnew.py:12767
"void" SetDoNotAllowCopperPour(self, "bool" aEnable)
Definition: pcbnew.py:12779
"double" ViewGetLOD(self, "int" aLayer, "KIGFX::VIEW *" aView)
Definition: pcbnew.py:12339
"void" SetIslandRemovalMode(self, "ISLAND_REMOVAL_MODE" aRemove)
Definition: pcbnew.py:12803
"double" GetHatchHoleMinArea(self)
Definition: pcbnew.py:12468
"void" SetSelectedCorner(self, *args)
Definition: pcbnew.py:12488
"EDA_RECT const" GetBoundingBox(self)
Definition: pcbnew.py:12292
"bool" GetDoNotAllowFootprints(self)
Definition: pcbnew.py:12763
"void" SetLayer(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12323
"ZONE_FILL_MODE" GetFillMode(self)
Definition: pcbnew.py:12347
"LSET" GetLayerSet(self)
Definition: pcbnew.py:12276
"void" SetIsRuleArea(self, "bool" aEnable)
Definition: pcbnew.py:12775
"bool" HitTestCutout(self, *args)
Definition: pcbnew.py:12529
"void" SetLocalFlags(self, "int" aFlags)
Definition: pcbnew.py:12499
"ISLAND_REMOVAL_MODE const" GetIslandRemovalMode(self)
Definition: pcbnew.py:12799
"void" SetFillSegments(self, "PCB_LAYER_ID" aLayer, "std::vector< SEG,std::allocator< SEG > > const &" aSegments)
Definition: pcbnew.py:12723
"void" SetHatchHoleMinArea(self, "double" aPct)
Definition: pcbnew.py:12472
"int" GetHatchGap(self)
Definition: pcbnew.py:12436
"wxString" GetClass(self)
Definition: pcbnew.py:12597
"void" RemoveCutout(self, "int" aOutlineIdx, "int" aHoleIdx)
Definition: pcbnew.py:12712
"unsigned int" GetCornerRadius(self)
Definition: pcbnew.py:12693
"void" SetHV45(self, "bool" aConstrain)
Definition: pcbnew.py:12848
"std::mutex &" GetLock(self)
Definition: pcbnew.py:12381
"int" GetSelectedCorner(self)
Definition: pcbnew.py:12484
"SHAPE_POLY_SET &" RawPolysList(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12727
"void" SetDoNotAllowVias(self, "bool" aEnable)
Definition: pcbnew.py:12783
"void" SetDoNotAllowPads(self, "bool" aEnable)
Definition: pcbnew.py:12791
"bool" ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:12224
"int" GetCornerSmoothingType(self)
Definition: pcbnew.py:12685
"void" SetIsFilled(self, "bool" isFilled)
Definition: pcbnew.py:12397
"void" TransformSolidAreasShapesToPolygon(self, *args)
Definition: pcbnew.py:12540
"void" SetLocalClearance(self, "int" aClearance)
Definition: pcbnew.py:12311
"void" SetPadConnection(self, "ZONE_CONNECTION" aPadConnection)
Definition: pcbnew.py:12416
"void" BuildHashValue(self, "PCB_LAYER_ID" aLayer)
Definition: pcbnew.py:12852
"bool" GetFilledPolysUseThickness(self, *args)
Definition: pcbnew.py:12697
"unsigned int" GetPriority(self)
Definition: pcbnew.py:12256
"SHAPE_POLY_SET::ITERATOR" IterateWithHoles(self)
Definition: pcbnew.py:12609
"void" insert(self, *args)
Definition: pcbnew.py:3514
"void" pop_back(self)
Definition: pcbnew.py:3471
def __iter__(self)
Definition: pcbnew.py:3375
"bool" __nonzero__(self)
Definition: pcbnew.py:3378
"void" append(self, "std::vector< enum PCB_LAYER_ID >::value_type const &" x)
Definition: pcbnew.py:3431
"void" clear(self)
Definition: pcbnew.py:3463
"void" assign(self, "std::vector< enum PCB_LAYER_ID >::size_type" n, "std::vector< enum PCB_LAYER_ID >::value_type const &" x)
Definition: pcbnew.py:3503
"std::vector< enum PCB_LAYER_ID >::reverse_iterator" rend(self)
Definition: pcbnew.py:3459
"void" __delitem__(self, *args)
Definition: pcbnew.py:3405
"std::vector< enum PCB_LAYER_ID >::value_type const &" back(self)
Definition: pcbnew.py:3499
"std::vector< enum PCB_LAYER_ID >::iterator" end(self)
Definition: pcbnew.py:3451
"void" __setitem__(self, *args)
Definition: pcbnew.py:3419
"std::vector< enum PCB_LAYER_ID >::iterator" begin(self)
Definition: pcbnew.py:3447
"bool" __bool__(self)
Definition: pcbnew.py:3382
def __init__(self, *args)
Definition: pcbnew.py:3482
"void" swap(self, "base_seqVect" v)
Definition: pcbnew.py:3443
"std::vector< enum PCB_LAYER_ID >::size_type" size(self)
Definition: pcbnew.py:3439
"std::vector< enum PCB_LAYER_ID >::value_type const &" __getitem__(self, *args)
Definition: pcbnew.py:3412
"void" resize(self, *args)
Definition: pcbnew.py:3507
"std::vector< enum PCB_LAYER_ID >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:3455
"void" __delslice__(self, "std::vector< enum PCB_LAYER_ID >::difference_type" i, "std::vector< enum PCB_LAYER_ID >::difference_type" j)
Definition: pcbnew.py:3401
"void" reserve(self, "std::vector< enum PCB_LAYER_ID >::size_type" n)
Definition: pcbnew.py:3521
"void" __setslice__(self, *args)
Definition: pcbnew.py:3394
"void" push_back(self, "std::vector< enum PCB_LAYER_ID >::value_type const &" x)
Definition: pcbnew.py:3491
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:3372
"std::vector< enum PCB_LAYER_ID >::value_type const &" front(self)
Definition: pcbnew.py:3495
"std::vector< enum PCB_LAYER_ID >::size_type" capacity(self)
Definition: pcbnew.py:3525
"std::vector< enum PCB_LAYER_ID >::value_type" pop(self)
Definition: pcbnew.py:3427
"bool" empty(self)
Definition: pcbnew.py:3435
"std::vector< enum PCB_LAYER_ID >::allocator_type" get_allocator(self)
Definition: pcbnew.py:3467
"std::vector< enum PCB_LAYER_ID >::iterator" erase(self, *args)
Definition: pcbnew.py:3475
"std::vector< enum PCB_LAYER_ID >::size_type" __len__(self)
Definition: pcbnew.py:3386
"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)
Definition: pcbnew.py:3390
"bool" __call__(self, "BOARD_ITEM" aFirst, "BOARD_ITEM" aSecond)
Definition: pcbnew.py:17832
def __init__(self)
Definition: pcbnew.py:17836
"bool" __call__(self, "PAD" aFirst, "PAD" aSecond)
Definition: pcbnew.py:17850
def __init__(self)
Definition: pcbnew.py:17854
"void" swap(self, "intVector" v)
Definition: pcbnew.py:3125
"void" pop_back(self)
Definition: pcbnew.py:3153
"std::vector< int >::iterator" end(self)
Definition: pcbnew.py:3133
"std::vector< int,std::allocator< int > > *" __getslice__(self, "std::vector< int >::difference_type" i, "std::vector< int >::difference_type" j)
Definition: pcbnew.py:3072
"std::vector< int >::iterator" erase(self, *args)
Definition: pcbnew.py:3157
def __iter__(self)
Definition: pcbnew.py:3057
"std::vector< int >::iterator" begin(self)
Definition: pcbnew.py:3129
"void" __setslice__(self, *args)
Definition: pcbnew.py:3076
"std::vector< int >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:3137
"std::vector< int >::size_type" __len__(self)
Definition: pcbnew.py:3068
"std::vector< int >::value_type" pop(self)
Definition: pcbnew.py:3109
"void" append(self, "std::vector< int >::value_type const &" x)
Definition: pcbnew.py:3113
"void" reserve(self, "std::vector< int >::size_type" n)
Definition: pcbnew.py:3203
"std::vector< int >::size_type" size(self)
Definition: pcbnew.py:3121
"void" insert(self, *args)
Definition: pcbnew.py:3196
"void" __delslice__(self, "std::vector< int >::difference_type" i, "std::vector< int >::difference_type" j)
Definition: pcbnew.py:3083
"std::vector< int >::value_type const &" back(self)
Definition: pcbnew.py:3181
"std::vector< int >::reverse_iterator" rend(self)
Definition: pcbnew.py:3141
"std::vector< int >::size_type" capacity(self)
Definition: pcbnew.py:3207
def __init__(self, *args)
Definition: pcbnew.py:3164
"void" __delitem__(self, *args)
Definition: pcbnew.py:3087
"void" assign(self, "std::vector< int >::size_type" n, "std::vector< int >::value_type const &" x)
Definition: pcbnew.py:3185
"bool" __bool__(self)
Definition: pcbnew.py:3064
"void" clear(self)
Definition: pcbnew.py:3145
"std::vector< int >::value_type const &" __getitem__(self, *args)
Definition: pcbnew.py:3094
"std::vector< int >::value_type const &" front(self)
Definition: pcbnew.py:3177
"std::vector< int >::allocator_type" get_allocator(self)
Definition: pcbnew.py:3149
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:3054
"bool" empty(self)
Definition: pcbnew.py:3117
"bool" __nonzero__(self)
Definition: pcbnew.py:3060
"void" resize(self, *args)
Definition: pcbnew.py:3189
"void" push_back(self, "std::vector< int >::value_type const &" x)
Definition: pcbnew.py:3173
"void" __setitem__(self, *args)
Definition: pcbnew.py:3101
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" end(self)
Definition: pcbnew.py:3318
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" find(self, "string" x)
Definition: pcbnew.py:3350
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type" size(self)
Definition: pcbnew.py:3306
def __iter__(self)
Definition: pcbnew.py:3224
"PyObject *" values(self)
Definition: pcbnew.py:3263
def __init__(self, *args)
Definition: pcbnew.py:3294
"void" swap(self, "str_utf8_Map" v)
Definition: pcbnew.py:3310
"PyObject *" keys(self)
Definition: pcbnew.py:3259
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:3322
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::reverse_iterator" rend(self)
Definition: pcbnew.py:3326
"void" __setitem__(self, *args)
Definition: pcbnew.py:3283
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::mapped_type const &" __getitem__(self, "string" key)
Definition: pcbnew.py:3247
"bool" __contains__(self, "string" key)
Definition: pcbnew.py:3271
"bool" empty(self)
Definition: pcbnew.py:3302
"PyObject *" asdict(self)
Definition: pcbnew.py:3290
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" upper_bound(self, "string" x)
Definition: pcbnew.py:3358
"void" erase(self, *args)
Definition: pcbnew.py:3342
"swig::SwigPyIterator *" value_iterator(self)
Definition: pcbnew.py:3279
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type" count(self, "string" x)
Definition: pcbnew.py:3338
"bool" has_key(self, "string" key)
Definition: pcbnew.py:3255
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" begin(self)
Definition: pcbnew.py:3314
def itervalues(self)
Definition: pcbnew.py:3242
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:3221
"bool" __bool__(self)
Definition: pcbnew.py:3231
"void" __delitem__(self, "string" key)
Definition: pcbnew.py:3251
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::iterator" lower_bound(self, "string" x)
Definition: pcbnew.py:3354
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::allocator_type" get_allocator(self)
Definition: pcbnew.py:3334
def iterkeys(self)
Definition: pcbnew.py:3240
"swig::SwigPyIterator *" key_iterator(self)
Definition: pcbnew.py:3275
"PyObject *" items(self)
Definition: pcbnew.py:3267
"bool" __nonzero__(self)
Definition: pcbnew.py:3227
def iteritems(self)
Definition: pcbnew.py:3244
"std::map< std::basic_string< char,std::char_traits< char >,std::allocator< char > >,UTF8 >::size_type" __len__(self)
Definition: pcbnew.py:3235
"void" clear(self)
Definition: pcbnew.py:3330
"std::basic_string< char > &" replace(self, *args)
Definition: pcbnew.py:360
"void" swap(self, "string" v)
Definition: pcbnew.py:236
"std::basic_string< char >::size_type" capacity(self)
Definition: pcbnew.py:160
"std::basic_string< char >::size_type" find_first_of(self, *args)
Definition: pcbnew.py:192
"bool" __lt__(self, "string" v)
Definition: pcbnew.py:406
"void" insert(self, *args)
Definition: pcbnew.py:348
"std::basic_string< char >::iterator" erase(self, *args)
Definition: pcbnew.py:260
"std::basic_string< char >::size_type" find_last_not_of(self, *args)
Definition: pcbnew.py:216
"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)
Definition: pcbnew.py:311
"bool" __ge__(self, "string" v)
Definition: pcbnew.py:410
"void" __setslice__(self, *args)
Definition: pcbnew.py:315
"void" resize(self, *args)
Definition: pcbnew.py:286
def __iter__(self)
Definition: pcbnew.py:296
"void" reserve(self, "std::basic_string< char >::size_type" __res_arg=0)
Definition: pcbnew.py:164
"std::basic_string< char >::size_type" max_size(self)
Definition: pcbnew.py:156
def __init__(self, *args)
Definition: pcbnew.py:268
"std::basic_string< char > &" __iadd__(self, "string" v)
Definition: pcbnew.py:374
"std::basic_ostream< char,std::char_traits< char > > &" __rlshift__(self, "std::basic_ostream< char,std::char_traits< char > > &" out)
Definition: pcbnew.py:390
"std::basic_string< char >::size_type" find_first_not_of(self, *args)
Definition: pcbnew.py:208
"std::basic_string< char >::size_type" length(self)
Definition: pcbnew.py:152
"bool" empty(self)
Definition: pcbnew.py:228
"std::basic_string< char >::allocator_type" get_allocator(self)
Definition: pcbnew.py:256
"std::basic_string< char,std::char_traits< char >,std::allocator< char > > *" __add__(self, "string" v)
Definition: pcbnew.py:378
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:293
"bool" __bool__(self)
Definition: pcbnew.py:303
"bool" __le__(self, "string" v)
Definition: pcbnew.py:414
"std::basic_string< char >::size_type" size(self)
Definition: pcbnew.py:232
"std::basic_string< char >::iterator" begin(self)
Definition: pcbnew.py:240
"char const *" c_str(self)
Definition: pcbnew.py:172
"std::basic_string< char >::reverse_iterator" rend(self)
Definition: pcbnew.py:252
"void" __delitem__(self, *args)
Definition: pcbnew.py:326
"std::basic_string< char >::size_type" rfind(self, *args)
Definition: pcbnew.py:184
"void" __setitem__(self, *args)
Definition: pcbnew.py:340
"std::basic_string< char >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:248
"std::basic_string< char >::size_type" __len__(self)
Definition: pcbnew.py:307
"std::basic_string< char >::value_type" __getitem__(self, *args)
Definition: pcbnew.py:333
"void" __delslice__(self, "std::basic_string< char >::difference_type" i, "std::basic_string< char >::difference_type" j)
Definition: pcbnew.py:322
"bool" __gt__(self, "string" v)
Definition: pcbnew.py:402
"std::basic_string< char >::size_type" find_last_of(self, *args)
Definition: pcbnew.py:200
"std::basic_string< char >::size_type" find(self, *args)
Definition: pcbnew.py:176
"bool" __nonzero__(self)
Definition: pcbnew.py:299
"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)
Definition: pcbnew.py:168
"bool" __eq__(self, "string" v)
Definition: pcbnew.py:394
"std::basic_string< char,std::char_traits< char >,std::allocator< char > >" __str__(self)
Definition: pcbnew.py:386
"std::basic_string< char >" substr(self, *args)
Definition: pcbnew.py:224
"void" assign(self, *args)
Definition: pcbnew.py:277
"bool" __ne__(self, "string" v)
Definition: pcbnew.py:398
"std::basic_string< char >::iterator" end(self)
Definition: pcbnew.py:244
"std::basic_string< char,std::char_traits< char >,std::allocator< char > > *" __radd__(self, "string" v)
Definition: pcbnew.py:382
"std::vector< wxPoint >::iterator" end(self)
Definition: pcbnew.py:787
"std::vector< wxPoint >::reverse_iterator" rend(self)
Definition: pcbnew.py:795
"bool" __bool__(self)
Definition: pcbnew.py:718
"std::vector< wxPoint >::value_type const &" __getitem__(self, *args)
Definition: pcbnew.py:748
"std::vector< wxPoint >::size_type" capacity(self)
Definition: pcbnew.py:861
"std::vector< wxPoint >::value_type" pop(self)
Definition: pcbnew.py:763
"std::vector< wxPoint >::allocator_type" get_allocator(self)
Definition: pcbnew.py:803
def __iter__(self)
Definition: pcbnew.py:711
"void" swap(self, "wxPoint_Vector" v)
Definition: pcbnew.py:779
"void" __delitem__(self, *args)
Definition: pcbnew.py:741
"std::vector< wxPoint >::reverse_iterator" rbegin(self)
Definition: pcbnew.py:791
"std::vector< wxPoint >::value_type const &" front(self)
Definition: pcbnew.py:831
"void" __delslice__(self, "std::vector< wxPoint >::difference_type" i, "std::vector< wxPoint >::difference_type" j)
Definition: pcbnew.py:737
"void" push_back(self, "wxPoint" x)
Definition: pcbnew.py:827
"std::vector< wxPoint,std::allocator< wxPoint > > *" __getslice__(self, "std::vector< wxPoint >::difference_type" i, "std::vector< wxPoint >::difference_type" j)
Definition: pcbnew.py:726
"void" __setitem__(self, *args)
Definition: pcbnew.py:755
"std::vector< wxPoint >::iterator" erase(self, *args)
Definition: pcbnew.py:811
"std::vector< wxPoint >::size_type" size(self)
Definition: pcbnew.py:775
"bool" empty(self)
Definition: pcbnew.py:771
"void" clear(self)
Definition: pcbnew.py:799
"void" append(self, "wxPoint" x)
Definition: pcbnew.py:767
"std::vector< wxPoint >::iterator" begin(self)
Definition: pcbnew.py:783
"void" resize(self, *args)
Definition: pcbnew.py:843
"std::vector< wxPoint >::value_type const &" back(self)
Definition: pcbnew.py:835
"std::vector< wxPoint >::size_type" __len__(self)
Definition: pcbnew.py:722
"void" pop_back(self)
Definition: pcbnew.py:807
"void" insert(self, *args)
Definition: pcbnew.py:850
def __init__(self, *args)
Definition: pcbnew.py:818
"void" assign(self, "std::vector< wxPoint >::size_type" n, "wxPoint" x)
Definition: pcbnew.py:839
"void" __setslice__(self, *args)
Definition: pcbnew.py:730
"bool" __nonzero__(self)
Definition: pcbnew.py:714
"void" reserve(self, "std::vector< wxPoint >::size_type" n)
Definition: pcbnew.py:857
"swig::SwigPyIterator *" iterator(self)
Definition: pcbnew.py:708
"wxPoint" __sub__(self, "wxPoint" pt)
Definition: pcbnew.py:649
def __init__(self, *args)
Definition: pcbnew.py:637
def __ne__(self, other)
Definition: pcbnew.py:662
def __len__(self)
Definition: pcbnew.py:665
"wxPoint" __add__(self, "wxPoint" pt)
Definition: pcbnew.py:645
def __getitem__(self, index)
Definition: pcbnew.py:666
"PyObject *" Get(self)
Definition: pcbnew.py:657
"void" Set(self, "long" x, "long" y)
Definition: pcbnew.py:653
def __nonzero__(self)
Definition: pcbnew.py:674
def __str__(self)
Definition: pcbnew.py:663
def __eq__(self, other)
Definition: pcbnew.py:661
def __setitem__(self, index, val)
Definition: pcbnew.py:667
def __str__(self)
Definition: pcbnew.py:555
"void" SetWidth(self, "int" w)
Definition: pcbnew.py:524
"int" GetX(self)
Definition: pcbnew.py:504
def __nonzero__(self)
Definition: pcbnew.py:565
"int" GetY(self)
Definition: pcbnew.py:512
def __eq__(self, other)
Definition: pcbnew.py:553
"int" GetWidth(self)
Definition: pcbnew.py:520
"void" SetX(self, "int" xx)
Definition: pcbnew.py:508
def __getitem__(self, index)
Definition: pcbnew.py:558
"PyObject *" Get(self)
Definition: pcbnew.py:548
def __len__(self)
Definition: pcbnew.py:557
"void" SetY(self, "int" yy)
Definition: pcbnew.py:516
def __init__(self, *args)
Definition: pcbnew.py:494
"wxPoint" GetPosition(self)
Definition: pcbnew.py:536
"void" SetHeight(self, "int" h)
Definition: pcbnew.py:532
"void" SetPosition(self, "wxPoint" p)
Definition: pcbnew.py:540
def __setitem__(self, index, val)
Definition: pcbnew.py:559
"int" GetHeight(self)
Definition: pcbnew.py:528
"void" SetWidth(self, "int" w)
Definition: pcbnew.py:593
def __getitem__(self, index)
Definition: pcbnew.py:616
def __str__(self)
Definition: pcbnew.py:613
def __eq__(self, other)
Definition: pcbnew.py:611
def __len__(self)
Definition: pcbnew.py:615
"PyObject *" Get(self)
Definition: pcbnew.py:588
"void" SetHeight(self, "int" h)
Definition: pcbnew.py:597
def __init__(self, *args)
Definition: pcbnew.py:581
"int" GetHeight(self)
Definition: pcbnew.py:605
def __setitem__(self, index, val)
Definition: pcbnew.py:617
def __nonzero__(self)
Definition: pcbnew.py:621
def Scale(self, xscale, yscale)
Definition: pcbnew.py:609
"int" GetWidth(self)
Definition: pcbnew.py:601
"PyObject *" __str__(self)
Definition: pcbnew.py:688
def __init__(self)
Definition: pcbnew.py:695
"bool" PCB_DIM_LEADER_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14081
"wxString" GetMajorMinorVersion()
Definition: pcbnew.py:2865
"PCB_LAYER_ID" FlipLayer("PCB_LAYER_ID" aLayerId, "int" aCopperLayersCount=0)
Definition: pcbnew.py:8152
"bool" FOOTPRINT_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:17802
"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)
Definition: pcbnew.py:5842
"bool" IsInstantiableType("KICAD_T const" aType)
Definition: pcbnew.py:1354
"wxString" GetBuildDate()
Definition: pcbnew.py:2869
"bool" IsPageLayoutEditorType("KICAD_T const" aType)
Definition: pcbnew.py:1370
"bool" PCB_TARGET_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14359
"PCB_TARGET *" Cast_to_PCB_TARGET("BOARD_ITEM" arg1)
Definition: pcbnew.py:8567
"bool" FOOTPRINT_IsLibNameValid("wxString" aName)
Definition: pcbnew.py:17814
"bool" PCB_ARC_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:12020
"DELETED_BOARD_ITEM *" DELETED_BOARD_ITEM_GetInstance()
Definition: pcbnew.py:8422
"void" addTextSegmToPoly("int" x0, "int" y0, "int" xf, "int" yf, "void *" aData)
Definition: pcbnew.py:2521
"bool" IsValidLayer("LAYER_NUM" aLayerId)
Definition: pcbnew.py:8113
"bool" PCB_DIM_CENTER_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14128
"wxString" LayerName("int" aLayer)
Definition: pcbnew.py:7801
def FootprintLibDelete(libname)
Definition: pcbnew.py:18058
"LSET" LSET_ForbiddenFootprintLayers()
Definition: pcbnew.py:8108
def FootprintDelete(libname, name)
Definition: pcbnew.py:18050
"bool" PCB_TRACK_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:11919
"wxChar const *" LSET_Name("PCB_LAYER_ID" aLayerId)
Definition: pcbnew.py:8032
"PCB_GROUP *" PCB_GROUP_TopLevelGroup("BOARD_ITEM" aItem, "PCB_GROUP" aScope, "bool" isFootprintEditor)
Definition: pcbnew.py:16091
def GetWizardsSearchPaths()
Definition: pcbnew.py:3568
"void" PYTHON_ACTION_PLUGINS_register_action("PyObject *" wizard)
Definition: pcbnew.py:18122
"int" LIB_ID_HasIllegalChars("UTF8" aLibItemName)
Definition: pcbnew.py:5717
"double" FOOTPRINT_GetCoverageArea("BOARD_ITEM" aItem, "GENERAL_COLLECTOR const &" aCollector)
Definition: pcbnew.py:17822
"wxString const" ResolveUriByEnvVars("wxString" aUri, "PROJECT *" aProject)
Definition: pcbnew.py:1884
"KICAD_T" BaseType("KICAD_T const" aType)
Definition: pcbnew.py:1346
def LoadPlugins(bundlepath=None, userpath=None, thirdpartypath=None)
Definition: pcbnew.py:3639
"void" TITLE_BLOCK_GetContextualTextVars("wxArrayString *" aVars)
Definition: pcbnew.py:2166
"void" KIID_CreateNilUuids("bool" aNil=True)
Definition: pcbnew.py:959
"LSET" LSET_UserDefinedLayers()
Definition: pcbnew.py:8104
"LSET" LSET_InternalCuMask()
Definition: pcbnew.py:8036
"bool" PAD_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:11727
"bool const" __lt__("COLOR4D" lhs, "COLOR4D" rhs)
Definition: pcbnew.py:2414
"std::ostream &" __lshift__("std::ostream &" aStream, "COLOR4D" aColor)
Definition: pcbnew.py:2418
"int" GetUserUnits()
Definition: pcbnew.py:7390
"LSET" LSET_AllCuMask(*args)
Definition: pcbnew.py:8048
"bool" PCB_GROUP_IsGroupableType("KICAD_T" aType)
Definition: pcbnew.py:16099
"bool" IsHoleLayer("LAYER_NUM" aLayer)
Definition: pcbnew.py:8136
"bool" ExportFootprintsToLibrary(*args)
Definition: pcbnew.py:7378
"wxString" GetPlatformGetBitnessName()
Definition: pcbnew.py:2857
"bool" PCB_VIA_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:12205
def wxPointMils(mmx, mmy)
Definition: pcbnew.py:18180
"bool" EnsureFileDirectoryExists("wxFileName *" aTargetFullFileName, "wxString" aBaseFilename, "REPORTER *" aReporter=None)
Definition: pcbnew.py:1869
def FootprintIsWritable(libname)
Definition: pcbnew.py:18062
"wxString" GetBuildVersion()
Definition: pcbnew.py:2853
"EDA_COLOR_T" COLOR4D_FindNearestLegacyColor("int" aR, "int" aG, "int" aB)
Definition: pcbnew.py:2397
def FootprintLibCreate(libname)
Definition: pcbnew.py:18054
"LSET" LSET_ExternalCuMask()
Definition: pcbnew.py:8052
"void" PYTHON_FOOTPRINT_WIZARD_LIST_deregister_wizard("PyObject *" wizard)
Definition: pcbnew.py:18094
"bool" FP_SHAPE_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14494
"PCB_DIM_CENTER *" Cast_to_PCB_DIM_CENTER("BOARD_ITEM" arg1)
Definition: pcbnew.py:8511
"bool" ExportVRML("wxString" aFullFileName, "double" aMMtoWRMLunit, "bool" aExport3DFiles, "bool" aUseRelativePaths, "wxString" a3D_Subdir, "double" aXRef, "double" aYRef)
Definition: pcbnew.py:7370
def VECTOR2I_MM(mmx, mmy)
Definition: pcbnew.py:18183
"bool const" __eq__("COLOR4D" lhs, "COLOR4D" rhs)
Definition: pcbnew.py:2406
def FromMM(mm)
Definition: pcbnew.py:18139
"bool" PCB_GROUP_WithinScope("BOARD_ITEM" aItem, "PCB_GROUP" aScope, "bool" isFootprintEditor)
Definition: pcbnew.py:16095
"wxString const" IO_MGR_GetFileExtension("IO_MGR::PCB_FILE_T" aFileType)
Definition: pcbnew.py:5834
"bool" SETTINGS_MANAGER_IsSettingsPathValid("wxString" aPath)
Definition: pcbnew.py:3032
"wxString const" ExpandEnvVarSubstitutions("wxString" aString, "PROJECT *" aProject)
Definition: pcbnew.py:1873
def wxRectMils(x, y, wx, wy)
Definition: pcbnew.py:18196
"ZONE *" Cast_to_ZONE("BOARD_ITEM" arg1)
Definition: pcbnew.py:8559
"PCB_DIM_ALIGNED *" Cast_to_PCB_DIM_ALIGNED("BOARD_ITEM" arg1)
Definition: pcbnew.py:8499
"bool" PCB_SHAPE_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:13494
"bool" IsDCodeLayer("int" aLayer)
Definition: pcbnew.py:8172
"bool" WriteDRCReport("BOARD" aBoard, "wxString" aFileName, "EDA_UNITS" aUnits, "bool" aReportAllTrackErrors)
Definition: pcbnew.py:7398
"LAYER_T" LAYER_ParseType("char const *" aType)
Definition: pcbnew.py:16317
"bool" IsEeschemaType("KICAD_T const" aType)
Definition: pcbnew.py:1358
"std::string" PAD_SHAPE_T_asString("PAD_SHAPE" a)
Definition: pcbnew.py:10983
"bool" IsNetCopperLayer("LAYER_NUM" aLayer)
Definition: pcbnew.py:8176
"bool" PCB_GROUP_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:16087
"bool" SaveBoard("wxString" aFileName, "BOARD" aBoard, "bool" aSkipSettings=False)
Definition: pcbnew.py:7351
"bool" WarnUserIfOperatingSystemUnsupported()
Definition: pcbnew.py:1892
"BOARD *" Cast_to_BOARD("BOARD_ITEM" arg1)
Definition: pcbnew.py:8535
"bool" IsBackLayer("PCB_LAYER_ID" aLayerId)
Definition: pcbnew.py:8148
"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)
Definition: pcbnew.py:5459
def ToMM(iu)
Definition: pcbnew.py:18131
"EDA_TEXT_VJUSTIFY_T" EDA_TEXT_MapVertJustify("int" aVertJustify)
Definition: pcbnew.py:2848
"LSET" LSET_PhysicalLayersMask()
Definition: pcbnew.py:8100
"UTF8" LIB_ID_Format(*args)
Definition: pcbnew.py:5710
def wxRectMM(x, y, wx, wy)
Definition: pcbnew.py:18189
"bool" IsPcbnewType("KICAD_T const" aType)
Definition: pcbnew.py:1362
"bool" PCB_DIM_ALIGNED_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:13975
"bool" IsUserLayer("PCB_LAYER_ID" aLayerId)
Definition: pcbnew.py:8140
"int" InvokeRuleAreaEditor("PCB_BASE_FRAME *" aCaller, "ZONE_SETTINGS" aSettings)
Definition: pcbnew.py:12933
"void" PlotDrawingSheet(*args)
Definition: pcbnew.py:6762
"bool" BOARD_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:17000
"double" Iu2Millimeter("int" iu)
Definition: pcbnew.py:5594
"bool" IsImperialUnit("EDA_UNITS" aUnit)
Definition: pcbnew.py:1857
def FootprintLoad(libname, name, preserveUUID=False)
Definition: pcbnew.py:18042
"bool const" __ne__("COLOR4D" lhs, "COLOR4D" rhs)
Definition: pcbnew.py:2410
def FootprintEnumerate(libname)
Definition: pcbnew.py:18038
"bool" IsTypeAvailable("KICAD_T" aType)
Definition: pcbnew.py:1382
"LSET" PAD_UnplatedHoleMask()
Definition: pcbnew.py:11719
"bool" NETINFO_ITEM_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:15124
"bool" FP_TEXT_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14689
"void" IO_MGR_PluginRelease("PLUGIN" aPlugin)
Definition: pcbnew.py:5822
"IO_MGR::PCB_FILE_T" IO_MGR_GuessPluginTypeFromLibPath("wxString" aLibPath)
Definition: pcbnew.py:5838
"PLUGIN *" IO_MGR_PluginFind("IO_MGR::PCB_FILE_T" aFileType)
Definition: pcbnew.py:5818
"FP_SHAPE *" Cast_to_FP_SHAPE("BOARD_ITEM" arg1)
Definition: pcbnew.py:8539
"unsigned int" LIB_ID_FindIllegalLibraryNameChar("UTF8" aLibraryName)
Definition: pcbnew.py:5725
"UTF8" LIB_ID_FixIllegalChars("UTF8" aLibItemName, "bool" aLib)
Definition: pcbnew.py:5721
"LSET" PAD_ConnSMDMask()
Definition: pcbnew.py:11715
"char const *" wxGetDefaultPyEncoding()
Definition: pcbnew.py:485
"PCB_TEXT *" Cast_to_PCB_TEXT("BOARD_ITEM" arg1)
Definition: pcbnew.py:8495
"wxString" GetDefaultPlotExtension("PLOT_FORMAT" aFormat)
Definition: pcbnew.py:6766
"std::string" PLACE_FILE_EXPORTER_GetBackSideName()
Definition: pcbnew.py:6856
"bool" IsCopperLayer(*args)
Definition: pcbnew.py:8125
"LSET" PAD_SMDMask()
Definition: pcbnew.py:11711
"PCB_ARC *" Cast_to_PCB_ARC("BOARD_ITEM" arg1)
Definition: pcbnew.py:8555
"BOARD_ITEM *" Cast_to_BOARD_ITEM("EDA_ITEM" base)
Definition: pcbnew.py:8491
def FullVersion()
Definition: pcbnew.py:18224
"void" PYTHON_FOOTPRINT_WIZARD_LIST_register_wizard("PyObject *" wizard)
Definition: pcbnew.py:18090
"bool" IsUTF8("char const *" aString)
Definition: pcbnew.py:5464
"IO_MGR::PCB_FILE_T" IO_MGR_EnumFromStr("wxString" aFileType)
Definition: pcbnew.py:5830
"wxString" SearchHelpFileFullPath("wxString" aBaseName)
Definition: pcbnew.py:1865
"SETTINGS_MANAGER *" GetSettingsManager()
Definition: pcbnew.py:7343
"LSET" FlipLayerMask("LSET" aMask, "int" aCopperLayersCount=0)
Definition: pcbnew.py:8156
"LSET" LSET_AllLayersMask()
Definition: pcbnew.py:8060
"LSET" LSET_AllBoardTechMask()
Definition: pcbnew.py:8084
"bool" IsNonCopperLayer("LAYER_NUM" aLayerId)
Definition: pcbnew.py:8121
"std::string" PLACE_FILE_EXPORTER_GetFrontSideName()
Definition: pcbnew.py:6852
"char const *" LAYER_ShowType("LAYER_T" aType)
Definition: pcbnew.py:16313
"LSET" LSET_FrontAssembly()
Definition: pcbnew.py:8040
"bool" ImportSpecctraSES("wxString" aFullFilename)
Definition: pcbnew.py:7374
"LSET" LSET_BackTechMask()
Definition: pcbnew.py:8072
def PutOnGridMM(value, gridSizeMM)
Definition: pcbnew.py:18163
"bool" PCB_DIM_ORTHOGONAL_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14030
"long long" TimestampDir("wxString" aDirPath, "wxString" aFilespec)
Definition: pcbnew.py:1888
"bool" BOARD_CONNECTED_ITEM_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:8731
"int" ZONE_GetDefaultHatchPitch()
Definition: pcbnew.py:12871
"bool" IsPcbLayer("LAYER_NUM" aLayer)
Definition: pcbnew.py:8117
"wxString" SETTINGS_MANAGER_GetColorSettingsPath()
Definition: pcbnew.py:3036
"PCB_MARKER *" PCB_MARKER_Deserialize("wxString" data)
Definition: pcbnew.py:14246
"bool" IsNetnameLayer("LAYER_NUM" aLayer)
Definition: pcbnew.py:8164
"bool" EDA_ITEM_Sort("EDA_ITEM" aLeft, "EDA_ITEM" aRight)
Definition: pcbnew.py:1626
"int" PCB_PLOT_PARAMS_GetGerberDefaultPrecision()
Definition: pcbnew.py:6472
"LSET" LSET_BackMask()
Definition: pcbnew.py:8092
"wxString" SETTINGS_MANAGER_GetUserSettingsPath()
Definition: pcbnew.py:3040
"bool" IsNullType("KICAD_T const" aType)
Definition: pcbnew.py:1350
"wxString" SHAPE_TYPE_asString("SHAPE_TYPE" a)
Definition: pcbnew.py:4194
"FOOTPRINT *" Cast_to_FOOTPRINT("BOARD_ITEM" arg1)
Definition: pcbnew.py:8515
"FP_ZONE *" Cast_to_FP_ZONE("BOARD_ITEM" arg1)
Definition: pcbnew.py:8563
"double" Iu2Mils("int" iu)
Definition: pcbnew.py:5586
def Version()
Definition: pcbnew.py:18220
"bool" ZONE_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:12867
"EDA_TEXT_HJUSTIFY_T" EDA_TEXT_MapHorizJustify("int" aHorizJustify)
Definition: pcbnew.py:2844
"BOARD *" NewBoard("wxString" aFileName)
Definition: pcbnew.py:7339
"bool" IsActionRunning()
Definition: pcbnew.py:7394
"int" GetNetnameLayer("int" aLayer)
Definition: pcbnew.py:8160
"LSET" LSET_BackAssembly()
Definition: pcbnew.py:8044
"GAL_SET" GAL_SET_DefaultVisible()
Definition: pcbnew.py:7680
"PCB_TRACK *" Cast_to_PCB_TRACK("BOARD_ITEM" arg1)
Definition: pcbnew.py:8547
"void" Refresh()
Definition: pcbnew.py:7382
"void" KIID_SeedGenerator("unsigned int" aSeed)
Definition: pcbnew.py:963
def PutOnGridMils(value, gridSizeMils)
Definition: pcbnew.py:18167
"FP_TEXT *" Cast_to_FP_TEXT("BOARD_ITEM" arg1)
Definition: pcbnew.py:8523
"bool" IsZoneFillLayer("int" aLayer)
Definition: pcbnew.py:8168
def VECTOR2I_Mils(mmx, mmy)
Definition: pcbnew.py:18186
"BOARD *" CreateEmptyBoard()
Definition: pcbnew.py:7347
"PCB_VIA *" Cast_to_PCB_VIA("BOARD_ITEM" arg1)
Definition: pcbnew.py:8551
"bool" PCB_TEXT_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:13621
"int" Mils2iu("int" mils)
Definition: pcbnew.py:5582
"PCB_DIM_LEADER *" Cast_to_PCB_DIM_LEADER("BOARD_ITEM" arg1)
Definition: pcbnew.py:8507
"bool" IsMiscType("KICAD_T const" aType)
Definition: pcbnew.py:1374
"bool" IsFrontLayer("PCB_LAYER_ID" aLayerId)
Definition: pcbnew.py:8144
"void" wxSetDefaultPyEncoding("char const *" encoding)
Definition: pcbnew.py:481
"bool" IsTypeCorrect("KICAD_T" aType)
Definition: pcbnew.py:1378
"wxArrayString" GetFootprintLibraries()
Definition: pcbnew.py:7355
"LSET" LSET_FrontBoardTechMask()
Definition: pcbnew.py:8068
"LSET" LSET_BackBoardTechMask()
Definition: pcbnew.py:8076
"wxChar const *" FOOTPRINT_StringLibNameInvalidChars("bool" aUserReadable)
Definition: pcbnew.py:17818
"LSET" LSET_AllNonCuMask()
Definition: pcbnew.py:8056
"bool" IsGerbviewType("KICAD_T const" aType)
Definition: pcbnew.py:1366
def wxSizeMM(mmx, mmy)
Definition: pcbnew.py:18171
"int" InvokeNonCopperZonesEditor("PCB_BASE_FRAME *" aParent, "ZONE_SETTINGS" aSettings)
Definition: pcbnew.py:12925
"void" PYTHON_ACTION_PLUGINS_deregister_action("PyObject *" wizard)
Definition: pcbnew.py:18126
"StructColors const *" colorRefs()
Definition: pcbnew.py:2269
def GetPluginForPath(libname)
Definition: pcbnew.py:18034
"wxString" GetSemanticVersion()
Definition: pcbnew.py:2861
"LSET" PAD_PTHMask()
Definition: pcbnew.py:11707
"wxString" ExpandTextVars(*args)
Definition: pcbnew.py:1877
"bool" ExportSpecctraDSN(*args)
Definition: pcbnew.py:7363
"wxArrayString" GetFootprints("wxString" aNickName)
Definition: pcbnew.py:7359
"wxString" BOARD_GetStandardLayerName("PCB_LAYER_ID" aLayerId)
Definition: pcbnew.py:17004
"LSET" LSET_UserMask()
Definition: pcbnew.py:8096
"bool" KIID_SniffTest("wxString" aCandidate)
Definition: pcbnew.py:955
"std::string" StrPrintf(*args)
Definition: pcbnew.py:1896
"bool" IsMetricUnit("EDA_UNITS" aUnit)
Definition: pcbnew.py:1861
"EDA_ITEM *" new_clone("EDA_ITEM" aItem)
Definition: pcbnew.py:1631
"GAL_LAYER_ID" ToGalLayer("int" aInteger)
Definition: pcbnew.py:7638
"void" IO_MGR_Save("IO_MGR::PCB_FILE_T" aFileType, "wxString" aFileName, "BOARD" aBoard, "PROPERTIES const *" aProperties=None)
Definition: pcbnew.py:5846
"bool" PCB_MARKER_ClassOf("EDA_ITEM" aItem)
Definition: pcbnew.py:14242
"bool" IsViaPadLayer("LAYER_NUM" aLayer)
Definition: pcbnew.py:8132
"NETINFO_ITEM *" NETINFO_LIST_OrphanedItem()
Definition: pcbnew.py:15486
"LSET" LSET_FrontTechMask()
Definition: pcbnew.py:8064
"void" UpdateUserInterface()
Definition: pcbnew.py:7386
"LSET" LSET_AllTechMask()
Definition: pcbnew.py:8080
"int" PAD_Compare("PAD" aPadRef, "PAD" aPadCmp)
Definition: pcbnew.py:11731
"PCB_GROUP *" Cast_to_PCB_GROUP("BOARD_ITEM" arg1)
Definition: pcbnew.py:8519
"int" InvokeCopperZonesEditor("PCB_BASE_FRAME *" aCaller, "ZONE_SETTINGS" aSettings)
Definition: pcbnew.py:12929
"LSET" PAD_ApertureMask()
Definition: pcbnew.py:11723
"void" from_json("nlohmann::json const &" aJson, "COLOR4D" aColor)
Definition: pcbnew.py:2426
def FromMils(mils)
Definition: pcbnew.py:18155
"wxString const" IO_MGR_ShowType("IO_MGR::PCB_FILE_T" aFileType)
Definition: pcbnew.py:5826
"PAD *" Cast_to_PAD("BOARD_ITEM" arg1)
Definition: pcbnew.py:8543
"PCB_MARKER *" Cast_to_PCB_MARKER("BOARD_ITEM" arg1)
Definition: pcbnew.py:8531
"void" to_json("nlohmann::json &" aJson, "COLOR4D" aColor)
Definition: pcbnew.py:2422
"PCB_SHAPE *" Cast_to_PCB_SHAPE("BOARD_ITEM" arg1)
Definition: pcbnew.py:8527
def GetWizardsBackTrace()
Definition: pcbnew.py:3579
def ToMils(iu)
Definition: pcbnew.py:18147
def wxSizeMils(mmx, mmy)
Definition: pcbnew.py:18174
def LoadPluginModule(Dirname, ModuleName, FileName)
Definition: pcbnew.py:3584
"LSET" LSET_FrontMask()
Definition: pcbnew.py:8088
"KIID &" NilUuid()
Definition: pcbnew.py:968
"BOARD *" LoadBoard(*args)
Definition: pcbnew.py:7332
def wxPointMM(mmx, mmy)
Definition: pcbnew.py:18177
"int" Millimeter2iu("double" mm)
Definition: pcbnew.py:5590
"BOARD *" GetBoard()
Definition: pcbnew.py:7328
"wxString" GetVersionInfoData("wxString" aTitle, "bool" aHtml=False, "bool" aBrief=False)
Definition: pcbnew.py:2873
def FootprintSave(libname, module)
Definition: pcbnew.py:18046
"std::string" SETTINGS_MANAGER_GetSettingsVersion()
Definition: pcbnew.py:3044
"PCB_LAYER_ID" ToLAYER_ID("int" aLayer)
Definition: pcbnew.py:8180
"PCB_DIM_ORTHOGONAL *" Cast_to_PCB_DIM_ORTHOGONAL("BOARD_ITEM" arg1)
Definition: pcbnew.py:8503