Text can not be fully constrained

Text can not be fully constrained

Anonymous
Not applicable
1,730 Views
7 Replies
Message 1 of 8

Text can not be fully constrained

Anonymous
Not applicable

Any time I use Text it always shows up as Blue, and the sketch does not get the pin showing it is fully constrained.

In the text commands I tried:

sketch.showunderconstrained

Traceback (most recent call last):

File "<string>", line 1, in <module>

NameError: name 'sketch' is not defined

 

 

0 Likes
1,731 Views
7 Replies
Replies (7)
Message 2 of 8

jeff_strater
Community Manager
Community Manager

I think you are right, @Anonymous.  I will make sure that this is added to the list of fully constrained problem cases.

 

Jeff

 


Jeff Strater
Engineering Director
0 Likes
Message 3 of 8

jeff_strater
Community Manager
Community Manager

This bug has been filed as FUS-34753

 

Thanks for reporting it.

 

Jeff

 


Jeff Strater
Engineering Director
0 Likes
Message 4 of 8

jeff_strater
Community Manager
Community Manager

Actually, my earlier post is not correct.  You can fully constrain a text object.  I had forgotten that you need to constrain the angle of the text as well. In my case, I needed a horizontal constraint to fully constrain the text.  If you have an example that you think is not behaving correctly, post it here, and we'll take a look at it.

 

here's a screencast of a fully constrained text object:

 

 

Jeff

 


Jeff Strater
Engineering Director
0 Likes
Message 5 of 8

Anonymous
Not applicable
I did set the angle in the text dialog to 180 degrees. 
I do not think that there is such a thing as an angle constraint. 
I do note that the text only has a single point to anchor to. Hard to set an angle with a single point. 
0 Likes
Message 6 of 8

jeff_strater
Community Manager
Community Manager

@Anonymous,

 

It would probably be easier if you can share your design.  You are correct that it is currently a bit of a challenge to add an angle constraint to a text item.  You have to do it with an extra line, and a "3 point" angle dimension:

 

Screen Shot 2017-08-28 at 9.00.53 AM.png

 


Jeff Strater
Engineering Director
0 Likes
Message 7 of 8

Anonymous
Not applicable

Wow, text is a lot more difficult to fully constrain than you would think.

1) you have to put an X and Y dimension on one of the corners to firmly place the start of the text

2) you have to put an X and Y dimension on the width and height of the box, even though it has self calculated it based on the text that you entered and on the angle you entered.

3) even though you have now firmly constrained 2 of the corners of the text box (and set the text letters and the angle of the text, which did in fact already calculate the width and height) you have to specify the angle of the rectangle even though it is fully constrained, and can not be at any other angle. Usually this is done by placing a horizontal constraint on the bottom line of the rectangle.

 

I am not sure why this is different than when you draw a rectangle.

A rectangle does not require you to constrain the angle, unless you do a 3 point rectangle. The other rectangles are assumed to be horizontal.

 

Is this related to there being no angle constraint? When you create text you can specify an angle of rotation, but that angle is not factored into the constraints. I think there really should be an angle constraint possible, I would find it very useful.

 

A last note, even though the pin shows up in the sketch symbol to show that it is fully defined, the text stays as blue, which indicates it is not fully constrained

AND

this command still shows an error:

sketch.showunderconstrained

Traceback (most recent call last):

File "<string>", line 1, in <module>

NameError: name 'sketch' is not defined

 

0 Likes
Message 8 of 8

dspringer56
Explorer
Explorer
Anybody having this problem with "text rectangle" try "text following" option instead. Make a fully constrained construction line or other path for the text to follow. This constrained the text for me clean as a whistle. The rectangle selection I couldn't figure out how to constrain.
0 Likes