Installation and Development
This section covers both user installation and developer setup for EM Tools.
User Installation
System Requirements
Blender 4.4 or later
Operating System: Windows (x64), macOS (ARM / Apple Silicon), macOS (Intel x64), Linux (x64)
At least 4GB RAM (8GB recommended)
500MB free disk space
Note
macOS Intel (x64) is supported up to Blender 4.5 (the last version available for Intel Macs). From Blender 5.0 onwards, only macOS ARM (Apple Silicon) is supported.
Important
Different .zip release files are available for different combinations of Blender version and operating system.
Make sure to download the correct file for your setup. For example:
em_tools-v1.5.0-dev.140-blender5.1-windows-x64.zipfor Blender 5.1 on Windowsem_tools-v1.5.0-dev.140-blender5.0-macos-arm64.zipfor Blender 5.0 on macOS Apple Siliconem_tools-v1.5.0-dev.140-blender4.5-macos-x64.zipfor Blender 4.5 on macOS Intel
Release files with -dev. in the name are development builds. Stable releases (when available) will not have the -dev suffix.
Installing from Extension Package
The recommended way to install EM Tools is through the official Blender extension system:
Download the Extension
Visit the GitHub Releases page
Download the
.zipfile matching your Blender version and operating system
Install in Blender
Open Blender
Navigate to
Edit → Preferences... → Get ExtensionsClick the
Install from Disk...buttonBrowse to the downloaded
.zipfile and select itPress the
Install from DiskbuttonThe extension will be installed automatically
Enable the Extension
Find EM Tools in the add-ons list
Check the box next to it to enable
The EM Tools panels will automatically appear in the 3D Viewport sidebar
Note
The extension automatically installs all required Python dependencies. No manual dependency installation is needed.
Importing the EM Palette in yEd
EM Tools reads .graphml files that use a specific set of node types
(stratigraphic units, sources, paradata, connectors, …). To author or
edit those files in yEd you
need to load the EM palette — a small .graphml file that adds
the EM nodes to yEd’s right-hand drag-and-drop panel.
Download the palette from the palette release page (file:
EM_palette_<version>.graphml).Open yEd and choose
Edit → Manage Palette….In the Manage Palette dialog click Import Section… and select the
.graphmlpalette you downloaded.Tick the new section so it is visible and close the dialog.
The EM palette will now appear in the right-hand panel of yEd as a new section. Drag any node from there onto the canvas to author an EM graph that EM Tools can load directly into Blender.
Todo
Add screenshots — Edit → Manage Palette, the Import Section dialog, and the palette visible in the right-hand panel after import.
Tip
The full walkthrough including video is in Installing EM Tools: yEd and the Blender Add-on.
Updating EM Tools
When a new version is available:
Uninstall the previous version of EM Tools from Blender (if installed)
Restart Blender to ensure all old files are cleared
Download the new
.zipfile from the GitHub Releases page or the Download section of the Extended Matrix web siteInstall it using the process previously described
Blender will automatically update the existing installation
Development Setup
This section is for developers who want to contribute to EM Tools or modify it for their needs.
Prerequisites
Blender 4.4 or later
Python 3.13 (same version as Blender 4.4+)
Git
Visual Studio Code (recommended)
Blender Development extension for VSCode
Setting Up the Development Environment
Clone the Repository
git clone https://github.com/zalmoxes-laran/EM-blender-tools.git cd EM-blender-tools
Install Development Dependencies
Run the setup script to download all required Python wheels:
python scripts/setup_development.pyThis script will:
Create a
wheelsdirectoryDownload all required dependencies for your platform
Ensure compatibility with Blender’s Python version
Configure for Development
Switch to development mode:
python scripts/switch_dev_mode.py dev
This creates a simplified manifest file optimized for VSCode development.
Open in Visual Studio Code
code .Configure VSCode
Ensure your
.vscode/settings.jsoncontains:{ "blender.addon.sourceDirectory": ".", "blender.addon.reloadOnSave": true, "blender.executable": "/path/to/blender" }
Start Development
Press
Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows/Linux)Run
Blender: StartThe addon will load with hot reload enabled
Development Workflow
Daily Development
Make your code changes
Save files - the addon will automatically reload in Blender
Test your changes in the running Blender instance
Note
You may see “already registered” warnings during hot reload. These are normal and can be ignored.
Creating a Release
Switch to Production Mode
python scripts/switch_dev_mode.py prod
Update Version
Update version in
blender_manifest.tomlUpdate version in
__init__.py(bl_info)
Create Git Tag
git tag v1.5.0 git push origin v1.5.0
Automatic Build
GitHub Actions will automatically:
Download wheels for all platforms
Create
.zippackages for each Blender version and platformCreate a GitHub release
Project Structure
EM-blender-tools/
├── __init__.py # Main addon entry point
├── blender_manifest.toml # Extension manifest
├── wheels/ # Dependencies (git-ignored)
├── scripts/ # Development utilities
│ ├── setup_development.py
│ ├── switch_dev_mode.py
│ └── requirements_wheels.txt
├── s3Dgraphy/ # Core library
├── import_operators/ # Import functionality
├── export_operators/ # Export functionality
└── docs/ # Documentation
Important Files
blender_manifest.toml
The extension manifest file that defines:
Metadata (name, version, author)
Dependencies (Python wheels)
Blender version requirements
Platform compatibility
requirements_wheels.txt
Lists all Python dependencies with specific versions:
pandas==2.2.3
numpy==1.26.4
networkx==3.4.2
...
Development Scripts
setup_development.py
Downloads all required Python wheels for your platform:
python scripts/setup_development.py
switch_dev_mode.py
Switches between development and production configurations:
# For development with VSCode
python scripts/switch_dev_mode.py dev
# For production builds
python scripts/switch_dev_mode.py prod
Troubleshooting
Common Issues
- Import Errors
Ensure all wheels are downloaded:
python scripts/setup_development.pyCheck that you’re using Python 3.13
Verify Blender is version 4.4 or later
- VSCode Development Issues
Make sure you’re in development mode:
python scripts/switch_dev_mode.py devCheck VSCode settings point to correct Blender executable
Try restarting VSCode and Blender
- Manifest Errors
Development mode uses a simplified manifest
Production builds require the full manifest with wheel declarations
Getting Help
Join the Telegram community
Open an issue on GitHub
Email: emanuel.demetrescu@cnr.it