|
 |
On 2025-09-01 12:23 (-4), Alain Martel wrote:
> Le 2025-09-01 à 11:54, kurtz le pirate a écrit :
>>
>> #declare corner = cylinder { <0, -H, 0>, <0, 0, 0>, R }
>>
>> merge or union
>> {
>> box { <-S+R, -H, -S>, <+S-R, 0, +S> }
>> box { <-S, -H, -S+R>, <+S, 0, +S-R> }
>>
>> object { corner translate <+(S-R), 0, +(S-R)> }
>> object { corner translate <-(S-R), 0, +(S-R)> }
>> object { corner translate <+(S-R), 0, -(S-R)> }
>> object { corner translate <-(S-R), 0, -(S-R)> }
>> }
>
> The noise in the hole lead me to think that it may be a coincident
> surface issue.
> The merge remove internal surfaces. When two surfaces are in the exact
> same location, you get all sort of glitches as the program can't tell
> witch one is inside and need to get removed.
> Try moving one of the box up or down by a very small amount, like :
> translate y*10^-7
>
> Does that help ?
In fact, both boxes will need to be moved (one up, and one down),
because they also share coincident surfaces with the four cylinders.
P.S. There is a typo: y*10^-7 should be y*10e-7.
Post a reply to this message
|
 |