CN102354149A - Post-processing method of cutter location file generated by programming based on STIL (Standard Template Library) format model - Google Patents

Post-processing method of cutter location file generated by programming based on STIL (Standard Template Library) format model Download PDF

Info

Publication number
CN102354149A
CN102354149A CN2011102630810A CN201110263081A CN102354149A CN 102354149 A CN102354149 A CN 102354149A CN 2011102630810 A CN2011102630810 A CN 2011102630810A CN 201110263081 A CN201110263081 A CN 201110263081A CN 102354149 A CN102354149 A CN 102354149A
Authority
CN
China
Prior art keywords
cutter location
location file
statement
numerical control
feed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011102630810A
Other languages
Chinese (zh)
Inventor
王超
胡庆夕
姚远
赵乾胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN2011102630810A priority Critical patent/CN102354149A/en
Publication of CN102354149A publication Critical patent/CN102354149A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

The invention relates to a post-processing method of a cutter location file generated by programming based on an STIL (Standard Template Library) format model, which comprises the steps of: importing the STL format model into Pro/Toolmaker software for numerical control programming, selecting a proper cutter and a process parameter to generate the cutter location file and storing as a text format; then preprocessing the cutter location file, respectively combining rapid feed movement statement, feed speed and arc feed movement related information in the cutter location file into one row; reading the preprocessed cutter location file by lines and post-processing the cutter location file according to a specific numerical control machine processing program command format into corresponding numerical control program; then optimizing the generated numerical control processing program; and finally, outputting the generated numerical control program and processing parts on a numerical control machine. The invention provides a novel post-processing method of the cutter location file generated based on at the STL format model, and avoids repeated processing because multiple times of preprocessing are adopted in the post-processing process to ensure that each line comprises all required information and all required information are processed into the numerical control processing program by lines, thus the post-processing efficiency is increased.

Description

A kind of rearmounted disposal route of the cutter location file that programming generates based on STL form model
Technical field
What the present invention relates to is a kind of rearmounted disposal route of cutter location file, and particularly a kind of STL form model is based on the rearmounted disposal route of the cutter location file of Pro/Toolmaker programming back generation.
Background technology
STL (STero-Lithography interface specification) file layout is to be released in 1988 by 3D SYSTEM company, adopts discrete ground of tri patch approximate representation three-dimensional model.Have form simple, obtain and be easier to, possess the advantage that many CAD platform is supported, in fields such as reverse-engineering, finite element analysis, medical imagings very big application prospect is arranged.The most frequently used file layout in rapid shaping technique field and actual interface standard have been become at present.
In order to enlarge the range of application of stl file form, become the focus of present research to the digital control processing of STL at industrial circle.When carrying out numerical control programming to the STL formatted file; The post processor that CAM software carries is can the rearmounted machine tool type of handling less; And can not be through the newly-built post processor of lathe parameter is set; Need the free hand modification numerical control code to adapt to the numerically-controlled machine of particular system, seriously restricted range of application based on the digital control processing of stl file form.
Postposition Processing Technology is one of gordian technique of digital control processing programming; It is the bridge that connects between CAM system and the process equipment; Through reading the cutter path file that generates by the CAM system; Therefrom extract information such as relevant cutter path, technological parameter, non-productive operation; And analyze, judge and handle according to the requirement of design feature, control system type and the corresponding N c program command format of designation number controlled machine, finally generate numerically-controlled machine can Direct Recognition the NC job sequence.
At present, rearmounted disposal route is directed against the cutter location file of solid model generation mostly, and to the cutter location file of STL form CAM programming generation with to specific digital control system, the numerical control machining code that carrying out the automatic generation of rearmounted processing needs becomes problem demanding prompt solution.
Summary of the invention
The objective of the invention is to after the present STL formatted file programming, the rearmounted limitation of handling provides a kind of method of handling to the postposition of the STL form model cutter location file that programming generates based on Pro/Toolmaker.This method has not only realized the cutter location file postposition that STL form model generates is treated to the nc program of concrete machine tool system; And in rearmounted processing procedure; Employing elder generation repeatedly pre-service makes the every row of cutter location file comprise the information of all needs; Be treated to nc program more line by line; Avoid re-treatment, improved rearmounted treatment effeciency.
In order to achieve the above object, design of the present invention is: at first import STL form model and carry out numerical control programming to Pro/Toolmaker software and generate cutter location file; Then cutter location file is carried out pre-service, merge to the fast feed campaign statement in the cutter location file, speed of feed, circular arc feed motion relevant information in the delegation respectively; Then read in pretreated cutter location file line by line and it is carried out postposition and be treated to corresponding numerical control program according to concrete numerically-controlled machine job sequence command format; Then the nc program that generates is optimized processing, the redundant row program is deleted and added header file and every line program adds program number to program; At last the numerical control program that generates is exported, on numerically-controlled machine, realized the processing of part.
According to the foregoing invention design, the present invention adopts following technical proposals:
A kind of rearmounted disposal route of the cutter location file that programming obtains to STL form model is characterized in that operation steps is following:
(1): STL form model is carried out numerical control programming generate cutter location file
Import STL form model and carry out numerical control programming, select suitable cutter and technological parameter generation cutter location file and save as text formatting to Pro/Toolmaker software;
(2): cutter location file fast feed campaign statement is carried out pre-service
In cutter location file, seek fast feed campaign statement; And the straight-line feed motion statement of itself and next line merged processing; Before fast feed statement RAPID is placed on next straight-line feed motion statement keyword GOTO, and delete original fast feed campaign statement;
(3): cutter location file speed of feed statement is carried out pre-service
In cutter location file, seek the speed of feed statement, and be that differentiated treatment is carried out in straight-line feed or circular arc feeding by feeding mode, the speed of feed statement is placed on feed motion statement keyword GOTO before, and delete original speed of feed statement;
(4): cutter location file circular arc feed motion statement is carried out pre-service
In cutter location file, seek circular arc feed motion statement, the lastrow of this statement and the starting point in the motion of next line straight-line feed and terminal point coordinate are placed on after the circular motion keyword CIRCLR;
(5): pretreated cutter location file is carried out postposition handle
Read in cutter location file line by line and cutter location file is carried out the postposition processing according to concrete machine tool numerical control system job sequence command format; Extract first three character string of pretreated every capable cutter location file and judge, be translated as corresponding numerical control program according to judged result;
(6): the numerical control program to generating is optimized processing
The redundant straight-line feed motor program of the next line of circular arc feed motion deleted and add header file, terminating symbol and every line program to job sequence add program number;
(7): numerical control program is exported
Numerical control program to generating is exported, and on numerically-controlled machine, realizes the processing of part.
The present invention compared with prior art; Have following conspicuous outstanding substantive distinguishing features and remarkable advantage: the postposition that has realized the cutter location file that programming generates to STL form model through this postposition disposal route is handled, and the job sequence of generation need not secondary and revises and can directly import numerically-controlled machine and process.In rearmounted processing procedure, adopt earlier repeatedly pre-service to make the every row of cutter location file comprise the information of all needs, be treated to nc program more line by line, avoided re-treatment, improved rearmounted treatment effeciency.
Description of drawings
Fig. 1 realizes the flow chart of the rearmounted disposal route of the cutter location file that programming obtains to STL form model for the present invention.
The STL form illustraton of model that Fig. 2 uses for the present invention.
The cutter location file that the STL form illustraton of model that Fig. 3 uses for the present invention obtains through the Pro/Toolmaker software programming.
The pretreated cutter location file that Fig. 4 obtains after through pre-treatment step for the present invention.
The nc program that Fig. 5 obtains after through rearmounted treatment step for the present invention.
The nc program that Fig. 6 obtains after through the optimization process step for the present invention.
The nc program output result that Fig. 7 obtains for the present invention.
The nc program that Fig. 8 obtains for the present invention outputs to the physical part that numerically-controlled machine processes.
Embodiment
A preferred embodiment of the present invention; Be described with reference to the accompanying drawings as follows: the rearmounted disposal route concrete operations step that the present invention is directed to the cutter location file that STL form model programming obtains is (referring to Fig. 1) as follows: at first read STL form model (referring to Fig. 2) and after the Pro/Toolmaker software programming, obtain cutter location file (referring to Fig. 3), save as text formatting.Then cutter location file is carried out pre-service, the fast feed campaign statement in the cutter location file, speed of feed, circular arc feed motion relevant information are merged to respectively in the delegation, obtain pretreated cutter location file (referring to Fig. 4).Then read in pretreated cutter location file line by line and it is carried out postposition and be treated to corresponding numerical control program (referring to Fig. 5) according to concrete numerically-controlled machine job sequence command format.Then the nc program that generates is optimized processing; The redundant straight-line feed motor program that the next line of circular arc feed motion is produced is deleted and is added header file and every line program adds program number to program, and numerical control program (referring to Fig. 6) after handling is optimized; At last the numerical control program that generates is exported (referring to Fig. 7), and on numerically-controlled machine, realize the processing of part, the part (referring to Fig. 8) that processing obtains.

Claims (1)

1. the rearmounted disposal route of a cutter location file that obtains to STL form model programming is characterized in that operation steps is following:
(1): STL form model is carried out numerical control programming generate cutter location file
Import STL form model and carry out numerical control programming, select suitable cutter and technological parameter generation cutter location file and save as text formatting to Pro/Toolmaker software;
(2): cutter location file fast feed campaign statement is carried out pre-service
In cutter location file, seek fast feed campaign statement; And the straight-line feed motion statement of itself and next line merged processing; Before fast feed statement RAPID is placed on next straight-line feed motion statement keyword GOTO, and delete original fast feed campaign statement;
(3): cutter location file speed of feed statement is carried out pre-service
In cutter location file, seek the speed of feed statement, and be that differentiated treatment is carried out in straight-line feed or circular arc feeding by feeding mode, the speed of feed statement is placed on feed motion statement keyword GOTO before, and delete original speed of feed statement;
(4): cutter location file circular arc feed motion statement is carried out pre-service
In cutter location file, seek circular arc feed motion statement, the lastrow of this statement and the starting point in the motion of next line straight-line feed and terminal point coordinate are placed on after the circular motion keyword CIRCLR;
(5): pretreated cutter location file is carried out postposition handle
Read in cutter location file line by line and cutter location file is carried out the postposition processing according to concrete machine tool numerical control system job sequence command format; Extract first three character string of pretreated every capable cutter location file and judge, be translated as corresponding numerical control program according to judged result;
(6): the numerical control program to generating is optimized processing
The redundant straight-line feed motor program of the next line of circular arc feed motion deleted and add header file, terminating symbol and every line program to job sequence add program number;
(7): numerical control program is exported
Numerical control program to generating is exported, and on numerically-controlled machine, realizes the processing of part.
CN2011102630810A 2011-09-07 2011-09-07 Post-processing method of cutter location file generated by programming based on STIL (Standard Template Library) format model Pending CN102354149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102630810A CN102354149A (en) 2011-09-07 2011-09-07 Post-processing method of cutter location file generated by programming based on STIL (Standard Template Library) format model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102630810A CN102354149A (en) 2011-09-07 2011-09-07 Post-processing method of cutter location file generated by programming based on STIL (Standard Template Library) format model

Publications (1)

Publication Number Publication Date
CN102354149A true CN102354149A (en) 2012-02-15

Family

ID=45577724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102630810A Pending CN102354149A (en) 2011-09-07 2011-09-07 Post-processing method of cutter location file generated by programming based on STIL (Standard Template Library) format model

Country Status (1)

Country Link
CN (1) CN102354149A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204430A (en) * 2015-10-14 2015-12-30 哈尔滨工业大学深圳研究生院 Five-axis post-processing method based on machine tool entity model
CN107037738A (en) * 2016-11-16 2017-08-11 清华大学 The material based on STL models removes algorithm in geometry Simulation of NC Machining
CN117806234A (en) * 2024-03-01 2024-04-02 珠海格力精密模具有限公司 Method for merging machining programs, machine tool, and computer-readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204430A (en) * 2015-10-14 2015-12-30 哈尔滨工业大学深圳研究生院 Five-axis post-processing method based on machine tool entity model
CN107037738A (en) * 2016-11-16 2017-08-11 清华大学 The material based on STL models removes algorithm in geometry Simulation of NC Machining
CN107037738B (en) * 2016-11-16 2019-09-27 清华大学 Material removal method based on STL model in geometry Simulation of NC Machining
CN117806234A (en) * 2024-03-01 2024-04-02 珠海格力精密模具有限公司 Method for merging machining programs, machine tool, and computer-readable storage medium
CN117806234B (en) * 2024-03-01 2024-04-30 珠海格力精密模具有限公司 Method for merging machining programs, machine tool, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN101718977B (en) CAM system for automobile longeron punching processing and control method and construction method thereof
CN102890476B (en) Deep hole drill programming method and deep hole drill programming system
CN103260824A (en) Tool path part program modification system of NC machine tool
CN103019794B (en) A kind of embedded multiprogram file off-line batch programming method
CN1862432A (en) Control method of carbon fiber high-precise numerically controlled milling machine
CN102012935A (en) Method for processing data among systems by using Excel
CN106737676A (en) It is a kind of based on script can secondary development industrial robot programing system
CN107368621B (en) Method for generating CAD format two-dimensional standard three-view by three-dimensional support model in PDMS
CN106647635A (en) Numerical control system milling machine dialog mode graph programming system and method based on Minigui
CN101763072A (en) Conversion method and device of numerical control machining code
CN102385347A (en) Intelligent numerical control programming system for special-shaped helical curved surface machining
CN102354149A (en) Post-processing method of cutter location file generated by programming based on STIL (Standard Template Library) format model
JPWO2006137120A1 (en) Processing process generator
CN106886197A (en) Control machine implements method and its device and the application of processing
CN104625273B (en) The processing method of wire electric discharge machine and wire electric discharge machine
CN113427152B (en) Rapid layout method for 3D standard parts
CN102254076A (en) Tool for analyzing manufacturability of three-dimensional model design
CN105095189B (en) A kind of method and device of one-touch strategy programming
CN103853938A (en) High-throughput sequencing data processing and analysis flow control method
CN111309299A (en) Industrial robot language processing method and device, storage medium and electronic equipment
CN102385344A (en) Automatic welding method based on reading of DXF-format file of Visual C#
CN105137919A (en) Method used for generating feature array numerical control macro program
CN111353255A (en) Automatic generation system of processing parameters
CN102375901A (en) Cloud processing system for mold design process
CN107209495B (en) Production system with additional functionality and method of operation

Legal Events

Date Code Title Description
DD01 Delivery of document by public notice

Addressee: Wang Chao

Document name: Notification of Passing Preliminary Examination of the Application for Invention

C06 Publication
PB01 Publication
DD01 Delivery of document by public notice

Addressee: Shanghai University Wang Chao

Document name: Notification of Publication of the Application for Invention

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120215