FreeCAD / FreeCAD/FreeCAD

TechDraw: Missing edges/lines accompanied with OCC fuse warnings

Open
#25,146 5 comments 2 reactions 0 assignees View on GitHub
3rd party: OCC Mod: Part Mod: TechDraw Status: Confirmed Status: Needs feedback Type: Bug
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Problem description

Attached assembly file (via FreeCAD Step by Step book 1) has 3 views on a page in TechDraw. A number of edges aren't drawn from the "Left" and "Top" views. Warnings from console:

Image

```
10:57:17 DrawProjectSplit::scrubEdges - OCC fuse raised warning(s):
BOPAlgo_AlertSelfInterferingShape

10:57:18 DrawProjectSplit::scrubEdges - OCC fuse raised warning(s):
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertTooSmallEdge
BOPAlgo_AlertTooSmallEdge
BOPAlgo_AlertBadPositioning
BOPAlgo_AlertBadPositioning
BOPAlgo_AlertBadPositioning
BOPAlgo_AlertBadPositioning
BOPAlgo_AlertBadPositioning
BOPAlgo_AlertBadPositioning
BOPAlgo_AlertTooSmallEdge
BOPAlgo_AlertTooSmallEdge
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertSelfInterferingShape
BOPAlgo_AlertTooSmallEdge
BOPAlgo_AlertTooSmallEdge
BOPAlgo_AlertTooSmallEdge
```

[2assembly.zip](https://github.com/user-attachments/files/23422456/2assembly.zip)

### Full version info

```shell
Tried on 1.0.2 and most recent weekly. Version details:

OS: Windows 11 build 26200
Architecture: x86_64
Version: 1.0.2.39319 (Git) Conda
Build type: Release
Branch: (HEAD detached at 1.0.2)
Hash: 256fc7eff3379911ab5daf88e10182c509aa8052
Python 3.11.13, Qt 5.15.15, Coin 4.0.3, Vtk 9.3.0, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: unset/FreeCAD Light/Fusion
Installed mods:
* A2plus 0.4.68
* ThreadProfile 1.97.0

and

OS: Windows 11 build 26200
Architecture: x86_64
Version: 1.1.0dev.20251104 (Git shallow)
Build date: 2025/11/04 19:07:44
Build type: Release
Branch: main
Hash: af014a1bb44264d749ba9522917f0d1ac76c4bbf
Python 3.11.14, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.3.0, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: English/United States (en_US)
Navigation Style/Orbit Style/Rotation Mode: CAD/Trackball/Drag at cursor
Stylesheet/Theme/QtStyle: unset/FreeCAD Light/fusion
Logical DPI/Physical DPI/Pixel Ratio: 96/105.828/1.5
Installed mods:
* A2plus 0.4.68
* ThreadProfile 1.97.0
```

### Subproject(s) affected?

None

### Anything else?

Thank you for all the work, FreeCAD is so rad!

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Reproduce the missing edges in the TechDraw Left and Top views using the attached 2assembly.zip file. Start at DrawProjectSplit::scrubEdges and inspect the OCC fuse warnings shown in the issue, comparing behavior between the reported FreeCAD versions. Done means the affected edges are rendered without the reported fuse warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.