# Space Planning using Bin Packing Algorithms

**URL:** <https://forum.dynamobim.com/t/space-planning-using-bin-packing-algorithms/6705>\
**Category:** Uncategorized\
**Created:** [October 12, 2016, 3:51am UTC](https://forum.dynamobim.com/t/space-planning-using-bin-packing-algorithms/6705 "2016-10-12T03:51:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Crichton](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/scott_crichton/32/8876_2.png) [@Scott\_Crichton](https://forum.dynamobim.com/u/Scott_Crichton)\
**Post date:** [October 12, 2016, 3:51am UTC](https://forum.dynamobim.com/t/space-planning-using-bin-packing-algorithms/6705/1 "2016-10-12T03:51:11Z")

</div>

I was just wondering if anybody on the forum has come across workflows for space planning utilising bin packing algorithms? I have found a few topics on space planning utilising relationships, but was more interested in the brute force of just space optimisation using full bin packing for a first run at space planning without taking into account special relationships.

---

<div class="post-metadata">

**Author:** ![Donovan.Wilson](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@Donovan.Wilson](https://forum.dynamobim.com/u/Donovan.Wilson)\
**Post date:** [February 22, 2017, 9:35pm UTC](https://forum.dynamobim.com/t/space-planning-using-bin-packing-algorithms/6705/2 "2017-02-22T21:35:26Z")

</div>

I think this is a good idea. I think it makes sense to implement a basic bin packing algorithm in dynamo.

Then I think the next step is to iterate solutions based on the “package dimensions”

I would like to take set of areas with a min and max dimension and have the computer pack them in a bunch of ways

And include adjacency, or rules about how areas need to be connected.

---

<div class="post-metadata">

**Author:** ![dbrokaw](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@dbrokaw](https://forum.dynamobim.com/u/dbrokaw)\
**Post date:** [February 20, 2019, 2:54pm UTC](https://forum.dynamobim.com/t/space-planning-using-bin-packing-algorithms/6705/3 "2019-02-20T14:54:14Z")

</div>

I am currently very interested int he same and looking at running simple examples of rectangles packed into a larger rectangle “Bin”

with no prior experience I am starting at looking into what already exist

Example:

> <https://stackoverflow.com/questions/1213394/what-algorithm-can-be-used-for-packing-rectangles-of-different-sizes-into-the-sm>

---

<div class="post-metadata">

**Author:** ![dbrokaw](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@dbrokaw](https://forum.dynamobim.com/u/dbrokaw)\
**Post date:** [February 20, 2019, 3:07pm UTC](https://forum.dynamobim.com/t/space-planning-using-bin-packing-algorithms/6705/4 "2019-02-20T15:07:43Z")

</div>

join the effort here if you would like  
https://trello.com/c/XV8KlX3y.html

---

<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:** [February 20, 2019, 3:22pm UTC](https://forum.dynamobim.com/t/space-planning-using-bin-packing-algorithms/6705/5 "2019-02-20T15:22:08Z")

</div>

If you’re only using boxes, the miscellany package has some nodes for this already. 🙂

See [here](https://twitter.com/didymuscoombe/status/1065998246340902917) and [here](https://twitter.com/60secondrevit/status/1093550795734188037) for examples.
