Difference between revisions of "User:Gurwinder Singh/GSoc15/proposal"

From BRL-CAD
(Refrences:)
(Development Schedule and Timeline)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
=POV-Ray Export and LinuxCNC StepConf improvement=
+
==POV-Ray Export and LinuxCNC StepConf improvement==
  
 
'''Name:''' Gurwinder Singh Bains
 
'''Name:''' Gurwinder Singh Bains
Line 7: Line 7:
 
'''IRC Username : '''Gurwinder
 
'''IRC Username : '''Gurwinder
  
===Background===
+
==Background==
  
 
B.Tech final year student of Computer Science at Guru Nanak Dev Engineering College, Ludhiana, India. In my free time I love to draw portraits with graphite and charcoal. I'm a weightlifter under SAI( Sports Authority of India) from past two years.
 
B.Tech final year student of Computer Science at Guru Nanak Dev Engineering College, Ludhiana, India. In my free time I love to draw portraits with graphite and charcoal. I'm a weightlifter under SAI( Sports Authority of India) from past two years.
Line 13: Line 13:
 
   
 
   
  
===Brief Summary===
+
==Brief Summary==
  
 
==POV-Ray Export==
 
==POV-Ray Export==
Line 21: Line 21:
 
LinuxCNC is open source software system for numerical control of machines such as milling machines, lathes, plasma cutters, routers, cutting machines, robots and hexapods. It can control up to 9 axes or joints of a CNC machine using G-code (RS-274NGC) as input. For configuring LinuxCNC with machines there is a GUI, StepConf written in Python. So am going to add missing features in it.
 
LinuxCNC is open source software system for numerical control of machines such as milling machines, lathes, plasma cutters, routers, cutting machines, robots and hexapods. It can control up to 9 axes or joints of a CNC machine using G-code (RS-274NGC) as input. For configuring LinuxCNC with machines there is a GUI, StepConf written in Python. So am going to add missing features in it.
  
===Description:===
+
==Description:==
  
 
==POV-Ray exporter==
 
==POV-Ray exporter==
Line 37: Line 37:
 
   
 
   
  
Time-line:
+
==Development Schedule and Timeline==
  
27 April - 24 May (4 weeks) Community Bonding
+
Upto 25th May: Community Bonding  
  
My end semester exams starts from 29th April to 14th May, so I am busy in exams but after 14 May I will be free(except 3 days on which I have my final project vivas, whose dates are not fixed currently). I will be totally dedicated to gsoc after exams. I will be in Communication with my mentor, familiarize with POV-Ray and BRL-CAD, understand parsing of file and understand the exporting of different primitives.
+
I will do 1 to 2 hrs/day work on 26 and 27 May as I have my final project exam. I will be totally dedicated to gsoc after exams. I will be in Communication with my mentor, familiarize with POV-Ray and BRL-CAD, understand parsing of file and understand the exporting of different primitives.
  
 +
Pre-mid term evaluation( May 26 to Jun 26 )
 +
 +
1st Week:
 +
* Read particale
 +
* Export particale
 
   
 
   
 +
2nd Week:
 +
* Read ell from database
 +
* Export ell
  
25 May - 14 June (3 weeks)
+
3rd Week:
 
+
* Read arb8 from database
Understand and Implementing the conversion of all “arb” primitives.
+
* Export arb8
 
 
I will complete the conversion all the arb primitives.
 
  
15 June - 29 June (2 weeks)
+
4th and 5th Week:
 +
* Read tgc from database
 +
* Export tgc
 +
* Start basics of Python
  
I am familiar with some of the below primitives and will complete the
+
26 June to 3 July:
 
+
Submitting mid term report
the conversion of “tgc”, “rcc”, “rec”, “tec” and “trc” primitives.
 
 
 
 
  
 
30 June - 3 July (Mid term Evaluation)
 
30 June - 3 July (Mid term Evaluation)
  
+
After Mid Term Evaluation
 
+
From 4 July to 17 Aug
4 July - 18 July (2 weeks)
+
*
 
+
*
I am not very much familiar with below primitives but Its not hard to understand them and I will complete the proper conversions of “eto”, “ehy”, “epa” primitive.
+
*
 
 
 
 
 
19 July - 2 Aug (2 weeks)
 
 
 
I will complete the Implemention “rhc”, “rpc”, “part” primitives.
 
 
 
 
 
 
2 Aug - 14 Aug (2 weeks)
 
 
 
I put them in last because I found that it requires more time and knowledge to work on below primitives if I start work in the beginning of coding session. But after all the above work done I am sure that I will be able to implement the conversion of "ell", "ellg" and "ell 1" primitives.
 
 
 
 
 
 
15 August – 23 August (1 week) 'pencils down'
 
 
 
At the end I will do the Code cleanup, documentation and testing.
 
 
 
 
 
 
24 August – 28 August (4 days) Final Evaluation
 
 
 
 
  
===Time Availability===
+
==Time Availability==
 
I am not fully available in the month of April and May as I have my end semester exams from 27th April to 14th May. After May I will work for 40+ hours/week for gsoc( except 5 hours in the evening).
 
I am not fully available in the month of April and May as I have my end semester exams from 27th April to 14th May. After May I will work for 40+ hours/week for gsoc( except 5 hours in the evening).
  
===Why Me:===
+
==Why Me==
 
As I contributed in BRL-CAD and submitted g-pov converter to it before starting of gsoc. So it make me feel proud if I wrote the remaining primitives conversion code for BRL-CAD.
 
As I contributed in BRL-CAD and submitted g-pov converter to it before starting of gsoc. So it make me feel proud if I wrote the remaining primitives conversion code for BRL-CAD.
  
===Previous Related work:===
+
==Previous Related work==
 
https://github.com/GurwinderSinghBains/BRL-CAD
 
https://github.com/GurwinderSinghBains/BRL-CAD
 
I have submitted four primitive conversion for g-pov converter.
 
I have submitted four primitive conversion for g-pov converter.
  
===Why BRL-CAD===
+
==Why BRL-CAD==
 
I choose BRL-CAD because since I started contributing to this community I have had the opportunity to learn so much about software and open-source development and also due to my special interest in computer graphics.
 
I choose BRL-CAD because since I started contributing to this community I have had the opportunity to learn so much about software and open-source development and also due to my special interest in computer graphics.
  
===Refrences:===
+
==Refrences==
  
 
[1] http//:povray.org
 
[1] http//:povray.org

Latest revision as of 09:38, 25 May 2015

POV-Ray Export and LinuxCNC StepConf improvement[edit]

Name: Gurwinder Singh Bains

E-mail Address: gswithbains@gmail.com

IRC Username : Gurwinder

Background[edit]

B.Tech final year student of Computer Science at Guru Nanak Dev Engineering College, Ludhiana, India. In my free time I love to draw portraits with graphite and charcoal. I'm a weightlifter under SAI( Sports Authority of India) from past two years.


Brief Summary[edit]

POV-Ray Export[edit]

Geometry conversion is a very important aspect for every CAD software as it is the basis for CAD data exchange between various CAD softwares. BRL-CAD has dozens of importer and exporters but this does not include support for g to POV-Ray file converter. So am going to write a POV-Ray exporter in this summer.

LinuxCNC StepConf improvements[edit]

LinuxCNC is open source software system for numerical control of machines such as milling machines, lathes, plasma cutters, routers, cutting machines, robots and hexapods. It can control up to 9 axes or joints of a CNC machine using G-code (RS-274NGC) as input. For configuring LinuxCNC with machines there is a GUI, StepConf written in Python. So am going to add missing features in it.

Description:[edit]

POV-Ray exporter[edit]

POV-Ray, is a ray tracing program which generates images from a text-based scene description, and is available for a variety of computer platforms. It was originally based on DKBTrace, written by David Kirk Buck and Aaron A. Collins for the Amiga computers. Many methods for generating the 3-D models are used, including a companion program "moray" for interactive modeling. BRL-CAD has many exporters and importers which are used as a way of sharing data between BRL-CAD and other CAD softwares. They all are written well. BRL-CAD require g to POV-Ray converter from last two three decades and I'm going to write a code of POV-Ray exporter for BRL-CAD in this GSoC. Currently I have submitted code for sphere and torus which is working successfully. In all these, database is parsed and by using that parsed data using librt library it exports those primitives into POV-Ray file format. I have written tgc code and cylinder which requires some improvement. Moving further in exporter I am going to convert some primitives upto the Mid-Term Evaluation. I have to make macro which converts BRL-CAD's primitives into POV-Ray. POV-Ray has different way of representing its own primitives. So it require more focus on macro logics. I will work for BRL-CAD's POV-Ray exporter upto the Mid-Term Evaluation.

LinuxCNC StepConf Improvements[edit]

LinuxCNC is an open source software which is used with many machines like milling machines, lathes, plasma cutters, routers, cutting machines, robots and hexapods. Its used for numerical control of machines. After Mid-Term Evaluation, am going to work for LinuxCNC in addding new features on StepConf( Stepper Configuration Wizard ). As its a program for generating configuration files for specific class of CNC machines so it requires more features to be added. So I'm going to work on it in this GSoC after Mid-Term Evaluation and write those features upto the Final Evaluation

My whole GSoC is divided into two parts. Before Mid-Term Evaluation, I have to submit POV-Ray exporter in which I will convert some remaining BRL-CAD's primitives. And after Mid-Term Evaluation I am going to work on LinuxCNC in adding new features in Stepper configuration Wizard upto Final Evaluation.


Development Schedule and Timeline[edit]

Upto 25th May: Community Bonding

I will do 1 to 2 hrs/day work on 26 and 27 May as I have my final project exam. I will be totally dedicated to gsoc after exams. I will be in Communication with my mentor, familiarize with POV-Ray and BRL-CAD, understand parsing of file and understand the exporting of different primitives.

Pre-mid term evaluation( May 26 to Jun 26 )

1st Week:

  • Read particale
  • Export particale

2nd Week:

  • Read ell from database
  • Export ell

3rd Week:

  • Read arb8 from database
  • Export arb8

4th and 5th Week:

  • Read tgc from database
  • Export tgc
  • Start basics of Python

26 June to 3 July: Submitting mid term report

30 June - 3 July (Mid term Evaluation)

After Mid Term Evaluation From 4 July to 17 Aug

Time Availability[edit]

I am not fully available in the month of April and May as I have my end semester exams from 27th April to 14th May. After May I will work for 40+ hours/week for gsoc( except 5 hours in the evening).

Why Me[edit]

As I contributed in BRL-CAD and submitted g-pov converter to it before starting of gsoc. So it make me feel proud if I wrote the remaining primitives conversion code for BRL-CAD.

Previous Related work[edit]

https://github.com/GurwinderSinghBains/BRL-CAD I have submitted four primitive conversion for g-pov converter.

Why BRL-CAD[edit]

I choose BRL-CAD because since I started contributing to this community I have had the opportunity to learn so much about software and open-source development and also due to my special interest in computer graphics.

Refrences[edit]

[1] http//:povray.org

[2] http//:brlcad.org

[3] http//:linuxcnc.org