The Smell of Molten Projects in the Morning

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

  • Laser Material Scrap Bins

    Laser Material Scrap Bins

    Being in need of small bins to sort cutoffs / scrap material from the laser and now having an essentially unlimited supply of corrugated cardboard at hand, this made some sense:

    Laser scrap bins - cutting
    Laser scrap bins – cutting

    The cardboard is 3.8 mm thick and laid with the ribs parallel to the X axis to make all the parts stiff in the right direction. I rearranged the parts to fit the space available and work around the butterfly finger hole over on the right.

    The box pattern comes from the infinite supply at boxes.py (you’re welcome to the jawbreaker URL with my parameters) and assembles to become a sturdy little box:

    Laser scrap bins - in action
    Laser scrap bins – in action

    Rather than gluing all those fingers into their holes, I ran a hot melt glue bead around the bottom perimeter and up the four corners, which seems to do the trick. The fingers parallel to the X axis tend to be fragile, as only one or two corrugated ribs run along their length, but the overall box is surprisingly rigid after gluing.

    They’re nominally stackable and the pattern includes stiffeners glued across the leg openings so they don’t slide off the box below, but it’s obvious these boxes will always have too much stuff to allow stacking.

    I made a longer box for plywood scraps and may need a couple more for other stuff yet to be unpacked, but you get the general idea.

    The WordPress AI Assistant reminds me to remind you of the safety measures appropriate for using hot melt glue: consider yourself warned.

  • Sillcock Faucet Alignment Wedge: Getting the Angle Right

    Sillcock Faucet Alignment Wedge: Getting the Angle Right

    A pair of frost-free sillcock faucets arrived to replace the house’s leaky and un-repairable hose bibs. The faucet must be mounted at a 5° angle to let the water drain out when it’s closed:

    Everbilt Frost-Free Sillcock faucet - installation
    Everbilt Frost-Free Sillcock faucet – installation

    One might expect the Alignment Wedge included with the faucet to have a 5° angle. Because I can both measure and math, it has a 1° angle.

    Well, I can fix that.

    Start by scanning the bottom (widest side) of the wedge and apply GIMP’s Select by color tool:

    Sillcock faucet alignment wedge - GIMP color selection
    Sillcock faucet alignment wedge – GIMP color selection

    After a little manual cleanup in Quick Mask mode, apply a 1 mm inset to ensure it snaps around the pipe, convert the selection to a path, export it as an SVG image, and import it into OpenSCAD to cut the angle:

    // Sillcock faucet alignment wedge
    // Ed Nisley KE4ZNU - May 2024
    
    MaxThick = 5.0;
    Tilt = -5.0;
    
    PlateOA = [60,40,MaxThick];   // XY = original angle plate size
    
    difference() {
      linear_extrude(height=MaxThick,convexity=5)
        offset(r=-1.0)
          import("/mnt/bulkdata/Cameras/2024/Shop Projects/Sillcock Faucets/Sillcock faucet angle washer - outline.svg",
                 center=true);
       translate([-PlateOA.x/2,-PlateOA.y/2,MaxThick])
         rotate([Tilt,0,0])
            cube(PlateOA,center=false);
    }
    

    The solid model goes into PrusaSlicer for duplication & slicing:

    Sillcock faucet alignment wedge - PrusaSlicer layout
    Sillcock faucet alignment wedge – PrusaSlicer layout

    And comes off the printer looking just about like you’d expect:

    Sillcock faucet alignment wedge - OEM vs printed
    Sillcock faucet alignment wedge – OEM vs printed

    The far side of both wedges are 5 mm tall, but you can see the difference four more degrees makes in the front.

    It’s even more obvious from the edge:

    Sillcock faucet alignment wedge - on pipe
    Sillcock faucet alignment wedge – on pipe

    The wood siding where these will fit is perfectly vertical, so getting the wedge angle right isn’t really optional.

    I must drill the existing hole in the sill plate out to 1-1/8 inch to clear the pipe fittings, plus the wood around the screws holding the current bibs to the wall will surely need some buttressing, but all that’s in the nature of fine tuning.

    FWIW, this was the first 3D print after the move and I’m happy to say the M2 had no any need of adjustments.

    The WordPress AI image generator apparently ignored the post text and produced a stylin’ picture of an arched bathroom faucet over a rimless sink, which I shall leave to your imagination.

  • ssh_agent vs. The New Hotness

    ssh_agent vs. The New Hotness

    A recent Manjaro update killed whatever magic held the passwords used for public-key ssh access from my desktop box, requiring me to remember the passords and type them correctly.

    After considerable thrashing around doing what I thought I knew about ssh_agent (which, yes, was being autostarted to no avail), it seems that thread applies and the fix now requires creating /etc/profile.d/gcr-keyring.sh with this burst of line noise:

    export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh
    

    Then tell systemd about it:

    systemctl --user enable gcr-ssh-agent.socket
    systemctl --user enable gcr-ssh-agent.service
    

    Whereupon, after a reboot presumably causing systemd to make the right thing perform the right act at the right time, It Just Worked™.

    I used to have some mild sysadmin mojo, but obviously if you don’t do it all the time, everything you think you know becomes wrong.

    The WordPress AI did generate an image based on the above text and the prompt linux overlapping windows on monitor:

    WP AI Image - linux overlapping windows on monitor
    WP AI Image – linux overlapping windows on monitor

    Which looks a lot like those stock photos filling otherwise empty space in spammy web pages, doesn’t it? In point of fact, the AI Feedback on Post had this to say:

    While the AI-generated image may align with the content, consider using original or more contextually relevant visuals to maintain the professional look of the website.

    Couldn’t have put it better myself. Thank you, AI image & text generators, for your help.

  • Juki / Arrow Sewing Table Insert Filler

    Juki / Arrow Sewing Table Insert Filler

    Mary’s Juki TL-2010Q sewing machine sits in an Arrow Gidget II sewing table with a clear acrylic insert filling the opening:

    Juki TL-2000Q in Gidget II table
    Juki TL-2000Q in Gidget II table

    Before the insert arrived (it had month of leadtime), I hacked out a temporary cardboard insert:

    Juki temporary table insert
    Juki temporary table insert

    Although it may not be obvious from the picture, unlike my cardboard insert, the acrylic insert does not fill the tabletop hole to the immediate right of the machine:

    Custom Inserts are U-shaped, designed to fit around all 3 sides of your sewing machine

    Shortly after the insert arrived I hacked a temporary filler, for which no pictures survive, to keep pins / tools / whatever from falling to their doom. This turned out to be a blessing in disguise, because she wanted the machine positioned an inch to the right of its intended spot to leave enough space for a finger to reach the bobbin hatch latch.

    I then promised to replace the ugly cardboard filler with a less awful acrylic filler and finally got it done:

    Juki TL-2000Q in Gidget II table - insert filler
    Juki TL-2000Q in Gidget II table – insert filler

    The stack of cardboard prototypes show iterative fit-and-finish improvements, with the odd shape on the top serving to measure the machine’s 25 mm corner radius by comparison with known circles.

    The insert filler is made from smoked gray acrylic, because I have yet to unpack the acrylic stockpile and may not, in fact, have any clear 6 mm acrylic, so we’ll regard this as a final prototype pending further developments. It did, however, confirm the laser survived the move, which was pretty much the whole point.

    The end of the machine is not a straight line. Part of the iteration was measuring the curve’s chord height to calculate the circle’s radius, which turned out to be 760 mm:

    Juki Insert Filler - end chord circle
    Juki Insert Filler – end chord circle

    With that in hand, a few Boolean operations produced the filler shape:

    Juki Insert Filler
    Juki Insert Filler

    A pair of silicone bumper feet stuck to the side of the Juki hold the left edge of the filler at the proper level.

    For the record, the smoked acrylic came from a fragment of a Genuine IBM Printer stand I’ve had in the scrap pile since The Good Old Days:

    Etsy listing - Vintage IBM Printer Stand
    Etsy listing – Vintage IBM Printer Stand

    The LightBurn layout as an SVG image:

  • CD / DVD Data Destruction: Fixturing

    CD / DVD Data Destruction: Fixturing

    Cutting an array of 120 mm holes in chipboard produces a fixture for wrecking CDs:

    Laser-engraved CD fixture - loaded
    Laser-engraved CD fixture – loaded

    In addition to the obvious cutouts, the fixture has four corner targets:

    CD 5×3 Fixture
    CD 5×3 Fixture

    Which you use with LightBurn’s Print-and-Cut alignment:

    Laser-engraved CD fixture - alignment
    Laser-engraved CD fixture – alignment

    With fifteen Guilloche swirly patterns imported and snapped into the template and the template aligned to the fixture, Fire The Laser:

    Laser-engraved CD fixture - legend
    Laser-engraved CD fixture – legend

    The whole process takes a bit under 25 minutes:

    Laser-engraved CD fixture - complete
    Laser-engraved CD fixture – complete

    Which produces a stack of glittery proto-coasters:

    Laser-engraved CD fixture - results
    Laser-engraved CD fixture – results

    Although they’re all pretty-like, turning them into Real Coasters requires a cork base, MDF in the middle, wood glue, and adhesive sheets, all of which seems entirely too much like work.

    There ought to be an easier way …

  • Guilloche Generator: Now With Layers & Colors

    Guilloche Generator: Now With Layers & Colors

    Tweaking the GCMC Guilloche generator to define colors for the SVG layers produces a pattern ready for LightBurn:

    Guilloche - SVG layer colors
    Guilloche – SVG layer colors

    The blue layer runs at 300 mm/s at 10% PWM to carve trenches all over the CD / DVD surface, which should render it unreadable:

    Laser cut CDs - Guilloche patterns
    Laser cut CDs – Guilloche patterns

    The laser runs much faster than a drag knife or a diamond engraving tool!

    The reddish layer uses Dot mode to draw the legend around the hub:

    Laser-engraved CD - legend detail
    Laser-engraved CD – legend detail

    The characters are 1.5 mm top-to-bottom, with dots just under 0.2 mm diameter on 0.2 mm centers.

    Stipulated: there’s no real point to annotating a CD that you’re wrecking, but the code was already there, so why not?

    So the overall workflow involves generating an SVG image, importing it into LightBurn with those layers set up with the appropriate cut parameters, using the Three-Point Circle Center Finder tool to align the pattern with the CD, then Fire The Laser. Alignment stops on the laser platform eliminate the need to realign every pattern, so it boils down to running the generator script enough times, importing a batch of patterns, then snapping each one into place and cutting it.

    They’re kinda pretty, in the usual techie way:

    Laser cut CDs - Guilloche patterns
    Laser cut CDs – Guilloche patterns

    I have a lot of scrap discs, some ideas of optimizing the process, and a general notion what to do with the prettier results.

    The GCMC source code and Bash driver script as a GitHub Gist:

  • CD/DVD Data Destruction: Mariner’s Compass Coasters

    CD/DVD Data Destruction: Mariner’s Compass Coasters

    Snap all the Mariner’s Compass inset layers together into a single LightBurn layout:

    Mariners Compass - stacked insets - LB layout
    Mariners Compass – stacked insets – LB layout

    Scale it to 120 mm OD, delete the innermost circles under 15 mm diameter, then go wreck yourself some CDs and DVDs:

    Mariners Compass Coaster - CD DVD tests
    Mariners Compass Coaster – CD DVD tests

    Those were test pieces to figure out speeds and powers starting from the polycarbonate settings used for the Guilloché DVD now serving as a coaster atop the laser.

    When you’re looking to destroy the surface, then pretty doesn’t matter, but they come out surprisingly nice in a techie sort of way:

    Mariners Compass Coaster - CD clear side test
    Mariners Compass Coaster – CD clear side test

    That’s burned into the clear side of the CD before I figured out how to control the power at the starting points.

    This CD-R came out a nice silver, with the tracks burned into the data / label side:

    Mariners Compass Coaster - CD-R test
    Mariners Compass Coaster – CD-R test

    The polycarb tends to scorch & discolor at the starting point of each polygon, where the laser dwells momentarily after lighting up. Avoiding that requires setting the minimum layer power 1% below the Ruida controller’s minimum firing power. In this case, running the layer at 7% minimum with the controller set to fire at 8% completely eliminates the scorches.

    The maximum power is about 10% for the clear side. The data side requires only 10% for lightly coated CD-R / CD-RW and maybe 25% for the heavily inked labels of pressed CDs (like the Dell reinstallation CD in the first picture). It helps to start with a vast supply of unwanted discs.

    Suiting action to words:

    Mariners Compass Coaster - CD data side finished
    Mariners Compass Coaster – CD data side finished

    That’s a CD-R wrecked on the data side, stuck to an MDF disk with a cheap craft adhesive sheet and a cork disk wood-glued to the bottom. Carefully hidden here, the central hole sports a 15 mm chipboard disk contrasting horribly with the CD; it cannot be more than 1 mm thick to avoid having it stick up beyond the plastic surface and chipboard is what I have in that thickness.

    The advantages of wrecking the data side:

    • Leaving the clear side smooth, so crud won’t accumulate / grow in the grooves
    • Absolutely, positively, utterly destroying the data track

    The advantages of wrecking the clear side:

    • Maybe breaking the seal formed by condensation under the mug / glass / cup
    • Leaving the data side intact, so the coating won’t disintegrate and peel off the adhesive

    In either case, however, I’m sure the data is gone.