Files
kicad-action-tools/README.md
2017-04-14 16:04:57 +02:00

2.0 KiB

kicad-action-plugins

kicad action plugin tools

  • action_menu_annular_check.py

A script to check for annular ring violations
for PTH, NPTH pads and vias

  • action_menu_pcb2dxf

A script to export technical layers of kicad PCB to DXF
DXF generated file has single line draw as it should be for mechanical interchange (this option is missing in pcbnew plot)


action_menu_annular_check.py

A script to check for annular ring violations
for PTH, NPTH pads and vias

requirements: KiCAD pcbnew > 4.0 built with KICAD_SCRIPTING_ACTION_MENU option activated
release "1.5.3"

'action_menu_annular_check.py' checking PCB for Annular Ring in PTH, NPTH and Vias
(SMD, Connector and NPTH are skipped)
default Annular Ring >= 0.15 both for TH Pads and Vias
to change values modify:

AR_SET = 0.150   #minimum annular accepted for pads  
AR_SET_V = 0.150  #minimum annular accepted for vias  
DRL_EXTRA = 0.100 #extra drill margin size for production  

Launch the Annular Check script in pcbnew from Tools menu:
Annular Check

todo (annular_check)

  • add colors to output list

action_menu_pcb2dxf

kicadpcb2dxf
dxf exporter for mechanical layers of a kicad_pcb board

  • "Dwgs", "Cmts", "Edge", "Eco1", "Eco2", "F.Fab", "B.Fab", "F.CrtYd", "B.CrtYd"
  • the dxf generated has single line draw as it should be for mechanical interchange (this option is missing in pcbnew plot)

creates DXF file of technical layers of the selected kicad pcb board

(this is a part of kicad StepUp tools; please refer to kicad StepUp tools for the full licence)

kicadpcb2dxf: Copyright (c) 2015 Maurice easyw dxf_parser="r12writer from ezdxf 0.7.6": Copyright (C) 2016, Manfred Moitzi with MIT License

done:

  • added line, circle, arc primitives
  • added footprint support
  • fixed negative arc case
  • added text support (mirror & alignement not supported)
  • added multiline text
  • add quote support