Skip to content

mioshina/PCBprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCB Print Forge

A browser-based generator for 3D-printable PCB-style models from three PNG masks:

  • Outline mask: base shape/depth (required)
  • Trace mask: extra raised depth on top of the outline (optional)
  • Hole mask: carved out through all layers (optional)

Keep vs Carve Rule

For every PNG:

  • White pixels are treated as "out" (removed)
  • Non-white pixels are treated as "keep" (solid)

Use the White threshold control to decide what counts as white.

Accurate Real-World Scale

  • If your PNG was exported with a known DPI (for example 1000), enable Use DPI to auto-calculate XY scale.
  • The generator uses: mm per pixel = 25.4 / DPI.
  • If images are downsampled by Max image dimension, the app automatically compensates so physical STL size remains correct.
  • For tighter dimensional accuracy, increase Max image dimension (for example 700-1000) to reduce raster quantization error on edges.

Run

Open index.html in a modern browser.

No build step is required.

Output

Click Export STL after generating to download a binary STL file you can slice for 3D printing.

Notes

  • All masks are resized to the outline dimensions and limited by Max image dimension for performance.
  • The mesh is generated from voxels for predictable behavior from mask data.
  • You can tune horizontal scale with XY size per pixel (mm) and depth with Layer step in Z (mm).

About

creating 3D print with your PNG files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors