pyrobopath.toolpath.preprocessing.RotateStep#

class pyrobopath.toolpath.preprocessing.RotateStep(rot: Rotation)[source]#

Bases: PreprocessingStep

A preprocessing step that rotates all path points.

Parameters:

rot (Rotation) – The rotation to apply to each point.

Methods

apply

Apply the preprocessing step to the given toolpath.

apply(toolpath: Toolpath) Toolpath[source]#

Apply the preprocessing step to the given toolpath.

Parameters:

toolpath (Toolpath) – The toolpath to process.

Returns:

The processed toolpath.

Return type:

Toolpath