fixed gcode generation

This commit is contained in:
Sohel
2024-11-18 15:14:47 +01:00
15 changed files with 94 additions and 31 deletions

View File

@@ -9,7 +9,7 @@ gcode = Gcode(
mm_per_px=0.1, # Conversion factor: mm per pixel
speed=1000, # Speed in mm/min
machine=machine_type,
max_s=255 # Laser power (only for LASER machines)
)
# Draw a line from (10, 20) to (30, 40)