Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Stepped rotation + node tangents snapping#650

Open
pgilfernandez wants to merge 3 commits intofriction2d:mainfrom
pgilfernandez:stepped-rotation-v1
Open

Stepped rotation + node tangents snapping#650
pgilfernandez wants to merge 3 commits intofriction2d:mainfrom
pgilfernandez:stepped-rotation-v1

Conversation

Copy link

pgilfernandez commented Nov 15, 2025

Related with #250 and #628 (comment)

While rotating you can use shift modifier for 15o snapping or ctrl/cmd for 1o snapping.
It's indeed compatible with numerical input (it doesn't block it), rotating with R and gizmo.

Note that it is a stepped rotation by 15 or 1 degrees starting with the original rotation value the object had, it is not a snapping rotation where the rotation snaps to "previously fixed canvas rotations" (0o, 15o, 30o, ...). BTW, it's the way Inkscape and other software does it.

Further implementation would be using variables instead, so the rotation steps are configurable via Preferences and make the modifier also configurable (this is more related with shortcuts configuration...), but I don't know if that part should wait for v1.1 as it needs to change that panel... let me know what do you think and we find the right place.

I'm going to investigate if this feature can be as easily be implemented for node tangents too...

KirbysDarkNebula reacted with hooray emoji
pgilfernandez mentioned this pull request Nov 15, 2025
Copy link
Author

pgilfernandez commented Nov 15, 2025

Well, I was able to add snapping to node tangents as well for both normal path nodes and keyframe bezier tangent nodes at the timeline Graph view mode... pretty cool and handy

In the way I found a regression that I also fixed with #651

KirbysDarkNebula reacted with hooray emoji

pgilfernandez changed the title Stepped rotation Stepped rotation + node tangents snapping Nov 15, 2025
pgilfernandez force-pushed the stepped-rotation-v1 branch from b3829f1 to 80d90fa Compare January 1, 2026 11:35
Copy link
Author

pgilfernandez commented Jan 1, 2026

Hi @rodlie,

I've rebased this PR, it works fine in RC3 and adds this nice and requested feature, please, have a look at it and consider it to be included in final v1.0

rodlie reacted with thumbs up emoji

Copy link
Member

rodlie commented Jan 1, 2026

consider it to be included in final v1.0

Sure, will take a look this weekend.

pgilfernandez reacted with heart emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants