I'm having trouble getting gable roofs to work on square shapes. See attached images. In CE 2015.2, when you rotate the scope by 90°, the roof turns flat. If you rotate it by 270°, it turns into a pyramid! In CE 2016.0, the roof is messed up no matter what. This can be "fixed" by making the shape slightly irregular, but is that expected behavior? Seems rather strange.
Solved! Go to Solution.
This is a known bug that we are currently working on, but we didn't know about the rotation details, so thanks for pointing this out.
This is a known bug that we are currently working on, but we didn't know about the rotation details, so thanks for pointing this out.
Ah, I see. Good luck fixing it.
Do you maintain a public bug list? I couldn't find anything, or looked in the wrong places.
Hello L R,
there is no public known issues list for CityEngine.
However this forum can be used to report issues, share workarounds and updates for bug fixes.
It is regularly synced with the development backlog of the software.
Is this another bug? When I change the index on a shape with many faces, the roofShed operation doesn't produce the expected results either.
Could you explain further why you think it doesn't produce the expected results? Could you describe your expected result please?
I'm using byHeight to extrude the roof, so scope.sy should always equal it. As you can see in the console output on the right, when I turn the roof like it's pictured, the model height doesn't match the attribute height - it should meet the purple wedge's top, but it's much lower.
Would you mind sharing your scene file and rule file so that we could take a closer look at it?
Hello L R
Thanks for sending the repro files. I was able to reproduce a case where the import looks the same way. It seems to be an accuracy issue of the generated vertex coordinates. The GDB import should not show such a behavior.
The issue has been reported to the CityEngine development team.