|
|
In article <3a689206@news.povray.org>, "Mark M. Wilson"
<mrm### [at] worldnetattnet> 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] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|