Patent ID: 8255184

Claim:
A programming system of a coordinate measuring machine, the programming system comprising: a storage system; at least one processor; and a programming unit stored in the storage system and executable by the at least one processor, the programming unit comprising: a point cloud receiving module operable to receive a point cloud of a manufactured part from a three-dimensional scanner; a point cloud processing module operable to filter the point cloud and construct a polygonal mesh model of the manufactured part according to the filtered point cloud; an element fitting module operable to fit a series of basic measurement elements according to the polygonal mesh model of the manufactured part, wherein the basic measurement elements are directly measurable by the coordinate measuring machine; an element constructing module operable to construct a series of relational measurement elements depicting various geometric relationships of the basic measurement elements, wherein the relational measurement elements are not directly measurable by the coordinate measuring machine; a coordinate system establishing module operable to establish a part coordinate system based upon the polygonal mesh model of the manufactured part by fitting a plane as a reference plane of the part coordinate system of the manufactured part according to the polygonal mesh model of the manufactured part, determining a first coordinate axis of the part coordinate system according to the reference plane, determining a second coordinate axis of the part coordinate system in the reference plane, determining a third coordinate axis of the part coordinate system according to the first coordinate axis and the second coordinate axis based upon right-handed rule, and determining a point as the coordinate origin of the part coordinate system; an inspection path generating module operable to generate an inspection path of the basic measurement elements, detect collisions between the coordinate measuring machine and the manufactured part on the inspection path, and modify the inspection path according to the collision detection, so as to obtain a collision-free inspection path of the manufactured part; and an output module operable to integrate the basic measurement elements, the relational measurement elements, the part coordinate system, and the collision-free inspection path to generate a measurement program of the manufactured part, and output the measurement program to the coordinate measuring machine, wherein the measurement program is executable by the coordinate measuring machine to measure other manufactured parts identical to the manufactured part.