BigRoy / usd-qtpy

Python Qt components for building custom USD tools.
MIT License
59 stars 9 forks source link

Replace example window with dedicated example editor in the `usd_qtpy` lib #10

Closed BigRoy closed 10 months ago

BigRoy commented 10 months ago

As a replacement to #8 this exposes the example editor to command-line to open with a USD file.

In the form of:

python -m usd_qtpy "/path/to/file.usd"

There's also some minor restructuring of a base class which isn't necessarily crucial to the change but had to be done either way, so I included it here.


@Sasbom would this work for you?

@MustafaJafar would you say this is an improvement on making it easier to get started? or harder? Since you ran the earlier example window before I wonder if that was easier. Note how the updated readme still provides examples to run directly from e.g. Python code as well. Does that suffice?

Sasbom commented 10 months ago
python -m usd_qtpy "/path/to/file.usd"

Looks good!