projects
/
challenge-bot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e81f99
)
dobervich: make wheel thinner to print faster
author
daniel watson
<ozzloy@gmail.com>
Wed, 23 Oct 2013 17:43:17 +0000
(10:43 -0700)
committer
daniel watson
<ozzloy@gmail.com>
Wed, 23 Oct 2013 17:43:17 +0000
(10:43 -0700)
wheel.scad
patch
|
blob
|
blame
|
history
diff --git
a/wheel.scad
b/wheel.scad
index c361773198b866ae8b6b2bd8ad7385a0d2c5e2f1..a3bb53aac8d6b9923d3f5a96bbebd73324679043 100644
(file)
--- a/
wheel.scad
+++ b/
wheel.scad
@@
-4,7
+4,7
@@
// https://gitorious.org/ozzloy/challenge-bot
// https://github.com/waynegramlich/challenge-bot
// https://gitorious.org/ozzloy/challenge-bot
// https://github.com/waynegramlich/challenge-bot
-wheel_depth =
7.65
;
+wheel_depth =
6
;
wheel_radius = 68/2;
module encoder_shaft(){
wheel_radius = 68/2;
module encoder_shaft(){
@@
-16,25
+16,33
@@
module encoder_shaft(){
cylinder(h = motor_shaft_length,
r = motor_shaft_big,
center = true,
cylinder(h = motor_shaft_length,
r = motor_shaft_big,
center = true,
- $fn=
10
0);
+ $fn=
3
0);
cube([motor_shaft_big * 2.1, motor_shaft_small, motor_shaft_length],
center = true);}}
module mounting_screw(){
cube([motor_shaft_big * 2.1, motor_shaft_small, motor_shaft_length],
center = true);}}
module mounting_screw(){
- cylinder(h = wheel_depth * 1.1, r = 1, $fn =
10
0, center = true);}
+ cylinder(h = wheel_depth * 1.1, r = 1, $fn =
3
0, center = true);}
module wheel(){
translate([0, 0, wheel_depth / 2]){
difference(){
module wheel(){
translate([0, 0, wheel_depth / 2]){
difference(){
- cylinder(h = wheel_depth, r = wheel_radius, center = true, $fn
=10
0);
- translate([0, 0, wheel_depth
/
4]){
- scale([1, 1,
1.1
]){
+ cylinder(h = wheel_depth, r = wheel_radius, center = true, $fn
= 3
0);
+ translate([0, 0, wheel_depth
/
4]){
+ scale([1, 1,
2
]){
encoder_shaft();}}
mounting_screw();
encoder_shaft();}}
mounting_screw();
- for(i = [
0 : 4
]){
+ for(i = [
1 : 5
]){
rotate(i * 360/5, [0, 0, 1]){
translate([0, 0, -0.6 * wheel_depth])
rotate(i * 360/5, [0, 0, 1]){
translate([0, 0, -0.6 * wheel_depth])
- between_spokes();}}}}}
+ between_spokes();}}
+ translate([0, 0, wheel_depth / 4]){
+ difference(){
+ cylinder(h = wheel_depth / 1.2,
+ r = 0.85 * wheel_radius,
+ center = true);
+ cylinder(h = wheel_depth / 1.2,
+ r = 0.23 * wheel_radius,
+ center = true);}}}}}
module wheel_block(){
cube([wheel_radius, wheel_radius, wheel_depth]);}
module wheel_block(){
cube([wheel_radius, wheel_radius, wheel_depth]);}
@@
-43,18
+51,18
@@
module pie_slice(){
intersection(){
translate([0, 0, wheel_depth / 2]){
cylinder(h = wheel_depth,
intersection(){
translate([0, 0, wheel_depth / 2]){
cylinder(h = wheel_depth,
- r = 0.
7
* wheel_radius,
+ r = 0.
85
* wheel_radius,
center = true);}
translate([0, wheel_radius * 0.3, 0]){
center = true);}
translate([0, wheel_radius * 0.3, 0]){
- rotate([0, 0, (360
/5)/
2]){
+ rotate([0, 0, (360
/ 5) /
2]){
intersection(){
wheel_block();
intersection(){
wheel_block();
- rotate([0, 0, 90 - 360
/
5])
+ rotate([0, 0, 90 - 360
/
5])
wheel_block();}}}}}
module between_spokes(){
minkowski(){
pie_slice();
wheel_block();}}}}}
module between_spokes(){
minkowski(){
pie_slice();
- cylinder(h = wheel_depth
, r = 1, $fn=10
0);}}
+ cylinder(h = wheel_depth
/ 2, r = 1, $fn = 3
0);}}
wheel();
wheel();