Step division


Hi Everyone,

I’m trying to define a surface in grasshopper. The idea is to be able to define the length of the object with a maximum length

if you define 500mm it creates an object of 500mm length,

but if you put 1500mm, it create 2 equal parts of 750mm

if you put 2300mm, it create equal part of 766mm

never doing a surface widder than 1000mm

Is this something possible?



Conditional functions
Change Linear Array Spacing in Grasshopper?
Conditional functions


step_division_2018Jan25a2 (6.2 KB)


that’s perfect :ok_hand: Thanks!


Simple math. (10.5 KB) (8.3 KB)


Thanks, the first exemple was already perfect :smiley: