Isotrimming for variable z value

Hello everyone,

I’m stuck on a problem and would appreciate your help. I have 108 surfaces, and each one can change based on parameters. The heights of these surfaces always increase in multiples of 4. I want to divide these surfaces into 2x2 grids.

To do this, I used the Bounding Box tool and extracted the Z component to get the height. Then, I divided that value by 4 and connected it to the V count input to determine how many times the surface would be divided vertically. However, the result is that only one surface is being divided 12,000 times, and I can’t figure out why this is happening.

Since these surfaces will be optimized, I need them to always be divided into 2x2 grids regardless of the height change.

If anyone could help me solve this, I would greatly appreciate it!

Thank you in advance.


apartman code 3 KISA.gh (352.2 KB)


apartman code 3 KISA_2025May4a.gh (65.7 KB)

Hello, thank you for your help. However, what I actually want to do is divide surfaces with heights changing in increments of 4, 8, or 12 meters into 2x2 meter squares. The heights of these surfaces change, for example, to 8, 4, or 12 meters, and I want to divide them into 2x2 small squares despite these varying heights.

This is what im looking for. Thank you so much for your help!

also i want to add something if you could help me. i want to add some random extruison but extruison said surface cant be extrude

This is from your first post:

:man_facepalming:

i know that he is using wrong surfaces but its still work on z axis :+1:

apartman code 3 KISA a.gh (361.3 KB)

1 Like