Save all the Geometry with different modes and standard deviation

Can you please tell how to save the SSM geometry from shapework software?

It shows that I can slide the standard deviation value and and then save the ‘Current mesh’. But I want to save all the geometry between +/- 2 standard deviation for different mode.

Please let me know show to save those 100s of geometry in an automatic way.

The easiest way would be with the shapeworks analyze command:

Usage: analyze [args]...

Offline analysis of a shapeworks project, output json and meshes

Options:
  -h, --help            show this help message and exit
  --name=STRING         Path to project file.
  --output=STRING       Path to output file.
  --range=FLOAT         Standard deviation range for PCA [default: 3.0].
  --steps=INT           Number of steps to use for PCA [default: 21].

This will write the particles and meshes for as many steps and range as you’d like. E.g.

pca_mode_1_domain_0_minus_0.4.pts
pca_mode_1_domain_0_minus_0.4.vtk
pca_mode_1_domain_0_minus_0.8.pts
pca_mode_1_domain_0_minus_0.8.vtk
pca_mode_1_domain_0_minus_1.2.pts
pca_mode_1_domain_0_minus_1.2.vtk
pca_mode_1_domain_0_minus_1.6.pts
pca_mode_1_domain_0_minus_1.6.vtk
pca_mode_1_domain_0_minus_2.pts
pca_mode_1_domain_0_minus_2.vtk
pca_mode_1_domain_0_plus_0.4.pts
pca_mode_1_domain_0_plus_0.4.vtk
pca_mode_1_domain_0_plus_0.8.pts
pca_mode_1_domain_0_plus_0.8.vtk
pca_mode_1_domain_0_plus_1.2.pts
pca_mode_1_domain_0_plus_1.2.vtk
pca_mode_1_domain_0_plus_1.6.pts
pca_mode_1_domain_0_plus_1.6.vtk
pca_mode_1_domain_0_plus_2.pts
pca_mode_1_domain_0_plus_2.vtk

Thank you for your reply.
I have additional query. In this case we can save particles and meshes only 21 steps.
How can we increase these step numbers in shapework software?

Also how can we save meshes in shapework software? I can see the option to ‘Export PCA mode particles’.

Did you try the “–steps” option to change the number of steps?

There is also “Export Current Mesh” in the file menu.

Thank you for your reply.
It is working now.