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: about 1 year ago
JSON representation

Extensions to Blender to draw accelerator lattices

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.3/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 bpy-lattice into Blender's Python environment.

Arguments:
The version of Blender to target (e.g., 4.2).
[--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/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.