addam / Export-Paper-Model-from-Blender

Python addon for creating paper models in Blender (development version)
https://blenderartists.org/t/export-paper-model/476597
405 stars 53 forks source link

Dodecahedron not unfolding with correct ratios. #99

Closed wakass closed 1 year ago

wakass commented 1 year ago

Hi there,

I'm running into some issues unfolding a dodecahedron-like shape, specifically when the sides are not all 'equal', so to say. I've illustrated it in the attached screenshot.

The faces are all planar, but it looks like the interior angles and lengths of the edges of the ngons are not preserved. Was hoping there is an easy solution to this, or if i'm doing something silly.

Regards,

WakA

Screenshot 2023-06-11 at 08 59 24
addam commented 1 year ago

Can you please send me the blend file? It seems quite improbable that the script would produce incorrect shapes but if true, it would be a serious bug.

wakass commented 1 year ago

Please find attached the blend file. It does seem a bit odd, but i'm finding comparable results using the regular UV unwrap (which i think paper model might rely on?) Correct unwrapping seems to happen only when using unwrap 'project from view' with the viewport is aligned to the face normal.

dodecahedron_unfold_test.blend.zip

addam commented 1 year ago

As far as I can tell, the angles and length are all correct. If you enable the Display Stretch overlay, it shows nothing noticeable: image

I would close this, assuming the skewed polygon is just an optical illusion. Do you have any measurement to assure there is an actual distortion?

addam commented 1 year ago

Also, overlaying the screenshot from 3D View with the screenshot of UV editor shows that they are exactly the same shape: image

wakass commented 1 year ago

You are completely correct.. this is definitely an optical "illusion". Thanks for looking into this and elucidating the issue!

Regards