Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jan Koniarik
schpin-robot
Commits
170367f5
Commit
170367f5
authored
Nov 24, 2019
by
Jan Koniarik
Browse files
updates to model
parent
5b2e315f
Changes
6
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
170367f5
*.pyc
.pycad/
schpin_koke/src/scad/gen/
schpin_koke/dist/
schpin_robot_lib/dist/
schpin_koke/.cabal-sandbox/
*.stl
*.stlb
*.swp
*.swo
schpin_koke/src/scad/body.scad
View file @
170367f5
...
...
@@ -81,7 +81,7 @@ module bottom_xplate() {
}
}
module body(positions, expand = 0) {
module body(positions, expand = 0)
color("green")
{
for (m = [ 0, 1 ])
mirror([ m, 0, 0 ]) translate([ Ta(T24) * 2, 0, 0 ]) rotate([ 0, 0, 0 ])
bat_set();
...
...
@@ -102,7 +102,7 @@ module body(positions, expand = 0) {
translate([
-2.5 * Ta(T24), 0, xplate_h + xplate_tile_h + D415_dim[2] / 2 + 30
]) {
D415();
//
D415();
// D415_fov();
}
}
schpin_koke/src/scad/coxa.scad
View file @
170367f5
...
...
@@ -9,8 +9,8 @@ module coxa_collision(femurOffset) {
cube([ femurOffset[0] + 25, 40, 30 ], center = true);
}
module coxa(femurOffset, expand = 0) {
module coxa(femurOffset, expand = 0)
color("red")
{
axis();
translate(femurOffset) rotate([ 90, 0, 180 ]) {
rotate([ 0, 90, 0 ]) tile_screw_pos(T24) {
Mscrew(M2L8C);
...
...
@@ -21,6 +21,8 @@ module coxa(femurOffset, expand = 0) {
LX15D_cable_holder_B(z_offset = 2, expand = expand);
LX15D_cable_holder_C(expand = expand);
rotate([0, 0, 0])axis();
translate([ -4 * expand, 0, 0 ]) LX15D();
translate([ -2 * expand, 0, 0 ]) LX15D_U(expand = expand);
}
...
...
schpin_koke/src/scad/femur.scad
View file @
170367f5
...
...
@@ -72,28 +72,8 @@ module femur_plate(tibiaOffset) {
}
}
module bridge() difference() {
t = 2;
h = t + Ta(T24) / 2;
w = Ta(T24);
screw_d = Tscrew_d(T24) * 0.9;
union() {
translate([ 0, 0, -h / 2 ]) cube([ w, plate_a, h ], center = true);
translate([ 0, 0, -h - t / 2 ])
cube([ w / 5, plate_a, t ], center = true);
}
for (m = [ 0, 1 ])
mirror([ m, 0, 0 ]) rotate([ 90, 0, 0 ]) tile_screw_pos(T24)
cylinder(d = screw_d, h = 100, center = true);
cube([ 100, plate_a - t * 2, Ta(T24) ], center = true);
cube([ w * 3 / 5, plate_a - t * 2, Ta(T24) + t * 2 ], center = true);
}
module femur(tibiaOffset, expand = 0) {
module femur(tibiaOffset, expand = 0) color("yellow"){
//translate([ Ta(T24), 0, tibiaOffset[2] ]) finalize("cyan") bridge();
for (m = [ 0, 1 ]) mirror([ 0, m, 0 ]) translate([ 0, 2 * expand, 0 ]) {
translate([ 0, tile_h + expand * 2, 0 ]) screw_pos(tibiaOffset)
...
...
schpin_koke/src/scad/tibia.scad
View file @
170367f5
include<LX15D
/
cables.scad>;
include<LX15D
/
tiles.scad>;
include<LX15D
/
cables.scad>;
include<LX15D
/
tiles.scad>;
include<metric.scad>;
include<util.scad>;
include<LX15D.scad>;
...
...
@@ -200,8 +200,13 @@ module tibia_bot(expand = 0) {
}
module tibia(tipOffset, expand = 0) {
rotate([90, 0, 0])
axis();
color("blue")
rotate([ -90, 0, 0 ]) LX15D_cable_holder_C(expand = expand);
color("blue")
tibia_servo_pos() LX15D();
color("blue")
translate([ 2 * expand, 0, 0 ]) tibia_servo_pos() {
LX15D_U(class = T24, expand = expand);
translate(LX15D_U_offset + [ -Mnut_h(M2N) - Tt(T24) - expand, 0, 0 ])
...
...
@@ -211,6 +216,7 @@ module tibia(tipOffset, expand = 0) {
Mnut(M2N);
}
}
color("blue")
translate(LX15D_U_offset) rotate([ 0, 90, 0 ])
translate([ 0, 0, 5 * expand ]) {
translate([ 0, 0, -2 * expand ]) tile_H(T24, middle_tile_h);
...
...
@@ -221,10 +227,13 @@ module tibia(tipOffset, expand = 0) {
translate([ 0, 0, Tt(T24) + 3 * expand ]) Mnut(M2N);
}
}
color("blue")
translate([ 5 * expand, 0, 0 ]) finalize("orange") tibia_pyramid(tipOffset);
translate(tipOffset) {
color("blue")
translate([ 7 * expand - bot_screw_z, 0, 0 ]) rotate([ 0, -90, 0 ])
ball_joint();
color("gray")
translate([ 8 * expand - bot_screw_z, 0, 0 ]) rotate([ 0, 25 - 90, 0 ])
translate([ 0, 0, -bot_screw_z ]) {
tibia_bot(expand = expand);
...
...
schpin_koke/src/scad/util.scad
View file @
170367f5
module axis()#color("pink"){
for(i=[-4:4]){
translate([0,0, i*20])
cylinder(d=2, h=10,center=true);
}
}
module finalize(color_name) color(color_name) render() children();
module cornered_cube(dim, corner) hull() {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment