CN115310239B - Method for calculating cutting angle of section bar, terminal and storage medium - Google Patents

Method for calculating cutting angle of section bar, terminal and storage medium Download PDF

Info

Publication number
CN115310239B
CN115310239B CN202211230226.1A CN202211230226A CN115310239B CN 115310239 B CN115310239 B CN 115310239B CN 202211230226 A CN202211230226 A CN 202211230226A CN 115310239 B CN115310239 B CN 115310239B
Authority
CN
China
Prior art keywords
cutting
calculating
vector
cutting angle
angle
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
CN202211230226.1A
Other languages
Chinese (zh)
Other versions
CN115310239A (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.)
Zwcad Software Co ltd
Original Assignee
Zwcad Software 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 Zwcad Software Co ltd filed Critical Zwcad Software Co ltd
Priority to CN202211230226.1A priority Critical patent/CN115310239B/en
Publication of CN115310239A publication Critical patent/CN115310239A/en
Application granted granted Critical
Publication of CN115310239B publication Critical patent/CN115310239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Milling Processes (AREA)

Abstract

The invention provides a method for calculating a section cutting angle, a terminal and a storage medium, wherein the method for calculating the section cutting angle comprises the following steps: s101: obtaining a cutting surface of the end part of the sectional material, calculating a centroid point and an external normal vector of the cutting surface, and obtaining a centroid axis vector through the centroid point; s102: and calculating the cutting angle of the end part of the section bar according to the mass center point, the external normal vector and the mass center axis vector, and acquiring the rotating direction and the rotating angle corresponding to the cutting angle. The invention is convenient for rapidly determining the relative position of the section bar and the cutter during cutting, improves the cutting efficiency of the section bar, is not easy to generate processing errors, is convenient for conveniently adjusting related angle parameters in the production and manufacturing process, and realizes the accurate processing of the section bar.

Description

Method for calculating cutting angle of section bar, terminal and storage medium
Technical Field
The invention relates to the technical field of section bar cutting, in particular to a method for calculating a section bar cutting angle, a terminal and a storage medium.
Background
The section is a common structural member, and in the manufacturing process of structures such as ships and steel shell immersed tubes, the structures formed by the section are more, and the lengths and specifications of the sections used in different areas are often different, while in the manufacturing process of the steel structure, the section is generally made into the incoming materials in batches according to a certain length, and then is cut according to the requirements of the product.
In order to ensure accurate cutting of the profile, the cutting angle of the profile needs to be accurately calculated. However, in the prior art, when the end of the profile is cut in a direction not perpendicular to the mass axis to form a chamfer, only the angle value of the cut can be obtained, but the relative position of the angle cannot be obtained, so that in practical application, a user needs to determine the relative position of the angle according to the position information identified by a drawing, the speed is low, the efficiency is low, the problems of position understanding error and processing failure are easily caused, and the method is not beneficial to conveniently adjusting related angle parameters and realizing the accurate processing of the profile in the production and manufacturing process.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a method for calculating the cutting angle of the section bar, a terminal and a storage medium, wherein the cutting surface of the end part of the section bar is obtained, a mass center point, an external normal vector and a mass center axis vector are calculated according to the cutting surface, and the cutting angle, the rotating direction and the rotating angle of the cut section bar are obtained by utilizing the mass center point, the external normal vector and the mass center axis vector, so that the cutting angle and the rotating angle are obtained, the relative orientation of the section bar and a cutter during cutting is conveniently and rapidly determined, the cutting efficiency of the section bar is improved, the processing error is not easy to occur, the related angle parameters are conveniently and rapidly adjusted in the production and manufacturing process, and the accurate processing of the section bar is realized.
In order to solve the above problems, the present invention adopts a technical solution as follows: a method for calculating a section cutting angle comprises the following steps: s101: obtaining a cutting surface of the end part of the sectional material, calculating a centroid point and an external normal vector of the cutting surface, and obtaining a centroid axis vector through the centroid point; s102: calculating the cutting angle of the end part of the sectional material according to the center of mass point, the outer normal vector and the center of mass axis vector, and acquiring the rotating direction and the rotating angle corresponding to the cutting angle, wherein the step of calculating the cutting angle of the end part of the sectional material according to the center of mass point, the outer normal vector and the center of mass axis vector specifically comprises the following steps: by the formula
Figure DEST_PATH_IMAGE002
Calculating the cutting angle of the I end of the section bar, wherein z is a mass center axial vector and is/is>
Figure DEST_PATH_IMAGE004
Is an external normal vector at the end I of the section bar>
Figure DEST_PATH_IMAGE006
Is a cutting angle of the end of the section bar I,
Figure DEST_PATH_IMAGE008
is a multiplication sign>
Figure DEST_PATH_IMAGE010
Representing a vector-z and a vector->
Figure 47817DEST_PATH_IMAGE004
The product of the quantities of;
and by the formula
Figure DEST_PATH_IMAGE012
Calculating the cutting angle at the II end of the profile, wherein>
Figure DEST_PATH_IMAGE014
Is an external normal vector at the II end of the section bar>
Figure DEST_PATH_IMAGE016
Is a cutting angle of the II end of the section bar>
Figure DEST_PATH_IMAGE018
X is a cross-product symbol, -zxn 1 Represents vector-z and vector->
Figure 775077DEST_PATH_IMAGE004
Cross multiplication of (d).
Further, the step of obtaining the cut surface of the end of the profile specifically comprises: and acquiring the structural information of the profile, and determining the cutting surface of the profile according to the structural information.
Further, the step of calculating the centroid point and the external normal vector of the cutting surface specifically includes: and acquiring density information of the section bar, calculating a center of mass point of the cutting surface according to the density information, and determining a normal vector of the cutting surface, which passes through the center of mass point and points to the outside of the section bar, as an external normal vector.
Further, the step of obtaining the centroid axis vector through the centroid point specifically includes: and determining a vector pointing from the centroid point at one end of the profile to the centroid point at the other end of the profile as a centroid axis vector.
Further, the step of obtaining the rotation direction corresponding to the cutting angle specifically includes: by the formula
Figure DEST_PATH_IMAGE020
Calculating the rotating direction corresponding to the cutting angle of the I end of the section bar and judging whether the section bar is in the standard position or not according to a formula>
Figure DEST_PATH_IMAGE022
And calculating the rotating direction corresponding to the cutting angle of the II end of the section bar, wherein x is a cross multiplication symbol.
Further, by the formula α
Figure DEST_PATH_IMAGE024
Calculating a rotation angle, wherein>
Figure DEST_PATH_IMAGE026
Represents a mass axis vector &>
Figure DEST_PATH_IMAGE028
And an external normal vector->
Figure DEST_PATH_IMAGE030
Is cross-multiplied by->
Figure DEST_PATH_IMAGE032
Represents->
Figure DEST_PATH_IMAGE034
The die of (a) is used,
Figure DEST_PATH_IMAGE036
represents a vector pick>
Figure DEST_PATH_IMAGE038
And vector->
Figure DEST_PATH_IMAGE040
Is accumulated and accumulated, is greater than or equal to>
Figure DEST_PATH_IMAGE042
Representing a vector
Figure DEST_PATH_IMAGE044
Is determinant->
Figure DEST_PATH_IMAGE046
Represents->
Figure DEST_PATH_IMAGE048
Is multiplied by a number of.
Further, the step of obtaining the rotation direction and the rotation angle corresponding to the cutting angle further includes: and outputting the cutting angle, the rotation angle and the rotation direction, and cutting the profile according to the cutting angle, the rotation angle and the rotation direction.
Based on the same inventive concept, the invention further provides an intelligent terminal, which comprises a processor and a memory, wherein the memory stores a computer program, the processor is in communication connection with the memory, and the processor executes the method for calculating the section cutting angle through the computer program.
Based on the same inventive concept, the present invention also proposes a computer-readable storage medium storing program data for performing the method for calculating a profile cutting angle as described above.
Compared with the prior art, the invention has the beneficial effects that: the cutting plane of obtaining the section bar tip, calculate the center of mass point according to the cutting plane, outer normal vector and barycenter axial vector, and utilize this center of mass point, outer normal vector and center of mass axial vector acquire the cutting angle of cutting section bar, direction of rotation and rotation angle, thereby the acquisition of cutting angle and rotation angle has been realized, the relative position of section bar and cutter when being convenient for confirm the cutting fast, section bar cutting efficiency has been promoted, the fault of processing is difficult to appear, be convenient for in the manufacturing process convenient relevant angle parameter of adjustment, the accurate processing to the section bar has been realized.
Drawings
FIG. 1 is a flowchart illustrating a method for calculating a cutting angle of a profile according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an embodiment of an external normal vector and a mass axis vector of a profile in the method for calculating a cutting angle of a profile according to the present invention;
FIG. 3 is a schematic view of an embodiment of a section I end cutting surface pattern in the method for calculating a section cutting angle according to the present invention;
FIG. 4 is a schematic view of another embodiment of the section I end cutting surface pattern in the method for calculating the section cutting angle of the present invention;
FIG. 5 is a schematic view of an embodiment of a section II end cutting surface pattern in the method for calculating a section cutting angle according to the present invention;
FIG. 6 is a schematic view of another embodiment of the type of the cutting surface of the end II of the profile according to the method for calculating the cutting angle of the profile of the present invention;
FIG. 7 is a schematic view of an embodiment of a rotary cutting angle of the profile cutting according to the method for calculating the cutting angle of the profile according to the present invention;
FIG. 8 is a schematic view of another embodiment of a rotary cutting angle of the profile cutting according to the method for calculating the cutting angle of the profile of the present invention;
FIG. 9 is a block diagram of an embodiment of an intelligent terminal according to the invention;
fig. 10 is a block diagram of an embodiment of a computer-readable storage medium of the present invention.
Detailed Description
The following embodiments of the present application are described by specific examples, and other advantages and effects of the present application will be readily apparent to those skilled in the art from the disclosure of the present application. The present application is capable of other and different embodiments and its several details are capable of modifications and/or changes in various respects, all without departing from the spirit of the present application. It should be noted that the various embodiments of the present disclosure, described and illustrated in the figures herein generally, may be combined with each other without conflict, and that the structural components or functional modules therein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The terminology used in the description of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1-8, fig. 1 is a flow chart illustrating a method for calculating a cutting angle of a profile according to an embodiment of the present invention; FIG. 2 is a schematic view of an embodiment of the normal vector and the mass axis vector of the profile according to the method for calculating the cutting angle of the profile of the present invention; FIG. 3 is a schematic view of an embodiment of a type of a cutting plane of the I end of the profile according to the method for calculating the cutting angle of the profile of the present invention; FIG. 4 is a schematic view of another embodiment of the section I end cutting surface pattern in the method for calculating the section cutting angle of the present invention; FIG. 5 is a schematic view of an embodiment of a section II end cutting surface pattern in the method for calculating a section cutting angle according to the present invention; FIG. 6 is a schematic view of another embodiment of the section bar II end cutting surface pattern in the method for calculating the section bar cutting angle of the present invention; FIG. 7 is a schematic view of an embodiment of a rotary cutting angle for cutting a section bar according to the method for calculating a cutting angle for a section bar of the present invention; fig. 8 is a schematic view of another embodiment of the rotary cutting angle of the profile cutting in the method for calculating the cutting angle of the profile according to the present invention. The method for calculating the cutting angle of the section bar according to the invention is described with reference to fig. 1-8.
In this embodiment, the device for executing the method for calculating the cutting angle of the profile is an intelligent terminal, and the intelligent terminal may be a mobile phone, a tablet computer, a notebook computer, a server, or other devices capable of loading a three-dimensional model and calculating the cutting angle.
In this embodiment, the method for calculating the cutting angle of the profile executed by the intelligent terminal includes:
s101: and obtaining a cutting surface of the end part of the section bar, calculating a centroid point and an external normal vector of the cutting surface, and obtaining a centroid axis vector through the centroid point.
In the process of cutting the section bar, the cutting surface of the end part of the section bar is required to be always vertical to the mass axis of the section bar. Therefore, the step of obtaining the cut surface of the end of the profile comprises in particular: and acquiring the structural information of the profile, and determining the cutting surface of the profile according to the structural information. Wherein, the position of the cutting position on the section bar is determined according to the structural information of the section bar, so that the cutting surface of the section bar is obtained according to the position.
In this embodiment, the structural information of the profile includes the length, width, height, coordinates of the profile and its position on the cutting machine, etc. which can be used to help the cutting machine determine the cutting position of the profile.
In this embodiment, the step of calculating the centroid point and the external normal vector of the cutting surface specifically includes: and obtaining density information of the section bar, calculating a mass center point of the cutting surface according to the density information, and determining a normal vector of the cutting surface which passes through the mass center point and points to the outside of the section bar as an external normal vector. Wherein, after obtaining the barycenter point at the both ends of the section bar, connect the barycenter point at the both ends of the section bar to form the mass center axis of the section bar.
The step of obtaining the centroid axis vector through the centroid point specifically includes: and determining a vector pointing from the centroid point at one end of the profile to the centroid point at the other end of the profile as a centroid axis vector.
In a specific embodiment, a cutting surface I (or II) of the profile is extracted from profile part coordinates WCS, coordinates of any point P on the cutting surface of the profile are (x, y, z), a geometric body S is created, and coordinates of a centroid point [ Xc Yc Zc ] of the cutting surface of the profile are:
Xc=
Figure DEST_PATH_IMAGE050
Yc=
Figure DEST_PATH_IMAGE052
Zc=
Figure DEST_PATH_IMAGE054
obtaining a normal vector of a cutting surface, and recording an external normal vector passing through a centroid point of the cutting surface of the I end of the section bar as an external normal vector
Figure 370794DEST_PATH_IMAGE004
Similarly, the outer normal vector of the II-end cutting plane passing through the II-end centroid point is recorded as ^ greater than or equal to>
Figure 952954DEST_PATH_IMAGE014
. The vector from the mass center point at the I end to the mass center point at the II end is z, and the vector is known to be greater or less than the reference value of the solid geometry>
Figure 236167DEST_PATH_IMAGE004
Coplanar with vector z, vector->
Figure 996313DEST_PATH_IMAGE014
Coplanar with the vector z. And aiming at the condition that one end has a plurality of cutting surfaces, a plurality of cutting surfaces can be processed and produced in a mode of adjusting reciprocating cutting for a plurality of times in engineering application.
S102: calculating the cutting angle of the end part of the sectional material according to the mass center point, the external normal vector and the mass center axis vector, and acquiring the rotating direction and the rotating angle corresponding to the cutting angle, wherein the step of calculating the cutting angle of the end part of the sectional material according to the mass center point, the external normal vector and the mass center axis vector specifically comprises the following steps:
by the formula
Figure 482920DEST_PATH_IMAGE002
Calculating the cutting angle of the I end of the section bar, wherein z is a mass center axial vector and is/is>
Figure 353924DEST_PATH_IMAGE004
Is an external normal vector at the end I of the section bar>
Figure 491645DEST_PATH_IMAGE006
Is a cutting angle of the I end of the section bar>
Figure 203117DEST_PATH_IMAGE008
Is a multiplication sign>
Figure 691868DEST_PATH_IMAGE010
Representing vector-z and vector
Figure 897721DEST_PATH_IMAGE004
The product of the quantities of;
and by the formula
Figure 889948DEST_PATH_IMAGE012
Calculating the cutting angle at the II end of the profile, wherein>
Figure 757277DEST_PATH_IMAGE014
Is an external normal vector at the II end of the section bar>
Figure 467744DEST_PATH_IMAGE016
Is a cutting angle of the II end of the section bar>
Figure 211709DEST_PATH_IMAGE018
X is a cross-product symbol, -zxn 1 Represents vector-z and vector->
Figure 573289DEST_PATH_IMAGE004
Cross multiplication of (c).
The step of obtaining the rotation direction corresponding to the cutting angle specifically includes: by the formula
Figure 846139DEST_PATH_IMAGE020
Calculating the rotating direction corresponding to the cutting angle of the I end of the section bar and judging whether the section bar is in the standard position or not according to a formula>
Figure 43902DEST_PATH_IMAGE022
And calculating the rotation direction corresponding to the cutting angle of the section bar II end, wherein x is a cross-product symbol.
In one embodiment, the profile comprises an end I and an end II, and the cutting angle of the end I is as shown in figures 3-6
Figure 607869DEST_PATH_IMAGE006
II end cutting angle is>
Figure 574688DEST_PATH_IMAGE016
And the rotation angle of the II-end cutting surface and the I-end cutting surface relative to the mass center axis is alpha. The combination engineering practice shows that the cutting surface has two cutting modes of reverse rotation and forward rotation relative to a zero-section plane (a plane passing through the center of mass point of the end surface of the profile and perpendicular to the axis of the profile), and the two cutting modes are shown in the attached figures 3 and 4. Meanwhile, the cutting surface at the end II and the cutting surface at the end I have a reverse rotation and a forward rotation relative to the rotation direction of the centroidal shaft, as shown in the attached figures 5 and 6.
Cutting angle of the following I end
Figure DEST_PATH_IMAGE056
The relevant geometric solving process will be described by taking the solving process of (2) as an example.
1) The following mathematical relationship can be obtained by performing non-zero degree cutting on the form of the attached figure 3 at the I end and converting the geometric angle:
Figure DEST_PATH_IMAGE058
it can be seen that the cutting knife is now rotated clockwise relative to the zero cutting plane->
Figure DEST_PATH_IMAGE060
A corresponding cut surface can be obtained.
The following mathematical relationship can also be obtained by performing a non-zero degree cutting in the form of fig. 4 for the end I and performing geometric angle conversion:
Figure DEST_PATH_IMAGE062
it can be seen from fig. 4 that the cutting tool now rotates counterclockwise->
Figure 408652DEST_PATH_IMAGE060
A corresponding cut surface can be obtained. In general, the angle obtained by counterclockwise rotation is defined as a positive angle, and the angle obtained by clockwise rotation is defined as a negative angle. In order to indicate the direction of an angle by means of the positive and negative values of the angle, it is now possible to combine the values of a vector cross-product with a value perpendicular to the vector->
Figure DEST_PATH_IMAGE064
Vector->
Figure DEST_PATH_IMAGE066
. The correlation property by vector cross multiplication is known as: />
Figure 716880DEST_PATH_IMAGE066
Determinant of
Figure DEST_PATH_IMAGE068
Greater than 0, the vector->
Figure DEST_PATH_IMAGE070
An angle of less than 180 ° counterclockwise rotation results in a vector &>
Figure DEST_PATH_IMAGE072
;/>
Figure 989599DEST_PATH_IMAGE068
Less than 0, the vector->
Figure 764919DEST_PATH_IMAGE070
An angle greater than 0 and less than 180 ° clockwise rotation results in a vector>
Figure 176309DEST_PATH_IMAGE072
. Therefore, the acquisition rotation direction judgment function is constructed based on the property:
Figure DEST_PATH_IMAGE074
when in use
Figure DEST_PATH_IMAGE076
When the cutting tool is larger than 0, the cutting tool is indicated to rotate anticlockwise relative to the zero tangent plane to cut the section;
when in use
Figure 535615DEST_PATH_IMAGE076
And when the cutting tool is less than 0, the cutting tool is indicated to rotate clockwise and counterclockwise relative to the zero tangent plane to cut the section bar.
By combining engineering practice and through space geometric visual angle analysis, the forward and reverse directions of the cutting direction can be interchanged when the observation visual directions along the plane of the cutter are opposite. Therefore, in order to avoid misunderstanding of the solution result caused by the inconsistency of the initial placing modes of the section bar, the cutting angle is formed by the fact that the cutting surface of the I end of the section bar is always formed by the fact that the cutter rotates anticlockwise relative to a zero tangent plane
Figure 628336DEST_PATH_IMAGE006
Will always be positive and a cutting angle can be obtained in combination with the above calculation and analysis>
Figure 323409DEST_PATH_IMAGE056
The solution formula of (c) is as follows:
Figure DEST_PATH_IMAGE078
(0</>
Figure 640121DEST_PATH_IMAGE056
<90°)
based on
Figure 34193DEST_PATH_IMAGE056
Is assumed and taken and &>
Figure 179873DEST_PATH_IMAGE056
With the same observation direction, the cut-off angle can be determined>
Figure DEST_PATH_IMAGE080
The solution formula relative to the zero tangent plane is as follows:
Figure DEST_PATH_IMAGE082
*arccos/>
Figure DEST_PATH_IMAGE084
(0<|/>
Figure 133047DEST_PATH_IMAGE080
|<90°)
in the present embodiment, after the cutting angle and the rotation direction of the cutting tool are acquired, the rotation angle of the cut surface can be calculated. Wherein, by the formula α =
Figure 886240DEST_PATH_IMAGE024
A rotation angle is calculated, wherein,
Figure 220138DEST_PATH_IMAGE026
represents a mass axis vector pick>
Figure 716978DEST_PATH_IMAGE028
And an external normal vector->
Figure 367402DEST_PATH_IMAGE030
Is cross-multiplied by->
Figure 291496DEST_PATH_IMAGE032
Represents->
Figure 876805DEST_PATH_IMAGE034
The die of (a) is used,
Figure 115019DEST_PATH_IMAGE036
represents a vector pick>
Figure 400376DEST_PATH_IMAGE038
And vector->
Figure 433054DEST_PATH_IMAGE040
Is accumulated and accumulated, is greater than or equal to>
Figure 554594DEST_PATH_IMAGE042
Representing a vector
Figure 143969DEST_PATH_IMAGE044
Is determinant->
Figure 706669DEST_PATH_IMAGE046
Represents->
Figure 972565DEST_PATH_IMAGE048
Is multiplied by a number of.
Specifically, the geometric meaning of the rotation angle is that after the cutting surface of the II end is rotated by alpha, the external normal vector of the cutting surface is analyzed through the cutting rotation process
Figure 299510DEST_PATH_IMAGE014
An outer normal vector which is connected with the cutting surface at the I end>
Figure 207423DEST_PATH_IMAGE004
Are coplanar. Upon further analysis, the rotation angle α is equivalent to a vector ≥>
Figure 686946DEST_PATH_IMAGE004
And vector->
Figure 68949DEST_PATH_IMAGE028
Formed plane R 1 And vector->
Figure 633923DEST_PATH_IMAGE030
Plane R formed by sum vector z 2 Dihedral angle therebetween. To solve for the dihedral angle, one can calculate the plane R 1 Is greater than or equal to>
Figure DEST_PATH_IMAGE086
And plane R 2 Is greater than or equal to>
Figure DEST_PATH_IMAGE088
The angle therebetween. Assuming that the I end is looking at the II end along the centroidal axis, the cutting plane of the II end can be known by combining the engineering practiceThe cutting surface relative to the I end also has two relative rotation forms of reverse rotation and forward rotation. The following two relative rotation cutting processes, counterclockwise and clockwise, illustrate the associated geometric solving process for the rotation angle α.
The following mathematical relationship can be obtained for a counter-clockwise rotary cut of the form of fig. 7 and by geometric angle conversion:
Figure DEST_PATH_IMAGE090
the same mathematical relationship can also be easily found for the counter-clockwise rotation cut of the form of fig. 8 by geometric angle conversion.
Therefore, the rotation angle direction function is defined with reference to the method for solving the rotation direction of the cutting tool in the cutting angle solving process: f alpha =
Figure DEST_PATH_IMAGE092
When F alpha is more than 0, the cutting process is indicated to need to rotate the section bar anticlockwise (from the end I to the end II); when F α < 0, it indicates that the cutting process requires rotating the profile clockwise (looking from end I to end II). The solution formula of the rotation angle alpha obtained by combining the calculation and analysis processes is as follows: α =
Figure DEST_PATH_IMAGE094
(| α | < 180 °). Wherein +>
Figure DEST_PATH_IMAGE096
Representing vector z and vector
Figure 299522DEST_PATH_IMAGE004
Is cross-multiplied by->
Figure 86081DEST_PATH_IMAGE026
Represents a mass axis vector pick>
Figure 959359DEST_PATH_IMAGE028
And an external normal vector->
Figure 11629DEST_PATH_IMAGE030
Is cross-multiplied by->
Figure 681251DEST_PATH_IMAGE032
Represents->
Figure 135366DEST_PATH_IMAGE034
Is greater than or equal to>
Figure 913966DEST_PATH_IMAGE036
Represents a vector pick>
Figure 702800DEST_PATH_IMAGE038
And vector->
Figure 490627DEST_PATH_IMAGE040
Dot product of (D), (D) and (E)>
Figure 799249DEST_PATH_IMAGE042
Representing a vector
Figure 702745DEST_PATH_IMAGE044
In a determinant thereof>
Figure 464027DEST_PATH_IMAGE046
Represents->
Figure 789967DEST_PATH_IMAGE048
Is used, i.e. a normal multiplication operation.
Further, the step of obtaining the rotation direction and the rotation angle corresponding to the cutting angle further comprises: and outputting the cutting angle, the rotation angle and the rotation direction, and cutting the profile according to the cutting angle, the rotation angle and the rotation direction.
In a specific embodiment, the solved cutting angle, rotation angle and other data required for cutting the profile are output to a cutting list statistical table, and the cutting of the profile is performed by using the data in the cutting list statistical table.
Based on the same inventive concept, the present invention further provides an intelligent terminal, please refer to fig. 9, fig. 9 is a structural diagram of an embodiment of the intelligent terminal of the present invention, and the intelligent terminal of the present invention is specifically described with reference to fig. 9.
In this embodiment, the intelligent terminal includes a processor and a memory, the memory stores a computer program, the processor is connected to the memory in a communication manner, and the processor executes the method for calculating the cutting angle of the profile according to the above embodiments through the computer program.
In some embodiments, memory may include, but is not limited to, high speed random access memory, non-volatile memory. Such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable functional device, a discrete Gate or transistor functional device, or a discrete hardware component.
Based on the same inventive concept, the present invention further provides a computer readable storage medium, please refer to fig. 10, fig. 10 is a structural diagram of an embodiment of the computer readable storage medium of the present invention, and the computer readable storage medium of the present invention is described with reference to fig. 10.
In the present embodiment, a computer-readable storage medium stores program data used to perform the method of calculating the profile cutting angle as described in the above embodiments.
The computer-readable storage medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs (compact disc-read only memories), magneto-optical disks, ROMs (read only memories), RAMs (random access memories), EPROMs (erasable programmable read only memories), EEPROMs (electrically erasable programmable read only memories), magnetic or optical cards, flash memory, or other type of media/machine-readable medium suitable for storing machine-executable instructions. The computer readable storage medium may be an article of manufacture that is not accessible to the computer device or may be a component that is used by an accessed computer device.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A method for calculating a section cutting angle is characterized by comprising the following steps:
s101: obtaining a cutting surface of the end part of the sectional material, calculating a centroid point and an external normal vector of the cutting surface, and obtaining a centroid axis vector through the centroid point;
s102: calculating the cutting angle of the end part of the sectional material according to the center of mass point, the outer normal vector and the center of mass axis vector, and acquiring the rotating direction and the rotating angle corresponding to the cutting angle, wherein the step of calculating the cutting angle of the end part of the sectional material according to the center of mass point, the outer normal vector and the center of mass axis vector specifically comprises the following steps:
by the formula
Figure DEST_PATH_IMAGE001
Calculating the cutting angle of the I end of the section bar, wherein z is a mass center axial vector,
Figure 108560DEST_PATH_IMAGE002
is an external normal vector of the end I of the section bar,
Figure DEST_PATH_IMAGE003
is a cutting angle of the end of the section bar I,
Figure 910294DEST_PATH_IMAGE004
is the multiplication number, and is the number of multiplication,
Figure DEST_PATH_IMAGE005
representing vector-z and vector
Figure 616344DEST_PATH_IMAGE002
The product of the quantities of;
and by the formula
Figure 156916DEST_PATH_IMAGE006
Calculating the cutting angle of the II end of the section bar, wherein,
Figure DEST_PATH_IMAGE007
is an external normal vector of the II end of the section bar,
Figure 96053DEST_PATH_IMAGE008
is a cutting angle of the II end of the section bar,
Figure DEST_PATH_IMAGE009
x is a cross-product symbol, -zxn 1 Representing vector-z and vector
Figure 998017DEST_PATH_IMAGE002
Cross multiplication of (d).
2. The method for calculating the cutting angle of the profile according to claim 1, wherein the step of obtaining the cut surface of the end of the profile specifically comprises:
and acquiring the structural information of the profile, and determining the cutting surface of the profile according to the structural information.
3. The method for calculating the section bar cutting angle according to claim 1, wherein the step of calculating the centroid point and the outer normal vector of the cutting surface specifically comprises:
and obtaining density information of the section bar, calculating a center of mass point of the cutting surface according to the density information, and determining a normal vector of the cutting surface which passes through the center of mass point and points to the outside of the section bar as an external normal vector.
4. The method for calculating the cutting angle of the section bar according to claim 1, wherein the step of obtaining the centroid axis vector through the centroid point specifically comprises:
and determining a vector pointing from the centroid point at one end of the profile to the centroid point at the other end of the profile as a centroid axis vector.
5. The method for calculating the cutting angle of the profile according to claim 1, wherein the step of obtaining the rotation direction corresponding to the cutting angle specifically comprises:
by the formula
Figure 604579DEST_PATH_IMAGE010
Calculating the rotation direction corresponding to the cutting angle of the I end of the section bar and obtaining the rotation direction through a formula
Figure DEST_PATH_IMAGE011
And calculating the rotation direction corresponding to the cutting angle of the section bar II end, wherein x is a cross-product symbol.
6. Method for calculating the profile cutting angle according to claim 1, by the formula α =
Figure 145413DEST_PATH_IMAGE012
A rotation angle is calculated, wherein,
Figure DEST_PATH_IMAGE013
representing the mass axis vector
Figure 555534DEST_PATH_IMAGE014
With external normal vector
Figure DEST_PATH_IMAGE015
The cross-product of (a) is,
Figure 230229DEST_PATH_IMAGE016
represent
Figure DEST_PATH_IMAGE017
The die of (a) is used,
Figure 173521DEST_PATH_IMAGE018
representing a vector
Figure DEST_PATH_IMAGE019
And vector
Figure 275469DEST_PATH_IMAGE020
The dot product of (a) is,
Figure DEST_PATH_IMAGE021
representing a vector
Figure 110570DEST_PATH_IMAGE022
The determinant (c) of (a),
Figure DEST_PATH_IMAGE023
to represent
Figure 261060DEST_PATH_IMAGE024
Is multiplied by a number of.
7. The method for calculating the cutting angle of the section bar according to claim 1, wherein the step of obtaining the rotation direction and the rotation angle corresponding to the cutting angle further comprises the following steps:
and outputting the cutting angle, the rotation angle and the rotation direction, and cutting the profile according to the cutting angle, the rotation angle and the rotation direction.
8. An intelligent terminal, characterized in that the intelligent terminal comprises a processor and a memory, the memory stores a computer program, the processor is connected with the memory in a communication way, and the processor executes the method for calculating the section cutting angle according to any one of claims 1-7 through the computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores program data for executing the method for calculating a profile cutting angle according to any one of claims 1 to 7.
CN202211230226.1A 2022-10-08 2022-10-08 Method for calculating cutting angle of section bar, terminal and storage medium Active CN115310239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211230226.1A CN115310239B (en) 2022-10-08 2022-10-08 Method for calculating cutting angle of section bar, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211230226.1A CN115310239B (en) 2022-10-08 2022-10-08 Method for calculating cutting angle of section bar, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN115310239A CN115310239A (en) 2022-11-08
CN115310239B true CN115310239B (en) 2023-03-24

Family

ID=83866924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211230226.1A Active CN115310239B (en) 2022-10-08 2022-10-08 Method for calculating cutting angle of section bar, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115310239B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108555367A (en) * 2018-03-15 2018-09-21 佛山市诺威科技有限公司 A kind of accurate cutting machine in proximate matter oblique section and cutting method
CN111833462A (en) * 2020-07-14 2020-10-27 深圳市瑞立视多媒体科技有限公司 Cutting method, device and equipment based on illusion engine and storage medium
CN112506140A (en) * 2020-12-02 2021-03-16 宁夏大学 Space circular interpolation method and system of five-axis linkage water cutting machine tool

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE533333C2 (en) * 2009-02-27 2010-08-31 Spiro Internat S A Knife holder for a pipe cutting unit for pipe making as well as a system and use of the pipe making system
CN104346753A (en) * 2013-08-07 2015-02-11 鸿富锦精密工业(深圳)有限公司 Cutting optimization processing system and cutting optimization processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108555367A (en) * 2018-03-15 2018-09-21 佛山市诺威科技有限公司 A kind of accurate cutting machine in proximate matter oblique section and cutting method
CN111833462A (en) * 2020-07-14 2020-10-27 深圳市瑞立视多媒体科技有限公司 Cutting method, device and equipment based on illusion engine and storage medium
CN112506140A (en) * 2020-12-02 2021-03-16 宁夏大学 Space circular interpolation method and system of five-axis linkage water cutting machine tool

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Reconfigurable manufacturing execution system for pipe cutting;Y.H. Yin 等;《Enterprise Information System》;20110831;第287-299页 *
复杂桁架结构管端实际切割角优化算法;王强 等;《轻工机械》;20151031;第34-37、46页 *
多管、板相贯坡口切割的数学模型;李宝清;《天津大学学报》;20000930;第583-586页 *

Also Published As

Publication number Publication date
CN115310239A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
CN109584288B (en) Reconstruction method and system of three-dimensional model in five-axis system
EP1868120A1 (en) Curved surface generation method, program, and 3-dimensional shape processing device
CN110796095A (en) Instrument template establishing method, terminal equipment and computer storage medium
CN115310239B (en) Method for calculating cutting angle of section bar, terminal and storage medium
CN110544255B (en) Method and system for segmenting triangular mesh holes for 3D printing
CN117115261B (en) Knife wheel cutting positioning method and system based on thin wafer
EP2839438A1 (en) Method and apparatus for estimating error metrics for multi-component 3d models
CN110033409B (en) Iteration closest point rigid registration method and system
JP6961717B2 (en) Panorama image alignment method based on multipath images, devices and mobile terminals
CN116244865B (en) Method and device for finite element modeling of axial flow impeller and computer storage medium
CN114998381A (en) Welding track fitting method, device, equipment and storage medium in tube plate welding
CN109101739B (en) Three-dimensional measurement method, device and equipment for overall dimension of propeller
CN109029285B (en) Hybrid measurement method integrating contact measurement and non-contact measurement
TWI325037B (en)
CN110954048A (en) Method and device for measuring deflection angle of twist drill pair
CN116882326B (en) Non-structural surface anisotropic grid generation method and grid generation device
CN115035964B (en) Method and system for predicting micro milling performance of crystalline metal material
CN115619978B (en) Grid surface construction method, terminal and storage medium
CN117788538B (en) Registration method, device and system for consistency of point cloud interval pairing volume variances
CN114373049B (en) Mechanical drawing design method, device, computer equipment and storage medium
KR101262738B1 (en) Manufacturing method of scroll for scroll compressor
CN116955891A (en) Shallow iteration function operation method and device based on Cordic algorithm
CN114255171A (en) Method and device for calculating conversion relation of similar legends
CN117788538A (en) Registration method, device and system for consistency of point cloud interval pairing volume variances
CN115953593A (en) Method, device and equipment for recognizing contour of industrial part 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