cyclecad 0.1.5 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +165 -34
- package/app/agent-demo.html +1049 -0
- package/app/index.html +15 -0
- package/app/js/agent-api.js +1048 -0
- package/app/mobile.html +1276 -0
- package/brand-identity.html +918 -0
- package/competitive-analysis.html +629 -0
- package/cycleCAD-Investor-Deck.pptx +0 -0
- package/index.html +746 -776
- package/logo-concepts.html +167 -0
- package/package.json +1 -1
- package/~$cycleCAD-Investor-Deck.pptx +0 -0
package/CLAUDE.md
CHANGED
|
@@ -13,7 +13,7 @@ SACHIN (vvlars@googlemail.com, GitHub: vvlars-cmd). Building cycleCAD — open-s
|
|
|
13
13
|
|
|
14
14
|
## Session History
|
|
15
15
|
|
|
16
|
-
### Session 2026-03-24 — Hero Image + Major Feature Build
|
|
16
|
+
### Session 2026-03-24 (Early) — Hero Image + Major Feature Build
|
|
17
17
|
|
|
18
18
|
**Problem evolution:**
|
|
19
19
|
1. Started: Previous session crashed, needed to resume
|
|
@@ -23,7 +23,7 @@ SACHIN (vvlars@googlemail.com, GitHub: vvlars-cmd). Building cycleCAD — open-s
|
|
|
23
23
|
5. Task 4: Import DUO Inventor project → Sachin copied full production Inventor project (482 files) into `~/cyclecad/example/`
|
|
24
24
|
6. Task 5: Build features using the real project data → Massive build session
|
|
25
25
|
|
|
26
|
-
**What was built
|
|
26
|
+
**What was built:**
|
|
27
27
|
|
|
28
28
|
5 NEW modules (3,540 lines):
|
|
29
29
|
- `project-loader.js` (579 lines) — Parses .ipj project files, indexes entire Inventor folder structures, categorizes files as CUSTOM/STANDARD/VENDOR
|
|
@@ -43,22 +43,118 @@ SACHIN (vvlars@googlemail.com, GitHub: vvlars-cmd). Building cycleCAD — open-s
|
|
|
43
43
|
- Main assembly .iam (9.1 MB) parsed successfully — 47 components found
|
|
44
44
|
- Performance: 2-5ms per file
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
46
|
+
### Session 2026-03-24 (Later) — Mobile Viewer + Strategy + Investor Deck
|
|
47
|
+
|
|
48
|
+
**Problem evolution:**
|
|
49
|
+
1. Resumed from crashed context → picked up where left off
|
|
50
|
+
2. Committed and pushed `app/mobile.html` (1,277 lines) — phone edition for STEP/Inventor files
|
|
51
|
+
3. Sachin pushed to GitHub and published npm v0.1.5 → v0.1.7 (multiple version bumps)
|
|
52
|
+
4. **Strategic pivot**: Sachin asked "what can we do to make this a killer app" → deep competitive analysis
|
|
53
|
+
5. **Key decision**: Merge ExplodeView INTO cycleCAD as "Viewer Mode" — create one unified platform
|
|
54
|
+
6. Sachin requested: "include all the features of onshape in cyclecad"
|
|
55
|
+
7. Built comprehensive competitive analysis HTML with 5 tabs (competitors, feature matrix, differentiation, roadmap, AI copilot plan)
|
|
56
|
+
8. Built 14-slide investor pitch deck (PptxGenJS, dark theme, data-driven) for seed round fundraising
|
|
57
|
+
|
|
58
|
+
**What was built (this session):**
|
|
59
|
+
- `competitive-analysis.html` — Interactive competitive analysis with tabs for Competitors (9 companies), Feature Matrix (70+ features vs 7 tools), Differentiation, Killer App Roadmap (Phases A-G), AI Copilot architecture
|
|
60
|
+
- `cycleCAD-Investor-Deck.pptx` — 14-slide investor pitch deck: Title, Problem, Solution, Market ($25.3B TAM), Product, Competitive Landscape, Feature Comparison, Traction, Business Model (Free/Pro $19/mo/Enterprise), Technology & Moat, Roadmap, Team, The Ask ($1.5M Seed), Closing
|
|
61
|
+
|
|
62
|
+
**Strategic decisions made:**
|
|
63
|
+
- ExplodeView merges into cycleCAD as "Viewer Mode" (shared Three.js scene, unified toolbar)
|
|
64
|
+
- npm packages stay separate: `cyclecad` (platform) + `explodeview` (standalone widget)
|
|
65
|
+
- Open-core business model: Free (full modeling + AI), Pro $19/mo (collab + STEP + cloud), Enterprise (self-hosted + SSO)
|
|
66
|
+
- AI Copilot = the MecAgent + Aurorin killer (text-to-CAD, NL editing, smart autocomplete — all free, in-browser)
|
|
67
|
+
- Build priority: STEP import (OpenCascade.js) → ExplodeView merge → AI Copilot → Collaboration → Pro launch
|
|
68
|
+
|
|
69
|
+
**Competitive intelligence gathered:**
|
|
70
|
+
| Competitor | Funding | Status | Our Edge |
|
|
71
|
+
|-----------|---------|--------|----------|
|
|
72
|
+
| OnShape (PTC) | Acquired by PTC | $1,500/yr | Free, OSS, AI analysis, Inventor import |
|
|
73
|
+
| Aurorin CAD | $500K YC W26 | Alpha, desktop | Browser-native, OSS, 40+ analysis tools |
|
|
74
|
+
| MecAgent | $3M seed | Plugin only | We ARE the tool, not a plugin |
|
|
75
|
+
| Chili3D | OSS | Alpha | Complete platform, not just geometry |
|
|
76
|
+
| bitbybit.dev | Self-funded | v1.0 RC | End-user CAD, not dev platform |
|
|
77
|
+
| FreeCAD | Community | Mature, desktop | Browser, AI, mobile, modern UI |
|
|
78
|
+
|
|
79
|
+
**Market data:**
|
|
80
|
+
- Global CAD market: $25.3B (2026), growing 20.9% CAGR to $126B by 2030
|
|
81
|
+
- Mechanical CAD: 30.4% of TAM = $7.7B
|
|
82
|
+
- Browser + OSS CAD (SOM): ~$770M
|
|
83
|
+
|
|
84
|
+
**Git state:**
|
|
85
|
+
- All committed and pushed to main
|
|
86
|
+
- npm: cyclecad v0.1.7 live
|
|
87
|
+
- competitive-analysis.html in repo (not gitignored — it's public marketing material)
|
|
88
|
+
- cycleCAD-Investor-Deck.pptx in repo
|
|
89
|
+
|
|
90
|
+
### Session 2026-03-24 (Evening) — Agent-First Pivot + Voice-Driven CAD Demo
|
|
91
|
+
|
|
92
|
+
**Problem evolution:**
|
|
93
|
+
1. Renamed "OS of Things" → "OS of Manufacturing" across deck + landing page
|
|
94
|
+
2. Added $CYCLE token economy slide: Buy → Spend → Earn → Circulate flow
|
|
95
|
+
3. **Major pivot**: "Agent-First OS for Manufacturing" — CAD built for AI agents, not humans. No GUI, no mouse, agents are the only interface.
|
|
96
|
+
4. Updated all branding in `index.html` (landing page) and `build-deck.js` (investor deck) — 5+ instances each
|
|
97
|
+
5. Built `app/js/agent-api.js` (800+ lines) — 55 commands across 10 namespaces, JSON-RPC style, self-describing schema
|
|
98
|
+
6. Built `app/agent-demo.html` — split-screen demo: terminal (left) + 3D viewport (right)
|
|
99
|
+
7. Fixed ExplodeView: part selection no longer auto-opens dialog (shows + button in info band instead), added touch handlers for viewcube rotation
|
|
100
|
+
8. Researched CAD Agent competitors (AgentCAD, MecAgent, Zoo Zookeeper) — applied visual feedback loop pattern + design review AI
|
|
101
|
+
9. **Major feature**: Iterative voice/text command system — NLP parser that understands 12+ shape types, stateful scene (build → add hole → fillet → export as separate commands)
|
|
102
|
+
|
|
103
|
+
**What was built/modified:**
|
|
104
|
+
- `app/js/agent-api.js` (NEW, ~800 lines) — Core Agent API with `window.cycleCAD.execute()`, 10 namespaces, render.snapshot, validate.designReview
|
|
105
|
+
- `app/agent-demo.html` (NEW, ~1100 lines) — Interactive demo with voice commands, NLP parser, Three.js viewport, iterative workflow
|
|
106
|
+
- `app/index.html` — Wired agent-api.js imports + init
|
|
107
|
+
- `index.html` — Fully rebranded landing page: "Agent-First OS for Manufacturing", agent personas, pipeline section
|
|
108
|
+
- `deck/build-deck.js` — Rebuilt investor deck: token economy slide, agent-first messaging, disconnected-islands visual, pipeline with end-of-life
|
|
109
|
+
- `~/explodeview/docs/demo/app.js` — Part selection + button, viewcube touch handlers
|
|
110
|
+
- `~/explodeview/docs/demo/index.html` — Cache bust v=257
|
|
111
|
+
|
|
112
|
+
**Agent Demo Voice System (v3 — iterative/stateful):**
|
|
113
|
+
- Intent detection: create, hole, fillet, chamfer, export, validate, material, boss, reset
|
|
114
|
+
- Shape detection: cylinder, disk, tube, sphere, cone, gear, hexbolt, washer, ring, flange, plate, box, bracket
|
|
115
|
+
- Persistent `sceneState` object tracks current part, dimensions, material, features list
|
|
116
|
+
- Terminal accumulates command history (doesn't clear between commands)
|
|
117
|
+
- Export and validate only happen when explicitly requested
|
|
118
|
+
- Patterns: "build cylinder 50mm diameter 80 tall" → "add hole radius 10" → "fillet 5" → "export stl"
|
|
119
|
+
|
|
120
|
+
**Competitive intelligence applied:**
|
|
121
|
+
| Source | Pattern | What we took |
|
|
122
|
+
|--------|---------|-------------|
|
|
123
|
+
| AgentCAD | Cooperative design infra | Agent API architecture, $CYCLE token model |
|
|
124
|
+
| MecAgent | AI copilot for SolidWorks | We ARE the tool, not a plugin — agents built in |
|
|
125
|
+
| Zoo Zookeeper | CAD rendering server | `render.snapshot` + `render.multiview` endpoints |
|
|
126
|
+
| Matsuo Lab CAD Agent | Design review loop | `validate.designReview` auto-analysis with A/B/C/F scoring |
|
|
127
|
+
|
|
128
|
+
**Key architectural decisions:**
|
|
129
|
+
- Agent API is `window.cycleCAD.execute({ method, params })` — simple JSON-RPC, no auth needed for in-browser
|
|
130
|
+
- Self-describing via `getSchema()` — agents can introspect the full API
|
|
131
|
+
- Demo is standalone HTML (no build step) — works on GitHub Pages
|
|
132
|
+
- Voice uses Web Speech API (needs HTTPS for mic, text input always works)
|
|
133
|
+
- Scene state is in-memory JS object, not persisted (demo only)
|
|
134
|
+
|
|
135
|
+
**Investor deck updates:**
|
|
136
|
+
- Slide 1: "CAD was built for humans with a mouse. We built it for AI agents with an API."
|
|
137
|
+
- Slide 9: Token economy with 4-step flow + consume/earn cards
|
|
138
|
+
- Slide 12B: Disconnected islands → unified 6-step pipeline (including End of Life)
|
|
139
|
+
- Slide 12C: "Agents Are the Interface" — 6 personas (Any AI Agent, Field Tech, PM, Factory Floor, Agent Swarms, Circular Economy)
|
|
140
|
+
- Closing CTA: "Machines creating machines."
|
|
141
|
+
- Traction updated: 1,500 weekly npm downloads, Day 1/2/3 milestone timeline
|
|
142
|
+
|
|
143
|
+
**Bugs fixed this session:**
|
|
144
|
+
- Fillet radius too small in demo (was 2, now reads from step params dynamically)
|
|
145
|
+
- Voice mic "Error: not-allowed" on non-HTTPS — now shows friendly fallback message
|
|
146
|
+
- Cylinder not detected from voice — regex `\bcylinder\b` removed strict word boundaries, added "cylindar" typo match
|
|
147
|
+
- Demo rebuilt everything on each voice command — now stateful, only clears on "create" or "start over"
|
|
148
|
+
- Auto-export removed — export only when user says "export"
|
|
56
149
|
|
|
57
150
|
## Key Files
|
|
58
151
|
| File | Lines | What |
|
|
59
152
|
|------|-------|------|
|
|
60
|
-
| `index.html` | 14K | Landing page for cyclecad.com |
|
|
61
|
-
| `app/index.html` | 3,156 | Main CAD app — HTML + inline script wiring all 17 modules |
|
|
153
|
+
| `index.html` | 14K | Landing page for cyclecad.com — "Agent-First OS for Manufacturing" branding |
|
|
154
|
+
| `app/index.html` | 3,156 | Main CAD app — HTML + inline script wiring all 17 modules + agent-api |
|
|
155
|
+
| `app/js/agent-api.js` | ~800 | **Agent API**: 55 commands, 10 namespaces, `window.cycleCAD.execute()`, self-describing schema |
|
|
156
|
+
| `app/agent-demo.html` | ~1100 | **Agent Demo**: split-screen terminal+3D, iterative voice/text NLP, 12 shape types, stateful workflow |
|
|
157
|
+
| `deck/build-deck.js` | ~870 | PptxGenJS investor deck builder — Agent-First + token economy + pipeline slides |
|
|
62
158
|
| `app/js/app.js` | 794 | App state, mode management, history, save/load |
|
|
63
159
|
| `app/js/viewport.js` | 751 | Three.js r170 scene, camera, lights, shadows, grid, selection highlight, OrbitControls, views |
|
|
64
160
|
| `app/js/sketch.js` | 899 | 2D canvas overlay, line/rect/circle/arc, grid snapping, constraints |
|
|
@@ -67,6 +163,7 @@ SACHIN (vvlars@googlemail.com, GitHub: vvlars-cmd). Building cycleCAD — open-s
|
|
|
67
163
|
| `app/js/advanced-ops.js` | 763 | Sweep, loft, sheet metal (bend/flange/tab/slot/unfold), spring, thread |
|
|
68
164
|
| `app/js/assembly.js` | 1,103 | Assembly workspace: components, mate constraints, joints, explode/collapse |
|
|
69
165
|
| `app/js/dxf-export.js` | 1,174 | DXF export: 2D sketch, 3D projection, multi-view engineering drawing |
|
|
166
|
+
| `app/mobile.html` | 1,277 | **Phone edition**: mobile-first 3D viewer for .step/.stp/.ipt/.iam. occt-import-js + touch controls |
|
|
70
167
|
| `app/js/params.js` | 523 | Parameter editor, material selector (Steel/Al/ABS/Brass/Ti/Nylon) |
|
|
71
168
|
| `app/js/tree.js` | 479 | Feature tree panel with rename, suppress, delete, context menus |
|
|
72
169
|
| `app/js/inventor-parser.js` | 1,138 | OLE2/CFB binary parser for .ipt/.iam, 26 feature types, assembly constraints |
|
|
@@ -81,8 +178,10 @@ SACHIN (vvlars@googlemail.com, GitHub: vvlars-cmd). Building cycleCAD — open-s
|
|
|
81
178
|
| `MASTERPLAN.md` | ~200 | Full 10-phase roadmap with competitive analysis |
|
|
82
179
|
| `CLAUDE.md` | this file | Conversation memory |
|
|
83
180
|
| `screenshot.png` | 829KB | Hero image for npm/GitHub (2x retina UI mockup) |
|
|
181
|
+
| `competitive-analysis.html` | ~600 | Interactive competitive analysis: 9 competitors, 70+ features, roadmap, AI copilot plan |
|
|
182
|
+
| `cycleCAD-Investor-Deck.pptx` | 14 slides | Seed round pitch deck: dark theme, $1.5M ask, market data, feature comparison |
|
|
84
183
|
| `CNAME` | — | cyclecad.com domain |
|
|
85
|
-
| `package.json` | — | npm config, v0.1.
|
|
184
|
+
| `package.json` | — | npm config, v0.1.7 |
|
|
86
185
|
|
|
87
186
|
## DUO Inventor Project
|
|
88
187
|
Located at `~/cyclecad/example/DUO Durchgehend Inventor/` (gitignored — too large for repo).
|
|
@@ -178,21 +277,25 @@ Located at `~/cyclecad/example/DUO Durchgehend Inventor/` (gitignored — too la
|
|
|
178
277
|
- DWG export (DXF is done)
|
|
179
278
|
- Assembly workspace joint editing UI (module is built, needs UI panel)
|
|
180
279
|
|
|
181
|
-
## Competitive Landscape
|
|
182
|
-
| Competitor | What | Our Edge |
|
|
183
|
-
|
|
184
|
-
|
|
|
185
|
-
|
|
|
186
|
-
|
|
|
187
|
-
|
|
|
188
|
-
|
|
|
189
|
-
|
|
|
280
|
+
## Competitive Landscape (Updated 2026-03-24)
|
|
281
|
+
| Competitor | What | Funding | Our Edge |
|
|
282
|
+
|-----------|------|---------|----------|
|
|
283
|
+
| **OnShape** (PTC) | Browser CAD, $1,500/yr | Acquired by PTC | Free, OSS, AI analysis, Inventor import, maintenance tools |
|
|
284
|
+
| **Fusion 360** (Autodesk) | Desktop+cloud, $545/yr | Autodesk | Browser-native, no install, opens Inventor natively, migration guides |
|
|
285
|
+
| **SolidWorks** (Dassault) | Desktop CAD, $4K+/yr | Dassault | URL that works on any device, zero cost |
|
|
286
|
+
| **Aurorin CAD** | AI-native desktop CAD | $500K YC W26 | OSS, browser-native, 40+ analysis tools from ExplodeView |
|
|
287
|
+
| **MecAgent** | AI copilot plugin for SolidWorks/Inventor | $3M seed | We ARE the tool, not a plugin. Same AI features built-in free |
|
|
288
|
+
| **Chili3D** | OSS browser CAD, OCCT WASM | Community | Complete platform (model+view+analyze), not just geometry engine |
|
|
289
|
+
| **bitbybit.dev** | Dev platform, visual programming | Self-funded | End-user CAD tool, not a developer platform |
|
|
290
|
+
| **FreeCAD** | Desktop OSS CAD | Community | Browser-native, AI-powered, mobile viewer, modern UI |
|
|
190
291
|
|
|
191
292
|
## Publishing
|
|
192
|
-
- **npm**: `cyclecad` v0.1.
|
|
293
|
+
- **npm**: `cyclecad` v0.1.7 published, `explodeview` v1.0.2
|
|
193
294
|
- **GitHub**: https://github.com/vvlars-cmd/cyclecad
|
|
194
295
|
- **Domain**: cyclecad.com → GitHub Pages (CNAME in repo)
|
|
195
296
|
- **Hero image**: `screenshot.png` — 2x retina UI mockup, renders on npm + GitHub README
|
|
297
|
+
- **Investor deck**: `cycleCAD-Investor-Deck.pptx` — 14 slides, dark theme, $1.5M seed ask
|
|
298
|
+
- **Competitive analysis**: `competitive-analysis.html` — interactive 5-tab analysis
|
|
196
299
|
|
|
197
300
|
## Sachin's Working Style
|
|
198
301
|
- **Fast iteration, minimal questions** — prefers action over clarification
|
|
@@ -230,14 +333,42 @@ Located at `~/cyclecad/example/DUO Durchgehend Inventor/` (gitignored — too la
|
|
|
230
333
|
- **Vim pops up** — use `GIT_EDITOR=true` to skip editor on rebase continue
|
|
231
334
|
- **Swap files** — crash leaves `.COMMIT_EDITMSG.swp`, delete with `rm .git/.COMMIT_EDITMSG.swp`
|
|
232
335
|
|
|
233
|
-
##
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
- [ ]
|
|
237
|
-
- [ ]
|
|
336
|
+
## Strategic Vision — The Killer App Roadmap
|
|
337
|
+
|
|
338
|
+
### Phase A: STEP Import + ExplodeView Merge (Q2 2026) — NEXT
|
|
339
|
+
- [ ] Integrate OpenCascade.js WASM for real STEP import/export
|
|
340
|
+
- [ ] Port ExplodeView as "Viewer Mode" into cycleCAD (shared Three.js scene)
|
|
341
|
+
- [ ] Real B-rep booleans (replace mesh approximations)
|
|
342
|
+
- [ ] Real fillet/chamfer (replace torus/cone approximations)
|
|
343
|
+
- [ ] Bring all 40+ ExplodeView tools into unified toolbar
|
|
344
|
+
|
|
345
|
+
### Phase B: AI Copilot (Q3 2026)
|
|
346
|
+
- [ ] `app/js/ai-copilot.js` — text-to-CAD, NL editing, smart autocomplete
|
|
347
|
+
- [ ] CAD Action API (maps AI output → geometry operations)
|
|
348
|
+
- [ ] Context engine (understands current selection, feature tree, assembly)
|
|
349
|
+
- [ ] Cost estimation (CNC vs 3D print vs injection molding)
|
|
350
|
+
- [ ] Manufacturability check (DFM analysis)
|
|
351
|
+
|
|
352
|
+
### Phase C: Collaboration (Q4 2026)
|
|
353
|
+
- [ ] Real-time multi-user editing (WebRTC/CRDT)
|
|
354
|
+
- [ ] Git-style version control with visual diff
|
|
355
|
+
- [ ] Share links (view without login)
|
|
356
|
+
- [ ] Embeddable viewer widget (`<script>` tag)
|
|
357
|
+
- [ ] Comments + task assignment
|
|
358
|
+
|
|
359
|
+
### Phase D: Pro Launch (Q1 2027)
|
|
360
|
+
- [ ] Pro tier: $19/mo (collab + STEP + cloud + priority AI)
|
|
361
|
+
- [ ] Enterprise tier: custom (self-hosted + SSO + SLA)
|
|
362
|
+
- [ ] Plugin API (FeatureScript equivalent — JS custom features)
|
|
363
|
+
- [ ] Plugin marketplace
|
|
364
|
+
|
|
365
|
+
### Near-term Tasks
|
|
366
|
+
- [ ] Test live site at cyclecad.com/app/ and cyclecad.com/app/mobile.html
|
|
238
367
|
- [ ] Add DUO project as downloadable demo (ZIP or separate hosting, too big for git)
|
|
239
|
-
- [ ] Phase 5 from MASTERPLAN: Constraint solver, sweep, loft, sheet metal tools
|
|
240
|
-
- [ ] Phase 6: Assembly workspace with joint placement
|
|
241
|
-
- [ ] Phase 7: AI sketch-to-3D, smart autocomplete, design validation
|
|
242
368
|
- [ ] LinkedIn launch post for cycleCAD
|
|
243
|
-
- [ ] Clean up ExplodeView repo lock files
|
|
369
|
+
- [ ] Clean up ExplodeView repo lock files
|
|
370
|
+
- [ ] Start OpenCascade.js integration research (Chili3D and bitbybit.dev as references)
|
|
371
|
+
- [ ] Consider: commit competitive-analysis.html and investor deck to repo?
|
|
372
|
+
|
|
373
|
+
# currentDate
|
|
374
|
+
Today's date is 2026-03-24.
|