利用C#识别DXF文件的数控雕刻机系统大学毕业论文英文文献翻译及原文.docx
《利用C#识别DXF文件的数控雕刻机系统大学毕业论文英文文献翻译及原文.docx》由会员分享,可在线阅读,更多相关《利用C#识别DXF文件的数控雕刻机系统大学毕业论文英文文献翻译及原文.docx(14页珍藏版)》请在冰豆网上搜索。
![利用C#识别DXF文件的数控雕刻机系统大学毕业论文英文文献翻译及原文.docx](https://file1.bdocx.com/fileroot1/2022-10/12/0b650c03-c544-4d0c-b97b-c9ff1b960498/0b650c03-c544-4d0c-b97b-c9ff1b9604981.gif)
利用C#识别DXF文件的数控雕刻机系统大学毕业论文英文文献翻译及原文
毕业设计(论文)
外文文献翻译
文献、资料中文题目:
利用C#识别DXF文件的数控雕刻机系统
文献、资料英文题目:
DXFFileIdentificationwithC#forCNCEngravingMachineSystem
文献、资料来源:
文献、资料发表(出版)日期:
院(部):
专业:
班级:
姓名:
学号:
指导教师:
翻译日期:
2017.02.14
附录1外文翻译-原文部分
DXFFileIdentificationwithC#forCNCEngravingMachineSystem
HuibinYang,JuanYan
Abstract
ThispaperresearchesthemaintechnologyofopenCNCengravingmachine,theDXFidentificationtechnology.Agraphicinformationextractionmethodisproposed.Bythismethod,thegraphicinformationinDXFfilecanbeidentifiedandtransformedintobottommotioncontroller’scode.Sotheengravingmachinecanachievetrajectorytracking.ThentheopenCNCengravingmachinesystemisdevelopedwithC#.Atlast,themethodisvalidatedonathreeaxesmotionexperimentplatform.Theresultshowsthatthismethodcanefficientlyidentifythegraphicinformationincludingline,circle,arcetc.inDXFfileandtheCNCengravingmachinecanbecontrolledwell.
Keywords
DXF,CNCEngravingMachine,GALIL,C#
1.Introduction
Withthedevelopmentofpatternrecognitiontechniques,modernCNCengravingmachineneedn’tbeprogrammedmanually.Byimportinggraphicsfile,thecorrespondingshapewillbeengravedbythemachineimmediately.Theoperatingprocessofthemachineissimplifiedenormously,andtherichprogrammingknowledgeisnolongerneedforoperators.Amongthem,DXFidentificationisakeytechnologyofCNCengravingmachine.ByreadingandrecognitionoftheDXFfile,themachiningtrackcanbedirectlygenerated,sothemotioncontroloftheCNCengravingmachinecanbeachieved.
2.ResearchStatus
ResearchershavedonealotofresearchesonhowtocontactCADsoftwaretoNCcode.OmirouandBarouniproposedaseriesofmachinecodes,withwhichtheadvancedprogrammingabilityisintegratedintothecontrolofmodernCNCmillingmachinesystem[1].KovacicandBrezocnikproposedtheconceptofwhichusingthegeneticalgorithmtoprogramtheCNCmachinebasedontheCADmodelundermanufacturingenvironment[2].ButsomeproblemsarestillexistedinthiskindofCNCprogramming(suchastheartificialparticipationdegreeishigherandtheefficiencyislower).
TheresearchdirectionofChineseresearchersmainlyincludestwoaspects.OneisthetheoreticalstudyofDXFfileandNCmachining,theotheristheapplicationofDXFfilereading.ZhaiRuiandZhangLiangproposedaprogramstructure,whichisusedtoreaddatainformationofDXFfileanddosomepreprocessbasedonthecrossplatformopensourcelibraryDXFLibbytheanalysisofDXFfilestructurecharacteristic[3].HuangJieqiongandYuanQunwrotetheinterfaceprogramtoreadthestoredpartsgraphicinformationinDXFfilebyuseoftheobject-orientedsecondarydevelopmenttools,ObjectARXandC++,intheresearchofstampingpartsmachining.Thestampingpartsgeometricmodelisautomaticallycreatedbytheautomaticgenerationalgorithmofclosedcontour[4].
3.DXFFileandGraphicInformationExtraction
3.1.DXFFile
DXF(DrawingExchangeFile)isarepresentationofallinformationlabeleddatacontainedintheAutoCADgraphicsfile,andtheASCIIorbinaryfileformatofAutoCADfile.Itcanbeusedasinput/outputinterfaceandgraphicsfileexchangebetweenAutoCADandothergraphicsapplications[5].AcompleteDXFfileiscomposedofsixsegmentscalledSECTION.ThesesegmentswereHEADER,CLASSES,TABLES,BLOCKS,ENTITIESandfileendingcharacter(groupcodeis0,groupvalueisEOF)
3.2.GraphicInformationExtractionMethod
Inordertoextractusefulinformationofthegraphic,manypartsinthefilecanbeignored.ThecorrespondinggeometricdescriptioncanbecompletedaslongasthesectionsofTABLES,BLOCK,ENTITIESareobtained.EachgraphicelementintheDXFfilearestoredwithafixedformat,soitisconvenientfordataexchange,andalsocalleditsreadability.ThecharacteristicsofeachindividualgraphicelementinDXFfileisdescribedbytheparameter(group)consistedbypairedgroupcodeandgroupvalue.Therefore,accordingtothetargetofopenCNCengravingmachine,itisenoughtodescribethetargetgeometrycontourbyreadingtheENTITIESsectioninDXFfilesonly.Theparticularidentificationprocessis:
FirstsearchtheDXFfileuntilthe“ENTITLES”isfound,thenbuildagraphicelementobject.Thensearchthegraphicelementtype(LINE,CIRCLE,ARC),andsearchthecorrespondingvaluefollowedbythegroupcode.Forexample,iftheprogramhasfoundtheENTITLESsectionandconfirmthefirstgraphicelementisLINE(Theprogramfound“LINE”after“ENTITLES”).Thenitwillsearchthegroupcodewhichrepresentstheparametersoftheline.Thenumberatthenextlineafterthegroupcodeisthevalueoftheparameter.(e.g.Thenumberatthenextlineafter“10”representtheXvalueofstar