Salome HOME
Task #3230: Sketcher: create a curve passing through selected points or vertices...
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Fri, 22 May 2020 16:55:22 +0000 (19:55 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 2 Jul 2020 11:30:39 +0000 (14:30 +0300)
commit87447545000c44e455431ed0d401f850f373374e
treecb5e8b3d67e7569483a48ad3924cbb4385bcf2d4
parent5fbfd2e75c41fcacf436f668bf4f5898bf37a1a9
Task #3230: Sketcher: create a curve passing through selected points or vertices of a polyline

* Implement the Curve Fitting feature.
* Implement the de Boor scheme for periodic and non-periodic B-spline evaluation.
* Implement interpolation and approximation modes of the feature.
* Add creation of the control polygon.
* Reordering points on the corresponding button click
* Python API for this feature
* User documentation
31 files changed:
src/GeomAlgoAPI/GeomAlgoAPI_CurveBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_CurveBuilder.h
src/ModelAPI/ModelAPI_Feature.h
src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp
src/ModuleBase/ModuleBase_WidgetOptionalBox.h
src/SketchAPI/SketchAPI.i
src/SketchAPI/SketchAPI_Sketch.cpp
src/SketchAPI/SketchAPI_Sketch.h
src/SketchPlugin/CMakeLists.txt
src/SketchPlugin/SketchPlugin_CurveFitting.cpp [new file with mode: 0644]
src/SketchPlugin/SketchPlugin_CurveFitting.h [new file with mode: 0644]
src/SketchPlugin/SketchPlugin_MacroBSpline.cpp
src/SketchPlugin/SketchPlugin_MacroBSpline.h
src/SketchPlugin/SketchPlugin_Plugin.cpp
src/SketchPlugin/SketchPlugin_Validators.cpp
src/SketchPlugin/SketchPlugin_Validators.h
src/SketchPlugin/SketchPlugin_msg_en.ts
src/SketchPlugin/SketchPlugin_msg_fr.ts
src/SketchPlugin/doc/TUI_curvefitting.rst [new file with mode: 0644]
src/SketchPlugin/doc/curveFittingFeature.rst [new file with mode: 0644]
src/SketchPlugin/doc/examples/approximation.py [new file with mode: 0644]
src/SketchPlugin/doc/examples/interpolation.py [new file with mode: 0644]
src/SketchPlugin/doc/images/curvefitting.png [new file with mode: 0644]
src/SketchPlugin/doc/images/curvefitting_approximation_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/curvefitting_interpolation_res.png [new file with mode: 0644]
src/SketchPlugin/doc/images/curvefitting_panel_approximation.png [new file with mode: 0644]
src/SketchPlugin/doc/images/curvefitting_panel_interpolation.png [new file with mode: 0644]
src/SketchPlugin/icons/curvefitting.png [new file with mode: 0644]
src/SketchPlugin/plugin-Sketch.xml
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_GeoExtensions.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_GeoExtensions.h