# Permission to use this software for any purpose and without fee is hereby granted# Distribution of this software for any purpose is subject to:# - the expressed, written consent of the author# - the inclusion of the present copyright notice in all copies.

Please UPGRADE to this latest version 1.5 if you run OSX High Sierra.

Following an interesting request from AcesHigh, here is a small plugin HoverSelect, helping to select multiple edges by mouse over, a little bit like the Eraser tool in Sketchup (i.e. you click down and then mouse over to select).

Basically,

you click down on a non-selected edge, keep the mouse button down and move the cursor to select other edges until you release the mouse button. Then, you can continue with this method for building progressively the selection. This also means that you will add to the selection by just clicking on edge too.

If you click down on a selected edge, then the mode is Unselection when you mouse-over. Edges will be individually unselected.

If you click down on a face, the tool select all edges of the face, then you can continue adding edge while maintaining the mouse button down.

You exit the tool by clicking in the Empty space (cursor appears as a check mark).

CAUTION: NEVER rename or move files from their folders. If you are unsure of your unzip operation, do it in a neutral folder and check that you reconstruct the right footprint. Then transfer the folders and files to the SU Plugin Directory.

If you run SU8 and above, the strongly recommended installation method is to Autoinstall with the SCF Plugin Store tool.

Note for SU6 and SU7 users, download the rbz file from the plugin store page, and change its extension from .rbz to .zipThen: 1) Open the zip archive 2) Select All (Ctrl A) 3) Extract into the Sketchup Plugin Directory 4) Answer YES to OVERWRITE all existing files if any 5) Make sure you get the correct footprint (one rb file and one folder)

Bep wrote:At my first try i notist that i could not deselect on a click the last selected line ,or reselect the last deselected line.Did i discover a small bug or is this behavour on purpose. Bep van Malde

That was a small bug. Thanks for signaling. I fixed it in the version 1.0b, updated in the main post.

remus wrote:At the risk of sounding like a spoilt child, would it be possible to make this plugin work with faces?

I think this is mangeable for Faces (and actually for any type of entity, for instance group and components, or construction point).

Also, I am looking is I can include a Rectangle and lasso selection. My idea is however to include in the selection edges which are: - visible from the view camera - being totally, but also partially in the rectangle.

Yes Fredo, Lasso and rectangle selection and being able to toggle between complete and partial crossing windows for selection would be absolutely brilliant. This would bring SU's selection tools a little closer to being on par with the rest of the 3D world. You're the man!

Fredo,This selection script of yours sounds brilliant although I've not tried it yet.........An idea If you do implement selection by rectangle........

An idea might be to devise the tool so that if users draw the selection rectangle from the North West corner to the South East corner of the screen (ie top left to lower right) then all geometry COMPLETELY inside this rectangle is selected.

If users draw the selection rectangle from the South East corner to the North West corner of the screen (ie lower right to top left) then all geometry INSIDE AND CROSSING this rectangle is selected.

Hope this makes sense.Thanks very much for all your hard work and effort in devising this tool so far..................

I get a Bug Splat each time I try to open the PDF documentation. Sketchup quits, and give the Bug Splat, however the documentation does open.Ken

If you use my other scripts, can you try with their documentation to see if you get a bugsplat too. I do nothing special (standard UI.openURL) and this may be an issue with your Sketchup configuration or PC environment.

Yes, I do get a Bug Splat when I open up your other documentations. I have other problems also, haven't been able to trace those down to any particular scrip or set of scrip’s. Therefore, I will just go about my way, remembering what not to do, and saving or archiving frequently.

jmmad wrote:Would it be posible to make a ruby that selects multiple endpoints ?

Do you mean vertices?

Yes Fredo it would be nice to select multiple vertices instead of lines, so the we can modify them (rotate, scale, move, etc..) all at the same time.But i have never seen a ruby that does that. Is it possible?

Howard Leslie wrote:... if users draw the selection rectangle from the North West corner to the South East corner of the screen (ie top left to lower right) then all geometry COMPLETELY inside this rectangle is selected.

If users draw the selection rectangle from the South East corner to the North West corner of the screen (ie lower right to top left) then all geometry INSIDE AND CROSSING this rectangle is selected. ...

Just to clarify my possibly mistaken understanding of the conversation so far --

This tool is about ONLY selecting the VISIBLE geometry, right? The above describes what SU already does, selecting ALL geometry inside in the first case, and ALL geometry even partially inside in the second case, including ALL geometry, including parts on the backside of the front object and parts that may be at a great distance.

Howard Leslie is too modest when he says "An idea might be ..." Using the direction the selection rectangle is drawn as the way to toggle what is included should, of course, echo what SU already does. Anything else would be too confusing.

August

0

“An idea, like a ghost, must be spoken to a little before it will explain itself.”

Daniel S wrote:This is the next generation of UI in SketchUp!!! A lot better, quick, easy and more efficient than the webdialogs (and I assume that is also more compatible for macs).

I made a try, but if this works and does not create too much interference, I'll try to extend to other scripts.

Daniel S wrote:I make alternative icons and cursors for this plugin:

Thanks very much. I will integrate.For the button palette, unfortunately the buttons are not image files, but drawing with primitives. I have not found any method to draw png in the viewport.

Daniel S wrote:PS. The new Edge selection via rectangle dosen´t work inside groups (I mean double click on group to edit and then select the hoverselect).

This is intentional. You can only select at the first level of the active model, as in Sketchup native. Anyway, you would have some problem with the selection, if you selected within a component or group.

Fredo6 wrote:This is intentional. You can only select at the first level of the active model, as in Sketchup native. Anyway, you would have some problem with the selection, if you selected within a component or group.

It is difficult to me to explain this in english so i make this gif:

hoverselect.gif

The first time the selection is good because selects all at the first level (visible-only / Ray Cast Selection). The second time I´m editing a group, but dosen´t selects what is inside the group but yes what it is outside. This is intentional? In SketchUp if you are editing a group you can select all what is inside the group and nothing outside. In this case it´s not selecting inside the group and yes outside this group.

Daniel S wrote:The first time the selection is good because selects all at the first level (visible-only / Ray Cast Selection). The second time I´m editing a group, but dosen´t selects what is inside the group but yes what it is outside. This is intentional? In SketchUp if you are editing a group you can select all what is inside the group and nothing outside. In this case it´s not selecting inside the group and yes outside this group.

Daniel S

Daniel,

Thanks for signaling. This is simply a big bug which I fixed in 1.1c (actually a lack of attention).