I am converting SolidWorks assembly and part files using the built in cad converter. I have noticed that the product of Geometry prim and its child prim’s scale is always 0.1. What could be the reason for this?
Testing was done using SolidWorks files whose units were in inch, meter and millimeter. The screenshots showing the transforms are attached below.
Actually that is because by default you must have your scene scale set in cm, which is “0.01” meters. So it is a way to import cad consistently at the same “relative” size, regardless of the units. Omniverse does not support imperial measurements, so feet and inches. We only support metric, and the default value is 0.01m or 1cm.
These two numbers are related. If you make this default unit “1” then the program works in “meters”. Anything less than “1” it falls to cm.
On checking found that the usd files generated by CAD converter have their default unit as cm irrespective of the value in Preferences=>Stage=>Default Meters Per Unit.
Also the screenshot of the converted usd files(with transform) that were shared earlier have not been added as reference or payload to a new stage, they were directly opened(by double clicking on the usd file).
Understood, but I would still keep everything as is, in cm and only be concerned when you start bringing scenes and objects together. It is all explained in the metrics video there.
It’s just about consistency. If you always use mm, use mm. If you always use cm, do so. Etc. You can find your own workflow and check that models are coming in the right size against a standard measurement like a cube prim.
Make yourself a couple of good usd templates that you can use as reference objects. Like a 1 mm cube, 1 cm cube, 1 inch cube, etc. That way you can check everything.
But honestly eventually Solidworks will be able to export as a USD file.