Deadlock

Transferring my work from libdxf to libdxfrw has not been easy so far. Considering the functionality of parsing the input file remaining completely same, the functions to write DXF file had to be understood. A simple line can be written to DXF file as: DRW_Line line; line.basePoint.x = 10; line.basePoint.y = 20; line.secPoint.x = 30; … Read More

The Random Argument Input

In the previous implementation, the ordering of arguments mattered. Putting length as second argument after height as the first parameter altered the drawing which was not desired for the user. Considering the same entity wall, creating few walls like: wall(l=100,h=30,bx=10,by=10) wall(h=50,l=120,bx=10,by=40) wall(bx=20,h=100,by=100,l=60), does not affect the drawing. A vector was created for storing the values … Read More

Using libDXF library

The use of CAD applications is enormous and so has been the need for standardization. An initiative made by Autodesk back in 1982 to provide a representation of the content in the drawing resulted in the creation of DXF (Drawing Exchange Format). libDXF is a library to read and write DXF files. The library is … Read More

txt to Drawing in LibreCAD

Recently, I have been working with DXF library. My aim has been to take a text file as input from the user which has details of different elements of a building. Currently I am focusing on the wall entity. On parsing the input file, it yields a DXF file as output which can be opened … Read More
Follow

Get notified with the latest posts

Plugin Supporter WordPress Post Navigation
%d bloggers like this: