Method for calculation, device for laser processing, and non-transitory computer-readable storage medium
AssigneeMakeblock Co., Ltd.
InventorYuanxiu ZHANG
Life of this patent
Estimating the term…
Abstract
A method for calculating a starting point includes the following. A first coordinate system and a second coordinate system are established. The first coordinate system includes a CX-axis and is a coordinate system for a picture of a part to be processed. The picture of the part to be processed is captured. A first coordinate of a light spot on the CX-axis is obtained based on the picture. The light spot is formed by irradiating on the part to be processed by light. The second coordinate of the light spot in the second coordinate system is calculated based on the first coordinate as the starting point for processing. The method further relates to a device for laser processing and a non-transitory computer-readable storage medium.
Claims20
A method for calculating a starting point for processing, performed by a device for laser processing and comprising:
- establishing a first coordinate system and a second coordinate system, the first coordinate system comprising a CX-axis and being a coordinate system for a picture of a part to be processed;
- capturing the picture of the part to be processed, and obtaining a first coordinate of a light spot on the CX-axis in the first coordinate system based on the picture, wherein the light spot is formed by irradiating the part to be processed by light emitted from a light emitter of the device for laser processing;
- and
- calculating a second coordinate of the light spot in the second coordinate system based on the first coordinate, and determining the starting point for processing based on the second coordinate.
A device for laser processing, comprising:
- a bearing table configured to bear a part to be processed;
- a camera configured to capture a picture of the part to be processed;
- and
- a light emitter configured to emit light towards the bearing table to form a light spot on a surface of the part to be processed;
- wherein
- the device for laser processing further comprises a processor and a memory, the processor is electrically connected to the camera and the memory, the memory is configured to store program codes executable by the processor, and the program codes, when invoked and executed by the processor, are configured to cause the processor to perform:
- establishing a first coordinate system and a second coordinate system, the first coordinate system comprising a CX-axis and being a coordinate system for a picture of a part to be processed;
- capturing the picture of the part to be processed, and obtaining a first coordinate of a light spot on the CX-axis in the first coordinate system based on the picture, wherein the light spot is formed by irradiating the part to be processed by light emitted from a light emitter of the device for laser processing;
- and
- calculating a second coordinate of the light spot in the second coordinate system based on the first coordinate, and determining the starting point for processing based on the second coordinate.
A non-transitory computer-readable storage medium, configured to store computer-executable program codes, the computer-executable program codes being configured to cause a computer to perform:
- establishing a first coordinate system and a second coordinate system, the first coordinate system comprising a CX-axis and being a coordinate system for a picture of a part to be processed;
- capturing the picture of the part to be processed, and obtaining a first coordinate of a light spot on the CX-axis in the first coordinate system based on the picture, wherein the light spot is formed by irradiating the part to be processed by light emitted from a light emitter of the device for laser processing;
- and
- calculating a second coordinate of the light spot in the second coordinate system based on the first coordinate, and determining the starting point for processing based on the second coordinate.
Dependencies are inferred from the claim text.