Placing text on a sketch is very awkward!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So, I just wanted to add a label on one of my models... Seems like a simple enough thing to do. Start a sketch on one of the faces and use the 'Text' command to enter some text. It seemed to work OK until I started trying to position the text. I wanted the text to be centered horizontally and vertically inside a rectangle. I tried using the symmetry constraint to center the construction lines around a center line, but that doesn't work. Once you select the two construction lines (top and bottom for example), it won't let you select the symmetry line. I tried everything I could think of and it just wouldn't work. Yet, I could draw my own rectangle with construction lines and get it to straddle the symmetry line just fine so it seems, that is it something related to the text field.
I did manage to get it positioned where I wanted it by using a convoluted scheme of attaching sketch point mid-line and making them coincidence with other sketch points. Then I had the problem of the sketch points showing up .. It just looked awful. So, I restrained the label in it's position with dimensions and deleted the sketch points. It looked better except for the orange construction box around the label.
It doesn't much matter anyway though because if/when you double clicked on the text field and edit it in any way (change the text, change the font, change the size), the whole label is apparently deleted and recreated from scratch and any dimensions or points you had attached to it are gone and you have to start all over again.
As you can see from the above screenshot, the pivot point is always place at the lower left of the text. Why not give the user the choice of 'left', 'center', or 'right' for horizontal alignment and 'top', 'middle' and 'bottom' for vertical alignment. The pivot and alignment point could then be placed based on these.
When editing the text field, this point should stay constant, so the text would stay where it is supposed to be. Changing the size of the text, the justification, or font should not make any difference in where the text is anchored on the sketch.
Also, being that this stuff is 'parametric', it would be GREAT if there were a way to incorporate user parameters into the text fields. perhaps some kind of escape sequence such as 'UP<parmName>'. This is why I was trying to label my model in the first place.
Jody