libredwg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libredwg] Someone would like to join "again"


From: gagan
Subject: Re: [libredwg] Someone would like to join "again"
Date: Fri, 2 Aug 2013 00:21:33 +0530

On 8/1/13, Felipe Castro <address@hidden> wrote:
> Hello,
>
> It's nice to see that people keep working on this stuff. I'm having a bit
> of time to dive into libredwg in these next few months, and I'd like to
> offer some help in order to reach a first release, 0.4 version for example.

Hello, Nice to see you back.

> What would be the main goal for version 0.4? Isn't it to get a working and
> useful reading library for the early versions (R13, R14, R2000, R2004)? If
> it is working, why not to release just like that, an alpha version?

According to the rough road map [ 0 ], the version 0.4 is only
supposed to parse objects and entities.

and version 0.5 is supposed to have API and bindings which is
currently work in progress.

> Next step, try to work out the writing capability?

AFAIK there is some very basic writing support in LibreDWG.

<snip>

> The API is a really huge work, and it could start with very simple things,
> because there are functions there that maybe would never be used in a
> simple CAD environment. But it doesn't hurt anyway to have access on every
> little peace of Autodesk creativity (handles, for example), that's the
> final goal if you want total control of the file format. Would it be useful
> to follow some DXF references? See:
> http://usa.autodesk.com/adsk/servlet/item?id=12272454&linkID=10809853&siteID=123112

Currently the API is work in progress. Regarding the handle part, It
is buggy and mostly gives weird handles. That is the reason
concentration is on entities and objects right now but soon API will
also have support for handles.

> I don't know what would be the best way to access the API, but I think
> including "api.h" will not be the final result for the library user, rigth?
> Will it be included from the "dwg.h" header?

User has to include both "api.h" and "api.c" file to use the API right
now. I have provided the "testsvg2.c" file as an example of working.
It is same example we get with LibreDWG which is just ported to API.
If one has LibreDWG in his computer, He/She can compile the
"testsvg2.c" file by keeping all the 3 files ( "testsvg2.c", "api.c",
"api.h" ) together in one directory.

[ 0 ] http://libreplanet.org/wiki/LibreDWG

-- 
Thanks
Gaganjyot
http://codeify.wordpress.com
"Jai Sai Naath"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]