### Cloning the Repository Source: https://github.com/nvidia-omniverse/usd_scene_construction_utils/blob/main/README.md This bash command clones the usd_scene_construction_utils repository from GitHub. This is the first step in the installation process. ```Bash git clone https://github.com/NVIDIA-Omniverse/usd_scene_construction_utils ``` -------------------------------- ### Installing the Package (Outside Omniverse) Source: https://github.com/nvidia-omniverse/usd_scene_construction_utils/blob/main/README.md This Python command installs the usd_scene_construction_utils package in development mode. This makes the package discoverable to Python outside of Omniverse. ```Bash python3 setup.py develop ``` -------------------------------- ### Creating and Exporting a USD Stage Source: https://github.com/nvidia-omniverse/usd_scene_construction_utils/blob/main/README.md This Python code demonstrates how to create a new in-memory USD stage, add a plane and a box to it, stack the primitives, and export the stage to a file. It uses functions from the usd_scene_construction_utils module. ```Python from usd_scene_construction_utils import ( new_in_memory_stage, add_plane, add_box, stack, export_stage ) stage = new_in_memory_stage() floor = add_plane(stage, "/scene/floor", size=(500, 500)) box = add_box(stage, "/scene/box", size=(100, 100, 100)) stack_prims([floor, box], axis=2) export_stage(stage, "hello_box.usda", default_prim="/scene") ``` -------------------------------- ### Adding to Python Path (Inside Omniverse) Source: https://github.com/nvidia-omniverse/usd_scene_construction_utils/blob/main/README.md This Python code adds the path to the usd_scene_construction_utils directory to the Python path. This makes the package discoverable to Python inside of Omniverse. Replace `/path/to/usd_scene_construction_utils/` with the actual path. ```Python import sys sys.path.append("/path/to/usd_scene_construction_utils/") ``` -------------------------------- ### Adding a Hand Truck with Boxes Source: https://github.com/nvidia-omniverse/usd_scene_construction_utils/blob/main/examples/hand_truck_w_boxes/README.md This function adds a hand truck and places a box stack on it with an offset. It makes out-of-bounds boxes invisible and wiggles the visible boxes to simulate realistic placement. -------------------------------- ### Adding a Box of a Given Size Source: https://github.com/nvidia-omniverse/usd_scene_construction_utils/blob/main/examples/hand_truck_w_boxes/README.md This function adds a cardboard box of a specified size, including randomly oriented labeling and tape. It uses randomization to create visual variation in the scene. -------------------------------- ### Adding a Random Box Stack Source: https://github.com/nvidia-omniverse/usd_scene_construction_utils/blob/main/examples/hand_truck_w_boxes/README.md This function adds a stack of cardboard boxes, sorted by cross-section size. It also introduces translation and angle jitter to randomize the stack's appearance. -------------------------------- ### Adding Multiple Random Box Stacks Source: https://github.com/nvidia-omniverse/usd_scene_construction_utils/blob/main/examples/hand_truck_w_boxes/README.md This function adds multiple random box stacks, aligned and stacked on the x-axis. It's used to create a grid-like arrangement of box stacks. === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.