simulation: Set current directory to project before run custom simulator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm using ngpsice, and use to run it from the netlist generator with specified command, and the "Run" button. However, I found that the ngspice tool do not understand windows system absolute file path that automatically send by KiCad. So I found my work around is that start KiCad from the current project folder, so that the eeschema will start the ngpsice from current project path, and I can pass it just only the netlist filename (relative path) to have it work everytime.
So it would be nice, if the "Run" button from netlist generation automatically adjust current folder to project and pass relative path of generated netlist file to ngspice/any sim. before run would be nice.
Application: kicad
Version: (5.0.0), release build
Libraries:
wxWidgets 3.0.3
libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,
Boost: 1.60.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.54.1
Compiler: GCC 7.1.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: eeschema ngspice |
tags: | added: export |
What is the spice commandline you use?