Skip to main content

SolidSKeleton tessellation and format tools

Project description

SolidSKeleton Python

Python 3.10+.

pip install ssk

Commands

ssk validate model.ssk
ssk convert model.ssk model.sskb
ssk convert model.ssk model.glb
ssk convert model.ssk model.glb --resolution 64
ssk convert model.sskb model.glb
ssk convert model.glb model.ssk
ssk convert model.glb model.sskb --expected-piece-count 42
ssk inspect model.sskb

From this directory without installing:

python -m ssk validate model.ssk

Library

from ssklib import convert, inspect_file, load, validate_file

convert("model.ssk", "model.glb", resolution=64)
result = convert("model.glb", "model.ssk", expected_piece_count=42)
print(result.coverage_percent, result.overfill_percent)

Lower-level GLTF import:

from ssklib import import_gltf_to_ssk

result = import_gltf_to_ssk(
    "model.glb",
    expected_piece_count=42,  # soft guide
    infill_weight=1.18,
    outfill_weight=1.05,
    complexity_weight=1.0,
)
print(result.coverage_percent, result.overfill_percent)

quality = result.score_document(some_doc)

Lower-level functions:

from ssklib import parse_ssk, parse_sskb, resolve, validate, write_glb, write_gltf, write_ssk, write_sskb

Notes

  • Mesh output defaults to resolution 32.
  • GLTF/GLB import reconstructs (estimated) SSK-native primitives where practical and reports sampled volume coverage and overfill percentages. expected_piece_count / --expected-piece-count is a soft guide, not an exact target. Import weight options (--infill-weight, --outfill-weight, --complexity-weight) tune the scoring between candidates on a normalised 0–1 scale.
  • glTF output uses unindexed meshes with flat per-face normals.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssk-1.5.0.tar.gz (46.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ssk-1.5.0-cp310-abi3-win_amd64.whl (405.5 kB view details)

Uploaded CPython 3.10+Windows x86-64

ssk-1.5.0-cp310-abi3-manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

ssk-1.5.0-cp310-abi3-manylinux_2_28_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

ssk-1.5.0-cp310-abi3-macosx_11_0_x86_64.whl (346.7 kB view details)

Uploaded CPython 3.10+macOS 11.0+ x86-64

ssk-1.5.0-cp310-abi3-macosx_11_0_arm64.whl (495.6 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file ssk-1.5.0.tar.gz.

File metadata

  • Download URL: ssk-1.5.0.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ssk-1.5.0.tar.gz
Algorithm Hash digest
SHA256 3a8bf648aa6c0904741a8289bd0d12c50257027589182e42660a03c285e3a95d
MD5 ef936e286fa6fae188efaf70b9c6ef8e
BLAKE2b-256 3ba4a041d27f47f69dd1cea3cc5b81f6e05a86be50abc9a36d14073802c471b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssk-1.5.0.tar.gz:

Publisher: publish-pypi.yml on FerroIT/SolidSKeleton

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ssk-1.5.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: ssk-1.5.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 405.5 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ssk-1.5.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 09a31ed3103a46659314d497be06b67ad5e3b2c5a354b7db2ec7aa358a00018c
MD5 a2df7b722c127ae673fd01e4d65ead47
BLAKE2b-256 166b29a92f6bf72ce3d106015ce5443d062c7e44e5d3d1183604bce858de2a06

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssk-1.5.0-cp310-abi3-win_amd64.whl:

Publisher: publish-pypi.yml on FerroIT/SolidSKeleton

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ssk-1.5.0-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: ssk-1.5.0-cp310-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ssk-1.5.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8e4d384fb7f4420c5a03aed377d04044434e059ce6262afb649565d3002958bb
MD5 e8133a5d9ac58b82def7b1c9751c98d9
BLAKE2b-256 453a64f930a0b321cbabf6ba9cf5d13da09e7446893ac0fe039b03c469fe86db

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssk-1.5.0-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish-pypi.yml on FerroIT/SolidSKeleton

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ssk-1.5.0-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for ssk-1.5.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b927eceaf6648e1d1c79d347a16e61bd435183e5e389897e3d084803531ad700
MD5 61b8630283797c80c2ed162d3813d963
BLAKE2b-256 f70ad31ce023230528ef65a1b79dfe50a03ebae0cff6c1d559b9b9a3588dcbae

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssk-1.5.0-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: publish-pypi.yml on FerroIT/SolidSKeleton

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ssk-1.5.0-cp310-abi3-macosx_11_0_x86_64.whl.

File metadata

  • Download URL: ssk-1.5.0-cp310-abi3-macosx_11_0_x86_64.whl
  • Upload date:
  • Size: 346.7 kB
  • Tags: CPython 3.10+, macOS 11.0+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ssk-1.5.0-cp310-abi3-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0eb08246c833585343cff34e385164780158e3d7d6722c6f2733eda8bce69b68
MD5 98c492175907fd63a3a00e3c98546c56
BLAKE2b-256 2824faeb66bb391d73843dee45c34cb92f695ff4c0980b433d2a8f133dcc2673

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssk-1.5.0-cp310-abi3-macosx_11_0_x86_64.whl:

Publisher: publish-pypi.yml on FerroIT/SolidSKeleton

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ssk-1.5.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ssk-1.5.0-cp310-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 495.6 kB
  • Tags: CPython 3.10+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ssk-1.5.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4930c871f44bf295766ec4daf9a3154eefe517831cfd040596abbffc6a194433
MD5 64365a4aa32ad7a183ed4d31474b8282
BLAKE2b-256 0e8ddb47f7d8ac43ab9817e3e329460476ef778c2dfdd6357052b2ae4807b27a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ssk-1.5.0-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on FerroIT/SolidSKeleton

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page