Lazarus
Programming => Packages and Libraries => FPvectorial => Topic started by: gioazz on June 20, 2016, 11:38:59 am
-
Hello I need to create, read and modify dxf files...
Drawing at runtime points, polylines etc etc...
I have not find clear examples... fpviewer does not work goods and it is not simple...
For example if I read a DXF, how is possible to show the coordinates of the DXF on the event
onmousemove?
Regards, Giorgio
-
Have you seen http://wiki.freepascal.org/fpvectorial ?
-
He obviously has, since the viewer is a demo application for fpvectorial...
-
The wiki shows how to modify a file using fpvectorial.
Coordinates are already converted into mm by fpvectorial, so if you are using fpvectorial you no longer have the original coordinates, you will have to roll your own solution maybe based on our DXF code, or at least make some changes to fpvectorial to get the original coordinates.
-
How to "modify" if there is no dxfwriter?
-
http://forum.lazarus.freepascal.org/index.php/topic,16665.0.html
??
-
How to "modify" if there is no dxfwriter?
hahaha ... good point! We are all programmers here, it should be trivial for a motivated person to write a writer. The reader is a huge base of knowledge, just needs to do the opposite of what it does.
-
felipemdc
I don't agree. Writer much harder to do. Documentation captures the essence for read, but a lot of dark places for writer
-
I have put a dxfwrite here:
https://github.com/jmpessoa/tfpdxfbridge