User:Shainasabarwal/GSoC14/logs

From BRL-CAD
< User:Shainasabarwal
Revision as of 16:14, 28 May 2014 by 14.98.233.139 (talk) (Week 1)

Development Logs

Community Bonding Period

  • Read OpenSCAD source and test files.
  • Learnt some important Qt classes used in OpenSCAD.
  • Explore different editors that can be integrated into OpenSCAD editor.
  • Discussed with community about the editor and finalized QScintilla.

Development Period

Week 1

19th May Worked on Detachable rendering window.

20th May Read about QScintilla integration after discussion with community

21st May Completed the task of Detachable window and made a pull request in branch detatchrenderwindow of OpenSCAD.

22nd May

  • Submitted patch for detachable render window, which my mentor said, can be a good addition to https://github.com/openscad/openscad/pull/787.
  • Discussed about the integration of editor.
  • Added class Qscintilla and make two separate objects of QTextEditor and QScintilla classes in Editor class.


23 May

  • Removed errors and Added some built in functions of QScintilla class so that its minimal functionality can be seen.
  • Discussed about it with mentors and I got that two separate classes should be made say legacyEditor and ScintillaEditor which will inherit QTextEdit and QScintilla classes respectively and an Interface class Editor will be used to call the functions of both these classes.

24 May

  • Refactored some code and made two separate classes as discussed.
  • More code need to be refactored yet.

Week 2

26 May

  • Searched about how to change the color of rendered model.
  • Checked rendersettings.cc renderer.cc preferences.cc. Preferences.cc has color scheme for preview but not for rendered model.

27 May

  • The functions defined in legacyEditor.cc can be called in mainwin.cc by object of interface class i.e. Editor.

28 May

  • Still not able to find the code that affects the color of rendered model. Struggling for it.
  • Facing a segmentation fault because of toPlainText() function call in mainwin.cc at some places. Trying to solve it.