I finally got my laser built and put together. I was having a hell of a time focusing it, turns out because it really isn’t super precise.±5mm seems to be okay.
I Use this script in Repetier to draw 10 lines each with 2mm added to the z height. So get the focus close, then intentionally go closer.I run the script 2 or 3 times to get the effect. You can see fatter lines and skinnier lines. Once you get to the end subtract 2mm for each line, down, you need to go. Then reset the Z0.
So for the attached picture I would step the z down 32mm and reset the Z axis to 0.
The heart of it,
G91
M106 S255 - turns the laser on, full power
G1 X50 F750 - move X +50
M107 - Turns laser off
G1 Y1 F6000 - move Y +1mm
G1 Z2 F2000 - Move 2 +2mm
G0 X-50 F6000 - Move X back to the beginning
G90
So x’s 10
G91
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
M106 S255
G1 X50 F750
M107
G1 Y1 F6000
G1 Z2 F2000
G0 X-50 F6000
G90
Looks like this, you can run it a few times to make it more clear where the sweet spot is.