How to combine all primitives into one object when exporting

how to combine all primitives into one object when exporting

You need to do it manually.
Select everything and use « merge simple ».

You can also export to stl if you don’t need material and settings saved (quads converted to triangles though)