mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
15cbed5e11
It features some key concepts like macro recording, workbenches, ability to run as a server and dynamically loadable application extensions and it is designed to be platform independent. Warning: FreeCAD is still in ALPHA state and not in shape for end user usage! <http://juergen-riegel.net/FreeCAD/Docu/> Suggested by: Pedro F. Giffuni <giffunip (at) yahoo.com>
21 lines
647 B
Python
21 lines
647 B
Python
--- ./src/Gui/FreeCADGuiInit.py.orig Sat Feb 24 11:41:26 2007
|
|
+++ ./src/Gui/FreeCADGuiInit.py Sun Apr 29 10:08:42 2007
|
|
@@ -31,7 +31,7 @@
|
|
|
|
|
|
# imports the one and only
|
|
-import FreeCAD, FreeCADGui
|
|
+import FreeCAD, FreeCADGui, sys
|
|
|
|
# shortcuts
|
|
Gui = FreeCADGui
|
|
@@ -83,6 +83,8 @@
|
|
#print FreeCAD.ConfigGet("HomePath")
|
|
if os.path.isdir(FreeCAD.ConfigGet("HomePath")+'Mod'):
|
|
ModDir = FreeCAD.ConfigGet("HomePath")+'Mod'
|
|
+ elif sys.platform[:7] == 'freebsd':
|
|
+ ModDir = '/usr/local/share/FreeCAD/Mod'
|
|
else:
|
|
if os.path.isdir(FreeCAD.ConfigGet("HomePath")+'src\\Mod'):
|
|
ModDir = FreeCAD.ConfigGet("HomePath")+'src\\Mod'
|