Post #5128: This may be useful if you paint verts or textures in 3d viewport in Blender…
📋 Metadata
- Author: fjg3d
- Date: 2024-05-13 17:52:10
- Type:
showcase - Quality Score: 7/10
- Replies (1): post_05129
🏷️ Tags
macro hotkeys intermediate unsolved
⚙️ Related PME Features
- Macro Editor
- Hotkey Configuration
- Python Scripting
💬 Content
This may be useful if you paint verts or textures in 3d viewport in Blender…
Selecting colors in a 3d viewport that is ‘Shaded’ will return colors that are not the pure color. So, I made this simple PME script for selecting colors in ‘Flat’ mode, which is just color info.
It grabs the current shade mode, changes shade mode to ‘Flat’ and brings up the color picker, then switches back to previous shade mode. Like the default color picker, whatever color the picker is over when key is released will be the new selected color. Its set to hotkey ‘C’, but you can change it of course.
One small quirk is that you have to move the cursor a bit after holding down the hotkey otherwise it may pick the shaded mode color (the color picker is called too quickly). I think there is a timer or wait command that could be added prior to bringing up the picker, but I can’t figure it out.
Color_Select_Flat_Shade.json (902 Bytes)
❤️ 6 likes