PCB论坛网

 找回密码
 注册
查看: 1008|回复: 2

Genesis 高手请进?

[复制链接]
发表于 2005-5-6 13:27:39 | 显示全部楼层 |阅读模式

#get board information

DO_INFO -t step -e $JOB/$STEP -d SR_LIMITS

DO_INFO -t step -e $JOB/$STEP -d PROF_LIMITS

DO_INFO -t step -e $JOB/$STEP -d SR

#Check if script not run in a step with SR

set board_x = `echo "scale=6;$gPROF_LIMITSxmax - $gSR_LIMITSxmax"|bc`

set board_y = `echo "scale=6;$gPROF_LIMITSymax - $gSR_LIMITSymax"|bc`

if ( $board_x == 0 || $board_y == 0 ) then

PAUSE The script should be run in STEP:panel...Exit now.

exit

endif

COM open_entity,job=$JOB,type=step,name=panel,iconic=no

AUX set_group,group=$COMANS

####Count inner layer and outer layer

set matrix_counter = 0

set layer_counter = 0

set signal_tol = 0

set silk_tol = 0

while ( $matrix_counter <= $#gROWcontext )

switch ($gROWcontext[$matrix_counter])

case empty:

case misc:

@ matrix_counter++

continue

case board:

if ( $gROWlayer_type[$matrix_counter] == "signal" || $gROWlayer_type[$matrix_counter] == "power_ground" ) then

@ signal_tol++

endif

if ( $gROWlayer_type[$matrix_counter] == "silkscreen" ) then

@ silk_tol++

endif

endsw

@ matrix_counter++

end

请教各位大虾:上面这写的是什么?怎样得到Borad的尺寸,SR指的是什么?

[此贴子已经被作者于2005-5-20 12:35:49编辑过]
回复

使用道具 举报

发表于 2005-5-8 17:27:56 | 显示全部楼层

#号后就是备注信息

SR:STEP&REPEAT

回复 支持 反对

使用道具 举报

发表于 2005-5-8 22:20:32 | 显示全部楼层
#Written by: Billy Chan(Orbortech Pacific)
#Date: jan14,2002
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|手机版|PCB设计论坛|EDA论坛|PCB论坛网 ( 沪ICP备05006956号-1 )

GMT+8, 2024-5-19 01:27 , Processed in 0.123727 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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