MCPcopy
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
21def 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
28def makeUnitCube(centered=True):

Callers 4

testTranslateWireMethod · 0.90
testVerticesMethod · 0.90
testEndMethod · 0.90
testCompoundsMethod · 0.90

Calls 2

VFunction · 0.85
makePolygonMethod · 0.80

Tested by 4

testTranslateWireMethod · 0.72
testVerticesMethod · 0.72
testEndMethod · 0.72
testCompoundsMethod · 0.72