Blender exposes the Collection type through its Python API but offers few tools for grouping objects by common properties and metadata. Pattern Collections addresses this, building on RegEx and the JSON format to configure and layer precise sorting rules. It draws inspiration from Pattern-Based Collections for OpenUSD.
Sorting categories cover included or excluded names, hierarchies, types, materials, collections, UV layers, modifiers and attributes. Each rule supports enable/disable toggling, case sensitivity and an anchor setting (Match, Contains, Starts with, Ends with, Match Rgx, Search Rgx, Greater, Less). Patterns can be configured, tested and refined from the Blender interface, then exported to JSON for reuse.
A Python API exposes import and sort operators, and automatic sorting categorises objects as they are created once a working structure is defined. The extension has the potential to sort 1K objects in under a second. Version 1.1.0 added Modifiers as a sorting category.