StickGeom
Attempts to attract two surfaces of a geometry and stick them together if they are close enough to one another. Allows the user to specify two surfaces to stick as well as the region of a geometry that is subject to deformation.
Inputs
- Geometry
GeometryGeometry to stick surfaces in.- First Surface Mask
Vertex MaskA selection of vertices specifying first surface of the geometry that will be stuck to the second one.- Second Surface Mask
Vertex MaskA selection of vertices specifying second surface of the geometry that will be stuck to the first one.- Deformable Region Mask (optional)
Vertex MaskA selection of vertices specifying deformable region of the geometry.If not specified, deformable region is the sum of surface masks
Attention
Both Surface Masks must lie entirely within the Deformable Region Mask, if one is provided.
Output
- Geometry
GeometryGeometry with surfaces stuck.
Parameters
- Max Iterations:
Max number of times the optimization is launched.
- Stick Radius (cm):
Defines threshold distance between surfaces.
- Falloff Radius (cm):
Defines sticking strength falloff if distance between surfaces exceeds Stick Radius.
- Sticking Weight:
Determines the strength, with which surfaces are pulled together.
- Smoothness Weight:
Determines the extent to which smoothness needs to be preserved.
Note
Sticking strength varies across surfaces based on the Distance to the opposite surface. It is decided as follows:
If Distance is below Stick Radius surfaces are pulled together with full strength.
If Distance exceeds Stick Radius by no more than Falloff Radius surfaces are pulled the weaker the closer the distance is to the latter.
If Distance exceeds Stick Radius by more than Falloff Radius surfaces are not pulled at all.