Hi Hans and Mikael,
Thanks for your solutions. I’m happy to discard paths that have no area, so I
used:
q = for i = 1 upto 3 :
if (length(p[i]) > 1): p[i] && fi
endfor
cycle ;
This worked in the MWE, but it didn’t solve my problem in the globes module.
Something else must be happ
On 12/31/2023 8:06 AM, Mikael Sundqvist wrote:
\startMPpage
path p[], q ;
p1 = fullcircle scaled 3cm ;
p2 = fullcircle scaled 2cm shifted (3cm,0) ;
p3 = (3cm,2cm) ;
p4 = fullcircle ;
q = p[1] for i = 2 upto 3:
if (length(p[i]) == 0): &&& else: && fi p[i]
endfor
&& cycle ;
eofill q withcolor 0.9 ;