ansys/pyansys-geometry

Implementing world transform matrix in components for proper representation

Closed this issue · 3 comments

With the new JSON that is received from the server when creating a component, it is now possible to have a worldTransform. This is specially useful for occurences and instances. Since they all depend on the same master but just have a different transform. We should expose them as part of the information send back to the components, and keep track of it for plotting purposes.

This also implies figuring out how to pass the matrix to PyVista on its plotter in an efficient way.

@RobPasMue we should be able to close this. Component.get_world_transform() is implemented. Lmk if I'm missing something :)

That's right. Closing :)