摘要:
In a method for establishing a three-dimensional coordinate system, the method establishes an original coordinate system in a design drawing of a product, and draws a hollow cube. Faces of the hollow cube are marked with different directions. Using the hollow cube, the method calculates a first matrix for correcting the original coordinate system according to a selected plane from the design drawing. The method also calculates a second matrix for correcting the original coordinate system according to a selected line, and calculates a third matrix for correcting the original coordinate system according to a selected point or a center of a selected circle. By multiplying the three matrixes, a new matrix is generated to establish a new coordinate system, which is displayed on a display screen.
摘要:
A computing device determines N number of execution units that a CPU has and creates N number of threads, divides a point-cloud document into N number of blocks, and stores data in the N number of blocks into N number of arrays. The computing device determines X, Y, Z coordinate values of each point in each block of the point-cloud document according to separators among data in the block, and stores the X, Y, Z coordinate values of each point into corresponding arrays. The computing device combines all of the N number of arrays into one array, and generates a point-cloud according to the coordinate values of each point in the combined array.
摘要:
A method simulates a probe of a workpiece measuring device using an electronic device. The electronic device correlates component names of the probe to a corresponding CAD modeling file, reads the CAD modeling files from a first file according to a drawing order of the probe, and draws a three-dimensional (3D) model of the probe according to the drawing order and the relative positions between each two components. The first file includes specifications of components of the probe, the component names, file names of computer aided design (CAD) modeling files of the components, and relative positions between each two components. After controlling the 3D model to simulate the probe measuring the measurement points, and a measurement path is displayed on a display screen.
摘要:
An electronic device and method creates a part coordinate system of a three-dimensional (3D) product model based on dimensional information in a two-dimensional (2D) drawing of the product, determines transformation matrices of the part coordinate system relative to a machine coordinate system of the measuring machine, and automatically adjusts the orientation of the product model in the machine coordinate system, to align the part coordinate system with the machine coordinate system.
摘要:
A method for programming a measuring program into a computing device. The computing device selects a partial drawing from a panoramic drawing of a product using a frame, and marks the frame in the panoramic drawing. The computing device sets a pattern of a report and shows the partial drawing and the panoramic drawing in the report. The computing device adjusts a size of the panoramic drawing and the size of the panoramic drawing in the report until the panoramic drawing does not superpose on the partial drawing in the report. The computing device generate a measuring program which is capable of executing the procedure mentioned above.
摘要:
In a method for aligning a part of a product (moving object) with a reference object, triangle data of the moving object is acquired, and feature elements of the moving object is fitted according to the triangle data. Feature elements of the reference object which match the feature elements of the moving object are determined, and the moving object is moved from a position of a center point of the feature elements of the moving object to a position of a center point of the matched feature elements of the reference object. A moving-and-rotating matrix of the moving object is obtained according to Quasi-Newton methods, and the moving object and the reference object are aligned by moving and rotating the moving object according to the moving-and-rotating matrix.
摘要:
A method for checking a boundary line graph using a computing device. The computing device adds a segment line between two adjacent endpoints of the boundary line graph, if the two adjacent endpoints are not connected using the segment line. The computing device removes the segment lines of the endpoints corresponding to intersection points, if the number of the intersection points is not equal to the number of the endpoints. The computing device changes label characters of the endpoints to be arranged in a predetermined order, if an order of the label characters of the endpoints is not a predetermined order according to the boundary line vector.
摘要:
A method processes measurement data of an object using a computing device. The method obtains measurement data of preselected feature elements of a measured object, inserts the measurement data of the preselected feature elements into a data list, obtains measured results of the preselected feature elements from a measurement tool, and calculates tolerance values of the preselected feature elements according to the measured results. The method further searches pixel icons of the preselected feature elements according to tolerance values and the measured results, inserts the pixel icons and the measured results into the data list, receives selections of a user and displays the data list in different list modes.
摘要:
In a method for establishing a safety plane in coordinate measurements, the method meshes a 3D model of a workpiece and a probe by triangles, and calculates a maximum bounding box of the probe. The method further obtains a moving path of the maximum bounding box after moving the maximum bounding box from a first measuring point to a second, and obtains a maximum space box of the moving path. If the maximum space box has one or more intersections with the workpiece, the method calculates a distance between vertices of each of the triangles falling within the maximum space box and a bottom face of the maximum space box, and obtains a point in the bottom face of the maximum space box that has a maximum distance from the triangles. By correcting a plane containing the point, the safety plane is obtained.
摘要:
In a method for updating coordinate systems in editing a measurement program, the method imports a data array including measurement elements of a workpiece, and creates a program template. By inserting the program template in the data array that is after a measurement element, the method creates a coordinate system and calculates a coordinate matrix for the coordinate system. After the measurement elements in a position of the data array that are after the program template are updated using the coordinate matrix, a measurement program is generated and displayed on a display screen.