3
Home
unfunny edited this page 2026-02-14 19:44:24 -05:00

svg2nametag-Ren

Welcome to the svg2nametag-Ren wiki! This project provides tools to convert 2D SVG designs into 3D printable nametag models (STL). It specifically targets multi-material or multi-color 3D prints by generating separate STL files for different layers/colors based on SVG class mappings.

  • Walkthrough-(CLI): Learn how to use the Python command-line tool for bulk conversions.
  • Walkthrough-(Web-App): Learn how to use the client-side Web application for a visual experience.
  • Architecture: Deep dive into the geometry logic and "behind the scenes" math.
  • Self-Hosting: Guide on deploying the web app to your own server.

Features

  • Automatic Multi-Material Separation: Detects colors based on SVG classes (st1, st2) and creates separate STL files.
  • Precision Scaling: Automatically scales designs to a standard nametag width (87.80mm).
  • Hole Handling: Correctly processes "Even-Odd" fill rules found in complex SVG paths (like letters with holes).
  • Two Modalities: Bulk processing via Python CLI or interactive processing via Web App.
  • Behind the Scenes: Uses high-performance libraries like Shapely and Manifold (WASM) for geometry processing.