PointAxisWaypoints
- class compas_fab.robots.PointAxisWaypoints[source]
Bases:
Waypoints
Represents a sequence of point and axis targets for the robot’s end-effector motion planning.
PointAxisTarget is suitable for tasks like drawing, milling, and 3D printing, where aligning the end-effector with a target axis is crucial, but the orientation around the axis is not important.
The behavior of PointAxisWaypoints is similar to
PointAxisTarget
, but it represents a sequence of targets. SeePointAxisTarget
for more details.- Attributes:
- target_points_and_axes
list
oftuple
of (compas.geometry.Point
,compas.geometry.Vector
) The target points and axes. Both values are defined relative to the world coordinate frame (WCF). Unitized vectors are recommended for the target axes.
- tolerance_positionfloat, optional
The tolerance for the position of the target point. If not specified, the default value from the planner is used.
- tool_coordinate_frame
compas.geometry.Frame
orcompas.geometry.Transformation
, optional The tool tip coordinate frame relative to the flange coordinate frame of the robot. If not specified, the target point is relative to the robot’s flange (T0CF) and the Z axis of the flange can rotate around the target axis.
- namestr, optional
The human-readable name of the target. Defaults to ‘Point-Axis Waypoints’.
- target_points_and_axes
Methods
Returns a copy of the target where the target points and tolerances are scaled.
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Validate the data against the object's data schema.