Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

SVG 3D Print Studio

A single-file browser tool that turns SVG artwork into 3D-printable meshes. Load a vector, tune extrusion depth and bevel in millimeters, preview in real time, and export STL/OBJ/GLB ready for your slicer.

Studio full view

Features

  • SVG Import — drag-and-drop, file picker, or paste raw SVG markup
  • Millimeter-based controls — target width, extrusion depth, bevel thickness/size
  • Bevel & smoothness — configurable bevel segments and curve resolution
  • Live 3D preview — Three.js viewport with PBR materials, shadows, and print bed grid
  • Material preview — toggle SVG colors, wireframe, metalness, roughness
  • Rotation controls — precise X/Y/Z degree inputs with quick +/-90 buttons
  • Export — STL (binary), OBJ, and GLB formats
  • Zero dependencies — single HTML file, CDN-loaded Three.js

Screenshots

3D Viewport

3D viewport with extruded Peakflow logo

Controls Panel

Shape and material controls

Usage

Open index.html in any modern browser. No build step, no server required.

  1. Load an SVG (drop a file, click "Load SVG", or paste markup)
  2. Adjust width, depth, and bevel settings
  3. Preview rotation and material
  4. Export as STL, OBJ, or GLB

Tips for Best Results

  • Use filled paths — stroke-only SVGs won't extrude. Convert strokes to outlines first.
  • Keep SVGs simple — complex gradients and clip paths are ignored during extrusion.
  • Higher shape smoothness = smoother curves but denser mesh. Start low for draft prints.
  • Bevel smoothness above 5-6 adds detail that most FDM printers can't resolve.

Tech Stack

  • Three.js r170 (CDN)
  • SVGLoader, OrbitControls, STLExporter, OBJExporter, GLTFExporter

License

MIT

About

SVG to 3D print studio — extrude vectors into printable STL/OBJ/GLB meshes with Three.js

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages