Debugging step export


#21

That did it! :grinning:

Thank you @Seth_h


#22

One thing I noticed with a couple exports to STEP is that the pcb copper traces do not appear in the STEP model. Is that a limitation of exporting to STEP or is there a setting to include the copper traces?


#23

This is a deign decision. The step export is intended to help with mechanical integration (mainly making housings)
It is not intended to make realistic looking models of your board.


#24

Thanks for the feedback. The traces could be helpful when working to maintain clearance from other mechanical metal components. Not a high priority but if it was simple to do and you could have an option to turn it on that would be great.


#25

if you use FreeCAD, you can import both STEP and WRL model of your pcb, and place the wrl on top of the STEP model, to have a visual feedback of traces too.


#26

Can you export the WRL from FreeCAD to another 3D format? I tried to export the WRL to STEP and did not have any success.


#27

wrl is a completely different file format to step. So much so that you really can not get a valid step file back from it. (There are ways to convert wrl to step but you loose all benefits of step that way. So it really is not worth the effort.)


wrl approximates the surface of a part using a number of triangles. This file format is intended for creating nice renders.

The approximation with triangles means that if you have a cylindrical drill in a block then that drill is no longer a cylindrical hole but a hole with polygonal footprint. (There is no unique way to get back to a cylindrical hole without knowing some additional information not contained in the wrl file.)


Step on the other hand is intended for communication between different MCAD programs. In theory you should not have any downside compared to using the native file format. (Of course you can not easily change step files but all other aspects should behave equal to the native format)

This means you can for example export step in one MCAD program and create manufacturing drawings in another. Or use the imported part in an assembly and set constrains as you would with a native part. All of this relies on a precise representation of all features of the part. (So a cylinder must stay a cylinder)


#28

Thanks for the clarification. I did not realize WRL was a mesh format.


#29

If you really want to spend time in including tracks and even silks in STEP model, you can use DXF export from KiCAD and then import DXF technical layers in FC, convert those to Shapes, or even to Surfaces and finally export the result to STEP.

  1. This process is quite CPU intensive & time consuming.
  2. The result STEP file could be from 3 to more than 10 times bigger in file size.


#30

sooo no upcoming support in stepup? :stuck_out_tongue:


#31

That looks pretty cool :slight_smile: Thanks for the tip!


#32

implemented here: