Salvador E. Tropea
e54d7a6a1e
Moved the text vars test to ibom_text_vars.kibot.yaml
...
- To avoiud testing interference
Related to #161
2022-04-23 15:28:28 -03:00
Salvador E. Tropea
a5df9baf80
Also added `date` example to variables test
...
Related to #161
2022-04-23 14:51:32 -03:00
Salvador E. Tropea
8bed2595ff
Added small naive test to check if iBoM can get text variables
...
Related to #161
2022-04-23 14:44:00 -03:00
Salvador E. Tropea
f4638fdc66
Added background image to pcb_print
...
- Enables the use of watermarks
2022-04-23 08:48:32 -03:00
Salvador E. Tropea
0554742e86
Moved the KiCad 5 SVG scale constant to misc.py
2022-04-23 07:54:13 -03:00
Salvador E. Tropea
857b8b974e
Added pcb_print options to control the background
2022-04-23 07:46:04 -03:00
Salvador E. Tropea
caad4e346e
`pcb_print` added KiCad 5 adjust for solder mask coordinates
...
- Also removed unused code
2022-04-22 15:05:57 -03:00
Salvador E. Tropea
bca090b685
Added `realistic_solder_mask` to `pcb_print`
...
- Prints the solder mask in a human understandable way
2022-04-22 14:05:41 -03:00
Salvador E. Tropea
d724c8f4f1
Added Eurocircuits pages related to their class
2022-04-22 14:05:11 -03:00
Salvador E. Tropea
e668d7f16e
`pcb_print` removed debug print
2022-04-22 09:08:22 -03:00
Salvador E. Tropea
153a1a8072
`pcb_print` fixed problems when not plotting the frame
2022-04-22 09:07:36 -03:00
Salvador E. Tropea
48070c2e5a
Made the 3D models selection more robuts
...
- Now we reject "slots" that aren't numbers
- Now we tollerate "empty slots"
2022-04-21 16:13:59 -03:00
Salvador E. Tropea
58dc329b31
Added a report option to indicate our Eurocircuits target
...
- If not met we show a warning explaining the violation
Related to #164
2022-04-21 15:59:46 -03:00
Salvador E. Tropea
7ac654523d
Added support for KiCad 6 pin alternates
...
- Another undocumented feature
Fixes #193
2022-04-21 15:09:33 -03:00
Salvador E. Tropea
10b67f4824
Fixed problems with compress.move_files
...
- When trying to remove directories
Fixes #192
2022-04-21 14:21:00 -03:00
Salvador E. Tropea
ac391182a8
Fixed KiBoM mounting hole regex
...
Related to SchrodingersGat/KiBoM#169
2022-04-21 11:09:35 -03:00
Salvador E. Tropea
eca4f51c91
Updated README with new option
2022-04-21 11:09:06 -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
fee5bce881
Added warnings for ridiculous OAR values on pads
...
Related to #164
2022-04-20 20:38:14 -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
ebf529fa0b
Made the 3D model selection more versatile
...
- Now you can choose between using the variant name or the variant
specific mechanism.
- Works for all variants and both mechanism are simple.
2022-04-20 19:42:51 -03:00
Salvador E. Tropea
de469577d1
Removed value argument in internal KiBoM variant code
...
- This is handled by a filter
2022-04-20 19:05:06 -03:00
Salvador E. Tropea
0fce90b8d2
Fixed typo in out_report
2022-04-20 18:58:12 -03:00
Salvador E. Tropea
c17683317c
Fixed typos in out_report
...
Related to #164
2022-04-20 13:49:48 -03:00
Salvador E. Tropea
5d9b047d81
Added an option to remove the files we compressed.
...
Closes #192
2022-04-20 13:43:41 -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
e00841c921
Added two special syntaxis to the 3D model variants
...
- %_kicost.TEXT:SLOTS% matches using the KiCost variant regex
- %_default_:SLOTS% matches if no other text matched
Related to #191
2022-04-20 10:39:19 -03:00
Salvador E. Tropea
96201e7f03
Avoid retrying when KiAuto reports a KiCad crash
...
- It will be implemented in KiAuto 1.6.11
2022-04-20 10:38:19 -03:00
Salvador E. Tropea
417257a048
Fixed submenu links (3D model variants)
2022-04-19 18:53:35 -03:00
Salvador E. Tropea
f461c55a9a
Changed the order of the images (3D model variants)
2022-04-19 18:51:51 -03:00
Salvador E. Tropea
1ae5473a2e
Added the images for the 3D model variants example
2022-04-19 18:50:05 -03:00
Salvador E. Tropea
bf73c11821
Fixed problems when using %VARIANT:% in the 3D models variants
...
Fixes #191
2022-04-19 18:44:52 -03:00
Salvador E. Tropea
97656ef1fc
Documented the 3D model variants
...
Closes #190
2022-04-19 18:31:59 -03:00
Salvador E. Tropea
a064cbf6c2
Migrated the 3D model variants example to KiCad 6
...
- Also made it simpler and added a default variant
2022-04-19 18:28:41 -03:00
Salvador E. Tropea
b226e243b7
Added 3D model change example using variants
2022-04-19 15:32:46 -03:00
Salvador E. Tropea
5a87249ce3
Added example of DRC warning filter
2022-04-19 15:30:31 -03:00
Salvador E. Tropea
5c9dbc4072
Varius `pcb_print` details
...
- Added option `force_edge_cuts` so we get them on all pages.
- Now `layers` can be a list of strings, or just an string.
- Added default scaling for all pages.
- Fixed: tracks removed after plotting another Cu layer.
- Fixed: custom pads plotted as special vias.
- Fixed: frame reference plotted mirrored on mirrored pages.
2022-04-18 19:08:12 -03:00
Salvador E. Tropea
b6404cf940
Merge branch 'ct2irw-master'
2022-04-18 13:51:26 -03:00
Salvador E. Tropea
80e963c90e
Changed Digi-Key server from Portugal to US
2022-04-18 13:50:30 -03:00
Salvador E. Tropea
9e9a53a664
Merge branch 'master' of https://github.com/ct2irw/KiBot into ct2irw-master
2022-04-18 13:49:56 -03:00
Salvador E. Tropea
36987cfcec
Fixed kicad2step not loading 3D models (bizarre case)
...
- If we saved the PCB to /tmp and then we reverted the changes to
use the PCB the KIPRJMOD environment var pointed to the temporal.
- KiCad defines it during Save and Python becomes unsync, so we
can't even notice it!
Fixes #186
2022-04-18 13:18:32 -03:00
Salvador E. Tropea
e701e69a53
Added workaround mechanism for KiCad 5 fill polygon (pcb_print)
2022-04-18 12:04:49 -03:00
Salvador E. Tropea
b0edede58e
Added support for `monochrome` `pcb_print` for wks images
2022-04-18 09:24:08 -03:00
Salvador E. Tropea
8dab92cbd7
Added schematic with DeMorgan conversion
2022-04-18 09:23:38 -03:00
Salvador E. Tropea
9207140c6d
Added support for undocumented "convert" schematic option
...
- KiCad 6
- Used for DeMorgan convert
Fixes #188
2022-04-17 09:50:43 -03:00
Salvador E. Tropea
f2f54d21a8
Made more clear when the plotter can plot the fram ref
2022-04-16 19:48:45 -03:00
Salvador E. Tropea
cdb6d393ac
Added more recommendations to use `pcb_print`
...
- Can replace: pdf, ps, svg, pdf_pcb_print and svg_pcb_print
2022-04-16 19:35:35 -03:00
Salvador E. Tropea
0223cd9f85
Made more clear the pcb_print attributions
2022-04-16 19:32:05 -03:00
Salvador E. Tropea
1f01c147d8
Catched WksError and SchError during WKS load.
...
- Now informed with more detail
2022-04-16 19:26:03 -03:00
Salvador E. Tropea
df4e60136e
Modified pdf_unite to use PyPDF2 by default
...
- The user can still choose to use pdfunite from poppler-utils
2022-04-16 18:46:39 -03:00