Commit Graph

271 Commits

Author SHA1 Message Date
Mika Laitio d13fb85d7f python3 print fix to scripts examples
Print function needs to use brackets to be compatible
both with the python2 and python3.
Without this fix following error was generated
with flags
-DKICAD_SCRIPTING_MODULES=ON
-DKICAD_SCRIPTING_PYTHON3=ON

/usr/share/kicad/demos/python_scripts_examples/gen_gerber_and_drill_files_board.py", line 95
print 'plot %s' % pctl.GetPlotFileName()
^
SyntaxError: invalid syntax

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8303

Signed-off-by: Mika Laitio <lamikr@gmail.com>
2021-04-26 15:20:14 +00:00
jean-pierre charras 3f040185ce Update demos. 2021-04-26 09:06:25 +02:00
Wayne Stambaugh acec6ad7fc Spice simulator: add Ngspce model behavior mode settings.
ADDED: Ngspice simulator model behavior mode settings for PSpice, LTSpice,
       PSpice and LTSpice, and HSpice.

Fixes https://gitlab.com/kicad/code/kicad/issues/5810
2021-03-18 15:31:02 -04:00
jean-pierre charras 10c43ad879 Demo: add missing file 2021-03-08 12:39:24 +01:00
jean-pierre charras d69bc27160 Demos cleanup 2021-03-07 21:14:25 +01:00
jean-pierre charras d802b4a7af Update demos 2021-03-07 15:58:18 +01:00
jean-pierre charras 56f6e7cc17 demo: add missing footprint files. 2021-03-06 09:49:25 +01:00
jean-pierre charras 0596318d93 Demos update 2021-03-05 14:06:35 +01:00
Wayne Stambaugh 7a00e01b3e Eeschema: fix false positive library symbol changed ERC errors.
This fix required sorting all of the LIB_PART draw items to ensure
accurate comparison between the symbols stored in the schematic and the
original library symbols.  This has a noticeable impact on symbol library
load performance.  It may also cause significant changes the next time
the library is saved due to changes in the draw item sorting.  Hashing
may be a better solution here but this addressed the immediate problem.

A skeleton method SCH_SCREEN::SwapSymbolLinks() was added because there
is most likely an issue with orphaned symbols in the schematic library
symbol cache during undo/redo operations.  More testing is required to
verify this.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7263
2021-03-04 17:59:24 -05:00
jean-pierre charras 6b6d689232 French translation update. 2021-02-12 16:34:46 +01:00
jean-pierre charras baed5ed1cb Demo update 2021-02-12 11:30:13 +01:00
Wayne Stambaugh 5ecef204cd Coding policy fixes.
Using "this->" violates coding policy section 2.7.
2021-02-09 11:35:43 -05:00
jean-pierre charras 65ca3da22d Demo update 2021-02-06 11:33:13 +01:00
jean-pierre charras 38abacf1ed Demo update 2021-02-02 19:46:28 +01:00
jean-pierre charras 697a50e232 StickHub demo: Fix erc errors. 2021-01-31 20:17:56 +01:00
Jon Evans 330da52f0c StepReduce some models 2021-01-27 18:57:36 -05:00
Jon Evans 397277c008 Add StickHub demo board 2021-01-27 18:37:42 -05:00
jean-pierre charras 2d282b8b19 Demos update 2021-01-15 20:21:23 +01:00
jean-pierre charras 9d4e9c5d05 Demo update 2021-01-15 14:21:22 +01:00
Seth Hillbrand 44b2c907c6 Update env vars in demos 2021-01-01 16:20:35 +00:00
Dominik Wernberger 28991ddf58 Rename D_PAD to PAD 2020-11-14 09:37:45 +00:00
Dominik Wernberger 54878b04a5 Rename MODULE to FOOTPRINT 2020-11-14 09:37:45 +00:00
Dominik Wernberger a4650e7269 Rename GetModules to GetFootprints 2020-11-14 09:37:45 +00:00
jean-pierre charras a6997e6236 Update demo video 2020-11-09 17:33:20 +01:00
jean-pierre charras 701e404838 Update demos 2020-11-09 11:10:25 +01:00
jean-pierre charras 74dc7571d7 Update demos 2020-11-08 20:26:37 +01:00
jean-pierre charras 02334e0a62 Update demos 2020-11-08 16:37:07 +01:00
jean-pierre charras 04793924d7 Update demos 2020-11-08 09:11:05 +01:00
jean-pierre charras fd62c42ded Update demos 2020-10-25 18:50:20 +01:00
jean-pierre charras f6b4b66a86 Avoid include wx/wx.h in many files that do not actually use this include.
Including wx.h includes the full set of wxWidgets include files, that is not good,
and can create some conflicts with some Windows headers on msys2.
2020-10-18 18:21:34 +02:00
Seth Hillbrand 70fa76337f Update rectifier example
The rectifier example used an alternate order that refered to pin
numbers rather than pin names as KiCad expects

Fixes https://gitlab.com/kicad/code/kicad/issues/4678
2020-06-18 09:07:03 -07:00
Johannes Maibaum 48150389b1 Add diode model to rectifier demo (ngspice-32 fix)
Patch by Holger Vogt

Fixes https://gitlab.com/kicad/code/kicad/issues/4453
2020-06-15 12:40:26 +00:00
jean-pierre charras 235b24430b Update demo 2020-06-03 20:47:51 +02:00
jean-pierre charras 8e27cf3a04 Demo update 2020-04-15 18:14:05 +02:00
jean-pierre charras 515e57c02f demo update. 2020-04-15 15:31:40 +02:00
Wayne Stambaugh 2f682b6c5f Eeschema: implement s-expression schematic file format parser.
Fix a few issues with the s-expression schematic file formatter.
2020-04-06 22:47:42 +00:00
Jon Evans a13208c78b Revert accidental change to video.pro 2020-03-06 08:31:16 -05:00
Jon Evans 643c97a2f4 ADDED: Schematic plotting can use a dedicated color theme
ADDED: PDF, PS, and SVG plots can optionally include the page background color

Fixes #1830
2020-03-06 00:01:02 -05:00
Wayne Stambaugh cd768d83c3 Eeschema: fix sheet minimum size bug.
Convert minimum sheet width and height definitions from mils to internal
units.

Add comment to sheet minimum width and height definitions to indicate
sizes are in mils.
2020-01-22 12:26:53 -05:00
jean-pierre charras 2b3451ff6d demo update 2020-01-19 20:29:29 +01:00
jean-pierre charras 18d4112fce Demos update 2020-01-02 08:49:19 +01:00
jean-pierre charras 951c78c901 demo update 2019-12-23 17:08:37 +01:00
jean-pierre charras 71375f42ce Update demo 2019-11-16 19:53:46 +01:00
evanshultz 56949252b1 Add V and I source simulation demo project 2019-11-13 15:57:52 -05:00
jean-pierre charras 63e515339b Update demo 2019-09-25 07:33:18 +02:00
jean-pierre charras 529461ef5b Update ecc83 demo 2019-09-23 10:20:05 +02:00
jean-pierre charras 37f06eb2b7 Update demo 2019-09-19 18:05:29 +02:00
jean-pierre charras e7adb92930 Update demo 2019-09-17 18:54:06 +02:00
jean-pierre charras c6889b0065 Fixes in demo kit-dev-coldfire-xilinx_5213. 2019-09-16 15:28:21 +02:00
jean-pierre charras 0ecf5dea86 update demo kit-dev-coldfire-xilinx_5213 2019-09-16 13:43:09 +02:00
jean-pierre charras f204208667 Update demo kit-dev-coldfire-xilinx_5213 2019-09-12 18:40:03 +02:00
jean-pierre charras 72c4cfd4b6 Update demo "video" 2019-08-25 20:49:34 +02:00
jean-pierre charras 3cb6dc69f0 Update demos to use recent footprints. 2019-04-07 17:07:57 +02:00
jean-pierre charras 196ddec81c Update demos to use recent footprints. 2019-04-07 16:06:53 +02:00
Seth Hillbrand efeb87fdf9 Remove global library from pspice simulation 2019-03-17 08:00:57 -07:00
jean-pierre charras 2121142d3c Demo pic_programmer: remove unused schematic library from list. 2019-03-17 08:44:52 +01:00
jean-pierre charras 09831075a5 Update demo "video" to use V5 libraries 2018-10-25 17:14:47 +02:00
jean-pierre charras 3d28d0274b put a demo file to the right place 2018-08-01 16:44:18 +02:00
Seth Hillbrand eb2857deab Removing pspice from CMakeLists.txt 2018-06-29 09:27:25 -07:00
Maciej Suminski 42d05e21a7 Updated demos
- moved pspice to simulation
- imported netlists in layout files
2018-06-29 14:04:29 +02:00
jean-pierre charras 03fa645743 pic_programmer demo: fix a typo in a symbol name. 2018-06-18 08:12:17 +02:00
jean-pierre charras ae02039ed4 Update pic_programmer demo 2018-06-17 09:28:36 +02:00
jean-pierre charras 0d4d24ed22 Update demos. 2018-06-14 09:52:23 +02:00
jean-pierre charras 86d6ed5abf Demo update to used V5 libs 2018-05-14 09:33:45 +02:00
jean-pierre charras daa7abec70 Update demo to use V5 libs 2018-05-10 14:22:38 +02:00
jean-pierre charras 6866c0c8a5 Update demo to use V5 libs 2018-05-09 09:06:31 +02:00
jean-pierre charras 8a70acb821 Update demos to use V5 libraries. 2018-05-08 15:29:21 +02:00
jean-pierre charras 90951ac1d1 Update demo to use V5 libraries. 2018-05-06 11:53:08 +02:00
jean-pierre charras cb134fd065 Update demos 2018-04-09 19:37:17 +02:00
jean-pierre charras 602d9e1972 Fix a missing init in gerber plot script demo.
Fixes: lp:1759071
https://bugs.launchpad.net/kicad/+bug/1759071
2018-03-27 13:42:51 +02:00
jean-pierre charras 6371e341de demos update 2018-02-13 09:55:41 +01:00
jean-pierre charras b420845242 Update demos 2018-02-01 13:25:56 +01:00
jean-pierre charras 1b8ab1c23d Demos update 2018-01-19 11:01:41 +01:00
jean-pierre charras f95cceeff0 Update demos 2018-01-12 21:30:07 +01:00
jean-pierre charras bb694b97c2 Update demos 2018-01-11 14:21:58 +01:00
jean-pierre charras e926ec42f8 Update demo 2018-01-11 11:45:43 +01:00
jean-pierre charras 8bb03067c1 Update demos 2017-12-29 10:44:08 +01:00
jean-pierre charras 2b4a2ce67b update demo ecc83 2017-12-16 20:44:52 +01:00
jean-pierre charras 81357eb584 Update demo to use latest libraries. 2017-12-07 18:28:11 +01:00
jean-pierre charras 687444b973 update demo 2017-12-02 09:52:02 +01:00
jean-pierre charras 0d57bfe71f demo test_xil_95108 update 2017-11-28 21:02:28 +01:00
Aurabindo J 7aa6f9bd3f Fix symbol library table URI for video demo
Signed-off-by: Aurabindo J <mail@aurabindo.in>
2017-11-27 13:09:59 +01:00
jean-pierre charras 353e91a6f8 Update demos 2017-11-21 21:26:06 +01:00
jean-pierre charras a6554861dd Update demos to use sym-lib-table and recent libraries 2017-11-14 21:27:18 +01:00
jean-pierre charras c1879b269f Update demos to use sym-lib-table and recent libraries 2017-11-14 19:46:21 +01:00
jean-pierre charras 419c6e198e Update interf_u demo to use latest libraries and the new sym-lib-table 2017-11-14 17:16:23 +01:00
Maciej Suminski 93e7d52633 Restore ecc83 demo 2017-10-31 09:01:19 +01:00
Tomasz Włostowski f573a2e685 wip 2017-09-30 14:28:54 +02:00
jean-pierre charras e1fbe1cb3a update a python demo that wws not working with current pcbnew version. 2017-09-19 18:50:43 +02:00
jean-pierre charras a557838c61 Fix incorrect refresh of User Interface after running an action plugin, and add comments 2017-08-27 08:13:35 +02:00
Tomasz Włostowski 9ad886344b New connectivity algorithm. 2017-06-23 11:12:36 +02:00
jean-pierre charras 5045ac1b54 Update pspice demo 2017-05-29 18:11:17 +02:00
jean-pierre charras 13b2cb4d16 Demos: update full footprint names and net zones, to avoid warnings when updating a netlist 2017-04-19 14:17:50 +02:00
Jean-Samuel Reynaud 13395d34dd Action plugins: handle undo/redo feature when running an action plugin. 2017-02-06 08:39:32 +01:00
Jean-Samuel Reynaud 75b08e49cf Add 2 python action plugins in demos 2017-01-31 18:38:03 +01:00
jean-pierre charras 053dac45c1 complex_hierarchy: minor changes in texts (add info in page frame) 2017-01-15 08:32:43 +01:00
jean-pierre charras 9c49dea741 Update complex hierarchy demo to use current kicad libraries. 2017-01-14 18:27:04 +01:00
jean-pierre charras 430a09a5a0 sch legacy plugin: fix compatibility issues with old library 2.2 version 2016-11-20 15:19:06 +01:00
Wayne Stambaugh 5f2099f0d2 Add simulation demo folder to install target list. 2016-08-17 15:11:43 -04:00
jean-pierre charras cc2b3583cd Fix incorrect configs in simulation demos. 2016-08-13 16:46:06 +02:00