jfa
33fc29c42a
Porting to OCCT6.5.1
2011-08-12 13:12:13 +00:00
jfa
d566947c69
Porting to OCCT6.5.1
2011-08-11 13:54:07 +00:00
vsr
91c92cb543
Merge from V6_3_BR 15/07/2011
2011-07-15 11:19:53 +00:00
eap
eb57bc9623
improve comments
2011-06-14 13:51:55 +00:00
vsr
2c607013a2
Merge from V6_3_BR 06/06/2011
2011-06-06 08:15:39 +00:00
prascle
ecea4040f1
PR: create flat elements on face groups (ASTER calculations)
2011-03-30 15:48:07 +00:00
prascle
4ac8d07584
PR: DoubleNodesOnGroupBoundaries in progress
2011-03-28 14:46:16 +00:00
vsr
a593ecab98
Fix compilation error on gcc 4.2
2011-03-21 15:12:11 +00:00
adam
0f635a43a3
EA: Fix compilation with gcc-4.5.2
2011-03-19 22:21:45 +00:00
prascle
9f36bbc95a
PR: double nodes and flat elements for ASTER calculations in progress
2011-03-19 06:55:48 +00:00
eap
59fe802c13
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
...
+ void ConvertToQuadratic(const bool theForce3d, TIDSortedElemSet& theElements);
+ void ConvertFromQuadratic(TIDSortedElemSet& theElements);
2011-03-16 15:36:15 +00:00
prascle
fcae5eda64
PR: double nodes and flat elements for ASTER calculations in progress
2011-03-16 10:51:52 +00:00
prascle
bdfc51bda9
PR: double nodes and flat elements for ASTER calculations in progress
2011-03-12 15:07:47 +00:00
eap
bd4cadfcf0
020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement
...
int MakeBoundaryMesh(const TIDSortedElemSet& elements,
Bnd_Dimension dimension,
SMESH_Group* group = 0,
SMESH_Mesh* targetMesh = 0,
bool toCopyElements = false,
bool toCopyExistingBondary = false,
+ bool toAddExistingBondary = false,
+ bool aroundElements = false);
2011-03-11 10:15:41 +00:00
prascle
b3a725059c
PR: doubleNodesOnGroupBoundaries in progress
2011-03-09 16:05:51 +00:00
prascle
293e2534c0
PR: doubleNodesOnGroupBoundaries in progress
2011-03-09 08:42:21 +00:00
rnv
fa15bee5e1
Fix for the issue "21203: EDF 1797 SMESH: SIGSEGV with move node on a Mesh with 0D elements"
2011-03-01 09:35:50 +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
eap
b337ba17f3
not initialized value
2011-01-27 13:40:10 +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
80ac3613f8
valid IDs count from 1
2011-01-24 09:15:52 +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
inv
2de294b09a
Merge from V6_2_BR 23/12/2010
2010-12-24 08:18:34 +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
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
d8f644ca3d
Merge from V5_1_main branch 24/11/2010
2010-11-25 12:44:43 +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
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
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
339e2f0051
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
...
fix isOut()
2009-12-16 08:27:50 +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
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
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
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
99e3564a09
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
...
+#include <limits>
2009-09-10 08:10:41 +00:00
ptv
35c05cab65
0020105: EDF 862 SMESH : Creation of the skin elements (2D) of a 3D Mesh
2009-09-10 06:59:27 +00:00
eap
0f2c407672
0020464: EDF 1100 SMESH: Performance issue of the function MoveNode
...
struct SMESH_NodeSearcher
{
virtual const SMDS_MeshNode* FindClosestTo( const gp_Pnt& pnt ) = 0;
+ virtual void MoveNode( const SMDS_MeshNode* node, const gp_Pnt& toPnt ) = 0;
};
0020139: EDF 944 SMESH : Get 2D/3D element with X, Y, Z coordinates
+//=======================================================================
+/*!
+ * \brief Return elements of given type where the given point is IN or ON.
+ *
+ * 'ALL' type means elements of any type excluding nodes and 0D elements
+ */
+//=======================================================================
+
+struct SMESH_ElementSearcher
+{
+ virtual void FindElementsByPoint(const gp_Pnt& point,
+ SMDSAbs_ElementType type,
+ std::vector< const SMDS_MeshElement* >& foundNodes)=0;
+};
2009-09-10 05:29:55 +00:00
eap
ec71bd93d2
untabify
2009-09-09 06:17:26 +00:00
ptv
2fa6f3c92b
remove compilation error on Windows
2009-09-01 06:56:48 +00:00
ptv
8a7fc527d7
remove compilation error on Windows
2009-09-01 03:53:08 +00:00
ptv
787fff0067
IMP20439 Create hole by element and nodes duplication
2009-08-11 12:01:49 +00:00
skl
6a950222ba
Changes for bug 0020381 from Mantis.
2009-07-28 11:38:26 +00:00
vsr
686a864564
Merge from V5_1_2_BR branch (14 July 2009)
2009-07-15 08:11:22 +00:00
eap
47e62a030c
0020128: EDF SMESH 926 : Quadratic conversion of BLSURF mesh
...
in ConvertToQuadratic()
+ if ( !theForce3d ) {
+ aHelper.SetSubShape(0); // apply to the whole mesh
+ aHelper.FixQuadraticElements();
+ }
2009-06-18 12:40:22 +00:00
skl
34fb01e7b5
Implementation of new version ExtrusionAlongPath (20003 from Mantis).
2009-06-10 07:09:15 +00:00