2015-08-17 13:50 GMT+02:00 Djimeli Konrad <djkonr...@gmail.com>: > > > On 17 August 2015 at 09:03, Daniel Roßberg <danielmrossb...@gmail.com> > wrote: >> Konrad, >> >> What does the standard say about the unit used in X3D? > > According to X3D Unit Specification Updates the standard unit for length is > meters.
Aha, then there is really a factor 1000 between X3D and BRL-CAD, i.e. m in mm. >> You could send us your g-x3d.c file, e.g. via this mailing list. >> Maybe someone has an idea how to fix the export. > > Attached to this mail is the g-x3d.c file which I found in src/conv/ of the > BRL-CAD source code. > I have an idea of how to rewrite the code, as modification of g-stl.c but I > would have to get a better > understanding of the code first to see if there is a chance of fixing > whatever the problem is without > rewriting the whole code. So you haven't touched g-x3d.c yet. It looks like g-x3d.c uses an obsolete variant of the tessellation algorithm. This would mean you had to rewrite it. However, your main focus should be to prepare a complete and clean patch for your X3D import including the documentation, e.g. a manual page. Regards, Daniel ------------------------------------------------------------------------------ _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel