-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Sketcher: chains of geometry generate duplicate points #13391
Comments
We need to make a discussion about these sketcher based UI issues somewhere for a big picture @obelisk79 |
This would be a very deep change that would probably break compatibility with older files. |
It means that the best time to do it is right now. Breaking changes like these will be hard to accept after 1.0. Bigger changes would paradoxically be easier to explain. |
Hi, if we could hide coincidence = red points can totally disappear, then we could hide the auto-created ones. |
@FlachyJoe Yes but it would solve only one aspect of the problem. |
@pierreporte many constraints on segments act internally on their ends so we can't remove them. |
@FlachyJoe This explains why it is a deep change. Can you give some examples of such constraints? |
Is there an existing issue for this?
Problem description
Because vertex of geometric entities (lines, circles, arcs, etc.) are part of them, drawing a shape generate duplicate points at every contact between elements. For example, a rectangle would have eight points, two for each side. Mathematically, it doesn’t make sense. A rectangle has only four points and the sides connect the points. The points are not part of the sides.
In FreeCAD, the consequence is that at every intersection, there are two coincident points, thus a lot of constraints, which need to be shown to the user. It leads to sub-obtimal choices (in my opinion) like coloring coincident points (see #13098), which lead to new problems (see my comments in #13098).
An other likely consequence is that it is impossible to switch the construction status of the vertex, because they inherit the status of their parent. It may be the cause of issue #11920.
Making points independent to other geometric entities will allow to dramatically reduce the number of constraints, thus enabling to use a separate icon to display the remaining ones, like the point on object constraint.
It may also help to better indicate the constrain status of the whole sketch. Currently, a line (the segment and the two vertex) turn green only if everything is fully-constrained. It would maybe allow to color only one point or just the segment when applicable.
Full version info
Subproject(s) affected?
Sketcher
Anything else?
Inspired by discussions in #13098 and #11919.
May be linked to #11920
Code of Conduct
The text was updated successfully, but these errors were encountered: