Skip to main content

Visualize3D

A small library to help with 3d visualizing (pointclouds).

Getting Started

Please make sure you have pytorch installed properly as a first step.

pip install visualize3d

Usage

In your code you can create visualizations:

import numpy as np
import visualize3d as v3d

# First create a list of geometries to show.
N=42
geometries = [
    # Pointcloud (N, 3)
    v3d.create_pointcloud_from_numpy(
        pointcloud=np.random.rand(N, 3),
    ),
    # Add random lines (e.g. for a box or trajectory)
    v3d.create_lines_from_numpy(
        points=np.random.rand(N, 3),
        lines=np.array([i, i + 1] for i in range(N - 1)),
    ),
    # Add the origin arrows (X=red, Y=green, Z=blue).
    v3d.create_origin()
]

# Save visualization to disk (usefull in remote work or when batch processing)
v3d.save("output.v3d.npy", geometries)

# or show directly (if you work locally or interactive)
v3d.show(geometries)

To show a visualization that was saved to disk, you can write your own code or simply use the visualize3d commandline tool.

# Show visualization from above
visualize3d /path/to/output.v3d.npy

# Show a pcd file directly
visualize3d /path/to/filename.pcd

# Show all supported files in a folder after another
visualize3d /path/to/folder

Contributing

Currently there are no guidelines on how to contribute, so the best thing you can do is open up an issue and get in contact that way. In the issue we can discuss how you can implement your new feature or how to fix that nasty bug.

To contribute, please fork the repositroy on github, then clone your fork. Make your changes and submit a merge request.

License

This repository is under MIT License. Please see the full license here.

Metadata

Release files for visualize3d 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for visualize3d 1.0.1
File Size Uploaded Provenance
visualize3d-1.0.1.tar.gz 5.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for visualize3d 1.0.1
File Interpreter ABI Platform
visualize3d-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / visualize3d-1.0.1.tar.gz

Download URL visualize3d-1.0.1.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
69b1717f0ebdeac30c171835e005f2f4707e6f04df91954dee0e1915f0623e66
BLAKE2b-256 checksum
How to use checksums
089139ef98ddd47b670c291904eaea61d3e38748d5fd0f03568185b24aa79520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Release files / visualize3d-1.0.1-py3-none-any.whl

Download URL visualize3d-1.0.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f825a86e0ca0f0345f022df1ce77c62f052d7aec5becc71ebe78c52e1c2996dc
BLAKE2b-256 checksum
How to use checksums
4bb49c690faaed929f8a76459bbe62e2131a4f38225a679f603761c523bc99e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

Security for visualize3d 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page