Search models, users, collections, and posts

Customizable Magnet-Tag Generator

Print Profile(1)

All
P1S
X1 Carbon
H2D Pro
H2C
X1
P2S
P1P
H2D
H2S
A1
X1E
X2D
A2L

Magnet fit tests
Magnet fit tests
Designer
1.9 h
4 plates

Open in Bambu Studio
Boost
12
50
0
0
106
43
Released 

Description

Boost Me (for free)

If you like the Customizer, I would really appreciate a boost :)

Magnet-Tag Generator

A customizable OpenSCAD generator for magnetic nametags.
Text, font, size, margins, rounded corners, magnet placement, and text style are fully parametric.

Features

  • Configurable tag size derived automatically from text and margins
  • Bold toggle for the text
  • Text can be extruded outward or inverted (cut into the tag) with adjustable depth
  • Smooth rounded corners with a single radius parameter
  • Automatic magnet hole placement with configurable max spacing — adapts to tag width
  • Adjustable magnet tolerance for dialing in the perfect fit on your printer
  • Visual indicators for the thin floor under magnets in preview mode
  • Uses Liberation Mono for consistent cross-platform rendering

Usage

Online

  1. Click on "Customize"

Local

  1. Download and open the .scad file in OpenSCAD.
  2. Tweak the parameters in the Tag and Advanced sections at the top.
  3. Press F5 to preview, then F6 to render.
  4. Export to STL for printing.

Print Tip

Add a pause to your print at the layer just above the magnet cavity (magnet_under + magnet_height + magnet_tolerance). This lets you drop the magnets into the holes before the printer seals them in. In most slicers you can add a pause via a height-based color change or custom G-code (M0 or M601). With the default settings this is at 2.6 mm (0.4 mm floor + 2 mm magnet + 0.2 mm tolerance).

Parameters

Tag

NameTypeDefaultWhat it does
inputstring"Custom Text"The main text displayed on the tag.
boldbooltrueToggle bold text.
text_sizemm10Height of the text.
text_invertboolfalseCut text into the tag instead of extruding outward.
text_depthmm0.4Depth of the text extrusion or cut.
marginmm3Margin around the text on all sides.
tag_radiusmm3Radius for all four rounded corners.
magnet_diametermm6Diameter of the magnet holes.
magnet_heightmm2Height of the magnet holes.
magnet_tolerancemm0.2Extra clearance added to the magnet cavity diameter. Increase if magnets don't fit, decrease for a tighter hold.

Advanced

NameTypeDefaultWhat it does
magnet_undermm0.4Thickness of the floor under the magnets.
magnet_abovemm0.6Thickness of the ceiling above the magnets.
font_factorfloat0.8Width factor for text width calculation. Calibrate to your font.
magnet_max_spacingmm30Maximum distance between magnet holes before an additional hole is added.
name_line_spacingfloat1.5Line spacing multiplier for multi-line names.
tag_colorcolor"white"Color of the tag body.
text_colorcolor"black"Color of the text.

Pastebin

You can view or edit the code directly at the following links:

License

This project is licensed under the
Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
You may remix, adapt, and build upon this work non-commercially, as long as you credit the original creator.

More info: https://creativecommons.org/licenses/by-nc/4.0/

Created by Christian Leroch
https://www.Leroch.net

Comment & Rating (0)

(0/1000)