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.

The New Hotness

  • LightBurn Slot Resizing

    LightBurn includes a Slot & Tab Resizer tool that automagically finds and resizes joints to adapt a design for whatever material thickness you might be using. To judge from the LightBurn forum threads, it doesn’t deal well with random designs fetched from the Interwebs, which suggests those designs were either never intended for laser cuttery or just badly laid out.

    So I fetched a sheep from a typical sketchy source and attempted to resize its slots:

    Sheep DXF import - slot resize problem
    Sheep DXF import – slot resize problem

    The tool looks for rectangular shapes within the Tolerance of the Old Material Thickness width, then marks their narrow ends with red highlights and their length with blue. Obviously, not all of the slots we humans see count as slots.

    A closer look at one of the body shapes with a slightly larger Tolerance shows some of the problems:

    Sheep DXF import - body
    Sheep DXF import – body

    Using the Node Editor tool reveals two stray nodes near the bottom of the second slot from the left:

    Sheep DXF import - slots
    Sheep DXF import – slots

    Zooming in and blowing out the contrast:

    Sheep DXF import - slot bottom
    Sheep DXF import – slot bottom

    Manually deleting those nodes doesn’t solve the problem, because two more errant nodes lurk at the top of the slot:

    Sheep DXF import - slot top
    Sheep DXF import – slot top

    You probably didn’t notice those at first glance, either. Those nodes may be very close together, but they still confuse the issue.

    Rather than tracking down and deleting / adjusting those nodes one by one, you can apply the Optimize Shapes tool to squash the superfluous nodes into straight lines:

    Sheep DXF import - optimized
    Sheep DXF import – optimized

    Don’t smooth the shapes or fit them to arcs at this point, because both of those operations will round off the corners.

    That may still leave a few nodes requiring manual intervention, as on the face shape:

    Sheep DXF import - optimized leftover
    Sheep DXF import – optimized leftover

    But at least the problem becomes tractable:

    Sheep and dinosaur flock
    Sheep and dinosaur flock

    As the Bard put it, all’s well that ends well.