User:Suraj Dadral/GSoC19/logs

= Community Bonding Period (May 6 - 27, 2019) =

8 May : I created wiki page of my project on FreeCAD and BRL-CAD wiki pages.

Wiki pages on BRL-CAD wiki: User Page: https://brlcad.org/wiki/User:Suraj Project Page: https://brlcad.org/wiki/User:Suraj/gsoc_proposal

Wiki pages on FreeCAD wiki: User Page: https://www.freecadweb.org/wiki/User:Suraj_Dadral Project Page: https://www.freecadweb.org/wiki/User:Suraj_Dadral/gsoc_proposal

10 May : Today, I created this page to put my daily progress. And created page https://www.freecadweb.org/wiki/User_talk:Suraj_Dadral/GSoC19/logs to keep users wish list.

11 May : Today, I created UI for Column Reinforcement and can be found here.

12 May : Today, I changed the UI according to suggestions by mentors and freecad community and can be found here. I compiled FreeCAD plugin for Qt Designer and started using it in creating UI.

13 May : Today, I changed the UI and implemented the front end of UI. I learned how to hide and unhide items from layout. And here are related commits: commit1, commit2 Added orientation for LShapeRebars to UI and created the required functions for handling them. And here is commit.

15 May : Modified UI and add fields "Hook Extension" and "Rounding" for LShape Rebar Hook to UI. And started writing function to Create SingleTieFourRebars Column Reinforcement via UI.

16 May : Add functions to create SingleTieFourRebars Column Reinforcement via UI. Now, user can create this through UI using following code snippet:

Related git commit: commit

17 May : Today, I added initialization button to drop down menu of Rebar Addon. Now, user create SigleTieFourRebars Column Reinforcement through UI by clicking on item "Column Reinforcement" in drop down menu of Rebar Addon. And here is related commit: commit

18 May : Done changes suggested by @amrit3701 here. And here is commit. And started exploring Group Python feature object as suggested here.

19 May : Today, I added code to function makeSigleTieFourRebars to add created rebars to a group and store data members related to column reinforcement in Group object. And related git commit is here. Now, I am exploring how to call edit dialog box, when user will double click on Group.

20 May : Today, I implemented to open edit dialog box by double clicking on group of rebars in tree view. And here is the commit: commit. To implement this, I explored scripted objects in freecad and implementation of VisGroup of Draft workbench in file Draft.py.

22 May : Today, I implemented to load values in edit dialog box from group and rebar properties. And fix error: : Object of type FeaturePython is not JSON serializable And related git commit is here. I modified the code structure and related commit can be found here.

23 May : Today, I set placement for Stirrups and modified ArchRebar.py file. And related PR is here.

= Coding Period (May 27 - June 28, 2019) =

27 May : Today, I modified basic functionality of Rebar Addon to accept clear cover instead of effective cover. And related git commit and PR is here: commit, PR I modified function makeSingleTieFourRebars according to changes done above. commit

28 May : Today, I modified function makeSingleTieFourRebars to accept Left/Right/Top/Bottom cover instead of only x-direction and y-direction cover. commit Also changed UI to reflect above changes of cover. commit Fix cover of rear Straight/LShape Rebars. commit

30 May : Today, I set size of icons in Rebar dialog box. commit, PR

31 May : Today, I enabled functionality of buttons "Custom Spacing" and "Remove Spacing" to set and reset value of custom spacing for tie through UI. commit Implement tie editing through Column Reinforcement dialog box. commit Implement Straight Rebars editing through Column Reinforcement dialog box. commit

1 June : Today, I implemented LShape rebars editing through Column Reinforcement dialog box. commit Upto this point, user can create and edit SingleTieFourRebars column reinforcement through Column Reinforcement dialog box. And here is related PR: PR

2 June : Today, I did changes suggested by @amrit3701 here and set tab order as suggested by @ebrahim raeyat here. Related git commits: commit1, commit2

Todo:

&#10003; Modify rebar addon to accept clear cover instead of effective cover. 27/05/2019 &#10003; Modify function makeSingleTieFourRebars according to changes done here. 27/05/2019 &#10003; Modify function makeSingleTieFourRebars to accept Left/Right/Top/Bottom cover instead of only x-direction and y-direction cover. 28/05/2019 &#10003; Modify UI to accept Left/Right/Top/Bottom cover instead of only x-direction and y-direction cover. 28/05/2019 &#10003; Enable custom spacing for tie in Column Reinforcement dialog box. 31/05/2019 &#10003; Create function to edit column reinforcement created using Column Reinforcement dialog box. 01/06/2019
 * Make Hook Extension field optional and default values should be taken as here.
 * Implement master configuration file for Rebar Addon as proposed in project proposal.
 * Modify Column Reinforcement Dialog box to:
 * Accept only negative value of Top Offset if LShape Hook orientation is Top Outside/Left/Right.
 * Accept only negative value of Bottom Offset if LShape Hook orientation is Bottom Outside/Left/Right.