]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
Issue #2133: Edge with middle node constraint can be moved
authorazv <azv@opencascade.com>
Tue, 25 Apr 2017 08:31:09 +0000 (11:31 +0300)
committerazv <azv@opencascade.com>
Tue, 25 Apr 2017 08:31:20 +0000 (11:31 +0300)
commit0b9a8ed5aa0787974bf1b9c7b5cedd1ca2c9e05d
treeb27ff5911662df19ea6c0167e1a1414a19df5508
parent067832f5b2a64f59441319be65e10a8cc068c14b
Issue #2133: Edge with middle node constraint can be moved

Move entities similar as FreeCAD (2 steps):
1. Initialize solver with initial positions of the feature and add temporary constraints.
2. Set new coordinates and then solve the set of constraints.
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AttributeBuilder.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h
src/SketchSolver/SketchSolver_ConstraintFixed.cpp
src/SketchSolver/SketchSolver_ConstraintFixed.h
src/SketchSolver/SketchSolver_Group.cpp