On Fri, 27 Apr 2012 07:47:33 -0700
dave <dengv...@charter.net> wrote:

> Hi, 
> Does anyone know of an  open source program to fit points to an
> arc(s)?
> 
> Dave
> 
As soon as I hit send I knew I should have been a bit more
explicit. ... we're supposed to learn something as we get older. Ha!

I've been the google route and there is some good stuff out there, but
I'm lazy; why reinvent the wheel. That is: there are what look like
good algorithms but no open source code.

There are quotes from the web that claim 4X to 10X improvement in
cutting speed. 

The intent is to take a list of points, ie. ends of line segments like
those put out by many CAM packages and attempt to fit them within a
tolerance in hopes of getting more speed from G2/3 than is possible
with G64 Pn. 

The 3 pt conversion is not too bad, I have something in C that does
that and I see that as a first approximation but ultimately one really
wants a fit across all the points it is possible to jam into an arc but
still stay within a given tolerance. 

If their native form was a circle then that should be used straight off.
However, CAM packages convert all sorts of curves to short lines and
this needs to be something general enough to have wide application. 

I suppose the other option is to use Li's NURBS implementation and
convert all lists of short G1's to NURBS. Still this demands software
that will do nurbs fitting to a tolerance, maybe not so easy. I don't
know. 

A generalized solution would be nice that works well and doesn't
involve fiddling the motion module would be nice. :-)

Sorry for being so windy but this should clarify things. 

Dave

> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond.
> Discussions will include endpoint security, mobile security and the
> latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________ Emc-developers
> mailing list Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to