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

Function box_and_vertex

tests/test_assembly.py:111–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109
110@pytest.fixture
111def box_and_vertex():
112
113 box_wp = cq.Workplane().box(1, 2, 3)
114 assy = cq.Assembly(box_wp, name="box")
115 vertex_wp = cq.Workplane().newObject([cq.Vertex.makeVertex(0, 0, 0)])
116 assy.add(vertex_wp, name="vertex")
117
118 return assy
119
120
121@pytest.fixture

Callers

nothing calls this directly

Calls 4

addMethod · 0.95
boxMethod · 0.80
newObjectMethod · 0.80
makeVertexMethod · 0.80

Tested by

no test coverage detected