CPC G06F 30/20 (2020.01) [G06T 19/00 (2013.01); D02G 3/00 (2013.01); G06F 2113/12 (2020.01); G06T 2210/16 (2013.01)] | 15 Claims |
1. A computer implemented method for generating a model of a yarn, the method comprising:
receiving a yarn simulation input comprising a descriptive model of a general curvature followed by a simulated yarn;
providing, at an initial position of the simulated yarn comprising at least one ply, a plurality of simulated fibers distributed radially from the at least one ply's center, the simulated fibers comprising a plurality of point samples, each point sample indicating a position and directionality of one of the plurality of simulated fibers at each point along the simulated yarn;
determining an end position of each of the plurality of simulated fibers, wherein the end position of each of the plurality of simulated fibers is defined by a distance from the center of the fiber to the at least one ply's center calculated using a random function according to a Cauchy distribution function;
applying a strain model to the simulated yarn, the strain model configured to simulate an effect of stretch forces applied to the simulated yarn; and
outputting a yarn cross-section model comprising at least one shifted point sample.
|