asdasdasd
Pro Edition not working properly
Hi, since a few days, the Pro edition has several issues, making it hard to use. Here a project you can hopefully see the issues: https://pro.easyeda.com/editor#id=28d9a2d7d1f44224ad6b57ee5fe313b2\,tab=edb1c7933884477193e3294bd8d7743d|*f96af4480eee4527888581f84cc276bf or the invite https://u.easyeda.com/join?type=project&key=f80ddb1afffe46eba9593ddc4ca9bd9c&inviter=536625a8218b45279923a4deedb6ac09 Browser: Firefox 105.0a1 (2022-07-28) (64-Bit) Windows 10 Regards, g3gg0 Issues: 1. Board outline in 3D does not generate properly anymore I can really not make out what has changed since then. I even recreated the outline, but still it incorrectly generates the cut. The last thing i did before realizing it doesn't generate anymore, was removing something on the documentation layer. before: now: 2. 3D Models do not load anymore Working before, i get these placeholder models now after 5 mins of loading: 3. Exporting 3D OBJ does not work anymore It just "works" a few minutes, scrolling the bottom bar and i get no file to download. #BugReports#
g3gg0.de 2022-08-04 04:25:31 comment 3 0 Bug Reports
Scripting - Set component positions
Hi all, assuming i have a list of all component names and their (center) X/Y position in mil from the PCB origin as well as their origins. Now I want to programmatically position all components in the PCB layout at the given positions w/ their rotation. (as if I trained a monkey selecting manually a component by its name and enter the X/Y values) So i have a bunch of hurdles and questions, I hope some can be answered by you :) I tried fetching the source using api('getSource', {type: "json"}); -> result: got all important information. but... every single drawable entity with their subentities and texts and arcs and stuff etc has its absolute position in there. I would have to fully understand the mechanics of what is a LINE and an ARC and TEXT and PAD and must not forget a single unexpected item there. [Bug?] Tried to get the real position like in the examples using api('coordConvert', {type:'canvas2real',x: 10}) -> result: i was not able to convert "mil" or "mm" units into the "real" coordinates, as the API call is crashing: message: "getPCBUnit is not defined" stack: "coordConvert@https://easyeda.com/editor/6.4.7/js/main.min.js:18:19407 edit: Oh no! Most of the post vanished. It was cut right in the middle of the stackdump. darn. Questions: 1. how to set the rotation *absolute* ? 2. how to get the current X/Y/rotation? 3. how to select a component by its name (like "R12")? 4. what would be your preferred approach to set component positions? Thats my current test code: api('moveObjsTo', { objs:["gge5d7d37af6db8001c"], x:4000, y:3000}); // manually set position to origin api('rotation', {ids:["gge5d7d37af6db8001c"], degree:90}); #PCB#
g3gg0.de 2020-10-13 16:58:34 comment 1 0 Circuit Design