Search models, users, collections, and posts

Lightbox name generator

IP Report
This model is created by Parametric Model Maker
Make Your Model

Print Profile(1)

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

0.2mm layer, 2 walls, 15% infill
0.2mm layer, 2 walls, 15% infill
Designer
1.1 h
1 plate
5.0(5)

Open in Bambu Studio
Boost
3187
6139
273
280
7.3 k
1 k
Released 

Bill of Materials

Maker's Supply Kits and Parts
Select all
WS2812B RGB LED Strip Light (1pcs) - KA001 / RGB(97809)

Description

Description: 

This 3D printable name plate is designed to display a personalized name in a stylish font with an integrated hole for LED lighting. The model features a layered design, including a base with a central hole to accommodate an LED light. The script allows customization of the name, font, text size, extrusion height, and LED hole diameter. The design can be previewed or printed directly based on the selected mode.
 


Important:
I have released a completely new script built from scratch, with support for many new features: multi-line, more font options, customizable design colors, an improved joining method, and more.

https://makerworld.com/en/models/710458#profileId-640805

 

Boost Me (for free)

Boosts really help me continue designing, so if you like my work, it's a great way to say thank you at no cost to you.

Instructions:

Parameters:

  • mode:
    Preview: In this mode the text will be faced up and will be extra extruded, so it is easier to visualize the final design
    Print: Select this mode once you are happy with the result. It will face down the text and will generate a flat surface for printing
  • name: the desired text to show.
  • font: choose your preferred font from the available options.
  • textSize: font size.
  • extrudeHeight: the height of the lightbox
  • ledsHoleDiameter: Set the diameter of the LED hole.
  • flatBase: If it is active, it will set a flat base for letting the lightbox stand straight (usefull when the text has letters like “g” or “j”)

left: flatBase OFF
right: flatBase ON

  • fillGaps: when using spacing or symbols that will just fill the upper part of the lightbox, you can active this flag to fill the bottom gap.
     

fillGaps OFF

fillGaps ON

Expert options:

  • baseWidth: width of the base (flat surface of the box)
  • nameLayerHeight: the width of the layer containing the text. It is set to 0.8mm because the tools for painting in bambu studio, will no go any deeper than 0.4mm, so if you increase this value, there will be some layers that will not get the new color.
  • ledHoleXOffset/ledHoleYOffset: values to manually move the position of the LEDs hole

Exporting STL:

  • Ensure the mode is set to "print".
  • Export the model as an STL file, ready for 3D printing.

3D Printing:

  • Load the STL file into Bambu Studio.
  • Get the paint bucket tools, and put the mouse over the place the letters should go. The name will be highlighted and you can colour the different parts of the model.

The name is exported face down for getting a better result in the first layer, so DO NOT FORGET TO COLOUR UNDER IT


How to run the script locally:

Trying to run the script in the regular OpenSCAD version, will cause several warnings.
For running the script you will need to use the “Development Snapshot” OpenSCAD version.
Once installed, you need to go to: 

Edit→Preferences→Features

And check textmetrics feature

 


Improvements backlog:

  • Check for adding a raised edge arround the “lid”

 

Known issues

  • Some special characters are not shown.
    Maker World forms fon't allow some special characters (some of them will not be displayed, other will cause an error while generating the model) and there is nothing I can do in the script. If you want to use some of these characters, you have to edit the text directly in the code editor.


Changelog:

  • v4: Workarround to fix makerworld bug in checkboxes
  • v3: 
    • Added check for a flat base
    • Added a flag for handling empty spaces (multi word)
    • Increased number of customization parameters
  • v2: Removed experimental methods for easy running in all openscad versions.
  • v1: Initial Release

 

Some of my related work, you will probably like:

Suspended heart text generator

Suspended text generator


Comment & Rating (273)

(0/1000)

License

This user content is licensed under a Standard Digital File License.

You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.