Help with DXF export

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!
steve49suzuki
Posts: 17
Joined: Wed Feb 26, 2014 7:08 am

Re: Help with DXF export

Post by steve49suzuki »

Hello ive made another bracket. done what you said with max spline to 6 tried to save it as dxf in a folder and it doesnt save anything ? i cant find it anywhere like it hasnt saved ?

i go into libre cad and look for it to open it and cant find anything ?

Anychance you can have a look at this bracket and see if im missing some thing thanks
Attachments
standard Kawasaki 1.FCStd
(11.39 KiB) Downloaded 55 times
steve49suzuki
Posts: 17
Joined: Wed Feb 26, 2014 7:08 am

Re: Help with DXF export

Post by steve49suzuki »

Just one other thing i couldnt find import/ export tab ? on the intsructions from that previous post ? there was a dxf tab where i found max spline setting ?
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Help with DXF export

Post by jmaustpc »

Here is your file
standard_Kawasaki_1.dxf
(1.92 KiB) Downloaded 50 times
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Help with DXF export

Post by NormandC »

steve49suzuki wrote:Hello ive made another bracket. done what you said with max spline to 6 tried to save it as dxf in a folder and it doesnt save anything ? i cant find it anywhere like it hasnt saved ?
Please look at this post and do what I was suggesting over there. viewtopic.php?f=3&t=7160&p=58102#p57936

The report view is giving me errors when I try to export your file to DXF with the current stable version. As previously mentioned, there seems to be a bug with the exporter that was fixed yesterday in the main source code.

It exports fine in FreeCAD compiled from today's sources.
steve49suzuki wrote:Just one other thing i couldnt find import/ export tab ? on the intsructions from that previous post ? there was a dxf tab where i found max spline setting ?
That's the one and the same, the name of the tab was changed before the stable release.
steve49suzuki
Posts: 17
Joined: Wed Feb 26, 2014 7:08 am

Re: Help with DXF export

Post by steve49suzuki »

Thanks the other bracket and this one opens in libre cad thats great

i will try the other thing you suggested aswell and let you know.

I think its easier to let you do it for me lol

thanks again for help
steve49suzuki
Posts: 17
Joined: Wed Feb 26, 2014 7:08 am

Re: Help with DXF export

Post by steve49suzuki »

Draft workbench activated
Draft workbench deactivated
DXF libraries not found. Downloading...
downloading https://raw.github.com/yorikvanhavre/Dr ... olorMap.py ...
Download of dxf libraries failed. Please download them manually from
https://github.com/yorikvanhavre/Draft-dxf-importer
and place them in your macros folder
downloading https://raw.github.com/yorikvanhavre/Dr ... Objects.py ...
Download of dxf libraries failed. Please download them manually from
https://github.com/yorikvanhavre/Draft-dxf-importer
and place them in your macros folder
downloading https://raw.github.com/yorikvanhavre/Dr ... Library.py ...
Download of dxf libraries failed. Please download them manually from
https://github.com/yorikvanhavre/Draft-dxf-importer
and place them in your macros folder
downloading https://raw.github.com/yorikvanhavre/Dr ... fReader.py ...
Download of dxf libraries failed. Please download them manually from
https://github.com/yorikvanhavre/Draft-dxf-importer
and place them in your macros folder
Draft workbench activated
Draft workbench deactivated
Traceback (most recent call last):
File "<string>", line 4, in <module>
<type 'exceptions.TypeError'>: Export of this object type is not supported by Drawing module
Stack Trace: Traceback (most recent call last):
File "<string>", line 4, in <module>

Draft workbench activated
steve49suzuki
Posts: 17
Joined: Wed Feb 26, 2014 7:08 am

Re: Help with DXF export

Post by steve49suzuki »

__objs__.append(FreeCAD.getDocument("standard_bobbins").getObject("Pad"))
>>> import importDXF
>>> importDXF.export(__objs__,"C:/Users/Steve Harper/Pictures/Herper Street/new 123.dxf")
>>> del __objs__
>>>
>>> __objs__=[]
>>> __objs__.append(FreeCAD.getDocument("standard_bobbins").getObject("Pad"))
>>> import importDXF
>>> importDXF.export(__objs__,"C:/Users/Steve Harper/Pictures/Herper Street/new 123.dxf")
>>> del __objs__
>>>
>>>
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Help with DXF export

Post by NormandC »

Thanks for doing as I asked, because now we know what's wrong!
steve49suzuki wrote:Download of dxf libraries failed. Please download them manually from
https://github.com/yorikvanhavre/Draft-dxf-importer
I've seen this before. I don't know why, downloading these files seem to cause problems on Windows.

FYI those are the files required by the DXF import/export utility. For licensing reasons, they are not bundled with FreeCAD and they are downloaded before use.

I suggest you do as the message says, that is downloading those files manually. On that link, there is a "Download ZIP" button at the right of the page. Or here's the direct link: https://github.com/yorikvanhavre/Draft- ... master.zip

Extract the ZIP file, and move the files it contains into your FreeCAD personal folder. I'm not sure where it's located on Windows, possibly in "C:\Users\yourUser\Application Data\FreeCAD" or in "\users\your-user-name\data\roaming\FreeCAD" or something like that. If it's not there, do a desktop search for the files "system.cfg" and "user.cfg", they will be in that folder.

Next restart FreeCAD and try to export to DXF again.
steve49suzuki
Posts: 17
Joined: Wed Feb 26, 2014 7:08 am

Re: Help with DXF export

Post by steve49suzuki »

Ok thanks will try it later
steve49suzuki
Posts: 17
Joined: Wed Feb 26, 2014 7:08 am

Re: Help with DXF export

Post by steve49suzuki »

Hello link doesn't work .
Post Reply