Giter Club home page Giter Club logo

kicad-nikfemm's Introduction

photo_2024-02-18_00-19-53

what is this?

  • This kicad plugin uses nikfemm simulator to plot power density and voltage on PCB geometries.
  • Please note that this is just a demo and I tested it on linux systems only (but you could manage to make it work on windows quite easily).
  • Also you'll need to install all the dependencies by yourself.
  • P.S. nikfemm can simulate infinite many layers but for simplicity this plugin simulates two layers with hardcoded thickness of 35um

installation

to install the nikfemm python module:

  • git clone https://github.com/nikisalli/nikfemm.git
  • cd nikfemm/python
  • pip install . (you'll need cmake, make and a compiler installed on your system to build the wheel)

to install the dependencies for the plugin

  • git clone https://github.com/nikisalli/Kicad-nikfemm
  • cd Kicad-nikfemm
  • pip install -r requirements.txt

to install the plugin:

  • go to the kicad plugin manager
  • click the install from file button
  • select the zip in the main folder of this repo

acknowledgements

nice pictures

asd.mp4
lol.mp4

photo_2024-02-17_17-42-46

photo_2024-02-17_17-42-50

photo_2024-02-17_17-42-53

photo_2024-02-17_17-42-55

photo_2024-02-17_17-42-42

kicad-nikfemm's People

Contributors

nikisalli avatar

Stargazers

Seb Holzapfel avatar  avatar Agis Zisimatos avatar Eduardo Eller Behr avatar

Watchers

Albin Hedman avatar  avatar Fisheiyy avatar

Forkers

usbalbin

kicad-nikfemm's Issues

BOARD_ITEM_CONTAINER object has no attribute 'GetReference'

Steps to repeat

  • When I click the icon 'FEM', error dialog (shown as attached) pop up and cannot continue.
    Workspace 1_001

  • I tried several PCB files, same error occurred.

  • My KiCad version is shown as follows:

Application: KiCad x86_64 on x86_64

Version: 8.0.1-8.0.1-0~ubuntu20.04.1, release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.10.1
	HarfBuzz 2.6.4
	FontConfig 2.13.1
	libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu, x11

Build Info:
	Date: Mar 14 2024 15:11:44
	wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.71.0
	OCC: 7.6.3
	Curl: 7.68.0
	ngspice: 42
	Compiler: GCC 9.4.0 with C++ ABI 1013

Build settings:

Kicad crashes after clicking start simulation

Hi, I used the same settings as you provided in the example video lol.mp4
Kicad is crashing after initiating the start simulation.
Should the minimum and maximum voltages in the net should always be set? for example for a 12V net, should we select a component for 12V and 0V?

Error while running plugin in KiCAD 8

Hey!! I'm trying to run the plugin but i get this error:

Traceback (most recent call last):
  File "/home/azisi/.local/share/kicad/8.0/3rdparty/plugins/com_github_nikisalli_nikfemm/__init__.py", line 869, in Run
    ItemList = Get_PCB_Elements(board, connect)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/azisi/.local/share/kicad/8.0/3rdparty/plugins/com_github_nikisalli_nikfemm/__init__.py", line 225, in Get_PCB_Elements
    temp["FootprintReference"] = Pad.GetParent().GetReference()
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'BOARD_ITEM_CONTAINER' object has no attribute 'GetReference'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.