KmolYuan / Pyslvs-UI

An open source planar linkage mechanism simulation and mechanical synthesis system.
https://pyslvs-ui.readthedocs.io
GNU Affero General Public License v3.0
192 stars 37 forks source link

[BUG] Avoid crashing on unsolvable mechanisms #41

Closed KmolYuan closed 3 years ago

KmolYuan commented 4 years ago

Needs to raise error instead of segment fault. Especially including slider joints.

KmolYuan commented 4 years ago

Reproduce:

  1. Open "Inverted slider" example.
  2. Delete the point 1.