Hi there, I’m creating a web app using ParaView and Trame for heart valve surgery planning. Essentially, users can upload a 3D model of a heart and visualise the placement of a replacement valve on this model.
I have the following shape representing the valve that I’ve created using the cylinder and disc sources in ParaView. The idea is for the user to be able to set the radius and height of the grey cylinder, and the red part of the shape should change its radius and height accordingly. The user will also be able to move and rotate this whole shape around.
Currently, I can change the dimensions and positioning of just the grey cylinder using the transform filter, however I’m struggling to attach the red part to the grey cylinder and update its dimensions. I have tried using the transform filter on the red part so that I can adjust its dimensions, and then use the append geometry filter to join the red part to the grey cylinder so they are joined together when adjusting the valve’s position and angle, however this doesn’t work in the way I want it.
I guess my overall question is, is there a way to join these parts of the shape together so that their position and angle can be adjusted together, but the dimensions of each part can be adjusted separately?