Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Rotate based on length and direction #892

Open
slspencer opened this issue Mar 20, 2023 · 0 comments
Open

Feature: Rotate based on length and direction #892

slspencer opened this issue Mar 20, 2023 · 0 comments

Comments

@slspencer
Copy link
Collaborator

slspencer commented Mar 20, 2023

Describe the new feature you would like to see in Seamly
Add a Rotate tool where the user inputs the length, or "chord", to rotate selected objects around a selected center point.

  1. The user selects objects
  2. The user inputs the length (e.g. chord), direction (clockwise or counterclockwise), and rotation point
  3. The user selects an object from the dropdown list. This object will rotate using the given length, the remaining objects will rotate respective to this object.
  4. The tool calculates the angle with:
clockwise direction =  -1
counterclockwise direction = 1
rotation angle = (direction) * atanD(distance/(length between the rotation point and the object selected in the dropdown list)
  1. The tool rotates the objects by the angle using the current Rotate tool.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant