sketch001 = startSketchOn('XZ')
  |> startProfileAt([0, 0], %)
  |> line(end = [4, 8])
  |> line(end = [5, -8], tag = $seg01)
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
  |> close()
extrude001 = extrude(sketch001, length = 6)
sketch002 = startSketchOn(extrude001, seg01)
  |> startProfileAt([-0.5, 0.5], %)
  |> line(end = [2, 5])
  |> line(end = [2, -5])
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
  |> close()
extrude002 = extrude(sketch002, length = 5)
sketch003 = startSketchOn(extrude002, 'END')
  |> startProfileAt([1, 1.5], %)
  |> line(end = [0.5, 2], tag = $seg02)
  |> line(end = [1, -2])
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
  |> close()
extrude003 = extrude(sketch003, length = 4)
sketch004 = startSketchOn(extrude003, seg02)
  |> startProfileAt([-3, 14], %)
  |> line(end = [0.5, 1])
  |> line(end = [0.5, -2])
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
  |> close()
extrude004 = extrude(sketch004, length = 3)
