What’s new in CityEngine 2015.0?

0
1033

CE2015 Splash Screen

It’s that time of year when a new release of CityEngine becomes available (okay we think it maybe the 9th of April)!  Yes we would love more bug fixes and features added, but they’re a small development team so we shall forgive them (this time…).  

As usual the Changelogs are publicly available here.

CGA Changelog

2015.0
CGAC 1.5
new functions:

changes to existing features:

  • split operations:
    • missing sizes are not allowed any longer. For instance, split(x) { A } does not compile anymore. The correct equivalent is split(x) { ~1: A }.
    • functions in size expression do not need extra parantheses anymore.
  • @Hidden annotation: changed propagation across imports. A hidden import hides all its imports recursively.
  • uid shape attribute deprecated. Use the getTreeKey function instead.

bugfixes:

  • Fixed a bug in the cgb decoder which failed to read compiled cga files with a large number of attributes/rules/splits.
  • Vertexmerger: fixed a bug which prevented hole vertices to be merged with vertices of other faces.
  • float() function: made string-to-float conversion independent of locale.
  • split operations: intensified internal mesh cleanup to reduce memory load, fixed a bug which led to undesired vertex-merges.
  • roofHip operation: avoid duplicate vertices.
  • offset, roofGable and roofHip operations: made offset / roof construction more stable on polygons with co-linear vertices and fixed a memory explosion bug.
  • cleanupGeometry operation: fixed bug which led to illegal material assignements (“filled holes rendering bug”) on edge cleanup for geometries with per-face-materials.
  • Fixed undefined behaviour if the same name was used for a scalar attr and a map attr.
  • CGA compiler: Parameteric rules and functions with a large number of parameters do not hang the compiler / CityEngine anymore.

 

Python Changelog

Status Commands
new get/setExportDatasetRelationships in FGDBExportModelSettings
new get/setExportFeatures in FGDBExportModelSettings
changed get/setAddObjectAttributes renamed to get/setExportObjectAttributes in FGDBExportModelSettings
new Several new methods in FGDBImportSettings
new setFloat in ImageExportTerrainSettings
new additional argument animate for View3D.restoreBookmark and View3D.setCameraPerspective
note Selection behaviour change in UI changes behaviour of ce.selection(), ce.setSelection() in cases where shape has a model. To get the shape from a selection with shape and model, usece.getObjectsFrom(ce.selection, ce.isShape)[0] instead of ce.selection()[0]