




已閱讀5頁(yè),還剩5頁(yè)未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 智能交通系統(tǒng)中的行人行為預(yù)測(cè)模型考核試卷
- 企業(yè)安全生產(chǎn)培訓(xùn)教材的數(shù)字化轉(zhuǎn)型升級(jí)考核試卷
- 2025年中國(guó)pps濾袋數(shù)據(jù)監(jiān)測(cè)研究報(bào)告
- 2025年中國(guó)M氫基甲酯數(shù)據(jù)監(jiān)測(cè)報(bào)告
- 2025年中國(guó)BR型板式換熱器數(shù)據(jù)監(jiān)測(cè)研究報(bào)告
- 2025年中國(guó)2U形電子節(jié)能燈數(shù)據(jù)監(jiān)測(cè)研究報(bào)告
- 2025至2030年中國(guó)震擊標(biāo)準(zhǔn)震篩機(jī)市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)鋁合金野營(yíng)床市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)遠(yuǎn)程通訊器市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 2025至2030年中國(guó)茶葉天然保鮮劑市場(chǎng)分析及競(jìng)爭(zhēng)策略研究報(bào)告
- 農(nóng)產(chǎn)品產(chǎn)業(yè)園項(xiàng)目可行性研究報(bào)告專用模板
- 2025至2030中國(guó)醫(yī)藥軟包裝行業(yè)市場(chǎng)發(fā)展分析及競(jìng)爭(zhēng)格局與投資發(fā)展報(bào)告
- 2025年中國(guó)氯化聚醚項(xiàng)目投資計(jì)劃書
- DB37-T5311-2025建筑工程消防設(shè)計(jì)文件編制標(biāo)準(zhǔn)
- 成都市高新區(qū)2023年七年級(jí)《歷史》下冊(cè)期末試卷與參考答案
- 中國(guó)上市銀行2024年回顧及未來(lái)展望-安永-202505
- TSG Z7002-2022特種設(shè)備檢測(cè)機(jī)構(gòu)核準(zhǔn)規(guī)則
- 2025年數(shù)字經(jīng)濟(jì)下的創(chuàng)業(yè)政策調(diào)整策略試題及答案
- 政治 (道德與法治)八年級(jí)下冊(cè)自由平等的追求教案
- 山東省濟(jì)南市高新區(qū)學(xué)卷B2024-2025學(xué)年數(shù)學(xué)五下期末教學(xué)質(zhì)量檢測(cè)試題含答案
- 訂單外發(fā)合同協(xié)議
評(píng)論
0/150
提交評(píng)論