It is currently Thu Sep 02, 2010 9:53 pm

Registration
Login Help

Advertise Here

[Plugin] Component Stringer UPDATED Nov. 16, 2009

FAQMembersRegisterLogin

[Plugin] Component Stringer UPDATED Nov. 16, 2009

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

clf_component_stringer.rb

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.



Chris

clf_component_stringer.rb
You do not have the required permissions to view the files attached to this post.
Your intelligence will never fully compensate for my stupidity.
Cal Poly Pomona - BS Landscape Architecture
UC Berkeley - Masters of Landscape Architecture
All my Plugins I've written
chrisfullmer.com - Art Blog
User avatar
Chris Fullmer
Global Moderator
 
Posts: 4760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows Vista
SketchUp version: 7.1x

Re: [Plugin] Component Stringer

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

Thanks Chris

it's funny how many different angles you land on sketchup from..
Quarr-IT - SketchUp Training from the Master.. . ;) .
User avatar
CadFather
 
Posts: 568
Joined: Fri Nov 16, 2007 11:03 am
Location: London, Milano, Sicily
Name: Max Coppoletta
Operating system: XP Pro Sp3
SketchUp version: 9.1

Re: [Plugin] Component Stringer

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

Ok - I want to see someone making a dinosaur skeleton with this! :D
Thomas Thomassen — SketchUp Monkey
My Plugins
User avatar
thomthom
Global Moderator
 
Posts: 8353
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows7/Vista/XP/OSX10.4/10.5
SketchUp version: 6.4&7.1&8 Pro

Re: [Plugin] Component Stringer

Postby Gaieus on 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)
Gai...
"Life is like the waistcoat of a summer suit. Short and pointless..."

Should you have any board issue (lost password, not being able to log in or register) at SCF, email me.
Otherwise read The Daily CatchUp or if you are a spammer, click here. ;)
User avatar
Gaieus
Administrator
 
Posts: 17542
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Win XP SP3
SketchUp version: 5, 6, 7, 8 (Pro)

Re: [Plugin] Component Stringer

Postby TIG on 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.
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: [Plugin] Component Stringer

Postby Pilou on Sat Nov 14, 2009 1:39 pm

Well: a new killer plug indeed :fro:
Axis of component must be adequate ;)
You do not have the required permissions to view the files attached to this post.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
 
Posts: 4345
Joined: Wed Jan 23, 2008 10:33 pm

Re: [Plugin] Component Stringer

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

Verry interesting.
I must test this. And thank you. You have become a formidable ruby master.
Epiphany: Everything emanates from the singularity at 0,0,0.
mitcorb
 
Posts: 741
Joined: Sat Mar 22, 2008 2:32 pm
Operating system: xphome,xpro(at work)
SketchUp version: 6,&7(free home),6pro,7free(work)

Re: [Plugin] Component Stringer

Postby MALAISE on 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
La Connaissance n'a de valeur que partagée
User avatar
MALAISE
 
Posts: 593
Joined: Sun Apr 20, 2008 1:23 pm
Location: Cergy Pontoise FRANCE
Name: Pierre
Operating system: Windows XP 3
SketchUp version: Sketch Up V7

Re: [Plugin] Component Stringer

Postby EscapeArtist on 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!
User avatar
EscapeArtist
 
Posts: 569
Joined: Sun Aug 03, 2008 7:36 pm
Location: Northeast US
Name: Jeff
Operating system: Win 7, XP SP3, Ubuntu, Mint
SketchUp version: 7 Free

Re: [Plugin] Component Stringer

Postby simon le bon on 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.

Image

Image
: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.

Image

Image

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.
User avatar
simon le bon
 
Posts: 632
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet
Operating system: Win XP Home SP3
SketchUp version: 6 + 7

Re: [Plugin] Component Stringer

Postby TIG on 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
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: [Plugin] Component Stringer

Postby Chris Fullmer on 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
Your intelligence will never fully compensate for my stupidity.
Cal Poly Pomona - BS Landscape Architecture
UC Berkeley - Masters of Landscape Architecture
All my Plugins I've written
chrisfullmer.com - Art Blog
User avatar
Chris Fullmer
Global Moderator
 
Posts: 4760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows Vista
SketchUp version: 7.1x

Re: [Plugin] Component Stringer

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

  • Add a Paypal link in the plugin folder
Are you reading signatures? Dude, you need to get out more often.
User avatar
Ecuadorian
 
Posts: 1213
Joined: Thu Jan 15, 2009 10:20 pm
Location: Guayaquil, Ecuador
Name: Miguel Lescano
Operating system: Windows 7 Pro 64-bit
SketchUp version: 7.1

Re: [Plugin] Component Stringer

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

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


Thanks Chris!

...and ditto Ecuadorian's post.
User avatar
EscapeArtist
 
Posts: 569
Joined: Sun Aug 03, 2008 7:36 pm
Location: Northeast US
Name: Jeff
Operating system: Win 7, XP SP3, Ubuntu, Mint
SketchUp version: 7 Free

Re: [Plugin] Component Stringer

Postby Chris Fullmer on 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
Your intelligence will never fully compensate for my stupidity.
Cal Poly Pomona - BS Landscape Architecture
UC Berkeley - Masters of Landscape Architecture
All my Plugins I've written
chrisfullmer.com - Art Blog
User avatar
Chris Fullmer
Global Moderator
 
Posts: 4760
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows Vista
SketchUp version: 7.1x

SketchUcation One-Liner Adverts

by Ad Machine on 5 minutes ago

1001bit Tools - Architectural tools for Google SketchUp
Ad Machine
Robot
 
Posts: 2010

Next

 

Advertise Here

Who is online

Users browsing this forum: No registered users and 3 guests