getExposurePoints¶
- pyslm.hatching.getExposurePoints(layer, models, includePowerDeposited=True)¶
A utility method to return a list of exposure points given a
Layerwith an associatedModelwhich contains theBuildStylethat provides the point exposure distance or an effective laser speed to spatially discretise the scan vectors into a series of points. If the optional parameter includePowerDeposited is set to True, the laser power deposited in included.Note
The
BuildStyle.pointDistanceparameter must be set or this method will fail.- Parameters:
- Returns:
Returns a list of coordinates (nx2) in the global domain with an optional power deposited.