Hello,
Here are my steps:
- I add a mesh into "myRecipe_compartments_geometries" in the outliner.
- I hit SetupCompartments in the myRecipe Setup window in the left hand toolbar.
- I add a mesh into "Mesh_interior" which has been created after I hit the SetupCompartments button. Whatever goes in here is what I understand will be filling the volume of the first mesh added.
-When I click SetupPacking, this error is raised:
AttributeError: 'NoneType' object has no attribute 'setNumber'
(It traces back to the line in the addons... line 1644 in Environment.py)
def addCompartment(self, compartment):
compartment.setNumber(self.nbCompartments)
I know that setNumber is a function of class Compartment (a subclass of CompartmentList) in Compartments.py. I expect that the object 'compartment' should be of class Compartment, not NoneType.
Perhaps I have set up the blender file incorrectly? Can anyone offer a tip?
My main goal is to densely pack a 3d volume with a set of irregular meshes, without any collisions) I have provided a picture below. This is a model that was manually built in rhino. I am searching for a way to automate the 3d packing without collisions.
Thank you!