Commit Graph

463 Commits

Author SHA1 Message Date
rnv
874aceefb0 Replace deprecated WNT macro definition by WIN32. 2013-10-17 14:53:21 +00:00
vsr
b3e0432875 0022356: [CEA 968] Regression on the test script 01_geom.py 2013-10-17 13:54:06 +00:00
eap
2f62ec8650 ILMAB: Field on geometry
Fix SetStringArray() which crashes SALOME if an input array of size 1 starts at 0.
2013-10-17 08:01:05 +00:00
rnv
12c295f71d Win32 compatibility. 2013-10-17 07:24:33 +00:00
skv
3e659a8a1d 0022307: implement workaround for OCC bug 0024263 2013-10-16 13:49:44 +00:00
skv
265dfeb97b 0022338: implement check self-intersection option for boolean operations 2013-10-16 11:22:29 +00:00
eap
5dd2cb307e 21684: EDF 2221 : Display the arguments and the name of the operations
In removeStep(self,step) remove it from a study as well
2013-10-15 10:30:22 +00:00
vsr
959c2db5b3 Merge from V7_siman 11/10/2013 2013-10-11 12:50:25 +00:00
skv
bdbb7196fa 22307: fix of source shape modification by Cut 2013-10-11 10:45:43 +00:00
vsr
a0f0eab960 Remove libxml2 from dependencies 2013-10-10 13:34:01 +00:00
rnv
cf65120a2b OCC2VTK and VTKExport are common packages. 2013-10-10 12:49:08 +00:00
vsr
fbf4b96ba0 Minimize external dependencies: libxml2 is only needed locally for XAO package 2013-10-09 08:56:05 +00:00
rnv
61270f9872 Add missing translation. 2013-10-08 15:28:52 +00:00
barate
a3e120cc90 Fix an error message in structural element visualization 2013-10-07 14:51:10 +00:00
inv
fa17d8fb3a RNV: Porting SALOME GEOM module to the new version of the OCCT. 2013-10-07 13:36:49 +00:00
eap
4d84d697e5 ILMAB. Add GEOM_TestField.py 2013-10-04 14:49:12 +00:00
vsr
437cd1debd 0022258: [CEA 897] Bug in boolean operations on spheres external layer
Additional check of arguments of boolean operations is added to avoid passing self-intersted objects to BOP
2013-10-04 14:29:52 +00:00
eap
37c62a48b4 ILMAB. Fix dump of "field.setStamp(step, stamp)" - invalid step is dumped 2013-10-04 14:26:36 +00:00
eap
4e2d22a173 Some protection from usage of removed objects whose data label
is reused by a new object
2013-10-04 14:25:30 +00:00
eap
f8537beabe Fix a bug that NbShapes() and ShapeInfo() return 2 solids for a box 2013-10-04 08:54:58 +00:00
eap
5256eb5b52 - cout << "aP1.Distance(aP2) <= aP1.Distance(aP3)" << endl; 2013-10-04 08:53:28 +00:00
eap
e071b309e6 ILMAB project. Fix a bug in RestoreSubShapes() 2013-10-03 15:43:48 +00:00
eap
0e43e4a51c ILMAB project.
Prevent a twice removal: RemoveObject() is called in a case calss

 GEOM_Field_i::~GEOM_Field_i()
 {
-  GEOM_Engine::GetEngine()->RemoveObject(_impl);
2013-10-03 14:13:53 +00:00
eap
6c2ee27d45 ILMAB project. A dialog box for creating/editing the Field on Geometry implemented 2013-10-03 14:12:04 +00:00
eap
ca07021429 ILMAB project.
Fix dumping of SetStamp()
2013-10-03 14:10:26 +00:00
eap
161068a9fd ILMAB project.
Prevent adding same labels in _freeLabels
2013-10-03 14:09:33 +00:00
vsr
f1519c7ef3 Merge from BR_V7_main_Field branch (02/09/2013) 2013-10-02 13:13:33 +00:00
eap
b51357b79d ILMAB project. DS for the Field on Geometry implemented 2013-09-30 11:45:32 +00:00
jfa
9f981d102e GEOM Plugins: fix problem with overwriting of some geomBuilder methods by GEOM_Gen::GEOM_IAdvancedOperations methods. 2013-09-27 09:01:59 +00:00
jfa
80d9594b02 Fix error 2013-09-23 08:31:05 +00:00
jfa
0b11bb6195 GlueFaces/Edges: protect initial shapes from modifications. 2013-09-17 13:49:18 +00:00
rnv
824e67eabf WIN32 compilation. 2013-09-17 12:52:41 +00:00
vsr
b5c2a231e7 Merge from BR_new_bop4 (porting to new OCCT BOP) 13/09/2013 2013-09-16 13:59:50 +00:00
eap
fcc908e69c CMake porting.
Enable Shape Recognition menu item if OpenCV is available
2013-09-13 09:55:47 +00:00
vsr
3ca6ffd9ba 0022221: [CEA 819] Error "'NoneType' object is not callable" at Salome closure 2013-09-11 16:27:56 +00:00
eap
3ad606e262 1) Rename SALOME_GEOM_USE_GUI -> SALOME_BUILD_GUI
2) Fix detection of OpenCV and building of correspondent sources
3) Fix generation of Sphinx doc's in "build environment"(LD_LIBRARY_PATH not filled)
2013-09-11 14:21:14 +00:00
akl
c03d610043 Fix the case 2 (references) of 0022317: [CEA 925] GUI: An objet creation by clicking "apply" refolds the study tree 2013-09-11 12:14:44 +00:00
eap
e7b562779c CMake porting 2013-09-10 12:47:38 +00:00
eap
0eeb36ef0b GEOM porting to CMake
-#include <GEOM_Object.hxx>
2013-09-09 13:05:29 +00:00
ana
80be2e8daa Compilation SALOME on Windows 2013-09-09 09:16:42 +00:00
jfa
2b3bf05c2b Improvements for HYDRO module: Localize status bar messages. 2013-09-05 07:04:24 +00:00
jfa
3474e51a9b Mantis issue 0022310: EDF 2512 GEOM: Get tool groups trace with RestorGivenSubShapes 2013-09-04 14:12:19 +00:00
jfa
bc9708cd0a Improvements for HYDRO module: 1. General mechanism for activation of GUI Geometry operations. 2. Plugins mechanism in Geometry module. 2013-09-04 13:49:39 +00:00
eap
91a14a8f7a typo 2013-08-15 13:05:10 +00:00
vsr
aa36eeade7 Compatibility with old SALOME studies 2013-08-13 10:56:50 +00:00
vsr
b87a6c3f3b Merge from V7_2_BR 09/08/2013 2013-08-12 09:34:06 +00:00
mpa
e688f2b77f Implementation of 0021757: EDF 1829 : Activate bring to front action on simple selection of an object 2013-08-06 14:37:17 +00:00
jfa
dde31f0675 Mantis issue 0021191: apply a fix by PKV for note 0012153 on the case of Glue by list (second constructor in GUI) 2013-08-06 09:37:47 +00:00
skv
e8922cac3a 0021563: EDF GEOM: Extrusion with scale factor sometimes gives wrong shapes 2013-07-31 12:54:30 +00:00
eap
bd234baffa 0022287: [CEA 912] Notebook: clicking on "update study" returns an error message
Pb: notebook disappeared.

   // get a free dockable window id
-  myWindowID = 1;
+  myWindowID = 10;
2013-07-29 09:35:36 +00:00
eap
79367306ff ++myWindowID; // pb when a GEOM is a sole module: CreationInfoWdg replaces Python console 2013-07-26 16:10:25 +00:00
eap
84eccf2fcf 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
Fix leaks of CORBA objects
2013-07-24 12:41:29 +00:00
rnc
a9dca097e6 IMP: GEOM: Japanese translations 2013-07-23 14:32:11 +00:00
skv
5c1fd84469 0022177: [CEA 799] RemoveExtraEdges produces non valid faces 2013-07-23 12:27:25 +00:00
eap
bf782252cf 0021684: EDF 2221 : Display the arguments and the name of the operations
Make operation name not editable
2013-07-16 10:47:05 +00:00
eap
ed08a2dcc3 0021684: EDF 2221 : Display the arguments and the name of the operations
Make creation parameters not editable
2013-07-16 10:33:24 +00:00
jfa
bf456e30c0 Mantis issue 0021934: [CEA 694] Delete the internal faces of an object. 2013-07-12 13:16:30 +00:00
akl
7b119929a6 Correct deletion of folders with sub-objects in the Object Browser. 2013-07-10 12:14:17 +00:00
skv
3c094b0dc5 0022177: [CEA 799] RemoveExtraEdges produces non valid faces 2013-07-10 07:16:01 +00:00
akl
078431b1ad Fix: restore "Show/Hide/Show Only" for GEOM component. 2013-07-09 11:17:47 +00:00
akl
1dd8f0e9e6 0021708: [CEA 586] Object browser sort only children:
+ Add Use Case browser data tree management
+ Add "Sort children" contextual menu popup item
+ Update user documentation
2013-07-09 08:22:16 +00:00
akl
a992b19d3a Iterate all children of study and append it to the it's father. 2013-07-09 08:18:12 +00:00
akl
251a6167ff Remove unused code. 2013-07-04 10:05:06 +00:00
eap
0842c2560a 0022227: [CEA 827] Building a surface from a cloud of points
Restore def MakeSmoothingSurface() removed by mistake
2013-07-03 10:55:18 +00:00
eap
9ee55016e9 0022227: [CEA 827] Building a surface from a cloud of points
1) fix GetCreationInformation()
2) remove debug output
2013-07-03 10:54:43 +00:00
jfa
5f7358def1 Mantis issue 0022237: Study dump produces a Python code containing syntax errors 2013-07-01 06:40:44 +00:00
akl
c5b6deb54b Implementation of 0021855: EDF 2321 GEOM : Add folders to group objects in the object browser. 2013-06-28 08:18:20 +00:00
eap
bd9ab0c29b 0021684: EDF 2221 : Display the arguments and the name of the operations
Print a warning of not implemented GEOM_BaseDriver::GetCreationInformation()
2013-06-27 13:27:28 +00:00
eap
833e0c922f 0021934: Delete the internal faces of an object.
Implement GetCreationInformation()
2013-06-27 12:49:25 +00:00
jfa
182542382e Mantis issue 0021934: Delete the internal faces of an object. Correction to avoid errors on not suitable arguments. 2013-06-24 11:47:08 +00:00
eap
8c5cdd2d44 Add English translations to unfinished ones 2013-06-21 10:36:01 +00:00
ctn
e59d54200b context unclosed 2013-06-21 09:34:51 +00:00
fahed
86da93bd4f French translation update for IMP concerning bounding box exact computation. 2013-06-21 09:14:29 +00:00
eap
753d24c751 Synchronizing with GEOM_msg_en.ts 2013-06-21 08:56:46 +00:00
eap
0c3b75095a 0022232: [CEA 837] Memory corruption in GEOM/SMESH that leads to segfault on debian64
Fix
==7374== Invalid read of size 8
==7374==    at 0x6B1F53F: TCollection_BasicMapIterator::Next() (in libTKernel.so.0.0.0)
==7374==    by 0x3A120D3A: GEOMAlgo_Builder::FillInternalShapes() (GEOMAlgo_Builder_3.cxx:717)

- in FillInternalShapes() fix removal of map items while iteration through the map
2013-06-19 14:28:05 +00:00
eap
5de463a68d 0022232: [CEA 837] Memory corruption in GEOM/SMESH that leads to segfault on debian64
Fix "Mismatched free() / delete / delete []" valgrind error
- fix GEOM_Object_i::GetName() as GEOM_Object::GetName() now returns TCollection_AsciiString
2013-06-19 14:25:16 +00:00
eap
1d2e9cb443 0022232: [CEA 837] Memory corruption in GEOM/SMESH that leads to segfault on debian64
Fix "Mismatched free() / delete / delete []" valgrind error

-  Standard_EXPORT char* GetName();
+  Standard_EXPORT TCollection_AsciiString GetName();
2013-06-19 14:23:50 +00:00
vsr
e69511781d Fix complilation problem 2013-06-18 08:15:47 +00:00
eap
2100873392 0021684: EDF 2221 : Display the arguments and the name of the operations
-class GEOM_SubShapeDriver : public TFunction_Driver {
+class GEOM_SubShapeDriver : public GEOM_BaseDriver {

+  bool GetCreationInformation(std::string&             theOperationName,
+                              std::vector<GEOM_Param>& params);
2013-06-17 12:51:09 +00:00
eap
4211dca375 untabify 2013-06-17 12:50:10 +00:00
eap
e86fadf71e 0021684: EDF 2221 : Display the arguments and the name of the operations
In MakeCurveParametric(), store creation parameters using GEOMImpl_ICurveParametric
2013-06-17 12:49:52 +00:00
eap
33dea8badc 0021684: EDF 2221 : Display the arguments and the name of the operations
In GetShapesOnShapeAsCompound(), store creation parameters using GEOMImpl_IShapes
2013-06-17 12:49:23 +00:00
eap
3a09aaf844 - Standard_EXPORT bool GetOperatorParameters( const std::string theOperation,
+  Standard_EXPORT bool GetOperatorParameters( const std::string& theOperation,
2013-06-17 12:48:13 +00:00
eap
4345ad0598 -#include <GEOMImpl_CopyDriver.hxx> 2013-06-17 12:47:32 +00:00
eap
c85eef2610 0021684: EDF 2221 : Display the arguments and the name of the operations
#define EDGE_CURVE_LENGTH   12
+#define SHAPES_ON_SHAPE     13

-#define SHAPES_ON_SHAPE 1
2013-06-17 12:46:38 +00:00
eap
c7ffbf7b4e 0021684: EDF 2221 : Display the arguments and the name of the operations
+ virtual bool GetCreationInformation(std::string&             theOperationName,
+                                     std::vector<GEOM_Param>& params);
2013-06-17 12:44:32 +00:00
eap
1fc45b2209 fix some warnings at doc generation 2013-06-17 12:42:48 +00:00
eap
7d03d7203b 0021684: EDF 2221 : Display the arguments and the name of the operations
+  virtual GEOM::CreationInformation* GetCreationInformation();
2013-06-17 12:42:04 +00:00
eap
c0b87081f9 0021684: EDF 2221 : Display the arguments and the name of the operations
+	GEOMImpl_ICurveParametric.hxx		\
2013-06-17 12:41:01 +00:00
eap
73db631e5e unused variable 2013-06-17 12:39:59 +00:00
eap
346da3aa8c 0021684: EDF 2221 : Display the arguments and the name of the operations 2013-06-17 12:39:35 +00:00
eap
c9f33420c0 0021684: EDF 2221 : Display the arguments and the name of the operations
+  void                        updateCreationInfo();
2013-06-17 12:39:23 +00:00
eap
7961d43ecf 0021684: EDF 2221 : Display the arguments and the name of the operations
+	GEOMGUI_CreationInfoWdg.cxx
2013-06-17 12:34:18 +00:00
eap
d946d05748 0021684: EDF 2221 : Display the arguments and the name of the operations
+  //Returns a driver creator of this object
+  Standard_EXPORT Handle(TFunction_Driver) GetCreationDriver();
2013-06-17 12:19:23 +00:00
eap
37873fd2a1 0021684: EDF 2221 : Display the arguments and the name of the operations
+	GEOM_BaseDriver.cxx		\
2013-06-17 12:18:52 +00:00
eap
407cadd372 untabify 2013-06-17 12:15:50 +00:00
skv
6ddc7178e6 0021835: EDF 2070 GEOM : Problem with detecting Self-intersections 2013-06-17 07:20:09 +00:00
jfa
8fe997ae88 Mantis issue 0021934: Delete the internal faces of an object 2013-06-14 12:20:21 +00:00
akl
d291bd2941 To represent Origin and base Vectors in the object browser correctly. 2013-06-14 11:46:28 +00:00
vsr
1999c15524 0021935: [CEA 696] Possibility to delete an object even if it was used before to create another one
Fix error in message
2013-06-14 11:15:54 +00:00
vsr
aa13d5e49d 0021934: [CEA 694] Delete the internal faces of a object.
Part 1: algorithm
2013-06-10 09:00:22 +00:00
jfa
5f4c43d53a Mantis issue 0022227: Integration request: Building a surface from a cloud of points 2013-06-10 08:28:09 +00:00
jfa
5d641e7cef Mantis issues 0022209 and 0022227 2013-06-10 08:14:30 +00:00
jfa
51d945d084 Mantis issue 0022209: Warn the user when he does a bad selection in the create group dialog 2013-06-10 08:13:27 +00:00
vsr
d88fed29fa 0022220: EDF 2656 GEOM: Wireframe display mode when selecting sub-shapes with Explode 2013-05-30 09:56:12 +00:00
vsr
e4a31d66fd 0022088: EDF 1631 GEOM : 2D sketcher interface 2013-05-29 16:27:24 +00:00
vsr
d331308a89 0021935: [CEA 696] Possibility to delete an object even if it was used before to create another one 2013-05-27 15:19:08 +00:00
vsr
9c34f9e0a4 Update translation files for isses 22094, 22178, 22179 2013-05-27 13:30:19 +00:00
skv
ca3e17352a 0022178: [CEA 798] Sewing: Make option NonManifoldMode available in GEOM 2013-05-24 10:40:50 +00:00
skv
3282e6d3b3 0022179: [CEA 800] Suppress common edges on two continuous faces without using RemoveExtraEdges 2013-05-24 08:52:30 +00:00
skv
e6a58b5819 0021866: [CEA 670] Returning exact coordinates of the bounding box 2013-05-23 12:53:40 +00:00
skv
18129b41a4 0022094: EDF GEOM 2438 : Pipe T-Shape publish the group of internal surfaces 2013-05-23 10:53:45 +00:00
skv
af323ccd1d 0022081: EDF 2386 GEOM: Union of a list of objects 2013-05-23 06:42:48 +00:00
akl
930012ab96 Fix of INT PAL 0051918: Pipe T-Shape - preview is not updated on Thickness reduction tab 2013-05-21 08:13:45 +00:00
vsr
296019e20f Fix typo 2013-04-18 11:12:00 +00:00
gdd
7dd8e34001 Update translations 2013-04-18 08:39:44 +00:00
rnv
a94dbd7745 Fix cmake compilation problem. 2013-04-17 11:04:20 +00:00
vsr
14b6ec1909 Correct documentation 2013-04-17 10:43:10 +00:00
vsr
8fab12198b Fix problem that user material database is not watched by resource manager when file is first time created. 2013-04-17 09:26:00 +00:00
prascle
8e00478a79 PR: Deprecation Warning more precise 2013-04-16 13:47:46 +00:00
prascle
b8e8a40b70 PR: dump correction when sudies from older versions are loaded 2013-04-12 15:28:08 +00:00
vsr
4d2fe76ed2 Merge from V6_main 12/04/2013 2013-04-12 14:01:18 +00:00
ouv
231074d905 Issue 0051777: TC7.2.0: Element could not be selected in Hypothesis Construction. 2013-04-11 11:07:26 +00:00
prascle
a05e9c326e PR: dump function must write GEOM.xxx instead of geompy.GEOM.xxx 2013-04-11 08:43:00 +00:00
prascle
0370a2b150 PR: geom must be a true singleton 2013-04-10 14:06:25 +00:00
prascle
5f237094e9 PR: improve compatibilty with old scripts 2013-04-09 14:51:29 +00:00
vsr
3f9390adf4 Merge from BR_plugins_pbyacs 03/04/2013 2013-04-04 07:06:43 +00:00
mpa
a745b833f8 IPAL0051856: Basic Properties of a hidden edges 2013-04-01 13:35:35 +00:00
vsr
5b3622aa23 Merge from V6_main 01/04/2013 2013-04-01 12:25:01 +00:00
jfa
6e9871bc53 0022095: EDF 2358 GEOM: Add 'Create group' in the contextual menu of OCC viewer 2013-03-26 09:37:44 +00:00
barate
e63bb2c6a9 Fix detection of GEOM groups for structural elements 2013-03-20 16:55:12 +00:00
vsr
4ab1782428 Merge from V6_main 15/03/2013 2013-03-15 14:28:11 +00:00
vsr
9be9f89876 Merge from V6_main 06/03/2013 2013-03-07 11:07:32 +00:00
vsr
cb06d0db39 Merge from BR_PORTING_VTK6 01/03/2013 2013-03-01 13:10:52 +00:00
vsr
2488be88d9 Merge from V6_main 28/02/2013 2013-02-28 14:00:05 +00:00
vsr
465e84c52e Merge from V6_main 11/02/2013 2013-02-12 11:35:16 +00:00
vsr
eb33929a62 Merge from V6_main 13/12/2012 2012-12-13 08:40:36 +00:00
ngo
62f6ab7368 Fix for new imports : no restriction on the length of the FORMAT string (ILMAB project) 2012-11-28 15:00:04 +00:00
vsr
8180539548 Merge from V6_main (04/10/2012) 2012-10-08 11:16:36 +00:00
vsr
73555c78eb Merge from V6_main_20120808 08Aug12 2012-08-09 07:58:02 +00:00
jfa
392885c1a8 Update from BR_V5_DEV 13Feb2009 2009-02-13 12:16:39 +00:00
jfa
239f8109c6 Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:45:34 +00:00
jfa
9499b99fe2 Join modifications from branch BR_DEBUG_3_2_0b1 2006-06-01 11:32:40 +00:00
jfa
e99c8a4fdd Fix bug 10955: Collisions with 'Ctrl+I' and 'Ctrl+M' hot keys. 2006-05-10 14:27:12 +00:00
jfa
e666568f33 Fix bug 12379: Explode BREP to entities very long. Do not check new name uniqueness in case of objects quantity > 30. 2006-05-10 14:26:06 +00:00
jfa
e180c20f73 Join modifications from branch OCC_debug_for_3_2_0b1 2006-05-06 08:44:32 +00:00
jfa
438f4b0922 Join modifications from branch OCC_development_for_3_2_0a2 2006-03-13 15:11:51 +00:00
smh
f505d638da Merge from OCC_development_generic_2006
Preparation of 3.2.0a1
2006-02-07 15:58:35 +00:00
jfa
43be995171 Join modifications from branch BR_3_1_0deb 2005-12-28 09:12:58 +00:00
mzn
71e874ca8e Fix for bug PAL11017 ( Can't select subshapes in the tree to create groups ). 2005-12-22 13:29:32 +00:00