A cross-section line generation method, device and storage medium for intelligent design process
By using digital model data and reference plane technology in part design, cross-section lines are automatically generated, which solves the problem of time-consuming and labor-consuming manual design in the existing technology and improves design production efficiency.
Patent Information
- Application Number
- CN202411622486.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-14
AI Technical Summary
The lack of the function of directly generating cross-section lines in the prior art leads to manual design of process supplementary surfaces, which consumes time and human resources and reduces the production efficiency of parts design.
By obtaining the digital model data of the part, the boundary between the product surface and the pressing surface is determined, the concave and convexity of the boundary is filled and the reference plane is formed, and the cross-section line is generated based on the constraints of the reference plane and the product surface and the pressing surface.
It realizes automatic generation of cross-section lines, reduces the process of process design, saves time and human resources, and improves the production efficiency of parts design.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial manufacturing technology, and in particular to a cross-section line generation method, device and storage medium in an intelligent design process. Background Art
[0002] In the stamping production process of parts, designing the process addendum is a key link. The process addendum is located between the product surface and the pressing surface to ensure the deformation space required for smooth drawing. The design quality of the process addendum affects the uniformity of stress distribution and the plastic flow of the material during the drawing process. For the design of the process addendum, whether its cross-section line is appropriate is crucial. In the currently commonly used 3D design software, there is no function to directly generate cross-section lines, and the staff needs to manually design them section by section, which consumes time and human resources and reduces the design and production efficiency of parts. Summary of the invention
[0003] The present invention provides a cross-section line generation method, device and storage medium for an intelligent design process to solve one or more technical problems existing in the prior art and at least provide a beneficial choice or create conditions.
[0004] The present invention provides a cross-section line generation method in an intelligent design process, and the cross-section line generation method in the intelligent design process comprises:
[0005] Acquire digital model data of a part, wherein the digital model data includes a product surface and a pressing surface of the part;
[0006] Determine a first boundary of the product surface, and determine a second boundary based on the first boundary, wherein the first boundary is an outer boundary of the product surface, and the second boundary is a boundary after filling the contour concavity and convexity of the first boundary;
[0007] Determine a reference plane according to the second boundary, wherein the reference plane intersects with the product surface and the binder surface respectively;
[0008] A cross-sectional line of the part is generated according to the product surface, the binder surface and the reference plane.
[0009] Optionally, the step of determining a reference plane according to the second boundary includes:
[0010] defining the second boundary as a boundary line, and discretizing the boundary line to obtain a plurality of boundary points;
[0011] Determine a first tangent line of the boundary point on the boundary line, determine a corner segment on the boundary line according to the first tangent line, and define the boundary points at both ends of the corner segment as characteristic boundary points;
[0012] The reference plane is generated through the feature boundary points, and the reference plane forms a preset angle with the XOZ plane or the YOZ plane.
[0013] Optionally, after the step of determining a first tangent line of the boundary point on the boundary line and determining a corner segment on the boundary line according to the first tangent line, the step further includes:
[0014] When the number of the corner segments matches the preset number, executing the step of generating the reference plane through the characteristic boundary points;
[0015] When the number of the corner segments does not match the preset number, generating a third boundary according to the second boundary, wherein the third boundary is a rectangle and wraps the second boundary;
[0016] The boundary line is updated according to the third boundary, and the boundary points, the corner segments and the characteristic boundary points are updated, and the step of generating the reference plane through the characteristic boundary points is performed.
[0017] Optionally, an intersection line between the product surface and the reference plane is defined as a first intersection line, and an intersection line between the binder surface and the reference plane is defined as a second intersection line. The step of generating a cross-sectional line of the part according to the product surface, the binder surface and the reference plane includes:
[0018] Taking the characteristic boundary point as a starting point, generating the section line on the reference plane, the section line being tangent to the first intersection line and the second intersection line respectively, and the section line ending at an intersection point with the second intersection line;
[0019] Taking the reference plane at one end of the corner segment as a starting point, an auxiliary plane and the section line on the auxiliary plane are generated according to the reference plane, the section line on the reference plane, the boundary points in the corner segment and the first tangent line, until the reference plane at the other end of the corner segment.
[0020] Optionally, the step of generating the cross-section line on the reference plane includes:
[0021] The section line setting parameters are obtained, and the section line is generated according to the section line setting parameters, wherein the section line setting parameters include the section line type, extension length, width, height, draft angle, and arc radius.
[0022] Optionally, before the step of generating the section line according to the section line setting parameters, the method further comprises:
[0023] Acquire characteristic parameters, and update the section line setting parameters according to the characteristic parameters, wherein the characteristic parameters include the height of the part, the distance from the characteristic boundary point to the binder surface, and the section characteristics of the part.
[0024] Optionally, the step of determining the first boundary of the product surface includes:
[0025] A preset sphere is created, the preset sphere is controlled to roll within the product surface, and the first boundary is determined according to an intersection point between the preset sphere and an outer boundary of the product surface.
[0026] Optionally, the step of determining the second boundary according to the first boundary includes:
[0027] Discretize the first boundary to obtain a plurality of original boundary points;
[0028] Determine a second tangent line of the original boundary point on the first boundary, and determine a concave-convex segment of the first boundary according to the second tangent line;
[0029] For each of the concave-convex segments, the original boundary points at both ends of the concave-convex segment are bridged by a curved surface, and the second boundary is formed according to the curved surface and the original boundary points outside the concave-convex segment.
[0030] In addition, in order to achieve the above-mentioned purpose, the present application also proposes a cross-section line generation device for an intelligent design process, wherein the cross-section line generation device for the intelligent design process includes: a memory, a processor, and a cross-section line generation program for the intelligent design process stored in the memory and runnable on the processor, wherein the cross-section line generation program for the intelligent design process is configured to implement the steps of the cross-section line generation method for the intelligent design process as described in any of the above items.
[0031] In addition, in order to achieve the above-mentioned purpose, the present application also proposes a storage medium, on which a cross-section line generation program of an intelligent design process is stored. When the cross-section line generation program of the intelligent design process is executed by a processor, the steps of the cross-section line generation method of the intelligent design process as described in any of the above items are implemented.
[0032] The present invention has at least the following beneficial effects: by determining the boundary of the product surface in the digital model data of the part, determining the outer boundary of the product surface of the part, filling the contour concave and convex of the first boundary to form a second boundary, and then determining the reference plane for inserting the cross-section line according to the second boundary, the reference plane intersects with the product surface and the pressing surface respectively, based on the constraints of the cross-section line on the reference plane and the product surface and the pressing surface, the cross-section line of the part is generated according to the product surface, the pressing surface and the reference plane. Compared with the need to manually design the cross-section line section by section, the present invention automatically generates the cross-section line based on the digital model data of the part, reduces the process steps of the part process design process, saves time resources and human resources, and improves the design and production efficiency of the part. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0034] Figure 1 It is a flow chart of a first embodiment of a method for generating a cross-section line in an intelligent design process of the present invention;
[0035] Figure 2 A schematic diagram of a boundary line and a reference plane of a cross-section line generation method in an intelligent design process of the present invention;
[0036] Figure 3 A schematic diagram of generating a cross-section line in a cross-section line generating method of an intelligent design process of the present invention;
[0037] Figure 4 A schematic diagram of determining a second boundary for a cross-section line generation method in an intelligent design process of the present invention;
[0038] Figure 5 The present invention is a schematic diagram of the structure of a device involved in the operation of an embodiment of a cross-section line generating device for an intelligent design process. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0040] It should be noted that, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the system or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0041] The embodiment of the present invention provides a method for generating cross-section lines in an intelligent design process. Figure 1 , a first embodiment of a cross-section line generation method of an intelligent design process of the present application is proposed. In this embodiment, the cross-section line generation method of the intelligent design process includes:
[0042] Step S10, obtaining digital model data of the part, the digital model data including the product surface and the pressing surface of the part.
[0043] This embodiment is aimed at the stage of making process addendum surfaces for the part in the design and production process. Since generating cross-section lines is a key step in making process addendum surfaces, by applying the method of this embodiment, human resources can be saved to automatically generate cross-section lines.
[0044] Specifically, the method of this embodiment is applied to CAD three-dimensional design software, and the digital model data of the part is loaded through the software. The digital model data includes the product surface and the pressing surface of the part. The product surface and the pressing surface are both placed based on the XOY plane in the software, and the pressing surface is located below the product surface.
[0045] Step S20, determining a first boundary of the product surface, and determining a second boundary based on the first boundary, wherein the first boundary is the outer boundary of the product surface, and the second boundary is the boundary after filling the contour concave and convex of the first boundary.
[0046] The first boundary of the product surface is the outer boundary of the original contour of the product surface. It can be understood that for some parts with complex shape designs, there will be several concave and convex designs on the boundary of the product surface. Since the insertion of the cross-section line is based on the points on the boundary, when there are concave and convex surfaces on the boundary of the product surface, the inserted cross-section lines will interfere with each other, resulting in defects in the quality of the process supplementary surface. The existing technology mainly avoids this problem by manually designing cross-section lines. Therefore, in order to avoid the above problem, the contour concave and convex of the first boundary is filled with a curved surface to form a second boundary, so that there are no concave and convex surfaces such as grooves on the second boundary, and even if the cross-section lines are automatically inserted, the problem of cross-section lines interfering with each other can be avoided.
[0047] Step S30, determining a reference plane according to the second boundary, wherein the reference plane intersects with the product surface and the pressing surface respectively.
[0048] Furthermore, a number of reference planes are created based on the second boundary, the section lines fall on the reference planes, each reference plane corresponds to a section of the section line, and the reference planes extend and intersect with the product surface and the pressing surface respectively, and form corresponding intersection lines respectively.
[0049] Step S40, generating a cross-sectional line of the part according to the product surface, the pressing surface and the reference plane.
[0050] The intersection line between the product surface and the reference plane, the intersection line between the pressing surface and the reference plane, and the section line falling on the reference plane, these three elements form constraints on the section line. The section line of the part is generated under this constraint, so that the process supplementary surface can be constructed based on the generated section line.
[0051] The embodiment of the present invention has at least the following beneficial effects: by determining the boundary of the product surface in the digital model data of the part, determining the original boundary of the part, filling the contour concave and convex of the first boundary to form a second boundary, and then determining the reference plane for inserting the cross-section line according to the second boundary, the reference plane intersects with the product surface and the pressing surface respectively, based on the constraints of the cross-section line on the reference plane and the product surface and the pressing surface, the cross-section line of the part is generated according to the product surface, the pressing surface and the reference plane. Compared with the need to manually design the cross-section line section by section, the present invention automatically generates the cross-section line based on the digital model data of the part, reduces the process steps of the part process design process, saves time resources and human resources, and improves the design and production efficiency of the part.
[0052] Further, in this embodiment, the step of determining the reference plane according to the second boundary includes:
[0053] The second boundary is defined as a boundary line, and the boundary line is discretized to obtain a plurality of boundary points.
[0054] The first tangent of the boundary point on the boundary line is determined, the corner segment on the boundary line is determined according to the first tangent, and the boundary points at both ends of the corner segment are defined as characteristic boundary points.
[0055] A reference plane is generated through the feature boundary points, and the reference plane forms a preset angle with the XOZ plane or the YOZ plane.
[0056] Specifically, define the second boundary as the boundary line required to generate the section line, refer to Figure 2 , Figure 2 It is a top view of the XOY plane, in which the wireframe is formed by projecting the second boundary onto the XOY plane, the boundary line is discretized to obtain multiple boundary points with equal spacing, the first tangent of each boundary point on the boundary line is determined, and the corner segment on the boundary line is determined by analyzing the direction of the first tangent and the curvature of the tangent. The corner segment uses two boundary points as endpoints, representing that the boundary line between the two boundary points has an obvious corner, and the two boundary points at both ends are defined as characteristic boundary points, and the corner segment is the position where the section line needs to be inserted. It should be noted that the corners in the description of this embodiment include arc corners, not just sharp corners.
[0057] Exemplarily, for sharp corners, the judgment criteria are as follows: if there are multiple boundary points between two boundary points, when the angle between the first tangents of two adjacent boundary points is greater than a first preset angle, it is judged that a sharp corner appears, and the feature boundary points can be selected from the two adjacent boundary points, or they can be selected after expanding a fixed number of boundary points at both ends; for circular arc corners, the judgment criteria are as follows: if there are multiple boundary points between two boundary points, and the tangent curvature of the boundary points is greater than zero, and there are boundary points whose tangent curvature is greater than the preset curvature, then it means that there is a circular arc corner between the two boundary points, and the two boundary points can also be selected as feature boundary points, or they can be selected after expanding a fixed number of boundary points at both ends.
[0058] For feature boundary points, you can also adjust the position of individual feature boundary points through manual settings so that the generated section line has a better insertion point.
[0059] Furthermore, a reference plane is created through the feature boundary points. Each feature boundary point corresponds to a reference plane. The reference plane forms a preset angle with the XOZ plane or the YOZ plane. The staff can adjust the preset angle of each corner segment according to actual needs. The preset angle is set to zero. When the preset angle is zero, the reference plane is parallel to the XOZ plane or the YOZ plane. The direction of the reference plane of the feature boundary point is determined according to the direction of the first tangent of the feature boundary point on the boundary line. For example, it can be determined according to the angle between the first tangent and the X-axis or Y-axis, or according to the angle between the first tangent and the normal vector of the reference plane. It can be understood that for the two feature boundary points at both ends of the same corner segment, the reference planes of the two feature boundary points are perpendicular to each other. If the reference plane at one end is parallel to the XOZ plane, the reference plane at the other end should be parallel to the YOZ plane. In addition, the generated reference plane extends to intersect with the product surface and the pressing surface respectively, and form intersection lines respectively. Reference Figure 2 , Figure 2 The preset angle is zero, and the reference plane of the feature boundary point at that position is indicated by an arrow. The normal vector of the reference plane is perpendicular to the direction of the arrow, and the feature boundary point is not shown.
[0060] By analyzing the first tangent line of the boundary point, the corner segment on the boundary line is determined, and the characteristic boundary point is used to create a reference plane. The position of the inserted section line is automatically determined according to the boundary contour of the part, thereby supporting the generation of section lines in subsequent steps, reducing the process steps of the part process design process, saving time and human resources, and improving the design and production efficiency of parts.
[0061] Furthermore, in this embodiment, the intersection line of the product surface and the reference plane is defined as the first intersection line, and the intersection line of the binder surface and the reference plane is defined as the second intersection line. The step of generating the cross-sectional line of the part according to the product surface, the binder surface and the reference plane includes:
[0062] A section line is generated on the reference plane with the feature boundary point as the starting point. The section line is tangent to the first intersection line and the second intersection line respectively, and the section line ends at the intersection point with the second intersection line.
[0063] Taking the reference plane at one end of the corner segment as a starting point, an auxiliary plane and the section line on the auxiliary plane are generated according to the reference plane, the section line on the reference plane, the boundary points in the corner segment and the first tangent line, until the reference plane at the other end of the corner segment.
[0064] Specifically, for each feature boundary point and its corresponding reference plane, a section line is generated on the reference plane with the feature boundary point as the starting point. The generated section line is tangent to the first intersection line at the feature boundary point and ends at the intersection with the second intersection line. At the same time, the section line is also tangent to the second intersection line at the intersection point. Figure 3 , Figure 3 A schematic diagram for generating a cross-section line, which includes a product surface and a reference plane. The product surface only illustrates a portion that intersects with the reference plane, and the pressing surface below the product surface is not shown. The first intersection line of the product surface and the reference plane is illustrated as line segment a, and the second intersection line of the pressing surface and the reference plane is illustrated as line segment b. The generated cross-section line is illustrated as curve c, and curve c is tangent to line segment a and line segment b, respectively.
[0065] On the other hand, since the corner segments are all locations where section lines need to be inserted, for the same corner segment, after the reference plane of the feature boundary point at one end of the corner segment has been generated and the section line has been generated on the reference plane, it is possible not to generate the reference plane and section line corresponding to the feature boundary point at the other end first. Instead, the reference plane at one end of the corner segment is used as the starting point, and the reference plane and section line are translated along the boundary line in the corner segment. When the reference plane is translated to the position where the boundary point exists, an auxiliary plane corresponding to the boundary point and the section line falling on the auxiliary plane are generated. During the translation process, the reference plane is rotated according to the change in direction of the first tangent until the position of the feature boundary point at the other end is reached, and the reference plane corresponding to the feature boundary point at the other end and the section line falling on the reference plane are generated. Through this step, other section lines on the same corner segment can be quickly generated, thereby improving the design and production efficiency of parts.
[0066] Three constraints on the cross-section line are formed by the reference plane, the intersection line of the product surface and the reference plane, and the intersection line of the pressing surface and the reference plane, so that the automatically generated cross-section line meets the cross-section line requirements of the process supplementary surface, realizes the automatic generation of cross-section lines, reduces the process steps of the part process design process, saves time and human resources, and improves the design and production efficiency of parts.
[0067] Furthermore, in this embodiment, the step of generating a cross-section line on the reference plane includes:
[0068] Get the section line setting parameters and generate the section line according to the section line setting parameters. The section line setting parameters include section line type, extension length, width, height, draft angle and arc radius.
[0069] Specifically, in the section line setting parameters, the section line type determines the distribution of straight lines and arcs in the section line, and the extension length, width, height, draft angle and arc radius are used to determine the specific parameters of each straight line and arc. In the actual process of generating the section line, first make an extended straight line tangent to the first intersection line from the starting point. The length of the straight line corresponds to the parameter. Then, at the end of the straight line, make an arc tangent to the straight line according to the arc radius. Then, generate the next straight line according to the length-related parameters of the next straight line and the draft angle and other parameters. And so on, until the section line tangent to the second intersection line is completed, and the section line generation is completed.
[0070] In this embodiment, section line setting parameters are preset, and section lines are automatically generated based on the preset section line setting parameters. At the same time, the section line setting parameters also open a setting interface to the user, so that the user can adjust each section line setting parameter according to actual needs, thereby achieving specific adjustment of each section line.
[0071] By generating section lines according to section line setting parameters, various parameters of the generated section lines can meet user requirements, ensuring the quality of the section lines and process supplementary surfaces in subsequent processes, thereby improving the quality of parts.
[0072] Furthermore, in this embodiment, the step of determining the first boundary of the product surface includes:
[0073] A preset sphere is created, the preset sphere is controlled to roll within the product surface, and a first boundary is determined according to an intersection point between the preset sphere and an outer boundary of the product surface.
[0074] Specifically, for the identification of the first boundary, a preset sphere can be created and controlled to roll within the product surface. During the rolling process, the preset sphere is restricted at the boundary and cannot roll out of the range of the outer boundary. The intersection points of the preset sphere and the outer boundary of the product surface are recorded to allow the preset sphere to roll fully and to roll across all positions of the product surface as much as possible. The intersection points recorded in this way can form the first boundary. The radius of the preset sphere needs to be set as small as possible so that several corners in the first boundary can be identified, thereby improving the accuracy of the first boundary.
[0075] In addition, the preset sphere is only a virtual sphere created for identifying the first boundary, and its construction does not have any influence on the construction of the part.
[0076] By rolling and identifying the first boundary with a preset sphere, the outer boundary of the part product surface can be identified, providing a data basis for determining the insertion position of the section line in the subsequent steps. At the same time, the accuracy of the first boundary is linked to the setting of the preset sphere, which can effectively control and improve the accuracy of the first boundary, thereby improving the accuracy of the section line.
[0077] Further, in this embodiment, the step of determining the second boundary according to the first boundary includes:
[0078] The first boundary is discretized to obtain a plurality of original boundary points.
[0079] A second tangent line of the original boundary point on the first boundary is determined, and a concave-convex segment of the first boundary is determined according to the second tangent line.
[0080] For each concave-convex segment, the original boundary points at both ends of the concave-convex segment are bridged by a curved surface, and a second boundary is formed according to the curved surface and the original boundary points outside the concave-convex segment.
[0081] Specifically, the first boundary is discretized to obtain multiple discrete points, which are defined as original boundary points. In other embodiments, the intersection of the preset sphere and the outer boundary of the part can also be directly used as the original boundary point. The second tangent of the original boundary point on the first boundary is determined, and the position of the concave and convex on the first boundary is identified according to the change in the direction of the second tangent.
[0082] For locations with bumps and depressions, it is necessary to further identify each bump and depression segment. For example, the type of the bump and depression segment can be determined by looking at the number of direction changes that occur within a plurality of consecutive original boundary points and the change after which the direction of the second tangent returns to a direction close to the initial direction. This can then determine the original boundary points at both ends of the bump and depression segment.
[0083] refer to Figure 4 , where the first boundary of the original contour of the product surface is indicated by a solid line, and the filled boundary is indicated by a dotted line. After identifying the original boundary points at both ends of each concave-convex segment, the original boundary points at both ends of the concave-convex segment are bridged by a curved surface, and the curved surface is used to make the second tangent direction of the original boundary point at one end transition to the second tangent direction of the original boundary point at the other end, rather than jumping. It should be noted that the filling of the first boundary in this embodiment includes filling the groove structure to make it flat, and filling the two ends of the convex structure with a slope, etc.
[0084] By filling the first boundary, the problem of interference between inserted section lines when there are bumps on the boundary of the product surface can be avoided, the quality of the generated section lines can be improved, the quality of the process supplementary surface in subsequent processes can be ensured, and thus the quality of the parts can be improved.
[0085] Further, based on the above embodiment, a second embodiment of a method for generating a cross-section line in an intelligent design process of the present application is proposed. In this embodiment, after the step of determining a first tangent line of a boundary point on the boundary line and determining a corner segment on the boundary line according to the first tangent line, the step further includes:
[0086] When the number of corner segments matches the preset number, the step of generating the reference plane passing through the characteristic boundary points is performed.
[0087] When the number of corner segments does not match the preset number, a third boundary is generated according to the second boundary, the third boundary is a rectangle, and forms a wrapping for the second boundary.
[0088] The boundary line is updated according to the third boundary, and the boundary points, corner segments and the characteristic boundary points are updated, and the step of generating the reference plane through the characteristic boundary points is performed.
[0089] Ideally, when the boundary line of a part is a quadrilateral structure that is approximately rectangular, the determined section line insertion position is more accurate. Therefore, the preset number is set to 4. When the number of corner segments matches the preset number, the steps of generating the reference plane in the above embodiment are performed normally.
[0090] However, in actual production, the shape of the part may be other shapes, and the number of its corner segments may be greater than or less than the four corner segments of the rectangle. Therefore, when the number of corner segments does not match the preset number, a third boundary is generated based on the second boundary. The third boundary is equivalent to the boundary of a new curved surface formed by stretching on the basis of the product surface. The third boundary is a rectangle, and its length and width are respectively limited to the length and width of the second boundary, so that the third boundary can completely wrap the second boundary. The boundary line is redetermined based on the third boundary, and the boundary points, corner segments and feature boundary points are redetermined based on the redetermined boundary line, and then the steps of generating the reference plane are continued.
[0091] By forming a third boundary, the accuracy of the characteristic boundary points determined for parts in various possible shapes is improved, and the accuracy of the section line insertion position is improved, thereby improving the versatility of the method of the embodiment of the present application for parts of various shapes and ensuring the quality of the generated section lines.
[0092] Further, based on the above embodiment, a third embodiment of a method for generating a cross-section line in an intelligent design process of the present application is proposed. In this embodiment, before the step of generating the cross-section line according to the cross-section line setting parameters, it also includes:
[0093] Acquire characteristic parameters, and update the section line setting parameters according to the characteristic parameters, wherein the characteristic parameters include the height of the part, the distance from the characteristic boundary point to the pressing surface, and the section characteristics of the part.
[0094] In addition to generating cross-section lines according to preset cross-section line setting parameters, in this embodiment, the accuracy of the automatically generated cross-section lines can be further improved according to feature parameters. The feature parameters include the height of the part, the distance from the feature boundary point to the pressing surface, and the cross-section features of the part. The height and cross-section features of the part are obtained uniformly. For each feature boundary point, the distance from the feature boundary point to the pressing surface is obtained. Based on the three feature parameters, the cross-section line suitable for the feature boundary point can be intelligently determined, that is, the corresponding cross-section line setting parameters are determined according to the feature parameters of each feature boundary point, and then the cross-section line corresponding to the feature boundary point is generated according to the corresponding cross-section line setting parameters.
[0095] By further acquiring the feature parameters and determining the section line setting parameters suitable for each feature boundary point based on the feature parameters, a section line with suitable parameters can be generated at each feature boundary point, thereby improving the quality of the section line and ensuring the quality of the process supplementary surface in subsequent processes, thereby improving the quality of parts.
[0096] On the other hand, reference Figure 5 , Figure 5 It is a schematic diagram of the device structure of the cross-section line generating device in the intelligent design process.
[0097] A cross-section line generation device for an intelligent design process is provided, comprising: a processor and a memory, wherein the memory is used to store a computer-readable program. When the computer-readable program is executed by the processor, the processor implements a cross-section line generation method for an intelligent design process as described in any one of the above technical solutions.
[0098] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. As is well known to those skilled in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0099] In addition, an embodiment of the present invention also proposes a storage medium, which stores a cross-section line generation program for an intelligent design process. When the cross-section line generation program for an intelligent design process is executed by a processor, the relevant steps of any embodiment of the cross-section line generation method for an intelligent design process as described above are implemented.
[0100] 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, for example. 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 that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0101] 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.
[0102] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0103] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0104] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0105] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.
[0106] Although the description of the present application has been quite detailed and specifically describes several embodiments, it is not intended to be limited to any of these details or embodiments or any particular embodiment, but should be regarded as providing a broad possible interpretation of these claims by reference to the attached claims, taking into account the prior art, so as to effectively cover the intended scope of the present application. In addition, the above description of the present application is based on the embodiments foreseeable by the inventor, and its purpose is to provide a useful description, and those non-substantial changes to the present application that have not yet been foreseen may still represent equivalent changes to the present application.
Claims
1. A cross-section line generation method for an intelligent design process, characterized in that: The section line generation method of the intelligent design process includes: Acquire digital model data of a part, wherein the digital model data includes a product surface and a pressing surface of the part; Determine a first boundary of the product surface, and determine a second boundary based on the first boundary, wherein the first boundary is an outer boundary of the product surface, and the second boundary is a boundary after filling the contour concavity and convexity of the first boundary; Determine a reference plane according to the second boundary, wherein the reference plane intersects with the product surface and the binder surface respectively; Generate a cross-sectional line of the part according to the product surface, the binder surface and the reference plane; The step of determining a reference plane according to the second boundary comprises: defining the second boundary as a boundary line, and discretizing the boundary line to obtain a plurality of boundary points; Determine a first tangent line of the boundary point on the boundary line, determine a corner segment on the boundary line according to the first tangent line, and define the boundary points at both ends of the corner segment as characteristic boundary points; Generate the reference plane through the feature boundary point, wherein the reference plane forms a preset angle with the XOZ plane or the YOZ plane; The intersection line between the product surface and the reference plane is defined as a first intersection line, and the intersection line between the binder surface and the reference plane is defined as a second intersection line. The step of generating the cross-sectional line of the part according to the product surface, the binder surface and the reference plane includes: Taking the characteristic boundary point as a starting point, generating the section line on the reference plane, the section line being tangent to the first intersection line and the second intersection line respectively, and the section line ending at an intersection point with the second intersection line; Taking the reference plane at one end of the corner segment as a starting point, an auxiliary plane and the section line on the auxiliary plane are generated according to the reference plane, the section line on the reference plane, the boundary points in the corner segment and the first tangent line, until the reference plane at the other end of the corner segment.
2. The method for generating section lines in an intelligent design process according to claim 1, characterized in that: After the step of determining a first tangent line of the boundary point on the boundary line and determining a corner segment on the boundary line according to the first tangent line, the method further includes: When the number of the corner segments matches the preset number, executing the step of generating the reference plane through the characteristic boundary points; When the number of the corner segments does not match the preset number, generating a third boundary according to the second boundary, wherein the third boundary is a rectangle and wraps the second boundary; The boundary line is updated according to the third boundary, and the boundary points, the corner segments and the characteristic boundary points are updated, and the step of generating the reference plane through the characteristic boundary points is performed.
3. The method for generating section lines in an intelligent design process according to claim 1, characterized in that: The step of generating the cross-section line on the reference plane comprises: The section line setting parameters are obtained, and the section line is generated according to the section line setting parameters, wherein the section line setting parameters include the section line type, extension length, width, height, draft angle, and arc radius.
4. The method for generating section lines in an intelligent design process according to claim 3, characterized in that: Before the step of generating the section line according to the section line setting parameters, the method further includes: Acquire characteristic parameters, and update the section line setting parameters according to the characteristic parameters, wherein the characteristic parameters include the height of the part, the distance from the characteristic boundary point to the binder surface, and the section characteristics of the part.
5. The method for generating section lines in an intelligent design process according to claim 1, characterized in that: The step of determining the first boundary of the product surface comprises: A preset sphere is created, the preset sphere is controlled to roll within the product surface, and the first boundary is determined according to an intersection point between the preset sphere and an outer boundary of the product surface.
6. The method for generating section lines in an intelligent design process according to claim 1, characterized in that: The step of determining the second boundary according to the first boundary comprises: Discretize the first boundary to obtain a plurality of original boundary points; Determine a second tangent line of the original boundary point on the first boundary, and determine a concave-convex segment of the first boundary according to the second tangent line; For each of the concave-convex segments, the original boundary points at both ends of the concave-convex segment are bridged by a curved surface, and the second boundary is formed according to the curved surface and the original boundary points outside the concave-convex segment.
7. A cross-section line generation device for an intelligent design process, characterized in that: The section line generation device of the intelligent design process includes: a memory, a processor, and a section line generation program of the intelligent design process stored in the memory and executable on the processor. The section line generation program of the intelligent design process is configured to implement the steps of the section line generation method of the intelligent design process as described in any one of claims 1 to 6.
8. A storage medium, characterized in that: The storage medium stores a section line generation program of the intelligent design process, and when the section line generation program of the intelligent design process is executed by the processor, the steps of the section line generation method of the intelligent design process according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method for creating drawing material pressing surface based on parameterized grid curved surface
CN114065411A
Irregular shape plane layout generation method in combination with user demand under boundary constraint
CN116882024A