Select to view content in your preferred language

Reverse/Invert Lot Orientation

722
4
02-10-2012 02:22 AM
VictorWilhelm
Emerging Contributor
Is there a tool or recommended method to change how the vertex order is interpreted for determining lot orientation?  I have a large amount of building footprints and property lines representing property lots that I have imported as shapes from .dxf files.

All of the property line shapes are oriented  such that the buildings are extruded into the negative y axis (toward the center of the earth).  I suspect that all of the lots were drawn clockwise. 

The building footprints are a mix.  Some are drawn clockwise and counter-clockwise; therefore some buildings are extruded into the negative y and others are extruded into the positive y. 

I would like to avoid having to re-draw all of these building footprints and building lots in AutoCad. 

Thanks again,

Vic
Tags (2)
0 Kudos
4 Replies
MatthiasBuehler1
Deactivated User
looksie, looksie :

Lot -->
     case convert(y, scope, world, pos, 0,1,0) - convert(y, scope, 
world, pos, 0,0,0) < 0 :
         reverseNormals
         LotNormalUp
     else:
         LotNormalUp
0 Kudos
VictorWilhelm
Emerging Contributor
I was able to do it by right clicking on the shape and selecting reverse normals.  Thanks,

Vic
0 Kudos
bloodybirdbloodybird
New Contributor
I have the same trouble too, If there is a global Settings for this?
0 Kudos
MatthiasBuehler1
Deactivated User
hi !

there's no setting for this yet and has to do how ArcGIS / CE interpret the point order of shapes. ArcGIS always stores shapes in clockwise order while the CityEngine always interprets the shape normal counterclockwise. thus, after an import, those Lot shapes have an inverted normal.

we're aware that this is a case that should be handled better in future, thus you best just manually reverse the normals after importing them.

ok ?
0 Kudos