Datasmith is not combining meshes from groups/components, as specified in the documentation, thus leaving me with a HUGE number of meshes and slowing down tasks like importing, saving and baking lights.
The file in question gives 92K actors in Unreal 4-5. The same file gives me 27K actors when importing through Twinmotion.
As said, under “Converting Geometry into Static Meshes”:
“Datasmith divides your SketchUp geometry into Static Mesh assets by combining all connected polygon faces that are in the same component or group, into a single Static Mesh. Knowing this strategy can help you influence the Static Meshes it creates.”
I believe instancing is fine, as Twinmotion reads it correctly…
I could do Skp > Twinmotion > Unreal, but the problem is that Twinmotion messes UVs up, so it’s too much rework to fix it
" * you might need to use some dataprep recipe to merge elements on import base on rules"
I’m not sure how to do that, would appreciate any help
A simple recipe/logic would be to filter objects you want to merge together (usually by getting the name of the upmost parent, or filtering it with metadata/tags), then selecting the whole children actor hierarchy, then merging those objects together, as following :