netgen/python/__init__.py
2015-10-20 11:09:29 +02:00

17 lines
363 B
Python

from os import environ
from sys import path
from sys import platform as __platform
if __platform.startswith('linux') or __platform.startswith('darwin'):
path.append(environ['NETGENDIR']+'/../lib')
if __platform.startswith('win'):
path.append(environ['NETGENDIR'])
from libngpy import *
from . import csg
from . import meshing
del environ
del path