1
0
mirror of https://github.com/pgrondek/SixInchRack.git synced 2024-11-22 03:53:42 +00:00

Added model for DLink DSG-105

This commit is contained in:
pgrondek 2019-10-15 18:39:55 +02:00
parent 1924ec35f7
commit 9d476b4e2c
4 changed files with 183556 additions and 0 deletions

View File

@ -0,0 +1,94 @@
include<../sixinch_library.scad>
///////////////////////////////
// D-Link DGS-105 //
///////////////////////////////
print_frontplate_sml = false;
print_handle_sml = false;
print_cabinet_sml = true;
print_lid = false;
print_rear = false;
model = false;
units = 3;
depth = 155;
if(print_frontplate_sml){ // Frontplate //
square_hole = [];
round_hole = [];
round_peg = [];
screw_side_front = [];
screw_top = [36];
screw_bottom_front = [36];
frontplate(units,square_hole,round_hole,round_peg,screw_side_front,screw_top,screw_bottom_front);
}
if(print_handle_sml){ // Handle //
lay_flat_for_print = false;
handle(units,lay_flat_for_print);
}
if(print_cabinet_sml){ // Cabinet //
w=88;
h=70;
screw_bottom_front = [36];
screw_side_front = [];
round_peg = [
[20, 50, 15, 0, 15], // Pillar in front
[90, 50, 15, 0, 15], // Pillar in front
[5, 80, 10, 0, 15], // Pillar to the near right
[5, 120, 10, 0, 15], // Pillar to the far right
[105, 80, 10, 0, 15], // Pillar to the near left
[105, 120, 10, 0, 15], // Pillar to the far left
[55, 110, 65, 0, 8], // Pillar under the switch
];
difference() {
cabinet(depth,units,screw_bottom_front,round_peg,screw_side_front);
rotate([-90,0,0]){
translate([27.5, -156, 8])
cube([100, 98.5, 28.5]); // D-Link DGS-105 model
}
}
}
if(print_lid){ // Lid //
screw_front = [36];//mm
screw_back = [36];//mm
difference () {
lid(depth, units, screw_front, screw_back);
rotate([-90,0,0]){
translate([27.5, -156, 8])
cube([100, 98.5, 28.5]); // D-Link DGS-105 model
}
}
}
if(print_rear){ // Back plate //
square_hole = [[15, 13, 75, 13]];
round_hole = [[6,5,6],[6,1,6]];
screw_top = [36];//mm
screw_bottom = [36];//mm
screw_side = [];
back_plate(units, depth, screw_top, screw_bottom, screw_side, square_hole,round_hole);
}
// D-Link DGS-105 model
if(model) {
rotate([-90,0,0]){
translate([27.5, -156, 8])
difference(){
union(){
color([1,1,1]) cube([100, 98.5, 28.5]); // D-Link DGS-105 model
}
translate([12, -1, 7.2]) color([0,0,0]) cube([75, 16, 13]); // RJ45 ports
}
}
}

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