Inkscape.org
Beginners' Questions Rotate copies LPE problems
  1. #1
    hildybingen hildybingen @hildybingen

    I’m befuddled by the LPE Rotate copies. I haven’t used it since .92 and I can see that the new handles do all sorts of interesting things. But the settings don’t seem to work as expected on my Windows 10 64-bit, Inkscape 1.1.1. I decided to get down to the simplest object possible, a single straight path to see if that would help me figure this out.

    With the default settings, 6 copies with rotation angle 60, I seem to get 3 copies.

    If I change to 7 copies, I get 7 copies as one would expect.

    Next I used a simple long rectangle converted to a path. Things got weirder. I began with the default of 6 and then moved to 7 copies. On the attached graphic you can see what happened.

    I checked to see where the center of rotation was on the original rectangle, and it did show up in the center.

    What’s going on? I’m attaching the .svg file since I figure someone will ask for it.

    I uninstalled and reinstalled Inkscape just in case. No change.

    Rotation Puzzle
    Rotate Problem
  2. #2
    Polygon Polygon @Polygon🌶

    Let it snap: Drag the "x" to the center.

     

  3. #3
    hildybingen hildybingen @hildybingen

    Thanks, but this LPE should not work the way I described, right? Yours is an ad hoc fix, but not the intended outcome of applying the LPE, right?

  4. #4
    Polygon Polygon @Polygon🌶
    *

    The LPE uses an origin point. A lot of LPS expect the placement at X,Y=0.

    Why this LPE decides the left middle-point as a pivot escapes me:

     

    Although I think you are "abusing" this LPE. It's more about defining a center of rotation on which x objects are placed in a very convenient way:

     

  5. #5
    hildybingen hildybingen @hildybingen
    *

    Thanks, Polygon, that was quite helpful!  Can I assume that no other Inkscape LPEs "expect the placement at X,Y=0"? I took a cursory look through the LPEs and didn't see others--in this version anyway....

  6. #6
    Polygon Polygon @Polygon🌶

    Maybe I was a bit quick as I didn´t make an official test-drive with all LPEs. But extension:Scatter comes instantly to mind and some seems to malfunction on layer:root and will just work on explicit layer which is really confusing.

  7. #7
    hildybingen hildybingen @hildybingen

    🙄 Duh-oh!  I just realized that there is an extremely simple solution to my original "problem. "

    Since the pivot for the LPE is center left, all I have to do is orient the figure so that the point I want to be at the center of the rotation is at center left. If I had oriented the long rectangle horizontally instead of vertically, I wouldn't have had the messy result. Perhaps there was a lot of wisdom for the makers of this LPE to put the pivot to the side rather than the center. At the center, the rotation might not have been as flexible?

    I'm still very glad I posted, though, because it forced me to learn much more about manipulating the pivot point, etc., thanks to Polygon.