App Configuration¶
Auto-detected¶
Application configuration will be auto-detected at start up of MICpad. The binaries and paths, e.g. for examples and documentation, are configured here and will be used in other parts of MICpad, e.g. in the example dialog.
Auto-detected configuration (Windows)
MICpad searches MICRESS, HOMAT applications or internal Python distributions in the following locations:
-
MICRESS_Bin or HOMAT_Bin environment variable
-
two directories up from the MICpad start up path assuming other MICRESS or HOMAT version installed at the same level as the started one
Auto-detected configurations cannot be changed. But they are useful to create own combinations. MICRESS version older than version 6.4 have to be set manually.
Note
Application configurations will be stored in a .micpadrc file in the user's home directory. If such a file exists, auto-detection will be skipped and the given configuration will be read from the resource file. Auto-Detect
allows repeating this detection when something has changed on the computer.
Note
Thermo-Calc will not be auto-detected in this version. It has to be configured manually.
Create new and modify configurations¶
New configuration can be created by changing the configuration name and clicking create
. Now, all configuration attributes can be changed and configured according to your needs.
Some scenarios might be:
-
The examples are installed at a location with user's write permission (e.g. Document folder).
-
You got a MICRESS beta version.
-
Switching between offline and online documentation
-
Adding your own Python environment or an Thermo-Calc version
New configuration using the offline documentation
Note
An app configuration will be used only if it is enabled in the run configuration of the active driving file.
Thermo-Calc configuration¶
These kind of configurations are used in MICpad to execute Thermo-Calc macros (.TCM), i.e. a Thermo-Calc console with a TCM file as a parameter.
Not all application settings are required for this purpose. A proper configuration differs between Linux and Windows.
Required settings
-
Common:
- Path: Thermo-Calc's home directory
-
Linux:
- Console: /Console.sh
-
Windows:
- GUI: /Thermo-Calc.bat
Note
The default Thermo-Calc application (i.e. the path) will be used for database detection in the Solidification Wizard.
Python environment configuration¶
These kind of configurations are used in MICpad to run Python scripts (.py)and to start Jupyter notebooks (*.ipynb) in your default browser.
Not all application settings are required for this purpose. A proper configuration differs between Linux and Windows.
Required settings
-
Common
- Path: Root path of the Python environment
-
Linux
- Python: Python interpreter /bin/python
- Jupyter: Jupyter notebook binary /bin/jupyter
-
Windows
- Python: Python interpreter /bin/python.exe
- Jupyter: Jupyter notebook binary /Scripts/jupyter.exe