Pricing

uBricks

Mix Brick Sources with Weights

Fill a wall from three brick meshes in set proportions, reshuffle it with the seed, and choose what fills the half cells.

The following workflow shows how to fill a wall from three brick meshes in set proportions, reshuffle the result with the seed, and choose what fills the half cells. It uses Boxes in three colours, so the proportions show at a glance; scanned bricks work the same way. You need uBricks installed and licensed. It continues from Creating Your First Brick Wall: a 400 × 300 Wall, a uBricks object, BrickFull as a Full row and the yellow BrickHalf as a Half row.

Weighted brick sources - weights 5, 3 and 1, red dominant, grey sparse
Weighted brick sources

Make Three Brick Variants

  1. Select BrickFull and rename it BrickRed. Keep its dark red object colour.
  2. Shift-move it to make two copies (Copy, not Instance). Name them BrickOrange and BrickGrey, and set their object colours to orange and mid grey.
  3. Make sure neither the uBricks object nor the three bricks has a material.

Without materials, uBricks draws each brick in its source's object colour, so each variant shows as one colour.

Three brick variants - red, orange and grey Boxes beside the wall
Three brick variants

Add All Three as Full Rows

  1. Select the uBricks object and open the Modify panel. In the Brick sources rollout, the list already holds BrickRed, under its new name, as a Full row, and BrickHalf as a Half row.
  2. Click Add, click BrickOrange and BrickGrey, then right-click to finish.
  3. Drag BrickHalf to the bottom of the list, to keep the full bricks together.

The new rows are Full, at a Weight of 1.00, so the wall comes out roughly a third of each colour. Moving BrickHalf changes nothing, because the Full rows keep their order among themselves.

Three sources at equal weight - about a third of each colour
Three sources at equal weight

Weight the Full Bricks

  1. Click BrickRed in the list and set Weight to 5.
  2. Click BrickOrange and set Weight to 3.
  3. Click BrickGrey and set Weight to 1.

The wall now looks like the image at the top. A weight is a relative chance, not a percentage: out of 5 + 3 + 1 = 9, red fills about five cells in nine, orange three and grey one. Each State and the weight rules are on the Brick Sources Rollout page.

Reshuffle with the Seed

  1. In the uBricks rollout, set Seed from its default, 12345, to 7.
  2. Set Seed back to 12345.

At 7 the proportions stay the same, but every cell draws again, so the colours land in different places. Back at 12345 you get exactly the wall you had. Seed in the uBricks rollout drives every random choice.

Seed 12345 - the weighted wall
Seed 12345
Seed 7 - the same proportions, reshuffled
Seed 7

Choose What Fills the Half Cells

  1. Click the BrickHalf row and set its State to Off. With no Half row, the half cells at the wall ends take bricks from the Full rows, in the same proportions, squashed to half length.
  2. Turn on Rotate fulls as halves. Each half cell now takes a brick from the Full rows turned 90° to show its end: a header. Half rows are ignored while it is on.

Neither change moves a cell: the layout and the brick count stay the same, and only what fills the half cells changes. With these Box bricks the two look the same, because a header is fitted to the cell with its end face forward, and a Box's end looks like its squashed face. The difference shows on a modelled or scanned brick, whose end is not its face.

No Half row - the half cells at the wall end filled from the weighted Full rows
No Half row