Creating textured STEP models for 3D view

Hi Mario @kammutierspule ,
there are two methods to add a texture to a wrl file..
VRML has two texture nodes that can contain image data:
ImageTexture, which offers the field url and thus uses external image files
PixelTexture, which offers the field image and thus actually embeds image data in the VRML file.
Both method are not supported in KiCad 3D viewer ATM
There is a nice thread at freecad forum (unfortunately in German)

Here a sample of the two wrl files
freecad wrl url & embed files

There is also a nice python code snippet to convert a wrl with url in to a wrl embedded

Do you think it could be implemented in dev V6? :wink:
EDIT:
If you could enable the url option in 3D viewer, I could add an option to map a texture to a face when exporting a STEP file to wrl in FreCAD StepUp :wink:

PS an old post about texture