Sheet metal part parting line automatic generation method, storage medium and electronic equipment
Patent Information
- Application Number
- CN202311460863.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-03
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2043-11-03
AI Technical Summary
[0003]本申请的目的在于克服现有技术中工艺技术人员人工调整钣金件分模线形貌效率和准确性低的问题,提供一种钣金件分模线自动生成方法、存储介质和电子设备
[0045]本申请的技术方案根据钣金件上的轮廓代表点确定目标偏置点,根据形貌判定函数确定任意两个相邻目标偏置点之间的连接线,再将连接线投影至压料面上形成分模线,输入钣金件上的轮廓边界点即可得到准确的分模线,实现了分模线的自动生成,能够有效提高效率,降低钣金件制造的人工成本,提高分模线的准确性。
Smart Images

Figure CN117408069B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of stamping die technology, and in particular to a method for automatically generating parting lines of sheet metal parts, a storage medium, and an electronic device. Background Technology
[0002] Automotive sheet metal parts are typically manufactured using stamping. When designing the stamping process, the parting line setting has a significant impact on the part, potentially affecting its formability, dimensional stability, and surface finish. In existing technologies, process engineers create and adjust the parting line morphology based on their experience with the part and the process. This manual operation is time-consuming, inefficient, and its accuracy depends heavily on the experience level of the personnel. Summary of the Invention
[0003] The purpose of this application is to overcome the problem of low efficiency and accuracy of manual adjustment of the parting line shape of sheet metal parts by process technicians in the prior art, and to provide an automatic generation method, storage medium and electronic device for sheet metal parting lines.
[0004] The technical solution of this application provides a method for automatically generating parting lines for sheet metal parts, including:
[0005] Obtain the contour representative points on the sheet metal part;
[0006] Determine the target offset point based on the representative points of the contour;
[0007] The connection line between any two adjacent target offset points is determined based on the morphology determination function;
[0008] Project all the connecting lines onto the blank holder surface to form parting lines.
[0009] Further, obtaining the contour representative points on the sheet metal part includes:
[0010] Obtain the outline boundary points of the sheet metal part;
[0011] Identify all the convex points in the contour boundary points and remove the approximately collinear points among the convex points to obtain the first contour representative points;
[0012] The first contour representative point is adjusted according to the symmetry of the sheet metal part to obtain the contour representative point.
[0013] Furthermore, it also includes:
[0014] Determine the offset direction and offset distance for each representative point of the contour;
[0015] The offset point corresponding to each of the contour representative points is determined based on the offset direction and the offset distance;
[0016] Connect each of the contour representative points to the corresponding offset points to generate the corresponding offset judgment line segments;
[0017] Intersecting offset judgment line segments are identified as invalid judgment line segments;
[0018] Delete the offset point corresponding to the invalid judgment line segment and generate the target offset point.
[0019] Further, determining the offset direction and offset distance of each contour representative point includes:
[0020] Connect the identification line segments between any two adjacent contour representative points;
[0021] The angle formed by the two identification line segments connecting each of the contour representative points is taken as the identification angle corresponding to the contour representative point, and the direction of the angle bisector of the identification angle is determined as the offset direction of the contour representative point.
[0022] The offset distance of the profile representative point is determined based on the material properties of the sheet metal part, the height of the profile representative point from the blank holder surface, and the normal vector of the surface where the profile representative point is located.
[0023] Further, determining the offset distance of the profile representative point based on the material properties of the sheet metal part, the height of the profile representative point from the blank holder surface, and the normal vector of the surface containing the profile representative point includes:
[0024] Obtain the coordinates of the point represented by the contour, the normal vector of the surface containing the point represented by the contour, and the height of the point represented by the contour from the material pressing surface;
[0025] Determine the offset distance of the representative points of the contour.
[0026] L = (K1 + (n·m)) * H;
[0027] Where L is the offset distance; K1 is the material property coefficient;
[0028] n is the normal vector of the face containing the point represented by the contour;
[0029] m is the stamping direction of the sheet metal part;
[0030] H is the height of the point representing the profile from the pressure surface.
[0031] Furthermore, it also includes:
[0032] Substitute the coordinates of two adjacent target offset points into at least two shape determination functions for fitting, and obtain the fitting similarity respectively;
[0033] The connection method corresponding to the morphology determination function with the highest fitting similarity is selected as the target connection method between the two target bias points.
[0034] The connection line is generated by connecting two adjacent target offset points according to the target connection method.
[0035] Further, when the target connection method is a straight line connection, the step of connecting two adjacent target offset points according to the target connection method to generate the connection line includes:
[0036] A straight line segment is generated between the two adjacent target offset points as the connecting line.
[0037] Furthermore, when the target connection method is a curve connection, the step of connecting two adjacent target offset points according to the target connection method to generate the connection line includes:
[0038] The tangent direction of the connecting line between the two adjacent target offset points is determined based on the shape of the sheet metal part.
[0039] Based on the target connection method and the tangent direction, a curved line segment is generated between two adjacent target offset points as the connecting line.
[0040] The technical solution of this application also provides a storage medium that stores computer instructions. When the computer executes the computer instructions, it is used to perform the automatic generation method for parting lines of sheet metal parts as described above.
[0041] The technical solution of this application also provides an electronic device, including at least one processor; and,
[0042] A memory communicatively connected to the at least one processor; wherein,
[0043] The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the automatic parting line generation method for sheet metal parts as described above.
[0044] The above technical solution has the following beneficial effects:
[0045] The technical solution of this application determines the target offset point based on the contour representative points on the sheet metal part, determines the connecting line between any two adjacent target offset points based on the morphology judgment function, and then projects the connecting line onto the blank holder surface to form the parting line. By inputting the contour boundary points on the sheet metal part, an accurate parting line can be obtained, realizing the automatic generation of the parting line, which can effectively improve efficiency, reduce the labor cost of sheet metal part manufacturing, and improve the accuracy of the parting line. Attached Figure Description
[0046] The disclosure of this application will become more readily understood with reference to the accompanying drawings. It should be understood that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this application. In the drawings:
[0047] Figure 1 This is a flowchart of a method for automatically generating parting lines for sheet metal parts according to an embodiment of this application;
[0048] Figure 2 This is a flowchart of a preferred embodiment of the method for automatically generating parting lines for sheet metal parts in this application;
[0049] Figure 3 This is an example diagram of the outline representative points in one embodiment of this application;
[0050] Figure 4 This is an example diagram illustrating the determination of the offset direction by the contour representative points in one embodiment of this application;
[0051] Figure 5 This is an example diagram of an embodiment of this application where the target connection method is a curve;
[0052] Figure 6 This is a schematic diagram of the hardware structure of an electronic device in one embodiment of this application. Detailed Implementation
[0053] The specific embodiments of this application will be further described below with reference to the accompanying drawings.
[0054] It is readily understood that, based on the technical solution of this application, various structural and implementation methods can be interchanged by those skilled in the art without altering the essential spirit of this application. Therefore, the following detailed embodiments and accompanying drawings are merely illustrative examples of the technical solution of this application and should not be considered as the entirety of this application or as limitations or restrictions on the technical solution of the application.
[0055] The directional terms such as up, down, left, right, front, back, front, back, top, and bottom mentioned or possibly used in this specification are defined relative to the structures shown in the accompanying drawings. These are relative concepts and may therefore vary depending on their location and usage. Therefore, these or other directional terms should not be interpreted as restrictive. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0056] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meanings of the above in this application according to the specific circumstances.
[0057] The method for generating parting lines for sheet metal parts in this application example is as follows: Figure 1 As shown, it includes:
[0058] Step S101: Obtain the contour representative points on the sheet metal part;
[0059] Step S102: Determine the target offset point based on the representative points of the contour;
[0060] Step S103: Determine the connecting line between any two adjacent target offset points according to the morphology determination function;
[0061] Step S104: Project all the connecting lines onto the blank holder surface to form parting lines.
[0062] Specifically, in step S101, the representative points of the sheet metal part's contour can be obtained directly from the boundary of the sheet metal part, or the contour boundary points can be obtained and processed to obtain the contour boundary points.
[0063] In step S102, the target offset point is determined based on the contour representative point, the corresponding offset point is generated based on the offset direction and offset distance of the contour representative point, and whether it is the target offset point is determined based on the positional relationship between the contour representative point and the corresponding offset point.
[0064] In step S103, the connecting line between any two adjacent target offset points is determined according to the shape determination function. This can be done by judging according to the shape determination function or by directly comparing the model line segments to obtain the connecting line between the target offset points.
[0065] In step S104, all the connecting lines are projected onto the pressing surface to form parting lines.
[0066] In this embodiment, the target offset point is determined based on the contour representative points on the sheet metal part, and the connecting line between any two adjacent target offset points is determined based on the morphology judgment function. The connecting line is then projected onto the blank holder surface to form the parting line. By inputting the contour boundary points on the sheet metal part, an accurate parting line can be obtained, realizing the automatic generation of the parting line. This can effectively improve efficiency, reduce the labor cost of sheet metal part manufacturing, and improve the accuracy of the parting line.
[0067] In one embodiment, obtaining the contour representative points on the sheet metal part includes:
[0068] Obtain the outline boundary points of the sheet metal part;
[0069] Identify all the convex points in the contour boundary points and remove the approximately collinear points among the convex points to obtain the first contour representative points;
[0070] The first contour representative point is adjusted according to the symmetry of the sheet metal part to obtain the contour representative point.
[0071] In this embodiment, protrusions in the contour boundary points are identified from the contour boundary points, and approximately collinear points in the protrusions are removed to obtain the first contour boundary points. This ensures that the first contour boundary points can reflect the contour of the sheet metal part, while reducing the number of protrusions to reduce the amount of data processing.
[0072] Specifically, the approximate collinear point is defined as follows: draw a straight line between every two adjacent convex points, and determine whether other adjacent convex points are on the same straight line. If they are on the same straight line, they are approximate collinear points.
[0073] The embodiments of this application combine the contour boundary points and the symmetry of the sheet metal parts to obtain contour representative points, which can obtain accurate and comprehensive contour representative points according to the characteristics of different sheet metal parts.
[0074] In one embodiment, determining the target offset point based on the contour representative points includes:
[0075] Determine the offset direction and offset distance for each representative point of the contour;
[0076] The offset point corresponding to each of the contour representative points is determined based on the offset direction and the offset distance;
[0077] Connect each of the contour representative points to the corresponding offset points to generate the corresponding offset judgment line segments;
[0078] Intersecting offset judgment line segments are identified as invalid judgment line segments;
[0079] Delete the offset point corresponding to the invalid judgment line segment and generate the target offset point.
[0080] Figure 3 In the process, after determining the offset direction and offset distance of the contour representative point D, the offset point corresponding to the contour representative point D can be obtained by extending the offset distance in the offset direction of the contour representative point D.
[0081] Then, by connecting the offset judgment line segments, intersecting offset judgment line segments are identified as invalid judgment line segments and the corresponding offset points are deleted to avoid the phenomenon of self-intersection of the parting lines when generating the parting lines by connecting the offset points in sequence.
[0082] In one embodiment, determining the offset direction and offset distance of each contour representative point further includes:
[0083] Connect the identification line segments between any two adjacent contour representative points;
[0084] The angle formed by the two identification line segments connecting each of the contour representative points is taken as the identification angle corresponding to the contour representative point, and the direction of the angle bisector of the identification angle is determined as the offset direction of the contour representative point.
[0085] The offset distance of the profile representative point is determined based on the material properties of the sheet metal part, the height of the profile representative point from the blank holder surface, and the normal vector of the surface where the profile representative point is located.
[0086] Figure 4 In the diagram, the two line segments formed by connecting the contour representative point B with the contour representative points A and C respectively constitute the recognition angle α corresponding to the contour representative point B. The direction of the angle bisector P of the recognition angle α is the offset direction of the contour representative point B.
[0087] In one embodiment, the offset distance of the contour representative point is determined based on the material properties of the sheet metal part, the height of the contour representative point from the blank holder surface, and the normal vector of the surface containing the contour representative point. The method further includes:
[0088] Obtain the coordinates of the point represented by the contour, the normal vector of the surface containing the point represented by the contour, and the height of the point represented by the contour from the material pressing surface;
[0089] Determine the offset distance of the representative points of the contour.
[0090] L = (K1 + (n·m)) * H;
[0091] Where L is the offset distance; K1 is the material property coefficient;
[0092] n is the normal vector of the face containing the point represented by the contour;
[0093] m is the stamping direction of the sheet metal part;
[0094] n·m is the dot product of n and m, and the result is a scalar;
[0095] H is the height of the point representing the profile from the pressure surface.
[0096] Figure 3Taking the contour representative point D as an example, the normal vector n of the surface where the contour representative point D is located, the height H of the contour representative point D from the blank holder surface, the stamping direction m of the sheet metal part are shown, and K1 is a preset material property coefficient, which is preset according to the properties of different materials.
[0097] In one embodiment, determining the connecting line between any two adjacent target offset points based on the topography determination function includes:
[0098] Substitute the coordinates of two adjacent target offset points into at least two shape determination functions for fitting, and obtain the fitting similarity respectively;
[0099] The connection method corresponding to the morphology determination function with the highest fitting similarity is selected as the target connection method between the two target bias points.
[0100] The connection line is generated by connecting two adjacent target offset points according to the target connection method.
[0101] The shape determination function includes at least a linear function and a curve function. For example, the linear fitting function can be set as y = Kx + b (where x and y are the coordinates of the target offset point); the curve fitting function can be set as x... 2 +Ky 2 =S (x, y are the coordinates of the target offset point).
[0102] In this embodiment, by setting morphology determination functions for connecting lines of different shapes, the fitting similarity is obtained by substituting two adjacent target offset points into the function. The morphology determination function with the highest fitting similarity is determined as the target connection method between the two target offset points, thus obtaining the optimal connection method between two adjacent target offset points.
[0103] In one embodiment, when the target connection method is a straight line, the step of connecting two adjacent target offset points according to the target connection method to generate the connection line includes:
[0104] A straight line segment is directly generated between these two adjacent target offset points as a connecting line.
[0105] In one embodiment, when the target connection method is a curve, the step of connecting two adjacent target offset points according to the target connection method to generate the connection line includes:
[0106] Determine the tangent direction of the connecting line between these two adjacent target offset points based on the shape of the sheet metal part;
[0107] Based on the target connection method and tangent direction, generate a curved line segment as a connecting line between two adjacent target offset points.
[0108] like Figure 5As shown, for example, if the tangent direction of the connecting line between target offset point E and target offset point F is determined to be a based on the shape of the sheet metal part, then the curve segment of target offset point E and target offset point F shown in the figure is generated as the connecting line.
[0109] As needed, the above technical solutions can be combined to achieve the best technical effect.
[0110] Figure 2 The flowchart of a preferred embodiment of the present application for automatically generating parting lines of sheet metal parts is shown, which specifically includes:
[0111] Step S201: Obtain the contour boundary points of the sheet metal part and identify all the protrusions among them, remove the approximately collinear protrusions, and obtain the first contour representative points;
[0112] Step S202: Adjust the first contour representative point according to the symmetry of the sheet metal part to obtain the contour representative point;
[0113] Step S203: Connect recognition line segments between any two adjacent contour representative points. The two recognition line segments connected by each contour representative point form the corresponding recognition angle. The angle bisector of the recognition angle is the offset direction of the contour representative point.
[0114] Step S204: Obtain the coordinates of the contour representative point, the normal vector n of the surface where the contour representative point is located, and the height H of the contour representative point from the blank holder surface. Combine the material properties K1 of the sheet metal part and the stamping direction m, determine the offset distance L of the contour representative point by L = (K1 + (n·m)) * H.
[0115] Step S205: Combine the offset direction and offset distance to obtain the offset point corresponding to the contour representative point, and connect each contour representative point with the corresponding offset point to generate the corresponding offset judgment line segment.
[0116] Step S206: Identify intersecting offset judgment segments as invalid judgment segments, delete the offset points corresponding to the invalid judgment segments, and generate target offset points;
[0117] Step S207: Substitute the coordinate values of two adjacent target offset points into at least two shape determination functions for fitting, and obtain the fitting similarity respectively;
[0118] Step S208: Select the connection method corresponding to the shape determination function with the highest fitting similarity as the target connection method between the two target bias points;
[0119] Step S209A: If the target connection method is a straight line connection, generate a straight line segment between the two adjacent target offset points as the connection line;
[0120] Step S209B: If the target connection method is a curve connection, determine the tangent direction of the connecting line between the two adjacent target offset points according to the shape of the sheet metal part, and then determine the corresponding curve segment according to the target connection method and the tangent direction as the connecting line between the two adjacent target offset points.
[0121] Step S210: Project all connecting lines onto the blank holder surface to form parting lines.
[0122] The technical solution of this application also provides a storage medium that stores computer instructions. When the computer executes the computer instructions, it is used to execute the automatic generation method for sheet metal parting lines in any of the foregoing embodiments.
[0123] Figure 6 An electronic device according to this application is shown, comprising:
[0124] At least one processor 601; and,
[0125] A memory 602 is communicatively connected to the at least one processor 601; wherein,
[0126] The memory 602 stores instructions that can be executed by the at least one processor 601, which, when executed by the at least one processor 601, enables the at least one processor 601 to perform all the steps of the automatic generation method for parting lines of sheet metal parts in any of the foregoing method embodiments.
[0127] Figure 6 Taking a processor 601 as an example:
[0128] The electronic device may also include an input device 603 and an output device 604.
[0129] The processor 601, memory 602, input device 603 and output device 604 can be connected by a bus or other means. The figure shows an example of connection by a bus.
[0130] The memory 602, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the automatic generation method for parting lines of sheet metal parts in the embodiments of this application, for example, Figure 1 The method flow is shown in Figure 2. The processor 601 executes various functional applications and data processing by running non-volatile software programs, instructions, and modules stored in the memory 602, thereby realizing the automatic generation method of sheet metal parting lines in the above embodiments.
[0131] The memory 602 may include a program storage area and a data storage area. The program storage area may store an operating system and an application program required for at least one function. The data storage area may store data created based on the use of the automatic parting line generation method for sheet metal parts. Furthermore, the memory 602 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 602 may optionally include memory remotely located relative to the processor 601, and these remote memories may be connected via a network to the apparatus performing the automatic parting line generation method for sheet metal parts. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0132] The input device 603 can receive user clicks and generate signal inputs related to user settings and function control of the automatic parting line generation method for sheet metal parts. The output device 604 may include a display screen or other display device.
[0133] When one or more modules are stored in the memory 602, and are run by one or more processors 601, the automatic generation method for parting lines of sheet metal parts in any of the above method embodiments is executed.
[0134] The above description is merely the principle and preferred embodiment of this application. It should be noted that for those skilled in the art, implementation methods obtained by appropriately combining the technical solutions disclosed in different embodiments are also included within the technical scope of this invention. Based on the principle of this application, several other modifications can also be made, which should also be considered within the protection scope of this application.
Claims
1. A method for automatically generating parting lines for sheet metal parts, characterized in that, The method includes: Obtain the contour representative points on the sheet metal part; Determine the target offset point based on the representative points of the contour; The connection line between any two adjacent target offset points is determined based on the morphology determination function; Project all the connecting lines onto the blank holder surface to form parting lines; The acquisition of the contour representative points on the sheet metal part includes: Obtain the outline boundary points of the sheet metal part; Identify all the convex points in the contour boundary points and remove the approximately collinear points among the convex points to obtain the first contour representative points; The first contour representative point is adjusted according to the symmetry of the sheet metal part to obtain the contour representative point.
2. The method for automatically generating parting lines for sheet metal parts according to claim 1, characterized in that, The step of determining the target offset point based on the contour representative points includes: Determine the offset direction and offset distance for each representative point of the contour; The offset point corresponding to each of the contour representative points is determined based on the offset direction and the offset distance; Connect each of the contour representative points to the corresponding offset points to generate the corresponding offset judgment line segments; Intersecting offset judgment line segments are identified as invalid judgment line segments; Delete the offset point corresponding to the invalid judgment line segment and generate the target offset point.
3. The method for automatically generating parting lines for sheet metal parts according to claim 2, characterized in that, Determining the offset direction and offset distance of each contour representative point includes: Connect the identification line segments between any two adjacent contour representative points; The angle formed by the two identification line segments connecting each of the contour representative points is taken as the identification angle corresponding to the contour representative point, and the direction of the angle bisector of the identification angle is determined as the offset direction of the contour representative point. The offset distance of the profile representative point is determined based on the material properties of the sheet metal part, the height of the profile representative point from the blank holder surface, and the normal vector of the surface where the profile representative point is located.
4. The method for automatically generating parting lines of sheet metal parts according to claim 3, characterized in that, The step of determining the offset distance of the profile representative point based on the material properties of the sheet metal part, the height of the profile representative point from the blank holder surface, and the normal vector of the surface containing the profile representative point includes: Obtain the coordinates of the point represented by the contour, the normal vector of the surface containing the point represented by the contour, and the height of the point represented by the contour from the material pressing surface; Determine the offset distance of the representative points of the contour. L = (K1 + (n·m)) * H; Where L is the offset distance; K1 is the material property coefficient; n is the normal vector of the face containing the point represented by the contour; m is the stamping direction of the sheet metal part; H is the height of the point representing the profile from the pressure surface.
5. The method for automatically generating parting lines for sheet metal parts according to claim 1, characterized in that, Determining the connecting line between any two adjacent target offset points based on the topography determination function includes: Substitute the coordinates of two adjacent target offset points into at least two shape determination functions for fitting, and obtain the fitting similarity respectively; The connection method corresponding to the morphology determination function with the highest fitting similarity is selected as the target connection method between the two target bias points. The connection line is generated by connecting two adjacent target offset points according to the target connection method.
6. The method for automatically generating parting lines of sheet metal parts according to claim 5, characterized in that, When the target connection method is a straight line connection, the step of connecting two adjacent target offset points according to the target connection method to generate the connection line includes: A straight line segment is generated between the two adjacent target offset points as the connecting line.
7. The method for automatically generating parting lines for sheet metal parts according to claim 5, characterized in that, When the target connection method is a curve connection, the step of connecting two adjacent target offset points according to the target connection method to generate the connection line includes: The tangent direction of the connecting line between the two adjacent target offset points is determined based on the shape of the sheet metal part. Based on the target connection method and the tangent direction, a curved line segment is generated between two adjacent target offset points as the connecting line.
8. A storage medium, characterized in that, The storage medium stores computer instructions, which, when executed by the computer, are used to perform the automatic generation method for parting lines of sheet metal parts as described in any one of claims 1 to 7.
9. An electronic device, characterized in that, Includes at least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the automatic generation method for parting lines of sheet metal parts as described in any one of claims 1 to 7.