Commit Graph

165 Commits

Author SHA1 Message Date
eap
25008e4a96 21952: EDF 2383 SMESH : Add an option to write planar meshes as 3D meshes in MED files
Correct position of autoDimension in ExportMED()
2013-06-11 11:51:44 +00:00
eap
4fecefcc2b 0021952: Add an option to write planar meshes as 3D meshes in MED files 2013-06-05 15:13:53 +00:00
eap
bd8276e43f avoid compilation warnings in release mode 2013-06-05 09:49:03 +00:00
eap
708660afc3 "import python files corresponding to plugins" is not needed (since long time) 2013-05-30 14:32:41 +00:00
inv
a29849f24b Compatibility with gcc 4.1 (centos 5) 2013-05-30 08:02:04 +00:00
eap
557a9b549c 22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
-      if ( myGen.Compute( myLocMesh, myLocShape, false, aDim, &shapeIds ) )
+      if ( myGen.Compute( myLocMesh, myLocShape, false, false, aDim, &shapeIds ) )

The 3-d parameter aShapeOnly added to SMESH_Gen::Compute()
2013-05-29 15:31:16 +00:00
eap
5cc99bd09d 0022108: EDF 2547 SMESH: Duplicate elements only
1)
+  SMESH::SMESH_Group_ptr DoubleElements(SMESH::SMESH_IDSource_ptr theElements,
+                                        const char*               theGroupName)

2) set mesh to a filter
+  void prepareIdSource(SMESH::SMESH_IDSource_ptr theObject);
2013-05-28 16:46:20 +00:00
eap
2de5e478f7 0022108: EDF 2547 SMESH: Duplicate elements only
1)
+  void _pyGen::addFilterUser( Handle(_pyCommand)& theCmd, const Handle(_pyObject)& user );

2)
+   * \brief Replaces "mesh.GetIDSource([id1,id2])" argument of a given command by
+   *        a list "[id1,id2]" if the list is an accesible type of argument.
+   */
+  void GetIDSourceToList( Handle( _pyCommand)& theCommand )

3)
+   * \brief Replaces "SMESH.PointStruct(x,y,z)" and "SMESH.DirStruct( SMESH.PointStruct(x,y,z))"
+   *        arguments of a given command by a list "[x,y,z]" if the list is accesible
+   *        type of argument.
+   */
+  void StructToList( Handle( _pyCommand)& theCommand )
2013-05-28 16:45:15 +00:00
eap
eb58d6d004 0022108: EDF 2547 SMESH: Duplicate elements only
+  void _pyGen::addFilterUser( Handle(_pyCommand)& theCmd, const Handle(_pyObject)& user );
2013-05-28 16:43:28 +00:00
eap
401090842f 0022172: [CEA 790] create the groups corresponding to domains
Fix dump of AddHypothesis() in the case w/o geometry
2013-05-24 11:57:38 +00:00
eap
0f7414545b 0022172: [CEA 790] create the groups corresponding to domains
1) Do not erase "mesh.Compute()" command if the next command
   "[ group1, group2 ] = mesh.GetGroups()" dumps groups created by some algorithm.

2) Clear "mesh.RemoveGroup( group )" command
3) Clear "[ group1, group2 ] = mesh.GetGroups()" command if the groups
   are removed later.
2013-05-24 11:55:12 +00:00
eap
610978f5f6 Treat Scale commands 2013-05-22 16:05:06 +00:00
eap
741e8ae522 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
Treat SMESH_MeshEditor::QuadTo4Tri()
2013-05-22 15:34:17 +00:00
eap
ba9f67eab1 0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
+  void           QuadTo4Tri      (SMESH::SMESH_IDSource_ptr   theObject)
2013-05-22 15:33:27 +00:00
eap
af65a4c6c9 0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
+  // Create groups of elements preventing computation of a sub-shape
+  SMESH::ListOfGroups* MakeGroupsOfBadInputElements( int         theSubShapeID,
+                                                     const char* theGroupName)
+    throw (SALOME::SALOME_Exception);
2013-05-21 09:07:16 +00:00
eap
dcd520f576 0022107: EDF 2502 SMESH: Publish the result of show bad mesh in a group
+  // Create groups of elements preventing computation of a sub-shape
+  SMESH::ListOfGroups* MakeGroupsOfBadInputElements( SMESH::SMESH_Mesh_ptr theMesh,
+                                                     CORBA::Short          theSubShapeID,
+                                                     const char*           theGroupName)
+    throw ( SALOME::SALOME_Exception );
2013-05-21 09:06:43 +00:00
eap
70fad16a15 0022100: EDF 2413 SMESH: Take into account TRIA7 2013-05-16 16:53:18 +00:00
eap
998c774c5d 0022100: EDF 2413 SMESH: Take into account TRIA7
+  CORBA::Long NbBiQuadTriangles()
2013-05-16 16:49:03 +00:00
eap
3a8dfa1bdb +#include "SMESH_MeshAlgos.hxx"
+// A macro used in SMESH_TryCatch.hxx,
+// it re-raises a CORBA SALOME exception thrown by SMESH_MeshEditor_i and caught by SMESH_CATCH
+#define SMY_OWN_CATCH \
+  catch ( SALOME::SALOME_Exception & e ) { throw e; }

+  void ClearLastCreated() throw (SALOME::SALOME_Exception);
2013-05-16 16:48:19 +00:00
eap
143bb6d8a6 + void ClearLastCreated() throw (SALOME::SALOME_Exception); 2013-05-16 16:46:57 +00:00
eap
b47c581141 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
+  class SMESH_I_EXPORT ConnectedElements_i: public virtual POA_SMESH::ConnectedElements,
+                                            public virtual Predicate_i

+    ConnectedElements_ptr     CreateConnectedElements();
2013-05-16 16:46:26 +00:00
eap
9be03d1b02 0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh 2013-05-16 16:45:34 +00:00
eap
765c100cd0 0022100: EDF 2413 SMESH: Take into account TRIA7
0022098: EDF 2036 SMESH: Create groups from none conected parts of a mesh
2013-05-16 16:44:02 +00:00
akl
866063cabb Call 'Location' with correct indices only to avoid exception. 2013-04-24 13:25:21 +00:00
akl
436838c202 Fix to avoid dependence of mesh on itself (it leaded to cycle in 'SetRemovedFromStudy'). 2013-04-24 13:13:40 +00:00
akl
e5bd3f688c Indexation of OCC sequence is started from 1, but not 0. 2013-04-22 10:36:36 +00:00
prascle
515a51dac3 PR: update documentation of class SMESH_2smeshpy 2013-04-11 08:59:26 +00:00
prascle
9c186f8150 PR: update comments in dump function: smesh instead of smesh.smesh 2013-04-11 08:53:12 +00:00
prascle
9c2ce3dffb PR: debug G. Nicolas (EDF 1967) 2013-04-05 15:19:53 +00:00
vsr
54182913fb Merge from BR_plugins_pbyacs 03/04/2013 2013-04-04 07:08:19 +00:00
vsr
bd8f1aee7c Merge from V6_main 01/04/2013 2013-04-01 13:05:47 +00:00
vsr
31ca0b3e3b Merge from V6_main 15/03/2013 2013-03-15 14:59:29 +00:00
vsr
7aebb99e42 Merge from V6_main 06/03/2013 2013-03-06 13:57:01 +00:00
vsr
9a54694a0a Merge from V6_main 11/02/2013 2013-02-12 14:37:44 +00:00
vsr
1067ffa6e7 Merge from V6_main 13/12/2012 2012-12-13 11:41:29 +00:00
vsr
f5016d85b7 Merge from V6_main (04/10/2012) 2012-10-08 11:56:59 +00:00
vsr
bd4e115a78 Merge from V6_main_20120808 08Aug12 2012-08-09 10:03:55 +00:00
vsr
0635c9fc80 Merge from BR_V5_DEV 16Feb09 2009-02-17 05:27:49 +00:00
jfa
79b1ac2b6d Join modifications from BR_Dev_For_4_0 tag V4_1_1. 2008-03-07 07:47:05 +00:00
jfa
c63ee099ad Join modifications from branch BR_DEBUG_3_2_0b1 2006-06-01 11:39:17 +00:00
eap
fdfe9f0f65 fix bug 12361. Peview possiblity of SetCurrentStudy(nil) 2006-05-10 12:49:13 +00:00
eap
850cf38bd9 fix PythonDump: write Criterion arg of QuadToTri() in PythonDump 2006-05-10 12:46:40 +00:00
eap
e559b8fc3d fix PythonDump: do not write distruction in PythonDump as creation is not written 2006-05-10 12:42:27 +00:00
jfa
57b43b4d01 Join modifications from branch OCC_debug_for_3_2_0b1 2006-05-06 08:51:48 +00:00
jfa
4ff5bd6154 Join modifications from branch OCC_development_for_3_2_0a2 2006-03-13 15:29:49 +00:00
smh
d0f366c4a3 Merge from OCC_development_generic_2006
Preparation of 3.2.0a1
2006-02-07 15:01:11 +00:00
eap
5c933ecde0 PAL10953. Add Fineness parameter to Automatic Length hypothesis 2005-12-26 10:34:54 +00:00
eap
236b583d31 PAL10467. Add "Quadrangle Preference" hypothesis for "Quadrangle(Mapping)" algo 2005-12-23 10:00:03 +00:00
eap
7ba3124c8a PAL10494. Add .._STANDARD_RTTI_... in order to build executable 2005-12-23 07:47:36 +00:00
eap
95dab66d27 PAL10494 (SMESH python dump uses idl interface). Python dump converted to smesh.py API, usage of TPythonDump tool 2005-12-15 08:34:25 +00:00
eap
5a76185f82 PAL10494 (SMESH python dump uses idl interface). Add SMESH_2smeshpy, a converter of IDL API to smesh.py API 2005-12-15 07:33:07 +00:00
smh
2754c581d3 Copyrights update 2005-12-05 16:31:55 +00:00
eap
a5e3cc49d7 PAL10515. Check shape type before calling TopoDS::Face() 2005-11-16 15:00:03 +00:00
mkr
9dbbb779fa Add new variable for finding OCC libraries during compilation. 2005-11-16 12:00:03 +00:00
eap
81e9dbdf6c PAL10491. Add GetAlgoState() 2005-11-14 09:11:54 +00:00
mzn
11899ab525 Fix for bug PAL10409 (Filter "Belong to geom" fails if 2 geom shapes have the same name); 2005-11-11 15:50:58 +00:00
asl
d696f7d582 check if module "GEOM" is found 2005-11-09 07:20:47 +00:00
asl
ab4288fb65 PAL10343 - it is impossible to select shape in "create mesh" dialog 2005-11-09 06:48:58 +00:00
skl
868e306e09 Improvement of extrusion functionality 2005-10-25 07:26:54 +00:00
jfa
5f6698232e PAL9997: Problem with ExportToMED if the file already exists 2005-10-24 08:05:15 +00:00
smh
5b66adc250 Preparation of 3.1.0a2: version ID. compilation with new HEAD and new MED (with polyhedres) 2005-10-18 14:52:45 +00:00
jfa
1d0ad233cf PAL10195: SALOME V2 study with a mesh leads to SIGSEGV of SALOME V3 2005-10-11 06:54:28 +00:00
eap
4f27e7392a IMP 10199 (add Volume Control). Add Volume3D NumericalFunctor. 2005-10-10 14:43:58 +00:00
jfa
90699a9eec PAL10195: SALOME V2 study with a mesh leads to SIGSEGV of SALOME V3 2005-10-10 10:00:24 +00:00
akk
62434e4dfd Back correct implementation. 2005-10-06 14:25:07 +00:00
akk
f4b3284931 Correction due to new inheritance of some interfaces from MED.idl 2005-10-06 14:14:59 +00:00
jfa
8ad9cef463 Fix crash after 'Belong to' filter creation if there are no mesh in the study 2005-10-04 07:35:48 +00:00
sln
1bf6ddbe2f GetElementType method added 2005-08-23 08:38:33 +00:00
sln
ebc64f68bf IsDimSupported method added 2005-08-23 08:38:00 +00:00
jfa
c9c6669fab Enable setting of Numeric Functors as criteria in Split Quadrangles and Union Triangles functionalities in GUI 2005-08-11 08:06:39 +00:00
san
0e8797ab06 SALOME porting to OCCT 5.2.4 2005-07-28 15:10:06 +00:00
srn
ecc072736c BugID: IPAL9380, modified methods Save and Load, replaced HDF_INT32 by HDF_STRING 2005-07-18 10:53:11 +00:00
eap
0dfcacb925 Move MEDWrapper to MED module 2005-07-13 11:20:18 +00:00
srn
49ff94d8fe IPAL BugID9380, modified method Save 2005-07-08 10:51:21 +00:00
eap
c981fa08d9 bug 9352. correct getting mesh elements from COMPOUND, COMPSOLID, SOLID, SHELL and WIRE submeshes 2005-06-30 05:54:20 +00:00
smh
70c382acbd SMH: Come back correct modifications 2005-06-08 06:58:18 +00:00
apo
4679b8437b remove adjusting pointers for covariant returns 2005-06-08 04:59:17 +00:00
smh
c38c10811a SMH: Preparation version 3.0.0 - merge (HEAD+POLYWORK) 2005-06-07 13:22:20 +00:00
apo
0ad037c989 Patch on regression that was introduced by fix on Bug PAL7444 2005-03-31 05:37:51 +00:00
apo
83f19818fc Bug PAL7444 - display mesh takes a lot of more memory in 2.1.0 than in 2.0.0. 2005-03-30 14:06:25 +00:00
eap
1bc504bf90 fix PAL8469. set "Warning" icon to mesh or submesh just published 2005-03-30 09:30:04 +00:00
apo
7a6418e0be Undo mistaken commit 2005-03-23 05:56:25 +00:00
apo
c111d3b520 [Bug PAL7444] display mesh takes a lot of more memory in 2.1.0 than in 2.0.0. 2005-03-22 12:50:34 +00:00
jfa
7411bcf53c PAL8267: two new API methods added: ExtrusionSweepObject1(2)D() 2005-03-21 12:40:07 +00:00
eap
658c72bc1d PAL8021. Correct work with submeshes on shape more complex than SHELL. 2005-02-07 11:11:51 +00:00
san
3c6d43b5e5 PAL7962 2005-02-03 07:01:28 +00:00
san
7dbc79c51d PAL7962 2005-02-02 11:09:27 +00:00
eap
5600ecf395 InLoad(): restore algorithms before hypotheses (PAL7914), nullify the main shape after groups storage (PAL7403) 2005-01-28 10:46:49 +00:00
eap
542321374c PAL7403. In Save(), remove shape referring data if a referred shape was deleted 2005-01-26 08:55:19 +00:00
vsr
be0f45394e Apply patch from Paul Rascle (correction of make procedure) 2005-01-25 13:43:14 +00:00
eap
c21a157b9d PAL7358. Add BadOrientedVolume predicate 2005-01-21 12:28:06 +00:00
vsr
5496cb6ab1 Implement sweep mesh elements along a path (PAL7218). 2005-01-20 14:50:37 +00:00
san
e465982eeb Implementation of new pattern mapping algorthm (mesh refinement) 2005-01-20 14:44:17 +00:00
mzn
3fa31cc01e Fix for PAL7758(Incorrect work of "Lying on Geom" filter for faces).
LyingOnGeom::Contains(...) improved.
2005-01-20 11:50:07 +00:00
admin
090aff0726 Merge with OCC_development_01 2005-01-20 06:25:54 +00:00
admin
ed456586bf Merge with OCC-V2_1_0_deb 2004-12-17 11:07:35 +00:00
admin
e4737e85f0 Merge with version on tag OCC-V2_1_0d 2004-12-01 10:48:31 +00:00
yfr
51569f091c DCQ:prepare 2.0.0 2004-07-20 07:56:05 +00:00
yfr
c3bf92bd87 DCQ : Merge with Ecole_Ete_a6. 2004-06-18 08:34:31 +00:00
jrt
61c36a7e0c Creating and importing 2 meshes from the same engine was not working. Mesh ID management was change to fix this problem. 2004-03-26 14:53:44 +00:00