Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ makeUnitCube
Function
makeUnitCube
tests/__init__.py:28–29 ·
view source on GitHub ↗
(centered=True)
Source
from the content-addressed store, hash-verified
26
27
28
def
makeUnitCube(centered=True):
29
return
makeCube(1.0, centered)
30
31
32
def
makeCube(size, xycentered=True):
Callers
15
testPointList
Method · 0.90
testWorkplaneFromFace
Method · 0.90
testFrontReference
Method · 0.90
testTranslateSolid
Method · 0.90
testSolidReferencesCombine
Method · 0.90
testWorkplaneOnExistingSolid
Method · 0.90
testFillet
Method · 0.90
testChamfer
Method · 0.90
testChamferAsymmetrical
Method · 0.90
testSplitKeepingHalf
Method · 0.90
testSplitKeepingBoth
Method · 0.90
testSplitKeepingBottom
Method · 0.90
Calls
1
makeCube
Function · 0.85
Tested by
15
testPointList
Method · 0.72
testWorkplaneFromFace
Method · 0.72
testFrontReference
Method · 0.72
testTranslateSolid
Method · 0.72
testSolidReferencesCombine
Method · 0.72
testWorkplaneOnExistingSolid
Method · 0.72
testFillet
Method · 0.72
testChamfer
Method · 0.72
testChamferAsymmetrical
Method · 0.72
testSplitKeepingHalf
Method · 0.72
testSplitKeepingBoth
Method · 0.72
testSplitKeepingBottom
Method · 0.72