[Home]BackToolLathe

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Showing revision 5

Back / Rear Tool Lathe Info

1. Axis .axisrc file settings.
2. Linuxcnc tool orientations & arcs
3. Fanuc like tool orientations & Arcs


1. Axis .axisrc file settings.

To display a rear tool lathe in Axis, create an .axisrc file in your home directory and place the following code.

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.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)

2. Linuxcnc tool orientations & arcs

Information on rear/back tool display linuxcnc

upload:tool_positions-FandB.png

the above image shows how the linuxcnc tools should be shown for current tool orientations (as of 2.5.x) the front tool display is the current orientations, the Rear / back tool post is what it should look like if implemented properly. also shown is Arc directions when programed and back plotted.

3. Fanuc like tool orientations & Arcs

upload:tool_positions-FandB-fanuc2.png

if Linuxcnc is ever to to be updated to follow fanuc, mitsubishi, hass, or other larger industrial controls, the above is what should be implemented. also shown is Arc directions when programed and back plotted.


LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions | View current revision
Edited March 20, 2016 12:52 pm by Robh (diff)
Search:
Published under a Creative Commons License