How to export the drawing page into dxf file?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
satheesh
Posts: 35
Joined: Tue May 10, 2016 12:43 pm

How to export the drawing page into dxf file?

Post by satheesh »

hi guys,

I am trying to export the drawing page into dxf file in the Drawing and Dimensioning module. But some error is coming..

How to rectify the error? And how to convert a drawing page into dxf file?

Thanks & Regards,
Satheesh

OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Attachments
dxf.png
dxf.png (215.5 KiB) Viewed 1290 times
User avatar
r-frank
Veteran
Posts: 2180
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: How to export the drawing page into dxf file?

Post by r-frank »

Hello.

Tested with 0.16.6706 on Windows 7 64-bit.

Created NEW drawing (export most likely will not work with drawings created with older versions).

1.) Export drawing from Drawing Workbench
> Select page-object to be exported in tree view
> Choose "File > Export" from top menu, set file type to "Autodesk (*.dxf)"
> File succesfully exported and opened in LibreCAD

2.) Export from Drawing Dimensioning Module
> works ONLY on Ubuntu
> needs EXTRA Python library DXFWRITE to be installed
> has some limitations (see linked page)

3.) other possibility
> Export page-object as svg
> open in inkscape and save as dxf
Not tested yet, may have some limitations (svg is not dxf, right ?)

Roland
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: How to export the drawing page into dxf file?

Post by NormandC »

Hello Satheesh,

Rather than posting the screen capture, all you had to do is to copy the error shown in red text in the report view.
satheesh wrote:I am trying to export the drawing page into dxf file in the Drawing and Dimensioning module.
FYI the Drawing Dimensioning module is no longer being maintained. So bugs will not be corrected, unless a new developer steps in to take charge of the module.

Roland's second solution may solve the problem.
satheesh
Posts: 35
Joined: Tue May 10, 2016 12:43 pm

Re: How to export the drawing page into dxf file?

Post by satheesh »

Thank you guys, after installing dxfwrite it is working fine.
Post Reply