[TODO] Implement wrl exporter #9

Open
opened 2024-08-08 17:57:35 +02:00 by Cedric Steiert · 5 comments
Collaborator

Back in the days of blender 2.79 there was a very simplistic .wrl exporter which got removed for blender 2.8. Currently the extension only supports .x3d export (the technical successor of wrl as it's kinda outdated nowadays). Still a wrl exporter is considered needed for educational or research institutions and for various CAD and 3D printing programs used by professionals.

There are some adaptations which claim to be working for blender 2.8 and above, e.g.:

There are workarounds, e.g:

Resulting current tasks:

  • Checking the adaptations: Does it work in blender 4.2+? What features are included?
  • Implement a basic exporter, inspired by the orignal and adapted exporter

Ideally a working exporter would include all necessary sections:

  • Coordinates (coordIndex)
  • Normals
  • Materials (applied vertex color, material properties, image texture)
  • Shading Info (Smooth/Flat Shading/Grease Angle)
Back in the days of blender 2.79 there was a very simplistic `.wrl` exporter which got removed for blender 2.8. Currently the extension only supports `.x3d` export (the technical successor of wrl as it's kinda outdated nowadays). Still a wrl exporter is considered needed for educational or research institutions and for various CAD and 3D printing programs used by professionals. There are some adaptations which claim to be working for blender 2.8 and above, e.g.: - https://goneill.co.nz/blender.php - https://github.com/LWeichenrieder/BlenderVRML2Export There are workarounds, e.g: - https://grabcad.com/tutorials/how-to-use-blender-3d-software-with-grabcad-print Resulting current tasks: - [ ] Checking the adaptations: Does it work in blender 4.2+? What features are included? - [ ] Implement a basic exporter, inspired by the orignal and adapted exporter Ideally a working exporter would include all necessary sections: - [ ] Coordinates (coordIndex) - [ ] Normals - [ ] Materials (applied vertex color, material properties, image texture) - [ ] Shading Info (Smooth/Flat Shading/Grease Angle)
Cedric Steiert added the
enhancement
task
labels 2024-08-08 17:57:35 +02:00
Cedric Steiert changed title from Implement wrl exporter to [TODO] Implement wrl exporter 2024-08-08 17:58:01 +02:00
Collaborator

Hi @Bujus_Krachus ,

I've created a new branch in this repo to fix this but it seem I don't have the access to push to this repository. Am I right that you gave me commit access few weeks ago (I can't find the comment) ?

Here is the error line :

Can't connect to any repository: https://projects.blender.org/extensions/io_scene_x3d.git (https://projects.blender.org/extensions/io_scene_x3d.git: authentication not supported)

I'm connecting using https now, as you suggested. It works fine for pulling but not for pushing, with the same credential.

Hi @Bujus_Krachus , I've created a new branch in this repo to fix this but it seem I don't have the access to push to this repository. Am I right that you gave me commit access few weeks ago (I can't find the comment) ? Here is the error line : > Can't connect to any repository: https://projects.blender.org/extensions/io_scene_x3d.git (https://projects.blender.org/extensions/io_scene_x3d.git: authentication not supported) I'm connecting using https now, as you suggested. It works fine for pulling but not for pushing, with the same credential.
Author
Collaborator

Hi, yes you should have write access as collaborator on this repo. I believe it's most likely an authentication issue. Did you already create an application token and logged in with that? https://projects.blender.org/user/settings/applications
I googled the issue and it could as well be git version and/or timeout related: https://stackoverflow.com/questions/49244369/cant-connect-to-any-url-and-authentication-not-supported

If it still doesn't work, i can give you admin rights, to rule out any repo errors for sure.

Hi, yes you should have write access as collaborator on this repo. I believe it's most likely an authentication issue. Did you already create an application token and logged in with that? https://projects.blender.org/user/settings/applications I googled the issue and it could as well be git version and/or timeout related: https://stackoverflow.com/questions/49244369/cant-connect-to-any-url-and-authentication-not-supported If it still doesn't work, i can give you admin rights, to rule out any repo errors for sure.
Collaborator

Thanks for the hint @Bujus_Krachus , first time using tokens here. New branch export_file_unit created.

Thanks for the hint @Bujus_Krachus , first time using tokens here. New branch `export_file_unit` created.
Author
Collaborator

Glad it worked. Btw wrong issue thread as it seems. You're currently refering to #18.

Glad it worked. Btw wrong issue thread as it seems. You're currently refering to https://projects.blender.org/extensions/io_scene_x3d/issues/18.
Collaborator

I took vacation not so long ago, that shouldn't happen now 🤔.

I took vacation not so long ago, that shouldn't happen now 🤔.
Sign in to join this conversation.
No description provided.