[SOLVED] How to change the view of the axes in AXIS?

More
18 May 2022 07:17 #243249 by Nest
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

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

More
18 May 2022 14:01 #243272 by andypugh
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.

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

More
19 May 2022 05:02 #243317 by cmorley
Andy is right; glnav.py would need to be edited.

Somewhere around here:
github.com/LinuxCNC/linuxcnc/blob/master...python/glnav.py#L402

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

More
30 May 2022 07:53 #244191 by Nest
Hi everyone, I have tried to modify the code but without success.
Thanks for the help

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

More
30 May 2022 11:49 #244202 by andypugh
Was there no result, or not the correct result? 

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

More
14 Jun 2022 10:47 #245103 by Nest
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

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

More
06 Jul 2022 20:42 - 06 Jul 2022 20:42 #246756 by Nest
Hi again, I know what I'm wrong with, the zero point of the machine (G54) is wrong, at now it's in the front left corner and in my hardware of my machine it's in the back left.

How can I change the zero point at corner back left?
Thanks you so much

Last edit: 06 Jul 2022 20:42 by Nest.

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

More
06 Jul 2022 21:55 #246758 by tommylight
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

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

More
07 Jul 2022 18:38 #246821 by Nest
-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


 

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

More
07 Jul 2022 18:49 #246824 by tommylight
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
Powered by Kunena Forum