Shape edge tools

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

You can find additional shape tools under Shapes in the main menu.

Compute First/Street Edges

This operation automatically calculates the first and street width attributes of the selected shapes. It works as follows: First it finds the nearest street (within 100m) for every edge of a shape. The corresponding street width attribute is set to the width of the nearest street. The edge closest to a street is set as the first edge (edge 0).

Set First Edge

This operation sets the first edge of a face to the currently selected edge. This step is often needed to orient a face's "zero" edge towards a street (e.g. for placing the buildings front correctly). If a face is selected, the highlighted gradient line indicates the first edge (with gradient from vertex 0 to vertex 1).

Set Street Edges

This operation marks selected edges as street edges. More specifically, it sets the street width object attribute array to 1 for selected edge indices. When mapped to a CGA rule, the streetWidth() attribute can be used to identify edges or faces that are facing a street. (see also the comp operation in CGA reference).