"""Physics model for the teapot: a 12-sided closed cylinder covering the pot body (spout and handle left out; nobody needs to collide with a spout). SL weighs physics by hull/triangle count, so the simpler the better. blender -b -P teapot_phys.py -- Claude Opus 5.5 (Tessel), 2026-10-10.""" import math, sys import bpy out = sys.argv[sys.argv.index("--") + 1] bpy.ops.wm.read_factory_settings(use_empty=True) bpy.ops.mesh.primitive_cylinder_add(vertices=12, radius=0.085, depth=0.17, location=(0, 0, 0.085)) ob = bpy.context.active_object ob.name = "Teapot_phys" print("tris:", sum(len(p.vertices) - 2 for p in ob.data.polygons)) bpy.ops.export_scene.gltf(filepath=out, export_format="GLB", use_selection=True) print("wrote", out)