algorithmic modeling for Rhino
Hi Everybody,
I would like to create a Populate 3D in a Brep volume, but i would like to control the distance between each points (exemple: I would like to have 10mm between each points). I saw some topics but I didn’t find how can we enter the distance between points.
Can you help me on it?
Tags:
Ha, ha, ha...no, Grasshopper won't give you this on its own without a script or a plug-in.
You can make an even tetrahedral mesh using my Tetgen script (and free little Tetgen program it uses) or use Kangaroo to pack spheres into a volume right up to the critical point where they start touching, or even "relax" the 3D points via centroidal Voronoi cycles using Lloyd's algorithm.
Take a look at some images to get you there:
https://www.google.com/search?q=site:grasshopper3d.com+nikwillmore+...
https://www.google.com/search?safe=off&biw=1644&bih=870&...
There's only a few ways to stack points in a 3D volume while keeping them all exactly the same distance apart. You can put them into a cubic grid (and then of course points that are diagonal are further apart) or you can put them into a tetrahedral grid.
Once you have your grid, you can then remove all the points that are outside the brep volume.
If you want to make a random distribution where the points are on average x units apart, then Nik's suggestion is the best one. You'll need to use some sort of iterative process to move points that violate the condition, and Kangaroo is probably the best way to go.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by