3DContainerPacking icon indicating copy to clipboard operation
3DContainerPacking copied to clipboard

Dealing with floats.

Open luenib opened this issue 2 years ago • 0 comments

Sometimes one of the dimension of a box could be, say, 2 1/4", which translates into 2.25" In order to avoid dealing with floats, I move the decimal point two places to the right. When that happens the algorithm returns very weird results. It's like the algorithm was not designed to deal with numbers like 375 (3 3/4"), 713 (7 1/8").

If I change the dimensions to 4" and 7" the packing is smoother. Has anyone here dealt with this issue?

luenib avatar Sep 05 '23 17:09 luenib