Editing User:Bhollister/DevLogJuly2015

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 291: Line 291:
  
 
= Wed, July 29, 2015 =
 
= Wed, July 29, 2015 =
 
* [https://github.com/behollis/brlcad-svn-rev65072-gsoc2015/commit/11db05355983400727cd37f2384747a0298eeb0f commit #1] added nmg_m_struct_count as prototypical traversal algo for finding removing specified vertices @ cli.
 
* [https://github.com/behollis/brlcad-svn-rev65072-gsoc2015/commit/9679d23c0061b310151a86063120da7cb378f9d5 commit #2] cleaned up struct counting algorithm and added nmg_kvu where vertices are found. appears to work, but model is not currently being updated...
 
* if calling wdb_put_internal() at end of ged_nmg_kill_v(), getting a NULL vertexuse ERROR.
 
** however, this is what nmg_kvu() performs on the nmg object structure
 
* [https://github.com/behollis/brlcad-svn-rev65072-gsoc2015/commit/1841e1bd0ce3f2f0c84c151dce64b2d06685f8ef commit #3] added call to wdb_put_internal, however this produces ERROR due to NULL vertexuse after calls to nmg_kvu()
 
  
 
= Thurs, July 30, 2015 =
 
= Thurs, July 30, 2015 =
 
* ''kill V'' now works! (see commit #2)
 
* [https://github.com/behollis/brlcad-svn-rev65072-gsoc2015/commit/8b18eb753bf38aaa1c43f0ebd275a4e545dec158 commit #1]  added the proper nmg_k* calls to removed faceuses, loopuses, or edgeuses that results from removal of selected vertex.
 
* [https://github.com/behollis/brlcad-svn-rev65072-gsoc2015/commit/52cbebc1efcd673ec8b203df6af9caf3b25941d6 commit #2]  remove_vertex() was missing some needed calls to remove lu's and eu's they're added now. cleaned up error message as well. cmd leaves it to the user to refresh vertex labelling in overlay.
 
*[https://github.com/behollis/brlcad-svn-rev65072-gsoc2015/commit/79c07597af1600a595e57447929542d360559b19 commit #3] removed unused vars 
 
* todo: need to update usage for nmg command for new ''kill V'' subcommand
 
* todo: tomorrow will submit two patches
 
** #1 cleanup for nmg_* files not needed
 
** #2 ''kill V'' subcommad patch
 
* spent time trying to make sure build works with applied patch to current trunk
 
** didn't quite work which is why two patches are scheduled for tomorrow
 
** separating patches into the two above to help avoid build error: ''../../lib/libged.so.20.0.1: undefined reference to `brlcad_interp' ''
 
  
 
= Fri, July 31, 2015 =
 
= Fri, July 31, 2015 =
 
* submitted [https://sourceforge.net/p/brlcad/patches/395/ patch 395]
 
** originally planned to have two separate patches, but addition of new source file / removal of stubs both were reflected in changes to libged/nmg.c
 
** patch contains the following:
 
*** addition of 'kill V' subcommand
 
*** see http://brlcad.org/wiki/MGED_CMD_nmg#Proposed_subcommands for 'kill V' usage
 
*** removed source file stubs for low-level nmg api subcommands
 
*** reversed order of subcommand and nmg object name syntax (per request)
 
* [https://github.com/behollis/brlcad-svn-rev65072-gsoc2015/commit/10237773391b9baf2a51125818f51027f8a7de57 commit #1] updated github branch with libged files from svn head; renamed nmg_kill.c to nmg_kill_v.c; added help for kill V
 

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)