FreeCAD: master 1b59e745

Author Committer Branch Timestamp Parent
Abdullah Tahiri Abdullah Tahiri master 2017-01-13 22:42:57 master 0ef082bc
Changeset Sketcher: Solver Simplification for basic case

==============================================

This commit is intended to allow to early merging to master of BSpline support. Parts of it will be reverted when a more advanced solver implementation is available.

The intention is to have an advances solver implementation in the future.

This commit cripples part of the potential functionality, but allows a very simplistic solver structure (no de Boor, no recursion).

In particular:
1. Knots are not solver parameters and the solver acts as if such a parameter did not exist.
2. For non-periodic case, the start point and the endpoint coincide with the first pole and the last pole respectively. This is only valid under certain first and last
knot multiplicity. If the user manually changes this multiplicities, the sketch will remain unsolved. For the periodic case, end and start points are not even solver
parameters as an end and start point is an ilusion and we really do not care where that happens. It is not reasonable to ask the user to constrain where this point should
be.
mod - src/Mod/Sketcher/App/Sketch.cpp Diff File