GSoC

August 5, 2014

As the final evaluations are coming near so I need to become serious about my daily logs and progress. I have been working on XML format so that our code can become both as human readable and machine readable too.

June 23, 2014

Today all day I spent in cc lab in order to complete the milestones for the midterm submission. Previously I had implemented the various sections like header section, entity section, block section etc. For this one I had to implement the functions for the various entities like circle, line etc.

Code can be seen here:

http://git.savannah.gnu.org/cgit/dr-geo.git/

June15, 2014

I am about to finish my fourth milestone which includes implementation of classes tables and blocks sections. To complete this milestone I have used drgeo’s code only. Following is the git commit to my this task:

https://github.com/DevinderKaur/Dr.-Geo/tree/master/drgeo-1.1.0

May28, 2014

Today I did some changes in drego_latex.cc and drgeo_latex.h and made two new files using their reference called drgeo_dxf.cc and drgeo_dxf.h .

I have created function prototypes and will be adding implementations by tomorrow. You can check it here:

http://git.savannah.gnu.org/cgit/dr-geo.git/commit/?h=dxf

May25, 2014

Dealt with the filters in LibreCAD, reason being :

Librecad <=> filterdxfrw <=> LibDXFrw

Filters are used for the data storage purposes which has been read by dxfread. Which means same approach can be applied in DR. GEO to provide the support.

Going to Work on librecad/src/lib/filters/rs_filterdxfrw.cpp and other related 13 more similar files.

May23, 2014

Had the major viva today. Spent the day doing report, synopsis preparation and all that stuff.

May22, 2014

It was the fourth day. I had to download the Librecad’s latest code so as to understand the working of dxfrw files. Did with their src a bit. Basically going to deal with two main file that are

  • dxfwriter.cpp
  • dxfwriter.h

May21, 2014

3rd day and I am going to study about header section. Okay now what I see is tho of variables and again variety of group codes associated with them and so their discriptions.

Actually the HEADER section of a DXF file contains the settings of variables associated with the drawing. Each variable is specified by a 9 group code giving the variable’s name, followed by groups that supply the variable’s value.

For example:

Variable name = $CEPSNID

Group code = 390

Description = Plotstyle handle of new objects; ifCEPSNTYPE is 3, then this value indicates the handle

May20, 2014

Before I start with the Header section I want you to get familiar with the basic concept of a DXF file format which I am going to study today.

The DXF format is a tagged data representation of all the
information contained in drawing file. Tagged data means that each data element in the file is preceded by an integer number that is called a group code. A group code’s value indicates what type of data element follows. This value also indicates the meaning of a data element for a given object (or record) type. Virtually all user-specified information in a drawing file can be represented in DXF format.

DXF allows a perplexing number of ways of doing nearly the
same thing, such as describing objects as separate editable groups.

After Starting with the header section one thing got clear. I have to deal with variety of numeric codes. 😛

May19, 2014

As the official coding period of Google summer of code’14 starts from today i.e. 19th of may, so I have started exploring the code. My first milestone is to create the reference for functions for the header class with default values. So I have to study and understand properly the DXF specifications which I did today.

Important point to be noticed is – “In the DXF format, the definition of objects differs from entities.”  Which means further understanding will be based on this fact.

A DXF file involves following sections:

  • Header Section
  • Classes Section
  • Table Section
  • Blocks Section
  • Entities Section
  • Objects Section

I ll be dealing with the header section as my first milestone.

Leave a comment