i’m trying to export a 3D model of the PCB with models, and all layers
i saw that it can be done by using SetpUp on free cad
The SetpUp is installed and when i load the PCB file i get an error
After updating Kicad and FreeCad the the latest version,
there is errors when tring to load the board
Running the Python command ‘ksuToolsOpenBoard’ failed:
Traceback (most recent call last):
File “C:\Users\gal.magen\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod.\kicadStepUpCMD.py”, line 947, in Activated
kicadStepUptools.onLoadBoard()
File “C:\Users\gal.magen\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod.\kicadStepUptools.py”, line 6602, in onLoadBoard
mypcb = KicadPCB.load(name) #test parser
File “C:\Users\gal.magen\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod.\fcad_parser\kicad_pcb.py”, line 99, in load
return KicadPCB(parseSexp(f.read().decode(“UTF-8”), quote_no_parse)) # maui
File “C:\Users\gal.magen\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod.\fcad_parser\sexp_parser\sexp_parser.py”, line 798, in parseSexp
assert stack, “Trouble with nesting of brackets”
The PCB File works well on the KiCad layout, i never tried to open the file on FreeCad
I do this only for having all layers on a STEP File for mechanical development (there are Pads that are use for soldering wires, we need to see if there is no collusion with mechanical parts)
I can’t upload a file to here (New User) can you PM me so i could send you the file?
@Gal_BTM
which is your StepUp release version?
Is there some UTF characters on your file path?
I have no issue on “kicad StepUp version 10.7.6”
and FreeCAD version
OS: Windows 10 Version 1909
Word size of FreeCAD: 64-bit
Version: 0.21.31035 (Git)
Build type: Release
Branch: master
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
I still don’t have issue with FC 0.19.4
Could you please post all the log file in the FC report panel?
(it is selectable text … just copy and paste here or attach a txt file)
12:57:21 PoM not present
12:57:21 using ‘Part’ container and ‘Links’
12:57:21 FC Version 020-1
12:57:21 kicad StepUp version 10.7.6
12:57:21 tolerance on vertex applied
12:57:21 applying Materials to Shapes
12:57:21 your home path is C:\Users\gal.magen
12:57:21 export to STEP False
12:57:21 Tabified done !
12:57:21 done!
12:57:24 opening C:/Users/gal.magen/Downloads/LED_RING.kicad_pcb
12:57:24 my file path C:\Users\gal.magen\Downloads
12:57:24 opening Transaction ‘opening_kicad’
12:57:24 Running the Python command ‘ksuToolsOpenBoard’ failed:
Traceback (most recent call last):
File “C:\Users\gal.magen\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod.\kicadStepUpCMD.py”, line 947, in Activated
kicadStepUptools.onLoadBoard()
File “C:\Users\gal.magen\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod.\kicadStepUptools.py”, line 6602, in onLoadBoard
mypcb = KicadPCB.load(name) #test parser
File “C:\Users\gal.magen\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod.\fcad_parser\kicad_pcb.py”, line 99, in load
return KicadPCB(parseSexp(f.read().decode(“UTF-8”), quote_no_parse)) # maui
File “C:\Users\gal.magen\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod.\fcad_parser\sexp_parser\sexp_parser.py”, line 798, in parseSexp
assert stack, “Trouble with nesting of brackets”
not sure, but I have tried with a similar path without issue C:/Users/maui/Downloads/folder.test
a similar error message here, but with a intermediate k 5.99 version: