Commit Graph

91 Commits

Author SHA1 Message Date
Salvador E. Tropea 1e63ec66c5 [Sub-PCBs][Test] Enabled KiCad 5 tests
- Fixed new drill coordinates in test
- Renamed some YAML files
2022-12-28 11:37:56 -03:00
Salvador E. Tropea 27ea3f1d73 [Tests][Fixed] Small details
- How we test if pcbnew is there
- Adapted test cases to the current outputs
2022-12-27 13:29:56 -03:00
Salvador E. Tropea 5ecbbc84fd [Tests] Added sub-PCB test for PCB Variant and PcbDraw 2022-12-22 10:15:21 -03:00
Salvador E. Tropea 5e3404949d [Stack-up][Fixed] Problems when using more than one dielectric
Fixes #328
2022-11-10 18:09:00 -03:00
Salvador E. Tropea 96f7b4ee5b [Tests][Fixed] Reference for test_print_pcb_refill_1 2022-11-05 15:47:35 -03:00
Salvador E. Tropea 40b2a5da68 [Tests] Removed KiCad 5.1.6 references 2022-11-05 14:45:46 -03:00
Salvador E. Tropea c3f426a1d5 [Diff][Fixed] Problems when missing file from repo
- When comparing to a repo point where the PCB/SCH didn't exist yet.
Closes #323
2022-11-05 14:37:19 -03:00
Salvador E. Tropea e733ba54c4 Adapted reference files to KiCad 6.0.8 2022-10-14 10:42:09 -03:00
Salvador E. Tropea 80b034120e [Tests] Adapted KiDiff rereference for KiCad 5 2022-10-14 10:33:28 -03:00
Salvador E. Tropea 25d9806b47 [Diff] Added option to compare only the first schematic page.
- So now the default is to compare all the schematic pages.
Closes #319
2022-10-14 10:25:37 -03:00
Salvador E. Tropea 5f6bfa0b62 [Tests] Adjusted the 3D render references 2022-09-13 12:45:45 -03:00
Salvador E. Tropea 42aa142a56 [Report] Added support for Eurocircuits drill adjust to fix small OARs.
Closes #227
2022-09-08 11:37:58 -03:00
Salvador E. Tropea 3684889060 [PCB Print] Changed the conversion strategy
- Now we can control the resolution
- Added option for this

Related to #259
2022-09-07 08:40:18 -03:00
Salvador E. Tropea cabf14ec07 [Diff][Fixed] Always comparing the PCB
- Added regression test

Fixes #273
2022-09-02 07:03:57 -03:00
Salvador E. Tropea d8d8552883 [Diff] Now the %i is diff_pcb for the PCB and diff_sch for the sch
Related to #265
2022-09-01 14:13:28 -03:00
Salvador E. Tropea 464b72e8f1 New output to compute differences between PCBs and SCHs.
Fixes INTI-CMNB/KiAuto#14
2022-08-25 13:02:02 -03:00
Salvador E. Tropea 83c7d10ba0 [Tests] Added regression test for KiCad 6 nested zones 2022-08-12 10:44:23 -03:00
Salvador E. Tropea 13e5485fe8 [Tests] Adapted the powe annotate reference
- Now the change is propagated to the lib symbol. This is OK, KiCad
  also changes the symbol lib values, they are just defaults.
2022-08-12 09:35:04 -03:00
Salvador E. Tropea b5fc7e8c55 [Report] Fixed converted file wasn't stored at `dir`
Closes #238
2022-07-25 11:40:24 -03:00
Salvador E. Tropea a3bf56c39a Adapted test SCH references
- Now we keep title block entries, even if they are " "
  This is how KiCad behaves
2022-07-21 13:46:27 -03:00
Salvador E. Tropea 97fbdef5c8 [Tests] Updated results after OAR fix. 2022-07-14 17:18:18 -03:00
Salvador E. Tropea 6242a772c2 KiCost specs encoding fixes
- Now we decode HTML encoded sequences
- Updated KiCost submodule to the one that fixes KitSpace encoding
- Updated the references (now properly encoded)
2022-06-29 08:08:42 -03:00
Salvador E. Tropea 486fabd321 Added merge and translate field tests for KiCost 2022-06-13 11:18:33 -03:00
Salvador E. Tropea a3811537b8 Fixed svg_pcb_print: page orientation for portrait. 2022-06-12 16:07:58 -03:00
Salvador E. Tropea 1b2616b19f Added simnple test for Specs (XLSX BoM) 2022-06-10 12:46:59 -03:00
Salvador E. Tropea 304428b2c4 Adapted some tests
- The title block of some test_v5 sheets was removed
- The SVG reference for test_v5 seems to be unstable
2022-06-10 10:07:45 -03:00
Salvador E. Tropea 2ccb61ee2b Added more KiCad SCH tests
- Qubic bezier
- Alternate pin
- Convert (DeMorgan)
- fields_autoplaced
- Bitmap scale
- Paper "user" & orientation
2022-06-10 09:33:15 -03:00
Salvador E. Tropea 7776e4cdaf Added simple SVG print test 2022-06-09 11:42:35 -03:00
Salvador E. Tropea bb6e962f3d Internal BoM: Added customizable extra info after the title
Closes #199
2022-05-20 19:08:20 -03:00
Salvador E. Tropea 23e632303d Fixed problems with KiCost using internal variants
- The XML didn't remove `variant` field properly (lack of lower)
- THe XML didn't support UTF-8
2022-05-18 15:59:38 -03:00
Salvador E. Tropea 9f037e569f Added global option `drill_size_increment`
- Now we can round the drill sizes
- Added a context for drill tools (adjusted and rounded)
- Added a context for oval holes

Related to #164
2022-04-21 10:30:24 -03:00
Salvador E. Tropea 372a387b00 Fixed the OAR computation in reports
- Must use the real drill size.

Related to #164
2022-04-20 20:06:29 -03:00
Salvador E. Tropea ff41012e84 Changes in how we compute the drill sizes in the report
- New global variable `extra_pth_drill` defines how much the drill will
  be enlarged for plated holes.
- Removed all *_1* report values.
- Added *_real* report values. They are the asjusted drill values.
- Now we compute Eurocircuits Drill Class using all the real drill
  sizes.
- Documented all global variables/options.
- Added command line option to list all global options.
- Adjusted the report templates and thei references.

Related to #164
2022-04-20 12:57:52 -03:00
Salvador E. Tropea b988bcb475 Adjusted KiCad 5 reference 2022-04-16 18:31:18 -03:00
Salvador E. Tropea 5c2afef51e Adapted KiCad 5 report reference 2022-04-11 14:49:38 -03:00
Salvador E. Tropea 1ae3389be9 Fixed missing \n at the end of tests/reference/5_1_6/light_control-report.txt 2022-04-09 16:26:31 -03:00
Salvador E. Tropea ea1460e6b9 Added black drill holes to the `pcb_print` output
- Disabled the frame ref for KiCad 5. Doesn't work.
- Changed reports to use these PDFs. They are vector graphics.
2022-04-08 19:33:21 -03:00
Salvador E. Tropea b48a9e5ab0 Fixed (KiCad 6) traces not visible in 3D render
Fixes #177
2022-04-07 15:44:22 -03:00
Salvador E. Tropea 9e1f645c31 Fixed problems when using page layout files with relative paths.
Fixes #174
2022-04-04 18:02:31 -03:00
Salvador E. Tropea bb0f86ae61 Fixed KiCad 6 text variables not expanded in `render_3d` output
- We must copy the project file to the temporal dir
Fixes #173
2022-04-02 12:14:56 -03:00
Salvador E. Tropea 3c13ae1ccb Added KiCad 6 color themes to PDF/SVG PCB Print 2022-03-28 15:37:52 -03:00
Salvador E. Tropea 637a6917c0 Fixed KiCad 6 problems with empty title block items
- The saved SCH wasn't usable if company, rev, title, etc.
  were absent in the original file.
2022-03-26 12:33:08 -03:00
Salvador E. Tropea 688d637f6c Added regression test for #164 2022-03-17 18:40:25 -03:00
Salvador E. Tropea e4eb2c14cd Adjusted the report tests for KiCad 5.
- Some unknown inconsistency in the API.
2022-03-17 18:27:00 -03:00
Salvador E. Tropea cb47cf3042 New output to export PCB in GENCAD format.
Closes #159
2022-03-08 15:55:34 -03:00
Salvador E. Tropea f78b0c1f78 Adjusted references for KiCad 6.0.2. 2022-03-08 12:39:05 -03:00
Salvador E. Tropea aeaabaf062 Added report contexts to expand individual layers 2022-03-03 14:27:06 -03:00
Salvador E. Tropea 562e36d6f5 Added output to print PCB layers in SVG format
- Also added support for them in the reports
- Changed the full report to use them
2022-03-03 13:13:46 -03:00
Salvador E. Tropea 49962cafb8 Added some basic layer and schematic inclusion in reports.
- Related to #93
2022-03-02 18:17:42 -03:00
Salvador E. Tropea 27c987217c New preflight to annotate power components
Closes #76
2022-02-26 13:21:40 -03:00