[ Bug in Section view ]: Unexpected/incorrect lines

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Piero69
Posts: 476
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

[ Bug in Section view ]: Unexpected/incorrect lines

Post by Piero69 »

i get some unspected and incorrect lines in section view (see attachment)

is it a bug?

Code: Select all

OS: Windows 7 Version 6.1 (Build 7601: SP 1)
Word size of FreeCAD: 64-bit
Version: 0.21.30345 (Git)
Build type: Release
Branch: master
Hash: f42a47aa0fd8c4f34ef63c185d9f29b9b6e84737
Python 3.8.13, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Italian/Italy (it_IT)
Installed mods: 
  * A2plus 0.4.54b
  * Assembly3 0.11.3
  * Assembly4 0.11.8
  * Behave-Dark-Colors 0.1.1
  * BOLTSFC
  * CurvedShapes 1.0.4
  * Curves 0.5.8
  * dxf_library
  * DynamicData 2.46.0
  * ExplodedAssembly
  * fasteners
  * FCGear
  * ImportNURBS
  * invgears 0.1.2
  * lattice2
  * nurbs
  * Render 2022.1.0
  * Silk -1230293488.0.0
  * symbols_library
Attachments
506271124.FCStd
(647.34 KiB) Downloaded 18 times
SECTION.jpg
SECTION.jpg (259.95 KiB) Viewed 530 times
User avatar
Shalmeneser
Veteran
Posts: 9560
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: [ Bug in Section view ]: Unexpected/incorrect lines

Post by Shalmeneser »

A recompute hide the small line.
But the big one is staying and it's not right.

There is a try to modify the cut algorithm : https://forum.freecadweb.org/viewtopic.php?f=35&t=71670
Attachments
Capture du 2022-09-13 19-31-49.png
Capture du 2022-09-13 19-31-49.png (10.39 KiB) Viewed 484 times
Capture du 2022-09-13 19-29-05.png
Capture du 2022-09-13 19-29-05.png (5.36 KiB) Viewed 484 times
User avatar
wandererfan
Veteran
Posts: 6317
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [ Bug in Section view ]: Unexpected/incorrect lines

Post by wandererfan »

Piero69 wrote: Tue Sep 13, 2022 2:03 pm is it a bug?
I think it is, but it looks like an OCC bug. The cut shape looks right:
506271124_cutshape.png
506271124_cutshape.png (9.42 KiB) Viewed 449 times
But in drawexe the cut shape has the extra lines:
drawexe_extraLines.png
drawexe_extraLines.png (18.33 KiB) Viewed 449 times
I'll play around with it some more, but it looks like we will have to file an upstream bug report.
Post Reply