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

Function showables

tests/test_fig.py:17–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16@fixture(scope="module")
17def showables():
18
19 # showables
20 s = box(1, 1, 1)
21 wp = Workplane().box(1, 1, 1)
22 assy = Assembly().add(box(1, 1, 1))
23 sk = Sketch().rect(1, 1)
24 ctrl_pts = ctrlPts(sk.val().toNURBS())
25 v = Vector()
26 loc = Location()
27 act = vtkAxesActor()
28
29 return (s, s.copy(), wp, assy, sk, ctrl_pts, v, loc, act)
30
31
32@mark.gui

Callers

nothing calls this directly

Calls 13

WorkplaneClass · 0.90
AssemblyClass · 0.90
SketchClass · 0.90
ctrlPtsFunction · 0.90
VectorClass · 0.90
LocationClass · 0.90
boxFunction · 0.85
boxMethod · 0.80
toNURBSMethod · 0.80
addMethod · 0.45
rectMethod · 0.45
valMethod · 0.45

Tested by

no test coverage detected