Problem with import dxf

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
yanghang
Posts: 11
Joined: Thu May 26, 2022 6:11 am

Problem with import dxf

Post by yanghang »

Hi,
I want to import the attached dxf file into FreeCAD. I found that the circles got wrong position (seems their X value are opposite). I don't know why and I don't know how to fix it. They display well in AutoCAD.Image
Attachments
Drawing1.dxf
(216.03 KiB) Downloaded 33 times
User avatar
Roy_043
Veteran
Posts: 8409
Joined: Thu Dec 27, 2018 12:28 pm

Re: Problem with import dxf

Post by Roy_043 »

The circles have a flipped normal (0,0,-1 instead of 0,0,1). They have been 3D mirrored.
yanghang
Posts: 11
Joined: Thu May 26, 2022 6:11 am

Re: Problem with import dxf

Post by yanghang »

Thank you for your reply. How can I deal with it so that FreeCAD can open this dxf file with the same effect as AutoCAD?
User avatar
Roy_043
Veteran
Posts: 8409
Joined: Thu Dec 27, 2018 12:28 pm

Re: Problem with import dxf

Post by Roy_043 »

In AutoCAD 3D mirror them or create new circles.
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Problem with import dxf

Post by thomas-neemann »

yanghang wrote: Tue Mar 21, 2023 6:57 am ...

the same trick seems to work here that wmayer recommends for problematic step imports: load in varicad viewer and save in varicad viewer. import the result into freecad. it worked with this file
Bildschirmfoto_2023-03-21_12-13-06.png
Bildschirmfoto_2023-03-21_12-13-06.png (18.81 KiB) Viewed 617 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
yanghang
Posts: 11
Joined: Thu May 26, 2022 6:11 am

Re: Problem with import dxf

Post by yanghang »

Roy_043 wrote: Tue Mar 21, 2023 9:58 am In AutoCAD 3D mirror them or create new circles.
thomas-neemann wrote: Tue Mar 21, 2023 11:13 am
yanghang wrote: Tue Mar 21, 2023 6:57 am ...

the same trick seems to work here that wmayer recommends for problematic step imports: load in varicad viewer and save in varicad viewer. import the result into freecad. it worked with this file
Bildschirmfoto_2023-03-21_12-13-06.png
Thank you for your replies. I developed a function module based on Free CAD that can convert the contours of a 3D model or 2D drawings into processing paths for a laser cutting machine. The drawings are provided by my users, who do not use other software and do not use CAD to do 3D mirroring, because their drawings are also provided by their customers. The way you mentioned using other software may not work. How can I achieve normal display as soon as I import it in Free CAD? I’m not sure if this is a bug.
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Problem with import dxf

Post by thomas-neemann »

yanghang wrote: Wed Mar 22, 2023 1:09 am ....

varicad viewer is free software.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply