Setting Rotation snap to 5 degree

General discussions about Inkscape.
nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Setting Rotation snap to 5 degree

Postby nihon94 » Thu Aug 16, 2012 7:35 pm

Hello,

(Default settings) Inkscape Preferences/Steps/Rotation snaps every 15 degrees
I spent several hours :geek: just to find out how to set the rotation snap to 5 degrees but I can not find out how to do that :oops: . Even setting degrees manually by entering values seems not possible. I wonder if, there is a way I can do it?

Thank you.

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Setting Rotation snap to 5 degree

Postby nihon94 » Thu Aug 16, 2012 8:36 pm

Thank you very much for detailed reply. :D
-----------------------------------------------------------
It seems the answer has just disappeared :shock:

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Setting Rotation snap to 5 degree

Postby druban » Thu Aug 16, 2012 8:54 pm

Warning: this does not work, but it should!
Open your preferences.xml file in your user /appdata/inkscape folder (don't touch the preferences file in the progam files/Inkscape folder!!)
Find the string

Code: Select all

<group
       id="rotationsnapsperpi"
       value="12" />

change it to

Code: Select all

<group
       id="rotationsnapsperpi"
       value="36" />

This should work (it's 180 divided by snap angle) but it doesn't seem to accept any setting that's not already in the menu, at least not in any version that I have. You might have better luck. It probably is hard coded 'incorrectly' (not criticizing!) and you can file a request - maybe it's even a known bug.
Some more knowledgeable person may have more useful input.
Your mind is what you think it is.

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Setting Rotation snap to 5 degree

Postby nihon94 » Thu Aug 16, 2012 10:10 pm

Thank you very much for the clarification.

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Setting Rotation snap to 5 degree

Postby nihon94 » Fri Aug 17, 2012 3:07 am

Finally I found the "rotationsnapsperpi" I am attaching screen shot. Value is 30.
Should I change it to as you have said earlier?

Thank you.
Attachments
1Group id.jpg
1Group id.jpg (11 KiB) Viewed 3720 times

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Setting Rotation snap to 5 degree

Postby brynn » Fri Aug 17, 2012 3:32 am

Inkscape Preferences > Steps > Rotation snaps

Edit
Ooh, I see. While Inks Prefs offers many different options there, 5 degrees is not one of them. How strange -- it would seem 5 degrees would be a commonly needed option. But I guess "rotation" implies circle, and circles 360 degrees, or multiples of 6.

I'm thinking since the option is not available in Inks Prefs, it can't be changed in preferences.xml. But I could be so wrong :lol:

nihon94
Posts: 100
Joined: Tue Nov 29, 2011 10:23 pm

Re: Setting Rotation snap to 5 degree

Postby nihon94 » Fri Aug 17, 2012 3:49 am

Thank you for reply.
By using Inkscape my mathematics is improving. :D
I used 6 degree it was not bad but I needed 5 degree so I tried Pattern along path by setting distance was nearest then I tried Ctrl+Shift+M and used Rotate with the value of 5 and it helped me. :geek:

I am also surprised Inkscape should have atleast 4 and 5 degrees. 5 degree is commonly used in typical drawings. But I can not say anything as this Inkscape is a Freeware :D .

Thank you for help.


Return to “General Discussions”