[NTG-context] Re: MetaFun path joiners && and &&&& do not like single point paths

2023-12-31 Thread Gavin via ntg-context
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

[NTG-context] Re: MetaFun path joiners && and &&&& do not like single point paths

2023-12-31 Thread Hans Hagen via ntg-context
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