interp: add new ini setting disabling auto reset to G54 on M2,M30#4093
Conversation
|
Can I ask you add it in to pncconf? here: add: |
|
I tested main functionality of this PR in Gmoccapy. It works. |
42c29ac to
93791ad
Compare
|
@zz912 |
|
@zz912 could you please clarify whether your requested addition to pncconf was for gmoccapy only or for all guis |
|
I want it for all GUIs. I made wrong numbers of spaces. |
93791ad to
854baf5
Compare
|
I don't like "PROGSTOP". |
|
I prefer "DISABLE_AUTO_G54". |
Yes, 'progstop' might indeed be a bit misleading. Note though that for a g-code file wrapped in "%" the WCS is not (and has never been) automatically switched to G54 so there isn't really much cause for confusion. In this sense it might indeed be better to just make it "DISABLE_AUTO_G54" and leave the details to the documentation. Opinions? |
d871b20 to
e0b14be
Compare
… current WCS to G54 on M2 and M30: [RS274NGC] DISABLE_AUTO_G54 = 1 Note: This new setting defaults to '0' so this modification is opt-in and default behavior is unchanged.
e0b14be to
3dd4239
Compare
|
Changed to "DISABLE_AUTO_G54" for now. Happy to change again if preferred. PR topic and comment have also been updated. |
As requested here:
https://forum.linuxcnc.org/38-general-linuxcnc-questions/58821-how-to-remove-automatic-g54-after-m2-m30#346816
Adds a new ini file setting to disable the automatic resetting of the current WCS to G54 on M2 and M30.
Setting defaults to '0' so this modification is opt-in and default behavior is unchanged.