b0909b29ba
Picking in the viewport writes a selection cell (ql selectors from the picked geometry, selected_<kind>[_<i>] and selected_item) and saves a snapshot (.sca-editor/snapshot.json + viewport.png, sca snapshot) for coding agents. The viewport gets a ground grid and an axis gizmo in a CAD (Z up) frame. Cells fold to their step name, run everything above, autosave, and are deleted with a trash button; the inspector shows a JSON tree; the chrome is black and white with square 2px rules. Opening a notebook clears the model at once. ql.vertices() now resolves through solids and faces. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "simplecad-editor-web",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc --noEmit -p tsconfig.json && vite build",
|
|
"lint": "oxlint",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-python": "^6.2.1",
|
|
"@codemirror/language": "^6.13.1",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.43.14",
|
|
"@lezer/highlight": "^1.2.5",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@types/three": "^0.186.0",
|
|
"@uiw/react-codemirror": "^4.25.12",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"fflate": "^0.8.3",
|
|
"lucide-react": "^1.48.0",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"react-resizable-panels": "^4.13.3",
|
|
"tailwind-merge": "^3.7.0",
|
|
"tailwindcss": "^4.3.3",
|
|
"three": "^0.186.1",
|
|
"tw-animate-css": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@radix-ui/react-scroll-area": "^1.2.18",
|
|
"@radix-ui/react-separator": "^1.1.15",
|
|
"@radix-ui/react-slider": "^1.4.7",
|
|
"@radix-ui/react-slot": "^1.3.3",
|
|
"@radix-ui/react-tabs": "^1.1.21",
|
|
"@radix-ui/react-tooltip": "^1.2.16",
|
|
"@types/node": "^24.13.3",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-dom": "^19.2.7",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"oxlint": "^1.81.0",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.3.0"
|
|
}
|
|
}
|