Hello,
Just remove the following from the script, since it is, apparently,
obsolete:
if int(move):
cmd.alter_state(1, selection, "(x,y,z)=sub((x,y,z), centroid)",
space={'centroid': centroid, 'sub': cpv.sub})
Or just download again the script, they already
Hi Smith,
There was an error in script, incidentally, I introduce the error, but now
is fixed. Please download again the centroid.py script.
Cheers,
Osvaldo.
On Fri, Nov 20, 2015 at 3:00 AM, Smith Liu wrote:
> Dear All,
>
> When I run the centroid.py, I have the following error message:
> "Nam