]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
[bos #31549] [EDF] (2023-T1) Sketch Visualization of constrains eksu/31549_VisConstraints master 51/head
authorasozinov <alexey.sozinov@opencascade.com>
Mon, 10 Jul 2023 12:14:58 +0000 (13:14 +0100)
committerEsukhareva <ekaterina.sukhareva@opencascade.com>
Fri, 22 Nov 2024 15:18:08 +0000 (15:18 +0000)
commit5d185f22190d20ddebd8fd4b149ed3fa3eb45541
tree3cad4bb5803c4d9bc071b9b45645bc775eaf9285
parent60898aedda9f4da0c29d097d270c503605e63203
[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
87 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_MacroMiddlePoint.cpp
src/SketchAPI/SketchAPI_MacroMiddlePoint.h
src/SketchAPI/SketchAPI_Sketch.cpp
src/SketchAPI/SketchAPI_Sketch.h
src/SketchPlugin/SketchPlugin_Constraint.h
src/SketchPlugin/SketchPlugin_ConstraintAngle.cpp
src/SketchPlugin/SketchPlugin_ConstraintAngle.h
src/SketchPlugin/SketchPlugin_ConstraintCoincidence.cpp
src/SketchPlugin/SketchPlugin_ConstraintCollinear.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistanceAlongDir.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistanceAlongDir.h
src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp
src/SketchPlugin/SketchPlugin_ConstraintHorizontal.cpp
src/SketchPlugin/SketchPlugin_ConstraintLength.cpp
src/SketchPlugin/SketchPlugin_ConstraintLength.h
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_OperationMgr.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