pyrobopath.toolpath.preprocessing.TranformStep#

class pyrobopath.toolpath.preprocessing.TranformStep(trans: Transform)[source]#

Bases: PreprocessingStep

A preprocessing step that applies a general transform to all path points.

Parameters:

trans (Transform) – The transformation 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