Salome HOME
modules/shaper.git
7 years agoIssue #2101: A point cannot be coincident to both, X and Y axises
azv [Wed, 5 Apr 2017 12:09:41 +0000 (15:09 +0300)]
Issue #2101: A point cannot be coincident to both, X and Y axises

7 years agoFixed isEqual for GeomAPI_Face
dbv [Wed, 5 Apr 2017 12:01:50 +0000 (15:01 +0300)]
Fixed isEqual for GeomAPI_Face

7 years agoIssue 1974: Incorrect fillet after sketch modification
azv [Wed, 5 Apr 2017 11:37:41 +0000 (14:37 +0300)]
Issue 1974: Incorrect fillet after sketch modification

Avoid preparing presentation when Fillet is already or almost created

7 years agoFixes for issue #1936, issue #1956, issue #2035. Undo of Part delete restores the...
mpv [Wed, 5 Apr 2017 11:29:53 +0000 (14:29 +0300)]
Fixes for issue #1936, issue #1956, issue #2035. Undo of Part delete restores the part, but to go inside and make it filled, it is necessary to activate the part first.

7 years agoIssue #2095: Fillet with mirror produces a problem in solver
azv [Wed, 5 Apr 2017 10:50:10 +0000 (13:50 +0300)]
Issue #2095: Fillet with mirror produces a problem in solver

- Improve update of mirrored entities
- Adjust stack depth
- Unit test for the issue

7 years agoIssue #2082: Sketch multiple rotation does not work as expected
azv [Wed, 5 Apr 2017 07:58:58 +0000 (10:58 +0300)]
Issue #2082: Sketch multiple rotation does not work as expected

Avoid blocking features in PlaneGCSSolver for a long time.

7 years agoIssue #2059 point in sketch is created not on selected line of external sketchPlane...
nds [Wed, 5 Apr 2017 10:03:23 +0000 (13:03 +0300)]
Issue #2059 point in sketch is created not on selected line of external sketchPlane: lines symbols <= 100

7 years agoIssue #2059 point in sketch is created not on selected line of external sketchPlane...
nds [Wed, 5 Apr 2017 09:53:16 +0000 (12:53 +0300)]
Issue #2059 point in sketch is created not on selected line of external sketchPlane: should store/restore local selection if shape was not changed

7 years ago#2098 Selection is lost after drag sketch entity in viewer
nds [Wed, 5 Apr 2017 04:35:51 +0000 (07:35 +0300)]
#2098 Selection is lost after drag sketch entity in viewer

7 years agoWarning fix.
dbv [Wed, 5 Apr 2017 08:36:32 +0000 (11:36 +0300)]
Warning fix.

7 years agoIssue #2090: Line not selectable when creating an arc by its center
dbv [Wed, 5 Apr 2017 08:21:40 +0000 (11:21 +0300)]
Issue #2090: Line not selectable when creating an arc by its center

Fixed validator.

7 years agoIssue #1799 : export group sub-shape to GEOM even if context is concealed.
mpv [Wed, 5 Apr 2017 05:52:10 +0000 (08:52 +0300)]
Issue #1799 : export group sub-shape to GEOM even if context is concealed.

7 years agoIssue #2095: Fillet with mirror produces a problem in solver
azv [Wed, 5 Apr 2017 05:00:01 +0000 (08:00 +0300)]
Issue #2095: Fillet with mirror produces a problem in solver

Increased stack depth.

7 years agoIssue #2092: Middle constraint not removed when creating a fillet
dbv [Tue, 4 Apr 2017 14:35:02 +0000 (17:35 +0300)]
Issue #2092: Middle constraint not removed when creating a fillet

Now middle constraint removed when creating fillet.

7 years agoIssue #2090: Line not selectable when creating an arc by its center
dbv [Tue, 4 Apr 2017 14:11:04 +0000 (17:11 +0300)]
Issue #2090: Line not selectable when creating an arc by its center

Fixed arc validator.

7 years ago#2084 invalid sketch after trim: control of reentrant trim is filled only by message...
nds [Tue, 4 Apr 2017 13:47:47 +0000 (16:47 +0300)]
#2084 invalid sketch after trim: control of reentrant trim is filled only by message of trim feature

7 years ago#2084 Unknown error when trim: Do not copyAttribute
nds [Tue, 4 Apr 2017 12:48:25 +0000 (15:48 +0300)]
#2084 Unknown error when trim: Do not copyAttribute

7 years agoFixed crash when attribute External in feature Projection changed.
dbv [Tue, 4 Apr 2017 12:38:04 +0000 (15:38 +0300)]
Fixed crash when attribute External in feature Projection changed.

7 years agoIssue #2024 Redesign of circle and arc of circle: test correction(reason: center...
nds [Tue, 4 Apr 2017 12:00:39 +0000 (15:00 +0300)]
Issue #2024 Redesign of circle and arc of circle: test correction(reason: center attribute is always initialized)

7 years agoFix crash on Debian 8 when selecting center of circle while creation
azv [Tue, 4 Apr 2017 11:57:40 +0000 (14:57 +0300)]
Fix crash on Debian 8 when selecting center of circle while creation

7 years agoIssue #2052 : really remove results if during the feature execution number of results...
mpv [Tue, 4 Apr 2017 11:27:38 +0000 (14:27 +0300)]
Issue #2052 : really remove results if during the feature execution number of results becomes smaller.

7 years agoIssue #2024 Redesign of circle and arc of circle: message of reentrant Line should...
nds [Tue, 4 Apr 2017 11:23:11 +0000 (14:23 +0300)]
Issue #2024 Redesign of circle and arc of circle: message of reentrant Line should not be processed in Horizontal reentrant feature

7 years agoIssue #2067 crash when create circle with start point laying on existing circle ...
nds [Tue, 4 Apr 2017 09:46:40 +0000 (12:46 +0300)]
Issue #2067 crash when create circle with start point laying on existing circle : reentrant operation that uses circle' center as preselection for a new circle

7 years agoIssue #2027 Sketcher Trim Feature: unit-tests
nds [Tue, 4 Apr 2017 07:42:11 +0000 (10:42 +0300)]
Issue #2027 Sketcher Trim Feature: unit-tests

7 years agoIssue #2024 Redesign of circle and arc of circle : restart operation will not happen...
nds [Tue, 4 Apr 2017 05:49:30 +0000 (08:49 +0300)]
Issue #2024 Redesign of circle and arc of circle : restart operation will not happen if the previous cannot be committed. E.g. Line feature

Sometimes there is a crash by line restart if the previous Line creation is aborted: in processEvent of Line feature, where the attribute of previous created feature is used to build coincidence to start point of new feature Line.

7 years agoIssue #2052: Modification of parameters don't work (sketch, extrusion)
azv [Mon, 3 Apr 2017 14:46:06 +0000 (17:46 +0300)]
Issue #2052: Modification of parameters don't work (sketch, extrusion)

Fix problem with sketch update

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