Kirpal / Keyboard-Layout-Editor-for-Blender

Allows you to import keyboard layouts into blender and render them in 3d
336 stars 38 forks source link

Vertical correction to legends #14

Closed wilderjds closed 6 years ago

wilderjds commented 6 years ago

Blender vertical alignment is terrible!

Without patch [test board with DSA and various SA row profiles and increasing legend size] before

With patch applied after

This hack is a bit fragile but better than nothing…

Kirpal commented 6 years ago

What about adding a little bit to the vertical padding? It seems close to the edge right but

wilderjds commented 6 years ago

The issue is more subtle than just adding padding. You are using shrinkwrap with nearest_surface, so the legends are more likely to get to the rim than to the scooped part. On top of that, nearest_surface deforms legends quite a bit (uneven thickness and so on)

I experimented with project_z and it works quite well, except that there are bad artifacts when the legends are larger than the keycap… I am now testing something along the lines of clip + shrinkwrap with project_z

Kirpal commented 6 years ago

Sounds good! I'll merge this now, I think its better to have less padding then to have the overlapping