Modification Method and System Based on 3D and 2D Graph Parameter Modification System
By establishing a data connection between the system and 3D modeling software and using parameterized driving tables, the problems of narrow applicability, low drawing efficiency, and high cost in existing technologies have been solved, achieving efficient and widely applicable generation of 3D and 2D maps.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-03
- Publication Date
- 2026-04-03
AI Technical Summary
Existing methods for modifying 3D and 2D plots suffer from problems such as a narrow user base, low plotting efficiency, and high usage and maintenance costs.
Establish a data connection between the system and the 3D modeling software, import the parametric model and generate an initial 2D drawing, create a parametric-driven table and link it synchronously with the model, traverse the model parameters and modify the table according to the order data, and generate the target 3D drawing and 2D drawing.
It improves drawing efficiency, is suitable for a wide range of users, requires no programming knowledge, supports the generation of 3D and 2D drawings, and reduces usage and maintenance costs.
Smart Images

Figure CN121095447B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of 3D / 2D drawing technology, specifically relating to a modification method and system based on a 3D and 2D drawing parameter modification system. Background Technology
[0002] In certain specific areas or fields, most product types share a common characteristic: their structural forms are relatively fixed, but the dimensions of their internal components vary. Therefore, most products require redesigning 3D models and engineering drawings based on customer needs. This results in significant resource consumption, lengthy design cycles, and compromised accuracy of manual drafting, making it highly susceptible to product quality issues stemming from flawed design drawings.
[0003] Existing solutions typically involve manually modifying models and engineering drawings to generate drawings, or having some software service providers offer software development for drawing automation. This software uses programming to call design software interfaces, driving the design software to perform 3D modeling and engineering drawing-related operations, ultimately achieving automatic drawing generation.
[0004] Developing drafting / editing methods through software programming requires users to have programming knowledge, limiting the applicable user base. Furthermore, software service providers need to develop dedicated drafting tools for each product type. If a company has N product types, it needs to develop N separate software programs, resulting in non-reusable code, low reusability, and high development costs due to the need to redevelop each new product type. Moreover, companies need to transfer product design knowledge (such as dimensional specifications and process constraints) to developers, who may lack industry experience, leading to functional logic errors (such as incorrect sheet metal bending coefficient calculations) and non-standard drawing annotations (such as mixing GB and ISO standards), resulting in high drafting error rates and impacting subsequent production / manufacturing operations. Further, companies need to disclose core design rules (such as parametric model logic) to software service providers, which carries the risk of copying or misuse. Companies also cannot maintain the code independently; each requirement change (such as adding a part family) requires redevelopment at a new cost, resulting in high maintenance costs and strong dependency. Additionally, companies cannot quickly adapt to new products; the development cycle from a sub-product to a parent product can take several months, leading to delayed market response. In summary, existing methods for developing drawing / editing tools through software programming suffer from problems such as a narrow user base, low reusability, high error rate in output drawings, low development efficiency, and high development and maintenance costs.
[0005] In view of this, the present invention is hereby proposed. Summary of the Invention
[0006] One objective of this invention is to provide a method for modifying parameters of 3D and 2D plots, not limited to any technical field, to solve the problems of existing methods for drawing / modifying 3D and 2D plots having a narrow applicable user base, low plotting efficiency, and high usage and maintenance costs.
[0007] To achieve the above objectives, the present invention provides a modification method based on a three-dimensional graph and a two-dimensional graph parameter modification system, comprising:
[0008] Establish a data connection between the system and the 3D modeling software, import the parametric model into the system and control it to open in the 3D modeling software, and generate an initial 2D drawing;
[0009] Create a parameterized driving table and synchronize it with the parameterized model and the two-dimensional graph;
[0010] Traverse the parameterized model, extract all parameters involved in the parameterized model, and list all parameters in the parameterized driving table according to preset rules;
[0011] Determine the product order data, and modify the parameters of the parameterized model in the parameterized driving table according to the product order data to obtain the modified parameterized driving table;
[0012] Based on the modified parametric driving table, the parametric model and the initialization model are traversed to obtain the target 3D drawing and the target 2D drawing. Further, after the step of importing the parametric model into the system and before the step of controlling its opening in the 3D modeling software, the method further includes: determining whether the user selects to open a single part model, multiple part models, or the overall model from the imported parametric model.
[0013] Furthermore, the step of creating a parameterized driving table and synchronizing it with the parameterized model and the two-dimensional graph includes: creating parameterized driving tables for recording parameters involved in the parameterized model and the initial two-dimensional graph, and establishing the relationship between the data in the tables; analyzing the actions corresponding to the parameters involved in the parameterized model and the initial two-dimensional graph, and converting each action into a different code block, encapsulating each code block according to a preset encapsulation rule using encapsulation functions; and integrating the encapsulated functions into the parameterized driving table.
[0014] Furthermore, the step of creating parameterized driving tables for recording parameters involved in the parameterized model and the initial two-dimensional graph, and establishing the relationship between data within the tables, includes: creating one or more sub-tables in different areas of the parameterized driving table, wherein the one or more sub-tables are respectively used to record all parameters involved in the parameterized model and all parameters involved in the initial two-dimensional graph; and establishing the relationship between data within all sub-tables according to product design principles.
[0015] Furthermore, the parameters involved in the parametric model include: model part name, custom attributes, compressed / decompressed parts, part replacement, configuration changes, and model sketch or feature dimensions; and / or, the parameters of the initial two-dimensional drawing include: engineering drawing part name, drawing scale, view position, inserted table, inserted block, annotation, and note.
[0016] Furthermore, the step of listing the parameters in the parameterized driving table according to preset rules includes: listing all the extracted parameters in the sub-tables corresponding to different areas of the parameterized driving table according to the first parameter identification information; wherein, the first parameter identification information includes one or more of the following: part name, parameter type, and file name.
[0017] Furthermore, after generating the target 2D image, the method further includes: traversing the target 2D image again to obtain all parameters in the target 2D image and listing all parameters in the parameterization driving table; adjusting the parameters in the parameterization driving table; and traversing the target 2D image according to the modified parameterization driving table to obtain the beautified target 2D image.
[0018] Furthermore, the system includes an auxiliary parameter extraction module; the steps of traversing the target 2D image again, obtaining all parameters in the target 2D image, and listing all parameters in the parameterization driving table include: controlling the system to open the auxiliary parameter extraction module; controlling the auxiliary parameter extraction module to traverse the target 2D image, the auxiliary marking module identifying and extracting all parameters in the target 2D image; drawing a 2D image parameter table with all extracted parameters; inputting the second parameter identification information in the 2D image parameter table into the corresponding sub-table of the parameterization driving table; the second parameter identification information includes one or more of the following: part information, parameter type, and part identification code.
[0019] In other embodiments, a 3D and 2D plot parameter modification system is provided, capable of executing the modification method based on the 3D and 2D plot parameter modification system described above; the system includes: an interface connection module for establishing a data connection between the system and 3D plotting software; a table association module for establishing a synchronous link between the parametric model and the parametric driving table; a parameter simulation module for simulating the parametric establishment standard in the 3D plotting software; a table design module for establishing preset rules for all parameters in the parametric driving table according to the simulated parametric establishment standard in the 3D plotting software, and listing them in the table according to the preset rules; and a plot editing module for adjusting the variable parameters of the associated parametric driving table, and updating the target 3D plot and the target 2D plot according to the modified parameters.
[0020] Furthermore, the system also includes an auxiliary parameter extraction module, used to identify and extract all markers in the target 2D image and plot the marker parameters involved in all markers into a table; and / or, the system also includes a human-computer interaction module, including a client display module, a receiving module, a parsing module, and an output module. The client display module is used to display the user's interaction interface with the system; the receiving module includes receiving parameterized models imported by the user, receiving parameterized driving tables created / selected by the user, and receiving user instructions to generate a 3D image or a 2D image; the parsing module is used to complete the corresponding actions according to the user instructions received by the receiving module and the preset configuration; the output module is used to output a preset interface according to the parsing results of the parsing module.
[0021] In some other embodiments, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the modification method based on the three-dimensional and two-dimensional graph parameter modification system as described above and applies it to the three-dimensional and two-dimensional graph parameter modification system described above.
[0022] In other embodiments, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the modification method based on the three-dimensional and two-dimensional graph parameter modification system as described above and applies it to the three-dimensional and two-dimensional graph parameter modification system described above.
[0023] Based on the foregoing description, those skilled in the art will understand that this invention establishes a data connection between the system and 3D modeling software, imports a parametric model into the system and establishes a parametric driving table, and then establishes a link between the model and the parametric table. This allows users to modify the parameters of the corresponding parts in the model within the parametric table, thereby modifying the model parameters in the 3D modeling software and updating and generating 3D and 2D drawings. Existing methods for drawing / editing via programming require users to have programming skills, have a narrow user base, and are slow to produce drawings, with a production time ranging from approximately 30 minutes to 2 hours. Furthermore, these methods can only modify 3D drawings or only engineering drawings. In addition, for the same company, N types of products require the development of N independent software programs, making code reuse impossible, resulting in low reusability and high usage and maintenance costs. Users of this invention do not need to know programming, making it applicable to a wider range of people. It also boasts high drawing efficiency, typically completing drawings in 3 to 10 minutes. It supports both 3D and 2D drawing generation and is not limited to any particular field. Any field only needs to parametrically generate the basic product model, and similar / identical products can be modified based on this. For the same enterprise, the reuse rate is high, further improving drawing efficiency and reducing usage and maintenance costs to a certain extent. Attached Figure Description
[0024] The accompanying drawings, as part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments and descriptions of the invention are used to explain the invention, but do not constitute an undue limitation of the invention. Obviously, the drawings described below are merely some embodiments, and those skilled in the art can obtain other drawings based on these drawings without creative effort. In the drawings:
[0025] Figure 1 This is a flowchart of a modification method based on a three-dimensional graph and a two-dimensional graph parameter modification system in some embodiments of the present invention;
[0026] Figure 2 This is a flowchart of a two-dimensional graph parameter modification method in some other embodiments of the present invention;
[0027] Figure 3 This is a parametric model diagram of the part in a specific embodiment of the present invention;
[0028] Figure 4 yes Figure 3 A schematic diagram of the first part of the parameterized driving table generated corresponding to the part model in the middle;
[0029] Figure 5 yes Figure 3 A schematic diagram of the second part of the parameterized driving table generated corresponding to the part model in the middle;
[0030] Figure 6 yes Figure 3 A schematic diagram of the third part of the parameterized driving table generated corresponding to the part model in the middle;
[0031] Figure 7 yes Figure 3 A partial schematic diagram of the parameterized driving table generated corresponding to the two-dimensional drawing of the part. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments will be clearly and completely described below with reference to the accompanying drawings. The following embodiments are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0033] Those skilled in the art should understand that the embodiments described below are merely a part of the embodiments of the present invention, and not all of the embodiments of the present invention. These partial embodiments are intended to explain the technical principles of the present invention and are not intended to limit the scope of protection of the present invention. Based on the embodiments provided by the present invention, all other embodiments obtained by those skilled in the art without creative effort should still fall within the scope of protection of the present invention.
[0034] The following reference Figures 1 to 7 This document will provide a detailed description of the modification methods and systems based on the parameter modification system of three-dimensional and two-dimensional graphs in some embodiments of the present invention. Figure 1 This is a flowchart of a modification method based on a three-dimensional graph and a two-dimensional graph parameter modification system in some embodiments of the present invention; Figure 2 This is a flowchart of a two-dimensional graph parameter modification method in some other embodiments of the present invention; Figure 3 This is a parametric model diagram of the part in a specific embodiment of the present invention; Figure 4 yes Figure 3 A schematic diagram of the first part of the parameterized driving table generated corresponding to the part model in the middle; Figure 5 yes Figure 3 A schematic diagram of the second part of the parameterized driving table generated corresponding to the part model in the middle; Figure 6 yes Figure 3 A schematic diagram of the third part of the parameterized driving table generated corresponding to the part model in the middle; Figure 7 yes Figure 3 A partial schematic diagram of the parameterized driving table generated corresponding to the two-dimensional drawing of the part.
[0035] In some embodiments of the present invention, a system for modifying parameters of 3D and 2D plots is provided. First, a data connection is established between the system and 3D plotting software. Then, based on the parametric function in the 3D plotting software, the system directly extracts the parameters involved in the parametric model. Then, a series of actions required to modify the model parameters are integrated into an Excel driving spreadsheet through programming and encapsulated functions, so that operators can directly modify the variable parameters in the Excel driving spreadsheet to update the model parameters in the 3D plotting software and generate 3D and 2D plots.
[0036] For the same field, only a built-in parametric model of all parts involved in that field needs to be provided, and the relationship / variable parameters of each part in the product order need to be input into a newly created Excel spreadsheet within the system. The system can adjust the model parameters according to the variable parameters and generate corresponding 3D and 2D diagrams for subsequent production and manufacturing operations. This system is suitable for generating product drawings during internal front-end integration within an enterprise, and also for generating drawings for external product orders, making it universally applicable. Compared to the cumbersome and inefficient methods of manual drawing or retouching, this invention is more efficient and can avoid errors in drawings caused by manual operation that could affect the final production / manufacturing operation, resulting in higher drawing accuracy. Compared to existing methods of drawing / retouching through complete programming, which require programming knowledge and have a relatively narrow target audience, this invention does not require programming knowledge, making it applicable to a wider range of people and more practical.
[0037] The system includes an interface connection module, a table association module, a parameter simulation module, a table design module, and a graph editing module. The interface connection module establishes a data connection between the system and the 3D modeling software. The table association module establishes a synchronous link between the parametric model and the parametric-driven table. The parameter simulation module simulates the parametric establishment standards in the 3D modeling software. The table design module establishes preset rules for all parameters in the parametric-driven table based on the simulated parametric establishment standards in the 3D modeling software and the operator's preset standards, and lists them in the table according to these preset rules. The graph editing module adjusts the variable parameters of the associated parametric-driven table and generates the target 3D and target 2D graphs based on the modified parameters.
[0038] The interface connection module is used to establish a data connection between the system and the 3D modeling software, enabling bidirectional data transmission between the two systems. This data transmission function includes, but is not limited to, data interaction and integration, compensating for deficiencies in the software's native functionality (e.g., complex logic not supported by the 3D modeling software itself). This invention preferably uses an API interface to establish the data connection between the system and the 3D modeling software, thereby achieving bidirectional data interaction and synchronization between the two systems, exceeding data transmission limitations (e.g., automated processes and control), and system integration.
[0039] In this invention, the 3D modeling software is mainly used in industrial design. The 3D modeling software can be SolidWorks, SolidWorks (Unigraphics), Pro / E (Pro / Engineer), CATIA, etc. Preferably, this invention uses SolidWorks software as an example.
[0040] In this invention, the parameterized driving table can be Microsoft Excel, WPS Office, Tencent Docs, or Shimo Spreadsheet, etc. Preferably, this invention uses Microsoft Excel software as an example.
[0041] The table association module is used to establish a synchronous link between the parametric model and the parametric driving table. Specifically, the functions of the table association module include, but are not limited to, defining the parameter types of the parametric driving table, the layout within the table, the data association within the table, and converting the actions involved in modifying parameters in the 3D drawing software into code blocks through programming. The code blocks are then encapsulated using encapsulation functions in a preset manner, and the encapsulated functions are integrated into the parametric driving table accordingly.
[0042] In the process of defining the parameter types of the parameterized driven table, the table association module needs to work together with the parameter simulation module and the table design module.
[0043] The parameter simulation module simulates the parameterization standards in 3D modeling software to unify the parameterized driving tables and parameterized models, effectively reducing the error rate in the data extraction stage. Specifically, in this invention, the parameter types in the tables correspond to the function names in the 3D modeling software. For example, parameters involved in the parameterized model include, but are not limited to, part names, component replacements, configuration changes, compressed / decompressed components, other custom attributes, and model sketches or feature dimensions. Parameters involved in the 2D drawings include, but are not limited to, part names, drawing scale, view position, inserting tables, inserting blocks, annotations, and comments. The specific actions / functions corresponding to each parameter are described in detail in the modification method section below and will not be repeated here.
[0044] The table design module can establish the parameter types, layout, and data relationships within the table based on the parameter simulation module's established standards and the operator's preset standards. This ensures that the extracted parameters are listed in the parameterized driven table according to preset rules. Since this invention involves numerous parameters and often multiple components in practical applications, a single table is visually unappealing and provides a poor user experience. Therefore, operators can create different tables in different areas of the parameterized driven table to complete different data listing tasks, thus beautifying the parameterized driven table and improving the user's visual experience.
[0045] The functions of the drawing editing module include, but are not limited to, acquiring the variable parameters input by the user in the parametric driving table, and traversing the parametric model according to the modified parametric driving table to control the 3D drawing software to modify the model based on the adjusted parameters. The drawing editing module also includes: in response to the user's selection to generate a 3D drawing, controlling the generation of a 3D drawing; and in response to the user's selection to generate a 2D drawing, controlling the generation of a 2D drawing. The 2D drawings generated by this invention include, but are not limited to, engineering drawings; the following description uses engineering drawings as an example.
[0046] In some embodiments of the present invention, the target 2D drawing obtained after processing by the above modules and programs is only modified according to the model size corresponding to the user's order. However, since there are various types of model modifications, the attached label is prone to problems such as multiple overlapping labels or labels being too far or too close to the 2D drawing, affecting the aesthetics of the 2D drawing. Typically, the user needs to manually adjust the label positions, but this is inefficient when there are many parts. Therefore, the system in this invention also includes an auxiliary parameter extraction module. This module is used to identify and extract all labels in the target 2D drawing and plot the label parameters involved in all labels in a table. The operator inputs the parameter identification information from the label parameter table into the corresponding sub-table of the parameterized driving table. By adjusting the variable parameters in the label parameter sub-table of the parameterized driving table, the target parameter 2D drawing is improved, enhancing the overall drawing efficiency.
[0047] In other embodiments of the present invention, the 3D and 2D graph parameter modification system further includes a human-computer interaction module for user interaction with the system. The human-computer interaction module includes a client display module, a receiving module, a parsing module, and an output module. The client display module displays the system interface, visualizing the system functions. The receiving module receives / captures user commands.
[0048] The client display module is used to display the system interface, through which users can interact with the system. Specifically, users input / select commands to the system, and the system executes the corresponding actions according to the program behind the commands. The user interface display window of this invention includes, but is not limited to, human-computer interaction windows with functions such as importing parametric models, creating new tables, reading existing tables, opening the overall parametric model or opening a single part model within the parametric model, generating 3D drawings, and generating 2D drawings.
[0049] Specifically, when the user control system starts running, the client display module shows the initial interface. The initial interface has multiple menus / toolbars. The user selects the "Automatic Drawing Development" option, and a pop-up window displays "Create New Table," "Existing Table," and "Organize Model Framework + Parameter List" options. The user selects either "Create New Table" or "Existing Table," and then selects "Organize Model Framework + Parameter List," at which point the client display module enters the model import interface. After the user selects the model to import in the model import interface, the system controls the model to open in the 3D modeling software and extracts the parameters involved in the model, listing these parameters in a parameterized driving table. The user modifies the variable parameter column in the parameterized driving table according to the order details. After modification, the parameterized driving table is saved, and the system returns to the initial interface. When automatic drawing generation is required, the user selects the "Generate 3D Model" option on the initial interface. The initial interface then redirects to the data preparation interface. The user selects the saved parametric driving table and whether to open the entire model or specific parts of the model based on the opened parametric model. After selection, the system opens the model in the 3D drafting software. The system then iterates through the model according to the data in the table selected by the user to modify the model's parameters, obtaining the 3D model. The 3D model is then saved in the format required by the operator, thus obtaining the 3D drawing. Returning to the initial interface, the user selects "Generate Engineering Drawing." The system controls the 3D drafting software to generate the target 2D drawing based on the target 3D drawing, and then modifies the parameters of the target 2D drawing in the parametric driving table to obtain the enhanced target 2D drawing.
[0050] When a user uses the system for the first time or opens a parametric model for the first time, they first select the "Create New Table" option in the initial interface pop-up window to create a new parametric driving table and then execute the subsequent model traversal steps. When a user uses the same parametric model multiple times, there may be instances where only one part model, one part model, or the entire model is opened at any given time to create a parametric driving table, and then other part models or all part models are subsequently used to create parametric driving tables. In this case, two scenarios are distinguished. Scenario 1: The first time the entire model is opened, the "Create New Table" option is selected, and the subsequent model traversal steps are executed, saving the parametric driving table. When the user needs to create a parametric driving table for a specific part within the entire model a second time, they only need to import the table saved the first time. That is, by selecting the "Created Table" option and importing the first saved table, the corresponding part's parametric driving table can be directly obtained. The system does not need to re-traverse the parametric model to obtain the table, thus improving drawing output efficiency. Scenario 2: When opening a part or parts model for the first time, select the "Create New Table" option and execute the subsequent model traversal steps, saving the parametric-driven table. When creating parametric-driven tables for other part models or the overall model for the second time, only the table saved the first time needs to be imported. That is, select the "Created Table" option and import the table saved the first time. The system traverses the corresponding imported parametric models. If there are parts that are the same as the part models imported the first time, the system will skip the same part models and only traverse the different part models. The system will continue to list the parameters of the different part models after the parameters of the parametric-driven table created the first time. The system will not enter the parameters of the same parts into the parametric-driven table again, thereby improving the reusability of the system and also improving the overall drawing output efficiency of the system.
[0051] It should be noted that the names of the menu bars / functional modules in the human-computer interaction interface described above can be textual descriptions such as "Automatic Drawing Development," "Organizing Model Architecture + Parameter List," "Creating New Table," "Existing Table," "3D Model Generation," and "Generating Engineering Drawings," or other textual descriptions representing the same function / effect or similar meaning; no limitation is made here. Furthermore, all textual descriptions related to user commands, system commands, or menu bars or functional modules within the human-computer interaction interface mentioned throughout this document can be replaced with synonymous or functionally equivalent textual descriptions, and all replaced textual descriptions fall within the protection scope of this invention.
[0052] The receiving module is used to receive / capture user instructions and feed them back to the system. The instructions received by the receiving module include, but are not limited to, importing parametric models, selecting adjustment objects as the entire model or single or multiple part models, receiving parametric driving tables created / selected by the user, and receiving user instructions to generate 3D or 2D drawings.
[0053] The parsing module responds to user commands based on the user commands fed back by the receiving module, according to the preset configuration.
[0054] The output module, based on the parsing results from the parsing module, displays the preset interface on the client according to the system's preset rules.
[0055] In other embodiments of the present invention, the system further includes an auxiliary feature extraction module, which is used to extract the label and annotation parameters in the two-dimensional image, extract the label and annotation parameters in the target two-dimensional image, and record them as table parameters. The operator inputs the names of the labels and annotation parameters in the table parameters into the parameterized driving table to drive the two-dimensional image parameter modification column. The user modifies the variable parameters in the labels and annotations, and adjusts them through the code configured by the system to drive the three-dimensional drawing software to beautify the labels in the two-dimensional image.
[0056] The following describes the modification method based on the 3D and 2D graph parameter modification system, and the 3D and 2D graph parameter modification system described above can execute all the steps of the modification method based on the 3D and 2D graph parameter modification system described below.
[0057] like Figure 1 As shown, in some other embodiments of the present invention, a modification method based on a three-dimensional graph and a two-dimensional graph parameter modification system is provided, including:
[0058] Step S110: Establish a data connection between the system and the 3D modeling software, import the parametric model into the system and control it to open in the 3D modeling software, and generate an initial 2D drawing.
[0059] In this invention, the 3D modeling software is mainly used in industrial design. The 3D modeling software can be SolidWorks, SolidWorks (Unigraphics), Pro / E (Pro / Engineer), CATIA, etc. Preferably, this invention uses SolidWorks software as an example.
[0060] It should be noted that the system and method disclosed in this invention involve adjusting the parameters of an initial parametric model based on the operator's actual needs after the operator has created a parametric model in SolidWorks software, in order to generate 3D and 2D drawings that meet the requirements. Creating a parametric model is a common function in SolidWorks software, involving parametric processing of the model during drawing. Specific procedures can be found in the SolidWorks software user manual or other existing technologies, and will not be elaborated here. Furthermore, it should be noted that while 3D drawing software has the function of generating 2D drawings from 3D drawings, the generation of the initial 2D drawing here is achieved by the system controlling the 3D drawing software to generate the 2D drawing from the 3D drawing, not by the system itself generating it directly.
[0061] It is understandable that, since the initial model has already undergone parameterization, the operator generates and sets the parameterization rules for both the 3D and 2D plots when processing the initial model. Therefore, the initial 3D and 2D plots described throughout this invention are actually parameterized 3D and 2D plots.
[0062] Because API interfaces have significant advantages in terms of development efficiency, data security, and application scope, this invention uses API interfaces for data transmission when establishing a connection between this system and SolidWorks software.
[0063] Step S120: Create a parameterized driving table and synchronize it with the parameterized model and 2D plot. Leveraging the driving table's superior data processing capabilities, user-friendly visualization, and flexibility and compatibility with cross-platform and multi-format support, as well as the reusability, readability, and ease of maintenance of encapsulated functions, the parameter modification actions in the 3D modeling software are converted into code blocks using programming. These code blocks are then encapsulated using encapsulated functions, and finally integrated into the parameterized driving table. This allows users to modify model parameters simply by changing the variable parameters in the driving table, effectively improving the efficiency of model parameter modification and enhancing the user experience. Specifically, step S120 includes:
[0064] Step S121: Create parameterized driving tables for recording the parameterized model and the initial two-dimensional graph, and establish the relationships between the data in the tables.
[0065] In this invention, the parameterized driving table can be Microsoft Excel, WPS Office, Tencent Docs, or Shimo Spreadsheet, etc. Preferably, this invention uses Microsoft Excel software as an example.
[0066] Since 3D and 2D plots involve many parameter types, Excel parameterized driving tables can be defined to display tables corresponding to the parameters of different plot types (i.e., 3D and 2D plots) in different areas. Alternatively, tables with different parameters can be displayed in different areas for the same plot type to improve the user's visual experience. At the same time, users can quickly locate the parameters that need to be modified, further improving the efficiency of modifying model parameters.
[0067] Specifically, step S121 includes: establishing one or more sub-tables in different areas of the parameterized driving table, with each sub-table used to record all parameters involved in the parameterized model and all parameters involved in the initial two-dimensional diagram; and establishing the relationships between the data in all sub-tables according to product design principles.
[0068] The parameter types involved in the parametric model include, but are not limited to: model part name, object file name, replacement file name, original configuration, final configuration, original compressed state, final compressed state, processing reference features, reference feature list, dimension modification, whether to generate engineering drawings, and other custom configurations.
[0069] Specifically, the model part name parameter is set to the name of the corresponding part in the parametric model. The object file name parameter is set to the file name of the corresponding part after it is encapsulated by the encapsulation function. That is, the part and the corresponding object file name are entered into the same column of the table, and when the user operates on the part, the action corresponding to that file can be directly executed. Among them, the model part name parameter and the object file name parameter can be used to identify the part individually or in combination with other identification information when traversing the parametric driving table. Parameter type parameters include feature variables, control parameters, state parameters or constraint parameters, etc., which can be set by the operator according to actual needs. Preferably, the parameter type parameters in the table are defaulted to feature variables. The dimension value parameter is set as a variable parameter, which is limited by the user according to the target parameters of the part or the relationship between parts, and the system then performs the dimension modification of the part.
[0070] The replacement file name parameter is set to correspond to the "Replace Parts" command in the 3D modeling software. The parts here can be modified to replace existing parts. The replaceable part models are already set up during the initial parametric modeling process. Here, simply enter the corresponding part name / address / file name in the "Replace File Name" field of the parametric driving table to complete the replacement. The specific input variables can be selected according to the rules set by the operator.
[0071] The configuration parameters correspond to the "Configuration" function in 3D modeling software. The parametric-driven table displays "Original Configuration" and "Final Configuration." The "Original Configuration" column is a constant, showing the current configuration for the part. The "Final Configuration" column is a variable; operators can input the desired configuration in this column to modify the model's configuration in the 3D modeling software. The configuration parameters allow selection of the required model body based on the established model configuration. Specifically, configuration parameters can be publicly available part attributes (e.g., calling a series of parts, such as nuts with models like M6, M8, and M10), or industry-known part attributes. Operators can set custom attributes based on industry rules and actual needs. Furthermore, different attributes of the same part can be modified in the configuration parameters, including but not limited to model, size, and material. It should be noted that the model corresponding to the part attributes selectable in the configuration parameters was already established during the operator's initial parametric modeling. This only adjusts the part's attributes and does not perform modeling functionality.
[0072] The compression parameters correspond to the "Compression Feature" function in 3D modeling software. This function includes two compression states for a part: compressed and decompressed. In the compressed state, the part is not displayed in the model. In the decompressed state, the part is displayed. The parameterized drive table displays "Original Compression State" and "Final Compression State." The "Original Compression State" column is a constant, showing the current compression / decompression state of the part. The "Final Compression State" column is a variable; the operator selects whether to compress or decompress the part in this column to determine whether to generate 3D and 2D models of the part. The selection button for the "Final Compression State" column can be set to "S" for compression and "U" for decompression.
[0073] Reference Feature List Parameters: When other parts created from the same part through array or mirroring during the initial parametric modeling process are compressed or decompressed together during the "compression / decompression" process, you can select in the Reference Feature List Parameters column whether to compress or decompress the original part and the parts obtained by array / mirror together.
[0074] The feature dimension parameters can be configured so that users can modify the dimensions of the part by inputting them into a parametrically driven table. These dimensions include, but are not limited to: length, width, height, diameter, angle, tolerance, datum, surface, and formulas that represent the relationships between parts.
[0075] If the user selects "Yes" for the parameter configuration to generate engineering drawings, the parameters in the corresponding engineering drawings of the updated model will also be updated. If the user selects "No," the engineering drawing parameters do not need to be updated.
[0076] Other custom configuration parameters can be set by users according to their actual needs and in combination with the functions in the 3D modeling software. For example, adding model sketch functions includes but is not limited to the following parameters: Extrude / Cut parameters: Extrude the sketch into a solid or cut material (such as boss extrusion, cut extrusion); Revolve parameters: Revolve the sketch about the axis to generate a solid of revolution (such as a shaft, flange); Sweep / Loft parameters: Use the sketch as a sweep path or loft section to generate complex surfaces or solids (such as pipes, twisted structures); Sheet metal design parameters: Define the bending line or unfolded profile of the sketch.
[0077] The parameter types involved in the initial two-dimensional drawing (taking an engineering drawing as an example here) include, but are not limited to: engineering drawing part name, drawing scale, view position, inserted table, inserted block, annotation and other parameter types.
[0078] The part name parameter in the engineering drawing corresponds to the "part name" in the engineering drawing in the 3D modeling software. When traversing the parameterized driving table, the part name can be used alone or in combination with other identification information to identify the part.
[0079] The drawing scale parameter corresponds to the "drawing scale parameter" function in 3D modeling software. The drawing scale parameter is used to control the proportional relationship between the view display size of the engineering drawing and the actual model size.
[0080] The view position parameter can be configured to modify the coordinates of all parts in the overall engineering drawing within the drawing, thereby adjusting the view position of the parts and improving the appearance of the engineering drawing.
[0081] The table insertion parameter configuration allows users to select the table to be inserted based on existing table templates within the parametric model, and modify the table's position and content. Specifically, when adjusting the table insertion parameters, users should have at least the following functions: Function 1: Select any or multiple table types from the existing table model and insert them into the 2D drawing; Function 2: Set the position of the inserted table; specifically, since the size of the 2D drawing is fixed, the position of the inserted table can be adjusted based on coordinates; Function 3: Enter part values or formulas calculating the relationships between parts based on order product data in the variable parameter field of the inserted table in the parametrically driven table to modify the data within the table in the 2D drawing.
[0082] The existing table templates within the parametric model allow operators to create one or more types of tables during the model building process. Operators can then establish connections between the data in each table type and the 2D drawing parts based on their field's conventions or experience. This allows for automatic drawing generation by adjusting model parameters when used with similar or related products. Since different fields may require different table types for display in 2D drawings, different types of tables can be created in the parametric model according to actual needs. It should be noted that the 3D drafting software has an "Insert Table" function; operators only need to create tables according to their specific requirements. Furthermore, the settings for parameters such as the number of rows, columns, row height, column width, font type, font size, and font slant are all generated according to the parametric model's standards. If modifications to these parameters are needed when generating aesthetically pleasing 2D drawings, these can be specifically set in the custom settings section of the parametric-driven table. The table types include, but are not limited to: Bill of Materials (BOM), which lists detailed information about all parts in the assembly drawing, such as serial number, part number, name, quantity, material, specifications, and remarks; Revision Table, which records the modification history of the drawing, such as revision version, modification content, date, responsible person, and approval status; Welding Table, which marks the weld symbols, dimensions, and process requirements of welded parts, such as weld number, type, length, and standard (e.g., ISO or AWS symbols); and Custom Table, which is a user-created table according to their needs, such as technical specifications or parameter lists, specifically, for example, descriptions of electrical diagrams or piping systems.
[0083] The block insertion parameter configuration allows users to select the desired block from existing block templates within the parametric model and modify its position and content. Specifically, users should have at least the following functions when adjusting the block insertion parameters: Function 1: Hide blocks, i.e., do not display any blocks in the 2D drawing; Function 2: Select any type or multiple types of blocks from the existing block model and insert them into the 2D drawing; Function 3: Set the position of the inserted block, specifically, adjust the position of the inserted block based on coordinates; Function 4: Enter part values or formulas calculating the relationships between parts based on order product data in the variable parameter column of the block insertion parameter table in the parametric driving table to modify the content (including symbols, numbers, letters, text, or formulas, etc.) within the block in the 2D drawing.
[0084] The existing block templates within the parametric model allow operators to create one or more types of blocks during the model building process. Operators, based on their field's conventions or experience, establish connections between the content (including symbols, numbers, letters, text, or formulas) of each block type and the corresponding parts in the 2D drawing. This allows for automatic drawing generation by adjusting relevant model parameters when used in subsequent similar or series products. Since different fields may require different block types to be displayed in the 2D drawing, different types of tables can be created in the parametric model as needed. It should be noted that the 3D drafting software has an "insert block" function; operators only need to create blocks according to actual requirements. Furthermore, the settings for parameters such as font type, font size, and font slant in the blocks are generated according to the parametric model's standards. If modifications to these parameters are needed when generating aesthetically pleasing 2D drawings, these can be specifically set in the custom settings section of the parametric-driven table. Block types include, but are not limited to: drawing a single structure as a block, integrating multiple structures into a block, or drawing other special content within the corresponding field as blocks.
[0085] The annotation parameter configuration involves extracting the marker parameters from the 2D drawing generated by the parametric model modified from order data. Operators can then modify parameters such as hiding annotations, annotation coordinates, and annotation direction in the existing annotations. Specifically, hiding annotations means that if a specific annotation is not needed in a given situation, it will not be displayed in the beautified 2D drawing. The position of the annotations can be modified based on their coordinates and direction to enhance the 2D drawing. Parameters such as the annotation leader style, line type and color, annotation arrow, dimensional tolerances, and other custom annotation modifications (e.g., annotation units and precision) are generated according to the standards used when the parametric model was built. If modifications to these parameters are needed when generating the beautified 2D drawing, these can be specifically set in the custom settings section of the annotation table within the parametric-driven table.
[0086] The annotation parameters can be configured to insert or delete annotations, modify the annotation position, and modify the annotation content. Specifically, annotation boxes can be inserted into 2D diagrams; the position of inserted annotation boxes or existing annotation boxes in 2D diagrams can be adjusted (specifically based on coordinates); and annotation content can be added or modified by entering the annotation content in the variable parameter column of the annotation table in the parametrically driven table. It should be noted that font styles in the annotation content, including font type, font size, bold, italics, subscripts and superscripts, font color, and paragraph settings, are all generated according to the standard settings when the parametric model is built. If modifications to these parameters are needed when generating aesthetically pleasing 2D diagrams, these can be specifically set in the custom settings column of the annotation table in the parametrically driven table.
[0087] In some more specific embodiments, step S121 includes: the parameterized driving table includes a first region and a second region, the first region is used to draw a first sub-table, the second region is used to draw a second sub-table, the first sub-table is used to record parameters involved in the parameterized model, and the second sub-table is used to record parameters involved in the initial two-dimensional diagram. Then, according to product design principles, the association between the data in the first sub-table and the second sub-table is established.
[0088] In some more specific embodiments, step S121 further includes: the parameterized driving table includes a first region, which is used to draw a first sub-table and a second sub-table. The first sub-table is used to record parameters such as part name, object file name, replacement file name, original configuration, final configuration, original compression state, final compression state, processed reference features, reference feature list, whether to generate engineering drawings, and other custom configurations for all models. The second sub-table is used to record feature dimension parameters. Feature dimension parameters include, but are not limited to: part file name, part identification code, parameter name, parameter type, and dimension value. The part file name corresponds to the file name of the folder where the corresponding encapsulation function of the part is located. The parameter name corresponds to the name of the part in the engineering drawing. The parameter type defaults to feature parameter. The dimension value is a variable parameter, and the user can fill in the dimension information of the part (which can be numerical or formula). The dimension information includes, but is not limited to: length, width, height, diameter, angle, tolerance, datum, surface-related numerical values, and formulas reflecting the relationship between parts.
[0089] A third identification information or a function relationship is added between the first and second sub-tables to establish a connection between them. This identification information can be any one or more of the following: part information, parameter type, and part identification code. Part information includes, but is not limited to, the part name or the filename of the folder where the part is located within the encapsulated function. Specifically:
[0090] Create a parameterization column in the first sub-table, and a part identification code column in both the first and second sub-tables. The parameterization configuration allows the user to choose whether parameterization is needed; selecting the "Y" button indicates parameterization is needed, and selecting the "N" button indicates it is not. If parameterization is needed, retrieve the identification code from the part identification code column in the first sub-table. Match this identification code with the part identification code in the second sub-table. If a match is found, the parameterization-driven table traversal reaches this point and adjusts the size of the matched part in the second sub-table. After the part's size is modified, return to the first sub-table and continue traversing. This process is repeated until all parts have been traversed.
[0091] It should be noted that the first sub-table can be a single table or a summary of multiple tables. That is, it can be a summary of all part parameters in one table, or one table per part, with each table recording the aforementioned parameters for that part, resulting in a summary of multiple tables forming the first sub-table. Preferably, since the data modification methods recorded in the first sub-table are mostly Boolean type, requiring only a yes or no selection to complete the modification, the first sub-table is set to be a single table, recording the aforementioned summary of part parameters. The second sub-table can also be a single table or a summary of multiple tables. That is, it can be a summary of all part feature dimension parameters in one table, or one table per part, with each table recording the feature dimension parameters for that part, resulting in a summary of multiple tables forming the first sub-table. The parameter modification type in the second sub-table is text-based, requiring the input of corresponding numerical values or formulas. Therefore, to facilitate user modification and meet user visual experience requirements, the second sub-table is set to have one for each part.
[0092] In some more specific embodiments, step S121 further includes: the parameterized driving table includes a second region, and the second region includes a third sub-table and a fourth sub-table. Annotation parameters include, but are not limited to: insert / delete / hide annotations, annotation type, size, direction, and position. Engineering drawing part name parameters, drawing scale parameters, view position parameters, inserted table parameters, and inserted block parameters are recorded in the third sub-table, and annotation parameters are recorded in the fourth sub-table. According to product design principles, fourth identification information or functional relationships are added to the third and fourth sub-tables to establish a connection between the data in the third and fourth sub-tables. The fourth identification information can be one or more of part information, parameter type, and part identification code. Part information includes, but is not limited to, the part name or the filename of the folder where the part is located in the encapsulation function.
[0093] It should be noted that the third and fourth sub-tables can be either single tables or summaries of multiple tables. That is, all part parameters can be summarized in one table, or each part can have its own table, with each table recording the aforementioned parameters for that engineering drawing, resulting in a third sub-table that summarizes multiple tables. Preferably, to facilitate user modification and meet user visual experience requirements, the third sub-table is set to have one for each part, and the fourth sub-table is set to be a single table, where all part marking parameters are summarized in one table.
[0094] Step S122: Analyze the actions corresponding to the parameters involved in the parameterized model and the initial two-dimensional graph, and convert each action into a different code block. Use an encapsulation function to encapsulate each code block according to a preset encapsulation rule.
[0095] Specifically, each independent action the system needs to execute when modifying model parameters is parsed into discrete functional units, each corresponding to a specific code logic block. Each code logic block is then encapsulated into a standardized function using a predefined encapsulation rule library. This layered mapping of action-code block-function enables modular decomposition of complex processes. Furthermore, based on standardized encapsulation rules, code reusability, maintainability, and cross-platform compatibility are ensured, allowing users to perform multiple modifications to the same model, effectively improving convenience. Additionally, using encapsulated functions effectively reduces system coupling, supports dynamic expansion of new functional units, and enables rapid responses to user modifications, enhancing the user experience.
[0096] In other embodiments, step S122 further includes: determining the priority among all parameters; and programming the code block according to the priority principle.
[0097] The priority relationship among all parameters in the parametric model is as follows: Model part name > Compressed / decompressed parts > Part replacement > Configuration change > Model sketch or feature dimensions.
[0098] The priority relationship among all parameters in the initial 2D drawing is as follows: part name in engineering drawing > drawing scale > view position > insert table > insert block > annotation and note.
[0099] Step S123: Integrate the encapsulated functions into the parameterized driver table.
[0100] After step S120 and before step S130, the system further includes: determining the parametric model that the user selects to import and opening one or more part models or the overall model in the parametric model; the system opens the corresponding model in the 3D modeling software according to the user's selection.
[0101] Step S130: Traverse the parameterized model, extract all parameters involved in the parameterized model, and list all parameters in the specified table of the parameterized driving table according to the preset rules.
[0102] Specifically, based on the first parameter identification information, all extracted parameters are listed in sub-tables corresponding to different areas of the parameterized driving table. The first parameter identification information includes one or more of the following: part name, parameter type, and the filename corresponding to the encapsulated function.
[0103] Step S140: Determine the product order data, and modify the parameters of the parameterized model in the parameterized driving table according to the product order data to obtain the modified parameterized driving table.
[0104] Specifically, step S140 includes:
[0105] Step S141: Obtain order data. The order data is provided by the customer or the company internally. The user imports the order data into the system, and the system retrieves the order data.
[0106] Step S142: Calculate the specific dimensions of all parts and the relationships between them based on the order data to determine the product order data. Specifically, the user organizes the table of parameters related to the parts in the system based on the imported order data, calculates the relationships between the parts and the specific dimensions of the parts, and obtains the table corresponding to the product order data.
[0107] Step S143: Modify the parametric model in the parametric drive table based on the table corresponding to the product order data. The product order data includes numerical values and functional relationships between parts.
[0108] Step S150: Based on the modified parameterized driving table, traverse the parameterized model and the initialization model to obtain the target 3D map and the target 2D map.
[0109] After the user completes the modifications, they save the parametric driving table. Returning to the system's main display interface, the user selects the "Generate 3D Model" button. The system then iterates through the parametric model based on the modified parametric driving table to update the model and obtain the target 3D drawing. Finally, the user returns to the main display interface and selects the "Generate Engineering Drawing" button. The system then iterates through the initial 2D drawing based on the modified parametric driving table to update the initial 2D drawing and obtain the target 2D drawing.
[0110] It should be noted that the target 2D drawing obtained here is only an updated 2D drawing based on order data. It still contains a series of problems such as disordered positions between part drawings, overlapping annotations / notes, unattractive table layouts, and chaotic annotation layouts. These issues often require manual adjustments, which are mostly repetitive tasks and time-consuming, especially when there are many parts on the drawing. Therefore, this invention also proposes the following steps to improve the appearance of the target 2D drawing and enhance drafting efficiency.
[0111] like Figure 2 As shown, specifically after step S150 "Generate the target 2D map", the following steps are also included:
[0112] Step S160: Iterate through the target 2D drawing again, obtain all parameters in the target 2D drawing, and list all parameters in the parameterized driving table. The parameters of the target 2D drawing obtained here include, but are not limited to, drawing scale, view position, inserted table, inserted block, annotation, and other parameters, as well as the positions of the aforementioned parameters.
[0113] Step S170: Adjust the parameters of the target 2D drawing in the parameterized driving table according to the parameters of each part corresponding to the product order data. The adjustment parameters here can be calculated based on the parameters of each part corresponding to the product order data, and adjusted according to the calculation results. Alternatively, the parameters in the 2D drawing can be adjusted according to the actual needs of the operator involved in the drawing, or adjustments can be made based on the calculation results combined with the operator's actual needs / experience. Adjustment parameters include, but are not limited to: drawing scale, view position, inserted tables, inserted blocks, annotations and notes, and the positions of the aforementioned parameters.
[0114] Step S180: Based on the modified parameterized driving table, traverse the target 2D image to obtain the beautified target 2D image.
[0115] Step S160 includes: the system includes an auxiliary parameter extraction module;
[0116] In step S161, the control system opens the auxiliary parameter extraction module. After generating the target 2D image, the target 2D image is saved. Then, the user selects the "Auxiliary Parameter Extraction Module," and the system receives the user's input and opens the auxiliary parameter extraction module.
[0117] Step S162: The auxiliary parameter extraction module traverses the target 2D image, and the auxiliary marking module identifies and extracts all parameters from the target 2D image. The user imports the target 2D image into the auxiliary parameter extraction module, and the system traverses the imported target 2D image to extract all parameters.
[0118] Step S163: Draw a two-dimensional parameter table of all extracted parameters.
[0119] Step S164: Input the second parameter identification information from the two-dimensional drawing parameter table into the corresponding sub-table of the parameterization driving table. The second parameter identification information includes one or more of the following: part information, parameter type, and part identification code.
[0120] The following example uses a clamp assembly in a frequency converter transformer, such as... Figures 3 to 7 As shown, due to the complexity of the components in the overall 3D model of the transformer, only one simple component is used as an example for illustration. Specifically:
[0121] like Figure 3 As shown, the parametric model of the clamping parts includes the model of the part hanging plate, the part pressure nail support plate, the part bending plate, the part pull plate round steel, the part clamping base plate, and the clamping assembly.
[0122] 1. First, identify all parameters / parameter classes involved in each part, and then draw parametric models and engineering drawings based on the parameters identified below:
[0123] Part hanging plate and part pressure nail support plate: These are standard parts, and the configuration name is the structural parameter of the part.
[0124] Part bending plate: Only its length is a variable value, which is its structural parameter.
[0125] Round steel for parts: The diameter and length of the round steel are variable values and are its structural parameters.
[0126] Part clamping base plate: The structural form is fixed, but the dimensions of the clamping part, such as clamping length, width, thickness, length of pressure nail support plate hole, width of pressure nail support plate hole, horizontal offset of pressure nail support plate hole, through hole, diameter and horizontal offset of side screw hole, etc., must be calculated according to the company's internal design principles and order parameters. The above-listed items are the structural parameters of the clamping base plate.
[0127] For clamping assembly: the horizontal offset position of the horizontal welded bending plate is a variable value, which is its structural parameter.
[0128] 2. Utilize the system's automatic table generation function in general parametric design software to traverse the parametric model and generate a structural parametric table, i.e., a parametric-driven table. Determine the actions involved in each parameter and associate these actions with the parametric-driven table through encapsulated functions in a programming manner.
[0129] 3. Based on the product structure characteristics and the company's internal design principles, formulas are written in the parametric-driven table to calculate the specific values of all component parameters according to order data and company design principles. These parameter values are then imported into the corresponding positions in the parametric-driven table, resulting in the following final effect: Figures 4 to 7 Then, iterate through the parametric model again to generate 3D and 2D plots.
[0130] In other embodiments of the present invention, a computer is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the relevant steps of the modification method based on the 3D and 2D graph parameter modification system. When the processor executes the computer program, it implements the control method of the modification method based on the 3D and 2D graph parameter modification system described above and applies it to the 3D and 2D graph parameter modification system described above.
[0131] In other embodiments of the present invention, a computer-readable storage medium is also provided, on which a computer program is stored. The computer program is executed by a processor using the modification method described above for modifying parameters of a 3D and 2D graph system. When the computer program is executed by the processor, it implements the modification method described above for modifying parameters of a 3D and 2D graph system and applies it to the 3D and 2D graph parameter modification system described above.
[0132] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, prediction models, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0133] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to 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.
[0134] Those skilled in the art will understand that this invention establishes a data connection between the system and 3D modeling software, imports a parametric model into the system and creates a parametric driving table, and then links the model with the parametric table. This allows users to modify the parameters of the corresponding parts in the model within the parametric table, thereby modifying the model parameters in the 3D modeling software and updating and generating 3D and 2D drawings. Existing methods for drawing / editing via programming require users to have programming skills, have a narrow user base, and are slow to produce drawings, with a production time ranging from approximately 30 minutes to 2 hours. Furthermore, these methods can only modify 3D drawings or only engineering drawings. In addition, for the same company, N types of products require the development of N independent software programs, making code reuse impossible, resulting in low reusability and high usage and maintenance costs. Users of this invention do not need to know programming, making it applicable to a wider range of people. It also boasts high drawing efficiency, typically completing drawings in 3 to 10 minutes. It supports both 3D and 2D drawing generation and is not limited to any particular field. Any field only needs to parametrically generate the basic product model, and similar / identical products can be modified based on this. For the same enterprise, the reuse rate is high, further improving drawing efficiency and reducing usage and maintenance costs to a certain extent.
[0135] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0136] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments can be used in any combination.
[0137] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-described technical content to create equivalent embodiments without departing from the scope of the present invention. The implementation schemes in the above embodiments can be further combined or replaced. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.
Claims
1. A modification method based on a three-dimensional graph and a two-dimensional graph parameter modification system, characterized in that, include: Establish a data connection between the system and the 3D modeling software, import the parametric model into the system and control it to open in the 3D modeling software, and generate an initial 2D drawing; Create a parameterized driving table and link it synchronously with the parameterized model and the initial two-dimensional graph; Traverse the parameterized model, extract all parameters involved in the parameterized model, and list all parameters in the parameterized driving table according to preset rules; Determine the order product data, and modify the parameters of the parameterized model in the parameterized driving table according to the product order data to obtain the modified parameterized driving table; Based on the modified parameterized driving table, the parameterized model is traversed to obtain the target 3D map and the target 2D map.
2. The modification method based on the parameter modification system of three-dimensional and two-dimensional graphs according to claim 1, characterized in that, The step of creating a parameterized driving table and synchronizing it with the parameterized model and the two-dimensional graph includes: Create parameterized driving tables to record the parameters involved in the parameterized model and the initial two-dimensional graph, and establish the relationships between the data in the tables; The actions corresponding to the parameters involved in the parameterized model and the initial two-dimensional graph are analyzed, and each action is converted into a different code block. Each code block is encapsulated according to a preset encapsulation rule using an encapsulation function. The encapsulated functions are then integrated into the parameterized driver table.
3. The modification method based on the parameter modification system of three-dimensional and two-dimensional graphs according to claim 2, characterized in that, The step of creating parameterized driving tables for recording parameters in the parameterized model and the initial two-dimensional graph, and establishing relationships between data within the tables, includes: One or more sub-tables are created in different regions of the parameterized driving table. The one or more sub-tables are used to record all parameters involved in the parameterized model and all parameters involved in the initial two-dimensional graph, respectively. Based on product design principles, establish relationships between the data in all sub-tables.
4. The modification method based on the parameter modification system of three-dimensional and two-dimensional graphs according to claim 3, characterized in that, The parameters involved in the parametric model include: model part names, custom attributes, compressed / decompressed parts, part replacement, configuration changes, and model sketches or feature dimensions; and / or, The parameters of the initial two-dimensional drawing include: engineering drawing part name, drawing scale, view position, inserted table, inserted block, annotation, and note.
5. The modification method based on the parameter modification system of three-dimensional and two-dimensional graphs according to claim 3, characterized in that, The step of listing the parameters in the parameterized driving table according to preset rules includes: Based on the first parameter identification information, all extracted parameters are listed in the corresponding sub-tables in different areas of the parameterized driving table; The first parameter identification information includes one or more of the following: part name, parameter type, and file name.
6. The modification method based on the parameter modification system of three-dimensional and two-dimensional graphs according to claim 1, characterized in that, After the step of creating the parameterized driving table and synchronizing it with the parameterized model and the initial 2D graph, and before the step of traversing the parameterized model, the method further includes: Determine whether the user selects to open and import a single part model, multiple part models, or an overall model from the parametric model.
7. The modification method based on the parameter modification system of three-dimensional and two-dimensional graphs according to claim 5, characterized in that, After the step of generating the target two-dimensional map, the method further includes: Traverse the target 2D graph, obtain all parameters in the target 2D graph, and list all parameters in the parameterized driving table; Based on the parameters of each part corresponding to the product order data, adjust the parameters in the parameterized driving table related to the target two-dimensional image; Based on the modified parameterized driving table, the target 2D image is traversed to obtain the beautified target 2D image.
8. The modification method based on the parameter modification system of three-dimensional and two-dimensional graphs according to claim 7, characterized in that, The system includes an auxiliary parameter extraction module; The steps of traversing the target 2D graph again, obtaining all parameters in the target 2D graph, and listing all parameters in the parameterization driving table include: Control the system to open the auxiliary parameter extraction module; The auxiliary parameter extraction module is controlled to traverse the target two-dimensional image, and the auxiliary marking module identifies and extracts all parameters in the target two-dimensional image. Plot all extracted parameters into a two-dimensional parameter table; Input the second parameter identification information in the two-dimensional graph parameter table into the corresponding sub-table of the parameterization driving table; The second parameter identification information includes one or more of the following: part information, parameter type, and part identification code.
9. A system for modifying parameters of three-dimensional and two-dimensional graphs, characterized in that, The modification method is capable of executing any one of the modification methods based on the three-dimensional and two-dimensional graph parameter modification system as described in claims 1 to 8; the system comprises: An interface connection module is used to establish a data connection between the system and the 3D modeling software; The table association module is used to establish a synchronous link between the parameterized model and the parameterized driven table; The parameter simulation module is used to simulate the parametric establishment standards in 3D modeling software. The table design module is used to establish preset rules for all parameters in the parameterized driving table based on the parameterization establishment standards in the simulation 3D modeling software, and to list them in the table according to the preset rules. The graph editing module is used to adjust the variable parameters of the associated parametric driving table and update the target 3D graph and target 2D graph based on the modified parameters.
10. The three-dimensional and two-dimensional graph parameter modification system according to claim 9, characterized in that, The system also includes an auxiliary parameter extraction module, used to identify and extract all markers in the target 2D image, and plot the marker parameters involved in all markers in a table; and / or, The system also includes a human-computer interaction module, comprising a client display module, a receiving module, a parsing module, and an output module. The client display module displays the user interface for interacting with the system. The receiving module receives parameterized models imported by the user, parameterized driving tables created / selected by the user, and user commands to generate 3D or 2D graphs. The parsing module performs corresponding actions based on the user commands received by the receiving module and according to preset configurations. The output module is used to output a preset interface based on the parsing results from the parsing module.
11. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes a computer program, it implements the modification method based on the three-dimensional and two-dimensional graph parameter modification system as described in any one of claims 1 to 8 and applies it to the three-dimensional and two-dimensional graph parameter modification system described in claims 9 and 10.
12. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the modification method based on the three-dimensional and two-dimensional graph parameter modification system as described in any one of claims 1 to 8 and applies it to the three-dimensional and two-dimensional graph parameter modification system as described in claims 9 and 10.
Citation Information
Patent Citations
Method for driving overall modification of three-dimensional model and two-dimensional diagram by Excel data
CN110796743A
Unit-based numerical calculation model real-time interactive sectioning visualization method
CN114708140A