Home Forums Nazca No show_pin attibute in nazca.netlist

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5461
    Wanshu
    Participant

    Dear Nazca team,

    As the title said, there is no “show_pin” attribute in nazca.netlist module, while the “show_pin” can be found in the documentation.

    Can you help me with showing the pin position and name in a layer?

    Wanshu

    #5468
    Ronald
    Keymaster

    Dear Wanshu,

    An alternative way to show the current position or a specific pin p you may use

    nd.whereami()  # current pin
    nd.whereami(p) # pin p

    The nd.show_pin is there in netlist.py, though I see its scope to find the current pointer needs an upgrade.
    Effectively, what show_pin does is drawing a polygon (e.g. a circle) on the pin:

    nd.Polygon(points=<polygon_points_here>, layer=<layer_here>).put(p)

    Ronald

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.