there exists many algorithms for offsetting a NURB, I imagine that could be done before the NURBS_FEED() is called. Where would that be ? Do we have access to the current offset, or is it more complicated than that ? Is it assumed, past the methods in emccanon.cc that the curve will not self intersect ? I mean that if there are two nurbs in sequence, the offseting might not give a continuous curve.
Bruno On 6/3/14 1:40 PM, [email protected] wrote: > Date: Mon, 2 Jun 2014 13:34:56 -0500 > From: Chris Radek<[email protected]> > Subject: Re: [Emc-developers] bug with nurbs ? > To: EMC developers<[email protected]> > Message-ID:<[email protected]> > Content-Type: text/plain; charset=us-ascii > > On Mon, Jun 02, 2014 at 07:05:59PM +0200, bruno wrote: >> >Hi Chris, >> > >> >I did not know how to give the first point a weight, in addition I >> >definitely had a bug in my GCode, in the sense that I wanted points 1 >> >and 3 to have the same lower weight, but not point 2. With this change, >> >the curve looks like I wanted and the path is followed very closely, >> >even when the weight of point 3 is vastly different from 1 and 2 . >> >Thanks for pointing this out. > Excellent! Clearly our docs are inadequate for the G5 family. We > have a 2.6 bug to fix it: > > http://sourceforge.net/p/emc/bugs/369/ > >> >Now there is just the issue of G41, G42 that have no effect, do you have >> >a fix for that ? > No. Unfortunately the design we have splits into arcs past where > cutter comp can get applied to (directly programmed) arcs. > > We have good cutter comp for all variations of arcs, including the > case where the entry is an arc. But reording the layers to make it > possible to comp these generated arcs would be a nontrivial project. > > If there's an algorithm for offsetting a NURBS that would be the > other possible approach (offset before splitting). > >> >more segments (or arcs) in sections of high curvature and fewer in >> >flatter sections. >> > >> >Could you point me where in the code this is handled ? Maybe I could >> >take a stab at implementing that... > The splitting can be found at src/emc/task/emccanon.cc:NURBS_FEED() > > I'd be happy to work with you, however you can contribute (docs or > better splitting). > > Chris ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
