added an example picture for thingiverse

This commit is contained in:
bastardop 2017-01-29 15:56:21 +01:00
parent a626f33083
commit a4e08283cc
4 changed files with 52510 additions and 12 deletions

View file

@ -44,12 +44,8 @@ module bottle_clip(ru=13, rl=17.5, ht=26, width=2.5, name="",
// text and logo // text and logo
if(logo == "") { if(logo == "") {
text_on_cylinder(name, [0,0,3], r1=rl+width, r2=ru+width, h=ht, eastwest=ew,size=9, updown=-10, font=font); text_on_cylinder(name, [0,0,3], r1=rl+width, r2=ru+width, h=ht, eastwest=ew,size=9, updown=-10, font=font);
//writecylinder(name, [0,0,3], rl+0.5, ht/13*7, h=ht/13*8, t=max(rl,ru),
//font=font);
} else { } else {
text_on_cylinder(name, [0,0,0], r1=rl+width, r2=ru+width, h=ht, eastwest=ew, size=9, updown=-10, font=font); text_on_cylinder(name, [0,0,0], r1=rl+width, r2=ru+width, h=ht, eastwest=ew, size=9, updown=-10, font=font);
//writecylinder(name, [0,0,0], rl+0.5, ht/13*7, h=ht/13*4, t=max(rl,ru),
//font=font);
translate([0,0,ht*3/4-0.1]) translate([0,0,ht*3/4-0.1])
rotate([90,0,0]) rotate([90,0,0])
scale([ht/100,ht/100,1]) scale([ht/100,ht/100,1])
@ -102,7 +98,7 @@ module bottle_clip_steinie(name="", width=2.5) {
* passed to the module bottle_clip(), see there for their documentation. * passed to the module bottle_clip(), see there for their documentation.
*/ */
module bottle_clip_euro2(name="", width=2.5, module bottle_clip_euro2(name="", width=2.5,
logo="thing-logos/stratum0-lowres.dxf") { logo="") {
bottle_clip(name=name, ru=13, rl=22.5, ht=26, width=width, logo=logo); bottle_clip(name=name, ru=13, rl=22.5, ht=26, width=width, logo=logo);
} }

BIN
example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View file

@ -16,29 +16,29 @@ use <bottle-clip.scad>
$fn=50; // approximation steps for the cylinders $fn=50; // approximation steps for the cylinders
// one name tag for 0.5l Club Mate and similar bottles // one name tag for 0.5l Club Mate and similar bottles
//bottle_clip(name="Zero Cool", ew=-90); //bottle_clip(name="Your Name", ew=-90);
// one default name tag with a different logo. // one default name tag with a different logo.
//bottle_clip(name="Acid Burn", logo="thing-logos/stratum0-lowres.dxf", ew=-90); bottle_clip(name="Club Mate", logo="thing-logos/Club_mate_logo.dxf", ew=-90);
// one default name tag with a smaller logo. // one default name tag with a smaller logo.
//bottle_clip(name="Acid Burn", logo="thing-logos/stratum0-lowres.dxf", ew=-90, resize=40); //bottle_clip(name="Name here", logo="Club_mate_logo.dxf", ew=-90, resize=40);
// ...or with a different font: // ...or with a different font:
//bottle_clip(name="Acid Burn", logo="thing-logos/stratum0-lowres.dxf", ew=-90, font="ComicSansMS"); //bottle_clip(name="Name", logo="Club_mate_logo.dxf", ew=-90, font="ComicSansMS");
// ...or with a differnet logo and a different font... you get it. // ...or with a differnet logo and a different font... you get it.
// Now for something completely different: Longneck bottles. // Now for something completely different: Longneck bottles.
//bottle_clip_longneck(name="Acid Burn", ew=-125, logo="thing-logos/stratum0-lowres.dxf", resize=54, font="ComicSansMS"); //bottle_clip_longneck(name="Your Name", ew=-125, logo="Club_mate_logo.dxf", resize=54, font="ComicSansMS");
// ...or DIN 6199 ("Steinie") beer bottles. Note that these have no logo. // ...or DIN 6199 ("Steinie") beer bottles. Note that these have no logo.
//bottle_clip_steinie(name="ohbier"); //bottle_clip_steinie(name="Bier name");
// ...or just do your own variant: Measure the diameter of your bottle at two // ...or just do your own variant: Measure the diameter of your bottle at two
// different heights, and pass those as parameters rl (lower diameter), ru // different heights, and pass those as parameters rl (lower diameter), ru
// (upper diameter) and ht (height) to the bottle_clip() module. You can also // (upper diameter) and ht (height) to the bottle_clip() module. You can also
// use the other parameters from above, if you set logo="", then only the text // use the other parameters from above, if you set logo="", then only the text
// is rendered. // is rendered.
//bottle_clip(name="Niobe", rl=15, ru=12, ht=16, logo=""); //bottle_clip(name="name here", rl=15, ru=12, ht=16, logo="");
// vim: set noet ts=2 sw=2 tw=80: // vim: set noet ts=2 sw=2 tw=80:

52502
examples.stl Normal file

File diff suppressed because it is too large Load diff