POV-Ray : Newsgroups : povray.advanced-users : Trouble implementing Axis_Rotate_Trans macro : Re: Trouble implementing Axis_Rotate_Trans macro Server Time
14 May 2024 01:42:15 EDT (-0400)
  Re: Trouble implementing Axis_Rotate_Trans macro  
From: scott
Date: 1 Jun 2015 04:17:54
Message: <556c1532$1@news.povray.org>
> #declare Cutter2 = box {<-Drill_Size, 0, 0>, <Drill_Size, Radius*2, -1> rotate
> -x*Point}
> #declare Relief_Axis = vrotate (<0, Radius*2, 0>, <-Point, 0, 0>);
>
> # declare Cone =
> union {
> #declare theta = 0;
> #while (theta < 90)
>      object {Cutter2 rotate -y*theta Axis_Rotate_Trans (Relief_Axis,
> (12/90)*theta)}
>      #declare theta = theta +1;
> #end
> }
>
> That spits out the following error and pops up the "transforms.inc" file in a
> new tab.

If I add the following lines at the start then I get no error:

#local Drill_Size = 1;
#local Radius = 1;
#local Point = 1;
#include "transforms.inc"

Do you get the same result?


Post a reply to this message

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