Step division


#1

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?

Thanks!

Paul


Change Linear Array Spacing in Grasshopper?
Conditional functions
Conditional functions
#2

step_division_2018Jan25a

step_division_2018Jan25a2

step_division_2018Jan25a.gh (6.2 KB)


#3

that’s perfect :ok_hand: Thanks!


#4

Simple math.


step_division_2018Jan25b.gh (10.5 KB)


step_division_2018Jan25c.gh (8.3 KB)


#5

Thanks, the first exemple was already perfect :smiley: