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

Function make_constraint

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

Source from the content-addressed store, hash-verified

2068 sublocs = (cq.Location(), cq.Location())
2069
2070 def make_constraint(shape0):
2071 return cq.Constraint(ids, (shape0, shape0), sublocs, "PointInPlane", 0)
2072
2073 def fail_this(shape0):
2074 with pytest.raises(ValueError):

Callers 2

fail_thisFunction · 0.85
resulting_plnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected