# non-circular cylinder?

5 messages
Open this post in threaded view
|

## non-circular cylinder?

 Hello, self taught openSCAD newbie here, I was wondering if there is a way to create a pyramid/cone with a non-circular base, more precisely with the shape of hull(){     cylinder(h=2,d=13); translate([-20,0,0]){     cylinder(h=2,d=13); } } so you know how you can do cylinder(r1=40,r2=1,h=20); to make a cone with a base radius of 10 and a height of 15. however, this makes a cone with a circular base, but I need the base to be this shape: hull(){     cylinder(h=2,d=13); translate([-20,0,0]){     cylinder(h=2,d=13); } } sorry, I can't really think of a better way to word it, so I hope that you guys can understand what i'm trying to say. Any help would be MUCH appreciated, thanks!
Open this post in threaded view
|

## Re: non-circular cylinder?

 what about two examples?\$fn = 60;translate([20,0,0])   scale([1.0,.75,1.0]) cylinder(r1=10,r2=.1,h=20);hull() {    cylinder(h=2,d=13);    translate([-20,0,0]) cylinder(h=2,d=13);    translate([-10,0,10]) cylinder(h=2,d=.1);    }--Extra Ham Operator: K7AZJRegistered Linux User: 275424Raspberry Pi and Openscad developer The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...".- Isaac. Asimov _______________________________________________ OpenSCAD mailing list [hidden email] http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Open this post in threaded view
|