Constraint

class compas_fab.robots.Constraint(type, weight=1.0)[source]

Bases: object

Base class for robot constraints.

Attributes

weight (float, optional) – A weighting factor for this constraint. Denotes relative importance to other constraints. Closer to zero means less important. Defaults to 1.

Methods

__init__(type[, weight])

Initialize self.

copy()

scale(scale_factor)

scaled(scale_factor)

transform(transformation)

Attributes

JOINT

ORIENTATION

POSITION

possible_types