I recently noticed that ReduceMesh with planaronly option behaves very different in RH-Beta compared to RH-8. Here is a comparison. Does anybody else have that also?
Reducemesh-planaronly.3dm (5.1 MB)
I cannot upload the geometry in the image but I can reproduce it with anything. Even with a simple sphere… See the file.
Thanks for the file, i was able to repeat it here. The same sphere goes to 360 faces with Planar only in the 9 BETA and stays smooth in 8. Logged as RH-99976 ReduceMesh Planar only distorts curved meshes in 9
thank you very much for the sample. The problem that the Rhino 9 change was tackling is coming from the fact that the tolerance value for PlanarOnly was entirely fixed, in a way that does not scale with the size of the object. Therefore, for some small objects, the entire function failed once the “PlanarOnly” option is turned on.
However, it seems that this made the values too relaxed for larger objects.
I’ve tackled this so that the tolerance is reduced for “small” objects, but it still is never increased more than in Rhino 8. This should both cover your case and also other cases where geometry is small. We will see if more tweaks are necessary.
We wonder still, how this tolerance default should be computed on the actual mesh: fixed, linear, following curvature, etc? This is the last step missing in this area IMO. We will think about this and come back with something useful, I hope “soon”.
@Holo yes it’s a good idea, but with something small enough, faceted small enough, that could easily encompass the entire mesh or too large portions. The main question is how to restrict this to meaningful areas.
I understood the concept and tried to answer the question I think that if two planes are within the documents tolerance they should be considered planar… It kind of is the point with a tolerance and affects whether we can join curves and surfaces if ends/edges are within that tolerance, so to me it makes sense to use the same value for coplanarness.
But, how does it work for nurbs mergecooplanarfaces?