ScanVectorIterator¶
- class pyslm.analysis.ScanVectorIterator(layers)¶
Bases:
objectScanVectorIterator provides an iterator that will traverse across every scan vector (linearly) across both hatch and contour scan vectors for all layers passed into the constructor.
The Iterator should be passed a list of
Layerthat are used to construct the time tree for iterating across all the scan vectors presented in the file.Note
Currently, points or vectors are ignored for single scan exposures in PointsGeometry
Attributes Summary
The list of scan vectors for the entire build
Methods Summary
getLayerVectors(layer)Returns a list of scan vectors groups from a
Layer.Initialises the iterator based on the input of collection of layers.
reshapeVectors(vectorList)Attributes Documentation
- vectors¶
The list of scan vectors for the entire build
Methods Documentation
- static getLayerVectors(layer)¶
Returns a list of scan vectors groups from a
Layer.- Parameters:
layer (
Layer) – A single Layer to obtain the scan vectors from- Return type:
List[ndarray]- Returns:
The scan vector list
- initialise()¶
Initialises the iterator based on the input of collection of layers.
- Returns:
The list of reshaped vectors
- static reshapeVectors(vectorList)¶