Export SVG with outlines of THT pad holes #835
Replies: 2 comments 1 reply
|
If color is what really encodes the cut you can try this: kibot:
version: 1
outputs:
- name: 'print_front'
comment: "Red holes"
type: pcb_print
options:
format: 'SVG'
scaling: 2
colored_vias: false
colored_pads: false
plot_sheet_reference: false
add_background: true
pages:
- layers:
- layer: F.Cu
color: '#FFFFFFFF'
- layer: Edge.Cuts
color: "#FF0000"
page_id: F_Cu_color
colored_holes: true
holes_color: '#FF0000'Using the light_control example I get: I scaled it to 2 just to make it bigger, I guess you won't need it. |
|
Thank you for taking time on my problem and for this suggestion. Your suggestion helps a lot but there are still a lot of post processing: In the SVG produced by your script, the circles have red fill, but no stroke. The laser software requires the opposite: red stroke (the stroke width doesn't matter) and no fill. Another workaround I've tried is to modify the relevant footprint libraries, add, in each concerned footprint, a dedicated layer that duplicates the hole dimensions, then export that single layer in red. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I can't find a way to export a simple SVG that includes outlines for the THT pad holes.
The goal is to prepare files for a K40 laser engraver, which requires specific colors assigned to different tasks (e.g., blue for engraving, red for cutting).
I'm able to output individual layers for engraving (e.g., silkscreen in blue for engraving)
While
edge.cutslayer exports cleanly for cutting, I'm unable to include THT holes outlines.The only workaround I've found is using PCB Print output with a copper layer.
But this generates a very complex SVG (with solder masks and redundant objects), requiring manual cleanup in Inkscape.
Is there a simpler method to export THT hole outlines as SVG paths?
Thank you for your time and help!
David
KiBot 1.8.3 - Copyright 2018-2024, Salvador E. Tropea/INTI/John Beard - License: AGPL v3
KiCad Version: 8.0.9-8.0.9-0~ubuntu22.04.1, release build
All reactions