reorder_vertical_layers

compas_slicer.post_processing.reorder_vertical_layers(slicer, align_with)[source]

Re-orders the vertical layers in a specific way

Parameters:
  • slicer (compas_slicer.slicers.BaseSlicer) – An instance of one of the compas_slicer.slicers classes.

  • align_with (str or compas.geometry.Point) – x_axis = reorders the vertical layers starting from the positive x-axis y_axis = reorders the vertical layers starting from the positive y-axis Point(x,y,z) = reorders the vertical layers starting from a given Point