How to make a Grid Overlay of residence walls

From Tygron Preview Support Wiki
Revision as of 15:34, 30 January 2024 by Frank@tygron.nl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

For calculations regarding spatial effects on residential objects, it can be relevant to be able to test the presence of those effects specifically on the outsides of residential Buildings rather than across the entire object. This is especially relevant for calculations which deal with direct lines of sight, such as being able to see or hear certain spatial effects.

To properly calculate such spatial effects, it is necessary to first calculate the presence of walls of residential objects. This requires calculating the locations of (the outsides of) walls, the locations of residences, and then the combination of the two.

Editor → Current Situation (Ribbon tab) → Overlays (Ribbon bar)
How to make a Grid Overlay of residence walls:
  1. Create a Grid Overlay of walls in general.
  2. Create a Grid Overlay of residences.
  3. Averaging for residences.jpg
    Add an Average Overlay configured so that:
    Its name is "Near residences".
    The input is the Grid Overlay of residences.
    The averaging distance is slightly more than the grid cell size.
  4. Walls for residences.jpg
    Add a Combo Overlay, configured so that:
    Its name is "Residence walls".
    Input A: The Grid Overlay of walls.
    Input B: The "near residences" Overlay.
    Formula: AND(GT(A, 0), GT(B, 0))
  5. Configure the legend of the Combo Overlay to have a distinct entry for the value "0" and the value "1".

Notes

  • By averaging the locations of residences, an effect is achieved which slightly highlights the surroundings of the residences. That highlight then matches with the calculations of the outside of walls to achieve a conclusion of "this is a wall near a residential object".

How-to's