z axis reversed

More
10 years 2 months ago #78319 by andypugh
Replied by andypugh on topic Re:z axis reversed

grossman83 wrote: PS: if anyone knows how to mirror the display I'm still trying to figure that out... see the display assumes that my spindle is on the left, but mine is on the right.


The display is in glcanon.py
github.com/LinuxCNC/linuxcnc/blob/master...274/glcanon.py#L1090

If I was in your position I would experiment with adding a
glRotatef(180, 0, 1, 0)
around that point.

I think that your lathe is basically conventional except rotated through 180 degrees on Y. glrotate is (angle, X-amount, Y-amount, Z-amount) In fact I think that those two lines there could be (90,1,0,-1) but with rotations order matters, to there might be a reason for the current two-line method.

glcanon is Python, so just changing the file and restarting LinuxCNC will work, no need to compile anything.

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

More
1 year 8 months ago - 1 year 8 months ago #321401 by Vector
Replied by Vector on topic Re:z axis reversed
Thank you, thank you! This knowledge about Geometry= x-yz saved me a ton of time!!!
Last edit: 1 year 8 months ago by Vector.

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

Time to create page: 0.174 seconds
Powered by Kunena Forum