Difference between revisions of "User:Cprecup/GSoC2012 progress"
(study how to access data corresponding to a geometry hierachy) |
m (reformatted the text because of readability reasons) |
||
Line 1: | Line 1: | ||
− | + | =Community bonding period= | |
− | |||
− | + | ===General progress=== | |
====10/05/2012==== | ====10/05/2012==== | ||
I've studied the ''src/mged'', ''src/librt'' and ''src/conv'' folders, looking for methods that can be used to access the elements of a CSG tree. | I've studied the ''src/mged'', ''src/librt'' and ''src/conv'' folders, looking for methods that can be used to access the elements of a CSG tree. | ||
Line 14: | Line 13: | ||
which takes a TCL-style string description of a binary tree, as produced * by db_tree_list(), and reconstruct the in-memory form of that tree. Could be useful after the structure of the graph is modified and the CSG needs to be updated. | which takes a TCL-style string description of a binary tree, as produced * by db_tree_list(), and reconstruct the in-memory form of that tree. Could be useful after the structure of the graph is modified and the CSG needs to be updated. | ||
− | + | ===2. Get commit access=== | |
====08/05/2012==== | ====08/05/2012==== | ||
Worked on the patch for the NMG migration task (create a separate library LIBNMG outside LIBRT). This time, because BRL-CAD previously built without errors, things go smoother. | Worked on the patch for the NMG migration task (create a separate library LIBNMG outside LIBRT). This time, because BRL-CAD previously built without errors, things go smoother. | ||
− | + | ===1. Compile & install BRL-CAD=== | |
====28/04/2012==== | ====28/04/2012==== | ||
Revision as of 17:49, 11 May 2012
Contents
Community bonding period
General progress
10/05/2012
I've studied the src/mged, src/librt and src/conv folders, looking for methods that can be used to access the elements of a CSG tree.
Methods that got my attention:
- in the src/librt/db_tree.c file:
int db_tree_list(struct bu_vls *vls, const union tree *tp)
which fills a bu_vls with a representation of a given tree appropriate for processing by Tcl scripts. Could be useful in constructing the interactive graph.
union tree *db_tree_parse(struct bu_vls *vls, const char *str, struct resource *resp)
which takes a TCL-style string description of a binary tree, as produced * by db_tree_list(), and reconstruct the in-memory form of that tree. Could be useful after the structure of the graph is modified and the CSG needs to be updated.
2. Get commit access
08/05/2012
Worked on the patch for the NMG migration task (create a separate library LIBNMG outside LIBRT). This time, because BRL-CAD previously built without errors, things go smoother.
1. Compile & install BRL-CAD
28/04/2012
After discussing my problem with one of the mentors and finding the cause for these errors, BRL-CAD completely built.
27/04/2012
I created my first patch for BRL-CAD by using the virtual machine disk image so now I want to compile and install BRL-CAD from source (from a svn checkout).
I've followed the instructions with respect to the dependencies (the ones from here http://brlcad.org/wiki/Compiling and from the doc/README.Linux). I've used the command
cmake -DCMAKE_BUILD_TYPE=Debug -DBRLCAD_BUNDLED_LIBS=Bundled .
but after using
make
, I kept getting these errors http://pastebin.mozilla.org/1602696.
Afterwards, I decided to try the command
cmake -DCMAKE_BUILD_TYPE=Debug .
but then I encountered another error while running it: http://pastebin.mozilla.org/1602697. I managed to solve the problem by installing itk3 and itk3-dev. However, while running the make command I bumped into the previously mentioned make errors and this one: http://pastebin.mozilla.org/1602700. The first ones refer to fontconfig symbols.