stepalibre
API/Scripting Guru
alibrex is available on PYPI
github.com
alibrex is a Python 3 package for the Alibre Design AlibreX API. This package could be considered a full replacement for Alibre Script with Visual Studio Code, PyCharm, JupyterLab Notebooks, any Python supported text editor or IDE replacing the Alibre Script addon.
Documentation:
The demos, testing files, and helpers are the documentation, along with AlibreX.chm. I suggest exploring all the test files, demos and notebooks to understand how to build with alibrex.
Two good ones:
github.com
github.com
alibrex_package is an ongoing effort I'm making it available while I continue testing and building out missing areas. The process is slow and tedious.
alibrex is not compatible with Alibre Script code you must port your scripts if you want them working in Python 3.
If Alibre Script isn't powerful enough, you want to debug and step through code, program Alibre Design from a system terminal or it isn't working out for you, alibrex may be worth trying.
1. Install Python 3.13
- Get it from https://python.org/downloads/
- Run the installer
- Check the box "Add python.exe to PATH" on the first screen
- Click Install Now
2. Open PowerShell
- Press the Windows key
- Type powershell
- Press Enter
3. Confirm Python works
python --version
- Should print Python 3.13.x
4. Install alibrex
pip install alibrex
5. Open Alibre and any part
- Start Alibre Design
- File → New → Part
6. Test it
python -c "from alibrex import CurrentPart; print(CurrentPart().Name)"
- Should print the part's name
7. Done. You can now write scripts.
GitHub - AlibreDesignCommunityProjects/alibrex_package: alibrex is a Python 3 package for the Alibre Design AlibreX API.
alibrex is a Python 3 package for the Alibre Design AlibreX API. - AlibreDesignCommunityProjects/alibrex_package
alibrex is a Python 3 package for the Alibre Design AlibreX API. This package could be considered a full replacement for Alibre Script with Visual Studio Code, PyCharm, JupyterLab Notebooks, any Python supported text editor or IDE replacing the Alibre Script addon.
Documentation:
The demos, testing files, and helpers are the documentation, along with AlibreX.chm. I suggest exploring all the test files, demos and notebooks to understand how to build with alibrex.
Two good ones:
alibrex_package/notebooks/connect_methods.ipynb at main · AlibreDesignCommunityProjects/alibrex_package
alibrex is a Python 3 package for the Alibre Design AlibreX API. - AlibreDesignCommunityProjects/alibrex_package
alibrex_package/notebooks/diagnose_setup.ipynb at main · AlibreDesignCommunityProjects/alibrex_package
alibrex is a Python 3 package for the Alibre Design AlibreX API. - AlibreDesignCommunityProjects/alibrex_package
alibrex_package is an ongoing effort I'm making it available while I continue testing and building out missing areas. The process is slow and tedious.
alibrex is not compatible with Alibre Script code you must port your scripts if you want them working in Python 3.
If Alibre Script isn't powerful enough, you want to debug and step through code, program Alibre Design from a system terminal or it isn't working out for you, alibrex may be worth trying.
1. Install Python 3.13
- Get it from https://python.org/downloads/
- Run the installer
- Check the box "Add python.exe to PATH" on the first screen
- Click Install Now
2. Open PowerShell
- Press the Windows key
- Type powershell
- Press Enter
3. Confirm Python works
python --version
- Should print Python 3.13.x
4. Install alibrex
pip install alibrex
5. Open Alibre and any part
- Start Alibre Design
- File → New → Part
6. Test it
python -c "from alibrex import CurrentPart; print(CurrentPart().Name)"
- Should print the part's name
7. Done. You can now write scripts.











