A method, device and equipment for generating a fairing parting line
By generating offset curves and range segment sequences, and combining them with the analysis of segment intersection conditions, the problem of lack of quantitative standards in manual judgment during parting line generation is solved, enabling precise design of parting lines and improving the molding quality and production efficiency of automotive body panels.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-30
- Publication Date
- 2026-03-27
AI Technical Summary
In existing technologies, the generation of parting lines relies on manual judgment and lacks quantitative standards, resulting in cumbersome and time-consuming correction processes, which affects the stability of parting line quality and the production efficiency and molding accuracy of automotive body panels.
By obtaining the part boundary line and the blank holder surface to generate an offset curve, and combining the number of extracted lines and the offset curve to determine the range of line segment sequences, distance calculation and line segment intersection condition analysis are performed to generate a smooth parting line, providing accurate process reference and constraint boundary, and reducing manual intervention.
It improves the smoothness and fitting accuracy of the parting line, ensures the stability of the forming quality and production efficiency of stamped parts, and reduces human intervention errors.
Smart Images

Figure CN121480103B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mold design technology, and in particular to a method, apparatus and equipment for generating smooth parting lines. Background Technology
[0002] In the stamping process of automotive body panels, the process supplementary surface is a key structure ensuring the smooth progress of the drawing process. One side connects to the part boundary, and the other side connects to the blank holder surface. The curve connecting to the blank holder surface is defined as the parting line. The quality of the parting line directly determines the forming effect of the process supplementary surface. It not only requires its shape to match the part boundary but also to have good smoothness, without obvious waves or inflection points, to ensure uniform material flow and reasonable stress distribution during drawing, avoiding defects such as wrinkling and cracking in the body panel. Currently, the generation of parting lines mainly relies on manual drawing using design software. Operators need to subjectively judge the smoothness of the parting line based on their own experience, repeatedly adjusting and correcting it to meet process requirements. This method has significant limitations: during manual drawing, the smoothness judgment lacks a unified quantitative standard, relying entirely on experience, leading to tedious and time-consuming correction processes; at the same time, repeated manual adjustments not only prolong the process preparation cycle but may also affect the stability of the parting line quality due to individual experience differences, thus restricting the production efficiency and forming accuracy of automotive body panels. Summary of the Invention
[0003] In order to overcome the shortcomings of the prior art, the purpose of this invention is to provide a method, apparatus and equipment for generating smooth parting lines.
[0004] The first aspect of the present invention provides a method for generating a smooth parting line, comprising: acquiring a part boundary line, and generating an offset curve based on the part boundary line and a preset blank holder surface; determining a range segment sequence based on a preset extraction number, the offset curve, and the blank holder surface; calculating the distance between the range segment sequence based on a preset first endpoint and a preset second endpoint to obtain a distance sequence and a verification spline curve; analyzing the distance sequence based on the segment intersection condition to obtain an analysis result; if the analysis result shows that the distance sequence satisfies the segment intersection condition, then the verification spline curve is used as the smooth parting line.
[0005] Further, the step of generating an offset curve based on the part boundary line and a preset pressure surface includes: projecting the part boundary line onto the pressure surface to obtain a projected boundary line; obtaining the tangent vectors of all points on the projected boundary line to obtain a tangent vector sequence; obtaining the normal vectors of all points on the projected boundary line to obtain a normal vector sequence; determining a direction vector sequence based on the tangent vector sequence and the normal vector sequence; and offsetting the projected boundary line based on the direction vector sequence and a preset first offset distance value to obtain an offset curve.
[0006] Further, the step of determining the range line segment sequence based on the preset number of extractions, the offset curve, and the pressing surface includes: extracting multiple key points on the offset curve based on the number of extractions to obtain a key point sequence; generating multiple planes perpendicular to the offset curve based on the key point sequence to obtain a key point plane sequence; generating multiple intersecting lines based on the key point plane sequence and the pressing surface to obtain an intersecting line sequence; generating an endpoint sequence based on the key point sequence and a preset second offset distance value; and determining multiple range line segments on the intersecting line sequence based on the key point sequence and the endpoint sequence to obtain a range line segment sequence.
[0007] Further, the step of calculating the distance between the range segment sequence based on the preset first endpoint and the preset second endpoint to obtain the distance sequence and the verification spline curve includes: drawing an initial spline curve based on the first endpoint, the second endpoint, the preset first tangent vector, and the preset second tangent vector; using the initial spline curve as the verification spline curve; calculating the distance between each range segment and the verification spline curve in the range segment sequence to obtain the distance value between each range segment and the verification spline curve, and obtaining the distance sequence based on all the distance values.
[0008] Furthermore, the step of analyzing the distance sequence based on the line segment intersection condition to obtain the analysis result includes the following steps: if the analysis result shows that there are distance values in the distance sequence that do not meet the line segment intersection condition, then a new verification spline curve is drawn based on the number threshold, the preset line segment length, the proportional point acquisition condition, and the range line segment sequence; then the process returns to perform distance calculations on each range line segment and the verification spline curve in the range line segment sequence.
[0009] Further, the step of drawing a new verification spline curve based on a threshold number of times, a preset segment length, a ratio point acquisition condition, and a range segment sequence includes: obtaining the number of times the step is repeated by performing distance calculations on each range segment and the verification spline curve in the range segment sequence; determining whether the number of times the step is repeated is greater than or equal to the threshold number of times; if the number of times the step is repeated is greater than or equal to the threshold number of times, then drawing a first spline curve based on the ratio point acquisition condition, the analysis result, the range segment sequence, and the segment length; using the first spline curve as a new verification spline curve, and returning to perform distance calculations on each range segment and the verification spline curve in the range segment sequence until the distance sequence satisfies the segment intersection condition; if the distance sequence satisfies the segment intersection condition, then the first spline curve is determined as a new verification spline curve; otherwise, drawing a second spline curve based on the analysis result, the range segment sequence, the first endpoint, and the second endpoint; using the second spline curve as a new verification spline curve.
[0010] Further, the step of drawing the first identical curve based on the proportional point acquisition conditions, analysis results, range segment sequence, and segment length includes: selecting a distance sequence from the distance sequence based on the analysis results; selecting the maximum distance value from the selected distance sequence; performing mapping analysis on the range segment sequence based on the maximum distance value to obtain the mapped range segment; acquiring the proportional point from the mapped range segment based on the proportional point acquisition conditions and segment length; and drawing the first identical curve based on the proportional point, the first endpoint, the second endpoint, the first tangent vector, and the second tangent vector.
[0011] Further, the step of drawing the second spline curve based on the analysis results, the range segment sequence, the first endpoint, and the second endpoint includes: selecting a distance sequence from the distance sequence based on the analysis results; selecting the maximum distance value from the selected distance sequence; performing mapping analysis on the range segment sequence based on the maximum distance value to obtain a mapped range segment; obtaining key points on the mapped range segment to obtain the third endpoint; and drawing the second spline curve based on the first endpoint, the second endpoint, the third endpoint, the first tangent vector, and the second tangent vector.
[0012] Furthermore, a smooth parting line generation device includes: a first curve generation module for acquiring part boundary lines and generating an offset curve based on the part boundary lines and a preset blanking surface; a range segment determination module for determining a range segment sequence based on a preset extraction number, the offset curve, and the blanking surface; a distance calculation module for calculating the distance between the range segment sequence based on a preset first endpoint and a preset second endpoint to obtain a distance sequence and a verification spline curve; an analysis module for analyzing the distance sequence based on segment intersection conditions to obtain analysis results; and a parting line generation module for using the verification spline curve as a smooth parting line if the analysis result indicates that the distance sequence satisfies the segment intersection conditions.
[0013] Furthermore, a smooth parting line generation device is provided, the smooth parting line generation device comprising: a memory and at least one processor, the memory storing instructions; the at least one processor invokes the instructions in the memory to cause the smooth parting line generation device to perform the various steps of the smooth parting line generation method as described above.
[0014] In the technical solution of this invention, an offset curve is generated by the part boundary line and the blank holder surface to provide a precise process benchmark for the parting line design, effectively connecting the process relationship between the part and the blank holder surface, and ensuring the compliance of the parting line direction and position. Then, the range line segment sequence is determined by combining the extracted number and the offset curve to solidify the process constraint boundary of the parting line and reduce manual definition errors. Based on the preset endpoints, a verification spline curve is generated to perform global distance calculation on the range line segment sequence, accurately anchoring the start and end positions of the parting line, ensuring the continuity of segment connection, avoiding abrupt changes in endpoint curvature, and analyzing the distance sequence through line segment intersection conditions to identify substandard line segments, avoiding blind optimization. The final output smooth parting line is adapted to the inflection point of the stamping process of automotive outer body panels, greatly improving the smoothness and adaptation accuracy of the parting line, reducing manual intervention, and ensuring the stability of stamping quality and production efficiency. Attached Figure Description
[0015] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0016] Figure 1 This is a first flowchart of a method for generating smooth parting lines according to an embodiment of the present invention;
[0017] Figure 2 This is a second flowchart of a method for generating smooth parting lines provided in an embodiment of the present invention;
[0018] Figure 3 This is a third flowchart of a method for generating smooth parting lines provided in an embodiment of the present invention;
[0019] Figure 4 This is a fourth flowchart of a method for generating smooth parting lines provided in an embodiment of the present invention;
[0020] Figure 5 A fifth flowchart of a method for generating smooth parting lines provided in an embodiment of the present invention;
[0021] Figure 6 The sixth flowchart of a method for generating a smooth parting line provided in an embodiment of the present invention;
[0022] Figure 7 A seventh flowchart of a method for generating a smooth parting line provided in an embodiment of the present invention;
[0023] Figure 8 The eighth flowchart of a method for generating a smooth parting line provided in an embodiment of the present invention;
[0024] Figure 9 This is a schematic diagram of a device for generating smooth parting lines according to an embodiment of the present invention;
[0025] Figure 10 This is a schematic diagram of a device for generating smooth parting lines according to an embodiment of the present invention. Detailed Implementation
[0026] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" or "having" and any variations thereof are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the method for generating smooth parting lines in this invention includes:
[0028] 101. Obtain the part boundary line and generate an offset curve based on the part boundary line and the preset pressure surface;
[0029] In this embodiment, by obtaining the part boundary line and generating an offset curve in combination with the preset blank holder surface, a precise process benchmark is provided for the design of the parting line of the automotive outer panel. The offset curve effectively connects the process relationship between the part body and the blank holder surface, ensuring the compliance of the parting line direction and position, improving the matching accuracy between the parting line and the stamping process inflection point, reducing human intervention error, and laying a solid foundation for subsequent processes.
[0030] 102. Determine the range line segment sequence based on the preset extraction number, offset curve, and pressing surface;
[0031] In this embodiment, the range of line segments is determined based on the preset number of extractions, the offset curve, and the blank holder surface. This provides precise process constraint boundaries for the design of the parting line at the inflection point of the automotive outer panel, improves the compatibility accuracy between the parting line and the stamping process, reduces manual definition errors, and effectively supports subsequent parting line verification and optimization.
[0032] 103. Calculate the distance between the range line segment sequence based on the preset first endpoint and the preset second endpoint to obtain the distance sequence and the verification spline curve;
[0033] In this embodiment, a verification spline curve is generated by endpoint constraints, and a distance sequence is obtained by performing distance calculation on the range line segment sequence. This can accurately anchor the start and end positions of the parting line, ensure the continuity of the connection with the preceding and following segments, and avoid the problem of abrupt changes in the curvature of the endpoints. At the same time, the full-domain coverage distance verification can accurately identify defective line segments that do not meet the process constraints, providing a clear basis for subsequent optimization, reducing human intervention errors, improving the smoothness of the parting line and the compatibility accuracy with the stamping process of automotive outer body panels, and ensuring the stability of molding quality and production efficiency.
[0034] 104. Analyze the distance sequence based on the line segment intersection condition to obtain the analysis results;
[0035] In this embodiment, the endpoints of non-intersecting line segments are recorded to provide precise targeting constraints for curve generation. This allows optimization actions to directly target the geometric positions of non-compliant line segments, avoiding blind adjustments and ensuring the accuracy of the curve's adaptation to each non-intersecting line segment. Using the line segment intersection condition (such as a distance value equal to zero) as the criterion, the entire distance sequence generated in the previous stage is analyzed one by one. The core function is to distinguish between "compliant line segments that meet the line segment intersection condition" and "non-compliant line segments that do not meet the line segment intersection condition," thereby achieving a comprehensive investigation of the parting line adaptation defects and clarifying the core objects of subsequent optimization actions.
[0036] 105. If the analysis results show that the distance sequence satisfies the line segment intersection condition, then the verification spline curve will be used as the smooth parting line;
[0037] In this embodiment, when the distance sequence satisfies the condition that "all range segments intersect with the verification spline curve", the verification spline curve is directly output as the smooth parting line; this rule clarifies the process qualification threshold of the parting line and meets the core requirement of the stamping process for the smoothness of the parting line;
[0038] In this embodiment, an offset curve is generated by the part boundary line and the blank holder surface to provide a precise process benchmark for the parting line design, effectively connecting the process relationship between the part and the blank holder surface, and ensuring the compliance of the parting line direction and position. Then, the range line segment sequence is determined by combining the number of extracted segments and the offset curve to solidify the process constraint boundary of the parting line and reduce manual definition errors. Based on the preset endpoints, a verification spline curve is generated to perform global distance calculation on the range line segment sequence, accurately anchoring the start and end positions of the parting line, ensuring the continuity of segment connection, avoiding abrupt changes in endpoint curvature, and analyzing the distance sequence through line segment intersection conditions to identify substandard line segments and avoid blind optimization. The final output smooth parting line is adapted to the inflection point of the stamping process of automotive outer body panels, greatly improving the smoothness and adaptation accuracy of the parting line, reducing manual intervention, and ensuring the stability of stamped part forming quality and production efficiency.
[0039] Please see Figure 2In a second embodiment of the method for generating smooth parting lines according to the present invention, step 101 specifically includes:
[0040] 201. Project the part boundary line onto the blank holder surface to obtain the projected boundary line;
[0041] In this embodiment, the part boundary line is projected onto the blank holder surface to obtain the projected boundary line, and the three-dimensional boundary of the part is transformed into the two-dimensional geometric reference of the blank holder surface, so as to realize the process connection between the part body and the blank holder surface. The blank holder surface is the key working surface for positioning and pressing the sheet metal in the stamping process. The projection operation makes all subsequent vector calculations and offset actions anchored on the blank holder surface as a process carrier, avoiding the parting line deviation problem caused by the datum disconnection.
[0042] 202. Obtain the tangent vectors of all points on the projection boundary line to obtain the tangent vector sequence;
[0043] In this embodiment, the tangent vectors of all points are extracted in a counterclockwise direction along the projection boundary line. The direction of the tangent vectors directly reflects the local direction of the projection boundary line. The counterclockwise direction ensures the uniformity of the tangent vector sequence and avoids deviations in the subsequent direction vector calculation results due to direction confusion.
[0044] 203. Obtain the normal vectors of all points on the projection boundary line to obtain the normal vector sequence;
[0045] In this embodiment, the normal vectors of the pressure surfaces containing all points on the projection boundary line are extracted, and the Z component of the normal vector is limited to be greater than 0. This constraint ensures that the normal vector always points to the outside of the pressure surface, providing a rigid geometric basis for subsequent calculation of the offset direction away from the part. The orderly extraction of the tangent vector and the normal vector constitutes the two core input conditions for the direction vector calculation, neither of which can be omitted.
[0046] 204. Determine the direction vector sequence based on the tangent vector sequence and the normal vector sequence;
[0047] In this embodiment, the tangent vector and normal vector corresponding to each point on the projection boundary line are cross-producted according to the formula direction vector b = tangent vector tan × normal vector nml. The geometric properties of the cross product determine that the direction vector b is perpendicular to both the tangent vector and the normal vector. The direction vector sequence is obtained by integrating the calculation results of all points. The direction vector sequence accurately locks the offset direction away from the part.
[0048] 205. The projection boundary line is offset according to the direction vector sequence and the preset first offset distance value to obtain the offset curve;
[0049] In this embodiment, the projection boundary line is offset based on the direction vector sequence and the first offset distance value to generate a precise offset curve. The direction vector sequence accurately locks the offset direction away from the part, and the preset offset distance ensures that the offset length is controllable. The generated offset curve provides a unified process benchmark for the subsequent parting line segment design, improves the matching accuracy of the parting line and the stamping process inflection point of the automotive outer body panel, reduces human intervention error, and ensures design consistency and standardization.
[0050] In this embodiment, the part boundary line is projected onto the blank holder surface to achieve process connection between the part body and the blank holder surface, providing a unified benchmark for subsequent calculations. Tangent vectors of all points are extracted counterclockwise along the projected boundary line, and the normal vector is extracted with the Z component being greater than 0. The normal vectors of the blank holder surfaces where all points on the projected boundary line are located are extracted to provide a basis for direction vector calculation. The offset direction away from the part is accurately locked by the cross product operation of the tangent vector and the normal vector. Combined with the preset offset distance, the projected boundary line offset is completed, generating a high-precision offset curve. This curve lays a solid foundation for the subsequent segmented design of the parting line, improves the matching accuracy between the parting line and the stamping process inflection point, reduces human intervention error, ensures design consistency and standardization, and meets the stringent standards of automotive stamping production.
[0051] Please see Figure 3 In a third embodiment of the method for generating smooth parting lines according to the present invention, step 102 specifically includes:
[0052] 301. Extract multiple keypoints on the offset curve based on the number of extractions to obtain a keypoint sequence;
[0053] In this embodiment, n key points are extracted from the offset curve according to the number of extractions to form a key point sequence, which provides a precise geometric positioning reference for the segmented drawing of the parting line, effectively supports the segmented forming of the parting line, improves the matching accuracy of the parting line and the inflection point of the stamping process of the automotive outer body panel, and ensures the standardization and rationality of the overall shape of the parting line.
[0054] 302. Generate multiple planes perpendicular to the offset curve based on the key point sequence to obtain the key point plane sequence;
[0055] In this embodiment, a key point plane sequence is obtained by drawing a plane perpendicular to the offset curve through these key points, which provides a precise spatial geometric reference for the segmented design of the parting line at the inflection point of the automotive outer body panel.
[0056] 303. Generate multiple intersecting lines based on the key point plane sequence and the pressure surface to obtain the intersecting line sequence;
[0057] In this embodiment, the intersection of n key point planes and the blank holder surface generates n intersecting lines, resulting in an intersecting line sequence. This provides the core geometric basis for the segmented design of the parting line at the inflection point of the automotive outer panel. The intersecting line sequence effectively connects the spatial plane constraints and the process boundary of the blank holder surface, anchors the precise direction of each segment parting line, ensures the fit between the parting line and the blank holder surface, improves the smoothness and accuracy at the segment connection, reduces design errors, lays a solid foundation for the subsequent parting line forming, and meets the stringent requirements of the stamping process.
[0058] 304. Generate an endpoint sequence based on the key point sequence and the preset second offset distance value;
[0059] In this embodiment, a key point is taken as one endpoint, and the other endpoint is a second offset distance value from the key point. An endpoint sequence is generated based on the key point sequence and the second offset distance value. The key point is taken as the reference endpoint, and the corresponding endpoint is determined according to a fixed offset distance, so as to provide a precise endpoint positioning reference for the segmented design of the parting line of the corner point of the automotive outer covering.
[0060] 305. Based on the key point sequence and endpoint sequence, determine multiple range line segments on the intersecting line sequence to obtain the range line segment sequence;
[0061] In this embodiment, a line segment S1 is taken on the intersection line based on the key points and endpoints, and line segment S1 is the range line segment; the range line segment is accurately positioned, ensuring the consistency of the constraint datum, which can effectively support the subsequent verification and optimization of the parting line and avoid the design deviating from the process requirements; at the same time, it reduces the error of manual definition and improves the adaptability of the parting line and the stamping process.
[0062] In this embodiment, a precise positioning benchmark is established by extracting a sequence of key points, a stable spatial constraint is constructed by a sequence of vertical planes, and a sequence of intersecting lines connects the process boundary and anchors the parting line direction to ensure the fit with the blank holder surface. The endpoint sequence is generated according to a fixed offset distance to ensure positioning consistency. The range segment sequence clarifies the process constraint boundary, effectively improving the matching accuracy between the parting line and the stamping process inflection point, ensuring the smoothness of segment connection, reducing manual definition errors, avoiding design deviation from process requirements, improving the efficiency and quality stability of parting line design, and meeting the stringent standards of automotive exterior body panel stamping production.
[0063] Please see Figure 4 In the fourth embodiment of the method for generating smooth parting lines in this invention, step 103 specifically includes:
[0064] 401. Draw the initial spline curve based on the first endpoint, the second endpoint, the preset first tangent vector, and the preset second tangent vector;
[0065] In this embodiment, the first endpoint and the second endpoint are used as control points. An initial spline curve is drawn in combination with the preset tangent vector constraint to accurately anchor the start and end positions of the curve, ensuring the continuity of the connection with the parting lines of the preceding and following segments. The tangent vector constraint effectively avoids the problem of curvature change at the endpoints, ensures the initial smoothness of the curve, reduces the workload of subsequent optimization and adjustment, and meets the basic quality requirements of the parting line for the stamping process of automotive outer body panels.
[0066] 402. Use the initial spline curve as the verification spline curve;
[0067] In this embodiment, the initial spline curve is directly used as the verification spline curve. Its purpose is to establish a unified verification benchmark. All subsequent distance calculations and defect analyses are carried out around this curve to ensure that the verification standards of the entire process are consistent, avoid logical confusion caused by frequent changes in the benchmark, and provide a stable reference for comparing the subsequent optimization effects.
[0068] 403. Calculate the distance between each range segment and the validation spline curve in the range segment sequence to obtain the distance value between each range segment and the validation spline curve, and obtain the distance sequence based on all the distance values;
[0069] In this embodiment, the distance between each line segment in the range line segment sequence and the verification spline curve is calculated one by one to generate a full distance sequence. The core of this step is full-domain coverage verification to ensure that no line segment that does not meet the line segment intersection condition is missed, thus ensuring the compatibility of the parting line with all preset process range line segments from the process perspective.
[0070] In this embodiment, an initial spline curve is drawn by combining the first endpoint and the second endpoint with a preset tangent vector. The start and end positions of the curve are precisely anchored to ensure a smooth connection with the parting lines of the preceding and following segments. This effectively avoids the problem of abrupt changes in endpoint curvature, ensures the initial smoothness of the curve, and reduces the workload of subsequent optimization and adjustment. The initial curve is used as a unified verification benchmark to ensure that the standards for subsequent distance calculation and defect analysis are consistent, avoid logical confusion, and provide a reference for comparing optimization effects. Full-domain distance calculation generates a full distance sequence, and no substandard line segments are missed, ensuring the compatibility of the parting line with the preset process range line segments. By analyzing the distance sequence and recording the endpoints of non-intersecting line segments, precise targeted constraints are provided for subsequent optimization, avoiding blind adjustments, improving the compatibility accuracy of the curve with substandard line segments, reducing overall manual intervention, and meeting the basic quality requirements of the parting line for the stamping process of automotive outer body panels.
[0071] Please see Figure 5 The fifth embodiment of a method for generating smooth parting lines in this invention includes step 104, which specifically includes:
[0072] 501. If the analysis result shows that there are distance values in the distance sequence that do not meet the line segment intersection condition, then a new verification spline curve is drawn according to the number threshold, the preset line segment length, the ratio point acquisition condition and the range line segment sequence.
[0073] In this embodiment, the line segment intersection condition is that the distance value is equal to zero. The determination that there are distance values in the distance sequence that do not meet the line segment intersection condition is the core of achieving "full-domain defect investigation". Regardless of the deviation between the non-intersecting line segment and the curve, as long as the line segment intersection condition is not met, it is included in the optimization range, ensuring the adaptability of the parting line to all preset range line segments. The number of times threshold is used to balance the optimization depth. The preset line segment length provides a geometric benchmark for the extraction of proportional points, ensuring that the constraint refinement conforms to the actual shape of the line segment. The proportional point acquisition condition extracts the key control points of the line segment through standardized rules, allowing the curve to move closer to the non-intersecting line segment. The range line segment sequence anchors the overall process boundary to avoid the curve optimization deviating from the preset range.
[0074] 502. Return to execution and calculate the distance between each range segment and the validation spline curve in the range segment sequence;
[0075] In this embodiment, after generating a new verification spline curve, the process returns to "calculate the distance between each range segment and the verification spline curve". On the one hand, this verifies whether the optimization has enabled some non-intersecting segments to intersect; on the other hand, it continuously monitors the constraint satisfaction of the intersecting segments to avoid new defects during the optimization process. Each optimization targets all non-intersecting segments and gradually reduces the deviation between the curve and each non-compliant range segment until all range segments meet the segment intersection condition.
[0076] In this embodiment, a comprehensive defect screening mechanism is used to include all line segments that do not meet the intersection conditions within the optimization scope, ensuring that the parting line accurately matches all preset range line segments and laying a solid foundation for the stamping process of automotive body panels. During the optimization process, the number of iterations effectively balances the optimization depth and design efficiency, avoiding ineffective iterations. The preset line segment length provides a reliable geometric benchmark for proportional point extraction, ensuring that the constraint refinement fits the actual shape of the line segment. The standardized proportional point acquisition conditions accurately extract key control points, allowing the generated curve to converge towards the non-intersecting line segments. After generating a new verification spline curve, the full distance calculation is repeatedly performed, which not only verifies the optimization effect and promotes the non-compliant line segments to gradually meet the intersection conditions, but also monitors the status of the compliant range line segments in real time to avoid the generation of new defects. After meeting the standards, a smooth parting line is directly output, clarifying the process qualification threshold. This not only meets the core requirements of the stamping process for the smoothness of the parting line, but also reduces manual intervention, improves the design efficiency and quality consistency of the parting line, and provides stable and reliable technical support for the high-quality forming of the supplementary surface of the automotive body panel process.
[0077] Please see Figure 6In the sixth embodiment of a method for generating smooth parting lines according to the present invention, step 501 specifically includes:
[0078] 601. Obtain the number of steps repeated by performing distance calculations on each range segment and the verification spline curve in the range segment sequence.
[0079] 602. Determine whether the number of times the step is repeated is greater than or equal to the number of repetitions threshold;
[0080] In this embodiment, an "number of repetitions threshold" is set to avoid unlimited iteration, while distinguishing between "regular adjustment" and "deep optimization" scenarios. The number of repetitions of a step reflects the effect of the previous adjustment. If the number of repetitions of a step does not reach the number of repetitions threshold, it means that there is still room for regular adjustment. If the condition is not met even after reaching the number of repetitions threshold, a more refined optimization strategy needs to be initiated.
[0081] 603. If the number of repetitions of a step is greater than or equal to the threshold, the first segment curve is drawn based on the conditions for obtaining the proportional points, the analysis results, the range segment sequence, and the segment length.
[0082] In this embodiment, when drawing the first line curve, the substandard range line segments and core optimization objects are accurately screened based on the analysis results. Combining the range line segment sequence and line segment length, the local constraints are refined by obtaining conditions through step-by-step proportional points. This maximizes the curve adaptability with minimal iteration cost, while ensuring the smoothness, continuity and quality stability of the curve. This effectively supports the high-quality forming of the supplementary surface of the automotive body panel process, improves the parting line design efficiency and forming reliability, and meets the stringent requirements of the stamping process.
[0083] 603. Use the first spline curve as the new validation spline curve, and return to perform distance calculations on each range segment and validation spline curve in the range segment sequence until the distance sequence satisfies the segment intersection condition.
[0084] 604. If the distance sequence satisfies the line segment intersection condition, then the first spline curve is determined as the new verification spline curve;
[0085] In this embodiment, by using the first spline curve as the new verification spline curve, the distance calculation between the range line segment and the new verification spline curve is repeatedly performed until the line segment intersection condition is met. This design can accurately verify the curve adaptability, improve the fit between the parting line and each range line segment, ensure that the final generated curve is smooth and continuous, stabilize the parting line quality, lay a solid foundation for the forming of the supplementary surface of the automotive body panel process, reduce manual intervention, and improve design efficiency and stamping process reliability.
[0086] 605. Conversely, the second spline curve is obtained by drawing based on the analysis results, the range segment sequence, the first endpoint, and the second endpoint.
[0087] In this embodiment, when the number of repetitions does not reach the threshold, a second spline curve is drawn based on the analysis results, the range segment sequence, and the first and second endpoints. It relies on the previous optimization data to accurately adapt to the constraints, locks the overall direction of the curve with the endpoints, and ensures process compliance by combining the range segment sequence. Without the need for complex interpolation, the spline curve close to the requirements can be quickly generated using the drawing interface provided by the geometry engine, reducing the computational cost, improving the iteration efficiency, and ensuring the basic smoothness and adaptability of the curve, providing strong support for the efficient and reliable generation of parting lines for automotive body panels.
[0088] 606. Use the second spline curve as the new verification spline curve;
[0089] In this embodiment, a threshold number of iterations is set to distinguish between routine adjustment and deep optimization scenarios, balancing design efficiency and optimization accuracy. When the threshold number of iterations is not reached, a second spline curve is drawn based on the previous analysis results, the range segment sequence, and endpoints to quickly lock the curve direction and ensure process compliance without complex interpolation, thus reducing computational costs. After the threshold number of iterations is reached, a first spline curve is generated by obtaining conditions through proportional points, accurately focusing on substandard segments and maximizing adaptability with minimal iteration cost. At the same time, the generated curve is used as a new verification spline curve to repeatedly check the intersection with the range segments, ensuring that the curve is smooth and continuous and fits the process constraints. The overall design reduces manual intervention, adapts to inflection point scenarios of different complexity, stabilizes the parting line quality, provides reliable support for high-quality forming of the supplementary surface of automotive body panels, and improves design efficiency and stamping process reliability.
[0090] In this embodiment, when the number of iterations does not reach the threshold, a second spline curve is drawn based on the previous analysis results, the range segment sequence, and endpoints. This eliminates the need for complex interpolation, quickly locks the curve direction, ensures process compliance, reduces computational costs, and ensures the basic smoothness and adaptability of the curve. Once the number of iterations reaches the threshold, the first spline curve is generated by refining constraints through stepped proportional points. This precisely focuses on the substandard segments, maximizing curve adaptability at minimal cost. Furthermore, the generated curve is used as a new verification spline curve to repeatedly check its intersection with the range segments, ensuring smooth continuity and compliance with process constraints. The overall design adapts to inflection point scenarios of varying complexity, reduces manual intervention, stabilizes parting line quality, provides reliable support for high-quality forming of supplementary surfaces in automotive body panels, and improves design efficiency and stamping process reliability.
[0091] Please see Figure 7 In the seventh embodiment of a method for generating smooth parting lines according to the present invention, step 602 specifically includes:
[0092] 701. Based on the analysis results, select the desired distance sequence from the distance sequences;
[0093] In this embodiment, the distance calculation between each range segment in the range segment sequence and the validation spline curve has been completed in the early stage, forming a "distance sequence" containing distance information of all segments (intersecting and non-intersecting), which is the basis of the data source for screening. The screening criterion is to "only retain the distance values corresponding to the range segments that do not intersect with the validation spline curve", and finally form a "selection distance sequence" so that subsequent optimization steps (such as screening the maximum distance value and determining the mapping range segment) do not need to deal with the full amount of data, but directly focus on the problem segments that do not meet the standard, thereby improving the accuracy of the optimization action.
[0094] 702. Filter the selected distance sequence to obtain the maximum distance value;
[0095] In this embodiment, numerical comparison analysis is performed on each distance value in the selected distance sequence to extract the maximum distance value. The physical meaning of the maximum distance value is that it corresponds to the range segment with the largest spatial deviation from the verification spline curve among all the range segments that do not intersect with the verification spline curve. Priority is given to optimizing this range segment, which can maximize the improvement of the verification spline curve fit with minimal iteration cost.
[0096] 703. Perform mapping analysis on the range line segment sequence based on the maximum distance value to obtain the mapped range line segments;
[0097] In this embodiment, there is a one-to-one correspondence between the "range segment sequence" and the "distance sequence". That is, each distance value in the distance sequence is uniquely bound to a range segment in the range segment sequence. This distance value is the measured distance between the corresponding range segment and the validation spline curve. This binding relationship provides a precise data retrieval basis for subsequent mapping analysis. Based on the above binding relationship, using "selecting the maximum distance value in the distance sequence" as the search keyword, mapping matching is performed on the range segment sequence: among all range segments that do not intersect with the validation spline curve, the range segment bound to the maximum distance value is selected and defined as the mapped range segment.
[0098] 704. Obtain the proportional point from the line segment within the mapping range based on the proportional point acquisition conditions and the line segment length;
[0099] In this embodiment, the conditions for obtaining the proportional point are set in a stepwise manner according to the number of extractions from 1 to 10. The core operating rules are unified and clear: all extractions use the endpoint of the mapping range line segment closest to the zero boundary line as the sole reference, and measure along the mapping range line segment in a direction away from the zero boundary line. The measurement length is calculated by "the preset ratio of the corresponding number of extractions × the length L of the mapping range line segment". Among them, the preset ratio of the nth extraction (n is a positive integer from 1 to 10) is 0.1 × n, that is, the preset ratio of the first extraction is 0.1 and the measurement length is 0.1L. The endpoint of measuring 0.1L from the reference point is the proportional point; the preset ratio of the second extraction is 0.2 and the measurement length is 0.2L. The position of measuring 0.2L from the reference point determines the proportional point; and so on, from the 3rd to the 10th extractions... The preset ratios are 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, and 1.0, respectively, and the corresponding measurement lengths are 0.3L, 0.4L, 0.5L, 0.6L, 0.7L, 0.8L, 0.9L, and 1.0L, respectively. The corresponding lengths are measured from the same reference point in the same direction. The endpoint of the measurement or the other end of the line segment (the 10th time) is the required ratio point for each measurement. (For example, if it is the first time to obtain the ratio point based on the ratio point acquisition conditions, the measurement length is calculated by multiplying the preset ratio (0.1) with the line segment length. Based on the measurement length, the endpoint of the line segment near the zero boundary line is used as the reference. The first length is measured along the line segment of the mapping range in the direction away from the zero boundary line. The endpoint of this measurement is the ratio point, and the ratio point is extracted from it.)
[0100] 705. Draw the first identical curve based on the proportional point, the first endpoint, the second endpoint, the first tangent vector, and the second tangent vector;
[0101] In this embodiment, the geometry engine draws the first spline curve based on the proportional point, the first endpoint, the second endpoint, the first tangent vector, and the second tangent vector. Fixing the endpoint and the tangent vector ensures that the overall direction of the curve matches the design requirements. The proportional point precisely constrains the local shape of the curve to adapt to the core optimized line segment, effectively improving the smoothness and adaptation accuracy of the spline curve, ensuring the quality stability of the parting line, and providing reliable technical support for the high-quality forming of the supplementary surface of the automotive body panel process.
[0102] In this embodiment, distance data of intersecting line segments are eliminated through a screening process, focusing on non-compliant problem objects, reducing data volume, and improving the targeting of subsequent optimization actions. The maximum distance value is extracted to lock the line segment with the largest deviation, maximizing the verification spline curve fit with minimal iteration cost. Based on the one-to-one correspondence between the "range line segment sequence" and the "distance sequence", mapping analysis is completed to accurately optimize the object. The first spline curve is generated by combining proportional points, preset endpoints, and tangent vector constraints, ensuring that the overall curve direction matches the design requirements. Proportional points accurately constrain the local shape of the curve to fit the core optimized line segment, effectively improving the smoothness and fit accuracy of the spline curve, ensuring the quality stability of the parting line, and providing solid technical support for the high-quality forming of the supplementary surface of automotive body panels.
[0103] Please see Figure 8 In the eighth embodiment of the method for generating smooth parting lines in this invention, step 604 specifically includes:
[0104] 801. Based on the analysis results, select the desired distance sequence from the distance sequences;
[0105] In this embodiment, the distance calculation between all range line segments and the verification spline curve has been completed in the early stage, forming a full distance sequence. This step obtains the selected distance sequence by "only retaining the distance values corresponding to the non-intersecting range line segments". Its core function is to exclude valid line segments that meet the intersection conditions, so that subsequent optimization actions do not need to process the full data and can directly focus on the problem line segments that do not meet the standards, thus laying a data foundation for accurate optimization.
[0106] 802. Filter the selected distance sequence to obtain the maximum distance value;
[0107] In this embodiment, the distance values in the selected distance sequence are compared numerically, and the maximum distance value is extracted. The range segment corresponding to this value is the object with the largest deviation from the verification spline curve among all non-intersecting line segments. Priority is given to optimizing this line segment, which can maximize the improvement of the overall curve fit with the smallest adjustment range.
[0108] 803. Perform mapping analysis on the range line segment sequence based on the maximum distance value to obtain the mapped range line segments;
[0109] In this embodiment, the maximum distance value is used as the search keyword to directly match the corresponding range line segment (i.e., the mapped range line segment). This step solves the problem of "which line segment corresponds to the maximum distance value", transforming the abstract distance data into specific geometric line segments, and providing a clear operation object for subsequent targeted adjustments.
[0110] 804. Obtain the key points on the mapped range line segment to obtain the third endpoint;
[0111] 805. Draw the second spline curve based on the first endpoint, the second endpoint, the third endpoint, the first tangent vector, and the second tangent vector;
[0112] In this embodiment, key points are extracted on the mapped range line segment as the third endpoint, adding new geometric constraints to the curve generation. The third endpoint is directly associated with the mapped range line segment with the largest deviation, which can force the second spline curve to move closer to the range line segment, avoiding the blindness of curve adjustment and ensuring that the optimization action is accurately applied to the problem area.
[0113] In this embodiment, the selection distance sequence corresponding to non-intersecting line segments is first screened from the distance sequence to exclude valid data, allowing optimization to focus on substandard line segments and avoid invalid calculations. Then, the maximum distance value is extracted to lock the core problem line segment with the largest deviation, maximizing the curve fit with minimal adjustment. Subsequently, the abstract distance data is transformed into specific mapping range line segments through mapping analysis to clarify the optimization object. Finally, the key points on the mapping range line segments are extracted as the third endpoint, and the curve is drawn by combining the first endpoint, the second endpoint, and the tangent vector. The new constraint curve moves closer to the problem area to avoid blind adjustment, ensure the smoothness and continuity of the curve and process compliance, improve the efficiency of parting line design, and provide reliable support for high-quality forming of the supplementary surface of automotive body panels.
[0114] The foregoing described a method for generating a smooth parting line according to an embodiment of the present invention. The following describes a device for generating a smooth parting line according to an embodiment of the present invention. Please refer to [link / reference]. Figure 9 One embodiment of the device for generating smooth parting lines according to the present invention includes:
[0115] The first curve generation module 1 is used to obtain the part boundary line and generate an offset curve based on the part boundary line and the preset pressure surface.
[0116] Range segment determination module 2 is used to determine the range segment sequence based on the preset extraction number, offset curve and pressing surface;
[0117] The distance calculation module 3 is used to calculate the distance of the range line segment sequence based on the preset first endpoint and the preset second endpoint, so as to obtain the distance sequence and the verification spline curve;
[0118] Analysis module 4 is used to analyze the distance sequence based on the line segment intersection condition to obtain the analysis results;
[0119] The parting line generation module 5 is used to use the verification spline curve as a smooth parting line if the analysis result shows that the distance sequence satisfies the line segment intersection condition.
[0120] In this embodiment, by extracting the part boundary line and combining it with the blank holder surface to generate an offset curve, a unified process benchmark is constructed, connecting the part and the blank holder surface to ensure the compliance of the parting line direction and position. Based on multiple parameters, the range of line segment sequences is determined to accurately define the constraint boundaries and support subsequent verification and optimization. Through line segment intersection condition analysis, the adaptation status of the generated curve is accurately determined, and the optimization direction is clarified. By integrating parameters such as proportional point conditions and number thresholds, a smooth parting line is drawn to balance the optimization depth and efficiency, avoid the curve deviating from the process range, reduce human intervention errors in the entire process, improve the adaptation accuracy of the parting line and the stamping process inflection point, ensure design standardization and consistency, and meet the stringent requirements of stamping production.
[0121] Figure 10 This is a schematic diagram of a smooth parting line generation device 900 provided in an embodiment of the present invention. This smooth parting line generation device 900 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 910 (e.g., one or more processors) and a memory 920, and one or more storage media 930 (e.g., one or more mass storage devices) storing application programs 933 or data 932. The memory 920 and storage media 930 can be temporary or persistent storage. The program stored in the storage media 930 may include one or more modules (not shown in the diagram), each module may include a series of instruction operations on the smooth parting line generation device 900. Furthermore, the processor 910 may be configured to communicate with the storage media 930 and execute a series of instruction operations in the storage media 930 on the smooth parting line generation device 900 to implement the steps of the smooth parting line generation method provided in the above-described method embodiments.
[0122] A smooth parting line generation device 900 may further include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input / output interfaces 960, and / or one or more operating systems 931, such as Windows Server, MacOSX, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 10 The illustrated structure of a smooth parting line generation device does not constitute a limitation on a smooth parting line generation device. It may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0123] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the steps of a method for generating a smooth parting line.
[0124] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system, device, or unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0125] If the integrated unit is implemented as 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 invention, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0126] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for generating smooth parting lines, characterized in that, include: Obtain the part boundary line and generate an offset curve based on the part boundary line and the preset pressure surface; The range segment sequence is determined based on the preset extraction number, offset curve, and pressing surface; The distance to the range segment sequence is calculated based on the preset first endpoint and the preset second endpoint to obtain the distance sequence and the verification spline curve; The step of calculating the distance between the range line segment sequence based on a preset first endpoint and a preset second endpoint to obtain a distance sequence and a verification spline curve includes: The initial spline curve is drawn based on the first endpoint, the second endpoint, the preset first tangent vector, and the preset second tangent vector. Use the initial spline curve as the validation spline curve; For each range segment in the range segment sequence and the validation spline curve, the distance between each range segment and the validation spline curve is calculated to obtain the distance value between each range segment and the validation spline curve, and the distance sequence is obtained based on all the distance values; The distance sequence is analyzed based on the line segment intersection condition to obtain the analysis results; The step of analyzing the distance sequence based on the line segment intersection condition to obtain the analysis result further includes: If the analysis results show that there are distance values in the distance sequence that do not meet the line segment intersection condition, then a new verification spline curve is drawn based on the number threshold, the preset line segment length, the proportional point acquisition condition, and the range line segment sequence. The process of drawing a new verification spline curve based on a threshold number, a preset segment length, proportional point acquisition conditions, and a range segment sequence includes: The number of steps repeated is obtained by performing distance calculations on each range segment and the validation spline curve in the range segment sequence. Determine if the number of times the step is repeated is greater than or equal to the threshold. If the number of repetitions of the step is greater than or equal to the threshold, the first segment curve is drawn based on the proportional point acquisition conditions, analysis results, range segment sequence, and segment length. The process of drawing the first parallel curve based on the proportional point acquisition conditions, analysis results, range segment sequence, and segment length includes: Based on the analysis results, a selection distance sequence is obtained by filtering the distance sequences. The maximum distance value is obtained by filtering the selected distance sequence; The mapping analysis is performed on the range line segment sequence based on the maximum distance value to obtain the mapped range line segments; The proportional points are obtained from the line segments within the mapping range based on the proportional point acquisition conditions and the line segment length. The first identical curve is obtained by drawing the proportional point, the first endpoint, the second endpoint, the first tangent vector, and the second tangent vector; The first spline curve is used as the new validation spline curve, and the process is repeated to calculate the distance between each range segment and the validation spline curve in the range segment sequence until the distance sequence satisfies the segment intersection condition. If the distance sequence satisfies the line segment intersection condition, then the first spline curve is determined as the new verification spline curve; Conversely, the second spline curve is obtained by drawing based on the analysis results, the range segment sequence, the first endpoint, and the second endpoint; Use the second spline curve as the new validation spline curve; Return to the previous step and calculate the distance for each range segment and the validation spline curve in the range segment sequence. If the analysis results show that the distance sequence satisfies the line segment intersection condition, then the verification spline curve will be used as the smooth parting line.
2. The method for generating a smooth parting line as described in claim 1, characterized in that, The step of generating an offset curve based on the part boundary line and a preset blank holder surface includes: Project the part boundary line onto the blank holder surface to obtain the projected boundary line; Obtain the tangent vectors of all points on the projection boundary line to obtain the tangent vector sequence; Obtain the normal vectors of all points on the projection boundary line to obtain a sequence of normal vectors; Determine the direction vector sequence based on the tangent vector sequence and the normal vector sequence; The projection boundary line is offset according to the direction vector sequence and the preset first offset distance value to obtain the offset curve.
3. The method for generating a smooth parting line as described in claim 1, characterized in that, The step of determining the range line segment sequence based on the preset extraction number, offset curve, and pressing surface includes: Based on the number of extractions, multiple key points are extracted from the offset curve to obtain a key point sequence; Multiple planes perpendicular to the offset curve are generated based on the key point sequence to obtain the key point plane sequence; Multiple intersecting lines are generated based on the key point plane sequence and the pressure surface to obtain the intersecting line sequence; Generate an endpoint sequence based on the key point sequence and a preset second offset distance value; Multiple range segments are determined on the intersecting line sequence based on the key point sequence and endpoint sequence to obtain the range segment sequence.
4. The method for generating a smooth parting line as described in claim 1, characterized in that, The process of drawing the second spline curve based on the analysis results, the range segment sequence, the first endpoint, and the second endpoint includes: Based on the analysis results, a selection distance sequence is obtained by filtering the distance sequences. The maximum distance value is obtained by filtering the selected distance sequence; The mapping analysis is performed on the range line segment sequence based on the maximum distance value to obtain the mapped range line segments; Obtain the key points on the mapped range line segment to obtain the third endpoint; The second spline curve is obtained by drawing the first endpoint, the second endpoint, the third endpoint, the first tangent vector, and the second tangent vector.
5. A device for generating smooth parting lines, characterized in that, include: The first curve generation module is used to obtain the part boundary line and generate an offset curve based on the part boundary line and the preset pressure surface. The range segment determination module is used to determine the range segment sequence based on the preset extraction number, offset curve, and pressing surface; The distance calculation module is used to calculate the distance between a range of line segments based on a preset first endpoint and a preset second endpoint, in order to obtain a distance sequence and a verification spline curve. The specific steps include: The initial spline curve is drawn based on the first endpoint, the second endpoint, the preset first tangent vector, and the preset second tangent vector. Use the initial spline curve as the validation spline curve; For each range segment in the range segment sequence and the validation spline curve, the distance between each range segment and the validation spline curve is calculated to obtain the distance value between each range segment and the validation spline curve, and the distance sequence is obtained based on all the distance values; The analysis module is used to analyze the distance sequence based on the line segment intersection condition to obtain the analysis results. Following this step, the module also includes: If the analysis results show that there are distance values in the distance sequence that do not meet the line segment intersection condition, a new verification spline curve is drawn based on the number threshold, the preset line segment length, the proportion point acquisition conditions, and the range of the line segment sequence. The specific steps include: The number of steps repeated is obtained by performing distance calculations on each range segment and the validation spline curve in the range segment sequence. Determine if the number of times the step is repeated is greater than or equal to the threshold. If the number of repetitions of the step is greater than or equal to the threshold, the first segment curve is drawn based on the proportional point acquisition conditions, analysis results, range segment sequence, and segment length. The specific steps include: Based on the analysis results, a selection distance sequence is obtained by filtering the distance sequences. The maximum distance value is obtained by filtering the selected distance sequence; The mapping analysis is performed on the range line segment sequence based on the maximum distance value to obtain the mapped range line segments; The proportional points are obtained from the line segments within the mapping range based on the proportional point acquisition conditions and the line segment length. The first identical curve is obtained by drawing the proportional point, the first endpoint, the second endpoint, the first tangent vector, and the second tangent vector; The first spline curve is used as the new validation spline curve, and the process is repeated to calculate the distance between each range segment and the validation spline curve in the range segment sequence until the distance sequence satisfies the segment intersection condition. If the distance sequence satisfies the line segment intersection condition, then the first spline curve is determined as the new verification spline curve; Conversely, the second spline curve is obtained by drawing based on the analysis results, the range segment sequence, the first endpoint, and the second endpoint; Use the second spline curve as the new validation spline curve; Return to the previous step and calculate the distance for each range segment and the validation spline curve in the range segment sequence. The parting line generation module is used to use the verification spline curve as a smooth parting line if the analysis result shows that the distance sequence satisfies the line segment intersection condition.
6. A device for generating smooth parting lines, characterized in that, The smooth parting line generation device includes: a memory and at least one processor, wherein the memory stores instructions; At least one of the processors invokes the instructions in the memory to cause the smooth parting line generation apparatus to perform the steps of the smooth parting line generation method as claimed in any one of claims 1-4.
Citation Information
Patent Citations
Method and system for automatically constructing parting line of automobile covering part
CN116738579A
Approximation processing method and approximation processing device
US20110078223A1