Salome HOME
modules/shaper.git
9 years agoMerge branch 'master' of newgeom:newgeom.git into BR_PYTHON_PLUGIN
sbh [Tue, 25 Nov 2014 09:10:42 +0000 (12:10 +0300)]
Merge branch 'master' of newgeom:newgeom.git into BR_PYTHON_PLUGIN

Conflicts:
src/ModelAPI/ModelAPI.i
src/ModelAPI/ModelAPI_Session.cpp

9 years agoPython unit tests updated and extended.
sbh [Fri, 21 Nov 2014 13:13:27 +0000 (16:13 +0300)]
Python unit tests updated and extended.

* TestBoolean, TestExtrusion of FeaturesPlugin added
* TestConstraintRigid of SketchPlugin added
* Some errors tests corrected.

9 years agoSources formated by autopep8.py
sbh [Mon, 24 Nov 2014 11:50:06 +0000 (14:50 +0300)]
Sources formated by autopep8.py

For more info:
https://www.python.org/dev/peps/pep-0008

9 years agoFixes in python code to avoid modifications outside of a transaction:
sbh [Mon, 24 Nov 2014 11:39:43 +0000 (14:39 +0300)]
Fixes in python code to avoid modifications outside of a transaction:

# Implicit calls of startOperation/finishOperation removed
# Method for "ConstraintLength" created inside of sketch API module
# C++ API corrected to avoid hangs on modifications outside of a transaction

9 years agoRenaud's patch "python_plugin_11_20.patch"
sbh [Mon, 24 Nov 2014 08:33:05 +0000 (11:33 +0300)]
Renaud's patch "python_plugin_11_20.patch"

9 years agoUnused structure removed to make extended interfaces compilable under Windows V_0.5.2
sbh [Tue, 18 Nov 2014 12:44:47 +0000 (15:44 +0300)]
Unused structure removed to make extended interfaces compilable under Windows

9 years agoExtension of SWIG interfaces
sbh [Tue, 18 Nov 2014 12:26:34 +0000 (15:26 +0300)]
Extension of SWIG interfaces

9 years agoMerge branch 'master' of newgeom:newgeom.git
sbh [Tue, 18 Nov 2014 08:53:49 +0000 (11:53 +0300)]
Merge branch 'master' of newgeom:newgeom.git

9 years agoBoost has been removed from CMake (linux environment)
sbh [Tue, 18 Nov 2014 08:53:39 +0000 (11:53 +0300)]
Boost has been removed from CMake (linux environment)

9 years agoMerge branch 'master' of newgeom:newgeom
mpv [Tue, 18 Nov 2014 07:04:50 +0000 (10:04 +0300)]
Merge branch 'master' of newgeom:newgeom

Conflicts:
src/GeomAPI/GeomAPI_PlanarEdges.h
src/Model/Model_ResultConstruction.cpp
src/Model/Model_ResultConstruction.h
src/Model/Model_ResultGroup.cpp
src/Model/Model_ResultGroup.h
src/ModelAPI/ModelAPI_ResultBody.h
src/ModelAPI/ModelAPI_ResultConstruction.h
src/ModelAPI/ModelAPI_ResultGroup.h
src/ModelAPI/ModelAPI_Tools.cpp

9 years agoFix for crash and invisible bodies on Debian Squeeze SALOME version.
mpv [Tue, 18 Nov 2014 06:29:17 +0000 (09:29 +0300)]
Fix for crash and invisible bodies on Debian Squeeze SALOME version.

The problem is still unclear, possible there will be new fixes needed later.

9 years agoBoost has been removed from windows environment
sbh [Mon, 17 Nov 2014 17:47:42 +0000 (20:47 +0300)]
Boost has been removed from windows environment

9 years agoBoost has been removed from code
sbh [Mon, 17 Nov 2014 17:24:12 +0000 (20:24 +0300)]
Boost has been removed from code

9 years agoIcon added and debug output is removed
sbh [Mon, 17 Nov 2014 14:56:41 +0000 (17:56 +0300)]
Icon added and debug output is removed

9 years agoMerge branch 'master' into BR_PYTHON_PLUGIN
Sergey BELASH [Mon, 17 Nov 2014 14:43:52 +0000 (17:43 +0300)]
Merge branch 'master' into BR_PYTHON_PLUGIN

9 years agoMerge branch 'master' into BR_PYTHON_PLUGIN
Sergey BELASH [Mon, 17 Nov 2014 14:43:13 +0000 (17:43 +0300)]
Merge branch 'master' into BR_PYTHON_PLUGIN

9 years agoProper handling of Python's GIL by SWIG
Sergey BELASH [Mon, 17 Nov 2014 14:43:00 +0000 (17:43 +0300)]
Proper handling of Python's GIL by SWIG

9 years agoUseless constructor stubs for SWIG removed
Sergey BELASH [Mon, 17 Nov 2014 12:51:31 +0000 (15:51 +0300)]
Useless constructor stubs for SWIG removed

9 years agoPython API and example plugin are corrected to perform basic actions without crashes
Sergey BELASH [Mon, 17 Nov 2014 12:33:28 +0000 (15:33 +0300)]
Python API and example plugin are corrected to perform basic actions without crashes

9 years agoFix for creation of edges in sketch on Squeese: Events_MessageGroup had different...
mpv [Fri, 14 Nov 2014 10:37:57 +0000 (13:37 +0300)]
Fix for creation of edges in sketch on Squeese: Events_MessageGroup had different instances in Events library and Model plugin. Reproduced only on Debian Squeeze.

9 years agoAdded wrappings for sketch faces creation to be able to create an extrusion from...
mpv [Thu, 13 Nov 2014 16:10:13 +0000 (19:10 +0300)]
Added wrappings for sketch faces creation to be able to create an extrusion from the sketch in python console.

9 years agoFix for crashes on close of application in SALOME mode V_0.5.1
mpv [Thu, 13 Nov 2014 11:16:01 +0000 (14:16 +0300)]
Fix for crashes on close of application in SALOME mode

9 years agoFix for crash on Debian Squeeze. It is quite tricky and crash is avoided if change...
mpv [Thu, 13 Nov 2014 10:47:01 +0000 (13:47 +0300)]
Fix for crash on Debian Squeeze. It is quite tricky and crash is avoided if change the order of execution of methods.

9 years agoMerge branch 'master' of newgeom:newgeom.git
sbh [Wed, 12 Nov 2014 09:28:41 +0000 (12:28 +0300)]
Merge branch 'master' of newgeom:newgeom.git

9 years agoTo avoid possible crash on close V_0.5
mpv [Tue, 11 Nov 2014 13:39:31 +0000 (16:39 +0300)]
To avoid possible crash on close

9 years agoMerge branch 'master' of newgeom:newgeom
mpv [Tue, 11 Nov 2014 12:51:59 +0000 (15:51 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoIssue #249 : hide sketcher on Apply of extrusion based on it
mpv [Tue, 11 Nov 2014 12:51:36 +0000 (15:51 +0300)]
Issue #249 : hide sketcher on Apply of extrusion based on it

9 years agoIssue #265: Conflicting constraints after aborting of constraint creation
azv [Tue, 11 Nov 2014 12:47:45 +0000 (15:47 +0300)]
Issue #265: Conflicting constraints after aborting of constraint creation

Changed procedure of finding appropriate group for constraints and entities in the solver

9 years agoCorrectly close the document on opening the new one
mpv [Tue, 11 Nov 2014 12:34:06 +0000 (15:34 +0300)]
Correctly close the document on opening the new one

9 years agoIssue #263 Check validity of the feature when filling it with pre-selection
sbh [Tue, 11 Nov 2014 10:06:02 +0000 (13:06 +0300)]
Issue #263 Check validity of the feature when filling it with pre-selection

9 years agoFixed the crash on selection of sketch in PartSet
mpv [Tue, 11 Nov 2014 09:28:36 +0000 (12:28 +0300)]
Fixed the crash on selection of sketch in PartSet

9 years agoIssue #251. Append Export/Import NewGeom commands in the SALOME desktop.
nds [Tue, 11 Nov 2014 09:20:04 +0000 (12:20 +0300)]
Issue #251. Append Export/Import NewGeom commands in the SALOME desktop.

9 years agoMerge branch 'master' of newgeom:newgeom
nds [Tue, 11 Nov 2014 09:17:17 +0000 (12:17 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoIssue #251. Append Export/Import NewGeom commands in the SALOME desktop.
nds [Tue, 11 Nov 2014 09:16:58 +0000 (12:16 +0300)]
Issue #251. Append Export/Import NewGeom commands in the SALOME desktop.

9 years agoAbort of sketch: empty transactions appearance fix
mpv [Tue, 11 Nov 2014 08:41:53 +0000 (11:41 +0300)]
Abort of sketch: empty transactions appearance fix

9 years agoMerge branch 'master' of newgeom:newgeom.git
sbh [Tue, 11 Nov 2014 08:39:20 +0000 (11:39 +0300)]
Merge branch 'master' of newgeom:newgeom.git

9 years agoDisable undo on active operation (to prevent crash on undo the sketch creation)
sbh [Tue, 11 Nov 2014 08:39:04 +0000 (11:39 +0300)]
Disable undo on active operation (to prevent crash on undo the sketch creation)

9 years agoMerge branch 'master' of newgeom:newgeom
mpv [Tue, 11 Nov 2014 08:23:30 +0000 (11:23 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoIssue #258: make selection information of the attribute label, not on the data label...
mpv [Tue, 11 Nov 2014 08:23:07 +0000 (11:23 +0300)]
Issue #258: make selection information of the attribute label, not on the data label (for selection list it is really bad case)

9 years agoMerge branch 'master' of newgeom:newgeom.git
sbh [Tue, 11 Nov 2014 07:54:49 +0000 (10:54 +0300)]
Merge branch 'master' of newgeom:newgeom.git

9 years agoIssue #219 force repaint for group list added. Posibility to add the group's results...
Sergey BELASH [Mon, 10 Nov 2014 17:09:56 +0000 (20:09 +0300)]
Issue #219 force repaint for group list added. Posibility to add the group's results eliminated.

9 years agoMerge branch 'master' of newgeom:newgeom.git
sbh [Mon, 10 Nov 2014 16:44:49 +0000 (19:44 +0300)]
Merge branch 'master' of newgeom:newgeom.git

9 years agoProper highlight of active "shape selector" widget
sbh [Mon, 10 Nov 2014 16:44:02 +0000 (19:44 +0300)]
Proper highlight of active "shape selector" widget

9 years agoIssue 152 : do not compact empty transactions becasue it causes problem in OCCT
mpv [Mon, 10 Nov 2014 14:43:30 +0000 (17:43 +0300)]
Issue 152 : do not compact empty transactions becasue it causes problem in OCCT

9 years agoMerge branch 'master' of newgeom:newgeom
mpv [Mon, 10 Nov 2014 14:22:46 +0000 (17:22 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoMake default validator initializer not global: to be initialized when it is needed
mpv [Mon, 10 Nov 2014 14:22:20 +0000 (17:22 +0300)]
Make default validator initializer not global: to be initialized when it is needed

9 years agorefs #196 - visualize a constraint distance presentation in case of invalid value.
nds [Mon, 10 Nov 2014 13:50:39 +0000 (16:50 +0300)]
refs #196 - visualize a constraint distance presentation in case of invalid value.

9 years agorefs #196 - visualize a constraint distance presentation in case of invalid value.
nds [Mon, 10 Nov 2014 13:42:57 +0000 (16:42 +0300)]
refs #196 - visualize a constraint distance presentation in case of invalid value.

9 years agoIssue 192: fixed of possible crash on abort of modification of group
mpv [Mon, 10 Nov 2014 12:34:03 +0000 (15:34 +0300)]
Issue 192: fixed of possible crash on abort of modification of group

9 years agoMerge branch 'master' of newgeom:newgeom.git
sbh [Mon, 10 Nov 2014 11:53:08 +0000 (14:53 +0300)]
Merge branch 'master' of newgeom:newgeom.git

9 years agoIssue #219 Corectly define selection type on edit
sbh [Mon, 10 Nov 2014 11:52:51 +0000 (14:52 +0300)]
Issue #219 Corectly define selection type on edit

9 years agoMerge branch 'master' of newgeom:newgeom
mpv [Mon, 10 Nov 2014 11:38:41 +0000 (14:38 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoIssue #208 : update the sketch and sub-entities with updated plane in right way:...
mpv [Mon, 10 Nov 2014 11:38:17 +0000 (14:38 +0300)]
Issue #208 : update the sketch and sub-entities with updated plane in right way: sketch plane, then all subs, then all subs again (after solver processing), then sketch result itself.

9 years agoIssue #208 - A correction to filter the selected/highlighted objects to belong the...
nds [Mon, 10 Nov 2014 10:39:42 +0000 (13:39 +0300)]
Issue #208 - A correction to filter the selected/highlighted objects to belong the current sketch.

9 years agoIssue #254: on error of Boolean operations produce error window and this error now...
mpv [Mon, 10 Nov 2014 08:50:16 +0000 (11:50 +0300)]
Issue #254: on error of Boolean operations produce error window and this error now does no block the continuation and working properly later, when this problem is fixed

9 years agoIssue #196: Implemented verification of zero distance in SketchSolver
nds [Mon, 10 Nov 2014 06:43:40 +0000 (09:43 +0300)]
Issue #196: Implemented verification of zero distance in SketchSolver

9 years agoIssue #196: Implemented verification of zero distance in SketchSolver
azv [Mon, 10 Nov 2014 05:28:57 +0000 (08:28 +0300)]
Issue #196: Implemented verification of zero distance in SketchSolver

9 years agoIssues #248, #235 The obtaining of the point from the TopoDS_Vertex shape during...
nds [Fri, 7 Nov 2014 16:32:59 +0000 (19:32 +0300)]
Issues #248, #235 The obtaining of the point from the TopoDS_Vertex shape during saving the operation preselection.

Moving the algorithm of a point get from a Vertex shape into a tool method to be called where it is necessary.

9 years agoMerge branch 'master' of newgeom:newgeom
nds [Fri, 7 Nov 2014 16:09:34 +0000 (19:09 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoIssues #248, #235 The obtaining of the point from the TopoDS_Vertex shape during...
nds [Fri, 7 Nov 2014 16:09:17 +0000 (19:09 +0300)]
Issues #248, #235 The obtaining of the point from the TopoDS_Vertex shape during saving the operation preselection.

Moving the algorithm of a point get from a Vertex shape into a tool method to be called where it is necessary.

9 years agoRestore 'Delete' pop-up command
vsv [Fri, 7 Nov 2014 15:29:48 +0000 (18:29 +0300)]
Restore 'Delete' pop-up command

9 years agoIssue #245: Hide extra items from pop-up menu in SALOME
vsv [Fri, 7 Nov 2014 13:52:48 +0000 (16:52 +0300)]
Issue #245: Hide extra items from pop-up menu in SALOME

9 years agoMerge branch 'master' of newgeom:newgeom
vsv [Fri, 7 Nov 2014 13:15:48 +0000 (16:15 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoDo not add Show/Hide menus to a Part.
vsv [Fri, 7 Nov 2014 13:15:36 +0000 (16:15 +0300)]
Do not add Show/Hide menus to a Part.

9 years agoSignal/Slot connection warning eliminated
sbh [Fri, 7 Nov 2014 13:09:28 +0000 (16:09 +0300)]
Signal/Slot connection warning eliminated

9 years agoMerge branch 'master' of newgeom:newgeom.git
sbh [Fri, 7 Nov 2014 12:59:32 +0000 (15:59 +0300)]
Merge branch 'master' of newgeom:newgeom.git

9 years agoInitialize selection of group items properly
sbh [Fri, 7 Nov 2014 12:59:12 +0000 (15:59 +0300)]
Initialize selection of group items properly

9 years agoIssue #247: Provide show/hide for groups
vsv [Fri, 7 Nov 2014 12:44:14 +0000 (15:44 +0300)]
Issue #247: Provide show/hide for groups

9 years agoIssue #236: Avoid empty shape types definition
vsv [Fri, 7 Nov 2014 12:31:08 +0000 (15:31 +0300)]
Issue #236: Avoid empty shape types definition

9 years agoIssue #236: Provide filtering of selected objects for extrusion
vsv [Fri, 7 Nov 2014 12:14:02 +0000 (15:14 +0300)]
Issue #236: Provide filtering of selected objects for extrusion

9 years agoIssue #224 : for now the preferences rebuild flag has different meaning: rebuild...
mpv [Fri, 7 Nov 2014 12:06:56 +0000 (15:06 +0300)]
Issue #224 : for now the preferences rebuild flag has different meaning: rebuild immediately (inside of the transaction)

9 years agoBlock shape type combo's signals on restoring values. Fixes issue #220 #230
sbh [Fri, 7 Nov 2014 11:17:36 +0000 (14:17 +0300)]
Block shape type combo's signals on restoring values. Fixes issue #220 #230

9 years agoMerge branch 'master' of newgeom:newgeom
mpv [Fri, 7 Nov 2014 10:53:19 +0000 (13:53 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoGroups transactions mechanism debug
mpv [Fri, 7 Nov 2014 10:53:02 +0000 (13:53 +0300)]
Groups transactions mechanism debug

9 years agoRestart edit opeation for a constraint on the mouse release.
nds [Fri, 7 Nov 2014 09:52:45 +0000 (12:52 +0300)]
Restart edit opeation for a constraint on the mouse release.

Ignore double click on another constraint feature(lenght, distance) if the select control is active.

9 years agoMerge branch 'master' of newgeom:newgeom
nds [Fri, 7 Nov 2014 08:47:52 +0000 (11:47 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoTwo lists are filled for edit operation - a list of selected objects and highlighted.
nds [Fri, 7 Nov 2014 08:47:35 +0000 (11:47 +0300)]
Two lists are  filled for edit operation - a list of selected objects and highlighted.

In order to analize which should be used if the shift is pressed

9 years agoMerge branch 'master' of newgeom:newgeom
vsv [Fri, 7 Nov 2014 08:45:18 +0000 (11:45 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoIssue #236: Buttons 'N' and 'P' change selection of object under cursor to Next or...
vsv [Fri, 7 Nov 2014 08:45:06 +0000 (11:45 +0300)]
Issue #236: Buttons 'N' and 'P' change selection of object under cursor to Next or Previous

9 years agoIssue #244 : do not allow to select null objects (coming from other documents) yet
mpv [Fri, 7 Nov 2014 08:08:04 +0000 (11:08 +0300)]
Issue #244 : do not allow to select null objects (coming from other documents) yet

9 years agoMerge branch 'master' of newgeom:newgeom
mpv [Fri, 7 Nov 2014 07:50:26 +0000 (10:50 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoFix some hang ups on constraints creation
mpv [Fri, 7 Nov 2014 07:50:08 +0000 (10:50 +0300)]
Fix some hang ups on constraints creation

9 years agoEdit with shift.
nds [Fri, 7 Nov 2014 07:44:22 +0000 (10:44 +0300)]
Edit with shift.

9 years agoThe parametric update of loaded documents: sketch solver problems fix
mpv [Fri, 7 Nov 2014 06:38:16 +0000 (09:38 +0300)]
The parametric update of loaded documents: sketch solver problems fix

9 years agorefs #240 - Selection of dimension for edit
nds [Thu, 6 Nov 2014 19:41:02 +0000 (22:41 +0300)]
refs #240 - Selection of dimension for edit

the active widget is a selection control. The operation should not be committed on the mouse release.
Only if it is a last selected widget.
The disappearance of the property panel is corrected for the perpendicular constraint edition.
The case is call edit on a perpendicular constraint, select any line, it is applied as a first parameter, but the property panel is hidden.

9 years agorefs #240 - Selection of dimension for edit
nds [Thu, 6 Nov 2014 19:40:50 +0000 (22:40 +0300)]
refs #240 - Selection of dimension for edit

the active widget is a selection control. The operation should not be committed on the mouse release.
Only if it is a last selected widget.
The disappearance of the property panel is corrected for the perpendicular constraint edition.
The case is call edit on a perpendicular constraint, select any line, it is applied as a first parameter, but the property panel is hidden.

9 years agoMerge branch 'master' of newgeom:newgeom
vsv [Thu, 6 Nov 2014 15:59:05 +0000 (18:59 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoHide label about plane selection on sketch create
vsv [Thu, 6 Nov 2014 15:58:13 +0000 (18:58 +0300)]
Hide label about plane selection on sketch create

9 years agoMerge branch 'master' of newgeom:newgeom
mpv [Thu, 6 Nov 2014 15:50:45 +0000 (18:50 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoMake the concealed bodies also concealed on open
mpv [Thu, 6 Nov 2014 15:50:26 +0000 (18:50 +0300)]
Make the concealed bodies also concealed on open

9 years agoNaming DS of ImportFeature redesign.
szy [Thu, 6 Nov 2014 15:37:24 +0000 (18:37 +0300)]
Naming DS of ImportFeature redesign.

9 years agoMerge branch 'master' of newgeom:newgeom.git
sbh [Thu, 6 Nov 2014 15:12:33 +0000 (18:12 +0300)]
Merge branch 'master' of newgeom:newgeom.git

9 years agoThe obligatory and concealment attribute's properties now registers in model by speci...
sbh [Thu, 6 Nov 2014 15:12:12 +0000 (18:12 +0300)]
The obligatory and concealment attribute's properties now registers in model by special message

9 years ago6.11.2014. Addition for Import feature.
szy [Thu, 6 Nov 2014 15:02:39 +0000 (18:02 +0300)]
6.11.2014. Addition for Import feature.

9 years agoRe-Execute the sketch sub-elements after all entities update: after solve space is...
mpv [Thu, 6 Nov 2014 14:45:59 +0000 (17:45 +0300)]
Re-Execute the sketch sub-elements after all entities update: after solve space is recomputed, the edges must be updated all, independently on the creation order

9 years agoClear text on sketcher property panel on external sketch selection
vsv [Thu, 6 Nov 2014 13:29:48 +0000 (16:29 +0300)]
Clear text on sketcher property panel on external sketch selection

9 years agoMerge branch 'master' of newgeom:newgeom
vsv [Thu, 6 Nov 2014 12:49:49 +0000 (15:49 +0300)]
Merge branch 'master' of newgeom:newgeom

9 years agoFix non initialized value.
vsv [Thu, 6 Nov 2014 12:49:41 +0000 (15:49 +0300)]
Fix non initialized value.

9 years agorefs #200 - edit Length constraint is outside of the transaction
nds [Thu, 6 Nov 2014 12:42:05 +0000 (15:42 +0300)]
refs #200 - edit Length constraint is outside of the transaction

this bug is reproduced only on Linux. There should be a blocking on the release before double click is processed.

9 years agoThe ability to register python plugins added
Sergey BELASH [Thu, 6 Nov 2014 12:21:34 +0000 (15:21 +0300)]
The ability to register python plugins added