Making an elbow

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Making an elbow

John Doner
This post has NOT been accepted by the mailing list yet.
Hello,

I am new to this forum.   I have looked for a long while for a good 3D design package, and OpenSCAD simply blows all of the rest of them away.  I have made several successful designs for 3D printing, and the technique is far ahead of trying to design with a graphic interface.

Right now, I am making a small "elbow" (a right angle pipe bend), and the attached SCAD file is what I have used.   Although this will work fine in the application, esthetically, I'd rather have a smooth bend at the junction, as is usual in pipe elbows.   I'd be very grateful if someone would explain how I could change my design to achieve such an effect.

John Doner

Elbow.scad
Reply | Threaded
Open this post in threaded view
|

Re: Making an elbow

Parkinbot
A "cheap" way would be to use spheres, as shown in the following code.
//right angle tube for Richard Pitz's art system

$fn=60;
difference()
{
  union()  {
    cylinder(40, 9, 9, center = false);
    translate([0, 0, 40]) rotate([0, 90, 0]) cylinder(50, 9, 9, center = false);
    translate([0, 0, 40]) sphere(9);
  }  
  union()  {
    translate([0, 0, -0.5]) cylinder(39, 6, 6, center = false);
    translate([1.5, 0, 40]) rotate([0, 90, 0]) cylinder(49, 6, 6, center = false);    
    translate([0, 0, 40]) sphere(6);
  }
}//difference
If you want even softer bows you can try to use code like

difference()
{
  rotate_extrude(angle=90)  translate([15, 0, 0])circle(9);
  rotate_extrude(angle=90)  translate([15, 0, 0])circle(6);
}
of couse there are also good libraries out there in Thingiverse (e.g. http://www.thingiverse.com/thing:1839527) or you can try with


Reply | Threaded
Open this post in threaded view
|

Re: Making an elbow

MichaelAtOz
Administrator
In reply to this post by John Doner
Hi John,

Welcome to the forum. Your post is still flagged as "This post has NOT been accepted by the mailing list yet", so nobody gets it unless they look.
You need to subscribe to the mailing list, and CLICK THE LINK in the registration email (check your spam folder).
Admin - PM me if you need anything,
or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.


The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!