Difference between revisions of "Geometry Conversion Library"

From BRL-CAD
(geometry conversion)
 
m
Line 3: Line 3:
 
Many of the geometry conversion tools share the same or very similar code - src/conv is the of the hot-spots for removing duplicate code in BRL-CAD.  (Duplicated code is an unnecessary maintenance burden, as a problem in one instance must be fixed in all).  This project would work on a conversion library that provides a clean API for converting to and from different formats.
 
Many of the geometry conversion tools share the same or very similar code - src/conv is the of the hot-spots for removing duplicate code in BRL-CAD.  (Duplicated code is an unnecessary maintenance burden, as a problem in one instance must be fixed in all).  This project would work on a conversion library that provides a clean API for converting to and from different formats.
  
Geometry conversion is an immense topic, so a student proposal should concentrate on the design of the library rather than the details of each individual format, using just a few formats as focuses for initial development.  At the same time, the library design should be general enough that new formats can be added to the library without running into API limitations.  Students submitting proposals for this topic should discuss it beforehand with developers via IRC or email.
+
Geometry conversion is an immense topic, so a student proposal should concentrate on the design of the library rather than the details of each individual format, using just a few formats as focuses for initial development.  The library design should allow formats to be added to the library as plugins.  Students submitting proposals for this topic should discuss it beforehand with developers via IRC or email.
  
 
Requirements:
 
Requirements:
Line 10: Line 10:
 
*Familiarity with file parsing issues (lex/yacc a plus)
 
*Familiarity with file parsing issues (lex/yacc a plus)
 
*Basic understanding of geometry information (will be needed for understanding conversion issues)
 
*Basic understanding of geometry information (will be needed for understanding conversion issues)
 +
 +
Difficulty:  low

Revision as of 23:24, 10 March 2011

One of the most common uses of BRL-CAD is to convert geometry from one format to another. This is a task all CAD systems must perform, and often one of the more difficult. BRL-CAD has a wide variety of converters, both import and export, that are coded as stand-alone tools.

Many of the geometry conversion tools share the same or very similar code - src/conv is the of the hot-spots for removing duplicate code in BRL-CAD. (Duplicated code is an unnecessary maintenance burden, as a problem in one instance must be fixed in all). This project would work on a conversion library that provides a clean API for converting to and from different formats.

Geometry conversion is an immense topic, so a student proposal should concentrate on the design of the library rather than the details of each individual format, using just a few formats as focuses for initial development. The library design should allow formats to be added to the library as plugins. Students submitting proposals for this topic should discuss it beforehand with developers via IRC or email.

Requirements:

  • Familiarity with C/C++
  • Familiarity with file parsing issues (lex/yacc a plus)
  • Basic understanding of geometry information (will be needed for understanding conversion issues)

Difficulty: low