MCPcopy
hub / github.com/CadQuery/cadquery / Area

Method Area

cadquery/occ_impl/shapes.py:1104–1111  ·  view source on GitHub ↗

:returns: The surface area of all faces in this Shape

(self)

Source from the content-addressed store, hash-verified

1102 )
1103
1104 def Area(self) -> float:
1105 """
1106 :returns: The surface area of all faces in this Shape
1107 """
1108 Properties = GProp_GProps()
1109 BRepGProp.SurfaceProperties_s(self.wrapped, Properties)
1110
1111 return Properties.Mass()
1112
1113 def Volume(self, tol: float | None = None) -> float:
1114 """

Callers 15

keyMethod · 0.45
test_surfaceFunction · 0.45
test_approximate2DFunction · 0.45
test_face_interfaceFunction · 0.45
test_modesFunction · 0.45
test_distributeFunction · 0.45
test_rarrayFunction · 0.45
test_parrayFunction · 0.45
test_modifiersFunction · 0.45
test_edge_interfaceFunction · 0.45
test_bezierFunction · 0.45
test_bool_opsFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_surfaceFunction · 0.36
test_approximate2DFunction · 0.36
test_face_interfaceFunction · 0.36
test_modesFunction · 0.36
test_distributeFunction · 0.36
test_rarrayFunction · 0.36
test_parrayFunction · 0.36
test_modifiersFunction · 0.36
test_edge_interfaceFunction · 0.36
test_bezierFunction · 0.36
test_bool_opsFunction · 0.36
test_exportFunction · 0.36