seams_align

compas_slicer.post_processing.seams_align(slicer, align_with='next_path')[source]

Aligns the seams (start- and endpoint) of a print.

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

  • align_with (str or compas.geometry.Point) – Direction to orient the seams in. next_path = orients the seam to the next path origin = orients the seam to the origin (0,0,0) x_axis = orients the seam to the x_axis y_axis = orients the seam to the y_axis Point(x,y,z) = orients the seam according to the given point

Returns:

None