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

    [Plugin] Three Line Tools (Updated March 9th, 2009)

    Scheduled Pinned Locked Moved Plugins
    117 Posts 43 Posters 74.0k Views 43 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.
    • P Offline
      Panga
      last edited by

      Chris,

      Thanks again for answering so quickly to my request, and It seems that will help others !!

      @unknownuser said:

      I got a usability suggestion to this plugin. Instead of using the messagebox to enter the values, why not use the VCB? When you activate the tool you enter the length you want, then you can freely click point where the lines are created without having to press enter while you type. And you can also at any point type in a new value for other lengths. going around the model very quickly until you deactivate the tool.

      It works pretty well, but if you can implement the Thomthom suggestion, this'll be the perfect tool __ πŸ˜‰

      Panga.

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

        chris,

        you are on a roll! one more useful script. very soon you will be among our ruby masters.

        regards.

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

        1 Reply Last reply Reply Quote 0
        • W Offline
          watkins
          last edited by

          Dear Chris,

          Will your script make normals to surfaces? For example, suppose one has an inclined plane on which one has placed a construction point. Can one use your plugin to create a normal of specified length at the construction point?

          Regards,
          Bob

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            @thomthom said:

            Chris, you're on fire! πŸ˜„ Don't think I've seen so many plugins rolled out so quickly. Good work.

            Thanks Thom! so far they are all mostly pretty simple scripts that I can write in a day or less. I'm scared of the big multi-day scripts!

            @thomthom said:

            I got a usability suggestion to this plugin. Instead of using the messagebox to enter the values, why not use the VCB? When you activate the tool you enter the length you want, then you can freely click point where the lines are created without having to press enter while you type. And you can also at any point type in a new value for other lengths. going around the model very quickly until you deactivate the tool.

            I think I'm not fully understanding this one. The VCB option workflow is:

            Click on point
            Type value (if necessary)
            hit enter
            repeat

            right? That is the exact same workflow for the way script is set up now. Is there something I'm not seeing there? I don't mind setting it up with the VCB, I just couldn't see any real added benefit to it.

            @rv1974 said:

            Chris are you working beside cradle? πŸ˜†

            Actually, yes I am. I was up til 3:30am with a sick, which helped me get a lot of script writing done πŸ˜„

            @Bob Watkins - I really like that idea! I think that will require a separate plugin. I wouldn't want to add a pop-up box each time you start this script asking if you want vertical mode or normal mode. So let me make a new script for it. Maybe they can both be housed under a submenu together or something to help conserve precious space in the plugins menu.

            Thanks everyone for testing the script and the feedback. Hopefully I'll have some update news shortly!

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @chris fullmer said:

              I think I'm not fully understanding this one. The VCB option workflow is:

              Click on point
              Type value (if necessary)
              hit enter
              repeat

              right? That is the exact same workflow for the way script is set up now. Is there something I'm not seeing there? I don't mind setting it up with the VCB, I just couldn't see any real added benefit to it.

              I was thinking more like:

              Activate tool
              Type length value
              click on points (the length of the line will be the last value entered into the VCB)
              click some more points
              Type in new VCB value
              click new points

              You only click enter when you need to change the length of the lines. As long as the lines you make are the same length you don't have to enter any values.

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • Chris FullmerC Offline
                Chris Fullmer
                last edited by

                Aha! I get it now. Yes, that is an even faster workflow than the current one. I think that will require some VCB figuring-out on my part. But it sounds great!

                Chris

                Lately you've been tan, suspicious for the winter.
                All my Plugins I've written

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  Don't think you have to change much. Take out the input box in the onLButtonUp event. Add the onUserText http://groups.google.com/group/SketchUp-Plugins-Dev/web/Ruby-Tool.html#onUserText where it sets @@last_height to the users input. ...I think from looking at the code quickly...

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    @thomthom said:

                    Don't think you have to change much.

                    That is music to my ears! I'll check it out later today after class (or maybe during πŸ˜„ )

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

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

                      @unknownuser said:

                      rv1974 wrote:Chris are you working beside cradle? πŸ˜†

                      Actually, yes I am. I was up til 3:30am with a sick, which helped me get a lot of script writing done πŸ˜„

                      I simply heard a baby crying on the tutorial's background)

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        @watkins said:

                        Will your script make normals to surfaces? For example, suppose one has an inclined plane on which one has placed a construction point. Can one use your plugin to create a normal of specified length at the construction point?

                        UPDATE! Yes, I finally got this implemented. Thanks for the suggestion Bob. This plugin now offers 3 tools. Vertical line by height, by elevation and Normal Line. Normal lines will work on a face, edge, or vertex. I've updated all the info in the first post and also the video is new too and it shows how to use the three tools. Though you can probably figure it out faster than watching the video πŸ˜„ Hope its useful,

                        Chris

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

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

                          chris,

                          thanks for the upgrade. deceptively simple, enormously useful.

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

                          1 Reply Last reply Reply Quote 0
                          • broomstickB Offline
                            broomstick
                            last edited by

                            this plugin IS AWESOME!

                            Tell me: does it work on mac?

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

                              Should work on a mac, there are very few platform dependant plugins.

                              http://remusrendering.wordpress.com/

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

                                @broomstick said:

                                this plugin IS AWESOME!

                                Tell me: does it work on mac?

                                it surely does. no problem at all.

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

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kwistenbiebel
                                  last edited by

                                  Wow Chris! You are really on a roll here making these tools.
                                  I can sense you enjoy coding it. And it is so cool you share it with us.
                                  Thanks mate!

                                  1 Reply Last reply Reply Quote 0
                                  • pilouP Offline
                                    pilou
                                    last edited by

                                    Suggestion : just enter one time the measure
                                    then at each click a vertical is drawn
                                    Esc = Escape for choose another type and measure πŸ˜‰

                                    Frenchy Pilou
                                    Is beautiful that please without concept!
                                    My Little site :)

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

                                      @unknownuser said:

                                      Suggestion : just enter one time the measure
                                      then at each click a vertical is drawn
                                      Esc = Escape for choose another type and measure πŸ˜‰

                                      good suggestion. this would make the tool even more agile to use.

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

                                      1 Reply Last reply Reply Quote 0
                                      • Chris FullmerC Offline
                                        Chris Fullmer
                                        last edited by

                                        @unknownuser said:

                                        Suggestion : just enter one time the measure
                                        then at each click a vertical is drawn
                                        Esc = Escape for choose another type and measure πŸ˜‰

                                        Oh yeah, that was another feature I wanted to implement. Thom even gave me a starting point. I've got a little bit of time today, maybe I'll get it worked out during that. Thanks for the comments and compliments everyone. And yes, I am really really enjoying coding.

                                        Chris

                                        Lately you've been tan, suspicious for the winter.
                                        All my Plugins I've written

                                        1 Reply Last reply Reply Quote 0
                                        • pilouP Offline
                                          pilou
                                          last edited by

                                          And if you can make the same for the Greeble that will be also a super crazy cool plug! β˜€
                                          Ergonomic must be the first thing to think for a plug! πŸ˜‰
                                          Keep the good work! 😎

                                          Frenchy Pilou
                                          Is beautiful that please without concept!
                                          My Little site :)

                                          1 Reply Last reply Reply Quote 0
                                          • Chris FullmerC Offline
                                            Chris Fullmer
                                            last edited by

                                            Hey Frenchy, I know you have issues with too many plugins cluttering your menus. Would it be helpful if I tried to make all my plugins register themselves with the extension manager, so you could disable them or enable them as needed? That way you wouldn't have to have all my plugins showing in the menus until you need them. Would that be useful?

                                            Chris

                                            Lately you've been tan, suspicious for the winter.
                                            All my Plugins I've written

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

                                            Advertisement