Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-07T02:23:43.588Z Has data issue: false hasContentIssue false

An interactive, visual approach to developing and applying parametric three-dimensional spatial grammars

Published online by Cambridge University Press:  12 October 2011

Frank Hoisl*
Affiliation:
Virtual Product Development Group, Institute of Product Development, Technische Universität München, Garching, Germany
Kristina Shea
Affiliation:
Virtual Product Development Group, Institute of Product Development, Technische Universität München, Garching, Germany
*
Reprint requests to: Frank Hoisl, Technische Universität München, Institute of Product Development, Boltzmannstrasse 15, Garching 85748, Germany. E-mail: frank.hoisl@pe.mw.tum.de
Rights & Permissions [Opens in a new window]

Abstract

Spatial grammars are rule based, generative systems for the specification of formal languages. Set and shape grammar formulations of spatial grammars enable the definition of spatial design languages and the creation of alternative designs. Since the introduction of the underlying formalism, they have been successfully applied to different domains including visual arts, architecture, and engineering. Although many spatial grammars exist on paper, only a few, limited spatial grammar systems have been computationally implemented to date; this is especially true for three-dimensional (3-D) systems. Most spatial grammars are hard-coded, that is, once implemented, the vocabulary and rules cannot be changed without reprogramming. This article presents a new approach and prototype implementation for a 3-D spatial grammar interpreter that enables interactive, visual development and application of grammar rules. The method is based on a set grammar that uses a set of parameterized primitives and includes the definition of nonparametric and parametric rules, as well as their automatic application. A method for the automatic matching of the left hand side of a rule in a current working shape, including defining parametric relations, is outlined. A prototype implementation is presented and used to illustrate the approach through three examples: the “kindergarten grammar,” vehicle wheel rims, and cylinder cooling fins. This approach puts the creation and use of 3-D spatial grammars on a more general level and supports designers with facilitated definition and application of their own rules in a familiar computer-aided design environment without requiring programming.

Information

Type
Special Issue Articles
Copyright
Copyright © Cambridge University Press 2011
Figure 0

Table 1. Overview of related spatial grammar implementations

Figure 1

Fig. 1. Primitives used illustrated by two different instances.

Figure 2

Fig. 2. Global coordinate system and object with local coordinate system (left) and general transformation matrix (right). [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 3

Fig. 3. Example for a nonparametric rule. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 4

Fig. 4. Parametric rule with free parameters that are restricted to certain ranges. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 5

Fig. 5. Rule with parametric relation in the right-hand side (RHS). [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 6

Fig. 6. Rule with completely unrestricted parameter in the left-hand side (LHS) and parametric relation in the right-hand side (RHS). [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 7

Fig. 7. General steps for matching a left-hand side (LHS) with an arbitrary number of objects in a current working shape (CWS).

Figure 8

Fig. 8. Example for the matching procedure: rule above, current working shape (CWS) below. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 9

Fig. 9. Screenshot of the prototype software system. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 10

Fig. 10. Dialog window for the definition of free parameters. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 11

Fig. 11. Dock window with list of loaded rules and application settings. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 12

Fig. 12. Basic kindergarten grammar rule as originally (a) defined by Stiny, defined in the (b) prototype system, (c) initial set, and (d) generated design. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 13

Fig. 13. Evolution of a “kindergarten grammar” rule including parametric relations. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 14

Fig. 14. Modified rule and extended version of the design generated in Figure 13h. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 15

Fig. 15. Rules for the generation of rim spokes (a)–(d) and the initial set (e). [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 16

Fig. 16. Generated rim solutions.

Figure 17

Fig. 17. Adapted rules and newly generated rim solutions. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 18

Fig. 18. Rules for the generation of cooling fins. [A color version of this figure can be viewed online at journals.cambridge.org/aie]

Figure 19

Fig. 19. Initial set for the cooling fin grammar.

Figure 20

Fig. 20. Several designs generated by applying the cooling fin grammar rules (Fig. 18).