A three-dimensional clothing design plate making system and method
Through the three-dimensional clothing design and plate making system, combining virtual reality and machine vision, the three-dimensional design and two-dimensional transformation of clothing pattern matching with human body is achieved, solving the problem of matching difficulties in traditional clothing cutting, and improving the accuracy and intelligence of clothing customization level of transformation.
Patent Information
- Application Number
- CN202110210713.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-25
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2041-02-25
AI Technical Summary
During the cutting and tailoring of traditional clothing, it is difficult to intuitively see the degree of matching between the shape and the body shape of the body, especially after adjusting the pattern or body shape parameters, it is difficult to intuitively see the changes in the dressing effect. The plate making process is not conducive to reverse and repeated operations. Influence the effect and efficiency of personalized clothing customization.
Using a three-dimensional clothing design plate making system, combining virtual reality and machine vision principles, pens and visual positioning camera arrays are drawn through three-dimensional spatial curves, which directly realizes the three-dimensional morphological drawing of clothing pattern, and uses a physical model based on energy constraints to transform the three-dimensional surface pattern. The model is converted into a two-dimensional clothing layout structure to achieve the matching of clothing layout and three-dimensional shape, and supports the simulation of three-dimensional clothing design and generation in real dress.
It improves the accuracy and integration of personalized clothing customization, improves the digitalization, automation and intelligence of clothing plate making, and provides intuitive and convenient interactive plate making technical support and practical tools for clothing engineering majors.
Smart Images

Figure CN115034954B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of clothing intelligent engineering, and in particular relates to a three-dimensional clothing design plate making system and method. Background Art
[0002] With the development of my country's economy and society and the improvement of people's material and spiritual civilization, personalized clothing customization is increasingly closely linked to people's daily lives. People's requirements for clothing during exercise have also changed from a single style in the past to multiple types, styles, and customization, and at the same time require clothing to have good functionality and comfort. In addition, the teaching process of clothing design and engineering is still mainly based on traditional clothing cutting and draping. Students need to design, draw, cut, sew and other steps in the pattern making practice. It is difficult to intuitively see the degree of matching between the pattern and the human body shape, especially after adjusting the pattern parameters or body parameters, it is difficult to intuitively see the changes in the dressing effect. The pattern making process is not conducive to reverse and repeated operations. Summary of the invention
[0003] The purpose of the present invention is to solve the difficulties existing in the above-mentioned prior art, and to provide a three-dimensional clothing design and pattern making system and method. Based on the principles of virtual reality and machine vision, a method combining real space and virtual space is adopted, which can directly realize the drawing of the three-dimensional form of the clothing pattern, and construct a physical model based on energy constraints, and convert the three-dimensional surface pattern model into a two-dimensional clothing pattern structure, so as to solve the problem of matching the clothing pattern with the three-dimensional form. In the simulation of real dressing state, direct three-dimensional clothing pattern design and generation can be realized, and the effect and efficiency of personalized clothing customization pattern making can be improved, the fit and comfort can be ensured, and the digitization, automation and intelligence level of clothing pattern making can be promoted. At the same time, intuitive and convenient interactive pattern making technical support and practical tools are provided for the pattern making teaching of clothing engineering major.
[0004] The present invention is achieved through the following technical solutions:
[0005] A first aspect of the present invention provides a three-dimensional clothing design and pattern making system, the three-dimensional clothing design and pattern making system comprising: a three-dimensional space curve drawing pen, a visual positioning camera array, a server and an operation space;
[0006] The visual positioning camera array includes a plurality of visual positioning cameras, which are arranged around and obliquely above the center of the operation space, and each visual positioning camera faces the direction of the center of the operation space;
[0007] The three-dimensional space curve drawing pen and each visual positioning camera are connected to the server respectively.
[0008] A further improvement of the present invention is that the three-dimensional space curve drawing pen comprises: a visual positioning board, a drawing pen holder, and a pen tip;
[0009] The visual positioning board is connected to the upper end of the drawing pen holder;
[0010] The pen tip is connected to the lower end of the drawing pen holder.
[0011] A further improvement of the present invention is that the visual positioning board is a square board with black and white square grids drawn on it.
[0012] A further improvement of the present invention is that a status indicator light, a buzzer and an operation button are arranged on the drawing pen holder;
[0013] A single-chip microcomputer ARM board is arranged in the drawing pen holder; the status indicator light, buzzer and operation buttons are respectively controlled by the single-chip microcomputer ARM board.
[0014] A further improvement of the present invention is that a wireless communication module is installed on the drawing pen holder, which can communicate with a wireless receiving end on the server.
[0015] A further improvement of the present invention is that the server is capable of receiving signals sent by a three-dimensional space curve drawing pen and continuously collecting images from each visual positioning camera. After determining the tracking camera, the spatial position and posture of the visual positioning board are calculated based on the image taken by the tracking camera and the spatial position and posture of the camera.
[0016] A further improvement of the present invention is that the server determines the operation of the tracking camera including: calculating the weight value of the camera based on the size and angle of the image of the visual positioning plate taken by each visual positioning camera, and then comparing the weight values of each visual positioning camera to find the camera with the largest weight value as the tracking camera.
[0017] A further improvement of the present invention is that a virtual three-dimensional space is provided on the server, and the virtual three-dimensional space corresponds to the operation space;
[0018] A virtual drawing pen is provided in the virtual three-dimensional space;
[0019] The position and posture of the pen holder of the virtual drawing pen are calculated based on the relationship between the pen holder and the visual positioning board in the operation space, and the position of the pen tip of the virtual drawing pen is calculated based on the position of the pen tip in the operation space.
[0020] A second aspect of the present invention provides a three-dimensional clothing design pattern making method, the method comprising:
[0021] The first step is to install the above-mentioned 3D clothing design and pattern making system;
[0022] Step 2: The target human body to be tested enters the operation space and remains motionless in the posture required for clothing pattern making;
[0023] Step 3: The operator uses a 3D space curve drawing pen to draw a 3D curve;
[0024] Step 4: Generate a 3D surface based on the 3D curve: Use a method based on partial differential equation surface to construct the 3D curve into a 3D surface;
[0025] The fifth step is to use a material mechanical testing machine to measure the elastic mechanical properties of the clothing fabric;
[0026] Step 6: Unfold the three-dimensional surface to obtain the two-dimensional clothing pattern of the target human body.
[0027] The third step further comprises:
[0028] During the process of drawing a 3D curve, if the visual positioning board fails to track, an alarm will be issued through the indicator light and buzzer;
[0029] The operation of judging the failure of the visual positioning board tracking includes: when at least one of the following two situations occurs, it is judged that the visual positioning board tracking fails:
[0030] The positional relationship between the vision positioning camera array and the vision positioning plate does not satisfy the vision positioning plate being visible to both cameras at the same time;
[0031] The current position and posture of the vision positioning board have a large jump compared to the position and posture of the vision positioning board in the previous frame.
[0032] Compared with the prior art, the beneficial effects of the present invention are: the present invention can realize the precise production of personalized clothing customized patterns for specific human bodies, directly draw from three-dimensional forms, ensure the fit of clothing patterns, and at the same time, the operator can control the distance from the clothing to the human body surface during the three-dimensional drawing process according to the plate making requirements to achieve the purpose of controlling the scaling amount, and then directly generate a two-dimensional clothing pattern through the three-dimensional pattern surface, thereby improving the accuracy and fit of clothing customized pattern making, and improving the digitalization, automation, and intelligence level of clothing pattern making. At the same time, it provides intuitive and convenient interactive pattern making technical support and practical tools for pattern making teaching in clothing engineering majors. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 The present invention provides a three-dimensional clothing design pattern making method process.
[0034] Figure 2 A schematic diagram of the structure of a three-dimensional clothing design and pattern making system provided in an embodiment of the present invention.
[0035] Figure 3A schematic structural diagram of a three-dimensional space curve drawing pen provided in an embodiment of the present invention.
[0036] Figure 4 A schematic diagram of the layout of key curves of clothing for a target human body provided by an embodiment of the present invention.
[0037] Figure 5 A schematic diagram of a three-dimensional curve generated by a virtual three-dimensional space provided by an embodiment of the present invention.
[0038] Figure 6 A schematic diagram of the conversion between a three-dimensional pattern and a two-dimensional pattern provided in an embodiment of the present invention.
[0039] Figure 7a It is a schematic diagram of defining two parameter domain directions u and v of the surface respectively in the implementation of the present invention;
[0040] Figure 7b Schematic diagram of the relationship between the position coordinates of each point on the curved surface and the surrounding points with a step length of 2 in an embodiment of the present invention;
[0041] Figure 8 It is the coordinate system of the pen holder and the coordinates of each point in the embodiment of the present invention. DETAILED DESCRIPTION
[0042] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0043] like Figures 1 to 8 As shown, the present invention provides a three-dimensional clothing design and pattern making system. The three-dimensional clothing design and pattern making system is implemented based on the principle of machine vision, such as Figure 2 As shown, it specifically includes: a three-dimensional space curve drawing pen 1, a visual positioning camera array 2, a server 3 and an operation space 4, wherein the visual positioning camera array 2 includes a plurality of visual positioning cameras. A space can be set up in a room, and the size of the space can be designed according to actual conditions. A plurality of visual positioning cameras are arranged around and above the center of the operation space 4, and the three-dimensional space curve drawing pen 1 is located in the operation space. During use, the target human body 5 is located in the operation space 4, and the operator uses the three-dimensional space curve drawing pen 1 to draw the three-dimensional clothing key curve 6 according to the human body posture and body shape.
[0044] The three-dimensional space curve drawing pen 1 and each visual positioning camera 2 are respectively connected to the server 3, wherein each visual positioning camera 2 can be connected to the server 3 via a serial port, and the three-dimensional space curve drawing pen 1 can be connected to the server 3 via a wired method or can communicate with the server 3 wirelessly.
[0045] Specifically, the three-dimensional space curve drawing pen 1 is constructed as follows: Figure 3As shown, it includes: a visual positioning board 1-1, a status indicator light 1-2, a drawing pen 1-3, a buzzer 1-4 (in Figure 3 ), buttons 1-5 ( Figure 3 The two buttons in the figure represent the A button and the B button in the following description respectively), the pen tip 1-6. The visual positioning board 1-1 is connected to the upper end of the drawing pen holder 1-3, the pen tip 1-6 is connected to the lower end of the drawing pen holder 1-3, and the drawing pen holder 1-3 is provided with a status indicator light 1-2, a buzzer 1-4 and an operation button 1-5. The upper end of the pen tip 1-6 is connected to the lower end of the drawing pen holder, and the size of the lower end of the pen tip 1-6 is smaller than that of the upper end, presenting a pen tip shape.
[0046] The visual positioning board 1-1 is a square board with black and white square grids drawn on it. The visual positioning board 1-1 is a typical black and white grid visual positioning board in machine vision. The side length of each small square can be 4 cm, so as to meet the camera resolution and be clearly visible. The horizontal and vertical grid numbers H*V can be 6*4. The visual positioning board 1-1 is fixed to the top of the drawing pen 1-3. The relative position relationship between the central axis of the drawing pen and the symmetry axis of the positioning board can be set according to actual usage, for example, it can be set according to the usage method and hand-holding method. As long as the position relationship between the two is fixed and calibrated before use, the homogeneous coordinate system representing their relative position relationship can be calculated through the position translation and angle rotation relationship in three-dimensional space, and they can be converted to each other.
[0047] During use, the operator needs to hold the drawing pen shaft 1-3 and operate buttons 1-5 with fingers to control the operation status through buttons. Specifically, it can be set that when button A is pressed, the three-dimensional space curve drawing pen 1 is in the drawing state, and the server will record the three-dimensional coordinates of the current pen tip 1-6. Conversely, when button A is released, the server does not draw, but only displays the spatial position and posture of the current drawing pen in real time (the spatial position is represented by the spatial three-dimensional coordinates xyz, and the spatial posture is represented by the Euler angle, which is used to determine the position of the fixed-point rotating rigid body. A group of three independent angular parameters, composed of nutation angle θ, precession angle (i.e. precession angle) ψ and rotation angle φ, can be converted into a 4*4 homogeneous matrix. These are mature technologies and will not be repeated here.); button B can realize the function of closing the end of the drawing curve, and can also be used for the connection operation of the current curve with other curves.
[0048] The recording, display and storage modes are determined according to the key status. Specifically, it can be set to record the current point (record the three-dimensional xyz coordinates of the current point, and the Euler angles θψφ) when the A key is pressed, and display the pen tip in the virtual space at the same time. When the A key is not pressed, only the current point is displayed (that is, the pen tip is displayed in the virtual space) but not recorded. When the B key is pressed, the current line ends. If the distance between the current point and the starting point of the curve is less than the threshold 1, the end of the curve is closed (if it is greater than or equal to the threshold, the curve is not closed and ends as an independent endpoint). Press the B key again to start a new line. When you want to collect the current position, press the A key to record the current point. To record the position of a point, press the A key at that point. This is the general operating habit of digitizer data collection, which will not be repeated here.
[0049] The number of buttons can be increased according to the operation type. All buttons can be conventional micro-touch buttons. The buttons are connected to the I / O signal input interface of the Arduino development board and realize serial communication with the computer. These are mature technologies and will not be repeated here.
[0050] Furthermore, a wireless communication module is installed on the pen shaft, which can communicate with the wireless receiving end on the server for sending and receiving data. The server end writes instructions to the serial port, the drawing pen end listens to the port, parses the instructions, and triggers corresponding operations. When the drawing pen transmits a signal to the server, it writes instructions to the serial port at one end of the drawing pen, and the server end listens to the serial port, parses the instructions, and triggers the execution of corresponding operations. These are also mature technologies and will not be elaborated here.
[0051] A single-chip ARM board is also set in the pen holder. The buttons, indicator lights, and buzzers are all I / O digital signals, which are controlled by the single-chip ARM board. Indicator lights 1-2 include red and green lights, which respectively indicate the current operation status. When the visual positioning board fails to track, the indicator lights flash, and buzzer 1-4 emits a warning sound (when the calculation fails on the server, a failure signal is sent to the drawing pen, triggering the indicator lights to flash a failure signal, and triggering the buzzer alarm). Under normal circumstances, the green light is always on. When drawing, the operator uses the pen tip 1-6 to move on the key curve of the target body.
[0052] The specific determination of visual positioning board tracking failure is as follows: when the position relationship between the visual positioning camera array 2 and the visual positioning board 1-1 does not satisfy the positioning board being visible to both cameras at the same time, the server cannot calculate the three-dimensional position of the drawing pen, that is, it cannot calculate a valid homogeneous matrix representing the spatial position and posture of the drawing pen, which is a tracking failure. Because the drawing pen works dynamically and continuously, if the server finds that the current position and posture have a large jump compared with the previous frame (a threshold can be set in advance to determine whether a large jump has occurred), it is also considered a tracking failure.
[0053] The visual positioning cameras in the visual positioning camera array 2 are arranged in a surrounding manner and each visual positioning camera is facing the center of the operating space 4. It is necessary to ensure that the visual positioning plate of the drawing pen is visible to at least two cameras at all angles.
[0054] The number of cameras can be set to 8-12 and arranged around the operation space 4. The cameras are generally arranged at various oblique upper sides of the center of the operation space 4. For example, the cameras can be evenly distributed on a circle, and the center of the circle is on the same straight line as the center of the operation space 4 and is directly above the center of the operation space 4; or the cameras can be evenly distributed on a square, and the center of the square is on the same straight line as the center of the operation space 4 and is directly above the center of the operation space 4.
[0055] This surround arrangement ensures that at least two vision positioning cameras can cover the vision positioning board at the same time from above. After each vision positioning camera is fixed, the global calibration method is used to calibrate the three-dimensional spatial position and posture of each vision positioning camera (the three-dimensional spatial position of the vision positioning camera includes the three-dimensional coordinates xyz of the camera's lens focus, and the camera's posture (orientation) is expressed in Euler angles), and the matrix of each vision positioning camera is calculated. For example, it can be implemented using the existing OpenCV or Zhang Zhengyou calibration method, which will not be repeated here.
[0056] Server 3 receives signals from the drawing pen, mainly button status signals and indicator light status signals. After starting the operation, server 3 continuously collects images from each visual positioning camera, and calculates the three-dimensional local coordinate system of the position of the visual positioning board based on the black and white grid images of the visual positioning board captured by each camera. Specifically, it can be implemented using the existing OpenCV or Zhang Zhengyou calibration method, which will not be repeated here. Then, the three-dimensional coordinates of the position of the pen tip are calculated based on the local coordinate system, and the relative coordinate system of the pen tip relative to the visual positioning board is calculated, including the relative translation and relative rotation relationship. The homogeneous coordinate system representing its relative position relationship can be calculated through the position translation and angle rotation relationship in the three-dimensional space. The 4*4 square matrix can be transformed into each other, and all transformation postures are realized by multiplying the 4*4 homogeneous square matrix. These are all existing conventional technologies and will not be repeated here.
[0057] A virtual three-dimensional space is set up on the server 3, which can support the drawing of three-dimensional scenes and three-dimensional space curves; the server 3 can calculate the local coordinate system where a three-dimensional space curve drawing pen 1 is located through the visual positioning camera array and the visual positioning board 1-1, specifically including: the origin coordinates O (Ox, Oy, Oz) of the local coordinate system, and the three orthogonal coordinate axes X (Xx, Xy, Xz), Y (Yx, Yy, Yz), and Z (Zx, Zy, Zz). The local coordinate system is calculated through the multi-angle stereoscopic vision principle, and then a virtual drawing pen is drawn in the virtual three-dimensional space. The local coordinate system can be displayed or hidden (there is an interface on the server side, and there is a setting function on the interface, which can be set to display or hide the local coordinate system. These are mature technologies and will not be repeated here).
[0058] The positional relationship between the pen holder of the virtual drawing pen and the local coordinate system depends on the relationship between the pen holder of the drawing pen and the visual positioning board 1-1 in the real space (i.e., the operation space 4). The position transformation of the virtual drawing pen can be achieved by translation and rotation. The three-dimensional coordinates T (Tx, Ty, Tz) of the pen tip of the virtual drawing pen and the posture of the pen holder are calculated through the three coordinate axes X (Xx, Xy, Xz), Y (Yx, Yy, Yz), and Z (Zx, Zy, Zz) of the local coordinate system (the local coordinate system O (Ox, Oy, Oz), X (Xx, Xy, Xz), Y (Yx, Yy, Yz), and Z (Zx, Zy, Zz) are calculated using the existing multi-angle stereo vision principle). The coordinate system and the coordinates of each point are as follows: Figure 8 shown.
[0059] Specifically, server 3 will determine which camera to use as the tracking camera according to the position and size of the drawing pen visual positioning board captured by each camera, that is, use the image of the camera and the spatial position posture of the camera for calculation. Specifically, because the larger the image of the visual positioning board captured by the camera, the smaller the deflection angle (front shooting is best), the better the calculation accuracy will be, so the weight value of the camera is calculated according to the size and angle of the captured visual positioning board image (the weight value can be calculated using the existing calculation method, which will not be repeated here.), and finally compare the weight values of the cameras that captured the visual positioning board image, and use the camera with the largest weight value as the tracking camera. Moreover, because the position and posture of the visual positioning board calculated according to the visual positioning board is the relative position change and posture change of the visual positioning board relative to the tracking camera, it is necessary to transform the position and posture again, and transform it to the position and posture of the world coordinate system, and all the transformation postures are realized by multiplying 4*4 homogeneous squares.
[0060] The three-dimensional clothing design plate making method implemented by the above three-dimensional clothing design plate making system includes:
[0061] S1. Install the above three-dimensional clothing design and plate making system;
[0062] S2. During the pattern making process, the target human body to be measured enters the operation space 4 and takes the posture required for clothing pattern making; generally, an upright standing posture is adopted with both arms spread out at 45 degrees on both sides; during the drawing process, it is necessary to remain motionless, such as Figure 4 As shown;
[0063] S3. The operator draws a three-dimensional space curve using a three-dimensional space curve drawing pen, and moves the pen tip along the position of the key curve of the target body, while ensuring that the positioning visual positioning board is seen by at least two cameras (the operator holds the drawing pen, pays attention to the direction and angle of the positioning board, and will be prompted if tracking fails. Try not to block the main visual positioning board during the operation), and uses buttons to control the switching of operation states (i.e., pressing the A button to the position of the acquisition point, and the B button to start a new curve and end the current curve).
[0064] like Figure 4 As shown, taking coats as an example, the key curves drawn generally include neck: circumference line, chest circumference line, waist circumference line, hip circumference line, hem line, left and right shoulder loop lines, front center line, back center line, left and right side seams, left front, left back, right front, and right back longitudinal lines; taking pants as an example, the key curves drawn generally include: waistline, hip line, knee circumference line, trouser leg line, front and back crotch lines, left and right side seams; inner seam.
[0065] During the drawing process, the operator controls the distance between the pen tip and the human body to ensure that there is a reasonable distance between the three-dimensional clothing pattern and the human body, thereby controlling the reasonable looseness of the clothing.
[0066] A virtual three-dimensional space is constructed on the server, and the virtual three-dimensional space matches and corresponds to the real three-dimensional operation space 4. The drawn three-dimensional curves constitute the key curves of the style of clothing in the virtual three-dimensional space, which is similar to the layout of the characteristic lines of the clothing mold, such as Figure 5 As shown, a virtual three-dimensional space 7 is constructed, and a virtual drawing pen 8 is arranged in the virtual three-dimensional space 7. The position and posture of the virtual drawing pen 8 are determined by calculating the local coordinate system through the visual positioning board (the relative coordinate system of the pen tip relative to the visual positioning board is calculated, including the relative translation and relative rotation relationship. The homogeneous coordinate system representing the relative position relationship can be calculated through the position translation and angle rotation relationship in the three-dimensional space. The 4*4 square matrix can be transformed into each other, and all the transformation postures are realized by multiplying the 4*4 homogeneous square matrix. These are all existing conventional technologies and will not be repeated here.); a three-dimensional curve 9 is generated according to the moving route of the virtual drawing pen 8 ( Figure 5 This is equivalent to doing this on the server. Figure 2Real-time display), this layout is suitable for most clothing patterns, and can also be changed into a specific pattern structure according to the basic pattern. The method of the present invention supports the drawing of three-dimensional pattern curves of specific shapes, and it is necessary to make position marks of clothing pattern segmentation lines on the surface of the target human body in advance. Marking refers to marking on the surface of the human body. Generally, marking is carried out according to the clothing model marking lines, such as collar circumference line, chest circumference line, waist circumference line, hip circumference line, left and right shoulder loop lines, front center line, back center line, left and right side seams, left front, left back, right front, and right back longitudinal lines.
[0067] S4, generating a three-dimensional surface of the clothing pattern according to the three-dimensional curve 9: constructing pattern surface patches, dividing the clothing pattern into a combination of surface patches with quadrilateral topological structures;
[0068] Specifically, Figure 6 As shown, the generated three-dimensional curve 9 encloses a non-quadrilateral boundary structure surface patch (that is, the three-dimensional space curve encloses the surface patch, and the three-dimensional space surface 9 is composed of many surface patches. The pattern of a garment usually includes many pieces such as the front piece, the back piece, and the sleeve piece. It needs to be divided into several connected surface patches according to the key dimension lines, the front center line, the back center line, the side seam line, the waist line, the hip line, the chest line, the neck line, the shoulder line and other space curves.), which needs to be converted into a combination of surface patches with a quadrilateral topological structure, Figure 6 The surface patch 9-1 in the figure is a space surface area of a quadrilateral topological structure composed of intersecting curves. The surface patch 9-1 is a piece taken out from the entire surface, that is, a piece in the surface patch combination.
[0069] The present invention adopts the existing method based on partial differential equation surface to construct a three-dimensional surface patch, which is briefly introduced as follows:
[0070] The boundary of a quadrilateral patch can be represented by M*N rows of mesh vertices. The vertex coordinates on the boundary are sampled according to the drawn curve. The internal mesh vertices are calculated using the differential form based on the partial differential equation surface. The patch is constructed using an elliptic partial differential equation. The typical representation equation is shown in Equation 1.1. In the actual modeling process, the right-hand term is selected as zero, and the surface control is achieved only by adjusting the parameter a and the boundary conditions. The boundary conditions are shown in Equations 1.2 and 1.3, which specify the patch edge curves c0(v), c1(v) and the edge tangent vector curves d0(v), d1(v), respectively. In addition, the internal specific curve can be used as a fixed constraint c 0.5 (v).
[0071]
[0072]
[0073]
[0074] The surface is constructed using the approximate difference method, such as Figure 7a As shown in the figure, two parameter domain directions u and v of the surface are defined respectively, and the step sizes Δu and Δv in the two directions are taken to discretize the equation and divide it into N equal parts. u ,N v , in p i,j Represents the surface P(u,v) at parameter u i ,v j The value at , the position coordinates of the point on the surface are related to the surrounding points with a step size of 2, such as Figure 7b After specifying the second-order boundary conditions, for i=2,3,...,N u -2; j = 2, 3, ..., N v -2, the equations of each component in equation 1.4 are valid respectively. Substitute them into the partial differential equation to obtain the position coordinates of each point on the entire surface, construct a linear equation system, and use the Gauss iteration method to solve it.
[0075]
[0076] By using S4 to divide the clothing pattern into a combination of surface patches with quadrilateral topological structure, the construction of three-dimensional surface patches is completed.
[0077] S5. Use a material mechanics testing machine to measure the elastic properties of clothing fabrics, that is, the relationship between force and deformation; the relationship between force and deformation follows the generalized Hooke's law: F=KS, F is the force, K is the elastic coefficient, and S is the deformation; the elastic properties are used to calculate the elastic coefficient K.
[0078] S6. Expand the three-dimensional surface to obtain the clothing pattern of the target human body:
[0079] A physical model based on a mass-spring system is constructed, including a primary spring, a secondary spring and a diagonal spring. The parameters of the physical model are calculated using the mechanical properties of the cloth. The surface shape of the three-dimensional surface patch completed in step S4 is the initial state without internal stress. The surface vertices under the surface shape of the three-dimensional pattern are taken as mass points, the connecting edges between the mass points are taken as the corresponding springs, and the side lengths under the surface shape of the three-dimensional pattern are taken as the original lengths of the springs. The mass points are set to a uniform value according to the unit weight of the cloth; the mass-spring model is projected onto a two-dimensional plane. At this time, the spring length is The particle-spring system generates internal stress, thereby generating internal energy. In this state, time integration iteration is performed to reach the minimum energy state under the internal constraints of the model. Each quadrilateral plane is the plane form of the pattern (the three-dimensional surface patch 9-1 obtained in S4 is a two-dimensional plane quadrilateral 10-1 after flattening). The two-dimensional plane quadrilateral is reconnected according to the distribution and connection relationship of the topological structure of the three-dimensional layout, and the outer edge curve is taken as the edge line of the clothing pattern to complete the clothing pattern production for the target human body, and obtain the two-dimensional pattern 10. The process is as follows Figure 6 As shown, the process can refer to Chinese patent publication documents 202011208600.9 and 202011208583.9, which will not be repeated here.
[0080] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0081] In the description of the present invention, unless otherwise specified, the terms "upper", "lower", "left", "right", "inside", "outside", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, they cannot be understood as limitations on the present invention.
[0082] Finally, it should be explained that the above technical solution is only one implementation method of the present invention. For those skilled in the art, it is easy to make various types of improvements or modifications based on the application methods and principles disclosed in the present invention, and it is not limited to the method described in the above specific implementation method of the present invention. Therefore, the method described above is only preferred and does not have a restrictive meaning.
Claims
1. A three-dimensional clothing design and plate making system, characterized in that: The three-dimensional clothing design and pattern making system comprises: a three-dimensional space curve drawing pen, a visual positioning camera array, a server and an operating space; The visual positioning camera array includes a plurality of visual positioning cameras, which are arranged around and obliquely above the center of the operation space, and each visual positioning camera faces the direction of the center of the operation space; The three-dimensional space curve drawing pen and each visual positioning camera are connected to the server respectively; The three-dimensional space curve drawing pen comprises: a visual positioning board, a drawing pen holder, and a pen tip; The server is capable of receiving signals sent by the three-dimensional space curve drawing pen, and continuously collecting images of each visual positioning camera, and after determining the tracking camera, calculating the spatial position and posture of the visual positioning board according to the image captured by the tracking camera and the spatial position and posture of the camera; the operation of the server determining the tracking camera includes: calculating the weight value of the camera according to the size and angle of the image of the visual positioning board captured by each visual positioning camera, and then comparing the weight values of each visual positioning camera, and finding the camera with the largest weight value as the tracking camera; A virtual three-dimensional space is set on the server, and the virtual three-dimensional space corresponds to the operation space; a virtual drawing pen is set in the virtual three-dimensional space; the position and posture of the pen holder of the virtual drawing pen are calculated according to the relationship between the pen holder and the visual positioning plate in the operation space, and the position of the pen tip of the virtual drawing pen is calculated according to the position of the pen tip in the operation space; a three-dimensional curve is generated according to the moving route of the virtual drawing pen, and the three-dimensional curve constitutes a key curve of the clothing in the virtual three-dimensional space.
2. The three-dimensional clothing design and pattern making system according to claim 1, characterized in that: The visual positioning board is connected to the upper end of the drawing pen holder; The pen tip is connected to the lower end of the drawing pen holder.
3. The three-dimensional clothing design and pattern making system according to claim 2, characterized in that: The visual positioning board is a square board on which black and white square grids are drawn.
4. The three-dimensional clothing design and pattern making system according to claim 3, characterized in that: A status indicator light, a buzzer and operation buttons are arranged on the drawing pen holder; A single-chip microcomputer ARM board is arranged in the drawing pen holder; the status indicator light, buzzer and operation buttons are respectively controlled by the single-chip microcomputer ARM board.
5. The three-dimensional clothing design and pattern making system according to claim 4, characterized in that: A wireless communication module is installed on the drawing pen holder, which can communicate with a wireless receiving end on the server.
6. A three-dimensional clothing design plate making method, characterized in that: The method comprises: The first step is to install the three-dimensional clothing design plate making system as described in any one of claims 1 to 5; Step 2: The target human body to be tested enters the operation space and remains motionless in the posture required for clothing pattern making; Step 3: The operator uses a 3D space curve drawing pen to draw the key curve of the 3D clothing according to the human body posture and body shape of the target human body to be measured, determines the position and posture of the virtual drawing pen through the visual positioning board, and generates a 3D curve according to the moving route of the virtual drawing pen; Step 4: Generate a 3D surface based on the 3D curve: Use a method based on partial differential equation surface to construct the 3D curve into a 3D surface; The fifth step is to use a material mechanical testing machine to measure the elastic mechanical properties of the clothing fabric; Step 6: Unfold the three-dimensional surface to obtain the two-dimensional clothing pattern of the target human body.
7. The three-dimensional clothing design plate making method according to claim 6, characterized in that: The third step further comprises: During the process of drawing a 3D curve, if the visual positioning board fails to track, an alarm will be issued through the indicator light and buzzer; The operation of judging the failure of the visual positioning board tracking includes: when at least one of the following two situations occurs, it is judged that the visual positioning board tracking fails: The positional relationship between the vision positioning camera array and the vision positioning plate does not satisfy the vision positioning plate being visible to both cameras at the same time; The current position and posture of the vision positioning board have a large jump compared to the position and posture of the vision positioning board in the previous frame.
