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 Citando Filipe Tomaz <filipeto...@portugalmail.pt>: > Thank you (and Kirk) for showing the write direction. > > This bug only happens in lathes that the user uses the .axisrc like > described in: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BackToolLathe > > Not sure the number of people using a lathe with backtoopost, so I am > unaware if this issue is relevant. > > In this case, for any tool with diameter != 0, the backplot does not > displays the tool. It simply shows some points on the screen, that flick a > bit. It is like the tool is being drawn, but is not able to. > I changed a lot of code for nothing, that I found out that the problem > is not on the linuxcnc code (this is, all the points are correct), but > rather the GL_TRIANGLE_FAN is not displaying correctly the points. I do > not know way, but I suspect it have something to do with the initial point > of the triangle fan. Unfortunately I do not know so much on opengl. To > prove my statement, I transformed all the TRIANGLE_FAN into lines (using > the same coordinates), and NOW THE TOOL PREVIEW IS DISPLAYED. > > Please take a look into the two images, below, that compares both > situations. > > http://postimg.org/image/qxmnr36ct/d82a4084/ > http://postimg.org/image/y5fge18m1/df9ac6b8/ > > Filipe > > Citando Chris Morley <chrisinnana...@hotmail.com>: >> Date: > Thu, 9 Jan 2014 08:33:36 +0000 >>> From: filipeto...@portugalmail.pt >>> To: emc-developers@lists.sourceforge.net >>> Subject: [Emc-developers] Error in backplot with backtool set up >>> in lathes >>> >>> Good morning, >>> Strangely I did not got any reply from the forum in this question: >>> >>> >>> http://www.linuxcnc.org/index.php/english/forum/21-axis/27365-where-is-the-tool-preview-being-drawn-source-coud#42451[1] >>> >>> maybe this list can point me in the right direction? >>> Thank you. >>> >>> >>> Ligações: >> look in: >> /lib/python/glnav.py >> /lib/python/glcanon.py >> >> Chris M >> >> >> >> ------------------------------------------------------------------------------ >> 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.nethttps://lists.sourceforge.net/lists/listinfo/emc-developers > > ------------------------------------------------------------------------------ > 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.nethttps://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ 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