algorithmic modeling for Rhino
Hello! I need some help!
I have a polyhedron that is subdivided into smaller polyhedrons. Each small polyhedron has a white and a black point. The white points are on the outer faces of the large polyhedron, and their positions are fixed (specifically pre-determined, and cannot move). The black points can be moved. What would be the best way to modify the positions of the black points, such that:
This is analogous to a reverse 3D Voronoi problem, where the solid cells are already defined, and the points need to be found (instead of providing 3D point cloud and boundary). Also relevant to a 3D version of drawing dual/reciprocal graphs.
I tried the optimization method where I minimized the distance between the end points of the discontinuous lines of the same color, so that they effectively become one continuous line. However, this would quickly become too intensive with many more polyhedrons. Maybe, pre-connecting the black nodes then "relaxing" towards an angle tolerance criteria would be a possibility? Or possibly some sort of iterative solving method?
Any ideas or suggestions would be greatly appreciated! Thanks in advance!
Tags:
the file with the hints (goal is to vary the pt in 2 until a match [ when using the rest 3 white points] is found - not certain in all conditions).
Thanks for your response, Peter!
I think the manual way to find a solution (there are many possible solutions for this particular problem)... is to use spheres (like how circles are used for Delaunay Triangulation in 2D). If I create four spheres using the corner points of each of the smaller polyhedron, and connect the centers of the spheres, the resulting plane or polyline, should be perpendicular to the intersecting polyhedron faces. This plane then could be placed anywhere to "cut" the original four lines, and finish the form.
What I am trying to figure out, is how to automate this, and how to solve this when there are non-polyhedral solids (like tetrahedrons that necessarily wouldn't generate a enclosing sphere). I was hoping someone with more coding expertise could offer some advice!
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