Setting @P.y Flatten PolyFill

   1363   8   0
User Avatar
Member
171 posts
Joined: Oct. 2016
Offline
Hello

after polyfill (gives round shape bottom) wanted to flatten points them being on one line
if i know numbers of them i think is it correctly or is there a better way if about Wrangle?
if(@ptnum >= 840)
if(@ptnum <= 1035)
@P.y = -2.08414;
else if doing it with VOPs how to connect group to @P.y if setattrib doesn't even have right outputs and them to global output?

Thanks
Edited by RyuKu - Jan. 13, 2020 18:02:41

Attachments:
Timeless_Serum_VitC.JPG (90.1 KB)
Timeless_Serum_VitC_Wrangle.JPG (46.1 KB)
Timeless_Serum_VitC_VOPs.JPG (50.3 KB)

User Avatar
Member
7762 posts
Joined: Sept. 2011
Online
Put the point selection in the group field of the attribute wrangle.

But wouldn't it be easier to change the settings on the polyfill to output a flat bottom to begin with?
User Avatar
Member
171 posts
Joined: Oct. 2016
Offline
but jsmack i like only how polygons look like with Quadliteral Grid
(single polygon; triangles; triangle fan; quadliteral fan; quadliterals; quadliteral grid)

but how can i put group from VOP to Wrangle Group field?

Attachments:
polyfill_01_single polygon.JPG (32.3 KB)
polyfill_02_triangles.JPG (34.6 KB)
polyfill_03_triangles fan.JPG (34.4 KB)
polyfill_04_quadliteral fan.JPG (29.7 KB)
polyfill_05_quadliterals.JPG (36.4 KB)
polyfill_06_quadliteral grid.JPG (37.1 KB)

User Avatar
Staff
3455 posts
Joined: July 2005
Offline
turn OFF Deform Patch on the PolyFill - that should make a flat surface.
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
171 posts
Joined: Oct. 2016
Offline
ty goldfarb
works perfectly
Edited by RyuKu - Jan. 13, 2020 16:01:42

Attachments:
polyfill_off_deform_patch.JPG (31.1 KB)
polyfill_off_deform_patch_parm.JPG (41.9 KB)

User Avatar
Member
171 posts
Joined: Oct. 2016
Offline
jsmack
it you've meant this
works wonderfully
ty

Attachments:
point_selection_group_wrangle.JPG (33.8 KB)

User Avatar
Member
7762 posts
Joined: Sept. 2011
Online
goldfarb
turn OFF Deform Patch on the PolyFill - that should make a flat surface.

Thanks, I didn't remember what the setting was called. I just knew there was one.
User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
I think the deform should by default be off, it's very annoying and rarely used…just me.
User Avatar
Member
7762 posts
Joined: Sept. 2011
Online
But muh C3 continunity
  • Quick Links