kicad action plugin tools
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots
LICENSE
README.md
action_menu_annular_check.py
action_menu_get3D_models.py
action_menu_move_to_layer.py
action_menu_move_to_layer.py.bak added button Mar 27, 2018
action_menu_pcb2dxf.py
action_menu_positions.py

README.md

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_move_to_layer

A script to Move Selected Drawing(s) to chosen new Layer (available only in GAL)

  • action_positions

A script to Generate Position Files for SMD, THD, Virtual, ALL


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

kicad pcb2dxf

(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

todo (kicadpcb2dxf)

  • tbd

action_menu_move_to_layer

A script to Move Selected Drawing(s) to chosen new Layer (available only in GAL)

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

A script to Move Selected Drawing(s) to chosen new Layer (available only in GAL) 
How to use:
- move to GAL
- select some draw objects
- call the plugin
- select the new layer
- selected draw objects will be moved to new layer

Launch the 'Move Selected drawings to chosen Layer' script in pcbnew from Tools menu
Move Selected drawings to chosen Layer

  • action_positions

A script to Generate Position Files for SMD, THD, Virtual, ALL

The script will generate Fabrication POS files for:

  • SMD
  • THD
  • VIRTUAL
  • ALL