Lightbox name generator

Copyright Claim

Lightbox name generator

Boost
558
666
109

Print Profile(1)

All
A1

0.2mm layer, 2 walls, 15% infill
0.2mm layer, 2 walls, 15% infill
Designer
1.1 h
1 plate

Boost
558
666
109
61
1.1 k
3
Released

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.

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 (109)

Please fill in your opinion
(0/5000)

Boosted
Hello! with v3 i get many Warnings in OpenScad . It is not possible to generate a useful Lightbox. Any idea?
The designer has replied
0
Reply
you have to install the openscad development edition and activate textmetrics plugin in preferences/features. I will update the instructions of the model in a few hours after work with some links and images.
2
Reply
Boosted
Replying to @migueljeronimoa :
Problem solved, thx a lot.
0
Reply
Replying to @busfahrer :
I cant find the right version, can you link me please?
0
Reply
This is awesome, great work! A few ideas to make this even better. 1. Add an option to move the hole for the wire to the left, right, or bottom. 2. Add an option to have to 2 holes in the back to hang it on a wall or some kind of wall hanger. 3. Add an option to the customizer to change the thickness of the front. (I've used some filaments that when printed at .8mm are super transparent.) 4. Add an option like a checkbox to add a diffuser. An exact copy of the front piece that is like .4mm thick that could be painted white while the front could be painted the colors you want. I tried adding white to the back of mine and it was difficult to only get the topmost layer white. 5. Add another area on the front outside edge that could be painted black like 5mm. I think this helps hide the LEDs that are on the inside.
The designer has replied
3
Reply
Thanks for your ideas, I will try to answer all of them: 1. I already thought about it, but I didn't want to overcharge the form with too many options. I'm thinking about creating some kind of "Expert" section were you can edit this kind of things 2. Also thought about it, but I'm strugling for finding a way to meassure the text for finding the best position. 3. It is possible to change it, but right now is under a hidden section. Probably I will release a new version of the script this week and will move some of this hidden options to an "Expert" section. Anyway .8mm was chosen because when colouring the model, bambu studio will just go .4mm inside the model, so It you increase the size, you will have some plain color layers in the middle. 4. I have a question about this option. Should it be attached to the text 3d model or will it be a different part? If it is in the same place, you would not be able to colour the back of the model. 5. I will add this to my backlog
0
Reply
Replying to @migueljeronimoa :
I think an expert section is a great idea! Looking forward to a new version. I have an idea on #2, I could send you a message if you'd like. To answer your question on 4, if you couldn't paint it then it would probably be best to make it a separate part. This would probably work best because then you could play around with the thickness to see what works best for you. Also, if you printed it separately that's just 1 less color change. I did find the hidden option and tried to increase the thickness to 1.2 and paint the top two layers white but it doesn't work. I split it into objects and set the front to blue, painted the letters red. When I sliced it, the letters were red from the bottom up until the last layer, it was blue. I tried painting the top 1-2 layers white using paint by layer, but it made the white start on layer 2 around the letters and continue all the way to the top and the back layer was completely white. Layer 2-5 had blue perimeters. Painting in Bambu studio definitely seems to have some limitations. Another thing I noticed was that trying to get the front on was kind of hard, depending on the font it can make some sharp corners. I don't know if it's possible but there's a way to smooth that out some it would be nice. It would probably also help with attaching the LEDs to the inside wall. It doesn't need to be completely flat or smooth but just rounded corners. I did scale the model up to max out my print bed, not sure if that had something to do with the top fitting. Last thing, I'm out of boosts (my last one expired) but if/when I get some more I'll boost this. This is super cool. I tried to create something just like this about a month or so ago and could not figure out how to get the offset to work.
0
Reply
Replying to @mmbtrumpet :
Sorry @mmbtrumpet , I missed this message. I have just uploaded a new version with some improvements a more options to customize the lightbox. Next thing I will work on will be the border around the lightbox in the front (I will start Saturday if I have time)
0
Reply
Any idea why i get all these Warnings in Open Scad?
The designer has replied
2
Reply
Thanks for reaching me. I was running some experimental modules from the dev version of openscad, but I have removed most of them as they were not necessary in the latest version of the script. Anyway, you will still need to use the nightly version of the software to run it locally because of the "fill()" function. If you want to download this version of the software you will have to go the OpenScad download page, and then click over the "Development Snapshots". Hope it helps you
0
Reply
Replying to @migueljeronimoa :
Im struggling to find the nightly version, could you please point me in the right direction? im getting these error also? all the best
0
Reply
Replying to @PaulMyFinger :
@PaulMyFinger here you have the link https://openscad.org/downloads.html#snapshots
0
Reply
I used clear pla filament and it turned out fab
The designer has replied
3
Reply
wow, what a cool effect
0
Reply
TOP MERCI
The designer has replied
1
Reply
love it!!
0
Reply
Hello, tu utilise quel soft sur ta capture d'écran? merci :)
0
Reply
Replying to @keribin.yoann :
Salut, j' utilise sa https://openscad.org/
0
Reply
Boosted
I'd love to see it handle spaces better for creating the design For example "Sally Mae". Some names have 2. Otherwise, this is a FANTASTIC tool.
The designer has replied
0
Reply
great suggestion, and I think I know how to archieve the effect. Meanwhile, you can add whatever letter you want as a separator, and then, once exported in print mode, just ignore this letter while colouring the model. I will try to upload a new version of the script in the next couple of days with this trick implemented (maybe a check for choosing when to transform spaces)
1
Reply
Replying to @migueljeronimoa :
@lw9782 I already have a solution, but I would like to add a couple of extra improvements in the script before releasing a new version. Probably tomorrow I will update it
0
Reply
Replying to @migueljeronimoa :
Hi @lw9782 , I have just uploaded a new version with an option for avoiding this kind of gaps. Check the new parameters to see if it fix your problem
0
Reply
Buenos días, Cómo pongo el nombre boca abajo antes de exportarlo?
The designer has replied
0
Reply
Debes seleccionar el modo "print" en el menú de configuración
1
Reply
Replying to @migueljeronimoa :
genial, muchas gracias!
0
Reply
Came out GREAT. I will give you a BOOST as soon as I get one to give. I added a small LED strip inside and it lights with a 5v USB wall plug. I also discovered the EXPERT Options newly added and they worked great as well. I tried to scale it to larger size in Bambu Studio and it did NOT work. If you want to scale it up then you need to choose larger 'Text size' and 'Extrude height' in the options. That worked great as well. Great model. THANKS.
The designer has replied
0
Reply
I love your color combination! I'm planning to add some extra features in some days and planning some new models related I'm pretty sure you will like. Thanks for the support
0
Reply
love this idea, giving it 2 boost just because. now here's another idea. can you make it generate the letters up at an angle of maybe 30-45 degrees so if the name was laying flat the letters will come up.
The designer has replied
2
Reply
Adding a new parameter for allowing it lay flat is already in my backlog. I will start working on it today
2
Reply
Replying to @migueljeronimoa :
thank you, I'll be making this more and more when my new heat bed comes in and I'm ordering another bambu printer, just not sure if I want another A1 or the A1 mini. maybe even the p1s.
0
Reply
@BobbleheadKou future update coming, it will be released in a few hours
1
Reply
Boosted
doesn't create ' on a name like o'neal
The designer has replied
1
Reply
Thanks for reporting it. I will take a look at this today, and hopefully I can release a new version tomorrow
1
Reply
Boosted
Replying to @migueljeronimoa :
I just used " and didnt color one...
1
Reply
thanks for the workaround. I will take a look into it after work today, but maybe it is related with the fonts. I will run the script locally, so I can check fonts contain all characters
0
Reply