2012-10-23

conical booleans | hyperbolic script






I created this script to create hyperboloid geometries between two surfaces.  It works be creating a point grind and circles upon a user selected surface.  The curves on that surface are then scaled randomly in the x,y,z directions and the divided into a number of points. Afterwards the scaled curve is then projected back on it's original surface.   The points on one curve are then connected to a corresponding on the opposite surface.  If the two points are directly across from each other you get a cylinder, if they are opposite you get two cones, and in between you get a hyperboloid geometry.  There are many different variables that can be put into the script such as the number of geometries created, the offset of the point divisions (how much the geometry torques) and the number of divisions / lines created (the smoothness of the geometry.  It will be interesting to see how different sets of geometries with different input variables when overlapped will create interesting Boolean objects.

This is a fun little gif I found to explaining the Geometry I would feel bad not posting it.



The next iteration of the script was to create a double layer of hyperboloids that share a connection circle in the center.  I also added some more options so that we can easily tweak the code going forward including the ability to turn of the random scaling, make the scaling uniform, lock the hyperboloid function to create only cones, etc.



I also adapted the code to make the hyperboloids a class so that the script can easily run multiple passes using the same geometry.  This will be helpful going forward as well since I can re-insert the scripts that created shallow cones or other geometries back into the script which should make it more robust going forward with the project.




This is a small teaser of a quick edge boolean operation. The jaggedness of the cuts is part of the generated surfaces in Rhino, these will not be a part of the final production since the router will only the simple geometries when it does it's swarf passes.  I'm working on smoothing out the surfaces but for now they are helpful in visualizing how rhino is producing the shapes.

For anyone who is interested you can download the scripts below:


Keine Kommentare:

Kommentar veröffentlichen