Skip to content

Instantly share code, notes, and snippets.

@killiantimsit
killiantimsit / wrangle-attr---delete-small-floating-pieces-sizebbox-assemblesop.c
Created November 16, 2017 20:53
Houdini - Attribute Wrangle VEX - Delete small floating pieces by bounding box sizes (Assemble SOP)
// Houdini - Assemble SOP > Attribute Wrangle SOP
// Delete small floating pieces by bounding box sizes
//
// To be used inside the VEXpression parameter of an Attribute Wrangle SOP
// with the "Run Over" mode set to "Detail (only once)".
// The geometry must be assembled first using an Assemble SOP
// with the "Create Packed Geometry" option disabled,
// "Create groups" option enabled,
// and the "Output Prefix" set or linked to assemble_output_prefix.
//string assemble_output_prefix = chs('../assemble1/outside_group');