Archived post by Ambrosiussen

Here’s a handy menuscript snippet to get all unique values of a certain attribute to show up in the little parm dropdown menu. Example with name attribute on points: “`import hou
AllAttribValues = set(hou.pwd().geometry().pointStringAttribValues(‘name’)) Pairs = [[x, x] for x in AllAttribValues]
return sum(Pairs, [])“`

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20205701/24/20/unknown.png

Archived post by SniperJake945

its vvvv simple, i learned about it in some random twitter thread. basically in a solver at each time step you want to:
“` Use an Add sop with delete geom but keep points, turned on “`
“` //point wrangle A //find two near points to any given point, and project onto the edge that spans those points //projecting fully causes instability so maybe just blend between ur current point position and the projected position //also connect the current point to it’s two nearpoints with polylines “`
“` //point wrangle b //relax that shit //if our current point is too close to either of it’s two neighbors, push away from those neighbors //also blend again to the relax position to prevent crazy instability “`

and if u dont want to implement it urself, here’s my file

the basic version of it looks like farm plots to me, which is really cool

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20194912/23/19/stupid_annealing_JR.hip
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20194912/23/19/unknown.png