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

Method constrain

cadquery/assembly.py:381–384  ·  view source on GitHub ↗
(
        self, q1: str, q2: str, kind: ConstraintKind, param: Any = None
    )

Source from the content-addressed store, hash-verified

379
380 @overload
381 def constrain(
382 self, q1: str, q2: str, kind: ConstraintKind, param: Any = None
383 ) -> Self:
384 ...
385
386 @overload
387 def constrain(self, q1: str, kind: ConstraintKind, param: Any = None) -> Self:

Callers 2

test_toCompoundFunction · 0.95

Calls 5

_queryMethod · 0.95
_sublocMethod · 0.95
instance_ofFunction · 0.85
ConstraintClass · 0.85
appendMethod · 0.80

Tested by 2

test_toCompoundFunction · 0.76