Text Piggy bank generator

Copyright Claim

Text Piggy bank generator

Boost
44
61
0

Print Profile(1)

All
A1

Hawaii Template
Hawaii Template
Designer
2.7 h
1 plate

Open in Bambu Studio
Boost
44
61
0
1
45
3
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.

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.

- 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 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.
- 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 (0)

Please fill in your opinion
(0/5000)

No more