基于UG/OpenAPI的空调产品结构设计特征库的开发系别:专业班:姓名:学号:指导老师:年月基于UG/OpenAPI的空调产品结构设计特征库的开发TheDevelopmentofStructuralDesignFeatureLibraryofAirConditioningProductBasedonUG/OpenAPI摘要Unigraphics(简称UG)软件是目前应用最为广泛的大型CAD/CAE/CAM集成化软件之一,其内容涵盖设计、分析、加工、管理等各个领域,它除了为用户提供零件建模、装配、有限元分析、运动分析、制图、数控加工编程等通用模块,还提供了各种专用模块,如工业设计、模具设计加工、钣金设计加工、管路设计等。Unigraphics不仅具有强大的实体造型、曲面造型、参数化造型、装配和工程图创建等功能,还提供了功能强大的二次开发工具UG/OpenAPI。用户或第三方可以使用该开发工具,开发出基于UG系统的应用程序,实现与UG系统的无缝集成,从而满足用户的特殊需求。本文基于UG/OpenAPI二次开发软件,结合美的空调塑料件及板金件产品常用结构设计特征库的开发,在VC++9.0的环境下,运用C语言编程进行程序的设计,开发出基于UG系统的应用程序,在UG的环境下进行实体造型与参数化设计,实现与UG系统的无缝集成。本文以螺丝柱的实体造型为例,详细描述了VC环境下的编程、生成代码过程和UG环境写的参数化造型。关键字:UGUG/OpenAPI特征库AbstractUnigraphics(abbreviatedUG)Softwareisoneofthethemostwidelyusedlarge-scaleCAD/CAE/CAMintegratedsoftware,Theycoverdesign,analysis,processing,managementandotherfields,Itadditiontoprovidingpartsmodeling,assembly,finiteelementanalysis,motionanalysis,mapping,NCprogrammingandothergeneral-purposemodulesofferavarietyofspecializedmodules,suchasindustrialdesign,molddesign,sheetmetaldesignandprocessing,pipelinedesign.UGnotonlypowerfulsolidmodeling,surfacemodeling,parametricmodeling,assemblyandengineeringplanstocreateotherfunctions,butalsoprovidesapowerfuldevelopmenttoolUG/OpenAPI.Usersorthirdpartiesmayusethedevelopmenttools,developedUG-basedsystemapplications,ToachieveseamlessintegrationwiththeUGsystemtomeettheuser'sspecificneeds.Thispaper,basedonUG/OpenAPIsecondarydevelopmentsoftware,combinationofmideaairconditioningandsheetmetalparts,plasticproductscommonlyusedinstructuraldesigncharacteristicsofdatabasedevelopment,inVC++9.0environment,theuseofClanguageprogrammingforthedesignprocesstodevelopapplicationsbasedontheUGsystem,intheUGenvironmentforsolidmodelingandparametricdesign,toachieveseamlessintegrationwiththeUGsystem.Inthispaper,thesolidmodelingscrewcolumnexample,thedetaileddescriptionoftheVCenvironment,programming,codegenerationprocessandtheUGenvironmentwritteninparametricmodeling.KeyWords:UGUG/OpenAPIFeaturesLibrary目录摘要....................................................................................................................................IAbstract.................................................................................................................................II绪论.....................................................................................................................................11UG/OpenAPI介绍..........................................................................................................21.1UG简介.........................................................................................................................21.2UG/Open的相关模块....................................................................................................21.3在VC环境下开发UG应用程序.................................................................................51.3.1使用工程向导ugopen.aw...