[Plugin] Script selects the line or face.(UPDATED 15/02/16)
-
I added a tutorial to this plugin as I think it is an essential tool in SketchUp.
-
Sahi
Just a killer app and thank you very much
dtr
-
Great concept. Congratulations, sahi. And thank you, Rich, for that video.
Now, a real trick would be to select only vertices.
-
sahi,
great plugin! I suggest you change the title of this topic to reflect the exact name of your plugin. otherwise people will have a hard time find it, as was my case. something like [Plugin] selection_edge would work nicely. by the same token, why does the name of the plugin reflect what it does? selection_edge does not tell one that it also select faces.
best regards.
-
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.
Advertisement