Examples and interactive web UI for the Open3D module. Explore 3D mesh and point cloud algorithms with a modern React interface.
A modern web-based interface for exploring and running examples.
- Python 3.12+
- Node.js 18+
- npm
# 1. Install Python dependencies
uv sync
# or: pip install flask flask-cors
# 2. Install frontend dependencies
cd frontend
npm install
# 3. Build the frontend
npm run build
cd ..
# 4. Run the application
python app.pyThen open http://localhost:5000 in your browser.
For development with hot reload:
- Terminal 1:
cd frontend && npm run dev - Terminal 2:
python app.py - Open
http://localhost:5173
See frontend/README.md for detailed frontend documentation.
Simple Python desktop UI (deprecated but still available).
python run_visualization.pyThis UI:
- Lists examples in
mesh/andpoint_cloud/ - Runs selected scripts in a separate Python process
- Displays console output in the UI
- Opens Open3D visualization windows
- Python 3.12+
uvfor dependency management (recommended)
python -m pip install uv# With uv (recommended)
uv sync
# Or with pip
pip install -r requirements.txtpip install open3dopen3d-examples/
βββ app.py # Flask backend API
βββ frontend/ # React web UI
β βββ src/ # React components and styles
β βββ package.json # Frontend dependencies
β βββ vite.config.ts # Vite build configuration
β βββ README.md # Frontend documentation
βββ src/
β βββ scripts/
β β βββ mesh/ # Mesh visualization examples
β β βββ point_cloud/ # Point cloud examples
β βββ open3d_examples/
βββ pyproject.toml # Python project configuration
βββ README.md # This file
- Modern, responsive web interface
- Browse examples by category
- Run scripts with one click
- Real-time output streaming
- Interactive UI with Vite hot reload
- Built with React 18 + TypeScript
- Point Cloud: Bounding volumes, clustering, convex hulls, plane segmentation, and more
- Mesh: Cropping, properties, surface normal estimation, visualization
- Frontend Documentation - React UI setup, development, and architecture
- Python API - Flask backend endpoints
- Example scripts in
src/scripts/contain detailed comments
cd frontend
npm run devpython app.pycd frontend && npm run build && cd ..
python app.py| Method | Endpoint | Description |
|---|---|---|
| GET | /api/examples |
List all examples |
| GET | /api/examples/<id> |
Get example details |
| POST | /api/examples/<id>/run |
Execute an example |
Frontend not loading?
- Build the frontend:
cd frontend && npm run build - Check Flask is running:
python app.py
Scripts not executing?
- Verify Open3D is installed:
pip list | grep open3d - Check Python version:
python --version
API requests failing?
- Ensure Flask server is on port 5000
- Check the proxy configuration in
vite.config.ts
- numpy >= 1.26
- open3d >= 0.18
- matplotlib >= 3.8
- flask (for web UI)
- flask-cors (for web UI)
- react 18.2
- react-dom 18.2
- vite 5.0
- typescript 5.2
- axios 1.6
MIT - See LICENSE file for details