Giter Club home page Giter Club logo

kicad-action-tools's Introduction

kicad-action-tools

A suite of kicad action plugin tools kicad-action-tools

  • Annular Ring Checker

Check your kicad_pcb for annular ring violations:
PTH Plated Trough Hole, NPTH Non Plated Trough Hole Pads and Vias

  • Snap Selected Footprint(s) to Grid

Tool to move the selected footprint module(s) to the Grid.
The Modules can be easily aligned to GridOrigin or to Auxiliary Origin.

  • Fabrication Footprint Position

Tool for the creation of the necessary files for the production of the printed circuit board.
Generate Position Files for SMD, THD, Virtual and ALL components, referred to Auxiliary Origin.

  • Move Selected Drawings to chosen Layer

Tool to Move Selected Drawing(s) to the chosen new Layer.

  • Export pcb technical layers to DXF

Tool to export technical layers of kicad PCB to DXF.
The DXF generated file has single line draw and different layers for each pcb technical layer.

  • Checking 3D missing models

Tool to check the 3D missing models with the following extensions '.stp', '.step', '.stpZ'


Annular Ring Checker

Check your kicad_pcb for annular ring violations:
PTH Plated Trough Hole, NPTH Non Plated Trough Hole Pads and Vias

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


Export pcb technical layers to DXF

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

Move Selected Drawings to chosen Layer

Tool to Move Selected Drawing(s) to chosen new Layer

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


Checking 3D missing models

Check 3D missing models Tool to check the 3D missing models with the following extensions '.stp', '.step', '.stpZ'

kicad-action-tools's People

Contributors

bouni avatar easyw avatar gibbz00 avatar qvarker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kicad-action-tools's Issues

No attribute 'm_AuxOrigin'

When pushing Apply om the Generating Fab Positions dialog I get the following error message:

image

I'm using version: (6.0.0-rc1-135-gd60474d3ef), release build
Platform: Windows 10 (build 19042), 64-bit edition, 64 bit, Little endian, wxMSW
Build Date: Nov 24 2021 12:00:44

[Snap to Grid] Exception in KiCAD 6.99

When I run the plugin in KiCAD 6.99 I get this error:

image

this because wxPoint is used and KiCAD 6.99 expects the usage of VECTOR2I instead.

I'll submit a PR that fixes the issue and still allows to work with old and new KiCAD versions.

Moving Dimension objects to another layer error

In KiCad 8.0, when trying to move multiple dimension objects to another layer, this creates an error.

Traceback (most recent call last):

  File "/home/user/.local/share/kicad/8.0/3rdparty/plugins/com_github_easyw_kicad-action-tools/MoveToLayer/move_to_layer.py", line 148, in Run
    aParameters = Move2Layer_Dlg(pcbnew_window)

  File "/home/user/.local/share/kicad/8.0/3rdparty/plugins/com_github_easyw_kicad-action-tools/MoveToLayer/move_to_layer.py", line 84, in __init__
    Move2LayerDlg.Move2LayerDlg.__init__(self, parent)

  File "/home/user/.local/share/kicad/8.0/3rdparty/plugins/com_github_easyw_kicad-action-tools/MoveToLayer/Move2LayerDlg.py", line 20, in __init__
    wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Move to Layer", pos = wx.DefaultPosition, size = wx.Size( 568,263 ), style = wx.CAPTION|wx.CLOSE_BOX|wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER )

wx._core.PyNoAppError: The wx.App object must be created first!

[Snap to grid] - error with 7.0

Snap to grid gives an error with Kicad 7.0:
bug
PCB action tools V1.0.4
Application: KiCad x64 on x64

Version: (7.0.0), release build

Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
libcurl/7.83.1-DEV Schannel zlib/1.2.13

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
Date: Feb 12 2023 01:35:19
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.83.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI

Build settings:
KICAD_SPICE=ON

Move selected drawing issue

Hello, i try to move an edge cuts outline to an aux layer, like user drawing or User 1, but i receive this error:
Screenshot 2023-11-19 114659

Is there a way to solve it?

FabricationPositions SSA export

Hi guys,

I have a Hanwha (Samsung) PNP machine and the native format (.ssa) is a little different from the one in this plugin.
The header looks like this:

`[VERSION]

[PCB]
Unit System = MILIMETER
Coordinate = LOWER LEFT
Rotation = 0
Placement Origin = , -169.959, 112.268
Fiducial = CIRCLE, 3.890, 5.378, 164.010, -108.940
Accept Mark = NONE, 0, 0
Bad Mark = NONE, 0, 0

[BOARD]
Board Name = MQCXPI Jack_module_3.5_Alex PANEL
PCB Size = 171.400, 120.000, 3.000
Array = 1, 1, LOWER RIGHT
Array Offset = 0.000, 0.000

[PLACEMENTS]
"J1" 18.882 -2.656 0.000 180.000 NONE 0 0 0 0 1610 0 "Jack_3.5mm_PJ320D" "" "AudioJack4"
"J1" 5.106 -9.806 0.000 0.000 NONE 0 0 0 0 1610 0 "Jack_3.5mm_PJ320D" "" "AudioJack4"
"J1" 47.840 -2.656 0.000 180.000 NONE 0 0 0 0 1610 0 "Jack_3.5mm_PJ320D" "" "AudioJack4"
"J1" 76.798 -2.656 0.000 180.000 NONE 0 0 0 0 1610 0 "Jack_3.5mm_PJ320D" "" "AudioJack4"
"J1" 105.756 -2.656 0.000 180.000 NONE 0 0 0 0 1610 0 "Jack_3.5mm_PJ320D" "" "AudioJack4"`

It would need some parameters:

  • select type of format (txt or ssa)
  • for ssa: a list with checkboxes that shows every component with reference starting with FID. The user must check two or three.

Would you be available to implement this? I am willing to pay to have this feature.

Export Drill Layer?

Would it be possible to export the drill layer? PCBNew can already plot a drill map file. That's fine, except that the actual drill holes are replaced with symbols for easy identification. (I just spent a couple of hours replacing those symbols with circles in a drawing so that I could verify a 3D model.) Would it be possible to generate the drawing with the actual holes automatically, (with an option to include the contents of the edge cuts layer)?

Kicad process doesn't exit cleanly after using the plugins

In wxWidgets the main event loop doesn't end unless all top level windows are destroyed. Your plugin doesn't destroy it's dialog window properly and it prevents kicad.exe from exiting.

Always call dialog.Destroy, after Show() or ShowModal(), best to do it in a finally block.

Also no need to do both Show() and ShowModal(), just ShowModal() has same effect.

[KiCad 7.99] Unable to move selected drawings to layer

I am not sure on which nightly this stopped working but on today's (2023-04-20) build I am no longer able to move drawings to another layer.

Traceback (most recent call last):
File
C:\...\Libraries\_Imported\plugins\com_github_easyw_kicad-action-tools\MoveToLayer\move_to_layer.py
line 157, in Run
LayerStdName = pcbnew.BOARD_GetStandardLayerName(Layerlndex)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module ' pcbnew' has no attribute 'BOARD_GetStandardLayerName'
Application: KiCad PCB Editor x64 on x64

Version: 7.99.0-858-g3dc308464c, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 6.0.0
	FontConfig 2.14.1
	libcurl/7.88.1-DEV Schannel zlib/1.2.13

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Apr 20 2023 07:19:11
	wxWidgets: 3.2.2 (wchar_t,wx containers)
	Boost: 1.81.0
	OCC: 7.6.3
	Curl: 7.88.1-DEV
	ngspice: 40
	Compiler: Visual C++ 1934 without C++ ABI

Build settings:

Any assistance would be appreciated.

Missing 3D Models: script crashes

by selecting the footprint not havign the 3D Model or by selecting nothing, each time i push that button I get:

image
image

KiCAD Info:
`Application: KiCad PCB Editor x64 on x64

Version: 7.0.1, release build

Libraries:
wxWidgets 3.2.2
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
libcurl/7.83.1-DEV Schannel zlib/1.2.13

Platform: Windows 11 (build 22000), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
Date: Mar 11 2023 03:41:46
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.83.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI

Build settings:
KICAD_SPICE=ON
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.