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

Method ShapeType

cadquery/occ_impl/shapes.py:874–875  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

872 return self.wrapped.Closed()
873
874 def ShapeType(self) -> Shapes:
875 return tcast(Shapes, shape_LUT[shapetype(self.wrapped)])
876
877 def _entities(self, topo_type: Shapes) -> Iterable[TopoDS_Shape]:
878

Callers 15

toLocsMethod · 0.95
filterMethod · 0.45
keyMethod · 0.45
keyMethod · 0.45
keyMethod · 0.45
_collectPropertyMethod · 0.45
shapetypeFunction · 0.45
_mass_calc_functionMethod · 0.45
centerOfMassMethod · 0.45
isSolidMethod · 0.45
_getFunction · 0.45
_get_oneFunction · 0.45

Calls 1

shapetypeFunction · 0.85

Tested by 9

test_periodic_curveFunction · 0.36
test_curveFunction · 0.36
importBoxMethod · 0.36
importCompoundMethod · 0.36
testCubePluginMethod · 0.36
testShapeMethod · 0.36
get_doc_nodesFunction · 0.36
test_utilsFunction · 0.36
test_constructorsFunction · 0.36