Hole SOP

From TouchDesigner 088 Wiki

Summary

The Hole SOP is for making holes where faces are enclosed, even if they are not in the same plane. It can also remove existing holes from the input geometry.

The holes are made by searching for faces which are enclosed by other faces and creating bridges to the interior faces. It offers more flexibility than either the Extrude SOP or Divide SOP's hole-making capabilities because it can deal with interior faces which are not exactly in the same orientation as the exterior ones. It can also remove existing bridges that it finds in the input geometry if needed.

Note: This SOP works with Polygonal and Bezier geometry types only. NURBS surfaces will be converted internally to Beziers.

PythonIcon.png holeSOP_Class

Parameters - Transform Page

Group /group - If there are input groups, specifying a group name in this field will cause this SOP to act only upon the group specified. Accepts patterns, as described in Pattern Matching.

Un-bridge Holes /break - This function checks for bridges to holes in the input and removes the bridges, leaving the interior freestanding. At times you may need to unhole faces so that you can connect them in some other way.

Distance Tolerance /dist - Interior polygons that are not in exactly the same plane as the exteriors can still become holes. The Distance Tolerance value tells the Hole SOP how far away potential holes can be from the exterior surfaces. Faces beyond this distance will not become holes.

Angle /angle - Interior faces that are rotated in relation to the exterior faces can become holes. The Angle value sets the maximum rotation of the potential holes from the exteriors. Faces beyond this rotation will not become holes.

Snap holes to outlines /snap - Points of any holes that are rotated or translated away from the exterior (or outline) plane will be moved so that they lie on the surface of the outline plane, thus avoiding twisted faces.

Inputs / Geometry Types

Polygons, Bzier and NURBS curves. The Hole SOP can work with different types of faces simultaneously, but the resulting holed face will be made of Bziers if splines are encountered.

See Also