Giter Club home page Giter Club logo

Comments (9)

karinchechik avatar karinchechik commented on September 27, 2024 2

@kimkash - The example you attached is a PCB Module which will be converted to PCB in KiCAD. It is now available. The issue was only in the web version.

@urish - We should keep this issue open to add support for PCB Lib as well, which will be converted to fileName.kicad_mod

from easyeda2kicad.

opeRaptor avatar opeRaptor commented on September 27, 2024 1

Yes, trying to convert a EasyEDA footprint file.

I also tried to put a footprint alone on a board as a work around but had another as issue described in #34

from easyeda2kicad.

karinchechik avatar karinchechik commented on September 27, 2024 1

Currently, any file that is not schematic will be converted to '.kicad_pcb'. @greyltc, if you'll try to convert this PCB (the file you get from the link you attached), you will get a kicad_pcb file. From what I can see, it was fully converted. The A1-A12 and B1-B12 are the PAD numbers. When using a footprint, EasyEDA is showing it as LIB that contains multiple shapes chained to 1 string. In the row of the LIB you can see every PAD with its pad number. So nothing is missing.

from easyeda2kicad.

karinchechik avatar karinchechik commented on September 27, 2024

I'll take a look at this issue and send an update soon

from easyeda2kicad.

opeRaptor avatar opeRaptor commented on September 27, 2024

I am still getting this issue on the web version: Error: unsupported file format

from easyeda2kicad.

urish avatar urish commented on September 27, 2024

@opeRaptor just to confirm, you are trying to convert an EasyEDA Footprint file, right?

from easyeda2kicad.

greyltc avatar greyltc commented on September 27, 2024

Do I understand correctly that this issue is for tracking the ability easyeda2kicad to take footprints used in the EasyEDA PCB layout tool and dump them into .kicad_mod files?

This would be a really fantastic feature!

I was trying to inspect the footprint data for a USB-C connector, LCSC Part # C134092 ( https://lcsc.com/product-detail/USB-Type-C_MOLEX_105450-0101_105450-0101_C134092.html )

I made a dummy PCB design in EasyEDA consisting of only the footprint for that part and then looked at the json generated
I see

  "shape": [
    "LIB~4281.5~3246~package`USB-C-SMD_TYPE-C-USB-18`Contributor`立创EDA官方封装库`link``~0~~gge7~1~300003b969724a4c9a9c77a8cef70674~1574907566~0~#@$TEXT~N~4281.5~3224.256~0.6~0~~3~~4.5~USB-C-SMD_TYPE-C-USB-18~M 4281.5 3219.716 L 4281.5 3222.786 L 4281.7 3223.396 L 4282.11 3223.806 L 4282.73 3224.006 L 4283.14 3224.006 L 4283.75 3223.806 L 4284.16 3223.396 L 4284.36 3222.786 L 4284.36 3219.716 M 4288.58 3220.326 L 4288.17 3219.916 L 4287.55 3219.716 L 4286.74 3219.716 L 4286.12 3219.916 L 4285.71 3220.326 L 4285.71 3220.736 L 4285.92 3221.146 L 4286.12 3221.356 L 4286.53 3221.556 L 4287.76 3221.966 L 4288.17 3222.166 L 4288.37 3222.376 L 4288.58 3222.786 L 4288.58 3223.396 L 4288.17 3223.806 L 4287.55 3224.006 L 4286.74 3224.006 L 4286.12 3223.806 L 4285.71 3223.396 M 4289.93 3219.716 L 4289.93 3224.006 M 4289.93 3219.716 L 4291.77 3219.716 L 4292.38 3219.916 L 4292.59 3220.126 L 4292.79 3220.536 L 4292.79 3220.946 L 4292.59 3221.356 L 4292.38 3221.556 L 4291.77 3221.756 M 4289.93 3221.756 L 4291.77 3221.756 L 4292.38 3221.966 L 4292.59 3222.166 L 4292.79 3222.576 L 4292.79 3223.196 L 4292.59 3223.606 L 4292.38 3223.806 L 4291.77 3224.006 L 4289.93 3224.006 M 4294.14 3222.166 L 4297.82 3222.166 M 4302.24 3220.736 L 4302.04 3220.326 L 4301.63 3219.916 L 4301.22 3219.716 L 4300.4 3219.716 L 4299.99 3219.916 L 4299.58 3220.326 L 4299.38 3220.736 L 4299.17 3221.356 L 4299.17 3222.376 L 4299.38 3222.986 L 4299.58 3223.396 L 4299.99 3223.806 L 4300.4 3224.006 L 4301.22 3224.006 L 4301.63 3223.806 L 4302.04 3223.396 L 4302.24 3222.986 M 4303.59 3222.166 L 4307.27 3222.166 M 4311.49 3220.326 L 4311.08 3219.916 L 4310.46 3219.716 L 4309.65 3219.716 L 4309.03 3219.916 L 4308.62 3220.326 L 4308.62 3220.736 L 4308.83 3221.146 L 4309.03 3221.356 L 4309.44 3221.556 L 4310.67 3221.966 L 4311.08 3222.166 L 4311.28 3222.376 L 4311.49 3222.786 L 4311.49 3223.396 L 4311.08 3223.806 L 4310.46 3224.006 L 4309.65 3224.006 L 4309.03 3223.806 L 4308.62 3223.396 M 4312.84 3219.716 L 4312.84 3224.006 M 4312.84 3219.716 L 4314.47 3224.006 M 4316.11 3219.716 L 4314.47 3224.006 M 4316.11 3219.716 L 4316.11 3224.006 M 4317.46 3219.716 L 4317.46 3224.006 M 4317.46 3219.716 L 4318.89 3219.716 L 4319.5 3219.916 L 4319.91 3220.326 L 4320.12 3220.736 L 4320.32 3221.356 L 4320.32 3222.376 L 4320.12 3222.986 L 4319.91 3223.396 L 4319.5 3223.806 L 4318.89 3224.006 L 4317.46 3224.006 M 4321.67 3225.446 L 4325.35 3225.446 M 4328.14 3219.716 L 4328.14 3224.006 M 4326.7 3219.716 L 4329.57 3219.716 M 4330.92 3219.716 L 4332.55 3221.756 L 4332.55 3224.006 M 4334.19 3219.716 L 4332.55 3221.756 M 4335.54 3219.716 L 4335.54 3224.006 M 4335.54 3219.716 L 4337.38 3219.716 L 4338 3219.916 L 4338.2 3220.126 L 4338.4 3220.536 L 4338.4 3221.146 L 4338.2 3221.556 L 4338 3221.756 L 4337.38 3221.966 L 4335.54 3221.966 M 4339.75 3219.716 L 4339.75 3224.006 M 4339.75 3219.716 L 4342.41 3219.716 M 4339.75 3221.756 L 4341.39 3221.756 M 4339.75 3224.006 L 4342.41 3224.006 M 4343.76 3222.166 L 4347.45 3222.166 M 4351.86 3220.736 L 4351.66 3220.326 L 4351.25 3219.916 L 4350.84 3219.716 L 4350.02 3219.716 L 4349.61 3219.916 L 4349.2 3220.326 L 4349 3220.736 L 4348.8 3221.356 L 4348.8 3222.376 L 4349 3222.986 L 4349.2 3223.396 L 4349.61 3223.806 L 4350.02 3224.006 L 4350.84 3224.006 L 4351.25 3223.806 L 4351.66 3223.396 L 4351.86 3222.986 M 4353.21 3222.166 L 4356.9 3222.166 M 4358.25 3219.716 L 4358.25 3222.786 L 4358.45 3223.396 L 4358.86 3223.806 L 4359.47 3224.006 L 4359.88 3224.006 L 4360.5 3223.806 L 4360.9 3223.396 L 4361.11 3222.786 L 4361.11 3219.716 M 4365.32 3220.326 L 4364.91 3219.916 L 4364.3 3219.716 L 4363.48 3219.716 L 4362.87 3219.916 L 4362.46 3220.326 L 4362.46 3220.736 L 4362.66 3221.146 L 4362.87 3221.356 L 4363.28 3221.556 L 4364.5 3221.966 L 4364.91 3222.166 L 4365.12 3222.376 L 4365.32 3222.786 L 4365.32 3223.396 L 4364.91 3223.806 L 4364.3 3224.006 L 4363.48 3224.006 L 4362.87 3223.806 L 4362.46 3223.396 M 4366.67 3219.716 L 4366.67 3224.006 M 4366.67 3219.716 L 4368.51 3219.716 L 4369.13 3219.916 L 4369.33 3220.126 L 4369.54 3220.536 L 4369.54 3220.946 L 4369.33 3221.356 L 4369.13 3221.556 L 4368.51 3221.756 M 4366.67 3221.756 L 4368.51 3221.756 L 4369.13 3221.966 L 4369.33 3222.166 L 4369.54 3222.576 L 4369.54 3223.196 L 4369.33 3223.606 L 4369.13 3223.806 L 4368.51 3224.006 L 4366.67 3224.006 M 4370.89 3222.166 L 4374.57 3222.166 M 4375.92 3220.536 L 4376.33 3220.326 L 4376.94 3219.716 L 4376.94 3224.006 M 4379.31 3219.716 L 4378.7 3219.916 L 4378.5 3220.326 L 4378.5 3220.736 L 4378.7 3221.146 L 4379.11 3221.356 L 4379.93 3221.556 L 4380.54 3221.756 L 4380.95 3222.166 L 4381.15 3222.576 L 4381.15 3223.196 L 4380.95 3223.606 L 4380.75 3223.806 L 4380.13 3224.006 L 4379.31 3224.006 L 4378.7 3223.806 L 4378.5 3223.606 L 4378.29 3223.196 L 4378.29 3222.576 L 4378.5 3222.166 L 4378.9 3221.756 L 4379.52 3221.556 L 4380.34 3221.356 L 4380.75 3221.146 L 4380.95 3220.736 L 4380.95 3220.326 L 4380.75 3219.916 L 4380.13 3219.716 L 4379.31 3219.716~none~gge8~~0~#@$TEXT~P~4281.5~3231.256~0.6~0~~3~~4.5~U1~M 4281.5 3226.72 L 4281.5 3229.78 L 4281.7 3230.4 L 4282.11 3230.81 L 4282.73 3231.01 L 4283.14 3231.01 L 4283.75 3230.81 L 4284.16 3230.4 L 4284.36 3229.78 L 4284.36 3226.72 M 4285.71 3227.53 L 4286.12 3227.33 L 4286.74 3226.72 L 4286.74 3231.01~~gge10~~0~#@$TRACK~1~3~S$181~4298.5078 3264.3268 4264.4922 3264.3268~gge12~0#@$TRACK~1~3~~4267.7642 3236.1575 4268.2072 3236.1575~gge13~0#@$TRACK~1~3~~4281.0216 3236.1575 4281.9947 3236.1575~gge14~0#@$TRACK~1~3~~4294.8011 3236.1575 4295.2358 3236.1575~gge16~0#@$TRACK~1~3~~4298.5078 3241.4967 4298.5078 3251.5268~gge17~0#@$TRACK~1~3~~4298.5078 3263.1892 4298.5078 3264.3268~gge18~0#@$TRACK~1~3~~4264.4922 3264.3268 4264.4922 3263.1892~gge19~0#@$TRACK~1~3~~4264.4922 3251.5268 4264.4922 3241.4967~gge21~0#@$PAD~RECT~4269.697~3234.642~1.1811~2.7559~1~~A1~0~4269.1066 3233.2637 4270.2877 3233.2637 4270.2877 3236.0196 4269.1066 3236.0196~0~gge22~0~~Y~0~0~0.4~4269.697,3234.642#@$PAD~RECT~4271.666~3234.642~1.1811~2.7559~1~~A2~0~4271.0751 3233.2637 4272.2562 3233.2637 4272.2562 3236.0196 4271.0751 3236.0196~0~gge28~0~~Y~0~0~0.4~4271.666,3234.642#@$PAD~RECT~4273.634~3234.642~1.1811~2.7559~1~~A3~0~4273.0436 3233.2637 4274.2247 3233.2637 4274.2247 3236.0196 4273.0436 3236.0196~0~gge34~0~~Y~0~0~0.4~4273.634,3234.642#@$PAD~RECT~4275.611~3234.642~1.1811~2.7559~1~~A4~0~4275.0202 3233.2639 4276.2013 3233.2639 4276.2013 3236.0198 4275.0202 3236.0198~0~gge39~0~~Y~0~0~0.4~4275.611,3234.642#@$PAD~RECT~4277.579~3234.642~1.1811~2.7559~1~~A5~0~4276.9886 3233.2639 4278.1697 3233.2639 4278.1697 3236.0198 4276.9886 3236.0198~0~gge45~0~~Y~0~0~0.4~4277.579,3234.642#@$PAD~RECT~4279.532~3234.642~1.1811~2.7559~1~~A6~0~4278.9411 3233.2637 4280.1222 3233.2637 4280.1222 3236.0196 4278.9411 3236.0196~0~gge51~0~~Y~0~0~0.4~4279.532,3234.642#@$PAD~RECT~4283.485~3234.642~1.1811~2.7559~1~~A7~0~4282.8941 3233.2639 4284.0752 3233.2639 4284.0752 3236.0198 4282.8941 3236.0198~0~gge57~0~~Y~0~0~0.4~4283.485,3234.642#@$PAD~RECT~4285.437~3234.642~1.1811~2.7559~1~~A8~0~4284.8466 3233.2638 4286.0277 3233.2638 4286.0277 3236.0197 4284.8466 3236.0197~0~gge63~0~~Y~0~0~0.4~4285.437,3234.642#@$PAD~RECT~4287.406~3234.642~1.1811~2.7559~1~~A9~0~4286.8151 3233.2638 4287.9962 3233.2638 4287.9962 3236.0197 4286.8151 3236.0197~0~gge69~0~~Y~0~0~0.4~4287.406,3234.642#@$PAD~RECT~4289.374~3234.642~1.1811~2.7559~1~~A10~0~4288.7836 3233.2638 4289.9647 3233.2638 4289.9647 3236.0197 4288.7836 3236.0197~0~gge76~0~~Y~0~0~0.4~4289.374,3234.642#@$PAD~RECT~4291.343~3234.642~1.1811~2.7559~1~~A11~0~4290.7521 3233.2638 4291.9332 3233.2638 4291.9332 3236.0197 4290.7521 3236.0197~0~gge81~0~~Y~0~0~0.4~4291.343,3234.642#@$PAD~RECT~4293.311~3234.642~1.1811~2.7559~1~~A12~0~4292.7206 3233.2639 4293.9017 3233.2639 4293.9017 3236.0198 4292.7206 3236.0198~0~gge87~0~~Y~0~0~0.4~4293.311,3234.642#@$PAD~RECT~4269.295~3239.76~3.937~2.7559~1~~B12~0~4267.3268 3238.3819 4271.2638 3238.3819 4271.2638 3241.1378 4267.3268 3241.1378~0~gge92~0~~Y~0~0~0.4~4269.295,3239.76#@$PAD~RECT~4272.642~3239.76~1.1811~2.7559~1~~B11~0~4272.0513 3238.382 4273.2324 3238.382 4273.2324 3241.1379 4272.0513 3241.1379~0~gge98~0~~Y~0~0~0.4~4272.642,3239.76#@$PAD~RECT~4274.61~3239.76~1.1811~2.7559~1~~B10~0~4274.0198 3238.382 4275.2009 3238.382 4275.2009 3241.1379 4274.0198 3241.1379~0~gge104~0~~Y~0~0~0.4~4274.61,3239.76#@$PAD~RECT~4276.579~3239.76~1.1811~2.7559~1~~B9~0~4275.9883 3238.382 4277.1694 3238.382 4277.1694 3241.1379 4275.9883 3241.1379~0~gge111~0~~Y~0~0~0.4~4276.579,3239.76#@$PAD~RECT~4278.547~3239.76~1.1811~2.7559~1~~B8~0~4277.9568 3238.382 4279.1379 3238.382 4279.1379 3241.1379 4277.9568 3241.1379~0~gge117~0~~Y~0~0~0.4~4278.547,3239.76#@$PAD~RECT~4280.516~3239.76~1.1811~2.7559~1~~B7~0~4279.9253 3238.382 4281.1064 3238.382 4281.1064 3241.1379 4279.9253 3241.1379~0~gge123~0~~Y~0~0~0.4~4280.516,3239.76#@$PAD~RECT~4282.484~3239.76~1.1811~2.7559~1~~B6~0~4281.8938 3238.382 4283.0749 3238.382 4283.0749 3241.1379 4281.8938 3241.1379~0~gge129~0~~Y~0~0~0.4~4282.484,3239.76#@$PAD~RECT~4284.453~3239.76~1.1811~2.7559~1~~B5~0~4283.8623 3238.382 4285.0434 3238.382 4285.0434 3241.1379 4283.8623 3241.1379~0~gge136~0~~Y~0~0~0.4~4284.453,3239.76#@$PAD~RECT~4286.421~3239.76~1.1811~2.7559~1~~B4~0~4285.8308 3238.382 4287.0119 3238.382 4287.0119 3241.1379 4285.8308 3241.1379~0~gge142~0~~Y~0~0~0.4~4286.421,3239.76#@$PAD~RECT~4288.39~3239.76~1.1811~2.7559~1~~B3~0~4287.7993 3238.382 4288.9804 3238.382 4288.9804 3241.1379 4287.7993 3241.1379~0~gge148~0~~Y~0~0~0.4~4288.39,3239.76#@$PAD~RECT~4290.358~3239.76~1.1811~2.7559~1~~B2~0~4289.7678 3238.382 4290.9489 3238.382 4290.9489 3241.1379 4289.7678 3241.1379~0~gge153~0~~Y~0~0~0.4~4290.358,3239.76#@$PAD~RECT~4293.705~3239.76~3.937~2.7559~1~~B1~0~4291.7362 3238.382 4295.6732 3238.382 4295.6732 3241.1379 4291.7362 3241.1379~0~gge159~0~~Y~0~0~0.4~4293.705,3239.76#@$PAD~OVAL~4298.508~3236.256~4.7244~8.6614~11~~0~1.5748~4298.508 3234.2875 4298.508 3238.2245~0~gge164~7.0866~4298.5078 3238.2245 4298.5078 3234.2875~Y~0~0~0.4~#@$PAD~OVAL~4264.492~3236.256~4.7244~8.6614~11~~0~1.5748~4264.492 3234.2875 4264.492 3238.2245~0~gge171~7.0862~4264.4922 3238.2243 4264.4922 3234.2877~Y~0~0~0.4~#@$PAD~OVAL~4264.492~3257.358~4.7244~9.8425~11~~0~1.5748~4264.492 3254.799 4264.492 3259.917~0~gge177~8.2676~4264.4922 3259.9173 4264.4922 3254.7993~Y~0~0~0.4~#@$PAD~OVAL~4298.508~3257.358~4.7244~9.8425~11~~0~1.5748~4298.508 3254.799 4298.508 3259.917~0~gge182~8.2677~4298.5078 3259.9174 4298.5078 3254.7993~Y~0~0~0.4~",
    "RECT~4359.5~3263.5~0.5~0.5~1~gge189~0~0~~~~"
  ],

Do you think that's all the info needed to create a .kicad_mod footprint file or is there more hidden somewhere?

from easyeda2kicad.

urish avatar urish commented on September 27, 2024

Yes, that's exactly the purpose of the issue!

I think that the shape should contain most if not all of the info required for generating the .kicad_mod footprint file. TBH I don't remember all the specifics, but @karinchechik looked into it in the past, perhaps she has some additional info that can help

from easyeda2kicad.

greyltc avatar greyltc commented on September 27, 2024

I was thinking some info might be missing because I don't see the pin names in that string. I was expecting to see A1...A12 and B1...B12

from easyeda2kicad.

Related Issues (20)

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.