← Back to team overview

kicad-developers team mailing list archive

VRML Export

 

Hi folks,

 Since the merge of the new 3DViewer the VRML Export routine has not
been able to include x3d data and the few x3d users out there have not
been very happy about this. However, the scenegraph library developed
for the 3D plugin system can easily write monolithic files which include
visualization data for all file formats supported by plugins. This means
that VRML Export can now be modified to either (a) continue to use
inline{} when a file is created and when copying files the scenegraph
library is used to write VRML model equivalents of other file formats
(x3d, STEP, IGES, IDF) or (b) create a monolithic file with all models
defined internally and reused wherever possible. Personally I would
prefer (b) since that would eliminate some options in the Export routine
such as "Copy Model Files" and would also eliminate the problem of
inline{} compatibility with some viewers. There may be problems with
DEF/USE within some programs like Blender but I can always add an
option to not reuse definitions (Blender's VRML code has so many
problems though that I doubt this would help).

Any thoughts before I go ahead and rework the VRML exporter?

- Cirilo

Follow ups