This invention discloses a method,
system, device, and storage medium for generating three-dimensional
cutting trajectories, comprising the following processes: acquiring a CAD model of the finished product, extracting
cutting trajectory lines, and generating a three-dimensional
point cloud of the CAD model; scanning the workpiece to be
cut to generate a three-dimensional
point cloud of the workpiece; registering the three-dimensional
point cloud of the CAD model and the three-dimensional point cloud of the workpiece to be
cut, calculating the
transformation matrix, and performing coordinate
system transformation on the CAD model according to the
transformation matrix; generating a set of
cutting poses based on the cutting trajectory lines and the
transformation matrix, performing translation and rotation adjustments,
smoothing, sorting, deformation compensation, and
robot kinematics checks on the set of cutting poses to generate a set of cutting trajectories containing multiple cutting trajectories; and generating a cutting program based on a recognizable
syntax based on the set of cutting trajectories containing multiple cutting trajectories.