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/

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.15.0.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

model_resolver-0.15.0-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for model_resolver-0.15.0.tar.gz
Algorithm Hash digest
SHA256 6811e4b3433879390a67a526bd4495d0bdccca49b1ccc40f0a22e7726c2a1a82
MD5 c0da3ea981a9c62b760da093097b6e65
BLAKE2b-256 875f13403571c86e554677c0323588486babd4e532bad036971784eaff1e5af9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for model_resolver-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86305ccd2fe6182f6897b410d8c73edaacd380e3fd36f44fb216756bc926f47a
MD5 74da34b6fedf99f419b28966c6333506
BLAKE2b-256 6f7476032582cf1716f3fa84d6a14f3e2082b646cc57c5b79545a17e4da04a8a

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