Commit Graph

1138 Commits

Author SHA1 Message Date
eap
b6b8aa7213 fix a misspell in comment 2011-01-31 13:10:15 +00:00
eap
d419c86499 fix indentation 2011-01-31 13:07:39 +00:00
eap
861641c25a 0020973: EDF 1554 GHS3DPLUGIN: Make possible to have a mixed mesh hexa-tetra with GHS3D
enlarge box size of each branch by 1e-10 of root size
2011-01-31 13:07:07 +00:00
vsr
e30e3628ce 0020876: EDF 1246 SMESH: DoubleNodes fonctions available in the GUI
Allow multiple selection of groups as input
2011-01-31 09:26:19 +00:00
eap
17b5f093a6 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis
Fix invalid discretization of EDGEs: in GetCurve3d(), set Closed flag to WIRE wrapped into BRepAdaptor_CompCurve
2011-01-28 17:04:54 +00:00
eap
910eadfc30 fix file header (comments) 2011-01-28 17:01:19 +00:00
gdd
0cdd86443b Add missing include 2011-01-28 16:21:11 +00:00
eap
facae4f797 0021114: EDF 1736 SMESH: Problem with 3D extrusion
decrease tolerance at checking transformation
2011-01-28 13:33:22 +00:00
eap
8b075049f9 0021130: EDF 1746 SMESH: Issue with export in STL format
Import of STL file via GUI has been enabled
2011-01-28 11:19:54 +00:00
eap
ab928f3773 0021123: EDF 1734 SMESH: Bug with propagation hypothesis 2011-01-28 10:29:23 +00:00
eap
50b08dce3d untabify 2011-01-28 10:29:01 +00:00
ana
4be7efd6bd Fix for the bug 0021141: EDF 1758 SMESH: Salome doesn't stop when assigning a composite side discretization hypothesis 2011-01-28 08:38:53 +00:00
eap
20b841039b 0021130: EDF 1746 SMESH: Issue with export in STL format
export any kind of 2D and 3D elements to STL file becomes possible
2011-01-27 16:58:49 +00:00
eap
d0b5d6090a 0021130: EDF 1746 SMESH: Issue with export in STL format
1) write not triangular faces as many triangles
   2) write triangles for missing faces of free facets of volumes
2011-01-27 16:48:44 +00:00
eap
e3409934a4 0021130: EDF 1746 SMESH: Issue with export in STL format
move TNodeXYZ from SMESH_MeshEditor to SMESH_TypeDefs.hxx as SMESH_TNodeXYZ
2011-01-27 16:45:55 +00:00
eap
40b9d1ba43 0021130: EDF 1746 SMESH: Issue with export in STL format
1) move instantiations of templates from separate files to SMESH_TypeDefs.hxx
   2) move frequently used typedefs and small classes from SMESH_MeshEditor to to SMESH_TypeDefs.hxx
2011-01-27 16:44:48 +00:00
vsr
f44e34f568 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Update an anctor when necessary
2011-01-27 14:05:46 +00:00
eap
d976fc7810 0021144: [CEA 441] Problem with projection
+  bool projectBy2DSimilarity()
2011-01-27 13:41:43 +00:00
eap
237e3eaae1 0021144: [CEA 441] Problem with projection
care of degenerated geom EDGEs
2011-01-27 13:41:06 +00:00
eap
b337ba17f3 not initialized value 2011-01-27 13:40:10 +00:00
eap
cbe632e32e unused variable 2011-01-27 13:37:31 +00:00
vsr
20570dd75e 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Fix "bare faces" control problem
2011-01-27 10:14:07 +00:00
vsr
bdebea37d3 0020943: EDF 1463 SMESH: additional fonctionnality to the feature 20749
Add new controls support to the SMESHGUI_Selection
2011-01-27 07:40:19 +00:00
eap
b87176dacc unused variable 2011-01-26 14:09:59 +00:00
eap
6cf8eec182 Clear data structures at Compute() finish 2011-01-26 14:09:38 +00:00
eap
0df1e71b77 For redesigned StdMeshers_Hexa_3D (to work with composed cube edges)
1) Store TopoDS_Face in FaceQuadStruct
2) Make CheckNbEdges() public
2011-01-26 14:08:42 +00:00
eap
9462051381 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Redesign again to work with composed cube edges
2011-01-26 14:06:40 +00:00
eap
812e5de47f 0021134: EDF 1749 GHS3D: GHS3D can't compute the 3D elements from 2D skin elements
Fix SplitVolumesIntoTetra() taking into account changed behavior
    of the complex SMESHDS_SubMesh
2011-01-26 13:40:27 +00:00
eap
98119844c8 0021140: EDF 1759 SMESH: Netgen1D2D fails on subshape
Fix work on edges computed with the Composed Segment discretizer
2011-01-25 14:46:58 +00:00
eap
063408f854 untabify 2011-01-25 14:45:34 +00:00
eap
bc4ff5ff6c remove useless dump of vertices of failed shape 2011-01-25 14:45:01 +00:00
vsr
f36c4b1044 0021151: [CEA] unit test fails
Use int instead long to decrease memory consumption
2011-01-25 11:38:54 +00:00
vsr
029dc689fe 0021151: [CEA] unit test fails
Index of sub-shape might be greater than 32767 (max allowed value for short type)
2011-01-25 11:23:48 +00:00
eap
266561983c +static int MYDEBUGWITHFILES = 0;//1; 2011-01-24 16:56:10 +00:00
eap
ae954579c5 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Assure stability
2011-01-24 09:17:26 +00:00
eap
80ac3613f8 valid IDs count from 1 2011-01-24 09:15:52 +00:00
gdd
b94b5d0b91 Fix a French translation 2011-01-21 16:34:19 +00:00
gdd
eaf8c3a3b1 Update of French translation files 2011-01-21 15:56:03 +00:00
rnv
1758d524e7 Additional changes for the Point 2 of the "20948: EDF 1468 SMESH: Histogram of the quality controls" issue. 2011-01-21 14:01:49 +00:00
vsr
ddc98ff4c0 0021136: EDF 1748 SMESH: SetAutoColor has no effect in a python script 2011-01-21 12:20:52 +00:00
rnv
18e0bef9d9 Implementation of the Point 2 of the 20948: EDF 1468 SMESH: Histogram of the quality controls. 2011-01-20 15:41:36 +00:00
gdd
9ae572587c Add new method DoubleNodeElemGroupsNew which allows to have the group of newly created elements. 2011-01-18 14:45:18 +00:00
gdd
44f80071d1 Add missing include 2011-01-18 13:02:45 +00:00
eap
c6a711c175 fix SetPosition() 2011-01-18 12:54:18 +00:00
eap
61149a4aee 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers_i.hxx
2011-01-18 12:21:27 +00:00
eap
5c3abea39e \ No newline at end of file0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work with StdMeshers_ViscousLayers
2011-01-18 12:20:52 +00:00
eap
b0cd839dd0 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0 );
+  StdMeshersGUI_SubShapeSelectorWdg( QWidget* parent = 0,
+                                     TopAbs_ShapeEnum aSubShType = TopAbs_EDGE );

+  void                           setFilter();
2011-01-18 12:20:13 +00:00
eap
b01dba1ff2 \ No newline at end of file 2011-01-18 12:19:28 +00:00
eap
b2a261da2b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
work after StdMeshers_ViscousLayers
2011-01-18 12:18:56 +00:00
eap
e5bb05c0df 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
2011-01-18 12:17:14 +00:00
eap
bb52dc60e8 monor change 2011-01-18 12:16:37 +00:00
eap
96063cdc0a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Implement Compute() with the viscous layers
2011-01-18 12:16:09 +00:00
eap
e201ae8a2a 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	StdMeshers_ViscousLayers.hxx
2011-01-18 12:15:36 +00:00
eap
44d84c2bb8 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+    def ViscousLayers(self, thickness, numberOfLayers, stretchFactor, ignoreFaces=[]):
2011-01-18 12:15:17 +00:00
eap
daa2cf5397 untabify 2011-01-18 12:14:57 +00:00
eap
f42b1f95af 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+  else if ( aHypType == "ViscousLayers")
+    aHelpFileName = "additional_hypo_page.html#viscous_layers_anchor";
2011-01-18 12:14:41 +00:00
eap
715b3d4689 unused variable 2011-01-18 12:14:25 +00:00
eap
db8973dc5c 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
-  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject) );
+  SMESHGUI_EXPORT GEOM::GEOM_Object_var GetShapeOnMeshOrSubMesh( _PTR(SObject), bool* isMesh=0 );
2011-01-18 12:14:09 +00:00
eap
02201a772d no more memostat() 2011-01-18 12:11:56 +00:00
eap
78d0067647 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
prevent from an infinite recursion via the event listener
2011-01-18 12:11:00 +00:00
eap
4466dfe1ce 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
1) make CheckNodeUV() and CheckNodeU() optionally return XYZ of node
      projection to shape
   2) prevent ancestors iterator from returning duplicates
   3) move IsClosedEdge() to SMESH_MesherHelper from StdMeshers_ProjectionUtils
   4) for hexa 3D
   static bool LoadNodeColumns(TParam2ColumnMap & theParam2ColumnMap,
                               const TopoDS_Face& theFace,
                               const TopoDS_Edge& theBaseEdge,
                               SMESHDS_Mesh*      theMesh,
+                              SMESH_ProxyMesh*   theProxyMesh=0);
2011-01-18 12:09:32 +00:00
eap
121d45ed88 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
make SMESH_ElementSearcher work on a sub-set of elements
2011-01-18 11:03:09 +00:00
eap
c0b03d98ac 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
2011-01-18 11:02:33 +00:00
eap
7b1bae1651 minor change 2011-01-18 11:02:03 +00:00
eap
20cf4f072b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+	SMESH_ProxyMesh.hxx
2011-01-18 11:01:28 +00:00
eap
9d606e4a9b 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
show arrows on EDGE's only
2011-01-18 10:58:51 +00:00
eap
4a3492c3f1 untabify 2011-01-18 10:58:29 +00:00
eap
8b21a624a6 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make some methods virtual to enable inheriting by StdMeshers_ProxyMesh::SubMesh

+virtual ~SMESHDS_SubMesh()
+void RemoveAllSubmeshes()
2011-01-18 10:57:32 +00:00
eap
f409dd5186 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
Make const some requiring methods
2011-01-18 10:55:54 +00:00
eap
6a532d5567 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+ SMDS_IteratorOnIterators.hxx
2011-01-18 10:55:06 +00:00
eap
708dbb145f 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
+  _Self
+  operator++(int)

+  bool
+  operator==(const _Self& __x) const
2011-01-18 10:51:03 +00:00
eap
cbe181b40c untabify 2011-01-18 10:49:35 +00:00
eap
1876773996 remove extra ; 2011-01-18 10:48:28 +00:00
eap
6e58f2fb40 delete node positions at node removal 2011-01-18 10:47:49 +00:00
rnv
0c1947cfe5 Fix for the issue 21127: EDF 1290 SMESH: A user script fails in versions more than 512 2011-01-18 08:46:10 +00:00
gdd
41d66a815f Add default text and style sheet for StdMeshersGUI_ObjectReferenceParamWdg 2011-01-17 10:27:48 +00:00
rnv
96cbac2048 Fix for the 21125: EDF 1233 SMESH: Degrardation of precision in a test case for quadratic conversion. 2011-01-10 15:38:48 +00:00
akl
07808b26b0 Fix of IPAL22187: mesh is updated now after removing of orphan nodes. 2011-01-10 11:43:47 +00:00
vsr
e74edb9fb4 Code refactoring 2010-12-29 13:17:10 +00:00
jfa
301af5256a Mantis issue 0021108: EDF 1668 SMESH: ExtrusionAlongPathX on a Mesh group. 2010-12-29 10:27:23 +00:00
rnv
0b0fc19f70 Fix for the issue 0020885: EDF 607 SMESH: Measure tools
(See Additional Note 10037)
2010-12-28 16:29:23 +00:00
ouv
8e1434e86d 0021105: EDF 1179 SMESH: Efficiency of clipping plane in VTK viewer 2010-12-28 12:27:54 +00:00
inv
fc1ff1af4b Issue 0021106: EDF 1691 SMESH: MEsh.Group(SubShape) fails on Shells 2010-12-24 10:59:30 +00:00
inv
2de294b09a Merge from V6_2_BR 23/12/2010 2010-12-24 08:18:34 +00:00
secher
1f7581fe43 use vtkIdType to be independant of architecture 2010-12-15 10:13:32 +00:00
prascle
2b665e09bb PR: debug imps E3 and E7 2010-12-06 16:59:16 +00:00
jfa
85f3ec887b Allow Show/Hide during other SMESH operations. Mantis issue 0021082. 2010-12-06 14:49:00 +00:00
prascle
7013eafe2d PR: debug split into tetras 2010-12-05 22:57:20 +00:00
prascle
43a4d0b5c1 PR: debug polygons and merge nodes 2010-12-05 19:22:06 +00:00
prascle
5927f96360 PR: bug in compactGrid with polyhedrons 2010-12-04 16:50:15 +00:00
prascle
0d10253e8d PR: compactGrid with polyhedrons 2010-12-04 15:44:40 +00:00
prascle
45ed5d9a93 PR: fix Transform method with orphan nodes 2010-12-01 22:56:36 +00:00
prascle
2e16ca1281 PR: correct some warnings 2010-11-30 22:35:24 +00:00
prascle
8fa039a796 merge from branch BR_SMDS_MEMIMP 29 nov 2010 2010-11-29 13:20:53 +00:00
vsr
dd21629a81 Merge from V5_1_main 26/11/2010 2010-11-26 15:48:22 +00:00
vsr
d8f644ca3d Merge from V5_1_main branch 24/11/2010 2010-11-25 12:44:43 +00:00
vsr
dd7baabfa1 0021063: [CEA 434] Compilation using gnu compiler v4.5 2010-11-11 13:02:20 +00:00
vsr
bd9123f5c8 Merge from V6_1_BR 07/09/2010 2010-09-07 14:19:57 +00:00
vsr
3a40107689 Merge from V5_1_main 10/06/2010 2010-06-10 09:43:07 +00:00
vsr
9357f5c870 Merge from V5_1_main 14/05/2010 2010-05-14 15:32:37 +00:00
eap
da57c65070 fix pb with GetName() in case of meshing imported 2D skin 2010-02-19 08:43:22 +00:00
dmv
7ca0689d93 0020701: Additional fix concerned to the GetName Method changes. 2010-02-18 11:28:58 +00:00
eap
a710674f83 020697: EDF 1248 SMESH: Sub-mesh on group of face not taken into account
* Correct adding geom groups into map of ansestors
2010-02-18 08:29:00 +00:00
eap
b3a24eca49 0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
1) Try to build nodes using transformation before using block approach
2) workaround for wrong surface.Value(u,v) for UV near boundary of BSline surface
2010-02-17 14:59:19 +00:00
eap
0719fe6424 0020680: EDF 1252 SMESH: Bad cell created by Radial prism in center of torus
+  /*!
+   * \brief Return transformations to get coordinates of nodes of each internal layer
+   *        by nodes of the bottom. Layer is a set of nodes at a certain step
+   *        from bottom to top.
+   */
+  bool GetLayersTransformation(std::vector<gp_Trsf> & trsf) const;
2010-02-17 14:56:40 +00:00
eap
db9b76d342 1)
+    ## Defines "QuadrangleParams" hypothesis
+    #  @param vertex: vertex of a trilateral geometrical face, around which triangles
+    #                 will be created while other elements will be quadrangles.
+    #                 Vertex can be either a GEOM_Object or a vertex ID within the
+    #                 shape to mesh
+    #
+    def TriangleVertex(self, vertex, UseExisting=0):

2) in FixedPoints1D(), convert geom reversed edges into IDs
2010-02-17 14:54:30 +00:00
skl
e096680dda Changes for bug 0020681. 2010-02-16 11:07:53 +00:00
eap
ae8e36cc4a fix Save() and Load() 2010-02-16 09:32:14 +00:00
vsr
97a2f52e50 0020702: [CEA] Problem with Segment function of SMESH module
0020701: EDF SMESH : GetName Method of smeshDC.py
Additional fix
2010-02-16 09:20:56 +00:00
skl
68b6c38588 Changes for bug 0020681. 2010-02-16 09:19:59 +00:00
dmv
4bb95af61f 0020702: [CEA] Problem with Segment function of SMESH module 2010-02-15 09:35:36 +00:00
eap
3d1a536674 protect IndexToShape() from Standard_OutOfRange exception 2010-02-15 07:11:44 +00:00
eap
8d6ad56522 report error reasons in case of trilateral face 2010-02-12 14:27:33 +00:00
vsr
2029d91e2f Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump 2010-02-12 08:37:10 +00:00
eap
2cd3dfdd08 fix case of 2 edges 2010-02-12 08:15:06 +00:00
maintenance team
d7d3916c31 Fix compilation problem on Debian Sarge 2010-02-12 08:03:53 +00:00
eap
4e29225bc5 precise error message 2010-02-12 07:41:39 +00:00
vsr
8321c7460e Issue 0020701: EDF SMESH : GetName Method of smeshDC.py 2010-02-12 06:07:26 +00:00
eap
84dcc4efcf 0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
* Add CheckNodeU()
* Compute parameters of created medium nodes even in force3d mode
* Leave doxygen-style comments of functions only in the header
2010-02-11 13:16:51 +00:00
dmv
9e7387ef24 0020631: EDF 1195 SMESH : Merge Node : Optional display of the nodes of the mesh 2010-02-11 12:08:34 +00:00
eap
13623edbcc 0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Fix for internal edges
2010-02-11 08:26:40 +00:00
eap
7be9f329c4 0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Fix GetOrderedEdges(): workaroud for BRepTools_WireExplorer, which return no edges if they are internal
2010-02-11 08:25:06 +00:00
eap
04efa6b9dc clear auxiliary data after Compute() 2010-02-10 07:36:45 +00:00
eap
2169f74278 0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
* Redesign in order to bind two pyramids to one base quadrangle.
 * Check presence of 3D elements sharing the base quadrangle.
2010-02-09 11:17:06 +00:00
eap
2536cb0c1b Make TNodeXYZ public, which together with SMDS_StdIterator allows getting coordinates of all nodes of mesh element in a couple of lines of code:
typedef SMDS_StdIterator< SMESH_MeshEditor::TNodeXYZ, SMDS_ElemIteratorPtr > TXyzIterator;
  vector<gp_Pnt> coords( TXyzIterator( elem->nodesIterator()), TXyzIterator() );



class SMESH_EXPORT SMESH_MeshEditor
{
public:
+  //------------------------------------------
+  /*!
+   * \brief SMDS_MeshNode -> gp_XYZ convertor
+   */
+  //------------------------------------------
+  struct TNodeXYZ : public gp_XYZ
2010-02-09 11:13:23 +00:00
eap
c8050ec0d5 + // std-like iteration on nodes
+  typedef SMDS_StdIterator< const SMDS_MeshNode*, SMDS_ElemIteratorPtr > iterator;
+  iterator begin_nodes() const { return iterator( nodesIterator() ); }
+  iterator end_nodes()   const { return iterator(); }
2010-02-09 11:03:51 +00:00
eap
1088385e70 const SMDS_MeshElement* next()
{
+    if ( !more() ) return 0;
2010-02-09 11:03:15 +00:00
eap
48378761b2 Add iterator, wrapper over SMDS_Iterator, adding std-like operators *, ++ etc
+	SMDS_StdIterator.hxx
2010-02-09 11:02:53 +00:00
eap
1fd762e26c - SMDS_MeshElement * MeshElement(int ID);
+  SMDS_MeshElement * MeshElement(int ID) const;
2010-02-09 07:02:21 +00:00
eap
b90c9d785d Write nodes in the order of increasing ids
-      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator();
+      SMDS_NodeIteratorPtr aNodesIter = myMesh->nodesIterator(/*idInceasingOrder=*/true);
2010-02-08 14:39:14 +00:00
eap
509187908d Add an utility to iterate on nodes in the order of increasing ids
-  SMDS_NodeIteratorPtr nodesIterator() const;
+  SMDS_NodeIteratorPtr nodesIterator(bool idInceasingOrder=false) const;
2010-02-08 14:38:03 +00:00
vsr
d06764f347 0020691: EDF SMESH : Export STL always in binary 2010-02-08 11:22:48 +00:00
maintenance team
8abff026bc import salome 2010-02-08 10:28:23 +00:00
eap
172b75f1d3 follow modif for IPAL21558 (In Group creation dialog, selection of sub-shapes in OB, viewer and dialog is not well syncronized)
-  virtual void            processOwner( const LightApp_DataOwner* );
+  virtual bool            processOwner( const LightApp_DataOwner* );
2010-02-08 07:14:33 +00:00
eap
a3b1bac8a0 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
* Rename HasDegenenaratedEdges() -> HasDegeneratedEdges()
2010-02-01 14:26:09 +00:00
eap
696fa5df7f 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
+   * \brief Check if the shape set through IsQuadraticSubMesh() or SetSubShape()
+   *        has a degenerated edges
+    * \retval bool - true if it has
+   */
+  bool HasDegenenaratedEdges() const { return !myDegenShapeIds.empty(); }
2010-02-01 14:19:06 +00:00
eap
2998fad1e1 minor change 2010-02-01 13:30:15 +00:00
eap
8d2789db83 020674: EDF 870 SMESH: Mesh generated by Netgen not usable by GHS3D
avoid creating degenetrated faces
2010-02-01 13:29:23 +00:00
eap
d7c779851c fix comment 2010-02-01 13:28:11 +00:00
eap
0cadad987c 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
* Evaluate():
  ** do not read from out of vector range
  ** report error if algo->Evaluate() returns negative number
2010-02-01 11:12:17 +00:00
eap
8d99b0dffe 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
* Evaluate(): do not call algo->Evaluate() if needed submeshes failed to evaluate
2010-02-01 11:09:38 +00:00
nge
cbc21f731e Revert last modification 2010-01-27 14:22:19 +00:00
nge
a2f5fa75bd Add missing import StdMeshers 2010-01-27 13:43:29 +00:00
nge
a63ab6b7e1 import salome missing on some scripts 2010-01-27 11:08:25 +00:00
eap
8726d7811f 0019296: EDF 681 SMESH - Pre-evaluation of the number of elements before mesh
Assure that this submesh is evaluated once
2010-01-27 10:09:15 +00:00
gdd
f3ede5f066 Small correction 2010-01-23 09:00:59 +00:00
eap
4104f26589 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Algorith behavior has changed - default hyps have appeared
2010-01-22 11:38:25 +00:00
eap
fd1dc99bb5 shorten code 2010-01-22 11:37:48 +00:00
eap
188c7b742c unused variables 2010-01-22 11:36:53 +00:00
eap
9a6c1bd34d 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Learn Quadrangle() create Mesh_RadialQuadrangle1D2D algo

+QUARDANGLE = 0
+RADIAL_QUAD = 1
2010-01-22 11:36:02 +00:00
eap
035f2b519d - if ( theNbSegments )
+  if ( theNbSegments > 0 )
     myGen.SetDefaultNbSegments( int(theNbSegments) );
   else
     THROW_SALOME_CORBA_EXCEPTION( "non-positive number of segments", SALOME::BAD_PARAM );
2010-01-22 11:34:11 +00:00
eap
890d47aa59 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
* Fix conversion of LayerDistribution hypothesis
2010-01-22 11:33:35 +00:00
eap
c6fb8166df - <translation>Geomerty mismatches algorithm's expectation</translation>
+            <translation>Geomerty mismatches algorithm's expectation\nCheck algorithm documentation for supported geometry</translation>
2010-01-22 11:31:20 +00:00
eap
982b910458 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
+  virtual bool operator==(const SMESHDS_Hypothesis& other) const;
+  bool operator!=(const SMESHDS_Hypothesis& other) const { return !(*this==other); }
2010-01-22 11:30:28 +00:00
eap
6462277df0 shorten code 2010-01-22 11:29:51 +00:00
maintenance team
909e9e40a7 *** empty log message *** 2010-01-21 09:18:32 +00:00
ouv
084d5228ee Issue 0020657: EDF 1244 SMESH: Bad display of tetras 2010-01-20 15:24:23 +00:00
eap
0862b12810 1) + // RadialQuadrangle_1D2D ----------
2) fix _pyLayerDistributionHypo: move some code from Process() to Flush()
2010-01-20 11:03:16 +00:00
eap
9f57d8b5e9 initialize _nbSegments 2010-01-20 08:31:14 +00:00
dmv
7a8e3a50af Unstable warning in release mode, on creating radialQuadrangle1D2D meshes. 2010-01-12 15:34:12 +00:00
dmv
06f0c4f62f correct debug messages 2010-01-12 15:32:37 +00:00
eap
65197a8515 - myHelpFileName = "mesh_through_point_page.html";
+  myHelpFileName = "find_element_by_point_page.html";
2010-01-12 13:18:05 +00:00
dmv
85d94c3b51 0020635: EDF 1223 SMESH: Error message of RadialQuadrangle algorithm not precise 2010-01-12 08:07:50 +00:00
dmv
d316b3a623 0020635: EDF 1223 SMESH: Error message of RadialQuadrangle algorithm not precise 2010-01-11 15:14:52 +00:00
ouv
3334ebae06 Issue 0020638: EDF 1225 SMESH: Missing options in Color/Size menu 2010-01-11 13:30:06 +00:00
ouv
6c4be33671 Issue 0020514: EDF 1110 SMESH : Export many meshes in one Med File 2010-01-11 07:17:11 +00:00
ouv
238796e3d8 Additional fix for issue 0020614: EDF 1133 SMESH : Put new added elements and nodes to group 2009-12-29 11:09:37 +00:00
ouv
4863327169 Fix of issue 0020614: EDF 1133 SMESH : Put new added elements and nodes to group 2009-12-28 16:23:43 +00:00
eap
163dc9b8fd 0020028: EDF 842 SMESH : Can't export to med a mesh with same names
for one group of nodes and one group of faces

avoid duplicated group names within one type of elements only
2009-12-25 11:22:10 +00:00
skl
72982ad122 Changes for bug 18911 from Mantis. 2009-12-22 10:04:35 +00:00
dmv
313bdfc1c7 0020623: EDF 1209 SMESH: Load script/execfile add the objects in the wrong study 2009-12-21 14:26:43 +00:00
eap
0c1e7c3900 0020623: EDF 1209 SMESH: Load script/execfile add the objects in the wrong study
set current study to SMESH_Gen
2009-12-21 08:24:08 +00:00
dmv
31873e6e23 in frame of 0020622: EDF 1194 SMESH: Merge nodes or elements 2009-12-18 13:14:54 +00:00
eap
e6e7b52bbf 0020618: EDF 1208 SMESH: problems with DoubleNodeElemGroup*InRegion
1) fix finding element center in isInside()
    2) add classifying on TopoDS_FAce
2009-12-18 10:36:52 +00:00
eap
4bbc67fbbe def DoubleNodeElemGroupInRegion(self, theElems, theNodesNot, theShape):
0020617: EDF 1207 SMESH: DoubleNode*: impossible to duplicate edges in a 3D mesh

     def DoubleNodeElemGroupInRegion(self, theElems, theNodesNot, theShape):
-        return self.editor.DoubleNodeElemGroup(theElems, theNodesNot, theShape)
+        return self.editor.DoubleNodeElemGroupInRegion(theElems, theNodesNot, theShape)
2009-12-17 10:28:57 +00:00
eap
370232fd98 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
-            <translation>Find element by point</translation>
+            <translation>Find Element by Point</translation>

+        <message>
+            <source>TOP_FIND_ELEM</source>
+            <translation>Find Element by Point</translation>
+        </message>
2009-12-16 08:29:08 +00:00
eap
339e2f0051 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
fix isOut()
2009-12-16 08:27:50 +00:00
dmv
e0589e63e6 0020615: EDF 1206 SMESH: Smesh group edition and object browser highlight 2009-12-15 08:57:13 +00:00
nge
5052f7f43b Remove unwanted space in the documentation comment of DoubleNodes method which prevented the documentation to be generated correctly. 2009-12-14 16:35:09 +00:00
eap
bcb8d2c754 cosmetic changes 2009-12-14 09:26:16 +00:00
eap
e7952c1e1e 0020427: EDF 868 SMESH : Be able to define the submeshing order
fix SortByMeshOrder(), forgot to increment iterator
2009-12-14 09:23:56 +00:00
vsr
bf9d590cda Integrate patch from G.David (for vtk 5.2 and newer) 2009-12-11 16:29:49 +00:00
eap
f1bc3e4413 0020605: EDF 1190 SMESH: Display performance. 80 seconds for 52000 cells.
set IsEmbeddedMode() in costructor
2009-12-11 10:43:31 +00:00
dmv
45d6a73f64 Bug IPAL21396 Quadrangle parameters Hypothesis Construction. 2009-12-11 07:14:33 +00:00
eap
5e7f07d3da untabify 2009-12-10 14:52:59 +00:00
eap
f2c45dcff7 0020427: EDF 868 SMESH : Be able to define the submeshing order
fix SortByMeshOrder(), which replaces a submesh of lower priority
  by one of higher priority even if the last one is not in
  theListToSort
2009-12-10 09:55:48 +00:00
vsr
b03a1e6001 Merge from BR_phase16 branch (09/12/09) 2009-12-09 15:46:26 +00:00
vsr
2daa321efa Merge from V5_1_3_BR branch (07/12/09) 2009-12-08 13:11:42 +00:00
dmv
2ed875d56d IPAL21493 Incorrect behaviour of Computation, Evaluation succeed dialog boxes in consecutive operations. 2009-12-03 12:31:27 +00:00
vsr
7ee78f2e75 Move GeomSelectionTools from BLSURF module to SMESH 2009-11-23 14:46:21 +00:00
eap
37d36cd6fc 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
+	SMESHGUI_FindElemByPointDlg.cxx \
2009-11-11 15:10:07 +00:00
eap
388cb7d58d 0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
fix isOut()
2009-11-11 14:58:39 +00:00
dmv
f314777950 correct previous integration (Porting to Python 2.6) 2009-10-12 13:47:12 +00:00
dmv
c484895a0f IPAL21363 Compute hangs up on Hypothesis Distribution of Layers. 2009-10-12 13:16:41 +00:00
dmv
630e3674da Porting to Python 2.6 - add coding page specification for Python scripts 2009-10-12 06:16:35 +00:00
dmv
30310d58ad Porting to Python 2.6 - add coding page specification for Python scripts 2009-10-09 13:27:53 +00:00
vsr
54b0ad31e1 Issue 0020520: [CEA 358] Import - Export Sauv files in SMESH
!!! Rollback changes !!!
2009-10-08 08:54:12 +00:00
vsr
49c4dbd0bf Issue 0020520: [CEA 358] Import - Export Sauv files in SMESH 2009-10-07 13:32:10 +00:00
eap
4cd62d7138 untabify 2009-10-07 13:14:47 +00:00
dmv
d8333f0d47 0020501: EDF 1098 SMESH: Display only groups, edit a group: can't select face from other group 2009-10-07 12:27:27 +00:00
vsr
f6c3a1e96c Issue 0020520: [CEA 358] Import - Export Sauv files in SMESH 2009-10-06 10:29:14 +00:00
ouv
75e6081e5e Bug IPAL21372 - 0D algorithm. Mesh visualization failed,if all of 1-3D algorithms are removed,but 0D is remained. 2009-10-05 14:39:07 +00:00
eap
6510081be2 020461: EDF 1102 GHS3DPLUGIN: Bad detection of volumes with Ghs3d mesh
SMESH_MesherHelper:

-  void SetCheckNodePosition(bool toCheck) { myCheckNodePos = toCheck; }
   /*!
+   * \brief Check and fix node UV on a face
+   *  \retval bool - false if UV is bad and could not be fixed
+   */
+  bool CheckNodeUV(const TopoDS_Face&   F,
+                   const SMDS_MeshNode* n,
+                   gp_XY&               uv,
+                   const double         tol) const;

-  bool            myCheckNodePos;
+  std::set< int > myOkNodePosShapes;
2009-10-02 16:20:31 +00:00
eap
72ca340bff untabify 2009-10-02 16:19:27 +00:00
eap
692b18b251 untabify 2009-10-02 13:09:52 +00:00
dmv
425391ca7c 0020501: EDF 1098 SMESH: Display only groups, edit a group: can't select face from other group 2009-10-02 07:17:29 +00:00
eap
7af78cc3d0 untabify 2009-10-01 06:28:20 +00:00
eap
fe22993f88 untabify 2009-09-30 09:27:11 +00:00
eap
2cd5bf0e19 untabify 2009-09-30 09:03:53 +00:00
eap
4e3fa683ce - SMESHGUI_Dialog( QWidget* = 0, const bool = false, const bool = false,
+  SMESHGUI_Dialog( QWidget* = 0, const bool modal = false, const bool allowResize = false,
2009-09-30 08:47:12 +00:00
eap
13c23ff6b0 untabify 2009-09-30 08:44:38 +00:00
eap
5b7eddf17a untabify 2009-09-30 08:16:15 +00:00
vsr
00ee13aec2 Remove JoinObjectParameters() function 2009-09-30 08:10:20 +00:00
vsr
96313c9c5d FixedPoints hypothesis: fix problem with values close to 0.0 and 1.0 2009-09-29 16:52:15 +00:00
vsr
3fa4acc3ab Fix problem in Mesh module on closing study operation (reference to the non existent study is kept and used) 2009-09-29 14:11:58 +00:00
dmv
49644451f1 IPAL21386 "Mesh to Pass Through a Point" is broken at all. 2009-09-25 09:52:12 +00:00
nge
84312b093a - Patch for recent Debian distrib:
multiple same file is not allowed in one installation line
2009-09-17 17:11:00 +00:00
dmv
a4e0e20f3c IPAL21374 Add 0D element leads to visualization failure. 2009-09-17 13:18:43 +00:00
eap
69aebe3a10 untabify 2009-09-17 12:22:15 +00:00
vsr
b7cae6675f IPAL21367: Fix problems with the Fixed Points widget: addition of same values should be disabled 2009-09-17 11:56:45 +00:00
eap
794e4ede5b untabify 2009-09-17 07:27:34 +00:00
eap
2fbf8d55b0 untabify 2009-09-16 12:59:00 +00:00
ptv
e6a2527b22 IPAL21340 2009-09-16 07:20:43 +00:00
vsr
ba086e70a8 0020431 (Fix problem with help page) 2009-09-16 07:00:48 +00:00
skl
6de0067382 Changed for 0019296 (Evaluation). 2009-09-16 06:13:07 +00:00
vsr
7c72475a3a 0020310: EDF 997 SMESH : Tell the mesh to pass through different points
Fixed problem with help page.
2009-09-15 16:34:26 +00:00
eap
fd8513f94e untabify 2009-09-15 16:18:08 +00:00
dmv
a448c25876 IPAL21346 After Quadrangle Algorithm failed, visualisation of mesh is bad. Regress to 5.1.2 2009-09-15 15:27:58 +00:00
dmv
067947492f 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-09-15 14:16:35 +00:00
skl
3e09f90deb Changed for 0020431. 2009-09-15 13:32:29 +00:00
dmv
ab21216f10 IPAL21340 Compute leads to Unknown Exception if No available data in selection. 2009-09-15 13:25:02 +00:00
eap
a269dcbbdf 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder
pb: only the 1st algo is applied

     // apply the algos that do not require descretized boundaries
     // ----------------------------------------------------------
     for ( subIt = smWithAlgoSupportingSubmeshes.rbegin(); subIt != subEnd; ++subIt )
+    {
+      sm = *subIt;
       if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
       {
2009-09-15 13:24:04 +00:00
dmv
a89c4cb333 0020082: EDF 869 GEOM : Edges Orientation indicator/reverse 2009-09-15 13:00:06 +00:00
ptv
0f691b4cc1 0020310: EDF 997 SMESH : Tell the mesh to pass through different points
Edit sub mesh with hypothesis, but without algos.
It is necessary tocheck is there are any comparing of strings as "char* == char*" but HOW?
2009-09-15 12:42:32 +00:00
asl
cf2a8cec1c 0020378: selection is empty after "cancel" in the hypothesis edition dialog box 2009-09-15 12:20:05 +00:00
eap
8d7286fc5d untabify 2009-09-15 08:46:22 +00:00
ptv
4c604aa712 avoid FPE exception 2009-09-15 07:51:41 +00:00
adam
7a2dff55c5 Use the f2c flag when trte.f is compiled with f2c 2009-09-14 14:13:38 +00:00
adam
6e510e8582 Windows port 2009-09-14 14:02:45 +00:00
vsr
5f21fe20f5 Issue 0020474: Symbols multi-defined in SMESHimpl.dll 2009-09-14 13:21:39 +00:00
eap
44f899d82d 0020463: EDF 1099 SMESH: performance regression from V4 to V5
Remove memory leaks and optimize ParseParameters()
2009-09-14 13:05:16 +00:00
eap
ed0a000310 untabify 2009-09-14 12:00:44 +00:00
skl
489c1e114f Corrected for 0020310. 2009-09-11 12:10:55 +00:00
dmv
8ef6ac2097 0020378: EDF 1042 SMESH : Gui of SMESH hypothesis not multi-study 2009-09-11 11:37:47 +00:00
eap
53254ff3ed untabify 2009-09-10 16:11:08 +00:00
eap
0244669837 untabify 2009-09-10 15:29:29 +00:00
ptv
4ce8e26285 0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh 2009-09-10 12:57:35 +00:00
eap
9c4c09606e untabify 2009-09-10 12:51:28 +00:00
ptv
a44eb77228 0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh 2009-09-10 12:40:55 +00:00
eap
525249fdfb unatbify 2009-09-10 11:06:18 +00:00