How to set default jog rate?

More
30 Jun 2020 00:15 #173157 by Bats
The title pretty much sums it up. How would I go about changing Gmoccapy's jog rate slider position on startup from the current default of 6ipm to something a little more practical?

I'd tried DEFAULT_LINEAR_VELOCITY, but apparently Gmoccapy doesn't use that.

I tried looking in the Gmoccapy docs and found this bit:

If the button shows the rabbit-icon, the scale is from min to max machine velocity.


...which makes sense, but doesn't help with defining the default.

Any advice?

-Bats

Please Log in or Create an account to join the conversation.

More
30 Jun 2020 05:24 - 30 Jun 2020 05:34 #173175 by Aciera
Replied by Aciera on topic How to set default jog rate?

I'd tried DEFAULT_LINEAR_VELOCITY, but apparently Gmoccapy doesn't use that.


Thats strange because it works for me in master. I change DEFAULT_LINEAR_VELOCITY in the [TRAJ] section of the INI and my preset position of the Jogging velocity slider changes.

[edit]
Just noticed that the documentation here: linuxcnc.org/docs/html/gui/gmoccapy.html#gmoccapy:traj-section
seems to put the DEFAULT_LINEAR_VELOCITY in the [DISPLAY] section of the INI and that does not work for me. So maybe that has changed.
Last edit: 30 Jun 2020 05:34 by Aciera.

Please Log in or Create an account to join the conversation.

More
30 Jun 2020 23:20 #173242 by andypugh
If in doubt, look in the code:
github.com/LinuxCNC/linuxcnc/blob/master...y/getiniinfo.py#L225

It seems that Gnoccapy looks in [TRAJ]

This is not the same as other GUIs such as Axis:

github.com/LinuxCNC/linuxcnc/blob/master...cripts/axis.py#L3343

Which looks in [DISPLAY] first then [TRAJ]

Please Log in or Create an account to join the conversation.

More
01 Jul 2020 00:56 #173267 by Bats
Replied by Bats on topic How to set default jog rate?
Ok, the TRAJ version does it. Thanks, guys - for such a little thing, that was really driving me crazy.

(and it's reassuring to know that I wasn't the only one confused by the docs. for once.)
-Bats

Please Log in or Create an account to join the conversation.

Moderators: newbynobi
Time to create page: 0.139 seconds
Powered by Kunena Forum