[Plugin] PipeAlongPath

[Plugin] PipeAlongPath

Postby TIG » Fri Nov 23, 2007 7:13 pm

PipeAlongPath
TIG (c) 2005 - 2014
All rights reserved.
Description : Creates circular faced 'followme' pipe extrusions along a path -
Use it to make pipes, ducts etc, starting from a selection of joined edges
Usage :
Select joined lines, arcs, circles, curves, etc.
Select "Pipe Along Path" from the Plugins menu.
In the dialog choose:-
Outside diameter: in current units or use suffix for other, default 110mm/4"
Inside diameter: in current units or use suffix for other, default 110mm/4"
Number of segments: default 24
Cpoints?: [Yes/No, default=true to add cppoints at the pipe's vertices]
Cline layer: [layer for the path, default="XCLINE", make blank for 'none']:
In group?: [Yes/No to move selected path into pipe's group, default=true]
OK.
Last used setting are remembered across sessions.
The pipe-extrusion is made*.
The pipe-extrusion is grouped so it does not interact with adjacent surfaces -
afterwards just explode it if appropriate.
Edit it to intesect with model and tidy up to make tees etc...
The pipe also has construction points added at vertices if you set Cpoints=true.
These can be used for snapping, if not wanted 'erase construction geometry'
will remove them globally or just within a group that you are editing.
One Undo to remove the construction points, a second to Undo the Pipe itself.
The default for extrusion face segments is 24, the minimum is 3.
The alignment is always 'Centroid' - along the pipe's centre line.
The diameter is always measured square to the vector of the
first path's line. A diameter that is less than the length of pieces of path
edge might give correct but unexpected extrusions, which might need manually
tidying...
Closed loop paths are fully extruded in a loop.
Multiple arcs and other complex 3D paths might give unexpected results.
Note that SketchUp can't handle very small faces in its FollowMe mode - so any
Arc bends of 8" radius or less that have the same radius for the pipe (o/d)
applied will almost certainly cause a crash / "bug splat" and are trapped out
BUT note that similar radii in 'welded' Curves are NOT easily trappable and so
they may always cause a crash with a "bug-splat", so avoid using these type of
path with small radii bends/pipes - or you can keep it but use 'scale' as
explained below...
IF you must have this matching small diameter pipe and arc or welded elbow
bends then to get it to work you can make the path a
group, scale it by a factor so it's larger (say x10), then
edit it and use this tool within it applying the diameters x10,
after it's all made scale the group back down by x0.1 and
explode it and it'll all be OK.
#
Both diameters cannot be zero and will return an error.
If one of the diamaters is zero then you get a 'tube' rather
than a pipe.
If the diamaters entered are equal the inside one is taken as
zero and you will then get a 'tube' rather than a pipe.
If the inside's diameter is greater than the outside's then
they are swapped.
A branching path returns an error as 'FollowMe' can't decide
which path to take.
Selected edges that are not joined (i.e. they don't all have
common ends-starts) will not be extruded - only the first edge
or joined group of edges will extrude.

Version :
1.0 18/9/5 first release.
1.1 18/9/5 visual segmenting of arced sections etc addressed.
1.2 9/2/6 centrepoints added at vertices of non-looped paths,
occasional reversed faces on single 'up' line fixed.
1.3 16/2/6 undo of cpoints fixed, diam <8" with matching arc
elbow bend radius bug splat trapped (but not curves).
1.4 2/5/6 group name -> OD=xx ID=nn with " or mm as units.
1.5 3/5/6 Transposed ID/OD fixed (sorry!).
1.6 12/5/7 @error=0 ### fix
1.7 20121019 Rehashed to modern standards, dialog based options to add cpoints
at nodes, put selected path onto a specified layer and move the
path inside the pipe-group.
1.8 20130115 Fixed typo glitch when path was lone vertical downward line.
1.9 20140303 Lockup weirdness trapped. Any units format now allowed.
Last used options remembered across sessions and globally.
2.0 20140304 Lockup skewed warning improved. Graphics glitch fixed.
Name reflects if internal_diam == 0.
2.1 20141111 Slight skew in path - trapping improved.

Get the latest version from the PluginStore

Download

18
TIG
User avatar
TIG 
Global Moderator
 

Re: ScriptUpdate: PipeAlongPath.rb

Postby RonS » Fri Nov 23, 2007 7:13 pm

Thanks TIG.
0
Design is not just what it looks like and feels like. Design is how it works.
Steve Jobs

RonS
User avatar
RonS 
 

Re: ScriptUpdate: PipeAlongPath.rb

Postby Daniel S » Fri Nov 23, 2007 7:13 pm

Thank you TIG!
0

Daniel S 
 

Re: [Plugin] PipeAlongPath.rb

Postby ENG. YASEEN » Tue Sep 09, 2008 8:23 pm

thank u :mrgreen:
0

ENG. YASEEN 
 

Re: [Plugin] PipeAlongPath.rb

Postby utiler » Sun Oct 26, 2008 6:08 am

Hi TIG,
I was thinking last night, is there a ruby to create a tapered pipe / tube / rectangle / etc....?

Think of a Palm tree trunk; larger base, diminishing to a narrower top. I don't believe this can be done with the current 'alongpath' rubies [or am i wrong???] I'm interested in your reply as to whether or not it could be done.

Think of the fun that could be had with a beach scene...!!!
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] PipeAlongPath.rb

Postby babyalexandre » Fri Jul 10, 2009 3:36 am

lol :sketchstatic:
0

babyalexandre 
 

Re: [Plugin] PipeAlongPath.rb

Postby Gaieus » Fri Jul 10, 2009 6:52 am

utiler wrote:Hi TIG,
I was thinking last night, is there a ruby to create a tapered pipe / tube / rectangle / etc....?

Hi Andrew,

How about the Draw Metal Plugins? They can create beautifully tapering shapes.
1
User avatar
Gaieus 
 

Re: [Plugin] PipeAlongPath.rb

Postby AcesHigh » Fri Jul 10, 2009 1:13 pm

Gaieus wrote:
utiler wrote:Hi TIG,
I was thinking last night, is there a ruby to create a tapered pipe / tube / rectangle / etc....?

Hi Andrew,

How about the Draw Metal Plugins? They can create beautifully tapering shapes.



does this drawmetal plugin accepts metrics? In their site, all examples show imperial units...
0

AcesHigh 
 

Re: [Plugin] PipeAlongPath.rb

Postby Chris Fullmer » Sat Jul 11, 2009 6:33 am

Download it and try it. If it does not, ask them to update the code to accept metric too. Its not that big of a deal in Ruby to make it accept metric or imperial.

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] PipeAlongPath.rb

Postby utiler » Sun Jul 12, 2009 12:17 pm

I think you're onto something there, Gaieus. Might have a look.... :thumb:
It's more specific than follow and rotate....
0
purpose/expression/purpose/....
User avatar
utiler 
Top SketchUcator
 

Re: [Plugin] PipeAlongPath.rb

Postby Suzan » Sat Jul 25, 2009 12:40 am

How do I use this file? I saved it but now how do I use it in SketchUp. Can somebody please walk me through it. I'm still relatively new to the program and what I am really wanting to do is to create rounded corners like as in a sofa cushion. My search brought me here but still haven't been able to produced what I want in SketchUp without using someone else's components.

Does it have something to do with saving it to putting in the program file and there would be a plugin folder?
0

Suzan 
 

Re: [Plugin] PipeAlongPath.rb

Postby TIG » Sat Jul 25, 2009 11:58 am

This ruby ('PipeAlongPath.rb') doesn't round corners, it makes a 'pipe' along a 'path' - although you could use it to add 'piping-trim' to shapes too... To round the corners of things use something like Fredo's 'Round Corners' script - see here... viewtopic.php?p=171721#p171721 - there are instruction on the page on what to do with it - this one does have some extra things to add in a folder etc...

General Note:
If there are no instructions to the contrary then scripts go into the 'Plugins' folder, found in your 'Sketchup' folder. Unzip them first if they are .zip files - they are usually .rb files
If any script has few instructions then try opening the .rb with plain-text editor, like 'Notepad.exe', (it's in text so it's readable) and look at the first section which almost always has helpful notes on use etc. Some scripts are scrambled or coded as .rbs and so can't be read - but then these will usually have a separate help document.
When you restart Sketchup most scripts become usable from a new item (or popout_submenu-item) added to the 'Plugins' menu. If they do otherwise then the script's help usually tells you - e.g. it's to be found under 'Tools' menu, or it's a right-click context-menu function only etc...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] PipeAlongPath.rb

Postby K-TEE » Sun Jul 26, 2009 7:20 am

thanks
0

K-TEE 
 

Re: [Plugin] PipeAlongPath.rb

Postby ematik » Sat Nov 28, 2009 3:29 pm

thanx!
0

ematik 
 

Re: [Plugin] PipeAlongPath.rb

Postby ematik » Sat Nov 28, 2009 3:29 pm

thanx!
0

ematik 
 

Re: [Plugin] PipeAlongPath.rb

Postby rpaul » Tue Dec 01, 2009 2:48 am

Is there a plugin that WILL do a pipe along a fork or branch. I want to create a space frame that has 3d shapes with multiple intersecting lines that I need to make pipes/tubes from
0

rpaul 
 

Re: [Plugin] PipeAlongPath.rb

Postby pilou » Tue Dec 01, 2009 3:15 am

See convert lines to tubes by Didier Bur ;)
Menu Tool/ Convert arcs, circles, curves, lines to cylinders

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

Re: [Plugin] PipeAlongPath.rb

Postby JClements » Tue Dec 01, 2009 6:00 am

"- if you picked a forking path initially it wouldn't work again for that session... "


Geez, I thought that was a feature. :roll:
0
John
Illustrator
Beaverton, Oregon
User avatar
JClements 
Premium Member
Premium Member
 

Re: [Plugin] PipeAlongPath.rb

Postby kostas_designer » Thu Dec 03, 2009 4:59 pm

I wonder if it would be possible for this very useful plugin to choose whether to erase all those construction points inside the tube structure.
You get allot of them when you have a complex pipe path..
0

kostas_designer 
 

Re: [Plugin] PipeAlongPath.rb

Postby TIG » Thu Dec 03, 2009 5:34 pm

kostas_designer wrote:I wonder if it would be possible for this very useful plugin to choose whether to erase all those construction points inside the tube structure.
You get allot of them when you have a complex pipe path..

No, they are there as snap-points for making connections, but there are several tools available to clear cpoints: or you could simply Delete Guides off the Menu will clear them + any clines.
For example, use my DeleteConPointsOnly.rb or TT's SelectionToy[GuidePoints]+delete_key can do this for you...
Personally, I have three shortcut keys that clear Cpoints, Clines and Cgeometry...
0
Last edited by TIG on Mon Dec 07, 2009 10:09 am, edited 2 times in total.
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] PipeAlongPath.rb

Postby major_duan » Fri Dec 04, 2009 11:14 pm

very nice, thank you.
0

major_duan 
 

Re: [Plugin] PipeAlongPath.rb

Postby kostas_designer » Mon Dec 07, 2009 10:05 am

TIG wrote:No, they are there as snap-points for making connections, but there are several tools available to clear cpoints: or you could simply Delete Guides off the Menu will clear them + any clines.
For example, use my SeletonPointsOnly.rb or TT's SelectionToy[GuidePoints]+delete_key can do this for you...
Personally, I have three shortcut keys that clear Cpoints, Clines and Cgeometry...


Deletes Guides from the menu will do, thanks!
Any link to those plugs you mentioned? I searched but didn't find them..
0

kostas_designer 
 

Re: [Plugin] PipeAlongPath.rb

Postby TIG » Mon Dec 07, 2009 10:13 am

Various construction-guide tools like DeleteConPointsOnly.rb [sorry for my earlier typo] and DeleteConLinesOnly.rb and ConsDeleteContext.rb [and many other useful Plugins] are available from Didier Bur's Library Depot... http://www.crai.archi.fr/RubyLibraryDep ... i_page.htm
Have a browse...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] PipeAlongPath.rb

Postby kostas_designer » Mon Dec 07, 2009 1:56 pm

Thanks mate! :thumb:
0

kostas_designer 
 

Re: ScriptUpdate: PipeAlongPath.rb

Postby DEaliyev » Sun Jan 03, 2010 4:48 pm

RonS wrote:Thanks TIG.

WTF? I cant download this f*cked plugin?
So why this occurs?
Anybody know?
I cannt download it?
-1

DEaliyev 
 

Re: [Plugin] PipeAlongPath.rb

Postby Gaieus » Sun Jan 03, 2010 4:52 pm

Hi DeAliyev,

Please, watch your mouth first of all.

Second, "WTF" would you do with it when you seem to use SU 2 and plugins can only be used since version 4?

Please, revise your profile fields as they are required on this forum.
0
User avatar
Gaieus 
 

Re: ScriptUpdate: PipeAlongPath.rb

Postby TIG » Sun Jan 03, 2010 5:01 pm

DEaliyev wrote:
RonS wrote:Thanks TIG.

WTF? I cant download this f*cked plugin?
So why this occurs?
Anybody know?
I cannt download it?

I am the author of this plugin - which incidentally is offered freely to you as a gift, so don't foul-mouth your gift-horse - I might hope for a little more civility... :roll:
The zip file that I put into the thread still downloads fine - however, you do need to unzip any zip file to get at its contents - a .rb file that goes into your Plugins folder.
Later in the thread I also gave a link to Didier's Ruby Depot that gives direct access to that free script and also many others...
Please don't get angry at other people for your own shortcomings... If you ask for help politely you'll get it - we are a kindly bunch here, but being a :twisted: won't endear you to anyone... :o
So don't be a **** ! ;)
Happy New Year to you too...
PS I see you have rankled Gai - I pity you now... :roflmao:
0
Last edited by TIG on Sun Jan 03, 2010 5:17 pm, edited 3 times in total.
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] PipeAlongPath.rb

Postby Gaieus » Sun Jan 03, 2010 5:04 pm

Happy New Year to you, TIG, too! ;)

(and thanks for your generous contributions) :thumb:
0
User avatar
Gaieus 
 

Re: [Plugin] PipeAlongPath.rb

Postby Jim Smith » Sun Jan 03, 2010 5:44 pm

TIG,

Just noticed these new bumps to an old thread, saw that there have been nearly 1000 downloads of your revised plug-in and very few thank you's - me being one of those remiss. :oops:

Thank you for this and all the other great plug ins.

One of my new year resolutions is to organize and update my sketchup plug-ins, materials, components, which have all gotten out of control :knockout:

One down, countless more to go :lol:

And by the way a very happy New Year
0
"Out of clutter find simplicity,
from discord find harmony,
In the middle of difficulty lies opportunity"
Albert Einstein
User avatar
Jim Smith 
Premium Member
Premium Member
 

Re: [Plugin] PipeAlongPath.rb

Postby kostas_designer » Wed May 05, 2010 5:50 pm

TIG wrote:
kostas_designer wrote:I wonder if it would be possible for this very useful plugin to choose whether to erase all those construction points inside the tube structure.
You get allot of them when you have a complex pipe path..

No, they are there as snap-points for making connections, but there are several tools available to clear cpoints: or you could simply Delete Guides off the Menu will clear them + any clines.
For example, use my DeleteConPointsOnly.rb or TT's SelectionToy[GuidePoints]+delete_key can do this for you...
Personally, I have three shortcut keys that clear Cpoints, Clines and Cgeometry...


Just to say that i discovered a nice trick:
After finishing the command, i turn back a step by ctrl+z (or modify-undo pip's points) et voila! all control points vanished!
Am i genius or you guys already known that 1000 years ago? :mrgreen:
0

kostas_designer 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: dpaul, fredo6, HEEJOO, vanessainteriores and 46 guests

Visit our sponsors: