In Grasshopper you can retrieve a Domain’s positive value with only 1 component.
New to Grasshopper? I suggest you read this article in the first place.
Need more learning resources? Check this out.
Disclaimer
As you will see in my screenshots most components carry a title above them displaying their name. This is because I use a plugin called Bifocals.
Also you’ll see my Grasshopper tab titles abbreviated because there’s not enough horizontal space. I will mention the titles in full in my script though.
As with everything Grasshopper, the technique I show you is no way my own discovery. This time, I got the idea from Michael Pryor in the McNeel forum.
Let’ start
Just today, I faced another of those minor challenges in Grasshopper: How to retrieve a Domain’s value?
Let’s assume you have something like this:
Some minor definition constructing a surface needs to be moved. You connect a Deconstruct Box to the surface output (in this case it’s an Extrude). But then, Deconstruct Box only outputs Domains which your Move component won’t take as an input.
The solution: Connect a Number component (Param – Primitive) to your domain outputs:
As you see: They supply you with a simple number value.
New to Grasshopper? I suggest you read this article in the first place.
Need more learning resources? Check this out.
Leave a Reply
You must be logged in to post a comment.