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

    [Plugin] HoverSelect - v1.5a - 07 Oct 17

    Scheduled Pinned Locked Moved Plugins
    81 Posts 34 Posters 123.2k Views 34 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.
    • fredo6F Offline
      fredo6
      last edited by

      @chris fullmer said:

      Have you downloaded it and used it Thom? Its an awesome UI!

      I think that it is is done with the view.draw type methods. All the draw, draw2d, draw_points, draw_polyline, draw_text. That is my guess.

      Chris

      Yes, this is actually pure drawing routines in the view. Which is somehow also an issue to capture events when you cascade tools.
      So far, this is experimental, but I'll work on it to retrofit in other plugins.

      Fredo

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

        I thought you could only draw lines and text. Not filled shapes. I need to look at the API again.

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

        1 Reply Last reply Reply Quote 0
        • massimoM Offline
          massimo Moderator
          last edited by

          Hi Fredo, i've not tried this plugin yet and maybe it works for my request. But it's possible to add a filter "by distance" to the selection via rectangle? I try to explain: actually when you select by a rectangle you select all edges and faces in the window even if they are very far and that is quite annoying. I have in mind an option with an input for maximum distance selection like, for example, "select all edges and faces in the window as far as 100 cm". Something like "Max Wall Thickness" in Windowizer 4 plugin.
          Thank you and sorry if that is a nonsense...
          Massimo.

          1 Reply Last reply Reply Quote 0
          • fredo6F Offline
            fredo6
            last edited by

            Massimo,

            This make perfect sense.
            And after all, the tool is there to comply with requests from users.

            I'll do something in a next version.

            Thanks for the idea.

            Fredo

            1 Reply Last reply Reply Quote 0
            • mitcorbM Offline
              mitcorb
              last edited by

              Fredo:
              This would be the variable falloff "brush" available in some other modelers.
              Sure would be nice to have this capability.

              I take the slow, deliberate approach in my aimless wandering.

              1 Reply Last reply Reply Quote 0
              • P Offline
                pichuneke
                last edited by

                Working on the spanish translation (very busy these days...)

                Forgive my spanglish...

                1 Reply Last reply Reply Quote 0
                • EarthMoverE Offline
                  EarthMover
                  last edited by

                  I've grown to use this plugin as much or more than any other. I've actually added it as the shortcut Shift + Spacebar and I'll use in place of the standard selection tool.

                  It is perfect except for one or two things.

                  Fredo,

                  In the next version can you change the way that hitting shift will toggle the "select all connected lines" on? Can it be set that when you let go of shift, the command goes back to standard selection mode? I often have to move and pan around the scene while selecting lines and anytime I pan using shift, it turns on the select all connected lines and I have to turn it back off to keep hover selecting the additional lines. A minor headache, but one nonetheless.

                  Also the select all connected lines is very inconsistent for me. A lot of times it will register that there are connected lines and the arrow will change color and the plus sign will appear, but it will not select anything at all. Then I go to a parallel set of lines that form the same structure and it has no problem. It is an issue with intersecting hidden or softened lines touch the line I want to select continuously?

                  Thanks again Fredo for all your great time saving tools!!!!

                  3D Artist at Clearstory 3D Imaging
                  Guide Tool at Winning With Sketchup
                  Content Creator at Skapeup

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

                    How do you actually draw filled shapes to the viewport?

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

                    1 Reply Last reply Reply Quote 0
                    • fredo6F Offline
                      fredo6
                      last edited by

                      @earthmover said:

                      In the next version can you change the way that hitting shift will toggle the "select all connected lines" on? Can it be set that when you let go of shift, the command goes back to standard selection mode? I often have to move and pan around the scene while selecting lines and anytime I pan using shift, it turns on the select all connected lines and I have to turn it back off to keep hover selecting the additional lines. A minor headache, but one nonetheless.

                      Actually Shift and Ctrl work in 2 modes:

                      1. Toggle: quick press and release
                      2. Keep down while selecting. Normally, when you release the key, it goes back to normal mode. Maybe this does not work very well?
                        So far I have not found other ways for the modifiers (function keys do not work well on Mac and most other keys are taken by short cuts). This is why I added the button palette.

                      @earthmover said:

                      Also the select all connected lines is very inconsistent for me. A lot of times it will register that there are connected lines and the arrow will change color and the plus sign will appear, but it will not select anything at all. Then I go to a parallel set of lines that form the same structure and it has no problem. It is an issue with intersecting hidden or softened lines touch the line I want to select continuously?

                      There are bugs in this version and it may well be related to the soft / hideen lines, depending on how you configured the filter. I encapsulated a different implementation in LibFredo6 which I will retrofit in HoverSelect for a new release. You can see it for instance in RoundCorner 2.1.

                      Fredo

                      1 Reply Last reply Reply Quote 0
                      • fredo6F Offline
                        fredo6
                        last edited by

                        @thomthom said:

                        How do you actually draw filled shapes to the viewport?

                        just use view.draw or view.draw2d with GL_POLYGON, GL_QUADS codes.

                        Note that there is a bug in SU API for the 3D drawing (i.e. view.draw), which does not take into account the color set by view.drawing_color and always draws in black. I have signaled it to the SU team.

                        Fredo

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

                          Ah, I was struggling with that. And drawing a polygon over a face causes z-fighting. 😕 Which there was a nice way to highlight faces...

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

                          1 Reply Last reply Reply Quote 0
                          • wind-borneW Offline
                            wind-borne
                            last edited by

                            Just joined recently to enter the wild, wacky world of ruby. Ran across this thread and realized this might be something i would use regularly, but only a couple of the functions work, no hovering, rectangle or lasso selecting. Clicking an edge, very difficult; clicking a face does select edges easily.

                            Your other tools I downloaded work fantastic.😄
                            Thanks in advance if you can steer me in right direction. 😆


                            ruby.jpg

                            "To read between the lines was easier than to follow the text."OSX 10.11.6

                            %(#BF80BF)[SU 8 pro

                            1 Reply Last reply Reply Quote 0
                            • fredo6F Offline
                              fredo6
                              last edited by

                              The script is now translated to Chinese, thanks to the effort of the CLT Team at SketchupBar.
                              see main post at http://forums.sketchucation.com/viewtopic.php?f=180&t=18916&hilit=plugin#p155058

                              1 Reply Last reply Reply Quote 0
                              • U Offline
                                unclex
                                last edited by

                                Where put the LANG?

                                1 Reply Last reply Reply Quote 0
                                • mitcorbM Offline
                                  mitcorb
                                  last edited by

                                  From what I can tell, this is a tool for edge selection only.
                                  I could sure use a Hoverselect Only Faces as a way to select faces exposed to the camera. Otherwise, you box select every thing in the box from here to the horizon, then you have to unselect the stuff on the other side of the mesh that you discover after orbiting the model.
                                  One good use for a Hoverselect face tool is to then apply Joint Push Pull to those selected faces.

                                  I take the slow, deliberate approach in my aimless wandering.

                                  1 Reply Last reply Reply Quote 0
                                  • mitcorbM Offline
                                    mitcorb
                                    last edited by

                                    So... this is not a good idea?

                                    I take the slow, deliberate approach in my aimless wandering.

                                    1 Reply Last reply Reply Quote 0
                                    • fredo6F Offline
                                      fredo6
                                      last edited by

                                      @mitcorb said:

                                      So... this is not a good idea?

                                      It is...

                                      I may end up doing it in my redesign of HoverSelect

                                      Fredo

                                      1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        blakelywallace
                                        last edited by

                                        Hey Fredo,

                                        Any news on the addition of a lasso selection tool? Would be super handy...

                                        Many thanks for all your hard work 😄

                                        1 Reply Last reply Reply Quote 0
                                        • H Offline
                                          hebeijianke
                                          last edited by

                                          Hi
                                          When I use this tool "Selection by rectangle:"
                                          If I select a line that is hiden
                                          It does not work

                                          1 Reply Last reply Reply Quote 0
                                          • fredo6F Offline
                                            fredo6
                                            last edited by

                                            @hebeijianke said:

                                            Hi
                                            When I use this tool "Selection by rectangle:"
                                            If I select a line that is hiden
                                            It does not work

                                            By default, the rectangle selection selects only on visible edges (like the Eraser tool).
                                            To include all edges, you have to use the Shift modifier (pressed or in toggle mode). The green rectangle border gets thicker and the hidden edges are highlighted.

                                            Fredo

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

                                            Advertisement