Pattern Collections is a Blender add-on for organizing scene objects into collections with configurable rules. Inspired by pattern-based collections for OpenUSD, it uses regular expressions and JSON to define and layer sorting patterns. Its documented use cases include keeping blend files organized, dividing large object sets into bake or export collections, and setting up model or scene variations from metadata. The project README documents the sorting categories and Python operators.

Configure sorting rules in Blender

You can configure, test, and refine patterns through Blender's interface. Rules can include or exclude objects by name, hierarchy, type, material, collection, UV layer, modifier, or attribute. Each rule can be enabled or disabled, set to use case sensitivity, and assigned an anchor such as Match, Contains, Starts with, Ends with, Match Rgx, Search Rgx, Greater, or Less.

For attribute-based sorting, reserved names include triangles, bounding_box, and surface_area. These return zero for non-mesh objects. The values can be combined, such as triangles divided by area to sort by triangle density.

Reuse patterns and automate sorting

Export patterns as JSON to reuse them in other projects. The add-on also provides Python operators to import a pattern configuration and sort the active collection. Once you define a working structure, automatic sorting can categorize objects as you create them.

Compatibility and license

Version 1.1.0 is listed for Blender 4.2.0 or later, before 5.0.0. The add-on is licensed under the GNU General Public License v3.0 or later. Check the Blender Extensions listing for the current compatibility range.