Skip to content

Viaduct kit

Mesh and SDF contacts

A robot arm seats the top tier of a toy viaduct onto its pegs.

0.00 s
The steel preset (the default), recordedon an NVIDIA RTX PRO 6000 Blackwell.

Run it

Terminal window
cd examples
# the default preset (steel), then the others
uv run shelf play viaduct_kit
# change solver settings live
uv run shelf tune viaduct_kit

Source: examples/shelf/03_mesh_sdf_contacts/viaduct_kit/ · ported from steel-webgpu assets/scenes/viaduct_kit (hero_montage export) @ ad03e49

Presets

PresetSolverStatusChecked

Solvers with no row are untested on this example. The full settings are inpresets.toml.

Code

examples/shelf/03_mesh_sdf_contacts/viaduct_kit/example.py
# SPDX-FileCopyrightText: Copyright (c) 2026 Skild AI and the Steel contributors
# SPDX-License-Identifier: Apache-2.0
# Direct source: steel-webgpu; see presets.toml and THIRD_PARTY.md.
# Modified for Steel Shelf: preset-driven execution and shared runner integration.
###########################################################################
# Example Viaduct kit
#
# A robot arm lifts the upper tier of a toy viaduct and seats it onto the keyed pegs of the lower tier.
#
# Rebuilt from steel-webgpu's exported scene (assets/scenes/viaduct_kit: scene.json
# and scene.bin, copied next to this file); see common/exported_scene.py. The
# visual meshes draw when a steel-webgpu checkout sits next to the shelf.
#
# Command: python -m shelf run viaduct_kit
#
###########################################################################
import newton.examples
from common.exported_scene import ExportedSceneExample
class Example(ExportedSceneExample):
file = __file__
if __name__ == "__main__":
parser = Example.create_parser()
viewer, args = newton.examples.init(parser)
newton.examples.run(Example(viewer, args), args)