Modeling method, system and equipment and storage medium
The modeling method addresses inefficiencies in designing products with varying parameters by using preset templates and parameter modification to generate computer-aided design models efficiently, enhancing production speed and reducing repetitive tasks.
Patent Information
- Application Number
- CN202411170600.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-12-17
AI Technical Summary
The existing methods for designing and manufacturing stair railings and similar products with varying parameters are inefficient due to the need for repeated processes with each order change, leading to low development efficiency.
A modeling method that involves obtaining product parameter modification information, using preset model templates, and generating computer-aided design models by modifying corresponding parameters, enabling parametric modeling to quickly regenerate different designs.
This approach enhances development efficiency by allowing quick creation of computer-aided design models through parametric modeling, reducing the need for repetitive processes and improving production speed.
Smart Images

Figure CN119150526A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer-aided manufacturing technology, and in particular, relates to a modeling method, system, device and storage medium. Background Art
[0002] In the laser tube cutting industry, some products to be processed have fixed styles and can be described parametrically, such as stair railings. The differences between different stair railings may be the angle of the stairs, length, whether round or square tubes are used, and the size of the tubes. Based on these parameters, designers can quickly use professional 3D design software for detailed design, export 3D drawings, import 3D drawings into computer-aided manufacturing software and perform process processing, and then process the finished products and assemble them to obtain the final product. However, since the requirements of each order may be different, any change requires the entire process to be repeated, and the development efficiency is low. Summary of the invention
[0003] The embodiments of the present application provide a modeling method, system, device and storage medium, which can improve development efficiency.
[0004] In a first aspect, an embodiment of the present application provides a modeling method, comprising:
[0005] Obtain product parameter modification information and preset model templates;
[0006] Modify corresponding parameters of the preset model template of the product according to the parameter modification information;
[0007] A computer-aided design model of the product is generated according to the modified preset model template.
[0008] In a possible implementation manner of the first aspect, before obtaining parameter modification information of the product and presetting the model template, the modeling method further includes:
[0009] determining global parameters of the product;
[0010] Binding the global parameters to a preset model template;
[0011] The global parameters are bound to a user interface to obtain parameter modification information of the product through the user interface.
[0012] In a possible implementation manner of the first aspect, modifying corresponding parameters of a preset model template of the product according to the parameter modification information includes:
[0013] Modify the main structure parameters of the preset model template of the product according to the parameter modification information;
[0014] The additional characteristic parameters of the preset model template of the product are modified according to the parameter modification information.
[0015] In a possible implementation manner of the first aspect, generating a computer-aided design model of the product according to the modified preset model template includes:
[0016] Generate a computer-aided design main body model of the product according to the modified preset model template;
[0017] Additional features are generated based on the computer-aided design main body model according to the modified preset model template.
[0018] In a possible implementation manner of the first aspect, binding the global parameter to a preset model template includes:
[0019] Generate a script that binds the global parameters to a preset model template.
[0020] In a possible implementation manner of the first aspect, binding the global parameter with the user interface includes:
[0021] A script is generated that binds the global parameter to the user interface.
[0022] In a possible implementation manner of the first aspect, the modeling method further includes:
[0023] A machining file is generated according to the computer-aided design model.
[0024] In a second aspect, an embodiment of the present application provides a modeling system, including:
[0025] The acquisition module is used to: obtain the parameter modification information and preset model template of the product;
[0026] A modification module, used to modify corresponding parameters of the preset model template of the product according to the parameter modification information;
[0027] The model generation module is used to generate a computer-aided design model of the product according to the modified preset model template.
[0028] In a third aspect, an embodiment of the present application provides a processing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the modeling method described in any one of the first aspects when executing the computer program.
[0029] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the modeling method described in any one of the first aspects above is implemented.
[0030] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device executes the modeling method described in any one of the above-mentioned first aspects.
[0031] The beneficial effects of the embodiments of the present application are:
[0032] By obtaining the parameter modification information of the product and the preset model template corresponding to the product, modifying the preset model template according to the obtained parameter modification information, and then creating a computer-aided design model of the product according to the modified preset model template, different computer-aided design models can be regenerated by modifying the corresponding parameters of the preset model template, thereby realizing parametric modeling, enabling quick modeling, increasing the speed of creating computer-aided design models, and improving development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0034] Figure 1 It is a flowchart of a modeling method provided by an embodiment of the present application;
[0035] Figure 2 is a flow chart of a modeling method provided by another embodiment of the present application;
[0036] Figure 3 is a flow chart of step A2 of the modeling method provided in one embodiment of the present application;
[0037] Figure 4 is a flow chart of step A3 of the modeling method provided in one embodiment of the present application;
[0038] Figure 5 is a flow chart of a modeling method provided by another embodiment of the present application;
[0039] Figure 6 is a structural diagram of a modeling system provided by an embodiment of the present application;
[0040] Figure 7is a structural schematic diagram of a modeling system provided by another embodiment of the present application;
[0041] Figure 8 is a schematic diagram of the structure of a modification module of a modeling system provided in an embodiment of the present application;
[0042] Fig. 9 It is a structural diagram of a model generation module of a modeling system provided in an embodiment of the present application;
[0043] Fig.10 is a structural schematic diagram of a modeling system provided by another embodiment of the present application;
[0044] Fig.11 It is a structural schematic diagram of a processing device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the technical problems, technical solutions and beneficial effects to be solved by this application clearer, the following Figures 1 to 11 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0047] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0048] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0049] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0050] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0051] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0052] The embodiments of the present application provide a modeling method that can be applied to part preparation before processing, and is suitable for pipes, profiles, plates and other parts.
[0053] Figure 1 Schematic diagram of a modeling method provided by an embodiment of the present application. Figure 1 The modeling method provided in the embodiment of the present application includes steps A1 to A3.
[0054] Step A1: Obtain product parameter modification information and preset model template.
[0055] For products that differ only in some parameters (such as whether the tube type used is a round tube or a square tube), a 3D model is created using the same template, which is a preset model template. The preset model template can be stored in a template library, and the preset model templates in the template library can be expanded according to common products.
[0056] When some parameters of a product need to be modified, the user inputs the parameter modification information in the user interface of the modeling system (for example, changing the type of tube used to a square tube). The modeling system obtains the parameter modification information through the user interface and obtains the preset model template corresponding to the product to facilitate subsequent model creation.
[0057] The parameter modification information may also be pre-stored in a storage component, and the modeling system obtains the parameter modification information from the storage component.
[0058] Step A2: modify corresponding parameters of the preset model template of the product according to the parameter modification information.
[0059] The preset model template contains different parameters, such as the length, width, and height of the product, etc. The parameters contained in the preset model template correspond to the parameter modification information input by the user, that is, the parameter modification information input by the user is to modify the parameters of the preset model template.
[0060] Step A3: Generate a computer-aided design model of the product according to the modified preset model template.
[0061] After modifying the preset model template, the corresponding computer-aided design model will also change, and a new computer-aided design model can be created, thereby realizing the generation of computer-aided design models of different products through one template.
[0062] According to the above content, it can be known that by obtaining the parameter modification information of the product and the preset model template corresponding to the product, the preset model template is modified according to the obtained parameter modification information, and then a computer-aided design model of the product is created according to the modified preset model template. In this way, different computer-aided design models can be regenerated by modifying the corresponding parameters of the preset model template, thereby realizing parametric modeling, which can quickly build models, increase the speed of creating computer-aided design models, and improve development efficiency.
[0063] Figure 2 is a flow chart of a modeling method provided by another embodiment of the present application. Figure 2 Before step A1 (ie, obtaining parameter modification information of the product and the preset model template), the modeling method provided in the embodiment of the present application may further include steps B1 to B3.
[0064] Step B1, determine the global parameters of the product.
[0065] Global parameters are parameters that are accessible and usable throughout the system.
[0066] In the field of computer-aided design, the global parameters of a product refer to the parameters required to build a product model. For example, to build a rectangular tube part, the required parameters include: length, width, height, thickness, and corners.
[0067] Global parameters have parameter names and default values. For example, the parameter names of the length, width, height, thickness, and corner of a rectangular tube part are L, A, B, T, and R, and the default values of the length, width, height, thickness, and corner are 300, 60, 50, 3, and 5, respectively.
[0068] In actual operation, the user can open the parameter design page of the product in the modeling system, set relevant parameters according to the requirements of the product (the number of parameters is not limited), and the modeling system generates global parameters in a fixed format (for example: dset parameter name parameter default value), thereby determining the global parameters of the product. Taking the above rectangular tube part as an example, the global parameters of the rectangular tube part are: dset A 60; dset B 50; dset T 3; dset R 5; dset L 300.
[0069] Step B2: Bind the global parameters to the preset model template.
[0070] As mentioned above, the preset model template of the product corresponds to the computer-aided design model of the product.
[0071] Creating a product model requires various product parameters. In order to obtain the various product parameters, the global parameters are bound to the preset model template.
[0072] Step B2 (binding the global parameters to the preset model template) may specifically be: generating a script for binding the global parameters to the preset model template.
[0073] Generate a script that binds global parameters to preset model templates, which is to bind global parameters to preset model templates through a scripting language program. The scripting language is easy to write and understand, which can lower the threshold of use and improve user experience.
[0074] The preset model template may be a script interface (API, Application Programming Interface) designed for a product. For example, the preset model template for a square tube is createrectangletube@name@width@height@thickness@chamferradius@length, and the preset model template for a circular tube is createcircletube@name@radius@thickness@length, where @ is a placeholder.
[0075] Taking the rectangular tube part as an example, the parameter names of length, width, height, thickness, and corner are represented by L, A, B, T, and R respectively, and the generated script language program is createrectangletube rect ABTRL.
[0076] In some other embodiments, the global parameters are bound to the preset model template through a high-level programming language program.
[0077] Step B3: Bind the global parameters to the user interface to obtain parameter modification information of the product through the user interface.
[0078] Bind the global parameters to the user interface. The user enters the parameter modification information of the global parameters in the user interface. The modeling system obtains the parameter modification information of the global parameters through the user interface, and then modifies the preset model template bound to the global parameters according to the parameter modification information. If the preset model template is a script interface, the parameters of the preset model template can be replaced by searching for the placeholder @ after obtaining the parameter modification information of the product.
[0079] Binding the global parameters with the user interface in step B3 may specifically be: generating a script for binding the global parameters with the user interface.
[0080] Generate a script that binds global parameters to the user interface, which is to bind global parameters to the user interface through a scripting language program. The scripting language is easy to write and understand, which can lower the threshold of use and improve user experience.
[0081] Taking the rectangular tube part as an example, the parameter names of length, width, height, thickness, and corner are represented by L, A, B, T, and R respectively, and the generated script language program is as follows.
[0082] #Bind to UI
[0083] addparamgroup section information
[0084] addparam A width(A)
[0085] addparam B high (B)
[0086] addparam T thickness (T)
[0087] addparam R chamfer radius (R)
[0088] addparam L length (L)
[0089] In some other embodiments, the global parameters are bound to the user interface via a high-level programming language program.
[0090] It should be understood that steps B1 to B3 are settings for the modeling system to achieve parametric modeling.
[0091] Based on the above content, all product modeling can be parameterized to generate script files for different products. Taking rectangular tube parts as an example, the parameter names of length, width, height, thickness, and corner are represented by L, A, B, T, and R respectively, and the generated script language program is as follows.
[0092] #Global parameters
[0093] dset A 60;
[0094] dset B 50;
[0095] dset T 3;
[0096] dset R 5;
[0097] dset L 300;
[0098] #Parameters are bound to the user interface
[0099] addparamgroup section information
[0100] addparam A width(A)
[0101] addparam B high (B)
[0102] addparam T thickness (T)
[0103] addparam R chamfer radius (R)
[0104] addparam L length (L)
[0105] #Create parts
[0106] createrectangletuberect ABTRL
[0107] Execute the script file corresponding to the product, adjust the relevant parameter values according to requirements, and recalculate to generate the product model of the final size.
[0108] The product may include a main structure and additional features. For example, for a round tube with branch pipes, the round tube is the main structure and the branch pipes are additional features.
[0109] Correspondingly, the preset model template includes main structure parameters and additional feature parameters.
[0110] Figure 3 is a flow chart of step A2 of the modeling method provided in one embodiment of the present application. Figure 3 , step A2 (modifying the corresponding parameters of the preset model template of the product according to the parameter modification information) may include step A21 and step A22.
[0111] Step A21: modify the main structure parameters of the preset model template of the product according to the parameter modification information.
[0112] The parameter modification information includes the main structure parameter modification information of the product. The main structure parameter modification information is used to modify the main structure parameters of the preset model template.
[0113] Step A22: modify the additional characteristic parameters of the preset model template of the product according to the parameter modification information.
[0114] The parameter modification information includes additional characteristic parameter modification information of the product. The additional characteristic parameter modification information is used to modify the additional characteristic parameters of the preset model template.
[0115] Figure 4 is a flow chart of step A3 of the modeling method provided in one embodiment of the present application. Figure 4 , step A3 (generating a computer-aided design model of the product according to the modified preset model template) may include step A31 and step A32.
[0116] Step A31: Generate a computer-aided design main body model of the product according to the modified preset model template.
[0117] Step A32: Generate additional features based on the computer-aided design main body model according to the modified preset model template.
[0118] By modifying the main structure parameters of the preset model template through the main structure parameter modification information, and modifying the additional feature parameters of the preset model template through the additional feature parameter modification information, and then generating the computer-aided design main model of the product through the modified preset model template, and generating additional features based on the computer-aided design main model, parametric modeling of products with complex structures can be quickly realized.
[0119] Figure 5 is a flow chart of a modeling method provided by another embodiment of the present application. Figure 5 The above modeling method may further include step C1.
[0120] Step C1, generating a processing file according to a computer-aided design model.
[0121] After completing the creation of the computer-aided design model of the product, the model is imported into the computer-aided manufacturing system. After process and layout processing, the processing file is generated and exported to carry out processing operations.
[0122] Using the modeling method provided in the embodiments of the present application, users can quickly parameterize the processed products and bind them to the computer-aided manufacturing system. Ordinary personnel can set parameters according to the orders and requirements, and quickly output executable processing files. This can reduce repeated drawing and does not require understanding of complex three-dimensional design software. In a fixed product line, it can improve customer production efficiency, reduce the number of professionals, and both reduce costs and increase efficiency.
[0123] The modeling method provided in the embodiment of the present application combines scripting technology, modeling technology, and user interface (UI, UserInterface) technology, which can realize rapid parameter modeling according to product style and constraints, improve development efficiency, and at the same time meet the user's needs for adjusting parameters at will, thereby improving the user's work efficiency.
[0124] Corresponding to the method described in the above embodiment, Figure 6 A structural block diagram of a modeling system provided by an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0125] refer to Figure 6 The modeling system provided by the embodiment of the present application includes an acquisition module 1A, a modification module 2A, and a model generation module 3A.
[0126] The acquisition module 1A is used to obtain parameter modification information and preset model templates of products.
[0127] The modification module 2A is used to modify the corresponding parameters of the preset model template of the product according to the parameter modification information.
[0128] The model generation module 3A is used to generate a computer-aided design model of the product according to the modified preset model template.
[0129] Figure 7 Schematic diagram of the structure of a modeling system provided by another embodiment of the present application. Figure 7 The above-mentioned modeling system may further include a global parameter determination module 1B, a template binding module 2B and an interface binding module 3B.
[0130] The global parameter determination module 1B is used to determine the global parameters of the product.
[0131] The template binding module 2B is used to bind the global parameters to the preset model template.
[0132] The interface binding module 3B is used to bind the global parameters to the user interface so as to obtain the parameter modification information of the product through the user interface.
[0133] Figure 8 Schematic diagram of the modification module of the modeling system provided by an embodiment of the present application. Figure 8 The above-mentioned modification module 2A may include a main parameter modification submodule 21A and an additional parameter modification submodule 22A.
[0134] The main body parameter modification submodule 21A is used to modify the main body structure parameters of the preset model template of the product according to the parameter modification information.
[0135] The additional parameter modification submodule 22A is used to modify the additional characteristic parameters of the preset model template of the product according to the parameter modification information.
[0136] Fig. 9 Schematic diagram of the structure of the model generation module of the modeling system provided by an embodiment of the present application. Fig. 9 The above-mentioned model generation module 3A may include a main model generation submodule 31A and an additional feature generation submodule 32.
[0137] The main body model generation submodule 31A is used to generate a computer-aided design main body model of the product according to the modified preset model template.
[0138] The additional feature generation submodule 32 is used to generate additional features based on the computer-aided design main body model according to the modified preset model template.
[0139] Fig.10 is a structural diagram of a modeling system provided by another embodiment of the present application. Fig.10 The above-mentioned modeling system may also include a processing file generating module 1C.
[0140] The processing file generating module 1C is used to generate processing files according to the computer-aided design model.
[0141] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0142] Fig.11 This is a schematic diagram of the structure of a processing device provided in one embodiment of the present application. Fig.11 As shown, the processing device 11 of this embodiment includes: at least one processor 110 ( Fig.11 only one is shown in the figure), a memory 111, and a computer program 112 stored in the memory 111 and executable on at least one processor 110; when the processor 110 executes the computer program 112, the steps in the above-mentioned method embodiments are implemented.
[0143] The processing device 11 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The processing device may include, but is not limited to, a processor 110 and a memory 111. Those skilled in the art will appreciate that Fig.11 It is only an example of processing equipment and does not constitute a limitation of the processing equipment. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access equipment, buses, etc.
[0144] The processor 110 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0145] In some embodiments, the memory 111 may be an internal storage unit of the processing device 11, such as a hard disk or memory of the processing device. In other embodiments, the memory 111 may also be an external storage device of the processing device, such as a plug-in hard disk equipped on the processing device, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 111 may also include both an internal storage unit of the processing device and an external storage device. The memory 111 is used to store an operating system, an application program, a boot loader, data, and other programs, such as program codes of a computer program. The memory 111 may also be used to temporarily store data that has been output or is to be output.
[0146] Exemplarily, the computer program 112 may be divided into one or more modules / units, one or more modules / units are stored in the memory 111, and are executed by the processor 110 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 112 in the processing device 11.
[0147] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0148] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0149] If the aforementioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium; when the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media include: any entity or device that can carry computer program code to a device / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0150] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0151] An embodiment of the present application provides a computer program product. When the computer program product runs on a processing device, the processing device can implement the steps in the above-mentioned various method embodiments.
[0152] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0153] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0154] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are merely schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0155] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0156] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A modeling method, It is characterized in that include: Obtain product parameter modification information and preset model templates; Modify corresponding parameters of the preset model template of the product according to the parameter modification information; A computer-aided design model of the product is generated according to the modified preset model template.
2. The modeling method according to claim 1, It is characterized in that Before obtaining the parameter modification information of the product and the preset model template, the modeling method further includes: determining global parameters of the product; Binding the global parameters to a preset model template; The global parameters are bound to a user interface to obtain parameter modification information of the product through the user interface.
3. The modeling method according to claim 1, It is characterized in that The step of modifying corresponding parameters of the preset model template of the product according to the parameter modification information includes: Modify the main structure parameters of the preset model template of the product according to the parameter modification information; The additional characteristic parameters of the preset model template of the product are modified according to the parameter modification information.
4. The modeling method according to claim 3, It is characterized in that The step of generating a computer-aided design model of the product according to the modified preset model template comprises: Generate a computer-aided design main body model of the product according to the modified preset model template; Additional features are generated based on the computer-aided design main body model according to the modified preset model template.
5. The modeling method according to claim 2, It is characterized in that The binding of the global parameter to the preset model template includes: Generate a script that binds the global parameters to a preset model template.
6. The modeling method according to claim 5, It is characterized in that The binding of the global parameter to the user interface includes: A script is generated that binds the global parameter to the user interface.
7. The modeling method according to any one of claims 1 to 6, It is characterized in that The modeling method also includes: A machining file is generated according to the computer-aided design model.
8. A modeling system, It is characterized in that include: The acquisition module is used to: obtain the parameter modification information and preset model template of the product; A modification module, used to modify corresponding parameters of the preset model template of the product according to the parameter modification information; The model generation module is used to generate a computer-aided design model of the product according to the modified preset model template.
9. A processing device, It is characterized in that The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the modeling method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the modeling method according to any one of claims 1 to 7 is implemented.
