Bug calculating surface area and volume
Open, Needs TriagePublic

Description

System Information
Windows 7 Professional and AMD Radeon Graphics Processor (0x6610)

Blender Version
Broken: Blender 2.78a e8299c8
Worked: (optional)

Short description of error

Code for volume and surface area does not match output of volume and surface area calculated using 3D print tools. Working on the cube made in the create panel, when slicing the cube in half and recreating it using the mirror modifier output of the code and 3D print tools matched, but values were double what they should have been, and when a triangular prism was created using the mirror modifier 3D print tool calculations were close to correct, surface area calculated from the code was correct, but the volume calculated using the code was completely off. The reason I started testing this was because I have a 3D model of a whale created using the mirror modifier (set to scale and everything) and the calculations for SA and V seemed completely off. I apologize if this isn't a bug, someone suggested it might be. I'm very new to blender. If you have a suggestion for more accurate SA and V calculations for complex meshes please let me know.

Exact steps for others to reproduce the error
Run code in python in file, check against values from 3D print tools{F1325085}

Based on a (as simple as possible) attached .blend file with minimum amount of steps

Details

Type
Bug