(simple_assy2)
| 2303 | |
| 2304 | |
| 2305 | def test_point_constraint(simple_assy2): |
| 2306 | |
| 2307 | assy = simple_assy2 |
| 2308 | |
| 2309 | assy.constrain("b1", "b2", "Point", 1) |
| 2310 | |
| 2311 | assy.solve() |
| 2312 | |
| 2313 | t2 = assy.children[1].loc.wrapped.Transformation().TranslationPart() |
| 2314 | |
| 2315 | assert t2.Modulus() == pytest.approx(1) |
| 2316 | |
| 2317 | |
| 2318 | @pytest.fixture |