POV-Ray : Newsgroups : povray.general : Help: How to create a bolt? : Re: Help: How to create a bolt? Server Time
10 Mar 2026 10:53:26 EDT (-0400)
  Re: Help: How to create a bolt?  
From: Alain Martel
Date: 7 Mar 2026 18:31:29
Message: <69acb551$1@news.povray.org>
Le 2026-03-07 à 11:17, jr a écrit :
> hi,
> 
> "LanuHum" <Lan### [at] yandexru> wrote:
>> Wow. I found a rectangular thread in the documentation
> 
> nice.  as I said, I've no maths, but if that profile can be rotated by 45
> degrees..
> 
> 
> regards, jr.
> 
function{
      f_helix1(
         x,y,z,
         1,    // number of helixes, (1 = single helix, 2 = double helix 
etc.)
         22,   // period,      turns on the length of 2*pi
         0.07, // minor radius,
         0.80, // major radius,
         1,    // shape parameter,
         0.3,  // cross section type, (0.0 to 1.0 = square ... rounded 
to circle
               //     over 2.0 to 3.0 = rounded to diamond and concave 
diamond
         0     // cross section rotation angle
       )
   }

The last parameter «cross section rotation angle» is the rotation of the 
shape in degree.

The 9th parameter let you change the shape.


Post a reply to this message

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