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

Function trimmed_circles

tests/test_nurbs.py:50–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49@fixture
50def trimmed_circles() -> list[Curve]:
51
52 c1 = circle(1).trim(0, 1).toSplines()
53 c2 = circle(5)
54
55 cs = [
56 Curve.fromEdge(c1.moved(loc))
57 for loc in c2.locations(np.linspace(0, 1, 10, False))
58 ]
59
60 return cs
61
62
63@fixture

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected