kirberich / gerber_to_scad

Simple python script for converting gerber files into a 3d printable solder stencil scad file
MIT License
89 stars 29 forks source link

does this support gerber from KiCAD? I don't see any .gko file #21

Open Utopiah opened 7 months ago

Utopiah commented 7 months ago

Hi, neat project, wondering if I can use it with KiCAD though. I exported my project and get :

kicad-like-a-pro-3rd-LED-torch-B_Cu.gbl kicad-like-a-pro-3rd-LED-torch-B_Mask.gbs kicad-like-a-pro-3rd-LED-torch-B_Paste.gbp kicad-like-a-pro-3rd-LED-torch-B_Silkscreen.gbo kicad-like-a-pro-3rd-LED-torch-Edge_Cuts.gm1 kicad-like-a-pro-3rd-LED-torch-F_Cu.gtl kicad-like-a-pro-3rd-LED-torch-F_Mask.gts kicad-like-a-pro-3rd-LED-torch-F_Paste.gtp kicad-like-a-pro-3rd-LED-torch-F_Silkscreen.gto kicad-like-a-pro-3rd-LED-torch-job.gbrjob kicad-like-a-pro-3rd-LED-torch-NPTH.drl kicad-like-a-pro-3rd-LED-torch-PTH.drl

so wondering if something could replace the .gko file in the example.

kirberich commented 7 months ago

Hi! Yeah the app does support kicad (as much as it supports anything, mileage varies greatly between projects)

Kicad seems to use different file extensions sometimes or maybe it changed between versions, but the important thing is to use the outline file and the paste file - in your example I believe it'd be kicad-like-a-pro-3rd-LED-torch-Edge_Cuts.gm1 and F_Paste / B_Paste