Axis view options are not persistant between sessions. Any thoughts?

More
22 Jun 2025 02:52 #330670 by chrisfischer
Hello,

I am trying to find the answer to the question why do my axis view preferences not stay persistant between sessions.
Actually some options are persistant like show offsets or alpha blend program.
But some important ones are not like display inches (always opens to mm) and show pyvcp panel.
I have searched the forum and chatted with chatgpt for a few hours now and frustratedly cannot get my machine
to turn on with inches displayed. I have tried to make .axisrc file but that never seemed to do anything.
Does anybody have any ideas? Thanks.

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

More
22 Jun 2025 10:26 #330679 by Aciera
I presume you are talking about settings in the ini file. Neither unit settings nor pyvcp panel setup should require an .axisrc file.
When you say the display always opens to mm do you mean the number of decimal places?

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

More
22 Jun 2025 17:20 #330710 by cakeslob
hes talking about some of the options in view menu are persistent across reboots and save settings with .axis_preference , but some options , like " Hide PYVCP" are not persistent, and pyvcp needs to be hidden every boot.

The inches/mm one should be something in ini file thought. there are default configs that load with inches, and some mm.
The following user(s) said Thank You: Aciera

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

More
22 Jun 2025 18:34 - 22 Jun 2025 18:38 #330714 by Aciera
I see.
Looking at line 2968 makes me think that 'hide pyvcp' was simply not intended to be persistent by the original author:
github.com/LinuxCNC/linuxcnc/commit/6948...6d967654a7R250-R2968
Last edit: 22 Jun 2025 18:38 by Aciera.

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

More
23 Jun 2025 21:44 - 23 Jun 2025 21:46 #330779 by chrisfischer
Talking about having to drop this menu down and change every time. I thought i changed everything in the ini related to units (attached).
 

 

File Attachment:

File Name: EL8_machin...ches.ini
File Size:4 KB
Attachments:
Last edit: 23 Jun 2025 21:46 by chrisfischer.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
23 Jun 2025 21:52 #330780 by tommylight
UNITS = INCH # issue a G20 at load
DEFAULT_UNITS = INCH # same as G20

Remove the comments from those two lines.

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

More
25 Jun 2025 04:52 #330847 by chrisfischer
Awe man I got excited it would be that easy. Alas, no change.

Thanks for the idea!

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

More
25 Jun 2025 09:45 - 25 Jun 2025 09:50 #330855 by Aciera
I'm not aware of  a 'UNITS' or 'DEFAULT_UNITS' key:
linuxcnc.org/docs/stable/html/config/ini-config.html

same for 'GEOMETRY_UNITS'

[edit]
But I guess those lines come from this:

chatted with chatgpt for a few hours

Last edit: 25 Jun 2025 09:50 by Aciera.

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

More
27 Jun 2025 12:54 #330927 by JT
When I open the axis sim the units are inch, when I open the axis_mm sim the units are mm.

In the [TRAJ] section of axis the LINEAR_UNITS are inch and in the axis_mm the LINEAR_UNITS are mm.

JT

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

Time to create page: 0.183 seconds
Powered by Kunena Forum