Abstract
A shape grammar is a formal rewriting system for producing languages of shapes. While initially defined to operate over line segments and labeled points, the theory of shape grammars has numerously been extended to include other spatial and non-spatial entities, including, planar segments and volumes, some types of curves, weights, colors and descriptions. Over the years, also a number of shape grammar interpreters have been developed, implementations that support the specification and application of shape rules. However, each of these implementations has adhered to a single shape grammar formalism, even if the exact formalism may differ from one implementation to another. This paper reports on the development and application of a shape grammar interpreter supporting multiple shape grammar formalisms. This is achieved in two ways, first, by supporting a variety of representational structures as compositions of basic data types, and second, by providing two alternative matching mechanisms for spatial elements, a non-parametric and a parametric-associative mechanism. Together, this provides for a flexible and extensible interpreter for the specification and application of shape rules, which has been implemented in the Python programming language and is accessible from Rhino and Grasshopper.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Stiny, G., Gips, J.: Shape grammars and the generative specification of painting and sculpture. Inf. Process. 71, 1460–1465 (1972)
Stiny, G.: Introduction to shape and shape grammars. Environ. Plann. B. Plann. Des. 7, 343–351 (1980)
Stouffs, R.: The algebra of shapes. Ph.D. thesis. Department of Architecture, Carnegie Mellon University, Pittsburgh, PA (1994)
Jowers, Y., Earl, C.: The construction of curved shapes. Environ. Plann. B. Plann. Des. 37, 42–58 (2010)
Stiny, G.: Weights. Environ. Plann. B Plann. Des. 19(4), 413–430 (1992)
Knight, T.W.: Color grammars: designing with lines and colors. Environ. Plann. B. Plann. Des. 16(4), 417–449 (1989)
Knight, T.W.: Color grammars: the representation of form and color in designs. Leonardo 26(2), 117–124 (1993)
Stiny, G.: A note on the description of designs. Environ. Plann. B. Plann. Des. 8(3), 257–267 (1981)
Wortmann, T., Stouffs, R.: Algorithmic complexity of shape grammar implementation. Artif. Intell. Eng. Des. Anal. Manuf. 32(2), 138–146 (2018)
Stiny, G., Mitchell, W.J.: The Palladian grammar. Environ. Plann. B. Plann. Des. 5(1), 5–18 (1978)
Stiny, G.: Ice-ray: a note on the generation of Chinese lattice designs. Environ. Plann. B. Plann. Des. 4(1), 89–98 (1977)
Wortmann, T.: Representing shapes as graphs. Master’s thesis. Department of Architecture, Massachusetts Institute of Technology, Cambridge, MA (2013)
Grasl, T., Economou, A.: From topologies to shapes: parametric shape grammars implemented by graphs. Environ. Plann. B. Plann. Des. 40(5), 905–922 (2013)
Stouffs, R.: Where associative and rule-based approaches meet: a shape grammar plug-in for Grasshopper. In: Fukuda, T., Huang, W., Janssen, P., Crolla, K., Alhadidi, S. (eds.) Learning, Adapting and Prototyping, vol. 2, pp. 453–462. CAADRIA, Hong Kong (2018)
Beirão, J.N.: CItyMaker: designing grammars for urban design. Ph.D. thesis. Faculty of Architecture, Delft University of technology, Delft, The Netherlands (2012)
Grasl, T., Economou, A.: From shapes to topologies and back: an introduction to a general parametric shape grammar interpreter. Artif. Intell. Eng. Des. Anal. Manuf. 32, 208–224 (2018)
Correia, R.C.: GRAMATICA: a general 3D shape grammar interpreter targeting the mass customization of housing. In: Achten, H., Pavliček, J., Hulín, J., Matejovská, D. (eds.) Digital Physicality, vol. 1, pp. 489–496. eCAADe, Brussels (2012)
Correia, R.C.: DESIGNA - A Shape Grammar Interpreter. Master’s thesis. IST Técnico Lisboa, Universidade de Lisboa, Lisbon, Portugal (2013)
Economou, A., Hong, T.-C., Ligler, H., Park, J.: Shape machine: a primer for visual computation. In: Lee, J.-H. (ed.) A New Perspective of Cultural DNA. KRS, pp. 65–92. Springer, Singapore (2021). https://doi.org/10.1007/978-981-15-7707-9_6
Li, A.: A shape grammar for teaching the architectural style of the Yingzao fashi. Ph.D. thesis. Department of Architecture, Massachusetts Institute of Technology, Cambridge, MA (2001)
Duarte, J.P.: Customizing Mass Housing: A Discursive Grammar for Siza’s Malagueira Houses. Ph.D. thesis. Department of Architecture, Massachusetts Institute of Technology, Cambridge, MA (2001)
Stouffs, R.: Implementation issues of parallel shape grammars. Artif. Intell. Eng. Des. Anal. Manuf. 32(2), 162–176 (2018)
Krishnamurti, R.: The arithmetic of shapes. Environ. Plann. B. Plann. Des. 7, 463–484 (1980)
Krishnamurti, R.: The construction of shapes. Environ. Plann. B. Plann. Des. 8, 5–40 (1981)
Stouffs, R., Krishnamurti, R.: Algorithms for classifying and constructing the boundary of a shape. J. Des. Res. 5(1), 54–95 (2006)
Jowers, Y., Earl, C.: Implementation of curved shape grammars. Environ. Plann. B. Plann. Des. 38, 616–635 (2011)
Krishnamurti, R., Stouffs, R.: Spatial change: continuity, reversibility, and emergent shapes. Environ. Plann. B. Plann. Des. 24, 359–384 (1997)
Stiny, G.: Computing with form and meaning in architecture. J. Archit. Educ. 39(1), 7–19 (1985)
Acknowledgements
I would like to thank Bui Do Phuong Tung for his development work on the SortalGI shape grammar interpreter, and Bianchi Dy for her development work on a previous version of the SortalGI Grasshopper plug-in.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Stouffs, R. (2022). A Multi-formalism Shape Grammar Interpreter. In: Gerber, D., Pantazis, E., Bogosian, B., Nahmad, A., Miltiadis, C. (eds) Computer-Aided Architectural Design. Design Imperatives: The Future is Now. CAAD Futures 2021. Communications in Computer and Information Science, vol 1465. Springer, Singapore. https://doi.org/10.1007/978-981-19-1280-1_17
Download citation
DOI: https://doi.org/10.1007/978-981-19-1280-1_17
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-1279-5
Online ISBN: 978-981-19-1280-1
eBook Packages: Computer ScienceComputer Science (R0)