Skip to main content

Kinetifact

Kinetifact compiles URDF mechanical descriptions into portable glTF binary (GLB) assets with embedded mechanical behavior. One file carries the visual geometry, link hierarchy, and an executable graph that applies joint motion, limits, mimic relationships, and reset. A compatible host can drive the mechanism without loading the original URDF or computing its joint transforms.

Kinetifact demonstration

Three industrial robot models with mechanical behavior embedded in their GLBs.

Watch MP4 · Model attribution

Quick start

Download kinetifact-0.1.0-py3-none-any.whl from the v0.1.0 GitHub release. With Python 3.10 or newer, run these commands from the download directory (shown for macOS and Linux).

python3 -m venv .venv
. .venv/bin/activate
python -m pip install --no-index --no-deps ./kinetifact-0.1.0-py3-none-any.whl
kinetifact --version
kinetifact view

Open the address printed by the command in a WebGL 2 browser. The bundled demo loads automatically. Move Swivel and Extension with the joint sliders or numeric fields, then select Reset pose. The server binds to 127.0.0.1 and the bundled viewer runs offline.

Compile a URDF and open the GLB

With the virtual environment active, stop the viewer with Ctrl+C. Copy the bundled demo URDF from the installed package into your working directory and compile it with the event controls used by the bundled demo.

python - <<'PY'
from importlib.resources import files
from pathlib import Path

demo = files("kinetifact") / "web" / "models" / "demo.urdf"
Path("demo.urdf").write_bytes(demo.read_bytes())
PY
kinetifact demo.urdf -o demo.glb --control-profile events
kinetifact view demo.glb

Use Open GLB or drop a file onto the viewport to switch assets without restarting. Drag to orbit, Shift-drag to pan, scroll to zoom, and select Fit to reframe. Use --port 0 if you want the server to pick a free port.

For your own URDF, keep relative mesh paths relative to the URDF. Use one --package-root PACKAGE=DIRECTORY per ROS package:// mesh root and --material-library FILE.xml for external URDF material definitions. Run kinetifact --help for the full option list.

Compile only trusted URDFs and referenced assets. The compiler can follow absolute paths, parent-directory paths, and symlinks to local meshes, OBJ material libraries, and diffuse textures that your account can read. It embeds imported geometry and texture data in the output GLB. Mesh paths using package:// are confined to their configured package root.

Control profiles

Profile How to move the mechanism
events Send absolute joint positions, query state, and reset through custom events. The graph reports the applied positions of both drivers and followers. The companion exposes controls in a dockable joint window.
refined (default) Click labeled controls embedded in the GLB. Panels provide per-joint movement, three step sizes, and reset.
legacy Click the original compact incremental controls and reset embedded in the GLB.

All three profiles require KHR_interactivity. The two clickable profiles also require KHR_node_selectability. For host integration, see the event protocol and its payloads.

Supported mechanics and visuals

  • Rooted link trees with fixed, bounded revolute, and bounded prismatic joints.
  • Chained mimic joints with multipliers and offsets. The graph clamps each driver to the range permitted by its own limits and those of its followers.
  • Home poses from ROS 2 position initial_value when supplied, or zero clamped to the effective range. Reset restores the complete home pose.
  • Box visuals, binary and ASCII STL, and triangulated OBJ with explicit face corner normals, plus OBJ lines. Visual origins and mesh scales are preserved.
  • Inline and named URDF RGBA colors and a subset of MTL with diffuse color, scalar opacity, and embedded PNG or JPEG diffuse maps.

Measured model compatibility

Four of four pinned Bullet3 corpus descriptions compiled in the legacy profile. KUKA LWR, xArm6, and xArm6 with gripper compiled with strict material handling. Franka Panda used --allow-degraded-appearance to fall back to URDF colors for two missing upstream material libraries. See the corpus results and reproduction steps.

Event profile model Pose and state checkpoints passed in each tested runtime Peak world-position error
KUKA LBR iiwa 53/53 76.89 nm
Franka Panda 59/59 116.5 nm
xArm6 with gripper 53/53 98.55 nm

These headless checks compared runtime results against independently computed URDF poses in pinned Khronos Graph Authoring Tool and rudybear runtimes. The historical three-live runs for the original gripper, arm, and iiwa stayed at home instead of following the tested selections. See the event measurements and pinned runtimes and reproduction commands.

Technical limits

  • Output represents visual kinematics and hard position limits. Physics, collision simulation, dynamics, velocity and effort control, and controller plugins are outside its scope.
  • Continuous, planar, and floating joints, non-box URDF primitives, URDF texture declarations, OBJ polygon triangulation, and non-diffuse MTL shading are outside the supported input subset.
  • Behavior depends on the host implementing the required glTF extensions and, for event-driven control, exposing custom events. The Khronos glTF Validator version used for verification leaves those extension graphs unchecked. See the validator and runtime results.

License and attribution

Kinetifact's original 0.1.0 software, bundled demo, and historical two-joint arm fixture are licensed under Apache-2.0. The offline viewer includes the Khronos glTF Sample Renderer and Interactivity Engine, gl-matrix, and other components under their own terms. The wheel and source distribution include the notices. See the bundled upstream attribution and historical model attribution.

Repository and verification

Metadata

Release files for kinetifact 0.1.0

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

Source distribution (sdist)

Source distribution for kinetifact 0.1.0
File Size Uploaded Provenance Actions
kinetifact-0.1.0.tar.gz 761.2 kB Without provenance Details for kinetifact-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / kinetifact-0.1.0.tar.gz

Download URL kinetifact-0.1.0.tar.gz
Size 761.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2f0b8be62bccadebbb2507fce341bf290b7859134d500953f60408ba3740f2ab
BLAKE2b-256 checksum
How to use checksums
f6650f9747597514ce82eb4d620cb1d45e37aae93468fd2f090bce63a92f2b3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / kinetifact-0.1.0-py3-none-any.whl

Download URL kinetifact-0.1.0-py3-none-any.whl
Size 790.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fa89eeb6fd62018c288515ca0ee763c92b765328a6aaa3c8f516011c8728217
BLAKE2b-256 checksum
How to use checksums
6b313cb4b3d2114e8184795ae4aa9e188681f2df35a73f6aa056512f4253ea67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for kinetifact 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 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