|
 |
Thank you for all your answers.
In fact, it's still and still the same problem of surfaces coincidence.
Two boxes and four cylinders give too many cases to manage with epsilon
translation in y.
And as BE says, this object is “too” simple :(
So I started working on a new geometry with no overlap.
<sdl>
// --- a quarter circle
#declare corner = difference {
cylinder { <0, -H, 0>, <0, 0, 0>, R }
plane { z,0 }
plane { x, 0 }
}
merge {
// central box
box { <-S+R, -H, -S+R>, <+S-R, 0, +S-R> }
// left/right box
box { <-S+R, -H, -S>, <S-R, 0, -S+R> }
box { <-S+R, -H, S-R>, <S-R, 0, S> }
// front/rear box
box { <S, -H, -S+R>, <S-R, 0, S-R> }
box { <-S, -H, -S+R>, <-S+R, 0, S-R> }
// corners
object { corner translate <+(S-R), 0, +(S-R)> }
object { corner scale <-1,1,1> translate <-(S-R), 0, +(S-R)> }
object { corner scale <1,1,-1> translate <+(S-R), 0, -(S-R)> }
object { corner scale <-1,1,-1> translate <-(S-R), 0, -(S-R)> }
}
</sdl>
Now everything seems fine.
I can restart my tests with SSS.
--
kurtz le pirate
compagnie de la banquise
Post a reply to this message
|
 |