ose3dprinter.attachment¶
Attachment functions to make 3D Printer parts appear attached to each other.
Name |
Description |
---|---|
Get a dictionary describing how to attach an axis to a frame. |
|
Get default kwargs to create an axis with when not attaching to a frame. |
|
Get a dictionary describing how to attach an extruder to an axis. |
|
Get a dictionary describing how to attach a heated bed to a frame and axis. |
-
get_axis_frame_attachment_kwargs
(frame, selected_frame_face, axis_orientation)¶ Get a dictionary describing how to attach an axis to a frame.
Keys include length, placement, and origin translation offset for making an axis object appear attached to a selected frame face.
-
get_default_axis_creation_kwargs
(axis_orientation)¶ Get default kwargs to create an axis with when not attaching to a frame.
-
get_extruder_axis_attachment_kwargs
(axis, selected_axis_face)¶ Get a dictionary describing how to attach an extruder to an axis.
- Parameters
axis – Axis object to attach extruder to.
selected_axis_face (Part.Face) – Selected face of axis to attach extruder to.
- Returns
Dictionary describing how to attach an extruder to an axis.
- Return type
-
get_heated_bed_frame_axis_attachment_kwargs
(frame, axis)¶ Get a dictionary describing how to attach a heated bed to a frame and axis.
- Parameters
frame – Frame object to attach heated bed to.
axis – Axis object to attach heated bed to.
- Returns
Dictionary describing how to attach a heated bed to a frame and axis.
- Return type