freecad.ose3dprinter.part_feature¶
Exposes functions to create Part::FeaturePython
objects.
Minimally, these objects are custom, parameteric, and have a Shape for viewing in three dimensions.
- See Also:
https://wiki.freecadweb.org/FeaturePython_Objects https://wiki.freecadweb.org/Creating_a_FeaturePython_Box,_Part_II https://wiki.freecadweb.org/Scripted_objects
Additionally, they may have a ViewProvider class for providing additional customization to their 3d representation, and how they respond to certain graphical interactions such as selection.
Name |
Description |
---|---|
Creates a axis object with the given name, |
|
Creates a extruder object with the given name, |
|
Creates a frame object with the given name, |
|
Creates a heated bed object with the given name, |
-
create_axis
(document, name, length=304.8, carriage_position=50, orientation='x', side='top', placement=Placement [Pos=(0,0,0), Yaw-Pitch-Roll=(0,0,0)], origin_translation_offset=Vector (0.0, 0.0, 0.0))¶ Creates a axis object with the given name, and adds it to the document.
-
create_extruder
(document, name, placement=Placement [Pos=(0,0,0), Yaw-Pitch-Roll=(0,0,0)], origin_translation_offset=Vector (0.0, 0.0, 0.0))¶ Creates a extruder object with the given name, and adds it to the document.
-
create_frame
(document, name)¶ Creates a frame object with the given name, and adds it to the document.
-
create_heated_bed
(document, name, placement=Placement [Pos=(0,0,0), Yaw-Pitch-Roll=(0,0,0)], origin_translation_offset=Vector (0.0, 0.0, 0.0))¶ Creates a heated bed object with the given name, and adds it to the document.