.st0{fill:#FFFFFF;}

KiCad

KiCad 5 – How to align and distribute multiple footprints in Pcbnew 

 March 12, 2019

By  Peter

Join Our Mailing List

We publish fresh content each week. Read how-to's on Arduino, ESP32, KiCad, Node-RED, drones and more. Listen to interviews. Learn about new tech with our comprehensive reviews. Get discount offers for our courses and books. Interact with our community.

One email per week, no spam, unsubscribe at any time.

Hi!

A question that I received from a student of KiCad Like a Pro Second Edition, is how to align components, or I should say, footprints in Pcbnew so that they all aligned nicely to the left, to the right, to the middle and so on.

So in this quick video I'd like to show you a quick example of how to do just that.

First, make sure you are not using legacy tools mode. The alignment and distribution feature will not work if you do.

So, I've got a blank canvas here and I'm going to drop a few resistors (exactly the same thing that you can do with anything else with any other footprint).

Copy this just select it, and do Control-C...

I'll drop a couple more. I'm going to put them in just weird positions, not aligned.

Put one more say right here.

And now, let's say that I want to align them all so that all of them are aligned to the left.

And the alignment is going to work by KiCad looking at what is the left-most edge of all the components that I have selected and then move the rest at that location.

So first I need to select them all and I'm going to do a right click and then select all of them like this.

So they are all highlighted.

Then I'm going to pick one of them.

Let's say this one here right click and in the menu that appears, go to Align/Distribute and I've got choices to make.

Let's say a line to the left. There you go.

All of them will be moved towards the left most edge of the existing footprints.

And there will be aligned as such.

While I've got them here another thing that I can do is...

That's good, Google Home. Sorry about that.

So, let's say that I want to distribute them now nicely vertically.

So while I've got them at this location, at this position, I'm going to do right click and they're still all selected, and I'm going to go align, distribute vertically.

And that will space them nicely here.

And you can experiment in the same way to do all sorts of other types of alignments and arrangements.

So I hope this was helpful.

Learn KiCad with KiCad Like a Pro, 2nd edition

KiCad is the perfect tool for electronics engineers and hobbyists alike.


KiCad Like a Pro 2e will teach you how to use KiCad.


It takes a practical approach to learning. All of the learning takes place in the form of projects of incremental difficulty.


Whether you are a hobbyist or an electronics engineer, this book will help you become productive quickly, and start designing your own boards.


Tags


You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Understanding the power requirements is crucial for any enthusiast using the Arduino Uno in their projects. How you manage voltage, amperage, and power sources impacts the success or failure of your endeavours. In this guide,

Read More
The Ultimate Guide to Powering Your Arduino Uno Board

If you are curious about how electronic devices work, understanding the fundamentals of the operation of their basic components is essential. Every electronic device—from the smartphones in our pockets to the satellites orbiting our planet—contains

Read More
A Guide to Essential Electronic Components in Circuits