Poly extrude distance based on attribute values

   5812   6   0
User Avatar
Member
3 posts
Joined: Oct. 2019
Offline
Hi.
I am trying to poly extrude primitives, the extrude distance is set to @Cd.g but its not extruding. I check spreadsheet and the Cd attribute are there, I am not what I'm missing, please help!
Image Not Found

Attachments:
Capture.PNG (913.8 KB)
Capture2.PNG (222.9 KB)

User Avatar
Member
480 posts
Joined: July 2005
Offline
Hi,

go to local control tab -> activate the checkbox (distance scale) -> define prim attribute called zscale (or rename it), just use
prim wrangle and set @zscale = @Cd.g;
Edited by Aizatulin - Nov. 29, 2019 13:16:11
User Avatar
Member
3 posts
Joined: Oct. 2019
Offline
Still not extruding at all, even tho the attribute values are there.
I have Local Control/Local Attribute/check boxed “Distance Scale/Zscale”.
I run primitive wrangle over primitive after poly extrude with “@zscale = @Cd.g;”, but the extruding is not happening.

Image Not Found

Attachments:
Capture.PNG (746.5 KB)
PolyExtrude.hipnc (95.2 KB)

User Avatar
Member
34 posts
Joined: Aug. 2015
Offline
Hey so, I know this isn't exactly what you're after and I'm interested in it too but for the time being this might work you might have to adjust the settings a bit.

Attachments:
Greenextrude01.hipnc (128.0 KB)

User Avatar
Member
480 posts
Joined: July 2005
Offline
put wrangle before extrude
Edited by Aizatulin - Nov. 30, 2019 14:33:34

Attachments:
PolyExtrudeA.hipnc (95.2 KB)

User Avatar
Member
236 posts
Joined: March 2015
Offline
Hi, I've attached a hip file and screenshot showing some options.

1st and 2nd methods move the wrangle above the extrude.
1st and 3rd methods use Individual components on the extrude. (and a Boolean to clean up)
2nd method uses a soft peak.
3rd method uses distance from geometry.

Rob

Attachments:
PolyExtrude_RS.hipnc (150.5 KB)
Extrude_RS.jpg (77.4 KB)

User Avatar
Member
3 posts
Joined: Oct. 2019
Offline
Thank you all so much, I figured it out now with all the example you all given me, thanks.
  • Quick Links