[Plugin] Script selects the line or face.(UPDATED 15/02/16)
-
How about Plugin: Select/Isolate Edge or Face.
How about Plugin: Discrete Selection Edge or Face.Either one is all yours-- or none of the above.
-
@rich o brien said:
I added a tutorial to this plugin as I think it is an essential tool in SketchUp.
Hi!
Thanks Rich O BrienPS:I do not speak English so it's hard to explain all the functions of the plug
-
[Edited]
Got it. Can see the difference between this plugin with TT Selection Toys.
Thank you Sahi, for this one, Axes Comp and Krug. I think this should be one of my "must have" plugin -
Thank you very much for sharing
It really is a very convenient plug-in -
This sort of selection don't yet existing in another plugins ? ( Selection Toys etc...)
-
Hi All,
I wonder if anybody else is experiencing it, but this plug-in don't work for me when I use it with SU 2014. Previously in SU8 with select face toggled on even if I triple click a model only face would be selected as expected but for SU2014 edges are included in the selection.
I hope this gets resolved, as its been a real helpful plugin for me. -
I have experienced the same results. Works perfectly in SU8 but fails in SU2014 with no errors reported in the Ruby Console.
-
@snakeysnape said:
I hope this gets resolved, as its been a real helpful plugin for me.
Until then, you can use Thomthoms selections toys as an alternative for this task.
-
The code
edges=sel.grep(Sketchup;;Edge); sel.clear; sel.add edges
works in SU2014 but causes a stack error that crashes SU8.
-
@sdmitch said:
The code...
works in SU2014 but causes a stack error that crashes SU8.on mac both
sel=Sketchup.active_model.selection edges=sel.grep(Sketchup;;Edge).to_a; sel.clear; sel.add edges
sel=Sketchup.active_model.selection edges=sel.grep(Sketchup;;Edge); sel.clear; sel.add edges
work in v8 and v2014
-
Apparently my v8 is different because it still crashes with that addition.
-
my test file had less than 2000 edges so is it a limit?
john -
No I was using a small sample consisting of 3 or 4 faces.
I did find a solution that works in both SU8 and SU2014 and that was to remove the observer before processing the selection and add it back after while using the selection processing code previously posted.
def onSelectionBulkChange(selection) Sketchup.active_model.selection.remove_observer self get_selection_edge(selection) if(@select_edge) # get_selection_edge_smooth(selection) if(@edge_smooth) get_selection_face(selection) if(@select_face) Sketchup.active_model.selection.add_observer self end
-
Hi Sdmitch,
Sorry but can you post the fixed plugin in here? I am confused as to where to put the selection code.
thanks
-
@snakeysnape said:
Hi Sdmitch,
Sorry but can you post the fixed plugin in here? I am confused as to where to put the selection code.
thanks
With apologies to Sahi.
-
Thanks sdmitch,
Thanks also to Sahi hope you don't feel bad we've 'hijacked' your plugin.
-
not work. (sketchup 2014)
-
@sahi said:
The script selects the line or face.
The first icon >> click on it - and only the lines stand out >> again click on it >> disables script
The second icon >> click on it - and distinguished only by persons >> again click on it deactivates the script >>
[attachment=0:7ckaz2yc]<!-- ia0 -->selection_edge.zip<!-- ia0 -->[/attachment:7ckaz2yc]Hi Sahi
Have used this plugin for a long time, but now it do not work in SU 2015 ?
Can you fix that?Thanks for your great support...
Claus
ClausGSPosts: 17
Joined: 20 Jun 2009 10:12 -
if you open the file in notepad++ and find and replace...
if you have the original version
sel.each
to
sel.to_a.each
or if you have sdmitch [faster] version
sel.grep
to
sel.to_a.grep
this works in v2015 for me...
john -
thank you for this tool im using it right now
if its possible to request
add shortcut keys with toggling selection toolright now when paradigm or changing between tools i need to hit ( Face Select > Spacebar ) or ( Edge Select > Spacebar )
i think its more convenient in one keys
like for example if hit X key it will also toggle the selection keyssimilar to other 3D software
Advertisement