pyrobopath.toolpath.preprocessing.ShuffleStep#

class pyrobopath.toolpath.preprocessing.ShuffleStep[source]#

Bases: PreprocessingStep

Reorders contours in a toolpath to interleave by tool as much as possible.

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