Bug located in start API after running add_dataset

Aberta
#238 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 6 dias

@LKasianAnsys já está trabalhando nisso.

Desde 20/11/2026.

  • #239 de @LKasianAnsys — aberto

Avaliação

Esta issue ainda não foi avaliada.

Descrição

🐞 Description of the bug

When I run the start API with an input, after running add_dataset first, the new dataset does not appear in the viewer canvas.

📝 Steps to reproduce

In VISOR, in both CLIENT and SERVER mode I see the following behaviour.

  • initialize instance on a port
  • visor-cli instance add tests/files/many_blocks/many_blocks.vtm
  • visor-cli instance start examples/assets/vtk_scene_sphere_l2_b3_r32_v3_c1_z0.vtm

What should happen: the 'start' API is should clear the scene, add the new dataset, then start the viewer/trame server.
What I see: No datasets are rendered in the canvas. The examples/assets/vtk_scene_sphere_l2_b3_r32_v3_c1_z0.vtm dataset correctly shows up in the tree view panel. But no rendered dataset in the canvas.

📦 Installed packages and configuration

Windows, dev environment within the visor repo

🚦 Defines the severity of the bug. In the case of class-3, specific information must be added.

Class 1 - Crash/Major data loss

📦 Support ticket ID

No response

🐞 Found in

No response

🩹 Fixed in

No response

Root cause

Root cause: Because there was already a dataset in the scene before the start API was called, the cross section widget got reset to the origin when the scene is cleared. And when the new dataset was added to the scene, the 'reset' was treated as a deliberately set plane position, rather than adjusting it at the correct edge of bounds for the new dataset, so that it would be visible.

Third Party
  • This bug is introduced by a third party
Released Bug
  • This bug is in a released product
Linguagem predominante
Python
Estrelas
3
Forks
1
Merge médio
5d 9h
PRs com merge (30d)
23

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ansys/Visual-Interactive-Simulation-Object-Renderer

Todas as issues de ansys/Visual-Interactive-Simulation-Object-Renderer

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.