paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [4550]


From: antoine drouin
Subject: [paparazzi-commits] [4550]
Date: Thu, 11 Feb 2010 22:40:42 +0000

Revision: 4550
          http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4550
Author:   poine
Date:     2010-02-11 22:40:34 +0000 (Thu, 11 Feb 2010)
Log Message:
-----------


Modified Paths:
--------------
    paparazzi4/trunk/hw/lisa/lisa_main-0_99.brd
    paparazzi4/trunk/hw/lisa/povray/Makefile
    paparazzi4/trunk/hw/lisa/povray/lisa_imu_assembly.inc
    paparazzi4/trunk/hw/lisa/povray/lisa_imu_assembly.pov
    paparazzi4/trunk/hw/lisa/povray/lisa_imu_gps_assembly.inc
    paparazzi4/trunk/hw/lisa/povray/lisa_imu_gps_assembly.pov
    paparazzi4/trunk/hw/lisa/povray/my_tools.inc
    paparazzi4/trunk/hw/lisa/povray/user.inc

Modified: paparazzi4/trunk/hw/lisa/lisa_main-0_99.brd
===================================================================
(Binary files differ)

Modified: paparazzi4/trunk/hw/lisa/povray/Makefile
===================================================================
--- paparazzi4/trunk/hw/lisa/povray/Makefile    2010-02-11 10:24:59 UTC (rev 
4549)
+++ paparazzi4/trunk/hw/lisa/povray/Makefile    2010-02-11 22:40:34 UTC (rev 
4550)
@@ -32,6 +32,30 @@
 lisa_imu_gps_big:
        povray -Ilisa_imu_gps_assembly.pov $(POVLIB)  +W1600 +H1200 +Q9 +A0.3 
+R5
 
+lisa_mkk:
+       povray -Ilisa_mkk.pov  $(POVLIB) +W800 +H600
+
+lisa_mkk_big:
+       povray -Ilisa_mkk.pov  $(POVLIB)  +W1600 +H1200 +Q9 +A0.3 +R5
+
+lisa_asctec:
+       povray -Ilisa_asctec.pov  $(POVLIB) +W800 +H600
+
+lisa_asctec_big:
+       povray -Ilisa_asctec.pov  $(POVLIB) +W1600 +H1200 +Q9 +A0.3 +R5
+
+lisa_bipe:
+       povray -Ilisa_bipe.pov  $(POVLIB) +W800 +H600
+
+lisa_bipe_big:
+       povray -Ilisa_bipe.pov  $(POVLIB) +W1600 +H1200 +Q9 +A0.3 +R5
+
+scene_beth:
+       povray -Iscene_beth.pov  $(POVLIB) +W800 +H600
+
+scene_beth_big:
+       povray -Iscene_beth.pov  $(POVLIB) +W1600 +H1200 +Q9 +A0.3 +R5
+
 test:
        povray -Itmp.pov $(POVLIB) +W800 +H600
 

Modified: paparazzi4/trunk/hw/lisa/povray/lisa_imu_assembly.inc
===================================================================
--- paparazzi4/trunk/hw/lisa/povray/lisa_imu_assembly.inc       2010-02-11 
10:24:59 UTC (rev 4549)
+++ paparazzi4/trunk/hw/lisa/povray/lisa_imu_assembly.inc       2010-02-11 
22:40:34 UTC (rev 4550)
@@ -5,9 +5,9 @@
 
 // IMU reference point : center of base board
 
-#macro 
LISA_IMU_ASSEMBLED(mac_x_ver,mac_y_ver,mac_z_ver,mac_x_rot,mac_y_rot,mac_z_rot)
+#macro 
LISA_IMU_ASSEMBLED(mac_x_ver,mac_y_ver,mac_z_ver,mac_x_rot,mac_y_rot,mac_z_rot, 
screw_top, screw_bottom)
 union {
-  object{  MY_TOOLS_AXIS(0,0,0,0,0,0)} 
+//  object{  MY_TOOLS_AXIS(0,0,0,0,0,0)}       
   object{  LISA_MAIN_0_99(0,0,0,0,0,0) translate(<-80, 0, -50>)}
   object{  BOOZ_IMU_ASSEMBLED(0,0,0,0,0,0) rotate(<180,90,0>) 
translate(<0,12,0>)}
   #if (0)
@@ -16,10 +16,11 @@
   object{  MY_TOOLS_STANDOFF(12) translate(<-15,0, 15>)}
   object{  MY_TOOLS_STANDOFF(12) translate(< 15,0, 15>)}
   #else
-  object{  MY_TOOLS_NEW_STANDOFF()  rotate y*-45 translate(<-21.2,0,-21.2>)}
-  object{  MY_TOOLS_NEW_STANDOFF()  rotate y*45 translate(<-21.2,0, 21.2>)}
-  object{  MY_TOOLS_NEW_STANDOFF()  rotate y*-135 translate(<21.2,0,-21.2>)}
-  object{  MY_TOOLS_NEW_STANDOFF()  rotate y*135 translate(< 21.2,0, 21.2>)}
+  #local my_x = 21.92;
+  object{  MY_TOOLS_NEW_STANDOFF(screw_top, screw_bottom)  rotate y*-45 
translate(<-my_x,0,-my_x>)}
+  object{  MY_TOOLS_NEW_STANDOFF(screw_top, screw_bottom)  rotate y*45 
translate( <-my_x, 0, my_x>)}
+  object{  MY_TOOLS_NEW_STANDOFF(screw_top, screw_bottom)  rotate y*-135 
translate(<my_x,0,-my_x>)}
+  object{  MY_TOOLS_NEW_STANDOFF(screw_top, screw_bottom)  rotate y*135 
translate(< my_x,0, my_x>)}
   #end
   translate(<mac_x_ver,mac_y_ver,mac_z_ver>)
   rotate(<mac_x_rot,mac_y_rot,mac_z_rot>)

Modified: paparazzi4/trunk/hw/lisa/povray/lisa_imu_assembly.pov
===================================================================
--- paparazzi4/trunk/hw/lisa/povray/lisa_imu_assembly.pov       2010-02-11 
10:24:59 UTC (rev 4549)
+++ paparazzi4/trunk/hw/lisa/povray/lisa_imu_assembly.pov       2010-02-11 
22:40:34 UTC (rev 4550)
@@ -187,4 +187,6 @@
 light_source{<lgt4_pos_x,lgt4_pos_y,lgt4_pos_z> White*lgt4_intense}
 
 #include "lisa_imu_assembly.inc"
-object{  LISA_IMU_ASSEMBLED(0.000000,0,0.000000, 25, 0, 0) rotate<0,0,0>}
\ No newline at end of file
+//object{  LISA_IMU_ASSEMBLED(0.000000,0,0.000000, 25, 0, 0, 1, 1) 
rotate<-50,0,0>}
+//object{  LISA_IMU_ASSEMBLED(0.000000,0,0.000000, 25, 0, 0, 1, 1) 
rotate<130,0,0>}
+object{  LISA_IMU_ASSEMBLED(0.000000,0,0.000000, 25, 0, 0, 1, 1) rotate<0,0,0>}
\ No newline at end of file

Modified: paparazzi4/trunk/hw/lisa/povray/lisa_imu_gps_assembly.inc
===================================================================
--- paparazzi4/trunk/hw/lisa/povray/lisa_imu_gps_assembly.inc   2010-02-11 
10:24:59 UTC (rev 4549)
+++ paparazzi4/trunk/hw/lisa/povray/lisa_imu_gps_assembly.inc   2010-02-11 
22:40:34 UTC (rev 4550)
@@ -7,14 +7,14 @@
 
 #macro 
LISA_IMU_GPS_ASSEMBLED(mac_x_ver,mac_y_ver,mac_z_ver,mac_x_rot,mac_y_rot,mac_z_rot)
 union {
-  object{  MY_TOOLS_AXIS(0,0,0,0,0,0)} 
-  object{  LISA_IMU_ASSEMBLED(0,0,0,0,0,0)}
-  object{  BOOZ_GPS_NO_AMI_MAG(0.000000,0,0.000000, 0, 0, 0) rotate<0,0,0>  
translate(<-38, 20, -40>)}
+//  object{  MY_TOOLS_AXIS(0,0,0,0,0,0)}       
+  object{  LISA_IMU_ASSEMBLED(0,0,0,0,0,0, 1, 0)}
+  object{  BOOZ_GPS_NO_AMI_MAG(0.000000,0,0.000000, 0, 0, 0) rotate<0,0,0>  
translate(<-38, 21.5, -40>)}
   #if (1)
-  object{  MY_TOOLS_STANDOFF(18) translate(<-21.2,2,-21.2>)}
-  object{  MY_TOOLS_STANDOFF(18) translate(< 21.2,2,-21.2>)}
-  object{  MY_TOOLS_STANDOFF(18) translate(<-21.2,2, 21.2>)}
-  object{  MY_TOOLS_STANDOFF(18) translate(< 21.2,2, 21.2>)}
+  object{  MY_TOOLS_STANDOFF(18,0,1) translate(<-21.2,2,-21.2>)}
+  object{  MY_TOOLS_STANDOFF(18,0,1) translate(< 21.2,2,-21.2>)}
+  object{  MY_TOOLS_STANDOFF(18,0,1) translate(<-21.2,2, 21.2>)}
+  object{  MY_TOOLS_STANDOFF(18,0,1) translate(< 21.2,2, 21.2>)}
   #end
   translate(<mac_x_ver,mac_y_ver,mac_z_ver>)
   rotate(<mac_x_rot,mac_y_rot,mac_z_rot>)

Modified: paparazzi4/trunk/hw/lisa/povray/lisa_imu_gps_assembly.pov
===================================================================
--- paparazzi4/trunk/hw/lisa/povray/lisa_imu_gps_assembly.pov   2010-02-11 
10:24:59 UTC (rev 4549)
+++ paparazzi4/trunk/hw/lisa/povray/lisa_imu_gps_assembly.pov   2010-02-11 
22:40:34 UTC (rev 4550)
@@ -35,7 +35,7 @@
 #local cam_z = -114;
 #local cam_a = 20;
 #local cam_look_x = 0;
-#local cam_look_y = -4;
+#local cam_look_y = 30;
 #local cam_look_z = 0;
 
 #local pcb_rotate_x = 0;
@@ -191,4 +191,4 @@
 
 #include "lisa_imu_gps_assembly.inc"
 
-object{  LISA_IMU_GPS_ASSEMBLED(0.000000,0,0.000000, 0, 0, 0) 
rotate<0,-45,-20>}
+object{  LISA_IMU_GPS_ASSEMBLED(0.000000,10,0.000000, 0, 0, 0) rotate<45,0,0>}

Modified: paparazzi4/trunk/hw/lisa/povray/my_tools.inc
===================================================================
--- paparazzi4/trunk/hw/lisa/povray/my_tools.inc        2010-02-11 10:24:59 UTC 
(rev 4549)
+++ paparazzi4/trunk/hw/lisa/povray/my_tools.inc        2010-02-11 22:40:34 UTC 
(rev 4550)
@@ -1,4 +1,5 @@
 #include "tools.inc"
+#include "textures.inc"
 
 #macro 
MY_TOOLS_AXIS(mac_x_ver,mac_y_ver,mac_z_ver,mac_x_rot,mac_y_rot,mac_z_rot)
 object {
@@ -24,7 +25,35 @@
 } 
 #end
 
-#macro MY_TOOLS_STANDOFF(_height)
+#macro MY_TOOLS_CIRC_ARROW(_radius, _color,  _arr_opening)
+object {
+  #local _arr_opening_rad = _arr_opening*pi/180;
+  #local _arr_width = 5;
+  #local _arr_thick = 2;
+  #local _arr_or = _radius + _arr_width;
+  intersection {
+    union {
+      difference {
+        torus { _radius, _arr_width }
+          intersection {
+            plane{-z, 0}
+            plane{<-sin(_arr_opening_rad), 0, cos(_arr_opening_rad)> 0}
+          }
+      }
+    cone {<0, 0, 0>, 2 *_arr_width, <0, 0, 2 *_arr_width>, 0.0 translate 
x*_radius}
+    cone {<0, 0, 0>, 2 *_arr_width, <0, 0, -2 *_arr_width>, 0.0 translate 
x*_radius rotate -y*_arr_opening}
+    }
+    intersection {
+      plane{y, _arr_thick/2}
+      plane{-y, --_arr_thick/2}
+    }
+  }
+  texture {pigment{_color}}
+}
+#end
+
+
+#macro MY_TOOLS_STANDOFF(_height, bot, top)
 union{
     intersection {
       #local M = 3;
@@ -34,11 +63,15 @@
       box {<-A/2, 0,-2*M>, <+A/2,_height,2*M> }
       box {<-A/2, 0,-2*M>, <+A/2,_height,2*M> rotate -60*y}
       box {<-A/2, 0,-2*M>, <+A/2,_height,2*M> rotate +60*y}
-      pigment{rgb<0,0,1>}
+      texture {pigment{rgb<0,0,1>}}
     }
-   cylinder{<0,0,0><0,_height,0> 0.25 pigment{rgb<0,0,1>}}
+   #if (bot)
    object{ TOOLS_SCREW(3, 5, 1, Gray30 )  rotate z*180 translate y*-2 }
-   object{ TOOLS_NUT (M, 1, rgb<0,0,1>)  translate(<0, _height, 0>)}
+   #end
+   #if (top)
+   object{ TOOLS_SCREW(3, 5, 1, Gray30 )    translate(<0, _height+1.5, 0>)}
+//   object{ TOOLS_NUT (M, 1, rgb<0,0,1>)  translate(<0, _height, 0>)}
+   #end
 }
 #end
 
@@ -53,7 +86,7 @@
   }
 #end
 
-#macro MY_TOOLS_NEW_STANDOFF()
+#macro MY_TOOLS_NEW_STANDOFF(screw_top, screw_bottom)
 union{
   #local W = 6;
   #local DX = 9.76;
@@ -67,11 +100,250 @@
     object{ROUNDED_TAB(W, HD) rotate y*180 translate <DX, DY, 0>}
     pigment{rgb<1,0,0>}
   }
+  #if (screw_bottom)
   object{ TOOLS_SCREW(3, 5, 1, Gray30 ) translate y*2 }
+  #end
+  #if (screw_top)
   object{ TOOLS_SCREW(2.5, 5, 1, Gray30 ) translate <DX, 2+DY+1.5,0> }
+  #end
 }
 #end
 
 #macro MY_TOOLS_OVERO()
   
+#end
+
+
+#macro MY_TOOLS_MOTOR()
+  union {
+    cylinder {<0, 4, 0><0, 21, 0> 14 texture{col_gold} }
+    torus { 10, 4 translate y*21 texture{pigment{ForestGreen}} 
finish{F_MetalB} }
+    torus { 10, 4 translate y*4 texture{pigment{ForestGreen}} finish{F_MetalB} 
}
+    cylinder {<0, 24, 0><0, 28, 0> 8 pigment{Black} finish{F_MetalB} }
+    cylinder { <0,28,0> <0,32,0> 130
+     pigment { rgbf <0.5,0.9,1,0.95> } // A blue-tinted glass
+     finish
+     { phong 0.9 phong_size 40  // A highlight
+       reflection 0.2  // Glass reflects a bit
+     }
+     interior
+     { ior 1.5 // Glass refraction
+     }
+   }
+ }
+#end
+
+#macro MY_TOOLS_MKK()
+  #local x1 = 4;
+  #local x2 = 13;
+  #local x3 = 46;
+  #local x4 = 17;
+  #local arm = 
+  union {
+    difference {
+    box {<0.,-5.,-5.><215.,5.,5.>} 
+    box {<-1.,-4.,-4.><216.,4.,4.>} 
+    cylinder {<x1, -6, 0><x1, 6, 0> 1.5}
+    cylinder {<x2, -6, 0><x2, 6, 0> 1.5}
+    cylinder {<x3, -6, 0><x3, 6, 0> 1.5}
+    texture{col_silver}
+    }
+    object{ MY_TOOLS_STANDOFF(10, 0, 0) translate <x2,6,0>}
+    object{ MY_TOOLS_MOTOR() translate <200,5,0>}
+  }
+  #local hole_plate =
+  union {
+    #local x5 = (x1 + x4) / sqrt(2);
+    cylinder {<x5, -1, x5><x5, 2, x5> 1.5}
+    #local x6 = (x2 + x4) / sqrt(2);
+    cylinder {<x6, -1, x6><x6, 2, x6> 1.5}
+    #local x7 = (x3 + x4) / sqrt(2);
+    cylinder {<x7, -1, x7><x7, 2, x7> 1.5}
+    #local x1 = 15;
+    #local z1 = x1 - 4 * sqrt(2);
+    #local x2 = 60 - 8 * sqrt(2);
+    #local z2 = x2 - 4 * sqrt(2);
+    prism {
+      linear_spline
+      -1, 2, 4,
+      <x1,z1>, <x2,z2>, <x2,-z2>, <x1,-z1>  //outer rim
+    }
+  }
+  #local plate =
+  difference {
+    box {<-60.,0.,-60.><60.,1.,60.>} 
+    object{ hole_plate }
+    object{ hole_plate rotate y*90}
+    object{ hole_plate rotate y*180}
+    object{ hole_plate rotate y*270}
+    cylinder {<0, -1, 0><0, 2, 0> 6}
+    texture{pigment{Gray30}}
+  }
+  union {
+    object{ arm translate <x4,0,0>}
+    object{ arm translate <x4,0,0> rotate <0,90,0>}
+    object{ arm translate <x4,0,0> rotate <0,180,0>}
+    object{ arm translate <x4,0,0> rotate <0,270,0>}
+    object{ plate translate <0,5,0> rotate <0,45,0> }
+    object{ plate translate <0,-6,0> rotate <0,45,0> }
+ }
+#end
+
+
+#declare CarbonTexture  =
+   texture{
+    pigment{color rgb<0.06,0.23,0.23>} //
+    finish { phong 1 reflection 0.1}
+    }
+   texture{
+    pigment{
+     image_map{ png "textures/carbon.png"
+     map_type 0 // 0=planar, 1=spherical, 2=cylindrical, 5=torus
+     interpolate 2
+      // 0=none, 1=linear, 2=bilinear, 4=normalized distance
+//     once //
+     transmit 215, 1 // Palette, Amount |
+  // transmit all Amount
+    }
+  }
+  finish { diffuse 0.9 phong 1}
+  scale <2,2,2> rotate<0,0,6> translate<-5.8,0.00,0>
+  } // end of texture  ------------------
+
+
+#macro MY_TOOLS_ASCTEC()
+#local flank = object {
+  prism {
+    linear_spline
+    -5, 5,
+53,
+<331.420898, 252.075195>,
+<346.069336, 253.295898>,
+<382.080078, 220.947266>,
+<401.000977, 214.843750>,
+<421.142578, 216.064453>,
+<487.060547, 252.075195>,
+<526.123047, 275.878906>,
+<554.809570, 311.279297>,
+<567.626953, 351.562500>,
+<567.626953, 394.897461>,
+<567.626953, 439.453125>,
+<568.237305, 469.360352>,
+<597.534180, 469.360352>,
+<597.534180, 429.687500>,
+<613.403320, 430.297852>,
+<613.403320, 340.576172>,
+<609.130859, 298.461914>,
+<592.041016, 261.840820>,
+<565.185547, 227.661133>,
+<522.460938, 187.988281>,
+<470.581055, 139.160156>,
+<430.908203, 101.928711>,
+<383.911133, 59.204102>,
+<362.548828, 39.672852>,
+<353.393555, 34.179688>,
+<332.641602, 33.569336>,
+<332.641602, 65.307617>,
+<283.813477, 65.307617>,
+<260.009766, 68.969727>,
+<234.985352, 83.007813>,
+<73.242188, 238.647461>,
+<47.607422, 277.709961>,
+<36.010742, 317.382813>,
+<35.400391, 469.360352>,
+<66.528320, 469.970703>,
+<65.917969, 427.856445>,
+<83.007813, 429.077148>,
+<83.007813, 316.772461>,
+<93.383789, 297.241211>,
+<111.694336, 287.475586>,
+<129.394531, 288.696289>,
+<147.094727, 293.579102>,
+<164.794922, 297.241211>,
+<180.664063, 296.020508>,
+<196.533203, 291.137695>,
+<200.805664, 275.878906>,
+<205.078125, 245.971680>,
+<219.116211, 222.778320>,
+<236.816406, 207.519531>,
+<259.399414, 195.312500>,
+<277.099609, 185.546875>,
+<331.420898, 185.546875>,
+<331.420898, 252.075195>
+}
+scale 0.127 texture{pigment{Gray30}} finish{F_MetalB} rotate <0,0,90> 
translate <0,-20,-67.5>}
+#local arm = object {
+  union {
+    box { <0,-2.75,-7.5><168,2.75,7.5> translate <19,19.5,0>   texture { 
CarbonTexture }}
+    cylinder {<0, -2.75, 0><0, 2.75, 0> 19 translate<170,19.5,0>   texture { 
CarbonTexture }}
+    cylinder {<0, -8, 0><0, 8, 0> 14 translate<170,29.,0>  
texture{pigment{Blue}} } // motor
+    cylinder { <0,-2,0> <0,2,0> 100 translate <170,41.,0>                      
     // prop
+      pigment { rgbf <0.5,0.9,1,0.95> } // A blue-tinted glass
+      finish
+      { phong 0.9 phong_size 40  // A highlight
+        reflection 0.2  // Glass reflects a bit
+      }
+      interior
+      { ior 1.5 // Glass refraction
+      }
+    }
+    object{ MY_TOOLS_STANDOFF(6, 0, 0) translate <31.,22.,0>}
+  }
+}
+#local top_plate = object {
+  difference {
+     #local my_r=20;
+     #local my_x = my_r + 5;
+     box { <-26,-0.6,-26><26,0.6,26> }
+     cylinder {<0, -3, 0><0, 3, 0> 1.5}
+     cylinder {<my_x, -3, my_x><my_x, 3, my_x> my_r}
+     cylinder {<my_x, -3, -my_x><my_x, 3, -my_x> my_r}
+     cylinder {<-my_x, -3, my_x><-my_x, 3, my_x> my_r}
+     cylinder {<-my_x, -3, -my_x><-my_x, 3, -my_x> my_r}
+     #local my_r2 = 5;
+     #local my_rounded_end =
+       difference {
+         box { <26-my_r2,-1,-my_r2-1><27,1,my_r2+1>}
+         cylinder {<26-my_r2, -3, 0><26-my_r2, 3, 0> my_r2}
+       }
+     object{my_rounded_end}
+     object{my_rounded_end rotate y*90}
+     object{my_rounded_end rotate y*180}
+     object{my_rounded_end rotate y*270}
+  }
+  texture {CarbonTexture }
+}
+#local center_plate = object {
+  difference {
+    #local diag = 103;
+    #local side = diag/sqrt(2)/2;
+    #local my_r=43;
+    #local my_x = my_r + 27;
+    box {<-side,-0.6,-side><side,0.6,side>}
+    cylinder {<0, -3, 0><0, 3, 0> 1.5}
+    cylinder {<my_x, -3, 0><my_x, 3, 0> my_r}
+    cylinder {<my_x, -3, 0><my_x, 3, 0> my_r rotate y*90}
+    cylinder {<my_x, -3, 0><my_x, 3, 0> my_r rotate y*180}
+    cylinder {<my_x, -3, 0><my_x, 3, 0> my_r rotate y*270}
+  }
+  rotate y*45 
+  translate y*+22.7
+  texture { CarbonTexture }
+}
+union {
+  object { flank }
+//  #local foo=8;
+//  box {<-1.,0.,-foo><1.,72.5,foo> translate y*-15}  // calibration flank
+  object { flank rotate y*90}
+  object { flank rotate y*180}
+  object { flank rotate y*270}
+  object { arm }
+//  box {<-170.,21.,-1><170.,23.,1>  texture {pigment{rgb<1,0,0>}}}  // 
calibration arm
+  object { arm rotate y*90}
+  object { arm rotate y*180}
+  object { arm rotate y*270}
+  object { center_plate }
+  object { top_plate translate <0,56,0>}
+  object { top_plate translate <0,-11,0>}
+}
 #end
\ No newline at end of file

Modified: paparazzi4/trunk/hw/lisa/povray/user.inc
===================================================================
--- paparazzi4/trunk/hw/lisa/povray/user.inc    2010-02-11 10:24:59 UTC (rev 
4549)
+++ paparazzi4/trunk/hw/lisa/povray/user.inc    2010-02-11 22:40:34 UTC (rev 
4550)
@@ -34,9 +34,9 @@
            box{<  (L)/2, 2.4, 0.1>< (L+4)/2,4.8, -3.8>}       // most outer 
cutout
            box{< -(L)/2, 2.4, 0.1><-(L+4)/2,4.8, -3.8>}       // most outer 
cutout 2
            box{<  (L)/2+0.01, -0.01, 0.1>< (L+4)/2,4.8, -0.6>}     // most 
outer cutout
-           box{< -(L)/2+0.01, -0.01, 0.1><-(L+4)/2,4.8, -0.6>}     // most 
outer cutout 2
+           box{< -(L)/2+0.01, -0.01, 0.11><-(L+4)/2,4.8, -0.6>}     // most 
outer cutout 2
            box{< -(L)/2+0.6, 1.5, -0.5><(L)/2-0.6,4.8, -3.3>} // big center 
hole
-           box{< -(L)/2+1.6, 1.51,  0.1><(L)/2-1.6,4.8, -3.3>} // second big 
center hole
+           box{< -(L)/2+1.6, 1.51,  0.11><(L)/2-1.6,4.8, -3.29>} // second big 
center hole
            box{< -(L)/2+0.6, -0.1,  0.1><(L)/2-0.6,0.3, -3.8>} // lower hole
             #local i = 1;
             #while(i<n+1)
@@ -160,7 +160,7 @@
   }
   object {CAP_SMD_CHIP_1206(DarkWood) rotate y*90 translate <-3.5,4,3>} // CAP
   object {CAP_SMD_CHIP_1206(DarkWood) rotate y*90 translate <-3.5,4,-3>} // CAP
-  object {Round_Box(<-3.5,-3.5,-3.5>,<3.5,3.5,3.5>,1,0) translate <2,4,0>  
texture{pigment{Gray30}}} // COIL
+  object {Round_Box(<-3.5,0,-3.5>,<3.5,3.5,3.5>,1,0) translate <2,4,0>  
texture{pigment{Gray30}}} // COIL
 }
 #end
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]