mirror of
https://github.com/tenderlove/initial-v.git
synced 2025-04-22 04:13:22 +00:00
somewhat working
This commit is contained in:
parent
4998827ecb
commit
7a7e2c2241
@ -48,7 +48,7 @@ module RearTab() {
|
||||
|
||||
module FrontLeftBump() {
|
||||
x = 16.5;
|
||||
y = 2;
|
||||
y = 1.5;
|
||||
z = 51;
|
||||
// Front left bar thing
|
||||
translate([0, BOX_Y - 0.1, 0])
|
||||
@ -70,7 +70,7 @@ module FrontTopJunk() {
|
||||
|
||||
module PowerJack() {
|
||||
x_shift = BOX_X - JACK_X - JACK_FROM_RIGHT;
|
||||
z_shift = 6;
|
||||
z_shift = 8;
|
||||
translate([x_shift, BOX_Y - 0.1, z_shift])
|
||||
cube([JACK_X, JACK_Y + 0.1, JACK_Z]);
|
||||
}
|
||||
@ -253,8 +253,8 @@ module Container() {
|
||||
}
|
||||
|
||||
module PCBMount() {
|
||||
mount_width = 3.5;
|
||||
mount_height = 11;
|
||||
mount_width = 5.5;
|
||||
mount_height = 13;
|
||||
pcb_thickness = 1.8;
|
||||
wall = 2;
|
||||
|
||||
@ -317,15 +317,16 @@ module FullContainer() {
|
||||
|
||||
module Mask() {
|
||||
mask_x = BOX_X + (FRONT_TAB_Y * 2) + 4;
|
||||
mask_y = BOX_Y + (REAR_TAB_X + (WALL * 2)) + 4;
|
||||
mask_z = BOX_Z + TOP_WALL + BOTTOM_WALL + 4;
|
||||
translate([-FRONT_TAB_Y - 2, -REAR_TAB_X - WALL - 2, -BOTTOM_WALL - 2])
|
||||
mask_y = BOX_Y + REAR_BOX_Y + (SUCTION_Y * 2) + 4;
|
||||
mask_z = BOX_Z + TOP_WALL + BOTTOM_WALL;
|
||||
translate([-FRONT_TAB_Y - 2, -(REAR_BOX_Y + SUCTION_Y + 2), -BOTTOM_WALL])
|
||||
cube([mask_x, mask_y, mask_z]);
|
||||
}
|
||||
|
||||
module BottomMask() {
|
||||
translate([-FRONT_TAB_Y - 2, -REAR_TAB_X - WALL - 2, -BOTTOM_WALL - 2])
|
||||
cube([mask_x, mask_y, mask_z]);
|
||||
mask_z = BOX_Z + TOP_WALL + BOTTOM_WALL;
|
||||
translate([0, 0, FRONT_TAB_Z_SHIFT + BOTTOM_WALL - mask_z])
|
||||
Mask();
|
||||
}
|
||||
|
||||
module TopPart() {
|
||||
@ -335,6 +336,13 @@ module TopPart() {
|
||||
}
|
||||
}
|
||||
|
||||
module BottomPart() {
|
||||
intersection() {
|
||||
FullContainer();
|
||||
BottomMask();
|
||||
}
|
||||
}
|
||||
|
||||
module BottomTray() {
|
||||
difference() {
|
||||
FullContainer();
|
||||
@ -342,6 +350,9 @@ module BottomTray() {
|
||||
Mask();
|
||||
}
|
||||
}
|
||||
|
||||
FullContainer();
|
||||
//BottomPart();
|
||||
//BottomTray();
|
||||
|
||||
FrontMounts();
|
||||
//FullContainer();
|
||||
//BottomTray();
|
||||
|
Loading…
Reference in New Issue
Block a user