Skip to content

Room map·

turns an Apple RoomPlan .usdz scan into a compact spatial prompt block (named objects + bounding boxes)tools/room_map.py, 1 tool.

From the module docstring

🗺️ room_map — turn an Apple RoomPlan .usdz scan into a Scout-ready spatial prompt block. The scan's meshes are SEMANTICALLY NAMED (toilet0, sofa_rect0, refrigerator0, wall_, door_, floor__*), so we don't need photos — we read object labels + bounding boxes straight out of the USDA geometry and emit a compact, model-friendly map.

tool does
room_map 🗺️ Scout's spatial prior from a RoomPlan .usdz scan.

room_map·

room_map(action: str = 'show', scan_path: str = '') -> Dict[str, Any]

🗺️ Scout's spatial prior from a RoomPlan .usdz scan.

argument meaning
action "show" (return the map block) | "objects" (flat object list) | "rooms" (room summary)
scan_path optional override path to a .usdz/.usda scan.

source: tools/room_map.py:211