Cannot export sketch to DXF
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Cannot export sketch to DXF
I am using Freecad 0.18 and I have checked the import/export dxf box that enables it to automatically download the DXF libraries.
Problem is when I then select to export a sketch it says techdraw module does not support that object type.
What am I doing wrong?
Problem is when I then select to export a sketch it says techdraw module does not support that object type.
What am I doing wrong?
Re: Cannot export sketch to DXF
I have not created an object, I have just used Freecad to create a 2d sketch which needs to be in DXF format.
Do I have to dreate an object?
Do I have to dreate an object?
Re: Cannot export sketch to DXF
If you align the view with your sketch and check the "Project exported objects along current view direction" exporting to DXF should work.
If not: post your file.
If not: post your file.
- wandererfan
- Veteran
- Posts: 6270
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Cannot export sketch to DXF
You have to explain each step that you are doing.
1. First open FreeCAD
2. Select the Sketcher Workbench.
3. Draw a sketch.
4. Select the Sketch, and use TechDraw NewView.
...
etc.
You need to describe your problem with all details. Otherwise people trying to help you can only guess what steps you are taking.
Also, see Std_About.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: Cannot export sketch to DXF
I have a sketch on my tree which I select then file export, all the dxf options.
I now get an error message Export failed, invalid syntax dxfreader.py line 88
This happens both in sketcher workbench and techdraw.
Do I need to post you my file?
I now get an error message Export failed, invalid syntax dxfreader.py line 88
This happens both in sketcher workbench and techdraw.
Do I need to post you my file?
- wandererfan
- Veteran
- Posts: 6270
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Cannot export sketch to DXF
Post your file. You'll get better answers and get them quicker.
TechDraw only exports drawing pages. If you're trying to export the Sketch directly, TD won't help.
Selecting a sketch in the tree, then File>Export> "AutoDesk Svg" works here.
Re: Cannot export sketch to DXF
This is a long outstanding bug that still applies today for users upgrading from 0.16 to either 0.18 or 0.19. I've just tested the procedure on Windows and can confirm the bug still exists. I'll put a PR in for each branch as the importDXF.py has changed significantly over the past few months.
Edit: Two PR's logged https://github.com/FreeCAD/FreeCAD/pull/2813 and https://github.com/FreeCAD/FreeCAD/pull/2814
Edit: Two PR's logged https://github.com/FreeCAD/FreeCAD/pull/2813 and https://github.com/FreeCAD/FreeCAD/pull/2814