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

Method _entities

cadquery/occ_impl/shapes.py:877–882  ·  view source on GitHub ↗
(self, topo_type: Shapes)

Source from the content-addressed store, hash-verified

875 return tcast(Shapes, shape_LUT[shapetype(self.wrapped)])
876
877 def _entities(self, topo_type: Shapes) -> Iterable[TopoDS_Shape]:
878
879 shape_set = TopTools_IndexedMapOfShape()
880 TopExp.MapShapes_s(self.wrapped, inverse_shape_LUT[topo_type], shape_set)
881
882 return tcast(Iterable[TopoDS_Shape], shape_set)
883
884 def _entitiesFrom(
885 self, child_type: Shapes, parent_type: Shapes

Callers 15

VerticesMethod · 0.95
EdgesMethod · 0.95
CompoundsMethod · 0.95
WiresMethod · 0.95
FacesMethod · 0.95
ShellsMethod · 0.95
SolidsMethod · 0.95
CompSolidsMethod · 0.95
verticesMethod · 0.95
edgesMethod · 0.95
wiresMethod · 0.95
facesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected