Re: [brlcad-devel] GSoC 2015 update (X3D importer)
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Daniel R. <dan...@gm...> - 2015-08-17 15:32:44
|
2015-08-17 13:50 GMT+02:00 Djimeli Konrad <djk...@gm...>: > > > On 17 August 2015 at 09:03, Daniel Roßberg <dan...@gm...> > 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 |