Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
# ECAD Forge
Browser-based viewer for standalone native Altium `.SchDoc` and `.PcbDoc` files.
Open schematics, inspect PCB layouts, and explore interactive 3D boards directly in your browser. The 3D tab works from a lone `.PcbDoc`, including embedded STEP payloads stored inside the board file, and can also resolve companion `WRL` and `STEP` models when you load additional matching files.
LIVE: [https://ecadforge.app/](https://ecadforge.app/)
## Features
- Client-side parsing for native Altium files with no server-side preprocessing
- Schematic SVG view derived from recovered record geometry and text
- PCB SVG view with recovered board outline, layer stack, and component placements
- BOM grouping from recovered component metadata
- Interactive 3D PCB viewer with pan, orbit, zoom, embedded STEP extraction, and companion-model lookup
- Worker-backed parse flow with main-thread fallback
- Shared Altium parser and non-interactive renderer core from `@sunbox/altium-toolkit`
- Local Express dev server in `src/server.mjs`
- Shared-hosting PHP metadata endpoint in `api/`
## Project Structure
- `@sunbox/altium-toolkit`: printable-record extraction, normalized Altium parsers, schematic SVG, PCB SVG, BOM HTML, and non-interactive 3D scene-description utilities
- `src/ui/`: viewer shell and interaction controllers
- `src/workers/altium-parser.worker.mjs`: off-main-thread native parsing
- `api/`: deployable PHP metadata endpoint for FTP/shared-hosting deployments
- `tests/`: app state, server, interaction, and structure tests
- `docs/`: architecture, setup, testing, security, troubleshooting
- `spec/`: product scope and acceptance criteria
## Documentation
- [Getting Started](docs/getting-started.md)
- [Architecture](docs/architecture.md)
- [Testing](docs/testing.md)
- [Security](docs/security.md)
- [Troubleshooting](docs/troubleshooting.md)
- [Specification](spec/web-app-specification.md)
## Start
```bash
npm install
npm start
```
Open `http://localhost:3000/` and load one or more native `.SchDoc`, `.PcbDoc`, companion `WRL`, or companion `STEP` files. The 3D view will use any STEP payloads embedded in the `.PcbDoc` itself, and you can also load matching companion model files in the same selection to improve model fidelity further.
Production deployment is available at [https://ecadforge.app/](https://ecadforge.app/).
## Test
```bash
npm test
```
Parser and deterministic renderer tests live in the shared `@sunbox/altium-toolkit` repository. This app test suite covers app state, server behavior, interaction controllers, and ECAD Forge integration.
## Formatting
```bash
npm run format
```
## License
The source code in this repository is licensed under the
PolyForm Noncommercial License 1.0.0. See [LICENSE](LICENSE)
for the full license text and [NOTICE](NOTICE) for the required
redistribution notices.
44d9cf13cThis file is pinned to the selected release. Download the original to open it in your design tool.