add_hem
Adds a turned-back hem strip to a straight pattern edge in CLO3D, producing doubled fabric at the finished edge and a new hem line.
Instructions
Hem a straight edge: adds the turned-back layer as a strip covering the hem area on the reverse side, sewn along the edge and along a new hem line (cloth cannot be folded this way: a fold angle only bends it about 20 degrees, even at full strength). Gives the doubled fabric at the edge. The pattern's edge is the finished edge, so draw pieces at their finished size.
Args: pattern_index: Piece to hem. line_index: The straight outline line to hem (from get_pattern_geometry / view_patterns). width: Finished hem width in mm. layer: Layer for the hem strip: -1 = the -z side (towards the back camera), 1 = the +z side. Use the side opposite the garment's face. Where hems cross (a bottom hem and the side hems), put the later ones one layer further out (e.g. -2), like the real corner; on the same layer the overlapping strips crumple. fabric_index: Fabric for the strip (default: the piece's fabric). place_flat: Place the strip Flat, like a piece laid out without an avatar; set False and place it yourself for pieces on an avatar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| width | Yes | ||
| line_index | Yes | ||
| place_flat | No | ||
| fabric_index | No | ||
| pattern_index | Yes |