Grasshopper

algorithmic modeling for Rhino

how to create points in the inside of an arbitrary shape BREP?

the points created by Populate Geometry component are NOT in the inside of brep, they are just on the outer surface of brep.

So are there any ways to create points in the inside of an arbitrary shape BREP? and the number of the points can be specified exactly.

thanks!

Views: 8099

Replies to This Discussion

Hey I made this file for my lectures. The students like it. Maybe it helps you.

best Regards

DeDackel

Attachments:

thank you very much!

but if the brep is like this or more complex, the “t”value of “Evaluate Curve”component is difficult to control, isn't it?

here you go

Attachments:

thanks Dedackelzucht!

Generally I would prefere (and it is easier to to do) to create a point cloud over all and cull it with the inside compnent. David already described it in his anwser.

Best Regards

DeDackel

There is no component for creating N points inside a brep. One way to solve this would be to generate a bunch of points inside the Brep bounding box (using the Populate3D component) and then cull all the points that are outside. You need to make it so that you still end up with a few more points than you were gunning for (this depends entirely on the shape of the brep, very spindly shapes will perform poorly). Ultimately you can remove the points at the end of the list that are too many. This approach will still keep the random points as far away from each other as possible.

I attached a file showing the above methodology. Note: it works better in Rhino5. The Inside/Outside Brep algorithm in Rhino4 sometimes makes mistakes.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

thanks david!

you're using new release 0.9.0015!

is there possible to make a component for the function we talk about?

Hi David

I know this discussion is really old, but you will probably know the answer to this.

If I have a collection of breps instead of just one, but I want to cull the the ones outside this collection.

Why is this not working and all of them are false?

This is probably really basic but is driving me nuts...

Thank you very much in advance.

Cheers

Eduardo

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service