OpenSCAD in a Tweet (3 in 1)
OpenSCAD in a Tweet (3 in 1)
Published 2017-08-23T16:04:19+00:00
Hi
Recently i've start being active in Twitter.
Some of my tweets are small OpenSCAD figures using less than 140 characters.
I printed 3 of them and i decided to share.
I have much fun writting creative code that fits in a tweet. I encourage to all the OpenSCAD programmers to try and share their own tweets.
The Code
Copy-Paste this code in OpenSCAD, try and tweak to get your own versions.
Fractal Pyramid:
f(90);module f(w){cylinder(w,w,w,$fn=4);if(w>2){for(i=[0:3])rotate([0,0,i*90])translate([w,0,0])f(w/2);translate([0,0,w])f(w/2);}}
Dragon Egg
for(i=[0:360])
rotate([0,i0.25,i137.5])
translate([2sqrt(i),0,0])
rotate([0,i0.15+30,0])
cylinder((i%7==0)?i/25:2,4,0.5);
Vase / Planter
$fn=99;linear_extrude(height=9,twist=90,scale=2)polygon([for(i=[0:359])let(r=5+sin(i6))[rsin(i),r*cos(i)]]);
And of course...Have fun!
Printer : BQ Prusa i3 Hephestos
Rafts : No
Supports : No
Resolution : 0.2 it's ok
Notes :
Rotate the Egg 180º and add a Brim to have a good bed adhesion.
Use 'vasemode' for the vase (see belowhow to do it in Cura)
Date de publication | 23/08/2017 |
Technologie | FDM |
Complexité | Very Easy |
Sans support | YES |