VolumeMassProperties Bug


I still see that when using VolumeMassProperties for closed Breps - it gives negative volume. The value however is correct.
I thought it has been fixed already before, but it seems - not…


Just to be sure, is this maybe related to the normals of the closed Brep pointing inward rather than outward? It seems quite difficult to make this a closed solid with normals pointing inward by hand, but can probably be programmed “incorrectly”.

Hi Dmitriy,

A model and some sample could would be helpful. Using Math.Abs gives you the result you expect, correct?

– Dale