Inkscape.org
Beginners' Questions Transform TEXT object into trapezoid form
  1. #1
    LiMEntal LiMEntal @LiMEntal

    Dear Friends,

    I am working on a Home Assistant project. For this I need to transform a TEXT object into a trapezoidal shape, because I would like to display text on a 3D wall.

    The Transform tool does not allow this - or at least I haven't figured out how to solve it.

    Can you help me with this?

    Thanks in advance!

  2. #2
    Polygon Polygon @Polygonโš–๐ŸŒถ

    Hi.

    Convert text with Path->Object to Path and call Path->Effects->PerspectiveEnvelope - take the Node tool to drag the frame into desired trapezoidal shape:

  3. #3
    LiMEntal LiMEntal @LiMEntal

    Thank you, Polygon! But I would like to keep the object type as TEXT. Because, I want to automatically update the text in the Home Assistant. In fact, I want to print temperature data on the wall, the value of which is constantly changing.

  4. #4
    Polygon Polygon @Polygonโš–๐ŸŒถ

    Understandable - then make a clone of the Text object and call LPE  Path->Effects->PerspectiveEnvelope on the clone and take the Node tool to drag the frame into desired trapezoidal shape. Now you can change original text object and its clone will change automatically. Sometimes it needs a little push to update:

     

  5. #5
    Hum Hum @Hum
    *

    These are two great ideas by Polygon.

  6. #6
    Polygon Polygon @Polygonโš–๐ŸŒถ

    (Is that you Kenneth? How does the transformation come about?)

  7. #7
    Hum Hum @Hum

    Hi, Polygon

     Yes, this is Ken. I chose to alter my "moniker" here in the forums due to some security (questionable activity) from some folks. Now I am "Hum" and hopefully will keep humming along without any such shenanigans again.

    Polygon ... I have learned from you over the years and truly appreciate your shared knowledge and generous output and frankly, your stick to it ness.

    Thank you, Polygon.

  8. #8
    Polygon Polygon @Polygonโš–๐ŸŒถ

    ๐Ÿค— That's not why I asked -  was just confused by your avatar plus different name. I'm glad if I can help a little here and there.

  9. #9
    LiMEntal LiMEntal @LiMEntal
    *

    Polygon, thank you for your second solution. Unfortunately, the clone-update doesn't work in the Home Assistant when I change the text (service: floorplan.text_set).

    The transform CSS property works. So, I think I have to use this somehow.

  10. #10
    Polygon Polygon @Polygonโš–๐ŸŒถ

    Iยดm not familiar with "Home Assistant" unfortunately.

  11. #11
    LiMEntal LiMEntal @LiMEntal

    No problem. I will find the right way. ๐Ÿ™‚

    Thank you for your help so far!

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Transform TEXT object into trapezoid form