Select by orientation

Could someone help to make a script that would select instances with 'wrong' (=pointing downwards) Z orientaion?
Thank you in advance.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
1rv's picture

Many thanks Branko! Damn why

Many thanks Branko!
Damn why penny hasn't dropped earlier to request for this- so much stupid manual digging.

barigazy's picture

...

select(for o in geometry where o.dir.z < 0 collect o)

barigazy

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.