Salome HOME
modules/shaper.git
9 years agoIssue #560: export is impossible - generated name should contain file extension autom...
Sergey POKHODENKO [Thu, 28 May 2015 07:08:05 +0000 (10:08 +0300)]
Issue #560: export is impossible - generated name should contain file extension automatically

9 years agoFix for the issue #562
mpv [Thu, 28 May 2015 06:43:21 +0000 (09:43 +0300)]
Fix for the issue #562

9 years agoIssue #355 Delete: elements of sketch and constraints:
nds [Wed, 27 May 2015 18:03:54 +0000 (21:03 +0300)]
Issue #355 Delete: elements of sketch and constraints:

1. Search references in all documents if a feature from "PartSet" is removed
2. displayAllResults() is not used, so commented
3. !anObject->data() is removed because the data can not be empty in an object.

9 years agoFillet is macro, that means that this feature is deleted on commit of the operation.
nds [Wed, 27 May 2015 18:02:07 +0000 (21:02 +0300)]
Fillet is macro, that means that this feature is deleted on commit of the operation.

There is a correction in sketch functionality, concered to the case that all comitted nested features are hardly visualized after commit(disappearing of the presentation by leaving viewer).
These feature are visualized on commit. The fillet can not be visualilzed because data() is invalid.

9 years agoFillet is macro, that means that this feature is deleted on commit of the operation.
nds [Wed, 27 May 2015 17:57:26 +0000 (20:57 +0300)]
Fillet is macro, that means that this feature is deleted on commit of the operation.

There is a correction in sketch functionality, concered to the case that all comitted nested features are hardly visualized after commit(disappearing of the presentation by leaving viewer).
These feature are visualized on commit. The fillet can not be visualilzed because data() is invalid.

9 years agoFix for highlight external objects for "distance" in sketch crash
mpv [Wed, 27 May 2015 17:01:11 +0000 (20:01 +0300)]
Fix for highlight external objects for "distance" in sketch crash

9 years agoFix for crash in Object Browser when object was deleted but message not sent
vsv [Wed, 27 May 2015 16:03:56 +0000 (19:03 +0300)]
Fix for crash in Object Browser when object was deleted but message not sent

9 years agoCorrect checking pointers for Linux
vsv [Wed, 27 May 2015 15:43:13 +0000 (18:43 +0300)]
Correct checking pointers for Linux

9 years agoIssue #547 fix: not null data, even for the action features
mpv [Wed, 27 May 2015 15:43:26 +0000 (18:43 +0300)]
Issue #547 fix: not null data, even for the action features

9 years agoRollback of incorrect commit
Mikhail PONIKAROV [Wed, 27 May 2015 15:14:38 +0000 (18:14 +0300)]
Rollback of incorrect commit

9 years agoIssue #565: Process double click on Object Browser header label
vsv [Wed, 27 May 2015 14:53:02 +0000 (17:53 +0300)]
Issue #565: Process double click on Object Browser header label

9 years agoAdd executable permissions for salome_kill on Linux
Mikhail PONIKAROV [Wed, 27 May 2015 14:04:35 +0000 (17:04 +0300)]
Add executable permissions for salome_kill on Linux

9 years agoMake the expressions in double attributes and points updated after the parameter...
mpv [Wed, 27 May 2015 13:54:28 +0000 (16:54 +0300)]
Make the expressions in double attributes and points updated after the parameter value is also updated

9 years agoIssue #567: Fixing of a vertical line
azv [Wed, 27 May 2015 13:52:11 +0000 (16:52 +0300)]
Issue #567: Fixing of a vertical line

9 years agoMake Point2D sketch controls can use parameters and expressions and updated immediately
mpv [Wed, 27 May 2015 12:43:59 +0000 (15:43 +0300)]
Make Point2D sketch controls can use parameters and expressions and updated immediately

9 years agoIssue #564: Import *.igs and brp files
Sergey POKHODENKO [Wed, 27 May 2015 12:13:56 +0000 (15:13 +0300)]
Issue #564: Import *.igs and brp files

9 years agoFillet is macro
nds [Wed, 27 May 2015 12:00:51 +0000 (15:00 +0300)]
Fillet is macro

9 years agoAbort sketcher when it is not the last feature: fix for modifications outside of...
mpv [Wed, 27 May 2015 11:30:35 +0000 (14:30 +0300)]
Abort sketcher when it is not the last feature: fix for modifications outside of transaction (set current feature)

9 years agoIssue #567: Wrong result during mirror on different lines
azv [Wed, 27 May 2015 10:42:21 +0000 (13:42 +0300)]
Issue #567: Wrong result during mirror on different lines

9 years agoIssue #565: Activate part on a double click
vsv [Wed, 27 May 2015 09:48:58 +0000 (12:48 +0300)]
Issue #565: Activate part on a double click

9 years agothis is done in Part result "activate", so no needed here. Causes not-blue active...
vsv [Wed, 27 May 2015 08:57:48 +0000 (11:57 +0300)]
this is done in Part result "activate", so no needed here. Causes not-blue active part.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
mpv [Wed, 27 May 2015 08:47:26 +0000 (11:47 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoMake second open notcrashed in this vearion
mpv [Wed, 27 May 2015 08:47:07 +0000 (11:47 +0300)]
Make second open notcrashed in this vearion

9 years agoFix compilation error in GeomAlgoAPI_ShapeProps.cpp
Sergey POKHODENKO [Wed, 27 May 2015 08:30:24 +0000 (11:30 +0300)]
Fix compilation error in GeomAlgoAPI_ShapeProps.cpp

9 years agoFix on floating bug on abort of parameter creation
mpv [Wed, 27 May 2015 08:01:27 +0000 (11:01 +0300)]
Fix on floating bug on abort of parameter creation

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Wed, 27 May 2015 07:53:08 +0000 (10:53 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoThe validator shape_type is not used for the multi-selector and shape-selector control.
nds [Wed, 27 May 2015 07:51:38 +0000 (10:51 +0300)]
The validator shape_type is not used for the multi-selector and shape-selector control.

The reason is an extrusion feature. It should accept Sketch selected in the browser, but the Shape filter with the "Face" type deny it.
So, temporary, the method acceptSubShape() is used instead of the custom validator mechanizm.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Wed, 27 May 2015 07:28:35 +0000 (10:28 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoMake possible to input formula to Point2d widget
vsv [Wed, 27 May 2015 07:28:24 +0000 (10:28 +0300)]
Make possible to input formula to Point2d widget

9 years agoLinux script to kill session services of SALOME
nds [Wed, 27 May 2015 05:07:32 +0000 (08:07 +0300)]
Linux script to kill session services of SALOME

9 years agoTemporary providing a compound shape type in selection and validation to provide...
nds [Tue, 26 May 2015 16:58:11 +0000 (19:58 +0300)]
Temporary providing a compound shape type in selection and validation to provide a selection of a Sketch result in the browser.

9 years agoHang up on constraining already fixed object
azv [Tue, 26 May 2015 15:38:50 +0000 (18:38 +0300)]
Hang up on constraining already fixed object

9 years agoAvoid crashing in solver
azv [Tue, 26 May 2015 15:16:35 +0000 (18:16 +0300)]
Avoid crashing in solver

9 years agoIssue #355 - Delete: elements of sketch and constraints
nds [Tue, 26 May 2015 15:12:06 +0000 (18:12 +0300)]
Issue #355 - Delete: elements of sketch and constraints

An iteration through the opened documents to find references to a feature in the "PartSet" document.

9 years agoIssue #563: Fix the problem with translating on the given distance
azv [Tue, 26 May 2015 15:07:15 +0000 (18:07 +0300)]
Issue #563: Fix the problem with translating on the given distance

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Tue, 26 May 2015 15:01:22 +0000 (18:01 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoUse activation only for objects which are not result of a current operation
vsv [Tue, 26 May 2015 15:01:09 +0000 (18:01 +0300)]
Use activation only for objects which are not result of a current operation

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

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 agoIssue #564: Import *.igs files
Sergey POKHODENKO [Tue, 26 May 2015 13:22:24 +0000 (16:22 +0300)]
Issue #564: Import *.igs files

9 years agoIssue #529: 4.07. Import IGES, export to BREP, STEP, IGES - Tests for Import/Export
Sergey POKHODENKO [Tue, 26 May 2015 13:10:33 +0000 (16:10 +0300)]
Issue #529: 4.07. Import IGES, export to BREP, STEP, IGES - Tests for Import/Export

9 years agoFix for removing sketch and sub-components not correct history position was defined
mpv [Tue, 26 May 2015 12:46:01 +0000 (15:46 +0300)]
Fix for removing sketch and sub-components not correct history position was defined

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