已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
IntJAdvManufTechnol(2001)17:4534612001Springer-VerlagLondonLimitedThree-DimensionalKernelDevelopmentforInjectionMouldDesignT.L.NeoandK.S.LeeDepartmentofMechanicalandProductionEngineering,NationalUniversityofSingapore,SingaporeToday,manysoftware“plug-ins”havebeendevelopedonhigh-level3DmodellingplatformstofacilitateprocessessuchasFEManalysis,CAM,injectionmoulddesign,simulationandvisualisation.Suchanarrangementisadvantageousinmanyways.However,itisnotwithoutshortcomings.Ideally,these“plug-ins”couldalsobedevelopedusinglow-level3Dkernelsforhigherflexibilityandbetterportability.Thispaperexaminesthevariousissuesandmethodologiesrelatedtothedevelopmentofsuch3D-basedapplications.Theemphasisisplacedonthesoftwareaspect.First,amethodologyforthedevelopmentof3D-basedapplicationsisproposed.Theideaisthenimplementedbydevelopinganinjectionmoulddesignapplicationusingalow-level3DkernelcalledParasolid.Basedondesignconceptsusedinanestablishedmoulddesignapplication,IMOLD,thedevelopmentofamouldbasedesignmoduleisillustrated.Anobject-orientedprogramminglanguagehasbeenchosenforthedevelopmentofthesoftwareonaWindowsNTplatform.Keywords:3Dkernel;Computer-aideddesign(CAD);Injectionmoulddesign;Parasolid1.IntroductionThree-dimensionalCADsystemshaveincreasinglybeenusedtospeeduptheproductrealisationprocess.Oneofthefirststepsinvolvedintheautomationoftheproductdesignprocessisthecreationofthecomponentpartsina3Dmodellingapplication.The3Dmodel,uponcreation,iscalledthedigitalmastercopy.This3Ddigitalmodelformsthekeytoawidespectrumofprocessautomation.Creatingthe3Ddigitalmodelofcomponentpartsisonlytheveryfirststep.Thereareseveralothersecondarytasksthatmusttobedonebeforethepartcanbemanufactured.Suchtasksincludefinite-elementanalysis,jigsandfixturesdesign,injectionmoulddesign,computer-aidedmanufacturing,simul-Correspondenceandofprintrequeststo:K.-S.Lee,DepartmentofMechanicalandProductionEngineering,NationalUniversityofSinga-pore,119260Singapore.E-mail:mpeleeksK.sgation,andvisualisation.Today,manyapplicationPlug-inshavebeendevelopedonhigh-level3Dmodellingplatformstofacili-tatethesesecondarytasks.The3D-modellingplatformprovidestheplug-insoftwarewithalibraryoffunctionsaswellasanestablisheduserinterfaceandstyleofprogramming.Asaresult,thedevelopmenttimesfortheseplug-insaresignificantlyreduced.Suchanarrangementisadvantageousinmanyways.However,ithasitsshortcomings,especiallyinthelongrun.Inordertodevelopaplug-inforestablishedsoftware,thedevelopersmustadheretothemanyconstraintsimposed.Thereisaneedtobeconsistentwiththestyleoftheparentsoftware.Thedevelopersmustbeabletoachieveanyfunctionalitytheyneedwithonlythesetoflibraryfunctionsprovided.Mostend-usersneedboththeparentsoftwareandtheplug-in.Inmanycases,however,theymaybemoreinterestedinusingonlytheplug-insoftware.Anexampleofsuchasituationisininjectionmoulddesign.Theseusers,however,mustpurchasetheentiresoftwarepackagewhichincludesmanyfeaturesandfunctionsthattheydonotneed.Suchalargeprogramisoftenverydemandingonthehardware,whichalsomeanshighercost.Theplug-insoftwareisalsoverydependentondevelopmentsintheparentsoftware.Wheneveranewversionisupdatedfortheparentsoftware,theplug-indevelopershavetofollow-uponthechanges.Theseshortcomingsmaynotexistiftheseapplicationsweredevelopedonalow-levelplatform.Ideally,theseplug-inscouldbedevelopedusinglow-level3Dkernelsforhigherflexibilityandbetterportability.Inmanyinstances,suchamoveisbothfeasibleandadvantageous.Traditionally,injectionmoulddesigniscarriedoutdirectlyonaCADsystem.Theentireinjectionmould,consistingofperhapshundredsofcomponents,ismodelledandassembledonCADsystemssuchasAutoCAD,Pro/Engineer,andUnigraphics.Astheinjectionmoulddesignprocessisrecursive,itisverytime-consumingtore-modelandre-assemblethedesign.Inthisaspect,3DCADsystemssuchasPro/EngineerandUnigraphics,whicharefeature-based,haveasignificantadvantageover2DCADsystemssuchasAutoCAD.Tofurtherspeeduptheinjectionmoulddesignprocess,plug-insweredevelopedonthese3Dsystemstoautomatecertainstagesofthedesignprocess.Examplesofsuchadd-onapplicationsincludeIMOLD(IntelligentMoldDesignandAssemblySys-tem,developedattheNationalUniversityofSingapore,basedonUnigraphics),ExpertMoldDesigner(basedonCADKEY)andMoldmaker(basedonEUCLID).AseachisbasedonaspecificCADsystem,thereisnoplugcompatibility.In1994,MokandCheung1presentedworkonthedevel-opmentofaninjectionmoulddesignapplicationbasedonUnigraphics.In1997,Shah2proposeda3-tierarchitectureforstandardisingcommunicationsbetweengeometricmodellingkernelsandapplicationsthatrequiregeometricmodellingservices.Hisobjectiveistoachieveplugcompatibilitybetween3DapplicationsthatarebasedonParasolid3(a3Dkernel,developedattheUniversityofCambridge)andACIS.This,however,involvedanextensivelydeveloped3-tiermodellinghusk.Inthispaper,theauthorattemptstodevelopalightweightinjectionmoulddesignapplicationusingalow-level3Dkerneldirectly.Thefocusisontheflexibilityandspeedofthesoftwaredevelopment.DesignconceptsandproceduresweretakenfromIMOLD4,5,acompletemoulddesignandassembly3Dapplication.Althoughthediscussionislimitedtoinjectionmoulddesignonly,themethodologyappliedcaneasilybeappliedinother3D-basedapplicationsthatareofasimilarnature.Acombinationofdevelopertoolswaschosenforthispurpose.Beforethemethodologyisdiscussed,briefintroductionstosomeofthesetoolsarefirstpresented.Theyare,IMOLD,Parasolidversion10.1,VisualCversion6.0,andtheMicrosoftFoundationClasses.2.IMOLDasaMouldDesignApplicationIMOLD(IntelligentMoldDesignandAssembly)isanestablished3D-basedapplicationthatisdedicatedtoinjectionmoulddesign.ItisdevelopedontopofanadvancedCADsystemcalledUnigraphics.Thedevelopmentiscarriedoutusingtheapplicationsprogramminginterface(API)provided.Thesoftwareenablesmoulddesignerstocreateadesignrapidlybyprovidingthetoolsthatarecommonlyneeded.Standardcomponentsparts,thatareoftenrequiredinthedesign,havebeenpre-createdinthesoftwareandcanbereadilyusedbythedesigner.Thisreducesthedesigntimesignificantly.Themoulddesignprocessisdividedintoseveralstages,providingthedesignerwithaconsistentmethodofcreatingthemoulddesign.Theyare,namely:1.Datapreparation.2.Fillingsystemdesign.3.Mouldbasedesign.4.Insertsandpartingdesign.5.Coolingsystemdesign.6.Sliderandlifterdesign.7.Ejectionsystemdesign.8.Standardpartslibrary.Eachstagecanbeconsideredasanindependentmoduleoftheprogram.The3D-basedrequirementsforeachmodulevaryonlyslightly.Thesuccessindevelopingthemouldbasemoduleimpliesfeasibilityindevelopingalltheothermodules.3.Parasolidasa3DKernelParasolidisdesignedtobethecentreor“kernel”ofanysystemthatisbasedon3Dmodeldata.Itisessentiallyasolidmodeller,whichcanbeusedto:1.Buildandmanipulatesolidobjects.2.Calculatemassandmomentsofinertia,andperformclashdetection.3.Outputtheobjectsinvariousways,includingpictorially.4.Storetheobjectsinsomesortofdatabaseorarchive,andretrievethemlater.Parasolidisoneofthemostadvanced3DkernelsamongCADapplications.Itisthe3DkernelofUnigraphicsandSolid-Works.Itsuniquetolerantmodellingfunctionalityenablesittoacceptdatastoredinothermodellerformats.Parasolidmodelfilesarethusverypotable.Itis,therefore,asuperiorplatformforthedevelopmentofstand-aloneapplications.The3D-basedapplicationinteractswithParasolidthroughoneofitsthreeinterfaces(seeFig.1).ThesearecalledtheParasolidkernel(PK)interface,thekernelinterface(KI)andthedownwardinterface.ThePKinterfaceandthekernelinterfacesit“ontop”ofthemodeller(side-by-side),andarethemeansbywhichtheapplicationmodelsandmanipulatestheobjects,aswellascontrolsthefunctioningofthemodeller.Thedownwardinterfacelies“beneath”themodeller,andiscalledbythemodellerwhenitneedstoperformdata-intensiveorsystemtypeoperations.Itconsistsofthreeparts:frustrum;graphicaloutput(GO);andforeigngeometry.Thesearebrieflyexplainedbelow.3.1TheKIandPKInterfaceTheKIandthePKareinterfacesfortheprogrammertoaccessthemodellingcapabilitiesintheParasolidkernel.Theyarestandardlibrariesofmodellingfunctions.Theprogrammercallsthesemodellingfunctionsintheirprograms.AstheKIistobephasedoutsoon,wechosetousethePKinterface.Fig.1.Parasolidcomponents.454T.L.NeoandK.S.Lee3DKernelDevelopmentforInjectionMouldDesign4553.2TheFrustrumThefrustrumisasetoffunctions,whichmustbewrittenbytheapplicationsprogrammer.Thekernelcallsthemwhendatamustbesavedorretrieved.WhenusingParasolid,theapplicationsprogrammermustfirstdecidehowtomanagethestorageofdata,whichParasolidoutputsthroughthefrustrum.Transferringdatathroughthefrustrumusuallyinvolveswritingto,orreadingfrom,files.Theformatandlocationofthefilesisdeterminedwhenwritingthefrustrumfunctions.3.3TheGraphicalOutput(GO)Thegraphicaloutputisanothersetoffunctions,whichistobewrittenbytheapplicationsprogrammer.WhenacallismadetothePKrenderingfunctions,thegraphicaldatageneratedareoutputthroughtheGOinterface.Thegraphicaldataarethenpassedtoa3Drenderingpackage.OpenGL,asoftwareinterfacetographiccards,isarenderingpackagethatisusedforourpurpose.3.4TheForeignGeometryTheforeigngeometryprovidesfunctionalityforthedevelopmentofcustomisedgeometricaltypessuchasin-housecurvesandsurfaces.TheseareusedtogetherwiththestandardgeometricaltypesformodellingwithinParasolid.4.Object-OrientedProgrammingUsingVisualCandtheMicrosoftFoundationClassesObject-orientedprogramming(OOP)hasbeentheundisputedoptionforsoftwaredevelopers.Itisamongthemostadvanceddevelopmentaltoolsavailable.TheMicrosoftVisualStudioissuchasoftwarepackage.ItfeaturesseveraldevelopmentaltoolsthataremeantforInternet-basedandWindows-basedprogramming.AmongthesetoolsaretheVisualC(VC)andtheMicrosoftFoundationClasses(MFC).TheVCisapowerfuldevelopmenttoolforobject-orientedprogramming,whereastheMFCisaframeworkofCclassesthatarededicatedtoWindows-basedprogramming.Together,theseprovidedtheapplicationsprogrammerwithpowerfuldevelopmentfeaturesandfunctionalitiessuchasauto-codegeneration,andwizard-basedoperations.Thesegreatlyimprovedproductivity.Theentireuser-interfaceforourprogramisdevelopedusingtheVCandtheMFC.5.SystemDesignThedirectdevelopmentofa3D-basedadd-onapplicationusinga3Dkernelrequiresseveralissuestobeaddressed.Theyconsistof3mainstagesatthehighestlevel.First,theidentificationofthecrucialfeaturesandfunctionsrequiredfortheplug-inapplication.Secondly,thedevelopmentofthedesignfortheapplicationframework.Lastly,thedesignanddevelop-mentoftheindividualmodulesintheframeworkwithappropriatedevelopmentaltools.5.1IdentificationofEssentialModulesParasolid,asa3Dkernel,providesonlyanumberoflibrariesandaconceptualframeworkfor3Dapplicationdevelopment.Itisthusnecessaryforthedeveloperstoidentifyanddeveloptheotheressentialfacilitiesthatareprovidedina3DCADsystem.Inordertoidentifytherequiredfacilities,itisimportanttounderstandthediscrepanciesbetweenthetwo.Table1summarisesthemaindifferencesinthefacilitiesprovidedbya3Dkernelanda3DCADsystem.Someofthesefacilities,suchasfeaturesandparametricmodelling,arebothtime-consumingandtechnicallydemandingtodevelop.Asmostplug-insdonotuseallthefacilitiesoftheparentsoftware,itispossibletodeveloponlythoserequiredbytheplug-insusinglow-level3Dkernels,producingastandaloneversion.Items7to9inTable1areprerequisitesforthedevelopmentof3D-basedapplicationsusingParasolid.Bystudyingtherequirementsoftheplug-inapplication,otheressentialfacilitiescanbeidentified.Aframeworkfortheapplicationisthenproposed,basedonthefacilitiesprovidedbytheParasolidkernel.5.2Frameworkfor3D-BasedApplicationsAframeworkisdevelopedwithreferencetothefacilitiesprovidedbythedevelopmentaltoolsandtherequirementsoftheapplication.Itisdesignedsothatthereareminimumdependenciesbetweenindividualcodemodules.Thismayresultinasmalldegreeofcodeduplication.Inexchange,thereisbetterportabilityoftheprogramcodes,greatereaseofmaintenanceandabetterprospectforfutureexpansion.TheoverviewofthisframeworkisillustratedinFig.2.Thedetailsofthevariousmodulesarediscussedinthefollowingsections.5.2.1Windows-BasedUser-Interface(A)Parasoliddoesnotprovidetheprogrammerwithauserinterface.Thus,thedevelopmentofthe3D-basedapplicationateverysinglestagewillinvolvedesigningtheuser-interfacefromscratch.Thenecessarydevelopmentsinvolve:1.Environmentalsettinganddisplayofthe3D-basedappli-cation.2.Interactivegraphicalinterfaceandexecutionprocedureforallapplicationfunctionality.5.2.23DDeveloperLayer(B)Sincedifferent3D-basedapplicationsrequire3D-facilitiestodifferentextent,theframeworkmustprovideforthesevariations.A3Ddeveloperlayer(SeeFig.2,ItemB)isconceptualisedtohandlesuchvariations.Itisalibraryofobjectsorclassesthataredeveloped,basedontheParasolidkernel.TheextentofdevelopmentdependsontherequirementsoftheTable1.Summaryoffacilitiesprovidedbya3DkernelandaCADsystem.Facilities3Dkernel3DCADsystem1.Basic3DmodellingLow-levelandgeneralfunctionsprovidedHigh-levelandspecificfunctionsprovided2.AssembliesSeverallibraryfunctionsprovidedCompletesystemprovided3.Feature-basedmodellingNotprovidedEstablishedfeaturesetprovided4.ParametricmodellingNotprovidedOftenprovided5.Free-formmodellingLow-levelfunctionsprovidedOftenprovided6.DraftingNotprovidedCompletesystemprovided7.Interactiveuser-interfaceNotprovidedAlwaysprovided8.Visualisationof3DobjectsConceptualframeworkandseverallibraryCompletelydevelopedfunctionsprovided9.FilemanagementsystemConceptualframeworkandseverallibraryCompletelydevelopedfunctionsprovidedFig.2.Overviewof3D-basedapplication.applicationidentifiedintheprevioussection.Besidescateringforvariationsinapplicationrequirements,the3Ddeveloperlayeralsoactsasaprogramminginterfacefornon-Parasoliddevelopers.Suchaninterfacecanalsobere-usedforsubsequentdevelopmentofother3D-basedapplications.The3Ddeveloperlayeressentiallyconsistsofthreemainsections.Theyareusedfor3Dmodellingandassembly,3Dvisualisationand3Ddatamanagement,respectively.I.3DModelingandAssembly.The3Dmodellingandassemblymoduleisthemostimportantandelaborateofallthreesections.Itisanalogoustotheapplication-programminginterface(API)providedbymostCADsystems.Themoduleconsistsofalibraryof3D-basedobjectsorclasses,whichareusedforthedevelopmentofthecoreapplicationmodules.Thebasic3Dfunctionalitythatisrequiredbymost3Dapplicationsmustbedevelopedfirst.Dependingontherequirementsoftheindividual3D-based
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 家居微环境资料
- 家具导购销售培训
- 家风诗歌资料
- 装修公司制度管理制度范文(13篇)
- 自然保护区学智慧树知到期末考试答案2024年
- 中医适宜技术智慧树知到期末考试答案2024年
- 中华优+秀传统文化实践教育智慧树知到期末考试答案2024年
- 消防安全 教学反思
- 高层住宅消防安全隐患
- 除夕的作文300字精彩7篇
- 祖暅原理与柱体、锥体、球体的体积优秀课件
- 多功能作业支持船之DSV
- 珠宝店铺陈列介绍精编版课件
- 学校学生体质健康标准测试抽查复核工作方案
- 工程质量检测公司企业成本与费用管理
- 酱油酿造课件
- 用图表读懂《义务教育语文课程标准》(2022年版)关于整本书阅读的要求
- 聚丙烯表面改性
- 解决问题的策略-转化
- 部编人教版小学语文三年级下册阅读理解选择题专项训练试题及答案(全套)
- 工程施工火灾危险源辨识与风险评价
评论
0/150
提交评论