
OpenSCAD in a Tweet (3 in 1)
cults3d
Hi! I've just started actively using Twitter, and I'm excited to share some of my tweets with you. Some of them are tiny OpenSCAD figures that fit within the 140 character limit. I recently printed three of these small models and decided it was time to share them with everyone. Writing creative code that fits in a tweet is a blast! I highly recommend trying your hand at it and sharing your own tweets with the OpenSCAD community. The Code: Copy-Paste this code into OpenSCAD, and feel free to tweak it to create 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,i*0.25,i*137.5]) translate([2*sqrt(i),0,0]) rotate([0,i*0.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(i*6))[r*sin(i),r*cos(i)]]); And remember, the most important thing is to have fun!
With this file you will be able to print OpenSCAD in a Tweet (3 in 1) with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on OpenSCAD in a Tweet (3 in 1).