Node Cleaner

AuthorTom Snape [Prev] [Next] by Author
CategoryGraphic - Modify [Prev] [Next] by Category
Keywords:
Type (Source?)Macro (VBA)
LicenceFreeware
StatusTo be reviewed


Description:

This macro can be used to reduce the node count of certain polylines. When 2D polylines are used to represent contours and curved profiles they can sometimes contain thousands of vertices, depending upon how they were generated. High node counts increase file size and can drag system performance down, especially during editing operations. Many times the number of nodes can be cut in half, or more, with out changing the overall shape of the profile noticeably. Here is one example.
This macro will only work with 2D polylines made of line segments (no arc segments). It will remove up to 50% of the nodes at a time, but this is configurable. There are also settings for making a copy of the original (for a back-up in case you don't like the results; the node removal action is not undoable). And the settings are saved in an INI configuration file in the Program folder.

Comments:




Download: .../TSnape/NodeCleaner.zip (30KB)
More Info: http://throsn.tripod.com/downloads.html


Email Comment. Use this link to email comments, corrections, additional information etc for this topic.

URL of this page: <A href ='http://www.bcitool.com/TCDRC/?Pages/Page_00020.htm' target = '_blank'>TCDRC - Page 00020</A>