model-resolver


Namemodel-resolver JSON
Version 0.12.0 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-08-15 16:38:45
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/ce/8f/7ed44d111a67baa61b26e80bdaf526e8cb2279ea12dcc419702d29766996/model_resolver-0.12.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.12.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae86a7a5a9e412d04fa335648e30a72df95ed9cbe982ff6c5556337007f6ccfc",
                "md5": "3a54e46ae6983ba73378676696f5f0a3",
                "sha256": "973abe187554777b40b215ba84b20f5c18510f6820c5e333181f5aa7a7e9e695"
            },
            "downloads": -1,
            "filename": "model_resolver-0.12.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3a54e46ae6983ba73378676696f5f0a3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 20410,
            "upload_time": "2024-08-15T16:38:43",
            "upload_time_iso_8601": "2024-08-15T16:38:43.898178Z",
            "url": "https://files.pythonhosted.org/packages/ae/86/a7a5a9e412d04fa335648e30a72df95ed9cbe982ff6c5556337007f6ccfc/model_resolver-0.12.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ce8f7ed44d111a67baa61b26e80bdaf526e8cb2279ea12dcc419702d29766996",
                "md5": "d59ce906f155f7b0c8eff3c1bb87f688",
                "sha256": "784320820093c904436c68c78d162f4c82aa6a9086a6bd079b1b2eaff4ae0fc2"
            },
            "downloads": -1,
            "filename": "model_resolver-0.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d59ce906f155f7b0c8eff3c1bb87f688",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 17590,
            "upload_time": "2024-08-15T16:38:45",
            "upload_time_iso_8601": "2024-08-15T16:38:45.472849Z",
            "url": "https://files.pythonhosted.org/packages/ce/8f/7ed44d111a67baa61b26e80bdaf526e8cb2279ea12dcc419702d29766996/model_resolver-0.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-15 16:38:45",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "model-resolver"
}
        
Elapsed time: 0.71632s