




已阅读5页,还剩5页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年基金从业人员考试考点与试题精讲及答案
- 2025年软件测试自动化框架搭建与实践教程面试题及解析
- 天津市部分区2026届高二化学第一学期期末经典试题含答案
- 2025年大学英语四级考试全真模拟试题及答案详解
- 2025年文物修复专业面试题集锦及参考答案
- 2025年交通运输局公务员招录考试试题集
- 2025年注册验船师资格考试(A级船舶检验法律法规)复习题及答案三
- 2025年陪诊师考试的关键技术试题及答案
- 2025年《环境保护与可持续发展》在线考核试题及参考答案
- 2025年注册验船师资格考试(B级练习题)冲刺试题及答案一
- 2025年营养师考试冲刺押题试卷:营养师实操技能考核与解析
- 2025秋季开学第一课完整版课件
- TSG Z7002-2022特种设备检测机构核准规则
- 软件开发功能验收表
- J-STD-020D[1].1中文版
- 1沥青混合料生产工艺
- 相亲相爱 简谱
- 手工焊接(电烙铁)课件
- 被执行人财产申报表
- 部编版汉语拼音复习(课堂PPT)
- 复合活性羟基磷灰石陶瓷的研制及其生物相容性研究
评论
0/150
提交评论