|
|
William F Pokorny <ano### [at] anonymousorg> wrote:
> I believe what your are seeing is the fact the disc, like the plane, is
> defined in the code as having and inside (as being a 'basic object'
> rather than a 'patch object') so it can be used in CSG.
That's certainly what it looks like to me. That slice is HUGE.
Thanks for the pointer to Wedge () - I thought it was in one of those inc files,
but wasn't sure where. It's shapes.inc
Simply adding clipped_by and bounded_by makes for a quick fix/workaround
//The same macro but using the "disc" object show the issue
//(image on the right)
#macro corner2 (r,e,a)
#if(a<360)
difference {
disc { <0,0,0>, y, r }
object { complementWedge(a) }
clipped_by {box {<-r, -e, -r>, <r, e, r>}}
bounded_by {clipped_by}
}
#else
disc { <0,0,0>, y, r }
#end
#end
- BW
Post a reply to this message
|
|