Need optimization for very heavy (shower)hose

Hi Peter,

First to preserve data I would not model the material thickness, but just the outer sheet.
Second I would create a mesh instead of NURBS, the advantage is that flow will not increase the density and the looks will remain.
What I`d do is build a basic hose turn from polyline sections.
That will create a faceted polysurface that can be cleanly meshed.
Once you have a faceted mesh, you can weld the mesh to get a smooth appearance.

download file:

The smooth mesh can than be flowed onto a curve.

HTH
-Willem

1 Like

Losing the material thickness is a possibility I could apply, though the Mesh option seems to give a too blocky result in the amound of divisions you have used, using more divisions would then again make the mesh heavier.

It is going to be used in both scenes, and close-up renders so it has to be very round. In your given example this is not yet the case, would you imagine in using a higher density mesh, it would still be lighter then a nurbs approach?

Yes, I think so, but you will need to test that.
Also note that for closeups you can always use more dense geometry, but maybe just the portion visible.
For wider shots you can use the less dense option for faster rendering.

-Willem

I’m trying some things out now concerning 1 sided and mesh options, though if anyone has any other tips on this problem they are most welcome.

Nurbs is the easiest way to build this, but has been just so heavy

Have you tried creating one turn (or a few) as a block, then using as many instances as required to create the whole length? I had a similar issue some time ago trying to model a solenoid of wire and one of the NcNeel guys (I don’t remember who) made this suggestion and it helped quite a bit.

The problem is that it is a spiral shape, so if I would make blocks out of it, it would be impossible to bend it without getting gaps/overlaps afaik.

@pascal Would you know anyone in McNeel that might have some info in how to build such an object so that it is not as heavy? The file contains the steps I used to create the shape as it is now.

Peter, is there any way to download this without installing junk on my machine? Can you use

http://www.rhino3d.com/upload

to get it to us? Thanks,

-Pascal

Hi Pascal,

You clicked the “wrong” download link…
see where to click for direct download of the rar:

HTH
-Willem

Got it now, merci!

-Pascal

1 Like

Oh, Great! Did you actually have junk INSTALLED, or was it just downloaded? Which of the items on Willem’s screen image did you click the first time?

I ask not specifically in relation to Willem’s issue, but because more and more formerly simple and legitimate download sites seem to be jumping on the advertising and junk bandwagon and I’d just like to add to my mental library to aid in recognizing when I’m likely to be blindsided. This one doesn’t seem quite as bad as some others I’ve seen where the junk link(s) are much more dominant on the page than the thing you really want - which sometimes looks deliberately disguised.

This is the simplest and lightest version I could think of.
Two curves with curve piping, one smaller and dark.
One bigger, reflective with a transparent map.

The bonus is that you can tweak this for ever, just drag the points around until you are satisfied.

Here is the map. It is repeared 200 times in the U direction.

And file if you want to have a look.
(Sun, ground and physical sky is activated for the render)

hose.3dm (170.8 KB)

1 Like

@Holo
I’ve been thinking about a normal/bump map, but this is also an interesting approach, I’ll give this a shot later today! Have to get some things done first.

@pascal
Good you seem to have found it, had a day or two of to get some rest.

@AlW
It is if you click on the stupid “direct download” commercial text, but to download the actual file, it’s the filename.rar

@Holo
I gave this a shot and got some decent results, but the problem is that this shape will not work for Rhino’s Make2D function, which is one of the next steps in the pipeline (next to rendering)

Ah, make2D… Could you just pipe the curve for the make 2D? Or do you need all the details for that?

If so I would see if a combination of a pipe in the center and flow along the center curve a bunch of blocks (A simple cylinder)

Or if you need high res 2D then you can model a section of the spiral and then copy that 100 times, and then “flow along curve” those. But then make 2D will take a long time.

The problem with that last solution, for the highres 2d’s, is how do you make the spiral-sections connect to eachother, as soon as you reach a turn, the flowalongcurve would disjoint the beginning/end parts of each section.

I hope this drawing makes sense with my explanation, otherwise i’ll make a model and upload a screenshot of the problem I expect.

No it would not, because in real life it would not bend at that radius :wink:
So you need to figure out what radius is your minimum for a good result.
Send me your file if you need me to take a look at it.

Holo makes a very important point. In real life armored coverings over flexible hoses are made of stuff which is much less flexible than the hose. It might rely on geometric displacement of the overlap between turns (for rigid spiral wrap), elastic deformation (materials harder and tougher than the hose but still deformable) or even complex shifting of individual strands of braided wire. A truly realistic depiction of this behavior would need to duplicate the construction and properties of the real thing, or at least use some pretty sophisticated Rhino techniques (which may not even exist) to fake it. My first guess is that it won’t be possible to do it in such a way that you can then drape your fully-modelled armored hose as desired after you’ve modeled it. Maybe some additional thinking here will be able to come up with a practical way to put the armor on after the hose routing has been established and assuming you don’t want to adjust it after it’s armored.

Of course, if it was easy the McNeel guys would program it into Rhino as a command, :smiley:

Interesting problem. I had to go look at our shower hose, and it looks like the way it’s constructed that the distance between the outer spirals limits how tight the radius can get. As they collapse together but now far enough that they interfere with each other.

In addition, however, there is a slight twisting of the cross-section of the armor wherever the hose is bent to allow the armor to bend as in the picture. From a pure geometry point of view, this represents a distortion of each turn of the armor in the bent zones of the hose from what it’s shape was in the unbent state.

If the armor was built up of one-turn blocks strung together, gaps would form where they join. I have no time to play with this right now, but I can’t help wondering what such a piece of hose armor would do under cage editing.