hello guys,
most of the time my python script/ngsolve works well, all fine, but with some *.stp parts there is following problem:
i call my python script, NGSolve starts. OK
I see the meshing progress in the statusbar bottom/right from NGSolve. OK
But the loaded *.stp part in NGSolve does not get a mesh, after the progress is ready there is no mesh it is still the normal loaded *.stp part.
What is wrong? (most of the time it works well, but with some parts it does not work).
The strange thing is if i click in NGSolve "Generate Mesh" by hand, all works fine!
Here is my python code, I really do not know what is wrong with it?
from netgen.occ import *
from netgen.meshing import MeshingStep
geo = OCCGeometry("//L1/Test1/mail/user/ng/projects/user/abc/Teil_1.stp")
mesh = geo.GenerateMesh(meshsize.very_coarse, perfstepsstart=MeshingStep.ANALYSE, perfstepsend=MeshingStep.MESHSURFACE)
Draw(Mesh(mesh))
mesh.Export("//L1/Test1/mail/user/ng/projects/user/abc/Teil_1.stl", 'STL Format')
regards, mario