Skip to main content

ykdraco

import ykdraco

file = "1.bin"

# read I3S geometry file with draco compressed
with open(file, "rb") as f:
    content = f.read()

# parse draco content
draco = ykdraco.decode(content)
# points, numpy array, format as (x, y, z)
print(f"The count of vertex: {len(draco.points)}")
# normal, numpy array, format as (x, y, z)
print(f"The count of normal: {len(draco.normals)}")
# colors, numpy array, format as (r, g, b, a)
print(f"The count of colors: {len(draco.colors)}")
# uv, numpy array, format as (u, v)
print(f"The count of uv0: {len(draco.tex_coord)}")

I3S draco geometry file decoder

Installation

Binary wheels are available for users with Python >= 3.6 and pip >= 20.

Installation from source requires Python >= 3.6, pip >= 10, and a C++ compiler that is fully compatible with C++11.

It supports Linux, OS X, and Windows. Numpy is required.

pip install ykdraco

Metadata

Release files for ykdraco 1.0.0

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

Built distributions (wheels)

Table of built distributions (wheels) for ykdraco 1.0.0
File Interpreter ABI Platform Actions
ykdraco-1.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ykdraco-1.0.0-cp311-cp311-win_amd64.whl
ykdraco-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for ykdraco-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Total release size: 9.3 MB

Release files / ykdraco-1.0.0-cp311-cp311-win_amd64.whl

Download URL ykdraco-1.0.0-cp311-cp311-win_amd64.whl
Size 4.8 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
b51eafe6794b7bf796273255235612038bd94393421a94f9008d4bb3f73b5291
BLAKE2b-256 checksum
How to use checksums
b3a6fb89f2befac5899b59a76a1682a281b7e62dc97c6f8949bd20ec91fe9a2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / ykdraco-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL ykdraco-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 4.5 MB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
433128fa95e9bf3cff51d940d1f33fbbefa508b423a6597b139247991d484b09
BLAKE2b-256 checksum
How to use checksums
2ed04042fbbef519946b30ae7beaa499459a84836516eb6f24f2259a335db96e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for ykdraco 1.0.0

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.

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