PlanMotion

class compas_fab.backends.interfaces.PlanMotion[source]

Bases: object

Interface for a Planner’s plan motion feature. Any implementation of PlanMotion must define the method plan_motion. The __call__ magic method allows an instance of an implementation of PlanMotion to be treated as its plan_motion method. See <https://docs.python.org/3/reference/datamodel.html#object.__call__> and <https://en.wikipedia.org/wiki/Function_object#In_Python>.

Methods

plan_motion

Calculates a motion path.