Grasshopper

algorithmic modeling for Rhino

hello im from chile and my english is not strong enought sry for that.

now the isssue is, i have rectangles and i project them vertexs on a surface then i evaluate if those vertex are in the surface or not with "InCurve", the thing is that i dont know how to tell grasshopper if any of those 4 vertex (for any rectangle) is inside the curve dont draw the rectangle, how can i associate the vertex list back wiht the surface list (rectangles) 

here some images.


the first one show vertexs projected (sitll have to work on it, doesnt project them all)

the second one show the rectangles, and the last one show how grasshopper manage the list now, every index with 4 sub index is one rectangle , (null items is because not all vertex are projected, i guess)

well ill be glad to get some help ty.

im pretty bad making other people understand me in spanish i guess in english, a bad english, i am even worse

Views: 431

Replies to This Discussion

Use [Mass Addition] on then Boolean output of [in curve] you might need to use [shift paths] to get the 4 values on one list. Eg.

{0;0;0}

0

0

0

0

{0;0;1}

0

1

0

0

{0;0;2}

0

1

0

1

etc

WHen you mass addition all these list you will get

{0;0;0}

0

{0;0;1}

1

{0;0;2}

2

THerefore [larger than] =0 will give you Boolean Cull pattern that will get rid of any surfaces that fall with inside the curve

ty i am gonna try that and let u know any results ty again

wow so easy i didn know that element thank so much u just save me

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