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 (parent:
ae3bb6a
)
filamenttrestle topcyl -> topblock nfc
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 10 Oct 2012 23:51:39 +0000
(
00:51
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 10 Oct 2012 23:51:39 +0000
(
00:51
+0100)
filamenttrestle.scad
patch
|
blob
|
history
diff --git
a/filamenttrestle.scad
b/filamenttrestle.scad
index d0b0ccb6bb8b00cfeed76bd3d78463bd60758f11..b546360b4f6ba68d296ad07537a6df5cb292b46d 100644
(file)
--- a/
filamenttrestle.scad
+++ b/
filamenttrestle.scad
@@
-22,8
+22,8
@@
trestlelegw = 10;
trestlebaseh = 10;
trestleplugd = 1;
trestlebaseh = 10;
trestleplugd = 1;
-top
cyl
thick = 3;
-top
cyl
basedepth = 4;
+top
block
thick = 3;
+top
block
basedepth = 4;
pinbasew = 3;
pinminh = 1.0;
pinbasew = 3;
pinminh = 1.0;
@@
-72,7
+72,7
@@
module Bar(){
module Trestle(){
legang = atan2(trestlebase/2, trestleheight);
eplen = sqrt(trestleheight*trestleheight + trestlebase*trestlebase*0.25);
module Trestle(){
legang = atan2(trestlebase/2, trestleheight);
eplen = sqrt(trestleheight*trestleheight + trestlebase*trestlebase*0.25);
- top
cylw = plugwmax + topcyl
thick*2;
+ top
blockw = plugwmax + topblock
thick*2;
pinholebasew = pinbasew + pindwidth;
pinholeh = pinminh + pindh;
pinholebasew = pinbasew + pindwidth;
pinholeh = pinminh + pindh;
@@
-91,8
+91,8
@@
module Trestle(){
cylinder(r=trestlelegw/2*1.2, h=plugl);
}
}
cylinder(r=trestlelegw/2*1.2, h=plugl);
}
}
- translate([-top
cylw/2, -topcyl
basedepth, 0])
- cube([top
cylw, topcylbasedepth + plugh + topcyl
thick, plugl]);
+ translate([-top
blockw/2, -topblock
basedepth, 0])
+ cube([top
blockw, topblockbasedepth + plugh + topblock
thick, plugl]);
translate([-trestlebase/2, -trestleheight, 0])
ExtenderPillars(length=trestlebase, width=trestlebaseh*2, height=plugl);
translate([-trestlebase/2, -trestleheight, 0])
ExtenderPillars(length=trestlebase, width=trestlebaseh*2, height=plugl);
@@
-105,10
+105,10
@@
module Trestle(){
for (rot=[0,180]) {
translate([0,0,plugl/2]) rotate([0,rot,0]) translate([0,0,-plugl/2]) {
for (rot=[0,180]) {
translate([0,0,plugl/2]) rotate([0,rot,0]) translate([0,0,-plugl/2]) {
- translate([-(top
cyl
w*0.25+1),
+ translate([-(top
block
w*0.25+1),
plugh,
(plugl - pinholebasew*2)/3]) rotate([0,90,0]) {
plugh,
(plugl - pinholebasew*2)/3]) rotate([0,90,0]) {
- linear_extrude(height = top
cyl
w*1.0+2) {
+ linear_extrude(height = top
block
w*1.0+2) {
polygon([[-1.0 * pinholebasew, -0.01],
[-0.5 * pinholebasew, pinholeh],
[ 0 , -0.01]]);
polygon([[-1.0 * pinholebasew, -0.01],
[-0.5 * pinholebasew, pinholeh],
[ 0 , -0.01]]);