Files
snapcad-studio/README.md
T

134 lines
4.3 KiB
Markdown
Raw Normal View History

2026-06-12 20:58:40 +03:00
<div align="center">
<table>
<tr>
<td width="180" align="center">
2026-06-12 21:02:56 +03:00
<img src="apps/web/public/assets/sketchforge/sketchforge-logo-transparent.png" width="150" alt="SketchForge logo">
2026-06-12 20:58:40 +03:00
</td>
<td>
<h1 align="right">SketchForge</h1>
<h3 align="right">A local-first 3D design editor that runs in your browser.</h3>
<p align="right">
Build shapes, cut holes, group parts, import STL files, and export models without accounts, cloud lock-in, or heavyweight CAD setup.
</p>
</td>
</tr>
</table>
2026-06-06 23:10:29 +03:00
2026-06-12 20:58:40 +03:00
<p>
2026-06-13 16:18:02 +03:00
<a href="https://sketchforge-3d.vercel.app"><img alt="Live demo" src="https://img.shields.io/badge/live%20demo-open-000000"></a>
2026-06-12 20:58:40 +03:00
<a href="LICENSE"><img alt="MIT license" src="https://img.shields.io/badge/license-MIT-16a34a"></a>
2026-06-12 21:29:51 +03:00
<a href="https://github.com/Formsmith746/SketchForge-3D/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/Formsmith746/SketchForge-3D?style=social"></a>
2026-06-12 20:58:40 +03:00
<img alt="Local first" src="https://img.shields.io/badge/local--first-no%20account-0ea5e9">
</p>
</div>
2026-06-06 23:10:29 +03:00
2026-06-12 20:58:40 +03:00
![SketchForge editor showing a selected block on the workplane](docs/media/editor-block.png)
2026-06-06 23:10:29 +03:00
2026-06-12 20:58:40 +03:00
## Why SketchForge
2026-06-06 23:10:29 +03:00
2026-06-12 20:58:40 +03:00
SketchForge is a lightweight CAD-style workspace for people who want to sketch, cut, and export 3D models quickly.
2026-06-06 23:10:29 +03:00
2026-06-12 20:58:40 +03:00
It is built for the satisfying loop: drop a shape, resize it, rotate it, make another shape a hole, group the result, import an STL if primitives are not enough, and export the finished model.
2026-06-06 23:10:29 +03:00
2026-06-12 20:58:40 +03:00
No login. No server project storage. No heavyweight CAD install just to make a useful part.
2026-06-06 23:10:29 +03:00
2026-06-12 20:58:40 +03:00
## What It Does
2026-06-06 23:10:29 +03:00
2026-06-12 20:58:40 +03:00
- **Local-first projects** - designs live in browser storage with generated project thumbnails.
- **Real 3D workplane** - grid, camera controls, snap settings, transform handles, outlines, and inspector controls.
- **Primitive shape library** - boxes, cylinders, spheres, cones, pyramids, wedges, text, roofs, half spheres, torus shapes, tubes, and more.
- **Solid and hole workflow** - turn shapes into cutters and group them into final geometry.
- **STL import** - bring outside models into the same workspace as primitives.
- **STL and OBJ export** - export selected objects or the whole scene.
- **Fast browser stack** - Next.js, React, TypeScript, Three.js, and Manifold/CSG geometry tooling.
2026-06-07 09:18:38 +03:00
2026-06-12 20:58:40 +03:00
## Demo
2026-06-07 09:18:38 +03:00
2026-06-07 10:22:38 +03:00
![SketchForge editor demo preview](docs/media/videos/01-create-and-edit-block-preview.gif)
2026-06-07 09:18:38 +03:00
## Quick Start
2026-06-12 20:58:40 +03:00
Requirements:
2026-06-06 23:10:29 +03:00
- Node.js 20 or newer
- npm
```bash
npm install
npm run dev
```
2026-06-12 20:58:40 +03:00
Open:
2026-06-06 23:10:29 +03:00
```text
http://127.0.0.1:3000/
```
2026-06-12 20:58:40 +03:00
## Development
2026-06-06 23:10:29 +03:00
```bash
npm run typecheck
```
2026-06-12 20:58:40 +03:00
Run TypeScript checks.
2026-06-07 09:18:38 +03:00
```bash
npm run build
```
Create a production build.
```bash
npm run export
```
Build with static export mode enabled.
2026-06-06 23:10:29 +03:00
2026-06-12 20:58:40 +03:00
## Project Layout
```text
apps/web/ Next.js app workspace
apps/web/src/app/ App routes, dashboard, API routes, styles
apps/web/src/components/ Editor, viewport, sidebar, icons, controls
apps/web/src/types/ Shared shape and editor types
apps/web/src/generated/ Generated Manifold runtime source
apps/web/src/lib/ Shared utilities
apps/web/public/assets/ Static app images, icons, logos, shape assets
docs/media/ README screenshots and demo videos
.github/ Issue templates and community files
```
## Current Status
SketchForge is alpha, but the core editor loop is usable today:
- create and reopen local projects
- add, move, resize, rotate, mirror, align, duplicate, hide, and delete shapes
- switch shapes between solid and hole modes
- group and ungroup geometry
- import STL files
- export STL or OBJ
- generate project thumbnails
The next big areas are workflow polish, more geometry edge-case testing, stronger automated editor coverage, and better release documentation.
2026-06-06 23:10:29 +03:00
## Contributing
2026-06-12 20:58:40 +03:00
Contributions are welcome. Good places to help:
2026-06-07 09:18:38 +03:00
- editor bug fixes
2026-06-12 20:58:40 +03:00
- geometry and boolean test cases
2026-06-07 09:18:38 +03:00
- STL import/export edge cases
- UI polish
- documentation screenshots and videos
2026-06-12 20:58:40 +03:00
- accessibility and performance improvements
2026-06-07 09:18:38 +03:00
2026-06-12 20:58:40 +03:00
Read [.github/CONTRIBUTING.md](.github/CONTRIBUTING.md) before opening a pull request.
2026-06-07 09:18:38 +03:00
## Security
Please do not open public issues for security-sensitive reports. Read [.github/SECURITY.md](.github/SECURITY.md) for the reporting process.
2026-06-06 23:10:29 +03:00
## License
2026-06-07 09:18:38 +03:00
MIT. See [LICENSE](LICENSE).