Luban
Luban copied to clipboard
Bug: 4-axis project: no move to X-origin when starting job in rotation mode
🐞 bug report
Affected Version(s)
Snapmaker Luban 4.1.4 (current stable, haven't tested earlier versions)
Is this a regression? (optional)
unknown to me
To Reproduce
- Create a 4 axis project
- add your stl file
- create a toolpath in "rotation" mode
- generate the gcode 7 preview
- Export the Gcode to a file
Exception or Error (optional)
When running the job, there is no move to the x-code origin and the tool is cutting into the air on the left side of the bed. (I had set the work-origin previous to loading the job, but that shouldn't matter)
The start of the gcode looks like (skipping header)
;Header End
G90
G0 Z27.50 F1500
G0 Y1.54 B-269.83 F2400
G0 Z18.50 F1500
M3 P100
G1 Y1.54 Z17.00 B-269.83 F150
G1 B-269.43 F490
G1 B90.30
....
Expected behavior
(Assumption, you're starting from the home position) I would expect a G0 X0 F2400 move in there. As such:
;Header End
G90
G0 X0 F2400
G0 Y1.54 B-269.83 F2400
G0 Z27.50 F1500
G0 Z18.50 F1500
M3 P100
G1 Y1.54 Z17.00 B-269.83 F150
G1 B-269.43 F490
G1 B90.30
....
Additionally, I would assume the Y-move to happen before the Z-moves as well to have the least possible chance of having the tool running into the rotary module.
🌍 Your Environment
Platform:
- Operating System: Windows 11 x64
- Printer: Snapmaker A350 + rotary module