getLayerTime¶
- pyslm.analysis.getLayerTime(layer, models, includeJumpTime=True, laserJumpSpeed=5000.0)¶
Returns the total time taken to scan across a
Layer. This includes the additional dwell time laser pulsesBuildStyle.jumpDelayand the jump time between both scan vectors and consecutiveLayerGeometrygroups. The time taken between adjacent scan vectors and layer geometries is assumed to have an instantaneous acceleration at constant velocity.- Parameters:
layer (
Layer) – The Layer to processmodels (
List[Model]) – The Model list containing theBuildStyleset usedincludeJumpTime (
bool) – Include the jump time between and within each LayerGeometrylaserJumpSpeed (
float) – The default laser jump speed used whilst scanning between layer geometry [mm/s]
- Return type:
float- Returns:
The time taken to scan across the layer