Salome HOME
modules/shaper.git
3 years agoUse the latest version of SALOME (2020-06-16)
Artem Zhidkov [Tue, 16 Jun 2020 11:22:30 +0000 (14:22 +0300)]
Use the latest version of SALOME (2020-06-16)

3 years agoMeet coding style (fix too long line issue) V9_5_0rc1
Artem Zhidkov [Tue, 16 Jun 2020 06:04:38 +0000 (09:04 +0300)]
Meet coding style (fix too long line issue)

3 years agoIssue #19471: Seg fault if edge for point creation is selected from object browser
Artem Zhidkov [Mon, 15 Jun 2020 20:49:22 +0000 (23:49 +0300)]
Issue #19471: Seg fault if edge for point creation is selected from object browser

Prohibit the selection of a feature when constructing point on edge.

3 years ago#Initial implementation of support of dump and save to hdf in case SHAPER module...
mpv [Mon, 8 Jun 2020 11:51:08 +0000 (14:51 +0300)]
#Initial implementation of support of dump and save to hdf in case SHAPER module was not activated, but script is loaded.
bos #19209 EDF 21531 - General problem of dumping a 9.4.0 study

3 years agoFix failures of the exchange test cases on Windows
Artem Zhidkov [Mon, 15 Jun 2020 13:37:13 +0000 (16:37 +0300)]
Fix failures of the exchange test cases on Windows

4 years agoFix regressions in tests on old versions of GCC (less than 4.9)
Artem Zhidkov [Tue, 9 Jun 2020 17:11:18 +0000 (20:11 +0300)]
Fix regressions in tests on old versions of GCC (less than 4.9)

4 years agoIssue #19187: B-Splines - Crash with specific scenario
Artem Zhidkov [Mon, 8 Jun 2020 07:24:25 +0000 (10:24 +0300)]
Issue #19187: B-Splines - Crash with specific scenario

Fix the regression related to the previous change. Improve the validator of the Tangent constraint.

4 years agoMinor changes in the python script to fix the problem of the python dump check. the...
mpv [Sat, 6 Jun 2020 09:06:57 +0000 (12:06 +0300)]
Minor changes in the python script to fix the problem of the python dump check. the final model is not changed.

4 years agoFix for the issue #19231: Wrong group in SHAPERSTUDY created by GroupSubstraction
mpv [Fri, 5 Jun 2020 13:08:13 +0000 (16:08 +0300)]
Fix for the issue #19231: Wrong group in SHAPERSTUDY created by GroupSubstraction

4 years agoUse the latest version of SALOME (2020-06-05)
Artem Zhidkov [Fri, 5 Jun 2020 11:38:58 +0000 (14:38 +0300)]
Use the latest version of SALOME (2020-06-05)

4 years agoAdjust reference data for test models
Artem Zhidkov [Fri, 5 Jun 2020 10:58:36 +0000 (13:58 +0300)]
Adjust reference data for test models

4 years agoIssue #19187: B-Splines - Crash with specific scenario
Artem Zhidkov [Fri, 5 Jun 2020 10:45:09 +0000 (13:45 +0300)]
Issue #19187: B-Splines - Crash with specific scenario

Prohibit tangency constraint between B-spline curve and its control polygon.

4 years agoAdjust unit test
Artem Zhidkov [Thu, 4 Jun 2020 12:57:04 +0000 (15:57 +0300)]
Adjust unit test

4 years agoAdded a unit-test for #21537 : Dumped file not loadable
mpv [Thu, 4 Jun 2020 12:47:24 +0000 (15:47 +0300)]
Added a unit-test for #21537 : Dumped file not loadable

4 years agoFix for #21537 : Dumped file not loadable
mpv [Thu, 4 Jun 2020 10:51:39 +0000 (13:51 +0300)]
Fix for #21537 : Dumped file not loadable

4 years agoReference data for the new restricted model.
Artem Zhidkov [Wed, 3 Jun 2020 11:22:01 +0000 (14:22 +0300)]
Reference data for the new restricted model.

4 years agoUse fuzzy value within Boolean Operations.
Artem Zhidkov [Wed, 3 Jun 2020 11:21:16 +0000 (14:21 +0300)]
Use fuzzy value within Boolean Operations.

4 years agoIntroduce new model "Visor Support".
Artem Zhidkov [Wed, 3 Jun 2020 06:44:42 +0000 (09:44 +0300)]
Introduce new model "Visor Support".

4 years agoCorrect script for launching SALOME on Windows
Artem Zhidkov [Tue, 2 Jun 2020 19:26:59 +0000 (22:26 +0300)]
Correct script for launching SALOME on Windows

4 years agoIssue #19217: Dumped file not loadable
Artem Zhidkov [Tue, 2 Jun 2020 19:26:16 +0000 (22:26 +0300)]
Issue #19217: Dumped file not loadable

Increase fuzzy value for building the sketch faces.

4 years agoUse the latest version of SALOME (2020-06-02)
Artem Zhidkov [Tue, 2 Jun 2020 10:25:35 +0000 (13:25 +0300)]
Use the latest version of SALOME (2020-06-02)

4 years agoUpdate reference data according to improved behavior of Sketch Projection feature...
Artem Zhidkov [Mon, 1 Jun 2020 10:57:44 +0000 (13:57 +0300)]
Update reference data according to improved behavior of Sketch Projection feature (related to issue #19101)

4 years agoIssue #19207: planes of imported STEP not usable
Artem Zhidkov [Fri, 29 May 2020 20:29:47 +0000 (23:29 +0300)]
Issue #19207: planes of imported STEP not usable

Make linear B-spline surfaces usable as sketch planes or as planar entities for otheroperations.

4 years agoMerge remote-tracking branch 'remotes/origin/occ/19019' into fixes_for_950
Artem Zhidkov [Fri, 29 May 2020 16:30:13 +0000 (19:30 +0300)]
Merge remote-tracking branch 'remotes/origin/occ/19019' into fixes_for_950

4 years agobos #19202: Horizontal distance not displayed
vsv [Fri, 29 May 2020 15:02:05 +0000 (18:02 +0300)]
bos #19202: Horizontal distance not displayed

4 years agoIssue #19019: python dump not loadable occ/19019
Artem Zhidkov [Fri, 29 May 2020 11:24:17 +0000 (14:24 +0300)]
Issue #19019: python dump not loadable

Geometrical selection: search a face, using projection of a point to it. It was done, because for some reasons, parametric boundaries of a face may float from time to time.

4 years agoSplit too long line (more than 100 characters)
Artem Zhidkov [Fri, 29 May 2020 06:07:50 +0000 (09:07 +0300)]
Split too long line (more than 100 characters)

4 years agoMerge branch 'occ/19019' into fixes_for_950
Artem Zhidkov [Fri, 29 May 2020 05:34:44 +0000 (08:34 +0300)]
Merge branch 'occ/19019' into fixes_for_950

4 years agoUpdate reference data according to the new behavior of extrusion (issue #19196)
Artem Zhidkov [Fri, 29 May 2020 05:32:09 +0000 (08:32 +0300)]
Update reference data according to the new behavior of extrusion (issue #19196)

4 years agoIssue #19019: python dump not loadable
Artem Zhidkov [Thu, 28 May 2020 20:46:15 +0000 (23:46 +0300)]
Issue #19019: python dump not loadable

Improve geometric selection of a face by using precise calculation of the middle point on the face.

4 years agobos #19090: Problem of selection
vsv [Thu, 28 May 2020 16:41:55 +0000 (19:41 +0300)]
bos #19090: Problem of selection

4 years agoIncrease threshold in Test19115.py due to floating spent time for Fuse and Union...
Artem Zhidkov [Thu, 28 May 2020 12:38:55 +0000 (15:38 +0300)]
Increase threshold in Test19115.py due to floating spent time for Fuse and Union operations.

4 years agoAvoid rotating of 2D coordinates for faces based on sketch elements.
Artem Zhidkov [Thu, 28 May 2020 12:37:27 +0000 (15:37 +0300)]
Avoid rotating of 2D coordinates for faces based on sketch elements.

4 years agoIssue #19196: Features in error after a change of parameter in a sketch although...
Artem Zhidkov [Thu, 28 May 2020 08:48:48 +0000 (11:48 +0300)]
Issue #19196: Features in error after a change of parameter in a sketch although the topology is the same

Stabilize the orientation of extrusion built on a wire.

4 years agobos #19197 + issue #3245: Set size of sketch plane without modification of selection...
vsv [Thu, 28 May 2020 09:28:36 +0000 (12:28 +0300)]
bos #19197 + issue #3245: Set size of sketch plane without modification of selection attribute

4 years agoIssue #19190: group filter "on a solid"
Artem Zhidkov [Wed, 27 May 2020 19:13:30 +0000 (22:13 +0300)]
Issue #19190: group filter "on a solid"

Improve classifier algorithm for the faces with holes.

4 years agobos #19137: Set purple color for projected lines
vsv [Wed, 27 May 2020 16:06:00 +0000 (19:06 +0300)]
bos #19137: Set purple color for projected lines

4 years agobos #17910: Filters can only be used once
vsv [Wed, 27 May 2020 15:47:56 +0000 (18:47 +0300)]
bos #17910: Filters can only be used once

4 years agobos #19184: Objects are still selected when a feature has been applied
vsv [Wed, 27 May 2020 13:37:45 +0000 (16:37 +0300)]
bos #19184: Objects are still selected when a feature has been applied

4 years agobos #19181: Result appears when creating a parameter in the sketch
vsv [Wed, 27 May 2020 09:15:23 +0000 (12:15 +0300)]
bos #19181: Result appears when creating a parameter in the sketch

4 years agobos #19169: Extrusion is previewed although no valid input
vsv [Wed, 27 May 2020 08:10:54 +0000 (11:10 +0300)]
bos #19169: Extrusion is previewed although no valid input

4 years agoMerge remote-tracking branch 'remotes/origin/occ/19115' into fixes_for_950
Artem Zhidkov [Tue, 26 May 2020 16:27:10 +0000 (19:27 +0300)]
Merge remote-tracking branch 'remotes/origin/occ/19115' into fixes_for_950

4 years agobos #19137: Fix sketch dimension color
vsv [Thu, 21 May 2020 16:10:46 +0000 (19:10 +0300)]
bos #19137: Fix sketch dimension color

4 years agoIssue #3254: Exception setting view normal to face
vsv [Thu, 21 May 2020 15:52:30 +0000 (18:52 +0300)]
Issue #3254: Exception setting view normal to face

4 years agoIssue #3247: Unstable sketch
Artem Zhidkov [Thu, 21 May 2020 07:17:06 +0000 (10:17 +0300)]
Issue #3247: Unstable sketch

Do not set flyout point for the Angle constraint right after the user clicked on it. This avoids jumping of a presentation from one sector to another.

4 years agoIssue #3240: Angular Copy is not possible for projected entity
Artem Zhidkov [Wed, 20 May 2020 15:08:10 +0000 (18:08 +0300)]
Issue #3240: Angular Copy is not possible for projected entity

Fix regression appeared on Test2273.py

4 years agoIssue #3255: Access violation deleting parameters
Artem Zhidkov [Wed, 20 May 2020 13:50:14 +0000 (16:50 +0300)]
Issue #3255: Access violation deleting parameters

4 years agoIssue #3254: Exception setting view normal to face
Artem Zhidkov [Wed, 20 May 2020 13:44:53 +0000 (16:44 +0300)]
Issue #3254: Exception setting view normal to face

4 years agoIssue #3241: Filter "On geometry" does not work for non-canonical surfaces
Artem Zhidkov [Wed, 20 May 2020 13:34:04 +0000 (16:34 +0300)]
Issue #3241: Filter "On geometry" does not work for non-canonical surfaces

Improve checking of faces on the same underlying surface.

4 years agoIssue #3242: Access violation on collinearity
Artem Zhidkov [Wed, 20 May 2020 12:49:22 +0000 (15:49 +0300)]
Issue #3242: Access violation on collinearity

Fix shape type validator.

4 years agoIssue #3240: Angular Copy is not possible for projected entity
Artem Zhidkov [Wed, 20 May 2020 11:09:41 +0000 (14:09 +0300)]
Issue #3240: Angular Copy is not possible for projected entity

Fix validator related to copy features: additional check if the original feature is already a copy after an other operation.

4 years agoCosmetic changes in the documentation
Artem Zhidkov [Wed, 20 May 2020 09:43:06 +0000 (12:43 +0300)]
Cosmetic changes in the documentation

4 years agoIssue #19114: complete documentation of boolean operations
Artem Zhidkov [Wed, 20 May 2020 08:40:22 +0000 (11:40 +0300)]
Issue #19114: complete documentation of boolean operations

* Improve the documentation of Boolean Operations.
* Clarify the arguments of each operation.

4 years agoOptimize Boolean Fuse for the union of sub-solids of compsolid. occ/19115
Artem Zhidkov [Tue, 19 May 2020 12:55:07 +0000 (15:55 +0300)]
Optimize Boolean Fuse for the union of sub-solids of compsolid.

4 years agoIncrement version: 9.5
vsr [Tue, 19 May 2020 11:11:24 +0000 (14:11 +0300)]
Increment version: 9.5

4 years agoMake filter "On line" applicable to use axis as an argument.
Artem Zhidkov [Tue, 19 May 2020 04:38:54 +0000 (07:38 +0300)]
Make filter "On line" applicable to use axis as an argument.

4 years agoFix compilation warning.
Artem Zhidkov [Tue, 19 May 2020 04:27:15 +0000 (07:27 +0300)]
Fix compilation warning.

4 years agoMake Union feature non-visible from GUI.
Artem Zhidkov [Mon, 18 May 2020 14:11:28 +0000 (17:11 +0300)]
Make Union feature non-visible from GUI.

4 years agoIssue #19094: Non-translation of filters on groups in SHAPER V9_5_0b1
Artem Zhidkov [Mon, 18 May 2020 14:02:52 +0000 (17:02 +0300)]
Issue #19094: Non-translation of filters on groups in SHAPER

4 years agoCosmetics. Move XML files to the separate folder inside a corresponding project in VS.
Artem Zhidkov [Mon, 18 May 2020 06:16:39 +0000 (09:16 +0300)]
Cosmetics. Move XML files to the separate folder inside a corresponding project in VS.

4 years agoMerge remote-tracking branch 'remotes/origin/occ/eliminateWarnings'
Artem Zhidkov [Mon, 18 May 2020 03:23:20 +0000 (06:23 +0300)]
Merge remote-tracking branch 'remotes/origin/occ/eliminateWarnings'

4 years agoIssue 19101: Sketch in error when running a dumped study
Artem Zhidkov [Sun, 17 May 2020 20:35:53 +0000 (23:35 +0300)]
Issue 19101: Sketch in error when running a dumped study

Eliminate projection of a point lying in the same sketch.

4 years agoRemove unused variables. occ/eliminateWarnings
Artem Zhidkov [Sun, 17 May 2020 19:50:04 +0000 (22:50 +0300)]
Remove unused variables.

4 years agoGet rid of compilation warnings. Part III. Eliminate rest of warnings.
Artem Zhidkov [Sun, 17 May 2020 19:09:12 +0000 (22:09 +0300)]
Get rid of compilation warnings. Part III. Eliminate rest of warnings.

4 years agoFix hang up on unit tests
Artem Zhidkov [Sun, 17 May 2020 11:07:57 +0000 (14:07 +0300)]
Fix hang up on unit tests

4 years agoGet rid of compilation warnings. Part II. MSVC warnings.
Artem Zhidkov [Sat, 16 May 2020 21:11:54 +0000 (00:11 +0300)]
Get rid of compilation warnings. Part II. MSVC warnings.

4 years agoIssue #19068: Unable to quit Sketch because of conflicting constraint
Artem Zhidkov [Fri, 15 May 2020 13:11:04 +0000 (16:11 +0300)]
Issue #19068: Unable to quit Sketch because of conflicting constraint

Recompute sketch DoF on load of the document even if the sketch is failed.

4 years agoFix compilation error.
Artem Zhidkov [Fri, 15 May 2020 12:36:50 +0000 (15:36 +0300)]
Fix compilation error.

4 years agoMeet coding style (fix lines longer than 100)
Artem Zhidkov [Fri, 15 May 2020 12:05:02 +0000 (15:05 +0300)]
Meet coding style (fix lines longer than 100)

4 years agoIssue #3243: Abort active operation in case of Undo as a part of Undo command.
vsv [Fri, 15 May 2020 11:44:02 +0000 (14:44 +0300)]
Issue #3243: Abort active operation in case of Undo as a part of Undo command.

4 years agoGet rid of compilation warnings. Part I.
Artem Zhidkov [Thu, 14 May 2020 12:39:41 +0000 (15:39 +0300)]
Get rid of compilation warnings. Part I.

4 years agoIssue #3245: Use plane objects on selection of a Sketcher plane as an abstract plane...
vsv [Fri, 15 May 2020 09:28:47 +0000 (12:28 +0300)]
Issue #3245: Use plane objects on selection of a Sketcher plane as an abstract  plane (like colored ones)

4 years agoIssue #3250: Adapt a list of parameters to a width of parameter strings
vsv [Thu, 14 May 2020 15:47:30 +0000 (18:47 +0300)]
Issue #3250: Adapt a list of parameters to a width of parameter strings

4 years agoIssue #3224: Provide help button for feature dialog boxes
vsv [Thu, 14 May 2020 15:03:38 +0000 (18:03 +0300)]
Issue #3224: Provide help button for feature dialog boxes

4 years agoFix for the problem of referencing to the attributes by pointers in messages. It...
mpv [Thu, 14 May 2020 08:30:38 +0000 (11:30 +0300)]
Fix for the problem of referencing to the attributes by pointers in messages. It caused crashes sometimes, for an example, in TestExport_FiniteValidator.py execution.

4 years agoIssue #19058: Error in sketch projection when changing parameter
Artem Zhidkov [Wed, 13 May 2020 16:04:04 +0000 (19:04 +0300)]
Issue #19058: Error in sketch projection when changing parameter

Fix crash on Linux, when loading HDF then changing parameter

4 years agobos #19068: Unable to quit Sketch because of conflicting constraint
vsv [Thu, 14 May 2020 07:41:04 +0000 (10:41 +0300)]
bos #19068: Unable to quit Sketch because of conflicting constraint

4 years agobos #19088: Preselection of the origin point is not very distinguishable
vsv [Wed, 13 May 2020 12:55:22 +0000 (15:55 +0300)]
bos #19088: Preselection of the origin point is not very distinguishable

4 years agoRevert "Adjust unit test reference data according to the new behavior."
Artem Zhidkov [Wed, 13 May 2020 12:25:22 +0000 (15:25 +0300)]
Revert "Adjust unit test reference data according to the new behavior."

This reverts commit 1a16b95e15a4e0f71661ea89ce6ce6f7e73bd169.

4 years agoIssue #19065: Wrong result in Pipe by locations
Artem Zhidkov [Wed, 13 May 2020 12:19:36 +0000 (15:19 +0300)]
Issue #19065: Wrong result in Pipe by locations

Improve positioning of the pipe path when build pipe on wires.

4 years agoFix the compilation error by reverting "Fix crashes in unit-tests related to incorrec...
Artem Zhidkov [Wed, 13 May 2020 06:30:43 +0000 (09:30 +0300)]
Fix the compilation error by reverting "Fix crashes in unit-tests related to incorrect message processing from Python." and making the conversion of messages without shared_ptr.

This reverts commit da6063794500a9eef94e628e40d9155f55cbf3f7.

4 years agoFix crashes in unit-tests related to incorrect message processing from Python.
Artem Zhidkov [Tue, 12 May 2020 21:16:58 +0000 (00:16 +0300)]
Fix crashes in unit-tests related to incorrect message processing from Python.

4 years agoSet the highest level of compilation warnings.
Artem Zhidkov [Tue, 12 May 2020 06:06:37 +0000 (09:06 +0300)]
Set the highest level of compilation warnings.

4 years agoFix obvious warnings
Artem Zhidkov [Tue, 12 May 2020 06:06:12 +0000 (09:06 +0300)]
Fix obvious warnings

4 years agoFix too long line error (meet coding style).
Artem Zhidkov [Sun, 10 May 2020 20:40:51 +0000 (23:40 +0300)]
Fix too long line error (meet coding style).

4 years agoIssue #19058: Error in sketch projection when changing parameter
Artem Zhidkov [Sat, 9 May 2020 19:57:55 +0000 (22:57 +0300)]
Issue #19058: Error in sketch projection when changing parameter

Provide the backward compatibility of selection mechanism.

4 years agoUse the latest version of SALOME (2020-05-08)
Artem Zhidkov [Fri, 8 May 2020 20:19:58 +0000 (23:19 +0300)]
Use the latest version of SALOME (2020-05-08)

4 years agoAdjust unit test reference data according to the new behavior.
Artem Zhidkov [Fri, 8 May 2020 20:18:28 +0000 (23:18 +0300)]
Adjust unit test reference data according to the new behavior.

4 years agoIssue #19058: Error in sketch projection when changing parameter
Artem Zhidkov [Fri, 8 May 2020 14:05:38 +0000 (17:05 +0300)]
Issue #19058: Error in sketch projection when changing parameter

Improve weak naming indexing mechanism for stable enumeration of subshapes.

4 years agoIssue #19063: Recover compound choice not saved
Artem Zhidkov [Fri, 8 May 2020 11:24:13 +0000 (14:24 +0300)]
Issue #19063: Recover compound choice not saved

Set the default value of the Recover method in case of it is not initialized yet only.

4 years agoIssue #19089: Sketch contour closed in hdf but not closed in python dump
Artem Zhidkov [Thu, 7 May 2020 14:31:54 +0000 (17:31 +0300)]
Issue #19089: Sketch contour closed in hdf but not closed in python dump

Set fuzzy value for Boolean Operation when creating a sketch faces due to the tolerance up to 1e-5 of the sketch result, when PlaneGCS solves a sketch with arcs.

4 years agoIssue #19066: SIGSEGV in pipe by section
Artem Zhidkov [Thu, 7 May 2020 08:08:14 +0000 (11:08 +0300)]
Issue #19066: SIGSEGV in pipe by section

* Avoid crash in Pipe algorithm
* Remove duplicating edges when construct a wire

4 years agoDocumentation: eliminate warnings
Artem Zhidkov [Thu, 7 May 2020 07:29:32 +0000 (10:29 +0300)]
Documentation: eliminate warnings

4 years agoOptimization of the neighbors selection in the issue #19071 : Selecting edges to...
mpv [Thu, 7 May 2020 07:26:30 +0000 (10:26 +0300)]
Optimization of the neighbors selection in the issue #19071 :  Selecting edges to create group takes too much time

4 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/shaper
mpv [Thu, 7 May 2020 07:23:39 +0000 (10:23 +0300)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/shaper

4 years agoStabilize the fix for the issue #19039 Can't select solids to create a compound
mpv [Thu, 7 May 2020 07:22:27 +0000 (10:22 +0300)]
Stabilize the fix for the issue #19039 Can't select solids to create a compound

and the issue #19019 Python dump not loadable

4 years agoMerge remote-tracking branch 'remotes/origin/vsr/18858'
Artem Zhidkov [Thu, 7 May 2020 05:40:38 +0000 (08:40 +0300)]
Merge remote-tracking branch 'remotes/origin/vsr/18858'

4 years agoDocumentation: use 'figure' instead of 'image'; improve caption layout; fix warnings. vsr/18858
Artem Zhidkov [Wed, 6 May 2020 12:02:45 +0000 (15:02 +0300)]
Documentation: use 'figure' instead of 'image'; improve caption layout; fix warnings.

4 years agobos #19086: Do not clear pre-highlighting on selection of a sketcher object
vsv [Wed, 6 May 2020 18:47:22 +0000 (21:47 +0300)]
bos #19086: Do not clear pre-highlighting on selection of a sketcher object

4 years agoAnother fix for the issue #19039 Can't select solids to create a compound
mpv [Wed, 6 May 2020 16:21:37 +0000 (19:21 +0300)]
Another fix for the issue #19039 Can't select solids to create a compound

and the issue #19019 Python dump not loadable