Editing Roof

The Roof Editor view shows the roof of a building body part. The numerical details are shown on the Properties page of the Side Bar.
The Roof Editor view can be zoomed in and out by using the scroll wheel of the mouse. It can also be rotated by right clicking on a facade line and choose "Rotate view to align". The selected line will then become the base of the drawing,
Initially the roof is flat and horizontal.
The user can make the roof slanted (by editing the heights of the roof's corner) and/or divide the roof in parts. Each part should be a flat polygon and the parts should completely cover the roof. The roof may have vertical parts (slope=90), but parts with slope>90 are not supported
When the user leaves the Roof Editor view, the program calculates the shape of the body part 's sides and of the walls and the ceiling of the zones that are [partially] inside the body part. The user may also press "Apply" button to do the same calculations before leaving the view.
To divide the roof
The roof is divided in two steps
- Define the vertices (corners) of the roof parts. To do this, press "Edit vertices" button and then click with mouse the positions of the vertices. A new vertex is inserted at every click. Press "Done" button to finish this step.
It is also possible to move and delete vertices in "Edit vertices" mode. See Editing lines for details.
The coordinates of the vertices may be also edited on the Properties page of the Side Bar. - Define the roof parts. To define a part, press "Add part" button, than mark all vertices of this part with mouse and press "Make part" button. Repeat this operation until the roof is completely covered by the parts.
To edit the height of the roof
Until the user has changed the heights of roof vertices, the height of a [simple horizontal] roof is specified on the building body part's Properties page on the Side Bar (the field labeled "z max").
To define non-horizontal roof (or parts of the roof), the user may edit the z-coordinates of the roof corners on the roof's Properties page. But often this is not convenient because some of heights might be calculated from other ones (the roof parts are flat, so it is enough to specify the height of 3 points on each part). For this reason IDA ICE provides a special tool to set the roof height.
To set the heights of [some of] roof corners, do the following:
- Press "Set height" button (on the bottom of the Editing Roof view). IDA ICE will display a Mode dialog that indicates that you are now in "Setting roof height" mode.
- Select (by clicking with mouse) the vertices those height you would like to change or to use for calculating other heights. Every time you click a vertex, its height becomes available for editing (just above the vertex in the drawing) and you can change it if desired.
At every step, all heights that a selected or may be calculated from the selected ones are shown on the drawing. The changed (either by the user or by the program) are written in red, the unchanged are written in blue. The selected vertices are marked with green circles around them, the calculated ones are marked with red circle. The roof parts are filled in yellow (if flat) or cyan (if non-flat). - If you select a vertex that is already selected, you will be prompted to choose either to unselect it or to edit its height.
- To accept the changes, click "Ok" button in the Mode dialog. You can also withdraw all changes by pressing "Cancel" button.
Notes:
- If you change the height of the body part (field "z max" on the body part's Properties page) for a body part where the heights of the roof corners is explicitly defined, the whole roof (i.e., all vertices) will be moved up or down by the value of the change of "z max".
- It is allowed to define roof parts outside of the part of the building body. They will shade the building, but will be ignored in calculation of zone shape and adjacency. The roof parts should not intersect the boundary of the part of the building body.