Grasshopper

algorithmic modeling for Rhino

Hi,

Can anyone help me finding a solution to this issue?
I would like to select all the points (3D-grid) inside- or captured by my surface...

With other words: a regular grid version of the (free-form) surface inside of the 3D-grid!


Thanks in advanced
Best //ALi

Views: 3359

Replies to This Discussion

create a vb.net component with the following code:
If x.IsPointInside(y, doc.AbsoluteTolerance, False) Then a = y

Connect the brep to the 'x' input and the points to the 'y' input.
The script will output the points located inside the brep.
The brep must be closed for it to work properly.
Dear Vincente,

Thanks for the VB hint,

I'm sure my surface is not 100% closed and therefor not working... actually I have a trimmed surface on top of a lofted untrimmed surface.

I can't really join them!

Is there a way to just use the surface as a proximate node and solve the points inside of the area?

I can do it, partly, by slicing the brep in planar surfaces and then cull the nearest point to those planar surfaces... but still I have the issue of getting the planar surfaces out when my brep when is not joined!

//ALi
Is there a way you can 'cap' them and make them independent closed solids?
Hi,

I've been giving it a shot to cap/close the surface, but it's hard as it's a double-curved trimmed surface on the top of my shape!


I can trim the controlled surface on the top and I can cap the bottom of the lofted surface.


Is there a way to use a surface other than a closed solid? Practically the shape is enclosing the points inside...

Thanks
//ALi
What about using sections curves to do the test. Since the 3d grid is rectangular wouldn't it be possible to see which points would be inside section curves (which you close) for each level in the grid. Perform this for each of the surfaces that comprise the form, and the do a search for duplicates afterwards?

/Thomas

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service