mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
set STL geomtype
This commit is contained in:
parent
977e39e1c0
commit
8d932819dd
@ -1343,6 +1343,8 @@ int STLMeshingDummy (STLGeometry* stlgeometry, Mesh*& mesh,
|
|||||||
{
|
{
|
||||||
|
|
||||||
mesh = new Mesh();
|
mesh = new Mesh();
|
||||||
|
mesh->geomtype = Mesh::GEOM_STL;
|
||||||
|
|
||||||
mesh -> SetGlobalH (mparam.maxh);
|
mesh -> SetGlobalH (mparam.maxh);
|
||||||
mesh -> SetLocalH (stlgeometry->GetBoundingBox().PMin() - Vec3d(10, 10, 10),
|
mesh -> SetLocalH (stlgeometry->GetBoundingBox().PMin() - Vec3d(10, 10, 10),
|
||||||
stlgeometry->GetBoundingBox().PMax() + Vec3d(10, 10, 10),
|
stlgeometry->GetBoundingBox().PMax() + Vec3d(10, 10, 10),
|
||||||
|
Loading…
Reference in New Issue
Block a user