sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Potential Project

    Scheduled Pinned Locked Moved Developers' Forum
    21 Posts 6 Posters 10.3k Views 6 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.
    • pbacotP Offline
      pbacot
      last edited by

      Add Height from Datum by TIG is the one for giving heights of objects or terrain. However if you want it to work in a specific format you may need some help modifying it. How it gets from SU text to something like a 2d survey format, I couldn't imagine. The numbering thing's a nice idea. I would probably find it nice in LayOut, if I didn't reserve those kind of things for CAD.

      MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

      1 Reply Last reply Reply Quote 0
      • Didier BurD Offline
        Didier Bur
        last edited by

        @odewallrus

        What do you mean "at a set height" ? Is it a constant altitude above ground for all text labels, or a height above the objects/points you click ?
        With more precise specifications, this script would be quite easy to code πŸ˜‰

        DB

        1 Reply Last reply Reply Quote 0
        • O Offline
          Odewallrus
          last edited by

          I was thinking a constant altitude above the ground.

          Typically I would use this for numbering (property) lots and it would be shown in Layout as a parallel projection. numbering 500-1000+ lots becomes quite tedious.

          1 Reply Last reply Reply Quote 0
          • Didier BurD Offline
            Didier Bur
            last edited by

            Hi,

            Here is the first attempt to code what you want (I hope).

            Usage:

            Unzip the archive and place NumberingText.rbs in your Plugins folder
            Restart SketchUp

            Select 'Numbering Text' in the 'Extensions' menu
            Fill the dialog
            Prefix will precede the number (you can include spaces and \n sequence)
            Suffix will follow the number (you can include spaces and \n sequence)
            N.B.: a \n sequence in a text will reject the rest of the text on a new line.
            Altitude will be the height of all the texts above ground

            Click to insert label(s) , Right-clic to change settings, Escape to cancel, Return to end the tool.

            Examples:

            nt1.jpg
            nt3.jpg
            nt2.jpg


            NumeringText.zip

            DB

            1 Reply Last reply Reply Quote 0
            • pbacotP Offline
              pbacot
              last edited by

              That looks excellent!

              MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

              1 Reply Last reply Reply Quote 0
              • O Offline
                Odewallrus
                last edited by

                Didier Bur,

                Thank you. That is awesome! Just what I was looking for. I would like to see only a single enhancement, if it is possible and you would be so kind...

                Are you able to make the text string centered with the mouse click versus left justified at the insert point?

                1 Reply Last reply Reply Quote 0
                • Didier BurD Offline
                  Didier Bur
                  last edited by

                  @odewallrus

                  I'm afraid I can't 😳 . Unfortunately text entities in SketchUp are very basic (as opposed to text in Layout), and they do not have justification properties (because they are automatically left or right justified, depending on the arrow and pin features).
                  I've tried to move the text a little to the left, but this translation depends on the text font and text height, it never gives a good result. A workaround would be to click slighty to the left of the location you want, knowing how long the text is, how big the font is, etc.
                  Best regards,

                  EDIT: I found that using 3DText will do the trick. I'll investigate this πŸ˜‰

                  DB

                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    Odewallrus
                    last edited by

                    Didier Bur,

                    If it is possible with the 3d text or not, Thank you very much. This will be an incredible help that I can use immediately. I am currently finishing up an 1200du project which prompted my initial 'Potential Project' suggestion. I was not expecting anything as polished and flexible as your script, and surely nothing so quickly. πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘
                    I sooooo owe you a beer or 3.

                    1 Reply Last reply Reply Quote 0
                    • Didier BurD Offline
                      Didier Bur
                      last edited by

                      @odewallrus:

                      Here is the second attempt, with it you can insert either 2D texts (like before) and 3D texts (these will be centered on your clicks.

                      Install:
                      Unzip the archive and place Numbering2D3DText.rbs in your Plugins folder (remove any old version)
                      Restart SketchUp, select your option (2D or 3D) in the Draw menu

                      2D Text Usage:

                      Fill the dialog:

                      • Prefix will precede the number (you can include spaces,\n or \t sequences)
                      • Suffix will follow the number (you can include spaces,\n or \t sequences)
                      • Text altitude will be the height (in your current units) of all the texts, above ground (you can use negative values)
                      • Click to insert label(s) , Right-clic to change settings, Escape to cancel, Return to end the tool.

                      3D Text Usage:

                      Fill the dialog:

                      • Prefix will precede the number (you CANNOT include spaces,\n or \t sequences)
                      • Suffix will follow the number (you CANNOT include spaces,\n or \t sequences)
                      • Text altitude will be the height (in your current units) of all the texts, above ground (you can use negative values)
                      • Text font: enter a font name like Arial, Verdana, Tahoma, Times New Roman, etc.
                      • Font Height: the height of the characters, in your current units
                      • Extrude: the width (or depth) of the characters
                      • Click to insert label(s) , Right-clic to change settings, Escape to cancel, Return to end the tool.

                      N.B.: 3D texts will be centered around the points you click, in top view.

                      3DTextSettings.jpg
                      3DTextPoint.jpg

                      Enjoy ! 😎


                      Numbering2D3DText.zip

                      DB

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        Odewallrus
                        last edited by

                        Version 2 works great. Thank you, again. πŸ‘

                        1 Reply Last reply Reply Quote 0
                        • Didier BurD Offline
                          Didier Bur
                          last edited by

                          Hi,
                          Here is the very last final version (I swear) πŸ˜†

                          More options for the 3d texts settings:
                          3dtext_options.jpg

                          Some examples:
                          3dtext_examples.jpg


                          Numbering2D3DText.zip

                          DB

                          1 Reply Last reply Reply Quote 0
                          • O Offline
                            Odewallrus
                            last edited by

                            Those are very nice enhancements. I will try it today on a project. TY.

                            1 Reply Last reply Reply Quote 0
                            • O Offline
                              Odewallrus
                              last edited by

                              Very nice enhancements!

                              1 Reply Last reply Reply Quote 0
                              • jujuJ Offline
                                juju
                                last edited by

                                Neat! Now copy and paste this to Layout API please. 😜

                                (Yes, I am very well aware it doesn't work that way, just commenting on the lack of LO enhancements and wishing we had something like this there.)

                                Save the Earth, it's the only planet with chocolate.

                                1 Reply Last reply Reply Quote 0
                                • O Offline
                                  Odewallrus
                                  last edited by

                                  yup... that would be cool.

                                  1 Reply Last reply Reply Quote 0
                                  • Dan RathbunD Offline
                                    Dan Rathbun
                                    last edited by

                                    I see at least 1 missing feature. The text label layer.
                                    (Imagine having to select all those text objects to change their layer?)

                                    Workaround is to create and change to a "Text" layer (named whatever you please) before creating the text.

                                    I'm not here much anymore.

                                    1 Reply Last reply Reply Quote 0
                                    • Didier BurD Offline
                                      Didier Bur
                                      last edited by

                                      @Dan:
                                      Layer feature done πŸ˜‰ See here: https://sketchucation.com/forums/viewtopic.php?f=323&t=70361

                                      DB

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

                                      Advertisement