CN111930073A - Five-axis laser tool path rotating method and device and storage medium - Google Patents

Five-axis laser tool path rotating method and device and storage medium Download PDF

Info

Publication number
CN111930073A
CN111930073A CN202010839748.6A CN202010839748A CN111930073A CN 111930073 A CN111930073 A CN 111930073A CN 202010839748 A CN202010839748 A CN 202010839748A CN 111930073 A CN111930073 A CN 111930073A
Authority
CN
China
Prior art keywords
tool path
rotation
axis laser
view
dimensional model
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.)
Pending
Application number
CN202010839748.6A
Other languages
Chinese (zh)
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/CN111930073A/en
Publication of CN111930073A publication Critical patent/CN111930073A/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The invention relates to the technical field of laser cutting, in particular to a five-axis laser tool path rotating method, a five-axis laser tool path rotating device and a storage medium. Acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates; receiving an operation instruction, and selecting a tool path view needing to rotate, a rotation center area, a tool path deviation starting position and a tool path deviation ending position; calculating to obtain a rotation center coordinate according to the selected rotation center area, calculating to obtain a rotation angle according to the deviation starting position and the deviation ending position of the tool path, and calculating to obtain a rotation vector according to the current angle of the tool path view; performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result; 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 partial cutter paths and all cutter paths, and can efficiently and accurately rotate the five-axis laser cutter paths through the coordinate parameters of the model.

Description

Five-axis laser tool path rotating method and device and storage medium
Technical Field
The invention relates to the technical field of laser cutting, in particular to a five-axis laser tool path rotating method, a five-axis laser tool path rotating device and a storage medium.
Background
In the five-axis laser cutting process, because a local part or the whole of a tool path has deviation, rotation correction is needed, and the correction of the deviation generally needs a person operating a machine tool on site to obtain a central point needing to be rotated, a distance needing to be moved for rotation of the other end and the like according to actual measurement and experience. The existing five-axis laser tool path rotating technology has the following defects: 1. the whole cutter path rotation can be carried out only manually, and the local cutter path rotation cannot be carried out; 2. the rotation requires manual definition of a rotating shaft, a rotating center coordinate, a rotating angle and the like, but due to errors caused by various reasons, five-axis laser cutting cannot provide accurate data support manually to complete rotation of the tool path. Therefore, an efficient and accurate five-axis laser tool path rotating method is urgently needed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a five-axis laser tool path rotating method, a device and a storage medium, wherein when the method, the device and the storage medium are applied, local tool path rotation and all tool paths can be carried out, and efficient and accurate five-axis laser tool path rotation can be carried out through model coordinate parameters.
In a first aspect, the present invention provides a five-axis laser tool 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 needing to rotate 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 to obtain a rotation center coordinate according to the selected rotation center area, calculating to obtain a rotation angle according to the deviation starting position and the deviation ending position of the tool path, and calculating to obtain a rotation vector according to the current angle of the tool path view;
performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
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 invention, a tool path view needing to be rotated is selected in the three-dimensional model by obtaining a five-axis laser tool path three-dimensional model containing three-dimensional coordinates according to corresponding operation instructions of a user, the tool path view can be all tool paths or partial tool paths, a rotation center area is selected according to user experience without specifically defining the rotation center coordinates, the tool path deviation initial position and the tool path deviation end position are calibrated through the user operation instructions, then the rotation center coordinates are obtained through calculation according to the selected rotation center area through a preset program, the rotation angle is obtained through calculation according to the tool path deviation initial position and the tool path deviation end position, the rotation vector is obtained through calculation according to the current angle of the tool path view, the tool path rotation calculation is carried out on the tool path view by utilizing the rotation center coordinates, the rotation angle and the rotation vector, and corresponding calculation results are obtained, and finally, re-rendering the three-dimensional model by using the calculation result to obtain the rotated five-axis laser tool path three-dimensional model. By the process, the rotation of a local cutter path and the rotation of all cutter paths can be carried out, and meanwhile, after the required basic rotation condition is selected according to the five-axis laser cutter path three-dimensional model, efficient and accurate five-axis laser cutter path rotation calculation can be carried out to obtain the rotated cutter path.
In one possible design, the acquiring a five-axis laser tool path three-dimensional model containing 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 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, includes:
displaying the five-axis laser tool path three-dimensional model;
receiving a selection operation instruction of a user for a five-axis laser tool path three-dimensional model, wherein the selection operation instruction comprises a selection operation instruction of a tool path view, a selection operation instruction of a rotation center area and a selection operation instruction of a tool path deviation starting position and an ending position;
determining a tool path view of a corresponding angle according to the selected operation instruction of the tool path view, determining a three-dimensional coordinate parameter of a rotating center region according to the selected operation instruction of the rotating center region, and determining the three-dimensional coordinate parameter of a tool path deviation starting position and a tool path deviation ending position according to the selected operation instruction of the tool path deviation starting position and the tool path deviation ending position.
In a 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 tool path view parameter after rotary calculation according to a calculation result, wherein the tool path view parameter after rotary calculation comprises three-dimensional coordinate information of a tool path after rotation;
and correcting and rendering the corresponding tool path in the three-dimensional model according to the three-dimensional coordinate information of the rotated tool path to obtain the five-axis laser tool path three-dimensional model after rotation.
In a second aspect, the present invention provides a five-axis laser tool 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 needing to rotate 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 information of the tool path view, the rotation center area, the tool path deviation initial position and the tool path deviation end position to a data processing module;
and receiving an operation result fed back by the data processing module, and re-rendering the three-dimensional model according to the operation 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 tool path rotation method, including:
receiving a tool path view, a rotation center area, and tool path deviation initial position and end position information transmitted by a view module;
calculating to obtain a rotation center coordinate according to the rotation center area, calculating to obtain a rotation angle according to the deviation starting position and the deviation ending position of the tool path, and calculating to obtain a rotation vector according to the current angle of the tool path view;
performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
and feeding back the calculation result to the view module.
In a fourth aspect, the present invention provides a five-axis laser tool path rotating apparatus, including:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein 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 an operation instruction, selecting a tool path view needing to rotate 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;
the first calculation unit is used for calculating to obtain a rotation center coordinate according to the selected rotation center area, calculating to obtain a rotation angle according to the tool path deviation starting position and the ending position, and calculating to obtain a rotation vector according to the current angle of the tool path view;
the first calculation unit is used for performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
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 tool path rotating apparatus, 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 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;
the transmission unit is used for transmitting the transmission information of the tool path view, the rotation center area, the tool path deviation starting position and the ending position to the data processing module for calculation and receiving a calculation result 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 tool path rotating apparatus, including:
the receiving unit is used for receiving the tool path view, the rotation center area and the tool path deviation initial position and end position information transmitted by the view module;
the second calculation unit is used for calculating to obtain a rotation center coordinate according to the rotation center area, calculating to obtain a rotation angle according to the deviation starting position and the deviation ending position of the cutter path, and calculating to obtain a rotation vector according to the current angle of the cutter path view;
the second calculation unit is used for performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
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 stored thereon instructions which, when run on a computer, cause the computer to perform the method of any of the first to third aspects described above.
The invention has the beneficial effects that:
the invention selects a tool path view needing to rotate in the three-dimensional model by obtaining a five-axis laser tool path three-dimensional model containing three-dimensional coordinates according to corresponding operation instructions of a user, the tool path view can be all tool paths or partial tool paths, a rotation center area is selected according to user experience without specifically defining the rotation center coordinates, the tool path deviation initial position and the rotation center 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, the rotation angle is obtained through calculation according to the tool path deviation initial position and the rotation center position, the rotation vector is obtained through calculation according to the current angle of the tool path view, the tool path rotation calculation is carried out on the tool path view by utilizing the rotation center coordinates, the rotation angle and the rotation vector to obtain corresponding calculation results, and finally the calculation results are utilized to complete the re-rendering of the three-dimensional model, and obtaining a rotating five-axis laser tool path three-dimensional model. By the process, the rotation of a local cutter path and the rotation of all cutter paths can be carried out, and meanwhile, after the required basic rotation condition is selected according to the five-axis laser cutter path three-dimensional model, efficient and accurate five-axis laser cutter path rotation calculation can be carried out to obtain the rotated cutter path.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow diagram of the process of the present invention;
FIG. 2 is a schematic structural view of a first five-axis laser tool path rotating apparatus according to the present invention;
FIG. 3 is a schematic structural view of a second five-axis laser tool path rotating apparatus according to the present invention;
fig. 4 is a schematic structural view of a third five-axis laser tool path rotating device according to the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific embodiments. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. Specific structural and functional details disclosed herein are merely illustrative 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 understood that the terms first, second, etc. are used merely for distinguishing between descriptions and are not intended to indicate or imply 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. 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" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time, and the term "/and" is used herein to describe another association object relationship, which means that two relationships may exist, for example, A/and B, may mean: a alone, and both a and B alone, and further, the character "/" in this document generally means that the former and latter associated objects are in an "or" relationship.
It is to be understood that in the description of the present invention, the terms "upper", "vertical", "inside", "outside", and the like, refer to an orientation or positional relationship that is conventionally used for placing the product of the present invention, or that is conventionally understood by those skilled in the art, and are used merely for convenience in describing and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and therefore should not be considered 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 adjacent" or "directly coupled" to another element, there are no intervening elements present. Other words used to describe the relationship between elements should be interpreted in a similar manner (e.g., "between … …" versus "directly between … …", "adjacent" versus "directly adjacent", etc.).
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," and "connected" are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled 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 otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but 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 facilitate 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, systems may be shown in block diagrams in order not to obscure the examples in unnecessary detail. In other instances, well-known processes, structures and techniques may be shown without unnecessary detail in order to avoid obscuring example embodiments.
Example 1:
the embodiment provides a five-axis laser tool path rotating method, as shown in fig. 1, including:
s101, acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates.
In specific implementation, five-axis laser tool path parameter information containing three-dimensional coordinates can be acquired through the view module; and then constructing a five-axis laser tool path three-dimensional model containing three-dimensional coordinates according to the five-axis laser tool path parameter information, finishing the rendering of the three-dimensional model, and displaying the rendered three-dimensional model on a screen for a user to check and select (translation, rotation, scaling and the like).
And S102, receiving an operation instruction, selecting a tool path view needing to rotate 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.
In specific implementation, a user can send a selected operation instruction to the view module in a mode of clicking and selecting by a mouse, wherein the selected operation instruction comprises a selected operation instruction for a tool path view, a selected operation instruction for a rotating center area and a selected operation instruction for a tool path deviation starting position and an ending position; the view module determines a tool path view with a corresponding angle according to a selected operation instruction of the tool path view, determines a three-dimensional coordinate parameter of a rotation center area according to the selected operation instruction of the rotation center area, determines three-dimensional coordinate parameters of a tool path deviation starting position and a tool path deviation ending position according to the selected operation instruction of the tool path deviation starting position and the selected operation instruction of the tool path deviation ending position, and then sends the selected tool path view, the three-dimensional coordinate parameters of the rotation center area and the three-dimensional coordinate parameters of the tool path deviation starting position and the three-dimensional coordinate parameters of the tool path deviation ending position to the data processing module for subsequent processing.
S103, calculating to obtain a rotation center coordinate according to the selected rotation center area, calculating to obtain a rotation angle according to the deviation starting position and the deviation ending position of the cutter path, and calculating to obtain a rotation vector according to the current angle of the cutter path view.
In specific implementation, the data processing module calculates and obtains a rotation center coordinate according to a three-dimensional coordinate parameter of a rotation center area through a preset program instruction, calculates and obtains a rotation angle according to three-dimensional coordinate parameters of a tool path deviation starting position and an ending position, and calculates and obtains a rotation vector according to a current angle of a tool path view.
Wherein, the program instruction for calculating and obtaining the rotation center coordinate according to the three-dimensional coordinate parameter of the rotation center area comprises:
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 three-dimensional coordinate parameters of 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。
and S104, performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result.
In specific implementation, the data processing module performs tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector through a preset program instruction to obtain a corresponding calculation result. The program instructions for performing the calculations comprise:
Figure BDA0002641006600000101
Figure BDA0002641006600000111
the obtained calculation result comprises the three-dimensional coordinate information of the rotated tool path, and the data processing module feeds back the obtained three-dimensional coordinate information of the rotated tool path to the view module.
And S105, re-rendering the three-dimensional model according to the calculation result to obtain the rotated five-axis laser tool path three-dimensional model.
During specific implementation, the view module performs correction rendering on the corresponding tool path in the three-dimensional model according to the rotated three-dimensional coordinate information of the tool path to obtain a rotated five-axis laser tool path three-dimensional model.
Example 2:
the present embodiment provides a five-axis laser tool path rotating apparatus, as shown in fig. 2, including:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein 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 an operation instruction, selecting a tool path view needing to rotate 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;
the first calculation unit is used for calculating to obtain a rotation center coordinate according to the selected rotation center area, calculating to obtain a rotation angle according to the tool path deviation starting position and the ending position, and calculating to obtain a rotation vector according to the current angle of the tool path view;
the first calculation unit is used for performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
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 apparatus, 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 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;
the transmission unit is used for transmitting the transmission information of the tool path view, the rotation center area, the tool path deviation starting position and the ending position to the data processing module for calculation and receiving a calculation result 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 apparatus, as shown in fig. 4, including:
the receiving unit is used for receiving the tool path view, the rotation center area and the tool path deviation initial position and end position information transmitted by the view module;
the second calculation unit is used for calculating to obtain a rotation center coordinate according to the rotation center area, calculating to obtain a rotation angle according to the deviation starting position and the deviation ending position of the cutter path, and calculating to obtain a rotation vector according to the current angle of the cutter path view;
the second calculation unit is used for performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
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 stored thereon instructions that, when executed on a computer, cause the computer to perform the five-axis laser tool 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, floppy disks, optical disks, hard disks, flash memories, flash disks and/or Memory sticks (Memory sticks), etc., and 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 understand that: all or part of the steps for implementing the embodiments of the method may be implemented by hardware related to program instructions, the program may be stored in a computer-readable storage medium, and when executed, the program performs the steps including the embodiments of the method, and the storage medium includes: various media that can store program codes, 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 of embodiments. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 present invention is not limited to the above-described alternative embodiments, and various other forms of products can be obtained by anyone in light of the present invention. The above detailed description should not be taken as limiting the scope of the invention, which is defined in the claims, and which the description is intended to be interpreted accordingly.

Claims (10)

1. A five-axis laser tool path rotating method is characterized by comprising the following steps:
acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
receiving an operation instruction, selecting a tool path view needing to rotate 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 to obtain a rotation center coordinate according to the selected rotation center area, calculating to obtain a rotation angle according to the deviation starting position and the deviation ending position of the tool path, and calculating to obtain a rotation vector according to the current angle of the tool path view;
performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
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 five-axis laser tool path rotation method of claim 1, wherein the obtaining of the three-dimensional model of the five-axis laser tool path including the 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 five-axis laser tool path rotating method according to claim 1, wherein the 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 comprise:
displaying the five-axis laser tool path three-dimensional model;
receiving a selection operation instruction of a user for a five-axis laser tool path three-dimensional model, wherein the selection operation instruction comprises a selection operation instruction of a tool path view, a selection operation instruction of a rotation center area and a selection operation instruction of a tool path deviation starting position and an ending position;
determining a tool path view of a corresponding angle according to the selected operation instruction of the tool path view, determining a three-dimensional coordinate parameter of a rotating center region according to the selected operation instruction of the rotating center region, and determining the three-dimensional coordinate parameter of a tool path deviation starting position and a tool path deviation ending position according to the selected operation instruction of the tool path deviation starting position and the tool path deviation ending position.
4. The five-axis laser tool path rotating method 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 tool path view parameter after rotary calculation according to a calculation result, wherein the tool path view parameter after rotary calculation comprises three-dimensional coordinate information of a tool path after rotation;
and correcting and rendering the corresponding tool path in the three-dimensional model according to the three-dimensional coordinate information of the rotated tool path to obtain the five-axis laser tool path three-dimensional model after rotation.
5. A five-axis laser tool path rotating method is characterized by comprising the following steps:
acquiring a five-axis laser tool path three-dimensional model containing three-dimensional coordinates;
receiving an operation instruction, selecting a tool path view needing to rotate 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 information of the tool path view, the rotation center area, the tool path deviation initial position and the tool path deviation end position to a data processing module;
and receiving an operation result fed back by the data processing module, and re-rendering the three-dimensional model according to the operation result to obtain the rotated five-axis laser tool path three-dimensional model.
6. A five-axis laser tool path rotating method is characterized by comprising the following steps:
receiving a tool path view, a rotation center area, and tool path deviation initial position and end position information transmitted by a view module;
calculating to obtain a rotation center coordinate according to the rotation center area, calculating to obtain a rotation angle according to the deviation starting position and the deviation ending position of the tool path, and calculating to obtain a rotation vector according to the current angle of the tool path view;
performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
and feeding back the calculation result to the view module.
7. The five-axis laser tool path rotating device according to claim 1, comprising:
the device comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein 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 an operation instruction, selecting a tool path view needing to rotate 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;
the first calculation unit is used for calculating to obtain a rotation center coordinate according to the selected rotation center area, calculating to obtain a rotation angle according to the tool path deviation starting position and the ending position, and calculating to obtain a rotation vector according to the current angle of the tool path view;
the first calculation unit is used for performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
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.
8. The five-axis laser tool path rotating device according to claim 5, 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 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;
the transmission unit is used for transmitting the transmission information of the tool path view, the rotation center area, the tool path deviation starting position and the ending position to the data processing module for calculation and receiving a calculation result 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.
9. The five-axis laser tool path rotating device according to claim 6, comprising:
the receiving unit is used for receiving the tool path view, the rotation center area and the tool path deviation initial position and end position information transmitted by the view module;
the second calculation unit is used for calculating to obtain a rotation center coordinate according to the rotation center area, calculating to obtain a rotation angle according to the deviation starting position and the deviation ending position of the cutter path, and calculating to obtain a rotation vector according to the current angle of the cutter path view;
the second calculation unit is used for performing tool path rotation calculation on the tool path view according to the rotation center coordinate, the rotation angle and the rotation vector to obtain a calculation result;
and the feedback unit is used for feeding back the calculation result to the view module.
10. A computer-readable storage medium having stored thereon instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-6.
CN202010839748.6A 2020-08-19 2020-08-19 Five-axis laser tool path rotating method and device and storage medium Pending CN111930073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010839748.6A CN111930073A (en) 2020-08-19 2020-08-19 Five-axis laser tool path rotating method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010839748.6A CN111930073A (en) 2020-08-19 2020-08-19 Five-axis laser tool path rotating method and device and storage medium

Publications (1)

Publication Number Publication Date
CN111930073A true CN111930073A (en) 2020-11-13

Family

ID=73305503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010839748.6A Pending CN111930073A (en) 2020-08-19 2020-08-19 Five-axis laser tool path rotating method and device and storage medium

Country Status (1)

Country Link
CN (1) CN111930073A (en)

Cited By (1)

* 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

Citations (11)

* 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
US20110213490A1 (en) * 2010-02-26 2011-09-01 National Formosa University Method of detecting a dynamic path of a five-axis machine tool and detecting assembly for the same
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

Patent Citations (11)

* 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
US20110213490A1 (en) * 2010-02-26 2011-09-01 National Formosa University Method of detecting a dynamic path of a five-axis machine tool and detecting assembly for the same
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

Cited By (1)

* 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

Similar Documents

Publication Publication Date Title
US6341996B1 (en) Tool grinding simulation system
US8706281B2 (en) Method and device for producing a master die tool
ES2554496T3 (en) Automated determination of jet orientation parameters in three-dimensional fluid jet cutting
CN109064400A (en) Three-dimensional point cloud joining method, apparatus and system
JP5999679B2 (en) Equipment maintenance management system
US10095811B2 (en) Three-dimensional model generating method, three-dimensional model generating system, and a three-dimensional model generating program
US8982127B2 (en) Computing device and method for establishing three dimensional coordinate system using graphics
US10108178B2 (en) Workpiece machining surface display method showing dimples to be formed on mashing surface, workpiece machining surface display device showing the dimples, and tool path generation device having the display
US11068624B2 (en) Three-dimensional model generating method, three-dimensional model generating system, and three-dimensional model generating program
US20170138717A1 (en) Correcting apparatus and correcting method
CN113199486B (en) Method and device for calibrating physical origin of mechanical arm flange and electronic equipment
CN111930073A (en) Five-axis laser tool path rotating method and device and storage medium
KR101602472B1 (en) Apparatus and method for generating 3D printing file using 2D image converting
JP6357622B2 (en) Work support device, work support system, work support method and program
CN113768624A (en) Working face positioning control method and device, computer equipment and readable storage medium
JP5724833B2 (en) Automatic programming apparatus and automatic programming method
US7912271B2 (en) Method for determining final projection matrices
JP2000097672A (en) Control information generating method and assisting system in three-dimensional measuring system
JP2009211255A (en) Die working data changing method
JP6894591B2 (en) Measurement data generator, machining program generation system, measurement data generation method
CN104112276B (en) Rock CT (computed tomography) scanned image registration and correction method and device
CN114549795A (en) Parameterization reconstruction method, parameterization reconstruction system, parameterization reconstruction medium and parameterization reconstruction equipment for shoe tree curved surface
CN107463320B (en) System correction method and device
CN114390963A (en) Calibration method and device for industrial robot, three-dimensional environment modeling method and device, computer storage medium and industrial robot operating platform
CN107405137A (en) Equipment for being positioned to the mark in 3D ultrasonoscopy volumes

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