cuddlyogre / ExportLDraw

LDraw Import and Exporter for Blender 2.82+
GNU General Public License v2.0
49 stars 12 forks source link

custom part created in part creator not showing custom textures #50

Open MAriehamn360-Vitrin2 opened 10 months ago

MAriehamn360-Vitrin2 commented 10 months ago

after creating a custom lego part with own texture from an image i created in part designer i can only see the main part and the color but not the texture with the image. Screenshot 2024-01-26 191116

is there any way to fic this or is it a feature that comes later?

cuddlyogre commented 10 months ago

It should be importing the texture. Stud.io's texturing system is fairly complex so it's possible I missed something. Would you mind sharing the part so I can troubleshoot?

MAriehamn360-Vitrin2 commented 10 months ago

cant share io files here. it says its not supported.

cuddlyogre commented 10 months ago

I actually just need the exported ldr file that you imported into Blender.

MAriehamn360-Vitrin2 commented 10 months ago

i cant even send the ldr file. i saw that when i export ldr and opens it in ld view it gets one color without any texture but when pressing on export to studio in part designer it seems to work.

MAriehamn360-Vitrin2 commented 10 months ago

if i try to export the working custom part from bricklink studio it exports an empty file

cuddlyogre commented 10 months ago

Do you see anything if you open the LDR file in notepad?

MAriehamn360-Vitrin2 commented 10 months ago

wait il take a look

MAriehamn360-Vitrin2 commented 10 months ago

Screenshot 2024-01-26 223317

Here is the text im getting. 0 Untitled Model 0 Name: UntitledModel 0 Author:
0 CustomBrick 1 15 28.000000 -20.000000 14.000000 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 m3eef7f7b_2024120_040833.dat

cuddlyogre commented 10 months ago

Is there a file named m3eef7f7b_2024120_040833.dat in %LocalAppData%\Stud.io\CustomParts?

MAriehamn360-Vitrin2 commented 10 months ago

yes its there. maybe it needs to be also placed in the Ldraw folder in document?

cuddlyogre commented 10 months ago

Make sure any parts referenced by your LDR are in the same folder.

This leads me to believe I need to add the custom parts folder to the LDraw paths.

MAriehamn360-Vitrin2 commented 10 months ago

yes that wold be good to add possibility to add custom and multiple paths.