//POVRay-File created by 3d41.ulp v1.03 //C:/Documents and Settings/Philippe/Mes documents/MyWerts/Eagle Projects/Matthias/2005-12-29 T18 RES TRIM/trimT18.brd //29/12/2005 11:22:47 #version 3.5; //Set to on if the file should be used as .inc #local use_file_as_inc = off; #if(use_file_as_inc=off) //changes the apperance of resistors (1 Blob / 0 real) #declare global_res_shape = 1; //randomize color of resistors 1=random 0=same color #declare global_res_colselect = 0; //Number of the color for the resistors //0=Green, 1="normal color" 2=Blue 3=Brown #declare global_res_col = 1; //Set to on if you want to render the PCB upside-down #declare pcb_upsidedown = off; //Set to x or z to rotate around the corresponding axis (referring to pcb_upsidedown) #declare pcb_rotdir = x; //Set the length off short pins over the PCB #declare pin_length = 2.5; #declare global_diode_bend_radius = 1; #declare global_res_bend_radius = 1; #declare global_solder = on; //Animation #declare global_anim = off; #local global_anim_showcampath = no; #declare global_fast_mode = off; #declare col_preset = 2; #declare pin_short = on; #declare environment = on; #local cam_x = 0; #local cam_y = 73; #local cam_z = -29; #local cam_a = 20; #local cam_look_x = 0; #local cam_look_y = -1; #local cam_look_z = 0; #local pcb_rotate_x = 180; #local pcb_rotate_y = 0; #local pcb_rotate_z = 0; #local pcb_board = on; #local pcb_parts = on; #if(global_fast_mode=off) #local pcb_polygons = on; #local pcb_silkscreen = on; #local pcb_wires = on; #local pcb_pads_smds = on; #else #local pcb_polygons = off; #local pcb_silkscreen = off; #local pcb_wires = off; #local pcb_pads_smds = off; #end #local lgt1_pos_x = 8; #local lgt1_pos_y = 13; #local lgt1_pos_z = 6; #local lgt1_intense = 0.704147; #local lgt2_pos_x = -8; #local lgt2_pos_y = 13; #local lgt2_pos_z = 6; #local lgt2_intense = 0.704147; #local lgt3_pos_x = 8; #local lgt3_pos_y = 13; #local lgt3_pos_z = -4; #local lgt3_intense = 0.704147; #local lgt4_pos_x = -8; #local lgt4_pos_y = 13; #local lgt4_pos_z = -4; #local lgt4_intense = 0.704147; //Do not change these values #declare pcb_hight = 1.500000; #declare pcb_cuhight = 0.035000; #declare pcb_x_size = 22.860000; #declare pcb_y_size = 12.700000; #declare pcb_layer1_used = 0; #declare pcb_layer16_used = 0; #declare inc_testmode = off; #declare global_seed=seed(251); #declare global_pcb_layer_dis = array[16] { 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.535000, } #declare global_pcb_real_hole = 2.000000; #include "tools.inc" #include "user.inc" global_settings{charset utf8} #if(environment=on) sky_sphere {pigment {Navy} pigment {bozo turbulence 0.65 octaves 7 omega 0.7 lambda 2 color_map { [0.0 0.1 color rgb <0.85, 0.85, 0.85> color rgb <0.75, 0.75, 0.75>] [0.1 0.5 color rgb <0.75, 0.75, 0.75> color rgbt <1, 1, 1, 1>] [0.5 1.0 color rgbt <1, 1, 1, 1> color rgbt <1, 1, 1, 1>]} scale <0.1, 0.5, 0.1>} rotate -90*x} plane{y, -10.0-max(pcb_x_size,pcb_y_size)*abs(max(sin((pcb_rotate_x/180)*pi),sin((pcb_rotate_z/180)*pi))) texture{T_Chrome_2D normal{waves 0.1 frequency 3000.0 scale 3000.0}} translate<0,0,0>} #end //Animation data #if(global_anim=on) #declare global_anim_showcampath = no; #end #if((global_anim=on)|(global_anim_showcampath=yes)) #declare global_anim_npoints_cam_flight=0; #warning "No/not enough Animation Data available (min. 3 points) (Flight path)" #end #if((global_anim=on)|(global_anim_showcampath=yes)) #declare global_anim_npoints_cam_view=0; #warning "No/not enough Animation Data available (min. 3 points) (View path)" #end #if((global_anim=on)|(global_anim_showcampath=yes)) #end #if((global_anim_showcampath=yes)&(global_anim=off)) #end #if(global_anim=on) camera { location global_anim_spline_cam_flight(clock) #if(global_anim_npoints_cam_view>2) look_at global_anim_spline_cam_view(clock) #else look_at global_anim_spline_cam_flight(clock+0.01)-<0,-0.01,0> #end angle 45 } light_source { global_anim_spline_cam_flight(clock) color rgb <1,1,1> spotlight point_at #if(global_anim_npoints_cam_view>2) global_anim_spline_cam_view(clock) #else global_anim_spline_cam_flight(clock+0.01)-<0,-0.01,0> #end radius 35 falloff 40 } #else camera { location look_at angle cam_a //translates the camera that <0,0,0> is over the Eagle <0,0> //translate<-11.430000,0,-6.350000> } #end background{col_bgr} //Axis uncomment to activate //object{TOOLS_AXIS_XYZ(100,100,100 //texture{ pigment{rgb<1,0,0>} finish{diffuse 0.8 phong 1}}, //texture{ pigment{rgb<1,1,1>} finish{diffuse 0.8 phong 1}})} light_source{ White*lgt1_intense} light_source{ White*lgt2_intense} light_source{ White*lgt3_intense} light_source{ White*lgt4_intense} #end #macro TRIMT18(mac_x_ver,mac_y_ver,mac_z_ver,mac_x_rot,mac_y_rot,mac_z_rot) union{ #if(pcb_board = on) difference{ union{ //Board prism{-1.500000,0.000000,8 <0.000000,5.080000><22.860000,5.080000> <22.860000,5.080000><22.860000,17.780000> <22.860000,17.780000><0.000000,17.780000> <0.000000,17.780000><0.000000,5.080000> texture{col_brd}} }//End union(Platine) //Holes(real)/Parts //Holes(real)/Board //Holes(real)/Vias }//End difference(reale Bohrungen/Durchbrüche) #end #if(pcb_parts=on)//Parts union{ #ifndef(pack_E_1) #declare global_pack_E_1=yes; object {RES_DIS_TRIM_T18("470K",)translate<0,0,0> rotate<0,0.000000,0>rotate<0,0.000000,0> rotate<0,0,0> translate<11.430000,0.000000,11.430000>}#end //T18 Resistor Trimmer by Vishay E$1 470K RTRIM43P }//End union #end #if(pcb_pads_smds=on) //Pads&SMD/Parts #ifndef(global_pack_E_1) #local global_tmp=0; #else #local global_tmp=100; #end object{TOOLS_PCB_VIA(1.408000,0.900000,1,16,1+global_tmp,0) rotate<0,-0.000000,0>translate<3.810000,0,12.700000> texture{col_thl}} #ifndef(global_pack_E_1) #local global_tmp=0; #else #local global_tmp=100; #end object{TOOLS_PCB_VIA(1.408000,0.900000,1,16,1+global_tmp,0) rotate<0,-0.000000,0>translate<11.430000,0,10.160000> texture{col_thl}} #ifndef(global_pack_E_1) #local global_tmp=0; #else #local global_tmp=100; #end object{TOOLS_PCB_VIA(1.408000,0.900000,1,16,1+global_tmp,0) rotate<0,-0.000000,0>translate<16.510000,0,12.700000> texture{col_thl}} //Pads/Vias #end #if(pcb_wires=on) union{ //Signals //Text //Rect union{ texture{col_pds} } texture{col_wrs} } #end #if(pcb_polygons=on) union{ //Polygons texture{col_pol} } #end union{ cylinder{<3.810000,0.038000,12.700000><3.810000,-1.538000,12.700000>0.450000} cylinder{<11.430000,0.038000,10.160000><11.430000,-1.538000,10.160000>0.450000} cylinder{<16.510000,0.038000,12.700000><16.510000,-1.538000,12.700000>0.450000} //Holes(fast)/Vias //Holes(fast)/Board texture{col_hls} } #if(pcb_silkscreen=on) //Silk Screen union{ cylinder{<0,0,0><0,0.036000,0>0.127000 translate<2.230000,0.000000,13.630000>} cylinder{<0,0,0><0,0.036000,0>0.127000 translate<2.230000,0.000000,9.230000>} box{<0,0,-0.127000><4.400000,0.036000,0.127000> rotate<0,-90.000000,0> translate<2.230000,0.000000,9.230000> } cylinder{<0,0,0><0,0.036000,0>0.127000 translate<2.230000,0.000000,9.230000>} cylinder{<0,0,0><0,0.036000,0>0.127000 translate<19.530000,0.000000,9.230000>} box{<0,0,-0.127000><17.300000,0.036000,0.127000> rotate<0,0.000000,0> translate<2.230000,0.000000,9.230000> } cylinder{<0,0,0><0,0.036000,0>0.127000 translate<19.530000,0.000000,9.230000>} cylinder{<0,0,0><0,0.036000,0>0.127000 translate<19.530000,0.000000,13.630000>} box{<0,0,-0.127000><4.400000,0.036000,0.127000> rotate<0,90.000000,0> translate<19.530000,0.000000,13.630000> } cylinder{<0,0,0><0,0.036000,0>0.127000 translate<19.530000,0.000000,13.630000>} cylinder{<0,0,0><0,0.036000,0>0.127000 translate<2.230000,0.000000,13.630000>} box{<0,0,-0.127000><17.300000,0.036000,0.127000> rotate<0,0.000000,0> translate<2.230000,0.000000,13.630000> } cylinder{<0,0,0><0,0.036000,0>0.076200 translate<19.630000,0.000000,12.780000>} cylinder{<0,0,0><0,0.036000,0>0.076200 translate<21.080000,0.000000,12.780000>} box{<0,0,-0.076200><1.450000,0.036000,0.076200> rotate<0,0.000000,0> translate<19.630000,0.000000,12.780000> } cylinder{<0,0,0><0,0.036000,0>0.076200 translate<21.080000,0.000000,12.780000>} cylinder{<0,0,0><0,0.036000,0>0.076200 translate<21.080000,0.000000,11.780000>} box{<0,0,-0.076200><1.000000,0.036000,0.076200> rotate<0,-90.000000,0> translate<21.080000,0.000000,11.780000> } cylinder{<0,0,0><0,0.036000,0>0.076200 translate<21.080000,0.000000,11.780000>} cylinder{<0,0,0><0,0.036000,0>0.076200 translate<20.580000,0.000000,11.780000>} box{<0,0,-0.076200><0.500000,0.036000,0.076200> rotate<0,0.000000,0> translate<20.580000,0.000000,11.780000> } cylinder{<0,0,0><0,0.036000,0>0.076200 translate<20.580000,0.000000,11.780000>} cylinder{<0,0,0><0,0.036000,0>0.076200 translate<20.580000,0.000000,11.080000>} box{<0,0,-0.076200><0.700000,0.036000,0.076200> rotate<0,-90.000000,0> translate<20.580000,0.000000,11.080000> } cylinder{<0,0,0><0,0.036000,0>0.076200 translate<20.580000,0.000000,11.080000>} cylinder{<0,0,0><0,0.036000,0>0.076200 translate<21.080000,0.000000,11.080000>} box{<0,0,-0.076200><0.500000,0.036000,0.076200> rotate<0,0.000000,0> translate<20.580000,0.000000,11.080000> } cylinder{<0,0,0><0,0.036000,0>0.076200 translate<21.080000,0.000000,11.080000>} cylinder{<0,0,0><0,0.036000,0>0.076200 translate<21.080000,0.000000,10.080000>} box{<0,0,-0.076200><1.000000,0.036000,0.076200> rotate<0,-90.000000,0> translate<21.080000,0.000000,10.080000> } cylinder{<0,0,0><0,0.036000,0>0.076200 translate<21.080000,0.000000,10.080000>} cylinder{<0,0,0><0,0.036000,0>0.076200 translate<19.630000,0.000000,10.080000>} box{<0,0,-0.076200><1.450000,0.036000,0.076200> rotate<0,0.000000,0> translate<19.630000,0.000000,10.080000> } texture{col_slk} } #end translate rotate }//End union #end #if(use_file_as_inc=off) object{ TRIMT18(-11.430000,0,-11.430000,pcb_rotate_x,pcb_rotate_y,pcb_rotate_z) #if(pcb_upsidedown=on) rotate pcb_rotdir*180 #end } #end //Parts not found in 3dpack.dat or 3dusrpac.dat are: