[FIXED] Section is missing edges for some section directions in FreeCAD TechDraw

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
aapo
Posts: 615
Joined: Mon Oct 29, 2018 6:41 pm

[FIXED] Section is missing edges for some section directions in FreeCAD TechDraw

Post by aapo »

Hi again!

This time I stumbled upon TechDraw section missing some edges in the cut surface, but only for some of the possible section directions. I made a simple body (attached), which is a hollow cube, with a sphere cut out from the center. The shape should be perfectly symmetrical in respect to the main axes x, y, and z. The expected section cuts should all be squares with a circle in the center. However, the up and down direction sections are missing the dimensionable circle edge and the arc center mark, even though the section cuts look correct otherwise. I have the same problem with other shapes, too, and as a workaround I only make left or right section cuts, and rotate the parts accordingly - which is a bit cumbersome. I have the same problem with both Windows and Linux versions.

20191108-TechDraw-section-missing-line-01.png
20191108-TechDraw-section-missing-line-01.png (114.72 KiB) Viewed 718 times
20191108-TechDraw-section-missing-line-02.png
20191108-TechDraw-section-missing-line-02.png (53.04 KiB) Viewed 718 times
20191108-TechDraw-section-missing-line-03.png
20191108-TechDraw-section-missing-line-03.png (14.17 KiB) Viewed 718 times

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18671 (Git)
Build type: Release
Branch: master
Hash: 5476ab4b61fed05d37aae3a01ecd2e62d6d54200
Python version: 3.6.7
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)


OS: Debian GNU/Linux bullseye/sid (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18702 (Git)
Build type: Unknown
Branch: master
Hash: aab61f3e151e65975e370b4d8ff3611d6355730c
Python version: 3.7.5
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
Attachments
20191108-TechDraw-section-missing-line.FCStd
(25.61 KiB) Downloaded 20 times
Last edited by aapo on Wed Nov 27, 2019 10:18 pm, edited 1 time in total.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [Bug?] Section is missing edges for some section directions in FreeCAD TechDraw

Post by wandererfan »

aapo wrote: Fri Nov 08, 2019 1:13 pm This time I stumbled upon TechDraw section missing some edges in the cut surface, but only for some of the possible section directions.
Thanks for reporting!

I'm working with @bitacovir on Sections right now. The current development version handles your case correctly.
aapoCurrentDevl.png
aapoCurrentDevl.png (48.5 KiB) Viewed 687 times
Still a few section issues to work out.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [Bug?] Section is missing edges for some section directions in FreeCAD TechDraw

Post by wandererfan »

and the other 2 directions for completeness....
aapoOther2Directions.png
aapoOther2Directions.png (40.23 KiB) Viewed 685 times
aapo
Posts: 615
Joined: Mon Oct 29, 2018 6:41 pm

Re: [Bug?] Section is missing edges for some section directions in FreeCAD TechDraw

Post by aapo »

wandererfan wrote: Fri Nov 08, 2019 5:27 pm I'm working with @bitacovir on Sections right now. The current development version handles your case correctly.

Still a few section issues to work out.
Nice to hear, thanks! It seems that the TechDraw in v0.19 is going to be much better than the one in v0.18. Can't wait! :D
aapo
Posts: 615
Joined: Mon Oct 29, 2018 6:41 pm

Re: [Bug?] Section is missing edges for some section directions in FreeCAD TechDraw

Post by aapo »

Thanks for the fix, I can confirm that this also works as expected with the latest master build (versions > 0.19.18800). Great work! :D

20191128_FreeCAD_TechDraw_section_2_fixed.png
20191128_FreeCAD_TechDraw_section_2_fixed.png (15.86 KiB) Viewed 580 times

OS: Debian GNU/Linux bullseye/sid (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18801 (Git)
Build type: Unknown
Branch: master
Hash: 2efd9a133ec69be63aa45f6d87e7e1c3ec04cd64
Python version: 3.7.5
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Post Reply