chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8ca1d90
)
tablet-stand: wip
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 15 Mar 2013 21:01:15 +0000
(21:01 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 15 Mar 2013 21:01:15 +0000
(21:01 +0000)
tablet-stand.scad
patch
|
blob
|
history
diff --git
a/tablet-stand.scad
b/tablet-stand.scad
index cabaa97ca9ca7c2c93f8e4edbba3d8da2adf67f3..c63451221fe15585c6777e0826934c433dd447be 100644
(file)
--- a/
tablet-stand.scad
+++ b/
tablet-stand.scad
@@
-1,5
+1,8
@@
// -*- C -*-
// -*- C -*-
+whole_depth = 90;
+whole_width = 120;
+
antifoot_width = 15;
antifoot_height = 15;
antifoot_slope = 1.0;
antifoot_width = 15;
antifoot_height = 15;
antifoot_slope = 1.0;
@@
-7,8
+10,9
@@
antifoot_depth = 10;
antifoot_base = 8;
antifoot_front = 5;
antifoot_base = 8;
antifoot_front = 5;
+antifoot_back = antifoot_depth + antifoot_height/antifoot_slope;
+
module AntiFoot(){
module AntiFoot(){
- antifoot_back = antifoot_depth + antifoot_height/antifoot_slope;
translate([-antifoot_front-antifoot_back, antifoot_width/2, 0])
rotate([90,0,0])
translate([antifoot_front, antifoot_base, 0])
translate([-antifoot_front-antifoot_back, antifoot_width/2, 0])
rotate([90,0,0])
translate([antifoot_front, antifoot_base, 0])
@@
-22,4
+26,19
@@
module AntiFoot(){
[antifoot_back, -antifoot_base]]);
}
[antifoot_back, -antifoot_base]]);
}
-AntiFoot();
+module LeftLeg(){
+ effective_depth = whole_depth - antifoot_back;
+ translate([-effective_depth, -whole_width/2, 0])
+ AntiFoot();
+}
+
+module RightLeg(){
+ mirror([0,1,0]) LeftLeg();
+}
+
+module Stand(){
+ LeftLeg();
+ RightLeg();
+}
+
+Stand();