• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. updated Scalpel skill file

Stats

  • Replies 8
  • Subscribers 160
  • Views 1643
  • Members are here 0
More Content

updated Scalpel skill file

DavidJHutchins
DavidJHutchins 2 months ago

attached is an updated version of the 'scalpel' custom skill code with 2 changes:

Updated to correctly handle non-orthogonal/diagonal routing ( i.e. fiber-weave zig-zag routing )

Added 'undo' capability

scalpel.zip

  • Sign in to reply
  • Cancel
  • Elecguy
    Elecguy 2 months ago

    Excuse my ignorance, David ... but what is this "Scalpel" functionality? Could you elaborate or point me in the right direction?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • DavidJHutchins
    DavidJHutchins 2 months ago in reply to Elecguy

    from the skill file...

    ; Description:
    ; Allows the user to draw a path through clines, and have a channel cut through them.
    ; Kinda like a scalpel, hence the name.
    ;

    ; Preparation:
    ; Position this file (scalpel.il) in the directory path where all other
    ; skill routines are located. In the allegro.ilinit file include the line
    ; load("scalpel.il")
    ;
    ; Usage:
    ; Type scalpel or scalpel n into the allegro command line, where 'n' is a number
    ; eg
    ; Command> scalpel
    ; or
    ; Command> scalpel 20
    ; where 'n' is the cutting width. The default width is 12mils or 0.3mm.
    ; When run, the user can left-click a path through clines, ending with either
    ; a double-click or right-button "Done". Right-button "Cancel" cancels the function
    ; with no cuts made at all.
    ; According to the user defined cut_width variable (below), or 'n' as an input,
    ; a path is cleared through any cline that is visible.
    ;

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • DavidJHutchins
    DavidJHutchins 2 months ago in reply to DavidJHutchins

    Well crap, I had a typo in the original file I uploaded:

    D:\SPB_Data\>diff scalpel.il~ scalpel.il
    74c74
    < axlCmdRegister( "scapel" 'scalpel  ?cmdType "interactive" ?undo t)
    ---
    > axlCmdRegister( "scalpel" 'scalpel  ?cmdType "interactive" ?undo t)

    D:\SPB_Data\>

    Please use the corrected version below...

    5315.scalpel.zip

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • masamasa
    masamasa 2 months ago in reply to DavidJHutchins

    thank u, david.

     

    it works for no offset now.

     

    is it possible to remove the clines in the selected area after the scalpel command is finished?

     

     

    regards

    masa

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • DavidJHutchins
    DavidJHutchins 2 months ago in reply to masamasa

    Hi Masa,

    I sent you an email with the latest version of the code for you to try, hopefully I have the correct email address..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information