started with screw holder

master
Kerem Yollu 3 years ago
parent d4e9969904
commit 48bf4d1915

@ -14,7 +14,7 @@ van = -(va/2); // Negative half of visual addition
difference()
{
cube(size=([40,10,3]),center=true);
din_rail_75(lenght = 20, hole_offset = 0 , extra_thickness= 0.2, extra_bending_d = 0.2 ,extra_wing_lenght = 0.1, center = true);
din_rail_75(lenght = 20, hole_offset = 0 , extra_thickness= 0.3, extra_bending_d = 0.5 ,extra_wing_lenght =0.2, center = true);
}
@ -43,10 +43,10 @@ difference()
module din_rail_75(lenght = 100, hole_offset = 5 , extra_thickness=0, extra_bending_d=0, extra_wing_lenght = 0, center = true)
{
thickness = 1 + extra_thickness;
base_inside_width = 25;
base_inside_width = 25-extra_thickness;
base_outise_width = base_inside_width + 2*thickness;
total_width = 35;
total_height = 7.5;
total_height = 7.5 + 0.4;
hole_lenght = 15;

@ -0,0 +1,54 @@
/*
Creator : Kerem Yollu
date : 30.06.2021
Description : library for din rail and accessories.
*/
include <box.scad>
$fn = 100;
va = 0.02; // Visual addition for difference
vap = va/2; // Half of visual addition
van = -(va/2); // Negative half of visual addition
pb1_small_dia = 10.8;
pb1_big_dia = 13.2;
pb1_lenght = 13;
pb_holder(pb1_big_dia,pb1_small_dia,pb1_lenght);
module pb_holder(big_dia = 10, small_dia = 5 , distance = 10)
{
wall_thickness = 1.6;
#difference()
{
hull()
{
translate([0,0,distance/2+van])
cube(size=([big_dia+2*wall_thickness,big_dia+2*wall_thickness,va]),center=true);
translate([0,0,-distance/2+vap])
cube(size=([small_dia+2*wall_thickness,small_dia+2*wall_thickness,va]),center=true);
}
hull()
{
translate([0,0,distance/2])
cylinder(d=big_dia, h=va, center = true);
translate([0,0,-distance/2])
cylinder(d=small_dia, h=va, center = true);
}
hull()
{
translate([0,big_dia/2,distance/2+van])
cube(size=([big_dia,big_dia,va]),center=true);
translate([0,small_dia/2,-distance/2+vap])
cube(size=([small_dia,small_dia,va]),center=true);
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.
Loading…
Cancel
Save