[070] How to Split Procedural Windows and Facades in CityEngine
Continuing from the last session, we will keep splitting facade 0. Below is an image to use as a reference for the measurements. figure 1 Among the code we wrote last time, the part corresponding to the ground floor is as follows. Front_f_Ground_f_wall --> split(x){~1 : X. | 13 : Front_f_Ground_f_wall_door | ~1 : X.} # ↑ The section where the door is located Now we will subdivide Front_f_Ground_f_wall_door. It looks like it is arranged as 'two windows - door - two windows'. Then let's split it up. Front_f_Ground_f_wall_door --> split(x){~4.5 : color(0,0,1) FFGWD_window | ~5 : FFGWD_door | ~4.5 : color(0,0,1) FFGWD_window} #In case the window sizes might change, I split everything using approximate values. figure 4 The blue area where the windows are located is where two windows go, so we split it once more. FFGWD_window --> split(x){'0.5 : FFGWD_window_final | '0.5 : FFGW...