Script to apply color to objects based on rules
authorCampbell Barton <ideasman42@gmail.com>
Sat, 8 Nov 2014 17:25:58 +0000 (18:25 +0100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 8 Nov 2014 17:37:59 +0000 (18:37 +0100)
commitd03fdffd8d92c8a15688702466f1886c0d7a3e76
treeafd38ae4ce1a89ded9eef755e2725c4cbc7b7c2a
parentaee528512c65dcc84f4285d94cf712622cdb2480
Script to apply color to objects based on rules

use with gooseberry branch to quickly setup wire color.

Options are:
- name (regex or simple match)
- material
- group
- layer
- expression (Python expression)

Rules can mix colors so its possible to have useful results where there is overlap between rules.
(especially groups & layers where an object can be in multiple)
object_color_rules.py [new file with mode: 0644]