chiark / gitweb /
Move SF into its own directory, to seperate SF and Cura. Rename newui to gui.
[cura.git] / Cura / cura_sf / fabmetheus_utilities / geometry / __init__.py
1 """
2 This page is in the table of contents.
3 This is required to workaround the python import bug where relative imports don't work if the module is imported as a main module.
4 """
5 import os
6 import sys
7 numberOfLevelsDeepInPackageHierarchy = 2
8 packageFilePath = os.path.abspath(__file__)
9 for level in range( numberOfLevelsDeepInPackageHierarchy + 1 ):
10         packageFilePath = os.path.dirname( packageFilePath )
11 if packageFilePath not in sys.path:
12         sys.path.insert( 0, packageFilePath )