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>
Wed, 24 Jun 2020 08:57:41 +0000 (11:57 +0300)
commit11e506a02bbd919d5977b3a25cd4cd84ba54fda4
treea43aeaf0e001621413f5df627f639838f0153751
parent48bed8f800b7c32e2e6db56a7bd7cb3379908341
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