CAD CAM EDM DRO - Yahoo Group Archive

Fred at IMServ rede ths plz

Posted by batwings@i...
on 2002-04-15 04:51:39 UTC
Fred:

I have some code that solves arc from three points, I use it to 'teach'
arcs into job file during MDI. I'd be happy to use that as a basis for
writing your code to evaluate arcs in series (for a few bux of course). You
just need to let me know where to begin writing, IE at level of opening
file, at level of reading in coords, or at level of solving successive
arcs. Also, what is your file format?

What I think you'd do is initialize some variables and an array three deep
by several wide, read coords in from file till array is full, solve arc for
first three points, write/send command for arc from first to second point,
increment your array and read in another one set coords, solve arc for
those three points, write/send command for arc from second to third point,
and so on. This code above would be a while loop based on EOF marker. By
doing it this way you get arcs that are all tangent or nearly so. Your last
three points in file however need to be done as one arc since that's the
only data you have left, so at that point you'd break the loop and do a
final few steps to wrap that. Then close pointer to file, etc.

Regards, Hoyt

Posts with .htm attachments are filtered to trash!
Belfab CNC - http://www.freeyellow.com/members/belfab/belfab.html
Best MC Repair - http://www.freeyellow.com/members/batwings/best.html
Camping/Caving - http://www.freeyellow.com/members/batwings/caving.html
Doubt the tolling of the clock, but not the crowing of the cock

Discussion Thread

Paul 2002-04-14 15:49:30 UTC NAMES and hotels wbhinkle@a... 2002-04-14 19:36:39 UTC Re: [CAD_CAM_EDM_DRO] NAMES and hotels batwings@i... 2002-04-15 04:51:39 UTC Fred at IMServ rede ths plz imserv1 2002-04-15 09:16:27 UTC Re: Arc fitting routines was Fred at IMServ rede ths plz John Bell 2002-04-15 16:00:20 UTC Re: [CAD_CAM_EDM_DRO] NAMES and hotels