Hi guys, I often need to simplify curves projected onto scanned meshes and thus those projected curves consists of many points.
SimplifyCrv can do a good job here, but I often wish for a tolerance setting for the tool. Can you please add that? If curve points are closer to each other than the tolerance then merge, if they deviate less than the tolerance from a straight line then delete etc.
SimplifyCrv uses the file tolerance setting. But AFAIK, tolerance or no, it doesn’t do what you asked for above - except perhaps merge collinear segments and tangent arcs with same radius.
Here’s a before curve.
Note how the smaller curves aren’t simplified much compared to the larger ones.
Not even if I set the file tolerance to 1 mete.SimplifyCrv.3dm (37.9 KB)
(The entire smallest curve is 0.2 meter wide)
I expect simplifyCrv to respect angles larger than a given degree and then the filetolerance regarding distance between points / deviation from original curve.
the ability to rebuild curves/curvesegments too based on the tolerance setting, not only polylines
(And note: a tolerance setting is important, so we don’t have to fiddle with the file tolerance)
Adding FitCrv and /or Rebuild into SimplifyCrv is a major reimagining of curve editing. I’d prefer to improve SimplifyCrv and see if that works first.
There are a number of other bugs along the lines of dealing with polylines as input.