A method to establish a new theoretical model based on existing special-shaped surfaces in reality
Through three-dimensional scanning, fitting and filling technology, a theoretical model of special curved surfaces was established, which solved the problem of special curved surface modeling, and achieved high-precision modeling and processing, which was suitable for the construction and mechanical fields of complex surfaces.
Patent Information
- Application Number
- CN202310748045.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-25
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2043-06-25
AI Technical Summary
There are difficulties in modeling and processing of special-shaped curved surfaces, especially in the field of architecture with high accuracy requirements, and existing methods are difficult to achieve accurate modeling and processing.
Point cloud data is obtained through three-dimensional scanning, a triangular network model is generated, and it is fitted and filled, a new theoretical model is established, and a structural feature is combined to layer and dot matrix construction is optimized to improve accuracy.
The simplification and accuracy of special-shaped surface modeling are achieved, ensuring that the theoretical model is exactly matched with the real surface, and improving the accuracy and reliability of modeling.
Smart Images

Figure CN116778113B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of digital modeling, and in particular to a method for establishing a new theoretical model based on existing special-shaped curved surfaces in reality. Background Art
[0002] In engineering, the surface shape of products is basically composed of the following two categories: the first category is composed of elementary analytical surfaces such as planes, spheres, cylinders, and cones. Because of their regular shapes and easy processing, many mechanical, architectural, industrial and other product shapes belong to this category; the second category is not composed of elementary analytical surfaces, but of complex and freely changing curved surfaces, namely the so-called special-shaped surfaces, which often appear in cars, airplanes, ships, and special-shaped buildings.
[0003] Because special-shaped surfaces cannot be expressed by descriptive geometry or mechanical drawing methods, they become a difficult problem for modeling and processing. In the past, the production and processing of precise models of special-shaped surfaces were mostly used in smaller mechanical parts or industrial products. In the field of architecture, although many sculptures have many special-shaped surfaces, the accuracy requirements are not high, and the methods of modeling and processing are relatively easy. As for architectural special-shaped surfaces, because they are often larger in shape, they are more difficult to build than mechanical parts.
[0004] Therefore, the present invention provides a method for establishing a new theoretical model based on existing special-shaped curved surfaces in reality, so as to solve the problems of difficulty in modeling special-shaped curved surfaces and low modeling accuracy. Summary of the invention
[0005] The present invention provides a method for establishing a new theoretical model based on existing special-shaped curved surfaces in reality, which solves the problems of difficulty in modeling special-shaped curved surfaces and low modeling accuracy.
[0006] A method for establishing a new theoretical model based on existing special-shaped surfaces in reality, comprising:
[0007] S1: Performing three-dimensional scanning on an existing special-shaped surface to obtain three-dimensional point cloud data, and generating a triangulated network model based on the three-dimensional point cloud data;
[0008] S2: fitting the triangles in the triangulated network model to obtain a surface model;
[0009] S3: filling the surface model according to the structural features of the existing special-shaped surface to establish a new theoretical model.
[0010] Preferably, in S1, three-dimensional scanning is performed on the existing special-shaped surface to obtain three-dimensional point cloud data, including:
[0011] Performing three-dimensional scanning on the existing special-shaped curved surface by using three-dimensional laser scanning technology to obtain scanning data;
[0012] After preprocessing the scanned data, point cloud conversion parameters of the scanned data are obtained according to the analysis method;
[0013] The scan data is converted into three-dimensional point cloud data using the point cloud conversion parameters.
[0014] Preferably, in S1, generating a triangulated network model based on the three-dimensional point cloud data includes:
[0015] Selecting a plane corresponding to the highest point of the special-shaped curved surface as a reference plane, and dividing the three-dimensional point cloud data into multiple groups of point cloud data according to the distance from the three-dimensional point cloud data to the reference plane;
[0016] Taking groups as units, multiple groups of 3D point cloud data are triangulated to obtain a triangulated network corresponding to each group;
[0017] Based on the group triangulation network, performing inter-group triangulation processing on the plurality of groups of point cloud data to obtain a smooth triangulation network;
[0018] Based on the smoothed triangulated network, a triangulated network model is constructed.
[0019] Preferably, the three-dimensional point cloud data is divided into a plurality of groups of point cloud data according to the distance between the three-dimensional point cloud data and the reference plane, including:
[0020] Obtaining the maximum and minimum values of the distance from the three-dimensional point cloud data to the reference plane, and determining the number of groups and the distance value range corresponding to each group based on the difference between the maximum and minimum values;
[0021] Based on the distance value range, the grouping corresponding to the three-dimensional point cloud data is determined according to the distance from the three-dimensional point cloud data to the reference plane, and a plurality of groups of point cloud data are obtained by division.
[0022] Preferably, in S2, fitting the triangles in the triangulated network model to obtain a surface model includes:
[0023] Acquire the coordinate position of each triangle in the triangulated network model, acquire the shape feature of each triangle based on the coordinate position, and match a first fitting function for each triangle based on the shape feature;
[0024] Based on the first fitting function, performing a first fitting on each triangulated network to obtain a surface triangle;
[0025] Based on the curve features of the surface triangles, a second fitting is performed on the surface triangles to obtain the surface model.
[0026] Preferably, based on the characteristics of the surface triangles, performing a second fitting on the surface triangles to obtain the surface model comprises:
[0027] Acquire the surface features and coordinate position features of the surface triangle, and acquire the associated surface triangle associated with each surface triangle based on the position coordinate features;
[0028] Based on the surface features, determining partial surface features of each surface triangle and its corresponding associated surface triangle, and based on the partial surface features, determining the smoothness and connection features of the connection between each surface triangle and its corresponding associated surface triangle;
[0029] Based on the smoothness, determining the number of insertion points to be inserted into each curved triangle, and based on the connection feature, determining the positions of the insertion points;
[0030] Perform point insertion on the triangular surface according to the number and position of the insertion points to obtain a first surface, and based on the first surface, obtain a partial surface of each surface triangle and its corresponding associated surface triangle;
[0031] Comparing the point number density value of the partial curved surface with a preset threshold value to obtain a number difference, and setting a fitting function of the partial curved surface based on the number difference;
[0032] Acquire structural features of the triangulated network model, and determine the importance of each first curved surface based on the structural features;
[0033] According to the order of the importance from small to large, the partial curved surfaces corresponding to the first curved surface are fitted in sequence according to the fitting function;
[0034] Based on the fitting surface obtained after the partial surface is finally fitted, a fitting result for all surface triangles is obtained;
[0035] Performing a fitting evaluation on the fitting result to determine whether the fitting result meets a preset fitting requirement;
[0036] If yes, a surface model is obtained based on the fitted surface;
[0037] Otherwise, obtain fitting difference information, and based on the fitting difference information, obtain the overall fitting function of the overall surface composed of all the partial surfaces, and fit the overall surface based on the overall fitting function to obtain the fitted overall surface, and based on the fitted overall surface, obtain the surface model.
[0038] Preferably, performing a fitting evaluation on the fitting result to determine whether the fitting result meets a preset fitting requirement includes:
[0039] Based on the fitting result, a number of points are randomly selected from the overall curved surface to obtain deviation values between the number of points and the curved surface;
[0040] Determining whether the fitting smoothness and deviation value are within a preset range;
[0041] If so, determining that the fitting result meets the preset fitting requirement;
[0042] Otherwise, it is determined that the fitting result does not meet the preset fitting requirement.
[0043] Preferably, in S3, the surface model is filled according to the structural features of the existing special-shaped surface to establish a new theoretical model, including:
[0044] According to the structural features of the existing special-shaped curved surface, the special-shaped curved surface is divided into a plurality of components, and model parts corresponding to the plurality of components are obtained from the surface model;
[0045] Based on the model part, the surface model is layered to obtain a layered model;
[0046] Based on the load constraints of the hierarchical model, an isosurface in the hierarchical model is established, and based on the isosurface and its corresponding values, an isosurface density and an isosurface area of the hierarchical model are determined;
[0047] Based on the isosurface density and the isosurface area, constructing a lattice structure implicit function of the hierarchical model;
[0048] Based on the lattice structure implicit function, constructing the hierarchical model to obtain a lattice structure;
[0049] Dividing the lattice structure according to the type of the lattice structure to obtain a coordinate set of lattice structures of the same type;
[0050] Determining whether the coordinate sets are in the same layer of the hierarchical model;
[0051] If so, determining that the filling mode of the model filling corresponding to the coordinate set is consistent;
[0052] Otherwise, dividing the coordinate set according to the layer feature of the layered model in which the coordinate set is located to obtain a plurality of sub-coordinate sets, and determining a filling method of the plurality of sub-coordinate sets based on the layer feature;
[0053] According to the filling method obtained above, the layered model is filled according to the coordinate position to obtain an internal filling model;
[0054] The appearance features of the curved surface model are obtained to generate a surface model, and the surface model is combined with the internal filling to obtain a theoretical model.
[0055] Preferably, after establishing the new theoretical model in S3, the method further includes: optimizing the theoretical model, specifically:
[0056] Based on the material characteristics of the existing special-shaped surface, the theoretical model is discretized using the finite element method to obtain a finite element model;
[0057] Based on the node characteristics of the finite element model, determining the optimization variable range, and performing equal-interval extraction on the optimization variable range according to preset intervals to obtain a plurality of optimization variables;
[0058] Based on the multiple optimization variables, the finite element model is optimized to obtain multiple optimized finite element models;
[0059] Calculating deviation values between the multiple optimized finite element models and the finite element model before optimization;
[0060] Selecting from the multiple optimized finite element models the one with the smallest deviation from the finite element model as the target optimized finite element model;
[0061] Establishing a target surface model corresponding to the target optimized finite element model;
[0062] The target surface model is the result of optimizing the new theoretical model.
[0063] Preferably, calculating the deviation values between the multiple optimized finite element models and the finite element model before optimization includes:
[0064] Based on the structure of the finite element model before optimization, the first coordinate points of the finite element model before optimization are classified to obtain multiple sets of first coordinate points, specifically:
[0065] Acquire the stress and strain of the finite element model of the first coordinate point before the optimization and the coordinate characteristic value of the finite element model of the first coordinate point before the optimization;
[0066] Calculating the structural value of the first coordinate point based on the stress, strain and coordinate eigenvalues of the finite element model before optimization;
[0067] According to a preset structural value grouping requirement, the first coordinate points are grouped according to the structural values of the first coordinate points;
[0068] According to the characteristics of each group, set the deviation limit value for each group;
[0069] Acquire a second coordinate point of the optimized finite element model that matches a first coordinate point of the finite element model before optimization;
[0070] Based on the first coordinate point, the second coordinate point and the deviation limit value of each group, a deviation value between the optimized finite element model and the finite element model before optimization is calculated.
[0071] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0072] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0074] Figure 1 A flow chart of a method for establishing a new theoretical model based on existing special-shaped curved surfaces in reality in an embodiment of the present invention;
[0075] Figure 2 A flowchart of obtaining three-dimensional point cloud data in an embodiment of the present invention;
[0076] Figure 3 The figure is a flow chart of obtaining a surface model in an embodiment of the present invention. DETAILED DESCRIPTION
[0077] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0078] Example 1
[0079] The embodiment of the present invention provides a method for establishing a new theoretical model based on existing special-shaped surfaces in reality, such as Figure 1 As shown, including:
[0080] S1: Performing three-dimensional scanning on an existing special-shaped surface to obtain three-dimensional point cloud data, and generating a triangulated network model based on the three-dimensional point cloud data;
[0081] S2: fitting the triangles in the triangulated network model to obtain a surface model;
[0082] S3: filling the surface model according to the structural features of the existing special-shaped surface to establish a new theoretical model.
[0083] In this embodiment, the triangulated mesh in the triangulated mesh model may be fitted according to a preset fitting function and fitting method, and the triangulated mesh in the triangulated mesh model may be fitted to obtain a curved surface, and finally a curved surface model may be obtained.
[0084] In this embodiment, filling the curved surface model according to the structural features includes external filling and internal filling.
[0085] In this embodiment, the theoretical model is completely matched with the existing special-shaped curved surface in reality.
[0086] The beneficial effects of the above design scheme are: by performing three-dimensional scanning on the existing special-shaped surfaces, three-dimensional point cloud data is obtained, and a triangulated mesh model is generated based on the three-dimensional point cloud data, thereby ensuring the matching of the triangulated mesh model with the existing special-shaped surfaces, providing an accurate data basis for fitting, and obtaining a surface model by fitting the triangulated mesh in the triangulated mesh model, realizing the transition from triangulated mesh to surface, providing an appearance basis for establishing a new theoretical model, and establishing a new theoretical model by filling the surface model according to the structural features of the existing special-shaped surfaces, thereby ensuring that the theoretical model is completely matched with the existing special-shaped surfaces in reality, and finally achieving the effect of simple modeling of special-shaped surfaces and high modeling accuracy.
[0087] Example 2
[0088] Based on Example 1, the present invention provides a method for establishing a new theoretical model based on existing special-shaped curved surfaces in reality, such as Figure 2 As shown, in S1, the existing special-shaped surface is three-dimensionally scanned to obtain three-dimensional point cloud data, including:
[0089] S101: performing three-dimensional scanning on the existing special-shaped curved surface using three-dimensional laser scanning technology to obtain scanning data;
[0090] S102: After preprocessing the scan data, obtaining point cloud conversion parameters of the scan data according to an analysis method;
[0091] S103: Convert the scan data into three-dimensional point cloud data using the point cloud conversion parameters.
[0092] In this embodiment, the scan data is preprocessed, including denoising, smoothing and simplification, to remove isolated points and noise points.
[0093] The beneficial effect of the above design scheme is: by preprocessing the scanning data obtained by three-dimensional scanning of the existing special-shaped surface using three-dimensional laser scanning technology and obtaining point cloud conversion parameters according to the dimensionality reduction analysis method, the accuracy of the three-dimensional point cloud data is guaranteed, providing a data basis for model establishment.
[0094] Example 3
[0095] Based on Example 1, the embodiment of the present invention provides a method for establishing a new theoretical model based on an existing special-shaped surface in reality. In S1, a triangulated network model is generated based on the three-dimensional point cloud data, including:
[0096] Selecting a plane corresponding to the highest point of the special-shaped curved surface as a reference plane, and dividing the three-dimensional point cloud data into multiple groups of point cloud data according to the distance from the three-dimensional point cloud data to the reference plane;
[0097] Taking groups as units, multiple groups of 3D point cloud data are triangulated to obtain a triangulated network corresponding to each group;
[0098] Based on the group triangulation network, performing inter-group triangulation processing on the plurality of groups of point cloud data to obtain a smooth triangulation network;
[0099] Based on the smoothed triangulated network, a triangulated network model is constructed.
[0100] In this embodiment, the reference plane is parallel to the horizontal plane.
[0101] The beneficial effect of the above design scheme is: by grouping the three-dimensional point cloud data according to the distance from the three-dimensional point cloud data to the reference plane, first triangulation processing is performed on the groups to obtain a group triangulation network, and then, based on the group triangulation network, triangulation processing is performed between groups to obtain a smooth triangulation network, thereby ensuring the smoothness of the smooth triangulation network and ensuring the accuracy of the triangulation model constructed to represent the existing special-shaped surface.
[0102] Example 4
[0103] Based on Example 3, the embodiment of the present invention provides a method for establishing a new theoretical model based on an existing special-shaped curved surface in reality, wherein the three-dimensional point cloud data is divided into multiple groups of point cloud data according to the distance between the three-dimensional point cloud data and the reference surface, including:
[0104] Obtaining the maximum and minimum values of the distance from the three-dimensional point cloud data to the reference plane, and determining the number of groups and the distance value range corresponding to each group based on the difference between the maximum and minimum values;
[0105] Based on the distance value range, the grouping corresponding to the three-dimensional point cloud data is determined according to the distance from the three-dimensional point cloud data to the reference plane, and a plurality of groups of point cloud data are obtained by division.
[0106] In this embodiment, the larger the difference is, the more groups are grouped, thereby ensuring the accuracy of grouping.
[0107] The beneficial effect of the above design scheme is: by determining the number of groups based on the difference between the maximum and minimum values of the distance from the three-dimensional point cloud data to the reference plane, the accuracy of the grouping is guaranteed, the smoothness of the triangles in the group triangulated network is guaranteed, thereby ensuring the smoothness of the smoothed triangulated network, and ensuring the accuracy of the constructed triangulated network model to represent the existing special-shaped surfaces.
[0108] Example 5
[0109] Based on Example 1, the present invention provides a method for establishing a new theoretical model based on existing special-shaped curved surfaces in reality, such as Figure 3 As shown, in S2, the triangles in the triangulated network model are fitted to obtain a surface model, including:
[0110] S201: Acquire the coordinate position of each triangle in the triangulated network model, acquire the shape feature of each triangle based on the coordinate position, and match a first fitting function for each triangle based on the shape feature;
[0111] S202: performing a first fitting on each triangulated network based on the first fitting function to obtain a surface triangle;
[0112] S203: Based on the features of the surface triangles, perform a second fitting on the surface triangles to obtain the surface model.
[0113] In this embodiment, the shape features specifically include the length of each side of the triangle and the position coordinates of each point.
[0114] In this embodiment, different shape features correspond to different first fitting functions.
[0115] In this embodiment, the features of the curved surface triangle include curved surface features and relationship features between triangle positions.
[0116] The beneficial effects of the above design scheme are: first, the first fitting function for each triangle is determined according to the propagation characteristics of each triangle in the triangulated mesh model, thereby performing the first fitting, and performing targeted fitting on different triangles to ensure the fitting effect of the surface triangles; secondly, on the basis of the surface triangles, the surface triangles are subjected to the characteristics of the surface triangles, that is, the triangulated mesh model is fitted as a whole to ensure the smoothness of the surface model; by performing the local first fitting and the overall second fitting, the fitting effect of the triangulated mesh model is ensured, and the matching degree between the surface model and the existing special-shaped surface is improved.
[0117] Example 6
[0118] Based on Example 5, the embodiment of the present invention provides a method for establishing a new theoretical model based on an existing special-shaped curved surface in reality, and based on the characteristics of the curved surface triangle, a second fitting is performed on the curved surface triangle to obtain the curved surface model, including:
[0119] Acquire the surface features and coordinate position features of the surface triangle, and acquire the associated surface triangle associated with each surface triangle based on the position coordinate features;
[0120] Based on the surface features, determining partial surface features of each surface triangle and its corresponding associated surface triangle, and based on the partial surface features, determining the smoothness and connection features of the connection between each surface triangle and its corresponding associated surface triangle;
[0121] Based on the smoothness, determining the number of insertion points to be inserted into each curved triangle, and based on the connection feature, determining the positions of the insertion points;
[0122] Perform point insertion on the triangular surface according to the number and position of the insertion points to obtain a first surface, and based on the first surface, obtain a partial surface of each surface triangle and its corresponding associated surface triangle;
[0123] Comparing the point number density value of the partial curved surface with a preset threshold value to obtain a number difference, and setting a fitting function of the partial curved surface based on the number difference;
[0124] Acquire structural features of the triangulated network model, and determine the importance of each first curved surface based on the structural features;
[0125] According to the order of the importance from small to large, the partial curved surfaces corresponding to the first curved surface are fitted in sequence according to the fitting function;
[0126] Based on the fitting surface obtained after the partial surface is finally fitted, a fitting result for all surface triangles is obtained;
[0127] Performing a fitting evaluation on the fitting result to determine whether the fitting result meets a preset fitting requirement;
[0128] If yes, a surface model is obtained based on the fitted surface;
[0129] Otherwise, obtain fitting difference information, and based on the fitting difference information, obtain the overall fitting function of the overall surface composed of all the partial surfaces, and fit the overall surface based on the overall fitting function to obtain the fitted overall surface, and based on the fitted overall surface, obtain the surface model.
[0130] In this embodiment, the associated surface triangle is a surface triangle that shares at least one vertex with the surface triangle.
[0131] In this embodiment, the higher the smoothness of the connection between each curved surface triangle and its corresponding associated curved surface triangle, the lower the fitting difficulty is and the smaller the number of corresponding insertion points is.
[0132] In this embodiment, the connection features determine which connections are not good enough, and correspondingly, more insertion points are set.
[0133] In this embodiment, the larger the difference in number is, the more complex the setting of the corresponding fitting function is.
[0134] In this embodiment, since there are overlapping parts between the partial surfaces, the ones with less importance are fitted first in order of importance. Subsequently, the corresponding overlapping parts with greater importance are fitted again according to the corresponding fitting function to ensure that the final fitting result is determined by fitting the surface with the highest importance to ensure the accuracy of the fitting result.
[0135] In this embodiment, the fitting evaluation includes evaluation of fitting variance, fitting smoothness, etc.
[0136] The beneficial effect of the above design scheme is: by analyzing the smoothness and connection characteristics of each surface triangle and its associated associated surface triangles, the fitting function of the device is determined to be fitted. At the same time, in the fitting process, the less important ones are fitted first in order from small to large importance, and then the corresponding overlapping parts with larger importance are fitted again according to the fitting function corresponding to the device to ensure that the final fitting result is determined by the fitting of the most important surface to ensure the accuracy of the fitting result. Finally, after the fitting of some surfaces is completed, a fitting evaluation is performed. If the fitting requirements are not met, the overall surface composed of the partial surfaces is fitted as a whole to ensure the accuracy and requirements of the fitting, thereby ensuring the accuracy of the surface model and the matching degree with the actual surface.
[0137] Example 7
[0138] Based on Example 6, the embodiment of the present invention provides a method for establishing a new theoretical model based on an existing special-shaped curved surface in reality, performing a fitting evaluation on the fitting result, and judging whether the fitting result meets the preset fitting requirements, including:
[0139] Based on the fitting result, a number of points are randomly selected from the overall curved surface to obtain deviation values between the number of points and the curved surface;
[0140] Determining whether the fitting smoothness and deviation value are within a preset range;
[0141] If so, determining that the fitting result meets the preset fitting requirement;
[0142] Otherwise, it is determined that the fitting result does not meet the preset fitting requirement.
[0143] The beneficial effect of the above design scheme is: by randomly selecting a number of points in the overall surface, obtaining the deviation values between the points and the surface to evaluate the fitting results, and the random selection ensures the randomness of the evaluation and the accuracy of the evaluation results.
[0144] Example 8
[0145] Based on Example 1, the embodiment of the present invention provides a method for establishing a new theoretical model based on an existing special-shaped curved surface in reality, characterized in that, in S3, the surface model is filled according to the structural features of the existing special-shaped curved surface to establish a new theoretical model, including:
[0146] According to the structural features of the existing special-shaped curved surface, the special-shaped curved surface is divided into a plurality of components, and model parts corresponding to the plurality of components are obtained from the surface model;
[0147] Based on the model part, the surface model is layered to obtain a layered model;
[0148] Based on the load constraints of the hierarchical model, an isosurface in the hierarchical model is established, and based on the isosurface and its corresponding values, an isosurface density and an isosurface area of the hierarchical model are determined;
[0149] Based on the isosurface density and the isosurface area, constructing a lattice structure implicit function of the hierarchical model;
[0150] Based on the lattice structure implicit function, constructing the hierarchical model to obtain a lattice structure;
[0151] Dividing the lattice structure according to the type of the lattice structure to obtain a coordinate set of lattice structures of the same type;
[0152] Determining whether the coordinate sets are in the same layer of the hierarchical model;
[0153] If so, determining that the filling mode of the model filling corresponding to the coordinate set is consistent;
[0154] Otherwise, dividing the coordinate set according to the layer feature of the layered model in which the coordinate set is located to obtain a plurality of sub-coordinate sets, and determining a filling method of the plurality of sub-coordinate sets based on the layer feature;
[0155] According to the filling method obtained above, the layered model is filled according to the coordinate position to obtain an internal filling model;
[0156] The appearance features of the curved surface model are obtained to generate a surface model, and the surface model is combined with the internal filling to obtain a theoretical model.
[0157] In this embodiment, the multiple components are divided according to the structural features of the existing special-shaped curved surface.
[0158] In this embodiment, the isosurface is a surface composed of points in the layered model with the same values.
[0159] In this embodiment, the isosurface density is determined by the number of points constituting the isosurface.
[0160] In this embodiment, the filling method is determined by the layer structure characteristics and the lattice structure. If the layer structure characteristics and the lattice structure of the coordinate set are the same, the filling methods of the coordinates in the coordinate set are the same, and the filling methods include filling color, filling pattern, etc.
[0161] The beneficial effect of the above design scheme is: through the structural characteristics of the existing special-shaped surfaces, the internal structure of the surface model is analyzed, and the surface model is filled with different filling methods according to the different internal structural characteristics, and finally combined with the surface model to obtain a theoretical model, which ensures that the theoretical model obtained accurately represents the characteristics of the existing special-shaped surfaces in reality from the inside to the outside, and ensures that the theoretical model is completely matched with the existing special-shaped surfaces in reality, and finally achieves the effect of simple modeling of special-shaped surfaces and high modeling accuracy.
[0162] Example 9
[0163] Based on Example 1, the embodiment of the present invention provides a method for establishing a new theoretical model based on existing special-shaped curved surfaces in reality, characterized in that after establishing the new theoretical model in S3, it also includes: optimizing the theoretical model, specifically:
[0164] Based on the material characteristics of the existing special-shaped surface, the theoretical model is discretized using the finite element method to obtain a finite element model;
[0165] Based on the node characteristics of the finite element model, determining the optimization variable range, and performing equal-interval extraction on the optimization variable range according to preset intervals to obtain a plurality of optimization variables;
[0166] Based on the multiple optimization variables, the finite element model is optimized to obtain multiple optimized finite element models;
[0167] Calculating deviation values between the multiple optimized finite element models and the finite element model before optimization;
[0168] Selecting from the multiple optimized finite element models the one with the smallest deviation from the finite element model as the target optimized finite element model;
[0169] Establishing a target surface model corresponding to the target optimized finite element model;
[0170] The target surface model is the result of optimizing the new theoretical model.
[0171] In this embodiment, the finite element model is a discrete representation of the theoretical model, which facilitates subsequent analysis and optimization.
[0172] In this embodiment, the larger the deviation value is, the larger the deviation between the corresponding optimized finite element model and the finite element model before optimization is, and the worse the optimization effect is.
[0173] The beneficial effect of the above design scheme is: by discretizing the theoretical model using the finite element method according to the material characteristics of the existing special-shaped surface, after obtaining the finite element model, optimization analysis is performed based on the finite element model to ensure the accuracy of the optimization, and finally the theoretical model is effectively optimized to achieve a high modeling accuracy.
[0174] Example 10
[0175] Based on Example 9, an embodiment of the present invention provides a method for establishing a new theoretical model based on an existing special-shaped surface in reality, characterized in that the deviation values between the multiple optimized finite element models and the finite element model before optimization are calculated, including:
[0176] Based on the structure of the finite element model before optimization, the first coordinate points of the finite element model before optimization are classified to obtain multiple sets of first coordinate points, specifically:
[0177] Acquire the stress and strain of the finite element model of the first coordinate point before the optimization and the coordinate characteristic value of the finite element model of the first coordinate point before the optimization;
[0178] Calculating the structural value of the first coordinate point based on the stress, strain and coordinate eigenvalues of the finite element model before optimization;
[0179] According to a preset structural value grouping requirement, the first coordinate points are grouped according to the structural values of the first coordinate points;
[0180] According to the characteristics of each group, set the deviation limit value for each group;
[0181] Acquire a second coordinate point of the optimized finite element model that matches a first coordinate point of the finite element model before optimization;
[0182] Based on the first coordinate point, the second coordinate point and the deviation limit value of each group, a deviation value between the optimized finite element model and the finite element model before optimization is calculated.
[0183] Example 10
[0184] Based on Example 9, the embodiment of the present invention provides a method for establishing a new theoretical model based on an existing special-shaped surface in reality, and calculating the deviation value between the multiple optimized finite element models and the finite element model before optimization, including:
[0185] Based on the structure of the finite element model before optimization, the first coordinate points of the finite element model before optimization are classified to obtain multiple sets of first coordinate points, specifically:
[0186] Acquire the stress and strain of the finite element model of the first coordinate point before the optimization and the coordinate characteristic value of the finite element model of the first coordinate point before the optimization;
[0187] Calculating the structural value of the first coordinate point based on the stress, strain and coordinate eigenvalues of the finite element model before optimization;
[0188] The calculation formula of the structure value F of the first coordinate point is as follows:
[0189]
[0190] Wherein, T represents the coordinate characteristic value of the first coordinate point, and its value is (0.5, 1.0), γ represents the strain of the first coordinate point, τ represents the stress of the first coordinate point, and γT represents the optimal strain of the first coordinate point determined according to the coordinate eigenvalue, τ T represents the optimal stress of the first coordinate point determined according to the coordinate eigenvalue;
[0191] According to a preset structural value grouping requirement, the first coordinate points are grouped according to the structural values of the first coordinate points;
[0192] According to the characteristics of each group, set the deviation limit value for each group;
[0193] Acquire a second coordinate point of the optimized finite element model that matches a first coordinate point of the finite element model before optimization;
[0194] Based on the first coordinate point, the second coordinate point and the deviation limit value of each group, a deviation value between the optimized finite element model and the finite element model before optimization is calculated;
[0195] The calculation formula of the deviation value K is as follows:
[0196]
[0197] Where n represents the number of groups of the first coordinate point or the second coordinate point, m i represents the number of the first coordinate points or the second coordinate points in the i-th group, D i represents the deviation limit value corresponding to the i-th group, and its value is (0, 1.0). represents the coordinate value of the jth first coordinate point under the i-th group, Represents the coordinate value of the j-th second coordinate point under the i-th group.
[0198] In this embodiment, different structural values correspond to different groups, and the greater the adjustability corresponding to each group feature, the greater the corresponding deviation limit value.
[0199] In this embodiment, the coordinate feature value is related to the structural feature of the first coordinate point in the finite element model.
[0200] The beneficial effects of the above design scheme are: first, the structural value of the first coordinate point is accurately determined by the stress and strain of the first coordinate point of the finite element model before optimization and the coordinate characteristic value of the first coordinate point in the finite element model before optimization, providing a classification basis for the classification discussion of the first coordinate point; secondly, after classifying the first coordinate points according to the structural values of the first coordinate points, the deviation value between the optimized finite element model and the finite element model before optimization is calculated in combination with the deviation limit value of each group, ensuring that the obtained deviation value is more in line with the characteristics of the curved structure, providing a basis for selecting the optimal finite element model.
[0201] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for establishing a new theoretical model based on existing special-shaped surfaces in reality, characterized in that: include: S1: Performing three-dimensional scanning on an existing special-shaped surface to obtain three-dimensional point cloud data, and generating a triangulated network model based on the three-dimensional point cloud data; S2: fitting the triangles in the triangulated network model to obtain a surface model; S3: filling the surface model according to the structural features of the existing special-shaped surface to establish a new theoretical model; After the new theoretical model is established in S3, the process further includes: optimizing the theoretical model, specifically: Based on the material characteristics of the existing special-shaped surface, the theoretical model is discretized using the finite element method to obtain a finite element model; Based on the node characteristics of the finite element model, determining the optimization variable range, and performing equal-interval extraction on the optimization variable range according to preset intervals to obtain a plurality of optimization variables; Based on the multiple optimization variables, the finite element model is optimized to obtain multiple optimized finite element models; Calculating deviation values between the multiple optimized finite element models and the finite element model before optimization; Selecting from the multiple optimized finite element models the one with the smallest deviation from the finite element model as the target optimized finite element model; Establishing a target surface model corresponding to the target optimized finite element model; The target surface model is the result of optimizing the new theoretical model.
2. The method for establishing a new theoretical model based on a special-shaped surface existing in reality according to claim 1, characterized in that: In S1, the existing special-shaped surface is 3D scanned to obtain 3D point cloud data, including: Performing three-dimensional scanning on the existing special-shaped curved surface using three-dimensional laser scanning technology to obtain scanning data; After preprocessing the scan data, obtaining point cloud conversion parameters of the scan data according to a dimensionality reduction analysis method; The scan data is converted into three-dimensional point cloud data using the point cloud conversion parameters.
3. The method for establishing a new theoretical model based on a special-shaped surface existing in reality according to claim 1, characterized in that: In S1, a triangulated network model is generated based on the three-dimensional point cloud data, including: Selecting a plane corresponding to the highest point of the special-shaped curved surface as a reference plane, and dividing the three-dimensional point cloud data into multiple groups of point cloud data according to the distance from the three-dimensional point cloud data to the reference plane; Taking groups as units, multiple groups of 3D point cloud data are triangulated to obtain a triangulated network corresponding to each group; Based on the group triangulation network, performing inter-group triangulation processing on the plurality of groups of point cloud data to obtain a smooth triangulation network; Based on the smoothed triangulated network, a triangulated network model is constructed.
4. The method for establishing a new theoretical model based on existing special-shaped surfaces in reality according to claim 3, characterized in that: According to the distance between the three-dimensional point cloud data and the reference surface, the three-dimensional point cloud data is divided into a plurality of groups of point cloud data, including: Obtaining the maximum and minimum values of the distance from the three-dimensional point cloud data to the reference plane, and determining the number of groups and the distance value range corresponding to each group based on the difference between the maximum and minimum values; Based on the distance value range, the grouping corresponding to the three-dimensional point cloud data is determined according to the distance from the three-dimensional point cloud data to the reference plane, and a plurality of groups of point cloud data are obtained by division.
5. The method for establishing a new theoretical model based on existing special-shaped surfaces in reality according to claim 1, characterized in that: In S2, the triangles in the triangulated network model are fitted to obtain a surface model, including: Acquire the coordinate position of each triangle in the triangulated network model, acquire the shape feature of each triangle based on the coordinate position, and match a first fitting function for each triangle based on the shape feature; Based on the first fitting function, performing a first fitting on each triangulated network to obtain a surface triangle; Based on the features of the surface triangles, a second fitting is performed on the surface triangles to obtain the surface model.
6. The method for establishing a new theoretical model based on existing special-shaped surfaces in reality according to claim 5, characterized in that: Based on the features of the surface triangles, performing a second fitting on the surface triangles to obtain the surface model includes: Acquire the surface features and coordinate position features of the surface triangle, and acquire the associated surface triangle associated with each surface triangle based on the coordinate position features; Based on the surface features, determining partial surface features of each surface triangle and its corresponding associated surface triangle, and based on the partial surface features, determining the smoothness and connection features of the connection between each surface triangle and its corresponding associated surface triangle; Based on the smoothness, determining the number of insertion points to be inserted into each curved triangle, and based on the connection feature, determining the positions of the insertion points; Perform point insertion on the triangular surface according to the number and position of the insertion points to obtain a first surface, and based on the first surface, obtain a partial surface of each surface triangle and its corresponding associated surface triangle; Comparing the point number density value of the partial curved surface with a preset threshold value to obtain a number difference, and setting a fitting function of the partial curved surface based on the number difference; Acquire structural features of the triangulated network model, and determine the importance of each first curved surface based on the structural features; According to the order of the importance from small to large, the partial curved surfaces corresponding to the first curved surface are fitted in sequence according to the fitting function; Based on the fitting surface obtained after the partial surface is finally fitted, a fitting result for all surface triangles is obtained; Performing a fitting evaluation on the fitting result to determine whether the fitting result meets a preset fitting requirement; If yes, a surface model is obtained based on the fitted surface; Otherwise, obtain fitting difference information, and based on the fitting difference information, obtain the overall fitting function of the overall surface composed of all the partial surfaces, and fit the overall surface based on the overall fitting function to obtain the fitted overall surface, and based on the fitted overall surface, obtain the surface model.
7. The method for establishing a new theoretical model based on existing special-shaped surfaces in reality according to claim 6, characterized in that: Performing a fitting evaluation on the fitting result to determine whether the fitting result meets a preset fitting requirement includes: Based on the fitting result, a number of points are randomly selected from the overall curved surface to obtain deviation values between the number of points and the curved surface; Determining whether the deviation value is within a preset range; If so, determining that the fitting result meets the preset fitting requirement; Otherwise, it is determined that the fitting result does not meet the preset fitting requirement.
8. The method for establishing a new theoretical model based on a special-shaped surface existing in reality according to claim 1, characterized in that: In S3, the surface model is filled according to the structural features of the existing special-shaped surface to establish a new theoretical model, including: According to the structural features of the existing special-shaped curved surface, the special-shaped curved surface is divided into a plurality of components, and model parts corresponding to the plurality of components are obtained from the surface model; Based on the model part, the surface model is layered to obtain a layered model; Based on the load constraints of the hierarchical model, an isosurface in the hierarchical model is established, and based on the isosurface and its corresponding values, an isosurface density and an isosurface area of the hierarchical model are determined; Based on the isosurface density and the isosurface area, constructing a lattice structure implicit function of the hierarchical model; Based on the lattice structure implicit function, constructing the hierarchical model to obtain a lattice structure; Dividing the lattice structure according to the type of the lattice structure to obtain a coordinate set of lattice structures of the same type; Determining whether the coordinate sets are in the same layer of the hierarchical model; If so, determining that the filling mode of the model filling corresponding to the coordinate set is consistent; Otherwise, dividing the coordinate set according to the layer feature of the layered model in which the coordinate set is located to obtain a plurality of sub-coordinate sets, and determining a filling method of the plurality of sub-coordinate sets based on the layer feature; According to the filling method obtained above, the layered model is filled according to the coordinate position to obtain an internal filling model; The appearance features of the curved surface model are obtained to generate a surface model, and the surface model is combined with the internal filling to obtain a theoretical model.
9. The method for establishing a new theoretical model based on existing special-shaped surfaces in reality according to claim 1, characterized in that: Calculating deviation values between the multiple optimized finite element models and the finite element model before optimization includes: Based on the structure of the finite element model before optimization, the first coordinate points of the finite element model before optimization are classified to obtain multiple sets of first coordinate points, specifically: Acquire the stress and strain of the finite element model of the first coordinate point before the optimization and the coordinate characteristic value of the finite element model of the first coordinate point before the optimization; Calculating the structural value of the first coordinate point based on the stress, strain and coordinate eigenvalues of the finite element model before optimization; According to a preset structural value grouping requirement, the first coordinate points are grouped according to the structural values of the first coordinate points; According to the characteristics of each group, set the deviation limit value for each group; Acquire a second coordinate point of the optimized finite element model that matches a first coordinate point of the finite element model before optimization; Based on the first coordinate point, the second coordinate point and the deviation limit value of each group, a deviation value between the optimized finite element model and the finite element model before optimization is calculated.
