Finalzed Parameters for Storage and Rails
This commit is contained in:
8
Git-Push_c.bat
Normal file
8
Git-Push_c.bat
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
@echo off
|
||||||
|
@echo Updates hochladen
|
||||||
|
set /p Update=Comment:
|
||||||
|
@pause
|
||||||
|
git add .
|
||||||
|
git commit -m "%Update%"
|
||||||
|
git push
|
||||||
|
@pause
|
||||||
11
SMD_Part_Storage_Rail.json
Normal file
11
SMD_Part_Storage_Rail.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"fileFormatVersion": "1",
|
||||||
|
"parameterSets": {
|
||||||
|
"New set 1": {
|
||||||
|
"inner_diameter": "16",
|
||||||
|
"parts": "1000",
|
||||||
|
"selected_part_size": "SOD80",
|
||||||
|
"storage_amount": "12"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,10 +1,30 @@
|
|||||||
tape_width= 8;
|
cases = [
|
||||||
part_width=tape_width+4;
|
//Case,thickness+~0.2,Distance between parts,tape width
|
||||||
part_amount=12;
|
["0603",1,4,8],
|
||||||
outerdiameter=66;
|
["1206",1.4,4,8],
|
||||||
|
["SOD80",1.7,4,8]
|
||||||
|
];
|
||||||
|
//Selected Package
|
||||||
|
selected_part_size = "SOD80"; // [ "0603","1206","SOD80"]
|
||||||
|
//Amount of parts to be stored
|
||||||
|
parts = 1000; //amount of parts in
|
||||||
|
//Inner Diameter of filled storage
|
||||||
|
inner_diameter=16;
|
||||||
|
//Amount of Storages to fit on Rail
|
||||||
|
storage_amount=13;
|
||||||
|
/* [Hidden] */
|
||||||
|
function selector(item) = cases[search([item], cases)[0]];
|
||||||
|
active_case = selector(selected_part_size);
|
||||||
|
tape_thickness = active_case[1];
|
||||||
|
distance_between_parts = active_case[2];
|
||||||
|
total_distance = parts*distance_between_parts;
|
||||||
|
tape_width= active_case[3];
|
||||||
|
part_width=tape_width+2.4;
|
||||||
|
outerdiameter=ceil(sqrt(4*tape_thickness*total_distance/(3.1415)+inner_diameter*inner_diameter));
|
||||||
|
|
||||||
boxdim=outerdiameter+10;
|
boxdim=outerdiameter+10;
|
||||||
boxdimhalf = boxdim/2;
|
boxdimhalf = boxdim/2;
|
||||||
holder_thickness=part_width*part_amount+5;
|
holder_thickness=part_width*storage_amount+5;
|
||||||
|
|
||||||
translate([boxdimhalf+4.5,0,0]) {
|
translate([boxdimhalf+4.5,0,0]) {
|
||||||
cube([10,boxdim+18.5,holder_thickness],center=true); //main holder part
|
cube([10,boxdim+18.5,holder_thickness],center=true); //main holder part
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
BIN
SMD_Part_Storage_Rail_13.stl
Normal file
BIN
SMD_Part_Storage_Rail_13.stl
Normal file
Binary file not shown.
10
SMD_Part_storage.json
Normal file
10
SMD_Part_storage.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"fileFormatVersion": "1",
|
||||||
|
"parameterSets": {
|
||||||
|
"New set 1": {
|
||||||
|
"inner_diameter": "16",
|
||||||
|
"parts": "1000",
|
||||||
|
"selected_part_size": "SOD80"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,15 +1,28 @@
|
|||||||
tape_thickness = 1.2;
|
cases = [
|
||||||
distance_between_parts = 4;
|
//Case,thickness+~0.2,Distance between parts,tape width
|
||||||
parts = 800; //amount of parts in
|
["0603",1,4,8],
|
||||||
total_distance = parts*distance_between_parts;
|
["1206",1.4,4,8],
|
||||||
|
["SOD80",1.7,4,8]
|
||||||
|
];
|
||||||
|
//Selected Package
|
||||||
|
selected_part_size = "SOD80"; // [ "0603","1206","SOD80"]
|
||||||
|
//Amount of parts to be stored
|
||||||
|
parts = 1000; //amount of parts in
|
||||||
|
//Inner Diameter of filled storage
|
||||||
inner_diameter=16;
|
inner_diameter=16;
|
||||||
tape_width= 8;
|
/* [Hidden] */
|
||||||
|
function selector(item) = cases[search([item], cases)[0]];
|
||||||
|
active_case = selector(selected_part_size);
|
||||||
|
tape_thickness = active_case[1];
|
||||||
|
distance_between_parts = active_case[2];
|
||||||
|
total_distance = parts*distance_between_parts;
|
||||||
|
tape_width= active_case[3];
|
||||||
part_width=tape_width+2.4;
|
part_width=tape_width+2.4;
|
||||||
turns= 25;// https://de.planetcalc.com/9063/
|
|
||||||
$fa = 1;
|
$fa = 1;
|
||||||
$fs = 0.5;
|
$fs = 0.5;
|
||||||
outerdiameter=72;
|
outerdiameter=ceil(sqrt(4*tape_thickness*total_distance/(3.1415)+inner_diameter*inner_diameter));
|
||||||
boxdim=outerdiameter+10;
|
boxdim=outerdiameter+10;
|
||||||
|
echo(str("Outer Diameter: ",str(outerdiameter)));
|
||||||
boxdimhalf = boxdim/2;
|
boxdimhalf = boxdim/2;
|
||||||
offset_insert_view=-boxdimhalf-0.001+(boxdimhalf-outerdiameter/2+tape_thickness*1.2/2);
|
offset_insert_view=-boxdimhalf-0.001+(boxdimhalf-outerdiameter/2+tape_thickness*1.2/2);
|
||||||
difference() {
|
difference() {
|
||||||
@@ -19,8 +32,8 @@ difference() {
|
|||||||
circle(d=outerdiameter);
|
circle(d=outerdiameter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
translate([offset_insert_view,-20,1]) cube([tape_thickness*1.2,boxdimhalf+3.001,part_width-0.4],center=true); //Tape inlet
|
translate([offset_insert_view,-boxdimhalf,1]) cube([tape_thickness*1.2,boxdim,part_width-0.4],center=true); //Tape inlet
|
||||||
translate([-boxdimhalf,-0.75*boxdimhalf,0])cube([(boxdimhalf-outerdiameter/2)*2+tape_thickness*1.2/2+0.001,10,tape_width],center=true); //viewing window
|
translate([-boxdimhalf,-0.75*boxdimhalf,0])cube([(boxdimhalf-outerdiameter/2)*2+tape_thickness*0.6+0.001,10,tape_width],center=true); //viewing window
|
||||||
translate([boxdimhalf-8,-boxdimhalf+2,0])rotate([0,0,30]) cube([8,10,tape_width+4],center=true); //Retention space for front magazine clip
|
translate([boxdimhalf-8,-boxdimhalf+2,0])rotate([0,0,30]) cube([8,10,tape_width+4],center=true); //Retention space for front magazine clip
|
||||||
translate([boxdimhalf-3,boxdimhalf-3,0])rotate([0,0,30]) cube([8,30,tape_width+4],center=true);
|
translate([boxdimhalf-3,boxdimhalf-3,0])rotate([0,0,30]) cube([8,30,tape_width+4],center=true);
|
||||||
translate([boxdimhalf+2,boxdimhalf-6,0])rotate([0,0,80]) cube([8,30,tape_width+4],center=true);
|
translate([boxdimhalf+2,boxdimhalf-6,0])rotate([0,0,80]) cube([8,30,tape_width+4],center=true);
|
||||||
|
|||||||
BIN
SMD_Part_storage_0603_1000.stl
Normal file
BIN
SMD_Part_storage_0603_1000.stl
Normal file
Binary file not shown.
BIN
SMD_Part_storage_SOD80_1000.stl
Normal file
BIN
SMD_Part_storage_SOD80_1000.stl
Normal file
Binary file not shown.
3
git-pull.bat
Normal file
3
git-pull.bat
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
@echo off
|
||||||
|
git pull
|
||||||
|
pause
|
||||||
Reference in New Issue
Block a user