Open Caraffa-git opened 2 months ago
I have found something like G54-G59.3 - Workspace Coordinate System
which basically solves my problem but this feature should be better described in the documentation. Anyway, I think that this safety mechanism is implemented in the wrong place and It should be done within travel limits config.
Is your feature request related to a problem? Please describe.
No response
Are you looking for hardware support?
It would be very useful for CNCs but nothing specific.
Describe the feature you want
I would want to change how current travel limits work. Right now they are referring to max positions:
Now lets imagine that I want to cut small element that takes only a fragment in the middle of my bed. Theoretically I could measure where exactly it is and move it accordingly in CAD software that generates gcode, but it's impractical and prone to errors/mistakes.
Ideal scenerio would be moving the CNC to the part origin, then using
M428
to set home offsets and running the gcode. In current state it would work perfectly fine but there is a possibility that CNC would crash into itself because travel limits are constraining only relative position, not including size of the machine in any way.I would suggest changing config to something like this:
Marlin would have to check if "printer head" is within the axis limits on the runtime. Travel limits would replaced with just
MIN_POS
definitions to leave flexibility if someones endstop is causing printhead to move outside printable area.Unless someone else have better idea.
Additional context
No response