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
Salvador E. Tropea
b988bcb475
Adjusted KiCad 5 reference
2022-04-16 18:31:18 -03:00
Salvador E. Tropea
ffc32d6672
Added worksheet example with images.
2022-04-16 16:46:04 -03:00
Salvador E. Tropea
7ecb3f1914
Added KiCad 5 support to the worksheet code
...
- Filled polygons aren't working
- Added rectangle workaround (not working)
2022-04-16 16:44:52 -03:00
Salvador E. Tropea
eb1a57a10d
Added an option to select the kicad_wks for pcb_print
2022-04-16 15:20:02 -03:00
Salvador E. Tropea
cffd3d0b89
Worksheet: moved the draw code to each class
2022-04-16 15:09:37 -03:00
Salvador E. Tropea
4b341a7a92
Added internal plot of the worksheet to pcb_print
...
- Also renamed some options to make it simpler (sorry)
2022-04-16 15:09:19 -03:00
Salvador E. Tropea
9c2f8ccd58
Added an option to keep temporals to pcb_print
2022-04-14 11:18:20 -03:00
Salvador E. Tropea
daa19810d4
Separated the pcb_print page temporal files (for debug)
2022-04-14 11:12:22 -03:00
Salvador E. Tropea
dfcb837fbc
Added the extend of extended output example
2022-04-14 11:11:55 -03:00
Salvador E. Tropea
8c1d6e53c2
Now an output can extend another output that extends ...
...
- Even when the other outputs aren't yet configured
- Also added an error when the types doesn't match
Closes #184
2022-04-14 10:38:07 -03:00
Salvador E. Tropea
0e8e697d19
Fixed title not restored in print functions
...
Fixes #185
2022-04-14 09:59:25 -03:00
Salvador E. Tropea
320f35d6fb
Adde KiCad colors to the distribution package
2022-04-14 09:08:33 -03:00
Salvador E. Tropea
f7be522087
Fixed pad sizes destroyed by pcb_print
...
- KiCad PAD.GetSize returns a reference to the pad size, not a copy
of the current size!
2022-04-14 09:04:59 -03:00
Salvador E. Tropea
9d606fa53b
Added colored pads and vias to pcb_print
...
- The vias are more "realistic", we avoid showing holes on layers that
aren't drilled, but we mark the via. So you know were is.
2022-04-13 13:51:03 -03:00
Salvador E. Tropea
d84dec153d
Removed the moveto used in the SVG merge
...
- Not really needed for KiCad files
2022-04-12 15:57:28 -03:00
Salvador E. Tropea
460ddc6a59
Added holes color configuration to pcb_print
2022-04-12 15:53:34 -03:00
Salvador E. Tropea
b7b9b70ac3
Added PNG, EPS and PS outputs to pcb_print.
2022-04-12 15:43:53 -03:00
Salvador E. Tropea
a2526bf5bd
Fixed the pcb_print get_targets for SVGs (pages, not single)
2022-04-12 14:23:24 -03:00
Salvador E. Tropea
bdcd97361c
Changed donate button style to plastic
2022-04-12 14:06:33 -03:00
Salvador E. Tropea
a79d6b4ebe
Added Donate button (PayPal)
2022-04-12 14:05:08 -03:00
Salvador E. Tropea
9a90b522c5
Fixed the name of the layer used to print KiCad 6 frame
2022-04-12 09:00:06 -03:00
Salvador E. Tropea
1507300fe4
Added option to generate a better frame on pcb_print (KiCad 6)
...
- Also documented more details about pcb_print.
2022-04-11 19:02:26 -03:00
Salvador E. Tropea
267a38c32f
Documented the %X substitutions for SVG output in pcb_print
2022-04-11 17:37:03 -03:00
Salvador E. Tropea
4e659c3ddd
Added support for SVG to `pcb_print`
...
- And now is much faster because all the processing is done using
SVGs and we generate PDFs only during the last step.
2022-04-11 17:24:39 -03:00
Salvador E. Tropea
db3a6c05cc
Disabled Bandit, too slow.
2022-04-11 17:17:25 -03:00
Salvador E. Tropea
09cfa14896
Fixed problems when the project specified an empty wks (KiCad 5)
2022-04-11 14:50:17 -03:00
Salvador E. Tropea
5c2afef51e
Adapted KiCad 5 report reference
2022-04-11 14:49:38 -03:00
Salvador E. Tropea
510279a0a3
Added support for frame to `pcb_print` on KiCad 5
...
- This is tricky because plot API doesn't support it.
So we use `pcbnew_do` to generate an SVG and then we make a
vectorized PDF from it.
2022-04-11 12:40:39 -03:00
Salvador E. Tropea
a5c848c752
Added a color cache
2022-04-10 15:32:42 -03:00
Salvador E. Tropea
bfdc024a33
Added an option to sort the layer as KiCad to pcb_print
2022-04-10 15:26:35 -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
15b32c82d9
Adapted report_simple_1 to the new use of PDFs
2022-04-09 15:55:28 -03:00