GUO_GUO 发表于 2019-1-14 17:21:28

【吐槽】【寻求解决办法】Allegro输出Gerber一般会漏槽

本主题是想吐槽一下,但更想寻求一个解决办法。

Allegro一般会输出一个钻孔文件,这个文件包含了所有的钻孔。
但我们遇到的所有钻孔文件好像都不会有槽孔的现像,都是把槽孔画在分孔图层中让人工自已去挑。
今天遇到的资料案例是 Cadence Allegro 16.6-P004 输出的Gerber文件。
下图是分孔图,算上槽孔应该有8把刀具

实际的钻孔文件中只有6把刀如下:
;LEADER: 12
;HEADER:
;CODE: ASCII
;FILE: faceBoard-1-2.drl for... layers TOP and BOTTOM
;   Holesize 1. = 16.000000 Tolerance = +0.000000/-0.000000 PLATED MILS Quantity = 203
;   Holesize 2. = 28.000000 Tolerance = +0.000000/-0.000000 PLATED MILS Quantity = 32
;   Holesize 3. = 32.000000 Tolerance = +0.000000/-0.000000 PLATED MILS Quantity = 14
;   Holesize 4. = 52.000000 Tolerance = +0.000000/-0.000000 PLATED MILS Quantity = 24
;   Holesize 5. = 125.000000 Tolerance = +0.000000/-0.000000 PLATED MILS Quantity = 4
;   Holesize 6. = 79.000000 Tolerance = +0.000000/-0.000000 NON_PLATED MILS Quantity = 12
%
后面的我省略了
完整的钻孔文件见附件

因为板厂真实生产是使用钻孔文件来钻孔的,这样搞很容易出错,稍微有点不注意,这些槽孔就漏掉了。
这个问题是长期存在的,不光是嘉立创会遇到,整个行业都会遇到。

Cadence Allegro这个EDA软件我也不是很熟,不知道在输出过程中有什么设置方法可以让槽孔正常的输出到钻孔文件中去。
坛子里面有没有大神比较了解的,可以分享一下经验{:handshake:}

spcm 发表于 2019-1-14 17:48:52

做了不少槽孔板子,都是出两个文件,.rou和.drl,没出过什么问题啊

GUO_GUO 发表于 2019-1-14 17:52:50

spcm 发表于 2019-1-14 17:48
做了不少槽孔板子,都是出两个文件,.rou和.drl,没出过什么问题啊

这个drl文件中是完全看不到槽孔。
你使用的是Allegro设计的资料吗?我是想知道Allegro输出的钻孔文件的时候能不能把槽孔也输出来。

aammoo 发表于 2019-1-14 18:13:03

本帖最后由 aammoo 于 2019-1-14 18:15 编辑

GUO_GUO 发表于 2019-1-14 17:52
这个drl文件中是完全看不到槽孔。
你使用的是Allegro设计的资料吗?我是想知道Allegro输出的钻孔文件的时 ...

allegro是分开的,drl只有钻孔,rou里面是槽孔

howmoney 发表于 2019-1-14 18:22:38

有槽孔要出个rou的铣刀文件,在钻孔设置下面

培增 发表于 2019-1-14 18:26:32

楼上都说的很明白了,孔一个文件,槽一个文件。

yofa2008 发表于 2019-1-14 18:30:39

这个问题也遇到过, cam350打开的时候还得选择特定的格式才能正常显示。

GUO_GUO 发表于 2019-1-14 18:41:26

aammoo 发表于 2019-1-14 18:13
allegro是分开的,drl只有钻孔,rou里面是槽孔

非常感谢,有空我研究一下allegro{:victory:}

xxxlzjxxx 发表于 2019-1-14 19:01:46

rou文件导出后,记得删除分号开头的那几行,不然cam350导入会报错。

spcm 发表于 2019-1-15 08:27:54

贴个script文件,方便出钻孔文件(同时出rou和drl):
# Allegro script
#        file: nc_artwork_6l_rou
#        start time: Sun Feb 13 21:19:59 2011
#        Version: 16.3 S022 (v16-3-85BL) i86
version 16.6

#        表示钻孔1到6层
setwindow pcb
generaledit
define subclass
setwindow form.subclass
FORM subclass manufacturing pick
setwindow form.subclass_nonetch
FORM subclass_nonetch name NCLEGEND-1-6
setwindow form.subclass
FORM subclass done
#        删除之前的Drill_Legend_1_6
delete
setwindow form.find
FORM find groups YES
FORM find name_type Group
FORM find find_name Drill_Legend_1_6
setwindow pcb
done
#        进行drill
setwindow pcb
zoom world
ncdrill customization
setwindow form.nc_drillcustomization
FORM nc_drillcustomization auto_symbols
fillin yes
FORM nc_drillcustomization done
fillin yes
setwindow pcb
ncdrill legend
setwindow form.nc_drilllegend
FORM nc_drilllegend drill_title 'DRILL CHART: drill'
FORM nc_drilllegend done
setwindow pcb
# 根据具体板卡设置
pick 75 50
nctape_full
setwindow form.nc_drill
FORM nc_drill execute
FORM nc_drill close
#        进行route
generaledit
ncroute
setwindow form.nc_route
FORM nc_route execute
FORM nc_route close
setwindow pcb
generaledit
save
fillin yes
#        生成artwork
setwindow pcb
artwork
setwindow form.film_control
FORM film_control select_all
#FORM film_control load
#fillin "E:\work\Cadence\FILM_SETUP\FILM_SETUP_6L_B.txt"
FORM film_control select_all
FORM film_control apertures
setwindow form.apt_wheels
FORM apt_wheels 1 edit
setwindow form.apt_stations
FORM apt_stations metric_units YES
FORM apt_stations auto Without Rotation
FORM apt_stations apt_done
setwindow form.apt_wheels
FORM apt_wheels done
setwindow form.film_control
FORM film_control select_all
FORM film_control database_check YES
FORM film_control create
FORM film_control ok
#        保存
setwindow pcb
save
fillin yes

#        stop time: Sun Feb 13 21:21:19 2011

onepcb 发表于 2019-1-17 19:50:10

楼上的,赞一个!

snkaka 发表于 2019-1-17 22:08:45

是的,槽孔是分开的,需要出rou文件

bingshuihuo888 发表于 2019-5-29 17:29:28

spcm 发表于 2019-1-15 08:27
贴个script文件,方便出钻孔文件(同时出rou和drl):

这个脚本怎么增加到allegro 里面去

spcm 发表于 2019-5-30 06:50:11

bingshuihuo888 发表于 2019-5-29 17:29
这个脚本怎么增加到allegro 里面去

单独命名成一个文件如nc_artwork_6l,放到brd目录,File菜单选择执行脚本即可,当然可以绑定到快捷键上面,但是没有上述办法方便,因为每个板可能有需要调整参数的地方。

bingshuihuo888 发表于 2019-6-1 11:36:40

还是不会使用

bingshuihuo888 发表于 2019-6-1 11:37:52

bingshuihuo888 发表于 2019-6-1 11:36
还是不会使用

能不能详细的讲讲怎么运行这个脚本或者怎么样把他设置成快捷命令
页: [1]
查看完整版本: 【吐槽】【寻求解决办法】Allegro输出Gerber一般会漏槽