CN107256004B - Product processing method and device - Google Patents

Product processing method and device Download PDF

Info

Publication number
CN107256004B
CN107256004B CN201710516996.5A CN201710516996A CN107256004B CN 107256004 B CN107256004 B CN 107256004B CN 201710516996 A CN201710516996 A CN 201710516996A CN 107256004 B CN107256004 B CN 107256004B
Authority
CN
China
Prior art keywords
modeling
machining program
target
numerical control
product
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
CN201710516996.5A
Other languages
Chinese (zh)
Other versions
CN107256004A (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201710516996.5A priority Critical patent/CN107256004B/en
Publication of CN107256004A publication Critical patent/CN107256004A/en
Application granted granted Critical
Publication of CN107256004B publication Critical patent/CN107256004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4097Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using design data to control NC machines, e.g. CAD/CAM
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32339Object oriented modeling, design, analysis, implementation, simulation language

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

The invention discloses a product processing method and a device, and the method comprises the following steps: analyzing a source numerical control machining program of a target product to obtain a modeling object; determining a shaped object in the modeled object; modifying the special-shaped object to obtain a modified object; updating the source numerical control machining program based on the correction object to obtain a target machining program; and processing the product based on the target processing program. The embodiment of the invention avoids the phenomena of product abnormity and the like in the product processing process.

Description

Product processing method and device
Technical Field
The invention belongs to the technical field of numerical control, and particularly relates to a reverse processing method and device.
Background
The processing method relates to product processing in the business fields of aerospace, 3C (Computer, Communication, Consumer electronics, Computer, Communication, Consumer electronics) industry, machining and the like.
In the prior art, the product processing process is generally as follows: aiming at a target product, firstly, utilizing technologies such as scanning and the like to obtain dot matrix data forming the target product, constructing lines, surfaces and bodies based on the dot matrix data to obtain a product model, then setting a processing tool path for the product model to generate a numerical control processing program, finally inputting the numerical control processing program into a numerical control processing machine, and controlling the numerical control processing machine to process the product, so that the processed product which is the same as the target product in one mode can be obtained.
However, in the prior art, the obtained processed product is easy to have appearance defects such as product abnormity.
Disclosure of Invention
In view of the above, the present invention provides a product processing method and apparatus, so as to solve the problem of poor appearance such as irregular shape or rotten surface during the processing of the target product, so that the processed product has an excellent appearance and meets the processing requirements.
In order to solve the above technical problem, a first aspect of the present invention provides a product processing method, including:
analyzing a source numerical control machining program of a target product to obtain a modeling object;
determining a shaped object in the modeled object;
modifying the special-shaped object to obtain a modified object;
updating the source numerical control machining program based on the correction object to obtain a target machining program;
and processing the product based on the target processing program.
Preferably, the analyzing the source numerical control machining program of the target product to obtain the modeling object includes:
analyzing a source numerical control machining program of the target product to obtain dot matrix data of the target product;
and performing curve modeling on the dot matrix data to obtain the modeling object.
Preferably, said modifying said profiled object to obtain a modified object comprises:
determining lattice data for constructing the special-shaped object;
deleting the special-shaped object;
and reconstructing the modified object according to the lattice data for constructing the special-shaped object.
Preferably, the updating the source nc machining program to obtain the target machining program based on the correction object includes:
updating the modeled object based on the revised object;
and generating a target machining program according to the updated modeling object.
Preferably, the generating a target machining program according to the updated modeling object includes:
setting a machining tool and a machining tool path according to the updated modeling object;
and generating the target machining program according to the machining tool and the machining tool path.
Preferably, the determining of the heteromorphic object in the modeled object comprises:
any one of the repetitive objects and/or the interrupt object in the modeling object is taken as a heteromorphic object.
Preferably, the analyzing the source numerical control machining program of the target product to obtain the modeling object includes:
and calling an engineering aided design system to analyze the source numerical control machining program of the target product so as to obtain a modeling object.
Preferably, after the analyzing the source nc processing program of the target product to obtain the modeling object, the method further includes:
and displaying the modeling object.
Preferably, the determining of the heteromorphic object in the modeled object comprises:
in response to a user selection operation for the modeled object, determining a selected heteromorphic object;
said modifying said profiled object to obtain a modified object comprises:
modifying a shaped object of the modeled objects in response to a user modification operation on the shaped object to obtain a modified object.
A second aspect of the present invention provides a product processing apparatus comprising:
the analysis module is used for analyzing the source numerical control machining program of the target product to obtain a modeling object;
a determination module for determining a shaped object of the modeled objects;
the correction module is used for correcting the special-shaped object to obtain a corrected object;
the updating module is used for updating the source numerical control machining program to obtain a target machining program based on the correction object;
and the processing module is used for processing the product based on the target processing program.
Preferably, the parsing module includes:
the analysis unit is used for analyzing the source numerical control machining program of the target product to obtain the dot matrix data of the target product;
and the modeling unit is used for performing curve modeling on the dot matrix data to obtain the modeling object.
Preferably, the correction module comprises:
the determining unit is used for determining the dot matrix data for constructing the special-shaped object;
a deleting unit for deleting the special-shaped object;
and the construction unit is used for reconstructing the modified object according to the lattice data for constructing the special-shaped object.
Preferably, the update module includes:
an updating unit configured to update the modeling object based on the correction object;
and the generating unit is used for generating the target machining program according to the updated modeling object.
Preferably, the generating unit includes:
the setting subunit is used for setting a processing tool and a processing tool path according to the updated modeling object;
and the generating subunit is used for generating the target machining program according to the machining tool and the machining tool path.
Preferably, the determining module comprises:
a heteromorphism determining unit for determining any one of the repetitive objects and/or the interrupt object in the modeled object as a heteromorphism object.
Preferably, the parsing module includes:
and the calling unit is used for calling the engineering aided design system to analyze the source numerical control machining program of the target product so as to obtain the modeling object.
Preferably, the apparatus further comprises:
and the display module is used for displaying the modeling object.
Preferably, the determining module comprises:
a first response unit for determining a selected heteromorphic object in response to a user selection operation for the modeled object;
the correction module comprises:
a second response unit for modifying the heteromorphic object in response to a user modification operation for the heteromorphic object in the modeled object to obtain a modified object.
In the invention, a modeling object is obtained by analyzing a source numerical control machining program of a target product, the modeling object is a machining model of the target product, and the target product can be machined through the modeling object. However, due to the fact that the abnormal-shaped object exists in the modeling object, the processed product can be broken, after the abnormal-shaped object in the modeling object is determined, the abnormal-shaped object is corrected to obtain a corrected object, then the source numerical control processing program is updated based on the corrected object to obtain a target processing program, and the obtained target processing program is based on the corrected object and carries out product processing based on the target processing program, so that the phenomena of product abnormal shape, broken surface and the like can be avoided, and the purpose of producing the target product which is good in appearance and meets the standard is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of one embodiment of a method of processing a product in accordance with embodiments of the present invention;
FIG. 2a is a schematic diagram of a modeled object in accordance with an embodiment of the present invention;
FIG. 2b is a schematic diagram of a shaped object in a 3-dimensional modeled object according to an embodiment of the present invention;
FIG. 2c is a schematic illustration of a modification object in accordance with an embodiment of the present invention;
FIG. 3a is a schematic illustration of a heteromorphic object in yet another 2-dimensional modeled object of an embodiment of the present invention;
FIG. 3b is a schematic illustration of yet another modification object of an embodiment of the present invention;
FIG. 4 is a flow chart of yet another embodiment of a method of processing a product in accordance with embodiments of the present invention;
fig. 5 is a schematic structural diagram of an embodiment of a product processing apparatus according to an embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the accompanying drawings and examples, so that how to implement the embodiments of the present invention by using technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
The embodiment of the invention is mainly applied to the field of numerical control machining, in particular to product machining in the 3C industry.
The current product processing mode usually adopts reverse thinking, as described in the background art, a product model is obtained through analysis and processing of a target product, and then a numerical control processing program is obtained based on the product model. However, the inventor finds that, in the research, when the numerical control machining program is used for controlling the machining machine to machine the product, the product is easy to have the abnormal phenomenon, the finished product rate of the machined product is low, and the machining efficiency is low.
The inventor discovers through a series of researches that the main reason for the appearance of product abnormity in the product processing process is when product modeling is carried out, errors easily occur in a curve formed by dot matrix data, and the curve is led to exist an abnormal curve, and the surface and the body of the abnormal curve have problems, and further the product model has errors, and the errors also occur in a cutter and a cutter path arranged based on the product model, and further the numerical control processing machine is led to have a cutter path abnormity in the product processing process, for example, the phenomena of cutter jump or cutter path repetition and the like, so that the processed product which is led to finally output has abnormity and the like.
In the embodiment of the invention, a modeling object is obtained by analyzing the source numerical control machining program, and the target product is reversely modeled to obtain the machining data of the target product. After a modeling object is obtained, a special-shaped object in the modeling object can be determined, the special-shaped object is corrected to obtain a corrected object, the source numerical control machining program is updated based on the corrected object to obtain a target machining program, and a target product with a good machining effect can be obtained when the target machining program is used for machining a product, so that a target product with a good appearance can be obtained.
By the technical scheme of the embodiment of the invention, the source numerical control machining program can be verified and updated after the source numerical control machining program is generated, so that the phenomenon that the machined product obtained by directly utilizing the source numerical control machining program is in a product abnormal shape is avoided, and certainly, the source numerical control machining program can be updated when the machined product obtained by utilizing the source numerical control machining program is in a product abnormal shape, so that the machined product is regenerated by utilizing the obtained target machining program. Of course, the technical solution of the embodiment of the present invention is not limited to the above two application scenarios.
The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of an embodiment of a product processing method according to an embodiment of the present invention. The method may comprise the steps of:
101: and analyzing the source numerical control machining program of the target product to obtain a modeling object.
The source numerical control machining program refers to a program which can be input into a numerical control machining machine to machine a product, and the generation method of the source numerical control machining program is the same as that of the prior art, namely, the machining tool and the machining tool path which are set based on a product model can be generated. The specific generation mode can comprise two types, wherein one type is written by a worker in advance, and the second type is generated by the worker by using an engineering aided design system. The engineering aided design system may be constituted by drawing software, UG (Unigraphics N) software, PowerMill software and other software with computer aided design function, such as AutoCAD (automatic computer aided design) software.
The source nc machining program may be a file having a specific format that may be determined according to a file receivable by the nc machining machine, for example, the source nc machining program may be a dat file, a txt file, or the like.
As an embodiment, the parsing the source nc processing program of the target product to obtain the modeled object may include:
and calling an engineering aided design system to analyze a source numerical control machining program of the target product so as to obtain a modeling object.
Since the body of the product model is composed of surfaces, the surfaces are composed of curves, and the curves are composed of points, the target product is based on curves during processing, and the modeling object can specifically refer to curves required for modeling.
And after the source numerical control machining program is analyzed, the dot matrix data of the target product can be obtained. The lattice data is composed of multi-level and multi-dimensional points to form the shape of a product model. The modeled object may be obtained by curve-modeling the lattice data, which is a curve in a broad sense and may include straight lines or line segments. The modeled object may exist in two-dimensional or three-dimensional form.
Thus, as yet another embodiment, the parsing the source nc processing program of the target product to obtain a modeled object may include:
analyzing a source numerical control machining program of the target product to obtain dot matrix data of the target product;
and performing curve modeling on the dot matrix data to obtain the modeling object.
There are various specific ways to curve-shape the dot matrix data, and two possible implementation ways are listed below:
the first method may use a curve modeling manner provided by an engineering aided design system to perform curve modeling to obtain a modeling object, for example, the curve modeling manner may be spline modeling.
And secondly, introducing plug-ins or third-party software into the engineering aided design system, and performing curve modeling through the plug-ins or the third-party software to obtain the modeling object, wherein the curve modeling mode can be curve fitting, for example.
Therefore, the curve modeling of the dot matrix data may include: and carrying out spline modeling on the dot matrix data or carrying out curve fitting on the dot matrix data.
102: a shaped object of the modeled objects is determined.
Optionally, the determining of the heteromorphic object in the modeled object comprises:
any one of the repetitive objects and/or the interrupt object in the modeling object is taken as a heteromorphic object. The irregular object may also be an object that is bent, for example, the middle of a curve of a certain arc shape is bent.
For convenience of understanding, as shown in fig. 2a, the modeled objects 202 and 202 obtained after the source nc processing program of the target product 201 analyzes obviously include the irregular object 2021, and after the irregular object 2021 is enlarged, the irregular object 2021 may be specifically the irregular object 2021 with the interruption as shown in fig. 2 b. And as shown in the dashed box in fig. 3a, the heteromorphic object 301 is a heteromorphic object in which repetition and interruption occur.
The interruption object may be a phenomenon that a continuous curve in the modeling object is interrupted and is no longer a continuous curve. The irregular object may be a phenomenon that a curve in the modeling object is curved, unsmooth, or the like.
Therefore, as another embodiment, after the modeling object is obtained, the modeling object can be output, so that the user can conveniently check the modeling object to find the abnormal object with the problem.
Thus, the determining of the heteromorphic object in the modeled object may comprise:
in response to a user selection operation for the modeled object, determining a selected heteromorphic object;
when the user finds the special-shaped object in the modeling object by looking up the modeling object, the user selection operation can be triggered to select the special-shaped object.
103: and correcting the special-shaped object to obtain a corrected object.
As a further embodiment, said modifying said profiled object to obtain a modified object may comprise:
determining lattice data for constructing the special-shaped object;
deleting the special-shaped object;
and reconstructing the modified object according to the lattice data for constructing the special-shaped object.
The constructing of the dot matrix data of the special-shaped object may include dot data at both ends of the special-shaped object and a plurality of dot data between both ends, and the deleting of the special-shaped object may refer to deleting a connection relation of the dot matrix data constituting the certain object, instead of deleting the dot matrix data constituting the special-shaped object, so that the modified object may be reconstructed based on the dot matrix data constituting the special-shaped object.
The reconstructing of the modified object may be bridging the lattice data for constructing the special-shaped object to form a modified object meeting a preset requirement according to the lattice data for constructing the special-shaped object.
When the modeling object is a modeling curve, the special-shaped object is also a special-shaped curve in the modeling curve, and the lattice data is bridged to form a smooth and flexible curve.
Of course, instead of deleting the whole abnormal object, only the line segment of the abnormal object with the abnormal problem may be modified.
Further, as still another embodiment, the modifying the heteromorphic object to obtain a modified object may include:
and modifying the special-shaped object to obtain a modified object in response to the user modification operation aiming at the special-shaped object.
Alternatively, the special-shaped object may be deleted and the modified object may be reconstructed according to the lattice data for constructing the special-shaped object by a corresponding user modification operation for the special-shaped object.
When the special-shaped object is a special-shaped curve and the modified object is reconstructed, the dot matrix data can be bridged by manual control to form the modified object meeting the preset requirement.
And correcting the special-shaped object to obtain a corrected object meeting preset requirements. The modified object 2022 shown in fig. 2c is generated after the modification of the shaped object 2021 shown in fig. 2a, and the modified object 302 shown in fig. 3b is generated after the modification of the shaped object 301 shown in fig. 3 a.
104: and updating the source numerical control machining program to obtain a target machining program based on the corrected object.
The updating of the source nc machining program may refer to modifying the source nc machining program or regenerating the machining program. After the irregular object is updated to be the correction object, the modeling object can contain the correction object.
Therefore, as an embodiment, the updating the source nc machining program to obtain the target machining program based on the correction object includes:
updating the modeled object based on the revised object;
and generating a target machining program according to the updated modeling object.
Further, as still another embodiment, the generating of the target machining program according to the modeled object after the updating may include:
setting a machining tool and a machining tool path according to the updated modeling object;
and generating the target machining program according to the machining tool and the machining tool path.
When the modeling object is a modeling curve, the surface and the body can be reconstructed according to the modeling curve to form a product model, the machining tool and the machining tool path can be reset according to the product model, and the target machining program can be generated based on the machining tool and the machining tool path.
The target processing program may be a control instruction for the processing tool to process the target product in the numerical control machine according to the processing tool path.
105: and processing the product based on the target processing program.
The target processing program can be input into the numerical control machine to process a target product, and the numerical control processing machine executes the target processing program, so that the product processing can be carried out, and a processed product can be obtained.
In the embodiment of the invention, the source numerical control machining program of the target product is analyzed, the target product is actually subjected to reverse reconstruction to obtain the modeling object of the target product, and then the special-shaped object in the modeling object can be corrected to obtain the corrected object, so that the machining program of the target product can be updated to be the target machining program based on the corrected object, the machining program can be used for machining the target product through the target product machining program, the machining problems of special shapes, rotten surfaces and the like in the source numerical control machining program are solved, and the machining efficiency of the product is improved.
In the following, taking a modeling object as a modeling curve as an example, a technical solution of an embodiment of the present invention is described in detail, as shown in fig. 4, for a flowchart of another embodiment of a product processing method provided by an embodiment of the present invention, the method may include the following steps:
401: and analyzing the source numerical control processing program of the target product to obtain the dot matrix data of the target product.
402: and carrying out curve modeling on the dot matrix data to obtain a modeling curve of the target product.
403: determining a shaped curve in the modeled curves.
404: and determining the lattice data of the special-shaped curve.
405: and deleting the special-shaped curve.
Alternatively, only the profile curve may be deleted, while the lattice data of the profile curve is retained.
406: reconstructing a correction curve according to the lattice data of the special-shaped curve;
407: updating the modeling curve based on the correction curve;
408: and generating the target machining program according to the updated modeling curve.
Optionally, the generating the target machining program according to the updated curve model includes:
setting a machining tool and a machining tool path according to the updated curve model;
and generating the target machining program according to the machining tool path and the machining tool path.
409: and processing the product based on the target product processing program.
The target product is formed by forming a line, a line forming surface and a surface forming body, the line is a basic unit in the process, and the line can be used as a main modification reference because the target product takes the line as a main processing reference in the processing process.
Therefore, in the embodiment of the invention, the special-shaped correction of the target product is carried out on the basis of the curve, the special-shaped curve of the target product can be rapidly determined and correspondingly corrected, so that the target processing program can be accurately and rapidly obtained, the processing efficiency of the target product is accelerated, and the product meeting the standard is obtained.
Fig. 5 is a schematic structural diagram of an embodiment of a product processing apparatus according to an embodiment of the present invention, which may include the following modules:
and the analyzing module 501 is configured to analyze a source numerical control machining program of the target product to obtain a modeling object.
The source numerical control machining program is a program that can be input into a numerical control machining machine to machine a product. The generation mode is the same as that of the prior art, namely, the processing tool and the processing tool path which are arranged based on the product model are generated. The specific generation mode comprises two modes, wherein one mode is written by a worker in advance, and the second mode is generated by the worker by using an engineering aided design system. The engineering aided design system can be composed of software with Computer aided design function, such as AutoCAD (automatic Computer aided design) drawing software, ug (Unigraphics N) software, PowerMill software, and the like.
The source nc machining program may be a file having a specific format that may be determined according to a file receivable by the nc machining machine, for example, the source nc machining program may be a dat file, a txt file, or the like. As an embodiment, the parsing module may include:
and the calling unit is used for calling the engineering aided design system to analyze the source numerical control machining program of the target product so as to obtain the modeling object.
Since the body of the product model is composed of surfaces, the surfaces are composed of curves, and the curves are composed of points, the target product is based on curves during processing, and the modeling object can specifically refer to curves required for modeling.
And after the source numerical control machining program is analyzed, the dot matrix data of the target product can be obtained. The lattice data is composed of multi-level and multi-dimensional points to form the shape of a product model. The modeled object may be obtained by curve-modeling the lattice data, which is a curve in a broad sense and may include straight lines or line segments.
Thus, as yet another embodiment, the parsing module may include:
the analysis unit is used for analyzing the source numerical control machining program of the target product to obtain the dot matrix data of the target product;
and the modeling unit is used for performing curve modeling on the dot matrix data to obtain the modeling object.
The curve modeling of the dot matrix data may be specifically performed in various ways:
according to the first method, curve modeling can be performed by using a curve modeling mode provided by an engineering aided design system, for example, the curve modeling mode can be spline modeling.
And secondly, a plug-in or third-party software can be introduced into the engineering aided design system, and curve modeling is performed through the plug-in or the third-party software, for example, the curve modeling mode can be curve fitting.
Therefore, the curve modeling of the dot matrix data may include: and carrying out spline modeling on the dot matrix data or carrying out curve fitting on the dot matrix data.
As yet another embodiment, after obtaining the modeled object, the apparatus may further include:
and the display module is used for displaying the modeling object.
A determining module 502 for determining a shaped object of the modeled objects;
optionally, the determining module may include:
a heteromorphism determining unit for regarding any one of repetitive objects and/or interrupted objects and/or irregular objects in the modeled objects as a heteromorphism object.
The interruption object may be a phenomenon that a continuous curve in the modeling object is interrupted and is no longer a continuous curve. The irregular object may be a phenomenon that a curve in the modeling object is curved, unsmooth, or the like.
Therefore, as another embodiment, after the modeling object is obtained, the modeling object can be output, so that the user can conveniently check the modeling object to find the abnormal object with the problem.
Thus, the determining means comprises:
a first response unit for determining a selected heteromorphic object in response to a user selection operation for the modeled object;
when the user finds the special-shaped object in the modeling object by looking up the modeling object, the user selection operation can be triggered to select the special-shaped object.
A modification module 503, configured to modify the special-shaped object to obtain a modified object;
as yet another embodiment, the modification module may include:
the determining unit is used for determining the dot matrix data for constructing the special-shaped object;
a deleting unit for deleting the special-shaped object;
and the construction unit is used for reconstructing the modified object according to the lattice data for constructing the special-shaped object.
The constructing of the dot matrix data of the special-shaped object may include dot data at both ends of the special-shaped object and a plurality of dot data between both ends, and the deleting of the special-shaped object may refer to deleting a connection relation of the dot matrix data constituting the certain object, instead of deleting the dot matrix data constituting the special-shaped object, so that the modified object may be reconstructed based on the dot matrix data constituting the special-shaped object.
The reconstructing of the modified object may be bridging the lattice data for constructing the special-shaped object to form a modified object meeting a preset requirement according to the lattice data for constructing the special-shaped object.
When the modeling object is a modeling curve, the special-shaped object is also a special-shaped curve in the modeling curve, and the lattice data is bridged to form a smooth and flexible curve.
Of course, instead of deleting the whole abnormal object, only the line segment of the abnormal object with the abnormal problem may be modified.
Further, as still another embodiment, the correction module includes:
a second response unit for modifying the heteromorphic object in response to a user modification operation for the heteromorphic object in the modeled object to obtain a modified object.
Alternatively, the special-shaped object may be deleted and the modified object may be reconstructed according to the lattice data for constructing the special-shaped object by a corresponding user modification operation for the special-shaped object.
When the special-shaped object is a special-shaped curve and the modified object is reconstructed, the dot matrix data can be bridged by manual control to form the modified object meeting the preset requirement.
An updating module 504, configured to update the source nc machining program to obtain a target machining program based on the modified object;
the updating of the source nc machining program may refer to modifying the source nc machining program or regenerating the machining program. After the irregular object is updated to be the correction object, the modeling object can contain the correction object.
Thus, as one embodiment, the update module may include:
an updating unit configured to update the modeling object based on the correction object;
and the generating unit is used for generating the target machining program according to the updated modeling object.
Further, as still another embodiment, the generating unit may include:
the setting subunit is used for setting a processing tool and a processing tool path according to the updated modeling object;
and the generating subunit is used for generating the target machining program according to the machining tool and the machining tool path.
When the modeling object is a modeling curve, the surface and the body can be reconstructed according to the modeling curve to form a product model, the machining tool and the machining tool path can be reset according to the product model, and the target machining program can be generated based on the machining tool and the machining tool path.
The target processing program may be a control instruction for the processing tool to process the target product in the numerical control machine according to the processing tool path.
And a processing module 505, configured to perform product processing based on the target processing program.
The target processing program can be input into the numerical control machine to process a target product, and the numerical control processing machine executes the target processing program, so that the product processing can be carried out, and a processed product can be obtained.
In the embodiment of the invention, the source numerical control machining program of the target product is analyzed, the target product is actually subjected to reverse reconstruction to obtain the modeling object of the target product, and then the special-shaped object in the modeling object can be corrected to obtain the corrected object, so that the machining program of the target product can be updated to be the target machining program based on the corrected object, the machining program can be used for machining the target product through the target product machining program, the machining problems of special shapes, rotten surfaces and the like in the source numerical control machining program are solved, and the machining efficiency of the product is improved.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As used in the specification and in the claims, certain terms are used to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to substantially achieve the technical effect. Furthermore, the term "coupled" is intended to encompass any direct or indirect electrical coupling. Thus, if a first device couples to a second device, that connection may be through a direct electrical coupling or through an indirect electrical coupling via other devices and couplings. The following description is of the preferred embodiment for carrying out the invention, and is made for the purpose of illustrating the general principles of the invention and not for the purpose of limiting the scope of the invention. The scope of the present invention is defined by the appended claims.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element
The foregoing description shows and describes several preferred embodiments of the invention, but as aforementioned, it is to be understood that the invention is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments and is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (16)

1. A method of processing a product, comprising:
analyzing a source numerical control machining program of a target product to obtain a modeling object; the source numerical control machining program is a numerical control machining program generated in a generating mode, and the modeling object refers to a curve required by modeling;
determining a shaped object in the modeled object;
modifying the special-shaped object to obtain a modified object;
updating the source numerical control machining program based on the correction object to obtain a target machining program;
processing the product based on the target processing program;
wherein analyzing the source numerical control machining program of the target product to obtain a modeling object comprises:
analyzing a source numerical control machining program of the target product to obtain dot matrix data of the target product;
and performing curve modeling on the dot matrix data to obtain the modeling object.
2. The method of claim 1, wherein modifying the shaped object to obtain a modified object comprises:
determining lattice data for constructing the special-shaped object;
deleting the special-shaped object;
and reconstructing the modified object according to the lattice data for constructing the special-shaped object.
3. The method of claim 1, wherein updating the source nc machining program to obtain a target machining program based on the revised object comprises:
updating the modeled object based on the revised object;
and generating a target machining program according to the updated modeling object.
4. The method of claim 3, wherein generating a target machining program from the updated modeled object comprises:
setting a machining tool and a machining tool path according to the updated modeling object;
and generating the target machining program according to the machining tool and the machining tool path.
5. The method of claim 1, wherein the determining the shaped objects in the modeled objects comprises:
any one of the repetitive objects and/or the interrupt object in the modeling object is taken as a heteromorphic object.
6. The method of claim 1, wherein the parsing the source nc processing program of the target product to obtain a modeled object comprises:
and calling an engineering aided design system to analyze the source numerical control machining program of the target product so as to obtain a modeling object.
7. The method of claim 1, wherein after parsing the source nc processing program of the target product to obtain modeled objects, the method further comprises:
and displaying the modeling object.
8. The method of claim 1, wherein the determining the shaped objects in the modeled objects comprises:
in response to a user selection operation for the modeled object, determining a selected heteromorphic object;
said modifying said profiled object to obtain a modified object comprises:
modifying a shaped object of the modeled objects in response to a user modification operation on the shaped object to obtain a modified object.
9. A product processing apparatus, comprising:
the analysis module is used for analyzing the source numerical control machining program of the target product to obtain a modeling object; the source numerical control machining program is a numerical control machining program generated in a generating mode, and the modeling object refers to a curve required by modeling;
a determination module for determining a shaped object of the modeled objects;
the correction module is used for correcting the special-shaped object to obtain a corrected object;
the updating module is used for updating the source numerical control machining program to obtain a target machining program based on the correction object;
the processing module is used for processing the product based on the target processing program;
wherein the parsing module comprises:
the analysis unit is used for analyzing the source numerical control machining program of the target product to obtain the dot matrix data of the target product;
and the modeling unit is used for performing curve modeling on the dot matrix data to obtain the modeling object.
10. The apparatus of claim 9, wherein the modification module comprises:
the determining unit is used for determining the dot matrix data for constructing the special-shaped object;
a deleting unit for deleting the special-shaped object;
and the construction unit is used for reconstructing the modified object according to the lattice data for constructing the special-shaped object.
11. The apparatus of claim 9, wherein the update module comprises:
an updating unit configured to update the modeling object based on the correction object;
and the generating unit is used for generating the target machining program according to the updated modeling object.
12. The apparatus of claim 11, wherein the generating unit comprises:
the setting subunit is used for setting a processing tool and a processing tool path according to the updated modeling object;
and the generating subunit is used for generating the target machining program according to the machining tool and the machining tool path.
13. The apparatus of claim 9, wherein the determining module comprises:
a heteromorphism determining unit for determining any one of the repetitive objects and/or the interrupt object in the modeled object as a heteromorphism object.
14. The apparatus of claim 9, wherein the parsing module comprises:
and the calling unit is used for calling the engineering aided design system to analyze the source numerical control machining program of the target product so as to obtain the modeling object.
15. The apparatus of claim 9, further comprising:
and the display module is used for displaying the modeling object.
16. The apparatus of claim 9, wherein the determining module comprises:
a first response unit for determining a selected heteromorphic object in response to a user selection operation for the modeled object;
the correction module comprises:
a second response unit for modifying the heteromorphic object in response to a user modification operation for the heteromorphic object in the modeled object to obtain a modified object.
CN201710516996.5A 2017-06-29 2017-06-29 Product processing method and device Active CN107256004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710516996.5A CN107256004B (en) 2017-06-29 2017-06-29 Product processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710516996.5A CN107256004B (en) 2017-06-29 2017-06-29 Product processing method and device

Publications (2)

Publication Number Publication Date
CN107256004A CN107256004A (en) 2017-10-17
CN107256004B true CN107256004B (en) 2020-06-09

Family

ID=60024515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710516996.5A Active CN107256004B (en) 2017-06-29 2017-06-29 Product processing method and device

Country Status (1)

Country Link
CN (1) CN107256004B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258271B (en) * 2020-01-20 2021-03-30 深圳市德堡数控技术有限公司 Cutting graph generation method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102067133A (en) * 2008-04-14 2011-05-18 西门子产品生命周期管理软件公司 System and method for splitting faces on a solid model
CN105229643A (en) * 2013-05-28 2016-01-06 西门子产品生命周期管理软件公司 Amendment is tied and free curvilinear net

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2341243B (en) * 1998-05-28 2002-09-18 Mitsubishi Electric Corp Machining program file converter for numerically controlled equipment
JP3958962B2 (en) * 2001-12-19 2007-08-15 株式会社日本総合研究所 MESH GENERATION METHOD, MESH GENERATION DEVICE, COMPUTER PROGRAM, AND RECORDING MEDIUM
US7694284B2 (en) * 2004-11-30 2010-04-06 International Business Machines Corporation Shareable, bidirectional mechanism for conversion between object model and XML
CN101763064B (en) * 2009-12-08 2012-04-18 沈阳飞机工业(集团)有限公司 Numerical control machining process design system and method of aircraft complex components facing process object
CN102789199B (en) * 2011-05-18 2016-08-03 科德数控股份有限公司 The compensation system of multiple error weighted superposition in digital control system
CN105813825B (en) * 2013-12-20 2020-06-23 海克斯康测量技术有限公司 Integrated metrology and additive manufacturing apparatus and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102067133A (en) * 2008-04-14 2011-05-18 西门子产品生命周期管理软件公司 System and method for splitting faces on a solid model
CN105229643A (en) * 2013-05-28 2016-01-06 西门子产品生命周期管理软件公司 Amendment is tied and free curvilinear net

Also Published As

Publication number Publication date
CN107256004A (en) 2017-10-17

Similar Documents

Publication Publication Date Title
US9613291B2 (en) Method and system for patching up a point cloud of an object
US20150005915A1 (en) Computing device and method for generating manufacturing program of product for cnc machine
JP2011517827A5 (en)
JP2015138549A (en) Method and system for generating trajectory
US20150127301A1 (en) Updating A CAD Model To Reflect Global Or Local Shape Changes
CN107194885B (en) Intelligent CAD (computer-aided design) drawing correction system and method
CN111199062A (en) Simulation method and system based on industrial development software and electronic equipment
CN105303607B (en) A kind of three-dimensional model simplifying method keeping precision
CN110597821B (en) Method and device for changing database table structure
CN110888922A (en) Method and device for creating target table during data synchronization
CN107256004B (en) Product processing method and device
US20150089374A1 (en) Network visualization system and method
CN116954585A (en) Industrial digital twin three-dimensional visual scene editing method, device and medium
US11947877B2 (en) Anti-constraint configuration and enforcement for computer-aided design (CAD) models
US20220111515A1 (en) Method and Apparatus for Managing Robot Program
US9984503B2 (en) Systems and methods of updating graphical objects
US9639992B2 (en) Methods and systems for multilevel editing of subdivided polygonal data
US20220351436A1 (en) Digital Content Editing using a Procedural Model
JP4771822B2 (en) Numerical analysis mesh generation device, numerical analysis mesh generation method, numerical analysis mesh generation program
JP2016532897A (en) Method and apparatus for building an intermediate character library
JP4653732B2 (en) System and method for curve shape preservation in the editing process
CN108257079B (en) Method and device for graphics conversion
CN109582295B (en) Data processing method and device, storage medium and processor
EP3454207B1 (en) Dynamic preview generation in a product lifecycle management environment
CN112100737A (en) Model generation method and device, storage medium and electronic equipment

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
TR01 Transfer of patent right

Effective date of registration: 20201015

Address after: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building)

Patentee after: GoerTek Optical Technology Co.,Ltd.

Address before: 261031 No. 268 Dongfang Road, Weifang hi tech Industrial Development Zone, Shandong, Weifang

Patentee before: GOERTEK Inc.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221123

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Patentee after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building)

Patentee before: GoerTek Optical Technology Co.,Ltd.

TR01 Transfer of patent right