|
|
Hello,
As the subject indicates, the goal is to create a "slice" of the disk.
With this macro, everything works fine (image on the left)
#macro corner(r,e,a)
#if(a<360)
difference {
cylinder { <0, -e, 0>, <0, e, 0>, r }
object { complementWedge(a) }
}
#else
cylinder { <0, -e, 0>, <0, e, 0>, a }
#end
#end
The same macro but using the "disc" object show the issue
(image on the right)
#macro corner(r,e,a)
#if(a<360)
difference {
disc { <0,0,0>, y, r }
object { complementWedge(a) }
}
#else
disc { <0,0,0>, y, r }
#end
#end
With the help of this macro :
#macro complementWedge(a)
object {
Wedge(360-a)
rotate a*y
}
#end
Bug ?
Note that the use of cylinder does not bother me more than that.
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
Attachments:
Download 'issue.jpg' (29 KB)
Preview of image 'issue.jpg'
|
|