• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Customizable Magnet-Tag Generator 3D Printer File Image 1
Customizable Magnet-Tag Generator 3D Printer File Image 2
Customizable Magnet-Tag Generator 3D Printer File Image 3
Customizable Magnet-Tag Generator 3D Printer File Thumbnail 1
Customizable Magnet-Tag Generator 3D Printer File Thumbnail 2
Customizable Magnet-Tag Generator 3D Printer File Thumbnail 3

Customizable Magnet-Tag Generator

nirastich avatarnirastich

February 19, 2026

makerworld-icon
DescriptionCommentsTags

Description

Boost MeIf 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:

  • Pastebin: https://pb.73.nu/magnet-tag
  • Fork: https://pb.73.nu/magnet-tag/fork
  • Preview (using https://ochafik.com): https://pb.73.nu/magnet-tag/view

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

License:

BY-NC-SA

Related Models

NUT JOB | Nut, Bolt, Washer and Threaded Rod Factory preview image

NUT JOB | Nut, Bolt, Washer and Threaded Rod Factory

mike_mattala profile image

mike_mattala

51,796

BETTER VENTILATED FUNNEL - PARAMETRIC preview image

BETTER VENTILATED FUNNEL - PARAMETRIC

Peter H profile image

Peter H

9,090

Custom Dog Tag preview image

Custom Dog Tag

chinospeaks profile image

chinospeaks

1,160

Customizable U-Hook preview image

Customizable U-Hook

sergep profile image

sergep

39,771

Ender 3 NG - coreXY (beta) preview image

Ender 3 NG - coreXY (beta)

RH3D profile image

RH3D

1,857

Custom QR Code Luggage / Bag Tag preview image

Custom QR Code Luggage / Bag Tag

vlycser profile image

vlycser

8,803

3D Printable Jet Engine preview image

3D Printable Jet Engine

Catiav5ftw profile image

Catiav5ftw

39,718

Parametric hinge preview image

Parametric hinge

FM profile image

FM

11,925