Firstly, I’ve enjoyed exploring Shapeworks. It’s a very powerful piece of software, and I particularly found the correspondence particle approach to shape modeling effective in improving the efficiency of the modeling workflow. Great work!
I’ve gone through the workflow in the software GUI. At the end of the workflow, I can modulate a single PC-mode between -2 < Z < +2 to effect the shape of the mean mesh. Then I see in File->Export I can export the current mesh.
I am trying to reproduce this workflow programmatically using the API:
- Load a previously built SSM (created using GUI)
- Provide an array of z-scores for each PC mode, calculate the loadings, and apply to mean model
- Export this updated mesh geometry
Is this possible? The python API seems to only allow for basic analysis outputs such as sensitivity. I’ve looked at a few of the Python examples, but haven’t identified a solution. Any advice would be greatly appreciated.