Commit Graph

1693 Commits

Author SHA1 Message Date
eap
9586144b53 + EventListenerData* GetEventListenerData(const std::string& listenerName) const; 2012-09-24 11:25:47 +00:00
eap
587ed40d42 Enable Transform() of 0D elements 2012-09-24 11:24:09 +00:00
eap
b59ca5c972 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  SMESH_ComputeErrorPtr GMFToMesh(const char* theFileName);
+  void ExportGMF(const char * file, const SMESHDS_Mesh* mesh);
2012-09-24 11:20:01 +00:00
eap
cc048fe72d Remove this from StudyContextStruct at destructor 2012-09-24 11:19:01 +00:00
eap
2974c0b8ab 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
when setting myName, call myGroupDS->SetStoreName( myName )
2012-09-24 11:17:56 +00:00
eap
dce6fb4fd7 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	-I$(srcdir)/../DriverGMF \
2012-09-24 11:16:52 +00:00
eap
53d6a3426f typo:
-  void   GetXYZ(double xyx
+  void   GetXYZ(double xyz
2012-09-24 11:16:31 +00:00
eap
fe1dc15cf1 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	-I$(srcdir)/../SMESHUtils \
2012-09-24 11:15:30 +00:00
eap
663bff2184 HEXA_27021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	-I$(srcdir)/../SMESHUtils \
2012-09-24 11:15:17 +00:00
eap
d9d9b36627 HEXA_27021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format) 2012-09-24 11:15:01 +00:00
eap
765ce25ce9 fix interlace array of HEXA_27 2012-09-24 11:14:08 +00:00
eap
553185b191 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+  virtual void        SetOption(const std::string& optionName,
+                                const std::string& optionValue) {}
+  virtual SMESH_ComputeErrorPtr GetError();
2012-09-24 11:13:16 +00:00
eap
673b8a1d41 021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
+	DriverGMF \
2012-09-24 11:12:27 +00:00
ana
3dfa809507 Win32 compatibility 2012-09-20 08:06:33 +00:00
eap
0798335da8 def GetMeshEditor(self):
-        return self.mesh.GetMeshEditor()
+        return self.editor
2012-09-17 10:23:15 +00:00
eap
ff7d2479be 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+   * \brief Returns description of an error/warning occured during the last operation
+   */
+  SMESH::ComputeError* GetLastError();
2012-09-17 10:22:42 +00:00
eap
c651365140 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
extract SMESH_MeshPartDS.hxx from SMESH_MeshEditor_i.cxx
2012-09-17 10:22:02 +00:00
eap
a1a7402321 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+  // Errors of SMESH_MeshEditor follow
+  EDITERR_NO_MEDIUM_ON_GEOM= -101 /* during conversion to quadratic,
+                                     some medium nodes not placed on geometry
+                                     to avoid distorting elements, which are
+                                     stored in SMESH_ComputeError::myBadElements */
2012-09-17 10:20:50 +00:00
eap
bf2593a237 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Show elements whose medium nodes were not placed on geometry
2012-09-17 10:20:24 +00:00
eap
6adaa05a56 + prop->Delete(); 2012-09-17 10:18:47 +00:00
eap
2077709da4 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
+  void force3DOutOfBoundary( SMESH_MesherHelper&    theHelper,
+                             SMESH_ComputeErrorPtr& theError)
2012-09-17 10:18:28 +00:00
eap
12c889c3f6 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
Returns description of an error/warning occured during the last mesh edition
2012-09-17 10:18:07 +00:00
eap
3a58968846 0020982: EDF 1547 SMESH: Creation of non-conformal quadratic pyramids
double MaxLinearSize2() const;
  // Return maximal square distance between connected corner nodes
2012-09-17 10:16:21 +00:00
eap
55d54bc7f0 decrease the low bound of Threshold 2012-09-14 13:14:35 +00:00
eap
5e940de5e3 0021821: EDF 2356 SMESH: Wrong GHS3D mesh with Viscous Layer hypothesis
Log node movement not only in DEBUG mode
2012-09-13 12:25:09 +00:00
eap
7a940415de 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Improve GetAlgo()
2012-09-11 13:20:29 +00:00
eap
118122435c 0021845: EDF 1855 SMESH : A no-regression test fails on RadialQuadrangle meshing
+  static TopAbs_ShapeEnum GetGroupType(const TopoDS_Shape& group,
+                                       const bool          avoidCompound=false);
2012-09-11 09:24:59 +00:00
eap
68b41560cb 0021845: EDF 1855 SMESH : A no-regression test fails on RadialQuadrangle meshing
1) fix getAlgoData()
2) correct detection of concurrent algos in GetAlgo()
2012-09-11 09:24:28 +00:00
eap
8d6f13f41e 0021821: EDF 2356 SMESH: Wrong GHS3D mesh with Viscous Layer hypothesis
Fix smoothAnalyticEdge() for a circle
2012-09-11 07:53:33 +00:00
prascle
34976cf1e1 PR: bug EDF 2300 2012-09-10 07:04:02 +00:00
prascle
61bc7f8f5f PR: correction bug EDF 2299. 2012-09-08 14:40:53 +00:00
eap
db07298a81 Call a not published shape to mesh by name of the mesh if provided 2012-09-07 14:12:35 +00:00
eap
98ad123d21 0021843: [CEA 658] Segmentation fault when using GHS3D on a 2D group
correct fillAncestorsMap() not to miss COMPOUNDs inside a COMPOUND
2012-09-07 08:00:48 +00:00
eap
f8658faa90 0021843: [CEA 658] Segmentation fault when using GHS3D on a 2D group
Avoid "1D global algo is missing" error if it's not really missing
2012-09-07 07:58:38 +00:00
eap
ab9945d2b0 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Return newly detected concurrent sub-meshes in the order they are
  computed w/o imposed order of sub-meshes
2012-09-06 14:13:38 +00:00
eap
a438b8cfa9 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Use SMESH_Gen::GetPluginXMLPaths()
2012-09-06 14:08:48 +00:00
eap
314c0d0977 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
Use LDOMParser

+  -lTKCDF
2012-09-06 14:08:01 +00:00
eap
7f64a1c94a 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
1) +  static std::vector< std::string > GetPluginXMLPaths();
2) In GetAlgo(), choose a concurrent 2D algorithm whose output is
suitable to both different 3D algos on SOLIDs
2012-09-06 14:07:24 +00:00
eap
b2a682e314 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
+  static std::vector< std::string > GetPluginXMLPaths();
2012-09-06 13:50:41 +00:00
eap
2a7bf64d23 0021559: EDF 2175 SMESH: Hexa/Tetra mixed meshes
+  // return true if given order of sub-meshes is OK
+  bool IsOrderOK( const SMESH_subMesh* smBefore,
+                  const SMESH_subMesh* smAfter ) const;
2012-09-06 13:49:43 +00:00
prascle
4cde840048 PR: correction bug EDF 2299. 2012-09-06 13:27:46 +00:00
rnv
97220d5bca Win32 compilation. 2012-09-05 14:31:04 +00:00
vsr
cd4ec3d9f2 As OCCT issue 0022809 has been fixed, remove temporary workaround in the Cartesian 3d algorithm 2012-09-05 09:23:09 +00:00
eap
daf44dd2d8 0021826: EDF 2367 SMESH : Hexaedron failure
fix the prev integration
2012-09-04 14:42:17 +00:00
prascle
80cf9ab761 PR: tools for crack meshing : when building pyramids on complex shapes, orientation detection is difficult (concavities) and can be helped if a group of faces correctly oriented is provided. (check the presence of a group named "skinFaces") 2012-09-04 14:06:32 +00:00
prascle
16fcf4dea0 PR: tools for crack meshing : when importing a mesh, use a tolerance relative to the edge size. 2012-09-04 14:00:14 +00:00
prascle
1f2c6e16a4 PR: tools for crack meshing 2012-09-04 13:58:46 +00:00
prascle
fc3530a171 PR: tools for crack meshing : take into account surfaces detected as only GeomAbs_C0 but still OK for meshing 2012-09-04 13:57:12 +00:00
prascle
7446d65dcb PR: tools for crack meshing : detection of elements affected by node duplication, identification of elements near a geom shape, to create a hole, creation of the skin of the future hole 2012-09-04 13:54:50 +00:00
eap
85e85bc449 0021826: EDF 2367 SMESH : Hexaedron failure
fix errors of GCPnts_UniformAbscissa
2012-09-04 13:40:43 +00:00
eap
d45ee63be8 0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
1) Add to Init() a flag controlling the state of "Insert filter in viewer"
   2) Fix setting a selection mode
2012-09-03 08:30:23 +00:00
eap
8f1d6d923f 0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
Add to Init() a flag controlling the state of "Insert filter in viewer"
2012-09-03 08:29:24 +00:00
eap
8203a3d57e 0020833: EDF 1361 SMESH : Graphical Selection of the boundary faces in one clic
Change behavior of CoplanarFaces: normals of neighboring faces
   are compared and not that of the selected face and candidate faces
2012-09-03 08:26:53 +00:00
eap
3f3fd308b1 improve readability a bit 2012-09-03 08:13:28 +00:00
eap
eb0c3c26e7 Salome Forum http://www.salome-platform.org/forum/forum_10/350978231
Move restoring SMESH_Mesh::_isModified from SMESH_Gen_i to SMESH_PreMeshInfo
2012-09-03 08:12:37 +00:00
eap
9e81eb1e25 Salome Forum http://www.salome-platform.org/forum/forum_10/350978231
Clear AddHypothesis(geom,hyp) command when RemoveHypothesis(geom,hyp)
encounters iff both geom and hyp are same
2012-09-03 08:00:12 +00:00
eap
a297fa5cdd 0021823: [CEA 649] Compute failed without any errors
Fix reporting a warning if no elements are assigned to a sub-shape
2012-08-31 12:08:42 +00:00
eap
3cff0381cc 0021823: [CEA 649] Compute failed without any errors
bool checkComputeError(SMESH_Algo*         theAlgo,
+                         const bool          theComputeOK,
                          const TopoDS_Shape& theShape=TopoDS_Shape());
2012-08-31 12:07:45 +00:00
eap
9e5d5fd0d5 0021825: Error in the example of "Projection Algorithms" in the user's guide
check if MakeComputed() is really OK
2012-08-31 12:04:11 +00:00
eap
02c33dab50 0021825: Error in the example of "Projection Algorithms" in the user's guide
In MakeComputed(), check if gen->Compute() is really OK
2012-08-31 12:03:32 +00:00
vsr
5aee18a1d4 0020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
(Fix problem with Object browser updating)
- Revert fix made for issue "0021515: EDF 2169 SMESH: groups not in OB" - it is no more required since actual problem is solved by fix for issue 0020749.
2012-08-30 13:57:33 +00:00
eap
b992383e2a 0021825: Error in the example of "Projection Algorithms" in the user's guide
update to reflect introduction of StdMeshers_ShapeShapeBiDirectionMap
  instead of TopTools_DataMapOfShapeShape
2012-08-30 10:26:51 +00:00
eap
ff33a26505 0021823: [CEA 649] Compute failed without any errors
report a warning if no elements are assigned to a sub-shape
2012-08-30 07:50:03 +00:00
eap
1cd00806c9 0021823: [CEA 649] Compute failed without any errors
+    COMPERR_NO_MESH_ON_SHAPE // no mesh elements assigned to sub-mesh
2012-08-30 07:43:07 +00:00
eap
935b0458ec untabify 2012-08-30 07:42:51 +00:00
eap
d370090d41 0021823: [CEA 649] Compute failed without any errors
+        <source>COMPERR_NO_MESH_ON_SHAPE</source>
+        <translation>No mesh elements assigned to a Sub-shape</translation>
2012-08-30 07:42:34 +00:00
eap
1a1cf7152f 0021823: [CEA 649] Compute failed without any errors
report a warning if no elements are assigned to a sub-shape
2012-08-30 07:42:09 +00:00
eap
9230b68a8f -#include "SMESH_*D_Algo.hxx"
+#include "SMESH_Algo.hxx"
2012-08-29 16:45:51 +00:00
eap
d56eabb870 untabify 2012-08-29 16:44:07 +00:00
eap
36df571332 Remove useless files, declarations and implementations of constructors
of classes are moved to SMESH.Algo.*xx

SMESH_*D_Algo.*xx
2012-08-29 16:43:11 +00:00
eap
fb5fc3fc21 Import .dat file
http://www.salome-platform.org/forum/forum_10/504470444

Remove "Import DAT" menu
2012-08-29 09:07:18 +00:00
eap
139a1a65e3 http://www.salome-platform.org/forum/forum_10/984341981
Fix UV of nodes on the FACE
2012-08-28 14:08:33 +00:00
eap
0353127167 0021815: EDF 2347 SMESH : Error when meshing vertices
Enable ceation of nodes on a COMPOUND of VERTEXes
2012-08-27 13:25:36 +00:00
vsr
7881caca4e 0021806: [CEA 637] Wrap error message on Mesh Computation Failed Dialog 2012-08-27 11:51:25 +00:00
eap
0ccce9ef1b improve comments 2012-08-24 13:51:54 +00:00
eap
9a0acdf426 http://www.salome-platform.org/forum/forum_11/800053490
1) Fix orientation of new faces on FACEs shared by SOLIDs
2) Create missing segments
2012-08-24 13:41:12 +00:00
eap
3b4c1aab2b http://www.salome-platform.org/forum/forum_11/800053490
Fix LoadNodeColumns() for a not implemented case of viscous layers
2012-08-24 13:39:50 +00:00
eap
b7aaf5fe0e comment out obsolete methods relating to treatment of notebook variables 2012-08-24 13:33:22 +00:00
eap
868ce5dcae improve comments 2012-08-24 13:32:35 +00:00
eap
cb99a4c0e6 0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis is incomplete
read methods (<accumulative-methods>) that don't
change a value of a meshing parameter but add one more value
2012-08-24 11:47:21 +00:00
eap
b32dca0dad 0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis is incomplete
read and take into account methods (<accumulative-methods>) that don't
change a value of a meshing parameter but add one more value
2012-08-24 11:46:38 +00:00
eap
98b5f502a9 0021811: EDF BLSURFPLUGIN GHS3DPLUGIN: If dump is not historical, dump of hypothesis is incomplete
store methods that don't change a value of a meshing parameter but
add one more value

csll _pyHypothesis
{
...
+  std::set< _AString >          myAccumulativeMethods;
2012-08-24 11:45:41 +00:00
vsr
3c9be5dcb8 Improvement of Python API documentation (SMESH and plugins):
- move base Mesh_Algorithm class to the separate python module
2012-08-24 05:52:39 +00:00
vsr
7ab128efcd Improvement of Python API documentation (SMESH and plugins):
- move base Mesh_Algorithm class to the separate python module
2012-08-24 05:32:18 +00:00
gdd
2b44d5c610 Fix wrong display of preferences in Properties window.
Update doc to add MED_BALL elements.
2012-08-23 13:08:11 +00:00
vsr
b010d641ff Add missing docHelper attributes 2012-08-23 07:35:00 +00:00
vsr
5e2d03fd99 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)
2012-08-22 07:33:58 +00:00
vsr
a4ca8bc3bc 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)
2012-08-22 05:45:47 +00:00
eap
7722c85978 021800: EDF 2346 : Bug in the dump of ExtrusionAlongpathX 2012-08-21 15:50:07 +00:00
eap
733a71000e 0021374: EDF 1898 SMESH: Extrusion of a node to have an edge
Set a filter to select groups and sub-meshes corresponding to a constructor id
2012-08-21 15:26:19 +00:00
eap
9767e4ad3e 0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
set correct type of a new group
2012-08-21 14:26:08 +00:00
eap
ff3bbcc0c9 0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D 2012-08-21 14:14:48 +00:00
eap
110067df8c 0021801: EDF 2143 SMESH: random order of groups returned by ExtrusionSweepObject2D
+  SMESH_Group* AddGroup (SMESHDS_GroupBase* groupDS)
2012-08-21 14:13:23 +00:00
vsr
a22deee34c 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)
2012-08-21 13:49:35 +00:00
vsr
9423cdc0ef 0021308: EDF 1923 SMESH: Remove hard-coded dependency of the external mesh plugins from the SMESH module
* Improve documentation for meshing plug-ins (in particular, dynamically added methods)
2012-08-21 13:15:16 +00:00
eap
a3bc9d737b SALOME Forum: Mesh export to UNV file does not work anymore with Salome 6.5
http://www.salome-platform.org/forum/forum_14/379396441

  Fix format at writting
2012-08-13 14:19:35 +00:00
eap
809c265960 0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new elements into groups
fix a regression in buildElemPrs()
2012-08-13 09:05:13 +00:00
eap
7c8ba54a1a 0021799: EDF 2344 SMESH: Existing groups are not taken into account when adding new elements into groups 2012-08-13 09:03:54 +00:00
gdd
779adc8fa5 Fix crash during preview 2012-08-10 14:01:12 +00:00
eap
beabd65174 0021783: EDF 785 SMESH : Bad display of Groups of Volumes
fix iteration on types of elements
2012-08-08 14:59:54 +00:00