Export Wireframe Possibility
legodan a commencé cette discussion dans Help and Tips

Just looking to see if it's possible on exporting to .obj to have option to export as just wireframe as seen when selecting that option from the editor.

3 réponses · Page 1 sur 1
Avatar de Scrubs
Administrateur

Hello, wireframe is a view/mode available in any 3D software. Which software do you use?

I understand that part. I was actually looking at the export for obj which adds a material. When I use that in a three js based website I would like to see the wireframe not the solid object. When I import the obj its a solid white color even if I don't load a material. I thought about looking at the code for the OBJ loader but not sure I want to go that far just yet. Creating a new website for blogging about legos and SharePoint and various other hobbies. https://legodan.com is still being built and this is part of it.

Okay, I got it to work by using the getObjectByName function and applying a new MeshBasicMaterial to the object setting wireframe option to true. Works a treat!

Publicité
2 participants
Avatar de Scrubs

LEGO, le logo LEGO, la minifigurine et les configurations des briques et tenons sont des marques déposées de LEGO Group of Companies. ©2024 The LEGO Group.

Mecabricks, le logo Mecabricks et tout le contenu non couvert par les droits d'auteur du groupe LEGO sont, sauf indication contraire, ©2011-2024 Mecabricks.