It seems to be having the same issues. The underlying problem is that there is a suppressed solid that’s included called SOLID_25 and then it gets included in every other solid as well, so all of them generate errors. Sometimes the board still builds fine (like in this case, and sometimes it gets all messed up. Regardless, even if it does, having a model in an assembly with errors in it will bug the crap out of any ME.
I’m not quite sure what you are asking. Like I stated in the original post if you run the file first through FreeCAD then it opens fine in Solidworks. It still would have that Solid_25 suppressted with an error, but it wouldn’t have it included in every solid in the the board, so it is easy to delete and use the model.
I’m suggesting to use StepUp to convert the KiCad pcb board file to STEP instead of using the internal exporter.
StepUp is the really first STEP exporter for KiCad and it has offered the option to have a STEP model of the kicad board since July 2015 also for KiCad 4 stable release.
If you download the Marcos’s project here
or Icezum project here
you can just test StepUp without the need to even touch any configuration file…
(download all the git project which includes 3D models and kicad_pcb file and unzip those locally)
Just use FC Tools Menu to install KiCad StepUp workbench, restart FC and open directly in FC a Kicad_pcb board file.
I downloaded the file and opened in SW2017. The only error was in the transformer model. Something in the geometry shown below that caused floating bodies.
good catch.
I analyzed the built geometries with different CADs (DSM, VariCAD) but I didn’t found any issue…
Only analyzing the single transformer I get the errors in the geometry
I too have seen random parts being replaced to the wrong ones in Solidworks. In my case it was actually solidworks not handling the files properly. The first time i opened an exported design solidworks would save the parts as templates, if i then updated the design in kicad and did a new export solidworks would load the previously saved templates instead of the new components. This made some parts show completely different models than what they should. Clearing the solidworks template folder inbetween exports would fix this issue.
Solidworks also seems a lot more picky when it comes to STEP files than for example freecad, some of my models would consistently load with errors in solidworks, but not in freecad. Even when the STEP model exported by kicad was made by solidworks it would throw errors.
I have my default templates to “Prompt user to select document template”. I think I had to do this to overcome the error @Gustavxerxes is referring to, but wouldn’t guarantee that will fix it.
It is very important to check each new 3d step model that has been generated before include this in the exporter…
Since the very first FC step exporter, there were no issues in the STEP generated board and parts if each single model included had no geometric issues… https://lists.launchpad.net/kicad-developers/msg19243.html
There were positive feedback for:
Catia V5, PTC Creo Parametrics V2, Solid Edge ST7, Siemens NX10 and Solid Works
So I imagine that the main issue one can find would be related to the quality of each single model.
Thank you kindly for interest I helping with this problem.
Like I stated … I am on imac.
The PC step is not avail for Mac.
Issue still very much an unresolved obstacle.
Ok, I got to the bottom of this. Normally a step file would open as a part file, however KiCad step file opens as an assembly in Solidworks. My assembly file template got saved somehow with that missing Solid_25 already included into it. Every single component opens as a sub-assembly using the same template with the same missing Solid_25 in it. I opened the template deleted Solid_25 and then saved it. Now all KiCad step files open just fine.