; gcode generated by hypocycloid generator ; bounds: X106 Y153 ; size of coaster + laser mount offset ; ajg 2022 G90 ; use absolute positioning G21 ; commands are in mm M106 S0 ; turn the laser/fan speed to 0 G0 Z103 ; move to the focal height of the laser + 3mm for card thickness G28 X Y ; move the head to printer's home x and y position G0 X21 Y68 F200 ; move to x=21mm, y=68 mm at a speed of 200 ; {21,68} is the position origin of the laser burning space M106 S125 ; turn the laser on at half power G0 X121 Y68 F200 ; move the head to x=121mm, y=68 - burn a line 100mm (10cm) along the x axis M106 S0 ; turn the laser/fan speed to 0 G0 X21 Y68 F200 ; move to x=21mm, y=68 mm at a speed of 200 M106 S125 ; turn the laser on at half power G0 X21 Y168 F200 ; move the head to x=21mm, y=168 - burn a line 100mm (10cm) along the y axis M106 S0 ; turn off the laser ; end code