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

[BUG] Constraints Angle supplementary and Distance switch from Horizontal to Vertical or vice versa edits the sketch badly #479

Open
dimitarsp opened this issue Aug 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@dimitarsp
Copy link

Contact Details

No response

Description

When creating an angle constraint, and clicking on measuring supplementary angle, it tries to adjust the sketch with the current angle applied in the supplementary direction.

For exmample if I am measuring a 30° ∢, I expect on clicking the supplementary option to give me 70°. Instead, it adjusts the sketch so that the 70° ∢ becomes 30°

Similarly, when creating a distance constraint, swtiching from None to Vertical or Horizontal, it keeps the non-aligned distance and applies it to either the vertical or horizontal direction.

For example if I am measuring a line to be 8m at a 45° ∢, and choose instead Vertical, it applies that 8m to the vertical so that the segment becomes 11.314m long

This behaviours seems to be this way only if adjsuting the options in the previous command area in bottom left-hand corner. When adjusting and the options of constraings via right-clicking on the constraints, it works as expected

Addon Version

0.27.5

Blender Version

2.42.1

What platform are you running on?

Windows

@dimitarsp dimitarsp added the bug Something isn't working label Aug 28, 2024
@MagicBOTAlex
Copy link
Contributor

MagicBOTAlex commented Sep 1, 2024

Here's some images of what they mean:

Original example

image

What currently happens when change to vertical

image

What they want

image

Correct me if I'm wrong

@hlorus
Copy link
Owner

hlorus commented Sep 2, 2024

IMO the behavior should not always be the same, ideally it should depend on the order the values are set.
-> If a distance constraint is added and the distance value is set before the alignment the value shouldn't be changed, even if that edits the sketch.
-> If the order is the opposite the value should be edited but the placement of entities shouldn't be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants