- 04 May 2020
Downloaded Qt, Visual Studio C++, cloned (or whatever it is called in svn) the BRL-CAD source code.
- 05 May 2020
Fixed the errors that came up and built BRL-CAD from source on Windows, VS2019. Several bugs still remain. A debug assertion failure happens in pix-bw.exe. But I guess this won't affect my project in any way. The builds still take a long time. I guess this is because everything is compiled everytime.
- 06 May 2020
I looked at the possibility of using NMake to build BRL-CAD for Windows because it would not take long as building with VS (CMake was lot faster when I was doing in Ubuntu last year). Also I need to configure CLion instead of VS.
CMake generates the NMake project successfully. But NMake does not work well. It gives an error when building TCL and TK projects. I was changing various stuff and tried to see if it succeeds.
- 07 May 2020
Changing CMakeLists files of tcl and tk modules and a change to corecrt_io.h in windows 10 SDK made the errors with NMake disappear. Archer does not work. Debugging Archer displays that it crashes saying tkhtml.dll not found. Also I was trying to find a bug to solve as the patch Sean asked for. Looked at https://sourceforge.net/p/brlcad/bugs/385/. Followed some Qt videos.
- 08 May 2020
I was thinking the only command line way of building using Visual Studio was via NMake. I realized that I can build via the Visual Studio IDE's native way by setting some arguments in CMake. Also realized that the build times were long when building with VS IDE was because I built ALL_BUILD when I should have built only the target I changed. Configured CLion to use VS IDE's tools to build. Everything is working now.
- 09 May 2020
Worked on the patch Sean had asked for. The Create new file in MGED had a bug. It was saving without the .g extension even though .g extension was selected in the Create New dialog box (at least on Windows). I tried to debug this. I realized this was a bug (or a unusual behavior) in Tk framework and cannot be by changing BRL-CAD code.
Then I started to create the feature to open recent files in MGED.
- 10 May 2020
Finished implementing opening recent files for MGED.
The patch can be found here. https://sourceforge.net/p/brlcad/patches/542/
- 11 May 2020
I did not do anything related to the project.
- 12 May 2020
Qt is using qmake to build by default. But can be configured to use CMake too. I encountered several issues when trying to configure building Qt applications with CMake in Windows. I fixed those issues and built a Qt based project with CMake.
- 01 June 2020
Implemented opening a BRLCAD database and saving a BRLCAD database using coreinterface.
Used QGLWidget to display geometry using the display manager I implemented last year. Traversing world with keyboard seems to be broken.
- 02 June 2020
Bug fixes relating to displaying geometry.
Created a class to store and process multiple BRLCAD databases (to support keeping multiple documents opened inside the software)
- 03 June 2020
Implemented fetching objects list from a database using BRLCAD::ConstDatabase::TopObjectIterator. Displayed the list in a QListWidget.
However this does not still display the nested objects.