Salome HOME
modules/shaper.git
3 years agoDebug and documentation for STL export
cg246364 [Wed, 9 Dec 2020 09:22:42 +0000 (10:22 +0100)]
Debug and documentation for STL export

3 years agoAdd new method to get the list of rotated/translated entities of MultiRotation/MultiT...
Artem Zhidkov [Sat, 5 Dec 2020 14:20:59 +0000 (17:20 +0300)]
Add new method to get the list of rotated/translated entities of MultiRotation/MultiTranslation to keep the compatibility of old scripts.

Revert changes in unit tests. Use new methods in models tests.

3 years agoUpdate model tests according to new behavior of sketch's MultiRotation/MultiTranslation
Artem Zhidkov [Fri, 4 Dec 2020 07:24:58 +0000 (10:24 +0300)]
Update model tests according to new behavior of sketch's MultiRotation/MultiTranslation

3 years agoUpdate unit tests according to new behavior of sketch's MultiRotation/MultiTranslation
Artem Zhidkov [Thu, 3 Dec 2020 15:01:25 +0000 (18:01 +0300)]
Update unit tests according to new behavior of sketch's MultiRotation/MultiTranslation

3 years agoFix incorrect number of results returned by MultiRotation/MultiTranslation feature...
Artem Zhidkov [Thu, 3 Dec 2020 12:51:41 +0000 (15:51 +0300)]
Fix incorrect number of results returned by MultiRotation/MultiTranslation feature if the list of original object has copied features.
Update errors in unit tests.

3 years agoIssue #20274: No intersection point from python dump
Artem Zhidkov [Thu, 3 Dec 2020 08:16:59 +0000 (11:16 +0300)]
Issue #20274: No intersection point from python dump

Improve dumping of the following entities to provide correct update of the sketch elements they produce:
* Linear Copy
* Angular Copy
* Mirror

3 years agoRework HDF testing procedure
Artem Zhidkov [Fri, 23 Oct 2020 19:15:00 +0000 (22:15 +0300)]
Rework HDF testing procedure

3 years agoRework building procedure and testing environment
Artem Zhidkov [Fri, 9 Oct 2020 19:31:35 +0000 (22:31 +0300)]
Rework building procedure and testing environment

3 years agoPorting to OCCT 7.5.0 and minor improvements/bugfixes.
mpv [Tue, 24 Nov 2020 11:46:37 +0000 (14:46 +0300)]
Porting to OCCT 7.5.0 and minor improvements/bugfixes.

3 years agoUse the latest version of SALOME (2020-11-24)
Artem Zhidkov [Tue, 24 Nov 2020 08:10:47 +0000 (11:10 +0300)]
Use the latest version of SALOME (2020-11-24)

3 years agoUse the latest version of SALOME (2020-11-20)
Artem Zhidkov [Sat, 21 Nov 2020 11:53:22 +0000 (14:53 +0300)]
Use the latest version of SALOME (2020-11-20)

3 years agoMerge branch 'origin/fixes_for_960' V9_6_BR V9_6_0 V9_6_0rc1
vsr [Mon, 26 Oct 2020 12:42:41 +0000 (15:42 +0300)]
Merge branch 'origin/fixes_for_960'

3 years agoIssue #20245: New error when loading python dump: attribute "ExternalFeature" is... fixes_for_960
Artem Zhidkov [Mon, 26 Oct 2020 11:28:30 +0000 (14:28 +0300)]
Issue #20245: New error when loading python dump: attribute "ExternalFeature" is invalid

Improve multi-selection widget to process selection type by the shape type instead of string value defined in XML.

3 years agoMerge branch 'origin/fixes_for_960'
vsr [Sun, 25 Oct 2020 08:17:07 +0000 (11:17 +0300)]
Merge branch 'origin/fixes_for_960'

3 years agoFix instability in unit tests
Artem Zhidkov [Sat, 24 Oct 2020 15:23:04 +0000 (18:23 +0300)]
Fix instability in unit tests

3 years agoMerge branch 'origin/fixes_for_960'
vsr [Fri, 23 Oct 2020 18:25:52 +0000 (21:25 +0300)]
Merge branch 'origin/fixes_for_960'

3 years agoFix the revolution algorithm revolving an edge between faces.
Artem Zhidkov [Fri, 23 Oct 2020 14:32:27 +0000 (17:32 +0300)]
Fix the revolution algorithm revolving an edge between faces.

3 years agoMerge branch 'origin/fixes_for_960'
vsr [Fri, 23 Oct 2020 07:23:18 +0000 (10:23 +0300)]
Merge branch 'origin/fixes_for_960'

3 years agoIssue #20247: Wrong extrusion direction to face
Artem Zhidkov [Fri, 23 Oct 2020 06:32:17 +0000 (09:32 +0300)]
Issue #20247: Wrong extrusion direction to face

Fix size of cutting tool solids when creating a prism between two planar faces.

3 years agoIssue #20245: New error when loading python dump: attribute "ExternalFeature" is...
Artem Zhidkov [Thu, 22 Oct 2020 20:10:37 +0000 (23:10 +0300)]
Issue #20245: New error when loading python dump: attribute "ExternalFeature" is invalid

Improve dumping of Extrusion/Revolution if the type of selected shapes is not the same as the selection type of the feature.

3 years agoFix misprint.
Artem Zhidkov [Thu, 22 Oct 2020 14:07:45 +0000 (17:07 +0300)]
Fix misprint.

3 years agoIncrement version: 9.6.0
vsr [Fri, 16 Oct 2020 16:06:20 +0000 (19:06 +0300)]
Increment version: 9.6.0

3 years agoIssue #20167: checkPythonDump() errors V9_6_0b1
Artem Zhidkov [Fri, 16 Oct 2020 08:37:21 +0000 (11:37 +0300)]
Issue #20167: checkPythonDump() errors

Improve performance of bounding box calculation while dumping.

3 years agobos #20207: EDF 22171 - Sigsegv with automatic coincidence
vsv [Thu, 15 Oct 2020 12:29:41 +0000 (15:29 +0300)]
bos #20207: EDF 22171 - Sigsegv with automatic coincidence

3 years agoIssue #20204: Wrong sketch in master from 9.5.0 python script
Artem Zhidkov [Tue, 13 Oct 2020 20:08:45 +0000 (23:08 +0300)]
Issue #20204: Wrong sketch in master from 9.5.0 python script

Improve the orientation of the curve projected onto sketch plane.

3 years agoFixed too long line
mpv [Tue, 13 Oct 2020 08:34:53 +0000 (11:34 +0300)]
Fixed too long line

3 years agoFix for the issue #20170 [CEA] Error when loading python dump: attribute "ExternalFea...
mpv [Tue, 13 Oct 2020 07:58:42 +0000 (10:58 +0300)]
Fix for the issue #20170 [CEA] Error when loading python dump: attribute "ExternalFeature" is invalid.

Also non-regression unit-test is added.

3 years agoGet rid of compilation warnings.
Artem Zhidkov [Mon, 12 Oct 2020 19:36:45 +0000 (22:36 +0300)]
Get rid of compilation warnings.

3 years agoMerge remote-tracking branch 'remotes/origin/CEA_2020_Lot1'
Artem Zhidkov [Mon, 12 Oct 2020 19:24:41 +0000 (22:24 +0300)]
Merge remote-tracking branch 'remotes/origin/CEA_2020_Lot1'

3 years agoGet rid of unnecessary includes
Artem Zhidkov [Mon, 12 Oct 2020 19:20:33 +0000 (22:20 +0300)]
Get rid of unnecessary includes

3 years agoUse the latest version of SALOME (2020-10-12)
Artem Zhidkov [Mon, 12 Oct 2020 17:33:09 +0000 (20:33 +0300)]
Use the latest version of SALOME (2020-10-12)

3 years agoAdjust test cases reference data according to precise calculation of bounding boxes.
Artem Zhidkov [Mon, 12 Oct 2020 17:31:11 +0000 (20:31 +0300)]
Adjust test cases reference data according to precise calculation of bounding boxes.

3 years agoIssue #20167: checkPythonDump() errors
Artem Zhidkov [Mon, 12 Oct 2020 09:18:29 +0000 (12:18 +0300)]
Issue #20167: checkPythonDump() errors

Revert the copying base shapes of prism (produced by the previous commit). Use optimal bounding box on dump instead.

3 years agoMerge branch 'master' into CEA_2020_Lot1
cgenraul [Mon, 12 Oct 2020 08:04:15 +0000 (10:04 +0200)]
Merge branch 'master' into CEA_2020_Lot1

3 years agoMerge remote-tracking branch 'origin/CEA_2020/Lot1_Export_STL' into CEA_2020_Lot1
cgenraul [Mon, 12 Oct 2020 07:53:31 +0000 (09:53 +0200)]
Merge remote-tracking branch 'origin/CEA_2020/Lot1_Export_STL' into CEA_2020_Lot1

3 years agoIssue #20167: checkPythonDump() errors
Artem Zhidkov [Fri, 9 Oct 2020 20:25:05 +0000 (23:25 +0300)]
Issue #20167: checkPythonDump() errors

1. Make a copy of prism base shape instead of using additional transformation.
2. Extend the tool of ExtrusionCut (Through All mode) to get stable result.

3 years agoFix bugs
Jérôme [Fri, 9 Oct 2020 12:12:38 +0000 (14:12 +0200)]
Fix bugs

3 years agoCorrect spaces
cgenraul [Fri, 9 Oct 2020 07:48:09 +0000 (09:48 +0200)]
Correct spaces

3 years agoMerge remote-tracking branch 'origin/CEA_2020/Lot1_Export_STL' into CEA_2020_Lot1
cgenraul [Fri, 9 Oct 2020 07:31:44 +0000 (09:31 +0200)]
Merge remote-tracking branch 'origin/CEA_2020/Lot1_Export_STL' into CEA_2020_Lot1

3 years agobos #20148: EDF - error in projection with "break connection" in sketcher V9_6_0a2
vsv [Wed, 7 Oct 2020 17:48:49 +0000 (20:48 +0300)]
bos #20148: EDF - error in projection with "break connection" in sketcher

3 years agobos #20146:[CEA] Sketch's plane is not displayed on the right place
vsv [Wed, 7 Oct 2020 16:23:07 +0000 (19:23 +0300)]
bos #20146:[CEA] Sketch's plane is not displayed on the right place

3 years agoImprovement coding style
Jérôme [Wed, 7 Oct 2020 16:21:26 +0000 (18:21 +0200)]
Improvement coding style

3 years agoFix link to the help page for "Fuse Faces" feature (Part II).
Artem Zhidkov [Mon, 5 Oct 2020 19:44:15 +0000 (22:44 +0300)]
Fix link to the help page for "Fuse Faces" feature (Part II).

3 years agoFix length of line
vsv [Mon, 5 Oct 2020 18:31:52 +0000 (21:31 +0300)]
Fix length of line

3 years agobos #20145: [CEA] Sketch's plane become visible again when unticking display of const...
vsv [Mon, 5 Oct 2020 17:16:03 +0000 (20:16 +0300)]
bos #20145: [CEA] Sketch's plane become visible again when unticking display of constraints

3 years agoFix link to the help page for "Fuse Faces" feature.
Artem Zhidkov [Mon, 5 Oct 2020 15:47:24 +0000 (18:47 +0300)]
Fix link to the help page for "Fuse Faces" feature.

3 years agoFIx for EDF 22041 - Salome freezes when updating data
mpv [Fri, 2 Oct 2020 12:20:25 +0000 (15:20 +0300)]
FIx for EDF 22041 - Salome freezes when updating data

3 years agoMerge remote-tracking branch 'remotes/origin/CEA_2020/Lot1_Export_STL' into CEA_2020_Lot1 CEA_cgt_20201002
cgenraul [Fri, 2 Oct 2020 09:47:38 +0000 (11:47 +0200)]
Merge remote-tracking branch 'remotes/origin/CEA_2020/Lot1_Export_STL' into CEA_2020_Lot1

3 years agoIssue #21136: Problem of piping
Artem Zhidkov [Thu, 1 Oct 2020 11:46:25 +0000 (14:46 +0300)]
Issue #21136: Problem of piping

Revert "Task #3236: Generalization of extrusion"
This reverts commit e10071ccefd09a1f93e8ef8dcfb2654a9254f523.

3 years agoIssue #20101: SIGSEGV after validating extrusion V9_6_0a1
Artem Zhidkov [Fri, 25 Sep 2020 13:23:41 +0000 (16:23 +0300)]
Issue #20101: SIGSEGV after validating extrusion

Compatibility with old versions of SHAPER documents.

3 years agoHide splash in tests
vsr [Thu, 24 Sep 2020 09:26:05 +0000 (12:26 +0300)]
Hide splash in tests

3 years agoAdd unitary tests
Jérôme [Thu, 24 Sep 2020 08:16:11 +0000 (10:16 +0200)]
Add unitary tests

3 years agobos #20090: Can't select external wire of a sketch
vsv [Wed, 23 Sep 2020 15:37:37 +0000 (18:37 +0300)]
bos #20090: Can't select external wire of a sketch

3 years agobos #20081: Error in coincidence when creating two rectangles with auto apply
vsv [Tue, 22 Sep 2020 15:24:45 +0000 (18:24 +0300)]
bos #20081: Error in coincidence when creating two rectangles with auto apply

3 years agoAdjust the dumper to Python to avoid spaces at the end of lines.
Artem Zhidkov [Mon, 21 Sep 2020 20:28:37 +0000 (23:28 +0300)]
Adjust the dumper to Python to avoid spaces at the end of lines.

3 years agoUnit test for issue #19931
Artem Zhidkov [Mon, 21 Sep 2020 20:18:58 +0000 (23:18 +0300)]
Unit test for issue #19931

3 years agoIssue #19931: Different Fuse result if the inputs are the results or the features
Artem Zhidkov [Mon, 21 Sep 2020 19:56:45 +0000 (22:56 +0300)]
Issue #19931: Different Fuse result if the inputs are the results or the features

Explode the top-level compounds used as arguments of the Fuse operation.

3 years agoImplementation Export STL
Jérôme [Sun, 20 Sep 2020 19:48:15 +0000 (21:48 +0200)]
Implementation Export STL

3 years agoMinor changes
mpv [Thu, 17 Sep 2020 16:20:41 +0000 (19:20 +0300)]
Minor changes

3 years agoAdjust 'idler_plate.py' model to the new behavior
Artem Zhidkov [Thu, 17 Sep 2020 15:20:42 +0000 (18:20 +0300)]
Adjust 'idler_plate.py' model to the new behavior

According to the general limitation of the selection mechanism, it is impossible to separate the coincident centers of circles/arcs if they are projected to another sketch. So, the loading of the geometric dump always selects the center of the latest edge. The 'idler_plate.py' test becomes invalid after #19990 while checking the dump to Python, because centers of arcs are taken into account now when loading the geometric dump.

3 years agoFix for the issue #19989 : Sketch in error after edit and apply on Fuse (without...
mpv [Thu, 17 Sep 2020 15:20:29 +0000 (18:20 +0300)]
Fix for the issue #19989 : Sketch in error after edit and apply on Fuse (without having changed anything)

3 years agoIssue #19990: Error when loading geometrical dump
Artem Zhidkov [Wed, 16 Sep 2020 19:41:11 +0000 (22:41 +0300)]
Issue #19990: Error when loading geometrical dump

Process special case of geometric selection related to ImportResult feature, due to its reference to results from another parts.

3 years agoFix for the issue #19932 : Fillet fails in python with all in features Fuse inputs
mpv [Wed, 16 Sep 2020 15:41:15 +0000 (18:41 +0300)]
Fix for the issue #19932 : Fillet fails in python with all in features Fuse inputs

Support the whole feature referencing in searching of the new context.

3 years agoFix regressions after resolving issue #19890 (part II)
Artem Zhidkov [Wed, 16 Sep 2020 13:16:09 +0000 (16:16 +0300)]
Fix regressions after resolving issue #19890 (part II)

3 years agoFix regressions after resolving issue #19890
Artem Zhidkov [Wed, 16 Sep 2020 07:44:35 +0000 (10:44 +0300)]
Fix regressions after resolving issue #19890

3 years agoIssue #20033: No preview after parameter change
Artem Zhidkov [Tue, 15 Sep 2020 19:30:44 +0000 (22:30 +0300)]
Issue #20033: No preview after parameter change

Restore the position of the history line when changing parameter.

3 years agoIssue #19990: Error when loading geometrical dump
Artem Zhidkov [Tue, 15 Sep 2020 15:47:37 +0000 (18:47 +0300)]
Issue #19990: Error when loading geometrical dump

Geometrical selection by coordinates of a point is able to select the center of arc now.

3 years agoIssue #19890: Shape displayed with some transparency after symmetry
Artem Zhidkov [Tue, 15 Sep 2020 12:51:09 +0000 (15:51 +0300)]
Issue #19890: Shape displayed with some transparency after symmetry

Use correct transformation algorithm on the Part level.

3 years agoMake a set of curves accessible from the Python scripts.
Artem Zhidkov [Mon, 14 Sep 2020 16:11:21 +0000 (19:11 +0300)]
Make a set of curves accessible from the Python scripts.

3 years agoFix for #19912 : Error in SHAPERSTUDY python dump in feature Face with 2 results
mpv [Fri, 21 Aug 2020 06:55:08 +0000 (09:55 +0300)]
Fix for #19912 : Error in SHAPERSTUDY python dump in feature Face with 2 results

Generate an error in case primitive selection returns sub-shape that does not belong to the context.

3 years agoBuild SHAPER with dev version of OCCT (IR-2020-07-10)
rnv [Mon, 27 Jul 2020 09:32:17 +0000 (12:32 +0300)]
Build SHAPER with dev version of OCCT (IR-2020-07-10)

3 years agoMake the documentation compilable on Windows
azv [Wed, 12 Aug 2020 10:29:40 +0000 (13:29 +0300)]
Make the documentation compilable on Windows

3 years agobos #19890: Fix wrong initialized type of symmetry operation in property panel
vsv [Mon, 10 Aug 2020 14:06:38 +0000 (17:06 +0300)]
bos #19890: Fix wrong initialized type of symmetry operation in property panel

3 years agoFix help files generation on Windows
vsv [Fri, 7 Aug 2020 19:33:10 +0000 (22:33 +0300)]
Fix help files generation on Windows

3 years agobos #19884 Avoid error message in terminal if SALOME is running in terminal mode
vsr [Wed, 5 Aug 2020 06:44:19 +0000 (09:44 +0300)]
bos #19884 Avoid error message in terminal if SALOME is running in terminal mode

3 years agoIssue #3237: Use for names of objects letters, digits, '_' and space
vsv [Mon, 3 Aug 2020 09:56:01 +0000 (12:56 +0300)]
Issue #3237: Use for names of objects letters, digits, '_' and space

3 years agobos #19879 [CEA] SHAPER build failure: missing method setUseLocalSelection
vsr [Mon, 3 Aug 2020 09:06:12 +0000 (12:06 +0300)]
bos #19879 [CEA] SHAPER build failure: missing method setUseLocalSelection

3 years agoIssue #3230: Optional box should not change focus widget
vsv [Fri, 31 Jul 2020 13:57:49 +0000 (16:57 +0300)]
Issue #3230: Optional box should not change focus widget

3 years agoIssue #3236: Generalization of extrusion
Artem Zhidkov [Thu, 30 Jul 2020 20:52:35 +0000 (23:52 +0300)]
Issue #3236: Generalization of extrusion

Allow construction points as a base for extrusion and revolution.

3 years agoIssue #3236: Generalization of extrusion
Artem Zhidkov [Thu, 30 Jul 2020 14:58:13 +0000 (17:58 +0300)]
Issue #3236: Generalization of extrusion

Allow construction points as a base for extrusion and revolution.

3 years agoFix compilation error.
Artem Zhidkov [Thu, 30 Jul 2020 04:16:37 +0000 (07:16 +0300)]
Fix compilation error.

3 years agoIssue #3237: Allow usage of accented characters in ObjectBrowser
Artem Zhidkov [Wed, 29 Jul 2020 21:08:59 +0000 (00:08 +0300)]
Issue #3237: Allow usage of accented characters in ObjectBrowser

Usage of Unicode characters as names of parameters.

3 years agoBuild with native prerequsites
rnv [Mon, 22 Jun 2020 11:21:33 +0000 (14:21 +0300)]
Build with native prerequsites

3 years agoIssue #3275: Cannot load script. Unicode error
Artem Zhidkov [Wed, 29 Jul 2020 09:21:51 +0000 (12:21 +0300)]
Issue #3275: Cannot load script. Unicode error

3 years agoIssue #3221: Set disabled color of features in a non-active part
vsv [Wed, 29 Jul 2020 08:00:06 +0000 (11:00 +0300)]
Issue #3221: Set disabled color of features in a non-active part

3 years agoMake GeomAPI_WireExplorer available from the Python scripts.
Artem Zhidkov [Tue, 28 Jul 2020 20:28:58 +0000 (23:28 +0300)]
Make GeomAPI_WireExplorer available from the Python scripts.

3 years agoIssue #3278: Wire disappears from the viewer during 1D-Fillet operation
Artem Zhidkov [Tue, 28 Jul 2020 19:34:56 +0000 (22:34 +0300)]
Issue #3278: Wire disappears from the viewer during 1D-Fillet operation

Do not set 'isConcealed' flag if the attribute referring to a result is not the case for the current operation.

3 years agoIssue #3277: Remain property panel active if current operation is not finished
vsv [Tue, 28 Jul 2020 16:55:30 +0000 (19:55 +0300)]
Issue #3277: Remain property panel active if current operation is not finished

3 years agoIssue #3279: Incorrect result of 1D-Fillet with boundary value of radius
azv [Tue, 28 Jul 2020 15:48:16 +0000 (18:48 +0300)]
Issue #3279: Incorrect result of 1D-Fillet with boundary value of radius

Additional check if the fillet edge eats the original edges.

3 years agoIssue #3220: Show/Hide sketch plane
vsv [Tue, 28 Jul 2020 09:35:15 +0000 (12:35 +0300)]
Issue #3220: Show/Hide sketch plane

3 years agoIssue #3274: Update trihedron after change of preferences
vsv [Tue, 28 Jul 2020 08:09:01 +0000 (11:09 +0300)]
Issue #3274: Update trihedron after change of preferences

3 years agoMake unit-test for ellipse stable.
Artem Zhidkov [Sun, 26 Jul 2020 10:36:30 +0000 (13:36 +0300)]
Make unit-test for ellipse stable.

3 years agoIssue #3271: Wire from sketch is built wrong
Artem Zhidkov [Sat, 25 Jul 2020 19:35:13 +0000 (22:35 +0300)]
Issue #3271: Wire from sketch is built wrong

When collecting all wires from sketch faces, check all edges of the wire (instead of the first one) to be already processed within other wires. It will avoid taking full contours, which share an edge.

3 years agoTask #3236: Generalization of extrusion
Artem Zhidkov [Fri, 24 Jul 2020 13:20:21 +0000 (16:20 +0300)]
Task #3236: Generalization of extrusion

Update icons for the type choice.

3 years agoTask #3236: Generalization of extrusion
Artem Zhidkov [Fri, 24 Jul 2020 08:12:28 +0000 (11:12 +0300)]
Task #3236: Generalization of extrusion

Fix regression within Pipe's base shape selection.

3 years agoTask #3236: Generalization of extrusion
Artem Zhidkov [Thu, 23 Jul 2020 17:12:16 +0000 (20:12 +0300)]
Task #3236: Generalization of extrusion

Fix regressions in unit tests

3 years agoTask #3236: Generalization of extrusion
Artem Zhidkov [Thu, 23 Jul 2020 13:02:09 +0000 (16:02 +0300)]
Task #3236: Generalization of extrusion

Allow to use wires and shells as an argument of the Extrusion

3 years agoAvoid message about unknown 'salome_iapp' within unit tests. Finalization.
Artem Zhidkov [Thu, 23 Jul 2020 07:32:05 +0000 (10:32 +0300)]
Avoid message about unknown 'salome_iapp' within unit tests. Finalization.

3 years agoFix for the issue #19815 : cloison07 fails
mpv [Wed, 22 Jul 2020 09:44:37 +0000 (12:44 +0300)]
Fix for the issue #19815 : cloison07 fails

3 years agoFix the projection of periodic B-spline curve to non-orthogonal plane.
Artem Zhidkov [Tue, 21 Jul 2020 08:36:51 +0000 (11:36 +0300)]
Fix the projection of periodic B-spline curve to non-orthogonal plane.