Zhao, I just tested facetize with a simple region (see the attached file). Then I wanted to see how many shells it has produced. I thought looking at the ASCII version of the database would be a good idea (created with g2asc). However, the ASCII NMG has always only one shell: rt_nmg_adjust() modifies only the first shell.
Therefore I'm more and more convinced that we don't need the model-nmgregion structures. Even the work-around with the combinations may be unnecessary (but I'm not sure). At least the ASCII import and export should be no problem with the single-shell nmg. I'ts ASCII format knows only one shell. Regards, Daniel
nmg_test.g
Description: Binary data
------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems
_______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel