Object simulation method and apparatus, and device and readable storage medium

By mapping the dividing lines on the 2D plate onto the 3D model in the object simulation system, dividing it into independent control units, and resimulating it according to physical properties, the problem of ignoring differences in physical properties in the object simulation system is solved, generating a more realistic 3D object model, and improving the accuracy of simulation and production efficiency.

WO2026008086A1PCT designated stage Publication Date: 2026-01-08LINGDI (ZHEJIANG) TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/116321
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-05
Filing Date
2025-08-22
Publication Date
2026-01-08

AI Technical Summary

Technical Problem

Existing object simulation systems ignore the differences in physical properties between different regions on the same component sheet of an object when performing stress analysis, which makes it impossible for the simulation to accurately display the details and physical effects of complex structures.

Method used

By setting dividing lines on a two-dimensional plate and mapping them onto a three-dimensional model, it is divided into independent control units, which can flexibly control the physical properties of each area and re-simulate when the properties are modified.

Benefits of technology

It achieves a realistic simulation of the effects of process on different areas of the same component plate, generating a more realistic 3D object model, thus improving the accuracy of the simulation and production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025116321_08012026_PF_FP_ABST
    Figure CN2025116321_08012026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are an object simulation method and apparatus, and a device and a readable storage medium. In the method, by using a mapping relationship between a two-dimensional panel and a three-dimensional model of a target object in an object simulation system, panel partitions defined by divided lines on the two-dimensional panel are accurately mapped to the three-dimensional model, and the mapped panel partitions are then cut and set as independent control units on the three-dimensional model. In combination with an interactive interface, physical properties of different panel partitions of the same panel on a three-dimensional model are independently and flexibly controlled, such that without changing the real design of a two-dimensional panel of a target object during production alignment, different simulation effects presented in different areas of the same panel due to different processes can be flexibly controlled, thereby facilitating a reduction in trial-and-error costs and time waste during production, and thus improving the production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Object simulation method, device, equipment and readable storage medium TECHNICAL FIELD

[0001] The present application relates to the technical field of computers, and in particular to an object simulation method, device, equipment and readable storage medium. BACKGROUND

[0002] With the development of three-dimensional simulation and digital technology, object simulation systems are increasingly widely used in product design and production. However, when the current object simulation system performs stress analysis on object simulation, an idealized physical model is generally used, and the analysis object is assumed to be a single whole with uniform physical properties, ignoring the differences in physical properties between different areas on the same component sheet caused by process treatment (such as friction, ironing, etc.) in actual production, such as non-uniformity of tensile strength, bending strength, deformation strength, grammage and thickness.

[0003] Therefore, when using an object simulation system / software for simulation, idealized simulation limits the accurate restoration of complex structures (such as tucks, wrinkles, etc.) by the software, resulting in the simulated object being unable to accurately display the details and physical effects of the actual object. SUMMARY

[0004] Therefore, in order to solve the above technical problems, the present application provides an object simulation method, device, equipment and readable storage medium.

[0005] Specifically, the present application is realized by the following technical solutions.

[0006] According to a first aspect of an embodiment of the present application, an object simulation method is provided, applied to an object simulation system, and an interactive interface of the object simulation system displays a two-dimensional sheet of a target object and an initial three-dimensional model of the target object respectively; the method comprises: in the case that at least one two-dimensional sheet of a target object is detected to be provided with a first division line, mapping the first division line to the initial three-dimensional model of the target object to obtain a second division line; dividing a three-dimensional sheet on which the second division line is located on the initial three-dimensional model, and setting each region obtained by the division as an independent control unit respectively; in response to detecting an attribute modification event for any control unit, obtaining a modified physical attribute of the control unit; re-simulating the control unit according to the modified physical attribute, and generating an updated target three-dimensional model.

[0007] Optionally, in response to detecting the attribute modification event for any of the control units, the method further comprises: in response to detecting an attribute editing trigger event for any of the control units, displaying an attribute editing interface of the control unit, wherein the attribute editing interface comprises fabric icons of different types; each type of fabric icon corresponds to a category of physical attributes; in response to detecting an icon dragging event for the fabric icons, if a release position of the dragged fabric icon is located within a region of any of the control units, triggering the attribute modification event, and obtaining the physical attribute corresponding to the dragged fabric icon as the modified physical attribute of the control unit at the release position.

[0008] Optionally, in response to detecting the icon dragging event for the fabric icons, the method further comprises: in response to detecting that a user simultaneously selects multiple control units, obtaining the physical attribute corresponding to the dragged fabric icon as the modified physical attribute of the simultaneously selected multiple control units.

[0009] Optionally, in response to detecting that the at least one two-dimensional sheet of the target object is provided with a first segmentation line, the method further comprises: for the two-dimensional sheet, segmenting the two-dimensional sheet into multiple closed sub-sheets according to the first segmentation line; and the closed sub-sheets correspond one-to-one to the control units on the initial three-dimensional model.

[0010] Optionally, in response to detecting the attribute modification event for any of the control units, the method further comprises: in response to detecting an attribute editing trigger event for a set region, displaying an attribute editing interface of the set region, wherein the attribute editing interface displays the current physical attribute of the set region; the set region comprises any of the control units or any of the closed sub-sheets; receiving an attribute modification input of a user on the attribute editing interface and updating the attribute editing interface in real time; and in response to receiving an attribute modification confirmation instruction, triggering the attribute modification event and obtaining the modified physical attribute of the set region.

[0011] Optionally, the mapping of the first segmentation line to the initial three-dimensional model of the target object to obtain a second segmentation line comprises: obtaining two-dimensional coordinate information of the first segmentation line on the two-dimensional sheet; converting the two-dimensional coordinate information into three-dimensional coordinate information in a three-dimensional coordinate system of the initial three-dimensional model according to a preset coordinate conversion method; and creating the second segmentation line on the initial three-dimensional model according to the three-dimensional coordinate information.

[0012] Optionally, the splitting the three-dimensional plate on the initial three-dimensional model where the second split line is located to obtain a plurality of independent control units comprises: determining the three-dimensional plate on which the second split line is located according to the boundary position of the plate boundary of the two-dimensional plate on which the first split line is located on the initial three-dimensional model; and cutting the three-dimensional plate along the second split line to obtain a plurality of independent control units.

[0013] Optionally, the re-simulating the control unit according to the modified physical property to generate an updated target three-dimensional model comprises: in response to receiving a simulation instruction, re-simulating the control unit whose property is modified according to the modified physical property; and combining the simulation result of the control unit other than the control unit whose property is modified in the initial three-dimensional model to generate the target three-dimensional model.

[0014] Optionally, the re-simulating the control unit according to the modified physical property to generate an updated target three-dimensional model comprises: in response to receiving a simulation instruction, re-simulating the control unit according to the modified physical property and the physical property of other regions other than the control unit whose property is modified in the initial three-dimensional model to generate the target three-dimensional model.

[0015] Optionally, the generating a target three-dimensional model further comprises: for each control unit whose physical property is modified, performing transition smoothing processing on the transition region between the control unit and its adjacent region according to the difference in physical property between the control unit and its adjacent region to obtain the target three-dimensional model.

[0016] Optionally, after the target three-dimensional model is generated, the method further comprises: receiving feedback information of an effect diagram of the control unit whose physical property is modified on the target three-dimensional model by a user, the feedback information being used to indicate a modification manner of the physical property; adjusting the physical property of the control unit according to the feedback information and re-simulating to generate an adjusted target three-dimensional model.

[0017] Optionally, the method further comprises setting a first split line, and specifically comprises: in a split line setting mode, adding an initial split line to a two-dimensional plate selected by a user; the initial split line is provided with a plurality of control points; listening to an adjustment operation of a control point on the initial split line by a user to adjust the shape of the initial split line; and in a case where a first confirmation instruction is received, determining the adjusted initial split line as the first split line.

[0018] Optionally, the adding the initial split line determined by the user to the two-dimensional plate selected by the user in the split line setting mode comprises: displaying a plurality of preset initial split lines on the interactive interface; and in response to detecting a split line selection operation of the interactive interface, applying the initial split line selected by the user to the two-dimensional plate selected by the user.

[0019] Optionally, the adding the initial split line determined by the user to the two-dimensional plate selected by the user in the split line setting mode comprises: displaying a plurality of preset initial split lines on the interactive interface; and in response to detecting a split line selection operation of the interactive interface, applying the initial split line selected by the user to the two-dimensional plate selected by the user.

[0020] Optionally, the adding the initial split line determined by the user to the two-dimensional plate selected by the user in the split line setting mode comprises: in response to detecting that the user clicks on a drawing tool, tracking a path of drawing a split line input by the user in real time; and in response to receiving a completion drawing instruction, displaying the drawn split line and determining the drawn split line as the initial split line.

[0021] Optionally, the physical properties of the control unit include at least one of tensile strength, bending strength, deformation strength, grammage and thickness of the plate corresponding to the control unit; wherein the tensile strength includes warp tensile strength, weft tensile strength and bias tensile strength.

[0022] According to a second aspect of the embodiments of the present application, an object simulation device is provided, which is applied to an object simulation system. An interactive interface of the object simulation system displays a two-dimensional plate of a target object and an initial three-dimensional model of the target object. The device comprises: a mapping module, configured to, in response to detecting that at least one two-dimensional plate of a target object is provided with a first split line, map the first split line to an initial three-dimensional model of the target object to obtain a second split line; a splitting module, configured to split a three-dimensional plate on which the second split line is located on the initial three-dimensional model into a plurality of regions, and set each region as an independent control unit; an attribute modification module, configured to, in response to detecting an attribute modification event of any control unit, obtain a modified physical attribute of the control unit; and a re-simulation module, configured to re-simulate the control unit according to the modified physical attribute to generate an updated target three-dimensional model.

[0023] Optionally, the attribute modification module is specifically configured to: in a case where an attribute editing trigger event for any control unit is detected, display an attribute editing interface of the control unit, the attribute editing interface including different types of fabric icons; each fabric icon corresponds to a category of physical attributes; in a case where an icon dragging event for the fabric icon is listened to, if a release position of the dragged fabric icon is located within a region of any control unit, triggering the attribute modification event, and obtaining the physical attribute corresponding to the dragged fabric icon as the modified physical attribute of the control unit at the release position.

[0024] Optionally, the attribute modification module is specifically configured to: in a case where an icon dragging event for the fabric icon is listened to, in a case where it is detected that multiple control units are simultaneously selected by the user, obtaining the physical attribute corresponding to the dragged fabric icon as the modified physical attribute of the simultaneously selected multiple control units.

[0025] Optionally, the device further comprises: in a case where it is detected that the at least one two-dimensional plate has a first segmentation line arranged thereon, segmenting the two-dimensional plate into multiple closed sub-plates according to the first segmentation line for the two-dimensional plate; the closed sub-plates correspond one-to-one to the control units on the initial three-dimensional model.

[0026] Optionally, the attribute modification module is specifically configured to: in a case where an attribute editing trigger event for a set region is detected, display an attribute editing interface of the set region, the attribute editing interface displaying the current physical attribute of the set region; the set region includes any control unit or any closed sub-plate; receiving attribute modification input of the user on the attribute editing interface and updating the attribute editing interface in real time; in response to receiving an attribute modification confirmation instruction, triggering the attribute modification event and obtaining the modified physical attribute of the set region.

[0027] Optionally, the mapping module is specifically configured to: obtain two-dimensional coordinate information of the first segmentation line on the two-dimensional plate; convert the two-dimensional coordinate information into three-dimensional coordinate information in a three-dimensional coordinate system in which the initial three-dimensional model is located according to a preset coordinate conversion method; and create the second segmentation line on the initial three-dimensional model according to the three-dimensional coordinate information.

[0028] Optionally, the segmentation module is specifically configured to: determine a three-dimensional plate in which the second segmentation line is located according to a boundary position on the initial three-dimensional model corresponding to a plate boundary of the two-dimensional plate in which the first segmentation line is located; and cut the three-dimensional plate along the second segmentation line to obtain multiple independent control units.

[0029] Optionally, the re-simulation module is specifically configured to: in response to receiving a simulation instruction, re-simulating the control unit with the modified physical property; obtaining simulation results of other areas in the initial three-dimensional model except the control unit with the modified physical property, and combining the simulation results of the control unit to generate the target three-dimensional model.

[0030] Optionally, the re-simulation module is specifically configured to: in response to receiving a simulation instruction, re-simulating the control unit with the modified physical property; obtaining simulation results of other areas in the initial three-dimensional model except the control unit with the modified physical property, and combining the simulation results of the control unit to generate the target three-dimensional model.

[0031] Optionally, the re-simulation module is specifically configured to: in response to receiving a simulation instruction, re-simulating the control unit with the modified physical property; obtaining simulation results of other areas in the initial three-dimensional model except the control unit with the modified physical property, and combining the simulation results of the control unit to generate the target three-dimensional model.

[0032] Optionally, the device further comprises: after generating the target three-dimensional model, receiving feedback information of a user on an effect diagram of a control unit with a modified physical property on the target three-dimensional model, the feedback information being used to indicate a modification manner of the physical property; adjusting the physical property of the control unit according to the feedback information, and re-simulating to generate an adjusted target three-dimensional model.

[0033] Optionally, the device further comprises: a split line adding module configured to add an initial split line to a two-dimensional version selected by a user in a split line setting mode; the initial split line is provided with a plurality of control points; a split line adjusting module configured to listen to an adjusting operation of a user on the control points on the initial split line, and adjust a shape of the initial split line; a first split line determining module configured to determine the adjusted initial split line as the first split line in response to receiving a first confirmation instruction.

[0034] Optionally, the split line adding module is specifically configured to: display a plurality of preset initial split lines on an interactive interface; in response to detecting a split line selection operation of the interactive interface, apply the initial split line selected by the user to the two-dimensional version selected by the user.

[0035] Optionally, the split line adding module is specifically configured to: display a plurality of preset initial split lines on an interactive interface; in response to detecting a split line icon dragging event, if a release position of the split line icon is located in a two-dimensional version area, obtain an initial split line corresponding to the split line icon; and apply the initial split line to the two-dimensional version selected by the user according to the release position.

[0036] Optionally, the split line adding module is specifically configured to: in response to detecting that the user clicks the drawing tool, track a path of the user input for drawing the split line in real time; and in response to receiving a completion drawing instruction, display the drawn split line as the initial split line.

[0037] Optionally, the physical properties of the control unit include at least one of tensile strength, bending strength, deformation strength, grammage and thickness of the control unit corresponding to the stencil; wherein the tensile strength includes warp tensile strength, weft tensile strength and bias tensile strength.

[0038] According to a third aspect of the embodiments of the present application, an electronic device is provided, which includes a memory and a processor; the memory is configured to store a computer program; the processor is configured to execute the above-mentioned object simulation method by invoking the computer program.

[0039] According to a fourth aspect of the embodiments of the present application, a computer readable storage medium is provided, which stores a computer program, and the program is executed by a processor to implement the above-mentioned object simulation method.

[0040] The technical scheme provided by the embodiments of the present application can include the following beneficial effects: in the above technical scheme provided by the present application, the user sets a split line on a two-dimensional stencil, and maps the split line to a three-dimensional model, and uses the split line mapped to the three-dimensional model to split the three-dimensional stencil, sets each region obtained by splitting as an independent control unit, realizes flexible control of the physical properties of different regions of the same component stencil, and when it is detected that the physical properties of the control unit are modified, the control unit is re-simulated according to the modified physical properties, so that the three-dimensional object effect of different regions on the same component stencil after being affected by the actual process can be more accurately simulated without changing the real design of the two-dimensional stencil of the target object in the docking production, and a more real and realistic simulation effect is generated. BRIEF DESCRIPTION OF DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0042] FIG. 1 is a schematic diagram of a comparison between an object simulation system in the related art and the actual object in the tuck effect according to an example embodiment of the present application;

[0043] FIG. 2 is a flowchart of an object simulation method according to an example embodiment of the present application;

[0044] FIG. 3 is a flow chart illustrating a step of setting a first division line on a two-dimensional template according to an example embodiment of the present application;

[0045] FIG. 4 is a flow chart illustrating a step of determining a three-dimensional template on which a second division line is located and cutting to obtain a plurality of independent control units according to an example embodiment of the present application;

[0046] FIG. 5 is a flow chart illustrating a step of modifying physical properties based on an intuitive interaction mode of icon dragging according to an example embodiment of the present application;

[0047] FIG. 6 is a flow chart illustrating a step of modifying physical properties based on input of an attribute editing interface according to an example embodiment of the present application;

[0048] FIG. 7 is a flow chart illustrating a step of precisely adjusting physical properties of a control unit through feedback information of a user according to an example embodiment of the present application;

[0049] FIG. 8A is an example interaction interface of an object simulation system taking a garment (trousers) as an example according to an example embodiment of the present application;

[0050] FIG. 8B is a schematic diagram of an interaction result of drawing a first division line on a two-dimensional template according to an example embodiment of the present application;

[0051] FIG. 8C is a schematic diagram of an interaction result of mapping the first division line to an initial three-dimensional model according to an example embodiment of the present application;

[0052] FIG. 8D is a schematic diagram of an interaction interface for triggering cutting processing and attribute modification processing on a three-dimensional template according to an example embodiment of the present application;

[0053] FIG. 8E is a schematic diagram of marking a control unit on which physical property modification occurs according to an example embodiment of the present application;

[0054] FIG. 8F is a schematic diagram of a result of correcting a pleating effect of a garment (trousers) according to an example embodiment of the present application;

[0055] FIG. 9 is a structural schematic diagram of an object simulation apparatus according to an example embodiment of the present application;

[0056] FIG. 10 is a hardware schematic diagram of an electronic device according to an example embodiment of the present application. DETAILED DESCRIPTION

[0057] Currently, when performing stress analysis, object simulation software or systems are usually based on idealized physical models and assumptions, i.e., the physical properties (such as elastic modulus, Poisson's ratio, density, etc.) of the analysis object (such as cloth, shoe pattern, etc.) are considered to be uniform throughout the object to simplify the complexity of the calculation and improve the analysis efficiency. However, in reality, the analysis object may exhibit non-uniform physical properties due to differences in material, weaving process, post-processing process (such as ironing, dyeing, etc.), for example, different areas of the same component pattern of a garment may have different elasticity, strength, wear resistance, etc. due to the influence of the process. Therefore, when using object simulation software or systems for simulation, idealized simulation limits the software's accurate reproduction of complex structures (such as tucks, wrinkles, etc.), resulting in simulated objects that cannot accurately display the details and physical effects of the real object.

[0058] Taking the tuck effect comparison chart shown in FIG. 1 as an example, the left chart is the tuck effect of the real object, which presents an uneven and flat natural form due to the influence of ironing and other processes in actual production; the right chart is the tuck effect generated in the object simulation system, which is based on the same physical and mechanical properties of the pattern grid points in the simulation model, resulting in a uniform distribution of stress within the object during simulation, thus the simulated tuck presents a uniform and not flat enough effect, which cannot reproduce the details of the real tuck.

[0059] To solve the above technical problems, the present application provides an object simulation method which can be applied to various scenarios that require accurate simulation of the physical properties of different regions on the same component pattern of a target object, which can include but is not limited to clothing, footwear, home textiles, products containing cloth products, etc. It can be understood that the above examples of target objects are only to facilitate understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect, on the contrary, the embodiments of the present application can be applied to any applicable scenario.

[0060] The object simulation method accurately maps the pattern partition defined by the segmentation line on the two-dimensional pattern to the three-dimensional model by using the mapping relationship between the two-dimensional pattern and the three-dimensional model of the target object (the object that needs to be simulated in three dimensions) in the object simulation system, and simultaneously sets the mapped pattern partition on the three-dimensional model as an independent control unit. Combined with the interactive interface, the physical properties of different pattern partitions of the same pattern on the three-dimensional model are independently and flexibly controlled, so that different simulation effects presented by different regions on the same pattern due to different processes can be flexibly controlled during simulation, making the three-dimensional simulation of the target object more consistent with the effect simulation after being affected by the process while meeting the requirements of cutting and pattern making in the production stage.

[0061] The object simulation method provided in the present application can be applied to an object simulation system or software, which supports displaying all two-dimensional plates constituting a target object and an initial three-dimensional model generated based on the three-dimensional simulation of the all two-dimensional plates on an interactive interface of the system; wherein the two-dimensional plates and the initial three-dimensional model can be synchronously displayed by two display areas on the interactive interface, for example, the display area of the interactive interface is divided into two areas on the left (or on the top) and on the right (or on the bottom), the two-dimensional plates are displayed on the left (or on the top) display area, and the corresponding initial three-dimensional model is displayed on the right (or on the bottom) display area, or the hiding function for the two display areas is also supported, and the user can select the information to be displayed by himself. Based on this, the method can be executed by a device or apparatus with a display function supporting the running of the object simulation system or software as the execution subject, including but not limited to a mobile phone, a computer, a tablet, a server, etc., and the user can select a suitable device or apparatus to execute the object simulation method provided in the present application according to the actual needs, which is not limited in the present application.

[0062] Based on the two-dimensional plates and the corresponding initial three-dimensional model of the target object displayed by the above-mentioned physical simulation system, referring to FIG. 2, the object simulation method provided in the present application can at least include the following steps.

[0063] S201, in the case that at least one two-dimensional plate of the target object is provided with a first division line, mapping the first division line to the initial three-dimensional model of the target object to obtain a second division line.

[0064] The two-dimensional plate refers to a planar graph with two coordinate axes (such as x and y axes), which is used to represent the planar shape and structure of the target object. Through the object simulation system, all two-dimensional plates constituting the target object can be converted or mapped to a three-dimensional space to three-dimensionalize the two-dimensional plates, and the stitching relationship between the two-dimensional plates can be simulated through the splicing and stitching of the three-dimensional plates to form a space graph with three coordinate axes (such as x, y, and z axes), i.e. the initial three-dimensional model of the target object. All two-dimensional plate areas of the target object correspond one-to-one to all three-dimensional plate areas included in the initial three-dimensional model. The initial three-dimensional model can simulate the object in the real world, including its shape, size, position, direction, etc., has a stereoscopic effect, and can more intuitively display the spatial structure and appearance characteristics of the object.

[0065] The first dividing line is used to distinguish different areas on the two-dimensional pattern piece with different physical attribute requirements. For example, for a two-dimensional pattern piece corresponding to a certain leg area of ​​pants, if a local area in the middle of the leg is designed to undergo washing and distressing processes, from a physical attribute perspective, this local area in the middle of the leg and the other leg areas belong to two areas with different physical attribute requirements. Therefore, the boundary line of this local area can be used as the first dividing line. This first dividing line is set by the user through the interactive interface of the two-dimensional pattern piece, based on the physical attribute requirements of different sections on the same two-dimensional pattern piece of the target object. During implementation, the user can set the first dividing line on at least one two-dimensional pattern piece of the target object by drawing it themselves or adding existing dividing lines.

[0066] For the target object, it can be determined whether at least one two-dimensional plate of the target object has a first dividing line by recognizing user operations and / or received processing instructions. When the first dividing line is detected on the at least one two-dimensional plate, for each two-dimensional plate with the first dividing line, based on the position of the first dividing line on the two-dimensional plate, it is mapped to the corresponding three-dimensional plate area in the initial three-dimensional model of the target object. The dividing line mapped from the first dividing line to the three-dimensional plate area becomes the second dividing line, which is located in three-dimensional space. The processing logic for mapping the first dividing line to three-dimensional space is the same as the processing logic for mapping the two-dimensional plate to the three-dimensional plate in three-dimensional space.

[0067] For example, a short-sleeved shirt consists of five two-dimensional pieces: the front piece, the back piece, the neckline, the left sleeve, and the right sleeve. Its corresponding three-dimensional model includes three-dimensional pieces corresponding to each of these five two-dimensional pieces. All three-dimensional pieces are stitched and joined together according to the seam lines on the two-dimensional pieces to simulate the three-dimensional model of the short-sleeved shirt. Suppose that a gathered design is needed at the cuffs of both sleeves. The cuff area and the sleeve body area on the same piece belong to two areas with different physical property requirements. The user can add a first dividing line to the left sleeve piece A1 and the right sleeve piece A2 according to this requirement, so that pieces A1 / A2 can be defined as consisting of two closed areas: the cuff area and the sleeve body area. This first dividing line serves as the boundary between these two closed areas.

[0068] When it is detected that the user adds the first dividing line to the left sleeve pattern A1 and the right sleeve pattern A2 respectively, then the first dividing line L on the left sleeve pattern A1 is... 11 Map this onto the left sleeve of the short-sleeved 3D model, corresponding to the second dividing line L. 12 Similarly, the first dividing line L on the right sleeve pattern A2 is... 21 Mapped to the right sleeve in the 3D model, corresponding to the second dividing line L 22 .

[0069] S202, segmenting the three-dimensional sheet where the second segmentation line is located on the initial three-dimensional model, and setting each region obtained by the segmentation as an independent control unit.

[0070] The independent control unit refers to a model part that can be independently edited, replaced and simulated in physical properties. Each region obtained by segmenting the three-dimensional sheet where the second segmentation line is located is set as an independent control unit, indicating that each sub-region after the segmentation of the three-dimensional sheet can be independently adjusted and optimized in physical properties without affecting other regions. The current physical properties of the multiple independent control units obtained by segmenting the same three-dimensional sheet inherit the original physical properties of the three-dimensional sheet, that is, before the physical properties of the control unit are modified, the physical properties of the control unit are the same as those of the three-dimensional sheet before the segmentation.

[0071] In the case of obtaining the second segmentation line, for each second segmentation line, the three-dimensional sheet where the second segmentation line is located is determined, that is, the sheet region on the three-dimensional model when the two-dimensional sheet provided with the corresponding first segmentation line is mapped to the three-dimensional space. Next, the three-dimensional sheet where the second segmentation line is located can be segmented into multiple sub-regions along the path of the second segmentation line by using segmentation tools such as cutting and splitting in the object simulation system, and the multiple sub-regions do not overlap with each other, and new region boundaries are generated in the cutting process.

[0072] For each sub-region obtained by the segmentation, the sub-region is set as an independent control unit so that different physical properties can be set for each sub-region. In the implementation process, the sub-region can be converted into a new and independent component or object to realize the setting of the independent control unit by creating a new component or object; or, the sub-region can be automatically set as an independent control unit by using the application program interface or script interface provided by the object simulation system through the programming script control.

[0073] In this embodiment, by using the second segmentation line on the initial three-dimensional model, the regions segmented from the corresponding three-dimensional sheet are all set as independent control units, and compared with the same physical properties of the whole same component sheet, this way makes each control unit can be independently set in physical properties, that is, different regions of the same component sheet can have different physical properties, so that after subsequent physical property adjustment, different simulation effects can be realized in different regions of the same component sheet.

[0074] S203, in response to detecting an attribute modification event for any of the control units, obtaining the modified physical properties of the control unit.

[0075] The physical attribute refers to a characteristic of the control unit in the physical world, which affects the simulation behavior and reaction of the control unit. In this embodiment, the physical attribute can include, but is not limited to, the tensile strength, bending strength, deformation strength, grammage, thickness, color, and morphology of the same material under different processes of the control unit corresponding to the version sheet. The tensile strength is used to represent the ability of the material to resist breaking when subjected to tensile force, which is divided into warp (along the direction of the warp of the fabric), weft (along the direction of the weft of the fabric), and oblique (between the warp and weft) tensile strength. The bending strength is used to represent the ability of the material to resist bending deformation. The deformation strength is used to represent the ability of the material to maintain its original shape when subjected to external force. The grammage refers to the weight of the material per unit area, usually represented by "grams per square meter (g / m 2 )". The thickness refers to the vertical dimension of the material, that is, the distance from one side to the other side. The color refers to the different visual color effects presented by the version sheet after processes such as fading, washing, and aging. The morphology of the same material under different processes refers to the different morphologies or structures presented by the same material after experiencing different processing processes or treatment methods, which change the physical and chemical properties of the material and affect its morphology, mechanical properties, and appearance.

[0076] The attribute modification event is used to represent that the physical attribute of the control unit has been modified, and to pass information to the object simulation system that the physical attribute of the control unit has been changed. When the user performs a change operation on the physical attribute of any control unit defined on the initial three-dimensional model of the target object, the system detects the change operation and identifies it as an attribute modification event as soon as the change operation is completed.

[0077] Regarding the attribute modification event, it can be detected by identifying the user's interaction with the interaction interface displaying the initial three-dimensional model and the two-dimensional version sheet, that is, identifying the received interaction information and determining whether it indicates a control unit physical attribute modification operation. For the object simulation system, a variety of interaction methods that trigger the attribute modification event can be set in advance to meet the operation habits and preferences of different users, such as double-click operation, single-click operation with operation bar options, shortcut keys or combination keys, etc.

[0078] When the attribute modification event for any control unit is detected, the latest physical attribute values can be actively obtained from the modified physical attribute set of the control unit, or a callback function can be set in the function or method of physical attribute modification, so that the callback function is automatically called and the latest physical attribute values are passed through parameters after the physical attribute modification is completed. For the component that performs simulation in the object simulation system, the modified physical attribute values can be automatically received when the attribute modification event is detected.

[0079] S204, re-simulating the control unit according to the modified physical attribute to generate an updated target three-dimensional model.

[0080] The physical attribute is used to determine the corresponding parameter of the three-dimensional model to ensure the accuracy and reliability of the simulation result. After the physical attribute of any control unit is modified, in order to make the simulation result reflect the attribute change, the physical behavior of the control unit is re-simulated according to the modified physical attribute, that is, the physical engine integrated by the object simulation system can be used to re-calculate the position, shape, physical behavior and other characteristics of the control unit in the three-dimensional space according to the modified physical attribute, so as to ensure that the modified control unit behaves correctly in the three-dimensional simulation process of the target object.

[0081] In the embodiment, each region obtained by dividing the three-dimensional sheet based on the second division line is set as an independent control unit. When the physical attribute of at least one control unit is modified, only the control unit with the modified attribute is re-simulated, the original simulation result of the three-dimensional sheet region with no attribute modification on the initial three-dimensional model is kept, and the target three-dimensional model is generated by replacing the simulation result; or the entire three-dimensional model can also be re-simulated according to the physical attribute of each three-dimensional sheet to generate the target three-dimensional model.

[0082] In the embodiment of the present disclosure, the two-dimensional sheet and the initial three-dimensional model of the target object are displayed through the interactive interface, the user is allowed to set the division line on the two-dimensional sheet and map the division line to the three-dimensional model, the seamless connection of two-dimensional design and three-dimensional simulation is realized, the three-dimensional sheet is divided by the mapped division line, each region obtained by the division is set as an independent control unit, the physical attribute of different regions of the same component sheet is flexibly controlled, the control unit is re-simulated according to the modified physical attribute when the physical attribute of the control unit is detected to be modified, so that the three-dimensional object effect of different regions on the same component sheet after being affected by the actual process can be more accurately simulated under the premise of ensuring the connection production, a more realistic and lifelike simulation effect is generated, the fine design and optimization of the three-dimensional model of the target object are realized, the practicality and reliability of the simulation are improved, which helps to reduce the trial and error cost and time waste in the production process, and improves the production efficiency.

[0083] In addition, the two-dimensional sheet and the three-dimensional model are displayed through the interactive interface, and the intuitive physical attribute modification and simulation result feedback are provided, so that the user can more conveniently and quickly design and simulate the operation, and the user experience is optimized.

[0084] In some embodiments, the at least one two-dimensional sheet of the target object described in the foregoing step S201 is provided with a first segmentation line, and the embodiments provide a manner for setting the first segmentation line. Referring to a step flowchart shown in FIG. 3, the manner can at least include the following steps.

[0085] S301, in a segmentation line setting mode, adding an initial segmentation line to a two-dimensional sheet selected by a user; the initial segmentation line is provided with a plurality of control points.

[0086] The segmentation line setting mode is an interactive interface mode, allowing the user to add, edit or manage the initial segmentation line on the two-dimensional sheet through the interactive interface of the object simulation system. The segmentation line setting mode can be triggered by user interaction, for example, the user can start the segmentation line setting mode by clicking the button in the toolbar, selecting the menu item or using the shortcut key, and the interactive interface can display tools and options related to the segmentation line setting after the object simulation system enters the segmentation line setting mode.

[0087] The control points include key points for adjusting the shape and position of the initial segmentation line, and the user can change the shape of the segmentation line by moving the control points to adapt to different segmentation requirements.

[0088] The initial segmentation line refers to the segmentation line obtained by the user through interactive operation with the interactive interface displaying the two-dimensional sheet, and is used to indicate the segmented regions with different physical properties on the two-dimensional sheet. The initial segmentation line can be determined in various ways such as selecting the segmentation line setting option and drawing on the sheet.

[0089] Before entering the segmentation line setting mode, the user can select the two-dimensional sheet of the target object that needs to be provided with the first segmentation line through mouse or touch operation, so that the initial segmentation line can be added to the two-dimensional sheet selected by the user when in the segmentation line setting mode. In the case where the user does not directly specify the two-dimensional sheet to which the initial segmentation line is to be added, the initial segmentation line can be added to the region where any two-dimensional sheet of the target object is located.

[0090] S302, listening to the adjustment operation of the user on the control points on the initial segmentation line, and adjusting the shape of the initial segmentation line.

[0091] This step provides a flexible way for the user to customize the shape of the segmentation line according to the requirements to meet different design or layout requirements. A listener can be set on each control point in advance to listen to the movement trajectory of the control point, calculate the position movement offset according to the movement trajectory, update the position of the control point on the two-dimensional sheet, and recalculate and draw the shape of the initial segmentation line using the updated control point position.

[0092] The listener can include a cursor listener for listening to cursor press, move and release events, recording a cursor movement track, combining control point positions at cursor press and release to calculate the offset; or the listener can also include a touch listener for listening to touch start, move and end events, obtaining position information of a touch point during movement, and calculating the offset according to the position information.

[0093] S303, in the case of receiving the first confirmation instruction, determining the adjusted initial segmentation line as the first segmentation line.

[0094] The first confirmation instruction is used to indicate that the adjustment operation for the initial segmentation line is completed, and can be generated by any one of the following user interactions: clicking a confirmation button, pressing an enter key, selecting a 'complete' option in a menu item, or the like, or can be automatically generated in the case where it is detected that the initial segmentation line is not adjusted within a set time.

[0095] In the case of receiving the first confirmation instruction, it indicates that the user completes the adjustment of the initial segmentation line, and when the confirmation instruction is valid, the position, shape, control point distribution and the like related to the segmentation line form of the adjusted initial segmentation line can be obtained and stored as related information of the first segmentation line added on the two-dimensional plate.

[0096] In the embodiments of the present disclosure, by introducing the segmentation line setting mode, the user can add an initial segmentation line on a two-dimensional plate, and listen to the user's adjustment operation on the control point and update the form of the segmentation line in real time, so as to realize accurate setting of the form of the segmentation line, confirm the adjustment result through the first confirmation instruction, ensure the accuracy of the user operation and the consistency of the system data, enhance the immediacy and intuitiveness of the user interaction, improve the flexibility and efficiency of the two-dimensional plate segmentation, reduce the complexity of the user operation, and improve the user experience.

[0097] Regarding the step S301 in the foregoing embodiments, in the case of being in the segmentation line setting mode, the initial segmentation line determined by the user is added to the two-dimensional plate selected by the user, which can be realized in various ways. The present embodiment provides a way of directly selecting an initial segmentation line from a menu bar, which can be realized in the following way: in the case of triggering the segmentation line setting mode, a plurality of preset initial segmentation lines are displayed on the interactive interface; in response to detecting a segmentation line selection operation of the interactive interface, the initial segmentation line selected by the user is applied to the two-dimensional plate selected by the user.

[0098] That is, the object simulation system displays the relevant information of the split line setting in a certain display area of the interactive interface, such as a toolbar, a sidebar or a drop-down menu, in response to the system entering the split line setting mode, including but not limited to a plurality of preset initial split lines and other toolbars, and the initial split line style can be a straight line, a curve, a polygon or the like.

[0099] The object simulation system detects the user's selection operation on the preset initial split line by listening to the user's mouse click, touch operation or keyboard input, and the selection operation can be directly clicking the split line style icon. In response to detecting the user's split line selection operation, the object simulation system applies the initial split line selected by the user to any position in the region of the two-dimensional plate previously selected by the user.

[0100] In some embodiments, the foregoing step S301 can also be implemented by listening to the split line icon dragging event, which can include the following steps: displaying a plurality of preset initial split lines on the interactive interface in the case of triggering the split line setting mode; in the case of listening to the split line icon dragging event, if the release position of the split line icon is located in the two-dimensional plate region, the initial split line corresponding to the split line icon is obtained; and the initial split line is applied to the two-dimensional plate selected by the user according to the release position.

[0101] That is, for the plurality of initial split lines displayed on the interactive interface, the object simulation system can listen to the user's dragging event of the split line icon. When the user selects a split line icon by mouse or touch and drags it to other positions of the interactive interface, the object simulation system can continuously track the moving track of the icon; when the user drags the split line icon above the two-dimensional plate region and releases it, and the release position of the icon is detected to be located within the boundary of the two-dimensional plate, it is confirmed that the user's intention is to apply the initial split line to the currently selected two-dimensional plate, and the release position of the split line icon represents the specific position of the initial split line on the two-dimensional plate desired by the user, then the initial split line type and style corresponding to the split line icon selected by the user can be obtained, and the initial split line is applied to the release position on the two-dimensional plate selected by the user.

[0102] In this embodiment, the user can intuitively add the split line needed by himself on the two-dimensional plate by dragging and releasing the split line icon, which improves the convenience of operation and enhances the user experience.

[0103] To make the initial segmentation line more adaptive to the shape of the two-dimensional plate and the user's needs, for the foregoing step S301, the embodiment also provides an implementation manner of drawing the initial segmentation line by using a drawing tool, which can include the following steps: in the case of being in the segmentation line setting mode, in response to detecting that the user clicks the drawing tool, tracking the path of the user input for drawing the segmentation line in real time; in the case of receiving a completion drawing instruction, displaying the drawn segmentation line and determining it as the initial segmentation line.

[0104] After entering the segmentation line setting mode, the user can select a straight line tool, a curve tool and the like drawing tool suitable for drawing the segmentation line in the segmentation line setting toolbar displayed on the interactive interface, so as to allow the user to draw different types of initial segmentation line as needed. In the case that the user selects the drawing tool and cannot start the drawing operation, the input operation of the user is tracked in real time, which can be realized by capturing the mouse movement track or the touch path on the touch screen, and a preview path of the segmentation line is dynamically drawn on the two-dimensional plate according to the user input, which is updated in real time along with the user input, so that the user can intuitively see the drawing effect of the segmentation line. During the drawing process, the user can adjust the drawing path as needed. For example, changing the direction, curvature or position of the line.

[0105] When the user completes the drawing of the segmentation line, the completion drawing instruction can be issued through a preset confirmation manner provided by the interactive interface, such as clicking the “complete” button, pressing a specific shortcut key or releasing the mouse button. For the object simulation system, in response to receiving the completion drawing instruction, the input operation of the user is stopped, and the drawn segmentation line is displayed, which is determined as the initial segmentation line.

[0106] In the embodiment of the present disclosure, the user can flexibly draw the initial segmentation line by using the drawing tool, so as to adapt to the shape of the two-dimensional plate and the user's needs, improve the degree of freedom of the segmentation line design, and enhance the user's participation and satisfaction in the design process.

[0107] In some embodiments, since the first segmentation line on the two-dimensional version sheet is designed based on two-dimensional space, and the initial three-dimensional model of the target object exists in three-dimensional space, in order to ensure the accuracy and consistency of the segmentation line, when the first segmentation line is applied to the initial three-dimensional model, a coordinate conversion from two-dimensional to three-dimensional must be performed, therefore, for the aforementioned step S201 of mapping the first segmentation line onto the initial three-dimensional model of the target object to obtain the second segmentation line, it can also be achieved by the following steps: obtaining two-dimensional coordinate information of the first segmentation line on the two-dimensional version sheet; converting the two-dimensional coordinate information into three-dimensional coordinate information under a three-dimensional coordinate system in which the initial three-dimensional model exists according to a preset coordinate conversion method; and creating the second segmentation line on the initial three-dimensional model according to the three-dimensional coordinate information.

[0108] That is, the two-dimensional coordinate point set of the first segmentation line on the two-dimensional version sheet is first identified and extracted, which collectively defines the shape of the first segmentation line in two-dimensional space; next, the two-dimensional coordinate point set can be converted into a three-dimensional coordinate point set under a three-dimensional coordinate system in which the initial three-dimensional model exists by using a coordinate conversion tool or function built in the object simulation system; finally, the corresponding position of the first segmentation line on the two-dimensional version sheet is found in the initial three-dimensional model according to the converted three-dimensional coordinate point set, and a corresponding second segmentation line is created on the three-dimensional model by using a three-dimensional modeling tool, thereby ensuring the accurate mapping of the segmentation line from two-dimensional to three-dimensional. In order to prevent data loss or loss caused by unpredictable problems, the data of the initial three-dimensional model can be backed up before the second segmentation line is created.

[0109] In some embodiments, based on the mapping relationship between the two-dimensional version sheet of the target object and the initial three-dimensional model, for the aforementioned step S202 of segmenting the three-dimensional version sheet on which the second segmentation line is located on the initial three-dimensional model, the three-dimensional version sheet on which the second segmentation line is located can be determined and cut by the following method.

[0110] S401, determining the three-dimensional version sheet on which the second segmentation line is located according to the boundary position on the initial three-dimensional model corresponding to the version sheet boundary of the two-dimensional version sheet on which the first segmentation line is located.

[0111] Based on the mapping relationship between the two-dimensional version sheet of the target object and the three-dimensional version sheet on the three-dimensional model, the version sheet boundary of the two-dimensional version sheet corresponds to the boundary surface, edge or contour line of the three-dimensional version sheet in the three-dimensional model, based on which, by identifying the boundary position on the three-dimensional model corresponding to the version sheet boundary of the two-dimensional version sheet, the position area of the two-dimensional version sheet in the three-dimensional model is accurately located, and the three-dimensional version sheet on the three-dimensional model corresponding to the position area is determined as the three-dimensional version sheet on which the second segmentation line is located.

[0112] For example, the first split line is located on the left sleeve pattern piece of the short sleeve, and based on the pattern piece boundary of the left sleeve pattern piece corresponding to the connection between the sleeve body and the shoulder of the short sleeve on the three-dimensional model, the lower edge of the sleeve of the left sleeve, the first split line is mapped to the second split line on the left sleeve of the three-dimensional model corresponding to the three-dimensional pattern piece.

[0113] S402, cutting along the second split line for the three-dimensional pattern piece to obtain a plurality of independent control units.

[0114] The three-dimensional pattern piece takes the second split line as the boundary line of different sub-regions, and the three-dimensional pattern piece can be divided into a plurality of mutually non-overlapping closed regions along the second split line. Each closed region is defined as an independent control unit, so as to facilitate the physical property setting of each closed region.

[0115] In the embodiments of the present disclosure, by accurately mapping the pattern piece boundary of the two-dimensional pattern piece to the three-dimensional model to determine the three-dimensional pattern piece where the second split line is located, it can be ensured that the splitting operation in the three-dimensional model is consistent with the splitting requirement on the two-dimensional pattern piece.

[0116] In the foregoing embodiments, how to divide the three-dimensional pattern piece where the second split line is located into a plurality of independent control units through two-dimensional to three-dimensional mapping and cutting operation based on the second split line has been introduced. Next, for the flexible adjustment and configuration of the physical properties of the control unit involved in the foregoing step S203, in order to meet the user's demand for personalization and intuitive operation, the present application provides an intuitive interaction mode based on icon dragging and an attribute modification mode based on attribute editing interface to realize.

[0117] In some embodiments, in order to be intuitive and convenient for operation, the present embodiment provides an intuitive interaction mode based on icon dragging, which allows the user to assign new physical properties to the control unit through a simple dragging action, as shown in FIG. 5, the foregoing step S203 can be realized by the following way.

[0118] S501, in the case of detecting an attribute editing trigger event for any control unit, displaying the attribute editing interface of the control unit, the attribute editing interface including different types of fabric icons; each fabric icon corresponds to a category of physical properties.

[0119] The attribute editing trigger event refers to an event triggered by user behavior to modify the physical properties of the control unit, which is used to start the attribute editing process of the control unit. For example, the user can trigger the event by clicking a button, performing a preset operation on the control unit, selecting a specific menu item, or using a shortcut key, and the object simulation system displays the corresponding attribute editing interface in response to the attribute editing trigger event.

[0120] The fabric icon refers to a visual element used to represent a physical attribute, which presents the effect of different fabrics in the form of graphics, so that the user can intuitively select the required attribute, and each fabric icon is associated with a specific physical attribute. For example, the fabric icon can include tuck fabric, shaggy fabric, knitted fabric, and double jersey, corresponding to the physical attributes of the swatches under four types of simulation effects.

[0121] The attribute editing interface is used as a user interface to display and modify the physical attributes of the control unit. In this embodiment, the attribute editing interface includes a display area of a plurality of fabric icons for displaying different types of fabric icons, each of which is designed to be clearly visible and accompanied by a brief description or label to facilitate the user to quickly identify the physical attribute it represents, so that the user can apply the associated attribute by selecting and dragging the fabric icon. For different types of fabric icons, the user can view the associated physical attribute by arbitrarily selecting a fabric icon on the attribute editing interface, and can modify and store the physical attribute corresponding to the fabric icon through the attribute editing interface.

[0122] For example, the user selects fabric 1 on the attribute editing interface. For the object simulation system, in response to receiving a request to view the physical attribute of fabric 1, the physical attribute of fabric 1 is displayed in a specified area of the attribute editing interface, and in the case of detecting a modification operation on the physical attribute value displayed in the specified area, the user input is received and the display of the attribute editing interface is updated in real time.

[0123] S502, in the case of detecting an icon dragging event of the fabric icon, if the release position of the dragged fabric icon is located in the area of any control unit, the attribute modification event is triggered, and the physical attribute corresponding to the dragged fabric icon is obtained as the modified physical attribute of the control unit where the release position is located.

[0124] The release position refers to the position where the fabric icon is finally placed after the user completes the icon dragging action, and the object simulation system determines which control unit's physical attribute will be modified according to the release position.

[0125] The icon dragging event occurs as a user operation event when the user drags the fabric icon and releases it to a position on the interactive interface displaying the initial three-dimensional model of the target object. In this embodiment, in the case where the dragged fabric icon is released to the area of any control unit on the initial three-dimensional model of the target object, the icon dragging event will be identified and the corresponding attribute modification event will be triggered to modify the physical attribute of the control unit.

[0126] A drag event listener is added in advance for each fabric icon in the attribute editing interface, so as to record the starting state and icon information when the user starts to drag the fabric icon, and detect whether the release position is located in the effective area of a certain control unit by calculating whether the coordinates of the release position are located in the coordinate range of the boundary of any control unit when the user stops dragging and releases the icon. In the case where the release position is confirmed to be valid, an attribute modification event is triggered, and the corresponding physical attribute is searched from a predefined mapping table according to the ID or type of the dragged icon, and is taken as the modified physical attribute of the control unit where the release position is located. In order to improve the user experience, immediate feedback can be given to the user after the attribute modification, such as changing the display style (such as color, border, etc.) of the control unit to reflect the new physical attribute.

[0127] In the embodiments of the present disclosure, by displaying different types of fabric icons as visual representatives of physical attributes, the user can intuitively understand and quickly select the required physical effect without deep understanding of complex parameter settings, thereby reducing the learning cost and use threshold, and the user only needs to complete the assignment of the physical attribute through a simple dragging action, which provides an innovative interactive design, greatly simplifies the operation process, and improves the work efficiency.

[0128] In some embodiments, in order to further improve the flexibility and efficiency of user operation, for the above method of modifying the physical attribute of the control unit based on the fabric icon dragging, the present embodiment provides a batch modification method, in the case where an icon dragging event of the fabric icon is listened to, if it is detected that multiple control units are simultaneously selected by the user, the physical attribute corresponding to the dragged fabric icon is taken as the modified physical attribute of the simultaneously selected multiple control units.

[0129] That is, when it is detected that multiple control units are simultaneously selected by the user, for example, the user can simultaneously select multiple control units by frame selection, multiple selection by holding the Shift key or by using other multiple selection mechanisms, when the user drags the fabric icon to any selected control unit area and releases it, the physical attribute corresponding to the dragged fabric icon is applied to all the selected control units simultaneously.

[0130] For example, for the cuff areas of the left and right sleeves of the initial three-dimensional model of a short-sleeved shirt, control unit 1 and control unit 2 are set respectively, control units 1 and 2 are simultaneously selected, and the fabric icon of the pleated fabric is dragged to any control unit area, and then the physical attributes of the control units 1 and 2 are modified to the physical attribute associated with the pleated fabric.

[0131] In the embodiments of the present disclosure, by setting the batch modification of the physical properties of the control units in the fabric icon dragging mode, the user can greatly reduce repeated operations and improve work efficiency when facing a scenario that requires batch modification of the physical properties of the control units.

[0132] In some embodiments, in order to balance the preference for traditional input methods or the accuracy of property modification, the present embodiment also provides a property modification method based on a property editing interface, which supports users to make detailed adjustments and confirm the physical properties of the version sheet through a detailed property editing interface. The property modification method based on the property editing interface can be triggered to execute by detecting a property editing trigger event for a set region. The set region can be a region on the initial three-dimensional model displayed on the interactive interface where the control unit is located. In the case where at least one two-dimensional version sheet of the target object is provided with a first segmentation line, the two-dimensional version sheet provided with the first segmentation line can also be segmented into a plurality of closed sub-versions according to the first segmentation line. The closed sub-versions correspond one-to-one to the control units segmented and set on the initial three-dimensional model, so the set region can also be a closed sub-version corresponding to the two-dimensional version sheet of the target object displayed on the interactive interface.

[0133] Based on this, referring to FIG. 6, the response to the detection of the property modification event for any control unit to obtain the modified physical properties of the control unit in the step S203 described above can also be implemented in the following manner.

[0134] S601, in the case where a property editing trigger event for a set region is detected, display the property editing interface of the set region, and the current physical properties of the set region are displayed in the property editing interface; the set region includes any control unit or any closed sub-version.

[0135] Based on the one-to-one correspondence between the closed sub-versions on the two-dimensional version sheet of the target object and the control units on the three-dimensional model, the interactive operation on the closed sub-version or the control unit can trigger the modification of the physical properties of the control unit. From the perspective of the user, the user can perform an interactive operation on any closed sub-version divided on the two-dimensional version sheet displayed on the interactive interface of the object simulation system, or can perform an interactive operation on any control unit set on the initial three-dimensional model displayed on the interactive interface, to trigger the property editing trigger event, so that the object simulation system displays the property editing interface of the set region in response to the event.

[0136] In this embodiment, by monitoring the user's mouse clicks, keyboard input or touch screen operation, etc., when the user's interactive operation triggers the attribute editing trigger event, the attribute editing interface of the setting area is loaded and displayed, and the current physical attribute parameters of the setting area are clearly displayed on the attribute editing interface, and adjustment functions are provided.

[0137] S602, receiving attribute modification input of the user on the attribute editing interface, and updating the attribute editing interface in real time.

[0138] The user can control the physical attribute of the control unit through the attribute modification input on the attribute editing interface, such as the slider, color selector, drop-down menu, etc. The object simulation system captures the user input in real time and updates the display on the attribute editing interface, so that the user can immediately view the modification effect, providing immediate feedback to the user, allowing them to visually see the new attribute value after modification.

[0139] S603, in response to receiving the attribute modification confirmation instruction, triggering the attribute modification event, and obtaining the modified physical attribute of the setting area.

[0140] The attribute modification confirmation instruction is used to indicate the completion of the attribute modification operation, which can be generated according to the user's setting interaction behavior such as clicking the "confirm" button indicating the completion of the modification.

[0141] After receiving the attribute modification confirmation instruction, record all attribute values of the current attribute editing interface as the modified physical attribute of the setting area. When the setting area is a closed sub-plate on a two-dimensional plate, all attribute values of the current attribute editing interface are the modified physical attribute of the control unit corresponding to the setting area.

[0142] In the embodiments of the present disclosure, by displaying the attribute editing interface of the setting area immediately when the attribute editing trigger event is detected, and updating the physical attribute changes input by the user in real time, the user can directly see the modification effect, thereby reducing the uncertainty of operation, enhancing the accuracy and satisfaction of operation. And through the explicit attribute modification confirmation instruction to trigger the attribute modification event and obtain the modified physical attribute, the accuracy and controllability of data modification are ensured, the data error caused by misoperation or accidental situation is avoided, and the stability and reliability of the system are improved.

[0143] In some embodiments, the aforementioned step S204 is described as follows: the control unit is re-analyzed according to the modified physical properties, and an updated target three-dimensional model is generated. Each region obtained by three-dimensional sheet segmentation based on the second split line is set as an independent control unit. In this embodiment, a target three-dimensional model generation method is provided. When the physical properties of at least one control unit are modified, only the control unit with modified properties is re-analyzed. The target three-dimensional model is generated by replacing the independent control unit. The method can include the following steps: in response to receiving an analysis instruction, the control unit with modified properties is re-analyzed according to the modified physical properties; the simulation results of the initial three-dimensional model except the control unit with modified properties are obtained, and the control unit generated by re-analysis is combined to generate the target three-dimensional model.

[0144] That is, in the case of receiving an analysis instruction, for each control unit with modified properties in the initial three-dimensional model, the shape, size, position, dynamic behavior, etc. of the control unit in the three-dimensional space are re-calculated according to the modified physical properties of the control unit, so as to accurately reflect the simulation effect after the physical properties are changed.

[0145] While re-analyzing each control unit with modified properties, the simulation results of the part of the initial three-dimensional model without modified properties can be retained. The re-analyzed control unit and the part of the initial three-dimensional model without modification are combined by coordinate transformation, space matching, etc. The newly generated control unit is seamlessly integrated into the initial three-dimensional model to generate a target three-dimensional model containing the modified control unit.

[0146] Alternatively, after each control unit with modified properties is re-analyzed to generate a new control unit, the new control unit is used to directly replace the old control unit of the same region in the initial three-dimensional model indicated by the new control unit. For example, the aforementioned step S202 can also set identifiers such as ID, name, etc. for the independent control unit. After the physical properties of the control unit are modified and re-analyzed, the identifier of the new control unit is used to replace the control unit before re-analysis indicated by the same identifier on the initial three-dimensional model with the new control unit, so as to obtain the target three-dimensional model.

[0147] In the embodiments of the present disclosure, by re-simulating only the control unit that has been modified and generating the updated target three-dimensional model in combination with the control unit replacement, the need for comprehensive re-simulation of the entire three-dimensional model is avoided, the computing resources and time are saved, the response speed and efficiency of the system are improved, and the modification of the physical properties of the control unit by the user is accurately reflected by the model.

[0148] In some embodiments, in order to better achieve accurate simulation and dynamic updating of the three-dimensional model, after receiving the simulation instruction and determining that the physical properties of the control unit have been modified, the entire target object can be re-simulated and an updated target three-dimensional model can be generated by the following steps in addition to the aforementioned step S204: in response to receiving the simulation instruction, re-simulating the target object in three dimensions according to the modified physical properties and the physical properties of other regions in the initial three-dimensional model except for the control unit whose properties have been modified, to generate the target three-dimensional model.

[0149] After receiving the simulation instruction, the modification content of the physical properties of the control unit in the simulation instruction can be analyzed in detail to ensure that the change information of the physical properties of the control unit is accurately obtained; at the same time, the physical properties of all other regions in the initial three-dimensional model except for the control unit whose properties have been modified are retained; next, based on the modified physical properties of the control unit and the physical properties of all regions in the initial three-dimensional model whose properties have not been modified, the entire target object is re-simulated in three dimensions by an integrated three-dimensional simulation engine, which comprehensively considers the physical properties of all regions, including material, color, shape, size, positional relationship, etc., to ensure that the generated target three-dimensional model can accurately reflect the modification of the control unit by the user and maintain consistency with other unmodified regions.

[0150] In the embodiments of the present disclosure, a global simulation method of the three-dimensional model is provided, which re-simulates the entire three-dimensional model by considering the physical properties of each three-dimensional patch on the entire target object, ensures that the modified control unit and the unmodified regions maintain high consistency in physical properties and spatial positions, avoids overall incoordination or errors caused by local modification, and thus improves the overall quality of the three-dimensional model and provides greater flexibility for the user to modify the physical properties of the control unit.

[0151] In some embodiments, when the physical properties of the control units change, there can be obvious boundaries or abrupt transitions between directly adjacent regions, affecting the overall visual effect and realism of the three-dimensional model. Therefore, after generating the target three-dimensional model using any of the above embodiments, the object simulation method provided by the present application can further include a smoothing step to make the entire three-dimensional model more natural and continuous, which includes: for each control unit whose physical properties are modified, performing transition smoothing processing on the transition region between the control unit and its adjacent region according to the difference in physical properties between the two regions, to obtain the target three-dimensional model.

[0152] Wherein, regarding the transition smoothing processing on the transition region between the control unit and its adjacent region, for each control unit whose physical properties are modified, based on the spatial position relationship and connection relationship in the three-dimensional model, the transition region that needs to be transitionally smoothed is identified; for each transition region that needs to be smoothed, the difference in physical properties between the two regions connected by the transition region can include but is not limited to the difference in color, material, texture, thickness, etc., and various transition smoothing algorithms are applied to process the transition region between adjacent regions. Among them, the transition smoothing algorithm can include but is not limited to color gradient, material mixing, texture fusion, etc. processing method, so that the transition region presents a smooth and natural transition effect in vision.

[0153] In the embodiments of the present disclosure, by performing transition smoothing processing on the transition region between the control unit whose physical properties are modified and its adjacent region, the abruptness between adjacent regions can be reduced, thereby improving the visual effect of the three-dimensional model.

[0154] In some embodiments, in order to optimize the simulation effect of the control units on the model, after generating the target three-dimensional model, the present embodiment incorporates a user participation and real-time feedback mechanism to accurately adjust the simulation effect through user feedback. Based on this, as shown in FIG. 7, the above object simulation method can further include the following steps.

[0155] S701, receiving feedback information of the effect drawing of the control unit whose physical properties are modified on the target three-dimensional model by the user, the feedback information being used to indicate the modification method of the physical properties.

[0156] The feedback information can at least include specific physical property modification indication, modification direction or effect drawing reference, which is used to guide the adjustment of the physical properties. For example, the feedback information can include a specific physical property modification value such as "tensile strength increased to n", or a modification direction such as "make the pleats of the tuck more obvious", or the user directly uploads a specific effect drawing, so that the object simulation system iteratively adjusts the physical properties and re-simulates multiple times until the simulation effect of the control unit matches the specific effect drawing.

[0157] S702, adjust the physical properties of the control unit according to the feedback information, and re-simulate to generate an adjusted target three-dimensional model.

[0158] Upon receiving the feedback information, the object simulation system analyzes the feedback information provided by the user, identifies specific modification instructions, modification directions and other related suggestions, and can adopt different adjustment strategies for different feedback information. After adjusting the physical properties of the control unit, the system needs to re-simulate to generate an adjusted target three-dimensional model, so as to ensure that the new physical properties can be correctly reflected in the three-dimensional model.

[0159] When the feedback information directly indicates the physical properties that need to be adjusted and the specific adjustment method, the physical properties of the selected control unit can be directly adjusted according to the feedback information.

[0160] In the case where the feedback information gives a modification direction but the information is vague or abstract, the feedback information is analyzed to understand its potential impact on the physical properties and the degree of association. A mapping table of user feedback information and property modification methods can be pre-set, which defines the corresponding relationship between different types of feedback information and a series of possible physical property modification methods. By querying the mapping table, the property modification method matching the received feedback information can be determined, and the physical properties of the control unit are adjusted according to the property modification method.

[0161] When the feedback information includes a rendering, an iterative adjustment strategy can be used to ensure that the final simulation effect of the control unit matches the rendering. First, compare the difference between the current simulation effect of the control unit and the rendering provided by the user, and identify the physical properties that need to be modified. Second, make a preliminary adjustment of the physical properties according to the difference, and re-simulate to generate the target three-dimensional model. Next, continue to compare the simulation effect of the adjusted control unit with the rendering, and evaluate whether the difference has decreased. Through continuous iteration of adjusting the physical properties and re-simulating, the simulation effect of the control unit matches the rendering.

[0162] In the embodiments of the present disclosure, by receiving the feedback information of the user and adjusting the physical properties of the control unit accordingly, the three-dimensional simulation effect of the control unit can be continuously optimized, ensuring that the finally generated target three-dimensional model is more in line with the expectations and needs of the user, improving the quality of the three-dimensional model, and thus improving the user's satisfaction and good interactive experience.

[0163] Next, for the skilled in the art to better understand the object simulation method provided in the present application, see the interactive diagram shown in FIGS. 8A-8F, the embodiment takes an example of the interactive interface of an exemplary object simulation system, and illustrates the object simulation method by combining the simulation of the pleat effect on the garment (pants).

[0164] As shown in an example of the interactive interface of an object simulation system in FIG. 8A, the interactive interface displays all two-dimensional patterns that make up the pants and the corresponding initial three-dimensional model, and the physical properties of each area of the two-dimensional patterns are the same. For the case that the waistband area of the pants after actual process treatment has uneven and flat pleat effect, the physical properties of the waistband area are changed based on the process treatment, which makes the waistband area present the pleat effect. In order to more accurately simulate the real pleat effect of the waistband area, the embodiment provides an object simulation method, which can modify the physical properties of the waistband area independently without responding to the physical properties of other areas. The method can include the following steps:

[0165] (1) In response to detecting that a user draws a first division line on at least one two-dimensional pattern displayed on the interactive interface, obtaining the first division line and a target two-dimensional pattern where the first division line is located;

[0166] Referring to the two-dimensional patterns shown in FIG. 8B, the user draws a first division line L b1 and L b2 on the two-dimensional patterns B1 and B2 containing the waistband area of the two legs of the pants respectively. b1 The two-dimensional pattern B1 is defined as two subareas, a waistband area B 11 and a leg area B 12 , and the division line L b2 defines the two-dimensional pattern B2 as two subareas, a waistband area B 21 and a leg area B 22 . Wherein, the two-dimensional pattern B1 / B2 is the parent data, and the two subareas defined by the division line thereon are the child data, which belong to the parent data and inherit the physical properties, thickness and texture of the two-dimensional pattern.

[0167] (2) For each first division line, using a pre-set coordinate conversion tool to map the first division line to the initial three-dimensional model of the pants to generate a second division line;

[0168] Referring to the initial three-dimensional model shown in FIG. 8C, the three-dimensional patterns included in the initial three-dimensional model correspond to the two-dimensional patterns shown in FIG. 8B respectively. The first division line L b1 drawn by the user on the two-dimensional pattern B1 is mapped to the initial three-dimensional model to correspond to the second division line L' b1 , and the first division line Lb2 mapping to the initial three-dimensional model corresponding to the second split line L’ b2 .

[0169] (3) determining the three-dimensional sheet where the second split line is located, and cutting the three-dimensional sheet into a plurality of sub-regions by using a three-dimensional cutting tool, and setting each sub-region as an independent control unit;

[0170] As shown in one of the cutting processing triggered interaction modes in FIG. 8D, after obtaining the second split line, the object simulation system is triggered to perform sheet cutting processing along the second split line by checking the option of splitting the sheet. After the three-dimensional sheet cutting processing, the waistband area of the trousers on the three-dimensional model includes two independent control units, and the three-dimensional sheet areas corresponding to the two control units jointly constitute the waistband area of the trousers on the three-dimensional model. The left leg and the right leg correspond to an independent control unit respectively. That is, after the second split line L’ b1 and L’ b2 , the three-dimensional sheet corresponding to each leg of the trousers is divided into two independent control units.

[0171] (4) in the case where a physical property modification operation for at least one control unit is detected, after the physical property modification operation is executed, obtaining the new physical property of the control unit.

[0172] Referring to the attribute editing interface of any control unit of the waistband area shown in FIG. 8E, the attribute editing interface can display the current fabric type and the current physical property of the selected control unit, and can also display a plurality of preset fabric icons (such as the double yarn sweat cloth, fabric 1, shake grain, default fabric, and pleated fabric shown in the figure) in a specified display area. Each fabric icon is associated with a specific type of physical property. When the user selects the icon of the pleated fabric in FIG. 8E, the physical property corresponding to the pleated fabric is displayed in the attribute editing window. The attribute editing interface supports the user to manually adjust the physical property associated with the preset fabric icon.

[0173] The icon dragging event listener is set based on the various fabric icons displayed in the attribute editing interface in advance. The user can apply the physical attribute of the fabric icon to the control unit to which the release position belongs by dragging any fabric icon to the area of any control unit on the initial three-dimensional model and releasing, thereby quickly modifying the physical attribute of the control unit. As shown in FIG. 8E, the waist area marker color is consistent with the fabric icon of the pleated fabric, that is, the user modifies the physical attribute of the control unit of the waist area by dragging the fabric icon of the pleated fabric and releasing in the area of the control unit of the waist area. And since the waist area includes two control units, the user can simultaneously select the two control units, apply the physical attribute of the pleated fabric to the selected two control units when dragging the fabric icon of the pleated fabric to any position of the waist area, and realize batch modification under one dragging operation.

[0174] Alternatively, as shown in the interactive interface diagram of FIG. 8E, the two-dimensional pattern B1 is defined as a waist area B11 and a leg area B12 based on the split line Lb1, and the two-dimensional pattern B2 is defined as a waist area B21 and a leg area B22 based on the split line Lb2. Corresponding to the two partitions on each two-dimensional pattern to the initial three-dimensional model, the waist areas B11 and B21 correspond to the two control units of the waist area on the three-dimensional model, and the leg areas B12 and B22 correspond to the control units set for the left leg and the right leg, respectively. That is, the partitions on the two-dimensional pattern correspond one-to-one to the control units on the initial three-dimensional model.

[0175] Therefore, the user can trigger the attribute editing interface of the control unit corresponding to the partition on the two-dimensional pattern by performing the interactive operation of triggering attribute modification on the partition on the two-dimensional pattern or the interactive operation of triggering attribute modification on the control unit on the initial three-dimensional model, so as to facilitate the user to input attribute modification on the current physical attribute of the control unit displayed in the attribute editing interface.

[0176] (5) According to the new physical attribute of the control unit where the attribute modification occurs, the updated target three-dimensional model is re-simulated and generated.

[0177] In order to reduce the obvious joint or unnatural transition of the transition area between the control unit where the attribute modification occurs and its adjacent area, the transition smoothing processing is applied to the transition area between the control unit and its adjacent area based on the difference of different physical attributes at the edge of the transition area.

[0178] For example, referring to Fig. 8E, after the physical property of the waistband region on the target three-dimensional model is changed to the physical property associated with the pleated fabric, the two control units of the waistband region are adjacent, and the joint between the two control units can be smoothed by the texture edge difference of the two control units to generate a joint region that smoothly connects the textures of the two control units.

[0179] (6) After generating the updated target three-dimensional model, in order to improve the simulation effect of the control unit where the property modification occurs, user feedback information is received, and the physical property and simulation effect of the corresponding control unit are continuously corrected according to the user feedback information.

[0180] Referring to the pleating effect correction diagram shown in Fig. 8F, the physical property of the control unit on the waistband region is continuously corrected. For example, the user is not satisfied with the physical property of the effect diagram marked with "X" in the figure, and continuously provides user feedback information until the simulation effect corresponding to the adjusted physical property matches the effect marked with a check mark.

[0181] In the above embodiment, the physical property can include the plate thickness information. During three-dimensional simulation, the object simulation system considers the influence of the plate thickness on the three-dimensional simulation effect when performing three-dimensional simulation according to the modified physical property, thereby enhancing the realism and naturalness of the simulation.

[0182] In addition, for the method described in any of the foregoing embodiments, when the user performs an interactive operation on the two-dimensional plate, the interactive operation can be automatically synchronized to the three-dimensional model and provide a preview effect. For example, the user clicks any sub-area on the two-dimensional plate, and the control unit corresponding to the sub-area in the three-dimensional plate can be marked on the three-dimensional model.

[0183] In the embodiments of the present disclosure, the above steps are used to achieve independent control of different regions corresponding to the same three-dimensional plate on the three-dimensional model, and different simulation effects presented on the same plate due to different processes can be flexibly controlled, so that the three-dimensional simulation is more consistent with the effect simulation affected by the process in reality under the condition of meeting the production plate requirements.

[0184] Corresponding to the embodiments of the object simulation method described above, referring to FIG. 9, the application further provides an embodiment of an object simulation device applied to an object simulation system, an interactive interface of the object simulation system respectively displaying a two-dimensional version of a target object and an initial three-dimensional model of the target object; the device comprises: a mapping module 901 configured to, in a case where it is detected that at least one two-dimensional version of a target object is provided with a first division line, map the first division line to an initial three-dimensional model of the target object to obtain a second division line; a division module 902 configured to divide a three-dimensional version of the initial three-dimensional model on which the second division line is located into independent control units; an attribute modification module 903 configured to, in response to detecting an attribute modification event for any control unit, acquire a modified physical attribute of the control unit; and a re-simulation module 904 configured to re-simulate the control unit according to the modified physical attribute to generate an updated target three-dimensional model.

[0185] In some embodiments, the attribute modification module is specifically configured to: in a case where an attribute editing trigger event for any control unit is detected, display an attribute editing interface of the control unit, the attribute editing interface comprising different types of fabric icons; each type of fabric icon corresponds to a category of physical attributes; in a case where an icon dragging event for the fabric icon is listened to, if a release position of the dragged fabric icon is located within a region of any control unit, the attribute modification event is triggered, and a physical attribute corresponding to the dragged fabric icon is acquired as a modified physical attribute of the control unit at the release position.

[0186] In some embodiments, the attribute modification module is specifically configured to: in a case where an icon dragging event for the fabric icon is listened to, in a case where it is detected that a plurality of control units are simultaneously selected by a user, a physical attribute corresponding to the dragged fabric icon is acquired as a modified physical attribute of the plurality of control units.

[0187] In some embodiments, the device further comprises: in a case where it is detected that at least one two-dimensional version of a target object is provided with a first division line, for the two-dimensional version, the two-dimensional version is divided into a plurality of closed sub-versions according to the first division line; and the closed sub-versions correspond one by one to control units on the initial three-dimensional model.

[0188] In some embodiments, the attribute modification module is specifically configured to: in the case of detecting an attribute editing trigger event for a set region, display an attribute editing interface of the set region, the attribute editing interface showing the current physical attribute of the set region; the set region includes any of the control units or any of the closed split plates; receiving attribute modification input of a user on the attribute editing interface, and updating the attribute editing interface in real time; in response to receiving an attribute modification confirmation instruction, triggering the attribute modification event, and obtaining the modified physical attribute of the set region.

[0189] In some embodiments, the mapping module is specifically configured to: obtain two-dimensional coordinate information of the first split line on the two-dimensional plate; convert the two-dimensional coordinate information into three-dimensional coordinate information in a three-dimensional coordinate system in which the initial three-dimensional model is located according to a preset coordinate conversion method; and create the second split line on the initial three-dimensional model according to the three-dimensional coordinate information.

[0190] In some embodiments, the splitting module is specifically configured to: determine a three-dimensional plate in which the second split line is located according to the boundary position of the plate boundary of the two-dimensional plate in which the first split line is located on the initial three-dimensional model; and cut the three-dimensional plate along the second split line to obtain a plurality of independent control units.

[0191] In some embodiments, the re-simulation module is specifically configured to: in response to receiving a simulation instruction, re-simulate the control unit in which the attribute is modified according to the modified physical attribute; obtain the simulation result of the initial three-dimensional model except the control unit in which the attribute is modified, and combine the control unit generated by the re-simulation to generate the target three-dimensional model.

[0192] In some embodiments, the re-simulation module is specifically configured to: in response to receiving a simulation instruction, re-simulate the target object according to the modified physical attribute and the physical attribute of other regions of the initial three-dimensional model except the control unit in which the attribute is modified, to generate the target three-dimensional model.

[0193] In some embodiments, the re-simulation module for generating a target three-dimensional model further includes: for each control unit in which the physical attribute is modified, performing transition smoothing processing on the transition region between the control unit and its adjacent region according to the difference in physical attribute between the two regions, to obtain the target three-dimensional model.

[0194] In some embodiments, the device further comprises: after generating the target three-dimensional model, receiving feedback information of an effect diagram of a control unit for which a physical attribute on the target three-dimensional model is modified by a user, the feedback information being used to indicate a modification manner of the physical attribute; adjusting the physical attribute of the control unit according to the feedback information, and re-simulating to generate an adjusted target three-dimensional model.

[0195] In some embodiments, the device further comprises: a split line adding module, configured to add an initial split line to a two-dimensional version selected by a user in a split line setting mode; the initial split line is provided with a plurality of control points; a split line adjusting module, configured to listen to an adjusting operation of a control point on the initial split line by a user, and adjust a shape of the initial split line; a first split line determining module, configured to determine the adjusted initial split line as the first split line when a first confirmation instruction is received.

[0196] In some embodiments, the split line adding module is specifically configured to: display a plurality of preset initial split lines on an interactive interface; and in response to detecting a split line selection operation of the interactive interface, apply an initial split line selected by a user to the two-dimensional version selected by the user.

[0197] In some embodiments, the split line adding module is specifically configured to: display a plurality of preset initial split lines on an interactive interface; and in response to detecting a split line icon dragging event, if a release position of the split line icon is located within a two-dimensional version area, obtain an initial split line corresponding to the split line icon; and apply the initial split line to the two-dimensional version selected by the user according to the release position.

[0198] In some embodiments, the split line adding module is specifically configured to: in response to detecting that a user clicks a drawing tool, track a path of a user input drawing split line in real time; and in response to receiving a completion drawing instruction, display a drawn split line, and determine the drawn split line as the initial split line.

[0199] In some embodiments, the physical attribute of the control unit at least includes at least one of a tensile strength, a bending strength, a deformation strength, a grammage and a thickness of a version corresponding to the control unit; wherein the tensile strength includes a warp tensile strength, a weft tensile strength and an oblique tensile strength.

[0200] The implementation process of the functions and roles of each unit in the above device is specifically described in the implementation process of the corresponding steps in the above method, which will not be repeated here.

[0201] The electronic device 1000 includes at least one processor 1001, a memory 1002, and a bus 1003, the at least one processor 1001 is electrically connected with the memory 1002; the memory 1002 is configured to store at least one computer executable instruction, and the processor 1001 is configured to execute the at least one computer executable instruction, so as to perform the steps of any one of the object simulation methods provided in any one of the embodiments or any one of the optional implementation manners.

[0202] Further, the processor 1001 can be an FPGA (Field-Programmable Gate Array, field programmable gate array) or other devices with logic processing capability, such as an MCU (Microcontroller Unit, microcontroller unit) or a CPU (Central Process Unit, central processing unit).

[0203] The embodiments of the present application further provide another readable storage medium storing a computer program, the computer program is used to implement the steps of any one of the object simulation methods provided in any one of the embodiments or any one of the optional implementation manners when executed by a processor.

[0204] The readable storage medium provided by the embodiments of the present application includes but is not limited to any type of disk (including a floppy disk, a hard disk, an optical disk, a CD-ROM, and a magneto-optical disk), a ROM (Read-Only Memory, read-only memory), a RAM (Random Access Memory, random access memory), an EPROM (Erasable Programmable Read-Only Memory, erasable programmable read-only memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory, electrically erasable programmable read-only memory), a flash memory, a magnetic card or an optical card. That is, the readable storage medium includes any medium that stores or transmits information in a form readable by a device (for example, a computer).

[0205] The above only describes the preferred embodiments of the present application and is not used to limit the present application, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. An object simulation method characterized by, The method is applied to an object simulation system, an interactive interface of the object simulation system respectively displays a two-dimensional version of a target object and an initial three-dimensional model of the target object, and the method comprises the following steps: In a case where it is detected that at least one two-dimensional version of the target object is provided with a first split line, the first split line is mapped onto the initial three-dimensional model of the target object to obtain a second split line; A three-dimensional version on which the second split line is located on the initial three-dimensional model is segmented, and each region segmented is respectively set as an independent control unit; In response to detection of an attribute modification event for any control unit, a physical attribute of the control unit after modification is acquired; According to the physical attribute after modification, the control unit is re-simulated to generate an updated target three-dimensional model.

2. The method of claim 1, wherein, In response to detection of an attribute modification event for any control unit, a physical attribute of the control unit after modification is acquired, comprising: In a case where an attribute editing trigger event for any control unit is detected, an attribute editing interface of the control unit is displayed, and different types of fabric icons are included in the attribute editing interface; each fabric icon corresponds to a type of physical attribute; In a case where an icon dragging event for the fabric icon is listened to, if a release position of the dragged fabric icon is located in a region of any control unit, the attribute modification event is triggered, and a physical attribute corresponding to the dragged fabric icon is acquired as a physical attribute of the control unit after modification at the release position.

3. The method of claim 2, wherein, In a case where an icon dragging event for the fabric icon is listened to, the method further comprises: In a case where it is detected that a user simultaneously selects multiple control units, a physical attribute corresponding to the dragged fabric icon is acquired as a physical attribute of the multiple control units after modification.

4. The method of claim 1, wherein, In a case where it is detected that at least one two-dimensional version of the target object is provided with a first split line, the method further comprises: For the two-dimensional version, the two-dimensional version is segmented into multiple closed sub-versions according to the first split line; the closed sub-versions correspond to the control units on the initial three-dimensional model one by one.

5. The method according to claim 1 or 4, characterized in that, The response to detection of an attribute modification event for any control unit to acquire a physical attribute of the control unit after modification comprises: In a case where an attribute editing trigger event for a set region is detected, an attribute editing interface of the set region is displayed, and a current physical attribute of the set region is displayed in the attribute editing interface; the set region includes any control unit or any closed sub-version; An attribute modification input of a user on the attribute editing interface is received, and the attribute editing interface is updated in real time; In response to receiving an attribute modification confirmation instruction, the attribute modification event is triggered, and a physical attribute of the set region after modification is acquired.

6. The method of claim 1, wherein, The first split line is mapped onto the initial three-dimensional model of the target object to obtain a second split line, comprising: Two-dimensional coordinate information of the first split line on the two-dimensional version is acquired; According to the preset coordinate conversion method, the two-dimensional coordinate information is converted into three-dimensional coordinate information in a three-dimensional coordinate system in which the initial three-dimensional model is located; According to the three-dimensional coordinate information, the second segmentation line is created on the initial three-dimensional model.

7. The method of claim 1, wherein, The three-dimensional sheet on which the second segmentation line is located on the initial three-dimensional model is segmented, and each region obtained by segmentation is set as an independent control unit, including: According to the boundary position of the two-dimensional sheet on which the first segmentation line is located corresponding to the boundary of the two-dimensional sheet, the three-dimensional sheet on which the second segmentation line is located is determined; The three-dimensional sheet is cut along the second segmentation line to obtain a plurality of independent control units.

8. The method of claim 1, wherein, According to the modified physical properties, the control units are re-simulated to generate an updated target three-dimensional model, including: In response to receiving a simulation instruction, the control units whose properties are modified are re-simulated according to the modified physical properties; The simulation results of the initial three-dimensional model except for the control units whose properties are modified are obtained, and combined with the control units generated by re-simulation to generate the target three-dimensional model.

9. The method of claim 1, wherein, According to the modified physical properties, the control units are re-simulated to generate an updated target three-dimensional model, including: In response to receiving a simulation instruction, the target object is re-simulated in three dimensions according to the modified physical properties and the physical properties of other regions in the initial three-dimensional model except for the control units whose properties are modified, to generate the target three-dimensional model.

10. The method according to claim 8 or 9, characterized in that, Generating the target three-dimensional model further includes: For each control unit whose physical property is modified, the transition region between the control unit and its adjacent region is transitionally smoothed according to the difference in physical properties between the two regions to obtain the target three-dimensional model.

11. The method of claim 1, wherein, After generating the target three-dimensional model, the method further includes: Receiving feedback information of the effect diagram of the control unit whose physical property is modified on the target three-dimensional model by the user, the feedback information being used to indicate the modification method of the physical property; According to the feedback information, the physical property of the control unit is adjusted, and an adjusted target three-dimensional model is re-simulated.

12. The method of claim 1, wherein, The method further includes setting a first segmentation line, specifically including: In the case of being in a segmentation line setting mode, an initial segmentation line is added to the two-dimensional sheet selected by the user; the initial segmentation line is provided with a plurality of control points; Listening to the adjustment operation of the user on the control points on the initial segmentation line to adjust the shape of the initial segmentation line; In the case of receiving a first confirmation instruction, the adjusted initial segmentation line is determined as the first segmentation line.

13. The method of claim 12, wherein, The method further includes setting a first segmentation line, specifically including: Displaying a plurality of preset initial segmentation lines on the interactive interface; In response to detecting a segmentation line selection operation of the interactive interface, applying the initial segmentation line selected by the user to the two-dimensional sheet selected by the user.

14. The method of claim 12, wherein, The adding the initial split line determined by the user to the two-dimensional plate selected by the user in the split line setting mode comprises: Displaying a plurality of preset initial split lines on an interactive interface; In the case of listening to the split line icon drag event, if the release position of the split line icon is located within the two-dimensional plate area, the initial split line corresponding to the split line icon is obtained; According to the release position, the initial split line is applied to the two-dimensional plate selected by the user.

15. The method of claim 12, wherein, The adding the initial split line determined by the user to the two-dimensional plate selected by the user in the split line setting mode comprises: In response to detecting that the user clicks on the drawing tool, the path of the user input drawing split line is tracked in real time; In the case of receiving a complete drawing instruction, the completed split line is displayed and determined as the initial split line.

16. The method of claim 1, wherein, The physical properties of the control unit include at least one of the tensile strength, bending strength, deformation strength, grammage and thickness of the plate corresponding to the control unit; wherein the tensile strength includes warp tensile strength, weft tensile strength and oblique tensile strength.

17. An object simulation device, characterized by Applied to an object simulation system, the interactive interface of the object simulation system displays a two-dimensional plate of a target object and an initial three-dimensional model of the target object; the device comprises: A mapping module is configured to, in the case of detecting that at least one two-dimensional plate of a target object is provided with a first split line, map the first split line to the initial three-dimensional model of the target object to obtain a second split line; A splitting module is configured to split the three-dimensional plate on which the second split line is located on the initial three-dimensional model, and set each region obtained by the splitting as an independent control unit; An attribute modification module is configured to, in response to detecting an attribute modification event for any control unit, obtain the modified physical attribute of the control unit; A re-simulation module is configured to re-simulate the control unit according to the modified physical attribute to generate an updated target three-dimensional model.

18. An electronic device, comprising: Comprise: Memory, processor; The memory is used to store a computer program; The processor is used to call the computer program to realize the method of any one of claims 1-16.

19. A readable storage medium, having stored thereon a computer program, characterized in that, The program is executed by the processor to realize the method of any one of claims 1-16.

Citation Information

Patent Citations

  • 3D virtual costume design customization method and customization system

    CN107481095A

  • A garment customization method and system

    CN109544274A

  • Medical image segmentation method and device, computer equipment and storage medium

    CN109872333A

  • 3D simulation modeling method suitable for wool knitted product

    CN113221323A