Salome HOME
modules/shaper.git
2 years agoMerge branch 'CR26446'
vsr [Wed, 15 Dec 2021 08:54:59 +0000 (11:54 +0300)]
Merge branch 'CR26446'

2 years agobos #26446 Customize study opening; bos #26447 Customize script execution
Alexey Kondratyev [Mon, 18 Oct 2021 08:12:43 +0000 (11:12 +0300)]
bos #26446 Customize study opening; bos #26447 Customize script execution

* Add tab "General" in Preferences window.
* Add algorithm to update displaying elements depending of settings.
* Update opening file algorithm to activating parts depending of settings.
* Update activating part algorithm to display elements depending of settings.
* Update activating part algorithm to display elements depending of sub elements.
* Update the documentation.

2 years agoMerge branch 'V9_8_BR'
vsr [Fri, 10 Dec 2021 09:45:44 +0000 (12:45 +0300)]
Merge branch 'V9_8_BR'

2 years agoFix crash on export to CAD format a feature but not its result
azv [Wed, 8 Dec 2021 11:30:06 +0000 (14:30 +0300)]
Fix crash on export to CAD format a feature but not its result

2 years ago[bos #26745] EDF 24471 - problem of dumping. Fix SIGSEGV.
jfa [Wed, 8 Dec 2021 07:23:52 +0000 (10:23 +0300)]
[bos #26745] EDF 24471 - problem of dumping. Fix SIGSEGV.

2 years ago[bos #26449] [EDF] (2021) SHAPER: save imported images. Correction for image dumping...
jfa [Wed, 8 Dec 2021 06:04:10 +0000 (09:04 +0300)]
[bos #26449] [EDF] (2021) SHAPER: save imported images. Correction for image dumping directory.

2 years agoIncrement version: 9.8.0 V9_8_BR V9_8_0 V9_8_0rc1
vsr [Fri, 26 Nov 2021 10:38:12 +0000 (13:38 +0300)]
Increment version: 9.8.0

2 years agoMerge branch 'jfa/26449_1'
vsr [Fri, 19 Nov 2021 16:10:02 +0000 (19:10 +0300)]
Merge branch 'jfa/26449_1'

2 years agobos #26449: SHAPER: save imported images
jfa [Fri, 8 Oct 2021 15:10:09 +0000 (18:10 +0300)]
bos #26449: SHAPER: save imported images

* Imported image is stored as a binary attribute within an Import feature
* Images are dumped to the same directory as a Python script (however, the full path to file is dumped)

2 years agoMinor fix related to coding style
azv [Tue, 16 Nov 2021 11:56:11 +0000 (14:56 +0300)]
Minor fix related to coding style

2 years agoFix tests instability
vsr [Mon, 15 Nov 2021 09:34:19 +0000 (12:34 +0300)]
Fix tests instability

2 years agoFix compilation warnings azv/ts_tests
azv [Tue, 9 Nov 2021 08:41:00 +0000 (11:41 +0300)]
Fix compilation warnings

2 years agoUse temporary name of exported file in tests related to Part's export/import
esy [Mon, 8 Nov 2021 16:08:11 +0000 (17:08 +0100)]
Use temporary name of exported file in tests related to Part's export/import

2 years agoMissed translation of the Sketcher's Rectangle feature
azv [Tue, 9 Nov 2021 07:39:52 +0000 (10:39 +0300)]
Missed translation of the Sketcher's Rectangle feature

2 years agobos #26609 Patching tests (Windows)
vsr [Mon, 8 Nov 2021 16:39:35 +0000 (19:39 +0300)]
bos #26609 Patching tests (Windows)

2 years agoMerge branch 'CR26444' V9_8_0b1
vsr [Mon, 8 Nov 2021 08:26:03 +0000 (11:26 +0300)]
Merge branch 'CR26444'

2 years agobos #26444 Improve treatment of parameters
Alexey Kondratyev [Mon, 11 Oct 2021 07:33:06 +0000 (10:33 +0300)]
bos #26444 Improve treatment of parameters

Add python function to import parameters from file.

Add test for checking importing parameters.

Add "Import file" button in parameter manager to import parameters.

Update documentation.

2 years agoMerge branch 'CR26448'
vsr [Fri, 5 Nov 2021 11:25:12 +0000 (14:25 +0300)]
Merge branch 'CR26448'

2 years agobos #26448 Construction elements: create extra planes
Alexey Kondratyev [Fri, 8 Oct 2021 13:54:33 +0000 (16:54 +0300)]
bos #26448 Construction elements: create extra planes

Add attribute "number of copies" for creating plane by rotating and by distance from other plane.

Added a corresponding field in the creation window.

Change documentation to reference about copies when creating a planes.

Change "dump to script" to set number of copies(or without it).

Add Python test.

Add translate to French.

2 years agoMerge branch 'occ/26450'
vsr [Wed, 3 Nov 2021 07:35:31 +0000 (10:35 +0300)]
Merge branch 'occ/26450'

2 years agobos #26450 Random color
vsr [Tue, 12 Oct 2021 12:36:07 +0000 (15:36 +0300)]
bos #26450 Random color

2 years ago[bos #24727] [CEA] Selection mechanism not working on a re-opened study
jfa [Tue, 2 Nov 2021 15:14:28 +0000 (18:14 +0300)]
[bos #24727] [CEA] Selection mechanism not working on a re-opened study

2 years agoStabilize SHAPER tests
vsr [Tue, 26 Oct 2021 10:28:15 +0000 (13:28 +0300)]
Stabilize SHAPER tests

2 years agobos #24728: [CEA] Call geometric dump only when explicitly asked by the user
azv [Fri, 22 Oct 2021 14:33:43 +0000 (17:33 +0300)]
bos #24728: [CEA] Call geometric dump only when explicitly asked by the user

2 years ago[bos #26531] [CEA] Shaper tests fail with SEGFAULT. Prevent crash on Python 3.8:...
vsr [Thu, 21 Oct 2021 14:12:48 +0000 (17:12 +0300)]
[bos #26531] [CEA] Shaper tests fail with SEGFAULT. Prevent crash on Python 3.8: use alternative way to parse exception message

2 years ago[bos #26531] [CEA] Shaper tests fail with SEGFAULT. Use copy of sys.modules to avoid...
jfa [Thu, 21 Oct 2021 10:39:36 +0000 (13:39 +0300)]
[bos #26531] [CEA] Shaper tests fail with SEGFAULT. Use copy of sys.modules to avoid exception: dictionary changed size during iteration.

2 years ago[bos #26531] [CEA] Shaper tests fail with SEGFAULT
jfa [Tue, 19 Oct 2021 13:21:26 +0000 (16:21 +0300)]
[bos #26531] [CEA] Shaper tests fail with SEGFAULT

2 years agoPrevent usage of uninitialized variable
jfa [Tue, 19 Oct 2021 09:42:47 +0000 (12:42 +0300)]
Prevent usage of uninitialized variable

2 years ago[bos #26534] EDF 24265 - Problem of recover in TUI
jfa [Tue, 19 Oct 2021 09:41:23 +0000 (12:41 +0300)]
[bos #26534] EDF 24265 - Problem of recover in TUI

2 years agobos #26430: Fix compilation pb on Windows V9_8_0a1 V9_8_0a2
vsr [Thu, 14 Oct 2021 17:23:38 +0000 (20:23 +0300)]
bos #26430: Fix compilation pb on Windows

2 years ago[bos #26514] [CEA 24622] Failing SHAPER tests. The new behaviour of Defeaturing is...
jfa [Wed, 13 Oct 2021 14:22:51 +0000 (17:22 +0300)]
[bos #26514] [CEA 24622] Failing SHAPER tests. The new behaviour of Defeaturing is better.

2 years agoMerge branch 'nrn/Lot2/AutoColor' into master
azv [Wed, 13 Oct 2021 06:43:57 +0000 (09:43 +0300)]
Merge branch 'nrn/Lot2/AutoColor' into master

2 years agoAutoColor removed from Preferences and Doc update
Nicolas Rechatin [Fri, 1 Oct 2021 11:48:28 +0000 (14:48 +0300)]
AutoColor removed from Preferences and Doc update

2 years ago[bos #26505] EDF 24182 - picking elipse from sketch
jfa [Tue, 12 Oct 2021 08:44:27 +0000 (11:44 +0300)]
[bos #26505] EDF 24182 - picking elipse from sketch

2 years ago[bos #24758] EDF 24017 - Problems with ExtrusionCut. Corrected also ExtrusionFuse...
jfa [Tue, 12 Oct 2021 08:32:11 +0000 (11:32 +0300)]
[bos #24758] EDF 24017 - Problems with ExtrusionCut. Corrected also ExtrusionFuse for multi-level compounds.

2 years agobos #24412 Fix tests for 'salome test' mode
vsr [Thu, 7 Oct 2021 12:22:24 +0000 (15:22 +0300)]
bos #24412 Fix tests for 'salome test' mode

2 years agoDistinction cercle/disque
GERALD NICOLAS [Wed, 6 Oct 2021 08:19:40 +0000 (10:19 +0200)]
Distinction cercle/disque

2 years agoTraduction
Gérald NICOLAS [Tue, 5 Oct 2021 15:43:16 +0000 (17:43 +0200)]
Traduction

2 years agoMerge branch 'vsr/26458'
vsr [Mon, 4 Oct 2021 17:49:56 +0000 (20:49 +0300)]
Merge branch 'vsr/26458'

2 years agobos #26458 Versioning of sources via git commit id (sha1)
vsr [Mon, 4 Oct 2021 09:09:49 +0000 (12:09 +0300)]
bos #26458 Versioning of sources via git commit id (sha1)

2 years agoOubli de traduction
Gérald NICOLAS [Mon, 4 Oct 2021 15:32:48 +0000 (17:32 +0200)]
Oubli de traduction

2 years agoEliminate a lot of CMake warnings about not found tests with the hint of search path.
azv [Mon, 4 Oct 2021 10:37:28 +0000 (13:37 +0300)]
Eliminate a lot of CMake warnings about not found tests with the hint of search path.

2 years agoUpdate to use the latest version of TInspector (OCCT 7.5.3)
Artem Zhidkov [Sun, 18 Apr 2021 19:50:31 +0000 (22:50 +0300)]
Update to use the latest version of TInspector (OCCT 7.5.3)

2 years agoFix compilation of CAD Builder with SALOME 9.7.0
azv [Fri, 1 Oct 2021 13:19:22 +0000 (16:19 +0300)]
Fix compilation of CAD Builder with SALOME 9.7.0

2 years agoFind 'boost' in Locale module if it was not found before.
azv [Wed, 30 Dec 2020 21:00:13 +0000 (00:00 +0300)]
Find 'boost' in Locale module if it was not found before.

2 years agoRemove cmake warning (incorrect path to tests)
vsr [Mon, 4 Oct 2021 10:13:47 +0000 (13:13 +0300)]
Remove cmake warning (incorrect path to tests)

2 years agoIssue #24412: TestImportImage_1.py TestImportImage_2.py failing
azv [Fri, 1 Oct 2021 11:12:11 +0000 (14:12 +0300)]
Issue #24412: TestImportImage_1.py TestImportImage_2.py failing

Use another approach to get the full path for the test case.

2 years agoCEA : Lot2 - Add new filters
Jérôme [Mon, 2 Nov 2020 14:01:08 +0000 (17:01 +0300)]
CEA : Lot2 - Add new filters

* Edge size
* Face size
* Volume size
* Feature edges
* Continuous faces

2 years agoCEA : Lot 2 - Auto Color for Groups
Jérôme [Wed, 4 Nov 2020 17:37:19 +0000 (18:37 +0100)]
CEA : Lot 2 - Auto Color for Groups

2 years agomacro tuyauterie gni/tuyauterie_integ_2
Gérald NICOLAS [Tue, 15 Jun 2021 09:16:43 +0000 (11:16 +0200)]
macro tuyauterie

2 years agoMerge remote-tracking branch 'remotes/origin/cgt/NormalToFace' into master
azv [Wed, 15 Sep 2021 16:22:07 +0000 (19:22 +0300)]
Merge remote-tracking branch 'remotes/origin/cgt/NormalToFace' into master

2 years ago[bos #24758] EDF 24017 - Problems with ExtrusionCut
jfa [Tue, 14 Sep 2021 18:03:05 +0000 (21:03 +0300)]
[bos #24758] EDF 24017 - Problems with ExtrusionCut

2 years agoUse tempfile.TemporaryDirectory() with with statement instead of gettempdir to avoid...
Anthony Geay [Tue, 31 Aug 2021 05:50:03 +0000 (07:50 +0200)]
Use tempfile.TemporaryDirectory() with with statement instead of gettempdir to avoid races when tests are launched in parallel

2 years agoCEA : Lot2 - Normal to a face cgt/NormalToFace
cg246364 [Mon, 30 Aug 2021 06:41:48 +0000 (08:41 +0200)]
CEA : Lot2 - Normal to a face

2 years agoRevert "CEA : Lot2 - Normal to a face"
cg246364 [Fri, 27 Aug 2021 15:26:02 +0000 (17:26 +0200)]
Revert "CEA : Lot2 - Normal to a face"

This reverts commit 9a3d914571afc7318df989643dca720889fcc50b.

2 years agoRevert "Revert "Tuleap24729. Full porting in SSL of BearingSeparator;Test20456;Test30...
cg246364 [Fri, 27 Aug 2021 15:24:50 +0000 (17:24 +0200)]
Revert "Revert "Tuleap24729. Full porting in SSL of BearingSeparator;Test20456;Test3061;Test3139 tests""

This reverts commit e6e20df69fd974a5c3b1baff4954838ca73bdcd2.

2 years agoRevert "Tuleap24729. Full porting in SSL of BearingSeparator;Test20456;Test3061;Test3...
cg246364 [Fri, 27 Aug 2021 15:18:16 +0000 (17:18 +0200)]
Revert "Tuleap24729. Full porting in SSL of BearingSeparator;Test20456;Test3061;Test3139 tests"

This reverts commit ec78089677d98f984122fed70c87a7c26bcaca7f.

2 years agoCEA : Lot2 - Normal to a face
cg246364 [Fri, 27 Aug 2021 14:43:26 +0000 (16:43 +0200)]
CEA : Lot2 - Normal to a face

2 years agoTuleap24729. Full porting in SSL of BearingSeparator;Test20456;Test3061;Test3139...
Anthony Geay [Mon, 23 Aug 2021 13:10:27 +0000 (15:10 +0200)]
Tuleap24729. Full porting in SSL of BearingSeparator;Test20456;Test3061;Test3139 tests

2 years agoMerge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/shaper
Anthony Geay [Mon, 23 Aug 2021 13:13:55 +0000 (15:13 +0200)]
Merge branch 'master' of https://codev-tuleap.cea.fr/plugins/git/salome/shaper

2 years ago[tuleap24729] : rollback. BearingSeparator is OK but still use server launching.
Anthony Geay [Mon, 23 Aug 2021 13:13:44 +0000 (15:13 +0200)]
[tuleap24729] : rollback. BearingSeparator is OK but still use server launching.

2 years agoFix compilation error
azv [Tue, 17 Aug 2021 15:30:22 +0000 (18:30 +0300)]
Fix compilation error

2 years agoRefactoring of the Bounding Box feature (change names of classes to be more evident)
Artem Zhidkov [Mon, 16 Aug 2021 14:42:39 +0000 (17:42 +0300)]
Refactoring of the Bounding Box feature (change names of classes to be more evident)

2 years agoRollback for Artem
Anthony Geay [Tue, 17 Aug 2021 13:24:04 +0000 (15:24 +0200)]
Rollback for Artem

2 years agotest.hdfs in SSL mode
Anthony Geay [Mon, 16 Aug 2021 14:17:56 +0000 (16:17 +0200)]
test.hdfs in SSL mode

2 years agoSwitch to SSL mode for tests : Get rid off all SALOME_TEST_DRIVER reference
Anthony Geay [Thu, 12 Aug 2021 12:32:18 +0000 (14:32 +0200)]
Switch to SSL mode for tests : Get rid off all SALOME_TEST_DRIVER reference

2 years agoSwitch to SSL mode for tests : naive approach
Anthony Geay [Thu, 12 Aug 2021 12:05:43 +0000 (14:05 +0200)]
Switch to SSL mode for tests : naive approach

2 years agoIssue #24357: Export mesh with field on vertices
azv [Tue, 13 Jul 2021 05:50:01 +0000 (08:50 +0300)]
Issue #24357: Export mesh with field on vertices

Correct the order of field results

2 years agoUse the latest version of SALOME (2021-07-12)
azv [Mon, 12 Jul 2021 10:31:23 +0000 (13:31 +0300)]
Use the latest version of SALOME (2021-07-12)

2 years agoUpdate reference data once again
azv [Fri, 2 Jul 2021 07:35:15 +0000 (10:35 +0300)]
Update reference data once again

2 years agoSet appropriate reference data
azv [Thu, 1 Jul 2021 15:09:16 +0000 (18:09 +0300)]
Set appropriate reference data

2 years agoIssue #20513: Filling problem
azv [Thu, 1 Jul 2021 13:36:13 +0000 (16:36 +0300)]
Issue #20513: Filling problem

Implement the edge reparametrization when convert wire to an edge.

2 years agoBos #24389: SHAPER default browser
azv [Wed, 16 Jun 2021 13:19:29 +0000 (16:19 +0300)]
Bos #24389: SHAPER default browser

Use default browser specified in SALOME Preferences.

2 years agoRevert "neutral fiber macro"
Anthony Geay [Mon, 14 Jun 2021 09:19:05 +0000 (11:19 +0200)]
Revert "neutral fiber macro"

This reverts commit 43a3c670f8be54bff242be65d1b87d169671ed7e.

2 years agoneutral fiber macro
GERALD NICOLAS [Mon, 3 May 2021 15:39:16 +0000 (17:39 +0200)]
neutral fiber macro

3 years agoFixed the lint script warnings related to the multi-line string.
mpv [Mon, 31 May 2021 08:54:54 +0000 (11:54 +0300)]
Fixed the lint script warnings related to the multi-line string.

3 years agobos #24260 [CEA] Fatal error gp_Dir() input vector has zero norm when loading python...
mpv [Mon, 31 May 2021 08:40:32 +0000 (11:40 +0300)]
bos #24260 [CEA] Fatal error gp_Dir() input vector has zero norm when loading python dump

Added an understandable error-message if the sketch plane is invalid.

3 years agobos #20450: clean up images with duplicate names
azv [Fri, 28 May 2021 08:09:27 +0000 (11:09 +0300)]
bos #20450: clean up images with duplicate names

3 years agobos #20450 Implement script that check presense of duplicated images
vsr [Thu, 27 May 2021 16:27:22 +0000 (19:27 +0300)]
bos #20450 Implement script that check presense of duplicated images

3 years agoMerge branch 'V9_7_BR'
vsr [Mon, 24 May 2021 14:58:32 +0000 (17:58 +0300)]
Merge branch 'V9_7_BR'

3 years agoIssue #20641: Tests for implemented features
azv [Thu, 20 May 2021 09:43:14 +0000 (12:43 +0300)]
Issue #20641: Tests for implemented features

3 years agoIssue #24206: No plane for sketch
Artem Zhidkov [Tue, 18 May 2021 13:26:01 +0000 (16:26 +0300)]
Issue #24206: No plane for sketch

Invalidate values of the sketch normal if the plane was not selected.

3 years agoFix for #24260 [CEA] Fatal error gp_Dir() input vector has zero norm when loading...
mpv [Tue, 11 May 2021 14:52:10 +0000 (17:52 +0300)]
Fix for  #24260 [CEA] Fatal error gp_Dir() input vector has zero norm when loading python dump

Make sketch invalid if external plane selected becomes invalid. And keep it while plane is re-selected.

3 years agoUse the latest version of SALOME (2021-05-03)
Artem Zhidkov [Mon, 3 May 2021 19:39:54 +0000 (22:39 +0300)]
Use the latest version of SALOME (2021-05-03)

3 years agoIncrement version: 9.7.0 V9_7_BR V9_7_0 V9_7_0rc1 V9_7_0rc2
vsr [Tue, 27 Apr 2021 14:32:59 +0000 (17:32 +0300)]
Increment version: 9.7.0

3 years agoGet back the missed includes V9_7_0a1 V9_7_0a2 V9_7_0b1
azv [Thu, 15 Apr 2021 14:02:01 +0000 (17:02 +0300)]
Get back the missed includes

3 years agoRevert deletion of BuildPlugin_ValidatorExpressionInterpolation::isValid()
azv [Thu, 15 Apr 2021 13:57:45 +0000 (16:57 +0300)]
Revert deletion of BuildPlugin_ValidatorExpressionInterpolation::isValid()

3 years agoImprove filtering for selection of Wires, Faces and Solids
vsv [Thu, 15 Apr 2021 10:09:27 +0000 (13:09 +0300)]
Improve filtering for selection of Wires, Faces and Solids

3 years agoFix for CompSolids building
vsv [Mon, 12 Apr 2021 13:33:07 +0000 (16:33 +0300)]
Fix for CompSolids building

3 years agoUpdate 'TestRectangle.py' in respect to the new version
azv [Fri, 9 Apr 2021 09:32:33 +0000 (12:32 +0300)]
Update 'TestRectangle.py' in respect to the new version

3 years agoUse the latest version of SALOME (2021-04-08)
Artem Zhidkov [Thu, 8 Apr 2021 17:06:57 +0000 (20:06 +0300)]
Use the latest version of SALOME (2021-04-08)

3 years agoBos #24164: [CEA] Failing SHAPER tests (regression after #20641)
Artem Zhidkov [Thu, 8 Apr 2021 17:03:17 +0000 (20:03 +0300)]
Bos #24164: [CEA] Failing SHAPER tests (regression after #20641)

3 years agoFix selection by filters on sphere. Check for degenerated edge before calling filters.
jfa [Thu, 8 Apr 2021 12:13:43 +0000 (15:13 +0300)]
Fix selection by filters on sphere. Check for degenerated edge before calling filters.

3 years agoBos #24043: EDF 23094 - problem with dump. Fix for nested compounds.
jfa [Thu, 8 Apr 2021 10:02:06 +0000 (13:02 +0300)]
Bos #24043: EDF 23094 - problem with dump. Fix for nested compounds.

3 years agoUpdate test for centered rectangle to check modification of center point and corner.
Artem Zhidkov [Wed, 7 Apr 2021 19:58:53 +0000 (22:58 +0300)]
Update test for centered rectangle to check modification of center point and corner.

3 years agoBos #24043: EDF 23094 - problem with dump.
jfa [Wed, 7 Apr 2021 08:40:50 +0000 (11:40 +0300)]
Bos #24043: EDF 23094 - problem with dump.

3 years agoUse the latest version of SALOME (2021-04-01)
Artem Zhidkov [Fri, 2 Apr 2021 07:27:55 +0000 (10:27 +0300)]
Use the latest version of SALOME (2021-04-01)

3 years agoSplit too long line (>100 characters)
Artem Zhidkov [Fri, 2 Apr 2021 07:04:31 +0000 (10:04 +0300)]
Split too long line (>100 characters)

3 years agoMerge branch 'csgroup_IS2'
Artem Zhidkov [Fri, 2 Apr 2021 06:25:58 +0000 (09:25 +0300)]
Merge branch 'csgroup_IS2'

3 years agoRework Sketch Rectangle feature.
Artem Zhidkov [Mon, 29 Mar 2021 19:15:04 +0000 (22:15 +0300)]
Rework Sketch Rectangle feature.