5  Parts

A Part can be a beam or a round log. They have in common that they can have processes attached. All parts have following properties:

5.1 Base

This is the base class.

5.1.1 Properties

Name Description Datatype
Caption Caption of the Base String
Pos X Position in X-Axis Double
Pos Y Position in Y-Axis Double
Pos Z Position in Z-Axis Double
Rot X Rotation in X-Axis Double
Rot Y Rotation in Y-Axis Double
Rot Z Rotation in Z-Axis Double
Origin X Origin in X-Axis Double
Origin Y Origin in Y-Axis Double
Origin Z Origin in Z-Axis Double
Scale Scaling Double
Locked When True the part is locked into his current position Boolean
Enabled When True the part is included in general actions Boolean
Selectable When True the part can be selected Boolean
Local Transition Boolean
Do Export When True the part is included when export is running Boolean

5.2 All Parts

Parts can be a simple Beam, Log, PanelLog etc. But they are different in Shape they may have different Parameters. For example a Beam does not have a diamater like a Log has.

Name Description Datatype
Name Name of the part String
Part type Integer
Faces While a beam has 6 faces (front/back/top/bottom/start/end) a log can have unlimited faces. Face
Bottom Face Describes on which face the part is sitting on the holder Face
Workobject On which workobject are you cutting the part Workobject
Length The length of the part Double
Amount How many of those parts are needed Integer
Scan Orientation If set to TRUE the orientation is based on the attached scan. Otherwise by the 2/3 point orientation Boolean
Cutprocesses If set, the processes will be cut out of the part in the 3D model Boolean
Endcut Start Defines what kind of cut will be used on the start face Cuts
Endcut End Defines what kind of cut will be used on the end face Cuts

5.3 Beam

Name Description Datatype
Width The width of the part Double
Height The height of the part Double
Facing If set to TRUE then the faces will be milled with the 120mm endmill. This is useful when the beams are not straight. Not implemented yet. Boolean

5.4 Log Round

Name Description Datatype
Diameter The diameter of the log Double

5.5 Pep Log