code: def volume(self):
          
          volume = abs(self.primitive.polygon.area *
                       self.primitive.height)
          return volume
docs: The volume of the primitive extrusion.
  
          Calculated from polygon and height to avoid mesh creation.
  
          Returns
          ----------
          volume: float, volume of 3D extrusion