#8160·FreeCAD

OCC/PartDesign: Incorrect error thrown on some PartDesign Pad taper of circles

Author: berkakinciCreated Jan 10, 2023Updated Sep 30, 2026
LabelsType: BugMod: Part Design3rd party: OCCStatus: Confirmed

Is there an existing issue for this?

  • I have searched the existing issues

Forums discussion

https://forum.freecadweb.org/viewtopic.php?f=3&t=75158

Version

0.21 (Development)

Full version info

bash
Reproduced on:
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.0.31513 (Git)
Build type: Release
Branch: master
Hash: b2ab8edba4bfd71681e639f8c3f1105066bed4c7
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)

Observed in "the wild" at:
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)

Subproject(s) affected?

PartDesign

Issue description

[Note this redundant info; mostly a copy of original post in forum]

I use PartDesign Pads and Pockets with taper angles for injection moldability. So taper angles are small (~5deg). I've had annoying failures when using taper angles. I think it's specific to circles/arcs. The error is:

Extrusion: end face of tapered against extrusion is empty
This means most probably that the against taper angle is too large or small.

However this error is not correct. No faces are disappearing. I will show this in the attached model. It also seems very very specific to a 2mm sketch dimension; that makes me think some "magic" non-zero value may be in a check.

I finally got around to reproducing in a simple file and reproducing on the latest weekly.

To reproduce:

  • Open attached file.
  • Navigate in Model view to Part->Body->Pad->Sketch
  • In Data pane, change Constraints->Constraint2 from 2.01mm to 1.99mm

Expected: Tapered cylinder updates

Observed: The error message in report view:

08:33:12  Extrusion: end face of tapered against extrusion is empty
This means most probably that the against taper angle is too large or small.
08:33:12  Recompute failed! Please check report view.

Changing back to 2.01mm (or even 2.00001mm for me) works; 1.99mm or 2.00mm throws error. You can clearly see the face is nowhere close to disappearing.

I observed this originally on 0.20.1, then on 0.20.2. I reproduced it also on the weekly dev builds. See full version info for details.

Anything else?

Screenshot showing taper with 2.01mm circle sketch Screenshot 2023-01-10 at 08 35 34

To reproduce, use: Taper_for_2mm.FCStd.zip

This is a workaround demo: Taper_for_2mm_2arc_workaround.FCStd.zip

Code of Conduct

  • I agree to follow this project's Code of Conduct