Annotating lines at Dxf

Discussions about the development of the TechDraw workbench
manos
Posts: 266
Joined: Thu Nov 12, 2020 10:48 am
Location: Greece

Annotating lines at Dxf

Post by manos »

Does anybody know if it is possible to have annotating lines from TechDraw page to the Dxf ?
Bless you.
Last edited by manos on Fri Jun 24, 2022 11:18 pm, edited 1 time in total.
chrisb
Veteran
Posts: 43699
Joined: Tue Mar 17, 2015 9:14 am

Re: Annotating lines at Dxf

Post by chrisb »

Moved to TechDraw forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
manos
Posts: 266
Joined: Thu Nov 12, 2020 10:48 am
Location: Greece

Re: Annotating lines at Dxf

Post by manos »

chrisb wrote: Fri Jun 24, 2022 10:36 pm Moved to TechDraw forum.
OK thanks Crisb sorry for the inconvenience.
chrisb
Veteran
Posts: 43699
Joined: Tue Mar 17, 2015 9:14 am

Re: Annotating lines at Dxf

Post by chrisb »

manos wrote: Fri Jun 24, 2022 11:19 pm OK thanks Crisb
You're welcome. It may get here the attention of the right experts. It may be helpful if you upload a file containing such lines which are not exported to dxf. Augment it with detailed steps what to do to reproduce the issue.

Even if such a model is very simple, it takes some time to build it, and every single helper would have to invest that time.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
manos
Posts: 266
Joined: Thu Nov 12, 2020 10:48 am
Location: Greece

Re: Annotating lines at Dxf

Post by manos »

chrisb wrote: Fri Jun 24, 2022 11:43 pm .. It may be helpful if you upload a file containing such lines which are not exported to dxf.
I used right click and the export command to export to Dxf . I have spent two days of my humble life to make export Dxf with dimensions or leaderlines work, but nothing achieved yet.

Do you really believe that Dxf export works ?

Code: Select all

OS: Ubuntu 18.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * Help 1.0.3
Attachments
Screenshot from 2022-06-25 10-42-48.png
Screenshot from 2022-06-25 10-42-48.png (141.7 KiB) Viewed 421 times
Screenshot from 2022-06-25 10-29-24.png
Screenshot from 2022-06-25 10-29-24.png (106.09 KiB) Viewed 421 times
0.20.test53h.dxf
(7.11 KiB) Downloaded 4 times
0.20 TEST2.FCStd
(104.08 KiB) Downloaded 4 times
chrisb
Veteran
Posts: 43699
Joined: Tue Mar 17, 2015 9:14 am

Re: Annotating lines at Dxf

Post by chrisb »

manos wrote: Sat Jun 25, 2022 7:47 am Do you really believe that Dxf export works ?
Partially: yes; completely: no.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
manos
Posts: 266
Joined: Thu Nov 12, 2020 10:48 am
Location: Greece

Re: Annotating lines at Dxf

Post by manos »

chrisb wrote: Sat Jun 25, 2022 9:01 am Partially: yes; completely: no.
So now let's see how we can survive with that partiality.
User avatar
ragohix769
Posts: 445
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: Annotating lines at Dxf

Post by ragohix769 »

manos wrote: Sat Jun 25, 2022 10:37 am
chrisb wrote: Sat Jun 25, 2022 9:01 am Partially: yes; completely: no.
So now let's see how we can survive with that partiality.
IMHO, just for now, it's not working 100%. You can, as a partial workaround, export in SVG, there it's working percfectly. DXF it's not a really good interchange format, as I understand.
manos wrote: Sat Jun 25, 2022 10:37 am
chrisb wrote: Sat Jun 25, 2022 9:01 am Partially: yes; completely: no.
So now let's see how we can survive with that partiality.
It's not possible to use DXF as an interchange format for annotations, only for 2D Geometry reference, I failed everytime I tried to do that. This a good question in general to undestand how to send our works rich annotated to other people that do not use our beloved FCAD. In the real world, that's a pity, every professional it's using DWG for everything, so we have propietary standard everywere, that's a huge problem and the real obstacle to the FOSS efforts.
User avatar
wandererfan
Veteran
Posts: 4795
Joined: Tue Nov 06, 2012 5:42 pm

Re: Annotating lines at Dxf

Post by wandererfan »

manos wrote: Fri Jun 24, 2022 10:13 pm Does anybody know if it is possible to have annotating lines from TechDraw page to the Dxf ?
The export page command in TechDraw only supports DrawViewPart and DrawViewDimension. The exporter in the Import module can handle text - this is used for the dimension text.

We've never had a request for text before this.

There seems to be a move afoot to replace our 2 dxf handlers - https://www.forum.freecadweb.org/viewto ... 10&t=69491.
User avatar
wandererfan
Veteran
Posts: 4795
Joined: Tue Nov 06, 2012 5:42 pm

Re: Annotating lines at Dxf

Post by wandererfan »

You may want to look at the Limitations section of TechDraw_ExportPageDXF.
Post Reply