Salome HOME
modules/shaper.git
8 years agogcc 4.9 compatibility
vsr [Tue, 10 Nov 2015 15:58:30 +0000 (18:58 +0300)]
gcc 4.9 compatibility

8 years agoImprove arc-line fillet (issue #1074)
azv [Tue, 10 Nov 2015 14:20:00 +0000 (17:20 +0300)]
Improve arc-line fillet (issue #1074)

8 years agoMerge branch 'Dev_1.5.0' of salome:modules/shaper into Dev_1.5.0
mpv [Tue, 10 Nov 2015 11:52:39 +0000 (14:52 +0300)]
Merge branch 'Dev_1.5.0' of salome:modules/shaper into Dev_1.5.0

8 years agoFix the Macro Box update problem and general updating mechanism to be more stable
mpv [Tue, 10 Nov 2015 11:52:13 +0000 (14:52 +0300)]
Fix the Macro Box update problem and general updating mechanism to be more stable

8 years ago#1071 - sketch validation problem
nds [Tue, 10 Nov 2015 10:09:23 +0000 (13:09 +0300)]
#1071 - sketch validation problem

8 years agoBug #1073: RevolutionCut by Bounding planes and offsets option problem
dbv [Tue, 10 Nov 2015 07:12:51 +0000 (10:12 +0300)]
Bug #1073: RevolutionCut by Bounding planes and offsets option problem

8 years agoThe Linux compilation problems V_2.0.0_alfa1
mpv [Mon, 9 Nov 2015 13:44:35 +0000 (16:44 +0300)]
The Linux compilation problems

8 years agoUpdate the version number up to 2.0.0
mpv [Mon, 9 Nov 2015 13:33:49 +0000 (16:33 +0300)]
Update the version number up to 2.0.0

8 years agoInternal edit launch: clear cashed viewer flags in sketch manager
nds [Mon, 9 Nov 2015 13:14:40 +0000 (16:14 +0300)]
Internal edit launch: clear cashed viewer flags in sketch manager

Undo
Erroneous scenario: create line, click 1st, click 2nd. Internal edit is started, input another value, Sift +Tab to input the previous point value. The result is that point is changed by previous click position.

8 years agoDisable apply button.
nds [Mon, 9 Nov 2015 13:13:42 +0000 (16:13 +0300)]
Disable apply button.

8 years agoInternal edit launch: clear cashed viewer flags in sketch manager
nds [Mon, 9 Nov 2015 13:09:15 +0000 (16:09 +0300)]
Internal edit launch: clear cashed viewer flags in sketch manager

Erroneous scenario: create line, click 1st, click 2nd. Internal edit is started, input another value, Sift +Tab to input the previous point value. The result is that point is changed by previous click position.

8 years agoCorrection for cursor in edited operation.
nds [Mon, 9 Nov 2015 12:32:50 +0000 (15:32 +0300)]
Correction for cursor in edited operation.

8 years agoMerge remote-tracking branch 'origin/BR_REENTRANCE_OPERATION' into origin_Dev_1.5.0
nds [Mon, 9 Nov 2015 11:34:57 +0000 (14:34 +0300)]
Merge remote-tracking branch 'origin/BR_REENTRANCE_OPERATION' into origin_Dev_1.5.0

Conflicts:
src/Model/Model_Document.cpp

8 years agoInternal edit is in the same transaction as the previous create. BR_REENTRANCE_OPERATION
nds [Mon, 9 Nov 2015 10:51:28 +0000 (13:51 +0300)]
Internal edit is in the same transaction as the previous create.

8 years agoA regression: when double clicking on a dimension for editing the value, the pop...
nds [Mon, 9 Nov 2015 10:39:57 +0000 (13:39 +0300)]
A regression: when double clicking on a dimension for editing the value, the pop-up input does not exist anymore.

8 years agoUpdate of second column on history change
vsv [Mon, 9 Nov 2015 10:02:44 +0000 (13:02 +0300)]
Update of second column on history change

8 years agoDisable selection of objects in non-active document out of history
vsv [Mon, 9 Nov 2015 09:52:34 +0000 (12:52 +0300)]
Disable selection of objects in non-active document out of history

8 years agoWhen automatically switching in edit mode (OK button enabled), the value of the activ...
nds [Mon, 9 Nov 2015 09:40:07 +0000 (12:40 +0300)]
When automatically switching in edit mode (OK button enabled), the value of the active input should be automatically selected

8 years ago#816 In multi-rotation, be able to put the total angle or the step angle (Rotation...
nds [Mon, 9 Nov 2015 08:59:51 +0000 (11:59 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)

Realization for Translation
Correction for right focus change after the end point in the create operation selection. Later, it could be corrected if there is an alternative method to validators->isCase() is implemented. It should answer which controls are visible. It is important here, where the same attributes can be used in both switch cases but we do not like to focus those, which are not currently being used.

8 years ago#816 In multi-rotation, be able to put the total angle or the step angle (Rotation...
nds [Mon, 9 Nov 2015 08:46:13 +0000 (11:46 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)

Realization for Translation
WidgetPoint2d is corrected because multi translation can have equal points -> single end point value = full end point value when number of objects = 2.

8 years ago#816 In multi-rotation, be able to put the total angle or the step angle (Rotation...
nds [Mon, 9 Nov 2015 05:16:32 +0000 (08:16 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)

It must also be possible to enter the full angle value of the multi-rotation, with a toggle button defining the semantic of the angle value (either full rotation or between two consecutive repetitions).
For consistency, it should be the same for multi-translation.

8 years ago#816 In multi-rotation, be able to put the total angle or the step angle (Rotation...
nds [Fri, 6 Nov 2015 16:14:03 +0000 (19:14 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)

It must also be possible to enter the full angle value of the multi-rotation, with a toggle button defining the semantic of the angle value (either full rotation or between two consecutive repetitions).
For consistency, it should be the same for multi-translation.

8 years agoDisable button of active operation.
vsv [Fri, 6 Nov 2015 15:55:42 +0000 (18:55 +0300)]
Disable button of active operation.

8 years ago#816 In multi-rotation, be able to put the total angle or the step angle (Rotation...
nds [Fri, 6 Nov 2015 15:49:02 +0000 (18:49 +0300)]
#816 In multi-rotation, be able to put the total angle or the step angle (Rotation only)

It must also be possible to enter the full angle value of the multi-rotation, with a toggle button defining the semantic of the angle value (either full rotation or between two consecutive repetitions).
For consistency, it should be the same for multi-translation.

8 years agoIssue #969: Remove Rebuild button
vsv [Fri, 6 Nov 2015 14:19:11 +0000 (17:19 +0300)]
Issue #969: Remove Rebuild button

8 years agoIncrease selection area for points
vsv [Fri, 6 Nov 2015 14:02:10 +0000 (17:02 +0300)]
Increase selection area for points

8 years agoMake preference flag for automatic rotation of a sketch plane selection
vsv [Fri, 6 Nov 2015 13:29:26 +0000 (16:29 +0300)]
Make preference flag for automatic rotation of a sketch plane selection

8 years agoIssues #647, #949, #799: Do not rotate view if a sketcher plane is selected on a...
vsv [Fri, 6 Nov 2015 13:02:44 +0000 (16:02 +0300)]
Issues #647, #949, #799: Do not rotate view if a sketcher plane is selected on a shape. Make a button to rotate a view into the sketcher plane.

8 years agoFillet icon update
dbv [Fri, 6 Nov 2015 12:55:56 +0000 (15:55 +0300)]
Fillet icon update

8 years agoEnter processing on integer field.
nds [Fri, 6 Nov 2015 11:49:23 +0000 (14:49 +0300)]
Enter processing on integer field.

8 years agoIssue #995: Checkbox 'Make a copy' during translation and rotation operations
nds [Fri, 6 Nov 2015 08:42:03 +0000 (11:42 +0300)]
Issue #995: Checkbox 'Make a copy' during translation and rotation operations

Correction from a list of improvements:
For compatibility with old GEOM, we must ask for the total number of objects, not the number of copies, as currently (for information, it's like that too in SolidWorks).

8 years agoFix of errors
vsv [Fri, 6 Nov 2015 07:37:42 +0000 (10:37 +0300)]
Fix of errors

8 years agoCheck feature on abort
vsv [Fri, 6 Nov 2015 07:22:37 +0000 (10:22 +0300)]
Check feature on abort

8 years agoMake the coordinate of arc edited in the property panel unchanged in edit mode
mpv [Fri, 6 Nov 2015 06:47:03 +0000 (09:47 +0300)]
Make the coordinate of arc edited in the property panel unchanged in edit mode

8 years agoReplace combobox by radiobuttons in boolean operations
vsv [Thu, 5 Nov 2015 16:19:38 +0000 (19:19 +0300)]
Replace combobox by radiobuttons in boolean operations

8 years ago#1017 Can build lines through several created points
nds [Thu, 5 Nov 2015 15:53:52 +0000 (18:53 +0300)]
#1017 Can build lines through several created points

#1035 Sketcher : polyline creation through existing points

8 years agoDefault value for fillet radius is now equal to 1/3 the length of the smallest edge.
dbv [Thu, 5 Nov 2015 15:30:57 +0000 (18:30 +0300)]
Default value for fillet radius is now equal to 1/3 the length of the smallest edge.

8 years agoA correction to check modified value in extrusion cut/sketch/etc operations.
nds [Thu, 5 Nov 2015 13:12:38 +0000 (16:12 +0300)]
A correction to check modified value in extrusion cut/sketch/etc operations.

8 years agoEmpty transaction in the sketch sub-feature edit, even if there is empty sub-feature...
mpv [Thu, 5 Nov 2015 12:37:31 +0000 (15:37 +0300)]
Empty transaction in the sketch sub-feature edit, even if there is empty sub-feature created for the internal validator.

8 years agoFix for documentation generation for standalone version
dbv [Thu, 5 Nov 2015 11:18:16 +0000 (14:18 +0300)]
Fix for documentation generation for standalone version

8 years agoUpdate "Accept All" button before internal edit is started.
nds [Thu, 5 Nov 2015 10:35:08 +0000 (13:35 +0300)]
Update "Accept All" button before internal edit is started.

8 years agoRevolution Cut: it should not be a warning about abort circle sketch operation when...
nds [Thu, 5 Nov 2015 10:19:08 +0000 (13:19 +0300)]
Revolution Cut: it should not be a warning about abort circle sketch operation when the line sketch operation is started(by click on the line action in the tool bar)

8 years ago1. setEditOperation should setCurrentFeature to the previous feature in the previous...
nds [Thu, 5 Nov 2015 10:04:27 +0000 (13:04 +0300)]
1. setEditOperation should setCurrentFeature to the previous feature in the previous transaction.

Scenario: start circle, click, click->internal edition mode[before a new create operation it should be the same current feature which was when the create of the circle is started]
2. Control by debug information setting current feature performed before starting/commit the operation.

8 years agoAdded test for composite features on compsolids
dbv [Thu, 5 Nov 2015 07:43:51 +0000 (10:43 +0300)]
Added test for composite features on compsolids

8 years agoCreation of GUI widgets for the re-entrant internal feature. They are hidden and...
nds [Thu, 5 Nov 2015 05:46:50 +0000 (08:46 +0300)]
Creation of GUI widgets for the re-entrant internal feature. They are hidden and used only for preselection for the started operation.

8 years agoAn empty feature add/remove for sketch reentrant operation. The widget has not been...
nds [Thu, 5 Nov 2015 05:03:59 +0000 (08:03 +0300)]
An empty feature add/remove for sketch reentrant operation. The widget has not been provided for this yet.

8 years agoSeparation part of the function in an additional function. Preparation to create...
nds [Thu, 5 Nov 2015 04:32:05 +0000 (07:32 +0300)]
Separation part of the function in an additional function. Preparation to create/remove a new feature for validating preselection of a new create operation.

8 years agoIssue #984: Make trihedron selectable for operations
vsv [Tue, 3 Nov 2015 16:03:29 +0000 (19:03 +0300)]
Issue #984: Make trihedron selectable for operations

8 years agoRemoved naming for pipe builders as it is not used
dbv [Tue, 3 Nov 2015 15:16:46 +0000 (18:16 +0300)]
Removed naming for pipe builders as it is not used

8 years agoStart of the edit should not change the current feature.
nds [Tue, 3 Nov 2015 14:48:06 +0000 (17:48 +0300)]
Start of the edit should not change the current feature.

8 years agoDoxygen warning fixes
dbv [Tue, 3 Nov 2015 14:15:31 +0000 (17:15 +0300)]
Doxygen warning fixes

8 years agoRemove linking to GeomValidators.
spo [Tue, 3 Nov 2015 14:00:04 +0000 (17:00 +0300)]
Remove linking to GeomValidators.

8 years agoCross cursor processing in the 'internal' edit operation.
nds [Tue, 3 Nov 2015 13:54:26 +0000 (16:54 +0300)]
Cross cursor processing in the 'internal' edit operation.

8 years agoInternal Edit operation in a transaction.
nds [Tue, 3 Nov 2015 13:35:53 +0000 (16:35 +0300)]
Internal Edit operation in a transaction.

8 years agoInternal Edit operation in a transaction.
nds [Tue, 3 Nov 2015 13:26:51 +0000 (16:26 +0300)]
Internal Edit operation in a transaction.

8 years agoMove GeomValidator_* registration from PartSet_Module to GeomValidator_Plugin
spo [Wed, 28 Oct 2015 11:30:06 +0000 (14:30 +0300)]
Move GeomValidator_* registration from PartSet_Module to GeomValidator_Plugin

8 years agoMake edition transaction where actually nothing was changed as empty one and do not...
nds [Tue, 3 Nov 2015 11:39:43 +0000 (14:39 +0300)]
Make edition transaction where actually nothing was changed as empty one and do not create "undo" possibility for it.

8 years agomyClickedPoint should not filled if the reentrant manager is active. Wrong case:...
nds [Tue, 3 Nov 2015 11:37:14 +0000 (14:37 +0300)]
myClickedPoint should not filled if the reentrant manager is active. Wrong case: create line, 1,2nd clicks, 'edition' mode, activate the 1st control. The value is modified to the current clicked.

Edit operation - reentrant manager should not be active.

8 years agoMake edition transaction where actually nothing was changed as empty one and do not...
mpv [Tue, 3 Nov 2015 11:28:34 +0000 (14:28 +0300)]
Make edition transaction where actually nothing was changed as empty one and do not create "undo" possibility for it.

8 years agoFillet creation fixes
dbv [Tue, 3 Nov 2015 11:22:51 +0000 (14:22 +0300)]
Fillet creation fixes

8 years agoLenght, Radius constraints creation after re-entrant operation. The object is clicked...
nds [Tue, 3 Nov 2015 10:39:28 +0000 (13:39 +0300)]
Lenght, Radius constraints creation after re-entrant operation. The object is clicked, but the 2nd flyout point widget tried to process the mouse release also.

8 years agoAvoid crash when widget is null.
nds [Tue, 3 Nov 2015 10:23:13 +0000 (13:23 +0300)]
Avoid crash when widget is null.

8 years agoA correction for re-entrant operation.
nds [Tue, 3 Nov 2015 10:13:35 +0000 (13:13 +0300)]
A correction for re-entrant operation.

8 years agoEnter processing is corrected according to modifications from Dev_1.5.0 (from BR_POST...
nds [Tue, 3 Nov 2015 09:31:38 +0000 (12:31 +0300)]
Enter processing is corrected according to modifications from Dev_1.5.0 (from BR_POSTPONED_PREVIEW)

8 years agoEnter processing is corrected according to modifications from Dev_1.5.0 (from BR_POST...
nds [Tue, 3 Nov 2015 09:29:48 +0000 (12:29 +0300)]
Enter processing is corrected according to modifications from Dev_1.5.0 (from BR_POSTPONED_PREVIEW)

8 years agoThe first activate widget should be deactivated by edited operation is stopped.
nds [Tue, 3 Nov 2015 06:04:35 +0000 (09:04 +0300)]
The first activate widget should be deactivated by edited operation is stopped.

8 years agoCompilation correction.
nds [Tue, 3 Nov 2015 05:50:31 +0000 (08:50 +0300)]
Compilation correction.

8 years agoMerge branch 'Dev_1.5.0' into BR_REENTRANCE_OPERATION
nds [Tue, 3 Nov 2015 05:49:59 +0000 (08:49 +0300)]
Merge branch 'Dev_1.5.0' into BR_REENTRANCE_OPERATION

Conflicts:
src/XGUI/XGUI_PropertyPanel.cpp

8 years agoFillet test update
dbv [Mon, 2 Nov 2015 14:10:43 +0000 (17:10 +0300)]
Fillet test update

8 years agoFix of Linux compilation errors
vsv [Mon, 2 Nov 2015 13:56:11 +0000 (16:56 +0300)]
Fix of Linux compilation errors

8 years agoIssue #888: Adapt dynamical highlighting for different platforms.
vsv [Mon, 2 Nov 2015 13:31:37 +0000 (16:31 +0300)]
Issue #888: Adapt dynamical highlighting for different platforms.

8 years agoFillet creation by point
dbv [Mon, 2 Nov 2015 12:43:52 +0000 (15:43 +0300)]
Fillet creation by point

8 years agoCompilation correction.
nds [Mon, 2 Nov 2015 10:23:08 +0000 (13:23 +0300)]
Compilation correction.

8 years agoSimplification of the code: it removes focusNextPrevChild processing.
nds [Fri, 30 Oct 2015 16:02:37 +0000 (19:02 +0300)]
Simplification of the code: it removes focusNextPrevChild processing.

It is not enough to emit signal about focus change here because it can be changed by mouse click in another control. It is not processed in this method.
The same functionality(to store modified value on focus lost) is realized in ::deactivate() of the model widget and processEnter method of the widge.

8 years agoSketch->circle creation, move to PP, input valid value, Enter ->nothing is visualized.
nds [Fri, 30 Oct 2015 15:27:08 +0000 (18:27 +0300)]
Sketch->circle creation, move to PP, input valid value, Enter ->nothing is visualized.

8 years agoSimplification of the code
nds [Fri, 30 Oct 2015 08:44:07 +0000 (11:44 +0300)]
Simplification of the code

8 years agoActivating of another widget by hands should be performed only after store the curren...
nds [Fri, 30 Oct 2015 07:31:18 +0000 (10:31 +0300)]
Activating of another widget by hands should be performed only after store the current widget value ot the model only when the operation sate is Modified in Property Panel.

8 years agoLockMgr is removing, ModifiedInViewer widget value state is used instead of it.
nds [Fri, 30 Oct 2015 07:27:58 +0000 (10:27 +0300)]
LockMgr is removing, ModifiedInViewer widget value state is used instead of it.

8 years agoApply the distance by enter immediatelly.
nds [Wed, 21 Oct 2015 15:51:10 +0000 (18:51 +0300)]
Apply the distance by enter immediatelly.

8 years agoA correction for the parameters:
nds [Wed, 21 Oct 2015 15:18:09 +0000 (18:18 +0300)]
A correction for the parameters:

after entering the parameter name, when the value input gets the focus,
an error message is displayed (unnexpected EOF while parsing (<string>,
line 0) while the user didn't type yet anything. It's not fair.
The decision: do not set the editor value to the feature attribute by the control activation.

8 years agoTemporary commit
nds [Wed, 21 Oct 2015 07:43:38 +0000 (10:43 +0300)]
Temporary commit

8 years agoUpdate Apply button for a point widget, do not activate the same widget(regression).
nds [Tue, 20 Oct 2015 10:09:08 +0000 (13:09 +0300)]
Update Apply button for a point widget, do not activate the same widget(regression).

8 years agoThere is no key release in the eventFilter() of the operation manager, so the widget...
nds [Tue, 20 Oct 2015 09:32:59 +0000 (12:32 +0300)]
There is no key release in the eventFilter() of the operation manager, so the widget should emit the keyReleased() signal.

8 years agoEnter processing from object browser.
nds [Mon, 19 Oct 2015 15:40:27 +0000 (18:40 +0300)]
Enter processing from object browser.

8 years agoApply button to be disabled during value modification for any operation, not only...
nds [Fri, 16 Oct 2015 06:12:05 +0000 (09:12 +0300)]
Apply button to be disabled during value modification for any operation, not only Sketch. Checked on Extrusion and on Edit operation.

8 years agoCode improvement: 'myIsResetCurrentValue', 'myIsMouseOverWindow' are removed.
nds [Fri, 16 Oct 2015 05:39:17 +0000 (08:39 +0300)]
Code improvement: 'myIsResetCurrentValue', 'myIsMouseOverWindow' are removed.

8 years agoReset value state is provided in ModelWidget to remove 'myIsResetCurrentValue' in...
nds [Fri, 16 Oct 2015 05:08:25 +0000 (08:08 +0300)]
Reset value state is provided in ModelWidget to remove 'myIsResetCurrentValue' in sketch manager.

8 years agoValue state is provided in ModelWidget to remove 'myIsCurrentValueUnderModification...
nds [Thu, 15 Oct 2015 15:35:44 +0000 (18:35 +0300)]
Value state is provided in ModelWidget to remove 'myIsCurrentValueUnderModification' in sketch manager. Reason: Apply button should be disabled during value modification for any operation, not only Sketch.

8 years agoCorrection for Edit operation when there is no active widget.
nds [Wed, 7 Oct 2015 12:38:37 +0000 (15:38 +0300)]
Correction for Edit operation when there is no active widget.

8 years agoIssue #1011 In sketch edition, the cross cursor must be displayed only in the 3D...
nds [Wed, 7 Oct 2015 12:05:01 +0000 (15:05 +0300)]
Issue #1011 In sketch edition, the cross cursor must be displayed only in the 3D view

8 years agoApply modifications in the editors by Enter/Tab event only.
nds [Wed, 7 Oct 2015 11:51:20 +0000 (14:51 +0300)]
Apply modifications in the editors by Enter/Tab event only.

8 years agoIssue #888: Do not highlight non selectable tree items in Object Browser
vsv [Fri, 30 Oct 2015 12:32:14 +0000 (15:32 +0300)]
Issue #888: Do not highlight non selectable tree items in Object Browser

8 years agoFix for solids color changing after sketch modification
dbv [Fri, 30 Oct 2015 10:26:39 +0000 (13:26 +0300)]
Fix for solids color changing after sketch modification

8 years ago1. Create->Edit->Create is realized as 2 transaction: for the first pair the setEditO...
nds [Thu, 29 Oct 2015 12:34:49 +0000 (15:34 +0300)]
1. Create->Edit->Create is realized as 2 transaction: for the first pair the setEditOperation() is provided to change mode of operation from create to edit. Purpose: do not use additional transaction.

2. Code simplification in reentrant manager.

8 years ago1. Circle creation - when 'internal' edit operation is active, the first click should...
nds [Thu, 29 Oct 2015 05:46:34 +0000 (08:46 +0300)]
1. Circle creation - when 'internal' edit operation is active, the first click should fill the first attribute of a new circle.

2. onNoMoreWidgets is moved to sketch reentrant manager.

8 years agoUnselect root label in object browser on mouse click in Object browser
vsv [Wed, 28 Oct 2015 16:47:13 +0000 (19:47 +0300)]
Unselect root label in object browser on mouse click in Object browser

8 years agoactivatePartSet pop-up menu has to be only on root label in object browser
vsv [Wed, 28 Oct 2015 16:26:41 +0000 (19:26 +0300)]
activatePartSet pop-up menu has to be only on root label in object browser

8 years agoMake label on ObjectBrowser top similar to tree node
vsv [Wed, 28 Oct 2015 15:16:18 +0000 (18:16 +0300)]
Make label on ObjectBrowser top similar to tree node

8 years agoFill circle start point by click in the viewer when the opeation is restarted.
nds [Wed, 28 Oct 2015 11:25:19 +0000 (14:25 +0300)]
Fill circle start point by click in the viewer when the opeation is restarted.

8 years agoApply sketch reentrance manager only when sketch or nested sketch operation is active.
nds [Wed, 28 Oct 2015 11:09:19 +0000 (14:09 +0300)]
Apply sketch reentrance manager only when sketch or nested sketch operation is active.