摘要:
A method for reducing a point cloud includes receiving a mesh point cloud file uploaded to an electronic device and obtaining a number of data points of the point cloud from the mesh point cloud file, calculating a bounding box of the point cloud from the number of data points, dividing the bounding box into a number of cubes, determining effective cubes of the plurality of cubes, calculating a mean curvature of each of the effective cubes, determining a type of each of the effective cubes according to the mean curvature, reducing each effective cube according to the type of the effective cube to obtain a post-reduction cube, combining the post-reduction cubes to obtain a post-reduction point cloud, and restoring a mesh point cloud of the point cloud according to the post-reduction point cloud. An electronic device for reducing a point cloud is also provided.
摘要:
A computing device debugs a computerized numerical control (CNC) machine. The computing device generates an average contour of a product. The computing device generates a reference contour according to the path points of a CNC program. The computing device calculates a coordinate difference between each path point of the reference contour and the corresponding contour point of the average contour. The computing device compensates each coordinate of the path points using the coordinate difference.
摘要:
Method of pairing accessories includes obtaining coordinates of outline points of first accessories and second accessories of a product. The outline points of the first accessories and the second accessories are assigned numbers. Each of the first accessories and each of the second accessories are transported to a corresponding location according to the assigned numbers. A second accessory is determined to pair with each of the first accessories according to the coordinates of the outline points of the first accessories and the second accessories. Paired first and second accessories are transported from corresponding locations into a first box for assembly, and unpaired first and second accessories are transported into a second box by a the transport system.
摘要:
A method for validating computer numerical control (CNC) production capability is applied in a computing device. The CNC machine produces a predetermined number of products. A scanner scans each product to obtain a point cloud of each product. The computing device selects one point cloud of one product as a base point cloud, and fits a geometry based on the base point cloud. The computing device calculates a deviation between each point in each other point cloud and the geometry, and determines whether the production capability of the CNC machine is qualified according to calculated deviations.
摘要:
A computing device and a method detect a lightness of a lighting device. The computing device captures an image of the lighting device and parses the image to obtain a pixel gray value of each lighting dot of the lighting device. The computing device obtains detection information of the lighting device according to the pixel gray value of each lighting dot of the lighting device. The computing device generates a detection report of the lighting device according to the detection information of the lighting device.
摘要:
In a method for simplifying point clouds of an object using a computing device, a point cloud of the object is obtained from a scanning device connected to the computing device, and the point cloud is meshed into triangulated grids. The triangulated grids are selected from the point cloud, and a number of simplification passes to simplify the triangulated grids is received from an input device. The triangulated grids of triangles are classified according to a shape of each grid and a location of each grid in the point cloud. Each type of triangulated grid is simplified to obtain simplified grids by performing a loop triangular grid function with the number of simplification passes. The simplified grids are smoothed and the cloud model of the object can be displayed.
摘要:
An electronic device including a processing unit and a storage device receives a point cloud, and converts the point cloud into a mesh model including a first surface and a second surface engaged with the first surface. Then, the processing unit determines a plurality of first boundary points on the first surface, generates a plurality of first projection points for the plurality of first boundary points on the second surface, and generates a first fixed area based on the plurality of first projection points. The processing unit divides the first fixed area into a plurality of first sub-areas and adds a first additional point into each of the plurality of first sub-areas.
摘要:
A computing device compensates a coordinate of a position device for a computerized numerical control (CNC) machine. The computing device generates a point cloud according to contour points of the position device. The computing device deletes selected contour points from the point cloud upon the condition that the distance corresponding to each selected contour point exceeds a predetermined threshold. The computing device calculates an average coordinate of the contour points which are remained in the point cloud.
摘要:
In a method for compensating step value of a processing product placed on a machining device using a computing device, a machining tool of the machining device is controlled to be moved to each benchmark point in sequence. Actual coordinate values of each benchmark point is calculated by a laser detection device of the machining device. The acquired actual coordinate values are fitted to be a benchmark plane. New coordinate values of each machining point in a machining program is acquired by rotating each of the machining points to the benchmark plane. The machining tool is controlled to move to each machining point according to the calculated new coordinate values and an actual z coordinate value of each machining point is acquired using the laser detection device. The step compensation value in Z-axis of the each machining point is calculated and transmitted to the machining device.
摘要:
A method for simplifying a mesh point cloud includes following steps: obtaining a point cloud and meshing the point cloud so that the point cloud is formed with a plurality of triangular grids; calculating a distance between a vertex of the triangular grid and its corresponding normal plane to determine an influence of the vertex to a geometric characteristic of the mesh point cloud; deleting the vertexes and the grids in connection therewith in accordance with a predetermined degree of simplification, wherein the deleted vertexes are those which have less influence to the geometric characteristic of the mesh point cloud; creating triangular grids to fill the void part in accordance with Delaunay triangulation; and smoothening the created grids.