No project description provided
Project description
Model Resolver
A beet plugin that render all models in the beet project.
Usage
Renders project
Without any installlation, all vanilla models are rendered in this repository
With the CLI
This command will show all available options:
model_resolver --help
# this will render the current resource pack models
model_resolver
# this will render the current resource pack models and load vanilla models
model_resolver --load-vanilla
As a beet plugin
Add the plugin to your pipeline:
# beet.yaml
pipeline:
(...) # other plugins you may have
- model_resolver
# setup an output directory
output: build
meta:
model_resolver:
# load vanilla item models
load_vanilla: true
Renders are now available in your ctx !
Installation
Windows
Install https://visualstudio.microsoft.com/fr/visual-cpp-build-tools/ and add C++ build tools in the installation.
Ubuntu
Generally, you don't need to install anything, but if you have an error, you can try to install the following packages:
sudo apt-get -y install \
freeglut3-dev \
libgl1-mesa-dev \
libxcursor-dev \
libpulse-dev \
libxinerama-dev \
libxrandr-dev \
libxv-dev \
mesa-utils \
libgl1-mesa-glx \
mesa-common-dev \
libglapi-mesa \
libgbm1 \
libgl1-mesa-dri \
libsdl1.2-dev \
libfreetype6-dev \
xvfb \
x11-utils
This is particularly useful in CI, see the github action for an example.
Common installation
Install the plugin by running:
pip install model-resolver
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
model_resolver-0.11.1.tar.gz
(17.7 kB
view hashes)
Built Distribution
Close
Hashes for model_resolver-0.11.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fb3656b08f5796e93070d65bd25d35fbabffff7a9b419c7ef85040eea5b742f |
|
MD5 | 470903a811a5dd6c9b9d7e84a1585e84 |
|
BLAKE2b-256 | da37894fa5d1f5d64def566f77d6abc9538fe91cf359f54c6a44ff4d651e084e |