]>
SALOME platform Git repositories - modules/smesh.git/log
gdd [Wed, 27 Jul 2011 14:49:42 +0000 (14:49 +0000)]
Fix errors in Ghs3d example script
gdd [Tue, 26 Jul 2011 17:48:10 +0000 (17:48 +0000)]
Add PreCAD wrappers
gdd [Tue, 26 Jul 2011 17:18:04 +0000 (17:18 +0000)]
Add PreCAD
Update doc
Update smeshDC.py
gdd [Tue, 26 Jul 2011 09:02:17 +0000 (09:02 +0000)]
Check return value of Parameters() before setting values (BlSurf, GHS3D, GHS3DPRL)
vsr [Wed, 20 Jul 2011 10:16:19 +0000 (10:16 +0000)]
Fix problem with doxygen (using default font leads to the dot errors) - switch default dot font explicitly to Arial.
eap [Tue, 19 Jul 2011 12:57:51 +0000 (12:57 +0000)]
0021327 : EDF 1915 SMESH: impossible to select a group to copy mesh
trim white spaces at end of object name, else the object seems not selected
vsr [Tue, 19 Jul 2011 12:05:24 +0000 (12:05 +0000)]
Merge from V6_3_BR 19/07/2011
eap [Tue, 19 Jul 2011 11:27:02 +0000 (11:27 +0000)]
0021327 : EDF 1915 SMESH: impossible to select a group to copy mesh
trim white spaces at end of object name, else the object seems not selected
eap [Fri, 15 Jul 2011 14:55:38 +0000 (14:55 +0000)]
- $(CORBA_CXXFLAGS) \
- $(CORBA_INCLUDES) \
vsr [Fri, 15 Jul 2011 11:19:53 +0000 (11:19 +0000)]
Merge from V6_3_BR 15/07/2011
eap [Tue, 12 Jul 2011 11:25:45 +0000 (11:25 +0000)]
typo
eap [Mon, 11 Jul 2011 07:22:14 +0000 (07:22 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
fix selection/visualization mode at changing the group type
eap [Thu, 7 Jul 2011 15:27:29 +0000 (15:27 +0000)]
- -I$(srcdir)/../SMESHImpl \
- ../SMESH_I/libSMESHEngine.la \
eap [Thu, 7 Jul 2011 14:23:09 +0000 (14:23 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
improve comment of getFunctNames()
eap [Thu, 7 Jul 2011 14:21:27 +0000 (14:21 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
In FunctorTypeToString(), return "FT_Undefined" for an invalid input
eap [Tue, 5 Jul 2011 12:07:17 +0000 (12:07 +0000)]
0021271 : [CEA 473] Implement min size in netgen plugin
::SMESH_Hypothesis::TDefaults dflts;
+ dflts._shape = &shape;
eap [Tue, 5 Jul 2011 12:06:17 +0000 (12:06 +0000)]
0021271 : [CEA 473] Implement min size in netgen plugin
struct TDefaults
{
double _elemLength;
int _nbSegments;
+ TopoDS_Shape* _shape; // future shape of the mesh being created
};
eap [Tue, 5 Jul 2011 12:04:49 +0000 (12:04 +0000)]
restore "QuadranglePreference" hyp as it can be used by NETGEN 2D
together with "Max. Elemet Area" for example
eap [Tue, 5 Jul 2011 08:51:16 +0000 (08:51 +0000)]
0021271 : [CEA 473] Implement min size in netgen plugin
eap [Fri, 1 Jul 2011 15:45:09 +0000 (15:45 +0000)]
initialize the Curve Adaptor using range of the edge
eap [Tue, 28 Jun 2011 13:01:22 +0000 (13:01 +0000)]
Suppress some doxygen warnings
eap [Tue, 28 Jun 2011 13:00:19 +0000 (13:00 +0000)]
Create StdMeshers_QuadrangleParams hyp instead of "Quadrangle
preference" and "Triangle preference" obsolete hypotheses
eap [Tue, 28 Jun 2011 12:58:21 +0000 (12:58 +0000)]
Remove "Quadrangle preference" and "Triangle preference" obsolete hypotheses
eap [Tue, 28 Jun 2011 11:55:57 +0000 (11:55 +0000)]
IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
Treate a case where a valid mesh is computed anyhow while the algo reports errors
eap [Tue, 28 Jun 2011 11:55:32 +0000 (11:55 +0000)]
IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
Treate a case where a valid mesh is computed anyhow while the algo reports errors
+ COMPERR_WARNING //!< algo reports error but sub-mesh is computed anyway
eap [Tue, 28 Jun 2011 11:54:43 +0000 (11:54 +0000)]
IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
1) Treate a case where a valid mesh is computed anyhow while the algo reports errors
2) Remove unused
- bool ApplyToCollection (SMESH_Algo* theAlgo,
- const TopoDS_Shape& theCollection);
eap [Tue, 28 Jun 2011 11:53:37 +0000 (11:53 +0000)]
IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
Treate a case where a valid mesh is computed anyhow while the algo reports errors
+ enum EMeshError { MEr_OK = 0, MEr_HOLES, MEr_BAD_ORI, MEr_EMPTY };
+
+ /*!
+ * \brief Finds topological errors of a sub-mesh
+ */
+ static EMeshError GetMeshError(SMESH_subMesh* subMesh);
eap [Tue, 28 Jun 2011 11:52:56 +0000 (11:52 +0000)]
IPAL22173 TC6.2.0: "Netgen1D-2D" algorithm doesn't work on "flight_solid.brep"
Treate a case where a valid mesh is computed anyhow while the algo reports errors
+ COMPERR_WARNING = -10 //!< algo reports error but sub-mesh is computed anyway
+ bool IsKO() { return myName != COMPERR_OK && myName != COMPERR_WARNING; }
eap [Mon, 27 Jun 2011 07:57:51 +0000 (07:57 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
fix bug of editing a not standalone group
eap [Fri, 24 Jun 2011 08:36:34 +0000 (08:36 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
icon for SMESH_GroupOnFilter
eap [Fri, 24 Jun 2011 06:53:07 +0000 (06:53 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
icon for SMESH_GroupOnFilter
eap [Thu, 23 Jun 2011 12:39:01 +0000 (12:39 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
To create/edit SMESH_GroupOnFilter
eap [Thu, 23 Jun 2011 12:38:38 +0000 (12:38 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+ def GetFilterFromCriteria(self,criteria):
+ def GroupOnFilter(self, typ, name, filter):
eap [Thu, 23 Jun 2011 12:37:17 +0000 (12:37 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Make groupType() return "SMESH_GroupOnFilter"
eap [Thu, 23 Jun 2011 12:36:03 +0000 (12:36 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
1) make 'Mesh' be a default 'Source'
2)
+ SMESH::Filter_var GetFilter() const;
+ void SetFilter(SMESH::Filter_var filter, int type);
eap [Thu, 23 Jun 2011 12:34:55 +0000 (12:34 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+ SMESH::Filter_var GetFilter() const;
+ void SetFilter(SMESH::Filter_var filter, int type);
eap [Thu, 23 Jun 2011 12:34:17 +0000 (12:34 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
To edit SMESH_GroupOnFilter
eap [Thu, 23 Jun 2011 12:33:18 +0000 (12:33 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+ interface SMESH_GroupOnFilter : SMESH_GroupBase
eap [Thu, 23 Jun 2011 12:32:53 +0000 (12:32 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+ SMESH_GroupOnFilter CreateGroupFromFilter( in ElementType elemType,
+ in string name,
+ in SMESH::Filter filter )
eap [Thu, 23 Jun 2011 12:30:17 +0000 (12:30 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+ SMESH::SMESH_GroupOnFilter_ptr CreateGroupFromFilter()
eap [Thu, 23 Jun 2011 12:29:23 +0000 (12:29 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+class SMESH_GroupOnFilter_i:
eap [Thu, 23 Jun 2011 12:26:04 +0000 (12:26 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Save and Load SMESH_GroupOnFilter
eap [Thu, 23 Jun 2011 12:25:04 +0000 (12:25 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
1) fix dump of Filter_i::SetCriteria()
2)
+ void Filter_i::AddWaiter( TPredicateChangeWaiter* waiter );
+ void Filter_i::RemoveWaiter( TPredicateChangeWaiter* waiter );
3)
+ const char* SMESH::FunctorTypeToString(SMESH::FunctorType ft);
+ SMESH::FunctorType SMESH::StringToFunctorType(const char* str);
eap [Thu, 23 Jun 2011 12:23:49 +0000 (12:23 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
class Filter_i
{
+ struct TPredicateChangeWaiter
+ {
+ virtual void PredicateChanged() = 0;
+ };
+ void AddWaiter( TPredicateChangeWaiter* waiter );
+ void RemoveWaiter( TPredicateChangeWaiter* waiter );
+ std::list<TPredicateChangeWaiter*> myWaiters;
+ const char* FunctorTypeToString(SMESH::FunctorType ft);
+ SMESH::FunctorType StringToFunctorType(const char* str);
eap [Thu, 23 Jun 2011 12:20:30 +0000 (12:20 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Fix dump of SMESH_IDSource which is Filter
eap [Thu, 23 Jun 2011 12:19:06 +0000 (12:19 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
1) convert SMESH.Filter.Criterion() to GetCriterion()
2)
+_pyGroup::Process()
+_pyFilter::Process()
eap [Thu, 23 Jun 2011 12:15:16 +0000 (12:15 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+class _pyGroup
+class _pyFilter
eap [Thu, 23 Jun 2011 12:14:05 +0000 (12:14 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
To remove sub-filters if necessary
- SMESH_LogicalFilter( const QList<SUIT_SelectionFilter*>&, const int );
+ SMESH_LogicalFilter( const QList<SUIT_SelectionFilter*>&, const int, bool takeOwnership=false );
private:
+ void deleteFilters();
eap [Thu, 23 Jun 2011 12:12:22 +0000 (12:12 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
SMESH_Group* AddGroup (const SMDSAbs_ElementType theType,
const char* theName,
int& theId,
const TopoDS_Shape& theShape=TopoDS_Shape(),
+ const SMESH_PredicatePtr& thePredicate=SMESH_PredicatePtr());
eap [Thu, 23 Jun 2011 12:11:40 +0000 (12:11 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
SMESH_Group (int theID,
const SMESH_Mesh* theMesh,
const SMDSAbs_ElementType theType,
const char* theName,
const TopoDS_Shape& theShape = TopoDS_Shape(),
+ const SMESH_PredicatePtr& thePredicate = SMESH_PredicatePtr());
eap [Thu, 23 Jun 2011 12:10:32 +0000 (12:10 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
Move definition of abstract classes Functor and Predicate from
SMESH_ControlsDef.hxx to SMESH_Controls.hxx
eap [Thu, 23 Jun 2011 12:06:37 +0000 (12:06 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+ SMESHDS_GroupOnFilter.cxx
eap [Thu, 23 Jun 2011 12:06:12 +0000 (12:06 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
+ SMESHDS_GroupOnFilter.cxx
+ -I$(srcdir)/../Controls
eap [Thu, 23 Jun 2011 12:05:43 +0000 (12:05 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
- int GetID (const int theIndex);
+ virtual int GetID (const int theIndex);
eap [Thu, 23 Jun 2011 12:04:34 +0000 (12:04 +0000)]
0021014 : EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
- unsigned long GetMTime();
+ unsigned long GetMTime() const;
eap [Tue, 14 Jun 2011 14:19:21 +0000 (14:19 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export, FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 14:10:39 +0000 (14:10 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export, FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 14:10:15 +0000 (14:10 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 14:10:01 +0000 (14:10 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export() on groups
eap [Tue, 14 Jun 2011 14:08:45 +0000 (14:08 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export() on groups
+ virtual int dim( int ) const;
eap [Tue, 14 Jun 2011 14:05:24 +0000 (14:05 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
+ * Searching among the given elements, return elements of given type
+ * where the given point is IN or ON.
+ *
+ * 'ALL' type means elements of any type excluding nodes and 0D elements
+ */
+ long_array FindAmongElementsByPoint(in SMESH_IDSource elements,
+ in double x, in double y, in double z,
+ in ElementType type);
eap [Tue, 14 Jun 2011 14:04:58 +0000 (14:04 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export groups
+ void ExportPartToMED( in SMESH_IDSource meshPart,
+ void ExportPartToDAT( in SMESH_IDSource meshPart,
+ void ExportPartToUNV( in SMESH_IDSource meshPart,
+ void ExportPartToSTL( in SMESH_IDSource meshPart,
eap [Tue, 14 Jun 2011 13:58:29 +0000 (13:58 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group
export, FindElementByPoint() on groups
eap [Tue, 14 Jun 2011 13:57:24 +0000 (13:57 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export,FindElementByPoint() groups
1) convert
+ { // ExportPartTo*(part, ...) -> Export*(..., part)
+ // FindAmongElementsByPoint(meshPart, x, y, z, elementType) ->
+ // FindElementsByPoint(x, y, z, elementType, meshPart)
2) make _pyCommand::GetArg() work with any compex arg like list, tuple etc
eap [Tue, 14 Jun 2011 13:54:50 +0000 (13:54 +0000)]
+ case ELEM0D:myStream<<"ELEM0D";break;
eap [Tue, 14 Jun 2011 13:54:32 +0000 (13:54 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() groups
+ /*!
+ * Searching among the given elements, return elements of given type
+ * where the given point is IN or ON.
+ * 'ALL' type means elements of any type excluding nodes
+ */
+ SMESH::long_array* FindAmongElementsByPoint(SMESH::SMESH_IDSource_ptr elements,
+ CORBA::Double x,
+ CORBA::Double y,
+ CORBA::Double z,
+ SMESH::ElementType type);
eap [Tue, 14 Jun 2011 13:53:16 +0000 (13:53 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export groups
+ void ExportPartToMED(SMESH::SMESH_IDSource_ptr meshPart,
+ const char* file,
+ CORBA::Boolean auto_groups,
+ SMESH::MED_VERSION version,
+ CORBA::Boolean overwrite) throw (SALOME::SALOME_Exception);
+ void ExportPartToDAT(SMESH::SMESH_IDSource_ptr meshPart,
+ const char* file) throw (SALOME::SALOME_Exception);
+ void ExportPartToUNV(SMESH::SMESH_IDSource_ptr meshPart,
+ const char* file) throw (SALOME::SALOME_Exception);
+ void ExportPartToSTL(SMESH::SMESH_IDSource_ptr meshPart,
+ const char* file,
+ CORBA::Boolean isascii) throw (SALOME::SALOME_Exception);
eap [Tue, 14 Jun 2011 13:51:55 +0000 (13:51 +0000)]
improve comments
eap [Tue, 14 Jun 2011 13:51:27 +0000 (13:51 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export groups
void ExportMED(const char *file,
const char* theMeshName = NULL,
bool theAutoGroups = true,
- int theVersion = 0)
+ int theVersion = 0,
+ const SMESHDS_Mesh* meshPart = 0)
eap [Tue, 14 Jun 2011 13:50:26 +0000 (13:50 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export groups
+protected:
+ inline void addWithPoly(const SMDS_MeshElement* el);
eap [Tue, 14 Jun 2011 13:49:51 +0000 (13:49 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / FindElementByPoint() on groups
+ int Tic() const { return myTic; }
+ int myTic; // to track changes
eap [Tue, 14 Jun 2011 13:49:08 +0000 (13:49 +0000)]
0020743 : EDF 1271 SMESH : Create a mesh from a group / export groups
make virtual methods returning iterators on elements
vsr [Mon, 6 Jun 2011 08:15:39 +0000 (08:15 +0000)]
Merge from V6_3_BR 06/06/2011
gdd [Wed, 11 May 2011 20:41:37 +0000 (20:41 +0000)]
Replace oe by ?
ouv [Mon, 18 Apr 2011 09:59:35 +0000 (09:59 +0000)]
Minor changes (untabify).
gdd [Mon, 18 Apr 2011 09:12:43 +0000 (09:12 +0000)]
salome_adm doesn't exist anymore
ouv [Mon, 18 Apr 2011 09:09:24 +0000 (09:09 +0000)]
Note
0010812 from the issue
0020999 : EDF 1575 SMESH: Filters and precision preferences
rnv [Mon, 18 Apr 2011 07:39:11 +0000 (07:39 +0000)]
Fix for the "21237: EDF SMESH: The python interface documentation is no more available" issue
eap [Fri, 15 Apr 2011 09:31:45 +0000 (09:31 +0000)]
Restore support of med-2.1 in MEDWrapper
gdd [Thu, 14 Apr 2011 12:42:52 +0000 (12:42 +0000)]
Small update for French translation
gdd [Thu, 14 Apr 2011 12:08:29 +0000 (12:08 +0000)]
rnc : correction from Anthony Geay for a problem with medfiles when containing 0D elements
rnv [Wed, 13 Apr 2011 08:03:11 +0000 (08:03 +0000)]
RNV: Fix bug of the editing "Source Faces" hypo: Groups list is empty when editing hypothesis.
prascle [Tue, 12 Apr 2011 17:09:41 +0000 (17:09 +0000)]
PR: mistake
rnv [Tue, 12 Apr 2011 12:28:40 +0000 (12:28 +0000)]
1) Fix for the issue "21220: EDF SMESH: Split into tetra from group does not work"
2) Change mechanism of the adding items in the QListWidget.
prascle [Tue, 12 Apr 2011 11:24:20 +0000 (11:24 +0000)]
PR: add an independant exe that cuts a tetra mesh by a plane. MeshCut is adpated from EDF project XMESHLAB and works with MED files.
rnv [Mon, 11 Apr 2011 12:42:27 +0000 (12:42 +0000)]
Fix for the "21222: SMESH EDF: Impossible to set a threshold value in the filter dialog" issue.
gdd [Mon, 11 Apr 2011 09:06:11 +0000 (09:06 +0000)]
rnc : gived some details about ExtrusionSweepObjectXD in documentation
eap [Mon, 11 Apr 2011 07:50:58 +0000 (07:50 +0000)]
med-2.1 file no longer supported
rnv [Mon, 11 Apr 2011 06:56:10 +0000 (06:56 +0000)]
RNV: porting documentation on the doxygen 1.7.3
gdd [Fri, 8 Apr 2011 16:34:59 +0000 (16:34 +0000)]
Small update of blsurf documentation
gdd [Fri, 8 Apr 2011 15:29:33 +0000 (15:29 +0000)]
Update French Translations
eap [Fri, 8 Apr 2011 08:43:48 +0000 (08:43 +0000)]
- ExportToMEDX(file,auto_groups,SMESH::MED_V2_1,true);
+ ExportToMEDX(file,auto_groups,SMESH::MED_V2_2,true);
eap [Fri, 8 Apr 2011 08:43:30 +0000 (08:43 +0000)]
comment off not used
static bool sameGroupType()
rnv [Thu, 7 Apr 2011 14:57:54 +0000 (14:57 +0000)]
RNV: Porting documentation on the doxygen 1.7.3
rnv [Thu, 7 Apr 2011 14:39:41 +0000 (14:39 +0000)]
RNV: Porting documentation on the doxygen 1.7.3
vsr [Thu, 7 Apr 2011 11:53:43 +0000 (11:53 +0000)]
Merge from PortingMED3 07Apr11
eap [Wed, 6 Apr 2011 11:06:53 +0000 (11:06 +0000)]
0021218 : EDF 1832 SMESH: Regression when computing a mesh
fix FindFaceAssociation() using UV
rnv [Tue, 5 Apr 2011 09:25:26 +0000 (09:25 +0000)]
Implementation "21042: EDF 1600 ALL: Rename objects in the OB" issue.
gdd [Fri, 1 Apr 2011 14:19:32 +0000 (14:19 +0000)]
rnc : documentation of IMP EDF 1762
prascle [Wed, 30 Mar 2011 15:48:07 +0000 (15:48 +0000)]
PR: create flat elements on face groups (ASTER calculations)