Skip to content

Feature Suggestion: Get stem position of key #5

Description

@BalzGuenat

Add member or utility function to keys to get the position of their stem(s). For most keys, this will be their x,y plus half of their width/height. Some keys don't follow this rule, namely stepped, non-rectangular keys and space bars with off-center stems. In those cases, undefined could be returned (at least until there's a way to encode the position in the serialization format).

Stem position is helpful when creating plates and PCBs.

All that said, it's very easy for a client application to calculate the regular positions itself, so the need for such a feature isn't huge. More of a nice-to-have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions