|
![](/i/fill.gif) |
In article <38fb6f9e.5001681@news.povray.org>, mrr### [at] spherica demon co uk
(Matt Moose) wrote:
> I need to make a hemispherical dome with a thin metallic surface,
> similar to a pocket watch cover, and pierce it with simple shapes. Can
> anyone advise on how to do this please? (The piercing of these shapes
> must not interfere with other nearby objects if possible, as the shape
> holes are making way for other objects to poke through).
>
> Many thanks for all the help I've received here so far
Hmm, just use CSG:
difference {
difference {
sphere {< 0, 0, 0>, 1}// the dome
sphere {< 0, 0, 0>, 0.95}// hollow it out
plane {y, 0}// chop half of it off to make a hemisphere
scale < 1, 0.5, 1>// flatten it a bit if you want
}
cylinder {< 0, 0, 0>, < 1, 1, 0>, 0.3}// chop whatever shapes you
cylinder {< 0, 0, 0>, <-1, 1, 0>, 0.3}// want out of it.
}
If the dome is really a hemisphere, you can just remove the scale and
the outer difference and place the cutting shapes inside the inner
difference. Or you could place the scale inside the two sphere
statements...there are many possible ways to do it.
--
Christopher James Huff - Personal e-mail: chr### [at] yahoo com
TAG(Technical Assistance Group) e-mail: chr### [at] tag povray org
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |