CN115600265A - Material reducing process planning method, device, equipment and storage medium - Google Patents

Material reducing process planning method, device, equipment and storage medium Download PDF

Info

Publication number
CN115600265A
CN115600265A CN202211275849.0A CN202211275849A CN115600265A CN 115600265 A CN115600265 A CN 115600265A CN 202211275849 A CN202211275849 A CN 202211275849A CN 115600265 A CN115600265 A CN 115600265A
Authority
CN
China
Prior art keywords
contour
matching
point
layer
cutter
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
CN202211275849.0A
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.)
China South Industries Group Automation Research Institute
Original Assignee
China South Industries Group Automation Research Institute
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 China South Industries Group Automation Research Institute filed Critical China South Industries Group Automation Research Institute
Priority to CN202211275849.0A priority Critical patent/CN115600265A/en
Publication of CN115600265A publication Critical patent/CN115600265A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/10Additive manufacturing, e.g. 3D printing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P10/00Technologies related to metal processing
    • Y02P10/25Process efficiency

Landscapes

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

Abstract

The invention discloses a method, a device, equipment and a storage medium for planning a material reduction process, wherein the method comprises the steps of acquiring outline information of each layer of a structural member to be reduced; acquiring topological relations among all contours contained in each layer; identifying the corresponding relation of the contours between different layers to perform contour matching search, wherein the contour matching search comprises finding two or more contours between different layers to establish a relation so that the relation conforms to the structural characteristics of the STL model. The method is simple to operate, the number of parameters needing to be input by a user is small, and the operation difficulty of the user can be reduced. Meanwhile, NC codes are generated quickly and accurately. In addition, the method is easy to integrate with a system, and is used for quickly and accurately generating the material reducing process codes for composite material increasing and decreasing processing and controlling the material reducing process to be accurately executed.

Description

Material reducing process planning method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of material increase and decrease manufacturing, in particular to a material decrease process planning method, a device, equipment and a storage medium for a composite material increase and decrease system.
Background
The material increasing and decreasing composite machine tool is a novel machine tool combined with a 3D printing technology, can be integrally manufactured, and can play a key role in the fields of aerospace and military industry. In a composite material adding and reducing system, a metal structure is formed by adopting a synchronous powder feeding laser forming technology, and the size and the surface precision of the formed metal structure are improved by using material reducing technologies such as milling, grinding and the like.
In the process of increasing and reducing materials, the machining of the material reducing robot needs to be continuously performed with NC planning (STEP-NC is a new numerical control interface standard (ISO 1 4649) which is proposed in Europe and America and is used for replacing ISO 6983. The STEP-NC data model and the influence thereof on the numerical control system are analyzed, and the process planning in the numerical control machining is divided into off-line planning, on-line planning and real-time planning based on the basic idea of STEP-NC).
The method for carrying out the material reducing process in the prior art comprises the following steps:
1. importing a solid model in CAM software;
2. cutting a corresponding slice solid model according to the workpiece processing part;
3. defining CAM parameters and generating NC codes of the slice solid model;
4. using special software to convert the NC code of CAM into the NC code file needed by the device;
5. and transmitting the NC file of the device to the device for execution by using a specified protocol such as FTP.
In the method in the prior art, material reduction planning is performed by using CAM software, so that the method is complex and time-consuming in operation, very easy to make mistakes, free from system integration and urgent to improve.
Disclosure of Invention
In view of the above, the present invention provides a method, apparatus, device and storage medium for reducing material process planning, which overcome the above problems or at least partially solve the above problems.
The invention provides the following scheme:
a material reducing process planning method comprises the following steps:
acquiring outline information of each layer of the structural member to be reduced;
acquiring topological relations among all contours contained in each layer;
identifying the corresponding relation of contours between different layers to perform contour matching search, wherein the contour matching search comprises finding two or more contours between different layers to establish a relation so that the relation conforms to the structural characteristics of the STL model;
analyzing each contour feature to perform two contour section/point matching searches;
processing the derived steps through a target step processing strategy, wherein the target step processing strategy comprises the steps of taking the outline at the bottom of the step as a source outline, taking the upper and lower outlines of a new cutting layer as 2 reference outlines, respectively calculating the positions of the reference cutters when calculating the cutter track, and selecting the cutter position with the highest safety as a result;
analyzing the characteristics of the contour and the reference contour, searching inflection points of each contour, and performing matching analysis; if the matching is not available, taking a vertical bisection plane from the vertex of the outline to obtain an intersection point, if no intersection point exists, acquiring a closest point, and taking the intersection point or the direction of the connecting line of the closest point and the vertex as the vector direction of the tangent line of the blade; if the matching is available, the contour and the reference contour are divided into a plurality of sections to be corresponding, the inflection point is used as the basis of the vector direction of the tangent line of the blade, and the other points search the intersection point or the closest point of the vertical bisection plane of the vertex of the contour and the reference contour in each corresponding section to be used as the basis of the vector direction of the tangent line of the blade; according to the blade tangent vector and the bottom layer tangent point, the radius of the cutter is radially deviated outwards from the entity, and then according to the structural characteristics of the cutter, the central position and the axial vector of the cutter are obtained;
outputting a corresponding NC code according to the NC equipment characteristics through the center position of the cutter and the axial vector;
and establishing an FTP protocol, and realizing direct NC code transmission with the equipment.
Preferably: and acquiring the contour information from any one of an STL model file slice, a CLI slice file and an existing additive process file, wherein the contour information comprises polygonization information represented by a plurality of line segments of an arc set according to target precision.
Preferably: optimizing the contour information to obtain topological relations among all contours contained in each layer;
and the optimization comprises the steps of obtaining contour points contained in the contour information, and removing the contour points of which the adjacent contour points are smaller than the target distance and the contour deviation is smaller than the precision threshold.
Preferably: the principle of the contour matching search comprises the principle of the same contour nesting relation and the principle of closest contour centroid distance.
Preferably: the principle that the nesting relations of the outlines are the same comprises that one outline is represented in a relation network in a level mode; the contour matching of different layers needs to be in the same level; the outline centroid distance closest principle comprises that the geometric center of the outline is closest, and then the two outlines are matched; if a certain torsion angle exists between the two layers, the one layer rotates around the appointed center according to the appointed rotation angle, and then matching is carried out through the principle that the distance between the outline centers is closest.
Preferably: analyzing each contour feature to perform two contour segment/point matching searches; the method comprises the following steps:
each profile feature was analyzed: if the trend is not the expected trend, reversing the sequence of the trend to obtain an inflection point;
judging whether the inflection point is a concave point or not, and whether the concave point exists in the area behind the inflection point or not;
if the number of the contour turning points is 0, matching cannot be performed, and matching failure is returned;
if the number of inflection points is not equal, matching according to the shortest distance, and returning to the matching condition;
if all the inflection point attributes are the same, matching is carried out according to the shortest distance, and the matching condition is returned;
matching according to the attribute characteristics, and if the attribute characteristics can be matched, returning the matching condition;
and matching according to the shortest distance, and returning to the matching condition.
Preferably: the target step processing strategy also comprises that for a structure with a longitudinal section similar to a straight line, a derivative step and an upper layer are combined and cut together; and (5) scraping the derived steps layer by layer for the longitudinal concave structure.
A material reducing process planning device comprises:
the contour information acquisition unit is used for acquiring contour information of each layer of the structural member to be reduced;
the layer contour topology analysis unit is used for acquiring the topology relation among all contours contained in each layer;
the contour matching search unit of different layers is used for identifying the corresponding relation of contours between different layers to carry out contour matching search, and the contour matching search comprises the steps of finding two or more contours between different layers to establish a connection so that the connection conforms to the structural characteristics of the STL model;
the two contour section/point matching search units are used for analyzing each contour feature to perform two contour section/point matching searches;
the derived step processing unit is used for processing derived steps through a target step processing strategy, the target step processing strategy comprises the steps of taking the outline at the bottom of the step as a source outline, taking the upper and lower outlines of a new cutting layer as 2 reference outlines, respectively calculating the position of each reference cutter when calculating the cutter track, and selecting the cutter position with the highest safety as a result;
the tool position and posture calculation unit is used for analyzing the profile and the reference profile characteristics, searching inflection points of each profile and performing matching analysis; if the matching is not available, taking a vertical bisection plane from the vertex of the outline to obtain an intersection point, if no intersection point exists, acquiring a closest point, and taking the intersection point or the direction of the connecting line of the closest point and the vertex as the vector direction of the tangent line of the blade; if the matching can be carried out, the contour and the reference contour are divided into multiple sections to correspond, the inflection point is used as the basis of the vector direction of the edge tangent line, and the other points search the intersection point or the closest point of the vertical bisection plane of the contour vertex and the reference contour in each corresponding section to be used as the basis of the vector direction of the edge tangent line; according to the blade tangent vector and the bottom layer tangent point, the radius of the cutter is radially deviated outwards from the entity, and then according to the structural characteristics of the cutter, the central position and the axial vector of the cutter are obtained;
the NC code output unit is used for outputting corresponding NC codes according to the characteristics of NC equipment through the center position of the cutter and the axial vector;
and the NC code transmission unit is used for establishing an FTP protocol and realizing direct NC code transmission with the equipment.
A subtractive process planning apparatus, said apparatus comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the steps of the subtractive process planning method according to instructions in the program code.
A computer-readable storage medium for storing program code for performing the steps of the subtractive process planning method described above.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the material reducing process planning method, the material reducing process planning device, the material reducing process planning equipment and the storage medium are simple to operate, the number of parameters needing to be input by a user is small, and the operation difficulty of the user can be reduced. Meanwhile, the NC code is generated quickly and accurately. In addition, the method is easy to integrate with a system, and is used for quickly and accurately generating the material reducing process codes for composite material increasing and decreasing processing and controlling the material reducing process to be accurately executed.
Of course, it is not necessary for any product to practice the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart of a material reduction process planning method according to an embodiment of the present invention;
FIG. 2 is a block flow diagram of one implementation of a method provided by an embodiment of the invention;
FIG. 3 is a schematic diagram of a material reduction process planning apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a material reducing process planning apparatus according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
Referring to fig. 1, a method for planning a material reducing process according to an embodiment of the present invention is shown in fig. 1, and the method may include:
s101: acquiring outline information of each layer of the structural member to be subtracted; specifically, the contour information may be obtained from an STL model file slice, a CLI slice file, or an existing additive manufacturing process file, and the contour information includes polygonization information in which an arc is set to be represented by a plurality of line segments with a target accuracy.
S102: acquiring topological relations among all contours contained in each layer; specifically, the contour information is optimized to obtain the topological relation among all contours contained in each layer;
and the optimization comprises the steps of obtaining contour points contained in the contour information, and removing the contour points of which the adjacent contour points are smaller than the target distance and the contour deviation is smaller than the precision threshold.
S103: identifying the corresponding relation of the outlines among different layers to carry out outline matching search, wherein the outline matching search comprises finding two or more outlines among different layers to establish a relation so that the relation conforms to the structural characteristics of the STL model; specifically, the principle of the contour matching search includes a principle that the contour nesting relations are the same and a principle that the centroid distance of the contour is the closest. The principle that the nesting relations of the outlines are the same comprises that one outline is represented in a relation network in a level mode; the contour matching of different layers needs to be in the same level; the principle that the distance between the centroid of the outline and the nearest point comprises the fact that the geometric center of the outline is the nearest point, the two outlines are considered to be matched, if a certain torsion angle exists between the two outlines, the first layer rotates around the designated center according to the designated rotation angle, and then the two layers are matched through the principle that the distance between the centroid of the outline and the nearest point.
S104: analyzing each contour feature to perform two contour section/point matching searches; specifically, the method comprises the following steps:
each profile feature was analyzed: if the trend is not the expected trend, reversing the sequence of the trend to obtain an inflection point;
judging whether the inflection point is a concave point or not and whether a concave point exists in an area behind the inflection point or not;
if the number of turns of the profile is 0, matching cannot be performed, and failure in matching is returned;
if the number of inflection points is not equal, matching is carried out according to the shortest distance, and the matching condition is returned;
if all the inflection point attributes are the same, matching is carried out according to the shortest distance, and the matching condition is returned;
matching according to the attribute characteristics, and if the attribute characteristics can be matched, returning the matching condition;
and matching according to the shortest distance, and returning to the matching condition.
S105: processing the derived steps by a target step processing strategy, wherein the target step processing strategy comprises the steps of taking the outline at the bottom of each step as a source outline, taking the upper and lower outlines of a new cutting layer as 2 reference outlines, respectively calculating the position of each reference cutter when calculating the cutter track, and selecting the cutter position with the highest safety as a result; specifically, the target step processing strategy also comprises that for a longitudinal section of a structure which is nearly straight, a derivative step can be combined with an upper layer and cut together; and for the longitudinal section concave structure, the derived steps can be subjected to layer-by-layer scraping processing.
S106: analyzing the characteristics of the contour and the reference contour, searching inflection points of each contour, and performing matching analysis; if the matching is not available, taking a vertical bisection plane from the vertex of the profile to obtain an intersection point, if no intersection point exists, acquiring a closest point, and taking the intersection point or the direction of the connecting line of the closest point and the vertex as the vector direction of the tangent line of the blade; if the matching can be carried out, the contour and the reference contour are divided into multiple sections to correspond, the inflection point is used as the basis of the vector direction of the edge tangent line, and the other points search the intersection point or the closest point of the vertical bisection plane of the contour vertex and the reference contour in each corresponding section to be used as the basis of the vector direction of the edge tangent line; according to the blade tangent vector and the bottom layer tangent point, the radius of the cutter is radially deviated outwards from the entity, and then according to the structural characteristics of the cutter, the central position and the axial vector of the cutter are obtained;
s107: outputting a corresponding NC code according to the NC equipment characteristics through the center position of the cutter and the axial vector;
s108: and establishing an FTP protocol, and realizing direct NC code transmission with the equipment.
The method provided by the embodiment of the application can be integrated in a system and used for quickly and accurately generating the material reducing process codes for composite material increasing and decreasing processing and controlling the material reducing to be accurately executed.
As shown in fig. 2, when the method provided in the embodiment of the present application is specifically implemented:
contour acquisition
The contour information is acquired, and the contour is expressed in a polygonal form, for example, an arc is set with a certain accuracy and expressed by a plurality of line segments. Reading the stl file, and acquiring contour information through slicing; acquiring contour information from the slice file; profile information is extracted from the additive process file. Such a profile may contain circular arcs and requires polygonization.
Contour optimization
Contour information, particularly contour information obtained from slices, may contain points that are closely spaced (e.g., less than 0.5 mm) from adjacent contour points and removed without affecting the contour fit accuracy, and removing points may have a significant impact on subtractive planning, may eliminate creep and creep effects, and may speed up machining execution, but with little impact on accuracy.
Layer profile topology analysis
And acquiring a layer of topological relation analysis among all the contours. Each profile is hierarchically related to a layer in the layer, and first includes one or more outer profiles, i.e., a level 0 outer profile, each level 0 outer profile may include 0 or more level 1 inner profiles, and a level 1 inner profile may include a level 2 outer profile, and so on.
Different layer contour matching search
The correspondence of contours between different layers is identified, i.e. one contour of one layer corresponds to a certain contour of another layer. The obtaining of the tool direction firstly needs to establish a corresponding relationship of the profiles between different layers, that is, to find out the profile of another layer corresponding to the profile, which is called profile matching search.
The contour matching search is to find two or more contours to establish a connection, so that the connection conforms to the structural characteristics of the model. If one layer has a rotational-translational spatial transformation relationship with respect to the other layer, the transformation is corrected. One simple principle of the matching search is the principle that the contour nesting relations are the same and the principle that the centroid distance of the contours is the nearest.
The contour nesting relationship is the nesting relationship between the inner contour and the outer contour of the same layer, one contour is represented by a level in a relational network, the level of the outermost contour is 0, and the same level can have a plurality of brothers. The principle of contour nesting is the same, namely contour matching of different layers, and firstly, the contours must be in the same level.
And (3) considering that the outline centroid is closest to the nearest principle, namely the geometric center of the outline is closest, and then considering that the two outlines are matched. This principle is not absolute, but a more effective reference standard.
If a certain torsion angle exists between the two layers, the one layer rotates around the appointed center according to the appointed rotation angle, and then the outline centroid is matched according to the principle of the nearest distance.
Two contour segment/point match search
Each profile feature is first analyzed: if the trend is not the expected trend, reversing the sequence of the trends to obtain an inflection point, whether the inflection point is a concave point or not and whether a concave point exists in an area behind the inflection point or not;
if the number of the contour turning points is 0, matching cannot be performed, and matching failure is returned;
if the number of inflection points is not equal, matching according to the shortest distance, and returning to the matching condition;
if all the inflection point attributes are the same, matching is carried out according to the shortest distance, and the matching condition is returned;
matching according to the attribute characteristics, and if the attribute characteristics can be matched, returning the matching condition;
and matching according to the shortest distance, and returning to the matching condition.
Derivative step processing
In the edge increasing and edge reducing process, the surface of the last material reduction layer is derived to form a step (within a certain height range), and the step needs to be removed in a new material reduction process.
Step processing strategy: and taking the profile at the bottom of the step as a source profile, taking the upper and lower profiles of the new cutting layer as 2 reference profiles, respectively calculating the positions of the tools of the references when calculating the tool path, and selecting the safest one as a result (ensuring that the reference profiles are not overcut).
For a structure with a longitudinal section that is nearly linear, the step can be cut together with the upper layer; and for the longitudinal concave structure, the step can be scraped layer by layer, and the forming precision is improved.
Tool position, attitude calculation
And analyzing the characteristics of the contour and the reference contour, searching inflection points of each contour, and performing matching analysis. If the matching is not possible, the intersection point is obtained by making a vertical bisection plane from the vertex of the contour, and if no intersection point exists, the closest point is obtained, and the direction of the intersection point or the direction of the connecting line of the closest point and the vertex is taken as the direction of the tangent vector of the blade. If the matching is available, the contour and the reference contour are divided into multiple sections to correspond, the inflection point is used as the basis of the vector direction of the edge tangent, and other points search the intersection point or the closest point of the vertical bisection plane of the contour vertex and the reference contour in each corresponding section as the basis of the vector direction of the edge tangent.
According to the blade tangent vector and the bottom layer tangent point, the radius of the cutter is radially deviated outwards from the entity, and then according to the structural characteristics of the cutter, the central position and the axial vector of the cutter are obtained.
NC code output
And outputting the corresponding NC codes according to the characteristics of the NC equipment.
NC code transmission
And establishing an FTP protocol, and realizing direct NC code transmission with the equipment.
In a word, the material reducing process planning method is simple to operate, the number of parameters needing to be input by a user is small, and the operation difficulty of the user can be reduced. Meanwhile, NC codes are generated quickly and accurately. In addition, the method is easy to integrate with a system, and is used for quickly and accurately generating the material reducing process codes for composite material increasing and decreasing processing and controlling the material reducing process to be accurately executed.
Referring to fig. 3, an embodiment of the present application may further provide a material reducing process planning apparatus, as shown in fig. 3, the apparatus may include:
the contour information acquisition unit 301 is used for acquiring contour information of each layer of the structural member to be reduced;
a layer contour topology analysis unit 302, configured to obtain a topological relation between all contours included in each layer;
a different-layer contour matching search unit 303, configured to identify a corresponding relationship between contours between different layers and perform contour matching search, where the contour matching search includes finding two or more contours between different layers to establish a connection, so that the connection conforms to the structural features of the STL model;
two contour segment/point matching search units 304 for analyzing each contour feature to perform two contour segment/point matching searches;
a derived step processing unit 305, configured to process a derived step through a target step processing strategy, where the target step processing strategy includes using a contour of a step bottom as a source contour, using upper and lower contours of a new cutting layer as 2 reference contours, respectively calculating tool positions of respective references when calculating a tool trajectory, and selecting a tool position with the highest safety as a result;
the tool position and posture calculation unit 306 is used for analyzing the characteristics of the contour and the reference contour, searching inflection points of each contour and performing matching analysis; if the matching is not available, taking a vertical bisection plane from the vertex of the outline to obtain an intersection point, if no intersection point exists, acquiring a closest point, and taking the intersection point or the direction of the connecting line of the closest point and the vertex as the vector direction of the tangent line of the blade; if the matching is available, the contour and the reference contour are divided into a plurality of sections to be corresponding, the inflection point is used as the basis of the vector direction of the tangent line of the blade, and the other points search the intersection point or the closest point of the vertical bisection plane of the vertex of the contour and the reference contour in each corresponding section to be used as the basis of the vector direction of the tangent line of the blade; according to the blade tangent vector and the bottom layer tangent point, the radius of the cutter is radially deviated outwards from the entity, and then according to the structural characteristics of the cutter, the central position and the axial vector of the cutter are obtained;
an NC code output unit 307 configured to output an NC code corresponding thereto according to an NC apparatus characteristic by the tool center position and the axial vector;
and an NC code transmission unit 308 for establishing an FTP protocol to implement NC code transmission directly with the device.
The embodiment of the present application may also provide a material reducing process planning apparatus, where the apparatus includes a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is used for executing the steps of the material reducing process planning method according to the instructions in the program codes.
As shown in fig. 4, the material reducing process planning apparatus provided in the embodiment of the present application may include: a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11 and the communication interface 12 all communicate with each other through a communication bus 13.
In the embodiment of the present application, the processor 10 may be a Central Processing Unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic device, etc.
The processor 10 may call a program stored in the memory 11, and in particular, the processor 10 may perform operations in an embodiment of the subtractive process planning method.
The memory 11 is used for storing one or more programs, the program may include program codes, the program codes include computer operation instructions, in this embodiment, the memory 11 stores at least the program for implementing the following functions:
reading an STL model file of a structural part of the material to be reduced, and acquiring contour information of each layer by layer through slicing;
acquiring topological relations among all contours contained in each layer;
identifying the corresponding relation of the outlines among different layers to carry out outline matching search, wherein the outline matching search comprises finding two or more outlines among different layers to establish a relation so that the relation conforms to the structural characteristics of the STL model;
analyzing each contour feature to perform two contour section/point matching searches;
processing the derived steps by a target step processing strategy, wherein the target step processing strategy comprises the steps of taking the outline at the bottom of each step as a source outline, taking the upper and lower outlines of a new cutting layer as 2 reference outlines, respectively calculating the position of each reference cutter when calculating the cutter track, and selecting the cutter position with the highest safety as a result;
analyzing the characteristics of the contour and the reference contour, searching inflection points of each contour, and performing matching analysis; if the matching is not available, taking a vertical bisection plane from the vertex of the outline to obtain an intersection point, if no intersection point exists, acquiring a closest point, and taking the intersection point or the direction of the connecting line of the closest point and the vertex as the vector direction of the tangent line of the blade; if the matching is available, the contour and the reference contour are divided into a plurality of sections to be corresponding, the inflection point is used as the basis of the vector direction of the tangent line of the blade, and the other points search the intersection point or the closest point of the vertical bisection plane of the vertex of the contour and the reference contour in each corresponding section to be used as the basis of the vector direction of the tangent line of the blade; according to the blade tangent vector and the bottom layer tangent point, the radius of the cutter is radially deviated outwards from the entity, and then according to the structural characteristics of the cutter, the central position and the axial vector of the cutter are obtained;
outputting corresponding NC codes according to the NC equipment characteristics through the center position of the cutter and the axial vector;
and establishing an FTP protocol, and realizing direct NC code transmission with the equipment.
In one possible implementation, the memory 11 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a file creation function, a data read/write function), and the like; the storage data area may store data created during use, such as initialization data.
Further, the memory 11 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device.
The communication interface 12 may be an interface of a communication module for connecting with other devices or systems.
Of course, it should be noted that the structure shown in fig. 4 does not constitute a limitation on the material reducing process planning apparatus in the embodiment of the present application, and in practical applications, the material reducing process planning apparatus may include more or less components than those shown in fig. 4, or some components in combination.
The embodiment of the present application may further provide a computer-readable storage medium, where the computer-readable storage medium is configured to store program codes, and the program codes are configured to execute the steps of the material reducing process planning method described above.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A material reducing process planning method is characterized by comprising the following steps:
acquiring outline information of each layer of the structural member to be subtracted;
acquiring topological relations among all contours contained in each layer;
identifying the corresponding relation of contours between different layers to perform contour matching search, wherein the contour matching search comprises finding two or more contours between different layers to establish a relation so that the relation conforms to the structural characteristics of the STL model;
analyzing each contour feature to perform two contour section/point matching searches;
processing the derived steps through a target step processing strategy, wherein the target step processing strategy comprises the steps of taking the outline at the bottom of the step as a source outline, taking the upper and lower outlines of a new cutting layer as 2 reference outlines, respectively calculating the positions of the reference cutters when calculating the cutter track, and selecting the cutter position with the highest safety as a result;
analyzing the characteristics of the contour and the reference contour, searching inflection points of each contour, and performing matching analysis; if the matching is not available, taking a vertical bisection plane from the vertex of the outline to obtain an intersection point, if no intersection point exists, acquiring a closest point, and taking the intersection point or the direction of the connecting line of the closest point and the vertex as the vector direction of the tangent line of the blade; if the matching can be carried out, the contour and the reference contour are divided into multiple sections to correspond, the inflection point is used as the basis of the vector direction of the edge tangent line, and the other points search the intersection point or the closest point of the vertical bisection plane of the contour vertex and the reference contour in each corresponding section to be used as the basis of the vector direction of the edge tangent line; according to the blade tangent vector and the bottom layer tangent point, the radius of the cutter is radially deviated outwards from the entity, and then according to the structural characteristics of the cutter, the central position and the axial vector of the cutter are obtained;
outputting a corresponding NC code according to the NC equipment characteristics through the center position of the cutter and the axial vector;
and establishing an FTP protocol, and realizing direct NC code transmission with the equipment.
2. The material reducing process planning method according to claim 1, wherein the contour information is acquired from any one of an STL model file slice, a CL I slice file, and an existing additive process file, and includes polygonization information in which an arc is set to a target accuracy and represented by a plurality of line segments.
3. The material reducing process planning method according to claim 1, wherein the contour information is optimized to obtain topological relations among all contours contained in each layer;
and the optimization comprises the steps of obtaining contour points contained in the contour information, and removing the contour points of which the adjacent contour points are smaller than the target distance and the contour deviation is smaller than the precision threshold.
4. The material reducing process planning method according to claim 1, wherein the principle of the contour matching search includes a principle of the same contour nesting relationship and a principle of closest contour centroid distance.
5. The method for planning a material reducing process according to claim 4, wherein the principle that the nesting relations of the contours are the same comprises that one contour is represented by a level in a relation network; the contour matching of different layers is in the same level; the outline centroid distance closest principle comprises that if the outline geometric center is closest, the two outlines are matched; if a certain torsion angle exists between the two layers, the one layer rotates around a specified center according to a specified rotation angle, and then matching is carried out through the principle that the distance between the outline centers is closest.
6. The subtractive process planning method according to claim 1, wherein said analyzing each profile feature for two profile segment/point matching searches comprises:
analyzing each contour feature: if the trend is not the expected trend, reversing the sequence of the trend to obtain an inflection point;
judging whether the inflection point is a concave point or not, and whether the concave point exists in the area behind the inflection point or not;
if the number of turns of the profile is 0, matching cannot be performed, and failure in matching is returned;
if the number of inflection points is not equal, matching according to the shortest distance, and returning to the matching condition;
if all the inflection point attributes are the same, matching is carried out according to the shortest distance, and the matching condition is returned;
matching according to the attribute characteristics, and if the attribute characteristics can be matched, returning the matching condition;
and matching according to the shortest distance, and returning to the matching condition.
7. The subtractive process planning method according to claim 1, wherein the target step handling strategy further comprises for a vertical-section near-linear structure, a derivative step is cut together with an upper layer; and (5) scraping the derived steps layer by layer for the longitudinal concave structure.
8. A material reducing process planning device, characterized in that the device comprises:
the contour information acquisition unit is used for acquiring contour information of each layer of the structural member to be reduced;
the layer contour topology analysis unit is used for acquiring the topological relation among all contours contained in each layer;
the contour matching search unit of different layers is used for identifying the corresponding relation of contours between different layers to carry out contour matching search, and the contour matching search comprises the steps of finding two or more contours between different layers to establish a connection so that the connection conforms to the structural characteristics of the STL model;
the two contour section/point matching search units are used for analyzing each contour feature to perform two contour section/point matching searches;
the derived step processing unit is used for processing derived steps through a target step processing strategy, the target step processing strategy comprises the steps of taking the outline at the bottom of the step as a source outline, taking the upper and lower outlines of a new cutting layer as 2 reference outlines, respectively calculating the position of each reference cutter when calculating the cutter track, and selecting the cutter position with the highest safety as a result;
the tool position and posture calculation unit is used for analyzing the profile and the reference profile characteristics, searching inflection points of each profile and performing matching analysis; if the matching is not available, taking a vertical bisection plane from the vertex of the outline to obtain an intersection point, if no intersection point exists, acquiring a closest point, and taking the intersection point or the direction of the connecting line of the closest point and the vertex as the vector direction of the tangent line of the blade; if the matching can be carried out, the contour and the reference contour are divided into multiple sections to correspond, the inflection point is used as the basis of the vector direction of the edge tangent line, and the other points search the intersection point or the closest point of the vertical bisection plane of the contour vertex and the reference contour in each corresponding section to be used as the basis of the vector direction of the edge tangent line; according to the blade tangent vector and the bottom layer tangent point, the radius of the cutter is radially deviated outwards from the entity, and then according to the structural characteristics of the cutter, the central position and the axial vector of the cutter are obtained;
the NC code output unit is used for outputting corresponding NC codes according to the characteristics of NC equipment through the center position of the cutter and the axial vector;
and the NC code transmission unit is used for establishing an FTP protocol and realizing direct NC code transmission with the equipment.
9. A material reducing process planning apparatus, the apparatus comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the steps of the subtractive process planning method according to any of claims 1-7 in accordance with instructions in said program code.
10. A computer-readable storage medium for storing program code for performing the steps of the subtractive process planning method of any of claims 1-7.
CN202211275849.0A 2022-10-18 2022-10-18 Material reducing process planning method, device, equipment and storage medium Pending CN115600265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211275849.0A CN115600265A (en) 2022-10-18 2022-10-18 Material reducing process planning method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211275849.0A CN115600265A (en) 2022-10-18 2022-10-18 Material reducing process planning method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115600265A true CN115600265A (en) 2023-01-13

Family

ID=84848342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211275849.0A Pending CN115600265A (en) 2022-10-18 2022-10-18 Material reducing process planning method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115600265A (en)

Similar Documents

Publication Publication Date Title
US20210018887A1 (en) Automatic strategy determination for computer aided manufacturing
JP5163814B2 (en) Automatic programming apparatus and method
CN101228489B (en) Method and device for generating program
CN102473009B (en) Automatic programming device and method
WO2014045383A1 (en) Machining-step determining method and machining-step design device
Mokhtar et al. Machining precedence of 2½D interacting features in a feature-based data model
Ji et al. An enriched machining feature based approach to cutting tool selection
CN103543696A (en) Method of optimizing toolpaths using medial axis transformation
Caputo et al. An economic decision model for selective assembly
Osman Zahid et al. Optimization of roughing operations in CNC machining for rapid manufacturing processes
Mwinuka et al. Tool selection for rough and finish CNC milling operations based on tool-path generation and machining optimisation.
Nishida et al. Automatic determination of cutting conditions for NC program generation by reusing machining case data based on geometric properties of removal volume
Świć et al. Elements of design of production systems–methodology of machine tool selection in casing-class FMS
Lambregts et al. An efficient automatic tool path generator for 212D free-form pockets
Fountas et al. Development of a software-automated intelligent sculptured surface machining optimization environment
Shakeri Implementation of an automated operation planning and optimum operation sequencing and tool selection algorithms
CN115600265A (en) Material reducing process planning method, device, equipment and storage medium
Lasemi et al. Tool path re-planning in free-form surface machining for compensation of process-related errors
CN111598364B (en) Digital process arrangement system for mechanical parts
CN116787772A (en) Additive process contour processing method, device, equipment and storage medium
Jaider et al. An automatic Feature-based tool selection approach for turning process based on data from Sandvik Coromant
Sortino et al. An innovative approach for automatic generation, verification and optimization of part programs in turning
Zarkti et al. Towards an Automatic-optimized tool selection for milling process, based on data from Sandvik Coromant
JP2004237441A (en) Optimizer, control program generating device, and program
Pobozniak Automation of CNC machine tool programming using STEP-NC (ISO 14649)

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