FrameTarget.scaled

FrameTarget.scaled(factor)[source]

Returns a copy of the FrameTarget where the target frame 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 FrameTarget should be scaled by a factor of 0.001 before passing to the planner.

Parameters:
factorfloat

The scaling factor.

Returns:
FrameTarget

The scaled frame target.