Hi Sean! On Fri, Mar 27, 2015 at 9:02 PM, Kalpit Thakkar <ceasy...@gmail.com> wrote:
> On Fri, Mar 27, 2015 at 8:12 PM, Christopher Sean Morrison <brl...@mac.com > > wrote: > >> >> On Mar 27, 2015, at 10:27 AM, Kalpit Thakkar <ceasy...@gmail.com> wrote: >> >> >> Okay, yes. Face normals are printed for 2 formats right now -- in OBJ and > STL. Okay, I'll work towards adding the option to the remaining two export > formats -- DXF and SAT. > > I had a look at the bot_dump.c file and I have added support for surface normals in DXF after having a look at the format specs, while SAT already outputs surface normals in it's 'plane-surface' attribute. I started off very awfully, by not having a look at either of the formats and by just adding support using whatever format that I deemed fine, which was very wrong. Well, after realizing about the mistake and talking to ``Erik and you on the IRC, I got the complete idea about what was to be done. I have updated the patch on sourceforge. Please do have a look whenever possible. I have attached the concerned MGED commands that I used to test my changes (screenshot) and the final DXF output file that has been generated. Here are the reference links from where I had a look at the entities and decided the final one : 1) http://www.fileformat.info/format/dxf/spec/9c99326db53b44a8a3abd9fbb336b62a/view.htm 2) http://www.autodesk.com/techpubs/autocad/acad2000/dxf/solid_dxf_06.htm 3) http://paulbourke.net/dataformats/dxf/min3d.html Hoping for a positive response. :D With Regards, Kalpit Thakkar > >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub >> for all >> things parallel software development, from weekly thought leadership >> blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> BRL-CAD Developer mailing list >> brlcad-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/brlcad-devel >> >> >
tetra1.dxf
Description: application/dxf
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel