CN117874966A - Automatic parting line generation method, electronic device and computer readable storage medium - Google Patents

Automatic parting line generation method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN117874966A
CN117874966A CN202410278849.9A CN202410278849A CN117874966A CN 117874966 A CN117874966 A CN 117874966A CN 202410278849 A CN202410278849 A CN 202410278849A CN 117874966 A CN117874966 A CN 117874966A
Authority
CN
China
Prior art keywords
boundary point
boundary
parting line
point
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410278849.9A
Other languages
Chinese (zh)
Other versions
CN117874966B (en
Inventor
雷文魁
谢晖
易建业
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN202410278849.9A priority Critical patent/CN117874966B/en
Priority claimed from CN202410278849.9A external-priority patent/CN117874966B/en
Publication of CN117874966A publication Critical patent/CN117874966A/en
Application granted granted Critical
Publication of CN117874966B publication Critical patent/CN117874966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Image Generation (AREA)

Abstract

The application relates to the technical field of mold design, and particularly provides a method for automatically generating a parting line, electronic equipment and a computer readable storage medium, wherein the method comprises the following steps: obtaining a target circular angle surface according to the 3D digital model of the part; acquiring a first boundary point and a second boundary point corresponding to a plurality of cross sections of the 3D digital model of the part according to the extending direction of the target circular angle surface, wherein the first boundary point and the second boundary point are two side end points of the target circular angle surface in the cross sections of the 3D digital model of the part; generating a parting line base point according to the first boundary point and the second boundary point; connecting the parting line base points to form a parting line; the method can effectively solve the problems of high work repeatability, high work intensity and low die parting line acquisition efficiency caused by the fact that boundary lines on two sides of the target circular angle surface are selected manually, auxiliary surfaces tangent to the target circular angle surface are made according to the boundary lines and different die parting lines are connected, so that the die design efficiency is low.

Description

Automatic parting line generation method, electronic device and computer readable storage medium
Technical Field
The present application relates to the technical field of mold design, and in particular, to a method for automatically generating a parting line, an electronic device, and a computer readable storage medium.
Background
In the mold piece design technology, the parting line of the part is required to be acquired firstly, then the design of the stamping process is carried out according to the acquired parting line, and finally the design of the 3D digital mold of the mold is carried out according to the designed stamping process. The working flow of the prior art for obtaining the parting line of the part is as follows: 1. selecting boundary lines (refer to b in fig. 1) on two sides of a target circular angle surface (refer to a in fig. 1) in a 3D digital model of the part in a manual mode; 2. manually making an auxiliary surface tangential to the target circular angle surface according to the boundary line (refer to c in fig. 1), and taking the intersection line of the two auxiliary surfaces as a parting line (refer to d in fig. 1); 3. and connecting the parting lines corresponding to the different target circular angle surfaces in a manual mode. Since the prior art needs to manually select boundary lines on both sides of the target circular angle surface, make auxiliary surfaces tangent to the target circular angle surface according to the boundary lines, and connect different parting lines, the prior art has the problems of high work repeatability, high work intensity, and low parting line acquisition efficiency due to the need to manually select boundary lines on both sides of the target circular angle surface, make auxiliary surfaces tangent to the target circular angle surface according to the boundary lines, and connect different parting lines, thereby resulting in low mold design efficiency.
In view of the above problems, no effective technical solution is currently available.
Disclosure of Invention
The invention aims to provide an automatic parting line generating method, electronic equipment and a computer readable storage medium, which can effectively solve the problems of high work repeatability, high work intensity and low parting line acquisition efficiency caused by the fact that boundary lines on two sides of a target circular angle surface are required to be selected manually, auxiliary surfaces tangent to the target circular angle surface are made according to the boundary lines and different parting lines are connected, so that the die design efficiency is low.
In a first aspect, the present application provides a method for automatically generating a parting line, including the steps of:
obtaining a target circular angle surface according to the 3D digital model of the part;
acquiring a first boundary point and a second boundary point corresponding to a plurality of cross sections of the 3D digital model of the part according to the extending direction of the target circular angle surface, wherein the first boundary point and the second boundary point are two side end points of the target circular angle surface in the cross sections of the 3D digital model of the part;
generating a parting line base point according to the first boundary point and the second boundary point;
the parting line base points are connected to form a parting line.
According to the automatic parting line generation method, the target circular angle surface is firstly obtained according to the 3D digital model of the part, a plurality of first boundary points and a plurality of second boundary points are obtained according to the extending direction of the target circular angle surface, then the parting line base points are generated according to the first boundary points and the second boundary points, and finally the parting lines are formed through the mode of connecting the parting line base points.
Optionally, the step of generating the base point of the parting line from the first boundary point and the second boundary point comprises:
generating a first tangential edge based on the first boundary point and generating a second tangential edge based on the second boundary point;
and generating a parting line base point according to the first tangential edge and the second tangential edge, wherein the parting line base point is an intersection point of the first tangential edge and the second tangential edge.
Optionally, the step of generating the base point of the parting line from the first boundary point and the second boundary point comprises:
acquiring first boundary point position information, second boundary point position information and a target circular angle surface radius, wherein the first boundary point position information is the position of a first boundary point, and the second boundary point position information is the position of a second boundary point;
and calculating the position information of the parting line base point according to the position information of the first boundary point, the position information of the second boundary point and the radius of the target circular angle surface so as to determine the parting line base point, wherein the position information of the parting line base point is the position of the parting line base point.
According to the technical scheme, the position of the parting line base point can be calculated according to the first boundary point position information, the second boundary point position information and the target circular angle surface radius, so that two tangential edges tangential to the target circular angle surface are not required to be drawn on the 3D digital model of the part, and the data display quantity of the 3D digital model of the part is effectively reduced.
Optionally, the step of obtaining the target rounded surface according to the 3D digital-analog of the part includes:
acquiring a triangular face data set according to a 3D digital model of the part;
and screening a plurality of target triangular surfaces from the triangular surface data set according to the triangular surface boundary conditions.
Optionally, the rounded surface boundary condition includes a first condition that: one end of the circular angle surface is connected with a negative angle surface of the 3D digital model of the part in the stamping Z direction.
Optionally, the rounded corner boundary condition further comprises a second condition, the second condition being: the rounded corner surface is the corner of the inverted L-shaped structure.
Optionally, the rounded corner boundary condition further includes a third condition that: the rounded corner surface is the corner at the top of the structure in the shape of a Chinese character 'ji'.
Optionally, the step of acquiring the first boundary point and the second boundary point corresponding to the plurality of cross sections of the 3D digital-analog part according to the extending direction of the target circular angle surface includes:
acquiring target rounded corner surface radiuses, first boundary points and second boundary points corresponding to a plurality of cross sections of the 3D digital model of the part according to the extending direction of the target rounded corner surface;
generating a fitting straight line according to all the target circular angle surface radiuses based on a least square method, and calculating fitting deviation from each target circular angle surface radius to the fitting straight line;
and removing the first boundary point and the second boundary point corresponding to the fitting deviation which is larger than or equal to the preset distance threshold.
The technical scheme is equivalent to screening the first boundary point and the second boundary point according to the radius of the target circular angle surface and the preset distance threshold after the first boundary point and the second boundary point are acquired, so that the situation that the acquired parting line base point is low in accuracy due to overlarge radius jump of the local position of the target circular angle surface can be avoided.
In a second aspect, the present application provides an electronic device comprising a processor and a memory storing computer readable instructions which, when executed by the processor, perform the steps of the method as provided in the first aspect above.
In a third aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs steps in a method as provided in the first aspect above.
According to the automatic parting line generating method, electronic equipment and computer readable storage medium, the target circular angle surface is firstly obtained according to the 3D digital model of the part, a plurality of first boundary points and a plurality of second boundary points are obtained according to the extending direction of the target circular angle surface, then the parting line base points are generated according to the first boundary points and the second boundary points, finally the parting line is formed through the mode of connecting the parting line base points.
Drawings
FIG. 1 is a schematic diagram of a prior art acquisition parting line.
Fig. 2 is a flowchart of a method for automatically generating a parting line according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a target rounded surface satisfying a first condition according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a target rounded surface that satisfies a second condition according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a target rounded surface that satisfies a third condition according to an embodiment of the present application.
Fig. 6 is a schematic diagram of calculating location information of a parting line base point according to location information of a first boundary point, location information of a second boundary point, and radius of a target dome surface according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Reference numerals: 101. a processor; 102. a memory; 103. a communication bus.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
In a first aspect, as shown in fig. 2-6, the present application provides a method for automatically generating a parting line, which includes the following steps:
s1, acquiring a target circular angle surface according to a 3D digital model of a part;
s2, acquiring a first boundary point and a second boundary point corresponding to a plurality of cross sections of the 3D digital model of the part according to the extending direction of the target circular angle surface, wherein the first boundary point and the second boundary point are two side end points of the target circular angle surface in the cross sections of the 3D digital model of the part;
s3, generating a parting line base point according to the first boundary point and the second boundary point;
s4, connecting the parting line base points to form a parting line.
The parting line can be divided into a shaping parting line and a flanging parting line, and the automatic parting line generating method is suitable for generating the shaping parting line or the flanging parting line.
The 3D digital model of the part in step S1 is a three-dimensional digital model of the target part (the part obtained after performing the stamping process), and the 3D digital model of the part is a model designed in advance, specifically, the 3D digital model of the part in this embodiment may be a model designed according to parameters of the target part (for example, a material and a size of the target part), and it should be understood that the 3D digital model of the part in this embodiment corresponds to an equal-ratio model of the target part. The target rounded surface in step S1 is a rounded surface that needs to generate a parting line, and since the 3D digital model of the part corresponds to an equal-proportion model of the target part, and the target rounded surface is one or more rounded surfaces on the target part, step S1 needs to obtain the target rounded surface according to the 3D digital model of the part. The step S1 can screen out the target circular angle surface from the 3D digital-analog of the part according to a preset target circular angle surface screening rule, and the step S1 can also utilize a target circular angle surface identification model or a target circular angle surface identification algorithm to identify the target circular angle surface from the 3D digital-analog of the part.
Step S2 may obtain first boundary points and second boundary points corresponding to a plurality of cross sections of the part 3D phantom in a manner of periodically obtaining first boundary points and second boundary points in cross sections of the part 3D phantom perpendicular to the extending direction of the target circular angle surface according to a preset interval distance along the extending direction of the target circular angle surface (the extending direction is a direction in which the target circular angle surface extends on the part 3D phantom), and step S2 may further obtain first boundary points and second boundary points corresponding to a plurality of cross sections of the part 3D phantom in a manner of extracting intersection points of the section lines and the target circular angle surface boundary according to a preset interval distance along the extending direction of the target circular angle surface, that is, the embodiment corresponds to obtaining the first boundary points and the second boundary points corresponding to a plurality of cross sections of the part 3D phantom based on spatial discretization, at this time, the distances between adjacent first boundary points are equal, and the distances between adjacent second boundary points are also equal. Step S2 may further obtain a first boundary point and a second boundary point corresponding to the cross section of the 3D digital model of the part according to the randomly generated interval distance after obtaining the first boundary point and the second boundary point corresponding to the cross section of the 3D digital model of the part, step S2 may further obtain a section line perpendicular to the extending direction of the target rounded angle surface according to the randomly generated interval distance after obtaining the first boundary point and the second boundary point corresponding to the cross section of the 3D digital model of the part, and obtain the first boundary point and the second boundary point corresponding to the cross section of the 3D digital model of the next part by extracting the intersection point of the section line and the target rounded angle surface, that is, the distance between the adjacent first boundary points is not equal, and the distance between the adjacent second boundary points is not equal. Specifically, step S2 may utilize existing design software (such as thinkday or SolidWork), a boundary point recognition model, or a boundary point recognition algorithm to perform boundary point recognition on two side end points of the target dome surface in the cross section of the 3D digital-analog of the part, so as to obtain a first boundary point and a second boundary point. It should be understood that the first boundary point and the second boundary point of this embodiment are substantially points on boundary lines on both sides of the target circular angle surface, and the number of the first boundary point and the second boundary point of this embodiment is plural since the cross section of each part 3D digital-analog corresponds to one first boundary point and one second boundary point, and the number of the cross sections of the part 3D digital-analog is plural.
And S3, the base point of the parting line is a point of the parting line in the cross section of the 3D digital model of the part corresponding to the first boundary point, and the parting lines can be obtained by connecting a plurality of base points of the parting line. Since the first boundary point and the second boundary point are substantially points on the boundary lines on both sides of the target circular angle face, and the parting line is an intersection line of two auxiliary faces tangent to the target circular angle face made from the boundary lines on both sides of the target circular angle face, this embodiment can generate the parting line base point by generating the two auxiliary faces tangent to the target circular angle face based on the first boundary point and the second boundary point, respectively, and taking a point of the intersection line of the two auxiliary faces in the cross section corresponding to the first boundary point as the parting line base point. It should be understood that each of the parting line base points of this embodiment corresponds to one first boundary point and one second boundary point, and that the number of parting line base points of this embodiment is plural because the number of first boundary points and second boundary points are plural.
Step S4 may use existing automatic tie-point software (e.g., blender) or a tie-point model to connect multiple parting line base points to generate a parting line.
According to the automatic parting line generation method, the target circular angle surface is firstly obtained according to the 3D digital model of the part, a plurality of first boundary points and a plurality of second boundary points are obtained according to the extending direction of the target circular angle surface, then the parting line base points are generated according to the first boundary points and the second boundary points, and finally the parting lines are formed through the mode of connecting the parting line base points.
In some embodiments, step S3 comprises:
s31, generating a first tangential edge based on the first boundary point, and generating a second tangential edge based on the second boundary point;
s32, generating a parting line base point according to the first tangential edge and the second tangential edge, wherein the parting line base point is an intersection point of the first tangential edge and the second tangential edge.
The first tangential edge in step S31 corresponds to a tangent line passing through the first boundary point and tangent to the target circular angle surface in the cross section of the 3D digital-analog part, and the second tangential edge in step S31 corresponds to a tangent line passing through the second boundary point and tangent to the target circular angle surface in the cross section of the 3D digital-analog part. The first tangential edge and the second tangential edge of the embodiment can replace two auxiliary surfaces tangential to the target circular angle surface, which are made in the prior art, so that the intersection point of the first tangential edge and the second tangential edge is the parting line base point.
As shown in fig. 6, O in fig. 6 is the center of the target circular angle surface, and in some embodiments, step S3 includes:
s31', acquiring first boundary point position information, second boundary point position information and a target circular angle surface radius, wherein the first boundary point position information is the position of a first boundary point, and the second boundary point position information is the position of a second boundary point;
s32', calculating the position information of the parting line base point according to the position information of the first boundary point, the position information of the second boundary point and the radius of the target circular angle surface so as to determine the parting line base point, wherein the position information of the parting line base point is the position of the parting line base point.
The first boundary point position information of step S31 'is the position of the first boundary point (refer to a in fig. 6), the second boundary point position information is the position of the second boundary point (refer to B in fig. 6), and step S31' may acquire the first boundary point position information and the second boundary point position information from the 3D digital-analog of the part through existing design software (for example, thinkdaign or SolidWork), a point coordinate acquisition model, or a point coordinate acquisition algorithm. The 3D digital model of the part in this embodiment may include the radii corresponding to the respective triangular faces, so step S31 'may directly extract the target triangular face radius from the 3D digital model of the part, and step S31' may also calculate the target triangular face radius from the 3D digital model of the part using the existing radius estimation model. Specifically, the workflow of step S32' may be: s321', calculating the boundary point distance (namely the distance between the first boundary point and the second boundary point) according to the first boundary point position information and the second boundary point position information; s322', calculating a central angle according to the boundary point distance and the radius of the target circular angle surface; s323' calculating the distance from the midpoint of the line (midpoint of the line between the first boundary point and the second boundary point, refer to C in fig. 6) to the parting line base point (refer to S in fig. 6) from the boundary point distance and the central angle; s324', calculating a unit vector from the midpoint of the connecting line to the base point of the parting line according to the unit vector from the first boundary point to the second boundary point; s325', calculating the coordinates of the base point of the parting line based on the coordinates of the midpoint of the line (coordinates of the midpoint of the line connecting the first boundary point and the second boundary point), the distance from the midpoint of the line to the base point of the parting line, and the unit vector from the midpoint of the line to the base point of the parting line.
The calculation formula of step 323' is shown in formula (1):
(1)
wherein |CS| represents the distance from the midpoint of the line to the base point of the parting line,represents boundary point distance, ++>A vector representing the first boundary point to the second boundary point, pi represents the circumference ratio, and θ represents the central angle.
Since the unit vector from the first boundary point to the second boundary point is perpendicular to the unit vector from the midpoint of the line to the base point of the split line, the unit vector from the midpoint of the line to the base point of the split line can be calculated according to the unit vector from the first boundary point to the second boundary point in step S324', specifically, the calculation formula of step S324' is shown in formula (2):
(2)
wherein,vector in x-direction representing unit vector from midpoint of line to base point of split line, +.>Vector in y-direction representing unit vector from midpoint of the line to base point of split line, +.>Represents boundary point distance, ++>Vector representing first boundary point to second boundary point,/for>Vector in x direction representing unit vector from first boundary point to second boundary point, +.>A vector in the y direction representing a unit vector from the first boundary point to the second boundary point.
The calculation formula of step S325' is shown in formula (3):
(3)
wherein S (x, y) represents the base point coordinates of the parting line, C (x, y) represents the midpoint coordinates of the connecting line,the unit vector from the midpoint of the line to the base point of the parting line is represented, and the CS represents the distance from the midpoint of the line to the base point of the parting line. The coordinates of the midpoint of the connection line in this embodiment may be coordinates obtained by using an existing point coordinate obtaining model or a point coordinate obtaining algorithm, and the multiplication of the unit vector from the midpoint of the connection line to the base point of the parting line and the distance from the midpoint of the connection line to the base point of the parting line is the vector from the midpoint of the connection line to the base point of the parting line. Because the embodiment can calculate the position of the parting line base point according to the first boundary point position information, the second boundary point position information and the target circular angle surface radius, the embodiment does not need to draw two tangential edges tangential to the target circular angle surface on the 3D digital model of the part, thereby effectively reducing the data display quantity of the 3D digital model of the part. It should be appreciated that since the embodiment calculates the unit vector from the midpoint of the line to the base point of the parting line from the unit vector from the first boundary point to the second boundary point, and the calculated unit vector from the midpoint of the line to the base point of the parting line has two orientations, i.e., the embodiment can calculate two base point coordinates of the parting line (one of which is located in the 3D phantom of the part and the other of which is located outside the 3D phantom of the part), the embodiment also normally needs to determine the orientation of the unit vector from the midpoint of the line to the base point of the parting line to ensure that only one base point coordinate of the parting line is obtained, but since the parting line is necessarily located outside the 3D phantom of the part, the embodiment can ensure that only one end point is obtained by deleting the base point coordinates of the parting line located in the 3D phantom of the partThe individual parting line base coordinates, i.e., the embodiment, may also eliminate the need to determine the orientation of the unit vector from the midpoint of the line to the parting line base.
In some embodiments, step S1 comprises:
s11, acquiring a circular angle surface data set according to a 3D digital model of the part;
s12, screening a plurality of target triangular faces from the triangular face data set according to the triangular face boundary conditions.
Since the 3D digital model of the part includes a plurality of triangular faces, step S11 may extract a plurality of triangular faces from the 3D digital model of the part and store the extracted triangular faces in the triangular face dataset, that is, the triangular face dataset stores a plurality of triangular faces. The rounded surface boundary condition in step S12 is a preset condition, and the rounded surface boundary condition is used for screening the rounded surface data set to obtain a plurality of target rounded surfaces, where the target rounded surface in step S12 corresponds to a rounded surface in the rounded surface data set, which meets the rounded surface boundary condition.
As shown in fig. 3, in some embodiments, the rounded corner boundary conditions include a first condition that is: one end of the circular angle surface is connected with a negative angle surface of the 3D digital model of the part in the stamping Z direction. The negative angle surface of this embodiment corresponds to a surface that cannot be shown in the top view of the 3D digital-analog of the part, and the working principle of this embodiment is: the negative angle surface cannot be formed by a mechanism moving up and down, but needs to be formed by side flanging or side shaping with angles, if the negative angle surface exists in the stamping Z direction of the 3D digital model of the part, the negative angle surface indicates that the target round angle surface exists at the position, and therefore the embodiment can screen the target round angle surface from the round angle surface data set according to the first condition. Preferably, since the negative angle surface includes only a straight surface if the negative angle surface is formed by a side flanging, and includes a straight surface and a complex configuration if the negative angle surface is formed by a side flanging, the complex configuration may be a bending and/or a curved surface, so after the target round angle surface is screened out according to the first condition, the embodiment can determine the type of the finally generated parting line by determining whether the negative angle surface includes only a straight surface, specifically, if the negative angle surface includes only a straight surface, the type of the target round angle surface is a flanging round angle surface, and if the negative angle surface includes not only a straight surface, the type of the target round angle surface is a shaping round angle surface, and the finally generated parting line is a shaping parting line. It should be appreciated that the type of target rounded surface that is screened out by this embodiment according to the first condition may be a burring rounded surface or a shaping rounded surface.
As shown in fig. 4, in some embodiments, the rounded corner boundary conditions further include a second condition that is: the rounded corner surface is the corner of the inverted L-shaped structure. The target circular angle surface of the embodiment is a corner of the inverted L-shaped structure, and the inverted L-shaped structure can be obtained only by shaping the position because the stamping process cannot form the inverted L-shaped structure in one step, so that the embodiment can screen the target circular angle surface from the circular angle surface data set according to the second condition. It should be appreciated that the type of target rounded surface that is screened out by this embodiment according to the second condition is only a shaped rounded surface.
As shown in fig. 5, in some embodiments, the rounded corner boundary conditions further include a third condition that is: the rounded corner surface is the corner at the top of the structure in the shape of a Chinese character 'ji'. Since the shaping process is required for the inclined surface and the lower flange to form the figure-shaped structure, the embodiment can screen out the target triangular surface from the triangular surface data set according to the third condition. It should be appreciated that the type of target rounded surface that is screened out by this embodiment according to the third condition is only a shaped rounded surface. It should be understood that step S12 is preferably to screen out the triangular faces satisfying any one of the first condition, the second condition and the third condition.
In some embodiments, step S2 comprises:
s21, acquiring target rounded surface radiuses, first boundary points and second boundary points corresponding to a plurality of cross sections of the 3D digital model of the part according to the extending direction of the target rounded surface;
s22, generating a fitting straight line according to all the target circular angle surface radiuses based on a least square method, and calculating fitting deviation from each target circular angle surface radius to the fitting straight line;
s23, removing the first boundary point and the second boundary point corresponding to the fitting deviation larger than or equal to the preset distance threshold.
The radius of the target circular angle surface in step S21 is the radius of the target circular angle surface in the cross section of the corresponding part 3D digital model, and the part 3D digital model of this embodiment may include the corresponding radius of each circular angle surface, so step S21 may directly extract the radius of the target circular angle surface from the part 3D digital model, and step S21 may also calculate the radius of the target circular angle surface according to the part 3D digital model by using the existing radius estimation model. Step S22 is to generate a fitting straight line according to all the target fillet surface radiuses based on a least square method, and the fitting deviation of step S22 is equivalent to the deviation between the target fillet radius and the fitting straight line. The preset distance threshold in step S23 is a preset value, if the fitting deviation is greater than or equal to the preset distance threshold, it indicates that the radius jump of the target triangular surface corresponding to the fitting deviation is too large, and the accuracy of the parting line base points obtained based on the first boundary point and the second boundary point corresponding to the fitting deviation is low, so that step S23 needs to remove the first boundary point and the second boundary point corresponding to the fitting deviation greater than or equal to the preset distance threshold. Since this embodiment is equivalent to screening the first boundary point and the second boundary point according to the radius of the target circular angle surface and the preset distance threshold after the first boundary point and the second boundary point are acquired, this embodiment can avoid the situation that the accuracy of the acquired parting line base point is low due to the fact that the radius jump of the local position of the target circular angle surface is too large.
According to the automatic generation method of the parting line, the target circular angle surface can be obtained according to the 3D digital model of the part, a plurality of first boundary points and a plurality of second boundary points are obtained according to the extending direction of the target circular angle surface, then the parting line base points are generated according to the first boundary points and the second boundary points, and finally the parting line is formed in a mode of connecting the parting line base points.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device includes: processor 101 and memory 102, the processor 101 and memory 102 being interconnected and in communication with each other by a communication bus 103 and/or other form of connection mechanism (not shown), the memory 102 storing computer readable instructions executable by the processor 101, which when executed by an electronic device, the processor 101 executes the computer readable instructions to perform the methods in any of the alternative implementations of the above embodiments to perform the functions of: s1, acquiring a target circular angle surface according to a 3D digital model of a part; s2, acquiring a first boundary point and a second boundary point corresponding to a plurality of cross sections of the 3D digital model of the part according to the extending direction of the target circular angle surface, wherein the first boundary point and the second boundary point are two side end points of the target circular angle surface in the cross sections of the 3D digital model of the part; s3, generating a parting line base point according to the first boundary point and the second boundary point; and S4, connecting the parting line base points to form a parting line.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of any of the alternative implementations of the above embodiments to implement the following functions: s1, acquiring a target circular angle surface according to a 3D digital model of a part; s2, acquiring a first boundary point and a second boundary point corresponding to a plurality of cross sections of the 3D digital model of the part according to the extending direction of the target circular angle surface, wherein the first boundary point and the second boundary point are two side end points of the target circular angle surface in the cross sections of the 3D digital model of the part; s3, generating a parting line base point according to the first boundary point and the second boundary point; and S4, connecting the parting line base points to form a parting line. The computer readable storage medium may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM), electrically erasable Programmable Read-Only Memory (EEPROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
According to the automatic parting line generating method, electronic equipment and computer readable storage medium, the target circular angle surface is firstly obtained according to the 3D digital model of the part, a plurality of first boundary points and a plurality of second boundary points are obtained according to the extending direction of the target circular angle surface, then the parting line base points are generated according to the first boundary points and the second boundary points, finally the parting line is formed through the mode of connecting the parting line base points.
In the embodiments provided herein, it should be understood that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application, and various modifications and variations may be suggested to one skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. The automatic generation method of the parting line is characterized by comprising the following steps of:
obtaining a target circular angle surface according to the 3D digital model of the part;
acquiring a first boundary point and a second boundary point corresponding to a plurality of cross sections of the 3D digital model of the part according to the extending direction of the target circular angle surface, wherein the first boundary point and the second boundary point are two side end points of the target circular angle surface in the cross sections of the 3D digital model of the part;
generating a parting line base point according to the first boundary point and the second boundary point;
and connecting the parting line base points to form a parting line.
2. The method of claim 1, wherein the step of generating a parting line base point from the first boundary point and the second boundary point comprises:
generating a first tangential edge based on the first boundary point and generating a second tangential edge based on the second boundary point;
and generating a parting line base point according to the first tangential edge and the second tangential edge, wherein the parting line base point is an intersection point of the first tangential edge and the second tangential edge.
3. The method of claim 1, wherein the step of generating a parting line base point from the first boundary point and the second boundary point comprises:
acquiring first boundary point position information, second boundary point position information and a target rounded corner surface radius, wherein the first boundary point position information is the position of the first boundary point, and the second boundary point position information is the position of the second boundary point;
and calculating the position information of a parting line base point according to the position information of the first boundary point, the position information of the second boundary point and the radius of the target circular angle surface so as to determine the parting line base point, wherein the position information of the parting line base point is the position of the parting line base point.
4. The method for automatically generating a parting line according to claim 1, wherein the step of obtaining the target triangular surface from the 3D digital-to-analog of the part comprises:
acquiring a triangular face data set according to a 3D digital model of the part;
and screening a plurality of target triangular surfaces from the triangular surface data set according to the triangular surface boundary conditions.
5. The method of claim 4, wherein the rounded corner surface boundary condition comprises a first condition, the first condition being: one end of the circular angle surface is connected with a negative angle surface of the 3D digital model of the part in the stamping Z direction.
6. The method of claim 4, wherein the rounded corner boundary condition further comprises a second condition, the second condition being: the rounded corner surface is the corner of the inverted L-shaped structure.
7. The method of claim 4, wherein the rounded corner boundary condition further comprises a third condition, the third condition being: the rounded corner surface is the corner at the top of the structure in the shape of a Chinese character 'ji'.
8. The method according to claim 1, wherein the step of acquiring the first boundary point and the second boundary point corresponding to the plurality of cross sections of the 3D digital model of the part according to the extending direction of the target circular angle surface comprises:
acquiring target rounded surface radiuses, first boundary points and second boundary points corresponding to a plurality of cross sections of the 3D digital model of the part according to the extending direction of the target rounded surface;
generating a fitting straight line according to all the target circular angle surface radiuses based on a least square method, and calculating fitting deviation from each target circular angle surface radius to the fitting straight line;
and removing the first boundary point and the second boundary point corresponding to the fitting deviation which is larger than or equal to the preset distance threshold.
9. An electronic device comprising a processor and a memory storing computer readable instructions that, when executed by the processor, perform the steps in the method of any of claims 1-8.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, performs the steps of the method according to any of claims 1-8.
CN202410278849.9A 2024-03-12 Automatic parting line generation method, electronic device and computer readable storage medium Active CN117874966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410278849.9A CN117874966B (en) 2024-03-12 Automatic parting line generation method, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410278849.9A CN117874966B (en) 2024-03-12 Automatic parting line generation method, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN117874966A true CN117874966A (en) 2024-04-12
CN117874966B CN117874966B (en) 2024-06-21

Family

ID=

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140125054A1 (en) * 2012-11-02 2014-05-08 Mueller International, Llc Coupling with extending parting line
US20160328495A1 (en) * 2014-01-22 2016-11-10 3D Foundry Tech Pvt. Ltd. Systems and methods for metal casting design analysis
CN107186092A (en) * 2017-05-31 2017-09-22 汽红塔云南汽车制造有限公司 A kind of drawing die die parting line method for determining position and calculator
CN115630439A (en) * 2022-10-27 2023-01-20 季华实验室 Arrangement design method and device for male die fastening, storage medium and electronic equipment
WO2023062364A1 (en) * 2021-10-12 2023-04-20 Plyable Ltd. System and method for generating a model representing a mould for use in moulding
CN116738579A (en) * 2023-08-08 2023-09-12 武汉华锋惠众科技有限公司 Automatic construction method and system for parting line of automobile panel
CN117171595A (en) * 2023-09-08 2023-12-05 阿波罗智联(北京)科技有限公司 Road generation method, device, equipment and storage medium
CN117408069A (en) * 2023-11-03 2024-01-16 上汽通用汽车有限公司 Automatic sheet metal part parting line generation method, storage medium and electronic equipment
WO2024045916A1 (en) * 2022-08-30 2024-03-07 广州黑格智造信息科技有限公司 Brace modeling method, device, medium, and brace manufacturing method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140125054A1 (en) * 2012-11-02 2014-05-08 Mueller International, Llc Coupling with extending parting line
US20160328495A1 (en) * 2014-01-22 2016-11-10 3D Foundry Tech Pvt. Ltd. Systems and methods for metal casting design analysis
CN107186092A (en) * 2017-05-31 2017-09-22 汽红塔云南汽车制造有限公司 A kind of drawing die die parting line method for determining position and calculator
WO2023062364A1 (en) * 2021-10-12 2023-04-20 Plyable Ltd. System and method for generating a model representing a mould for use in moulding
WO2024045916A1 (en) * 2022-08-30 2024-03-07 广州黑格智造信息科技有限公司 Brace modeling method, device, medium, and brace manufacturing method
CN115630439A (en) * 2022-10-27 2023-01-20 季华实验室 Arrangement design method and device for male die fastening, storage medium and electronic equipment
CN116738579A (en) * 2023-08-08 2023-09-12 武汉华锋惠众科技有限公司 Automatic construction method and system for parting line of automobile panel
CN117171595A (en) * 2023-09-08 2023-12-05 阿波罗智联(北京)科技有限公司 Road generation method, device, equipment and storage medium
CN117408069A (en) * 2023-11-03 2024-01-16 上汽通用汽车有限公司 Automatic sheet metal part parting line generation method, storage medium and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
WEISHI LI ET AL.: "Genrrating smooth parting lines for mold design for meshes", 《WEB OF SCIENCE》, 15 December 2008 (2008-12-15), pages 1 - 12 *
王静 等: "注塑模具自动化分模设计技术研究", 《中国塑料》, 12 December 2020 (2020-12-12), pages 53 - 58 *
谢晖 等: "基于UG二次开发的冲压模具快速设计研究", 《模具技术》, 15 April 2016 (2016-04-15), pages 1 - 5 *

Similar Documents

Publication Publication Date Title
CN111932688B (en) Indoor plane element extraction method, system and equipment based on three-dimensional point cloud
CN108416785B (en) Topology segmentation method and device for closed space
CN102521884A (en) Three-dimensional roof reconstruction method based on LiDAR data and ortho images
CN104463871A (en) Streetscape facet extraction and optimization method based on vehicle-mounted LiDAR point cloud data
CN107564077B (en) method and device for drawing road network
CN110826121B (en) Method and system for automatically positioning house type corridor and entrance
CN117874966B (en) Automatic parting line generation method, electronic device and computer readable storage medium
CN112966330A (en) Wall surface generation method of crossed wall body, computer equipment and readable storage medium
CN117874966A (en) Automatic parting line generation method, electronic device and computer readable storage medium
CN111489386B (en) Point cloud characteristic point extraction method, device, storage medium, equipment and system
CN114529686B (en) Building model generation method, device, equipment and medium
CN116310317A (en) Irregular large target point cloud cutting method for fitting point cloud target bounding boxes
CN114444185A (en) In-situ labeling identification method and device and electronic equipment
CN113205594B (en) STL-based bent pipe model skeleton extraction method and system
CN113269202B (en) Method for extracting point cloud of gate-type electric tower
US11887387B2 (en) Mesh structure equipment detection apparatus, mesh structure equipment detection method and program
CN112017199B (en) Floor boundary detection method, device, equipment and storage medium
CN115375875A (en) Grain pile concave-convex shape feature recognition method, equipment and medium based on three-dimensional shape
CN114528305A (en) Vector data updating range determining method and device, electronic equipment and storage medium
CN114791800A (en) White-model building edge tracing method and device, computer equipment and storage medium
JP4260827B2 (en) Land-based land evaluation system, evaluation method, and evaluation program
CN114820505A (en) Non-contact measurement method of dynamic target
CN114399428A (en) Planar artificial element dimension reduction processing method
CN114677505A (en) Automatic room segmentation method based on wall constraint
CN109151728B (en) Indoor wireless positioning method with space filtering mechanism and system thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant