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

Change how bend is controlled by mouse #16

Open
thomthom opened this issue Jun 29, 2018 · 1 comment
Open

Change how bend is controlled by mouse #16

thomthom opened this issue Jun 29, 2018 · 1 comment
Assignees

Comments

@thomthom
Copy link
Owner

Change to dragging the reference segment. Using Directional cursor from TT_Lib.

Draw a circular plane at mid point of reference segment, with arrows pointing in each direction - to indicate to the user that this can be interacted with.

@thomthom thomthom self-assigned this Jun 29, 2018
@thomthom thomthom added this to To do in MVP via automation Jun 29, 2018
@thomthom
Copy link
Owner Author

thomthom commented Jul 5, 2018

Needs more thought. The sagitta isn't ideal either. Close to 0 or 360 degrees the amount of mouse movements will cause large angle change.

Current implementation uses the reference segment as the circumference for a 360 degree bend. The "bend distance" is then used to get a ratio between it and the circumference. That ratio is used to work out an angle - which yield a liner adjustment of the bend.

@thomthom thomthom removed this from To do in MVP Jul 5, 2018
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