SketchUcation Premium Membership

 

 

[Plugin] Component Stringer UPDATED May 23, 2013

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby TIG » Wed Nov 18, 2009 11:47 pm

The major to do's - like loops and connected curves - are pretty much sorted in my ExtrudeEdgesToEdges... for the upcoming version I have borrowed some of the sorting edge-vertices code etc from Chris's script (which Chris probably borrowed from RickW [or my borrow of it?]!!!). Chris should then be able to transpose these fixes back into his script? My updated script will be out shortly...
TIG
User avatar
TIG
Global Moderator
 
Posts: 14002
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby simon le bon » Thu Nov 19, 2009 11:36 pm

Some help to produce the component to copy along a path.

I)Put the good axes:

If it is for you like for me :oops: , positionning axes of the component I want to copy along a path is not so evident.
So, make a cube, make it as a component, and......


II)How to conceive a chain link:
Using one or other method to produce a chain, necklace and many others fences and so on, you will need to think about the shape of the links.
Here is my tip. Just think to draw a portion of curve with the smallest radius you think you are going to use for your path...


:freehand: :arc: ;) simon
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby simon le bon » Tue Nov 24, 2009 2:16 am

Hi Chris, Hi SketchY fellows,
I'm following Component Stringer Study.

Chains are now so easy to produce :thumb: :thumb: ;)

>>"Component rotation" = 90° ; Fredoscale by Center


Helical study:

See Http for some explanation:
A PoorFlatEllipsoidIndian Bowl



The joints are not welding perfectly, but if we need a good welding, we can use this one as a gauge..
>>"Scaling Uniform"; "Component Rotation" 15°


Double use of Component Stringer ;) :lol:
(With a smart use of "Total Rotation" 15°




+++Making a straight line as it was a curve in order to use it as the "path" to copy components on.
>> 1) a reverse line is added to our line (or else, our line is right clic and divided by minimum two) in order to apply "Weld" because Weld need at least two elements to be applied..

2)This welded line is now (Bezier curves installed) right clic converted to segmented polyline.
3)Now apply "Component Stringer" on this "straight curve" :lol: "Scaling Stretch" ; "Component Rotation" 15° (in case -15° :!: )


Same action on a Bezier Curve


*simon
Last edited by simon le bon on Fri Nov 27, 2009 4:01 pm, edited 2 times in total.
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby simon le bon » Tue Nov 24, 2009 9:41 pm

:oops: :oops: :oops:
As usual I am tiring everybody with my extensions. I promise that this is the last one. You know , when I begin something I go on surrounds until I can think I have finished. May be those studies will brought some help to someone in some future :lol:

../VARIATIONS on Helical matter\..









The main point to obtain a good result is to work firmly on the curve, in order to give it the real number of segments: individual in orientation and indentical in length





Another variation: Triple use! of Component Stringer :lol:






The result isn't so beautiful 8-) Well, it is just for example


:circle: :arc: simon
Last edited by simon le bon on Fri Nov 27, 2009 1:42 pm, edited 2 times in total.
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby thomthom » Tue Nov 24, 2009 9:45 pm

Wow! Very cool Simon.

I've been tracking this thread and I like all the shapes being produces. About time I actually read how it's done.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17673
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby simon le bon » Wed Nov 25, 2009 12:03 am

Hi Thomas,

thanks for this nice word good to me..
I haven't enough time as I would like to study this way every great plugin you and other cheerful authors offer to us day after day.

I'm secondly very pleased for you to come , 'cause I was just intending to ask you something as the better specialist in this place about selecting matters.

I haven't the first knowledge of if it is possible or not, and if it is, if it is complicated or not, but a great tool which I have found is missing would be a tool which give a number to a face or a component along a path and then give the choice to select elements in an incremental way or into an array of data.
This way for example to give a redundant place to some type of pillar along a long fence or barricade; organize a driveway pavers etc...


:?: ;) simon
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Wed Nov 25, 2009 1:35 am

I'm not quite sure what you're asking for on that one Simon. But here's a guess.

You would likt to be able to automatically select every 10th pillar in that image for example? Or every 5th pillar? Is that the idea?

That could be built into my tool, but it would only work with components placed using my tool. But it would be do-able.

Chris

PS. I'm doing more work on this plugin. I have it set so it works with edges that are not connected - more than one spline. Or even just a large of amount of single edges. Hopefully a few more surprises before I release the next round.
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6699
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby EscapeArtist » Wed Nov 25, 2009 5:19 am

Just for fun, a little "DNA":
Please, register (free) to access all the attachments on the forums.
User avatar
EscapeArtist
Top SketchUcator
 
Posts: 1305
Joined: Sun Aug 03, 2008 7:36 pm
Location: Northeast US
Name: Jeff
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: hobby
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Jeff Hammond » Wed Nov 25, 2009 5:58 am

ha Simon..
i love the stuff you come up with using some of the scripts that pop up.
dotdotdot
User avatar
Jeff Hammond
Global Moderator
 
Posts: 4324
Joined: Thu Jan 24, 2008 11:16 pm
Location: newyorkcity
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby kostas_designer » Wed Nov 25, 2009 9:56 am

Great plugin Chris!

I was trying it while working on an industrial component, i kind of chain.
Problem is that i cannot edit the single component because ita has a *given* dimension.
So, arraying straight segments is not a problem as i can use the Copy Array Groups or Components plugin, but when it comes to follow a curve things get tough (at least for me! :? )
I agree that having the control of sthe spacing would be best for many applications.

See some screenshots for explanation:
Please, register (free) to access all the attachments on the forums.
kostas_designer
 
Posts: 55
Joined: Tue Jul 14, 2009 1:08 pm
Location: Venice, Italy
Name: kostas_designer

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby plot-paris » Wed Nov 25, 2009 12:33 pm

kostas_designer wrote:...having the control of the spacing would be best for many applications.
+1

Simon, I love your stuff. keep it coming. these show off nicely, what the plugin can do...
User avatar
plot-paris
 
Posts: 1554
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby simon le bon » Thu Nov 26, 2009 11:50 am

Hi jeff and Jakob, Thanks for nice words.. So I can be restful: I am not that sort of bat vampirising the threads I sometime feel I am :? (my small paranoia I'm afraid.)


Hi Kostas!
I'm sorry, I don't understand your problem (I can't see the details of your pictures!).
Mercy for us, get a real print screen and make close ups ;)
having the control of sthe spacing would be best for many applications.
For me the spacing in a chain is invariant so..
May be you want to do something like that:


If it is the case , you can apply this solution:
Copy Array Along Path tool...have a look.

Hi Chris,
Chris Fullmer wrote:You would like to be able to automatically select every 10th pillar in that image for example? Or every 5th pillar? Is that the idea?

Yes You've got it!
But I would like be able to do many other various things: may be in this exemple above > put 3 components in place of pillars every 10 pillars...
This is the reason why I think what we need is mainly a special selecting tool with an incremental feature, (but also an array to select freely into it, and also may be a feature of aleatory choice)
And very important to be able to do the reverse selection.


this way we can -do a first pass, delete what we want to change,
- Do another pass with the other component and delete everything but the previous holes
and put the two passes together.
This way we can do the number of passes we want.
We can also mix variant and invariant (in direction) components....

That could be built into my tool, but it would only work with components placed using my tool. But it would be do-able.

But this special feature would be simply top cool ;)

:ugeek: simon
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby plot-paris » Thu Nov 26, 2009 12:37 pm

actually, that may be a good idea for a different ruby request... a selection tool, that automatically recognizes component arrays (whether distributed on an even grid or along a path...) and then lets you do various selection scenarios. ideally a dialog would pop up that let you change your selections dynamically (or, at least have an update butten, that lets you change selections without closing the dialog)...
User avatar
plot-paris
 
Posts: 1554
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Gaieus » Thu Nov 26, 2009 12:46 pm

Simon,

I absolutely love the way you fully exploit these different (and of course, wonderful) tools and model things probably even the author didn't even dream about!

Cheers and keep posting, please! :thumb:
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27640
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby simon le bon » Fri Nov 27, 2009 2:10 pm

Dear Gaieus


Your so kind words :oops: me!! :)

plot-paris_Jakob wrote:and then lets you do various selection scenarios. ideally a dialog would pop up that let you change your selections dynamically
+1

EscapeArtist (Jeff) shows with his Dna


A very cool other use of what I have in mind with this possible selecting tool:
Using sequences of the same component colored differently. In the particular case of a dna, the possibility of selecting elements into an array of data would be probably the most useful..

simon
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby simon le bon » Mon Nov 30, 2009 12:29 am

I wrote:I have found no solution to make the flat stakes to follow the path while they are planted vertically (=invariable direction+ following direction) :?: :?:


Well.., I've found a hand-assisted solution ;)

Fredo6 [Plugin] Tools On Surface - v1.5f


Fredo6 [Plugin] BezierSpline v1.21



I assume I want the stakes are to be regularly spaced, non depending of the declivity. So The 3D curve must be regularly segmented (Segmented Polyline) before to be projected on the wall and on the floor.
(Re: if reversely we want the stakes planted depending of the déclivity, the segmentation must be done after curve projection on the floor and on the wall.)
Didier Bur [plugin] Projections version 2





The long rectangle set as component, distributed along the wall projected curve using Component Stringer is going to be used as a gauge. A line of this rectangle fall in coincidence with the initial 3D curve. This intersection is the point where to move each stake placed on the ground.
(Re: 1)ground face is deleted to make the process easy.
2)Move tool is used with Up arrow to constraint the moving on the blue direction)






(The same on Youtube )












:roll: Simon
Last edited by simon le bon on Mon Aug 09, 2010 6:00 pm, edited 2 times in total.
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Bob James » Mon Nov 30, 2009 5:02 pm

Simon, there's no other word for you but awesome :thumb:
"If you don't plan ahead you'll be at the mercy of those that do" - Ashleigh Brilliant

"Bad is not good until worse happens" - Bob James
User avatar
Bob James
Premium Member
Premium Member
 
Posts: 608
Joined: Fri Jan 18, 2008 9:29 pm
Location: Lompoc, CA, USA
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Carrozza » Mon Nov 30, 2009 10:32 pm

Men, this plugin with help of fantasy and skills (like Simon') are a killer combo!
User avatar
Carrozza
 
Posts: 54
Joined: Sun Oct 12, 2008 10:40 am

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby simon le bon » Mon Nov 30, 2009 11:05 pm

Thank you Bob & Carrozza ! your encouragement warms my heart..

The following is probably the last idea that I wanted to develop With Component Stringer.
I dedicate it to our so nice fellow and great author, Chris.

It is his:"TOTAL CHRIS FULLMER RANDOM PALISADE"
(because made about totally with a set of his own tools ;) )

How to produce a palisade constituted with random singular boards!!

My idea is to copy palisade's boards along a path constituted by a random segmented curve Using ComponentStringer/Stretch mode.









Using ShapeBender this way: same length for the curve and for the grouped segmented line, the resulting ShapeBender Component keep closely the same lengths of segments inside the curve than those of the segmented line ;) ;)
[Plugin] Shape Bender Beta v0.51


[Plugin] Select Lines by Length
Jim_Selection Memory








We delete 3/4 component for each segment( artistically if possible :roflmao: )


Et voila votre jolie pallissade :enlight:


Dear Chris,dear all,
with my very friendship..
:) simon.
Last edited by simon le bon on Tue Dec 01, 2009 9:49 am, edited 1 time in total.
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Mon Nov 30, 2009 11:36 pm

Hey, looks great Simon. I love the way you dig in and study the plugins. I think its helpful for users to see how they can be used, and its helpful for me to see how people are trying to use these scripts. Helps think of new workflow improvements.

In fact, the next version of componet stringer lets you select more than 1 component. And it gives you the option of random placement of all selected, or ordered. So the reandom placement will help in the palisade example you just showed. It would make it quicker to place random boards.

The next version will also support series of non-connected edges (I think I already hinted at that earlier) and also supports closed loop selections of lines. It also includes a great little tool to reverse the direction components are "strung". I'm trying to get it all put together for one big release soon.

Also, I'm thining about the offset placement possibilities. I'm trying to figure out how that should be implemented. If anyone has any thoughts on how they want to see that work, I'd be interseted in hearing it.

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6699
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby simon le bon » Tue Dec 01, 2009 9:51 am

.. :thumb: :enlight:
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Pilou » Tue Dec 01, 2009 10:41 am

Suggestion
A rotation (s) of object on it own axis?
A scale of object?
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10073
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby plot-paris » Tue Dec 01, 2009 6:20 pm

wow, Chris. thats sounds like a reason (or several for that matter) to be excited about the next release... :bounce:
User avatar
plot-paris
 
Posts: 1554
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby hsjzyangbin » Sun Dec 20, 2009 10:29 am

Hi,Chris,I wish your 'Component Stringer'and TIG'S "GROW.RB" combine together
Please, register (free) to access all the attachments on the forums.
hsjzyangbin
 
Posts: 34
Joined: Tue Sep 22, 2009 10:20 am
Name: coco

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby mitcorb » Fri Jan 15, 2010 3:43 am

Chris:
When using the uniform scale parameter, does the script start out with a set multiple? I am guessing say 1.5 x the scale of the component? and then the factor is applied to each subsequent component instance?
If this is so, would there be a user changeable scale factor parameter in the future?
By the way, this is a nice tool and I appreciate your sharing it.
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb
Top SketchUcator
 
Posts: 3408
Joined: Sat Mar 22, 2008 2:32 pm
Location: USA
Name: Tim
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Fri Jan 15, 2010 6:49 am

Hmm, good idea. That is not the way it works, but it would be fairly easy to implement (I think). No guarantees how fast I'll get it done, but I'll try to put this feature in the mext release.

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6699
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby JClements » Sat Jan 30, 2010 11:56 pm

In the attached I have component which I have attempted to string along a path in an orientation similar to that of the component. I've played with changing the component's axis but can't seem to get it right by only changing the component axis (rotating the component and then reseting its axis can work).

Chris, what is the secret? Your video mentions setting the blue axis but what of the red and green and at what corner of the component?

Signed, all strung out.
John
Please, register (free) to access all the attachments on the forums.
John
Illustrator
Beaverton, Oregon
User avatar
JClements
Premium Member
Premium Member
 
Posts: 773
Joined: Wed Nov 14, 2007 4:32 pm
Location: Portland/Beaverton, Oregon
Name: JClements
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: illustration, cartoons
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Sun Jan 31, 2010 6:42 pm

Hi John, I set is up so that the blue axis in the component lines itseful up with the line spegment it is being placed on in the path. That is as much as I control directly in the script. The x and y axes are determined through what SU calls "an arbitrary axis rule." Digging into this, it appears that once I set the blue axis, SU forces the component's red axis to lie flat on the x,y plane. Then the component orients itself so that the green axis is pointing in a positive direction (always pointing slightly upard, or completely upward if the path being followed is flat on the ground).

So, if your path is flat, then the blue will follow the segment it is to stetch over. And the green will point upwards in the model's blue direction.

But once your path gets off the flat x,y plane, the it gets a little trickier to guess how the pices will orient themselves.

Sorry thats not much help,

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6699
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby JClements » Sun Jan 31, 2010 8:06 pm

Thanks, Chris. Helps make things a bit more predictable.
John
Illustrator
Beaverton, Oregon
User avatar
JClements
Premium Member
Premium Member
 
Posts: 773
Joined: Wed Nov 14, 2007 4:32 pm
Location: Portland/Beaverton, Oregon
Name: JClements
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: illustration, cartoons
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer

Postby Purita » Thu Feb 11, 2010 8:05 am

CadFather wrote:Thanks Chris

it's funny how many different angles you land on sketchup from..
Purita
 
Posts: 1
Joined: Thu Feb 11, 2010 6:23 am
Name: naruepon

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: blajnov, talk_sick509, vantin, yopei and 6 guests