Grasshopper

algorithmic modeling for Rhino

hi @ll,

basically im trying to test a point if its included in a surface ...

is there a component for that because im trying a rather complicated way (curve inclusion) which not really works...

--- > def attached

help s appreciated

thank you

Views: 1148

Attachments:

Replies to This Discussion

I would use the CP Surface Component to find the distance of the Test Point to all faces. Then you can sort and split the first one out. You could also Cull the face that has 0 distance but because of decimal precision it won't always equal 0 so you would need to round to 3 decimal places before the equality component.

Attachments:

thanks danny !

this helps for my example !

but there isnt i standard comp for testin point on surface i assume ?

thy

CP Surface is that component.

If the distance is 0 then it is in the surface. It just doesn't produce a True/False Value like inclusion or inside

Of Course you can make your own based on the CP component.

In the D output Expression put "if(round(D,3)=0,1,0)"

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