Inkscape.org
Beginners' Questions how to get a non-rotated star
  1. #1
    bonaca bonaca @bonaca
    *

    Inkscape 1.4

    Choose the star tool - set five points

    Drag the mouse - the star is there

    But it is always slightly unintentionally rotated, because it is hard to control mouse movement while dragging

    How to prevent this ?

    Tried pressing Ctrl - without success - it just snaps the angle, but I don't want any angle

    Also, how to remove all rotations from an already (multiple times) rotated star ?

    I tried in Transform docker - Rotate tab - entering 0 value - doesn't work

  2. #2
    Lazur Lazur @Lazur

    By holding Ctrl you can snap it to 0°.

    Important to note the angle is still affected at which angle you are dragging with the mouse when drawing the star

     

    If it's a pre-drawn star, not converted to a path, you can try opening the xml editor -Shift+Ctrl+X- 

    to edit out any transformation present. It will probably remove any additional scaling/skewing/translation, 

    since they are usually merged into one transformation matrix with the rotation.

     

    Other option would be rotating a pre-drawn shape manually, using snapping. 

    If object is converted to a path and the star has an even number of spokes it's much easier. 

    Drag a single horizontal/vertical guide line from the ruler and snap it to the object's rotational centre.

    Then rotate object until a spoke snaps to said guide. 

    Needs some testing -works with paths. If star spoke is not snapping, 

    duplicate object -Ctrl+D-, convert to path -Ctrl+Shift+C- and rotate the two objects together as described.

     

    For an odd number of spokes, snap a horizontal/vertical guide line and the object rotational centre to a spoke, rotate until another part snaps.

    Preferably construct the rotational centre with another guide line, and snap the object rotational centre to said position.

  3. #3
    bonaca bonaca @bonaca

    By holding Ctrl you can snap it to 0°

    No, it snaps but not not to 0 deg

     

    the angle is still affected at which angle you are dragging

    but the angle is never 0 deg whatever dragging angle is

     

    It is a shape i.e. a five spokes star - not a path

    Deleting transform item in xml editor removes all transformations, not jus rotations

     

    I can get some close result using ruler guidelines, but never cannot be sure is it mathematically 0 degrees

     

  4. #4
    Polygon Polygon @Polygon🌶

    Check Status Bar for "0" degree:

  5. #5
    bonaca bonaca @bonaca

    It shows 0 but it is not 0

  6. #6
    Polygon Polygon @Polygon🌶

    What I am missing?

  7. #7
    Tyler Durden Tyler Durden @TylerDurden

    Maybe this, note the status bar:

  8. #8
    Lazur Lazur @Lazur

    Really don't know, what's it all about. 

    1. select start tool (press *)
    2. click on canvas 
    3. hold ctrl, and move the cursor in a vertical direction
    4. click with mouse, release holding the ctrl key

     

    If you cannot replicate this, chances are your ctrl key is faulty on your keyboard.

    Also there is a possibility you need to reset the star tool values so it's randomized value is at 0.

  9. #9
    Polygon Polygon @Polygon🌶

    Guide lines are not necessary if "Rotation snaps to every" is a value that makes 360 divisible by 5 in Preferences (in this case).

  10. #10
    David248 David248 @David248
    *

    Once drawn, you can also realign a star this way. Enable snapping to cusp nodes and rotation centers. Tyler's method with a vertical guide over center of rotation and rotating so that the upper apex matches with the guide is simplier, thus.