i know this is just basic but since rhino is a very powerful software i think there’s some tools and commands to do it… which i couldn’t find…i want to create some different looking shapes like cube, cuboid, 3d hexagon, sphere etc to have same volume. Through calculations it can be done for simple forms but for complex forms some commands needed, i m trying to make some examples for my presentation please do help
Volume scales as the length cubed. To scale object A to be the same volume as object B, first use Volume to measure the volumes of A and B. Then Scale A with the ratio of cube root of (volume of B divided by volume of A).
Do you use grasshopper? If so Pufferfish has has Scale To Area, Scale To Volume, and Scale To Length components that will let you scale any geometries (that are measurable) to those specified sizes, uniformly or non uniformly.
In grasshopper the area component will give you surface area. For the Pufferfish Scale To Area component you just plug in the geometry and then in the area just input the desired surface area and it will resize it to be that surface area.
Should be… As Scale1D is direction-dependent, you would need to supply a scaling direction - either user input (2 points or something like that) or perhaps in one of the axis directions of the active viewport… So by “height” you want it to scale in World Z? From the bottom of the object up? From the object center?
pick 2 pts would likely be the most versatile. i tried to analyze your script to change it myself but i am not up to it. i simply need a cubic object which matches the volume of a cylinder by only scaling its height.