Trouble setting text properties with #709
-
|
I have created a vtk pipeline to visualize some FE data (unstructured grid). I am getting quite desperate with Calls such as thse seem to have no effect scalarBarActor.SetLabelFormat("%2.1f") This is my trame setup server = get_server(client_type = "vue2") with VAppLayout(server) as layout: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
|
I don't want to jump into any conclusions Anyways, the problem (even if it is related to the link above) is still not solved. |
Beta Was this translation helpful? Give feedback.
-
|
I think the problem may be that VTKjs is not up to par to C++ VTK when it comes to plots, axis, etc. |
Beta Was this translation helpful? Give feedback.
-
|
Browser
…On Tue, Mar 25, 2025 at 16:00 Davood Ansari ***@***.***> wrote:
My code will not work without "from trame_vtklocal.widgets import
vtklocal".
I assume this means I am using tramek-vtklocal.
Does this mean that the rendering happens on the (browser end) or on the
server end?
—
Reply to this email directly, view it on GitHub
<#709 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACH45SFMEBIGDHVARFUGIL2WHGXBAVCNFSM6AAAAABZVG44BCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRSGA4DGMI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
VtkRemoteViewis indeed the way to go. Your remaining issue is just with VTK at that point not the mismatch capabilities between VTK and vtk.js.To prevent the second window to show, you can set it to be OffScreen like here
Then, if you must leverage the rendering within the browser, you could move to trame-vtklocal once everything is rendering/working the way you want.