If I export the 3D model as a step, and then import it again, I’m not getting a solid object:
But I’m not able to solve this in KiCadStepUp. If I press “Make Union” or “Make Compound” I get this error:
And “Fuse objects” gives me this error:
The only solution that I know of is to export the model as a step, import it again, use “Make Union” on the imported model parts, and then export it again.
Is there a better way?
The original step file that I downloaded from the manufacturer was this one: 143863100-19-1758018.zip (180.9 KB)
In this case I moved it 0.1mm up and again 0.1mm down, what it does is that KSU internally creates a copy of your model and it is already fused, I am sure @maui takes some steps internally to make sure it is done properly, if I only use Union or Compound, it is normally more complicated and mostly doesn’t work correctly.
Here are the models exported using the “export to kicad” button as one solid.
I am not that knowledgeable on FreeCAD but for me it looks like this, the first model is what I posted here and the second one is the original one that you posted.
hi,
some models are distributed as a collection of sub-objects.
In that case the model in FC will be represented with a container (‘Part’) and some sub-objects.
If you simply select the top ‘Part’ container, and then click on the kSU Make Union button, you should have a ‘unioned’ model.
Moving the objects with the kSU panel will generate a ‘compound’ which is a single object with the shape of all the objects, but not unioned; once reloaded in FC it will be again a multi-object model. HM-MSTBV-2,5-2-G-5,08-unioned.FCStd (1.0 MB)
It seems like the problem was that I first moved the model into place, and then checked to see if it contained several parts. Since moving it into place created a single compound, I was then unable to make a union.
I’ll change my workflow and always begin with “Make Union” when the model has sub-objects.
When I change the Import settings to “Enable STEP Compound merge”, I get the same result as you when opening the step file that you exported. So, actually the step file you exported does still contain sub-parts, but this is automatically resolved when importing it into FreeCad.