Editing User:Sharan.nyn/GSoC18/Log

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 66: Line 66:
 
** Read code for libged/gqa.c
 
** Read code for libged/gqa.c
 
** Prepare patch for the work done in first week.
 
** Prepare patch for the work done in first week.
 +
  
 
* 22/05/18
 
* 22/05/18
Line 160: Line 161:
  
 
* 10/06/18
 
* 10/06/18
** Fixed a bug with check_overlaps and rtcheck allocation of memory for region names. committed - [https://sourceforge.net/p/brlcad/code/71063/ r71063]
+
** Fixed a bug with check_overlaps and rtcheck allocation of memory for region names. committed - r71063
 
** compared the outputs of old rtcheck program and new rtcheck program.
 
** compared the outputs of old rtcheck program and new rtcheck program.
 
*** got it to match finally after small tweaks
 
*** got it to match finally after small tweaks
Line 168: Line 169:
 
* 11/06/18
 
* 11/06/18
 
** reapply reverted changes for adaption of check_overlaps to archer.
 
** reapply reverted changes for adaption of check_overlaps to archer.
*** committed the changes - [https://sourceforge.net/p/brlcad/code/71065/ r71065], [https://sourceforge.net/p/brlcad/code/71066/ r71066] and [https://sourceforge.net/p/brlcad/code/71067/ r71067]
+
*** committed the changes - r71065, r71066 and r71067
 
** Had a hard time fighting with sourceforge to push the commits :/
 
** Had a hard time fighting with sourceforge to push the commits :/
 
** reworked the documentation because of removal of rtcheck without deprecation.
 
** reworked the documentation because of removal of rtcheck without deprecation.
  
 
* 12/06/18
 
* 12/06/18
** fixed MGED's overlap tool - [https://sourceforge.net/p/brlcad/code/71068/ r71068]
+
** fixed MGED's overlap tool - r71068
 
** Just read through the checker.tcl file.
 
** Just read through the checker.tcl file.
  
Line 268: Line 269:
 
** Committed the changes to repo : [https://sourceforge.net/p/brlcad/code/71117/ r71117], [https://sourceforge.net/p/brlcad/code/71118/ r71118] and [https://sourceforge.net/p/brlcad/code/71119/ r71119]
 
** Committed the changes to repo : [https://sourceforge.net/p/brlcad/code/71117/ r71117], [https://sourceforge.net/p/brlcad/code/71118/ r71118] and [https://sourceforge.net/p/brlcad/code/71119/ r71119]
  
* 7/07/18, 8/07/18
+
* 7/07/1
 +
8, 8/07/18
 
** Discussing the next task to do.
 
** Discussing the next task to do.
  
Line 291: Line 293:
 
*** [https://sourceforge.net/p/brlcad/code/71150/ r71150]
 
*** [https://sourceforge.net/p/brlcad/code/71150/ r71150]
 
*** [https://sourceforge.net/p/brlcad/code/71151/ r71151]
 
*** [https://sourceforge.net/p/brlcad/code/71151/ r71151]
** Restore handling visible objects - [https://sourceforge.net/p/brlcad/code/71152/ r71152]
+
** Restore handling visible objects
** No need to check the objects again - [https://sourceforge.net/p/brlcad/code/71153/ r71153]
+
*** [https://sourceforge.net/p/brlcad/code/71152/ r71152]
** Add clear selection button - [https://sourceforge.net/p/brlcad/code/71154/ r71154]
+
** No need to check the objects again
** Code cleanup - [https://sourceforge.net/p/brlcad/code/71155/ r71155]
+
*** [https://sourceforge.net/p/brlcad/code/71153/ r71153]
 
+
** Add clear selection button
* 12/07/18
+
*** [https://sourceforge.net/p/brlcad/code/71154/ r71154]
** Just went through the code.
+
** Code cleanup
** Discussed the gqa bug.
+
*** [https://sourceforge.net/p/brlcad/code/71155/ r71155]
 
 
* 13/07/18
 
** Add the 3 axis grid support to check_overlaps.
 
** Discussed about the API design.
 
 
 
* 14/07/18
 
** Tried to write a header file for public API for rtcheck and gqa.
 
 
 
* 15/07/28
 
** Attempted to add az/el supported to gqa(3 axis) but couldn't find a good solution.
 
** Spent the most of the time with family, but hey it was weekend ;)
 
 
 
===== Week 10 =====
 
 
 
* 16/07/18
 
** Started work on the check command.
 
** Added processing of the sub-commands given like overlaps, volume, weight etc
 
** Added the parsing of the options.
 
** Added object parsing -- visible and cmd-line.
 
** Added az/el for single grid.
 
** Added single grid setup.
 
 
 
* 17/07/18
 
** Added triple grid related functions to libged and libanalyze.
 
** Added a general libanalyze function.
 
** Made the check overlaps sub command to work.
 
** Submitted for review on zulip.
 
 
 
* 18/07/18
 
** Fixed grid refining, now it works perfect.
 
** Added overlay and plot file saving to check overlaps.
 
 
 
* 19/07/18
 
** Nothing done today.
 
** Still working on the plan. Once it is set would go at full speed ;)
 
 
 
* 20/07/18
 
** Committed triple grid functions and refining [https://sourceforge.net/p/brlcad/code/71200/ r71200]
 
** Options parsing from libged to libanalyze using bu_hash_tbl implemented.
 
*** the benefit of using hash_table is that we can pass key value pairs and just grab those options that are set. The other options can have meaningful defaults.
 
** Removed some global variables in libanalyze/api.c and used options passed from libged.
 
** Added single grid and az/el functions in libanalyze/api.c.
 
 
 
* 21/07/18
 
** lots of work done on both check.c and api.c
 
** Got check overlaps and check volume ready.
 
** Removed hash_table for parsing the options.
 
 
 
* 22/07/18
 
** Added exp_air sub command (needs testing)
 
** Committed all the work done so far:
 
*** [https://sourceforge.net/p/brlcad/code/71204/ r71204]
 
*** [https://sourceforge.net/p/brlcad/code/71205/ r71205]
 
*** [https://sourceforge.net/p/brlcad/code/71206/ r71206]
 
*** [https://sourceforge.net/p/brlcad/code/71207/ r71207]
 
** Added check gaps command. [https://sourceforge.net/p/brlcad/code/71208/ r71208]
 
** Cleaned up some code:
 
*** [https://sourceforge.net/p/brlcad/code/71209/ r71209]
 
*** [https://sourceforge.net/p/brlcad/code/71210/ r71210]
 
*** [https://sourceforge.net/p/brlcad/code/71211/ r71211]
 
*** [https://sourceforge.net/p/brlcad/code/71212/ r71212]
 
*** [https://sourceforge.net/p/brlcad/code/71213/ r71213]
 
*** [https://sourceforge.net/p/brlcad/code/71214/ r71214]
 
 
 
===== Week 11 =====
 
 
 
* 23/07/18
 
** Added check adj_air - [https://sourceforge.net/p/brlcad/code/71217/ r71217]
 
** Bug fixes to api.c - [https://sourceforge.net/p/brlcad/code/71218/ r71218] [https://sourceforge.net/p/brlcad/code/71219/ r71219]
 
** Added check weight - [https://sourceforge.net/p/brlcad/code/71220/ r71220]
 
** Code cleanup - [https://sourceforge.net/p/brlcad/code/71211/ r71221] [https://sourceforge.net/p/brlcad/code/r71222/ r71222]
 
** Passing bu_vls struct for verbose and debug information - [https://sourceforge.net/p/brlcad/code/71223/ r71223]
 
** Fix a derp with check_overlaps - [https://sourceforge.net/p/brlcad/code/71224/ r71224]
 
** rename weight to mass - [https://sourceforge.net/p/brlcad/code/71225/ r71225]
 
 
 
* 24/07/18
 
** Added moments and centroid - [https://sourceforge.net/p/brlcad/code/71240/ r71240] [https://sourceforge.net/p/brlcad/code/71241/ r71241]
 
** Added check surf_area [https://sourceforge.net/p/brlcad/code/71247/ r71247]
 
 
 
* 25/07/18
 
** Updated api.c for single_grid - [https://sourceforge.net/p/brlcad/code/71253/ r71253]
 
** print per-region stats is now working for volume and mass - [https://sourceforge.net/p/brlcad/code/71258/ r71258]
 
** Add -i option to check overlaps - [https://sourceforge.net/p/brlcad/code/71259/ r71259]
 
** Add quiet missed report and required number of hits to check command and libanalyze api - [https://sourceforge.net/p/brlcad/code/71260/ r71260]
 
** Discussed about surf_area and tried to fix it.
 
 
 
* 26/07/18
 
** Not much work done today, had to visit college.
 
** Read glint to add features of glint to libanalyze API
 
** Improved surface area algorithm, thanks to Daniel for suggesting the trick.
 
 
 
* 27/07/18
 
** Committed the surf_area algorithm - [https://sourceforge.net/p/brlcad/code/71279/ r71279]
 
** Tried to understand the differences in the grids of check and glint.
 
 
 
* 28/07/18
 
** Placement training classes (26/07 - 28/07) is over -- back to full speed :)
 
** committed [https://sourceforge.net/p/brlcad/code/71289/ r71289] to get correct grid size.
 
** changed the signature of overlaps_callback function pointer - [https://sourceforge.net/p/brlcad/code/71290/ r71290]
 
** start work on glint analysis options - [https://sourceforge.net/p/brlcad/code/71291/ r71291]
 
** bug fix for surf_area - [https://sourceforge.net/p/brlcad/code/71292/ r71292]
 
** added glint analysis functions and variables - [https://sourceforge.net/p/brlcad/code/71293/ r71293]
 
 
 
* 29/07/18
 
** Did not work.
 
 
 
===== Week 12 =====
 
 
 
* 30/07/18
 
** Added unconf_air sub-command - [https://sourceforge.net/p/brlcad/code/71300/ r71300]
 
** Move all the left globals to current_state - [https://sourceforge.net/p/brlcad/code/71301/ r71301] [https://sourceforge.net/p/brlcad/code/71302/ r71302]
 
** Added some more verbose messages - [https://sourceforge.net/p/brlcad/code/71303/ r71303]
 
** Added functions for total moments, volume, mass and centroid - [https://sourceforge.net/p/brlcad/code/71305/ r71305]
 
 
 
* 31/07/18
 
** Added functions for per-region status and total values of surf_area - [https://sourceforge.net/p/brlcad/code/71317/ r71317]
 
** Add a new variable gridRatio to set uneven grid cells for rtcheck - [https://sourceforge.net/p/brlcad/code/71320/ r71320] [https://sourceforge.net/p/brlcad/code/71322/ r71322]
 
** bug-fix for api.c - [https://sourceforge.net/p/brlcad/code/71321/ r71321]
 
 
 
* 1/07/18
 
** after struggling to understand what aspect does -- added a variable aspect because there was no way around it [https://sourceforge.net/p/brlcad/code/71337/ r71337]
 
** replace getfromview by setviewinformation - [https://sourceforge.net/p/brlcad/code/71338/ r71338]
 
 
 
* 2/07/18
 
** get rtcheck working with libanalyze/api.c as base.
 
** wrote scripts to test check command with gqa and rtcheck.
 
 
 
* 3/07/18
 
** Uploaded the final scripts to the repo - [https://sourceforge.net/p/brlcad/code/71355/ r71355]
 
** Updated the check overlaps printing style -- now like rtcheck - [https://sourceforge.net/p/brlcad/code/71359/ r71359]
 
 
 
* 4/07/18
 
** started work on documentation of check command.
 
** small fix for check overlaps -- [https://sourceforge.net/p/brlcad/code/71372/ r71372]
 
** documentation work related to check command done - [https://sourceforge.net/p/brlcad/code/71374/ r71374]
 
** small build error pointed by Cezar fixed - [https://sourceforge.net/p/brlcad/code/71377 r71377]
 
 
 
* 5/07/18
 
** Took a break and did not work :)
 
 
 
===== Week 13 =====
 
* 6/07/18
 
** Start removal of check_overlaps.
 
** Removed from Archer; Added check command - [https://sourceforge.net/p/brlcad/code/71388/ r71388]
 
** Small fix in api.c - [https://sourceforge.net/p/brlcad/code/71389/ r71389]
 
** make use of check overlaps in overlaps_tool - [https://sourceforge.net/p/brlcad/code/71391/ r71391]
 
** Add grid size option to check and api.c -  [https://sourceforge.net/p/brlcad/code/71392/ r71392]
 
** Updated the doc - [https://sourceforge.net/p/brlcad/code/71393/ r71393]
 
** Update archer for the new option - [https://sourceforge.net/p/brlcad/code/71394/ r71394]
 
** Update overlaps_tool for the new option - [https://sourceforge.net/p/brlcad/code/71395/ r71395]
 
 
 
* 7/07/18
 
** removed libged/check_overlaps.c -- [https://sourceforge.net/p/brlcad/code/71412/ r71412]
 
** removed libanalyze/overlaps/analyze_overlaps.c -- [https://sourceforge.net/p/brlcad/code/71413/ r71413]
 
** started work on gqa.c
 
 
 
* 8/08/18
 
** added function to get grid summary -- [https://sourceforge.net/p/brlcad/code/71439/ r71439]
 
** some w/s and comments in libanalyze/check_options.c -- [https://sourceforge.net/p/brlcad/code/71440/ r71440]
 
** Add some comments in libanalyze/api.c -- [https://sourceforge.net/p/brlcad/code/71441/ r71441]
 
 
 
* 9/08/18
 
** fix overlaps_tool not able to run checker tool -- [https://sourceforge.net/p/brlcad/code/71467/ r71467]
 
** Fix indentation of the overlap_tool.xml file -- [https://sourceforge.net/p/brlcad/code/71470/ r71470]
 
 
 
* 10/08/18
 
** Start work on the final project report.
 
** [brlcad.org/w/index.php?title=User:Sharan.nyn/GSoC18/Report Report]
 
 
 
* 11/08/18
 
** Had a busy day -- college works and family took up most of my time.
 
 
 
* 12/08/18
 
** Update the documentation for overlap_tool - [https://sourceforge.net/p/brlcad/code/71498/ r71498]
 

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)