Hi, check version from attachment.
Hi, it should be ok now.
Hi, check file from attachment (PCB\formats).
Hi, this is normal - only one pcb per file is allowed. If you want to assemble of a few pcb's: - import pcb into freecad - open workench "Part" - select pcb and from the top menu choose Part -> Create a copy -> Create simple copy - copy generated object and past it into the "assemby file"
Hi, changed, now range is from 0.2 to 10mm. check version from github https://github.com/marmni/FreeCAD-PCB
Hi, 7) Observe a dialog "Old database format detected - upgrading database format is required. This may take several seconds." Question to ponder - did I not properly backup and replace with your update?. Hit OK (the only option) This is ok. My "database.db" file is in v3 format (new tables), yours was v2 (now it is v3). 8) PCB Settings dialog - observed the new (i) tips on Colorize, Adjust, and Group - nice! These are very old modifications :) 4) Copy my database.db over top of the testing/data/database.db...
Hi, check version from github (testing branch): https://github.com/marmni/FreeCAD-PCB/tree/testing (use "database.db" file from github or make a backup of your file). Name of the attribute to change the model: FREECAD or FCM Name of the attribute to change the model version (def. path): FREECAD (value should start with --) or FCMV Check file from the attachment (for LED 0805 and 1206). It would be nice to get feedback.
Hi, "I was wondering if there is a more highly recommended way to do this." Not at the moment. As for the second part, it won't be that easy at the moment. Currently, paths in DB are stored like this (one cell) led/0805_R.stp;led/0805_B.stp;led/0805_Y.stp;led/0805_G.stp So at the moment it is not possible to add an Attribute/Variant to the path - to do this it will be necessary to add a new table in the DB (with paths) or a new column in an existing table. I will check which solution will be the...
Hi, fixed model is in attachment. This is FreeCAD's "bug" - the "compound" function does not take into account the parent node position. "Side Note on FC 0.20: I opened nearly a dozen other projects (Eagle .brd files of various complexity) and they all seem to work just fine. FreeCAD PCB does offer a message that it is only compatible with FC 0.18 and FC 0.19, which you may be able to bump to 0.20." Okay thanks. I will change that in the future.
Hi, thanks for the info - it should work now. I forgot to upload new version of "PCBboundingBox.py" :).
Him you will/should find the answer to your problem in the instruction.pdf file (the file is located in the "instructions" subdirectory). You can also download this file from github https://github.com/marmni/FreeCAD-PCB/tree/master/instructions
Hi, problem should be solved - check version from github (master).
Hi, check version from github (master).
Hi, check version from github (master).
Hi, I will check what is possible.
Hi, annotations are not imported from parts.
Hello, "I've been experimenting to see if there is an easy solution - to leverage this library part which represented the standard PCB form, and not have to redraw a complex outline for each design. I do not yet have a solution." This is implemented for PCB holes and outlines :) - automatic process, so redrawing is not necessary. About the error - model ENCLOSURE-BUD-HP-3651-B does it, as you noticed. There are double arcs in the lower section. Load PCB (without redrawn contour lines), double click...
Hello, In my opinion, one of the models causes this error. Without the brd file it will be hard to find the reason, but try to import it without holes. Later import without this model: DRILEGEND.
Hello, often one of these three things causes this behavior: - overlapping holes - shape of the edge is not closed (micro gap) - the round corner is "inverted" (wrong direction)
Hi, done. Try version from github: https://github.com/marmni/FreeCAD-PCB (mainly file 'formats/eagle.py')
Hi, unfortunately the new version uses a different method of placing parts - and there is no way to prepare a script that will update the coordinates: /.
Hi, problem with 'time.clock() ' should be solved.
Hi, "What I had lost seems to be nearly all placement model coordinates when I import new board. (more precisely, observed on one component : translation and rotation values are same but real placement on board is not preserved)" Current version uses a different algorithm to correctly position models in the 3D area, that's why models have the wrong position (after converting from old to new db file format). "Too old .col file. It is necessary to generate a new one." Thi is just information. PCB workbench...
Hi, I have a file, thx. So, step by step, how convert your file to current db version change the name to 'freecad.cfg' (and choose this file in FC_PCB settings as yours database file), not 'freecad.bdd' after setting a new database file (freecad.cfg) open "Assign models" window you will see info that you have an old database type -> click OK after a few seconds you will see info that db is converted script will automatically generate a new 'freecad.db' file (from now on it is the current database)...
Hi, I have a file, thx. So, step by step, how convert your file to current db version change the name to 'freecad.cfg' (and choose this file in FC_PCB settings as yours database file), not 'freecad.bdd' after setting a new database file (freecad.cfg) open "Assign models" window you will see info that you have an old database type -> click OK after a few seconds you will see info that db is converted script will automatically generate a new 'freecad.db' file (from now on it is the current database)...
Hi, problematic arcs are marked on the picture.
Hi, no (I also checked spam). Send this file directly to me - email is in each * .py file (in the header, from the PCB module).
Hi, thanks for the examples. I know what causes the problem and I can reproduce it. Unfortunately this is a bigger topic. I will add it to the to-do list. The error is emitted when the radius of the arc is smaller than the width of the arc. Temporarily problematic arcs will be skipped -> https://github.com/marmni/FreeCAD-PCB
Hi, thanks for the examples. I know what causes the problem and I can reproduce it. Unfortunately this is a bigger topic. I will add it to the to-do list. The error is emitted when the radius of the arc is smaller than the width of the arc.
Hi, ok. I will check it as soon as I get this file.
Hi, you should not see them :) - they are not displayed or added to the graphic view. Normally they are generated for each layer. Are there any errors in Report view or Python Console (from FC)? I think that one of te components is causing an error. Without board it will be very difficult to detect source of the problem.
Hi, Download (update) version from github -> https://github.com/marmni/FreeCAD-PCB This version will not solve your problems but will display a valid error message. It looks like some problems with the database session: /. Can you send me your * .db file (database file) - for test only. Also check the read/write permissions for the folder where you store *.db file ( by default it will be C:\Users###\AppData\Roaming\FreeCAD\Mod\pcb\data).
Download (update) version from github -> https://github.com/marmni/FreeCAD-PCB
Hi, + cut holes through all layers: Fixed + detecting tented vias: Added "is there a reason why the components are placed inside the Pad, the origin is underneath the copper top layer, should it not be above?" For me, this is acceptable, if you need more precision, just change the offset values for the model. "the program just seams to lock up and the RAM is slowly increasing. And it is not a huge borad. " Unfortunately this is normal behavior.
Hi, + function "cut holes through all layers" should work- I will check it + you can blank names/values. Look for the "Layer settings" function in the toolbars "And in thegeral the prostions of name and Values are randoly rotate" Can you upload a file with one problematic component?
Hi, database format is different but this should not be a problem (you will only lose categories). Are there any errors in Report view or Python Console (from FC)? Can you paste also name of your database file?
Hi, problem is solved. Topic on github: https://github.com/marmni/FreeCAD-PCB/issues/22 Download version from github: https://github.com/marmni/FreeCAD-PCB
Hi, "Error: Model preview will be disabled." -this is my workaround for the first problem. WB contains predefined database (PCB/data/database.db), but you need to download 3D models (/ PCB/parts/) separately: https://github.com/marmni/FreeCAD-PCB-library
Hi, I checked WB on FC 0.18 (lin/win) and 0.19 (win) and eveything is ok. I'm not able to install 0.19 on linux (at the oment) so I'm not able to reproduce/check this error. I know what causes this, but I don't know why :/. In the meantime, please check the file from the attachment (replace this file /PCB/command/PCBassignModel.py) - please give me feedback if this solution helped.
Hi, I checked WB on FC 0.18 (lin/win) and 0.19 (win) and eveything is ok. I'm not able to install 0.19 on linux (at the oment) so I'm not able to reproduce/check this error. I know what causes this, but I don't know why :/. In the meantime, please check the file from the attachment (replace this file /PCB/command/PCBassignModel.py) - please give me feedback if this solution helpd.
Hi, [...]A newer version of eagle - I have no license for 8+. I will play around with the newest FC 0.18 and try to find out what's wrong. BTW - there should not be problem with brd files generated by v7 or v6, the main syntax is identical, right?[...] Newer version of eagle is not required. Version from github also supports .brd files created in eagle >= 8.0 (and 6.0/70/8.0). Files created in v6/v7 are the same, only v5 are different (for them there is .ulp file - subfolder 'scripts'). [..]I have...
Hi, something new - I have never seen this error. I think the best solution would be to use a newer version (for FC 0.18) - https://github.com/marmni/FreeCAD-PCB/tree/FC_0.18 Not everything works at the moment, but you should be able to import boards.
Hi, something new - I have never seen this error. I think the best solution would be to use a newer version (for FC 0.18) - https://github.com/marmni/FreeCAD-PCB/tree/FC_0.18. Not everything works at the moment, but you should be able to import boards.
Rewriting workbench for FC 0.18 is on the last straight to the goal. At the moment eagle is prio, later it will be kicad and other supported softwares.
Rewriting workbench do FC 0.18 is on the last straight to the goal. At the moment eagle is prio, later it will be kicad and other supported softwares.
Fixed. Solution will appears in next version. To solve this problem unzip file from attachment in main PCB workbench folder.
Fixed. Solution will appears in next version.
Ok, I see it. I will check what's going on.
Hi, this is file from eagle? If yes - I have just downloaded newest version (9.5.1) and boards are loading correctly. Can you send me this file (on email, only for test).
Hi, unfortunately I do not have too much time/motivation to rewrite everything to the new FC (at the moment ;)). On github you can find version (not finished) for FC 0.18 (0.17 is omitted) and Python 3.6. https://github.com/marmni/FreeCAD-PCB/tree/FC_0.18
Cześć, odpwiedź jest dosyć prosta - wersja 0.17 nie jest wspierana. Najlepiej wrócić do 0.16 bądź poczekać na 0.18 (dodatek jest obecnie przepisywana na tę wersję).
Hi, annotations are positioned on value: PCB_HEIGHT (for top layer) +/- part position +/- 0.001 and this is constant value.
Hi, about first topic: can you send to me example board. About second topic: if the frame is saved on one of the basics layers - there is no chance of avoiding this. But also send me example board. It could be possible to add a new part attribute for eagle (if frame is saved as model) - for example something like DO_NOT_LOAD and with TRUE value it will be avoided (not imported into FreeCAD) - something similar to the FREECAD attribute (load a different model than is assigned in the library).
Hi, FreeCAD v0.17 is not supported and never will be - sorry :). You can downgrade to version 0.16 or wait for 0.18 py/Qt5 (which will/is supported). FC-PCB for v0.16: https://github.com/marmni/FreeCAD-PCB FC-PCB for v0.18 (still in progress): https://github.com/marmni/FreeCAD-PCB/tree/FC_0.18
No,,, I gave up.
Hi, this is a problem -> FreeCAD_0.17. This version (and 0.18) is not supported at the moment. Currently I'm rewriting module to newest FreeCad version - I did it in the past but unfortunatelly by accident I deleted files from harddrive :)).
Hi, this is a problem -> FreeCAD_0.17. this version(and 0.18) is not supported at the moment. Currently I'm rewriting module to newest FreeCAd version - I did it in the past but unfortunatelly by accident I deleted files from harddrive :)).
Hi, this is a problem -> FreeCAD_0.17. this version(and 0.18) is not supported at the moment. Currently I'm rewriting module to newest FreeCAd version - I did it in the past but unfortunatelly by accident I deleted files from harddrive :)).
Hello, currently I'm rewriting module to FreeCAD 0.17 (there will be also support for 0.16) - I think it will take about 2 weeks. Until then, it's a good idea to keep 0.16 on your computer.
Hello, currently I'm rewriting module to FreeCAD 0.17 (there will be also support for 0.16) - I think it will take about 2 weeks. Until then, it's a good idea to keep 0.16 on your computer.
Cześc, niektóre programy posiadają numer dla każdej warstwy - to wlaśnie jest on. W przypadku gdy takowy nie ma zaimplementowanego takiego rozwiązania numer ten jest losowo wybierany. Jednak w nowej wersji ta lista nie jest już używana w takiej postaci :) Tutaj znajduje się nowsza wersja https://github.com/marmni/FreeCAD-PCB_database - jednak nie jest ona skonczna i zawiera wilele niedoróbek (dziala eagle/kicad).
Witam, mozesz mi powiedziec w jakim programie robileś pytkę i jaki element sprawil problem. Postaram się dodac jakieś zabezpieczenie na wypadek podobnych problemow.
Witam, mozesz mi powiedziec w jakim programie robileś pytkę i jaki element sprawi problem. Postaram się dodac jakieś zabezpieczenie na wypadek podobnych problemow.
Hi, I will try to check your proposition asap. If there will be no problems, I will implement it in new version. Thanks!
Hi, I will check it asap.
Hello, yes. You can export board from eagle as Hyperlynx, next import it to FreeCAD.
Witam, może to oznaczac, iż zarys plytki nie tworzy zamkniętego ksztaltu.
Hello, thanks :). It is not possible in current version.
Hello, open FreeCAD and from menu choose Tools->Edit parameters. In new window: Preferences->Mod and delete PCB (right click on it and choose Remove group). Close FreeCAD and open once more time.
Hi, ad 1 - this is problematic in geda, if I remember sometimes there is even 4 different structures to define the same object, agr :). Will be fixed. ad 2 - somethin new, will be fixed. ad 3 - at the moment annotations do not work anywhere correctly :). Will be fixed. I will implement changes in new version. Thanks for feedback.
Hi, try version from github
Hi, that's why this is commented out ;).
Hi, "I assume you have removed the import code for now?" Code is under rebuild so these types of errors will appear. Try version from github. You also need to delete key "Version": Tools -> Edit parameters and in new window Preferences -> Mod -> PCB -> Version (right click and Remove key).
Hi, try version from github: - DLVR-E1ND.stp: you can import model with colors, - Amphenol-10100581.stp: you can import model (without colors). "But "Generate one object from the board" still looses the model." I'll check it later.
Hi, try version from github: - DLVR-E1ND.stp: you can import model with colors, - Amphenol-10100581.stp: you can import model (without colors). "But "Generate one object from the board" still looses the model." This I will check later.
Ok, I think I found a problem source (I'm keeping database file in mod subfolder) - try version from github.
Ok, I think I found a problem source (I keep database file in mod subfolder) - try version from github.
Hi, ok, tested on 64-bit linux (FreeCAD 0.16) and everything works fine. Later I will check script with version 0.17. Can you upload properties from PCB module - Tools -> Edit parameters and in new window Preferences -> Mod -> PCB (right click and Export).
Hi, ok, tested on 64-bit linux (FreeCAD 0.16) and everything works fine. Later I will check script with version 0.17. Can you upload properties from PCB module - Tools -> Edit parameters and in new window Preferences -> Mod -> PCB (right click and Export). Please remember that converting process take some time.
Hi, maybe - I'm using 0.16 version. If there will be no problems in 0.16 I will implement your solution.
Hi, ah, my poor head :).I tested script on windows xp 32 bit and there everything works fine. I think that architecture (64-bit) is a problematic - at weekend I will download 64-bit linux.
i, ah, my poor head :).I tested script on windows xp 32 bit and there everything works fine. I think that architecture (64-bit) is a problematic - at weekend I will download 64-bit linux.
Hi, maybe - I'm using 0.16 version.
Hi, first of all which version of FreeCAD you are using? Because I do not have any problems with your board (I also generate ohter boards with arc's without any problems). and polish variable names not making the task easier either 8-) I < I know that this is problematic :) - I'm working on it ;). Which leads to the question what Draft2Sketch is required for. If I correctly remember - with this solution, not all arc will display in correct way (?). But for sure there was some reason to use this function...
Hi, first of all which version of FreeCAD you are using? Because I do not have any problems with your board (I also generate ohter boards with arc's without any problems). and polish variable names not making the task easier either 8-) I < I know that this is problematic :) - I'm working on this ;). Which leads to the question what Draft2Sketch is required for. If I correctly remember - with this solution, not all arc will display in correct way (?). But for sure there was some reason to use this...
Hi, first of all which version of FreeCAD you are using? Because I do not have any problems with your board (I also generate ohter boards with arc's without any problems). and polish variable names not making the task easier either 8-) I I know that this is problematic :) - I'm working on this ;). Which leads to the question what Draft2Sketch is required for. If I correctly remember - with this solution, not all arc will display in correct way (?). But for sure there was some reason to use this function...
Hi, I know about problems with annotations - I will fix them, but in later time.
Hello, fixed - error was in code. Try new version from github (delete file database.db). More protections I will add in later time.
Hello, did you try to import 'Annotations' layer?
but I'm on windows here 8-) And all clear :) - I will check this later.
Hi, It works for me :). First of all did next to database.cfg you see file database.db? Also database.cfg should be renamed to database.cfg_old (automatically). Access to folder where you keep database.cfg should be set to 777.
Hello, finall version - I do not known. But you can try testing version - https://github.com/marmni/FreeCAD-PCB_database - at the moment script support only eagle file format. At first you need to open 'Assing models window'.
Ok, in new version script will check if there are some errors during loading model with colours. If yes - model without colours will be loaded.
Hi, always when there is a problem with importing models just try to import/update parts without colours (different import function).
Hi, always when there is a problem with importing models just try to import parts without colours (different import function).
Hi, always when there is a problem with importing models just try to imports parts without colours (different import function).
Hello, at the moment script does not supports multilayers. In the future - why not.
Hello, t the moment script not supports multilayers. I'm currently rewriting code and after modifications multilayers should be possible to implementing.
Hello, code is rebuilded (50% for eagle at the moment) - from the next version it will be possible to import each layer separately (not recognized layers will be treat as silk layer).
Hello, you can send file via email.