Salome HOME
modules/shaper.git
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 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 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 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 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 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 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 agoAbility to select centers of circles and ellipses, not existing in the context shape.
mpv [Tue, 25 Apr 2017 08:57:30 +0000 (11:57 +0300)]
Ability to select centers of circles and ellipses, not existing in the context shape.

7 years agoIssue #2133: Edge with middle node constraint can be moved
azv [Tue, 25 Apr 2017 08:31:09 +0000 (11:31 +0300)]
Issue #2133: Edge with middle node constraint can be moved

Move entities similar as FreeCAD (2 steps):
1. Initialize solver with initial positions of the feature and add temporary constraints.
2. Set new coordinates and then solve the set of constraints.

7 years agoAdded a new CSWA big model, created by DBC.
mpv [Mon, 24 Apr 2017 06:03:29 +0000 (09:03 +0300)]
Added a new CSWA big model, created by DBC.

7 years agoFix regressions in unit tests caused by previous change
azv [Mon, 24 Apr 2017 05:43:17 +0000 (08:43 +0300)]
Fix regressions in unit tests caused by previous change

7 years agoFix the frequently appeared "conflicting constraints" message when the point is coinc...
azv [Fri, 21 Apr 2017 15:12:39 +0000 (18:12 +0300)]
Fix the frequently appeared "conflicting constraints" message when the point is coincident with the feature and its extremity.

7 years agoIssue #2137: Synchronize active and module documents
vsv [Fri, 21 Apr 2017 14:29:21 +0000 (17:29 +0300)]
Issue #2137: Synchronize active and module documents

7 years agoIssue #2136: Update tree view on activation of a part
vsv [Fri, 21 Apr 2017 13:00:12 +0000 (16:00 +0300)]
Issue #2136: Update tree view on activation of a part

7 years agoIssue #2139: Lines attached to Extern lines can be moved
azv [Fri, 21 Apr 2017 11:38:46 +0000 (14:38 +0300)]
Issue #2139: Lines attached to Extern lines can be moved

Check the feature is a projection before converting it to the data structure applicable for the solver.

7 years agoFix for the issue #2132 : save current feature correctly for the composite features...
mpv [Tue, 18 Apr 2017 10:32:14 +0000 (13:32 +0300)]
Fix for the issue #2132 : save current feature correctly for the composite features, do not make nested features be active on open (this disables composites)

7 years agoPrepare version 2.7.0 V_2.7.0
mpv [Wed, 12 Apr 2017 14:11:50 +0000 (17:11 +0300)]
Prepare version 2.7.0

7 years agoIssue #2131 See preview button does not work
nds [Wed, 12 Apr 2017 13:29:04 +0000 (16:29 +0300)]
Issue #2131 See preview button does not work

7 years agoIssue #1220 Crash when creating an arc passing through the arc connected to both...
nds [Wed, 12 Apr 2017 13:13:55 +0000 (16:13 +0300)]
Issue #1220 Crash when creating an arc passing through the arc connected to both ends

7 years agoIssue #2130: arc is done not as desired
azv [Wed, 12 Apr 2017 10:16:32 +0000 (13:16 +0300)]
Issue #2130: arc is done not as desired

Fix problem with adjusting parameter to a period of a circle, the built arc is tangent

7 years agoIssue #2120 - Crash when creating an arc passing through the arc connected to both...
nds [Wed, 12 Apr 2017 10:03:42 +0000 (13:03 +0300)]
Issue #2120 - Crash when creating an arc passing through the arc connected to both ends

7 years agoIssue #2126: Fatal error when create fillet
azv [Wed, 12 Apr 2017 09:15:37 +0000 (12:15 +0300)]
Issue #2126: Fatal error when create fillet

Avoid to select point-on-entity as a fillet vertex

7 years agoAdjust arc intersection validator (issue #2120)
azv [Wed, 12 Apr 2017 08:31:07 +0000 (11:31 +0300)]
Adjust arc intersection validator (issue #2120)

7 years agoFix for the issue #2115
mpv [Wed, 12 Apr 2017 07:34:12 +0000 (10:34 +0300)]
Fix for the issue #2115

7 years agoFix for crash of unit-test TestCreateCircleByCenterAndPassed on Windows where it...
mpv [Wed, 12 Apr 2017 07:13:07 +0000 (10:13 +0300)]
Fix for crash of unit-test TestCreateCircleByCenterAndPassed on Windows where it tries to make a circle tangent to line that goes through the circle center.

7 years agoIssue #2129 Crash when clicking on Length after multiple selections
nds [Tue, 11 Apr 2017 16:29:46 +0000 (19:29 +0300)]
Issue #2129 Crash when clicking on Length after multiple selections

7 years agoIssue #2055 Import feature : the file type selector doesn't work
nds [Tue, 11 Apr 2017 15:04:50 +0000 (18:04 +0300)]
Issue #2055 Import feature : the file type selector doesn't work

7 years agoIssue #2122: Unexpected Sketcher behavior when creating Coincidence : Remove invalid...
nds [Tue, 11 Apr 2017 15:03:39 +0000 (18:03 +0300)]
Issue #2122: Unexpected Sketcher behavior when creating Coincidence : Remove invalid external feature

7 years agoFix for #2129 : even the resulting compound of edges is geometrically same, topology...
mpv [Tue, 11 Apr 2017 14:20:27 +0000 (17:20 +0300)]
Fix for #2129 : even the resulting compound of edges is geometrically same, topology may be different, so selected faces in sketch must be updated to use the same curves.

7 years agoIssue #2122: Unexpected Sketcher behavior when creating Coincidence : Preselection...
nds [Tue, 11 Apr 2017 13:36:35 +0000 (16:36 +0300)]
Issue #2122: Unexpected Sketcher behavior when creating Coincidence : Preselection is corrected.

7 years agoIssue #1058: Crash when creating a distance between source and translated elements
azv [Tue, 11 Apr 2017 12:26:04 +0000 (15:26 +0300)]
Issue #1058: Crash when creating a distance between source and translated elements

Show message about circular dependency for translated/rotated elements

7 years agoIssue #2127: arc disappears after move
azv [Tue, 11 Apr 2017 12:14:49 +0000 (15:14 +0300)]
Issue #2127: arc disappears after move

Workaround for Debian 8.0: project end point when building an arc

7 years agoIssue #2126: Fatal error when create fillet
azv [Tue, 11 Apr 2017 11:24:23 +0000 (14:24 +0300)]
Issue #2126: Fatal error when create fillet

Improve validator of the fillet vertex (should not be able to select already tangent features)

7 years agoIssue #2123: Unexpected Sketcher behavior when creating Coincidence
nds [Tue, 11 Apr 2017 11:08:10 +0000 (14:08 +0300)]
Issue #2123: Unexpected Sketcher behavior when creating Coincidence

7 years agoAdjust test cases for the Trim feature
azv [Tue, 11 Apr 2017 11:01:43 +0000 (14:01 +0300)]
Adjust test cases for the Trim feature

7 years agoIssue #2128: Fatal error when select arc
azv [Tue, 11 Apr 2017 10:17:21 +0000 (13:17 +0300)]
Issue #2128: Fatal error when select arc

Do not process tangent arcs/circles as entities with shared point if this point is a center.

7 years agoIssue #2123: Unexpected Sketcher behavior when creating Coincidence
nds [Tue, 11 Apr 2017 10:10:15 +0000 (13:10 +0300)]
Issue #2123: Unexpected Sketcher behavior when creating Coincidence

7 years agoIssue #2127: arc disappears after move
azv [Tue, 11 Apr 2017 08:58:11 +0000 (11:58 +0300)]
Issue #2127: arc disappears after move

Remove temporary constraints if the solver failed and then recalculate set of constraints once again.

7 years agoIssue #2121: Problems when editing a radius value
nds [Tue, 11 Apr 2017 04:59:33 +0000 (07:59 +0300)]
Issue #2121: Problems when editing a radius value

7 years agoIssue #2120: Crash when creating an arc passing through the arc connected to both...
azv [Mon, 10 Apr 2017 13:49:40 +0000 (16:49 +0300)]
Issue #2120: Crash when creating an arc passing through the arc connected to both ends

7 years agoIssue #2117: Problem when creating an arc by 3 points ending on the same circle
azv [Mon, 10 Apr 2017 13:03:28 +0000 (16:03 +0300)]
Issue #2117: Problem when creating an arc by 3 points ending on the same circle

7 years agoIssue #2116 Crash when Splitting a circle crossing external segments
nds [Mon, 10 Apr 2017 09:33:11 +0000 (12:33 +0300)]
Issue #2116 Crash when Splitting a circle crossing external segments

7 years agoFix for the issue #2115
mpv [Mon, 10 Apr 2017 08:00:18 +0000 (11:00 +0300)]
Fix for the issue #2115

7 years agoIssue #2112 performance for partition
nds [Fri, 7 Apr 2017 12:19:00 +0000 (15:19 +0300)]
Issue #2112 performance for partition

7 years agoExternal edges color should not be changed when sketch is fully constrained.
nds [Fri, 7 Apr 2017 12:02:11 +0000 (15:02 +0300)]
External edges color should not be changed when sketch is fully constrained.

7 years agoOrigin selection as Rotation center of Sketch Rotation feature.
nds [Fri, 7 Apr 2017 09:12:11 +0000 (12:12 +0300)]
Origin selection as Rotation center of Sketch Rotation feature.

7 years agoIssue #1671: Update default value for SALOME
vsv [Fri, 7 Apr 2017 09:00:14 +0000 (12:00 +0300)]
Issue #1671: Update default value for SALOME

7 years agoIssue #2111: Strange compsolid
dbv [Fri, 7 Apr 2017 08:37:22 +0000 (11:37 +0300)]
Issue #2111: Strange compsolid

Moved validation of selected objects for generation from attribute validator to feature validator.

7 years agoAvoid instability in "gear.py" test model
azv [Fri, 7 Apr 2017 07:45:04 +0000 (10:45 +0300)]
Avoid instability in "gear.py" test model

7 years agoIssue #2099 Multi-selection with Shift button works incorrect during partition
nds [Fri, 7 Apr 2017 06:07:29 +0000 (09:07 +0300)]
Issue #2099 Multi-selection with Shift button works incorrect during partition

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