|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This is driving me crazy. I have a shape that's basically a circular
collection of clipped torii and cylinders but as a union I can
represent as a short cylinder with axis along the z-axis. I want to
take a 30 degree wedge out of the bottom of it.
I've defined the wedge as
#declare Wedge = cylinder {
<0, 0, -5>, <0, 0, 5> OuterDia + MinorDia * 2
clipped_by {plane {x * 1, 0 rotate z*15}}
clipped_by {plane {x * -1, 0 rotate z*-15}}
}
It really doesn't need to be that thick but it's okay for my purposes
right now.
I then do
#declare EmblemTest = difference {
cylinder {<0, 0,.01>,<0, 0, -.01> 15}
object {Wedge }
}
object {EmblemTest}
I get nothing. I've tested using intersection and and see the wedge
shape. I've tried setting the wedge to inverse in the difference and
the intersection declarations and I still can't get a disc with a
wedge removed. I've tried a few other combinations that don't come to
mind at the moment but still nothing.
Suggestions?
Thanks,
Lilith
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Lilith <lil### [at] dcccdedu> wrote:
> #declare Wedge = cylinder {
> <0, 0, -5>, <0, 0, 5> OuterDia + MinorDia * 2
> clipped_by {plane {x * 1, 0 rotate z*15}}
> clipped_by {plane {x * -1, 0 rotate z*-15}}
> }
I'm not sure clipped objects work in CSG as you expect. Have you tried
with intersection rather than clipped_by, to see if it works ok like that?
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 18 Sep 2008 12:48:44 -0400, Warp <war### [at] tagpovrayorg> wrote:
>Lilith <lil### [at] dcccdedu> wrote:
>> #declare Wedge = cylinder {
>> <0, 0, -5>, <0, 0, 5> OuterDia + MinorDia * 2
>> clipped_by {plane {x * 1, 0 rotate z*15}}
>> clipped_by {plane {x * -1, 0 rotate z*-15}}
>> }
>
> I'm not sure clipped objects work in CSG as you expect. Have you tried
>with intersection rather than clipped_by, to see if it works ok like that?
That could be it. I'll probably need to redefine the wedge along the
means you've suggested.
Thanks,
Lilith
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 18 Sep 2008 12:22:59 -0500, Lilith <lil### [at] dcccdedu> wrote:
>On 18 Sep 2008 12:48:44 -0400, Warp <war### [at] tagpovrayorg> wrote:
>
>>Lilith <lil### [at] dcccdedu> wrote:
>>> #declare Wedge = cylinder {
>>> <0, 0, -5>, <0, 0, 5> OuterDia + MinorDia * 2
>>> clipped_by {plane {x * 1, 0 rotate z*15}}
>>> clipped_by {plane {x * -1, 0 rotate z*-15}}
>>> }
>>
>> I'm not sure clipped objects work in CSG as you expect. Have you tried
>>with intersection rather than clipped_by, to see if it works ok like that?
>
>That could be it. I'll probably need to redefine the wedge along the
>means you've suggested.
>
>Thanks,
>Lilith
Very kewlsome. That worked.
Thanks again,
Lilith
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|