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

Redundance constraints as an opportunity to fix the sketch FLIP. #13941

Open
2 tasks done
kaiwas opened this issue May 10, 2024 · 0 comments
Open
2 tasks done

Redundance constraints as an opportunity to fix the sketch FLIP. #13941

kaiwas opened this issue May 10, 2024 · 0 comments
Labels
DWG Input or discussion from Design Working Group needed Feature FR for improvements or new features WB Sketcher Related to the Sketcher Workbench

Comments

@kaiwas
Copy link

kaiwas commented May 10, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

Topic for discussion about fixing a pretty serious problem.
As everyone knows, there is a problem with turning over completed sketches. Despite the fact that they are completely constrained and have a beautiful green color, such sketches can have several possible solutions from the solver's point of view.
Is it correct? The user sees green and assumes that he has done his job (will have a predictable result). But that's not true! Maybe the sketch shouldn't be green if it can have multiple solutions?

I know that to solve such a problem I have to completely break the work already done and reassemble the sketch in the “correct way” (but I don’t always know the right ways).
Instead, I could assign an additional constraint to solve the problem in one second.
But I can’t do this because the excess constraint turns the sketch red and is removed.

In my opinion there should be an additional opportunity to indicate to the solver the necessary solutions.The current behavior limits not the solver. The current behavior limits the user. The user should be in charge, not the solver. If to solve a problem the user needs to drive a nail into the monitor, this should probably be the case.
"You" can call the fixing constraints whatever "you" like. They may not be current. But one solver solution is always better than 10. And if for this you need to assign another constraint, there should be such an opportunity. This is useful.

The test file is attached.
Flip

Flip_sketch.zip

Flip

(UPD/

I thought again. Probably my proposal would not always solve the problem.
But at the same time, I understand that additional (duplicate) constraints could be useful in some cases. But if this cannot be done programmatically, or if something breaks because of this, then of course you need to leave everything as is.

In short, we need some kind of ability to “fix” a sketch without recreating it. Variations:

  1. Use redundant constraints
  2. Use some kind of constraint priority. SO that the less important ones are deleted. (the user himself would decide which constraint is more important and mark it).

If you think that the current situation does not require improvement, just CLOSE THE ISSUE
)

Full version info

0.21.1 & any versions

Subproject(s) affected?

Sketcher

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz maxwxyz added Feature FR for improvements or new features WB Sketcher Related to the Sketcher Workbench DWG Input or discussion from Design Working Group needed labels May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DWG Input or discussion from Design Working Group needed Feature FR for improvements or new features WB Sketcher Related to the Sketcher Workbench
Projects
None yet
Development

No branches or pull requests

2 participants