Skip to main content
OCCT category icon with a stylized logo representation

Calculating Volume and Surface Area

OCCT provides built-in functions to calculate geometric properties of solid shapes, including volume and surface area. This tutorial demonstrates how to:

  • Create a parametric cone solid
  • Calculate the volume of the solid using getSolidVolume
  • Calculate the surface area using getSolidSurfaceArea
  • Format and display the results with proper units
  • Use pin labels for visual annotation

The example shows a practical workflow for measuring and displaying geometric properties, which is essential for engineering calculations, material estimates, and design validation.

Volume and surface area of a solid
Bitbybit Platform

Volume and surface area of a solid in Rete

Rete