# Dynamo brique pattern

**URL:** <https://forum.dynamobim.com/t/dynamo-brique-pattern/91279>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [June 29, 2023, 12:52pm UTC](https://forum.dynamobim.com/t/dynamo-brique-pattern/91279 "2023-06-29T12:52:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chika.tatsuta](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@chika.tatsuta](https://forum.dynamobim.com/u/chika.tatsuta)\
**Post date:** [June 29, 2023, 12:52pm UTC](https://forum.dynamobim.com/t/dynamo-brique-pattern/91279/1 "2023-06-29T12:52:45Z")

</div>

Hello,

I would like to know how to create this brick pattern in dynamo. Is it possible to do for  
beginner ? Thank you in advance.

 ![bim-calepinage-briques-revit-dynamo-parametrique-2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/0/e00a49108a3134561d2ee55838f2385d503be6d1.jpeg)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [June 29, 2023, 1:26pm UTC](https://forum.dynamobim.com/t/dynamo-brique-pattern/91279/2 "2023-06-29T13:26:20Z")

</div>

Look into the pattern toolkit package as a start.

Be warned: If you don’t yet know geometry and Dynamo basics this will be difficult.

---

<div class="post-metadata">

**Author:** ![solamour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/solamour/32/153516_2.png) [@solamour](https://forum.dynamobim.com/u/solamour)\
**Post date:** [July 14, 2023, 5:55pm UTC](https://forum.dynamobim.com/t/dynamo-brique-pattern/91279/3 "2023-07-14T17:55:30Z")

</div>

@chika.tatsuta here is one way to approach it using the `Pattern Toolkit`

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/5/35f58b5f6406c73964061cc0c317236708527d07.jpeg)

The graph (Attached) is as follows. where we generate a Surface in Dynamo (You could refactor to pull one from Revit), generate a Pattern with the `Pattern Toolkit` of bricks, then map a bump map to those bricks.

 ![DynamoBrickPatterns_2023-07-14_01-53-42](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/6/16d3e43e7ebeb1633d86f1ca2be497fee172ac17.png)

The real trick to achieve the image you see is correctly creating a bump map. Please note that it’s **imperative** your dimensions of your image correlate to your surface. It can be less pixelated, but the overall width/height ratio needs to match:

- If your wall is 5000mm high x 20000mm wide (Like this one)
- Then your image should be 5000:20000, 500:2000, 100:400 etc.

The beauty of this script is that you simply have to change out the `.JPEG` image to change the overall feel swiftly, then meddle with the offsets etc. I’ve attached a few of the ones I used, but you could create a better gradient to get more smooth results.

> **Attachments:**  
> [DynamoBrickPatterns.dyn](https://forum.dynamobim.com/uploads/short-url/mrHbwTZquJsq2savWBGSoxwEOJo.dyn) (6.0 MB)  
> [DynamoBrick.rfa](https://forum.dynamobim.com/uploads/short-url/wNjviXTNUIeq513n8L6A5kxEcsk.rfa) (840 KB)
> 
> ![Normal](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/1/0114f2e2e732c1e0124635154b5fb8a4708f2525.jpeg)  
> ![Weave](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/d/ddeb0cca9043946509da83a696671673ed7b68cd.jpeg)  
> ![Pixels](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/6/567049ec002e7b5a47282747e4f4a81debaf330a.jpeg)  
> ![Tartan](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/6/16828a0dc0aa85585c98c495e234e1994b925c12.jpeg)  
> ![Normal_Invert](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/8/7843e3d708eb1a9e9098e330f8db66b12fb109ce.jpeg)
