netgen/python/csg.py
Joachim Schoeberl c216e3f3ed vis-library
2014-10-06 09:57:44 +00:00

12 lines
350 B
Python

from netgen import __platform
if __platform.startswith('linux') or __platform.startswith('darwin'):
# Linux or Mac OS X
from libcsg.csg import *
from libcsgvis import *
import libmesh.meshing
# from libmesh.meshing import *
if __platform.startswith('win'):
# Windows
from nglib.csg import *
from nglib.meshing import *