FreeCAD 0.16 > 0.17 regression / drawing & 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!
fourchette
Posts: 31
Joined: Tue May 24, 2016 7:42 pm

FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by fourchette »

Hello,

I am facing a regression of FreeCAD 0.16 > 0.17
A friend of mine made a part in a 3rd party CAD software, exported as a STEP file for me to review.
I imported those STEP files (uisng FreeCAD 0.17) and with one part in particular I experienced two issues with FreeCAD 0.17
1. I cannot make a correct projection in Drawing (the outside curve is distorded)
2. The dxf export is ugly.

if i use FreeCAD 0.16 on very same file => i do not experience those bugs

i am not sure that this behavior exists in the bug list but i am not sure if it's one bug (projection) or two bugs (projection + dxf export)

how should i proceed?

thanks
Attachments
freecad 17 bug.FCStd
(55.49 KiB) Downloaded 49 times
bug_04.jpg
bug_04.jpg (33.6 KiB) Viewed 1464 times
bug_03.jpg
bug_03.jpg (26.99 KiB) Viewed 1464 times
bug_02.jpg
bug_02.jpg (111.5 KiB) Viewed 1464 times
bug_01.jpg
bug_01.jpg (101.65 KiB) Viewed 1464 times
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by PrzemoF »

Thanks for reporting the problem. Is there a chance that you could test the same drawing on a 0.18 pre version? There is a chance that the problem was fixed since 0.17 was released.
User avatar
HarryGeier
Veteran
Posts: 1231
Joined: Mon Jul 10, 2017 12:36 pm
Location: Hof Germany

Re: FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by HarryGeier »

I had dozens of FC 0.17 DXF´s exported to CAM BAM ( Alpha 0.14 ) flawless. Can you share the design here, i could make a try with it.
Kaum macht man´s richtig , gehts´s
My Video Tutorials on Youtube: https://www.youtube.com/channel/UCoe3B ... p8Q/videos
My FreeCAD Stuff on Hidrive: https://my.hidrive.com/share/qr3l1yddy6#$/
User avatar
quick61
Veteran
Posts: 3803
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by quick61 »

PrzemoF wrote: Wed Mar 20, 2019 3:44 pm Thanks for reporting the problem. Is there a chance that you could test the same drawing on a 0.18 pre version? There is a chance that the problem was fixed since 0.17 was released.
I just tried with -

OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

- and it's still there. Downloaded the attached file (freecad 17 bug.FCStd) from the OP, opened in FreeCAD version noted above, Shape 2D view, export as 2d DXF. I also exploded the shape 2D and exported the edges the same way with the same result.
Screenshot-LibreCAD.png
Screenshot-LibreCAD.png (2.2 KiB) Viewed 1411 times
Kind of does look like there has been some regression, at least in this case...

Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
reox
Posts: 929
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by reox »

Same for techdraw with a very new version:
2019-03-20-204549_587x580_scrot.png
2019-03-20-204549_587x580_scrot.png (41.56 KiB) Viewed 1408 times
looks even more weird when exported as DXF:
2019-03-20-204620_443x395_scrot.png
2019-03-20-204620_443x395_scrot.png (7.2 KiB) Viewed 1408 times

Code: Select all

OS: Debian GNU/Linux buster/sid
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16149 (Git)
Build type: Release
Branch: master
Hash: 094dda5900deb31512d7129090e06b8e150763a8
Python version: 3.7.3rc1
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Austria (de_AT)
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by PrzemoF »

Export to Autodesk DXF or Drawing DXF? I want to bisect the problem.

Edit: If the problem is with TechDraw as well I guess that the exporter might be OK
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by openBrain »

ATM I'm not sure it can already be called a bug (even a regression) as the object is an invalid solid as told by Part->CheckGeometry ;)
checkgeom.png
checkgeom.png (23.58 KiB) Viewed 1398 times
Last edited by openBrain on Wed Mar 20, 2019 8:30 pm, edited 1 time in total.
User avatar
quick61
Veteran
Posts: 3803
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by quick61 »

PrzemoF wrote: Wed Mar 20, 2019 8:16 pm Export to Autodesk DXF or Drawing DXF? I want to bisect the problem.
That would be Autodesk DXF, as you can not export the Draft > Shape 2D in Drawing DXF. At least not on my install.

Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by sgrogan »

Not tested but does
Edit > Preferences > Import/Export > DXF and select "use legacy python importer"
Make a difference.
"fight the good fight"
User avatar
quick61
Veteran
Posts: 3803
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: FreeCAD 0.16 > 0.17 regression / drawing & dxf export

Post by quick61 »

sgrogan wrote: Wed Mar 20, 2019 8:31 pm Not tested but does
Edit > Preferences > Import/Export > DXF and select "use legacy python importer"
Make a difference.
No, it does not, at least not for me. Ether way, in or out.

Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
Post Reply