November 22, 2023
Description
This is a piggy bank box or donation box which will be used for our Linux-Café (a Sub-Event of a Repair-Café). We install Linux on old Laptops and Computers to save them from being thrown away or left back somewhere inside a cabinet, etc.
We already had some events and it runs very good. The interesst of people is high because many do not want to throw there computers away. Some of them are just some years old and they already have problems with Windows. For more information check out our website https://reparaturcafe-esslingen.de/linuxcafe/
Details
The motive is from https://freesvg.org/avatar-linux . It is public domain…
I separated the colors in gimp and also removed the background. Then I save every part as png and converted them to SVG via convert and potrace (linux tools).
Here is the bash script I used for it (just copy it into a file and name the file something with .sh; call it with "/bin/bash png2svg.sh image.png"):
#!/bin/bash
File_png="${1?:Usage: $0 file.png}"
if [[ ! -s "$File_png" ]]; then
echo >&2 "The first argument ($File_png)"
echo >&2 "must be a file having a size greater than zero"
( set -x ; ls -s "$File_png" )
exit 1
fi
File="${File_png%.*}"
convert "$File_png" "$File.pnm" # PNG to PNM
potrace "$File.pnm" -s -o "$File.svg" # PNM to SVG
rm "$File.pnm" # Remove PNMNote: I think the color of the PNG should be only black and should contain just one part. Also install “convert” and "potrace".
If you have the SVG files, just import them into CAD and place and scale them as needed.
I attached the scad file, but it is very messy, as I wanted to finish this little side project as fast as possible… Also it is better to not scale this in the Slicer. If you need a smaller box please use the scad file. I will reupload it someday a little bit cleaner ;) …
Printing
I designed the belly to contain some words. It should be used as an inlay. I placed the belly in the slicer and moved the letters to the correct place, so that they fit into the belly. Since I don't have a multicolor printer, I modified the gcode. Just go to the 1st layer inside the slicer and check the horizontal slide at the bottom (PrusaSlicer) to the point where it will end printing the letters and start printing the belly. There I add a color change and a prime line.
An easy approach would be to just make a color change at the 2. layer and back or so. But be careful printing black on white, will make the white darker or grey… Otherwise just print the normal belly and the letters separated…
The lid can be printed without supports. But place it correctly on the bed.
I used 4x M3 heat set inserts and 4x M3x6 cylinder head screws.
License:
Creative Commons — Public Domain