Skip to content

Provide orientation options to Macrocycles for whether a building block points in/out #471

@andrewtarzia

Description

@andrewtarzia

From a discussion with @fiszczyp , where large-ish building blocks were pointing into the centre of the macrocycle when isometric smiles were used (I could not understand this distinction, but currently I think the initial conformer orienation/structure will impact orientation somehow).

I think the solution to this is a new Orientable(?)Macrocycle topology graph that allows the user to provide vectors OR (my preference) a selection out of "up", "down", "in", "out" vertices that would then align all of those Building blocks along the ring in that direction.

This requires:

  • New macrocycle topology graph that allows for different vertex selections in initialiser.
  • New macrocycle vertices that provide orientation of core along some vectors:
    • in: -core-placer along edge_centroid
    • out: core-placer along edge_centroid
    • up: core-placer along [001]
    • down: core-placer along [00-1]
  • New tests and edge cases for when the building block is large/complex or small.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions