4 Posts
Hello folks!

Recently I experienced Mecabricks in combination with Blender and I am very happy with all the features u get.
But I am struggling right now:

I would like to export a UV Map of a LEGO piece (e.g. LEGO leg) into a .svg Vector file.
The problem that I am dealing with now is how to get it perfectly scaled.
I would like to create a Minifigure Template that is already scaled to life size in order to use it for creating Decals.
Sadly every template on the internet has not the right scaling that is why this seems to be one of my last options.

To round this up:
How can I export the UV Map with the exact scaling fitting to life size LEGO pieces?
24 May 2020, 18:53
3061 Posts
Not too sure I understand your problem. UV coordinates are normalized to be between 0 and 1(to simplify). So image representating the layout is a multiplication between coordinates and resolution.
24 May 2020, 20:25
4 Posts
So you can export the UV Map in any size you want (1024x1024 / 8000x8000 - however you like).
I imported the UV Map into Illustrator and combined all small parts to get the outside area of the leg.
This quite easy. I got the proportions right. But I have it scaled at any size. I need a factor to scale it to real life size to develope special stickers for the figure.
So here's another question. Is it possible to set units in blender that the LEGO Minifigure is already perfectly scaled in Blender. I could then add a simple object which I know the size of. It should appear in the UV Map as well. Then I could scale the UV Map in Illustrator so that the reference object I know the size of matches to the units in Illustrator.

Is this possible or is it hard to set units in Blender?

I hope you understand
25 May 2020, 07:19
3061 Posts
I think that there is a misunderstanding about how uv coordinates work. The uv coordinates are normalized and independent from units and texture resolution. Changing the units in the 3D software doesn't have any impact whatsoever on uvs.
25 May 2020, 08:35
4 Posts
Oh okay. I didn't know that it is independent from units.
In the meanwhile I found another way to get the measures. I scaled the Mnifigure down to 1/1000 of its size in mm.
Now I have it in real life size in blender. I can then pick the measure tool and measure for example the length of a leg and scale the UV Map in Illsutrator to fit that length.
But anyway!
Thanks for your help!
25 May 2020, 11:14
3061 Posts
Default Blender unit is meter. To use mm, go to the scene properties in the Units panel. Change Unit Scale to 0.001 and Length to Millimeters. You won't need to scale anything. If you use the Mecabricks template file available in the Blender add-on, it is already all set for you.
25 May 2020, 11:31
4 Posts
I actually did it like you described without my own knockledge. I am new to Blender but I did it like you explained. I did not scale the object.

25 May 2020, 11:44
Page 1 of 1