LayerGeometry¶
- class pyslm.geometry.LayerGeometry(mid=0, bid=0, coords=None)¶
Bases:
ABCA Layer Geometry is the base class type used for storing a group of scan vectors or exposures. This is assigned a model id (
mid) and a build style (bid).A set of coordinates are always available via
coords. The coordinates should always be provided as a numpy array with a shape of \(N \times 2\) corresponding to the LayerGeometry type indexing such as:Attributes Summary
The Build Style Id for the LayerGeometry.
Coordinate data stored by the LayerGeometry.
The Model id used for the
LayerGeometry.Methods Summary
type()Returns which type the
layerGeometryis in the derived class.Attributes Documentation
- bid¶
The Build Style Id for the LayerGeometry. The Build Style Id refers to the collection of laser parameters used during scanning of scan vector group and must be available within the
Modelused.
- coords¶
Coordinate data stored by the LayerGeometry.
- mid¶
The Model id used for the
LayerGeometry. The Model Id refers to the collection of unique build-styles assigned to a part within a build.
Methods Documentation
- boundingBox()¶
- Return type:
ndarray
- abstractmethod type()¶
Returns which type the
layerGeometryis in the derived class.- Return type:
LayerGeometryType