[SOLVED] How to change the view of the axes in AXIS?
18 May 2022 07:17 #243249
by Nest
Replied by Nest on topic How to change the view of the axes in AXIS?
I don't think my machine is wrong, my machine works fine, the parts I design are machined perfectly, but on the screen the axes are in a different position.
that's why I ask if it is possible to modify the position in the linuxcnc window
that's why I ask if it is possible to modify the position in the linuxcnc window
Please Log in or Create an account to join the conversation.
18 May 2022 14:01 #243272
by andypugh
Replied by andypugh on topic How to change the view of the axes in AXIS?
There may be a way to do this with an axis customisation, but it might need modifications to glnav.py
github.com/LinuxCNC/linuxcnc/blob/master...python/glnav.py#L414
As it's a Python file you can change it, then restart LinuxCNC and see what happened, ie no need to recompile.
If you look at the other views you might be able to figure out what self.lat, self.lon values are needd and what glRotatef you want.
github.com/LinuxCNC/linuxcnc/blob/master...python/glnav.py#L414
As it's a Python file you can change it, then restart LinuxCNC and see what happened, ie no need to recompile.
If you look at the other views you might be able to figure out what self.lat, self.lon values are needd and what glRotatef you want.
Please Log in or Create an account to join the conversation.
19 May 2022 05:02 #243317
by cmorley
Replied by cmorley on topic How to change the view of the axes in AXIS?
Andy is right; glnav.py would need to be edited.
Somewhere around here:
github.com/LinuxCNC/linuxcnc/blob/master...python/glnav.py#L402
Somewhere around here:
github.com/LinuxCNC/linuxcnc/blob/master...python/glnav.py#L402
Please Log in or Create an account to join the conversation.
30 May 2022 07:53 #244191
by Nest
Replied by Nest on topic How to change the view of the axes in AXIS?
Hi everyone, I have tried to modify the code but without success.
Thanks for the help
Thanks for the help
Please Log in or Create an account to join the conversation.
30 May 2022 11:49 #244202
by andypugh
Replied by andypugh on topic How to change the view of the axes in AXIS?
Was there no result, or not the correct result?
Please Log in or Create an account to join the conversation.
14 Jun 2022 10:47 #245103
by Nest
Replied by Nest on topic How to change the view of the axes in AXIS?
The only thing i managed to change is the home view but i couldn't rotate the axes
I don't have enough knowledge to study the code in depth
I don't have enough knowledge to study the code in depth
Please Log in or Create an account to join the conversation.
06 Jul 2022 20:42 - 06 Jul 2022 20:42 #246756
by Nest
Replied by Nest on topic How to change the view of the axes in AXIS?
Last edit: 06 Jul 2022 20:42 by Nest.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19197
- Thank you received: 6434
06 Jul 2022 21:55 #246758
by tommylight
Replied by tommylight on topic How to change the view of the axes in AXIS?
You can have the machine zero at any corner you like, but the CAM software will always output everything in reference to front/left of the machine.
LinuxCNC can also be set to home at any corner and still have the zero pint at any other corner, so to make things easier:
-where are the home switches located?
-what cam are you using?
-is this a normal cartesian machine?
-does it have limit switches at both ends of the axis?
-
In general, if you have the home switches at the back/left, to have it home there you would only change in the ini file the HOME for that axis/joint, so for Y axis you set the HOME = 3000 or whatever the machine can travel in that axis instead of HOME = 0
LinuxCNC can also be set to home at any corner and still have the zero pint at any other corner, so to make things easier:
-where are the home switches located?
-what cam are you using?
-is this a normal cartesian machine?
-does it have limit switches at both ends of the axis?
-
In general, if you have the home switches at the back/left, to have it home there you would only change in the ini file the HOME for that axis/joint, so for Y axis you set the HOME = 3000 or whatever the machine can travel in that axis instead of HOME = 0
Please Log in or Create an account to join the conversation.
07 Jul 2022 18:38 #246821
by Nest
Replied by Nest on topic How to change the view of the axes in AXIS?
-where are the home switches located?
In the left back corner
-what cam are you using?
flatCam
-is this a normal cartesian machine?
Yes, is a CNC3040.. ZYX axis
CNC3040
-does it have limit switches at both ends of the axis?
no, only in the back left corner
It doesn't work well for me, it works inverted, in the axis software the spindle moves in one direction and in the machine it goes in the opposite direction on the Y axis.
the problem is that the 0 point of the machine is by default at the bottom left
In the left back corner
-what cam are you using?
flatCam
-is this a normal cartesian machine?
Yes, is a CNC3040.. ZYX axis
CNC3040
-does it have limit switches at both ends of the axis?
no, only in the back left corner
It doesn't work well for me, it works inverted, in the axis software the spindle moves in one direction and in the machine it goes in the opposite direction on the Y axis.
the problem is that the 0 point of the machine is by default at the bottom left
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19197
- Thank you received: 6434
07 Jul 2022 18:49 #246824
by tommylight
Replied by tommylight on topic How to change the view of the axes in AXIS?
Just set the HOME = in the ini file to maximum travel Y axis can do. Only for the Y axis/joint.
Please Log in or Create an account to join the conversation.
Time to create page: 0.098 seconds