# A floor board generator

**URL:** <https://blenderartists.org/t/a-floor-board-generator/582368>\
**Category:** Released Add-ons and Extensions\
**Created:** [July 28, 2013, 10:34am UTC](https://blenderartists.org/t/a-floor-board-generator/582368 "2013-07-28T10:34:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![varkenvarken](https://blenderartists.org/user_avatar/blenderartists.org/varkenvarken/32/5299_2.png) [@varkenvarken](https://blenderartists.org/u/varkenvarken)\
**Post date:** [July 28, 2013, 10:34am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/1 "2013-07-28T10:34:40Z")

</div>

Andrew Price mentioned in one of his tutorials it would come in handy to have a floor board generator like in some other modelling packages so I put together a simple one. It generates real (but simple) geometry, complete with thickness (by way of the solidify modifier) and bevels (also with a modifier).

Details on how to download and use the script are in [this article](http://blenderthings.blogspot.nl/2013/07/generate-floor-boards-quick-and-simple.html).

cheers,

– Michel.

---

<div class="post-metadata">

**Author:** ![marcatore](https://blenderartists.org/user_avatar/blenderartists.org/marcatore/32/20313_2.png) [@marcatore](https://blenderartists.org/u/marcatore)\
**Post date:** [July 29, 2013, 12:44am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/2 "2013-07-29T00:44:02Z")

</div>

I tried it and it’s very good.

All archviz artist will be very happy… and me too!!! 🙂  
Thanks a lot.

I tested also the mapping and selecting all the faces and press U -\> unwrap I’ve what I’m searching for a long time…every board have different UV from the others and it’s very very good to have randomness… 🙂

---

<div class="post-metadata">

**Author:** ![Remade](https://blenderartists.org/letter_avatar_proxy/v4/letter/r/76d3ee/32.png) [@Remade](https://blenderartists.org/u/Remade)\
**Post date:** [July 29, 2013, 4:52am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/3 "2013-07-29T04:52:54Z")

</div>

very useful script.thanks.

---

<div class="post-metadata">

**Author:** ![marcatore](https://blenderartists.org/user_avatar/blenderartists.org/marcatore/32/20313_2.png) [@marcatore](https://blenderartists.org/u/marcatore)\
**Post date:** [July 29, 2013, 5:02am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/4 "2013-07-29T05:02:42Z")

</div>

@varkenvarken  
I was testing before and trying to use your script to use it also as wall-of-brick generator I’ve encountered that I can’t choice a plank lenght smaller than 50cm.

Why this behaviour? is it possible to unlock this? Obviously it’s useless to go into negative number…  
Anyway thanks for your script.  
It’s already usefull and I hope that it will go into contrib list.

---

<div class="post-metadata">

**Author:** ![Harvester](https://blenderartists.org/user_avatar/blenderartists.org/harvester/32/1489126_2.png) [@Harvester](https://blenderartists.org/u/Harvester)\
**Post date:** [July 29, 2013, 7:31am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/5 "2013-07-29T07:31:35Z")

</div>

Hi Michel,  
First of all thank you for this useful add-on. I wish to suggest you to submit your script to the attention of Meta-Androcto who’s the maintainer of the Building Objects add-on (which includes several addons) for inclusion in the latter. Perhaps it might need a little bit of polishing or more testing but would makes sense to have it within this collection of architectural tools.

Regards

---

<div class="post-metadata">

**Author:** ![polygonesrus](https://blenderartists.org/user_avatar/blenderartists.org/polygonesrus/32/871897_2.png) [@polygonesrus](https://blenderartists.org/u/polygonesrus)\
**Post date:** [July 29, 2013, 10:25am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/6 "2013-07-29T10:25:14Z")

</div>

another nice tool from the blender nation . thanks

---

<div class="post-metadata">

**Author:** ![Alain](https://blenderartists.org/user_avatar/blenderartists.org/alain/32/6179_2.png) [@Alain](https://blenderartists.org/u/Alain)\
**Post date:** [July 29, 2013, 12:59pm UTC](https://blenderartists.org/t/a-floor-board-generator/582368/7 "2013-07-29T12:59:06Z")

</div>

I’ve been asking for such a Sript at least a hundret times 😉

I did not have time yet to test it.  
I hope it will work with random Material like here: [http://www.blenderartists.org/forum/showthread.php?258874-Cycles-How-to-Random-Location-Rotation-an-Scale-of-Mapping](http://www.blenderartists.org/forum/showthread.php?258874-Cycles-How-to-Random-Location-Rotation-an-Scale-of-Mapping)

Please make it work like the FloorGenerator for 3DS Max, see here: [http://www.cg-source.com](http://www.cg-source.com)

Kind regards  
Alain

---

<div class="post-metadata">

**Author:** ![VickyM72](https://blenderartists.org/user_avatar/blenderartists.org/vickym72/32/20831_2.png) [@VickyM72](https://blenderartists.org/u/VickyM72)\
**Post date:** [July 29, 2013, 1:12pm UTC](https://blenderartists.org/t/a-floor-board-generator/582368/8 "2013-07-29T13:12:27Z")

</div>

Going to test this today, THANK YOU! 😃

---

<div class="post-metadata">

**Author:** ![VickyM72](https://blenderartists.org/user_avatar/blenderartists.org/vickym72/32/20831_2.png) [@VickyM72](https://blenderartists.org/u/VickyM72)\
**Post date:** [July 31, 2013, 3:52pm UTC](https://blenderartists.org/t/a-floor-board-generator/582368/9 "2013-07-31T15:52:48Z")

</div>

Works brilliantly!! This needs to be part of Blender for certain, it’s got my vote! Thanks again! 😃

---

<div class="post-metadata">

**Author:** ![Atom](https://blenderartists.org/user_avatar/blenderartists.org/atom/32/2832_2.png) [@Atom](https://blenderartists.org/u/Atom)\
**Post date:** [August 1, 2013, 7:20am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/10 "2013-08-01T07:20:44Z")

</div>

Just for fun I thought I would see if the Plank generator would run under my RE:animate series addon architecture. It looks like it does. Using RE:Plank you can animate the floor growth over time. I placed Michael’s mesh generation routine inside the _events.py_ of the AddOn. This is essentially how the parametric beam modifier works as well. But this AddOn contains updates to 2.68 and runs as an AddOn instead of a script.

### Attachments

 ![](https://blenderartists.org/uploads/default/original/3X/5/4/5457e75ca3316758c581066bb70c1e438034a37e.jpg)  
[replank\_08012013.zip](https://blenderartists.org/uploads/default/original/3X/f/4/f437d3ecb226e9f7c67c0b4e2a9e76a9ee277b9b.zip) (13.2 KB)

---

<div class="post-metadata">

**Author:** ![koots2](https://blenderartists.org/letter_avatar_proxy/v4/letter/k/838e76/32.png) [@koots2](https://blenderartists.org/u/koots2)\
**Post date:** [August 1, 2013, 12:12pm UTC](https://blenderartists.org/t/a-floor-board-generator/582368/11 "2013-08-01T12:12:47Z")

</div>

Really nice!

---

<div class="post-metadata">

**Author:** ![matali](https://blenderartists.org/letter_avatar_proxy/v4/letter/m/5f8ce5/32.png) [@matali](https://blenderartists.org/u/matali)\
**Post date:** [August 4, 2013, 6:07am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/12 "2013-08-04T06:07:43Z")

</div>

Hi VarkenVarken,

Really nice, thank you. Would it be possible to get it to just put planks in a volume or Greasepencil stroke ? Your Tree Addon allows to define the shape, it would be nice to have the same feature here. The best thing would be to have them cut exactly on where the stroke/volume is.  
Maybe doable with Boolean or knife project integrated in your add-on ?

Kind regards 🙂

---

<div class="post-metadata">

**Author:** ![Alain](https://blenderartists.org/user_avatar/blenderartists.org/alain/32/6179_2.png) [@Alain](https://blenderartists.org/u/Alain)\
**Post date:** [August 4, 2013, 8:20am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/13 "2013-08-04T08:20:06Z")

</div>

> [@matali](#):
>
> Hi VarkenVarken,
> 
> Really nice, thank you. Would it be possible to get it to just put planks in a volume or Greasepencil stroke ? Your Tree Addon allows to define the shape, it would be nice to have the same feature here. The best thing would be to have them cut exactly on where the stroke/volume is.  
> Maybe doable with Boolean or knife project integrated in your add-on ?
> 
> Kind regards 🙂

This would be possible if he would extend the features to the same features like the Floor Generator for Max, see here: [http://www.cg-source.com](http://www.cg-source.com)

Kind regards  
Alain

---

<div class="post-metadata">

**Author:** ![varkenvarken](https://blenderartists.org/user_avatar/blenderartists.org/varkenvarken/32/5299_2.png) [@varkenvarken](https://blenderartists.org/u/varkenvarken)\
**Post date:** [August 4, 2013, 10:54am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/14 "2013-08-04T10:54:34Z")

</div>

it would be convenient and probably not to difficult to implement so maybe I’ll implement something when I have time to spare (no promises 🙂

meanwhile this is what I would do myself:

- create a floor that is large enough to cover what needs covering,
- select your room (or whatever) and in edit mode, select all the faces that make up the floor,
- duplicate them, extrude them, and separate them into a separate object
- add a boolean intersection modifier to the floorboard object and select your newly duplicated floor object as reference
- done

sounds like more work than it actually is 🙂

cheers

---

<div class="post-metadata">

**Author:** ![matali](https://blenderartists.org/letter_avatar_proxy/v4/letter/m/5f8ce5/32.png) [@matali](https://blenderartists.org/u/matali)\
**Post date:** [August 4, 2013, 11:38am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/15 "2013-08-04T11:38:02Z")

</div>

You don’t have to say that you can’t promise, it’s already really nice you made it 🙂 I have tons of personal projects, I know it’s not easy to do everything. Think to your health first !  
Cheers.

---

<div class="post-metadata">

**Author:** ![varkenvarken](https://blenderartists.org/user_avatar/blenderartists.org/varkenvarken/32/5299_2.png) [@varkenvarken](https://blenderartists.org/u/varkenvarken)\
**Post date:** [August 9, 2013, 6:50am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/16 "2013-08-09T06:50:26Z")

</div>

I added a feature to the floor board generator I really needed myself: a uv map with random offset for each individual plank. Without random offsets the floor looks as if it was sawn from and endless piece of wood, with the random offsets each plank looks individual. The option is set by default; if unchecked a plain uv map is added (similar to project from the top view).

More on this in [this blog article](http://blenderthings.blogspot.nl/2013/08/generate-floor-boards-quick-and-easy.html).

Cheers,

– Michel.

---

<div class="post-metadata">

**Author:** ![JuhaW](https://blenderartists.org/user_avatar/blenderartists.org/juhaw/32/21272_2.png) [@JuhaW](https://blenderartists.org/u/JuhaW)\
**Post date:** [August 9, 2013, 7:46am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/17 "2013-08-09T07:46:22Z")

</div>

Very usefull addon. Same architectural categories than Windows and Jamb Generator. It could be more versatile (eg. bathroom tiles, wall tiles)if there isnt plank length minimum 50cm.

---

<div class="post-metadata">

**Author:** ![varkenvarken](https://blenderartists.org/user_avatar/blenderartists.org/varkenvarken/32/5299_2.png) [@varkenvarken](https://blenderartists.org/u/varkenvarken)\
**Post date:** [August 9, 2013, 12:10pm UTC](https://blenderartists.org/t/a-floor-board-generator/582368/18 "2013-08-09T12:10:56Z")

</div>

@TynkaTopi: good point, I actually violated one of my own guiding principles: do not fix anything that might be used by others in creative ways 🙂 I will change the properties that have hard minima or maxima to soft extremes (that way the sliders will not move beyond these limits at first but you can override that by manually typing a value)

thanks

– Michel.

---

<div class="post-metadata">

**Author:** ![varkenvarken](https://blenderartists.org/user_avatar/blenderartists.org/varkenvarken/32/5299_2.png) [@varkenvarken](https://blenderartists.org/u/varkenvarken)\
**Post date:** [August 10, 2013, 2:36am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/19 "2013-08-10T02:36:06Z")

</div>

I replaced the hard limits by soft ones. The code refered to in [the blog article](http://blenderthings.blogspot.nl/2013/08/generate-floor-boards-quick-and-easy.html) is updated.

Cheers,

– Michel.

---

<div class="post-metadata">

**Author:** ![Alain](https://blenderartists.org/user_avatar/blenderartists.org/alain/32/6179_2.png) [@Alain](https://blenderartists.org/u/Alain)\
**Post date:** [August 11, 2013, 1:26am UTC](https://blenderartists.org/t/a-floor-board-generator/582368/20 "2013-08-11T01:26:54Z")

</div>

Thanks varkenvarken !

Do you know how to get random Material values per linked vertices ?  
[This](http://www.blenderartists.org/forum/showthread.php?258874-Cycles-How-to-Random-Location-Rotation-an-Scale-of-Mapping) Method works only per Mesh Object but not per linked vertices within a Mesh Object.

Do get random values for HUE, SAT and VAL per board would really make this Plugin mature.

Kind regards  
Alain

[Next page](https://blenderartists.org/t/a-floor-board-generator/582368.md?page=2)
