I'm a relatively new user of BRL-CAD and I'm trying to do something it
may not even support. Specifically, I wish to find the intersection
surface of two other surfaces, which may not be watertight solids.  I
realize that, in general, this is an intractable problem, but I can
live with certain cases failing.  All surfaces are triangulated (BOTs),
and have vertex and face normals.  I have certain other geometric
guarantees, but they're probably not germane right now.

I'm using BRL-CAD as a set of libraries which are called from another
program. Using the sample code provided with the distribution, I've
managed to cobble together some code that imports OBJ files, performs
boolean operations on them, and spits out the results as OBJ files.  I
can post this code here, or on a website, if looking at it will help, or I
can go into greater detail about how I'm constructing the regions,
etc. that I'm feeding into the mk_addmember function (to do the
boolean).

Any advice?  Or is BRL-CAD just not written to deal well with non-
watertight solids at all?

-Jeff

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
BRL-CAD Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-users

Reply via email to