Hostname: page-component-89b8bd64d-7zcd7 Total loading time: 0 Render date: 2026-05-06T08:07:05.195Z Has data issue: false hasContentIssue false

Exploiting lattice structures in shape grammar implementations

Published online by Cambridge University Press:  09 May 2018

Hau Hing Chau*
Affiliation:
School of Mechanical Engineering, University of Leeds, Leeds LS2 9JT, UK
Alison McKay
Affiliation:
School of Mechanical Engineering, University of Leeds, Leeds LS2 9JT, UK
Christopher F. Earl
Affiliation:
School of Engineering and Innovation, The Open University, Milton Keynes MK7 6AA, UK
Amar Kumar Behera
Affiliation:
School of Mechanical Engineering, University of Leeds, Leeds LS2 9JT, UK
Alan de Pennington
Affiliation:
School of Mechanical Engineering, University of Leeds, Leeds LS2 9JT, UK
*
Author for correspondence: Hau Hing Chau, E-mail: H.H.Chau@leeds.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

The ability to work with ambiguity and compute new designs based on both defined and emergent shapes are unique advantages of shape grammars. Realizing these benefits in design practice requires the implementation of general purpose shape grammar interpreters that support: (a) the detection of arbitrary subshapes in arbitrary shapes and (b) the application of shape rules that use these subshapes to create new shapes. The complexity of currently available interpreters results from their combination of shape computation (for subshape detection and the application of rules) with computational geometry (for the geometric operations need to generate new shapes). This paper proposes a shape grammar implementation method for three-dimensional circular arcs represented as rational quadratic Bézier curves based on lattice theory that reduces this complexity by separating steps in a shape computation process from the geometrical operations associated with specific grammars and shapes. The method is demonstrated through application to two well-known shape grammars: Stiny's triangles grammar and Jowers and Earl's trefoil grammar. A prototype computer implementation of an interpreter kernel has been built and its application to both grammars is presented. The use of Bézier curves in three dimensions opens the possibility to extend shape grammar implementations to cover the wider range of applications that are needed before practical implementations for use in real life product design and development processes become feasible.

Information

Type
Regular Articles
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
Copyright © Cambridge University Press 2018
Figure 0

Table 1. Basic elements of selected shape grammar implementations that support emergence

Figure 1

Fig. 1. Proposed method.

Figure 2

Fig. 2. Dividing shape C into relatively maximal parts and recombine them to form atoms.

Figure 3

Fig. 3. Circular arc type basic element represented by a parametric curve ${\bf C}(u)$ with curvature κ(u).

Figure 4

Fig. 4. A transformation t represented by a 4 × 4 homogeneous matrix ${\bf T}$.

Figure 5

Fig. 5. Triangles grammar (Stiny, 1994).

Figure 6

Fig. 6. Different shape computation of the shape grammar of triangles.

Figure 7

Fig. 7. Decomposition of the initial shape C of the shape grammar of triangles into six atoms.

Figure 8

Fig. 8. Lattice of the initial shape C of the triangles grammar decomposed by Rule 1.

Figure 9

Fig. 9. Trefoil grammar.

Figure 10

Fig. 10. Different shape computations of the trefoil grammar.

Figure 11

Fig. 11. Decomposition of the initial shape C of the trefoil grammar into six atoms.

Figure 12

Fig. 12. Lattice of the initial shape C of the trefoil grammar decomposed by rule 3.

Figure 13

Fig. 13. Twelve matching transformations t and 12 corresponding resulting shapes t(B) for shape rule 2: A → B.

Figure 14

Fig. 14. Eight matching transformations t and eight corresponding resulting shapes t(B) for shape rule 4: A → B.

Figure 15

Table 2. Shape computation in a set grammar using symbolic references

Figure 16

Table 3. Comparison between QI and the proposed approach