Hostname: page-component-745bb68f8f-d8cs5 Total loading time: 0 Render date: 2025-02-06T08:56:09.182Z Has data issue: false hasContentIssue false

Inferring a shape grammar: Translating designer's knowledge

Published online by Cambridge University Press:  16 May 2014

Sara Eloy*
Affiliation:
Instituto Universitário de Lisboa/Associação para o Desenvolvimento das Telecomunicações e Técnicas de Informática, Lisbon, Portugal
José Pinto Duarte
Affiliation:
Centro de Investigação em Arquitectura, Urbanismo e design, Faculdade de Arquitetura, Universidade de Lisboa, Lisbon, Portugal
*
Reprint requests to: Sara Eloy, Instituto Universitário de Lisboa, Av. das Forças Armadas, 1649-026 Lisbon, Portugal. E-mail: sara.eloy@iscte.pt
Rights & Permissions [Opens in a new window]

Abstract

This article focuses on a shape grammar, the rabo-de-bacalhau housing style, that was developed to enable the adaptation of existing houses to new requirements and most particular on the process of inference of the grammar. In the article we describe the process undertaken to develop the grammar and what the achievements of the transformation grammar are regarding the possibilities of a mass customization of a dwelling's rehabilitation work. The goal of this article is to describe and discuss how the designer's knowledge was encoded into shape rules. The process used to extract the architect's knowledge and to incorporate it into the transformation grammar enable us to abstract the designer's actions and to define a sequence of actions that can define a possible strategy of design. The proposed design methodology generates dwelling layouts that are legal because they follow the grammar language and adequate because they meet the a priori user and design requirements.

Type
Special Issue Articles
Copyright
Copyright © Cambridge University Press 2014 

1. INTRODUCTION

Shape grammars were invented by Stiny and Gips (Reference Stiny, Gips and Freiman1972) more than 30 years ago. A shape grammar is a set of rules that apply step by step to shapes to generate a language of designs. In 1976 Stiny distinguished between original and analytical grammars. Original grammars enable new designs to be generated, based on a shape vocabulary and the spatial relations between the shapes. Stiny (Reference Stiny1980b) created kindergarten grammars to exemplify how to create an original grammar using Fröbell's building gifts.

Analytical grammars make it possible to understand existing languages. According to Knight (Reference Knight2000), the first research into analytical grammars was carried out by Stiny in 1977, based on an analysis of Chinese lattice designs. This was the first parametric grammar and contained only five rules that enabled all known Chinese patterns to be generated, as well as endless new hypothetical designs. The second approach to analytical grammar was carried out by Stiny and Mitchell (Reference Stiny and Mitchell1978), based on villas by the Italian Renaissance architect Palladio. Since then, numerous analytical grammars have been inferred from the works of various architects. Over the years other grammars, such as parametric grammars and color grammars, have emerged from research.

Shape grammars are defined in terms of shape rules and initial shapes. Each shape grammar defines a language of design. A shape grammar is not a deterministic process because it enables multiple designs to be generated, based on a single language but determined by different choices. The development of a shape grammar language aims to find multiple solutions based on the same set of rules or criteria and not just one solution to a given problem. Therefore, shape rules are used as mechanisms for generating designs. In shape grammars, rules to add and remove shapes can be used to transform spatial compositions. The Euclidean transformations provide for new shapes to be produced by changing the location (translation), orientation (rotation), reflection, or size (scale) of a given shape (Stiny, Reference Stiny1980a). In addition to shapes, labels can be added to shape rules to supply additional information about shapes and to guide them (Knight, Reference Knight1983).

Shape grammars are used to define several kinds of design languages, by specifying new rules, and to describe the properties of designs, through analysis of the rules that generated them. This article focuses on the process of inference of a specific shape grammar that consists of a transformation grammar to adapt houses to new requirements (Eloy, Reference Eloy2012; Eloy & Duarte, Reference Eloy and Duarte2012a).

This research aims to answer the need for a mass rehabilitation of Lisbon's existing housing stock. Approximately 64% of the housing stock in Lisbon is over 50 years old and therefore presents various constructional and functional problems that are the cause of its immediate unsuitability in terms of comfort. Our goal is to define a methodology that will enable a mass rehabilitation of the housing stock so that alternative housing solutions that meet recommended standards without much costs involved can be generated in a customized way answering to the specific needs of families.

This article is divided into three parts. In Section 2, a general approach in given on the use of shape grammars in architecture. The proposed transformation grammar is explained in Section 3, and the process to infer the transformation grammar is described step by step in Section 4.

2. SHAPE GRAMMARS IN ARCHITECTURE

Shape grammars have been applied to architecture using both analytical and original grammars. Analytical approaches are the most frequently used in the research that has been carried out so far.

Studies of analytical grammars aim to explain design languages (by author or typology), but they can also be used as generators of new solutions within the language. Studies of analytical grammars in architecture include those by Stiny and Mitchell on the Palladio villas grammar (Reference Stiny and Mitchell1978), Koning and Eizenberg on Frank Lloyd Wright's house grammar (Reference Koning and Eizenberg1981), Flemming on Queen Anne house grammar (Reference Flemming1987), Li on traditional Chinese architectural grammar (Reference Li1998, Reference Li1999), Duarte on Alvaro Siza's Malagueira house grammar (Reference Duarte2001), Colakoglu on the Hayat house grammar (Reference Colakoglu2005), and Çağdaş on the traditional Turkish houses grammar (Reference Çagdas1996), among many others. The aim of those grammars goes from generating the existing instances to generating new instances in the same language (Colakoglu, Reference Colakoglu2005). These approaches to analytical grammars have different goals, and the grammar is conceived in different algebras. Grammars may use two-dimensional shapes (e.g., Palladian) and three-dimensional shapes (e.g., prairie houses). These forms of representation can be used isolated or combined by using a compound shape grammar defined in different algebras (Flemming, Reference Flemming1987; Duarte, Reference Duarte2001; Eloy, Reference Eloy2012).

Research into shape grammars has been introduced into architectural training courses to promote an abstract method of thinking about architecture. In this context, Li (Reference Li2001) proposed teaching shape grammar to students using analytical grammar in order to understand a specific design language, and used the example of traditional Chinese architecture. This process advocated by Li argues that grammars do not constitute an authoritative definition of style. Analytical shape grammars allow us not only to understand a given language but also to generate different designs based on their compositional rules.

Original grammars exploit design solutions based on a vocabulary of shapes and spatial relations. These grammars are created from the outset by designers and enable a few or endless designs to be generated. As analytical grammars, original grammars are used in architectural training and also by architects in real contexts. Original shape grammars were used to generate new designs such as the “Fallen Tower” in Italy by Rand Brown, an art museum in Taiwan by We Cheng Chang, and a housing complex in Manhattan by Murat Sanyal (Colakoglu, Reference Colakoglu2005). Authors such as Duarte and Beirão (Reference Duarte and Beirão2011), Tuncer and Sener (Reference Tuncer and Sener2010), and Turkienicz et al, (Reference Turkienicz, Gonçalves and Grazziotin2008) also used original grammars in urban design studios to deal with complexity and explore multiple design solutions.

In those grammars several specific areas have been developed in order to explore the use of emergent shapes (Stiny, Reference Stiny1993), curves (Jowers, Reference Jowers2006), graphs (Campbell, Reference Campbell2010) and nongeometric attributes (Li, Reference Li, Koszewski and Wron2002), among others. In addition, several authors are developing computer interpreters to grammars (McCormick & Cagan, Reference Mccormack and Cagan2006; Ertelt & Shea, Reference Ertelt and Shea2009; Li et al., Reference Li, Chau, Chen and Wang2009; Trescak et al., Reference Trescak, Esteva, Rodriguez and Werner2009; Çolakoğlu & Keskin, Reference Çolakoğlu and Keskin2010; Krishnamurti, Reference Krishnamurti2010).

3. TRANSFORMATION GRAMMAR

Shape grammar theories were used to develop a methodology for transforming dwellings based on specific conditions. The developed grammar is called a transformation grammar, because it aims to transform dwellings to adapt them to contemporary user needs.

To tackle the problem of developing a general methodology for housing rehabilitation we used a case study, the rabo-de-bacalhau (“cod-tail”) building type (see rabo-de-bacalhau characterization at http://repositorio-iul.iscte.pt/handle/10071/5526). This allowed us to apply the methodology to concrete buildings so that transformation principles could be inferred and then tested. Only with a specific morphology would it be possible to test different hypotheses for functional rehabilitation.

Within this context, the concept of transformations in design explored by Knight (Reference Knight1989, Reference Knight1994) in her study on stylistic changes was used as a starting point. In this study, Knight presents a process for describing stylistic alterations based on the concept of shape grammars. The relationship between different phases of an author's work may be described by transformation operations that change one phase into another. We propose to call Knight's work the meta transformation grammar (Fig. 1).

Fig. 1. A diagram illustrating the difference between standard shape grammars and transformation shape grammars.

Our transformation grammar, however, proposes a different approach, in that it aims not to understand how rules evolve from an original rabo-de-bacalhau dwelling style grammar through an adapted rabo-de-bacalhau dwelling grammar but to understand the principles and rules that enable original dwellings to be adapted to new designs that meet new lifestyles.

Work done by Colakoglu (Reference Colakoglu2005) explores a grammar that induces a type of transformation because it includes both the rules for generating traditional Hayat houses and the rules that enable the generation of these type of houses but conforming to a contemporary context. Again, our work did not aim to infer rules from the original dwelling layouts nor rules to design new contemporary adapted rabo-de-bacalhau dwellings but rules to transform the original dwellings into new ones.

The transformation grammar enables one specific dwelling to be transformed into another by applying transformation rules rather than generation rules as in a traditional shape grammar. In this grammar, there is no predefined initial shape, but there are countless possibilities because the initial shape is the floor plan of the existing dwelling, which can have many specific and complex shapes.

For the goal of rehabilitation, the use of a shape grammar enables existing houses to be transformed in a very precise and systematic way. This process was used to manage shape transformation within dwellings to create a systematic and methodical process that could encompass all the valid transformation rules for a given dwelling. The transformations respond to functional and technical requirements as well as constructional requirements.

The transformation grammar seeks to produce rehabilitated designs that are “legal projects” because they are in the transformation language and “adequate projects” because they satisfy the a priori set of user requirements (Duarte, Reference Duarte2001). According to Duarte, a grammar applied to an architectural problem must satisfy two functions: it must create or transform an object within a specific language and it must create objects that satisfy requirements stated at the outset. As such, the grammar is structured as a discursive grammar, which includes a shape aspect and a descriptive aspect that evolve in parallel to guarantee that an appropriate dwelling design can be obtained from the description contained in the functional program for the dwelling.

In order to verify the functional suitability of the original dwellings and the rehabilitation proposals, it was necessary to determine the fundamental performance criteria by which housing spaces fulfill functional requirements, and then to find a formalism that could be used to analyze spatial configurations from this perspective. The first task was based on Pedro's (Reference Pedro2000) work, while space syntax was used for the functional analysis of spatial configurations. The transformation grammar clarifies the principles behind the adaptation of the dwellings, such as making circulation more fluid by removing doors in hallways or enlarging social areas by connecting adjacent rooms. The grammar also encodes principles related to constructional constraints, such as avoiding the removal of concrete columns or other structural elements.

3.1. The architectural design process

Although shape grammar was used to produce the transformation, there are several ways of managing the architectural rehabilitation process. The traditional architectural process of planning and designing rehabilitation work relies on the architect's knowledge and proceeds by exploration, using the project program, the existing building, and their combined constraints. To these elements, architects add the human capacity of continuous adaptation and the ability to return repeatedly to the beginning of the process.

This research on design by shape grammars explores a method that seeks to encode both the architect's knowledge and the knowledge acquired from other experiences of rehabilitation work in the form of rules. These rules are used to transform dwellings, and incorporate substance and knowledge, and are assumed to represent the architect's knowledge from a wider perspective. However, although vast, the grammar knowledge itself is limited to the data entered into the knowledge database.

3.2. Implementation of the transformation grammar

At later stages and in more complex grammars, the computerized implementation of a shape grammar is beneficial because it allows a greater amount and variation of designs that will be generated in less time.

Experimental subjects who manually applied Duarte's (Reference Duarte2001) shape rules of the Malagueira grammar to develop a design solution revealed that a grammar written for the computer is difficult and slow for a human designer to understand and apply (Duarte, Reference Duarte2001). This indicates that, in an earlier phase a shape grammar should be written so that it can be easily understood and applied by human designers. This will allow the grammar to be validated and possibly implemented on the computer afterward.

The mechanism used to generate solutions based on the transformation grammar is to a certain extent similar to an expert system because it uses the knowledge of an expert to the problem field and, by using a particular methodology, provides a solution.

Expert systems are used to simulate intelligent human processes for gathering, planning, rationalizing, and representing knowledge, and to reproduce this in the form of computer-based representations. The aim of creating an expert system is to produce, by rationalization and logical proposals, a representation of knowledge, demand, reasoning, and problem solving. From this perspective, an expert system lies at the core of the transformation grammar. The transformation grammar is similar to a spatial and formal expert system because instead of just codifying the expert knowledge in rules using symbols, the transformation grammar also uses shapes.

The aim of using the transformation grammar model is to generate transformations based on a language composed of rules derived from the intervention criteria for the existing housing spaces defined by experts, as in an expert system.

The transformation grammar has a conditional part in addition to a shape part, which covers knowledge in terms of the dimensions and the functionality of the dwelling areas. This conditional part was developed by using natural language (IF/Then conditions or tables and charts) at a first stage and later by using a mathematical language that forms a descriptive grammar. These descriptions reveal certain characteristics that cannot be described in shapes.

As in an expert system, in its initial stage the knowledge contained in the conditional part of the rules could be informed by trees, flow diagrams, and/or decision-making tables, and operated manually. In this study, the first phase of systematizing the transformation principles and rules was carried out using tables, flow diagrams, and text, and certain descriptive rules were produced to assess feasibility.

On a more efficient level, the transformation grammar may be computerized and, in this case, will consist of a program that processes the data to generate a more rapid solution to a given problem.

Research into computerized grammar interpreters has developed substantially in recent years, but a great deal of ground still needs to be covered in order “to make an impact on industry methods using grammar based approaches” (Chase, Reference Chase2010). The goal of creating a shape grammar interpreter is to make conceptual design tools that support designers’ ways of thinking and working and enhance creativity (e.g., by offering design alternatives that would be difficult or impossible to produce without the use of such tools; Chase, Reference Chase2010). According to Tapia (Reference Tapia1999), it should be easier to use a program to try out shape grammars than it is to test them by hand.

4. INFERRING THE TRANSFORMATION GRAMMAR

The process of inferring the transformation rules is highlighted in this chapter. As schematized in Figure 1, these rules were not inferred from the generation of the original or the adapted dwellings. The rules of the transformation grammar were inferred from the process of transforming the dwellings as carried out by several architects (experts) who acted as experimental subjects in a procedure similar to the one used in expert systems. These design processes are referred to as Style 1, Style 2, and Style 3 (and more) in Figure 1.

The methodology used to infer the transformation grammar was divided into three steps (see also http://repositorio-iul.iscte.pt/handle/10071/5526):

  • Step 1. Testing the feasibility of the experimental setup by the main author of the research and defining a set of preliminary rehabilitation rules that could be transmitted to the architects in Step 2.

  • Step 2. Finding rehabilitation solutions that could satisfy the functional and constructional requirements of each family in a given dwelling. These solutions, designed by hand, were used to infer transformation rules.

  • Step 3. Testing the transformation rules inferred in the previous step to confirm both if there were gaps in the grammar and whether the solutions generated following these rules were satisfactory.

The goal was to relate domestic groups (families) to dwellings (existing houses). Prior to applying the methodology, data concerning the domestic groups, the case study dwellings, new housing functions, and the pack of ICAT functions was gathered and organized, as described below. These elements were then given to the designers (architects and students) in Steps 1, 2, and 3.

4.1. Families/future inhabitants

We used five families, differently composed in term of numbers, age, and family relationships, namely, couples with children, young couples without children, old couples, and couples with children from previous marriages. Interviews were done with five families, which were then assigned to different design problems (Table 1).

Table 1. Example of the results from the interviews with Family 01

Initially, people living alone were not considered because the sample dwellings were too big for this family type. Later, the study focused on how couples with no children or one-person households could be accommodated by dividing each dwelling into two autonomous smaller dwellings, because this accounts for one of the most sought-after types of accommodation in the rehabilitation market in Lisbon (Caria, Reference Caria2004). The division of dwellings was studied, and some rules for the implementation of this strategy were also designed. Nevertheless, the transformation grammar does not include this rehabilitation strategy.

4.2. Housing functional program

The minimum functional program for each family was determined in accordance with Pedro's (Reference Pedro2000) guidelines and then combined with the requirements expressed by each family in an interview especially designed for this purpose (Table 2). Families were presented with what would be the minimum functional program assigned according to the number of inhabitants and their relationships within the family. In the interviews, the families were asked to describe the dwelling they thought they needed (i.e., not an ideal dwelling but one that could fulfill their real needs). They also were told that the dwelling would be in a rehabilitated building with small rooms (the average area of the habitable rooms is 13 m2) and that they would have to consider economic constraints. The description had to include the required housing functions or rooms, as well as the topological relations between them. Finally, they were asked to rank their requirements in order of priority.

Table 2. Calculations for the net floor area (m2) for each family based on the minimum values in the functional program and the needs expressed by each family

Note: The lightface italic values indicate not being part of the minimum functional program but requested by the family. The bold roman values indicate adequate floor area, and the bold italic values indicate excess floor area.

aThe additional media room area was not considered, because the living room area was indicated by the residents.

bThe circulation area was calculated using the ratio resulting from the case study analysis (16%).

4.3. Existing houses

The housing sample is composed of 25 dwellings, some of which were chosen for use in the first and second steps. The selection criterion for the first and second steps was to choose 10 dwellings of varying types and areas that could potentially satisfy the requirements of the functional programs for the selected families. To verify this criterion, the area of each dwelling was compared with the area requirements of each family (Table 3).

Table 3. Correspondence between selected dwellings and family size in the first and second steps

Note: CT, compatible types; NC, not compatible, that is, types unsuitable for the size of the family. These dwellings may correspond to the functional program if divided into two different dwellings.

Two different dwellings that satisfied this criterion were then assigned to each family to obtain 10 different dwelling proposals at the end of the experiment (5 families × 2 dwellings; Fig. 2). The 10 chosen dwellings corresponded to 3 Type A dwellings, 2 Type B dwellings, 2 Type C dwellings, and 3 Type D dwellings (Fig. 3).

Fig. 2. Dwellings selected for the first and second steps.

Fig. 3. Subtypes of rabo-de-bacalhau dwellings.

Rabo-de-bacalhau dwellings were categorized into four subtypes in accordance with characteristics common to all the cases in the studied sample. The type (Fig. 3, left) has characteristics that are common to all subtypes: two symmetrical dwellings per floor, a front wing with a façade overlooking the road that contains most of the rooms and is occupied exclusively by the social and private areas; a rear wing in the rear façade with the service areas; and a main access nucleus in the center of the building. The principal characteristics used to distinguish between the four subtypes were width of front wing, as well as depth and function use of rear wing (Fig. 3).

For the third step, three different dwellings were chosen that were not used in the first and second steps. As stated above, the case study dwellings are characterized by small social areas. It was therefore established that the social areas (living room, dining room, and home office) should occupy at least two rooms or not less than 18 m2 (depending on the number of inhabitants). Thus, a dwelling (e.g., for a couple with two children) would require at least four inhabitable rooms (two bedrooms plus two social rooms). The different characteristics of the subtypes cause different rehabilitation strategies that were defined in the transformation grammar.

4.4. Pack of ICAT functions

In the design exercises, ICAT pack was reduced to technologies that had an impact on spatial organization. The resulting requirements were then added to the functional program.

The technologies and space requirements considered were the following:

  • home cinema or large TV screen, which require a spacious living room with a distance of at least 3 m between the screen and the couch or chairs;

  • home office, isolated or integrated into another area such as the living room, according to the needs of the new dwellers; and

  • definition of independent night and day areas for sector alarms.

4.5. Step 1

The first and second steps aim to identify the fundamental functional, spatial, and constructional transformations to be carried out on the dwellings that were studied. The first step, performed by the main author of the research, consisted of a design process to adapt the dwellings. This step was done in order to infer some basic transformation rules and to test the feasibility of the exercise, before assigning it to other subjects in Steps 2 and 3.

This step included two stages. The first stage consisted of proposing transformations to the dwellings taking the future dwellers’ requirements and constructional constraints into account. This resulted in 20 different layout proposals, 2 for each family/dwelling pair, in order to explore the various possible solutions. The plans corresponded to possible solutions for the transformations that fulfilled most of the requirements in accordance with the constructional restrictions of the building. The procedures required to perform this experiment included use of data concerning the family, the functional program, and the dwelling, design rehabilitation solutions on tracing paper, and the subsequent use of CAD for verification purposes (e.g., net areas and extent of demolition).

The second stage consisted of inferring transformation rules from the transformations proposed in the first stage. Only higher level transformation rules were inferred, meaning that detailing rules were not considered.

The rules were inferred by text, then by drawings. All the transformations regardless of the implementation sequences were written from all the generated designs. Subsequently, these transformations were drawn, step by step, in order to simulate a possible sequence of actions.

Space syntax was also used to help clarify the transformation principles, according to adjacency and connectivity issues, and make them more simple and rational. To this end, a transformation sequence was produced using both the floor plan and the graph (Fig. 4). Figure 4 also shows the shape rule used in each step of the derivation. The results revealed that not every shape action has an immediate corresponding graph action. In the fifth step of the derivation in Figure 4, a change in shape (i.e., the enlargement of a room) did not have an impact on the justified graph. Nevertheless, changes in the graph are usually linked to changes in the shape and function of a room in terms of the dwelling layout. Changes in arcs and nodes in the dwelling graph occurred as a result of changes in door positions, the size of openings, connections between rooms, division of rooms, or the addition of different rooms within a single space. During this stage, we understood that adjacency graphs and not just connectivity graphs (as the ones shown in Fig. 4) would be extremely useful to inform transformation decision as such as demolitions.

Fig. 4. The derivation of a rehabilitated dwelling: sequences of rehabilitation decisions made through changes in layout, application of shape rules (first draft of rules), and graph transformation.

The conclusion of first step enabled the following to be accomplished:

  • After the first transformation, all others followed substantially the same criteria.

  • When the functional program requested two or more bedrooms, the first decision was the location of the private area.

  • When the functional program requested fewer than two bedrooms, the first decision was the location of the social area.

  • Transformation rules differed according to different dwelling types.

4.6. Step 2

In Step 2 architects with experience in designing houses were used to design more rehabilitation solutions. The goal of this step was to enlarge the set of rehabilitation solutions in order to understand how different approaches may be used to solve the same problem and, therefore, to obtain a larger basis for inferring rules. Another goal was to understand how designers think when they are designing, if it is possible to encode that process into design rules, and how to do it. To accomplish these goal and to enable the design of the most accurate solution for the given problem, we proposed to put designers “into the mode of doing” as Schon suggests (Reference Schon1992, p. 131). This design step aimed to identify the functional, spatial, and constructive transformations performed by human designers by hand, in order to infer the corresponding transformation rules and encode them into a transformation grammar.

In this second step, the same data from Step 1 was used, namely, 10 existing dwellings and five different families. Two of the architects participating were asked to design a solution for all 10 family/dwelling pairs (2 dwellings for each family), which yielded 20 different drawn proposals. Three architects designed for five family/dwelling pairs (1 dwelling only per family), producing 15 different drawn proposals.

The design tasks were explained to each of the architects separately, and they then completed the work in their offices. In addition to a verbal explanation, the other elements given to the designers were the dwelling layouts (plotted on a scale of 1:100, or DWG drawing), a written description of family desires, and a brief description of the major functional and constructional aspects they had to follow.

The architects were asked to perform two tasks: first, to draw a design solution for each family/dwelling pair, taking the functional program into account as well as the construction constraints; and second, to explain the strategy they used to obtain each design proposal.

The data that resulted from this step included sketches (two of the architects designed by computer and therefore did not produce sketches; Fig. 5), final drawings of the proposed layouts, and verbal explanations or texts explaining the process followed in each case.

Fig. 5. Drawings produced by architects during Step 2.

Figure 5 shows total and partial solutions of dwelling transformations that correspond to the traditional process of architectural designing going from the general to detail and back again. These drawings and the explanations, despite being vague, help us to “tell the story” of the design process and then, after identifying a possible sequence of actions, abstract the shape aspects of the dwelling layouts proposals and divide transformations acts into “erasing” (demolishing), “adding” (constructing), and assigning (functions to rooms).

The data was analyzed, and transformation rules were inferred. It was possible to identify two types of design proposals: only one architect proposed transformations where the kitchen moves to the front façade (Fig. 6a), and four architects proposed transformations where the kitchen is left in its original position in the back wing (Fig. 6b–d). A third transformation method, which enabled the architects too divide the dwelling into two autonomous ones, was proposed in a later stage (Fig. 6e). All the architects respected the given constraints and the priorities expressed by the families. One architect did not comply with the constraint of not demolishing more than 2 m of wall. In general, they said that it was difficult to respond to the functional requirements because of the original morphology of the dwellings and the demolition constraints.

Fig. 6. An example of the results of Step 2: original dwelling and transformations performed by four architects.

The solutions proposed by the architects were evaluated in order to calculate the level of satisfaction of the dwellers and the fulfillment of the functional and constructive rules. The following criteria were used in the evaluation: satisfaction of functional program; satisfaction of the extra areas requested by families and the connections between them; satisfaction of the general functional aspects for housing; and satisfaction of constructional aspects in accordance with rabo-de-bacalhau buildings. The highest level of satisfaction was obtained when the proposal fulfilled most of those aspects (Fig. 7). The evaluation enabled the different project options to be selected and the reasons why one option was more successful than the others to be understood. In the examples of Figure 6, the solution 6a got the highest evaluation because by moving the kitchen to the front façade, the solution allows private areas to be individualized, and social and service areas to be together and near the entrance. Solution 6b got ranked second in the evaluation because the social areas were moved to the back wing near the original kitchen instead of moving the kitchen.

Fig. 7. An example of a functional evaluation of one of the adapted dwellings (the one that got the highest evaluation).

The general opinion expressed by the architects was that the rules were the following:

  1. 1. Difficult to respond to in functional terms because of the original morphology of the dwelling. It was difficult to ensure that the private area was kept intact while also keeping the social area together and close to kitchen.

  2. 2. Very restrictive in constructional terms, owing to demolition restraints. In most cases, the rule of not demolishing more than 2 m of wall was a huge restriction. This rule restrains actions such as merging different areas to create larger ones, and the incorporation of circulation areas within social areas.

The result of this step was a transformation grammar that can be used to adapt existing dwellings to specific families.

4.7. Step 3

The third step was carried out by a class of 22 architecture students on the “Shape Grammar and Digital Tools” course from the third year of the Integrated Masters in Architecture program at the Instituto Universitário de Lisboa. The students had had previous classes on the subject of shape grammar, so they were familiar to some extent with the mechanics of using rules and shapes.

The goal was to test the proposed grammar on dwellings that had not been used to infer its rules. This enabled us to check whether the inferred rules provided the compositional means for making new transformations in other existing dwellings for other families. The exercise was explained by the author to all the students at the same time, and the work was subsequently completed in the presence of the author. The author explained the aim of the exercise, the tasks, how they had to be executed, and how to use the grammar and the rules.

Students were divided into 10 different groups, consisting of one, two, or three people (Table 4). The aim of putting students into groups of different sizes was to test different approaches to using the grammar. The approaches examined were attempts to use the grammar by one person only and attempts involving two or three people, thus allowing for dialogue and exchange of ideas.

Table 4. Composition of groups in the third step

aDid not complete the experiment and did not comply with all of the rules.

bCompleted the experiment but did not comply with all of the rules.

cCompleted the experiment and complied with all of the rules.

This first session lasted 3 h, during which only five groups were able to finish one dwelling derivation. Three of the remaining five groups took part in a second 2-h session in order to finish the dwelling derivation. The groups worked in a computer room, each using one computer equipped with Autocad software.

The groups worked with five dwellings that were part of the corpus but had not been used in previous steps. The five family profiles used in Step 2 were also used in this step. Each of the 10 student groups had to transform one dwelling for a family.

In addition to a verbal explanation, the following additional information was given to each group:

  • the adapted functional program (the ideal program plus the description of the family's extra requirements, in order of priority), including the net floor areas required for each room;

  • the dwelling layout in a DWG file; and

  • a version of the transformation grammar rules in which the function and dimension conditions were simplified in natural language in Portuguese (81 rules grouped according to a specific sequence).

The dwelling transformations obeyed the following task sequence:

  1. 1. The author of the research started by explaining the grammar, the sequence of rules (Eloy & Duarte, Reference Eloy and Duarte2012a), and the aim of the exercise.

  2. 2. Students had to read the family's adapted functional program. This functional program had a description of the spaces required and the topological relationships, as well as the net floor area required.

  3. 3. One dwelling, previously chosen by the author (in accordance with predefined data), was given to students as a DWG file. The initial labels hs, nhs, Xki, Xba, Xla, and Cbc were already marked on the dwelling layout. In addition to the floor plan, the DWG file included a grid in which the new dwelling layout had to be entered, step by step, after each rule application.

  4. 4. Students then started the dwelling transformation, using the given functional program and the shape rules document.

  5. 5. Students drew onto the DWG file. Each new rule applied had to be written in the file and the resulting application drawn. They were asked not to delete anything and to change to a new color grid if they made a mistake or chose another approach to the design (as explained in sequence 3 above).

This exercise allowed the behavior of students to be observed in terms of the way they approached the application of the grammar.

The final layouts obtained from this exercise were as follows, by student's group (see Fig. 8). Three patterns of design emerged for the approach to the problem of rehabilitation:

  • Some students first analyzed the entire dwelling and tried to mentally simulate the final result before starting to apply the rules. This occurred with students who were organized in groups. These groups began the transformation by analyzing the architectural features of the dwelling.

  • Some students began by applying the shape rules without first analyzing the entire dwelling. Some of these cases produced valid results. In other cases, the sequence of rules was applied incorrectly and the final result was impaired (e.g., bedrooms became too small or walls were added too close to other walls). One instance of this situation occurred when the application of rules was initiated by assigning private areas rather than social areas.

  • Some students applied the rules correctly, in the right sequence, and because they had anticipated each step, their derivation never produced conflicting results.

Fig. 8. The final dwelling layouts at the end of the exercise by student's groups. f, Family; d, dwelling; es, students.

The following conclusions could be drawn from this exercise, each of the conclusions that implied alteration to the grammar were performed:

  • Contrary to what happened in the second step, the demolition restrictions were not considered a problem in transforming the dwelling, except in one case involving one group derivation. This happened because students understood from the beginning that the goal was to use the grammar and not to give their personal answer to the design problem.

  • The major difficulty was finding rooms that met the net floor area conditions. Almost all the rooms were smaller than the areas requested. This obstacle led to some possible solutions that were later integrated into the rules:

    • assigning a tolerance to the requested area (e.g., 10%; F ≥ 9 m2 means that F ≥ 8.1 m2),

    • allowing a room (e.g., a double bedroom) to be allocated to a smaller space if the floor area could be enlarged,

    • allowing a space to first be enlarged and then assigned a function,

    • using the areas required for the minimum level, even if the recommended level had been chosen by the family.

  • Instead of having different changing shape rules for each of the functional areas, it was preferable to have a group of changing shape rules with the shape part equal and the conditions differing according to functional or dimensional restrictions.

  • Because there are mandatory rooms (those required by the functional program) and optional rooms (the extra ones required by the family, in order of priority) and it is sometimes not possible to satisfy all requirements, it would be better to assign in the following order:

    • First, allocate and ensure the mandatory rooms;

    • Second, allocate the optional rooms.

    Although this option is an interesting possibility, its application would solve some problems but also create others. The main new problem would be the difficulty in keeping the rooms in the different functional areas together, given that they would be attributed at different stages.

The layouts obtained from this step were as follows, by students group (see Fig. 8):

  • Groups 01 (8a), 04 (8d), 07 (8 g), 09 (8j), and 10 (8 k) failed to obey some shape rules during the derivation (e.g., dimension conditions, new demolition types, or wrong sequence of rules). Most of these are groups of three students used the process of discussing the right solutions rather than applying directly the grammar. Their final plan contained misinterpretations and showed that mixing intuition on the design with the grammar is not a good choice at this phase of design because the grammar framework is not completely followed and therefore the final solutions reaches dead ends or incomplete layouts.

  • Groups 02 (8b), 03 (8c), 06 (8f), and 08 (8i) obeyed all the shape rules and explored a viable and correct dwelling layout in accordance with the transformation grammar. These groups had one or two students who immediately tried to apply the rules as we asked. The final results were positive.

  • Group 05 (8e) did not obey one fundamental shape rule considering the assignment of the private bathroom, and the dwelling layout was therefore incorrect. The final result was negative.

5. CONCLUDING REMARKS

Although rehabilitation processes can be executed on an individual case basis for each family/dwelling combination, defining a methodology based on a transformation grammar to support the process clarifies decision making and speeds up the design process. Therefore, within the context of research into shape grammar theories, the developed transformation grammar (Eloy, Reference Eloy2012) proposes a new approach to their use in architectural rehabilitation processes.

Existing works on shape grammar explore the possibilities of generating designs based on rules using both an analytical approach (to understand existing design languages) and a generative approach (to generate new design languages). As stated in this article, the developed transformation grammar proposes a different approach, in that it aims not to generate the design of the dwellings in the study or their design after transformation but in the rules that enable them to be adapted to new lifestyles.

To infer the rules and principles of dwelling transformation, we have done several exercises with architects (expert designers) in order to analyze their solutions to specific rehabilitation problems. The goal was to encode the architect's knowledge in the form of rules that incorporate substance and knowledge, and are assumed to represent the architect's knowledge from a wider perspective.

For that we used a three-step method that enabled us to have a basic set of principles; ask architects to design transformation solutions and encode them into shape rules; and test the shape grammar in a practical exercise. In Steps 1 and 2 architects were put “into the mode of doing” as Schon suggested (Reference Schon1992, p. 131). When asked, architects had difficulty in explaining the design process, which proved that “designers know more than they can say, [and] tend to give inaccurate descriptions of what they know” (Schon, Reference Schon1992, p. 131). This situation was expected, and therefore architects were asked to deliver all their drawings in order for the authors to analyze the design process. These drawings had the information to understand the path architects followed when designing. Even when the design process didn't followed a continuous path (as it usually doesn't), that information was used to assign a sequence to the grammar. The third step helped to clarity the viability of the grammar in a mass customization dwelling design because it generated several design possibilities for the same design problem. The three steps of the process used to encode the rules enabled the grammar to be tested and refined. The process of inferring rules from rehabilitation designs enabled us to verify that rehabilitation works can be summarized into three basic types of rules (adding and demolishing walls and assigning functions). These activities are present in all the actions performed by architects when facing a rehabilitation assignment. Although the presented grammar is specific to rabo-de-bacalhau dwellings, we believe that future lines of research will involve the generalization of the grammar and the development of a more general transformation grammar by extracting from the rabo-de-bacalhau grammar its methodological structure and rule types, and using this information in the definition of a more general grammar that can be applicable in the development of other specific transformation grammars. This new grammar would use the same general framework of rules and then integrate specificities of different building types, such as considering different construction constrains and different functional organizations, among other parameters (Eloy & Duarte, Reference Eloy, Duarte, Achten, Pavlicek, Jaroslav and Matejdan2012b).

Sara Eloy is currently an Assistant Professor in the Department of Architecture and Urbanism (DAU) at ISCTE-IUL in Lisbon where she teaches architectural CAD and computation and building technologies. She is also the Director of DAU and a Researcher at the Advanced IS/IT Research Center (ADETTI-IUL). Dr. Eloy graduated with an FA/TU degree in architecture (Lisbon 1998) and a PhD in architecture (IST/TU Lisbon 2012). Her main research interests are CAD, shape grammars, space syntax, immersive virtual reality and augmented reality, and ambient assistive living. She has been published in several journals, magazines, and proceedings and has presented her research at several international meetings.

José Pinto Duarte is a Visiting Scientist at MIT, a Professor at the University of Lisbon Faculty of Architecture (FA/ ULisboa), and a Researcher at Instituto Superior Técnico, where he founded the IST Architecture Research Laboratories. He is also the Dean of FA/ULisboa and president of eCAADe, a European association for education and research in computer-aided architectural design. Dr. Duarte holds an FA/TU degree in architecture (Lisbon 1987) and an SArchS (1993) and a PhD (2001) in design and computation (MIT). His main research interests are mass customization, with a special focus on housing and urbanism, and the development of design methods based on new CAD technologies and digital fabrication.

References

REFERENCES

Çagdas, G. (1996). A shape grammar: the language of traditional Turkish houses. Environment and Planning B: Planning and Design 23(5), 443464.Google Scholar
Campbell, M.I. (2010). The official GraphSynth Site. University of Texas at Austin. Accessed December 2012 at http://www.graphsynth.comGoogle Scholar
Caria, H. (Coord.) (2004). Habitação e Mercado Imobiliário na Área Metropolitana de Lisboa. Lisboa: CML, Pelouro de Licenciamento Urbanístico e Planeamento Urbano.Google Scholar
Chase, S. (2010). Shape grammar implementations: the last 36 years. (Shape grammar implementation: from theory to useable software). Proc. Design Computing and Cognition Workshop, Stuttgart, July 11, 2010.Google Scholar
Çolakoğlu, B., & Keskin, G. (2010). Form generator: a CAD tool for conceptual design development. FUTURE CITIES, 28th eCAADe Conf. Proc., pp. 411–417, ETH Zurich, September 15–18.Google Scholar
Colakoglu, M.B. (2005). Design by grammar: an interpretation and generation of vernacular hayat houses in contemporary context. Environment and Planning B: Planning and Design 32(1), 141149.CrossRefGoogle Scholar
Duarte, J.P. (2001). Customizing Mass Housing: A Discursive Grammar for Sizás Malagueira houses. PhD Thesis. Massachusetts Institute of Technology.Google Scholar
Duarte, J.P., & Beirão, J. (2011). Towards a methodology for flexible urban design: designing with urban patterns and shape grammars. Environment and Planning B: Planning and Design 38(5), 879902.Google Scholar
Eloy, S. (2012). A transformation grammar-based methodology for housing rehabilitation: meeting contemporary functional and ICT requirements. PhD Thesis. IST, TU Lisbon.Google Scholar
Eloy, S., & Duarte, J.P. (2012 a). A transformation grammar-based methodology for housing rehabilitation. Proc. 5th Int. Conf. Design Computing and Cognition, College Station, TX, June 7–9.Google Scholar
Eloy, S., & Duarte, J.P. (2012 b). Transformation grammar for housing rehabilitation: from a specific to a general grammar. Digital Physicality, Proc. 30th eCAADe Conf. (Achten, H., Pavlicek, J., Jaroslav, H., & Matejdan, D., Eds.), Vol. 1, pp. 471–478. Prague: Czech Technical University.Google Scholar
Ertelt, C., & Shea, K. (2009). An application of shape grammars to planning for CNC machining. Proc. ASME 2009 Int. Design Engineering Technical Conf. Computers and Information in Engineering Conf. IDETC/CIE, San Diego, CA.Google Scholar
Flemming, U. (1987). More than the sum of its parts: the grammar of Queen Anne houses. Environment and Planning B: Planning and Design 14(3), 323350.Google Scholar
Jowers, I. (2006). Computation with curved shapes: Towards freeform shape generation in design. PhD thesis. Open University.Google Scholar
Knight, T.W. (1983). Transformations of languages of designs. Environment and Planning B: Planning and Design 10(2), 125177.Google Scholar
Knight, T.W. (1989). Transformations of De Stijl art: the paintings of Georges Vantongerloo and Fritz Glarner. Environment and Planning B: Planning and Design 16(1), 5198.CrossRefGoogle Scholar
Knight, T.W. (1994). Transformations in Design: A Formal Approach to Stylistic Change and Innovation in the Visual Arts. Cambridge: Cambridge University Press.Google Scholar
Knight, T.W. (2000). Shape grammars in education and practice: history and prospects. Available at http://web.mit.edu/tknight/www/IJDC/Google Scholar
Koning, H., & Eizenberg, J. (1981). The language of the prairie: Frank Lloyd Wright's prairie houses. Environment and Planning B: Planning and Design 8(3), 295323.CrossRefGoogle Scholar
Krishnamurti, R. (2010). Bridging parametic shape and parametric design. NSF Int. Workshop Studying Visual and Spatial Reasoning for Design Creativity SDC'10, Aix-en-Provence.Google Scholar
Li, A.I.-Kang. (1998). A 12th century Chinese building manual: descriptions and a shape grammar. Thresholds 17, 2530.CrossRefGoogle Scholar
Li, A.I.-Kang. (1999). Expressing parametric dependence in shape grammars, with an example from traditional Chinese architecture. Proc. 4th Conf. Association of Computer Aided Architectural Design Research in Asia, pp. 265–274, Shanghai.CrossRefGoogle Scholar
Li, A.I.-Kang (2001). Teaching style grammatically, with an example from traditional Chinese architecture. Proc. Mathematics & Design 2001 3rd Int. Conf., pp. 270–277.Google Scholar
Li, A.I.-Kang. (2002). A prototype interactive simulated shape grammar. Design e-ducation: connecting the real and the virtual. Proc. 20th Conf. Education in Computer Aided Architectural Design in Europe (Koszewski, K., & Wron, S., Eds.), pp. 314317.Google Scholar
Li, A.I.-Kang, Chau, H.H., Chen, L., & Wang, Y. (2009). A prototype system for developing two- and three-dimensional shape grammars. Proc. 14th Int. Conf. Computer Aided Architectural Design Research in Asia, pp. 717–726, Yunlin, Taiwan.Google Scholar
Mccormack, J.P., & Cagan, J. (2006). Parametric shape grammar interpreter. Accessed at http://www.freepatentsonline.com/7050051.htmlGoogle Scholar
Pedro, J.B. (2000). Definição e avaliação da qualidade arquitectónica residencial. PhD Thesis. Lisboa: Ed. Faculdade de Arquitectur, da Universidade do Porto.Google Scholar
Schon, D. (1992). Designing as reflective conversation with the materials of a design situation. Research in Engineering Design 3(3), 131147.Google Scholar
Stiny, G. (1976). Two exercises in formal composition. Environment and Planning B: Planning and Design 3(2), 187210.Google Scholar
Stiny, G. (1980 a). Introduction to shape and shape grammars. Environment and Planning B: Planning and Design 7(3), 343351.Google Scholar
Stiny, G. (1980 b). Kindergarten grammars: designing with Froebel's building gifts. Environment and Planning B: Planning and Design 7(4), 409462.Google Scholar
Stiny, G. (1993). Emergence and continuity in shape grammars. CAAD Futures ’93, Conf. Proc., pp. 37–54, Pittsburgh, PA.Google Scholar
Stiny, G., & Gips, J. (1972). Shape grammars and the generative specification of painting and sculpture. In Information Processing (Freiman, C.V., Ed.), pp. 14601465. Amsterdam: North Holland.Google Scholar
Stiny, G., & Mitchell, W.J. (1978). The Palladian grammar. Environment and Planning B: Planning and Design 5(1), 518.Google Scholar
Tapia, M.A. (1999). A visual implementation of a shape grammar system. Environment and Planning B: Planning and Design 26(1), 5973.Google Scholar
Tuncer, B., & Sener, S. (2010). Generation of a new urban block for the future city: a bottom-up approach for the future city block. In Future Cities, 28th eCAADe Conf. Proc., pp. 179–185, ETH Zurich, September 15–18.Google Scholar
Turkienicz, B., Gonçalves, B.B., & Grazziotin, P. (2008). CityZoom: a visualization tool for the assessment of planning regulations. International Journal of Architectural Computing 6(1), 7995.Google Scholar
Trescak, T. (2009). Shape grammar interpreter. Accessed at http://sourceforge.net/projects/sginterpreterGoogle Scholar
Trescak, T., Esteva, M., & Rodriguez, I. (2009). General shape grammar interpreter for intelligent designs generations. Proc. Computer Graphics, Imaging and Visualization, CGIV ’09 (Werner, B. Ed.), Vol. 6, pp. 235240.Google Scholar
Figure 0

Fig. 1. A diagram illustrating the difference between standard shape grammars and transformation shape grammars.

Figure 1

Table 1. Example of the results from the interviews with Family 01

Figure 2

Table 2. Calculations for the net floor area (m2) for each family based on the minimum values in the functional program and the needs expressed by each family

Figure 3

Table 3. Correspondence between selected dwellings and family size in the first and second steps

Figure 4

Fig. 2. Dwellings selected for the first and second steps.

Figure 5

Fig. 3. Subtypes of rabo-de-bacalhau dwellings.

Figure 6

Fig. 4. The derivation of a rehabilitated dwelling: sequences of rehabilitation decisions made through changes in layout, application of shape rules (first draft of rules), and graph transformation.

Figure 7

Fig. 5. Drawings produced by architects during Step 2.

Figure 8

Fig. 6. An example of the results of Step 2: original dwelling and transformations performed by four architects.

Figure 9

Fig. 7. An example of a functional evaluation of one of the adapted dwellings (the one that got the highest evaluation).

Figure 10

Table 4. Composition of groups in the third step

Figure 11

Fig. 8. The final dwelling layouts at the end of the exercise by student's groups. f, Family; d, dwelling; es, students.