PlanCartesianMotion

class compas_fab.backends.interfaces.PlanCartesianMotion[source]

Bases: object

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

Methods

__init__()

Initialize self.

plan_cartesian_motion(robot, frames_WCF[, …])

Calculates a cartesian motion path (linear in tool space).