// ====================================================================== // EIXOS DE COORDENADAS // Last edited on 2023-06-11 20:03:17 by stolfi #macro eixo(ponta,raio,cor,nome) union{ sphere{ <0,0,0>, raio } cylinder{ <0,0,0>, 0.91*ponta, raio } cone{ 0.90*ponta, 3*raio, ponta, 0.00 } texture{ pigment{ color rgb cor } finish{ ambient 0.5 diffuse 0.5 } } } #end #macro eixos(tamanho,raio) union{ object{ eixo( , raio, <1.0,0.2,0.2>, "X") } object{ eixo( <0,tamanho,0>, raio, <0.0,0.8,0.0>, "Y") } object{ eixo( <0,0,tamanho>, raio, <0.3,0.3,1.0>, "Z") } } #end