CN107256004A - Product processing method and device - Google Patents

Product processing method and device Download PDF

Info

Publication number
CN107256004A
CN107256004A CN201710516996.5A CN201710516996A CN107256004A CN 107256004 A CN107256004 A CN 107256004A CN 201710516996 A CN201710516996 A CN 201710516996A CN 107256004 A CN107256004 A CN 107256004A
Authority
CN
China
Prior art keywords
special
modeling
shaped
amendment
source
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.)
Granted
Application number
CN201710516996.5A
Other languages
Chinese (zh)
Other versions
CN107256004B (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

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 kind of product processing method and device, this method includes:The source nc program of target product is parsed, to obtain modeling object;Determine the special-shaped object in the modeling object;The special-shaped object is corrected, to obtain amendment object;Based on the amendment object, update the source nc program to obtain target procedure;Product processing is carried out based on the target procedure.The embodiment of the present invention, which is avoided in product processing, there are the phenomenons such as product abnormity.

Description

Product processing method and device
Technical field
The invention belongs to fields of numeric control technique, specifically, it is related to a kind of reverse processing method and device.
Background technology
Aero-Space, 3C (Computer, Communication, Consumer Electronic, computer, communication and Consumer electronics) in the business scope such as industry, machining, all refer to Product processing.
In the prior art, product processing is typically:For a target product, structure is obtained first with technologies such as scannings Into the dot array data of the target product, and enter based on dot array data the structure of line, face, body, obtain product model, Ran Houwei Product model sets processing cutter track, generates nc program, the nc program finally is input into numerical control machine In device, control digital control processing machine carries out Product processing, you can to obtain the converted products the same with target product.
But, in the prior art, easily there is the bad order phenomenon such as product abnormity in the converted products of acquisition.
The content of the invention
In view of this, the invention provides a kind of product processing method and device, to solve target product in process The situation of the bad outward appearances such as the special-shaped or rotten face of middle appearance, so that the good appearance of converted products, reaches processing request.
In order to solve the above-mentioned technical problem, the first aspect of the present invention provides a kind of product processing method, this method bag Include:
The source nc program of target product is parsed, to obtain modeling object;
Determine the special-shaped object in the modeling object;
The special-shaped object is corrected, to obtain amendment object;
Based on the amendment object, update the source nc program to obtain target procedure;
Product processing is carried out based on the target procedure.
Preferably, the source nc program of the parsing target product, is included with obtaining modeling object:
The source nc program of the target product is parsed, the dot array data of the target product is obtained;
The dot array data is subjected to curve modeling, the modeling object is obtained.
Preferably, the amendment special-shaped object, is included with obtaining amendment object:
It is determined that building the dot array data of the special-shaped object;
Delete the special-shaped object;
According to the dot array data for building the special-shaped object, the amendment object is rebuild.
Preferably, it is described to be based on the amendment object, the source nc program is updated to obtain target procedure Including:
Based on the amendment object, the modeling object is updated;
According to the modeling object after renewal, target procedure is generated.
Preferably, the modeling object according to after renewal, generation target procedure includes:
According to the modeling object after renewal, process tool and processing cutter track are set;
According to the process tool and the processing cutter track, the target procedure is generated.
Preferably, the special-shaped object determined in the modeling object includes:
It regard any one object and/or interrupt object in the repeating objects in the modeling object as special-shaped object.
Preferably, the source nc program of the parsing target product, is included with obtaining modeling object:
The source nc program of target product described in engineering assistance design system analysis is called, to obtain modeling object.
Preferably, the source nc program of the parsing target product, with after obtaining modeling object, the side Method also includes:
Show the modeling object.
Preferably, the special-shaped object determined in the modeling object includes:
In response to user's selection operation for the modeling object, selected special-shaped object is determined;
The amendment special-shaped object, is included with obtaining amendment object:
Change and operate in response to the user for the special-shaped object in the modeling object, correct the special-shaped object, with Obtain amendment object.
The second aspect of the present invention provides a kind of product processing device, and the device includes:
Parsing module, the source nc program for parsing target product, to obtain modeling object;
Determining module, for determining the special-shaped object in the modeling object;
Correcting module, for correcting the special-shaped object, to obtain amendment object;
Update module, for based on the amendment object, the renewal source nc program to process journey to obtain target Sequence;
Processing module, for carrying out Product processing based on the target procedure.
Preferably, the parsing module includes:
Resolution unit, the source nc program for parsing the target product obtains the dot matrix of the target product Data;
Molding unit, for the dot array data to be carried out into curve modeling, obtains the modeling object.
Preferably, the correcting module includes:
Determining unit, the dot array data for determining the structure special-shaped object;
Unit is deleted, for deleting the special-shaped object;
Construction unit, for according to the dot array data for building the special-shaped object, rebuilding the amendment object.
Preferably, the update module includes:
Updating block, for based on the amendment object, updating the modeling object;
Generation unit, for according to the modeling object after renewal, generating target procedure.
Preferably, the generation unit includes:
Subelement is set, for according to the modeling object after renewal, setting process tool and processing cutter track;
Subelement is generated, for according to the process tool and the processing cutter track, generating the target procedure.
Preferably, the determining module includes:
Special-shaped determining unit, for by any one object in the repeating objects in the modeling object and/or interrupt pair As being used as special-shaped object.
Preferably, the parsing module includes:
Call unit, the source nc program for calling target product described in engineering assistance design system analysis, with Obtain modeling object.
Preferably, described device also includes:
Display module, for showing the modeling object.
Preferably, the determining module includes:
First response unit, in response to user's selection operation for the modeling object, determining selected different Shape object;
The correcting module includes:
Second response unit, operates for being changed in response to the user for the special-shaped object in the modeling object, repaiies Just described special-shaped object, to obtain amendment object.
In the present invention, modeling object, the modeling object are obtained by parsing the source nc program of target product It is the processing model of the target product, the target product can be processed by modeling object.But in being due to modeling object In the presence of special-shaped object, the product of processing can be caused rotten face occur, therefore it is determined that after special-shaped object in the modeling object, repairing Just described special-shaped object, obtains amendment object, afterwards based on the amendment object, updates the source nc program to obtain Target procedure, the target procedure of acquisition is entered by being then based on revised object based on the target procedure Row Product processing, you can to avoid the occurrence of the phenomenons such as special-shaped, the rotten face of product, reaches production good appearance, standard compliant target The purpose of product.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the present invention, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of one embodiment of product processing method of the embodiment of the present invention;
Fig. 2 a are the schematic diagrames of a modeling object of the embodiment of the present invention;
Fig. 2 b are the schematic diagrames of the special-shaped object in a 3-dimensional modeling object of the embodiment of the present invention;
Fig. 2 c are the schematic diagrames of an amendment object of the embodiment of the present invention;
Fig. 3 a be the embodiment of the present invention another 2 dimension modeling object in special-shaped object schematic diagram;
Fig. 3 b are the schematic diagrames of another amendment object of the embodiment of the present invention;
Fig. 4 is a kind of flow chart of another embodiment of product processing method of the embodiment of the present invention;
Fig. 5 is a kind of structural representation of one embodiment of product processing device of the embodiment of the present invention.
Embodiment
Describe embodiments of the present invention in detail below in conjunction with drawings and Examples, thereby how the present invention is applied Technological means can fully understand and implement according to this to solve technical problem and reach the implementation process of technology effect.
The embodiment of the present invention is mainly used in the Product processing in digital control processing field, particularly 3C industries.
Current Product processing mode generally uses reverse thinking, as described in the background art, by target product Analyzing and processing obtain its product model, then nc program is obtained based on product model.But inventor sends out under study for action It is existing, when carrying out Product processing using nc program control processing machine, easily there is product heterobathmy, cause processing to produce The yield rate of product is low, and processing efficiency is low.
Inventor has found by a series of researchs, in product processing, and the main cause for product abnormity occur is to carry out During Modeling in Product, easily there is mistake in the curve being made up of dot array data, causes the presence of special-shaped curve, including special-shaped curve Face, body can also have problem, and then cause product model error occur, and the cutter and cutter track set based on product model also can There is error, and then cause digital control processing machine to carry out occurring in that cutter track abnormity in product processing, for example, lifts or knife The phenomenons such as road repetition, so as to cause the converted products of final output abnormity etc. occur.
In order to solve the special-shaped problem of product, inventor is after detailed analysis and substantial amounts of demonstration, it is proposed that this The technical scheme of invention, in embodiments of the present invention, by the way that the source nc program is parsed, obtains modeling pair As target product is carried out reverse modeling by realization, to obtain the process data of the target product.Obtain after modeling object, i.e., The special-shaped object in the modeling object can be determined, the special-shaped object is corrected, to obtain amendment object, and then based on institute Amendment object is stated, the source nc program is updated to obtain target procedure, is entered again based on the target procedure Processing effect good target product can be obtained during row Product processing, to obtain the target product of good appearance.
, can be after the generation of source nc program, i.e., according to the present invention by the technical scheme of the embodiment of the present invention The technical scheme of embodiment is verified and updated to source nc program, to avoid directly utilizing source nc program to obtain There is the appearance of the special-shaped situation of product in the converted products obtained, naturally it is also possible to be in the processing obtained using source nc program When the situation of product abnormity occurs in product, then the source nc program is updated, to process journey using the target obtained Sequence regenerates converted products.The technical scheme of certain embodiment of the present invention is not limited to above two application scenarios.
Technical scheme is described in detail below in conjunction with accompanying drawing.
Fig. 1 is a kind of flow chart of one embodiment of product processing method provided in an embodiment of the present invention.Methods described Following steps can be included:
101:The source nc program of target product is parsed, to obtain modeling object.
Wherein, source nc program is to refer to input to carry out the program of Product processing in digital control processing machine, Its generating mode is same as the prior art, namely the process tool that can be set based on product model and processing cutter track generation. Its specific generating mode can include two kinds, and a kind of is that staff writes in advance, and second is that staff utilizes The generation of engineering assistance design system.The engineering assistance design system can be AutoCAD (Autodesk Computer Aided Drafting, automatic computing engine Autocad) mapping software, UG (Unigraphics N) software, PowerMill softwares etc. have the software sharing of CAD function.
The source nc program, which can be one, has the file of specific format, and the specific format can foundation The digital control processing machine receives file to determine, for example, the source nc program can be dat files, txt texts Part etc..
As one embodiment, the source nc program of the parsing target product can be wrapped with obtaining modeling object Include:
The source nc program of engineering assistance design system analysis target product is called, to obtain modeling object.
Because the body of product model is made up of face, and face is made up of curve, and curve is then made up of point, therefore, the target Product is that based on curve, the modeling object can specifically refer to the curve needed for modeling in processing.
After the source nc program is resolved, the dot array data of the target product can be obtained.The dot matrix number According to being made up of multi-level, various dimensions points, the shape of product model is formed.Can be by the way that the dot array data be carried out into curve Moulding, the curve is sensu lato curve, can include straight line or line segment, to obtain modeling object.The modeling object can Be two dimension or three dimensional form exist.
Therefore, as another embodiment, the source nc program of the parsing target product, to be modeled Object can include:
The source nc program of the target product is parsed, the dot array data of the target product is obtained;
The dot array data is subjected to curve modeling, the modeling object is obtained.
Dot array data progress curve modeling can specifically there are into various ways, two kinds of possible realization sides are set forth below Formula:
Method one, the curve modeling mode that can be provided with utilizing works aided design system carry out curve modeling, to obtain Modeling object, for example, the curve modeling mode can be batten moulding.
Method two, plug-in unit or third party software can be imported in engineering assistance design system, pass through plug-in unit or Software of the third party carries out curve modeling, to obtain modeling object, for example, the curve modeling mode can be curve matching.
Therefore, it is described to include dot array data progress curve modeling:Dot array data progress batten is made Type carries out curve fitting the dot array data.
102:Determine the special-shaped object in the modeling object.
Alternatively, the special-shaped object determined in the modeling object includes:
It regard any one object and/or interrupt object in the repeating objects in the modeling object as special-shaped object.Institute State special-shaped object and can also be the object bent, for example, it may be being bent in the middle of the curve of certain section of circular shape.
Understand for convenience, as shown in Figure 2 a, the modeling pair obtained after the source nc program parsing of target product 201 As in 202,202 substantially comprising special-shaped object 2021, after the special-shaped object 2021 amplifies, generation that specifically can be as shown in Figure 2 b The special-shaped object 2021 interrupted.And as shown in dotted line frame in Fig. 3 a, special-shaped object 301 is that there occurs repetition and interruption Special-shaped object.
Wherein, the interrupt object can be that continuous curve is interrupted in the modeling object, no longer be continuous The phenomenons such as curve.The irregular object can be that the curve in the modeling object phenomenon such as bending, rough occurs.
Wherein, the selection determination that special-shaped object can be based on user, therefore, is used as another embodiment, obtains modeling pair As after, the modeling object can also be exported, facilitates user to check the modeling object, to search the abnormity wherein gone wrong Object.
Therefore, the special-shaped object determined in the modeling object can include:
In response to user's selection operation for the modeling object, selected special-shaped object is determined;
When user is by checking that modeling object finds special-shaped object therein, you can to trigger user's selection operation, to select Select special-shaped object.
103:The special-shaped object is corrected, to obtain amendment object.
As another embodiment, the amendment special-shaped object can be included with obtaining amendment object:
It is determined that building the dot array data of the special-shaped object;
Delete the special-shaped object;
According to the dot array data for building the special-shaped object, the amendment object is rebuild.
Build the special-shaped object dot array data can include the special-shaped object two ends point data and two ends Between some point datas, deleting the special-shaped object can refer to that the connection of the dot array data by certain object is constituted is closed System deletes, rather than deletion constitutes the dot array data of the special-shaped object, so that based on the dot array data for building the special-shaped object, Amendment object can be rebuild.
Wherein, according to the dot array data for building the special-shaped object, it can build to rebuild the amendment object The dot array data of the special-shaped object is bridged, to form the amendment object for meeting preset requirement.
Modeling object be model curve when, the special-shaped object also be model curve in special-shaped curve when, pass through will Dot array data is bridged, to form smooth, submissive curve.
Can certainly only change in special-shaped object the line segment of special-shaped problem occur, rather than special-shaped object is all deleted Remove.
In addition, as another embodiment, the amendment special-shaped object can be included with obtaining amendment object:
Change and operate in response to the user for the special-shaped object, the special-shaped object is corrected, to obtain amendment object.
It is alternatively possible to be that the user of the special-shaped object is changed by respective needle to operate, the special-shaped object is deleted And according to the dot array data for building the special-shaped object, rebuild the amendment object.
When special-shaped object is special-shaped curve, when rebuilding the amendment object, namely can be by it is artificial control into The bridge joint of row dot array data, to form the amendment object for meeting preset requirement.
The amendment object of preset requirement will can be met after the special-shaped object amendment.Amendment pair as shown in Figure 2 c Generated after being corrected as 2022 for the special-shaped object 2021 shown in Fig. 2 a, amendment object 302 as shown in Figure 3 b is Fig. 3 a institutes What the special-shaped object 301 shown was generated after correcting.
104:Based on the amendment object, update the source nc program to obtain target procedure.
Wherein, modification source nc program can be referred to or regenerate processing journey by updating source nc program Sequence.Due to special-shaped object is updated to after amendment object, the amendment object can be included in the modeling object.
Therefore, it is described to be based on the amendment object as one embodiment, the source nc program is updated to obtain Target procedure includes:
Based on the amendment object, the modeling object is updated;
According to the modeling object after renewal, target procedure is generated.
In addition, as another embodiment, the modeling object according to after renewal generates target procedure It can include:
According to the modeling object after renewal, process tool and processing cutter track are set;
According to the process tool and the processing cutter track, the target procedure is generated.
Wherein, when modeling object is model curve, face and body can be rebuild first according to model curve, is formed Product model, so according to product model can reset again process tool and processing cutter track, based on the process tool with And the processing cutter track, you can to generate target procedure.
The target procedure can be that the process tool adds in numerically controlled machine according to the processing cutter track operation The control instruction of target product described in work.
105:Product processing is carried out based on the target procedure.
The target procedure can be input to editing objective product in numerically controlled machine, and being performed by digital control processing machine should Target procedure, you can to carry out Product processing, obtain converted products, process is similar to prior art, herein no longer Repeat.
, actually will be described by the way that the source nc program of target product is parsed in the embodiment of the present invention Target product has carried out Reverse reconstruction, obtains the modeling object of the target product, and then can be by the modeling object Special-shaped object is modified, and obtains amendment object, so as to update the procedure of target product based on amendment object for mesh Procedure is marked, procedure can be carried out to the processing of target product by target product procedure, source numerical control is solved The processing problems such as special-shaped, the rotten face occurred in procedure, improve the processing efficiency of product.
Below, so that modeling object is model curve as an example, the technical scheme to the embodiment of the present invention is described in detail, such as It is a kind of flow chart of another embodiment of product processing method provided in an embodiment of the present invention, methods described shown in Fig. 4 Following steps can be included:
401:The source nc program of target product is parsed, to obtain the dot array data of target product.
402:The dot array data is subjected to curve modeling, the model curve of the target product is obtained.
403:Determine the special-shaped curve in the model curve.
404:Determine the dot array data of the special-shaped curve.
405:Delete the special-shaped curve.
It is alternatively possible to only delete the special-shaped curve, and retain the dot array data of the special-shaped curve.
406:According to the dot array data of the special-shaped curve, fair curve is rebuild;
407:Based on the fair curve, the model curve is updated;
408:According to the model curve after renewal, target procedure is generated.
Alternatively, the curve model according to after renewal, generation target procedure includes:
According to the curve model after renewal, process tool and processing cutter track are set;
According to the processing cutter track and the processing cutter track, the target procedure is generated.
409:Product processing is carried out based on the target product procedure.
The composition process of target product is a composition line, and line constitutes face, and face constitutes the process of body, and this process center line is Base unit, because target product is in process using line as main machining benchmark, therefore, it can regard line as main modification Benchmark.
Therefore, in the embodiment of the present invention, the abnormity amendment of target product is carried out based on curve, can be by target product Special-shaped curve promptly determine, and corrected accordingly, and then can exactly, rapidly obtain target processing journey Sequence, and then accelerate the processing efficiency of target product, obtain standard compliant product.
Fig. 5 is a kind of structural representation of one embodiment of product processing device of the embodiment of the present invention, and the device can With including following module:
Parsing module 501, the source nc program for parsing target product, to obtain modeling object.
Wherein, source nc program is to refer to input in digital control processing machine to carry out the program of Product processing. Its generating mode is same as the prior art, namely the process tool that can be set based on product model and processing cutter track generation. Its specific generating mode includes two kinds, and a kind of is that staff writes in advance, and second is staff's utilizing works Aided design system generation.The engineering assistance design system can be AutoCAD (Autodesk Computer Aided Drafting, automatic computing engine Autocad) mapping software, UG (Unigraphics N) software, PowerMill softwares Deng the software sharing with CAD function.
The source nc program, which can be one, has the file of specific format, and the specific format can foundation The digital control processing machine receives file to determine, for example, the source nc program can be dat files, txt texts Part etc..As one embodiment, the parsing module can include:
Call unit, the source nc program for calling target product described in engineering assistance design system analysis, with Obtain modeling object.
Because the body of product model is made up of face, and face is made up of curve, and curve is then made up of point, therefore, the target Product is that based on curve, the modeling object can specifically refer to the curve needed for modeling in processing.
After the source nc program is resolved, the dot array data of the target product can be obtained.The dot matrix number According to being made up of multi-level, various dimensions points, the shape of product model is formed.Can be by the way that the dot array data be carried out into curve Moulding, the curve is sensu lato curve, can include straight line or line segment, to obtain modeling object.
Therefore, as another embodiment, the parsing module can include:
Resolution unit, the source nc program for parsing the target product obtains the dot matrix of the target product Data;
Molding unit, for the dot array data to be carried out into curve modeling, obtains the modeling object.
Dot array data progress curve modeling can specifically there are into various ways:
Method one, the curve modeling mode that can be provided with utilizing works aided design system carry out curve modeling, for example, institute It can be batten moulding to state curve modeling mode.
Method two, plug-in unit or third party software can be imported in engineering assistance design system, pass through plug-in unit or Software of the third party carries out curve modeling, for example, the curve modeling mode can be curve matching.
Therefore, it is described to include dot array data progress curve modeling:Dot array data progress batten is made Type carries out curve fitting the dot array data.
As another embodiment, after the modeling object is obtained, described device can also include:
Display module, for showing the modeling object.
Determining module 502, for determining the special-shaped object in the modeling object;
Alternatively, the determining module can include:
Special-shaped determining unit, for by any one object in the repeating objects in the modeling object and/or interrupt pair As and/or irregular object be used as special-shaped object.
Wherein, the interrupt object can be that continuous curve is interrupted in the modeling object, no longer be continuous The phenomenons such as curve.The irregular object can be that the curve in the modeling object phenomenon such as bending, rough occurs.
Wherein, the selection determination that special-shaped object can be based on user, therefore, is used as another embodiment, obtains modeling pair As after, the modeling object can also be exported, facilitates user to check the modeling object, to search the abnormity wherein gone wrong Object.
Therefore, the determining module includes:
First response unit, in response to user's selection operation for the modeling object, determining selected different Shape object;
When user is by checking that modeling object finds special-shaped object therein, you can to trigger user's selection operation, to select Select special-shaped object.
Correcting module 503, for correcting the special-shaped object, to obtain amendment object;
As another embodiment, the correcting module can include:
Determining unit, the dot array data for determining the structure special-shaped object;
Unit is deleted, for deleting the special-shaped object;
Construction unit, for according to the dot array data for building the special-shaped object, rebuilding the amendment object.
Build the special-shaped object dot array data can include the special-shaped object two ends point data and two ends Between some point datas, deleting the special-shaped object can refer to that the connection of the dot array data by certain object is constituted is closed System deletes, rather than deletion constitutes the dot array data of the special-shaped object, so that based on the dot array data for building the special-shaped object, Amendment object can be rebuild.
Wherein, according to the dot array data for building the special-shaped object, it can build to rebuild the amendment object The dot array data of the special-shaped object is bridged, to form the amendment object for meeting preset requirement.
Modeling object be model curve when, the special-shaped object also be model curve in special-shaped curve when, pass through will Dot array data is bridged, to form smooth, submissive curve.
Can certainly only change in special-shaped object the line segment of special-shaped problem occur, rather than special-shaped object is all deleted Remove.
In addition, as another embodiment, the correcting module includes:
Second response unit, operates for being changed in response to the user for the special-shaped object in the modeling object, repaiies Just described special-shaped object, to obtain amendment object.
It is alternatively possible to be that the user of the special-shaped object is changed by respective needle to operate, the special-shaped object is deleted And according to the dot array data for building the special-shaped object, rebuild the amendment object.
When special-shaped object is special-shaped curve, when rebuilding the amendment object, namely can be by it is artificial control into The bridge joint of row dot array data, to form the amendment object for meeting preset requirement.
Update module 504, is processed for based on the amendment object, updating the source nc program with obtaining target Program;
Wherein, modification source nc program can be referred to or regenerate processing journey by updating source nc program Sequence.Due to special-shaped object is updated to after amendment object, the amendment object can be included in the modeling object.
Therefore, as one embodiment, the update module can include:
Updating block, for based on the amendment object, updating the modeling object;
Generation unit, for according to the modeling object after renewal, generating target procedure.
In addition, as another embodiment, the generation unit can include:
Subelement is set, for according to the modeling object after renewal, setting process tool and processing cutter track;
Subelement is generated, for according to the process tool and the processing cutter track, generating the target procedure.
Wherein, when modeling object is model curve, face and body can be rebuild first according to model curve, is formed Product model, so according to product model can reset again process tool and processing cutter track, based on the process tool with And the processing cutter track, you can to generate target procedure.
The target procedure can be that the process tool adds in numerically controlled machine according to the processing cutter track operation The control instruction of target product described in work.
Processing module 505, for carrying out Product processing based on the target procedure.
The target procedure can be input to editing objective product in numerically controlled machine, and being performed by digital control processing machine should Target procedure, you can to carry out Product processing, obtain converted products, process is similar to prior art, herein no longer Repeat.
, actually will be described by the way that the source nc program of target product is parsed in the embodiment of the present invention Target product has carried out Reverse reconstruction, obtains the modeling object of the target product, and then can be by the modeling object Special-shaped object is modified, and obtains amendment object, so as to update the procedure of target product based on amendment object for mesh Procedure is marked, procedure can be carried out to the processing of target product by target product procedure, source numerical control is solved The processing problems such as special-shaped, the rotten face occurred in procedure, improve the processing efficiency of product.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include the data-signal and carrier wave of non-temporary computer readable media (transitory media), such as modulation.
Some vocabulary have such as been used to censure specific components among specification and claim.Those skilled in the art should It is understood that hardware manufacturer may call same component with different nouns.This specification and claims are not with name The difference of title is used as the mode for distinguishing component, but is used as the criterion of differentiation with the difference of component functionally.Such as logical The "comprising" of piece specification and claim mentioned in is an open language, therefore should be construed to " include but do not limit In "." substantially " refer in receivable error range, those skilled in the art can solve described in the range of certain error Technical problem, basically reaches the technique effect.In addition, " coupling " one word is herein comprising any direct and indirect electric property coupling Means.Therefore, if a first device is coupled to a second device described in text, representing the first device can directly electrical coupling The second device is connected to, or the second device is electrically coupled to indirectly by other devices or coupling means.Specification Subsequent descriptions for implement the present invention better embodiment, so it is described description be by illustrate the present invention rule for the purpose of, It is not limited to the scope of the present invention.Protection scope of the present invention is worked as to be defined depending on the appended claims person of defining.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising, so that commodity or system including a series of key elements not only include those key elements, but also including without clear and definite Other key elements listed, or also include for this commodity or the intrinsic key element of system.In the feelings of not more limitations Under condition, the key element limited by sentence "including a ...", it is not excluded that in the commodity or system including the key element also There is other identical element
Some preferred embodiments of the present invention have shown and described in described above, but as previously described, it should be understood that the present invention Be not limited to form disclosed herein, be not to be taken as the exclusion to other embodiment, and available for various other combinations, Modification and environment, and above-mentioned teaching or the technology or knowledge of association area can be passed through in application contemplated scope described herein It is modified., then all should be in this hair and the change and change that those skilled in the art are carried out do not depart from the spirit and scope of the present invention In the protection domain of bright appended claims.

Claims (18)

1. a kind of product processing method, it is characterised in that including:
The source nc program of target product is parsed, to obtain modeling object;
Determine the special-shaped object in the modeling object;
The special-shaped object is corrected, to obtain amendment object;
Based on the amendment object, update the source nc program to obtain target procedure;
Product processing is carried out based on the target procedure.
2. according to the method described in claim 1, it is characterised in that the source numerically controlled machining programme of the parsing target product Sequence, is included with obtaining modeling object:
The source nc program of the target product is parsed, the dot array data of the target product is obtained;
The dot array data is subjected to curve modeling, the modeling object is obtained.
3. according to the method described in claim 1, it is characterised in that the amendment special-shaped object, to obtain amendment object Including:
It is determined that building the dot array data of the special-shaped object;
Delete the special-shaped object;
According to the dot array data for building the special-shaped object, the amendment object is rebuild.
4. according to the method described in claim 1, it is characterised in that described to be based on the amendment object, update the source numerical control Procedure is included with obtaining target procedure:
Based on the amendment object, the modeling object is updated;
According to the modeling object after renewal, target procedure is generated.
5. method according to claim 4, it is characterised in that the modeling object according to after renewal, generation Target procedure includes:
According to the modeling object after renewal, process tool and processing cutter track are set;
According to the process tool and the processing cutter track, the target procedure is generated.
6. according to the method described in claim 1, it is characterised in that the special-shaped object bag determined in the modeling object Include:
It regard any one object and/or interrupt object in the repeating objects in the modeling object as special-shaped object.
7. according to the method described in claim 1, it is characterised in that the source numerically controlled machining programme of the parsing target product Sequence, is included with obtaining modeling object:
The source nc program of target product described in engineering assistance design system analysis is called, to obtain modeling object.
8. according to the method described in claim 1, it is characterised in that the source numerically controlled machining programme of the parsing target product Sequence, so that after obtaining modeling object, methods described also includes:
Show the modeling object.
9. according to the method described in claim 1, it is characterised in that the special-shaped object bag determined in the modeling object Include:
In response to user's selection operation for the modeling object, selected special-shaped object is determined;
The amendment special-shaped object, is included with obtaining amendment object:
Change and operate in response to the user for the special-shaped object in the modeling object, correct the special-shaped object, to obtain Correct object.
10. a kind of product processing device, it is characterised in that including:
Parsing module, the source nc program for parsing target product, to obtain modeling object;
Determining module, for determining the special-shaped object in the modeling object;
Correcting module, for correcting the special-shaped object, to obtain amendment object;
Update module, for based on the amendment object, updating the source nc program to obtain target procedure;
Processing module, for carrying out Product processing based on the target procedure.
11. device according to claim 10, it is characterised in that the parsing module includes:
Resolution unit, the source nc program for parsing the target product obtains the dot array data of the target product;
Molding unit, for the dot array data to be carried out into curve modeling, obtains the modeling object.
12. device according to claim 10, it is characterised in that the correcting module includes:
Determining unit, the dot array data for determining the structure special-shaped object;
Unit is deleted, for deleting the special-shaped object;
Construction unit, for according to the dot array data for building the special-shaped object, rebuilding the amendment object.
13. device according to claim 10, it is characterised in that the update module includes:
Updating block, for based on the amendment object, updating the modeling object;
Generation unit, for according to the modeling object after renewal, generating target procedure.
14. device according to claim 13, it is characterised in that the generation unit includes:
Subelement is set, for according to the modeling object after renewal, setting process tool and processing cutter track;
Subelement is generated, for according to the process tool and the processing cutter track, generating the target procedure.
15. device according to claim 10, it is characterised in that the determining module includes:
Special-shaped determining unit, for any one object in the repeating objects in the modeling object and/or interrupt object to be made For special-shaped object.
16. device according to claim 10, it is characterised in that the parsing module includes:
Call unit, the source nc program for calling target product described in engineering assistance design system analysis, to obtain Modeling object.
17. device according to claim 10, it is characterised in that described device also includes:
Display module, for showing the modeling object.
18. device according to claim 10, it is characterised in that the determining module includes:
First response unit, in response to user's selection operation for the modeling object, determining that selected abnormity is right As;
The correcting module includes:
Second response unit, operates for being changed in response to the user for the special-shaped object in the modeling object, corrects institute Special-shaped object is stated, to obtain amendment 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 true CN107256004A (en) 2017-10-17
CN107256004B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258271A (en) * 2020-01-20 2020-06-09 深圳市德堡数控技术有限公司 Cutting graph generation method and device, computer equipment and storage medium
CN111783244A (en) * 2020-06-19 2020-10-16 珠海格力大金精密模具有限公司 UG software-based part machining tool path generation method, computer device and computer-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1261964A (en) * 1998-05-28 2000-08-02 三菱电机株式会社 Machining program file convertor for numerically controlled equipment and computer-readable recording medium storing program for controlling computer to execute file conversion procedure
CN1783090A (en) * 2004-11-30 2006-06-07 国际商业机器公司 Sharable two way method and system for switching between object model and XML
JP3958962B2 (en) * 2001-12-19 2007-08-15 株式会社日本総合研究所 MESH GENERATION METHOD, MESH GENERATION DEVICE, COMPUTER PROGRAM, AND RECORDING MEDIUM
CN101763064A (en) * 2009-12-08 2010-06-30 沈阳飞机工业(集团)有限公司 Numerical control machining process design system and method of aircraft complex components facing process object
CN102067133A (en) * 2008-04-14 2011-05-18 西门子产品生命周期管理软件公司 System and method for splitting faces on a solid model
CN102789199A (en) * 2011-05-18 2012-11-21 大连光洋科技工程有限公司 Compensation system with repeated error weighted stacking in numerical control system
US20150174828A1 (en) * 2013-12-20 2015-06-25 Hexagon Metrology, Inc. Integrated measuring and additive manufacturing apparatus and method
CN105229643A (en) * 2013-05-28 2016-01-06 西门子产品生命周期管理软件公司 Amendment is tied and free curvilinear net

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1261964A (en) * 1998-05-28 2000-08-02 三菱电机株式会社 Machining program file convertor for numerically controlled equipment and computer-readable recording medium storing program for controlling computer to execute file conversion procedure
JP3958962B2 (en) * 2001-12-19 2007-08-15 株式会社日本総合研究所 MESH GENERATION METHOD, MESH GENERATION DEVICE, COMPUTER PROGRAM, AND RECORDING MEDIUM
CN1783090A (en) * 2004-11-30 2006-06-07 国际商业机器公司 Sharable two way method and system for switching between object model and XML
CN102067133A (en) * 2008-04-14 2011-05-18 西门子产品生命周期管理软件公司 System and method for splitting faces on a solid model
CN101763064A (en) * 2009-12-08 2010-06-30 沈阳飞机工业(集团)有限公司 Numerical control machining process design system and method of aircraft complex components facing process object
CN102789199A (en) * 2011-05-18 2012-11-21 大连光洋科技工程有限公司 Compensation system with repeated error weighted stacking in numerical control system
CN105229643A (en) * 2013-05-28 2016-01-06 西门子产品生命周期管理软件公司 Amendment is tied and free curvilinear net
US20150174828A1 (en) * 2013-12-20 2015-06-25 Hexagon Metrology, Inc. Integrated measuring and additive manufacturing apparatus and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258271A (en) * 2020-01-20 2020-06-09 深圳市德堡数控技术有限公司 Cutting graph generation method and device, computer equipment and storage medium
CN111258271B (en) * 2020-01-20 2021-03-30 深圳市德堡数控技术有限公司 Cutting graph generation method and device, computer equipment and storage medium
CN111783244A (en) * 2020-06-19 2020-10-16 珠海格力大金精密模具有限公司 UG software-based part machining tool path generation method, computer device and computer-readable storage medium

Also Published As

Publication number Publication date
CN107256004B (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN111063030B (en) Dynamo-based BIM parameterized modeling method and device
CN107844677B (en) Method for editing and updating three-dimensional steel bar
CN102629204B (en) Web page source code generation method and device
CN104615454A (en) Method and system for UPDATING A CAD MODEL, and readable media
CN107194885B (en) Intelligent CAD (computer-aided design) drawing correction system and method
CN115017569A (en) Two-dimensional and three-dimensional linked bridge parametric modeling and plotting method, device, equipment and medium
CN106227930A (en) A kind of method of model identification being imported Flac3D by Midas based on Matlab
CN111199062A (en) Simulation method and system based on industrial development software and electronic equipment
US20220405440A1 (en) Systems and methods for generating reduced order models
CN107256004A (en) Product processing method and device
WO2011078049A1 (en) Construction data management method, construction data management device, and construction data management system for structural object
Sobrino et al. Developing simulation approaches: a simple case of emulation for logic validation using tecnomatix plant simulation
CN103559350A (en) Load file processing method and device of vehicle
JP5984175B2 (en) System and method for performing undo and redo operations during machining simulation
CN113986730A (en) Method, device, equipment and storage medium for testing offer file
McLaurin et al. Repairing unstructured triangular mesh intersections
Morshedzadeh et al. Multi-level management of discrete event simulation models in a product lifecycle management framework
CN111914380A (en) Part model determination method and device, computer equipment and storage medium
CN115081137A (en) Serialized modeling method under visual programming environment
CN114840251A (en) Script processing method, terminal, storage medium and program product
CN111126961B (en) Full life cycle digital main line service system for complex products
Shafiq et al. Model server enabled management of collaborative changes in building information models
Skarka et al. New methods of designing stamping dies assemblies by using generative models
CN113283135B (en) Method for extracting electromagnetic simulation plasma current data of tokamak vacuum chamber
Montoya-Zapata et al. Sensitivity Analysis in Shape Optimization using Voxel Density Penalization.

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