pyrobopath.toolpath.toolpath_core.Contour#
- class pyrobopath.toolpath.toolpath_core.Contour(path: List[ndarray[tuple[Any, ...], dtype[_ScalarT]]] | None = None, tool: int | Enum = 0)[source]#
Bases:
objectA class representing a contiguous set of 3D waypoints followed by a given tool.
- Parameters:
path (list of ndarray, optional) – A list of 3D points defining the contour. Defaults to an empty list.
tool (int or Enum, optional) – An identifier for the tool used in this contour. Defaults to 0.
Methods
Return the number of linear segments in the contour path.
Compute the total length of the contour path.
Attributes
counter