# US 2026/0115862 A1 · Off-line programming method for full 6-axis cnc rough machining and grinding equipment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0115862 A1
- Document ID: US20260115862A1
- Status: Published application
- Kind: A1
- Application number: 19/156,404
- Filed: 2025-01-15
- Published: 2026-04-30
- Earliest claimed: 2024-01-16
- Assignees: Zhejiang Wanfeng Technology Development Co., Ltd
- Applicants: Zhejiang Wanfeng Technology Development Co., Ltd
- Inventors: Xuxia ZHANG; Jun WU; Xiangbin KONG; Gaochi QIAN; Bingfeng CHEN; Guoyu XU; Runwei LU; Junhua HE; Mengjie WANG; Chunlei WANG
- Web page: https://patentgrep.com/patent/US20260115862A1

## CPC

- B24B 51/00: Arrangements for automatic control of a series of individual steps in grinding a workpiece (if applicable to other machine tools, G05B takes precedence)
- B23P 23/02: Machine tools for performing different machining operations (lathes, e.g. capstan lathes, B23B; combined horizontal boring and milling machines B23B39/02)
- B24B 1/00: Processes of grinding or polishing; Use of auxiliary equipment in connection with such processes
- B24B 9/00: Machines or devices designed for grinding edges or bevels on work or for removing burrs; Accessories therefor (B24B21/00 takes precedence; for sharpening cutting edges on tools B24B3/00; removing burrs by loose abrasive material B24B31/00)
- B24B 9/04: of metal, e.g. skate blades {(B24B3/003 takes precedence)}
- B24B 27/00: Other grinding machines or devices
- B24B 41/06: Work supports, e.g. adjustable steadies (B24B37/27 takes precedence)
- B24B 47/12: by mechanical gearing or electric power (B24B47/16 takes precedence)
- B24B 49/00: Measuring or gauging equipment for controlling the feed movement of the grinding tool or work; Arrangements of indicating or measuring equipment, e.g. for indicating the start of the grinding operation (B24B33/06, B24B37/005 take precedence; if applicable to other machine tools, B23Q15/00 - B23Q17/00 take precedence)
- B24B 55/06: Dust extraction equipment on grinding or polishing machines (B24B31/12 takes precedence)
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- B24B: MACHINES, DEVICES, OR PROCESSES FOR GRINDING OR POLISHING (grinding of gear teeth B23F, of screw-threads B23G1/36; by electro-erosion B23H; abrasive or related blasting B24C; tools for grinding, buffing or sharpening B24D; polishing compositions C09G1/00; abrasives C09K3/14; electrolytic etching or polishing C25F3/00; grinding arrangements for use on assembled railway tracks E01B31/17); DRESSING OR CONDITIONING OF ABRADING SURFACES; FEEDING OF GRINDING, POLISHING, OR LAPPING AGENTS
- B23P: METAL-WORKING NOT OTHERWISE PROVIDED FOR; COMBINED OPERATIONS; UNIVERSAL MACHINE TOOLS (arrangements for copying or controlling B23Q)
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

Provided is an off-line programming method for full 6-axis CNC rough machining and grinding equipment, which includes: importing a three-dimensional model of a product into CAM software, interactively setting information, such as a workpiece coordinate system and a tool coordinate system, selecting a required tool path, and generating trajectory data; importing the three-dimensional model and the trajectory data into off-line programming software, and simplifying the trajectory data; implementing an overall offset function, a single-point offset function and posture adjustment for the trajectory data in the tool coordinate system; implementing the simulated operation of a tool and collision detection; generating, according to the trajectory data and tool data, an NC program conforming to a program standard; creating, by the 6-axis equipment, a workpiece coordinate system on the product; and monitoring an operating state. The provided solves the problems of low programming efficiency for grinding complex-structured products.

## Claims

### Claim 1

An off-line programming method for full 6-axis CNC rough machining and grinding equipment, comprising:
1) importing a three-dimensional model of a product into CAM software, interactively setting information, such as a workpiece coordinate system and a tool coordinate system, selecting a required tool path, and generating trajectory data;
2) importing the three-dimensional model and the trajectory data into off-line programming software, and simplifying, by a fitting algorithm, the trajectory data;
3) implementing an overall offset function, a single-point or multi-point offset function, re-matching generation of an arc trajectory after offset and single-point or multi-point posture adjustment for the trajectory data in the tool coordinate system;
4) implementing a simulated operation of a tool and collision detection;
5) generating, according to the trajectory data and tool data, an NC program conforming to a program standard of the full 6-axis CNC rough machining and grinding equipment, and uploading the NC program to an equipment controller;
6) setting, by the full 6-axis CNC rough machining and grinding equipment, workpiece coordinates according to an actual state of the product, and starting to run a program file; and
7) monitoring, by the off-line programming software, an operating state of the equipment in real time.

### Claim 2 (depends on 1)

The off-line programming method for the full 6-axis CNC rough machining and grinding equipment according to claim 1, wherein simplifying, by the fitting algorithm, the trajectory data comprises:
performing field analysis on the trajectory data, extracting field data, and performing coordinate transformation to obtain trajectory segment information in the workpiece coordinate system, where the field data at least comprises instruction mode, points, coordinates, normal vector, and velocity;
calculating a curvature value of each point according to the trajectory segment information, deleting, according to a threshold judgment result of the curvature value of each point, abnormal points, and retaining curvature values of normal points; and
performing, according to control of inner and outer thresholds set in a feeding direction of the tool and control of a threshold for a relative angle change between a normal direction and the feeding direction of the tool, linear fitting and spatial arc fitting on the normal points in the trajectory segment information after global adaptive segmentation, thereby simplifying the trajectory data.

### Claim 3 (depends on 2)

The off-line programming method for the full 6-axis CNC rough machining and grinding equipment according to claim 2, wherein the control of inner and outer thresholds set in the feeding direction of the tool comprises:
step 3.1: creating an empty point set S1;
step 3.2: in a trajectory region composed of short line segments, adding any point as a first starting point into the point set S1;
step 3.3: taking a next point ahead as a subsequent point along a trajectory direction from the first starting point, judging whether a curvature of the subsequent point approximates a curvature of a previous point or not, and if curvatures of two points approximate each other, adding the subsequent point into the point set S1; and
step 3.4: fitting points in the point set S1 by adopting a straight line segment or an arc segment on a tool plane, and calculating an error value between each point in the point set S1 and a fitted line segment; if the error value does not exceed the preset inner and outer thresholds, continuing to move forward along the trajectory direction, returning to step 3.3 to repeat the process, and adding the points into the point set S1; and if the error value exceeds the inner and outer thresholds, stopping fitting, deleting a last point from the point set S1, and using the line segment fitted based on the points in the point set S1 as a new trajectory to replace the short line segment where the point in the point set S1 is located.

### Claim 4 (depends on 3)

The off-line programming method for the full 6-axis CNC rough machining and grinding equipment according to claim 3, wherein when the required tool path is a plain milling path, the inner and outer thresholds are set to 50% to 60% of a radius length of the tool; when the required tool path is a side milling path and a path plane is parallel to a tool direction, the inner and outer thresholds are set to 50% to 60% of the edge length; and when the required tool path is a side milling path and the path plane is perpendicular to the tool direction, the inner and outer thresholds are set to an allowable residual error value for grinding.

### Claim 5 (depends on 2)

The off-line programming method for the full 6-axis CNC rough machining and grinding equipment according to claim 2, wherein the control of the threshold for the relative angle change between the normal direction and the feeding direction of the tool comprises:
step 5.1: when continuous points in the trajectory segment information are detected to lie on the same plane with height variation in a Z direction of the tool, marking the continuous points as a point set S2, and calculating included angles between the normal direction of the tool and the feeding direction for all points in the point set S2;
step 5.2: taking any point in the point set S2 as a second starting point;
step 5.3: taking another point in the point set S2 as a comparative point, and comparing an included angle change rate between the second starting point and the comparative point, where the included angle change rate is defined as a difference between two included angles divided by a distance between two points;
step 5.4: if the included angle change rate is greater than a change threshold, taking the comparative point as the second starting point, and repeating step 5.3 until all the points in the point set S2 are traversed; and
step 5.5: if the included angle change rate is not greater than the change threshold, deleting the comparative point from the point set S2, and returning to step 5.3 to select a next point as a comparative point until all the points in the point set S2 are traversed.

### Claim 6 (depends on 2)

The off-line programming method for the full 6-axis CNC rough machining and grinding equipment according to claim 2, wherein the least square method is adopted to control errors during straight line fitting and spatial arc fitting, and short line segments are changed into long straight lines or spatial arc segments.

### Claim 7 (depends on 1)

The off-line programming method for the full 6-axis CNC rough machining and grinding equipment according to claim 1, wherein the CAM software refers to MasterCam software, and the trajectory data is an NCI file exported from the MasterCam software.

### Claim 8 (depends on 1)

The off-line programming method for the full 6-axis CNC rough machining and grinding equipment according to claim 1, wherein the equipment, the tool, the product and the program file are loaded into the off-line programming software before the simulated operation of the tool is implemented.

### Claim 9 (depends on 1)

The off-line programming method for the full 6-axis CNC rough machining and grinding equipment according to claim 1, wherein the method is applied to the full 6-axis CNC rough machining equipment which comprises a machine tool mounted on a base, where the machine tool is provided with linear motion axes, rotational motion axes, a rotary cutterhead, and a workpiece mounting chuck, the linear motion axes comprise an X axis, a Y axis, and a Z axis, the rotational motion axes comprise an A axis, a B axis, and a C axis, the X axis is located on the machine tool, the Y axis is located on the base, the Z axis is located in front of the X axis, the A axis is located above the Y axis, the B axis is located in front of the Z axis, the C axis is located below the A axis, the workpiece mounting chuck is located on the C axis, and the rotary cutterhead is located on the B axis.

### Claim 10 (depends on 9)

The off-line programming method for the full 6-axis CNC rough machining and grinding equipment according to claim 9, wherein the X axis is provided with an X axis lead screw, and an X axis motor is arranged at an end of the X axis lead screw; the Y axis is provided with a Y axis lead screw, and a Y axis motor is arranged at an end of the Y axis lead screw; and the Z axis is provided with a Z axis lead screw, and a Z axis motor is arranged at an end of the Z axis lead screw.
