This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MAXON Cinema 4D | |
# Clean up joint's weights for AR compatibility | |
# | |
# This script will set to zero the weights of all but 4 | |
# joints/bones for each point in the selected Weight tag. | |
# As a result, the weights will be unnormalized. So you'll | |
# probably want to normalize all weights after using this | |
# script. | |
# | |
# NB: The weights table in the Weight Manager UI tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Houdini - Connectivity SOP > Attribute Wrangle SOP | |
// Delete small floating pieces by number of primitives | |
// | |
// To be used inside the VEXpression parameter of an Attribute Wrangle SOP | |
// with the "Run Over" mode set to "Detail (only once)". | |
// The Attribute Wrangle SOP must be placed after a Connectivity SOP | |
// with the "Connectivity Type" set to "Primitive" | |
// and the "Attribute" set or linked to connect_attr. | |
//string connect_attr = chs('../connectivity1/attribname'); | |
string connect_attr = 'class'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Houdini - Assemble SOP > Attribute Wrangle SOP | |
// Delete small floating pieces by number of primitives | |
// | |
// 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 | |
// and the "Output Prefix" set or linked to assemble_output_prefix. | |
//string assemble_output_prefix = chs('../assemble1/outside_group'); | |
string assemble_output_prefix = 'piece'; |