Split Location field in Polysplit SOP

   437   4   1
User Avatar
Member
3 posts
Joined: 9月 2025
オフライン
Hello,

I am very new in learning Houdini so please be lenient.

I identified N-gons (hexagons specifically) in a geo and I want to split them in half though the polysplit node, as I can target all the faces and vertices affected.

So I made that trhough an attribute wrangle, but my problem is now, whatever I put in the Split Location field, the node doesn't recognize it and I have an error. What's strange is that I printf the prior detail wrangle and the data stored is right!

Can someone tell me where I might have made a mistake ?

Thanks.

All example below:
User Avatar
Member
5091 posts
Joined: 2月 2012
オンライン
Hi,

Your example is not visible but are you sure you are generating the right syntax Polysplit is expecting?

Another approach would be to perform the splitting using VEX by first deleting the polygon and then creating 2 new polygons to represent the split polygons.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
User Avatar
Member
3 posts
Joined: 9月 2025
オフライン
Hello !

Sorry the images weren't included in the previous message.

Hoping it's making more sense now.

Thanks!


Attachments:
Houdini 1_2.png (858.2 KB)
Houdini 1_3.png (1.1 MB)

User Avatar
Member
9374 posts
Joined: 7月 2007
オフライン
details() function has just 2 arguments as opposed to detail() so you may want to try
`details( "../attribwrangle7", "splits" )`
or if it's a detail attrib on input geo as in your case you can also do
`details( 0, "splits" )`

a few additional notes:
- Polysplit expects single continuous chain of splits, so if your splits cannot be done as a continuous line it will also error out
- you may want to change your wrangle to run over Detail, then you can also just use
s@splits = splits;
instead of setdetailattrib()
- and for readibility you may want to use space instead of a newline in your splits string
Edited by tamte - 2025年11月26日 11:30:36
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
3 posts
Joined: 9月 2025
オフライン
Alright Mr. Tomas, let me try these and I'll get back to you.

Thanks !

(UPDATE)

OMG it actually worked!

You were right, using `details( "../attribwrangle7", "splits" )` was enough, the 0 at the end wasn't necessary.

Thank you very much once again sir.
Edited by bikonistudio - 2025年11月26日 12:16:27
  • Quick Links