vsr [Wed, 25 Aug 2010 10:17:59 +0000 (10:17 +0000)]
Issue:
0020935: A group created with a type of element criteria is empty
- Improve documentation for the filters functionality
vsr [Wed, 25 Aug 2010 10:17:27 +0000 (10:17 +0000)]
Issue:
0020935: A group created with a type of element criteria is empty
- Fix some filters bugs in Python API
vsr [Wed, 25 Aug 2010 09:59:03 +0000 (09:59 +0000)]
Avoid doxygen warnings
eap [Mon, 23 Aug 2010 05:26:19 +0000 (05:26 +0000)]
0020958: EDF 1529 SMESH : If some faces have been meshed with small
quadrangles Netgen 3D creates pyramids with volume zero and fails
bool CheckIntersection(const gp_Pnt& P, const gp_Pnt& PC,
gp_Pnt& Pint, SMESH_Mesh& aMesh,
const TopoDS_Shape& aShape,
- const TopoDS_Shape& NotCheckedFace);
+ const SMDS_MeshElement* NotCheckedFace);
eap [Thu, 19 Aug 2010 13:28:02 +0000 (13:28 +0000)]
Fix for SIGSEGV on Mandriva2008 in optimize mode only
==21300== Invalid read of size 4
==21300== at 0x1445EA23: StdMeshers_Penta_3D::MakeVolumeMesh() (StdMeshers_Penta_3D.cxx:681)
while (aItNodes->more()) {
It seems to be an error of optimization, aItNodes.px becomes invalid
before aItNodes->more() returns false but after the loop code is
performed for the last time.
eap [Thu, 19 Aug 2010 09:41:24 +0000 (09:41 +0000)]
remove debug output
eap [Thu, 19 Aug 2010 09:23:39 +0000 (09:23 +0000)]
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
eap [Thu, 19 Aug 2010 09:21:03 +0000 (09:21 +0000)]
fix removing from the std::map being iterated over
eap [Thu, 19 Aug 2010 09:19:49 +0000 (09:19 +0000)]
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;
eap [Thu, 19 Aug 2010 09:17:39 +0000 (09:17 +0000)]
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;
eap [Wed, 18 Aug 2010 11:06:29 +0000 (11:06 +0000)]
avoid unused variables in release mode
eap [Wed, 18 Aug 2010 11:06:01 +0000 (11:06 +0000)]
fix the case of already meshed sole straight edge
eap [Wed, 18 Aug 2010 08:00:09 +0000 (08:00 +0000)]
0020855: [CEA] Problem with ijk algo
find out orientation by a least distorted hexahedron
eap [Fri, 13 Aug 2010 12:56:44 +0000 (12:56 +0000)]
-theFileName = thePath + "/Shapes/Brep/slots.brep"
+theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep")
eap [Mon, 9 Aug 2010 08:38:48 +0000 (08:38 +0000)]
0020955: EDF 1493 SMESH: Bad import of .unv file
* Complete the set of readable 2D elements
eap [Mon, 9 Aug 2010 08:37:24 +0000 (08:37 +0000)]
Remove unused variables
eap [Wed, 4 Aug 2010 12:05:37 +0000 (12:05 +0000)]
0020951: EDF 1501 SMESH: Conversion linear/quadratic with medium nodes on geometry fails with GHS3D
* Fix splitTrianglesIntoChains()
eap [Wed, 4 Aug 2010 12:02:49 +0000 (12:02 +0000)]
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.
eap [Tue, 27 Jul 2010 13:06:18 +0000 (13:06 +0000)]
untabify
eap [Tue, 27 Jul 2010 13:05:28 +0000 (13:05 +0000)]
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
ouv [Fri, 23 Jul 2010 11:09:49 +0000 (11:09 +0000)]
Additional fix for issue 20755
eap [Wed, 21 Jul 2010 05:45:17 +0000 (05:45 +0000)]
0020920: EDF 1478 SMESH: Conversion linear to quadratic fails (BLSURF Mesh)
* fix FixQuadraticElements(): ignore internal chains
eap [Tue, 20 Jul 2010 06:06:38 +0000 (06:06 +0000)]
0020919: EDF 1472 SMESH: Linear to quadratic conversion fails with hexaedron algorithm
* fix FixQuadraticElements()
eap [Tue, 20 Jul 2010 06:05:22 +0000 (06:05 +0000)]
improve comment
adam [Mon, 19 Jul 2010 15:18:39 +0000 (15:18 +0000)]
Patch from Anthony to be compliant with MED
eap [Mon, 19 Jul 2010 07:57:32 +0000 (07:57 +0000)]
untabify
vsr [Thu, 8 Jul 2010 06:51:11 +0000 (06:51 +0000)]
Issue
0020921: EDF 1462 SMESH: Regression in 5.1.4. a quadrangle meshing fails
vsr [Wed, 7 Jul 2010 05:32:15 +0000 (05:32 +0000)]
0020742: EDF 1270 SMESH : Delete Group with contents and remove Orphan Nodes
adam [Tue, 6 Jul 2010 10:17:30 +0000 (10:17 +0000)]
windows port
dmv [Mon, 5 Jul 2010 13:58:35 +0000 (13:58 +0000)]
IPAL21820 TC6.1.0: Lost new nodes
dmv [Wed, 30 Jun 2010 11:40:12 +0000 (11:40 +0000)]
IPAL21831 Can't load the Python dump after Export to MED
vsr [Wed, 23 Jun 2010 13:19:50 +0000 (13:19 +0000)]
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
vsr [Tue, 22 Jun 2010 15:24:40 +0000 (15:24 +0000)]
0020752: EDF 1303 SMESH : Add a 'Select All' button in Create Group dialog box
jfa [Tue, 22 Jun 2010 14:43:41 +0000 (14:43 +0000)]
Mantis issue
0020812: Register() and Destroy() of the GenericObj.
vsr [Tue, 22 Jun 2010 14:14:43 +0000 (14:14 +0000)]
Improve documentation generation mechanism
ouv [Mon, 21 Jun 2010 10:30:03 +0000 (10:30 +0000)]
Issue
0020755: EDF 1279 MESH : 'Mesh to Pass Through a Point' enhancement
vsr [Mon, 21 Jun 2010 07:29:04 +0000 (07:29 +0000)]
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.
vsr [Thu, 17 Jun 2010 19:00:18 +0000 (19:00 +0000)]
Fix bug of NodeSearcher: search fails if point is outside the mesh on the distance more than octree node precision value
vsr [Thu, 10 Jun 2010 06:51:07 +0000 (06:51 +0000)]
Merge from V5_1_4_BR (5_1_4rc2) 09/06/2010
eap [Tue, 8 Jun 2010 11:33:26 +0000 (11:33 +0000)]
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
eap [Thu, 20 May 2010 10:23:56 +0000 (10:23 +0000)]
- return ( e && e->NbNodes() == ( e->IsQuadratic() ? 8 : 4 ));
+ return ( e && e->NbCornerNodes() == 4 );
eap [Thu, 20 May 2010 10:04:19 +0000 (10:04 +0000)]
0020855: [CEA] Problem with ijk algo ---------- KO.med file
eap [Wed, 19 May 2010 08:16:18 +0000 (08:16 +0000)]
0020855: [CEA] Problem with ijk algo
* Fix detection of block corners
* Fix selection of sides
eap [Thu, 13 May 2010 06:24:13 +0000 (06:24 +0000)]
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):
eap [Thu, 13 May 2010 06:23:03 +0000 (06:23 +0000)]
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
eap [Thu, 13 May 2010 06:22:26 +0000 (06:22 +0000)]
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
eap [Thu, 13 May 2010 06:20:35 +0000 (06:20 +0000)]
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();
eap [Thu, 13 May 2010 06:20:02 +0000 (06:20 +0000)]
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>
eap [Thu, 13 May 2010 06:18:57 +0000 (06:18 +0000)]
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);
eap [Thu, 13 May 2010 06:18:02 +0000 (06:18 +0000)]
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
vsr [Fri, 7 May 2010 15:08:23 +0000 (15:08 +0000)]
Merge from V5_1_4_BR 07/05/2010
eap [Thu, 6 May 2010 08:48:21 +0000 (08:48 +0000)]
0020855: [CEA] Problem with ijk algo
* Fix difining sharing of block sides
* Fix selection of adjacent side
eap [Fri, 30 Apr 2010 06:45:50 +0000 (06:45 +0000)]
0020855: [CEA] Problem with ijk algo
* Fix uninitialized gravity center
- gp_XYZ gc;
+ gp_XYZ gc(0,0,0);
eap [Mon, 26 Apr 2010 10:39:30 +0000 (10:39 +0000)]
0020849: [CEA] Projection 2D fails
* project by transformation in case if TopoDS_TFace's are different
dmv [Thu, 8 Apr 2010 11:04:09 +0000 (11:04 +0000)]
Improve Documentation style.
dmv [Thu, 8 Apr 2010 07:52:18 +0000 (07:52 +0000)]
IPAL21668 Call of Edit Group leads to Crash.
caremoli [Thu, 8 Apr 2010 06:36:12 +0000 (06:36 +0000)]
CCAR: wrong type id
dmv [Wed, 7 Apr 2010 14:12:04 +0000 (14:12 +0000)]
Improve documentation
san [Mon, 5 Apr 2010 11:43:42 +0000 (11:43 +0000)]
Issue
0020580: improved validation in integer and double spin boxes, possibility to adjust input field precision through preferences
eap [Wed, 31 Mar 2010 05:56:30 +0000 (05:56 +0000)]
Rename to avoid clash with same name class from GEOM_Engine
-class ObjectStates{
+class SMESH_ObjectStates{
eap [Wed, 31 Mar 2010 05:55:11 +0000 (05:55 +0000)]
Remove useless extra dump in DEBUG mode
eap [Tue, 30 Mar 2010 12:38:16 +0000 (12:38 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
+ void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags)
eap [Tue, 30 Mar 2010 12:36:23 +0000 (12:36 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
* Add "Split into Tetrahedra" operation
eap [Tue, 30 Mar 2010 12:33:10 +0000 (12:33 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
+ virtual int NbCornerNodes() const;
eap [Tue, 30 Mar 2010 12:32:41 +0000 (12:32 +0000)]
0020672: EDF 1243 SMESH : Be able to transform mixed mesh
* Implement GetFaceNodesIndices() for polyhedrons
eap [Tue, 30 Mar 2010 12:30:12 +0000 (12:30 +0000)]
Move #include "SMESH_Algo.hxx" from hxx to cxx
eap [Tue, 30 Mar 2010 12:29:24 +0000 (12:29 +0000)]
Use TXyzIterator in Preparation()
eap [Tue, 30 Mar 2010 12:27:31 +0000 (12:27 +0000)]
/*!
+ * Returns nodes of given face (counted from zero) for given volumic element.
+ */
+ long_array GetElemFaceNodes(in long elemId, in short faceIndex);
+
+ /*!
+ * Returns an element based on all given nodes.
+ */
+ long FindElementByNodes(in long_array nodes);
ouv [Mon, 29 Mar 2010 08:24:47 +0000 (08:24 +0000)]
Bug IPAL21655 - Points representation works incorrectly with white background
eap [Thu, 25 Mar 2010 14:51:26 +0000 (14:51 +0000)]
untabify
ouv [Thu, 25 Mar 2010 13:55:29 +0000 (13:55 +0000)]
Issue
0020613: EDF 1106 : Modify Node Marker in SMESH and VISU
eap [Tue, 23 Mar 2010 14:33:16 +0000 (14:33 +0000)]
Move StdMeshers_ProjectionUtils::IsSubShape() to SMESH_MesherHelper
eap [Tue, 23 Mar 2010 14:32:26 +0000 (14:32 +0000)]
Move from StdMeshers_ProjectionUtils
+ static bool IsSubShape( const TopoDS_Shape& shape, const TopoDS_Shape& mainShape );
+
+ static bool IsSubShape( const TopoDS_Shape& shape, SMESH_Mesh* aMesh );
eap [Tue, 23 Mar 2010 08:04:58 +0000 (08:04 +0000)]
020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* Cash GeomAPI_ProjectPointOnSurf's
* Make applyFunc() public under name applyIn2D()
+ * \brief Define a pointer to wrapper over a function of gp_XY class,
+ * suitable to pass as xyFunPtr to applyIn2D().
+ * For exaple gp_XY_FunPtr(Added) defines pointer gp_XY_Added to function
+ * calling gp_XY::Added(gp_XY), which is to be used like following
+ * applyIn2D(surf, uv1, uv2, gp_XY_Added)
+ */
+#define gp_XY_FunPtr(meth) \
+ static gp_XY __gpXY_##meth (const gp_XY& uv1, const gp_XY& uv2) { return uv1.meth( uv2 ); } \
+ static xyFunPtr gp_XY_##meth = & __gpXY_##meth
+ /*!
+ * \brief Perform given operation on two 2d points in parameric space of given surface.
+ * It takes into account period of the surface. Use gp_XY_FunPtr macro
+ * to easily define pointer to function of gp_XY class.
+ */
+ static gp_XY applyIn2D(const Handle(Geom_Surface)& surface,
+ const gp_XY& uv1,
+ const gp_XY& uv2,
+ xyFunPtr fun,
+ const bool resultInPeriod=true);
+
vsr [Mon, 22 Mar 2010 15:15:49 +0000 (15:15 +0000)]
Issue
0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file
vsr [Mon, 22 Mar 2010 15:08:53 +0000 (15:08 +0000)]
Issue
0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file
dmv [Mon, 22 Mar 2010 14:48:33 +0000 (14:48 +0000)]
0020799: [CEA] Smesh script fails
vsr [Mon, 22 Mar 2010 14:30:36 +0000 (14:30 +0000)]
0020801: EDF 1343 SMESH : Segmentation violation during compound od Mesh with 0D elements
dmv [Mon, 22 Mar 2010 12:17:15 +0000 (12:17 +0000)]
0020788: EDF 1339 SMESH : Crash after enabling "Auto Color" feature in attached MED file
eap [Fri, 19 Mar 2010 14:56:03 +0000 (14:56 +0000)]
SMESH_IDSource can be not-published object
+ operator<<(SMESH::SMESH_IDSource_ptr theArg);
eap [Fri, 19 Mar 2010 14:21:48 +0000 (14:21 +0000)]
0020771: EDF 1322 SMESH : Quadratic/Linear conversion with Medium Nodes on Geometry issue
* Care of period when performing operations on points in parametric space
eap [Fri, 19 Mar 2010 07:25:55 +0000 (07:25 +0000)]
0020781: EDF 1326 SMESH : Documentation missing
more detail for "Orientation of faces"
eap [Thu, 18 Mar 2010 09:47:58 +0000 (09:47 +0000)]
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* fix pb of CheckNodeUV() with INTERNAL shapes
+ /*!
+ * \brief Return iterator on ancestors of the given type
+ */
+ static PShapeIteratorPtr GetAncestors(const TopoDS_Shape& shape,
+ const SMESH_Mesh& mesh,
+ TopAbs_ShapeEnum ancestorType);
eap [Thu, 18 Mar 2010 09:46:14 +0000 (09:46 +0000)]
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
- TopoDS_Shape GetSubShape() const { return myShape; }
+ const TopoDS_Shape& GetSubShape() const { return myShape; }
+typedef SMDS_Iterator<const TopoDS_Shape*> PShapeIterator;
+typedef boost::shared_ptr< PShapeIterator > PShapeIteratorPtr;
+ /*!
+ * \brief Return iterator on ancestors of the given type
+ */
+ static PShapeIteratorPtr GetAncestors(const TopoDS_Shape& shape,
+ const SMESH_Mesh& mesh,
+ TopAbs_ShapeEnum ancestorType);
eap [Thu, 18 Mar 2010 09:42:08 +0000 (09:42 +0000)]
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen
* In GetOrderedEdges(), preview presence of the internal vertex within the face
dmv [Wed, 17 Mar 2010 07:52:51 +0000 (07:52 +0000)]
IPAL21631 Incorrect Help link.
ana [Tue, 16 Mar 2010 13:04:00 +0000 (13:04 +0000)]
Windows compatibility
ana [Mon, 15 Mar 2010 14:45:59 +0000 (14:45 +0000)]
Windows compatibility
dmv [Mon, 15 Mar 2010 13:56:52 +0000 (13:56 +0000)]
0020727: EDF 1276 SMESH : add a Method RadialQuadrangle to the Mesh class in smeshDC.py
vsr [Mon, 15 Mar 2010 09:31:54 +0000 (09:31 +0000)]
Fix compilation problem on Debian Sarge
eap [Fri, 12 Mar 2010 08:30:20 +0000 (08:30 +0000)]
+//=======================================================================
+/*!
+ * \brief SMESH_TLink knowing its orientation
+ */
+//=======================================================================
+
+struct SMESH_OrientedLink: public SMESH_TLink
+{
+ bool _reversed;
+ SMESH_OrientedLink(const SMDS_MeshNode* n1, const SMDS_MeshNode* n2 )
+ : SMESH_TLink( n1, n2 ), _reversed( n1 != node1() ) {}
+};
eap [Fri, 12 Mar 2010 08:26:13 +0000 (08:26 +0000)]
/*!
* \brief High level util for effective file reading and other file operations
*/
skl [Fri, 12 Mar 2010 05:38:02 +0000 (05:38 +0000)]
skl [Thu, 11 Mar 2010 09:36:56 +0000 (09:36 +0000)]
eap [Wed, 10 Mar 2010 13:21:56 +0000 (13:21 +0000)]
fix FindFace() after the previous integration
eap [Wed, 10 Mar 2010 06:43:17 +0000 (06:43 +0000)]
- const SMDS_MeshFace *FindFace(std::vector<int> nodes_ids) const;
+ const SMDS_MeshFace *FindFace(const std::vector<int>& nodes_ids) const;
- static const SMDS_MeshFace* FindFace(std::vector<const SMDS_MeshNode *> nodes);
+ static const SMDS_MeshFace* FindFace(const std::vector<const SMDS_MeshNode *>& nodes);
skl [Tue, 9 Mar 2010 14:03:48 +0000 (14:03 +0000)]
eap [Tue, 9 Mar 2010 13:26:18 +0000 (13:26 +0000)]
0020682: EDF 1222 SMESH: 3D mesh from a skin mesh and with volumic cells
* Fix regression made at redesigning
eap [Tue, 9 Mar 2010 08:17:43 +0000 (08:17 +0000)]
a little optimize FindFace (std::vector<const SMDS_MeshNode *> nodes)
eap [Fri, 5 Mar 2010 11:13:07 +0000 (11:13 +0000)]
0020714: EDF GHS3DPLUGIN: shapeToMesh when creating 3D mesh from 2D mesh
* Fix GetPointState()