Commit Graph

1520 Commits

Author SHA1 Message Date
eap
24bd6a0e24 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
rename classes to start from "StdMeshersDC_"
2012-03-11 10:31:27 +00:00
eap
344f1bff78 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
print errors occured while loading plugins
2012-03-11 10:30:52 +00:00
eap
28bb38ba81 0021509: EDF 2157: Error in the dump
1) fix _pyCommand::GetArg()
  2) AddMeshAccessorMethod() to "group.AddFrom( mesh )" command
2012-03-11 10:12:30 +00:00
eap
f93f0a8570 typo 2012-03-11 08:53:51 +00:00
eap
8b26d4794f 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
protect from exceptions at importing plugins
2012-03-11 08:53:28 +00:00
eap
649673b639 error in the script
-mesh.TriToQuadObject(GroupTriToQuad, None , 1.57)
+mesh.TriToQuadObject(GroupTriToQuad, smesh.FT_AspectRatio , 1.57)
2012-03-11 08:52:28 +00:00
eap
d4675122f5 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Now it's necessary to call myMesh->SetParameters() just before
  calling a method using parameters that can be defined via notebook variables
2012-03-07 15:13:29 +00:00
eap
4a78d582ba 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Add elements used in SMESH_2smeshpy
2012-03-07 15:11:06 +00:00
eap
5ccb7d953a 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Call  h->SetVarParameter() instead of h->SetParameters()
2012-03-07 15:10:28 +00:00
eap
102c101f1c 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Use TVar structure to dump arguments that can be defined via notebook variables
2012-03-07 15:07:13 +00:00
eap
f68bcab022 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Bind methods creating algorithms (defined by plugins) to the class Mesh
2012-03-07 15:06:37 +00:00
eap
e361a31d0f 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
+	StdMeshersDC.py \
2012-03-07 15:05:01 +00:00
eap
3c1e09c062 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Move definition of algorithms to ./StdMeshersDC.py
2012-03-07 15:04:45 +00:00
eap
93e79bb6c3 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Use TVar structure to dump arguments that can be defined via
   notebook variables
2012-03-07 15:03:32 +00:00
eap
130a2297e9 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Remove explicit treatment of NETGEN commands
2012-03-07 15:02:16 +00:00
eap
b38b77a5aa 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
void SMESH_Mesh_i::SetParameters(const char* theParameters)
 {
-  SMESH_Gen_i::GetSMESHGen()->UpdateParameters(SMESH::SMESH_Mesh::_narrow(_this()),
-                                               CORBA::string_dup(theParameters));
+  SMESH_Gen_i::GetSMESHGen()->UpdateParameters(theParameters);
2012-03-07 14:59:11 +00:00
eap
b0d8fa70d6 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Map names of variables set via SetVarParameter() to the method name setting them

+  void SetVarParameter (const char* parameter, const char* method);
+  char* GetVarParameter (const char* methodName);

+  std::map< std::string, std::string > myMethod2VarParams; // variable parameters
+
+ public:
+  // Methods for backward compatibility of notebook variables
+  virtual void setOldParameters (const char* theParameters);
+  virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const { return ""; }
+  virtual int getParamIndex(const TCollection_AsciiString& method, int nbVars) const { return -1; }
 };

 // ======================================================
2012-03-07 14:58:06 +00:00
eap
f5efe8066b 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Store names of variables set via UpdateParameters() in myLastParameters field

-  void UpdateParameters(CORBA::Object_ptr theObject, const char* theParameters);
+  void UpdateParameters(/*CORBA::Object_ptr theObject,*/ const char* theParameters);

+  const std::vector< std::string >& GetLastParameters() const { return myLastParameters; }
+  std::vector< std::string >                               myLastParameters;
2012-03-07 14:52:53 +00:00
eap
27624ded2e 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Insert names of variables set via SMESH_Gen_i::UpdateParameters()
  into dump strings using TVar structure
2012-03-07 14:50:05 +00:00
eap
b32aba1501 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
Create new _pyHypothesis'es by reading their data from resource files
  of plugins using _pyHypothesisReader
2012-03-07 14:44:20 +00:00
eap
8b1e8414fb 0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
+class _pyHypothesisReader: public Standard_Transient
2012-03-07 14:42:06 +00:00
rnv
e30138815a Forbid renaming of the objects "in place" by default. 2012-03-07 11:40:47 +00:00
rnv
1ce1163823 Win32 compilation. 2012-02-29 12:02:54 +00:00
gdd
607f25cad1 Add support of internal vertices for BLSURF 2012-02-28 15:50:48 +00:00
eap
4bbc91256d load mesh from study before Compute and PreCompute 2012-02-28 14:06:58 +00:00
rnv
a973225eef Fix compilation on win32 platform. 2012-02-28 14:00:22 +00:00
eap
ce9cd12e09 fix CoincidentElements::IsSatisfy() for polyhedrons 2012-02-28 13:32:04 +00:00
eap
7468bfdc0b 0021375: EDF 1671 SMESH: Dump study of current state
Do not erase commands of hyps not used to compute mesh
2012-02-28 07:47:56 +00:00
gdd
08a6d91f97 Changed "Display settings" to "Properties" 2012-02-27 12:49:43 +00:00
gdd
e16988d581 Update the "Colors / Size" dialog. 2012-02-27 11:09:21 +00:00
gdd
a2b5a4c6cc rnc: added missing translations 2012-02-27 09:56:00 +00:00
eap
1c9e778a7c 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
+    ## Loads mesh from the study after opening the study
+    def Load(self):
2012-02-27 09:15:43 +00:00
eap
4986d0a274 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
Do not forget imported mesh on hypotheses modification
2012-02-24 11:49:16 +00:00
eap
582347efc7 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
addPreference( tr( "PREF_FORGET_MESH_AT_HYP_MODIF" ), loadGroup, LightApp_Preferences::Bool,
2012-02-24 10:55:52 +00:00
eap
d2218320ff 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh 2012-02-24 10:55:12 +00:00
eap
626f2aee7a 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
don't call GetTypes() of GroupOnFilter that can be very long
2012-02-24 10:52:50 +00:00
eap
154564a672 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
move actual mesh loading to SMESH_PreMeshInfo
2012-02-24 10:51:22 +00:00
eap
11bf8d1e4d 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
+  bool ToForgetMeshDataOnHypModif() const { return myToForgetMeshDataOnHypModif; }
2012-02-24 10:50:28 +00:00
eap
6bf9c4aeaf 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
+  virtual bool IsMeshInfoCorrect();
2012-02-24 10:49:36 +00:00
eap
9b54dd0f44 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
reimplement after making all member fields of SMESH_subMesh_i private
2012-02-24 10:49:18 +00:00
eap
f2e2182b74 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
+  CORBA::Boolean IsLoaded()
+  void Load()
+  virtual bool IsMeshInfoCorrect();

+  SMESH_PreMeshInfo* _preMeshInfo; // mesh info before full loading from study file
2012-02-24 10:47:20 +00:00
eap
53b7f3b9bb 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
+  virtual bool IsMeshInfoCorrect();

+  SMESH_PreMeshInfo* _preMeshInfo; // mesh info before full loading from study file
2012-02-24 10:46:31 +00:00
eap
c978123512 untabify 2012-02-24 10:43:27 +00:00
eap
6c858efd41 rename treshold -> threshold 2012-02-24 10:42:57 +00:00
eap
feb9a2ff2e 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
+	SMESH_PreMeshInfo.hxx \
2012-02-24 10:42:10 +00:00
eap
656d6656d4 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
rename private methods to start from lower-case letters

+  void Load();
2012-02-24 10:39:58 +00:00
eap
d5a3c3b28a 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
rename private methods to start from lower-case letters

  enum compute_event {
+     SUBMESH_LOADED

+  void loadDependentMeshes();
2012-02-24 10:38:22 +00:00
eap
d8cd2598fc 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
add a note on usage of mySubMeshes while mesh loading
2012-02-24 10:33:21 +00:00
eap
abb0ef62f4 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
+  bool IsUpToDate() const;
2012-02-24 10:30:58 +00:00
eap
709188eac6 0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
protected:
+  inline void setNb(const SMDSAbs_EntityType geomType, const int nb);
2012-02-24 10:29:41 +00:00
ana
4d706076ff Fix for the bug IPAL22857: "Find element by point problems" 2012-02-20 14:25:20 +00:00
rnv
cfddf61e77 Fix for the "0020314: EDF 993 SMESH : Display bug with Volumes created by GHS3D" issue (problem with displaying coincident 3D elements). 2012-02-20 12:21:17 +00:00
eap
7c156331ce 0021375: EDF 1671 SMESH: Dump study of current state
Keep hyp parameters modifications done after mesh.Comput()
2012-02-20 06:59:35 +00:00
eap
d632c0f379 0021375: EDF 1671 SMESH: Dump study of current state
Fix non-historical treating of hypo methods setting different parameters via one method
    by passing parameter names like e.g. SetOption("size", "0.2") -
    mangle method name by appending a 1st textual arg
2012-02-17 15:59:58 +00:00
gdd
4ad6a5b19b Replace Descret by Discrete in variable and method names. 2012-02-17 14:30:02 +00:00
rnv
58a5f9cfd1 Change range of the Width spinbox: [0,5] -> [1,5] 2012-02-17 11:24:13 +00:00
ana
e911ec9c1f 021374: EDF 1898 SMESH: Extrusion of a node to have an edge
and win32 compatibility ( replace isblank() -> isspace() )
2012-02-16 14:52:20 +00:00
ana
e1a3f42b5c 021374: EDF 1898 SMESH: Extrusion of a node to have an edge 2012-02-16 14:48:49 +00:00
ana
b4926d3ebf 021374: Extrusion of a node to have an edge
minor change
2012-02-16 14:46:03 +00:00
ana
5d4ed5201b Implementation of the "0021374: EDF 1898 SMESH: Extrusion of a node to have an edge" issue. 2012-02-15 14:30:42 +00:00
gdd
af3910d143 Initialisation of private variable. 2012-02-15 13:07:11 +00:00
gdd
01df28d291 Add missing French translations 2012-02-15 12:41:51 +00:00
eap
4f4088e813 0021374: EDF 1898 SMESH: Extrusion of a node to have an edge
Add accessor methods to all commands of the hypothesis
2012-02-15 11:16:59 +00:00
rnv
ed191931f2 Implementation of the "21046: EDF 1610 GUI: To be able to change the width of the lines" issue. 2012-02-14 12:08:05 +00:00
eap
b0aa026c95 0021494: EDF 2118 SMESH: Projection2D hypothesis causes Unknown Exception
enhance checkParams() to allow 1 pair of vertices only for a face with 1 vertex
2012-02-14 11:35:04 +00:00
eap
c1cd01ddc8 0021494: EDF 2118 SMESH: Projection2D hypothesis causes Unknown Exception
Allow 1 pair of vertices for a face with 1 vertex
2012-02-14 11:33:38 +00:00
eap
64dc48191e 0021374]: EDF 1898 SMESH: Extrusion of a node to have an edge
Don't ExtrusionFlags
2012-02-13 17:52:48 +00:00
ana
a0e4f31fde Implementation of the "0021374: EDF 1898 SMESH: Extrusion of a node to have an edge" issue. 2012-02-13 16:18:53 +00:00
vsr
f39558c4e3 Fix compilation error on Windows 2012-02-13 07:53:42 +00:00
eap
b1f48b44b7 0021375: EDF 1671 SMESH: Dump study of current state
correctly treat a false algorithm created by _pyMesh::Flush()
2012-02-09 16:42:07 +00:00
eap
0dad6db093 0021491: EDF 2094 SMESH: Error in the filters dump with "belong to GEOM " criterion
fix threshold setting
2012-02-09 16:24:01 +00:00
eap
2b3a86e7ca 0021490: EDF 2114: RadialQuadrangle fails
Fix correspondence between LinEdge1 and LinEdge2 and P1 and P2
2012-02-09 14:50:10 +00:00
eap
ebc415d946 0021375: EDF 1671 SMESH: Dump study of current state
+    def SetDumpPythonHistorical(self, isHistorical):
2012-02-09 13:18:11 +00:00
eap
4620909a6d 0021375: EDF 1671 SMESH: Dump study of current state
ConvertScript(const TCollection_AsciiString&            theScript,
                 Resource_DataMapOfAsciiStringAsciiString& theEntry2AccessorMethod,
                 Resource_DataMapOfAsciiStringAsciiString& theObjectNames,
+                SALOMEDS::Study_ptr&                      theStudy,
+                const bool                                theHistoricalDump);
2012-02-09 13:17:49 +00:00
eap
2978b5432c 0021375: EDF 1671 SMESH: Dump study of current state
+  virtual void  SetOption(const char*, const char*);
+  virtual char* GetOption(const char*);
+  bool                                                     myIsHistoricalPythonDump;
2012-02-09 13:17:21 +00:00
eap
f6cd6404d7 0021375: EDF 1671 SMESH: Dump study of current state 2012-02-09 13:16:35 +00:00
eap
693476070c 0021375: EDF 1671 SMESH: Dump study of current state
add "historical_python_dump" preference
2012-02-09 13:13:29 +00:00
eap
785e19b0ca 0021375: EDF 1671 SMESH: Dump study of current state
avoid crash at deletion of SMESH_subMesh::myOwnListeners at mesh removal

-  std::list< std::pair< SMESH_subMesh*, EventListener* > > myOwnListeners;
+  struct OwnListenerData {
+    ...
+  };
+  std::list< OwnListenerData > myOwnListeners;
2012-02-09 13:11:58 +00:00
eap
14e44c7736 0021375: EDF 1671 SMESH: Dump study of current state
+  bool MeshExists( int meshId ) const;
     used to avoid crash at deletion of SMESH_subMesh::myOwnListeners
     at mesh removal
2012-02-09 13:10:52 +00:00
eap
e830e055d0 0021489: EDF 2096: Regression in Prism algorithm between 6.3.1 and 6.4.0
fix after changed behaviour of LoadNodeColumns()

-        bool isForward = ( edgeIt->Orientation() == TopAbs_FORWARD );
+        bool isForward =
+          StdMeshers_PrismAsBlock::IsForwardEdge( myHelper->GetMeshDS(),
+                                                  myParam2ColumnMaps[iE],
+                                                  *edgeIt, SMESH_Block::ID_Fx0z );
2012-02-09 12:31:36 +00:00
eap
7a57f9da6e 0021489: EDF 2096: Regression in Prism algorithm between 6.3.1 and 6.4.0
fix LoadNodeColumns()
2012-02-09 12:30:06 +00:00
prascle
fda2d7b99e PR: flat elements on 2D meshes 2012-02-02 17:06:56 +00:00
rnv
24df7fa1ab win32 compilation of the Mesh module. 2012-02-01 12:31:41 +00:00
eap
e05243759a 0021338: EDF 1926 SMESH: New controls and filters
Update controlMode()
2012-01-30 09:49:32 +00:00
eap
f0f28bd92d 0021338: EDF 1926 SMESH: New controls and filters
Add "Double nodes tolerance" preference
2012-01-27 10:41:48 +00:00
eap
c6edb52c8e 0021338: EDF 1926 SMESH: New controls and filters
get Tolerance for "Double nodes" from Preferences
2012-01-27 10:41:12 +00:00
eap
c1e553583f 0021338: EDF 1926 SMESH: New controls and filters
+    FT_EqualNodes,
+    FT_EqualEdges,
+    FT_EqualFaces,
+    FT_EqualVolumes,
2012-01-26 16:04:00 +00:00
eap
8931be9b66 0021338: EDF 1926 SMESH: New controls and filters 2012-01-26 16:03:40 +00:00
eap
601f8a87b5 0021338: EDF 1926 SMESH: New controls and filters
Return all nodes from sub-mesh and group
2012-01-26 16:02:10 +00:00
eap
98460fb0dc 0021338: EDF 1926 SMESH: New controls and filters
+  class SMESH_I_EXPORT EqualNodes_i: public virtual POA_SMESH::EqualNodes,
+  class SMESH_I_EXPORT EqualEdges_i: public virtual POA_SMESH::EqualEdges,
+  class SMESH_I_EXPORT EqualFaces_i: public virtual POA_SMESH::EqualFaces,
2012-01-26 15:58:58 +00:00
eap
da61389f82 0021338: EDF 1926 SMESH: New controls and filters
Correctly set mesh modified at transformations
2012-01-26 15:57:56 +00:00
eap
e65e4d9a03 0021338: EDF 1926 SMESH: New controls and filters
+    /*!
+     * \brief Class used to detect mesh modification: IsMeshModified() returns
+     * true if a mesh has changed since last calling IsMeshModified()
+     */
+    class SMESHCONTROLS_EXPORT TMeshModifTracer
2012-01-26 15:56:22 +00:00
eap
2d179048e3 0021338: EDF 1926 SMESH: New controls and filters
Call myPredicate->SetMesh( GetMesh() ) in order to let him update
   his data according to a changed mesh
2012-01-26 15:32:57 +00:00
eap
61915a66ed Fix removal of free nodes 2012-01-26 11:24:22 +00:00
eap
b4e2459e13 Fix RemoveOrphanNodes() to return valid nb of removed nodes 2012-01-26 11:06:16 +00:00
eap
a7d76b7825 0021484: EDF 2087 SMESH: Problem projection
fix search of initial vertex association for group of FACEs

+  TopoDS_Shape getOuterEdge( const TopoDS_Shape theShape1, SMESH_Mesh& mesh )

-  static bool IsBoundaryEdge(const TopoDS_Edge&  edge,
-                             const TopoDS_Shape& edgeContainer,
-                             SMESH_Mesh&         mesh);
+  static TopoDS_Edge GetBoundaryEdge(const TopoDS_Shape& edgeContainer,
+                                     const SMESH_Mesh&   mesh);
2012-01-25 12:19:58 +00:00
eap
cbd52f6644 0021484: EDF 2087 SMESH: Problem projection
-  static bool IsBoundaryEdge(const TopoDS_Edge&  edge,
-                             const TopoDS_Shape& edgeContainer,
-                             SMESH_Mesh&         mesh);
+  static TopoDS_Edge GetBoundaryEdge(const TopoDS_Shape& edgeContainer,
+                                     const SMESH_Mesh&   mesh);
2012-01-25 12:18:02 +00:00
eap
40a14effec 0021484: EDF 2087 SMESH: Problem projection
Check orientation of faces after simple cases of projection as well
2012-01-25 07:37:32 +00:00
vsr
8ed51b18ba 0021481: [CEA 538] autoconf and med 3 2012-01-24 14:59:27 +00:00
eap
1ef48564e5 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In ~TPreviewMesh(), nullify _myMeshDS after destruction
2012-01-24 13:01:34 +00:00
eap
6a0dd162a9 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In RemoveMesh(), do not erase an iterator pointing to map.end()
2012-01-24 13:00:47 +00:00
eap
fe663d61f6 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In destructor, delete all data and delete mesh DS in a thread
2012-01-24 12:59:44 +00:00
eap
fe75082f74 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
in CreateMesh(), fix storing a new mesh in aStudyContext:

-  aStudyContext->mapMesh[_localId] = aMesh;
+  aStudyContext->mapMesh[_localId-1] = aMesh;
2012-01-24 12:58:12 +00:00
eap
b35e752a84 0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
+	$(BOOST_LIB_THREAD)  \
2012-01-24 12:57:05 +00:00
eap
b630c0858f 0021338: EDF 1926 SMESH: New controls and filters 2012-01-24 06:41:04 +00:00
eap
12c12edac4 0021338: EDF 1926 SMESH: New controls and filters
-typedef pair< const SMDS_MeshNode*, const SMDS_MeshNode* >   NLink;
+typedef std::pair< const SMDS_MeshNode*, const SMDS_MeshNode* >   NLink;
2012-01-23 16:15:27 +00:00
eap
8e8c7bd49e 0021338: EDF 1926 SMESH: New controls and filters 2012-01-23 16:15:07 +00:00
eap
ffb69e815c 0021338: EDF 1926 SMESH: New controls and filters
+          case 6028:
+            aControl = SMESH_Actor::eCoincidentNodes;
+            break;
+          case 6029:
+            aControl = SMESH_Actor::eCoincidentElems1D;
+            break;
+          case 6030:
+            aControl = SMESH_Actor:: eCoincidentElems2D;
+            break;
+          case 6031:
+            aControl = SMESH_Actor::eCoincidentElems3D;
2012-01-23 16:15:00 +00:00
eap
a286422371 0021338: EDF 1926 SMESH: New controls and filters
+	-I$(srcdir)/../SMESHUtils
2012-01-23 16:14:27 +00:00
eap
0d35811cbb 0021338: EDF 1926 SMESH: New controls and filters
in SMESH_SubMeshObj::UpdateFunctor() set a part of mesh to eCoincident* functors
2012-01-23 16:13:53 +00:00
eap
c573d1fae4 0021338: EDF 1926 SMESH: New controls and filters
+   eCoincidentNodes, eCoincidentElems1D, eCoincidentElems2D, eCoincidentElems3D };
2012-01-23 16:12:32 +00:00
eap
3ce7e67ad8 0021338: EDF 1926 SMESH: New controls and filters
+    class SMESHCONTROLS_EXPORT CoincidentElements: public Predicate {
+    class SMESHCONTROLS_EXPORT CoincidentNodes: public Predicate {
2012-01-23 16:10:55 +00:00
eap
5b637a30b4 0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
Read/write CS and units. Use vector instead of map as TDataSet
2012-01-23 08:02:02 +00:00
eap
83219fd4b2 0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files
+  inline std::string read_line(std::ifstream& in_stream, const bool next=true)
2012-01-23 08:00:37 +00:00
eap
1b141b0cb9 0021198: EDF 1548 GEOM: Writing of coordinates system into exported UNV files 2012-01-23 08:00:05 +00:00
eap
6a9e9ab497 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix GetMediumPos() to return EDGE instead of FACE for 2 VERTEXes
2012-01-18 12:42:06 +00:00
eap
fbae18cd7f Add "const char* name" argument to consrtucctor of SMESH_subMeshEventListener 2012-01-18 12:07:14 +00:00
eap
8a81427a0c 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix GetOrderedNodes() to work if not all edges are meshed
2012-01-18 12:02:44 +00:00
eap
4f5cf5faab 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
fix merging new and old nodes in case if not all edges are meshed
2012-01-18 12:01:40 +00:00
eap
025e264849 0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
1)
+  struct EventProparatorToEdges : public SMESH_subMeshEventListener
2)
+  struct UnsetterOfEventProparatorToEdges
3)
+    // check that all nodes are shared by faces generated on F
2012-01-18 12:00:29 +00:00
eap
5c991bb2b7 0021468: EDF 2073 SMESH: Body-fitting algo creates elements in hole 2012-01-17 13:17:19 +00:00
ana
2633709b28 Fix for the bug IPAL22854: preview is wrong for Create a new mesh 2012-01-16 15:14:07 +00:00
eap
fcf879a78b 0021469: EDF 2074 SMESH: Body fitting algo leads to crash of salome
fix RemoveExcessIntPoints()
2012-01-16 13:53:29 +00:00
ana
253807f5b3 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 15:11:09 +00:00
ana
2bcd50a8b6 Fix for the bug IPAL22851: Sub-shapes spelling 2012-01-13 14:51:43 +00:00
jfa
53a497b9c8 Mantis issue 0021455: [CEA] internal test fails. 2012-01-13 11:18:46 +00:00
eap
3cdf7352b9 0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with NameError exception
1) In _pyMesh::Process(), move submesh creation from the script end
      to the place before its removal
   2) In _pyMesh::Flush(), add indentation to a generated command creating algorithm
2012-01-11 14:14:58 +00:00
eap
17b10b2960 cosmetic changes 2012-01-11 14:11:39 +00:00
eap
9a55aad5ba 0021439: EDF 2004 GEOM, SMESH: Dump of study gives bad geom group and stops with NameError exception
fix _pyGen::FindObject() to restore the lost wrapping of hyp creation
2012-01-11 09:50:28 +00:00
eap
98921cf0d1 0021330: EDF 1919 SMESH: Convert to quadratic gives wrong elements
fix convertElemToQuadratic()
2012-01-11 08:43:41 +00:00
eap
bfb3c2e489 0021270: EDF 1870 SMESH: ExtrusionAlongPathObjX + Merge nodes remove 3D elements
in MergeNodes(), fix detection of replaced nodes of an elem
2012-01-11 08:15:48 +00:00
gdd
dc0cbc90ec Rename "Delete Groups" into "Delete Groups with Contents" 2012-01-10 14:55:02 +00:00
eap
e8b482055b 0021457: [CEA] import check_mesh stability
in Transform(), reverse elements only if needed
2012-01-10 14:36:48 +00:00
jfa
5acab3d327 Porting to OCCT development version: Standard_PI -> M_PI 2011-12-26 13:07:08 +00:00
eap
ee7c5d0f83 fix the previous integration 2011-12-16 17:13:39 +00:00
eap
933c23d9cb not to dump GetMeshOrder() 2011-12-16 16:16:27 +00:00
eap
5638e6783f 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+ prepare to 0021439: Dump of study gives bad geom group and stops with NameError exception
2011-12-16 16:14:25 +00:00
eap
faf45035fc 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
2011-12-16 09:34:33 +00:00
eap
5b191ae5dd 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+    def NbBiQuadQuadrangles(self):
+    def NbTriQuadraticHexas(self):
+    def NbHexagonalPrisms(self):
2011-12-16 09:32:19 +00:00
eap
209f475f91 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+  CORBA::Long NbBiQuadQuadrangles()
+  CORBA::Long NbTriQuadraticHexas()
+  CORBA::Long NbHexagonalPrisms()
2011-12-16 09:31:47 +00:00
eap
32a63e97ee 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

In CopyMesh(), copy free nodes as well
2011-12-16 09:30:53 +00:00
eap
41b91cf1c6 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

-#include "SMDS_VolumeTool.hxx"
2011-12-16 09:30:05 +00:00
eap
11f855c30a 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

print driver messages in debug mode only
2011-12-16 09:29:06 +00:00
eap
14a1f50419 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

Do not write poly elements as standard ones
2011-12-16 09:26:40 +00:00
eap
fd5de6779a 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

fix AddPolygonalFace()
2011-12-16 09:22:06 +00:00
eap
032bca98c2 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
Update
  AddElement()
  QuadToTri()
  SplitVolumesIntoTetra ()
  RotationSweep()
  ExtrusionSweep()
  Transform()
  ConvertToQuadratic()
  Make2DMeshFrom3D()
  MakeBoundaryMesh()
2011-12-16 09:21:35 +00:00
eap
da68d59ab6 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+  int NbBiQuadQuadrangles() const throw(SALOME_Exception);
+  int NbTriQuadraticHexas() const throw(SALOME_Exception);
+  int NbHexagonalPrisms() const throw(SALOME_Exception);
2011-12-16 09:14:54 +00:00
eap
2380f80cd3 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
2011-12-16 09:14:18 +00:00
eap
7155478a3e 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27
+ optimization
2011-12-16 09:13:11 +00:00
eap
6770f103af 0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OCTA12)
0021380: EDF 1937 SMESH: Take into account QUAD9 and HEXA27

+ optimization and simplification
2011-12-16 09:11:16 +00:00