eap
1aa25c0e23
0020958: EDF 1529 SMESH : If some faces have been meshed with small
...
quadrangles Netgen 3D creates pyramids with volume zero and fails
* Fix HasIntersection3(): use reasonable tolerances
* Improve performace using SMESH_ElementSearcher
2010-08-19 09:23:39 +00:00
eap
14c9e5320c
fix removing from the std::map being iterated over
2010-08-19 09:21:03 +00:00
eap
3a69b3ea0f
0020958: EDF 1529 SMESH : If some faces have been meshed with small
...
quadrangles Netgen 3D creates pyramids with volume zero and fails
struct SMESH_ElementSearcher
{
+ /*!
+ * \brief Return elements possibly intersecting the line
+ */
+ virtual void GetElementsNearLine( const gp_Ax1& line,
+ SMDSAbs_ElementType type,
+ std::vector< const SMDS_MeshElement* >& foundElems)=0;
2010-08-19 09:19:49 +00:00
eap
32e5402500
Implement iteration in id increasing order
...
- SMDS_NodeIteratorPtr nodesIterator(bool idInceasingOrder=false) const;
- SMDS_0DElementIteratorPtr elements0dIterator() const;
- SMDS_EdgeIteratorPtr edgesIterator() const;
- SMDS_FaceIteratorPtr facesIterator() const;
- SMDS_VolumeIteratorPtr volumesIterator() const;
+ SMDS_NodeIteratorPtr nodesIterator (bool idInceasingOrder=false) const;
+ SMDS_0DElementIteratorPtr elements0dIterator(bool idInceasingOrder=false) const;
+ SMDS_EdgeIteratorPtr edgesIterator (bool idInceasingOrder=false) const;
+ SMDS_FaceIteratorPtr facesIterator (bool idInceasingOrder=false) const;
+ SMDS_VolumeIteratorPtr volumesIterator (bool idInceasingOrder=false) const;
2010-08-19 09:17:39 +00:00
eap
2712d2bac8
avoid unused variables in release mode
2010-08-18 11:06:29 +00:00
eap
0ead748d34
fix the case of already meshed sole straight edge
2010-08-18 11:06:01 +00:00
eap
986c507e02
0020855: [CEA] Problem with ijk algo
...
find out orientation by a least distorted hexahedron
2010-08-18 08:00:09 +00:00
eap
99da90c8d2
-theFileName = thePath + "/Shapes/Brep/slots.brep"
...
+theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep")
2010-08-13 12:56:44 +00:00
eap
9b8d761c97
0020955: EDF 1493 SMESH: Bad import of .unv file
...
* Complete the set of readable 2D elements
2010-08-09 08:38:48 +00:00
eap
c3ab4d469d
Remove unused variables
2010-08-09 08:37:24 +00:00
eap
758a69ebf0
0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry fails with GHS3D
...
* Fix splitTrianglesIntoChains()
2010-08-04 12:05:37 +00:00
eap
da13b7ebd3
0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry fails with GHS3D
...
* Fix for usecase: open the atached study, convert Mesh_1 from
quadratic, unassign GHS3D algo -> SIGSEGV. Reason is that the same
SMDS_SpacePosition is shared by all nodes in different solids.
2010-08-04 12:02:49 +00:00
eap
cb58ff9fa4
untabify
2010-07-27 13:06:18 +00:00
eap
52be03b564
0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry fails with GHS3D
...
* Fix GetNodeUV() for a node on seam edge: enable projection of node in face
* Fix GetMediumNode(): set a node in volume #1 as well
* Fix QFace::GetLinkChain(), case of triangles
2010-07-27 13:05:28 +00:00
ouv
a8864480d4
Additional fix for issue 20755
2010-07-23 11:09:49 +00:00
eap
4ea8012155
0020920: EDF 1478 SMESH: Conversion linear to quadratic fails (BLSURF Mesh)
...
* fix FixQuadraticElements(): ignore internal chains
2010-07-21 05:45:17 +00:00
eap
cc0f9654b4
0020919: EDF 1472 SMESH: Linear to quadratic conversion fails with hexaedron algorithm
...
* fix FixQuadraticElements()
2010-07-20 06:06:38 +00:00
eap
90bfbd9c1e
improve comment
2010-07-20 06:05:22 +00:00
adam
92931e254a
Patch from Anthony to be compliant with MED
2010-07-19 15:18:39 +00:00
eap
99adc043fe
untabify
2010-07-19 07:57:32 +00:00
vsr
420d105fdb
Issue 0020921: EDF 1462 SMESH: Regression in 5.1.4. a quadrangle meshing fails
2010-07-08 06:51:11 +00:00
vsr
32a86c1f4a
0020742: EDF 1270 SMESH : Delete Group with contents and remove Orphan Nodes
2010-07-07 05:32:15 +00:00
adam
3cd9dd3663
windows port
2010-07-06 10:17:30 +00:00
dmv
4d43188368
IPAL21820 TC6.1.0: Lost new nodes
2010-07-05 13:58:35 +00:00
dmv
e3ffb861ce
IPAL21831 Can't load the Python dump after Export to MED
2010-06-30 11:40:12 +00:00
vsr
9862fa66b4
Bug IPAL21801: preferences for SMESH: color of Group name text should be added
...
EDF 703 SMESH VISU : Display Mesh Groups names in viewer (as a caption)
Additional fix: add preferences for the names groups color
2010-06-23 13:19:50 +00:00
vsr
8c1e153907
0020752: EDF 1303 SMESH : Add a 'Select All' button in Create Group dialog box
2010-06-22 15:24:40 +00:00
jfa
946f0a4e5c
Mantis issue 0020812: Register() and Destroy() of the GenericObj.
2010-06-22 14:43:41 +00:00
vsr
5faccfa115
Improve documentation generation mechanism
2010-06-22 14:14:43 +00:00
ouv
e533bcb1d7
Issue 0020755: EDF 1279 MESH : 'Mesh to Pass Through a Point' enhancement
2010-06-21 10:30:03 +00:00
vsr
2343a5b385
Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance more than octree node precision value. Version 2 with improved performance.
2010-06-21 07:29:04 +00:00
vsr
97577f2731
Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance more than octree node precision value
2010-06-17 19:00:18 +00:00
vsr
6ea1e8f320
Merge from V5_1_4_BR (5_1_4rc2) 09/06/2010
2010-06-10 06:51:07 +00:00
eap
452d18f670
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
...
* In GetFaceWires(), create a separate wire for each internal edge
2010-06-08 11:33:26 +00:00
eap
dd4eae00e6
- return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
...
+ return ( e && e->NbCornerNodes() == 4 );
2010-05-20 10:23:56 +00:00
eap
17aeb4f3c7
0020855: [CEA] Problem with ijk algo ---------- KO.med file
2010-05-20 10:04:19 +00:00
eap
5dad3ddd64
0020855: [CEA] Problem with ijk algo
...
* Fix detection of block corners
* Fix selection of sides
2010-05-19 08:16:18 +00:00
eap
0611264223
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
...
## Computes the mesh and returns the status of the computation
+ # @param discardModifs if True and the mesh has been edited since
+ # a last total re-compute and that may prevent successful partial re-compute,
+ # then the mesh is cleaned before Compute()
# @return True or False
# @ingroup l2_construct
- def Compute(self, geom=0):
+ def Compute(self, geom=0, discardModifs=False):
2010-05-13 06:24:13 +00:00
eap
475c43c868
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
...
* set _isModified attribute of the mesh to true
2010-05-13 06:23:03 +00:00
eap
fdac3f59c5
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
...
* save/restore _isModified attribute of the mesh
2010-05-13 06:22:26 +00:00
eap
38824d786e
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
...
+ if ( myMesh->HasModificationsToDiscard() && // issue 0020693
+ SUIT_MessageBox::question( desktop(), tr( "SMESH_WARNING" ),
+ tr( "FULL_RECOMPUTE_QUESTION" ),
+ tr( "SMESH_BUT_YES" ), tr( "SMESH_BUT_NO" ), 1, 0 ) == 0 )
+ myMesh->Clear();
2010-05-13 06:20:35 +00:00
eap
a5103fc7f7
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
...
+ <source>FULL_RECOMPUTE_QUESTION</source>
+ <translation>
+The mesh has been edited since a last total re-compute
+that may prevent successful computation.
+Do you wish to re-compute the mesh totally to discard the modifications?
+ </translation>
+ </message>
+ <message>
2010-05-13 06:20:02 +00:00
eap
dc9f7a0708
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
...
+ /*!
+ * Return true if the mesh has been edited since a total re-compute
+ * and those modifications may prevent successful partial re-compute
+ */
+ boolean HasModificationsToDiscard()
+ raises (SALOME::SALOME_Exception);
2010-05-13 06:18:57 +00:00
eap
d0e4aacc56
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
...
+ void SetIsModified(bool isModified);
+ bool GetIsModified() const { return _isModified; }
+ bool HasModificationsToDiscard() const;
+ bool _isModified; //!< modified since last total re-compute, issue 0020693
2010-05-13 06:18:02 +00:00
vsr
6650dea1f8
Merge from V5_1_4_BR 07/05/2010
2010-05-07 15:08:23 +00:00
eap
4a1881f9c1
0020855: [CEA] Problem with ijk algo
...
* Fix difining sharing of block sides
* Fix selection of adjacent side
2010-05-06 08:48:21 +00:00
eap
46390b4393
0020855: [CEA] Problem with ijk algo
...
* Fix uninitialized gravity center
- gp_XYZ gc;
+ gp_XYZ gc(0,0,0);
2010-04-30 06:45:50 +00:00
eap
8ebb31bcc9
0020849: [CEA] Projection 2D fails
...
* project by transformation in case if TopoDS_TFace's are different
2010-04-26 10:39:30 +00:00
dmv
42e7938ff9
Improve Documentation style.
2010-04-08 11:04:09 +00:00
dmv
0fe4350ada
IPAL21668 Call of Edit Group leads to Crash.
2010-04-08 07:52:18 +00:00