FrameWaypoints.scaled
- FrameWaypoints.scaled(factor)[source]
Returns a copy of the
FrameWaypoints
where the target frames and tolerances are scaled.By convention, compas_fab robots use meters as the default unit of measure. If user model is created in millimeters, the FrameWaypoints should be scaled by a factor of 0.001 before passing to the planner.
- Parameters:
- factorfloat
The scaling factor.
- Returns:
FrameWaypoints
The scaled frame waypoints.