|
Menu location |
---|
Cables → Cable Profile |
Workbenches |
Cables |
Default shortcut |
None |
Introduced in version |
1.0 |
See also |
Cables Cable |
The Cable Profile creates a
Sketch object which represents the base profile (cross-section) of a cable. The profile is fully parametric and is created by choosing different cable properties in a dialog box (see Usage). The profile contains all the cross-section information needed for a
Cable creation.
There are few predefined cable profile types, e.g. YDYp (flat power cable), YDY (round power cable). Additional custom profile types can be defined by the user (see Adding custom profile types).
It is also possible to create entire profile manually in Sketcher. However, some rules have to be followed to successsfuly use it as a proper cable profile (see Manual profile creation).
Once created the profile is placed at the position [0,0,0] in the 3D space. It is recommended not to move or rotate it. It can be used later to create a Cable without changing position of the profile. When cable is created the pair of profile clones is created and each clone has its proper position and rotation related to the cable.
One profile can be used for many cables, there is no need to create another profile if another cable will have the same cross-section.
For some Profile types the Number of wires has to be > 1 (e.g. YDYp). Incorrect selection will show an error and the profile will not be created.
An additional CSV file can be created by the user, containing custom profile types definitions. It must be named profiles.csv
, and placed in
$FREECAD_USER_DIR/Cables/
The $FREECAD_USER_DIR
can be obtained from the Python console:
FreeCAD.getUserAppDataDir()
The contents of the custom profiles.csv
file must be modeled upon the same rules as the profiles.csv in the Cables Workbench source code.
Cable profile can be manually created in Sketcher. The proper order of drawing closed wires must be maintained for correct cable creation by Cable command.
Example triangular profile created with Sketcher
Cable created from the triangular profile