• 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. Custom IC SKILL
  3. skill command for Fractures edges of the specified object...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 4356
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

skill command for Fractures edges of the specified object on the input list into horizontal trapezoids.

Rishabh27
Rishabh27 over 1 year ago

Hi ,

I want to cut this metal horizontally , I was using dbLayerTile commnad for breaking it but it is breaking vertically .
can anyone please help me with  the skill command or code for this part.

thanks,

  • Cancel
Parents
  • AurelBuche
    AurelBuche over 1 year ago

    Hi,
    You can do something like:

    procedure( split_in_tiles( @key (objects   geGetSelectedSet())
                                    (direction "horizontal")
                                    )
      "Split OBJECTS in tiles according to DIRECTION"
      assert( member(direction '("vertical" "horizontal"))
        "Direction should be \"vertical\" or \"horizontal\"")
      unwindProtect(
        ;; Start ABE
        let( (lay iter tile)
          cv = car(objects)->cellView
          abeInit(cv)
          ;; Create an ABE layer from object
          ;; Merge its tiles according to direction
          foreach( obj objects
            when( obj->isShape
              lay = abeLayerFromShapes( setof(obj objects obj->isShape))
              abeLayerMergeTiles( lay direction)
              ;; Browse generated tiles, create associated rectangles
              iter = abeTileIterator( lay )
              while( tile = iter->next
                dbCreateRect( cv obj->lpp tile->bbox )
                )
              ;; Delete splitted shape
              dbDeleteObject(obj)
              )
            );foreach
          );let
        abeDone()
        ))

    Cheers,
    Aurélien

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to AurelBuche

    Aurélien's suggestion is the best approach, I'd say (that's what I was going to propose), but for completeness there's How can I do horizontal slicing using leSlice and horizontal tiling using dbLayerTile SKILL function

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to AurelBuche

    Aurélien's suggestion is the best approach, I'd say (that's what I was going to propose), but for completeness there's How can I do horizontal slicing using leSlice and horizontal tiling using dbLayerTile SKILL function

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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