[Plugin] Script selects the line or face.(UPDATED 15/02/16)
-
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:
http://www.youtube.com/watch?v=zc1lPQlO4h4
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
-
Updated the plug-in in the first message
Advertisement