https://github.com/dgca/3d-box-generator
https://github.com/dgca/3d-box-generator
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dgca/3d-box-generator
- Owner: dgca
- Created: 2026-05-12T19:13:29.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-13T04:03:12.000Z (about 2 months ago)
- Last Synced: 2026-05-13T05:15:14.932Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://3d-box-generator-frontend.vercel.app
- Size: 1010 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# 3D Box Generator Workspace
Monorepo for the 3D Box Generator app and its publishable core library.
## Packages
- `packages/frontend`: Next.js UI for configuring boxes, previewing meshes, and downloading STL files.
- `packages/3d-box-generator`: Headless TypeScript library for generating box/lid meshes and STL strings.
## Commands
```bash
pnpm install
pnpm dev
pnpm build
pnpm lint
```
`pnpm dev` builds the library once, then starts the library watcher and frontend dev server together. `pnpm build` builds the library first, then the frontend.
## Library
The frontend imports the workspace package the same way an external consumer will:
```ts
import { createBodyStl, createLidStl } from "3d-box-generator";
```
The library is ready for local workspace consumption and emits `dist/` bundles plus TypeScript declarations. Publishing metadata is in place, but the package has not been published yet.