Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.
Category: Software
General-purpose computers doing something specific
At last, I can make plausible-looking punched cards:
Test Card 3 – punched
Then chop most of them up to make a layered eagle:
Apollo Eagle – V3 – overview
Back in the beginning, the grand overview explained the card production process, but now I can pull all the blog posts into a more coherent story.
Start by making trays to hold the 1/3 Letter sized printed cards and the final cut cards. A coat of paint improves the result:
Card Storage Tray – front
Then make a fixture to position the 1/3 Letter printed cards in the laser and a simple cover for the honeycomb to direct the air flow:
Punched cards – laser fixture overview
The current versions of the Python program to convert a line of text into the SVG images required to print and punch the cards, plus the Bash scripts handling all the command line parameters, are now in a single GitHub Gist . I used the source code from the Apollo 11 CSM AGC for historic reasons.
The Bash scripts invoke the Python program twice to produce both the printed layout:
Punched Cards – test card – printed
And “punched” holes surrounded by the perimeter cut for the laser:
Because my printer produces slightly off-size printed images, the script uses Inkscape to convert the SVG into a PNG, then downscales the image by a few percent (a different percent on each axis). It composites the card logo onto the PNG and slams the result onto a Letter page in the proper place to hit the 1/3 Letter sheets.
The perspective makes the dispenser look chonkier than it really is.
A wrap of black silicone tape around the spool embiggens it for a snug fit inside the tape core. A casual inspection of other tapes suggest enlarging the spool by a few percent would help, but it’s Good Enough™ as-is.
The two end thumbscrews fasten the 4×1 Gridfinity baseplate to the dispenser; both from Gridfinity Refined:
Gridfinity Tape Dispenser – baseplate
If I had my wits about me, I’d have used a nicely contrasting color for the baseplate, but it is what it is.
Although they’re called “thumbscrews”, the slot is sized for a US quarter (or cart coin).
An OpenSCAD one-liner produces an SVG model of the baseplate:
projection(cut=true) import("Grid 4x1.stl");
Import SVG into LightBurn, delete the magnet pockets, and Fire The Laser on some EVA foam:
Gridfinity Tape Dispenser – foam base
A layer of 3M 300LSE tape holds the foam in place, because neither side sticks well to the goo on a craft adhesive sheet due to their low surface energy. I stuck an oversize rectangle to the foam with the thin adhesive side before cutting, which required a second pass at higher speed.
The thumbscrews also close off the holes in the dispenser bottom through which I poured 275 g = 10 oz of sand for better traction. Steel shot is reputed to be Even Better, although most of the BBs are in the long-arm weight.
The dispenser model includes a printed serrated blade which works as poorly as the author suggested. A length snapped from an ancient Strombecker 4-I (“four eye”) blade in the Box o’ Big X-Acto Blades fits perfectly, works wonderfully well, and is sufficiently inconspicuous to warrant the warning label. An X-Acto #26 Whittling Blade would probably snap down equally well.
As long as the voltage limit is over about 10 V, it will (likely) never matter, as the LED forward drop doesn’t vary much with temperature. Setting it to something sensible keeps it out of the way.
The middle trimpot apparently sets a voltage for a comparator to light an LED when the battery current drops below that level as it reaches full charge.
Although the regulator touts its high efficiency, it does run hot and a heatsink seemed in order:
LED Garage Light – heatsink
Stipulated: the fins run the wrong way and it’s sitting in the updraft from the main heatsink. It’s Good Enough™.
The switch on the top comes from the collection of flashlight tailcap switches and controls the 12 V input power. It’s buried up to its button in a generous dollop of JB Kwik epoxy, which seemed the least awful way to get that done.
The solid model looks about like you’d expect:
LED Lamp Driver case – switch housing – show solid model
The OpenSCAD code exports the (transparent) lid as an SVG so I can import it into LightBurn and laser-cut some thin acrylic. Two tape snippets hold the lid in place pending more power-on hours, after which I’ll apply a few dots of cyanoacrylate adhesive and call it done.
The case builds in two pieces that glue together to avoid absurd support structures:
LED Lamp Driver case – switch housing – build solid model
A 3D printed adapter goes between the desk lamp arm and the lamp heatsink bolt:
LED Lamp Driver case – arm adapter – solid model
The OpenSCAD source code files for the case and adapter arm as a GitHub Gist:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Industrial Age bobbin winder for Mary’s HQ Sixteen long-arm machine bunched the thread on one end of the bobbin, rather than distributing it in even layers as it should. Tinkering with the thread tension setting being unavailing, I settled in for some debugging.
After filling two bobbins from a spool of the thread Mary uses for practice quilts, I decided I should reuse the thread. Mounting the filled bobbin on a 6 mm horizontal shaft attached to the vertical pin normally locating the spool let the thread pay out in the proper orientation, with a duct-tape lashup holding the shaft in place:
HQ Sixteen bobbin unwind adapter – expedient version
I added the stack of washers to keep the bobbin away from the duct tape after having the tape’s adhesive migrate onto the spinning bobbin.
The thread from the spool or, in my case, a filled bobbin, passes between a pair of tension disks on its way to the bobbin spun by the motor:
HQ Sixteen bobbin winder – thread path
A conical spring presses the tension disks together, with the thread clamped between them:
HQ Sixteen bobbin winder – tension disk overview
The instructions suggest using “the lightest tension possible”, but backing the nut off to hang by its fingernails had no effect. The spring has a bent end passing through the slotted shaft, so rotation of the disks won’t unscrew the nut.
The washer under the mounting screw left slight scars in the black oxide finish on the fixture, presumably from previous attempts to adjust the thing:
HQ Sixteen bobbin winder – tension disk base
The threaded shaft is not exactly parallel to the base, because the upright arm is slightly over-bent, but I think that has no effect on the outcome, because the thread path doesn’t depend on the disk angle.
Because the thread accumulated on the outer side of the bobbin (to the right in that picture), I loosened the mounting screw and shoved the fixture all the way to the left. That should, if anything, bias the thread accumulation to the other (inner) side of the bobbin.
As it turned out, relocating the tension disks caused the thread to distribute evenly across the bobbin, with only occasional hesitations and no significant accumulations; Mary pronounced the result entirely satisfactory.
The motor dataplate says it runs at 7000 RPM, so the 3/4 inch O-ring drives the 4 inch wheel at about 1300 RPM. This was sufficiently terrifying I immediately set up a triac speed control (intended for a router) to throttle it down, but with the bobbins now filling properly we run the motor at full speed and it fills a bobbin in 23 seconds flat.
After we filled half a dozen bobbins with blue thread for the quilt project, I conjured an adapter from the vasty digital deep for a snippet of 6 mm rod with a D-shaped end:
Bobbin Unwind Adapter – solid model – show
The adapter builds on one leg, with a brim for stability:
HQ Sixteen bobbin unwind adapter – on platform
And looks like it belongs there:
HQ Sixteen bobbin unwind adapter – installed
It’s now in the box of HQ Sixteen bobbins, where we both hope it will remain undisturbed forevermore.
Although the vertical pin locating the spools (and holding the adapter) is nominally 6 mm, burrs in the chrome plating prevented the bobbin’s 6 mm bore from sliding over it. In retrospect, that prevented me from just dropping the bobbin on the pin and unwinding the thread over the side of the bobbin, which likely avoided some serious-to-lethal thread tangles.
After all that debugging, I had several bobbins full of well-worn thread, so:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mary’s current quilt project has a corner design with an essentially infinite number of 45° triangles, which another custom ruler will simplify:
45° Quilting Ruler – finished
That’s the end result of several iterations, proceeding from doodles to sketches to increasingly accurate laser-cut prototypes:
45° Quilting Ruler – prototypes
A “ruler” in quilting parlance is a thing guiding the sewing machine’s “ruler foot” across the fabric (or, for sit-down machines, the fabric under the foot) in specific directions:
45° Quilting Ruler – in use
That’s a practice quilt on scrap fabric: quilters need prototypes, too!
The foot is 0.5 inch OD, within a reasonable tolerance, which accounts for the slot width in the ruler. It’s also intended to run against 1/4 inch thick rulers, which accounts for the thickness of that slab of acrylic.
The engraved lines & arcs are on the bottom of the ruler to eliminate parallax errors against the fabric, so the bottom is upward and the text is mirrored for the laser:
45° Quilting Ruler – cutting
Although fluorescent green acrylic may have higher visibility, clear seems adequate for the fabric in question:
45° Quilting Ruler – colored fabric
I very carefully trimmed the arcs against the ruler outline using LightBurn’s Cut Shapes, which turned out to be a Bad Idea™, because the high-current pulse as the laser fires causes a visible puncture wound at the still-to-be-cut edge:
45° Quilting Ruler – edge damage
Those are not straight lines and the plastic isn’t bent!
A closer look:
45° Quilting Ruler – edge damage – detail
The arcs without wounds started from their other end and stopped at the edge, which is perfectly fine.
The wounds are unsightly, not structural, but the next time around I’ll extend the markings a millimeter beyond the edges into the scrap material.
The overall design looks busier than it is, because I put different features on different layers in case they needed different settings:
The latches holding the side cover of the portable generator in place work well enough that I never tighten the cover screws, but sometimes one will vibrate itself into place and require less than one turn of a screwdriver to release. Given that I put a knob on the air filter screw, a pair of knobs on the side cover screws makes sense:
Generator Cover Screw Knob – installed
Those are custom screws! The narrow neck keeps them captive in the cover, which is a Good Thing™.
These knobs obviously descend from the air filter knob, with less knurling and a short shaft to clear the recess in the cover:
Generator Cover Screw Knob – solid model
Unlike the air filter knob, the double-sided tape gluing these to their screws isn’t continually compressed, so the knobs may eventually shake off. Should that happen, I’ll deploy epoxy.
A clothes rack Mary intended use with some work-in-progress quilts seemed entirely too wobbly for the purpose, so I tried tightening its screws. This did not go well, as some of the threaded inserts sunk into the vertical bars spun freely and, with a bit of persuasion, pulled straight out of their sockets:
The reddish fluid is Kroil penetrating oil I hoped would free the screws from the corrosion locking them into the inserts. After an overnight soak, they still required force majeure:
Clothes rack screws – threaded insert in vise
The two inserts on the left came from the top of the rack and the other two from the bottom:
Clothes rack screws – threaded insert corrosion
Similar inserts have a hex drive recess and, because these are for 1/4-20 screws, I expected an inch size hex key. Nope, they want a hard metric 6 mm:
Clothes rack screws – threaded insert reformed
I cleaned up the corroded inserts by the simple expedient of tapping them firmly onto the 6 mm wrench held in the vise:
The crud around the bottom fell out of previous contestants during their reformation.
I considered epoxying the inserts in place, but settled for tucking a thick paper shim into each hole:
Clothes rack screws – threaded insert shim
They’re entirely snug right now and, should they work loose, I’ll coat the hole with epoxy, roll up another shim, screw the insert in place, await curing, then declare victory and hope nobody must ever remove them.
The 1/4-20 screws in the top member sit deep in recesses that surely had decorative wood plugs when the rack left the factory. Alas, they’re long gone, which may have let water / moisture corrode the screws + inserts . I’m not much good for “decorative” items, so this must suffice:
Clothes Rack Screw Covers – solid model
A snippet of double-sided tape on one side of the hole keeps them in place:
Clothes rack screws – cover installed
They look better in person …
The trivial OpenSCAD source code:
// Clothes rack screw cover
// Ed Nisley - KE4ZNU
// 2026-03-13
include <BOSL2/std.scad>
/* [Hidden] */
NumSides = 4*3*3*4;
$fn=NumSides;
//----------
// Build it
// … with magic numbers from the rack
cyl(3.0,d=16.7,chamfer1=1.0,anchor=BOTTOM) position(TOP)
cyl(6.0,d=12.9,chamfer2=1.0,anchor=BOTTOM);