ose3dprinter.model.axis¶
axis_model¶
-
class
AxisModel
(obj, 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))¶ Bases:
osecore.app.model.Model
Encapsulates the data (i.e. topography and shape) for a Axis, and is separate from the “view” or GUI representation.
-
Type
= 'OSEAxis'¶
-
calculate_carriage_box_x
()¶
-
calculate_top_of_carriage_box_for_z_axis
()¶
-
execute
(obj)¶ Called on document recompute
-
is_x
()¶ Return whether or not this axis is a X axis.
This assumes the axis is parallel to the XY, YZ, or XZ planes, and not rotated in a weird diagonal or skewed way.
- Returns
Whether this axis is a X axis.
- Return type
bool
-
is_y
()¶ Return whether or not this axis is a Y axis.
This assumes the axis is parallel to the XY, YZ, or XZ planes, and not rotated in a weird diagonal or skewed way.
- Returns
Whether this axis is a Y axis.
- Return type
bool
-
is_z
()¶ Return whether or not this axis is a Z axis.
This assumes the axis is parallel to the XY, YZ, or XZ planes, and not rotated in a weird diagonal or skewed way.
- Returns
Whether this axis is a Z axis.
- Return type
bool
-