pyviz3d


Namepyviz3d JSON
Version 0.3.0 PyPI version JSON
download
home_page
SummaryPyViz3D is a python package to visualize 3D scenes.
upload_time2024-03-09 19:05:36
maintainer
docs_urlNone
author
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: ```pip install pyviz3d```
- [Documentation](https://francisengelmann.github.io/PyViz3D/)
- [Examples](https://github.com/francisengelmann/PyViz3D/tree/master/examples)
- [Blender Instructions](https://github.com/francisengelmann/PyViz3D/tree/master?tab=readme-ov-file#blender)

### 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>

Polygon meshes example.
[[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)

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)

Polyline example.
[[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)

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)

Point clouds and segments example.
[[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.png" /></p>](https://francisengelmann.github.io/pyviz3d_examples/normals/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 -->

# 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": "",
    "name": "pyviz3d",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "3d,visualizer,blender",
    "author": "",
    "author_email": "Francis Engelmann <francis.engelmann@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/52/6f/2381d610b2e7e33850e4577daa9c52047a85bc06e9b1ee8a4f0ade52305e/pyviz3d-0.3.0.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: ```pip install pyviz3d```\n- [Documentation](https://francisengelmann.github.io/PyViz3D/)\n- [Examples](https://github.com/francisengelmann/PyViz3D/tree/master/examples)\n- [Blender Instructions](https://github.com/francisengelmann/PyViz3D/tree/master?tab=readme-ov-file#blender)\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\nPolygon meshes example.\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\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\nPolyline example.\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\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\nPoint clouds and segments example.\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.png\" /></p>](https://francisengelmann.github.io/pyviz3d_examples/normals/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# 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.0",
    "project_urls": {
        "Homepage": "https://github.com/francisengelmann/pyviz3d"
    },
    "split_keywords": [
        "3d",
        "visualizer",
        "blender"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9fa6d2106e8e72f9c09d54300527f00fb6d3bdbe67b15f0dc6c8c45464165045",
                "md5": "dedd2e275b673d10ffb24b7062a9fa8a",
                "sha256": "cd95bbbde85a12f26d2502c09407bfcb16aa08c4af162afe280394d0cec330e1"
            },
            "downloads": -1,
            "filename": "pyviz3d-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dedd2e275b673d10ffb24b7062a9fa8a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 98580,
            "upload_time": "2024-03-09T19:05:34",
            "upload_time_iso_8601": "2024-03-09T19:05:34.294569Z",
            "url": "https://files.pythonhosted.org/packages/9f/a6/d2106e8e72f9c09d54300527f00fb6d3bdbe67b15f0dc6c8c45464165045/pyviz3d-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "526f2381d610b2e7e33850e4577daa9c52047a85bc06e9b1ee8a4f0ade52305e",
                "md5": "e1630c84b3c53cfe4ad57dc6815a3bce",
                "sha256": "b8281f11002c2c18ea18076b9404023226d311df765c66c83f723b0ded6af2e7"
            },
            "downloads": -1,
            "filename": "pyviz3d-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e1630c84b3c53cfe4ad57dc6815a3bce",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 95711,
            "upload_time": "2024-03-09T19:05:36",
            "upload_time_iso_8601": "2024-03-09T19:05:36.268188Z",
            "url": "https://files.pythonhosted.org/packages/52/6f/2381d610b2e7e33850e4577daa9c52047a85bc06e9b1ee8a4f0ade52305e/pyviz3d-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-09 19:05:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "francisengelmann",
    "github_project": "pyviz3d",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyviz3d"
}
        
Elapsed time: 0.19816s