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

Function fail_this

tests/test_assembly.py:2073–2075  ·  view source on GitHub ↗
(shape0)

Source from the content-addressed store, hash-verified

2071 return cq.Constraint(ids, (shape0, shape0), sublocs, "PointInPlane", 0)
2072
2073 def fail_this(shape0):
2074 with pytest.raises(ValueError):
2075 make_constraint(shape0)
2076
2077 def resulting_pln(shape0):
2078 c0 = make_constraint(shape0)

Callers 1

test_constraint_getPlnFunction · 0.85

Calls 1

make_constraintFunction · 0.85

Tested by

no test coverage detected