User:Clouddrift/GSoC2014/Logs
From BRL-CAD
< User:Clouddrift | GSoC2014
Community Bounding Period
Get the commit access
I submit two patches about unit test for nmg part. One is for nmg_mk.c and the other is for nmg_copy.c
Read the relavant Codes
Work Perod
Week 1
Monday, May 19
OK.
Tuesday, May 20
OK.
Wednesday, May 21
Get the commit access for BRL-CAD successfully. What a day to celebrate! Now, I begin my work on a branch for NMG reorganization. Remove model and nmgregion struct, Then ready to fix all compilation errors.
Thursday, May 22
Rewrite nmg struct to fit BRL-CAD better. Remove model and nmgregion struct, Then change shell struct as following.
- remove member: l (bu_list);
- remove member: r_p (nmgregion pointer);
- add member: magic (uint32_t);
- add member: manifolds (char pointer);
- add member: maxindex (long);
Thursday, May 23
Fix the rest compilation errors due to the removed struct. The code files are corrected as following.
- nmg_ck.c;
- nmg_class.c;
- nmg_copy.c;
- nmg_eval.c;
- nmg_mk.c;
- nmg_info.c;
- nmg_plot.c;
- nmg_pr.c;
- nmg_tri.c;