looking for the X3D export

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
tobycz
Posts: 28
Joined: Tue Jul 26, 2016 2:35 am

looking for the X3D export

Post by tobycz »

Hi,

I'm looking for the X3D export in FreeCAD but I can't find it.
I could find another topic on the forum (viewtopic.php?f=3&t=9301) referring to the X3D export in V0.14.
And from the source code (MeshIO.cpp) it seems to be there but I can't figure out how to use it in FreeCAD neither from the GUI nor using Python.

Thank you!

Cheers,
Tobias

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6704 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
User avatar
easyw-fc
Veteran
Posts: 3630
Joined: Thu Jul 09, 2015 9:34 am

Re: looking for the X3D export

Post by easyw-fc »

tobycz wrote:Hi,

I'm looking for the X3D export in FreeCAD but I can't find it.
I could find another topic on the forum (viewtopic.php?f=3&t=9301) referring to the X3D export in V0.14.
And from the source code (MeshIO.cpp) it seems to be there but I can't figure out how to use it in FreeCAD neither from the GUI nor using Python.

Thank you!

Cheers,
Tobias

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6704 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Hi, if you are looking for a X3D exporter, there is something here as python code
https://github.com/hyOzd/ecad-3d-model- ... ort_x3d.py

If you would consider VRML from FreeCAD you can have a try at
http://sourceforge.net/projects/kicadstepup/
from WRL you can get X3D using Blender
Maurice
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: looking for the X3D export

Post by wmayer »

The X3D export format is available in the Mesh workbench and only allows you to export surface meshes -- surfaces of higher order or curves are not supported with this implementation.

In order to use it select your shape and switch to the Mesh workbench. Now use the command to create a mesh from a shape and use any of the existing methods Standard, Mefisto or Netgen. Now select the output mesh and use the command Export mesh from the Mesh menu.
tobycz
Posts: 28
Joined: Tue Jul 26, 2016 2:35 am

Re: looking for the X3D export

Post by tobycz »

Thanks, Maurice!

I think I came across this during a Google search.
And it would be plane B to have something implemented in Python if the internal FreeCAD solution is not adequate.

Tobias
easyw-fc wrote: Hi, if you are looking for a X3D exporter, there is something here as python code
https://github.com/hyOzd/ecad-3d-model- ... ort_x3d.py

If you would consider VRML from FreeCAD you can have a try at
http://sourceforge.net/projects/kicadstepup/
from WRL you can get X3D using Blender
Maurice
tobycz
Posts: 28
Joined: Tue Jul 26, 2016 2:35 am

Re: looking for the X3D export

Post by tobycz »

Thanks, this is what I was looking for!
I will give it a try!

Tobias
wmayer wrote:The X3D export format is available in the Mesh workbench and only allows you to export surface meshes -- surfaces of higher order or curves are not supported with this implementation.

In order to use it select your shape and switch to the Mesh workbench. Now use the command to create a mesh from a shape and use any of the existing methods Standard, Mefisto or Netgen. Now select the output mesh and use the command Export mesh from the Mesh menu.
Post Reply