Modeling method and device for parts, equipment, medium and program product

By setting the attribute parameters of the target classification attribute in the component classification management system and interacting with the backend and front desk of the modeling software tool to generate and build components models, the problems of low modeling accuracy and efficiency in the existing technology are solved, and an efficient component design process is achieved.

CN119538425APending Publication Date: 2025-02-28RICHFIT INFORMATION TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311101912.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-29
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

Existing parametric modeling technologies are difficult to accurately model and predict data, resulting in reduced modeling accuracy, which in turn reduces the efficiency of product design.

Method used

By displaying the component creation interface of the component classification management system, receiving and obtaining the attribute parameters of the target classification attribute, passing it to the backend of the modeling software tool, obtaining the model seed file, updating the expression to generate the seed file of the target component, and building the model of the target component through the frontend of the modeling software tool.

Benefits of technology

This enables designers to design components without manually drawing models, improve design efficiency through automated processes, simplify operational steps, and reduce designers’ learning burden on modeling methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119538425A_ABST
    Figure CN119538425A_ABST
Patent Text Reader

Abstract

The invention provides a modeling method and device for parts, equipment, a medium and a program product, and relates to the technical field of parametric three-dimensional modeling. The method comprises the following steps: displaying a part creation interface of the part classification management system; obtaining an attribute parameter of the at least one target classification attribute corresponding to the first setting operation; transmitting attribute parameters of the at least one target classification attribute to a background of a modeling software tool; obtaining a model seed file corresponding to the at least one target classification attribute through a background of the modeling software tool; through a background of the modeling software tool, according to the attribute value of the at least one target classification attribute, updating an expression in the model seed file, and generating a seed file of a target part; and through the foreground of the modeling software tool, according to the seed file of the target part, constructing a model of the target part in a parameterized driving modeling mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of three-dimensional modeling technology, and in particular to a modeling method, device, equipment, medium and program product for parts. Background Art

[0002] With the continuous development of network technology, computer-aided design has received more and more attention. In the field of 3D modeling technology, it can use computers to assist engineers in design, analysis and manufacturing technology to create accurate 3D models.

[0003] Among the related technologies, parametric modeling is the essence of computer-aided design and one of the development directions of computer-aided design. Through parametric modeling technology, designers can define a series of parameters, such as size, shape, material, etc., and then modify the design model by changing the values ​​of these parameters. Designers can use parametric design to achieve coordinated changes and rapid modifications between various parts of the product, thereby improving the efficiency of product design.

[0004] However, since the main goal of parametric modeling technology is to use a set of parameters to describe the characteristics and patterns of data for modeling and prediction, this technology may not be able to accurately model and predict the data, reducing the accuracy of modeling and thus the efficiency of product design. Summary of the invention

[0005] The embodiment of the present application provides a modeling method, device, equipment, medium and program product for parts, which can improve the efficiency of product design. The technical solution is as follows:

[0006] In one aspect, a modeling method for a component is provided, the method comprising:

[0007] Displaying a component creation interface of the component classification management system, wherein the component creation interface includes setting options for various classification attributes of components;

[0008] Receiving a first setting operation for setting options of at least one target classification attribute among the plurality of classification attributes displayed in the component creation interface, and acquiring attribute parameters of the at least one target classification attribute corresponding to the first setting operation;

[0009] Passing attribute parameters of the at least one target classification attribute to the backend of the modeling software tool;

[0010] Obtaining, through the background of the modeling software tool, a model seed file corresponding to the at least one target classification attribute, wherein the model seed file is a seed file of a template model having the at least one target classification attribute, and the model seed file contains an expression of the template model;

[0011] Through the background of the modeling software tool, according to the attribute value of the at least one target classification attribute, the expression in the model seed file is updated to generate a seed file of the target component;

[0012] Through the foreground of the modeling software tool, the model of the target component is constructed according to the seed file of the target component in a parametric driven modeling manner.

[0013] In another aspect, a modeling device for a component is provided, the device comprising:

[0014] An interface display module, used to display a component creation interface of the component classification management system; the component creation interface includes setting options for various classification attributes of components;

[0015] A parameter acquisition module, configured to receive a first setting operation for setting options of at least one target classification attribute among the multiple classification attributes displayed in the component creation interface, and acquire an attribute parameter of the at least one target classification attribute corresponding to the first setting operation;

[0016] A parameter transmission module, used for transmitting the attribute parameters of the at least one target classification attribute to the background of the modeling software tool;

[0017] A model seed file acquisition module, used to acquire a model seed file corresponding to the at least one target classification attribute through the background of the modeling software tool, wherein the model seed file is a seed file of a template model having the at least one target classification attribute, and the model seed file contains an expression of the template model;

[0018] A seed file generation module, used to update the expression in the model seed file according to the attribute value of the at least one target classification attribute through the background of the modeling software tool, and generate a seed file of the target component;

[0019] The model building module is used to build the model of the target component in a parameter-driven modeling manner according to the seed file of the target component through the foreground of the modeling software tool.

[0020] In some embodiments, the model building module is used to:

[0021] Through the background of the modeling software tool, the seed file of the target component is transmitted to the component classification management system;

[0022] The front-end interface of the modeling software tool is called through the component management system, and the seed file of the target component is transferred to the front-end of the modeling software tool.

[0023] In some embodiments, the model building module is further used to:

[0024] The front-end interface of the modeling software tool is called through the component management system to obtain the model of the target component modeled by the modeling software tool.

[0025] In some embodiments, the model seed file acquisition module is used to:

[0026] Generating a mapping file readable by a background of the modeling software tool in a specified format according to the attribute parameters of the at least one target classification attribute;

[0027] The mapping file is read through the background of the modeling software tool to obtain the attribute parameters of the at least one target classification attribute.

[0028] In some embodiments, the plurality of classification attributes includes at least one of the following attributes:

[0029] Structural properties of components;

[0030] Material properties of components;

[0031] Process properties of components;

[0032] and, the classification standards for parts and components.

[0033] In some embodiments, the apparatus further comprises a classification attribute creation module for:

[0034] Displaying a classification attribute creation interface of the parts classification management system; the classification attribute creation interface includes classification attribute creation options;

[0035] Receive a second setting operation for the classification attribute creation option displayed in the classification attribute creation interface, add the classification attribute corresponding to the second setting operation in the component classification management system, and add a setting option for the classification attribute corresponding to the second setting operation in the component creation interface.

[0036] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the above-mentioned modeling method for parts.

[0037] On the other hand, a computer-readable storage medium is provided, wherein at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the above-mentioned modeling method for parts.

[0038] In another aspect, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the modeling method for a component provided in the above-mentioned various optional implementations.

[0039] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0040] The computer device can display the component creation interface of the component classification management system, and after receiving the first setting operation of the setting option of at least one target classification attribute among the multiple classification attributes displayed in the component creation interface, obtain the attribute parameters of at least one target classification attribute and pass it to the background of the modeling software tool; then, the computer device obtains the model seed file corresponding to the at least one target classification attribute through the background of the modeling software tool, updates the expression in the model seed file according to the attribute value of the at least one target classification attribute to generate the seed file of the target component, and then builds the model of the target component in a parametric driven modeling manner according to the seed file of the target component through the foreground of the modeling software tool; in the above scheme, when designing a target component, the designer only needs to set the attribute parameters of each classification attribute involved in the target component in the component creation interface of the component classification management system, and the subsequent component classification management system can automatically interact with the modeling software tool and build the model of the target component in the modeling software tool, without the need for the designer to manually draw the model of the target component in the modeling software tool. The above operation steps are easy to understand and operate, and do not require the designer to invest a lot of energy in mastering and familiarizing with the modeling method, which can greatly improve the design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;

[0042] Figure 2 is a flow chart of a modeling method for a component provided by an embodiment of the present application;

[0043] Figure 3 is a flow chart of a modeling method for a component provided by an embodiment of the present application;

[0044] Figure 4is a flow chart of a modeling method for a component provided by an embodiment of the present application;

[0045] Figure 5 is a flow chart of a modeling method for a component provided by an embodiment of the present application;

[0046] Figure 6 is a flow chart of a modeling method for a component provided by an embodiment of the present application;

[0047] Figure 7 A schematic diagram of parameterized modeling based on classification attributes involved in the present application is shown;

[0048] Figure 8 A part classification attribute diagram in a classification library involved in the present application is shown;

[0049] Fig. 9 A schematic diagram of CAD obtaining classification attributes involved in the present application is shown;

[0050] Fig.10 A CAD software expression update display result diagram involved in the present application is shown;

[0051] Fig.11 A three-dimensional model result diagram generated in the present application is shown;

[0052] Fig.12 is a block diagram of a modeling device for parts provided by an embodiment of the present application;

[0053] Fig.13 It is a structural block diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0055] 1) CAD: Computer-Aided Design (CAD), a method that uses computer technology to assist in design and drafting. Through CAD software, designers can create, modify and optimize graphics and models of various products. CAD is widely used in engineering design, architectural design, mechanical design and other fields. It can improve design efficiency, reduce errors, accelerate the product development process, and support various design analysis and simulation.

[0056] 2) PLM system: Product Lifecycle Management (PLM), a software system used to help companies manage and coordinate the entire life cycle of a product, from concept design to product retirement.

[0057] 3) Parametric modeling technology: a method that combines the parametric method in the modeling process with computer-aided design tools. It defines the parameters and constraints of the model so that new models can be generated quickly and efficiently when the parameter values ​​or conditions are changed.

[0058] 4) Parts classification management: Uniformly manage product parts based on the physical characteristics of parts, such as structural characteristics, material characteristics, process characteristics and other different classification standards, and perform various management operations on parts, such as moving, adding, deleting and modifying part feature values.

[0059] Figure 1 A schematic diagram of an implementation environment provided by an exemplary embodiment of the present application is shown. The implementation environment may include: a modeling software tool 110 and a component classification management system 120 .

[0060] The above-mentioned parts classification management system may be an independent parts classification management system, or a parts classification management system cluster or distributed system composed of multiple parts classification management systems. Computer-aided design software tools may be software tools for computer-aided control of manufacturing equipment, assisting in engineering analysis and simulation, assisting in the management of visual geographic spatial data, and used for architectural design and building information management.

[0061] The computer-aided design software tool 110 and the component classification management system 120 can be on the same terminal device or on different terminal devices. When on different terminal devices, the computer-aided design software tool 110 and the component classification management system 120 can interact in a wired or wireless manner. This application does not make any limitation here.

[0062] Figure 1 Only one computer-aided design software tool is shown, but in different embodiments, there are multiple other computer-aided design software tools that can be connected to the component classification management system 120.

[0063] Please refer to Figure 2 , which shows a flow chart of a modeling method for parts provided by an embodiment of the present application. For the sake of convenience, only the computer device that performs each step is introduced and described. The above-mentioned computer device can be a personal computer, a server or a personal workstation, etc. The computer device can be Figure 1 The computer device shown; the method may include the following steps.

[0064] Step 210: Displaying a component creation interface of the component classification management system; the component creation interface includes setting options for various classification attributes of components.

[0065] In an embodiment of the present application, several setting options for classification attributes may be pre-set in the component creation interface of the component classification management system. Through the above setting options, the component designer can set the attribute parameters of one or more classification attributes of the component he designs.

[0066] Step 220: receiving a first setting operation for setting options of at least one target classification attribute among the multiple classification attributes displayed in the component creation interface, and obtaining attribute parameters of the at least one target classification attribute corresponding to the first setting operation.

[0067] The designer may choose to set the corresponding attribute parameters of at least one target classification attribute in the component creation interface according to the currently designed component; specifically, the designer may set the specific attribute parameters of the at least one target classification attribute by sequentially performing setting operations on the setting options of the at least one target classification attribute.

[0068] For example, the setting options for each of the above-mentioned classification attributes may include one or more tabs. When the designer clicks the tab, a drop-down menu may pop up. The drop-down menu may contain one or more configurable attribute parameters. The designer may click an attribute parameter in the drop-down menu to set the attribute parameter of the current classification attribute.

[0069] For another example, the setting options of each of the above-mentioned classification attributes may include one or more input boxes. The designer clicks the input box to set the input box as the input focus and inputs through peripherals such as a keyboard to set the attribute parameters of the current classification attribute.

[0070] In a possible implementation, the multiple classification attributes include at least one of the following attributes:

[0071] 1) Structural properties of components.

[0072] A component may include one or more structural classification attributes according to the complexity of its shape, and correspondingly, the attribute parameters of the structural attributes of the component may include the size parameters of the corresponding structural attributes.

[0073] For example, taking a crankshaft type component as an example, the types of structural attributes of the component may include but are not limited to: eccentricity X, total crankshaft length, major axis length, upper and lower thrust surface spacing, minor axis total length, minor axis length, oil hole depth, oil hole inner diameter, oil hole outer diameter, etc. In the above component creation interface, setting options for possible structural attributes may be set in advance according to the types of components that the designer may design, such as setting an input box for setting the size parameters of possible structural attributes.

[0074] 2) Material properties of components.

[0075] Since different components may use different materials, and even different parts of the same component may use different materials, in the above component creation interface, setting options for possible material properties can be set in advance based on the materials involved in the components that the designer may design. For example, a drop-down selection menu for setting possible material properties can be included, and the drop-down selection menu contains various possible materials, such as iron, aluminum, copper, various alloy materials, etc.

[0076] 3) Process properties of parts.

[0077] Since different parts may use different processes, and even different parts of the same part may use different processes, in the above-mentioned part creation interface, setting options for possible process attributes can be set in advance according to the processes involved in the parts that the designer may design. For example, a drop-down selection menu for setting possible process attributes can be included in the drop-down selection menu, which contains various possible processes, such as cold rolling, forging, drilling, cutting, etc.

[0078] 4) Classification standards for parts and components.

[0079] In the above-mentioned component creation interface, setting options for possible classification standard attributes can be set in advance according to the classification standards involved in the components that the designer may design. For example, a drop-down selection menu for possible classification standard attributes can be set, and the drop-down selection menu contains various possible classification standards, such as standard version 1, standard version 2, etc.

[0080] Step 230: passing attribute parameters of at least one target classification attribute to the backend of the modeling software tool.

[0081] In an embodiment of the present application, the parts classification management system and the modeling software tool may have a specified data interaction method. After obtaining the attribute parameters of at least one target classification attribute of the designed target part through the parts classification management system, the parts classification management system may pass the attribute parameters of at least one target classification attribute to the background of the modeling software tool.

[0082] For example, a completion button may be provided in the component creation interface of the component classification management system. After the designer completes the setting of the attribute parameters of at least one target classification attribute, the designer may click the completion button. After that, the component classification management system calls the background interface of the modeling software tool to pass the attribute parameters of at least one target classification attribute to the background of the modeling software tool.

[0083] Step 240: Obtain a model seed file corresponding to at least one target classification attribute through the background of the modeling software tool. The model seed file is a seed file of a template model having at least one target classification attribute. The model seed file contains an expression of the template model.

[0084] In an embodiment of the present application, model seed files of various template models may be pre-set in a modeling software tool, and each model seed file may contain an expression that may indicate the creation of a corresponding model.

[0085] After the background of the modeling software tool obtains the attribute parameters of at least one target classification attribute, it can query the model seed file corresponding to the at least one target classification attribute from various preset model seed files.

[0086] For example, each model seed file is provided with the name of the classification attribute involved. The background of the modeling software tool can match the name of at least one target classification attribute with the name of the classification attribute involved in the template model corresponding to a model seed file. If the two are consistent, the model seed file is considered to be a seed file of the template model with at least one target classification attribute; otherwise, the model seed file is considered not to be a seed file of the template model with at least one target classification attribute.

[0087] For another example, each model seed file is provided with type information of the involved parts. When the parts classification management system passes the attribute parameters of at least one target classification attribute to the background of the modeling software tool, the part type information of the designed target parts can be passed to the background of the modeling software tool. The background of the modeling software tool compares the part type information of the target parts with the type information of the parts involved in a certain model seed file. If the two are consistent, the model seed file is considered to be a seed file of a template model with at least one target classification attribute; otherwise, the model seed file is considered not to be a seed file of a template model with at least one target classification attribute.

[0088] Step 250: Through the background of the modeling software tool, the expression in the model seed file is updated according to the attribute value of at least one target classification attribute to generate a seed file of the target component.

[0089] In an embodiment of the present application, an expression in a seed file can be set or updated through the attribute parameters of the components corresponding to the seed file. For example, the above-mentioned seed file can be a seed file for parametric modeling by CAD software.

[0090] After the model seed file is determined by the background of the modeling software tool, the expression in the model seed file can be updated through the attribute parameters of at least one target classification attribute of the target component, thereby obtaining an updated seed file as the seed file of the target component.

[0091] Step 260: Through the foreground of the modeling software tool, the model of the target component is constructed according to the seed file of the target component in a parametric driven modeling manner.

[0092] In an embodiment of the present application, after the foreground of the modeling software tool obtains the seed file of the target component, it can automatically construct a three-dimensional model corresponding to the target component through parametric modeling using the expression in the seed file, and display the three-dimensional model in the design interface of the modeling software tool.

[0093] In summary, in the scheme shown in the embodiment of the present application, the computer device can display the component creation interface of the component classification management system, and after receiving the first setting operation of the setting option of at least one target classification attribute among the multiple classification attributes displayed in the component creation interface, obtain the attribute parameters of at least one target classification attribute and pass it to the background of the modeling software tool; thereafter, the computer device obtains the model seed file corresponding to at least one target classification attribute through the background of the modeling software tool, updates the expression in the model seed file according to the attribute value of at least one target classification attribute to generate a seed file of the target component, and then builds the model of the target component in a parametric driven modeling manner according to the seed file of the target component through the foreground of the modeling software tool; in the above scheme, when designing a target component, the designer only needs to set the attribute parameters of each classification attribute involved in the target component in the component creation interface of the component classification management system, and the subsequent component classification management system can automatically interact with the modeling software tool and build a model of the target component in the modeling software tool, without the need for the designer to manually draw the model of the target component in the modeling software tool. The above operation steps are easy to understand and operate, and do not require the designer to invest a lot of energy in mastering and familiarizing with the modeling method, which can greatly improve the design efficiency.

[0094] based on Figure 2 For the scheme shown, please refer to Figure 3 , which shows a flow chart of a modeling method for a component provided by an embodiment of the present application. Figure 3 As shown, Figure 2 In the illustrated embodiment, before step 260 , step 252 and step 254 may also be included.

[0095] Step 252: The seed file of the target component is transmitted to the component classification management system through the background of the modeling software tool.

[0096] For example, a computer device can store / export the seed file of the target component to a shared space through the background of a modeling software tool, such as storing it in a shared cache space in the memory, or storing it in a shared folder in the operating system, and then read the seed file in the shared space through the component classification management system, thereby transferring the seed file of the target component to the component classification management system.

[0097] For another example, the computer device may call the interface of the parts classification management system through the background of the modeling software tool to pass the above seed file to the parts classification management system.

[0098] Step 254: Call the front-end interface of the modeling software tool through the component management system, and pass the seed file of the target component to the front-end of the modeling software tool.

[0099] In an embodiment of the present application, the front end of the modeling software tool can provide a calling interface to the outside world to facilitate other software / systems to import data into the front end of the modeling software tool, wherein the computer device can call the front end interface of the modeling software tool through the parts management system and pass the seed file to the front end of the modeling software tool.

[0100] For example, the computer device can call the front-end interface of the modeling software tool through the parts management system, pass the storage address of the seed file to the front-end of the modeling software tool, and the front-end of the modeling software tool loads the seed file according to the storage address of the seed file.

[0101] Alternatively, the computer device can call the front-end interface of the modeling software tool through the parts management system, pass the identifier of the seed file in the background of the modeling software tool to the front-end of the modeling software tool, and the front-end of the modeling software tool loads the above seed file from the background of the modeling software tool according to the identifier of the seed file.

[0102] based on Figure 2 or Figure 3 For the scheme shown, please refer to Figure 4 , which shows a flow chart of a modeling method for a component provided by an embodiment of the present application. Figure 4 As shown, Figure 2 or Figure 3 In the illustrated embodiment, after step 260 , step 270 may be further included.

[0103] Step 270: Call the front-end interface of the modeling software tool through the component management system to obtain the model of the target component modeled by the modeling software tool.

[0104] In an embodiment of the present application, after the foreground of the modeling software tool constructs the model of the target component, the computer device can call the foreground interface of the modeling software tool through the component management system to export the model of the target component from the foreground of the modeling software tool.

[0105] For example, a control for reading the model can be set in the interface of the parts management system. After the foreground of the modeling software tool builds the model of the target part, the designer clicks the control for reading the model in the interface of the parts management system. The parts management system calls the foreground interface of the modeling software tool to export the model of the target part from the foreground of the modeling software tool.

[0106] Alternatively, the model of the target component mentioned above can also be actively transferred to the component management system by the modeling software tool. For example, the foreground of the modeling software tool can call the interface of the component management system to transfer the model of the target component to the component management system.

[0107] For example, a plug-in for exporting to a parts management system can be added to the front desk of a modeling software tool. After the designer clicks the control corresponding to the plug-in at the front desk of the modeling software tool, the front desk of the modeling software tool can call the interface of the parts management system to pass the model of the target part to the parts management system.

[0108] based on Figures 2 to 4 For any of the options shown, please refer to Figure 5 , which shows a flow chart of a modeling method for a component provided by an embodiment of the present application. Figure 5 As shown, Figures 2 to 4 Step 230 in any of the illustrated embodiments may be implemented as step 230a and step 230b.

[0109] Step 230a: Generate a mapping file readable by a background of a modeling software tool in a specified format according to the attribute parameters of at least one target classification attribute.

[0110] In an embodiment of the present application, the above-mentioned mapping file can be a file that can be recognized and read by the background of the modeling software tool, that is, the data in the mapping file is organized in a format readable by the background of the modeling software tool.

[0111] After the parts management system obtains the attribute parameters of at least one target classification attribute, the attribute parameters can be written into the mapping file in a specified format for background reading by the modeling software tool.

[0112] Step 230b: Read the mapping file through the background of the modeling software tool to obtain attribute parameters of at least one target classification attribute.

[0113] In one possible implementation, after the parts management system writes the attribute parameter into the mapping file in a specified format, the background interface of the modeling software tool can be called to trigger the background of the modeling software tool to read the mapping file; for example, after the parts management system writes the attribute parameter into the mapping file in a specified format, the background interface of the modeling software tool can be called to send the address of the mapping file to the background of the modeling software tool, and the background of the modeling software tool reads the above mapping file according to the address of the mapping file.

[0114] Alternatively, the address of the above-mentioned mapping file can be a fixed address. After the parts management system writes the attribute parameters into the mapping file in a specified format, the designer can trigger a mapping file reading control in the front-end interface of the modeling software tool. The front-end of the modeling software tool triggers the background to read the mapping file in the fixed address to obtain the attribute parameters of at least one of the above-mentioned target classification attributes.

[0115] based on Figures 2 to 5 For any of the options shown, please refer to Figure 6 , which shows a flow chart of a modeling method for a component provided by an embodiment of the present application. Figure 6 As shown, Figures 2 to 6 In any of the illustrated embodiments, before step 210 , step 202 and step 204 may also be included.

[0116] Step 202: Displaying a classification attribute creation interface of the component classification management system; the classification attribute creation interface includes classification attribute creation options.

[0117] In an embodiment of the present application, the parts classification management system may provide a classification attribute creation interface, which may include a classification attribute creation option. When the administrator of the parts classification management system triggers the classification attribute creation option, a new optional classification attribute can be created in the parts classification management system.

[0118] Step 204: Receive a second setting operation for the classification attribute creation option displayed in the classification attribute creation interface, add the classification attribute corresponding to the second setting operation in the component classification management system, and add the setting option of the classification attribute corresponding to the second setting operation in the component creation interface.

[0119] In an embodiment of the present application, after the administrator of the parts classification management system triggers the classification attribute creation option, the created classification attribute can be added to the parts classification management system. For example, the administrator sets the setting method corresponding to the setting option of the classification attribute according to the type of classification attribute to be created. For example, the setting option of the above-mentioned classification attribute is set to an input box or a drop-down menu. After clicking OK, the classification attribute corresponding to the second setting operation is added to the parts classification management system, and the setting option of the classification attribute corresponding to the second setting operation is added to the parts creation interface.

[0120] Based on the above Figures 2 to 6 The scheme shown takes the above-mentioned parts classification management system as a PLM system and the modeling software tool as a CAD design software as an example. This application relates to the field of parametric three-dimensional modeling technology, and specifically to a rapid design method for three-dimensional parts and three-dimensional assemblies. Through parametric modeling, using full-parameter modeling technology, using parameters to drive and control the structure and size specifications of parts, managing part parameter sets through the classification attributes of parts in the PLM system, and transferring the classification attribute parameters in the PLM system to the CAD design software to achieve rapid product design, improve product design efficiency, and reduce the workload of staff, which has good use value.

[0121] Parametric modeling has been widely used for its fast, efficient, and easy-to-use features. It is widely used in the automotive, aerospace, mechanical parts, mold processing and other industries. Baoshi Machinery selects mud pump products as demonstration products and uses parametric design models to model serialized products of parts. The most important task of serialized product modeling is to classify the parts that need to be modeled serially and determine the part template. This template must have all the characteristics of this series of parts. Classification management classifies parts based on part characteristics, provides accurate part templates, and has all the characteristic information of series parts. On the basis of determining the part template, the key size parameters of the parts are selected to define the model, such as height, inner diameter, outer diameter, etc. After these preliminary works are completed, designers can modify the key parameters in the classification attributes, thereby directly changing the size of the model and outputting the 3D model. Designers do not need to invest a lot of energy to master the modeling method, which is easy to understand and operate, and can greatly improve design efficiency.

[0122] In order to achieve the above object, the present application provides a technology of parameterized modeling based on classification attributes, comprising the following steps:

[0123] Step 1: Based on the parametric information extracted by the R&D personnel, the system administrator creates the classification attributes of the parts.

[0124] Step 2: The designer creates parts and fills in attribute information, and the system automatically sends them to the classification library based on the name.

[0125] Step 3: Build a parametric component template seed file. The seed file contains expressions. Changing the value of the expression can drive the update of the seed file.

[0126] Step 4: Get the component objects created by the designer in step 2, classify the parts and generate a 3D model through parameterization in CAD.

[0127] 4.1)PLM obtains the parametric properties on the component version and passes them to the CAD software.

[0128] 4.2) According to the correspondence between the component classification preset in the system and the template 3D seed file, the CAD background obtains the corresponding template 3D seed file according to the component type.

[0129] 4.3) The CAD background updates the expression value in the 3D seed file according to the classification attribute parameters.

[0130] 4.4) The CAD background saves the updated seed file to the PLM system.

[0131] 4.5)PLM calls the CAD front-end standard interface to open the 3D seed file and automatically drives parameterized modeling.

[0132] Step 5: Open the 3D model, update it based on the expression, and save the updated 3D digital model to the PLM system.

[0133] The classification attributes in step 1 are further executed to obtain the core parameter information that affects the three-dimensional model of the part, such as eccentricity X, total crankshaft length, major axis length, upper and lower thrust surface spacing, total minor axis length, minor axis length, oil hole depth, oil hole inner diameter, oil hole outer diameter, etc.

[0134] The seed file in step 3 is a preset modeling template. Different part types require different seed file templates. The seed file template is placed in a specified location and the system can automatically obtain it.

[0135] Further execution of step 3 will write the part number and classification attribute parameters into the local partlist.txt file. The development program of the CAD software will call the file number and classification attribute parameters and the 3D seed file in partlist.txt, and write the parameters into the expression of the 3D seed file.

[0136] Further executing the step 4 to obtain the classification parameters, the obtained classification attributes and attribute values ​​are passed to the mapping file in a certain format, and the mapping file is passed to CAD. CAD obtains the parameter values ​​in the mapping file, generates expressions and saves the seed file to PLM.

[0137] Further execute the step 5 to open the seed file through the CAD integrated standard interface to update the 3D digital model and save the new 3D model to the PLM system.

[0138] Through the classification management in PLM, standard parts, inherited parts, common parts and other parts with high reuse rate can be effectively managed, and existing parts in the system can be quickly found, which is convenient for adoption and can be used as much as possible, thereby shortening the pump development cycle, reducing the manual design process, avoiding errors, and improving the quality of developed products. It is not only convenient for data query, but also conducive to the establishment of standardization and serialization of product design, effectively reducing the types and quantity of parts of the enterprise, thereby reducing the product cost and operating cost of the enterprise. If it is combined with the enterprise system, it can have a direct impact on the cost of the enterprise. By using its convenient query function, parts with the same characteristic parameters but different sizes can be quickly generated, which can avoid some manual repetitive parts design and also avoid the use of some outdated parts.

[0139] The basis for product design and modeling is the degree of understanding of the product. Only on the basis of understanding the structural characteristics and design intent of the product can the product be better designed and modeled. When designing, the topological relationship of each part of the part should be designed according to the structural characteristics of the part product, and finally the designer's design intent should be reflected in the design and modeling of the part product through the parametric tools of CAD. The design process is a very arduous task. It takes a long time from proposing a design plan to the final completion, and it needs to be constantly modified during this period. The modeling process is a process of continuous modification. The advantage of using parametric design is that it is easy to modify the product model, reduce the workload of designers, and improve product design efficiency.

[0140] Through the integration of classification management and parametric technology, designers can modify key parameters in the classification attributes and change the size of the model to obtain serialized parts. This is a more advanced modeling method. Designers do not need to invest a lot of energy to master the modeling method. It is easy to understand and operate, and it also provides necessary information support for all aspects of product design, which can greatly improve design efficiency.

[0141] Please refer to Figures 7 to 11 ,in, Figure 7 A schematic diagram of parameterized modeling based on classification attributes involved in this application is shown. Figure 8 shows a part classification attribute diagram in a classification library involved in this application, Fig. 9 A schematic diagram of CAD obtaining classification attributes involved in this application is shown. Fig.10 A CAD software expression update display result diagram involved in this application is shown. Fig.11A generated three-dimensional model result diagram involved in this application is shown.

[0142] Combine the following Figure 7 , Figure 8 , Fig. 9 , Fig.10 , Fig.11 A detailed description of the parametric design of the target component (crankshaft) based on classification attributes is given.

[0143] The specific implementation method is as follows:

[0144] Step 1: Based on the core parametric information of the 3D model compiled by the R&D personnel, such as eccentricity X, total crankshaft length, major axis length, upper and lower thrust surface spacing, total minor axis length, minor axis length, oil hole depth, etc., the system administrator creates corresponding classification attributes for the parts, such as Figure 8 As shown, the classification attributes include the distance between the upper and lower thrust surfaces L3, the length of the short shaft L5, the total length of the short shaft L4, the depth of the large oil hole of the crankshaft L6, the height of the eccentric part L7, the inner diameter of the large oil hole, the outer diameter of the short shaft D3, the outer diameter of the short shaft D4, the outer diameter of the short shaft D13, the outer diameter of the eccentric part D5, the outer diameter of the eccentric part D6, the outer diameter of the eccentric part D14, the outer diameter of the short shaft end D7, the outer diameter of the long shaft D8, the outer diameter of the long shaft D9, the outer diameter of the long shaft D12, the outer diameter of the long shaft D11, the radius of the semi-lunar groove, the angle of the semi-lunar groove, etc.

[0145] Step 2: When creating parts, R&D personnel fill in the values ​​of classification attributes such as the upper and lower thrust surface spacing L3, short axis length L5, and short axis total length L4 according to design requirements.

[0146] Step 3: Click the Parameterize button.

[0147] Step 4: The obtained classification attributes and attribute values ​​are passed to the mapping file in a certain format, and the mapping file is passed to CAD. CAD obtains the parameter values ​​in the mapping file, generates expressions and saves the seed file to PLM.

[0148] Step 5: Open the 3D model, update the model according to the expression in the 3D model, and save the new model to the PLM system. The new model is an automatically generated 3D model, such as Fig.11 shown.

[0149] The above scheme of the present application discloses a parametric modeling technology based on classification attributes. This method maintains the topological relationship of the model basically unchanged, and drives the model by size, that is, changing the size of the model, or changing the parameter value in the expression to achieve the reconstruction of the model. It is suitable for the design of products with similar structures or the same series. The parametric design technology that supports CAD by obtaining classification attributes is a more advanced modeling method. Designers do not need to invest a lot of energy to master its modeling method. It is easy to understand and operate. It also provides necessary information support for each link of product design, which can greatly improve design efficiency.

[0150] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0151] Please refer to Fig.12 , which shows a block diagram of a modeling device for parts provided by an embodiment of the present application. The device may include the following modules:

[0152] The interface display module 1201 is used to display the component creation interface of the component classification management system; the component creation interface includes setting options for various classification attributes of components.

[0153] The parameter acquisition module 1202 is used to receive a first setting operation of a setting option of at least one target classification attribute among the multiple classification attributes displayed in the component creation interface, and obtain the attribute parameter of the at least one target classification attribute corresponding to the first setting operation.

[0154] The parameter transmission module 1203 is used to transmit the attribute parameters of the at least one target classification attribute to the background of the modeling software tool.

[0155] The model seed file acquisition module 1204 is used to obtain the model seed file corresponding to the at least one target classification attribute through the background of the modeling software tool. The model seed file is a seed file of a template model having the at least one target classification attribute, and the model seed file contains an expression of the template model.

[0156] The seed file generation module 1205 is used to update the expression in the model seed file according to the attribute value of the at least one target classification attribute through the background of the modeling software tool to generate a seed file of the target component.

[0157] The model building module 1206 is used to build the model of the target component in a parameter-driven modeling manner according to the seed file of the target component through the foreground of the modeling software tool.

[0158] In some embodiments, the model building module 1206 is used to:

[0159] Through the background of the modeling software tool, the seed file of the target component is transmitted to the component classification management system;

[0160] The front-end interface of the modeling software tool is called through the component management system, and the seed file of the target component is transferred to the front-end of the modeling software tool.

[0161] In some embodiments, the model building module 1206 is further configured to:

[0162] The front-end interface of the modeling software tool is called through the component management system to obtain the model of the target component modeled by the modeling software tool.

[0163] In some embodiments, the model seed file acquisition module 1204 is used to:

[0164] Generating a mapping file readable by a background of the modeling software tool in a specified format according to the attribute parameters of the at least one target classification attribute;

[0165] The mapping file is read through the background of the modeling software tool to obtain the attribute parameters of the at least one target classification attribute.

[0166] In some embodiments, the plurality of classification attributes includes at least one of the following attributes:

[0167] Structural properties of components;

[0168] Material properties of components;

[0169] Process properties of components;

[0170] and, the classification standards for parts and components.

[0171] In some embodiments, the apparatus further comprises a classification attribute creation module for:

[0172] Displaying a classification attribute creation interface of the parts classification management system; the classification attribute creation interface includes classification attribute creation options;

[0173] Receive a second setting operation for the classification attribute creation option displayed in the classification attribute creation interface, add the classification attribute corresponding to the second setting operation in the component classification management system, and add a setting option for the classification attribute corresponding to the second setting operation in the component creation interface.

[0174] Fig.13The structure block diagram of a computer device 1300 provided by an exemplary embodiment of the present application is shown. For example: a personal computer, a smart phone and a tablet computer. The computer device 1300 may also be called a user device or other names.

[0175] Typically, the computer device 1300 includes a processor 1301 and a memory 1302 .

[0176] The memory 1302 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1302 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one instruction, which is used to be executed by the processor 1301 to implement all or part of the steps performed by the computer-aided design software tool in the method provided in the embodiment of the present application.

[0177] In some embodiments, the computer device 1300 may further include: a peripheral device interface 1303 and at least one peripheral device. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1304 , a touch display screen 1305 , a camera 1306 , an audio circuit 1307 and a power supply 1308 .

[0178] In some embodiments, the computer device 1300 further includes one or more sensors 1309 , including but not limited to: an acceleration sensor 1310 , a gyroscope sensor 1311 , a pressure sensor 1312 , an optical sensor 1313 , and a proximity sensor 1314 .

[0179] Those skilled in the art will appreciate that the structure shown above does not constitute a limitation on the computer device 1300 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0180] In an exemplary embodiment, a computer-readable storage medium is also provided for storing at least one computer program, which is loaded and executed by a processor to implement all or part of the steps in the methods shown in the above embodiments. For example, the computer-readable storage medium can be a read-only memory, a random access memory, a read-only optical disk, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0181] In an exemplary embodiment, a computer program product is also provided, the computer program product includes a computer program, the computer program is stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes all or part of the steps in the methods shown in the above embodiments.

[0182] Before collecting relevant user data and during the process of collecting relevant user data, the present application can display a prompt interface, pop-up window or output voice prompt information. The prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that the present application starts to execute the relevant steps of obtaining relevant user data only after obtaining the user's confirmation operation on the prompt interface or pop-up window. Otherwise (that is, when the user's confirmation operation on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant user data are terminated, that is, the user's relevant data is not obtained.

[0183] In other words, all user data collected by this application is collected with the user's consent and authorization, and the collection, use and processing of relevant user data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0184] The above user-related data includes information (including but not limited to user accounts), data (including but not limited to text data entered by users, stored text / image data, displayed text / image data, etc.) and signal data. For example, the user data involved in this application is obtained with full authorization.

[0185] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0186] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A modeling method for a component, characterized in that: The method comprises: Displaying a component creation interface of the component classification management system, wherein the component creation interface includes setting options for various classification attributes of components; Receiving a first setting operation for setting options of at least one target classification attribute among the plurality of classification attributes displayed in the component creation interface, and acquiring attribute parameters of the at least one target classification attribute corresponding to the first setting operation; Passing attribute parameters of the at least one target classification attribute to the backend of the modeling software tool; Obtaining, through the background of the modeling software tool, a model seed file corresponding to the at least one target classification attribute, wherein the model seed file is a seed file of a template model having the at least one target classification attribute, and the model seed file contains an expression of the template model; Through the background of the modeling software tool, according to the attribute value of the at least one target classification attribute, the expression in the model seed file is updated to generate a seed file of the target component; Through the foreground of the modeling software tool, the model of the target component is constructed according to the seed file of the target component in a parametric driven modeling manner.

2. The method according to claim 1, characterized in that Before constructing the model of the target component in a parametric driven modeling manner according to the seed file of the target component through the foreground of the modeling software tool, the method further includes: Through the background of the modeling software tool, the seed file of the target component is transmitted to the component classification management system; The front-end interface of the modeling software tool is called through the component management system, and the seed file of the target component is transferred to the front-end of the modeling software tool.

3. The method according to claim 2, characterized in that The method further comprises: The front-end interface of the modeling software tool is called through the component management system to obtain the model of the target component modeled by the modeling software tool.

4. The method according to claim 1, characterized in that: The step of transmitting the attribute parameter of the at least one target classification attribute to the backend of the modeling software tool comprises: Generating a mapping file readable by a background of the modeling software tool in a specified format according to the attribute parameters of the at least one target classification attribute; The mapping file is read through the background of the modeling software tool to obtain the attribute parameters of the at least one target classification attribute.

5. The method according to claim 1, characterized in that The multiple classification attributes include at least one of the following attributes: Structural properties of components; Material properties of components; Process properties of components; and, the classification standards for parts and components.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Displaying a classification attribute creation interface of the parts classification management system; the classification attribute creation interface includes classification attribute creation options; Receive a second setting operation for the classification attribute creation option displayed in the classification attribute creation interface, add the classification attribute corresponding to the second setting operation in the component classification management system, and add a setting option for the classification attribute corresponding to the second setting operation in the component creation interface.

7. A modeling device for parts, characterized in that: The device comprises: An interface display module, used to display a component creation interface of the component classification management system; the component creation interface includes setting options for various classification attributes of components; A parameter acquisition module, used for receiving a first setting operation on a setting option of at least one target classification attribute among the multiple classification attributes displayed in the component creation interface, and acquiring an attribute parameter of the at least one target classification attribute corresponding to the first setting operation; A parameter transmission module, used for transmitting the attribute parameters of the at least one target classification attribute to the background of the modeling software tool; A model seed file acquisition module, used to acquire a model seed file corresponding to the at least one target classification attribute through the background of the modeling software tool, wherein the model seed file is a seed file of a template model having the at least one target classification attribute, and the model seed file contains an expression of the template model; A seed file generation module, used to update the expression in the model seed file according to the attribute value of the at least one target classification attribute through the background of the modeling software tool, and generate a seed file of the target component; The model building module is used to build the model of the target component in a parameter-driven modeling manner according to the seed file of the target component through the foreground of the modeling software tool.

8. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the modeling method for parts according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the computer program is loaded and executed by a processor to implement the modeling method for parts as claimed in any one of claims 1 to 6.

10. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium; the computer instructions are read and executed by a processor of a computer device to implement the modeling method for parts as described in any one of claims 1 to 6.