#3d command imports 3D model files into your app for use in augmented reality experiences, interactive 3D viewers, and SceneKit scenes. Drop in a USDZ or Reality file and tell the AI how to display it.
What It Does
When you use#3d, the AI:
- Adds the 3D model file to your Xcode project
- Sets up the appropriate framework (RealityKit for AR, SceneKit for 3D viewers)
- Creates a view that renders and displays the model as you describe
Supported Formats
| Format | Best for | Notes |
|---|---|---|
| USDZ | 3D viewing, AR experiences | Apple’s preferred 3D format. Single-file, self-contained. |
| Reality | AR scenes with behaviors | Created in Reality Composer. Can include animations and interactions. |
How to Use
Select your 3D model
The file picker opens, filtered to USDZ and Reality files. Choose the model you want to import.
Describe how to display it
The model appears as an orange chip below the input. Tell the AI how users should interact with the 3D content.
Example Prompts
Getting 3D Models
Apple's Reality Converter
Apple's Reality Converter
Reality Converter is a free app from Apple that converts OBJ, GLTF, and other common 3D formats to USDZ. Download it from the Apple developer site.
Apple's AR Quick Look Gallery
Apple's AR Quick Look Gallery
Apple provides sample USDZ files to test with. Search for “Apple AR Quick Look Gallery” to find them.
Sketchfab
Sketchfab
Many models on Sketchfab can be downloaded in USDZ format. Check the license for each model.
Reality Composer
Reality Composer
Apple’s Reality Composer app lets you create AR scenes with built-in 3D objects, animations, and behaviors. It exports
.reality files that work directly with #3d.USDZ is Apple’s preferred 3D format. You can convert other formats (OBJ, GLTF, FBX) to USDZ using Reality Converter, a free app from Apple.
AR vs 3D Viewer
Your prompt determines how the model is displayed:| Approach | What it creates | Best for |
|---|---|---|
| AR view | Camera-based view where users place the model in the real world | Furniture, decorations, products users want to visualize in their space |
| 3D viewer | Interactive viewer where users can rotate, zoom, and inspect the model | Product previews, educational models, 3D portfolios |
Related
Toolkit Overview
See all available # commands and how the toolkit works.
TestFlight
Deploy your app to a physical device to test AR features.