Hi,
I'm not able to load a KiCad board with FreeCAD. In the report view this error occurs:
The file was created in KiCad (version 4).
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Programs\FreeCAD_0.17.11243_x64_dev_win\Mod\PCB\PCBbrd.py", line 72, in open
importBRD(filename, wersjaFormatu[0])
File "C:\Programs\FreeCAD_0.17.11243_x64_dev_win\Mod\PCB\PCBbrd.py", line 241, in importBRD
plytka = plytkaPCB.generate(doc, groupBRD, filename)
File "C:\Programs\FreeCAD_0.17.11243_x64_dev_win\Mod\PCB\formats\kicad_v4.py", line 200, in generate
self.generatePCB(board, doc, groupBRD, self.dialogMAIN.gruboscPlytki.value())
File "C:\Programs\FreeCAD_0.17.11243_x64_dev_win\Mod\PCB\formats\PCBmainForms.py", line 532, in generatePCB
doc.PCB_Border.addGeometry(Part.Line(FreeCAD.Vector(i[1], i[2], 0), FreeCAD.Vector(i[3], i[4], 0)))
<type 'exceptions.TypeError'="">: Unsupported geometry type: Part::GeomLine
I'm using the actual KiCad version 4.0.6. Attached I send you a very simple board with only two SMD resistors, demonstrating the problem.
Could you please have a look?
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,
actual I use FreeCAD_0.16 for PCB, but i'm missing the creation of the copper pour.
Is there still a solution without Hyperlynx (it generates a file with over 6GB size and FreeCAD says "not enough memory" ?
Greets
Thilo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I've created a small PCB file in KiCad. After I switched to the "Interactive Router" and did some changes it will no longer load into FreeCad PCB.
Anyone experienced simular problems?
If anyone can look into this, I could send files.
//lg
Hello,
please send me problematic board, it will be easier to find problem.
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Hi,
I'm not able to load a KiCad board with FreeCAD. In the report view this error occurs:
The file was created in KiCad (version 4).
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Programs\FreeCAD_0.17.11243_x64_dev_win\Mod\PCB\PCBbrd.py", line 72, in open
importBRD(filename, wersjaFormatu[0])
File "C:\Programs\FreeCAD_0.17.11243_x64_dev_win\Mod\PCB\PCBbrd.py", line 241, in importBRD
plytka = plytkaPCB.generate(doc, groupBRD, filename)
File "C:\Programs\FreeCAD_0.17.11243_x64_dev_win\Mod\PCB\formats\kicad_v4.py", line 200, in generate
self.generatePCB(board, doc, groupBRD, self.dialogMAIN.gruboscPlytki.value())
File "C:\Programs\FreeCAD_0.17.11243_x64_dev_win\Mod\PCB\formats\PCBmainForms.py", line 532, in generatePCB
doc.PCB_Border.addGeometry(Part.Line(FreeCAD.Vector(i[1], i[2], 0), FreeCAD.Vector(i[3], i[4], 0)))
<type 'exceptions.TypeError'="">: Unsupported geometry type: Part::GeomLine
I'm using the actual KiCad version 4.0.6. Attached I send you a very simple board with only two SMD resistors, demonstrating the problem.
Could you please have a look?
Many thanks! Regards, Michael
I meet the same problem. Do you find a solution to solve it?
Many thanks
No,,, I gave up.
Last edit: Mariusz 2018-09-11
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 :)).
Last edit: Mariusz 2018-09-11
Hi,
actual I use FreeCAD_0.16 for PCB, but i'm missing the creation of the copper pour.
Is there still a solution without Hyperlynx (it generates a file with over 6GB size and FreeCAD says "not enough memory" ?
Greets
Thilo
Ok, found my mistake... I've created the copper pours with line width 0, changed it to 0.1 and it works :-)
Greets
Thilo
Hi, I think it would be better to draw the copper pours in sketches and extrude it, like the pcb board ...
Greets
Thilo