首页 UG中标准件库的建立

UG中标准件库的建立

举报
开通vip

UG中标准件库的建立UG中标准件库的建立 [分享] UG中标准件库的建立 标准件, 机械, 定义, 特征, 程序标准件 [摘 要] 介绍了UGII中建立标准件的一般原则和UGII (V16.0)中常用的建立标准件库的方法,对使用用户自定义特征、表达式、零件族和程序建立标准件库的方法进行了详 细介绍,同时给出了这几种方法的适用场合和使用时的注意事项。 [关 键 词] 标准件;用户自定义特征;表达式;零件族;程序开发 中图分类号:TP391.7 文献标识码:A 机械产品的开发过程中会用到大量的通用件、标准件、相似件、借用件,如何...

UG中标准件库的建立
UG中 标准 excel标准偏差excel标准偏差函数exl标准差函数国标检验抽样标准表免费下载红头文件格式标准下载 件库的建立 [分享] UG中标准件库的建立 标准件, 机械, 定义, 特征, 程序标准件 [摘 要] 介绍了UGII中建立标准件的一般原则和UGII (V16.0)中常用的建立标准件库的方法,对使用用户自定义特征、 关于同志近三年现实表现材料材料类招标技术评分表图表与交易pdf视力表打印pdf用图表说话 pdf 达式、零件族和程序建立标准件库的方法进行了详 细介绍,同时给出了这几种方法的适用场合和使用时的注意事项。 [关 键 词] 标准件;用户自定义特征;表达式;零件族;程序开发 中图分类号:TP391.7 文献标识码:A 机械产品的开发过程中会用到大量的通用件、标准件、相似件、借用件,如何方便地建立这些常用零部件的图库,利用已有的资源,花费较少的时间完成产品设计一直是用户所关心的。 CAD/CAM的高档三维软件UGII系统中的用户自定义特征、电子表格、零件族和程序等工具可以针对不同情况,实现这种方便。下面就具体的建库原则、方法及其适用范围进行介绍。 1 标准件库的建立原则 (1)在具体运用各种方法建立标准件库时,一般都要设置相应的环境变量; (2)标准件应该是参数化的,并且特征数尽量少,以降低模型的复杂程度和能根据要求进行更改,减少更改时可能出现的问题; (3)标准件中可能在同系列其它标准件中被抑制的特征,不应用来建立和定位其它特征; (4)标准件的对称中心应与坐标系(工作坐标和绝对坐标)重合,从而使标准件易于装配,同时应为标准件建立实体引用集,使装配中的标准件只显示出实体部分; 2 标准件库的建立方法 2.1 用UDF建立标准件库 (1) 在UGII\ug_env.dat中指定 UGII_DEFAULTS_FILE=${UGII_BASE_DIR}\ugii\ug_metric.def; 或者在操作系统的环境变量中给出UGII_DEFAULTS_FILE的值,指定UGII使用ug_metric.def文件; (2)在ug_metric.def中给出UDF库定义文件的路径和文件名,如: in southwest of Zhejiang Provincial Committee of the party's struggle, develop democratic United Front against Japan, established the armed forces and the anti-Japanese base area, decided to establish the CPC Zhejiang Committee. In February 1939, with Gu Yuliang, Secretary Zhu, as Minister, Jie Xu into a propaganda Minister, Zhang Zhihua as women's Minister, Huang yan as youth Minister, zhexi recorder of Penrhyn as military Secretary of the establishment. Hanchang organization attached to the recorders of the West. After the Spring Festival, Zhu Xi was determined to rally, led by Wang Hesong more than more than 100 people, with "first Road South into the team headquarters the name of" back from Wuzhen to Wujiang yan ... Is month, established the Tomb area 1th branch-East water Hong Kong Branch, Branch Secretary Shen Yingjie. Is autumn, the Kuomintang Zhejiang Provincial Government in Southwest Bureau to intensify its anti-communist, ordered political team training in tianmu mountain, is intended to eliminate in the political power of the Communist Party, thorough restructuring of the province's political team to make it become a tool of anti-Communist. In view of this situation, recorder of the West direction West open mass work has been difficult, political signs should not be used, only all go underground, the party's work to continue. To do this, take appropriate measures by a party organization, party members in the Organization of political withdrawal, transfer or make public career as cover, into a secret struggle. In November, Yang and the victory of the battle of the Solids_UdfLibraryFile: c:\\users\\library_dir.txt; UDF库定义文件是一个后缀为".txt"的文本文件,其中的每一行定义了:Library name; library directory; (3)根据库定义文件中的信息建立相应的目录; (4)创建一个标准件:FIle?New?标准件名;Application?Modeling; (5)导出特征为UDF:File?Export?UDF(注意选择根特征,并包括所有子特征); 在每个库目录里也会产生一个相应的library_dir.txt文件,其每一行分别说明了: UDF name;UDF directory及part name;UDF directory? and CGM name; (6)UDF的调用:Insert?Form? Feature?UDF; (7) UDF的修改:Edit ?Feature ?Parameters?选择该UDF,也可以展开为一系列的特征进行修改; 图1 导入GB1096-79普通平键时的对话框 使用UDF创建标准件库可方便地定义变量名称,设置缺省值等,但由于UDF是作为特征存在的,所以必须先建立一个part文件,才能加入UDF;对于较简单的标准件可以通过设定导出UDF时的Input? Parameters对各参数的取值进行控制。 2.2 用表达式建立标准件库 (1)建立标准件:File?New?标准件名;Application?Modeling;; (2)根据该系列标准件中所用到的各参数,在Tools?Expression中输入表达式; in southwest of Zhejiang Provincial Committee of the party's struggle, develop democratic United Front against Japan, established the armed forces and the anti-Japanese base area, decided to establish the CPC Zhejiang Committee. In February 1939, with Gu Yuliang, Secretary Zhu, as Minister, Jie Xu into a propaganda Minister, Zhang Zhihua as women's Minister, Huang yan as youth Minister, zhexi recorder of Penrhyn as military Secretary of the establishment. Hanchang organization attached to the recorders of the West. After the Spring Festival, Zhu Xi was determined to rally, led by Wang Hesong more than more than 100 people, with "first Road South into the team headquarters the name of" back from Wuzhen to Wujiang yan ... Is month, established the Tomb area 1th branch-East water Hong Kong Branch, Branch Secretary Shen Yingjie. Is autumn, the Kuomintang Zhejiang Provincial Government in Southwest Bureau to intensify its anti-communist, ordered political team training in tianmu mountain, is intended to eliminate in the political power of the Communist Party, thorough restructuring of the province's political team to make it become a tool of anti-Communist. In view of this situation, recorder of the West direction West open mass work has been difficult, political signs should not be used, only all go underground, the party's work to continue. To do this, take appropriate measures by a party organization, party members in the Organization of political withdrawal, transfer or make public career as cover, into a secret struggle. In November, Yang and the victory of the battle of the (3)分析该系列标准件特点,对值需要改变的参数加上前缀,如“input_”; (4)建立模型,保存该标准件; (5)标准件的调用:由于是作为一个零件保存的,所以可直接作为组件加入到装配中; (6)标准件的修改:将该标准件变为工作部件,进入Tools?Expression,利用过滤器进行过滤,只使input_*的表达式显示出来,进行修改并另名保存便生成一个新的标准件。 图2 用表达式建立的GB/T2150-91 M12连接螺母 使用UDF和表达式建立标准件库都需要查找手册修改相应参数的值。但如果将上述的两种方法结合起来,则可以使简单标准件不需要查手册。其方法是用UDF建立标准件,并使用表达式和适当的判断语句控制相关参数的值。如上面的M12螺母,在UDF中只使用具有标志性的参数如螺纹孔孔径,其它参数值通过使用if...else...,根据建立该标准件时标志性参数的值加以设定。但如使用了Suppress by Expression对某些特征进行了抑制,则在导入后该特征不会根据表达式值进行更新,必须使模型抑制再不抑制才能得到正确的显示结果,这一点需要注意。 2.3 用零件族建立标准件库 (1)设置零件族成员的存放和查找目录: File?Option?Save Options/ Load Options。 (2)选择模板 模板应能表达零件族成员的所有可能情况,因此,应该对该零件族中特征最多最复杂的零件进行分析,参考同系列的其它零件补充所缺特征和相关的表达式,使模板最终能够通过改变表达式的值和抑制特征来表达该零件族的全部成员。 (3)模板的三维造型 首先通过Tools?Expression输入模板所用到的全部表达式,并赋以适当值,表达式中应充分利用该系列零件参数表中的各参数名,以便于以后对该零件族的修改;模板中特征的定位尺寸应作适当变换以全部相对于用作定位基准的特征;模板中各特征的放置面和穿透面应使用所有成员中都存在且固定的面或基准面,避免因放置面和穿透面所在的特征抑制而导致的不正确的抑制。 in southwest of Zhejiang Provincial Committee of the party's struggle, develop democratic United Front against Japan, established the armed forces and the anti-Japanese base area, decided to establish the CPC Zhejiang Committee. In February 1939, with Gu Yuliang, Secretary Zhu, as Minister, Jie Xu into a propaganda Minister, Zhang Zhihua as women's Minister, Huang yan as youth Minister, zhexi recorder of Penrhyn as military Secretary of the establishment. Hanchang organization attached to the recorders of the West. After the Spring Festival, Zhu Xi was determined to rally, led by Wang Hesong more than more than 100 people, with "first Road South into the team headquarters the name of" back from Wuzhen to Wujiang yan ... Is month, established the Tomb area 1th branch-East water Hong Kong Branch, Branch Secretary Shen Yingjie. Is autumn, the Kuomintang Zhejiang Provincial Government in Southwest Bureau to intensify its anti-communist, ordered political team training in tianmu mountain, is intended to eliminate in the political power of the Communist Party, thorough restructuring of the province's political team to make it become a tool of anti-Communist. In view of this situation, recorder of the West direction West open mass work has been difficult, political signs should not be used, only all go underground, the party's work to continue. To do this, take appropriate measures by a party organization, party members in the Organization of political withdrawal, transfer or make public career as cover, into a secret struggle. In November, Yang and the victory of the battle of the (4)零件族建立 导入表达式到Excel建立族表,对成员中不存在的特征,即族的参数表中为空的,可以通过将用表达式抑制选项所产生的参数值置0以抑制该特征,并将与该特征相关的参数(如定位尺寸等)值置为0进行处理,检验并保存符合要求的族表到模板中。 (5)零件族成员的修改 零件族成员可以加入到装配中,但对零件族成员的修改只能在模板中进行,另外一种办法是对成员进行另名保存,这样该成员就成为一个独立的零件,而不再是零件族成员了,可以象操作零件一样对它进行操作。 a 与前盖结合面 b 与后盖结合面 图3 用零件族建立的组合机床主轴箱体(T0711-11)系列零件的模板 in southwest of Zhejiang Provincial Committee of the party's struggle, develop democratic United Front against Japan, established the armed forces and the anti-Japanese base area, decided to establish the CPC Zhejiang Committee. In February 1939, with Gu Yuliang, Secretary Zhu, as Minister, Jie Xu into a propaganda Minister, Zhang Zhihua as women's Minister, Huang yan as youth Minister, zhexi recorder of Penrhyn as military Secretary of the establishment. Hanchang organization attached to the recorders of the West. After the Spring Festival, Zhu Xi was determined to rally, led by Wang Hesong more than more than 100 people, with "first Road South into the team headquarters the name of" back from Wuzhen to Wujiang yan ... Is month, established the Tomb area 1th branch-East water Hong Kong Branch, Branch Secretary Shen Yingjie. Is autumn, the Kuomintang Zhejiang Provincial Government in Southwest Bureau to intensify its anti-communist, ordered political team training in tianmu mountain, is intended to eliminate in the political power of the Communist Party, thorough restructuring of the province's political team to make it become a tool of anti-Communist. In view of this situation, recorder of the West direction West open mass work has been difficult, political signs should not be used, only all go underground, the party's work to continue. To do this, take appropriate measures by a party organization, party members in the Organization of political withdrawal, transfer or make public career as cover, into a secret struggle. In November, Yang and the victory of the battle of the 使用零件族建立标准件时,标准件的相关参数放在数据库中,所以可以用来建立较复杂和规格非常多的标准件。缺点是所要求的建模技巧高,建模之前要仔细分析同系列标准件的特点。 2.4 用程序写标准件库 通过分析同系列标准件的特点,使用UG/Open写标准件库是一般商用标准件库的建方法,这种方法建立的标准件库常通过UG/Menu、UG/User Tools或File?Execute UG/Open来执行。其优点是利于控制模型的生成和建立专用CAD系统,利于对库加密,占用磁盘空间小,但需要熟悉程序语言,还需要购买相应的开发模块和运行许可证,对人员素质要求也最高,特别是刚开始写程序时,需要花费相当多的精力。 3 结束语 标准件库的建立可以明显减轻用户设计过程中的重复劳动,并为技术人员进行准确快速的设计提供保障。用户可以根据实际需要综合运用这几种方法建立自己的标准件库,但同时也对用户对UGII中的建模方法和对全参数化设计的理解提出了更高的要求。所以,应在充分熟悉UGII的基础上,才能建立符合要求的标准件库。 基于UG的三维标准件库的建立原则和方法 资讯来源:互联网 | 发布时间:2008-6-23 9:32:00 名词解释: 一、 基于UG的标准件库的建立原则 1( 每个标准件都应有一个中心基准(如基准点或基准轴或基准面,主要使用三面基准),建立标准件时,坐标系(相对坐标和绝对坐标)应在该标准件的对称中心位置。 2( 应尽量减少特征数,特征间尺寸用关系表达式表示。将特征参数分为一、 基于UG的标准件库的建立原则 1( 每个标准件都应有一个中心基准(如基准点或基准轴或基准面,主要使用三面基准),建立标准件时,坐标系(相对坐标和绝对坐标)应在该标准件的对称中心位置。 2( 应尽量减少特征数,特征间尺寸用关系表达式表示。将特征参数分为主参数和次要参数,用主参数去控制和约束次要参数。 3( 每个标准件应在菜单“装配(Assemblies)”中设置“参考集(Reference Rets)”,调出时仅显示特征实体(Solid)。 4( 对于一个由几个标准零件装配在一起而组成的标准部件,要注意建立标准部件内各个标准零件之间的参数值传递,即建立各个标准零件之间的尺寸链接关系,并用一个主要的标准零件去控制和约束其它的次要标准零件。 二、 标准件的创建方法 1( 电子表格(SpreadSheet)法 (1) File?New,输入一个标准件Part文件名。 (2) Application?Modeling,选取适当参数和方法步骤建立标准件中的一个具体零件(Template Part),由于建立Template Part的方法和步骤将直接决定参数的选取,故应从整体考虑。 (3) Toolbox?Expression,对参数表达式进行Rename和Edit。 in southwest of Zhejiang Provincial Committee of the party's struggle, develop democratic United Front against Japan, established the armed forces and the anti-Japanese base area, decided to establish the CPC Zhejiang Committee. In February 1939, with Gu Yuliang, Secretary Zhu, as Minister, Jie Xu into a propaganda Minister, Zhang Zhihua as women's Minister, Huang yan as youth Minister, zhexi recorder of Penrhyn as military Secretary of the establishment. Hanchang organization attached to the recorders of the West. After the Spring Festival, Zhu Xi was determined to rally, led by Wang Hesong more than more than 100 people, with "first Road South into the team headquarters the name of" back from Wuzhen to Wujiang yan ... Is month, established the Tomb area 1th branch-East water Hong Kong Branch, Branch Secretary Shen Yingjie. Is autumn, the Kuomintang Zhejiang Provincial Government in Southwest Bureau to intensify its anti-communist, ordered political team training in tianmu mountain, is intended to eliminate in the political power of the Communist Party, thorough restructuring of the province's political team to make it become a tool of anti-Communist. In view of this situation, recorder of the West direction West open mass work has been difficult, political signs should not be used, only all go underground, the party's work to continue. To do this, take appropriate measures by a party organization, party members in the Organization of political withdrawal, transfer or make public career as cover, into a secret struggle. In November, Yang and the victory of the battle of the (4) Toolbox?Part Families,在Available Columns栏内选定参数,点击Add Column放在Chose Column栏内,待选定所有参数后,点击Create进入Spreadsheet(电子表格)内。 (5) 填写并编辑Spreadsheet。在Spreadsheet内要输入零件号(Part_Name)和相关参数值。填写完毕后,可选Part Family的Verify Part来生成某零件,以明确参数选定是否正确。待上述工作准确无误后,可选Part Family的Save Family来存贮该电子表格。 (6) 标准件的调用。Assemblies?Edit structure,点击Add;在Part Name内指定所选标准件;在Point Subfunction内指定欲加入零件的位置[如(0,0,0)],这样标准零件即在指定点处生成。 优点:提供了一个用UG 3D实体格式定义的标准件库系统,创建直观、容易,并能通过直观的图形界面调入装配体;可使标准件具有子装配功能,并可以封装到IMAN和UG/Manager中,是建立UG标准件库系统的通用方法。缺点:调用时须改名存入,如果不改名只能存入当前目录且不能修改,当型号选好后又需要换型号时则必须重新装配。 2( 关系表达式(Expression)法 (1) File?New,输入一个标准件Part文件名。 (2) Application?Modeling,选取适当参数和方法步骤建立标准件中的一个具体零件(Template Part)。 (3) Toolbox?Expression,对参数表达式进行用户化命名(Rename)和编辑(Edit)。 表达式的编辑方法:1)在“编辑多个表达式”对话框中,点击“输出”,在目录下给定一个文件名(如e.exp)并退出UG。2)对表达式文件e.exp进行编辑并存储。3)返回UG,打开该Part文件,进入“编辑多个表达式”对话框,点击“输入”,输入将该表达式文件。 File?Save,存储该零件(.prt)。 (4) (5) 零件调用。Assemblies?Edit structure,点击Add;在Part Name内指定所选标准件;在Point Subfunction内指定欲加零件的位置[如(0,0,0)],这样标准零件即在指定点处生成。然后,将该零件以另一名称存储,转成装配模型中的一个具体零件。最后,将该零件转成工作零件并修改其参数,使之符合设计要求。 优点:创建容易,修改比较方便。缺点:装配调入的只是一个模板,完成装配后需修改其变量;需查标准件手册来修改变量值。 3( 用户自定义特征(.udf)法 (1) File?New输入一个标准件Part文件名,Application?Modeling生成一个Part文件。 (2) Toolbox?Expression对参数表达式进行用户化命名(Rename)和编辑(Edit)。 (3) File?Export,生成、定义、存储一个udf文件。 (4) Toolbox?Features?User Defined实现调用。 优点:创建比较容易;可建立特征参数之间的关系,定义特征变量,设置缺省值,提示输入关键值;易于恢复和编辑。缺点:须建立一个新的part零件才能输入用户自定义特征。 4( 用程序设计(,.grx或*.dll):UG,Open GRIP和,或UG,Open API(UFUN)开发编程实现标准件的生成和调用。 优点:使用交互调入最方便,应用层次最高。缺点:需用程序写入,工作量大。 三、 结束语 建立CAD标准件库是实施CAD应用的基石和提高CAD应用水平的重要途径。本文所述的基于UG的三维CAD标准件库的建立方法在笔者所在工厂得到实施并达到了预期效果。 in southwest of Zhejiang Provincial Committee of the party's struggle, develop democratic United Front against Japan, established the armed forces and the anti-Japanese base area, decided to establish the CPC Zhejiang Committee. In February 1939, with Gu Yuliang, Secretary Zhu, as Minister, Jie Xu into a propaganda Minister, Zhang Zhihua as women's Minister, Huang yan as youth Minister, zhexi recorder of Penrhyn as military Secretary of the establishment. Hanchang organization attached to the recorders of the West. After the Spring Festival, Zhu Xi was determined to rally, led by Wang Hesong more than more than 100 people, with "first Road South into the team headquarters the name of" back from Wuzhen to Wujiang yan ... Is month, established the Tomb area 1th branch-East water Hong Kong Branch, Branch Secretary Shen Yingjie. Is autumn, the Kuomintang Zhejiang Provincial Government in Southwest Bureau to intensify its anti-communist, ordered political team training in tianmu mountain, is intended to eliminate in the political power of the Communist Party, thorough restructuring of the province's political team to make it become a tool of anti-Communist. In view of this situation, recorder of the West direction West open mass work has been difficult, political signs should not be used, only all go underground, the party's work to continue. To do this, take appropriate measures by a party organization, party members in the Organization of political withdrawal, transfer or make public career as cover, into a secret struggle. In November, Yang and the victory of the battle of the
本文档为【UG中标准件库的建立】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_496339
暂无简介~
格式:doc
大小:72KB
软件:Word
页数:0
分类:生活休闲
上传时间:2017-10-16
浏览量:64