meshemy


Namemeshemy JSON
Version 2.0.0 PyPI version JSON
download
home_page
SummaryDeveloper friendly suite for manipulating mesh
upload_time2023-07-26 18:11:38
maintainer
docs_urlNone
authorcaniko
requires_python>=3.10,<3.11.0
licenseBSD-4
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Meshemy: Python toolbelt for manipulating mesh
Consolidation package for manipulating mesh. Comes with cookbook models from each package

## Installation
```shell
pip install meshemy[full]
```
Use it in your poetry package
```shell
poetry add meshemy -E full
```

## Usage
You need to pick at least one extra for this package to be useful. Install all modules by installing `full`.

### Cookbook
Currently, Blender, Open3D, and Trimesh is supported.

#### Blender
The `blender` extra must be installed.
```python
from meshemy.cookbook.blender import BlenderCookbook

blender_cook = BlenderCookbook.from_file("path_to_mesh.<any_format>")
blender_cook.planar_decimate(degree_tol=5.0)
```
You can convert to any other cookbook `.to_o3d()`, for instance.

#### Open3D
The `open3d` extra must be installed.
```python
from meshemy.cookbook.open3d import Open3dCookbook

o3d_cook = Open3dCookbook.from_file("path_to_mesh.<any_format>")
o3d_cook.smoothen(5)
o3d_cook.repair()
```

#### Open3D
The `trimesh` extra must be installed.
```python
from meshemy.cookbook.trimesh import TrimeshCookbook

trimesh_cook = TrimeshCookbook.from_file("path_to_mesh.<any_format>")
trimesh_cook.contains(vertices)
```

### More
For more information, look at the source code, it is relatively easy to read. Start in the `cookbook` submodule.
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "meshemy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<3.11.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "caniko",
    "author_email": "canhtart@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/92/2e/1efb2f966e6cd3a6ae94fb67f644e4d55906a5c4f35dd37fa22a46f2f4fe/meshemy-2.0.0.tar.gz",
    "platform": null,
    "description": "# Meshemy: Python toolbelt for manipulating mesh\nConsolidation package for manipulating mesh. Comes with cookbook models from each package\n\n## Installation\n```shell\npip install meshemy[full]\n```\nUse it in your poetry package\n```shell\npoetry add meshemy -E full\n```\n\n## Usage\nYou need to pick at least one extra for this package to be useful. Install all modules by installing `full`.\n\n### Cookbook\nCurrently, Blender, Open3D, and Trimesh is supported.\n\n#### Blender\nThe `blender` extra must be installed.\n```python\nfrom meshemy.cookbook.blender import BlenderCookbook\n\nblender_cook = BlenderCookbook.from_file(\"path_to_mesh.<any_format>\")\nblender_cook.planar_decimate(degree_tol=5.0)\n```\nYou can convert to any other cookbook `.to_o3d()`, for instance.\n\n#### Open3D\nThe `open3d` extra must be installed.\n```python\nfrom meshemy.cookbook.open3d import Open3dCookbook\n\no3d_cook = Open3dCookbook.from_file(\"path_to_mesh.<any_format>\")\no3d_cook.smoothen(5)\no3d_cook.repair()\n```\n\n#### Open3D\nThe `trimesh` extra must be installed.\n```python\nfrom meshemy.cookbook.trimesh import TrimeshCookbook\n\ntrimesh_cook = TrimeshCookbook.from_file(\"path_to_mesh.<any_format>\")\ntrimesh_cook.contains(vertices)\n```\n\n### More\nFor more information, look at the source code, it is relatively easy to read. Start in the `cookbook` submodule.",
    "bugtrack_url": null,
    "license": "BSD-4",
    "summary": "Developer friendly suite for manipulating mesh",
    "version": "2.0.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "64843c8dec82877a30a112249402576e92afa574000556097ee44750b0adc563",
                "md5": "0bbbd7475d2c2b88347cfd18063dfca3",
                "sha256": "168ffbd6a5c7b874eefd928969c9661fcfd29588624cbd709f33748a725412b1"
            },
            "downloads": -1,
            "filename": "meshemy-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0bbbd7475d2c2b88347cfd18063dfca3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<3.11.0",
            "size": 12728,
            "upload_time": "2023-07-26T18:11:36",
            "upload_time_iso_8601": "2023-07-26T18:11:36.678643Z",
            "url": "https://files.pythonhosted.org/packages/64/84/3c8dec82877a30a112249402576e92afa574000556097ee44750b0adc563/meshemy-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "922e1efb2f966e6cd3a6ae94fb67f644e4d55906a5c4f35dd37fa22a46f2f4fe",
                "md5": "42d36aa20f1e3f7005c3dc540b1c300b",
                "sha256": "a5f0bb0e123749682add75bd50c8b4747915fe4892657cdef78d9ecaf2ab7b70"
            },
            "downloads": -1,
            "filename": "meshemy-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "42d36aa20f1e3f7005c3dc540b1c300b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<3.11.0",
            "size": 8704,
            "upload_time": "2023-07-26T18:11:38",
            "upload_time_iso_8601": "2023-07-26T18:11:38.423928Z",
            "url": "https://files.pythonhosted.org/packages/92/2e/1efb2f966e6cd3a6ae94fb67f644e4d55906a5c4f35dd37fa22a46f2f4fe/meshemy-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-26 18:11:38",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "meshemy"
}
        
Elapsed time: 0.30703s