eap
eeba8f9c90
Fix treatment of filters after starting usage of AddArgCmd()
2013-07-23 11:41:20 +00:00
eap
60b71b1c6c
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
Avoid leaks of CORBA objects at calling TPythonDump() << _this()
Avoid leaks of SMESH_MeshEditor_i
2013-07-22 15:25:50 +00:00
eap
c9d7623239
Avoid leaks of CORBA objects at calling TPythonDump() << _this()
2013-07-22 14:42:25 +00:00
eap
74d40c014d
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
Now UnRegister(), corresponding to the Register() called by AttributeIOR,
is invoked by an object publisher i.e. by SMESH_Gen_i::publish() but not by GUI
because GUI is unable to track publication of all objects created by the Engine:
for example groups can be created while mesh.Compute() is called.
2013-07-22 14:40:00 +00:00
eap
5b15666f93
untabify
2013-07-22 14:38:09 +00:00
eap
eb3c0cb3a3
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
Fix loading a group on filter:
+ filter->UnRegister();
2013-07-22 14:37:06 +00:00
eap
26d878fd9f
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
...
in SetCriteria():
+ aResPredicate->UnRegister();
2013-07-22 14:36:12 +00:00
inv
5bdade8015
RNV: Fix link errors.
2013-07-22 12:59:01 +00:00
eap
85aae58ead
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
1) New general mechanism to avoid dump of functors not used later as arguments
2) Use the New general mechanism to filters and sub-meshes
3) Erase the 1st incarnation of re-created objects.
A re-created object appears e.g. as follows:
- create a mesh
- remove the mesh
- save and re-open the study
- create another mesh -> ( two meshes have same Entry ) == ( the 1st mesh is re-created )
2013-07-17 14:27:42 +00:00
akl
7c7b4b0636
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:32:08 +00:00
eap
ed5bf36e41
1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
+ static CORBA::Long* GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource, int& nbIds );
+ virtual SMESH::long_array* GetNbElementsByType();
2013-07-03 16:06:14 +00:00
eap
89edbafa37
1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
+ static CORBA::Long* GetTemporaryIDs( SMESH::SMESH_IDSource_ptr& idSource, int& nbIds );
2013-07-03 16:05:46 +00:00
eap
69da5c7991
1) 0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
+ virtual SMESH::long_array* GetNbElementsByType();
+ static SMDS_ElemIteratorPtr GetElements(SMESH::SMESH_IDSource_ptr obj,
+ SMESH::ElementType type);
2) Compute Progress bar
+ CORBA::Double GetComputeProgress();
2013-07-03 16:05:28 +00:00
eap
95a58b5ecf
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
+ virtual SMESH::long_array* GetNbElementsByType();
2013-07-03 16:04:07 +00:00
eap
38e26e89c3
0020976: EDF 1471 SMESH: New ergonomy to display quality controls
...
interface SMESH_IDSource
{
+ long NbSatisfying( in SMESH::SMESH_IDSource obj );
interface NumericalFunctor: Functor
{
+ Histogram GetLocalHistogram( in short nbIntervals, in boolean isLogarithmic,
+ in SMESH::SMESH_IDSource obj );
2013-07-03 16:03:14 +00:00
eap
35035f1212
0022238: Study dump produced by SMESH refers to undefined variable names
...
void fixFunctorType()
{
+ ASSERT( undef2newItems.rbegin()->first == SMESH::FT_Undefined );
2013-07-02 14:27:15 +00:00
eap
1d05754e58
0022238: Study dump produced by SMESH refers to undefined variable names
...
Fix CheckObjectPresence() again
+ ASSERT( thePartIndex > 0 );
2013-07-02 13:39:05 +00:00
eap
06ef82c3a7
0022238: Study dump produced by SMESH refers to undefined variable names
...
Remove "aStudyBuilder.RemoveObjectWithChildren(SO)" for SO whose
creation command was removed or commented
2013-07-02 12:02:33 +00:00
eap
c5add157d7
CoTech decision: move MEDWrapper from MED to SMESH
...
MED.idl no more exists
2013-06-25 11:56:05 +00:00
eap
d0aa6dbc4a
CoTech decision: move MEDWrapper from MED to SMESH
...
+#include "MED_Factory.hxx"
2013-06-24 10:09:43 +00:00
eap
4fa06a6894
CoTech decision: move MEDWrapper from MED to SMESH
...
+ -I$(srcdir)/../MEDWrapper/Base \
+ -I$(srcdir)/../MEDWrapper/Factory \
- $(MED_LDFLAGS) \
- -lMEDWrapper \
- -lMEDWrapper_V2_2 \
- -lSalomeIDLMED \
2013-06-24 10:08:26 +00:00
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