Alignment tool for LaserSaur Both python lib and cli for manipulation of lasersaur. With some preprogrammed movement patterns which come in handy while aligning
> ./lsxs.py -h
get help
> ./lsxs.py -R
reset
> /lsxs.py -l
move head to upper left corner, flash, move to lower left corner and flash again and wait for user to press enter
> lsxs.py -r
move head to upper right corner, flash, move to lower right corner and flash again and wait for user to press enter
> lsxs.py -u
move head to upper left corner, flash, move to upper right corner and flash again and wait for user to press enter
> lsxs.py -d
move head to lower left corner, flash, move to lower right corner and flash again and wait for user to press enter
> lsxs.py -c <gcode>
execute the gcode, or special lasergrbl code.
import lsxs
instance = lsxs.Lsxs()
instance.reset()
instance.command = "G0 X100 Y100"
or
instance.movetoxy(100, 100)
###flash, move, flash
instance.leftvertical()
or
instance.lowerhorizontal()
###coordsys
instance.ll()
instance.ur()
.
.
.
etc..
work in progress etc..