Code cleaning + add ears to the bottle clip! #22

Open
ajabep wants to merge 23 commits from ajabep/scad:trunk into trunk
Showing only changes of commit f492bdd2cd - Show all commits

Add the Steinie bottles

Ajabep 2026-01-10 11:36:09 +01:00

View file

@ -37,7 +37,7 @@ LOGO_FILE = ""; // empty string is catear model
FONT = ""; // empty string is for Orbitron font FONT = ""; // empty string is for Orbitron font
// Format of the bottle clip you want to create. // Format of the bottle clip you want to create.
FORMAT = 0; // [0=Club Mate 50cL, 1=Long Neck as 25cL Club Mate or Fritz-kola, 2=Euroform 2] FORMAT = 3; // [0=Club Mate 50cL, 1=Long Neck as 25cL Club Mate or Fritz-kola, 2=Euroform 2, 3=Steinie bottles]
/* [Render] */ /* [Render] */
@ -142,6 +142,16 @@ module bottle_clip_format(name="", font="", logo="", format=0) {
rl=22.5, rl=22.5,
ht=26, ht=26,
width=2.5); width=2.5);
} else if (format == 3) {
// Steinie bottle
bottle_clip(
name=name,
font=font,
logo=logo,
ru=13,
rl=17.5,
ht=13,
width=2.5);
} else { } else {
assert(false, str("Unknown format ", format, ".")); assert(false, str("Unknown format ", format, "."));
} }