Cloth Create Seam
surface node
Creates point attributes that define how the ClothStitchConstraint DOP stitches together panels.
See also: Cloth Refine, Cloth Match Panels, Cloth Stitch Constraint DOP
ClothCreateSeam creates point attributes that define how cloth panels are joined together in DOPs. This tool prompts you to select the points on one edge of a seam, in order, followed by the points on the other edge of the seam. The ClothStitchConstraint DOP will use the attribute information added by this SOP to create constraints that pull together the points on each half of the seam.
This tool is part of the set of tools that support a panel-based approach to clothing design. After creating and positioning flat cloth panels with few or no interior points (i.e. planar closed curves), you use the ClothCreateSeam SOP to specify which part of a panel should be stitched to which part of another panel, using separate ClothCreateSeam SOPs to define each seam. After all the seams are defined, use the ClothRefine SOP to triangulate each panel to the desired level of detail. To complete the cloth model, use the ClothMatchPanels SOP to add any additional refinement at the seams and to ensure that each half of the seam has the same number of points.
By storing seam information in attributes before the refinement step, you are able to change the amount of panel refinement without having to respecify the seams. Because of the way Houdini automatically interpolates attributes, points added along the seams because of the refinement will become part of the seam.
The order in which you select the points determines how the seams are joined, so be careful to use a consistent ordering for both halves of the seam. For each seam half, this SOP will assign a value between 0 and 1 to the point’s attribute value, using 0 for the first point on the seam and 1 for the last point. Values for intermediate points on the seam, if any, are based on the normalized distance along the seam.
Use the edge loop selector in the viewport to quickly select points along the seam. This approach is faster than clicking on each point individually.
This SOP creates point attributes named seam<seam_number>_<seam_half>, where <seam_half> is A or B and seam numbers start at 0. It currently does not visualize the cloth seams, though the ClothStitchConstraint DOP will visualize the seams at the DOP level. Some example files show how to visualize seams by copying the seam attribute values to point color attributes.
The ClothStitchConstraint DOP will build stitch constraints from cloth seam attributes by default, and you will need to enable Stitch Using Seam Attributes in that DOP. Also, that DOP’s default behavior is to snap corresponding points in both sides of the seam together, so you will want to change the Relationship Type to Two State Constraint on the DOP.
Parameters
|
Seam Points A |
The numbers of the points on one side of the seam. The number of points in the A group does not have to match the number of points in the B group, since the ClothMatchPanels SOP will ensure the point counts match before the geometry is imported into DOPs. The order of the points in this parameter matters, and will affect the direction of the seam. You will probably use the viewport selection mechanism to choose the points on the seam, instead of typing directly into this parameter. Use the edge loop selector in the viewport to easily pick the seam points. |
|
Seam Points B |
The numbers of the points on the other side of the seam. |