Aisler MPN import

@aisler I’m trying to upload a board design with MPNs populated as described in Transfer custom Fields from Schematic to PCBnew? - #12 by eelik

Despite populating a AISLER_MPN field it doesn’t populate on the Aisler parts page.

Checking the contents of the .kicad_pcb file show the property has transferred OK:

  (footprint "Capacitor_THT:C_Rect_L18.0mm_W6.0mm_P15.00mm_FKS3_FKP3" (layer
"F.Cu")
    (tedit 5AE50EF0) (tstamp 00000000-0000-0000-0000-0000608e58c9)
    (at 221.742 175.26 180)
    (descr "C, Rect series, Radial, pin pitch=15.00mm, ,
length*width=18*6mm^2, Capacitor, http://www.wima.com/EN/WIMA_FKS_3.pdf")
    (tags "C Rect series Radial pin pitch 15.00mm  length 18mm width 6mm
Capacitor")
    (property "AISLER_MPN" "R463I315040H2M")

Any ideas?

Tristan

I think (but not sure) Aisler’s latest code is looking for mpn, not AISLER_MPN based on https://twitter.com/PatrickAachen/status/1479078099887263745 - not sure if capitalization matters; MPN might work too.

Thanks - have tried all 3.

  (footprint "Capacitor_THT:C_Rect_L18.0mm_W6.0mm_P15.00mm_FKS3_FKP3" (layer
"F.Cu")
    (tedit 5AE50EF0) (tstamp 00000000-0000-0000-0000-0000608e58c9)
    (at 221.742 175.26 180)
    (descr "C, Rect series, Radial, pin pitch=15.00mm, ,
length*width=18*6mm^2, Capacitor, http://www.wima.com/EN/WIMA_FKS_3.pdf")
    (tags "C Rect series Radial pin pitch 15.00mm  length 18mm width 6mm
Capacitor")
    (property "AISLER_MPN" "R463I315040H2M")
    (property "MPN" "R463I315040H2M")
    (property "Sheetfile" "xxxxxxxx.kicad_sch")
    (property "Sheetname" "")
    (property "mpn" "R463I315040H2M")
    (path "/00000000-0000-0000-0000-000060889620")
    (attr through_hole)
    (fp_text reference "C101" (at 7.5 -4.25 180) (layer "F.SilkS")
      (effects (font (size 1 1) (thickness 0.15)))
      (tstamp 975b065a-4fee-4d11-9f2f-b1d40a3629cb)

Hopefully Patrick will see this or my tweet. Would be a really useful tool to have working.

The new push tool only seems to transfer “mpn” from reading this: https://github.com/AislerHQ/PushForKiCad/search?q=mpn

[115] 'side': layer,
[116] 'designator': f.GetReference(),
[117] 'mpn': f.GetProperty('mpn'),

I’ve tried direct upload of the .kicad_pcb file and the push tool with MPN, mpn and AISLER_MPN. Nothing seems to pull the value through.

@aisler Patrick - this is a strange one. Is there a limit to the BoM size / number of parts on your side?

I tried again with a simple board of 5 or 6 components - things worked as expected. Items appear to populate / get prices and so on.

When I try with a larger board (202 items in the BoM, 3.2Mb .kicad_pcb file) the MPNs aren’t coming through.

A recent commit allows mpn, MPN, Mpn and AISLER_MPN, see https://github.com/AislerHQ/PushForKiCad/commit/defea7d69c8f10f578ac6f45aa4135af190a86c0.

EDIT: the uploading code was also changed on Jan 5, make sure you have the latest code.

Thanks, I saw that earlier today.

I think my issue is with the number of components or the size of the board file. I had thought there may be a hard-coded limit of 200 somewhere in their code - so tried excluding items from the BoM within KiCAD. But that doesn’t get respected in the Aisler system. I’ll try deleting components and see if there’s a point when the auto system starts working again…

Patrick from AISLER here. The part import is done asynchronous to the general import however there is no progress indicator which is, I have to admit, a bad combination. So if you wait for a few minutes after import all parts should pop up. We will work on this the next days.

3 Likes

Thanks Patrick - my bad. Patience is a virtue etc.

I left it and yes, after a few minutes the parts started populating. Thanks for the response.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.