I made a tool that works on box geometry, now I am trying to make a tool that works on multiple boxes (merged) in one input instead of multiple inputs. I thought “for each loop” would work, but it doesn't have an option for geometry(or mesh). ;( is there a way to loop the tool on geometries instead of primitive and points?
Loop for geometries
1539 2 0-
- sungho1114
- Member
- 18 posts
- Joined: 1月 2016
- Offline
Hello,
I made a tool that works on box geometry, now I am trying to make a tool that works on multiple boxes (merged) in one input instead of multiple inputs. I thought “for each loop” would work, but it doesn't have an option for geometry(or mesh). ;( is there a way to loop the tool on geometries instead of primitive and points?
I made a tool that works on box geometry, now I am trying to make a tool that works on multiple boxes (merged) in one input instead of multiple inputs. I thought “for each loop” would work, but it doesn't have an option for geometry(or mesh). ;( is there a way to loop the tool on geometries instead of primitive and points?
-
- Andr
- Member
- 899 posts
- Joined: 2月 2016
- Offline
Hello, you can set an integer or string attribute and tell the for loop to iterate over the primitives with the same value for that attribute.
Most common practice is to iterate over connected pieces.
Have a look at the “for each connected piece” for loop setup or “for each named piece”.
Cheers
Most common practice is to iterate over connected pieces.
Have a look at the “for each connected piece” for loop setup or “for each named piece”.
Cheers
Edited by Andr - 2019年6月4日 17:46:40
-
- sungho1114
- Member
- 18 posts
- Joined: 1月 2016
- Offline
-
- Quick Links