Object
The mesh automatically follows the edges on the subordinate geometry or the geometry assigned in the Node Editor. The following settings mainly define the desired weaving scheme.
If the creation of the weaving threads should only cover a certain part of the geometry, you can define a point selection here or specify an already saved point selection. The following Invert option also enables the inverted use of this selection for the creation of a fabric.
The plane geometry used as an example is shown on the left, where the point selection shown was saved. The middle part of the illustration shows how the creation of the mesh splines can be restricted to this area by specifying the name of this saved point selection. The Invert option has also been activated on the right.
Here you can, for example, use the name of a selection in quotation marks that you want to read out, e.g., "MySelection". Otherwise, the default entry will use an active selection on the geometry.
You can also use special keywords and logical operations here to create a new selection from scratch or a combination of already saved selections. The following keywords and operations can be used:
- Default: This term causes an active selection currently present on the geometry to be used. If no selection is active, all points will be used.
- odd: This term is used to select all elements that have an odd index number.
- even: This term is used to select all elements that have an even index number.
- all: This selects all elements of the selected type.
- hidden: Selects the hidden elements of the geometry.
- Name of a saved selection: If you enter the name of a saved selection in quotation marks, this selection will be read and used. To use a combination of a saved selection and another keyword or selection, use quotation marks with the selection name.
- Index numbers: You can also use index numbers directly, just as you are used to from the Index Array From String Node.
- Mathematical and logical operations: Mathematical or logical operations can be used to combine selections. Using the string odd – "center" for instance selects all odd elements and then subtracts the selection that has been stored by the name "center". You can use +, -, & (logical and), | (logical or) as well as a comma to combine multiple selections or index sequences.
This option allows you to invert the point selection specified above under Point Selection on the geometry. The points that were not originally selected in the specified selection are then used. The illustration above already shows this effect on the mesh creation.
Pattern Type
Here you can choose between different weave patterns, which can then be defined even more precisely using the following parameters:
Here you can see the available weave patterns. In the top row, from left to right, you can see the patterns Plain Weave, Twill Weave and Hatch Weave. In the bottom row, from left to right, you can see examples of Crowfoot Weave, 8 Harness Weave and 5 Harness Weave.
This allows the amplitude of the fabric threads to be adjusted horizontally and vertically.
On the left you can see the basic structure of a fabric consisting of horizontal (here colored brown) and vertical threads (here colored blue). The amplitude of the threads in these directions can be adjusted separately using the two Peak values.
Pinch Horizontal
These values describe the length of the constant thread height above the crossing thread direction. Small values tend to lead to a triangular oscillation of the threads, whereas larger values lead to rectangular thread courses.
On the left is a thread structure with small Pinch values, on the right with large Pinch values.
Max Count[-2147483648..2147483647]
Inset Horizontal / Inset Vertical
These values can be used to reduce the edge selection in the horizontal and vertical direction from the edge of the geometry. As the values increase, only thread splines are generated in the center of the geometry.
At the top you can see the gradual increase in the Inset value for the horizontal threads, below the gradual increase in the inset for vertical threads.
Offset Step[-2147483648..2147483647]
You use this value to indirectly control whether the threads should start with an amplitude peak or an amplitude valley.
The offset changes with each increase by 1 whether the thread oscillation should start with a curve upwards or downwards. For comparison, Offset Step 0 is on the left and Offset Step 1 is on the right.
Here you select which edge directions on the assigned geometry are to be output as thread splines. This therefore also allows you to use the initial geometry twice in the Object Manager under a separate Weave capsule and then calculate only the vertical and only the horizontal threads there. In this way, for example, different materials can also be used for both thread directions.
In the default setting Both, the splines for horizontal and vertical directions are output simultaneously.
From left to right, the outputs of the horizontal, vertical and both directions can be seen simultaneously. The overlay on the far right shows a possible benefit if only one direction is output, namely in the display of individual seams.
Max Steps[-2147483648..2147483647]
Subdivide
This controls the number of subdivisions along the thread curve. Basically, the higher the value, the more accurately the thread curve can be displayed.
The increasing values for the subdivisions can be seen here from left to right.
As the values increase, the existing subdivisions along the thread curves are smoothed out harmoniously.
On the left a slight smoothing, on the right a strong smoothing, with otherwise identical capsule settings.
Surface Offset
This changes the distance between the threads and the surface of the geometry used.
On the left a distance of 0 cm to the surface, on the right a distance of 1 cm.
Flip Weave Orientation
This allows the fabric to be calculated in mirrored form. Where a horizontal thread previously swings upwards, the vertical thread swings upwards and vice versa once the option has been activated.
A fabric without (left) and with activated option (right).
Remove Last Closed Point
This option controls what should happen to the last point of the thread splines when the threads run on closed edge loops. This would be the case, for example, when using a Disc geometry. The option mainly plays a role when closed thread splines are activated via the Subdivision section of the capsule. The following figure demonstrates the difference in the placement of the subdivisions in the end area of the splines.
A mesh without (left) and with activated option (right). Above, the closing of the thread spline along a slice geometry was switched off in the subdivision settings. The lower half of the image shows the same threads with the closing of the spline switched on.
