In order to import shapes from an external source, selectfrom the main menu. Choose and select the appropriate file format.
Clickand depending on the file format, different options will be available for import.
Before importing shapes, prepare the polygons as below. Information about the supported import formats may be found here.
Creating and Preparing Polygons for Shape Import
Beside the option to automatically create lots from street networks, lots can also be imported into the CityEngine. Typically this happens in cases where exact lots are needed, e.g. historically correct footprints of buildings in archaeology. The CityEngine supports import of lots as polygon data in the ".obj" and ".dxf" format. Thus any tool that can write one of these formats can be used for shape creation.
The following properties have to be considered when creating shapes:
- The CityEngine interprets the order of the vertices to calculate the orientation of the lot. Draw polygons counter-clockwise to create a lot facing upwards. (This is the normal case, as e.g. an extrusion of the lot should go upwards)
- If the front facade of your future building should be addressed by CGA
shape grammar operations, make sure that the first edge you draw represents the
side of the front facade. The CityEngine lets you add special rules to the
front facade, which will be the face that comes from the first edge of the lot
- Depending on the file format, CityEngine interprets group, entity or object names as names for start rules. As a consequence, make sure that you group your meshes and assign names that are valid CGA shape grammar identifiers (e.g. no special characters, space, etc.).
- Pay attention to the dimensions. Some tools might have different units or export units differently. Check the exported file in a text editor to see the actual dimensions. The CityEngine has no predefined units. Most import wizards offer you an option to apply a uniform scaling of the imported data.
- In addition, the remarks about asset formats for the insert shape operation also apply here.
Copyright ©2008-2017 Esri R&D Center Zurich. All rights reserved.