I think that this problem isn't so much intractable as it is not precisely
defined. Are you hoping to intersect two surfaces and get the intersection
curve between them? If so BRL-CAD should be able to handle that fairly well.
However if you want to actually perform boolean operations treating the
surfaces as the boundaries of 3d solids. Then unless they're watertight
there isn't a well defined interior and exterior. Which means intersections
stop making sense. Sorry if I'm being stupid and don't understand what's
going on here.

Joe Doliner

On Tue, Nov 10, 2009 at 12:46 PM, Jeff Smith <[email protected]> wrote:

> 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
>
------------------------------------------------------------------------------
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