On 01/10/2014 02:55 AM, Filipe Tomaz wrote: > 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.
My guess is that there should be a fair number of lathes with rear tool posts. Using LinuxCNC for controller upgrades on existing CNC lathes, which usually have rear tool posts, makes the most sense, so there should be a significant number of them "out there". It may be that these lathes are used with a front tool configuration. > 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 haven't looked at the code, but your screen shots make me think that the triangular fan is painting black on black. There must also be some white parts that are being painted over and leaking slightly, producing the points. > 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 If the fan is being drawn twice, first in white then again in black, my guess this is a mistake. It may be that a conditional section isn't exiting soon enough. -- 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