netgen/python/csg.py
2014-10-02 12:29:55 +00:00

10 lines
294 B
Python

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