sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    TextTag

    Scheduled Pinned Locked Moved Developers' Forum
    15 Posts 9 Posters 2.5k Views 9 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TIGT Offline
      TIG Moderator
      last edited by

      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...


      TextTag.rb

      TIG

      1 Reply Last reply Reply Quote 0
      • EdsonE Offline
        Edson
        last edited by

        thanks, Tig, for one more very useful script.

        edson mahfuz, architect| porto alegre β€’ brasil
        http://www.mahfuz.arq.br

        1 Reply Last reply Reply Quote 0
        • S Offline
          stuartb
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • boofredlayB Offline
            boofredlay
            last edited by

            πŸ˜„ BRILLIANT! πŸ˜„

            http://www.coroflot.com/boofredlay

            1 Reply Last reply Reply Quote 0
            • D Offline
              dtrarch
              last edited by

              Hi TIG

              Great idea and thanks.
              A vote here for a larger text entry box and how about a
              pointer arrow too!?

              dtr

              1 Reply Last reply Reply Quote 0
              • D Offline
                dtrarch
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Charlie__V
                  last edited by

                  awesome TIG,

                  Thank Lots,

                  Charlie

                  Precision M1710/Win 7 Pro 64 bit/i-7 6920 Quad core 2.9 Ghz -3.8/16Gb ram/NVIDIA M5000M 8Gb

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rhankc
                    last edited by

                    This is a nice tool TIG, Thank you!

                    Hank

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      rhankc
                      last edited by

                      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.

                      Hank

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        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...


                        TextTag.rb

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • daikuD Offline
                          daiku
                          last edited by

                          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.

                          Clark Bremer
                          http://www.northernlightstimberframing.com

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            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...


                            TextTag.rb

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • boofredlayB Offline
                              boofredlay
                              last edited by

                              Thanks Tig!

                              http://www.coroflot.com/boofredlay

                              1 Reply Last reply Reply Quote 0
                              • V Offline
                                Vander
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • TIGT Offline
                                  TIG Moderator
                                  last edited by

                                  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... πŸ€“

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post
                                  Buy SketchPlus
                                  Buy SUbD
                                  Buy WrapR
                                  Buy eBook
                                  Buy Modelur
                                  Buy Vertex Tools
                                  Buy SketchCuisine
                                  Buy FormFonts

                                  Advertisement