Skip to content
1st Place

CAD Sandboxes

This project provides CAD sandboxes to Astra via a VM, wraps Fusion with a HTTP interface and realtime stream of the workspace state.

Core trick

A background worker uploads the model to JLC3DP through a headless browser while the 3D preview renders immediately.

Tags

Description

This project provides CAD sandboxes to Astra via a VM, wraps Fusion with a HTTP interface and realtime stream of the workspace state. We also create a terminal viewer so that you can split screen and interact with both Astra and see the model in realtime all within the same TUI.
peytoncasper/cad-sandboxes★ 10 forksPythonCreated Sep 9, 2026 · last push Sep 9, 2026

README excerpt

# CAD Sandboxes

An interactive CAD preview and manufacturing quote prototype. Upload a model, inspect its geometry, choose material and quantity, and watch the price update as a browser checks the selections with JLC3DP.

## Run locally

Requires Python 3.10+, Node.js 22+, npm, and Google Chrome.

```sh
git clone https://github.com/peytoncasper/cad-sandboxes.git
cd cad-sandboxes
npm install -g browse@0.9.6
cd click-to-ship
npm ci
python3 server.py --port 8766
```

Open **http://127.0.0.1:8766** and choose the included 20 mm test cube or your own STL, STEP, OBJ, or 3MF file. Selecting a file starts an upload to JLC3DP. The default browser runs locally and does not require a Browserbase account.

The model preview opens immediately while a background worker uploads and analyzes the part. Material and quantity changes are queued, saved, and verified before a quote is marked current. Shipping is a US country-level estimate; the flow ends at quote review.

## Project layout

| Directory | Purpose |
| --- | --- |
| `click-to-ship/` | Quote UI, geometry viewer, browser automation, and recording script |
| `cad-preview/` | Standalone STL viewer with live file updates |
| `fusion-workstation/` | Configurable VM lifecycle, native Autodesk login, and terminal workspace UI |

See [the UI protocol](click-to-ship/WEB.md), [recording instructions](click-to-ship/RECORDING.md), [the visual theme](click-to-ship/THEME.md), and [the STL preview](cad-preview/README.md).

The [Fusion workstation 

Team