POV-Ray : Newsgroups : povray.advanced-users : function helix1 exact parameters : Re: function helix1 exact parameters Server Time
6 Oct 2024 13:54:52 EDT (-0400)
  Re: function helix1 exact parameters  
From: Mike Williams
Date: 3 Nov 2006 05:05:39
Message: <I2wBSZA0PxSFFwNZ@econym.demon.co.uk>
Wasn't it Marvin who wrote:
>
>I am modeling a screw and nut that are supposed to fit into each other
>without collision and stay without collision throughout the process of
>moving nut on screw  from top to end.
>
>However, I have used approximation formula that might not be exact:
>
>isosurface {
>  function { f_helix1(x,y,z, 1, 20/3*omega1, dy, inner_r+dy+dy*2/3, 1, 1.5,
>0) }
>         // distance_wind, thicknessm, r, shape, 0, cross-section type
>         // 20/3 is an empiric factor connecting number of windings of helix
>         // per unit of length with parameter P2 of f_helix1()
>         // ***********************************
>         // *** WHAT IS THE EXACT VALUE???? ***
>         // ***********************************
>  contained_by {
>     box { <-2, -l/2, -2>, <2, l/2, 2> }
>  }
>  max_gradient 1.5
>}

If you use the value "2*pi" where you've got "20/3*omega1" then you get
exactly one complete turn as the y value increases by 1 unit (e.g. from
-1/2 to +1/2)

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.