Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //LMR logobot
- //August 21, 2012
- //birdmun
- INCH = 25.4;
- CENTIMETER = 10;
- //body
- module body() {
- cube([1.4 * INCH, 1 * INCH, .4 * INCH]);
- }
- //eye
- module eye() {
- rotate(90,[0,1,0]) {
- translate([-1.0 * INCH, .15 * INCH, 1.7 * INCH]) { //with the rotate translate is now -z,y,x
- cylinder(h = .4 * INCH, r = .25 * INCH, $fn = 90);
- }
- }
- }
- //second eye
- module secondEye() {
- translate([0, .65 * INCH, 0]) {
- eye();
- }
- }
- //face
- module face() {
- translate([-.35 * INCH, 0, 0]) {
- eye();
- secondEye();
- translate([1.6 * INCH, -.15 * INCH, .7 * INCH]) {
- cube([.1 * INCH, 1.25 * INCH, .6 * INCH]);
- }
- }
- }
- //brainstand
- module brainStand() {
- translate([.5 * INCH, .5 * INCH, .4 * INCH]) {
- cylinder(h = .2 * INCH, r = .5 * INCH, $fn = 90);
- }
- }
- //brain
- module brain() {
- brainStand();
- translate([.5 * INCH, .5 * INCH, 1.1 * INCH]) {
- sphere(r = .72 * INCH, $fn = 90);
- }
- }
- //boogey
- module boogey() {
- rotate(90, [1, 0 ,0]) {
- cylinder(h = .5 * INCH, r = .25 * INCH, $fn = 90);
- }
- }
- //treadInner
- module treadInner() {
- boogey();
- translate([1.4 * INCH, 0, 0]) {
- boogey();
- }
- translate([0, -.5 * INCH, -.25 * INCH]) {
- cube([1.4 * INCH, .5 * INCH, .5 * INCH]);
- }
- }
- //tread
- module tread() {
- difference() {
- scale([1.03, 1.0, 1.1]) {
- translate([-.4, 0, 0]) {
- treadInner();
- }
- }
- scale([1, 1.5, 1]) {
- translate([0, .1, 0]) {
- treadInner();
- }
- }
- }
- boogey();
- translate([1.4 * INCH, 0, 0]) {
- boogey();
- }
- }
- module tread2() {
- translate([0, 1.5 * INCH, 0]) {
- tread();
- }
- }
- //bot
- body();
- face();
- brain();
- tread();
- tread2();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement