https://brlcad.org/w/api.php?action=feedcontributions&user=117.212.54.122&feedformat=atomBRL-CAD - User contributions [en]2024-03-28T10:10:45ZUser contributionsMediaWiki 1.32.2https://brlcad.org/w/index.php?title=User:Gurwinder_Singh/GSoc15/log_development&diff=8876User:Gurwinder Singh/GSoc15/log development2015-07-02T01:51:56Z<p>117.212.54.122: </p>
<hr />
<div>=== Project Details ===<br />
<br />
Name: Gurwinder Singh Bains<br />
<br />
IRC Name: Gurwinder<br />
<br />
e-mail: gswithbains@gmail.com<br />
<br />
<br />
<br />
=== Community Bonding Period work ===<br />
<br />
* Working on Glade and follow some tutorial to get my hand on it.<br />
* Understand some primitives and find a way to export them.<br />
* Start studying about POV-Ray macros.<br />
<br />
=== Coding Period ===<br />
<br />
=Week 1( Export [http://brlcad.org/tmp/primitives/part.png Part] )=<br />
<br />
25 May <br />
* Understand particale and take reference from other converters<br />
I understood how the coordinates of vertices of particale are stored. Now I'm working on exporting the vertices and then move on to export into POV-Ray format.<br />
<br />
26 May <br />
* Pushed one commit to github.<br />
* Export coordinates of Particale successfully.<br />
My ubuntu got crashed so I have to reinstall it. I will be compiling BRL-CAD after that I am on track again.<br />
<br />
27 May <br />
* Export particale but requires to fix errors.<br />
Today I was busy in my exam. But in evening I got time to export particale.<br />
<br />
28 May <br />
* Done exporting of Particale primitive.<br />
* Testing it with POV-Ray.<br />
I am now working on linuxcnc. Starts from backslash task for it.<br />
<br />
29 May <br />
* Working on linuxCNC. Search related to backslash.<br />
* Taking other softwares as refrence. <br />
<br />
30 May <br />
* Fix some error in POV-Ray export.<br />
* Working on LinuxCNC, taking help from Youtube videos. Discuss with Morley<br />
about backslash.<br />
<br />
31 May <br />
* Just search about other possible primitives that are not in proposal.<br />
<br />
= Part primitive in POV-Ray =<br />
[http://postimg.org/image/u4w35ou03/ Here] is the screen shoot of how part looks after conversion in POV-Ray <br />
<br />
= Week 2( Export [http://brlcad.org/tmp/primitives/ell.png ell] )=<br />
<br />
1 June <br />
* Found where the coordinates are stored.<br />
* Export those coordinates simply.<br />
* Working on other possible primitives( not in proposal ).<br />
<br />
2 June <br />
* Compare and test the ellipse formed by BRL-CAD and POV-Ray.<br />
* Found some more primitives that I can export.<br />
<br />
3 June <br />
* Export ellipse.<br />
* Working on rotation of ellipse.<br />
<br />
4 June <br />
* Was Busy in traveling.<br />
* Just looked into some ways to rotate ellipse.<br />
<br />
5 June <br />
* Export ell successfully<br />
<br />
6 June <br />
* Start linuxcnc<br />
* Cloning and Compiling on my new system<br />
<br />
7 June <br />
* Compile Linuxcnc successfully<br />
* Know how to use it.<br />
<br />
= Ell primitive in POV-Ray =<br />
[http://postimg.org/image/ub9s8s34z/ Here] is the screen shoot of how ell looks after conversion in POV-Ray <br />
<br />
= Week 3( Export [http://brlcad.org/tmp/primitives/arb8.png arb8] ) =<br />
<br />
8 June <br />
* Start working with arb8<br />
* Export coordinates of arb8<br />
<br />
9 June <br />
* Export arb8<br />
* Export tgc<br />
* Working on linuxcnc<br />
<br />
10 June <br />
* Working on Linuxcnc Help pages.<br />
<br />
11 June <br />
* Was at busy at my college.<br />
<br />
12 June <br />
* Working on linuxcnc stepconf.<br />
<br />
13 June <br />
* Working on help button.<br />
<br />
14 June <br />
* Clean up g-pov code<br />
<br />
= Arb8 primitive in POV-Ray =<br />
[http://postimg.org/image/qhkxddb6r/ Here] is the screen shoot of how arb8 looks after conversion in POV-Ray <br />
<br />
= Week 4( Export [http://brlcad.org/tmp/primitives/tgc.png tgc] ) =<br />
<br />
15 June <br />
* Clean up tgc code<br />
* Remove error from exporting into POV-Ray<br />
* Change some settings of Help button of Linuxcnc<br />
<br />
16 June <br />
* Do code clean up<br />
* Submit my patch<br />
<br />
17 June <br />
* Rebuild BRL-CAD on my system <br />
* Working on patch<br />
<br />
18 June <br />
* Remove some errors<br />
* Edit files to compile g-pov correctly<br />
<br />
19 June <br />
* Was busy at college for some paper work<br />
<br />
20 June <br />
* Prepare for Patch<br />
<br />
21 June <br />
* Working on writing output into file<br />
<br />
= Tgc primitive in POV-Ray =<br />
[http://postimg.org/image/643fsu09v/ Here] is the screen shoot of how tgc looks after conversion in POV-Ray <br />
<br />
= Week 5 =<br />
<br />
22 June <br />
* Writing the code according to coding standard <br />
<br />
23 June <br />
* Remove some errors and working on output file option.<br />
<br />
24 June <br />
* Setting file for commit<br />
* Push code on Git repository successfully<br />
<br />
25 June <br />
* Do some tutorial on Glade <br />
* Checking the help pages for stepconf<br />
* Trying to solve segmentation error<br />
<br />
26 June <br />
* Communicate with my mentor of BRLCAD.<br />
* Communicate with Linuxcnc member<br />
<br />
= Pre-midterm Evaluation Summary =<br />
I have started my GSOC with part primitive. Its easy for me to export coordinates of part. Then I export part into POV-Ray by using Round_Cone2 object. In next week it started exporting Ell. I found it difficult as I was not able to rotate ellipse but in last I export ell into POV-Ray by using spheroid object. In week third, I was working on arb8. Its harder for me to export. So I discussed it with POV-Ray community and finally I wrote a macro and I was able to export arb8 successfully. In 4th week, I export tgc successfully. In last week, I clean up code and submit POV-Ray converter as a [http://sourceforge.net/p/brlcad/patches/378/ patch]. I was also working on Linuxcnc in these pre-midterm days. I wrote stepconf help pages that will be used while user click on help button of stepconf of linuxcnc.<br />
<br />
<br />
= Mid Term Evaluation Week =<br />
<br />
27 June<br />
* Do nothing<br />
<br />
28 June<br />
* Just search about python for linuxcnc<br />
<br />
29 June<br />
* Started python from youtube tutorials.<br />
* Set Log of pre-mid term time period.<br />
<br />
30 June<br />
* Do first chapter: Intro of Python.<br />
* Start following the [http://learnpythonthehardway.org/book/ book]<br />
<br />
1 July<br />
* Complete 10 Exercises of Book [http://learnpythonthehardway.org/book/index.html Learn Python by Hard Way].<br />
* Start doing next exercise.</div>117.212.54.122