-
Was wondering if this project has a way to pack a box up to a certain volume or volume percentage given the inner dimensions of a box? For example, I have a box with inner dimensions (inches) of 12x10x8 and I would like to fill it up to 80% of it's volume capacity to leave room for filler. Looking through the code it doesn't seem explicitly available, but there are methods available (usedVolume, volumeUtilization) where maybe this could be done in a round about way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello There's no built-in mechanism for doing something like that, but depending on how precise you want to be, either of the following should be feasible.
|
Beta Was this translation helpful? Give feedback.
Hello
There's no built-in mechanism for doing something like that, but depending on how precise you want to be, either of the following should be feasible.
PackedBox
and its helper methods (I'll look into changing that at the next major version bump), but you should be able to work out the current packed volume anyway to make a decision with