A zoom curve groove milling method, system, device and storage medium

By converting point cloud data and fitting continuous curves, milling program code is generated. Using climb milling and two sizes of end mills, the problems of poor surface roughness and low efficiency in the machining of variable focal curve grooves are solved, and high-efficiency and high-quality milling is achieved.

CN122142392APending Publication Date: 2026-06-05JIANGSU NORTH LAKE OPTOELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JIANGSU NORTH LAKE OPTOELECTRONICS CO LTD
Filing Date
2026-03-03
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing technology cannot precisely mill zoom curve grooves. The lack of accurate 3D models and curve equations makes it difficult to generate program code, resulting in poor surface roughness and low efficiency, requiring subsequent precision grinding.

Method used

By receiving the point cloud data of the zoom curve groove, converting it to a Cartesian coordinate system, fitting a continuous curve and wrapping it around the structural part, creating a cross-sectional circular swept groove, constructing a closed curve, generating milling program code, and performing machining using climb milling and two sizes of end mills.

Benefits of technology

It achieves high surface quality in the machining of zoom curve grooves, with consistent surface roughness, reducing the need for precision grinding, lowering processing costs, and improving efficiency and product consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122142392A_ABST
    Figure CN122142392A_ABST
Patent Text Reader

Abstract

The application relates to a zoom curve groove milling method, system, device and storage medium, and relates to the field of photoelectric products. The method comprises the following steps: receiving point cloud data of an upper center line of a zoom curve groove and performing coordinate conversion to obtain coordinate data; performing curve fitting on the coordinate data to obtain a continuous curve, and winding the continuous curve onto a cylindrical surface of a structure part where the zoom curve groove is located to obtain a winding curve; creating a cross-section circle at any endpoint position of the winding curve, sweeping the cross-section circle along the winding curve to obtain a groove, and extracting a groove edge curve of the groove; creating a circular hole on both sides of the center of the groove and extracting a circular hole edge curve of the circular hole, and constructing a closed curve according to the circular hole edge curve and the groove edge curve; receiving milling information, generating a milling program code based on the winding curve, the closed curve and the milling information, and performing zoom curve groove milling according to the milling program code. The application can more accurately and efficiently perform zoom curve groove milling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optoelectronic products, and in particular to a method, system, equipment and storage medium for milling zoom curve grooves. Background Technology

[0002] As optoelectronic products evolve from traditional fixed-focus structures to modern zoom structures, the design of internal structural components has begun to adopt zoom curve groove features.

[0003] A zoom curve groove refers to a spline curve groove with continuously changing curvature, rather than a groove with constant curvature or a straight line structure. The design of a zoom curve groove is based on a combination of factors such as the focal length and spacing of the optical system. The final drawing only provides point cloud data of the center line of the zoom curve groove (each point data includes an angular coordinate and a height coordinate), and cannot provide the curve equation or a precise 3D model of the zoom curve groove.

[0004] Due to the lack of a precise 3D model and curve equation for the zoom curve groove structure, the program code cannot be generated, which prevents the zoom curve groove from being precision milled. Summary of the Invention

[0005] To perform zoom curve groove milling more accurately and efficiently, this application provides a zoom curve groove milling method, system, equipment, and storage medium.

[0006] Firstly, this application provides the following technical solution:

[0007] Receive the point cloud data of the center line on the zoom curve groove, and perform coordinate transformation on the point cloud data to obtain coordinate data; A continuous curve is obtained by fitting the coordinate data to the curve, and the continuous curve is wound around the cylindrical surface of the structural component where the zoom curve groove is located to obtain a winding curve; Create a cross-sectional circle at any endpoint of the winding curve, sweep the cross-sectional circle along the winding curve to obtain a groove on the structural member, and extract the groove edge curve of the groove. Create circular holes with the same diameter as the cross-sectional circle at the center of both sides of the groove and extract the edge curve of the circular holes. Construct a closed curve based on the edge curve of the circular holes and the edge curve of the groove. Receive milling information, generate milling program code based on the winding curve, the closed curve and the milling information, and perform milling of the zoom curve groove according to the milling program code.

[0008] Through the above technical solution, this application provides a machining method for high surface quality milling of zoom curve grooves in structural components. First, a machining model for machining the zoom curve groove is constructed. Then, based on the zoom curve groove machining model, a machining strategy for the curve groove is formulated, and milling program code is generated. This machining method can effectively ensure the surface roughness requirements of the zoom curve groove sidewall, achieving high surface quality machining of the zoom curve groove, while reducing or even eliminating the need for subsequent precision grinding, allowing for rapid assembly and use.

[0009] In one specific implementation, the point cloud data includes angular coordinates and height coordinates, and the coordinate transformation of the point cloud data to obtain coordinate data includes: The point cloud data is converted to coordinate data in the Cartesian coordinate system using the following formula:

[0010] in, These are the angular coordinates in the point cloud data; The elevation coordinates in the point cloud data and the elevation coordinates in the transformed Cartesian coordinate system; These are the unfolding direction coordinates in the Cartesian coordinate system after the point cloud data has been transformed. These are the planar coordinates in the Cartesian coordinate system after the point cloud data has been transformed. The diameter of the cylindrical surface of the structural component containing the zoom curve groove.

[0011] Using the above technical solutions, point cloud data is typically collected from different angles and in different ways. The original angular and height coordinates are not conducive to unified mathematical operations and geometric analysis. After conversion to the Cartesian coordinate system, all data points are within a standard three-dimensional rectangular coordinate framework, which makes it easier to apply various mathematical tools and algorithms (such as distance calculation, vector operations, geometric modeling, etc.) to this data.

[0012] In one specific implementation, creating a cross-sectional circle at any endpoint of the winding curve, sweeping the cross-sectional circle along the winding curve to obtain a groove on the structural member, and extracting the groove edge curve of the groove includes: Create a vertical plane perpendicular to any endpoint of the winding curve; Create a cross-sectional circle on the vertical plane with the endpoint as the center, and record the diameter of the cross-sectional circle; The cross-sectional circle is swept along the winding curve to obtain a swept solid; The groove is obtained by subtracting the swept entity and the structural component, and the groove edge curve is extracted. Record the wall thickness of the structure containing the curved groove.

[0013] The above technical solution transforms the abstract curve groove design into a precise geometric model for machining that can be recognized and executed by CNC machine tools. This solves the problems of unclear geometric definition and difficulty in determining machining parameters for the zoom curve groove, laying a solid foundation for the generation of subsequent milling machining program code.

[0014] In one specific implementation, receiving milling information includes: Receive roughing milling information, the roughing milling information includes the diameter of the first milling tool and the roughing strategy, the roughing strategy is to perform layered machining according to a preset first machining depth, the tool entry method is to enter the tool obliquely along the path, and the cutting direction is climb milling; Receive semi-finishing milling information, the semi-finishing milling information includes the diameter of the second milling tool and the semi-finishing strategy, the semi-finishing strategy is to perform layered machining according to a preset second machining depth, the tool entry method is to enter the tool obliquely along the path, and the cutting direction is climb milling; Receive the roughness milling requirements of the zoom curve groove, and set the target toolpath step value according to the roughness milling requirements; Receive finishing milling information, the finishing milling information includes the diameter of the second milling tool and the finishing strategy, the finishing strategy is to perform contour milling with full cutting edge milling of the tool side edge according to the wall thickness value, the cutting direction is climb milling, and the toolpath step distance value is the target toolpath step distance value.

[0015] Through the above technical solution, this method ensures that the surface of the zoom curve groove is machined using climb milling, guaranteeing a consistent surface roughness. During finishing, the tool side cutting is used for full-edge cutting, with only one cut in the depth direction, resulting in no delamination marks on the machined surface and improving surface quality. Furthermore, this method requires only two sizes of end mills; machining can be completed by adjusting the machining model and generating the machining program code, eliminating the need for custom-made end mills of various sizes to meet different machining precision requirements. This method reduces machining costs for zoom curve grooves, avoids the need to grind end mills of different sizes, and improves machining efficiency.

[0016] In one specific implementation, generating the milling program code based on the winding curve, the closed curve, and the milling information includes: Using the winding curve as the roughing toolpath trajectory, roughing program code is generated based on the roughing milling information; Using the winding curve as the semi-finishing toolpath trajectory, generate semi-finishing program code based on the semi-finishing milling information; Using the closed curve as the toolpath trajectory for finishing, and generating finishing program code based on the finishing milling information; The milling program code is obtained by combining the roughing program code, semi-finishing program code, and finishing program code.

[0017] The above technical solution enables the generation of milling program code for the variable zoom curve groove based on the constructed variable zoom curve groove machining model. This allows for the setting of step distance values ​​during generation, thereby enabling targeted reduction of step distance and improvement of surface roughness of the machined variable zoom curve groove surface.

[0018] In one specific implementation, after milling the zoom curve groove according to the milling program code, the method further includes: The width of the zoom curve groove after processing is obtained by measuring the width of the curve groove, and the difference in groove width is obtained by comparing the width of the curve groove with the preset standard curve groove width. Determine whether the difference in groove width is within a preset error allowable range; If the difference in groove width is within the preset error allowable range, then the milling process is determined to be complete; Conversely, if the milling is not completed, the milling process is determined to be incomplete, and the milling process is repeated based on the groove width difference.

[0019] Through the aforementioned technical solution, this closed-loop quality control and adaptive adjustment process enables the processing to be dynamically corrected according to actual conditions, effectively overcoming the accuracy problems caused by various uncertainties in traditional open-loop processing, and ensuring the quality and consistency of the final product. In this way, the solution of this application elevates the processing from a simple execution of instructions to an intelligent manufacturing process with self-detection and correction capabilities, significantly improving the reliability and pass rate of processing.

[0020] In one specific implementation, the re-milling process based on the groove width difference includes: The diameter of the cross-section circle is adjusted according to the groove width difference to obtain the adjusted diameter of the cross-section circle, and the edge curve of the circular hole is adjusted according to the adjusted diameter of the cross-section circle to obtain the edge curve of the circular hole. At any endpoint of the winding curve, an adjusted section circle is created with the diameter of the adjusted section circle. The adjusted section circle is swept along the winding curve to obtain an adjusted groove on the structural member. The adjusted groove edge curve is extracted. Construct an adjusted closed curve based on the adjusted circular hole edge curve and the adjusted groove edge curve; Using the adjusted closed curve as the toolpath trajectory for finishing, the adjusted finishing program code is generated based on the finishing milling information; The zoom curve groove is milled again according to the adjusted finishing program code.

[0021] Through the above technical solution, this application performs dimensional inspection on the processed curved groove, and achieves fine adjustment of the curved groove by dynamically adjusting the processing model for zoom curved groove processing and the corresponding curved groove processing strategy and milling program code, so that the zoom curved groove better meets the drawing requirements.

[0022] Secondly, this application provides a variable focal length curve groove milling system, which adopts the following technical solution: the system includes: Point cloud data receiving module is used to receive point cloud data of the center line on the zoom curve groove, and to transform the point cloud data to obtain coordinate data; The winding curve construction module is used to fit the coordinate data to obtain a continuous curve, and to wind the continuous curve onto the cylindrical surface of the structural component where the zoom curve groove is located to obtain a winding curve. The groove edge curve extraction module is used to create a cross-sectional circle at any end position of the winding curve, sweep the cross-sectional circle along the winding curve to obtain a groove on the structural component, and extract the groove edge curve of the groove. A closed curve construction module is used to create circular holes with the same diameter as the cross-sectional circle at the center of both sides of the groove and extract the circular hole edge curve, and construct a closed curve based on the circular hole edge curve and the groove edge curve; The milling module is used to receive milling information, generate milling program code based on the winding curve, the closed curve and the milling information, and perform milling of the zoom curve groove according to the milling program code.

[0023] Thirdly, this application provides a computer device that adopts the following technical solution: it includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described above for a zoom curve groove milling method.

[0024] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution: storing a computer program that can be loaded by a processor and executed as described above for a zoom curve groove milling method.

[0025] In summary, this application has the following beneficial technical effects: (1) This application provides a machining method for high surface quality milling of zoom curve grooves in structural components. First, a machining model for machining zoom curve grooves is constructed. Then, a machining strategy for the curve groove is formulated based on the machining model, and milling machining program code is generated. This machining method can effectively ensure the surface roughness requirements of the sidewall of the zoom curve groove, achieve high surface quality machining of the zoom curve groove, and reduce or even eliminate the need for subsequent precision grinding before rapid assembly and use.

[0026] (2) When machining the zoom curve groove using this method, the surface of the zoom curve groove is machined by climb milling, which can ensure that the surface roughness of the two sides of the zoom curve groove is consistent. When machining the zoom curve groove using this method, the finishing is a full-edge cutting of the tool side edge, with only one cutting in the depth direction. The surface of the zoom curve groove after machining does not have delamination marks, which can improve the surface quality of the machined surface of the zoom curve groove.

[0027] (3) When machining variable focal length curve grooves using this method, only two specifications of end mills are required. The machining can be completed by adjusting the machining model and generating machining program code, without the need to customize multiple specifications of end mills to meet the machining requirements of variable focal length curve grooves with different machining accuracy. This method reduces the machining cost of variable focal length curve grooves, avoids the phenomenon of sharpening end mills of different specifications, and improves machining efficiency.

[0028] (4) Based on the constructed zoom curve groove machining model, this application can realize the milling machining program code of the curve groove by computer, and thus realize the step distance value setting during generation, thereby reducing the step distance and improving the surface roughness of the zoom curve groove machining surface.

[0029] (5) This application performs dimensional inspection on the processed curved groove, and achieves fine adjustment of the curved groove by dynamically adjusting the processing model for the zoom curved groove processing and the corresponding curved groove processing strategy and milling processing program code, so that the zoom curved groove better meets the drawing requirements. Attached Figure Description

[0030] Figure 1 This is a flowchart of a zoom curve groove milling method according to an embodiment of this application.

[0031] Figure 2 This is a detailed flowchart of the machining method for high surface quality milling of zoom curve grooves in structural components.

[0032] Figure 3 This is a schematic diagram of the zoom curve groove structure.

[0033] Figure 4 This is a schematic diagram of zoom curve construction.

[0034] Figure 5This is a schematic diagram of the closed curve construction used in the machining of zoom curve grooves.

[0035] Figure 6 This is a schematic diagram of a swept solid for machining zoom curve grooves.

[0036] Figure 7 This is a schematic diagram of the groove used for machining zoom curve grooves.

[0037] Figure 8 This is a schematic diagram of the groove used for machining zoom curve grooves.

[0038] Figure 9 This is a structural block diagram of a zoom curve groove milling method according to an embodiment of this application.

[0039] Figure reference numerals: 901, point cloud data receiving module; 902, winding curve construction module; 903, groove edge curve extraction module; 904, closed curve construction module; 905, milling module; 1 is the zoom curve groove; 2 is the fitted continuous curve; 3 is the outer circular surface of the cylinder where the zoom curve groove is located; 4 is the winding curve; 5 is the cross-sectional circle; 6 is the closed curve; 7 is the swept entity after sweeping; 8 is the groove after subtraction; 9 is the groove edge curve; 10 is the edge curve of the circular holes on both sides of the groove. Detailed Implementation

[0040] The following is in conjunction with the appendix Figures 1-9 This application will be described in further detail.

[0041] This application discloses a method for milling variable focal length curve grooves, which is used to perform variable focal length curve groove milling more accurately and efficiently.

[0042] As optoelectronic products evolve from traditional fixed-focus structures to modern zoom structures, the design of internal structural components has begun to incorporate zoom curve groove features. A zoom curve groove refers to a spline curve groove with continuously changing curvature, rather than a groove with constant curvature or a straight line. The design of the zoom curve groove is based on a comprehensive consideration of factors such as the focal length and spacing of the optical system. The final drawing only provides point cloud data of the centerline of the zoom curve groove (each point contains an angular coordinate and a height coordinate), and cannot provide the curve equation or a precise 3D model of the zoom curve groove.

[0043] However, the zoom curve groove, as a guiding and supporting structure for the forward and backward movement of the zoom module in optoelectronic products, has a micro-clearance fit with the guide pin and requires high dimensional accuracy. This high precision is mainly reflected in the accuracy requirements of the zoom curve groove width and the surface roughness requirements of the groove sidewalls. This ensures that during product use, the guide pin slides smoothly within the zoom curve groove, driving the zoom module to move forward and backward to achieve continuous zooming, while maintaining high stability of the optical axis during zooming.

[0044] Zoom curve grooves on structural components generally require milling, primarily using a fixed-size tool (tool diameter equal to the width of the zoom curve groove) to mill in layers along the centerline of the groove. Before machining, the point data of the centerline (including one angular coordinate and one height coordinate) is directly converted into program code. During machining, the machine tool's CNC system drives the structural component to move repeatedly along a centerline trajectory generated by the program code. By gradually adjusting the tool overhang, the layered milling of the zoom curve groove is achieved. However, due to the lack of a precise 3D model and curve equation for the zoom curve groove structure, program code cannot be generated. This problem prevents the zoom curve groove from being precision milled.

[0045] Furthermore, when machining based on program code directly converted from the centerline point data (including one angular coordinate and one height coordinate), the interval value of the original data points cannot be adjusted, which may lead to excessive tool step distance and poor surface roughness of the machined surface.

[0046] Grooves obtained by layer-by-layer milling along the centerline of a zoom curve using a fixed-size tool exhibit significant layering marks due to the tool consistently machining along the same centerline path, resulting in poor surface roughness. Furthermore, the high-speed rotation of the tool along the centerline path leads to climb milling on one side and conventional milling on the other, resulting in a significant difference in surface roughness between the climb-milled and conventional-milled surfaces. The groove width produced by the fixed-size tool places extremely high demands on tool dimensions; if the groove width does not meet the drawing requirements, a tool of a different diameter must be used, as tool compensation cannot be adjusted, leading to low milling efficiency. Zoom curve grooves obtained in this manner often require precision grinding before assembly.

[0047] Therefore, for zoom curve grooves that lack curve equations and accurate 3D models, how to achieve high surface quality milling of zoom curve grooves based on point cloud data of the center line of the zoom curve groove is currently a difficult problem in the industry.

[0048] like Figure 1 As shown, the method includes: S10 receives point cloud data of the center line on the zoom curve groove and transforms the point cloud data to obtain coordinate data.

[0049] Specifically, such as Figure 2 The diagram shows a detailed process flow chart for milling high surface quality curve grooves on structural components. The method of this application consists of two parts: the first part is a method for constructing a machining model for machining curve grooves; the second part is a curve groove machining strategy based on the machining model for machining curve grooves.

[0050] The design of the zoom curve groove is based on a combination of factors, including the focal length and spacing of the optical system. The final drawing only provides point cloud data of the center line of the zoom curve groove. First, the point cloud data of the center line of the zoom curve groove is obtained from the drawing. Each point cloud data contains an angular coordinate and an altitude coordinate. The angular coordinate and altitude coordinate in the point cloud data are then converted into x, y, and z coordinates in the Cartesian coordinate system to obtain the coordinate data.

[0051] S20, the curve fitting coordinate data is used to obtain a continuous curve, and the continuous curve is wound onto the cylindrical surface of the structural component where the zoom curve groove is located to obtain a winding curve.

[0052] Specifically, such as Figure 3 The diagram shown is a schematic of the zoom curve groove structure. Figure 3 The groove marked with 1 is the zoom curve groove. For example... Figure 4 The image shown is a schematic diagram of zoom curve construction. Figure 4 The curve marked with 2 is the fitted continuous curve, the curve marked with 3 is the outer circular surface of the cylinder containing the zoom curve groove, and the curve marked with 4 is the winding curve.

[0053] The obtained coordinate transformation data is imported into the modeling software. Discrete coordinate points are fitted into a continuous curve through curve fitting. The curve fitting error is controlled within 0.0001mm. The fitted curve is then wound around the cylindrical surface of the structural component where the zoom curve groove is located to obtain the winding curve.

[0054] S30, create a cross-sectional circle at any endpoint of the winding curve, sweep the cross-sectional circle along the winding curve to obtain a groove on the structural component, and extract the groove edge curve of the groove.

[0055] Specifically, such as Figure 5 The diagram shown is a schematic of the construction of a closed curve for machining zoom curve grooves. Figure 5 The part marked with 5 is a cross-sectional circle, and the part marked with 6 is a closed curve.

[0056] Create a cross-sectional circle with a diameter of any size within the range of 0.02mm to 0.06mm at the endpoint of the winding curve, and sweep along the winding curve to obtain a groove on the cylindrical surface of the structural component. Extract the curves on both sides of the groove.

[0057] S40, create circular holes with the same diameter as the cross-sectional circle at the center of both sides of the groove and extract the edge curve of the circular hole. Construct a closed curve based on the edge curve of the circular hole and the edge curve of the groove.

[0058] Specifically, create a circular hole with the same diameter as the cross-sectional circle at the center of each side of the groove, and extract the edge curve of the circular hole. Then, combine the edge curve of the circular hole with the edge curve of the groove to form a complete closed curve.

[0059] S50 receives milling information, generates milling program code based on winding curve, closed curve and milling information, and performs milling of zoom curve groove according to milling program code.

[0060] Specifically, it receives milling information, such as the diameter of the milling tool, the depth of cut, the feed method, and the cutting direction. Using the winding curve and closed curve as the toolpath, it generates milling program code based on the milling information. This milling program code includes roughing program code, semi-finishing program code, and finishing program code. The variable focal length curve groove is then milled according to the milling program code.

[0061] This application provides a machining method for high surface quality milling of zoom curve grooves in structural components. First, a machining model for the zoom curve groove is constructed. Then, based on the machining model, a machining strategy for the curve groove is formulated, and milling program code is generated. This machining method effectively ensures the surface roughness requirements of the zoom curve groove sidewalls, achieving high surface quality machining of the zoom curve groove, while reducing or even eliminating the need for subsequent precision grinding, allowing for rapid assembly and use.

[0062] In one embodiment, to perform zoom curve slot milling more accurately and efficiently, the step of transforming point cloud data to obtain coordinate data can be specifically performed as follows: The formula for converting point cloud data to Cartesian coordinates is as follows:

[0063] in, These are the angular coordinates in the point cloud data; The elevation coordinates in the point cloud data and the elevation coordinates in the transformed Cartesian coordinate system; These are the unfolding direction coordinates in the Cartesian coordinate system after the point cloud data has been transformed. These are the planar coordinates in the Cartesian coordinate system after the point cloud data has been transformed. The diameter of the cylindrical surface of the structural component containing the zoom curve groove.

[0064] For example, the point cloud data set is {(0, 0), (0.031746, 0.014354), (0.063492, 0.028694), (0.095238, 0.043019), (0.126984, 0.05733), ..., (119.873016, 37.033186), (119.904762, 37.03671), (119.936508, 37.040231), (119.968254, 37.043748), (120, 37.047261)}, with a data volume of 3781 data points. In each data set, the first data point is the angular coordinate of the center line of the curve groove, and the second data point is the height coordinate of the center line of the curve groove.

[0065] If the outer diameter of the cylindrical surface containing the curved groove is φ48.5mm and the groove width is 4mm; the transformed point cloud data is set in the XZ plane, and the coordinates are transformed into Cartesian coordinates using a conversion formula. The transformed point cloud data is {(0, 0, 0), (0.013436, 0, 0.014354), (0.026873, 0, 0.028694), (0.040309, 0, 0.043019)}. The values ​​are: (0.053745, 0, 0.05733), ..., (50.735336, 0, 37.033186), (50.748772, 0, 37.03671), (50.762209, 0, 37.040231), (50.775645, 0, 37.043748), (50.789081, 0, 37.047261), which are stored as a txt document.

[0066] Furthermore, it should be noted that when constructing the machining model for zoom curve groove machining, the data point structure of some curve grooves is directly the point structure after transformation in step S10, that is, subsequent steps can be performed without step S10; for the point structure after transformation in step S10, the data format provided by this invention is (x,0,z), and the same model construction purpose can also be achieved by using other formats such as (0,y,z) or (x,y,0).

[0067] Point cloud data is typically collected from different angles and in different ways. The raw angular and height coordinates are not conducive to unified mathematical operations and geometric analysis. After conversion to the Cartesian coordinate system, all data points are within a standard three-dimensional rectangular coordinate framework, which makes it easier to apply various mathematical tools and algorithms (such as distance calculation, vector operations, geometric modeling, etc.) to this data.

[0068] In one embodiment, to perform zoom curve groove milling more accurately and efficiently, a cross-sectional circle is created at any endpoint of the winding curve, and the cross-sectional circle is swept along the winding curve to obtain a groove on the structural component. The step of extracting the groove edge curve can be specifically performed as follows: Create a vertical plane perpendicular to the endpoint at any endpoint of the winding curve; create a cross-sectional circle on the vertical plane with the endpoint as the center, and record the diameter of the cross-sectional circle; sweep the cross-sectional circle along the winding curve to obtain a swept solid; perform subtraction modeling on the swept solid and the structural component to obtain a groove, and extract the groove edge curve of the groove; record the wall thickness value of the structure where the curved groove is located.

[0069] Specifically, such as Figure 6 The image shown is a schematic diagram of a swept solid for machining zoom curve grooves, as follows: Figure 7 The diagram shows a groove used for machining zoom curve grooves. Figure 8 The diagram shows a planar view of the groove used for machining the zoom curve groove. Figure 6 The entity marked with 7 is the swept entity after sweeping. Figure 7 The groove marked with 8 is the one after subtraction. Figure 7 The part marked with 9 is the groove edge curve; Figure 8 The part marked 10 represents the edge curve of the circular holes on both sides of the groove.

[0070] Combination Figures 5-7 To illustrate, a plane perpendicular to the endpoint of the winding curve 4 is created, and a circle with a diameter of 0.02 mm is created with that point as the center. By sweeping along the guide line, with the winding curve 4 as the guide line and the circle with a diameter of 0.02 mm as the section line 5, a swept solid is obtained. The groove is obtained by "subtracting" the solid from the cylinder where the curved groove is located. The side curves on both sides of the groove are extracted, and the wall thickness of the cylinder where the curved groove is located is recorded.

[0071] Through a series of precise geometric modeling operations, the geometric features of the zoom curve groove were systematically defined. First, a vertical plane was created at any endpoint of the winding curve, providing an accurate positioning reference for the subsequent generation of the cross-sectional circle and ensuring the geometric accuracy of the groove's starting position. Next, a cross-sectional circle was created on this vertical plane with the endpoint as its center, and its diameter was recorded. This not only clarified the cross-sectional dimensions of the groove but also provided key parameters for subsequent tool selection and machining depth control. Subsequently, this cross-sectional circle was swept along the winding curve, generating a swept entity that perfectly matches the winding curve path and cross-sectional shape. This entity accurately represents the ideal three-dimensional form of the zoom curve groove. By performing subtraction modeling on this swept entity and the structural component, the required groove can be accurately formed on the structural component, and the edge curves of the groove can be extracted. These edge curves are the direct basis for subsequent milling operations, especially the toolpath for finishing. Furthermore, the wall thickness of the structure containing the curve groove was recorded, providing important geometric constraints for subsequent milling information, especially for the formulation of finishing strategies, ensuring the rationality and safety of the machining process. Overall, these steps work together to transform the abstract curve groove design into a precise geometric model for machining that can be recognized and executed by CNC machine tools. This solves the problems of unclear geometric definition and difficulty in determining machining parameters for the zoom curve groove, laying a solid foundation for the subsequent generation of milling machining program code.

[0072] In one embodiment, to perform zoom curve slot milling more accurately and efficiently, the step of receiving milling information can be specifically performed as follows: Receive roughing milling information, which includes the diameter of the first milling tool and the roughing strategy. The roughing strategy is to perform layered machining according to the preset first machining depth, the tool entry method is to enter the tool obliquely along the path, and the cutting direction is climb milling. Specifically, during rough milling, the milling tool diameter is set to an end mill with a size of, for example, φ3.5mm (the width of the zoom curve groove is φ4mm-0.5mm). The machining strategy is set to layered machining, with each layer's toolpath having a machining depth of, for example, 0.5mm. The tool entry method is oblique entry along the path, and the cutting direction is climb milling.

[0073] Receive semi-finishing milling information, which includes the diameter of the second milling tool and the semi-finishing strategy. The semi-finishing strategy is to perform layered machining according to the preset second machining depth, the tool entry method is to enter the tool obliquely along the path, and the cutting direction is climb milling. Specifically, in semi-finish milling, the milling tool diameter is set to an end mill with a size of, for example, φ3.98mm (the width of the zoom curve groove is φ4mm-0.02mm). The machining strategy is set to layered machining, with each layer's toolpath having a machining depth of, for example, 0.2mm. The tool entry method is oblique entry along the path, and the cutting direction is climb milling.

[0074] Receive the roughness milling requirements of the zoom curve groove, and set the target toolpath step distance value according to the roughness milling requirements; Specifically, surface roughness milling requirements are an important indicator for measuring the quality of machined surfaces, usually expressed as Ra values. The target toolpath step distance refers to the distance between adjacent toolpaths, which directly affects the surface roughness. A smaller step distance results in lower surface roughness but longer machining time. Therefore, setting the step distance appropriately according to the roughness requirements is key to balancing machining efficiency and quality. Surface roughness milling requirements can be provided by design drawings or process specifications, for example, requiring Ra 0.8 or Ra 1.6. The system can have a built-in empirical formula or lookup table to automatically calculate the appropriate target toolpath step distance value based on the input roughness requirements and tool type (such as the radius of the end mill). For example, for a Ra 0.8 requirement, the step distance might be set to 0.005 mm; for an Ra 1.6 requirement, the step distance might be set to 0.01 mm.

[0075] Receive finishing milling information, which includes the diameter of the second milling tool and the finishing strategy. The finishing strategy is to perform contour milling according to the wall thickness value using full-edge milling with the tool side edge, with the cutting direction being climb milling and the toolpath step distance value being the target toolpath step distance value. Specifically, the diameter of the milling cutter used in semi-finishing milling and finishing milling is the same. However, the tool used in finishing milling is not the end mill used in semi-finishing. In finishing milling, the diameter of the milling cutter is set to an end mill with a size of, for example, φ3.98mm (the width of the variable curve groove is φ4mm-0.02mm). The machining method is contour milling, the machining strategy is set to full-edge milling with the tool side, the machining depth is set to the wall thickness of the cylinder where the curve groove is located, the tool entry method is oblique entry along the path, the cutting direction is climb milling, the tool path step distance is set to, for example, 0.005mm, and the cutting direction is climb milling.

[0076] This method for machining zoom curve grooves utilizes climb milling to ensure consistent surface roughness. During finishing, the tool side cutting is performed with a single depth cut, resulting in a smooth surface free of delamination and improved surface quality. Furthermore, this method requires only two end mill sizes; machining is completed by adjusting the machining model and generating the necessary program code, eliminating the need for custom-made end mills to meet varying machining precision requirements. This approach reduces machining costs, avoids the need for grinding different end mill sizes, and improves machining efficiency.

[0077] In one embodiment, to perform zoom curve slot milling more accurately and efficiently, the step of generating milling program code based on the winding curve, closed curve, and milling information can be specifically executed as follows: First, using the winding curve as the roughing toolpath trajectory, the roughing program code is generated based on the roughing milling information; Specifically, in the computer-aided programming software, the winding curve 4 is set as the roughing toolpath, the milling tool diameter is set to a φ3.5mm end mill (the zoom curve groove width is φ4mm-0.5mm), the machining strategy is set to layered machining, the machining depth of each layer is set to 0.5mm, and the tool entry method is oblique infeed along the path. This generates the roughing program code. In actual machining, a four-axis milling machining center is used, and the part is clamped using a face-clamping mandrel. The roughing of the zoom curve groove is completed by calling the roughing program code.

[0078] Then, using the winding curve as the semi-finishing toolpath trajectory, the semi-finishing program code is generated based on the semi-finishing milling information; Specifically, in the computer-aided programming software, the winding curve 4 is further set as the semi-finishing toolpath trajectory line. The milling tool diameter is set to a φ3.98mm end mill (the width of the zoom curve groove is φ4mm-0.02mm). The machining strategy is set to layered machining, with a machining depth of 0.2mm set for each layer of the toolpath. The tool entry method is oblique entry along the path, which generates the semi-finishing program code. In actual machining, a four-axis milling machining center is used. First, a φ3.5mm diameter end mill (the width of the zoom curve groove is φ4mm-0.5mm) is inserted into the rough-machined curve groove to determine the starting point of the curve groove. Then, the part is clamped and held in place using an internally tensioned mandrel. The semi-finishing of the zoom curve groove is completed by calling the semi-finishing program code.

[0079] Next, using the closed curve as the toolpath trajectory for finishing, the finishing program code is generated based on the finishing milling information; Specifically, the closed curve 6 is set as the finishing toolpath, and the milling tool is set to a φ3.98mm diameter end mill (the width of the zoom curve groove is φ4mm-0.02mm). This tool is not a semi-finishing end mill. The machining method is contour milling, the machining strategy is full-edge milling, the toolpath depth is set to the wall thickness of the cylinder containing the curve groove, the infeed method is oblique infeed along the path, the cutting direction is climb milling, and the toolpath stepover is set to 0.005mm. This generates the finishing program code. In actual machining, after the semi-finishing is completed, the four-axis milling machining center changes the tool to another φ3.98mm diameter end mill, and the finishing program code is retrieved to complete the finishing of the zoom curve groove.

[0080] Finally, the milling program code is obtained by combining the roughing program code, the semi-finishing program code, and the finishing program code.

[0081] Furthermore, it should be noted that when selecting the machining side for the zoom curve groove, due to objective factors such as different materials of the zoom curve groove structural components and different groove width values, changes in the selection of tool diameter value and depth of cut can achieve high surface quality machining of the zoom curve groove.

[0082] This application enables the generation of milling program code for the curved groove based on the constructed zoom curve groove machining model, thereby allowing the setting of step distance value during generation, which can be used to reduce the step distance and improve the surface roughness of the zoom curve groove machining surface.

[0083] In one embodiment, to perform zoom curve groove milling more accurately and efficiently, after milling the zoom curve groove according to the milling program code, the following steps can also be performed: The width of the zoom curve groove after machining is obtained by measuring the groove width. The groove width is compared with the preset standard groove width to obtain the groove width difference. It is then determined whether the groove width difference is within the preset error allowable range. If the groove width difference is within the preset error allowable range, the milling is considered complete. Otherwise, the milling is considered incomplete, and the milling is repeated according to the groove width difference.

[0084] Specifically, after the initial milling process, the machined zoom curve groove is precisely measured to obtain its actual groove width. This actual measurement is then compared with a pre-set standard curve groove width to calculate the difference. This difference is a key indicator of machining accuracy. Next, it is determined whether this difference falls within a preset error tolerance range. If the difference is within the tolerance range, the milling process has met design requirements and can be considered complete. Conversely, if the difference exceeds the tolerance range, it indicates a machining deviation. In this case, machining is not simply terminated; instead, it is determined that the milling is incomplete, and the detected difference is used as feedback to guide subsequent re-milling.

[0085] This closed-loop quality control and adaptive adjustment process enables the machining process to be dynamically corrected according to actual conditions, effectively overcoming the accuracy problems caused by various uncertainties in traditional open-loop machining, and ensuring the quality and consistency of the final product. In this way, the solution proposed in this application elevates the machining process from a simple execution of instructions to an intelligent manufacturing process with self-detection and correction capabilities, significantly improving the reliability and pass rate of machining.

[0086] In one embodiment, to perform zoom curve slot milling more accurately and efficiently, the step of re-milling based on the slot width difference can be specifically executed as follows: First, adjust the diameter of the cross-section circle according to the difference in groove width to obtain the adjusted diameter of the cross-section circle. Then, adjust the edge curve of the circular hole according to the adjusted diameter of the cross-section circle to obtain the edge curve of the circular hole. Specifically, the diameter of the cross-sectional circle is adjusted based on the difference in groove width. The adjusted diameter of the cross-sectional circle = the original diameter of the cross-sectional circle + the difference in groove width. For example, the dimensions of the finished curved groove are measured using an online measuring device. The result is φ3.995mm, while the groove width specified in the drawing is φ4.01mm, meaning the difference between the theoretical and measured groove width is 0.015mm. In this case, without changing the tool, the diameter of cross-sectional circle 5 is adjusted from 0.02mm to 0.035mm to obtain the adjusted circular hole edge curve.

[0087] Next, at any endpoint of the winding curve, create an adjusted section circle with the adjusted section circle diameter. Sweep the adjusted section circle along the winding curve to obtain an adjusted groove on the structural part. Extract the adjusted groove edge curve of the adjusted groove. Construct an adjusted closed curve based on the adjusted hole edge curve and the adjusted groove edge curve. Specifically, a vertical plane perpendicular to the endpoint is created at any endpoint of the winding curve; an adjusted cross-section circle is created on the vertical plane with the endpoint as the center and the adjusted cross-section circle diameter; the cross-section circle is swept along the winding curve to obtain a swept entity; the swept entity and the structural component are subtracted to model the groove, the groove edge curve is extracted, the wall thickness value of the structure where the curve groove is located is recorded, and the adjusted closed curve is constructed based on the adjusted circular hole edge curve and the adjusted groove edge curve.

[0088] Then, record the adjusted wall thickness of the structure containing the groove, and adjust the finishing milling information according to the adjusted wall thickness to obtain the adjusted finishing milling information; Specifically, during finish milling, the end mill with a diameter of φ3.98mm (for the zoom curve groove width φ4mm-0.02mm) is used. The machining method is contour milling, the machining strategy is full-edge milling, the toolpath depth is set to the adjusted wall thickness, the feed method is oblique feed along the path, the cutting direction is climb milling, and the toolpath step distance is set to, for example, 0.005mm.

[0089] Next, using the adjusted closed curve as the toolpath trajectory for finishing, the adjusted finishing milling program code is generated based on the adjusted finishing milling information; the zoom curve groove is then milled again based on the adjusted finishing milling program code.

[0090] Specifically, the adjusted closed curve is set as the finishing toolpath trajectory. The milling tool is set to a φ3.98mm diameter end mill (the zoom curve groove width is φ4mm-0.02mm). This tool is not a semi-finishing end mill. The machining method is contour milling, the machining strategy is full-edge milling, the toolpath depth is set to the adjusted wall thickness, the infeed method is oblique infeed along the path, the cutting direction is climb milling, and the toolpath stepover is set to 0.005mm. This generates the finishing program code. Then, the zoom curve groove is milled again according to the adjusted finishing program code to obtain the zoom curve groove that meets the drawing requirements.

[0091] This application performs dimensional inspection on the machined curved groove, and achieves fine adjustment of the curved groove by dynamically adjusting the machining model, corresponding curved groove machining strategy and milling program code, so that the curved groove better meets the drawing requirements.

[0092] Based on the above method, this application also discloses a variable-focus curve groove milling system. For example... Figure 9 The system includes the following modules: The point cloud data receiving module 901 is used to receive the point cloud data of the center line on the zoom curve groove and to transform the point cloud data to obtain coordinate data. The winding curve construction module 902 is used to obtain a continuous curve by fitting coordinate data, and then winding the continuous curve onto the cylindrical surface of the structural component where the zoom curve groove is located to obtain the winding curve. The groove edge curve extraction module 903 is used to create a cross-sectional circle at any end position of the winding curve, sweep the cross-sectional circle along the winding curve to obtain a groove on the structural component, and extract the groove edge curve of the groove. The closed curve construction module 904 is used to create circular holes with the same diameter as the cross-sectional circle at the center of both sides of the groove and extract the edge curve of the circular hole, and construct a closed curve based on the edge curve of the circular hole and the edge curve of the groove. The milling module 905 is used to receive milling information, generate milling program code based on the winding curve, closed curve and milling information, and perform milling of the zoom curve groove according to the milling program code.

[0093] In one embodiment, the point cloud data receiving module 901 is specifically used to convert the point cloud data into coordinate data in the Cartesian coordinate system, and the conversion formula is as follows:

[0094] in, These are the angular coordinates in the point cloud data; The elevation coordinates in the point cloud data and the elevation coordinates in the transformed Cartesian coordinate system; These are the unfolding direction coordinates in the Cartesian coordinate system after the point cloud data has been transformed. These are the planar coordinates in the Cartesian coordinate system after the point cloud data has been transformed. The diameter of the cylindrical surface of the structural component containing the zoom curve groove.

[0095] In one embodiment, the groove edge curve extraction module 903 is specifically used to create a vertical plane perpendicular to the endpoint at any endpoint of the winding curve; create a cross-sectional circle with the endpoint as the center on the vertical plane, and record the diameter of the cross-sectional circle; sweep the cross-sectional circle along the winding curve to obtain a swept entity; perform subtraction modeling on the swept entity and the structural component to obtain a groove, and extract the groove edge curve of the groove; and record the wall thickness value of the structure where the curved groove is located.

[0096] In one embodiment, the milling module 905 is specifically configured to receive roughing milling information, which includes a first milling tool diameter and a roughing strategy. The roughing strategy involves layered machining according to a preset first machining depth, with the tool infeed method being oblique infeed along the path and the cutting direction being climb milling. It also receives semi-finishing milling information, which includes a second milling tool diameter and a semi-finishing strategy. The semi-finishing strategy involves layered machining according to a preset second machining depth, with the tool infeed method being oblique infeed along the path and the cutting direction being climb milling. Furthermore, it receives roughness milling requirements for a variable focal length curve groove and sets a target toolpath step distance value based on these requirements. Finally, it receives finishing milling information, which includes a second milling tool diameter and a finishing strategy. The finishing strategy involves contour milling according to the wall thickness value using a full-edge milling method with the tool side edge, with the cutting direction being climb milling and the toolpath step distance value being the target toolpath step distance value.

[0097] In one embodiment, the milling module 905 is specifically used to generate roughing program code based on roughing milling information using a winding curve as the roughing toolpath trajectory; generate semi-finishing program code based on semi-finishing milling information using a winding curve as the semi-finishing toolpath trajectory; generate finishing program code based on finishing milling information using a closed curve as the finishing toolpath trajectory; and combine the roughing program code, semi-finishing program code, and finishing program code to obtain the milling program code.

[0098] In one embodiment, the milling module 905 is specifically used to measure the width of the processed zoom curve groove, compare the width of the curve groove with the preset standard curve groove width to obtain the groove width difference, determine whether the groove width difference is within a preset error allowable range, and if the groove width difference is within the preset error allowable range, then the milling is determined to be completed; otherwise, the milling is determined to be incomplete, and the milling is re-performed according to the groove width difference.

[0099] In one embodiment, the milling module 905 is specifically used to adjust the diameter of the cross-section circle according to the groove width difference to obtain the adjusted diameter of the cross-section circle, and to adjust the edge curve of the circular hole according to the adjusted diameter of the cross-section circle to obtain the edge curve of the circular hole. At any endpoint of the winding curve, create an adjusted section circle with the adjusted section circle diameter. Sweep the adjusted section circle along the winding curve to obtain an adjusted groove on the structural part. Extract the adjusted groove edge curve. Construct an adjusted closed curve based on the adjusted hole edge curve and the adjusted groove edge curve. Use the adjusted closed curve as the finishing toolpath and generate the adjusted finishing program code based on the finishing milling information. Perform the milling of the zoom curve groove again based on the adjusted finishing program code.

[0100] The application also discloses a computer device.

[0101] Specifically, the computer device includes a memory and a processor, the memory storing a computer program that can be loaded by the processor and executed as described above for a zoom curve groove milling method.

[0102] This application also discloses a computer-readable storage medium.

[0103] Specifically, the computer-readable storage medium stores a computer program that can be loaded by a processor and executed as described above for a zoom curve groove milling method. The computer-readable storage medium includes, for example, various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0104] This specific embodiment is merely an explanation of the present invention and is not intended to limit the invention. After reading this specification, those skilled in the art can make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they are within the scope of the claims of the present invention.

Claims

1. A method for milling variable focal length curve grooves, characterized in that, The method includes: Receive the point cloud data of the center line on the zoom curve groove, and perform coordinate transformation on the point cloud data to obtain coordinate data; A continuous curve is obtained by fitting the coordinate data to the curve, and the continuous curve is wound around the cylindrical surface of the structural component where the zoom curve groove is located to obtain a winding curve; Create a cross-sectional circle at any endpoint of the winding curve, sweep the cross-sectional circle along the winding curve to obtain a groove on the structural member, and extract the groove edge curve of the groove. Create circular holes with the same diameter as the cross-sectional circle at the center of both sides of the groove and extract the edge curve of the circular holes. Construct a closed curve based on the edge curve of the circular holes and the edge curve of the groove. Receive milling information, generate milling program code based on the winding curve, the closed curve and the milling information, and perform milling of the zoom curve groove according to the milling program code.

2. The method according to claim 1, characterized in that, The point cloud data includes angular coordinates and elevation coordinates. The coordinate transformation of the point cloud data to obtain coordinate data includes: The point cloud data is converted to coordinate data in the Cartesian coordinate system using the following formula: in, These are the angular coordinates in the point cloud data; The elevation coordinates in the point cloud data and the elevation coordinates in the transformed Cartesian coordinate system; These are the unfolding direction coordinates in the Cartesian coordinate system after the point cloud data has been transformed. These are the planar coordinates in the Cartesian coordinate system after the point cloud data has been transformed. The diameter of the cylindrical surface of the structural component containing the zoom curve groove.

3. The method according to claim 1, characterized in that, The process involves creating a cross-sectional circle at any endpoint of the winding curve, sweeping the cross-sectional circle along the winding curve to obtain a groove on the structural member, and extracting the groove edge curve of the groove, including: Create a vertical plane perpendicular to any endpoint of the winding curve; Create a cross-sectional circle on the vertical plane with the endpoint as the center, and record the diameter of the cross-sectional circle; The cross-sectional circle is swept along the winding curve to obtain a swept solid; The groove is obtained by subtracting the swept entity and the structural component, and the groove edge curve is extracted. Record the wall thickness of the structure containing the curved groove.

4. The method according to claim 3, characterized in that, The received milling information includes: Receive roughing milling information, the roughing milling information includes the diameter of the first milling tool and the roughing strategy, the roughing strategy is to perform layered machining according to a preset first machining depth, the tool entry method is to enter the tool obliquely along the path, and the cutting direction is climb milling; Receive semi-finishing milling information, the semi-finishing milling information includes the diameter of the second milling tool and the semi-finishing strategy, the semi-finishing strategy is to perform layered machining according to a preset second machining depth, the tool entry method is to enter the tool obliquely along the path, and the cutting direction is climb milling; Receive the roughness milling requirements of the zoom curve groove, and set the target toolpath step value according to the roughness milling requirements; Receive finishing milling information, the finishing milling information includes the diameter of the second milling tool and the finishing strategy, the finishing strategy is to perform contour milling with full cutting edge milling of the tool side edge according to the wall thickness value, the cutting direction is climb milling, and the toolpath step distance value is the target toolpath step distance value.

5. The method according to claim 4, characterized in that, The generation of milling program code based on the winding curve, the closed curve, and the milling information includes: Using the winding curve as the roughing toolpath trajectory, roughing program code is generated based on the roughing milling information; Using the winding curve as the semi-finishing toolpath trajectory, generate semi-finishing program code based on the semi-finishing milling information; Using the closed curve as the toolpath trajectory for finishing, and generating finishing program code based on the finishing milling information; The milling program code is obtained by combining the roughing program code, semi-finishing program code, and finishing program code.

6. The method according to claim 5, characterized in that, After milling the zoom curve groove according to the milling program code, the method further includes: The width of the zoom curve groove after processing is obtained by measuring the width of the curve groove, and the difference in groove width is obtained by comparing the width of the curve groove with the preset standard curve groove width. Determine whether the difference in groove width is within a preset error allowable range; If the difference in groove width is within the preset error allowable range, then the milling process is determined to be complete; Conversely, if the milling is not completed, the milling process is determined to be incomplete, and the milling process is repeated based on the groove width difference.

7. The method according to claim 1, characterized in that, The step of re-milling based on the groove width difference includes: The diameter of the cross-section circle is adjusted according to the groove width difference to obtain the adjusted diameter of the cross-section circle, and the edge curve of the circular hole is adjusted according to the adjusted diameter of the cross-section circle to obtain the edge curve of the circular hole. At any endpoint of the winding curve, an adjusted section circle is created with the diameter of the adjusted section circle. The adjusted section circle is swept along the winding curve to obtain an adjusted groove on the structural member. The adjusted groove edge curve is extracted. Construct an adjusted closed curve based on the adjusted circular hole edge curve and the adjusted groove edge curve; Using the adjusted closed curve as the toolpath trajectory for finishing, the adjusted finishing program code is generated based on the finishing milling information; The zoom curve groove is milled again according to the adjusted finishing program code.

8. A variable-focus curve groove milling system, characterized in that, The system includes: Point cloud data receiving module (901) is used to receive point cloud data of the center line on the zoom curve groove and to transform the point cloud data to obtain coordinate data; The winding curve construction module (902) is used to fit the coordinate data to obtain a continuous curve, and to wind the continuous curve onto the cylindrical surface of the structure where the zoom curve groove is located to obtain a winding curve; The groove edge curve extraction module (903) is used to create a cross-sectional circle at any end position of the winding curve, sweep the cross-sectional circle along the winding curve to obtain a groove on the structural member, and extract the groove edge curve of the groove. The closed curve construction module (904) is used to create circular holes with the same diameter as the cross-sectional circle at the center of both sides of the groove and extract the circular hole edge curve, and construct a closed curve based on the circular hole edge curve and the groove edge curve; The milling module (905) is used to receive milling information, generate milling program code based on the winding curve, the closed curve and the milling information, and perform milling of the zoom curve groove according to the milling program code.

9. A computer device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer program is stored that can be loaded by a processor and executed according to any one of claims 1 to 7.