Overview
Create a demo/showcase application for OCCTSwift that provides:
- Text-based modeling input using CadQuery-inspired JavaScript syntax
- 3D visualization using ViewportKit (RealityKit)
- Cross-platform support for iOS and macOS
Architecture
Text Input → JavaScriptCore → OCCTSwift → Mesh → ViewportKit
Why JavaScriptCore?
| Approach |
iOS Support |
Complexity |
Dependencies |
| JavaScriptCore |
✅ Built-in |
Medium |
None |
| PythonKit |
❌ macOS only |
Low |
Python runtime |
| Custom Parser |
✅ |
High |
None |
API Example
// CadQuery-inspired syntax
result = Workplane("XY")
.box(10, 20, 5)
.faces(">Z")
.hole(3)
.edges("|Z")
.fillet(1)
Phases
Total estimated effort: ~14 days
Documentation
See docs/DEMO_APP_PROPOSAL.md for full technical details.
Dependencies
- OCCTSwift v0.14.0+
- ViewportKit v1.0.0+
Overview
Create a demo/showcase application for OCCTSwift that provides:
Architecture
Why JavaScriptCore?
API Example
Phases
Total estimated effort: ~14 days
Documentation
See docs/DEMO_APP_PROPOSAL.md for full technical details.
Dependencies