Tools for creating particle accelerator models in Blender
Project description
bpy-lattice
Extensions to Blender to draw accelerator lattices
Installation into Blender
Blender ships with its own Python. On macOS, this is in a place like:
/Applications/Blender.app/Contents/Resources/4.2/python/bin/python3.11
This package includes a general installation script for macOS:
bash scripts/install_blender_package.sh
Usage: scripts/install_blender_package.sh <blender_version> [--editable]
This script installs bpy-lattice into Blender's Python environment.
Arguments:
<blender_version> The version of Blender to target (e.g., 4.2).
[--editable] Optional flag to install the package in editable mode.
Base Path: /Users/cmayes/Library/Application Support/Blender
Modules Path: /Users/ChristopherMayes/Library/Application Support/Blender/<version>/scripts/modules
Examples:
scripts/install_blender_package.sh 4.2
scripts/install_blender_package.sh 4.2 --editable
This script also lists available Blender versions if arguments are missing or incorrect.
Available Blender versions:
4.3
Note that older installation methods no longer work.
Usage
Open Blender, and choose the scripting tab.
Paste the contents of scripts/make_lattice.py in the editor. Edit to point to a valid .layout_table file, and run the script.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bpy_lattice-0.3.1.tar.gz
(31.1 kB
view details)
File details
Details for the file bpy_lattice-0.3.1.tar.gz.
File metadata
- Download URL: bpy_lattice-0.3.1.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
215d6eee33ccbbb5c388616be378a95a631f9013f7214e324231dc5713b595ef
|
|
| MD5 |
c5f889517211332c55fb8c5587a9c6a8
|
|
| BLAKE2b-256 |
5973ce3bc059e67ddb9a50e818f006dd32dec877509b1b9720320416d2f30d1e
|