Skip to content

Commit

Permalink
Update example imports for exporting example
Browse files Browse the repository at this point in the history
  • Loading branch information
drlukeparry committed Feb 22, 2021
1 parent 610a008 commit 2d0781d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/example_exporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
The following example demonstrate the overall structure required for creating the border of a square region.
"""
import numpy as np

import pyslm
import numpy as np
import pyslm.visualise
import pyslm.analysis

"""
The structures necessary for creating a machine build file should be imported from the geometry submodule.
Expand Down Expand Up @@ -41,7 +43,7 @@
contourBuildStyle.laserSpeed = 500.0 # mm/s - Note this is used on some systems but should be set
contourBuildStyle.laserFocus = 0.0 # mm - (Optional) Some new systems can modify the focus position real-time.
contourBuildStyle.laserId = 1 # Set for multi-laser systems
contourBuildStyle.laserMode = slm.LaserMode.PULSE # (Pulsed) mode is the default but can be cahnged on some systems.
contourBuildStyle.laserMode = slm.LaserMode.Pulse # (Pulsed) mode is the default but can be changed on some systems.

# The point exposure parameters are specified for some systems (typically Q-Switch Pulse Lasers)
# Note: the laser speed v = pointDistance / pointExposureTime
Expand Down

0 comments on commit 2d0781d

Please sign in to comment.