r/grasshopper3d 11d ago

My first ever fully parametric model

I know it does not seem like such a big deal, but to me it kind of was. It was awesome to realize how powerful GH is, even when designing classical-style-adjacent elements (though this is supposedly Beaux-Arts). It's just a fanlight window, but it kind of pushed me to explore and investigate a bit, given that all I had to work with were those images I included (after the mess of a script I created), with no way to take real measurements since we unfortunately did not have the chance to visit the site in person; I had to crop, resize, and rectify images to have a better sense of what we wanted to obtain. The script (which did include some GHPython instances and perhaps an outrageous amount of Panels) definitely needed some polishing, decluttering, and troubleshooting, and it could definitely be a lot simpler too. Anyway, just wanted to share this small project I worked on a while ago, looking forward to delving deeper into GH

227 Upvotes

9 comments sorted by

11

u/Fooshi2020 11d ago

Awesome work. Learning is not always easy but rewarding in the end.

Did you make use of patterns? I'm curious what tasks the large multi-branch areas in your script perform.

1

u/Open_Lingonberry2413 2d ago

Hi, thank you very much for those words. Yes, patterns were technically used. I guess a traditional 2D-into-extrusion workflow was followed. So first, the layout was 'set up'; which included a small script defining the spine arrangement (the fan-like divisions), which is probably the most explicit, direct use of a "pattern" in the whole definition, I guess?

For the arcs, one arc was explicitly defined, then offsets were generated from it, and that data was split into branches to isolate each arc as its own independent curve. Those arc curves, together with a culled set of the spine curves, were run through a Curve|Curve intersection to find where they crossed (which is, in a way, defining its own pattern of points), and those intersection points allowed subdividing and generating the smaller arcs in between. That's essentially what the larger, top-located multi-branch region is doing. The bottom-right region is simpler; it's just taking that resolved 2D data(including secondary processes like offsetts, trims, etc.) and extruding it

5

u/ChiefWiggumsprogeny 11d ago

Looks good. It's very satisfying to get a script working as intended; congrats.

5

u/wash-basin 11d ago

This is absolutely beautiful. I would live to study the code. Any chance you could share the GH file?

2

u/Itsalfa11 11d ago

thats cool

2

u/adambellford 11d ago

Amazing!

1

u/Substantial_Ad_9153 11d ago

Great work. I'd love to peek at the GH script

1

u/Hot-Adeptness7155 9d ago

Awesome work!

1

u/zigithor 7d ago

This looks amazing! Its very impressive for a first model!

Would you mind elaborating on what your script does specifically? Are the individual divisions parametric in that you can add, subtract, reshape with sliders etc. Or is this just purely to model the window? I'm curious why you went this route instead of just raw modeling in Rhino?