Hacks

Transform Kicad Design To Patchwork For Isolation Routing

Transform Kicad Design To Patchwork For Isolation Routing


Tuning a desktop router and your board designs for isolation routing can be a bit tricky, with thin traces usually being the first victim. For simple prototype boards you usually don’t need tightly packed traces, you just want to isolate the nets. To do this with a minimum amount of routing, [Michael Schembri] created kicad-laser-min, a command-line utility that takes a Kicad PCB design and expands all the tracks and pads to their maximum possible width.

Laser scribed PCB with maximum track widths

The software takes one layer of the PCB layout, converts it to black and white, and then runs a C++ Voronoi algorithm on it to dilate each track and pad until it meets another expanding region. Each region is colourised, and OpenCV edge detection is used to produce the contours that need to be milled or etched. A contour following algorithm is then used to create the G-code. The header image shows the output of each step.

Full source code is available on GitHub. [Michael] has had good results with his own boards, which are scribed using a laser cutter before etching, but welcomes testing and feedback from other users. He has found that OpenCV doesn’t always completely close all the contours, but the gaps are usually smaller than the engraving width of his laser, so no shorts are created.

This is basically “Scribble style” prototyping with CAD and CNC tools. If you prefer scribe and etch, you might consider building a simple PCB shaker for faster etching. If you have a router but want to avoid the dust, you can use a carbide scribe to scratch out the tracks without needing to etch.



Source link

Click to add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Hacks

More in Hacks

Automatic Cat Weighing Machine Knows Which Pet It is Feeding

HCAugust 13, 2020

How to Hack Your Brain to Achieve Your Goals

HCAugust 12, 2020

HOPE 2020 Delivers Historic Marathon Of Hacking

HCAugust 11, 2020

Modular Vibrating ‘Bots Made From PCBs

HCAugust 10, 2020

Hands-On: Internet of Batteries Quantum Badge Brings Badgelife Add-Ons the Power and Internet They Crave

HCAugust 9, 2020

Wood-Fired Hot Tub For The End Of The World

HCAugust 8, 2020

Copyright © HurtCafe.com 2016

Do NOT follow this link or you will be banned from the site!