|
|
On 10/11/2016 09:25 PM, StephenS wrote:
...
>
> Now my question;
> How do I rotate around y axis
> max(//reference edge good
> sqrt(pow(y-Edge,2)+pow(z-Edge,2))-Block_Round_corner,
> x-Inside_length,
> -x+Inside_corner
> )
> I can substitute my z, but what do I use for my x?
>
>
> After trying some other stuff, I also have;
> sqrt(
> pow(y-Edge,2)
> +pow(z-Edge,2)
>
> +pow(x-select(min(x-Inside_length,0),max(x,Inside_corner),min(x,Inside_length)),2)
>
> )-Block_Round_corner
>
> Witch seems to give a cylinder with rounded ends.
> I can't seem to rotate this ether.
>
> Suggestions, hints?
>
> First image: my work so far on an isosurface rounded_cylinder_section.
> Second image: my cylinder with rounded ends equation.
>
> Stephen S
>
See too:
http://wiki.povray.org/content/Documentation:Tutorial_Section_3.2#Transformations_on_functions
Bill P.
Post a reply to this message
|
|