Hide menu
Loading...
Searching...
No Matches
Building Python Examples

In order to use Python examples, install the Manufacturing Toolkit Python package using the command below. The Python wheel index URL and the Python examples download link can be found in the "Welcome to evaluation" email or on the license page in Customer Corner.

python -m pip install mtk --extra-index-url="<python-wheel-index-url>"
Note
Open the folder with Python examples. Save the development license file as mtk_license.py in this folder, and place the matching runtime license file next to this development license file. This layout is intended for examples only. In production applications, place the runtime license file next to the application executable.

From here on out Python examples are ready to run with one of the supported Python versions (3.7-3.13 on Windows and Linux). The example file can be called using the helper run.py file or by passing the required arguments using the command line:

# using sample models
$ python mtk/sheet_metal/unfolder/run.py
# user-provided models
$ python mtk/sheet_metal/unfolder/unfolder.py <input-model> <output_folder>