-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Milestone
Description
Use Case
For nesting compartments in new schema, we want to be able to pack them with the same collision detection as we do with ingredients.
Solution
We need to detangle the code.
Steps:
- Create ingredients and create compartments (should a compartment be a attribute of an ingredient?)
- create recipes
- calculate volume of each compartment, and each compartment needs to know it's children
- calculate the available volume of each compartment, ie env bounding box minus the volume of any children compartments
- set counts for all objects
- Build only environment grid
- place any compartments that are children of the grid
- build the children compartments
- Iterate through nested compartments until all are placed
- Pack non compartment ingredients
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels