Salome HOME
modules/shaper.git
7 years agoAdded MultiRotation feature (parametric API).
Clarisse Genrault [Wed, 5 Apr 2017 13:15:04 +0000 (15:15 +0200)]
Added MultiRotation feature (parametric API).

7 years agoAdded multirotation feature.
Clarisse Genrault [Tue, 4 Apr 2017 12:08:44 +0000 (14:08 +0200)]
Added multirotation feature.

7 years agoMerge branch 'master' into cgt/devCEA
Clarisse Genrault [Mon, 3 Apr 2017 14:32:54 +0000 (16:32 +0200)]
Merge branch 'master' into cgt/devCEA

7 years agoAdded multirotation feature.
Clarisse Genrault [Mon, 3 Apr 2017 14:26:45 +0000 (16:26 +0200)]
Added multirotation feature.

7 years agoIssue #2024 Redesign of circle and arc of circle : build coincidence to attribute...
nds [Mon, 3 Apr 2017 13:20:56 +0000 (16:20 +0300)]
Issue #2024 Redesign of circle and arc of circle : build coincidence to attribute selected on previous macro arc.

Filling of Center attribute is approved by DBV.

7 years agoIssue #2029: Change the color of the Sketch when fully constrained.
nds [Mon, 3 Apr 2017 12:04:31 +0000 (15:04 +0300)]
Issue #2029: Change the color of the Sketch when fully constrained.

Case: create two sketches, 2nd is fully defined, Edit 1st sketch. Result was that it was in green.

7 years agoFix jumping of a circle built by three points
azv [Mon, 3 Apr 2017 11:56:29 +0000 (14:56 +0300)]
Fix jumping of a circle built by three points

7 years agoIssue #2083: Creation of sketch arc by center have unexpected behavior
azv [Mon, 3 Apr 2017 11:38:13 +0000 (14:38 +0300)]
Issue #2083: Creation of sketch arc by center have unexpected behavior

Use intersection point as end point of an arc if the any feature has been selected

7 years agoLine reentrant creation: do not create line if point is clicked in viewer, but releas...
nds [Mon, 3 Apr 2017 10:22:22 +0000 (13:22 +0300)]
Line reentrant creation: do not create line if point is clicked in viewer, but released out of viewer. In this case, the line will not be displayed until Sketch is applyed.

7 years agoFix compilation errors on Linux
azv [Mon, 3 Apr 2017 10:14:48 +0000 (13:14 +0300)]
Fix compilation errors on Linux

7 years agoIssue #2068: change of arc is by jump even due to smooth mouse movement
azv [Mon, 3 Apr 2017 09:45:17 +0000 (12:45 +0300)]
Issue #2068: change of arc is by jump even due to smooth mouse movement

Improve building of tangent arc by taking into account a point, selected by user.

7 years agoIssue #2077: mirror constraint is destroyed
azv [Mon, 3 Apr 2017 05:26:55 +0000 (08:26 +0300)]
Issue #2077: mirror constraint is destroyed

Notify listeners about feature update only if at least one attribute is changed

7 years agoFix for the issue #2078 : enable result of enabled feature only
mpv [Mon, 3 Apr 2017 08:38:35 +0000 (11:38 +0300)]
Fix for the issue #2078 : enable result of enabled feature only

7 years agoFixed crash on when creating circle by 3 points.
dbv [Mon, 3 Apr 2017 07:48:35 +0000 (10:48 +0300)]
Fixed crash on when creating circle by 3 points.

7 years agoIssues #2027: trim on cirlce(arc will be created). Result of selected will clear...
nds [Mon, 3 Apr 2017 07:45:52 +0000 (10:45 +0300)]
Issues #2027: trim on cirlce(arc will be created). Result of selected will clear selected object set in the trim

7 years agoIssues #2027, #2024, #2063, #2067: reentrant message to fill new operation by result...
nds [Mon, 3 Apr 2017 06:46:24 +0000 (09:46 +0300)]
Issues #2027, #2024, #2063, #2067: reentrant message to fill new operation by result of the previous one. Issue #2064(PartSet_OperationPrs)

Line ends on Linux, do not flush ModelAPI_EventReentrantMessage(it is not grouping signal)

7 years agoIssues #2027, #2024, #2063, #2067: reentrant message to fill new operation by result...
nds [Mon, 3 Apr 2017 06:11:27 +0000 (09:11 +0300)]
Issues #2027, #2024, #2063, #2067: reentrant message to fill new operation by result of the previous one. Issue #2064(PartSet_OperationPrs)

7 years agoIssues #2027, #2024, #2063, #2067: reentrant message to fill new operation by result...
nds [Mon, 3 Apr 2017 05:59:04 +0000 (08:59 +0300)]
Issues #2027, #2024, #2063, #2067: reentrant message to fill new operation by result of the previous one. Issue #2064(PartSet_OperationPrs)

7 years agoFix compilation errors on Linux
azv [Mon, 3 Apr 2017 03:54:36 +0000 (06:54 +0300)]
Fix compilation errors on Linux

7 years agoFix to meet coding rules
azv [Sat, 1 Apr 2017 14:42:02 +0000 (17:42 +0300)]
Fix to meet coding rules

7 years agoUse tolerance 1e-7 for checking volume in the Model test cases.
azv [Sat, 1 Apr 2017 14:34:16 +0000 (17:34 +0300)]
Use tolerance 1e-7 for checking volume in the Model test cases.

7 years agoInitialize parameter of SketchPlugin_Arc on execute() to avoid its reverting
azv [Sat, 1 Apr 2017 13:50:54 +0000 (16:50 +0300)]
Initialize parameter of SketchPlugin_Arc on execute() to avoid its reverting

7 years agoImprove updating "Multi" constraints
azv [Sat, 1 Apr 2017 13:15:37 +0000 (16:15 +0300)]
Improve updating "Multi" constraints

7 years agoGeomAPI_Circ2d: correct checking of parameter on periodic tangent curve
azv [Sat, 1 Apr 2017 09:16:22 +0000 (12:16 +0300)]
GeomAPI_Circ2d: correct checking of parameter on periodic tangent curve

7 years agoCleanup code of SketchPlugin_Fillet feature. Move calculation of tangent circle to...
azv [Sat, 1 Apr 2017 08:33:13 +0000 (11:33 +0300)]
Cleanup code of SketchPlugin_Fillet feature. Move calculation of tangent circle to GeomAPI_Circ2d.

7 years agoIssue #2039: Wrong fillet orientation on a segment/arc intersection
azv [Fri, 31 Mar 2017 14:25:14 +0000 (17:25 +0300)]
Issue #2039: Wrong fillet orientation on a segment/arc intersection

Improve calculation of the center of fillet arc

7 years agoCorrect misprint in name of "Coordinates" attribute of SketchPlugin_Point
azv [Fri, 31 Mar 2017 12:46:18 +0000 (15:46 +0300)]
Correct misprint in name of "Coordinates" attribute of SketchPlugin_Point

7 years agoFix the problem of not previewed results of constraints applied. Flash Delete (for...
mpv [Fri, 31 Mar 2017 13:36:17 +0000 (16:36 +0300)]
Fix the problem of not previewed results of constraints applied. Flash Delete (for the sketch result) to start processing of the sketch in the solver.

7 years agoFix problem with unit tests on CentOS
azv [Fri, 31 Mar 2017 12:36:41 +0000 (15:36 +0300)]
Fix problem with unit tests on CentOS

7 years agoIssue #2077: mirror constraint is destroyed
azv [Fri, 31 Mar 2017 12:00:32 +0000 (15:00 +0300)]
Issue #2077: mirror constraint is destroyed

Prohibit to move copied entities.
Fix error with incorrect blocking of attribute changed event.

7 years agoIssue #2060: wrong constraint is conflicting with others error
azv [Fri, 31 Mar 2017 09:52:31 +0000 (12:52 +0300)]
Issue #2060: wrong constraint is conflicting with others error

Correct searching of constraints needed to set two lines collinear

7 years agoIssue #2073: Fatal error when mirror
azv [Fri, 31 Mar 2017 08:38:03 +0000 (11:38 +0300)]
Issue #2073: Fatal error when mirror

Check consistency of "Multi" constraints (Mirror, Rotation, Translation) when removing entity from the sketch.

7 years agoIssue #2074: Constraint on mirrored segment
azv [Fri, 31 Mar 2017 08:18:58 +0000 (11:18 +0300)]
Issue #2074: Constraint on mirrored segment

Check list of conflicting constraint even if solver reports about Success calculation.

7 years agoSend groupped events in finishOperation() until they exist
mpv [Fri, 31 Mar 2017 07:55:25 +0000 (10:55 +0300)]
Send groupped events in finishOperation() until they exist

7 years agoCorrection of formating issue
vsv [Thu, 30 Mar 2017 16:07:21 +0000 (19:07 +0300)]
Correction of formating issue

7 years agoIssue #2069: Provide custom color for symbol based constraint
vsv [Thu, 30 Mar 2017 15:40:08 +0000 (18:40 +0300)]
Issue #2069: Provide custom color for symbol based constraint

7 years agoUpdated clothespin model.
dbv [Thu, 30 Mar 2017 15:35:01 +0000 (18:35 +0300)]
Updated clothespin model.

7 years agoIssue #1830: Fuse do a bad result
dbv [Thu, 30 Mar 2017 15:34:44 +0000 (18:34 +0300)]
Issue #1830: Fuse do a bad result

Updated Boolean validator. Now it does not allow to select only sub-shapes of the same shape.

7 years agoFix passing events during the Undo operation (issues #2062, #2070)
azv [Thu, 30 Mar 2017 13:59:26 +0000 (16:59 +0300)]
Fix passing events during the Undo operation (issues #2062, #2070)

7 years agoFix for the issue #2009: always save with history line moved to the end.
mpv [Thu, 30 Mar 2017 11:52:00 +0000 (14:52 +0300)]
Fix for the issue #2009: always save with history line moved to the end.

7 years agoIssue #2027 Sketcher Trim Feature: preselection in reentrant operation
nds [Thu, 30 Mar 2017 10:33:52 +0000 (13:33 +0300)]
Issue #2027 Sketcher Trim Feature: preselection in reentrant operation

7 years agoIssue #2027 Sketcher Trim Feature: preselection in reentrant operation
nds [Thu, 30 Mar 2017 10:21:07 +0000 (13:21 +0300)]
Issue #2027 Sketcher Trim Feature: preselection in reentrant operation

7 years agoIssue #2045: crash when load python script
dbv [Thu, 30 Mar 2017 09:32:20 +0000 (12:32 +0300)]
Issue #2045: crash when load python script

Fixed order of shapes in TNaming_NamedShape after copy of Part.

7 years agoWorkaround for TestConstraintTangent
azv [Thu, 30 Mar 2017 09:22:04 +0000 (12:22 +0300)]
Workaround for TestConstraintTangent

7 years agoCorrect DoF calculation
azv [Thu, 30 Mar 2017 09:11:10 +0000 (12:11 +0300)]
Correct DoF calculation

7 years agoIssue #2027 Modification of data strtucture outside of transaction when create circle...
nds [Thu, 30 Mar 2017 08:58:53 +0000 (11:58 +0300)]
Issue #2027 Modification of data strtucture outside of transaction when create circle on face of box

Modification is proposed by MPV

7 years agoIssue #2027 Modification of data strtucture outside of transaction when create circle...
nds [Thu, 30 Mar 2017 08:10:52 +0000 (11:10 +0300)]
Issue #2027 Modification of data strtucture outside of transaction when create circle on face of box

Modification is proposed by MPV

7 years agoCorrect DoF calculation when adding new entity into fully constrained sketch
azv [Thu, 30 Mar 2017 08:03:04 +0000 (11:03 +0300)]
Correct DoF calculation when adding new entity into fully constrained sketch

7 years agoLine width should be less than 100 signs
nds [Thu, 30 Mar 2017 07:39:53 +0000 (10:39 +0300)]
Line width should be less than 100 signs

7 years agoIssue #2071 Fatal error when Create box
nds [Thu, 30 Mar 2017 06:54:37 +0000 (09:54 +0300)]
Issue #2071 Fatal error when Create box

7 years agoIssue #2029 Change the color of the Sketch when fully constrained
nds [Thu, 30 Mar 2017 06:02:34 +0000 (09:02 +0300)]
Issue #2029 Change the color of the Sketch when fully constrained

7 years agoIssue #1848: Redesign Sketcher mirrorEntities
azv [Thu, 30 Mar 2017 06:00:34 +0000 (09:00 +0300)]
Issue #1848: Redesign Sketcher mirrorEntities

Generate error when cyclic dependency between original and mirrored entities has been detected

7 years agoFix test
dbv [Wed, 29 Mar 2017 17:19:09 +0000 (20:19 +0300)]
Fix test

7 years agoFixed test
dbv [Wed, 29 Mar 2017 16:29:52 +0000 (19:29 +0300)]
Fixed test

7 years agoAdjust test cases according to updated Arc behavior
azv [Wed, 29 Mar 2017 15:37:32 +0000 (18:37 +0300)]
Adjust test cases according to updated Arc behavior

7 years agoImprove behavior of MacroCircle
azv [Wed, 29 Mar 2017 15:37:09 +0000 (18:37 +0300)]
Improve behavior of MacroCircle

7 years agoIssue #2044: Error detection in the parametric API
dbv [Wed, 29 Mar 2017 14:19:34 +0000 (17:19 +0300)]
Issue #2044: Error detection in the parametric API

Test fix.

7 years agoSketch with the Fixed constraints only should be processed as usual sketch
azv [Wed, 29 Mar 2017 14:08:34 +0000 (17:08 +0300)]
Sketch with the Fixed constraints only should be processed as usual sketch

7 years agoIssue #2044: Error detection in the parametric API
dbv [Wed, 29 Mar 2017 13:57:24 +0000 (16:57 +0300)]
Issue #2044: Error detection in the parametric API

Set attribute invalid flag when selection with bad name passed.

7 years agoIssue #2044: Error detection in the parametric API
dbv [Wed, 29 Mar 2017 13:35:11 +0000 (16:35 +0300)]
Issue #2044: Error detection in the parametric API

Set attribute invalid flag when selection with bad name passed.

7 years agoAllow arc parameters to be recalculated by sketch solver
azv [Wed, 29 Mar 2017 13:18:09 +0000 (16:18 +0300)]
Allow arc parameters to be recalculated by sketch solver

7 years agoIssue #2029 Change the color of the Sketch when fully constrained
nds [Wed, 29 Mar 2017 13:07:54 +0000 (16:07 +0300)]
Issue #2029 Change the color of the Sketch when fully constrained

7 years agoResolve constraint only when all events have been processed by the PlaneGCSSolver
azv [Wed, 29 Mar 2017 12:30:26 +0000 (15:30 +0300)]
Resolve constraint only when all events have been processed by the PlaneGCSSolver

7 years agoMerge branch 'master' into cgt/devCEA
Clarisse Genrault [Wed, 29 Mar 2017 11:55:56 +0000 (13:55 +0200)]
Merge branch 'master' into cgt/devCEA

7 years agoIssue #2029 Change the color of the Sketch when fully constrained
nds [Wed, 29 Mar 2017 11:47:27 +0000 (14:47 +0300)]
Issue #2029 Change the color of the Sketch when fully constrained

7 years agoFix the problem with TestFeaturesExtrusion.py test fail: correctly move the history...
mpv [Wed, 29 Mar 2017 11:38:44 +0000 (14:38 +0300)]
Fix the problem with TestFeaturesExtrusion.py test fail: correctly move the history line when the feature is moved.

7 years agoIssue #2058: Fatal error when create split constraint
azv [Wed, 29 Mar 2017 10:56:21 +0000 (13:56 +0300)]
Issue #2058: Fatal error when create split constraint

Fix wrong processing of tangent constraint between line and circle having one coincident point.

7 years agoDisabled validator for arc end point in creation method by passed point.
dbv [Wed, 29 Mar 2017 09:50:43 +0000 (12:50 +0300)]
Disabled validator for arc end point in creation method by passed point.

7 years agoIssue #2066: crash when create Circle with Origin of coordinate sustem selected as...
dbv [Wed, 29 Mar 2017 09:50:18 +0000 (12:50 +0300)]
Issue #2066: crash when create Circle with Origin of coordinate sustem selected as Centre point

Fixed crash

7 years agoIssue #2063 crash during trim: Rename Label of control into "Segment"
nds [Wed, 29 Mar 2017 09:16:07 +0000 (12:16 +0300)]
Issue #2063 crash during trim: Rename Label of control into "Segment"

7 years agoIssue #2063 crash during trim: it was corrected with #2065 issue, TestTrimLine02...
nds [Wed, 29 Mar 2017 09:06:59 +0000 (12:06 +0300)]
Issue #2063 crash during trim: it was corrected with #2065 issue, TestTrimLine02.py is created for this scenario

7 years agoIssue #2024: Redesign of circle and arc of circle
dbv [Wed, 29 Mar 2017 09:01:10 +0000 (12:01 +0300)]
Issue #2024: Redesign of circle and arc of circle

Fixed arc orientation when creating by 3 point

7 years agoUnit tests fixes related to python swigged lists iteration
mpv [Wed, 29 Mar 2017 08:36:45 +0000 (11:36 +0300)]
Unit tests fixes related to python swigged lists iteration

7 years agoIssue #2027 Sketcher Trim Feature: clear PreviewObject reference as it is not necessa...
nds [Wed, 29 Mar 2017 08:28:56 +0000 (11:28 +0300)]
Issue #2027 Sketcher Trim Feature: clear PreviewObject reference as it is not necessary during execute. Save conflicting color in symbol presentation.

7 years agoIssue #2038: Incorrect naming after translation
dbv [Wed, 29 Mar 2017 08:22:14 +0000 (11:22 +0300)]
Issue #2038: Incorrect naming after translation

Fixed naming for translated compsolid

7 years agoChecking that collinearity constraint is already in the solver
azv [Wed, 29 Mar 2017 08:01:30 +0000 (11:01 +0300)]
Checking that collinearity constraint is already in the solver

7 years agoIssue #2027 Sketcher Trim Feature: unit-test for Trim of crossed W by a line.
nds [Wed, 29 Mar 2017 07:01:48 +0000 (10:01 +0300)]
Issue #2027 Sketcher Trim Feature: unit-test for Trim of crossed W by a line.

7 years agoIssue #2027 Sketcher Trim Feature: coincidence unit test case
nds [Wed, 29 Mar 2017 05:40:07 +0000 (08:40 +0300)]
Issue #2027 Sketcher Trim Feature: coincidence unit test case

Line lenght should be less than 100 signs

7 years agoIssue #2027 Sketcher Trim Feature: coincidence unit test case
nds [Wed, 29 Mar 2017 05:30:54 +0000 (08:30 +0300)]
Issue #2027 Sketcher Trim Feature: coincidence unit test case

7 years agoIssue #1868: Crash with dump python when I translate a same object several times
dbv [Tue, 28 Mar 2017 13:43:35 +0000 (16:43 +0300)]
Issue #1868: Crash with dump python when I translate a same object several times

Dump will show error window if history line not at the end.

7 years agoIssue #2046: Naming incorrect after an extrusion of a wire.
dbv [Tue, 28 Mar 2017 11:25:30 +0000 (14:25 +0300)]
Issue #2046: Naming incorrect after an extrusion of a wire.

Fixed naming faces for extrusion of wire.

7 years agoFix coding style (line length <= 100)
azv [Tue, 28 Mar 2017 08:45:50 +0000 (11:45 +0300)]
Fix coding style (line length <= 100)

7 years agoAdjust test cases according to redesigned Arc and Circle features
azv [Tue, 28 Mar 2017 07:52:50 +0000 (10:52 +0300)]
Adjust test cases according to redesigned Arc and Circle features

7 years agoIssue #2024: Redesign of circle and arc of circle
dbv [Tue, 28 Mar 2017 08:16:51 +0000 (11:16 +0300)]
Issue #2024: Redesign of circle and arc of circle

Removed redundant method.

7 years agoIssue #2024: Redesign of circle and arc of circle
nds [Tue, 28 Mar 2017 07:18:43 +0000 (10:18 +0300)]
Issue #2024: Redesign of circle and arc of circle

Deflection for Presentations if result has not been created yet(Macro Circle, Fillet)

7 years agoTask 2.6. Change color of fully constrained sketch
azv [Tue, 28 Mar 2017 07:04:31 +0000 (10:04 +0300)]
Task 2.6. Change color of fully constrained sketch

7 years agoTestTrimCircle.py is removed
nds [Tue, 28 Mar 2017 06:50:07 +0000 (09:50 +0300)]
TestTrimCircle.py is removed

7 years agoCircle: correction for crash by edit circle in SALOME mode
nds [Tue, 28 Mar 2017 04:49:53 +0000 (07:49 +0300)]
Circle: correction for crash by edit circle in SALOME mode

7 years agoIssue #2024: Redesign of circle and arc of circle
dbv [Mon, 27 Mar 2017 15:21:49 +0000 (18:21 +0300)]
Issue #2024: Redesign of circle and arc of circle

Validators update

7 years agoIssue #2027: Sketcher Trim Feature unit tests for Circle/Arc
nds [Mon, 27 Mar 2017 14:48:18 +0000 (17:48 +0300)]
Issue #2027: Sketcher Trim Feature unit tests for Circle/Arc

7 years agoIssue #2024: Redesign of circle and arc of circle (validate preselected object)
nds [Mon, 27 Mar 2017 13:59:25 +0000 (16:59 +0300)]
Issue #2024: Redesign of circle and arc of circle (validate preselected object)

Issue #2027: Sketcher Trim Feature (debug)

7 years agoIssue #2024: Redesign of circle and arc of circle
dbv [Mon, 27 Mar 2017 13:32:15 +0000 (16:32 +0300)]
Issue #2024: Redesign of circle and arc of circle

Removed unused widget.

7 years agoIssue #2024: Redesign of circle and arc of circle
dbv [Mon, 27 Mar 2017 10:08:47 +0000 (13:08 +0300)]
Issue #2024: Redesign of circle and arc of circle

Updated validators for arc.

7 years agoFix of the exception of edit field (loaded with a study)
mpv [Mon, 27 Mar 2017 10:11:24 +0000 (13:11 +0300)]
Fix of the exception of edit field (loaded with a study)

7 years agoFix for the issue #1947 : export fields to GEOM as a full set of sub-shapes with...
mpv [Mon, 27 Mar 2017 09:13:33 +0000 (12:13 +0300)]
Fix for the issue #1947 : export fields to GEOM as a full set of sub-shapes with only selected values as not-default.

7 years agoRevert change for MacroArc attribute names
azv [Mon, 27 Mar 2017 09:10:13 +0000 (12:10 +0300)]
Revert change for MacroArc attribute names

7 years agoIssue #2024: Redesign of circle and arc of circle
azv [Mon, 27 Mar 2017 06:20:34 +0000 (09:20 +0300)]
Issue #2024: Redesign of circle and arc of circle

Constraints for tangent arc

7 years agoIssue #2024: Redesign of circle and arc of circle
azv [Sat, 25 Mar 2017 14:20:16 +0000 (17:20 +0300)]
Issue #2024: Redesign of circle and arc of circle

* Prepare shape for MacroArc according to already selected points.

7 years agoIssue #2024: Redesign of circle and arc of circle
azv [Sat, 25 Mar 2017 09:35:35 +0000 (12:35 +0300)]
Issue #2024: Redesign of circle and arc of circle

* Prepare shape for MacroCircle according to already selected points.
* Remove waste fields (myCenter and myRadius) from MacroCircle class.
* Adjust test cases for creating circle.

7 years agoIssue #2024: Redesign of circle and arc of circle
dbv [Fri, 24 Mar 2017 14:04:06 +0000 (17:04 +0300)]
Issue #2024: Redesign of circle and arc of circle

Redesigned "real" arc feature.