Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
toLocs
Method · 0.95
filter
Method · 0.45
key
Method · 0.45
key
Method · 0.45
key
Method · 0.45
_collectProperty
Method · 0.45
shapetype
Function · 0.45
_mass_calc_function
Method · 0.45
centerOfMass
Method · 0.45
isSolid
Method · 0.45
_get
Function · 0.45
_get_one
Function · 0.45
Calls
1
shapetype
Function · 0.85
Tested by
9
test_periodic_curve
Function · 0.36
test_curve
Function · 0.36
importBox
Method · 0.36
importCompound
Method · 0.36
testCubePlugin
Method · 0.36
testShape
Method · 0.36
get_doc_nodes
Function · 0.36
test_utils
Function · 0.36
test_constructors
Function · 0.36