Skip to content

Commit

Permalink
more messing with OpenSCAD
Browse files Browse the repository at this point in the history
  • Loading branch information
mnemote committed Mar 20, 2016
1 parent 798ad5e commit 9115f12
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.rst
Expand Up @@ -149,7 +149,18 @@ as we can detect a barrier.

Alternatives are the `Sharp Infrared distance sensors <http://www.sharpsma.com/webfm_send/1489>`_ or similar.

Photos
======

.. image:: img/teenyrobots.jpg
:width: 90%
:class: center

.. image:: img/ciril-proto.jpg
:width: 90%
:class: center

.. image:: img/ciril-wheels.png
:width: 90%
:class: center

Binary file added img/ciril-proto.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/ciril-wheels.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions openscad/wheel-gears.scad
@@ -0,0 +1,68 @@
use <MCAD/involute_gears.scad>

$fn=150;

module wheel() {
color("black") translate([0,0,5]) rotate_extrude($fn=200) translate([52,0,0]) circle(d=10);

difference() {
union() {
cylinder(d=25, h=10);
difference() {
rotate_extrude($fn=200) polygon( points=[[0,0],[50,0],[50,2],[48,4],[48,6],[50,8],[50,10],[0,10]] );
translate([0,0,3]) gear (
number_of_teeth = 135,
circular_pitch=100,
bore_diameter=0,
gear_thickness=20
);
}
}
cylinder(d=5,h=12);
};

color("red") translate([30,10,5]) union() {
gear(
number_of_teeth=8,
circular_pitch=100,
hub_diameter=4
);
cylinder(d=4,h=20);
translate([0,0,10]) cylinder(d=20,h=30);
}

}

translate([40,0,0]) rotate([180,90,0]) wheel();
translate([-40,0,0]) rotate([0,90,0]) wheel();

color("silver") rotate([0,90,0]) cylinder(d=3,h=100,center=true);

difference() {
sphere(d=150);
sphere(d=144);
translate([0,0,75]) cube([150,150,150], center=true);
translate([0,0,-115]) cube([150,150,150], center=true);
}

intersection() {
difference() {
sphere(d=150);
translate([0,0,75]) cube([150,150,150], center=true);
translate([0,0,-115]) cube([150,150,150], center=true);
}
union() {
translate([60,0,0]) rotate([0,90,0]) cylinder(d=10,h=30,center=true);
translate([-60,0,0]) rotate([0,90,0]) cylinder(d=10,h=30,center=true);

translate([45,0,0]) cube([2,150,150], center=true);
translate([-45,0,0]) cube([2,150,150], center=true);
translate([25,0,0]) cube([2,150,150], center=true);
translate([-25,0,0]) cube([2,150,150], center=true);

translate([60,0,0]) cube([30,2,150], center=true);
translate([-60,0,0]) cube([30,2,150], center=true);
translate([0,0,-40]) cube([50,150,2], center=true);
}
}

0 comments on commit 9115f12

Please sign in to comment.