Name | model-resolver JSON |
Version |
0.10.0
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-07-17 17:03:18 |
maintainer | None |
docs_url | None |
author | edayot |
requires_python | <4.0,>=3.10 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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](https://github.com/edayot/renders/tree/renders)
### With the CLI
This command will show all available options:
```bash
model_resolver --help
```
```bash
# this will render the current resource pack models
model_resolver
```
```bash
# 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:
```yaml
# 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:
```bash
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](./.github/workflows/artifact.yml) for an example.
### Common installation
Install the plugin by running:
```bash
pip install model-resolver
```
Pypi: https://pypi.org/project/model-resolver/
Raw data
{
"_id": null,
"home_page": null,
"name": "model-resolver",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": null,
"author": "edayot",
"author_email": "pro.e.dayot@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/53/1e/4f9b9c3663ffc356db1c1b5353ca0c6e4c55744ef3a916580a52c57ef3b1/model_resolver-0.10.0.tar.gz",
"platform": null,
"description": "# Model Resolver\n\nA beet plugin that render all models in the beet project.\n\n\n## Usage\n\n\n### Renders project\n\nWithout any installlation, all vanilla models are rendered in this [repository](https://github.com/edayot/renders/tree/renders)\n\n### With the CLI\n\nThis command will show all available options:\n\n```bash\nmodel_resolver --help\n```\n\n```bash\n# this will render the current resource pack models\nmodel_resolver \n```\n\n```bash\n# this will render the current resource pack models and load vanilla models\nmodel_resolver --load-vanilla\n```\n\n\n\n### As a beet plugin\nAdd the plugin to your pipeline:\n\n```yaml\n# beet.yaml\npipeline:\n (...) # other plugins you may have\n - model_resolver\n\n# setup an output directory\noutput: build\n\nmeta:\n model_resolver:\n # load vanilla item models\n load_vanilla: true\n\n```\n\nRenders are now available in your ctx !\n\n\n## Installation\n\n### Windows\n\nInstall https://visualstudio.microsoft.com/fr/visual-cpp-build-tools/ and add C++ build tools in the installation.\n\n### Ubuntu\n\nGenerally, you don't need to install anything, but if you have an error, you can try to install the following packages:\n\n```bash\nsudo apt-get -y install \\\n freeglut3-dev \\\n libgl1-mesa-dev \\\n libxcursor-dev \\\n libpulse-dev \\\n libxinerama-dev \\\n libxrandr-dev \\\n libxv-dev \\\n mesa-utils \\\n libgl1-mesa-glx \\\n mesa-common-dev \\\n libglapi-mesa \\\n libgbm1 \\\n libgl1-mesa-dri \\\n libsdl1.2-dev \\\n libfreetype6-dev \\\n xvfb \\\n x11-utils\n```\n\nThis is particularly useful in CI, see [the github action](./.github/workflows/artifact.yml) for an example.\n\n### Common installation\n\nInstall the plugin by running:\n\n```bash\npip install model-resolver\n```\n\nPypi: https://pypi.org/project/model-resolver/\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": null,
"version": "0.10.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e949c62cbc64c3d19064e4d5b4eb6d2be6e51eb32263d8efa595ccd24791ac14",
"md5": "1eb587c1a27f2f97e524bea6b419090b",
"sha256": "67b744f75f52867e63c3b029dcb2298083ea244856b5cb1df1c816bdbed61b00"
},
"downloads": -1,
"filename": "model_resolver-0.10.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1eb587c1a27f2f97e524bea6b419090b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 20110,
"upload_time": "2024-07-17T17:03:17",
"upload_time_iso_8601": "2024-07-17T17:03:17.242226Z",
"url": "https://files.pythonhosted.org/packages/e9/49/c62cbc64c3d19064e4d5b4eb6d2be6e51eb32263d8efa595ccd24791ac14/model_resolver-0.10.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "531e4f9b9c3663ffc356db1c1b5353ca0c6e4c55744ef3a916580a52c57ef3b1",
"md5": "45524864b7abe8d2304618b4b5b16c41",
"sha256": "6b011b5d2684f2a728d359fb5d62731c588305d2391ab7aa7be49ab470a9e270"
},
"downloads": -1,
"filename": "model_resolver-0.10.0.tar.gz",
"has_sig": false,
"md5_digest": "45524864b7abe8d2304618b4b5b16c41",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 17411,
"upload_time": "2024-07-17T17:03:18",
"upload_time_iso_8601": "2024-07-17T17:03:18.556182Z",
"url": "https://files.pythonhosted.org/packages/53/1e/4f9b9c3663ffc356db1c1b5353ca0c6e4c55744ef3a916580a52c57ef3b1/model_resolver-0.10.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-17 17:03:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "model-resolver"
}