Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christophermayes/bpy-lattice
Extensions to Blender to draw accelerator lattices
https://github.com/christophermayes/bpy-lattice
Last synced: 25 days ago
JSON representation
Extensions to Blender to draw accelerator lattices
- Host: GitHub
- URL: https://github.com/christophermayes/bpy-lattice
- Owner: ChristopherMayes
- License: apache-2.0
- Created: 2020-07-13T20:51:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-26T17:04:38.000Z (2 months ago)
- Last Synced: 2024-12-10T12:03:17.530Z (26 days ago)
- Language: Python
- Homepage: https://christophermayes.github.io/bpy-lattice/
- Size: 104 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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
bash scripts/install_blender_package.sh
Usage: scripts/install_blender_package.sh [--editable]This script installs a local Python package into Blender's Python environment.
Arguments:
The version of Blender to target (e.g., 4.2).
The path to the local Python package to install.
[--editable] Optional flag to install the package in editable mode.Base Path: /Users//Library/Application Support/Blender
Modules Path: /Users//Library/Application Support/Blender//scripts/modulesExamples:
scripts/install_blender_package.sh 4.2 /path/to/your/package
scripts/install_blender_package.sh 4.2 /path/to/your/package --editableThis script also lists available Blender versions if arguments are missing or incorrect.
Available Blender versions:
4.2
```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.