I would like to use an iws to apply a certain translation to a mesh. To do this I replace the “matrix” parameter with a placeholder as you can see below.
Therefore I assume that the placeholder is a 4x4 matrix which is in this case read row by row.
To run this automatically, I have a python script that calls the ImFusionSuite together with the workspace file and a string composed of replacements for placeholders. Part of this string where the placeholder “Trafo” is replaces is
However, when this trafo is applied to the mesh, I get unexpected results
I assume it’s the order in which I pass the values that does not match…
How could I fix this?
I am not sure I understand the way you pass the Trafo value.
The target value should be something like 1 0 0 0.05 0 1 0 0 0 0 1 0 0 0 0 1 (and not ['1 0 0 0.05 0 1 0 0 0 0 1 0 0 0 0 1'])
It should be written in the Log Window: [Workspace] Placeholder (Trafo) will be replaced by: 1 0 0 0.05 0 1 0 0 0 0 1 0 0 0 0 1