RE: [CAD_CAM_EDM_DRO] Fw: smoothing algorithm
Posted by
Carol & Jerry Jankura
on 2001-06-22 10:52:26 UTC
Tom:
Just to let you know that your attachments appear to be automatically
deleted by Yahoo before it forwards the messages to the rest of us. Please
upload your file into the files section of this group so the rest of us can
view it. If you haven't done it, and don't want to start, send a copy to me
offline and I'll have a go at uploading it.
-- Carol & Jerry Jankura
Strongsville, Ohio
So many toys, so little time
-----Original Message-----
From: Tom Eldredge [mailto:harmonyt@...]
Sent: Friday, June 22, 2001 10:19 AM
To: CAD_CAM_EDM_DRO@yahoogroups.com
Subject: [CAD_CAM_EDM_DRO] Fw: smoothing algorithm
Just to let you know that your attachments appear to be automatically
deleted by Yahoo before it forwards the messages to the rest of us. Please
upload your file into the files section of this group so the rest of us can
view it. If you haven't done it, and don't want to start, send a copy to me
offline and I'll have a go at uploading it.
-- Carol & Jerry Jankura
Strongsville, Ohio
So many toys, so little time
-----Original Message-----
From: Tom Eldredge [mailto:harmonyt@...]
Sent: Friday, June 22, 2001 10:19 AM
To: CAD_CAM_EDM_DRO@yahoogroups.com
Subject: [CAD_CAM_EDM_DRO] Fw: smoothing algorithm
----- Original Message -----
From: Tom Eldredge
To: CAD_CAM_EDM_DRO@egroups.com
Sent: Friday, June 22, 2001 8:27 AM
Subject: smoothing algorithm
Gentlemen,
Thanks to all of you who helped me decide which way to go on the point
smoothing algorithm. A lot of ideas were shared which were too complex for
me to tackle at this time, but this little routine does work, and I think it
will serve my needs for now.
I have attached the point smoothing algorithm source code to this email. It
takes input from a file which includes two characters, which indicate
whether to accelerate and decelerate a move, plus the x and y coordinates of
a point, and it smooths the points out. The input file, "cutfile.no1" , in
my case is part of a file created by my control. It is a pre-proccessing
control, so that the g codes are read in by the control, and a file is
created which includes the results of a slope comparison routine, which
compares the slope of the previous move with the present move and the next
anticipated move. From this slope comparison and other considerations, the
software makes a decision whether the present move should include
acceleration and deceleration. In my case, I made a decision not to smooth
out the points where there are radical changes in the slope, thus the two
alpha characters, indicating Yes or No for acceleration and deceleration,
respectively.
You can certainly strip all of the Y and N stuff out, and get down to the
basic routine if you want to smooth all the points out. I have included a
sample input file, and a basic routine, along with an exe program.
If it is of any value, feel free to use it. The more times it loops, the
smoother the profile gets. It is set to loop 5 times.
It is a simple thing, and if someone wants to put it in the files section,
have at it. I have never added anything to that goldmine before, so if
someone thinks it should be added, go ahead. In fact, someone might want to
trim it down first, to include just the points, and then save it.
Thanks again,
Tom Eldredge
[Non-text portions of this message have been removed]
Addresses:
FAQ: http://www.ktmarketing.com/faq.html
FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
Post messages: CAD_CAM_EDM_DRO@yahoogroups.com
Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@...
Moderator: jmelson@... timg@... [Moderator]
URL to this page: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
bill,
List Manager
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Discussion Thread
Tom Eldredge
2001-06-22 07:09:51 UTC
Fw: smoothing algorithm
Tom Eldredge
2001-06-22 07:29:43 UTC
Re: [CAD_CAM_EDM_DRO] Fw: smoothing algorithm
Carol & Jerry Jankura
2001-06-22 10:52:26 UTC
RE: [CAD_CAM_EDM_DRO] Fw: smoothing algorithm