[Plugin] Select Lines by Length (Updated March 9th, 2009)

[Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby Chris Fullmer » Mon Feb 23, 2009 3:25 am

Descrtiption: This script selects all lines of a specified length.
Usage: You can start with a single line selected and this tool will select all other edges in the model of the same length. OR you can have nothing selected and it will prompt you to supply a length. The length is automatically in the default model units or you can specify ( 12", 2', 10cm, 110mm, etc).



v1.1 - Changed where it loads itself.

Chris
0
Last edited by Chris Fullmer on Tue Mar 10, 2009 9:29 am, edited 1 time in total.
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Select Lines by Length

Postby Panga » Mon Feb 23, 2009 1:05 pm

Nice script Chris, That'll hepl me a lot.

Thanks.
0

Panga 
Premium Member
Premium Member
 

Re: [Plugin] Select Lines by Length

Postby azuby » Mon Feb 23, 2009 1:46 pm

I also coded something similar this night reusing the code form "Select all with same orientation" (SAWSO) It's should be simple to integrate the functionality to select more than one line, Chris.

azuby
0
error initus :: Blocks | CurrentDate | d/Code | extensionmanager | FFlipper | HideEdges | MeasuredArea | ModelHistory* | PluginsHelp | PronButton | SAWSO | SCP | SU²CATT

Bad English? PM me, correct me. :)

azuby 
 

Re: [Plugin] Select Lines by Length

Postby Chris Fullmer » Mon Feb 23, 2009 6:39 pm

True, it wouldn't be that much more code to make it so it allowed for multiple starting lines being selected. Just a single line was the request, but if multiple lines is desired, I could expand it.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Select Lines by Length

Postby pilou » Wed Feb 25, 2009 6:36 pm

Tricky :enlight:
Maybe that be possible to choose something like this

13 <= length < 20 ?
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Select Lines by Length

Postby Dee256 » Sat Feb 28, 2009 12:17 pm

Thanks, Chris! It's stuff save my worktime! Thanks Thanks Thanks!!! :ecstatic:
0

Dee256 
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby sigue2000 » Tue Mar 10, 2009 10:31 am

That's a great script Chris!

Thank you.
It should save me a lot of clicks in the future.
0

sigue2000 
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby pilou » Wed Mar 11, 2009 9:39 pm

It's a pity that works not for a line "grouped" or a line "component"! ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby pilou » Tue Mar 24, 2009 9:42 am

If I want all lines of a selection? (not the faces ! )
Can you add something for that? :enlight:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby thomthom » Tue Mar 24, 2009 10:15 am

Pilou wrote:If I want all lines of a selection? (not the faces ! )
Can you add something for that? :enlight:

viewtopic.php?f=180&t=14975
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby pilou » Tue Mar 24, 2009 11:09 am

Thx I had another one by Matt666
Selection manager
I will try yours also! :enlight:

Yours seems more cozy! :fro:
Even it's a toy! ;) :D
Adopted! 8-)

But if Chris can make something like ">length wished" that will be terrific! :mrgreen:
Like >0
or
>0 & < 12
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby Chris Fullmer » Tue Mar 24, 2009 4:11 pm

I might not get to it right away, but adding a selection length range would be easy enoug to do. Thanks for the suggestion.

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby pilou » Tue Mar 24, 2009 5:19 pm

Cool! :enlight:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby simon le bon » Tue Mar 31, 2009 12:11 pm

Heyhey! Chris,

Clever idea, wonderfull tool. Many thanks, just continue this way, cause we need such tools :thumb: :P :) :D simon
0
User avatar
simon le bon 
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby EarthMover » Sun May 10, 2009 5:56 pm

Chris,

Would it be possible to also have a script that would select faces all of the same surface area?
0
3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup
Content Creator at Skapeup
User avatar
EarthMover 
Premium Member
Premium Member
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby Chris Fullmer » Sun May 10, 2009 10:18 pm

Yeah, thats a good idea. I'll see if I can get that implemented. I have 2 others also in progress right now. Hopefully I'll get a chance to finish some of these up today. Thanks for the suggestion,

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby publied » Wed Jun 03, 2009 10:00 am

chris,
another very interesting plugin from you! nice job. thank you so much.
/paolo
0

publied 
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby bagatelo » Wed Mar 10, 2010 12:56 pm

Very good plugin. Is possible to make plugin work only in selection?
0
While the cat's away, the mice will play
User avatar
bagatelo 
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby Chris Fullmer » Wed Mar 10, 2010 8:34 pm

I suppose I could. The idea would be to select geometry first, then run the plugin and then when you click, lines only get added if you have cliked on something that is selected? Is that what you mean?

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Select Lines by Length (Updated March 9th, 2009)

Postby bagatelo » Wed Mar 10, 2010 11:40 pm

Yes!!!
0
While the cat's away, the mice will play
User avatar
bagatelo 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 9 guests

Visit our sponsors: