[OpenSCAD] bend a pipe/tube

biskero biskero at gmail.com
Thu Apr 30 12:52:03 EDT 2015


Ciao,

I looked at what you said about changing the following code but not sure how
to do it with the lib you mention:

translate([0,0,-r2-1]) 
                        linear_extrude(height=2*r2+2) 
        polygon([ 
                            [0,0], 
                            [trx * cos(a0), try * sin(a0)], 
                            [trx * cos(a1), try * sin(a1)], 
                            [trx * cos(a2), try * sin(a2)], 
                            [trx * cos(a3), try * sin(a3)], 
                            [trx * cos(a4), try * sin(a4)], 
                            [0,0] 
                       ]); 

how do I do it?

Thanks
Alessandro




--
View this message in context: http://forum.openscad.org/bend-a-pipe-tube-tp12503p12523.html
Sent from the OpenSCAD mailing list archive at Nabble.com.




More information about the Discuss mailing list