- Posts: 44
- Thank you received: 0
Axis view options are not persistant between sessions. Any thoughts?
- chrisfischer
- Topic Author
- Offline
- Senior Member
-
Less
More
1 year 4 months ago #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.
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 to join the conversation.
1 year 4 months ago #330679
by Aciera
Replied by Aciera on topic Axis view options are not persistant between sessions. Any thoughts?
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?
When you say the display always opens to mm do you mean the number of decimal places?
Please Log in to join the conversation.
1 year 4 months ago #330710
by cakeslob
Replied by cakeslob on topic Axis view options are not persistant between sessions. Any thoughts?
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 inches/mm one should be something in ini file thought. there are default configs that load with inches, and some mm.
Please Log in to join the conversation.
1 year 4 months ago #330714
by Aciera
Replied by Aciera on topic Axis view options are not persistant between sessions. Any thoughts?
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
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
Please Log in to join the conversation.
- chrisfischer
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 44
- Thank you received: 0
1 year 4 months ago #330779
by chrisfischer
Replied by chrisfischer on topic Axis view options are not persistant between sessions. Any thoughts?
Talking about having to drop this menu down and change every time. I thought i changed everything in the ini related to units (attached).
Attachment not found
Attachment not found
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 3
1 year 4 months ago #330780
by tommylight
Replied by tommylight on topic Axis view options are not persistant between sessions. Any thoughts?
UNITS = INCH # issue a G20 at load
DEFAULT_UNITS = INCH # same as G20
Remove the comments from those two lines.
DEFAULT_UNITS = INCH # same as G20
Remove the comments from those two lines.
Please Log in to join the conversation.
- chrisfischer
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 44
- Thank you received: 0
1 year 4 months ago #330847
by chrisfischer
Replied by chrisfischer on topic Axis view options are not persistant between sessions. Any thoughts?
Awe man I got excited it would be that easy. Alas, no change.
Thanks for the idea!
Thanks for the idea!
Please Log in to join the conversation.
1 year 4 months ago #330855
by Aciera
Replied by Aciera on topic Axis view options are not persistant between sessions. Any thoughts?
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:
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
Please Log in to join the conversation.
1 year 4 months ago #330927
by JT
Replied by JT on topic Axis view options are not persistant between sessions. Any thoughts?
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
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 to join the conversation.
1 year 4 months ago #330944
by cakeslob
Replied by cakeslob on topic Axis view options are not persistant between sessions. Any thoughts?
yeah that should be the only option he needs in the INI file, the one in [TRAJ] LINEAR UNITS
the ai shit up your ini file. you need to fix these sections. I dont know what angular inch U axis is or a linear spindle.
the ai shit up your ini file. you need to fix these sections. I dont know what angular inch U axis is or a linear spindle.
Code:
#******************************************
#*** AXIS_U *******************************
[AXIS_U]
UNITS = INCH
MAX_VELOCITY = 7
MAX_ACCELERATION = 20
MIN_LIMIT = -500
MAX_LIMIT = 500.0
[JOINT_3]
TYPE = ANGULAR
UNITS = INCH
HOME = 0.0
MIN_LIMIT = -500
MAX_LIMIT = 500.0
MAX_VELOCITY = 7
MAX_ACCELERATION = 20
FERROR = 1000
MIN_FERROR = 1000
HOME_ABSOLUTE_ENCODER = 1
#******************************************
#*** SPINDLE *******************************
[AXIS_B]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -200.0
MAX_LIMIT = 200.0
[JOINT_4]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -200.0
MAX_LIMIT = 200.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
FERROR = 1000
MIN_FERROR = 1000
HOME_ABSOLUTE_ENCODER = 1
Please Log in to join the conversation.
Time to create page: 0.106 seconds
