getLayerTime¶
-
pyslm.analysis.
getLayerTime
(layer, models, includeJumpTime=True, laserJumpSpeed=5000)¶ Returns the total time taken to scan across a
Layer
. This includes the additional dwell time laser pulsesBuildStyle.jumpDelay
and the jump time between both scan vectors and consecutiveLayerGeometry
groups. 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 list ofModel
containing theBuildStyle
usedincludeJumpTime (
Optional
[bool
]) – Include the jump time between and within eachLayerGeometry
laserJumpSpeed (
Optional
[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