On Fri, Jan 7, 2011 at 12:34 AM, Christopher Sean Morrison
<[email protected]> wrote:
>
> On Jan 6, 2011, at 5:12 PM, Clifford Yapp wrote:
>
>> It's used in both the test iges converter and the step-g converter.
>> The latter isn't yet being built on Windows, but the former needs it.
>> I can just turn it off for now - it's not installed.
>
> Since your follow-up said step-g was doing it's own thing, it sounds
> like the encapsulation breakage is pretty limited then.  Does the
> n_iges converter actualy "need" to pull curves back?  If it does,
> then the routine should be made into a proper librt API function
> (e.g., rt_pullback_curve()) or a new extended openNURBS library
> (libExON? libONE? libOpenNURBSEx?).

I need to do a more careful study of the code, and what the
requirements of the IGES format are.  IIRC Keith indicated that STEP
required some rather generic NURBS routines for us to get valid 3dm
representations of STEP data, but I can's say for sure about IGES.

Making an extended openNURBS library was actually my idea for
libnurbs, but I haven't been able to do very much with that yet.  If
we want to keep the implementation internal to BRL-CAD I'd suggest
libONext.

> A quick review shows a related problem that the opennurbs_ext.h
> header is being treated as a public header and it should not be.
> Looks like step-g is the only thing using it so that can fortunately
> be fixed, but if step-g really (really) needs it, then we really
> should look into wrapping the calls needed through rt_*() functions
> or setting up the extension library before things get too messy.

I'll discuss it with Keith and see what he was thinking - it's
probably a pretty safe bet though, that NURBS manipulation functions
like pullback will be needed in enough places to make librt a rather
poor place to stash them (they'll be used for more than just
raytracing.)

Cheers,
CY

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to