Thanks that’s useful. OBJs are text files so you can actually open them in a Text Editor (if they’re not too large!).
This is the start of the file:
Alias Wavefront OBJ File Exported from SketchUp
with OBJexporter © 2013 TIG
Units = meters
mtllib Cube_Export_Test_500mm.mtl
g Cube_Export_Test_500mm-GRP-135-Default_Material
usemtl Default_Material
v 0.671849565586 0 -0.697927524321
v 0.171849565586 0 -0.197927524321
v 0.171849565586 0 -0.697927524321
v 0.671849565586 0 -0.197927524321
v 0.671849565586 0.5 -0.197927524321
v 0.171849565586 0.5 -0.697927524321
v 0.171849565586 0.5 -0.197927524321
v 0.671849565586 0.5 -0.697927524321
The lines that begin with "v " are the vertex positions. You can see from the values that 0.5 (half the generic unit) is equal to 500mm (the size you used in Sketchup) so the default unit in Sketchup must be 1 meter. This is confirmed at the top of the file where it says “# Units = meters”, though note that the “#” indicates this is a comment and so will be ignored by other programs.
In ZBrush I selected the PolyMesh3D Star and then imported the OBJ. The Tool>Export>Scale slider showed a value of 0.25. This means ZBrush has scaled the cube up four times on import and will scale it down to a quarter its size on export. However, when measured with the Transpose line it shows a size of 0.5 which we know is correct, so the Transpose line gives the correct reading whatever scaling ZBrush applies internally.
Exporting the OBJ from ZBrush gives this:
File exported by ZBrush version 4.6
#Vertex Count 8
#UV Vertex Count 6
#Face Count 12
#Auto scale x=4.000000 y=4.000000 z=4.000000
#Auto offset x=-1.687398 y=-1.000000 z=1.791710
mtllib Cube_Export_Test_500mm-exZB.mtl
usemtl defaultMat
v 0.67184954 -0 -0.69792753
v 0.17184956 -0 -0.19792753
v 0.17184956 -0 -0.69792753
v 0.67184954 -0 -0.19792753
v 0.67184954 0.5 -0.19792753
v 0.17184956 0.5 -0.69792753
v 0.17184956 0.5 -0.19792753
v 0.67184954 0.5 -0.69792753
Although there is a slight difference in precision, you’ll see that the vertex positions are the same, so this file should import into Sketchup without any change in scale. If Sketchup changes the scale then it must be something to do with Sketchup’s import settings.
Attachments
