jean-pierre charras
a970acd0bc
Fix some issues related to new textboxes and python:
...
- Fix duplicate class names returned by GetClass().
- replace MTEXT name (in GetClass) by better name (FP_TEXT, FP_TEXTBOX...)
- Add missing Cast_to_PCB_TEXTBOX and Cast_to_FP_TEXTBOX
2022-02-03 13:55:37 +01:00
jean-pierre charras
1c8ba6dafc
fix python QA tests to run with latest changes in eda_angle.h
2022-01-18 13:49:50 +01:00
Seth Hillbrand
2d8707a3d0
QA: Remove call to obsoleted function
2022-01-08 19:40:33 -08:00
Marek Roszko
cc5003a919
Update python for the pad wxSize switch
2022-01-04 23:28:06 -05:00
jean-pierre charras
a09741597f
qa test: allows epsilon (1 unit) to compare 2 coordinates
...
It avoids false qa errors (false positive) when comparing coordinates after transform
2022-01-04 16:38:31 +01:00
Mark Roszko
0d64fdc5c7
Put back original expected segment data for unit test
2022-01-04 13:42:08 +00:00
qu1ck
356cddd474
Template for vector<VECTOR2I> in swig
2022-01-02 21:33:58 +00:00
Floris Lambrechts
f72f637a06
pcbnew: Add basic Python unit tests for CONNECTIVITY_DATA
2021-10-22 16:00:18 +00:00
Jon Evans
82f3df4086
Attempt to fix Python qa code after renames
2021-06-13 11:20:19 -04:00
qu1ck
cc6df515a1
Make ARCs accessible from python
2021-03-01 17:34:47 +00:00
Seth Hillbrand
824a942f55
Update Python test QA
...
We don't need to explicitly calculate the bounding box anymore as it is
lazily calculated when needed
2021-02-26 13:55:36 -08:00
qu1ck
5c3ee0443c
Make footprint properties accessible from python
...
Now that footprint properties inherit custom fields from schematic
they are very useful.
Setting custom properties from python will also be handy in plugins
that need to somehow mark their own objects.
2021-02-05 02:31:48 +00:00
qu1ck
b32c2a6c90
Refactor EDA_TEXT::TransformToSegmentList() to return a vector of points
...
This allows reading text object as it is rendered through python API.
2020-11-23 07:50:54 +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
d8cfe834f9
Rename FindModuleByReference to
...
FindFootprintByReference
2020-11-14 09:37:45 +00:00
Dominik Wernberger
a4650e7269
Rename GetModules to GetFootprints
2020-11-14 09:37:45 +00:00
qu1ck
e784743284
Fix pcbnew drawings api
...
Add some basic tests
2020-10-12 16:38:32 +00:00
qu1ck
3dbebda168
Fix GetCustomShapeAsPolygon and add a unit test
...
Fixes #5497
2020-09-04 20:30:54 -07:00
jean-pierre charras
a8e905a1e8
QA: fix a python test issue due to code changes in board.h
...
FindModule() does not exist anymore. Use FindModuleByReference() instead.
Fixes #3927
https://gitlab.com/kicad/code/kicad/issues/3927
2020-02-23 20:18:06 +01:00
Jeff Young
d080c928a7
Fix up python test for new comment signatures.
...
Fixes: lp:1793148
* https://bugs.launchpad.net/kicad/+bug/1793148
2019-08-23 00:56:08 +01:00
Seth Hillbrand
888c01d11b
pcbnew: Move tracks to std::deque
2019-06-01 09:53:23 -07:00
Thomas Pointhuber
8805706ccb
Fix incompatibilites between Python 2 and Python 3
2018-10-19 09:59:05 +02:00
jean-pierre charras
e624bbae8a
fix test_002_board_class.py according to changes (fixes) in bounding box track calculations
2018-06-12 17:21:03 +02:00
jean-pierre charras
ca548809da
Fix a qa test issue related to pad hit test.
2018-05-23 09:17:35 +02:00
jean-pierre charras
8806fc03dc
Fix PAD_SHAPE_T value in a old python script
2016-11-25 14:52:34 +01:00
Miguel Angel Ajo
1e2af7fed1
Add GetLayerID method to BOARD.
...
This method is added for scripting purposes, to be able to query
specific board layer names thru a board object.
If no board specific layer name is found, it will fallback to
standard layer names.
2015-02-15 14:31:47 +01:00
Miguel Angel Ajo
2ff623dcb9
Fix the pcb bouncing box test adding the track clearance.
2015-02-01 19:31:47 +01:00
Miguel Angel Ajo
26ca1ad03d
Fix py26 testing for OSX, assertIsNotNone unavailable for py26
2014-02-10 10:15:48 +01:00
Miguel Angel Ajo
bbcd2c61d6
BOARD saving test
2014-02-09 00:21:47 +01:00
Miguel Angel Ajo
8df3326df1
More BOARD unit tests
2014-02-08 01:02:29 +01:00
Miguel Angel Ajo
b39408b14a
Adding a first BOARD class tester, very basic
2014-02-04 22:16:32 +01:00
Miguel Angel Ajo
15bfac3f4e
Moved QA to root.
2014-02-02 22:50:45 +01:00