Skip to main content

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

Pypi: https://pypi.org/project/model-resolver/

Credits

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

model_resolver-0.16.1.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

model_resolver-0.16.1-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file model_resolver-0.16.1.tar.gz.

File metadata

  • Download URL: model_resolver-0.16.1.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for model_resolver-0.16.1.tar.gz
Algorithm Hash digest
SHA256 54f228634a4dd958be72dbe1def9280e01d754ba203fa4a04264fa69c26b3b19
MD5 39fe7cd3ef55aa4d11317674b327c3c0
BLAKE2b-256 6185f33582f61615a406ed1910e03ba25306f871b83454bcc7f3c90b32984205

See more details on using hashes here.

File details

Details for the file model_resolver-0.16.1-py3-none-any.whl.

File metadata

  • Download URL: model_resolver-0.16.1-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for model_resolver-0.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f859a39eaeaa1d57e652edbcf52987ca0c962e50934b60347c6af758d6812364
MD5 79a1ccf4ee5f3b47c665cc39acc8897a
BLAKE2b-256 cc14d0d640aed9a04dcb3a735e188e02a34c0f0b979f3270b501dc58c05ad69b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page