CN111930073B - Five-axis laser cutter path rotation method, device and storage medium - Google Patents

Five-axis laser cutter path rotation method, device and storage medium Download PDF

Info

Publication number
CN111930073B
CN111930073B CN202010839748.6A CN202010839748A CN111930073B CN 111930073 B CN111930073 B CN 111930073B CN 202010839748 A CN202010839748 A CN 202010839748A CN 111930073 B CN111930073 B CN 111930073B
Authority
CN
China
Prior art keywords
tool path
operation instruction
rotation
rotation center
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010839748.6A
Other languages
Chinese (zh)
Other versions
CN111930073A (en
Inventor
李孟平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Xirui Information Technology Co ltd
Original Assignee
Shanghai Xirui Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Xirui Information Technology Co ltd filed Critical Shanghai Xirui Information Technology Co ltd
Priority to CN202010839748.6A priority Critical patent/CN111930073B/en
Publication of CN111930073A publication Critical patent/CN111930073A/en
Application granted granted Critical
Publication of CN111930073B publication Critical patent/CN111930073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K26/00Working by laser beam, e.g. welding, cutting or boring
    • B23K26/36Removing material
    • B23K26/38Removing material by boring or cutting
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35349Display part, programmed locus and tool path, traject, dynamic locus

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Optics & Photonics (AREA)
  • Plasma & Fusion (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)
  • Laser Beam Processing (AREA)

Abstract

The invention relates to the technical field of laser cutting, in particular to a five-axis laser cutter path rotation method, a five-axis laser cutter path rotation device and a storage medium. The method comprises the steps of obtaining a five-axis laser tool path three-dimensional model containing three-dimensional coordinates; receiving an operation instruction, and selecting a tool path view, a rotation center area and a tool path deviation starting position and an ending position which need to be rotated; calculating according to the selected rotation center region to obtain rotation center coordinates, calculating according to the tool path deviation starting position and ending position to obtain a rotation angle, and calculating according to the current angle of the tool path view to obtain a rotation vector; carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results; and re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model. The invention can rotate local tool paths and also can rotate all tool paths, and can efficiently and accurately rotate five-axis laser tool paths through model coordinate parameters.

Description

Five-axis laser cutter path rotation method, device and storage medium
Technical Field
The invention relates to the technical field of laser cutting, in particular to a five-axis laser cutter path rotation method, a five-axis laser cutter path rotation device and a storage medium.
Background
In the five-axis laser cutting process, because of the deviation of the part or the whole of the tool path, the rotation correction is required, and the correction of the deviation generally requires personnel operating a machine tool on site to obtain a center point required to rotate, the distance required to move for the rotation of the other end and the like according to actual measurement and experience. The existing five-axis laser cutter path rotation technology has the following defects: 1. the whole tool path rotation can only be manually carried out, and the local tool path rotation can not be carried out; 2. rotation requires manual definition of the rotation axis, rotation center coordinates, rotation angle, etc., but five-axis laser cutting is due to errors caused by various reasons, and manual work cannot provide accurate data support to complete rotation of the cutter path. Therefore, an efficient and accurate five-axis laser tool path rotation method is urgently needed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a five-axis laser cutter path rotating method, a device and a storage medium, which can rotate local cutter paths and also can rotate all cutter paths when in application, and can efficiently and accurately rotate the five-axis laser cutter paths through model coordinate parameters.
In a first aspect, the present invention provides a five-axis laser path rotation method, including:
Acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
receiving an operation instruction, selecting a tool path view to be rotated in the three-dimensional model according to the operation instruction, selecting a rotation center area in the tool path view, and calibrating a tool path deviation starting position and an ending position;
Calculating according to the selected rotation center region to obtain rotation center coordinates, calculating according to the tool path deviation starting position and ending position to obtain a rotation angle, and calculating according to the current angle of the tool path view to obtain a rotation vector;
Carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
and re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
Based on the above-mentioned invention, a five-axis laser cutter path three-dimensional model containing three-dimensional coordinates can be obtained, a cutter path view needing to be rotated is selected in the three-dimensional model according to corresponding operation instructions of a user, the cutter path view can be all cutter paths or partial cutter paths, a rotation center area is selected according to user experience without being specially defined to the rotation center coordinates, a cutter path deviation starting position and an end position are calibrated through the operation instructions of the user, then the rotation center coordinates can be obtained through calculation according to the selected rotation center area through a preset program, a rotation angle is obtained through calculation according to the cutter path deviation starting position and the end position, a rotation vector is obtained through calculation according to the current angle of the cutter path view, cutter path rotation calculation is carried out on the cutter path view by utilizing the rotation center coordinates, the rotation angle and the rotation vector, a corresponding calculation result is obtained, finally the three-dimensional model is re-rendered by utilizing the calculation result, and the five-axis laser cutter path three-dimensional model after rotation is obtained. Through the process, the local cutter paths can be rotated, all the cutter paths can be rotated, and meanwhile, after the required basic rotation conditions are selected according to the five-axis laser cutter path three-dimensional model, the five-axis laser cutter path rotation algorithm can be efficiently and accurately performed, so that the cutter paths after rotation are obtained.
In one possible design, the obtaining a five-axis laser tool path three-dimensional model including three-dimensional coordinates includes:
acquiring five-axis laser tool path parameter information containing three-dimensional coordinates;
and constructing a five-axis laser tool path three-dimensional model containing three-dimensional coordinates according to the five-axis laser tool path parameter information.
In one possible design, the receiving the operation instruction, selecting a tool path view to be rotated in the three-dimensional model according to the operation instruction, selecting a rotation center area in the tool path view, and calibrating a tool path deviation starting position and an ending position includes:
Displaying the five-axis laser tool path three-dimensional model;
Receiving a selected operation instruction of a user aiming at a five-axis laser tool path three-dimensional model, wherein the selected operation instruction comprises a selected operation instruction of a tool path view, a selected operation instruction of a rotation center area and a selected operation instruction of a tool path deviation starting position and an ending position;
Determining a cutter path view of a corresponding angle according to a selected operation instruction of the cutter path view, determining three-dimensional coordinate parameters of a rotation center area according to the selected operation instruction of the rotation center area, and determining three-dimensional coordinate parameters of a cutter path deviation starting position and an ending position according to the selected operation instruction of the cutter path deviation starting position and the ending position.
In one possible design, the re-rendering the three-dimensional model according to the calculation result to obtain a rotated five-axis laser tool path three-dimensional model includes:
obtaining a rotationally calculated cutter path view parameter according to an operation result, wherein the rotationally calculated cutter path view parameter comprises rotationally calculated cutter path three-dimensional coordinate information;
And correcting and rendering the corresponding cutter path in the three-dimensional model according to the rotated cutter path three-dimensional coordinate information to obtain the rotated five-axis laser cutter path three-dimensional model.
In a second aspect, the present invention provides a five-axis laser path rotation method, including:
Acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
receiving an operation instruction, selecting a tool path view to be rotated in the three-dimensional model according to the operation instruction, selecting a rotation center area in the tool path view, and calibrating a tool path deviation starting position and an ending position;
Transmitting the cutter path view, the rotation center area, the cutter path deviation starting position and the cutter path deviation ending position to a data processing module;
And receiving the calculation result fed back by the data processing module, and re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
In a third aspect, the present invention provides a five-axis laser path rotation method, including:
Receiving the cutter path view, the rotation center area and the cutter path deviation starting position and ending position information transmitted by the view module;
Calculating according to the rotation center region to obtain rotation center coordinates, calculating according to the tool path deviation starting position and ending position to obtain a rotation angle, and calculating according to the current angle of the tool path view to obtain a rotation vector;
Carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
And feeding back the calculation result to the view module.
In a fourth aspect, the present invention provides a five-axis laser path rotating apparatus, comprising:
the first acquisition unit is used for acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
The first determining unit is used for receiving the operation instruction, selecting a tool path view needing to be rotated in the three-dimensional model according to the operation instruction, selecting a rotation center area in the tool path view, and calibrating a tool path deviation starting position and a tool path deviation ending position;
the first calculation unit is used for calculating and obtaining rotation center coordinates according to the selected rotation center area, calculating and obtaining a rotation angle according to the tool path deviation starting position and the tool path deviation ending position, and calculating and obtaining a rotation vector according to the current angle of the tool path view;
The first calculation unit is used for carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
And the first rendering unit is used for re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
In a fifth aspect, the present invention provides a five-axis laser path rotating apparatus, comprising:
The second acquisition unit is used for acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
the second determining unit is used for receiving the operation instruction, selecting a cutter path view needing to be rotated in the three-dimensional model according to the operation instruction, selecting a rotation center area in the cutter path view, and calibrating a cutter path deviation starting position and an ending position;
The transmission unit is used for transmitting the cutter path view, the rotation center area, the cutter path deviation starting position and the cutter path deviation ending position to the data processing module for calculation and receiving calculation results fed back by the data processing module;
And the second rendering unit is used for re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
In a sixth aspect, the present invention provides a five-axis laser path rotating apparatus, comprising:
The receiving unit is used for receiving the cutter path view, the rotation center area and the cutter path deviation starting position and ending position information transmitted by the view module;
the second calculation unit is used for calculating according to the rotation center region to obtain rotation center coordinates, calculating according to the tool path deviation starting position and ending position to obtain a rotation angle, and calculating according to the current angle of the tool path view to obtain a rotation vector;
The second calculation unit is used for carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
And the feedback unit is used for feeding back the calculation result to the view module.
In a seventh aspect, the present invention provides a computer readable storage medium having instructions stored thereon which, when run on a computer, cause the computer to perform the method of any one of the first to third aspects above.
The beneficial effects of the invention are as follows:
According to the invention, a five-axis laser cutter path three-dimensional model containing three-dimensional coordinates is obtained, a cutter path view needing to rotate is selected in the three-dimensional model according to corresponding operation instructions of a user, the cutter path view can be all cutter paths or partial cutter paths, a rotation center area is selected according to user experience without being specially defined to the rotation center coordinates, a cutter path deviation starting position and an ending position are calibrated through the user operation instructions, then the rotation center coordinates can be obtained through calculation according to the selected rotation center area through a preset program, a rotation angle is obtained through calculation according to the cutter path deviation starting position and the ending position, a rotation vector is obtained through calculation according to the current angle of the cutter path view, cutter path rotation calculation is carried out on the cutter path view by utilizing the rotation center coordinates, the rotation angle and the rotation vector, a corresponding calculation result is obtained, finally the three-dimensional model is re-rendered by utilizing the calculation result, and the five-axis laser cutter path three-dimensional model after rotation is obtained. Through the process, the local cutter paths can be rotated, all the cutter paths can be rotated, and meanwhile, after the required basic rotation conditions are selected according to the five-axis laser cutter path three-dimensional model, the five-axis laser cutter path rotation algorithm can be efficiently and accurately performed, so that the cutter paths after rotation are obtained.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of the method of the present invention;
FIG. 2 is a schematic diagram of a first five-axis laser path rotating device according to the present invention;
FIG. 3 is a schematic diagram of a second five-axis laser path rotating device according to the present invention;
Fig. 4 is a schematic structural diagram of a third five-axis laser path rotating device according to the present invention.
Detailed Description
The invention is further described with reference to the drawings and specific examples. It should be noted that the description of these examples is for aiding in understanding the present invention, but is not intended to limit the present invention. Specific structural and functional details disclosed herein are merely representative of example embodiments of the invention. This invention may, however, be embodied in many alternate forms and should not be construed as limited to the embodiments set forth herein.
It should be appreciated that the terms first, second, etc. are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance. Although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments of the present invention.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: the terms "/and" herein describe another associative object relationship, indicating that there may be two relationships, e.g., a/and B, may indicate that: the character "/" herein generally indicates that the associated object is an "or" relationship.
It should be understood that in the description of the present invention, the terms "upper", "vertical", "inner", "outer", etc. indicate an azimuth or a positional relationship in which the inventive product is conventionally put in use, or an azimuth or a positional relationship that are conventionally understood by those skilled in the art, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or elements referred to must have a specific azimuth, be configured and operated in a specific azimuth, and thus should not be construed as limiting the present invention.
It will be understood that when an element is referred to as being "connected," "connected," or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present. Other words used to describe relationships between elements (e.g., "between … …" pair "directly between … …", "adjacent" pair "directly adjacent", etc.) should be interpreted in a similar manner.
In the description of the present invention, it should also be noted that, unless explicitly specified and limited otherwise, the terms "disposed," "mounted," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates to the contrary. It will be further understood that the terms "comprises," "comprising," "includes," "including" and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, and do not preclude the presence or addition of one or more other features, numbers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may in fact be executed substantially concurrently or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
In the following description, specific details are provided to provide a thorough understanding of example embodiments. However, it will be understood by those of ordinary skill in the art that the example embodiments may be practiced without these specific details. For example, a system may be shown in block diagrams in order to avoid obscuring the examples with unnecessary detail. In other embodiments, well-known processes, structures, and techniques may not be shown in unnecessary detail in order to avoid obscuring the example embodiments.
Example 1:
The embodiment provides a five-axis laser tool path rotation method, as shown in fig. 1, including:
s101, acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates.
In the specific implementation, five-axis laser tool path parameter information containing three-dimensional coordinates can be obtained through a view module; and then constructing a five-axis laser path three-dimensional model containing three-dimensional coordinates according to the five-axis laser path parameter information, completing rendering of the three-dimensional model, and displaying the rendered three-dimensional model on a screen for viewing and selecting by a user (translation, rotation, scaling and the like).
S102, receiving an operation instruction, selecting a tool path view to be rotated in the three-dimensional model according to the operation instruction, selecting a rotation center area in the tool path view, and calibrating a tool path deviation starting position and a tool path deviation ending position.
In specific implementation, a user can send a selected operation instruction to the view module in a mode of clicking a mouse, wherein the selected operation instruction comprises a selected operation instruction of a tool path view, a selected operation instruction of a rotation center area and selected operation instructions of a tool path deviation starting position and an ending position; the view module determines a cutter path view of a corresponding angle according to a selected operation instruction of the cutter path view, determines three-dimensional coordinate parameters of a rotation center area according to a selected operation instruction of the rotation center area, determines three-dimensional coordinate parameters of a cutter path deviation starting position and a cutter path deviation ending position according to a selected operation instruction of the cutter path deviation starting position and the cutter path deviation ending position, and then sends the selected cutter path view, the three-dimensional coordinate parameters of the rotation center area and the three-dimensional coordinate parameters of the cutter path deviation starting position and the cutter path deviation ending position to the data processing module for subsequent processing.
S103, calculating according to the selected rotation center region to obtain rotation center coordinates, calculating according to the tool path deviation starting position and the tool path deviation ending position to obtain rotation angles, and calculating according to the current angle of the tool path view to obtain rotation vectors.
In the specific implementation, the data processing module calculates and obtains the rotation center coordinates according to the three-dimensional coordinate parameters of the rotation center area through a preset program instruction, obtains the rotation angle according to the three-dimensional coordinate parameters of the tool path deviation starting position and the tool path deviation ending position, and obtains the rotation vector according to the current angle calculation of the tool path view.
The program instruction for calculating and obtaining the rotation center coordinates according to the three-dimensional coordinate parameters of the rotation center area comprises the following steps:
centerpoint=DVecUtils.getcenterpoint(area,plan);
the program instruction for calculating and obtaining the rotation angle according to the three-dimensional coordinate parameters of the tool path deviation starting position and the tool path deviation ending position comprises the following steps:
start=View.Vector(self.v.vertex.getValues()[0].getValue())
mid=View.Vector(self.v.vertex.getValues()[1].getValue())
end=View.Vector(self.v.vertex.getValues()[-1].getValue())
l=start-end
v1=start-mid
v2=end-mid
angle=math.degrees(v2.getAngle(v1));
the program instructions for obtaining the rotation vector according to the current angle calculation of the tool path view comprise:
plane=View.WorkingPlane
axis=plane.aixs。
S104, carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors, and obtaining calculation results.
In specific implementation, the data processing module performs tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors through preset program instructions, and corresponding calculation results are obtained. The program instructions for performing the calculation include:
the obtained calculation result comprises the rotated cutter path three-dimensional coordinate information, and the data processing module feeds the obtained rotated cutter path three-dimensional coordinate information back to the view module.
S105, re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
In the specific implementation, the view module corrects and renders the corresponding tool path in the three-dimensional model according to the rotated tool path three-dimensional coordinate information to obtain the rotated five-axis laser tool path three-dimensional model.
Example 2:
The present embodiment provides a five-axis laser tool path rotating device, as shown in fig. 2, including:
the first acquisition unit is used for acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
The first determining unit is used for receiving the operation instruction, selecting a tool path view needing to be rotated in the three-dimensional model according to the operation instruction, selecting a rotation center area in the tool path view, and calibrating a tool path deviation starting position and a tool path deviation ending position;
the first calculation unit is used for calculating and obtaining rotation center coordinates according to the selected rotation center area, calculating and obtaining a rotation angle according to the tool path deviation starting position and the tool path deviation ending position, and calculating and obtaining a rotation vector according to the current angle of the tool path view;
The first calculation unit is used for carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
And the first rendering unit is used for re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
Example 3:
The present embodiment provides a five-axis laser tool path rotating device, as shown in fig. 3, including:
The second acquisition unit is used for acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
the second determining unit is used for receiving the operation instruction, selecting a cutter path view needing to be rotated in the three-dimensional model according to the operation instruction, selecting a rotation center area in the cutter path view, and calibrating a cutter path deviation starting position and an ending position;
The transmission unit is used for transmitting the cutter path view, the rotation center area, the cutter path deviation starting position and the cutter path deviation ending position to the data processing module for calculation and receiving calculation results fed back by the data processing module;
And the second rendering unit is used for re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
Example 4:
the present embodiment provides a five-axis laser tool path rotating device, as shown in fig. 4, including:
The receiving unit is used for receiving the cutter path view, the rotation center area and the cutter path deviation starting position and ending position information transmitted by the view module;
the second calculation unit is used for calculating according to the rotation center region to obtain rotation center coordinates, calculating according to the tool path deviation starting position and ending position to obtain a rotation angle, and calculating according to the current angle of the tool path view to obtain a rotation vector;
The second calculation unit is used for carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
And the feedback unit is used for feeding back the calculation result to the view module.
Example 5:
The present embodiment provides a computer-readable storage medium having instructions stored thereon, which when executed on a computer, cause the computer to perform the five-axis laser path rotation method described in embodiment 1. The computer readable storage medium refers to a carrier for storing data, and may include, but is not limited to, a floppy disk, an optical disk, a hard disk, a flash Memory, and/or a Memory Stick (Memory Stick), etc., where the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
Those of ordinary skill in the art will appreciate that: all or part of the steps of implementing the above method embodiments may be implemented by hardware associated with program instructions, where the above program may be stored in a computer readable storage medium, where the program, when executed, performs the steps including the above method embodiments, where the above storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, devices and computer program products according to embodiments. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The invention is not limited to the alternative embodiments described above, but any person may derive other various forms of products in the light of the present invention. The above detailed description should not be construed as limiting the scope of the invention, which is defined in the claims and the description may be used to interpret the claims.

Claims (9)

1. The five-axis laser tool path rotating method is characterized by comprising the following steps of:
Acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
Receiving an operation instruction, selecting a tool path view to be rotated in a three-dimensional model according to the operation instruction, selecting a rotation center area in the tool path view, and calibrating a tool path deviation starting position and an ending position, wherein the method comprises the following steps: displaying the five-axis laser tool path three-dimensional model; receiving a selected operation instruction of a user aiming at a five-axis laser tool path three-dimensional model, wherein the selected operation instruction comprises a selected operation instruction of a tool path view, a selected operation instruction of a rotation center area and a selected operation instruction of a tool path deviation starting position and an ending position; determining a cutter path view of a corresponding angle according to a selected operation instruction of the cutter path view, determining three-dimensional coordinate parameters of a rotation center area according to the selected operation instruction of the rotation center area, and determining three-dimensional coordinate parameters of a cutter path deviation starting position and an ending position according to the selected operation instruction of the cutter path deviation starting position and the ending position;
Calculating according to the selected rotation center region to obtain rotation center coordinates, calculating according to the tool path deviation starting position and ending position to obtain a rotation angle, and calculating according to the current angle of the tool path view to obtain a rotation vector;
Carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
and re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
2. The method of claim 1, wherein the step of obtaining a three-dimensional model of the five-axis laser path including three-dimensional coordinates comprises:
acquiring five-axis laser tool path parameter information containing three-dimensional coordinates;
and constructing a five-axis laser tool path three-dimensional model containing three-dimensional coordinates according to the five-axis laser tool path parameter information.
3. The method for rotating the five-axis laser tool path according to claim 1, wherein the re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model comprises:
obtaining a rotationally calculated cutter path view parameter according to an operation result, wherein the rotationally calculated cutter path view parameter comprises rotationally calculated cutter path three-dimensional coordinate information;
And correcting and rendering the corresponding cutter path in the three-dimensional model according to the rotated cutter path three-dimensional coordinate information to obtain the rotated five-axis laser cutter path three-dimensional model.
4. The five-axis laser tool path rotating method is characterized by comprising the following steps of:
Acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
Receiving an operation instruction, selecting a tool path view to be rotated in a three-dimensional model according to the operation instruction, selecting a rotation center area in the tool path view, and calibrating a tool path deviation starting position and an ending position, wherein the method comprises the following steps: displaying the five-axis laser tool path three-dimensional model; receiving a selected operation instruction of a user aiming at a five-axis laser tool path three-dimensional model, wherein the selected operation instruction comprises a selected operation instruction of a tool path view, a selected operation instruction of a rotation center area and a selected operation instruction of a tool path deviation starting position and an ending position; determining a cutter path view of a corresponding angle according to a selected operation instruction of the cutter path view, determining three-dimensional coordinate parameters of a rotation center area according to the selected operation instruction of the rotation center area, and determining three-dimensional coordinate parameters of a cutter path deviation starting position and an ending position according to the selected operation instruction of the cutter path deviation starting position and the ending position;
Transmitting the cutter path view, the rotation center area, the cutter path deviation starting position and the cutter path deviation ending position to a data processing module;
And receiving the calculation result fed back by the data processing module, and re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
5. The five-axis laser tool path rotating method is characterized by comprising the following steps of:
Receiving the cutter path view, the rotation center area and the cutter path deviation starting position and ending position information transmitted by the view module;
Calculating according to the rotation center region to obtain rotation center coordinates, calculating according to the tool path deviation starting position and ending position to obtain a rotation angle, and calculating according to the current angle of the tool path view to obtain a rotation vector;
Carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
And feeding back the calculation result to the view module.
6. A five-axis laser path rotating device, comprising:
the first acquisition unit is used for acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
The first determining unit is used for receiving the operation instruction, selecting a tool path view needing to be rotated in the three-dimensional model according to the operation instruction, selecting a rotation center area in the tool path view, and calibrating a tool path deviation starting position and an ending position, and comprises the following steps: displaying the five-axis laser tool path three-dimensional model; receiving a selected operation instruction of a user aiming at a five-axis laser tool path three-dimensional model, wherein the selected operation instruction comprises a selected operation instruction of a tool path view, a selected operation instruction of a rotation center area and a selected operation instruction of a tool path deviation starting position and an ending position; determining a cutter path view of a corresponding angle according to a selected operation instruction of the cutter path view, determining three-dimensional coordinate parameters of a rotation center area according to the selected operation instruction of the rotation center area, and determining three-dimensional coordinate parameters of a cutter path deviation starting position and an ending position according to the selected operation instruction of the cutter path deviation starting position and the ending position;
the first calculation unit is used for calculating and obtaining rotation center coordinates according to the selected rotation center area, calculating and obtaining a rotation angle according to the tool path deviation starting position and the tool path deviation ending position, and calculating and obtaining a rotation vector according to the current angle of the tool path view;
The first calculation unit is used for carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
And the first rendering unit is used for re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
7. A five-axis laser path rotating device, comprising:
The second acquisition unit is used for acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
The second determining unit is configured to receive an operation instruction, select a tool path view to be rotated in the three-dimensional model according to the operation instruction, select a rotation center area in the tool path view, and calibrate a start position and an end position of tool path deviation, and includes: displaying the five-axis laser tool path three-dimensional model; receiving a selected operation instruction of a user aiming at a five-axis laser tool path three-dimensional model, wherein the selected operation instruction comprises a selected operation instruction of a tool path view, a selected operation instruction of a rotation center area and a selected operation instruction of a tool path deviation starting position and an ending position; determining a cutter path view of a corresponding angle according to a selected operation instruction of the cutter path view, determining three-dimensional coordinate parameters of a rotation center area according to the selected operation instruction of the rotation center area, and determining three-dimensional coordinate parameters of a cutter path deviation starting position and an ending position according to the selected operation instruction of the cutter path deviation starting position and the ending position;
The transmission unit is used for transmitting the cutter path view, the rotation center area, the cutter path deviation starting position and the cutter path deviation ending position to the data processing module for calculation and receiving calculation results fed back by the data processing module;
And the second rendering unit is used for re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
8. A five-axis laser path rotating device, comprising:
The receiving unit is used for receiving the cutter path view, the rotation center area and the cutter path deviation starting position and ending position information transmitted by the view module;
the second calculation unit is used for calculating according to the rotation center region to obtain rotation center coordinates, calculating according to the tool path deviation starting position and ending position to obtain a rotation angle, and calculating according to the current angle of the tool path view to obtain a rotation vector;
The second calculation unit is used for carrying out tool path rotation calculation on the tool path view according to the rotation center coordinates, the rotation angles and the rotation vectors to obtain calculation results;
And the feedback unit is used for feeding back the calculation result to the view module.
9. A computer readable storage medium having instructions stored thereon which, when run on a computer, cause the computer to perform the method of any of claims 1-5.
CN202010839748.6A 2020-08-19 2020-08-19 Five-axis laser cutter path rotation method, device and storage medium Active CN111930073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010839748.6A CN111930073B (en) 2020-08-19 2020-08-19 Five-axis laser cutter path rotation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010839748.6A CN111930073B (en) 2020-08-19 2020-08-19 Five-axis laser cutter path rotation method, device and storage medium

Publications (2)

Publication Number Publication Date
CN111930073A CN111930073A (en) 2020-11-13
CN111930073B true CN111930073B (en) 2024-05-28

Family

ID=73305503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010839748.6A Active CN111930073B (en) 2020-08-19 2020-08-19 Five-axis laser cutter path rotation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111930073B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114280923A (en) * 2021-12-31 2022-04-05 杭州柳叶刀机器人有限公司 Method, device, terminal and storage medium for controlling sawtooth
CN115509235B (en) * 2022-10-18 2024-06-18 吴忠仪表有限责任公司 Method and device for acquiring box closing line scanning path and cutting path of sand casting valve body

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003005811A (en) * 2001-06-26 2003-01-08 Mori Seiki Co Ltd Method and program for generating 6-axis control nc program, generating device and computer readable recording medium with the program stored therein
JP2008264985A (en) * 2007-04-16 2008-11-06 Hokkaido 3-axis nc wood lathe machine system
CN101458507A (en) * 2007-12-13 2009-06-17 发那科株式会社 Numerical controller for controlling five-axis machining apparatus
CN102736555A (en) * 2011-04-11 2012-10-17 发那科株式会社 Tool path display apparatus for machine tool
CN107942930A (en) * 2017-12-14 2018-04-20 上海维宏电子科技股份有限公司 The method that bevel edge processing is carried out based on five-axle numerical control system
CN109514351A (en) * 2018-12-28 2019-03-26 苏州大学 A kind of scaling method of five-axis machine tool
CN110461540A (en) * 2017-03-31 2019-11-15 株式会社牧野铣床制作所 Tool paths generation method and device
CN110531701A (en) * 2018-05-24 2019-12-03 发那科株式会社 Numerical control device
CN111338296A (en) * 2020-03-09 2020-06-26 西南交通大学 Five-axis machine tool geometric error compensation method for improving curve integral tool path fairing
CN111408861A (en) * 2020-04-27 2020-07-14 中国科学院西安光学精密机械研究所 Five-axis laser equipment RTCP calibration equipment and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8116902B2 (en) * 2010-02-26 2012-02-14 National Formosa University Method of detecting a dynamic path of a five-axis machine tool and dectecting assembly for the same

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003005811A (en) * 2001-06-26 2003-01-08 Mori Seiki Co Ltd Method and program for generating 6-axis control nc program, generating device and computer readable recording medium with the program stored therein
JP2008264985A (en) * 2007-04-16 2008-11-06 Hokkaido 3-axis nc wood lathe machine system
CN101458507A (en) * 2007-12-13 2009-06-17 发那科株式会社 Numerical controller for controlling five-axis machining apparatus
CN102736555A (en) * 2011-04-11 2012-10-17 发那科株式会社 Tool path display apparatus for machine tool
CN110461540A (en) * 2017-03-31 2019-11-15 株式会社牧野铣床制作所 Tool paths generation method and device
CN107942930A (en) * 2017-12-14 2018-04-20 上海维宏电子科技股份有限公司 The method that bevel edge processing is carried out based on five-axle numerical control system
CN110531701A (en) * 2018-05-24 2019-12-03 发那科株式会社 Numerical control device
CN109514351A (en) * 2018-12-28 2019-03-26 苏州大学 A kind of scaling method of five-axis machine tool
CN111338296A (en) * 2020-03-09 2020-06-26 西南交通大学 Five-axis machine tool geometric error compensation method for improving curve integral tool path fairing
CN111408861A (en) * 2020-04-27 2020-07-14 中国科学院西安光学精密机械研究所 Five-axis laser equipment RTCP calibration equipment and method

Also Published As

Publication number Publication date
CN111930073A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN111930073B (en) Five-axis laser cutter path rotation method, device and storage medium
JP5999679B2 (en) Equipment maintenance management system
CN106705847B (en) Gap geometric dimension measurement method and device in a kind of free form surface
EP2747034A2 (en) Location correction of virtual objects
US20110130854A1 (en) Method and device for producing a master die tool
CN109064400A (en) Three-dimensional point cloud joining method, apparatus and system
US10095811B2 (en) Three-dimensional model generating method, three-dimensional model generating system, and a three-dimensional model generating program
JP2009053147A (en) Three-dimensional measuring method and three-dimensional measuring device
US11068624B2 (en) Three-dimensional model generating method, three-dimensional model generating system, and three-dimensional model generating program
US8982127B2 (en) Computing device and method for establishing three dimensional coordinate system using graphics
US20180068492A1 (en) Image processing device, image processing method, and image processing program
CN113199486B (en) Method and device for calibrating physical origin of mechanical arm flange and electronic equipment
CN112907682B (en) Hand-eye calibration method and device for five-axis motion platform and related equipment
JP5207167B2 (en) Projection system calibration equipment
US20180082472A1 (en) Image processing device, image processing method, and image processing program
CN105386397B (en) Self-propelled building machinery and for making its processing environment visualization method
US7069175B2 (en) Method and apparatus for supporting measurement of object to be measured
JP2017037460A (en) Machining system and machining method
CN114022530A (en) 3D printing auxiliary method, system and application based on mixed reality technology
TW201521940A (en) Fixture, system and method for processing double contour
JP2004302756A (en) Cad working drawing checking method and its device
JP6458381B2 (en) Position correction method, movement trajectory acquisition apparatus, and radiation dose mapping method
EP2687330B1 (en) Method of edging a spectacle lens, spectacle lens edging system and spectacle lens edging program
JP6894591B2 (en) Measurement data generator, machining program generation system, measurement data generation method
CN108592838B (en) Calibration method and device of tool coordinate system and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant