]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
[EDF] (2023-T1) Sketch middle point constrain should create point if missing CR35150 10/head
authorasozinov <alexey.sozinov@opencascade.com>
Tue, 6 Jun 2023 10:52:31 +0000 (11:52 +0100)
committerasozinov <alexey.sozinov@opencascade.com>
Wed, 25 Oct 2023 10:36:25 +0000 (11:36 +0100)
commita75b67fb7c1a4d8bf4acec94ecd441a48415634d
treec8ae409e49359623c00f93473d2bcb251202be12
parenta696c2ad09b16e786ca4270e89b356571acc9cf6
[EDF] (2023-T1) Sketch middle point constrain should create point if missing

- Added new way for create middle point constraint: Only by segment
- Added MacroMiddlePoint, which create point and middle constraint between point and passed object. Returns point
- SketchAPI: added setMiddlePoint() command, which pass only object and create middle point for object.
- will be updated documentation and tests
26 files changed:
src/SketchAPI/CMakeLists.txt
src/SketchAPI/SketchAPI.i
src/SketchAPI/SketchAPI_Constraint.cpp
src/SketchAPI/SketchAPI_Constraint.h
src/SketchAPI/SketchAPI_MacroMiddlePoint.cpp [new file with mode: 0644]
src/SketchAPI/SketchAPI_MacroMiddlePoint.h [new file with mode: 0644]
src/SketchAPI/SketchAPI_Sketch.cpp
src/SketchAPI/SketchAPI_Sketch.h
src/SketchAPI/SketchAPI_swig.h
src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp
src/SketchPlugin/SketchPlugin_ConstraintMiddle.h
src/SketchPlugin/Test/TestConstraintMiddlePoint.py
src/SketchPlugin/Test/TestConstraintMiddlePointOnArc.py
src/SketchPlugin/Test/TestConstraintMiddlePointOnEllipticArc.py
src/SketchPlugin/doc/examples/middle.py
src/SketchPlugin/doc/images/MiddlePoint_obj.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Middlepoint_obj_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Middlepoint_obj_point_panel.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Middlepoint_obj_point_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Middlepoint_obj_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/Middlepoint_panel.png [deleted file]
src/SketchPlugin/doc/images/Middlepoint_res.png [deleted file]
src/SketchPlugin/doc/middleFeature.rst
src/SketchPlugin/icons/middlepoint_obj.png [new file with mode: 0644]
src/SketchPlugin/plugin-Sketch.xml
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.cpp