higregsmith / kicommand Goto Github PK
View Code? Open in Web Editor NEWA simple command line interface to KiCad.
A simple command line interface to KiCad.
This error appear after importing the plugin (actual git master clone version). The command line appear as you could see in the following image and it's impossibile to use (no command could be executed).
Application: KiCad
Version: 5.1.5+dfsg1-2, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.67.0 OpenSSL/1.1.1d zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.40.0 librtmp/2.3
Platform: Linux 5.4.0-4-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.67.0
OpenCASCADE Technology: 7.3.0
Curl: 7.66.0
Compiler: GCC 9.2.1 with C++ ABI 1013
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=OFF
KICAD_USE_OCC=ON
KICAD_SPICE=ON
I've tried 'import kicommand' in the script window but I'm having problems with not finding 'CPolyLine' and kicommand doesn't import. This is what I get:
import kicommand
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\KiCad\share\kicad\scripting\plugins/kicommand/init.py", line 2, in
from .kicommand import *
File "C:\Program Files\KiCad\share\kicad\scripting\plugins/kicommand/kicommand.py", line 1543, in
def newzone(points, netname, layer, CPolyLine=pcbnew.CPolyLine.NO_HATCH, priority=0):
AttributeError: 'module' object has no attribute 'CPolyLine'
I want to put text into a Cu layer. How do I get this to work?
To get the plugin to run I had to place the folder in both '/Applications/Kicad/kicad.app/Contents/SharedSupport/scripting/plugins' and a folder that I created in '/Users/username/kicad'.
Hi,
i followed the procedure to install and use kicommand but i do not see any kicommand menu in tools -> extern plugin
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.