ALLEGRO使用技巧

作者头像
Kavas 本文作者

2023-6-14 阅读 216 约 10分钟读完

评论0

  • env文件:

    
    source $TELENV
    
    ### 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 no_shape_fill
    set parampath = $parampath "D:/OLB/allegro lib/JF ALLEGRO_LIB" "D:/OLB/allegro lib/DF ALLEGRO LIB"
    set psmpath = $psmpath "D:/OLB/allegro lib/JF ALLEGRO_LIB" "D:/OLB/allegro lib/DF ALLEGRO LIB"
    set padpath = $padpath "D:/OLB/allegro lib/JF ALLEGRO_LIB" "D:/OLB/allegro lib/DF ALLEGRO LIB"
    set devpath = $devpath "D:/OLB/allegro lib/DF ALLEGRO LIB" "D:/OLB/allegro lib/JF ALLEGRO_LIB" 
    
    # F1 is normally reserved by the system for Help so we don't use it
    alias F12 toggle
    alias F11 zoom out
    alias F10 zoom in
    alias F9 add connect
    alias F8 oops 
    alias F7 cancel 
    alias F6 property edit
    alias F5 show element
    alias F4 pop swap
    alias F3 set acon_oldcmd
    alias F2 unset acon_oldcmd
    alias Del slide
    alias Insert custom smooth 
    alias Home zoom fit
    alias End redisplay
    alias Pgup rotate
    alias Pgdown move 
    alias ~N new
    alias ~O open
    alias ~S save
    alias ~X cup
    alias ~G Define grid
    alias ~R show measure
    alias ~L mirror
    alias ~A save_as
    alias ~E change
    funckey + subclass -+
    funckey - subclass --
    
    #---------------------------------------------------------------------------------------------------
    # Script Aliases Description
    #---------------------------------------------------------------------------------------------------
    # alias g.1 "replay gp1" # sets grid to 0.1 mil
    # alias g.3225 "replay gp3225"
    # alias g.532 "replay gp532"
    # alias g.25 "replay gp25"
    
    #--------------------------------------------------------------------
    # OTHER ALIASES 
    alias edps padedit
    alias rps "replace padstack"
    alias unplrp report unplaced
    alias x pick
    alias y pick l
    alias ix ipick
    alias iy ipick 0
    alias reopen 'open -q $module'
    
    # autoroam
    alias sar set pcb_autoroam
    alias uar unset pcb_autoroam
    
    alias reopen 'open -q $module'
    alias bubset 'settoggle shove_mode Off "Hug preferred" "Shove preferred"; options bubble_space $shove_mode'
    alias ~B bubset
    alias smoothset 'settoggle smooth_mode Off Minimal Full; options smooth_level $smooth_mode'
    alias ~C smoothset
    
    #--------------------------------------------------------------------
    # COMMAND DEFAULTS
    # allow slide to work on arcs by default
    set slide_arcs
    
    # Compatibility aliases
    alias window zoom
    alias hilite hilight
    alias dehilite dehilight
    alias pickx pick
    alias picky pick l
    alias ipickx ipick
    alias ipicky ipick 0
    
    source -q $ALLEGRO_SITE/site.env
    ### 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 autosave_time = 5
    set autosave
    # set scriptpath = C:\pcbenv\scripts
    # set clippath = .
    # set devpath = F:\work\cadence\allegro\lib\devices\
    # set padpath = F:\work\cadence\allegro\lib\pad\
    # set psmpath = F:\work\cadence\allegro\lib\symbols\
    set display_nodynamicarcwidth
    set display_nohilitefont
    unset display_nolinewidth
    unset display_noskeletal_draw
    unset bug_solaris_hlt_lines
    set display_nocolor_dynamics
    unset display_raster_ops
    set display_backingstore = on
    set display_nosaved_geometry = size
    set display_manual_colorpriority
    unset display_drcfill
    set gloss_pad_shape
    unset no_dynamic_zoom
    set no_zoom_to_object
    set no_dragpopup
    set noswapripup
    set logic_edit_enabled
    # unset no_shape_fill
    # set new_shape_fill_nt
    set pcb_cursor = infinite
    //===============================================================================
上一篇 ORCAD使用技巧 下一篇 ALLEGRO使用方法
评论