|
![](/i/fill.gif) |
In article <3a689206@news.povray.org>, "Mark M. Wilson"
<mrm### [at] worldnet att net> wrote:
As long as you don't need an angle >= 180, you can just use an
intersection or difference with two planes:
(this macro is untested!)
#macro TorusArc(MajorRadius, MinorRadius, ArcAngle)
intersection {
torus {MajorRadius, MinorRadius}
plane {-z, 0}
plane {z, 0 rotate -y*ArcAngle}
}
#end
union {
object {TorusArc(1, 0.1, 60) ...}
object {TorusArc(1, 0.1, 60) ...}
object {TorusArc(1, 0.1, 60) ...}
...
}
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |