There was a balloon of mounting foam without a spout and there was no time to go to the store. But there is a printer. I saw a comment on the makerworld that the model does not fit tightly and the foam climbs where it is not necessary. But he did not believe it for nothing.
If you decide to print a nozzle for mounting foam on a 3D printer. Consider the possibility of such a problem. Because it is difficult to wash. Here is a link to this particular model https://makerworld.com/en/models/1324907-replacement-spray-foam-nozzle
I see that comments with photos have been added: