Fabric weave parameterization design method with visual error effect
Through the principle of optical illusion and parametric design method, a fabric weave diagram with three-dimensional visual illusion is generated, which solves the problem of three-dimensional visual effect in two-dimensional fabric design and realizes flexible design and rich visual expression.
Patent Information
- Application Number
- CN202510734866.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-09-19
AI Technical Summary
Existing fabric structure design methods cannot achieve three-dimensional visual effects on a two-dimensional plane, which limits the flexibility and creativity of fabric design.
By adopting the principle of optical illusion and parametric design method, the monotonic function, oscillation propagation function and weave parameters are set to generate a fabric weave diagram with stereoscopic optical illusion.
Without changing the physical structure of the fabric, a three-dimensional visual effect is achieved, the design process is simplified, the visual expression of the fabric is enriched, and design flexibility and creativity are enhanced.
Smart Images

Figure CN120671211A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of textile design, in particular to a parametric design method for fabric tissue with optical illusion effect. Background Art
[0002] Digital fabric weave design falls into two main categories: one is based on graphical transformation, where the weave diagram is flipped, combined, rotated, and modified based on the graphical image; the other is based on a specific algorithm, modifying the spatial structure and complexity of the fabric weave. Regardless of which design method is used, none of these methods visually renders a two-dimensional fabric three-dimensional. Summary of the Invention
[0003] The purpose of the present invention is to provide a parametric design method for fabric tissue with visual illusion effect. Without changing the three-dimensional structure of the fabric, the principle of visual illusion is utilized to develop a tissue with a three-dimensional illusion effect in the design of two-dimensional fabric tissue through a parametric design method. This not only simplifies the design process of the fabric tissue, but also enriches the visual expression of the fabric.
[0004] The technical solution of the present invention is: a parametric design method for fabric structure with optical illusion effect, comprising:
[0005] Step 1: Set the monotonic function parameters;
[0006] Step 2: Set the oscillation propagation function;
[0007] Step 3: Integrate the monotonic functions in step 1 into a composite function, and propagate the composite function through the oscillation in step 2 to obtain a single yarn sequence;
[0008] Step 4, performing fly number transformation and negative film transformation on the basic single yarn in the single yarn sequence in sequence to obtain a weave sequence;
[0009] Step 5: Generate a weave diagram and a fabric effect simulation diagram based on the weave sequence.
[0010] In the above technical solution, the monotonic function parameters of step 1 include the analytical expressions of the functions f(x) and g(x), and the number n of groups of the f(x) and g(x) functions.
[0011] In the above technical solution, the function value of the function f(x) is the number of continuous warp tissue points, the function value of the function g(x) is the number of continuous weft tissue points, and the functions f(x) and g(x) are arbitrary monotonically increasing functions.
[0012] In the above technical solution, the function values of the functions f(x) and g(x) are both positive integers greater than or equal to 1, where the independent variable x can take any positive number.
[0013] In the above technical solution, the oscillation propagation parameters in step 2 include the propagation starting point start, the propagation number num, the propagation gradient list J and the propagation function y.
[0014] In the above technical solution, the propagation gradient list J is determined by the propagation times num and the propagation function y.
[0015] In the above technical solution, tissue parameters are set in step 4, and the tissue parameters include the maximum value Smax and the minimum value Smin of the flying number in the flying number list, the number of film flips D, and the waveform magnification Mul.
[0016] In the above technical solution, the number of elements in the flying number list should be 1 more than the number of times the film is flipped.
[0017] In the above technical solution, the number of times D of film flipping is an even number, and the waveform magnification Mul≥1.
[0018] In the above technical solution, in step 5, the colors of the warp yarns and the weft yarns are set, and a fabric effect simulation diagram is generated according to the set warp yarn colors and weft yarn colors.
[0019] The advantages of the present invention are:
[0020] The present invention cleverly combines the principle of optical illusion with advanced parametric design methods, achieving visual innovation while maintaining the original structure of the fabric, and significantly improving the flexibility and creativity of fabric design. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The present invention will be further described below with reference to the accompanying drawings and embodiments:
[0022] Figure 1 It is a schematic flow chart of the design scheme of the present invention.
[0023] Figure 2 Schematic diagram of parameter settings of the present invention.
[0024] Figure 3 It is the waveform function image of the present invention.
[0025] Figure 4 This is the organizational diagram of Example 1 of the present invention.
[0026] Figure 5 This is a fabric simulation diagram of Example 1 of the present invention.
[0027] Figure 6 This is an organizational diagram of Example 2 of the present invention.
[0028] Figure 7 This is a fabric simulation diagram of Example 2 of the present invention. DETAILED DESCRIPTION
[0029] To make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features therein can be combined with each other without conflict.
[0030] The following description sets forth numerous specific details to facilitate a thorough understanding of the present invention. The embodiments described are merely examples of some aspects of the present invention, and are not exhaustive. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort are intended to fall within the scope of protection of the present invention.
[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0032] Example:
[0033] See also Figure 1 As shown, the present invention relates to a parametric design method for fabric structure with optical illusion effect, comprising:
[0034] Step 1: Set the monotonic function parameters;
[0035] Step 2: Set the oscillation propagation function;
[0036] Step 3: Integrate the monotonic functions in step 1 into a composite function, and propagate the composite function through the oscillation in step 2 to obtain a single yarn sequence;
[0037] Step 4, performing fly number transformation and negative film transformation on the basic single yarn in the single yarn sequence in sequence to obtain a weave sequence;
[0038] Step 5: Generate a weave diagram and a fabric effect simulation diagram based on the weave sequence.
[0039] In this embodiment, the monotonic function parameters of step 1 include the analytical expressions of the functions f(x) and g(x), and the number n of groups of the f(x) and g(x) functions. The function value of the function f(x) is the number of consecutive warp weave points, and the function value of the function g(x) is the number of consecutive weft weave points, and both functions f(x) and g(x) are arbitrary monotonically increasing functions. The function values of both functions f(x) and g(x) are positive integers greater than or equal to 1, and the independent variable x can be any positive number.
[0040] In this embodiment, the oscillation propagation parameters in step 2 include a propagation starting point start, a propagation number num, a propagation gradient list J, and a propagation function y.
[0041] Oscillation propagation is manifested as the sequence subscript gradually increasing from the propagation starting point start to a larger value Lmax (Lmax≤n), and then gradually decreasing to a smaller value Lmin (Lmin≥1), and then rising or falling again. The non-periodic fluctuation formed by this repetition is the oscillation propagation of the sequence.
[0042] Each change in the subscript is recorded as a propagation, and the propagation stops when the number of propagations reaches num.
[0043] The values that increase or decrease in adjacent subscripts are the propagation gradients, which may be different in magnitude and not completely zero.
[0044] The propagation gradient list J is determined by the propagation function y and the number of propagations num. Specifically:
[0045] Pass the natural number list 0, 1, 2, ..., num as the independent variable into the waveform function y. The generated dependent variable list is the propagation gradient list J. Alternatively, directly input the propagation gradient, and then randomly generate the propagation gradient list J based on num.
[0046] The function value of the propagation function y should satisfy the law of oscillation propagation.
[0047] In this embodiment, in step 3, for the function in step 1, let the composite function Then there is Right now ..., the function value of the composite function Z(m) is oscillated and propagated to obtain the single yarn sequence A=Z(start), Z(start+2), Z(start+3), ..., Z(n), Z(n-1) ..., Z(start+2), Z(start).
[0048] In this embodiment, tissue parameters are set in step 4. The tissue parameters include the maximum value Smax and minimum value Smin of the fly count, the number of film flips D (D is an even number), and the waveform magnification Mul (Mul≥1). Optional parameters include the fly count list and the film list.
[0049] The flying number change of list a is expressed as a circular stack. When the flying number S=1, the first element in the array is moved to the last position, and the remaining elements in the array are moved forward one position in turn to occupy the position of the previous element. The new array formed is the flying number transformation of the array. When S>1, the multiple new arrays formed by repeating the above circular stack S times are recorded as a s=n , where n is the number of transformations.
[0050] The flying number change of single yarn sequence A is to convert the single yarn sequence into a list and then perform flying number change on the list. Convert the single yarn sequence A into an array in the order of f(x1), g(x1), f(x2), g(x2), f(x3), g(x3) ... f(xn), g(xn), and then use "1" to represent continuous warp points and "0" to represent continuous weft points according to the values of f(x) and g(x), thus generating a list a, and then perform flying number transformation on list a. s=n , obtain list a', reassign list a' to A, thereby completing the flight number transformation of the basic single yarn sequence, recorded as: A s=n .
[0051] The number of elements in the fly count list should be one more than the number of film flips, i.e., the number of elements in the fly count list = D + 1. The fly count list can be specified or randomly generated, and the elements in the fly count list should be in the range [Smin, Smax].
[0052] The flip of the single yarn sequence A is to generate a list a by changing the number of flights in the single yarn sequence A. Then, the list A' is generated, and the element "1" in the list A' is replaced by "0", and the element "0" is replaced by "1". The generated new list is reassigned to A, which is recorded as: A D .
[0053] For the single yarn sequence A, the difference between the sum of all numerators and denominators and the sum of all flying numbers is 1, that is, At the same time, the number of film conversions should be an even number.
[0054] Insert the negative flip identifier "D" into the fly number list, and the new list formed is the transformation list.
[0055] The basic single yarn is transformed by flying number and negative film according to the transformation list to form a single yarn sequence. The single yarn generated by each transformation is recorded as A(i), that is, the fabric structure sequence W=A(n).
[0056] In this embodiment, in step 5, the fabric weave sequence W is looped through sequentially, with "1" representing a warp point and "0" representing a weft point, to generate a fabric weave diagram. The warp and weft colors are set, and a fabric effect simulation diagram is generated based on the set warp and weft colors.
[0057] The following describes the process in conjunction with specific embodiments:
[0058] Example 1:
[0059] Step 1: Set the monotonic function parameters. Set the function f(x)=f(y)=x, the number of groups of functions f(x) and f(y) to n=5, as shown in the following example: Figure 2 (a) shows that f(1) = g(1) = 2, f(2) = g(2) = 3, f(3) = g(3) = 4, f(4) = g(4) = 5, and f(5) = g(5) = 6.
[0060] Step 2: Set the oscillation propagation parameters. Set the propagation starting point start = 0, the propagation number num = 17, the propagation gradient list J, and the propagation function y, as shown in the following example: Figure 2 (b) shows the propagation gradient list J. The propagation number num and the propagation function y are jointly determined. Assume the waveform function:
[0061]
[0062] Where m = 1, the value of n is equal to the number of groups n = 5 in step 1, start ≤ x ≤ num, and the function graph is as follows Figure 3 shown.
[0063] Then the propagation gradient list J = [1,1,1,1,1,-1,-1,-1,-1,-1,1,1,1,-1,-1,-1,-1], and since the propagation starting point start = 0, the single yarn sequence A = Z(1), Z(2), Z(3), Z(4), Z(5), Z(4), Z(3), Z(2), Z(1), Z(2), Z(3), Z(4), Z(5), Z(4), Z(3), Z(2), Z(1).
[0064] in,
[0065] Step 3, set tissue parameters. Set the maximum value of the number of flies Smax = 6, the minimum value Smin = 2, the number of film flips D = 32, and the waveform magnification Mul = 1. Figure 2 (c) shown.
[0066] Convert the single yarn sequence A into an array (2,2,3,3,4,4,5,5,6,6,5,5,4,4,3,3,2,2,3,3,4,4,5,5,6,6,5,5,4,4,3,3,2,2) in the order of f(x1),f(y1),f(x2),f(y2),f(x3),f(y3)……f(xn),f(yn).
[0067] Then, based on the values of f(x) and f(y), we use "1" to represent consecutive warp points and "0" to represent consecutive weft points, thus generating a list as follows:
[0068] a[1,1,0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1 ,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,1,1,0,0,
[0069] 1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,0,0,0,1,1,0,0].
[0070] For A s=1 The new list formed by the flying number transformation is:
[0071] [1,0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,
[0072] 1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,1].
[0073] For A D The negative flip transformation forms a new list:
[0074] [0,1,1,0,0,0,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,0,0,1,1,
[0075] 0,0,0,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,1,1,1,0,0,1,1,0].
[0076] The flying number list refers to the waveform function y, m=Smin=2, n=Smax=6, and generates (32+1) elements: [2,3,5,5,6,6,4,3,2,3,4,5,6,5,4,3,2,3,4,5,6,5,4,3,2,3,4,5,6,5,4,3,2]. The sum of all elements is 132.
[0077] Insert the negative identifier "D" into the fly count list to form the transformation list: [2,D,3,D,5,D,5,D,6,D,6,D,4,D,3,D,2,D,3,D,4,D,5,D,6,D,5,D,4,D,3,D,2,D,3,D,4,D,5,D,6,D,5,D,4,D,3,D,2,D,3,D,4,D,5,D,6,D,5,D,4,D,3,D,2].
[0078] The basic single yarn A is transformed by flying number transformation and negative film conversion according to the transformation list to form a single yarn sequence. The single yarn generated by each transformation is recorded as A(i), that is, the fabric structure sequence W=A(n).
[0079] A(1)=As=1=
[0080] [1,0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,
[0081] 1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,1,1,0,0,1]
[0082] A(2)=A(1)s=1=
[0083] [0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,1,1,0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,1,1,0,0,1,1]
[0084] A(3)=A(2)D=[0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,1,1,0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,1,1,0,0,1,1,0]
[0085] ……
[0086] A(164)=A(163)s=1=[1,1,0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0, 0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,0 ,0,0,1,1,0,0,1,1,1,1,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0].
[0087] Step 4: Generate the weave diagram and fabric effect simulation. Set the warp and weft yarn colors.
[0088] The fabric weave sequence W is traversed in sequence, with "1" as the warp weave point and "0" as the weft weave point, to generate the fabric weave diagram, such as Figure 4 As shown in the figure, the warp color is set to black and the weft color is set to white to generate a fabric effect simulation diagram, as shown in the figure. Figure 5 shown.
[0089] Example 2:
[0090] If only the maximum value Smax of the flying number is changed to 6 and the minimum value Smin is changed to -6 in step 3, that is, the flying number contains both positive and negative values and the positive and negative values are changed alternately, then the generated organization diagram is as follows: Figure 6 As shown in the figure, the fabric simulation effect is as follows: Figure 7 shown.
[0091] Based on the above technical solution, the beneficial effects of the present invention include:
[0092] 1. This invention creates a three-dimensional effect through visual effects without changing the actual physical structure of the fabric. This method breaks through the limitations of fabric design that require physical means or multiple layers of fabric to achieve a three-dimensional effect.
[0093] 2. This invention uses a parametric design method to develop fabrics with three-dimensional visual effects. This approach allows for more flexible adjustment of design parameters, rapid generation of multiple design options, and precise control of the pattern and texture of the fabric surface, simplifying the fabric design process.
[0094] 3. The present invention can create a three-dimensional visual illusion effect in a two-dimensional plane design, increase the visual layering and richness of the fabric, and provide designers with more creative space.
[0095] 4. The present invention not only makes the design of fabric structure easier, but also greatly enriches the visual expression of the fabric, so that even flat fabrics can show complex three-dimensional visual effects, meeting the market demand for diversified and personalized products.
[0096] In summary, the present invention achieves visual innovation by cleverly combining the principle of optical illusion with advanced parametric design methods while maintaining the original structure of the fabric, thereby significantly improving the flexibility and creativity of fabric design.
[0097] The above embodiments are intended only to illustrate the technical concepts and features of the present invention. Their purpose is to enable those skilled in the art to understand the present invention and implement it accordingly. They are not intended to limit the scope of protection of the present invention. Any modifications made within the spirit of the main technical solution of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A parametric design method for fabric structure with optical illusion effect, characterized in that: include: Step 1. Set the monotonic function parameters; Step 2: Set the oscillation propagation function; Step 3: Integrate the monotonic functions in step 1 into a composite function, and propagate the composite function through the oscillation in step 2 to obtain a single yarn sequence; Step 4, performing fly number transformation and negative film transformation on the basic single yarn in the single yarn sequence in sequence to obtain a weave sequence; Step 5: Generate a weave diagram and a fabric effect simulation diagram based on the weave sequence.
2. The parametric design method of fabric structure with optical illusion effect according to claim 1, characterized in that: The monotonic function parameters of step 1 include analytical expressions of functions f(x) and g(x), and the number n of groups of f(x) and g(x) functions.
3. The parametric design method of fabric structure with optical illusion effect according to claim 2, characterized in that: The function value of the function f(x) is the number of continuous warp tissue points, the function value of the function g(x) is the number of continuous weft tissue points, and the functions f(x) and g(x) are arbitrary monotonically increasing functions.
4. The parametric design method of fabric structure with optical illusion effect according to claim 3, characterized in that: The function values of the functions f(x) and g(x) are both positive integers greater than or equal to 1, where the independent variable x can be any positive number.
5. The parametric design method of fabric structure with optical illusion effect according to claim 1, characterized in that: The oscillation propagation parameters in step 2 include a propagation starting point st art, a propagation number num, a propagation gradient list J, and a propagation function y.
6. The parametric design method for fabric structure with optical illusion effect according to claim 5, characterized in that: The propagation gradient list J is determined by the propagation times num and the propagation function y.
7. The parametric design method of fabric structure with optical illusion effect according to claim 1, characterized in that: In step 4, tissue parameters are set, which include the maximum value Smax and the minimum value Smin of the flying number in the flying number list, the number of film flips D, and the waveform magnification Mul.
8. The parametric design method of fabric structure with optical illusion effect according to claim 7, characterized in that: The number of elements in the fly number list should be 1 more than the number of film flips.
9. The parametric design method of fabric structure with optical illusion effect according to claim 7, characterized in that: The film flipping times D is an even number, and the waveform magnification Mul≥1.
10. The parametric design method of fabric structure with optical illusion effect according to claim 1, characterized in that: In step 5, the colors of the warp and weft yarns are set, and a fabric effect simulation image is generated according to the set warp and weft yarn colors.
