@staticmethod
def computeMass(object):
    """
        Calculates the 'mass' of an object. in FreeCAD < 15, all objects had a mass.
        in FreeCAD >=15, faces no longer have mass, but instead have area.
        """
    if object.wrapped.ShapeType == 'Face':
        return object.wrapped.Area
    else:
        return object.wrapped.Mass
