# Differences

This shows you the differences between two versions of the page.

 design_guide_rotate_extrude [2019/01/05 08:22]z3dev design_guide_rotate_extrude [2019/01/05 08:27] (current)z3dev Both sides previous revision Previous revision 2019/01/05 08:27 z3dev 2019/01/05 08:22 z3dev 2019/01/05 08:15 z3dev 2018/03/08 13:21 z3dev created 2019/01/05 08:27 z3dev 2019/01/05 08:22 z3dev 2019/01/05 08:15 z3dev 2018/03/08 13:21 z3dev created Line 10: Line 10: ​ - rotate_extrude( translate([4,​0,​0],​ circle({r: 1, fn: 30, center: true}) ) ); + rotate_extrude(translate([4,​0,​0],​ circle({r: 1, fn: 30, center: true}) ) ); + rotate_extrude({fn:​ 36, startAngle: 45, angle: 180}, translate([4,​ 0, 0], circle({r: 1, fn: 30, center: true}))); - // using CSG objects'​ built in methods to translate ​ rotate_extrude({fn:​4},​ square({size:​ [1,1], center: true}).translate([4,​0,​0]) ); rotate_extrude({fn:​4},​ square({size:​ [1,1], center: true}).translate([4,​0,​0]) ); - rotate_extrude( polygon({points:​[ [0,​0],​[2,​1],​[1,​2],​[1,​3],​[3,​4],​[0,​5] ]}) ); + rotate_extrude(polygon({points:​[ [0,​0],​[2,​1],​[1,​2],​[1,​3],​[3,​4],​[0,​5] ]}) ); rotate_extrude({fn:​4},​ polygon({points:​[ [0,​0],​[2,​1],​[1,​2],​[1,​3],​[3,​4],​[0,​5] ]}) ); rotate_extrude({fn:​4},​ polygon({points:​[ [0,​0],​[2,​1],​[1,​2],​[1,​3],​[3,​4],​[0,​5] ]}) ); ​ You can essentially extrude any 2D polygon (circle, square or polygon). You can essentially extrude any 2D polygon (circle, square or polygon).