Commit 49e4e958 authored by Mio Iwakura's avatar Mio Iwakura

Nightly

parent 56439cc2
......@@ -92,24 +92,9 @@ module hu(){
circle(d = 5);
}
}
module usb()
module bracket()
{
x = 85;
y = 52;
z = 1.75;
color("green")
linear_extrude(z)
square([x, y], center = true);
%translate([0, 0, z])
linear_extrude(9)
square([x, y], center = true);
translate([x/2 - 30, -y/2 - 6.5, 0])
linear_extrude(z)
square([20, 13], center = true);
}
module usbb()
{
module bracket()
module front()
{
x = 18;
y = 103.5;
......@@ -133,22 +118,87 @@ module usbb()
translate([0, -(y + tab_y)/2 - tab_yoff , 0])
square([tab_x, tab_y], center = true);
}
module lip()
{
x = 12;
y = 18;
z = 1;
color("white")
linear_extrude(1)
difference()
{
square([x, y], center = true);
translate([0, -y/2 + 5.5 - 4.5/2, 0])
circle(4.5/2);
translate([0, -y/2 + (4.5/2 + 1)/2, 0])
square([4.5, 4.5/2 + 1],
center = true);
}
%translate([(x + 3)/2, 0, 0.5])
square([3, y], center = true);
}
z = 1;
safe_zone = 3;
%linear_extrude(safe_zone)
bracket();
front();
color("white")
translate([0, 0, safe_zone])
linear_extrude(z)
front();
translate([-3, 60.25, 9])
rotate([90, 90, 0])
lip();
}
module usb()
{
x = 85;
y = 52;
z = 1.75;
color("green")
linear_extrude(z)
square([x, y], center = true);
%translate([0, 0, z])
linear_extrude(9)
square([x, y], center = true);
translate([x/2 - 30, -y/2 - 6.5, 0])
linear_extrude(z)
square([20, 13], center = true);
translate([-x/2 + 2.25, 6.75, 8])
rotate(a = [0, -90, 0])
bracket();
}
module gfx()
{
vga_x = 48;
vga_y = 33;
vga_z = 17;
%translate([0, y, 0])
linear_extrude(vga_z)
square([vga_x, vga_y]);
x = 144;
y = 56;
z = 1.75;
safe_zone = 14;
%translate([0, 0, z])
linear_extrude(safe_zone)
square([x, y]);
color("green")
linear_extrude(z)
square([x, y]);
pci_x = 85;
pci_y = 13;
translate([44, -pci_y, 0])
linear_extrude(z)
square([pci_x, pci_y]);
translate([2, 43.25, 8])
rotate([0, -90, 0])
bracket();
}
exb();
translate([164, -1, 14])
rotate(a = [0, 0, 90])
hu();
translate([-50.25, 31, 62])
rotate(a = [90, 0, -90])
usb();
translate([-58.25, 71.25, 68.75])
rotate(a = [90, 0, 180])
usbb();
gfx();
/* exb(); */
/* translate([164, -1, 14]) */
/* rotate(a = [0, 0, 90]) */
/* hu(); */
/* translate([-50.25, 31, 62]) */
/* rotate(a = [90, 0, -90]) */
/* usb(); */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment