Skip to content

About

An interactive web app to design, preview in 3D, and export printable STL frames for HueForge prints and photos.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

FrameGen 3D

Design a custom 3D-printable frame for a HueForge print, photo, or poster. Set the dimensions in millimeters, inspect the model in 3D, and download a single STL or a ZIP of parts for a larger frame.

Open the browser app · Po polsku

FrameGen 3D showing an orange rectangular frame with rounded corners on a virtual print bed, next to the size and border controls

Make a frame

  1. Choose a shape and size. Start with a rectangle or a hexagon. Pick a preset or enter the picture dimensions to 0.1 mm. For hexagons, measure between opposite flat sides.
  2. Set the fit. Adjust the clearance around the picture, the border width, and the overall height. The pocket depth sets how much room there is for the picture's thickness. The support shelf is the front lip that holds it in place. Single-piece rectangles also support rounded outer corners.
  3. Check the printer bed. Choose a preset or enter custom bed dimensions. The app checks each part's rectangular XY footprint, including a 90° rotation. Allow room for brims, skirts, clips, and margins in your slicer.
  4. Download for slicing. Export a binary STL for a single-piece frame. For a split frame, download all parts as a ZIP or export individual STLs.

The 3D preview lets you orbit the model, change the filament color, and toggle the bed grid. The measurements panel shows the outer dimensions, volume, and estimated mass for solid PLA. Your slicer can estimate filament use for your print settings.

Split a large frame

Turn on Enable frame splitting and set the maximum part length. Choose half-lap or dovetail joints for either shape, or Bowtie joints for rectangular frames. The ZIP includes part STLs, assembly instructions, and a JSON manifest with each part's bed fit. A Bowtie ZIP also includes the key STL and the number of copies to print.

A frame for a 320 × 450 mm poster, split into ten gold segments that fit the selected 256 × 256 mm printer bed

Plan wall mounting

Use the Mounting Planner to position and rotate adhesive strips on the back of the frame. Choose an S, M, or L preset or enter custom strip dimensions. The planner highlights strips that extend beyond the supporting surface. Rectangular frames also support optional blind cylindrical recesses on a selected side.

Mounting Planner showing three adhesive strips positioned on the back of a hexagonal frame, with controls for strip size and rotation

FrameGen saves the project in your browser. Use Export project JSON to keep a backup or Import project JSON to open it on another device. The interface is available in English and Polish.

Run locally

Requires Node.js 24 or later. The app is built with React, TypeScript, Vite, and Three.js.

git clone https://github.com/ventus34/hueforge-frame-generator.git
cd hueforge-frame-generator
npm ci
npm run dev

Open http://localhost:5173. Run npm run lint, npm test, and npm run build to check the project. The production bundle is written to dist/. The GitHub Actions workflow runs those checks and deploys the bundle to GitHub Pages from main or on manual runs.

Po polsku

Zaprojektuj ramkę do wydruku HueForge, zdjęcia lub plakatu. Wybierz prostokąt albo heksagon, wpisz wymiary obrazka i ustaw luz, głębokość kieszeni oraz szerokość podparcia. Wybierz rozmiar stołu drukarki i pobierz STL. Większą ramkę możesz podzielić na części i pobrać ZIP z plikami STL, instrukcją montażu i informacją o dopasowaniu części do stołu.

W Planerze montażu rozmieścisz rzepy lub taśmy z tyłu ramki. Projekt zapisuje się automatycznie w przeglądarce. Możesz też wyeksportować go jako JSON i wczytać na innym urządzeniu.

Uruchom FrameGen 3D. Polski interfejs włączysz przyciskiem PL.

License

MIT © ventus34

Built with assistance from Antigravity AI (Google DeepMind).

About

An interactive web app to design, preview in 3D, and export printable STL frames for HueForge prints and photos.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages