Config var name | Synopsis | Example M$ | Example Posix (Linux) |
---|---|---|---|
UserAppData | Path where FreeCAD stores User Related application data. | C:Documents and SettingsusernameAppDataFreeCADShort path : %APPDATA%FreeCAD | /home/username/.FreeCADShort path : ~/.FreeCAD |
UserParameter | File where FreeCAD stores User Related application data. | C:Documents and SettingsusernameAppDataFreeCADuser.cfgShort path : %APPDATA%FreeCADuser.cfg | /home/username/.FreeCAD/user.cfgShort path : ~/.FreeCAD/user.cfg |
SystemParameter | File where FreeCAD stores Application Related data. | C:Documents and SettingsusernameAppDataFreeCADsystem.cfgShort path : %APPDATA%FreeCADsystem.cfg | /home/username/.FreeCAD/system.cfgShort path : ~/.FreeCAD/system.cfg |
UserHomePath | Home path of the current user | C:Documents and SettingsusernameShort path : %USERPROFILE% | /home/usernameShort path : ~ |
Config var name | Synopsis | Example |
---|---|---|
LoggingFile | 1 if the logging is switched on | 1 |
LoggingFileName | File name where the log is placed | C:Documents and SettingsusernameAppDataFreeCADFreeCAD.log |
RunMode | This indicates how the main loop will work. 'Script' means that the given script is called and then exit. 'Cmd' runs the command line interpreter. 'Internal' runs an internal script. 'Gui' enters the Gui event loop. 'Module' loads a given python module. | 'Cmd' |
FileName | Meaning depends on the RunMode | |
ScriptFileName | Meaning depends on the RunMode | |
Verbose | Verbosity level of FreeCAD | ' or 'strict' |
OpenFileCount | Holds the number of files opened through command line arguments | '12' |
AdditionalModulePaths | Holds the additional Module paths given in the cmd line | 'extraModules/' |
Config var name | Synopsis | Example M$ | Example Posix (Linux) |
---|---|---|---|
AppHomePath | Path where FreeCAD is installed | c:/Progam Files/FreeCAD_0.7 | /user/local/FreeCAD_0.7 |
PythonSearchPath | Holds a list of paths which python search modules. This is at startup can change during execution |
Execute a file | System | Command line configuration |
---|---|---|
Module, cfg | Windows | 'C:Program FilesFreeCADbinFreeCAD.exe' -M 'C:FreeCADModDraft' -u 'C:FreeCADConfiguser.cfg' -s 'C:FreeCADConfigsystem.cfg' |
Linux | todo | |
.FCMacro or .py | Windows | 'C:Program FilesFreeCADbinFreeCAD.exe' 'C:UsersuserNameAppDataRoamingFreeCADModWorkFeaturestart_WF.FCMacro' |
Linux | todo | |
How to set up a macro to automatically run at FreeCAD startup | Windows / Linux / Mac | See the page Macro at Startup how to set up a macro to automatically run at FreeCAD startup. |
Config var name | Synopsis | Example |
---|---|---|
BuildVersionMajor | Major Version number of the Build. Defined in src/Build/Version.h.in | 0 |
BuildVersionMinor | Minor Version number of the Build. Defined in src/Build/Version.h.in | 7 |
BuildRevision | SVN Repository Revision number of the src in the Build. Generated by SVN | 356 |
BuildRevisionRange | Range of different changes | 123-356 |
BuildRepositoryURL | Repository URL | https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk/src |
BuildRevisionDate | Date of the above Revision | 2007/02/03 22:21:18 |
BuildScrClean | Indicates if the source was changed after checkout | Src modified |
BuildScrMixed | Src not mixed |
Config var name | Synopsis | Example |
---|---|---|
ExeName | Name of the build Executable file. Can differ from FreeCAD if a different main.cpp is used. | FreeCAD.exe |
ExeVersion | Over all Version shows up at start time | V0.7 |
AppIcon | Icon which is used for the Executable, shows in Application MainWindow. | 'FCIcon' |
ConsoleBanner | Banner which is prompted in console mode | |
SplashPicture | Name of the Icon used for the Splash Screen | 'FreeCADSplasher' |
SplashAlignment | Alignment of the Text in the Splash dialog | 'Bottom' or 'Left' |
SplashTextColor | Color of the splasher Text | '#000000' |
StartWorkbench | Name of the Workbench which get started automatically after Startup | 'Part design' |
HiddenDockWindow | List of dockwindows (separated by a semicolon) which will be disabled | 'Property editor' |