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

Function test_single_unary_constraint

tests/test_assembly.py:2265–2269  ·  view source on GitHub ↗
(simple_assy2)

Source from the content-addressed store, hash-verified

2263
2264
2265def test_single_unary_constraint(simple_assy2):
2266
2267 with pytest.raises(ValueError):
2268 simple_assy2.constrain("b1", "FixedRotation", (45, 0, 45))
2269 simple_assy2.solve()
2270
2271
2272def test_point_on_line(simple_assy2):

Callers

nothing calls this directly

Calls 2

constrainMethod · 0.45
solveMethod · 0.45

Tested by

no test coverage detected