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.
Dedackelzucht
Hey I made this file for my lectures. The students like it. Maybe it helps you.
best Regards
DeDackel
Oct 5, 2012
Dedackelzucht
here you go
Oct 5, 2012
David Rutten
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
Oct 5, 2012