Depending on the input CAD format read, the HOOPS Exchange API is able to retrieve or re-compute several attributes concerning the “physical properties” (like the mass or volume) of a model.
As its name suggests, the A3DComputeModelFilePhysicalProperties() function is able to re-compute several information like the surface or volume from a brep. However please keep in mind that those values may slightly differ from the native CAD software ones since the modeller used is different !
Concerning the values that are directly read from CAD files, here’s an array with their different names:
Format/Properties | Mass | Density | Surface | Volume |
---|---|---|---|---|
Catia | Not available | Read A3DMiscMaterialPropertiesData::m_dDensity
|
Calculated A3DPhysicalPropertiesData::m_dSurface
|
Calculated A3DPhysicalPropertiesData::m_dVolume
|
Solidworks | Read A3DMiscAttributeData::SW-MassProp-Config-0 * |
Read A3DMiscMaterialPropertiesData::m_dDensity
|
Calculated A3DPhysicalPropertiesData::m_dSurface
|
Calculated A3DPhysicalPropertiesData::m_dVolume
|
Creo/ProE | Read A3DMiscAttributeData::MASS
|
Read A3DMiscMaterialPropertiesData::m_dDensity
|
Calculated A3DPhysicalPropertiesData::m_dSurface
|
Calculated A3DPhysicalPropertiesData::m_dVolume
|
NX | Read A3DMiscAttributeData::j0WeightCalc
|
Read A3DMiscAttributeData::j0Density
|
Read A3DMiscAttributeData::j0CPArea
|
Read A3DMiscAttributeData::j0GeoV
|
JT | Not available | Not available | Calculated A3DPhysicalPropertiesData::m_dSurface
|
Calculated A3DPhysicalPropertiesData::m_dVolume
|
Inventor | Read A3DMiscAttributeData::kMassDesignTrackingProperties
|
Read A3DMiscAttributeData::kDensityDesignTrackingProperties
|
Read A3DMiscAttributeData::kSurfaceAreaDesignTrackingProperties
|
Read A3DMiscAttributeData::kVolumeDesignTrackingProperties
|
Solid Edge | Not available | Read A3DMiscAttributeData::Density
|
Calculated A3DPhysicalPropertiesData::m_dSurface
|
Calculated A3DPhysicalPropertiesData::m_dVolume
|
Revit | Not available | Read A3DMiscMaterialPropertiesData::m_dDensity
|
Calculated A3DPhysicalPropertiesData::m_dSurface
|
Calculated A3DPhysicalPropertiesData::m_dVolume
|
- The
SW-MassProp-Config-0
attribute displays the following data in that order: X, Y, Z Center of Mass (meters) / Volume (cubic meters) / Surface (square meters) / Mass (kilograms) / X, Y, Z Axis of Inertia