Skip to main content

Internal and External Walls

Internal and external walls with adjacency code

Written by Holly Conrad Smith

Use this to automatically sort the walls of a set of room polygons into internal partitions and the external envelope — useful when generating floor plans or apartment layouts, so you can style, measure, or cost the two wall types differently.

The output is an object with two lists: walls.internalWalls and walls.externalWalls.

Category: Generative

Kind: Operation

Description: internal and external walls with adjacency code

Inputs

Name

Abbreviation

Type

Access

Description

rooms

R

Feature

List

room polygon features

tolerance (optional, default 1)

T

Number

Item

how close two room edges need to be to count as shared/adjacent

Outputs

Name

Abbreviation

Type

Access

Description

walls

W

Object

Item

internal and external walls with adjacency code

How to

  1. Add the Internal and External Walls node.

  2. Feed in a list of room polygons as "rooms" — typically from Read Static Layer, Read Feature Layer, or the drawn geometry on your canvas.

  3. Adjust "tolerance" if adjacent rooms aren't being detected as sharing a wall.

  4. Read walls.internalWalls and walls.externalWalls from the output for the two wall groups.

Did this answer your question?