Inkscape.org
Beginners' Questions Add text to the visual center of a complex shape.
  1. #1
    Hidii Hidii @Hidii

    Hello, I'd like to know if it's possible with python to create a script that would locate the visual center of each shape on a layer and assign a number to the center of these shapes?
    This script would be used to place the numbers in the mystery colorings I create, rather than having to place each number myself.

  2. #2
    Tyler Durden Tyler Durden @TylerDurden
    🏆*

    Maybe this extension will be helpful: https://inkscape.org/~whidev/%E2%98%85ids-to-text-elements

  3. #3
    COD COD @COD
    *

    I can use that! Thanks!

    Edit: Some of the extensions in the Gallery are quite useful. Is there any possible way to get these actually inducted into future versions of Inkscape? Logic? If they are inducted then they will be updated/maintained by the Inkscape developers. 

  4. #4
    Tyler Durden Tyler Durden @TylerDurden
    👍

    That's the rub, I think... if the third party is maintaining the extension, the devs can focus on bugs and features.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Add text to the visual center of a complex shape.