How angelcp2802/solidflow works
SolidFlow is a parametric desktop CAD application. Users edit constrained sketches and feature settings, build and inspect 3D geometry, then save editable .solidflow documents or exchange STEP/STL files. The graph preserves the documented sketch and solid-modeling capabilities, document/history workflow, and Electron desktop boundary. Some feature-to-kernel wiring is not visible in the excerpts, so those links are omitted rather than inferred.
Main entry points: App.tsx Model workspace · kernel.engine.ts BRep feature engine · SketchCanvas.tsx Sketch canvas · solver.ts Constraint solver
Components 22
CAD interface
- Model workspace
src/App.tsx - 3D viewport
src/components/Viewport.tsx - Feature panels
src/components/PlaneSupportPanel.tsx
Sketch modeling
- Sketch canvas
src/components/SketchCanvas.tsx - Sketch editing
src/sketch/editing.ts - Constraint solver
src/sketch/solver.ts - Sketch operations
src/sketch/fillet.ts - Sketch validation
src/sketch/validation.ts
Geometry engine
- Feature definitions
src/cad/kernel.types.ts - Feature inputs
src/model/featureInputs.ts - BRep feature engine
src/cad/kernel.engine.ts - Profile geometry
src/cad/kernel.profiles.ts - Face operations
src/cad/kernel.face-operations.ts - Sweep and loft
src/cad/kernel.sweep-loft.ts - Geometry worker
src/cad/kernel.worker.ts - STEP geometry support
src/cad/kernel.step.ts
Documents and exchange
- Document history
src/model/document.ts - STEP import
src/model/stepImport.ts - Owned STEP base
src/model/stepSource.ts
Desktop runtime
- Electron main
electron/main.cjs - Preload bridge
electron/preload.cjs
Other components
- CAD user
Connections 25
- CAD user → Model workspace: edits model
README.md - Model workspace → Document history: loads and saves
src/App.tsx - Model workspace → Sketch canvas: hosts editor
src/App.tsx - Sketch canvas → Sketch editing: edits geometry
src/components/SketchCanvas.tsx - Sketch canvas → Sketch validation: validates profile
src/components/SketchCanvas.tsx - Sketch editing → Constraint solver: measures dimensions
src/sketch/editing.ts - Sketch operations → Sketch validation: validates result
src/sketch/fillet.ts - Constraint solver → Sketch validation: checks profile
src/sketch/solver.ts - Model workspace → Feature panels: hosts controls
src/App.tsx - Feature panels → Feature definitions: configures features
src/components/PlaneSupportPanel.tsx - Feature inputs → Feature definitions: uses definitions
src/model/featureInputs.ts - Geometry worker → BRep feature engine: dispatches geometry
src/cad/kernel.worker.ts - BRep feature engine → Profile geometry: builds profiles
src/cad/kernel.engine.ts - BRep feature engine → Face operations: runs face operations
src/cad/kernel.engine.ts - BRep feature engine → Sweep and loft: builds sweep loft
src/cad/kernel.engine.ts - Profile geometry → Constraint solver: solves sketches
src/cad/kernel.profiles.ts - Model workspace → 3D viewport: shows model
src/App.tsx - Document history → Owned STEP base: stores base solid
src/model/document.ts - STEP import → Owned STEP base: creates owned base
README.md - BRep feature engine → STEP geometry support: supports STEP exchange
src/cad/kernel.engine.ts - Model workspace → Electron main: uses desktop runtime
- Electron main → Preload bridge: exposes bridge
electron/main.cjs - CAD user → STEP import: imports STEP solid
README.md - CAD user → Document history: saves editable file
README.md - CAD user → 3D viewport: inspects geometry
README.md