Difference between revisions of "User:Vikram Atreya/GSoC21/Log"
From BRL-CAD
(→Weekly update - Coding Period) |
(Daily update for day5) |
||
Line 8: | Line 8: | ||
== Weekly update - Coding Period == | == Weekly update - Coding Period == | ||
* Week - 1 | * Week - 1 | ||
− | ** Day 1-2 | + | ** Day 1-2 |
*** Working version of undo command implemented in mged which prints name of database when command is given. | *** Working version of undo command implemented in mged which prints name of database when command is given. | ||
*** Understood how commands use wrapper functions and function of cmd_ged_plain_wrapper() | *** Understood how commands use wrapper functions and function of cmd_ged_plain_wrapper() | ||
Line 22: | Line 22: | ||
*** Wrappers of make and kill modified to add the labels | *** Wrappers of make and kill modified to add the labels | ||
*** Introduced 3 variables in undo.cpp to keep track of latest_change and then take necessary action to undo | *** Introduced 3 variables in undo.cpp to keep track of latest_change and then take necessary action to undo | ||
+ | ** Day 5-6 | ||
+ | *** Enabled undo for in command; Now working to enable undo for killall |
Revision as of 22:51, 11 June 2021
Development Logs
Community Bonding Period
- Forked github repo and compiled working version of BRL-CAD
- Made the pages for project plan and dev logs
- Ideated various ways to implement undo and set constraints
Weekly update - Coding Period
- Week - 1
- Day 1-2
- Working version of undo command implemented in mged which prints name of database when command is given.
- Understood how commands use wrapper functions and function of cmd_ged_plain_wrapper()
- Set flags -n and -h aimed to execute multiple undos and show usage respectively
- Understood how hidden objects work, have to explore temporary file alternative to save backup objects
- Stuck, trying to iterate over all objects in database but not finding the right function
- Finally found way to iterate over all objects from move_all.c
- Converted undo.c to undo.cpp so that code can be more functional
- Day 3-4
- Had a discussion with my mentor how to proceed further on the undo
- Data accesible over all processes stored in _GLOBAL as name, value pairs
- Name of the last added object and last killed object stored in _GLOBAL
- Wrappers of make and kill modified to add the labels
- Introduced 3 variables in undo.cpp to keep track of latest_change and then take necessary action to undo
- Day 5-6
- Enabled undo for in command; Now working to enable undo for killall
- Day 1-2