Difference between revisions of "KiCad Resources"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
(A little note: I use [https://linuxmint.com/download_lmde.php LMDE] as my primary desktop OS. Instructions on this page should work for any Debian based Linux distro.  If you need Windows or Mac instructions, afraid I can't help for now...)
{{{!}} class="wikitable" style="float: right; width: 322px;" border="2"
{{!}}+ Proven on:
{{!}}- <!-- Debian -->
{{!}} style="text-align: center; width: 60px;" {{!}} [[File:Logo Debian.png{{!}}60px{{!}}link=https://www.debian.org/{{!}}center{{!}}middle{{!}}frameless]]
{{!}} style="text-align: center; width: 40px;" {{!}} 11 (bullseye)
{{!}}
<br>
{{!}}- <!-- LMDE -->
{{!}} style="text-align: center; width: 65.675px;" {{!}} [[File:Logo LMDE.png{{!}}60px{{!}}link=https://linuxmint.com/edition.php?id=279{{!}}center{{!}}middle{{!}}frameless]]
{{!}} 5 (Elsie)
{{!}}
<br>
{{!}}}
= Installing KiCad 6 =
= Installing KiCad 6 =
The Debian repositories default to KiCad 5... This is dumb.
The Debian repositories default to KiCad 5... This is dumb.


BUT! KiCad 6 is in the backports & available. So you just have to tell apt to install 6.
BUT! KiCad 6 is in the [https://backports.debian.org/ backports] & available. So you just have to tell apt to install 6.


"To be able to install versions from a official Debian Backport repository you need to extend your sources.list configuration if not yet happen. If you are running Debian Bullseye please create a file /etc/apt/sources.list.d/bullseye-backports.list if you don’t have an similar entry already."
== <span style="color: rgb(224, 62, 45);">This part (in red) <span style="text-decoration: line-through;" >not</span> required for LMDE:</span> ==
<span style="color: rgb(224, 62, 45);">"To be able to install versions from a official Debian Backport repository you need to extend your sources.list configuration if not yet happen. If you are running Debian Bullseye please create a file /etc/apt/sources.list.d/bullseye-backports.list if you don’t have an similar entry already."</span>


TLDR:
<span style="color: rgb(224, 62, 45);">TLDR:</span>


* <code>sudo /etc/apt/sources.list.d/bullseye-backports.list</code>
*<span style="color: rgb(224, 62, 45);"> <code>sudo vi /etc/apt/sources.list.d/bullseye-backports.list</code></span>
Then add in:
 
<span style="color: rgb(224, 62, 45);">Then add in:</span>


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 16: Line 34:


</syntaxhighlight>
</syntaxhighlight>
<span style="color: rgb(224, 62, 45);">Then:</span>


Then:
*<span style="color: rgb(224, 62, 45);"> <code>sudo apt update</code></span>


* <code>sudo apt update</code>
<span style="color: rgb(224, 62, 45);">(You'll see a whole bunch of warnings about packages being configured multiple times. This is harmless, but annoying.)</span>
(You'll see a whole bunch of warnings about packages being configured multiple times. This is mostly harmless, but annoying.)


== & now... The actual install! ==
== & now... The actual install! ==
Line 33: Line 51:
[[File:KiCad_pkg-list.png{{!}}left{{!}}middle{{!}}thumb]]
[[File:KiCad_pkg-list.png{{!}}left{{!}}middle{{!}}thumb]]
<div style="clear: both"></div>
<div style="clear: both"></div>
= Hints & Tips =
== Push & Shove ==
To move traces (& vias) around in PCBNew...
Select the trace (or just hover over it...) & hit "D". The trace (or via) will now follow your cursor around & do it's best to shove other stuff out of the way if it can.
If it shoves something you don't want moved, hit "Esc" to cancel. If you're happy with what it's done, left-click to finish.
(From [https://www.youtube.com/watch?v=wkL0WoKleYU Contextual Electronics])
= Random Thoughts =
== 3D ==
Michael701 2020/12/11 at 12:25
  KiCad. It would be nice to export the 3D view as a .stp file that could be used to place the module in  another project.
Michael701 2020/12/01 at 12:34
  nevermind. I found it under the PCB layout. Dummy me for looking in the 3D viewer module
So basically: In '''PCBNew''', select '''File / Export / STEP...'''
Unfortunately, any components using '''wrl''' 3D models in their footprint will fail to show up in the resulting file

Latest revision as of 17:16, 28 May 2023

(A little note: I use LMDE as my primary desktop OS. Instructions on this page should work for any Debian based Linux distro.  If you need Windows or Mac instructions, afraid I can't help for now...)

Proven on:
Logo Debian.png
11 (bullseye)


Logo LMDE.png
5 (Elsie)


Installing KiCad 6

The Debian repositories default to KiCad 5... This is dumb.

BUT! KiCad 6 is in the backports & available. So you just have to tell apt to install 6.

This part (in red) not required for LMDE:

"To be able to install versions from a official Debian Backport repository you need to extend your sources.list configuration if not yet happen. If you are running Debian Bullseye please create a file /etc/apt/sources.list.d/bullseye-backports.list if you don’t have an similar entry already."

TLDR:

  • sudo vi /etc/apt/sources.list.d/bullseye-backports.list

Then add in:

# /etc/apt/sources.list.d/bullseye-backports.list
deb http://deb.debian.org/debian bullseye-backports main contrib non-free

Then:

  • sudo apt update

(You'll see a whole bunch of warnings about packages being configured multiple times. This is harmless, but annoying.)

& now... The actual install!

For some reason, the good folks at KiCad think that installing their software without any of the supporting data is the way to go... Then they fail to make it obvious anywhere that you need to install the libraries & stuff. (Their instructions only give you the package itself.)

So...

  • sudo apt install -t bullseye-backports kicad kicad-doc-en kicad-libraries kicad-packages3d

Then, to verify you have everything you need & they're all the right version:

  • dpkg --list | grep kicad
KiCad pkg-list.png

Hints & Tips

Push & Shove

To move traces (& vias) around in PCBNew...

Select the trace (or just hover over it...) & hit "D". The trace (or via) will now follow your cursor around & do it's best to shove other stuff out of the way if it can.

If it shoves something you don't want moved, hit "Esc" to cancel. If you're happy with what it's done, left-click to finish.

(From Contextual Electronics)

Random Thoughts

3D

Michael701 2020/12/11 at 12:25
 KiCad. It would be nice to export the 3D view as a .stp file that could be used to place the module in  another project.
Michael701 2020/12/01 at 12:34
 nevermind. I found it under the PCB layout. Dummy me for looking in the 3D viewer module

So basically: In PCBNew, select File / Export / STEP...

Unfortunately, any components using wrl 3D models in their footprint will fail to show up in the resulting file