GUI for a Vertical Lathe

More
30 Dec 2014 21:23 #54413 by LAIR82
Hello All,

We just bought 2 big 60" swing Vertical turning lathes, and they are going to get the LinuxCNC treatment pretty much as soon as they set on our floor.

What GUI's are applicable to running a vertical Z, horizontal X, with no Y. Would a mill config work with just leaving out the Y data in the INI?


Thoughts, Comments?

Rick

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

More
30 Dec 2014 21:47 #54414 by BigJohnT
Replied by BigJohnT on topic GUI for a Vertical Lathe
I think the main difference between the mill and lathe version of Axis is the lathe version has only the top view and maybe a few more differences.

JT

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

More
31 Dec 2014 02:35 #54428 by newbynobi
Replied by newbynobi on topic GUI for a Vertical Lathe
you can use both configs, lathe and mill, as it does not make any difference in controlling the machine.

If you take a mill config, you miss the diameter / Radius function
If you take a lathe config you have to live with a rotated preview.

If you are willing to make small changes, it should be possible to modify "hal_gremlin.py" to allow the preview rotation also for a lathe and use gmoccapy, but that would be a special case and you must take care not to override changes you made with an update.

Norbert

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

More
31 Dec 2014 06:13 #54438 by emcPT
Replied by emcPT on topic GUI for a Vertical Lathe
Though I do not know how to do it, it should be possible changing the .axisrc so that the preview is rotated, and you would still be using XZ like a lathe should have. I believe that is a real possibility as I use a changed .axisrc that rotates the arround X=0 so that the tools and the preview appear above the X=0 line (and by default they would appear below it).

This is my .axisrc, that is a copy of someone else. Unfortunatly I got it without any comments, so it is hard for me to read it, but what you want to achieve should be around changing the rotation planes.
bind_axis("Down", "Up", 0)
 def set_view_y(event=None):
    widgets.view_z.configure(relief="link")
    widgets.view_z2.configure(relief="sunken")
    widgets.view_x.configure(relief="link")
    widgets.view_y.configure(relief="sunken")
    widgets.view_p.configure(relief="sunken")
    vars.view_type.set(4)
    o.reset()
    glRotatef(90, 1, 0, 0)
    glRotatef(90, 0, 1, 0)
    if o.canon:
        mid = [(a+b)/2 for a, b in zip(o.canon.max_extents, o.canon.min_extents)]
        glTranslatef(-mid[0], -mid[1], -mid[2])
        size = [(a-b) for a, b in zip(o.canon.max_extents, o.canon.min_extents)]
        o.set_eyepoint_from_extents(size[0], size[2])
    else:
        o.set_eyepoint(5.)
    o.perspective = False
    o.lat = -90
    o.lon = 0
    o.tkRedraw()

TclCommands.set_view_y = commands.set_view_y = set_view_y
root_window.bind("v", commands.set_view_y)
root_window.after_idle(commands.set_view_y)

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

Time to create page: 0.155 seconds
Powered by Kunena Forum