Has anyone studied the possibility to produce more detailed simple model than BoundingBox or MinimalBoundingBox? I wonder if there’s a way to find the closest points in 3d point array with parametric tolerance / point distance to find outer limits of simplified 3d shape?
If you use ReduceMesh, then it will ultimately lose some of the polygon connections and alter the outer limits of the original 3d shape. This idea would be 3D point array bounding shape type of solution without losing the original outer limits.
I think the point array for the 3d coordinates will not be an issue, but how to draw that shape in 3d? It’s basically a virtual point cloud of the original shape So, any suggestions and ideas? Or hint if there’s a ready solution already to be found?
There is already a mathematical definition of what is a minimal bounding-box called the Principal Component Analysis.
I implemented this in OpenNest. Yes it depends on points, but depending on geometry i.e. meshes there is one to one correspondence since mesh is a pointcloud with graph data. For smooth objects there is another story. But this could be starting point.
Yes, it looks more like what I meant. So, if I create a virtual point cloud using 3d array of points to find MeshClosestPoint for every point in the array, I could draw the shape with CMP from python/rhinoscript when plugin installed?
That’s a cool method too, and useful for many cases I can think of. Shrink wrap was the first idea to approach this problem, but I think the mesh closest point method would be more what I need at this point and would be faster than iterative solution like shrink wrap. But I will take a closer look at that solution too, 'cos I know there are applications for that too!