I have just upgraded from 0.16 to a new stable version of Freecad : 0.17 . Unfortunately, every load of a .brd from Eagle 7.2 hangs up. Previously, I had no problem with 0.16 and everything went smoothly with my boards.
Therefore, I should precise that I use a Mint 18.2 Cinnamon x64 based on Ubuntu, with FreecadPCB in "/home/paul/.FreeCAD/Mod" directory. I also add two screenshots and a full traceback to document my issue:
The traceback is the same, no matter what board is loaded, so it is not bound to any peculiar design. I have the unsupported geometry message everywhere.
Thank you for your help,
Paul.
data.analysis@numericable.fr
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2018-05-17
I also have found this problem, fortunately it is possible to have FC16 & 17 installed at the same time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-04-19
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
I'm an Eagle user, and have used EagleUp (with Sketchup) for visualization of several devices. But now I would like to go a step further, and design the enclosures that the devices will fit into, with the plan of 3-D printing. It seems that FreeCAD, in combination with FreeCAD-PCB has the best potential to be the solution. As a total novice FreeCAD user, I downloaded the latest.
I see recommendations to get FC16 instead, but thought I'd ask, is there anything to look forward to soon w.r.t. FC17?
As a competent SW engineer (just not in Python), is there any way in which I could help advance this project forward a bit? [e.g. where do I get the basic architecture of this add-in, a few hints for troubleshooting, and so on...]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-03-03
Hi every one,
I'm new to freecad and I just discovered your usefull plugin.
B'm facing the same problem explained in the initial post, even with the 0.16 version.
I downloaded the PCB form the github.
My eagle version is 7.6.0 and PCB directory is in /home/user/.FreeCAD/Mod
My os is ubuntu 16.04.
Whatever the .brd I try to load, it let me choose the layers and then hangs up.
If you can help me.
Thank you in advance for your help,
Jerome
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Anonymous, FreeCAD-PCB has not advanced - so you'll either need to install FC16 (as I did), or sharpen your troubleshooting skills and find and fix the code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-10-31
I had the same message on FreeCAD - and for me - I didn't have the "Printed Circuit Board" as the selected workbench. Once I selected that, then brd files were recognized.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not everything works at the moment, but you should be able to import boards.
Last edit: Mariusz 2019-11-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-11-11
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-11-11
Can you please publish a simple PCB which is made with a higher eagle version for testing — like this test.brd with the USB-con.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The file was created in Eagle 9.4.2.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/PCBbrd.py", line 62, in open
importBRD(filename, wersjaFormatu[0])
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/PCBbrd.py", line 198, in importBRD
plytkaPCB = mainPCB(wersjaFormatu, filename)
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/formats/PCBmainForms.py", line 77, in init
self.wersjaFormatu = EaglePCB(filename, self)
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/formats/eagle.py", line 131, in init
self.dialogMAIN = dialogMAIN(self.fileName)
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/formats/eagle.py", line 61, in init
dialogMAIN_FORM.init(self, parent)
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/formats/dialogMAIN_FORM.py", line 53, in init
importlib.reload(PCBconf)
<type 'exceptions.attributeerror'="">: 'module' object has no attribute 'reload'</type></module></string>
Then I thought my problem is something different.
I have opened FreeCAD and switched to "Printed Circuit Board" workbench.
I got this error: PCB Workbench: Error. Minimum required Python version: 3.6.
I have python 3.7 installed and python command is linked to python3.7
lrwxrwxrwx 1 root root 7 Nov 8 13:46 python -> python3
lrwxrwxrwx 1 root root 9 Mar 26 2019 python3 -> python3.7
For testing I have commented the the lines 54, 55 & 56 of code in PCBcheckFreeCADVersion.py
if float("{0}.{1}".format(sys.version_info[0], sys.version_info[1])) < pythonVersion:
Then FreeCAD "Printed Circuit Board" workbench opens without python error warning.
Opens the SparkFun_Qwiic_Micro_SAMD21E.brd again and got the same errors again - including the "type 'exceptions.AttributeError'>: 'module' object has no attribute 'reload'"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/et094/schuster/.FreeCAD/Mod/PCB/PCBbrd.py", line 62, in open
importBRD(filename, wersjaFormatu[0])
File "/home/et094/schuster/.FreeCAD/Mod/PCB/PCBbrd.py", line 198, in importBRD
plytkaPCB = mainPCB(wersjaFormatu, filename)
File "/home/et094/schuster/.FreeCAD/Mod/PCB/formats/PCBmainForms.py", line 77, in init
self.wersjaFormatu = EaglePCB(filename, self)
File "/home/et094/schuster/.FreeCAD/Mod/PCB/formats/eagle.py", line 131, in init
self.dialogMAIN = dialogMAIN(self.fileName)
File "/home/et094/schuster/.FreeCAD/Mod/PCB/formats/eagle.py", line 61, in init
dialogMAIN_FORM.init(self, parent)
File "/home/et094/schuster/.FreeCAD/Mod/PCB/formats/dialogMAIN_FORM.py", line 53, in init
importlib.reload(PCBconf)
<type 'exceptions.attributeerror'="">: 'module' object has no attribute 'reload'</type></module></string>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-11-11
I can see this error on both machines "/home/rob/" and "home/et094/schuster" — both have
OS: Debian GNU/Linux 10 (buster)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.
Build type: Release
Python version: 2.7.16rc1
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-11-11
I was a confused about the line Python version: in the Help About FreeCAD Info. There was freecad-python2 installed and now I have installed freecad-python3:
OS: Debian GNU/Linux 10 (buster)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.
Build type: Release
Python version: 3.7.2+
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
It works!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[...]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 opened FreeCAD and switched to "Printed Circuit Board" workbench.
I got this error: PCB Workbench: Error. Minimum required Python version: 3.6.[..]
I need to find a solution how print it without activating PCB workbench.
[...]I have python 3.7 installed and python command is linked to python3.7[...]
FreeCAD use own python libraries - not installed on the computer.
[..]It works![..]
It's nice to hear that, but unfortunately not everything at the moment ;).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, Mariusz,
I have just upgraded from 0.16 to a new stable version of Freecad : 0.17 . Unfortunately, every load of a .brd from Eagle 7.2 hangs up. Previously, I had no problem with 0.16 and everything went smoothly with my boards.
Therefore, I should precise that I use a Mint 18.2 Cinnamon x64 based on Ubuntu, with FreecadPCB in "/home/paul/.FreeCAD/Mod" directory. I also add two screenshots and a full traceback to document my issue:
Settings :
http://perso.numericable.fr/data.analysis/Images/ERR_1
And here lies the error, after which Freecad hangs and freezes :
http://perso.numericable.fr/data.analysis/Images/ERR_2
Traceback :
The file was created in Eagle 7.2.0.
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
no element found: line 1, column 11
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/paul/.FreeCAD/Mod/pcb/PCBbrd.py", line 72, in open
File "/home/paul/.FreeCAD/Mod/pcb/PCBbrd.py", line 241, in importBRD
File "/home/paul/.FreeCAD/Mod/pcb/formats/eagle.py", line 424, in generate
File "/home/paul/.FreeCAD/Mod/pcb/formats/PCBmainForms.py", line 532, in generatePCB
<type 'exceptions.TypeError'="">: Unsupported geometry type: Part::GeomLine
The traceback is the same, no matter what board is loaded, so it is not bound to any peculiar design. I have the unsupported geometry message everywhere.
Thank you for your help,
Paul.
data.analysis@numericable.fr
I also have found this problem, fortunately it is possible to have FC16 & 17 installed at the same time.
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.
Last edit: Mariusz 2018-05-19
I'm an Eagle user, and have used EagleUp (with Sketchup) for visualization of several devices. But now I would like to go a step further, and design the enclosures that the devices will fit into, with the plan of 3-D printing. It seems that FreeCAD, in combination with FreeCAD-PCB has the best potential to be the solution. As a total novice FreeCAD user, I downloaded the latest.
I see recommendations to get FC16 instead, but thought I'd ask, is there anything to look forward to soon w.r.t. FC17?
As a competent SW engineer (just not in Python), is there any way in which I could help advance this project forward a bit? [e.g. where do I get the basic architecture of this add-in, a few hints for troubleshooting, and so on...]
Hi every one,
I'm new to freecad and I just discovered your usefull plugin.
B'm facing the same problem explained in the initial post, even with the 0.16 version.
I downloaded the PCB form the github.
My eagle version is 7.6.0 and PCB directory is in /home/user/.FreeCAD/Mod
My os is ubuntu 16.04.
Whatever the .brd I try to load, it let me choose the layers and then hangs up.
If you can help me.
Thank you in advance for your help,
Jerome
Hi Anonymous, FreeCAD-PCB has not advanced - so you'll either need to install FC16 (as I did), or sharpen your troubleshooting skills and find and fix the code.
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
Hi,
I have tested this FC_0.18 version but got this error:
"File format not supported: /home/rob/sandbox/test.brd"
Any ideas?
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).
I had the same message on FreeCAD - and for me - I didn't have the "Printed Circuit Board" as the selected workbench. Once I selected that, then brd files were recognized.
Ok, I see it. I will check what's going on.
Fixed. Solution will appears in next version.
To solve this problem unzip file from attachment in main PCB workbench folder.
Last edit: Mariusz 2019-10-31
This new Init.py helps to avoid "File format not supported" message, but now I have:
The file was created in Eagle 7.7.0.
Exception while processing file: /home/rob/sandbox/test.brd ['module' object has no attribute 'reload']
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.
Last edit: Mariusz 2019-11-09
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?
Can you please publish a simple PCB which is made with a higher eagle version for testing — like this test.brd with the USB-con.
I have tried to import a brd file which was made with a new version of eagle — I have used this one:
https://cdn.sparkfun.com/assets/2/1/0/8/d/SparkFun_Qwiic_Micro_SAMD21E.zip
This is the outcome:
The file was created in Eagle 9.4.2.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/PCBbrd.py", line 62, in open
importBRD(filename, wersjaFormatu[0])
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/PCBbrd.py", line 198, in importBRD
plytkaPCB = mainPCB(wersjaFormatu, filename)
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/formats/PCBmainForms.py", line 77, in init
self.wersjaFormatu = EaglePCB(filename, self)
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/formats/eagle.py", line 131, in init
self.dialogMAIN = dialogMAIN(self.fileName)
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/formats/eagle.py", line 61, in init
dialogMAIN_FORM.init(self, parent)
File "/home/rob/sandbox/.FreeCAD/Mod/PCB/formats/dialogMAIN_FORM.py", line 53, in init
importlib.reload(PCBconf)
<type 'exceptions.attributeerror'="">: 'module' object has no attribute 'reload'</type></module></string>
Then I thought my problem is something different.
I have opened FreeCAD and switched to "Printed Circuit Board" workbench.
I got this error: PCB Workbench: Error. Minimum required Python version: 3.6.
I have python 3.7 installed and python command is linked to python3.7
lrwxrwxrwx 1 root root 7 Nov 8 13:46 python -> python3
lrwxrwxrwx 1 root root 9 Mar 26 2019 python3 -> python3.7
For testing I have commented the the lines 54, 55 & 56 of code in PCBcheckFreeCADVersion.py
if float("{0}.{1}".format(sys.version_info[0], sys.version_info[1])) < pythonVersion:
return [False, "Error. Minimum required Python version: {0}.".format(pythonVersion)]
else:
Then FreeCAD "Printed Circuit Board" workbench opens without python error warning.
Opens the SparkFun_Qwiic_Micro_SAMD21E.brd again and got the same errors again - including the "type 'exceptions.AttributeError'>: 'module' object has no attribute 'reload'"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/et094/schuster/.FreeCAD/Mod/PCB/PCBbrd.py", line 62, in open
importBRD(filename, wersjaFormatu[0])
File "/home/et094/schuster/.FreeCAD/Mod/PCB/PCBbrd.py", line 198, in importBRD
plytkaPCB = mainPCB(wersjaFormatu, filename)
File "/home/et094/schuster/.FreeCAD/Mod/PCB/formats/PCBmainForms.py", line 77, in init
self.wersjaFormatu = EaglePCB(filename, self)
File "/home/et094/schuster/.FreeCAD/Mod/PCB/formats/eagle.py", line 131, in init
self.dialogMAIN = dialogMAIN(self.fileName)
File "/home/et094/schuster/.FreeCAD/Mod/PCB/formats/eagle.py", line 61, in init
dialogMAIN_FORM.init(self, parent)
File "/home/et094/schuster/.FreeCAD/Mod/PCB/formats/dialogMAIN_FORM.py", line 53, in init
importlib.reload(PCBconf)
<type 'exceptions.attributeerror'="">: 'module' object has no attribute 'reload'</type></module></string>
I can see this error on both machines "/home/rob/" and "home/et094/schuster" — both have
OS: Debian GNU/Linux 10 (buster)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.
Build type: Release
Python version: 2.7.16rc1
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
and latest FreeCAD-PCB from
https://github.com/marmni/FreeCAD-PCB/tree/FC_0.18
I was a confused about the line Python version: in the Help About FreeCAD Info. There was freecad-python2 installed and now I have installed freecad-python3:
OS: Debian GNU/Linux 10 (buster)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.
Build type: Release
Python version: 3.7.2+
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
It works!
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 opened FreeCAD and switched to "Printed Circuit Board" workbench.
I got this error: PCB Workbench: Error. Minimum required Python version: 3.6.[..]
I need to find a solution how print it without activating PCB workbench.
[...]I have python 3.7 installed and python command is linked to python3.7[...]
FreeCAD use own python libraries - not installed on the computer.
[..]It works![..]
It's nice to hear that, but unfortunately not everything at the moment ;).