all  /  test_assets  / schemaTests  / usdGeom  / primitives  / capsule .usda

Primitives

These files show all available mesh primitives.

Schema specification: https://github.com/PixarAnimationStudios/USD/blob/release/pxr/usd/usdGeom/schema.usda

Capsule

capsule.usda

This file shows an example of the Capsule primitive.

screenshot capsule.usda, usdrecord 22.08

Cone

cone.usda

This file shows an example of the Cone primitive.

screenshot cone.usda, usdrecord 22.08

Cube

cube.usda

This file shows an example of the Cube primitive.

screenshot cube.usda, usdrecord 22.08

Cylinder

cylinder.usda

This file shows an example of the Cylinder primitive.

screenshot cylinder.usda, usdrecord 22.08

Sphere

sphere.usda

This file shows an example of the Sphere primitive.

screenshot sphere.usda, usdrecord 22.08

All Primitives

all_primitives.usda

This files includes all of the above primivites.

screenshot all_primitives.usda, usdrecord 22.08


Edit this page

capsule.usda

#usda 1.0
(
    customLayerData = {
        string copyright = "Copyright 2022 Apple Inc. All rights reserved."
    }
    defaultPrim = "Capsule"
    upAxis = "Y"
    metersPerUnit = 0.01
)

def Capsule "Capsule"
{
    uniform token axis = "Z"
    double height = 1
    double radius = 0.5
}