TopoDS_Shape solidShape; GProp_GProps props; BRepGProp::VolumeProperties(solidShape, props); Standard_Real volume = props.Mass();