Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

122.4. libnest2d-5.11.0.alpha0

Header-only 2D bin packing, which arranges parts on Cura's build plate

5.11.0.alpha0-1 · LGPL-3.0-only · 0.1 SBU · 259.0 KiB, 28 files · 41_system, 497 of 1047 · ports/core/fabrication/libnest2d

Homepage: https://github.com/Ultimaker/libnest2d

Depends on: polyclipping, nlopt, boost.

Required by (1): python3-pynest2d.

Sources: libnest2d-5.11.0.alpha0.tar.gz (344.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libnest2d'

build.sh:

install -d "$PKG/usr/include"
cp -r include/libnest2d "$PKG/usr/include/"
find "$PKG/usr/include/libnest2d" -type f -exec chmod 644 {} +

test -f "$PKG/usr/include/libnest2d/libnest2d.hpp"
test -f "$PKG/usr/include/libnest2d/backends/clipper/geometries.hpp"

Directories: /usr/include/libnest2d, /usr/share/licenses/libnest2d.