]> SALOME platform Git repositories - modules/shaper.git/log
Salome HOME
modules/shaper.git
9 years agoLock/unlock the "Apply" button by mouse enter/leave the viewer view port.
nds [Tue, 26 May 2015 13:58:34 +0000 (16:58 +0300)]
Lock/unlock the "Apply" button by mouse enter/leave the viewer view port.

Scenarios: 1. issue #487, 2. start translate operation in the sketch. Select the 1st, the end point. The "Apply" was not valid.

9 years agoRemove index of history item in part data tree
vsv [Tue, 26 May 2015 12:18:16 +0000 (15:18 +0300)]
Remove index of history item in part data tree

9 years agoIssue #487: Creating a Sketch point at the origin
nds [Tue, 26 May 2015 11:26:28 +0000 (14:26 +0300)]
Issue #487: Creating a Sketch point at the origin

9 years agoRemoved positive validator use on extrusion and revolution spinboxes.
dbv [Tue, 26 May 2015 11:25:56 +0000 (14:25 +0300)]
Removed positive validator use on extrusion and revolution spinboxes.

9 years agoFeature #524: 4.01. Revolution feature (not complete!)
dbv [Wed, 13 May 2015 12:53:56 +0000 (15:53 +0300)]
Feature #524: 4.01. Revolution feature (not complete!)

Added new feature Revolution;
Added algorithm for Rotation;
Added new class GeomAPI_Ax1;
Added new method to GeomAlgoAPI_ShapeProps::centreOfMass;
Added new validator GeomValidators_ZeroOffset (actually it is useful only for Extrusion and Revolution features);
Some fixes to GeomAlgoAPI_Prism;

9 years agoValidators, defined in the attribute of the "groupbox" widget were not registered...
nds [Tue, 26 May 2015 10:30:17 +0000 (13:30 +0300)]
Validators, defined in the attribute of the "groupbox" widget were not registered in the factory.

Scenario: start extrusion operation, activate "to" selector. The planar face validator is not activated for it.

9 years agoIssue #561: Import Performance - disable preview by isPreviewNeeded() returns false.
Sergey POKHODENKO [Tue, 26 May 2015 10:03:25 +0000 (13:03 +0300)]
Issue #561: Import Performance - disable preview by isPreviewNeeded() returns false.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Tue, 26 May 2015 10:02:55 +0000 (13:02 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agosetDisplayed has to be called in order to synchronize internal state of the object
vsv [Tue, 26 May 2015 10:02:45 +0000 (13:02 +0300)]
setDisplayed has to be called in order to synchronize internal state of the object

9 years agoSeveral opens of different and same documents crash fix
mpv [Tue, 26 May 2015 09:54:08 +0000 (12:54 +0300)]
Several opens of different and same documents crash fix

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Tue, 26 May 2015 09:21:12 +0000 (12:21 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoActivation of part after open document correction
vsv [Tue, 26 May 2015 09:21:02 +0000 (12:21 +0300)]
Activation of part after open document correction

9 years agoParametersPlugin_EvalListener::processEvent() and Model_Update::updateArguments(...
Sergey POKHODENKO [Tue, 26 May 2015 09:05:11 +0000 (12:05 +0300)]
ParametersPlugin_EvalListener::processEvent() and Model_Update::updateArguments() process Point and Point2D text representation - fix ParametersPlugin/CMakeLists.txt

9 years agoParametersPlugin_EvalListener::processEvent() and Model_Update::updateArguments(...
Sergey POKHODENKO [Tue, 26 May 2015 09:02:34 +0000 (12:02 +0300)]
ParametersPlugin_EvalListener::processEvent() and Model_Update::updateArguments() process Point and Point2D text representation

9 years agoCan display method can not change displaying property
vsv [Tue, 26 May 2015 08:55:20 +0000 (11:55 +0300)]
Can display method can not change displaying property

9 years agoDelete obsolete indexes
vsv [Tue, 26 May 2015 08:51:17 +0000 (11:51 +0300)]
Delete obsolete indexes

9 years agoFix the problem in updating of constraint
azv [Tue, 26 May 2015 07:49:25 +0000 (10:49 +0300)]
Fix the problem in updating of constraint

9 years agoDeclare methods of GeomDataAPI_Point and GeomDataAPI_Point2D with GEOMDATAAPI_EXPORT
Sergey POKHODENKO [Tue, 26 May 2015 07:32:57 +0000 (10:32 +0300)]
Declare methods of GeomDataAPI_Point and GeomDataAPI_Point2D with GEOMDATAAPI_EXPORT

9 years agoFix in ModuleBase_Operation::isValid(): check that exec state of feature is ModelAPI_...
Sergey POKHODENKO [Tue, 26 May 2015 07:19:42 +0000 (10:19 +0300)]
Fix in ModuleBase_Operation::isValid(): check that exec state of feature is ModelAPI_StateMustBeUpdated

9 years agoCreate text representation of components X, Y, Z for Point & Point2D
Sergey POKHODENKO [Tue, 26 May 2015 07:18:07 +0000 (10:18 +0300)]
Create text representation of components X, Y, Z for Point & Point2D

9 years agoMake Data not null, but invalid after the feature remove
mpv [Tue, 26 May 2015 07:33:49 +0000 (10:33 +0300)]
Make Data not null, but invalid after the feature remove

9 years agoFix for create parameter, edit parameter, abort: constructions disappeared.
mpv [Tue, 26 May 2015 07:11:53 +0000 (10:11 +0300)]
Fix for create parameter, edit parameter, abort: constructions disappeared.

9 years ago1. "type_choice" is corrected(a regression) to use the 1st up letter in the type...
nds [Tue, 26 May 2015 05:21:09 +0000 (08:21 +0300)]
1. "type_choice" is corrected(a regression) to use the 1st up letter in the type GUI presentation

2. GeomValidators_ShapeType using for shape selector like it is in multi selector

9 years agoDebug of Box macro feature to the updated architecture
mpv [Mon, 25 May 2015 16:27:57 +0000 (19:27 +0300)]
Debug of Box macro feature to the updated architecture

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Mon, 25 May 2015 15:00:25 +0000 (18:00 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoIssue #554: Clear visualization of objects if viewer had been deleted
vsv [Mon, 25 May 2015 15:00:12 +0000 (18:00 +0300)]
Issue #554: Clear visualization of objects if viewer had been deleted

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
mpv [Mon, 25 May 2015 14:54:12 +0000 (17:54 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoFix for issue #562 : correct update by dependencies in the parameters
mpv [Mon, 25 May 2015 14:53:53 +0000 (17:53 +0300)]
Fix for issue #562 : correct update by dependencies in the parameters

9 years agoIssue #552: Clear variables on document close
vsv [Mon, 25 May 2015 14:37:56 +0000 (17:37 +0300)]
Issue #552: Clear variables on document close

9 years agodo not call reset for the number of copies control in translation and rotation controls.
nds [Mon, 25 May 2015 13:06:58 +0000 (16:06 +0300)]
do not call reset for the number of copies control in translation and rotation controls.

9 years agoA fix for the next case:
nds [Mon, 25 May 2015 13:02:42 +0000 (16:02 +0300)]
A fix for the next case:

preselection of a point, start a line creation. A line is created with the second point in the origin.
The same problem is for the preselection in the translation operation.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Mon, 25 May 2015 12:17:17 +0000 (15:17 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoIssue #559: Control doesn't have variable if its text is empty
vsv [Mon, 25 May 2015 12:17:02 +0000 (15:17 +0300)]
Issue #559: Control doesn't have variable if its text is empty

9 years agoUsing validator in multi selector control for the "type_choice" key.
nds [Mon, 25 May 2015 11:26:48 +0000 (14:26 +0300)]
Using validator in multi selector control for the "type_choice" key.

The reason is: preselection for translation sketch operation by rectangle. The vertex shapes should not be used in the multi selector control.
TODO: to use the same mechanizm for the shape selector control.

9 years agoIssue #556: Make computation of flags more correct for root model
vsv [Mon, 25 May 2015 09:20:51 +0000 (12:20 +0300)]
Issue #556: Make computation of flags more correct for root model

9 years agoCorrectly manage the invalid expressions
mpv [Mon, 25 May 2015 09:09:12 +0000 (12:09 +0300)]
Correctly manage the invalid expressions

9 years agoOptimization of working with parameters
mpv [Mon, 25 May 2015 08:44:03 +0000 (11:44 +0300)]
Optimization of working with parameters

9 years agoSet empty text if double value is set in editor
vsv [Mon, 25 May 2015 08:13:37 +0000 (11:13 +0300)]
Set empty text if double value is set in editor

9 years agoOptimization of updates calls
mpv [Mon, 25 May 2015 07:33:43 +0000 (10:33 +0300)]
Optimization of updates calls

9 years agoA correction for translation operation
nds [Mon, 25 May 2015 05:37:28 +0000 (08:37 +0300)]
A correction for translation operation

Scenario: start sketch, create some lines, start translation operation, select a line. The result is an empty row in the multi selector control.

9 years ago1. This is a fix for the disabled object visualized in the viewer. 2. Comment multi...
nds [Fri, 22 May 2015 18:14:39 +0000 (21:14 +0300)]
1. This is a fix for the disabled object visualized in the viewer. 2. Comment multi-selector using in the boolean operation.

Scenario: create a sketch with a circle. Create an extrusion. Set extrusion height is 0. Set height more than 0. Apply. Hide extrusion result. A cylinder is visualized in the viewer.

9 years ago1. This is a fix for the disabled object visualized in the viewer. 2. Comment multi...
nds [Fri, 22 May 2015 18:13:12 +0000 (21:13 +0300)]
1. This is a fix for the disabled object visualized in the viewer. 2. Comment multi-selector using in the boolean operation.

Scenario: create a sketch with a circle. Create an extrusion. Set extrusion height is 0. Set height more than 0. Apply. Hide extrusion result. A cylinder is visualized in the viewer.

9 years agoCompilation fix.
dbv [Fri, 22 May 2015 17:10:54 +0000 (20:10 +0300)]
Compilation fix.

9 years agoFix for GeomAlgoAPI_FaceBuidler method name change.
dbv [Fri, 22 May 2015 17:01:39 +0000 (20:01 +0300)]
Fix for GeomAlgoAPI_FaceBuidler method name change.

9 years agoExtrusion fix
dbv [Fri, 22 May 2015 16:57:13 +0000 (19:57 +0300)]
Extrusion fix

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Fri, 22 May 2015 13:50:54 +0000 (16:50 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoSet focus to list in multi-selector to make possible Tab key using
vsv [Fri, 22 May 2015 13:50:44 +0000 (16:50 +0300)]
Set focus to list in multi-selector to make possible Tab key using

9 years agoMake several parts created in the correct order
mpv [Fri, 22 May 2015 13:43:45 +0000 (16:43 +0300)]
Make several parts created in the correct order

9 years agoFix on selection initialization (for revolution axis) and hiding sketch only on apply
mpv [Fri, 22 May 2015 13:35:04 +0000 (16:35 +0300)]
Fix on selection initialization (for revolution axis) and hiding sketch only on apply

9 years agoFix compilation errors
Sergey POKHODENKO [Tue, 19 May 2015 07:43:13 +0000 (10:43 +0300)]
Fix compilation errors

9 years agoMerge branch 'Dev_1.1.1' of newgeom:newgeom into Dev_1.2.0
Sergey POKHODENKO [Fri, 22 May 2015 13:08:41 +0000 (16:08 +0300)]
Merge branch 'Dev_1.1.1' of newgeom:newgeom into Dev_1.2.0

9 years agoIssue #550: Make loading of resources dependent on NEWGEOM_ROOT_DIR environment variable
vsv [Fri, 22 May 2015 12:28:44 +0000 (15:28 +0300)]
Issue #550: Make loading of resources dependent on NEWGEOM_ROOT_DIR environment variable

9 years agomulti selector controls for boolean feature
nds [Fri, 22 May 2015 12:19:43 +0000 (15:19 +0300)]
multi selector controls for boolean feature

9 years agoSet color with low saturation for objects of deactivated document
vsv [Fri, 22 May 2015 09:32:03 +0000 (12:32 +0300)]
Set color with low saturation for objects of deactivated document

9 years agoFix for internal setting of current feature
mpv [Fri, 22 May 2015 09:15:41 +0000 (12:15 +0300)]
Fix for internal setting of current feature

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Fri, 22 May 2015 07:58:03 +0000 (10:58 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoUpdate commands status on Part activate/deactivate
vsv [Fri, 22 May 2015 07:57:50 +0000 (10:57 +0300)]
Update commands status on Part activate/deactivate

9 years agoFix compilation for Debian 8.0 Dev_1.1.1
Sergey POKHODENKO [Thu, 21 May 2015 14:32:57 +0000 (17:32 +0300)]
Fix compilation for Debian 8.0

9 years agoFix compilation for Debian 8.0
Sergey POKHODENKO [Thu, 21 May 2015 14:32:57 +0000 (17:32 +0300)]
Fix compilation for Debian 8.0

9 years agoAvoid crash on load document
vsv [Fri, 22 May 2015 07:38:29 +0000 (10:38 +0300)]
Avoid crash on load document

9 years agoThe default colors in preferences for sketch elements and features.
nds [Fri, 22 May 2015 07:13:48 +0000 (10:13 +0300)]
The default colors in preferences for sketch elements and features.

9 years agoThe default colors in preferences for sketch elements and features.
nds [Fri, 22 May 2015 04:53:11 +0000 (07:53 +0300)]
The default colors in preferences for sketch elements and features.

9 years agoMake coincidence constraint of black-yellow color
vsv [Thu, 21 May 2015 16:21:35 +0000 (19:21 +0300)]
Make coincidence constraint of black-yellow color

9 years agoMake sketch edges appeared on sketch edit
mpv [Thu, 21 May 2015 14:59:26 +0000 (17:59 +0300)]
Make sketch edges appeared on sketch edit

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Thu, 21 May 2015 14:25:53 +0000 (17:25 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoReplace Display/Erase by setDisplayed
vsv [Thu, 21 May 2015 14:25:46 +0000 (17:25 +0300)]
Replace Display/Erase by setDisplayed

9 years agoDebug of loading parts
mpv [Thu, 21 May 2015 13:55:33 +0000 (16:55 +0300)]
Debug of loading parts

9 years ago<sketch> default value for Extrusion
nds [Thu, 21 May 2015 12:42:13 +0000 (15:42 +0300)]
<sketch> default value for Extrusion

9 years agoMake order in enabling/disabling sub-elements of not active sketch
mpv [Thu, 21 May 2015 11:37:51 +0000 (14:37 +0300)]
Make order in enabling/disabling sub-elements of not active sketch

9 years agoIt provides a point attribute restore selection by activation of a shape selection...
nds [Thu, 21 May 2015 10:33:10 +0000 (13:33 +0300)]
It provides a point attribute restore selection by activation of a shape selection control.

9 years agoMake working possible when constraint images are not accessible
vsv [Thu, 21 May 2015 09:40:18 +0000 (12:40 +0300)]
Make working possible when constraint images are not accessible

9 years agoA correction for the case: create a sketch, create a part, start creation of an extru...
nds [Thu, 21 May 2015 08:06:05 +0000 (11:06 +0300)]
A correction for the case: create a sketch, create a part, start creation of an extrusion. The incorrect result is sketch was not highlightable.

9 years agoCode improvement: separate restore selection functionality in an additional method
nds [Thu, 21 May 2015 07:24:53 +0000 (10:24 +0300)]
Code improvement: separate restore selection functionality in an additional method

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
nds [Thu, 21 May 2015 07:19:19 +0000 (10:19 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoCode improvement: separate restore selection functionality in an additional method
nds [Thu, 21 May 2015 07:19:07 +0000 (10:19 +0300)]
Code improvement: separate restore selection functionality in an additional method

9 years agoMake references are not initialized is they references to nothing: parallelity in...
mpv [Thu, 21 May 2015 06:44:27 +0000 (09:44 +0300)]
Make references are not initialized is they references to nothing: parallelity in sketch, from/to in extrusion, etc.

9 years agoCode improvement: avoid the code duplication for setSelected method in the displayer...
nds [Thu, 21 May 2015 05:32:41 +0000 (08:32 +0300)]
Code improvement: avoid the code duplication for setSelected method in the displayer. It gets currently a list of viewer prs instead of a list of objects. This is necessary to restore the shape selection.

9 years agoCode improvement: avoid the code duplication for setSelected method in the displayer...
nds [Thu, 21 May 2015 05:32:15 +0000 (08:32 +0300)]
Code improvement: avoid the code duplication for setSelected method in the displayer. It gets currently a list of viewer prs instead of a list of objects. This is necessary to restore the shape selection.

9 years agoAn improvement to deselect a value in a shape selector control in the same way as...
nds [Thu, 21 May 2015 05:05:59 +0000 (08:05 +0300)]
An improvement to deselect a value in a shape selector control in the same way as it is realized in multi selector.

The reason is the plane deselection in the extrusion operation.

This leads to a modification in selection behavior e.g for sketch parallel constraint. After the first line is selected, the second control gets the focus, it is empty, so, the selection in the viewer is also empty. So, the first object is not selected anymore and the user can not see it.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Wed, 20 May 2015 13:55:07 +0000 (16:55 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoFix for delete operation
vsv [Wed, 20 May 2015 13:55:00 +0000 (16:55 +0300)]
Fix for delete operation

9 years agoMake sub-features of sketch defined as current feature after it is become sub-feature...
mpv [Wed, 20 May 2015 13:49:30 +0000 (16:49 +0300)]
Make sub-features of sketch defined as current feature after it is become sub-feature of sketch (on Length creation sub-elements are not disappeared)

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
nds [Wed, 20 May 2015 13:28:34 +0000 (16:28 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoA fix for the "Abort" operation bug. If a control with a validator is active, abort...
nds [Wed, 20 May 2015 13:28:21 +0000 (16:28 +0300)]
A fix for the "Abort" operation bug. If a control with a validator is active, abort of the operation leads to the crash in the validator.

Scenario: create a sketch, start creation of an extrusion, select a sketch, select an orthogonal plane, abort(selector is active). Crash

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
mpv [Wed, 20 May 2015 13:00:17 +0000 (16:00 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoMake feature nested into other feature makes all nested features active
mpv [Wed, 20 May 2015 12:59:59 +0000 (15:59 +0300)]
Make feature nested into other feature makes all nested features active

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
nds [Wed, 20 May 2015 12:59:08 +0000 (15:59 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoA fix for the bug: it is possible to apply extrusion even if the algorithm is failed...
nds [Wed, 20 May 2015 12:58:56 +0000 (15:58 +0300)]
A fix for the bug: it is possible to apply extrusion even if the algorithm is failed to build the result.

Scenario: create a sketch, create a part, visualize all default planes, create extrusion, select a sketch, in "to" control select a perpendicular plane. An error message appears but "Apply" is enabled.
This fix disables the "Apply" button.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Wed, 20 May 2015 12:50:02 +0000 (15:50 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoOpen transaction before setCurrentFeatuire if it is not opened
vsv [Wed, 20 May 2015 12:49:53 +0000 (15:49 +0300)]
Open transaction before setCurrentFeatuire if it is not opened

9 years agoA fix for the bug: it is possible to apply extrusion even if the algorithm is failed...
nds [Wed, 20 May 2015 12:30:23 +0000 (15:30 +0300)]
A fix for the bug: it is possible to apply extrusion even if the algorithm is failed to build the result.

Scenario: create a sketch, create a part, visualize all default planes, create extrusion, select a sketch, in "to" control select a perpendicular plane. An error message appears but "Apply" is enabled.
This fix disables the "Apply" button.

9 years agoA fix for a bug: clear content in the shape selector by deselection it in the viewer.
nds [Wed, 20 May 2015 09:38:23 +0000 (12:38 +0300)]
A fix for a bug: clear content in the shape selector by deselection it in the viewer.

9 years agoA fix for a bug: edit sketch - points are not selectable.
nds [Wed, 20 May 2015 09:03:58 +0000 (12:03 +0300)]
A fix for a bug: edit sketch - points are not selectable.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
mpv [Wed, 20 May 2015 07:25:19 +0000 (10:25 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoUpdate mechanism for the current and old features
mpv [Wed, 20 May 2015 07:24:58 +0000 (10:24 +0300)]
Update mechanism for the current and old features

9 years agoAvoid compilation warnings.
nds [Wed, 20 May 2015 05:30:57 +0000 (08:30 +0300)]
Avoid compilation warnings.

9 years agoRestore show trihedron on viewer creation
vsv [Tue, 19 May 2015 16:29:29 +0000 (19:29 +0300)]
Restore show trihedron on viewer creation

9 years agoUsing of isDisplayed status of object
vsv [Tue, 19 May 2015 14:10:50 +0000 (17:10 +0300)]
Using of isDisplayed status of object

9 years agoFix for crash because of null myFlags in the Data
mpv [Tue, 19 May 2015 13:17:36 +0000 (16:17 +0300)]
Fix for crash because of null myFlags in the Data

9 years agoImplementation of "isDisplayed" persistent flag
mpv [Tue, 19 May 2015 13:05:10 +0000 (16:05 +0300)]
Implementation of "isDisplayed" persistent flag