On May 3, 2012, at 3:06 PM, plussai wrote:

>      When reading the source code of  some primitives,I found that some 
> opennurbs' API are used frequently.Now I will spend several days to get 
> familar with opennurbs and Brep which are very important
> for the progress of my project.

Thanks Laijiren!  You're correct in that we extensively use the openNURBS 
library as the underlying representation of our BREP/NURBS support.  We have to 
implement much of the functionality not included with openNURBS such as 
raytrace evaluation and your project, tessellation.  Your mentor and a couple 
others devs on the list are quite adept at navigating our BREP/NURBS support so 
don't be shy with the questions.

Be sure you can successfully compile BRL-CAD from a source distribution.  You 
may also want to go through a few of the tutorials under the Introduction to 
MGED available at http://brlcad.org/wiki/Documentation or pre-downloaded within 
the VM disk image.  Keep going until you have most of the basic commands 
memorized.  It shouldn't take more than a day to get through all of the 
tutorials, if needed.  Other applications other than mged you will probably 
need are step-g or 3dm-g for importing NURBS models and rt for rendering them.

There is a 'brep' mged command with several debug options available of probably 
use to your project.  Learning how to use that before coding begins is probably 
worthwhile.  Perhaps someone will give you an overview of how to use it.  
Otherwise, the source code is in src/libged/brep.c as well.

Cheers!
Sean


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