Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
RESAMPLE A CUT SURFACE
wb_command -surface-cut-resample
<surface-in> - the surface file to resample
<current-sphere> - a sphere surface with the mesh that the input surface
is currently on
<new-sphere> - a sphere surface that is in register with <current-sphere>
and has the desired output mesh
<surface-out> - output - the output surface file
Resamples a surface file, given two spherical surfaces that are in
register. Barycentric resampling is used, because it is usually better
for resampling surfaces, and because it is needed to figure out the new
topology anyway.