Salome HOME
modules/shaper.git
7 years agoFix shape names for the "clothespin.py" model
azv [Fri, 7 Apr 2017 03:55:52 +0000 (06:55 +0300)]
Fix shape names for the "clothespin.py" model

7 years agoAdded test model.
dbv [Thu, 6 Apr 2017 15:25:11 +0000 (18:25 +0300)]
Added test model.

7 years agoRename test case for arc creating by three points
azv [Thu, 6 Apr 2017 14:49:06 +0000 (17:49 +0300)]
Rename test case for arc creating by three points

7 years agoUnit test for changing arc type during creation.
azv [Thu, 6 Apr 2017 14:36:56 +0000 (17:36 +0300)]
Unit test for changing arc type during creation.
Obsolete test case for arc has been removed.

7 years agoFixed crash when creating arc coinciding with already created arc.
dbv [Thu, 6 Apr 2017 14:23:45 +0000 (17:23 +0300)]
Fixed crash when creating arc coinciding with already created arc.

7 years agoAdded test for creation arc by three points
dbv [Thu, 6 Apr 2017 14:16:21 +0000 (17:16 +0300)]
Added test for creation arc by three points

7 years agoAdded test for creation arc by three points
dbv [Thu, 6 Apr 2017 14:14:59 +0000 (17:14 +0300)]
Added test for creation arc by three points

7 years agoIssue #2109 trim - wrong result due to constarints
nds [Thu, 6 Apr 2017 14:05:39 +0000 (17:05 +0300)]
Issue #2109 trim - wrong result due to constarints

7 years agoUnit test for creating arc by tangent edge
azv [Thu, 6 Apr 2017 13:42:30 +0000 (16:42 +0300)]
Unit test for creating arc by tangent edge

7 years agoIssue #2082 Sketch multiple rotation does not work as expected: debug information
nds [Thu, 6 Apr 2017 13:10:37 +0000 (16:10 +0300)]
Issue #2082 Sketch multiple rotation does not work as expected: debug information

7 years agoUpdate Arc unit test
azv [Thu, 6 Apr 2017 11:58:02 +0000 (14:58 +0300)]
Update Arc unit test

7 years agoUpdate Arc unit test
azv [Thu, 6 Apr 2017 11:27:08 +0000 (14:27 +0300)]
Update Arc unit test

7 years agoIssue #2106: Arc transformed in line problem
azv [Thu, 6 Apr 2017 11:26:38 +0000 (14:26 +0300)]
Issue #2106: Arc transformed in line problem

7 years agoUpdated model.
dbv [Thu, 6 Apr 2017 10:54:18 +0000 (13:54 +0300)]
Updated model.

7 years agoIssue #2061 arc edit problem: correction for center of arc(last described problem)
nds [Thu, 6 Apr 2017 10:17:24 +0000 (13:17 +0300)]
Issue #2061 arc edit problem: correction for center of arc(last described problem)

7 years agoRemoved Sketch DOF from checking at Python dump as it may be changed unexpectedly
dbv [Thu, 6 Apr 2017 08:57:01 +0000 (11:57 +0300)]
Removed Sketch DOF from checking at Python dump as it may be changed unexpectedly

7 years agoFixes for issue #1956 and issue #2104 : correctly remove features on part remove.
mpv [Thu, 6 Apr 2017 07:53:12 +0000 (10:53 +0300)]
Fixes for issue #1956 and issue #2104 : correctly remove features on part remove.

7 years agoIssue #2107 impossible to select segment for trim
nds [Thu, 6 Apr 2017 07:50:51 +0000 (10:50 +0300)]
Issue #2107 impossible to select segment for trim

7 years agoIssue #2079 : Select parent feature for default Constructions. Disable popup menu...
nds [Thu, 6 Apr 2017 07:00:15 +0000 (10:00 +0300)]
Issue #2079 : Select parent feature for default Constructions. Disable popup menu "Select parent feature" if feature of selected result in not history.

7 years agoIssue #2082: Sketch multiple rotation does not work as expected
azv [Thu, 6 Apr 2017 05:13:55 +0000 (08:13 +0300)]
Issue #2082: Sketch multiple rotation does not work as expected

Fix crash or restart Trim operation

7 years agoIssue #2097 Edit group with change of type does not work: undoes the previous modific...
nds [Wed, 5 Apr 2017 16:24:57 +0000 (19:24 +0300)]
Issue #2097 Edit group with change of type does not work: undoes the previous modification as clear cash will happens if control is active

7 years agoIssue #2076 Modification of selection list on "Edit"
nds [Wed, 5 Apr 2017 16:05:07 +0000 (19:05 +0300)]
Issue #2076 Modification of selection list on "Edit"

Modification for providing selection of the issue (approved by DBV)

7 years agoIssue #2097 Edit group with change of type does not work
nds [Wed, 5 Apr 2017 14:28:26 +0000 (17:28 +0300)]
Issue #2097 Edit group with change of type does not work

7 years agoFixed validator for Boolean feature.
dbv [Wed, 5 Apr 2017 14:23:57 +0000 (17:23 +0300)]
Fixed validator for Boolean feature.

7 years agoIssue #2089: Update current view scale on using of view size in sketch creation
vsv [Wed, 5 Apr 2017 14:00:10 +0000 (17:00 +0300)]
Issue #2089: Update current view scale on using of view size in sketch creation

7 years agoAdded new test model.
dbv [Wed, 5 Apr 2017 13:41:41 +0000 (16:41 +0300)]
Added new test model.

7 years agoAdded parameter to models to check recompute.
dbv [Wed, 5 Apr 2017 13:36:20 +0000 (16:36 +0300)]
Added parameter to models to check recompute.

7 years agoIssue #2102: Do not get object with Id of obsolete folder
vsv [Wed, 5 Apr 2017 13:20:59 +0000 (16:20 +0300)]
Issue #2102: Do not get object with Id of obsolete folder

7 years agoIssue #1948 multiply selection with Shift button pressed does not work
nds [Wed, 5 Apr 2017 12:55:20 +0000 (15:55 +0300)]
Issue #1948 multiply selection with Shift button pressed does not work

Regression correction, selection of dimensions leads to crash.

7 years agoIssue #1948 multiply selection with Shift button pressed does not work
nds [Wed, 5 Apr 2017 12:22:21 +0000 (15:22 +0300)]
Issue #1948 multiply selection with Shift button pressed does not work

It is important to use isSame instead of isEqual to check if shape is selected(came from owner)

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