Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CadQuery/cadquery
/ empty_top_assy
Function
empty_top_assy
tests/test_assembly.py:100–107 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
98
99
@pytest.fixture
100
def
empty_top_assy():
101
102
b1 = cq.Workplane().box(1, 1, 1)
103
104
assy = cq.Assembly(name=
"top"
)
105
assy.add(b1, color=cq.Color(
"green"
), name=
"b"
)
106
107
return
assy
108
109
110
@pytest.fixture
Callers
nothing calls this directly
Calls
2
add
Method · 0.95
box
Method · 0.80
Tested by
no test coverage detected