A beam-type component opening model intelligent generation method, device and storage medium
By intelligently generating open model data for beam-like parts, the problem of not being able to open the angle directly in the existing technology is solved, the efficiency and accuracy of design and production are improved, and the error control of the outer contour boundary of the parts is ensured.
Patent Information
- Application Number
- CN202411766501.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-12-04
AI Technical Summary
The existing three-dimensional design software cannot directly open the angle of the beam-like model, which leads to designers need to indirectly piece together the model through unconventional operations, resulting in large errors between the model and the original state, affecting the efficiency and accuracy of design production.
An intelligent generation method for opening a beam-like part is proposed. By obtaining the model data of the parts, identifying the rounded corner faces, determining the mold splitting line, generating the target model and the target rounded corner face, and automatically generating the open model data.
It reduces the operating steps of designers, improves the efficiency and accuracy of beam-type parts design and production, and ensures error control of the outer contour boundary of the parts.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial manufacturing technology, and in particular to a method, device and storage medium for intelligently generating an opening model of a beam-type component. Background Art
[0002] In the field of stamping production of parts, some beam parts cannot be formed in one go due to limitations of factors such as material, material thickness and part forming height. Beam parts are parts with a cross-section of the Chinese character "J". Forming them in one go will cause serious problems such as cracking, wrinkling and large springback. Therefore, such parts currently need to be completed through secondary forming.
[0003] refer to Figure 2 , Figure 2 The three states of secondary molding of beam parts are shown. During the first molding, the two sides of the part are opened outward at an angle as an intermediate state before molding, and then the final state is obtained through secondary molding. In order to obtain the intermediate state, corresponding model data is required as a production guide. However, the current 3D design software does not support the function of directly opening the part model at an angle. In order to obtain the model of the intermediate state, designers need to indirectly piece it together through various operations. In addition, due to unconventional operations, the obtained model will have a large error with the original state, affecting the efficiency and accuracy of beam parts in design and production.
[0004] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention
[0005] The main purpose of the embodiments of the present application is to propose a method, device and storage medium for intelligently generating an opening model of beam parts, aiming to improve the efficiency and accuracy of the design and production of beam parts.
[0006] To achieve the above purpose, one aspect of an embodiment of the present application provides a method for intelligently generating an opening model of a beam-like component, the method comprising:
[0007] Acquire model data of a part, wherein the part is a beam-like part with a cross-section of a "X" shape, define the top surface of the part as a product surface, define the two sides of the part as profile surfaces, and define a fillet surface as a transition between the product surface and the profile surface;
[0008] Identify the fillet surface in the model data, and determine a parting line of the fillet surface position according to the product surface and the molding surface on both sides of the fillet surface;
[0009] Generate a target profile according to the parting line and the profile, wherein the target profile is a profile that is opened to the outside of the part at a preset angle with the parting line as a rotation axis;
[0010] Based on the fillet surface, a target fillet surface connecting the product surface and the target profile surface is generated, and the open model data of the part consisting of the product surface, the target profile surface and the target fillet surface is obtained.
[0011] In some embodiments, the step of generating a target profile according to the parting line and the profile comprises:
[0012] Discretizing the parting line to obtain a plurality of discrete points;
[0013] According to the discrete points and the profile, generating a cross-sectional line of the profile corresponding to each of the discrete points;
[0014] Obtaining the preset angle, and based on the parting line, rotating the cross-section line toward the outside of the part by the preset angle to obtain a target cross-section line;
[0015] The target profile is generated according to the profile and the target cross-sectional line.
[0016] In some embodiments, the step of generating a cross-sectional line of the profile corresponding to each discrete point according to the discrete points and the profile comprises:
[0017] For each of the discrete points, determine a first tangent line of the discrete point on the parting line, and generate a first reference plane passing through the discrete point and perpendicular to the first tangent line;
[0018] An intersection line between the first reference plane and the profile surface is determined as the cross-sectional line corresponding to the discrete point.
[0019] In some embodiments, the step of rotating the cross-section line toward the outside of the part by the preset angle based on the parting line to obtain a target cross-section line includes:
[0020] Determine a first tangent line of the discrete point on the parting line;
[0021] Taking the first tangent line as the rotation axis, the corresponding cross-sectional line is rotated toward the outside of the part by the preset angle to obtain the target cross-sectional line.
[0022] In some embodiments, before the step of generating a target profile according to the parting line and the profile, the method further comprises:
[0023] Extracting a curvature domain map of the profile;
[0024] Determine the principal curvature data of each point on the profile according to the curvature domain map, and determine the concave and convex parts on the profile according to the principal curvature data;
[0025] The concave and convex parts are removed, and a transition surface is generated to fill the position of the concave and convex parts to obtain the optimized profile.
[0026] In some embodiments, the endpoints of the parting line are defined as feature points, and the step of generating a target fillet surface connecting the product surface and the target profile surface based on the fillet surface comprises:
[0027] Determine a second tangent line of the feature point on the parting line, and generate a second reference plane passing through the feature point and perpendicular to the second tangent line;
[0028] Determine a first intersection line between the second reference plane and the fillet surface;
[0029] Generate a transition fillet surface connecting the product surface and the target profile surface, and determine a second intersection line between the second reference plane and the transition fillet surface;
[0030] When the line length of the first intersection line matches the line length of the second intersection line, determining the transition fillet surface as the target fillet surface;
[0031] When the line length of the first intersection line and the line length of the second intersection line do not match, the target surface is moved according to the first intersection line and the second intersection line, and the transition fillet surface is adjusted so that the adjusted transition fillet surface connects the product surface and the moved target surface, and the adjusted transition fillet surface is determined to be the target fillet surface.
[0032] In some embodiments, the step of moving the target profile according to the first intersection line and the second intersection line comprises:
[0033] The target profile is moved along a target trajectory by a target distance, wherein the target trajectory is an extension line of the second intersection line, the target distance is a distance on the extension line, and the target distance is a difference between the line length of the first intersection line and the line length of the second intersection line.
[0034] In some embodiments, the step of determining the parting line of the fillet surface position according to the product surface and the molding surface on both sides of the fillet surface comprises:
[0035] Extending the two side boundaries of the product surface to obtain a first plane tangent to the fillet surface;
[0036] Extending the boundary connecting the profile surface and the fillet surface to obtain a second plane tangent to the fillet surface;
[0037] An intersection line between the first plane and the second plane is determined as the parting line.
[0038] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.
[0039] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0040] The embodiments of the present application include at least the following beneficial effects: The present application provides a method, device and storage medium for intelligently generating an opening model of a beam-type component. The scheme obtains the model data of the component, identifies the fillet surface in the model data, determines the parting line of the fillet surface position according to the product surface and the profile surface on both sides of the fillet surface, and then uses the parting line as the rotation axis to generate a target profile surface that opens the profile surface to the outside of the component at a preset angle, obtains the automatically generated target profile surface of the opening model, and then generates a target fillet surface connecting the product surface and the target profile surface based on the fillet surface, and obtains the opening model data of the part composed of the product surface, the target profile surface and the target fillet surface. Compared with requiring designers to open the model through unconventional operations, the embodiments of the present application can automatically generate the opening model data, reduce the operations required by designers, and improve the efficiency of the design and production of beam-type components. Moreover, the target fillet surface generated based on the original fillet surface can ensure the consistency of the specifications with the original fillet surface while connecting the product surface and the target profile surface, thereby controlling the error of the outer contour boundary of the part and improving the accuracy of the design and production of beam-type components. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a flow chart of a method for intelligently generating a beam-type component opening model provided in an embodiment of the present application;
[0042] Figure 2 It is a schematic diagram of the forming process of beam-like parts in the prior art;
[0043] Figure 3 It is a schematic diagram of a cross section of a fillet surface of a beam-type component opening model intelligent generation method provided in an embodiment of the present application;
[0044] Figure 4 It is a schematic diagram of a target profile of a beam-type component opening model intelligent generation method provided in an embodiment of the present application;
[0045] Figure 5 It is a schematic diagram of a transition fillet surface of a beam-type component opening model intelligent generation method provided in an embodiment of the present application;
[0046] Figure 6 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0049] The embodiment of the present application provides a method for intelligently generating an opening model of a beam-like component, which relates to the field of industrial manufacturing technology. The method can be applied to a terminal, a server, or software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a vehicle-mounted terminal, etc., but is not limited thereto; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements the method for intelligently generating an opening model of a beam-like component, etc., but is not limited to the above forms.
[0050] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0051] In the related technology, beam parts are usually limited by factors such as material, material thickness and part forming height, which cannot be formed in one step. Forming in one step will cause serious problems such as cracking, wrinkling and large springback. Therefore, beam parts currently need to be completed by secondary forming. In the secondary forming process, beam parts need to go through the following steps: Figure 2 In the three states shown, during the first molding, the two sides of the part are first opened outward at an angle as an intermediate state before molding, and then the final state is obtained through secondary molding. In order to obtain the intermediate state, corresponding model data is required as a production guide. However, the current 3D design software does not support the function of directly opening the angle of the part model. In order to obtain the model of the intermediate state, designers need to indirectly piece it together through various operations, and due to unconventional operations, the obtained model will also have a large error with the original state, affecting the efficiency and accuracy of beam parts in design and production.
[0052] In view of this, the embodiments of the present application provide a method, device and storage medium for intelligently generating an opening model of a beam-like component. Figure 1 is an optional flow chart of a beam-type component opening model intelligent generation method provided in an embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S104.
[0053] Step S101, obtaining model data of a part, the part is a beam-like part with a cross-section of an "X" shape, defining the top surface of the part as a product surface, the two sides of the part as profile surfaces, and a fillet surface as a transition between the product surface and the profile surface.
[0054] Beam parts are one of the parts in the field of industrial manufacturing. Their cross-section is similar to the structure of the letter "J". Figure 2, and usually has a certain length. It is the type of part targeted by the embodiments of the present application. The part referred to in the embodiments of the present application is a beam-type part. In order to illustrate the operation of the embodiments of the present application, the top surface of the beam-type part is defined as the product surface, and the two sides of the beam-type part are profile surfaces. The connection between the product surface and the profile surface is not directly spliced and connected at an angle, but there is a rounded surface for smooth transition. At the connection between the product surface and the rounded surface, the product surface is tangent to the rounded surface, and at the connection between the profile surface and the rounded surface, the profile surface is tangent to the rounded surface. Reference Figure 3 , Figure 3 It is a schematic cross-sectional diagram of the fillet surface on one side of a part, wherein A identifies the product surface, B identifies the profile surface, and C identifies the fillet surface. The connection between each part is separated by dashed lines of equal length.
[0055] In this embodiment, the model data of the part can be obtained through conventional three-dimensional design software such as CAD.
[0056] Step S102, identifying the fillet surface in the model data, and determining the parting line of the fillet surface position according to the product surface and the mold surface on both sides of the fillet surface.
[0057] After obtaining the model data of the part, it is necessary to first identify the product surface, rounded surface and profile surface. Since the product surface and the profile surface are separated by the rounded surface, the rounded surface can be identified to determine the part of the model data that belongs to the rounded surface, and based on this, the part of the product surface and the part of the profile surface are determined. It should be noted that in the "J"-shaped structure of the beam-type parts, in addition to the two sections of rounded surfaces on both sides of the top, there are also corners of the surface at the edges on both sides of the bottom to form a rounded structure. However, in this embodiment, the rounded structure on both sides of the bottom edge is part of the profile surface. The rounded surfaces targeted by this embodiment only include the two sections of rounded surfaces on both sides of the top that connect the product surface and the profile surface.
[0058] Furthermore, the parting line of the fillet surface position is determined according to the product surface and the molding surface. For beam-type parts, each fillet surface corresponds to a parting line, and unlike the conventional parting line that falls on the model surface, the parting line designed in the beam-type part forming stage in this embodiment will fall on the outside of the part, suspended above the fillet surface, and its position is determined according to the product surface and the molding surface on both sides of the fillet surface.
[0059] Step S103, generating a target profile according to the parting line and the profile, wherein the target profile is a profile that is opened to the outside of the part at a preset angle with the parting line as the rotation axis.
[0060] The preset angle is the angle at which the profile needs to be opened. The preset angle is an acute angle. The profiles on the same side are opened at the same angle. In the present embodiment, both sides of the profiles need to be opened at the preset angle. In other embodiments, according to the actual design requirements of the parts, the profiles on both sides can also be designed to open at different angles respectively, and the other steps of the embodiments of the present application are still applicable.
[0061] Specifically, the purpose of determining the parting line is to use the parting line as the rotation axis to open the mold surface to generate a target mold surface, so as to ensure that the angle between the target mold surface generated after opening and the mold surface matches the preset angle, thereby reducing the angular error that may occur when opening the mold surface.
[0062] Step S104, based on the fillet surface, generating a target fillet surface connecting the product surface and the target profile surface, and obtaining the open model data of the part consisting of the product surface, the target profile surface and the target fillet surface.
[0063] After the target surface is generated by opening the mold surface, the product surface and the target surface are two surfaces that are not connected in space. Therefore, it is necessary to regenerate the target fillet surface as a transition connection between the product surface and the target surface. At the same time, in order to ensure that there is no error in the boundary contour of the part after opening the mold surface, you can refer to whether the width of the plane changes if the model is unfolded as a whole into a plane before and after opening. The target fillet surface is generated based on the fillet surface, thereby reducing the boundary contour error that may occur when opening the mold surface.
[0064] Based on this, the product surface, target profile surface and target fillet surface form the state of the beam-type component after the profile is opened, and the open model data is obtained.
[0065] Steps S101 to S104 shown in the embodiment of the present application, by acquiring the model data of the part, identify the fillet surface in the model data, determine the parting line of the fillet surface position according to the product surface and the profile surface on both sides of the fillet surface, and then use the parting line as the rotation axis to generate a target profile surface that opens the profile surface to the outside of the part by a preset angle, obtain the automatically generated target profile surface of the open model, and then generate a target fillet surface connecting the product surface and the target profile surface based on the fillet surface, and obtain the open model data of the part composed of the product surface, the target profile surface and the target fillet surface. Compared with requiring designers to open the model through unconventional operations, the embodiment of the present application can automatically generate the open model data, reduce the operations required by designers, and improve the efficiency of the design and production of beam-type parts. Moreover, the target fillet surface generated based on the original fillet surface can ensure the consistency of the specifications of the original fillet surface while connecting the product surface and the target profile surface, thereby controlling the error of the outer contour boundary of the part and improving the accuracy of the design and production of beam-type parts.
[0066] In step S102 of some embodiments, the step of determining the parting line of the fillet surface position according to the product surface and the mold surface on both sides of the fillet surface includes:
[0067] Extend the two side boundaries of the product surface to obtain a first plane tangent to the fillet surface.
[0068] The boundary connecting the profile surface and the fillet surface is extended to obtain a second plane tangent to the fillet surface.
[0069] The intersection line of the first plane and the second plane is determined as the parting line.
[0070] The two side boundaries of the product surface refer to the boundaries where the product surface connects with the fillet surface. The two side boundaries are extended to the outside of the part to form a first plane. Since the product surface and the fillet surface are tangent at the location where the product surface and the fillet surface are connected, the first plane is also tangent to the fillet surface. The boundary where the molding surface and the fillet surface are connected is also extended to form a second plane. Since the molding surface and the fillet surface are also tangent at the location where the molding surface and the fillet surface are connected, the second plane is also tangent to the fillet surface. The generated first plane and the second plane generate an intersection line, which is the parting line required by the embodiment of the present application. Figure 3 , Figure 3 The determined parting line is illustrated in the form of a cross-sectional diagram, where the first plane and the second plane extending from the product surface and the profile surface are illustrated by unequal length dashed lines, and their intersection is illustrated, and the intersection is the point on the parting line. Since both sides of the beam-like component have corresponding fillet surfaces and profile surfaces, a total of two parting lines are generated, each of which corresponds to the fillet surface on the corresponding side and is suspended above the fillet surface.
[0071] By determining the parting line based on the first plane and the second plane generated based on the product surface and the profile, the rotation axis required for subsequent opening of the profile is determined, supporting the subsequent steps of automatically opening the profile and improving the accuracy and efficiency of beam-type parts in design and production.
[0072] In step S103 of some embodiments, the step of generating the target profile according to the parting line and the profile may include but is not limited to steps S201 to S204:
[0073] S201, discretize the parting line to obtain a plurality of discrete points.
[0074] S202, generating a cross-sectional line of the profile corresponding to each discrete point according to the discrete points and the profile.
[0075] S203, obtaining a preset angle, and based on the parting line, rotating the section line toward the outside of the part by the preset angle to obtain a target section line.
[0076] S204, generating a target profile according to the profile and the target cross-sectional line.
[0077] The parting line is discretized to obtain multiple discrete points. The interval between adjacent discrete points is a preset distance. The preset distance is the line length on the parting line, not the distance in space. The preset distance is set to, for example, 1 mm or 2 mm.
[0078] The purpose of discretizing the parting line is that even if the concave and convex structures on the two sides of the beam are ignored, it may be a curved surface itself. If the width of the interval between the two sides of the beam is observed, the width may become larger or smaller at a certain position, which will be reflected on the parting line. The parting line may not be a straight line, but a curve. Therefore, in order to obtain the accurate target surface, the parting line needs to be discretized, and the corresponding cross-sectional line on the surface is generated for each discrete point. Specifically, the cross-sectional line is rotated instead of directly operating the entire surface.
[0079] The section line is a section line on the profile, which corresponds to the discrete points one by one and is generated based on the discrete points. The discrete points are located on the extension line of the corresponding section line.
[0080] Further, the preset angle to be opened is determined, and the preset angle is specified by the designer, for example or Based on the parting line, each section line is rotated to the outside of the part by a preset angle, and the target section line is obtained after rotation. The target section line is equivalent to limiting the position of the surface after rotation. According to the mapping method of topological relationship and geometric shape, and using software such as hypermesh, the target surface can be generated at the position limited by the target section line, and the shape of the target surface is ensured to be consistent with the shape of the surface.
[0081] refer to Figure 4 In the figure, a is used to identify the cross-section line, b is used to identify the target cross-section line, and c is used to identify the parting line, and the position difference between the profile and the target profile is illustrated. It should be noted that in this embodiment, the cross-section line is a line falling on the profile, and the target cross-section line is a line falling on the target profile, and neither of them is connected to the parting line. Figure 4 The section line, target section line and parting line are extended and connected only to facilitate observation of their relationship.
[0082] The corresponding cross-section lines are generated by discretizing the parting lines, and operations are performed based on the cross-section lines to obtain the target profile after rotation, thereby avoiding errors that may occur in the rotation operation due to the shape and structure of the profile, improving the accuracy of the target profile, and thus improving the accuracy of beam parts in design and production.
[0083] In some embodiments, step S202 includes:
[0084] For each discrete point, a first tangent line of the discrete point on the parting line is determined, and a first reference plane passing through the discrete point and perpendicular to the first tangent line is generated.
[0085] The intersection line of the first reference plane and the profile surface is determined as the cross-sectional line corresponding to the discrete point.
[0086] In order to generate the section line, the first tangent of the discrete point on the parting line is determined. The first tangent is used to determine the direction of the parting line at each discrete point under the premise that the parting line may be a curve. For each discrete point, a first reference plane passing through the discrete point and perpendicular to the first tangent is generated. The first reference plane intersects with the mold surface on the same side, and the intersection is the corresponding section line.
[0087] By generating a first reference plane to determine the cross-sectional line corresponding to each discrete point, the accuracy of the cross-sectional line is improved, thereby improving the accuracy of beam parts during design and production.
[0088] In some embodiments, step S203 includes:
[0089] Determine the first tangent line of the discrete point on the parting line.
[0090] With the first tangent as the rotation axis, rotate the corresponding section line toward the outside of the part by a preset angle to obtain the target section line.
[0091] As described in the above embodiment, the parting line is not necessarily a straight line, but may be a curve. Therefore, the rotation direction of each cross-sectional line may be different. Determining the first tangent of the discrete point is equivalent to determining the rotation axis of the corresponding cross-sectional line. Each cross-sectional line is rotated toward the outside of the part at a preset angle using the first tangent of the corresponding discrete point as the rotation axis, thereby ensuring that the rotation direction of each cross-sectional line is accurate, thereby improving the accuracy of the target cross-sectional line obtained, thereby improving the accuracy of the target surface.
[0092] In step S104 of some embodiments, the step of generating a target fillet surface connecting the product surface and the target profile surface based on the fillet surface may include but is not limited to steps S301 to S305:
[0093] S301, determining a second tangent line of a feature point on a parting line, and generating a second reference plane passing through the feature point and perpendicular to the second tangent line.
[0094] S302: Determine a first intersection line between the second reference plane and the fillet surface.
[0095] S303, generating a transition fillet surface connecting the product surface and the target surface, and determining a second intersection line between the second reference plane and the transition fillet surface.
[0096] S304: When the line length of the first intersection line matches the line length of the second intersection line, determining the transition fillet surface as the target fillet surface.
[0097] S305, when the line length of the first intersection line and the line length of the second intersection line do not match, the target surface is moved according to the first intersection line and the second intersection line, and the transition fillet surface is adjusted so that the adjusted transition fillet surface connects the product surface and the moved target surface, and the adjusted transition fillet surface is determined as the target fillet surface.
[0098] Among them, the characteristic point is the end point of the parting line. Since there are two parting lines for beam parts, the corresponding number of characteristic points is 4. The characteristic points are used to determine the inspection position of the transition fillet surface. Since each part of the profile is based on the same operation to obtain the target profile, in this embodiment, only the end point position of the parting line is checked. In other embodiments, more characteristic points can also be added in the middle of the parting line.
[0099] Specifically, determine the second tangent of the feature point on the parting line, generate a second reference plane passing through the feature point and perpendicular to the second tangent, and then determine the first intersection line of the second reference plane and the rounded surface. By determining the first intersection line, the width of the rounded surface after unfolding can be measured based on the first intersection line, which serves as a standard for beam parts before opening the mold surface.
[0100] Furthermore, a transition fillet surface connecting the product surface and the target surface is generated. It should be noted that the transition fillet surface must be tangent to the product surface and the target surface respectively, and the connection position is the boundary of the product surface or the target surface. The second intersection line between the second reference plane and the transition fillet surface is determined again. By determining the second intersection line, the width of the transition fillet surface after unfolding can be measured based on the second intersection line.
[0101] refer to Figure 5 In the figure, dotted lines indicate the fillet surface and the profile surface, solid lines indicate the product surface, transition fillet surface and target profile surface, C indicates the fillet surface, D indicates the transition fillet surface, and an arc line indicates the connection position between the fillet surface and the profile surface, and the change in the connection position between the transition fillet surface and the target profile surface.
[0102] Optionally, this embodiment is equivalent to judging whether the outer contour boundary of the beam-like parts before and after the profile is opened by the plane width of the beam-like parts after the profile is unfolded, so as to determine the error of the fillet surface. Since the product surface does not change, the target profile is generated according to the cross-sectional line of the profile. Therefore, if an error occurs, it means that the transition fillet surface has an error relative to the fillet surface. Therefore, the line length of the first intersection line and the line length of the second intersection line are compared. When the line length of the first intersection line and the line length of the second intersection line match equally, it means that the outer contour boundary of the beam-like parts does not change after the profile is opened. Therefore, the transition fillet surface can be determined to be the required target fillet surface at this time; and when the line length of the first intersection line and the line length of the second intersection line do not match equally, it is necessary to move the target profile according to the first intersection line and the second intersection line. By adjusting the position of the target profile, the transition fillet surface used to connect the product surface and the target profile is adjusted, so that the line length of the second intersection line corresponding to the adjusted transition fillet surface can match the line length of the first intersection line, thereby determining the adjusted transition fillet surface as the target fillet surface.
[0103] By comparing the length of the first intersection line with the length of the second intersection line, it is possible to check whether there is an error in the outer contour boundary of the front and rear beam-like parts before the profile is opened, and when the error is determined, the position of the target profile is adjusted to correct it in time, thereby improving the accuracy of the beam-like parts during design and production. In step S305 of some embodiments, the step of moving the target profile according to the first intersection line and the second intersection line includes:
[0104] The target profile is moved along the target trajectory by a target distance, the target trajectory is an extension line of the second intersection line, the target distance is a distance on the extension line, and the target distance is a difference between the line length of the first intersection line and the line length of the second intersection line.
[0105] Specifically, the target trajectory is the extension line of the second intersection line. Since the second intersection line is a line falling on the current transition fillet surface, a closed circle will be obtained if it is continuously extended. In this embodiment, the extension line of the second intersection line is defined to include the original second intersection line. The target trajectory is similar, and the target surface is controlled to move on the target trajectory. On the other hand, the target distance is the distance on the extension line of the second intersection line, which is the distance on the line length, not the spatial distance. Its value is the difference between the line length of the first intersection line and the line length of the second intersection line. When the target distance is a positive value, it means that the target surface needs to move to the outside of the part to extend the transition fillet surface to a width that matches the fillet surface. When the target distance is a negative value, it means that the target surface needs to move to the inside of the part to shorten the transition fillet surface to a width that matches the fillet surface. In the process of extending or shortening the transition fillet surface, its curvature is kept unchanged.
[0106] By controlling the target profile to move the target distance along the target trajectory, the target profile can be flexibly adjusted to match the width of the transition fillet surface with the width of the fillet surface, thereby reducing the outer contour boundary error before and after the beam profile is opened, and improving the accuracy of beam parts during design and production.
[0107] Optionally, in other embodiments, the target profile can be moved in another way. Since the target profile is obtained by rotating with the parting line as the rotation axis, the cross-sectional lines on the target profile will intersect with the parting line if extended. Therefore, the target profile can be controlled to move along the extension line of its cross-sectional line, toward or away from the parting line, until it moves to a position where the width of the generated transition fillet surface matches the width of the fillet surface. Compared with the aforementioned movement along the target trajectory, moving on the target trajectory can more accurately control the moving distance, while moving along the extension line of the cross-sectional line of the target profile can better control the opening angle of the target profile during the movement. Designers can choose the way to move the target profile according to their actual needs.
[0108] Optionally, in other embodiments, when the line length of the first intersection line does not match the line length of the second intersection line, adjustment can be made in another way. This way does not move the target surface, but adjusts the curvature of the transition fillet surface. When the difference between the line length of the first intersection line and the line length of the second intersection line is a positive value, it means that the curvature needs to be increased, thereby controlling the second intersection line to become longer. When the difference between the line length of the first intersection line and the line length of the second intersection line is a negative value, it means that the curvature needs to be reduced, thereby controlling the second intersection line to be shortened. The curvature can be gradually adjusted according to a preset step size until the line length of the first intersection line matches the line length of the second intersection line.
[0109] Before step S103 in some embodiments, the method further includes:
[0110] Extract the curvature domain map of the surface.
[0111] The principal curvature data of each point on the profile surface is determined according to the curvature domain diagram, and the concave and convex parts on the profile surface are determined according to the principal curvature data.
[0112] The concave and convex parts are removed, and transition surfaces are generated to fill the positions of the concave and convex parts to obtain the optimized surface.
[0113] In the stamping process, the more features a part has, the higher its hardening degree will be and the greater the required forming force will be. Therefore, in order to reduce the hardening degree of the intermediate state of the beam-like parts after the mold surface is opened, it is necessary to remove the concave and convex features on the mold surface, thereby reducing the forming force required during the forming process, which is beneficial to ensure product quality.
[0114] Based on this, before generating the target surface, the curvature domain map of the surface is extracted. The curvature domain map is used to describe the curvature of each point on the surface, and the principal curvature (including the maximum principal curvature and the minimum principal curvature) of each point on the surface is displayed in the form of a graph. Therefore, according to the principal curvature data of each point on the surface displayed by the curvature domain map, the concave and convex features on the surface can be judged, and the position where the concave and convex features exist is defined as the concave and convex part. The concave and convex part is found on the removed surface, and the position after the concave and convex part is removed is filled by generating a smooth transition surface to obtain the optimized surface, and the subsequent steps of generating the target surface and so on are continued based on the optimized surface.
[0115] By removing the concave and convex parts on the profile and replacing them with transition surfaces based on the curvature domain map of the profile, the concave and convex features on the profile are reduced, thereby reducing the forming force required during the forming process, which is beneficial to ensuring the product quality of beam parts.
[0116] The following is a detailed description and explanation of the solution of the embodiment of the present invention in conjunction with a specific application example:
[0117] In an embodiment of the present application, a method for intelligently generating an opening model of a beam-like component is provided. The method is applied to a beam-like component with a cross-section of a "J" shape. The purpose is to intelligently generate opening model data after opening the two side surfaces of the beam-like component by a preset angle based on the model data of the beam-like component.
[0118] First, obtain the model data of the beam-type parts, identify the rounded surface in the model data, extend the two side boundaries of the product surface to obtain a first plane tangent to the rounded surface, extend the boundary connecting the profile surface and the rounded surface to obtain a second plane tangent to the rounded surface, determine the intersection of the first plane and the second plane as the parting line, and thus determine the parting line of the rounded surface position.
[0119] Before generating the target surface, the curvature domain map of the surface is extracted, the principal curvature data of each point on the surface is determined according to the curvature domain map, and the concave and convex parts on the surface are determined according to the principal curvature data, the concave and convex parts are removed, and a transition surface is generated to fill the position of the concave and convex parts to obtain the optimized surface.
[0120] Discretize the parting line to obtain multiple discrete points, determine the first tangent of each discrete point on the parting line, generate a first reference plane passing through the discrete point and perpendicular to the first tangent for each discrete point, determine the intersection of the first reference plane and the profile surface, determine the section line corresponding to each discrete point, use the first tangent as the rotation axis, rotate the corresponding section line to the outside of the part by a preset angle to obtain the target section line, and then generate the target profile according to the profile surface and the target section line based on the mapping method of topological relationship and geometric shape.
[0121] Determine the second tangent of the feature point on the parting line, generate a second reference plane passing through the feature point and perpendicular to the second tangent, determine the first intersection of the second reference plane and the fillet surface, generate a transition fillet surface connecting the product surface and the target surface, and determine the second intersection of the second reference plane and the transition fillet surface. When the line length of the first intersection line matches the line length of the second intersection line, determine the transition fillet surface as the target fillet surface; when the line length of the first intersection line does not match the line length of the second intersection line, take the extension line of the second intersection line as the target trajectory, take the difference between the line length of the first intersection line and the line length of the second intersection line as the target distance, when the difference is positive, move the target surface along the target trajectory to the outside of the part by the target distance, when the difference is negative, move the target surface along the target trajectory to the inside of the part by the target distance, regenerate the transition fillet surface based on the moved target surface, and determine the regenerated transition fillet surface as the target fillet surface.
[0122] The open model data of the beam-type component composed of the product surface, the target profile surface and the target fillet surface is obtained.
[0123] The embodiment of the present application obtains the model data of the part, identifies the fillet surface in the model data, determines the parting line of the fillet surface position according to the product surface and the profile surface on both sides of the fillet surface, and then uses the parting line as the rotation axis to generate a target profile surface that opens the profile surface to the outside of the part by a preset angle, obtains the automatically generated target profile surface of the open model, and then generates a target fillet surface connecting the product surface and the target profile surface based on the fillet surface, and obtains the open model data of the part composed of the product surface, the target profile surface and the target fillet surface. Compared with requiring designers to open the model through unconventional operations, the embodiment of the present application can automatically generate the open model data, reduce the operations required by designers, and improve the efficiency of the design and production of beam-type parts. Moreover, the target fillet surface generated based on the original fillet surface can ensure the consistency of the specifications of the original fillet surface while connecting the product surface and the target profile surface, thereby controlling the error of the outer contour boundary of the part and improving the accuracy of beam-type parts during design and production.
[0124] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned beam-type component opening model intelligent generation method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0125] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0126] See also Figure 6 , Figure 6The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0127] The processor 901 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided in the embodiments of the present application.
[0128] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the beam-type component opening model intelligent generation method of the embodiment of this application.
[0129] The input / output interface 903 is used to implement information input and output.
[0130] The communication interface 904 is used to realize the communication interaction between this device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.).
[0131] The bus 905 transmits information between various components of the device (eg, the processor 901 , the memory 902 , the input / output interface 903 , and the communication interface 904 ).
[0132] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .
[0133] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned method for intelligently generating an opening model of a beam component is implemented.
[0134] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0135] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0136] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0137] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0138] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0139] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0140] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0141] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0142] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A method for intelligently generating an opening model of a beam, characterized in that: The method comprises: Acquire model data of a part, wherein the part is a beam-like part with a cross-section of a "X" shape, define the top surface of the part as a product surface, define the two sides of the part as profile surfaces, and define a fillet surface as a transition between the product surface and the profile surface; Identify the fillet surface in the model data, and determine a parting line of the fillet surface position according to the product surface and the molding surface on both sides of the fillet surface; Generate a target profile according to the parting line and the profile, wherein the target profile is a profile that is opened to the outside of the part at a preset angle with the parting line as a rotation axis; Based on the fillet surface, a target fillet surface connecting the product surface and the target profile surface is generated, and the open model data of the part composed of the product surface, the target profile surface and the target fillet surface is obtained; Defining the endpoints of the parting line as feature points, the step of generating a target fillet surface connecting the product surface and the target profile surface based on the fillet surface comprises: Determine a second tangent line of the feature point on the parting line, and generate a second reference plane passing through the feature point and perpendicular to the second tangent line; Determine a first intersection line between the second reference plane and the fillet surface; Generate a transition fillet surface connecting the product surface and the target profile surface, and determine a second intersection line between the second reference plane and the transition fillet surface; When the line length of the first intersection line matches the line length of the second intersection line, determining the transition fillet surface as the target fillet surface; When the line length of the first intersection line and the line length of the second intersection line do not match, the target surface is moved according to the first intersection line and the second intersection line, and the transition fillet surface is adjusted so that the adjusted transition fillet surface connects the product surface and the moved target surface, and the adjusted transition fillet surface is determined to be the target fillet surface.
2. The method according to claim 1, characterized in that The step of generating a target profile according to the parting line and the profile comprises: Discretizing the parting line to obtain a plurality of discrete points; According to the discrete points and the profile, generating a cross-sectional line of the profile corresponding to each of the discrete points; Obtaining the preset angle, and based on the parting line, rotating the cross-section line toward the outside of the part by the preset angle to obtain a target cross-section line; The target profile is generated according to the profile and the target cross-sectional line.
3. The method according to claim 2, characterized in that The step of generating a cross-sectional line of the profile corresponding to each of the discrete points according to the discrete points and the profile comprises: For each of the discrete points, determine a first tangent line of the discrete point on the parting line, and generate a first reference plane passing through the discrete point and perpendicular to the first tangent line; An intersection line between the first reference plane and the profile surface is determined as the cross-sectional line corresponding to the discrete point.
4. The method according to claim 2, characterized in that: The step of rotating the cross-section line toward the outside of the part by the preset angle based on the parting line to obtain the target cross-section line comprises: Determine a first tangent line of the discrete point on the parting line; Taking the first tangent line as a rotation axis, the cross-sectional line is rotated toward the outside of the part by the preset angle to obtain the target cross-sectional line.
5. The method according to claim 1, characterized in that: Before the step of generating a target profile according to the parting line and the profile, the method further comprises: Extracting a curvature domain map of the profile; Determine the principal curvature data of each point on the profile according to the curvature domain map, and determine the concave and convex parts on the profile according to the principal curvature data; The concave and convex parts are removed, and a transition surface is generated to fill the position of the concave and convex parts to obtain the optimized profile.
6. The method according to claim 1, characterized in that The step of moving the target profile according to the first intersection line and the second intersection line comprises: The target profile is moved along a target trajectory by a target distance, wherein the target trajectory is an extension line of the second intersection line, the target distance is a distance on the extension line, and the target distance is a difference between the line length of the first intersection line and the line length of the second intersection line.
7. The method according to any one of claims 1 to 5, characterized in that The step of determining the parting line of the fillet surface position according to the product surface and the molding surface on both sides of the fillet surface comprises: Extending the two side boundaries of the product surface to obtain a first plane tangent to the fillet surface; Extending the boundary connecting the profile surface and the fillet surface to obtain a second plane tangent to the fillet surface; An intersection line between the first plane and the second plane is determined as the parting line.
8. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Automatic parting line generation method, electronic equipment and computer readable storage medium
CN117874966A
Roof beam class piece opening draws the die surface
CN204503993U