- Thank you received: 108
Netgen - OpenCascade Geometry
3 years 2 months ago #3974
by joachim
Replied by joachim on topic Netgen - OpenCascade Geometry
Hi Julius,
thank you for the feature request, it was very easy to add. We can now revolve all kind of shapes OCC supports. It's available in the latest nightly.
That is the kind of feedback which is now most helpful.
Best, Joachim
thank you for the feature request, it was very easy to add. We can now revolve all kind of shapes OCC supports. It's available in the latest nightly.
That is the kind of feedback which is now most helpful.
Best, Joachim
3 years 1 month ago #3981
by NV
Replied by NV on topic Netgen - OpenCascade Geometry
It would be great if we could also generate 2D geometries with OCCGeometry.
leads to a 3D mesh where problems occur if the specialcf.normal is calculated.
Best regards
Nils
Code:
from netgen.occ import *
import ngsolve
geometry = WorkPlane().Line(1).Rotate(90).Line(1).Rotate(90).Line(1).Close().Face()
mesh = ngsolve.Mesh(OCCGeometry(geometry).GenerateMesh())
print(mesh.dim)
Best regards
Nils
3 years 1 month ago #3982
by joachim
Replied by joachim on topic Netgen - OpenCascade Geometry
Hi Nils,
yes, this is already available:
The occ-geometry is always 3D. With dim=2 the faces are the volumes, and edges are boundaries.
Here is also a very recent example:
docu.ngsolve.org/nightly/i-tutorials/wta/adaptivity.html
Best, Joachim
yes, this is already available:
Code:
OCCGeometry(geometry, dim=2)
The occ-geometry is always 3D. With dim=2 the faces are the volumes, and edges are boundaries.
Here is also a very recent example:
docu.ngsolve.org/nightly/i-tutorials/wta/adaptivity.html
Best, Joachim
Time to create page: 0.115 seconds