Salome HOME
modules/shaper.git
4 years agoMeet the coding style (split too long lines)
azv [Wed, 20 Nov 2019 08:20:28 +0000 (11:20 +0300)]
Meet the coding style (split too long lines)

4 years agoMerge remote-tracking branch 'remotes/origin/master' into CEA_2019
azv [Wed, 20 Nov 2019 07:38:11 +0000 (10:38 +0300)]
Merge remote-tracking branch 'remotes/origin/master' into CEA_2019

# Conflicts:
# CMakeLists.txt
# src/BuildPlugin/BuildPlugin_msg_fr.ts
# src/CollectionPlugin/CollectionPlugin_msg_fr.ts
# src/ConstructionPlugin/ConstructionPlugin_msg_fr.ts
# src/FeaturesPlugin/FeaturesPlugin_Chamfer.cpp
# src/FeaturesPlugin/FeaturesPlugin_msg_fr.ts
# src/FiltersPlugin/CMakeLists.txt
# src/GeomAlgoAPI/CMakeLists.txt
# src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.cpp
# src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.h
# src/PythonAddons/Test/TestcompoundVertices.py
# src/PythonAddons/macros/compoundVertices/feature.py
# src/PythonAddons/macros/compoundVertices/widget.xml
# src/PythonAddons/macros/importParameters/feature.py
# src/PythonAddons/macros/importParameters/importParameters.txt
# src/PythonAddons/macros/importParameters/widget.xml
# src/SHAPERGUI/SHAPERGUI_msg_fr.ts
# src/XGUI/XGUI_msg_fr.ts

4 years agoIssue #3047: Rollback modifications dedicated to property panel performance
vsv [Tue, 19 Nov 2019 15:01:05 +0000 (18:01 +0300)]
Issue #3047: Rollback modifications dedicated to property panel performance

4 years agoIssue #18096(Tuleap): Make property panel controls on a scroll panel based
vsv [Mon, 18 Nov 2019 14:33:12 +0000 (17:33 +0300)]
Issue #18096(Tuleap): Make property panel controls on a scroll panel based

4 years agoFix for the issue #3081 : show free points must not show projected/external points
mpv [Mon, 18 Nov 2019 09:30:14 +0000 (12:30 +0300)]
Fix for the issue #3081 : show free points must not show projected/external points

4 years agoTask #3079 3.5 Build/Vertex on a whole Sketch
jfa [Fri, 15 Nov 2019 12:43:33 +0000 (15:43 +0300)]
Task #3079 3.5 Build/Vertex on a whole Sketch

4 years agoIssue #18095 (Tuleap): Update viewer after change expression mode
vsv [Wed, 13 Nov 2019 14:31:53 +0000 (17:31 +0300)]
Issue #18095 (Tuleap): Update viewer after change expression mode

4 years agoIssue #2185: Fix bug with negative values for color scale
vsv [Mon, 11 Nov 2019 14:27:24 +0000 (17:27 +0300)]
Issue #2185: Fix bug with negative values for color scale

4 years agoIssue #17958: Sketch displayed in edit mode after sketch feature has been closed
vsv [Mon, 11 Nov 2019 13:25:54 +0000 (16:25 +0300)]
Issue #17958: Sketch displayed in edit mode after sketch feature has been closed

4 years agoIssue #17962: SIGSEGV when selecting faces with filter Belongs to
azv [Mon, 11 Nov 2019 12:02:50 +0000 (15:02 +0300)]
Issue #17962: SIGSEGV when selecting faces with filter Belongs to

Avoid selection of construction entities in the filter "Belongs To"

4 years agoTasks #3016 and #3015: 'through all' mode. Added documentation and translations.
jfa [Thu, 7 Nov 2019 11:30:46 +0000 (14:30 +0300)]
Tasks #3016 and #3015: 'through all' mode. Added documentation and translations.

4 years agoIcons for "Through All"
azv [Thu, 7 Nov 2019 07:41:10 +0000 (10:41 +0300)]
Icons for "Through All"

4 years agoRestore translations
vsv [Wed, 6 Nov 2019 10:29:22 +0000 (13:29 +0300)]
Restore translations

4 years agoProvide selection of features for invisible objects
vsv [Wed, 9 Oct 2019 08:53:51 +0000 (11:53 +0300)]
Provide selection of features for invisible objects

4 years agoIssue #17924: filter F5 on geometry for faces
azv [Fri, 1 Nov 2019 09:35:47 +0000 (12:35 +0300)]
Issue #17924: filter F5 on geometry for faces

Extend comparison of underlying geometry to surfaces of extrusion and revolution to work correctly on elliptical arcs.

4 years agoIssue #2924: Disable Delete command for sub-shapes of comp-solids
vsv [Fri, 1 Nov 2019 08:45:11 +0000 (11:45 +0300)]
Issue #2924: Disable Delete command for sub-shapes of comp-solids

4 years agoAdded a unit-test for the issue #17917
mpv [Thu, 31 Oct 2019 16:14:51 +0000 (19:14 +0300)]
Added a unit-test for the issue #17917

4 years agoFix for the issue #3076 previous commit regression
mpv [Thu, 31 Oct 2019 15:42:39 +0000 (18:42 +0300)]
Fix for the issue #3076 previous commit regression

4 years agoFix for the issue #17917 Error during export to GEOM of a PartSet with groups
mpv [Thu, 31 Oct 2019 15:23:09 +0000 (18:23 +0300)]
Fix for the issue #17917 Error during export to GEOM of a PartSet with groups

The problem was related to the Placement of parts feature - it adds additional transformation to all results and groups.

4 years agoFix for the issue #3076 ExportToGEOM: Fatal error SWIG director method error
mpv [Thu, 31 Oct 2019 13:16:32 +0000 (16:16 +0300)]
Fix for the issue #3076 ExportToGEOM: Fatal error SWIG director method error

4 years agoIssue #2920: Concealment into multi-level Compounds
azv [Thu, 31 Oct 2019 10:17:01 +0000 (13:17 +0300)]
Issue #2920: Concealment into multi-level Compounds

Improve hierarchy of the result.

4 years agoIssue #3075: Fix crash on filter deletion
vsv [Thu, 31 Oct 2019 10:10:15 +0000 (13:10 +0300)]
Issue #3075: Fix crash on filter deletion

4 years agoFix for the issue #17909 : EDF - Problem of fillet
mpv [Thu, 31 Oct 2019 09:41:45 +0000 (12:41 +0300)]
Fix for the issue #17909 : EDF - Problem of fillet

4 years agoIssue #3074: SIGSEGV when changing sketch plane
azv [Wed, 30 Oct 2019 10:40:10 +0000 (13:40 +0300)]
Issue #3074: SIGSEGV when changing sketch plane

Do not update the presentation if plane is not selected yet.

4 years agoAdjust test case to avoid instability.
azv [Mon, 28 Oct 2019 12:54:36 +0000 (15:54 +0300)]
Adjust test case to avoid instability.

4 years agoUpdate Viewer after hiding of Objects
vsv [Mon, 28 Oct 2019 09:09:35 +0000 (12:09 +0300)]
Update Viewer after hiding of Objects

4 years agoIncrease code coverage for the FiltersPlugin.
azv [Wed, 23 Oct 2019 05:52:56 +0000 (08:52 +0300)]
Increase code coverage for the FiltersPlugin.

4 years agoAdjust test case to avoid instability.
azv [Tue, 22 Oct 2019 05:49:41 +0000 (08:49 +0300)]
Adjust test case to avoid instability.

4 years agoIssue #2971: Naming issue in a group when loading a dump file
azv [Mon, 21 Oct 2019 08:02:46 +0000 (11:02 +0300)]
Issue #2971: Naming issue in a group when loading a dump file

* Make "ParentFeature" attribute the last for all Sketch entities for backward compatibility.
* Add new HDF test to check the dumping to Python works.

4 years agoIssue #3052: Conflicting constraint after trim ellipse
azv [Fri, 18 Oct 2019 12:36:35 +0000 (15:36 +0300)]
Issue #3052: Conflicting constraint after trim ellipse

Prefer make coincident the boundary of the trimmed feature with an edge instead of point, because it decreases only 1 DoF.

4 years agoIssue #3046: Correct misprint
vsv [Fri, 18 Oct 2019 11:50:31 +0000 (14:50 +0300)]
Issue #3046: Correct misprint

4 years agoFix for the issue #17867 : ExtrusionCut doesn't work
mpv [Thu, 17 Oct 2019 16:12:45 +0000 (19:12 +0300)]
Fix for the issue #17867 : ExtrusionCut doesn't work

Allow to select start point of an arc even due to the 2D->3D conversion produces 3.e-7 error in coordinates.

4 years agoIssue #3055: Fatal error when setting angle
azv [Thu, 17 Oct 2019 12:04:30 +0000 (15:04 +0300)]
Issue #3055: Fatal error when setting angle

Improve calculation of flyout point position to avoid the crash.

4 years agoHDF tests: close current SALOME session by the port instead of closing all SALOME...
azv [Thu, 17 Oct 2019 10:37:35 +0000 (13:37 +0300)]
HDF tests: close current SALOME session by the port instead of closing all SALOME entities (issue #3051).

4 years agoIssue #3044: Undo list contains empty string for Load python script
azv [Thu, 17 Oct 2019 09:42:23 +0000 (12:42 +0300)]
Issue #3044: Undo list contains empty string for Load python script

Improve indexation (do not take into account the empty transactions).

4 years agoRevert "Issue #3044: Undo list contains empty string for Load python script"
azv [Thu, 17 Oct 2019 09:01:37 +0000 (12:01 +0300)]
Revert "Issue #3044: Undo list contains empty string for Load python script"

This reverts commit b82b4aecbd6ccaebeafbf409b8da515e4fea2543.

4 years agoSuppress Test checkPythonDump for macro feature
NATHALIE GORE [Thu, 17 Oct 2019 06:43:11 +0000 (08:43 +0200)]
Suppress Test checkPythonDump for macro feature

4 years agoUpdate for macros NGO
NATHALIE GORE [Wed, 16 Oct 2019 09:06:54 +0000 (11:06 +0200)]
Update for macros NGO

4 years agoIssue #3044: Undo list contains empty string for Load python script
azv [Thu, 17 Oct 2019 06:49:01 +0000 (09:49 +0300)]
Issue #3044: Undo list contains empty string for Load python script

Clear the Undo list when Python script is loaded.

4 years agoAvoid regressions after fix issue #3049.
azv [Thu, 17 Oct 2019 05:31:26 +0000 (08:31 +0300)]
Avoid regressions after fix issue #3049.

4 years agoOne more additional fix for '#17858 Many ctest errors in SHAPER' issue
rnv [Wed, 16 Oct 2019 13:55:21 +0000 (16:55 +0300)]
One more additional fix for '#17858 Many ctest errors in SHAPER' issue

4 years agoAdditional fix for '#17858 Many ctest errors in SHAPER' issue
rnv [Wed, 16 Oct 2019 13:37:08 +0000 (16:37 +0300)]
Additional fix for '#17858 Many ctest errors in SHAPER' issue

4 years agoIssue #3048: Fatal error when create group using filter without argument
azv [Wed, 16 Oct 2019 11:28:07 +0000 (14:28 +0300)]
Issue #3048: Fatal error when create group using filter without argument

4 years agoIssue #3049: Create arc Perpendicular to a straight edge mode - impossible to create...
azv [Wed, 16 Oct 2019 11:13:50 +0000 (14:13 +0300)]
Issue #3049: Create arc Perpendicular to a straight edge mode - impossible to create sequence of arcs

4 years agoIssue #2998: Add help description for automatic creation of constraints
vsv [Wed, 16 Oct 2019 10:13:19 +0000 (13:13 +0300)]
Issue #2998: Add help description for automatic creation of constraints

4 years agoFix for '#17858 Many ctest errors in SHAPER' issue
rnv [Wed, 16 Oct 2019 09:10:33 +0000 (12:10 +0300)]
Fix for '#17858 Many ctest errors in SHAPER' issue

4 years agoIssue #3044: Undo list contains empty string for Load python script
azv [Wed, 16 Oct 2019 08:55:08 +0000 (11:55 +0300)]
Issue #3044: Undo list contains empty string for Load python script

* Set name for each transaction as "Operation_N"
* Improve dumping to Python to avoid odd call of "model.do()" right before "model.end()" which cause an additional empty transaction.

4 years agoIssue #3041: SIGSEGV when changing sketch plane
azv [Wed, 16 Oct 2019 07:24:34 +0000 (10:24 +0300)]
Issue #3041: SIGSEGV when changing sketch plane

Update direction for horizontal/vertical distance.

4 years agoIssue #3043: Wrong behaviour of selection by filter in a second group
azv [Wed, 16 Oct 2019 06:33:57 +0000 (09:33 +0300)]
Issue #3043: Wrong behaviour of selection by filter in a second group

Initialize the type of selection list with the default value if empty.

4 years agoIssue #3041: prevent crash on change sketch plane
vsv [Tue, 15 Oct 2019 15:10:48 +0000 (18:10 +0300)]
Issue #3041: prevent crash on change sketch plane

4 years agoFix for the problem of the nightly unit-tests performance.
mpv [Mon, 14 Oct 2019 12:22:36 +0000 (15:22 +0300)]
Fix for the problem of the nightly unit-tests performance.

4 years agoFix for the issue [CEA 17771] SHAPER and KERNEL concurrent salome/__init__.py : remov...
mpv [Mon, 14 Oct 2019 07:17:43 +0000 (10:17 +0300)]
Fix for the issue [CEA 17771] SHAPER and KERNEL concurrent salome/__init__.py : remove __init__.py from the root importing directory of the python of SHAPER.

4 years agoFix for the issue #3033: ExtrusionCut error
mpv [Fri, 11 Oct 2019 07:12:01 +0000 (10:12 +0300)]
Fix for the issue #3033: ExtrusionCut error

If the result of cut is a whole result, don't call PaveFiller which provides an error if there is only one simple argument.

4 years agoFix instability of "plug.py" model.
azv [Thu, 10 Oct 2019 12:40:18 +0000 (15:40 +0300)]
Fix instability of "plug.py" model.

4 years agoAvoid instability in unit-test for Distance constraint applied to Ellipse feature.
azv [Thu, 10 Oct 2019 12:37:51 +0000 (15:37 +0300)]
Avoid instability in unit-test for Distance constraint applied to Ellipse feature.

4 years agoRemove French translations
vsv [Thu, 10 Oct 2019 12:23:32 +0000 (15:23 +0300)]
Remove French translations

4 years agoDo not use feature for getting result.
vsv [Thu, 10 Oct 2019 06:07:19 +0000 (09:07 +0300)]
Do not use feature for getting result.

4 years agoAdjust test case to avoid instability on CentOS 6.
azv [Thu, 10 Oct 2019 05:13:22 +0000 (08:13 +0300)]
Adjust test case to avoid instability on CentOS 6.

4 years agoTask 2.12. New entities: ellipses and arcs of ellipses (issue #3003)
azv [Mon, 7 Oct 2019 13:47:57 +0000 (16:47 +0300)]
Task 2.12. New entities: ellipses and arcs of ellipses (issue #3003)

Improve code coverage.

4 years agoA chamfer test is added to the unit-tests system.
mpv [Thu, 3 Oct 2019 08:03:54 +0000 (11:03 +0300)]
A chamfer test is added to the unit-tests system.

4 years agoFixing the coding rules issues.
mpv [Wed, 2 Oct 2019 10:51:12 +0000 (13:51 +0300)]
Fixing the coding rules issues.

4 years agoUpdate for documentation and some fixes
NATHALIE GORE [Tue, 1 Oct 2019 13:24:48 +0000 (15:24 +0200)]
Update for documentation and some fixes

4 years agoUpdate icon
NATHALIE GORE [Fri, 30 Aug 2019 13:20:16 +0000 (15:20 +0200)]
Update icon

4 years agoFix for icons
NATHALIE GORE [Thu, 29 Aug 2019 09:15:14 +0000 (11:15 +0200)]
Fix for icons

4 years agoSome modifs to edit macro
NATHALIE GORE [Tue, 27 Aug 2019 13:21:27 +0000 (15:21 +0200)]
Some modifs to edit macro

4 years agoAdded removeFolder high level API level and make folders correctly refreshed in the...
mpv [Fri, 23 Aug 2019 12:34:52 +0000 (15:34 +0300)]
Added removeFolder high level API level and make folders correctly refreshed in the Object Browser even without transaction end.

4 years agoUpdate pour separator
NATHALIE GORE [Wed, 21 Aug 2019 08:41:33 +0000 (10:41 +0200)]
Update pour separator

4 years agoModify for Macro importParameters
NATHALIE GORE [Tue, 20 Aug 2019 09:23:39 +0000 (11:23 +0200)]
Modify for Macro importParameters

4 years agoModify for Macro
NATHALIE GORE [Tue, 20 Aug 2019 09:22:11 +0000 (11:22 +0200)]
Modify for Macro

4 years agoAdd field in macro
NATHALIE GORE [Mon, 19 Aug 2019 14:49:57 +0000 (16:49 +0200)]
Add field in macro

4 years agoAdd workaround for compoundVertices
NATHALIE GORE [Tue, 13 Aug 2019 08:55:17 +0000 (10:55 +0200)]
Add workaround for compoundVertices

4 years agoFix importParameters plugin
NATHALIE GORE [Fri, 9 Aug 2019 14:03:12 +0000 (16:03 +0200)]
Fix importParameters plugin

4 years agoFix compoundVertices and adding list of parameters
NATHALIE GORE [Fri, 9 Aug 2019 13:30:16 +0000 (15:30 +0200)]
Fix compoundVertices and adding list of parameters

4 years agoAdding some macros : compound of vertices
NATHALIE GORE [Thu, 8 Aug 2019 14:18:25 +0000 (16:18 +0200)]
Adding some macros : compound of vertices

4 years agoChange icons for chamfer
Clarisse GENRAULT - DEN/DANS/DM2S/STMF/LGLS - 2012/10/01 [Wed, 2 Oct 2019 05:27:33 +0000 (07:27 +0200)]
Change icons for chamfer

4 years ago Add unit tests for chamfer
Clarisse Genrault [Fri, 13 Sep 2019 05:49:18 +0000 (07:49 +0200)]
 Add unit tests for chamfer

4 years agoDebug Chamfer
Clarisse Genrault [Thu, 12 Sep 2019 08:12:01 +0000 (10:12 +0200)]
Debug Chamfer

4 years agoAdding online help for chamfer
Clarisse Genrault [Wed, 11 Sep 2019 14:04:39 +0000 (16:04 +0200)]
Adding online help for chamfer

4 years agoDebug : delete a print
Clarisse Genrault [Wed, 11 Sep 2019 14:02:38 +0000 (16:02 +0200)]
Debug : delete a print

4 years agoAdd icons for chamfer feature
Clarisse Genrault [Wed, 11 Sep 2019 14:02:05 +0000 (16:02 +0200)]
Add icons for chamfer feature

4 years agoAdd Chamfer feature
Clarisse Genrault [Wed, 11 Sep 2019 07:28:48 +0000 (09:28 +0200)]
Add Chamfer feature

4 years agoIssue #3058: Avoid recursive call of object redisplay
vsv [Wed, 6 Nov 2019 07:40:33 +0000 (10:40 +0300)]
Issue #3058: Avoid recursive call of object redisplay

4 years agoIssue #17924: filter F5 on geometry for faces
azv [Fri, 1 Nov 2019 09:35:47 +0000 (12:35 +0300)]
Issue #17924: filter F5 on geometry for faces

Extend comparison of underlying geometry to surfaces of extrusion and revolution to work correctly on elliptical arcs.

4 years agoIssue #2924: Disable Delete command for sub-shapes of comp-solids
vsv [Fri, 1 Nov 2019 08:45:11 +0000 (11:45 +0300)]
Issue #2924: Disable Delete command for sub-shapes of comp-solids

4 years agoAdded a unit-test for the issue #17917
mpv [Thu, 31 Oct 2019 16:14:51 +0000 (19:14 +0300)]
Added a unit-test for the issue #17917

4 years agoFix for the issue #3076 previous commit regression
mpv [Thu, 31 Oct 2019 15:42:39 +0000 (18:42 +0300)]
Fix for the issue #3076 previous commit regression

4 years agoFix for the issue #17917 Error during export to GEOM of a PartSet with groups
mpv [Thu, 31 Oct 2019 15:23:09 +0000 (18:23 +0300)]
Fix for the issue #17917 Error during export to GEOM of a PartSet with groups

The problem was related to the Placement of parts feature - it adds additional transformation to all results and groups.

4 years agoFix for the issue #3076 ExportToGEOM: Fatal error SWIG director method error
mpv [Thu, 31 Oct 2019 13:16:32 +0000 (16:16 +0300)]
Fix for the issue #3076 ExportToGEOM: Fatal error SWIG director method error

4 years agoIssue #2920: Concealment into multi-level Compounds
azv [Thu, 31 Oct 2019 10:17:01 +0000 (13:17 +0300)]
Issue #2920: Concealment into multi-level Compounds

Improve hierarchy of the result.

4 years agoIssue #3075: Fix crash on filter deletion
vsv [Thu, 31 Oct 2019 10:10:15 +0000 (13:10 +0300)]
Issue #3075: Fix crash on filter deletion

4 years agoFix for the issue #17909 : EDF - Problem of fillet
mpv [Thu, 31 Oct 2019 09:41:45 +0000 (12:41 +0300)]
Fix for the issue #17909 : EDF - Problem of fillet

4 years agoIssue #3074: SIGSEGV when changing sketch plane
azv [Wed, 30 Oct 2019 10:40:10 +0000 (13:40 +0300)]
Issue #3074: SIGSEGV when changing sketch plane

Do not update the presentation if plane is not selected yet.

4 years agoAdjust test case to avoid instability.
azv [Mon, 28 Oct 2019 12:54:36 +0000 (15:54 +0300)]
Adjust test case to avoid instability.

4 years agoTask #3015 3.1. To add a mode 'through all' for features ExtrusionCut and ExtrusionFuse
jfa [Mon, 28 Oct 2019 11:51:31 +0000 (14:51 +0300)]
Task #3015 3.1. To add a mode 'through all' for features ExtrusionCut and ExtrusionFuse

4 years agoUpdate Viewer after hiding of Objects
vsv [Mon, 28 Oct 2019 09:09:35 +0000 (12:09 +0300)]
Update Viewer after hiding of Objects

4 years agoIncrease code coverage for the FiltersPlugin.
azv [Wed, 23 Oct 2019 05:52:56 +0000 (08:52 +0300)]
Increase code coverage for the FiltersPlugin.

4 years agoAdjust test case to avoid instability.
azv [Tue, 22 Oct 2019 05:49:41 +0000 (08:49 +0300)]
Adjust test case to avoid instability.

4 years agoIssue #2971: Naming issue in a group when loading a dump file
azv [Mon, 21 Oct 2019 08:02:46 +0000 (11:02 +0300)]
Issue #2971: Naming issue in a group when loading a dump file

* Make "ParentFeature" attribute the last for all Sketch entities for backward compatibility.
* Add new HDF test to check the dumping to Python works.

4 years agoIssue #3052: Conflicting constraint after trim ellipse
azv [Fri, 18 Oct 2019 12:36:35 +0000 (15:36 +0300)]
Issue #3052: Conflicting constraint after trim ellipse

Prefer make coincident the boundary of the trimmed feature with an edge instead of point, because it decreases only 1 DoF.

4 years agoIssue #3046: Correct misprint
vsv [Fri, 18 Oct 2019 11:50:31 +0000 (14:50 +0300)]
Issue #3046: Correct misprint