Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ makeUnitSquareWire
Function
makeUnitSquareWire
tests/__init__.py:21–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
20
21
def
makeUnitSquareWire():
22
V = Vector
23
return
Wire.makePolygon(
24
[V(0, 0, 0), V(1, 0, 0), V(1, 1, 0), V(0, 1, 0), V(0, 0, 0)]
25
)
26
27
28
def
makeUnitCube(centered=True):
Callers
4
testTranslateWire
Method · 0.90
testVertices
Method · 0.90
testEnd
Method · 0.90
testCompounds
Method · 0.90
Calls
2
V
Function · 0.85
makePolygon
Method · 0.80
Tested by
4
testTranslateWire
Method · 0.72
testVertices
Method · 0.72
testEnd
Method · 0.72
testCompounds
Method · 0.72