Hi! I want to have 2 separate branches. One used, if blast node is empty, other - it blast node has some primitives filled in. Is there any sane way to do so? I could not find any conditional if/else nodes, only ‘foreach’ made on two blocks - ‘begin’ and ‘end’.
Like, right now, no matter what - all blocks are going to be executed from top to bottom no matter what, I don't see any way to ‘stop’ some block from execution based on some condition.
Conditions in vex
4743 7 1- assignators
- Member
- 44 posts
- Joined: April 2017
- Offline
- BabaJ
- Member
- 2042 posts
- Joined: Sept. 2015
- Offline
- assignators
- Member
- 44 posts
- Joined: April 2017
- Offline
Hi! Thank you for getting back. This is not possible with wrangle node. Here I will explain why (see attachment image):
In step 1, I load geometry.
In step 2, I extrude it.
In step 3, I group it with normal filter set to Y==1, so I get only ‘roof’ part of my house, i.e. flat facing top.
In step 4, based on that, I divide model using blast into roof and house
Sometimes, in step 1 geometry winding is reversed, so in that case in step 4 I get empty roof. So, if I get empty roof in step 4, I want to get back and redo everything, but this time just with reversed winding using clean node to reverse it.
In order to do so, I need to ‘drop’ existing branch and switch to some other branch. This is not possible with attribute wrangle I suppose.
In step 1, I load geometry.
In step 2, I extrude it.
In step 3, I group it with normal filter set to Y==1, so I get only ‘roof’ part of my house, i.e. flat facing top.
In step 4, based on that, I divide model using blast into roof and house
Sometimes, in step 1 geometry winding is reversed, so in that case in step 4 I get empty roof. So, if I get empty roof in step 4, I want to get back and redo everything, but this time just with reversed winding using clean node to reverse it.
In order to do so, I need to ‘drop’ existing branch and switch to some other branch. This is not possible with attribute wrangle I suppose.
Edited by assignators - May 3, 2017 15:59:51
- tamte
- Member
- 8579 posts
- Joined: July 2007
- Offline
- BabaJ
- Member
- 2042 posts
- Joined: Sept. 2015
- Offline
- assignators
- Member
- 44 posts
- Joined: April 2017
- Offline
- anon_user_17219727
- Member
- 10 posts
- Joined: April 2015
- Offline
- assignators
- Member
- 44 posts
- Joined: April 2017
- Offline
-
- Quick Links