- Posts: 110
- Thank you received: 0
Is a Y axis possible on a lathe settup?
I used stepconf to generate an XYZ sepup and then added "Lathe = 1" to the display section
First issue - The manual control tab only shows X and Y so I cant control the Y axis.
Second - When I home the axis It shows the home symbols on the Rad,Dia and Y, seems to work ok and can move the Z axis in MDI without a "not homed warning". Is there a setting to change or live with it?
Please Log in to join the conversation.
Axis tries to be a bit clever and hides various controls depending on what it finds in the INI files.
Fortunately the main parts of Axis are written in Python which means that you can edit the file, restart LinuxCNC and the new behaviour will take effect with no need to recompile.
This code determines if you get views other than flat XZ:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...scripts/axis.py#L487
This determines the jog key layout:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...cripts/axis.py#L3100
And I think that this line here is the one that removes the Y-select radio button:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...cripts/axis.py#L3453
Please Log in to join the conversation.
Since Im a complete noob and have no experience of linux how do I find the files to modify?
Is there a crash course in linux as Im have similar problems getting to onscreen keyboard to work in Gmoccapy?
Please Log in to join the conversation.
Ross77 wrote: Is there a crash course in linux as Im have similar problems getting to onscreen keyboard to work in Gmoccapy?
Sorry, for some reason I was assuming that you were using the Axis interface. The lonks I showed are of no relevance if you are using Gmoccapy.
To find the actual files for executables like Gmoccapy you can (probably) use the "which" command
if that doesn't work:
Please Log in to join the conversation.
Once thats all working I will try and get the nice bits like the touch screen and mpgs done.
Do i need to open a terminal in the linuxcnc folder or can I do it from the desktop?
Please Log in to join the conversation.
Ross77 wrote: Do i need to open a terminal in the linuxcnc folder or can I do it from the desktop?
I think that the terminal normally opens "in" your home directory. The Desktop is a bit of an add-on as a concept in Linux.
I don't normally worry about where the terminal opens, I just open it then cd to where I am interested in.
Please Log in to join the conversation.
andypugh wrote:
This code determines if you get views other than flat XZ:
github.com/LinuxCNC/linuxcnc/blob/2.7/sr...scripts/axis.py#L487
Hi Andy
Thanks that helped get me on the track. I now have the y axis radio button and can jog Y from page up /down. I wasnt sure what to do with the link above! do I comment out the first line or alter the statements?
Even with those mods the home symbols are still on the wrong lines, minor but would be nice to resolve. Thanks again
Please Log in to join the conversation.
When you say "home symbol" what exactly do you mean?
Please Log in to join the conversation.
In lathe mode it is double counting the X axis. Pc isnt on line so Cant screen grab at the moment
* Rad
*Diameter
* Y axis
Z axis
Please Log in to join the conversation.
In Gmoccapy it looks like the Y axis is used to generate the Diameter. I assume Axis is the same. Not sure how best to solve it yet but probably hours of trial and error.
Please Log in to join the conversation.
