You'll probably not want to increase the calc tolerance that much in one step. :-) Even going from 0.005 to 0.001 can be a huge step. Some of the tolerances are very sensitive, some aren't. It's generally rather model dependent how sensitive they are.
Another interesting note, though, is the way the memory is being managed and the fact that you ran out of memory implies you told it to run on some high/top-level object? In that particular instance, you could try just tessellating region by region first. There is a developer script Lee Butler that gets installed called "facetall.sh" which iteratively calls a dev command 'facetize_all_regions' in mged. Either the shell script or the mged script might be of interest as they approach the problem similarly, just asking each region to facetize (by default using a 0.01 coarse tolerance). Not a good end-solution, but something to at least be aware of as it relates to our own musings on working around similar problems with other target descriptions. Cheers! Sean On Jun 6, 2009, at 9:07 AM, Tom Browder wrote: > On Fri, Jun 5, 2009 at 20:58, Christopher Sean > Morrison<[email protected]> wrote: > ... >> That said, the cleanup changes you made to g-xxx_facets.c to bring it >> up with the times are certainly good. If you have an svn checkout or >> the original source, you can pretty trivially make a patch file with >> further instructions at https://sourceforge.net/tracker/? >> func=add&group_id=105292&atid=640804 > > I've eliminated all but the non-convertible regions in the tgm. When > I try to decrease the calculation tolerance just another decimal place > (0.005 to 0.0005) the converter has a memory explosion and fails when > memory required equals RAM + swap (4 Gb + 2 Gb on my laptop). > > I'm going to try it on a 8 Gg + 2 Gb machine to see if I can run to > completion, but is there some way to get any brlcad program to > gracefully cease a routine when calling for more memory than is > available in RAM? > > -Tom > > ---------------------------------------------------------------------- > -------- > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the > latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > BRL-CAD Developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/brlcad-devel ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
