netgen/python/csg.py
Matthias Hochsteger 98c57e3202 os test
2014-10-02 11:10:40 +00:00

10 lines
290 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 *