pyviz3d-noopen3d


Namepyviz3d-noopen3d JSON
Version 0.3.4.2 PyPI version JSON
download
home_pageNone
SummaryPyViz3D is a python package to visualize 3D scenes.
upload_time2024-05-23 13:27:42
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License Copyright (c) 2018 Francis Engelmann <francis.engelmann@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords 3d visualizer blender
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center"><img width="40%" src="docs/img/pyviz3d-logo.png" /></p>

----
PyViz3D is a python package to visualize 3D scenes directly in your browser, and create beautiful renderings with blender.

#### Links

- Install: ```python -m pip install pyviz3d```
- [Examples](#examples)
- [Deployment](#deployment)

# Examples
Scene graph example, including blender rendering.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_graph.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/graph/index.html)
<p align="center">
  <img width="45%" src="docs/img/example_graph.png" />
  <img width="45%" src="docs/img/example_graph_blender.png" />
</p>

Blender example, including blender rendering.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_blender.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/blender/index.html)
<p align="center">
  <img width="45%" src="docs/img/example_blender.png" />
  <img width="45%" src="docs/img/example_blender_blender.png" />
</p>

Arrow example.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_arrows.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/arrows/index.html)
[<p align="center"><img width="60%" src="docs/img/example_arrows.png" /></p>](https://francisengelmann.github.io/pyviz3d_examples/arrows/index.html)

Bounding boxes example.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_bounding_boxes.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/bounding_boxes/index.html)
[<p align="center"><img width="60%" src="docs/img/example_bounding_boxes.png" /></p>](https://francisengelmann.github.io/pyviz3d_examples/bounding_boxes/index.html)

Polygon meshes (.obj and .ply).
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_meshes.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/meshes/index.html)
[<p align="center"><img width="60%" src="docs/img/example_meshes.png" /></p>](https://francisengelmann.github.io/pyviz3d_examples/meshes/index.html)

Point clouds, segments and normals.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_normals.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/normals/index.html)
[<p align="center"><img width="60%" src="docs/img/example_normals.png" /></p>](https://francisengelmann.github.io/pyviz3d_examples/normals/index.html)

Polylines.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_polylines.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/polylines/index.html)
[<p align="center"><img width="60%" src="docs/img/example_polylines.png" /></p>](https://francisengelmann.github.io/pyviz3d_examples/polylines/index.html)

Superquadrics.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_superquadrics.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/superquadrics/index.html)
[<p align="center"><img width="60%" src="docs/img/example_superquadrics.png" /></p>](https://francisengelmann.github.io/pyviz3d_examples/superquadrics/index.html)

Text Labels.
[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_text.py)
[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/text/index.html)
[<p align="center"><img width="60%" src="docs/img/example_text.png" /></p>](https://francisengelmann.github.io/pyviz3d_examples/text/index.html)

<!-- # Blender
To create beautiful illustrations with blender consider the following points:
- Install Blender from https://www.blender.org/ (tested version 4.0).
- Calling `v.save(..., show_in_blender=True)` creates a `.blend` file which you can open in blender.
- Check `examples/examples_graph.py` for a complete example. -->
<!-- 2. Set up alias in you ~/.bashrc or ~/.zshrc etc. -->
<!-- `alias blender="/Applications/Blender.app/Contents/MacOS/Blender"` -->
<!-- then `source ~/.zshrc` -->
<!-- 2. `blender myscene.blend --background --python blender.py` -->
<!-- currently there is no myscene.blend to remove that: `blender --background --python blender.py` -->
<!-- Select camera: View/Cameras/Active Camera     -->
<!-- Lock camera to view:   -->
<!-- Press N to show sidebar.   -->
<!-- Under View, lock camera to view.   -->
<!-- Control the camera with the small coordinate frame on the top right. -->
<!-- 5. This will render an `output.png` -->
<!-- 6. The scene can also be opened in blender `bunny.blend` -->
<!-- 7. Need to install ffmpeg and convert (on mac via brew)   -->
<!-- brew install ffmpeg -->

# Deployment

[Instructions for PyPi](https://packaging.python.org/en/latest/tutorials/packaging-projects/) and [API Token](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#create-an-account).

One time setup:
```
vim ~/.pypirc  # put __token__ as username 
python3 -m pip install build twine
python3 -m pip install --upgrade build
```

Upload latest version to pypi:
```
vim pyproject.toml  # update version
rm -rf dist
rm -rf example_*
python3 -m build
python3 -m twine upload dist/*
```

# BibTeX
Please consider citing PyViz3D in your publications if it helps your research.
```
@misc{engelmann2019pyviz3d,
  title={PyViz3D},
  author={Francis Engelmann},
  year={2019},
  howpublished={\url{https://github.com/francisengelmann/PyViz3D}},
}
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyviz3d-noopen3d",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "3d, visualizer, blender",
    "author": null,
    "author_email": "Francis Engelmann <francis.engelmann@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/66/fa/9e9b4b87aa6d495e5c381edb8c05ba335c7569eb54ad6ab13022c9022d0f/pyviz3d_noopen3d-0.3.4.2.tar.gz",
    "platform": null,
    "description": "<p align=\"center\"><img width=\"40%\" src=\"docs/img/pyviz3d-logo.png\" /></p>\n\n----\nPyViz3D is a python package to visualize 3D scenes directly in your browser, and create beautiful renderings with blender.\n\n#### Links\n\n- Install: ```python -m pip install pyviz3d```\n- [Examples](#examples)\n- [Deployment](#deployment)\n\n# Examples\nScene graph example, including blender rendering.\n[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_graph.py)\n[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/graph/index.html)\n<p align=\"center\">\n  <img width=\"45%\" src=\"docs/img/example_graph.png\" />\n  <img width=\"45%\" src=\"docs/img/example_graph_blender.png\" />\n</p>\n\nBlender example, including blender rendering.\n[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_blender.py)\n[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/blender/index.html)\n<p align=\"center\">\n  <img width=\"45%\" src=\"docs/img/example_blender.png\" />\n  <img width=\"45%\" src=\"docs/img/example_blender_blender.png\" />\n</p>\n\nArrow example.\n[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_arrows.py)\n[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/arrows/index.html)\n[<p align=\"center\"><img width=\"60%\" src=\"docs/img/example_arrows.png\" /></p>](https://francisengelmann.github.io/pyviz3d_examples/arrows/index.html)\n\nBounding boxes example.\n[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_bounding_boxes.py)\n[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/bounding_boxes/index.html)\n[<p align=\"center\"><img width=\"60%\" src=\"docs/img/example_bounding_boxes.png\" /></p>](https://francisengelmann.github.io/pyviz3d_examples/bounding_boxes/index.html)\n\nPolygon meshes (.obj and .ply).\n[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_meshes.py)\n[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/meshes/index.html)\n[<p align=\"center\"><img width=\"60%\" src=\"docs/img/example_meshes.png\" /></p>](https://francisengelmann.github.io/pyviz3d_examples/meshes/index.html)\n\nPoint clouds, segments and normals.\n[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_normals.py)\n[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/normals/index.html)\n[<p align=\"center\"><img width=\"60%\" src=\"docs/img/example_normals.png\" /></p>](https://francisengelmann.github.io/pyviz3d_examples/normals/index.html)\n\nPolylines.\n[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_polylines.py)\n[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/polylines/index.html)\n[<p align=\"center\"><img width=\"60%\" src=\"docs/img/example_polylines.png\" /></p>](https://francisengelmann.github.io/pyviz3d_examples/polylines/index.html)\n\nSuperquadrics.\n[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_superquadrics.py)\n[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/superquadrics/index.html)\n[<p align=\"center\"><img width=\"60%\" src=\"docs/img/example_superquadrics.png\" /></p>](https://francisengelmann.github.io/pyviz3d_examples/superquadrics/index.html)\n\nText Labels.\n[[Show Code]](https://github.com/francisengelmann/PyViz3D/blob/master/examples/example_text.py)\n[[Show Demo]](https://francisengelmann.github.io/pyviz3d_examples/text/index.html)\n[<p align=\"center\"><img width=\"60%\" src=\"docs/img/example_text.png\" /></p>](https://francisengelmann.github.io/pyviz3d_examples/text/index.html)\n\n<!-- # Blender\nTo create beautiful illustrations with blender consider the following points:\n- Install Blender from https://www.blender.org/ (tested version 4.0).\n- Calling `v.save(..., show_in_blender=True)` creates a `.blend` file which you can open in blender.\n- Check `examples/examples_graph.py` for a complete example. -->\n<!-- 2. Set up alias in you ~/.bashrc or ~/.zshrc etc. -->\n<!-- `alias blender=\"/Applications/Blender.app/Contents/MacOS/Blender\"` -->\n<!-- then `source ~/.zshrc` -->\n<!-- 2. `blender myscene.blend --background --python blender.py` -->\n<!-- currently there is no myscene.blend to remove that: `blender --background --python blender.py` -->\n<!-- Select camera: View/Cameras/Active Camera     -->\n<!-- Lock camera to view:   -->\n<!-- Press N to show sidebar.   -->\n<!-- Under View, lock camera to view.   -->\n<!-- Control the camera with the small coordinate frame on the top right. -->\n<!-- 5. This will render an `output.png` -->\n<!-- 6. The scene can also be opened in blender `bunny.blend` -->\n<!-- 7. Need to install ffmpeg and convert (on mac via brew)   -->\n<!-- brew install ffmpeg -->\n\n# Deployment\n\n[Instructions for PyPi](https://packaging.python.org/en/latest/tutorials/packaging-projects/) and [API Token](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#create-an-account).\n\nOne time setup:\n```\nvim ~/.pypirc  # put __token__ as username \npython3 -m pip install build twine\npython3 -m pip install --upgrade build\n```\n\nUpload latest version to pypi:\n```\nvim pyproject.toml  # update version\nrm -rf dist\nrm -rf example_*\npython3 -m build\npython3 -m twine upload dist/*\n```\n\n# BibTeX\nPlease consider citing PyViz3D in your publications if it helps your research.\n```\n@misc{engelmann2019pyviz3d,\n  title={PyViz3D},\n  author={Francis Engelmann},\n  year={2019},\n  howpublished={\\url{https://github.com/francisengelmann/PyViz3D}},\n}\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2018 Francis Engelmann <francis.engelmann@gmail.com>  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "PyViz3D is a python package to visualize 3D scenes.",
    "version": "0.3.4.2",
    "project_urls": {
        "Homepage": "https://github.com/Silvanosky/PyViz3D"
    },
    "split_keywords": [
        "3d",
        " visualizer",
        " blender"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "75d0268f1521ac80c3981d7076980b50d54256293f7f8231c485a763f91184c0",
                "md5": "d7a5988764addc22cbbc6d8a73200e4b",
                "sha256": "e9bf41f6756c2aff995595ed387ef88c202b358bb9ee50b3831ad5739d10154c"
            },
            "downloads": -1,
            "filename": "pyviz3d_noopen3d-0.3.4.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d7a5988764addc22cbbc6d8a73200e4b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 101057,
            "upload_time": "2024-05-23T13:27:40",
            "upload_time_iso_8601": "2024-05-23T13:27:40.264725Z",
            "url": "https://files.pythonhosted.org/packages/75/d0/268f1521ac80c3981d7076980b50d54256293f7f8231c485a763f91184c0/pyviz3d_noopen3d-0.3.4.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66fa9e9b4b87aa6d495e5c381edb8c05ba335c7569eb54ad6ab13022c9022d0f",
                "md5": "be454840b19d1f23d5e23a6c734bae93",
                "sha256": "43d80f61ae70cee436ed16ba9e336eb72c3cac5343ae043a87b1df043361f376"
            },
            "downloads": -1,
            "filename": "pyviz3d_noopen3d-0.3.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "be454840b19d1f23d5e23a6c734bae93",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 98431,
            "upload_time": "2024-05-23T13:27:42",
            "upload_time_iso_8601": "2024-05-23T13:27:42.047779Z",
            "url": "https://files.pythonhosted.org/packages/66/fa/9e9b4b87aa6d495e5c381edb8c05ba335c7569eb54ad6ab13022c9022d0f/pyviz3d_noopen3d-0.3.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-23 13:27:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Silvanosky",
    "github_project": "PyViz3D",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyviz3d-noopen3d"
}
        
Elapsed time: 0.25556s