Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Sketcher bug: Fully constrained yet still able to drag

johan.rutgeerts
Advocate Advocate
348 Views
6 Replies
Message 1 of 7

Sketcher bug: Fully constrained yet still able to drag

johan.rutgeerts
Advocate
Advocate

 

Four lines, length constrained to be equal to a projected line.

All lines, vertices etc are black.

 

Sketch icon also confirms the fully constrained state:

 

johanrutgeerts_1-1646310063974.png

 

Yet it is still possible to drag the vertices:

 

johanrutgeerts_0-1646310023292.png

 

0 Likes
349 Views
6 Replies
Replies (6)
Message 2 of 7

johan.rutgeerts
Advocate
Advocate

Workaround:

  • Delete the equality constraint with the projected line,
  • Define driven dimension on the projected line,
  • Apply driving dimension to one of the new lines,
  • Use the driven dimension to drive the driving dimension.

johanrutgeerts_1-1646310675977.png

 

This does not invalidate the bug.

0 Likes
Message 3 of 7

TrippyLighting
Consultant
Consultant

The lines are shown fully constrained, but obviously they are not. That is the actual bug!


EESignature

0 Likes
Message 4 of 7

johan.rutgeerts
Advocate
Advocate

 

Mr. @TrippyLighting, you are underestimating me!  😉

 

But you are right that there also are multiple other bugs wrt geometry being shown (or not shown) as fully constrained if it shouldn't, or wrt not being able to drag even if it's underconstrained, etc... I think the sketcher must have a very messy implementation wrt constraints solving.

 

Anyway, in this particular case each line has its equality constraint, so each length should be defined:

 

johanrutgeerts_0-1646313973467.png

 

 

The endpoints of the lines are coincident to the circles, and the projected sketch is also fully constrained:

 

johanrutgeerts_1-1646314046782.png

 

Furthermore, refer to the workaround I posted: if you delete one equality constraint and replace it with an equality relation between dimensions, then suddenly it works correctly.

 

Regards,

Johan

 

 

 

1 Like
Message 5 of 7

HughesTooling
Consultant
Consultant

Having a chain of constraints depending on a previous equal constraint has always tended to lead to problems. If you make all the lines equal to the projected line it works correctly.

Like this you can't drag the endpoint.

HughesTooling_0-1646315755804.png

Even making only 2 lines equal to the projected line work as the chain of constrains is shorter.

HughesTooling_1-1646316069819.png

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


1 Like
Message 6 of 7

johan.rutgeerts
Advocate
Advocate

Thank you, I'll keep it in mind.

 

I still consider this a bug though.

 

Regards,

Johan

 

0 Likes
Message 7 of 7

TrippyLighting
Consultant
Consultant

Ahh,  thanks for the explanatory highlighting. I did not dig that deep into it.

I'd have a rather esoteric feature request. Color cycling for constraint pairs! 


EESignature

0 Likes