Skip to content

fihorvat/material-layout-planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ 2D Material Layout Planner

🧱 A local, browser-only app for planning how rectangular materials are laid out across measured 2D surfaces.

Draw real-world geometry, assign materials, preview placement patterns, and export cut lists and PDF documentation β€” all from your browser, with no server, no account, no cloud.

✨ Features

  • πŸ–ŠοΈ Accurate 2D drawing with real dimensions, grid, and snapping
  • 🧩 Named surfaces, openings, and multi-surface connections
  • 🎨 Material library with size, thickness, joints, and styles
  • πŸ” Placement patterns (stacked, running bond, custom offsets, …)
  • πŸͺš Auto-generated cut lists, cutting diagrams, and waste reports
  • ↔️ Physical edge overlap with semi-transparent visualization
  • πŸ–ΌοΈ Background image import with two-point calibration
  • πŸ’Ύ Local project storage + JSON import/export
  • πŸ“„ One-click PDF export with technical drawings and instructions

🧰 Tech Stack

βš›οΈ React Β· 🟦 TypeScript Β· ⚑ Vite Β· 🐻 Zustand Β· 🎭 Konva Β· πŸ“• pdf-lib Β· πŸ§ͺ Vitest

πŸ› οΈ Development

Requires Node >= 20.10 and npm.

npm install        # πŸ“¦ install dependencies
npm run dev        # πŸš€ start dev server
npm test           # πŸ§ͺ run tests
npm run build      # πŸ—οΈ build for production
npm run preview    # πŸ‘€ preview the production build

πŸ“š Documentation

Detailed documentation for every feature, tool, data model, and workflow lives on the GitHub Wiki.

Quick links:

When you change a feature in this codebase, you must also update the matching wiki page. See AGENTS.md for the agent-level rules.

About

πŸ“ 2D material layout planner β€” draw surfaces, assign rectangular materials, generate patterns, cut lists, and PDF docs. Runs 100% in the browser.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages