Salome HOME
modules/shaper.git
8 years agoAdded ability to deselect objects on edit in Boolean operation and reselect them...
mpv [Wed, 1 Jul 2015 08:06:32 +0000 (11:06 +0300)]
Added ability to deselect objects on edit in Boolean operation and reselect them once again: immediately remove the concealment flag

8 years agoTests update
dbv [Tue, 30 Jun 2015 22:53:31 +0000 (01:53 +0300)]
Tests update

8 years agoBug #619: Sketch plane rotation.
dbv [Tue, 30 Jun 2015 19:26:52 +0000 (22:26 +0300)]
Bug #619: Sketch plane rotation.

Fixed view projection when selecting body face as sketch plane.

8 years agoIssue #698 - Distance constraint on circle - crash
nds [Tue, 30 Jun 2015 15:27:31 +0000 (18:27 +0300)]
Issue #698 - Distance constraint on circle - crash

8 years agoRestore Delete menu
vsv [Tue, 30 Jun 2015 14:15:15 +0000 (17:15 +0300)]
Restore Delete menu

8 years agoOptimization of sketcher dimensions presentations: make text and arrows size smaller...
mpv [Tue, 30 Jun 2015 13:57:41 +0000 (16:57 +0300)]
Optimization of sketcher dimensions presentations: make text and arrows size smaller basing on TestHighLoad case.

8 years agoSpeed-up of unit test snowflake: working in sketch with the high number of simple...
mpv [Tue, 30 Jun 2015 13:13:43 +0000 (16:13 +0300)]
Speed-up of unit test snowflake: working in sketch with the high number of simple (not constrained) objects.

8 years agoFix for import/export features
mpv [Tue, 30 Jun 2015 11:55:41 +0000 (14:55 +0300)]
Fix for import/export features

8 years agoMerge branch 'Dev_1.3.0' of newgeom:newgeom into Dev_1.3.0
mpv [Tue, 30 Jun 2015 11:49:06 +0000 (14:49 +0300)]
Merge branch 'Dev_1.3.0' of newgeom:newgeom into Dev_1.3.0

8 years agoImprovement #610: Fuse: tools or objects are not needed.
dbv [Tue, 30 Jun 2015 10:47:50 +0000 (13:47 +0300)]
Improvement #610: Fuse: tools or objects are not needed.

8 years agoFix for import/export features
mpv [Tue, 30 Jun 2015 10:51:35 +0000 (13:51 +0300)]
Fix for import/export features

8 years agoIssue #690 Application hangs up when Create Arc after Rotation
nds [Tue, 30 Jun 2015 10:12:59 +0000 (13:12 +0300)]
Issue #690 Application hangs up when Create Arc after Rotation

preselection of external vertex - constraint is not created.

8 years agoUpdate the management of the updates: use transactions ID to detect correctly depende...
mpv [Tue, 30 Jun 2015 10:12:54 +0000 (13:12 +0300)]
Update the management of the updates: use transactions ID to detect correctly dependencies that must be updated.

8 years agoIssue #608: Usage of OCCT in interface -- Remove OCCT from *Export/Import interfaces...
spo [Tue, 30 Jun 2015 08:48:49 +0000 (11:48 +0300)]
Issue #608: Usage of OCCT in interface -- Remove OCCT from *Export/Import interfaces -- Eliminate TopoDS_Shape from interfaces

8 years agoFix some header comments in files
spo [Tue, 30 Jun 2015 07:56:24 +0000 (10:56 +0300)]
Fix some header comments in files

8 years agoReplace void* with shared_ptr<void> in GeomAPI_Interface
spo [Tue, 30 Jun 2015 06:02:40 +0000 (09:02 +0300)]
Replace void* with shared_ptr<void> in GeomAPI_Interface

8 years agoFix for compilation error
vsv [Tue, 30 Jun 2015 07:38:29 +0000 (10:38 +0300)]
Fix for compilation error

8 years agoProvide pop-up in Salome
vsv [Tue, 30 Jun 2015 07:22:23 +0000 (10:22 +0300)]
Provide pop-up in Salome

8 years agomake.sh uses number of cores
spo [Tue, 30 Jun 2015 06:39:59 +0000 (09:39 +0300)]
make.sh uses number of cores

8 years agoModify test.sh for Jenkins
spo [Tue, 30 Jun 2015 06:17:33 +0000 (09:17 +0300)]
Modify test.sh for Jenkins

8 years agoIssue #596: Redesign of pop-up menu management
vsv [Mon, 29 Jun 2015 16:23:52 +0000 (19:23 +0300)]
Issue #596: Redesign of pop-up menu management

8 years agoIssue #608: Usage of OCCT in interface -- Remove OCCT from *Export interfaces --...
spo [Mon, 29 Jun 2015 13:45:30 +0000 (16:45 +0300)]
Issue #608: Usage of OCCT in interface -- Remove OCCT from *Export interfaces -- Fix: IGESExport signature

8 years agoRevert "Temporary modifications for the compillation correction"
spo [Mon, 29 Jun 2015 13:46:23 +0000 (16:46 +0300)]
Revert "Temporary modifications for the compillation correction"

This reverts commit a3dda4b6876e2bd77837e46655c43c1b37f5d1f9.

8 years agoTemporary modifications for the compillation correction
nds [Mon, 29 Jun 2015 13:12:34 +0000 (16:12 +0300)]
Temporary modifications for the compillation correction

8 years agoIssue #604 Creation of an unexpected line in the Sketcher
nds [Mon, 29 Jun 2015 12:34:21 +0000 (15:34 +0300)]
Issue #604 Creation of an unexpected line in the Sketcher

Regression: Apply is always disable during mirror operation when the cursor is over property panel. Using myIsResetCurrentValue instead of myIsPropertyPanelValueChanged.

8 years agoIssue #604 Creation of an unexpected line in the Sketcher
nds [Mon, 29 Jun 2015 12:23:30 +0000 (15:23 +0300)]
Issue #604 Creation of an unexpected line in the Sketcher

Regression: Apply is always disable during mirror operation when the cursor is over property panel. Using myIsResetCurrentValue instead of myIsPropertyPanelValueChanged.

8 years agoIssue #604 Creation of an unexpected line in the Sketcher
nds [Mon, 29 Jun 2015 12:19:55 +0000 (15:19 +0300)]
Issue #604 Creation of an unexpected line in the Sketcher

Regression: Apply is always disable during mirror operation when the cursor is over property panel. Using myIsResetCurrentValue instead of myIsPropertyPanelValueChanged.

8 years agoIssue #693 Crash when undo delete rotated segments
nds [Mon, 29 Jun 2015 08:57:02 +0000 (11:57 +0300)]
Issue #693 Crash when undo delete rotated segments

8 years agoIssue #608: Usage of OCCT in interface -- Wrap classes by SWIG
spo [Mon, 29 Jun 2015 11:02:41 +0000 (14:02 +0300)]
Issue #608: Usage of OCCT in interface -- Wrap classes by SWIG

8 years agoIssue #608: Usage of OCCT in interface -- Remove OCCT from *Export interfaces
spo [Mon, 29 Jun 2015 10:03:28 +0000 (13:03 +0300)]
Issue #608: Usage of OCCT in interface -- Remove OCCT from *Export interfaces

8 years agoIssue #608: Usage of OCCT in interface -- Remove OCCT from *Import interfaces
spo [Mon, 29 Jun 2015 09:25:41 +0000 (12:25 +0300)]
Issue #608: Usage of OCCT in interface -- Remove OCCT from *Import interfaces

8 years agoIssue #608: Usage of OCCT in interface -- Fix: comments at the start
spo [Mon, 29 Jun 2015 08:32:53 +0000 (11:32 +0300)]
Issue #608: Usage of OCCT in interface -- Fix: comments at the start

8 years agoIssue #648: Make shapes presentation clippable
vsv [Mon, 29 Jun 2015 09:07:44 +0000 (12:07 +0300)]
Issue #648: Make shapes presentation clippable

8 years agoUpdate the behavior of unit test due to the changes in documents logics
mpv [Mon, 29 Jun 2015 08:32:55 +0000 (11:32 +0300)]
Update the behavior of unit test due to the changes in documents logics

8 years agoSeparation of Workshop and events listener in order to make XGUI_Workshop is a child...
nds [Mon, 29 Jun 2015 06:18:52 +0000 (09:18 +0300)]
Separation of Workshop and events listener in order to make XGUI_Workshop is a child of ModuleBase_IWorkshop.

8 years agoParts results and activation/deactivation management (show/hide also)
mpv [Mon, 29 Jun 2015 07:57:14 +0000 (10:57 +0300)]
Parts results and activation/deactivation management (show/hide also)

8 years agoIssue #648: Preserve selection state
vsv [Fri, 26 Jun 2015 16:05:44 +0000 (19:05 +0300)]
Issue #648: Preserve selection state

8 years agoIssue #676: ZFitall for display new object
vsv [Fri, 26 Jun 2015 13:58:30 +0000 (16:58 +0300)]
Issue #676: ZFitall for display new object

8 years agoDefine color for part result
vsv [Fri, 26 Jun 2015 09:25:24 +0000 (12:25 +0300)]
Define color for part result

8 years agoIssue #604 Creation of an unexpected line in the Sketcher
nds [Fri, 26 Jun 2015 09:07:06 +0000 (12:07 +0300)]
Issue #604 Creation of an unexpected line in the Sketcher

An additional condition for Apply button validity.

8 years agoIssue #637: Create visualization properties at Workshop constructor
vsv [Fri, 26 Jun 2015 08:07:07 +0000 (11:07 +0300)]
Issue #637: Create visualization properties at Workshop constructor

8 years agoInitial part document shapes management implementation.
mpv [Fri, 26 Jun 2015 07:54:38 +0000 (10:54 +0300)]
Initial part document shapes management implementation.

8 years agoApply disable state correction in distance/angle controls.
nds [Fri, 26 Jun 2015 07:36:17 +0000 (10:36 +0300)]
Apply disable state correction in distance/angle controls.

8 years agoCorrection for bugs 666, 667,678,670 - crash in Sketcher Prs peformed by VSA
nds [Fri, 26 Jun 2015 05:01:39 +0000 (08:01 +0300)]
Correction for bugs 666, 667,678,670 - crash in Sketcher Prs peformed by VSA

8 years agoIssue #677: Use folder word instead directory for open/save dialogs
vsv [Thu, 25 Jun 2015 14:49:23 +0000 (17:49 +0300)]
Issue #677: Use folder word instead directory for open/save dialogs

8 years agoFix for the issue #686: now compounds produced by the Boolean operations can be corre...
mpv [Thu, 25 Jun 2015 13:22:25 +0000 (16:22 +0300)]
Fix for the issue #686: now compounds produced by the Boolean operations can be correctly selected by the naming procedure

8 years agoThe control should not be interactive in edit mode like it is in point selector control.
nds [Thu, 25 Jun 2015 12:18:44 +0000 (15:18 +0300)]
The control should not be interactive in edit mode like it is in point selector control.

8 years agoIssue #634 API must be wrapped by SWIG
nds [Thu, 25 Jun 2015 10:33:35 +0000 (13:33 +0300)]
Issue #634 API must be wrapped by SWIG

BREP/IGES/STEP Import/Exort only a not wrapped.

8 years agoRegression fix: restore selection by value modification in Property Panel(line->edit...
nds [Thu, 25 Jun 2015 09:34:43 +0000 (12:34 +0300)]
Regression fix: restore selection by value modification in Property Panel(line->edit, change any point value)

8 years agoIssues #616, #618
nds [Thu, 25 Jun 2015 09:21:06 +0000 (12:21 +0300)]
Issues #616, #618

The main modification is in the getCurrentSelection. The highlighted points should also be processed here.

8 years agoIssue #640 It is impossible to remove dimension
nds [Thu, 25 Jun 2015 08:36:37 +0000 (11:36 +0300)]
Issue #640 It is impossible to remove dimension

8 years agoIssue #632: Activate/Deactivate zoom tracking on activation/deactivation of module
vsv [Thu, 25 Jun 2015 07:35:32 +0000 (10:35 +0300)]
Issue #632: Activate/Deactivate zoom tracking on activation/deactivation of module

8 years agoMain fix of this integration is in ConstraintRigid. The AIS should be created uncondi...
nds [Thu, 25 Jun 2015 06:09:32 +0000 (09:09 +0300)]
Main fix of this integration is in ConstraintRigid. The AIS should be created unconditionally, otherwise fixed constraint is not visualized in the viewer when it is created by preselection.

Also the customizePresentation is realized for lenght and dimension, the color should be set there similar to other presentations.

8 years agoSALOME porting: highlight should be cleared in the viewer
nds [Wed, 24 Jun 2015 13:11:03 +0000 (16:11 +0300)]
SALOME porting: highlight should be cleared in the viewer

Multi selection crash remove.

8 years agoMake the external sketch segment not-movable by the user
mpv [Wed, 24 Jun 2015 13:14:16 +0000 (16:14 +0300)]
Make the external sketch segment not-movable by the user

8 years agoFix for crash of undo/redo of part creation
mpv [Wed, 24 Jun 2015 12:26:08 +0000 (15:26 +0300)]
Fix for crash of undo/redo of part creation

8 years agoIssue #555: Infinite boolean state is stored in Result construction.
nds [Wed, 24 Jun 2015 12:18:44 +0000 (15:18 +0300)]
Issue #555: Infinite boolean state is stored in Result construction.

8 years agoMovement group uses solids, which are defined in extrusion/revolution/boolean. So...
nds [Wed, 24 Jun 2015 10:45:31 +0000 (13:45 +0300)]
Movement group uses solids, which are defined in extrusion/revolution/boolean. So, this  group is moved to be after them.

8 years agoPreselection for extrusion/revolution
nds [Wed, 24 Jun 2015 10:28:04 +0000 (13:28 +0300)]
Preselection for extrusion/revolution

8 years agoPreselection problem for extrusion
nds [Wed, 24 Jun 2015 09:31:47 +0000 (12:31 +0300)]
Preselection problem for extrusion

8 years agoMerge branch 'Dev_1.3.0' of newgeom:newgeom into Dev_1.3.0
mpv [Wed, 24 Jun 2015 09:17:29 +0000 (12:17 +0300)]
Merge branch 'Dev_1.3.0' of newgeom:newgeom into Dev_1.3.0

8 years agoFix for the issue #665
mpv [Wed, 24 Jun 2015 09:17:09 +0000 (12:17 +0300)]
Fix for the issue #665

8 years agoIssue #645: Input formula into pop-up dialog editor
vsv [Wed, 24 Jun 2015 09:13:18 +0000 (12:13 +0300)]
Issue #645: Input formula into pop-up dialog editor

8 years agoIssue #675 Modification of data structure outside of the transaction when constraint...
nds [Wed, 24 Jun 2015 09:03:52 +0000 (12:03 +0300)]
Issue #675 Modification of data structure outside of the transaction when constraint between segmnet and construction element

1 problem: operation has the previous list of preselected objects, it should be cleared after activateByPreselection is done.
2 problem: second parallel constraint operation has not empty first value. the reason is that the selection is cleared only in Viewer, but not in the OB.

8 years agoMake compilation environment compatible with SALOME 7.6.0 in OpenParts mode
mpv [Wed, 24 Jun 2015 07:14:00 +0000 (10:14 +0300)]
Make compilation environment compatible with SALOME 7.6.0 in OpenParts mode

8 years agoFocus regression in shape selector. Distance - select 1st object, focus is still...
nds [Wed, 24 Jun 2015 06:50:43 +0000 (09:50 +0300)]
Focus regression in shape selector. Distance - select 1st object, focus is still on the first control

8 years agoFix for the issue #673 : creation of sketch on -X direction-plane
mpv [Wed, 24 Jun 2015 05:29:02 +0000 (08:29 +0300)]
Fix for the issue #673 : creation of sketch on -X direction-plane

8 years agoIssue #672 - Crash when distance constraint
nds [Wed, 24 Jun 2015 05:01:48 +0000 (08:01 +0300)]
Issue #672 - Crash when distance constraint

reason: an empty shape if the selected shape is equal to the shape of result

8 years agoredisplay event should not be flushed during setResult of the feature. Reasons:
nds [Tue, 23 Jun 2015 16:20:27 +0000 (19:20 +0300)]
redisplay event should not be flushed during setResult of the feature. Reasons:

1. there are a lot of redisplays for complex feature(sketch fillet)
2. crash in presentations by undo/redo mirror creation, which uses circle(has two results). After first result set, redisplay is emitted, presentation is crashed.

8 years agoSeparate attributes for Extrusion and Revolution features.
dbv [Tue, 23 Jun 2015 15:57:34 +0000 (18:57 +0300)]
Separate attributes for Extrusion and Revolution features.

8 years agoAvoid hung-up on exit of SALOME when NewGeom is non active
vsv [Tue, 23 Jun 2015 14:25:19 +0000 (17:25 +0300)]
Avoid hung-up on exit of SALOME when NewGeom is non active

8 years agoImprovement #615: Widgets position in Extrusion and Rotation features must be changed.
dbv [Tue, 23 Jun 2015 08:56:54 +0000 (11:56 +0300)]
Improvement #615: Widgets position in Extrusion and Rotation features must be changed.

8 years agoImprovement #635: Move maximum functionality to API class
dbv [Mon, 22 Jun 2015 13:32:40 +0000 (16:32 +0300)]
Improvement #635: Move maximum functionality to API class

8 years agoIssue #652: Provide locale management similarly to SALOME
vsv [Tue, 23 Jun 2015 09:23:41 +0000 (12:23 +0300)]
Issue #652: Provide locale management similarly to SALOME

8 years agoWorkaround for issues #667, 668, 670
nds [Tue, 23 Jun 2015 08:07:33 +0000 (11:07 +0300)]
Workaround for issues #667, 668, 670

8 years agoActivate/deactivate selection filter by module activation/deactivation.
nds [Tue, 23 Jun 2015 06:54:35 +0000 (09:54 +0300)]
Activate/deactivate selection filter by module activation/deactivation.

Check case: activate NewGeom, activate GEOM, activate NewGeom, start sketch, create a line. The plane's eges/points should not be selectable.

8 years agoCrash fix for the SALOME version if the local is russian.
nds [Mon, 22 Jun 2015 13:18:09 +0000 (16:18 +0300)]
Crash fix for the SALOME version if the local is russian.

8 years ago1. Compound selection choice is provided for sketch selection in Extrusion operation...
nds [Mon, 22 Jun 2015 13:01:48 +0000 (16:01 +0300)]
1. Compound selection choice is provided for sketch selection in Extrusion operation. This type selection happens by selecting a sketch in ObjectBrowser. The widget selector acceptSubShapes() method is corrected to check shape type of the selected result. It is necessary always, for example in Sketch operation start Translate operation and click on a plane in ObjectBrowser.

2. Document shape filter check whether the operation is started itself. This improvement is similar to the infinite filter using. The matter is that the nested operation stop should not remove the filter from the context. If it is happened, objects from out parts is selected in sketch operation after, for example, translate operation stop. So, it seems that it is a best decision to check the active operation availability in the filter.

8 years ago1. Compound selection choice is provided for sketch selection in Extrusion operation...
nds [Mon, 22 Jun 2015 12:55:22 +0000 (15:55 +0300)]
1. Compound selection choice is provided for sketch selection in Extrusion operation. This type selection happens by selecting a sketch in ObjectBrowser. The widget selector acceptSubShapes() method is corrected to check shape type of the selected result. It is necessary always, for example in Sketch operation start Translate operation and click on a plane in ObjectBrowser.

2. Document shape filter check whether the operation is started itself. This improvement is similar to the infinite filter using. The matter is that the nested operation stop should not remove the filter from the context. If it is happened, objects from out parts is selected in sketch operation after, for example, translate operation stop. So, it seems that it is a best decision to check the active operation availability in the filter.

8 years agoIssue #555 - Make a number of shifted/rotated copies - selected object does not appea...
nds [Mon, 22 Jun 2015 12:13:48 +0000 (15:13 +0300)]
Issue #555 - Make a number of shifted/rotated copies - selected object does not appear in List of objects

It provides an infinite state for plane/axis shapes.

8 years agoIssue #555 - Make a number of shifted/rotated copies - selected object does not appea...
nds [Mon, 22 Jun 2015 11:03:45 +0000 (14:03 +0300)]
Issue #555 - Make a number of shifted/rotated copies - selected object does not appear in List of objects

It provides an infinite state for plane/axis shapes.

8 years agoA separation of WidgetSelector class in order to unite the logic of shape/multi shape...
nds [Fri, 19 Jun 2015 05:46:38 +0000 (08:46 +0300)]
A separation of WidgetSelector class in order to unite the logic of shape/multi shape selectors.

The reason is preselection: to set an empty shape to the feature attribute if the selected shape is equal to the shape of result, check of selection valid state

8 years agoIssue #555 Make a number of shifted/rotated copies - selected object does not appear...
nds [Fri, 19 Jun 2015 05:29:34 +0000 (08:29 +0300)]
Issue #555 Make a number of shifted/rotated copies - selected object does not appear in List of objects.

Using infinite state to do not select inifinte objects(construction plane, axis).

9 years agoFor for bounding planes selection in composite features
dbv [Thu, 18 Jun 2015 09:35:53 +0000 (12:35 +0300)]
For for bounding planes selection in composite features

9 years agoIssue #599 - hide trihedron when create Sketch,
nds [Thu, 18 Jun 2015 08:43:15 +0000 (11:43 +0300)]
Issue #599 - hide trihedron when create Sketch,

A fix for external objects using. activateFlushes(true) in setCurrentDocument leads to visualization external edge out of its turn. There was a bug in distance constraint creation to the external edge.

9 years agoPreselection using in operations: using of external objects correction.
nds [Thu, 18 Jun 2015 08:00:30 +0000 (11:00 +0300)]
Preselection using in operations: using of external objects correction.

9 years agoPreselection using in operations: using of external objects correction.
nds [Thu, 18 Jun 2015 07:53:38 +0000 (10:53 +0300)]
Preselection using in operations: using of external objects correction.

9 years agoThe validated values are cached in order to do not check them by mouse moving over...
nds [Thu, 18 Jun 2015 04:55:43 +0000 (07:55 +0300)]
The validated values are cached in order to do not check them by mouse moving over an object in the viewer.

This cache exists between activate/deactivate of the widget.

9 years agoExtrusion planes selection fix
dbv [Wed, 17 Jun 2015 15:22:18 +0000 (18:22 +0300)]
Extrusion planes selection fix

9 years agoSelection restore fix.
dbv [Wed, 17 Jun 2015 13:16:41 +0000 (16:16 +0300)]
Selection restore fix.

9 years agoPreselection using in operations: setSelection using in onSelectionChanged method.
nds [Wed, 17 Jun 2015 12:40:03 +0000 (15:40 +0300)]
Preselection using in operations: setSelection using in onSelectionChanged method.

9 years agoPreselection using in operations: setSelection of widget returns a modified list...
nds [Wed, 17 Jun 2015 11:15:41 +0000 (14:15 +0300)]
Preselection using in operations: setSelection of widget returns a modified list of selected presentations.

This is especially useful for multi-selection control, which should process all possible selected presentations and give back non-used.

9 years agoFix for selection point of transformation constraint presentation
vsv [Wed, 17 Jun 2015 10:08:30 +0000 (13:08 +0300)]
Fix for selection point of transformation constraint presentation

9 years agoFix for selection of translation and rotation constraints
dbv [Tue, 16 Jun 2015 20:47:45 +0000 (23:47 +0300)]
Fix for selection of translation and rotation constraints

9 years agoSet icons for revolution operations
vsv [Tue, 16 Jun 2015 13:22:29 +0000 (16:22 +0300)]
Set icons for revolution operations

9 years agoPreselection using in operations
nds [Tue, 16 Jun 2015 09:22:33 +0000 (12:22 +0300)]
Preselection using in operations

9 years agoUsing shape selected for sketcher
vsv [Mon, 15 Jun 2015 16:29:08 +0000 (19:29 +0300)]
Using shape selected for sketcher

9 years agoPreselection in shape/multi shape selector controls.
nds [Mon, 15 Jun 2015 09:44:39 +0000 (12:44 +0300)]
Preselection in shape/multi shape selector controls.

9 years agoIssue #601: Impossible to modify segment with constraint
azv [Mon, 15 Jun 2015 13:12:34 +0000 (16:12 +0300)]
Issue #601: Impossible to modify segment with constraint

The procedure of movement is changed. Any part of object can be moved separately.

9 years agoSet selection area of dimensions adaptive to viewer scale
vsv [Mon, 15 Jun 2015 13:00:40 +0000 (16:00 +0300)]
Set selection area of dimensions adaptive to viewer scale