-Learning GH- Modeling ear plug case

Hi all! I am trying to model this earplug case in GH and am going full newb ignorance. I will keep this post as base to ask about a series of questions I will have on different command nodes. I hope this doesn’t create any issues with the forum’s general guideline.

As my modeling approach, I am planning to start from a box and deform my way till the final form. At the moment I am trying to bend the top surface by deconstructing it and using CUSTOM SPATIAL DEFORM, but as you’ll see in the GH description I cannot seem to make it work as the deform moves the whole surface up and doesn’t apply any falloff.

My first question is how can I deform a surface by moving some of its control points in order to give the middle curvature?

Thank you immensely for your help and guidance!

Ear Plug Case.gh (23.4 KB)

That seems like a shape you might want to use SubD for.

Just using a box alone as the starting point gets you this:

Thank you, I have learned a new thing! This is a good base to begin with, I will proceed on this.

However, do you know why my custom spacial deform is not working? It just moves the whole surface by x amount. What I expect it to do is to move with a falloff. Ideally what I am trying to obtain is to move specific parts of the surface with a gradual falloff outwards kind of like in the image below.

If it’s not too late.. I would suggest modeling it as accurately as possible without using grasshopper first. This usually helps me understand the sequence of how a part or piece gets modeled. That sequence can then translate to grasshopper.

Thanks for the tip Jake, what you said makes sense. However my main goal in trying to model this is to learn GH, I am fairly good in modelling class a surfaces in Rhino. I just am trying to run commands and figure out how they function.

Having said this, if you have any good learning material or suggestions in shedding some light on how to learn GH faster I would be more than grateful!

You need AAD Algorithms-Aided Design by Arturo Tedeschi - it’s the fastest way to go from zero to writing your own definitions

Is this still relevant to current rhino / GH workflow? The 2014 publish date makes me skeptical, but i will give it a go if you say so.

@arialzaffir I am still relatively new to GH and still consider myself a beginner. I just try to help out here when i can, as many have helped me in the past. For me the best learning experience has been just diving into projects and coming here to read and try to help others. I’m lucky that my job enables me to work on my GH skillset and digital fabrication. For me, understanding data trees and how information is passed through the script has been the most effective.

The fundamental concepts of gh haven’t changed since.

Actually I am wondering how relevant GH is in modelling objects like the one I am trying to. I think GH is far more useful in generating pattern-like structures rather than the one I am making. Surely I’d prefer using some other software like Alias or whatever else is more suited if I need a producible object and I’d go for GH only if i need to add some patterns or something similar. Obvious other use would be architecture and robotics. But for object modelling? I’m not really sure.

Anyway, the reason I am making this object is solely to learn nodes

AAD is still the Gh bible - I find a lot of people who watch tutorials, then struggle to go out on their own - this book will get you thinking with algorithms instead of following instructions