Commit 5a002ea2 authored by Mio Iwakura's avatar Mio Iwakura

Nightly

parent bf9e95c6
......@@ -36,17 +36,17 @@ module exb()
-exb_depth/2 - 1,
exb_standoffs + exb_height])
cube([27, exb_depth + 2, 26.6]);
translate([-exb_width/2 + 74,
translate([-exb_width/2 + 73,
-exb_depth/2 - 1,
exb_standoffs + exb_height])
cube([16, exb_depth + 2, 26.6]);
cube([18, exb_depth + 2, 26.6]);
}
color("green")
translate([0, 0, exb_standoffs])
linear_extrude(exb_height)
square([exb_width, exb_depth],
center = true);
difference(){
%difference(){
color("black")
translate([exb_width/2 - 18, -5,
exb_standoffs + exb_height])
......@@ -70,7 +70,7 @@ module exb()
exb_depth/2 - 25 - 28,
exb_standoffs+exb_height])
cube([8.75, 25, 7]);
translate([-exb_width/2 + 85,
translate([-exb_width/2 + 84,
exb_depth/2 - 25 - 25,
exb_standoffs+exb_height])
cube([1.75, 20, 8]);
......@@ -134,10 +134,79 @@ module usb()
linear_extrude(usb_height)
square([20, 13], center = true);
}
exb();
translate([164, -1, 14])
rotate(a = [0, 0, 90])
hu();
translate([-49.25, 31, 60])
rotate(a = [90, 0, -90])
usb();
module usbb()
{
usbb_x = 18;
usbb_y = 103.5;
usbb_z = 1;
top_xshft = 3;
top_y = 5;
top_yoff = 2.5;
tab_x = 10.5;
tab_y = 6.5;
tab_yoff = 4.5;
linear_extrude(usbb_z)
union()
{
translate([-top_xshft, (usbb_y + top_y)/2 + top_yoff])
square([usbb_x, top_y], center = true);
translate([-usbb_x/2 - top_xshft,
usbb_y/2 + top_yoff, 0])
polygon([[0, 0], [usbb_x, 0],
[usbb_x + top_xshft, -top_yoff],
[top_xshft, -top_yoff]]);
square([usbb_x, usbb_y], center = true);
translate([-usbb_x/2, -usbb_y/2, 0])
polygon([[0, 0], [usbb_x, 0],
[(usbb_x + tab_x)/2, -tab_yoff],
[(usbb_x - tab_x)/2, -tab_yoff]]);
translate([0, -(usbb_y + tab_y)/2 - tab_yoff , 0])
square([tab_x, tab_y], center = true);
}
safe_zone = 3;
tab_ysum = tab_y + tab_yoff;
top_ysum = top_y + top_yoff;
total_ysum = usbb_y + tab_ysum + top_ysum;
/* %linear_extrude(safe_zone) */
/* polygon([[-usbb_x/2 - top_xshft, total_ysum/2], */
/* [usbb_x/2 - top_xshft, total_ysum/2], */
/* [usbb_x/2 - top_xshft, total_ysum/2 - top_y], */
/* [usbb_x/2, total_ysum/2 - top_ysum], */
/* [usbb_x/2, -total_ysum/2 - top_ysum + tab_ysum], */
/* [tab_x/2, -total_ysum/2 - top_ysum + tab_y], */
/* [tab_x/2, -total_ysum/2 - top_ysum], */
/* [-tab_x/2, -total_ysum/2 - top_ysum], */
/* [-tab_x/2, -total_ysum/2 - top_ysum + tab_y], */
/* [-usbb_x/2, -total_ysum/2 - top_ysum + tab_ysum], */
/* [-usbb_x/2, total_ysum/2 - top_ysum], */
/* [-usbb_x/2 - top_xshft, total_ysum/2 - top_y], */
/* [-usbb_x/2 - top_xshft, total_ysum/2]]); */
color("white")
translate([0, 0, safe_zone])
linear_extrude(usbb_z)
polygon([[-usbb_x/2 - top_xshft, total_ysum/2],
[usbb_x/2 - top_xshft, total_ysum/2],
[usbb_x/2 - top_xshft, total_ysum/2 - top_y],
[usbb_x/2, total_ysum/2 - top_ysum],
[usbb_x/2, -total_ysum/2 - top_ysum + tab_ysum],
[tab_x/2, -total_ysum/2 - top_ysum + tab_y],
[tab_x/2, -total_ysum/2 - top_ysum],
[-tab_x/2, -total_ysum/2 - top_ysum],
[-tab_x/2, -total_ysum/2 - top_ysum + tab_y],
[-usbb_x/2, -total_ysum/2 - top_ysum + tab_ysum],
[-usbb_x/2, total_ysum/2 - top_ysum],
[-usbb_x/2 - top_xshft, total_ysum/2 - top_y],
[-usbb_x/2 - top_xshft, total_ysum/2]]);
}
usbb();
/* 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.5]) */
/* translate([-58.25, 71.25, 67]) */
/* rotate(a = [90, 0, 180]) */
/* usbb(); */
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