discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] how to make this object

B
Bikeridr
Fri, Oct 30, 2015 1:02 PM

How about this?

//=================
$fa=1;
$fs=1;

difference(){
cylinder(r=5, h=20, center=true);
union(){
difference(){
cylinder(r=2, h=21,center=true);
translate ([15,0,0])
rotate([0,0,45])
cube(21,21,21, center=true);
}
}
}
//===============

--
View this message in context: http://forum.openscad.org/how-to-make-this-object-tp14039p14252.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

How about this? //================= $fa=1; $fs=1; difference(){ cylinder(r=5, h=20, center=true); union(){ difference(){ cylinder(r=2, h=21,center=true); translate ([15,0,0]) rotate([0,0,45]) cube(21,21,21, center=true); } } } //=============== -- View this message in context: http://forum.openscad.org/how-to-make-this-object-tp14039p14252.html Sent from the OpenSCAD mailing list archive at Nabble.com.