A three-dimensional modeling method and system for a microwave assembly
The microwave component 3D modeling method and system realizes the automatic conversion from 2D engineering drawings to 3D models, solves the problems of accuracy and efficiency in microwave component structural design, and improves the reliability of design and production.
Patent Information
- Application Number
- CN202311617862.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-11-29
AI Technical Summary
Existing technologies often involve complex structural model designs for microwave components, making it difficult to quickly and accurately complete 3D modeling. This results in a high design error rate, which affects processing and production.
A method and system for three-dimensional modeling of microwave components is adopted, which realizes the automatic conversion from two-dimensional engineering drawings to three-dimensional models through steps such as drawing preprocessing, model outline export, component creation, part reconstruction, part template reuse, and interactive connection reconstruction.
It improves the accuracy of microwave component structure design, production and processing, and reduces processing waste caused by design errors.
Smart Images

Figure CN117671139B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic device structural model design technology, and in particular to a method and system for three-dimensional modeling of microwave components. Background Technology
[0002] In the design of microwave component structural models for electronic devices, the complex product structures make cavity and circuit design in 3D modeling tools cumbersome. The high correlation between small feature designs makes it impossible to quickly and accurately complete the design of complex microwave component structural models. Currently, microwave component structural model design still relies primarily on traditional two-dimensional drawings with multiple views, mainly used for processing and production. However, two-dimensional drawings are planar and cannot provide a direct, multi-angle, multi-view inspection of the microwave component structure. Issues such as interference and assembly sequence in the microwave component structure rely entirely on the designer's imagination, resulting in low accuracy, high difficulty, and a high risk of errors, potentially causing irreversible impacts on processing and production. Summary of the Invention
[0003] To address the aforementioned issues, this invention proposes a three-dimensional modeling method and system for microwave components, which can improve the accuracy of microwave component structural design, production, and processing, and reduce processing waste caused by design errors.
[0004] The technical solution adopted in this invention is as follows:
[0005] A method for three-dimensional modeling of microwave components, comprising:
[0006] Drawing preprocessing: Error detection is performed based on the two-dimensional engineering drawing of the target microwave component. If no error points are found, the view is split and invalid elements are removed, and then attached to the nodes of the structure tree.
[0007] Model outline export: Select the 3D model node template and set the export options to project the 3D model node template into multiple views, i.e., part-level blocks, and output a 2D part template;
[0008] Component creation: Identify valid views of the target microwave component's 2D engineering drawing, read material information and preview part information based on the structure tree, and define, create, call, instantiate, and assemble the corresponding part models according to the information in the structure tree;
[0009] Part reconstruction: Identify the semantic elements of the two-dimensional engineering drawing of the target microwave component, create corresponding features for the feature contour blocks, and create opening features directly or based on feature templates for the opening symbols;
[0010] Part template reuse: Select the part node that needs to be created based on the template, and select the corresponding part template for reuse. Generate a new part model by modifying the parameter values.
[0011] Interactive connection reconstruction: Based on the primitive semantics of the two-dimensional engineering drawing of the target microwave component, the interactive connection symbols are read by layer, interactive connection objects are created, and a part model is generated for each interactive connection object, ultimately forming a three-dimensional model of the target microwave component.
[0012] Furthermore, in the drawing preprocessing, when detecting errors based on the two-dimensional engineering drawing of the target microwave component, if an error is detected, the error information is listed; after modifying the content of the two-dimensional engineering drawing of the target microwave component based on the error information, error detection is performed again until a state without errors is reached.
[0013] Furthermore, in the part reconstruction, the corresponding features created for the feature contour block include stretching features, slotting features, and ramp features.
[0014] Furthermore, in the interactive connection reconstruction, different layers represent different categories, and grouping and classification are carried out by creating virtual assemblies.
[0015] Furthermore, the method for updating the three-dimensional model of the target microwave component includes: identifying the drawing differences between two or more different versions of the two-dimensional engineering drawings of the microwave component during component creation, thereby updating the three-dimensional model of the target microwave component.
[0016] A microwave component 3D modeling system, comprising:
[0017] The drawing preprocessing module is configured to detect errors based on the two-dimensional engineering drawing of the target microwave component. If no errors are found, the view is split and invalid elements are removed, and then attached to the nodes of the structure tree.
[0018] The model outline export module is configured to select a 3D model node template and set export options, project the 3D model node template into multiple views, i.e. part-level blocks, and output a 2D part template.
[0019] The component creation module is configured to recognize a valid view of the two-dimensional engineering drawing of the target microwave component, read material information and preview part information based on the structure tree, and define, create, call, instantiate and assemble the corresponding part model according to the information in the structure tree.
[0020] The part reconstruction module is configured to recognize the primitive semantics of the two-dimensional engineering drawing of the target microwave component, create corresponding features for the feature contour block, and create opening features directly or based on feature templates for the opening symbol.
[0021] The part template reuse module is configured to select the part node to be created based on the template, and select the corresponding part template for reuse, generating a new part model by modifying the parameter values;
[0022] The interactive connection reconstruction module is configured to read interactive connection symbols by layer based on the primitive semantics of the two-dimensional engineering drawing of the target microwave component, create interactive connection objects, generate a part model for each interactive connection object, and finally form a three-dimensional model of the target microwave component.
[0023] Furthermore, in the drawing preprocessing module, when detecting errors based on the two-dimensional engineering drawing of the target microwave component, if an error is detected, the error information is listed; after modifying the content of the two-dimensional engineering drawing of the target microwave component based on the error information, error detection is performed again until a state without errors is reached.
[0024] Furthermore, in the part reconstruction module, the corresponding features created for the feature contour block include stretching features, slotting features, and ramp features.
[0025] Furthermore, in the interactive connection reconstruction module, different layers represent different categories, and grouping and classification are performed by creating virtual assemblies.
[0026] Furthermore, it also includes a comparison update module, configured to update the target microwave component's 3D model: when the component is created, it identifies drawing differences between two or more different versions of the microwave component's 2D engineering drawings, thereby updating the target microwave component's 3D model.
[0027] The beneficial effects of this invention are as follows:
[0028] This invention enables the automatic conversion of microwave component structures from two-dimensional to three-dimensional models. By pre-setting templates for typical parts and features, it can quickly generate complex three-dimensional structures of microwave components, realize the automatic conversion and bidirectional verification of two-dimensional structural drawings to three-dimensional models, solve the problem of generating three-dimensional models of microwave components, and achieve high efficiency and reliability in structural design. Attached Figure Description
[0029] Figure 1 This is a flowchart of the microwave component three-dimensional modeling method according to Embodiment 1 of the present invention.
[0030] Figure 2 This is a drawing inspection example of Embodiment 2 of the present invention.
[0031] Figure 3 This is an example diagram of importing drawings according to Embodiment 2 of the present invention.
[0032] Figure 4 This is an example diagram of the derived model outline from Embodiment 2 of the present invention.
[0033] Figure 5 This is a component creation example diagram of Embodiment 2 of the present invention.
[0034] Figure 6This is a part reconstruction example diagram of Embodiment 2 of the present invention.
[0035] Figure 7 This is an example diagram of part template reuse in Embodiment 2 of the present invention.
[0036] Figure 8 This is an example diagram of the interactive connection reconstruction of Embodiment 2 of the present invention.
[0037] Figure 9 This is a comparative update example diagram of Embodiment 2 of the present invention. Detailed Implementation
[0038] To provide a clearer understanding of the technical features, objectives, and effects of the present invention, specific embodiments are now described. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention; that is, the described embodiments are only a part of the embodiments of the invention, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0039] Example 1
[0040] like Figure 1 As shown, this embodiment provides a method for three-dimensional modeling of microwave components, including:
[0041] Drawing preprocessing: Error detection is performed on the 2D engineering drawing of the target microwave component. If no errors are found, the view is split and invalid elements are removed to ensure that the imported drawing content conforms to the specifications, and then it is attached to the node of the structure tree. Preferably, during error detection, if an error is detected, the error information is listed; after modifying the content of the 2D engineering drawing of the target microwave component based on the error information, error detection is performed again until a state without errors is reached.
[0042] Model outline export: Select the 3D model node template and set the export options to project the 3D model node template into multiple views, i.e., part-level blocks, and output a 2D part template.
[0043] Component creation: Identify valid views of the target microwave component's 2D engineering drawing, read material information and preview part information based on the structure tree, and define, create, call, instantiate, and assemble the corresponding part models according to the information in the structure tree.
[0044] Part reconstruction: Identify the primitive semantics of the two-dimensional engineering drawing of the target microwave component, create corresponding features for the feature contour blocks, such as stretch features, slot features and ramp features; create opening features directly or based on feature templates (UDF) for opening symbols.
[0045] Part template reuse: Select the part node that needs to be created based on the template, and select the corresponding part template for reuse. Generate a new part model by modifying the parameter values.
[0046] Interactive connection reconstruction: Based on the primitive semantics of the target microwave component's 2D engineering drawing, interactive connection symbols are read by layer, interactive connection objects are created, and a part model is generated for each interactive connection object, ultimately forming a 3D model of the target microwave component. Different layers represent different categories, which are grouped and categorized by creating virtual assemblies.
[0047] Preferably, the method for updating the three-dimensional model of the target microwave component can be: when the component is created, identify the differences between two or more different versions of the two-dimensional engineering drawings of the microwave component, and update the three-dimensional model of the target microwave component accordingly.
[0048] Preferably, the key technical point of component creation lies in recognizing block naming rules and automatically realizing part reconstruction and importing existing parts. Specifically, the block naming recognition method can be defined as follows:
[0049] Part Number_Part Type
[0050] ■ Part Number: This number serves as a unique identifier for the part, and the program uses it to search for information in CATIA.
[0051] ■ Part types: including assembly reusable parts, fasteners, reusable parts, interconnecting lines, and template reusable parts, which can be represented by codes.
[0052] Preferably, the key technical point of part reconstruction lies in defining the naming rules for feature blocks, which facilitates the program's identification of corresponding features. Testing has verified the feasibility of this technique, and the specific naming method for contour blocks can be defined as follows:
[0053] Extrusion naming convention: Part Number_Part Type_Boss_200
[0054] ■ Part Number: This number serves as a unique identifier for the part and is used for subsequent retrieval in CATIA.
[0055] ■ Part types: including reusable assembly parts, fasteners, gold wire and gold strip, general heavy components, and reusable template parts, which can be represented by codes;
[0056] ■ convexity: a feature type;
[0057] ■200: This is the stretch height along the view direction, with the 0 plane as the reference for the height value;
[0058] ■Use the 0 plane as the sketch plane.
[0059] Slotting naming convention: Part Number_Part Type_Slotting_200
[0060] ■ Part Number: This number serves as a unique identifier for the part and is used for subsequent retrieval in CATIA.
[0061] ■ Part types: including reusable assembly parts, fasteners, gold wire and gold strip, general heavy components, and reusable template parts, which can be represented by codes;
[0062] ■Slotting: a feature type;
[0063] ■200: This is the groove depth along the view direction. The reference for the depth value is the 0 plane.
[0064] ■Use the 0 plane as the sketch plane.
[0065] Hole naming method
[0066] Preferably, the openings can be classified according to different types of holes as: simple holes, countersunk holes, tapered holes, reverse drill holes, and countersunk holes.
[0067] ◇Simple Hole Naming
[0068] ◆Threaded naming rules: Part number_Part type_Simple hole_Hole depth / Thread specification, for example: Part number_Part type_Simple hole_8 / M8X6, and the thread specification is uniformly: Metric coarse thread.
[0069] ◆Naming rules for holes without threads: Part number_Part type_Simple hole_Hole specification, for example: Part number_Part type_Simple hole_D10X5; D10X5 is a standard hole with a diameter of 10mm and a depth of 5mm.
[0070] ◇Counterhead Hole Naming
[0071] ◆Threaded naming rules: Part number_Part type_Counterhead hole_Hole depth / Thread specification / Counterhead specification, for example: Part number_Part type_Counterhead hole_8 / M8X6 / D10X2, the thread specification is uniformly: metric coarse thread, D10X2 indicates that the counterhead size is a counterhead with a diameter of 10mm and a depth of 2mm.
[0072] ◆Naming rules for non-threaded holes: Part number_Part type_Counterhead hole_Hole specification / Counterhead specification, for example: Part number_Part type_Counterhead hole_D10X5 / D12X2; D10X5 is a normal hole with a diameter of 10mm and a depth of 5mm; D12X2 indicates a countersunk hole with a diameter of 12mm and a depth of 2mm.
[0073] ◇Naming of conical holes
[0074] ◆ Naming rules for threaded parts: Part number_Part type_Tapered hole_Hole depth / Thread specification / Taper angle, for example: Part number_Part type_Tapered hole_8 / M8X6 / 90, the thread specification is uniformly: metric coarse thread, 90 indicates that the taper angle is 90 degrees.
[0075] ◆Naming rules for non-threaded parts: Part number_Part type_Tapered hole_Hole specification / Taper angle, for example: Part number_Part type_Tapered hole_D10X5 / 90, where D10X5 is a standard hole with a diameter of 10mm and a depth of 5mm, and 90 indicates that the taper angle is 90 degrees.
[0076] ◇Naming of Reverse Drill Holes
[0077] ◆ Naming rules for threaded holes: Part number_Part type_Backdrill hole_Hole depth / Thread specification / Backdrill specification, for example: Part number_Part type_Backdrill hole_8 / M8X6 / D10X3X90. The thread specification is uniformly: metric coarse thread. D10X3X90 indicates that the diameter of the backdrill is 10mm, the depth is 3mm, and the angle is 90 degrees.
[0078] ◆Naming rules without threads: Part number_Part type_Backdrill hole_Hole specification / Backdrill specification, for example: Part number_Part type_Backdrill hole_D10X5 / D12X3X90, where D10X5 is a standard hole with a diameter of 10mm and a depth of 5mm; D12X3X90 indicates that the backdrill has a diameter of 12mm, a depth of 3mm, and an angle of 90 degrees.
[0079] ◇Numbering of Countersunk Holes
[0080] ◆Threaded naming rules: Part number_Part type_Counterhead hole_Hole depth / Thread specification / Counterhead size, for example: Part number_Part type_Counterhead hole_8 / M8X6 / 3X90, the thread specification is uniformly: metric coarse thread, 3X90: depth is 3mm, angle is 90 degrees.
[0081] ◆Naming rules for unthreaded holes: Part number_Part type_Counterhead hole_Hole specification / counterhead size, for example: Part number_Part type_Counterhead hole_D10X5 / 3X90, where D10X5 is a standard hole with a diameter of 10mm and a depth of 5mm; 3X90: depth of 3mm and angle of 90 degrees.
[0082] Ramp naming convention: Part Number_Part Type_Ramp_Depth 1_Depth 2
[0083] ■ Part Number: This number serves as a unique identifier for the part and is used for subsequent retrieval in CATIA.
[0084] ■ Part types: including reusable assembly parts, fasteners, gold wire and gold strip, general heavy components, and reusable template parts, which can be represented by codes;
[0085] ■Slope: a characteristic type;
[0086] ■Depth 1: The groove depth of one of the platform surfaces;
[0087] ■Depth 2: The groove depth of another platform surface.
[0088] When defining a slope block, it is necessary to use layers to distinguish the line segments from adjacent slotted objects (depth 4, depth 5) so that the tool can identify and calculate the slope surface.
[0089] Preferably, the key technical point of interactive connection reconstruction lies in distinguishing interactive connections from general reconstruction parts, and the relevant rules and naming methods are as follows:
[0090] Different layers represent different categories, and the program will automatically create virtual assemblies for grouping.
[0091] Layer naming convention: Layer number_interactive connection, e.g., 7_interactive connection; 8_interactive connection;
[0092] Interactive connection naming rules: Part number_type (optional).
[0093] Example 2
[0094] This embodiment is based on embodiment 1:
[0095] This embodiment provides a method for 3D modeling of microwave components, mainly including 2D drawing specification checking, 2D drawing import, 3D part reconstruction, 3D interactive connection reconstruction, 3D assembly reconstruction, and component outline export. First, it reads the AutoCAD drawing file (dwg), and after checking, importing, and recognizing the drawing content, automatically generates a CATIA 3D model. Specifically, finely designed gold wires and ribbons can also be automatically generated. Standard part models are automatically retrieved from the structural design library. Furthermore, this method can output the CATIA 3D component model as a dwg file for AutoCAD design optimization and iteration. This method can improve the accuracy of microwave component structural component design, production, and processing, reducing processing waste caused by design errors.
[0096] The three-dimensional modeling method of this embodiment will be further described in detail below with reference to the accompanying drawings:
[0097] See Figure 2 The drawing inspection function will be implemented through CATIA secondary development, as detailed below:
[0098] 1. A structure tree node / context node is required before executing the check command.
[0099] 2. Select the local DWG drawing and check it.
[0100] 3. Display the inspection results in the list.
[0101] 4. Supports selecting list items and displaying the corresponding tiles in the preview window with highlights and centering.
[0102] 5. Inspection Rules:
[0103] • Invalid source: Unnamed blocks are invalid sources and can be ignored by the user. They will be automatically removed in subsequent programs.
[0104] • Semantic errors: intersecting outlines, not closed;
[0105] • Image source error: The slope does not use layers to represent different heights;
[0106] • Coordinate system error: The axis system of the same part is inconsistent in assembly drawings in different view directions, or the origin of the coordinate system of each assembly drawing is inconsistent;
[0107] • Other: Indicates two-dimensional graphic elements that affect subsequent reconstruction, such as undefined view frames, etc.
[0108] 6. Supports item output (default Excel).
[0109] See Figure 3 The drawing import function will be implemented based on CATIA secondary development functions. Detailed explanation is as follows:
[0110] 1. Check the drawings and list any errors;
[0111] 2. Automatically recognizes views already defined in CAD drawings;
[0112] 3. Automatically identify the global coordinate system and origin defined in CAD.
[0113] • If not defined, the origin of the CAD drawing is used as the origin of the top view coordinate system by default; the orthographic projection direction (top view) is used as the negative Z-axis direction, the horizontal direction of the orthographic projection is used as the X-axis direction, and the vertical direction of the orthographic projection is used as the Y-axis direction.
[0114] • Supports changing the coordinate system orientation of each view via a dropdown menu;
[0115] See Figure 4 The function of exporting model outlines will be implemented using CATIA secondary development, as explained below:
[0116] 1. Export the outline image with the current component name as the filename;
[0117] 2. Export view scale is 1:1;
[0118] 3. Check the input files in the export path: If a file with the same name already exists, add a suffix to the new exported file to distinguish it from the original file and do not directly overwrite the source file;
[0119] 4. Supports outputting closed blocks at the part level. Block naming convention: Part Number [Name];
[0120] 5. Supports selective output of view frames. If outputting, it must be output as a specific CAD layer (locked and cannot be modified).
[0121] 6. Supports selective output view.
[0122] See Figure 5 The component creation function will be implemented based on CATIA secondary development, as explained below:
[0123] 1. Only supports the identification of sub-assembly nodes and parts at this level (material information is identified by block name);
[0124] 2. By default, sub-assemblies and parts at this level are displayed in a flattened manner in the list;
[0125] 3. Automatic assembly of parts is achieved by reading the corresponding two-dimensional block information of the parts, and the coordinate system of the parts can be redefined;
[0126] 4. By recognizing the names of the two-dimensional blocks corresponding to the fasteners, the fasteners are automatically grouped in the structure tree;
[0127] 5. By naming and recognizing the two-dimensional layers corresponding to the interactive connections, all connections are extracted, a three-dimensional model of the interactive connections is generated, and they are organized together through virtual assembly;
[0128] 6. Supports detailed editing of selected parts through functions such as part reconstruction, interactive connection reconstruction, and part template reuse;
[0129] 7. Supports selecting objects from a list, highlighting the corresponding 2D elements in the drawing, as well as the nodes and models in the structure tree;
[0130] 8. Supports creating and deleting assemblies in the structure tree list;
[0131] 9. Supports retrieving part numbers from the structure tree list (integrated number encoder);
[0132] 10. Supports reorganizing the tree structure in the tree structure list by using "Move to";
[0133] 11. Supports "moving up" and "moving down" of component model nodes in the structure tree list to sort the structure tree.
[0134] See Figure 6 The function of reconfiguring parts will be implemented based on CATIA secondary development, as explained below:
[0135] 1. The program will automatically identify each feature block and create 3D features in the default order of extrusion, grooving, ramping, and opening;
[0136] 2. Supports users to adjust the order of features;
[0137] 3. Supports users to select multiple features to remove;
[0138] 4. Supports view-based filtering features.
[0139] See Figure 7 The part template reuse function includes the creation and calling of part templates. The template creation will be customized based on the CATIA template creation methodology, and the calling of part templates will be realized through the CATIA secondary development function. It supports users to select part templates from the template library and drive the template transformation by inputting parameter values; it also supports previewing the generated 3D model based on the input parameter values.
[0140] See Figure 8 The interactive connection reconstruction function will be implemented based on CATIA secondary development, as explained below:
[0141] 1. Identify and differentiate the grouping of interactive connection models by layer;
[0142] 2. The interactive connection models in each layer are organized separately as virtual assemblies;
[0143] 3. By selecting layers, interactive connection objects in each layer can be listed, supporting operations such as selecting all, deleting, and adding connections;
[0144] 4. Supports modification of start height, end height, and arch height;
[0145] 5. If the interactive connection has more than 2 points, a polyline connection is used. The arch height value controls the height value of all points between the start and end points, and the radius at the inflection point can be set.
[0146] See Figure 9 The comparison and update function will be implemented based on CATIA secondary development functions, allowing users to select two versions of drawings in the structure tree for comparison and update the 3D model, as explained below:
[0147] 1. Compare with the current tree structure;
[0148] 2. Supports previewing two versions of drawings;
[0149] 3. Supports viewing model comparisons by checking the status in the structure tree list;
[0150] Added: Added new components and allowed editing of components;
[0151] Delete: Remove the corresponding component from the tree structure;
[0152] Revise:
[0153] ■ For existing standard or general-purpose parts, only the positional relationship needs to be adjusted.
[0154] For existing parts, if the external dimensions remain unchanged, only the positional relationships need to be adjusted. If the external dimensions change, the geometric feature model also needs to be adjusted.
[0155] Example 3
[0156] This embodiment provides a microwave component 3D modeling system, including:
[0157] The drawing preprocessing module is configured to detect errors based on the two-dimensional engineering drawing of the target microwave component. If no errors are found, the view is split and invalid elements are removed, and then attached to the nodes of the structure tree.
[0158] The model outline export module is configured to select a 3D model node template and set export options, project the 3D model node template into multiple views, i.e. part-level blocks, and output a 2D part template.
[0159] The component creation module is configured to recognize a valid view of the two-dimensional engineering drawing of the target microwave component, read material information and preview part information based on the structure tree, and define, create, call, instantiate and assemble the corresponding part model according to the information in the structure tree.
[0160] The part reconstruction module is configured to recognize the primitive semantics of the two-dimensional engineering drawing of the target microwave component, create corresponding features for the feature contour block, and create opening features directly or based on the feature template for the opening symbol.
[0161] The part template reuse module is configured to select the part node to be created based on the template, and select the corresponding part template for reuse, generating a new part model by modifying the parameter values;
[0162] The interactive connection reconstruction module is configured to read interactive connection symbols by layer based on the primitive semantics of the two-dimensional engineering drawing of the target microwave component, create interactive connection objects, generate a part model for each interactive connection object, and finally form a three-dimensional model of the target microwave component.
[0163] Preferably, in the drawing preprocessing module, when detecting errors based on the two-dimensional engineering drawing of the target microwave component, if an error is detected, the error information is listed; after modifying the content of the two-dimensional engineering drawing of the target microwave component based on the error information, error detection is performed again until a state without errors is reached.
[0164] Preferably, in the part reconstruction module, the corresponding features created for the feature contour block include stretching features, slotting features, and ramp features.
[0165] Preferably, in the interactive connection reconstruction module, different layers represent different categories, and grouping and classification are carried out by creating virtual assemblies.
[0166] Preferably, the microwave component 3D modeling system of this embodiment further includes a comparison and update module, which is configured to update the target microwave component 3D model: when the component is created, the differences between two or more different versions of microwave component 2D engineering drawings are identified, thereby updating the target microwave component 3D model.
[0167] Example 4
[0168] This embodiment is based on embodiment 1:
[0169] This embodiment provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the microwave component 3D modeling method of Embodiment 1. The computer program can be in the form of source code, object code, executable file, or some intermediate form.
[0170] Example 5
[0171] This embodiment is based on embodiment 1:
[0172] This embodiment provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the microwave component 3D modeling method of Embodiment 1. The computer program can be in the form of source code, object code, executable file, or some intermediate form. The storage medium includes any entity or device capable of carrying computer program code, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content contained in the storage medium can be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the storage medium does not include electrical carrier signals and telecommunication signals.
[0173] It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
Claims
1. A method of three-dimensional modeling of a microwave assembly, characterized in that, include: Drawing preprocessing: Error detection is performed based on the two-dimensional engineering drawing of the target microwave component. If no error points are found, the view is split and invalid elements are removed, and then attached to the nodes of the structure tree. Model outline export: Select the 3D model node template and set the export options to project the 3D model node template into multiple views, i.e., part-level blocks, and output a 2D part template; Component creation: Identify valid views of the target microwave component's 2D engineering drawing, read material information and preview part information based on the structure tree, and define, create, call, instantiate, and assemble the corresponding part models according to the information in the structure tree; Part reconstruction: Identify the primitive semantics of the two-dimensional engineering drawing of the target microwave component, and create corresponding features for the feature contour blocks, including stretch features, slotting features and ramp features; Create opening features directly or based on feature templates for opening symbols; Part template reuse: Select the part node that needs to be created based on the template, and select the corresponding part template for reuse. Generate a new part model by modifying the parameter values. Interactive connection reconstruction: Based on the primitive semantics of the two-dimensional engineering drawing of the target microwave component, the interactive connection symbols are read by layer, interactive connection objects are created, and a part model is generated for each interactive connection object, ultimately forming a three-dimensional model of the target microwave component.
2. The method of claim 1, wherein, In the drawing preprocessing, when detecting error points based on the two-dimensional engineering drawing of the target microwave component, if an error point is detected, the error point information is listed. After modifying the content of the two-dimensional engineering drawing of the target microwave component based on the error point information, error point detection is performed again until a state without error points is reached.
3. The method of claim 1, wherein, In the interactive connection reconstruction, different layers represent different categories, and grouping and classification are carried out by creating virtual assemblies.
4. The method of claim 1-3, wherein, The method for updating the three-dimensional model of the target microwave component includes: identifying the differences between two or more different versions of two-dimensional engineering drawings of the microwave component during component creation, and updating the three-dimensional model of the target microwave component accordingly.
5. A three-dimensional modeling system for microwave components, characterized in that, include: The drawing preprocessing module is configured to detect errors based on the two-dimensional engineering drawing of the target microwave component. If no errors are found, the view is split and invalid elements are removed, and then attached to the nodes of the structure tree. The model outline export module is configured to select a 3D model node template and set export options, project the 3D model node template into multiple views, i.e., part-level blocks, and output a 2D part template. The component creation module is configured to recognize a valid view of the two-dimensional engineering drawing of the target microwave component, read material information and preview part information based on the structure tree, and define, create, call, instantiate and assemble the corresponding part model according to the information in the structure tree. The part reconstruction module is configured to recognize the primitive semantics of the two-dimensional engineering drawing of the target microwave component and create corresponding features for the feature contour blocks, including stretch features, slotting features and ramp features. Create opening features directly or based on feature templates for opening symbols; The part template reuse module is configured to select the part node to be created based on the template, and select the corresponding part template for reuse, generating a new part model by modifying the parameter values; The interactive connection reconstruction module is configured to read interactive connection symbols by layer based on the primitive semantics of the two-dimensional engineering drawing of the target microwave component, create interactive connection objects, generate a part model for each interactive connection object, and finally form a three-dimensional model of the target microwave component.
6. A microwave component three-dimensional modeling system according to claim 5, characterized in that, In the drawing preprocessing module, when detecting error points based on the two-dimensional engineering drawing of the target microwave component, if an error point is detected, the error point information is listed. After modifying the content of the two-dimensional engineering drawing of the target microwave component based on the error point information, error point detection is performed again until a state without error points is reached.
7. A microwave component three-dimensional modeling system according to claim 5, characterized in that, In the interactive connection reconstruction module, different layers represent different categories, and grouping and classification are carried out by creating virtual assemblies.
8. A microwave component three-dimensional modeling system according to any one of claims 5-7, characterized in that, It also includes a comparison update module, which is configured to update the 3D model of the target microwave component: when the component is created, it identifies the drawing differences between two or more different versions of the microwave component's 2D engineering drawings, and updates the 3D model of the target microwave component accordingly.
Citation Information
Patent Citations
Processing method and system for converting three-dimensional model into two-dimensional model and storage medium
CN111488671A
CAD test method and system based on CATIA secondary development interface
CN114756457A
