Inkscape.org
Beginners' Questions Create copy of an element
  1. #1
    bernie70 bernie70 @bernie70
    *

    Hello,

    I want to create an extension and in this extension I want to do copy an object of the inkscape chart and put it rotated to a other location on the chart.

    Can you please tell me how I can do this with Inkscape 1.0?

    Thank you very much,
    bernie70

  2. #2
    Tyler Durden Tyler Durden @TylerDurdenโš–

    Here is some information on extensions.

    https://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#extension_updates

    ย 

    ย 

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

    Maybe you want to try out Rotate copies LPE:

  4. #4
    bernie70 bernie70 @bernie70

    Hello,

    thank you for your answers.

    I created a simple chart (see attachment) to show you whatย  I need.

    On the left side there are some symbols. I have a selected (with self.svg.getElementById) Symbol (i.e. Nr. 2 - ID Wind2)and now I want to put this symbol rotated (i.e. 45ยฐ) into the table (i.e. A1).

    Best regards.

    ย 

    Testchart
  5. #5
    Polygon Polygon @Polygonโš–๐ŸŒถ

    Oh - ย I see - but thatยดs out of my knowledge - unfortunately.

    Cheers

  6. #6
    bernie70 bernie70 @bernie70

    Hi,

    I attached the chart again and 2 files (my extension).

    My extension is working now but I think, this is not the easiest way.

    First I putย  the symbol to Pos (0,0), then I rotate it on this position and finally I move it to the end position.

    I also get a depreciated warning.

    Can you tell me if there is an easier way and how I can get rid of the depreciated warning?

    Best regards,
    bernie70

    ย 

    Testchart