Arch: Support user-defined profiles csv file
This commit is contained in:
@@ -51,8 +51,10 @@ else:
|
||||
|
||||
# Presets in the form: Class, Name, Profile type, [profile data]
|
||||
# Search for profiles.csv in data/Mod/Arch/Presets and in the same folder as this file
|
||||
# and in the user path
|
||||
profilefiles = [os.path.join(FreeCAD.getResourceDir(),"Mod","Arch","Presets","profiles.csv"),
|
||||
os.path.join(os.path.dirname(__file__),"Presets","profiles.csv")]
|
||||
os.path.join(os.path.dirname(__file__),"Presets","profiles.csv"),
|
||||
os.path.join(FreeCAD.getUserAppDataDir(),"Arch","profiles.csv")]
|
||||
|
||||
|
||||
def readPresets():
|
||||
|
||||
Reference in New Issue
Block a user