PCB thermal analysis revisited

About the development of the FEM module/workbench.

Moderator: bernd

gerhard63
Posts: 8
Joined: Tue Nov 22, 2022 11:36 am

Re: PCB thermal analysis revisited

Post by gerhard63 »

In the last days I started to dig into the FreeCAD world of thermal simulation of pcbs.
After a lot of tries to get a kicad pcb into freecad with KiCadStepUp, I found this thread and fcad_pcb from @realthunder.

Unfortunetally Im not able to start the scripts. It stopps running with the the following error message:

2023-01-07 16_29_39-FreeCAD 0.20.1.png
2023-01-07 16_29_39-FreeCAD 0.20.1.png (15.73 KiB) Viewed 1300 times

Does any one know about this problem?
I spent nearly the whole day without any success...

Thanks in advance.

Code: Select all

OS: Windows 11
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * Help 1.0.3
  * kicadStepUpMod 10.16.8
  * sheetmetal 0.2.60
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: PCB thermal analysis revisited

Post by easyw-fc »

gerhard63 wrote: Sat Jan 07, 2023 3:35 pm In the last days I started to dig into the FreeCAD world of thermal simulation of pcbs.
After a lot of tries to get a kicad pcb into freecad with KiCadStepUp, I found this thread and fcad_pcb from @realthunder.

Unfortunetally Im not able to start the scripts. It stopps running with the the following error message:

Does any one know about this problem?
I spent nearly the whole day without any success...

Thanks in advance.

Code: Select all

OS: Windows 11
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * Help 1.0.3
  * kicadStepUpMod 10.16.8
  * sheetmetal 0.2.60
I have no issue with

Code: Select all

OS: Windows 10 Version 1909
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
from your errors it seems you have an outdated fcad_pcb release version
gerhard63
Posts: 8
Joined: Tue Nov 22, 2022 11:36 am

Re: PCB thermal analysis revisited

Post by gerhard63 »

I used the version from Feb 18th, 2020 downloaded here:
https://github.com/realthunder/fcad_pcb ... es/tag/1.1

Where can I find the latest?
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: PCB thermal analysis revisited

Post by easyw-fc »

gerhard63 wrote: Mon Jan 09, 2023 10:58 am I used the version from Feb 18th, 2020 downloaded here:
https://github.com/realthunder/fcad_pcb ... es/tag/1.1

Where can I find the latest?
That is 3 years old...
you have to download directly from GH
Please follow instructions on readme
https://github.com/realthunder/fcad_pcb#readme

https://github.com/realthunder/fcad_pcb#installation
gerhard63
Posts: 8
Joined: Tue Nov 22, 2022 11:36 am

Re: PCB thermal analysis revisited

Post by gerhard63 »

With windows I cannot use git and clone.
I download all files and put it unchanged into the macro directory, correct?
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: PCB thermal analysis revisited

Post by easyw-fc »

https://gitforwindows.org
or
https://git-scm.com/downloads
then git clone it in the downloading directory and follow the readme commands
gerhard63
Posts: 8
Joined: Tue Nov 22, 2022 11:36 am

Re: PCB thermal analysis revisited

Post by gerhard63 »

Hi easyw-fcw

The phyton script is running now correctly. But with max. 2 layers. Multilayer seems not tobe supported.

However...
Thanks for your help.
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: PCB thermal analysis revisited

Post by easyw-fc »

gerhard63 wrote: Mon Jan 09, 2023 5:12 pm Hi easyw-fcw

The phyton script is running now correctly. But with max. 2 layers. Multilayer seems not tobe supported.

However...
Thanks for your help.
Multi layers are supported..

https://github.com/realthunder/fcad_pcb ... ry-instead
Post Reply