geometry

Geometry in compas_slicer consists out of a Layer, Path, or Printpoint. A Layer is generated when a geometry is sliced into layers and can therefore be seen as a ‘slice’ of a geometry. Layers are typically organized horizontally, but can also be organized vertically. A Layer consists out of one, or multiple Paths (depending on the geometry). A Path is a contour within a layer. A Path consists out of a list of compas.Points, plus some additional attributes. A PrintPoint consists out of a single compas.geometry.Point, with additional functionality added for the printing process.

Classes

Layer

A Layer stores a group of ordered paths that are generated when a geometry is sliced.

Path

A Path is a connected contour within a Layer.

PrintPoint

A PrintPoint consists of a compas.geometry.Point, and additional attributes related to the printing process.