Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.54 KB

File metadata and controls

40 lines (29 loc) · 1.54 KB

Packer2D

A Nuke plugin for automatically packing multiple input images into a single output. Similar to UV packing tools, it arranges images efficiently with configurable aspect ratios, padding, and sorting options.

Packed Panel Nodes

Features

  • Aspect Ratio Control: Auto, square, 4:3, 16:9, 14:9, 1.66:1, 1.85:1, 2.35:1, or custom
  • Scale Modes: Original, Largest, or Smallest input scaling
  • Pack Algorithms: MaxRects, Guillotine, and Skyline variants
  • Bin Strategies: BNF, BFF, BBF, or Global
  • Sorting: None, Area, Perimeter, Diff, Short Side, Long Side, or Ratio
  • Padding: Adjustable pixel gap between packed images
  • Space Utilization: Shows packing efficiency percentage

Installation

  1. Copy the Packer2D directory and paste it somewhere in your Nuke plugin path, usually:
    • Linux/macOS: ~/.nuke/
    • Windows: C:\Users\<YourUsername>\.nuke\
  2. Open with a text editor the file menu.py that lives in your Nuke plugin path, or create one if it doesn't exist.
  3. Add the following line:
   import Packer2D
  1. Restart Nuke. The node will be available under the Other toolbar menu.

Dependencies

  • rectpack: Python rectangle packing library
  • Nuke 14.0

License

Packer2D is licensed under the GNU General Public License v3.0 (GPLv3).

The bundled rectpack library is licensed under the Apache License 2.0.