ENV快捷键

source $TELENV
#———————————————————————scr调用———————————————————————#
#pcb封装界面环境设置,大尺寸
funckey pbl replay D:\ad_allegro_library_by\allegro_library\skill_set\YUAN_SKILL\allegro_package_parameter_set\allegro_package_parameter_set_large.scr
#pcb封装界面环境设置,小尺寸
funckey pbs replay D:\ad_allegro_library_by\allegro_library\skill_set\YUAN_SKILL\allegro_package_parameter_set\allegro_package_parameter_set_small.scr
#pcb界面环境设置
funckey pcb replay D:\ad_allegro_library_by\allegro_library\skill_set\YUAN_SKILL\allegro_package_parameter_set\allegro_pcb_parameter_set.scr
funckey prko replay D:\ad_allegro_library_by\allegro_library\skill_set\YUAN_SKILL\allegro_scripting\place_route_keepout.scr
#——-scr调用END——-#
#———————————————————————通用———————————————————————#
# 说明:(通用)通用快捷键;(布局)布线快捷键;(布线)布线快捷键; (敷铜)敷铜相关;
alias F4 show element #显示元素特性 -(通用)
alias ~D delete #删除 -(通用)
alias ~K CMGR #规则管理界面 -(通用)
alias ~M show measure #测量,ctrl+M,参考ad快捷键 -(通用)
alias ~S save #保存 -(通用)
alias ~R spin #旋转,可选角度 -(通用)
alias ~G grid toggle #定义格点 -(通用)
alias ~T add text #增加文本 -(通用)
alias Del delete #删除 -(通用)
alias Esc cancel #取消 -(通用)
alias ~Y redo #恢复上一步
alias hi hilight #高亮物体 -(通用)
alias dehi dehilight #取消高亮 -(通用)
alias fn find_by_name #查找物体,通过名字,可一次查多个零件
#布线时三种模式切换, 一种是避让, 一种是不避让,一种是按规则避让
funckey Q ‘settoggle shove_mode Off “Hug preferred” “Shove preferred”; options bubble_space $shove_mode’
#移动元件时四种抓取方式快速切换.orgin center user pin
funckey A ‘settoggle point_mode “Sym Origin” “Body Center” “User Pick” “Sym Pin #”; options rotate_point $point_mode’
funckey B pop finish #快速布线 - (布线)
funckey W add connect #走线 -(布线)
funckey F oops #取消上一操作 -(布线)
funckey C cancel #取消 -(布线)
funckey D done #结束当前命令 -(通用)
funckey S add line #画线 -(通用)
funckey M move #移动 -(通用)
funckey N next #下一步 -(通用)
funckey V vertex #拉伸线增加倒角 -(通用)
funckey T toggle #布线toggle模式 = (布线)
funckey Z slide #Line平移调整 -(布线)
funckey L mirror #元件切换到底层;参考ad快捷键 -(布局)
funckey ‘ ‘ iangle 90 #空格翻转90度,参考ad快捷键 -(通用)
funckey , rats net #显示网络飞线,快捷键后选中要显示的网络 -(通用)
funckey . unrats net #隐藏网络飞线,快捷键后选中要隐藏的网络 -(通用)
funckey / swap components #交换元件 -(布局)
funckey pop bbdrill #添加过孔,参考ad快捷键
funckey ~F FIX #固定器件 -(通用)
funckey ~U UNFIX #解除固定 -(通用)
funckey 1 pop bbdrill #添加过孔
#——-线宽设置——-#
#6mil线宽
funckey 6 FORM mini acon_line_width 6
funckey 7 FORM mini acon_line_width 8
funckey 8 FORM mini acon_line_width 10
funckey 9 FORM mini acon_line_width 15
funckey 0 FORM mini acon_line_width 20
#——-线宽设置END——-#
#——-走线角度切换——-#
#弧形走线
funckey lo FORM mini lock_mode Arc
#线型走线
funckey ll FORM mini lock_mode Line
#任意角度走线
funckey l0 FORM mini lock_direction Off
#45度走线
funckey l4 FORM mini lock_direction 45
#90度走线
funckey l9 FORM mini lock_direction 90
#——-走线角度切换END——-#
#——-敷铜相关——-#
funckey t shape add
funckey y shape select
funckey u island_delete
#——-敷铜相关END——-#
#——-模式选择——-#
funckey q generaledit
funckey e placementedit
funckey w etchedit
funckey r shapeedit
#——-模式选择END——-#
#———快速切换层——-#
#切换到顶层
funckey ~1 ‘pop bbdrill;pop swap;subclass top’
#切换到底层
funckey ~2 ‘pop bbdrill;pop swap;subclass bottom’
#切换到中间层
funckey ~3 ‘pop bbdrill;pop swap;subclass top;+’
#切换到中间层
funckey ~4 ‘pop bbdrill;pop swap;subclass top;+;+’
#切换到中间层
funckey ~5 ‘pop bbdrill;pop swap;subclass top;+;+;+’
#切换到中间层
funckey ~6 ‘pop bbdrill;pop swap;subclass top;+;+;+;+’
#———快速切换层END——-#
##——-软件自带变量修改&注释——-##
##设置方向按键: 设置上下左右按键为移动按键##
set roamInc = 100
funckey Up “roam y -$roamInc”
funckey Down “roam y $roamInc”
funckey Left “roam x -$roamInc”
funckey Right “roam x $roamInc”
##设置方向按键end##
##设置Shift+方向按键: 单选一个元件可以按shift+方向键移动0.1mm=40/10
0.0254##
set roamInc1 = 40
alias SUp “move; ipick_to_gridunit 0 +$roamInc1”
alias SDown “move; ipick_to_gridunit 0 -$roamInc1”
alias SLeft “move; ipick_to_gridunit -$roamInc1”
alias SRight “move; ipick_to_gridunit +$roamInc1”
##设置Shift+方向按键end##
# 刷新
alias F5 redraw
#查看布局布线状态和错误条数
alias CSF5 status
#拷贝
alias SF5 copy
#切换层
funckey + subclass -+
funckey - subclass —
#替换焊盘-(通用)
alias rps “replace padstack”
#设置鼠标中间键缩放窗口#
set buttonfactor = 1
button wheel_up “zoom in $buttonfactor”
button wheel_down “zoom out $buttonfactor”
button Cwheel_up “zoom in $buttonfactor”
button Cwheel_down “zoom out $buttonfactor”
#设置鼠标中间键缩放窗口end#
##———————————————————————软件自带变量修改&注释END———————————————————————##
##———————————————————————我的设置2———————————————————————##
#设置最大撤销15次
set max_undo_memory = 15
#——-设置path位置——-#
set padpath = $padpath D:/ad_allegro_library_by/allegro_library/LIBRARY/5pads/ad_create D:/ad_allegro_library_by/allegro_library/LIBRARY/5pads/smd D:/ad_allegro_library_by/allegro_library/LIBRARY/5pads/th_pad D:/ad_allegro_library_by/allegro_library_turbo/LIBRARY/2pcb_lib/TUBO
set psmpath = $psmpath D:/ad_allegro_library_by/allegro_library/LIBRARY/2pcb_lib/components D:/ad_allegro_library_by/allegro_library/LIBRARY/2pcb_lib/connectors D:/ad_allegro_library_by/allegro_library/LIBRARY/2pcb_lib/modules D:/ad_allegro_library_by/allegro_library/LIBRARY/2pcb_lib/other D:/ad_allegro_library_by/allegro_library_turbo/LIBRARY/2pcb_lib/TUBO
set parampath = $parampath D:/ad_allegro_library_by/allegro_library_turbo/LIBRARY/2pcb_lib/TUBO/ant/
set steppath = $steppath D:/ad_allegro_library_by/allegro_library/LIBRARY/3step_3D/components D:/ad_allegro_library_by/allegro_library/LIBRARY/3step_3D/connectors D:/ad_allegro_library_by/allegro_library/LIBRARY/3step_3D/modules D:/ad_allegro_library_by/allegro_library/LIBRARY/3step_3D/other
#——-设置path位置end——-#
#设置双单位显示
set showmeasure_altunits = millimeters
#——-设置自动保存时间10分钟,保存名称为backup——-#
set autosave_time = 10
set autosave_dbcheck
set autosave
set autosave_name = backup
#——-设置自动保存时间10分钟,保存名称为backup-end——-#
set infinite_cursor_bug_nt ##防止十字光标拖影
set pcb_cursor = infinite ##设置PCB大十字
set no_dragpopup ##设置开启手势快捷操作
set shape_rki_autoclip ##设置之后解决更改板框不能更新铜皮超出route keepin问题
##生成gerber时在PCB目录自动新建gerber文件夹
set ads_sdart = gerber
### User Preferences section
### This section is computer generated.
### Please do not modify to the end of the file.
### Place your hand edits above this section.
###
set padpath = $padpath D:/ad_allegro_library_by/allegro_library_turbo/LIBRARY/2pcb_lib/TUBO/ant/ D:/ad_allegro_library_by/allegro_library_turbo/LIBRARY/2pcb_lib/TUBO/
set psmpath = $psmpath D:/ad_allegro_library_by/allegro_library_turbo/LIBRARY/2pcb_lib/TUBO/ant/ D:/ad_allegro_library_by/allegro_library_turbo/LIBRARY/2pcb_lib/TUBO/
set static_shapes_fill_solid
unset no_etch_shape_display
unset no_shape_fill
set viewpath = $viewpath D:/ad_allegro_library_by/allegro_library/skill_set/YUAN_SKILL/allegro_package_parameter_set/