Salome HOME
modules/shaper.git
6 years agoPorting to the current version of TInspector.
nds [Mon, 26 Jun 2017 13:19:55 +0000 (16:19 +0300)]
Porting to the current version of TInspector.

6 years agoFix errors in SketchPlugin/plugin-Sketch.xml
azv [Thu, 22 Jun 2017 06:37:53 +0000 (09:37 +0300)]
Fix errors in SketchPlugin/plugin-Sketch.xml

6 years agoMerge branch 'Pre_2.8.0_development'
azv [Thu, 22 Jun 2017 05:08:46 +0000 (08:08 +0300)]
Merge branch 'Pre_2.8.0_development'

# Conflicts:
# src/PartSet/CMakeLists.txt
# src/SketchSolver/SketchSolver_ConstraintFixed.cpp
# src/SketchSolver/SketchSolver_Group.cpp

6 years agoIssue #2177 : change the message text.
mpv [Tue, 20 Jun 2017 06:52:48 +0000 (09:52 +0300)]
Issue #2177 : change the message text.

7 years agoIssue #2190: Sketcher : 2 successive circles having the same center (the origin)
azv [Wed, 14 Jun 2017 12:07:34 +0000 (15:07 +0300)]
Issue #2190: Sketcher : 2 successive circles having the same center (the origin)

Improve calculating of intermediate circle if the center is coincident with another point.

7 years agoIssue #2146: EDF proposal : non regression test models
azv [Wed, 14 Jun 2017 11:45:06 +0000 (14:45 +0300)]
Issue #2146: EDF proposal : non regression test models

Test case piece_09.py has been improved and integrated.

7 years agoIssue #2196: Process "Auxiliary" attribute on lines update
Vitaly SMETANNIKOV [Thu, 8 Jun 2017 09:20:48 +0000 (12:20 +0300)]
Issue #2196: Process "Auxiliary" attribute on lines update

7 years agoAdd copyright header according to request of CEA from 06.06.2017
Vitaly SMETANNIKOV [Wed, 7 Jun 2017 14:56:24 +0000 (17:56 +0300)]
Add copyright header according to request of CEA from 06.06.2017

7 years agoAdd copyright header according to request of CEA from 06.06.2017
Vitaly SMETANNIKOV [Wed, 7 Jun 2017 14:54:10 +0000 (17:54 +0300)]
Add copyright header according to request of CEA from 06.06.2017

7 years agoAdd copyright header according to request of CEA from 06.06.2017
Vitaly SMETANNIKOV [Wed, 7 Jun 2017 14:53:33 +0000 (17:53 +0300)]
Add copyright header according to request of CEA from 06.06.2017

7 years agoAdd copyright header according to request of CEA from 06.06.2017
Vitaly SMETANNIKOV [Wed, 7 Jun 2017 14:49:12 +0000 (17:49 +0300)]
Add copyright header according to request of CEA from 06.06.2017

7 years agoAdd copyright header according to request of CEA from 06.06.2017
Vitaly SMETANNIKOV [Wed, 7 Jun 2017 14:48:25 +0000 (17:48 +0300)]
Add copyright header according to request of CEA from 06.06.2017

7 years agoAdd copyright header according to request of CEA from 06.06.2017
Vitaly SMETANNIKOV [Wed, 7 Jun 2017 10:10:31 +0000 (13:10 +0300)]
Add copyright header according to request of CEA from 06.06.2017

7 years agoAdd copyright header according to request of CEA from 06.06.2017
Vitaly SMETANNIKOV [Wed, 7 Jun 2017 09:25:24 +0000 (12:25 +0300)]
Add copyright header according to request of CEA from 06.06.2017

7 years agoIssues #2173 Can't set length on several edges when property panel is undocked,
nds [Thu, 1 Jun 2017 05:25:34 +0000 (08:25 +0300)]
Issues #2173 Can't set length on several edges when property panel is undocked,

#2169 Segmentation fault when drawing sketch line with undocked property panel

7 years agoIssue #2176 Incorrect sketch after abort: deactivate of sketch overconstraint listene...
nds [Tue, 30 May 2017 14:13:23 +0000 (17:13 +0300)]
Issue #2176 Incorrect sketch after abort: deactivate of sketch overconstraint listener should be done after abort/commit is finished. Solver may send signal about healing conflicts during abort execution.

7 years agoIssues #2173, #2169: Activate PropertyPanel window to accept focus always in double...
nds [Mon, 29 May 2017 12:50:49 +0000 (15:50 +0300)]
Issues #2173, #2169: Activate PropertyPanel window to accept focus always in double editor(even after click in the viewer)

7 years agoIssues #2173, #2169: Activate PropertyPanel window to accept focus always in double...
nds [Mon, 29 May 2017 12:48:01 +0000 (15:48 +0300)]
Issues #2173, #2169: Activate PropertyPanel window to accept focus always in double editor(even after click in the viewer)

7 years agoIssues #2173, #2169: Activate PropertyPanel window to accept focus always in double...
nds [Mon, 29 May 2017 12:38:34 +0000 (15:38 +0300)]
Issues #2173, #2169: Activate PropertyPanel window to accept focus always in double editor(even after click in the viewer)

7 years agoCorrection for Jenkins: number of symbols should be less than 100
nds [Mon, 29 May 2017 12:04:43 +0000 (15:04 +0300)]
Correction for Jenkins: number of symbols should be less than 100

7 years agoIssues #2173, #2169: processing focus in widget by SHAPER loop (instead of Qt loop...
nds [Thu, 25 May 2017 14:23:40 +0000 (17:23 +0300)]
Issues #2173, #2169: processing focus in widget by SHAPER loop (instead of Qt loop). Reason, to process it in Qt loop we need to have Property Panel always as active but it is not possible as we wish click in the view or python console.

7 years agoIssue #2179: Mirror in the sketcher : no refresh after the displacement of circles
azv [Thu, 25 May 2017 05:21:12 +0000 (08:21 +0300)]
Issue #2179: Mirror in the sketcher : no refresh after the displacement of circles

Notify observers about moving the feature each time without respect to another constraints

7 years agoMinor corrections: coding rules
mpv [Wed, 24 May 2017 12:07:40 +0000 (15:07 +0300)]
Minor corrections: coding rules

7 years agoMake name of level-2 sub-shape in the sketch naming equal as it is named at level...
mpv [Wed, 24 May 2017 12:01:13 +0000 (15:01 +0300)]
Make name of level-2 sub-shape in the sketch naming equal as it is named at level-1 (reproduced in bearing_puller test as name-instability)

7 years agoCreated a unit-test for the issue #2170
mpv [Wed, 24 May 2017 06:06:16 +0000 (09:06 +0300)]
Created a unit-test for the issue #2170

7 years agoFix for the issue #2170
mpv [Tue, 23 May 2017 14:46:09 +0000 (17:46 +0300)]
Fix for the issue #2170

7 years agoIssue #2175: Moving a point of a rectangle is too slow
azv [Tue, 23 May 2017 13:12:02 +0000 (16:12 +0300)]
Issue #2175: Moving a point of a rectangle is too slow

Make moving only the dragged entity.

7 years agoFix regressions found by unit tests
azv [Tue, 23 May 2017 12:10:52 +0000 (15:10 +0300)]
Fix regressions found by unit tests

7 years agoIssue #2171: Avoid error message appears for tangency constraint
azv [Tue, 23 May 2017 12:00:44 +0000 (15:00 +0300)]
Issue #2171: Avoid error message appears for tangency constraint

7 years agoIssue #2151: Conflicting constraint when opening a study twice
azv [Tue, 23 May 2017 11:35:17 +0000 (14:35 +0300)]
Issue #2151: Conflicting constraint when opening a study twice

Avoid self-notifying of Middle-point and Collinear constraints while updating

7 years agoIssue #1918: Unable to create a tangent arc.
azv [Tue, 23 May 2017 10:03:10 +0000 (13:03 +0300)]
Issue #1918: Unable to create a tangent arc.

Fix crash on tangent arc with infinite radius.

7 years agoFix the problem of the updating of "multi" constraints
azv [Tue, 23 May 2017 09:54:12 +0000 (12:54 +0300)]
Fix the problem of the updating of "multi" constraints

7 years agoIssue #2169 Segmentation fault when drawing sketch line with undocked property panel
nds [Tue, 23 May 2017 09:23:47 +0000 (12:23 +0300)]
Issue #2169 Segmentation fault when drawing sketch line with undocked property panel

debug iformation

7 years agoIssue #1254 Multiselection field is cleared when trying to add another object
nds [Tue, 23 May 2017 07:48:51 +0000 (10:48 +0300)]
Issue #1254 Multiselection field is cleared when trying to add another object

7 years agoPrepare version 2.7.1 V_2.7.1
mpv [Fri, 19 May 2017 12:06:00 +0000 (15:06 +0300)]
Prepare version 2.7.1

7 years agoTune the parametric update in the big model test
mpv [Fri, 19 May 2017 08:04:49 +0000 (11:04 +0300)]
Tune the parametric update in the big model test

7 years agoIssue #2146 : new big models for nightly tests
mpv [Thu, 18 May 2017 16:19:39 +0000 (19:19 +0300)]
Issue #2146 : new big models for nightly tests

7 years agoMake in bearing_puller big model correct system of constraints: no over-constraint...
mpv [Thu, 18 May 2017 13:22:07 +0000 (16:22 +0300)]
Make in bearing_puller big model correct system of constraints: no over-constraint situation, but fully constrained Sketch_1 in Arm parts.

7 years agoIssue #1135 Hide all for GEOM objects
nds [Thu, 18 May 2017 08:56:04 +0000 (11:56 +0300)]
Issue #1135 Hide all for GEOM objects

7 years agoFix processing multiply point-point coincidences (fix for the model test cases)
azv [Wed, 17 May 2017 14:40:17 +0000 (17:40 +0300)]
Fix processing multiply point-point coincidences (fix for the model test cases)

7 years agoIssue #2167: error when create circle
azv [Wed, 17 May 2017 12:21:55 +0000 (15:21 +0300)]
Issue #2167: error when create circle

Fix validator for the passed point (compare referred objects not features)

7 years agoStabilization of the model behavior. The external fixed point at origin is not needed...
mpv [Wed, 17 May 2017 10:31:58 +0000 (13:31 +0300)]
Stabilization of the model behavior. The external fixed point at origin is not needed, since the external axis has the same initial point.

7 years agoFix crash while updating number of copied of "Multi" constraints.
azv [Wed, 17 May 2017 09:06:09 +0000 (12:06 +0300)]
Fix crash while updating number of copied of "Multi" constraints.
Fix unchangeable value of Multi-Rotation constraint.

7 years agoFix jumping a feature to the Origin while moving
azv [Wed, 17 May 2017 08:30:08 +0000 (11:30 +0300)]
Fix jumping a feature to the Origin while moving

7 years agoIssue #2166: wrong conflicting constraint error when create point on external edge
azv [Wed, 17 May 2017 08:11:55 +0000 (11:11 +0300)]
Issue #2166: wrong conflicting constraint error when create point on external edge

7 years agoRevert setting coincidence to attribute(not object) of touched feature by the Trim...
azv [Wed, 17 May 2017 07:23:05 +0000 (10:23 +0300)]
Revert setting coincidence to attribute(not object) of touched feature by the Trim feature.

7 years agoFix to avoid crashes in unit tests
azv [Tue, 16 May 2017 15:06:26 +0000 (18:06 +0300)]
Fix to avoid crashes in unit tests

7 years agoMeet coding style (line length <= 100)
azv [Tue, 16 May 2017 14:45:17 +0000 (17:45 +0300)]
Meet coding style (line length <= 100)

7 years agoFix for the issue #2165 : reuse of the variable in expression of this variable is...
mpv [Tue, 16 May 2017 14:42:26 +0000 (17:42 +0300)]
Fix for the issue #2165 : reuse of the variable in expression of this variable is not allowed now.

7 years agoIssue #2154: Do not synchronize selection for result and features if any operation...
vsv [Tue, 16 May 2017 14:35:07 +0000 (17:35 +0300)]
Issue #2154: Do not synchronize selection for result and features if any operation is started.

7 years agoFix incorrect processing of the copied entities after the "Multi" constraint has...
azv [Tue, 16 May 2017 12:54:43 +0000 (15:54 +0300)]
Fix incorrect processing of the copied entities after the "Multi" constraint has been removed

7 years agoFix for the issue #2164 : publish field-steps in the SALOME GEOM data tree.
mpv [Tue, 16 May 2017 14:04:14 +0000 (17:04 +0300)]
Fix for the issue #2164 : publish field-steps in the SALOME GEOM data tree.

7 years agoCorrection for regression: create two lines, start Lenght, edit value, enter, Esc...
nds [Tue, 16 May 2017 12:39:26 +0000 (15:39 +0300)]
Correction for regression: create two lines, start Lenght, edit value, enter, Esc. It leads to line with zero size in the viewer.

7 years agoIssue #2154 Multiselection field is cleared when trying to add another object
nds [Tue, 16 May 2017 12:15:13 +0000 (15:15 +0300)]
Issue #2154 Multiselection field is cleared when trying to add another object

1. EVENT_UPDATE_BY_WIDGET_SELECTION should be flushed after ObjectBrowser updateCommandStatus
2. Synchronization should also happens in ObjectBrowser.
Not implemented: deselection of result in Object Browser if an operation is active

7 years agoIssue #2155 Trim removes multi-rotation constraint, undo leads to wrong DOF
nds [Tue, 16 May 2017 10:11:38 +0000 (13:11 +0300)]
Issue #2155 Trim removes multi-rotation constraint, undo leads to wrong DOF

3. set coincidence to attribute(not object) of touched feature.

7 years agoIssue #2155 Trim removes multi-rotation constraint, undo leads to wrong DOF
nds [Tue, 16 May 2017 09:29:41 +0000 (12:29 +0300)]
Issue #2155 Trim removes multi-rotation constraint, undo leads to wrong DOF

1. remove multi constraints only if references is to selected objects attribute
2. set tangency constraint to the nearest geometry placed feature.

7 years agoIssue #2163: Prevent recursive iteration on list update
vsv [Mon, 15 May 2017 13:19:20 +0000 (16:19 +0300)]
Issue #2163: Prevent recursive iteration on list update

7 years agoFix for the issue #2156: Impossible to valid the sketch after macro-feature is executed.
mpv [Mon, 15 May 2017 10:41:21 +0000 (13:41 +0300)]
Fix for the issue #2156: Impossible to valid the sketch after macro-feature is executed.

7 years agoUbuntu problem correction: zero deflection was used because of another system local...
nds [Fri, 12 May 2017 14:11:00 +0000 (17:11 +0300)]
Ubuntu problem correction: zero deflection was used because of another system local. The conversion string->double is corrected like in SALOME kernel conversion is performed.

7 years agoTask 2.4. Ability to modify the radius of circles and arcs of circle with the mouse Pre_2.8.0_development
azv [Fri, 12 May 2017 12:52:14 +0000 (15:52 +0300)]
Task 2.4. Ability to modify the radius of circles and arcs of circle with the mouse

Unit test for the new movement feature

7 years agoSimplification and refactoring of unit tests for SketchPlugin
azv [Thu, 11 May 2017 12:35:09 +0000 (15:35 +0300)]
Simplification and refactoring of unit tests for SketchPlugin

7 years agoIssue #2159 Hide all incomplete behavior
nds [Thu, 11 May 2017 10:49:34 +0000 (13:49 +0300)]
Issue #2159 Hide all incomplete behavior

7 years agoIssue #2156 Impossible to valid the sketch: Lines should be <= 100 characters long
nds [Thu, 11 May 2017 07:04:53 +0000 (10:04 +0300)]
Issue #2156 Impossible to valid the sketch: Lines should be <= 100 characters long

7 years agoIssue #2156 Impossible to valid the sketch: better debug information about store...
nds [Thu, 11 May 2017 06:49:09 +0000 (09:49 +0300)]
Issue #2156 Impossible to valid the sketch: better debug information about store/restore current feature in document

7 years agoIssue #2161: Fatal error when creating a circle coincident to an existing circle...
azv [Thu, 11 May 2017 05:11:16 +0000 (08:11 +0300)]
Issue #2161: Fatal error when creating a circle coincident to an existing circle in a sketch

Fatal error has been eliminated.

7 years agoIssue #2149 Split does not highlight the selected edge
nds [Wed, 10 May 2017 14:43:32 +0000 (17:43 +0300)]
Issue #2149 Split does not highlight the selected edge

7 years agoIssue #2149 Split does not highlight the selected edge
nds [Wed, 10 May 2017 14:29:21 +0000 (17:29 +0300)]
Issue #2149 Split does not highlight the selected edge

7 years agoIssue #2149 Split does not highlight the selected edge
nds [Wed, 10 May 2017 14:20:21 +0000 (17:20 +0300)]
Issue #2149 Split does not highlight the selected edge

7 years agoTask 2.7. Horizontal and Vertical Distance constraint
azv [Wed, 3 May 2017 05:25:22 +0000 (08:25 +0300)]
Task 2.7. Horizontal and Vertical Distance constraint

1. Implemented SketchPlugin entities related to Horizontal and Vertical Distance constraints.
2. Add processing of new constraints in the solver.
3. Special Python commands for new constraints in SketchAPI
4. Unit tests

7 years agoIssue #2158: Crash when trimming a circle
azv [Sat, 6 May 2017 13:15:42 +0000 (16:15 +0300)]
Issue #2158: Crash when trimming a circle

Do not cast tangent curves to arcs when they have a shared point (i.e. arc and circle may have shared point or constraint has been changed by not processed by solver),

7 years agoTask 2.4. Ability to modify the radius of circles and arcs of circle with the mouse
azv [Fri, 5 May 2017 14:22:49 +0000 (17:22 +0300)]
Task 2.4. Ability to modify the radius of circles and arcs of circle with the mouse

Complete new movement functionality

7 years agoTask 2.4. Ability to modify the radius of circles and arcs of circle with the mouse
azv [Fri, 5 May 2017 07:16:15 +0000 (10:16 +0300)]
Task 2.4. Ability to modify the radius of circles and arcs of circle with the mouse

Code cleanup and debug of features movement.

7 years agoFix incorrect processing Tangent features in case the extremity coincidence between...
azv [Fri, 5 May 2017 07:04:44 +0000 (10:04 +0300)]
Fix incorrect processing Tangent features in case the extremity coincidence between these features has been changed (not removed).

7 years agoIssue #2148: Moving an arc displays a circle
azv [Thu, 4 May 2017 11:52:14 +0000 (14:52 +0300)]
Issue #2148: Moving an arc displays a circle

Force recalculating arc parameter when it is became a full circle.

7 years agoMeet the coding style (line length <= 100)
azv [Thu, 4 May 2017 08:08:47 +0000 (11:08 +0300)]
Meet the coding style (line length <= 100)

7 years agoIssues #2150 and #2151: Frequently appeared "Conflicting constraints" message for...
azv [Thu, 4 May 2017 08:03:03 +0000 (11:03 +0300)]
Issues #2150 and #2151: Frequently appeared "Conflicting constraints" message for valid sketch.

Improve processing of multi-coincidence by placing coincident points into different groups. Since now it is taken into account only the points to form the group (on the other works, the feature cannot be an initializer of the coincidence group).

7 years agoTask 2.4. Ability to modify the radius of circles and arcs of circle with the mouse
nds [Tue, 2 May 2017 10:46:30 +0000 (13:46 +0300)]
Task 2.4. Ability to modify the radius of circles and arcs of circle with the mouse

Correction of compilation on Jenkins.

7 years agoTask 2.4. Ability to modify the radius of circles and arcs of circle with the mouse
nds [Tue, 2 May 2017 10:22:02 +0000 (13:22 +0300)]
Task 2.4. Ability to modify the radius of circles and arcs of circle with the mouse

Sending ModelAPI_ObjectMovedMessage signal instead of the previous sending usual update signal.

7 years agoMeet the coding style (line length <= 100)
azv [Fri, 28 Apr 2017 15:04:15 +0000 (18:04 +0300)]
Meet the coding style (line length <= 100)

7 years agoTask 2.4. Ability to modify the radius of circles and arcs of circle with the mouse
azv [Fri, 28 Apr 2017 14:58:33 +0000 (17:58 +0300)]
Task 2.4. Ability to modify the radius of circles and arcs of circle with the mouse

Redesign of the movement processing in the PlaneGCSSolver plugin.

7 years agoIssue #2144: Workaround for the bug consists in clearing of presentations on removal...
vsv [Fri, 28 Apr 2017 13:35:47 +0000 (16:35 +0300)]
Issue #2144: Workaround for the bug consists in clearing of presentations on removal of the constraint object

7 years agoFix colors of highlighting of symbol constraints
vsv [Thu, 27 Apr 2017 15:31:42 +0000 (18:31 +0300)]
Fix colors of highlighting of symbol constraints

7 years agoDebug of the external ellipse center selection.
mpv [Thu, 27 Apr 2017 14:33:56 +0000 (17:33 +0300)]
Debug of the external ellipse center selection.

7 years agoDebug of the external circle center selection.
mpv [Thu, 27 Apr 2017 13:24:03 +0000 (16:24 +0300)]
Debug of the external circle center selection.

7 years agoSet of fixes to avoid crashes on invalid document from issue #2147 opening.
mpv [Thu, 27 Apr 2017 12:31:28 +0000 (15:31 +0300)]
Set of fixes to avoid crashes on invalid document from issue #2147 opening.

7 years agoUnification of the selection symbol of points
nds [Thu, 27 Apr 2017 10:22:07 +0000 (13:22 +0300)]
Unification of the selection symbol of points

7 years agoImprove sketch performance while moving entities
azv [Thu, 27 Apr 2017 07:52:15 +0000 (10:52 +0300)]
Improve sketch performance while moving entities

7 years agoAdjust TestConstraintHorizontalValidator.py
azv [Thu, 27 Apr 2017 07:27:07 +0000 (10:27 +0300)]
Adjust TestConstraintHorizontalValidator.py

7 years agoMeet the coding style (line length <= 100)
azv [Thu, 27 Apr 2017 05:04:17 +0000 (08:04 +0300)]
Meet the coding style (line length <= 100)

7 years agoTask 2.1. Creation of ellipses and arcs of ellipse.
azv [Thu, 27 Apr 2017 04:47:33 +0000 (07:47 +0300)]
Task 2.1. Creation of ellipses and arcs of ellipse.

Sketch feature Ellipse has been implemented from skratch

7 years agoMeet the coding style (line length <= 100)
azv [Wed, 26 Apr 2017 07:22:12 +0000 (10:22 +0300)]
Meet the coding style (line length <= 100)

7 years agoImplementation of a task "Show centers of external circular objects in current sketcher"
vsv [Wed, 26 Apr 2017 15:55:47 +0000 (18:55 +0300)]
Implementation of a task "Show centers of external circular objects in current sketcher"

7 years agoAvoid the ability to cancel the current sketch when saving.
nds [Wed, 26 Apr 2017 14:19:15 +0000 (17:19 +0300)]
Avoid the ability to cancel the current sketch when saving.

7 years agoExternal points manager object created
vsv [Wed, 26 Apr 2017 11:35:32 +0000 (14:35 +0300)]
External points manager object created

7 years agoUnit test for filter horizontal and vertical segments in H and V constraints
nds [Wed, 26 Apr 2017 11:17:58 +0000 (14:17 +0300)]
Unit test for filter horizontal and vertical segments in H and V constraints

7 years agoFix for the center of edge computation functionality.
mpv [Wed, 26 Apr 2017 10:28:03 +0000 (13:28 +0300)]
Fix for the center of edge computation functionality.

7 years agoIssue #1889 Amélioration des contraintes H et V (Filter horizontal and vertical segme...
nds [Wed, 26 Apr 2017 09:17:01 +0000 (12:17 +0300)]
Issue #1889 Amélioration des contraintes H et V (Filter horizontal and vertical segments in H and V constraints)

7 years agoAdd ellipse data type
vsv [Tue, 25 Apr 2017 12:50:25 +0000 (15:50 +0300)]
Add ellipse data type

7 years agoCorrection for case: create auxiliary cirle, try to create several lines coincident...
nds [Tue, 25 Apr 2017 12:46:03 +0000 (15:46 +0300)]
Correction for case: create auxiliary cirle, try to create several lines coincident to this circle. From third/fourth line coincidence of new line is moved to line created before previous one.

7 years agoIssue #2141 Sketch : horizontal constraint not applicated when I select a line
nds [Tue, 25 Apr 2017 12:03:46 +0000 (15:03 +0300)]
Issue #2141 Sketch : horizontal constraint not applicated when I select a line