In this post David Bachman figured out how to achieve differential growth without scripting by looping Kangaroo trough Anemone.
He only uses a couple lines of python “to split line segments that get too long. That could have been done with only Grasshopper components, but doing it in Python was just too easy.”
I don’t speak any Python - nor any other code - and I can’t figure out what this code does exactly. Would anybody be so kind as to “translate” it to the respective grasshopper components?
This is the script - it’s also in the attached .gh file
import rhinoscriptsyntax as rs
increment = 0.01
splitLength = 2.0
for i in range(len(Lines)):
if rs.CurveLength(L)> splitLength:
DifferentialGrowth.gh (14.6 KB)