FloorPlan-DSL

Concepts of the FloorPlan DSL (v2)

Space

Space concepts are the main concepts in a floor plan. They can be used to describe any room or hallway as long as it is bounded by walls. The concept is agnostic to the functionality of the space itself. i.e. you can model a reception, a hallway, a storage room, a sleeping room, a waiting area, and any other space with the same concept.

Attributes

Space <name>:
        shape: <shape>
        location:
            wrt: <frame>
            of: <frame>
            translation: x: 0.0 m, y:0.0 m
            rotation: z: 0.0 deg
            {spaced}
            {not aligned}
        {wall:
            {thickness: 0.0 m}
            {height: 0.0 m}
        }
        {features:
            <feature>
        }

Entryway

The entryway concept is used to model the space for doorways and other openings between rooms and the outside.

Attributes

Entryway <name>:
    shape: <shape>
    location:
        in: <wall reference 1> {and <wall reference 2>}
        translation: x: 0.0 m, y: 0.0 m, z: 0.0 m
        rotation: y: 0.0 deg

Window

Attributes

Window <name>:
    shape: <shape>
    location:
        in: <wall reference 1> {and <wall reference 2>}
        translation: x: 0.0 m, y: 0.0 m, z: 0.0 m
        rotation: y: 0.0 deg

Floor Features

Features are common in the floor of a floor plan

Column

Attributes

Column <name>:
    shape: <shape>
    height: 0.0 m
    location:
        from: <frame>
        translation: x:0.0 m, y:0.0 m
        rotation: z: 0.0 deg

Divider

Attributes

Divider <name>:
    shape: <shape>
    height: 0.0 m
    location:
        wrt: <frame>
        translation: x:0.0 m, y:0.0 m
        rotation: z: 0.0 deg

Shapes

Rectangle

Rectangle (for Space or Feature)

Attributes

Rectangle width=0.0 m, length=0.0 m

Rectangle (for Entryway or Window)

Attributes

Rectangle width=0.0 m, height=0.0 m

Polygon

Polygon (for Space or Feature)

Attributes

Polygon points:[
            <points>,
        ]

Point

Attributes

(0.0 m, 0.0 m)