Salome HOME
modules/shaper.git
3 years agoTask #3235: Projection without link to source shape
Artem Zhidkov [Thu, 2 Jul 2020 11:06:46 +0000 (14:06 +0300)]
Task #3235: Projection without link to source shape

* Improve the Projection feature by an option to break the link with the original shape.
* Update unit-tests for ellipse's projection, because of solved OCCT issue #31016.

3 years agoTask #3231: Sketcher Offset of a curve
Artem Zhidkov [Mon, 25 May 2020 12:05:31 +0000 (15:05 +0300)]
Task #3231: Sketcher Offset of a curve

* Implement the feature for the offset operation.
* Improve searching of coincidences in context of B-spline curve
* Decline offset if duplicated entities are selected.

3 years agoIssue #3223: Improve Python dump readability
vsv [Fri, 17 Apr 2020 19:00:30 +0000 (22:00 +0300)]
Issue #3223: Improve Python dump readability

* Add empty lines between features
* Add comments related to the type of features
* Improve dumping of lists
* Fix the wrong script generation if a group contains filters.

3 years agoAdjust unit tests to meet new behavior
Artem Zhidkov [Thu, 2 Jul 2020 17:02:51 +0000 (20:02 +0300)]
Adjust unit tests to meet new behavior

3 years agoTask #3230: Sketcher: create a curve passing through selected points or vertices...
Artem Zhidkov [Tue, 30 Jun 2020 11:02:16 +0000 (14:02 +0300)]
Task #3230: Sketcher: create a curve passing through selected points or vertices of a polyline

Fix crash on reordering the list of points.

3 years agoTask #3230: Sketcher: create a curve passing through selected points or vertices...
Artem Zhidkov [Sun, 28 Jun 2020 11:18:44 +0000 (14:18 +0300)]
Task #3230: Sketcher: create a curve passing through selected points or vertices of a polyline

Unit tests

3 years agoUse the latest version of SALOME (2020-06-16)
Artem Zhidkov [Sat, 27 Jun 2020 19:57:23 +0000 (22:57 +0300)]
Use the latest version of SALOME (2020-06-16)

3 years agoMeet coding style (split lines longer than 100 characters)
Artem Zhidkov [Sat, 27 Jun 2020 17:43:48 +0000 (20:43 +0300)]
Meet coding style (split lines longer than 100 characters)

3 years agoFix bug with width of copy objects
vsv [Fri, 26 Jun 2020 12:54:37 +0000 (15:54 +0300)]
Fix bug with width of copy objects

3 years agoTask #3230: Sketcher: create a curve passing through selected points or vertices...
Artem Zhidkov [Fri, 22 May 2020 16:55:22 +0000 (19:55 +0300)]
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

3 years agoIssue #3222: Update highlighted error points
vsv [Wed, 24 Jun 2020 08:04:56 +0000 (11:04 +0300)]
Issue #3222: Update highlighted error points

3 years agoIssue #3261: Stop processing of the same event from different objects
vsv [Wed, 24 Jun 2020 07:29:33 +0000 (10:29 +0300)]
Issue #3261: Stop processing of the same event from different objects

3 years agoIssue #3222: 1D fillet
vsv [Tue, 23 Jun 2020 14:09:12 +0000 (17:09 +0300)]
Issue #3222: 1D fillet

Send the message about failed vertices when creation method is changed.

3 years agoIssue #3222: 1d fillet
Artem Zhidkov [Wed, 22 Apr 2020 08:55:13 +0000 (11:55 +0300)]
Issue #3222: 1d fillet

* Implement the 1D-fillet feature
* Unit tests for 1D-fillet
* Documentation update.
* Translations to French.
* Additional test cases for filleting several wires at once.
* Stabilize the sequence of fillet results.
* Process failed vertices and send the message to highlight them in 3D viewer.

3 years agoIssue #3193: Clear property panel in case of multi-selection in sketcher.
vsv [Mon, 13 Apr 2020 14:11:52 +0000 (17:11 +0300)]
Issue #3193: Clear property panel in case of multi-selection in sketcher.

3 years agoIssue #3220: Show/Hide sketcher plane
vsv [Mon, 13 Apr 2020 10:30:39 +0000 (13:30 +0300)]
Issue #3220: Show/Hide sketcher plane

3 years agoIssue #3221: Visual separation for features
vsv [Fri, 10 Apr 2020 16:30:57 +0000 (19:30 +0300)]
Issue #3221: Visual separation for features

3 years agoIssue #3217: Create shortcut for edit current item in object browser
vsv [Fri, 10 Apr 2020 12:18:27 +0000 (15:18 +0300)]
Issue #3217:  Create shortcut for edit current item in object browser

3 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 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 agoRevert "Issue #3256: Hang up when displaying the model"
Artem Zhidkov [Wed, 3 Jun 2020 06:24:05 +0000 (09:24 +0300)]
Revert "Issue #3256: Hang up when displaying the model"

This reverts commit 2dfe5620ba85f46b0a9fd1e67726e04dd44bf904.

4 years agoUse the latest version of SALOME (2020-05-28)
Artem Zhidkov [Thu, 28 May 2020 20:51:54 +0000 (23:51 +0300)]
Use the latest version of SALOME (2020-05-28)

4 years agoIssue #3256: Hang up when displaying the model
Artem Zhidkov [Wed, 27 May 2020 13:20:36 +0000 (16:20 +0300)]
Issue #3256: Hang up when displaying the model

Provide a workaround to eliminate the hang up.

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 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

4 years agobos #19038: Display shapes in multithread
vsv [Wed, 6 May 2020 15:09:48 +0000 (18:09 +0300)]
bos #19038: Display shapes in multithread

4 years agoFix for the issue #19039 Can't select solids to create a compound
mpv [Wed, 6 May 2020 13:45:16 +0000 (16:45 +0300)]
Fix for the issue #19039 Can't select solids to create a compound

and the issue #19019 Python dump not loadable

4 years agoIssue #19056: crash when selecting a whole sketch in "build ==> wire"
Artem Zhidkov [Thu, 30 Apr 2020 12:52:02 +0000 (15:52 +0300)]
Issue #19056: crash when selecting a whole sketch in "build ==> wire"

Fix the construction of wire for the whole sketch. When adding a new edge, check it is necessary to merge different wires instead of closing the current wire.

4 years agoImprove doc: classify TUI scripts by plugins
vsr [Thu, 30 Apr 2020 09:13:20 +0000 (12:13 +0300)]
Improve doc: classify TUI scripts by plugins

4 years agoImprove doc layout
vsr [Wed, 29 Apr 2020 15:18:37 +0000 (18:18 +0300)]
Improve doc layout

4 years agoFix reference data in sprocket.py (issue #19049)
Artem Zhidkov [Wed, 29 Apr 2020 16:09:48 +0000 (19:09 +0300)]
Fix reference data in sprocket.py (issue #19049)

4 years agoCorrect documentation bugs, adapt for 'Read The Docs' theme (bos #18858)
vsr [Wed, 29 Apr 2020 07:37:23 +0000 (10:37 +0300)]
Correct documentation bugs, adapt for 'Read The Docs' theme (bos #18858)

4 years agoIssue #19031: python dump not loadable
Artem Zhidkov [Wed, 29 Apr 2020 13:26:51 +0000 (16:26 +0300)]
Issue #19031: python dump not loadable

Support loading names with a lot of "from"/"to" faces in compsolids.

4 years agoAdjust test case. Set correct values (issue #19036)
Artem Zhidkov [Tue, 28 Apr 2020 14:25:11 +0000 (17:25 +0300)]
Adjust test case. Set correct values (issue #19036)

4 years agoIssue #19036: Can't use a parameter with 1e-5 value in the sketcher
Artem Zhidkov [Tue, 28 Apr 2020 12:05:40 +0000 (15:05 +0300)]
Issue #19036: Can't use a parameter with 1e-5 value in the sketcher

Improve calculation of the parameter value. Avoid checking the dot in the floating value.

4 years agoIssue #19031: python dump not loadable
Artem Zhidkov [Mon, 27 Apr 2020 14:35:58 +0000 (17:35 +0300)]
Issue #19031: python dump not loadable

* Fix crash in the Angle constraint presentation if the center of angle is too far.
* Improve naming of the from/to faces of Extrusion in case of ExtrusionFuse with compsolid.

4 years agoIssue #19019: python dump not loadable
Artem Zhidkov [Fri, 24 Apr 2020 13:04:21 +0000 (16:04 +0300)]
Issue #19019: python dump not loadable

Update concealment flag each time the feature is executed when loading python file.

4 years agoFix length of a row
vsv [Mon, 20 Apr 2020 17:20:55 +0000 (20:20 +0300)]
Fix length of a row

4 years agoIssue #19008: Processing of sub-shapes of a complex body with deflection
vsv [Mon, 20 Apr 2020 17:20:03 +0000 (20:20 +0300)]
Issue #19008: Processing of sub-shapes of a complex body with deflection

4 years agoFix number of significant digits for the volume of coronavirus.py
Artem Zhidkov [Sun, 19 Apr 2020 16:35:58 +0000 (19:35 +0300)]
Fix number of significant digits for the volume of coronavirus.py

4 years agoAdd coronavirus model prepared by Raphaël MARC (EDF R&D France)
Artem Zhidkov [Fri, 17 Apr 2020 20:34:42 +0000 (23:34 +0300)]
Add coronavirus model prepared by Raphaël MARC (EDF R&D France)

4 years agoCopyright update 2020
vsr [Thu, 16 Apr 2020 11:41:20 +0000 (14:41 +0300)]
Copyright update 2020

4 years agoExclude "What is this" system button from dialog boxes.
vsv [Thu, 16 Apr 2020 10:03:00 +0000 (13:03 +0300)]
Exclude "What is this" system button from dialog boxes.

4 years agoAvoid crash if sensitivity is set to 0
vsv [Wed, 15 Apr 2020 10:32:46 +0000 (13:32 +0300)]
Avoid crash if sensitivity is set to 0

4 years agoUpdate Viewer on data model recompute
vsv [Wed, 15 Apr 2020 07:38:18 +0000 (10:38 +0300)]
Update Viewer on data model recompute

4 years agoImprove calculation of size of preferences panel.
vsv [Tue, 14 Apr 2020 15:11:20 +0000 (18:11 +0300)]
Improve calculation of size of preferences panel.

4 years agoUse the latest version of SALOME (2020-04-10)
Artem Zhidkov [Mon, 13 Apr 2020 10:15:47 +0000 (13:15 +0300)]
Use the latest version of SALOME (2020-04-10)

4 years agoIssue #3207: The feature Copy allows to copy a sketch
Artem Zhidkov [Mon, 13 Apr 2020 07:18:39 +0000 (10:18 +0300)]
Issue #3207: The feature Copy allows to copy a sketch

Prohibit to use constructions in the Copy feature.
Move SketchCopy feature to the same panel as the Copy feature.

4 years agoIncrease the timeout for HDF test cases.
Artem Zhidkov [Sun, 12 Apr 2020 12:20:34 +0000 (15:20 +0300)]
Increase the timeout for HDF test cases.

4 years agoIssue #3140: Remove '...' from command name
vsv [Fri, 10 Apr 2020 10:53:33 +0000 (13:53 +0300)]
Issue #3140: Remove '...' from command name

4 years agoIssue #18834 (Tuleap): Show/hide Faces and Property panels on activate/deactivate...
vsv [Thu, 9 Apr 2020 16:09:22 +0000 (19:09 +0300)]
Issue #18834 (Tuleap): Show/hide Faces and Property panels on activate/deactivate SHAPER module

4 years agoIssue #2999: Synchronize deflection for presentation of circle objects and for select...
vsv [Thu, 9 Apr 2020 14:52:50 +0000 (17:52 +0300)]
Issue #2999: Synchronize deflection for presentation of circle objects and for selection area of them

4 years agoAdd comment to a code
vsv [Thu, 9 Apr 2020 09:44:42 +0000 (12:44 +0300)]
Add comment to a code

4 years agoIssue #3202: Fix behavior of Delete operation
vsv [Thu, 9 Apr 2020 09:40:35 +0000 (12:40 +0300)]
Issue #3202: Fix behavior of Delete operation

4 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/shaper
mpv [Tue, 7 Apr 2020 15:39:04 +0000 (18:39 +0300)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/shaper

4 years agoParital fix for the issue 3201 : unique identification of objects and groups in the...
mpv [Tue, 7 Apr 2020 15:38:32 +0000 (18:38 +0300)]
Parital fix for the issue 3201 : unique identification of objects and groups in the SHAPERSTUDY if they become "dead" because result was removed in the SHAPER

4 years agoUse the latest version of SALOME (2020-04-07)
Artem Zhidkov [Tue, 7 Apr 2020 11:30:28 +0000 (14:30 +0300)]
Use the latest version of SALOME (2020-04-07)

4 years agoUpdate HDF testing engine to avoid hanging if X client is unavalable.
Artem Zhidkov [Tue, 7 Apr 2020 11:29:34 +0000 (14:29 +0300)]
Update HDF testing engine to avoid hanging if X client is unavalable.