TextTag
-
TextTag.rb is a tool that adds a 'flat' 3D text-tag component, that's placed 0.1mm above any face so it remains visible.
You are first prompted for the 'text'...
Note: you type \n for any new-line breaks you require,
e.g. "Text\nTag on\n3 Lines".
You can then choose to change settings, Yes/No: No = skip, the initial def=Yes: it accesses the following settings.
height = of upper-case I in current units: def=100.mm/4".
alignment = Centred, Left, Right: default=Centred.
font = Most TTF Fonts are listed: default=Comic Sans MS
[See 'FONTLIST...' in script to edit list or add your own...
the list is based on most MS Vista TTFs so Mac users might like to add "Helvetica" etc]
[if lists off screen, type start letter, use arrow keys...]
bold = Yes/No: default=No.
italic = Yes/No: default=No.
filled = Yes/No: default=Yes, No=Outline - Edges only.
color = Any Existing/Standard Color: default=Black., using <Default> lets instances be painted other colors.
[if lists off screen, type start letter, use arrow keys...]
layer = Default=TEXT-TAGS, pick another OR make your own.
[if lists off screen, type start letter, use arrow keys...]
face-camera = Yes/No: default=No - best for most uses.
snap = Yes/No: default=Yes - then tag snaps onto picked face - you can always 'unglue' snapped tags later.
These settings are remembered in the model and as attributes in the individual tag definitions.
Each tag has a unique name, e.g. "~TextTag#7", so they will list at the end of the model's components.
Any text-tag is editable by right-click context-menu...
This lets you remake the tag's values as above. except that the tag remains where it was originally placed down.
Tags can be moved and copied, BUT remember that changes to a copy will affect its siblings, if it's not 'made-unique'.
The tag's letters, spacing etc can be edited within the tag instance, BUT remember changes will be lost after tag-editing...Feedback please...
-
thanks, Tig, for one more very useful script.
-
Well . . my initial reaction was . . no no no thats not what I want . . but I downloaded and tried it and actually its pretty brilliant!!! Thanks TIG. You have to wonder why stuff like this isn't available 'out of the box'.
One request . . . I would like a MUCH bigger initial text entry box so I can see what I am typing (the box gets bigger by itself when you go back to edit a long sentence).
What is the maximum number of characters?Amazing stuff TIG! This really opens up Sketchup for me!
Thanks again.
PS How can I get it to export to dwg?
-
BRILLIANT!
-
Hi TIG
Great idea and thanks.
A vote here for a larger text entry box and how about a
pointer arrow too!?dtr
-
TIG
Another request.
How about having the text entry box remain on screen for multiple
text entries or perhaps rt click for repeat entry box.?dtr
-
awesome TIG,
Thank Lots,
Charlie
-
This is a nice tool TIG, Thank you!
-
TIG,
This is really a nice tool! I have been detailing a set of CDs in SU the past two days, and have used it alot. You asked for comments, and I have one. I am finding I have to move the tag up in the z axis 1" to make it stay visible. I wonder if the 1mm is tall enough for text height?
Thanks for this great tool. -
Here's v1.2 of TextTag.rb
Dialog allows 'stand-off' of tag to be set, default=0.1"/1mm: this allows you to stand text-tags above the surface they snap to for visibility reasons...
Cast/receive shadows can now be set: so if standoff needs to be quite large for visibility reasons and shadows need to be on the text-tag won't cast shadow onto the face behind it...
A Proto TextTag >>. DXF exporter has been started... BUT I've stripped it out of this release as it's still too flaky - probably see next release for this...
-
This is really useful, Tig. I love that the tags follow the face around when you move it, but it's not part of the face, or the compI that contains the face. CB.
-
Here's v1.3. It fixes a glitch in the TextTag Editing.
You could select any component as if it were a TextTag and edit it !
Now only lets you edit a TextTag...
DXF export still WIP...
-
Thanks Tig!
-
@dtrarch said:
Hi TIG
Great idea and thanks.
A vote here for a larger text entry box and how about a
pointer arrow too!?dtr
Is there a way to set font to a point size so you can view in layout at different scales.
-
If you are using Layout you are better off doing your text in Layout.
This is a pretty old tool! Try my 2dTools 2dText - it's much more flexible than this old thing... BUT the size is fixed height - you can make it sat 100mm and then make three copies scaled at x2 and x3 use layers called TEXT-100, TEXT-200 and TEXT-300 etc. Put copies on different layers and have only one layer on in a scene-view. Then you can switch the layers as needed so text size seems to varying. 2dText is a 'component' so making layered copies means you can edit one and they'll all change across the layers and the scaling will be kept too...
Advertisement