Kesha, I noticed the recent questions on your dev log. Below are some additional answers following our previous discussion.
On Sep 3, 2013, at 11:55 PM, Christopher Sean Morrison wrote: > On Sep 2, 2013, at 2:32 PM, Kesha Shah wrote: > >> Hi Sean, >> >> I found a simple .dxf geometry file on net. After downloading, made a .g >> file by command line through terminal (dxf-g !!). >> >> I have attached my observations and screen-shot. >> >> For this, the .jpg file was available, as to how it looks, but for those >> whose I don't get, how do I confirm that I am viewing it correctly and the >> hierarchy that resulted after the import is correct ? > > You have to know what it's supposed to look like to know if it's correct. Is > the jpg actually correct? From the image along, I would have guessed that it > looks wrong. Perhaps look at that dxf in other software so you can compare. > Or find a different/better dxf file. You really want one that contains 3D > entities, not just 2D entities. > >> Also, in this, if you view both figures, two shapes are missing. Does it >> mean that the conversion is lossy and can it be corrected so that the >> missing two shapes also get imported correctly ? > > Your terminology sounds incorrect. If something is missing from the > conversion, it's not "lossy", it'd probably be a bug, an incompatibility, or > invalid geometry. There is not enough information to answer your question. > You'd at least need to know what is missing and then follow the code to > understand why (assuming no messages were displayed to the console that > explain the result). >> Many a times, when I do export, some objects are exported correctly, but it >> ends with a segmentation fault. The material property disappears after >> conversion. The mater and color related information is lost after >> conversion. Is it normal ? I presume you mean "import", but a segmentation fault is always a bug. If you encounter a crash, please get a stack trace (several people on IRC and many tutorials around the web can help) and report it (or investigate/fix it). It is normal for their to be color and material property changes during conversion. >> Sometimes, converting gives more layers and objects as compared to the >> original one. Where did the extra regions come from ? Conversion is almost never an exact translation. It's more like translating from German to Chinese to English. Some things are really easy, but others only have approximations. While I encourage you to investigate any problems encountered during the conversion process, remember the goal is to simply find one or two models that seem to convert without a problem and to make sure you understand what the tool is doing (e.g., why are there more/different objects? how are they different?). This is aimed at helping you to understand what the step-g importer is doing by understanding the underlying notion of geometry import and our general interface. Sean ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel