Braiding modeling method and system based on continuous close-weave plait pattern
By extracting the basic shape of bamboo weaving patterns and transforming it into a binary matrix diagram, a parametric model diagram is generated, which solves the problem of low efficiency in the digital production of bamboo weaving patterns and realizes intelligent production and efficient communication in bamboo weaving.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-02
- Publication Date
- 2026-03-17
AI Technical Summary
Existing technologies cannot effectively achieve digital production of bamboo weaving patterns, resulting in low production efficiency. Furthermore, traditional hand weaving is difficult to modify, failing to meet the designer's expected results.
A bamboo weaving modeling method based on continuous four-dimensional dense weaving patterns is adopted. By extracting the basic shapes of single and complex shapes, converting them into binary matrix diagrams, and generating parametric model diagrams, the digital modeling of bamboo weaving patterns is realized by combining rendering software.
It enables the digital production of bamboo weaving patterns, improves production efficiency, reduces communication costs between designers and bamboo weavers, provides intuitive design effects and weaving predictions, and supports intelligent production.
Smart Images

Figure CN116205000B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital manufacturing of bamboo weaving techniques, and in particular to a bamboo weaving modeling method and system based on a continuous four-dimensional dense weaving pattern. Background Technology
[0002] Bamboo weaving patterns and decorative items originated in the Neolithic Age. Due to their aesthetic value stemming from the natural texture of the material, novel patterns, and color combinations, they have been widely welcomed by consumers both domestically and internationally since their development and inheritance. Common basic shapes in dense bamboo weaving patterns are often used in a continuous, scattered, or overlapping manner to create decorations, or to radiate decorations centered on the basic shape. Continuous patterns combine simple, single, or multiple basic patterns through arrangement and repetition to form harmonious, unified, orderly, and decorative visual patterns. This type of dense bamboo weaving with continuous four-way patterns is widely used in interior and exterior decoration. Continuous four-way patterns refer to four-way patterns that are connected by visible or invisible lines or blocks, creating a strong, continuous, and interwoven effect. Common examples include wavy lines, rhombuses, stepped patterns, circular patterns, and geometric patterns. Bamboo weaving is mainly done by traditional hand weaving. If the weaving effect does not meet the designer's or the expected effect of the picture, it is difficult to modify the weaving due to the complicated weaving process. In addition, the pattern formed by bamboo weaving is composed of bamboo strips of different colors, interlocking bamboo strips, design patterns, etc., which is quite different from other existing fabrics woven with cotton thread. The weaving models of other existing textile fabrics cannot be directly applied to bamboo weaving. The fact that bamboo weaving has not achieved intelligent production through digitalization has led to low production efficiency. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art and provide a bamboo weaving modeling method and system based on a continuous four-sided dense weaving pattern to improve production efficiency.
[0004] To solve the above-mentioned technical problems, the present invention adopts the following technical solution:
[0005] A bamboo weaving modeling method based on a continuous, densely woven four-sided pattern includes:
[0006] S101. Extract the basic shapes of individual units and the basic shapes of complex shapes formed by the continuous dense weave pattern in a four-dimensional pattern.
[0007] S102. Determine the four-dimensional continuous form of the basic compound shape in the continuous four-dimensional dense weave pattern;
[0008] S103. Convert the basic form of the quadrangular continuous form into a linked quadrangular continuous binary matrix diagram.
[0009] S104. Convert the continuous four-sided binary matrix diagram into bamboo weaving pattern elements and generate a parametric model diagram of the continuous four-sided matrix.
[0010] As a further improvement to the above technical solution:
[0011] The complex basic form in step S101 is formed by grouping a single basic form or by combining two or more single basic forms of different shapes.
[0012] The four-dimensional continuous form of the complex basic shape in step S102 refers to obtaining the complex basic shape by iterating through geometric or linear skeletons.
[0013] Step S103 includes:
[0014] S201 divides the basic shape of a single unit into a black grid and a white grid through a binary grid, so as to serve as positive and negative woven pattern elements in the continuous four-sided dense woven pattern, respectively.
[0015] S202, determine the coordinate sequences corresponding to the black grid and the white grid respectively, and combine them to obtain the positive and negative combination coordinate sequences corresponding to the basic shape of the single unit, and determine the bamboo weaving logic of the positive and negative shapes of the basic shape of the single unit;
[0016] S203, set the positive shape value corresponding to the black rectangle to 1 and the negative shape value corresponding to the white rectangle to 0, thereby converting the positive and negative shape combination coordinate sequence corresponding to the single basic shape into a binary matrix coordinate diagram of the single basic shape. Combine the binary matrix coordinate diagram of the single basic shape according to the way the single basic shape constitutes the complex basic shape and the four-dimensional continuous form of the complex basic shape to obtain the continuous four-dimensional continuous dense weaving pattern of the continuous binary matrix diagram.
[0017] Step S201, when dividing the basic shape of a single entity into a black grid and a white network using a binarized grid, includes: dividing the basic shape of the single entity into a grid, and then calculating the brightness of each grid using the image color attribute in each grid. If the brightness is greater than a preset threshold, the grid is divided into a black grid; otherwise, it is divided into a white network.
[0018] Step S104 includes:
[0019] S301, offset the black grid and white grid in the continuous four-sided binary matrix diagram in the Z-axis direction to generate the warp and weft weaving node diagram of the continuous four-sided dense weaving pattern, thereby determining the weaving node positions of the positive and negative weaving pattern elements.
[0020] S302, Based on the warp and weft weaving node diagram of the continuous four-way dense weave pattern, by connecting the weaving nodes in the warp and weft directions, an interpolation curve diagram of the warp and weft weaving of the continuous four-way dense weave pattern is generated.
[0021] S303, based on the interpolation curves of warp and weft weaving, obtains a parametric model diagram of continuous four-way weaving by setting the length, width and thickness of the weaving surface.
[0022] In step S301, shifting the black grid and white network in the Z-axis direction of the linked quadrangular continuous binary matrix means shifting at least one of the black grid and white network in the Z-axis direction.
[0023] Step S303 includes importing the parametric model diagram of the continuous four-sided bamboo weaving structure into the rendering software, and assigning it a bamboo weaving material and two colors of textures, and then rendering the model diagram of the continuous four-sided bamboo weaving structure.
[0024] As a general inventive concept, the present invention also provides a bamboo weaving modeling system based on a continuous four-sided dense weave pattern, including a microprocessor and a memory interconnected, wherein the microprocessor is programmed or configured to execute the aforementioned bamboo weaving modeling method based on a continuous four-sided dense weave pattern.
[0025] As a general inventive concept, the present invention also provides a computer-readable storage medium storing a computer program for being programmed or configured by a microprocessor to execute the aforementioned bamboo weaving modeling method based on a continuous four-sided dense weaving pattern.
[0026] Compared with the prior art, the advantages of the present invention are as follows:
[0027] This invention provides a bamboo weaving modeling method based on a continuous four-dimensional dense woven pattern. By extracting basic units, determining the continuous form, generating a binary matrix diagram, and rendering the model diagram, it has advantages such as digital implementation, intelligent production, and efficient and low-cost communication. It can provide bamboo product designers with intuitive design effects of bamboo weaving patterns, coordinate the weaving production between bamboo product designers and bamboo weavers, and enable designers and producers to preview the micro-weaving structure and weaving effect after the innovation of bamboo weaving patterns, greatly reducing communication costs and improving production efficiency. Attached Figure Description
[0028] Figure 1 This is a process flow diagram of the present invention.
[0029] Figure 2 This is a grouped configuration diagram of the basic unit of dog tooth pattern in Embodiment 1 of the present invention.
[0030] Figure 3 This is a skeletal framework diagram of the dog-tooth pattern in Embodiment 1 of the present invention.
[0031] Figure 4 This is the coordinate diagram of the quadrangular continuous binary matrix of dog tooth pattern in Embodiment 1 of the present invention.
[0032] Figure 5 This is a parameter matrix diagram of dog tooth pattern in Embodiment 1 of the present invention.
[0033] Figure 6 This is the dog-tooth pattern continuous four-sided binary matrix diagram and framework diagram in Embodiment 1 of the present invention.
[0034] Figure 7 This is a diagram of the dogtooth weave curve and model in Embodiment 1 of the present invention.
[0035] Figure 8 This is a composite configuration diagram of the basic unit of fish scale pattern in Embodiment 2 of the present invention.
[0036] Figure 9 This is a skeletal framework diagram of the fish scale pattern in Embodiment 2 of the present invention.
[0037] Figure 10 This is the coordinate diagram of the square continuous binary matrix of the fish scale pattern in Embodiment 2 of the present invention.
[0038] Figure 11 This is a parameter matrix diagram of fish scale pattern in Embodiment 2 of the present invention.
[0039] Figure 12 This is the fish scale pattern linked four-sided continuous binary matrix diagram and framework diagram in Embodiment 2 of the present invention.
[0040] Figure 13 This is the fish scale pattern weaving curve and model diagram in Embodiment 2 of the present invention. Detailed Implementation
[0041] The present invention will be further described in detail below. Unless otherwise specified, the instruments or materials used in the present invention are commercially available.
[0042] Example 1:
[0043] like Figure 1 As shown, this embodiment of a bamboo weaving modeling method based on a continuous four-sided dense weaving pattern, taking the dog tooth pattern in bamboo weaving as an example, includes the following steps:
[0044] S1. Extract the basic shapes of individual units and the basic shapes of complex shapes formed by the continuous four-dimensional dense weave pattern.
[0045] The basic units include single basic shapes and complex basic shapes. A single basic shape is a single geometric form that is completely independent. A complex basic shape is a complex basic shape that is formed by grouping a single basic shape to create a new visual effect, or by combining two or more single basic shapes of different forms. The same woven fabric can have different single basic shapes.
[0046] In this embodiment, based on the actual image of densely woven bamboo with dog-tooth pattern (e.g.) Figure 2 (a) shows the extraction of the basic form of the monomer (as shown in the figure). Figure 2 (b) shown) and the basic shape of the complex shape, to Figure 2 (b) The basic shape of the dogtooth pattern shown is the original single unit. The basic shape of the single unit I is obtained by horizontal flipping (as shown in the image). Figure 2 (c) shows that, by vertically flipping the original monomer, the basic shape II of the monomer is obtained (as shown in the figure). Figure 2 (d) shows that the original monomer is rotated 180° to obtain the basic monomer shape III (as shown in d). Figure 2 (e) shows that four similar basic shapes are then grouped in different ways to create a complex basic shape with a new visual effect, resulting in a complex basic shape I (as shown in the figure). Figure 2 (f) shows that the basic complex shape II is obtained by symmetrical combination and displacement recombination (as shown in f). Figure 2 (g) shows the complex basic form Ⅲ (as shown in the figure), which is a symmetrical combination followed by subtraction. Figure 2 (as shown in (h)).
[0047] S2. Determine the four-dimensional continuous form of the basic compound shape in the continuous four-dimensional dense weave pattern.
[0048] In this embodiment, the dog-tooth pattern continuous four-way basic unit can be broken down into a continuous four-way skeleton. The continuous four-way skeleton of the bamboo dense weave pattern uses geometric or linear skeletons to cycle the basic shape, thereby strengthening the visual impact of the basic pattern and enhancing the overall pattern's recognizability and memorability.
[0049] Figure 3 In this embodiment, a skeletal framework diagram of a densely woven, continuous four-sided pattern of dog-tooth bamboo is provided. Figure 3 (a) is a diagram of the geometric skeleton (shown by dashed lines) arranged in a horizontal layout. Figure 3 (b) is a diagram showing the arrangement of connected bones with a hexagonal geometric skeleton (shown by dashed lines). Figure 3 (c) is a geometric skeleton consisting of polygonal (shown by dashed lines) skeleton ladders.
[0050] S3. Convert the basic form of the quadrangular continuous form into a linked quadrangular continuous binary matrix diagram.
[0051] S301 divides the basic shape of a single unit into a black grid and a white grid through a binary grid, so as to serve as positive and negative woven pattern elements in the continuous four-sided dense woven pattern, respectively.
[0052] S302, determine the coordinate sequences corresponding to the black grid and the white grid respectively, and combine them to obtain the positive and negative combination coordinate sequences corresponding to the basic shape of the single unit, and determine the bamboo weaving logic of the positive and negative shapes of the basic shape of the single unit;
[0053] S303, set the positive shape value corresponding to the black rectangle to 1 and the negative shape value corresponding to the white rectangle to 0, thereby converting the positive and negative shape combination coordinate sequence corresponding to the single basic shape into a binary matrix coordinate diagram of the single basic shape. Combine the binary matrix coordinate diagram of the single basic shape according to the way the single basic shape constitutes the complex basic shape and the four-dimensional continuous form of the complex basic shape to obtain the continuous four-dimensional continuous dense weaving pattern of the continuous binary matrix diagram.
[0054] When dividing the basic shape of a single entity into a black grid and a white network using a binarized grid, step S301 includes: dividing the basic shape of the single entity into a grid, and then calculating the brightness of each grid using the image color attribute in each grid. If the brightness is greater than a preset threshold, the grid is divided into a black grid; otherwise, it is divided into a white network.
[0055] by Figure 4 The basic shape C of the monomer shown DT Taking (X1~X4,Y1~Y5) as an example, based on the coordinate sequence (1-2), we obtain the positive coordinate sequence (2-1) and the negative coordinate sequence (2-2) of the dog tooth pattern.
[0056] In dense bamboo weaving, the longitudinal strips that are lifted and pressed are called "warp strips," and the transverse strips woven in sequentially are called "weft strips." The warp and weft strips are woven at a 90° angle, and the woven surface has a pattern of regular and orderly rectangular geometric blocks. The gaps between the orthogonal warp and weft bamboo strips are arranged in a square grid. The woven structure has the warp and weft strips alternating up and down in a wave-like manner to form the pattern. When dyed bamboo strips are used as weft strips, the weaving units displayed by the weft strips are positive shapes of the pattern when the weft strips are lifted above the warp strips. When natural-colored bamboo strips are used as warp strips, the weaving units displayed by the warp strips are negative shapes when the weft strips are pressed below the warp strips.
[0057] To quickly identify weaving pattern information, the pattern is often decomposed into a black and white grid diagram, based on the segmentation principle of a binary matrix coordinate diagram. In the binary matrix coordinate diagram of dense bamboo weaving, each vertical column represents one warp strip, and each horizontal column represents one weft strip. Using a binary matrix to describe the pattern information, the matrix coordinate sequence C of the pattern is established as shown in equation (1-1). The value of the pattern in the vertical column of the matrix ranges from left to right as X1, X2, ..., X... w That is, X1~Xw The values in the horizontal column, from bottom to top, range from Y1, Y2, ..., Y... h That is, Y1~Y h .
[0058]
[0059] In the sequence:
[0060] X-- represents densely woven bamboo warp strips (vertical matrix).
[0061] Y-- indicates that the bamboo weft strips are densely woven (horizontal matrix).
[0062] w-- represents the variable for the densely woven bamboo warp strips (vertical matrix).
[0063] h-- represents the variable of the densely woven bamboo weft strips (horizontal matrix).
[0064] In this embodiment, when creating the weaving pattern, the number of consecutive positive or negative matrices in the same column or row of the binarized matrix is less than 7.
[0065] The positive and negative pattern information is located based on the matrix coordinate sequence of the pattern. The rectangle of the positive shape of the pattern is filled with black, and P represents the positive shape coordinate sequence of the pattern. The unfilled white rectangle is defined as the negative shape of the pattern, and N represents the negative shape coordinate sequence. The coordinate sequences of P and N are shown in Equation (1-2).
[0066] [(X s ,Y h ),…,(X s+a ,Y h )]={(X s ~X s+a ,Y h )|s≥1,0≤a≤6,h≥1}……………(1-2)
[0067] In the sequence:
[0068] X-- represents the vertical matrix of the pattern.
[0069] Y-- represents the horizontal matrix of the pattern.
[0070] h -- represents the column matrix variable of the pattern.
[0071] s-- indicates that the pattern is in the horizontal Y column h The initial rectangle coordinates variable in the text.
[0072] a-- indicates that the pattern is in the horizontal column Y. h The increment of the starting rectangle in the equation.
[0073] Positive or negative shape information of the pattern is in the horizontal Y columnh The coordinates of the rectangle in the matrix take values in the range of X. s X s+1 , ..., X s+a , that is, X s ~X s+a During weaving, the coordinate variable "P" is represented by Y (weft strip) pressing on top of X (warp strip), while the coordinate variable "N" is represented by X (warp strip) picking up top of Y (weft strip). That is, "P" means "pressing" and "N" means "picking".
[0074] The conformal coordinate sequence of the dogtooth pattern is shown in equation (2-1):
[0075]
[0076] Where: P DT -- represents the densely woven bamboo dog tooth pattern (black rectangle), X-- represents the vertical coordinate variable of the dog tooth pattern, and Y-- represents the horizontal coordinate variable of the dog tooth pattern.
[0077] Negative coordinate sequence of dog-tooth pattern (2-2):
[0078]
[0079] Where: N DT -- represents the negative shape (white rectangle) of the bamboo dense woven dog tooth pattern, X-- represents the vertical coordinate variable of the dog tooth pattern negative shape, and Y-- represents the horizontal coordinate variable of the dog tooth pattern negative shape.
[0080] In this embodiment, in the dogtooth pattern and negative coordinate sequence: coordinate P1 = (X1~X4,Y1) indicates that the first to fourth rectangles in the first horizontal column matrix (weft strips) are black rectangles, and "P1" means that the first weft strip is placed on top of the first to fourth warp strips, i.e., pressing 4. Coordinates N1 = (X1,Y2) and P2 = (X2~X4,Y2) indicate that the first rectangle in the second horizontal column matrix (weft strips) is white, and the second to fourth rectangles are black rectangles. Then N1 = (X1,Y2) means that the first warp strip is placed on top of the second weft strip, i.e., "N1" is picking 1; P2 = (X2~X4,Y2) means that the second weft strip is placed on top of the second to fourth warp strips, i.e., "P2" is pressing 3. Similarly, N2 = (X1~X2,Y3), P3 = (X3~X4,Y3) means that the 3rd weft strip picks 2 times on the 1st to 2nd warp strips and presses 2 times on the 3rd to 4th warp strips. N3 = (X1~X3,Y4), P4 = (X4,Y4) means that the 4th weft strip picks 3 times on the 1st to 3rd warp strips and presses 1 time on the 4th warp strip. N4 = (X1~X4,Y5) means that the 5th weft strip picks 4 times on the 1st to 4th warp strips.
[0081] From coordinate sequences (2-1) and (2-2), we obtain the coordinate sequence (2-3) of the positive and negative shape combination of the dog tooth pattern:
[0082]
[0083] Where: C DT -- represents the positive and negative shapes of the bamboo dense woven dog tooth pattern, P-- represents the coordinates of the dog tooth pattern (black rectangle), and N-- represents the coordinates of the negative shape of the dog tooth pattern (white rectangle).
[0084] Based on the above analysis of the positive and negative coordinate sequences of the dogtooth pattern, the weaving logic of the positive and negative coordinate combination of the dogtooth pattern is as follows: P1 is pressing 4, (N1,P2) is picking 1 and pressing 3, (N2,P3) is picking 2 and pressing 2, (N3,P4) is picking 3 and pressing 1, and N4 is picking 4. Therefore, the weaving technique for the dogtooth pattern using coordinate bamboo weaving is: pressing 4—picking 1 and pressing 3—picking 2 and pressing 2—picking 3 and pressing 1—picking 4.
[0085] In this embodiment, the textile pattern is segmented using a binary grid, and the corresponding woven pattern elements are output as a two-dimensional array of 0s and 1s. Black dots in the grid correspond to a value of 1 in the array, while blank grids correspond to a value of 0. The computer identifies the pattern using a matrix array. The Image Sampler component in Grasshopper software uses floating-point pixel coordinates to perform numerical conversion and acquisition of the image's color attributes within the range [0,1]. High-brightness information is represented by an array approaching 1, and low-brightness information is represented by an array approaching 0. Combining the coordinate sequence (2-3), a parameter matrix corresponding to the dogtooth pattern information is obtained (e.g., ...). Figure 5 As shown): The black rectangle (pattern positive shape P) has a parameter of 0, and the white rectangle (pattern negative shape N) has a parameter of 1, that is, P=0, N=1.
[0086] S4. Convert the continuous four-sided binary matrix diagram into bamboo weaving pattern elements and generate a parametric model diagram of the continuous four-sided matrix.
[0087] S401, offset the black grid and white grid in the continuous four-sided binary matrix diagram in the Z-axis direction to generate the warp and weft weaving node diagram of the continuous four-sided dense weaving pattern, thereby determining the weaving node positions of the positive and negative weaving pattern elements.
[0088] S402, Based on the warp and weft weaving node diagram of the continuous four-way dense weave pattern, by connecting the weaving nodes in the warp and weft directions, an interpolation curve diagram of the warp and weft weaving of the continuous four-way dense weave pattern is generated.
[0089] S403, based on the interpolation curves of warp and weft weaving, obtains a parametric model diagram of continuous four-way weaving by setting the length, width and thickness of the weaving surface;
[0090] S404 imports the parametric model diagram of the continuous four-sided bamboo weaving structure into the rendering software, assigns it a dense bamboo weaving material and two colors of texture, and obtains a rendering diagram of the continuous four-sided bamboo weaving structure model through rendering.
[0091] In step S401, shifting the black grid and white network in the Z-axis direction of the linked quadrangular continuous binary matrix means shifting at least one of the black grid and white network in the Z-axis direction.
[0092] In this embodiment, based on the bamboo dense woven dog tooth pattern continuous four-sided binary matrix coordinate diagram (such as... Figure 6 (a) shows the construction of a 2D mesh framework diagram for the dog tooth pattern (as shown in the diagram). Figure 6 (b) is shown.
[0093] Based on a 2D mesh framework, and utilizing the brightness and darkness detection of the Image Sampler component in Grasshopper software, a loop is formed in a continuous, interconnected quadrilateral structure. Figure 4 The basic shape parameter matrix of the houndstooth pattern is obtained, and the houndstooth pattern contiguous tetragonal continuous parameter matrix diagram with values in the range [0,1] is obtained (e.g., Figure 6 (c) is shown.
[0094] The position of the 2D weaving node of the bamboo dense weave pattern on the warp and weft strips is located by using the parameter information of the matrix; the image acquisition mapping value is set in Grasshopper software to generate the corresponding vertical floating height in the Z-axis direction.
[0095] If the center point of the black rectangle moves upward, the center point of the white rectangle remains unchanged; conversely, if the center point of the white rectangle moves upward, the center point of the black rectangle remains unchanged. This generates zigzag warp and weft knitting nodes with fluctuating X, Y, and Z axis coordinates (e.g.,...). Figure 6 (d) is shown.
[0096] In this embodiment, after determining the position of the weaving node, interpolation curves for the warp and weft weaving are generated by connecting the weaving nodes in the warp and weft directions (e.g., ...). Figure 7 (a) is shown.
[0097] In this embodiment, based on the interpolation curve, the length, width, and thickness of the weaving surface are controlled by the parameter variables of the custom warp and weft weaving surface in the input terminals X, Y, and Z Size of the Rectangle, thereby obtaining a parameterized model diagram of the bamboo dense weave dogtooth pattern continuous four-way pattern (e.g., Figure 7 (b) is shown.
[0098] In this embodiment, the parametric model is copied (Bake) into the Rhino software, and a bamboo woven material with two colors of texture is applied. The resulting rendering image of the dog-tooth pattern continuous square bamboo woven structure model is then obtained (e.g., ...). Figure 7 (c) is shown.
[0099] Example 2
[0100] This embodiment presents a bamboo weaving modeling method based on a continuous, densely woven four-sided pattern, as follows: Figure 8 (a) Taking the fish scale pattern in bamboo weaving as an example, the steps include:
[0101] S1. Extract the basic shapes of individual units and the basic shapes of complex shapes formed by the continuous four-dimensional dense weave pattern.
[0102] In this embodiment, based on the actual image of densely woven bamboo with fish scale pattern (such as...), Figure 8 (a) shows the extracted monomer and complex fish scale patterns (as shown in the image). Figure 8 (b) As shown, two different morphological single geometric shapes are arranged vertically side by side with their central axes aligned to form a complete complex basic shape.
[0103] S2. Determine the four-dimensional continuous form of the basic compound shape in the continuous four-dimensional dense weave pattern.
[0104] In this embodiment, the fish-scale pattern of continuous four-way linkage can be broken down into a linear, equidistant, staggered linkage of bones (such as...). Figure 9 (a) shows a diagram of oblique bone connections (as shown in the diagram). Figure 9 (b) shows a wavy curve skeletal misalignment connection diagram (as shown in the diagram). Figure 9 (c) shows a four-dimensional continuous form of linear skeletons.
[0105] S3. Convert the basic form of the quadrangular continuous form into a linked quadrangular continuous binary matrix diagram.
[0106] S301 divides the basic shape of a single unit into a black grid and a white grid through a binary grid, so as to serve as positive and negative woven pattern elements in the continuous four-sided dense woven pattern, respectively.
[0107] S302, determine the coordinate sequences corresponding to the black grid and the white grid respectively, and combine them to obtain the positive and negative combination coordinate sequences corresponding to the basic shape of the single unit, and determine the bamboo weaving logic of the positive and negative shapes of the basic shape of the single unit;
[0108] S303, set the positive shape value corresponding to the black rectangle to 1 and the negative shape value corresponding to the white rectangle to 0, thereby converting the positive and negative shape combination coordinate sequence corresponding to the single basic shape into a binary matrix coordinate diagram of the single basic shape. Combine the binary matrix coordinate diagram of the single basic shape according to the way the single basic shape constitutes the complex basic shape and the four-dimensional continuous form of the complex basic shape to obtain the continuous four-dimensional continuous dense weaving pattern of the continuous binary matrix diagram.
[0109] When dividing the basic shape of a single entity into a black grid and a white network using a binarized grid, step S301 includes: dividing the basic shape of the single entity into a grid, and then calculating the brightness of each grid using the image color attribute in each grid. If the brightness is greater than a preset threshold, the grid is divided into a black grid; otherwise, it is divided into a white network.
[0110] For example Figure 10 The basic form C of the complex shown FS Taking (X1~X9, Y1~Y6) as an example, based on the coordinate sequence (1-2), the coordinate sequence (3-1) of the fish scale pattern is obtained:
[0111]
[0112] In the array:
[0113] P FS -- Represents a densely woven bamboo fish scale pattern (black rectangle).
[0114] X-- represents the vertical coordinate variable of the fish scale pattern.
[0115] Y-- represents the horizontal coordinate variable of the fish scale pattern.
[0116] Fish scale pattern negative coordinate sequence (3-2):
[0117]
[0118] In the array:
[0119] N FS --This represents a negative space (white rectangle) with a densely woven bamboo fish scale pattern.
[0120] X-- represents the negative column coordinate variable of the fish scale pattern.
[0121] Y-- represents the negative horizontal coordinate variable of the fish scale pattern.
[0122] Fish scale patterns are composed of two geometric shapes arranged symmetrically along a central axis, thus forming a composite pattern. Figure 10 The central axis coordinates of the pattern are P1, P2, P3, P4, P5, P6, P7, P 2.2 P 3.2 N4, N 5.2P6, the fish scale pattern and the negative coordinates form multiple sets of matrices symmetric about the central axis, such as Figure 10 As shown: N 1.1 N is obtained by symmetry through the central coordinate P1. 1.2 Thus, the coordinates (N) are obtained. 1.1 ,P1,N 1.2 P 2.1 N 2.1 Through the central coordinate P 2.2 Symmetry yields N 2.2 P 2.3 , forming coordinates (P) 2.1 N 2.1 ,P 2.2 N 2.2 P 2.3 ...and so on, we obtain the coordinate sequence of the positive and negative shapes of the fish scale pattern (3-3):
[0123]
[0124] In the array:
[0125] C FS --This represents the positive and negative shapes of a densely woven bamboo fish scale pattern.
[0126] P-- represents the coordinates of the fish scale pattern (black rectangle).
[0127] N-- represents the coordinates of the negative shape (white rectangle) of the fish scale pattern.
[0128] Based on the coordinate sequence analysis of the dense bamboo weaving dog tooth pattern mentioned above, the weaving technique of the dense bamboo weaving fish scale pattern is as follows: pick 3, press 1, pick 3, press 1, pick 2, press 3, pick 2, press 1, press 1, pick 3, press 1, pick 3, press 1, press 2, pick 5, press 2, pick 1, press 2, pick 3, press 2, pick 1, pick 2, press 5, pick 2.
[0129] The textile pattern is segmented using a binary mesh, and the corresponding woven pattern elements are output as two-dimensional 0 and 1 arrays. Black dots in the mesh correspond to a value of 1 in the array, while blank meshes correspond to a value of 0. In this embodiment, the concave and convex shapes formed by the warp and weft bamboo strips are decomposed into a black and white mesh image. When the corresponding bamboo weaving pattern elements are output as two-dimensional 0 and 1 arrays, raised points correspond to the 1 array, and recessed points correspond to the 0 array.
[0130] In this embodiment, the computer identifies the color attributes of the image using a matrix array. The Image Sampler component in Grasshopper software uses floating-point pixel coordinates to perform numerical conversion and acquisition of the color attributes within the range [0,1]. High-brightness information is represented by an array approaching 1, while low-brightness information is represented by an array approaching 0. Combined with the coordinate sequence (2-3), a parameter matrix corresponding to the fish scale pattern information is obtained (e.g., ...). Figure 11As shown): The black rectangle (pattern positive shape P) has a parameter of 0, and the white rectangle (pattern negative shape N) has a parameter of 1, that is, P=0, N=1.
[0131] S4. Convert the continuous four-sided binary matrix diagram into bamboo weaving pattern elements and generate a parametric model diagram of the continuous four-sided matrix.
[0132] S401, offset the black grid and white grid in the continuous four-sided binary matrix diagram in the Z-axis direction to generate the warp and weft weaving node diagram of the continuous four-sided dense weaving pattern, thereby determining the weaving node positions of the positive and negative weaving pattern elements.
[0133] S402, Based on the warp and weft weaving node diagram of the continuous four-way dense weave pattern, by connecting the weaving nodes in the warp and weft directions, an interpolation curve diagram of the warp and weft weaving of the continuous four-way dense weave pattern is generated.
[0134] S403, based on the interpolation curves of warp and weft weaving, obtains a parametric model diagram of continuous four-way weaving by setting the length, width and thickness of the weaving surface.
[0135] S404 imports the parametric model diagram of the continuous four-sided bamboo weaving structure into the rendering software, assigns it a dense bamboo weaving material and two colors of texture, and obtains a rendering diagram of the continuous four-sided bamboo weaving structure model through rendering.
[0136] In step S401, shifting the black grid and white network in the Z-axis direction of the linked quadrangular continuous binary matrix means shifting at least one of the black grid and white network in the Z-axis direction.
[0137] In this embodiment, based on the bamboo densely woven fish scale pattern continuous four-dimensional binary matrix coordinate diagram (such as... Figure 12 (a) shows the construction of a fish-scale pattern 2D mesh framework (as shown in the image). Figure 12 (b) is shown.
[0138] Based on a 2D mesh framework, and utilizing the brightness and darkness detection of the Image Sampler component in Grasshopper software, a loop is formed in a continuous, interconnected quadrilateral structure. Figure 11 The basic shape parameter matrix of the fish scale pattern was analyzed, and the continuous four-sided parameter matrix of the fish scale pattern with values in the range [0,1] was obtained (e.g., Figure 12 (c) shows that the 2D weaving node positions of the bamboo dense weaving pattern on the warp and weft strips are located by using the parameter information of the matrix.
[0139] In Grasshopper software, the image acquisition mapping values are set to float vertically along the Z-axis: if the center point of the black rectangle moves upward, the center point of the white rectangle remains unchanged; if the center point of the white rectangle moves upward, the center point of the black rectangle remains unchanged. This generates fish-scale pattern warp and weft knitting nodes with vertically floating X, Y, and Z-axis coordinates (e.g., Figure 12 (d) is shown.
[0140] In this embodiment, after determining the position of the weaving node, interpolation curves for the warp and weft weaving are generated by connecting the weaving nodes in the warp and weft directions (e.g., ...). Figure 13 (a) is shown.
[0141] In this embodiment, based on the interpolation curve, the length, width, and thickness of the weaving surface are controlled by the parameter variables of the custom warp and weft weaving surface in the input terminals X, Y, and Z Size of the Rectangle, thereby obtaining a parameterized model diagram of a densely woven bamboo fish scale pattern in a continuous four-way pattern (e.g., Figure 13 (b) is shown.
[0142] In this embodiment, the parametric model is baked into Rhino, and a bamboo woven material and two colors of textures are applied. A rendering of the fish-scale patterned, continuous, four-sided bamboo woven structure model is then obtained (e.g., ...). Figure 13 (c) is shown.
[0143] This invention first extracts the techniques of dense bamboo weaving, then obtains the basic unit structure of bamboo weaving patterns from the pattern configuration principles and compositional forms of continuous four-sided dense bamboo weaving. Combining the characteristics of the patterns formed by the warp and weft strips in bamboo weaving, the patterns are decomposed into black and white grid diagrams. Next, positive and negative binary matrix coordinates are used to describe the bamboo weaving pattern information. The image sampler component in Grasshopper is used to collect the binary coordinate information of the dense bamboo weaving pattern, and a Grasshopper parametric calculation component is built to control parameter variables to quickly generate or optimize the pattern model of continuous four-sided dense weaving. This allows designers and producers to preview the effects of bamboo weaving pattern variations, efficiently guiding bamboo weavers to weave the optimal design scheme, solving communication difficulties between designers and bamboo weavers, and providing a solution for intelligent production of bamboo weaving.
[0144] The continuous, densely woven patterns of the present invention include dog tooth pattern, fish scale pattern, plum blossom pattern, five plum blossom pattern, etc.
[0145] This invention also provides a bamboo weaving modeling system based on a continuous four-dimensional dense weave pattern, comprising:
[0146] The first extraction module is used to extract the basic shapes of individual units and the complex basic shapes formed by the continuous four-dimensional dense woven pattern.
[0147] The second determining module is used to determine the four-dimensional continuous form of the complex basic shape in the continuous four-dimensional dense weave pattern;
[0148] The third transformation module is used to convert the basic form of the quadrangular continuous form into a linked quadrangular continuous binary matrix diagram.
[0149] The fourth simulation module is used to convert the continuous four-dimensional binary matrix diagram into bamboo weaving pattern elements and generate a parametric model diagram of the continuous four-dimensional matrix.
[0150] The present invention also provides a bamboo weaving modeling system based on a continuous four-sided dense weaving pattern, including a microprocessor and a memory connected to each other, wherein the microprocessor is programmed or configured to execute the aforementioned bamboo weaving modeling method based on a continuous four-sided dense weaving pattern.
[0151] The present invention also provides a computer-readable storage medium storing a computer program, the computer program being programmed or configured by a microprocessor to execute the aforementioned bamboo weaving modeling method based on a continuous four-sided dense weaving pattern.
[0152] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the process. Figure 1 One or more processes and / or boxes Figure 1The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0153] While the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the invention. Any person skilled in the art can make many possible variations and modifications to the technical solutions of the present invention, or modify them into equivalent embodiments, without departing from the scope of the present invention. Therefore, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention, without departing from the scope of the present invention, should fall within the protection scope of the present invention.
Claims
1. A modeling method of bamboo weaving based on a continuous close-weave pattern of a four-square plait, characterized in that, The method comprises the following steps: S101, extracting a single basic shape of a continuous plaited weave pattern and a complex basic shape composed of the single basic shape; S102, determining the four-square continuous form of the complex basic shape in the continuous plaited weave pattern; S103, converting the four-square continuous form of the complex basic shape into a continuous plaited weave matrix graph; S104, converting the continuous plaited weave matrix graph into a bamboo weaving pattern element and generating a parameterized model graph of the continuous plaited weave pattern; Step S103 comprises: S201, dividing the single basic shape into a black grid and a white network through a binary grid to serve as two weaving pattern elements of positive and negative shapes in the continuous plaited weave pattern; S202, determining the coordinate series corresponding to the black grid and the white network respectively, and combining to obtain the positive and negative shape combination coordinate series corresponding to the single basic shape, and determining the bamboo weaving logic of the positive and negative shapes of the single basic shape; S203, setting the positive shape value of the black rectangle as 1 and the negative shape value of the white rectangle as 0, thereby converting the positive and negative shape combination coordinate series corresponding to the single basic shape into a binary matrix coordinate graph of the single basic shape, and combining the binary matrix coordinate graph of the single basic shape according to the way of the complex basic shape composed of the single basic shape and the four-square continuous form of the complex basic shape to obtain the continuous plaited weave matrix graph of the continuous plaited weave pattern.
2. The modeling method of bamboo weaving based on the continuous dense weaving pattern of the four-square connected twill, according to claim 1, characterized in that, The complex basic shape in step S101 is composed of one single basic shape through grouping, or composed of two or more single basic shapes with different shapes.
3. The modeling method of bamboo-woven according to claim 1, wherein, The four-square continuous form of the complex basic shape in step S102 refers to the circulation of the complex basic shape through geometric or linear skeletons.
4. The modeling method of bamboo-woven according to claim 1, wherein, In step S201, the single basic shape is divided into a black grid and a white network through a binary grid, which comprises: dividing the single basic shape into a grid, then calculating the brightness of each grid using the color attribute of the image in each grid, and if the brightness is greater than a preset threshold, the grid is divided into a black grid, otherwise it is divided into a white network.
5. The modeling method of bamboo-woven according to claim 1, wherein, Step S104 comprises: S301, offsetting the black grid and the white network in the continuous plaited weave matrix graph in the Z-axis direction, thereby generating a warp and weft weaving node graph of the continuous plaited weave pattern, and determining the weaving node positions of the two weaving pattern elements of positive and negative shapes; S302, according to the warp and weft weaving node graph of the continuous plaited weave pattern, connecting the warp and weft weaving nodes to generate an interpolation curve graph of the warp and weft weaving of the continuous plaited weave pattern; S303, on the basis of the interpolation curve graph of the warp and weft weaving, by setting the length, width and thickness of the weaving surface, the parameterized model graph of the continuous plaited weave pattern is obtained.
6. The modeling method of bamboo-woven according to claim 5, wherein, In step S301, the black grid and the white network in the continuous plaited weave matrix graph are offset in the Z-axis direction, which means that at least one of the black grid and the white network is offset in the Z-axis direction.
7. The modeling method of bamboo-woven according to claim 5, wherein, The step S303 further comprises importing the parameterized model graph of the continuous four-square plait into a rendering software, and assigning a bamboo plait material and a two-color map to the continuous four-square plait structure model, so as to obtain a rendering graph of the continuous four-square plait structure model through rendering.
8. A bamboo weaving modeling system based on a continuous plaited four-square close weave pattern, comprising a microprocessor and a memory connected to each other, characterized in that, The microprocessor is programmed or configured to perform the bamboo plait modeling method based on the continuous four-square plait pattern according to any one of claims 1-7.
9. A computer-readable storage medium having stored therein a computer program, characterized in that, The computer program is used for programming or configuring the microprocessor to perform the bamboo plait modeling method based on the continuous four-square plait pattern according to any one of claims 1-7.
Citation Information
Patent Citations
Tujia brocade design and appearance simulation method based on pattern instance
CN111062126A