Skip to content

Latest commit

 

History

History
81 lines (65 loc) · 1.31 KB

README.md

File metadata and controls

81 lines (65 loc) · 1.31 KB

LaserSaur_alignment

Alignment tool for LaserSaur Both python lib and cli for manipulation of lasersaur. With some preprogrammed movement patterns which come in handy while aligning

commanline usage

> ./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.

Python interactive example

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..

crdsys

Disclaimer

work in progress etc..