Salome HOME
modules/shaper.git
8 years agoFirst phase of SketchSolver refactoring
azv [Tue, 15 Dec 2015 08:55:25 +0000 (11:55 +0300)]
First phase of SketchSolver refactoring

1. SketchSolver now is a base library for all other solvers
2. Created SolveSpaceSolver library to use SolveSpace.
3. Implemented minimal set of constraints: Coincidence, Fixed
4. Constraints: Horizontal, Vertical, Parallel, Perpendicular
5. Constraints: Distance, Length
6. Correct multi-coincidence of points
7. Constraints: Angle, Equal, Tangent
8. Replace list of base constraints in SketchSolver_Constraint by a single constraint
9. Constraint Mirror
10. Fix problem in arc movement
11. Multi-Rotation and Multi-Translation constraints
12. Process parametric values
13. Problem with mirror of an arc
14. Update multi-coincidence processing (several coincident points placed on single feature)

8 years ago#1123 Cancel constraint after preview: the edge does not go back to its previous...
nds [Tue, 15 Dec 2015 12:58:14 +0000 (15:58 +0300)]
#1123 Cancel constraint after preview: the edge does not go back to its previous position

In the previous case(create, delete) in the bug scenario, logic was the following:
1. The constraint feature is removed from the model, values are aborted by document. Values are correct.
2. signal created emulate signal updated. Sketch solver listens it and updates features values according to constraint(the solver did not accept delete and has knowledge about constraint)
3. signal delete is listened by solver. It removes constraint. However values of the features are modified as the constraint is applyed.

So, the solver need to obtain delete signal before create/update.

8 years ago#1107 Tab key does not change focus to Apply in circle sketch feature.
nds [Tue, 15 Dec 2015 12:25:20 +0000 (15:25 +0300)]
#1107 Tab key does not change focus to Apply in circle sketch feature.

A processing for the double click in the viewer.

8 years agoCorrect compilation on Linux.
nds [Tue, 15 Dec 2015 09:58:09 +0000 (12:58 +0300)]
Correct compilation on Linux.

8 years agoCorrect compilation on Linux.
nds [Tue, 15 Dec 2015 09:53:30 +0000 (12:53 +0300)]
Correct compilation on Linux.

8 years ago#1112 tab key doesn't work on the last field of left panels
nds [Tue, 15 Dec 2015 09:42:11 +0000 (12:42 +0300)]
#1112 tab key doesn't work on the last field of left panels

Improvement: modification of the value in the property panel should make enabled the Apply button in the panel. The value is not applyed to the model yet, but click on Apply leads to the values apply. The button becomes disabled if the result is invalid feature.

8 years agoRevert "First phase of SketchSolver refactoring"
azv [Tue, 15 Dec 2015 08:48:27 +0000 (11:48 +0300)]
Revert "First phase of SketchSolver refactoring"

This reverts commit 7beb3c7ae26709576c42b01255e2530fc866c1fa.

8 years agoFix compilation error on Linux. Part V.
azv [Tue, 15 Dec 2015 07:58:24 +0000 (10:58 +0300)]
Fix compilation error on Linux. Part V.

8 years agoFix compilation error on Linux. Part IV.
azv [Tue, 15 Dec 2015 07:26:33 +0000 (10:26 +0300)]
Fix compilation error on Linux. Part IV.

8 years agoFix compilation error on Linux. Part III.
azv [Tue, 15 Dec 2015 07:20:16 +0000 (10:20 +0300)]
Fix compilation error on Linux. Part III.

8 years agoFix compilation error on Linux. Part II.
azv [Tue, 15 Dec 2015 07:09:05 +0000 (10:09 +0300)]
Fix compilation error on Linux. Part II.

8 years agoFix compilation error on Linux
azv [Tue, 15 Dec 2015 07:03:33 +0000 (10:03 +0300)]
Fix compilation error on Linux

8 years agoFirst phase of SketchSolver refactoring
azv [Tue, 15 Dec 2015 06:39:23 +0000 (09:39 +0300)]
First phase of SketchSolver refactoring

1. SketchSolver now is a base library for all other solvers
2. Created SolveSpaceSolver library to use SolveSpace.
3. Implemented minimal set of constraints: Coincidence, Fixed
4. Constraints: Horizontal, Vertical, Parallel, Perpendicular
5. Constraints: Distance, Length
6. Correct multi-coincidence of points
7. Constraints: Angle, Equal, Tangent
8. Replace list of base constraints in SketchSolver_Constraint by a single constraint
9. Constraint Mirror
10. Fix problem in arc movement
11. Multi-Rotation and Multi-Translation constraints
12. Process parametric values
13. Problem with mirror of an arc
14. Update multi-coincidence processing (several coincident points placed on single feature)

8 years agoIt removes commented not used code.
nds [Tue, 15 Dec 2015 06:36:42 +0000 (09:36 +0300)]
It removes commented not used code.

8 years agoSketchShapePlugin: checked group box/multi editor controls, which highlight the paren...
nds [Mon, 14 Dec 2015 11:15:02 +0000 (14:15 +0300)]
SketchShapePlugin: checked group box/multi editor controls, which highlight the parent page group box.

8 years agoRevert back: Fix PointCoordindates to PointCoordinates in SketchPlugin. Problem with...
spo [Mon, 14 Dec 2015 06:33:05 +0000 (09:33 +0300)]
Revert back: Fix PointCoordindates to PointCoordinates in SketchPlugin. Problem with backward compatibility in stores studies.

8 years ago#1111 Sketch invisible
nds [Mon, 14 Dec 2015 06:29:29 +0000 (09:29 +0300)]
#1111 Sketch invisible

8 years agoCorrect header of function
Vitaly SMETANNIKOV [Fri, 11 Dec 2015 13:22:08 +0000 (16:22 +0300)]
Correct header of function

8 years ago#1105 Abort boolean operation shows warning dialog twice
nds [Fri, 11 Dec 2015 12:42:15 +0000 (15:42 +0300)]
#1105 Abort boolean operation shows warning dialog twice

8 years ago#1021 HDF file : nothing saved if only parameters and sketch were created
nds [Thu, 10 Dec 2015 10:26:31 +0000 (13:26 +0300)]
#1021 HDF file : nothing saved if only parameters and sketch were created

8 years ago#1042 Sometimes when setting distance constraints, the input field is not displayed...
nds [Thu, 10 Dec 2015 08:14:52 +0000 (11:14 +0300)]
#1042 Sometimes when setting distance constraints, the input field is not displayed in the 3D view

Code correction: moving the sketch functionality in the sketch manager.

8 years ago#1042 Sometimes when setting distance constraints, the input field is not displayed...
nds [Thu, 10 Dec 2015 07:32:56 +0000 (10:32 +0300)]
#1042 Sometimes when setting distance constraints, the input field is not displayed in the 3D view

SALOME mode: debug: wrong case: Several times click on dimension constraint digit - some times digit is not shown, sometimes it is shown.
Edit distance, double click, when operation is moved to Sketch, before launching a new operation, double click is processed by QApplication::processEvents.

8 years agoAdd missing file
spo [Thu, 10 Dec 2015 07:15:39 +0000 (10:15 +0300)]
Add missing file

8 years ago#1042 Sometimes when setting distance constraints, the input field is not displayed...
nds [Thu, 10 Dec 2015 07:00:47 +0000 (10:00 +0300)]
#1042 Sometimes when setting distance constraints, the input field is not displayed in the 3D view

SALOME mode: compilation correction

8 years ago#1042 Sometimes when setting distance constraints, the input field is not displayed...
nds [Thu, 10 Dec 2015 06:41:12 +0000 (09:41 +0300)]
#1042 Sometimes when setting distance constraints, the input field is not displayed in the 3D view

8 years agoMerge with PythonAPI branch
spo [Wed, 9 Dec 2015 11:39:22 +0000 (14:39 +0300)]
Merge with PythonAPI branch

8 years agoFix unit tests
spo [Wed, 9 Dec 2015 11:19:40 +0000 (14:19 +0300)]
Fix unit tests

8 years agoFix PointCoordindates to PointCoordinates in SketchPlugin
spo [Wed, 9 Dec 2015 08:38:26 +0000 (11:38 +0300)]
Fix PointCoordindates to PointCoordinates in SketchPlugin

8 years agoSpell-checking
spo [Wed, 9 Dec 2015 08:36:44 +0000 (11:36 +0300)]
Spell-checking

8 years agoAdd ModelAPI_AttributeIntArray to SWIG
spo [Wed, 9 Dec 2015 08:37:21 +0000 (11:37 +0300)]
Add ModelAPI_AttributeIntArray to SWIG

8 years agoMerge Dev_2.1.0 with PythonAPI branch
spo [Wed, 9 Dec 2015 08:35:56 +0000 (11:35 +0300)]
Merge Dev_2.1.0 with PythonAPI branch

8 years ago#1109 Sketch entities preview red lines stayed in the viewer after Sketch is applyed.
nds [Tue, 8 Dec 2015 15:57:38 +0000 (18:57 +0300)]
#1109 Sketch entities preview red lines stayed in the viewer after Sketch is applyed.

8 years agoCorrection for squish tests. This is a regression for avoid of initialization of...
nds [Tue, 8 Dec 2015 12:32:46 +0000 (15:32 +0300)]
Correction for squish tests. This is a regression for avoid of initialization of the line point in activate().

Erroneous case: Create lin(do not move over viewer), by tab change focus to the End point, input value. Alt+Tab to Start point. BUG: Apply is disabled. Start attribute is not initialized.

8 years agoFix suite_FEATURE_REVOLUTION
spo [Tue, 8 Dec 2015 10:16:53 +0000 (13:16 +0300)]
Fix suite_FEATURE_REVOLUTION

8 years agoFix suite_FEATURE_PARTITION
spo [Mon, 7 Dec 2015 12:42:55 +0000 (15:42 +0300)]
Fix suite_FEATURE_PARTITION

8 years agoDebug information for setFocus/activateWindow methods.
nds [Mon, 7 Dec 2015 11:19:22 +0000 (14:19 +0300)]
Debug information for setFocus/activateWindow methods.

8 years agoConstruction of vertices/edges/faces on the base of sketch: clear list attribute...
nds [Fri, 4 Dec 2015 17:31:25 +0000 (20:31 +0300)]
Construction of vertices/edges/faces on the base of sketch: clear list attribute by choice uncheck

8 years agoConstruction of vertices/edges/faces on the base of sketch: sketch attribute
nds [Fri, 4 Dec 2015 15:58:30 +0000 (18:58 +0300)]
Construction of vertices/edges/faces on the base of sketch: sketch attribute

8 years agoConstruction of vertices/edges/faces on the base of sketch: a special group box in...
nds [Fri, 4 Dec 2015 15:02:59 +0000 (18:02 +0300)]
Construction of vertices/edges/faces on the base of sketch: a special group box in shape plugin

8 years agoCorrection for Linux compilation
nds [Fri, 4 Dec 2015 05:20:48 +0000 (08:20 +0300)]
Correction for Linux compilation

8 years agoConstruction of vertices/edges/faces on the base of sketch: Widget Creator Factory
nds [Fri, 4 Dec 2015 04:18:16 +0000 (07:18 +0300)]
Construction of vertices/edges/faces on the base of sketch: Widget Creator Factory

8 years agoFix suite_FEATURE_BOOLEAN
spo [Thu, 3 Dec 2015 10:26:40 +0000 (13:26 +0300)]
Fix suite_FEATURE_BOOLEAN

8 years agoFix suite_FEATURE_BOOLEAN & suite_FEATURE_CONSTRUCTION
spo [Thu, 3 Dec 2015 10:26:40 +0000 (13:26 +0300)]
Fix suite_FEATURE_BOOLEAN & suite_FEATURE_CONSTRUCTION

8 years ago#1118 Crash the SALOME application after export
nds [Wed, 2 Dec 2015 15:11:44 +0000 (18:11 +0300)]
#1118 Crash the SALOME application after export

8 years agoFix suite_FEATURE_EXTRUSION
spo [Wed, 2 Dec 2015 14:46:53 +0000 (17:46 +0300)]
Fix suite_FEATURE_EXTRUSION

8 years agoUpdate validator
dbv [Wed, 2 Dec 2015 13:09:29 +0000 (16:09 +0300)]
Update validator

8 years agoFix suite_FEATURE_CONSTRUCTION/tst_construction_001
spo [Wed, 2 Dec 2015 12:47:14 +0000 (15:47 +0300)]
Fix suite_FEATURE_CONSTRUCTION/tst_construction_001

8 years agoFix suite_FEATURE_BOOLEAN/tst_boolean_002 & tst_boolean_003
spo [Wed, 2 Dec 2015 11:25:24 +0000 (14:25 +0300)]
Fix suite_FEATURE_BOOLEAN/tst_boolean_002 & tst_boolean_003

8 years agoFix suite_FEATURE_BOOLEAN/tst_boolean_001
spo [Wed, 2 Dec 2015 09:59:20 +0000 (12:59 +0300)]
Fix suite_FEATURE_BOOLEAN/tst_boolean_001

8 years ago#1106 Hide All in viewer when nothing is selected
nds [Tue, 1 Dec 2015 13:38:52 +0000 (16:38 +0300)]
#1106 Hide All in viewer when nothing is selected

8 years ago#1108 Point coordinates is changed after click in the viewer
nds [Tue, 1 Dec 2015 12:21:09 +0000 (15:21 +0300)]
#1108 Point coordinates is changed after click in the viewer

The problem was in myClickedPoint, it was not cleared and after click, the new line used the old clicked coordinates. The point and coincide last point of the previous line are moved to a start point of a new line.
There is a problem with this flag during Alt+TAB when creation of a line is active.
So, the decision is to remove this flag. The case to be checked: contour creation. The preview of created lines should not dragged to an origin. How it is corrected: point 2D widget do not initialize attribute by activating.

8 years agoArchitecture changes
dbv [Tue, 8 Dec 2015 08:47:58 +0000 (11:47 +0300)]
Architecture changes

8 years agoConstruction of vertices, edges and faces from a sketch: Widget creator
nds [Fri, 27 Nov 2015 04:25:44 +0000 (07:25 +0300)]
Construction of vertices, edges and faces from a sketch: Widget creator

8 years agoDo not allow user to move fixed entities (issue #1043)
azv [Fri, 27 Nov 2015 13:27:41 +0000 (16:27 +0300)]
Do not allow user to move fixed entities (issue #1043)

8 years agoFix SQUISH tests
spo [Thu, 26 Nov 2015 12:35:29 +0000 (15:35 +0300)]
Fix SQUISH tests

8 years agoRevert "Fix Warning in GeomAPI_Trsf"
spo [Thu, 26 Nov 2015 12:02:36 +0000 (15:02 +0300)]
Revert "Fix Warning in GeomAPI_Trsf"

This reverts commit c8b4135f7e35126300582be751bef42c3ba2eec3.

8 years agoFix Warning in NewGeom_Module.cpp
spo [Thu, 26 Nov 2015 11:25:57 +0000 (14:25 +0300)]
Fix Warning in NewGeom_Module.cpp

8 years agoFix Warning in GeomAlgoAPI_MakeShape
spo [Thu, 26 Nov 2015 11:20:48 +0000 (14:20 +0300)]
Fix Warning in GeomAlgoAPI_MakeShape

8 years agoFix Warning in GeomAPI_Trsf
spo [Thu, 26 Nov 2015 11:08:51 +0000 (14:08 +0300)]
Fix Warning in GeomAPI_Trsf

8 years agoFix Warning in ParametersPlugin_PyInterp.cpp
spo [Thu, 26 Nov 2015 10:52:15 +0000 (13:52 +0300)]
Fix Warning in ParametersPlugin_PyInterp.cpp

8 years agoPlugin for the folowing task: 3.4 Construction of vertices, edges and faces from...
nds [Thu, 26 Nov 2015 08:05:01 +0000 (11:05 +0300)]
Plugin for the folowing task: 3.4 Construction of vertices, edges and faces from a sketch

8 years agoArchitecture changes
dbv [Mon, 23 Nov 2015 15:22:28 +0000 (18:22 +0300)]
Architecture changes

8 years agoImprove PythonAPI documentation python_parametric_api spo/sphinx
Sergey POKHODENKO [Sat, 5 Dec 2015 21:48:17 +0000 (00:48 +0300)]
Improve PythonAPI documentation

8 years agoRemove swig.rst
Sergey POKHODENKO [Sat, 5 Dec 2015 21:47:24 +0000 (00:47 +0300)]
Remove swig.rst

Signed-off-by: spo <sergey.pokhodenko@opencascade.com>
8 years agoCreate folder model for sphinx documentation
Sergey POKHODENKO [Sat, 5 Dec 2015 20:49:23 +0000 (23:49 +0300)]
Create folder model for sphinx documentation

8 years agoAdd Sphinx documentation
spo [Fri, 4 Dec 2015 14:46:32 +0000 (17:46 +0300)]
Add Sphinx documentation

8 years agoCreate icons dependent on a shape of bodies result type
vsv [Mon, 23 Nov 2015 16:00:44 +0000 (19:00 +0300)]
Create icons dependent on a shape of bodies result type

8 years agoFix the problem with one extra DOF while making arc-arc or arc-line fillet
azv [Mon, 23 Nov 2015 12:02:52 +0000 (15:02 +0300)]
Fix the problem with one extra DOF while making arc-arc or arc-line fillet

8 years agoMerge branch 'Dev_2.1.0' of salome:modules/shaper into Dev_2.1.0
mpv [Mon, 23 Nov 2015 10:26:12 +0000 (13:26 +0300)]
Merge branch 'Dev_2.1.0' of salome:modules/shaper into Dev_2.1.0

8 years agoFix for groups export to GEOM on CompSolids
mpv [Mon, 23 Nov 2015 10:25:50 +0000 (13:25 +0300)]
Fix for groups export to GEOM on CompSolids

8 years agoProvide special symbol for parametrized dimensions
vsv [Mon, 23 Nov 2015 09:49:06 +0000 (12:49 +0300)]
Provide special symbol for parametrized dimensions

8 years agoMerge remote branch 'remotes/origin/vsr/libxml2_mdv' into Dev_2.1.0
spo [Mon, 23 Nov 2015 06:55:34 +0000 (09:55 +0300)]
Merge remote branch 'remotes/origin/vsr/libxml2_mdv' into Dev_2.1.0

8 years agoMerge remote branch 'remotes/origin/vsr/gcc_4_9_compat' into Dev_2.1.0
spo [Mon, 23 Nov 2015 06:55:29 +0000 (09:55 +0300)]
Merge remote branch 'remotes/origin/vsr/gcc_4_9_compat' into Dev_2.1.0

8 years agoRoll back integration that makes solids of compsolids impossible to select
mpv [Mon, 23 Nov 2015 06:04:00 +0000 (09:04 +0300)]
Roll back integration that makes solids of compsolids impossible to select

8 years agoRevert debug changes
dbv [Fri, 20 Nov 2015 15:25:26 +0000 (18:25 +0300)]
Revert debug changes

8 years agoPartition naming
dbv [Fri, 20 Nov 2015 13:16:19 +0000 (16:16 +0300)]
Partition naming

8 years agoPartition namig fix
dbv [Fri, 20 Nov 2015 13:46:24 +0000 (16:46 +0300)]
Partition namig fix

8 years agoFix compilation error
vsv [Fri, 20 Nov 2015 14:51:18 +0000 (17:51 +0300)]
Fix compilation error

8 years agoFix for a bug with "Move to end" command and undo
vsv [Fri, 20 Nov 2015 14:36:33 +0000 (17:36 +0300)]
Fix for a bug with "Move to end" command and undo

8 years agoFix for the issue #1100
mpv [Fri, 20 Nov 2015 06:35:05 +0000 (09:35 +0300)]
Fix for the issue #1100

8 years agoExtended Group Feature test.
dbv [Thu, 19 Nov 2015 14:50:39 +0000 (17:50 +0300)]
Extended Group Feature test.

8 years agoMerge branch 'Dev_1.5.0' into Dev_2.1.0
spo [Thu, 19 Nov 2015 11:33:33 +0000 (14:33 +0300)]
Merge branch 'Dev_1.5.0' into Dev_2.1.0

8 years agoImprove lcov scripts Dev_1.5.0
spo [Thu, 19 Nov 2015 08:16:38 +0000 (11:16 +0300)]
Improve lcov scripts

8 years agoFillet vertex validator
dbv [Wed, 18 Nov 2015 16:13:55 +0000 (19:13 +0300)]
Fillet vertex validator

8 years agoReseted Line should not be visualized in the viewer. V_2.0.0
nds [Wed, 18 Nov 2015 16:10:05 +0000 (19:10 +0300)]
Reseted Line should not be visualized in the viewer.

Quick move from viewer to PP caused the line's point moving to origin.

8 years agoRe-entrant operation: Horizontal constraint creation.
nds [Wed, 18 Nov 2015 15:36:55 +0000 (18:36 +0300)]
Re-entrant operation: Horizontal constraint creation.

Scenario: create contour, start horizontal constraint, select lines one after another. On the 3rd line, the operation is not restarted anymore.
Another scenario corrected:
Create a polyline
click on vertical constraint
click on first segment => V constraint added
click on another segment => V constraint added
click in the the background (not on a entitity)

=> Green OK disappear and sometimes the message : Modification of data structure outside of the transaction

8 years agoBug #1098: Create fillet problem
dbv [Wed, 18 Nov 2015 14:22:46 +0000 (17:22 +0300)]
Bug #1098: Create fillet problem

8 years agoFix build standalone
spo [Wed, 18 Nov 2015 14:15:05 +0000 (17:15 +0300)]
Fix build standalone

8 years agoFix build standalone
spo [Wed, 18 Nov 2015 13:59:08 +0000 (16:59 +0300)]
Fix build standalone

8 years agoCall parents virtual function
vsv [Wed, 18 Nov 2015 13:04:09 +0000 (16:04 +0300)]
Call parents virtual function

8 years ago#1095 line does not stop on arc end
nds [Wed, 18 Nov 2015 12:37:59 +0000 (15:37 +0300)]
#1095 line does not stop on arc end

8 years agoImprove make.sh
spo [Wed, 18 Nov 2015 12:29:32 +0000 (15:29 +0300)]
Improve make.sh

8 years agoThe sketch solver error should be checked after nested sketch operation check.
nds [Wed, 18 Nov 2015 12:24:27 +0000 (15:24 +0300)]
The sketch solver error should be checked after nested sketch operation check.

The sketch operation should not be committed

8 years agoSALOME mode correction for dimension constraints editor.
nds [Wed, 18 Nov 2015 12:01:38 +0000 (15:01 +0300)]
SALOME mode correction for dimension constraints editor.

1. The enter is processed by enterClicked() only because operation manager do not receive this signal in SALOME mode
2. Sketcher Renetrant manager should not restart internal edit and create new feature if it is started.

8 years agoExternal point/edge on trihedron when it is selected in the viewer. Create a sketch...
nds [Wed, 18 Nov 2015 09:47:59 +0000 (12:47 +0300)]
External point/edge on trihedron when it is selected in the viewer. Create a sketch line starting in the orgin of the trihedron.

8 years agoFix compilation errors
vsv [Wed, 18 Nov 2015 09:33:23 +0000 (12:33 +0300)]
Fix compilation errors

8 years agoMissed source
Vitaly SMETANNIKOV [Wed, 18 Nov 2015 09:29:04 +0000 (12:29 +0300)]
Missed source

8 years agoMerge branch 'Dev_1.5.0' of salome:modules/shaper into Dev_1.5.0
Vitaly SMETANNIKOV [Wed, 18 Nov 2015 09:25:26 +0000 (12:25 +0300)]
Merge branch 'Dev_1.5.0' of salome:modules/shaper into Dev_1.5.0

8 years agoIssue #1063: Problem of dynamic cast on Linux for Selection validators is solved
Vitaly SMETANNIKOV [Wed, 18 Nov 2015 09:25:12 +0000 (12:25 +0300)]
Issue #1063: Problem of dynamic cast on Linux for Selection validators is solved

8 years agoThe reentrant operation should not be started if the current sketch has an error.
nds [Wed, 18 Nov 2015 08:55:41 +0000 (11:55 +0300)]
The reentrant operation should not be started if the current sketch has an error.