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!

  • up

    Dedackelzucht

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

    best Regards

    DeDackel

    1
    • up

      Dedackelzucht

      here you go

      2
      • up

        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

        2