Calculate volume of selectionReleased under the GNU LESSER GENERAL PUBLIC LICENSE.
This plugin and code are freely distributable. This plugin has not been tested on versions of AC3D prior to version 6.0.
Returns the total volume of the selected surfaces in cubic units.
Copy the calcvol.p file to your AC3D plugins folder (for example, if using Windows, C:\Program Files\AC3D\plugin) and (re)start AC3D.
You will find the "Calculate volume" menu item under the "Tools" menu.
To use, select an enclosed object then perform a Tools -> Calculate volume.
The selected surfaces must comprise an enclosed, "solid" area. Think of it as putting a volume of water inside the selected objects/surfaces. If the selected geometry would contain water without leaking/spilling, then you can perform a volume calculation.
Any "holes" in the selection may invalidate the result, and you will be given a warning as such. This goes back to the earlier explanation under "Usage" of whether your selection will "hold water" without spilling/leaking.
If three or more surfaces intersect at an edge, this may also invalidate the results, and you will be given a warning as such. For example, if you extrude one side of a box, and "Remove original" is not checked, you will end up with a hidden surface inside the new object. The inner surface may invalidate the volume calculation.
If your selection intersects itself, this may also invalidate the results. You will not be warned of this, however. The below image shows self-intersecting geometry. The area of the geometry that self-intersects will be counted twice.
Subdivided surfaces are not considered in the volume calculation. The non-subdivided polygons are used in the volume calculation.
|All content Copyright © 2006 Dennis Hawthorne, except where explicitly noted
supercoldmilk © 2006 Dennis Hawthorne