Find the file
- Get the delivery ZIP file from the job page.
- Open
scene.usdaat the root of the ZIP file. - Open the USD asset file next to
scene.usda.
scene.usda or in the USD asset file.
The asset name record is on the USD asset file only.
Where each value is
A rigid body is a part that has mass. A part that is not a rigid body has a part name and no mass.
If the source is
calculated_from_density and the part had no density, use a standard density.
That density is 1000 kilograms per cubic meter.
Read the inertia and physics:principalAxes together.
If the file has only one of those two, do not add the other.
The center of mass and the inertia use the length unit of the file.
Do not assume that this unit is 1 meter, or that the up direction is Z.
The USD asset file record has asset_name, asset_type, source_file, and usd_date_generated.
The start object has kind, assetInfo.name, assetInfo.version, and semantics:labels:category.
If assetInfo.name is empty, the name of the start object is used.
Do not change the delivery file.
Write new values in a separate file.
Print the values
Put the USD asset file name in the place ofmodel.usdz.
Example
This mallet has two rigid bodies and one part with a name only. The head mass was in the file, so the source isdeclared.
The handle had no mass, so the mass comes from its shape.
The grip has a part name and no mass.
head_shape is a collider and has no mass.