Hello,
I made myself a pretty light Grasshopper Style of Shutters with blinds. I am designing a facade where shutters make a big role and wanted to test how it will look in the realistic scenario when different shutters may be set different (fully closed, fully opened, partially opened, etc.), more of, there are different sizes and number of panels - in short: a lot of variations of the same Grasshopper Style.
This of course made my file size skyrocketed by instantaneous addition of a couple of hundred MB… Shutters aren’t any complicated geometry but they consist of a lot of repetitive elements - extrusions of the blinds.
From what I see, when every instance shares the same parameters, file size is under control - this leads me to test Save Small option.
Test file - many copies of 3 variants of the same Grasshopper Style - saved with regular “Save” command - 122 MB
Test file - many copies of 3 variants of the same Grasshopper Style - saved as “Save Small” - 2 MB
In the test file, Save Small made a huge difference in File size and Saving time, but it is a very simplified scenario.
In real-life - Save Small of 80 shutters with different parameters still gives me a 126 MB file.
- After exploding everything to native Rhino elements it grows to 250 MB
- Baking 16 992 polysurfaces into Revit (by Add Brep DirectShape) produces 17,5 MB rvt file. - but that’s just a fun fact, not fair comparsion.
Even a simple Shutter with blinds will have many Blinds (Breps).
I had an idea, that it can be solved by making every blind as a Block Definition and made my definition in a way that every blind would be a non-uniformly scaled Block Instance, but using Block Instances as an output of Grasshopper Style isn’t possible.
Test file which I failed to load as Grasshopper Style
Conclusion:
-
Would it be possible to use Block Instances inside Grasshopper Styles?
-
Would the use of Block Instances for repetitive geometries inside Grasshopper Styles provide display speed boost and decrease file sizes?
-
Are there any techniques that one should follow when making Grasshopper Styles that may help keep Rhino performance reasonable?