We tried to use BoxEdit feature to resize our 500000 2D polygons at once but the software didn’t respond. We tried BoxEditing 20000 polygons and it worked but we have to wait for several minutes to finish it. Beyond this number, Rhino cannot respond. Is there a limit to the number of objects rhino can handle at once?
Does anyone know how to solve this problem? or there’s a way to allocate more memory to rhino?
Or anyone has an idea about resizing 500000 2D polygons without changing their center positions. “Scale” is not right for us because it also changes the center position of each polygon.
Thank you so much.
Here is our system:
Windows7
Rhino5 (64bit)
24GB ram
Have you considered making each unique polygon in a block, then instancing each block as required to create the 500,000? Then when you change the block it will change all the instances. Of course, if you have a very large number of unique polygons, this probably wouldn’t help much.
Well, half a million anythings is somewhat problematic for Rhino (unless it’s a point cloud)… I arrayed a square 80 x 80 x 80 - makes 512,000 polygons, just doing that took quite a number of minutes until it finished… File size is about 750 megs.
That said, you are correct, BoxEdit does appear to have a significant problem with large numbers of objects - perhaps because it wants to show real-time previews… In any case just pre-selecting all half million objects and hitting the box edit tab without doing anything else caused Rhino to lock up here.
I do have workaround solution for you. Below is a python script which will ask you to select objects, then for an X, Y, and Z scale, then scale the objects like BoxEdit does (about their bounding box centers). It took about a minute here to run with my 512K squares.
It hadn’t occurred to me that box editing even worked with a polygon mesh.
Anyway, perhaps it could be done by splitting up the object, and then use nodes for manipulation guides. In other words, you could, say twist two objects the exact same amount.
Perhaps, also you could simplify the mesh with a free utility like MeshLab, or perhaps recreate it in NURBS.
It would interesting to have the task manager open, on the memory usage page, while attempting the transformation. If you ran out of physical memory, and your computer used virtual memory for this, that would be about it.]
[Having watched box editing work, it appears to subdivides geometry to make the transformation. Perhaps it hangs or crashes while doing this.]
Hi AIW,
Thanks for your suggestion. But unfortunately, these polygons are unique. So I cannot make it as a block and change all the instances. However, thanks for your reply.
I also guess the real-time previews screw up the BoxEdit, Thank you for spending time to write a script for me and it really works. Thank you so much!!!