weirdgyn / viastitching

ViaStitching action-plugin for KiCAD
MIT License
60 stars 5 forks source link

"No vias implanted" or Error #23

Open T-Wilko opened 1 year ago

T-Wilko commented 1 year ago

Trying to use this plugin, but not able to get it work.

When pressing 'Ok' button with Randomize ticked, I get the following traceback:

Traceback (most recent call last): File "C:\Users/tomjo/Documents/KiCad/7.0/scripting\plugins\viastitching-master\viastitching_dialog.py", line 456, in onProcessAction self.FillupArea() File "C:\Users/*my_name*/Documents/KiCad/7.0/scripting\plugins\viastitching-master\viastitching_dialog.py", line 363, in FillupArea p = pcbnew.VECTOR2I(xp, yp) File "C:\Program Files\KiCad\7.0\bin\Lib\site-packages\pcbnew.py", line 5003, in __init__ _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args)) TypeError: in method 'new_VECTOR2I', argument 1 of type 'int' Additional information: Wrong number or type of arguments for overloaded function 'new_VECTOR2I'. Possible C/C++ prototypes are: VECTOR2< int >::VECTOR2() VECTOR2< int >::VECTOR2(wxPoint const &) VECTOR2< int >::VECTOR2(wxSize const &) VECTOR2< int >::VECTOR2(int,int) VECTOR2< int >::VECTOR2(VECTOR2< int > const &)

When pressing 'Ok' button without Randomize ticked, I get "No vias implanted" and nothing happens beside the plugin dialogue box closing as if its done its job (Pic below). Looks like this, with the test copper pour area shown underneath. Tried varying via size and clearance to no avail. Sometimes I click the Ok button and nothing happens either...

image

Any hints would be great. Cheers

weirdgyn commented 1 year ago

I'll check it.

Il giorno mar 23 mag 2023 alle ore 11:00 Thomas Wilkinson < @.***> ha scritto:

Trying to use this plugin, but not able to get it work.

When pressing 'Ok' button with Randomize ticked, I get the following traceback:

Traceback (most recent call last): File "C:\Users/tomjo/Documents/KiCad/7.0/scripting\plugins\viastitching-master\viastitching_dialog.py", line 456, in onProcessAction self.FillupArea() File "C:\Users/tomjo/Documents/KiCad/7.0/scripting\plugins\viastitching-master\viastitching_dialog.py", line 363, in FillupArea p = pcbnew.VECTOR2I(xp, yp) File "C:\Program Files\KiCad\7.0\bin\Lib\site-packages\pcbnew.py", line 5003, in init _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args)) TypeError: in method 'new_VECTOR2I', argument 1 of type 'int' Additional information: Wrong number or type of arguments for overloaded function 'new_VECTOR2I'. Possible C/C++ prototypes are: VECTOR2< int >::VECTOR2() VECTOR2< int

::VECTOR2(wxPoint const &) VECTOR2< int >::VECTOR2(wxSize const &) VECTOR2< int >::VECTOR2(int,int) VECTOR2< int >::VECTOR2(VECTOR2< int > const &)

When pressing 'Ok' button without Randomize ticked, I get "No vias implanted" and nothing happens beside the plugin dialogue box closing as if its done its job (Pic below). Looks like this, with the test copper pour area shown underneath. Tried varying via size and clearance to no avail. Sometimes I click the Ok button and nothing happens either... [image: image] https://user-images.githubusercontent.com/55659030/240202448-2b05f42e-1d0c-4415-a1c4-6c35c9899cc0.png

Any hints would be great. Cheers

— Reply to this email directly, view it on GitHub https://github.com/weirdgyn/viastitching/issues/23, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOP54RFWWOUEWA67BVBOEDXHR4CFANCNFSM6AAAAAAYLR6ZUM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

bye by(t)e[s]... WeirdGyn!

Codesplash8 commented 1 year ago

I get the same errors, "No vias implanted" on kicad 7 and just nothing happening on kicad 6. Is there an earlier stable commit I could use instead?

weirdgyn commented 1 year ago

probably this: 5e32e93ee7dd0cc37771ef2e5248ce08086a8911

or earlier...

Il giorno mer 24 mag 2023 alle ore 11:13 Codesplash8 < @.***> ha scritto:

I get the same errors, "No vias implanted" on kicad 7 and just nothing happening on kicad 6. Is there an earlier stable commit I could use instead?

— Reply to this email directly, view it on GitHub https://github.com/weirdgyn/viastitching/issues/23#issuecomment-1560742627, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOP54SO6TOCSYEAFRWO52LXHXGLXANCNFSM6AAAAAAYLR6ZUM . You are receiving this because you commented.Message ID: @.***>

--

bye by(t)e[s]... WeirdGyn!

weirdgyn commented 1 year ago

https://github.com/weirdgyn/viastitching/tree/c4097fa9beabd73a37f003779f10d44126f0ca47

this for sure is the last commit where I had things fully under my control, after this release may changes occurred on KiCAD API (with 6.0 and 7.0)...

Il giorno mer 24 mag 2023 alle ore 11:13 Codesplash8 < @.***> ha scritto:

I get the same errors, "No vias implanted" on kicad 7 and just nothing happening on kicad 6. Is there an earlier stable commit I could use instead?

— Reply to this email directly, view it on GitHub https://github.com/weirdgyn/viastitching/issues/23#issuecomment-1560742627, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOP54SO6TOCSYEAFRWO52LXHXGLXANCNFSM6AAAAAAYLR6ZUM . You are receiving this because you commented.Message ID: @.***>

--

bye by(t)e[s]... WeirdGyn!

Codesplash8 commented 1 year ago

That did the trick! Used kicad 6.0 with c4097f as suggested :D

weirdgyn commented 1 year ago

I think I need to make a release or tag such commit to identify it as 'old stable'...

Il giorno mer 24 mag 2023 alle ore 12:22 Codesplash8 < @.***> ha scritto:

That did the trick! Used kicad 6.0 with c4097f as suggested :D

— Reply to this email directly, view it on GitHub https://github.com/weirdgyn/viastitching/issues/23#issuecomment-1560851265, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOP54WDKU3LKVACSCB6OX3XHXOPPANCNFSM6AAAAAAYLR6ZUM . You are receiving this because you commented.Message ID: @.***>

--

bye by(t)e[s]... WeirdGyn!

weirdgyn commented 1 year ago

Trying to use this plugin, but not able to get it work.

When pressing 'Ok' button with Randomize ticked, I get the following traceback:

Traceback (most recent call last): File "C:\Users/tomjo/Documents/KiCad/7.0/scripting\plugins\viastitching-master\viastitching_dialog.py", line 456, in onProcessAction self.FillupArea() File "C:\Users/*my_name*/Documents/KiCad/7.0/scripting\plugins\viastitching-master\viastitching_dialog.py", line 363, in FillupArea p = pcbnew.VECTOR2I(xp, yp) File "C:\Program Files\KiCad\7.0\bin\Lib\site-packages\pcbnew.py", line 5003, in __init__ _pcbnew.VECTOR2I_swiginit(self, _pcbnew.new_VECTOR2I(*args)) TypeError: in method 'new_VECTOR2I', argument 1 of type 'int' Additional information: Wrong number or type of arguments for overloaded function 'new_VECTOR2I'. Possible C/C++ prototypes are: VECTOR2< int >::VECTOR2() VECTOR2< int >::VECTOR2(wxPoint const &) VECTOR2< int >::VECTOR2(wxSize const &) VECTOR2< int >::VECTOR2(int,int) VECTOR2< int >::VECTOR2(VECTOR2< int > const &)

When pressing 'Ok' button without Randomize ticked, I get "No vias implanted" and nothing happens beside the plugin dialogue box closing as if its done its job (Pic below). Looks like this, with the test copper pour area shown underneath. Tried varying via size and clearance to no avail. Sometimes I click the Ok button and nothing happens either...

image

Any hints would be great. Cheers

can you please attach the pcb file that triggered the error (or a portion of such pcb)....

Robin-OhPL commented 1 year ago

I am encountering the exact same problem with the masterversion. But c4097fgives me pop from empty container error image


Gigahawk commented 1 year ago

Is there a working commit hash for kicad 7?