Hi Maciek,
You can do this by calling setScale() method on MolDraw2D(). There's not a
decent python example around yet (would be something for the cookbook I
suppose), but the C++ code isn't too complex and demonstrates how it works:
https://github.com/rdkit/rdkit/blob/master/Code/GraphMol/MolDraw2D/test1.cpp#L1962
Hope this helps,
-greg
On Thu, Sep 14, 2017 at 10:24 AM, Maciek Wójcikowski <[email protected]>
wrote:
> Hi RDKitters!
>
> Quick question: is there a way to force drawing to output molecules on a
> grid image or separate in fixed scale (i.e. constant/matching bond length)?
>
> ----
> Pozdrawiam, | Best regards,
> Maciek Wójcikowski
> [email protected]
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Rdkit-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss