Skip to content

Allows setting USD variants on loading from file - #408

Closed
Mayankm96 wants to merge 11 commits into
mainfrom
lorenwel-feature/set_usd_variants
Closed

Mayankm96 wants to merge 11 commits into
mainfrom
lorenwel-feature/set_usd_variants

Conversation

@Mayankm96

@Mayankm96 Mayankm96 commented May 13, 2024 •

Copy link
Copy Markdown
Contributor

Description

This PR introduces a variants attribute in the UsdFileCfg which can be used to set different variants when loading an asset from a USD file.

  • New function set_usd_variants which applies variant sets to a prim
  • New, optional variants attribute in the UsdFileCfg to specify the attributes to be set
  • Add variant setting in the _spawn_from_usd_file function

Fixes #401

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have run the pre-commit checks with ./orbit.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have run all the tests with ./orbit.sh --test and they pass
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@Mayankm96 Mayankm96 changed the title Allowscccccbjhcbvkkfbhrdkefkcvvivnkhbnnfrntnuhfjuv setting USD variants on loading from file Allows setting USD variants on loading from file May 13, 2024
@Mayankm96 Mayankm96 closed this May 13, 2024
@Mayankm96 Mayankm96 added the duplicate This issue or pull request already exists label May 13, 2024
iamdrfly pushed a commit to iamdrfly/IsaacLab that referenced this pull request Nov 21, 2024
# Description

Specifies that the `--timeout` argument to `run_all_tests.py` is an int

Fixes isaac-sim#407 

## Type of change


- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./orbit.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] I have run all the tests with `./orbit.sh --test` and they pass
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: AutonomousHansen <[email protected]>
Co-authored-by: jsmith-bdai <[email protected]>
Co-authored-by: Mayank Mittal <[email protected]>
LJones-alt pushed a commit to LJones-alt/IsaacLab-Laura that referenced this pull request Jul 1, 2026
# Description

Specifies that the `--timeout` argument to `run_all_tests.py` is an int

Fixes isaac-sim#407 

## Type of change


- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./orbit.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] I have run all the tests with `./orbit.sh --test` and they pass
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: AutonomousHansen <[email protected]>
Co-authored-by: jsmith-bdai <[email protected]>
Co-authored-by: Mayank Mittal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Proposal] Allow setting USD variants

1 participant