Lathe OD Turning
25 Sep 2012 10:45 #24602
by Rick G
Replied by Rick G on topic Re:Lathe OD Turning
What error do you get from ngcgui?
Do you get the error without your .axisrc?
Rick G
Do you get the error without your .axisrc?
Rick G
Please Log in or Create an account to join the conversation.
26 Sep 2012 05:56 #24628
by jbunch
Replied by jbunch on topic Re:Lathe OD Turning
I get th error SendToAxisFailed.
When remove the lines:
if lathe:
bind_axis("Down", "Up", 0)
def set_view_y(event=None):
widgets.view_z.configure(relief="link")
widgets.view_z2.configure(relief="link")
widgets.view_x.configure(relief="link")
widgets.view_y.configure(relief="sunken")
widgets.view_p.configure(relief="link")
vars.view_type.set(4)
o.reset()
glRotatef(90, 1, 0, 0)
glRotatef(90, 0, 1, 0)
if o.g:
mid = [(a+b)/2 for a, b in zip(o.g.max_extents, o.g.min_extents)]
glTranslatef(-mid[0], -mid[1], -mid[2])
size = [(a-b) for a, b in zip(o.g.max_extents, o.g.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)
I do not receive an error.
Jim
When remove the lines:
if lathe:
bind_axis("Down", "Up", 0)
def set_view_y(event=None):
widgets.view_z.configure(relief="link")
widgets.view_z2.configure(relief="link")
widgets.view_x.configure(relief="link")
widgets.view_y.configure(relief="sunken")
widgets.view_p.configure(relief="link")
vars.view_type.set(4)
o.reset()
glRotatef(90, 1, 0, 0)
glRotatef(90, 0, 1, 0)
if o.g:
mid = [(a+b)/2 for a, b in zip(o.g.max_extents, o.g.min_extents)]
glTranslatef(-mid[0], -mid[1], -mid[2])
size = [(a-b) for a, b in zip(o.g.max_extents, o.g.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)
I do not receive an error.
Jim
Please Log in or Create an account to join the conversation.
26 Sep 2012 11:20 #24636
by Rick G
Replied by Rick G on topic Re:Lathe OD Turning
Well someone who knows more about .axisrc can probably answer that, but in the meantime have you tried to just save the file instead of sending it to Axis and then running the file?
Rick G
Rick G
Please Log in or Create an account to join the conversation.
10 Nov 2012 22:18 #26434
by jlviloria
Replied by jlviloria on topic Re:Lathe OD Turning
John,
Thank God, I'm going to start testing on my machine.
I want to simulate a program.
I tried to configure subroutines but I've failed. I fail to integrate my linuxcnc your subroutines. is already widespread writing. but something else for dummies?
I thank you in advance. full cooperation. incredible people, Sorry to disturb both
ahh we use metrics. how as change inch to mm?
other concerns. to threads. or use CSS (G96). You need some sort of pluguins? or linuxcnc is already integrated.
Thanks.
Jorge Viloria
Thank God, I'm going to start testing on my machine.
I want to simulate a program.
I tried to configure subroutines but I've failed. I fail to integrate my linuxcnc your subroutines. is already widespread writing. but something else for dummies?
I thank you in advance. full cooperation. incredible people, Sorry to disturb both
ahh we use metrics. how as change inch to mm?
other concerns. to threads. or use CSS (G96). You need some sort of pluguins? or linuxcnc is already integrated.
Thanks.
Jorge Viloria
Please Log in or Create an account to join the conversation.
10 Nov 2012 23:36 #26436
by BigJohnT
Replied by BigJohnT on topic Re:Lathe OD Turning
To use CSS you need spindle feedback into LinuxCNC.
linuxcnc.org/docs/html/gcode/gcode.html#...ec_g96_g97_spindle_a
linuxcnc.org/docs/html/examples/spindle....d_spindle_feedback_a
Can you be more specific about your problem with the subroutine? When I'm making a subroutine I test it standalone then integrate it into ngcgui (I assume your talking about ngcgui)
John
linuxcnc.org/docs/html/gcode/gcode.html#...ec_g96_g97_spindle_a
linuxcnc.org/docs/html/examples/spindle....d_spindle_feedback_a
Can you be more specific about your problem with the subroutine? When I'm making a subroutine I test it standalone then integrate it into ngcgui (I assume your talking about ngcgui)
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds