Editing User:Gurwinder Singh/GSoc15/proposal

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
==POV-Ray Export and LinuxCNC StepConf improvement==
+
Name: Gurwinder Singh Bains
 +
 
 +
 +
 
 +
E-mail address: gswithbains@gmail.com
 +
 
 +
IRC Name : Gurwinder
  
'''Name:''' Gurwinder Singh Bains
 
  
'''E-mail Address:''' gswithbains@gmail.com
 
  
'''IRC Username : '''Gurwinder
 
  
==Background==
+
About Me
  
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.
+
I am a computer engineering and interested in doing coding. In my free time I love to make portraits with graphite and charcoal. I am a weightlifter under SAI( Sports Authority of India) from past two years.
  
 
   
 
   
  
==Brief Summary==
+
Project Title: G to POV-Ray Geometry converter
 +
 
 +
  
==POV-Ray Export==
+
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.
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==
+
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, 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.
 
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 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==
+
BRL-CAD require g to POV-Ray converter from last two three decades So I want to contribute in GSOC with BRL-CAD to write a code for g to POV-Ray converter.
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
+
 
 +
Currently I have written code for sphere, truncated cone, cylender and torus. In all these, database is parsed and by using that parsed data using librt library it exports those primitives into POV-Ray file format.
 +
 
 +
So I start writing futher from arb and then move on to other primitives. POV-Ray has different way of representing its own primitives. So it require more focus on conversion.
 +
 
 +
 +
 
 +
Time-line:
 +
 
 +
27 April - 24 May (4 weeks) 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.
  
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==
+
25 May - 14 June (3 weeks)
 +
 
 +
Understand and Implementing the conversion of all “arb” primitives.
 +
 
 +
I will complete the conversion all the arb primitives.
 +
 
 +
15 June - 29 June (2 weeks)
 +
 
 +
I am familiar with some of the below primitives and will complete the
  
Upto 25th May: Community Bonding
+
the conversion of “tgc”, “rcc”, “rec”, “tec” and “trc” 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 )
+
30 June - 3 July (Mid term Evaluation)
  
1st Week:
 
* Read particale
 
* Export particale
 
 
   
 
   
2nd Week:
 
* Read ell from database
 
* Export ell
 
  
3rd Week:
+
4 July - 18 July (2 weeks)
* Read arb8 from database
+
 
* Export arb8
+
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.
  
4th and 5th Week:
+
* Read tgc from database
 
* Export tgc
 
* Start basics of Python
 
  
26 June to 3 July:
+
19 July - 2 Aug (2 weeks)
Submitting mid term report
 
  
30 June - 3 July (Mid term Evaluation)
+
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
 +
 
 +
  
After Mid Term Evaluation
+
Time Availability
From 4 July to 17 Aug
 
*
 
*
 
*
 
  
==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==
+
 
 
[1] http//:povray.org
 
  
[2] http//:brlcad.org
+
Refrences:
  
[3] http//:linuxcnc.org
+
http//:povray.org
 +
http//:brlcad.org

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)