Can i create leds by code instead of searching in Library and adding to schematic?
is there an option to add by code electronic components instead of searching them manually? I was trying to use the createShape API from here - https://docs.easyeda.com/en/API/3-API-List/index.html#Create-Shape for exsample - api('createShape', {shapeType:'schlib', shortUrl:'nxlVIGgQO', from:'system', title:'556_DIL14', x:400, y:300}); api('createShape', {shapeType:'FOOTPRINT', shortUrl:'RrkewO60i', from:'system', title:'ARDUINO_PRO_MINI', x:400, y:300}); (which are not working) But i was unable to understand where i get the short url from and how i can determine the other parameters there - today i'm just doing it manually - but for large project, i would like to be able to do it via code if possible any ideas? #FeatureRequests#
DRC Clearance Issue between Copper layer VCC to Copper layer GND
Hello, I have a top copper area of GND and a bottom copper area of VCC - hooking up WS2812b LEDs. I'm getting clearance issue DRC: The led it self has a VIA which connected to the VCC net And the error indicates that this is the issue: This is the copper area manager settings: \ Any suggestion on how to debug/fix this issue? #PCB#
Is there a way to add VIA with the API?
I have a ws2812b schematics and its all wired up correctly. I was to connect the ws2812b to top copper area of GND and to the bottom copper area of VCC In order to do so - I added a via which connected to the VCC net using the PCB layout. I have lots of ws2812b components and I had to do it onc by once manually, - is there a way to add it somehow to the schematic? and while moving into the PCB layout view it will be added to there as well? or is there a way to use the API to add these VIAs? #PCB#
Arranging parts in PBC using API javascript code
Hello, I'm having a board with some components, leds and capacitors. all the leds has a prefix with running numbers 1-200 and related capacitors with prefix of c1-c200 I searched for the API code for rotating and moving parts: api('rotate', {ids:["gge2","gge3"],degree:90}); And for moving: api('moveObjsTo', {objs:["gge2","gge3"], x: api('coordConvert', {type:'real2canvas',x: '10mm'}), y: api('coordConvert', {type:'real2canvas',y: '10mm'})}); The issue is that I don't know how to get the mapping between the IDs into the prefix, I was trying to rotate and move it via prefix without any success. Does anyone familiar with how I can get the mapping between all my parts prefix to IDs? or moving parts via prefix? #PCB#