]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
[bos #31549] [EDF] (2023-T1) Sketch Visualization of constrains asozinov/CR35149 20/head
authorasozinov <alexey.sozinov@opencascade.com>
Mon, 10 Jul 2023 12:14:58 +0000 (13:14 +0100)
committerasozinov <alexey.sozinov@opencascade.com>
Wed, 15 Nov 2023 16:59:24 +0000 (16:59 +0000)
commit92b4a7087129df9d69db3d060d81637f9697d289
tree94353912e98c1c3598cd18a4ac3cc5c3ba7ecbb7
parent1b480058354c8db4efece962f1ba900cd0fc7581
[bos #31549] [EDF] (2023-T1) Sketch Visualization of constrains

- Added browser which show all constraints in the active sketch.
- This browser provide functionality for Delete, Edit and Suppress constraints
- Suppressed constraints can be reactivated

- for constraints will be added new attribute ConstraintState. If True - constraint active, otherwise - suppressed.
This parameter can be used as optional for python script. Example of using:
  Sketch_1.setCoincident(SketchLine_4.endPoint(), SketchLine_1.startPoint(), is_active = False)

Documentationalso will be added
81 files changed:
src/ModuleBase/ModuleBase_IModule.h
src/ModuleBase/ModuleBase_ISelection.h
src/PartSet/PartSet_Module.cpp
src/PartSet/PartSet_SketcherMgr.cpp
src/PartSet/PartSet_SketcherMgr.h
src/SketchAPI/SketchAPI_Constraint.cpp
src/SketchAPI/SketchAPI_ConstraintAngle.cpp
src/SketchAPI/SketchAPI_Sketch.cpp
src/SketchAPI/SketchAPI_Sketch.h
src/SketchPlugin/SketchPlugin_Constraint.h
src/SketchPlugin/SketchPlugin_ConstraintAngle.cpp
src/SketchPlugin/SketchPlugin_ConstraintCoincidence.cpp
src/SketchPlugin/SketchPlugin_ConstraintCollinear.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistanceAlongDir.cpp
src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp
src/SketchPlugin/SketchPlugin_ConstraintHorizontal.cpp
src/SketchPlugin/SketchPlugin_ConstraintLength.cpp
src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp
src/SketchPlugin/SketchPlugin_ConstraintMirror.cpp
src/SketchPlugin/SketchPlugin_ConstraintParallel.cpp
src/SketchPlugin/SketchPlugin_ConstraintPerpendicular.cpp
src/SketchPlugin/SketchPlugin_ConstraintRadius.cpp
src/SketchPlugin/SketchPlugin_ConstraintRigid.cpp
src/SketchPlugin/SketchPlugin_ConstraintTangent.cpp
src/SketchPlugin/SketchPlugin_ConstraintVertical.cpp
src/SketchPlugin/SketchPlugin_MultiRotation.cpp
src/SketchPlugin/SketchPlugin_MultiTranslation.cpp
src/SketchPlugin/SketchPlugin_Offset.cpp
src/SketchPlugin/doc/SketchPlugin.rst
src/SketchPlugin/doc/images/ConstraintsBrowser.png [new file with mode: 0644]
src/SketchPlugin/doc/images/constraints_suppressed.png [new file with mode: 0644]
src/SketchPlugin/doc/images/constraints_suppressed_moved.png [new file with mode: 0644]
src/SketchPlugin/doc/sketchConstraintsBrowser.rst [new file with mode: 0644]
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.h
src/SketchSolver/SketchSolver_ConstraintDistance.cpp
src/SketchSolver/SketchSolver_Group.cpp
src/SketchSolver/SketchSolver_Storage.h
src/SketcherPrs/CMakeLists.txt
src/SketcherPrs/SketcherPrs_Angle.cpp
src/SketcherPrs/SketcherPrs_Collinear.h
src/SketcherPrs/SketcherPrs_DimensionStyle.cpp
src/SketcherPrs/SketcherPrs_DimensionStyle.h
src/SketcherPrs/SketcherPrs_Equal.h
src/SketcherPrs/SketcherPrs_HVDirection.h
src/SketcherPrs/SketcherPrs_LengthDimension.cpp
src/SketcherPrs/SketcherPrs_Middle.h
src/SketcherPrs/SketcherPrs_Mirror.h
src/SketcherPrs/SketcherPrs_Offset.h
src/SketcherPrs/SketcherPrs_Parallel.h
src/SketcherPrs/SketcherPrs_Perpendicular.h
src/SketcherPrs/SketcherPrs_Radius.cpp
src/SketcherPrs/SketcherPrs_Rigid.h
src/SketcherPrs/SketcherPrs_SymbolPrs.cpp
src/SketcherPrs/SketcherPrs_SymbolPrs.h
src/SketcherPrs/SketcherPrs_Tangent.h
src/SketcherPrs/SketcherPrs_Transformation.h
src/SketcherPrs/icons/anchor_deactivate.png [new file with mode: 0644]
src/SketcherPrs/icons/collinear_deactivate.png [new file with mode: 0644]
src/SketcherPrs/icons/equal_deactivate.png [new file with mode: 0644]
src/SketcherPrs/icons/horisontal_deactivate.png [new file with mode: 0644]
src/SketcherPrs/icons/middlepoint_deactivate.png [new file with mode: 0644]
src/SketcherPrs/icons/parallel_deactivate.png [new file with mode: 0644]
src/SketcherPrs/icons/perpendicular_deactivate.png [new file with mode: 0644]
src/SketcherPrs/icons/tangent_deactivate.png [new file with mode: 0644]
src/SketcherPrs/icons/vertical_deactivate.png [new file with mode: 0644]
src/XGUI/CMakeLists.txt
src/XGUI/XGUI_ActionsMgr.cpp
src/XGUI/XGUI_ContextMenuMgr.cpp
src/XGUI/XGUI_ContextMenuMgr.h
src/XGUI/XGUI_Displayer.cpp
src/XGUI/XGUI_Selection.cpp
src/XGUI/XGUI_Selection.h
src/XGUI/XGUI_SelectionMgr.cpp
src/XGUI/XGUI_SelectionMgr.h
src/XGUI/XGUI_SketchConstraintsBrowser.cpp [new file with mode: 0644]
src/XGUI/XGUI_SketchConstraintsBrowser.h [new file with mode: 0644]
src/XGUI/XGUI_Workshop.cpp
src/XGUI/XGUI_Workshop.h
src/XGUI/XGUI_msg_fr.ts