>> hf is a deprecated primitive - I'd suggest the best way to deal with
>> it is to implement (if it doesn't exist already, not sure) a routine
>> to take a hf primitive and convert it to a dsp, then have hf_brep.cpp
>> call that routine and pass the dsp along (much like cline).  Sean
>> would know better than I if dsp has enough expressive power to handle
>> the hf geometry, but my initial thought is that it does.

> It does, but I'd suggest just returning NULL or nothing.  Our dbupgrade 
> command will convert hf primitives to dsp already (via rt_hf_to_dsp()), so 
> it's not worth even five minutes attention.

I think we can first call rt_hf_to_dsp() and then rt_dsp_brep() in the function 
rt_hf_brep(). As I looked into poly (another deprecated primitive), it first 
converts it to nmg, and then to brep. This is still a very quick approach.


Cheers!
Wu
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to