|
|
"Reiner Jung" <nomail@nomail> wrote:
> isosurface {
> function{ f_helix1( x,y,z,
> 1, // number of helixes, (1 = single helix, 2 = double helix etc.)
> (2*pi)/incline, // period, turns on the length of 2*pi
> incline*2, // minor radius,
> nominal, // major radius,
> 1, // shape parameter,
> 2.0, // 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
> }
> contained_by {box { -length/2 , length/2 }}
> ...
Check the settings for the contained_by box; as it is now, it only works if the
nut's total radius (including thread) is smaller than length/2.
Note that POV-Ray automatically expands scalar values to vectors where needed,
so your contained_by box actually is:
contained_by {box { <-length/2,-length/2,-length/2>,
<length/2,length/2,length/2> }}
You probably want something like:
contained_by {box { <-nominal-incline*2, -length/2, -nominal-incline*2>,
<nominal+incline*2, length/2, nominal+incline*2> }}
Post a reply to this message
|
|