Skip to content

MakerSpaceLeiden/LaserSaur_alignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages