cyclecad 2.1.0 → 3.1.0

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.
Files changed (94) hide show
  1. package/BILLING-IMPLEMENTATION-SUMMARY.md +425 -0
  2. package/BILLING-INDEX.md +293 -0
  3. package/BILLING-INTEGRATION-GUIDE.md +414 -0
  4. package/COLLABORATION-INDEX.md +440 -0
  5. package/COLLABORATION-SYSTEM-SUMMARY.md +548 -0
  6. package/DELIVERABLES.txt +296 -445
  7. package/DOCKER-BUILD-MANIFEST.txt +483 -0
  8. package/DOCKER-FILES-REFERENCE.md +440 -0
  9. package/DOCKER-INFRASTRUCTURE.md +475 -0
  10. package/DOCKER-README.md +435 -0
  11. package/Dockerfile +33 -55
  12. package/ENHANCEMENT_COMPLETION_REPORT.md +383 -0
  13. package/ENHANCEMENT_SUMMARY.txt +308 -0
  14. package/FEATURE_INVENTORY.md +235 -0
  15. package/FUSION360_FEATURES_SUMMARY.md +452 -0
  16. package/FUSION360_PARITY_ENHANCEMENTS.md +461 -0
  17. package/FUSION360_PARITY_SUMMARY.md +520 -0
  18. package/FUSION360_QUICK_REFERENCE.md +351 -0
  19. package/MODULE_API_REFERENCE.md +712 -0
  20. package/MODULE_INVENTORY.txt +264 -0
  21. package/PWA-FILES-CREATED.txt +350 -0
  22. package/QUICK-START-TESTING.md +126 -0
  23. package/STEP-IMPORT-QUICKSTART.md +347 -0
  24. package/STEP-IMPORT-SYSTEM-SUMMARY.md +502 -0
  25. package/app/css/mobile.css +1074 -0
  26. package/app/icons/generate-icons.js +203 -0
  27. package/app/index.html +1342 -5031
  28. package/app/js/app.js +1312 -514
  29. package/app/js/billing-ui.js +990 -0
  30. package/app/js/brep-kernel.js +933 -981
  31. package/app/js/collab-client.js +750 -0
  32. package/app/js/mobile-nav.js +623 -0
  33. package/app/js/mobile-toolbar.js +476 -0
  34. package/app/js/modules/animation-module.js +497 -3
  35. package/app/js/modules/billing-module.js +724 -0
  36. package/app/js/modules/cam-module.js +507 -2
  37. package/app/js/modules/collaboration-module.js +513 -0
  38. package/app/js/modules/constraint-module.js +1266 -0
  39. package/app/js/modules/data-module.js +544 -1146
  40. package/app/js/modules/formats-module.js +438 -738
  41. package/app/js/modules/inspection-module.js +393 -0
  42. package/app/js/modules/mesh-module-enhanced.js +880 -0
  43. package/app/js/modules/plugin-module.js +597 -0
  44. package/app/js/modules/rendering-module.js +460 -0
  45. package/app/js/modules/scripting-module.js +593 -475
  46. package/app/js/modules/sketch-module.js +998 -2
  47. package/app/js/modules/step-module-enhanced.js +938 -0
  48. package/app/js/modules/surface-module.js +312 -0
  49. package/app/js/modules/version-module.js +420 -0
  50. package/app/js/offline-manager.js +705 -0
  51. package/app/js/responsive-init.js +360 -0
  52. package/app/js/touch-handler.js +429 -0
  53. package/app/manifest.json +211 -0
  54. package/app/offline.html +508 -0
  55. package/app/sw.js +571 -0
  56. package/app/tests/billing-tests.html +779 -0
  57. package/app/tests/brep-tests.html +980 -0
  58. package/app/tests/collab-tests.html +743 -0
  59. package/app/tests/mobile-tests.html +1299 -0
  60. package/app/tests/pwa-tests.html +1134 -0
  61. package/app/tests/step-tests.html +1042 -0
  62. package/app/tests/test-agent-v3.html +719 -0
  63. package/cycleCAD-Architecture-v2.pptx +0 -0
  64. package/docker-compose.yml +225 -0
  65. package/docs/BILLING-HELP.json +260 -0
  66. package/docs/BILLING-README.md +639 -0
  67. package/docs/BILLING-TUTORIAL.md +736 -0
  68. package/docs/BREP-HELP.json +326 -0
  69. package/docs/BREP-TUTORIAL.md +802 -0
  70. package/docs/COLLABORATION-HELP.json +228 -0
  71. package/docs/COLLABORATION-TUTORIAL.md +818 -0
  72. package/docs/DOCKER-HELP.json +224 -0
  73. package/docs/DOCKER-TUTORIAL.md +974 -0
  74. package/docs/MOBILE-HELP.json +243 -0
  75. package/docs/MOBILE-RESPONSIVE-README.md +378 -0
  76. package/docs/MOBILE-TUTORIAL.md +747 -0
  77. package/docs/PWA-HELP.json +228 -0
  78. package/docs/PWA-README.md +662 -0
  79. package/docs/PWA-TUTORIAL.md +757 -0
  80. package/docs/STEP-HELP.json +481 -0
  81. package/docs/STEP-IMPORT-TUTORIAL.md +824 -0
  82. package/docs/TESTING-GUIDE.md +528 -0
  83. package/docs/TESTING-HELP.json +182 -0
  84. package/fusion-vs-cyclecad.html +1771 -0
  85. package/nginx.conf +237 -0
  86. package/package.json +1 -1
  87. package/server/Dockerfile.converter +51 -0
  88. package/server/Dockerfile.signaling +28 -0
  89. package/server/billing-server.js +487 -0
  90. package/server/converter-enhanced.py +528 -0
  91. package/server/requirements-converter.txt +29 -0
  92. package/server/signaling-server.js +801 -0
  93. package/tests/docker-tests.sh +389 -0
  94. package/~$cycleCAD-Architecture-v2.pptx +0 -0
@@ -0,0 +1,228 @@
1
+ {
2
+ "pwa_help_entries": [
3
+ {
4
+ "id": "pwa_install",
5
+ "category": "PWA",
6
+ "title": "Install cycleCAD as an App",
7
+ "tags": ["install", "app", "pwa", "offline"],
8
+ "content": "Install cycleCAD directly to your device for quick access and offline support. Look for the install prompt (usually top-right of browser). Click 'Install' to add cycleCAD to your home screen or application menu. No separate download needed.",
9
+ "shortcuts": ["Ctrl+Shift+I"],
10
+ "images": ["install-prompt.png"]
11
+ },
12
+ {
13
+ "id": "pwa_offline",
14
+ "category": "PWA",
15
+ "title": "Work Offline",
16
+ "tags": ["offline", "work", "no internet", "connectivity"],
17
+ "content": "cycleCAD works completely offline. Design, sketch, create features, and export without internet. Your work is automatically saved locally. When you reconnect, changes sync automatically to the cloud.",
18
+ "examples": [
19
+ "Create sketches and 3D features offline",
20
+ "Export to STL, OBJ, DXF without internet",
21
+ "Changes automatically sync when reconnected",
22
+ "No data loss - all work stored locally"
23
+ ],
24
+ "seeAlso": ["offline_mode", "background_sync", "offline_storage"]
25
+ },
26
+ {
27
+ "id": "pwa_offline_banner",
28
+ "category": "PWA",
29
+ "title": "Offline Mode Indicator",
30
+ "tags": ["offline", "indicator", "status", "connection"],
31
+ "content": "A red banner appears at the top of the app when you're offline. This shows you're in offline mode. Your changes are being saved locally and will sync automatically when you reconnect.",
32
+ "notes": [
33
+ "Banner is informational only",
34
+ "Work continues normally offline",
35
+ "No manual action needed"
36
+ ]
37
+ },
38
+ {
39
+ "id": "pwa_cache",
40
+ "category": "PWA",
41
+ "title": "Manage Cache & Storage",
42
+ "tags": ["cache", "storage", "clear", "disk"],
43
+ "content": "cycleCAD caches files and models locally for offline access. Check your cache size and clear old files from Settings → Offline & Cache. Cache automatically manages itself using LRU (least-recently-used) eviction when full.",
44
+ "actions": [
45
+ "Settings → Offline & Cache",
46
+ "View current cache size",
47
+ "Clear cache with one click",
48
+ "Persistent storage option"
49
+ ]
50
+ },
51
+ {
52
+ "id": "pwa_background_sync",
53
+ "category": "PWA",
54
+ "title": "Automatic Background Sync",
55
+ "tags": ["sync", "offline", "auto", "cloud"],
56
+ "content": "When you go offline, your changes are queued locally. As soon as you reconnect to the internet, they automatically upload to the cloud. You'll see a sync progress notification.",
57
+ "notes": [
58
+ "No manual sync needed",
59
+ "Operations sync in order",
60
+ "Failed ops retry automatically",
61
+ "Works even if you close the app"
62
+ ]
63
+ },
64
+ {
65
+ "id": "pwa_sync_status",
66
+ "category": "PWA",
67
+ "title": "Check Sync Status",
68
+ "tags": ["sync", "progress", "status", "operations"],
69
+ "content": "When syncing offline changes, a progress notification appears showing 'Syncing 3/5 operations...'. This updates in real-time. Once all operations sync, you'll see 'All changes synced!'",
70
+ "seeAlso": ["pwa_background_sync"]
71
+ },
72
+ {
73
+ "id": "pwa_storage_quota",
74
+ "category": "PWA",
75
+ "title": "Storage Quota & Limits",
76
+ "tags": ["storage", "quota", "disk", "limit"],
77
+ "content": "Browsers limit storage per domain. cycleCAD typically has 50-100+ MB available. If you exceed the limit, oldest cached files are automatically deleted. You can also request persistent storage in Settings.",
78
+ "limits": {
79
+ "Chrome": "50% of available disk (min 100 MB)",
80
+ "Firefox": "10% of device storage",
81
+ "Safari_Desktop": "50 MB per domain",
82
+ "Safari_iOS": "50 MB per app"
83
+ }
84
+ },
85
+ {
86
+ "id": "pwa_persistent_storage",
87
+ "category": "PWA",
88
+ "title": "Request Persistent Storage",
89
+ "tags": ["storage", "persistent", "permissions"],
90
+ "content": "By default, browser cache can be cleared automatically. Request persistent storage to prevent this. Go to Settings → Offline & Cache → 'Keep Storage' and allow the permission. Your data won't be auto-cleared.",
91
+ "warning": "Browser might still clear storage if device is low on disk space"
92
+ },
93
+ {
94
+ "id": "pwa_file_handling",
95
+ "category": "PWA",
96
+ "title": "Open Files Directly in cycleCAD",
97
+ "tags": ["files", "open", "drag drop", "import"],
98
+ "content": "Right-click STEP, STL, or OBJ files in File Explorer/Finder and select 'Open With cycleCAD'. Or drag files directly onto the cycleCAD window. Files open in the import dialog automatically.",
99
+ "supported_types": [".step", ".stp", ".stl", ".obj", ".glb", ".gltf"],
100
+ "platforms": ["Windows", "macOS", "Linux"]
101
+ },
102
+ {
103
+ "id": "pwa_share_target",
104
+ "category": "PWA",
105
+ "title": "Share Files to cycleCAD",
106
+ "tags": ["share", "files", "integration", "os"],
107
+ "content": "Windows 11+ and Android support sharing files to apps. Right-click a file → Share → cycleCAD to open it directly. iOS uses 'Share Sheet' → More → cycleCAD.",
108
+ "availability": ["Windows 11+", "Android", "iOS 14+"]
109
+ },
110
+ {
111
+ "id": "pwa_update_prompt",
112
+ "category": "PWA",
113
+ "title": "Update cycleCAD",
114
+ "tags": ["update", "new version", "upgrade"],
115
+ "content": "When a new version is available, a blue notification appears: 'Update available'. Click 'Update Now' to reload with the latest features. Updates happen automatically in the background.",
116
+ "notes": [
117
+ "No app store needed",
118
+ "Updates are usually <5 MB",
119
+ "Work is saved before updating"
120
+ ]
121
+ },
122
+ {
123
+ "id": "pwa_install_prompt",
124
+ "category": "PWA",
125
+ "title": "Install Prompt",
126
+ "tags": ["install", "app", "home screen", "standalone"],
127
+ "content": "cycleCAD shows an 'Add to Home Screen' prompt on first visit. Click 'Install' to add the app shortcut. You can dismiss this and install manually anytime from the browser menu.",
128
+ "manual_install": [
129
+ "Browser menu (⋮)",
130
+ "Click 'Install app' or 'Add to home screen'",
131
+ "Choose name and icon",
132
+ "Confirm"
133
+ ]
134
+ },
135
+ {
136
+ "id": "pwa_offline_available_projects",
137
+ "category": "PWA",
138
+ "title": "View Offline Projects",
139
+ "tags": ["offline", "projects", "available", "cache"],
140
+ "content": "When offline, visit the offline page to see all projects cached locally. Click a project to open it. Projects are automatically cached when you work on them online.",
141
+ "url": "/app/offline.html"
142
+ },
143
+ {
144
+ "id": "pwa_clear_cache",
145
+ "category": "PWA",
146
+ "title": "Clear All Cached Data",
147
+ "tags": ["cache", "clear", "delete", "storage"],
148
+ "content": "Go to Settings → Offline & Cache → 'Clear Cache'. This removes all cached models and temporary files but keeps your projects. You can still work offline with cached projects.",
149
+ "warning": "This frees up disk space but may slow initial load times"
150
+ },
151
+ {
152
+ "id": "pwa_offline_no_internet",
153
+ "category": "PWA",
154
+ "title": "Features Requiring Internet",
155
+ "tags": ["offline", "internet", "features", "limitations"],
156
+ "content": "Most cycleCAD features work offline. Features that require internet: STEP import/export (cloud conversion), AI analysis, cloud sync, model marketplace, and AI chatbot.",
157
+ "online_required": [
158
+ "STEP file import/export",
159
+ "AI design review",
160
+ "Cloud project sync",
161
+ "Share links",
162
+ "Model marketplace",
163
+ "AI copilot"
164
+ ],
165
+ "offline_available": [
166
+ "Full 3D modeling",
167
+ "Sketching and constraints",
168
+ "Feature operations",
169
+ "Export to STL/OBJ/DXF",
170
+ "Assembly creation",
171
+ "Auto-save locally"
172
+ ]
173
+ },
174
+ {
175
+ "id": "pwa_offline_sync_queue",
176
+ "category": "PWA",
177
+ "title": "Offline Operation Queue",
178
+ "tags": ["offline", "queue", "sync", "operations"],
179
+ "content": "When offline, your operations are queued locally. Each operation shows 'Queued - will sync online'. When you reconnect, they automatically upload in order with retry logic for reliability.",
180
+ "behavior": [
181
+ "Operations stored in IndexedDB",
182
+ "Survives app restart/crash",
183
+ "Syncs in creation order",
184
+ "Retries failed ops automatically",
185
+ "Progress shown during sync"
186
+ ]
187
+ },
188
+ {
189
+ "id": "pwa_storage_check",
190
+ "category": "PWA",
191
+ "title": "Check Storage Usage",
192
+ "tags": ["storage", "quota", "usage", "disk"],
193
+ "content": "Settings → Offline & Cache shows your cache size and remaining quota. Example: 'Cache: 245 MB / 250 GB available'. This updates in real-time.",
194
+ "where": "Settings panel → Offline & Cache section"
195
+ },
196
+ {
197
+ "id": "pwa_browser_compatibility",
198
+ "category": "PWA",
199
+ "title": "Browser Compatibility",
200
+ "tags": ["browser", "support", "compatibility", "os"],
201
+ "content": "cycleCAD PWA works best in Chrome, Edge, and Opera. Firefox has partial support. Safari has limited offline and file handling. All browsers require HTTPS and modern JavaScript support.",
202
+ "support_matrix": {
203
+ "Chrome": "✓ Full",
204
+ "Edge": "✓ Full",
205
+ "Opera": "✓ Full",
206
+ "Firefox": "~ Partial",
207
+ "Safari": "~ Limited"
208
+ }
209
+ },
210
+ {
211
+ "id": "pwa_manual_sync",
212
+ "category": "PWA",
213
+ "title": "Manually Trigger Sync",
214
+ "tags": ["sync", "manual", "operations", "offline"],
215
+ "content": "cycleCAD syncs automatically when you reconnect. To manually sync: Settings → Offline & Cache → 'Sync Now'. Useful if auto-sync hangs or you want to ensure sync completes.",
216
+ "steps": [
217
+ "Go online",
218
+ "Settings → Offline & Cache",
219
+ "Click 'Sync Now'",
220
+ "Watch progress bar",
221
+ "Notification when done"
222
+ ]
223
+ }
224
+ ],
225
+ "pwa_help_categories": {
226
+ "PWA": "Progressive Web App features, offline mode, installation, caching, and synchronization"
227
+ }
228
+ }