Questions tagged [libredwg]

C library for reading and writing DWG files. Use this tag with questions about programming against GNU LibreDWG.

GNU LibreDWG is a C library used to read and write DWG files. It’s a free replacement for the OpenDWG libraries.

Useful link

4 questions
0
votes
1 answer

Import line points from DWG file with C/C++

I'm writing a path-following application for my robot for 2D navigation and the path is contained in a DWG file. Let's say, for example, that the DWG file contains a 2x2 meters square. I would like to open the DWG file, find out the lines and get…
Marcus Barnet
  • 2,083
  • 6
  • 28
  • 36
0
votes
1 answer

Segmentation fault when reading data from LibreDWG pointer to pointer structures with C

I'm working on DWG files using LibreDWG Library. I succeeded to open a file, and put all the data in a dwg structure which contains many different fields. The dwg structure description is here. The problem comes when i try to print data from…
0
votes
1 answer

Build a SaaS using .dwg file (autocad) or extract plan from .dwg

I'm looking to make a SaaS app using .dwg files. The user will import a floor plan of a room and my algo will calculate the best way to install floor heating cable. I never use Autocad and I'm wondering how I can extract the principal geometry of my…
Antoine L.
  • 45
  • 1
  • 10
-1
votes
1 answer

What to do with a corrupted DWG file?

I work in AutoCAD 2002. The main file of the drawing when opening AutoCAD gives out "It wasn't succeeded to open this drawing. It contains the incorrect or damaged data". Tried to apply the command to "restore" did not help. Writes that found 3…