Sub-pipe and call system and method for a dedicated 3D equipment library of a punching platform for a refrigerator inner liner

Through the 3D equipment library management and calling system for the refrigerator inner liner punching platform, the component assembly is used as the basic unit to achieve rapid modeling, solving the problem of inefficient design in the existing technology and improving the design efficiency of the refrigerator inner liner punching platform.

CN115146415BActive Publication Date: 2025-07-18CHUZHOU KECHUANG MOULD MFG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210903923.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2025-07-18
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

In the design of refrigerator inner borehole platform, a large number of parts need to be modified or deleted separately, resulting in inefficient design and easy operational errors. Especially on large equipment, the dimensional relationship and assembly relationship between parts are complex, which increases the design burden.

Method used

The 3D equipment library management and calling system is adopted for the refrigerator inner liner punching platform, and the component assembly is used as the basic unit. Through database calls, size parameter modification and position transformation, rapid modeling is achieved, design steps are simplified and efficiency is improved.

Benefits of technology

Through the parameterized design method with component assembly as the basic unit, the design cycle of the refrigerator inner liner punching platform series products is shortened, the design efficiency is improved, the repeated operation and time loss is reduced, and design errors are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115146415B_ABST
    Figure CN115146415B_ABST
Patent Text Reader

Abstract

The present invention discloses a branch management and call system and method for a dedicated 3D equipment library of a refrigerator inner liner punching platform. The system is developed based on NXOpen C++ and Block Styler in the NX software, and includes: a database, a call module, and a branch management module; wherein, the call module includes: a model classification list unit, a model import unit, and a model size parameter modification unit; the branch management module includes: a model position transformation unit and a model continuous replication unit. The present invention designs a parametric modeling method with the assembly of the refrigerator inner liner punching platform components as the basic unit, thereby effectively reducing the design complexity of the refrigerator inner liner punching platform products and shortening the design cycle of the refrigerator inner liner punching platform series products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of the industrial refrigerator automated production equipment, and relates to a dedicated equipment library branch management and call system and its implementation method and steps for a refrigerator inner liner punching platform based on NX. Background Art

[0002] At present, the automated production equipment of relevant companies that can serve the refrigerator inner liner punching process already has mature technical support, and has also accumulated quite rich design experience in this field; for new product designs, it is often only necessary to find the member parts with similar functions from the relevant design schemes of past orders according to the needs of this user, replace the inappropriate parts of the original with the local structures of the new design, and then make appropriate recombination and size adjustment to complete;

[0003] However, even so, the designers of the project still need to make a large number of modification or deletion commands with individual parts or even individual features on their design trees as the basic operation units; the total number of parts on large-scale equipment is self-evident. Even if only some features of some parts need to be adjusted or deleted, it will take a lot of time and effort; at the same time, there are dimensional associations and assembly relationships between some parts on large-scale equipment; although it can be well taken into account in a single modification or deletion operation, a large number of repetitive tasks will also lead to operation errors, increase the design burden, and reduce the design efficiency. Summary of the Invention

[0004] The present invention is to solve the above-mentioned deficiencies of the prior art, and proposes a branch management and call system and method for a dedicated 3D equipment library for a refrigerator inner liner punching platform. Taking the component assembly as the basic unit, by calling the component assembly model in the database and modifying its dimension values, the rapid modeling of the product model of the refrigerator inner liner punching platform can be realized, so as to shorten the design cycle of the series of equipment products of the refrigerator inner liner punching platform, simplify the design steps, and greatly improve the design efficiency of the product.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] A branch management and call system for a dedicated 3D equipment library for a refrigerator inner liner punching platform according to the present invention is characterized in that it is applied to the NX software platform and includes: a database, a call module, and a branch management module;

[0007] The database stores models with component assembly models as the basic unit; each component assembly contains a corresponding name attribute, dimension attribute, function attribute, and corresponding two-dimensional preview picture;

[0008] The call module includes: a model classification list unit, a model import unit, and a model dimension parameter modification unit;

[0009] The model classification list unit is used to obtain the attribute information and 2D preview pictures of the component assembly model in the database and display them classified;

[0010] The model import unit first performs 3D modeling on the component assembly model on the NX software platform and uses it as the source model; associates the "expressions" on the NX software platform with the dimension parameters of the component assembly model, and then establishes the association between the dimension parameters of the part model under the component assembly model and the dimension parameters of the component assembly model by using mathematical function relations; and compiles the component assembly model by using the NXOpen C++ library function to obtain the import function of new dimension information, which is used to modify the dimension information of the component assembly model and import it into the modeling environment of the NX software, so as to generate a new component assembly model;

[0011] The model dimension parameter modification unit is used to modify the dimension parameters of the component assembly model imported into the modeling environment, including: selecting the component assembly model to be modified through the selection control provided by Block.UI and obtaining its attribute information, modifying the dimension parameters associated with the "expressions" corresponding to the component assembly model to modify the dimension value of the component assembly model, and passing the modified dimension value down to the part model, so that the shape of the part model changes and feeds back upward to the component assembly model, thereby realizing the dimension modification of the component assembly model;

[0012] The sub - pipe module includes: a model position transformation unit and a model continuous replication unit;

[0013] The model position transformation unit performs an orientation transformation operation on the model imported into the modeling environment and completed parameter initialization in the NX software environment. Through the callback function when the CSYS coordinate control in the Block styler function is refreshed, it obtains the coordinate origin and coordinate matrix of the component assembly model before and after two adjacent position adjustments, calculates the three - dimensional difference between the two coordinate origins, and combines the 3 - order difference matrix between the two coordinate matrices to construct a 4 - order affine transformation matrix before and after the two position adjustments, so as to obtain the position change result of the component assembly model through the 4 - order affine transformation matrix;

[0014] The model continuous replication unit is used to perform a self - replication operation on the model imported into the modeling environment and completed parameter initialization in the NX software environment, and also realizes the orientation transformation operation of the replicated body in the NX software environment by calling the model position transformation unit.

[0015] The characteristics of a method for sub - pipe and call of a 3D equipment library dedicated to the punching platform of a refrigerator inner liner according to the present invention are carried out according to the following steps;

[0016] Step 1: Perform 3D modeling on the given parts on the NX software platform to obtain the models of each part; and based on the structural relationship of the punching platform equipment for the refrigerator inner liner, assemble the models of each part on the premise of realizing a complete function to obtain the assembly models of each component, and store them in the database as the source models;

[0017] Step 2: Complete the settings for the assembly model of the component;

[0018] Step 2.1: Use the "expressions" on the NX software platform to associate the dimensional parameters of each part model in the assembly model of the component to control the change of the dimensional parameters of the source model;

[0019] Step 2.2: Analyze the constraint relationships of the part models in the assembly model of the component, and establish dimensional associations for the constraint relationships of the part models using mathematical function relationships, so that when the dimensional parameters of the assembly model of the component change, the constraint relationships between its part models can be satisfied;

[0020] Step 2.3: Mark the attributes of the components and part models under the assembly model of the component;

[0021] Mark each assembly model of the component with a string-type attribute variable, then mark each part model under the assembly model of the component with an integer-type attribute variable, and use the magnitude of the integer-type attribute variable value in each of its part models to represent the priority of the part model in the assembly model of the component, and the larger the integer-type attribute variable value, the higher the priority;

[0022] Step 2.4: Set the binding relationship between the assembly model of the component and its own parameter configuration;

[0023] Use the name of the assembly model of the component as the keyword key, and the pointer function bound to the parameter configuration of the source model as the value; use a generic associative container based on the hash table dictionary structure to establish a high-efficiency access mapping between the keyword key and the value, so that an association is formed between the source model and its parameter configuration;

[0024] Step 3: Store the name attribute, dimensional attribute, functional attribute of each assembly model of the component and the corresponding 2D preview diagram in the database;

[0025] Step 4: Traverse the name attribute, functional attribute and the corresponding 2D preview diagram information of the assembly models of the component in the database, classify the assembly models of the component according to different functional attributes, and then classify and display the name attribute and 2D preview diagram information of the assembly models of the component in the model classification list;

[0026] Step 5: Select the displayed component assembly model, obtain the name attribute, dimension attribute, and corresponding 2D preview image information of the corresponding component assembly model from the database, display the dimension attribute and 2D preview image information on the parameter configuration list, and then find the corresponding parameter configuration through the name attribute and modify it to modify the dimension parameters of the component assembly model, so as to obtain an updated component assembly model to achieve rapid modeling;

[0027] Step 6: Change the position of the updated component assembly model;

[0028] With the callback function when the CSYS coordinate control in the Block styler function is refreshed, obtain the coordinate origin and coordinate matrix of the component assembly model before and after two adjacent position adjustments, calculate the three-dimensional difference between the two coordinate origins, and combine the 3rd-order difference matrix between the two coordinate matrices to construct a 4th-order affine transformation matrix before and after the two position adjustments, so as to obtain the position change result of the component assembly model through the 4th-order affine transformation matrix;

[0029] Step 7: Copy the updated component assembly model through the UF_CLONE_add_assembly cloning function, and then change the position of the copied component assembly model according to the process of Step 6 to achieve continuous copying and moving of the model.

[0030] The characteristics of the branch management and call method of the present invention also lie in that Step 4 is based on UFUN and NXOpen development tools and is carried out according to the following process:

[0031] Step 4.1: Traverse the database, and use the UF_ATTR_read_value function to obtain the name attribute, dimension attribute, and corresponding 2D preview image information of the component assembly model from the database;

[0032] Step 4.2: Display the name attribute of the model on the tree list of the model classification list through the NXOpen::BlockStyler::Tree* tree list control, and display the corresponding 2D preview image of the model on the drawing area of the model classification list through the NXOpen::BlockStyler::DrawingArea* drawing control.

[0033] The said Step 5 is based on UFUN and NXOpen development tools and is carried out according to the following process:

[0034] Step 5.1: Select the component assembly model, and use the UF_ATTR_read_value function to obtain the name attribute, dimension attribute, and corresponding 2D preview image information of the model from the database;

[0035] Step 5.2, use the NXOpen::BlockStyler::ExpressionBlock expression control to display the model's size information on the expression of the parameter configuration list, and use the NXOpen::BlockStyler::DrawingArea* drawing control to display the corresponding 2D preview of the model on the drawing area of the parameter configuration list;

[0036] Step 5.3, import the component assembly model through the UF_PART_import function and open the parameter configuration list corresponding to the model; modify the value of the expression on the parameter configuration list through the UF_MODL_edit_exp function, thereby modifying the size value of the imported component assembly model;

[0037] Step 5.4, update the component assembly model after the size modification through the UF_MODL_update() function, refresh the display of the model through the UF_DISP_refresh() function, and then export the model through the UF_PART_export() function and save it as a new component assembly model, thereby realizing the rapid modeling of the component assembly model of the refrigerator liner punching device.

[0038] Compared with the prior art, the present invention has the following outstanding advantages:

[0039] 1. The present invention uses a parametric design method with functional component assembly as the basic operation unit to develop a rapid calling process of the 3D model of the special member equipment related to the refrigerator liner punching platform, which is highly targeted; the designer selects the model in the system database to realize the calling and position placement of the specified key sub-equipment model on the assembly model, and the "expression" function improved by NX is used to realize the rapid modification of the model size, which reduces a large number of repeated operations of the designer and also avoids the time loss caused by complex modeling;

[0040] 2. The present invention proposes a method for quickly calling a 3D model in a specified template library and quickly modifying its related dimensions; by using the mutual coordination of NX expressions and part attribute tables, the dimensions of the parts within and between the parts of various functional sub-equipment models are linked, which eliminates the inconvenience of designers repeatedly switching operating environments between different parts and features, and can accurately achieve the dimensional coordination between the parts in the sub-equipment, so that a single sub-equipment model can become the basic operation unit for designers to adjust the dimensions during structural design, breaking through the complexity of the operation of using a single part as the basic unit for adjusting the dimensions and the limitation of only being able to transfer expression values within the part;

[0041] 3. The present invention finds the corresponding parameter configuration module by selecting the component assembly model in all the databases existing or imported in the assembly environment, and provides a method for quickly modifying the model size. This method is more intuitive and convenient than the previous way of selecting the name in the management window list and then popping up the corresponding module to modify the size. It not only saves the operation time of designers, but also can adjust the size of the current target component according to the conditions of other surrounding components, greatly improving the efficiency of repeatedly modifying the size steps in the design process.

[0042] In summary, the present invention helps to achieve an efficient human-computer interaction method with component assembly call, movement, and modification as basic operations in the NX software. Furthermore, a new 3D general assembly model of the refrigerator inner liner punching platform can be built based on the reasonable overall planning and deployment of each key component assembly. At the same time, a sub-assembly quick modification window is provided, which is convenient for designers to make quick corrections during subsequent error troubleshooting and make targeted modifications to local structures in response to changes in actual situations. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 is the overall framework diagram of the system of the present invention;

[0044] Figure 2 is the structural schematic diagram of the system of the present invention;

[0045] Figure 3 is the diagram for setting the size relationship of the system model;

[0046] Figure 4 is the schematic diagram of the parametric design principle of the system of the present invention;

[0047] Figure 5 is the schematic diagram of the principle of moving the position of the system model of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0048] In this embodiment, a more efficient human-computer interaction approach is developed, providing a dedicated equipment library management and call system and its implementation methods and steps based on the NX software platform and for the refrigerator inner liner punching platform. It can realize the parametric mechanical structure design of the refrigerator inner liner punching platform by relevant designers with functional sub-component models and functional sub-part models as basic operation units. Thus, designers can be liberated from a large number of similar and trivial basic part feature operations, and can focus more on the control of the whole machine model, the coordination of some functional sub-equipments, and the overall deployment of global components;

[0049] In this embodiment, a 3D member equipment model library management and call system is made using the Block Styler UI built into Siemens' NX. It includes a 3D member equipment model library call window, a 3D member equipment model library management window, and a 3D equipment model quick modification window that can conveniently modify the imported instantiated model later. By means of the Visual Studio 2012 compilation platform, the encapsulation of the button instruction reception process in the three windows and the encapsulation of the specific function responses of the corresponding associated objects are realized, and seamless integration with the NX platform is achieved through the application programming interface API (Application Programming Interface) provided by NXOpen C++, such as Figure 1 shown;

[0050] such as Figure 2 shown, a management and call system for a dedicated 3D equipment library for a refrigerator inner liner punching platform is applied to the NX software platform and includes: a database, a call module, and a management module;

[0051] The database stores models with component assembly models as basic units; each component assembly has a corresponding name attribute, size attribute, function attribute, and corresponding two-dimensional preview picture;

[0052] The call module includes: a model classification list unit, a model import unit, and a model size parameter modification unit;

[0053] The model classification list unit is used to obtain the attribute information and two-dimensional preview pictures of the component assembly models in the database and display them classified;

[0054] The model import unit first performs three-dimensional modeling on the component assembly model on the NX software platform and uses it as the source model; associates the "expressions" on the NX software platform with the size parameters of the component assembly model, and then establishes the association between the size parameters of the part models under the component assembly model and the size parameters of the component assembly model using mathematical function relationships; and uses the NXOpen C++ library function to compile the component assembly model to obtain the import function of the new size information, which is used to modify the size information of the component assembly model and import it into the modeling environment of the NX software, thereby generating a new component assembly model;

[0055] The model size parameter modification unit is used to modify the size parameters of the component assembly model imported into the modeling environment, including: selecting the component assembly model to be modified through the selection control provided by Block.UI and obtaining its attribute information, modifying the size parameters associated with the "expression" corresponding to the component assembly model to modify the size value of the component assembly model, and passing the modified size value down to the part model, causing the shape of the part model to change and feeding back upward to the component assembly model, thereby realizing the size modification of the component assembly model;

[0056] As Figure 3 shown, the system realizes the one-to-one correspondence between "variables", "expressions" and model sizes, so that the system can control the size value of the model by changing the "variable" value, thereby realizing model modification;

[0057] The sub-module includes: a model position transformation unit and a model continuous replication unit;

[0058] The model position transformation unit performs an orientation transformation operation on the model imported into the modeling environment and completed parameter initialization in the NX software environment. Through the callback function when the CSYS coordinate control in the Block styler function is refreshed, the coordinate origin and coordinate matrix of the component assembly model before and after two adjacent position adjustments are obtained, the three-dimensional difference between the two coordinate origins is calculated, and a 4th-order affine transformation matrix before and after the two position adjustments is constructed by combining the 3rd-order difference matrix between the two coordinate matrices, so as to obtain the position change result of the component assembly model through the 4th-order affine transformation matrix;

[0059] The model continuous replication unit is used to perform a self-replication operation on the model imported into the modeling environment and completed parameter initialization in the NX software environment, and also realizes the orientation transformation operation of the replicated body in the NX software environment by calling the model position transformation unit.

[0060] In this embodiment, a method for sub-managing and calling a dedicated equipment library for a refrigerator inner liner punching platform is carried out according to the following steps:

[0061] Step 1: Perform 3D modeling on the given parts on the NX software platform to obtain each part model; and according to the structural relationship of the refrigerator inner liner punching platform equipment, assemble each part model on the premise of realizing a complete function to obtain each component assembly model, and store them in the database as source models;

[0062] Step 2: Complete the setting of the component assembly model;

[0063] Step 2.1: Use the "expressions" on the NX software platform to associate the dimensional parameters of each part model in the component assembly model, so as to control the changes in the dimensional parameters of the source model;

[0064] Step 2.2: Analyze the constraint relationships of the part models in the component assembly model, and establish dimensional associations for the constraint relationships of the part models using mathematical function relationships, so that when the dimensional parameters of the component assembly model change, the constraint relationships between its part models can be satisfied;

[0065] Step 2.3: Mark the attributes of the components and part models under the component assembly model;

[0066] Mark each component assembly model with a string-type attribute variable, then mark each part model under the component assembly model with an integer-type attribute variable, and use the magnitude of the integer-type attribute variable value in each of its part models to represent the priority of the part model in the component assembly model, and the larger the integer-type attribute variable value, the higher the priority;

[0067] Step 2.4: Set the binding relationship between the component assembly model and its own parameter configuration;

[0068] Use the name of the component assembly model as the keyword key, and the pointer function bound to the parameter configuration of the source model as the value value; use a generic associative container based on a hash table dictionary structure to establish a high-efficiency access mapping between the keyword key and the value value, so that an association is formed between the source model and its parameter configuration;

[0069] Step 3: Store the name attributes, dimensional attributes, functional attributes of each component assembly model, and the corresponding 2D preview diagrams in the database;

[0070] Step 4: Traverse the name attributes, functional attributes, and the corresponding 2D preview diagram information of the component assembly models in the database, classify the component assembly models according to different functional attributes, and then classify and display the name attributes and 2D preview diagram information of the component assembly models in the model classification list;

[0071] Step 4.1: Traverse the database, and use the UF_ATTR_read_value function to obtain the name attributes, dimensional attributes, and the corresponding 2D preview diagram information of the component assembly models from the database;

[0072] Step 4.2: Display the name attribute of the model on the tree list of the model classification list through the NXOpen::BlockStyler::Tree* tree list control, and display the 2D preview image corresponding to the model on the drawing area of the model classification list through the NXOpen::BlockStyler::DrawingArea* drawing control.

[0073] Step 5: Select the displayed component assembly model, obtain the name attribute, dimension attribute, and corresponding 2D preview image information of the corresponding component assembly model from the database, display the dimension attribute and 2D preview image information on the parameter configuration list, and then find the corresponding parameter configuration through the name attribute and modify it to modify the dimension parameters of the component assembly model, so as to obtain an updated component assembly model, so as to achieve rapid modeling, as Figure 4 shown;

[0074] Step 5.1: Select the component assembly model, and obtain the name attribute, dimension attribute, and corresponding 2D preview image information of the model from the database through the UF_ATTR_read_value function;

[0075] Step 5.2: Display the dimension information of the model on the expression of the parameter configuration list through the NXOpen::BlockStyler::ExpressionBlock expression control, and display the 2D preview image corresponding to the model on the drawing area of the parameter configuration list through the NXOpen::BlockStyler::DrawingArea* drawing control;

[0076] Step 5.3: Import the component assembly model through the UF_PART_import function and open the parameter configuration list corresponding to the model; modify the value of the expression on the parameter configuration list through the function UF_MODL_edit_exp, so as to modify the dimension value of the imported component assembly model;

[0077] Step 5.4: Update the component assembly model with modified dimensions through the UF_MODL_update() function, refresh the display of the model through the UF_DISP_refresh() function, and then export and save the model as a new component assembly model through the UF_PART_export() function, so as to achieve rapid modeling of the component assembly model of the refrigerator inner liner punching device.

[0078] Step 6: Change the position of the updated component assembly model;

[0079] By using the callback function during the refresh of the CSYS coordinate control in the Block styler function, obtain the coordinate origin and coordinate matrix of the component assembly model before and after two adjacent position adjustments, calculate the three-dimensional difference between the two coordinate origins, and combine the 3rd-order difference matrix between the two coordinate matrices to construct a 4th-order affine transformation matrix before and after the two position adjustments. Thus, obtain the position change result of the component assembly model through the 4th-order affine transformation matrix, thereby realizing the position movement of the component assembly model, as Figure 5 shown.

[0080] Step 7: Use the UF_CLONE_add_assembly cloning function to copy the updated component assembly model, and thus change the position of the copied component assembly model according to the process in Step 6 to realize the continuous copying and movement of the model.

Claims

1. A management and call system for the dedicated 3D equipment library of the punching platform for the refrigerator inner liner It is characterized in that it is applied to the NX software platform and includes: a database, a call module, and a management module; The database stores models with the component assembly model as the basic unit; each component assembly has a corresponding name attribute, size attribute, function attribute, and corresponding 2D preview picture; The call module includes: a model classification list unit, a model import unit, and a model size parameter modification unit; The model classification list unit is used to obtain the attribute information and 2D preview pictures of the component assembly models in the database and display them classified; The model import unit first performs 3D modeling on the component assembly model on the NX software platform and uses it as the source model; associates the "expressions" on the NX software platform with the size parameters of the component assembly model, and then establishes the association between the size parameters of the part models under the component assembly model and the size parameters of the component assembly model using mathematical function relationships; and uses the NXOpen C++ library function to compile the component assembly model to obtain the import function of the new size information, which is used to modify the size information of the component assembly model and import it into the modeling environment of the NX software, thereby generating a new component assembly model; The model size parameter modification unit is used to modify the size parameters of the component assembly model imported into the modeling environment, including: selecting the component assembly model to be modified through the selection control provided by Block.UI and obtaining its attribute information, modifying the size parameters associated with the "expressions" corresponding to the component assembly model to modify the size value of the component assembly model, and passing the modified size value down to the part model, causing the shape of the part model to change and feeding back upward to the component assembly model, thereby realizing the size modification of the component assembly model; The management module includes: a model position transformation unit and a model continuous replication unit; The model position transformation unit performs orientation transformation operations on the model imported into the modeling environment and completed parameter initialization in the NX software environment. Through the callback function when the CSYS coordinate control in the Block styler function is refreshed, it obtains the coordinate origin and coordinate matrix of the component assembly model before and after two adjacent position adjustments, calculates the three-dimensional difference between the two coordinate origins, and combines the 3rd-order difference matrix between the two coordinate matrices to construct a 4th-order affine transformation matrix before and after the two position adjustments, thereby obtaining the position change result of the component assembly model through the 4th-order affine transformation matrix; The model continuous replication unit is used to perform self-replication operations on the model imported into the modeling environment and completed parameter initialization in the NX software environment, and also realizes the orientation transformation operations of the replicated body in the NX software environment by calling the model position transformation unit.

2. A method for managing and invoking branch pipes in a dedicated 3D equipment library for a punching platform of a refrigerator inner liner, characterized in that It is carried out according to the following steps; Step 1: Perform 3D modeling on the given parts on the NX software platform to obtain individual part models; and based on the structural relationships of the punching platform equipment for the refrigerator inner liner, assemble the individual part models on the premise of achieving a complete function to obtain the assembled models of each component, and store them in the database as the source models. Step 2: Complete the settings for the assembled model of the component. Step 2.1: Use the "expressions" on the NX software platform to associate the dimensional parameters of each part model in the assembled model of the component to control the changes in the dimensional parameters of the source model. Step 2.2: Analyze the constraint relationships of the part models in the assembled model of the component, and establish dimensional associations for the constraint relationships of the part models using mathematical function relationships, so that when the dimensional parameters of the assembled model of the component change, the constraint relationships between its part models can be satisfied. Step 2.3: Mark the attributes of the components and part models under the assembled model of the component. Mark each assembled model of the component with a string-type attribute variable, then mark each part model under the assembled model of the component with an integer-type attribute variable, and use the magnitude of the integer-type attribute variable value in each of its part models to represent the priority of the part model in the assembled model of the component, and the larger the integer-type attribute variable value, the higher the priority. Step 2.4: Set the binding relationship between the assembled model of the component and its own parameter configuration. Use the name of the assembled model of the component as the keyword key, and the pointer function bound to the parameter configuration of the source model as the value; use a generic associative container based on the hash table dictionary structure to establish a high-efficiency access mapping between the keyword key and the value, so that an association is formed between the source model and its parameter configuration. Step 3: Store the name attributes, dimensional attributes, functional attributes of each assembled model of the component, and the corresponding 2D preview diagrams in the database. Step 4: Traverse the name attributes, functional attributes, and corresponding 2D preview diagram information of the assembled models of the components in the database, classify the assembled models of the components according to different functional attributes, and then classify and display the name attributes and 2D preview diagram information of the assembled models of the components in the model classification list. Step 5: Select the displayed assembled model of the component, obtain the name attribute, dimensional attribute, and corresponding 2D preview diagram information of the corresponding assembled model of the component from the database, display the dimensional attribute and 2D preview diagram information on the parameter configuration list, and then find the corresponding parameter configuration through the name attribute and modify it to modify the dimensional parameters of the assembled model of the component, so as to obtain the updated assembled model of the component to achieve rapid modeling. Step 6: Change the position of the updated assembled model of the component. By means of the callback function during the refresh of the CSYS coordinate control in the Block styler function, obtain the coordinate origin and coordinate matrix of the component assembly model before and after two adjacent position adjustments. Calculate the three-dimensional difference between the two coordinate origins, and combine the 3rd-order difference matrix between the two coordinate matrices to construct a 4th-order affine transformation matrix before and after the two position adjustments, so as to obtain the position change result of the component assembly model through the 4th-order affine transformation matrix; Step 7: Use the UF_CLONE_add_assembly cloning function to copy the updated component assembly model, and then change the position of the copied component assembly model according to the process in Step 6 to achieve continuous copying and moving of the model.

3. The branch management and invocation method according to claim 2, characterized in that, The said Step 4 is carried out based on the UFUN and NXOpen development tools and in the following process: Step 4.1: Traverse the database, and use the UF_ATTR_read_value function to obtain the name attribute, dimension attribute and corresponding two-dimensional preview image information of the component assembly model from the database; Step 4.2: Use the NXOpen::BlockStyler::Tree* tree list control to display the name attribute of the model on the tree list of the model classification list, and use the NXOpen::BlockStyler::DrawingArea* drawing control to display the two-dimensional preview image corresponding to the model on the drawing area of the model classification list.

4. The branch management and invocation method according to claim 3, characterized in that, The said Step 5 is carried out based on the UFUN and NXOpen development tools and in the following process: Step 5.1: Select the component assembly model, and use the UF_ATTR_read_value function to obtain the name attribute, dimension attribute and corresponding two-dimensional preview image information of the model from the database; Step 5.2: Use the NXOpen::BlockStyler::ExpressionBlock expression control to display the dimension information of the model on the expression of the parameter configuration list, and use the NXOpen::BlockStyler::DrawingArea* drawing control to display the two-dimensional preview image corresponding to the model on the drawing area of the parameter configuration list; Step 5.3: Use the UF_PART_import function to import the component assembly model and open the corresponding parameter configuration list; use the function UF_MODL_edit_exp to modify the value of the expression on the parameter configuration list, so as to modify the dimension value of the imported component assembly model; Step 5.4: Use the UF_MODL_update() function to update the component assembly model with modified dimensions, use the UF_DISP_refresh() function to refresh the display of the model, and then use the UF_PART_export() function to export and save the model as a new component assembly model, so as to achieve rapid modeling of the component assembly model of the refrigerator inner liner punching device.

Citation Information

Patent Citations

  • Shape optimization algorithm for three-dimensional product model

    CN106384384A

  • Parametric design system and method for refrigerator liner punching platform conveying device

    CN113722780A