I have noticed that my sketchup models is too small once imported via the Datasmith plugin
now I have confirmed there is a scaling issue.
Using sketchup pro 2018,
Datasmith 4.20 E0
Unreal engine 4.20.2
In sketchup I made a cube 100cm x 100cm x100cm
I have sketchup's mesure units set in cm.
then I export it as Datasmith, and import to unreal.
now in unreal content browser if I hover my mouse over it then the size show "Aprox 39 x 39 x 39"
http://prntscr.com/kv5uvn
so i then loaded the model into the world and selected it, then I went and "export selected" exported as OBJ file.
I imported the OBJ into sketchup, taking care to set OBJ units to cm
the imported OBJ was then a cube in sketchup, size ~39x39x39 cm
i increased the accuracy of the mesurements shown and got the exact size of the cube.
the exact size is:
39.3701cm x 39.3701cm x 39.3701cm
so to calculate how much the scale is off, i did:
100 / 39.3701
=2.539998628400741
then i made a new 100x100x100 cube in sketchup, made it a component, opened component selected all and scaled it by 2.539998628400741
i then exported that again to datasmith.
then imported file to unreal,
the original cube again 39x39x39
the scaled cube now 100x100x100.
so the exact cause of this bug is unknown, but I have confirmed the exact scale difference, and I am able to re-create the results.
I will attach my sketchup and datasmith files that I used in this test.
while we wait for this bug to be fixed, do this temporary workaround to manually fix the scale.
after your model is made, scale it by x2.539998628400741
note if you have parts of the model in groups or components you would have to open that group or component and scale the stuff in the group or component itself, as scaling a group or component without opening it will not scale it and it will be exported in the original size.
be sure to save your SKP file under different name once its scaled as to avoid overriding your work.
now I have confirmed there is a scaling issue.
Using sketchup pro 2018,
Datasmith 4.20 E0
Unreal engine 4.20.2
In sketchup I made a cube 100cm x 100cm x100cm
I have sketchup's mesure units set in cm.
then I export it as Datasmith, and import to unreal.
now in unreal content browser if I hover my mouse over it then the size show "Aprox 39 x 39 x 39"
http://prntscr.com/kv5uvn
so i then loaded the model into the world and selected it, then I went and "export selected" exported as OBJ file.
I imported the OBJ into sketchup, taking care to set OBJ units to cm
the imported OBJ was then a cube in sketchup, size ~39x39x39 cm
i increased the accuracy of the mesurements shown and got the exact size of the cube.
the exact size is:
39.3701cm x 39.3701cm x 39.3701cm
so to calculate how much the scale is off, i did:
100 / 39.3701
=2.539998628400741
then i made a new 100x100x100 cube in sketchup, made it a component, opened component selected all and scaled it by 2.539998628400741
i then exported that again to datasmith.
then imported file to unreal,
the original cube again 39x39x39
the scaled cube now 100x100x100.
so the exact cause of this bug is unknown, but I have confirmed the exact scale difference, and I am able to re-create the results.
I will attach my sketchup and datasmith files that I used in this test.
while we wait for this bug to be fixed, do this temporary workaround to manually fix the scale.
after your model is made, scale it by x2.539998628400741
note if you have parts of the model in groups or components you would have to open that group or component and scale the stuff in the group or component itself, as scaling a group or component without opening it will not scale it and it will be exported in the original size.
be sure to save your SKP file under different name once its scaled as to avoid overriding your work.
Comment