Inkscape.org
Beyond the Basics Error with ModifyPath-Perspective Extention on v1.1
  1. #1
    Johnny_85E Johnny_85E @Johnny_85E
    *

    Hello.

    Just wanted to give some Text a perspective, following this guide:
    https://ahninniah.blogspot.com/2013/05/drawing-in-perspective-with-inkscape.html

    After typing text, transformed to path, ungrouped, and then unified. After that I tried to use the perspective extension.

    The following error occurs:
    Traceback (most recent call last):
      File "perspective.py", line 136, in <module>
        Perspective().run()
      File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 131, in run
        self.save_raw(self.effect())
      File "perspective.py", line 64, in effect
        bbox = obj.bounding_box(obj.getparent().composed_transform())
      File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\elements\_base.py", line 165, in __getattr__
        raise AttributeError(f"Can't find attribute {self.typename}.{name}")
    AttributeError: Can't find attribute SvgDocumentElement.composed_transform

    Can anybody help me here?

    Thank you for reading the post.
    Johnny.

    Inkscape Perspective Error
  2. #2
    Polygon Polygon @Polygon🌶

    Same error here - but you can try LPE Perspective/Envelope:

  3. #3
    Tyler Durden Tyler Durden @TylerDurden
    *

    The extension is working as expected here... 1.1.1 on Win and Linux Mint.

     

     

    Nomachine Linux Mint 20.1 2021 10 10 09 19 40
  4. #4
    Aero Aero @Aero◻️
    🔨

    I can reproduce the error in 1.1.1 when using a template with no layers.

  5. #5
    Polygon Polygon @Polygon🌶

    Yup - that´s it; not working in "roots".

  6. #6
    Johnny_85E Johnny_85E @Johnny_85E

    Thank you Polygon, your solution did help me out, and gave me additional tools, too. Tools I did not know before (within the path effects).

    To the others: Thank you for checking and finding, where the error comes from!

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Error with ModifyPath-Perspective Extention on v1.1