Side panel design surface model generation method, device, equipment and storage medium
Through the methods of surface replacement and line replacement, the side-circumference design surface model is updated based on the side-circumference design surface and preset surface model, which solves the problem that the model needs to be re-established when it fails to pass the verification in the prior art, and improves the construction efficiency.
Patent Information
- Application Number
- CN202210754441.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-06-29
AI Technical Summary
In the prior art, when the side design surface model fails to pass the verification, the model needs to be re-established, resulting in long time and low work efficiency.
By determining the face data and line data to be updated based on the side design surface and the preset surface model, surface replacement and line replacement are performed, preset surface model is updated, and side design surface model is generated.
The construction efficiency of the side-circle design surface model is improved, the steps of re-establishing the model are avoided, and the work efficiency is improved.
Smart Images

Figure CN115146380B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a side panel design surface model generation method, device, equipment and storage medium. Background Art
[0002] When developing the interior side design of a vehicle, it is necessary to first model the side design surface to obtain a side design surface model. After the feasibility of the side design surface model is verified, physical production can be carried out. In this process, if the verification fails, the model needs to be modified. At this time, the model needs to be rebuilt according to the structural section, which takes a long time and has low work efficiency.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a side panel design surface model generation method, device, equipment and storage medium, aiming to solve the technical problem in the prior art that when the side panel design surface model fails to pass the verification, the model needs to be re-established, which takes a long time.
[0005] To achieve the above object, the present invention provides a method for generating a side panel design surface model, the method comprising the following steps:
[0006] Determine the surface data and line data to be updated according to the side design surface and the preset surface model;
[0007] The corresponding model surface data in the preset surface model is updated according to the surface data to be updated to obtain a surface replacement model;
[0008] The corresponding stop line data in the surface replacement model is updated according to the line data to be updated to obtain a side enclosure design surface model corresponding to the side enclosure design surface.
[0009] Optionally, before determining the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model, the method further includes:
[0010] Generate the initial surface according to the flanging data of the door stop;
[0011] Determine the surface offset value and surface offset direction according to the initial design surface data;
[0012] The initial surface is offset in the surface offset direction by the surface offset value to obtain a reference surface corresponding to the door stop;
[0013] A preset surface model is generated according to the reference surface and the initial design surface data.
[0014] Optionally, generating a preset surface model according to the reference surface and the initial design surface data includes:
[0015] Determine the line offset value and the line offset direction according to the initial design surface data;
[0016] The target boundary line in the reference plane is offset by the line offset value in the line offset direction to obtain an end line corresponding to the reference plane;
[0017] A preset surface model is generated according to the end line and the initial design surface data.
[0018] Optionally, generating a preset surface model according to the end line and the initial design surface data includes:
[0019] Determine the demoulding angle and demoulding direction corresponding to each end line according to the initial design surface data;
[0020] Generate a main design surface according to the demoulding angle, the demoulding direction and the corresponding end line;
[0021] Generate an angular surface according to the angular surface data determined by the initial design surface data;
[0022] A preset surface model is generated according to the main design surface and the angular surface.
[0023] Optionally, generating an angular surface according to the angular surface data determined according to the initial design surface data comprises:
[0024] Determine the corner surface data according to the initial design surface data, and determine the corner end line according to the corner surface data;
[0025] An edge face is generated according to the edge end line.
[0026] Optionally, the determining the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model includes:
[0027] Compare the side panel design surface with the preset surface model;
[0028] The difference data is determined according to the comparison result, and the surface data to be updated and the line data to be updated are determined according to the difference data.
[0029] Optionally, updating the corresponding stop line data in the surface replacement model according to the line data to be updated to obtain a side enclosure design surface model corresponding to the side enclosure design surface includes:
[0030] The corresponding stop line data in the surface replacement model is updated according to the line data to be updated, and the data is refreshed when the data update is completed;
[0031] When the data refresh is completed, a side panel design surface model corresponding to the side panel design surface is obtained.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also provides a side panel design surface model generation device, the device comprising:
[0033] A determination module, used to determine the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model;
[0034] A first updating module, configured to update corresponding model surface data in the preset surface model according to the surface data to be updated, so as to obtain a surface replacement model;
[0035] The second updating module is used to update the corresponding stop line data in the surface replacement model according to the line data to be updated, so as to obtain a side enclosure design surface model corresponding to the side enclosure design surface.
[0036] In addition, to achieve the above-mentioned purpose, the present invention also proposes a side panel design surface model generation device, which includes: a memory, a processor, and a side panel design surface model generation program stored in the memory and executable on the processor, and the side panel design surface model generation program is configured to implement the steps of the side panel design surface model generation method described above.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a side panel design surface model generation program is stored. When the side panel design surface model generation program is executed by a processor, the steps of the side panel design surface model generation method described above are implemented.
[0038] The present invention determines the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model; updates the corresponding model surface data in the preset surface model according to the surface data to be updated to obtain a surface replacement model; updates the corresponding stop line data in the surface replacement model according to the line data to be updated to obtain a side design surface model corresponding to the side design surface. When the preset surface model needs to be modified, the present invention updates the corresponding model surface data and stop line data in the preset surface model according to the surface data to be updated and the line data to be updated respectively to obtain a side design surface model corresponding to the side design surface, without re-establishing the model, and can obtain the side design surface model by updating the original model through surface replacement and line replacement, thereby improving the construction efficiency of the side design surface model. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a structural schematic diagram of a side panel design surface model generation device in a hardware operating environment involved in an embodiment of the present invention;
[0040] Figure 2It is a schematic diagram of the process of the first embodiment of the method for generating a side panel design surface model of the present invention;
[0041] Figure 3 A schematic diagram of a preset surface model constructed according to a side enclosure design surface corresponding to a front door stop in an embodiment of a side enclosure design surface model generation method of the present invention;
[0042] Figure 4 It is a schematic flow chart of a second embodiment of the method for generating a side panel design surface model of the present invention;
[0043] Figure 5 A schematic diagram of flange data and a reference surface in accordance with an embodiment of a method for generating a side panel design surface model according to the present invention;
[0044] Figure 6 A schematic diagram of an end line of an embodiment of a method for generating a side panel design surface model according to the present invention;
[0045] Figure 7 A schematic diagram of a main design surface of an embodiment of a method for generating a side panel design surface model of the present invention;
[0046] Figure 8 A schematic diagram of spatial coordinates of a construction model of an embodiment of a side panel design surface model generation method of the present invention;
[0047] Fig. 9 It is a structural block diagram of the first embodiment of the side panel design surface model generating device of the present invention.
[0048] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0050] Reference Figure 1 , Figure 1 A schematic diagram of a device structure for generating a side panel design surface model for a hardware operating environment involved in an embodiment of the present invention.
[0051] like Figure 1As shown, the side design surface model generation device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0052] Those skilled in the art will understand that Figure 1 The structure shown in does not constitute a limitation on the side panel design surface model generating device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0053] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a side design surface model generation program.
[0054] exist Figure 1 In the side panel design surface model generating device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the side panel design surface model generating device of the present invention can be set in the side panel design surface model generating device, and the side panel design surface model generating device calls the side panel design surface model generating program stored in the memory 1005 through the processor 1001, and executes the side panel design surface model generating method provided by the embodiment of the present invention.
[0055] The embodiment of the present invention provides a method for generating a side design surface model, referring to Figure 2 , Figure 2 It is a schematic flow chart of the first embodiment of the method for generating a side panel design surface model of the present invention.
[0056] In this embodiment, the side panel design surface model generation method includes the following steps:
[0057] Step S10: determining the surface data and line data to be updated according to the side design surface and the preset surface model.
[0058] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a side panel design surface model generation device, etc. The following takes the side panel design surface model generation device (referred to as the model generation device) as an example to illustrate this embodiment and the following embodiments.
[0059] It can be understood that the side panel design surface can be a design surface corresponding to the vehicle body stop, and the vehicle body stop includes the front door stop, the rear door stop, etc. The present embodiment is illustrated by taking the side panel design surface corresponding to the front door stop as an example; the preset surface model can be a pre-constructed side panel design surface model corresponding to the front door stop. If the data of the front door stop changes, the side panel design surface model corresponding to the changed front door stop can be obtained by replacing the corresponding data in the preset surface model.
[0060] It should be understood that the surface data to be updated may be data of changes in the side panel design surface relative to the model surface in the preset surface model; the line data to be updated may be data of changes in the side panel design surface relative to the model line in the preset surface model.
[0061] In a specific implementation, the model generation device obtains the design surface data of the side panel design surface and the model data of the preset surface model, and determines the surface data and line data of the side panel design surface that have changed relative to the preset surface model based on the design surface data and the model data.
[0062] Step S20: updating the corresponding model surface data in the preset surface model according to the surface data to be updated to obtain a surface replacement model.
[0063] It can be understood that the surface replacement model can be a model obtained by replacing the data of the model surface that has changed in the preset surface model with the surface data to be updated.
[0064] Step S30: updating the corresponding stop line data in the surface replacement model according to the line data to be updated, and obtaining a side panel design surface model corresponding to the side panel design surface.
[0065] In this embodiment, the corresponding model surface data in the preset surface model is first replaced according to the surface data to be updated to obtain a surface replacement model, and then the corresponding stop line data in the surface replacement model is replaced according to the line data to be updated to obtain a side panel design surface model corresponding to the side panel design surface.
[0066] In a specific implementation, a preset surface model N is constructed according to the side panel design surface M1 corresponding to the front door stop M. The preset surface model can be referred to Figure 3 , Figure 3 The schematic diagram of the preset surface model constructed according to the side design surface corresponding to the front door stop, assuming that the side design surface M1 corresponding to the front door stop needs to be modified, the modified content is the B-pillar design surface FS04 and the angular surfaces FS08 and FS09 corresponding to FS04, and the angular end lines FC08 and FC09 corresponding to FS04, and the modified side design surface is set to M2, then the surface data to be updated and the line data to be updated are determined according to the data difference between M2 and B, and the corresponding model surface data in the preset surface model is first updated according to the surface data to be updated to replace the corresponding model surface data in the preset surface model. The surface FS04, FS08 and FS09 are used to obtain the surface replacement model, and then the corresponding stop line data in the surface replacement model is updated according to the line data to be updated to replace the corresponding stop lines FC08 and FC09 in the preset surface model, so as to obtain the side panel design surface model corresponding to the modified side panel design surface, and complete the construction of the new model. Assuming that the side panel design surface still needs to be modified later, the corresponding model surface data and stop line data can be replaced based on the preset surface model, or can be replaced based on the side panel design surface model, which can be determined according to the actual situation, and this embodiment is not limited here.
[0067] Furthermore, in order to determine the surface data and line data to be updated, the step S10 includes: comparing the side design surface with the preset surface model; determining difference data according to the comparison result, and determining the surface data and line data to be updated according to the difference data.
[0068] It can be understood that comparing the side panel design surface with the preset surface model can be comparing the data of the side panel design surface with the data of the preset surface model to determine the difference data between the side panel design surface and the preset surface model; the difference data can be the data of the side panel design surface changed relative to the preset surface model, and the difference data includes surface data and line data, the surface data is the surface data to be updated, and the line data is the line data to be updated.
[0069] In a specific implementation, it is assumed that the model generating device compares the side panel design surface with the preset surface model and determines that the difference data is data corresponding to FS04, FS08, FS09, FC08 and FC09, then the model surface corresponding to the surface data to be updated determined according to the difference data is FS04, FS08 and FS09, and the stop line corresponding to the line data to be updated determined according to the difference data is FC08 and FC09.
[0070] Furthermore, in order to improve the construction efficiency of the side panel design surface model, the step S30 includes: updating the corresponding stop line data in the surface replacement model according to the line data to be updated, and refreshing the data when the data update is completed; when the data refresh is completed, obtaining the side panel design surface model corresponding to the side panel design surface.
[0071] In a specific implementation, the model generation device updates the corresponding stop line data in the surface replacement model according to the line data to be updated, and completes the replacement of the corresponding data in the preset surface model. At this time, a data refresh operation is performed to obtain the side panel design surface model.
[0072] This embodiment determines the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model; updates the corresponding model surface data in the preset surface model according to the surface data to be updated to obtain a surface replacement model; updates the corresponding stop line data in the surface replacement model according to the line data to be updated to obtain a side design surface model corresponding to the side design surface. When the preset surface model needs to be modified, this embodiment updates the corresponding model surface data and stop line data in the preset surface model according to the surface data to be updated and the line data to be updated, respectively, to obtain a side design surface model corresponding to the side design surface, without the need to re-establish the model, and can obtain the side design surface model by updating the original model through surface replacement and line replacement, thereby improving the construction efficiency of the side design surface model.
[0073] refer to Figure 4 , Figure 4 It is a flow chart of the second embodiment of the method for generating a side panel design surface model of the present invention.
[0074] Based on the first embodiment above, in this embodiment, before step S10, the method further includes:
[0075] Step S01: generating an initial surface according to the flange data of the door stop.
[0076] It can be understood that the initial surface can be the surface in the side panel design surface corresponding to the flange of the door stop; generating the initial surface according to the flange data of the door stop can be generating the corresponding surface according to the flange data of the front door stop, which is the initial surface in the side panel design surface.
[0077] Step S02: Determine the surface offset value and surface offset direction according to the initial design surface data.
[0078] It can be understood that the initial design surface data may be model data corresponding to the initial side panel design surface; the surface offset value may be the value of the initial surface offset; and the surface offset direction may be the direction of the initial surface offset.
[0079] Step S03: offset the initial surface in the surface offset direction by the surface offset value to obtain a reference surface corresponding to the door stop.
[0080] Step S04: generating a preset surface model according to the reference surface and the initial design surface data.
[0081] It can be understood that the preset surface model includes a reference surface, a main design surface and an edge surface. The main design surface and the edge surface can also be generated according to the initial design surface data, and the preset surface model is generated according to the reference surface, the main design surface and the edge surface.
[0082] Furthermore, in order to improve the generation efficiency of the side panel design surface model, the step S04 includes: determining a line offset value and a line offset direction based on the initial design surface data; offsetting the target boundary line in the reference plane by the line offset value in the line offset direction to obtain an end line corresponding to the reference plane; and generating a preset surface model based on the end line and the initial design surface data.
[0083] It can be understood that the target boundary line can be the boundary line on the inner side of the reference plane, and the end line can be the line obtained after the target boundary line is offset by the line offset value in the line offset direction, and the end lines include the upper end line (corresponding to the ceiling part), the lower end line (corresponding to the front sill guard plate part), the first front end line (corresponding to the A-pillar upper guard plate part), the second front end line (corresponding to the A-pillar lower guard plate part) and the rear end line (corresponding to the B-pillar upper and lower guard plate parts); the line offset value can be the offset value of the target boundary line; the line offset direction can be the offset direction of the target boundary line.
[0084] In a specific implementation, the model generating device determines the line offset direction and line offset value of the inner boundary line of the reference surface according to the initial design surface data, offsets the inner boundary line in the line offset direction by the line offset value, obtains the upper end line, the lower end line, the first front end line, the second front end line and the rear end line, and generates a preset surface model according to the above end lines and the initial design surface data.
[0085] Furthermore, in order to improve the generation efficiency of the side panel design surface model, the preset surface model is generated according to the end line and the initial design surface data, including: determining the demoulding angle and demoulding direction corresponding to each end line according to the initial design surface data; generating a main design surface according to the demoulding angle, the demoulding direction and the corresponding end line; generating an angular surface according to the angular surface data determined by the initial design surface data; and generating a preset surface model according to the main design surface and the angular surface.
[0086] It can be understood that the demoulding direction includes an upper demoulding angle, a lower demoulding angle, a front demoulding angle and a rear demoulding angle; the demoulding angle can be the angle at which the main design surface is offset relative to the coordinate axis; the main design surface includes multiple design surfaces, and the upper end line, the lower end line, the first front end line, the second front end line and the rear end line each correspond to a main design surface; generating the main design surface according to the demoulding angle, the demoulding direction and the corresponding end line can be generating the main design surface corresponding to each end line according to the demoulding angle, the demoulding direction and the surface parameters corresponding to each end line; the angular surface can be the connecting surface between the main design surfaces.
[0087] In a specific implementation, the model generating device determines the demolding angle, demolding direction and surface parameters corresponding to each end line according to the initial design surface data, generates a main design surface based on each end line according to the demolding angle, demolding direction and surface parameters, determines the angular surface connecting the main design surface according to the initial design surface data, and generates a preset surface model according to the angular surface and the main design surface.
[0088] Furthermore, in order to generate an angular surface connecting the main design surface, the angular surface is generated according to the angular surface data determined according to the initial design surface data, including: determining the angular surface data according to the initial design surface data, and determining the angular end line according to the angular surface data; generating the angular surface according to the angular end line.
[0089] It can be understood that the corner end line can be the starting line of the corner surface; the model generation device uses the corner end line as the starting line to generate the corner surface connecting the main design surfaces.
[0090] In the specific implementation, refer to Figure 3 , Figure 5 , Figure 6 and Figure 7 , Figure 5 Schematic diagram of flange data and reference surface. Figure 6 is a schematic diagram of the terminal line. Figure 7It is a schematic diagram of the main design surface; the model generation device generates an initial surface FS00 according to the flanging data FC00, determines the surface offset direction as the vertical direction of the initial surface according to the initial design surface data, and the surface offset value is 12.73mm, then FS00 is offset by 12.73mm in the vertical direction of the initial surface to obtain the reference surface FS01, the line offset value determined according to the initial design surface data is 1mm, and the line offset direction is offset on the reference surface, the model generation device offsets the boundary line on the inner side of the reference surface on FS01 by 1mm, and obtains the upper end line FC02, the lower end line FC03, the rear end line FC04, the first front end line FC05 and the first rear end line FC06, and the main design surface FS02 is manufactured from the upper end line FC02 according to the upper demoulding angle, the demoulding angle based on the Y axis is 7 degrees, and the surface parameter is a; from the lower end line FC03, according to the lower demoulding angle, the demoulding angle based on the Y axis is 7 degrees. The main design surface FS03 is 5 degrees and the surface parameter a; from the rear end line FC04, the main design surface FS04 is produced according to the rear demoulding angle, the demoulding angle of 7 degrees and the surface parameter a; from the first front end line FC05, the main design surface FS05 is produced according to the front demoulding angle, the demoulding angle of 7 degrees and the surface parameter a; from the second front end line, the main design surface FS06 is produced according to the front demoulding angle, the demoulding angle of 7 degrees and the surface parameter a; according to the initial design surface data, the upper front corner end line FC07, the upper rear corner end line FC08, the lower rear corner end line FC09 and the lower front corner end line FC10 are determined, and the corner surface FS07 is generated from the upper front corner end line FC07, the corner surface FS08 is generated from the upper rear corner end line FC08, the corner surface FS09 is generated from the lower rear corner end line FC09, and the corner surface FS10 is generated from the lower front corner end line FC10. According to the above surfaces and lines, the following are generated: Figure 3 The preset surface model shown; the coordinate system in this embodiment can refer to Figure 8 , Figure 8 A schematic diagram of the spatial coordinates for constructing the model, that is, the spatial coordinate system is constructed with the front-to-back direction as the X-axis, the left-to-right direction as the Y-axis, and the up-down direction as the Z-axis.
[0091] This embodiment generates an initial surface according to the flanged edge data of the door stop; determines a surface offset value and a surface offset direction according to the initial design surface data; offsets the initial surface by the surface offset value in the surface offset direction to obtain a reference surface corresponding to the door stop; generates a preset surface model according to the reference surface and the initial design surface data. This embodiment generates an initial surface according to the flanged edge data of the door stop, constructs a preset surface model according to the initial design surface data and the initial surface, and subsequently generates a side panel design surface model based on the preset surface model, thereby improving the generation efficiency of the side panel design surface model.
[0092] In addition, an embodiment of the present invention further proposes a storage medium, on which a side panel design surface model generation program is stored. When the side panel design surface model generation program is executed by a processor, the steps of the side panel design surface model generation method described above are implemented.
[0093] Reference Fig. 9 , Fig. 9 It is a structural block diagram of the first embodiment of the side panel design surface model generating device of the present invention.
[0094] like Fig. 9 As shown, the side design surface model generation device proposed in the embodiment of the present invention includes:
[0095] A determination module 10, used to determine the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model;
[0096] A first updating module 20, configured to update the corresponding model surface data in the preset surface model according to the surface data to be updated, so as to obtain a surface replacement model;
[0097] The second updating module 30 is used to update the corresponding stop line data in the surface replacement model according to the line data to be updated, so as to obtain a side enclosure design surface model corresponding to the side enclosure design surface.
[0098] This embodiment determines the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model; updates the corresponding model surface data in the preset surface model according to the surface data to be updated to obtain a surface replacement model; updates the corresponding stop line data in the surface replacement model according to the line data to be updated to obtain a side design surface model corresponding to the side design surface. When the preset surface model needs to be modified, this embodiment updates the corresponding model surface data and stop line data in the preset surface model according to the surface data to be updated and the line data to be updated, respectively, to obtain a side design surface model corresponding to the side design surface, without the need to re-establish the model, and can obtain the side design surface model by updating the original model through surface replacement and line replacement, thereby improving the construction efficiency of the side design surface model.
[0099] Based on the first embodiment of the side panel design surface model generating device of the present invention, a second embodiment of the side panel design surface model generating device of the present invention is proposed.
[0100] In this embodiment, the determination module 10 is also used to generate an initial surface according to the flange data of the door stop; determine a surface offset value and a surface offset direction according to the initial design surface data; offset the initial surface by the surface offset value in the surface offset direction to obtain a reference surface corresponding to the door stop; and generate a preset surface model according to the reference surface and the initial design surface data.
[0101] The determination module 10 is further used to determine a line offset value and a line offset direction according to the initial design surface data; offset the target boundary line in the reference surface by the line offset value in the line offset direction to obtain an end line corresponding to the reference surface; and generate a preset surface model according to the end line and the initial design surface data.
[0102] The determination module 10 is also used to determine the demoulding angle and demoulding direction corresponding to each end line according to the initial design surface data; generate a main design surface according to the demoulding angle, the demoulding direction and the corresponding end line; generate an angular surface according to the angular surface data determined by the initial design surface data; and generate a preset surface model according to the main design surface and the angular surface.
[0103] The determination module 10 is further used to determine the angular surface data according to the initial design surface data, and determine the angular end line according to the angular surface data; and generate the angular surface according to the angular end line.
[0104] The determination module 10 is further used to compare the side design surface with the preset surface model; determine difference data according to the comparison result, and determine the surface data and line data to be updated according to the difference data.
[0105] The second updating module 20 is also used to update the corresponding stop line data in the surface replacement model according to the line data to be updated, and refresh the data when the data update is completed; when the data refresh is completed, the side panel design surface model corresponding to the side panel design surface is obtained.
[0106] Other embodiments or specific implementations of the side panel design surface model generation device of the present invention can refer to the above-mentioned method embodiments and will not be described in detail here.
[0107] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0108] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0109] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0110] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for generating a side design surface model, characterized in that: The method comprises: Determine the surface data and line data to be updated according to the side design surface and the preset surface model; The corresponding model surface data in the preset surface model is updated according to the surface data to be updated to obtain a surface replacement model; The corresponding stop line data in the surface replacement model is updated according to the line data to be updated, so as to obtain a side enclosure design surface model corresponding to the side enclosure design surface; Before determining the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model, the method further includes: Generate the initial surface according to the flanging data of the door stop; Determine the surface offset value and surface offset direction according to the initial design surface data; The initial surface is offset in the surface offset direction by the surface offset value to obtain a reference surface corresponding to the door stop; A preset surface model is generated according to the reference surface and the initial design surface data.
2. The method according to claim 1, characterized in that The step of generating a preset surface model according to the reference surface and the initial design surface data comprises: Determine the line offset value and the line offset direction according to the initial design surface data; The target boundary line in the reference plane is offset by the line offset value in the line offset direction to obtain an end line corresponding to the reference plane; A preset surface model is generated according to the end line and the initial design surface data.
3. The method according to claim 2, characterized in that The step of generating a preset surface model according to the end line and the initial design surface data comprises: Determine the demoulding angle and demoulding direction corresponding to each end line according to the initial design surface data; Generate a main design surface according to the demoulding angle, the demoulding direction and the corresponding end line; Generate an angular surface according to the angular surface data determined by the initial design surface data; A preset surface model is generated according to the main design surface and the angular surface.
4. The method according to claim 3, characterized in that The step of generating an angular surface from the angular surface data determined according to the initial design surface data comprises: Determine the corner surface data according to the initial design surface data, and determine the corner end line according to the corner surface data; An edge face is generated according to the edge end line.
5. The method according to any one of claims 1 to 4, characterized in that: The step of determining the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model includes: Compare the side panel design surface with the preset surface model; The difference data is determined according to the comparison result, and the surface data to be updated and the line data to be updated are determined according to the difference data.
6. The method according to any one of claims 1 to 4, characterized in that: The step of updating the corresponding stop line data in the surface replacement model according to the line data to be updated to obtain a side enclosure design surface model corresponding to the side enclosure design surface includes: The corresponding stop line data in the surface replacement model is updated according to the line data to be updated, and the data is refreshed when the data update is completed; When the data refresh is completed, a side panel design surface model corresponding to the side panel design surface is obtained.
7. A device for generating a side design surface model, characterized in that: The device comprises: A determination module, used to determine the surface data to be updated and the line data to be updated according to the side design surface and the preset surface model; A first updating module, configured to update corresponding model surface data in the preset surface model according to the surface data to be updated, so as to obtain a surface replacement model; A second updating module, configured to update the corresponding stop line data in the surface replacement model according to the line data to be updated, so as to obtain a side enclosure design surface model corresponding to the side enclosure design surface; The determination module is also used to generate an initial surface according to the flange data of the door stop; determine a surface offset value and a surface offset direction according to the initial design surface data; offset the initial surface by the surface offset value in the surface offset direction to obtain a reference surface corresponding to the door stop; and generate a preset surface model according to the reference surface and the initial design surface data.
8. A side panel design surface model generation device, characterized in that: The device comprises: a memory, a processor and a side panel design surface model generation program stored in the memory and executable on the processor, wherein the side panel design surface model generation program is configured to implement the steps of the side panel design surface model generation method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium stores a side panel design surface model generation program, and when the side panel design surface model generation program is executed by the processor, the steps of the side panel design surface model generation method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Commodity model updating method and device, computer equipment and storage medium
CN111161024A