AXIS is not really designed to show "custom" tool shapes. I think your goal can only be achieved by modifying the source code to draw the shape you want. In case you want to try doing this, I'll go ahead and get a bit technical.
This is the code in the "axis" program that draws the tool -- a shaped lathe tool, or a cylinder, or the cone. You would have to determine the proper OpenGL calls to produce the shape you want, and edit the axis program to perform them instead of the ones here. (line numbers are from the CVS version of emc and are probably different than in 2.2.8) 997 if lathe and current_tool and current_tool.orientation != 0: 998 glBlendColor(0,0,0,o.colors['lathetool_alpha']) 999 lathetool() 1000 else: 1001 glBlendColor(0,0,0,o.colors['tool_alpha']) 1002 if lathe: 1003 glRotatef(90, 0, 1, 0) 1004 if current_tool and current_tool.diameter != 0: #### the code for drawing the tool cylinder starts here 1005 dia = current_tool.diameter 1006 r = to_internal_linear_unit(dia) / 2. 1007 q = gluNewQuadric() 1008 glEnable(GL_LIGHTING) 1009 glColor3f(*o.colors['cone']) 1010 gluCylinder(q, r, r, 8*r, 32, 1) 1011 glPushMatrix() 1012 glRotatef(180, 1, 0, 0) 1013 gluDisk(q, 0, r, 32, 1) 1014 glPopMatrix() 1015 glTranslatef(0,0,8*r) 1016 gluDisk(q, 0, r, 32, 1) 1017 glDisable(GL_LIGHTING) 1018 gluDeleteQuadric(q) #### and ends here 1019 else: 1020 glScalef(cone_scale, cone_scale, cone_scale) 1021 glCallList(cone_program) Jeff ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users