Changeset - 441c600a664e
[Not reviewed]
Dennis Fink - 3 years ago 2018-03-02 21:48:13
dennis.fink@c3l.lu
Fix ring tolerances and use less alignment pins
1 file changed with 5 insertions and 20 deletions:
0 comments (0 inline, 0 general)
3D_Models/Holder.scad
Show inline comments
 
overall_outer_diameter = 75;
 
overall_thickness = 15;
 

	
 
neopixel_holder_thickness = 7.5;
 
translucent_disk_thickness = overall_thickness - neopixel_holder_thickness;
 

	
 
ring_24_outer_diameter = 65.6;
 
ring_24_inner_diameter = 52.3;
 
ring_24_outer_diameter = 65.6 + 0.5;
 
ring_24_inner_diameter = 52.3 - 0.5;
 

	
 
ring_12_outer_diameter = 36.8;
 
ring_12_inner_diameter = 23.3;
 
ring_12_outer_diameter = 36.8 + 0.5;
 
ring_12_inner_diameter = 23.3 - 0.5;
 

	
 
ring_thickness = 6.7;
 
ring_z_offset = neopixel_holder_thickness - ring_thickness;
 

	
 
channel_length = overall_outer_diameter-3;
 

	
...
 
@@ -39,32 +39,17 @@ module neopixel_holder() {
 
        
 
        for (d=[[ring_24_outer_diameter, ring_24_inner_diameter], [ring_12_outer_diameter, ring_12_inner_diameter]])
 
            translate([0, 0, ring_z_offset])
 
                ring(h=ring_thickness+1, od=d[0], id=d[1]);
 
        
 
        channel();
 
        
 
        for (y=[0, 1])
 
            mirror([0, y, 0])
 
                mirror([1, 1, 0])
 
                    translate([alignment_pin_position, -2, ring_z_offset])
 
                        cube([5, 4, ring_thickness+1]);
 
           
 
    };
 

	
 
    }
 
};
 

	
 
module translucent_disk() {
 
    cylinder(h=translucent_disk_thickness, d=overall_outer_diameter);
 
    
 
    
 
    for (y=[0, 1])
 
            mirror([0, y, 0])
 
                mirror([1, 1, 0])
 
                    translate([alignment_pin_position, -(4-0.2)/2, translucent_disk_thickness])
 
                        cube([3, 4-0.2, neopixel_holder_thickness -ring_z_offset]);
 
    for (x=[0, 1])
 
        mirror([x, 0, 0])
 
            translate([alignment_pin_position, -(4-0.2)/2, translucent_disk_thickness])
 
                cube([3, 4-0.2, neopixel_holder_thickness -ring_z_offset]);
 
};
 

	
0 comments (0 inline, 0 general)