Stamping part drawing filling method, device, equipment and storage medium

By acquiring 3D modeling data and filling instructions, determining target projection parameters and generating filling lines, the problem of low drawing filling efficiency in CATIA software is solved, and an automated and efficient drawing filling process is achieved.

CN115169076BActive Publication Date: 2025-09-16DONGFENG LIUZHOU MOTOR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210634037.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-07
Publication Date
2025-09-16
Estimated Expiration
2042-06-07

AI Technical Summary

Technical Problem

In the existing technology, CATIA software lacks a direct API interface when filling areas in GD&T drawings of automotive stamping parts, resulting in manual operation, low efficiency and prone to errors.

Method used

A method for filling a stamping part drawing is provided. The method obtains 3D modeling data and filling instructions, determines target projection parameters, creates a first plane, and determines 3D filling lines based on the 3D modeling data and the first plane, ultimately generating a 2D filling drawing.

Benefits of technology

It realizes the automatic filling of drawings, improves the filling efficiency and accuracy, is applicable to all areas, and reduces the tediousness and error rate of manual operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115169076B_ABST
    Figure CN115169076B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of drawing processing, and discloses a method, device, equipment and storage medium for filling drawings of stamping parts. The method includes: obtaining three-dimensional modeling data and filling instructions of the stamping part to be filled; determining target projection parameters according to the filling instructions and the three-dimensional modeling data; creating a first plane according to the target projection parameters; determining a three-dimensional filling line according to the three-dimensional modeling data and the first plane; performing projection filling according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled. Through the above method, the target projection parameters are determined based on the filling instructions and the three-dimensional modeling data, the three-dimensional filling line is determined based on the first plane created based on the target projection parameters and the three-dimensional modeling data, and the 3D wireframe is displayed on the two-dimensional drawing according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled. This not only realizes free-style filling of the drawing and is suitable for all areas, but also improves the efficiency and accuracy of drawing filling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drawing processing, and in particular to a method, device, equipment and storage medium for filling a stamping part drawing. Background Art

[0002] When designing surface tolerances for automotive stamping parts GD&T (Geometric Dimensioning and Tolerancing) drawings, area filling is required to indicate the scope of the surface tolerances that need to be marked. OEMs generally use CATIA for GD&T drawing design of stamping parts due to its excellent operability and ease of drawing updates. However, since the CATIA secondary development interface does not provide a direct API, automatic area filling cannot be achieved directly through the API. In the past, manual operations were performed, using the icon buttons provided by CATIA to fill in each area one by one. A new A-class passenger car model often has three to four hundred, or even five to six hundred, stamping parts. The large number of GD&T drawings and the tedious and repetitive workload take up a considerable amount of time in the early development stage, resulting in low efficiency and prone to errors. Summary of the Invention

[0003] The main purpose of the present invention is to provide a method, device, equipment and storage medium for filling stamping part drawings, aiming to solve the technical problem of how to fill drawings accurately and efficiently in the existing technology.

[0004] To achieve the above-mentioned purpose, the present invention provides a method for filling a stamping part drawing, the method comprising:

[0005] Obtaining 3D modeling data and filling instructions of the stamping part to be filled;

[0006] Determining target projection parameters according to the filling instruction and the three-dimensional modeling data;

[0007] Creating a first plane according to the target projection parameters;

[0008] determining a three-dimensional filling line according to the three-dimensional modeling data and the first plane;

[0009] Projection filling is performed according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled.

[0010] Optionally, determining target projection parameters according to the filling instruction and the three-dimensional modeling data includes:

[0011] Extracting the direction identification code and the angle identification code in the filling instruction;

[0012] Determine the target projection direction and the target area fill line angle according to the direction identification code, the angle identification code and the three-dimensional modeling data;

[0013] Target projection parameters are determined according to the target projection direction and the target area filling line angle.

[0014] Optionally, creating the first plane according to the target projection parameters includes:

[0015] Creating a reference plane according to the target projection direction in the target projection parameters;

[0016] A first plane is obtained according to the reference plane and the target area filling line angle in the target projection parameters.

[0017] Optionally, determining a three-dimensional filling line according to the three-dimensional modeling data and the first plane includes:

[0018] Performing line traversal on the three-dimensional modeling data to obtain a target welding joining line;

[0019] generating a welding bonding surface area according to the target welding bonding line;

[0020] A three-dimensional fill line is determined based on the welding surface area and the first plane.

[0021] Optionally, generating a welding bonding surface area according to the target welding bonding line includes:

[0022] Obtaining a target contour line according to the three-dimensional modeling data;

[0023] generating a target cutting surface according to the target welding joining line;

[0024] The target cutting surface is cut according to the target contour line to generate a welding joint surface area.

[0025] Optionally, determining a three-dimensional filling line according to the welding faying surface area and the first plane includes:

[0026] determining a target spacing based on the first plane and the welding faying surface area;

[0027] generating a second plane according to the first plane and the target distance;

[0028] A three-dimensional filling line is determined according to the second plane and the welding joint area.

[0029] Optionally, determining a three-dimensional filling line according to the second plane and the welding joint surface area includes:

[0030] Get fill instructions;

[0031] Determining a filling spacing according to the filling instruction;

[0032] generating a third plane according to the filling distance and the second plane;

[0033] Determining a target intersection line according to the third plane and the welding joint surface area;

[0034] A three-dimensional filling line is determined according to the target intersection line.

[0035] In addition, to achieve the above-mentioned purpose, the present invention further proposes a stamping part drawing filling device, the stamping part drawing filling device comprising:

[0036] An acquisition module, used to acquire the three-dimensional modeling data and filling instructions of the stamping part to be filled;

[0037] a determination module, configured to determine target projection parameters according to the filling instruction and the three-dimensional modeling data;

[0038] A creation module, configured to create a first plane according to the target projection parameters;

[0039] The determining module is further configured to determine a three-dimensional filling line based on the three-dimensional modeling data and the first plane;

[0040] The filling module is used to perform projection filling according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled.

[0041] In addition, to achieve the above-mentioned purpose, the present invention also proposes a stamping part drawing filling device, which includes: a memory, a processor, and a stamping part drawing filling program stored in the memory and runnable on the processor, and the stamping part drawing filling program is configured to implement the stamping part drawing filling method described above.

[0042] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a stamping part drawing filling program is stored. When the stamping part drawing filling program is executed by a processor, the stamping part drawing filling method described above is implemented.

[0043] The present invention obtains the three-dimensional modeling data and filling instructions of the stamping part to be filled; determines the target projection parameters according to the filling instructions and the three-dimensional modeling data; creates a first plane according to the target projection parameters; determines the three-dimensional filling line according to the three-dimensional modeling data and the first plane; and performs projection filling according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled. In the above manner, the target projection parameters are determined based on the filling instructions and the three-dimensional modeling data, the three-dimensional filling line is determined based on the first plane created based on the target projection parameters and the three-dimensional modeling data, and the 3D wireframe is displayed by projecting the two-dimensional drawing according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled. This method not only realizes free-style filling of the drawing and is suitable for all areas, but also improves the efficiency and accuracy of drawing filling. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a structural diagram of a stamping parts drawing filling device in a hardware operating environment involved in an embodiment of the present invention;

[0045] Figure 2 This is a schematic flow chart of a first embodiment of a method for filling a stamping part drawing according to the present invention;

[0046] Figure 3 This is a flow chart of a second embodiment of the method for filling a stamping part drawing according to the present invention;

[0047] Figure 4 This is a schematic diagram of the overall process of an embodiment of a method for filling a stamping part drawing according to the present invention;

[0048] Figure 5 This is a structural block diagram of the first embodiment of the stamping parts drawing filling device of the present invention.

[0049] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0051] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a stamping parts drawing filling device for the hardware operating environment involved in the embodiment of the present invention.

[0052] like Figure 1As shown, the stamping part drawing filling device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0053] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the stamping part drawing filling device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0054] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a stamping part drawing filling program.

[0055] exist Figure 1 In the stamping part drawing filling device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the stamping part drawing filling device of the present invention can be set in the stamping part drawing filling device, and the stamping part drawing filling device calls the stamping part drawing filling program stored in the memory 1005 through the processor 1001, and executes the stamping part drawing filling method provided by the embodiment of the present invention.

[0056] The embodiment of the present invention provides a method for filling a stamping part drawing, referring to Figure 2 , Figure 2 This is a flow chart of a first embodiment of a method for filling a stamping part drawing according to the present invention.

[0057] The stamping part drawing filling method includes the following steps:

[0058] Step S10: Acquire the three-dimensional modeling data and filling instructions of the stamping part to be filled.

[0059] It should be noted that the executor of this embodiment is a terminal device, and a stamping part drawing filling system is installed on the terminal device. The stamping part drawing filling system is built based on CATIA software and the existing API provided by CATIA software. When the terminal device receives the filling instruction from the design department, the terminal device forwards the instruction to the stamping part drawing filling system. The stamping part drawing filling system determines the target projection parameters based on the three-dimensional modeling data and filling instructions of the stamping part to be filled, creates a first plane based on the target projection parameters, determines the three-dimensional filling line based on the three-dimensional modeling data and the first plane, and performs projection filling based on the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled.

[0060] It can be understood that the stamping parts to be filled refer to the parts that need to be filled in the area when the tolerance design is carried out on their drawings. The three-dimensional modeling parameters of the stamping parts to be filled refer to the three-dimensional digital model data constructed based on the design data of the stamping parts to be filled. The filling instructions refer to the instructions issued by the user to fill the area of ​​each stamping part to be filled.

[0061] Step S20: determining target projection parameters according to the filling instruction and the three-dimensional modeling data.

[0062] It should be noted that the target projection parameters refer to the target projection direction and the target area fill line angle. The projection direction can be along +X, along -X, along +Y, along -Y, along +Z, along -Z; the area fill line angle can be +45°, -45°, +30°, -30° or other angles.

[0063] It can be understood that in order to determine accurate target projection parameters based on the filling instruction, thereby ensuring the accuracy of subsequent projection filling, further, the target projection parameters are determined according to the filling instruction and the three-dimensional modeling data, including: extracting the direction identification code and the angle identification code in the filling instruction; determining the target projection direction and the target area fill line angle according to the direction identification code, the angle identification code and the three-dimensional modeling data; determining the target projection parameters according to the target projection direction and the target area fill line angle.

[0064] In a specific implementation, the filling instruction sent by the user includes a direction identification code and an angle identification code. According to the mapping relationship table between the direction identification code and the projection direction, the projection direction corresponding to the direction identification code in the filling instruction can be determined, thereby determining the target projection direction when the three-dimensional modeling data is projected and filled; according to the mapping relationship table between the angle identification code and the area fill line angle, the area fill line angle corresponding to the angle identification code in the filling instruction can be determined, thereby determining the target area fill line angle when the three-dimensional modeling data is projected and filled.

[0065] It should be noted that the target projection parameters include the target area fill line angle and the target projection parameters. After the target fill line angle and the target projection parameters are obtained, the target projection parameters can be determined.

[0066] Step S30: creating a first plane according to the target projection parameters.

[0067] It should be noted that the first plane is a transition plane used to determine the three-dimensional fill line. When determining the three-dimensional fill line subsequently, it needs to be determined based on the first plane and the three-dimensional modeling data, and created according to the target projection direction and the target area fill line angle in the target projection parameters.

[0068] It can be understood that in order to generate an accurate first plane and ensure the accuracy of subsequent processes, further, the creation of the first plane according to the target projection parameters includes: creating a reference plane according to the target projection direction in the target projection parameters; and obtaining the first plane according to the reference plane and the target area filling line angle in the target projection parameters.

[0069] In the specific implementation, according to the target projection direction in the target projection parameters, the HybridShapeFactory, AddNewPlaneAngle and other interfaces provided by CATIA in the stamping drawing filling system are used to create a base plane.

[0070] It should be noted that after obtaining the reference plane, the reference plane is rotated by the target area filling line angle, and the rotated reference plane is the first plane.

[0071] Step S40: determining a three-dimensional filling line according to the three-dimensional modeling data and the first plane.

[0072] It should be noted that a 3D fill line refers to a fill line used to project and fill a fill surface in the 3D modeling data of the stamped part to be filled. A fill surface may include multiple fill lines, so it is necessary to repeat the above step S40 until all 3D fill lines for all fill surfaces in the 3D modeling data are obtained.

[0073] Step S50: performing projection filling according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled.

[0074] It should be noted that after obtaining all the three-dimensional filling lines, all the filling surfaces in the three-dimensional modeling data are projected and filled according to the three-dimensional filling lines, thereby obtaining a two-dimensional filling drawing of the stamping part to be filled, and the two-dimensional drawing displays a 3D wireframe.

[0075] This embodiment obtains the three-dimensional modeling data and filling instructions of the stamping part to be filled; determines the target projection parameters according to the filling instructions and the three-dimensional modeling data; creates a first plane according to the target projection parameters; determines the three-dimensional filling line according to the three-dimensional modeling data and the first plane; and performs projection filling according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled. In the above manner, the target projection parameters are determined based on the filling instructions and the three-dimensional modeling data, the three-dimensional filling line is determined based on the first plane created based on the target projection parameters and the three-dimensional modeling data, the two-dimensional drawing is projected according to the three-dimensional filling line and a 3D wireframe is displayed to obtain a two-dimensional filling drawing of the stamping part to be filled. This not only enables free-style filling of the drawing and is suitable for all areas, but also improves the efficiency and accuracy of drawing filling, and also enables free-style filling in all directions, filling spacing, and filling angles.

[0076] refer to Figure 3 , Figure 3 This is a flow chart of a second embodiment of a method for filling a stamping part drawing according to the present invention.

[0077] Based on the first embodiment described above, step S41 in the stamping part drawing filling method of this embodiment includes:

[0078] Step S41: performing line traversal on the three-dimensional modeling data to obtain a target welding fitting line.

[0079] It should be noted that the design content of each angle in the 3D modeling data is obtained, and the 3D modeling data is traversed according to the Hybridbodies, Hybridbody, Hybridshapes, Hybridshape and other interfaces provided by CATIA in the stamping drawing filling system to obtain the welding fitting line of the stamping part to be filled. The welding fitting line of the stamping part to be filled is the target welding fitting line.

[0080] Step S42: generating a welding bonding surface area according to the target welding bonding line.

[0081] It should be noted that the welding surface area is a transition area used to determine the three-dimensional filling line. After obtaining the target welding surface area, the accurate welding surface area can be generated based on the welding surface area.

[0082] It can be understood that in order to obtain an accurate welding fitting surface area based on the target welding fitting line and the three-dimensional modeling data, further, the welding fitting surface area is generated according to the target welding fitting line, including: obtaining a target contour line according to the three-dimensional modeling data; generating a target cutting surface according to the target welding fitting line; cutting the target cutting surface according to the target contour line to generate a welding fitting surface area.

[0083] In the specific implementation, the target contour line refers to all contour lines in the 3D modeling data except the target weld fit line. The target cutting surface created by the target weld fit line is generated according to the HybridShapeFactory, AddNewFill and other interfaces provided by CATIA in the stamping drawing filling system.

[0084] It should be noted that after obtaining the target cutting surface, according to the HybridShapeFactory, AddNewHybridSplit and other interfaces provided by CATIA in the stamping drawing filling system, the target cutting surface is cut through the target contour line to obtain the final welding fitting surface area. The welding fitting surface area is the various surfaces to be filled in the three-dimensional modeling data.

[0085] Step S43: determining a three-dimensional filling line according to the welding surface area and the first plane.

[0086] It should be noted that after the welding surface area and the first plane are obtained, a three-dimensional filling line can be determined based on the welding surface area.

[0087] It can be understood that in order to determine an accurate three-dimensional fill line based on the welding surface area and the first plane, further, the three-dimensional fill line is determined according to the welding surface area and the first plane, including: determining the target spacing according to the first plane and the welding surface area; generating a second plane according to the first plane and the target spacing; and determining the three-dimensional fill line according to the second plane and the welding surface area.

[0088] In the specific implementation, the target distance refers to the minimum distance between the first plane and the weld surface area. The distance between the first plane and the weld surface is measured using the GetWorkbench ("SPAWorkbench"), GetMeasurable, and GetMinimumDistance interfaces provided by CATIA in the stamping drawing filling system to obtain the minimum distance between the first plane and the weld surface area.

[0089] It should be noted that after obtaining the target spacing, the first plane is offset by the target distance to obtain the second plane according to the HybridShapeFactory, AddNewPlaneOffset and other interfaces provided by CATIA in the stamping drawing filling system.

[0090] It is understandable that after the second plane is obtained, a three-dimensional filling line can be determined based on the second plane and the welding joint area.

[0091] In a specific implementation, in order to determine an accurate three-dimensional fill line based on the welding joint surface area and the second plane, further, the three-dimensional fill line is determined based on the second plane and the welding joint surface area, including: obtaining a fill instruction; determining a fill spacing based on the fill instruction; generating a third plane based on the fill spacing and the second plane; determining a target intersection line based on the third plane and the welding joint surface area; and determining a three-dimensional fill line based on the target intersection line.

[0092] It should be noted that the filling instruction sent by the user also includes a spacing identification code. According to the mapping relationship table between the spacing identification code and the filling spacing, the filling spacing corresponding to the spacing identification code in the filling instruction can be determined, thereby determining the filling line spacing when the three-dimensional modeling data is projected and filled. The filling line spacing is the filling spacing.

[0093] It can be understood that after obtaining the filling spacing, according to the HybridShapeFactory, AddNewPlaneOffset and other interfaces provided by CATIA in the stamping drawing filling system, the second plane is offset by the filling distance to obtain the third plane.

[0094] In the specific implementation, after obtaining the third plane, the target intersection line between the third plane and the welding surface area is determined according to the HybridShapeFactory, AddNewIntersection and other interfaces provided by CATIA in the stamping drawing filling system. The target intersection line is the three-dimensional filling line.

[0095] It should be noted that if Figure 4 As shown, after starting the filling, the target projection direction, the target area filling line angle and the filling line spacing are determined according to the filling instruction and the three-dimensional modeling data; a first plane is generated according to the target projection direction and the target area filling line angle, the target welding fit line is determined according to the three-dimensional modeling data, and the target cutting surface is generated according to the target welding fit line. The welding fit surface area is obtained based on the target contour line and the target cutting surface, and the next welding fit surface area is obtained in sequence. The target spacing from the first plane to the welding fit surface area is measured, the second plane is obtained by offsetting the target spacing from the first plane, and the third plane is obtained by offsetting the filling line spacing from the second plane. When the third plane intersects with the welding fit surface area, the target intersection line is the three-dimensional filling line, and the steps are repeated until all three-dimensional filling lines are obtained.

[0096] This embodiment traverses the 3D modeling data to obtain a target weld fit line; generates a weld fit surface area based on the target weld fit line; and determines a 3D fill line based on the weld fit surface area and the first plane. By traversing the image in the 3D modeling data to obtain the target weld fit line, an accurate 3D fill line is generated based on the target weld fit line and the first plane. This improves the accuracy of subsequent filling, avoids manual filling errors, and ensures that all fit surface areas are filled during subsequent filling, regardless of the influence of the 3D modeling data.

[0097] In addition, refer to Figure 5 The embodiment of the present invention further provides a stamping part drawing filling device, the stamping part drawing filling device comprising:

[0098] The acquisition module 10 is used to acquire the three-dimensional modeling data and filling instructions of the stamping part to be filled.

[0099] The determination module 20 is configured to determine target projection parameters according to the filling instruction and the three-dimensional modeling data.

[0100] The creation module 30 is configured to create a first plane according to the target projection parameters.

[0101] The determining module 20 is further configured to determine a three-dimensional filling line according to the three-dimensional modeling data and the first plane.

[0102] The filling module 40 is used to perform projection filling according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled.

[0103] This embodiment obtains the three-dimensional modeling data and filling instructions of the stamping part to be filled; determines the target projection parameters according to the filling instructions and the three-dimensional modeling data; creates a first plane according to the target projection parameters; determines the three-dimensional filling line according to the three-dimensional modeling data and the first plane; and performs projection filling according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled. In the above manner, the target projection parameters are determined based on the filling instructions and the three-dimensional modeling data, the three-dimensional filling line is determined based on the first plane created based on the target projection parameters and the three-dimensional modeling data, and the 3D wireframe is displayed by projecting the two-dimensional drawing according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled. This not only enables free-style filling of the drawing and is suitable for all areas, but also improves the efficiency and accuracy of drawing filling.

[0104] In one embodiment, the determining module 20 is further configured to extract a direction identification code and an angle identification code from the filling instruction;

[0105] Determine the target projection direction and the target area fill line angle according to the direction identification code, the angle identification code and the three-dimensional modeling data;

[0106] Target projection parameters are determined according to the target projection direction and the target area filling line angle.

[0107] In one embodiment, the creation module 30 is further configured to create a reference plane according to the target projection direction in the target projection parameters;

[0108] A first plane is obtained according to the reference plane and the target area filling line angle in the target projection parameters.

[0109] In one embodiment, the determining module 20 is further configured to perform line traversal on the three-dimensional modeling data to obtain a target welding joining line;

[0110] generating a welding bonding surface area according to the target welding bonding line;

[0111] A three-dimensional fill line is determined based on the welding surface area and the first plane.

[0112] In one embodiment, the determining module 20 is further configured to obtain a target contour line according to the three-dimensional modeling data;

[0113] generating a target cutting surface according to the target welding joining line;

[0114] The target cutting surface is cut according to the target contour line to generate a welding joint surface area.

[0115] In one embodiment, the determining module 20 is further configured to determine a target spacing based on the first plane and the welding faying surface area;

[0116] generating a second plane according to the first plane and the target distance;

[0117] A three-dimensional filling line is determined according to the second plane and the welding joint area.

[0118] In one embodiment, the determining module 20 is further configured to obtain a fill instruction;

[0119] Determining a filling spacing according to the filling instruction;

[0120] generating a third plane according to the filling distance and the second plane;

[0121] Determining a target intersection line according to the third plane and the welding joint surface area;

[0122] A three-dimensional filling line is determined according to the target intersection line.

[0123] Since the present device adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be described one by one here.

[0124] In addition, an embodiment of the present invention further provides a storage medium on which a stamping part drawing filling program is stored. When the stamping part drawing filling program is executed by a processor, the steps of the stamping part drawing filling method described above are implemented.

[0125] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.

[0126] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of the embodiment scheme, and no limitation is made here.

[0127] In addition, for technical details not fully described in this embodiment, reference can be made to the stamping part drawing filling method provided in any embodiment of the present invention, and will not be repeated here.

[0128] In addition, it should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0129] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0130] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, or of course by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0131] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A stamping parts drawing filling method, characterized in that: The stamping part drawing filling method includes: Obtaining 3D modeling data and filling instructions of the stamping part to be filled; Determining target projection parameters according to the filling instruction and the three-dimensional modeling data; Creating a first plane according to the target projection parameters; determining a three-dimensional filling line according to the three-dimensional modeling data and the first plane; Performing projection filling according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled; Wherein, determining a three-dimensional filling line according to the three-dimensional modeling data and the first plane includes: Performing line traversal on the three-dimensional modeling data to obtain a target welding joining line; generating a welding bonding surface area according to the target welding bonding line; determining a three-dimensional fill line based on the welding faying surface area and the first plane; The step of generating a welding bonding surface area according to the target welding bonding line includes: Obtaining a target contour line according to the three-dimensional modeling data; generating a target cutting surface according to the target welding joining line; Cutting the target cutting surface according to the target contour line to generate a welding joint surface area; Wherein, determining a three-dimensional filling line according to the welding surface area and the first plane includes: determining a target spacing based on the first plane and the welding faying surface area; generating a second plane according to the first plane and the target distance; determining a three-dimensional filling line according to the second plane and the welding joint surface area; Wherein, determining a three-dimensional filling line according to the second plane and the welding joint surface area includes: Get fill instructions; Determining a filling spacing according to the filling instruction; generating a third plane according to the filling distance and the second plane; Determining a target intersection line according to the third plane and the welding joint surface area; A three-dimensional filling line is determined according to the target intersection line.

2. The stamping parts drawing filling method according to claim 1, characterized in that: The determining target projection parameters according to the filling instruction and the three-dimensional modeling data includes: Extracting the direction identification code and the angle identification code in the filling instruction; Determine the target projection direction and the target area fill line angle according to the direction identification code, the angle identification code and the three-dimensional modeling data; Target projection parameters are determined according to the target projection direction and the target area filling line angle.

3. The stamping parts drawing filling method according to claim 2, characterized in that: The step of creating a first plane according to the target projection parameters includes: Creating a reference plane according to the target projection direction in the target projection parameters; A first plane is obtained according to the reference plane and the target area filling line angle in the target projection parameters.

4. A stamping parts drawing filling device, characterized in that: The stamping part drawing filling device includes: An acquisition module, used to acquire the three-dimensional modeling data and filling instructions of the stamping part to be filled; a determination module, configured to determine target projection parameters according to the filling instruction and the three-dimensional modeling data; A creation module, configured to create a first plane according to the target projection parameters; The determining module is further configured to determine a three-dimensional filling line based on the three-dimensional modeling data and the first plane; A filling module, configured to perform projection filling according to the three-dimensional filling line to obtain a two-dimensional filling drawing of the stamping part to be filled; The determination module is further used to perform line traversal on the three-dimensional modeling data to obtain a target welding fitting line; generate a welding fitting surface area according to the target welding fitting line; determine a three-dimensional filling line according to the welding fitting surface area and the first plane; obtain a target contour line according to the three-dimensional modeling data; generate a target cutting surface according to the target welding fitting line; cut the target cutting surface according to the target contour line to generate a welding fitting surface area; determine a target spacing according to the first plane and the welding fitting surface area; generate a second plane according to the first plane and the target spacing; determine a three-dimensional filling line according to the second plane and the welding fitting surface area; obtain a filling instruction; determine a filling spacing according to the filling instruction; generate a third plane according to the filling spacing and the second plane; determine a target intersection line according to the third plane and the welding fitting surface area; and determine a three-dimensional filling line according to the target intersection line.

5. A stamping parts drawing filling device, characterized in that: The device includes: a memory, a processor, and a stamping part drawing filling program stored in the memory and executable on the processor, wherein the stamping part drawing filling program is configured to implement the stamping part drawing filling method according to any one of claims 1 to 3.

6. A storage medium, characterized in that The storage medium stores a stamping part drawing filling program, and when the stamping part drawing filling program is executed by the processor, the stamping part drawing filling method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Determination method and device of sectioning plane of three-dimensional model

    CN108171804A

  • Filling boundary recognition method and device for vector PDF drawing, equipment and storage medium

    CN113191311A