A fully parametric OpenSCAD name tag generator, designed as a reusable tool rather than a static STL.
The primary use case is clean, reliable name tags, but the same code can also generate individual letters, numbers, and custom text-based tags using different parameters and print profiles.
This model is built with a strong focus on:
consistent geometry
print reliability
clean edges and rounded 3D surfaces
flexibility across multiple use cases
Key features
Original parametric OpenSCAD design
Generates name tags, letters, and numbers from a single codebase
Optimized for 0.4 mm nozzle
No supports required
Easy to scale and customize
Suitable for single-color and multi-color printing
Included print profiles demonstrate:
uppercase letters
lowercase letters
numbers
example name tags
Parameters explained (OpenSCAD)
Text
name Text to generate (name, word, single letter, or number).
text_size Controls overall text size.
text_offset_x, text_offset_y Fine optical centering of the text.
Tag dimensions
tag_height Overall thickness of the tag.
padding_x, padding_y Spacing between text and tag edges.
Print style
print_style
"simple" → cut-through text (single-color print)
"multicolor" → inset text for multi-color printing
Note: Cut-through text works best for letters without enclosed shapes (e.g. E, L, M, S). Letters like A, O, R will lose inner islands in simple mode.
Magnets / holes
use_magnets Enables magnet pockets or hanging holes.
magnet_diameter Diameter of magnet or hole.
magnet_clearance Extra tolerance for easier fit.
magnet_inset_height
< tag_height → magnet pocket
≥ tag_height → through-hole for hanging
Export mode
export_part
"tag" → exports the full name tag
"text" → exports text only (letters or numbers)
This parameter is essential for multi-color printing.
How to print
Option 1: Simple (single-color)
Fast and minimal setup.
Set:
print_style = "simple";
export_part = "tag";
Export one STL
Slice and print normally
✔ One filament ✔ Quick prints
Option 2: Multicolor (recommended)
Clean, professional result with inset letters.
Step 1: Export two STL files
Tag body
print_style = "multicolor";
export_part = "tag";
Text only
print_style = "multicolor";
export_part = "text";
You will get:
one STL for the tag
one STL for the text
Step 2: Combine in Bambu Studio
Import both STL files simultaneously into BambuStudio
Click “Yes” to “Load these files as a single object with multiple parts?”