Creo 教程 > Creo Intelligent Fastener 教程 > 高级教程 > 集成和自定义零件 > 练习 7 - 将继承螺钉紧固件集成到 IFX 库中
  
练习 7 - 将继承螺钉紧固件集成到 IFX 库中
1. 使用 Windows 资源管理器,按照下列步骤确认您具有配置文件夹的“写入”权限:
a. <creo_loadpoint> 中单击“公用文件”(Common Files) > afxafx 文件夹随即打开。
b. 右键单击 configuration 文件夹,然后选择“属性”(Properties)。
c. “安全”(Security) 选项卡上,确认您具有配置文件夹的“写入”权限。如果您没有“写入”权限,请予以添加或联系您的管理员。
2. 使用 Windows 资源管理器创建文件夹 IFX_custom_lib。只要您具有文件夹的“写入”权限,即可在任何位置创建文件夹。IFX_custom_lib 为新的自定义存储库。
3. <creo_loadpoint> 中单击“公用文件”(Common Files) > afx > “零件”(parts)parts 文件夹随即打开。
4. ifx_catalogsifx_fastener_data 文件夹及其所有子文件夹从 parts 复制到 IFX_custom_lib
5. 启动 Creo Parametric
6. 单击“文件”(File) > “选项”(Options) > “配置编辑器”(Configuration Editor),并将配置选项 show_selected_item_id 设置为 yes。单击“确定”(OK)
7. 将工作目录设置为 <下载文件位置>\IFXTraining\Migration_Asm
8. 打开 ifx_migration.asm。您必须打开装配才能访问 Creo Intelligent Fastener 功能。
9. Creo Parametric 中,单击“工具”(Tools) > Intelligent Fastener > “选项”(Options)“Intelligent Fastener - 选项对话框”(Intelligent Fastener - Options Dialog) 对话框随即打开。
10. 选择 PATH_ABS_LIBRARY,单击“选择路径”(Select path),然后浏览至 IFX_custom_lib 并单击“打开”(Open)。该路径随即显示在“值”(Value) 框中。单击“确定”(OK)
11. 在 Windows 资源管理器中,浏览至 IFX_custom_lib 并创建 myfasteners 文件夹。
12. Creo Parametric 中,单击“文件”(File) > “选项”(Options) > “配置编辑器”(Configuration Editor),然后键入完整路径名称或使用“浏览”(Browse),以将配置选项 search_path 设置为指向 myfasteners 文件夹。单击“确定”(OK)
13. 在 Windows 资源管理器中,浏览至 <下载文件位置>\IFXTraining\Legacy_Part,然后将 m6x60-din931.prtm6x70-din931.prtm6x75-din931.prt 复制到新的自定义文件夹 myfasteners
14. 在 Windows 资源管理器中,浏览至 IFX_custom_lib\ifx_catalogs 并创建新的“紧固件实例目录文件”myfasteners.txt
15. 编辑 myfasteners.txt 文件以与下列文件匹配:
#screws
legacy_fasteners
16. 保存并关闭 myfasteners.txt
17. IFX_custom_lib\ifx_fastener_data 文件夹复制 iso4017–8_8.dat,并将其重命名为 legacy_fasteners.dat
18. 编辑 legacy_fasteners.dat 以与下列文件匹配:
!----------------------------------------------------------------------
! ISO 4017 - 8.8
!
! Hexagon head screw, fully threaded, product grades A and B
! Sechskantschraube mit Gewinde bis Kopf, Produktklassen A und B
!----------------------------------------------------------------------
SCREWTYPE 21
UNIT MM
SURFACE 126
AXIS 85
CBSCR DIN974-2 R1
INFO ISO 4017 - 8.8
SYMBOL STRING DN LG S K DG P
INSTANCE STRING DN LG S K DG P
m6x60-din931 M6 6 60 10 4 5 1
m6x70-din931 M6 6 70 10 4 5 1
m6x75-din931 M6 6 75 10 4 5 1
 
* 必须按 TAB 键来分隔 DAT 文件中的值。
19. 保存 legacy_fasteners.dat,但不要关闭。
20. legacy_fasteners.dat 文件需要紧固件的曲面 ID 和轴 ID。执行以下步骤来标识 ID:
a. Creo Parametric 中打开 m6x60-din931.prt
b. 在图形窗口中,将鼠标指针移动到轴上,并记下 ID 1440。
c. 同样,将鼠标指针移动到紧固件头部,并记下 ID 495。
d. 打开 m6x70-din931.prtm6x75-din931.prt 并获取其曲面和轴 ID。
21. legacy_fasteners.dat 中键入唯一的曲面 ID 和轴 ID。
SURFACE 495 495
AXIS 1440 1444
22. 在 Windows 资源管理器中,单击 <creo loadpoint> 中的“共用文件”(Common Files) > afx > “配置”(configuration)
23. Configuration 文件夹中,打开 sl_data.cfg。查看 Diameters of couterbores 部分以验证 CBSCR 是否适用于 M6 紧固件。关闭文件。
24. legacy_fastners.dat 中,将名称 INFOISO 4017 - 8.8 更改为 New Legacy Fasteners。您的文件应与下列文件相匹配:
!----------------------------------------------------------------------
! ISO 4017 - 8.8
!
! Hexagon head screw, fully threaded, product grades A and B
! Sechskantschraube mit Gewinde bis Kopf, Produktklassen A und B
!----------------------------------------------------------------------
SCREWTYPE 21
UNIT MM
SURFACE 495 495
AXIS 1440 1444
CBSCR DIN974-2 R1
INFO New Legacy Fasteners
SYMBOL STRING DN LG S K DG P
INSTANCE STRING DN LG S K DG P
m6x60-din931 M6 6 60 10 4 5 1
m6x70-din931 M6 6 70 10 4 5 1
m6x75-din931 M6 6 75 10 4 5 1
25. 保存并关闭 legacy_fasteners.dat
26. 在 Windows 资源管理器中,浏览至 IFX_custom_lib\ifx_catalogs,打开 ifx_catalogs.txt 并将 myfasteners 添加到文件的 #screws 部分。您的文件应与下列文件相匹配:
#screws
myfasteners
mm
mm-HV
mm-Fine
inch
inch-structural
ANSI-ENGLISH
ANSI-METRIC
ISO
JIS
HoloKrome

#pins
mm
inch
ISO
JIS
HoloKrome
27. 保存并关闭 ifx_catalogs.txt
28. 在 Windows 资源管理器中,单击 <creo loadpoint> 中的“共用文件”(Common Files) > afx > “文本”(text) > usascii
29. usascii 文件夹中,打开库转换文件 ifx_translation.txt,然后向文件添加以下帮助文本。
myfasteners.Label
My Fasteners
My Fasteners
myfasteners.HelpText
My Fasteners Library
My Fasteners Library
legacy_fasteners.HelpText
Converted Legacy Fasteners
Converted Legacy Fasteners
30. 保存并关闭 ifx_translation.txt
31. 重新启动 Creo Parametric
32. 将工作目录设置为 <下载文件位置>\IFXTraining\Migration_Asm
33. 打开 ifx_migration.asm
34. 使用 Creo Intelligent Fastener 选择参考以放置新的紧固件。“螺钉紧固件定义”(Screw Fastener Definition) 对话框打开后,请注意以下变化:
“目录”(Catalog) 列表中提供 My Fasteners,且工具提示为 My Fasteners Library
“螺钉”(Screw) 列表中提供 New Legacy Fasteners,且工具提示为 Converted Legacy Fasteners
35. 完成紧固件的放置,然后关闭装配而不进行保存。
36. 单击“文件”(File) > “管理会话”(Manage Session) > “拭除未显示的”(Erase Not Displayed)“拭除未显示的”(Erase Not Displayed) 对话框打开。
37. 单击“确定”(OK) 以拭除内存中的所有文件。