ansys / ansys/pyensight

shuttle example - export rendering as glb not working as expected

Open
#492 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10
Forks
2
Avg merge
8h 40m
Merged PRs (30d)
4

Description

Hi,
Just adding the following piece of script at the end of the shuttle example:
glbdata = session.geometry()
with open("simple_example.glb", "wb") as fp:
fp.write(glbdata)

Results in .glb file like this:
![Image](https://github.com/user-attachments/assets/f850065f-eff9-4555-a5e5-c358ab8c49cc)

Wondering if somebody know how to make the glb including all the expected renderables from the shuttle example?
Best,
P.S. Actually, the legend is also not visible in the glb (only using the GUI and exporting as .AVZ)

Contributor guide

Open the contributing guide

Research direction

Start with the shuttle example and the `session.geometry()` call shown in the report, then investigate how that export represents the example's renderables. Compare the generated GLB with the GUI's AVZ export; done means the expected renderables and legend are present in the GLB.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.