Add scene_prep utilities and update Isaac Sim launch scripts#324
Merged
andrewjong merged 2 commits intomainfrom Mar 20, 2026
Merged
Add scene_prep utilities and update Isaac Sim launch scripts#324andrewjong merged 2 commits intomainfrom
andrewjong merged 2 commits intomainfrom
Conversation
Add simulation/isaac-sim/utils/scene_prep.py with four helpers: - scale_stage_prim: apply uniform XYZ scale to a stage prim - add_colliders: recursively apply CollisionAPI to all mesh prims - add_dome_light: add/update a dome light (intensity=3500, exposure=-3) - save_scene_as_contained_usd: collect Nucleus assets into a local directory Update example_one and example_two launch scripts to use scene_prep for environment scaling, collision setup, and lighting instead of inline UsdLux calls. Fix two_drone_scene_import. Update write-isaac-sim-scene SKILL.md to reference scene_prep utilities and ignore prepare_scene.py in .gitignore.
andrewjong
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
simulation/isaac-sim/utils/scene_prep.pywith four reusable helpers:scale_stage_prim,add_colliders,add_dome_light,save_scene_as_contained_usdexample_oneandexample_twolaunch scripts to use scene_prep for environment scaling, collision setup, and lightingtwo_drone_scene_importwrite-isaac-sim-sceneSKILL.md to document and reference scene_prep utilities