|
From: | Martín Belmonte |
Subject: | [libredwg] DWG Data Extraction. |
Date: | Tue, 26 Jan 2016 22:48:04 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Hello, I want to use LibreDWG
to extract all the information from a DWG file possible. I'm
trying to develop a CAD program written in gambas3 language . As
file format i use text separated by tab. To draw relatively simple
schematic drawings, in SVG, PDF, DXF, etc. scripting by using
database information and
draw the documents using OpenGL,Cairo or some other specific gambas3 component. The first problem that i found is the extraction of layer and color for all entities and block name for inserts. Someone know if exist some program.c that use libredwg to extract dwg entities information, as any table format? I was seeing the Archimedes project the programs load_dwg.c and dwg_ps.c but, how i said i not found the way to modify the program to solve my problem. someone can help me? I attach some files. one is cad.osd, as a little explanation of the text file format and the classes that i modify but no completely success. Steps i need to solve 1 - Layer, color, linetype for all entities extraxted 2 - Block Name for inserts (i no focus on block drawing, just only name, color, layer, linetype) 3 - Block attibute text data. to be continued... Tanks. Martin Belmonte. http://www.gambas-es.org |
cad.ods
Description: application/vnd.oasis.opendocument.spreadsheet
dwg_ps.c
Description: Text Data
dwg_tsv.c
Description: Text Data
load_dwg.c
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |