Commit Graph

223 Commits

Author SHA1 Message Date
jean-pierre charras 524ca442f3 Old python scripts: fix issues due to code change, and make them Python3/3 compatible 2021-04-27 11:55:56 +02:00
jean-pierre charras 60719b66bb Update some python scripts to be compatible with python2/python3 and changes in Kicad code. 2021-04-27 07:40:34 +02:00
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