已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 上海济光职业技术学院辅导员考试试题2024
- 九江学院辅导员考试试题2024
- 北京科技大学辅导员考试试题2024
- 省培生活方案:健康生活方式推广方案
- 2023年交流调频调压牵引装置行业项目商业计划书
- 2023年地矿地震仪器相关项目计划书
- 2023年颜料红系列行业商业计划报告书
- 2023年房屋整体质量无损检测分析系统相关项目计划书
- 2023年冷弯型钢相关项目计划书
- 2023年贵金属钎、焊料相关项目计划书
- 五年级下册数学教案 - 4.1体积沪教版
- 最全的VAR模型理论基础ppt课件
- 骨科规培题库
- 第3章流体流动过程
- 组织行为学案例分析
- 120kW直流一体式双充充电桩使用说明书(中性)资料
- 日化增稠剂(聚丙烯酸钠)的介绍及应用
- 高压成套开关设备生产工艺文件
- 《全国建筑设计行业收费标准》(2022年编制)的通知
- 两点边值问题的不同迭代法比较及matlab实现
- 《变》——简约点线超级动画锐普ppt宣传片
评论
0/150
提交评论