That's a very clever trick, actually. I presume it would only work up to about f/2.8 though, limited by the viewfinder? I can
just about still make out the corner with the DA 35 f/2.4 on the K-50.
Expanding on the idea, I proceeded to roll up a piece of ordinary white paper (80 g/mē), make a tube to go around the lens and shine a smallish (LED) flashlight through the viewfinder. In a darkened room, it does give some decent-ish petal contours, more so on the inside than the outside. Seems workable enough for some pencil marks in any case. Cool.
EDIT: So for this combination of camera and lens I am getting:
Min distance 8-8.5 cm from mount
Side petals 11-11.5 cm
Long petals 15 cm
with a tube diameter of about 59 mm.
The lens itself is about 4.5 cm long, so from the front you'd be getting:
Min distance 3.5-4 cm
Side petals 6.5-7 cm
Long petals 10.5 cm
So my 35mm long, 58 mm dia. circular screw-in hood clears the corner with not much room to spare (seems right - I could already see that earlier). Those petals are quite impressively long, so I'm not surprised a circular hood is far from ideal.
Now with M 50 f/1.7. Boy, this is getting fuzzy.
Min distance ~9.5 cm from mount
Long petals 18 cm
Second try:
Min distance 9-11 cm
Long petals 20.5 cm
Lens length ~3.5 cm, so subtract that.
Now since I know that 70 mm long, 62 mm dia. in front of the lens already is a bit too tight, I guess minimum distance from the front should be around 6 cm, long petals maybe 12 then? This is getting pretty long.
Another data point for an Auto Revuenon (Chinon) 50mm f/1.4:
Min distance ~9 cm from mount
Long petals ~20 cm
Lens length ~3.8 cm
EDIT^2: I am thinking that instead of going with a super long petal hood, one may be better off complementing a circular hood with a rectangular window thingy, like what the 21 Limited has... This seems to work best on shorter lenses, since at short distances things are round... on a 135 I have to go maybe 20 cm away to see a decent rectangle (so that's why tele lens hoods are round, huh?), but a 35 plus 35 mm extension would be OK.