明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2265|回复: 8

搞模具的朋友注意了[分享螺絲繪制程序]

[复制链接]
发表于 2003-7-20 20:20:00 | 显示全部楼层 |阅读模式
  1. h_sc:dialog{label="Spring (h_sc.dcl)  版本:試用版";
  2. :image{height=0.05;color=1;}
  3. :text{key="t1";alignment=centered;}
  4. :image{height=0.05;color=1;}
  5. :row{
  6. :text{}
  7. :text{label="螺絲大小";}
  8. :popup_list{key="sc_size";fixed_width=true;}
  9. :text{label="螺絲長度";}
  10. :popup_list{list="40";fixed_width=true;}
  11. :text{}
  12. }
  13. :text{}
  14. :row{
  15. : column {
  16. :row{
  17. : column {
  18. :text{label= "加工模板";}
  19. :popup_list{key="pl_list1";width=25;is_default=true;}
  20. :popup_list{key="pl_list2";width=25;is_default=true;}
  21. :popup_list{key="pl_list3";width=25;is_default=true;}
  22. :popup_list{key="pl_list4";width=25;is_default=true;}
  23. :popup_list{key="pl_list5";width=25;is_default=true;}
  24. }
  25. : column {
  26. :text{label= "加工孔類型";}
  27. :popup_list{key="ho_list1";width=25;is_default=true;}
  28. :popup_list{key="ho_list2";width=25;is_default=true;}
  29. :popup_list{key="ho_list3";width=25;is_default=true;}
  30. :popup_list{key="ho_list4";width=25;is_default=true;}
  31. :popup_list{key="ho_list5";width=25;is_default=true;}
  32. }
  33. : column {
  34. :text{label= "加工孔大小";}
  35. :edit_box{key="ho_size1";width=20;is_default=true;alignment=centered;}
  36. :edit_box{key="ho_size2";width=20;is_default=true;}
  37. :edit_box{key="ho_size3";width=20;is_default=true;}
  38. :edit_box{key="ho_size4";width=20;is_default=true;}
  39. :edit_box{key="ho_size5";width=20;is_default=true;}
  40. }
  41. }
  42. }
  43. : column {
  44. :row{
  45. :text{label="";}
  46. }
  47. :row{
  48. }
  49. :row{
  50. :text{label="";key="time";}
  51. :text {label="";}
  52. }
  53. :image  {key="hsc";height = 8;width = 26;color = -2;}
  54. :button{label="幻燈片放大";key="sld";fixed_width=true;}
  55. }
  56. }
  57. :text{label="";}
  58. :row{
  59. :text{label="";}
  60. ok_cancel;
  61. :button{label="計算";key="cal";fixed_width=true;}
  62. :text{label="";}
  63. }
  64. :boxed_column { label="";fixed_width=true;fixed_height=true;alignment=centered;
  65. :row{
  66. :text{label="";width=12;}
  67. :text {label="***版權所有,翻錄不究***"; alignment=centered;}
  68. :text{label="";width=12;}
  69. }
  70. :row{
  71. :text{label="";width=12;}
  72. :text { label="***作者:Spring***"; alignment=centered;}
  73. :text{label="";width=12;}
  74. }
  75. }
  76. }
  77. sld:dialog{label="***幻燈片***";
  78. :image_button{color=0;key="sld";width=80;aspect_ratio=0.7;fixed_height=true;fixed_width=true;}
  79. :row{
  80. :text{label="";}
  81. :text{label="Email: hch-1983@163.com";}
  82. ok_cancel;
  83. :text{label="";}
  84. }
  85. }
  86. ;;;________________________________________________________________
  87. ;;;pl_list.dat
  88. "UP"(上模座)
  89. "UB2"(上背板)
  90. "UB"(上墊板)
  91. "PH"(上夾板)
  92. "PPS"(止檔板)
  93. "PS"(上脫板)
  94. "PS2"(下脫板)
  95. "DIE2"(上模板)
  96. "DIE"(下模板)
  97. "PH2"(下夾板)
  98. "LB"(下墊板)
  99. "LB2"(下背板)
  100. "LP"(下模座)
  101. "PUNCH"(沖頭)
  102. "PH_P"(夾板入子)
  103. "PS_P"(脫板入子)
  104. "DIE_P"(下模入子)
  105. "PH2_P"(下夾入子)
  106. "GUIDE"(導料板)
  107. "MATER"(料帶層)

  108. 
  109. ;;;________________________________________________________________
  110. ;;;ho_list.dat
  111. "hole"(頭部通孔)
  112. "deep"(頭部沉頭孔)
  113. "hole1"(通孔)
  114. "scw"(螺紋孔)

  115. 
  116. ;;;________________________________________________________________
  117. ;;;sz_list.dat
  118. M2
  119. M3
  120. M4
  121. M5
  122. M6
  123. M8
  124. M10
  125. M12
  126. M14
  127. M16
  128. M18
  129. M20
  130. 
  131. ;;;_______________________________________________________
  132. ;;;
  133. ;;;


注:此程式我用了2天,暫時沒碰到甚麼問題,不過我相信是存在很多錯誤的,因為本人不是甚麼大學生也不是中專生.我希望版主们可以玩善它,以供网友下载.
感谢明经的版主们,由其是前生的层复制程序让我受益非浅
由于我的电脑是繁体操作系统,所以我将文件都贴出来了(除h_sc.sld)要
用的朋友可复制到WORD下去转换字体,以下h_sc.zip是繁体的
程序里h_time涵数是引用龙龙仔的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x

评分

参与人数 1威望 +1 金钱 +10 贡献 +3 激情 +5 收起 理由
meflying + 1 + 10 + 3 + 5 【好评】好文章

查看全部评分

"觉得好,就打赏"
还没有人打赏,支持一下
 楼主| 发表于 2003-7-20 20:23:00 | 显示全部楼层

如果图层不一样的请将pl_list文件里的up....改过来

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2003-10-7 10:44:00 | 显示全部楼层

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2003-10-7 10:58:00 | 显示全部楼层
好像只能画幅视图,不能画主视图。
有没画主视图的程序。
发表于 2003-10-9 11:21:00 | 显示全部楼层
相当不错!
发表于 2011-3-19 15:10:33 | 显示全部楼层
谢谢, 这是个好东西
发表于 2015-2-12 13:35:28 | 显示全部楼层
谢谢, 这是个好东西
发表于 2019-7-23 22:48:24 | 显示全部楼层

谢谢, 这是个好东西
发表于 2019-7-24 10:52:47 | 显示全部楼层
谢谢, 这是个好东西
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2025-5-18 18:00 , Processed in 0.208184 second(s), 28 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表