Salome HOME
modules/shaper.git
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

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.

7 years agoFix compilation problem on Linux
azv [Fri, 24 Mar 2017 13:26:41 +0000 (16:26 +0300)]
Fix compilation problem on Linux

7 years agoIssue #2024: Redesign of circle and arc of circle
dbv [Fri, 24 Mar 2017 12:36:48 +0000 (15:36 +0300)]
Issue #2024: Redesign of circle and arc of circle

Redesigned "real" arc feature.

7 years agoIssue #2024: Redesign of circle and arc of circle
azv [Fri, 24 Mar 2017 12:24:38 +0000 (15:24 +0300)]
Issue #2024: Redesign of circle and arc of circle

Implement validators for MacroCircle feature

7 years agoIssue #2024: Redesign of circle and arc of circle
dbv [Thu, 23 Mar 2017 14:44:10 +0000 (17:44 +0300)]
Issue #2024: Redesign of circle and arc of circle

Initial arc redesign commit.

7 years agoIssue #2024 - Redesign of circle and arc of circle: fill Reference Attribute
nds [Thu, 23 Mar 2017 08:33:32 +0000 (11:33 +0300)]
Issue #2024 - Redesign of circle and arc of circle: fill Reference Attribute

Type of Circle macro feature should be saved by restarting of operation.

7 years agoIssue #2024: Redesign of circle and arc of circle
azv [Thu, 23 Mar 2017 07:25:11 +0000 (10:25 +0300)]
Issue #2024: Redesign of circle and arc of circle

1. Add possibility to select features while constructing circle by three points
2. Redesign of SketchPlugin_MacroCircle: move all geometric constructions to GeomAPI_Circ2d.

7 years agoIssue #2024: Redesign of circle and arc of circle: Unit tests for creation of a circl...
azv [Wed, 22 Mar 2017 07:05:21 +0000 (10:05 +0300)]
Issue #2024: Redesign of circle and arc of circle: Unit tests for creation of a circle by different mode

7 years agoIssue #2024 - Redesign of circle and arc of circle: fill Reference Attribute
nds [Mon, 20 Mar 2017 12:25:34 +0000 (15:25 +0300)]
Issue #2024 - Redesign of circle and arc of circle: fill Reference Attribute

1. Do not call execute(), this is obsolete functionality done for Rectangle feature(as lines were created in execute(), now one is created in attribute changed). It is checked without execute that coincidence is set to rectangle's features to line/point selected.
2. shapeContains/shapeExploreHasVertex should not be called by preselection if feature contains reference attribute(coincidence will not be created by selection)

7 years agoIssue #2024 - Redesign of circle and arc of circle: fill Reference Attribute
nds [Mon, 20 Mar 2017 10:23:50 +0000 (13:23 +0300)]
Issue #2024 - Redesign of circle and arc of circle: fill Reference Attribute

See preview button visibility in Property Panel should be read from XML definition of the feature

7 years agoIssue #2024: Redesign of circle and arc of circle
dbv [Mon, 20 Mar 2017 07:29:31 +0000 (10:29 +0300)]
Issue #2024: Redesign of circle and arc of circle

Redesigned circle creation. Now Circle feature is a macro which creates Circle feature with center and radius attributes.

7 years agoFix for the issue #2052 : correct update of selection of the whole sketch if the...
mpv [Fri, 24 Mar 2017 14:56:24 +0000 (17:56 +0300)]
Fix for the issue #2052 : correct update of selection of the whole sketch if the number of faces is reduced.

7 years agoIssue #2053 fix: on open file create results taking into account dependencies in...
mpv [Fri, 24 Mar 2017 08:15:52 +0000 (11:15 +0300)]
Issue #2053 fix: on open file create results taking into account dependencies in composite features.

7 years agoSet the correct environment for the current Linux version compilation.
mpv [Thu, 23 Mar 2017 11:07:05 +0000 (14:07 +0300)]
Set the correct environment for the current Linux version compilation.

7 years agoMigration to the newer SALOME
mpv [Thu, 23 Mar 2017 10:38:58 +0000 (13:38 +0300)]
Migration to the newer SALOME

7 years agoAdd tests.
Clarisse Genrault [Thu, 23 Mar 2017 09:10:57 +0000 (10:10 +0100)]
Add tests.

7 years agoFix for the issue #2020 : take into account not yet loaded documents to generate...
mpv [Wed, 22 Mar 2017 14:44:51 +0000 (17:44 +0300)]
Fix for the issue #2020 : take into account not yet loaded documents to generate a new document persistent ID.

7 years agoFix bug on messages error.
Clarisse Genrault [Wed, 22 Mar 2017 14:43:57 +0000 (15:43 +0100)]
Fix bug on messages error.

7 years agoUpdate of the comment line
mpv [Wed, 22 Mar 2017 12:32:54 +0000 (15:32 +0300)]
Update of the comment line

7 years agoFix fir the issue #2035 : crash on remove of depended Parts
mpv [Wed, 22 Mar 2017 12:29:06 +0000 (15:29 +0300)]
Fix fir the issue #2035 : crash on remove of depended Parts

7 years agoFix for the issue #1997 : correct update of the point of sketch after update of sketc...
mpv [Wed, 22 Mar 2017 11:02:32 +0000 (14:02 +0300)]
Fix for the issue #1997 : correct update of the point of sketch after update of sketch plane.

7 years agoFix the problem of color overwriting
mpv [Tue, 21 Mar 2017 13:47:11 +0000 (16:47 +0300)]
Fix the problem of color overwriting

7 years agoFix of problem in "gear" big model with selection of the whole construction result...
mpv [Tue, 21 Mar 2017 11:42:25 +0000 (14:42 +0300)]
Fix of problem in "gear" big model with selection of the whole construction result (using the object browser) located in PartSet.

7 years ago#2027 Sketcher Trim Feature: correction of compilation on Linux
nds [Tue, 21 Mar 2017 09:06:06 +0000 (12:06 +0300)]
#2027 Sketcher Trim Feature: correction of compilation on Linux

7 years ago#2027 Sketcher Trim Feature: correction of compilation on Linux
nds [Tue, 21 Mar 2017 08:10:30 +0000 (11:10 +0300)]
#2027 Sketcher Trim Feature: correction of compilation on Linux

7 years ago#2027 Sketcher Trim Feature: 1. preview/selected attributes in trim; 2. avoid includi...
nds [Tue, 21 Mar 2017 08:01:46 +0000 (11:01 +0300)]
#2027 Sketcher Trim Feature: 1. preview/selected attributes in trim; 2. avoid including GeomAPI in ModelAPI headers

7 years agoImprove movement of single point of a constrained feature.
azv [Tue, 21 Mar 2017 07:02:28 +0000 (10:02 +0300)]
Improve movement of single point of a constrained feature.

This change caused by incorrect "conflicting constraints" message while moving the feature under Horizontal constraint. The problem is the fixing of the whole feature even in case of single point is moved. There has been implemented searching of the changed attribute and fixing it only.

7 years agoAdjust Model test cases according to new behavior of Tangent constraint.
azv [Mon, 20 Mar 2017 12:52:04 +0000 (15:52 +0300)]
Adjust Model test cases according to new behavior of Tangent constraint.