How wangyao1052/yi3d works
Yi3D is a desktop parametric 3D-modeling application with a C++ modeling engine, Qt/OSG interface, Python API, and scripting integrations. The main workflow is to create sketches or primitives, apply modeling and modification features, and save the resulting model; the application also supports selection, viewing, and editing through GUI commands. README-listed capabilities are represented even where implementation excerpts were unavailable. Edges are limited to README-documented behavior or relationships visible in the supplied source index and excerpts.
Main entry points: Database.cpp Model Database · commands GUI Commands · Application.cpp Application Manager · wy3d Part Features
Components 18
Desktop Application
- Application Startup
src/wy3dApp/main.cpp - Application Manager
src/wy3dApp/application/Application.cpp - Document and Autosave
src/wy3dApp/application/Document.cpp - GUI Commands
src/wy3dApp/commands - Selection
src/wy3dApp/select/SelectHandler.cpp - Dock Panels
src/wy3dApp/widgets/panels/DockPanelManager.cpp
Modeling Engine
- Model Database
src/wy3d/db/Database.cpp - 2D and 3D Sketching
src/wy3d/sketch - Solid Primitives
src/wy3d/primitives - Part Features
src/wy3d - Boolean and Modifiers
src/wy3d/boolean
Scripting and Import
- Python Bindings
src/wy3dPY/BindWydbDatabase.cpp - Python Script Executor
src/wy3dApp/application/PythonScriptExecutor.cpp - IPC Server
src/wy3dApp/application/IpcServer.cpp - DXF Sketch Exchange
scripts/modules/dxf - AI Modeling Skill
skills/YI3D/scripts/IpcClient.py
Geometry Services
- Topology Naming
src/wy3d/topo
Other components
- Modeler
Connections 22
- Modeler → Application Startup: starts
README.md - Application Startup → Application Manager: initializes
src/wy3dApp/main.cpp - Application Manager → Document and Autosave: manages
- Modeler → GUI Commands: invokes
README.md - GUI Commands → 2D and 3D Sketching: creates sketches
- GUI Commands → Solid Primitives: creates shapes
- GUI Commands → Part Features: creates features
- GUI Commands → Boolean and Modifiers: applies operations
- Application Manager → Selection: configures
src/wy3dApp/application/Application.cpp - Application Manager → Dock Panels: configures
src/wy3dApp/application/Application.cpp - Model Database → 2D and 3D Sketching: stores model
- Model Database → Solid Primitives: stores model
- Model Database → Part Features: stores model
- Model Database → Boolean and Modifiers: stores model
- Part Features → Topology Naming: uses naming
- Python Bindings → Model Database: exposes API
README.md - Python Script Executor → Python Bindings: executes scripts
- Modeler → AI Modeling Skill: describes model
README.md - AI Modeling Skill → IPC Server: sends script
README.md - IPC Server → Python Script Executor: dispatches script
- DXF Sketch Exchange → 2D and 3D Sketching: exchanges sketches
README.md - Document and Autosave → Model Database: saves model