  | 
  | 
 
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
I am writing an include file to generate the shrouds for the USS Niagara
model I am working on.
My problem is in the ratlines (those horizontal ropes that hang between the
vertical shrouds).  I  want the rat lines to hang so that the lowest point
is 150mm below the ponit at which they join the shroudes. My first idea was
to keep it simple. I scaled a half torus so that is fit between the shrouds.
The problem is obvious, as the torus stretches the smaller diameter of the
torus also stretches, resulting in a varying diameter in the ratline.
I then thought that I would try to write a #while loop that would place
spheres along the curve of a catenary. However, my math skills are not up to
the task.
Here is my call for help....
Can anybody help me with a formula for either a catenary of even a parabola
whose curve has a vertex of  <0,-150,0> and has X intercepts of <X,0,0> with
X being a variable?
And while I am asking.....does anybody have a nice rope texture that I could
put on the finished shrouds?
Thanks,
Tim
 
 Post a reply to this message 
 
Attachments: 
Download 'Shrouds Sample.jpg' (28 KB)
 
  
Preview of image 'Shrouds Sample.jpg'
   
   
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
> Can anybody help me with a formula for either a catenary of even a
parabola
> whose curve has a vertex of  <0,-150,0> and has X intercepts of <X,0,0>
with
> X being a variable?
Have you tried a spline, using a sphere sweep?
spline {
    cubic_spline
    X + 4 //X being non control, non starting/ending points
    <0, -200, 0> // Control Point
    <0, -150, 0> // Starting Point
    ... // More points
    <0, 150, 0> // End Point
    <0, 200, 0> // Control Point
}
sphere_sweep {cubic_spline} // Needs some more parameters, cant think of
them at the moment
Hope this helps :-)
Lieut_Data
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
Wasn't it Tim McMurdo who wrote:
>I am writing an include file to generate the shrouds for the USS Niagara
>model I am working on.
>
>My problem is in the ratlines (those horizontal ropes that hang between the
>vertical shrouds).  I  want the rat lines to hang so that the lowest point
>is 150mm below the ponit at which they join the shroudes. My first idea was
>to keep it simple. I scaled a half torus so that is fit between the shrouds.
>The problem is obvious, as the torus stretches the smaller diameter of the
>torus also stretches, resulting in a varying diameter in the ratline.
>
>I then thought that I would try to write a #while loop that would place
>spheres along the curve of a catenary. However, my math skills are not up to
>the task.
>
>Here is my call for help....
>
>Can anybody help me with a formula for either a catenary of even a parabola
>whose curve has a vertex of  <0,-150,0> and has X intercepts of <X,0,0> with
>X being a variable?
>
>And while I am asking.....does anybody have a nice rope texture that I could
>put on the finished shrouds?
>
>Thanks,
>
>Tim
You might consider using Chris Colefax's "link.inc" file to do the hard
work. Something like this, perhaps:-
#declare MyRope = union {
  sphere {<0, 0, 0.5>, 1}
  sphere {<0, 0, -0.5>, 1}
  pigment {rgb <.8,.6,.4>}
  scale <1.8, 1, 1>
}
#declare link_object = MyRope                                
#declare link_count = 70;            
#declare link_looseness = 2;
#declare link_twist = 40;
#declare link_twist_turb = 0.1; 
#declare camera_sky = <0,1,0.1>;
#declare link_point1 = <5, 4, -4>;
#declare link_point2 = <-5, 4, -4>;
   
#include "link.inc"
-- 
Mike Williams
Gentleman of Leisure
 Post a reply to this message 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
All of you have been a great help. Here are two more images of the progress
on the shrouds. LINC.INC was the trick although I was given some great math
lessons that will come in handy during the rest of the modeling.
 
 Post a reply to this message 
 
Attachments: 
Download 'StbdShrouds062002.jpg' (58 KB)
Download 'StbdSide062002.jpg' (20 KB)
 
  
Preview of image 'StbdShrouds062002.jpg'
   
Preview of image 'StbdSide062002.jpg'
   
   
 | 
  | 
 
 |   |  
 |   |  
 | 
  | 
 | 
  | 
 
 |   |  
 
 | 
  |