export DXF invalid shape

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
_Shorty
Posts: 3
Joined: Mon Jul 22, 2019 4:10 pm

export DXF invalid shape

Post by _Shorty »

Hi there. I'm trying to export an STL file to DXF for a sheet metal project I have and I'm at a roadblock. Exporting the Shape2DView to DXF results in an "Export failed" error that states the "Shape is invalid." This is the very first model I've ever made and I have really no clue what I am doing. I didn't make it in FreeCAD, as I didn't know about FreeCAD at the time. I made it in eMachineShop's newb-friendly CAD program and exported it to STL from that. Now when trying to get a local machine shop to look at it they are asking for a DXF file, so I'm trying to use FreeCAD to do that STL->DXF export. If anyone has a spare moment to take a look at the file and see why I may be getting this error, which hopefully doesn't actually take a significant amount of anyone's time, I would really appreciate it. Thanks.
Attachments
paddle shifters.stl
(59.26 KiB) Downloaded 51 times
User avatar
Willem
Veteran
Posts: 1854
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: export DXF invalid shape

Post by Willem »

Welcome to Freecad and the forum
For the problem:
- go to Part workbench
- In the pull down menu choose: Create shape from mesh
- export the shape to DXF
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: export DXF invalid shape

Post by openBrain »

Hi _Shorty, Welcome,

After creating shape from mesh, I'd advise to use "Refine shape" (also from Part WB) so you get rid of all extra lines in your model and thus has a clean DXF. ;)
As a side note (this isn't required here) notice that you can then use several times Draft Downgrade on the shape to explode it to faces, then wires, then edges ...
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: export DXF invalid shape

Post by TheMarkster »

phpBB [video]
Attachments
paddle shifters(v2).FCStd
(527.98 KiB) Downloaded 38 times
paddle shifters.dxf
(83.86 KiB) Downloaded 44 times
_Shorty
Posts: 3
Joined: Mon Jul 22, 2019 4:10 pm

Re: export DXF invalid shape

Post by _Shorty »

Thanks for all the answers! I really appreciate it.
vparthas
Posts: 5
Joined: Mon Jul 22, 2019 4:17 pm

Re: export DXF invalid shape

Post by vparthas »

openBrain wrote: Mon Jul 22, 2019 6:36 pm Hi _Shorty, Welcome,

After creating shape from mesh, I'd advise to use "Refine shape" (also from Part WB) so you get rid of all extra lines in your model and thus has a clean DXF. ;)
As a side note (this isn't required here) notice that you can then use several times Draft Downgrade on the shape to explode it to faces, then wires, then edges ...
Hi,
I did all the steps above (Create shape from mesh, refine shape).
When I do a Draft Downgrade, the system just hangs. Help. I have attached my initial STI file.
Attachments
EF-002 CANOPY.stl
(746.57 KiB) Downloaded 36 times
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: export DXF invalid shape

Post by openBrain »

vparthas wrote: Thu Jul 25, 2019 12:59 pm I did all the steps above (Create shape from mesh, refine shape).
When I do a Draft Downgrade, the system just hangs. Help. I have attached my initial STI file.
What do you want to achieve ? If you just want a DXF, you don't need to Draft Downgrade.
This is normal FC hangs as your shape (even refined) is composed of thousands of faces. This is the problem when recovering from mesh format as STL. ;)
_Shorty
Posts: 3
Joined: Mon Jul 22, 2019 4:10 pm

Re: export DXF invalid shape

Post by _Shorty »

Just wanted to say thanks again! File exported, and in queue for the water jet at a local shop. Get my parts in a couple of weeks. (They're busy!)
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: export DXF invalid shape

Post by easyw-fc »

vparthas wrote: Thu Jul 25, 2019 12:59 pm Hi,
I did all the steps above (Create shape from mesh, refine shape).
When I do a Draft Downgrade, the system just hangs. Help. I have attached my initial STI file.
Simply view the shape from top and use Draft Shape2DView, then export it to dxf.
https://www.freecadweb.org/wiki/Draft_Shape2DView
-
ef-002-canopy.dxf
(537.48 KiB) Downloaded 28 times
Post Reply