Grasshopper

algorithmic modeling for Rhino

Hi there,

I am basically (at this stage) trying to get my head around boolean functions and have come to a problem. What I want to do is have the connecting line (the Hypotenuse of the triangle) only appear (or is drawn) once the boolean operations have been satisfied.

 

I cannot figure out how to do this, I want to draw the line when the operation receives a 'true' value. Any ideas? Also what components do you usually control with a boolean operation? 

 

Thanks a lot

Matt

Views: 3748

Attachments:

Replies to This Discussion

It's actually easier to simply generate the line in all instances and then use a cull component to only pass the line if your boolean value is true.  In your definition, just add a Cull Pattern component to the end, connect your Gate And (R) to the Cull Pattern (P) input, and your Line (L) to the List (L) input.

Thanks a lot David this helped a lot!

I have posted a new discussion with a problem that has stemmed from this:

http://www.grasshopper3d.com/forum/topics/connecting-segments-with-...

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service