Skip to content

Instantly share code, notes, and snippets.

@andrearastelli
Last active January 28, 2021 22:49
Show Gist options
  • Save andrearastelli/37a4192db05cf8e2e2cf8db354289fa7 to your computer and use it in GitHub Desktop.
Save andrearastelli/37a4192db05cf8e2e2cf8db354289fa7 to your computer and use it in GitHub Desktop.
Houdini - Voronoi cell naming over poligons
int np = nearpoint(1, @P);
s@name = concat("piece_", itoa(np));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment