Floor board generator, using a floor plan




I have started on the support for a floor plan, i.e. restricting the generated planks to some outline. This feature is very much a work in progress but it is already useable:
It works by adding and applying a boolean modifier to the generated floorboards.

The current [updated] workflow is like this:
  • select your floor plan, make sure it is flat, has a number of faces selected and the face normals pointing up:

  • position the 3D cursor just outside the bottom left corner of the floor plan
  • choose Add -> Mesh -> Add floor board mesh
  • adjust the number of planks and their length (in the modifier tab!)

    • select 'use floorplan' and select your floor plan mesh

      What is left to automate is probably to make sure the floor board is position at the lower left corner of the floor plan because that is easy to forget. You can change the position of the generated floor board but then you have to tweak some attribute (like the number of planks for example) to make it calculate a new floor board, which is ugly.

      For those who find a video easier to understand, here's a short screencast of the workflow:


      Code availability


      You can download version 0.0.15 form GitHub to try out this new functionality. If you already installed a previous version don't forget to remove the old version before installing the new one. (You can remove an old version by deleting the file planks.py from your Blender addons directory (on Windows typically in C:\Users\<your user name>\AppData\Roaming\Blender Foundation\Blender\2.71\scripts\addons )

      Known issues

      The sides of the planks are currently not properly uv mapped, something that may show when large gaps are used.

      Previous articles on the floor board addon

      The development and use of this addon is documented in several earlier articles:

      Part I initial version
      Part II random uv-coordinates
      Part III random vertex colors
      Part IV additional options
      Part V randomization
      Part VI small enhancements

      It is also extensively discussed in this BlenderArtists thread.

      6 comments:

      1. Hi man, I was really into your floor generator some years ago, but it seems it doesn't work anymore on the current version of blender... Any chance you will be updating it?

        ReplyDelete
        Replies
        1. @Unknown, I wasn't aware is was broken but I'll sure have a look at it. Do you have a specific error message for me? Because it installs and runs ok on my machine so it must be some specific action/piece of code that triggers it ...

          Delete
      2. Hi, when I'm adding a floor board mesh there is nothing in the modifier tab (I installed addon and I have only some adjustments on the left panel, e.g without bevel option) Could you help me?

        ReplyDelete
      3. Hi, when I'm adding a floor board mesh there is nothing in the modifier tab (I installed addon and I have only some adjustments on the left panel, e.g without bevel option) Could you help me?

        ReplyDelete
        Replies
        1. I think I need to update these articles and documentation ;-)
          All the options are in the Floorgenerator tab in the Tools region (the one you get in 3d-view when you press Ctrl-T)

          Delete
      4. Carbon monoxide is a scentless and lackluster gas released in generator fumes. Inward breath of carbon monoxide is regularly deadly, and various passings happen every year because of purchaser generator utilize.Portable Generator

        ReplyDelete