Difference between revisions of "User:Bhollister/DevLogJuly2015"
From BRL-CAD
Bhollister (talk | contribs) (→Tues, July 14, 2015) |
Bhollister (talk | contribs) (→Tues, July 14, 2015) |
||
Line 111: | Line 111: | ||
* [https://github.com/behollis/brlcad-svn-rev65072-gsoc2015/commit/3457b81b9cab57c9bc07d4681c991b73b93b6926?diff=split commit #1] cleaned up loop var. removed unused fastf_t declaration | * [https://github.com/behollis/brlcad-svn-rev65072-gsoc2015/commit/3457b81b9cab57c9bc07d4681c991b73b93b6926?diff=split commit #1] cleaned up loop var. removed unused fastf_t declaration | ||
* found potential build problems when BRLCAD_ENABLE_STRICT=YES. noted in patch 390 reply (opennurbs lib) | * found potential build problems when BRLCAD_ENABLE_STRICT=YES. noted in patch 390 reply (opennurbs lib) | ||
− | * todo: impl face kill routine as subcommand | + | * todo: |
− | * | + | ** impl face kill routine as subcommand |
− | * | + | ** design remaining subcommands (will be higher-level than internal nmg api) |
+ | ** post usage instructions for simple box creation use case using subcommand 'cmface' | ||
+ | ** will need to determine which routines that have been submitted in [https://sourceforge.net/p/brlcad/patches/354/ patch 354] that need to be removed | ||
= Wed, July 15, 2015 = | = Wed, July 15, 2015 = |
Revision as of 18:14, 14 July 2015
Contents
- 1 Wed, July 1, 2015: Week 6 (of 14)
- 2 Thurs, July 2, 2015
- 3 Fri, July 3, 2015
- 4 Sat, July 4, 2015
- 5 Sun, July 5, 2015
- 6 Mon, July 6, 2015: Start of Week 7 (of 14)
- 7 Tues, July 7, 2015
- 8 Wed, July 8, 2015
- 9 Thurs, July 9, 2015
- 10 Fri, July 10, 2015
- 11 Sat, July 11, 2015
- 12 Sun, July 12, 2015
- 13 Mon, July 13, 2015: Start of Week 8 (of 14)
- 14 Tues, July 14, 2015
- 15 Wed, July 15, 2015
- 16 Thurs, July 16, 2015
- 17 Fri, July 17, 2015
- 18 Sat, July 18, 2015
- 19 Sun, July 19, 2015
- 20 Mon, July 20, 2015: Start of Week 9 (of 14)
- 21 Tues, July 21, 2015
- 22 Wed, July 22, 2015
- 23 Thurs, July 23, 2015
- 24 Fri, July 24, 2015
- 25 Sat, July 25, 2015
- 26 Sun, July 26, 2015
- 27 Mon, July 27, 2015: Start of Week 10 (of 14)
- 28 Tues, July 28, 2015
- 29 Wed, July 29, 2015
- 30 Thurs, July 30, 2015
- 31 Fri, July 31, 2015
Wed, July 1, 2015: Week 6 (of 14)
- commit #1: filling out vertex info with structures to avoid errors with incomplete data structures
- getting crash in nmg_mvu on line 365: BU_LIST_APPEND(...); need to investigate.
- use case for above: 'make modelname nmg', then 'nmg cmface modelname coords'
- rechecked patch https://sourceforge.net/p/brlcad/patches/387/
- verified by compiling with STRICT enabled. posted build.log to sourceforge.
- problems with compilation apparently not associated with changes. builds fine with STRICT disabled.
Thurs, July 2, 2015
- Appointment with retinal specialist from 9:30am to Noon PST.
- Not be able to work today due to pupil dilation.
Fri, July 3, 2015
- Midterm summary located at link
- still investigating nmg_mvu issue for ged_nmg_cmface subcommand:
- likely that the vertexuse is being improperly treated for loop creation.
- should there be a vertexuse present in the model for the new loop (prior to nmg_mvu call from nmg_cmface)??
Sat, July 4, 2015
- n/a
Sun, July 5, 2015
- n/a
Mon, July 6, 2015: Start of Week 7 (of 14)
- commit #1 fixed issue with missing bu_list in vertex struct
- while commit #1 provides a "working" call to nmg_cface with three verts, the face is not visible in the render window??
- ged_nmg_cface appears to make the proper calls...
- once problem is found with rendered model, need to extend for n verts (should be trivial)
- commit #2 attempt to fix issue with ged_nmg_cmface crash in nmg_info/nmg_findeu(); in loop
Tues, July 7, 2015
- received good direction from brlcad in irc
- reviewed http://www.google-melange.com/gci/task/view/google/gci2014/5546966268248064
- reviewed http://brlcad.org/wiki/NMG
- previously unaware that nmg models could be created with ged_put
- todo: need to plan high-level subcommands after cmface working
- todo: check winding order in cmface, as http://brlcad.org/wiki/NMG mentions potential crashing with incorrect winding order
non-brlcad time expenditures...
- spent some time applying for positions
Wed, July 8, 2015
- investigated put / get database commands.
- should illuminate sequence of calls needed by subcommands for nmg api calls
- posted related questions in irc
- todo: use info from above to fix mged calls implemented in libged/ged_nmg_cmface.c
- commit #1: null commit to synchronize to github from nonlocal repos
non-brlcad time expenditures...
- oil changed for car; 3 hour wait!
- wrote essay, etc. for instructor position application
Thurs, July 9, 2015
- investigated get / put nmg object creation...
- need to follow the code from this sequence of calls using 'put' CLI:
- ged_put()
- rt_nmg_make()
- rt_nmg_adjust()
- above sequence of calls creates an nmg object and adds verts / faces
- need to follow the code from this sequence of calls using 'put' CLI:
- todo: revamp *ged_cmface* using preceding process.
- note: apparently using nmgmodel.c was not the best example of manifold nmg object creation!
- todo: once ged_cmface() properly impl and submitted as patch, can move on the spec for high-level subcommand list; perhaps vert / face removal subcommand CLI routines are the easy to start with??
non-brlcad time expenditures...
- VDA 2016 template and reformat of paper for submission
- 10 job applications submitted
Fri, July 10, 2015
- commit #1 using method from rt_nmg_adjust. still some issues with calls to nmg_cmface. soon to be resolved.
- appears that vert structs are not being filled out correctly and thus crash in cmface; need to test with known "working" args
non-brlcad time expenditures...
- applications
- car in garage again for brake pads
- car will be in garage again next week for air bag recall (ford mustang)
Sat, July 11, 2015
n/a
Sun, July 12, 2015
n/a
Mon, July 13, 2015: Start of Week 8 (of 14)
- commit #1 cmface now working. using rt_nmg_adjust as model for impl.
- commit #2 added variable number of verts for CLI.
- commit #3 check for minimum number of verts for manifold face
- cmface patch 390 submitted
Tues, July 14, 2015
- mm (make nmg object model) subcommand patch 391 submitted
- updated patch 390 with build fix and code cleanup
- commit #1 cleaned up loop var. removed unused fastf_t declaration
- found potential build problems when BRLCAD_ENABLE_STRICT=YES. noted in patch 390 reply (opennurbs lib)
- todo:
- impl face kill routine as subcommand
- design remaining subcommands (will be higher-level than internal nmg api)
- post usage instructions for simple box creation use case using subcommand 'cmface'
- will need to determine which routines that have been submitted in patch 354 that need to be removed