projects
/
challenge-bot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5a858d7
)
center deck for printing
author
daniel watson
<ozzloy@gmail.com>
Mon, 2 Sep 2013 17:28:03 +0000
(10:28 -0700)
committer
daniel watson
<ozzloy@gmail.com>
Mon, 2 Sep 2013 17:28:03 +0000
(10:28 -0700)
schematic-3d-printable.scad
patch
|
blob
|
blame
|
history
diff --git
a/schematic-3d-printable.scad
b/schematic-3d-printable.scad
index 38f496f9191e0624383775966d4287bec0711789..60380e6f0aacea3317ec42ccd282ec54ebd1a757 100644
(file)
--- a/
schematic-3d-printable.scad
+++ b/
schematic-3d-printable.scad
@@
-16,16
+16,16
@@
deck_y = 8;
deck_dimensions = [deck_x, deck_y, deck_z];
module deck(scale){
deck_dimensions = [deck_x, deck_y, deck_z];
module deck(scale){
- cube(deck_dimensions * scale);}
+ cube(deck_dimensions * scale
, center = true
);}
module collar_hole(scale){
module collar_hole(scale){
-
cylinder(h = 5/16 * scale, r = 0.362/2 * scale, $fn = 100);}
+ cylinder(h = 5/16 * scale, r = 0.362/2 * scale, $fn = 100);}
module nubbin_hole(scale){
cylinder(h = 5/16 * scale, r = 0.145/2 * scale, $fn = 100);}
module mounting_screw_hole(scale){
module nubbin_hole(scale){
cylinder(h = 5/16 * scale, r = 0.145/2 * scale, $fn = 100);}
module mounting_screw_hole(scale){
-
cylinder(h = 5/16 * scale, r = 0.114/2 * scale, $fn = 100);}
+ cylinder(h = 5/16 * scale, r = 0.114/2 * scale, $fn = 100);}
module wheel_mount(scale){
difference(){
module wheel_mount(scale){
difference(){
@@
-42,6
+42,10
@@
module wheel_mount(scale){
translate([0.5 + 1.213 - 0.425, 0.938 + 0.687/2, -1/16] * scale){
mounting_screw_hole(scale);}}}
translate([0.5 + 1.213 - 0.425, 0.938 + 0.687/2, -1/16] * scale){
mounting_screw_hole(scale);}}}
+translate([0, 0, (3/16)/2 * scale]){
color("blue") deck(scale);
color("blue") deck(scale);
-rotate([90, 0, 0]) translate([1.5, -2, -(3/16)]) wheel_mount();
-rotate([90, 0, 0]) translate([1.5, -2, -8]) wheel_mount();
+rotate([90, 0, 0])
+ translate([1.5, (deck_z)/2, -4] * scale) wheel_mount(scale);
+rotate([90, 0, 0])
+ translate([1.5, (deck_z)/2, 4 - deck_z] * scale) wheel_mount(scale);
+}