chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filamentspool: Add Demo() call to examples at end
[reprap-play.git]
/
filamentspool.scad
diff --git
a/filamentspool.scad
b/filamentspool.scad
index bb3c6783636661d37db2985b49785c1ec31e2f9d..a0210080052276212dfc96ba051050ced2f81f45 100644
(file)
--- a/
filamentspool.scad
+++ b/
filamentspool.scad
@@
-1,20
+1,20
@@
// -*- C -*-
fdia=2.85;
// -*- C -*-
fdia=2.85;
-lightduty=
fals
e;
+lightduty=
tru
e;
slop=0.5;
bigslop=slop*2;
function selsz(sm,lt,lg) = fdia < 2 ? sm : lightduty ? lt : lg;
slop=0.5;
bigslop=slop*2;
function selsz(sm,lt,lg) = fdia < 2 ? sm : lightduty ? lt : lg;
-function usedove() = selsz(true,
fals
e,false);
+function usedove() = selsz(true,
tru
e,false);
-num_arms = selsz(3,
4
,4);
+num_arms = selsz(3,
3
,4);
exteffrad = 70;
exteffrad = 70;
-hubeffrad = selsz(30,
40
, 40);
+hubeffrad = selsz(30,
82
, 40);
hubbigrad = selsz(20, 38, 38);
hubbigrad = selsz(20, 38, 38);
-hublwidth = selsz(3,
4
, 4);
+hublwidth = selsz(3,
2.5
, 4);
hubstemwidth = 2;
hublthick = 10;
hubaxlerad = selsz(5, 28/2, 28/2);
hubstemwidth = 2;
hublthick = 10;
hubaxlerad = selsz(5, 28/2, 28/2);
@@
-25,20
+25,20
@@
axlepadlen = 1.0;
armend_length = 120;
armend_length = 120;
-prongthick=selsz(5,
5
,5);
-prongwidth=selsz(5,
5
,5);
+prongthick=selsz(5,
4
,5);
+prongwidth=selsz(5,
4
,5);
prongribwidth=3;
prongribwidth=3;
-prongribheight=selsz(0,
4
,4);
+prongribheight=selsz(0,
0
,4);
ratchetstep=15;
ratchettooth=3;
ratchettoothheight=5;
ratchettoothsmoothr=1;
ratchettoothslope=0.75;
overlap=0.5;
ratchetstep=15;
ratchettooth=3;
ratchettoothheight=5;
ratchettoothsmoothr=1;
ratchettoothslope=0.75;
overlap=0.5;
-cupwidth=selsz(40,
50
,50);
-cupheight=selsz(55,
5
5,55);
+cupwidth=selsz(40,
25
,50);
+cupheight=selsz(55,
2
5,55);
-cupstrong_dx=selsz(0,
-1
0,-10);
+cupstrong_dx=selsz(0,0,-10);
propxshift = -6;
propxshift = -6;
@@
-49,14
+49,14
@@
teethgapx=4+fdia;
prongstalkxwidth=3;
prongstalkxwidth=3;
-stalklength=selsz(35,
5
5,55);
+stalklength=selsz(35,
2
5,55);
overclipcupgap=5;
overclipdepth=15;
overcliproundr=2.0;
overclipthick=1.0;
overclipcupgap=5;
overclipdepth=15;
overcliproundr=2.0;
overclipthick=1.0;
-overclipcupnextgap=selsz(20,
20
,20);
+overclipcupnextgap=selsz(20,
15
,20);
-hubaxlelen = selsz(25,
87
.5, 87.5);
+hubaxlelen = selsz(25,
62
.5, 87.5);
echo(hubaxlelen);
overclipsmaller=-2.5;
echo(hubaxlelen);
overclipsmaller=-2.5;
@@
-66,7
+66,7
@@
wingspoke=2.5;
wingsize=6;
wingthick=3;
wingsize=6;
wingthick=3;
-armendwallthick=selsz(2.5,
2.5
, 2.5);
+armendwallthick=selsz(2.5,
1.8
, 2.5);
armendbasethick=selsz(1.2, 1.2, 1.2);
axlehorizoffset = 12.5;
armendbasethick=selsz(1.2, 1.2, 1.2);
axlehorizoffset = 12.5;
@@
-449,6
+449,12
@@
module FilamentCupPair(){ ////toplevel
rotate([0,0,180]) FilamentCup();
}
rotate([0,0,180]) FilamentCup();
}
+module Demo(){
+ translate([-hubeffrad-30,50,0]) Hub();
+ ArmEnd();
+ translate([0,50,0]) FilamentCup();
+}
+
//ArmEnd();
//FilamentCup();
//FilamentCupPair();
//ArmEnd();
//FilamentCup();
//FilamentCupPair();
@@
-459,3
+465,4
@@
module FilamentCupPair(){ ////toplevel
//AxleWasher();
//AxlePin();
//AxleFrictionWasher();
//AxleWasher();
//AxlePin();
//AxleFrictionWasher();
+//Demo();