Text Piggy bank generator

Copyright Claim

Text Piggy bank generator

Boost
253
334
41

Print Profile(1)

All
A1
P1S
P1P
X1 Carbon
X1E
X1

Hawaii Template
Hawaii Template
Designer
2.7 h
1 plate

Open in Bambu Studio
Boost
253
334
41
45
561
190
Released

Description

This script generates a customizable piggy bank from personalized text. The 3D printable model includes an integrated hole for inserting coins making it both functional and stylish. Customize the name, font, text size, extrusion height, and hole diameters to create unique piggy banks. Perfect as a gift for your children, a piggy bank labeled with the name of your dream vacation destination, or any other creative idea you have in mind.

 

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 extra extruded for easier visualization of the final design.
- Print: Select this mode once you are satisfied with the result. It will face down the text and 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 piggy bank.
- coinLidHoleDiameter: Set the diameter of the coin lid hole.
- coinSlotWidth: Width of the coin slot.
- coinSlotLength: Length of the coin slot.
- 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

Expert options:

- baseWidth: Width of the base (flat surface of the box).
- coinHoleXOffset/coinHoleYOffset: Values to manually move the position of the coin hole.
- coinSlotYOffset: Y offset for the coin slot.
- lidStep: Step size for the lid.
- nameLayerHeight: Height of the layer containing the text. Set to 0.8mm as tools for painting in Bambu Studio do not go deeper than 0.4mm; increasing this value might result in unpainted layers.
- lidSecureClipLength: Length of the clips holding the coin lid.
- lidSecureClipWidth: Width of the clips holding the coin lid.
- coinLidBaseWidth: Width of the base of the coin lid.
- coinLidBaseExtraRadius: Extra radius for the base of the coin lid.
- notchHeight: Height of the notch.

- coinLidTolerance: Modify it for adjusting the tolerance between the box and the coin lid.

- fillGaps: When using spacing or symbols that only fill the upper part of the piggy bank, you can activate this flag to fill the bottom gap.
 

fillGaps OFF

fillGaps ON

Exporting 3MF:

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

 

3D Printing:

- Load the 3MF file into Bambu Studio.
- Use the paint bucket tools and hover over the area where the letters should go. The name will be highlighted, and you can color the different parts of the model.
- The name is exported face down for better results in the first layer, so DO NOT FORGET TO COLOR UNDER IT.

 

How to run the script locally:

- Running the script in the regular OpenSCAD version will cause several warnings.
- Use the "Development Snapshot" version of OpenSCAD.
- Once installed, go to:
Edit→Preferences→Features
And check the textmetrics feature.

 

Known issues:

- Some special characters are not shown.
- Maker World forms do not allow some special characters (some will not be displayed, others will cause an error while generating the model). If you want to use these characters, edit the text directly in the code editor.

 

 

Some of my related work, you will probably like:

Suspended heart text generator

Suspended text generator


Lightbox generator


 

Comment & Rating (41)

Please fill in your opinion
(0/5000)

hello, thanks for this! does the two pieces suppose to merge together like this before printing?
The designer has replied
0
Reply
No, it shouldn't. I will try to fix it in the next days, but in the meantime, you can modify this line of code in the editor: translate([x_translation, y_translation/2, lidStep + nameLayerHeight]) { and add add some offset to this coordinate ( y_translation/2) Something like: translate([x_translation, y_translation/2 - 25, lidStep + nameLayerHeight])
0
Reply
Replying to @migueljeronimoa :
still learning lol- I just got it. it doesn’t do it until I go to print. before print it’s separated
0
Reply
Replying to @BMoney2 :
yeah, it is a problem in the way the script calculates the position. In the customizer, you can open the code in the left of the screen and look for the line I pasted in my comment (you can press "control + f" for finding it in the editor). Modify the code adding that offset and it should separate both pieces. Just tell me if you can't make it work. Anyway I will try to fix it tomorrow or the day after
0
Reply
Hi, Great model! When I download/export the customized piggy bank in the customizer or in open scad the name lid will not be exported faced down. The letters are still "on top" of the lid. I can turn the lid upside down, but then it can't be printed nicely. Am I doing something wrong?
The designer has replied
0
Reply
you have to select the "print mode", the first option in the customizer
0
Reply
Replying to @migueljeronimoa :
Great! I found the option, thank you for your quick reply.
0
Reply
Replying to @creachick3d :
@poehbeer101 no problem at all, glad to be helpful
0
Reply
Boosted
I can't download it, it gives me an error. Can you help? Thanks,
(Edited)
The designer has replied
0
Reply
there is a bug in makerworld when trying to download a 3mf file that is bigger or close to the limits of the bed. You can try change the font size just a little bit, and try again
0
Reply
Hi, I have another question. When I try to change the position of het coinhole, the position of the (yellow) "block" does not change. In this example I changed the CoinHoleY-offset to 40 (see attached picture). What do I have to change to move the (yellow) "block" together with the hole?
The designer has replied
0
Reply
I think you have found a bug. I will try to fix it asap, but right now I'm on vacation and I will not have access to a pc in 10 days. you can try fix it on your own, it shouldn't be hard. You will need to look for references in the code for the offset variables (they should be used in a translate method) and do the same for that other piece (I think it there is just a couple of cubes extruded in the model). sorry for the inconvenience
1
Reply
Its posible add a japanese font ?
The designer has replied
0
Reply
I will review if any of the available fonts in makerworld allow Japanese and will let you know
0
Reply
I have checked, and you should be able to use Harmony OS Sans SC and Noto Sans SC. Hope you can use it now!!!
0
Reply
Hello, great generator! I'm wondering if there's a way to have the name stick out of the lid to avoid color swapping a ton. *Edit - I've found the (Namelayerheight) in the code to raise the letters, but when I look under the lid it still shows the second color. Do you know how I can change that?
(Edited)
The designer has replied
0
Reply
you can use the preview mode to make that effect, but the light will not to through so easily. I'm planning to make a not AMS version, but it will take me a while
0
Reply
Replying to @migueljeronimoa :
Would love to see it when you do! I messed around with it a little but everything I did would have required manual input every time instead of being able to use the generator :(.
0
Reply
Hi, Thank you for making this function available. How to make the name part in samelayer? Because the generator makes the letters out. Cumps
The designer has replied
0
Reply
Hi @diogodiasthx, You have to select the "print" mode (first dropdown menu in the configurator)
1
Reply
Replying to @migueljeronimoa :
Thank you :) It's awesome
0
Reply
Thank you for the generator, how can i print without an AMS,
The designer has replied
0
Reply
the model has been designed for AMS, so you will need to add stops in every color change in Bambu studio
0
Reply
I only managed to edit one name, is the transfer failure for the others normal?
The designer has replied
Show original
0
Reply
what kind of failure are you getting?
0
Reply
Hi, the bottom piece parte to fill the hole dont sit very strong he keeps moving around make a sound like it is losing... can i make her to get more firm in the object?
The designer has replied
0
Reply
I think the easiest way is to slightly increase the size of the lid by generating a new model with a increased coin hole and just printing the lid
0
Reply

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.