A parametric implementation method for entity features and a three-dimensional graphics platform

By calculating the mathematical relationship between the parameters of the solid model and the set parameters, combined with sketching and motion methods, feature entities are generated, which solves the problem of fixed model shape in modeling software, realizes flexible model combination and deformation, and improves user construction efficiency.

CN117237540BActive Publication Date: 2025-09-23BEIJING HKRSOFT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311393832.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2025-09-23
Estimated Expiration
2043-10-25

AI Technical Summary

Technical Problem

The models in existing modeling software have fixed shapes and cannot be flexibly combined and deformed, resulting in low construction efficiency for users.

Method used

By calculating the mathematical relationship between the parameters of the conventional solid model and the set parameters, the model update is driven, the feature entity is generated by combining sketching and motion methods, and a basic graphics library and model display window are created to achieve flexible matching of parametric models.

Benefits of technology

It improves the efficiency of users in building models, provides flexible model combination and deformation capabilities, and enhances the usability of models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117237540B_ABST
    Figure CN117237540B_ABST
Patent Text Reader

Abstract

The present invention provides a parameterized implementation method for entity features and a three-dimensional graphics platform, which relate to the field of feature parameterization technology. The method includes: extracting a first parameter in a conventional entity model, defining a first mathematical relationship between the first parameter and a first setting parameter, and calculating the values ​​of the first parameter and the first setting parameter to drive model updating; for unconventional entities, drawing one or more sketches through a sketch drawing function, and generating a feature entity by defining the movement mode of the sketch, while extracting the second parameter generated in the sketch and the movement process, defining a second mathematical relationship between the second parameter and the second setting parameter, and calculating the values ​​of the second parameter and the second setting parameter to drive model updating; creating a basic graphics library and a model display window based on all parameterized entity models to provide rich parameterized models, which are convenient for flexible and arbitrary use, thereby improving the efficiency of users in building models.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of feature parameterization, and in particular to a parameterization implementation method of entity features and a three-dimensional graphics platform. Background Art

[0002] As modeling applications become more and more widespread, more and more modeling software is available. However, modeling software mostly only provides basic editing functions, and sometimes requires users to edit and design models according to their own needs to complete the complex modeling process. In other words, even though many semi-finished models are available, the shapes of these semi-finished products are relatively fixed and cannot be flexibly combined, constructed, or deformed at will. This causes users to abandon the direct use of existing models, reducing construction efficiency.

[0003] Therefore, the present invention provides a parameterized implementation method of entity features and a three-dimensional graphics platform. Summary of the Invention

[0004] The present invention provides a parameterization implementation method of entity features and a three-dimensional graphics platform, which are used to calculate the parameters and the set parameters through the mathematical relationship between the parameters of the conventional entity model and the set parameters, drive the model update, realize the parameterization of the conventional entity model, sketch the unconventional entity, determine the feature entity and the corresponding parameters based on the movement mode of the defined sketch, determine the mathematical relationship between the parameters and the set parameters, calculate the parameters and the set parameters, drive the model update, realize the parameterization of the unconventional entity model, and create a basic graphics library and a model display window to provide rich parameterized models, which are convenient for flexible and arbitrary use to improve the efficiency of users in building models.

[0005] The present invention provides a parameterized implementation method of entity features, comprising:

[0006] Step 1: For a conventional entity, a conventional entity model is drawn and a first parameter in the conventional entity model is extracted. A first mathematical relationship between the first parameter and a first setting parameter is defined through a formula editor, and the values ​​of the first parameter and the first setting parameter are calculated through an expression solver to drive the model update, thereby realizing parameterization of the conventional entity model.

[0007] Step 2: For unconventional entities, use the sketching function to draw one or more sketches, and define the motion of the sketches to generate feature entities. At the same time, extract the second parameter generated by the sketch and the motion process, define the second mathematical relationship between the second parameter and the second setting parameter through the formula editor, and calculate the value of the second parameter and the second setting parameter based on the expression solver to drive the model update, thereby realizing the parameterization of the unconventional entity model.

[0008] Step 3: Create a basic graphics library and model display window for all parametric solid models.

[0009] Preferably, for a conventional entity, a conventional entity model is drawn, and a first parameter in the conventional entity model is extracted. A first mathematical relationship between the first parameter and a first setting parameter is defined through a formula editor, and the values ​​of the first parameter and the first setting parameter are calculated through an expression solver to drive the model update, thereby realizing parameterization of the conventional entity model, including:

[0010] Obtain a conventional entity, draw a conventional entity model according to the drawing software, and obtain a description method of the conventional entity model;

[0011] extracting a first parameter of the conventional solid model according to the description method;

[0012] Obtaining a first user-made model and corresponding first user parameters;

[0013] Determining a first parameter association between the first user parameter and the first parameter according to an association relationship between the first user-made model and the conventional entity model, and obtaining a first setting parameter;

[0014] Determining, according to the description objects and positions of the first parameter and the first setting parameter, the associated first parameter and the first setting parameter;

[0015] defining a first mathematical relationship between the associated first parameter and the first setting parameter based on a formula editor;

[0016] Calculating the values ​​of the first parameter and the first setting parameter by using an expression solver and combining the first mathematical relationship;

[0017] Based on the solved values ​​and the order relationship of the solved values, the conventional entity model is driven to be updated to achieve parameterization of the conventional entity model.

[0018] Preferably, determining the associated first parameter and first setting parameter according to the description objects and positions of the first parameter and the first setting parameter includes:

[0019] ;in, Indicates the correlation between the i-th first parameter and the j-th first setting parameter; Indicates the parameter type matching degree between the i-th first parameter and the j-th first setting parameter; represents the parameter effect characteristic value of the i-th first parameter; represents the parameter effect characteristic value of the jth first setting parameter; The distance value representing the description object of the i-th first parameter and the j-th first setting parameter; and The value of is (0, 1); exp represents the exponential function;

[0020] The first parameter and the first setting parameter whose correlation is greater than the preset correlation are regarded as the first parameter and the first setting parameter having correlation.

[0021] Preferably, for unconventional entities, one or more sketches are drawn using a sketch drawing function, and a feature entity is generated by defining the motion mode of the sketch, and the second parameter generated during the sketch and the motion process is extracted, including:

[0022] Convert unconventional entities into two dimensions, draw one or more sketches using the sketching function, and extract sketch parameters;

[0023] By defining a motion mode of a sketch, performing motion operations on the sketch, generating a corresponding feature entity, and drawing a feature entity model as an unconventional entity model corresponding to the unconventional entity;

[0024] Analyzing the motion trajectory during the sketch motion operation to determine motion parameters of the motion trajectory;

[0025] Take sketch parameters and motion parameters as second parameters.

[0026] Preferably, a second mathematical relationship between the second parameter and the second setting parameter is defined by a formula editor, and the values ​​of the second parameter and the second setting parameter are calculated based on an expression solver to drive the model update, thereby realizing parameterization of the unconventional solid model, including:

[0027] Obtaining a second user-made model and corresponding second user parameters;

[0028] Determining an association between the second parameter and the second parameter of the second user parameter based on a model similarity between the second user-made model and the unconventional physical model, and determining a second setting parameter;

[0029] Determine a second mathematical relationship between the second parameter and the second setting parameter according to the description object and position of the second parameter and the second setting parameter, and define the relationship through a formula editor input by a user;

[0030] The expression solver is used to calculate the value of the second parameter and the second setting parameter in combination with the second mathematical relationship to drive the model update and realize the parameterization of the unconventional solid model.

[0031] Preferably, a basic graphic library and model display window for all parametric solid models are created, including:

[0032] Model classification is performed based on the complexity of the parameterized solid model;

[0033] Creating a model display window and a display directory for the model display window for each type of parameterized solid model;

[0034] At the same time, a basic graphics library is constructed based on the display models involved in all display directories.

[0035] Preferably, the process of creating a basic graphic library and a model display window based on all parameterized entity models further includes:

[0036] Get the model shape type and model boundary line set of each parameterized solid model;

[0037] performing a first single determination of line expansion and a second single determination of line contraction on each boundary line in the set of model boundary lines based on the model shape type, and adding a first variation constraint to the corresponding boundary line according to the first single determination result and the second single determination result;

[0038] Obtaining a model topology tree for each parameterized solid model, and determining a first angle and a first length of each single-branch boundary in the single-branch boundary tree based on the origin coordinates of the single-branch boundary tree, and combining the first variation constraint of each single-branch boundary to obtain a set of three-dimensional structures corresponding to the single-branch boundary tree;

[0039] Performing three-dimensional parameterization on each of the three-dimensional structures in the set of three-dimensional structures to determine structural deformation;

[0040] Obtaining a first constraint condition consistent with the initial shape type of the single-branch boundary tree from a type-condition mapping table, and selecting a first structure that satisfies the structural constraint condition at the minimum and a second structure that satisfies the structural constraint condition at the maximum from the structural deformation;

[0041] According to a second constraint condition consistent with the model topology tree, a first contradiction analysis is performed on all first structures and a second contradiction analysis is performed on all second structures to obtain a parameterized variation range of each model boundary line and a parameterized variation range of the boundary lines of different combination models;

[0042] Based on the obtained results, a boundary adjustment plan for the corresponding parameterized solid model is generated and retained.

[0043] A three-dimensional graphics platform for entity features, comprising:

[0044] Conventional solid model parameterization module: For conventional solids, a conventional solid model is drawn and the first parameter in the conventional solid model is extracted. A first mathematical relationship between the first parameter and a first setting parameter is defined through a formula editor, and the values ​​of the first parameter and the first setting parameter are calculated through an expression solver to drive the model update, thereby realizing parameterization of the conventional solid model.

[0045] Unconventional solid model parameterization module: For unconventional solids, one or more sketches are drawn using the sketching function. The motion of the sketch is defined to generate a feature entity. The second parameter generated by the sketch and the motion is extracted. The second mathematical relationship between the second parameter and the second set parameter is defined using the formula editor. The value of the second parameter and the second set parameter is calculated based on the expression solver to drive the model update, thus achieving parameterization of unconventional solid models.

[0046] Basic graphics library and model display module: Create basic graphics library and model display window for all parametric solid models.

[0047] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purposes 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.

[0048] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] 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:

[0050] Figure 1 This is a flow chart of a method for parameterizing entity features according to an embodiment of the present invention;

[0051] Figure 2 A structural diagram of a three-dimensional graphics platform with entity features in an embodiment of the present invention;

[0052] Figure 3 2 is a structural diagram of a single-branch boundary tree in an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The preferred embodiments of the present invention are described below with reference to 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.

[0054] The embodiment of the present invention provides a parameterized implementation method of entity features, such as Figure 1 Shown, including:

[0055] Step 1: For a conventional entity, a conventional entity model is drawn and a first parameter in the conventional entity model is extracted. A first mathematical relationship between the first parameter and a first setting parameter is defined through a formula editor, and the values ​​of the first parameter and the first setting parameter are calculated through an expression solver to drive the model update, thereby realizing parameterization of the conventional entity model.

[0056] Step 2: For unconventional entities, use the sketching function to draw one or more sketches, and define the motion of the sketches to generate feature entities. At the same time, extract the second parameter generated by the sketch and the motion process, define the second mathematical relationship between the second parameter and the second setting parameter through the formula editor, and calculate the value of the second parameter and the second setting parameter based on the expression solver to drive the model update, thereby realizing the parameterization of the unconventional entity model.

[0057] Step 3: Create a basic graphics library and model display window for all parametric solid models.

[0058] In this embodiment, conventional entities refer to conventional entities such as rectangular prisms, cubes, and spheres. The conventional entity model is drawn according to the drawing software. The first parameter refers to the parameter in the conventional entity model that describes the characteristics of the conventional entity model. For example, the first parameters of the rectangular prism are length, width, and height. The formula editor is input by the user to determine the parameters that the user needs to use. The first setting parameter is determined based on the first user parameter and the first parameter. For example, the first user parameter is the height of the table, and the first parameter is the height of the rectangular prism. The height of the table minus the height of the rectangular prism is the height of the table legs. The height of the table legs is the first setting parameter. The mathematical relationship between the first parameter and the first setting parameter is to first determine the correlation between the first parameter and the first setting parameter, and determine the mathematical relationship of the parameters whose correlation is greater than the preset correlation. For example, the first parameters of the rectangular prism are length, width, and height, and the first setting parameter is the height of the table legs. There is a mathematical relationship between the height of the rectangular prism and the height of the table legs, h=h1-h2, h represents the height of the table legs, h1 represents the height of the table, and h2 represents the height of the rectangular prism. The expression solver is a tool used to operate on the first mathematical relationship.

[0059] In this embodiment, the unconventional entity refers to an entity other than a conventional entity, the sketch refers to the two-dimensional determination of the unconventional entity, the movement mode is preset, such as sweeping, rotating, etc., and the feature entity is obtained by performing corresponding movement operations on the sketch. For example, the sketch is an irregular quadrilateral, and a vertical sweep is performed to obtain an irregular cylinder. The second parameter refers to the parameters of the sketch and the movement parameters during the movement process, such as the rotation angle, the axis of rotation, etc. The second mathematical relationship is similar to the first mathematical relationship.

[0060] In this embodiment, the basic graphics library is classified according to all parameterized solid models to determine different types of models, that is, it contains different models and descriptions related to model dimensions and constraint relationships, so that users only need to modify specified parameters to obtain different size expressions based on the same basic shape. By determining the directory, all matching types of models are displayed in turn from the windows corresponding to each type.

[0061] The beneficial effects of the above technical solution are: through the mathematical relationship between the parameters of the conventional entity model and the set parameters, the parameters and the set parameters are calculated, the model update is driven, the parameterization of the conventional entity model is realized, the sketch of the unconventional entity is drawn, and based on the movement mode of the defined sketch, the characteristic entity and the corresponding parameters are determined, the mathematical relationship between the parameters and the set parameters is determined, the parameters and the set parameters are calculated, the model update is driven, the parameterization of the unconventional entity model is realized, and a basic graphics library and a model display window are created to provide a rich parametric model, which is convenient for flexible and arbitrary use to improve the efficiency of users in building models.

[0062] An embodiment of the present invention provides a method for parameterizing entity features. For a conventional entity, a conventional entity model is drawn, and a first parameter in the conventional entity model is extracted. A first mathematical relationship between the first parameter and a first setting parameter is defined using a formula editor, and the values ​​of the first parameter and the first setting parameter are calculated using an expression solver to drive model update, thereby parameterizing the conventional entity model. The method includes:

[0063] Obtain a conventional entity, draw a conventional entity model according to the drawing software, and obtain a description method of the conventional entity model;

[0064] extracting a first parameter of the conventional solid model according to the description method;

[0065] Obtaining a first user-made model and corresponding first user parameters;

[0066] Determining a first parameter association between the first user parameter and the first parameter according to an association relationship between the first user-made model and the conventional entity model, and obtaining a first setting parameter;

[0067] Determining, according to the description objects and positions of the first parameter and the first setting parameter, the associated first parameter and the first setting parameter;

[0068] defining a first mathematical relationship between the associated first parameter and the first setting parameter based on a formula editor;

[0069] Calculating the values ​​of the first parameter and the first setting parameter by using an expression solver and combining the first mathematical relationship;

[0070] Based on the solved values ​​and the order relationship of the solved values, the conventional entity model is driven to be updated to achieve parameterization of the conventional entity model.

[0071] In this embodiment, the drawing software may be CAD, and the description method refers to the different coordinates required for drawing a conventional solid model. For example, the coordinates required for drawing a cuboid are a three-dimensional coordinate system.

[0072] In this embodiment, the first user-made model refers to a model that only contains regular entities among the models that the user needs to make, and the first user parameters refer to parameters determined based on the user-made model. For example, if the user wants to make a table, the first user parameters are the height and thickness of the table, etc.

[0073] In this embodiment, the association relationship refers to the similarities between the model made by the first user and the conventional physical model. For example, a table and a cuboid. The desktop is a cuboid. There is an association relationship between the desktop and the cuboid. The first parameter association between the thickness of the table and the height of the cuboid is h=d.

[0074] In this embodiment, the determination of the associated first parameter and the first setting parameter is based on the corresponding correlation determined according to the parameter type, parameter effect characteristic value and distance of the description object of the first parameter and the first setting parameter. The first parameter and the first setting parameter whose correlation is greater than the preset correlation are regarded as the associated first parameter and the first setting parameter.

[0075] In this embodiment, the first mathematical relationship is a formula relationship between the associated first parameter and the first setting parameter. For example, the first parameter is the height of the cuboid, and the first setting parameter is the height of the table leg, h=h1-h2, h represents the height of the table leg, h1 represents the height of the table, and h2 represents the height of the cuboid.

[0076] In this embodiment, the values ​​of the first parameter and the first setting parameter are calculated. For example, the height of the table is 1 meter, the thickness of the table is 0.05 meter, the first parameter of the rectangular height is 0.05 meter, and the first setting parameter of the table leg height is 0.95 meter.

[0077] In this embodiment, the sequential relationship is, for example, to update a cuboid into a table, first the parameters of the cuboid are updated to the parameters of the table top, and then the position parameters of the table legs are updated.

[0078] The beneficial effects of the above technical solution are: through the association relationship between the user-made model and the conventional solid model, the parameter association is determined, the setting parameters are determined, the mathematical relationship between the parameters and the setting parameters is defined, the parameter values ​​are determined, and the model update is driven, thereby providing a conventional solid model parameterization method and laying the foundation for constructing a conventional solid model.

[0079] An embodiment of the present invention provides a parameterization implementation method for an entity feature, which determines, based on the description objects and positions of the first parameter and the first setting parameter, the associated first parameter and the first setting parameter, including:

[0080] ;in, Indicates the correlation between the i-th first parameter and the j-th first setting parameter; Indicates the parameter type matching degree between the i-th first parameter and the j-th first setting parameter; represents the parameter effect characteristic value of the i-th first parameter; represents the parameter effect characteristic value of the jth first setting parameter; The distance value representing the description object of the i-th first parameter and the j-th first setting parameter; and The value of is (0, 1); exp represents the exponential function;

[0081] The first parameter and the first setting parameter whose correlation is greater than the preset correlation are regarded as the first parameter and the first setting parameter having correlation.

[0082] In this embodiment, the preset correlation is set in advance.

[0083] The beneficial effects of the above technical solution are: determining the correlation between the parameter and other parameters through the parameter type matching degree and parameter effect characteristic value of the parameter and other parameters, determining that the parameters and other parameters with a correlation greater than the preset correlation are associated parameters, and laying the foundation for subsequent conventional solid model parameterization.

[0084] An embodiment of the present invention provides a method for parameterizing entity features. For unconventional entities, one or more sketches are drawn using a sketch drawing function, and a feature entity is generated by defining the motion mode of the sketch. The method also extracts the sketch and a second parameter generated during the motion process, including:

[0085] Convert unconventional entities into two dimensions, draw one or more sketches using the sketching function, and extract sketch parameters;

[0086] By defining a motion mode of a sketch, performing motion operations on the sketch, generating a corresponding feature entity, and drawing a feature entity model as an unconventional entity model corresponding to the unconventional entity;

[0087] Analyzing the motion trajectory during the sketch motion operation to determine motion parameters of the motion trajectory;

[0088] Take sketch parameters and motion parameters as second parameters.

[0089] In this embodiment, two-dimensionalization is determined based on the three views of the unconventional entity, the number of sketches is determined based on demand, and sketch parameters refer to the data of the sketch. For example, if the sketch is a broken line, the length and angle of the broken line are the sketch parameters.

[0090] In this embodiment, the motion parameters refer to the motion distance, motion angle, etc. during the motion process.

[0091] The beneficial effects of the above technical solution are: by two-dimensionalizing unconventional entities, determining corresponding sketches, operating the sketches according to preset motion methods, determining feature entities, and extracting sketch parameters and motion parameters, the foundation is laid for subsequent drive updates of unconventional entity models.

[0092] An embodiment of the present invention provides a method for parameterizing a solid feature. The method defines a second mathematical relationship between a second parameter and a second setting parameter through a formula editor, calculates the values ​​of the second parameter and the second setting parameter based on an expression solver to drive a model update, and implements parameterization of an unconventional solid model. The method includes:

[0093] Obtaining a second user-made model and corresponding second user parameters;

[0094] Determining an association between the second parameter and the second parameter of the second user parameter based on a model similarity between the second user-made model and the unconventional physical model, and determining a second setting parameter;

[0095] Determine a second mathematical relationship between the second parameter and the second setting parameter according to the description object and position of the second parameter and the second setting parameter, and define the relationship through a formula editor input by a user;

[0096] The expression solver is used to calculate the value of the second parameter and the second setting parameter in combination with the second mathematical relationship to drive the model update and realize the parameterization of the unconventional solid model.

[0097] In this embodiment, the second user-made model refers to a model that includes an unconventional entity model among the user-made models, and the second user parameters are similar to the first user parameters.

[0098] In this embodiment, model similarity refers to the similar parts between models, the second parameter association is similar to the first parameter association, and the second setting parameter is determined based on the second parameter and the second user parameter. For example, the very solid model is a section of circular pipe, the second parameter is the inner and outer diameters of the pipe, the pipe stretching length, etc., the second user-made model is a section of circular pipe and a section of connected square pipe, the second user parameters are the length of the circular pipe, the inner and outer diameters of the pipe and the length of the square pipe, the size of the square pipe, etc., and the second setting parameter is the connecting pipe part parameter.

[0099] The beneficial effects of the above technical solution are: through the model similarity between the user-made model and the unconventional entity model, the parameter association between the parameters and the user parameters is determined, the setting parameters are determined, and the corresponding mathematical relationship is determined according to the description objects and positions of the parameters and the setting parameters. The values ​​of the calculated parameters and the setting parameters drive the model update, thereby realizing the parameterization of the unconventional entity model.

[0100] The embodiment of the present invention provides a method for implementing parameterization of entity features, which creates a basic graphic library of all parameterized entity models and a model display window, including:

[0101] Model classification is performed based on the complexity of the parameterized solid models;

[0102] Creating a model display window and a display directory for the model display window for each type of parameterized solid model;

[0103] At the same time, a basic graphics library is constructed based on the display models involved in all display directories.

[0104] In this embodiment, the complexity is determined according to the number and type of parameters of the parameterized entity model, and the classification is a first classification based on the parameter type and a second classification based on the number of parameters.

[0105] The beneficial effect of the above technical solution is: by classifying the parametric solid models, creating a basic graphic library and a model display window according to each type of parametric solid model, and setting a directory, it is convenient for users to find the required model according to their needs.

[0106] An embodiment of the present invention provides a method for implementing parameterization of entity features, which includes: creating a basic graphic library and a model display window based on all parameterized entity models; and

[0107] Get the model shape type and model boundary line set of each parameterized solid model;

[0108] performing a first single determination of line expansion and a second single determination of line contraction on each boundary line in the set of model boundary lines based on the model shape type, and adding a first variation constraint to the corresponding boundary line according to the first single determination result and the second single determination result;

[0109] Obtaining a model topology tree for each parameterized solid model, and determining a first angle and a first length of each single-branch boundary in the single-branch boundary tree based on the origin coordinates of the single-branch boundary tree, and combining the first variation constraint of each single-branch boundary to obtain a set of three-dimensional structures corresponding to the single-branch boundary tree;

[0110] Performing three-dimensional parameterization on each of the three-dimensional structures in the set of three-dimensional structures to determine structural deformation;

[0111] Obtaining a first constraint condition consistent with the initial shape type of the single-branch boundary tree from a type-condition mapping table, and selecting a first structure that satisfies the structural constraint condition at the minimum and a second structure that satisfies the structural constraint condition at the maximum from the structural deformation;

[0112] According to a second constraint condition consistent with the model topology tree, a first contradiction analysis is performed on all first structures and a second contradiction analysis is performed on all second structures to obtain a parameterized variation range of each model boundary line and a parameterized variation range of the boundary lines of different combination models;

[0113] Based on the obtained results, a boundary adjustment plan for the corresponding parameterized solid model is generated and retained.

[0114] In this embodiment, the model shape type is predetermined. For example, the parameterized solid model is in the shape of an umbrella, and the obtained model boundary line set includes the bead tail line, the center rod line, the umbrella head line, the umbrella rib line, the umbrella tail line, the umbrella strap line, etc.

[0115] In this embodiment, single determination refers to the maximum expansion (extension) and maximum contraction (stretching) of the corresponding line to determine that a single change to a certain line will not affect the shape of the model. That is, after the line is changed, the model can still be intuitively defined as an umbrella shape, and the expansion and contraction results of the line are the corresponding first change constraints. For example, the first change constraint of the middle bar line is (0,3m), which means that there is a certain constraint on the length of the middle bar line.

[0116] In this embodiment, the model topology tree is to embody the boundary lines in the corresponding model in a three-dimensional structure. For example, the line skeleton structure of the umbrella model can be regarded as the model topology tree.

[0117] In this embodiment, Figure 3 As shown, it is a single-branch boundary tree y0, where y01 is the origin coordinate, p01 is the corresponding first length, and a1 is the corresponding angle, which refers to the angle between the line and the center line of the single-branch boundary tree. The three-dimensional structure set includes several three-dimensional structures, and by changing the angles and lengths of different lines on the single-branch boundary tree (at this time, it can be just a simple manual adjustment of the lines, but the specific adjustment values ​​require subsequent parameterization to know), the corresponding three-dimensional structure can be obtained.

[0118] In this embodiment, three-dimensional parameterization refers to parameterizing the length and angle of the changes to determine the structural deformation.

[0119] In this embodiment, the type-condition mapping table includes different shape types and constraints consistent with the shape types, because it is necessary to ensure to the greatest extent possible that the adjusted structure is still the same type of structure. For example, if the ribs of an umbrella are enlarged or reduced in the same proportion, the corresponding shapes are all umbrella shapes.

[0120] In this embodiment, the maximum satisfaction of the structural constraint condition means that the umbrella shape at this time is completely standard, and the minimum satisfaction of the structural constraint condition means that the umbrella shape at this time is not standard, but it is still an umbrella shape. If at this time, any line of the structure continues to move closer to the non-satisfaction situation, it can no longer be regarded as an umbrella shape. At this time, each single-branch boundary tree has two structures.

[0121] In this embodiment, since a single analysis is performed on a single-branch boundary tree, the entire model needs to be analyzed subsequently to ensure a parameterized condition of the entire model.

[0122] In this embodiment, the second constraint condition is a constraint based on the entire model. In order to determine the retained boundary of the model shape, a contradiction analysis is performed on the first structure and the second structure to comprehensively determine the effective parameter variation range of the boundary line of the model, thereby facilitating flexible adjustment of the boundary line.

[0123] In this embodiment, the purpose of the first contradiction analysis and the second contradiction analysis is to avoid changes in the shape of the model when different boundary lines are adjusted.

[0124] In this embodiment, for example, for the parachute center lines in the first structure 1 and the second structure 2, the parachute center of structure 1 is 1 m, and the parachute center of structure 2 is 1.1 m. At this time, it is necessary to select the best value from the two parameters as the construction standard.

[0125] In this embodiment, generally, there are two boundary values ​​for minimum satisfaction of the structural constraint condition. For example, the center line of an umbrella has a maximum length and a minimum length.

[0126] In this embodiment, for example, the parameterized variation range of model boundary line 1 is (a1, a2), and the parameterized variation range of the combined model boundary line including model boundary line 1 is (b1, b2). At this time, the final range for model boundary line 1 can be generated, which is the intersection range of (a1, a2) and (b1, b2).

[0127] In this embodiment, the model is structured to analyze the parameter variable range of each edge line and the parameter variable range of the combination line, and finally a boundary adjustment scheme for the model is formulated to the greatest extent possible. For example, when adjusting the umbrella shape, each support line of the umbrella frame can be reduced in proportion, or enlarged or reduced in different proportions. In short, no support line has a length greater than 2m, and the length of the corresponding umbrella center line does not have to be greater than 2m. At this time, if only the support lines and the umbrella center line are adjusted, it is sufficient to meet these two conditions. A boundary adjustment scheme is formulated based on these two conditions. It appears that excessive adjustment of a certain boundary has led to a qualitative change in the shape of the final model.

[0128] The beneficial effects of the above technical solution are: through the model shape type, the boundary lines in the model boundary line set are individually determined to be expanded or contracted, and then change constraints are added. In combination with the angle and length of the origin coordinates of the single-branch boundary tree of the model, the set of three-dimensional structures corresponding to the single-branch boundary tree is determined, the three-dimensional structures are three-dimensionally parameterized, the structural deformation is determined, the structures that meet the structural constraints are screened, the structures are analyzed for contradictions, the parameterized change range is determined, and the change range of the model is constrained to facilitate user construction and use.

[0129] A 3D graphics platform for solid features, such as Figure 2 Shown, including:

[0130] Conventional solid model parameterization module: For conventional solids, a conventional solid model is drawn and the first parameter in the conventional solid model is extracted. A first mathematical relationship between the first parameter and a first setting parameter is defined through a formula editor, and the values ​​of the first parameter and the first setting parameter are calculated through an expression solver to drive the model update, thereby realizing parameterization of the conventional solid model.

[0131] Unconventional solid model parameterization module: For unconventional solids, one or more sketches are drawn using the sketching function. The motion of the sketch is defined to generate a feature entity. The second parameter generated by the sketch and the motion is extracted. The second mathematical relationship between the second parameter and the second set parameter is defined using the formula editor. The value of the second parameter and the second set parameter is calculated based on the expression solver to drive the model update, thus achieving parameterization of unconventional solid models.

[0132] Basic graphics library and model display module: Create basic graphics library and model display window for all parametric solid models.

[0133] The beneficial effects of the above technical solution are: through the mathematical relationship between the parameters of the conventional entity model and the set parameters, the parameters and the set parameters are calculated, the model update is driven, the parameterization of the conventional entity model is realized, the sketch of the unconventional entity is drawn, and based on the movement mode of the defined sketch, the characteristic entity and the corresponding parameters are determined, the mathematical relationship between the parameters and the set parameters is determined, the parameters and the set parameters are calculated, the model update is driven, the parameterization of the unconventional entity model is realized, and a basic graphics library and a model display window are created to provide a rich parametric model, which is convenient for flexible and arbitrary use to improve the efficiency of users in building models.

[0134] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A parameterized implementation method for entity features, characterized in that: include: Step 1: For a conventional entity, a conventional entity model is drawn and a first parameter in the conventional entity model is extracted. A first mathematical relationship between the first parameter and a first setting parameter is defined through a formula editor, and the values ​​of the first parameter and the first setting parameter are calculated through an expression solver to drive the model update, thereby realizing parameterization of the conventional entity model. Step 2: For unconventional entities, use the sketching function to draw one or more sketches, and define the motion of the sketches to generate feature entities. At the same time, extract the second parameter generated by the sketch and the motion process, define the second mathematical relationship between the second parameter and the second setting parameter through the formula editor, and calculate the value of the second parameter and the second setting parameter based on the expression solver to drive the model update, thereby realizing the parameterization of the unconventional entity model. Step 3: Create a basic graphic library and model display window for all parametric solid models; Get the model shape type and model boundary line set of each parameterized solid model; performing a first single determination of line expansion and a second single determination of line contraction on each boundary line in the set of model boundary lines based on the model shape type, and adding a first variation constraint to the corresponding boundary line according to the first single determination result and the second single determination result; Obtaining a model topology tree for each parameterized solid model, and determining a first angle and a first length of each single-branch boundary in the single-branch boundary tree based on the origin coordinates of the single-branch boundary tree, and combining the first variation constraint of each single-branch boundary to obtain a set of three-dimensional structures corresponding to the single-branch boundary tree; Performing three-dimensional parameterization on each of the three-dimensional structures in the set of three-dimensional structures to determine structural deformation; Obtaining a first constraint condition consistent with the initial shape type of the single-branch boundary tree from a type-condition mapping table, and selecting a first structure that satisfies the structural constraint condition at the minimum and a second structure that satisfies the structural constraint condition at the maximum from the structural deformation; According to a second constraint condition consistent with the model topology tree, a first contradiction analysis is performed on all first structures and a second contradiction analysis is performed on all second structures to obtain a parameterized variation range of each model boundary line and a parameterized variation range of the boundary lines of different combination models; Based on the obtained results, a boundary adjustment plan for the corresponding parameterized solid model is generated and retained.

2. A parameterized implementation method for entity features according to claim 1, characterized in that: For a conventional entity, a conventional entity model is drawn and a first parameter in the conventional entity model is extracted. A first mathematical relationship between the first parameter and a first setting parameter is defined through a formula editor, and the values ​​of the first parameter and the first setting parameter are calculated through an expression solver to drive the model update, thereby realizing parameterization of the conventional entity model, including: Obtain a conventional entity, draw a conventional entity model according to the drawing software, and obtain a description method of the conventional entity model; extracting a first parameter of the conventional solid model according to the description method; Obtaining a first user-made model and corresponding first user parameters; Determining a first parameter association between the first user parameter and the first parameter according to an association relationship between the first user-made model and the conventional entity model, and obtaining a first setting parameter; Determining, according to the description objects and positions of the first parameter and the first setting parameter, the associated first parameter and the first setting parameter; defining a first mathematical relationship between the associated first parameter and the first setting parameter based on a formula editor; Calculating the values ​​of the first parameter and the first setting parameter by using an expression solver and combining the first mathematical relationship; Based on the solved values ​​and the order relationship of the solved values, the conventional entity model is driven to be updated to achieve parameterization of the conventional entity model.

3. A parameterized implementation method of entity features according to claim 2, characterized in that: Determining, according to the description objects and positions of the first parameter and the first setting parameter, that the first parameter and the first setting parameter are associated with each other includes: ;in, Indicates the correlation between the i-th first parameter and the j-th first setting parameter; Indicates the parameter type matching degree between the i-th first parameter and the j-th first setting parameter; represents the parameter effect characteristic value of the i-th first parameter; represents the parameter effect characteristic value of the jth first setting parameter; The distance value representing the description object of the i-th first parameter and the j-th first setting parameter; and The value of is (0, 1); exp represents the exponential function; The first parameter and the first setting parameter whose correlation is greater than the preset correlation are regarded as the first parameter and the first setting parameter having correlation.

4. A parameterized implementation method of entity features according to claim 1, characterized in that: For non-conventional entities, use the sketching function to draw one or more sketches, and generate feature entities by defining the motion of the sketch. At the same time, extract the sketch and the second parameters generated during the motion process, including: Convert unconventional entities into two dimensions, draw one or more sketches using the sketching function, and extract sketch parameters; By defining a motion mode of a sketch, performing motion operations on the sketch, generating a corresponding feature entity, and drawing a feature entity model as an unconventional entity model corresponding to the unconventional entity; Analyzing the motion trajectory during the sketch motion operation to determine motion parameters of the motion trajectory; Take sketch parameters and motion parameters as second parameters.

5. The method for parameterizing entity features according to claim 1, wherein: The second mathematical relationship between the second parameter and the second setting parameter is defined through the formula editor, and the values ​​of the second parameter and the second setting parameter are calculated based on the expression solver to drive the model update, thereby realizing the parameterization of unconventional solid models, including: Obtaining a second user-made model and corresponding second user parameters; Determining an association between the second parameter and the second parameter of the second user parameter based on a model similarity between the second user-made model and the unconventional physical model, and determining a second setting parameter; Determine a second mathematical relationship between the second parameter and the second setting parameter according to the description object and position of the second parameter and the second setting parameter, and define the relationship through a formula editor input by a user; The expression solver is used to calculate the value of the second parameter and the second setting parameter in combination with the second mathematical relationship to drive the model update and realize the parameterization of the unconventional solid model.

6. A parameterized implementation method for entity features according to claim 1, characterized in that: Create basic graphics libraries and model display windows for all parametric solid models, including: Model classification is performed based on the complexity of the parameterized solid models; Creating a model display window and a display directory for the model display window for each type of parameterized solid model; At the same time, a basic graphics library is constructed based on the display models involved in all display directories.

7. A three-dimensional graphics platform for entity features, characterized in that: include: Conventional solid model parameterization module: For conventional solids, a conventional solid model is drawn and the first parameter in the conventional solid model is extracted. A first mathematical relationship between the first parameter and a first setting parameter is defined through a formula editor, and the values ​​of the first parameter and the first setting parameter are calculated through an expression solver to drive the model update, thereby realizing parameterization of the conventional solid model. Unconventional solid model parameterization module: For unconventional solids, one or more sketches are drawn using the sketching function. The motion of the sketch is defined to generate a feature entity. The second parameter generated by the sketch and the motion is extracted. The second mathematical relationship between the second parameter and the second set parameter is defined using the formula editor. The value of the second parameter and the second set parameter is calculated based on the expression solver to drive the model update, thus achieving parameterization of unconventional solid models. Basic graphics library and model display module: Create basic graphics library and model display window for all parametric solid models; Get the model shape type and model boundary line set of each parameterized solid model; performing a first single determination of line expansion and a second single determination of line contraction on each boundary line in the set of model boundary lines based on the model shape type, and adding a first variation constraint to the corresponding boundary line according to the first single determination result and the second single determination result; Obtaining a model topology tree for each parameterized solid model, and determining a first angle and a first length of each single-branch boundary in the single-branch boundary tree based on the origin coordinates of the single-branch boundary tree, and combining the first variation constraint of each single-branch boundary to obtain a set of three-dimensional structures corresponding to the single-branch boundary tree; Performing three-dimensional parameterization on each of the three-dimensional structures in the set of three-dimensional structures to determine structural deformation; Obtaining a first constraint condition consistent with the initial shape type of the single-branch boundary tree from a type-condition mapping table, and selecting a first structure that satisfies the structural constraint condition at the minimum and a second structure that satisfies the structural constraint condition at the maximum from the structural deformation; According to a second constraint condition consistent with the model topology tree, a first contradiction analysis is performed on all first structures and a second contradiction analysis is performed on all second structures to obtain a parameterized variation range of each model boundary line and a parameterized variation range of the boundary lines of different combination models; Based on the obtained results, a boundary adjustment plan for the corresponding parameterized solid model is generated and retained.

Citation Information

Patent Citations

  • Template, process and automatic model design method for pipeline system

    CN115114749A

  • Method for determining effective volume of bulk material pile based on three-dimensional parametric modeling

    CN116070326A