After the Dynamo teams persentation today on design script I got energized and dove back into Dynamo’s Imperative functions. I have had the goal for a few years to get Kmean to work in Design script with no luck. I got a bit closer today but still confused and not even sure if it is even possible.
Attached is the .dyn with the required function. How to inbed them into a while loop is the question?!?
Kmean (Python) explanation : CS221
Kmeans.dyn (54.0 KB)