MCPcopy Index your code
hub / github.com/CadQuery/cadquery / circles

Function circles

tests/test_nurbs.py:35–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33
34@fixture
35def circles() -> list[Curve]:
36
37 # u,v periodic
38 c1 = circle(1).toSplines()
39 c2 = circle(5)
40
41 cs = [
42 Curve.fromEdge(c1.moved(loc))
43 for loc in c2.locations(np.linspace(0, 1, 10, False))
44 ]
45
46 return cs
47
48
49@fixture

Callers

nothing calls this directly

Calls 5

circleFunction · 0.85
toSplinesMethod · 0.80
fromEdgeMethod · 0.80
locationsMethod · 0.80
movedMethod · 0.45

Tested by

no test coverage detected