It is currently Thu Sep 02, 2010 9:50 pm

Registration
Login Help

Advertise Here

[Plugin] Selection Toys (2.2.0) —31 August 2010

FAQMembersRegisterLogin

[Plugin] Selection Toys (2.2.0) —31 August 2010

Postby thomthom on Sat Dec 13, 2008 6:42 pm

Plugin renamed! Please remove old version 1.x before installing version 2.x!

Overview
Set of commands to manipulate selection.


Compatible
  • Sketchup 6+ (Older versions untested)
  • Windows* and Mac


Requires
  • TT_Lib 1.2.0
  • Windows requires Internet Explorer 7 or newer for the UI Manager window to function.


New in version 2
Many many bugs brutally squashed. Accuracy improved. Selection speed improved. A spanking new toolbar with a stupid amount of icons. (Don't worry - it will have to be enabled first!) And last but not least: a UI Manager.

New in version 2.1

New in version 2.2
  • Select Quad-Face loop now accept mulitple start-edges
  • Added Selection filters for Border Edges
  • Added Selection filters for Selection Border
  • Fixed Select Instances by Layer bug
  • Updated some method names to reflect changes in TT_Lib 1.2


Toolbar
Selection_Toys_Toolbar.png

Customize the amount of buttons you want from the UI manager.
Have no fear! You must enable it from Tools->Selection Toys->Enable Toolbar before it appears under View->Toolbars->Selection Toys.

This is to avoid the possibility of the dreaded toolbar mayhem that might occur when you add a new toolbar. So if you never want to use this plugin's toolbar you don't have to worry about it causing problems.

However, if you do enable it, be aware you might suffer toolbar madness - there is nothing I can do about that. I warned yee!


Tools:
Select Edge Loops(1.14.0)
Access: Tools -> Selection Toys -> Select Edge Loop
2009-09-15_125232.png

This select tool will pick out the loops of a face. Using the normal Select modifier keys you can add/remove/toggle their selection. Loops are either the bounding edges of a face or a hole in a face.


Components:
Select Instances - Selects all the instances of the selected component.
(Works just like Rick W.'s Instances script)

Select Active Components - Selects all the instances in the current work space. Excludes everything that's nested inside other components etc.
(Works just like 'Select Instances' when you right click an component from the component browser.)

Select Active from same Layer - Selects all the instances in the current work space of the selected component which is on the same layer.

Select All from same Layer - Selects all the instances of the selected component which is on the same layer.


Dynamic Components:
Same methods as for Components, except that it allows you to select by DC family type. Commands located under 'DC Instances' submenu.


Groups
When you make a copy of a group without modifying it SketchUp keeps a track of each these group items that's similar. You can see the Entity Info give you a number of how many copies there are.
(Commands are located under the submenu 'Copies')

Same selection methods as for Components.

Convert into Components - Converts all the group copies into components. Transformation and materials will be transferred.
Useful for when you have a model where groups where used instead of components.


Edges
Select Quad-face Loop - Select one edge and the connected faces and lines going in either direction from that edge will be selected as long as the faces have four edges. More or less than four edges and the selecting stops at that point.

Image
loop_sphere.png



Faces
  • Select Connected Perpendicular Faces
  • Select Connected Parallel Faces
  • Select Connected Coplanar Faces
  • Connected Faces by Angle
  • Connected Faces by Area
  • Select Perpendicular Faces
  • Select Faces in Same Direction
  • Select Parallel Faces
  • Select Opposite Face
  • Select Faces by Area


Edges/Faces
  • Select Connected By Material
  • Select Connected By Back Material
  • Select Connected By Layer


Entities
  • All on Selected Layers - Select all the entities in the model that are on the same layer as the selected entities.
  • Active on Selected Layers - Select all the entities in the active context that are on the same layer as the selected entities.


Selection Modifier
Selection Submenu - Currently there's two kinds of modifiers. One filters out the type of entity you want. The other deselects the entity you specify.
You can filter/deselect these kind of entities: Edges, Faces, Groups, Components, Guides, Construction Points, Text, Images, Section Planes, Curves, Arcs, Circles, Polygons, nGons, 3D Polylines, Linear Dimension, Radial Dimension, Front Default Material, Back Default Material, Hidden, Soft, Smooth
Other filtering options are filtering entities with default materials, by their layers.
Tip: Assign keyboard shortcuts for these commands for quick selection modification. For instance; Ctrl+1 to Ctrl+9 for the filters and Shift+1 to Shift+9 for the deselectors. Very handy.


Known Issues:
  • Ghost selections appear when selecting all groups/instances and some of them are nested inside other groups or components. (Fixed in Sketchup 7.1.)
  • Convert Groups to Components doesn't transfer glued_to and attributes.


UI Manager
UI_Manager.png

The UI Manager let you add and remove menu and toolbar items. So if there's features you never use you can hide them forever! Check / Uncheck to add or remove - items marked green will be added next time Sketchup starts, items marked red will be removed.
You do not have the required permissions to view the files attached to this post.
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

Re: [Plugin] Selection Toys (1.0.0)

Postby Free Agent on Sat Dec 13, 2008 7:40 pm

wow another old request of mine you've made a reality, so it converts all "similar" groups into instances of a component?!!! :berserk: i wonder if i would be the only one to make use of this script when i made this request i got a lot of technique suggestions :roll:
Image
User avatar
Free Agent
 
Posts: 261
Joined: Thu Jun 05, 2008 10:00 am
Location: Cape Town, South Africa
Name: Sean
Operating system: Windows XP
SketchUp version: 7

Re: [Plugin] Selection Toys (1.0.0)

Postby EarthMover on Sat Dec 13, 2008 7:49 pm

Right on Thomas! Thanks for your efforts! Now if I can only get that damn loop selection tool. :D
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller

Some of my 3D stuff http://www.facebook.com/#!/album.php?aid=178785&id=230582785069
User avatar
EarthMover
 
Posts: 1134
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails
Operating system: Windows Vista 64-bit
SketchUp version: Sketchup 7 Pro

Re: [Plugin] Selection Toys (1.0.0)

Postby thomthom on Sat Dec 13, 2008 8:54 pm

Free Agent wrote:wow another old request of mine you've made a reality, so it converts all "similar" groups into instances of a component?!!! :berserk: i wonder if i would be the only one to make use of this script when i made this request i got a lot of technique suggestions :roll:


Didn't know it was requested. heh :)

It will only convert the groups that are copies of each other. If you where to even just open up one of the group copies SU breaks the link and makes it unique. Even though you've not actually after anything. In fact, SU will even make the group unique if you select the group, minimize SU then restore the window. Go figure...

I suppose it would be possible to compare the content of each group and calculate which ones are 'similar' even though SU claims they are unique. But, I think that'd have to be for when I'm getting more warmed up with this Ruby thing.
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

Re: [Plugin] Selection Toys (1.0.0)

Postby Free Agent on Sat Dec 13, 2008 9:19 pm

yup the thread was called [Req] Similar groups to Components, i bumped it for your viewing pleaure.
Image
User avatar
Free Agent
 
Posts: 261
Joined: Thu Jun 05, 2008 10:00 am
Location: Cape Town, South Africa
Name: Sean
Operating system: Windows XP
SketchUp version: 7

Re: [Plugin] Selection Toys (1.0.0)

Postby thomthom on Sat Dec 13, 2008 9:51 pm

Ah, wonder how I missed such a recent thread on this. Oh well.

So did you also want to make a selection of instances into individual group?
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

Re: [Plugin] Selection Toys (1.0.0)

Postby Free Agent on Sat Dec 13, 2008 10:44 pm

? no just similar groups to components... :thumb:
Image
User avatar
Free Agent
 
Posts: 261
Joined: Thu Jun 05, 2008 10:00 am
Location: Cape Town, South Africa
Name: Sean
Operating system: Windows XP
SketchUp version: 7

Re: [Plugin] Selection Toys (1.0.0)

Postby thomthom on Sat Dec 13, 2008 10:44 pm

EarthMover wrote:Right on Thomas! Thanks for your efforts! Now if I can only get that damn loop selection tool. :D


Here's a beta of version 1.1.1b.
(beta removed. obsolete)

Highlight one edge and click 'Select Loop'.

I've only tried this is faces of four sides. The script currently make this assumption as well, so I don't know how it behaves if you throw in less or more edges.

Here's my test model:
loop selection test.skp
You do not have the required permissions to view the files attached to this post.
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

Re: [Plugin] Selection Toys (1.0.0)

Postby bagatelo on Sun Dec 14, 2008 11:12 am

thomthom

Very good, I like the script very much.

Maybe you can improve the script by make loop selection also in horizontal, not only vertical.
Seu foco determina sua realidade.
http://cg-alex.blogspot.com/
User avatar
bagatelo
 
Posts: 130
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alexandro
Operating system: XP
SketchUp version: 7.1

Re: [Plugin] Selection Toys (1.0.0)

Postby thomthom on Sun Dec 14, 2008 12:05 pm

bagatelo wrote:thomthom

Very good, I like the script very much.

Maybe you can improve the script by make loop selection also in horizontal, not only vertical.


It has not concept of horizontal or vertical. Effectively if you have a cube, select an horizontal line to get a vertical selection, select a vertical line to get a horizontal selection.

It simply starts with the faces on either side of the edge you select and keeps on selecting the opposite faces and edges.
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

Re: [Plugin] Selection Toys (1.0.0)

Postby bagatelo on Sun Dec 14, 2008 5:34 pm

I'm sorry to not explain corret to you, before.

Image
Seu foco determina sua realidade.
http://cg-alex.blogspot.com/
User avatar
bagatelo
 
Posts: 130
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alexandro
Operating system: XP
SketchUp version: 7.1

Re: [Plugin] Selection Toys (1.0.0)

Postby thomthom on Sun Dec 14, 2008 5:50 pm

Ah, yes. I understand now. I will be looking into more looping variations. But no guaranties. This first type was very easy to do.

btw, what application did you use to create the animation?
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

Re: [Plugin] Selection Toys (1.1.2)

Postby Fletch on Tue Dec 16, 2008 1:07 am

Thanks Thomas!

please only update original post with new plugin release... now I'm confused which is latest version of the ruby I should d/l thanks.

re: converting similar groups to components - I seconded the request! and I will use it!

re: loop selection... I have desired this many times... we will see how well it works in practice :D
Fletch
Twilight Render for SU7/6
Image
User avatar
Fletch
 
Posts: 618
Joined: Wed Nov 14, 2007 1:02 am
Location: Milwaukee, WI USA / Rovinj, Croatia
Operating system: Vista and XP Pro
SketchUp version: 7.1

Re: [Plugin] Selection Toys (1.1.2)

Postby thomthom on Tue Dec 16, 2008 10:23 am

Fletch wrote:please only update original post with new plugin release... now I'm confused which is latest version of the ruby I should d/l thanks.

Sorry for the confusion. The one I posted further down in this thread was a beta. Experimental. After some more testing making sure it did what it should do I updated the one in the original post. To avoid further confusion I've removed the other versions now.

Fletch wrote:re: loop selection... I have desired this many times... we will see how well it works in practice :D

Yea, I've not tried it out on very irregular cases. Not sure how it will handle really weird geometry. In order to improve the edge/face selection tool I need to study more the SU API on how to deal with edges, faces and determining their direction and relationships. If anyone with some experience would like to jump in and add some more tools I'd be most happy.
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

Re: [Plugin] Selection Toys (1.1.2)

Postby urs0815 on Tue Dec 16, 2008 10:42 am

thank you for this useful tool! :sketchstatic:
urs0815
 
Posts: 27
Joined: Sat Nov 17, 2007 9:16 am

SketchUcation One-Liner Adverts

by Ad Machine on 5 minutes ago

Sculpteo makes your SketchUp designs real with 3D Printing
Ad Machine
Robot
 
Posts: 2010

Next

 

Advertise Here

Who is online

Users browsing this forum: No registered users and 2 guests