Class BondwireDefinition
core.Updatable --+
|
core.Selectable --+
|
BondwireDefinition
Defines a bondwire profile and cross section.
|
|
Class Hierarchy for BondwireDefinition
|
constructor BondwireDefinition(name, radius, numFaces):
-
name - name of bondwire profile, as seen in Project Tree.
(str)
-
radius - outer radius of cross section (Expression)
-
numFaces - number of segments of cross section (Expression)
The bondwire profile is an array of BondwireVertex instances. A single definition can be
shared between many bondwire instances. All bondwire definitions should
reside in empro.activeProject.bondwireDefinitions. Failing to
do so may cause problems when saving and loading projects.
|
append a new vertex to the end of definition
- Parameters:
- Returns: None
|
|
insert a new vertex in the definition
- Parameters:
index (int) - array position where to insert vertex
vertex (BondwireVertex) - vertex to be inserted
- Returns: None
|
|
remove a vertex from the definition
- Parameters:
index (int) - array position of vertex to be removed
- Returns: None
|