Region difference error


I was trying a script for the Mondrian pattern from one of the tutorials on youtube and somehow cannot get past this step. There are two things that I would like your help from

(I) Why was the need to use shift list with the existing ones in order to remove the overlapping regions?
(II) In the script that I tried, the region difference isn’t working, any leads for that (18.3 KB)

Thank you

You can simplify it by splitting initial rectangle surface.

1 Like

Alright. Thanks.