Bill
I use a macro called grthin.mcl to reduce the control points in a polyline. The macro came with V11.5. To use it group the polyline and execute the grthin.mcl and answer the dialog bos that will ask for the value for VMT. (tolerance band) I usually use .001 to .002. It will reduce the number of points greatly.


Gary


At 11:22 AM 2/22/2003 +0000, Bill Payter wrote:
Hi guys,

Recently had the following problem. I used WALL OFFSET on a Polyline to
create a roughing pass, this created a Polyline with over 6,000 points. The
code came out with a similar number of lines. Tried altering SMF file
questions 21, 86 & 87 to no avail.

In the end I put the following at the start of my TMP file LINE section:-

#IF(#LNLEN<=.01)<#UPDATE,#XPOS,#YPOS)>
#IF(#LNLEN<=.01)<#EXIT>

(The code is in mm). This shortened the code to an acceptable 500 lines or
so but have a feeling this isn't the right way to do it!

What is the correct way to shorten the code?

Regards,

Bill in the UK.



======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================




Gary Byerlee
Milling Precision Tool Corp.
4225 W. 31st. St South
Wichita, Kansas 67215
(316) 265-0973
[EMAIL PROTECTED]


====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================

Reply via email to