Wall example - sequences, positioning and collating outputs

<-Previous | ^UP^ | Next->

Up to now we have covered the basics of

  • Defining & Instantiating GendL objects
  • Positioning and orienting geometry
  • Defining child objects and sequences of child objects
  • Dealing with numbers and lists
  • Defining standard CL functions and GendL object functions
This tutorial aims to bring the above concepts together with a tangible example. Starting with the example briefing below, you can either try to develop your own solution or build up a solution in a guided step-by-step manner by clicking the Hint button

Example Briefing

Imagine a wall is built from bricks which are 180mm long, 45mm high and 90mm wide. Each course (i.e. row) of bricks sits on a bed of mortar which is 10mm thick, and each brick is joined to its lateral neighbor(s) with mortar having a nominal joint thickness of 10mm. While a wall instance can be specified using nominal dimensions for length and height, the actual dimensions may vary slightly in order to use a whole number of bricks per row. Vertically adjacent rows of bricks are offset by half a brick with respect to the row below and so will consist of a half-brick at the beginning and a half-brick at the end of the row (i.e. row).

Define and instantiate a GendL model of a wall which has a default nominal height of 900mm and a nominal length of 3700mm, and report the number of full bricks and number of half bricks used. Assuming the density of mortar is 2182kg/m3 determine also the mass of mortar used