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

Method face

cadquery/occ_impl/shapes.py:1075–1082  ·  view source on GitHub ↗

Select a single face.

(self, selector: Selector | str | None = None)

Source from the content-addressed store, hash-verified

1073 )
1074
1075 def face(self, selector: Selector | str | None = None) -> Face:
1076 """
1077 Select a single face.
1078 """
1079
1080 return tcast(
1081 Face, self._filter_single(selector, map(Shape.cast, self._entities("Face")))
1082 )
1083
1084 def shell(self, selector: Selector | str | None = None) -> Shell:
1085 """

Callers 3

_get_facesFunction · 0.45
prismFunction · 0.45
draftFunction · 0.45

Calls 2

_filter_singleMethod · 0.95
_entitiesMethod · 0.95

Tested by

no test coverage detected