2019-07-26 02:25:58 +05:00
|
|
|
from .libngpy._meshing import *
|
2019-07-29 10:11:57 +05:00
|
|
|
|
|
|
|
class _MeshsizeObject:
|
|
|
|
pass
|
|
|
|
|
|
|
|
meshsize = _MeshsizeObject()
|
|
|
|
|
|
|
|
meshsize.very_coarse = MeshingParameters(curvaturesafety=1,
|
|
|
|
segmentsperedge=0.3,
|
|
|
|
grading=0.7)
|
|
|
|
meshsize.coarse = MeshingParameters(curvaturesafety=1.5,
|
|
|
|
segmentsperedge=0.5,
|
|
|
|
grading=0.5)
|
|
|
|
meshsize.moderate = MeshingParameters(curvaturesafety=2,
|
|
|
|
segmentsperedge=1,
|
|
|
|
grading=0.3)
|
|
|
|
meshsize.fine = MeshingParameters(curvaturesafety=3,
|
|
|
|
segmentsperedge=2,
|
|
|
|
grading=0.2)
|
|
|
|
meshsize.very_fine = MeshingParameters(curvaturesafety=5,
|
|
|
|
segmentsperedge=3,
|
|
|
|
grading=0.1)
|