fig2dev -D +$(notdir $*) -L eps <$< >$@.tmp
@mv -f $@.tmp $@
+FILAMENTSPOOL_NUMBERS=$(shell seq 300 100 1500)
+filamentspool-number-n%.eps: filamentspool-number.eps.pl
+ ./$< $* >$@.tmp && mv -f $@.tmp $@
+
+FILAMENTSPOOL_DXFS=$(foreach n,$(FILAMENTSPOOL_NUMBERS), \
+ filamentspool-number-n$n.dxf)
+
+filamentspool-numbers filamentspool.stl: $(FILAMENTSPOOL_DXFS)
+
SCREWRECESSTEST_SIZES= 2 3 4 5 6
SCREWRECESSTEST_DXFS=$(foreach s,$(SCREWRECESSTEST_SIZES), \
screw-recess-test-number-s$s.dxf)
totalheight = channeldepth + armendbasethick;
stalkwidth = prongwidth + prongstalkxwidth;
+tau = PI*2;
+
module ArmEnd(length=armend_length){ ////toplevel
if (usedove()) {
translate([ratchettoothsmoothr, channelwidth/2, -armendbasethick]) {
}
}
+if (0)
+ for (circum = [300:100:1500]) {
+ assign(rad = circum / tau)
+ assign(fn = str("filamentspool-number-n",circum,".dxf"))
+ assign(xlen = rad - real_exteffrad) {
+ echo(circum, rad, xlen);
+ translate([xlen, -armendwallthick, -armendbasethick])
+ color("blue"){
+ translate([-.5,-1,0]) cube([1,2,15]);
+ // echo(fn);
+ translate([0,0, totalheight - 1])
+ rotate([90,0,0])
+ rotate([0,0,-90])
+ linear_extrude(height=10)
+ // scale(templatescale)
+ import(file=fn, convexity=100);
+ }
+ }
+ }
+
difference(){
translate([0, -armendwallthick, -armendbasethick])
cube([length, totalwidth, totalheight]);