Moved all post/pre processor into their own directory.

This commit is contained in:
Markus Lampert
2017-06-18 17:45:59 -07:00
parent a0d3d020eb
commit 074d012ec3
18 changed files with 33 additions and 19 deletions

View File

@@ -51,6 +51,10 @@ class PathPreferences:
def pathScriptsSourcePath(cls):
return FreeCAD.getHomePath() + ("Mod/Path/PathScripts/")
@classmethod
def pathScriptsPostSourcePath(cls):
return cls.pathScriptsSourcePath() + ("/post/")
@classmethod
def allAvailablePostProcessors(cls):
allposts = []
@@ -108,6 +112,7 @@ class PathPreferences:
if p:
paths.append(p)
paths.append(cls.macroFilePath())
paths.append(cls.pathScriptsPostSourcePath())
paths.append(cls.pathScriptsSourcePath())
return paths