|
|
> How could I create a hollow cylinder but with thicker walls?
#macro Pipe(P1, P2, r1, r2)
#local _P3 = P1 - 0.1*(P2-P1); // V1 - 0.1*V2
#local _P4 = P1 + 1.1*(P2-P1); // V1 + 1.1*V2
difference {
cylinder {P1,P2,r1}
cylinder {_P3,_P4,r2}
}
#end
// example
Pipe(<0,0,0>,<0,1,0>,0.5,0.45)
Post a reply to this message
|
|