Commit 880a9cda authored by Jan Koniarik's avatar Jan Koniarik
Browse files

refactor phase 1

parent d2e4b854
# Revision history for schpin-koke
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
This diff is collapsed.
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//body.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//coxa.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//femur.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//tibia.scad>;
translate([-45.0,-36.0,0.0]){
rotate(a=180.0, v=[0.0,0.0,1.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,0.9999999999999999]){
coxa(femurOffset=[65.0,0.0,0.0],expand=0.0);
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=0.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=0.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
}
translate([-45.0,36.0,0.0]){
rotate(a=180.0, v=[0.0,0.0,1.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,-0.9999999999999999]){
coxa(femurOffset=[65.0,0.0,0.0],expand=0.0);
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=0.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=0.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
}
translate([45.0,-36.0,0.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,-0.9999999999999999]){
coxa(femurOffset=[65.0,0.0,0.0],expand=0.0);
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=0.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=0.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
translate([45.0,36.0,0.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,0.9999999999999999]){
coxa(femurOffset=[65.0,0.0,0.0],expand=0.0);
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=0.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=0.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
body(positions=[[-45.0,-36.0,0.0],[-45.0,36.0,0.0],[45.0,-36.0,0.0],[45.0,36.0,0.0]],expand=0.0);
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//body.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//coxa.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//femur.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//tibia.scad>;
translate([-45.0,-36.0,0.0]){
rotate(a=180.0, v=[0.0,0.0,1.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,0.9999999999999999]){
#union(){
coxa_collision(femurOffset=[65.0,0.0,0.0]);
}
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
#union(){
femur_collision_a(tibiaOffset=[95.0,0.0,30.0]);
femur_collision_b(tibiaOffset=[95.0,0.0,30.0]);
}
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
#union(){
tibia_collision(tipOffset=[100.0,0.0,0.0]);
}
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
}
translate([-45.0,36.0,0.0]){
rotate(a=180.0, v=[0.0,0.0,1.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,-0.9999999999999999]){
#union(){
coxa_collision(femurOffset=[65.0,0.0,0.0]);
}
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
#union(){
femur_collision_a(tibiaOffset=[95.0,0.0,30.0]);
femur_collision_b(tibiaOffset=[95.0,0.0,30.0]);
}
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
#union(){
tibia_collision(tipOffset=[100.0,0.0,0.0]);
}
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
}
translate([45.0,-36.0,0.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,-0.9999999999999999]){
#union(){
coxa_collision(femurOffset=[65.0,0.0,0.0]);
}
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
#union(){
femur_collision_a(tibiaOffset=[95.0,0.0,30.0]);
femur_collision_b(tibiaOffset=[95.0,0.0,30.0]);
}
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
#union(){
tibia_collision(tipOffset=[100.0,0.0,0.0]);
}
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
translate([45.0,36.0,0.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,0.9999999999999999]){
#union(){
coxa_collision(femurOffset=[65.0,0.0,0.0]);
}
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
#union(){
femur_collision_a(tibiaOffset=[95.0,0.0,30.0]);
femur_collision_b(tibiaOffset=[95.0,0.0,30.0]);
}
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
#union(){
tibia_collision(tipOffset=[100.0,0.0,0.0]);
}
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
#union(){
body_collision(positions=[[-45.0,-36.0,0.0],[-45.0,36.0,0.0],[45.0,-36.0,0.0],[45.0,36.0,0.0]]);
}
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//body.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//coxa.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//femur.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//tibia.scad>;
translate([-85.0,-36.0,0.0]){
rotate(a=180.0, v=[0.0,0.0,1.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,0.9999999999999999]){
coxa(femurOffset=[65.0,0.0,0.0],expand=10.0);
translate([100.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=10.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=10.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
}
translate([-85.0,36.0,0.0]){
rotate(a=180.0, v=[0.0,0.0,1.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,-0.9999999999999999]){
coxa(femurOffset=[65.0,0.0,0.0],expand=10.0);
translate([100.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=10.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=10.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
}
translate([85.0,-36.0,0.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,-0.9999999999999999]){
coxa(femurOffset=[65.0,0.0,0.0],expand=10.0);
translate([100.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=10.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=10.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
translate([85.0,36.0,0.0]){
rotate(a=45.00000000000001, v=[0.0,0.0,0.9999999999999999]){
coxa(femurOffset=[65.0,0.0,0.0],expand=10.0);
translate([100.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,-1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=10.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=10.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
}
body(positions=[[-45.0,-36.0,0.0],[-45.0,36.0,0.0],[45.0,-36.0,0.0],[45.0,36.0,0.0]],expand=10.0);
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//body.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//coxa.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//femur.scad>;
use </home/squirrel/data/Projects/Schpin/repos/schpin-robot/schpin_koke/src/scad//tibia.scad>;
translate([-45.0,-36.0,0.0]){
rotate(a=180.0, v=[0.0,0.0,1.0]){
coxa(femurOffset=[65.0,0.0,0.0],expand=0.0);
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=0.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=0.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
translate([-45.0,36.0,0.0]){
rotate(a=180.0, v=[0.0,0.0,1.0]){
coxa(femurOffset=[65.0,0.0,0.0],expand=0.0);
translate([65.0,0.0,0.0]){
rotate(a=180.0, v=[0.0,1.0,0.0]){
femur(tibiaOffset=[95.0,0.0,30.0],expand=0.0);
translate([95.0,0.0,30.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
rotate(a=270.0, v=[0.0,1.0,0.0]){
tibia(tipOffset=[100.0,0.0,0.0],expand=0.0);
translate([100.0,0.0,0.0]){
}
}
}
}
}
}
}
}
translate([45.0,-36.0,0.0]){
coxa(femurOffset=[65.0,0.0,0.0],expand=0.0);