Two pipe enhancements

I’d like a couple of options added to the pipe command.
These are both available in some form as scripts, but I feel they would be better as native options…

1> a command to re-create the pipe centre lines.

I have a (Pascal?) script that will do this, but it won’t work in V6 or 7, so I have to do use it in V5.
The script needs the pipe to be exploded, and then has to be run on each segment to re-create the centre line of that individual segment, then all the curves need to be selected and joined.
It’s a bit of a drama to do this, but it’s far more drama to try to do it without the script.
I’d like an option that simply re-creates the centreline with no mucking about - within the pipe command, like “restore centreline”.

2> an option to choose to create square / rectangular pipes.

I’ve mentioned this before, to howls of derision, but I feel it’s simply a logical and useful option that many people besides myself would expect, and can see no reason why it shouldn’t be included.
I’ve been around long enough to remember the fight to include the ability to dimension entities in rhino, and all the negative claptrap and assertions that real modellers would have no truck with sissy drafting add-ons, and to go and dimension in another program etc etc, and we can see where that ended, so I’m not scared off by similar comments about not needing a square pipe option…
So I’m asking once again for this to please be included in the pipe options before the V7 release.

Cheers
rabbit

I think the main problem with #1 is that a “pipe” doesn’t really know it’s a pipe object - it’s just a NURBS surface with a circular cross section - which could also be a polysurface with trimmed miters (kinks)… It doesn’t “remember” its generating curve If it has been deleted, so it has to be re-derived somehow.

The main issue as far as I know with #2 (having scripted square pipes myself) is determining the orientation of the square at the beginning and end as well as any possible twist along the way…

Not saying it’s not possible, just that it’s probably more complex than it seems on the surface, which is possibly why we don’t have them yet.

Both of those enhancements are on the future wish list multiple times and have been for years.

hi rabbit

I can give you a tip she can work well in these situations
run the ExtractIsoCurve command
make two isocurve in both sides of the pipe. then TweenCurves
this will give you exactly the mathematically correct location of the original curve

well, that’s pretty much my point right there…

cheers
rabbit

So far, the value to effort required has not moved it to the “next up” list.
There have always been more valuable projects to work on.
That will not always remain the case.

In the mean time, there are work-arounds like Tween Curve and the rail sweeps.