pyrobopath.toolpath.preprocessing.LayerRangeStep#
- class pyrobopath.toolpath.preprocessing.LayerRangeStep(start: int, stop: int, step: int = 1)[source]#
Bases:
PreprocessingStepSelects a range of layers from a toolpath based on Z-height slicing.
- Parameters:
start (int) – The starting layer index (inclusive) to include in the result.
stop (int) – The stopping layer index (exclusive).
step (int, optional) – The step size for slicing. Defaults to 1.
Methods
Apply the preprocessing step to the given toolpath.