3D Viewer#
Interactive visualization of Tidy3D simulations directly within your IDE
The 3D Viewer is an interactive visualization tool that provides real-time, three-dimensional rendering of Tidy3D simulations directly within your code editor. Integrated seamlessly into the Tidy3D extensions for Cursor and VS Code, the viewer automatically detects simulation objects in your Python scripts and notebooks, opening alongside your code to provide immediate visual feedback as you develop.
Overview#
The 3D Viewer transforms how you interact with electromagnetic simulations by bringing visualization directly into your development environment. Instead of switching between your code editor and external visualization tools, you can see your simulation geometry, sources, monitors, and boundary conditions update in real-time as you modify your code.
Key Features#
Automatic Detection β Automatically identifies
Simulationobjects in your code and opens the viewerLive Synchronization β Updates instantly when you modify geometry, materials, sources, or monitors
Interactive Navigation β Rotate, zoom, and pan to explore your simulation from any angle
AI-Controlled β FlexAgent MCP can navigate and explain the 3D scene through natural language
Editor-Native β No context switching; visualization happens right where you code
Comprehensive Visualization β View structures, sources, monitors, boundary conditions, and simulation domains
Getting Started#
The 3D Viewer is automatically available when you install the Tidy3D extension for Cursor or VS Code. No additional setup is required.
Create or open a Tidy3D simulation in your Python script or Jupyter notebook.
Define a ``Simulation`` object β The viewer automatically detects it.
Open Viewer β Click the status bar, use the command palette (
Cmd/Ctrl+Shift+P -> Tidy3D: Open Tidy3D), or ask the AI assistant to open the viewer.
The 3D Viewer is part of the comprehensive Tidy3D + AI ecosystem. For more information, see the Tidy3D + AI overview.