mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
[bos #41122][EDF] Quadrangle radial for face which curved edges didn't discretize properly on medial axe construction leading to wrong mesh of the face.
This commit is contained in:
parent
3c7d932660
commit
27c8af8c6e
@ -557,7 +557,7 @@ namespace
|
|||||||
double curDeflect = 0.3; //0.01; //Curvature deflection
|
double curDeflect = 0.3; //0.01; //Curvature deflection
|
||||||
double angDeflect = 0.2; // 0.09; //Angular deflection
|
double angDeflect = 0.2; // 0.09; //Angular deflection
|
||||||
|
|
||||||
GCPnts_TangentialDeflection discret(c2dAdaptor, angDeflect, curDeflect);
|
GCPnts_TangentialDeflection discret(c2dAdaptor, angDeflect, curDeflect, 10 /*bos [#41122] minimum 10 points of discretization!*/);
|
||||||
// if ( discret.NbPoints() > 2 )
|
// if ( discret.NbPoints() > 2 )
|
||||||
// {
|
// {
|
||||||
// cout << endl;
|
// cout << endl;
|
||||||
|
@ -2152,7 +2152,6 @@ bool StdMeshers_QuadFromMedialAxis_1D2D::computeQuads( SMESH_MesherHelper& theHe
|
|||||||
bool StdMeshers_QuadFromMedialAxis_1D2D::Compute(SMESH_Mesh& theMesh,
|
bool StdMeshers_QuadFromMedialAxis_1D2D::Compute(SMESH_Mesh& theMesh,
|
||||||
const TopoDS_Shape& theShape)
|
const TopoDS_Shape& theShape)
|
||||||
{
|
{
|
||||||
std::cout << "helper_quad " << theMesh.IsParallel() << std::endl;
|
|
||||||
SMESH_MesherHelper helper( theMesh );
|
SMESH_MesherHelper helper( theMesh );
|
||||||
helper.SetSubShape( theShape );
|
helper.SetSubShape( theShape );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user