model-resolver


Namemodel-resolver JSON
Version 0.9.0 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-06-13 11:38:08
maintainerNone
docs_urlNone
authoredayot
requires_python<4.0,>=3.10
licenseMIT
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/e3/a7/e43d29a60a420ffcf2807e5aca50163ae7e4a4e4604135bfa428a9d46a24/model_resolver-0.9.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.9.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fef28f2fd38d7724430e93aafbfdbb6d046eba9f7d12dab5efdf9e253c9d7daf",
                "md5": "462e5d3120458bdbd374c9cd1159ee64",
                "sha256": "b0b1da35da8e44100eee1d6139819fe4c63c1c9c6648554846c4ab1c255cf0e1"
            },
            "downloads": -1,
            "filename": "model_resolver-0.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "462e5d3120458bdbd374c9cd1159ee64",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 20102,
            "upload_time": "2024-06-13T11:38:06",
            "upload_time_iso_8601": "2024-06-13T11:38:06.662111Z",
            "url": "https://files.pythonhosted.org/packages/fe/f2/8f2fd38d7724430e93aafbfdbb6d046eba9f7d12dab5efdf9e253c9d7daf/model_resolver-0.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e3a7e43d29a60a420ffcf2807e5aca50163ae7e4a4e4604135bfa428a9d46a24",
                "md5": "bead8807f5c6a05556b1395791fa1170",
                "sha256": "1befe26da84685eab127e4c1bf54c81aa269e3df674574d29b94774f38bcb239"
            },
            "downloads": -1,
            "filename": "model_resolver-0.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bead8807f5c6a05556b1395791fa1170",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 17389,
            "upload_time": "2024-06-13T11:38:08",
            "upload_time_iso_8601": "2024-06-13T11:38:08.054867Z",
            "url": "https://files.pythonhosted.org/packages/e3/a7/e43d29a60a420ffcf2807e5aca50163ae7e4a4e4604135bfa428a9d46a24/model_resolver-0.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-13 11:38:08",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "model-resolver"
}
        
Elapsed time: 0.32567s