On 01/10/2014 11:50 AM, Filipe Tomaz wrote:
> I did not rotated anything except using the recommended change
> here http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BackToolLathe, that works on
> displaying the world (limits, part, ...). So my start was to try to fix
> the existing issue, the issue was not created by my config.
>
> Both on 2.5.3 or 2.6.0~pre, if the .axisrc is used like in the link, for
> any tool with diameter !=0, any direction the tool is not displayed.
>      Also if the tool have any direction and diameter == 0, all the tools
> are rendered as equal, with a cone, what is wrong for lathes.
>      Filipe

The cone is used when the tool information is not known. My guess is 
that is the only thing it means, so really doesn't try to graphically 
represent anything.

After giving John K's message some thought, it makes a lot of sense. It 
looks like the _view_ of the axes is changed such that the viewer is 
looking up from the bottom of the lathe so we are also looking at the 
bottom of the tool fan segments. It also makes sense to have a different 
color on the front and back of these segments.

Looking at the source:
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=lib/python/rs274/glcanon.py;h=7eec004944df2e04ea21d6f6fd4ef89f91df1907;hb=HEAD

line 345:
          'lathetool': (0.80, 0.80, 0.80),

Maybe play with these values.

http://velociraptor.mni.fh-giessen.de/OpenGL/TulaneGL/Changing_State.html

It may also be a problem with lighting. We may need to move or add a 
light. See line 394

http://velociraptor.mni.fh-giessen.de/OpenGL/TulaneGL/Lighting.html#Lighting


-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to