Textile pattern intelligent design method and system
By combining two-dimensional meshing of textile patterns with the elastic response model of the fabric, a set of tension and deformation features is constructed, and a stable pattern arrangement domain is generated. This solves the problems of pattern dislocation and distortion during fabric use, and achieves the adaptability and stability design of the pattern in the finished product after weaving.
Patent Information
- Application Number
- CN202510784564.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-09-05
AI Technical Summary
Existing textile pattern design methods are unable to effectively predict and adjust the local tension changes and nonlinear stretching behavior of the fabric during use, resulting in problems such as pattern misalignment, stretching distortion and edge tearing after weaving, which affects the actual use value of the material, especially in fields with high requirements for aesthetic consistency and functionality.
By dividing the target area of the textile pattern into two-dimensional grids, collecting the force data of each grid point, constructing the tension feature vector and deformation feature set, and combining the fabric elastic response model, the pattern stable arrangement domain and optimized arrangement results are generated, realizing predictive modeling and coordinated adjustment of the pattern between the deformation variables of the fabric structure.
It significantly improves the geometric stability and restoration of the pattern in the finished product after weaving, avoids the pattern structure dislocation and local blurring caused by local stress distortion of the fabric, realizes the adaptive matching of the pattern structure, and enhances the engineering practical value and system expansion capabilities.
Smart Images

Figure CN120597353A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pattern design, and in particular to a method and system for intelligent design of textile patterns. Background Art
[0002] Driven by the deep integration of intelligent manufacturing and flexible materials, the textile industry is gradually evolving towards intelligent design with higher levels of integration and greater adaptability. As a key branch of intelligent manufacturing in the field of material pattern control, textile intelligent design is increasingly demonstrating its importance in cutting-edge applications such as functional apparel, medical fabrics, and aerospace fabrics. Textile intelligent design not only focuses on regulating material properties but also extends to more detailed dimensions such as the automatic generation of visual patterns on the fabric surface, adaptive adjustment, and matching of functional applications.
[0003] Taking the issue of pattern deformation in composite functional fabrics as an example, current common pattern design processes typically rely on direct mapping of two-dimensional pattern templates onto the fabric surface, lacking in-depth analysis of local tension changes, nonlinear stretching behavior, and structural stress response patterns during fabric use after weaving. Especially in elastic fabrics, fabrics with uneven warp and weft densities, or fabrics undergoing post-finishing processes, patterns often exhibit varying degrees of pattern misalignment, contour stretching, geometric distortion, or edge tearing after lamination. Traditional pattern design systems, which mostly rely on static bitmap input, struggle to achieve predictive modeling and coordinated adjustment with fabric structural deformation. This "structure-pattern decoupling" in design results in patterns that appear clear and beautiful in design software but deviate significantly from expectations in the physical product. This flaw can distort the functional information of the pattern, particularly in applications where aesthetic consistency, logo clarity, or symmetrical stability are crucial, such as branded sportswear, tactical backpack materials, or medical pressure fabrics. This flaw can even compromise the material's actual usability. Summary of the Invention
[0004] In view of the deficiencies in the prior art, the present invention provides a method and system for intelligent design of textile patterns, which solve the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: A textile pattern intelligent design method, comprising the following steps:
[0006] S1. Divide the target area of the textile pattern into a two-dimensional grid point set Pts. By collecting the original force data in the X, Y and shear directions of each grid point, calculate the unit stress value of each grid point, construct the tension feature vector Tni, and integrate all the grid point vectors to obtain the tension feature set Tfv.
[0007] S2. Input the tension feature set Tfv into the displacement solution model, calculate the X-direction displacement distribution DisX(X, Y) and the Y-direction displacement distribution DisY(X, Y), obtain the comprehensive deformation strength Stri of the textile fabric at each coordinate point, and construct the deformation feature set Gfm;
[0008] S3, based on the deformation feature set Gfm and the preset deformation threshold Thd, a pattern stable arrangement domain set Stb is formed;
[0009] S4. Based on the pattern input structure set Vst obtained from the pattern structure analysis, it is jointly processed with the pattern stable arrangement domain set Stb to generate the pattern arrangement result set Vop by constructing an arrangement optimization algorithm.
[0010] Preferably, said S1 includes S11 and S12;
[0011] S11. Divide the target area of the textile pattern into a two-dimensional grid to form a two-dimensional grid point set Pts={Pti}, where Pti represents a grid point. At each grid point Pti, collect original tension data in the X direction, Y direction, and shear direction, which are expressed as the original tension Fxi in the X direction at the grid point Pti, the original tension Fyi in the Y direction at the grid point Pti, and the original tension Fxyi in the XY shear direction at the grid point Pti, respectively.
[0012] Among them, the grid point Pti is a two-dimensional coordinate point, expressed as the grid point coordinates (Xi, Yi), Xi and Yi represent the spatial coordinates of the grid point Pti in the X direction and the Y direction respectively.
[0013] Preferably, said S1 includes S12;
[0014] S12. Calculate the unit stress value of each grid point Pti based on the original tension data of each grid point Pti in the two-dimensional grid point set Pts and the measurement area Ai of each grid point Pti;
[0015] The unit stress values include the unit normal stress SigX in the X direction, the unit normal stress SigY in the Y direction, and the unit stress Tau in the XY shear direction;
[0016] By integrating the unit stress value of the grid point Pti and the measurement area Ai, the single-point tension characteristic vector Tni={SigX, SigY, Tau, Xi, Yi} of the grid point Pti is obtained;
[0017] Then, after integrating all single-point tension feature vectors Tni, we obtain the tension feature set Tfv={Tni}, where i=1, 2, 3, ..., n; n represents the total number of grid points.
[0018] Based on the tension feature set Tfv, a continuous tension tensor field function is generated for the entire two-dimensional grid area through a bilinear interpolation function;
[0019] The tension tensor field function is specifically: Tns(X, Y)=f_interp(Tfv);
[0020] Among them, f_interp represents the bilinear interpolation function, Tns(X, Y) represents a two-dimensional function, specifically inputting arbitrary spatial coordinates (X, Y) and outputting the tension vector [SigX, SigY, Tau].
[0021] Preferably, said S2 includes S21;
[0022] S21. Based on the tension feature set Tfv, for each single-point tension feature vector Tni, a two-dimensional displacement field function is constructed using a fabric elastic response model to obtain an X-direction displacement function DisX(X, Y) and a Y-direction displacement function DisY(X, Y);
[0023] Among them, the fabric elastic response model includes using the fabric structure response model based on Hooke's law to construct a two-dimensional displacement field function.
[0024] Preferably, said S2 includes S22;
[0025] S22. After completing the construction of the two-dimensional displacement field functions of the X-direction displacement function DisX(X, Y) and the Y-direction displacement function DisY(X, Y), for each grid point Pti=(Xi, Yi) in the target area of the pattern, Xi and Yi represent the X-direction coordinate and Y-direction coordinate of the i-th grid point Pti, the local deformation change rate in the X direction and Y direction is calculated. The local deformation change rate is specifically obtained by performing first-order partial derivatives of the X-direction displacement function DisX(X, Y) and the Y-direction displacement function DisY(X, Y), including the partial derivative of the X-direction displacement function with respect to the X coordinate GrdXXi, the partial derivative of the Y-direction displacement function with respect to the Y coordinate GrdYYi, the partial derivative of the X-direction displacement function with respect to the Y coordinate GrdXYi, and the partial derivative of the Y-direction displacement function with respect to the X coordinate GrdYXi, and is used to calculate the comprehensive deformation intensity Stri of the grid point Pti=(Xi, Yi);
[0026] Based on the obtained comprehensive deformation strength Stri and the grid point Pti=(Xi, Yi), a single-point deformation feature vector Gfi={Stri, Xi, Yi} is constructed;
[0027] After integrating all single-point deformation feature vectors Gfi, the deformation feature set Gfm={Gfi} is obtained, where i=1, 2, 3, ..., n; n represents the total number of grid points;
[0028] The comprehensive deformation strength Stri is obtained by the following calculation formula:
[0029] .
[0030] Preferably, said S3 includes S31;
[0031] S31. Based on all single-point deformation feature vectors Gfi in the deformation feature set Gfm, a preliminary screening process for the stable pattern arrangement domain is performed. Specifically, the comprehensive deformation strength Stri in the single-point deformation feature vector Gfi is compared with a preset deformation threshold Thd to determine whether the comprehensive deformation strength Stri ≤ deformation threshold Thd is satisfied. If the condition is satisfied, the grid point Pti = (Xi, Yi) in the single-point deformation feature vector Gfi is determined to be within an acceptable range and is marked as a stable arrangement point of the pattern arrangement.
[0032] By extracting all the grid points Pti=(Xi, Yi) that meet the conditions in the deformation feature set Gfm, a pattern stable arrangement area set Stb is constructed;
[0033] The specific form of the pattern stable arrangement area set Stb is as follows:
[0034] Stb = {(Xi, Yi) | Stri ≤ Thd, Gfi = [Stri, Xi, Yi] ∈ Gfm}.
[0035] Preferably, said S4 includes S41;
[0036] S41. By performing structural hierarchical analysis on the textile pattern, a pattern input structure set Vst is constructed to describe the geometric features and layout relationship of each pattern unit in the pattern. In combination with the pattern stable arrangement area set Stb, an adaptable arrangement area is found for each structural unit Vsj. A mapping pair MapVj = {Vsj, StbVj} between the structural unit Vsj and the arrangeable point set StbVj is formed, where StbVj represents the adaptation point set, and a structural arrangement mapping set Vmp is constructed.
[0037] The structure arrangement mapping set Vmp has a specific form of Vmp={MapVj}, where j=1, 2, 3, ..., m, and m represents the total number of pattern structures;
[0038] The specific form of the pattern input structure set Vst is Vst={Vsj}, where Vsj represents the j-th structure unit;
[0039] The structural unit Vsj includes the following structural characteristic parameters:
[0040] Vsj={CtrX, CtrY, Wd, Ht, Ang, Dsty}; where CtrX and CtrY represent the center coordinates of the structural unit, Wd and Ht represent the width and height of the structural unit, Ang represents the main direction angle of the structural unit, and Dsty represents the structural distribution density in the structural unit.
[0041] Preferably, the adaptable arrangement area is searched by the following screening conditions:
[0042] Screening condition 1: With the grid point Pti in the pattern stable arrangement area set Stb as the matrix center, place the geometric shape of the structural unit Vsj to form a minimum enclosing rectangle. The geometric shape includes the width Wd, height Ht, and main direction angle Ang. Determine whether the minimum enclosing rectangle falls within the coverage of the pattern stable arrangement area set Stb. If all fall within the range, the grid point Pti is determined to meet the screening condition 1, indicating that the grid point Pti is the arrangable point Ptk=(Xk, Yk) of the structural unit Vsj. Xk and Yk represent the X-direction coordinates and Y-direction coordinates of the k-th arrangable point Ptk.
[0043] Screening condition 2: Based on the arrangable point Ptk, determine whether the deviation between the main direction angle Ang of the structural unit Vsj is within a preset tolerance range. If the deviation is within the tolerance range, it is determined that the arrangable point Ptk meets the screening condition 2;
[0044] The adaptation point set StbVj is specifically formed by extracting arrangable points Ptk that meet the first screening condition and the second screening condition from the pattern stable arrangement area set Stb.
[0045] Preferably, said S4 includes S42;
[0046] S42. Based on the constructed structure arrangement mapping set Vmp={MapVj}, calculate the score value Scrjk for all arrangable points Ptk in the adaptation point set StbVj for each structural unit Vsj in each mapping pair MapVj, select the arrangable point Ptk with the maximum score value Scrjk as the final arrangement position (Xopt, Yopt), and generate an arrangement result vector Vopj={Xoptj, Yoptj} to construct a pattern arrangement structure set Vop={Vopj};
[0047] The score value Scrjk is obtained by the following calculation formula:
[0048] ;
[0049] Where λ1 and λ2 represent adjustment coefficients, specifically the adjustment coefficients of the comprehensive deformation strength Stri and the difference between the main direction angle Ang and the recommended arrangement direction Dirk.
[0050] A textile pattern intelligent design system, comprising a textile pattern division module, a coordinate deformation analysis module, an arrangement area generation module, and an optimized arrangement module;
[0051] The textile pattern segmentation module divides the target area of the textile pattern into a two-dimensional grid point set Pts. By collecting the original force data in the X, Y and shear directions of each grid point, the unit stress value of each grid point is calculated, and the tension feature vector Tni is constructed. After integrating all the grid point vectors, the tension feature set Tfv is obtained.
[0052] The coordinate deformation analysis module inputs the tension feature set Tfv into the displacement solution model, calculates the X-direction displacement distribution DisX(X, Y) and the Y-direction displacement distribution DisY(X, Y), obtains the comprehensive deformation strength Stri of the textile fabric at each coordinate point, and constructs the deformation feature set Gfm;
[0053] The arrangement region generation module compares the deformation feature set Gfm with the preset deformation threshold Thd to form a pattern stable arrangement domain set Stb;
[0054] The optimization arrangement module is based on the pattern input structure set Vst obtained from the pattern structure analysis, and then jointly processes it with the pattern stable arrangement domain set Stb to generate the pattern arrangement result set Vop by constructing an arrangement optimization algorithm.
[0055] The present invention provides a method and system for intelligent design of textile patterns, which have the following beneficial effects:
[0056] (1) By establishing the tension feature set Tfv, the tension distribution differences of textile fabrics in the actual weaving state are effectively quantified, thereby effectively avoiding the visual and structural distortion caused by the arrangement of patterns in high strain areas; finally, by combining the pattern input structure set Vst and the pattern stable arrangement domain set Stb, the pattern arrangement result set Vop is output through the arrangement optimization algorithm, so that the pattern structure unit automatically selects the optimal matching position in the physical tension environment, and realizes the physical structure adaptability of the pattern arrangement result set Vop. This not only significantly improves the geometric stability and restoration of the pattern in the finished product after weaving, but also effectively solves the problem of pattern structure dislocation and local blurring caused by local stress distortion of the fabric in the background technology, and has strong engineering practical value and system expansion capabilities.
[0057] (2) By introducing the fabric elastic response model into each single-point tension feature vector Tni in the tension feature set Tfv, the X-direction displacement function DisX(X, Y) and the Y-direction displacement function DisY(X, Y) are constructed respectively. The first-order partial derivative operation is performed to extract the gradient information of the displacement function in each direction, thereby constructing the deformation feature set Gfm. By comparing the comprehensive deformation strength Stri in each single-point deformation feature vector Gfi with the deformation threshold Thd, only the stable region points Pti that meet the comprehensive deformation strength Stri≤deformation threshold Thd are retained, thereby constructing the pattern stable arrangement region set Stb. Not only can the structurally reliable low deformation region be identified in advance before the pattern is arranged, but also the "strain-driven logic" of pattern arrangement point selection is realized, which can enable pattern design to leap from "empirical preset" to "structural field constraint control", effectively improving the arrangement stability and material adaptability of the pattern structure, and significantly reducing the quality risks such as pattern dislocation, cracking or visual abnormality caused by excessive regional deformation.
[0058] (3) The dual conditions of geometric envelope constraint and directional angle tolerance are introduced in the arrangement point screening to ensure that each candidate arrangement point Ptk in the adaptation point set StbVj has structural wrapping ability and directional alignment ability. The score value Scrjk is constructed based on the difference between the deformation strength Stri and the main direction angle Ang of the structural unit and the recommended arrangement direction Dirk, and the final arrangement position (Xoptj, Yoptj) is selected by the maximum score criterion to generate the arrangement result vector Vopj. The final pattern arrangement structure set Vop={Vopj} realizes the adaptive matching arrangement of the structural level pattern unit within the physical stability domain, which not only avoids the pattern breakage and visual drift problems caused by structural mismatch, spatial compression or angle conflict in traditional pattern arrangement, but also establishes an adjustable, controllable and traceable pattern arrangement optimization mechanism through the precise mapping relationship between the structural unit and the stable area. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 This is a schematic diagram of the steps of a textile pattern intelligent design method according to the present invention;
[0060] Figure 2 This is a schematic diagram of a block diagram of a textile pattern intelligent design system according to the present invention;
[0061] Figure 3 Schematic diagram of pattern stable arrangement area screening under the comparison of deformation strength Stri and deformation threshold Thd. DETAILED DESCRIPTION
[0062] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0063] Example 1
[0064] The present invention provides a method for intelligent design of textile patterns. Figure 1 , including the following steps:
[0065] S1. Divide the target area of the textile pattern into a two-dimensional grid point set Pts. By collecting the original force data in the X, Y and shear directions of each grid point, calculate the unit stress value of each grid point, construct the tension feature vector Tni, and integrate all the grid point vectors to obtain the tension feature set Tfv.
[0066] S2. Input the tension feature set Tfv into the displacement solution model, calculate the X-direction displacement distribution DisX(X, Y) and the Y-direction displacement distribution DisY(X, Y), obtain the comprehensive deformation strength Stri of the textile fabric at each coordinate point, and construct the deformation feature set Gfm;
[0067] S3, based on the deformation feature set Gfm and the preset deformation threshold Thd, a pattern stable arrangement domain set Stb is formed;
[0068] S4. Based on the pattern input structure set Vst obtained from the pattern structure analysis, it is jointly processed with the pattern stable arrangement domain set Stb to generate the pattern arrangement result set Vop by constructing an arrangement optimization algorithm.
[0069] In this embodiment, by establishing a tension feature set Tfv, the tension distribution differences of textile fabrics in the actual weaving state are effectively quantified. Then, by constructing a deformation feature set Gfm, the system can perceive the deformation trends of the fabric caused by tension heterogeneity in different regions. Based on this deformation perception foundation, regions with deformation strengths below the deformation threshold Thd are further screened as the pattern stable arrangement domain set Stb, effectively avoiding the visual and structural distortion caused by the pattern arrangement in high-strain areas. Finally, combining the pattern input structure set Vst with the pattern stable arrangement domain set Stb, the pattern arrangement result set Vop is output through an arrangement optimization algorithm, allowing the pattern structure unit to automatically select the optimal matching position in the physical tension environment. The overall method uses the tension feature set Tfv and the deformation feature set Gfm as the perception basis, and the pattern stable arrangement domain set Stb as the geometric tolerance control condition, ultimately achieving physical structural adaptability of the pattern arrangement result set Vop. This design method not only significantly improves the geometric stability and restoration of the pattern in the finished product after weaving, but also effectively solves the problems of pattern structure dislocation and local blurring caused by local stress distortion of the fabric in the background technology. It has strong engineering practical value and system expansion capabilities.
[0070] Example 2
[0071] Specifically: S1 includes S11 and S12;
[0072] S11. Divide the target area of the textile pattern into a two-dimensional grid to form a two-dimensional grid point set Pts={Pti}, where Pti represents a grid point. At each grid point Pti, collect original tension data in the X direction, Y direction, and shear direction, which are expressed as the original tension Fxi in the X direction at the grid point Pti, the original tension Fyi in the Y direction at the grid point Pti, and the original tension Fxyi in the XY shear direction at the grid point Pti, respectively.
[0073] Among them, the grid point Pti is a two-dimensional coordinate point, expressed as the grid point coordinates (Xi, Yi), Xi and Yi represent the spatial coordinates of the grid point Pti in the X direction and the Y direction respectively.
[0074] Said S1 includes S12;
[0075] S12. Calculate the unit stress value of each grid point Pti based on the original tension data of each grid point Pti in the two-dimensional grid point set Pts and the measurement area Ai of each grid point Pti;
[0076] The unit stress values include the unit normal stress SigX in the X direction, the unit normal stress SigY in the Y direction, and the unit stress Tau in the XY shear direction;
[0077] By integrating the unit stress value of the grid point Pti and the measurement area Ai, the single-point tension characteristic vector Tni={SigX, SigY, Tau, Xi, Yi} of the grid point Pti is obtained;
[0078] Then, after integrating all single-point tension feature vectors Tni, we obtain the tension feature set Tfv={Tni}, where i=1, 2, 3, ..., n; n represents the total number of grid points.
[0079] Based on the tension feature set Tfv, a continuous tension tensor field function is generated for the entire two-dimensional grid area through a bilinear interpolation function;
[0080] The tension tensor field function is specifically: Tns(X, Y)=f_interp(Tfv);
[0081] Among them, f_interp represents the bilinear interpolation function, Tns(X, Y) represents a two-dimensional function, specifically inputting arbitrary spatial coordinates (X, Y) and outputting the tension vector [SigX, SigY, Tau].
[0082] In this embodiment, the target area of a textile pattern is divided into a set of two-dimensional grid points Pts. At each grid point Pti (with coordinates Xi, Yi), the raw X-direction tension Fxi, the raw Y-direction tension Fyi, and the raw XY shear force Fxyi are collected. This creates a discrete dataset of local forces acting on the fabric. Subsequently, the raw tension data at each grid point Pti and the measured area Ai are integrated into a single-point tension feature vector Tni. Furthermore, the system constructs a tension feature set Tfv and continuously interpolates Tfv using a bilinear interpolation function to generate a two-dimensional tension tensor field function. This method transforms discrete tension data into mechanical behavior predictions at arbitrary spatial coordinates, transcending the conventional limitation of existing pattern design schemes that lack visibility into the background mechanical state of the fabric. It provides continuous, quantitative data support for subsequent displacement calculations, deformation perception, and layout avoidance, achieving a deep coupling between pattern design and material behavior, and facilitating precise layout.
[0083] Example 3
[0084] Specifically: S2 includes S21;
[0085] S21. Based on the tension feature set Tfv, for each single-point tension feature vector Tni, a two-dimensional displacement field function is constructed using a fabric elastic response model to obtain an X-direction displacement function DisX(X, Y) and a Y-direction displacement function DisY(X, Y);
[0086] Among them, the fabric elastic response model includes constructing a two-dimensional displacement field function using a fabric structural response model based on Hooke's law;
[0087] The two-dimensional displacement field function of the X-direction displacement function DisX (X, Y) is as follows:
[0088] ;
[0089] Where Alp1, Alp2, Alp3, and Alp4 represent preset response coefficients. The specific values are set by the user and are used to adjust the influence of different stress terms and geometric factors on displacement.
[0090] The two-dimensional displacement field function of the Y-direction displacement function DisY (X, Y) is as follows:
[0091] ;
[0092] Where Bet1, Bet2, Bet3, and Bet4 represent preset response coefficients. The specific values are set by the user and are used to adjust the influence of different stress terms and geometric factors on displacement.
[0093] Said S2 includes S22;
[0094] S22. After completing the construction of the two-dimensional displacement field functions of the X-direction displacement function DisX(X, Y) and the Y-direction displacement function DisY(X, Y), for each grid point Pti=(Xi, Yi) in the target area of the pattern, Xi and Yi represent the X-direction coordinate and Y-direction coordinate of the i-th grid point Pti, the local deformation change rate in the X direction and Y direction is calculated. The local deformation change rate is specifically obtained by performing first-order partial derivatives of the X-direction displacement function DisX(X, Y) and the Y-direction displacement function DisY(X, Y), including the partial derivative of the X-direction displacement function with respect to the X coordinate GrdXXi, the partial derivative of the Y-direction displacement function with respect to the Y coordinate GrdYYi, the partial derivative of the X-direction displacement function with respect to the Y coordinate GrdXYi, and the partial derivative of the Y-direction displacement function with respect to the X coordinate GrdYXi, and is used to calculate the comprehensive deformation intensity Stri of the grid point Pti=(Xi, Yi);
[0095] Based on the obtained comprehensive deformation strength Stri and the grid point Pti=(Xi, Yi), a single-point deformation feature vector Gfi={Stri, Xi, Yi} is constructed;
[0096] After integrating all single-point deformation feature vectors Gfi, the deformation feature set Gfm={Gfi} is obtained, where i=1, 2, 3, ..., n; n represents the total number of grid points;
[0097] The comprehensive deformation strength Stri is obtained by the following calculation formula:
[0098] ;
[0099] The partial derivative GrdXXi of the X-axis displacement function with respect to the X-coordinate is obtained by the following calculation formula:
[0100] ;
[0101] Where, Represents the partial derivative symbol, |(Xi, Yi) means that the result of the partial derivative is numerically evaluated at the grid point Pti=(Xi, Yi);
[0102] The partial derivative GrdYYi of the Y-direction displacement function with respect to the Y coordinate is obtained by the following calculation formula:
[0103] ;
[0104] The partial derivative GrdXYi of the X-direction displacement function with respect to the Y coordinate is obtained by the following calculation formula:
[0105] ;
[0106] The partial derivative GrdYXi of the Y-direction displacement function with respect to the X-coordinate is obtained by the following calculation formula:
[0107] .
[0108] Said S3 includes S31;
[0109] S31. Based on all single-point deformation feature vectors Gfi in the deformation feature set Gfm, a preliminary screening process for the stable pattern arrangement domain is performed. Specifically, the comprehensive deformation strength Stri in the single-point deformation feature vector Gfi is compared with a preset deformation threshold Thd to determine whether the comprehensive deformation strength Stri ≤ deformation threshold Thd is satisfied. If the condition is satisfied, the grid point Pti = (Xi, Yi) in the single-point deformation feature vector Gfi is determined to be within an acceptable range and is marked as a stable arrangement point of the pattern arrangement.
[0110] By extracting all the grid points Pti=(Xi, Yi) that meet the conditions in the deformation feature set Gfm, a pattern stable arrangement area set Stb is constructed;
[0111] The specific form of the pattern stable arrangement area set Stb is as follows:
[0112] Stb = {(Xi, Yi) | Stri ≤ Thd, Gfi = [Stri, Xi, Yi] ∈ Gfm}.
[0113] Table 1: Example of construction logic of pattern stable arrangement area Stb
[0114] i (number) Grid point coordinates Pti=(Xi,Yi) Comprehensive deformation strength Stri Single point deformation feature vector Gfi=[Stri,Xi,Yi] Whether to include Stb (Stri≤Thd) 1 (12,24) 0.79 [0.79,12,24] yes 2 (15,30) 0.88 [0.88,15,30] no 3 (18,28) 0.66 [0.66,18,28] yes 4 (22,25) 0.92 [0.92,22,25] no 5 (26,31) 0.83 [0.83,26,31] yes 6 (30,27) 0.74 [0.74,30,27] yes
[0115] In this embodiment, a fabric elastic response model is introduced for each single-point tension feature vector Tni in the tension feature set Tfv. An X-direction displacement function DisX(X, Y) and a Y-direction displacement function DisY(X, Y) are constructed, respectively. Using these two-dimensional displacement functions containing multiple response coefficients, the system can predict the theoretical displacement trend of the fabric at any coordinate (X, Y). Subsequently, first-order partial derivatives are performed on these two displacement functions to extract their gradient information in each direction. Based on these gradients, the comprehensive deformation intensity Stri of the grid point Pti is calculated, thereby constructing the deformation feature set Gfm. Next, by comparing the Stri value in each single-point deformation feature vector Gfi with the deformation threshold Thd, only stable region points Pti where the comprehensive deformation intensity Stri ≤ the deformation threshold Thd are retained, thereby constructing the pattern stable arrangement region set Stb. Not only can it identify structurally reliable low-deformation areas in advance before pattern arrangement, it also realizes the "strain-driven logic" for pattern arrangement point selection, which can enable pattern design to leap from "empirical preset" to "structural field constraint control", effectively improving the arrangement stability and material adaptability of the pattern structure, and significantly reducing quality risks such as pattern dislocation, cracking or visual abnormalities caused by excessive regional deformation.
[0116] Example 4
[0117] See 1 and Figure 3 Specifically: the S4 includes S41;
[0118] S41. By performing structural hierarchical analysis on the textile pattern, a pattern input structure set Vst is constructed to describe the geometric features and layout relationship of each pattern unit in the pattern. In combination with the pattern stable arrangement area set Stb, an adaptable arrangement area is found for each structural unit Vsj. A mapping pair MapVj = {Vsj, StbVj} between the structural unit Vsj and the arrangeable point set StbVj is formed, where StbVj represents the adaptation point set, and a structural arrangement mapping set Vmp is constructed.
[0119] The structure arrangement mapping set Vmp has a specific form of Vmp={MapVj}, where j=1, 2, 3, ..., m, and m represents the total number of pattern structures;
[0120] The specific form of the pattern input structure set Vst is Vst={Vsj}, where Vsj represents the j-th structure unit;
[0121] The structural unit Vsj includes the following structural characteristic parameters:
[0122] Vsj={CtrX, CtrY, Wd, Ht, Ang, Dsty}; where CtrX and CtrY represent the center coordinates of the structural unit, Wd and Ht represent the width and height of the structural unit, Ang represents the main direction angle of the structural unit, and Dsty represents the structural distribution density in the structural unit;
[0123] The structural level analysis includes steps S411, S412 and S413 for analysis;
[0124] S411, Image preprocessing: Grayscale and edge enhancement of textile patterns to improve the accuracy of pattern contour recognition;
[0125] S412, region contour extraction: identifying closed or semi-closed structural regions in the pattern through contour tracking and connected domain analysis methods;
[0126] S413, geometric feature calculation: for each identified structural region, calculate the minimum circumscribed rectangle and main direction axis of the structural region, obtain structural feature parameters, and form a structural unit Vsj;
[0127] The center coordinates (CtrX, CtrY) of the structural unit are obtained by calculating the center coordinates of the minimum circumscribed rectangle;
[0128] The width Wd and height Ht of the structural unit are directly extracted by the length and width of the structure's circumscribed rectangle boundary;
[0129] The main direction angle Ang of the structural unit is obtained by fitting the main axis direction and reflects the pattern orientation;
[0130] The structural distribution density Dsty in the structural unit is obtained by counting the pixel density or the number of elements in the structural area and dividing the result by the area.
[0131] Among them, the adaptable layout area is found through the following screening conditions:
[0132] Screening condition 1: With the grid point Pti in the pattern stable arrangement area set Stb as the matrix center, place the geometric shape of the structural unit Vsj to form a minimum enclosing rectangle. The geometric shape includes the width Wd, height Ht, and main direction angle Ang. Determine whether the minimum enclosing rectangle falls within the coverage of the pattern stable arrangement area set Stb. If all fall within the range, the grid point Pti is determined to meet the screening condition 1, indicating that the grid point Pti is the arrangable point Ptk=(Xk, Yk) of the structural unit Vsj. Xk and Yk represent the X-direction coordinates and Y-direction coordinates of the k-th arrangable point Ptk.
[0133] Screening condition 2: Based on the arrangable point Ptk, determine whether the deviation between the main direction angle Ang of the structural unit Vsj is within a preset tolerance range. If the deviation is within the tolerance range, it is determined that the arrangable point Ptk meets the screening condition 2;
[0134] The adaptation point set StbVj is specifically formed by extracting arrangable points Ptk that meet the first screening condition and the second screening condition from the pattern stable arrangement area set Stb.
[0135] Said S4 includes S42;
[0136] S42. Based on the constructed structure arrangement mapping set Vmp={MapVj}, calculate the score value Scrjk for all arrangable points Ptk in the adaptation point set StbVj for each structural unit Vsj in each mapping pair MapVj, select the arrangable point Ptk with the maximum score value Scrjk as the final arrangement position (Xopt, Yopt), and generate an arrangement result vector Vopj={Xoptj, Yoptj} to construct a pattern arrangement structure set Vop={Vopj};
[0137] The score value Scrjk is obtained by the following calculation formula:
[0138] ;
[0139] Where λ1 and λ2 represent adjustment coefficients, specifically the adjustment coefficients of the difference between the comprehensive deformation strength Stri and the main direction angle Ang and the recommended arrangement direction Dirk;
[0140] The final arrangement position (Xopt, Yopt) is obtained by the following calculation formula:
[0141] ;
[0142] Where (Xk, Yk) represents the two-dimensional coordinates of the arrangable point Ptk, and argmax represents the maximum value function.
[0143] In this embodiment, the pattern is analyzed at the structural level through image preprocessing, contour recognition, and geometric fitting, and a pattern input structure set Vst is constructed. The geometric feature parameters of each structural unit Vsj are combined with the pattern stable arrangement area set Stb to establish a structural arrangement mapping set Vmp. The dual conditions of geometric envelope constraint and directional angle tolerance are introduced in the arrangement point screening to ensure that each candidate arrangement point Ptk in the adaptation point set StbVj has structural wrapping ability and directional alignment ability. The score value Scrjk is constructed based on the difference between the deformation strength Stri and the main direction angle Ang of the structural unit and the recommended arrangement direction Dirk, and the final arrangement position (Xoptj, Yoptj) is selected according to the maximum score criterion to generate the arrangement result vector Vopj. The final pattern arrangement structure set Vop={Vopj} realizes the adaptive matching arrangement of structural-level pattern units within the physical stability domain, which not only avoids the pattern breakage and visual drift problems caused by structural mismatch, spatial compression or angle conflict in traditional pattern arrangement, but also establishes an adjustable, controllable and traceable pattern arrangement optimization mechanism through the precise mapping relationship between structural units and stable regions, showing higher robustness and applicability in the automated design of complex fabric patterns.
[0144] Example 5
[0145] A textile pattern intelligent design system, please refer to Figure 2 ,Specifically: including textile pattern division module, coordinate deformation analysis module, layout area generation module and layout optimization module;
[0146] The textile pattern segmentation module divides the target area of the textile pattern into a two-dimensional grid point set Pts. By collecting the original force data in the X, Y and shear directions of each grid point, the unit stress value of each grid point is calculated, and the tension feature vector Tni is constructed. After integrating all the grid point vectors, the tension feature set Tfv is obtained.
[0147] The coordinate deformation analysis module inputs the tension feature set Tfv into the displacement solution model, calculates the X-direction displacement distribution DisX(X, Y) and the Y-direction displacement distribution DisY(X, Y), obtains the comprehensive deformation strength Stri of the textile fabric at each coordinate point, and constructs the deformation feature set Gfm;
[0148] The arrangement region generation module compares the deformation feature set Gfm with the preset deformation threshold Thd to form a pattern stable arrangement domain set Stb;
[0149] The optimization arrangement module is based on the pattern input structure set Vst obtained by pattern structure analysis, and then jointly processes it with the pattern stable arrangement domain set Stb to generate the pattern arrangement result set Vop by constructing an arrangement optimization algorithm.
[0150] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.
Claims
1. A textile pattern intelligent design method, characterized by: The following steps are involved: S1. Divide the target area of the textile pattern into a two-dimensional grid point set Pts. By collecting the original force data in the X, Y and shear directions of each grid point, calculate the unit stress value of each grid point, construct the tension feature vector Tni, and integrate all the grid point vectors to obtain the tension feature set Tfv. S2. Input the tension feature set Tfv into the displacement solution model, calculate the X-direction displacement distribution DisX(X, Y) and the Y-direction displacement distribution DisY(X, Y), obtain the comprehensive deformation strength Stri of the textile fabric at each coordinate point, and construct the deformation feature set Gfm; S3, based on the deformation feature set Gfm and the preset deformation threshold Thd, a pattern stable arrangement domain set Stb is formed; S4. Based on the pattern input structure set Vst obtained from the pattern structure analysis, it is jointly processed with the pattern stable arrangement domain set Stb to generate the pattern arrangement result set Vop by constructing an arrangement optimization algorithm.
2. The method for intelligent design of textile patterns according to claim 1, characterized in that: Said S1 includes S11 and S12; S11. Divide the target area of the textile pattern into a two-dimensional grid to form a two-dimensional grid point set Pts={Pti}, where Pti represents a grid point. At each grid point Pti, collect original tension data in the X direction, Y direction, and shear direction, which are expressed as the original tension Fxi in the X direction at the grid point Pti, the original tension Fyi in the Y direction at the grid point Pti, and the original tension Fxyi in the XY shear direction at the grid point Pti, respectively. Among them, the grid point Pti is a two-dimensional coordinate point, expressed as the grid point coordinates (Xi, Yi), Xi and Yi represent the spatial coordinates of the grid point Pti in the X direction and the Y direction respectively.
3. The method for intelligent design of textile patterns according to claim 1, characterized in that: Said S1 includes S12; S12. Calculate the unit stress value of each grid point Pti based on the original tension data of each grid point Pti in the two-dimensional grid point set Pts and the measurement area Ai of each grid point Pti; The unit stress values include the unit normal stress SigX in the X direction, the unit normal stress SigY in the Y direction, and the unit stress Tau in the XY shear direction; By integrating the unit stress value of the grid point Pti and the measurement area Ai, the single-point tension characteristic vector Tni={SigX, SigY, Tau, Xi, Yi} of the grid point Pti is obtained; Then, after integrating all single-point tension feature vectors Tni, we obtain the tension feature set Tfv={Tni}, where i=1, 2, 3, ..., n; n represents the total number of grid points. Based on the tension feature set Tfv, a continuous tension tensor field function is generated for the entire two-dimensional grid area through a bilinear interpolation function; The tension tensor field function is specifically: Tns(X, Y)=f_interp(Tfv); Among them, f_interp represents the bilinear interpolation function, Tns(X, Y) represents a two-dimensional function, specifically inputting arbitrary spatial coordinates (X, Y) and outputting the tension vector [SigX, SigY, Tau].
4. The method for intelligent textile pattern design according to claim 3, characterized in that: Said S2 includes S21; S21. Based on the tension feature set Tfv, for each single-point tension feature vector Tni, a two-dimensional displacement field function is constructed using a fabric elastic response model to obtain an X-direction displacement function DisX(X, Y) and a Y-direction displacement function DisY(X, Y); Among them, the fabric elastic response model includes using the fabric structure response model based on Hooke's law to construct a two-dimensional displacement field function.
5. The method for intelligent design of textile patterns according to claim 4, characterized in that: Said S2 includes S22; S22. After completing the construction of the two-dimensional displacement field functions of the X-direction displacement function DisX(X, Y) and the Y-direction displacement function DisY(X, Y), for each grid point Pti=(Xi, Yi) in the target area of the pattern, Xi and Yi represent the X-direction coordinate and Y-direction coordinate of the i-th grid point Pti, the local deformation change rate in the X direction and Y direction is calculated. The local deformation change rate is specifically obtained by performing first-order partial derivatives of the X-direction displacement function DisX(X, Y) and the Y-direction displacement function DisY(X, Y), including the partial derivative of the X-direction displacement function with respect to the X coordinate GrdXXi, the partial derivative of the Y-direction displacement function with respect to the Y coordinate GrdYYi, the partial derivative of the X-direction displacement function with respect to the Y coordinate GrdXYi, and the partial derivative of the Y-direction displacement function with respect to the X coordinate GrdYXi, and is used to calculate the comprehensive deformation intensity Stri of the grid point Pti=(Xi, Yi); Based on the obtained comprehensive deformation strength Stri and the grid point Pti=(Xi, Yi), a single-point deformation feature vector Gfi={Stri, Xi, Yi} is constructed; After integrating all single-point deformation feature vectors Gfi, the deformation feature set Gfm={Gfi} is obtained, where i=1, 2, 3, ..., n; n represents the total number of grid points; The comprehensive deformation strength Stri is obtained by the following calculation formula: 。 6. The method for intelligent design of textile patterns according to claim 5, characterized in that: Said S3 includes S31; S31. Based on all single-point deformation feature vectors Gfi in the deformation feature set Gfm, a preliminary screening process for the stable pattern arrangement domain is performed. Specifically, the comprehensive deformation strength Stri in the single-point deformation feature vector Gfi is compared with a preset deformation threshold Thd to determine whether the comprehensive deformation strength Stri ≤ deformation threshold Thd is satisfied. If the condition is satisfied, the grid point Pti = (Xi, Yi) in the single-point deformation feature vector Gfi is determined to be within an acceptable range and is marked as a stable arrangement point of the pattern arrangement. By extracting all the grid points Pti=(Xi, Yi) that meet the conditions in the deformation feature set Gfm, a pattern stable arrangement area set Stb is constructed; The specific form of the pattern stable arrangement area set Stb is as follows: Stb = {(Xi, Yi) | Stri ≤ Thd, Gfi = [Stri, Xi, Yi] ∈ Gfm}.
7. The method for intelligent design of textile patterns according to claim 6, characterized in that: Said S4 includes S41; S41. By performing structural hierarchical analysis on the textile pattern, a pattern input structure set Vst is constructed to describe the geometric features and layout relationship of each pattern unit in the pattern. In combination with the pattern stable arrangement area set Stb, an adaptable arrangement area is found for each structural unit Vsj. A mapping pair MapVj = {Vsj, StbVj} between the structural unit Vsj and the arrangeable point set StbVj is formed, where StbVj represents the adaptation point set, and a structural arrangement mapping set Vmp is constructed. The structure arrangement mapping set Vmp has a specific form of Vmp={MapVj}, where j=1, 2, 3, ..., m, and m represents the total number of pattern structures; The specific form of the pattern input structure set Vst is Vst={Vsj}, where Vsj represents the j-th structure unit; The structural unit Vsj includes the following structural characteristic parameters: Vsj={CtrX, CtrY, Wd, Ht, Ang, Dsty}; where CtrX and CtrY represent the center coordinates of the structural unit, Wd and Ht represent the width and height of the structural unit, Ang represents the main direction angle of the structural unit, and Dsty represents the structural distribution density in the structural unit.
8. The method for intelligent design of textile patterns according to claim 7, characterized in that: in, Adaptable layout areas are searched using the following filter criteria: Screening condition 1: With the grid point Pti in the pattern stable arrangement area set Stb as the matrix center, place the geometric shape of the structural unit Vsj to form a minimum enclosing rectangle. The geometric shape includes the width Wd, height Ht, and main direction angle Ang. Determine whether the minimum enclosing rectangle falls within the coverage of the pattern stable arrangement area set Stb. If all fall within the range, the grid point Pti is determined to meet the screening condition 1, indicating that the grid point Pti is the arrangable point Ptk=(Xk, Yk) of the structural unit Vsj. Xk and Yk represent the X-direction coordinates and Y-direction coordinates of the k-th arrangable point Ptk. Screening condition 2: Based on the arrangable point Ptk, determine whether the deviation between the main direction angle Ang of the structural unit Vsj is within a preset tolerance range. If the deviation is within the tolerance range, it is determined that the arrangable point Ptk meets the screening condition 2; The adaptation point set StbVj is specifically formed by extracting arrangable points Ptk that meet the first screening condition and the second screening condition from the pattern stable arrangement area set Stb.
9. The method for intelligent design of textile patterns according to claim 7, characterized in that: Said S4 includes S42; S42. Based on the constructed structure arrangement mapping set Vmp={MapVj}, calculate the score value Scrjk for all arrangable points Ptk in the adaptation point set StbVj for each structural unit Vsj in each mapping pair MapVj, select the arrangable point Ptk with the maximum score value Scrjk as the final arrangement position (Xopt, Yopt), and generate an arrangement result vector Vopj={Xoptj, Yoptj} to construct a pattern arrangement structure set Vop={Vopj}; The score value Scrjk is obtained by the following calculation formula: ; Where λ1 and λ2 represent adjustment coefficients, specifically the adjustment coefficients of the comprehensive deformation strength Stri and the difference between the main direction angle Ang and the recommended arrangement direction Dirk.
10. A textile pattern intelligent design system, applied to the textile pattern intelligent design method according to any one of claims 1 to 9, characterized in that: It includes textile pattern division module, coordinate deformation analysis module, layout area generation module and layout optimization module; The textile pattern segmentation module divides the target area of the textile pattern into a two-dimensional grid point set Pts. By collecting the original force data in the X, Y and shear directions of each grid point, the unit stress value of each grid point is calculated, and the tension feature vector Tni is constructed. After integrating all the grid point vectors, the tension feature set Tfv is obtained. The coordinate deformation analysis module inputs the tension feature set Tfv into the displacement solution model, calculates the X-direction displacement distribution DisX(X, Y) and the Y-direction displacement distribution DisY(X, Y), obtains the comprehensive deformation strength Stri of the textile fabric at each coordinate point, and constructs the deformation feature set Gfm; The arrangement region generation module compares the deformation feature set Gfm with the preset deformation threshold Thd to form a pattern stable arrangement domain set Stb; The optimization arrangement module is based on the pattern input structure set Vst obtained from the pattern structure analysis, and then jointly processes it with the pattern stable arrangement domain set Stb to generate the pattern arrangement result set Vop by constructing an arrangement optimization algorithm.
Citation Information
Cited By
Flexible photovoltaic support cable structure pretension design method and system
CN121211981A
Method and system for designing pre-tension of flexible photovoltaic support cable structure
CN121211981B