Using the Export->STEP results in a file that has all my components correctly except the board itself that is from another design of mine! (not random!)
Tried on three different project, all are exported with the same wrong board.
Tried uncheck: use similar names … and change the origin to: board centre with no luck!
No Error on export log,
Kind of frustrated here, any help will be appreciated!
And NO, DRC is very angry at me, for this small board it’s giving me more than 30 errors and warning complaining about Footprint has malformed courtyard (self intersecting) mainly. I am not sure if they are legit so ignoring them for now!
So I am back, this did solve the problem for one board initially, but now everything is messed up. Wrong PCBs are assigned to all my other projects…
I can not figure out how this could be SolidWorks problem and I can not even call the support! (basically this only happens with KiCad and not any other programs/files).
It is the PCB component, which is refrenced wrongly to another place [UPDATE: other components are also referenced incorrectly] :
[UPDATE] This is my workaround, it’s nasty and it works for now!
-Reset the templates as described by dsa-t.
-Import the new KiCad STEP
-save as a new STEP file with flat structure
-import the new STEP file
-save as assembly
The issue with Solidworks is that you are dealing with an assembly and it cannot have 2 copies of PCB.step in memory at the same time . . . you if you load up PCB-A.step and them load up PCB-B.step then PCB-B will be shown with the PCB from PCB-A.step.
If you close Solidworks, re-open it and open PCB-B.step it should now have the correct PCB.
Ugh, I think somebody mucked up the assembly names in kicad’s export code lately. It originally did use the project’s name for the PCB for that exact reason.
yes please do not use any duplicate names. pcb, solid, compound should always have some project id in it so multiple projects don’t mix in the solidworks arena. i am running into this alot as i have a multi board project.
is there a way to manually edit the naming method for now? are PCB’s exported through a python script i can edit or is it embeded in the application?