<source>ICON_SMESH_TREE_HYPO_NETGEN_Parameters_2D</source>
<translation>mesh_tree_hypo_netgen_2d.png</translation>
</message>
+ <message>
+ <source>ICON_SMESH_TREE_HYPO_NETGEN_RemesherParameters_2D</source>
+ <translation>mesh_tree_hypo_netgen_2d.png</translation>
+ </message>
<message>
<source>ICON_SMESH_TREE_HYPO_NETGEN_Parameters_2D_ONLY</source>
<translation>mesh_tree_hypo_netgen_2d.png</translation>
#include <occgeom.hpp>
#include <meshing.hpp>
#include <stlgeom.hpp>
-//#include <stltool.hxx>
+//#include <stltool.hpp>
#include <boost/container/flat_set.hpp>
// #endif
// extern STLParameters stlparam;
// }
+namespace nglib
+{
+ extern netgen::Array<netgen::Point<3> > readedges;
+}
namespace
{
void HoleFiller::AddHoleBorders( Ng_STL_Geometry * ngStlGeo )
{
+ nglib::readedges.SetSize(0);
+
for ( size_t i = 0; i < myHole.size(); ++i )
for ( size_t iP = 1; iP < myHole[i].size(); ++iP )
{
netgen::mparam.minh = netgen::mparam.maxh;
}
+ // TODO: expose stlparam.resth* to the user
+ // netgen::stlparam.resthcloseedgeenable = 0; // Restrict H due to close edges
+ // netgen::stlparam.resthlinelengthenable = 0; // Restrict H due to line-length
+ // netgen::stlparam.resthatlasenable = 0;
+ // //netgen::stlparam.resthchartdistenable = 0;
+
double h = netgen::mparam.maxh;
ngMesh->SetGlobalH( h );
ngMesh->SetMinimalH( netgen::mparam.minh );