[Sketcher] Refactor SketchObject::trim()

DO NOT MERGE because not complete: not all constraints are not transferred.

Includes:

* Adjust `deriveConstraintsForPieces` for trim
* Make sure new points are constrained on the cutting edges
* Add constraints at trim end(s) dependent on pre-exisiting ones with cutting curve(s). Also change tests to reflect that auto-coincidence can now be applied to non-periodic curves as well.

Known issue(s):
* Some redundant constraints may be added under certain circumstances (e.g. in
presence of perpendicular-via-point)
This commit is contained in:
Ajinkya Dahale
2024-06-27 00:22:49 +05:30
parent bf4eed0921
commit 30e95ee86a
3 changed files with 368 additions and 581 deletions

File diff suppressed because it is too large Load Diff