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

9 years agoCorrection of compilation error
vsv [Tue, 19 May 2015 09:48:56 +0000 (12:48 +0300)]
Correction of compilation error

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

9 years agoTake into account that position of Part feature could be changed
vsv [Tue, 19 May 2015 09:41:24 +0000 (12:41 +0300)]
Take into account that position of Part feature could be changed

9 years agoIssue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Set locale before export
Sergey POKHODENKO [Tue, 19 May 2015 06:24:30 +0000 (09:24 +0300)]
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Set locale before export

9 years agoPartSet_Module::createWidgetByType() use if/else sequence instead of separate if/if
Sergey POKHODENKO [Mon, 18 May 2015 12:46:50 +0000 (15:46 +0300)]
PartSet_Module::createWidgetByType() use if/else sequence instead of separate if/if

9 years agoIssue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Remove redundant code...
Sergey POKHODENKO [Mon, 18 May 2015 07:04:30 +0000 (10:04 +0300)]
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Remove redundant code in import/export

9 years agoIssue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export IGES with versions
Sergey POKHODENKO [Fri, 15 May 2015 10:32:54 +0000 (13:32 +0300)]
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export IGES with versions

9 years agoModuleBase_WidgetFileSelector uses curent value as default for the dialog
Sergey POKHODENKO [Tue, 19 May 2015 07:07:51 +0000 (10:07 +0300)]
ModuleBase_WidgetFileSelector uses curent value as default for the dialog

9 years agoCheck selection type before setCurrentShapeType() in ModuleBase_WidgetMultiSelector...
Sergey POKHODENKO [Fri, 15 May 2015 06:52:37 +0000 (09:52 +0300)]
Check selection type before setCurrentShapeType() in ModuleBase_WidgetMultiSelector::restoreValue()

9 years agoIssue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export STEP
Sergey POKHODENKO [Thu, 14 May 2015 12:29:22 +0000 (15:29 +0300)]
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export STEP

9 years agoIssue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export BREP
Sergey POKHODENKO [Thu, 14 May 2015 12:05:43 +0000 (15:05 +0300)]
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export BREP

9 years agoIssue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export IGES
Sergey POKHODENKO [Thu, 14 May 2015 11:25:27 +0000 (14:25 +0300)]
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export IGES

9 years agoIssue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Add frame (Export icon)
Sergey POKHODENKO [Tue, 12 May 2015 08:27:38 +0000 (11:27 +0300)]
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Add frame (Export icon)

9 years agoLinux compilation and isPreviewNeeded method implementation.
mpv [Tue, 19 May 2015 06:29:35 +0000 (09:29 +0300)]
Linux compilation and isPreviewNeeded method implementation.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Mon, 18 May 2015 14:04:10 +0000 (17:04 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoSynchronize double value and text representation stored in attribute
vsv [Mon, 18 May 2015 14:03:55 +0000 (17:03 +0300)]
Synchronize double value and text representation stored in attribute

9 years agoDebug of load/save and Parts activation
mpv [Mon, 18 May 2015 13:35:38 +0000 (16:35 +0300)]
Debug of load/save and Parts activation

9 years agoAvoid crash on module deactivation in SALOME
vsv [Mon, 18 May 2015 12:15:15 +0000 (15:15 +0300)]
Avoid crash on module deactivation in SALOME

9 years agoSet current feature only for active document
vsv [Mon, 18 May 2015 11:53:24 +0000 (14:53 +0300)]
Set current feature only for active document

9 years agoIssue #545: make nested button with minimal necessary size
vsv [Mon, 18 May 2015 11:52:21 +0000 (14:52 +0300)]
Issue #545: make nested button with minimal necessary size

9 years agoHide disabled features
vsv [Mon, 18 May 2015 09:58:50 +0000 (12:58 +0300)]
Hide disabled features

9 years agoMake features history working. Optimization of features and results management and...
mpv [Mon, 18 May 2015 07:21:26 +0000 (10:21 +0300)]
Make features history working. Optimization of features and results management and access. Appending feature into the arbitrary position of the features list.

9 years agoIssue #544: let to use negative values in double input
vsv [Fri, 15 May 2015 07:59:30 +0000 (10:59 +0300)]
Issue #544: let to use negative values in double input

9 years agoMake invisible in the tree objects correctly processed: all invisible after the curre...
mpv [Wed, 13 May 2015 11:34:09 +0000 (14:34 +0300)]
Make invisible in the tree objects correctly processed: all invisible after the current are enabled. This helps with sketch sub-elements processing.

9 years agoMake features enabled/disabled in the correct way
mpv [Wed, 13 May 2015 08:57:56 +0000 (11:57 +0300)]
Make features enabled/disabled in the correct way

9 years agoCreate line with coincidence on an other line
vsv [Tue, 12 May 2015 16:26:51 +0000 (19:26 +0300)]
Create line with coincidence on an other line

9 years agoMake rigid constraint on vertexes of lines
vsv [Tue, 12 May 2015 14:50:19 +0000 (17:50 +0300)]
Make rigid constraint on vertexes of lines

9 years agoProvide possibility to make last static object as a last history object when there...
vsv [Tue, 12 May 2015 12:24:06 +0000 (15:24 +0300)]
Provide possibility to make last static object as a last history object when there is no features created

9 years agoFix of crash on feature in new part creation CurrentFeature_Bug
mpv [Tue, 12 May 2015 08:13:56 +0000 (11:13 +0300)]
Fix of crash on feature in new part creation

9 years agoFiles to reproduce bug with Current feature
vsv [Tue, 12 May 2015 07:46:54 +0000 (10:46 +0300)]
Files to reproduce bug with Current feature

9 years agoIssue #529: 4.07. Import IGES, export to BREP, STEP, IGES - Import IGES
Sergey POKHODENKO [Fri, 8 May 2015 14:27:08 +0000 (17:27 +0300)]
Issue #529: 4.07. Import IGES, export to BREP, STEP, IGES - Import IGES

9 years agoFeature #527: 4.04. Extrusion and Revolution from and up to planar face or plane
dbv [Fri, 8 May 2015 15:10:20 +0000 (18:10 +0300)]
Feature #527: 4.04. Extrusion and Revolution from and up to planar face or plane

Added new method in GeomAlgoAPI_FaceBuilder for building plane from origin and axis
Added new GeomAlgoAPI_Prism class for building extrusion from base face between bounding planes
FeaturePlugin_Extrusion now uses GeomAlgoAPI_Prism instead of GeomAlgoAPI_Extrusion
Added new GeomAlgoAPI_ShapeProps class for computing different shape props. Currently it have only one method to compute shape volume.
Updated tests according to changes in extrusion.

9 years agoIssue #539: import step - *.stp files
Sergey POKHODENKO [Fri, 8 May 2015 12:26:05 +0000 (15:26 +0300)]
Issue #539: import step - *.stp files

9 years agoFix: Dev_1.2.0 for linux
Sergey POKHODENKO [Fri, 8 May 2015 09:00:13 +0000 (12:00 +0300)]
Fix: Dev_1.2.0 for linux

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
mpv [Fri, 8 May 2015 12:43:42 +0000 (15:43 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoMake compilable on Linux
mpv [Fri, 8 May 2015 12:42:19 +0000 (15:42 +0300)]
Make compilable on Linux

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Fri, 8 May 2015 09:19:45 +0000 (12:19 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoUsing mouse double click for history line change
vsv [Fri, 8 May 2015 09:19:33 +0000 (12:19 +0300)]
Using mouse double click for history line change

9 years agoInitial implementation of working with history: issue #499
mpv [Fri, 8 May 2015 09:01:58 +0000 (12:01 +0300)]
Initial implementation of working with history: issue #499

9 years agoSet reference to correct label: to avoid recursion of sub-label with tag "1"
mpv [Fri, 8 May 2015 06:54:12 +0000 (09:54 +0300)]
Set reference to correct label: to avoid recursion of sub-label with tag "1"

9 years agoFix for crash on working with not-activated document
mpv [Fri, 8 May 2015 06:45:38 +0000 (09:45 +0300)]
Fix for crash on working with not-activated document

9 years agoSimplification of "Update" algorithm and "Macro" flag implementation for the box...
mpv [Thu, 7 May 2015 17:26:15 +0000 (20:26 +0300)]
Simplification of "Update" algorithm and "Macro" flag implementation for the box feature: not it fails on remove (or abort) because of python problems with swig connection (null shared pointer to "data")

9 years agoCurrently active feature pointer in Object Browser is created
vsv [Thu, 7 May 2015 13:09:59 +0000 (16:09 +0300)]
Currently active feature pointer in Object Browser is created

9 years agoTransfer Part data from Part result sub-tree to Part feature sub-tree
vsv [Wed, 6 May 2015 14:49:57 +0000 (17:49 +0300)]
Transfer Part data from Part result sub-tree to Part feature sub-tree

9 years agoAdded "index" method for ObjectBrowser internal logic and better access
mpv [Tue, 5 May 2015 09:57:13 +0000 (12:57 +0300)]
Added "index" method for ObjectBrowser internal logic and better access

9 years agoRestore selection in the viewer by multi selector widget activation.
nds [Thu, 30 Apr 2015 20:06:09 +0000 (23:06 +0300)]
Restore selection in the viewer by multi selector widget activation.

9 years agoRestore selection in the viewer by multi selector widget activation.
nds [Thu, 30 Apr 2015 20:01:47 +0000 (23:01 +0300)]
Restore selection in the viewer by multi selector widget activation.

9 years agoPreselection realization for multi-selector widget to accept some selection values.
nds [Thu, 30 Apr 2015 19:05:38 +0000 (22:05 +0300)]
Preselection realization for multi-selector widget to accept some selection values.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom.git into Dev_1.2.0
sbh [Thu, 30 Apr 2015 14:46:23 +0000 (17:46 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom.git into Dev_1.2.0

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom.git into Dev_1.2.0
sbh [Thu, 30 Apr 2015 14:46:05 +0000 (17:46 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom.git into Dev_1.2.0

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
nds [Thu, 30 Apr 2015 14:34:41 +0000 (17:34 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

Conflicts:
src/PartSet/PartSet_Module.cpp

9 years agoEvalListener to evaluate expression from inputs
sbh [Thu, 30 Apr 2015 14:32:02 +0000 (17:32 +0300)]
EvalListener to evaluate expression from inputs

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
nds [Thu, 30 Apr 2015 14:23:54 +0000 (17:23 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

Conflicts:
src/PartSet/PartSet_Module.cpp

9 years agoAn angle widget for the rotation operation.
nds [Thu, 30 Apr 2015 14:19:02 +0000 (17:19 +0300)]
An angle widget for the rotation operation.

9 years agobuild procedures for centos/debian were separated
sbh [Thu, 30 Apr 2015 13:32:00 +0000 (16:32 +0300)]
build procedures for centos/debian were separated

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Thu, 30 Apr 2015 10:02:27 +0000 (13:02 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

Conflicts:
src/ModuleBase/ModuleBase_IModule.h
src/PartSet/PartSet_Module.cpp

9 years agoTransfer data model for object browser under module responsibility
vsv [Thu, 30 Apr 2015 09:54:42 +0000 (12:54 +0300)]
Transfer data model for object browser under module responsibility

9 years agoThe selection problem with an object deactivate:
nds [Wed, 29 Apr 2015 19:55:34 +0000 (22:55 +0300)]
The selection problem with an object deactivate:

Scenario: select a line, start distance constraint operation, activate a point widget, the object is not selected in the viewer, but click 'Esc', the first control is filled by this object.

9 years agoRigid constraint should process selection of vertex, lines and circles. So, a new...
nds [Wed, 29 Apr 2015 16:59:49 +0000 (19:59 +0300)]
Rigid constraint should process selection of vertex, lines and circles. So, a new validator ShapeType is created. It uses a combination of given parameters. The functionality of Edge and EdgeOrVertex validators are replaced by  this new validator fully. So, they are removed.

9 years agoDo not use align to the left in the page group box widget.
nds [Wed, 29 Apr 2015 15:16:28 +0000 (18:16 +0300)]
Do not use align to the left in the page group box widget.

Test case is: start sketch, create segments, start translation/rotation. The grouped controls are not extended to all possible width of the property panel.

9 years agoUse the object attributes as attributes of Rigid constraint
azv [Wed, 29 Apr 2015 07:44:39 +0000 (10:44 +0300)]
Use the object attributes as attributes of Rigid constraint

9 years agoA possibility to use entity point attribute for the rigid constraint in GUI.
nds [Wed, 29 Apr 2015 07:23:54 +0000 (10:23 +0300)]
A possibility to use entity point attribute for the rigid constraint in GUI.

9 years agoA colors palette for multi-color.
nds [Tue, 28 Apr 2015 10:56:19 +0000 (13:56 +0300)]
A colors palette for multi-color.

9 years agoAvoid compilation problems on Debian 6.0
azv [Tue, 28 Apr 2015 04:30:28 +0000 (07:30 +0300)]
Avoid compilation problems on Debian 6.0

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom.git into Dev_1.2.0
sbh [Mon, 27 Apr 2015 16:15:15 +0000 (19:15 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom.git into Dev_1.2.0

9 years agoTests for parameter creation, referencing and use added.
sbh [Mon, 27 Apr 2015 16:15:06 +0000 (19:15 +0300)]
Tests for parameter creation, referencing and use added.

9 years agoMulti-color
nds [Mon, 27 Apr 2015 13:44:41 +0000 (16:44 +0300)]
Multi-color

9 years agoNon-pushed modification for the next bug:
nds [Thu, 23 Apr 2015 14:51:31 +0000 (17:51 +0300)]
Non-pushed modification for the next bug:

Start a sketch creation, do not select a plane, instead of it, click in any place in the viewer.
Result is - all nested sketch entities actions are enabled.

9 years agoSeparate local contexts of parameter's and pyconsole interpreters
sbh [Mon, 27 Apr 2015 12:30:52 +0000 (15:30 +0300)]
Separate local contexts of parameter's and pyconsole interpreters

9 years ago1. Make count of copies in Translation/Rotation editable
vsv [Mon, 27 Apr 2015 09:44:12 +0000 (12:44 +0300)]
1. Make count of copies in Translation/Rotation editable

2. Make arrows in various view not bigger then acceptable

9 years agocreatePoint2DResult() to be used in Circle/Translation/Rotation objects. May be Sketc...
nds [Fri, 24 Apr 2015 17:24:27 +0000 (20:24 +0300)]
createPoint2DResult() to be used in Circle/Translation/Rotation objects. May be SketchPlugun tools should be created for the common functionality.

9 years agoThe bug fix: the enable state of nested sketch actions until sketch plane is not...
nds [Fri, 24 Apr 2015 16:18:20 +0000 (19:18 +0300)]
The bug fix: the enable state of nested sketch actions until sketch plane is not selected yet. It has been also integrated in 1.1.1 branch

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
nds [Fri, 24 Apr 2015 16:14:43 +0000 (19:14 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoGUI for extrusion/revolution features.
nds [Fri, 24 Apr 2015 16:14:28 +0000 (19:14 +0300)]
GUI for extrusion/revolution features.

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom.git into Dev_1.2.0
sbh [Fri, 24 Apr 2015 15:21:29 +0000 (18:21 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom.git into Dev_1.2.0

9 years agoPopup menu for constraints updated: no second window, accepts parameters
sbh [Fri, 24 Apr 2015 15:21:20 +0000 (18:21 +0300)]
Popup menu for constraints updated: no second window, accepts parameters

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Fri, 24 Apr 2015 15:00:02 +0000 (18:00 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoInteger widget is created and used in translate rotate widgets
vsv [Fri, 24 Apr 2015 14:59:45 +0000 (17:59 +0300)]
Integer widget is created and used in translate rotate widgets

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
nds [Fri, 24 Apr 2015 14:50:51 +0000 (17:50 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoCorrections for extrusion/revolution xml definition and random color
nds [Fri, 24 Apr 2015 14:50:39 +0000 (17:50 +0300)]
Corrections for extrusion/revolution xml definition and random color

9 years agoSet icons for translation and rotation
vsv [Fri, 24 Apr 2015 12:27:53 +0000 (15:27 +0300)]
Set icons for translation and rotation

9 years agoMerge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
vsv [Fri, 24 Apr 2015 10:44:56 +0000 (13:44 +0300)]
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0

9 years agoSymbols for translation/rotation are created
vsv [Fri, 24 Apr 2015 10:44:40 +0000 (13:44 +0300)]
Symbols for translation/rotation are created