hello. CityEngine Developers
I'm a newbie who recently started studying CGA.
I am practicing coding while watching the console window.
I noticed something strange.
Below is the code I wrote to see how the rule works.
Lot -->
split(x){
'.5 : print("1st") A |
'.5 : print("2nd") B C
}
A -->
print("3rd")
B
C
B -->
print("4th")
C -->
print("5th")
Let's look at the console output
1st
2nd
3rd
4th
5th
4th
5th
The console output from CityEngine looks like this
The output is not what I expected.
Here's what I expected to see
1st
3rd
4th
5th
2nd
4th
5th
The concept of CGA is procedural modeling, but the console does not follow the procedural concept.
You need to adjust the output order of the console.
It would be nice to be able to output additional messages to the console.
For example, displaying a "rule ended" message when there are no more subrules.
#rule started
1st
3rd
4th
5th
#rule ended
#rule started
2nd
4th
#rule ended
#rule started
5th
#rule ended
Also, I would like to see an "attribute value trace" button in the console window so I can see how the values of the declared variables are changing over the course of the rule.
Thank you!