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 pulses BuildStyle.jumpDelay and the jump time between both scan vectors and consecutive LayerGeometry 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 process

  • models (List[Model]) – The list of Model containing the BuildStyle used

  • includeJumpTime (Optional[bool]) – Include the jump time between and within each LayerGeometry

  • 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