SketchUcation Plugin Store

 

 

[Plugin] HoverSelect - v1.1d - 26 Nov 09

[Plugin] HoverSelect - v1.1d - 26 Nov 09

Postby Fredo6 » Sat May 09, 2009 5:18 pm

[Chinese version - 26 Nov 09 - 22:00 CET]
Here is the LANG file for the Chinese version, produced by the SuBAR_CLT team at SketchupBar (Diweiman and ShuangYu).
In the attached Zip file, there is a file HoverSelect_ZH.lang, which should go to the HOVERSELECT_Dir_15 subfolder.
Do not forget to download the chinese version for LibFredo6 (see http://forums.sketchucation.com/viewtopic.php?f=180&t=17947&p=144178#p144178).
HoverSelect_ZH.lang.zip

HoverSelect.jpg


[Update - 23 May 09 - 13:45 CET -> HoverSelect 1.1d]
Fixed a bug when selecting geometry with the option 'All Connected' on. The selection was not highlighted, due to a bug in the Sketchup API. So I implemented a workaround.

[Update - 17 May 09 - 16:00 CET -> HoverSelect 1.1c]
Fixed a big bug when selecting within a group or component (signaled by Daniel S).

[Update - 17 May 09 - 08:45 CET -> HoverSelect 1.1b]
Integrated a set of alternative cursors and icons designed by Daniel S. Thanks to him

[Update - 16 May 09 - 23:30 CET -> HoverSelect 1.1a]
Here is an updated version with some additional features, mainly:
  • Edge selection (and un-selection) via rectangle, by mouse dragging, for visible-only edges (but also for all edges, as in native Sketchup)
  • Configuration of the precision for picking edges
  • Options (modifiers and filter) accessible via a button palette (experimental). There are indeed also accessible via the contextual menu and shortcuts.
Doc included has been updated accordingly.
HoverSelect 1.1 still requires LibFredo6 3.1f or higher if you don't have it already installed. See this post for download http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=17947#p144178.

[Update - 10 May 09 - 13:30 CET -> HoverSelect 1.0c]
I modified the strategy for face edges selection. The selection is done on the Mouse up so that if you click down on a face and then move the mose, while the mouse is down, you are in the 'select edges' mode. I think this is more natural, and allow to start the select edge mode even if you don't click down on an edge.

[Update - 10 May 09 - 10:45 CET -> HoverSelect 1.0b]
Fixed a bug concerning the de-selection of the last selected edge.
Also adjusted the Follow mode.

[Initial version - 09 May 09 - 18:30 CET -> HoverSelect 1.0a]
Following an interesting request from AcesHigh, here is a small plugin HoverSelect 1.0, 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).
Snap3.png

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).
The plugin offers several options and working modes:
  • Edge property filter: Plain, Smooth, Soft, Hidden
  • Selection mode: individual edges, extend to curve, extend to all connected, co-facial and follow-it edges (via toggle keys Ctrl and Shift), selection by faces.
  • Undo / Redo (using Arrow keys)
All options are available via short cuts and from the contextual menu (the best is to have a look at it!).

HoverSelect requires LibFredo6 3.1f or higher. See this post for download http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=17947#p144178.

There is 2-page documentation included in the package, accessible from the menu Tools > Fredo6 Collection > HoverSelect. Also watch the section Default Parameters to fix default value at your convenience.
Please, register (free) to access all the attachments on the forums.
Last edited by Fredo6 on Sun Dec 13, 2009 7:02 pm, edited 18 times in total.
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.0a - Multi-selection of Edges

Postby xrok1 » Sat May 09, 2009 6:57 pm

that,s awesome, i've been whining for something like this since i started using SU years ago! :ecstatic:
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!
xrok1
 
Posts: 1966
Joined: Sat Feb 16, 2008 1:53 am
Location: Canada
Name: Rocky

Re: [Plugin] HoverSelect 1.0a - Multi-selection of Edges

Postby Bep » Sat May 09, 2009 7:16 pm

Thanks Fredo for this great effort, :thumb: :thumb:

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

Thank you again for this plugin.

Greetings,

Bep van Malde
Bep
 
Posts: 199
Joined: Thu Nov 15, 2007 8:36 pm
Location: Brunssum Netherlands 50°56'40.91"N 5°58'55.97"O
Name: Bep van Malde
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Intermediate

Re: [Plugin] HoverSelect 1.0a - Multi-selection of Edges

Postby remus » Sat May 09, 2009 9:45 pm

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

Thanks for another very useful plugin, by the way.
remus
 
Posts: 8055
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus

Re: [Plugin] HoverSelect 1.0a - Multi-selection of Edges

Postby EarthMover » Sun May 10, 2009 3:34 am

Great Fredo! Thank you thank you thank you! I also second the request to be able to hover/drag/paint select faces.
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: [Plugin] HoverSelect 1.0a - Multi-selection of Edges

Postby Fredo6 » Sun May 10, 2009 8:58 am

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.
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.0a - Multi-selection of Edges

Postby Fredo6 » Sun May 10, 2009 12:37 pm

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.

Fredo
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby EarthMover » Sun May 10, 2009 3:58 pm

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. :thumb: :thumb: :thumb: You're the man!
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby Howard Leslie » Sun May 10, 2009 5:46 pm

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

Regards
Howard L'
Howard Leslie
 
Posts: 236
Joined: Mon Nov 12, 2007 2:41 pm
Location: Cumbria; UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby Ken » Sun May 10, 2009 7:18 pm

Fredo,

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.

However, thanks for this script. For me, I will find a great deal of use cleaning up models after Intersect with Model.

Again thanks

Ken
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 701
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby AcesHigh » Mon May 11, 2009 1:03 pm

Fredo... you RULE! :ecstatic: :D
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby jmmad » Mon May 11, 2009 5:26 pm

Nice Plugin Fredo
Thxs a lot
more control over selection is one thing SU was laking until now.

Would it be posible to make a ruby that selects multiple endpoints ?
Get Upa !
jmmad
 
Posts: 42
Joined: Sat Dec 27, 2008 8:54 pm
Location: Santiago, Chile

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby Fredo6 » Mon May 11, 2009 8:13 pm

Ken wrote:Fredo,

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.
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby Fredo6 » Mon May 11, 2009 8:14 pm

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

Do you mean vertices?
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby Ken » Mon May 11, 2009 10:07 pm

Fredo6

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.

Again thanks for all your effort in these plugins.

Ken
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 701
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby jmmad » Mon May 11, 2009 10:35 pm

Fredo6 wrote:
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?
Get Upa !
jmmad
 
Posts: 42
Joined: Sat Dec 27, 2008 8:54 pm
Location: Santiago, Chile

Re: [Plugin] HoverSelect 1.0c - Multi-selection of Edges

Postby August » Wed May 13, 2009 3:53 am

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
“An idea, like a ghost, must be spoken to a little before it will explain itself.”
-- Charles Dickens
August
 
Posts: 229
Joined: Thu Mar 27, 2008 1:48 am
Location: Boulder Creek, California
Name: August Mohr

Re: [Plugin] HoverSelect 1.1a - Multi-selection of Edges

Postby Fredo6 » Sat May 16, 2009 9:49 pm

New version HoverSelect 1.1a available, with some additional features, mainly:
  • Edge selection (and un-selection) via rectangle, by mouse dragging, for visible-only edges (but also for all edges, as in native Sketchup)
  • Configuration of the precision for picking edges
  • Options (modifiers and filter) accessible via a button palette (experimental). There are indeed also accessible via the contextual menu and shortcuts.

see main post at http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=18916#p155058
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.1a - Multi-selection of Edges

Postby jmmad » Sat May 16, 2009 11:03 pm

Nice UI update Fredo
I like that "button palette" :sketchstatic: that pops up with the command
Thxs
Get Upa !
jmmad
 
Posts: 42
Joined: Sat Dec 27, 2008 8:54 pm
Location: Santiago, Chile

Re: [Plugin] HoverSelect 1.1a - Multi-selection of Edges

Postby Daniel S » Sat May 16, 2009 11:29 pm

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

I make alternative icons and cursors for this plugin:
Alternative Icons.jpg

Here you can download them:
IMAGES_DanielS.zip

Extract into Plugins\HOVERSELECT_Dir_11 and set this ones in "Tools>Fredo6 Collection>HoverSelect>Default Parameters...
Install Icons.jpg


Thank you again Fredo!!

Daniel S

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).
Please, register (free) to access all the attachments on the forums.
Daniel S
 
Posts: 349
Joined: Mon Nov 12, 2007 6:06 pm
Location: Mar del Plata, Buenos Aires, Argentina

Re: [Plugin] HoverSelect 1.1a - Multi-selection of Edges

Postby Fredo6 » Sun May 17, 2009 7:37 am

Daniel S wrote:This is the next generation of UI in SketchUp!!! :sketchstatic: :sketchstatic: :sketchstatic:
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.

Fredo
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.1a - Multi-selection of Edges

Postby Daniel S » Sun May 17, 2009 11:44 am

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
Please, register (free) to access all the attachments on the forums.
Daniel S
 
Posts: 349
Joined: Mon Nov 12, 2007 6:06 pm
Location: Mar del Plata, Buenos Aires, Argentina

Re: [Plugin] HoverSelect 1.1b - Multi-selection of Edges

Postby l.frisken » Sun May 17, 2009 11:57 am

I have been looking forward to a plugin like this for so long! thankyou so much! :berserk:
l.frisken
 
Posts: 151
Joined: Thu May 08, 2008 6:51 am

Re: [Plugin] HoverSelect 1.1a - Multi-selection of Edges

Postby Fredo6 » Sun May 17, 2009 2:11 pm

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

Fredo
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.1c - Multi-selection of Edges

Postby Fredo6 » Sun May 17, 2009 2:15 pm

New version HoverSelect 1.1c available. It fixes a big bug related to selection from within groups and components.

see main post at http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=18916#p155058
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.1c - Multi-selection of Edges

Postby Matt666 » Sun May 17, 2009 9:43 pm

Fredddooooo!! Mais comment fais-tu !!?? Impressionnant, je suis que je suis complètement fan de tes plugins !! Bravo...

For those who didn't adopt this incredible new plugin:
Sans titre 2.jpg
Please, register (free) to access all the attachments on the forums.
Frenglish at its best !
My scripts
Matt666
 
Posts: 829
Joined: Wed Dec 05, 2007 8:38 am
Location: 48.1184, -1.675
Name: Matt

Re: [Plugin] HoverSelect 1.1d - Multi-selection of Edges

Postby Fredo6 » Sat May 23, 2009 12:46 pm

New version HoverSelect 1.1d (23 May 09) available. It fixes a bug in the 'All Connected' selection mode.

see main post at http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=18916#p155058
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] HoverSelect 1.1c - Multi-selection of Edges

Postby thomthom » Sat May 23, 2009 12:50 pm

Matt666 wrote:Fredddooooo!! Mais comment fais-tu !!?? Impressionnant, je suis que je suis complètement fan de tes plugins !! Bravo...

For those who didn't adopt this incredible new plugin:
Sans titre 2.jpg

Is that the UI? How on earth is that done??
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] HoverSelect 1.1d - Multi-selection of Edges

Postby Matt666 » Sat May 23, 2009 10:16 pm

Is that the UI? How on earth is that done??
Yes :shock: :shock: :shock:
Awesome...
Frenglish at its best !
My scripts
Matt666
 
Posts: 829
Joined: Wed Dec 05, 2007 8:38 am
Location: 48.1184, -1.675
Name: Matt

Re: [Plugin] HoverSelect 1.1d - Multi-selection of Edges

Postby thomthom » Mon May 25, 2009 2:13 pm

How is it one? :shock: I'm really curious.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Next


 

Return to Plugins

Who is online

Users browsing this forum: Google Feedfetcher, holmes1977, mitcorb, qbkowsky, skywishes2 and 6 guests