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

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