Weird roofGable behavior on square shapes

1807
10
Jump to solution
07-12-2016 06:35 AM
LR
by
Regular Contributor

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.

WEB__0001_Layer 1.jpg

WEB__0000_Layer 2.jpg

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
CherylLau
Esri Regular Contributor

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.

View solution in original post

10 Replies
CherylLau
Esri Regular Contributor

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.

LR
by
Regular Contributor

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.

0 Kudos
ThomasFuchs
Esri Regular Contributor

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.

0 Kudos
LR
by
Regular Contributor

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.

scopeheight.png

0 Kudos
CherylLau
Esri Regular Contributor

Could you explain further why you think it doesn't produce the expected results?  Could you describe your expected result please?

0 Kudos
LR
by
Regular Contributor

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.

0 Kudos
CherylLau
Esri Regular Contributor

Would you mind sharing your scene file and rule file so that we could take a closer look at it?

0 Kudos
LR
by
Regular Contributor

Here you go. The problem is in new_scene_02.cej. When I was making the scene I ran into another problem I get sometimes: the edges of imported shapes end up jaggy - see new_scene_01.cej.

jaggies.png

ThomasFuchs
Esri Regular Contributor

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.

0 Kudos