You need to use EasyEDA editor to create some projects before publishing
Generate PCBs from Keyboard Layout Editor
1074 0
ToCr 3 years ago

Hi all, can anyone give us a hint on how to automatically place components where they should be?
We ask for help about EasyEDA API scripts.

  • We want to generate PCBs for keyboards.
  • Keyboard Layout Editor (KLE) is a commonly used tool for this, see https://bit.ly/3fEYwc1
  • This is an example for a KLE keyboard layout: https://bit.ly/3fGLs65
  • We want to automatically place the switches in the correct position according to KLE layouts.
  • We started with a program that reads the positions from the KLE JSON: https://bit.ly/37wQEVv

What we have already tried:

  • We have read the EasyEDA tutorial.
  • We tried to reverse engineer JSON files of a schematic and a PCB with a switch, but "PCB JSON File Source" didn't help: https://bit.ly/3itycUj
  • Our search revealed that it is possible to copy a component, place it in a specific location, and then change its suffix: https://bit.ly/3lESSdV

I think we just need a hint what API commands I need and what their syntax is.

BTW: These switches / sockets shall be placed: https://bit.ly/2X3Ez8y
P/N:CPG151101S11

Comments

Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,建议访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
联系我们:https://docs.lceda.cn/cn/FAQ/Contact-Us/index.html不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice