RobotModel.scale

RobotModel.scale(factor, link=None)[source]

Scales the robot by factor (absolute).

Parameters
  • factor (float) – The factor to scale the robot with.

  • link (compas.robots.Link, optional) – Starting link from which to start scaling. Defaults to root.

Returns

None

Examples

>>> robot = RobotModel.ur5()
>>> robot.scale(100)