binpacking3D

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 3D-Print/Production
Introduced first in SolidGeometry 2.1, Creation date: 2015-01-31, Last change: 2025-09-14

returns a straight forward bin packing

Description

h/2 is a good estimation for a layout size [h/2 h/2 300] if object height differs

Example Illustration

 missing image of binpacking3D(LAY,BOXL,grid)

Syntax

[BOXL,h]=binpacking3D([LAY,BOXL,grid])

Input Parameter

LAY: Layout dimensions; default [100,60,80]
BOXL: nx4 [index size-x size-y size-z]
grid: grid size; default is 1 mm

Output Parameter

BOXL: nx4 [index pos-x pos-y pos-z]
h: estimation of a square side length if all bin have the same heigth

Examples

Just enter: binpacking3D



Copyright 2015-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21