netgen/python/csg.py

13 lines
388 B
Python
Raw Normal View History

2014-10-02 12:29:55 +00:00
from netgen import __platform
if __platform.startswith('linux') or __platform.startswith('darwin'):
2014-10-02 11:10:40 +00:00
# Linux or Mac OS X
2014-10-01 10:31:22 +00:00
from libcsg.csg import *
2014-10-08 13:37:37 +00:00
from libcsgvis.csgvis import *
2014-10-06 09:57:44 +00:00
import libmesh.meshing
# from libmesh.meshing import *
2014-10-02 12:29:55 +00:00
if __platform.startswith('win'):
2014-10-01 10:31:22 +00:00
# Windows
from nglib.csg import *
2014-10-08 13:37:37 +00:00
from nglib.csgvis import *
2014-10-01 10:31:22 +00:00
from nglib.meshing import *