[Plugin] Component Stringer UPDATED May 23, 2013

[Plugin] Component Stringer UPDATED May 23, 2013

Postby Chris Fullmer » Sat Nov 14, 2009 9:56 am

This script will take a component and apply it to a series of connected lines.

Select a series of connectd edges, they can not form a closed loop. Also have a single component selected (it will not work on groups).

Then activate this script in Plugins > Chris Fullmer Tools > Component Stringer.

It will show you wich end of the edges is the start and the end. It will ask if you want to reverse their direction. It then asks if you want to use a uniform scale, or just stretch the component.
Please watch the video for a demonstration.





History:
1.3.1 2013-23-2013
  • Extension Class Compatibility

Chris
6902
24
Last edited by Chris Fullmer on Thu May 23, 2013 10:56 pm, 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] Component Stringer

Postby CadFather » Sat Nov 14, 2009 10:15 am

Thanks Chris

it's funny how many different angles you land on sketchup from..
0
User avatar
CadFather 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Component Stringer

Postby thomthom » Sat Nov 14, 2009 12:19 pm

Ok - I want to see someone making a dinosaur skeleton with this! :D
1
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] Component Stringer

Postby Gaieus » Sat Nov 14, 2009 12:27 pm

Hi Chris,

interesting and very cool plugin again, thanks!

I was wondering however if you could make it somehow that the plugin would rotate every second bit so that you could build chains with it easily.

(Although now as I am writing this, I realise that there would be more as well - like those components should also overlap the line segments so that the link into each other - and also what if the line curves in all 3 dimensions so forget it)
0
User avatar
Gaieus 
 

Re: [Plugin] Component Stringer

Postby TIG » Sat Nov 14, 2009 12:45 pm

Gaieus wrote:Hi Chris,

interesting and very cool plugin again, thanks!

I was wondering however if you could make it somehow that the plugin would rotate every second bit so that you could build chains with it easily.

(Although now as I am writing this, I realise that there would be more as well - like those components should also overlap the line segments so that the link into each other - and also what if the line curves in all 3 dimensions so forget it)

Make half chain link (U) and use this tool then edit that chain and copy/hand the U geometry into an O loop of say 2.2 the original length, now you have your links; us 'make unique' on one of the links, edit it and rotate its contents 90 degrees. Select every other link and replace with this rotated one... a chain... done.
1
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Component Stringer

Postby pilou » Sat Nov 14, 2009 1:39 pm

Well: a new killer plug indeed :fro:
Axis of component must be adequate ;)
0
Last edited by pilou on Sat Nov 14, 2009 3:26 pm, edited 2 times in total.
Frenchy Pilou
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Component Stringer

Postby mitcorb » Sat Nov 14, 2009 3:12 pm

Verry interesting.
I must test this. And thank you. You have become a formidable ruby master.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

Re: [Plugin] Component Stringer

Postby MALAISE » Sat Nov 14, 2009 5:36 pm

Hi Chris

Not only you're a quite good teacher, but I begin to think that you get also a lot of fun when writing ruby's. :thumb: :thumb:

MALAISE :D
0
La Connaissance n'a de valeur que partagée
User avatar
MALAISE 
 

Re: [Plugin] Component Stringer

Postby EscapeArtist » Sat Nov 14, 2009 5:49 pm

Gaieus wrote:Hi Chris,

interesting and very cool plugin again, thanks!

I was wondering however if you could make it somehow that the plugin would rotate every second bit so that you could build chains with it easily.

(Although now as I am writing this, I realise that there would be more as well - like those components should also overlap the line segments so that the link into each other - and also what if the line curves in all 3 dimensions so forget it)



I gotta second this idea. I don't know if it's even possible. I made a 3d spiral in which the line segments decrease in length linearly towards the center, and applied the script. That created components that followed the size decrease. I'd like them to rotate "X" degrees per segment, along the lines of "follow me and rotate" or FFD, but those only work with connected faces; I'd like to see if it can be done with individual components along the axis of the path followed. Any way you can think of to do that, with or without the plugin?

Either way, great plugin! Thanks!
0
User avatar
EscapeArtist 
Top SketchUcator
 

Re: [Plugin] Component Stringer

Postby simon le bon » Sat Nov 14, 2009 8:55 pm

Dear Chris,

A lot of people are waiting for long a set of tools to make copy of objects along a path.
With this Component Stringer, we get one of them. A cool one.

It is very easy to do various necklaces with it.
I have played it and threw an eye on some corners of it's possibilities.




:thumb:

What it is not made for:

>>It is not made to make chains when links are imbricated together.
I have tried TIG solution (not exactly the same) with a rather poor result..

TIG wrote:Make half chain link (U) and use this tool then edit that chain and copy/hand the U geometry into an O loop of say 2.2 the original length, now you have your links; us 'make unique' on one of the links, edit it and rotate its contents 90 degrees. Select every other link and replace with this rotated one... a chain... done.





Also this tool is not made to mix more than one component on to the path. If we need to do that, we have to do another way.

Thnk you again for this tool! you have a great talent to concoct easy but useful and strong tool..

My respect, Simon.
0
Last edited by simon le bon on Sun Nov 15, 2009 4:47 pm, edited 1 time in total.
User avatar
simon le bon 
 

Re: [Plugin] Component Stringer

Postby TIG » Sat Nov 14, 2009 11:07 pm

Simon

Looks like a chain to me... I hadn't tried it... simply an approach to the 'problem'... :D
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Component Stringer

Postby Chris Fullmer » Sun Nov 15, 2009 12:30 am

Great comments and feedback. I agree there are lots of great possibilities on this one. The main things I would like to tackle first are:

Major to do list
  • Make it work with closed loops!
  • Also it can crash if you select edges that are connected to other edges that are not selected - fix that!
  • The scale is messed up if the component axis is set in the middle of the component - fix that.
After that
  • Add multiple component support - random and ordered placement
  • Rotation - overall rotation and each component rotation settings.
  • Branching edges support
  • Edges that are not connected support
  • Add some pre-made dinosaur bones to the plugin folder for Thom :)

Those are the main things that come to mind and that I've seen suggested that I think are good suggestions. I think that covers most things?

So I should probably go write this instead of sitting here on the forum.

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] Component Stringer

Postby Ecuadorian » Sun Nov 15, 2009 12:35 am

  • Add a Paypal link in the plugin folder
0

Ecuadorian 
 

Re: [Plugin] Component Stringer

Postby EscapeArtist » Sun Nov 15, 2009 12:45 am

Ecuadorian wrote:
  • Add a Paypal link in the plugin folder


Thanks Chris!

...and ditto Ecuadorian's post.
0
User avatar
EscapeArtist 
Top SketchUcator
 

Re: [Plugin] Component Stringer

Postby Chris Fullmer » Sun Nov 15, 2009 1:16 am

I've been thinking about that. As of right now, I am not selling any of my scripts (in time that will change). But for now, I might implement a paypal link.

I also really want to add a link to my all my plugins page, and also a link to my YouTube channel where I'll be uploading all my video tutorials from now on. I want people who download these to have quicker access to the video tutorials I make for my scripts.

So plan on seeing a few items like that being added to my plugins folder eventually.

Chris
1
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] Component Stringer

Postby ken » Sun Nov 15, 2009 1:41 am

Chris

Would it be possible to have each component connect to the beginning of each line segment, but not scale. So the very next component would start before the first one ended. This would make it easier to make chain links to interconnect.

However, thanks for all you great plugins.

Ken
0
Fight like your the third monkey on Noah's Ark gangway.
User avatar
ken 
Premium Member
Premium Member
 

Re: [Plugin] Component Stringer

Postby simon le bon » Sun Nov 15, 2009 1:48 am

Chris Fullmer wrote:I also really want to add a link to my all my plugins page,


The link you put is the link to download clf-component-stringer.rb.
I guess you are talking about this Chris Fullmer plugin' page
which is very useful.!! (And easy to reproduce for each author of this place)
*simon
0
User avatar
simon le bon 
 

Re: [Plugin] Component Stringer

Postby Chris Fullmer » Sun Nov 15, 2009 2:01 am

Oh, you are right. I had put the wrong link. It is fixed now, thanks Simon.

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] Component Stringer

Postby Click Draw » Sun Nov 15, 2009 2:03 am

Hey Chris,

Another awesome script. Thanks very much! I agree that you are at a point now where you could charge for your scripts but I also understand that you need to be comfortable doing that. I will gladly support you when you do. I have bought SOME scripts and I hardly use them, yet. It's obvious that you enjoy writing them and knowing others appreciate it definitely must help. How about you set up that PayPal and let people donate as they download. I'm not sure how long it takes to write these but I'm sure you have quite a few hours put into it so far. Anyway, keep up the great work! Your a good guy Chris!

Cheers,

Jeff
0
Have I mentioned how much of a laugh I get out of some of the Signatures on here!

Click Draw 
 

Re: [Plugin] Component Stringer

Postby Arc » Sun Nov 15, 2009 2:45 am

very cool and powerful.
thank you, Chris.
0
User avatar
Arc 
Premium Member
Premium Member
 

Re: [Plugin] Component Stringer

Postby Click Draw » Sun Nov 15, 2009 3:18 am

first attempt....! Thanks Chris.
0
Have I mentioned how much of a laugh I get out of some of the Signatures on here!

Click Draw 
 

Re: [Plugin] Component Stringer

Postby jeff hammond » Sun Nov 15, 2009 3:40 am

crazy :shock:
nice one chris!
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Plugin] Component Stringer

Postby notareal » Sun Nov 15, 2009 5:42 am

Thanks! I am sure meny will find this usefull. There is still some extra steps needed to make a chain... I wonder how soon some will make working SP roller chain with this :sketchstatic:
0
Welcome to try Thea Render, Thea support | kerkythea.net -team member

notareal 
Thea Render Support
Thea Render Support
 

Re: [Plugin] Component Stringer

Postby Click Draw » Sun Nov 15, 2009 5:55 am

couple more....
0
Have I mentioned how much of a laugh I get out of some of the Signatures on here!

Click Draw 
 

Re: [Plugin] Component Stringer

Postby Ecuadorian » Sun Nov 15, 2009 6:04 am

And thus SketchUp became the easiest way to design a roller coaster.

Ken wrote:Would it be possible to have each component connect to the beginning of each line segment, but not scale.


Right click > Reset scale. You have to do this for each instance. There must be a "mass reset scale" script somewhere. EDIT: It seems there isn't. Make sure to set a keyboard shortcut for "reset scale" so you can do this quickly.

Hey, Jeff, how about something like this?
antonio_gaudi_dragon.jpg
0

Ecuadorian 
 

Re: [Plugin] Component Stringer

Postby Click Draw » Sun Nov 15, 2009 7:00 am

Wow!....did you draw that? Have you tried the script yet or is that your first try with it?
0
Have I mentioned how much of a laugh I get out of some of the Signatures on here!

Click Draw 
 

Re: [Plugin] Component Stringer

Postby Ecuadorian » Sun Nov 15, 2009 7:08 am

:lol: It's a photo, Jeff. This is a famous house by Spanish architect Antoni Gaudí. I'm just suggesting that this script will now make this kind of crazy things possible in SketchUp.

But I know you were just kidding. :)
0

Ecuadorian 
 

Re: [Plugin] Component Stringer

Postby pbacot » Sun Nov 15, 2009 8:52 am

Very cool plugin that ultimately should be very useful, for architectural modeling not just necklaces. Thank you Chris.

We have something like this in our CAD program. Some of the different things that CAD feature does is: place objects contiguously or at a user-set spacing, stretch/shrink and bend objects objects or not. rotate objects or not, rotate randomly, fill the length of a path with various "fudge" settings (gives different number/spacing of objects within path), offset objects from path. Just some options to think of possibilities.
1
MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD
User avatar
pbacot 
Top SketchUcator
 

Re: [Plugin] Component Stringer

Postby pilou » Sun Nov 15, 2009 11:04 am

Suggestion : a little rotation between each components? ;)
Ah damned that was yet in the Todo list :oops:
So this one : change colors between each components (or according with the segment) :)

PS We are listening crickets or cicida during the video plug ;)
0
Frenchy Pilou
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Component Stringer

Postby Click Draw » Sun Nov 15, 2009 2:46 pm

I was gonna ask about the crickets too. Must have been a late night thought process that had to get you up and working.
0
Have I mentioned how much of a laugh I get out of some of the Signatures on here!

Click Draw 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: joonye20, melanina98, Race007, sahandsword, ssabagh123, studiogl, vanduongks29, ZenK and 9 guests