Limit Extrude to Primitives
1857 8 2- _Christopher_
- Member
- 768 posts
- Joined: April 2014
- Offline
- A-OC
- Member
- 253 posts
- Joined: July 2006
- Offline
- _Christopher_
- Member
- 768 posts
- Joined: April 2014
- Offline
- jsmack
- Member
- 7789 posts
- Joined: Sept. 2011
- Online
- _Christopher_
- Member
- 768 posts
- Joined: April 2014
- Offline
? Or bypass the add vop ?
Edit:
I realized I need to search for and exclude adjacent faces as well to the attribute zscale since I have dozens of prims with 4 vertices. Reflect can search for all adjacent prims. I need to loop over all the prims, and reflect the adjacent normals; then bind to the attribute.
Edited by _Christopher_ - Aug. 13, 2017 13:00:10
【T】【C】【S】
- jsmack
- Member
- 7789 posts
- Joined: Sept. 2011
- Online
don't use zscale for selective extrusion. Simply create a primitive group, and enter the group name in the polyextrude group parameter.
Reflect doesn't search for anything, it gives the relfected direction, give an incident and normal vector.
To exclude faces that share an edge with faces that are also in the group, you will need to determine which faces share an edge with the current primitive, and loop over those, checking if any are in the first group. The prim vop/wrangle are by definition looping over primitives. You can narrow down the second steps search scope by using the first group as the runover group for the second prim vop.
Reflect doesn't search for anything, it gives the relfected direction, give an incident and normal vector.
To exclude faces that share an edge with faces that are also in the group, you will need to determine which faces share an edge with the current primitive, and loop over those, checking if any are in the first group. The prim vop/wrangle are by definition looping over primitives. You can narrow down the second steps search scope by using the first group as the runover group for the second prim vop.
- _Christopher_
- Member
- 768 posts
- Joined: April 2014
- Offline
- A-OC
- Member
- 253 posts
- Joined: July 2006
- Offline
- _Christopher_
- Member
- 768 posts
- Joined: April 2014
- Offline
-
- Quick Links