]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
Task 2.7. Horizontal and Vertical Distance constraint
authorazv <azv@opencascade.com>
Wed, 3 May 2017 05:25:22 +0000 (08:25 +0300)
committerazv <azv@opencascade.com>
Wed, 10 May 2017 12:50:25 +0000 (15:50 +0300)
commitb49300c581e67523203dc497c967676d42fb0728
tree9d9797a3395b2c4a4c5ec733ab5ff82197b2aa5e
parent884210338f7a0d6ea5442328609c841028503334
Task 2.7. Horizontal and Vertical Distance constraint

1. Implemented SketchPlugin entities related to Horizontal and Vertical Distance constraints.
2. Add processing of new constraints in the solver.
3. Special Python commands for new constraints in SketchAPI
4. Unit tests
25 files changed:
src/SketchAPI/SketchAPI_Constraint.cpp
src/SketchAPI/SketchAPI_Rectangle.cpp
src/SketchAPI/SketchAPI_Rectangle.h
src/SketchAPI/SketchAPI_Sketch.cpp
src/SketchAPI/SketchAPI_Sketch.h
src/SketchPlugin/CMakeLists.txt
src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistance.h
src/SketchPlugin/SketchPlugin_ConstraintDistanceHorizontal.cpp [new file with mode: 0644]
src/SketchPlugin/SketchPlugin_ConstraintDistanceHorizontal.h [new file with mode: 0644]
src/SketchPlugin/SketchPlugin_ConstraintDistanceVertical.cpp [new file with mode: 0644]
src/SketchPlugin/SketchPlugin_ConstraintDistanceVertical.h [new file with mode: 0644]
src/SketchPlugin/SketchPlugin_Plugin.cpp
src/SketchPlugin/Test/TestConstraintDistanceBehavior.py [new file with mode: 0644]
src/SketchPlugin/Test/TestConstraintDistanceHorizontal.py [new file with mode: 0644]
src/SketchPlugin/Test/TestConstraintDistanceVertical.py [new file with mode: 0644]
src/SketchPlugin/icons/distance_h.png [new file with mode: 0644]
src/SketchPlugin/icons/distance_v.png [new file with mode: 0644]
src/SketchPlugin/plugin-Sketch.xml
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Defs.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.cpp
src/SketchSolver/SketchSolver_Constraint.cpp
src/SketchSolver/SketchSolver_ConstraintDistance.cpp
src/SketchSolver/SketchSolver_Error.h
src/SketcherPrs/SketcherPrs_LengthDimension.cpp