[BUG] TechDraw: Oblique sections do not run correctly

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!
Batucada
Posts: 213
Joined: Mon Jul 18, 2022 9:03 am

[BUG] TechDraw: Oblique sections do not run correctly

Post by Batucada »

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.30398 (Git)
Build type: Release
Branch: master
Hash: b3dfdc568a92810449bf47bc73b6784d65dfa206
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * Behave-Dark-Colors 0.1.1
  * CurvedShapes 1.0.4
  * Assembly4 0.12.3
My doubts have been confirmed. In the cut "C -:- C" the fold should have had a profile of 12 x 12 mm. However, in the representation of the section 8.5 x 12 mm is given, it is actually a vertical projection and not an oblique section at the angle of 45°. The attempt to enter an angle of 45° in the property editor under "Rotation" was unsuccessful. This means that all oblique sections made so far are worthless.
Bildschirmfoto 2022-09-27 um 10.18.35.png
Bildschirmfoto 2022-09-27 um 10.18.35.png (63.02 KiB) Viewed 774 times
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: [BUG] TechDraw: Oblique sections do not run correctly

Post by Roy_043 »

File?
Batucada
Posts: 213
Joined: Mon Jul 18, 2022 9:03 am

Re: [BUG] TechDraw: Oblique sections do not run correctly

Post by Batucada »

Roy_043 wrote: Tue Sep 27, 2022 8:40 amFile?
that's a pity. The forum only allows 1MB, my file currently has 1.8 MB. But if you wish, I will create a file for demonstration. But you should then also be the developer who is interested.

But you can see the main dependence in the sketch, 12 mm and 8.5 mm are in a world-famous connection, which was already researched about 2500 years ago.
User avatar
papyblaise
Veteran
Posts: 7872
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: [BUG] TechDraw: Oblique sections do not run correctly

Post by papyblaise »

there was already CAD from the time of Ramses Pierre-a-feu :?: :lol:
Batucada
Posts: 213
Joined: Mon Jul 18, 2022 9:03 am

Re: [BUG] TechDraw: Oblique sections do not run correctly

Post by Batucada »

papyblaise wrote: Tue Sep 27, 2022 9:37 am there was already CAD from the time of Ramses Pierre-a-feu :?: :lol:
This sounds good. :lol:

In case of 45° you don't need the trigonometry, just calculate square of 12, divided by 2, and then take the square root...
User avatar
Willem
Veteran
Posts: 1852
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: [BUG] TechDraw: Oblique sections do not run correctly

Post by Willem »

Without a file I can not check, but perhaps the problem can be solved with the Techdraw Linkdimension
Batucada
Posts: 213
Joined: Mon Jul 18, 2022 9:03 am

Re: [BUG] TechDraw: Oblique sections do not run correctly

Post by Batucada »

Willem wrote: Tue Sep 27, 2022 11:03 am Without a file I can not check, but perhaps the problem can be solved with the Techdraw Linkdimension
I have made a copy of the part in question. In the drawing there are two more measurements that I used to show that the section shown below is only a vertical projection. In addition, you should do a little calculation, the section shown below has a length of 647.7 mm - the length of the section through the object and what would have to be shown beyond that should be 916.9135 mm.
Kopie_B32.FCStd
(118.23 KiB) Downloaded 21 times
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [BUG] TechDraw: Oblique sections do not run correctly

Post by wandererfan »

TechDraw_LinkDimension
Kopie_B32.png
Kopie_B32.png (17.37 KiB) Viewed 584 times
Attachments
Kopie_B32.FCStd
(117.85 KiB) Downloaded 18 times
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: [BUG] TechDraw: Oblique sections do not run correctly

Post by Roy_043 »

I can only confirm the original bug.
The generated edges in an oblique section are not correct, but the generated hatch is.

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.21.30454 (Git)
Build type: Release
Branch: master
Hash: 5df954690787dedbbf3c35f658f010f388474676
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Dutch/Netherlands (nl_NL)
Installed mods: 
Attachments
techdraw-oblique-section.FCStd
(24.3 KiB) Downloaded 18 times
techdraw-oblique-section.png
techdraw-oblique-section.png (14.04 KiB) Viewed 572 times
User avatar
papyblaise
Veteran
Posts: 7872
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: [BUG] TechDraw: Oblique sections do not run correctly

Post by papyblaise »

my workaround by doing a snippet
Attachments
copie_B32-1.FCStd
(100.06 KiB) Downloaded 18 times
copie_B32-1.JPG
copie_B32-1.JPG (13.92 KiB) Viewed 545 times
Post Reply