Skip to content

Drawer and fork

Articulations

Pull open a drawer, then put a fork in its tray.

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 drawer_fork
# change solver settings live
uv run shelf tune drawer_fork

Source: examples/shelf/07_articulations/drawer_fork/ · ported from steel-webgpu assets/scenes/drawer_fork (hero_montage export) @ ad03e49

Presets

PresetSolverStatusChecked

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

Code

examples/shelf/07_articulations/drawer_fork/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 Drawer and fork
#
# The arm pulls an unpowered drawer open by its handle, then picks up a fork and places it in the drawer's tray.
#
# Rebuilt from steel-webgpu's exported scene (assets/scenes/drawer_fork: 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 drawer_fork
#
###########################################################################
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)